Real Cookie Banner: GDPR (DSGVO) & ePrivacy Cookie Consent - Version 3.4.1

Version Description

Download this release

Release Info

Developer devowl
Plugin Icon 128x128 Real Cookie Banner: GDPR (DSGVO) & ePrivacy Cookie Consent
Version 3.4.1
Comparing to
See all releases

Code changes from version 3.4.0 to 3.4.1

CHANGELOG.md CHANGED
@@ -3,6 +3,29 @@
3
  All notable changes to this project will be documented in this file.
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  # 3.4.0 (2022-11-09)
7
 
8
 
3
  All notable changes to this project will be documented in this file.
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
 
6
+ ## 3.4.1 (2022-11-15)
7
+
8
+
9
+ ### fix
10
+
11
+ * allow to pass class as parameter to shortcodes
12
+ * compatibility with Events Manager and Google Maps (CU-33drdw6)
13
+ * compatibility with Google Maps in Essential Addons for Elementor plugin (CU-3388522)
14
+ * compatibility with Ovatheme and Google Maps (CU-33drbyt)
15
+ * do not show notice about missing privacy policy URL when license activation is not yet done (CU-2kpd6z4)
16
+ * force to use option home_url and siteurl instead of constants when within subdomain MU (CU-33khexz)
17
+ * service code on page load is not executed when Custom CSS is enabled (CU-33khjmy)
18
+ * technical definitions cannot be saved because WordPress unslash JSON value in post meta (CU-33km1q9)
19
+
20
+
21
+ ### revert
22
+
23
+ * we still need to scan elementor libraries (CU-332fn7n)
24
+
25
+
26
+
27
+
28
+
29
  # 3.4.0 (2022-11-09)
30
 
31
 
README.txt CHANGED
@@ -1,7 +1,7 @@
1
  === Real Cookie Banner: GDPR (DSGVO) & ePrivacy Cookie Consent ===
2
  Contributors: devowl, mguenter, jankarres, mrguenter, styx
3
  Tags: cookie banner, cookie consent, cookie plugin, cookie scanner, gdpr, dsgvo, eprivacy, eu cookie law, cookie policy, cookie, consent, consent management
4
- Stable tag: 3.4.0
5
  Requires at least: 5.2
6
  Requires PHP: 7.2.0
7
  Tested up to: 6.1
1
  === Real Cookie Banner: GDPR (DSGVO) & ePrivacy Cookie Consent ===
2
  Contributors: devowl, mguenter, jankarres, mrguenter, styx
3
  Tags: cookie banner, cookie consent, cookie plugin, cookie scanner, gdpr, dsgvo, eprivacy, eu cookie law, cookie policy, cookie, consent, consent management
4
+ Stable tag: 3.4.1
5
  Requires at least: 5.2
6
  Requires PHP: 7.2.0
7
  Tested up to: 6.1
inc/Assets.php CHANGED
@@ -266,9 +266,9 @@ class Assets {
266
  if ($handle !== \false && $isAntiAdBlock) {
267
  $anonymousAssetsBuilder->ready('banner', !$useNonMinifiedSources);
268
  $anonymousAssetsBuilder->ready('vendorBanner', !$useNonMinifiedSources);
269
- // Populate `codeOnPageLoad`
270
- add_action('wp_head', [\DevOwl\RealCookieBanner\Core::getInstance()->getBanner(), 'wp_head']);
271
  }
 
 
272
  }
273
  // animate.css (only when animations are enabled)
274
  $customize = \DevOwl\RealCookieBanner\Core::getInstance()
266
  if ($handle !== \false && $isAntiAdBlock) {
267
  $anonymousAssetsBuilder->ready('banner', !$useNonMinifiedSources);
268
  $anonymousAssetsBuilder->ready('vendorBanner', !$useNonMinifiedSources);
 
 
269
  }
270
+ // Populate `codeOnPageLoad`
271
+ add_action('wp_head', [\DevOwl\RealCookieBanner\Core::getInstance()->getBanner(), 'wp_head']);
272
  }
273
  // animate.css (only when animations are enabled)
274
  $customize = \DevOwl\RealCookieBanner\Core::getInstance()
inc/Utils.php CHANGED
@@ -694,8 +694,12 @@ class Utils {
694
  * This is needed to get the home_url without any additional pathes (e.g. WPML).
695
  */
696
  public static function getOriginalHomeUrl() {
697
- // Check if constant is defined (https://wordpress.org/support/article/changing-the-site-url/#edit-wp-config-php)
698
- if (\defined('WP_HOME')) {
 
 
 
 
699
  $home_url = \constant('WP_HOME');
700
  } else {
701
  $home_url = self::getOptionRaw('home', home_url());
694
  * This is needed to get the home_url without any additional pathes (e.g. WPML).
695
  */
696
  public static function getOriginalHomeUrl() {
697
+ // Multisite subdomain installations are forced to use the `home_url` option
698
+ // See also https://github.com/WordPress/WordPress/blob/4e4016f61fa40abda4c0a0711496f2ba50a10563/wp-includes/ms-blogs.php#L249
699
+ $isMultisiteSubdomainInstallation =
700
+ is_multisite() && \defined('SUBDOMAIN_INSTALL') && \constant('SUBDOMAIN_INSTALL');
701
+ if (!$isMultisiteSubdomainInstallation && \defined('WP_HOME')) {
702
+ // Constant is defined (https://wordpress.org/support/article/changing-the-site-url/#edit-wp-config-php)
703
  $home_url = \constant('WP_HOME');
704
  } else {
705
  $home_url = self::getOptionRaw('home', home_url());
inc/base/others/cachebuster-lib.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
- /* This file was automatically generated (Wed Nov 09 2022 09:00:25 GMT+0000 (Coordinated Universal Time)). */
3
  return [
4
  'animate.css' => '4.1.1',
5
  'mobx' => '4.15.7',
1
  <?php
2
+ /* This file was automatically generated (Tue Nov 15 2022 07:48:46 GMT+0000 (Coordinated Universal Time)). */
3
  return [
4
  'animate.css' => '4.1.1',
5
  'mobx' => '4.15.7',
inc/base/others/cachebuster.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
- /* This file was automatically generated (Wed Nov 09 2022 09:00:25 GMT+0000 (Coordinated Universal Time)). */
3
  return [
4
  'src/public/dist/185.lite.js' => '9e887474aba51b4f9928199a56f2bdf3',
5
  'src/public/dist/185.pro.js' => 'adea5d90b090833e476303edf2de81e5',
@@ -35,18 +35,18 @@ return [
35
  'src/public/dist/902.pro.js' => 'faf26675683d9811b89eb7092fb85144',
36
  'src/public/dist/925.pro.js' => '4b48b245be01b7935d93f4fbd6c546bd',
37
  'src/public/dist/932.lite.js' => 'c1d5df6de963314380f6c2ae9183da87',
38
- 'src/public/dist/admin.lite.js' => '32ab3b5b60684c8c038c249268ea7fd0',
39
- 'src/public/dist/admin.pro.js' => 'a8a05aec70b950e9ecaf87d0b1e8e582',
40
- 'src/public/dist/banner_tcf.pro.js' => 'a4059fcfc7b756e0963f808e72841fcf',
41
- 'src/public/dist/banner.lite.js' => '3e8eab830f6e90b9ae8e445072f50c8f',
42
- 'src/public/dist/banner.pro.js' => '8d10df7ad70c9a9c5edb41eb40fdc728',
43
- 'src/public/dist/blocker_tcf.pro.js' => '25c71a2b7bd99a95498822ec719a0624',
44
- 'src/public/dist/blocker.lite.js' => '0fd2a4fe2f6e803d2c6a88c10582bc93',
45
- 'src/public/dist/blocker.pro.js' => 'c92e64f99aaca770a588cabc9ae2c4a2',
46
  'src/public/dist/chunk-config-tab-blocker.lite.js' => 'be118fc442c88ad214f657f1e43c9bed',
47
  'src/public/dist/chunk-config-tab-blocker.pro.js' => '253c7765a81468eea039f49ae185a7bc',
48
  'src/public/dist/chunk-config-tab-consent.lite.js' => 'f5782e981fad6c01f23ffcee8a2a9788',
49
- 'src/public/dist/chunk-config-tab-consent.pro.js' => 'aedf35b366d2652d00e034e0aea397e2',
50
  'src/public/dist/chunk-config-tab-cookies.lite.js' => 'd11f3acd1aff6df6677e60b001c32b07',
51
  'src/public/dist/chunk-config-tab-cookies.pro.js' => '41ebe5c071bcb387b2e06fb13cc226f8',
52
  'src/public/dist/chunk-config-tab-dashboard.lite.js' => 'ea5bdd77f694dc2713f79e0ae78ce5eb',
@@ -62,7 +62,7 @@ return [
62
  'src/public/dist/chunk-config-tab-tcf.lite.js' => '68803b92a79b9f27ffef71008bee66a0',
63
  'src/public/dist/chunk-config-tab-tcf.pro.js' => '3932f3100529c45f93e24ccc1ddf9bca',
64
  'src/public/dist/customize_banner.lite.js' => '10cbc9573a93980fbd3b615909256b3f',
65
- 'src/public/dist/customize_banner.pro.js' => '8669e2c01537ba52f3dd316fd3a3c556',
66
  'src/public/dist/customize.lite.js' => '074d0bc3c9464bfc1d2056bfb52458d0',
67
  'src/public/dist/customize.pro.js' => '97566d7569a691a8f796dcc23f868e12',
68
  'src/public/dist/queue.lite.js' => '6cc52e57a6708e527df2732e9b919cc0',
1
  <?php
2
+ /* This file was automatically generated (Tue Nov 15 2022 07:48:46 GMT+0000 (Coordinated Universal Time)). */
3
  return [
4
  'src/public/dist/185.lite.js' => '9e887474aba51b4f9928199a56f2bdf3',
5
  'src/public/dist/185.pro.js' => 'adea5d90b090833e476303edf2de81e5',
35
  'src/public/dist/902.pro.js' => 'faf26675683d9811b89eb7092fb85144',
36
  'src/public/dist/925.pro.js' => '4b48b245be01b7935d93f4fbd6c546bd',
37
  'src/public/dist/932.lite.js' => 'c1d5df6de963314380f6c2ae9183da87',
38
+ 'src/public/dist/admin.lite.js' => 'e9b54066ac32101930ca403f3db54ab8',
39
+ 'src/public/dist/admin.pro.js' => '3764f0182a963ab146912be3c1de3ca2',
40
+ 'src/public/dist/banner_tcf.pro.js' => 'e6291be58d08ba1d549c3abceaccdd94',
41
+ 'src/public/dist/banner.lite.js' => '5a34e6f4c691076f4a00bdd9097e6133',
42
+ 'src/public/dist/banner.pro.js' => 'e052724131a821734b77a983a12c12f5',
43
+ 'src/public/dist/blocker_tcf.pro.js' => '0aa502435d231a9bd9041b115b69f690',
44
+ 'src/public/dist/blocker.lite.js' => '120147aea7c8db7c11cca196c24023cd',
45
+ 'src/public/dist/blocker.pro.js' => 'c6be2de652ac213cce6576ea19693828',
46
  'src/public/dist/chunk-config-tab-blocker.lite.js' => 'be118fc442c88ad214f657f1e43c9bed',
47
  'src/public/dist/chunk-config-tab-blocker.pro.js' => '253c7765a81468eea039f49ae185a7bc',
48
  'src/public/dist/chunk-config-tab-consent.lite.js' => 'f5782e981fad6c01f23ffcee8a2a9788',
49
+ 'src/public/dist/chunk-config-tab-consent.pro.js' => '63e962f4d4288751d7aff315c310e043',
50
  'src/public/dist/chunk-config-tab-cookies.lite.js' => 'd11f3acd1aff6df6677e60b001c32b07',
51
  'src/public/dist/chunk-config-tab-cookies.pro.js' => '41ebe5c071bcb387b2e06fb13cc226f8',
52
  'src/public/dist/chunk-config-tab-dashboard.lite.js' => 'ea5bdd77f694dc2713f79e0ae78ce5eb',
62
  'src/public/dist/chunk-config-tab-tcf.lite.js' => '68803b92a79b9f27ffef71008bee66a0',
63
  'src/public/dist/chunk-config-tab-tcf.pro.js' => '3932f3100529c45f93e24ccc1ddf9bca',
64
  'src/public/dist/customize_banner.lite.js' => '10cbc9573a93980fbd3b615909256b3f',
65
+ 'src/public/dist/customize_banner.pro.js' => '3d5aec3cd3e0917cad8912e2c0bb2ff6',
66
  'src/public/dist/customize.lite.js' => '074d0bc3c9464bfc1d2056bfb52458d0',
67
  'src/public/dist/customize.pro.js' => '97566d7569a691a8f796dcc23f868e12',
68
  'src/public/dist/queue.lite.js' => '6cc52e57a6708e527df2732e9b919cc0',
inc/import/ImportCookies.php CHANGED
@@ -57,16 +57,17 @@ trait ImportCookies {
57
  $groupNotFound = \true;
58
  }
59
  }
60
- // Save technical definitions as plain string in meta as WP 5.0 does not support that yet in REST API
61
  if (isset($metas[\DevOwl\RealCookieBanner\settings\Cookie::META_NAME_TECHNICAL_DEFINITIONS])) {
62
- $metas[\DevOwl\RealCookieBanner\settings\Cookie::META_NAME_TECHNICAL_DEFINITIONS] = \json_encode(
63
- $metas[\DevOwl\RealCookieBanner\settings\Cookie::META_NAME_TECHNICAL_DEFINITIONS]
 
64
  );
65
  }
66
- // Save code dynamics as plain string in meta as WP 5.0 does not support that yet in REST API
67
  if (isset($metas[\DevOwl\RealCookieBanner\settings\Cookie::META_NAME_CODE_DYNAMICS])) {
68
- $metas[\DevOwl\RealCookieBanner\settings\Cookie::META_NAME_CODE_DYNAMICS] = \json_encode(
69
- $metas[\DevOwl\RealCookieBanner\settings\Cookie::META_NAME_CODE_DYNAMICS]
70
  );
71
  }
72
  // Find current cookie with same post_name
57
  $groupNotFound = \true;
58
  }
59
  }
60
+ // Save technical definitions as plain string in meta
61
  if (isset($metas[\DevOwl\RealCookieBanner\settings\Cookie::META_NAME_TECHNICAL_DEFINITIONS])) {
62
+ // See https://developer.wordpress.org/reference/functions/update_post_meta/#workaround
63
+ $metas[\DevOwl\RealCookieBanner\settings\Cookie::META_NAME_TECHNICAL_DEFINITIONS] = wp_slash(
64
+ \json_encode($metas[\DevOwl\RealCookieBanner\settings\Cookie::META_NAME_TECHNICAL_DEFINITIONS])
65
  );
66
  }
67
+ // Save code dynamics as plain string in meta
68
  if (isset($metas[\DevOwl\RealCookieBanner\settings\Cookie::META_NAME_CODE_DYNAMICS])) {
69
+ $metas[\DevOwl\RealCookieBanner\settings\Cookie::META_NAME_CODE_DYNAMICS] = wp_slash(
70
+ \json_encode($metas[\DevOwl\RealCookieBanner\settings\Cookie::META_NAME_CODE_DYNAMICS])
71
  );
72
  }
73
  // Find current cookie with same post_name
inc/presets/CookiePresets.php CHANGED
@@ -117,7 +117,7 @@ class CookiePresets extends \DevOwl\RealCookieBanner\presets\Presets {
117
  foreach ($attributes as $key => $value) {
118
  switch ($key) {
119
  case \DevOwl\RealCookieBanner\settings\Cookie::META_NAME_TECHNICAL_DEFINITIONS:
120
- $attributes[$key] = \json_encode($value);
121
  break;
122
  default:
123
  break;
117
  foreach ($attributes as $key => $value) {
118
  switch ($key) {
119
  case \DevOwl\RealCookieBanner\settings\Cookie::META_NAME_TECHNICAL_DEFINITIONS:
120
+ $attributes[$key] = wp_slash(\json_encode($value));
121
  break;
122
  default:
123
  break;
inc/presets/pro/blocker/GoogleMapsPreset.php CHANGED
@@ -174,7 +174,16 @@ class GoogleMapsPreset extends \DevOwl\RealCookieBanner\presets\AbstractBlockerP
174
  'div[class*="sober-map"]',
175
  // [Plugin Comp] https://vehica.com/
176
  'div[class*="elementor-widget-vehica_location_single_car_widget"]',
177
- 'div[class*="elementor-widget-vehica_map_general_widget"]'
 
 
 
 
 
 
 
 
 
178
  ]
179
  ],
180
  'logoFile' => \DevOwl\RealCookieBanner\Core::getInstance()->getBaseAssetsUrl('logos/google-maps.png')
174
  'div[class*="sober-map"]',
175
  // [Plugin Comp] https://vehica.com/
176
  'div[class*="elementor-widget-vehica_location_single_car_widget"]',
177
+ 'div[class*="elementor-widget-vehica_map_general_widget"]',
178
+ // [Plugin Comp] Essentials Addons for Elementor
179
+ 'div[class*="elementor-widget-eael-google-map"]',
180
+ // [Plugin Comp] https://ovatheme.com/
181
+ 'div[class*="google-map"]',
182
+ // [Plugin Comp] https://wordpress.org/plugins/events-manager/
183
+ 'div[class*="em-location-map"]',
184
+ 'div[class*="em-locations-map"]',
185
+ 'div[class*="em-search-geo"]',
186
+ 'div[id="em-map"]'
187
  ]
188
  ],
189
  'logoFile' => \DevOwl\RealCookieBanner\Core::getInstance()->getBaseAssetsUrl('logos/google-maps.png')
inc/scanner/OnChangeDetection.php CHANGED
@@ -26,8 +26,12 @@ class OnChangeDetection {
26
  /**
27
  * In some cases it does not make sense to scan viewable post types as they act e.g. as "template"
28
  * posts which are reused in publicly available posts and pages.
 
 
 
 
29
  */
30
- const SKIP_POST_TYPE = ['elementor_library'];
31
  private $scanner;
32
  /**
33
  * C'tor.
26
  /**
27
  * In some cases it does not make sense to scan viewable post types as they act e.g. as "template"
28
  * posts which are reused in publicly available posts and pages.
29
+ *
30
+ * E.g. `elementor_library` still needs to be scanned as the post type is resused in Elementor pages and
31
+ * they do not get automatically scanned. In a perfect world, when `elementor_library` got changed, it needs
32
+ * to add all URLs of the posts which uses it.
33
  */
34
+ const SKIP_POST_TYPE = [];
35
  private $scanner;
36
  /**
37
  * C'tor.
inc/view/ConfigPage.php CHANGED
@@ -93,7 +93,15 @@ class ConfigPage {
93
  }
94
  if (\count($liOutput) > 0) {
95
  echo \sprintf(
96
- '<div class="notice notice-warning" id="rcb-services-with-empty-privacy-policy-notice"><p>%s</p><ul>%s</ul></div>',
 
 
 
 
 
 
 
 
97
  __(
98
  'There are no privacy policies with further information linked for the following services in your cookie banner. We now consider these to be mandatory in order to comply with the information obligations under the GDPR. Please provide a privacy policy for each service!',
99
  RCB_TD
93
  }
94
  if (\count($liOutput) > 0) {
95
  echo \sprintf(
96
+ '<div class="notice notice-warning" style="%s" id="rcb-services-with-empty-privacy-policy-notice"><p>%s</p><ul>%s</ul></div>',
97
+ \DevOwl\RealCookieBanner\Core::getInstance()
98
+ ->getRpmInitiator()
99
+ ->getPluginUpdater()
100
+ ->getCurrentBlogLicense()
101
+ ->getActivation()
102
+ ->hasInteractedWithFormOnce()
103
+ ? ''
104
+ : 'display:none;',
105
  __(
106
  'There are no privacy policies with further information linked for the following services in your cookie banner. We now consider these to be mandatory in order to comply with the information obligations under the GDPR. Please provide a privacy policy for each service!',
107
  RCB_TD
inc/view/shortcode/LinkShortcode.php CHANGED
@@ -37,7 +37,7 @@ class LinkShortcode {
37
  public static function render($atts) {
38
  $core = \DevOwl\RealCookieBanner\Core::getInstance();
39
  $atts = shortcode_atts(
40
- ['id' => '', 'type' => '', 'tag' => self::DEFAULT_TAG, 'text' => '', 'successmessage' => ''],
41
  $atts,
42
  self::TAG
43
  );
@@ -66,12 +66,13 @@ class LinkShortcode {
66
  \true
67
  );
68
  return \sprintf(
69
- '<%s href="%s" id="%s" data-success-message="%s" class="rcb-sc-link rcb-sc-link-%s">%s</%s>',
70
  $atts['tag'],
71
  '#consent-' . $atts['type'],
72
  !empty($atts['id']) ? esc_attr($atts['id']) : 'rcb-sc-link-' . $atts['type'],
73
  $atts['successmessage'],
74
  $atts['type'],
 
75
  esc_html($atts['text']),
76
  $atts['tag']
77
  );
37
  public static function render($atts) {
38
  $core = \DevOwl\RealCookieBanner\Core::getInstance();
39
  $atts = shortcode_atts(
40
+ ['id' => '', 'class' => '', 'type' => '', 'tag' => self::DEFAULT_TAG, 'text' => '', 'successmessage' => ''],
41
  $atts,
42
  self::TAG
43
  );
66
  \true
67
  );
68
  return \sprintf(
69
+ '<%s href="%s" id="%s" data-success-message="%s" class="rcb-sc-link rcb-sc-link-%s %s">%s</%s>',
70
  $atts['tag'],
71
  '#consent-' . $atts['type'],
72
  !empty($atts['id']) ? esc_attr($atts['id']) : 'rcb-sc-link-' . $atts['type'],
73
  $atts['successmessage'],
74
  $atts['type'],
75
+ $atts['class'],
76
  esc_html($atts['text']),
77
  $atts['tag']
78
  );
index.php CHANGED
@@ -8,7 +8,7 @@
8
  * Description: Obtain GDPR (DSGVO) and ePrivacy (EU cookie law) compliant opt-in consent. Find cookies and fill all legal information in your cookie banner. More than just a cookie notice!
9
  * Author: devowl.io
10
  * Author URI: https://devowl.io
11
- * Version: 3.4.0
12
  * Text Domain: real-cookie-banner
13
  * Domain Path: /languages
14
  */
8
  * Description: Obtain GDPR (DSGVO) and ePrivacy (EU cookie law) compliant opt-in consent. Find cookies and fill all legal information in your cookie banner. More than just a cookie notice!
9
  * Author: devowl.io
10
  * Author URI: https://devowl.io
11
+ * Version: 3.4.1
12
  * Text Domain: real-cookie-banner
13
  * Domain Path: /languages
14
  */
public/dist/admin.lite.js CHANGED
@@ -1,2 +1,2 @@
1
- var realCookieBanner_admin;(()=>{"use strict";var e,t,o,r={7747:(e,t,o)=>{var r,i;o.d(t,{r:()=>r}),function(e){e.Cookie="cookie",e.Web="web",e.App="app"}(r||(r={})),function(e){e.Bulgarian="bg",e.Catalan="ca",e.Czech="cs",e.Danish="da",e.German="de",e.Greek="el",e.Spanish="es",e.Estonian="et",e.Basque="eus",e.Finnish="fi",e.French="fr",e.Galician="gl",e.Croatian="hr",e.Hungarian="hu",e.Italian="it",e.Japanese="ja",e.Lithuanian="lt",e.Latvian="lv",e.Maltese="mt",e.Dutch="nl",e.Norwegian="no",e.Polish="pl",e.Portuguese="pt",e.Romanian="ro",e.SerbianCyrillic="sr-Cyrl",e.SerbianLatin="sr-Latn",e.Russian="ru",e.Slovak="sk",e.Slovenian="sl",e.Swedish="sv",e.Turkish="tr",e.Chinese="zh"}(i||(i={}))},8924:(e,t,o)=>{o.d(t,{I4:()=>i,Lg:()=>n,TK:()=>r});const r="Google Tag Manager",i="Matomo Tag Manager";function n(e,t){let o,n,s,a=!1,l="";if(e&&"none"!==e){const c="googleTagManager"===e,p="matomoTagManager"===e;c?(s="gtm",o="dataLayer",l=r):p&&(s="mtm",o="_mtm",l=i),(c||p)&&(n=()=>(window[o]=window[o]||[],window[o])),s&&t===s&&(a=!0)}return{getDataLayer:n,serviceIsManager:a,managerLabel:l,expectedManagerPresetId:s}}},987:(e,t,o)=>{o.d(t,{Q:()=>n,x:()=>i});var r=o(7363);class i{static Context(){return this.context=this.context||(0,r.createContext)({})}}function n(){return(0,r.useContext)(i.Context())}i.context=void 0},8057:(e,t,o)=>{o.d(t,{E:()=>n});var r=o(7363);const i=/(\r\n|\r|\n|<br[ ]?\/>)/g,n=e=>e.split(i).map(((e,t)=>e.match(i)?(0,r.createElement)("br",{key:t}):e))},6974:(e,t,o)=>{o.r(t),o.d(t,{ChecklistStore:()=>f.L_,ConsentStore:()=>f.v,CookieStore:()=>f.hc,CustomizeBannerStore:()=>f.WS,OptionStore:()=>f.aZ,RootStore:()=>f.My,ScannerStore:()=>f.Cu,StatsStore:()=>f.et,TcfStore:()=>f.z,locationRestChecklistGet:()=>y.gn,locationRestChecklistPut:()=>y.s5,locationRestConsentAllDelete:()=>y.Ok,locationRestConsentAllGet:()=>y.cI,locationRestConsentClearDelete:()=>y.rz,locationRestConsentDynamicPredecisionGet:()=>y.aY,locationRestConsentForwardPost:()=>y.vY,locationRestConsentGet:()=>y.JQ,locationRestConsentPost:()=>y.PM,locationRestConsentRefererGet:()=>y.qD,locationRestCookieGroupOrderPut:()=>y.BI,locationRestCookieUnassignedGet:()=>y.pV,locationRestCookiesOrderPut:()=>y.It,locationRestCountryBypassDatabasePut:()=>y._3,locationRestExportConsentsGet:()=>y.QB,locationRestExportGet:()=>y.Vm,locationRestForwardCookieGet:()=>y.Vc,locationRestForwardEndpointsGet:()=>y.AW,locationRestImportPost:()=>y.HR,locationRestLiteDismissConfigPageProNotice:()=>y.nQ,locationRestMigrationDelete:()=>y.oW,locationRestMigrationPost:()=>y.nX,locationRestNavMenuAddLinksPost:()=>y.iO,locationRestPresetsBannerGet:()=>y.tX,locationRestPresetsBlockerAttributesGet:()=>y.N9,locationRestPresetsBlockerGet:()=>y.Wu,locationRestPresetsCookiesAttributesGet:()=>y.tw,locationRestPresetsCookiesGet:()=>y.zf,locationRestRevisionCurrentGet:()=>y.GQ,locationRestRevisionCurrentPut:()=>y.a4,locationRestRevisionGet:()=>y.Z1,locationRestRevisionIndependentGet:()=>y.TB,locationRestScannerQueuePost:()=>y.kv,locationRestScannerResultAllExternalUrlsByHostGet:()=>y.ME,locationRestScannerResultExternalPatch:()=>y.Ce,locationRestScannerResultExternalsGet:()=>y.MQ,locationRestScannerResultMarkupGet:()=>y.$5,locationRestScannerResultPresetsGet:()=>y.eO,locationRestStatsButtonsClickedGet:()=>y.$Q,locationRestStatsCustomBypassGet:()=>y.gh,locationRestStatsMainGet:()=>y.BV,locationRestTcfDeclarationsGet:()=>y.Y3,locationRestTcfGvlPut:()=>y.yR,locationRestTcfVendorsGet:()=>y.fs,locationRestWpSettings:()=>y.g3,locationRestWpSettingsPatch:()=>y.J3,useStores:()=>f.mZ});var r=o(1246),i=o(8653),n=(o(1913),o(1533)),s=o(9743),a=o(4990),l=(o(9494),o(8852),o(8488)),c=o.n(l),p=o(8700),u=o(7669),h=o(5217),b=o(987),d={};for(const e in p)"default"!==e&&(d[e]=()=>p[e]);o.d(t,d);var y=o(6568),f=o(8919);o.p=(0,p.getWebpackPublicPath)("real-cookie-banner"),null===p.handleCorrupRestApi||void 0===p.handleCorrupRestApi||(0,p.handleCorrupRestApi)({[s.M.get.optionStore.restNamespace]:async()=>{await(0,u.W)({location:{path:"/plugin"}})},"wp/v2":async()=>{await(0,u.W)({location:{path:"/settings",namespace:"wp/v2"}})}}),i.ZP.config({prefixCls:"rcb-antd"}),r.ZP.config({top:50});const m=document.getElementById("".concat(s.M.get.optionStore.slug,"-component"));if(m){const e=b.x.Context();(0,n.render)(React.createElement(e.Provider,{value:{__:h.__,_i:h._i}},React.createElement(i.ZP,{prefixCls:"rcb-antd",locale:{locale:c().locale()}},React.createElement(s.M.StoreProvider,null,React.createElement(a.K,null)))),m)}},4144:(e,t,o)=>{o.d(t,{b:()=>w});var r=o(8208),i=o(8612),n=o(7465),s=o(9511),a=o(7363),l=o(3867),c=o(5217),p=o(301),u=o(5230),h=o(7921),b=o(886),d=o(9743),y=o(2684),f=o(1816),m=o(2411);const g=(0,l.Pi)((({id:e,checked:t,title:o,description:r,link:i,linkText:n,linkTarget:a,needsPro:l,onLinkClick:g})=>{const{optionStore:{others:{isPro:v},fomoCoupon:w}}=(0,d.m)(),k=!v&&l;let Z=null,C=null,R=i;switch(e){case"scanner":{const{percent:e,remaining:t,currentJob:o}=(0,y.p)();t>0&&e>0&&(null==o?void 0:o.group_position)>0&&(Z=React.createElement(s.Z,null,(0,c.__)("Currently scanning (%d %%)",e)));break}case"get-pro":C=React.createElement(m.S,null),w&&(R+="&".concat(m.Q))}return React.createElement("div",{style:{margin:"5px 0"}},React.createElement(p.Z,{title:t&&r},React.createElement("span",null,k?React.createElement(u.Z,{style:{color:"#7ec8ec"}}):t?React.createElement(h.Z,{style:{color:"#52c41a"}}):React.createElement(b.Z,{style:{color:"#e2e2e2"}})," ",React.createElement("span",{style:{textDecoration:t?"line-through":void 0,fontWeight:"bold"}},o),!!R&&!!n&&React.createElement(React.Fragment,null,"  •  ",React.createElement("a",{href:R,target:a,rel:"noreferrer",onClick:g},n)))),k&&"get-pro"!==e&&React.createElement(React.Fragment,null," ",React.createElement(s.Z,{color:f.k},(0,c.__)("Needs PRO"))),!!Z&&React.createElement(React.Fragment,null," ",Z),!!r&&!t&&React.createElement("p",{className:"description",style:{paddingLeft:17}},r),!!C&&React.createElement("div",{style:{paddingLeft:17}},C))}));var v=o(2185);const w=(0,l.Pi)((({onLinkClick:e,...t})=>{const{checklistStore:o}=(0,d.m)(),{busyChecklist:l,items:p,completed:u,checkable:h,done:y,checklist:{overdue:f}}=o,[m,w]=(0,a.useState)("boolean"==typeof t.showHidden?t.showHidden:!y);return React.createElement(r.Z,{spinning:l},React.createElement(i.Z,{direction:"vertical",size:"large"},f&&React.createElement("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:0}},React.createElement("p",null,(0,c.__)("How time flies! You have installed Real Cookie Banner some time ago, but you still haven't finished the configuration yet."))),React.createElement("p",{className:"description"},(0,c.__)("We have collected all relevant steps for the legally compliant use of Real Cookie Banner after the first installation. Set up the cookie banner step by step to add a cookie banner to your website in compliance with the ePrivacy Directive and GDPR.")),React.createElement("div",null,y&&(m?React.createElement(s.Z,{icon:React.createElement(v.Z,null),color:"default",style:{cursor:"pointer"},onClick:()=>w(!1)},(0,c.__)("Hide completed steps")):React.createElement(s.Z,{icon:React.createElement(b.Z,null),color:"success",style:{cursor:"pointer"},onClick:()=>w(!0)},(0,c.__)("%d / %d steps completed",u.length>h.length?h.length:u.length,h.length))),p.map((({id:t,...r})=>!m&&r.checked?null:React.createElement(g,(0,n.Z)({key:t,id:t},r,{onLinkClick:r=>{["get-pro"].indexOf(t)>-1&&o.toggleChecklistItem(t,!0),null==e||e(r)}})))))))}))},4990:(e,t,o)=>{o.d(t,{K:()=>N,m:()=>D});var r=o(918),i=o(8208),n=o(7363),s=o(3867),a=o(6711),l=o(5217),c=o(9743),p=o(8936);const u=(0,s.Pi)((()=>{const{optionStore:e}=(0,c.m)(),{pathname:t}=(0,a.useLocation)();return e.needsRevisionRetrigger&&-1===t.indexOf("/edit/")&&-1===t.indexOf("/new")&&React.createElement("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:"10px 0 0 0"}},React.createElement("p",null,(0,l.__)("You have changed settings that affect the content or behavior of the cookie banner. You should ask all visitors for their consent again.")," ","•"," ",React.createElement("a",{style:{cursor:"pointer",textDecoration:"underline"},onClick:()=>e.updateCurrentRevision({needs_retrigger:!0})},(0,l.__)("Request new consent"))," ","•"," ",React.createElement(p.Z,{title:React.createElement(React.Fragment,null,React.createElement("strong",null,(0,l.__)("Are you sure you don't want to collect new consents?")),React.createElement("br",null),React.createElement("br",null),(0,l._i)((0,l.__)("Consent must be obtained in accordance with {{a}}Art. 7 GDPR{{/a}}. Your visitor must be informed about all circumstances of the consent. However, you have made changes to your cookie banner, which lead to the fact that previously visitors have consented differently or to something different than is now in the cookie banner. Therefore, previously collected consents may have become partially invalid."),{a:React.createElement("a",{href:(0,l.__)("https://gdpr-info.eu/art-7-gdpr/"),rel:"noreferrer",target:"_blank"})}),React.createElement("br",null),React.createElement("br",null),(0,l.__)("If you have created a new service like Google Analytics (without visual content blocker), previous visitors can never consent without collecting new consents and you cannot track them, for example.")),placement:"bottomRight",onConfirm:()=>e.updateCurrentRevision({needs_retrigger:!1}),okText:(0,l.__)("Dismiss notice"),cancelText:(0,l.__)("Cancel"),overlayStyle:{maxWidth:450}},React.createElement("a",{style:{cursor:"pointer",textDecoration:"underline"}},(0,l.__)("Dismiss notice")))))})),h=(0,s.Pi)((()=>{const{optionStore:{publicCookieCount:e,busySettings:t,bannerActive:o}}=(0,c.m)();return o&&!e&&!t&&React.createElement("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:"10px 0 0 0"}},React.createElement("p",null,(0,l.__)("The cookie banner is activated, but unfortunately you have not yet created or enabled services.")))}));var b=o(9712);const d=(0,s.Pi)((()=>{const{showNoticeAnonymousScriptNotWritable:e}=(0,b.u)();return!!e&&React.createElement("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:"10px 0 0 0"}},React.createElement("p",null,(0,l._i)((0,l.__)("Your {{code}}wp-content{{/code}} folder is not writable. Please check your permissions!"),{code:React.createElement("code",null)})))}));var y=o(8924);const f=(0,s.Pi)((()=>{const{optionStore:{setCookiesViaManager:e,hasManager:t}}=(0,c.m)(),{managerLabel:o,expectedManagerPresetId:r}=(0,y.Lg)(e),{pathname:i}=(0,a.useLocation)();return o&&!t&&/^\/cookies\/\d+$/.test(i)&&React.createElement("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:"10px 0 0 0"}},React.createElement("p",null,(0,l._i)((0,l.__)("You have not yet defined a %s service. To use {{strong}}%s{{/strong}} with Real Cookie Banner, you must create the appropriate service.",o,o),{strong:React.createElement("strong",null)})," ","• ",React.createElement("a",{href:"#".concat(i,"/new?force=").concat(r)},(0,l.__)("Create now"))))}));var m=o(1712);const g=()=>{const{listen:e}=(0,a.useHistory)();return(0,n.useEffect)((()=>{const t=e((()=>{(0,m.X)(0)}));return()=>{t()}}),[e]),null};var v=o(3751),w=o(886),k=o(6363);const Z=(0,s.Pi)((()=>{const{optionStore:e}=(0,c.m)(),{others:{proUrl:t,isPro:o,isConfigProNoticeVisible:r}}=e,i="".concat(t,"&feature=main-button"),s=(0,n.useCallback)((()=>{window.open(i,"_blank"),e.dismissConfigProNotice()}),[e]),a=(0,n.useCallback)((()=>{e.dismissConfigProNotice()}),[e]);return!o&&React.createElement(p.Z,{visible:!!r,title:(0,l.__)("Thank you for using the free version of Real Cookie Banner. You might also be interested in the PRO version, which offers you more features, 20+ design templates, 100+ service templates, 60+ content blocker templates and much more."),icon:React.createElement(k.Z,{style:{color:"#1890ff"}}),placement:"bottom",onConfirm:s,onCancel:a,cancelText:(0,l.__)("No, not interested..."),okText:(0,l.__)("I want to learn more!"),overlayStyle:{maxWidth:450}},React.createElement("a",{className:"page-title-action",rel:"noreferrer",onClick:s},(0,l.__)("Get PRO version")))}));var C=o(4144);const R=(0,s.Pi)((()=>{const[e,t]=(0,n.useState)(!1),{optionStore:o,checklistStore:r}=(0,c.m)(),{pathname:i}=(0,a.useLocation)(),{others:{customizeBannerUrl:s},publicUrl:p}=o,{completed:u,checkable:h,done:b}=r;(0,n.useEffect)((()=>{r.fetchChecklist()}),[]);const d=(0,n.useCallback)((e=>{window.location.href="".concat(s,"&return=").concat(encodeURIComponent(window.location.href)),e.preventDefault()}),[]),y=(0,n.useCallback)((()=>{t(!0),r.fetchChecklist()}),[t]),f=(0,n.useCallback)((()=>{t(!1)}),[t]);return React.createElement(React.Fragment,null,React.createElement("h1",{className:"wp-heading-inline"},(0,l.__)("Real Cookie Banner")),React.createElement("img",{className:"rcb-nav-logo",src:"".concat(p,"images/logos/real-cookie-banner.svg")}),React.createElement("a",{className:"page-title-action",href:"#",onClick:d},(0,l.__)("Customize banner")),React.createElement(Z,null),!b&&"/"!==i&&React.createElement(React.Fragment,null,React.createElement("a",{className:"page-title-action",style:{color:"#52c41a",background:"#f6ffed",borderColor:"#85af65"},onClick:y},React.createElement(w.Z,null)," ",(0,l.__)("%d / %d steps completed",u.length>h.length?h.length:u.length,h.length)),React.createElement(v.Z,{visible:e,title:(0,l.__)("Set up the cookie banner"),onCancel:f,okButtonProps:{style:{display:"none"}},cancelText:(0,l.__)("Close"),width:800},React.createElement(C.b,{showHidden:!0,onLinkClick:f}))),React.createElement("hr",{className:"wp-header-end"}))}));var P=o(697);const S=(0,s.Pi)((()=>{const{optionStore:{publicUrl:e}}=(0,c.m)();return React.createElement("div",{className:"rcb-config-footer"},(0,l._i)((0,l.__)("Real Cookie Banner is brought to you with {{icon/}} by"),{icon:React.createElement(P.Z,{style:{color:"#dca7a7"}})}),React.createElement("a",{href:(0,l.__)("https://devowl.io/"),target:"_blank",rel:"noreferrer"},React.createElement("img",{src:"".concat(e,"images/logos/devowl-with-text.svg")})))}));var O=o(8700),E=o(2684),_=o(6),z=o(2208);const x={display:"block",marginTop:10},D=(e,t)=>({default:()=>React.createElement(O.SuspenseChunkTranslation,{chunkFile:o.u("chunk-config-tab-".concat(e)),options:()=>(0,c.m)().optionStore,fallback:React.createElement(i.Z,{spinning:!0,style:x})},t)}),T=(0,n.lazy)((()=>Promise.all([o.e(446),o.e(185),o.e(307),o.e(81),o.e(793),o.e(414),o.e(544),o.e(85),o.e(932),o.e(637),o.e(379)]).then(o.bind(o,1429)).then((({DashboardCards:e})=>D("dashboard",React.createElement(e,null)))))),A=(0,n.lazy)((()=>Promise.all([o.e(446),o.e(185),o.e(307),o.e(768)]).then(o.bind(o,5053)).then((({SettingsForm:e})=>D("settings",React.createElement(e,null)))))),M=(0,n.lazy)((()=>Promise.all([o.e(446),o.e(185),o.e(81),o.e(793),o.e(466),o.e(474),o.e(737),o.e(578),o.e(3)]).then(o.bind(o,38)).then((({ScannerRouter:e})=>D("scanner",React.createElement(e,null)))))),I=(0,n.lazy)((()=>Promise.all([o.e(446),o.e(185),o.e(307),o.e(81),o.e(793),o.e(544),o.e(466),o.e(853),o.e(932),o.e(718)]).then(o.bind(o,7248)).then((({CookieGroupsTabRouter:e})=>D("cookies",React.createElement(e,null)))))),j=(0,n.lazy)((()=>Promise.all([o.e(446),o.e(185),o.e(307),o.e(81),o.e(793),o.e(414),o.e(466),o.e(474),o.e(625)]).then(o.bind(o,8687)).then((({ConsentTabRouter:e})=>D("consent",React.createElement(e,null)))))),B=(0,n.lazy)((()=>Promise.all([o.e(446),o.e(185),o.e(307),o.e(81),o.e(793),o.e(544),o.e(85),o.e(932),o.e(637),o.e(478)]).then(o.bind(o,9069)).then((({BlockerRouter:e})=>D("blocker",React.createElement(e,null)))))),V=(0,n.lazy)((()=>Promise.all([o.e(446),o.e(185),o.e(307),o.e(81),o.e(414),o.e(737),o.e(902),o.e(357)]).then(o.bind(o,8058)).then((({ImportExportCards:e})=>D("import",React.createElement(e,null)))))),U=(0,n.lazy)((()=>Promise.all([o.e(446),o.e(307),o.e(81),o.e(322)]).then(o.bind(o,3761)).then((({ConfigLicensing:e})=>D("licensing",React.createElement(e,null)))))),N=(0,s.Pi)((()=>{const{percent:e,remaining:t,currentJob:o}=(0,E.p)(),{optionStore:s,checklistStore:p}=(0,c.m)(),{others:{showLicenseFormImmediate:b,colorScheme:[,,y]}}=s;return(0,n.useLayoutEffect)((()=>{s.fetchSettings();const e=()=>{p.fetchChecklist()},t="".concat(_.JOB_DONE_EVENT_PREFIX).concat(z.b);return document.addEventListener(t,e),()=>{document.removeEventListener(t,e)}}),[]),b?React.createElement(n.Suspense,{fallback:React.createElement(i.Z,{spinning:!0,style:x})},React.createElement(U,null)):React.createElement(a.HashRouter,null,React.createElement(R,null),React.createElement("nav",{className:"nav-tab-wrapper wp-clearfix"},React.createElement(a.NavLink,{to:"/",className:"nav-tab",activeClassName:"nav-tab-active",exact:!0},(0,l.__)("Dashboard")),React.createElement(a.NavLink,{to:"/settings",className:"nav-tab",activeClassName:"nav-tab-active"},(0,l.__)("Settings")),React.createElement(a.NavLink,{to:"/scanner",className:"nav-tab",activeClassName:"nav-tab-active"},t>0&&e>0&&(null==o?void 0:o.group_position)>0?React.createElement(r.Z,{count:"".concat(e," %"),style:{top:-11,fontSize:10,height:16,lineHeight:"16px",background:y}},(0,l.__)("Scanner")):(0,l.__)("Scanner")),React.createElement(a.NavLink,{to:"/cookies",className:"nav-tab",activeClassName:"nav-tab-active"},(0,l.__)("Services (Cookies)")),React.createElement(a.NavLink,{to:"/blocker",className:"nav-tab",activeClassName:"nav-tab-active"},(0,l.__)("Content Blocker")),React.createElement(a.NavLink,{to:"/consent",className:"nav-tab",activeClassName:"nav-tab-active"},(0,l.__)("Consent")),React.createElement(a.NavLink,{to:"/import",className:"nav-tab",activeClassName:"nav-tab-active"},(0,l.__)("Import / Export")),"try.devowl.io"!==window.location.host&&React.createElement(a.NavLink,{to:"/licensing",className:"nav-tab",activeClassName:"nav-tab-active"},(0,l.__)("Licensing")),React.createElement("a",{href:(0,l.__)("https://devowl.io/support/"),className:"nav-tab",target:"_blank",rel:"noreferrer"},(0,l.__)("Support"))),React.createElement(u,null),React.createElement(h,null),React.createElement(d,null),React.createElement(f,null),React.createElement(g,null),React.createElement(n.Suspense,{fallback:React.createElement(i.Z,{spinning:!0,style:x})},React.createElement(a.Switch,null,React.createElement(a.Route,{path:"/",exact:!0},React.createElement(T,null)),React.createElement(a.Route,{path:"/settings/:tab?"},s.areSettingsFetched?React.createElement(A,null):null),React.createElement(a.Route,{path:"/scanner"},React.createElement(M,null)),React.createElement(a.Route,{path:"/cookies/:cookieGroup?"},React.createElement(I,null)),React.createElement(a.Route,{path:"/consent/:tab?"},React.createElement(j,null)),React.createElement(a.Route,{path:"/blocker"},React.createElement(B,null)),React.createElement(a.Route,{path:"/import"},React.createElement(V,null)),React.createElement(a.Route,{path:"/licensing"},React.createElement(U,null)))),React.createElement(S,null))}))},2411:(e,t,o)=>{o.d(t,{Q:()=>u,S:()=>h});var r=o(1063),i=o(9511),n=o(1246),s=o(3867),a=o(7363),l=o(9743),c=o(5217),p=o(1589);const u="promo=in-app",h=(0,s.Pi)((({style:e})=>{const{optionStore:{fomoCoupon:t}}=(0,l.m)(),o=null==t?void 0:t.coupon,s=null==t?void 0:t.valueInPercent,u=null==t?void 0:t.validUntil,h=(0,a.useCallback)((()=>{if(u){const e=new Date(u).getTime()-(new Date).getTime();if(e<=0)return;const t=e/1e3;return[Math.floor(t/3600),Math.floor(t/60)%60,Math.floor(t%60)].map((e=>e<10?"0".concat(e):e)).filter(((e,t)=>"00"!==e||t>0)).join(":")}}),[u]),[,b]=(0,a.useState)();(0,a.useEffect)((()=>{const e=setInterval((()=>{b((new Date).getTime())}),1e3);return()=>{clearInterval(e)}}),[]);const d=h();return d?React.createElement(r.Z,{style:e,message:(0,c._i)((0,c.__)("Use coupon {{tag}}%s{{/tag}} in the next {{strongHours}}%s hours{{/strongHours}} and save {{strongPercent}}%d %%{{/strongPercent}} in the first year!",o,d,s),{tag:React.createElement(i.Z,{color:"success",style:{marginRight:0,cursor:"pointer"},onClick:()=>{(0,p.v)(o),n.ZP.success((0,c.__)("Successfully copied coupon to clipboard!"))}}),strongHours:React.createElement("strong",{style:{color:"#d33131"}}),strongPercent:React.createElement("strong",null)})}):null}))},4251:(e,t,o)=>{o.d(t,{B:()=>u});var r=o(3751),i=o(7363),n=o(3541),s=o(9712),a=o(5217),l=o(2411),c=o(6178),p=o(8057);const u=({visible:e=!1,showHints:t=!0,showFomoCouponCounter:o=!0,title:u,testDrive:h=!1,assetName:b,description:d,feature:y,onClose:f,inContainer:m,inContainerElement:g})=>{const{proUrl:v,hints:w}=(0,s.u)(),[k,Z]=(0,i.useState)(),C=(0,i.useCallback)((()=>{window.open("".concat(v,"&feature=").concat(y,"&").concat(l.Q),"_blank").focus(),null==f||f()}),[f]);(0,i.useEffect)((()=>{m&&k&&(null==k?void 0:k.parentElement.parentElement.previousElementSibling).removeAttribute("tabIndex")}),[k]);const R=null==w?void 0:w.proDialog;return m&&!g?null:React.createElement(r.Z,{visible:!!m||e,title:React.createElement("span",null,React.createElement(n.Z,null)," ",u," ",(0,a.__)("Get PRO!")),onOk:C,onCancel:f,cancelText:(0,a.__)("No, not interested..."),okText:(0,a.__)("I want to learn more!"),className:"rcb-pro-modal",width:b?800:700,getContainer:m?g:void 0},!!b&&React.createElement("img",{style:{marginTop:10},src:"https://assets.devowl.io/in-app/wp-real-cookie-banner/".concat(b)}),React.createElement("div",{style:{maxWidth:600,margin:"auto"},ref:Z},React.createElement("p",null,(0,p.E)(d)),h&&React.createElement("p",null,(0,a._i)((0,a.__)("Check out this feature with a {{a}}free sandbox{{/a}} before buying!"),{a:React.createElement("a",{href:(0,a.__)("https://try.devowl.io/?product=RCB"),target:"_blank",rel:"noreferrer"})}))),!!R&&t&&React.createElement("div",{style:{maxWidth:600,margin:"auto",textAlign:"left"}},React.createElement(c.j,R)),o&&React.createElement(l.S,{style:{marginBottom:15}}))}},6178:(e,t,o)=>{o.d(t,{j:()=>s});var r=o(7743),i=o(2605),n=o(3404);const s=({title:e,description:t,link:o,linkText:s,logo:a})=>React.createElement(React.Fragment,null,React.createElement(n.Z,null,e),React.createElement(r.Z,{wrap:!1,style:{marginBottom:10}},React.createElement(i.Z,{flex:"auto"},!!t&&React.createElement("p",{style:{margin:0}},React.createElement("span",{dangerouslySetInnerHTML:{__html:t}})," ",!!o&&!!s&&React.createElement("a",{href:o,target:"_blank",rel:"noreferrer",className:"button-link"},s))),React.createElement(i.Z,{flex:"150px",style:{alignSelf:"center"}},!!a&&React.createElement("img",{src:a,style:{maxWidth:"calc(100% - 20px)",height:"auto",marginLeft:20}}))))},1816:(e,t,o)=>{o.d(t,{k:()=>p,t:()=>u});var r=o(7465),i=o(9511),n=o(2465),s=o(5217),a=o(9743),l=o(7363),c=o(4251);const p="#2db7f5";function u(e,t){const[o,u]=(0,l.useState)(!1),{optionStore:{others:{isPro:h}}}=(0,a.m)(),b="boolean"==typeof t?t:h,d=(0,l.useCallback)((e=>{u(!0),null==e||e.preventDefault()}),[u]),y=(0,l.useMemo)((()=>b?null:React.createElement(i.Z,{icon:React.createElement(n.Z,null),color:p,style:{cursor:"pointer"},onClick:d},e.tagText||(0,s.__)("Unlock feature"))),[d,e]),f=(0,l.useMemo)((()=>b?null:React.createElement(c.B,(0,r.Z)({visible:o,onClose:()=>u(!1)},e))),[o,u,e]);return{isPro:b,tag:y,modal:f,open:d}}},2684:(e,t,o)=>{o.d(t,{p:()=>a});var r=o(6),i=o(7363),n=o(9743),s=o(2208);function a(e,t=!1,o){const{scannerStore:a}=(0,n.m)();return(0,r.useProgress)({type:s.u,fetchStatusInterval:e,fetchAdditionalData:t,onAdditionalData:(0,i.useCallback)((({"rcb-scan-list":e})=>{const{presets:t,externalUrls:o}=e;a.resultPresetsFromResponse(t),a.resultExternalUrlsFromResponse(o)}),[a]),onCancel:o})}},6613:(e,t,o)=>{o.d(t,{p:()=>d});var r,i,n,s,a,l,c,p=o(6921),u=o(9888),h=o(7821),b=o(490);let d=(r=class e{constructor(e,t){(0,p.Z)(this,"id",i,this),(0,p.Z)(this,"name",n,this),(0,p.Z)(this,"needsPro",s,this),(0,p.Z)(this,"description",a,this),(0,p.Z)(this,"tags",l,this),(0,p.Z)(this,"settings",c,this),this.store=void 0,this.resetPreviewInUiSettings=void 0,(0,h.runInAction)((()=>(0,h.set)(this,e))),this.store=t}static getIframeStore(){try{return document.querySelector("#customize-preview > iframe").contentWindow.realCookieBanner_customize_banner.RootStore.get}catch(e){return}}applyInUi(){return!(!this.store.rootStore.optionStore.others.isPro&&this.needsPro||(this.previewInUi(),setTimeout((()=>{const e=(0,b.getSidebarCustomize)();this.store.presetDefaults.forEach(((t,o)=>{e(o).set(void 0===this.settings[o]?t:this.settings[o])}))}),100),0))}previewInUi(){const t=(0,b.getSidebarCustomize)(),{presetDefaults:o}=this.store,{settings:r}=this.store.rootStore.optionStore.others.customizeIdsBanner,i=[];this.resetPreviewInUiSettings={};for(const e of Object.keys(r)){const n=r[e];for(const r of Object.keys(n)){const s=n[r];if(!o.has(s))continue;this.resetPreviewInUiSettings[s]=[e,r,t(s).get()];const a=Object.prototype.hasOwnProperty.call(this.settings,s)?this.settings[s]:o.get(s);i.push([e,r,a])}}e.getIframeStore().customizeBannerStore.setBannerFromPreset(i)}resetPreviewInUi(){this.resetPreviewInUiSettings&&(e.getIframeStore().customizeBannerStore.setBannerFromPreset(Object.values(this.resetPreviewInUiSettings)),this.resetPreviewInUiSettings={})}},i=(0,u.Z)(r.prototype,"id",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n=(0,u.Z)(r.prototype,"name",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,u.Z)(r.prototype,"needsPro",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,u.Z)(r.prototype,"description",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,u.Z)(r.prototype,"tags",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,u.Z)(r.prototype,"settings",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},8578:(e,t,o)=>{o.d(t,{R:()=>a});var r,i=o(8700),n=o(7669),s=o(3642);let a=i.ClientCollection.annotate({path:"/rcb-blocker",singlePath:"/rcb-blocker/:id",namespace:"wp/v2",methods:[i.RouteHttpVerb.GET],request:n.W})(r=class extends i.AbstractPostCollection{constructor(e){super(),this.store=void 0,this.store=e}instance(e){return new s.p(this).fromResponse(e)}})||r},3642:(e,t,o)=>{o.d(t,{p:()=>b});var r,i,n,s=o(6921),a=o(9888),l=o(8700),c=o(7669),p=o(6054),u=o(7821),h=o(9743);let b=l.ClientModel.annotate({keyId:"id",namespace:"wp/v2",request:c.W,create:{path:"/rcb-blocker"},patch:{path:"/rcb-blocker/:id"},delete:{path:"/rcb-blocker/:id"}})((i=class extends l.AbstractPost{get rules(){var e;return null===(e=this.data)||void 0===e?void 0:e.meta.rules.split("\n")}get tcfVendors(){var e;return null!==(e=this.data)&&void 0!==e&&e.meta.tcfVendors?this.data.meta.tcfVendors.split(",").filter(Boolean).map(Number):[]}get services(){var e;return null===(e=this.data)||void 0===e?void 0:e.meta.services.split(",").filter(Boolean).map(Number)}constructor(e,t={}){super(e,t),(0,s.Z)(this,"presetModel",n,this),(0,u.reaction)((()=>{var e;return null===(e=this.data)||void 0===e?void 0:e.preset}),(e=>(0,u.runInAction)((()=>{this.presetModel=e?new p.w(e,h.M.get.cookieStore):void 0}))),{fireImmediately:!0})}setName(e){this.data.title.rendered=e}setStatus(e){this.data.status=e}setDescription(e){this.data.content.rendered=e}setMeta(e){this.data.meta=e}transformDataForPatch(){const e=super.transformDataForPatch();return{title:e.title,content:e.content,status:e.status,meta:e.meta,slug:e.title}}afterPatch(){this.collection.store.blockers.store.rootStore.optionStore.fetchCurrentRevision()}afterDelete(){this.collection.store.blockers.store.rootStore.optionStore.fetchCurrentRevision()}afterPersist(){this.collection.store.blockers.store.rootStore.optionStore.fetchCurrentRevision()}},n=(0,a.Z)(i.prototype,"presetModel",[u.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.Z)(i.prototype,"rules",[u.computed],Object.getOwnPropertyDescriptor(i.prototype,"rules"),i.prototype),(0,a.Z)(i.prototype,"tcfVendors",[u.computed],Object.getOwnPropertyDescriptor(i.prototype,"tcfVendors"),i.prototype),(0,a.Z)(i.prototype,"services",[u.computed],Object.getOwnPropertyDescriptor(i.prototype,"services"),i.prototype),(0,a.Z)(i.prototype,"setName",[u.action],Object.getOwnPropertyDescriptor(i.prototype,"setName"),i.prototype),(0,a.Z)(i.prototype,"setStatus",[u.action],Object.getOwnPropertyDescriptor(i.prototype,"setStatus"),i.prototype),(0,a.Z)(i.prototype,"setDescription",[u.action],Object.getOwnPropertyDescriptor(i.prototype,"setDescription"),i.prototype),(0,a.Z)(i.prototype,"setMeta",[u.action],Object.getOwnPropertyDescriptor(i.prototype,"setMeta"),i.prototype),r=i))||r},6054:(e,t,o)=>{o.d(t,{w:()=>h});var r,i,n,s,a=o(6921),l=o(9888),c=o(7821),p=o(6406),u=o(7669);let h=(r=class{get fullLogoUrl(){const{logoFile:e}=this.data,{publicUrl:t}=this.store.rootStore.optionStore;return e.startsWith("http")?e:"".concat(t,"images/logos/").concat(e)}constructor(e,t){(0,a.Z)(this,"busy",i,this),(0,a.Z)(this,"data",n,this),(0,a.Z)(this,"attributes",s,this),this.store=void 0,this.fetchAttributes=(0,c.flow)((function*(){try{this.busy=!0;const e=yield(0,u.W)({location:p.N,params:{identifier:this.data.identifier}});this.attributes=e}catch(e){throw console.log(e),e}finally{this.busy=!1}})),(0,c.runInAction)((()=>{this.data=e})),this.store=t}},i=(0,l.Z)(r.prototype,"busy",[c.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n=(0,l.Z)(r.prototype,"data",[c.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,l.Z)(r.prototype,"attributes",[c.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,l.Z)(r.prototype,"fullLogoUrl",[c.computed],Object.getOwnPropertyDescriptor(r.prototype,"fullLogoUrl"),r.prototype),r)},97:(e,t,o)=>{o.d(t,{y:()=>I});var r,i,n,s,a,l,c,p,u,h,b,d,y,f,m,g,v,w,k,Z,C,R,P,S,O,E,_,z,x,D,T=o(6921),A=o(9888),M=o(7821);let I=(r=class{get revision(){return this.store.revisions.get(this.revision_hash)}get revision_independent(){return this.store.revisionsIndependent.get(this.revision_independent_hash)}get custom_bypass_readable(){const{custom_bypass:e}=this;return e?e.charAt(0).toUpperCase()+e.slice(1):""}get export(){return JSON.parse(JSON.stringify({...this.plain,revision:this.revision.data,revision_independent:this.revision_independent.data}))}constructor(e,t){(0,T.Z)(this,"id",i,this),(0,T.Z)(this,"plugin_version",n,this),(0,T.Z)(this,"design_version",s,this),(0,T.Z)(this,"ipv4",a,this),(0,T.Z)(this,"ipv6",l,this),(0,T.Z)(this,"ipv4_hash",c,this),(0,T.Z)(this,"ipv6_hash",p,this),(0,T.Z)(this,"uuid",u,this),(0,T.Z)(this,"previous_decision",h,this),(0,T.Z)(this,"decision",b,this),(0,T.Z)(this,"decision_labels",d,this),(0,T.Z)(this,"created",y,this),(0,T.Z)(this,"blocker",f,this),(0,T.Z)(this,"blocker_thumbnail",m,this),(0,T.Z)(this,"dnt",g,this),(0,T.Z)(this,"custom_bypass",v,this),(0,T.Z)(this,"user_country",w,this),(0,T.Z)(this,"revision_hash",k,this),(0,T.Z)(this,"revision_independent_hash",Z,this),(0,T.Z)(this,"button_clicked",C,this),(0,T.Z)(this,"context",R,this),(0,T.Z)(this,"viewport_width",P,this),(0,T.Z)(this,"viewport_height",S,this),(0,T.Z)(this,"viewed_page",O,this),(0,T.Z)(this,"url_imprint",E,this),(0,T.Z)(this,"url_privacy_policy",_,this),(0,T.Z)(this,"forwarded",z,this),(0,T.Z)(this,"forwarded_blocker",x,this),(0,T.Z)(this,"tcf_string",D,this),this.store=void 0,this.plain=void 0,(0,M.runInAction)((()=>(0,M.set)(this,e))),this.store=t,this.plain=e}fetchRevisions(){return Promise.all([this.store.fetchRevision({hash:this.revision_hash}),this.store.fetchRevisionIndependent({hash:this.revision_independent_hash})])}},i=(0,A.Z)(r.prototype,"id",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n=(0,A.Z)(r.prototype,"plugin_version",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,A.Z)(r.prototype,"design_version",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,A.Z)(r.prototype,"ipv4",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,A.Z)(r.prototype,"ipv6",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,A.Z)(r.prototype,"ipv4_hash",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=(0,A.Z)(r.prototype,"ipv6_hash",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,A.Z)(r.prototype,"uuid",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,A.Z)(r.prototype,"previous_decision",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,A.Z)(r.prototype,"decision",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=(0,A.Z)(r.prototype,"decision_labels",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,A.Z)(r.prototype,"created",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,A.Z)(r.prototype,"blocker",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,A.Z)(r.prototype,"blocker_thumbnail",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,A.Z)(r.prototype,"dnt",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,A.Z)(r.prototype,"custom_bypass",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,A.Z)(r.prototype,"user_country",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,A.Z)(r.prototype,"revision_hash",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=(0,A.Z)(r.prototype,"revision_independent_hash",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,A.Z)(r.prototype,"button_clicked",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=(0,A.Z)(r.prototype,"context",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,A.Z)(r.prototype,"viewport_width",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,A.Z)(r.prototype,"viewport_height",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,A.Z)(r.prototype,"viewed_page",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,A.Z)(r.prototype,"url_imprint",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,A.Z)(r.prototype,"url_privacy_policy",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=(0,A.Z)(r.prototype,"forwarded",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=(0,A.Z)(r.prototype,"forwarded_blocker",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=(0,A.Z)(r.prototype,"tcf_string",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,A.Z)(r.prototype,"revision",[M.computed],Object.getOwnPropertyDescriptor(r.prototype,"revision"),r.prototype),(0,A.Z)(r.prototype,"revision_independent",[M.computed],Object.getOwnPropertyDescriptor(r.prototype,"revision_independent"),r.prototype),(0,A.Z)(r.prototype,"custom_bypass_readable",[M.computed],Object.getOwnPropertyDescriptor(r.prototype,"custom_bypass_readable"),r.prototype),r)},4620:(e,t,o)=>{o.d(t,{b:()=>u});var r,i,n=o(9888),s=o(8700),a=o(7669),l=o(2698),c=o(7821),p=o(8903);let u=s.ClientCollection.annotate({path:"/rcb-cookie",singlePath:"/rcb-cookie/:id",namespace:"wp/v2",methods:[s.RouteHttpVerb.GET],request:a.W})((i=class extends s.AbstractPostCollection{get sortedCookies(){const e=Array.from(this.entries.values());return e.sort(((e,t)=>e.data.menu_order<t.data.menu_order?-1:e.data.menu_order>t.data.menu_order||e.key<t.key?1:e.key>t.key?-1:0)),e}constructor(e){super(),this.store=void 0,this.orderCookies=(0,c.flow)((function*(e){this.busy=!0;try{yield(0,a.W)({location:p.I,request:{ids:e}});let t=0;for(const o of e)this.entries.get(o).setOrder(t),t++}catch(e){throw console.log(e),e}finally{this.busy=!1}})),this.store=e}instance(e){return new l.U(this).fromResponse(e)}},(0,n.Z)(i.prototype,"sortedCookies",[c.computed],Object.getOwnPropertyDescriptor(i.prototype,"sortedCookies"),i.prototype),r=i))||r},8626:(e,t,o)=>{o.d(t,{w:()=>u});var r,i,n=o(9888),s=o(8700),a=o(7669),l=o(9532),c=o(7821),p=o(8067);let u=s.ClientCollection.annotate({path:"/rcb-cookie-group",singlePath:"/rcb-cookie-group/:id",namespace:"wp/v2",methods:[s.RouteHttpVerb.GET],request:a.W})((i=class extends s.AbstractCategoryCollection{get sortedGroups(){const e=Array.from(this.entries.values());return e.sort(((e,t)=>e.data.meta.order<t.data.meta.order?-1:e.data.meta.order>t.data.meta.order?1:0)),e}constructor(e){super(),this.store=void 0,this.orderCookieGroups=(0,c.flow)((function*(e){this.busy=!0;try{yield(0,a.W)({location:p.B,request:{ids:e}});let t=0;for(const o of e)this.entries.get(o).setOrder(t),t++}catch(e){throw console.log(e),e}finally{this.busy=!1}})),this.store=e}instance(e){return new l.O(this).fromResponse(e)}},(0,n.Z)(i.prototype,"sortedGroups",[c.computed],Object.getOwnPropertyDescriptor(i.prototype,"sortedGroups"),i.prototype),r=i))||r},9532:(e,t,o)=>{o.d(t,{O:()=>b});var r,i,n,s,a=o(6921),l=o(9888),c=o(8700),p=o(7669),u=o(4620),h=o(7821);let b=c.ClientModel.annotate({keyId:"id",namespace:"wp/v2",request:p.W,create:{path:"/rcb-cookie-group"},patch:{path:"/rcb-cookie-group/:id"},delete:{path:"/rcb-cookie-group/:id"}})((i=class extends c.AbstractCategory{get cookiesCount(){return this.fetchedAllCookies?this.cookies.entries.size:this.data.count}constructor(e,t={}){super(e,t),(0,a.Z)(this,"cookies",n,this),(0,a.Z)(this,"fetchedAllCookies",s,this),this.fetchCookies=(0,h.flow)((function*(){yield this.cookies.get({request:{status:["draft","publish","private"]},params:{per_page:100,"rcb-cookie-group":this.key,context:"edit"}}),this.fetchedAllCookies=!0})),(0,h.runInAction)((()=>{this.cookies=new u.b(this)}))}setName(e){this.data.name=e}setDescription(e){this.data.description=e}setOrder(e){this.data.meta.order=e}afterDelete(){this.collection.store.rootStore.optionStore.fetchCurrentRevision()}afterPatch(){this.collection.store.rootStore.optionStore.fetchCurrentRevision()}afterPersist(){this.collection.store.rootStore.optionStore.fetchCurrentRevision()}},n=(0,l.Z)(i.prototype,"cookies",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,l.Z)(i.prototype,"fetchedAllCookies",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,l.Z)(i.prototype,"cookiesCount",[h.computed],Object.getOwnPropertyDescriptor(i.prototype,"cookiesCount"),i.prototype),(0,l.Z)(i.prototype,"setName",[h.action],Object.getOwnPropertyDescriptor(i.prototype,"setName"),i.prototype),(0,l.Z)(i.prototype,"setDescription",[h.action],Object.getOwnPropertyDescriptor(i.prototype,"setDescription"),i.prototype),(0,l.Z)(i.prototype,"setOrder",[h.action],Object.getOwnPropertyDescriptor(i.prototype,"setOrder"),i.prototype),r=i))||r},2698:(e,t,o)=>{o.d(t,{U:()=>b});var r,i,n,s=o(6921),a=o(9888),l=o(8700),c=o(7669),p=o(1355),u=o(7821),h=o(9743);let b=l.ClientModel.annotate({keyId:"id",namespace:"wp/v2",request:c.W,create:{path:"/rcb-cookie"},patch:{path:"/rcb-cookie/:id"},delete:{path:"/rcb-cookie/:id"}})((i=class extends l.AbstractPost{get rootStore(){return this.collection.store.collection.store.rootStore}get technicalDefinitions(){return JSON.parse(this.data.meta.technicalDefinitions)}get codeDynamics(){return JSON.parse(this.data.meta.codeDynamics||"{}")}constructor(e,t={}){super(e,t),(0,s.Z)(this,"presetModel",n,this),this.store=void 0,(0,u.reaction)((()=>{var e;return null===(e=this.data)||void 0===e?void 0:e.preset}),(e=>(0,u.runInAction)((()=>{this.presetModel=e?new p.g(e,h.M.get.cookieStore):void 0}))),{fireImmediately:!0})}afterPatch(){const e=this.collection.store.collection,[t]=this.data["rcb-cookie-group"];e.entries.forEach((e=>{t!==e.key?e.cookies.entries.delete(this.key):e.cookies.entries.set(this.key,this)})),this.rootStore.optionStore.fetchCurrentRevision(),this.rootStore.cookieStore.unassignedCookies.delete(this.key)}setOrder(e){this.data.menu_order=e}setName(e){this.data.title.rendered=e}setStatus(e){this.data.status=e}setPurpose(e){this.data.content.rendered=e}setGroup(e){this.data["rcb-cookie-group"]=[e]}setMeta(e){this.data.meta=e}transformDataForPersist(){return{...super.transformDataForPersist(),"rcb-cookie-group":[this.collection.store.key]}}transformDataForPatch(){const e=super.transformDataForPatch();return{title:e.title,content:e.content,status:e.status,meta:e.meta,menu_order:e.menu_order,"rcb-cookie-group":this.data["rcb-cookie-group"],slug:e.title}}afterDelete(){this.collection.store.cookies.store.collection.store.rootStore.optionStore.fetchCurrentRevision()}afterPersist(){const{optionStore:e,checklistStore:t}=this.collection.store.cookies.store.collection.store.rootStore;e.fetchCurrentRevision(),t.probablyFetchByChangedItem("add-cookie")}},n=(0,a.Z)(i.prototype,"presetModel",[u.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.Z)(i.prototype,"rootStore",[u.computed],Object.getOwnPropertyDescriptor(i.prototype,"rootStore"),i.prototype),(0,a.Z)(i.prototype,"technicalDefinitions",[u.computed],Object.getOwnPropertyDescriptor(i.prototype,"technicalDefinitions"),i.prototype),(0,a.Z)(i.prototype,"codeDynamics",[u.computed],Object.getOwnPropertyDescriptor(i.prototype,"codeDynamics"),i.prototype),(0,a.Z)(i.prototype,"afterPatch",[u.action],Object.getOwnPropertyDescriptor(i.prototype,"afterPatch"),i.prototype),(0,a.Z)(i.prototype,"setOrder",[u.action],Object.getOwnPropertyDescriptor(i.prototype,"setOrder"),i.prototype),(0,a.Z)(i.prototype,"setName",[u.action],Object.getOwnPropertyDescriptor(i.prototype,"setName"),i.prototype),(0,a.Z)(i.prototype,"setStatus",[u.action],Object.getOwnPropertyDescriptor(i.prototype,"setStatus"),i.prototype),(0,a.Z)(i.prototype,"setPurpose",[u.action],Object.getOwnPropertyDescriptor(i.prototype,"setPurpose"),i.prototype),(0,a.Z)(i.prototype,"setGroup",[u.action],Object.getOwnPropertyDescriptor(i.prototype,"setGroup"),i.prototype),(0,a.Z)(i.prototype,"setMeta",[u.action],Object.getOwnPropertyDescriptor(i.prototype,"setMeta"),i.prototype),r=i))||r},1355:(e,t,o)=>{o.d(t,{g:()=>h});var r,i,n,s,a=o(6921),l=o(9888),c=o(7821),p=o(6364),u=o(7669);let h=(r=class{get fullLogoUrl(){const{logoFile:e}=this.data,{publicUrl:t}=this.store.rootStore.optionStore;return e.startsWith("http")?e:"".concat(t,"images/logos/").concat(e)}constructor(e,t){(0,a.Z)(this,"busy",i,this),(0,a.Z)(this,"data",n,this),(0,a.Z)(this,"attributes",s,this),this.store=void 0,this.fetchAttributes=(0,c.flow)((function*(){try{this.busy=!0;const e=yield(0,u.W)({location:p.t,params:{identifier:this.data.identifier}});this.attributes=e}catch(e){throw console.log(e),e}finally{this.busy=!1}})),(0,c.runInAction)((()=>{this.data=e})),this.store=t}},i=(0,l.Z)(r.prototype,"busy",[c.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n=(0,l.Z)(r.prototype,"data",[c.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,l.Z)(r.prototype,"attributes",[c.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,l.Z)(r.prototype,"fullLogoUrl",[c.computed],Object.getOwnPropertyDescriptor(r.prototype,"fullLogoUrl"),r.prototype),r)},6827:(e,t,o)=>{o.d(t,{k:()=>r});class r{constructor(e,t){this.data=void 0,this.store=void 0,this.data=e,this.store=t}}},6213:(e,t,o)=>{o.d(t,{I:()=>r});class r{constructor(e,t){this.data=void 0,this.store=void 0,this.data=e,this.store=t}}},1339:(e,t,o)=>{o.d(t,{o:()=>h});var r,i,n,s=o(6921),a=o(9888),l=o(7821),c=o(3943),p=o(5217),u=o(7669);let h=(r=class{get identifier(){return this.data.host}get inactive(){return"full"===this.blockedStatus||this.data.ignored}get blockedStatus(){const{foundCount:e,blockedCount:t}=this.data;return 0===t?"none":e===t?"full":"partial"}get blockedStatusText(){switch(this.blockedStatus){case"full":return(0,p.__)("Fully blocked");case"partial":return(0,p.__)("Partially blocked");default:return(0,p.__)("Not blocked")}}constructor(e,t){(0,s.Z)(this,"busy",i,this),(0,s.Z)(this,"data",n,this),this.store=void 0,this.ignore=(0,l.flow)((function*(e=!0){try{yield(0,u.W)({location:c.C,request:{ignored:e},params:{host:this.data.host.replace(/\./g,"_")}}),this.data.ignored=e}catch(e){throw console.log(e),e}})),(0,l.runInAction)((()=>{this.data=e})),this.store=t}},i=(0,a.Z)(r.prototype,"busy",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n=(0,a.Z)(r.prototype,"data",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.Z)(r.prototype,"identifier",[l.computed],Object.getOwnPropertyDescriptor(r.prototype,"identifier"),r.prototype),(0,a.Z)(r.prototype,"inactive",[l.computed],Object.getOwnPropertyDescriptor(r.prototype,"inactive"),r.prototype),(0,a.Z)(r.prototype,"blockedStatus",[l.computed],Object.getOwnPropertyDescriptor(r.prototype,"blockedStatus"),r.prototype),(0,a.Z)(r.prototype,"blockedStatusText",[l.computed],Object.getOwnPropertyDescriptor(r.prototype,"blockedStatusText"),r.prototype),r)},3792:(e,t,o)=>{o.d(t,{a:()=>p});var r,i,n,s=o(6921),a=o(9888),l=o(7821),c=o(8503);let p=(r=class{get markup(){return this.store.resultMarkup.get(this.data.id)}get blockedUrlTruncate(){return(0,c.r)(this.data.blockedUrl,50,"[...]")}get sourceUrlTruncate(){return(0,c.r)(this.data.sourceUrl,50,"[...]")}constructor(e,t){(0,s.Z)(this,"busy",i,this),(0,s.Z)(this,"data",n,this),this.store=void 0,this.fetchMarkup=(0,l.flow)((function*(){yield this.store.fetchMarkup(this.data.id)})),(0,l.runInAction)((()=>{this.data=e})),this.store=t}},i=(0,a.Z)(r.prototype,"busy",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n=(0,a.Z)(r.prototype,"data",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.Z)(r.prototype,"markup",[l.computed],Object.getOwnPropertyDescriptor(r.prototype,"markup"),r.prototype),(0,a.Z)(r.prototype,"blockedUrlTruncate",[l.computed],Object.getOwnPropertyDescriptor(r.prototype,"blockedUrlTruncate"),r.prototype),(0,a.Z)(r.prototype,"sourceUrlTruncate",[l.computed],Object.getOwnPropertyDescriptor(r.prototype,"sourceUrlTruncate"),r.prototype),r)},8318:(e,t,o)=>{o.d(t,{g:()=>h});var r,i,n,s,a=o(6921),l=o(9888),c=o(7821),p=o(7669),u=o(6406);let h=(r=class{get identifier(){return this.data.identifier}get fullLogoUrl(){const{logoFile:e}=this.data,{publicUrl:t}=this.store.rootStore.optionStore;return e.startsWith("http")?e:"".concat(t,"images/logos/").concat(e)}get inactive(){return this.data.created}constructor(e,t){(0,a.Z)(this,"busy",i,this),(0,a.Z)(this,"data",n,this),(0,a.Z)(this,"attributes",s,this),this.store=void 0,this.fetchAttributes=(0,c.flow)((function*(){try{this.busy=!0;const e=yield(0,p.W)({location:u.N,params:{identifier:this.data.identifier}});this.attributes=e}catch(e){throw console.log(e),e}finally{this.busy=!1}})),(0,c.runInAction)((()=>{this.data=e})),this.store=t}},i=(0,l.Z)(r.prototype,"busy",[c.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n=(0,l.Z)(r.prototype,"data",[c.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,l.Z)(r.prototype,"attributes",[c.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,l.Z)(r.prototype,"identifier",[c.computed],Object.getOwnPropertyDescriptor(r.prototype,"identifier"),r.prototype),(0,l.Z)(r.prototype,"fullLogoUrl",[c.computed],Object.getOwnPropertyDescriptor(r.prototype,"fullLogoUrl"),r.prototype),(0,l.Z)(r.prototype,"inactive",[c.computed],Object.getOwnPropertyDescriptor(r.prototype,"inactive"),r.prototype),r)},1112:(e,t,o)=>{o.d(t,{i:()=>c});var r,i,n,s=o(6921),a=o(9888),l=o(7821);let c=(r=class{constructor(e,t,o){(0,s.Z)(this,"data",i,this),(0,s.Z)(this,"special",n,this),this.store=void 0,(0,l.runInAction)((()=>{this.special=t,this.data=e})),this.store=o}},i=(0,a.Z)(r.prototype,"data",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n=(0,a.Z)(r.prototype,"special",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},8272:(e,t,o)=>{o.d(t,{v:()=>c});var r,i,n,s=o(6921),a=o(9888),l=o(7821);let c=(r=class{constructor(e,t,o){(0,s.Z)(this,"data",i,this),(0,s.Z)(this,"special",n,this),this.store=void 0,(0,l.runInAction)((()=>{this.special=t,this.data=e})),this.store=o}},i=(0,a.Z)(r.prototype,"data",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n=(0,a.Z)(r.prototype,"special",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},2515:(e,t,o)=>{o.d(t,{C:()=>c});var r,i,n=o(6921),s=o(9888),a=o(7821),l=o(7747);let c=(r=class{get vendorConfiguration(){for(const e of this.store.vendorConfigurations.entries.values())if(e.vendorModel.data.id===this.data.id)return e}get deviceStorageDisclosure(){const{usesCookies:e,cookieMaxAgeSeconds:t,cookieRefresh:o,usesNonCookieAccess:r,deviceStorageDisclosure:i}=this.data,n=null!=i&&i.disclosures.length?[...i.disclosures]:[];return r&&n.unshift({type:l.r.Web,identifier:"*",purposes:void 0,cookieRefresh:void 0,domain:"*",maxAgeSeconds:null}),e&&n.unshift({type:l.r.Cookie,identifier:"*",purposes:void 0,cookieRefresh:o,domain:"*",maxAgeSeconds:t}),n}get allPurposes(){return[...this.legIntPurposes,...this.purposes,...this.specialPurposes].filter(Boolean)}get allFeatures(){return[...this.features,...this.specialFeatures].filter(Boolean)}get restrictivePurposes(){const e={normal:{}};for(const t of[...this.legIntPurposes,...this.purposes])e.normal[t.data.id.toString()]={enabled:!0,legInt:this.legIntPurposes.indexOf(t)>-1&&!t.special?"yes":"no"};return e}get purposes(){var e;return null===(e=this.data)||void 0===e?void 0:e.purposes.map((e=>this.store.purposes.get("".concat(e))))}get legIntPurposes(){var e;return null===(e=this.data)||void 0===e?void 0:e.legIntPurposes.map((e=>this.store.purposes.get("".concat(e))))}get flexiblePurposes(){var e;return null===(e=this.data)||void 0===e?void 0:e.flexiblePurposes.map((e=>this.store.purposes.get("".concat(e))))}get specialPurposes(){var e;return null===(e=this.data)||void 0===e?void 0:e.specialPurposes.map((e=>this.store.specialPurposes.get("".concat(e))))}get features(){var e;return null===(e=this.data)||void 0===e?void 0:e.features.map((e=>this.store.features.get("".concat(e))))}get specialFeatures(){var e;return null===(e=this.data)||void 0===e?void 0:e.specialFeatures.map((e=>this.store.specialFeatures.get("".concat(e))))}constructor(e,t){(0,n.Z)(this,"data",i,this),this.store=void 0,(0,a.runInAction)((()=>{this.data=e})),this.store=t}},i=(0,s.Z)(r.prototype,"data",[a.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,s.Z)(r.prototype,"vendorConfiguration",[a.computed],Object.getOwnPropertyDescriptor(r.prototype,"vendorConfiguration"),r.prototype),(0,s.Z)(r.prototype,"deviceStorageDisclosure",[a.computed],Object.getOwnPropertyDescriptor(r.prototype,"deviceStorageDisclosure"),r.prototype),(0,s.Z)(r.prototype,"allPurposes",[a.computed],Object.getOwnPropertyDescriptor(r.prototype,"allPurposes"),r.prototype),(0,s.Z)(r.prototype,"allFeatures",[a.computed],Object.getOwnPropertyDescriptor(r.prototype,"allFeatures"),r.prototype),(0,s.Z)(r.prototype,"restrictivePurposes",[a.computed],Object.getOwnPropertyDescriptor(r.prototype,"restrictivePurposes"),r.prototype),(0,s.Z)(r.prototype,"purposes",[a.computed],Object.getOwnPropertyDescriptor(r.prototype,"purposes"),r.prototype),(0,s.Z)(r.prototype,"legIntPurposes",[a.computed],Object.getOwnPropertyDescriptor(r.prototype,"legIntPurposes"),r.prototype),(0,s.Z)(r.prototype,"flexiblePurposes",[a.computed],Object.getOwnPropertyDescriptor(r.prototype,"flexiblePurposes"),r.prototype),(0,s.Z)(r.prototype,"specialPurposes",[a.computed],Object.getOwnPropertyDescriptor(r.prototype,"specialPurposes"),r.prototype),(0,s.Z)(r.prototype,"features",[a.computed],Object.getOwnPropertyDescriptor(r.prototype,"features"),r.prototype),(0,s.Z)(r.prototype,"specialFeatures",[a.computed],Object.getOwnPropertyDescriptor(r.prototype,"specialFeatures"),r.prototype),r)},303:(e,t,o)=>{o.d(t,{C:()=>a});var r,i=o(8700),n=o(7669),s=o(9894);let a=i.ClientCollection.annotate({path:"/rcb-tcf-vendor-conf",singlePath:"/rcb-tcf-vendor-conf/:id",namespace:"wp/v2",methods:[i.RouteHttpVerb.GET],request:n.W})(r=class extends i.AbstractPostCollection{constructor(e){super(),this.store=void 0,this.store=e}instance(e){return new s.S(this).fromResponse(e)}})||r},9894:(e,t,o)=>{o.d(t,{S:()=>d});var r,i,n,s=o(6921),a=o(9888),l=o(8700),c=o(7669),p=o(7821),u=o(2515),h=o(5311),b=o.n(h);let d=l.ClientModel.annotate({keyId:"id",namespace:"wp/v2",request:c.W,create:{path:"/rcb-tcf-vendor-conf"},patch:{path:"/rcb-tcf-vendor-conf/:id"},delete:{path:"/rcb-tcf-vendor-conf/:id"}})((i=class extends l.AbstractPost{get hasVendor(){return!!this.vendorModel}get restrictivePurposes(){var e,t;const o="global"===this.collection.store.rootStore.optionStore.tcfScopeOfConsent,r=(null===(e=this.vendorModel)||void 0===e?void 0:e.restrictivePurposes)||{normal:{}};if(o)return r;const i=JSON.parse(this.data.meta.restrictivePurposes);return b().extend(!0,{},(null===(t=this.vendorModel)||void 0===t?void 0:t.restrictivePurposes)||{},i)}get stats(){var e;const{normal:t}=this.restrictivePurposes,o=[...Object.values(t)];return{activePurposes:o.filter((({enabled:e})=>e)).length,legIntPurposes:o.filter((({enabled:e,legInt:t})=>e&&"yes"===t)).length,activeFeatures:(null===(e=this.vendorModel)||void 0===e?void 0:e.allFeatures.length)||0}}constructor(e,t={}){super(e,t),(0,s.Z)(this,"vendorModel",n,this),(0,p.reaction)((()=>this.data.vendor),(e=>(0,p.runInAction)((()=>{if(e){const{vendors:t}=this.collection.store,o=e.id.toString();let r=t.get(o);r||(r=new u.C(e,this.collection.store),t.set(o,r)),this.vendorModel=r}}))),{fireImmediately:!0}),(0,p.reaction)((()=>{var e;return null===(e=this.data.meta)||void 0===e?void 0:e.vendorId}),(e=>{e&&(this.vendorModel=this.collection.store.vendors.get(e.toString()))}),{fireImmediately:!0})}setStatus(e){this.data.status=e}setMeta(e){this.data.meta=e}transformDataForPatch(){const e=super.transformDataForPatch();return{status:e.status,meta:e.meta}}afterPatch(){this.collection.store.rootStore.optionStore.fetchCurrentRevision()}afterDelete(){this.collection.store.rootStore.optionStore.fetchCurrentRevision()}afterPersist(){this.collection.store.rootStore.optionStore.fetchCurrentRevision()}},n=(0,a.Z)(i.prototype,"vendorModel",[p.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.Z)(i.prototype,"hasVendor",[p.computed],Object.getOwnPropertyDescriptor(i.prototype,"hasVendor"),i.prototype),(0,a.Z)(i.prototype,"restrictivePurposes",[p.computed],Object.getOwnPropertyDescriptor(i.prototype,"restrictivePurposes"),i.prototype),(0,a.Z)(i.prototype,"stats",[p.computed],Object.getOwnPropertyDescriptor(i.prototype,"stats"),i.prototype),(0,a.Z)(i.prototype,"setStatus",[p.action],Object.getOwnPropertyDescriptor(i.prototype,"setStatus"),i.prototype),(0,a.Z)(i.prototype,"setMeta",[p.action],Object.getOwnPropertyDescriptor(i.prototype,"setMeta"),i.prototype),r=i))||r},9171:(e,t,o)=>{o.d(t,{L:()=>b});var r,i,n,s=o(6921),a=o(9888),l=o(7821),c=o(8700),p=o(2377),u=o(5654),h=o(7669);let b=(r=class extends c.BaseOptions{constructor(e){super(),(0,s.Z)(this,"busyChecklist",i,this),(0,s.Z)(this,"checklist",n,this),this.rootStore=void 0,this.probablyFetchByChangedItem=(0,l.flow)((function*(e,t){if(t)return void(yield this.fetchChecklist());const o=Array.isArray(e)?e:[e];this.items.filter((({id:e,checked:t})=>o.indexOf(e)>-1&&!t)).length>0&&(yield this.fetchChecklist())})),this.fetchChecklist=(0,l.flow)((function*(){this.busyChecklist=!0;try{this.checklist=yield(0,h.W)({location:p.g,params:{_wp_http_referer:window.location.href}})}catch(e){throw console.log(e),e}finally{this.busyChecklist=!1}})),this.toggleChecklistItem=(0,l.flow)((function*(e,t){this.busyChecklist=!0;try{this.checklist=yield(0,h.W)({location:u.s,request:{state:t},params:{id:e,_wp_http_referer:window.location.href}})}catch(e){throw console.log(e),e}finally{this.busyChecklist=!1}})),this.rootStore=e}get items(){return this.checklist&&Object.keys(this.checklist.items).map((e=>({id:e,...this.checklist.items[e]})))||[]}get completed(){return this.items.filter((({checked:e})=>e))}get checkable(){const{isPro:e}=this.rootStore.optionStore.others;return this.items.filter((({needsPro:t})=>!t||e&&t))}get done(){var e;return this.completed.length>=this.checkable.length||!(null===(e=this.checklist)||void 0===e||!e.dismissed)}},i=(0,a.Z)(r.prototype,"busyChecklist",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n=(0,a.Z)(r.prototype,"checklist",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.Z)(r.prototype,"items",[l.computed],Object.getOwnPropertyDescriptor(r.prototype,"items"),r.prototype),(0,a.Z)(r.prototype,"completed",[l.computed],Object.getOwnPropertyDescriptor(r.prototype,"completed"),r.prototype),(0,a.Z)(r.prototype,"checkable",[l.computed],Object.getOwnPropertyDescriptor(r.prototype,"checkable"),r.prototype),(0,a.Z)(r.prototype,"done",[l.computed],Object.getOwnPropertyDescriptor(r.prototype,"done"),r.prototype),r)},3721:(e,t,o)=>{o.d(t,{v:()=>O});var r,i,n,s,a,l,c,p,u,h,b,d=o(6921),y=o(9888),f=o(7821),m=o(8700),g=o(7669),v=o(8516),w=o(9560),k=o(6521),Z=o(8420),C=o(3612),R=o(97),P=o(6827),S=o(6213);let O=(r=class extends m.BaseOptions{constructor(e){super(),(0,d.Z)(this,"busyConsent",i,this),(0,d.Z)(this,"busyReferer",n,this),(0,d.Z)(this,"count",s,this),(0,d.Z)(this,"truncatedIpsCount",a,this),(0,d.Z)(this,"perPage",l,this),(0,d.Z)(this,"offset",c,this),(0,d.Z)(this,"pageCollection",p,this),(0,d.Z)(this,"revisions",u,this),(0,d.Z)(this,"revisionsIndependent",h,this),(0,d.Z)(this,"referer",b,this),this.filters=f.observable.object({page:1,dates:[void 0,void 0],context:void 0,referer:void 0,ip:void 0,uuid:void 0},{},{deep:!1}),this.rootStore=void 0,this.fetchAll=(0,f.flow)((function*(){this.busyConsent=!0;try{const{page:e,referer:t,ip:o,uuid:r,context:i}=this.filters,n=this.filters.dates.map((e=>e?e.format("YYYY-MM-DD"):"")),{count:s,truncatedIpsCount:a,items:l}=yield(0,g.W)({location:v.c,params:{per_page:this.perPage,offset:(e-1)*this.perPage,from:n[0],to:n[1],ip:o,uuid:r,referer:t,context:i}});this.count=s,this.truncatedIpsCount=a,this.pageCollection.clear();for(const e of l)this.pageCollection.set(e.id,new R.y(e,this))}catch(e){throw this.count=0,this.truncatedIpsCount=0,this.pageCollection.clear(),console.log(e),e}finally{this.busyConsent=!1}})),this.fetchRevision=(0,f.flow)((function*(e){try{const t=yield(0,g.W)({location:w.Z,params:e});this.revisions.set(e.hash,new P.k(t,this))}catch(e){throw console.log(e),e}})),this.fetchRevisionIndependent=(0,f.flow)((function*(e){try{const t=yield(0,g.W)({location:k.T,params:e});this.revisionsIndependent.set(e.hash,new S.I(t,this))}catch(e){throw console.log(e),e}})),this.fetchReferer=(0,f.flow)((function*(e){this.busyReferer=!0;try{const t=yield(0,g.W)({location:Z.q,params:e});this.referer=t.items}catch(e){throw console.log(e),e}finally{this.busyReferer=!1}})),this.deleteAll=(0,f.flow)((function*(){this.busyConsent=!0;try{yield(0,g.W)({location:C.O}),this.applyPage(0),yield this.fetchAll()}catch(e){throw console.log(e),e}finally{this.busyConsent=!1}})),this.rootStore=e,(0,f.runInAction)((()=>{this.filters.context=this.rootStore.optionStore.others.context}))}applyPage(e){this.filters.page=e}applyDates(e){this.filters.dates=e}applyContext(e){this.filters.context=e}applyReferer(e){this.filters.referer=e}applyIp(e){this.filters.ip=e}applyUuid(e){this.filters.uuid=e}},i=(0,y.Z)(r.prototype,"busyConsent",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n=(0,y.Z)(r.prototype,"busyReferer",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),s=(0,y.Z)(r.prototype,"count",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),a=(0,y.Z)(r.prototype,"truncatedIpsCount",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),l=(0,y.Z)(r.prototype,"perPage",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 50}}),c=(0,y.Z)(r.prototype,"offset",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),p=(0,y.Z)(r.prototype,"pageCollection",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),u=(0,y.Z)(r.prototype,"revisions",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),h=(0,y.Z)(r.prototype,"revisionsIndependent",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),b=(0,y.Z)(r.prototype,"referer",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),(0,y.Z)(r.prototype,"applyPage",[f.action],Object.getOwnPropertyDescriptor(r.prototype,"applyPage"),r.prototype),(0,y.Z)(r.prototype,"applyDates",[f.action],Object.getOwnPropertyDescriptor(r.prototype,"applyDates"),r.prototype),(0,y.Z)(r.prototype,"applyContext",[f.action],Object.getOwnPropertyDescriptor(r.prototype,"applyContext"),r.prototype),(0,y.Z)(r.prototype,"applyReferer",[f.action],Object.getOwnPropertyDescriptor(r.prototype,"applyReferer"),r.prototype),(0,y.Z)(r.prototype,"applyIp",[f.action],Object.getOwnPropertyDescriptor(r.prototype,"applyIp"),r.prototype),(0,y.Z)(r.prototype,"applyUuid",[f.action],Object.getOwnPropertyDescriptor(r.prototype,"applyUuid"),r.prototype),r)},6649:(e,t,o)=>{o.d(t,{h:()=>R});var r,i,n,s,a,l,c,p,u,h,b=o(6921),d=o(9888),y=o(7821),f=o(6054),m=o(1355),g=o(8626),v=o(8578),w=o(3950),k=o(8213),Z=o(702),C=o(7669);let R=(r=class{get blockersCount(){return this.fetchedAllBlockers?this.blockers.entries.size:this.rootStore.optionStore.allBlockerCount}get cookiesCount(){return Array.from(this.groups.entries.values()).map((({cookiesCount:e})=>e)).reduce(((e,t)=>e+t),0)}constructor(e){(0,b.Z)(this,"busy",i,this),(0,b.Z)(this,"groups",n,this),(0,b.Z)(this,"unassignedCookies",s,this),(0,b.Z)(this,"blockers",a,this),(0,b.Z)(this,"presetsBlocker",l,this),(0,b.Z)(this,"busyPresetsBlocker",c,this),(0,b.Z)(this,"presetsCookie",p,this),(0,b.Z)(this,"busyPresetsCookie",u,this),(0,b.Z)(this,"fetchedAllBlockers",h,this),this.rootStore=void 0,this.fetchGroups=(0,y.flow)((function*(){yield this.groups.get({params:{per_page:100}}),yield this.fetchUnassignedCookies()})),this.fetchUnassignedCookies=(0,y.flow)((function*(){try{const e=yield(0,C.W)({location:w.p});for(const t of Object.values(e))this.unassignedCookies.set(t.id,t)}catch(e){throw console.log(e),e}})),this.fetchBlockers=(0,y.flow)((function*(){yield this.blockers.get({request:{status:["draft","publish","private"]},params:{per_page:100,context:"edit"}}),this.fetchedAllBlockers=!0})),this.fetchPresetsBlocker=(0,y.flow)((function*(){this.busyPresetsBlocker=!0;try{const{items:e}=yield(0,C.W)({location:k.W});for(const t of Object.keys(e))this.presetsBlocker.set(t,new f.w(e[t],this))}catch(e){throw console.log(e),e}finally{this.busyPresetsBlocker=!1}})),this.fetchPresetsCookie=(0,y.flow)((function*(){this.busyPresetsCookie=!0;try{const{items:e}=yield(0,C.W)({location:Z.z});for(const t of Object.keys(e))this.presetsCookie.set(t,new m.g(e[t],this))}catch(e){throw console.log(e),e}finally{this.busyPresetsCookie=!1}})),this.rootStore=e,(0,y.runInAction)((()=>{this.groups=new g.w(this),this.blockers=new v.R(this)}))}get essentialGroup(){if(0===this.groups.entries.size)return;const e=this.groups.entries.values();let t;for(;(t=e.next().value)&&t.data.slug!==this.rootStore.optionStore.others.essentialGroup;);return t}},i=(0,d.Z)(r.prototype,"busy",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n=(0,d.Z)(r.prototype,"groups",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,d.Z)(r.prototype,"unassignedCookies",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),a=(0,d.Z)(r.prototype,"blockers",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,d.Z)(r.prototype,"presetsBlocker",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),c=(0,d.Z)(r.prototype,"busyPresetsBlocker",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),p=(0,d.Z)(r.prototype,"presetsCookie",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),u=(0,d.Z)(r.prototype,"busyPresetsCookie",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),h=(0,d.Z)(r.prototype,"fetchedAllBlockers",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,d.Z)(r.prototype,"blockersCount",[y.computed],Object.getOwnPropertyDescriptor(r.prototype,"blockersCount"),r.prototype),(0,d.Z)(r.prototype,"cookiesCount",[y.computed],Object.getOwnPropertyDescriptor(r.prototype,"cookiesCount"),r.prototype),(0,d.Z)(r.prototype,"essentialGroup",[y.computed],Object.getOwnPropertyDescriptor(r.prototype,"essentialGroup"),r.prototype),r)},8943:(e,t,o)=>{o.d(t,{W:()=>m});var r,i,n,s,a,l,c,p=o(6921),u=o(9888),h=o(7821),b=o(8172),d=o(7669),y=o(6613),f=o(490);let m=(r=class{constructor(e){(0,p.Z)(this,"visible",i,this),(0,p.Z)(this,"animationVisible",n,this),(0,p.Z)(this,"individualPrivacyOpen",s,this),(0,p.Z)(this,"previewCheckboxActiveState",a,this),(0,p.Z)(this,"busyPresets",l,this),(0,p.Z)(this,"presets",c,this),this.rootStore=void 0,this.presetConstants=new Map,this.presetDefaults=new Map,this.debounceFromCustomize={},this.fetchPresets=(0,h.flow)((function*(){this.busyPresets=!0;try{const{defaults:e,constants:t,items:o}=yield(0,d.W)({location:b.t});for(const t of Object.keys(e))this.presetDefaults.set(t,e[t]);for(const e of Object.keys(t))this.presetConstants.set(e,t[e]);for(const e of Object.keys(o))this.presets.set(e,new y.p({id:e,...o[e]},this))}catch(e){throw console.log(e),e}finally{this.busyPresets=!1}})),this.rootStore=e}setBannerFromCustomize(e,t,o,r=!0){const{customizeValuesBanner:i}=this.rootStore.optionStore.others,n=t.toString();if(r&&["css","animationInDuration","animationOutDuration"].indexOf(n)>-1)clearTimeout(this.debounceFromCustomize[n]),this.debounceFromCustomize[n]=setTimeout((()=>this.setBannerFromCustomize(e,t,o,!1)),500);else{const r=i[e][t];i[e][t]=o,n.startsWith("animationOut")&&r!==o&&this.forceAnimationOutSimulation()}}setBannerFromPreset(e){for(const t of e){const[e,o,r]=t;this.rootStore.optionStore.others.customizeValuesBanner[e][o]=r}}forceAnimationOutSimulation(){const{customizeValuesBanner:e}=this.rootStore.optionStore.others;"none"!==e.layout.animationOut&&(this.animationVisible=!1,setTimeout((()=>(0,h.runInAction)((()=>{this.animationVisible=!0}))),+e.layout.animationOutDuration+1e3))}setVisible(e){this.visible=e}setIndividualPrivacyOpen(e){this.individualPrivacyOpen=e}setPreviewCheckboxActiveState(e){this.previewCheckboxActiveState=e}exportPhp(){const e={},t=(0,f.getSidebarCustomize)();return this.presetDefaults.forEach(((o,r)=>{let i=t(r).get();"boolean"==typeof o?i=!!+i:isNaN(i)||""===i||(i=+i),JSON.stringify(o)!==JSON.stringify(i)&&(e[this.presetConstants.get(r)]=i)})),this.jsonToPHPArray(e)}jsonToPHPArray(e){const t=JSON.stringify(e,null,4).split("\n");return t.shift(),t.pop(),t.join("\n").replace(/^(\s+)"([A-Za-z\\]+::[A-Z_]+)"(:)/gm,"$1$2 =>").replace(/^(\s+)([A-Za-z\\]+)::/gm,((e,t,o)=>"".concat(t).concat(o.replace(/\\\\/gm,"\\"),"::")))}},i=(0,u.Z)(r.prototype,"visible",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n=(0,u.Z)(r.prototype,"animationVisible",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),s=(0,u.Z)(r.prototype,"individualPrivacyOpen",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,u.Z)(r.prototype,"previewCheckboxActiveState",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),l=(0,u.Z)(r.prototype,"busyPresets",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),c=(0,u.Z)(r.prototype,"presets",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),(0,u.Z)(r.prototype,"setBannerFromCustomize",[h.action],Object.getOwnPropertyDescriptor(r.prototype,"setBannerFromCustomize"),r.prototype),(0,u.Z)(r.prototype,"setBannerFromPreset",[h.action],Object.getOwnPropertyDescriptor(r.prototype,"setBannerFromPreset"),r.prototype),(0,u.Z)(r.prototype,"forceAnimationOutSimulation",[h.action],Object.getOwnPropertyDescriptor(r.prototype,"forceAnimationOutSimulation"),r.prototype),(0,u.Z)(r.prototype,"setVisible",[h.action],Object.getOwnPropertyDescriptor(r.prototype,"setVisible"),r.prototype),(0,u.Z)(r.prototype,"setIndividualPrivacyOpen",[h.action],Object.getOwnPropertyDescriptor(r.prototype,"setIndividualPrivacyOpen"),r.prototype),(0,u.Z)(r.prototype,"setPreviewCheckboxActiveState",[h.action],Object.getOwnPropertyDescriptor(r.prototype,"setPreviewCheckboxActiveState"),r.prototype),r)},8919:(e,t,o)=>{o.d(t,{Cu:()=>u.C,L_:()=>c.L,My:()=>r.M,WS:()=>n.W,aZ:()=>i.a,et:()=>l.e,hc:()=>s.h,mZ:()=>r.m,v:()=>a.v,z:()=>p.z});var r=o(9743),i=o(2654),n=o(8943),s=o(6649),a=o(3721),l=o(6484),c=o(9171),p=o(2793),u=o(1637)},2654:(e,t,o)=>{o.d(t,{a:()=>fe});var r,i,n,s,a,l,c,p,u,h,b,d,y,f,m,g,v,w,k,Z,C,R,P,S,O,E,_,z,x,D,T,A,M,I,j,B,V,U,N,G,F,W,L,H,q,Q,Y,J,$,X,K,ee,te,oe=o(6921),re=o(9888),ie=o(7821),ne=o(8700),se=o(5391),ae=o(1211),le=o(4791),ce=o(1734),pe=o(4474),ue=o(9190),he=o(1515),be=o(648),de=o(7669),ye=o(6265);let fe=(r=class extends ne.BaseOptions{get isOnlyRcbCookieCreated(){return!(1!==this.allCookieCount||this.tcf&&this.allTcfVendorConfigurationCount)}get areSettingsFetched(){return void 0!==this.respectDoNotTrack}constructor(e){super(),(0,oe.Z)(this,"busySettings",i,this),(0,oe.Z)(this,"busyCountryBypassUpdate",n,this),(0,oe.Z)(this,"busyAddLinksToNavigationMenu",s,this),(0,oe.Z)(this,"needsRevisionRetrigger",a,this),(0,oe.Z)(this,"publicCookieCount",l,this),(0,oe.Z)(this,"allCookieCount",c,this),(0,oe.Z)(this,"allBlockerCount",p,this),(0,oe.Z)(this,"allTcfVendorConfigurationCount",u,this),(0,oe.Z)(this,"allScannerResultPresetsCount",h,this),(0,oe.Z)(this,"allScannerResultExternalUrlsCount",b,this),(0,oe.Z)(this,"cookieCounts",d,this),(0,oe.Z)(this,"nav_menus",y,this),(0,oe.Z)(this,"tcfVendorConfigurationCounts",f,this),(0,oe.Z)(this,"hasManager",m,this),(0,oe.Z)(this,"contexts",g,this),(0,oe.Z)(this,"dashboardMigration",v,this),(0,oe.Z)(this,"fomoCoupon",w,this),(0,oe.Z)(this,"bannerActive",k,this),(0,oe.Z)(this,"blockerActive",Z,this),(0,oe.Z)(this,"imprintId",C,this),(0,oe.Z)(this,"imprintExternalUrl",R,this),(0,oe.Z)(this,"imprintIsExternalUrl",P,this),(0,oe.Z)(this,"privacyPolicyId",S,this),(0,oe.Z)(this,"privacyPolicyExternalUrl",O,this),(0,oe.Z)(this,"privacyPolicyIsExternalUrl",E,this),(0,oe.Z)(this,"hidePageIds",_,this),(0,oe.Z)(this,"setCookiesViaManager",z,this),(0,oe.Z)(this,"acceptAllForBots",x,this),(0,oe.Z)(this,"respectDoNotTrack",D,this),(0,oe.Z)(this,"cookieDuration",T,this),(0,oe.Z)(this,"saveIp",A,this),(0,oe.Z)(this,"ePrivacyUSA",M,this),(0,oe.Z)(this,"ageNotice",I,this),(0,oe.Z)(this,"listServicesNotice",j,this),(0,oe.Z)(this,"consentForwarding",B,this),(0,oe.Z)(this,"forwardTo",V,this),(0,oe.Z)(this,"crossDomains",U,this),(0,oe.Z)(this,"affiliateLink",N,this),(0,oe.Z)(this,"affiliateLabelBehind",G,this),(0,oe.Z)(this,"affiliateLabelDescription",F,this),(0,oe.Z)(this,"countryBypass",W,this),(0,oe.Z)(this,"countryBypassCountries",L,this),(0,oe.Z)(this,"countryBypassType",H,this),(0,oe.Z)(this,"countryBypassDbDownloadTime",q,this),(0,oe.Z)(this,"tcf",Q,this),(0,oe.Z)(this,"tcfPublisherCc",Y,this),(0,oe.Z)(this,"tcfAcceptedTime",J,this),(0,oe.Z)(this,"tcfGvlDownloadTime",$,this),(0,oe.Z)(this,"tcfScopeOfConsent",X,this),(0,oe.Z)(this,"consentDuration",K,this),(0,oe.Z)(this,"consentsDeletedAt",ee,this),(0,oe.Z)(this,"others",te,this),this.pureSlug=void 0,this.pureSlugCamelCased=void 0,this.rootStore=void 0,this.fetchSettings=(0,ie.flow)((function*(e){this.busySettings=!0;try{const t=e||(yield(0,de.W)({location:se.g}));this.bannerActive=t["rcb-banner-active"],this.blockerActive=t["rcb-blocker-active"],this.imprintId=t["rcb-banner-legal-imprint"],this.imprintExternalUrl=t["rcb-banner-legal-imprint-external-url"],this.imprintIsExternalUrl=t["rcb-banner-legal-imprint-is-external-url"],this.privacyPolicyId=t["rcb-banner-legal-privacy-policy"],this.privacyPolicyExternalUrl=t["rcb-banner-legal-privacy-policy-external-url"],this.privacyPolicyIsExternalUrl=t["rcb-banner-legal-privacy-policy-is-external-url"],this.hidePageIds=(t["rcb-hide-page-ids"]||"").split(",").map(Number).filter(Boolean),this.setCookiesViaManager=t["rcb-set-cookies-via-manager"]||"none",this.acceptAllForBots=t["rcb-accept-all-for-bots"],this.respectDoNotTrack=t["rcb-respect-do-not-track"],this.cookieDuration=t["rcb-cookie-duration"],this.saveIp=t["rcb-save-ip"],this.ePrivacyUSA=t["rcb-eprivacy-usa"],this.ageNotice=t["rcb-age-notice"],this.listServicesNotice=t["rcb-list-services-notice"],this.consentForwarding=t["rcb-consent-forwarding"]||!1,this.forwardTo=(t["rcb-forward-to"]||"").split("|").filter(Boolean),this.crossDomains=t["rcb-cross-domains"]||"",this.countryBypass=t["rcb-country-bypass"],this.countryBypassCountries=(t["rcb-country-bypass-countries"]||"").split(",").filter(Boolean),this.countryBypassType=t["rcb-country-bypass-type"],this.countryBypassDbDownloadTime=t["rcb-country-bypass-db-download-time"],this.tcf=t["rcb-tcf"],this.tcfPublisherCc=t["rcb-tcf-publisher-cc"],this.tcfAcceptedTime=t["rcb-tcf-accepted-time"],this.tcfGvlDownloadTime=t["rcb-tcf-gvl-download-time"],this.tcfScopeOfConsent=t["rcb-tcf-scope-of-consent"],this.consentDuration=t["rcb-consent-duration"],yield this.fetchCurrentRevision()}catch(e){throw console.log(e),e}finally{this.busySettings=!1}})),this.updateSettings=(0,ie.flow)((function*({bannerActive:e,blockerActive:t,imprintId:o,privacyPolicyId:r,hidePageIds:i,setCookiesViaManager:n,acceptAllForBots:s,respectDoNotTrack:a,cookieDuration:l,saveIp:c,ePrivacyUSA:p,ageNotice:u,listServicesNotice:h,consentForwarding:b,forwardTo:d,crossDomains:y,affiliateLink:f,affiliateLabelBehind:m,affiliateLabelDescription:g,countryBypass:v,countryBypassCountries:w,countryBypassType:k,tcf:Z,tcfPublisherCc:C,tcfScopeOfConsent:R,consentDuration:P}){this.busySettings=!0;try{const f=yield(0,de.W)({location:ae.J,request:{...void 0===e?{}:{"rcb-banner-active":e},...void 0===t?{}:{"rcb-blocker-active":t},...void 0===o?{}:{"rcb-banner-legal-imprint":o},...void 0===r?{}:{"rcb-banner-legal-privacy-policy":r},...void 0===i?{}:{"rcb-hide-page-ids":i.join(",")},...void 0===n?{}:{"rcb-set-cookies-via-manager":n},...void 0===s?{}:{"rcb-accept-all-for-bots":s},...void 0===a?{}:{"rcb-respect-do-not-track":a},...void 0===l?{}:{"rcb-cookie-duration":l},...void 0===c?{}:{"rcb-save-ip":c},...void 0===p?{}:{"rcb-eprivacy-usa":p},...void 0===u?{}:{"rcb-age-notice":u},...void 0===h?{}:{"rcb-list-services-notice":h},...void 0===b?{}:{"rcb-consent-forwarding":b},...void 0===d?{}:{"rcb-forward-to":d.join("|")},...void 0===y?{}:{"rcb-cross-domains":y},...void 0===v?{}:{"rcb-country-bypass":v},...void 0===w?{}:{"rcb-country-bypass-countries":w.join(",")},...void 0===k?{}:{"rcb-country-bypass-type":k},...void 0===Z?{}:{"rcb-tcf":Z},...void 0===C?{}:{"rcb-tcf-publisher-cc":C},...void 0===R?{}:{"rcb-tcf-scope-of-consent":R},...void 0===P?{}:{"rcb-consent-duration":P}}});this.fetchSettings(f),this.rootStore.checklistStore.probablyFetchByChangedItem(["save-settings","activate-banner","privacy-policy"])}catch(e){throw console.log(e),e}finally{this.busySettings=!1}})),this.fetchCurrentRevision=(0,ie.flow)((function*(){this.busySettings=!0;try{this.setFromCurrentRevision(yield(0,de.W)({location:le.G}))}catch(e){throw console.log(e),e}finally{this.busySettings=!1}})),this.updateCurrentRevision=(0,ie.flow)((function*(e){this.busySettings=!0;try{this.setFromCurrentRevision(yield(0,de.W)({location:ce.a,request:e}))}catch(e){throw console.log(e),e}finally{this.busySettings=!1}})),this.setModalHintSeen=(0,ie.flow)((function*(e){this.busySettings=!0;try{this.others.modalHints.push(e),yield(0,de.W)({location:ye.C,request:{identifier:e}})}catch(e){throw console.log(e),e}finally{this.busySettings=!1}})),this.dismissConfigProNotice=(0,ie.flow)((function*(){try{this.others.isConfigProNoticeVisible=!1,yield(0,de.W)({location:pe.n})}catch(e){throw console.log(e),e}})),this.dismissMigration=(0,ie.flow)((function*(){try{const{id:e}=this.dashboardMigration;this.dashboardMigration=void 0,yield(0,de.W)({location:ue.o,params:{migration:e}})}catch(e){throw console.log(e),e}})),this.addLinksToNavigationMenu=(0,ie.flow)((function*(e){this.busyAddLinksToNavigationMenu=!0;try{const{success:t}=yield(0,de.W)({location:he.i,request:{id:e}});return t&&(this.rootStore.checklistStore.fetchChecklist(),yield this.fetchCurrentRevision()),t}catch(e){throw console.log(e),e}finally{this.busyAddLinksToNavigationMenu=!1}})),this.updateCountryBypassDatabase=(0,ie.flow)((function*(){this.busyCountryBypassUpdate=!0;try{const{dbDownloadTime:e}=yield(0,de.W)({location:be._});this.countryBypassDbDownloadTime=e}catch(e){throw console.log(e),e}finally{this.busyCountryBypassUpdate=!1}})),this.rootStore=e,this.pureSlug=ne.BaseOptions.getPureSlug("real-cookie-banner"),this.pureSlugCamelCased=ne.BaseOptions.getPureSlug("real-cookie-banner",!0),(0,ie.runInAction)((()=>Object.assign(this,window[this.pureSlugCamelCased])))}setFromCurrentRevision({contexts:e,has_manager:t,needs_retrigger:o,public_cookie_count:r,all_cookie_count:i,all_blocker_count:n,all_tcf_vendor_configuration_count:s,all_scanner_result_presets_count:a,all_scanner_result_external_urls_count:l,cookie_counts:c,consents_deleted_at:p,nav_menus:u,tcf_vendor_configuration_counts:h,dashboard_migration:b,fomo_coupon:d}){this.hasManager=t,this.needsRevisionRetrigger=o,this.publicCookieCount=r,this.allCookieCount=i,this.allBlockerCount=n,this.allTcfVendorConfigurationCount=s,this.allScannerResultPresetsCount=a,this.allScannerResultExternalUrlsCount=l,this.cookieCounts=c,this.consentsDeletedAt=p,this.nav_menus=u,this.tcfVendorConfigurationCounts=h,this.contexts=e,this.dashboardMigration=b,this.fomoCoupon=d}setShowLicenseFormImmediate(e,t){this.others.showLicenseFormImmediate=e,this.others.isLicensed=t}},i=(0,re.Z)(r.prototype,"busySettings",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n=(0,re.Z)(r.prototype,"busyCountryBypassUpdate",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),s=(0,re.Z)(r.prototype,"busyAddLinksToNavigationMenu",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,re.Z)(r.prototype,"needsRevisionRetrigger",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),l=(0,re.Z)(r.prototype,"publicCookieCount",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),c=(0,re.Z)(r.prototype,"allCookieCount",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),p=(0,re.Z)(r.prototype,"allBlockerCount",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),u=(0,re.Z)(r.prototype,"allTcfVendorConfigurationCount",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),h=(0,re.Z)(r.prototype,"allScannerResultPresetsCount",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),b=(0,re.Z)(r.prototype,"allScannerResultExternalUrlsCount",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),d=(0,re.Z)(r.prototype,"cookieCounts",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{draft:0,private:0,publish:0}}}),y=(0,re.Z)(r.prototype,"nav_menus",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),f=(0,re.Z)(r.prototype,"tcfVendorConfigurationCounts",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,re.Z)(r.prototype,"hasManager",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),g=(0,re.Z)(r.prototype,"contexts",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{"":""}}}),v=(0,re.Z)(r.prototype,"dashboardMigration",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,re.Z)(r.prototype,"fomoCoupon",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,re.Z)(r.prototype,"bannerActive",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Z=(0,re.Z)(r.prototype,"blockerActive",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),C=(0,re.Z)(r.prototype,"imprintId",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=(0,re.Z)(r.prototype,"imprintExternalUrl",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,re.Z)(r.prototype,"imprintIsExternalUrl",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,re.Z)(r.prototype,"privacyPolicyId",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,re.Z)(r.prototype,"privacyPolicyExternalUrl",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,re.Z)(r.prototype,"privacyPolicyIsExternalUrl",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,re.Z)(r.prototype,"hidePageIds",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=(0,re.Z)(r.prototype,"setCookiesViaManager",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=(0,re.Z)(r.prototype,"acceptAllForBots",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=(0,re.Z)(r.prototype,"respectDoNotTrack",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,re.Z)(r.prototype,"cookieDuration",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,re.Z)(r.prototype,"saveIp",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,re.Z)(r.prototype,"ePrivacyUSA",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,re.Z)(r.prototype,"ageNotice",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=(0,re.Z)(r.prototype,"listServicesNotice",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=(0,re.Z)(r.prototype,"consentForwarding",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),V=(0,re.Z)(r.prototype,"forwardTo",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),U=(0,re.Z)(r.prototype,"crossDomains",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=(0,re.Z)(r.prototype,"affiliateLink",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),G=(0,re.Z)(r.prototype,"affiliateLabelBehind",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=(0,re.Z)(r.prototype,"affiliateLabelDescription",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),W=(0,re.Z)(r.prototype,"countryBypass",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=(0,re.Z)(r.prototype,"countryBypassCountries",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),H=(0,re.Z)(r.prototype,"countryBypassType",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),q=(0,re.Z)(r.prototype,"countryBypassDbDownloadTime",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Q=(0,re.Z)(r.prototype,"tcf",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Y=(0,re.Z)(r.prototype,"tcfPublisherCc",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=(0,re.Z)(r.prototype,"tcfAcceptedTime",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$=(0,re.Z)(r.prototype,"tcfGvlDownloadTime",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=(0,re.Z)(r.prototype,"tcfScopeOfConsent",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),K=(0,re.Z)(r.prototype,"consentDuration",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ee=(0,re.Z)(r.prototype,"consentsDeletedAt",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),te=(0,re.Z)(r.prototype,"others",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,re.Z)(r.prototype,"isOnlyRcbCookieCreated",[ie.computed],Object.getOwnPropertyDescriptor(r.prototype,"isOnlyRcbCookieCreated"),r.prototype),(0,re.Z)(r.prototype,"areSettingsFetched",[ie.computed],Object.getOwnPropertyDescriptor(r.prototype,"areSettingsFetched"),r.prototype),(0,re.Z)(r.prototype,"setFromCurrentRevision",[ie.action],Object.getOwnPropertyDescriptor(r.prototype,"setFromCurrentRevision"),r.prototype),(0,re.Z)(r.prototype,"setShowLicenseFormImmediate",[ie.action],Object.getOwnPropertyDescriptor(r.prototype,"setShowLicenseFormImmediate"),r.prototype),r)},1637:(e,t,o)=>{o.d(t,{C:()=>P});var r,i,n,s,a,l,c,p,u,h,b=o(6921),d=o(9888),y=o(7821),f=o(1339),m=o(3792),g=o(8318),v=o(7669),w=o(2115),k=o(9601),Z=o(5593),C=o(6372),R=o(7244);let P=(r=class{get sortedExternalUrls(){const e=Array.from(this.resultExternalUrls.values());return e.sort(((e,t)=>e.inactive===t.inactive?0:e.inactive?1:-1)),e}get presetsCount(){return this.fetchedAllResultPresets?this.resultPresets.size:this.rootStore.optionStore.allScannerResultPresetsCount}get externalUrlsCount(){return this.fetchedAllResultExternalUrls?this.resultExternalUrls.size:this.rootStore.optionStore.allScannerResultExternalUrlsCount}get canShowResults(){var e;return this.presetsCount+this.externalUrlsCount>0&&(null===(e=this.rootStore.checklistStore.checklist)||void 0===e?void 0:e.items.scanner.checked)}get foundScanResultsCount(){return this.resultPresets.size+this.resultExternalUrls.size}get needsAttentionCount(){return[...this.resultPresets.values(),...this.resultExternalUrls.values()].filter((({inactive:e})=>!e)).length}constructor(e){(0,b.Z)(this,"resultPresets",i,this),(0,b.Z)(this,"busyResultPresets",n,this),(0,b.Z)(this,"fetchedAllResultPresets",s,this),(0,b.Z)(this,"resultExternalUrls",a,this),(0,b.Z)(this,"resultAllExternalUrls",l,this),(0,b.Z)(this,"busyExternalUrls",c,this),(0,b.Z)(this,"fetchedAllResultExternalUrls",p,this),(0,b.Z)(this,"busyMarkup",u,this),(0,b.Z)(this,"resultMarkup",h,this),this.rootStore=void 0,this.addUrlsToQueue=(0,y.flow)((function*(e){return yield(0,v.W)({location:w.k,request:e})})),this.fetchResultPresets=(0,y.flow)((function*(){this.busyResultPresets=!0;try{this.resultPresetsFromResponse(yield(0,v.W)({location:k.e})),this.fetchedAllResultPresets=!0}catch(e){throw console.log(e),e}finally{this.busyResultPresets=!1}})),this.fetchResultExternals=(0,y.flow)((function*(){this.busyExternalUrls=!0;try{this.resultExternalUrlsFromResponse(yield(0,v.W)({location:Z.M})),this.fetchedAllResultExternalUrls=!0}catch(e){throw console.log(e),e}finally{this.busyExternalUrls=!1}})),this.fetchResultAllExternals=(0,y.flow)((function*(e){const t=e instanceof f.o?"host":"preset",{identifier:o}=e;e.busy=!0;try{const{items:r}=yield(0,v.W)({location:C.M,params:{type:t,identifier:"host"===t?o.replace(/\./g,"_"):o}});let i=this.resultAllExternalUrls.get(o);if(i){const e=r.map((({id:e})=>e));for(const t of i.keys())-1===e.indexOf(t)&&i.delete(t)}else i=new Map;for(const e of Object.values(r))i.set(e.id,new m.a(e,this)),this.resultAllExternalUrls.set(o,i)}catch(e){throw console.log(e),e}finally{e.busy=!1}})),this.fetchMarkup=(0,y.flow)((function*(e){this.busyMarkup=!0;try{const t=yield(0,v.W)({location:R.$,params:{id:e}});this.resultMarkup.set(e,t)}catch(e){throw console.log(e),e}finally{this.busyMarkup=!1}})),this.rootStore=e}resultPresetsFromResponse({items:e}){const t=Object.keys(e);for(const e of this.resultPresets.keys())-1===t.indexOf(e)&&this.resultPresets.delete(e);for(const o of t)this.resultPresets.set(o,new g.g(e[o],this))}resultExternalUrlsFromResponse({items:e}){const t=Object.keys(e);for(const e of this.resultExternalUrls.keys())-1===t.indexOf(e)&&this.resultExternalUrls.delete(e);for(const o of t)this.resultExternalUrls.set(o,new f.o(e[o],this))}},i=(0,d.Z)(r.prototype,"resultPresets",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),n=(0,d.Z)(r.prototype,"busyResultPresets",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),s=(0,d.Z)(r.prototype,"fetchedAllResultPresets",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,d.Z)(r.prototype,"resultExternalUrls",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),l=(0,d.Z)(r.prototype,"resultAllExternalUrls",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),c=(0,d.Z)(r.prototype,"busyExternalUrls",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),p=(0,d.Z)(r.prototype,"fetchedAllResultExternalUrls",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),u=(0,d.Z)(r.prototype,"busyMarkup",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),h=(0,d.Z)(r.prototype,"resultMarkup",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),(0,d.Z)(r.prototype,"sortedExternalUrls",[y.computed],Object.getOwnPropertyDescriptor(r.prototype,"sortedExternalUrls"),r.prototype),(0,d.Z)(r.prototype,"presetsCount",[y.computed],Object.getOwnPropertyDescriptor(r.prototype,"presetsCount"),r.prototype),(0,d.Z)(r.prototype,"externalUrlsCount",[y.computed],Object.getOwnPropertyDescriptor(r.prototype,"externalUrlsCount"),r.prototype),(0,d.Z)(r.prototype,"canShowResults",[y.computed],Object.getOwnPropertyDescriptor(r.prototype,"canShowResults"),r.prototype),(0,d.Z)(r.prototype,"foundScanResultsCount",[y.computed],Object.getOwnPropertyDescriptor(r.prototype,"foundScanResultsCount"),r.prototype),(0,d.Z)(r.prototype,"needsAttentionCount",[y.computed],Object.getOwnPropertyDescriptor(r.prototype,"needsAttentionCount"),r.prototype),(0,d.Z)(r.prototype,"resultPresetsFromResponse",[y.action],Object.getOwnPropertyDescriptor(r.prototype,"resultPresetsFromResponse"),r.prototype),(0,d.Z)(r.prototype,"resultExternalUrlsFromResponse",[y.action],Object.getOwnPropertyDescriptor(r.prototype,"resultExternalUrlsFromResponse"),r.prototype),r)},6484:(e,t,o)=>{o.d(t,{e:()=>u});var r,i,n=o(6921),s=o(9888),a=o(7821),l=o(8700),c=o(8488),p=o.n(c);let u=(r=class extends l.BaseOptions{constructor(e){super(),(0,n.Z)(this,"busyStats",i,this),this.rootStore=void 0,this.stats=a.observable.object({main:void 0,buttonsClicked:void 0,customBypass:void 0},{},{deep:!1}),this.filters=a.observable.object({dates:void 0,context:void 0},{},{deep:!1}),this.fetchMain=(0,a.flow)((function*(){throw new Error("This feature is not available in the free version.")})),this.fetchButtonsClicked=(0,a.flow)((function*(){throw new Error("This feature is not available in the free version.")})),this.fetchCustomBypass=(0,a.flow)((function*(){throw new Error("This feature is not available in the free version.")})),this.rootStore=e,(0,a.runInAction)((()=>{this.filters.dates=[p()().subtract(30,"days"),p()()],this.filters.context=this.rootStore.optionStore.others.context}))}applyDates(e){this.filters.dates=e}applyContext(e){this.filters.context=e}},i=(0,s.Z)(r.prototype,"busyStats",[a.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{main:!1,buttonClicked:!1,customBypass:!1}}}),(0,s.Z)(r.prototype,"applyDates",[a.action],Object.getOwnPropertyDescriptor(r.prototype,"applyDates"),r.prototype),(0,s.Z)(r.prototype,"applyContext",[a.action],Object.getOwnPropertyDescriptor(r.prototype,"applyContext"),r.prototype),r)},9743:(e,t,o)=>{o.d(t,{M:()=>b,m:()=>d});var r=o(7821),i=o(8700),n=o(2654),s=o(8943),a=o(6649),l=o(3721),c=o(6484),p=o(9171),u=o(2793),h=o(1637);(0,r.configure)({enforceActions:"always"});class b{get context(){return this.contextMemo?this.contextMemo:this.contextMemo=(0,i.createContextFactory)(this)}constructor(){this.optionStore=void 0,this.customizeBannerStore=void 0,this.cookieStore=void 0,this.consentStore=void 0,this.statsStore=void 0,this.checklistStore=void 0,this.tcfStore=void 0,this.scannerStore=void 0,this.contextMemo=void 0,this.optionStore=new n.a(this),this.customizeBannerStore=new s.W(this),this.cookieStore=new a.h(this),this.consentStore=new l.v(this),this.statsStore=new c.e(this),this.checklistStore=new p.L(this),this.tcfStore=new u.z(this),this.scannerStore=new h.C(this)}static get StoreProvider(){return b.get.context.StoreProvider}static get get(){return b.me?b.me:b.me=new b}}b.me=void 0;const d=()=>b.get.context.useStores()},2793:(e,t,o)=>{o.d(t,{z:()=>_});var r,i,n,s,a,l,c,p,u,h,b,d,y,f,m=o(6921),g=o(9888),v=o(7821),w=o(8700),k=o(515),Z=o(4747),C=o(1039),R=o(7669),P=o(2515),S=o(8272),O=o(1112),E=o(303);let _=(r=class extends w.BaseOptions{get vendorConfigurationCount(){return this.fetchedAllVendorConfigurations?this.vendorConfigurations.entries.size:this.rootStore.optionStore.allTcfVendorConfigurationCount}constructor(e){super(),(0,m.Z)(this,"busyGvl",i,this),(0,m.Z)(this,"busyVendors",n,this),(0,m.Z)(this,"busyDeclarations",s,this),(0,m.Z)(this,"vendorConfigurations",a,this),(0,m.Z)(this,"fetchedAllVendorConfigurations",l,this),(0,m.Z)(this,"vendorListVersion",c,this),(0,m.Z)(this,"gvlSpecificationVersion",p,this),(0,m.Z)(this,"tcfPolicyVersion",u,this),(0,m.Z)(this,"vendors",h,this),(0,m.Z)(this,"purposes",b,this),(0,m.Z)(this,"specialPurposes",d,this),(0,m.Z)(this,"features",y,this),(0,m.Z)(this,"specialFeatures",f,this),this.rootStore=void 0,this.fetchVendorConfigurations=(0,v.flow)((function*(){const e=Math.ceil(this.vendorConfigurationCount/100);for(let t=0;t<e;t++)yield this.vendorConfigurations.get({request:{status:["draft","publish","private"]},params:{offset:100*t,per_page:100,context:"edit"}});this.fetchedAllVendorConfigurations=!0})),this.fetchVendors=(0,v.flow)((function*(){this.busyVendors=!0;try{const{vendorListVersion:e,vendors:t}=yield(0,R.W)({location:Z.f});for(const e of Object.keys(t))this.vendors.set(e,new P.C(t[e],this));this.vendorListVersion=e}catch(e){throw console.log(e),e}finally{this.busyVendors=!1}})),this.fetchDeclarations=(0,v.flow)((function*(){this.busyDeclarations=!0;try{const{gvlSpecificationVersion:e,tcfPolicyVersion:t,purposes:o,specialPurposes:r,features:i,specialFeatures:n}=yield(0,R.W)({location:k.Y});for(const e of Object.keys(o))this.purposes.set(e,new S.v(o[e],!1,this));for(const e of Object.keys(r))this.specialPurposes.set(e,new S.v(r[e],!0,this));for(const e of Object.keys(i))this.features.set(e,new O.i(i[e],!1,this));for(const e of Object.keys(n))this.specialFeatures.set(e,new O.i(n[e],!0,this));this.gvlSpecificationVersion=e,this.tcfPolicyVersion=t}catch(e){throw console.log(e),e}finally{this.busyDeclarations=!1}})),this.updateGvl=(0,v.flow)((function*(){this.busyGvl=!0;try{const{gvlDownloadTime:e}=yield(0,R.W)({location:C.y});this.rootStore.optionStore.tcfGvlDownloadTime=e}catch(e){throw console.log(e),e}finally{this.busyGvl=!1}})),this.rootStore=e,(0,v.runInAction)((()=>{this.vendorConfigurations=new E.C(this)}))}},i=(0,g.Z)(r.prototype,"busyGvl",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n=(0,g.Z)(r.prototype,"busyVendors",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),s=(0,g.Z)(r.prototype,"busyDeclarations",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,g.Z)(r.prototype,"vendorConfigurations",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,g.Z)(r.prototype,"fetchedAllVendorConfigurations",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),c=(0,g.Z)(r.prototype,"vendorListVersion",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=(0,g.Z)(r.prototype,"gvlSpecificationVersion",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,g.Z)(r.prototype,"tcfPolicyVersion",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,g.Z)(r.prototype,"vendors",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),b=(0,g.Z)(r.prototype,"purposes",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),d=(0,g.Z)(r.prototype,"specialPurposes",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),y=(0,g.Z)(r.prototype,"features",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),f=(0,g.Z)(r.prototype,"specialFeatures",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),(0,g.Z)(r.prototype,"vendorConfigurationCount",[v.computed],Object.getOwnPropertyDescriptor(r.prototype,"vendorConfigurationCount"),r.prototype),r)},2208:(e,t,o)=>{o.d(t,{b:()=>i,u:()=>r});const r="rcb-scan",i="rcb-automatic-scan-starter"},1589:(e,t,o)=>{function r(e){const t=document.createElement("textarea");t.innerText=e,document.body.appendChild(t),t.select(),document.execCommand("copy"),t.remove()}o.d(t,{v:()=>r})},1048:(e,t,o)=>{function r(){return window["real-cookie-banner".replace(/-([a-z])/g,(e=>e[1].toUpperCase()))]}o.d(t,{m:()=>r})},9712:(e,t,o)=>{o.d(t,{u:()=>i});var r=o(1048);function i(){return(0,r.m)().others}},5217:(e,t,o)=>{o.d(t,{__:()=>l,_i:()=>c,_n:()=>s,_x:()=>a});var r=o(8700);let i;function n(){return i||(i=(0,r.createLocalizationFactory)(r.BaseOptions.getPureSlug("real-cookie-banner")))}const s=(...e)=>n()._n(...e),a=(...e)=>n()._x(...e),l=(...e)=>n().__(...e),c=(...e)=>n()._i(...e)},7669:(e,t,o)=>{o.d(t,{W:()=>a,Y:()=>s});var r=o(8700);let i;function n(){return i||(i=(0,r.createRequestFactory)(window[r.BaseOptions.getPureSlug("real-cookie-banner",!0)]))}const s=(...e)=>n().urlBuilder(...e),a=(...e)=>n().request(...e)},1712:(e,t,o)=>{function r(e=0){document.body.scrollTop=e,document.documentElement.scrollTop=e}o.d(t,{X:()=>r})},8503:(e,t,o)=>{function r(e,t=50,o="..."){if(!e||e.length<=t)return e;const r=t-o.length,i=Math.ceil(r/2),n=Math.floor(r/2);return e.substr(0,i)+o+e.substr(e.length-n)}o.d(t,{r:()=>r})},2377:(e,t,o)=>{o.d(t,{g:()=>r});const r={path:"/checklist",method:o(8700).RouteHttpVerb.GET}},5654:(e,t,o)=>{o.d(t,{s:()=>r});const r={path:"/checklist/:id",method:o(8700).RouteHttpVerb.PUT}},3612:(e,t,o)=>{o.d(t,{O:()=>r});const r={path:"/consent/all",method:o(8700).RouteHttpVerb.DELETE}},8516:(e,t,o)=>{o.d(t,{c:()=>r});const r={path:"/consent/all",method:o(8700).RouteHttpVerb.GET}},8420:(e,t,o)=>{o.d(t,{q:()=>r});const r={path:"/consent/referer",method:o(8700).RouteHttpVerb.GET}},8067:(e,t,o)=>{o.d(t,{B:()=>r});const r={path:"/cookie-groups/order",method:o(8700).RouteHttpVerb.PUT}},3950:(e,t,o)=>{o.d(t,{p:()=>r});const r={path:"/cookies/unassigned",method:o(8700).RouteHttpVerb.GET}},8903:(e,t,o)=>{o.d(t,{I:()=>r});const r={path:"/cookies/order",method:o(8700).RouteHttpVerb.PUT}},648:(e,t,o)=>{o.d(t,{_:()=>r});const r={path:"/country-bypass/database",method:o(8700).RouteHttpVerb.PUT}},534:(e,t,o)=>{o.d(t,{V:()=>r});const r={path:"/export",method:o(8700).RouteHttpVerb.GET}},9338:(e,t,o)=>{o.d(t,{Q:()=>r});const r={path:"/export/consents",method:o(8700).RouteHttpVerb.GET}},4161:(e,t,o)=>{o.d(t,{V:()=>r});const r={path:"/forward/cookie/:slug",method:o(8700).RouteHttpVerb.GET}},1079:(e,t,o)=>{o.d(t,{A:()=>r});const r={path:"/forward/endpoints",method:o(8700).RouteHttpVerb.GET}},4018:(e,t,o)=>{o.d(t,{H:()=>r});const r={path:"/import",method:o(8700).RouteHttpVerb.POST}},6568:(e,t,o)=>{o.d(t,{gn:()=>R.g,s5:()=>P.s,Ok:()=>f.O,cI:()=>y.c,rz:()=>Z,aY:()=>B,vY:()=>E,JQ:()=>h,PM:()=>u,qD:()=>Q.q,BI:()=>l.B,pV:()=>S.p,It:()=>c.I,_3:()=>V._,QB:()=>C.Q,Vm:()=>w.V,Vc:()=>_.V,AW:()=>O.A,HR:()=>k.H,nQ:()=>z.n,oW:()=>N.o,nX:()=>U.n,iO:()=>Y.i,tX:()=>n.t,N9:()=>T.N,Wu:()=>s.W,tw:()=>A.t,zf:()=>a.z,GQ:()=>b.G,a4:()=>d.a,Z1:()=>x.Z,TB:()=>D.T,kv:()=>G.k,ME:()=>H.M,Ce:()=>L.C,MQ:()=>W.M,$5:()=>q.$,eO:()=>F.e,$Q:()=>v,gh:()=>g,BV:()=>m,Y3:()=>j.Y,yR:()=>M.y,fs:()=>I.f,g3:()=>r.g,J3:()=>i.J});var r=o(5391),i=o(1211),n=o(8172),s=o(8213),a=o(702),l=o(8067),c=o(8903),p=o(8700);const u={path:"/consent",method:p.RouteHttpVerb.POST},h={path:"/consent",method:p.RouteHttpVerb.GET};var b=o(4791),d=o(1734),y=o(8516),f=o(3612);const m={path:"/stats/main",method:p.RouteHttpVerb.GET},g={path:"/stats/customBypass",method:p.RouteHttpVerb.GET},v={path:"/stats/buttonsClicked",method:p.RouteHttpVerb.GET};var w=o(534),k=o(4018);const Z={path:"/consent/clear",method:p.RouteHttpVerb.DELETE};var C=o(9338),R=o(2377),P=o(5654),S=o(3950),O=o(1079);const E={path:"/consent/forward",method:p.RouteHttpVerb.POST};var _=o(4161),z=o(4474),x=o(9560),D=o(6521),T=o(6406),A=o(6364),M=o(1039),I=o(4747),j=o(515);const B={path:"/consent/dynamic-predecision",method:p.RouteHttpVerb.POST};var V=o(648),U=o(4358),N=o(9190),G=o(2115),F=o(9601),W=o(5593),L=o(3943),H=o(6372),q=o(7244),Q=o(8420),Y=o(1515)},4474:(e,t,o)=>{o.d(t,{n:()=>r});const r={path:"/dismiss-config-page-pro-notice",method:o(8700).RouteHttpVerb.DELETE}},9190:(e,t,o)=>{o.d(t,{o:()=>r});const r={path:"/migration/:migration",method:o(8700).RouteHttpVerb.DELETE}},4358:(e,t,o)=>{o.d(t,{n:()=>r});const r={path:"/migration/:migration/:action",method:o(8700).RouteHttpVerb.POST}},6265:(e,t,o)=>{o.d(t,{C:()=>r});const r={path:"/modal-hint",method:o(8700).RouteHttpVerb.PUT}},1515:(e,t,o)=>{o.d(t,{i:()=>r});const r={path:"/nav-menu/add-links",method:o(8700).RouteHttpVerb.POST}},8172:(e,t,o)=>{o.d(t,{t:()=>r});const r={path:"/presets/banner",method:o(8700).RouteHttpVerb.GET}},8213:(e,t,o)=>{o.d(t,{W:()=>r});const r={path:"/presets/blocker",method:o(8700).RouteHttpVerb.GET}},6406:(e,t,o)=>{o.d(t,{N:()=>r});const r={path:"/presets/blocker/:identifier",method:o(8700).RouteHttpVerb.GET}},702:(e,t,o)=>{o.d(t,{z:()=>r});const r={path:"/presets/cookies",method:o(8700).RouteHttpVerb.GET}},6364:(e,t,o)=>{o.d(t,{t:()=>r});const r={path:"/presets/cookies/:identifier",method:o(8700).RouteHttpVerb.GET}},9560:(e,t,o)=>{o.d(t,{Z:()=>r});const r={path:"/revision/:hash",method:o(8700).RouteHttpVerb.GET}},4791:(e,t,o)=>{o.d(t,{G:()=>r});const r={path:"/revision/current",method:o(8700).RouteHttpVerb.GET}},1734:(e,t,o)=>{o.d(t,{a:()=>r});const r={path:"/revision/current",method:o(8700).RouteHttpVerb.PUT}},6521:(e,t,o)=>{o.d(t,{T:()=>r});const r={path:"/revision/independent/:hash",method:o(8700).RouteHttpVerb.GET}},2115:(e,t,o)=>{o.d(t,{k:()=>r});const r={path:"/scanner/queue",method:o(8700).RouteHttpVerb.POST}},6372:(e,t,o)=>{o.d(t,{M:()=>r});const r={path:"/scanner/result/externals/:type/:identifier",method:o(8700).RouteHttpVerb.GET}},5593:(e,t,o)=>{o.d(t,{M:()=>r});const r={path:"/scanner/result/externals",method:o(8700).RouteHttpVerb.GET}},3943:(e,t,o)=>{o.d(t,{C:()=>r});const r={path:"/scanner/result/externals/:host",method:o(8700).RouteHttpVerb.PUT}},7244:(e,t,o)=>{o.d(t,{$:()=>r});const r={path:"/scanner/result/markup/:id",method:o(8700).RouteHttpVerb.GET}},9601:(e,t,o)=>{o.d(t,{e:()=>r});const r={path:"/scanner/result/presets",method:o(8700).RouteHttpVerb.GET}},515:(e,t,o)=>{o.d(t,{Y:()=>r});const r={path:"/tcf/declarations",method:o(8700).RouteHttpVerb.GET}},1039:(e,t,o)=>{o.d(t,{y:()=>r});const r={path:"/tcf/gvl",method:o(8700).RouteHttpVerb.PUT}},4747:(e,t,o)=>{o.d(t,{f:()=>r});const r={path:"/tcf/vendors",method:o(8700).RouteHttpVerb.GET}},5391:(e,t,o)=>{o.d(t,{g:()=>r});const r={path:"/settings",namespace:"wp/v2",method:o(8700).RouteHttpVerb.GET}},1211:(e,t,o)=>{o.d(t,{J:()=>r});const r={path:"/settings",namespace:"wp/v2",method:o(8700).RouteHttpVerb.PATCH}},8852:()=>{},9494:()=>{},7363:e=>{e.exports=React},1533:e=>{e.exports=ReactDOM},6711:e=>{e.exports=ReactRouterDOM},490:e=>{e.exports=devowlWp_customize},9445:e=>{e.exports=devowlWp_realProductManagerWpClient},6:e=>{e.exports=devowlWp_realQueue},8700:e=>{e.exports=devowlWp_utils},5311:e=>{e.exports=jQuery},7821:e=>{e.exports=mobx},8488:e=>{e.exports=moment},5998:e=>{e.exports=wp}},i={};function n(e){var t=i[e];if(void 0!==t)return t.exports;var o=i[e]={id:e,loaded:!1,exports:{}};return r[e](o,o.exports,n),o.loaded=!0,o.exports}n.m=r,e=[],n.O=(t,o,r,i)=>{if(!o){var s=1/0;for(p=0;p<e.length;p++){for(var[o,r,i]=e[p],a=!0,l=0;l<o.length;l++)(!1&i||s>=i)&&Object.keys(n.O).every((e=>n.O[e](o[l])))?o.splice(l--,1):(a=!1,i<s&&(s=i));if(a){e.splice(p--,1);var c=r();void 0!==c&&(t=c)}}return t}i=i||0;for(var p=e.length;p>0&&e[p-1][2]>i;p--)e[p]=e[p-1];e[p]=[o,r,i]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,o)=>(n.f[o](e,t),t)),[])),n.u=e=>(({3:"chunk-config-tab-scanner",184:"chunk-config-tab-tcf",322:"chunk-config-tab-licensing",357:"chunk-config-tab-import",379:"chunk-config-tab-dashboard",478:"chunk-config-tab-blocker",625:"chunk-config-tab-consent",718:"chunk-config-tab-cookies",768:"chunk-config-tab-settings"}[e]||e)+".lite.js?ver="+{3:"fda8a3d7baf68c23de17",81:"1597b7ea247ebc729b3f",85:"c1cace28db802702418a",184:"fe97b05fb51ed960cc94",185:"06765c274e74fab6e574",307:"73276fcc2cfb96b77e26",322:"5e85950ce97d48f995ac",357:"7df71e03e569097e1232",379:"54231007934f68c04f42",414:"80bd17f5390c8b52cd65",446:"8bd9b252600f8f721c0e",466:"b69d94a17213c9cde347",474:"acc17755b51f87dc3229",478:"76f4ec784e34db6f7508",544:"046af70c36e9f6a7dfd9",578:"36d419efcf879ad47d09",625:"076d92e5df126e3aa1fd",637:"ef6cb6d16781bb56366d",718:"7bc9539bfbf1059837b6",737:"f0776900ca027073c701",768:"9cbb4b6f33a116a0e1b5",793:"20235de6234cd515b3d0",853:"e18a682e86c2a3514386",902:"dff6cad5a218cf713e40",932:"cba370a1023bd0e9d17c"}[e]),n.miniCssF=e=>"admin.css",n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),t={},o="realCookieBanner_:",n.l=(e,r,i,s)=>{if(t[e])t[e].push(r);else{var a,l;if(void 0!==i)for(var c=document.getElementsByTagName("script"),p=0;p<c.length;p++){var u=c[p];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==o+i){a=u;break}}a||(l=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,n.nc&&a.setAttribute("nonce",n.nc),a.setAttribute("data-webpack",o+i),a.src=e),t[e]=[r];var h=(o,r)=>{a.onerror=a.onload=null,clearTimeout(b);var i=t[e];if(delete t[e],a.parentNode&&a.parentNode.removeChild(a),i&&i.forEach((e=>e(r))),o)return o(r)},b=setTimeout(h.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=h.bind(null,a.onerror),a.onload=h.bind(null,a.onload),l&&document.head.appendChild(a)}},n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var o=t.getElementsByTagName("script");o.length&&(e=o[o.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{var e={328:0};n.f.j=(t,o)=>{var r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)o.push(r[2]);else{var i=new Promise(((o,i)=>r=e[t]=[o,i]));o.push(r[2]=i);var s=n.p+n.u(t),a=new Error;n.l(s,(o=>{if(n.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var i=o&&("load"===o.type?"missing":o.type),s=o&&o.target&&o.target.src;a.message="Loading chunk "+t+" failed.\n("+i+": "+s+")",a.name="ChunkLoadError",a.type=i,a.request=s,r[1](a)}}),"chunk-"+t,t)}},n.O.j=t=>0===e[t];var t=(t,o)=>{var r,i,[s,a,l]=o,c=0;if(s.some((t=>0!==e[t]))){for(r in a)n.o(a,r)&&(n.m[r]=a[r]);if(l)var p=l(n)}for(t&&t(o);c<s.length;c++)i=s[c],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return n.O(p)},o=self.webpackChunkrealCookieBanner_=self.webpackChunkrealCookieBanner_||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var s=n.O(void 0,[194],(()=>n(6974)));s=n.O(s),realCookieBanner_admin=s})();
2
  //# sourceMappingURL=admin.lite.js.map
1
+ var realCookieBanner_admin;(()=>{"use strict";var e,t,o,r={7747:(e,t,o)=>{var r,i;o.d(t,{r:()=>r}),function(e){e.Cookie="cookie",e.Web="web",e.App="app"}(r||(r={})),function(e){e.Bulgarian="bg",e.Catalan="ca",e.Czech="cs",e.Danish="da",e.German="de",e.Greek="el",e.Spanish="es",e.Estonian="et",e.Basque="eus",e.Finnish="fi",e.French="fr",e.Galician="gl",e.Croatian="hr",e.Hungarian="hu",e.Italian="it",e.Japanese="ja",e.Lithuanian="lt",e.Latvian="lv",e.Maltese="mt",e.Dutch="nl",e.Norwegian="no",e.Polish="pl",e.Portuguese="pt",e.Romanian="ro",e.SerbianCyrillic="sr-Cyrl",e.SerbianLatin="sr-Latn",e.Russian="ru",e.Slovak="sk",e.Slovenian="sl",e.Swedish="sv",e.Turkish="tr",e.Chinese="zh"}(i||(i={}))},8924:(e,t,o)=>{o.d(t,{I4:()=>i,Lg:()=>n,TK:()=>r});const r="Google Tag Manager",i="Matomo Tag Manager";function n(e,t){let o,n,s,a=!1,l="";if(e&&"none"!==e){const c="googleTagManager"===e,p="matomoTagManager"===e;c?(s="gtm",o="dataLayer",l=r):p&&(s="mtm",o="_mtm",l=i),(c||p)&&(n=()=>(window[o]=window[o]||[],window[o])),s&&t===s&&(a=!0)}return{getDataLayer:n,serviceIsManager:a,managerLabel:l,expectedManagerPresetId:s}}},987:(e,t,o)=>{o.d(t,{Q:()=>n,x:()=>i});var r=o(7363);class i{static Context(){return this.context=this.context||(0,r.createContext)({})}}function n(){return(0,r.useContext)(i.Context())}i.context=void 0},8057:(e,t,o)=>{o.d(t,{E:()=>n});var r=o(7363);const i=/(\r\n|\r|\n|<br[ ]?\/>)/g,n=e=>e.split(i).map(((e,t)=>e.match(i)?(0,r.createElement)("br",{key:t}):e))},6974:(e,t,o)=>{o.r(t),o.d(t,{ChecklistStore:()=>f.L_,ConsentStore:()=>f.v,CookieStore:()=>f.hc,CustomizeBannerStore:()=>f.WS,OptionStore:()=>f.aZ,RootStore:()=>f.My,ScannerStore:()=>f.Cu,StatsStore:()=>f.et,TcfStore:()=>f.z,locationRestChecklistGet:()=>y.gn,locationRestChecklistPut:()=>y.s5,locationRestConsentAllDelete:()=>y.Ok,locationRestConsentAllGet:()=>y.cI,locationRestConsentClearDelete:()=>y.rz,locationRestConsentDynamicPredecisionGet:()=>y.aY,locationRestConsentForwardPost:()=>y.vY,locationRestConsentGet:()=>y.JQ,locationRestConsentPost:()=>y.PM,locationRestConsentRefererGet:()=>y.qD,locationRestCookieGroupOrderPut:()=>y.BI,locationRestCookieUnassignedGet:()=>y.pV,locationRestCookiesOrderPut:()=>y.It,locationRestCountryBypassDatabasePut:()=>y._3,locationRestExportConsentsGet:()=>y.QB,locationRestExportGet:()=>y.Vm,locationRestForwardCookieGet:()=>y.Vc,locationRestForwardEndpointsGet:()=>y.AW,locationRestImportPost:()=>y.HR,locationRestLiteDismissConfigPageProNotice:()=>y.nQ,locationRestMigrationDelete:()=>y.oW,locationRestMigrationPost:()=>y.nX,locationRestNavMenuAddLinksPost:()=>y.iO,locationRestPresetsBannerGet:()=>y.tX,locationRestPresetsBlockerAttributesGet:()=>y.N9,locationRestPresetsBlockerGet:()=>y.Wu,locationRestPresetsCookiesAttributesGet:()=>y.tw,locationRestPresetsCookiesGet:()=>y.zf,locationRestRevisionCurrentGet:()=>y.GQ,locationRestRevisionCurrentPut:()=>y.a4,locationRestRevisionGet:()=>y.Z1,locationRestRevisionIndependentGet:()=>y.TB,locationRestScannerQueuePost:()=>y.kv,locationRestScannerResultAllExternalUrlsByHostGet:()=>y.ME,locationRestScannerResultExternalPatch:()=>y.Ce,locationRestScannerResultExternalsGet:()=>y.MQ,locationRestScannerResultMarkupGet:()=>y.$5,locationRestScannerResultPresetsGet:()=>y.eO,locationRestStatsButtonsClickedGet:()=>y.$Q,locationRestStatsCustomBypassGet:()=>y.gh,locationRestStatsMainGet:()=>y.BV,locationRestTcfDeclarationsGet:()=>y.Y3,locationRestTcfGvlPut:()=>y.yR,locationRestTcfVendorsGet:()=>y.fs,locationRestWpSettings:()=>y.g3,locationRestWpSettingsPatch:()=>y.J3,useStores:()=>f.mZ});var r=o(1246),i=o(8653),n=(o(1913),o(1533)),s=o(9743),a=o(4990),l=(o(9494),o(8852),o(8488)),c=o.n(l),p=o(8700),u=o(7669),h=o(5217),b=o(987),d={};for(const e in p)"default"!==e&&(d[e]=()=>p[e]);o.d(t,d);var y=o(6568),f=o(8919);o.p=(0,p.getWebpackPublicPath)("real-cookie-banner"),null===p.handleCorrupRestApi||void 0===p.handleCorrupRestApi||(0,p.handleCorrupRestApi)({[s.M.get.optionStore.restNamespace]:async()=>{await(0,u.W)({location:{path:"/plugin"}})},"wp/v2":async()=>{await(0,u.W)({location:{path:"/settings",namespace:"wp/v2"}})}}),i.ZP.config({prefixCls:"rcb-antd"}),r.ZP.config({top:50});const m=document.getElementById("".concat(s.M.get.optionStore.slug,"-component"));if(m){const e=b.x.Context();(0,n.render)(React.createElement(e.Provider,{value:{__:h.__,_i:h._i}},React.createElement(i.ZP,{prefixCls:"rcb-antd",locale:{locale:c().locale()}},React.createElement(s.M.StoreProvider,null,React.createElement(a.K,null)))),m)}},4144:(e,t,o)=>{o.d(t,{b:()=>w});var r=o(8208),i=o(8612),n=o(7465),s=o(9511),a=o(7363),l=o(3867),c=o(5217),p=o(301),u=o(5230),h=o(7921),b=o(886),d=o(9743),y=o(2684),f=o(1816),m=o(2411);const g=(0,l.Pi)((({id:e,checked:t,title:o,description:r,link:i,linkText:n,linkTarget:a,needsPro:l,onLinkClick:g})=>{const{optionStore:{others:{isPro:v},fomoCoupon:w}}=(0,d.m)(),k=!v&&l;let Z=null,C=null,R=i;switch(e){case"scanner":{const{percent:e,remaining:t,currentJob:o}=(0,y.p)();t>0&&e>0&&(null==o?void 0:o.group_position)>0&&(Z=React.createElement(s.Z,null,(0,c.__)("Currently scanning (%d %%)",e)));break}case"get-pro":C=React.createElement(m.S,null),w&&(R+="&".concat(m.Q))}return React.createElement("div",{style:{margin:"5px 0"}},React.createElement(p.Z,{title:t&&r},React.createElement("span",null,k?React.createElement(u.Z,{style:{color:"#7ec8ec"}}):t?React.createElement(h.Z,{style:{color:"#52c41a"}}):React.createElement(b.Z,{style:{color:"#e2e2e2"}})," ",React.createElement("span",{style:{textDecoration:t?"line-through":void 0,fontWeight:"bold"}},o),!!R&&!!n&&React.createElement(React.Fragment,null,"  •  ",React.createElement("a",{href:R,target:a,rel:"noreferrer",onClick:g},n)))),k&&"get-pro"!==e&&React.createElement(React.Fragment,null," ",React.createElement(s.Z,{color:f.k},(0,c.__)("Needs PRO"))),!!Z&&React.createElement(React.Fragment,null," ",Z),!!r&&!t&&React.createElement("p",{className:"description",style:{paddingLeft:17}},r),!!C&&React.createElement("div",{style:{paddingLeft:17}},C))}));var v=o(2185);const w=(0,l.Pi)((({onLinkClick:e,...t})=>{const{checklistStore:o}=(0,d.m)(),{busyChecklist:l,items:p,completed:u,checkable:h,done:y,checklist:{overdue:f}}=o,[m,w]=(0,a.useState)("boolean"==typeof t.showHidden?t.showHidden:!y);return React.createElement(r.Z,{spinning:l},React.createElement(i.Z,{direction:"vertical",size:"large"},f&&React.createElement("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:0}},React.createElement("p",null,(0,c.__)("How time flies! You have installed Real Cookie Banner some time ago, but you still haven't finished the configuration yet."))),React.createElement("p",{className:"description"},(0,c.__)("We have collected all relevant steps for the legally compliant use of Real Cookie Banner after the first installation. Set up the cookie banner step by step to add a cookie banner to your website in compliance with the ePrivacy Directive and GDPR.")),React.createElement("div",null,y&&(m?React.createElement(s.Z,{icon:React.createElement(v.Z,null),color:"default",style:{cursor:"pointer"},onClick:()=>w(!1)},(0,c.__)("Hide completed steps")):React.createElement(s.Z,{icon:React.createElement(b.Z,null),color:"success",style:{cursor:"pointer"},onClick:()=>w(!0)},(0,c.__)("%d / %d steps completed",u.length>h.length?h.length:u.length,h.length))),p.map((({id:t,...r})=>!m&&r.checked?null:React.createElement(g,(0,n.Z)({key:t,id:t},r,{onLinkClick:r=>{["get-pro"].indexOf(t)>-1&&o.toggleChecklistItem(t,!0),null==e||e(r)}})))))))}))},4990:(e,t,o)=>{o.d(t,{K:()=>N,m:()=>D});var r=o(918),i=o(8208),n=o(7363),s=o(3867),a=o(6711),l=o(5217),c=o(9743),p=o(8936);const u=(0,s.Pi)((()=>{const{optionStore:e}=(0,c.m)(),{pathname:t}=(0,a.useLocation)();return e.needsRevisionRetrigger&&-1===t.indexOf("/edit/")&&-1===t.indexOf("/new")&&React.createElement("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:"10px 0 0 0"}},React.createElement("p",null,(0,l.__)("You have changed settings that affect the content or behavior of the cookie banner. You should ask all visitors for their consent again.")," ","•"," ",React.createElement("a",{style:{cursor:"pointer",textDecoration:"underline"},onClick:()=>e.updateCurrentRevision({needs_retrigger:!0})},(0,l.__)("Request new consent"))," ","•"," ",React.createElement(p.Z,{title:React.createElement(React.Fragment,null,React.createElement("strong",null,(0,l.__)("Are you sure you don't want to collect new consents?")),React.createElement("br",null),React.createElement("br",null),(0,l._i)((0,l.__)("Consent must be obtained in accordance with {{a}}Art. 7 GDPR{{/a}}. Your visitor must be informed about all circumstances of the consent. However, you have made changes to your cookie banner, which lead to the fact that previously visitors have consented differently or to something different than is now in the cookie banner. Therefore, previously collected consents may have become partially invalid."),{a:React.createElement("a",{href:(0,l.__)("https://gdpr-info.eu/art-7-gdpr/"),rel:"noreferrer",target:"_blank"})}),React.createElement("br",null),React.createElement("br",null),(0,l.__)("If you have created a new service like Google Analytics (without visual content blocker), previous visitors can never consent without collecting new consents and you cannot track them, for example.")),placement:"bottomRight",onConfirm:()=>e.updateCurrentRevision({needs_retrigger:!1}),okText:(0,l.__)("Dismiss notice"),cancelText:(0,l.__)("Cancel"),overlayStyle:{maxWidth:450}},React.createElement("a",{style:{cursor:"pointer",textDecoration:"underline"}},(0,l.__)("Dismiss notice")))))})),h=(0,s.Pi)((()=>{const{optionStore:{publicCookieCount:e,busySettings:t,bannerActive:o}}=(0,c.m)();return o&&!e&&!t&&React.createElement("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:"10px 0 0 0"}},React.createElement("p",null,(0,l.__)("The cookie banner is activated, but unfortunately you have not yet created or enabled services.")))}));var b=o(9712);const d=(0,s.Pi)((()=>{const{showNoticeAnonymousScriptNotWritable:e}=(0,b.u)();return!!e&&React.createElement("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:"10px 0 0 0"}},React.createElement("p",null,(0,l._i)((0,l.__)("Your {{code}}wp-content{{/code}} folder is not writable. Please check your permissions!"),{code:React.createElement("code",null)})))}));var y=o(8924);const f=(0,s.Pi)((()=>{const{optionStore:{setCookiesViaManager:e,hasManager:t}}=(0,c.m)(),{managerLabel:o,expectedManagerPresetId:r}=(0,y.Lg)(e),{pathname:i}=(0,a.useLocation)();return o&&!t&&/^\/cookies\/\d+$/.test(i)&&React.createElement("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:"10px 0 0 0"}},React.createElement("p",null,(0,l._i)((0,l.__)("You have not yet defined a %s service. To use {{strong}}%s{{/strong}} with Real Cookie Banner, you must create the appropriate service.",o,o),{strong:React.createElement("strong",null)})," ","• ",React.createElement("a",{href:"#".concat(i,"/new?force=").concat(r)},(0,l.__)("Create now"))))}));var m=o(1712);const g=()=>{const{listen:e}=(0,a.useHistory)();return(0,n.useEffect)((()=>{const t=e((()=>{(0,m.X)(0)}));return()=>{t()}}),[e]),null};var v=o(3751),w=o(886),k=o(6363);const Z=(0,s.Pi)((()=>{const{optionStore:e}=(0,c.m)(),{others:{proUrl:t,isPro:o,isConfigProNoticeVisible:r}}=e,i="".concat(t,"&feature=main-button"),s=(0,n.useCallback)((()=>{window.open(i,"_blank"),e.dismissConfigProNotice()}),[e]),a=(0,n.useCallback)((()=>{e.dismissConfigProNotice()}),[e]);return!o&&React.createElement(p.Z,{visible:!!r,title:(0,l.__)("Thank you for using the free version of Real Cookie Banner. You might also be interested in the PRO version, which offers you more features, 20+ design templates, 100+ service templates, 60+ content blocker templates and much more."),icon:React.createElement(k.Z,{style:{color:"#1890ff"}}),placement:"bottom",onConfirm:s,onCancel:a,cancelText:(0,l.__)("No, not interested..."),okText:(0,l.__)("I want to learn more!"),overlayStyle:{maxWidth:450}},React.createElement("a",{className:"page-title-action",rel:"noreferrer",onClick:s},(0,l.__)("Get PRO version")))}));var C=o(4144);const R=(0,s.Pi)((()=>{const[e,t]=(0,n.useState)(!1),{optionStore:o,checklistStore:r}=(0,c.m)(),{pathname:i}=(0,a.useLocation)(),{others:{customizeBannerUrl:s},publicUrl:p}=o,{completed:u,checkable:h,done:b}=r;(0,n.useEffect)((()=>{r.fetchChecklist()}),[]);const d=(0,n.useCallback)((e=>{window.location.href="".concat(s,"&return=").concat(encodeURIComponent(window.location.href)),e.preventDefault()}),[]),y=(0,n.useCallback)((()=>{t(!0),r.fetchChecklist()}),[t]),f=(0,n.useCallback)((()=>{t(!1)}),[t]);return React.createElement(React.Fragment,null,React.createElement("h1",{className:"wp-heading-inline"},(0,l.__)("Real Cookie Banner")),React.createElement("img",{className:"rcb-nav-logo",src:"".concat(p,"images/logos/real-cookie-banner.svg")}),React.createElement("a",{className:"page-title-action",href:"#",onClick:d},(0,l.__)("Customize banner")),React.createElement(Z,null),!b&&"/"!==i&&React.createElement(React.Fragment,null,React.createElement("a",{className:"page-title-action",style:{color:"#52c41a",background:"#f6ffed",borderColor:"#85af65"},onClick:y},React.createElement(w.Z,null)," ",(0,l.__)("%d / %d steps completed",u.length>h.length?h.length:u.length,h.length)),React.createElement(v.Z,{visible:e,title:(0,l.__)("Set up the cookie banner"),onCancel:f,okButtonProps:{style:{display:"none"}},cancelText:(0,l.__)("Close"),width:800},React.createElement(C.b,{showHidden:!0,onLinkClick:f}))),React.createElement("hr",{className:"wp-header-end"}))}));var P=o(697);const S=(0,s.Pi)((()=>{const{optionStore:{publicUrl:e}}=(0,c.m)();return React.createElement("div",{className:"rcb-config-footer"},(0,l._i)((0,l.__)("Real Cookie Banner is brought to you with {{icon/}} by"),{icon:React.createElement(P.Z,{style:{color:"#dca7a7"}})}),React.createElement("a",{href:(0,l.__)("https://devowl.io/"),target:"_blank",rel:"noreferrer"},React.createElement("img",{src:"".concat(e,"images/logos/devowl-with-text.svg")})))}));var O=o(8700),E=o(2684),_=o(6),z=o(2208);const x={display:"block",marginTop:10},D=(e,t)=>({default:()=>React.createElement(O.SuspenseChunkTranslation,{chunkFile:o.u("chunk-config-tab-".concat(e)),options:()=>(0,c.m)().optionStore,fallback:React.createElement(i.Z,{spinning:!0,style:x})},t)}),T=(0,n.lazy)((()=>Promise.all([o.e(446),o.e(185),o.e(307),o.e(81),o.e(793),o.e(414),o.e(544),o.e(85),o.e(932),o.e(637),o.e(379)]).then(o.bind(o,1429)).then((({DashboardCards:e})=>D("dashboard",React.createElement(e,null)))))),A=(0,n.lazy)((()=>Promise.all([o.e(446),o.e(185),o.e(307),o.e(768)]).then(o.bind(o,5053)).then((({SettingsForm:e})=>D("settings",React.createElement(e,null)))))),M=(0,n.lazy)((()=>Promise.all([o.e(446),o.e(185),o.e(81),o.e(793),o.e(466),o.e(474),o.e(737),o.e(578),o.e(3)]).then(o.bind(o,38)).then((({ScannerRouter:e})=>D("scanner",React.createElement(e,null)))))),I=(0,n.lazy)((()=>Promise.all([o.e(446),o.e(185),o.e(307),o.e(81),o.e(793),o.e(544),o.e(466),o.e(853),o.e(932),o.e(718)]).then(o.bind(o,7248)).then((({CookieGroupsTabRouter:e})=>D("cookies",React.createElement(e,null)))))),j=(0,n.lazy)((()=>Promise.all([o.e(446),o.e(185),o.e(307),o.e(81),o.e(793),o.e(414),o.e(466),o.e(474),o.e(625)]).then(o.bind(o,8687)).then((({ConsentTabRouter:e})=>D("consent",React.createElement(e,null)))))),B=(0,n.lazy)((()=>Promise.all([o.e(446),o.e(185),o.e(307),o.e(81),o.e(793),o.e(544),o.e(85),o.e(932),o.e(637),o.e(478)]).then(o.bind(o,9069)).then((({BlockerRouter:e})=>D("blocker",React.createElement(e,null)))))),V=(0,n.lazy)((()=>Promise.all([o.e(446),o.e(185),o.e(307),o.e(81),o.e(414),o.e(737),o.e(902),o.e(357)]).then(o.bind(o,8058)).then((({ImportExportCards:e})=>D("import",React.createElement(e,null)))))),U=(0,n.lazy)((()=>Promise.all([o.e(446),o.e(307),o.e(81),o.e(322)]).then(o.bind(o,3761)).then((({ConfigLicensing:e})=>D("licensing",React.createElement(e,null)))))),N=(0,s.Pi)((()=>{const{percent:e,remaining:t,currentJob:o}=(0,E.p)(),{optionStore:s,checklistStore:p}=(0,c.m)(),{others:{showLicenseFormImmediate:b,colorScheme:[,,y]}}=s;return(0,n.useLayoutEffect)((()=>{s.fetchSettings();const e=()=>{p.fetchChecklist()},t="".concat(_.JOB_DONE_EVENT_PREFIX).concat(z.b);return document.addEventListener(t,e),()=>{document.removeEventListener(t,e)}}),[]),(0,n.useEffect)((()=>{const e=document.getElementById("rcb-services-with-empty-privacy-policy-notice");!b&&e&&(e.style.display="block")}),[b]),b?React.createElement(n.Suspense,{fallback:React.createElement(i.Z,{spinning:!0,style:x})},React.createElement(U,null)):React.createElement(a.HashRouter,null,React.createElement(R,null),React.createElement("nav",{className:"nav-tab-wrapper wp-clearfix"},React.createElement(a.NavLink,{to:"/",className:"nav-tab",activeClassName:"nav-tab-active",exact:!0},(0,l.__)("Dashboard")),React.createElement(a.NavLink,{to:"/settings",className:"nav-tab",activeClassName:"nav-tab-active"},(0,l.__)("Settings")),React.createElement(a.NavLink,{to:"/scanner",className:"nav-tab",activeClassName:"nav-tab-active"},t>0&&e>0&&(null==o?void 0:o.group_position)>0?React.createElement(r.Z,{count:"".concat(e," %"),style:{top:-11,fontSize:10,height:16,lineHeight:"16px",background:y}},(0,l.__)("Scanner")):(0,l.__)("Scanner")),React.createElement(a.NavLink,{to:"/cookies",className:"nav-tab",activeClassName:"nav-tab-active"},(0,l.__)("Services (Cookies)")),React.createElement(a.NavLink,{to:"/blocker",className:"nav-tab",activeClassName:"nav-tab-active"},(0,l.__)("Content Blocker")),React.createElement(a.NavLink,{to:"/consent",className:"nav-tab",activeClassName:"nav-tab-active"},(0,l.__)("Consent")),React.createElement(a.NavLink,{to:"/import",className:"nav-tab",activeClassName:"nav-tab-active"},(0,l.__)("Import / Export")),"try.devowl.io"!==window.location.host&&React.createElement(a.NavLink,{to:"/licensing",className:"nav-tab",activeClassName:"nav-tab-active"},(0,l.__)("Licensing")),React.createElement("a",{href:(0,l.__)("https://devowl.io/support/"),className:"nav-tab",target:"_blank",rel:"noreferrer"},(0,l.__)("Support"))),React.createElement(u,null),React.createElement(h,null),React.createElement(d,null),React.createElement(f,null),React.createElement(g,null),React.createElement(n.Suspense,{fallback:React.createElement(i.Z,{spinning:!0,style:x})},React.createElement(a.Switch,null,React.createElement(a.Route,{path:"/",exact:!0},React.createElement(T,null)),React.createElement(a.Route,{path:"/settings/:tab?"},s.areSettingsFetched?React.createElement(A,null):null),React.createElement(a.Route,{path:"/scanner"},React.createElement(M,null)),React.createElement(a.Route,{path:"/cookies/:cookieGroup?"},React.createElement(I,null)),React.createElement(a.Route,{path:"/consent/:tab?"},React.createElement(j,null)),React.createElement(a.Route,{path:"/blocker"},React.createElement(B,null)),React.createElement(a.Route,{path:"/import"},React.createElement(V,null)),React.createElement(a.Route,{path:"/licensing"},React.createElement(U,null)))),React.createElement(S,null))}))},2411:(e,t,o)=>{o.d(t,{Q:()=>u,S:()=>h});var r=o(1063),i=o(9511),n=o(1246),s=o(3867),a=o(7363),l=o(9743),c=o(5217),p=o(1589);const u="promo=in-app",h=(0,s.Pi)((({style:e})=>{const{optionStore:{fomoCoupon:t}}=(0,l.m)(),o=null==t?void 0:t.coupon,s=null==t?void 0:t.valueInPercent,u=null==t?void 0:t.validUntil,h=(0,a.useCallback)((()=>{if(u){const e=new Date(u).getTime()-(new Date).getTime();if(e<=0)return;const t=e/1e3;return[Math.floor(t/3600),Math.floor(t/60)%60,Math.floor(t%60)].map((e=>e<10?"0".concat(e):e)).filter(((e,t)=>"00"!==e||t>0)).join(":")}}),[u]),[,b]=(0,a.useState)();(0,a.useEffect)((()=>{const e=setInterval((()=>{b((new Date).getTime())}),1e3);return()=>{clearInterval(e)}}),[]);const d=h();return d?React.createElement(r.Z,{style:e,message:(0,c._i)((0,c.__)("Use coupon {{tag}}%s{{/tag}} in the next {{strongHours}}%s hours{{/strongHours}} and save {{strongPercent}}%d %%{{/strongPercent}} in the first year!",o,d,s),{tag:React.createElement(i.Z,{color:"success",style:{marginRight:0,cursor:"pointer"},onClick:()=>{(0,p.v)(o),n.ZP.success((0,c.__)("Successfully copied coupon to clipboard!"))}}),strongHours:React.createElement("strong",{style:{color:"#d33131"}}),strongPercent:React.createElement("strong",null)})}):null}))},4251:(e,t,o)=>{o.d(t,{B:()=>u});var r=o(3751),i=o(7363),n=o(3541),s=o(9712),a=o(5217),l=o(2411),c=o(6178),p=o(8057);const u=({visible:e=!1,showHints:t=!0,showFomoCouponCounter:o=!0,title:u,testDrive:h=!1,assetName:b,description:d,feature:y,onClose:f,inContainer:m,inContainerElement:g})=>{const{proUrl:v,hints:w}=(0,s.u)(),[k,Z]=(0,i.useState)(),C=(0,i.useCallback)((()=>{window.open("".concat(v,"&feature=").concat(y,"&").concat(l.Q),"_blank").focus(),null==f||f()}),[f]);(0,i.useEffect)((()=>{m&&k&&(null==k?void 0:k.parentElement.parentElement.previousElementSibling).removeAttribute("tabIndex")}),[k]);const R=null==w?void 0:w.proDialog;return m&&!g?null:React.createElement(r.Z,{visible:!!m||e,title:React.createElement("span",null,React.createElement(n.Z,null)," ",u," ",(0,a.__)("Get PRO!")),onOk:C,onCancel:f,cancelText:(0,a.__)("No, not interested..."),okText:(0,a.__)("I want to learn more!"),className:"rcb-pro-modal",width:b?800:700,getContainer:m?g:void 0},!!b&&React.createElement("img",{style:{marginTop:10},src:"https://assets.devowl.io/in-app/wp-real-cookie-banner/".concat(b)}),React.createElement("div",{style:{maxWidth:600,margin:"auto"},ref:Z},React.createElement("p",null,(0,p.E)(d)),h&&React.createElement("p",null,(0,a._i)((0,a.__)("Check out this feature with a {{a}}free sandbox{{/a}} before buying!"),{a:React.createElement("a",{href:(0,a.__)("https://try.devowl.io/?product=RCB"),target:"_blank",rel:"noreferrer"})}))),!!R&&t&&React.createElement("div",{style:{maxWidth:600,margin:"auto",textAlign:"left"}},React.createElement(c.j,R)),o&&React.createElement(l.S,{style:{marginBottom:15}}))}},6178:(e,t,o)=>{o.d(t,{j:()=>s});var r=o(7743),i=o(2605),n=o(3404);const s=({title:e,description:t,link:o,linkText:s,logo:a})=>React.createElement(React.Fragment,null,React.createElement(n.Z,null,e),React.createElement(r.Z,{wrap:!1,style:{marginBottom:10}},React.createElement(i.Z,{flex:"auto"},!!t&&React.createElement("p",{style:{margin:0}},React.createElement("span",{dangerouslySetInnerHTML:{__html:t}})," ",!!o&&!!s&&React.createElement("a",{href:o,target:"_blank",rel:"noreferrer",className:"button-link"},s))),React.createElement(i.Z,{flex:"150px",style:{alignSelf:"center"}},!!a&&React.createElement("img",{src:a,style:{maxWidth:"calc(100% - 20px)",height:"auto",marginLeft:20}}))))},1816:(e,t,o)=>{o.d(t,{k:()=>p,t:()=>u});var r=o(7465),i=o(9511),n=o(2465),s=o(5217),a=o(9743),l=o(7363),c=o(4251);const p="#2db7f5";function u(e,t){const[o,u]=(0,l.useState)(!1),{optionStore:{others:{isPro:h}}}=(0,a.m)(),b="boolean"==typeof t?t:h,d=(0,l.useCallback)((e=>{u(!0),null==e||e.preventDefault()}),[u]),y=(0,l.useMemo)((()=>b?null:React.createElement(i.Z,{icon:React.createElement(n.Z,null),color:p,style:{cursor:"pointer"},onClick:d},e.tagText||(0,s.__)("Unlock feature"))),[d,e]),f=(0,l.useMemo)((()=>b?null:React.createElement(c.B,(0,r.Z)({visible:o,onClose:()=>u(!1)},e))),[o,u,e]);return{isPro:b,tag:y,modal:f,open:d}}},2684:(e,t,o)=>{o.d(t,{p:()=>a});var r=o(6),i=o(7363),n=o(9743),s=o(2208);function a(e,t=!1,o){const{scannerStore:a}=(0,n.m)();return(0,r.useProgress)({type:s.u,fetchStatusInterval:e,fetchAdditionalData:t,onAdditionalData:(0,i.useCallback)((({"rcb-scan-list":e})=>{const{presets:t,externalUrls:o}=e;a.resultPresetsFromResponse(t),a.resultExternalUrlsFromResponse(o)}),[a]),onCancel:o})}},6613:(e,t,o)=>{o.d(t,{p:()=>d});var r,i,n,s,a,l,c,p=o(6921),u=o(9888),h=o(7821),b=o(490);let d=(r=class e{constructor(e,t){(0,p.Z)(this,"id",i,this),(0,p.Z)(this,"name",n,this),(0,p.Z)(this,"needsPro",s,this),(0,p.Z)(this,"description",a,this),(0,p.Z)(this,"tags",l,this),(0,p.Z)(this,"settings",c,this),this.store=void 0,this.resetPreviewInUiSettings=void 0,(0,h.runInAction)((()=>(0,h.set)(this,e))),this.store=t}static getIframeStore(){try{return document.querySelector("#customize-preview > iframe").contentWindow.realCookieBanner_customize_banner.RootStore.get}catch(e){return}}applyInUi(){return!(!this.store.rootStore.optionStore.others.isPro&&this.needsPro||(this.previewInUi(),setTimeout((()=>{const e=(0,b.getSidebarCustomize)();this.store.presetDefaults.forEach(((t,o)=>{e(o).set(void 0===this.settings[o]?t:this.settings[o])}))}),100),0))}previewInUi(){const t=(0,b.getSidebarCustomize)(),{presetDefaults:o}=this.store,{settings:r}=this.store.rootStore.optionStore.others.customizeIdsBanner,i=[];this.resetPreviewInUiSettings={};for(const e of Object.keys(r)){const n=r[e];for(const r of Object.keys(n)){const s=n[r];if(!o.has(s))continue;this.resetPreviewInUiSettings[s]=[e,r,t(s).get()];const a=Object.prototype.hasOwnProperty.call(this.settings,s)?this.settings[s]:o.get(s);i.push([e,r,a])}}e.getIframeStore().customizeBannerStore.setBannerFromPreset(i)}resetPreviewInUi(){this.resetPreviewInUiSettings&&(e.getIframeStore().customizeBannerStore.setBannerFromPreset(Object.values(this.resetPreviewInUiSettings)),this.resetPreviewInUiSettings={})}},i=(0,u.Z)(r.prototype,"id",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n=(0,u.Z)(r.prototype,"name",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,u.Z)(r.prototype,"needsPro",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,u.Z)(r.prototype,"description",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,u.Z)(r.prototype,"tags",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,u.Z)(r.prototype,"settings",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},8578:(e,t,o)=>{o.d(t,{R:()=>a});var r,i=o(8700),n=o(7669),s=o(3642);let a=i.ClientCollection.annotate({path:"/rcb-blocker",singlePath:"/rcb-blocker/:id",namespace:"wp/v2",methods:[i.RouteHttpVerb.GET],request:n.W})(r=class extends i.AbstractPostCollection{constructor(e){super(),this.store=void 0,this.store=e}instance(e){return new s.p(this).fromResponse(e)}})||r},3642:(e,t,o)=>{o.d(t,{p:()=>b});var r,i,n,s=o(6921),a=o(9888),l=o(8700),c=o(7669),p=o(6054),u=o(7821),h=o(9743);let b=l.ClientModel.annotate({keyId:"id",namespace:"wp/v2",request:c.W,create:{path:"/rcb-blocker"},patch:{path:"/rcb-blocker/:id"},delete:{path:"/rcb-blocker/:id"}})((i=class extends l.AbstractPost{get rules(){var e;return null===(e=this.data)||void 0===e?void 0:e.meta.rules.split("\n")}get tcfVendors(){var e;return null!==(e=this.data)&&void 0!==e&&e.meta.tcfVendors?this.data.meta.tcfVendors.split(",").filter(Boolean).map(Number):[]}get services(){var e;return null===(e=this.data)||void 0===e?void 0:e.meta.services.split(",").filter(Boolean).map(Number)}constructor(e,t={}){super(e,t),(0,s.Z)(this,"presetModel",n,this),(0,u.reaction)((()=>{var e;return null===(e=this.data)||void 0===e?void 0:e.preset}),(e=>(0,u.runInAction)((()=>{this.presetModel=e?new p.w(e,h.M.get.cookieStore):void 0}))),{fireImmediately:!0})}setName(e){this.data.title.rendered=e}setStatus(e){this.data.status=e}setDescription(e){this.data.content.rendered=e}setMeta(e){this.data.meta=e}transformDataForPatch(){const e=super.transformDataForPatch();return{title:e.title,content:e.content,status:e.status,meta:e.meta,slug:e.title}}afterPatch(){this.collection.store.blockers.store.rootStore.optionStore.fetchCurrentRevision()}afterDelete(){this.collection.store.blockers.store.rootStore.optionStore.fetchCurrentRevision()}afterPersist(){this.collection.store.blockers.store.rootStore.optionStore.fetchCurrentRevision()}},n=(0,a.Z)(i.prototype,"presetModel",[u.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.Z)(i.prototype,"rules",[u.computed],Object.getOwnPropertyDescriptor(i.prototype,"rules"),i.prototype),(0,a.Z)(i.prototype,"tcfVendors",[u.computed],Object.getOwnPropertyDescriptor(i.prototype,"tcfVendors"),i.prototype),(0,a.Z)(i.prototype,"services",[u.computed],Object.getOwnPropertyDescriptor(i.prototype,"services"),i.prototype),(0,a.Z)(i.prototype,"setName",[u.action],Object.getOwnPropertyDescriptor(i.prototype,"setName"),i.prototype),(0,a.Z)(i.prototype,"setStatus",[u.action],Object.getOwnPropertyDescriptor(i.prototype,"setStatus"),i.prototype),(0,a.Z)(i.prototype,"setDescription",[u.action],Object.getOwnPropertyDescriptor(i.prototype,"setDescription"),i.prototype),(0,a.Z)(i.prototype,"setMeta",[u.action],Object.getOwnPropertyDescriptor(i.prototype,"setMeta"),i.prototype),r=i))||r},6054:(e,t,o)=>{o.d(t,{w:()=>h});var r,i,n,s,a=o(6921),l=o(9888),c=o(7821),p=o(6406),u=o(7669);let h=(r=class{get fullLogoUrl(){const{logoFile:e}=this.data,{publicUrl:t}=this.store.rootStore.optionStore;return e.startsWith("http")?e:"".concat(t,"images/logos/").concat(e)}constructor(e,t){(0,a.Z)(this,"busy",i,this),(0,a.Z)(this,"data",n,this),(0,a.Z)(this,"attributes",s,this),this.store=void 0,this.fetchAttributes=(0,c.flow)((function*(){try{this.busy=!0;const e=yield(0,u.W)({location:p.N,params:{identifier:this.data.identifier}});this.attributes=e}catch(e){throw console.log(e),e}finally{this.busy=!1}})),(0,c.runInAction)((()=>{this.data=e})),this.store=t}},i=(0,l.Z)(r.prototype,"busy",[c.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n=(0,l.Z)(r.prototype,"data",[c.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,l.Z)(r.prototype,"attributes",[c.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,l.Z)(r.prototype,"fullLogoUrl",[c.computed],Object.getOwnPropertyDescriptor(r.prototype,"fullLogoUrl"),r.prototype),r)},97:(e,t,o)=>{o.d(t,{y:()=>I});var r,i,n,s,a,l,c,p,u,h,b,d,y,f,m,g,v,w,k,Z,C,R,P,S,O,E,_,z,x,D,T=o(6921),A=o(9888),M=o(7821);let I=(r=class{get revision(){return this.store.revisions.get(this.revision_hash)}get revision_independent(){return this.store.revisionsIndependent.get(this.revision_independent_hash)}get custom_bypass_readable(){const{custom_bypass:e}=this;return e?e.charAt(0).toUpperCase()+e.slice(1):""}get export(){return JSON.parse(JSON.stringify({...this.plain,revision:this.revision.data,revision_independent:this.revision_independent.data}))}constructor(e,t){(0,T.Z)(this,"id",i,this),(0,T.Z)(this,"plugin_version",n,this),(0,T.Z)(this,"design_version",s,this),(0,T.Z)(this,"ipv4",a,this),(0,T.Z)(this,"ipv6",l,this),(0,T.Z)(this,"ipv4_hash",c,this),(0,T.Z)(this,"ipv6_hash",p,this),(0,T.Z)(this,"uuid",u,this),(0,T.Z)(this,"previous_decision",h,this),(0,T.Z)(this,"decision",b,this),(0,T.Z)(this,"decision_labels",d,this),(0,T.Z)(this,"created",y,this),(0,T.Z)(this,"blocker",f,this),(0,T.Z)(this,"blocker_thumbnail",m,this),(0,T.Z)(this,"dnt",g,this),(0,T.Z)(this,"custom_bypass",v,this),(0,T.Z)(this,"user_country",w,this),(0,T.Z)(this,"revision_hash",k,this),(0,T.Z)(this,"revision_independent_hash",Z,this),(0,T.Z)(this,"button_clicked",C,this),(0,T.Z)(this,"context",R,this),(0,T.Z)(this,"viewport_width",P,this),(0,T.Z)(this,"viewport_height",S,this),(0,T.Z)(this,"viewed_page",O,this),(0,T.Z)(this,"url_imprint",E,this),(0,T.Z)(this,"url_privacy_policy",_,this),(0,T.Z)(this,"forwarded",z,this),(0,T.Z)(this,"forwarded_blocker",x,this),(0,T.Z)(this,"tcf_string",D,this),this.store=void 0,this.plain=void 0,(0,M.runInAction)((()=>(0,M.set)(this,e))),this.store=t,this.plain=e}fetchRevisions(){return Promise.all([this.store.fetchRevision({hash:this.revision_hash}),this.store.fetchRevisionIndependent({hash:this.revision_independent_hash})])}},i=(0,A.Z)(r.prototype,"id",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n=(0,A.Z)(r.prototype,"plugin_version",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,A.Z)(r.prototype,"design_version",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,A.Z)(r.prototype,"ipv4",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,A.Z)(r.prototype,"ipv6",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,A.Z)(r.prototype,"ipv4_hash",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=(0,A.Z)(r.prototype,"ipv6_hash",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,A.Z)(r.prototype,"uuid",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,A.Z)(r.prototype,"previous_decision",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,A.Z)(r.prototype,"decision",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=(0,A.Z)(r.prototype,"decision_labels",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,A.Z)(r.prototype,"created",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,A.Z)(r.prototype,"blocker",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,A.Z)(r.prototype,"blocker_thumbnail",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,A.Z)(r.prototype,"dnt",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,A.Z)(r.prototype,"custom_bypass",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,A.Z)(r.prototype,"user_country",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,A.Z)(r.prototype,"revision_hash",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=(0,A.Z)(r.prototype,"revision_independent_hash",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,A.Z)(r.prototype,"button_clicked",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=(0,A.Z)(r.prototype,"context",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,A.Z)(r.prototype,"viewport_width",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,A.Z)(r.prototype,"viewport_height",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,A.Z)(r.prototype,"viewed_page",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,A.Z)(r.prototype,"url_imprint",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,A.Z)(r.prototype,"url_privacy_policy",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=(0,A.Z)(r.prototype,"forwarded",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=(0,A.Z)(r.prototype,"forwarded_blocker",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=(0,A.Z)(r.prototype,"tcf_string",[M.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,A.Z)(r.prototype,"revision",[M.computed],Object.getOwnPropertyDescriptor(r.prototype,"revision"),r.prototype),(0,A.Z)(r.prototype,"revision_independent",[M.computed],Object.getOwnPropertyDescriptor(r.prototype,"revision_independent"),r.prototype),(0,A.Z)(r.prototype,"custom_bypass_readable",[M.computed],Object.getOwnPropertyDescriptor(r.prototype,"custom_bypass_readable"),r.prototype),r)},4620:(e,t,o)=>{o.d(t,{b:()=>u});var r,i,n=o(9888),s=o(8700),a=o(7669),l=o(2698),c=o(7821),p=o(8903);let u=s.ClientCollection.annotate({path:"/rcb-cookie",singlePath:"/rcb-cookie/:id",namespace:"wp/v2",methods:[s.RouteHttpVerb.GET],request:a.W})((i=class extends s.AbstractPostCollection{get sortedCookies(){const e=Array.from(this.entries.values());return e.sort(((e,t)=>e.data.menu_order<t.data.menu_order?-1:e.data.menu_order>t.data.menu_order||e.key<t.key?1:e.key>t.key?-1:0)),e}constructor(e){super(),this.store=void 0,this.orderCookies=(0,c.flow)((function*(e){this.busy=!0;try{yield(0,a.W)({location:p.I,request:{ids:e}});let t=0;for(const o of e)this.entries.get(o).setOrder(t),t++}catch(e){throw console.log(e),e}finally{this.busy=!1}})),this.store=e}instance(e){return new l.U(this).fromResponse(e)}},(0,n.Z)(i.prototype,"sortedCookies",[c.computed],Object.getOwnPropertyDescriptor(i.prototype,"sortedCookies"),i.prototype),r=i))||r},8626:(e,t,o)=>{o.d(t,{w:()=>u});var r,i,n=o(9888),s=o(8700),a=o(7669),l=o(9532),c=o(7821),p=o(8067);let u=s.ClientCollection.annotate({path:"/rcb-cookie-group",singlePath:"/rcb-cookie-group/:id",namespace:"wp/v2",methods:[s.RouteHttpVerb.GET],request:a.W})((i=class extends s.AbstractCategoryCollection{get sortedGroups(){const e=Array.from(this.entries.values());return e.sort(((e,t)=>e.data.meta.order<t.data.meta.order?-1:e.data.meta.order>t.data.meta.order?1:0)),e}constructor(e){super(),this.store=void 0,this.orderCookieGroups=(0,c.flow)((function*(e){this.busy=!0;try{yield(0,a.W)({location:p.B,request:{ids:e}});let t=0;for(const o of e)this.entries.get(o).setOrder(t),t++}catch(e){throw console.log(e),e}finally{this.busy=!1}})),this.store=e}instance(e){return new l.O(this).fromResponse(e)}},(0,n.Z)(i.prototype,"sortedGroups",[c.computed],Object.getOwnPropertyDescriptor(i.prototype,"sortedGroups"),i.prototype),r=i))||r},9532:(e,t,o)=>{o.d(t,{O:()=>b});var r,i,n,s,a=o(6921),l=o(9888),c=o(8700),p=o(7669),u=o(4620),h=o(7821);let b=c.ClientModel.annotate({keyId:"id",namespace:"wp/v2",request:p.W,create:{path:"/rcb-cookie-group"},patch:{path:"/rcb-cookie-group/:id"},delete:{path:"/rcb-cookie-group/:id"}})((i=class extends c.AbstractCategory{get cookiesCount(){return this.fetchedAllCookies?this.cookies.entries.size:this.data.count}constructor(e,t={}){super(e,t),(0,a.Z)(this,"cookies",n,this),(0,a.Z)(this,"fetchedAllCookies",s,this),this.fetchCookies=(0,h.flow)((function*(){yield this.cookies.get({request:{status:["draft","publish","private"]},params:{per_page:100,"rcb-cookie-group":this.key,context:"edit"}}),this.fetchedAllCookies=!0})),(0,h.runInAction)((()=>{this.cookies=new u.b(this)}))}setName(e){this.data.name=e}setDescription(e){this.data.description=e}setOrder(e){this.data.meta.order=e}afterDelete(){this.collection.store.rootStore.optionStore.fetchCurrentRevision()}afterPatch(){this.collection.store.rootStore.optionStore.fetchCurrentRevision()}afterPersist(){this.collection.store.rootStore.optionStore.fetchCurrentRevision()}},n=(0,l.Z)(i.prototype,"cookies",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,l.Z)(i.prototype,"fetchedAllCookies",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,l.Z)(i.prototype,"cookiesCount",[h.computed],Object.getOwnPropertyDescriptor(i.prototype,"cookiesCount"),i.prototype),(0,l.Z)(i.prototype,"setName",[h.action],Object.getOwnPropertyDescriptor(i.prototype,"setName"),i.prototype),(0,l.Z)(i.prototype,"setDescription",[h.action],Object.getOwnPropertyDescriptor(i.prototype,"setDescription"),i.prototype),(0,l.Z)(i.prototype,"setOrder",[h.action],Object.getOwnPropertyDescriptor(i.prototype,"setOrder"),i.prototype),r=i))||r},2698:(e,t,o)=>{o.d(t,{U:()=>b});var r,i,n,s=o(6921),a=o(9888),l=o(8700),c=o(7669),p=o(1355),u=o(7821),h=o(9743);let b=l.ClientModel.annotate({keyId:"id",namespace:"wp/v2",request:c.W,create:{path:"/rcb-cookie"},patch:{path:"/rcb-cookie/:id"},delete:{path:"/rcb-cookie/:id"}})((i=class extends l.AbstractPost{get rootStore(){return this.collection.store.collection.store.rootStore}get technicalDefinitions(){return JSON.parse(this.data.meta.technicalDefinitions)}get codeDynamics(){return JSON.parse(this.data.meta.codeDynamics||"{}")}constructor(e,t={}){super(e,t),(0,s.Z)(this,"presetModel",n,this),this.store=void 0,(0,u.reaction)((()=>{var e;return null===(e=this.data)||void 0===e?void 0:e.preset}),(e=>(0,u.runInAction)((()=>{this.presetModel=e?new p.g(e,h.M.get.cookieStore):void 0}))),{fireImmediately:!0})}afterPatch(){const e=this.collection.store.collection,[t]=this.data["rcb-cookie-group"];e.entries.forEach((e=>{t!==e.key?e.cookies.entries.delete(this.key):e.cookies.entries.set(this.key,this)})),this.rootStore.optionStore.fetchCurrentRevision(),this.rootStore.cookieStore.unassignedCookies.delete(this.key)}setOrder(e){this.data.menu_order=e}setName(e){this.data.title.rendered=e}setStatus(e){this.data.status=e}setPurpose(e){this.data.content.rendered=e}setGroup(e){this.data["rcb-cookie-group"]=[e]}setMeta(e){this.data.meta=e}transformDataForPersist(){return{...super.transformDataForPersist(),"rcb-cookie-group":[this.collection.store.key]}}transformDataForPatch(){const e=super.transformDataForPatch();return{title:e.title,content:e.content,status:e.status,meta:e.meta,menu_order:e.menu_order,"rcb-cookie-group":this.data["rcb-cookie-group"],slug:e.title}}afterDelete(){this.collection.store.cookies.store.collection.store.rootStore.optionStore.fetchCurrentRevision()}afterPersist(){const{optionStore:e,checklistStore:t}=this.collection.store.cookies.store.collection.store.rootStore;e.fetchCurrentRevision(),t.probablyFetchByChangedItem("add-cookie")}},n=(0,a.Z)(i.prototype,"presetModel",[u.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.Z)(i.prototype,"rootStore",[u.computed],Object.getOwnPropertyDescriptor(i.prototype,"rootStore"),i.prototype),(0,a.Z)(i.prototype,"technicalDefinitions",[u.computed],Object.getOwnPropertyDescriptor(i.prototype,"technicalDefinitions"),i.prototype),(0,a.Z)(i.prototype,"codeDynamics",[u.computed],Object.getOwnPropertyDescriptor(i.prototype,"codeDynamics"),i.prototype),(0,a.Z)(i.prototype,"afterPatch",[u.action],Object.getOwnPropertyDescriptor(i.prototype,"afterPatch"),i.prototype),(0,a.Z)(i.prototype,"setOrder",[u.action],Object.getOwnPropertyDescriptor(i.prototype,"setOrder"),i.prototype),(0,a.Z)(i.prototype,"setName",[u.action],Object.getOwnPropertyDescriptor(i.prototype,"setName"),i.prototype),(0,a.Z)(i.prototype,"setStatus",[u.action],Object.getOwnPropertyDescriptor(i.prototype,"setStatus"),i.prototype),(0,a.Z)(i.prototype,"setPurpose",[u.action],Object.getOwnPropertyDescriptor(i.prototype,"setPurpose"),i.prototype),(0,a.Z)(i.prototype,"setGroup",[u.action],Object.getOwnPropertyDescriptor(i.prototype,"setGroup"),i.prototype),(0,a.Z)(i.prototype,"setMeta",[u.action],Object.getOwnPropertyDescriptor(i.prototype,"setMeta"),i.prototype),r=i))||r},1355:(e,t,o)=>{o.d(t,{g:()=>h});var r,i,n,s,a=o(6921),l=o(9888),c=o(7821),p=o(6364),u=o(7669);let h=(r=class{get fullLogoUrl(){const{logoFile:e}=this.data,{publicUrl:t}=this.store.rootStore.optionStore;return e.startsWith("http")?e:"".concat(t,"images/logos/").concat(e)}constructor(e,t){(0,a.Z)(this,"busy",i,this),(0,a.Z)(this,"data",n,this),(0,a.Z)(this,"attributes",s,this),this.store=void 0,this.fetchAttributes=(0,c.flow)((function*(){try{this.busy=!0;const e=yield(0,u.W)({location:p.t,params:{identifier:this.data.identifier}});this.attributes=e}catch(e){throw console.log(e),e}finally{this.busy=!1}})),(0,c.runInAction)((()=>{this.data=e})),this.store=t}},i=(0,l.Z)(r.prototype,"busy",[c.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n=(0,l.Z)(r.prototype,"data",[c.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,l.Z)(r.prototype,"attributes",[c.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,l.Z)(r.prototype,"fullLogoUrl",[c.computed],Object.getOwnPropertyDescriptor(r.prototype,"fullLogoUrl"),r.prototype),r)},6827:(e,t,o)=>{o.d(t,{k:()=>r});class r{constructor(e,t){this.data=void 0,this.store=void 0,this.data=e,this.store=t}}},6213:(e,t,o)=>{o.d(t,{I:()=>r});class r{constructor(e,t){this.data=void 0,this.store=void 0,this.data=e,this.store=t}}},1339:(e,t,o)=>{o.d(t,{o:()=>h});var r,i,n,s=o(6921),a=o(9888),l=o(7821),c=o(3943),p=o(5217),u=o(7669);let h=(r=class{get identifier(){return this.data.host}get inactive(){return"full"===this.blockedStatus||this.data.ignored}get blockedStatus(){const{foundCount:e,blockedCount:t}=this.data;return 0===t?"none":e===t?"full":"partial"}get blockedStatusText(){switch(this.blockedStatus){case"full":return(0,p.__)("Fully blocked");case"partial":return(0,p.__)("Partially blocked");default:return(0,p.__)("Not blocked")}}constructor(e,t){(0,s.Z)(this,"busy",i,this),(0,s.Z)(this,"data",n,this),this.store=void 0,this.ignore=(0,l.flow)((function*(e=!0){try{yield(0,u.W)({location:c.C,request:{ignored:e},params:{host:this.data.host.replace(/\./g,"_")}}),this.data.ignored=e}catch(e){throw console.log(e),e}})),(0,l.runInAction)((()=>{this.data=e})),this.store=t}},i=(0,a.Z)(r.prototype,"busy",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n=(0,a.Z)(r.prototype,"data",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.Z)(r.prototype,"identifier",[l.computed],Object.getOwnPropertyDescriptor(r.prototype,"identifier"),r.prototype),(0,a.Z)(r.prototype,"inactive",[l.computed],Object.getOwnPropertyDescriptor(r.prototype,"inactive"),r.prototype),(0,a.Z)(r.prototype,"blockedStatus",[l.computed],Object.getOwnPropertyDescriptor(r.prototype,"blockedStatus"),r.prototype),(0,a.Z)(r.prototype,"blockedStatusText",[l.computed],Object.getOwnPropertyDescriptor(r.prototype,"blockedStatusText"),r.prototype),r)},3792:(e,t,o)=>{o.d(t,{a:()=>p});var r,i,n,s=o(6921),a=o(9888),l=o(7821),c=o(8503);let p=(r=class{get markup(){return this.store.resultMarkup.get(this.data.id)}get blockedUrlTruncate(){return(0,c.r)(this.data.blockedUrl,50,"[...]")}get sourceUrlTruncate(){return(0,c.r)(this.data.sourceUrl,50,"[...]")}constructor(e,t){(0,s.Z)(this,"busy",i,this),(0,s.Z)(this,"data",n,this),this.store=void 0,this.fetchMarkup=(0,l.flow)((function*(){yield this.store.fetchMarkup(this.data.id)})),(0,l.runInAction)((()=>{this.data=e})),this.store=t}},i=(0,a.Z)(r.prototype,"busy",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n=(0,a.Z)(r.prototype,"data",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.Z)(r.prototype,"markup",[l.computed],Object.getOwnPropertyDescriptor(r.prototype,"markup"),r.prototype),(0,a.Z)(r.prototype,"blockedUrlTruncate",[l.computed],Object.getOwnPropertyDescriptor(r.prototype,"blockedUrlTruncate"),r.prototype),(0,a.Z)(r.prototype,"sourceUrlTruncate",[l.computed],Object.getOwnPropertyDescriptor(r.prototype,"sourceUrlTruncate"),r.prototype),r)},8318:(e,t,o)=>{o.d(t,{g:()=>h});var r,i,n,s,a=o(6921),l=o(9888),c=o(7821),p=o(7669),u=o(6406);let h=(r=class{get identifier(){return this.data.identifier}get fullLogoUrl(){const{logoFile:e}=this.data,{publicUrl:t}=this.store.rootStore.optionStore;return e.startsWith("http")?e:"".concat(t,"images/logos/").concat(e)}get inactive(){return this.data.created}constructor(e,t){(0,a.Z)(this,"busy",i,this),(0,a.Z)(this,"data",n,this),(0,a.Z)(this,"attributes",s,this),this.store=void 0,this.fetchAttributes=(0,c.flow)((function*(){try{this.busy=!0;const e=yield(0,p.W)({location:u.N,params:{identifier:this.data.identifier}});this.attributes=e}catch(e){throw console.log(e),e}finally{this.busy=!1}})),(0,c.runInAction)((()=>{this.data=e})),this.store=t}},i=(0,l.Z)(r.prototype,"busy",[c.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n=(0,l.Z)(r.prototype,"data",[c.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,l.Z)(r.prototype,"attributes",[c.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,l.Z)(r.prototype,"identifier",[c.computed],Object.getOwnPropertyDescriptor(r.prototype,"identifier"),r.prototype),(0,l.Z)(r.prototype,"fullLogoUrl",[c.computed],Object.getOwnPropertyDescriptor(r.prototype,"fullLogoUrl"),r.prototype),(0,l.Z)(r.prototype,"inactive",[c.computed],Object.getOwnPropertyDescriptor(r.prototype,"inactive"),r.prototype),r)},1112:(e,t,o)=>{o.d(t,{i:()=>c});var r,i,n,s=o(6921),a=o(9888),l=o(7821);let c=(r=class{constructor(e,t,o){(0,s.Z)(this,"data",i,this),(0,s.Z)(this,"special",n,this),this.store=void 0,(0,l.runInAction)((()=>{this.special=t,this.data=e})),this.store=o}},i=(0,a.Z)(r.prototype,"data",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n=(0,a.Z)(r.prototype,"special",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},8272:(e,t,o)=>{o.d(t,{v:()=>c});var r,i,n,s=o(6921),a=o(9888),l=o(7821);let c=(r=class{constructor(e,t,o){(0,s.Z)(this,"data",i,this),(0,s.Z)(this,"special",n,this),this.store=void 0,(0,l.runInAction)((()=>{this.special=t,this.data=e})),this.store=o}},i=(0,a.Z)(r.prototype,"data",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n=(0,a.Z)(r.prototype,"special",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},2515:(e,t,o)=>{o.d(t,{C:()=>c});var r,i,n=o(6921),s=o(9888),a=o(7821),l=o(7747);let c=(r=class{get vendorConfiguration(){for(const e of this.store.vendorConfigurations.entries.values())if(e.vendorModel.data.id===this.data.id)return e}get deviceStorageDisclosure(){const{usesCookies:e,cookieMaxAgeSeconds:t,cookieRefresh:o,usesNonCookieAccess:r,deviceStorageDisclosure:i}=this.data,n=null!=i&&i.disclosures.length?[...i.disclosures]:[];return r&&n.unshift({type:l.r.Web,identifier:"*",purposes:void 0,cookieRefresh:void 0,domain:"*",maxAgeSeconds:null}),e&&n.unshift({type:l.r.Cookie,identifier:"*",purposes:void 0,cookieRefresh:o,domain:"*",maxAgeSeconds:t}),n}get allPurposes(){return[...this.legIntPurposes,...this.purposes,...this.specialPurposes].filter(Boolean)}get allFeatures(){return[...this.features,...this.specialFeatures].filter(Boolean)}get restrictivePurposes(){const e={normal:{}};for(const t of[...this.legIntPurposes,...this.purposes])e.normal[t.data.id.toString()]={enabled:!0,legInt:this.legIntPurposes.indexOf(t)>-1&&!t.special?"yes":"no"};return e}get purposes(){var e;return null===(e=this.data)||void 0===e?void 0:e.purposes.map((e=>this.store.purposes.get("".concat(e))))}get legIntPurposes(){var e;return null===(e=this.data)||void 0===e?void 0:e.legIntPurposes.map((e=>this.store.purposes.get("".concat(e))))}get flexiblePurposes(){var e;return null===(e=this.data)||void 0===e?void 0:e.flexiblePurposes.map((e=>this.store.purposes.get("".concat(e))))}get specialPurposes(){var e;return null===(e=this.data)||void 0===e?void 0:e.specialPurposes.map((e=>this.store.specialPurposes.get("".concat(e))))}get features(){var e;return null===(e=this.data)||void 0===e?void 0:e.features.map((e=>this.store.features.get("".concat(e))))}get specialFeatures(){var e;return null===(e=this.data)||void 0===e?void 0:e.specialFeatures.map((e=>this.store.specialFeatures.get("".concat(e))))}constructor(e,t){(0,n.Z)(this,"data",i,this),this.store=void 0,(0,a.runInAction)((()=>{this.data=e})),this.store=t}},i=(0,s.Z)(r.prototype,"data",[a.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,s.Z)(r.prototype,"vendorConfiguration",[a.computed],Object.getOwnPropertyDescriptor(r.prototype,"vendorConfiguration"),r.prototype),(0,s.Z)(r.prototype,"deviceStorageDisclosure",[a.computed],Object.getOwnPropertyDescriptor(r.prototype,"deviceStorageDisclosure"),r.prototype),(0,s.Z)(r.prototype,"allPurposes",[a.computed],Object.getOwnPropertyDescriptor(r.prototype,"allPurposes"),r.prototype),(0,s.Z)(r.prototype,"allFeatures",[a.computed],Object.getOwnPropertyDescriptor(r.prototype,"allFeatures"),r.prototype),(0,s.Z)(r.prototype,"restrictivePurposes",[a.computed],Object.getOwnPropertyDescriptor(r.prototype,"restrictivePurposes"),r.prototype),(0,s.Z)(r.prototype,"purposes",[a.computed],Object.getOwnPropertyDescriptor(r.prototype,"purposes"),r.prototype),(0,s.Z)(r.prototype,"legIntPurposes",[a.computed],Object.getOwnPropertyDescriptor(r.prototype,"legIntPurposes"),r.prototype),(0,s.Z)(r.prototype,"flexiblePurposes",[a.computed],Object.getOwnPropertyDescriptor(r.prototype,"flexiblePurposes"),r.prototype),(0,s.Z)(r.prototype,"specialPurposes",[a.computed],Object.getOwnPropertyDescriptor(r.prototype,"specialPurposes"),r.prototype),(0,s.Z)(r.prototype,"features",[a.computed],Object.getOwnPropertyDescriptor(r.prototype,"features"),r.prototype),(0,s.Z)(r.prototype,"specialFeatures",[a.computed],Object.getOwnPropertyDescriptor(r.prototype,"specialFeatures"),r.prototype),r)},303:(e,t,o)=>{o.d(t,{C:()=>a});var r,i=o(8700),n=o(7669),s=o(9894);let a=i.ClientCollection.annotate({path:"/rcb-tcf-vendor-conf",singlePath:"/rcb-tcf-vendor-conf/:id",namespace:"wp/v2",methods:[i.RouteHttpVerb.GET],request:n.W})(r=class extends i.AbstractPostCollection{constructor(e){super(),this.store=void 0,this.store=e}instance(e){return new s.S(this).fromResponse(e)}})||r},9894:(e,t,o)=>{o.d(t,{S:()=>d});var r,i,n,s=o(6921),a=o(9888),l=o(8700),c=o(7669),p=o(7821),u=o(2515),h=o(5311),b=o.n(h);let d=l.ClientModel.annotate({keyId:"id",namespace:"wp/v2",request:c.W,create:{path:"/rcb-tcf-vendor-conf"},patch:{path:"/rcb-tcf-vendor-conf/:id"},delete:{path:"/rcb-tcf-vendor-conf/:id"}})((i=class extends l.AbstractPost{get hasVendor(){return!!this.vendorModel}get restrictivePurposes(){var e,t;const o="global"===this.collection.store.rootStore.optionStore.tcfScopeOfConsent,r=(null===(e=this.vendorModel)||void 0===e?void 0:e.restrictivePurposes)||{normal:{}};if(o)return r;const i=JSON.parse(this.data.meta.restrictivePurposes);return b().extend(!0,{},(null===(t=this.vendorModel)||void 0===t?void 0:t.restrictivePurposes)||{},i)}get stats(){var e;const{normal:t}=this.restrictivePurposes,o=[...Object.values(t)];return{activePurposes:o.filter((({enabled:e})=>e)).length,legIntPurposes:o.filter((({enabled:e,legInt:t})=>e&&"yes"===t)).length,activeFeatures:(null===(e=this.vendorModel)||void 0===e?void 0:e.allFeatures.length)||0}}constructor(e,t={}){super(e,t),(0,s.Z)(this,"vendorModel",n,this),(0,p.reaction)((()=>this.data.vendor),(e=>(0,p.runInAction)((()=>{if(e){const{vendors:t}=this.collection.store,o=e.id.toString();let r=t.get(o);r||(r=new u.C(e,this.collection.store),t.set(o,r)),this.vendorModel=r}}))),{fireImmediately:!0}),(0,p.reaction)((()=>{var e;return null===(e=this.data.meta)||void 0===e?void 0:e.vendorId}),(e=>{e&&(this.vendorModel=this.collection.store.vendors.get(e.toString()))}),{fireImmediately:!0})}setStatus(e){this.data.status=e}setMeta(e){this.data.meta=e}transformDataForPatch(){const e=super.transformDataForPatch();return{status:e.status,meta:e.meta}}afterPatch(){this.collection.store.rootStore.optionStore.fetchCurrentRevision()}afterDelete(){this.collection.store.rootStore.optionStore.fetchCurrentRevision()}afterPersist(){this.collection.store.rootStore.optionStore.fetchCurrentRevision()}},n=(0,a.Z)(i.prototype,"vendorModel",[p.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.Z)(i.prototype,"hasVendor",[p.computed],Object.getOwnPropertyDescriptor(i.prototype,"hasVendor"),i.prototype),(0,a.Z)(i.prototype,"restrictivePurposes",[p.computed],Object.getOwnPropertyDescriptor(i.prototype,"restrictivePurposes"),i.prototype),(0,a.Z)(i.prototype,"stats",[p.computed],Object.getOwnPropertyDescriptor(i.prototype,"stats"),i.prototype),(0,a.Z)(i.prototype,"setStatus",[p.action],Object.getOwnPropertyDescriptor(i.prototype,"setStatus"),i.prototype),(0,a.Z)(i.prototype,"setMeta",[p.action],Object.getOwnPropertyDescriptor(i.prototype,"setMeta"),i.prototype),r=i))||r},9171:(e,t,o)=>{o.d(t,{L:()=>b});var r,i,n,s=o(6921),a=o(9888),l=o(7821),c=o(8700),p=o(2377),u=o(5654),h=o(7669);let b=(r=class extends c.BaseOptions{constructor(e){super(),(0,s.Z)(this,"busyChecklist",i,this),(0,s.Z)(this,"checklist",n,this),this.rootStore=void 0,this.probablyFetchByChangedItem=(0,l.flow)((function*(e,t){if(t)return void(yield this.fetchChecklist());const o=Array.isArray(e)?e:[e];this.items.filter((({id:e,checked:t})=>o.indexOf(e)>-1&&!t)).length>0&&(yield this.fetchChecklist())})),this.fetchChecklist=(0,l.flow)((function*(){this.busyChecklist=!0;try{this.checklist=yield(0,h.W)({location:p.g,params:{_wp_http_referer:window.location.href}})}catch(e){throw console.log(e),e}finally{this.busyChecklist=!1}})),this.toggleChecklistItem=(0,l.flow)((function*(e,t){this.busyChecklist=!0;try{this.checklist=yield(0,h.W)({location:u.s,request:{state:t},params:{id:e,_wp_http_referer:window.location.href}})}catch(e){throw console.log(e),e}finally{this.busyChecklist=!1}})),this.rootStore=e}get items(){return this.checklist&&Object.keys(this.checklist.items).map((e=>({id:e,...this.checklist.items[e]})))||[]}get completed(){return this.items.filter((({checked:e})=>e))}get checkable(){const{isPro:e}=this.rootStore.optionStore.others;return this.items.filter((({needsPro:t})=>!t||e&&t))}get done(){var e;return this.completed.length>=this.checkable.length||!(null===(e=this.checklist)||void 0===e||!e.dismissed)}},i=(0,a.Z)(r.prototype,"busyChecklist",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n=(0,a.Z)(r.prototype,"checklist",[l.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.Z)(r.prototype,"items",[l.computed],Object.getOwnPropertyDescriptor(r.prototype,"items"),r.prototype),(0,a.Z)(r.prototype,"completed",[l.computed],Object.getOwnPropertyDescriptor(r.prototype,"completed"),r.prototype),(0,a.Z)(r.prototype,"checkable",[l.computed],Object.getOwnPropertyDescriptor(r.prototype,"checkable"),r.prototype),(0,a.Z)(r.prototype,"done",[l.computed],Object.getOwnPropertyDescriptor(r.prototype,"done"),r.prototype),r)},3721:(e,t,o)=>{o.d(t,{v:()=>O});var r,i,n,s,a,l,c,p,u,h,b,d=o(6921),y=o(9888),f=o(7821),m=o(8700),g=o(7669),v=o(8516),w=o(9560),k=o(6521),Z=o(8420),C=o(3612),R=o(97),P=o(6827),S=o(6213);let O=(r=class extends m.BaseOptions{constructor(e){super(),(0,d.Z)(this,"busyConsent",i,this),(0,d.Z)(this,"busyReferer",n,this),(0,d.Z)(this,"count",s,this),(0,d.Z)(this,"truncatedIpsCount",a,this),(0,d.Z)(this,"perPage",l,this),(0,d.Z)(this,"offset",c,this),(0,d.Z)(this,"pageCollection",p,this),(0,d.Z)(this,"revisions",u,this),(0,d.Z)(this,"revisionsIndependent",h,this),(0,d.Z)(this,"referer",b,this),this.filters=f.observable.object({page:1,dates:[void 0,void 0],context:void 0,referer:void 0,ip:void 0,uuid:void 0},{},{deep:!1}),this.rootStore=void 0,this.fetchAll=(0,f.flow)((function*(){this.busyConsent=!0;try{const{page:e,referer:t,ip:o,uuid:r,context:i}=this.filters,n=this.filters.dates.map((e=>e?e.format("YYYY-MM-DD"):"")),{count:s,truncatedIpsCount:a,items:l}=yield(0,g.W)({location:v.c,params:{per_page:this.perPage,offset:(e-1)*this.perPage,from:n[0],to:n[1],ip:o,uuid:r,referer:t,context:i}});this.count=s,this.truncatedIpsCount=a,this.pageCollection.clear();for(const e of l)this.pageCollection.set(e.id,new R.y(e,this))}catch(e){throw this.count=0,this.truncatedIpsCount=0,this.pageCollection.clear(),console.log(e),e}finally{this.busyConsent=!1}})),this.fetchRevision=(0,f.flow)((function*(e){try{const t=yield(0,g.W)({location:w.Z,params:e});this.revisions.set(e.hash,new P.k(t,this))}catch(e){throw console.log(e),e}})),this.fetchRevisionIndependent=(0,f.flow)((function*(e){try{const t=yield(0,g.W)({location:k.T,params:e});this.revisionsIndependent.set(e.hash,new S.I(t,this))}catch(e){throw console.log(e),e}})),this.fetchReferer=(0,f.flow)((function*(e){this.busyReferer=!0;try{const t=yield(0,g.W)({location:Z.q,params:e});this.referer=t.items}catch(e){throw console.log(e),e}finally{this.busyReferer=!1}})),this.deleteAll=(0,f.flow)((function*(){this.busyConsent=!0;try{yield(0,g.W)({location:C.O}),this.applyPage(0),yield this.fetchAll()}catch(e){throw console.log(e),e}finally{this.busyConsent=!1}})),this.rootStore=e,(0,f.runInAction)((()=>{this.filters.context=this.rootStore.optionStore.others.context}))}applyPage(e){this.filters.page=e}applyDates(e){this.filters.dates=e}applyContext(e){this.filters.context=e}applyReferer(e){this.filters.referer=e}applyIp(e){this.filters.ip=e}applyUuid(e){this.filters.uuid=e}},i=(0,y.Z)(r.prototype,"busyConsent",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n=(0,y.Z)(r.prototype,"busyReferer",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),s=(0,y.Z)(r.prototype,"count",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),a=(0,y.Z)(r.prototype,"truncatedIpsCount",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),l=(0,y.Z)(r.prototype,"perPage",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 50}}),c=(0,y.Z)(r.prototype,"offset",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),p=(0,y.Z)(r.prototype,"pageCollection",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),u=(0,y.Z)(r.prototype,"revisions",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),h=(0,y.Z)(r.prototype,"revisionsIndependent",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),b=(0,y.Z)(r.prototype,"referer",[f.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),(0,y.Z)(r.prototype,"applyPage",[f.action],Object.getOwnPropertyDescriptor(r.prototype,"applyPage"),r.prototype),(0,y.Z)(r.prototype,"applyDates",[f.action],Object.getOwnPropertyDescriptor(r.prototype,"applyDates"),r.prototype),(0,y.Z)(r.prototype,"applyContext",[f.action],Object.getOwnPropertyDescriptor(r.prototype,"applyContext"),r.prototype),(0,y.Z)(r.prototype,"applyReferer",[f.action],Object.getOwnPropertyDescriptor(r.prototype,"applyReferer"),r.prototype),(0,y.Z)(r.prototype,"applyIp",[f.action],Object.getOwnPropertyDescriptor(r.prototype,"applyIp"),r.prototype),(0,y.Z)(r.prototype,"applyUuid",[f.action],Object.getOwnPropertyDescriptor(r.prototype,"applyUuid"),r.prototype),r)},6649:(e,t,o)=>{o.d(t,{h:()=>R});var r,i,n,s,a,l,c,p,u,h,b=o(6921),d=o(9888),y=o(7821),f=o(6054),m=o(1355),g=o(8626),v=o(8578),w=o(3950),k=o(8213),Z=o(702),C=o(7669);let R=(r=class{get blockersCount(){return this.fetchedAllBlockers?this.blockers.entries.size:this.rootStore.optionStore.allBlockerCount}get cookiesCount(){return Array.from(this.groups.entries.values()).map((({cookiesCount:e})=>e)).reduce(((e,t)=>e+t),0)}constructor(e){(0,b.Z)(this,"busy",i,this),(0,b.Z)(this,"groups",n,this),(0,b.Z)(this,"unassignedCookies",s,this),(0,b.Z)(this,"blockers",a,this),(0,b.Z)(this,"presetsBlocker",l,this),(0,b.Z)(this,"busyPresetsBlocker",c,this),(0,b.Z)(this,"presetsCookie",p,this),(0,b.Z)(this,"busyPresetsCookie",u,this),(0,b.Z)(this,"fetchedAllBlockers",h,this),this.rootStore=void 0,this.fetchGroups=(0,y.flow)((function*(){yield this.groups.get({params:{per_page:100}}),yield this.fetchUnassignedCookies()})),this.fetchUnassignedCookies=(0,y.flow)((function*(){try{const e=yield(0,C.W)({location:w.p});for(const t of Object.values(e))this.unassignedCookies.set(t.id,t)}catch(e){throw console.log(e),e}})),this.fetchBlockers=(0,y.flow)((function*(){yield this.blockers.get({request:{status:["draft","publish","private"]},params:{per_page:100,context:"edit"}}),this.fetchedAllBlockers=!0})),this.fetchPresetsBlocker=(0,y.flow)((function*(){this.busyPresetsBlocker=!0;try{const{items:e}=yield(0,C.W)({location:k.W});for(const t of Object.keys(e))this.presetsBlocker.set(t,new f.w(e[t],this))}catch(e){throw console.log(e),e}finally{this.busyPresetsBlocker=!1}})),this.fetchPresetsCookie=(0,y.flow)((function*(){this.busyPresetsCookie=!0;try{const{items:e}=yield(0,C.W)({location:Z.z});for(const t of Object.keys(e))this.presetsCookie.set(t,new m.g(e[t],this))}catch(e){throw console.log(e),e}finally{this.busyPresetsCookie=!1}})),this.rootStore=e,(0,y.runInAction)((()=>{this.groups=new g.w(this),this.blockers=new v.R(this)}))}get essentialGroup(){if(0===this.groups.entries.size)return;const e=this.groups.entries.values();let t;for(;(t=e.next().value)&&t.data.slug!==this.rootStore.optionStore.others.essentialGroup;);return t}},i=(0,d.Z)(r.prototype,"busy",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n=(0,d.Z)(r.prototype,"groups",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,d.Z)(r.prototype,"unassignedCookies",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),a=(0,d.Z)(r.prototype,"blockers",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,d.Z)(r.prototype,"presetsBlocker",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),c=(0,d.Z)(r.prototype,"busyPresetsBlocker",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),p=(0,d.Z)(r.prototype,"presetsCookie",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),u=(0,d.Z)(r.prototype,"busyPresetsCookie",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),h=(0,d.Z)(r.prototype,"fetchedAllBlockers",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,d.Z)(r.prototype,"blockersCount",[y.computed],Object.getOwnPropertyDescriptor(r.prototype,"blockersCount"),r.prototype),(0,d.Z)(r.prototype,"cookiesCount",[y.computed],Object.getOwnPropertyDescriptor(r.prototype,"cookiesCount"),r.prototype),(0,d.Z)(r.prototype,"essentialGroup",[y.computed],Object.getOwnPropertyDescriptor(r.prototype,"essentialGroup"),r.prototype),r)},8943:(e,t,o)=>{o.d(t,{W:()=>m});var r,i,n,s,a,l,c,p=o(6921),u=o(9888),h=o(7821),b=o(8172),d=o(7669),y=o(6613),f=o(490);let m=(r=class{constructor(e){(0,p.Z)(this,"visible",i,this),(0,p.Z)(this,"animationVisible",n,this),(0,p.Z)(this,"individualPrivacyOpen",s,this),(0,p.Z)(this,"previewCheckboxActiveState",a,this),(0,p.Z)(this,"busyPresets",l,this),(0,p.Z)(this,"presets",c,this),this.rootStore=void 0,this.presetConstants=new Map,this.presetDefaults=new Map,this.debounceFromCustomize={},this.fetchPresets=(0,h.flow)((function*(){this.busyPresets=!0;try{const{defaults:e,constants:t,items:o}=yield(0,d.W)({location:b.t});for(const t of Object.keys(e))this.presetDefaults.set(t,e[t]);for(const e of Object.keys(t))this.presetConstants.set(e,t[e]);for(const e of Object.keys(o))this.presets.set(e,new y.p({id:e,...o[e]},this))}catch(e){throw console.log(e),e}finally{this.busyPresets=!1}})),this.rootStore=e}setBannerFromCustomize(e,t,o,r=!0){const{customizeValuesBanner:i}=this.rootStore.optionStore.others,n=t.toString();if(r&&["css","animationInDuration","animationOutDuration"].indexOf(n)>-1)clearTimeout(this.debounceFromCustomize[n]),this.debounceFromCustomize[n]=setTimeout((()=>this.setBannerFromCustomize(e,t,o,!1)),500);else{const r=i[e][t];i[e][t]=o,n.startsWith("animationOut")&&r!==o&&this.forceAnimationOutSimulation()}}setBannerFromPreset(e){for(const t of e){const[e,o,r]=t;this.rootStore.optionStore.others.customizeValuesBanner[e][o]=r}}forceAnimationOutSimulation(){const{customizeValuesBanner:e}=this.rootStore.optionStore.others;"none"!==e.layout.animationOut&&(this.animationVisible=!1,setTimeout((()=>(0,h.runInAction)((()=>{this.animationVisible=!0}))),+e.layout.animationOutDuration+1e3))}setVisible(e){this.visible=e}setIndividualPrivacyOpen(e){this.individualPrivacyOpen=e}setPreviewCheckboxActiveState(e){this.previewCheckboxActiveState=e}exportPhp(){const e={},t=(0,f.getSidebarCustomize)();return this.presetDefaults.forEach(((o,r)=>{let i=t(r).get();"boolean"==typeof o?i=!!+i:isNaN(i)||""===i||(i=+i),JSON.stringify(o)!==JSON.stringify(i)&&(e[this.presetConstants.get(r)]=i)})),this.jsonToPHPArray(e)}jsonToPHPArray(e){const t=JSON.stringify(e,null,4).split("\n");return t.shift(),t.pop(),t.join("\n").replace(/^(\s+)"([A-Za-z\\]+::[A-Z_]+)"(:)/gm,"$1$2 =>").replace(/^(\s+)([A-Za-z\\]+)::/gm,((e,t,o)=>"".concat(t).concat(o.replace(/\\\\/gm,"\\"),"::")))}},i=(0,u.Z)(r.prototype,"visible",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n=(0,u.Z)(r.prototype,"animationVisible",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),s=(0,u.Z)(r.prototype,"individualPrivacyOpen",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,u.Z)(r.prototype,"previewCheckboxActiveState",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),l=(0,u.Z)(r.prototype,"busyPresets",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),c=(0,u.Z)(r.prototype,"presets",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),(0,u.Z)(r.prototype,"setBannerFromCustomize",[h.action],Object.getOwnPropertyDescriptor(r.prototype,"setBannerFromCustomize"),r.prototype),(0,u.Z)(r.prototype,"setBannerFromPreset",[h.action],Object.getOwnPropertyDescriptor(r.prototype,"setBannerFromPreset"),r.prototype),(0,u.Z)(r.prototype,"forceAnimationOutSimulation",[h.action],Object.getOwnPropertyDescriptor(r.prototype,"forceAnimationOutSimulation"),r.prototype),(0,u.Z)(r.prototype,"setVisible",[h.action],Object.getOwnPropertyDescriptor(r.prototype,"setVisible"),r.prototype),(0,u.Z)(r.prototype,"setIndividualPrivacyOpen",[h.action],Object.getOwnPropertyDescriptor(r.prototype,"setIndividualPrivacyOpen"),r.prototype),(0,u.Z)(r.prototype,"setPreviewCheckboxActiveState",[h.action],Object.getOwnPropertyDescriptor(r.prototype,"setPreviewCheckboxActiveState"),r.prototype),r)},8919:(e,t,o)=>{o.d(t,{Cu:()=>u.C,L_:()=>c.L,My:()=>r.M,WS:()=>n.W,aZ:()=>i.a,et:()=>l.e,hc:()=>s.h,mZ:()=>r.m,v:()=>a.v,z:()=>p.z});var r=o(9743),i=o(2654),n=o(8943),s=o(6649),a=o(3721),l=o(6484),c=o(9171),p=o(2793),u=o(1637)},2654:(e,t,o)=>{o.d(t,{a:()=>fe});var r,i,n,s,a,l,c,p,u,h,b,d,y,f,m,g,v,w,k,Z,C,R,P,S,O,E,_,z,x,D,T,A,M,I,j,B,V,U,N,G,F,W,L,H,q,Q,Y,J,$,X,K,ee,te,oe=o(6921),re=o(9888),ie=o(7821),ne=o(8700),se=o(5391),ae=o(1211),le=o(4791),ce=o(1734),pe=o(4474),ue=o(9190),he=o(1515),be=o(648),de=o(7669),ye=o(6265);let fe=(r=class extends ne.BaseOptions{get isOnlyRcbCookieCreated(){return!(1!==this.allCookieCount||this.tcf&&this.allTcfVendorConfigurationCount)}get areSettingsFetched(){return void 0!==this.respectDoNotTrack}constructor(e){super(),(0,oe.Z)(this,"busySettings",i,this),(0,oe.Z)(this,"busyCountryBypassUpdate",n,this),(0,oe.Z)(this,"busyAddLinksToNavigationMenu",s,this),(0,oe.Z)(this,"needsRevisionRetrigger",a,this),(0,oe.Z)(this,"publicCookieCount",l,this),(0,oe.Z)(this,"allCookieCount",c,this),(0,oe.Z)(this,"allBlockerCount",p,this),(0,oe.Z)(this,"allTcfVendorConfigurationCount",u,this),(0,oe.Z)(this,"allScannerResultPresetsCount",h,this),(0,oe.Z)(this,"allScannerResultExternalUrlsCount",b,this),(0,oe.Z)(this,"cookieCounts",d,this),(0,oe.Z)(this,"nav_menus",y,this),(0,oe.Z)(this,"tcfVendorConfigurationCounts",f,this),(0,oe.Z)(this,"hasManager",m,this),(0,oe.Z)(this,"contexts",g,this),(0,oe.Z)(this,"dashboardMigration",v,this),(0,oe.Z)(this,"fomoCoupon",w,this),(0,oe.Z)(this,"bannerActive",k,this),(0,oe.Z)(this,"blockerActive",Z,this),(0,oe.Z)(this,"imprintId",C,this),(0,oe.Z)(this,"imprintExternalUrl",R,this),(0,oe.Z)(this,"imprintIsExternalUrl",P,this),(0,oe.Z)(this,"privacyPolicyId",S,this),(0,oe.Z)(this,"privacyPolicyExternalUrl",O,this),(0,oe.Z)(this,"privacyPolicyIsExternalUrl",E,this),(0,oe.Z)(this,"hidePageIds",_,this),(0,oe.Z)(this,"setCookiesViaManager",z,this),(0,oe.Z)(this,"acceptAllForBots",x,this),(0,oe.Z)(this,"respectDoNotTrack",D,this),(0,oe.Z)(this,"cookieDuration",T,this),(0,oe.Z)(this,"saveIp",A,this),(0,oe.Z)(this,"ePrivacyUSA",M,this),(0,oe.Z)(this,"ageNotice",I,this),(0,oe.Z)(this,"listServicesNotice",j,this),(0,oe.Z)(this,"consentForwarding",B,this),(0,oe.Z)(this,"forwardTo",V,this),(0,oe.Z)(this,"crossDomains",U,this),(0,oe.Z)(this,"affiliateLink",N,this),(0,oe.Z)(this,"affiliateLabelBehind",G,this),(0,oe.Z)(this,"affiliateLabelDescription",F,this),(0,oe.Z)(this,"countryBypass",W,this),(0,oe.Z)(this,"countryBypassCountries",L,this),(0,oe.Z)(this,"countryBypassType",H,this),(0,oe.Z)(this,"countryBypassDbDownloadTime",q,this),(0,oe.Z)(this,"tcf",Q,this),(0,oe.Z)(this,"tcfPublisherCc",Y,this),(0,oe.Z)(this,"tcfAcceptedTime",J,this),(0,oe.Z)(this,"tcfGvlDownloadTime",$,this),(0,oe.Z)(this,"tcfScopeOfConsent",X,this),(0,oe.Z)(this,"consentDuration",K,this),(0,oe.Z)(this,"consentsDeletedAt",ee,this),(0,oe.Z)(this,"others",te,this),this.pureSlug=void 0,this.pureSlugCamelCased=void 0,this.rootStore=void 0,this.fetchSettings=(0,ie.flow)((function*(e){this.busySettings=!0;try{const t=e||(yield(0,de.W)({location:se.g}));this.bannerActive=t["rcb-banner-active"],this.blockerActive=t["rcb-blocker-active"],this.imprintId=t["rcb-banner-legal-imprint"],this.imprintExternalUrl=t["rcb-banner-legal-imprint-external-url"],this.imprintIsExternalUrl=t["rcb-banner-legal-imprint-is-external-url"],this.privacyPolicyId=t["rcb-banner-legal-privacy-policy"],this.privacyPolicyExternalUrl=t["rcb-banner-legal-privacy-policy-external-url"],this.privacyPolicyIsExternalUrl=t["rcb-banner-legal-privacy-policy-is-external-url"],this.hidePageIds=(t["rcb-hide-page-ids"]||"").split(",").map(Number).filter(Boolean),this.setCookiesViaManager=t["rcb-set-cookies-via-manager"]||"none",this.acceptAllForBots=t["rcb-accept-all-for-bots"],this.respectDoNotTrack=t["rcb-respect-do-not-track"],this.cookieDuration=t["rcb-cookie-duration"],this.saveIp=t["rcb-save-ip"],this.ePrivacyUSA=t["rcb-eprivacy-usa"],this.ageNotice=t["rcb-age-notice"],this.listServicesNotice=t["rcb-list-services-notice"],this.consentForwarding=t["rcb-consent-forwarding"]||!1,this.forwardTo=(t["rcb-forward-to"]||"").split("|").filter(Boolean),this.crossDomains=t["rcb-cross-domains"]||"",this.countryBypass=t["rcb-country-bypass"],this.countryBypassCountries=(t["rcb-country-bypass-countries"]||"").split(",").filter(Boolean),this.countryBypassType=t["rcb-country-bypass-type"],this.countryBypassDbDownloadTime=t["rcb-country-bypass-db-download-time"],this.tcf=t["rcb-tcf"],this.tcfPublisherCc=t["rcb-tcf-publisher-cc"],this.tcfAcceptedTime=t["rcb-tcf-accepted-time"],this.tcfGvlDownloadTime=t["rcb-tcf-gvl-download-time"],this.tcfScopeOfConsent=t["rcb-tcf-scope-of-consent"],this.consentDuration=t["rcb-consent-duration"],yield this.fetchCurrentRevision()}catch(e){throw console.log(e),e}finally{this.busySettings=!1}})),this.updateSettings=(0,ie.flow)((function*({bannerActive:e,blockerActive:t,imprintId:o,privacyPolicyId:r,hidePageIds:i,setCookiesViaManager:n,acceptAllForBots:s,respectDoNotTrack:a,cookieDuration:l,saveIp:c,ePrivacyUSA:p,ageNotice:u,listServicesNotice:h,consentForwarding:b,forwardTo:d,crossDomains:y,affiliateLink:f,affiliateLabelBehind:m,affiliateLabelDescription:g,countryBypass:v,countryBypassCountries:w,countryBypassType:k,tcf:Z,tcfPublisherCc:C,tcfScopeOfConsent:R,consentDuration:P}){this.busySettings=!0;try{const f=yield(0,de.W)({location:ae.J,request:{...void 0===e?{}:{"rcb-banner-active":e},...void 0===t?{}:{"rcb-blocker-active":t},...void 0===o?{}:{"rcb-banner-legal-imprint":o},...void 0===r?{}:{"rcb-banner-legal-privacy-policy":r},...void 0===i?{}:{"rcb-hide-page-ids":i.join(",")},...void 0===n?{}:{"rcb-set-cookies-via-manager":n},...void 0===s?{}:{"rcb-accept-all-for-bots":s},...void 0===a?{}:{"rcb-respect-do-not-track":a},...void 0===l?{}:{"rcb-cookie-duration":l},...void 0===c?{}:{"rcb-save-ip":c},...void 0===p?{}:{"rcb-eprivacy-usa":p},...void 0===u?{}:{"rcb-age-notice":u},...void 0===h?{}:{"rcb-list-services-notice":h},...void 0===b?{}:{"rcb-consent-forwarding":b},...void 0===d?{}:{"rcb-forward-to":d.join("|")},...void 0===y?{}:{"rcb-cross-domains":y},...void 0===v?{}:{"rcb-country-bypass":v},...void 0===w?{}:{"rcb-country-bypass-countries":w.join(",")},...void 0===k?{}:{"rcb-country-bypass-type":k},...void 0===Z?{}:{"rcb-tcf":Z},...void 0===C?{}:{"rcb-tcf-publisher-cc":C},...void 0===R?{}:{"rcb-tcf-scope-of-consent":R},...void 0===P?{}:{"rcb-consent-duration":P}}});this.fetchSettings(f),this.rootStore.checklistStore.probablyFetchByChangedItem(["save-settings","activate-banner","privacy-policy"])}catch(e){throw console.log(e),e}finally{this.busySettings=!1}})),this.fetchCurrentRevision=(0,ie.flow)((function*(){this.busySettings=!0;try{this.setFromCurrentRevision(yield(0,de.W)({location:le.G}))}catch(e){throw console.log(e),e}finally{this.busySettings=!1}})),this.updateCurrentRevision=(0,ie.flow)((function*(e){this.busySettings=!0;try{this.setFromCurrentRevision(yield(0,de.W)({location:ce.a,request:e}))}catch(e){throw console.log(e),e}finally{this.busySettings=!1}})),this.setModalHintSeen=(0,ie.flow)((function*(e){this.busySettings=!0;try{this.others.modalHints.push(e),yield(0,de.W)({location:ye.C,request:{identifier:e}})}catch(e){throw console.log(e),e}finally{this.busySettings=!1}})),this.dismissConfigProNotice=(0,ie.flow)((function*(){try{this.others.isConfigProNoticeVisible=!1,yield(0,de.W)({location:pe.n})}catch(e){throw console.log(e),e}})),this.dismissMigration=(0,ie.flow)((function*(){try{const{id:e}=this.dashboardMigration;this.dashboardMigration=void 0,yield(0,de.W)({location:ue.o,params:{migration:e}})}catch(e){throw console.log(e),e}})),this.addLinksToNavigationMenu=(0,ie.flow)((function*(e){this.busyAddLinksToNavigationMenu=!0;try{const{success:t}=yield(0,de.W)({location:he.i,request:{id:e}});return t&&(this.rootStore.checklistStore.fetchChecklist(),yield this.fetchCurrentRevision()),t}catch(e){throw console.log(e),e}finally{this.busyAddLinksToNavigationMenu=!1}})),this.updateCountryBypassDatabase=(0,ie.flow)((function*(){this.busyCountryBypassUpdate=!0;try{const{dbDownloadTime:e}=yield(0,de.W)({location:be._});this.countryBypassDbDownloadTime=e}catch(e){throw console.log(e),e}finally{this.busyCountryBypassUpdate=!1}})),this.rootStore=e,this.pureSlug=ne.BaseOptions.getPureSlug("real-cookie-banner"),this.pureSlugCamelCased=ne.BaseOptions.getPureSlug("real-cookie-banner",!0),(0,ie.runInAction)((()=>Object.assign(this,window[this.pureSlugCamelCased])))}setFromCurrentRevision({contexts:e,has_manager:t,needs_retrigger:o,public_cookie_count:r,all_cookie_count:i,all_blocker_count:n,all_tcf_vendor_configuration_count:s,all_scanner_result_presets_count:a,all_scanner_result_external_urls_count:l,cookie_counts:c,consents_deleted_at:p,nav_menus:u,tcf_vendor_configuration_counts:h,dashboard_migration:b,fomo_coupon:d}){this.hasManager=t,this.needsRevisionRetrigger=o,this.publicCookieCount=r,this.allCookieCount=i,this.allBlockerCount=n,this.allTcfVendorConfigurationCount=s,this.allScannerResultPresetsCount=a,this.allScannerResultExternalUrlsCount=l,this.cookieCounts=c,this.consentsDeletedAt=p,this.nav_menus=u,this.tcfVendorConfigurationCounts=h,this.contexts=e,this.dashboardMigration=b,this.fomoCoupon=d}setShowLicenseFormImmediate(e,t){this.others.showLicenseFormImmediate=e,this.others.isLicensed=t}},i=(0,re.Z)(r.prototype,"busySettings",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n=(0,re.Z)(r.prototype,"busyCountryBypassUpdate",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),s=(0,re.Z)(r.prototype,"busyAddLinksToNavigationMenu",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,re.Z)(r.prototype,"needsRevisionRetrigger",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),l=(0,re.Z)(r.prototype,"publicCookieCount",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),c=(0,re.Z)(r.prototype,"allCookieCount",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),p=(0,re.Z)(r.prototype,"allBlockerCount",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),u=(0,re.Z)(r.prototype,"allTcfVendorConfigurationCount",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),h=(0,re.Z)(r.prototype,"allScannerResultPresetsCount",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),b=(0,re.Z)(r.prototype,"allScannerResultExternalUrlsCount",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),d=(0,re.Z)(r.prototype,"cookieCounts",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{draft:0,private:0,publish:0}}}),y=(0,re.Z)(r.prototype,"nav_menus",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),f=(0,re.Z)(r.prototype,"tcfVendorConfigurationCounts",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,re.Z)(r.prototype,"hasManager",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),g=(0,re.Z)(r.prototype,"contexts",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{"":""}}}),v=(0,re.Z)(r.prototype,"dashboardMigration",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,re.Z)(r.prototype,"fomoCoupon",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,re.Z)(r.prototype,"bannerActive",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Z=(0,re.Z)(r.prototype,"blockerActive",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),C=(0,re.Z)(r.prototype,"imprintId",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=(0,re.Z)(r.prototype,"imprintExternalUrl",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,re.Z)(r.prototype,"imprintIsExternalUrl",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,re.Z)(r.prototype,"privacyPolicyId",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,re.Z)(r.prototype,"privacyPolicyExternalUrl",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,re.Z)(r.prototype,"privacyPolicyIsExternalUrl",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,re.Z)(r.prototype,"hidePageIds",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=(0,re.Z)(r.prototype,"setCookiesViaManager",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=(0,re.Z)(r.prototype,"acceptAllForBots",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=(0,re.Z)(r.prototype,"respectDoNotTrack",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,re.Z)(r.prototype,"cookieDuration",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,re.Z)(r.prototype,"saveIp",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,re.Z)(r.prototype,"ePrivacyUSA",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,re.Z)(r.prototype,"ageNotice",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=(0,re.Z)(r.prototype,"listServicesNotice",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=(0,re.Z)(r.prototype,"consentForwarding",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),V=(0,re.Z)(r.prototype,"forwardTo",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),U=(0,re.Z)(r.prototype,"crossDomains",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=(0,re.Z)(r.prototype,"affiliateLink",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),G=(0,re.Z)(r.prototype,"affiliateLabelBehind",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=(0,re.Z)(r.prototype,"affiliateLabelDescription",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),W=(0,re.Z)(r.prototype,"countryBypass",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=(0,re.Z)(r.prototype,"countryBypassCountries",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),H=(0,re.Z)(r.prototype,"countryBypassType",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),q=(0,re.Z)(r.prototype,"countryBypassDbDownloadTime",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Q=(0,re.Z)(r.prototype,"tcf",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Y=(0,re.Z)(r.prototype,"tcfPublisherCc",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=(0,re.Z)(r.prototype,"tcfAcceptedTime",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$=(0,re.Z)(r.prototype,"tcfGvlDownloadTime",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=(0,re.Z)(r.prototype,"tcfScopeOfConsent",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),K=(0,re.Z)(r.prototype,"consentDuration",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ee=(0,re.Z)(r.prototype,"consentsDeletedAt",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),te=(0,re.Z)(r.prototype,"others",[ie.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,re.Z)(r.prototype,"isOnlyRcbCookieCreated",[ie.computed],Object.getOwnPropertyDescriptor(r.prototype,"isOnlyRcbCookieCreated"),r.prototype),(0,re.Z)(r.prototype,"areSettingsFetched",[ie.computed],Object.getOwnPropertyDescriptor(r.prototype,"areSettingsFetched"),r.prototype),(0,re.Z)(r.prototype,"setFromCurrentRevision",[ie.action],Object.getOwnPropertyDescriptor(r.prototype,"setFromCurrentRevision"),r.prototype),(0,re.Z)(r.prototype,"setShowLicenseFormImmediate",[ie.action],Object.getOwnPropertyDescriptor(r.prototype,"setShowLicenseFormImmediate"),r.prototype),r)},1637:(e,t,o)=>{o.d(t,{C:()=>P});var r,i,n,s,a,l,c,p,u,h,b=o(6921),d=o(9888),y=o(7821),f=o(1339),m=o(3792),g=o(8318),v=o(7669),w=o(2115),k=o(9601),Z=o(5593),C=o(6372),R=o(7244);let P=(r=class{get sortedExternalUrls(){const e=Array.from(this.resultExternalUrls.values());return e.sort(((e,t)=>e.inactive===t.inactive?0:e.inactive?1:-1)),e}get presetsCount(){return this.fetchedAllResultPresets?this.resultPresets.size:this.rootStore.optionStore.allScannerResultPresetsCount}get externalUrlsCount(){return this.fetchedAllResultExternalUrls?this.resultExternalUrls.size:this.rootStore.optionStore.allScannerResultExternalUrlsCount}get canShowResults(){var e;return this.presetsCount+this.externalUrlsCount>0&&(null===(e=this.rootStore.checklistStore.checklist)||void 0===e?void 0:e.items.scanner.checked)}get foundScanResultsCount(){return this.resultPresets.size+this.resultExternalUrls.size}get needsAttentionCount(){return[...this.resultPresets.values(),...this.resultExternalUrls.values()].filter((({inactive:e})=>!e)).length}constructor(e){(0,b.Z)(this,"resultPresets",i,this),(0,b.Z)(this,"busyResultPresets",n,this),(0,b.Z)(this,"fetchedAllResultPresets",s,this),(0,b.Z)(this,"resultExternalUrls",a,this),(0,b.Z)(this,"resultAllExternalUrls",l,this),(0,b.Z)(this,"busyExternalUrls",c,this),(0,b.Z)(this,"fetchedAllResultExternalUrls",p,this),(0,b.Z)(this,"busyMarkup",u,this),(0,b.Z)(this,"resultMarkup",h,this),this.rootStore=void 0,this.addUrlsToQueue=(0,y.flow)((function*(e){return yield(0,v.W)({location:w.k,request:e})})),this.fetchResultPresets=(0,y.flow)((function*(){this.busyResultPresets=!0;try{this.resultPresetsFromResponse(yield(0,v.W)({location:k.e})),this.fetchedAllResultPresets=!0}catch(e){throw console.log(e),e}finally{this.busyResultPresets=!1}})),this.fetchResultExternals=(0,y.flow)((function*(){this.busyExternalUrls=!0;try{this.resultExternalUrlsFromResponse(yield(0,v.W)({location:Z.M})),this.fetchedAllResultExternalUrls=!0}catch(e){throw console.log(e),e}finally{this.busyExternalUrls=!1}})),this.fetchResultAllExternals=(0,y.flow)((function*(e){const t=e instanceof f.o?"host":"preset",{identifier:o}=e;e.busy=!0;try{const{items:r}=yield(0,v.W)({location:C.M,params:{type:t,identifier:"host"===t?o.replace(/\./g,"_"):o}});let i=this.resultAllExternalUrls.get(o);if(i){const e=r.map((({id:e})=>e));for(const t of i.keys())-1===e.indexOf(t)&&i.delete(t)}else i=new Map;for(const e of Object.values(r))i.set(e.id,new m.a(e,this)),this.resultAllExternalUrls.set(o,i)}catch(e){throw console.log(e),e}finally{e.busy=!1}})),this.fetchMarkup=(0,y.flow)((function*(e){this.busyMarkup=!0;try{const t=yield(0,v.W)({location:R.$,params:{id:e}});this.resultMarkup.set(e,t)}catch(e){throw console.log(e),e}finally{this.busyMarkup=!1}})),this.rootStore=e}resultPresetsFromResponse({items:e}){const t=Object.keys(e);for(const e of this.resultPresets.keys())-1===t.indexOf(e)&&this.resultPresets.delete(e);for(const o of t)this.resultPresets.set(o,new g.g(e[o],this))}resultExternalUrlsFromResponse({items:e}){const t=Object.keys(e);for(const e of this.resultExternalUrls.keys())-1===t.indexOf(e)&&this.resultExternalUrls.delete(e);for(const o of t)this.resultExternalUrls.set(o,new f.o(e[o],this))}},i=(0,d.Z)(r.prototype,"resultPresets",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),n=(0,d.Z)(r.prototype,"busyResultPresets",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),s=(0,d.Z)(r.prototype,"fetchedAllResultPresets",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,d.Z)(r.prototype,"resultExternalUrls",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),l=(0,d.Z)(r.prototype,"resultAllExternalUrls",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),c=(0,d.Z)(r.prototype,"busyExternalUrls",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),p=(0,d.Z)(r.prototype,"fetchedAllResultExternalUrls",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),u=(0,d.Z)(r.prototype,"busyMarkup",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),h=(0,d.Z)(r.prototype,"resultMarkup",[y.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),(0,d.Z)(r.prototype,"sortedExternalUrls",[y.computed],Object.getOwnPropertyDescriptor(r.prototype,"sortedExternalUrls"),r.prototype),(0,d.Z)(r.prototype,"presetsCount",[y.computed],Object.getOwnPropertyDescriptor(r.prototype,"presetsCount"),r.prototype),(0,d.Z)(r.prototype,"externalUrlsCount",[y.computed],Object.getOwnPropertyDescriptor(r.prototype,"externalUrlsCount"),r.prototype),(0,d.Z)(r.prototype,"canShowResults",[y.computed],Object.getOwnPropertyDescriptor(r.prototype,"canShowResults"),r.prototype),(0,d.Z)(r.prototype,"foundScanResultsCount",[y.computed],Object.getOwnPropertyDescriptor(r.prototype,"foundScanResultsCount"),r.prototype),(0,d.Z)(r.prototype,"needsAttentionCount",[y.computed],Object.getOwnPropertyDescriptor(r.prototype,"needsAttentionCount"),r.prototype),(0,d.Z)(r.prototype,"resultPresetsFromResponse",[y.action],Object.getOwnPropertyDescriptor(r.prototype,"resultPresetsFromResponse"),r.prototype),(0,d.Z)(r.prototype,"resultExternalUrlsFromResponse",[y.action],Object.getOwnPropertyDescriptor(r.prototype,"resultExternalUrlsFromResponse"),r.prototype),r)},6484:(e,t,o)=>{o.d(t,{e:()=>u});var r,i,n=o(6921),s=o(9888),a=o(7821),l=o(8700),c=o(8488),p=o.n(c);let u=(r=class extends l.BaseOptions{constructor(e){super(),(0,n.Z)(this,"busyStats",i,this),this.rootStore=void 0,this.stats=a.observable.object({main:void 0,buttonsClicked:void 0,customBypass:void 0},{},{deep:!1}),this.filters=a.observable.object({dates:void 0,context:void 0},{},{deep:!1}),this.fetchMain=(0,a.flow)((function*(){throw new Error("This feature is not available in the free version.")})),this.fetchButtonsClicked=(0,a.flow)((function*(){throw new Error("This feature is not available in the free version.")})),this.fetchCustomBypass=(0,a.flow)((function*(){throw new Error("This feature is not available in the free version.")})),this.rootStore=e,(0,a.runInAction)((()=>{this.filters.dates=[p()().subtract(30,"days"),p()()],this.filters.context=this.rootStore.optionStore.others.context}))}applyDates(e){this.filters.dates=e}applyContext(e){this.filters.context=e}},i=(0,s.Z)(r.prototype,"busyStats",[a.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{main:!1,buttonClicked:!1,customBypass:!1}}}),(0,s.Z)(r.prototype,"applyDates",[a.action],Object.getOwnPropertyDescriptor(r.prototype,"applyDates"),r.prototype),(0,s.Z)(r.prototype,"applyContext",[a.action],Object.getOwnPropertyDescriptor(r.prototype,"applyContext"),r.prototype),r)},9743:(e,t,o)=>{o.d(t,{M:()=>b,m:()=>d});var r=o(7821),i=o(8700),n=o(2654),s=o(8943),a=o(6649),l=o(3721),c=o(6484),p=o(9171),u=o(2793),h=o(1637);(0,r.configure)({enforceActions:"always"});class b{get context(){return this.contextMemo?this.contextMemo:this.contextMemo=(0,i.createContextFactory)(this)}constructor(){this.optionStore=void 0,this.customizeBannerStore=void 0,this.cookieStore=void 0,this.consentStore=void 0,this.statsStore=void 0,this.checklistStore=void 0,this.tcfStore=void 0,this.scannerStore=void 0,this.contextMemo=void 0,this.optionStore=new n.a(this),this.customizeBannerStore=new s.W(this),this.cookieStore=new a.h(this),this.consentStore=new l.v(this),this.statsStore=new c.e(this),this.checklistStore=new p.L(this),this.tcfStore=new u.z(this),this.scannerStore=new h.C(this)}static get StoreProvider(){return b.get.context.StoreProvider}static get get(){return b.me?b.me:b.me=new b}}b.me=void 0;const d=()=>b.get.context.useStores()},2793:(e,t,o)=>{o.d(t,{z:()=>_});var r,i,n,s,a,l,c,p,u,h,b,d,y,f,m=o(6921),g=o(9888),v=o(7821),w=o(8700),k=o(515),Z=o(4747),C=o(1039),R=o(7669),P=o(2515),S=o(8272),O=o(1112),E=o(303);let _=(r=class extends w.BaseOptions{get vendorConfigurationCount(){return this.fetchedAllVendorConfigurations?this.vendorConfigurations.entries.size:this.rootStore.optionStore.allTcfVendorConfigurationCount}constructor(e){super(),(0,m.Z)(this,"busyGvl",i,this),(0,m.Z)(this,"busyVendors",n,this),(0,m.Z)(this,"busyDeclarations",s,this),(0,m.Z)(this,"vendorConfigurations",a,this),(0,m.Z)(this,"fetchedAllVendorConfigurations",l,this),(0,m.Z)(this,"vendorListVersion",c,this),(0,m.Z)(this,"gvlSpecificationVersion",p,this),(0,m.Z)(this,"tcfPolicyVersion",u,this),(0,m.Z)(this,"vendors",h,this),(0,m.Z)(this,"purposes",b,this),(0,m.Z)(this,"specialPurposes",d,this),(0,m.Z)(this,"features",y,this),(0,m.Z)(this,"specialFeatures",f,this),this.rootStore=void 0,this.fetchVendorConfigurations=(0,v.flow)((function*(){const e=Math.ceil(this.vendorConfigurationCount/100);for(let t=0;t<e;t++)yield this.vendorConfigurations.get({request:{status:["draft","publish","private"]},params:{offset:100*t,per_page:100,context:"edit"}});this.fetchedAllVendorConfigurations=!0})),this.fetchVendors=(0,v.flow)((function*(){this.busyVendors=!0;try{const{vendorListVersion:e,vendors:t}=yield(0,R.W)({location:Z.f});for(const e of Object.keys(t))this.vendors.set(e,new P.C(t[e],this));this.vendorListVersion=e}catch(e){throw console.log(e),e}finally{this.busyVendors=!1}})),this.fetchDeclarations=(0,v.flow)((function*(){this.busyDeclarations=!0;try{const{gvlSpecificationVersion:e,tcfPolicyVersion:t,purposes:o,specialPurposes:r,features:i,specialFeatures:n}=yield(0,R.W)({location:k.Y});for(const e of Object.keys(o))this.purposes.set(e,new S.v(o[e],!1,this));for(const e of Object.keys(r))this.specialPurposes.set(e,new S.v(r[e],!0,this));for(const e of Object.keys(i))this.features.set(e,new O.i(i[e],!1,this));for(const e of Object.keys(n))this.specialFeatures.set(e,new O.i(n[e],!0,this));this.gvlSpecificationVersion=e,this.tcfPolicyVersion=t}catch(e){throw console.log(e),e}finally{this.busyDeclarations=!1}})),this.updateGvl=(0,v.flow)((function*(){this.busyGvl=!0;try{const{gvlDownloadTime:e}=yield(0,R.W)({location:C.y});this.rootStore.optionStore.tcfGvlDownloadTime=e}catch(e){throw console.log(e),e}finally{this.busyGvl=!1}})),this.rootStore=e,(0,v.runInAction)((()=>{this.vendorConfigurations=new E.C(this)}))}},i=(0,g.Z)(r.prototype,"busyGvl",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n=(0,g.Z)(r.prototype,"busyVendors",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),s=(0,g.Z)(r.prototype,"busyDeclarations",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,g.Z)(r.prototype,"vendorConfigurations",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,g.Z)(r.prototype,"fetchedAllVendorConfigurations",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),c=(0,g.Z)(r.prototype,"vendorListVersion",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=(0,g.Z)(r.prototype,"gvlSpecificationVersion",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,g.Z)(r.prototype,"tcfPolicyVersion",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,g.Z)(r.prototype,"vendors",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),b=(0,g.Z)(r.prototype,"purposes",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),d=(0,g.Z)(r.prototype,"specialPurposes",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),y=(0,g.Z)(r.prototype,"features",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),f=(0,g.Z)(r.prototype,"specialFeatures",[v.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new Map}}),(0,g.Z)(r.prototype,"vendorConfigurationCount",[v.computed],Object.getOwnPropertyDescriptor(r.prototype,"vendorConfigurationCount"),r.prototype),r)},2208:(e,t,o)=>{o.d(t,{b:()=>i,u:()=>r});const r="rcb-scan",i="rcb-automatic-scan-starter"},1589:(e,t,o)=>{function r(e){const t=document.createElement("textarea");t.innerText=e,document.body.appendChild(t),t.select(),document.execCommand("copy"),t.remove()}o.d(t,{v:()=>r})},1048:(e,t,o)=>{function r(){return window["real-cookie-banner".replace(/-([a-z])/g,(e=>e[1].toUpperCase()))]}o.d(t,{m:()=>r})},9712:(e,t,o)=>{o.d(t,{u:()=>i});var r=o(1048);function i(){return(0,r.m)().others}},5217:(e,t,o)=>{o.d(t,{__:()=>l,_i:()=>c,_n:()=>s,_x:()=>a});var r=o(8700);let i;function n(){return i||(i=(0,r.createLocalizationFactory)(r.BaseOptions.getPureSlug("real-cookie-banner")))}const s=(...e)=>n()._n(...e),a=(...e)=>n()._x(...e),l=(...e)=>n().__(...e),c=(...e)=>n()._i(...e)},7669:(e,t,o)=>{o.d(t,{W:()=>a,Y:()=>s});var r=o(8700);let i;function n(){return i||(i=(0,r.createRequestFactory)(window[r.BaseOptions.getPureSlug("real-cookie-banner",!0)]))}const s=(...e)=>n().urlBuilder(...e),a=(...e)=>n().request(...e)},1712:(e,t,o)=>{function r(e=0){document.body.scrollTop=e,document.documentElement.scrollTop=e}o.d(t,{X:()=>r})},8503:(e,t,o)=>{function r(e,t=50,o="..."){if(!e||e.length<=t)return e;const r=t-o.length,i=Math.ceil(r/2),n=Math.floor(r/2);return e.substr(0,i)+o+e.substr(e.length-n)}o.d(t,{r:()=>r})},2377:(e,t,o)=>{o.d(t,{g:()=>r});const r={path:"/checklist",method:o(8700).RouteHttpVerb.GET}},5654:(e,t,o)=>{o.d(t,{s:()=>r});const r={path:"/checklist/:id",method:o(8700).RouteHttpVerb.PUT}},3612:(e,t,o)=>{o.d(t,{O:()=>r});const r={path:"/consent/all",method:o(8700).RouteHttpVerb.DELETE}},8516:(e,t,o)=>{o.d(t,{c:()=>r});const r={path:"/consent/all",method:o(8700).RouteHttpVerb.GET}},8420:(e,t,o)=>{o.d(t,{q:()=>r});const r={path:"/consent/referer",method:o(8700).RouteHttpVerb.GET}},8067:(e,t,o)=>{o.d(t,{B:()=>r});const r={path:"/cookie-groups/order",method:o(8700).RouteHttpVerb.PUT}},3950:(e,t,o)=>{o.d(t,{p:()=>r});const r={path:"/cookies/unassigned",method:o(8700).RouteHttpVerb.GET}},8903:(e,t,o)=>{o.d(t,{I:()=>r});const r={path:"/cookies/order",method:o(8700).RouteHttpVerb.PUT}},648:(e,t,o)=>{o.d(t,{_:()=>r});const r={path:"/country-bypass/database",method:o(8700).RouteHttpVerb.PUT}},534:(e,t,o)=>{o.d(t,{V:()=>r});const r={path:"/export",method:o(8700).RouteHttpVerb.GET}},9338:(e,t,o)=>{o.d(t,{Q:()=>r});const r={path:"/export/consents",method:o(8700).RouteHttpVerb.GET}},4161:(e,t,o)=>{o.d(t,{V:()=>r});const r={path:"/forward/cookie/:slug",method:o(8700).RouteHttpVerb.GET}},1079:(e,t,o)=>{o.d(t,{A:()=>r});const r={path:"/forward/endpoints",method:o(8700).RouteHttpVerb.GET}},4018:(e,t,o)=>{o.d(t,{H:()=>r});const r={path:"/import",method:o(8700).RouteHttpVerb.POST}},6568:(e,t,o)=>{o.d(t,{gn:()=>R.g,s5:()=>P.s,Ok:()=>f.O,cI:()=>y.c,rz:()=>Z,aY:()=>B,vY:()=>E,JQ:()=>h,PM:()=>u,qD:()=>Q.q,BI:()=>l.B,pV:()=>S.p,It:()=>c.I,_3:()=>V._,QB:()=>C.Q,Vm:()=>w.V,Vc:()=>_.V,AW:()=>O.A,HR:()=>k.H,nQ:()=>z.n,oW:()=>N.o,nX:()=>U.n,iO:()=>Y.i,tX:()=>n.t,N9:()=>T.N,Wu:()=>s.W,tw:()=>A.t,zf:()=>a.z,GQ:()=>b.G,a4:()=>d.a,Z1:()=>x.Z,TB:()=>D.T,kv:()=>G.k,ME:()=>H.M,Ce:()=>L.C,MQ:()=>W.M,$5:()=>q.$,eO:()=>F.e,$Q:()=>v,gh:()=>g,BV:()=>m,Y3:()=>j.Y,yR:()=>M.y,fs:()=>I.f,g3:()=>r.g,J3:()=>i.J});var r=o(5391),i=o(1211),n=o(8172),s=o(8213),a=o(702),l=o(8067),c=o(8903),p=o(8700);const u={path:"/consent",method:p.RouteHttpVerb.POST},h={path:"/consent",method:p.RouteHttpVerb.GET};var b=o(4791),d=o(1734),y=o(8516),f=o(3612);const m={path:"/stats/main",method:p.RouteHttpVerb.GET},g={path:"/stats/customBypass",method:p.RouteHttpVerb.GET},v={path:"/stats/buttonsClicked",method:p.RouteHttpVerb.GET};var w=o(534),k=o(4018);const Z={path:"/consent/clear",method:p.RouteHttpVerb.DELETE};var C=o(9338),R=o(2377),P=o(5654),S=o(3950),O=o(1079);const E={path:"/consent/forward",method:p.RouteHttpVerb.POST};var _=o(4161),z=o(4474),x=o(9560),D=o(6521),T=o(6406),A=o(6364),M=o(1039),I=o(4747),j=o(515);const B={path:"/consent/dynamic-predecision",method:p.RouteHttpVerb.POST};var V=o(648),U=o(4358),N=o(9190),G=o(2115),F=o(9601),W=o(5593),L=o(3943),H=o(6372),q=o(7244),Q=o(8420),Y=o(1515)},4474:(e,t,o)=>{o.d(t,{n:()=>r});const r={path:"/dismiss-config-page-pro-notice",method:o(8700).RouteHttpVerb.DELETE}},9190:(e,t,o)=>{o.d(t,{o:()=>r});const r={path:"/migration/:migration",method:o(8700).RouteHttpVerb.DELETE}},4358:(e,t,o)=>{o.d(t,{n:()=>r});const r={path:"/migration/:migration/:action",method:o(8700).RouteHttpVerb.POST}},6265:(e,t,o)=>{o.d(t,{C:()=>r});const r={path:"/modal-hint",method:o(8700).RouteHttpVerb.PUT}},1515:(e,t,o)=>{o.d(t,{i:()=>r});const r={path:"/nav-menu/add-links",method:o(8700).RouteHttpVerb.POST}},8172:(e,t,o)=>{o.d(t,{t:()=>r});const r={path:"/presets/banner",method:o(8700).RouteHttpVerb.GET}},8213:(e,t,o)=>{o.d(t,{W:()=>r});const r={path:"/presets/blocker",method:o(8700).RouteHttpVerb.GET}},6406:(e,t,o)=>{o.d(t,{N:()=>r});const r={path:"/presets/blocker/:identifier",method:o(8700).RouteHttpVerb.GET}},702:(e,t,o)=>{o.d(t,{z:()=>r});const r={path:"/presets/cookies",method:o(8700).RouteHttpVerb.GET}},6364:(e,t,o)=>{o.d(t,{t:()=>r});const r={path:"/presets/cookies/:identifier",method:o(8700).RouteHttpVerb.GET}},9560:(e,t,o)=>{o.d(t,{Z:()=>r});const r={path:"/revision/:hash",method:o(8700).RouteHttpVerb.GET}},4791:(e,t,o)=>{o.d(t,{G:()=>r});const r={path:"/revision/current",method:o(8700).RouteHttpVerb.GET}},1734:(e,t,o)=>{o.d(t,{a:()=>r});const r={path:"/revision/current",method:o(8700).RouteHttpVerb.PUT}},6521:(e,t,o)=>{o.d(t,{T:()=>r});const r={path:"/revision/independent/:hash",method:o(8700).RouteHttpVerb.GET}},2115:(e,t,o)=>{o.d(t,{k:()=>r});const r={path:"/scanner/queue",method:o(8700).RouteHttpVerb.POST}},6372:(e,t,o)=>{o.d(t,{M:()=>r});const r={path:"/scanner/result/externals/:type/:identifier",method:o(8700).RouteHttpVerb.GET}},5593:(e,t,o)=>{o.d(t,{M:()=>r});const r={path:"/scanner/result/externals",method:o(8700).RouteHttpVerb.GET}},3943:(e,t,o)=>{o.d(t,{C:()=>r});const r={path:"/scanner/result/externals/:host",method:o(8700).RouteHttpVerb.PUT}},7244:(e,t,o)=>{o.d(t,{$:()=>r});const r={path:"/scanner/result/markup/:id",method:o(8700).RouteHttpVerb.GET}},9601:(e,t,o)=>{o.d(t,{e:()=>r});const r={path:"/scanner/result/presets",method:o(8700).RouteHttpVerb.GET}},515:(e,t,o)=>{o.d(t,{Y:()=>r});const r={path:"/tcf/declarations",method:o(8700).RouteHttpVerb.GET}},1039:(e,t,o)=>{o.d(t,{y:()=>r});const r={path:"/tcf/gvl",method:o(8700).RouteHttpVerb.PUT}},4747:(e,t,o)=>{o.d(t,{f:()=>r});const r={path:"/tcf/vendors",method:o(8700).RouteHttpVerb.GET}},5391:(e,t,o)=>{o.d(t,{g:()=>r});const r={path:"/settings",namespace:"wp/v2",method:o(8700).RouteHttpVerb.GET}},1211:(e,t,o)=>{o.d(t,{J:()=>r});const r={path:"/settings",namespace:"wp/v2",method:o(8700).RouteHttpVerb.PATCH}},8852:()=>{},9494:()=>{},7363:e=>{e.exports=React},1533:e=>{e.exports=ReactDOM},6711:e=>{e.exports=ReactRouterDOM},490:e=>{e.exports=devowlWp_customize},9445:e=>{e.exports=devowlWp_realProductManagerWpClient},6:e=>{e.exports=devowlWp_realQueue},8700:e=>{e.exports=devowlWp_utils},5311:e=>{e.exports=jQuery},7821:e=>{e.exports=mobx},8488:e=>{e.exports=moment},5998:e=>{e.exports=wp}},i={};function n(e){var t=i[e];if(void 0!==t)return t.exports;var o=i[e]={id:e,loaded:!1,exports:{}};return r[e](o,o.exports,n),o.loaded=!0,o.exports}n.m=r,e=[],n.O=(t,o,r,i)=>{if(!o){var s=1/0;for(p=0;p<e.length;p++){for(var[o,r,i]=e[p],a=!0,l=0;l<o.length;l++)(!1&i||s>=i)&&Object.keys(n.O).every((e=>n.O[e](o[l])))?o.splice(l--,1):(a=!1,i<s&&(s=i));if(a){e.splice(p--,1);var c=r();void 0!==c&&(t=c)}}return t}i=i||0;for(var p=e.length;p>0&&e[p-1][2]>i;p--)e[p]=e[p-1];e[p]=[o,r,i]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,o)=>(n.f[o](e,t),t)),[])),n.u=e=>(({3:"chunk-config-tab-scanner",184:"chunk-config-tab-tcf",322:"chunk-config-tab-licensing",357:"chunk-config-tab-import",379:"chunk-config-tab-dashboard",478:"chunk-config-tab-blocker",625:"chunk-config-tab-consent",718:"chunk-config-tab-cookies",768:"chunk-config-tab-settings"}[e]||e)+".lite.js?ver="+{3:"fda8a3d7baf68c23de17",81:"1597b7ea247ebc729b3f",85:"c1cace28db802702418a",184:"fe97b05fb51ed960cc94",185:"06765c274e74fab6e574",307:"73276fcc2cfb96b77e26",322:"5e85950ce97d48f995ac",357:"7df71e03e569097e1232",379:"54231007934f68c04f42",414:"80bd17f5390c8b52cd65",446:"8bd9b252600f8f721c0e",466:"b69d94a17213c9cde347",474:"acc17755b51f87dc3229",478:"76f4ec784e34db6f7508",544:"046af70c36e9f6a7dfd9",578:"36d419efcf879ad47d09",625:"076d92e5df126e3aa1fd",637:"ef6cb6d16781bb56366d",718:"7bc9539bfbf1059837b6",737:"f0776900ca027073c701",768:"9cbb4b6f33a116a0e1b5",793:"20235de6234cd515b3d0",853:"e18a682e86c2a3514386",902:"dff6cad5a218cf713e40",932:"cba370a1023bd0e9d17c"}[e]),n.miniCssF=e=>"admin.css",n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),t={},o="realCookieBanner_:",n.l=(e,r,i,s)=>{if(t[e])t[e].push(r);else{var a,l;if(void 0!==i)for(var c=document.getElementsByTagName("script"),p=0;p<c.length;p++){var u=c[p];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==o+i){a=u;break}}a||(l=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,n.nc&&a.setAttribute("nonce",n.nc),a.setAttribute("data-webpack",o+i),a.src=e),t[e]=[r];var h=(o,r)=>{a.onerror=a.onload=null,clearTimeout(b);var i=t[e];if(delete t[e],a.parentNode&&a.parentNode.removeChild(a),i&&i.forEach((e=>e(r))),o)return o(r)},b=setTimeout(h.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=h.bind(null,a.onerror),a.onload=h.bind(null,a.onload),l&&document.head.appendChild(a)}},n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var o=t.getElementsByTagName("script");o.length&&(e=o[o.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{var e={328:0};n.f.j=(t,o)=>{var r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)o.push(r[2]);else{var i=new Promise(((o,i)=>r=e[t]=[o,i]));o.push(r[2]=i);var s=n.p+n.u(t),a=new Error;n.l(s,(o=>{if(n.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var i=o&&("load"===o.type?"missing":o.type),s=o&&o.target&&o.target.src;a.message="Loading chunk "+t+" failed.\n("+i+": "+s+")",a.name="ChunkLoadError",a.type=i,a.request=s,r[1](a)}}),"chunk-"+t,t)}},n.O.j=t=>0===e[t];var t=(t,o)=>{var r,i,[s,a,l]=o,c=0;if(s.some((t=>0!==e[t]))){for(r in a)n.o(a,r)&&(n.m[r]=a[r]);if(l)var p=l(n)}for(t&&t(o);c<s.length;c++)i=s[c],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return n.O(p)},o=self.webpackChunkrealCookieBanner_=self.webpackChunkrealCookieBanner_||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var s=n.O(void 0,[194],(()=>n(6974)));s=n.O(s),realCookieBanner_admin=s})();
2
  //# sourceMappingURL=admin.lite.js.map
public/dist/admin.lite.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"admin.lite.js","mappings":"kDAAIA,ECAAC,EACAC,E,kBCAJ,IAAIC,EAQAC,E,iBANJ,SAAWD,GACTA,EAA8B,OAAI,SAClCA,EAA2B,IAAI,MAC/BA,EAA2B,IAAI,MAHjC,CAIGA,IAA0BA,EAAwB,KAIrD,SAAWC,GACTA,EAA2B,UAAI,KAC/BA,EAAyB,QAAI,KAC7BA,EAAuB,MAAI,KAC3BA,EAAwB,OAAI,KAC5BA,EAAwB,OAAI,KAC5BA,EAAuB,M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uB,EAAmBnoB,KAAO8nB,EAAqBlB,KAAK,KAAMuB,EAAmBnoB,KAAK4mB,KAAKuB,K,GClFvF,IAAIE,EAAsB5E,EAAoBK,OAAE9zB,EAAW,CAAC,MAAM,IAAOyzB,EAAoB,QAC7F4E,EAAsB5E,EAAoBK,EAAEuE,G","sources":["webpack:///webpack/runtime/chunk loaded","webpack:///webpack/runtime/load script","webpack:///../../backends/real-cookie-banner-backend/src/types/service/tcf.ts","webpack:///../../frontend-packages/cookie-consent-web-client/src/apply/getManagerDependingVariables.tsx","webpack:///../../frontend-packages/react-cookie-banner-admin/src/contexts/i18n.tsx","webpack:///../../frontend-packages/react-cookie-banner/src/utils/reactNl2Br.tsx","webpack:///./src/public/ts/admin.tsx","webpack:///./src/public/ts/components/config/dashboard/checklistItem.tsx","webpack:///./src/public/ts/components/config/dashboard/checklist.tsx","webpack:///./src/public/ts/components/config/noticeRevisionNeedsRetrigger.tsx","webpack:///./src/public/ts/components/config/noticeBannerActiveNoCookies.tsx","webpack:///./src/public/ts/components/config/noticeAnonymousScriptNotWritable.tsx","webpack:///./src/public/ts/components/config/noticeNoManager.tsx","webpack:///./src/public/ts/components/routerScrollToTop.tsx","webpack:///./src/public/ts/components/proHeadlineButton.tsx","webpack:///./src/public/ts/components/config/header.tsx","webpack:///./src/public/ts/components/config/footer.tsx","webpack:///./src/public/ts/components/configApp.tsx","webpack:///./src/public/ts/components/inAppFomoCouponCounter.tsx","webpack:///./src/public/ts/components/proModal.tsx","webpack:///./src/public/ts/components/proModalHint.tsx","webpack:///./src/public/ts/hooks/useProModal.tsx","webpack:///./src/public/ts/hooks/useScannerProgress.tsx","webpack:///./src/public/ts/models/bannerPreset.tsx","webpack:///./src/public/ts/models/blockerCollection.tsx","webpack:///./src/public/ts/models/blockerModel.tsx","webpack:///./src/public/ts/models/blockerPreset.tsx","webpack:///./src/public/ts/models/consent.tsx","webpack:///./src/public/ts/models/cookieCollection.tsx","webpack:///./src/public/ts/models/cookieGroupCollection.tsx","webpack:///./src/public/ts/models/cookieGroupModel.tsx","webpack:///./src/public/ts/models/cookieModel.tsx","webpack:///./src/public/ts/models/cookiePreset.tsx","webpack:///./src/public/ts/models/revision.tsx","webpack:///./src/public/ts/models/revisionIndependent.tsx","webpack:///./src/public/ts/models/scannerResultExternalUrl.tsx","webpack:///./src/public/ts/models/scannerResultExternalUrlSingle.tsx","webpack:///./src/public/ts/models/scannerResultPreset.tsx","webpack:///./src/public/ts/models/tcfFeature.tsx","webpack:///./src/public/ts/models/tcfPurpose.tsx","webpack:///./src/public/ts/models/tcfVendor.tsx","webpack:///./src/public/ts/models/tcfVendorConfigurationCollection.tsx","webpack:///./src/public/ts/models/tcfVendorConfigurationModel.tsx","webpack:///./src/public/ts/store/checklist.tsx","webpack:///./src/public/ts/store/consent.tsx","webpack:///./src/public/ts/store/cookie.tsx","webpack:///./src/public/ts/store/customizeBanner.tsx","webpack:///./src/public/ts/store/option.tsx","webpack:///./src/public/ts/store/scanner.tsx","webpack:///./src/public/ts/store/stats.tsx","webpack:///./src/public/ts/store/stores.tsx","webpack:///./src/public/ts/store/tcf.tsx","webpack:///./src/public/ts/types/queue.tsx","webpack:///./src/public/ts/utils/copyToClipboard.tsx","webpack:///./src/public/ts/utils/getOptionsFromWindow.tsx","webpack:///./src/public/ts/utils/getOtherOptionsFromWindow.tsx","webpack:///./src/public/ts/utils/i18n.tsx","webpack:///./src/public/ts/utils/request.tsx","webpack:///./src/public/ts/utils/scrollTo.tsx","webpack:///./src/public/ts/utils/truncateMiddle.tsx","webpack:///./src/public/ts/wp-api/checklist.get.tsx","webpack:///./src/public/ts/wp-api/checklist.put.tsx","webpack:///./src/public/ts/wp-api/consentAll.delete.tsx","webpack:///./src/public/ts/wp-api/consentAll.get.tsx","webpack:///./src/public/ts/wp-api/consentReferer.get.tsx","webpack:///./src/public/ts/wp-api/cookieGroupOrder.put.tsx","webpack:///./src/public/ts/wp-api/cookieUnassigned.get.tsx","webpack:///./src/public/ts/wp-api/cookiesOrder.put.tsx","webpack:///./src/public/ts/wp-api/countryBypassDatabase.put.tsx","webpack:///./src/public/ts/wp-api/export.get.tsx","webpack:///./src/public/ts/wp-api/exportConsents.get.tsx","webpack:///./src/public/ts/wp-api/forwardCookie.get.tsx","webpack:///./src/public/ts/wp-api/forwardEndpoints.get.tsx","webpack:///./src/public/ts/wp-api/import.post.tsx","webpack:///./src/public/ts/wp-api/consent.post.tsx","webpack:///./src/public/ts/wp-api/consent.get.tsx","webpack:///./src/public/ts/wp-api/statsMain.get.tsx","webpack:///./src/public/ts/wp-api/statsCustomBypass.get.tsx","webpack:///./src/public/ts/wp-api/statsButtonsClicked.tsx","webpack:///./src/public/ts/wp-api/consentClear.delete.tsx","webpack:///./src/public/ts/wp-api/consentForward.post.tsx","webpack:///./src/public/ts/wp-api/consentDynamicPredecision.get.tsx","webpack:///./src/public/ts/wp-api/liteDismissConfigPageProNotice.delete.tsx","webpack:///./src/public/ts/wp-api/migration.delete.tsx","webpack:///./src/public/ts/wp-api/migration.post.tsx","webpack:///./src/public/ts/wp-api/modalHintSeen.put.tsx","webpack:///./src/public/ts/wp-api/navMenuAddLinks.post.tsx","webpack:///./src/public/ts/wp-api/presetsBanner.get.tsx","webpack:///./src/public/ts/wp-api/presetsBlocker.get.tsx","webpack:///./src/public/ts/wp-api/presetsBlockerAttributes.get.tsx","webpack:///./src/public/ts/wp-api/presetsCookies.get.tsx","webpack:///./src/public/ts/wp-api/presetsCookiesAttributes.get.tsx","webpack:///./src/public/ts/wp-api/revision.get.tsx","webpack:///./src/public/ts/wp-api/revisionCurrent.get.tsx","webpack:///./src/public/ts/wp-api/revisionCurrent.put.tsx","webpack:///./src/public/ts/wp-api/revisionIndependent.get.tsx","webpack:///./src/public/ts/wp-api/scannerQueue.post.tsx","webpack:///./src/public/ts/wp-api/scannerResultsAllExternalUrls.get.tsx","webpack:///./src/public/ts/wp-api/scannerResultsExternal.get.tsx","webpack:///./src/public/ts/wp-api/scannerResultsExternalHost.put.tsx","webpack:///./src/public/ts/wp-api/scannerResultsMarkup.get.tsx","webpack:///./src/public/ts/wp-api/scannerResultsPreset.get.tsx","webpack:///./src/public/ts/wp-api/tcfDeclarations.get.tsx","webpack:///./src/public/ts/wp-api/tcfGvl.put.tsx","webpack:///./src/public/ts/wp-api/tcfVendors.get.tsx","webpack:///./src/public/ts/wp-api/wp/settings.get.tsx","webpack:///./src/public/ts/wp-api/wp/settings.patch.tsx","webpack:///external var \"React\"","webpack:///external var \"ReactDOM\"","webpack:///external var \"ReactRouterDOM\"","webpack:///external var \"devowlWp_customize\"","webpack:///external var \"devowlWp_realProductManagerWpClient\"","webpack:///external var \"devowlWp_realQueue\"","webpack:///external var \"devowlWp_utils\"","webpack:///external var \"jQuery\"","webpack:///external var \"mobx\"","webpack:///external var \"moment\"","webpack:///external var \"wp\"","webpack:///webpack/bootstrap","webpack:///webpack/runtime/compat get default export","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/ensure chunk","webpack:///webpack/runtime/get javascript chunk filename","webpack:///webpack/runtime/get mini-css chunk filename","webpack:///webpack/runtime/global","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/make namespace object","webpack:///webpack/runtime/node module decorator","webpack:///webpack/runtime/publicPath","webpack:///webpack/runtime/jsonp chunk loading","webpack:///webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var inProgress = {};\nvar dataWebpackPrefix = \"realCookieBanner_:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\t;\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","/* eslint-disable @typescript-eslint/no-empty-interface */\nvar ETcfGvlDisclosureType;\n\n(function (ETcfGvlDisclosureType) {\n ETcfGvlDisclosureType[\"Cookie\"] = \"cookie\";\n ETcfGvlDisclosureType[\"Web\"] = \"web\";\n ETcfGvlDisclosureType[\"App\"] = \"app\";\n})(ETcfGvlDisclosureType || (ETcfGvlDisclosureType = {}));\n\nvar ETcfGvlLanguage;\n\n(function (ETcfGvlLanguage) {\n ETcfGvlLanguage[\"Bulgarian\"] = \"bg\";\n ETcfGvlLanguage[\"Catalan\"] = \"ca\";\n ETcfGvlLanguage[\"Czech\"] = \"cs\";\n ETcfGvlLanguage[\"Danish\"] = \"da\";\n ETcfGvlLanguage[\"German\"] = \"de\";\n ETcfGvlLanguage[\"Greek\"] = \"el\";\n ETcfGvlLanguage[\"Spanish\"] = \"es\";\n ETcfGvlLanguage[\"Estonian\"] = \"et\";\n ETcfGvlLanguage[\"Basque\"] = \"eus\";\n ETcfGvlLanguage[\"Finnish\"] = \"fi\";\n ETcfGvlLanguage[\"French\"] = \"fr\";\n ETcfGvlLanguage[\"Galician\"] = \"gl\";\n ETcfGvlLanguage[\"Croatian\"] = \"hr\";\n ETcfGvlLanguage[\"Hungarian\"] = \"hu\";\n ETcfGvlLanguage[\"Italian\"] = \"it\";\n ETcfGvlLanguage[\"Japanese\"] = \"ja\";\n ETcfGvlLanguage[\"Lithuanian\"] = \"lt\";\n ETcfGvlLanguage[\"Latvian\"] = \"lv\";\n ETcfGvlLanguage[\"Maltese\"] = \"mt\";\n ETcfGvlLanguage[\"Dutch\"] = \"nl\";\n ETcfGvlLanguage[\"Norwegian\"] = \"no\";\n ETcfGvlLanguage[\"Polish\"] = \"pl\";\n ETcfGvlLanguage[\"Portuguese\"] = \"pt\";\n ETcfGvlLanguage[\"Romanian\"] = \"ro\";\n ETcfGvlLanguage[\"SerbianCyrillic\"] = \"sr-Cyrl\";\n ETcfGvlLanguage[\"SerbianLatin\"] = \"sr-Latn\";\n ETcfGvlLanguage[\"Russian\"] = \"ru\";\n ETcfGvlLanguage[\"Slovak\"] = \"sk\";\n ETcfGvlLanguage[\"Slovenian\"] = \"sl\";\n ETcfGvlLanguage[\"Swedish\"] = \"sv\";\n ETcfGvlLanguage[\"Turkish\"] = \"tr\";\n ETcfGvlLanguage[\"Chinese\"] = \"zh\";\n})(ETcfGvlLanguage || (ETcfGvlLanguage = {}));\n\nexport { ETcfGvlLanguage, ETcfGvlDisclosureType };","export const LABEL_GTM = \"Google Tag Manager\";\nexport const LABEL_MTM = \"Matomo Tag Manager\";\n\nfunction getManagerDependingVariables(setCookiesViaManager, presetId) {\n let useGlobalObjectName;\n let getDataLayer;\n let serviceIsManager = false;\n let managerLabel = \"\";\n let expectedManagerPresetId;\n\n if (setCookiesViaManager && setCookiesViaManager !== \"none\") {\n const isGtm = setCookiesViaManager === \"googleTagManager\";\n const isMtm = setCookiesViaManager === \"matomoTagManager\";\n\n if (isGtm) {\n expectedManagerPresetId = \"gtm\";\n useGlobalObjectName = \"dataLayer\";\n managerLabel = LABEL_GTM;\n } else if (isMtm) {\n expectedManagerPresetId = \"mtm\";\n useGlobalObjectName = \"_mtm\";\n managerLabel = LABEL_MTM;\n }\n\n if (isGtm || isMtm) {\n getDataLayer = () => {\n window[useGlobalObjectName] = window[useGlobalObjectName] || [];\n return window[useGlobalObjectName];\n };\n }\n\n if (expectedManagerPresetId && presetId === expectedManagerPresetId) {\n serviceIsManager = true;\n }\n }\n\n return {\n getDataLayer,\n serviceIsManager,\n managerLabel,\n expectedManagerPresetId\n };\n}\n\nexport { getManagerDependingVariables };","import { createContext, useContext } from \"react\";\n\n/**\n * Create a side-effect-free context provider.\n */\nclass I18nContextFactory {\n static Context() {\n return this.context = this.context || /*#__PURE__*/createContext({});\n }\n\n}\n\nI18nContextFactory.context = void 0;\n\nfunction useI18n() {\n return useContext(I18nContextFactory.Context());\n}\n\nexport { I18nContextFactory, useI18n };","import { createElement } from \"react\";\nconst newlineRegex = /(\\r\\n|\\r|\\n|<br[ ]?\\/>)/g;\n/**\n * @see https://codesandbox.io/s/94k7k80jxy\n */\n\nconst reactNl2Br = text => text.split(newlineRegex).map((line, index) => line.match(newlineRegex) ? /*#__PURE__*/createElement(\"br\", {\n key: index\n}) : line);\n\nexport { reactNl2Br };","import _message from \"antd/es/message\";\nimport _ConfigProvider from \"antd/es/config-provider\";\n\n/* istanbul ignore file: we do not need to care about the entry point file as errors are detected through integration tests (E2E) */\n\n/**\n * The entry point for the admin side wp-admin resource (config page).\n */\nimport \"mobx-react/batchingForReactDom\";\nimport { render } from \"react-dom\";\nimport { RootStore } from \"./store\";\nimport { ConfigApp } from \"./components/configApp\";\nimport \"./style/antd.less\";\nimport \"./style/admin.scss\";\nimport moment from \"moment\";\nimport { handleCorrupRestApi, getWebpackPublicPath } from \"@devowl-wp/utils\";\nimport { request, __, _i } from \"./utils\";\nimport { I18nContextFactory } from \"@devowl-wp/react-cookie-banner-admin\";\n__webpack_public_path__ = getWebpackPublicPath(process.env.slug);\nhandleCorrupRestApi === null || handleCorrupRestApi === void 0 ? void 0 : handleCorrupRestApi({\n [RootStore.get.optionStore.restNamespace]: async () => {\n await request({\n location: {\n path: \"/plugin\"\n }\n });\n },\n [\"wp/v2\"]: async () => {\n await request({\n location: {\n path: \"/settings\",\n namespace: \"wp/v2\"\n }\n });\n }\n}); // Configure prefix for root (https://bit.ly/3wb2pv9)\n\n_ConfigProvider.config({\n prefixCls: process.env.ANTD_PREFIX\n});\n\n_message.config({\n top: 50\n});\n\nconst node = document.getElementById(\"\".concat(RootStore.get.optionStore.slug, \"-component\"));\n\nif (node) {\n const I18nContext = I18nContextFactory.Context();\n render( /*#__PURE__*/React.createElement(I18nContext.Provider, {\n value: {\n __,\n _i\n }\n }, /*#__PURE__*/React.createElement(_ConfigProvider, {\n prefixCls: process.env.ANTD_PREFIX,\n locale: {\n locale: moment.locale()\n }\n }, /*#__PURE__*/React.createElement(RootStore.StoreProvider, null, /*#__PURE__*/React.createElement(ConfigApp, null)))), node);\n} // Expose this functionalities to add-ons, but you need to activate the library functionality\n// in your webpack configuration, see also https://webpack.js.org/guides/author-libraries/\n\n\nexport * from \"@devowl-wp/utils\";\nexport * from \"./wp-api\";\nexport * from \"./store\";","import _Tooltip from \"antd/es/tooltip\";\nimport _Tag from \"antd/es/tag\";\nimport { observer } from \"mobx-react\";\nimport { __ } from \"../../../utils\";\nimport { CheckCircleOutlined, CheckCircleFilled, InfoCircleFilled } from \"@ant-design/icons\";\nimport { useStores } from \"../../../store\";\nimport { PRO_TAG_BACKGROUND_COLOR, useScannerProgress } from \"../../../hooks\";\nimport { InAppFomoCouponCounter, IN_APP_FOMO_URL_PARAMETER_TO_DEACTIVATE_WEBSITE_FOMO } from \"../..\";\nconst DashboardChecklistItem = observer(({\n id,\n checked,\n title,\n description,\n link,\n linkText,\n linkTarget,\n needsPro,\n onLinkClick\n}) => {\n const {\n optionStore: {\n others: {\n isPro\n },\n fomoCoupon\n }\n } = useStores();\n const isInfo = !isPro && needsPro;\n let extraContentTag = null;\n let extraContentDescription = null;\n let useLink = link;\n\n switch (id) {\n case \"scanner\":\n {\n const {\n percent: scanPercent,\n remaining: scanRemaining,\n currentJob\n } = useScannerProgress();\n\n if (scanRemaining > 0 && scanPercent > 0 && (currentJob === null || currentJob === void 0 ? void 0 : currentJob.group_position) > 0) {\n extraContentTag = /*#__PURE__*/React.createElement(_Tag, null, __(\"Currently scanning (%d %%)\", scanPercent));\n }\n\n break;\n }\n\n case \"get-pro\":\n {\n extraContentDescription = /*#__PURE__*/React.createElement(InAppFomoCouponCounter, null);\n\n if (fomoCoupon) {\n useLink += \"&\".concat(IN_APP_FOMO_URL_PARAMETER_TO_DEACTIVATE_WEBSITE_FOMO);\n }\n\n break;\n }\n\n default:\n break;\n }\n\n return /*#__PURE__*/React.createElement(\"div\", {\n style: {\n margin: \"5px 0\"\n }\n }, /*#__PURE__*/React.createElement(_Tooltip, {\n title: checked && description\n }, /*#__PURE__*/React.createElement(\"span\", null, isInfo ? /*#__PURE__*/React.createElement(InfoCircleFilled, {\n style: {\n color: \"#7ec8ec\"\n }\n }) : checked ? /*#__PURE__*/React.createElement(CheckCircleFilled, {\n style: {\n color: \"#52c41a\"\n }\n }) : /*#__PURE__*/React.createElement(CheckCircleOutlined, {\n style: {\n color: \"#e2e2e2\"\n }\n }), \" \", /*#__PURE__*/React.createElement(\"span\", {\n style: {\n textDecoration: checked ? \"line-through\" : undefined,\n fontWeight: \"bold\"\n }\n }, title), !!useLink && !!linkText && /*#__PURE__*/React.createElement(React.Fragment, null, \"\\xA0\\xA0\\u2022\\xA0\\xA0\", /*#__PURE__*/React.createElement(\"a\", {\n href: useLink,\n target: linkTarget,\n rel: \"noreferrer\",\n onClick: onLinkClick\n }, linkText)))), isInfo && id !== \"get-pro\" && /*#__PURE__*/React.createElement(React.Fragment, null, \"\\xA0\", /*#__PURE__*/React.createElement(_Tag, {\n color: PRO_TAG_BACKGROUND_COLOR\n }, __(\"Needs PRO\"))), !!extraContentTag && /*#__PURE__*/React.createElement(React.Fragment, null, \"\\xA0\", extraContentTag), !!description && !checked && /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\",\n style: {\n paddingLeft: 17\n }\n }, description), !!extraContentDescription && /*#__PURE__*/React.createElement(\"div\", {\n style: {\n paddingLeft: 17\n }\n }, extraContentDescription));\n});\nexport { DashboardChecklistItem };","import _Spin from \"antd/es/spin\";\nimport _Space from \"antd/es/space\";\nimport _extends from \"@babel/runtime/helpers/extends\";\nimport _Tag from \"antd/es/tag\";\nimport { useState } from \"react\";\nimport { observer } from \"mobx-react\";\nimport { __ } from \"../../../utils\";\nimport { DashboardChecklistItem } from \".\";\nimport { useStores } from \"../../../store\";\nimport { CheckCircleOutlined, MinusCircleOutlined } from \"@ant-design/icons\";\nconst DashboardChecklistCardContent = observer(({\n onLinkClick,\n ...props\n}) => {\n const {\n checklistStore\n } = useStores();\n const {\n busyChecklist,\n items,\n completed,\n checkable,\n done,\n checklist: {\n overdue\n }\n } = checklistStore;\n const [showHidden, setShowHidden] = useState(typeof props.showHidden === \"boolean\" ? props.showHidden : done ? false : true);\n return /*#__PURE__*/React.createElement(_Spin, {\n spinning: busyChecklist\n }, /*#__PURE__*/React.createElement(_Space, {\n direction: \"vertical\",\n size: \"large\"\n }, overdue && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning inline below-h2 notice-alt\",\n style: {\n margin: 0\n }\n }, /*#__PURE__*/React.createElement(\"p\", null, __(\"How time flies! You have installed Real Cookie Banner some time ago, but you still haven't finished the configuration yet.\"))), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\"\n }, __(\"We have collected all relevant steps for the legally compliant use of Real Cookie Banner after the first installation. Set up the cookie banner step by step to add a cookie banner to your website in compliance with the ePrivacy Directive and GDPR.\")), /*#__PURE__*/React.createElement(\"div\", null, done && (showHidden ? /*#__PURE__*/React.createElement(_Tag, {\n icon: /*#__PURE__*/React.createElement(MinusCircleOutlined, null),\n color: \"default\",\n style: {\n cursor: \"pointer\"\n },\n onClick: () => setShowHidden(false)\n }, __(\"Hide completed steps\")) : /*#__PURE__*/React.createElement(_Tag, {\n icon: /*#__PURE__*/React.createElement(CheckCircleOutlined, null),\n color: \"success\",\n style: {\n cursor: \"pointer\"\n },\n onClick: () => setShowHidden(true)\n }, __(\"%d / %d steps completed\", completed.length > checkable.length ? checkable.length : completed.length, // avoid overflow due infos\n checkable.length))), items.map(({\n id,\n ...rest\n }) => {\n if (!showHidden && rest.checked) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(DashboardChecklistItem, _extends({\n key: id,\n id: id\n }, rest, {\n onLinkClick: e => {\n if ([\"get-pro\"].indexOf(id) > -1) {\n checklistStore.toggleChecklistItem(id, true);\n }\n\n onLinkClick === null || onLinkClick === void 0 ? void 0 : onLinkClick(e);\n }\n }));\n }))));\n});\nexport { DashboardChecklistCardContent };","import _Popconfirm from \"antd/es/popconfirm\";\nimport { observer } from \"mobx-react\";\nimport { _i, __ } from \"../../utils\";\nimport { useStores } from \"../../store\";\nimport { useLocation } from \"react-router-dom\";\nconst NoticeRevisionNeedsRetrigger = observer(() => {\n const {\n optionStore\n } = useStores();\n const {\n pathname\n } = useLocation();\n return optionStore.needsRevisionRetrigger && pathname.indexOf(\"/edit/\") === -1 && pathname.indexOf(\"/new\") === -1 && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning inline below-h2 notice-alt\",\n style: {\n margin: \"10px 0 0 0\"\n }\n }, /*#__PURE__*/React.createElement(\"p\", null, __(\"You have changed settings that affect the content or behavior of the cookie banner. You should ask all visitors for their consent again.\"), \" \", \"\\u2022\", \" \", /*#__PURE__*/React.createElement(\"a\", {\n style: {\n cursor: \"pointer\",\n textDecoration: \"underline\"\n },\n onClick: () => optionStore.updateCurrentRevision({\n needs_retrigger: true\n })\n }, __(\"Request new consent\")), \" \", \"\\u2022\", \" \", /*#__PURE__*/React.createElement(_Popconfirm, {\n title: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"strong\", null, __(\"Are you sure you don't want to collect new consents?\")), /*#__PURE__*/React.createElement(\"br\", null), /*#__PURE__*/React.createElement(\"br\", null), _i(__(\"Consent must be obtained in accordance with {{a}}Art. 7 GDPR{{/a}}. Your visitor must be informed about all circumstances of the consent. However, you have made changes to your cookie banner, which lead to the fact that previously visitors have consented differently or to something different than is now in the cookie banner. Therefore, previously collected consents may have become partially invalid.\"), {\n a: /*#__PURE__*/React.createElement(\"a\", {\n href: __(\"https://gdpr-info.eu/art-7-gdpr/\"),\n rel: \"noreferrer\",\n target: \"_blank\"\n })\n }), /*#__PURE__*/React.createElement(\"br\", null), /*#__PURE__*/React.createElement(\"br\", null), __(\"If you have created a new service like Google Analytics (without visual content blocker), previous visitors can never consent without collecting new consents and you cannot track them, for example.\")),\n placement: \"bottomRight\",\n onConfirm: () => optionStore.updateCurrentRevision({\n needs_retrigger: false\n }),\n okText: __(\"Dismiss notice\"),\n cancelText: __(\"Cancel\"),\n overlayStyle: {\n maxWidth: 450\n }\n }, /*#__PURE__*/React.createElement(\"a\", {\n style: {\n cursor: \"pointer\",\n textDecoration: \"underline\"\n }\n }, __(\"Dismiss notice\")))));\n});\nexport { NoticeRevisionNeedsRetrigger };","import { observer } from \"mobx-react\";\nimport { __ } from \"../../utils\";\nimport { useStores } from \"../../store\";\nconst NoticeBannerActiveNoCookies = observer(() => {\n const {\n optionStore: {\n publicCookieCount,\n busySettings,\n bannerActive\n }\n } = useStores();\n return bannerActive && !publicCookieCount && !busySettings && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning inline below-h2 notice-alt\",\n style: {\n margin: \"10px 0 0 0\"\n }\n }, /*#__PURE__*/React.createElement(\"p\", null, __(\"The cookie banner is activated, but unfortunately you have not yet created or enabled services.\")));\n});\nexport { NoticeBannerActiveNoCookies };","import { observer } from \"mobx-react\";\nimport { getOtherOptionsFromWindow, _i, __ } from \"../../utils\";\nconst NoticeAnonymousScriptNotWritable = observer(() => {\n const {\n showNoticeAnonymousScriptNotWritable\n } = getOtherOptionsFromWindow();\n return !!showNoticeAnonymousScriptNotWritable && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning inline below-h2 notice-alt\",\n style: {\n margin: \"10px 0 0 0\"\n }\n }, /*#__PURE__*/React.createElement(\"p\", null, _i(__(\"Your {{code}}wp-content{{/code}} folder is not writable. Please check your permissions!\"), {\n code: /*#__PURE__*/React.createElement(\"code\", null)\n })));\n});\nexport { NoticeAnonymousScriptNotWritable };","import { observer } from \"mobx-react\";\nimport { __, _i } from \"../../utils\";\nimport { useStores } from \"../../store\";\nimport { useLocation } from \"react-router-dom\";\nimport { getManagerDependingVariables } from \"@devowl-wp/cookie-consent-web-client\";\nconst NoticeNoManager = observer(() => {\n const {\n optionStore: {\n setCookiesViaManager,\n hasManager\n }\n } = useStores();\n const {\n managerLabel,\n expectedManagerPresetId\n } = getManagerDependingVariables(setCookiesViaManager);\n const {\n pathname\n } = useLocation();\n return managerLabel && !hasManager && /^\\/cookies\\/\\d+$/.test(pathname) && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning inline below-h2 notice-alt\",\n style: {\n margin: \"10px 0 0 0\"\n }\n }, /*#__PURE__*/React.createElement(\"p\", null, _i(__(\"You have not yet defined a %s service. To use {{strong}}%s{{/strong}} with Real Cookie Banner, you must create the appropriate service.\", managerLabel, managerLabel), {\n strong: /*#__PURE__*/React.createElement(\"strong\", null)\n }), \" \", \"\\u2022 \", /*#__PURE__*/React.createElement(\"a\", {\n href: \"#\".concat(pathname, \"/new?force=\").concat(expectedManagerPresetId)\n }, __(\"Create now\"))));\n});\nexport { NoticeNoManager };","import { useEffect } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport { scrollTo } from \"../utils\";\n/**\n * @see https://stackoverflow.com/a/54343182/5506547\n */\n\nconst RouterScrollToTop = () => {\n const {\n listen\n } = useHistory();\n useEffect(() => {\n const destroy = listen(() => {\n scrollTo(0);\n });\n return () => {\n destroy();\n };\n }, [listen]);\n return null;\n};\n\nexport { RouterScrollToTop };","import _Popconfirm from \"antd/es/popconfirm\";\nimport { useCallback } from \"react\";\nimport { observer } from \"mobx-react\";\nimport { InfoCircleOutlined } from \"@ant-design/icons\";\nimport { useStores } from \"../store\";\nimport { __ } from \"../utils\";\nconst ProHeadlineButton = observer(() => {\n const {\n optionStore\n } = useStores();\n const {\n others: {\n proUrl,\n isPro,\n isConfigProNoticeVisible\n }\n } = optionStore;\n const href = \"\".concat(proUrl, \"&feature=main-button\");\n const handleConfirm = useCallback(() => {\n window.open(href, \"_blank\");\n optionStore.dismissConfigProNotice();\n }, [optionStore]);\n const handleClose = useCallback(() => {\n optionStore.dismissConfigProNotice();\n }, [optionStore]);\n return !isPro && /*#__PURE__*/React.createElement(_Popconfirm, {\n visible: !!isConfigProNoticeVisible,\n title: __(\"Thank you for using the free version of Real Cookie Banner. You might also be interested in the PRO version, which offers you more features, 20+ design templates, 100+ service templates, 60+ content blocker templates and much more.\"),\n icon: /*#__PURE__*/React.createElement(InfoCircleOutlined, {\n style: {\n color: \"#1890ff\"\n }\n }),\n placement: \"bottom\",\n onConfirm: handleConfirm,\n onCancel: handleClose,\n cancelText: __(\"No, not interested...\"),\n okText: __(\"I want to learn more!\"),\n overlayStyle: {\n maxWidth: 450\n }\n }, /*#__PURE__*/React.createElement(\"a\", {\n className: \"page-title-action\",\n rel: \"noreferrer\",\n onClick: handleConfirm\n }, __(\"Get PRO version\")));\n});\nexport { ProHeadlineButton };","import _Modal from \"antd/es/modal\";\nimport { CheckCircleOutlined } from \"@ant-design/icons\";\nimport { observer } from \"mobx-react\";\nimport { useCallback, useState, useEffect } from \"react\";\nimport { useLocation } from \"react-router-dom\";\nimport { ProHeadlineButton, DashboardChecklistCardContent } from \"..\";\nimport { useStores } from \"../../store\";\nimport { __ } from \"../../utils\";\nconst ConfigHeader = observer(() => {\n const [isChecklistModalOpen, setChecklistModalOpen] = useState(false);\n const {\n optionStore,\n checklistStore\n } = useStores();\n const {\n pathname\n } = useLocation();\n const {\n others: {\n customizeBannerUrl\n },\n publicUrl\n } = optionStore;\n const {\n completed,\n checkable,\n done\n } = checklistStore;\n useEffect(() => {\n checklistStore.fetchChecklist();\n }, []);\n const handleCustomizeBannerButtonClick = useCallback(e => {\n window.location.href = \"\".concat(customizeBannerUrl, \"&return=\").concat(encodeURIComponent(window.location.href));\n e.preventDefault();\n }, []);\n const handleChecklistModalOpen = useCallback(() => {\n setChecklistModalOpen(true);\n checklistStore.fetchChecklist();\n }, [setChecklistModalOpen]);\n const handleChecklistModalClose = useCallback(() => {\n setChecklistModalOpen(false);\n }, [setChecklistModalOpen]);\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"h1\", {\n className: \"wp-heading-inline\"\n }, __(\"Real Cookie Banner\")), /*#__PURE__*/React.createElement(\"img\", {\n className: \"rcb-nav-logo\",\n src: \"\".concat(publicUrl, \"images/logos/real-cookie-banner.svg\")\n }), /*#__PURE__*/React.createElement(\"a\", {\n className: \"page-title-action\",\n href: \"#\",\n onClick: handleCustomizeBannerButtonClick\n }, __(\"Customize banner\")), /*#__PURE__*/React.createElement(ProHeadlineButton, null), !done && pathname !== \"/\" && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"a\", {\n className: \"page-title-action\",\n style: {\n color: \"#52c41a\",\n background: \"#f6ffed\",\n borderColor: \"#85af65\"\n },\n onClick: handleChecklistModalOpen\n }, /*#__PURE__*/React.createElement(CheckCircleOutlined, null), \"\\xA0\", __(\"%d / %d steps completed\", completed.length > checkable.length ? checkable.length : completed.length, // avoid overflow due infos\n checkable.length)), /*#__PURE__*/React.createElement(_Modal, {\n visible: isChecklistModalOpen,\n title: __(\"Set up the cookie banner\"),\n onCancel: handleChecklistModalClose,\n okButtonProps: {\n style: {\n display: \"none\"\n }\n },\n cancelText: __(\"Close\"),\n width: 800\n }, /*#__PURE__*/React.createElement(DashboardChecklistCardContent, {\n showHidden: true,\n onLinkClick: handleChecklistModalClose\n }))), /*#__PURE__*/React.createElement(\"hr\", {\n className: \"wp-header-end\"\n }));\n});\nexport { ConfigHeader };","import { observer } from \"mobx-react\";\nimport { useStores } from \"../../store\";\nimport { HeartFilled } from \"@ant-design/icons\";\nimport { _i, __ } from \"../../utils\";\nconst ConfigFooter = observer(() => {\n const {\n optionStore: {\n publicUrl\n }\n } = useStores();\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"rcb-config-footer\"\n }, _i(__(\"Real Cookie Banner is brought to you with {{icon/}} by\"), {\n icon: /*#__PURE__*/React.createElement(HeartFilled, {\n style: {\n color: \"#dca7a7\"\n }\n })\n }), /*#__PURE__*/React.createElement(\"a\", {\n href: __(\"https://devowl.io/\"),\n target: \"_blank\",\n rel: \"noreferrer\"\n }, /*#__PURE__*/React.createElement(\"img\", {\n src: \"\".concat(publicUrl, \"images/logos/devowl-with-text.svg\")\n })));\n});\nexport { ConfigFooter };","import _Badge from \"antd/es/badge\";\nimport _Spin from \"antd/es/spin\";\nimport { lazy, Suspense } from \"react\";\nimport { useLayoutEffect } from \"react\";\nimport { observer } from \"mobx-react\";\nimport { HashRouter as Router, Switch, Route, NavLink } from \"react-router-dom\";\nimport { __ } from \"../utils\";\nimport { useStores } from \"../store\";\nimport { NoticeRevisionNeedsRetrigger, NoticeBannerActiveNoCookies, NoticeAnonymousScriptNotWritable, NoticeNoManager, RouterScrollToTop } from \".\";\nimport { ConfigHeader, ConfigFooter } from \".\";\nimport { SuspenseChunkTranslation } from \"@devowl-wp/utils\";\nimport { useScannerProgress } from \"../hooks\";\nimport { JOB_DONE_EVENT_PREFIX } from \"@devowl-wp/real-queue\";\nimport { AUTOMATIC_SCAN_STATER_QUEUE_JOB } from \"../types\";\nconst CSS_SPINNER_IN_CONTENT = {\n display: \"block\",\n marginTop: 10\n}; // Lazy load components\n\nconst createSuspenseComponent = (tab, children) => ({\n // eslint-disable-next-line react/display-name\n default: () => /*#__PURE__*/React.createElement(SuspenseChunkTranslation, {\n chunkFile: __webpack_get_script_filename__(\"chunk-config-tab-\".concat(tab)),\n options: () => useStores().optionStore,\n fallback: /*#__PURE__*/React.createElement(_Spin, {\n spinning: true,\n style: CSS_SPINNER_IN_CONTENT\n })\n }, children)\n});\n\nconst DashboardCards = /*#__PURE__*/lazy(() => import(\n/* webpackChunkName: \"chunk-config-tab-dashboard\" */\n\"./config/dashboard/cards\").then(({\n DashboardCards\n}) => createSuspenseComponent(\"dashboard\", /*#__PURE__*/React.createElement(DashboardCards, null))));\nconst SettingsForm = /*#__PURE__*/lazy(() => import(\n/* webpackChunkName: \"chunk-config-tab-settings\" */\n\"./config/settings/form\").then(({\n SettingsForm\n}) => createSuspenseComponent(\"settings\", /*#__PURE__*/React.createElement(SettingsForm, null))));\nconst ScannerRouter = /*#__PURE__*/lazy(() => import(\n/* webpackChunkName: \"chunk-config-tab-scanner\" */\n\"./config/scanner/router\").then(({\n ScannerRouter\n}) => createSuspenseComponent(\"scanner\", /*#__PURE__*/React.createElement(ScannerRouter, null))));\nconst CookieGroupsTabRouter = /*#__PURE__*/lazy(() => import(\n/* webpackChunkName: \"chunk-config-tab-cookies\" */\n\"./config/cookies/groups/tabRouter\").then(({\n CookieGroupsTabRouter\n}) => createSuspenseComponent(\"cookies\", /*#__PURE__*/React.createElement(CookieGroupsTabRouter, null))));\nconst ConsentTabRouter = /*#__PURE__*/lazy(() => import(\n/* webpackChunkName: \"chunk-config-tab-consent\" */\n\"./config/consent/tabRouter\").then(({\n ConsentTabRouter\n}) => createSuspenseComponent(\"consent\", /*#__PURE__*/React.createElement(ConsentTabRouter, null))));\nconst BlockerRouter = /*#__PURE__*/lazy(() => import(\n/* webpackChunkName: \"chunk-config-tab-blocker\" */\n\"./config/blocker/router\").then(({\n BlockerRouter\n}) => createSuspenseComponent(\"blocker\", /*#__PURE__*/React.createElement(BlockerRouter, null))));\nconst ImportExportCards = /*#__PURE__*/lazy(() => import(\n/* webpackChunkName: \"chunk-config-tab-import\" */\n\"./config/import/cards\").then(({\n ImportExportCards\n}) => createSuspenseComponent(\"import\", /*#__PURE__*/React.createElement(ImportExportCards, null))));\nconst ConfigLicensing = /*#__PURE__*/lazy(() => import(\n/* webpackChunkName: \"chunk-config-tab-licensing\" */\n\"./config/licensing/licensing\").then(({\n ConfigLicensing\n}) => createSuspenseComponent(\"licensing\", /*#__PURE__*/React.createElement(ConfigLicensing, null))));\nconst ConfigApp = observer(() => {\n const {\n percent: scanPercent,\n remaining: scanRemaining,\n currentJob\n } = useScannerProgress();\n const {\n optionStore,\n checklistStore\n } = useStores();\n const {\n others: {\n showLicenseFormImmediate,\n colorScheme: [,, badgeColor]\n }\n } = optionStore; // Initially fetch settings here so the form is shown\n\n useLayoutEffect(() => {\n optionStore.fetchSettings(); // Listen to the automatic scan starter and update the checklist\n\n const listener = () =>\n /*_: CustomEvent<JobDoneEvent>*/\n {\n checklistStore.fetchChecklist();\n };\n\n const event = \"\".concat(JOB_DONE_EVENT_PREFIX).concat(AUTOMATIC_SCAN_STATER_QUEUE_JOB);\n document.addEventListener(event, listener);\n return () => {\n document.removeEventListener(event, listener);\n };\n }, []);\n return showLicenseFormImmediate ? /*#__PURE__*/React.createElement(Suspense, {\n fallback: /*#__PURE__*/React.createElement(_Spin, {\n spinning: true,\n style: CSS_SPINNER_IN_CONTENT\n })\n }, /*#__PURE__*/React.createElement(ConfigLicensing, null)) : /*#__PURE__*/React.createElement(Router, null, /*#__PURE__*/React.createElement(ConfigHeader, null), /*#__PURE__*/React.createElement(\"nav\", {\n className: \"nav-tab-wrapper wp-clearfix\"\n }, /*#__PURE__*/React.createElement(NavLink, {\n to: \"/\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\",\n exact: true\n }, __(\"Dashboard\")), /*#__PURE__*/React.createElement(NavLink, {\n to: \"/settings\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, __(\"Settings\")), /*#__PURE__*/React.createElement(NavLink, {\n to: \"/scanner\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, scanRemaining > 0 && scanPercent > 0 && (currentJob === null || currentJob === void 0 ? void 0 : currentJob.group_position) > 0 ? /*#__PURE__*/React.createElement(_Badge, {\n count: \"\".concat(scanPercent, \" %\"),\n style: {\n top: -11,\n fontSize: 10,\n height: 16,\n lineHeight: \"16px\",\n background: badgeColor\n }\n }, __(\"Scanner\")) : __(\"Scanner\")), /*#__PURE__*/React.createElement(NavLink, {\n to: \"/cookies\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, __(\"Services (Cookies)\")), /*#__PURE__*/React.createElement(NavLink, {\n to: \"/blocker\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, __(\"Content Blocker\")), /*#__PURE__*/React.createElement(NavLink, {\n to: \"/consent\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, __(\"Consent\")), /*#__PURE__*/React.createElement(NavLink, {\n to: \"/import\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, __(\"Import / Export\")), window.location.host !== \"try.devowl.io\" && /*#__PURE__*/React.createElement(NavLink, {\n to: \"/licensing\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, __(\"Licensing\")), /*#__PURE__*/React.createElement(\"a\", {\n href: __(\"https://devowl.io/support/\"),\n className: \"nav-tab\",\n target: \"_blank\",\n rel: \"noreferrer\"\n }, __(\"Support\"))), /*#__PURE__*/React.createElement(NoticeRevisionNeedsRetrigger, null), /*#__PURE__*/React.createElement(NoticeBannerActiveNoCookies, null), /*#__PURE__*/React.createElement(NoticeAnonymousScriptNotWritable, null), /*#__PURE__*/React.createElement(NoticeNoManager, null), /*#__PURE__*/React.createElement(RouterScrollToTop, null), /*#__PURE__*/React.createElement(Suspense, {\n fallback: /*#__PURE__*/React.createElement(_Spin, {\n spinning: true,\n style: CSS_SPINNER_IN_CONTENT\n })\n }, /*#__PURE__*/React.createElement(Switch, null, /*#__PURE__*/React.createElement(Route, {\n path: \"/\",\n exact: true\n }, /*#__PURE__*/React.createElement(DashboardCards, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/settings/:tab?\"\n }, !optionStore.areSettingsFetched ? null : /*#__PURE__*/React.createElement(SettingsForm, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/scanner\"\n }, /*#__PURE__*/React.createElement(ScannerRouter, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/cookies/:cookieGroup?\"\n }, /*#__PURE__*/React.createElement(CookieGroupsTabRouter, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/consent/:tab?\"\n }, /*#__PURE__*/React.createElement(ConsentTabRouter, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/blocker\"\n }, /*#__PURE__*/React.createElement(BlockerRouter, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/import\"\n }, /*#__PURE__*/React.createElement(ImportExportCards, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/licensing\"\n }, /*#__PURE__*/React.createElement(ConfigLicensing, null)))), /*#__PURE__*/React.createElement(ConfigFooter, null));\n});\nexport { ConfigApp, createSuspenseComponent };","import _Alert from \"antd/es/alert\";\nimport _Tag from \"antd/es/tag\";\nimport _message from \"antd/es/message\";\nimport { observer } from \"mobx-react\";\nimport { useCallback, useState, useEffect } from \"react\";\nimport { useStores } from \"../store\";\nimport { _i, __, copyToClipboard } from \"../utils\";\nconst IN_APP_FOMO_URL_PARAMETER_TO_DEACTIVATE_WEBSITE_FOMO = \"promo=in-app\";\nconst InAppFomoCouponCounter = observer(({\n style\n}) => {\n const {\n optionStore: {\n fomoCoupon\n }\n } = useStores();\n const coupon = fomoCoupon === null || fomoCoupon === void 0 ? void 0 : fomoCoupon.coupon;\n const valueInPercent = fomoCoupon === null || fomoCoupon === void 0 ? void 0 : fomoCoupon.valueInPercent;\n const validUntil = fomoCoupon === null || fomoCoupon === void 0 ? void 0 : fomoCoupon.validUntil;\n const createTimerString = useCallback(() => {\n if (validUntil) {\n const remaining = new Date(validUntil).getTime() - new Date().getTime(); // Already expired?\n\n if (remaining <= 0) {\n return undefined;\n }\n\n const fullSeconds = remaining / 1000;\n return [Math.floor(fullSeconds / 3600), Math.floor(fullSeconds / 60) % 60, Math.floor(fullSeconds % 60)].map(v => v < 10 ? \"0\".concat(v) : v).filter((v, i) => v !== \"00\" || i > 0).join(\":\");\n } else {\n return undefined;\n }\n }, [validUntil]);\n const [, setRerender] = useState();\n useEffect(() => {\n const interval = setInterval(() => {\n setRerender(new Date().getTime());\n }, 1000);\n return () => {\n clearInterval(interval);\n };\n }, []);\n const timerString = createTimerString();\n return timerString ? /*#__PURE__*/React.createElement(_Alert, {\n style: style,\n message: _i(__(\"Use coupon {{tag}}%s{{/tag}} in the next {{strongHours}}%s hours{{/strongHours}} and save {{strongPercent}}%d %%{{/strongPercent}} in the first year!\", coupon, timerString, valueInPercent), {\n tag: /*#__PURE__*/React.createElement(_Tag, {\n color: \"success\",\n style: {\n marginRight: 0,\n cursor: \"pointer\"\n },\n onClick: () => {\n copyToClipboard(coupon);\n\n _message.success(__(\"Successfully copied coupon to clipboard!\"));\n }\n }),\n strongHours: /*#__PURE__*/React.createElement(\"strong\", {\n style: {\n color: \"#d33131\"\n }\n }),\n strongPercent: /*#__PURE__*/React.createElement(\"strong\", null)\n })\n }) : null;\n});\nexport { IN_APP_FOMO_URL_PARAMETER_TO_DEACTIVATE_WEBSITE_FOMO, InAppFomoCouponCounter };","import _Modal from \"antd/es/modal\";\nimport { useState } from \"react\";\nimport { useEffect } from \"react\";\nimport { useCallback } from \"react\";\nimport { UnlockFilled } from \"@ant-design/icons\";\nimport { __, getOtherOptionsFromWindow, _i } from \"../utils\";\nimport { ProModalHint, InAppFomoCouponCounter, IN_APP_FOMO_URL_PARAMETER_TO_DEACTIVATE_WEBSITE_FOMO } from \".\";\nimport { reactNl2Br } from \"@devowl-wp/react-cookie-banner\";\n\nconst ProModal = ({\n visible = false,\n showHints = true,\n showFomoCouponCounter = true,\n title,\n testDrive = false,\n assetName,\n description,\n feature,\n onClose,\n inContainer,\n inContainerElement\n}) => {\n const {\n proUrl,\n hints\n } = getOtherOptionsFromWindow();\n const [descriptionRef, setDescriptionRef] = useState();\n const handleRedirect = useCallback(() => {\n window.open(\"\".concat(proUrl, \"&feature=\").concat(feature, \"&\").concat(IN_APP_FOMO_URL_PARAMETER_TO_DEACTIVATE_WEBSITE_FOMO), \"_blank\").focus();\n onClose === null || onClose === void 0 ? void 0 : onClose();\n }, [onClose]); // Do not automatically scroll / focus the container if `inContainer` is set\n\n useEffect(() => {\n if (inContainer && descriptionRef) {\n (descriptionRef === null || descriptionRef === void 0 ? void 0 : descriptionRef.parentElement.parentElement.previousElementSibling).removeAttribute(\"tabIndex\");\n }\n }, [descriptionRef]);\n const hint = hints === null || hints === void 0 ? void 0 : hints.proDialog; // Do not output the model until the container is ready\n\n if (inContainer && !inContainerElement) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(_Modal, {\n visible: inContainer ? true : visible,\n title: /*#__PURE__*/React.createElement(\"span\", null, /*#__PURE__*/React.createElement(UnlockFilled, null), \"\\xA0\", title, \"\\xA0\", __(\"Get PRO!\")),\n onOk: handleRedirect,\n onCancel: onClose,\n cancelText: __(\"No, not interested...\"),\n okText: __(\"I want to learn more!\"),\n className: \"rcb-pro-modal\",\n width: assetName ? 800 : 700,\n getContainer: inContainer ? inContainerElement : undefined\n }, !!assetName && /*#__PURE__*/React.createElement(\"img\", {\n style: {\n marginTop: 10\n },\n src: \"https://assets.devowl.io/in-app/wp-real-cookie-banner/\".concat(assetName)\n }), /*#__PURE__*/React.createElement(\"div\", {\n style: {\n maxWidth: 600,\n margin: \"auto\"\n },\n ref: setDescriptionRef\n }, /*#__PURE__*/React.createElement(\"p\", null, reactNl2Br(description)), testDrive && /*#__PURE__*/React.createElement(\"p\", null, _i(__(\"Check out this feature with a {{a}}free sandbox{{/a}} before buying!\"), {\n a: /*#__PURE__*/React.createElement(\"a\", {\n href: __(\"https://try.devowl.io/?product=RCB\"),\n target: \"_blank\",\n rel: \"noreferrer\"\n })\n }))), !!hint && showHints && /*#__PURE__*/React.createElement(\"div\", {\n style: {\n maxWidth: 600,\n margin: \"auto\",\n textAlign: \"left\"\n }\n }, /*#__PURE__*/React.createElement(ProModalHint, hint)), showFomoCouponCounter && /*#__PURE__*/React.createElement(InAppFomoCouponCounter, {\n style: {\n marginBottom: 15\n }\n }));\n};\n\nexport { ProModal };","import _Row from \"antd/es/row\";\nimport _Col from \"antd/es/col\";\nimport _Divider from \"antd/es/divider\";\n\nconst ProModalHint = ({\n title,\n description,\n link,\n linkText,\n logo\n}) => {\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Divider, null, title), /*#__PURE__*/React.createElement(_Row, {\n wrap: false,\n style: {\n marginBottom: 10\n }\n }, /*#__PURE__*/React.createElement(_Col, {\n flex: \"auto\"\n }, !!description && /*#__PURE__*/React.createElement(\"p\", {\n style: {\n margin: 0\n }\n }, /*#__PURE__*/React.createElement(\"span\", {\n dangerouslySetInnerHTML: {\n __html: description\n }\n }), \"\\xA0\", !!link && !!linkText && /*#__PURE__*/React.createElement(\"a\", {\n href: link,\n target: \"_blank\",\n rel: \"noreferrer\",\n className: \"button-link\"\n }, linkText))), /*#__PURE__*/React.createElement(_Col, {\n flex: \"150px\",\n style: {\n alignSelf: \"center\"\n }\n }, !!logo && /*#__PURE__*/React.createElement(\"img\", {\n src: logo,\n style: {\n maxWidth: \"calc(100% - 20px)\",\n height: \"auto\",\n marginLeft: 20\n }\n }))));\n};\n\nexport { ProModalHint };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _Tag from \"antd/es/tag\";\nimport { UnlockOutlined } from \"@ant-design/icons\";\nimport { __ } from \"../utils\";\nimport { useStores } from \"../store\";\nimport { useCallback, useMemo, useState } from \"react\";\nimport { ProModal } from \"../components\";\nconst PRO_TAG_BACKGROUND_COLOR = \"#2db7f5\";\n/**\n * Provide a PRO modal when clicking a given button.\n *\n * @param overrideIsPro Allows to override the `isPro` attribute coming from the option store (e. g. for demo environment purposes, try.devowl.io)\n */\n\nfunction useProModal(feature, overrideIsPro) {\n const [visible, setVisible] = useState(false);\n const {\n optionStore: {\n others: {\n isPro\n }\n }\n } = useStores();\n const useIsPro = typeof overrideIsPro === \"boolean\" ? overrideIsPro : isPro;\n const open = useCallback(e => {\n setVisible(true);\n e === null || e === void 0 ? void 0 : e.preventDefault();\n }, [setVisible]);\n const tag = useMemo(() => useIsPro ? null : /*#__PURE__*/React.createElement(_Tag, {\n icon: /*#__PURE__*/React.createElement(UnlockOutlined, null),\n color: PRO_TAG_BACKGROUND_COLOR,\n style: {\n cursor: \"pointer\"\n },\n onClick: open\n }, feature.tagText || __(\"Unlock feature\")), [open, feature]);\n const modal = useMemo(() => useIsPro ? null : /*#__PURE__*/React.createElement(ProModal, _extends({\n visible: visible,\n onClose: () => setVisible(false)\n }, feature)), [visible, setVisible, feature]);\n return {\n isPro: useIsPro,\n tag,\n modal,\n open\n };\n}\n\nexport { useProModal, PRO_TAG_BACKGROUND_COLOR };","import { useProgress } from \"@devowl-wp/real-queue\";\nimport { useCallback } from \"react\";\nimport { useStores } from \"../store\";\nimport { SCAN_QUEUE_JOB } from \"../types\";\n\n/**\n * Returns the status / progress of the scanner.\n */\nfunction useScannerProgress(fetchStatusInterval, fetchAdditionalData = false, onCancel) {\n const {\n scannerStore\n } = useStores();\n return useProgress({\n type: SCAN_QUEUE_JOB,\n fetchStatusInterval,\n fetchAdditionalData,\n onAdditionalData: useCallback(({\n \"rcb-scan-list\": rcbScanList\n }) => {\n const {\n presets,\n externalUrls\n } = rcbScanList;\n scannerStore.resultPresetsFromResponse(presets);\n scannerStore.resultExternalUrlsFromResponse(externalUrls);\n }, [scannerStore]),\n onCancel\n });\n}\n\nexport { useScannerProgress };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n\nimport { observable, set, runInAction } from \"mobx\";\nimport { getSidebarCustomize } from \"@devowl-wp/customize\";\nlet BannerPreset = (_class = class BannerPreset {\n /**\n * When hover the preview card we need to save the available settings.\n */\n constructor(preset, store) {\n _initializerDefineProperty(this, \"id\", _descriptor, this);\n\n _initializerDefineProperty(this, \"name\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"needsPro\", _descriptor3, this);\n\n _initializerDefineProperty(this, \"description\", _descriptor4, this);\n\n _initializerDefineProperty(this, \"tags\", _descriptor5, this);\n\n _initializerDefineProperty(this, \"settings\", _descriptor6, this);\n\n this.store = void 0;\n this.resetPreviewInUiSettings = void 0;\n runInAction(() => set(this, preset));\n this.store = store;\n }\n\n static getIframeStore() {\n try {\n return document.querySelector(\"#customize-preview > iframe\").contentWindow.realCookieBanner_customize_banner.RootStore.get;\n } catch (e) {\n // Element does not yet exist\n return undefined;\n }\n }\n\n applyInUi() {\n // Check if pro\n if (!this.store.rootStore.optionStore.others.isPro && this.needsPro) {\n return false;\n } // First, save all in our store so the paint is done correctly\n\n\n this.previewInUi(); // Afterwards, save in customize state\n\n setTimeout(() => {\n const customize = getSidebarCustomize();\n this.store.presetDefaults.forEach((defaultValue, key) => {\n const setting = customize(key); // Apply it\n\n setting.set(this.settings[key] === undefined ? defaultValue : this.settings[key]);\n });\n }, 100);\n return true;\n }\n\n previewInUi() {\n const customize = getSidebarCustomize();\n const {\n presetDefaults\n } = this.store;\n const {\n settings\n } = this.store.rootStore.optionStore.others.customizeIdsBanner;\n const batchUpdates = []; // Make it restorable\n\n this.resetPreviewInUiSettings = {};\n\n for (const section of Object.keys(settings)) {\n const sectionSettings = settings[section];\n\n for (const setting of Object.keys(sectionSettings)) {\n const customizeKey = sectionSettings[setting];\n\n if (!presetDefaults.has(customizeKey)) {\n continue;\n }\n\n this.resetPreviewInUiSettings[customizeKey] = [section, setting, customize(customizeKey).get()];\n const newValue = Object.prototype.hasOwnProperty.call(this.settings, customizeKey) ? this.settings[customizeKey] : presetDefaults.get(customizeKey);\n batchUpdates.push([section, setting, newValue]);\n }\n }\n\n BannerPreset.getIframeStore().customizeBannerStore.setBannerFromPreset(batchUpdates);\n }\n\n resetPreviewInUi() {\n if (this.resetPreviewInUiSettings) {\n BannerPreset.getIframeStore().customizeBannerStore.setBannerFromPreset(Object.values(this.resetPreviewInUiSettings));\n this.resetPreviewInUiSettings = {};\n }\n }\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"id\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"name\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"needsPro\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"description\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"tags\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"settings\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n})), _class);\nexport { BannerPreset };","var _dec, _class;\n\nimport { ClientCollection, RouteHttpVerb, AbstractPostCollection } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { BlockerModel } from \".\";\nlet BlockerCollection = (_dec = ClientCollection.annotate({\n path: \"/rcb-blocker\",\n singlePath: \"/rcb-blocker/:id\",\n namespace: \"wp/v2\",\n methods: [RouteHttpVerb.GET],\n request\n}), _dec(_class = class BlockerCollection extends AbstractPostCollection {\n constructor(store) {\n super();\n this.store = void 0;\n this.store = store;\n }\n\n instance(response) {\n return new BlockerModel(this).fromResponse(response);\n }\n\n}) || _class);\nexport { BlockerCollection };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _dec, _class, _class2, _descriptor;\n\nimport { ClientModel, AbstractPost } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { BlockerPreset } from \".\";\nimport { action, computed, observable, reaction, runInAction } from \"mobx\";\nimport { RootStore } from \"../store\";\nlet BlockerModel = (_dec = ClientModel.annotate({\n keyId: \"id\",\n namespace: \"wp/v2\",\n request,\n create: {\n path: \"/rcb-blocker\"\n },\n patch: {\n path: \"/rcb-blocker/:id\"\n },\n delete: {\n path: \"/rcb-blocker/:id\"\n }\n}), _dec(_class = (_class2 = class BlockerModel extends AbstractPost {\n get rules() {\n var _this$data;\n\n return (_this$data = this.data) === null || _this$data === void 0 ? void 0 : _this$data.meta.rules.split(\"\\n\");\n }\n\n get tcfVendors() {\n var _this$data2;\n\n // In lite version this can be `null`\n if (!((_this$data2 = this.data) !== null && _this$data2 !== void 0 && _this$data2.meta.tcfVendors)) {\n return [];\n }\n\n return this.data.meta.tcfVendors.split(\",\").filter(Boolean).map(Number);\n }\n\n get services() {\n var _this$data3;\n\n return (_this$data3 = this.data) === null || _this$data3 === void 0 ? void 0 : _this$data3.meta.services.split(\",\").filter(Boolean).map(Number);\n }\n\n constructor(collection, data = {}) {\n super(collection, data);\n\n _initializerDefineProperty(this, \"presetModel\", _descriptor, this);\n\n reaction(() => {\n var _this$data4;\n\n return (_this$data4 = this.data) === null || _this$data4 === void 0 ? void 0 : _this$data4.preset;\n }, preset => runInAction(() => {\n this.presetModel = preset ? new BlockerPreset(preset, RootStore.get.cookieStore) : undefined;\n }), {\n fireImmediately: true\n });\n }\n\n setName(name) {\n this.data.title.rendered = name;\n }\n\n setStatus(status) {\n this.data.status = status;\n }\n\n setDescription(purpose) {\n this.data.content.rendered = purpose;\n }\n\n setMeta(meta) {\n this.data.meta = meta;\n }\n\n transformDataForPatch() {\n const data = super.transformDataForPatch();\n return {\n title: data.title,\n content: data.content,\n status: data.status,\n meta: data.meta,\n slug: data.title\n };\n }\n\n afterPatch() {\n this.collection.store.blockers.store.rootStore.optionStore.fetchCurrentRevision();\n }\n\n afterDelete() {\n this.collection.store.blockers.store.rootStore.optionStore.fetchCurrentRevision();\n }\n\n afterPersist() {\n this.collection.store.blockers.store.rootStore.optionStore.fetchCurrentRevision();\n }\n\n}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, \"presetModel\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class2.prototype, \"rules\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"rules\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"tcfVendors\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"tcfVendors\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"services\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"services\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setName\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setName\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setStatus\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setStatus\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setDescription\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setDescription\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setMeta\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setMeta\"), _class2.prototype)), _class2)) || _class);\nexport { BlockerModel };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3;\n\nimport { observable, runInAction, computed, flow } from \"mobx\";\nimport { locationRestPresetsBlockerAttributesGet } from \"../wp-api\";\nimport { request } from \"../utils\";\nlet BlockerPreset = (_class = class BlockerPreset {\n get fullLogoUrl() {\n const {\n logoFile\n } = this.data;\n const {\n publicUrl\n } = this.store.rootStore.optionStore;\n return logoFile.startsWith(\"http\") ? logoFile : \"\".concat(publicUrl, \"images/logos/\").concat(logoFile);\n }\n\n constructor(preset, store) {\n _initializerDefineProperty(this, \"busy\", _descriptor, this);\n\n _initializerDefineProperty(this, \"data\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"attributes\", _descriptor3, this);\n\n this.store = void 0;\n this.fetchAttributes = flow(function* () {\n try {\n this.busy = true;\n const response = yield request({\n location: locationRestPresetsBlockerAttributesGet,\n params: {\n identifier: this.data.identifier\n }\n });\n this.attributes = response;\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busy = false;\n }\n });\n runInAction(() => {\n this.data = preset;\n });\n this.store = store;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"attributes\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"fullLogoUrl\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"fullLogoUrl\"), _class.prototype)), _class);\nexport { BlockerPreset };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29;\n\nimport { observable, set, runInAction, computed } from \"mobx\";\nlet Consent = (_class = class Consent {\n get revision() {\n return this.store.revisions.get(this.revision_hash);\n }\n\n get revision_independent() {\n return this.store.revisionsIndependent.get(this.revision_independent_hash);\n }\n\n get custom_bypass_readable() {\n const {\n custom_bypass\n } = this;\n return custom_bypass ? custom_bypass.charAt(0).toUpperCase() + custom_bypass.slice(1) : \"\";\n }\n\n /**\n * Prepare the entry for JSON export.\n */\n get export() {\n return JSON.parse(JSON.stringify({ ...this.plain,\n revision: this.revision.data,\n revision_independent: this.revision_independent.data\n }));\n }\n\n constructor(consent, store) {\n _initializerDefineProperty(this, \"id\", _descriptor, this);\n\n _initializerDefineProperty(this, \"plugin_version\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"design_version\", _descriptor3, this);\n\n _initializerDefineProperty(this, \"ipv4\", _descriptor4, this);\n\n _initializerDefineProperty(this, \"ipv6\", _descriptor5, this);\n\n _initializerDefineProperty(this, \"ipv4_hash\", _descriptor6, this);\n\n _initializerDefineProperty(this, \"ipv6_hash\", _descriptor7, this);\n\n _initializerDefineProperty(this, \"uuid\", _descriptor8, this);\n\n _initializerDefineProperty(this, \"previous_decision\", _descriptor9, this);\n\n _initializerDefineProperty(this, \"decision\", _descriptor10, this);\n\n _initializerDefineProperty(this, \"decision_labels\", _descriptor11, this);\n\n _initializerDefineProperty(this, \"created\", _descriptor12, this);\n\n _initializerDefineProperty(this, \"blocker\", _descriptor13, this);\n\n _initializerDefineProperty(this, \"blocker_thumbnail\", _descriptor14, this);\n\n _initializerDefineProperty(this, \"dnt\", _descriptor15, this);\n\n _initializerDefineProperty(this, \"custom_bypass\", _descriptor16, this);\n\n _initializerDefineProperty(this, \"user_country\", _descriptor17, this);\n\n _initializerDefineProperty(this, \"revision_hash\", _descriptor18, this);\n\n _initializerDefineProperty(this, \"revision_independent_hash\", _descriptor19, this);\n\n _initializerDefineProperty(this, \"button_clicked\", _descriptor20, this);\n\n _initializerDefineProperty(this, \"context\", _descriptor21, this);\n\n _initializerDefineProperty(this, \"viewport_width\", _descriptor22, this);\n\n _initializerDefineProperty(this, \"viewport_height\", _descriptor23, this);\n\n _initializerDefineProperty(this, \"viewed_page\", _descriptor24, this);\n\n _initializerDefineProperty(this, \"url_imprint\", _descriptor25, this);\n\n _initializerDefineProperty(this, \"url_privacy_policy\", _descriptor26, this);\n\n _initializerDefineProperty(this, \"forwarded\", _descriptor27, this);\n\n _initializerDefineProperty(this, \"forwarded_blocker\", _descriptor28, this);\n\n _initializerDefineProperty(this, \"tcf_string\", _descriptor29, this);\n\n this.store = void 0;\n this.plain = void 0;\n runInAction(() => set(this, consent));\n this.store = store;\n this.plain = consent;\n }\n\n fetchRevisions() {\n return Promise.all([this.store.fetchRevision({\n hash: this.revision_hash\n }), this.store.fetchRevisionIndependent({\n hash: this.revision_independent_hash\n })]);\n }\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"id\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"plugin_version\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"design_version\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"ipv4\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"ipv6\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"ipv4_hash\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"ipv6_hash\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"uuid\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"previous_decision\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"decision\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"decision_labels\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"created\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"blocker\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"blocker_thumbnail\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"dnt\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"custom_bypass\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"user_country\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, \"revision_hash\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor19 = _applyDecoratedDescriptor(_class.prototype, \"revision_independent_hash\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor20 = _applyDecoratedDescriptor(_class.prototype, \"button_clicked\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor21 = _applyDecoratedDescriptor(_class.prototype, \"context\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor22 = _applyDecoratedDescriptor(_class.prototype, \"viewport_width\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor23 = _applyDecoratedDescriptor(_class.prototype, \"viewport_height\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor24 = _applyDecoratedDescriptor(_class.prototype, \"viewed_page\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor25 = _applyDecoratedDescriptor(_class.prototype, \"url_imprint\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor26 = _applyDecoratedDescriptor(_class.prototype, \"url_privacy_policy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor27 = _applyDecoratedDescriptor(_class.prototype, \"forwarded\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor28 = _applyDecoratedDescriptor(_class.prototype, \"forwarded_blocker\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor29 = _applyDecoratedDescriptor(_class.prototype, \"tcf_string\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"revision\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"revision\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"revision_independent\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"revision_independent\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"custom_bypass_readable\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"custom_bypass_readable\"), _class.prototype)), _class);\nexport { Consent };","import _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\n\nvar _dec, _class, _class2;\n\nimport { ClientCollection, RouteHttpVerb, AbstractPostCollection } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { CookieModel } from \".\";\nimport { computed, flow } from \"mobx\";\nimport { locationRestCookiesOrderPut } from \"../wp-api\";\nlet CookieCollection = (_dec = ClientCollection.annotate({\n path: \"/rcb-cookie\",\n singlePath: \"/rcb-cookie/:id\",\n namespace: \"wp/v2\",\n methods: [RouteHttpVerb.GET],\n request\n}), _dec(_class = (_class2 = class CookieCollection extends AbstractPostCollection {\n get sortedCookies() {\n const result = Array.from(this.entries.values());\n result.sort((a, b) => {\n if (a.data.menu_order < b.data.menu_order) {\n return -1;\n } else if (a.data.menu_order > b.data.menu_order) {\n return 1;\n } else {\n // a.menu_order === b.menu_order\n if (a.key < b.key) {\n return 1;\n } else if (a.key > b.key) {\n return -1;\n } else {\n return 0;\n }\n }\n });\n return result;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n constructor(store) {\n super();\n this.store = void 0;\n this.orderCookies = flow(function* (ids) {\n this.busy = true;\n\n try {\n yield request({\n location: locationRestCookiesOrderPut,\n request: {\n ids\n }\n }); // Apply the order to existing cached models instead of fetching again\n\n let i = 0;\n\n for (const id of ids) {\n const cookie = this.entries.get(id);\n cookie.setOrder(i);\n i++;\n }\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busy = false;\n }\n });\n this.store = store;\n }\n\n instance(response) {\n return new CookieModel(this).fromResponse(response);\n }\n\n}, (_applyDecoratedDescriptor(_class2.prototype, \"sortedCookies\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"sortedCookies\"), _class2.prototype)), _class2)) || _class);\nexport { CookieCollection };","import _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\n\nvar _dec, _class, _class2;\n\nimport { ClientCollection, RouteHttpVerb, AbstractCategoryCollection } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { CookieGroupModel } from \".\";\nimport { computed, flow } from \"mobx\";\nimport { locationRestCookieGroupOrderPut } from \"../wp-api\";\nlet CookieGroupCollection = (_dec = ClientCollection.annotate({\n path: \"/rcb-cookie-group\",\n singlePath: \"/rcb-cookie-group/:id\",\n namespace: \"wp/v2\",\n methods: [RouteHttpVerb.GET],\n request\n}), _dec(_class = (_class2 = class CookieGroupCollection extends AbstractCategoryCollection {\n get sortedGroups() {\n const result = Array.from(this.entries.values());\n result.sort((a, b) => {\n if (a.data.meta.order < b.data.meta.order) {\n return -1;\n } else if (a.data.meta.order > b.data.meta.order) {\n return 1;\n } else {\n return 0;\n }\n });\n return result;\n }\n\n constructor(store) {\n super();\n this.store = void 0;\n this.orderCookieGroups = flow(function* (ids) {\n this.busy = true;\n\n try {\n yield request({\n location: locationRestCookieGroupOrderPut,\n request: {\n ids\n }\n }); // Apply the order to existing cached models instead of fetching again\n\n let i = 0;\n\n for (const id of ids) {\n const group = this.entries.get(id);\n group.setOrder(i);\n i++;\n }\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busy = false;\n }\n });\n this.store = store;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n instance(response) {\n return new CookieGroupModel(this).fromResponse(response);\n }\n\n}, (_applyDecoratedDescriptor(_class2.prototype, \"sortedGroups\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"sortedGroups\"), _class2.prototype)), _class2)) || _class);\nexport { CookieGroupCollection };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _dec, _class, _class2, _descriptor, _descriptor2;\n\nimport { ClientModel, AbstractCategory } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { CookieCollection } from \".\";\nimport { action, observable, runInAction, flow, computed } from \"mobx\";\nlet CookieGroupModel = (_dec = ClientModel.annotate({\n keyId: \"id\",\n namespace: \"wp/v2\",\n request,\n create: {\n path: \"/rcb-cookie-group\"\n },\n patch: {\n path: \"/rcb-cookie-group/:id\"\n },\n delete: {\n path: \"/rcb-cookie-group/:id\"\n }\n}), _dec(_class = (_class2 = class CookieGroupModel extends AbstractCategory {\n get cookiesCount() {\n // TODO: this.data.count should return a count also of private cookies\n return this.fetchedAllCookies ? this.cookies.entries.size : this.data.count;\n }\n\n constructor(collection, data = {}) {\n super(collection, data);\n\n _initializerDefineProperty(this, \"cookies\", _descriptor, this);\n\n _initializerDefineProperty(this, \"fetchedAllCookies\", _descriptor2, this);\n\n this.fetchCookies = flow(function* () {\n yield this.cookies.get({\n request: {\n status: [\"draft\", \"publish\", \"private\"]\n },\n params: {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n per_page: 100,\n // Fetch all\n \"rcb-cookie-group\": this.key,\n context: \"edit\"\n }\n });\n this.fetchedAllCookies = true;\n });\n runInAction(() => {\n this.cookies = new CookieCollection(this);\n });\n }\n\n setName(name) {\n this.data.name = name;\n }\n\n setDescription(description) {\n this.data.description = description;\n }\n\n setOrder(order) {\n this.data.meta.order = order;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n afterDelete() {\n this.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n\n afterPatch() {\n this.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n\n afterPersist() {\n this.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n\n}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, \"cookies\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"fetchedAllCookies\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _applyDecoratedDescriptor(_class2.prototype, \"cookiesCount\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"cookiesCount\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setName\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setName\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setDescription\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setDescription\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setOrder\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setOrder\"), _class2.prototype)), _class2)) || _class);\nexport { CookieGroupModel };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _dec, _class, _class2, _descriptor;\n\nimport { ClientModel, AbstractPost } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { CookiePreset } from \".\";\nimport { computed, action, observable, runInAction, reaction } from \"mobx\";\nimport { RootStore } from \"../store\";\nlet CookieModel = (_dec = ClientModel.annotate({\n keyId: \"id\",\n namespace: \"wp/v2\",\n request,\n create: {\n path: \"/rcb-cookie\"\n },\n patch: {\n path: \"/rcb-cookie/:id\"\n },\n delete: {\n path: \"/rcb-cookie/:id\"\n }\n}), _dec(_class = (_class2 = class CookieModel extends AbstractPost {\n get rootStore() {\n return this.collection.store.collection.store.rootStore;\n }\n\n get technicalDefinitions() {\n return JSON.parse(this.data.meta.technicalDefinitions);\n }\n\n get codeDynamics() {\n return JSON.parse(this.data.meta.codeDynamics || \"{}\");\n }\n\n constructor(collection, data = {}) {\n super(collection, data);\n\n _initializerDefineProperty(this, \"presetModel\", _descriptor, this);\n\n this.store = void 0;\n reaction(() => {\n var _this$data;\n\n return (_this$data = this.data) === null || _this$data === void 0 ? void 0 : _this$data.preset;\n }, preset => runInAction(() => {\n this.presetModel = preset ? new CookiePreset(preset, RootStore.get.cookieStore) : undefined;\n }), {\n fireImmediately: true\n });\n }\n\n afterPatch() {\n // Remove this cookie from all other groups\n const groups = this.collection.store.collection;\n const [thisGroup] = this.data[\"rcb-cookie-group\"];\n groups.entries.forEach(group => {\n if (thisGroup !== group.key) {\n group.cookies.entries.delete(this.key);\n } else {\n group.cookies.entries.set(this.key, this);\n }\n });\n this.rootStore.optionStore.fetchCurrentRevision();\n this.rootStore.cookieStore.unassignedCookies.delete(this.key);\n }\n\n setOrder(order) {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n this.data.menu_order = order;\n }\n\n setName(name) {\n this.data.title.rendered = name;\n }\n\n setStatus(status) {\n this.data.status = status;\n }\n\n setPurpose(purpose) {\n this.data.content.rendered = purpose;\n }\n\n setGroup(group) {\n this.data[\"rcb-cookie-group\"] = [group];\n }\n\n setMeta(meta) {\n this.data.meta = meta;\n }\n\n transformDataForPersist() {\n const data = super.transformDataForPersist();\n return { ...data,\n \"rcb-cookie-group\": [this.collection.store.key]\n };\n }\n\n transformDataForPatch() {\n const data = super.transformDataForPatch();\n return {\n title: data.title,\n content: data.content,\n status: data.status,\n meta: data.meta,\n // eslint-disable-next-line @typescript-eslint/naming-convention\n menu_order: data.menu_order,\n \"rcb-cookie-group\": this.data[\"rcb-cookie-group\"],\n // Force to rewrite slug\n slug: data.title\n };\n }\n\n afterDelete() {\n this.collection.store.cookies.store.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n\n afterPersist() {\n const {\n optionStore,\n checklistStore\n } = this.collection.store.cookies.store.collection.store.rootStore;\n optionStore.fetchCurrentRevision();\n checklistStore.probablyFetchByChangedItem(\"add-cookie\");\n }\n\n}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, \"presetModel\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class2.prototype, \"rootStore\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"rootStore\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"technicalDefinitions\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"technicalDefinitions\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"codeDynamics\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"codeDynamics\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"afterPatch\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"afterPatch\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setOrder\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setOrder\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setName\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setName\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setStatus\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setStatus\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setPurpose\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setPurpose\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setGroup\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setGroup\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setMeta\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setMeta\"), _class2.prototype)), _class2)) || _class);\nexport { CookieModel };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3;\n\nimport { observable, runInAction, computed, flow } from \"mobx\";\nimport { locationRestPresetsCookiesAttributesGet } from \"../wp-api\";\nimport { request } from \"../utils\";\nlet CookiePreset = (_class = class CookiePreset {\n get fullLogoUrl() {\n const {\n logoFile\n } = this.data;\n const {\n publicUrl\n } = this.store.rootStore.optionStore;\n return logoFile.startsWith(\"http\") ? logoFile : \"\".concat(publicUrl, \"images/logos/\").concat(logoFile);\n }\n\n constructor(preset, store) {\n _initializerDefineProperty(this, \"busy\", _descriptor, this);\n\n _initializerDefineProperty(this, \"data\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"attributes\", _descriptor3, this);\n\n this.store = void 0;\n this.fetchAttributes = flow(function* () {\n try {\n this.busy = true;\n const response = yield request({\n location: locationRestPresetsCookiesAttributesGet,\n params: {\n identifier: this.data.identifier\n }\n });\n this.attributes = response;\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busy = false;\n }\n });\n runInAction(() => {\n this.data = preset;\n });\n this.store = store;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"attributes\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"fullLogoUrl\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"fullLogoUrl\"), _class.prototype)), _class);\nexport { CookiePreset };","class Revision {\n // @observable: We never make changes\n constructor(preset, store) {\n this.data = void 0;\n this.store = void 0;\n this.data = preset;\n this.store = store;\n }\n\n}\n\nexport { Revision };","class RevisionIndependent {\n // @observable: We never make changes\n constructor(preset, store) {\n this.data = void 0;\n this.store = void 0;\n this.data = preset;\n this.store = store;\n }\n\n}\n\nexport { RevisionIndependent };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2;\n\nimport { computed, flow, observable, runInAction } from \"mobx\";\nimport { locationRestScannerResultExternalPatch } from \"../wp-api\";\nimport { request, __ } from \"../utils\";\nlet ScannerResultExternalUrl = (_class = class ScannerResultExternalUrl {\n get identifier() {\n return this.data.host;\n }\n\n get inactive() {\n return this.blockedStatus === \"full\" || this.data.ignored;\n }\n\n get blockedStatus() {\n const {\n foundCount,\n blockedCount\n } = this.data;\n return blockedCount === 0 ? \"none\" : foundCount === blockedCount ? \"full\" : \"partial\";\n }\n\n get blockedStatusText() {\n switch (this.blockedStatus) {\n case \"full\":\n return __(\"Fully blocked\");\n\n case \"partial\":\n return __(\"Partially blocked\");\n\n default:\n return __(\"Not blocked\");\n }\n }\n\n constructor(externalUrl, store) {\n _initializerDefineProperty(this, \"busy\", _descriptor, this);\n\n _initializerDefineProperty(this, \"data\", _descriptor2, this);\n\n this.store = void 0;\n this.ignore = flow(function* (state = true) {\n try {\n yield request({\n location: locationRestScannerResultExternalPatch,\n request: {\n ignored: state\n },\n params: {\n host: this.data.host.replace(/\\./g, \"_\")\n }\n });\n this.data.ignored = state;\n } catch (e) {\n console.log(e);\n throw e;\n }\n });\n runInAction(() => {\n this.data = externalUrl;\n });\n this.store = store;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"identifier\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"identifier\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"inactive\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"inactive\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"blockedStatus\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"blockedStatus\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"blockedStatusText\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"blockedStatusText\"), _class.prototype)), _class);\nexport { ScannerResultExternalUrl };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2;\n\nimport { observable, runInAction, flow, computed } from \"mobx\";\nimport { truncateMiddle } from \"../utils\";\nlet ScannerResultExternalUrlSingle = (_class = class ScannerResultExternalUrlSingle {\n get markup() {\n return this.store.resultMarkup.get(this.data.id);\n }\n\n get blockedUrlTruncate() {\n return truncateMiddle(this.data.blockedUrl, 50, \"[...]\");\n }\n\n get sourceUrlTruncate() {\n return truncateMiddle(this.data.sourceUrl, 50, \"[...]\");\n }\n\n constructor(preset, store) {\n _initializerDefineProperty(this, \"busy\", _descriptor, this);\n\n _initializerDefineProperty(this, \"data\", _descriptor2, this);\n\n this.store = void 0;\n this.fetchMarkup = flow(function* () {\n yield this.store.fetchMarkup(this.data.id);\n });\n runInAction(() => {\n this.data = preset;\n });\n this.store = store;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"markup\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"markup\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"blockedUrlTruncate\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"blockedUrlTruncate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"sourceUrlTruncate\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"sourceUrlTruncate\"), _class.prototype)), _class);\nexport { ScannerResultExternalUrlSingle };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3;\n\nimport { observable, runInAction, computed, flow } from \"mobx\";\nimport { request } from \"../utils\";\nimport { locationRestPresetsBlockerAttributesGet } from \"../wp-api\";\nlet ScannerResultPreset = (_class = class ScannerResultPreset {\n get identifier() {\n return this.data.identifier;\n }\n\n get fullLogoUrl() {\n const {\n logoFile\n } = this.data;\n const {\n publicUrl\n } = this.store.rootStore.optionStore;\n return logoFile.startsWith(\"http\") ? logoFile : \"\".concat(publicUrl, \"images/logos/\").concat(logoFile);\n }\n /**\n * Determines if this preset needs further attention. It is inactive when it e.g. already exists.\n */\n\n\n get inactive() {\n return this.data.created;\n }\n\n constructor(preset, store) {\n _initializerDefineProperty(this, \"busy\", _descriptor, this);\n\n _initializerDefineProperty(this, \"data\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"attributes\", _descriptor3, this);\n\n this.store = void 0;\n this.fetchAttributes = flow(function* () {\n try {\n this.busy = true;\n const response = yield request({\n location: locationRestPresetsBlockerAttributesGet,\n params: {\n identifier: this.data.identifier\n }\n });\n this.attributes = response;\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busy = false;\n }\n });\n runInAction(() => {\n this.data = preset;\n });\n this.store = store;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"attributes\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"identifier\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"identifier\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"fullLogoUrl\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"fullLogoUrl\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"inactive\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"inactive\"), _class.prototype)), _class);\nexport { ScannerResultPreset };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2;\n\nimport { observable, runInAction } from \"mobx\";\nlet TcfFeature = (_class = class TcfFeature {\n constructor(data, special, store) {\n _initializerDefineProperty(this, \"data\", _descriptor, this);\n\n _initializerDefineProperty(this, \"special\", _descriptor2, this);\n\n this.store = void 0;\n runInAction(() => {\n this.special = special;\n this.data = data;\n });\n this.store = store;\n }\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"special\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n})), _class);\nexport { TcfFeature };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2;\n\nimport { observable, runInAction } from \"mobx\";\nlet TcfPurpose = (_class = class TcfPurpose {\n constructor(data, special, store) {\n _initializerDefineProperty(this, \"data\", _descriptor, this);\n\n _initializerDefineProperty(this, \"special\", _descriptor2, this);\n\n this.store = void 0;\n runInAction(() => {\n this.special = special;\n this.data = data;\n });\n this.store = store;\n }\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"special\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n})), _class);\nexport { TcfPurpose };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor;\n\nimport { computed, observable, runInAction } from \"mobx\";\nimport { ETcfGvlDisclosureType } from \"@devowl-wp/real-cookie-banner-backend/src/types/service/tcf\";\nlet TcfVendor = (_class = class TcfVendor {\n /**\n * Get existing vendor configuration for this vendor.\n */\n get vendorConfiguration() {\n for (const c of this.store.vendorConfigurations.entries.values()) {\n if (c.vendorModel.data.id === this.data.id) {\n return c;\n }\n }\n\n return undefined;\n }\n\n get deviceStorageDisclosure() {\n const {\n usesCookies,\n cookieMaxAgeSeconds,\n cookieRefresh,\n usesNonCookieAccess,\n deviceStorageDisclosure\n } = this.data;\n const result = deviceStorageDisclosure !== null && deviceStorageDisclosure !== void 0 && deviceStorageDisclosure.disclosures.length ? [...deviceStorageDisclosure.disclosures] : []; // Include implicit device storage into table\n\n if (usesNonCookieAccess) {\n result.unshift({\n type: ETcfGvlDisclosureType.Web,\n identifier: \"*\",\n purposes: undefined,\n cookieRefresh: undefined,\n domain: \"*\",\n maxAgeSeconds: null\n });\n }\n\n if (usesCookies) {\n result.unshift({\n type: ETcfGvlDisclosureType.Cookie,\n identifier: \"*\",\n purposes: undefined,\n cookieRefresh,\n domain: \"*\",\n maxAgeSeconds: cookieMaxAgeSeconds\n });\n }\n\n return result;\n }\n\n get allPurposes() {\n return [...this.legIntPurposes, ...this.purposes, ...this.specialPurposes].filter(Boolean);\n }\n\n get allFeatures() {\n return [...this.features, ...this.specialFeatures].filter(Boolean);\n }\n /**\n * Calculate a map of restrictions for this vendor. This can be used to make a form\n * configurable depending on the current vendor.\n */\n\n\n get restrictivePurposes() {\n const result = {\n normal: {}\n };\n\n for (const purpose of [...this.legIntPurposes, ...this.purposes]) {\n result.normal[purpose.data.id.toString()] = {\n enabled: true,\n legInt: this.legIntPurposes.indexOf(purpose) > -1 && !purpose.special ? \"yes\" : \"no\"\n };\n }\n\n return result;\n }\n /**\n * Map the integers to valid declaration objects.\n */\n\n\n get purposes() {\n var _this$data;\n\n return (_this$data = this.data) === null || _this$data === void 0 ? void 0 : _this$data.purposes.map(id => this.store.purposes.get(\"\".concat(id)));\n }\n\n get legIntPurposes() {\n var _this$data2;\n\n return (_this$data2 = this.data) === null || _this$data2 === void 0 ? void 0 : _this$data2.legIntPurposes.map(id => this.store.purposes.get(\"\".concat(id)));\n }\n\n get flexiblePurposes() {\n var _this$data3;\n\n return (_this$data3 = this.data) === null || _this$data3 === void 0 ? void 0 : _this$data3.flexiblePurposes.map(id => this.store.purposes.get(\"\".concat(id)));\n }\n\n get specialPurposes() {\n var _this$data4;\n\n return (_this$data4 = this.data) === null || _this$data4 === void 0 ? void 0 : _this$data4.specialPurposes.map(id => this.store.specialPurposes.get(\"\".concat(id)));\n }\n\n get features() {\n var _this$data5;\n\n return (_this$data5 = this.data) === null || _this$data5 === void 0 ? void 0 : _this$data5.features.map(id => this.store.features.get(\"\".concat(id)));\n }\n\n get specialFeatures() {\n var _this$data6;\n\n return (_this$data6 = this.data) === null || _this$data6 === void 0 ? void 0 : _this$data6.specialFeatures.map(id => this.store.specialFeatures.get(\"\".concat(id)));\n }\n\n constructor(data, store) {\n _initializerDefineProperty(this, \"data\", _descriptor, this);\n\n this.store = void 0;\n runInAction(() => {\n this.data = data;\n });\n this.store = store;\n }\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"vendorConfiguration\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"vendorConfiguration\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deviceStorageDisclosure\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"deviceStorageDisclosure\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"allPurposes\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"allPurposes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"allFeatures\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"allFeatures\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"restrictivePurposes\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"restrictivePurposes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"purposes\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"purposes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"legIntPurposes\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"legIntPurposes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"flexiblePurposes\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"flexiblePurposes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"specialPurposes\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"specialPurposes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"features\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"features\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"specialFeatures\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"specialFeatures\"), _class.prototype)), _class);\nexport { TcfVendor };","var _dec, _class;\n\nimport { ClientCollection, RouteHttpVerb, AbstractPostCollection } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { TcfVendorConfigurationModel } from \".\";\nlet TcfVendorConfigurationCollection = (_dec = ClientCollection.annotate({\n path: \"/rcb-tcf-vendor-conf\",\n singlePath: \"/rcb-tcf-vendor-conf/:id\",\n namespace: \"wp/v2\",\n methods: [RouteHttpVerb.GET],\n request\n}), _dec(_class = class TcfVendorConfigurationCollection extends AbstractPostCollection {\n constructor(store) {\n super();\n this.store = void 0;\n this.store = store;\n }\n\n instance(response) {\n return new TcfVendorConfigurationModel(this).fromResponse(response);\n }\n\n}) || _class);\nexport { TcfVendorConfigurationCollection };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _dec, _class, _class2, _descriptor;\n\nimport { ClientModel, AbstractPost } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { action, computed, observable, reaction, runInAction } from \"mobx\";\nimport { TcfVendor } from \"./tcfVendor\";\nimport $ from \"jquery\";\nlet TcfVendorConfigurationModel = (_dec = ClientModel.annotate({\n keyId: \"id\",\n namespace: \"wp/v2\",\n request,\n create: {\n path: \"/rcb-tcf-vendor-conf\"\n },\n patch: {\n path: \"/rcb-tcf-vendor-conf/:id\"\n },\n delete: {\n path: \"/rcb-tcf-vendor-conf/:id\"\n }\n}), _dec(_class = (_class2 = class TcfVendorConfigurationModel extends AbstractPost {\n /**\n * In some cases, vendors can be abandoned by the GVL.\n */\n get hasVendor() {\n return !!this.vendorModel;\n }\n\n get restrictivePurposes() {\n var _this$vendorModel, _this$vendorModel2;\n\n // Fallback to original if we have changed to `global`\n const disableRestrictivePurposes = this.collection.store.rootStore.optionStore.tcfScopeOfConsent === \"global\";\n const originalRestrictivePurposes = ((_this$vendorModel = this.vendorModel) === null || _this$vendorModel === void 0 ? void 0 : _this$vendorModel.restrictivePurposes) || {\n normal: {}\n };\n\n if (disableRestrictivePurposes) {\n return originalRestrictivePurposes;\n }\n\n const result = JSON.parse(this.data.meta.restrictivePurposes); // Merge with original vendor purposes so all are listed\n\n return $.extend(true, {}, ((_this$vendorModel2 = this.vendorModel) === null || _this$vendorModel2 === void 0 ? void 0 : _this$vendorModel2.restrictivePurposes) || {}, result);\n }\n\n get stats() {\n var _this$vendorModel3;\n\n const {\n normal\n } = this.restrictivePurposes;\n const arr = [...Object.values(normal)];\n return {\n activePurposes: arr.filter(({\n enabled\n }) => enabled).length,\n legIntPurposes: arr.filter(({\n enabled,\n legInt\n }) => enabled && legInt === \"yes\").length,\n activeFeatures: ((_this$vendorModel3 = this.vendorModel) === null || _this$vendorModel3 === void 0 ? void 0 : _this$vendorModel3.allFeatures.length) || 0\n };\n }\n\n constructor(collection, data = {}) {\n super(collection, data);\n\n _initializerDefineProperty(this, \"vendorModel\", _descriptor, this);\n\n reaction(() => this.data.vendor, vendor => runInAction(() => {\n if (vendor) {\n const {\n vendors\n } = this.collection.store;\n const vendorId = vendor.id.toString();\n let existing = vendors.get(vendorId);\n\n if (!existing) {\n existing = new TcfVendor(vendor, this.collection.store);\n vendors.set(vendorId, existing);\n }\n\n this.vendorModel = existing;\n }\n }), {\n fireImmediately: true\n }); // Automatically set the vendor model (e.g. newly saved configuration)\n\n reaction(() => {\n var _this$data$meta;\n\n return (_this$data$meta = this.data.meta) === null || _this$data$meta === void 0 ? void 0 : _this$data$meta.vendorId;\n }, vendorId => {\n if (vendorId) {\n this.vendorModel = this.collection.store.vendors.get(vendorId.toString());\n }\n }, {\n fireImmediately: true\n });\n }\n\n setStatus(status) {\n this.data.status = status;\n }\n\n setMeta(meta) {\n this.data.meta = meta;\n }\n\n transformDataForPatch() {\n const data = super.transformDataForPatch();\n return {\n status: data.status,\n meta: data.meta\n };\n }\n\n afterPatch() {\n this.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n\n afterDelete() {\n this.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n\n afterPersist() {\n this.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n\n}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, \"vendorModel\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class2.prototype, \"hasVendor\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"hasVendor\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"restrictivePurposes\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"restrictivePurposes\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"stats\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"stats\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setStatus\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setStatus\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setMeta\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setMeta\"), _class2.prototype)), _class2)) || _class);\nexport { TcfVendorConfigurationModel };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2;\n\nimport { observable, flow, computed } from \"mobx\";\nimport { BaseOptions } from \"@devowl-wp/utils\";\nimport { locationRestChecklistGet, locationRestChecklistPut } from \"../wp-api\";\nimport { request } from \"../utils\";\nlet ChecklistStore = (_class = class ChecklistStore extends BaseOptions {\n constructor(rootStore) {\n super();\n\n _initializerDefineProperty(this, \"busyChecklist\", _descriptor, this);\n\n _initializerDefineProperty(this, \"checklist\", _descriptor2, this);\n\n this.rootStore = void 0;\n this.probablyFetchByChangedItem = flow(function* (itemId, force) {\n if (force) {\n yield this.fetchChecklist();\n return;\n }\n\n const useItemIds = !Array.isArray(itemId) ? [itemId] : itemId;\n\n if (this.items.filter(({\n id,\n checked\n }) => useItemIds.indexOf(id) > -1 && !checked).length > 0) {\n yield this.fetchChecklist();\n }\n });\n this.fetchChecklist = flow(function* () {\n this.busyChecklist = true;\n\n try {\n this.checklist = yield request({\n location: locationRestChecklistGet,\n params: {\n _wp_http_referer: window.location.href\n }\n });\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyChecklist = false;\n }\n });\n this.toggleChecklistItem = flow(function* (id, state) {\n this.busyChecklist = true;\n\n try {\n this.checklist = yield request({\n location: locationRestChecklistPut,\n request: {\n state\n },\n params: {\n id,\n _wp_http_referer: window.location.href\n }\n });\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyChecklist = false;\n }\n });\n this.rootStore = rootStore;\n }\n\n get items() {\n return this.checklist && Object.keys(this.checklist.items).map(id => ({\n id,\n ...this.checklist.items[id]\n })) || [];\n }\n\n get completed() {\n return this.items.filter(({\n checked\n }) => checked);\n }\n\n get checkable() {\n const {\n isPro\n } = this.rootStore.optionStore.others;\n return this.items.filter(({\n needsPro\n }) => !needsPro || isPro && needsPro);\n }\n\n get done() {\n var _this$checklist;\n\n return this.completed.length >= this.checkable.length || !!((_this$checklist = this.checklist) !== null && _this$checklist !== void 0 && _this$checklist.dismissed);\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busyChecklist\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"checklist\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"items\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"items\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"completed\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"completed\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"checkable\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"checkable\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"done\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"done\"), _class.prototype)), _class);\nexport { ChecklistStore };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10;\n\nimport { observable, flow, action, runInAction } from \"mobx\";\nimport { BaseOptions } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { locationRestRevisionGet, locationRestRevisionIndependentGet, locationRestConsentAllGet, locationRestConsentAllDelete, locationRestConsentRefererGet } from \"../wp-api\";\nimport { Consent, Revision, RevisionIndependent } from \"../models\";\nconst DATE_FORMAT = \"YYYY-MM-DD\";\nlet ConsentStore = (_class = class ConsentStore extends BaseOptions {\n /**\n * Current visible page in Consent tab\n */\n constructor(rootStore) {\n super();\n\n _initializerDefineProperty(this, \"busyConsent\", _descriptor, this);\n\n _initializerDefineProperty(this, \"busyReferer\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"count\", _descriptor3, this);\n\n _initializerDefineProperty(this, \"truncatedIpsCount\", _descriptor4, this);\n\n _initializerDefineProperty(this, \"perPage\", _descriptor5, this);\n\n _initializerDefineProperty(this, \"offset\", _descriptor6, this);\n\n _initializerDefineProperty(this, \"pageCollection\", _descriptor7, this);\n\n _initializerDefineProperty(this, \"revisions\", _descriptor8, this);\n\n _initializerDefineProperty(this, \"revisionsIndependent\", _descriptor9, this);\n\n _initializerDefineProperty(this, \"referer\", _descriptor10, this);\n\n this.filters = observable.object({\n page: 1,\n dates: [undefined, undefined],\n context: undefined,\n referer: undefined,\n ip: undefined,\n uuid: undefined\n }, {}, {\n deep: false\n });\n this.rootStore = void 0;\n this.fetchAll = flow(function* () {\n this.busyConsent = true;\n\n try {\n const {\n page,\n referer,\n ip,\n uuid,\n context\n } = this.filters;\n const dates = this.filters.dates.map(m => m ? m.format(DATE_FORMAT) : \"\");\n const {\n count,\n truncatedIpsCount,\n items\n } = yield request({\n location: locationRestConsentAllGet,\n params: {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n per_page: this.perPage,\n offset: (page - 1) * this.perPage,\n from: dates[0],\n to: dates[1],\n ip,\n uuid,\n referer,\n context\n }\n });\n this.count = count;\n this.truncatedIpsCount = truncatedIpsCount;\n this.pageCollection.clear();\n\n for (const item of items) {\n this.pageCollection.set(item.id, new Consent(item, this));\n }\n } catch (e) {\n this.count = 0;\n this.truncatedIpsCount = 0;\n this.pageCollection.clear();\n console.log(e);\n throw e;\n } finally {\n this.busyConsent = false;\n }\n });\n this.fetchRevision = flow(function* (params) {\n try {\n const response = yield request({\n location: locationRestRevisionGet,\n params\n });\n this.revisions.set(params.hash, new Revision(response, this));\n } catch (e) {\n console.log(e);\n throw e;\n }\n });\n this.fetchRevisionIndependent = flow(function* (params) {\n try {\n const response = yield request({\n location: locationRestRevisionIndependentGet,\n params\n });\n this.revisionsIndependent.set(params.hash, new RevisionIndependent(response, this));\n } catch (e) {\n console.log(e);\n throw e;\n }\n });\n this.fetchReferer = flow(function* (params) {\n this.busyReferer = true;\n\n try {\n const response = yield request({\n location: locationRestConsentRefererGet,\n params\n });\n this.referer = response.items;\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyReferer = false;\n }\n });\n this.deleteAll = flow(function* () {\n this.busyConsent = true;\n\n try {\n yield request({\n location: locationRestConsentAllDelete\n });\n this.applyPage(0);\n yield this.fetchAll();\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyConsent = false;\n }\n });\n this.rootStore = rootStore;\n runInAction(() => {\n this.filters.context = this.rootStore.optionStore.others.context;\n });\n }\n /**\n * This action does not actually refetch the list, you need to act on your components!\n */\n\n\n applyPage(page) {\n this.filters.page = page;\n }\n /**\n * This action does not actually refetch the stats, you need to act on your components!\n *\n * @param dates\n */\n\n\n applyDates(dates) {\n this.filters.dates = dates;\n }\n /**\n * This action does not actually refetch the stats, you need to act on your components!\n *\n * @param context\n */\n\n\n applyContext(context) {\n this.filters.context = context;\n }\n /**\n * This action does not actually refetch the list, you need to act on your components!\n */\n\n\n applyReferer(referer) {\n this.filters.referer = referer;\n }\n /**\n * This action does not actually refetch the list, you need to act on your components!\n */\n\n\n applyIp(ip) {\n this.filters.ip = ip;\n }\n /**\n * This action does not actually refetch the list, you need to act on your components!\n */\n\n\n applyUuid(uuid) {\n this.filters.uuid = uuid;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busyConsent\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"busyReferer\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"count\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"truncatedIpsCount\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"perPage\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 50;\n }\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"offset\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n}), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"pageCollection\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"revisions\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"revisionsIndependent\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"referer\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n}), _applyDecoratedDescriptor(_class.prototype, \"applyPage\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyPage\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"applyDates\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyDates\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"applyContext\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyContext\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"applyReferer\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyReferer\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"applyIp\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyIp\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"applyUuid\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyUuid\"), _class.prototype)), _class);\nexport { ConsentStore };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;\n\nimport { observable, flow, computed, runInAction } from \"mobx\";\nimport { CookieGroupCollection, BlockerCollection, CookiePreset, BlockerPreset } from \"../models\";\nimport { locationRestPresetsBlockerGet, locationRestPresetsCookiesGet, locationRestCookieUnassignedGet } from \"../wp-api\";\nimport { request } from \"../utils\";\nlet CookieStore = (_class = class CookieStore {\n get blockersCount() {\n return this.fetchedAllBlockers ? this.blockers.entries.size : this.rootStore.optionStore.allBlockerCount;\n }\n\n get cookiesCount() {\n return Array.from(this.groups.entries.values()).map(({\n cookiesCount\n }) => cookiesCount).reduce((total, num) => total + num, 0);\n }\n\n constructor(rootStore) {\n _initializerDefineProperty(this, \"busy\", _descriptor, this);\n\n _initializerDefineProperty(this, \"groups\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"unassignedCookies\", _descriptor3, this);\n\n _initializerDefineProperty(this, \"blockers\", _descriptor4, this);\n\n _initializerDefineProperty(this, \"presetsBlocker\", _descriptor5, this);\n\n _initializerDefineProperty(this, \"busyPresetsBlocker\", _descriptor6, this);\n\n _initializerDefineProperty(this, \"presetsCookie\", _descriptor7, this);\n\n _initializerDefineProperty(this, \"busyPresetsCookie\", _descriptor8, this);\n\n _initializerDefineProperty(this, \"fetchedAllBlockers\", _descriptor9, this);\n\n this.rootStore = void 0;\n this.fetchGroups = flow(function* () {\n yield this.groups.get({\n params: {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n per_page: 100\n }\n });\n yield this.fetchUnassignedCookies();\n });\n this.fetchUnassignedCookies = flow(function* () {\n try {\n const items = yield request({\n location: locationRestCookieUnassignedGet\n }); // Save presets as object\n\n for (const item of Object.values(items)) {\n this.unassignedCookies.set(item.id, item);\n }\n } catch (e) {\n console.log(e);\n throw e;\n }\n });\n this.fetchBlockers = flow(function* () {\n yield this.blockers.get({\n request: {\n status: [\"draft\", \"publish\", \"private\"]\n },\n params: {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n per_page: 100,\n // Fetch all\n context: \"edit\"\n }\n });\n this.fetchedAllBlockers = true;\n });\n this.fetchPresetsBlocker = flow(function* () {\n this.busyPresetsBlocker = true;\n\n try {\n const {\n items\n } = yield request({\n location: locationRestPresetsBlockerGet\n }); // Save presets as object\n\n for (const pid of Object.keys(items)) {\n this.presetsBlocker.set(pid, new BlockerPreset(items[pid], this));\n }\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyPresetsBlocker = false;\n }\n });\n this.fetchPresetsCookie = flow(function* () {\n this.busyPresetsCookie = true;\n\n try {\n const {\n items\n } = yield request({\n location: locationRestPresetsCookiesGet\n }); // Save presets as object\n\n for (const pid of Object.keys(items)) {\n this.presetsCookie.set(pid, new CookiePreset(items[pid], this));\n }\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyPresetsCookie = false;\n }\n });\n this.rootStore = rootStore;\n runInAction(() => {\n this.groups = new CookieGroupCollection(this);\n this.blockers = new BlockerCollection(this);\n });\n }\n\n get essentialGroup() {\n if (this.groups.entries.size === 0) {\n return undefined;\n }\n\n const it = this.groups.entries.values();\n let group;\n\n while (group = it.next().value) {\n if (group.data.slug === this.rootStore.optionStore.others.essentialGroup) {\n break;\n }\n }\n\n return group;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"groups\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"unassignedCookies\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"blockers\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"presetsBlocker\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"busyPresetsBlocker\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"presetsCookie\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"busyPresetsCookie\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"fetchedAllBlockers\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _applyDecoratedDescriptor(_class.prototype, \"blockersCount\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"blockersCount\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cookiesCount\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"cookiesCount\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"essentialGroup\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"essentialGroup\"), _class.prototype)), _class);\nexport { CookieStore };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n\nimport { action, observable, flow, runInAction } from \"mobx\";\nimport { locationRestPresetsBannerGet } from \"../wp-api\";\nimport { request } from \"../utils\";\nimport { BannerPreset } from \"../models\";\nimport { getSidebarCustomize } from \"@devowl-wp/customize\";\nlet CustomizeBannerStore = (_class = class CustomizeBannerStore {\n constructor(rootStore) {\n _initializerDefineProperty(this, \"visible\", _descriptor, this);\n\n _initializerDefineProperty(this, \"animationVisible\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"individualPrivacyOpen\", _descriptor3, this);\n\n _initializerDefineProperty(this, \"previewCheckboxActiveState\", _descriptor4, this);\n\n _initializerDefineProperty(this, \"busyPresets\", _descriptor5, this);\n\n _initializerDefineProperty(this, \"presets\", _descriptor6, this);\n\n this.rootStore = void 0;\n this.presetConstants = new Map();\n this.presetDefaults = new Map();\n this.debounceFromCustomize = {};\n this.fetchPresets = flow(function* () {\n this.busyPresets = true;\n\n try {\n const {\n defaults,\n constants,\n items\n } = yield request({\n location: locationRestPresetsBannerGet\n }); // Save defaults\n\n for (const did of Object.keys(defaults)) {\n this.presetDefaults.set(did, defaults[did]);\n } // Save constants\n\n\n for (const cid of Object.keys(constants)) {\n this.presetConstants.set(cid, constants[cid]);\n } // Save presets as object\n\n\n for (const pid of Object.keys(items)) {\n this.presets.set(pid, new BannerPreset({\n id: pid,\n ...items[pid]\n }, this));\n }\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyPresets = false;\n }\n });\n this.rootStore = rootStore;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n setBannerFromCustomize(section, setting, value, maybeDebounce = true) {\n const {\n customizeValuesBanner\n } = this.rootStore.optionStore.others; // Apply debounce for specific settings\n\n const debounceSetting = setting.toString();\n\n if (maybeDebounce && [\"css\", \"animationInDuration\", \"animationOutDuration\"].indexOf(debounceSetting) > -1) {\n clearTimeout(this.debounceFromCustomize[debounceSetting]);\n this.debounceFromCustomize[debounceSetting] = setTimeout(() => this.setBannerFromCustomize(section, setting, value, false), 500);\n } else {\n const currentValue = customizeValuesBanner[section][setting];\n customizeValuesBanner[section][setting] = value; // When we want to customize the animation out, let's simulate a \"hide\"\n\n if (debounceSetting.startsWith(\"animationOut\") && currentValue !== value) {\n this.forceAnimationOutSimulation();\n }\n }\n }\n\n setBannerFromPreset(batchUpdates) {\n for (const row of batchUpdates) {\n const [section, setting, value] = row;\n this.rootStore.optionStore.others.customizeValuesBanner[section][setting] = value;\n }\n }\n\n forceAnimationOutSimulation() {\n const {\n customizeValuesBanner\n } = this.rootStore.optionStore.others;\n\n if (customizeValuesBanner[\"layout\"][\"animationOut\"] === \"none\") {\n return;\n }\n\n this.animationVisible = false;\n setTimeout(() => runInAction(() => {\n this.animationVisible = true;\n }), +customizeValuesBanner[\"layout\"][\"animationOutDuration\"] + 1000);\n }\n\n setVisible(state) {\n this.visible = state;\n }\n\n setIndividualPrivacyOpen(state) {\n this.individualPrivacyOpen = state;\n }\n\n setPreviewCheckboxActiveState(state) {\n this.previewCheckboxActiveState = state;\n }\n /**\n * Allow developers to export the current customize settings via PHP.\n *\n * ```ts\n * realCookieBanner_customize.RootStore.get.customizeBannerStore.exportPhp()\n * ```\n */\n\n\n exportPhp() {\n const result = {};\n const customize = getSidebarCustomize();\n this.presetDefaults.forEach((defaultValue, key) => {\n let currentValue = customize(key).get(); // Fix booleans\n\n if (typeof defaultValue === \"boolean\") {\n currentValue = !!+currentValue;\n } else if (!isNaN(currentValue) && currentValue !== \"\") {\n // Fix integers\n currentValue = +currentValue;\n }\n\n if (JSON.stringify(defaultValue) !== JSON.stringify(currentValue)) {\n result[this.presetConstants.get(key)] = currentValue;\n }\n }); // Prepare output\n\n return this.jsonToPHPArray(result);\n }\n\n jsonToPHPArray(result) {\n const output = JSON.stringify(result, null, 4).split(\"\\n\");\n output.shift();\n output.pop();\n return output.join(\"\\n\").replace(/^(\\s+)\"([A-Za-z\\\\]+::[A-Z_]+)\"(:)/gm, \"$1$2 =>\").replace(/^(\\s+)([A-Za-z\\\\]+)::/gm, (full, spaces, namespaces) => {\n return \"\".concat(spaces).concat(namespaces.replace(/\\\\\\\\/gm, \"\\\\\"), \"::\");\n });\n }\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"visible\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"animationVisible\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"individualPrivacyOpen\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"previewCheckboxActiveState\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"busyPresets\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"presets\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _applyDecoratedDescriptor(_class.prototype, \"setBannerFromCustomize\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"setBannerFromCustomize\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setBannerFromPreset\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"setBannerFromPreset\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"forceAnimationOutSimulation\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"forceAnimationOutSimulation\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setVisible\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"setVisible\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setIndividualPrivacyOpen\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"setIndividualPrivacyOpen\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setPreviewCheckboxActiveState\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"setPreviewCheckboxActiveState\"), _class.prototype)), _class);\nexport { CustomizeBannerStore };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44, _descriptor45, _descriptor46, _descriptor47, _descriptor48, _descriptor49, _descriptor50, _descriptor51, _descriptor52;\n\nimport { observable, runInAction, flow, action, computed } from \"mobx\";\nimport { BaseOptions } from \"@devowl-wp/utils\";\nimport { locationRestWpSettings, locationRestWpSettingsPatch, locationRestRevisionCurrentGet, locationRestRevisionCurrentPut, locationRestLiteDismissConfigPageProNotice, locationRestCountryBypassDatabasePut, locationRestMigrationDelete, locationRestNavMenuAddLinksPost } from \"../wp-api\";\nimport { request } from \"../utils\";\nimport { locationRestModalHintSeenPut } from \"../wp-api/modalHintSeen.put\";\nlet OptionStore = (_class = class OptionStore extends BaseOptions {\n /* @observable\n public onlyEuCookieBanner: ResponseRouteWpSettings[\"rcb-only-eu-cookie-banner\"]; */\n // Affiliate settings are only available and registered in PRO version\n // Country Bypass settings (all optional for free version)\n // TCF compatibility settings (all optional for free version)\n // Implement \"others\" property in your Assets.php;\n\n /**\n * Ignore real-cookie-banner cookie as it is hidden when no other cookie is created.\n */\n get isOnlyRcbCookieCreated() {\n return this.allCookieCount === 1 && (!this.tcf || !this.allTcfVendorConfigurationCount);\n }\n\n get areSettingsFetched() {\n return this.respectDoNotTrack !== undefined;\n }\n\n constructor(rootStore) {\n super();\n\n _initializerDefineProperty(this, \"busySettings\", _descriptor, this);\n\n _initializerDefineProperty(this, \"busyCountryBypassUpdate\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"busyAddLinksToNavigationMenu\", _descriptor3, this);\n\n _initializerDefineProperty(this, \"needsRevisionRetrigger\", _descriptor4, this);\n\n _initializerDefineProperty(this, \"publicCookieCount\", _descriptor5, this);\n\n _initializerDefineProperty(this, \"allCookieCount\", _descriptor6, this);\n\n _initializerDefineProperty(this, \"allBlockerCount\", _descriptor7, this);\n\n _initializerDefineProperty(this, \"allTcfVendorConfigurationCount\", _descriptor8, this);\n\n _initializerDefineProperty(this, \"allScannerResultPresetsCount\", _descriptor9, this);\n\n _initializerDefineProperty(this, \"allScannerResultExternalUrlsCount\", _descriptor10, this);\n\n _initializerDefineProperty(this, \"cookieCounts\", _descriptor11, this);\n\n _initializerDefineProperty(this, \"nav_menus\", _descriptor12, this);\n\n _initializerDefineProperty(this, \"tcfVendorConfigurationCounts\", _descriptor13, this);\n\n _initializerDefineProperty(this, \"hasManager\", _descriptor14, this);\n\n _initializerDefineProperty(this, \"contexts\", _descriptor15, this);\n\n _initializerDefineProperty(this, \"dashboardMigration\", _descriptor16, this);\n\n _initializerDefineProperty(this, \"fomoCoupon\", _descriptor17, this);\n\n _initializerDefineProperty(this, \"bannerActive\", _descriptor18, this);\n\n _initializerDefineProperty(this, \"blockerActive\", _descriptor19, this);\n\n _initializerDefineProperty(this, \"imprintId\", _descriptor20, this);\n\n _initializerDefineProperty(this, \"imprintExternalUrl\", _descriptor21, this);\n\n _initializerDefineProperty(this, \"imprintIsExternalUrl\", _descriptor22, this);\n\n _initializerDefineProperty(this, \"privacyPolicyId\", _descriptor23, this);\n\n _initializerDefineProperty(this, \"privacyPolicyExternalUrl\", _descriptor24, this);\n\n _initializerDefineProperty(this, \"privacyPolicyIsExternalUrl\", _descriptor25, this);\n\n _initializerDefineProperty(this, \"hidePageIds\", _descriptor26, this);\n\n _initializerDefineProperty(this, \"setCookiesViaManager\", _descriptor27, this);\n\n _initializerDefineProperty(this, \"acceptAllForBots\", _descriptor28, this);\n\n _initializerDefineProperty(this, \"respectDoNotTrack\", _descriptor29, this);\n\n _initializerDefineProperty(this, \"cookieDuration\", _descriptor30, this);\n\n _initializerDefineProperty(this, \"saveIp\", _descriptor31, this);\n\n _initializerDefineProperty(this, \"ePrivacyUSA\", _descriptor32, this);\n\n _initializerDefineProperty(this, \"ageNotice\", _descriptor33, this);\n\n _initializerDefineProperty(this, \"listServicesNotice\", _descriptor34, this);\n\n _initializerDefineProperty(this, \"consentForwarding\", _descriptor35, this);\n\n _initializerDefineProperty(this, \"forwardTo\", _descriptor36, this);\n\n _initializerDefineProperty(this, \"crossDomains\", _descriptor37, this);\n\n _initializerDefineProperty(this, \"affiliateLink\", _descriptor38, this);\n\n _initializerDefineProperty(this, \"affiliateLabelBehind\", _descriptor39, this);\n\n _initializerDefineProperty(this, \"affiliateLabelDescription\", _descriptor40, this);\n\n _initializerDefineProperty(this, \"countryBypass\", _descriptor41, this);\n\n _initializerDefineProperty(this, \"countryBypassCountries\", _descriptor42, this);\n\n _initializerDefineProperty(this, \"countryBypassType\", _descriptor43, this);\n\n _initializerDefineProperty(this, \"countryBypassDbDownloadTime\", _descriptor44, this);\n\n _initializerDefineProperty(this, \"tcf\", _descriptor45, this);\n\n _initializerDefineProperty(this, \"tcfPublisherCc\", _descriptor46, this);\n\n _initializerDefineProperty(this, \"tcfAcceptedTime\", _descriptor47, this);\n\n _initializerDefineProperty(this, \"tcfGvlDownloadTime\", _descriptor48, this);\n\n _initializerDefineProperty(this, \"tcfScopeOfConsent\", _descriptor49, this);\n\n _initializerDefineProperty(this, \"consentDuration\", _descriptor50, this);\n\n _initializerDefineProperty(this, \"consentsDeletedAt\", _descriptor51, this);\n\n _initializerDefineProperty(this, \"others\", _descriptor52, this);\n\n this.pureSlug = void 0;\n this.pureSlugCamelCased = void 0;\n this.rootStore = void 0;\n this.fetchSettings = flow(function* (setFrom) {\n this.busySettings = true;\n\n try {\n const result = setFrom || (yield request({\n location: locationRestWpSettings\n }));\n this.bannerActive = result[\"rcb-banner-active\"];\n this.blockerActive = result[\"rcb-blocker-active\"];\n this.imprintId = result[\"rcb-banner-legal-imprint\"];\n this.imprintExternalUrl = result[\"rcb-banner-legal-imprint-external-url\"];\n this.imprintIsExternalUrl = result[\"rcb-banner-legal-imprint-is-external-url\"];\n this.privacyPolicyId = result[\"rcb-banner-legal-privacy-policy\"];\n this.privacyPolicyExternalUrl = result[\"rcb-banner-legal-privacy-policy-external-url\"];\n this.privacyPolicyIsExternalUrl = result[\"rcb-banner-legal-privacy-policy-is-external-url\"];\n this.hidePageIds = (result[\"rcb-hide-page-ids\"] || \"\").split(\",\").map(Number).filter(Boolean);\n this.setCookiesViaManager = result[\"rcb-set-cookies-via-manager\"] || \"none\";\n this.acceptAllForBots = result[\"rcb-accept-all-for-bots\"];\n this.respectDoNotTrack = result[\"rcb-respect-do-not-track\"]; // this.onlyEuCookieBanner = result[\"rcb-only-eu-cookie-banner\"] || false;\n\n this.cookieDuration = result[\"rcb-cookie-duration\"];\n this.saveIp = result[\"rcb-save-ip\"];\n this.ePrivacyUSA = result[\"rcb-eprivacy-usa\"];\n this.ageNotice = result[\"rcb-age-notice\"];\n this.listServicesNotice = result[\"rcb-list-services-notice\"];\n this.consentForwarding = result[\"rcb-consent-forwarding\"] || false;\n this.forwardTo = (result[\"rcb-forward-to\"] || \"\").split(\"|\").filter(Boolean);\n this.crossDomains = result[\"rcb-cross-domains\"] || \"\";\n this.countryBypass = result[\"rcb-country-bypass\"];\n this.countryBypassCountries = (result[\"rcb-country-bypass-countries\"] || \"\").split(\",\").filter(Boolean);\n this.countryBypassType = result[\"rcb-country-bypass-type\"];\n this.countryBypassDbDownloadTime = result[\"rcb-country-bypass-db-download-time\"];\n this.tcf = result[\"rcb-tcf\"];\n this.tcfPublisherCc = result[\"rcb-tcf-publisher-cc\"];\n this.tcfAcceptedTime = result[\"rcb-tcf-accepted-time\"];\n this.tcfGvlDownloadTime = result[\"rcb-tcf-gvl-download-time\"];\n this.tcfScopeOfConsent = result[\"rcb-tcf-scope-of-consent\"];\n this.consentDuration = result[\"rcb-consent-duration\"];\n\n if (process.env.PLUGIN_CTX === \"pro\") {\n /* onlypro: start */\n this.affiliateLink = result[\"rcb-affiliate-link\"];\n this.affiliateLabelBehind = result[\"rcb-affiliate-label-behind\"];\n this.affiliateLabelDescription = result[\"rcb-affiliate-description\"];\n /* onlypro: end */\n }\n\n yield this.fetchCurrentRevision();\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busySettings = false;\n }\n });\n this.updateSettings = flow(function* ({\n bannerActive,\n blockerActive,\n imprintId,\n privacyPolicyId,\n // Due to incompatibilities with WPML / PolyLang we need to edit this in customizer as\n // the customizer can save settings per language\n // imprintExternalUrl,\n // imprintIsExternalUrl,\n // privacyPolicyExternalUrl,\n // privacyPolicyIsExternalUrl,\n hidePageIds,\n setCookiesViaManager,\n acceptAllForBots,\n respectDoNotTrack,\n // onlyEuCookieBanner,\n cookieDuration,\n saveIp,\n ePrivacyUSA,\n ageNotice,\n listServicesNotice,\n consentForwarding,\n forwardTo,\n crossDomains,\n affiliateLink,\n affiliateLabelBehind,\n affiliateLabelDescription,\n countryBypass,\n countryBypassCountries,\n countryBypassType,\n tcf,\n tcfPublisherCc,\n tcfScopeOfConsent,\n consentDuration\n }) {\n this.busySettings = true;\n\n try {\n const result = yield request({\n location: locationRestWpSettingsPatch,\n request: { ...(bannerActive === undefined ? {} : {\n \"rcb-banner-active\": bannerActive\n }),\n ...(blockerActive === undefined ? {} : {\n \"rcb-blocker-active\": blockerActive\n }),\n ...(imprintId === undefined ? {} : {\n \"rcb-banner-legal-imprint\": imprintId\n }),\n ...(privacyPolicyId === undefined ? {} : {\n \"rcb-banner-legal-privacy-policy\": privacyPolicyId\n }),\n ...(hidePageIds === undefined ? {} : {\n \"rcb-hide-page-ids\": hidePageIds.join(\",\")\n }),\n ...(setCookiesViaManager === undefined ? {} : {\n \"rcb-set-cookies-via-manager\": setCookiesViaManager\n }),\n ...(acceptAllForBots === undefined ? {} : {\n \"rcb-accept-all-for-bots\": acceptAllForBots\n }),\n ...(respectDoNotTrack === undefined ? {} : {\n \"rcb-respect-do-not-track\": respectDoNotTrack\n }),\n ...(cookieDuration === undefined ? {} : {\n \"rcb-cookie-duration\": cookieDuration\n }),\n ...(saveIp === undefined ? {} : {\n \"rcb-save-ip\": saveIp\n }),\n ...(ePrivacyUSA === undefined ? {} : {\n \"rcb-eprivacy-usa\": ePrivacyUSA\n }),\n ...(ageNotice === undefined ? {} : {\n \"rcb-age-notice\": ageNotice\n }),\n ...(listServicesNotice === undefined ? {} : {\n \"rcb-list-services-notice\": listServicesNotice\n }),\n ...(consentForwarding === undefined ? {} : {\n \"rcb-consent-forwarding\": consentForwarding\n }),\n ...(forwardTo === undefined ? {} : {\n \"rcb-forward-to\": forwardTo.join(\"|\")\n }),\n ...(crossDomains === undefined ? {} : {\n \"rcb-cross-domains\": crossDomains\n }),\n ...(countryBypass === undefined ? {} : {\n \"rcb-country-bypass\": countryBypass\n }),\n ...(countryBypassCountries === undefined ? {} : {\n \"rcb-country-bypass-countries\": countryBypassCountries.join(\",\")\n }),\n ...(countryBypassType === undefined ? {} : {\n \"rcb-country-bypass-type\": countryBypassType\n }),\n ...(tcf === undefined ? {} : {\n \"rcb-tcf\": tcf\n }),\n ...(tcfPublisherCc === undefined ? {} : {\n \"rcb-tcf-publisher-cc\": tcfPublisherCc\n }),\n ...(tcfScopeOfConsent === undefined ? {} : {\n \"rcb-tcf-scope-of-consent\": tcfScopeOfConsent\n }),\n ...(process.env.PLUGIN_CTX === \"pro\" ? affiliateLink === undefined ? {} : {\n \"rcb-affiliate-link\": affiliateLink\n } : {}),\n ...(process.env.PLUGIN_CTX === \"pro\" ? affiliateLabelBehind === undefined ? {} : {\n \"rcb-affiliate-label-behind\": affiliateLabelBehind\n } : {}),\n ...(process.env.PLUGIN_CTX === \"pro\" ? affiliateLabelDescription === undefined ? {} : {\n \"rcb-affiliate-description\": affiliateLabelDescription\n } : {}),\n ...(consentDuration === undefined ? {} : {\n \"rcb-consent-duration\": consentDuration\n })\n }\n });\n this.fetchSettings(result);\n this.rootStore.checklistStore.probablyFetchByChangedItem([\"save-settings\", \"activate-banner\", \"privacy-policy\"]);\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busySettings = false;\n }\n });\n this.fetchCurrentRevision = flow(function* () {\n this.busySettings = true;\n\n try {\n this.setFromCurrentRevision(yield request({\n location: locationRestRevisionCurrentGet\n }));\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busySettings = false;\n }\n });\n this.updateCurrentRevision = flow(function* (data) {\n this.busySettings = true;\n\n try {\n this.setFromCurrentRevision(yield request({\n location: locationRestRevisionCurrentPut,\n request: data\n }));\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busySettings = false;\n }\n });\n this.setModalHintSeen = flow(function* (identifier) {\n this.busySettings = true;\n\n try {\n this.others.modalHints.push(identifier); // Immediate push as this can never fail\n\n yield request({\n location: locationRestModalHintSeenPut,\n request: {\n identifier\n }\n });\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busySettings = false;\n }\n });\n this.dismissConfigProNotice = flow(function* () {\n try {\n // Immediate set because it can not fail\n this.others.isConfigProNoticeVisible = false;\n yield request({\n location: locationRestLiteDismissConfigPageProNotice\n });\n } catch (e) {\n console.log(e);\n throw e;\n }\n });\n this.dismissMigration = flow(function* () {\n try {\n // Immediate set because it can not fail\n const {\n id: migration\n } = this.dashboardMigration;\n this.dashboardMigration = undefined;\n yield request({\n location: locationRestMigrationDelete,\n params: {\n migration\n }\n });\n } catch (e) {\n console.log(e);\n throw e;\n }\n });\n this.addLinksToNavigationMenu = flow(function* (id) {\n this.busyAddLinksToNavigationMenu = true;\n\n try {\n const {\n success\n } = yield request({\n location: locationRestNavMenuAddLinksPost,\n request: {\n id\n }\n });\n\n if (success) {\n this.rootStore.checklistStore.fetchChecklist();\n yield this.fetchCurrentRevision();\n }\n\n return success;\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyAddLinksToNavigationMenu = false;\n }\n });\n this.updateCountryBypassDatabase = flow(function* () {\n this.busyCountryBypassUpdate = true;\n\n try {\n const {\n dbDownloadTime\n } = yield request({\n location: locationRestCountryBypassDatabasePut\n });\n this.countryBypassDbDownloadTime = dbDownloadTime;\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyCountryBypassUpdate = false;\n }\n });\n this.rootStore = rootStore;\n this.pureSlug = BaseOptions.getPureSlug(process.env.slug);\n this.pureSlugCamelCased = BaseOptions.getPureSlug(process.env.slug, true); // Use the localized WP object to fill this object values.\n\n runInAction(() => Object.assign(this, window[this.pureSlugCamelCased]));\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n setFromCurrentRevision({\n contexts,\n has_manager,\n needs_retrigger,\n public_cookie_count,\n all_cookie_count,\n all_blocker_count,\n all_tcf_vendor_configuration_count,\n all_scanner_result_presets_count,\n all_scanner_result_external_urls_count,\n cookie_counts,\n consents_deleted_at,\n nav_menus,\n tcf_vendor_configuration_counts,\n dashboard_migration,\n fomo_coupon\n }) {\n this.hasManager = has_manager;\n this.needsRevisionRetrigger = needs_retrigger;\n this.publicCookieCount = public_cookie_count;\n this.allCookieCount = all_cookie_count;\n this.allBlockerCount = all_blocker_count;\n this.allTcfVendorConfigurationCount = all_tcf_vendor_configuration_count;\n this.allScannerResultPresetsCount = all_scanner_result_presets_count;\n this.allScannerResultExternalUrlsCount = all_scanner_result_external_urls_count;\n this.cookieCounts = cookie_counts;\n this.consentsDeletedAt = consents_deleted_at;\n this.nav_menus = nav_menus;\n this.tcfVendorConfigurationCounts = tcf_vendor_configuration_counts;\n this.contexts = contexts;\n this.dashboardMigration = dashboard_migration;\n this.fomoCoupon = fomo_coupon;\n }\n\n setShowLicenseFormImmediate(state, isLicensed) {\n this.others.showLicenseFormImmediate = state;\n this.others.isLicensed = isLicensed;\n }\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busySettings\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"busyCountryBypassUpdate\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"busyAddLinksToNavigationMenu\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"needsRevisionRetrigger\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"publicCookieCount\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"allCookieCount\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n}), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"allBlockerCount\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n}), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"allTcfVendorConfigurationCount\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n}), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"allScannerResultPresetsCount\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n}), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"allScannerResultExternalUrlsCount\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n}), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"cookieCounts\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return {\n draft: 0,\n private: 0,\n publish: 0\n };\n }\n}), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"nav_menus\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n}), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"tcfVendorConfigurationCounts\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"hasManager\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"contexts\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return {\n \"\": \"\"\n };\n }\n}), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"dashboardMigration\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"fomoCoupon\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, \"bannerActive\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor19 = _applyDecoratedDescriptor(_class.prototype, \"blockerActive\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor20 = _applyDecoratedDescriptor(_class.prototype, \"imprintId\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor21 = _applyDecoratedDescriptor(_class.prototype, \"imprintExternalUrl\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor22 = _applyDecoratedDescriptor(_class.prototype, \"imprintIsExternalUrl\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor23 = _applyDecoratedDescriptor(_class.prototype, \"privacyPolicyId\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor24 = _applyDecoratedDescriptor(_class.prototype, \"privacyPolicyExternalUrl\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor25 = _applyDecoratedDescriptor(_class.prototype, \"privacyPolicyIsExternalUrl\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor26 = _applyDecoratedDescriptor(_class.prototype, \"hidePageIds\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor27 = _applyDecoratedDescriptor(_class.prototype, \"setCookiesViaManager\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor28 = _applyDecoratedDescriptor(_class.prototype, \"acceptAllForBots\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor29 = _applyDecoratedDescriptor(_class.prototype, \"respectDoNotTrack\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor30 = _applyDecoratedDescriptor(_class.prototype, \"cookieDuration\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor31 = _applyDecoratedDescriptor(_class.prototype, \"saveIp\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor32 = _applyDecoratedDescriptor(_class.prototype, \"ePrivacyUSA\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor33 = _applyDecoratedDescriptor(_class.prototype, \"ageNotice\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor34 = _applyDecoratedDescriptor(_class.prototype, \"listServicesNotice\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor35 = _applyDecoratedDescriptor(_class.prototype, \"consentForwarding\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor36 = _applyDecoratedDescriptor(_class.prototype, \"forwardTo\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor37 = _applyDecoratedDescriptor(_class.prototype, \"crossDomains\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor38 = _applyDecoratedDescriptor(_class.prototype, \"affiliateLink\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor39 = _applyDecoratedDescriptor(_class.prototype, \"affiliateLabelBehind\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor40 = _applyDecoratedDescriptor(_class.prototype, \"affiliateLabelDescription\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor41 = _applyDecoratedDescriptor(_class.prototype, \"countryBypass\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor42 = _applyDecoratedDescriptor(_class.prototype, \"countryBypassCountries\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor43 = _applyDecoratedDescriptor(_class.prototype, \"countryBypassType\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor44 = _applyDecoratedDescriptor(_class.prototype, \"countryBypassDbDownloadTime\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor45 = _applyDecoratedDescriptor(_class.prototype, \"tcf\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor46 = _applyDecoratedDescriptor(_class.prototype, \"tcfPublisherCc\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor47 = _applyDecoratedDescriptor(_class.prototype, \"tcfAcceptedTime\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor48 = _applyDecoratedDescriptor(_class.prototype, \"tcfGvlDownloadTime\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor49 = _applyDecoratedDescriptor(_class.prototype, \"tcfScopeOfConsent\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor50 = _applyDecoratedDescriptor(_class.prototype, \"consentDuration\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor51 = _applyDecoratedDescriptor(_class.prototype, \"consentsDeletedAt\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor52 = _applyDecoratedDescriptor(_class.prototype, \"others\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"isOnlyRcbCookieCreated\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"isOnlyRcbCookieCreated\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"areSettingsFetched\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"areSettingsFetched\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setFromCurrentRevision\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"setFromCurrentRevision\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setShowLicenseFormImmediate\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"setShowLicenseFormImmediate\"), _class.prototype)), _class);\nexport { OptionStore };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;\n\nimport { computed, flow, observable, action } from \"mobx\";\nimport { ScannerResultExternalUrl, ScannerResultPreset, ScannerResultExternalUrlSingle } from \"../models\";\nimport { request } from \"../utils\";\nimport { locationRestScannerResultAllExternalUrlsByHostGet, locationRestScannerResultPresetsGet, locationRestScannerQueuePost, locationRestScannerResultExternalsGet, locationRestScannerResultMarkupGet } from \"../wp-api\";\nlet ScannerStore = (_class = class ScannerStore {\n get sortedExternalUrls() {\n const result = Array.from(this.resultExternalUrls.values()); // Move inactive items to the bottom list\n\n result.sort((a, b) => a.inactive === b.inactive ? 0 : a.inactive ? 1 : -1);\n return result;\n }\n\n get presetsCount() {\n return this.fetchedAllResultPresets ? this.resultPresets.size : this.rootStore.optionStore.allScannerResultPresetsCount;\n }\n\n get externalUrlsCount() {\n return this.fetchedAllResultExternalUrls ? this.resultExternalUrls.size : this.rootStore.optionStore.allScannerResultExternalUrlsCount;\n }\n\n get canShowResults() {\n var _this$rootStore$check;\n\n return this.presetsCount + this.externalUrlsCount > 0 && ((_this$rootStore$check = this.rootStore.checklistStore.checklist) === null || _this$rootStore$check === void 0 ? void 0 : _this$rootStore$check.items[\"scanner\"].checked);\n }\n\n get foundScanResultsCount() {\n return this.resultPresets.size + this.resultExternalUrls.size;\n }\n /**\n * Count of presets and external URL hosts which still needs attention.\n */\n\n\n get needsAttentionCount() {\n return [...this.resultPresets.values(), ...this.resultExternalUrls.values()].filter(({\n inactive\n }) => !inactive).length;\n }\n\n constructor(rootStore) {\n _initializerDefineProperty(this, \"resultPresets\", _descriptor, this);\n\n _initializerDefineProperty(this, \"busyResultPresets\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"fetchedAllResultPresets\", _descriptor3, this);\n\n _initializerDefineProperty(this, \"resultExternalUrls\", _descriptor4, this);\n\n _initializerDefineProperty(this, \"resultAllExternalUrls\", _descriptor5, this);\n\n _initializerDefineProperty(this, \"busyExternalUrls\", _descriptor6, this);\n\n _initializerDefineProperty(this, \"fetchedAllResultExternalUrls\", _descriptor7, this);\n\n _initializerDefineProperty(this, \"busyMarkup\", _descriptor8, this);\n\n _initializerDefineProperty(this, \"resultMarkup\", _descriptor9, this);\n\n this.rootStore = void 0;\n this.addUrlsToQueue = flow(function* (data) {\n return yield request({\n location: locationRestScannerQueuePost,\n request: data\n });\n });\n this.fetchResultPresets = flow(function* () {\n this.busyResultPresets = true;\n\n try {\n this.resultPresetsFromResponse(yield request({\n location: locationRestScannerResultPresetsGet\n }));\n this.fetchedAllResultPresets = true;\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyResultPresets = false;\n }\n });\n this.fetchResultExternals = flow(function* () {\n this.busyExternalUrls = true;\n\n try {\n this.resultExternalUrlsFromResponse(yield request({\n location: locationRestScannerResultExternalsGet\n }));\n this.fetchedAllResultExternalUrls = true;\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyExternalUrls = false;\n }\n });\n this.fetchResultAllExternals = flow(function* (instance) {\n const type = instance instanceof ScannerResultExternalUrl ? \"host\" : \"preset\";\n const {\n identifier\n } = instance;\n instance.busy = true;\n\n try {\n const {\n items\n } = yield request({\n location: locationRestScannerResultAllExternalUrlsByHostGet,\n params: {\n type,\n identifier: type === \"host\" ? identifier.replace(/\\./g, \"_\") : identifier\n }\n }); // Check if map for this host already exists\n\n let map = this.resultAllExternalUrls.get(identifier);\n\n if (!map) {\n map = new Map();\n } else {\n // As we load all data within one request, we can safely remove stale objects\n const existing = items.map(({\n id\n }) => id);\n\n for (const probablyStaleKey of map.keys()) {\n if (existing.indexOf(probablyStaleKey) === -1) {\n map.delete(probablyStaleKey);\n }\n }\n } // Save presets as objects\n\n\n for (const item of Object.values(items)) {\n map.set(item.id, new ScannerResultExternalUrlSingle(item, this));\n this.resultAllExternalUrls.set(identifier, map);\n }\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n instance.busy = false;\n }\n });\n this.fetchMarkup = flow(function* (id) {\n this.busyMarkup = true;\n\n try {\n const result = yield request({\n location: locationRestScannerResultMarkupGet,\n params: {\n id\n }\n });\n this.resultMarkup.set(id, result);\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyMarkup = false;\n }\n });\n this.rootStore = rootStore;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n resultPresetsFromResponse({\n items\n }) {\n // As we load all data within one request, we can safely remove stale objects\n const existing = Object.keys(items);\n\n for (const probablyStaleKey of this.resultPresets.keys()) {\n if (existing.indexOf(probablyStaleKey) === -1) {\n this.resultPresets.delete(probablyStaleKey);\n }\n } // Save presets as object\n\n\n for (const pid of existing) {\n this.resultPresets.set(pid, new ScannerResultPreset(items[pid], this));\n }\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n resultExternalUrlsFromResponse({\n items\n }) {\n // As we load all data within one request, we can safely remove stale objects\n const existing = Object.keys(items);\n\n for (const probablyStaleKey of this.resultExternalUrls.keys()) {\n if (existing.indexOf(probablyStaleKey) === -1) {\n this.resultExternalUrls.delete(probablyStaleKey);\n }\n } // Save presets as objects\n\n\n for (const externalHost of existing) {\n this.resultExternalUrls.set(externalHost, new ScannerResultExternalUrl(items[externalHost], this));\n }\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"resultPresets\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"busyResultPresets\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"fetchedAllResultPresets\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"resultExternalUrls\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"resultAllExternalUrls\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"busyExternalUrls\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"fetchedAllResultExternalUrls\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"busyMarkup\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"resultMarkup\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _applyDecoratedDescriptor(_class.prototype, \"sortedExternalUrls\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"sortedExternalUrls\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"presetsCount\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"presetsCount\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"externalUrlsCount\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"externalUrlsCount\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"canShowResults\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"canShowResults\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"foundScanResultsCount\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"foundScanResultsCount\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"needsAttentionCount\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"needsAttentionCount\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"resultPresetsFromResponse\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"resultPresetsFromResponse\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"resultExternalUrlsFromResponse\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"resultExternalUrlsFromResponse\"), _class.prototype)), _class);\nexport { ScannerStore };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor;\n\nimport { observable, flow, runInAction, action } from \"mobx\";\nimport { BaseOptions } from \"@devowl-wp/utils\";\nimport moment from \"moment\";\nconst DATE_FORMAT = \"YYYY-MM-DD\";\nlet StatsStore = (_class = class StatsStore extends BaseOptions {\n constructor(rootStore) {\n super();\n\n _initializerDefineProperty(this, \"busyStats\", _descriptor, this);\n\n this.rootStore = void 0;\n this.stats = observable.object({\n main: undefined,\n buttonsClicked: undefined,\n customBypass: undefined\n }, {}, {\n deep: false\n });\n this.filters = observable.object({\n dates: undefined,\n context: undefined\n }, {}, {\n deep: false\n });\n this.fetchMain = flow(function* () {\n if (process.env.PLUGIN_CTX === \"pro\") {\n /* Silence is golden... Until you have PRO Version! */\n } else {\n throw new Error(\"This feature is not available in the free version.\");\n }\n });\n this.fetchButtonsClicked = flow(function* () {\n if (process.env.PLUGIN_CTX === \"pro\") {\n /* Silence is golden... Until you have PRO Version! */\n } else {\n throw new Error(\"This feature is not available in the free version.\");\n }\n });\n this.fetchCustomBypass = flow(function* () {\n if (process.env.PLUGIN_CTX === \"pro\") {\n /* Silence is golden... Until you have PRO Version! */\n } else {\n throw new Error(\"This feature is not available in the free version.\");\n }\n });\n this.rootStore = rootStore;\n runInAction(() => {\n this.filters.dates = [moment().subtract(30, \"days\"), moment()];\n this.filters.context = this.rootStore.optionStore.others.context;\n });\n }\n /**\n * This action does not actually refetch the stats, you need to act on your components!\n *\n * @param dates\n */\n\n\n applyDates(dates) {\n this.filters.dates = dates;\n }\n /**\n * This action does not actually refetch the stats, you need to act on your components!\n *\n * @param context\n */\n\n\n applyContext(context) {\n this.filters.context = context;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busyStats\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return {\n main: false,\n buttonClicked: false,\n customBypass: false\n };\n }\n}), _applyDecoratedDescriptor(_class.prototype, \"applyDates\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyDates\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"applyContext\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyContext\"), _class.prototype)), _class);\nexport { StatsStore };","import { configure } from \"mobx\";\nimport { createContextFactory } from \"@devowl-wp/utils\";\nimport { OptionStore, CustomizeBannerStore, CookieStore, ConsentStore, StatsStore, ChecklistStore, TcfStore, ScannerStore } from \".\";\nconfigure({\n enforceActions: \"always\"\n});\n/**\n * A collection of all available stores which gets available\n * through the custom hook useStores in your function components.\n *\n * @see https://mobx.js.org/best/store.html#combining-multiple-stores\n */\n\nclass RootStore {\n get context() {\n return this.contextMemo ? this.contextMemo : this.contextMemo = createContextFactory(this);\n }\n\n constructor() {\n this.optionStore = void 0;\n this.customizeBannerStore = void 0;\n this.cookieStore = void 0;\n this.consentStore = void 0;\n this.statsStore = void 0;\n this.checklistStore = void 0;\n this.tcfStore = void 0;\n this.scannerStore = void 0;\n this.contextMemo = void 0;\n this.optionStore = new OptionStore(this);\n this.customizeBannerStore = new CustomizeBannerStore(this);\n this.cookieStore = new CookieStore(this);\n this.consentStore = new ConsentStore(this);\n this.statsStore = new StatsStore(this);\n this.checklistStore = new ChecklistStore(this);\n this.tcfStore = new TcfStore(this);\n this.scannerStore = new ScannerStore(this);\n }\n\n static get StoreProvider() {\n return RootStore.get.context.StoreProvider;\n }\n\n static get get() {\n return RootStore.me ? RootStore.me : RootStore.me = new RootStore();\n }\n\n}\n\nRootStore.me = void 0;\n\nconst useStores = () => RootStore.get.context.useStores();\n\nexport { RootStore, useStores };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13;\n\nimport { observable, flow, computed, runInAction } from \"mobx\";\nimport { BaseOptions } from \"@devowl-wp/utils\";\nimport { locationRestTcfDeclarationsGet } from \"../wp-api\";\nimport { locationRestTcfVendorsGet } from \"../wp-api\";\nimport { locationRestTcfGvlPut } from \"../wp-api\";\nimport { request } from \"../utils\";\nimport { TcfPurpose, TcfVendor, TcfFeature, TcfVendorConfigurationCollection } from \"../models\";\nlet TcfStore = (_class = class TcfStore extends BaseOptions {\n get vendorConfigurationCount() {\n return this.fetchedAllVendorConfigurations ? this.vendorConfigurations.entries.size : this.rootStore.optionStore.allTcfVendorConfigurationCount;\n }\n\n constructor(rootStore) {\n super();\n\n _initializerDefineProperty(this, \"busyGvl\", _descriptor, this);\n\n _initializerDefineProperty(this, \"busyVendors\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"busyDeclarations\", _descriptor3, this);\n\n _initializerDefineProperty(this, \"vendorConfigurations\", _descriptor4, this);\n\n _initializerDefineProperty(this, \"fetchedAllVendorConfigurations\", _descriptor5, this);\n\n _initializerDefineProperty(this, \"vendorListVersion\", _descriptor6, this);\n\n _initializerDefineProperty(this, \"gvlSpecificationVersion\", _descriptor7, this);\n\n _initializerDefineProperty(this, \"tcfPolicyVersion\", _descriptor8, this);\n\n _initializerDefineProperty(this, \"vendors\", _descriptor9, this);\n\n _initializerDefineProperty(this, \"purposes\", _descriptor10, this);\n\n _initializerDefineProperty(this, \"specialPurposes\", _descriptor11, this);\n\n _initializerDefineProperty(this, \"features\", _descriptor12, this);\n\n _initializerDefineProperty(this, \"specialFeatures\", _descriptor13, this);\n\n this.rootStore = void 0;\n this.fetchVendorConfigurations = flow(function* () {\n // In our UI, we do not have pagination, yet, so load all\n const perPage = 100;\n const pages = Math.ceil(this.vendorConfigurationCount / perPage);\n\n for (let i = 0; i < pages; i++) {\n yield this.vendorConfigurations.get({\n request: {\n status: [\"draft\", \"publish\", \"private\"]\n },\n params: {\n offset: i * perPage,\n // eslint-disable-next-line @typescript-eslint/naming-convention\n per_page: 100,\n // Fetch all\n context: \"edit\"\n }\n });\n }\n\n this.fetchedAllVendorConfigurations = true;\n });\n this.fetchVendors = flow(function* () {\n this.busyVendors = true;\n\n try {\n const {\n vendorListVersion,\n vendors\n } = yield request({\n location: locationRestTcfVendorsGet\n });\n\n for (const vid of Object.keys(vendors)) {\n this.vendors.set(vid, new TcfVendor(vendors[vid], this));\n }\n\n this.vendorListVersion = vendorListVersion;\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyVendors = false;\n }\n });\n this.fetchDeclarations = flow(function* () {\n this.busyDeclarations = true;\n\n try {\n const {\n gvlSpecificationVersion,\n tcfPolicyVersion,\n purposes,\n specialPurposes,\n features,\n specialFeatures\n } = yield request({\n location: locationRestTcfDeclarationsGet\n });\n\n for (const pid of Object.keys(purposes)) {\n this.purposes.set(pid, new TcfPurpose(purposes[pid], false, this));\n }\n\n for (const pid of Object.keys(specialPurposes)) {\n this.specialPurposes.set(pid, new TcfPurpose(specialPurposes[pid], true, this));\n }\n\n for (const pid of Object.keys(features)) {\n this.features.set(pid, new TcfFeature(features[pid], false, this));\n }\n\n for (const pid of Object.keys(specialFeatures)) {\n this.specialFeatures.set(pid, new TcfFeature(specialFeatures[pid], true, this));\n }\n\n this.gvlSpecificationVersion = gvlSpecificationVersion;\n this.tcfPolicyVersion = tcfPolicyVersion;\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyDeclarations = false;\n }\n });\n this.updateGvl = flow(function* () {\n this.busyGvl = true;\n\n try {\n const {\n gvlDownloadTime\n } = yield request({\n location: locationRestTcfGvlPut\n });\n this.rootStore.optionStore.tcfGvlDownloadTime = gvlDownloadTime;\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyGvl = false;\n }\n });\n this.rootStore = rootStore;\n runInAction(() => {\n this.vendorConfigurations = new TcfVendorConfigurationCollection(this);\n });\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busyGvl\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"busyVendors\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"busyDeclarations\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"vendorConfigurations\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"fetchedAllVendorConfigurations\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"vendorListVersion\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"gvlSpecificationVersion\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"tcfPolicyVersion\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"vendors\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"purposes\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"specialPurposes\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"features\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"specialFeatures\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _applyDecoratedDescriptor(_class.prototype, \"vendorConfigurationCount\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"vendorConfigurationCount\"), _class.prototype)), _class);\nexport { TcfStore };","const SCAN_QUEUE_JOB = \"rcb-scan\";\nconst AUTOMATIC_SCAN_STATER_QUEUE_JOB = \"rcb-automatic-scan-starter\";\nexport { SCAN_QUEUE_JOB, AUTOMATIC_SCAN_STATER_QUEUE_JOB };","function copyToClipboard(text) {\n const textField = document.createElement(\"textarea\");\n textField.innerText = text;\n document.body.appendChild(textField);\n textField.select();\n document.execCommand(\"copy\");\n textField.remove();\n}\n\nexport { copyToClipboard };","/**\n * Use this if you do not have the Mobx store available in your JavaScript asset.\n * E. g. the `banner.js` does not rely on the mobx store and should access the\n * localized options via `window.realCookieBanner` directly.\n */\nfunction getOptionsFromWindow() {\n return window[process.env.slug.replace(/-([a-z])/g, g => g[1].toUpperCase())];\n}\n\nexport { getOptionsFromWindow };","import { getOptionsFromWindow } from \"./getOptionsFromWindow\";\n/**\n * Use this if you do not have the Mobx store available in your JavaScript asset.\n * E. g. the `banner.js` does not rely on the mobx store and should access the\n * localized options via `window.realCookieBanner.others` directly.\n */\n\nfunction getOtherOptionsFromWindow() {\n return getOptionsFromWindow().others;\n}\n\nexport { getOtherOptionsFromWindow };","/* istanbul ignore file: this file does not contain any logic, only factory calls */\nimport { createLocalizationFactory, BaseOptions } from \"@devowl-wp/utils\"; // Only needed once per `window`\n\nlet FACTORY_MEMO;\n\nfunction get() {\n return FACTORY_MEMO ? FACTORY_MEMO : FACTORY_MEMO = createLocalizationFactory(BaseOptions.getPureSlug(process.env.slug));\n}\n\nconst _n = (...args) => get()._n(...args);\n\nconst _nx = (...args) => get()._nx(...args);\n\nconst _x = (...args) => get()._x(...args);\n\nconst __ = (...args) => get().__(...args);\n\nconst _i = (...args) => get()._i(...args);\n\nexport { _n, _nx, _x, __, _i };","/* istanbul ignore file: this file does not contain any logic, only factory calls */\nimport { createRequestFactory, BaseOptions } from \"@devowl-wp/utils\"; // Only needed once per `window`\n\nlet FACTORY_MEMO;\n\nfunction get() {\n return FACTORY_MEMO ? FACTORY_MEMO : FACTORY_MEMO = createRequestFactory(window[BaseOptions.getPureSlug(process.env.slug, true)]);\n}\n\nconst urlBuilder = (...args) => get().urlBuilder(...args);\n\nconst request = (...args) => get().request(...args);\n\nexport { urlBuilder, request };","/**\n * @see https://www.w3schools.com/howto/howto_js_scroll_to_top.asp\n */\nfunction scrollTo(top = 0) {\n document.body.scrollTop = top; // For Safari\n\n document.documentElement.scrollTop = top; // For Chrome, Firefox, IE and Opera\n}\n\nexport { scrollTo };","/**\n * Truncate a string with separator in the middle of the string.\n *\n * @see https://stackoverflow.com/a/5723274/5506547\n */\nfunction truncateMiddle(str, maxLength = 50, separator = \"...\") {\n if (!str || str.length <= maxLength) {\n return str;\n }\n\n const sepLen = separator.length;\n const charsToShow = maxLength - sepLen;\n const frontChars = Math.ceil(charsToShow / 2);\n const backChars = Math.floor(charsToShow / 2);\n return str.substr(0, frontChars) + separator + str.substr(str.length - backChars);\n}\n\nexport { truncateMiddle };","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestChecklistGet = {\n path: \"/checklist\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestChecklistPut = {\n path: \"/checklist/:id\",\n method: RouteHttpVerb.PUT\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestConsentAllDelete = {\n path: \"/consent/all\",\n method: RouteHttpVerb.DELETE\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestConsentAllGet = {\n path: \"/consent/all\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestConsentRefererGet = {\n path: \"/consent/referer\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestCookieGroupOrderPut = {\n path: \"/cookie-groups/order\",\n method: RouteHttpVerb.PUT\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestCookieUnassignedGet = {\n path: \"/cookies/unassigned\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestCookiesOrderPut = {\n path: \"/cookies/order\",\n method: RouteHttpVerb.PUT\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestCountryBypassDatabasePut = {\n path: \"/country-bypass/database\",\n method: RouteHttpVerb.PUT\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestExportGet = {\n path: \"/export\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestExportConsentsGet = {\n path: \"/export/consents\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestForwardCookieGet = {\n path: \"/forward/cookie/:slug\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestForwardEndpointsGet = {\n path: \"/forward/endpoints\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestImportPost = {\n path: \"/import\",\n method: RouteHttpVerb.POST\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestConsentPost = {\n path: \"/consent\",\n method: RouteHttpVerb.POST\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestConsentGet = {\n path: \"/consent\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestStatsMainGet = {\n path: \"/stats/main\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestStatsCustomBypassGet = {\n path: \"/stats/customBypass\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestStatsButtonsClickedGet = {\n path: \"/stats/buttonsClicked\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestConsentClearDelete = {\n path: \"/consent/clear\",\n method: RouteHttpVerb.DELETE\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestConsentForwardPost = {\n path: \"/consent/forward\",\n method: RouteHttpVerb.POST\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestConsentDynamicPredecisionGet = {\n path: \"/consent/dynamic-predecision\",\n method: RouteHttpVerb.POST\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestLiteDismissConfigPageProNotice = {\n path: \"/dismiss-config-page-pro-notice\",\n method: RouteHttpVerb.DELETE\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestMigrationDelete = {\n path: \"/migration/:migration\",\n method: RouteHttpVerb.DELETE\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestMigrationPost = {\n path: \"/migration/:migration/:action\",\n method: RouteHttpVerb.POST\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestModalHintSeenPut = {\n path: \"/modal-hint\",\n method: RouteHttpVerb.PUT\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestNavMenuAddLinksPost = {\n path: \"/nav-menu/add-links\",\n method: RouteHttpVerb.POST\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestPresetsBannerGet = {\n path: \"/presets/banner\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestPresetsBlockerGet = {\n path: \"/presets/blocker\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestPresetsBlockerAttributesGet = {\n path: \"/presets/blocker/:identifier\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestPresetsCookiesGet = {\n path: \"/presets/cookies\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestPresetsCookiesAttributesGet = {\n path: \"/presets/cookies/:identifier\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestRevisionGet = {\n path: \"/revision/:hash\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestRevisionCurrentGet = {\n path: \"/revision/current\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestRevisionCurrentPut = {\n path: \"/revision/current\",\n method: RouteHttpVerb.PUT\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestRevisionIndependentGet = {\n path: \"/revision/independent/:hash\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestScannerQueuePost = {\n path: \"/scanner/queue\",\n method: RouteHttpVerb.POST\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestScannerResultAllExternalUrlsByHostGet = {\n path: \"/scanner/result/externals/:type/:identifier\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestScannerResultExternalsGet = {\n path: \"/scanner/result/externals\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestScannerResultExternalPatch = {\n path: \"/scanner/result/externals/:host\",\n method: RouteHttpVerb.PUT\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestScannerResultMarkupGet = {\n path: \"/scanner/result/markup/:id\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestScannerResultPresetsGet = {\n path: \"/scanner/result/presets\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestTcfDeclarationsGet = {\n path: \"/tcf/declarations\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestTcfGvlPut = {\n path: \"/tcf/gvl\",\n method: RouteHttpVerb.PUT\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestTcfVendorsGet = {\n path: \"/tcf/vendors\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestWpSettings = {\n path: \"/settings\",\n namespace: \"wp/v2\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestWpSettingsPatch = {\n path: \"/settings\",\n namespace: \"wp/v2\",\n method: RouteHttpVerb.PATCH\n};","module.exports = React;","module.exports = ReactDOM;","module.exports = ReactRouterDOM;","module.exports = devowlWp_customize;","module.exports = devowlWp_realProductManagerWpClient;","module.exports = devowlWp_realQueue;","module.exports = devowlWp_utils;","module.exports = jQuery;","module.exports = mobx;","module.exports = moment;","module.exports = wp;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + ({\"3\":\"chunk-config-tab-scanner\",\"184\":\"chunk-config-tab-tcf\",\"322\":\"chunk-config-tab-licensing\",\"357\":\"chunk-config-tab-import\",\"379\":\"chunk-config-tab-dashboard\",\"478\":\"chunk-config-tab-blocker\",\"625\":\"chunk-config-tab-consent\",\"718\":\"chunk-config-tab-cookies\",\"768\":\"chunk-config-tab-settings\"}[chunkId] || chunkId) + \".lite.js?ver=\" + {\"3\":\"fda8a3d7baf68c23de17\",\"81\":\"1597b7ea247ebc729b3f\",\"85\":\"c1cace28db802702418a\",\"184\":\"fe97b05fb51ed960cc94\",\"185\":\"06765c274e74fab6e574\",\"307\":\"73276fcc2cfb96b77e26\",\"322\":\"5e85950ce97d48f995ac\",\"357\":\"7df71e03e569097e1232\",\"379\":\"54231007934f68c04f42\",\"414\":\"80bd17f5390c8b52cd65\",\"446\":\"8bd9b252600f8f721c0e\",\"466\":\"b69d94a17213c9cde347\",\"474\":\"acc17755b51f87dc3229\",\"478\":\"76f4ec784e34db6f7508\",\"544\":\"046af70c36e9f6a7dfd9\",\"578\":\"36d419efcf879ad47d09\",\"625\":\"076d92e5df126e3aa1fd\",\"637\":\"ef6cb6d16781bb56366d\",\"718\":\"7bc9539bfbf1059837b6\",\"737\":\"f0776900ca027073c701\",\"768\":\"9cbb4b6f33a116a0e1b5\",\"793\":\"20235de6234cd515b3d0\",\"853\":\"e18a682e86c2a3514386\",\"902\":\"dff6cad5a218cf713e40\",\"932\":\"cba370a1023bd0e9d17c\"}[chunkId] + \"\";\n};","// This function allow to reference all chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + \"admin\" + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript)\n\t\tscriptUrl = document.currentScript.src\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) scriptUrl = scripts[scripts.length - 1].src\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t328: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkrealCookieBanner_\"] = self[\"webpackChunkrealCookieBanner_\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [194], () => (__webpack_require__(6974)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","inProgress","dataWebpackPrefix","ETcfGvlDisclosureType","ETcfGvlLanguage","LABEL_GTM","LABEL_MTM","getManagerDependingVariables","setCookiesViaManager","presetId","useGlobalObjectName","getDataLayer","expectedManagerPresetId","serviceIsManager","managerLabel","isGtm","isMtm","window","I18nContextFactory","static","this","context","createContext","useI18n","useContext","Context","newlineRegex","reactNl2Br","text","split","map","line","index","match","createElement","key","getWebpackPublicPath","handleCorrupRestApi","async","location","path","namespace","prefixCls","top","node","document","getElementById","concat","I18nContext","render","React","Provider","value","__","_i","locale","DashboardChecklistItem","id","checked","title","description","link","linkText","linkTarget","needsPro","onLinkClick","optionStore","others","isPro","fomoCoupon","isInfo","extraContentTag","extraContentDescription","useLink","percent","scanPercent","remaining","scanRemaining","currentJob","useScannerProgress","group_position","style","margin","InfoCircleFilled","color","CheckCircleFilled","CheckCircleOutlined","textDecoration","undefined","fontWeight","Fragment","href","target","rel","onClick","className","paddingLeft","DashboardChecklistCardContent","props","checklistStore","busyChecklist","items","completed","checkable","done","checklist","overdue","showHidden","setShowHidden","useState","spinning","direction","size","icon","MinusCircleOutlined","cursor","length","rest","e","indexOf","toggleChecklistItem","NoticeRevisionNeedsRetrigger","pathname","useLocation","needsRevisionRetrigger","updateCurrentRevision","needs_retrigger","a","placement","onConfirm","okText","cancelText","overlayStyle","maxWidth","NoticeBannerActiveNoCookies","publicCookieCount","busySettings","bannerActive","NoticeAnonymousScriptNotWritable","showNoticeAnonymousScriptNotWritable","getOtherOptionsFromWindow","code","NoticeNoManager","hasManager","test","strong","RouterScrollToTop","listen","useHistory","useEffect","destroy","scrollTo","ProHeadlineButton","proUrl","isConfigProNoticeVisible","handleConfirm","useCallback","open","dismissConfigProNotice","handleClose","visible","InfoCircleOutlined","onCancel","ConfigHeader","isChecklistModalOpen","setChecklistModalOpen","customizeBannerUrl","publicUrl","fetchChecklist","handleCustomizeBannerButtonClick","encodeURIComponent","preventDefault","handleChecklistModalOpen","handleChecklistModalClose","src","background","borderColor","okButtonProps","display","width","ConfigFooter","HeartFilled","CSS_SPINNER_IN_CONTENT","marginTop","createSuspenseComponent","tab","children","default","SuspenseChunkTranslation","chunkFile","options","fallback","DashboardCards","lazy","then","SettingsForm","ScannerRouter","CookieGroupsTabRouter","ConsentTabRouter","BlockerRouter","ImportExportCards","ConfigLicensing","ConfigApp","showLicenseFormImmediate","colorScheme","badgeColor","useLayoutEffect","fetchSettings","listener","event","JOB_DONE_EVENT_PREFIX","addEventListener","removeEventListener","Suspense","NavLink","to","activeClassName","exact","count","fontSize","height","lineHeight","host","Switch","Route","areSettingsFetched","IN_APP_FOMO_URL_PARAMETER_TO_DEACTIVATE_WEBSITE_FOMO","InAppFomoCouponCounter","coupon","valueInPercent","validUntil","createTimerString","Date","getTime","fullSeconds","Math","floor","v","filter","i","join","setRerender","interval","setInterval","clearInterval","timerString","message","tag","marginRight","strongHours","strongPercent","ProModal","showHints","showFomoCouponCounter","testDrive","assetName","feature","onClose","inContainer","inContainerElement","hints","descriptionRef","setDescriptionRef","handleRedirect","focus","parentElement","previousElementSibling","removeAttribute","hint","proDialog","onOk","getContainer","ref","textAlign","marginBottom","ProModalHint","logo","wrap","flex","dangerouslySetInnerHTML","__html","alignSelf","marginLeft","PRO_TAG_BACKGROUND_COLOR","useProModal","overrideIsPro","setVisible","useIsPro","useMemo","tagText","modal","fetchStatusInterval","fetchAdditionalData","scannerStore","useProgress","type","onAdditionalData","rcbScanList","presets","externalUrls","resultPresetsFromResponse","resultExternalUrlsFromResponse","_class","_descriptor","_descriptor2","_descriptor3","_descriptor4","_descriptor5","_descriptor6","BannerPreset","constructor","preset","store","resetPreviewInUiSettings","runInAction","set","querySelector","contentWindow","realCookieBanner_customize_banner","RootStore","get","applyInUi","rootStore","previewInUi","setTimeout","customize","getSidebarCustomize","presetDefaults","forEach","defaultValue","settings","customizeIdsBanner","batchUpdates","section","Object","keys","sectionSettings","setting","customizeKey","has","newValue","prototype","hasOwnProperty","call","push","getIframeStore","customizeBannerStore","setBannerFromPreset","resetPreviewInUi","values","observable","configurable","enumerable","writable","initializer","BlockerCollection","ClientCollection","singlePath","methods","RouteHttpVerb","request","_dec","AbstractPostCollection","super","instance","response","fromResponse","_class2","BlockerModel","ClientModel","keyId","create","patch","delete","AbstractPost","rules","_this$data","data","meta","tcfVendors","_this$data2","Boolean","Number","services","_this$data3","collection","reaction","_this$data4","presetModel","fireImmediately","setName","name","rendered","setStatus","status","setDescription","purpose","content","setMeta","transformDataForPatch","slug","afterPatch","blockers","fetchCurrentRevision","afterDelete","afterPersist","computed","getOwnPropertyDescriptor","action","BlockerPreset","fullLogoUrl","logoFile","startsWith","fetchAttributes","flow","busy","params","identifier","attributes","console","log","_descriptor7","_descriptor8","_descriptor9","_descriptor10","_descriptor11","_descriptor12","_descriptor13","_descriptor14","_descriptor15","_descriptor16","_descriptor17","_descriptor18","_descriptor19","_descriptor20","_descriptor21","_descriptor22","_descriptor23","_descriptor24","_descriptor25","_descriptor26","_descriptor27","_descriptor28","_descriptor29","Consent","revision","revisions","revision_hash","revision_independent","revisionsIndependent","revision_independent_hash","custom_bypass_readable","custom_bypass","charAt","toUpperCase","slice","export","JSON","parse","stringify","plain","consent","fetchRevisions","Promise","all","fetchRevision","hash","fetchRevisionIndependent","CookieCollection","sortedCookies","result","Array","from","entries","sort","b","menu_order","orderCookies","ids","setOrder","CookieGroupCollection","AbstractCategoryCollection","sortedGroups","order","orderCookieGroups","CookieGroupModel","AbstractCategory","cookiesCount","fetchedAllCookies","cookies","fetchCookies","per_page","CookieModel","technicalDefinitions","codeDynamics","groups","thisGroup","group","cookieStore","unassignedCookies","setPurpose","setGroup","transformDataForPersist","probablyFetchByChangedItem","CookiePreset","Revision","RevisionIndependent","ScannerResultExternalUrl","inactive","blockedStatus","ignored","foundCount","blockedCount","blockedStatusText","externalUrl","ignore","state","replace","ScannerResultExternalUrlSingle","markup","resultMarkup","blockedUrlTruncate","blockedUrl","sourceUrlTruncate","sourceUrl","fetchMarkup","ScannerResultPreset","created","TcfFeature","special","TcfPurpose","TcfVendor","vendorConfiguration","c","vendorConfigurations","vendorModel","deviceStorageDisclosure","usesCookies","cookieMaxAgeSeconds","cookieRefresh","usesNonCookieAccess","disclosures","unshift","purposes","domain","maxAgeSeconds","allPurposes","legIntPurposes","specialPurposes","allFeatures","features","specialFeatures","restrictivePurposes","normal","toString","enabled","legInt","flexiblePurposes","_this$data5","_this$data6","TcfVendorConfigurationCollection","TcfVendorConfigurationModel","hasVendor","_this$vendorModel","_this$vendorModel2","disableRestrictivePurposes","tcfScopeOfConsent","originalRestrictivePurposes","stats","_this$vendorModel3","arr","activePurposes","activeFeatures","vendor","vendors","vendorId","existing","_this$data$meta","ChecklistStore","BaseOptions","itemId","force","useItemIds","isArray","_wp_http_referer","_this$checklist","dismissed","ConsentStore","filters","page","dates","referer","ip","uuid","deep","fetchAll","busyConsent","m","format","truncatedIpsCount","perPage","offset","pageCollection","clear","item","fetchReferer","busyReferer","deleteAll","applyPage","applyDates","applyContext","applyReferer","applyIp","applyUuid","Map","CookieStore","blockersCount","fetchedAllBlockers","allBlockerCount","reduce","total","num","fetchGroups","fetchUnassignedCookies","fetchBlockers","fetchPresetsBlocker","busyPresetsBlocker","pid","presetsBlocker","fetchPresetsCookie","busyPresetsCookie","presetsCookie","essentialGroup","it","next","CustomizeBannerStore","presetConstants","debounceFromCustomize","fetchPresets","busyPresets","defaults","constants","did","cid","setBannerFromCustomize","maybeDebounce","customizeValuesBanner","debounceSetting","clearTimeout","currentValue","forceAnimationOutSimulation","row","animationVisible","setIndividualPrivacyOpen","individualPrivacyOpen","setPreviewCheckboxActiveState","previewCheckboxActiveState","exportPhp","isNaN","jsonToPHPArray","output","shift","pop","full","spaces","namespaces","_descriptor30","_descriptor31","_descriptor32","_descriptor33","_descriptor34","_descriptor35","_descriptor36","_descriptor37","_descriptor38","_descriptor39","_descriptor40","_descriptor41","_descriptor42","_descriptor43","_descriptor44","_descriptor45","_descriptor46","_descriptor47","_descriptor48","_descriptor49","_descriptor50","_descriptor51","_descriptor52","OptionStore","isOnlyRcbCookieCreated","allCookieCount","tcf","allTcfVendorConfigurationCount","respectDoNotTrack","pureSlug","pureSlugCamelCased","setFrom","blockerActive","imprintId","imprintExternalUrl","imprintIsExternalUrl","privacyPolicyId","privacyPolicyExternalUrl","privacyPolicyIsExternalUrl","hidePageIds","acceptAllForBots","cookieDuration","saveIp","ePrivacyUSA","ageNotice","listServicesNotice","consentForwarding","forwardTo","crossDomains","countryBypass","countryBypassCountries","countryBypassType","countryBypassDbDownloadTime","tcfPublisherCc","tcfAcceptedTime","tcfGvlDownloadTime","consentDuration","updateSettings","affiliateLink","affiliateLabelBehind","affiliateLabelDescription","setFromCurrentRevision","setModalHintSeen","modalHints","dismissMigration","migration","dashboardMigration","addLinksToNavigationMenu","busyAddLinksToNavigationMenu","success","updateCountryBypassDatabase","busyCountryBypassUpdate","dbDownloadTime","assign","contexts","has_manager","public_cookie_count","all_cookie_count","all_blocker_count","all_tcf_vendor_configuration_count","all_scanner_result_presets_count","all_scanner_result_external_urls_count","cookie_counts","consents_deleted_at","nav_menus","tcf_vendor_configuration_counts","dashboard_migration","fomo_coupon","allScannerResultPresetsCount","allScannerResultExternalUrlsCount","cookieCounts","consentsDeletedAt","tcfVendorConfigurationCounts","setShowLicenseFormImmediate","isLicensed","draft","private","publish","ScannerStore","sortedExternalUrls","resultExternalUrls","presetsCount","fetchedAllResultPresets","resultPresets","externalUrlsCount","fetchedAllResultExternalUrls","canShowResults","_this$rootStore$check","foundScanResultsCount","needsAttentionCount","addUrlsToQueue","fetchResultPresets","busyResultPresets","fetchResultExternals","busyExternalUrls","fetchResultAllExternals","resultAllExternalUrls","probablyStaleKey","busyMarkup","externalHost","StatsStore","main","buttonsClicked","customBypass","fetchMain","Error","fetchButtonsClicked","fetchCustomBypass","subtract","buttonClicked","configure","enforceActions","contextMemo","createContextFactory","consentStore","statsStore","tcfStore","StoreProvider","me","useStores","TcfStore","vendorConfigurationCount","fetchedAllVendorConfigurations","fetchVendorConfigurations","pages","ceil","fetchVendors","busyVendors","vendorListVersion","vid","fetchDeclarations","busyDeclarations","gvlSpecificationVersion","tcfPolicyVersion","updateGvl","busyGvl","gvlDownloadTime","SCAN_QUEUE_JOB","AUTOMATIC_SCAN_STATER_QUEUE_JOB","copyToClipboard","textField","innerText","body","appendChild","select","execCommand","remove","getOptionsFromWindow","g","FACTORY_MEMO","createLocalizationFactory","_n","args","_x","createRequestFactory","urlBuilder","scrollTop","documentElement","truncateMiddle","str","maxLength","separator","charsToShow","frontChars","backChars","substr","locationRestChecklistGet","method","locationRestChecklistPut","locationRestConsentAllDelete","locationRestConsentAllGet","locationRestConsentRefererGet","locationRestCookieGroupOrderPut","locationRestCookieUnassignedGet","locationRestCookiesOrderPut","locationRestCountryBypassDatabasePut","locationRestExportGet","locationRestExportConsentsGet","locationRestForwardCookieGet","locationRestForwardEndpointsGet","locationRestImportPost","locationRestConsentPost","locationRestConsentGet","locationRestStatsMainGet","locationRestStatsCustomBypassGet","locationRestStatsButtonsClickedGet","locationRestConsentClearDelete","locationRestConsentForwardPost","locationRestConsentDynamicPredecisionGet","locationRestLiteDismissConfigPageProNotice","locationRestMigrationDelete","locationRestMigrationPost","locationRestModalHintSeenPut","locationRestNavMenuAddLinksPost","locationRestPresetsBannerGet","locationRestPresetsBlockerGet","locationRestPresetsBlockerAttributesGet","locationRestPresetsCookiesGet","locationRestPresetsCookiesAttributesGet","locationRestRevisionGet","locationRestRevisionCurrentGet","locationRestRevisionCurrentPut","locationRestRevisionIndependentGet","locationRestScannerQueuePost","locationRestScannerResultAllExternalUrlsByHostGet","locationRestScannerResultExternalsGet","locationRestScannerResultExternalPatch","locationRestScannerResultMarkupGet","locationRestScannerResultPresetsGet","locationRestTcfDeclarationsGet","locationRestTcfGvlPut","locationRestTcfVendorsGet","locationRestWpSettings","locationRestWpSettingsPatch","module","exports","ReactDOM","ReactRouterDOM","devowlWp_customize","devowlWp_realProductManagerWpClient","devowlWp_realQueue","devowlWp_utils","jQuery","mobx","moment","wp","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","loaded","__webpack_modules__","O","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","every","splice","r","n","getter","__esModule","d","definition","o","defineProperty","f","chunkId","promises","u","miniCssF","globalThis","Function","obj","prop","l","url","script","needAttach","scripts","getElementsByTagName","s","getAttribute","charset","timeout","nc","setAttribute","onScriptComplete","prev","onerror","onload","doneFns","parentNode","removeChild","bind","head","Symbol","toStringTag","nmd","paths","scriptUrl","importScripts","currentScript","p","installedChunks","installedChunkData","promise","resolve","reject","error","errorType","realSrc","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}
1
+ {"version":3,"file":"admin.lite.js","mappings":"kDAAIA,ECAAC,EACAC,E,kBCAJ,IAAIC,EAQAC,E,iBANJ,SAAWD,GACTA,EAA8B,OAAI,SAClCA,EAA2B,IAAI,MAC/BA,EAA2B,IAAI,MAHjC,CAIGA,IAA0BA,EAAwB,KAIrD,SAA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B,EAAoBqB,EAAEwC,EAAiBrC,IAAYqC,EAAgBrC,IACrEqC,EAAgBrC,GAAS,KAE1BqC,EAAgBrC,GAAW,EAE5B,OAAOxB,EAAoBK,EAAEhc,IAG1BqgB,EAAqBC,KAAoC,8BAAIA,KAAoC,+BAAK,GAC1GD,EAAmBnpB,QAAQ8oB,EAAqBlB,KAAK,KAAM,IAC3DuB,EAAmBnoB,KAAO8nB,EAAqBlB,KAAK,KAAMuB,EAAmBnoB,KAAK4mB,KAAKuB,K,GClFvF,IAAIE,EAAsB5E,EAAoBK,OAAE/zB,EAAW,CAAC,MAAM,IAAO0zB,EAAoB,QAC7F4E,EAAsB5E,EAAoBK,EAAEuE,G","sources":["webpack:///webpack/runtime/chunk loaded","webpack:///webpack/runtime/load script","webpack:///../../backends/real-cookie-banner-backend/src/types/service/tcf.ts","webpack:///../../frontend-packages/cookie-consent-web-client/src/apply/getManagerDependingVariables.tsx","webpack:///../../frontend-packages/react-cookie-banner-admin/src/contexts/i18n.tsx","webpack:///../../frontend-packages/react-cookie-banner/src/utils/reactNl2Br.tsx","webpack:///./src/public/ts/admin.tsx","webpack:///./src/public/ts/components/config/dashboard/checklistItem.tsx","webpack:///./src/public/ts/components/config/dashboard/checklist.tsx","webpack:///./src/public/ts/components/config/noticeRevisionNeedsRetrigger.tsx","webpack:///./src/public/ts/components/config/noticeBannerActiveNoCookies.tsx","webpack:///./src/public/ts/components/config/noticeAnonymousScriptNotWritable.tsx","webpack:///./src/public/ts/components/config/noticeNoManager.tsx","webpack:///./src/public/ts/components/routerScrollToTop.tsx","webpack:///./src/public/ts/components/proHeadlineButton.tsx","webpack:///./src/public/ts/components/config/header.tsx","webpack:///./src/public/ts/components/config/footer.tsx","webpack:///./src/public/ts/components/configApp.tsx","webpack:///./src/public/ts/components/inAppFomoCouponCounter.tsx","webpack:///./src/public/ts/components/proModal.tsx","webpack:///./src/public/ts/components/proModalHint.tsx","webpack:///./src/public/ts/hooks/useProModal.tsx","webpack:///./src/public/ts/hooks/useScannerProgress.tsx","webpack:///./src/public/ts/models/bannerPreset.tsx","webpack:///./src/public/ts/models/blockerCollection.tsx","webpack:///./src/public/ts/models/blockerModel.tsx","webpack:///./src/public/ts/models/blockerPreset.tsx","webpack:///./src/public/ts/models/consent.tsx","webpack:///./src/public/ts/models/cookieCollection.tsx","webpack:///./src/public/ts/models/cookieGroupCollection.tsx","webpack:///./src/public/ts/models/cookieGroupModel.tsx","webpack:///./src/public/ts/models/cookieModel.tsx","webpack:///./src/public/ts/models/cookiePreset.tsx","webpack:///./src/public/ts/models/revision.tsx","webpack:///./src/public/ts/models/revisionIndependent.tsx","webpack:///./src/public/ts/models/scannerResultExternalUrl.tsx","webpack:///./src/public/ts/models/scannerResultExternalUrlSingle.tsx","webpack:///./src/public/ts/models/scannerResultPreset.tsx","webpack:///./src/public/ts/models/tcfFeature.tsx","webpack:///./src/public/ts/models/tcfPurpose.tsx","webpack:///./src/public/ts/models/tcfVendor.tsx","webpack:///./src/public/ts/models/tcfVendorConfigurationCollection.tsx","webpack:///./src/public/ts/models/tcfVendorConfigurationModel.tsx","webpack:///./src/public/ts/store/checklist.tsx","webpack:///./src/public/ts/store/consent.tsx","webpack:///./src/public/ts/store/cookie.tsx","webpack:///./src/public/ts/store/customizeBanner.tsx","webpack:///./src/public/ts/store/option.tsx","webpack:///./src/public/ts/store/scanner.tsx","webpack:///./src/public/ts/store/stats.tsx","webpack:///./src/public/ts/store/stores.tsx","webpack:///./src/public/ts/store/tcf.tsx","webpack:///./src/public/ts/types/queue.tsx","webpack:///./src/public/ts/utils/copyToClipboard.tsx","webpack:///./src/public/ts/utils/getOptionsFromWindow.tsx","webpack:///./src/public/ts/utils/getOtherOptionsFromWindow.tsx","webpack:///./src/public/ts/utils/i18n.tsx","webpack:///./src/public/ts/utils/request.tsx","webpack:///./src/public/ts/utils/scrollTo.tsx","webpack:///./src/public/ts/utils/truncateMiddle.tsx","webpack:///./src/public/ts/wp-api/checklist.get.tsx","webpack:///./src/public/ts/wp-api/checklist.put.tsx","webpack:///./src/public/ts/wp-api/consentAll.delete.tsx","webpack:///./src/public/ts/wp-api/consentAll.get.tsx","webpack:///./src/public/ts/wp-api/consentReferer.get.tsx","webpack:///./src/public/ts/wp-api/cookieGroupOrder.put.tsx","webpack:///./src/public/ts/wp-api/cookieUnassigned.get.tsx","webpack:///./src/public/ts/wp-api/cookiesOrder.put.tsx","webpack:///./src/public/ts/wp-api/countryBypassDatabase.put.tsx","webpack:///./src/public/ts/wp-api/export.get.tsx","webpack:///./src/public/ts/wp-api/exportConsents.get.tsx","webpack:///./src/public/ts/wp-api/forwardCookie.get.tsx","webpack:///./src/public/ts/wp-api/forwardEndpoints.get.tsx","webpack:///./src/public/ts/wp-api/import.post.tsx","webpack:///./src/public/ts/wp-api/consent.post.tsx","webpack:///./src/public/ts/wp-api/consent.get.tsx","webpack:///./src/public/ts/wp-api/statsMain.get.tsx","webpack:///./src/public/ts/wp-api/statsCustomBypass.get.tsx","webpack:///./src/public/ts/wp-api/statsButtonsClicked.tsx","webpack:///./src/public/ts/wp-api/consentClear.delete.tsx","webpack:///./src/public/ts/wp-api/consentForward.post.tsx","webpack:///./src/public/ts/wp-api/consentDynamicPredecision.get.tsx","webpack:///./src/public/ts/wp-api/liteDismissConfigPageProNotice.delete.tsx","webpack:///./src/public/ts/wp-api/migration.delete.tsx","webpack:///./src/public/ts/wp-api/migration.post.tsx","webpack:///./src/public/ts/wp-api/modalHintSeen.put.tsx","webpack:///./src/public/ts/wp-api/navMenuAddLinks.post.tsx","webpack:///./src/public/ts/wp-api/presetsBanner.get.tsx","webpack:///./src/public/ts/wp-api/presetsBlocker.get.tsx","webpack:///./src/public/ts/wp-api/presetsBlockerAttributes.get.tsx","webpack:///./src/public/ts/wp-api/presetsCookies.get.tsx","webpack:///./src/public/ts/wp-api/presetsCookiesAttributes.get.tsx","webpack:///./src/public/ts/wp-api/revision.get.tsx","webpack:///./src/public/ts/wp-api/revisionCurrent.get.tsx","webpack:///./src/public/ts/wp-api/revisionCurrent.put.tsx","webpack:///./src/public/ts/wp-api/revisionIndependent.get.tsx","webpack:///./src/public/ts/wp-api/scannerQueue.post.tsx","webpack:///./src/public/ts/wp-api/scannerResultsAllExternalUrls.get.tsx","webpack:///./src/public/ts/wp-api/scannerResultsExternal.get.tsx","webpack:///./src/public/ts/wp-api/scannerResultsExternalHost.put.tsx","webpack:///./src/public/ts/wp-api/scannerResultsMarkup.get.tsx","webpack:///./src/public/ts/wp-api/scannerResultsPreset.get.tsx","webpack:///./src/public/ts/wp-api/tcfDeclarations.get.tsx","webpack:///./src/public/ts/wp-api/tcfGvl.put.tsx","webpack:///./src/public/ts/wp-api/tcfVendors.get.tsx","webpack:///./src/public/ts/wp-api/wp/settings.get.tsx","webpack:///./src/public/ts/wp-api/wp/settings.patch.tsx","webpack:///external var \"React\"","webpack:///external var \"ReactDOM\"","webpack:///external var \"ReactRouterDOM\"","webpack:///external var \"devowlWp_customize\"","webpack:///external var \"devowlWp_realProductManagerWpClient\"","webpack:///external var \"devowlWp_realQueue\"","webpack:///external var \"devowlWp_utils\"","webpack:///external var \"jQuery\"","webpack:///external var \"mobx\"","webpack:///external var \"moment\"","webpack:///external var \"wp\"","webpack:///webpack/bootstrap","webpack:///webpack/runtime/compat get default export","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/ensure chunk","webpack:///webpack/runtime/get javascript chunk filename","webpack:///webpack/runtime/get mini-css chunk filename","webpack:///webpack/runtime/global","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/make namespace object","webpack:///webpack/runtime/node module decorator","webpack:///webpack/runtime/publicPath","webpack:///webpack/runtime/jsonp chunk loading","webpack:///webpack/startup"],"sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","var inProgress = {};\nvar dataWebpackPrefix = \"realCookieBanner_:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\t;\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","/* eslint-disable @typescript-eslint/no-empty-interface */\nvar ETcfGvlDisclosureType;\n\n(function (ETcfGvlDisclosureType) {\n ETcfGvlDisclosureType[\"Cookie\"] = \"cookie\";\n ETcfGvlDisclosureType[\"Web\"] = \"web\";\n ETcfGvlDisclosureType[\"App\"] = \"app\";\n})(ETcfGvlDisclosureType || (ETcfGvlDisclosureType = {}));\n\nvar ETcfGvlLanguage;\n\n(function (ETcfGvlLanguage) {\n ETcfGvlLanguage[\"Bulgarian\"] = \"bg\";\n ETcfGvlLanguage[\"Catalan\"] = \"ca\";\n ETcfGvlLanguage[\"Czech\"] = \"cs\";\n ETcfGvlLanguage[\"Danish\"] = \"da\";\n ETcfGvlLanguage[\"German\"] = \"de\";\n ETcfGvlLanguage[\"Greek\"] = \"el\";\n ETcfGvlLanguage[\"Spanish\"] = \"es\";\n ETcfGvlLanguage[\"Estonian\"] = \"et\";\n ETcfGvlLanguage[\"Basque\"] = \"eus\";\n ETcfGvlLanguage[\"Finnish\"] = \"fi\";\n ETcfGvlLanguage[\"French\"] = \"fr\";\n ETcfGvlLanguage[\"Galician\"] = \"gl\";\n ETcfGvlLanguage[\"Croatian\"] = \"hr\";\n ETcfGvlLanguage[\"Hungarian\"] = \"hu\";\n ETcfGvlLanguage[\"Italian\"] = \"it\";\n ETcfGvlLanguage[\"Japanese\"] = \"ja\";\n ETcfGvlLanguage[\"Lithuanian\"] = \"lt\";\n ETcfGvlLanguage[\"Latvian\"] = \"lv\";\n ETcfGvlLanguage[\"Maltese\"] = \"mt\";\n ETcfGvlLanguage[\"Dutch\"] = \"nl\";\n ETcfGvlLanguage[\"Norwegian\"] = \"no\";\n ETcfGvlLanguage[\"Polish\"] = \"pl\";\n ETcfGvlLanguage[\"Portuguese\"] = \"pt\";\n ETcfGvlLanguage[\"Romanian\"] = \"ro\";\n ETcfGvlLanguage[\"SerbianCyrillic\"] = \"sr-Cyrl\";\n ETcfGvlLanguage[\"SerbianLatin\"] = \"sr-Latn\";\n ETcfGvlLanguage[\"Russian\"] = \"ru\";\n ETcfGvlLanguage[\"Slovak\"] = \"sk\";\n ETcfGvlLanguage[\"Slovenian\"] = \"sl\";\n ETcfGvlLanguage[\"Swedish\"] = \"sv\";\n ETcfGvlLanguage[\"Turkish\"] = \"tr\";\n ETcfGvlLanguage[\"Chinese\"] = \"zh\";\n})(ETcfGvlLanguage || (ETcfGvlLanguage = {}));\n\nexport { ETcfGvlLanguage, ETcfGvlDisclosureType };","export const LABEL_GTM = \"Google Tag Manager\";\nexport const LABEL_MTM = \"Matomo Tag Manager\";\n\nfunction getManagerDependingVariables(setCookiesViaManager, presetId) {\n let useGlobalObjectName;\n let getDataLayer;\n let serviceIsManager = false;\n let managerLabel = \"\";\n let expectedManagerPresetId;\n\n if (setCookiesViaManager && setCookiesViaManager !== \"none\") {\n const isGtm = setCookiesViaManager === \"googleTagManager\";\n const isMtm = setCookiesViaManager === \"matomoTagManager\";\n\n if (isGtm) {\n expectedManagerPresetId = \"gtm\";\n useGlobalObjectName = \"dataLayer\";\n managerLabel = LABEL_GTM;\n } else if (isMtm) {\n expectedManagerPresetId = \"mtm\";\n useGlobalObjectName = \"_mtm\";\n managerLabel = LABEL_MTM;\n }\n\n if (isGtm || isMtm) {\n getDataLayer = () => {\n window[useGlobalObjectName] = window[useGlobalObjectName] || [];\n return window[useGlobalObjectName];\n };\n }\n\n if (expectedManagerPresetId && presetId === expectedManagerPresetId) {\n serviceIsManager = true;\n }\n }\n\n return {\n getDataLayer,\n serviceIsManager,\n managerLabel,\n expectedManagerPresetId\n };\n}\n\nexport { getManagerDependingVariables };","import { createContext, useContext } from \"react\";\n\n/**\n * Create a side-effect-free context provider.\n */\nclass I18nContextFactory {\n static Context() {\n return this.context = this.context || /*#__PURE__*/createContext({});\n }\n\n}\n\nI18nContextFactory.context = void 0;\n\nfunction useI18n() {\n return useContext(I18nContextFactory.Context());\n}\n\nexport { I18nContextFactory, useI18n };","import { createElement } from \"react\";\nconst newlineRegex = /(\\r\\n|\\r|\\n|<br[ ]?\\/>)/g;\n/**\n * @see https://codesandbox.io/s/94k7k80jxy\n */\n\nconst reactNl2Br = text => text.split(newlineRegex).map((line, index) => line.match(newlineRegex) ? /*#__PURE__*/createElement(\"br\", {\n key: index\n}) : line);\n\nexport { reactNl2Br };","import _message from \"antd/es/message\";\nimport _ConfigProvider from \"antd/es/config-provider\";\n\n/* istanbul ignore file: we do not need to care about the entry point file as errors are detected through integration tests (E2E) */\n\n/**\n * The entry point for the admin side wp-admin resource (config page).\n */\nimport \"mobx-react/batchingForReactDom\";\nimport { render } from \"react-dom\";\nimport { RootStore } from \"./store\";\nimport { ConfigApp } from \"./components/configApp\";\nimport \"./style/antd.less\";\nimport \"./style/admin.scss\";\nimport moment from \"moment\";\nimport { handleCorrupRestApi, getWebpackPublicPath } from \"@devowl-wp/utils\";\nimport { request, __, _i } from \"./utils\";\nimport { I18nContextFactory } from \"@devowl-wp/react-cookie-banner-admin\";\n__webpack_public_path__ = getWebpackPublicPath(process.env.slug);\nhandleCorrupRestApi === null || handleCorrupRestApi === void 0 ? void 0 : handleCorrupRestApi({\n [RootStore.get.optionStore.restNamespace]: async () => {\n await request({\n location: {\n path: \"/plugin\"\n }\n });\n },\n [\"wp/v2\"]: async () => {\n await request({\n location: {\n path: \"/settings\",\n namespace: \"wp/v2\"\n }\n });\n }\n}); // Configure prefix for root (https://bit.ly/3wb2pv9)\n\n_ConfigProvider.config({\n prefixCls: process.env.ANTD_PREFIX\n});\n\n_message.config({\n top: 50\n});\n\nconst node = document.getElementById(\"\".concat(RootStore.get.optionStore.slug, \"-component\"));\n\nif (node) {\n const I18nContext = I18nContextFactory.Context();\n render( /*#__PURE__*/React.createElement(I18nContext.Provider, {\n value: {\n __,\n _i\n }\n }, /*#__PURE__*/React.createElement(_ConfigProvider, {\n prefixCls: process.env.ANTD_PREFIX,\n locale: {\n locale: moment.locale()\n }\n }, /*#__PURE__*/React.createElement(RootStore.StoreProvider, null, /*#__PURE__*/React.createElement(ConfigApp, null)))), node);\n} // Expose this functionalities to add-ons, but you need to activate the library functionality\n// in your webpack configuration, see also https://webpack.js.org/guides/author-libraries/\n\n\nexport * from \"@devowl-wp/utils\";\nexport * from \"./wp-api\";\nexport * from \"./store\";","import _Tooltip from \"antd/es/tooltip\";\nimport _Tag from \"antd/es/tag\";\nimport { observer } from \"mobx-react\";\nimport { __ } from \"../../../utils\";\nimport { CheckCircleOutlined, CheckCircleFilled, InfoCircleFilled } from \"@ant-design/icons\";\nimport { useStores } from \"../../../store\";\nimport { PRO_TAG_BACKGROUND_COLOR, useScannerProgress } from \"../../../hooks\";\nimport { InAppFomoCouponCounter, IN_APP_FOMO_URL_PARAMETER_TO_DEACTIVATE_WEBSITE_FOMO } from \"../..\";\nconst DashboardChecklistItem = observer(({\n id,\n checked,\n title,\n description,\n link,\n linkText,\n linkTarget,\n needsPro,\n onLinkClick\n}) => {\n const {\n optionStore: {\n others: {\n isPro\n },\n fomoCoupon\n }\n } = useStores();\n const isInfo = !isPro && needsPro;\n let extraContentTag = null;\n let extraContentDescription = null;\n let useLink = link;\n\n switch (id) {\n case \"scanner\":\n {\n const {\n percent: scanPercent,\n remaining: scanRemaining,\n currentJob\n } = useScannerProgress();\n\n if (scanRemaining > 0 && scanPercent > 0 && (currentJob === null || currentJob === void 0 ? void 0 : currentJob.group_position) > 0) {\n extraContentTag = /*#__PURE__*/React.createElement(_Tag, null, __(\"Currently scanning (%d %%)\", scanPercent));\n }\n\n break;\n }\n\n case \"get-pro\":\n {\n extraContentDescription = /*#__PURE__*/React.createElement(InAppFomoCouponCounter, null);\n\n if (fomoCoupon) {\n useLink += \"&\".concat(IN_APP_FOMO_URL_PARAMETER_TO_DEACTIVATE_WEBSITE_FOMO);\n }\n\n break;\n }\n\n default:\n break;\n }\n\n return /*#__PURE__*/React.createElement(\"div\", {\n style: {\n margin: \"5px 0\"\n }\n }, /*#__PURE__*/React.createElement(_Tooltip, {\n title: checked && description\n }, /*#__PURE__*/React.createElement(\"span\", null, isInfo ? /*#__PURE__*/React.createElement(InfoCircleFilled, {\n style: {\n color: \"#7ec8ec\"\n }\n }) : checked ? /*#__PURE__*/React.createElement(CheckCircleFilled, {\n style: {\n color: \"#52c41a\"\n }\n }) : /*#__PURE__*/React.createElement(CheckCircleOutlined, {\n style: {\n color: \"#e2e2e2\"\n }\n }), \" \", /*#__PURE__*/React.createElement(\"span\", {\n style: {\n textDecoration: checked ? \"line-through\" : undefined,\n fontWeight: \"bold\"\n }\n }, title), !!useLink && !!linkText && /*#__PURE__*/React.createElement(React.Fragment, null, \"\\xA0\\xA0\\u2022\\xA0\\xA0\", /*#__PURE__*/React.createElement(\"a\", {\n href: useLink,\n target: linkTarget,\n rel: \"noreferrer\",\n onClick: onLinkClick\n }, linkText)))), isInfo && id !== \"get-pro\" && /*#__PURE__*/React.createElement(React.Fragment, null, \"\\xA0\", /*#__PURE__*/React.createElement(_Tag, {\n color: PRO_TAG_BACKGROUND_COLOR\n }, __(\"Needs PRO\"))), !!extraContentTag && /*#__PURE__*/React.createElement(React.Fragment, null, \"\\xA0\", extraContentTag), !!description && !checked && /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\",\n style: {\n paddingLeft: 17\n }\n }, description), !!extraContentDescription && /*#__PURE__*/React.createElement(\"div\", {\n style: {\n paddingLeft: 17\n }\n }, extraContentDescription));\n});\nexport { DashboardChecklistItem };","import _Spin from \"antd/es/spin\";\nimport _Space from \"antd/es/space\";\nimport _extends from \"@babel/runtime/helpers/extends\";\nimport _Tag from \"antd/es/tag\";\nimport { useState } from \"react\";\nimport { observer } from \"mobx-react\";\nimport { __ } from \"../../../utils\";\nimport { DashboardChecklistItem } from \".\";\nimport { useStores } from \"../../../store\";\nimport { CheckCircleOutlined, MinusCircleOutlined } from \"@ant-design/icons\";\nconst DashboardChecklistCardContent = observer(({\n onLinkClick,\n ...props\n}) => {\n const {\n checklistStore\n } = useStores();\n const {\n busyChecklist,\n items,\n completed,\n checkable,\n done,\n checklist: {\n overdue\n }\n } = checklistStore;\n const [showHidden, setShowHidden] = useState(typeof props.showHidden === \"boolean\" ? props.showHidden : done ? false : true);\n return /*#__PURE__*/React.createElement(_Spin, {\n spinning: busyChecklist\n }, /*#__PURE__*/React.createElement(_Space, {\n direction: \"vertical\",\n size: \"large\"\n }, overdue && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning inline below-h2 notice-alt\",\n style: {\n margin: 0\n }\n }, /*#__PURE__*/React.createElement(\"p\", null, __(\"How time flies! You have installed Real Cookie Banner some time ago, but you still haven't finished the configuration yet.\"))), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\"\n }, __(\"We have collected all relevant steps for the legally compliant use of Real Cookie Banner after the first installation. Set up the cookie banner step by step to add a cookie banner to your website in compliance with the ePrivacy Directive and GDPR.\")), /*#__PURE__*/React.createElement(\"div\", null, done && (showHidden ? /*#__PURE__*/React.createElement(_Tag, {\n icon: /*#__PURE__*/React.createElement(MinusCircleOutlined, null),\n color: \"default\",\n style: {\n cursor: \"pointer\"\n },\n onClick: () => setShowHidden(false)\n }, __(\"Hide completed steps\")) : /*#__PURE__*/React.createElement(_Tag, {\n icon: /*#__PURE__*/React.createElement(CheckCircleOutlined, null),\n color: \"success\",\n style: {\n cursor: \"pointer\"\n },\n onClick: () => setShowHidden(true)\n }, __(\"%d / %d steps completed\", completed.length > checkable.length ? checkable.length : completed.length, // avoid overflow due infos\n checkable.length))), items.map(({\n id,\n ...rest\n }) => {\n if (!showHidden && rest.checked) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(DashboardChecklistItem, _extends({\n key: id,\n id: id\n }, rest, {\n onLinkClick: e => {\n if ([\"get-pro\"].indexOf(id) > -1) {\n checklistStore.toggleChecklistItem(id, true);\n }\n\n onLinkClick === null || onLinkClick === void 0 ? void 0 : onLinkClick(e);\n }\n }));\n }))));\n});\nexport { DashboardChecklistCardContent };","import _Popconfirm from \"antd/es/popconfirm\";\nimport { observer } from \"mobx-react\";\nimport { _i, __ } from \"../../utils\";\nimport { useStores } from \"../../store\";\nimport { useLocation } from \"react-router-dom\";\nconst NoticeRevisionNeedsRetrigger = observer(() => {\n const {\n optionStore\n } = useStores();\n const {\n pathname\n } = useLocation();\n return optionStore.needsRevisionRetrigger && pathname.indexOf(\"/edit/\") === -1 && pathname.indexOf(\"/new\") === -1 && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning inline below-h2 notice-alt\",\n style: {\n margin: \"10px 0 0 0\"\n }\n }, /*#__PURE__*/React.createElement(\"p\", null, __(\"You have changed settings that affect the content or behavior of the cookie banner. You should ask all visitors for their consent again.\"), \" \", \"\\u2022\", \" \", /*#__PURE__*/React.createElement(\"a\", {\n style: {\n cursor: \"pointer\",\n textDecoration: \"underline\"\n },\n onClick: () => optionStore.updateCurrentRevision({\n needs_retrigger: true\n })\n }, __(\"Request new consent\")), \" \", \"\\u2022\", \" \", /*#__PURE__*/React.createElement(_Popconfirm, {\n title: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"strong\", null, __(\"Are you sure you don't want to collect new consents?\")), /*#__PURE__*/React.createElement(\"br\", null), /*#__PURE__*/React.createElement(\"br\", null), _i(__(\"Consent must be obtained in accordance with {{a}}Art. 7 GDPR{{/a}}. Your visitor must be informed about all circumstances of the consent. However, you have made changes to your cookie banner, which lead to the fact that previously visitors have consented differently or to something different than is now in the cookie banner. Therefore, previously collected consents may have become partially invalid.\"), {\n a: /*#__PURE__*/React.createElement(\"a\", {\n href: __(\"https://gdpr-info.eu/art-7-gdpr/\"),\n rel: \"noreferrer\",\n target: \"_blank\"\n })\n }), /*#__PURE__*/React.createElement(\"br\", null), /*#__PURE__*/React.createElement(\"br\", null), __(\"If you have created a new service like Google Analytics (without visual content blocker), previous visitors can never consent without collecting new consents and you cannot track them, for example.\")),\n placement: \"bottomRight\",\n onConfirm: () => optionStore.updateCurrentRevision({\n needs_retrigger: false\n }),\n okText: __(\"Dismiss notice\"),\n cancelText: __(\"Cancel\"),\n overlayStyle: {\n maxWidth: 450\n }\n }, /*#__PURE__*/React.createElement(\"a\", {\n style: {\n cursor: \"pointer\",\n textDecoration: \"underline\"\n }\n }, __(\"Dismiss notice\")))));\n});\nexport { NoticeRevisionNeedsRetrigger };","import { observer } from \"mobx-react\";\nimport { __ } from \"../../utils\";\nimport { useStores } from \"../../store\";\nconst NoticeBannerActiveNoCookies = observer(() => {\n const {\n optionStore: {\n publicCookieCount,\n busySettings,\n bannerActive\n }\n } = useStores();\n return bannerActive && !publicCookieCount && !busySettings && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning inline below-h2 notice-alt\",\n style: {\n margin: \"10px 0 0 0\"\n }\n }, /*#__PURE__*/React.createElement(\"p\", null, __(\"The cookie banner is activated, but unfortunately you have not yet created or enabled services.\")));\n});\nexport { NoticeBannerActiveNoCookies };","import { observer } from \"mobx-react\";\nimport { getOtherOptionsFromWindow, _i, __ } from \"../../utils\";\nconst NoticeAnonymousScriptNotWritable = observer(() => {\n const {\n showNoticeAnonymousScriptNotWritable\n } = getOtherOptionsFromWindow();\n return !!showNoticeAnonymousScriptNotWritable && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning inline below-h2 notice-alt\",\n style: {\n margin: \"10px 0 0 0\"\n }\n }, /*#__PURE__*/React.createElement(\"p\", null, _i(__(\"Your {{code}}wp-content{{/code}} folder is not writable. Please check your permissions!\"), {\n code: /*#__PURE__*/React.createElement(\"code\", null)\n })));\n});\nexport { NoticeAnonymousScriptNotWritable };","import { observer } from \"mobx-react\";\nimport { __, _i } from \"../../utils\";\nimport { useStores } from \"../../store\";\nimport { useLocation } from \"react-router-dom\";\nimport { getManagerDependingVariables } from \"@devowl-wp/cookie-consent-web-client\";\nconst NoticeNoManager = observer(() => {\n const {\n optionStore: {\n setCookiesViaManager,\n hasManager\n }\n } = useStores();\n const {\n managerLabel,\n expectedManagerPresetId\n } = getManagerDependingVariables(setCookiesViaManager);\n const {\n pathname\n } = useLocation();\n return managerLabel && !hasManager && /^\\/cookies\\/\\d+$/.test(pathname) && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning inline below-h2 notice-alt\",\n style: {\n margin: \"10px 0 0 0\"\n }\n }, /*#__PURE__*/React.createElement(\"p\", null, _i(__(\"You have not yet defined a %s service. To use {{strong}}%s{{/strong}} with Real Cookie Banner, you must create the appropriate service.\", managerLabel, managerLabel), {\n strong: /*#__PURE__*/React.createElement(\"strong\", null)\n }), \" \", \"\\u2022 \", /*#__PURE__*/React.createElement(\"a\", {\n href: \"#\".concat(pathname, \"/new?force=\").concat(expectedManagerPresetId)\n }, __(\"Create now\"))));\n});\nexport { NoticeNoManager };","import { useEffect } from \"react\";\nimport { useHistory } from \"react-router-dom\";\nimport { scrollTo } from \"../utils\";\n/**\n * @see https://stackoverflow.com/a/54343182/5506547\n */\n\nconst RouterScrollToTop = () => {\n const {\n listen\n } = useHistory();\n useEffect(() => {\n const destroy = listen(() => {\n scrollTo(0);\n });\n return () => {\n destroy();\n };\n }, [listen]);\n return null;\n};\n\nexport { RouterScrollToTop };","import _Popconfirm from \"antd/es/popconfirm\";\nimport { useCallback } from \"react\";\nimport { observer } from \"mobx-react\";\nimport { InfoCircleOutlined } from \"@ant-design/icons\";\nimport { useStores } from \"../store\";\nimport { __ } from \"../utils\";\nconst ProHeadlineButton = observer(() => {\n const {\n optionStore\n } = useStores();\n const {\n others: {\n proUrl,\n isPro,\n isConfigProNoticeVisible\n }\n } = optionStore;\n const href = \"\".concat(proUrl, \"&feature=main-button\");\n const handleConfirm = useCallback(() => {\n window.open(href, \"_blank\");\n optionStore.dismissConfigProNotice();\n }, [optionStore]);\n const handleClose = useCallback(() => {\n optionStore.dismissConfigProNotice();\n }, [optionStore]);\n return !isPro && /*#__PURE__*/React.createElement(_Popconfirm, {\n visible: !!isConfigProNoticeVisible,\n title: __(\"Thank you for using the free version of Real Cookie Banner. You might also be interested in the PRO version, which offers you more features, 20+ design templates, 100+ service templates, 60+ content blocker templates and much more.\"),\n icon: /*#__PURE__*/React.createElement(InfoCircleOutlined, {\n style: {\n color: \"#1890ff\"\n }\n }),\n placement: \"bottom\",\n onConfirm: handleConfirm,\n onCancel: handleClose,\n cancelText: __(\"No, not interested...\"),\n okText: __(\"I want to learn more!\"),\n overlayStyle: {\n maxWidth: 450\n }\n }, /*#__PURE__*/React.createElement(\"a\", {\n className: \"page-title-action\",\n rel: \"noreferrer\",\n onClick: handleConfirm\n }, __(\"Get PRO version\")));\n});\nexport { ProHeadlineButton };","import _Modal from \"antd/es/modal\";\nimport { CheckCircleOutlined } from \"@ant-design/icons\";\nimport { observer } from \"mobx-react\";\nimport { useCallback, useState, useEffect } from \"react\";\nimport { useLocation } from \"react-router-dom\";\nimport { ProHeadlineButton, DashboardChecklistCardContent } from \"..\";\nimport { useStores } from \"../../store\";\nimport { __ } from \"../../utils\";\nconst ConfigHeader = observer(() => {\n const [isChecklistModalOpen, setChecklistModalOpen] = useState(false);\n const {\n optionStore,\n checklistStore\n } = useStores();\n const {\n pathname\n } = useLocation();\n const {\n others: {\n customizeBannerUrl\n },\n publicUrl\n } = optionStore;\n const {\n completed,\n checkable,\n done\n } = checklistStore;\n useEffect(() => {\n checklistStore.fetchChecklist();\n }, []);\n const handleCustomizeBannerButtonClick = useCallback(e => {\n window.location.href = \"\".concat(customizeBannerUrl, \"&return=\").concat(encodeURIComponent(window.location.href));\n e.preventDefault();\n }, []);\n const handleChecklistModalOpen = useCallback(() => {\n setChecklistModalOpen(true);\n checklistStore.fetchChecklist();\n }, [setChecklistModalOpen]);\n const handleChecklistModalClose = useCallback(() => {\n setChecklistModalOpen(false);\n }, [setChecklistModalOpen]);\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"h1\", {\n className: \"wp-heading-inline\"\n }, __(\"Real Cookie Banner\")), /*#__PURE__*/React.createElement(\"img\", {\n className: \"rcb-nav-logo\",\n src: \"\".concat(publicUrl, \"images/logos/real-cookie-banner.svg\")\n }), /*#__PURE__*/React.createElement(\"a\", {\n className: \"page-title-action\",\n href: \"#\",\n onClick: handleCustomizeBannerButtonClick\n }, __(\"Customize banner\")), /*#__PURE__*/React.createElement(ProHeadlineButton, null), !done && pathname !== \"/\" && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"a\", {\n className: \"page-title-action\",\n style: {\n color: \"#52c41a\",\n background: \"#f6ffed\",\n borderColor: \"#85af65\"\n },\n onClick: handleChecklistModalOpen\n }, /*#__PURE__*/React.createElement(CheckCircleOutlined, null), \"\\xA0\", __(\"%d / %d steps completed\", completed.length > checkable.length ? checkable.length : completed.length, // avoid overflow due infos\n checkable.length)), /*#__PURE__*/React.createElement(_Modal, {\n visible: isChecklistModalOpen,\n title: __(\"Set up the cookie banner\"),\n onCancel: handleChecklistModalClose,\n okButtonProps: {\n style: {\n display: \"none\"\n }\n },\n cancelText: __(\"Close\"),\n width: 800\n }, /*#__PURE__*/React.createElement(DashboardChecklistCardContent, {\n showHidden: true,\n onLinkClick: handleChecklistModalClose\n }))), /*#__PURE__*/React.createElement(\"hr\", {\n className: \"wp-header-end\"\n }));\n});\nexport { ConfigHeader };","import { observer } from \"mobx-react\";\nimport { useStores } from \"../../store\";\nimport { HeartFilled } from \"@ant-design/icons\";\nimport { _i, __ } from \"../../utils\";\nconst ConfigFooter = observer(() => {\n const {\n optionStore: {\n publicUrl\n }\n } = useStores();\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"rcb-config-footer\"\n }, _i(__(\"Real Cookie Banner is brought to you with {{icon/}} by\"), {\n icon: /*#__PURE__*/React.createElement(HeartFilled, {\n style: {\n color: \"#dca7a7\"\n }\n })\n }), /*#__PURE__*/React.createElement(\"a\", {\n href: __(\"https://devowl.io/\"),\n target: \"_blank\",\n rel: \"noreferrer\"\n }, /*#__PURE__*/React.createElement(\"img\", {\n src: \"\".concat(publicUrl, \"images/logos/devowl-with-text.svg\")\n })));\n});\nexport { ConfigFooter };","import _Badge from \"antd/es/badge\";\nimport _Spin from \"antd/es/spin\";\nimport { useEffect } from \"react\";\nimport { lazy, Suspense } from \"react\";\nimport { useLayoutEffect } from \"react\";\nimport { observer } from \"mobx-react\";\nimport { HashRouter as Router, Switch, Route, NavLink } from \"react-router-dom\";\nimport { __ } from \"../utils\";\nimport { useStores } from \"../store\";\nimport { NoticeRevisionNeedsRetrigger, NoticeBannerActiveNoCookies, NoticeAnonymousScriptNotWritable, NoticeNoManager, RouterScrollToTop } from \".\";\nimport { ConfigHeader, ConfigFooter } from \".\";\nimport { SuspenseChunkTranslation } from \"@devowl-wp/utils\";\nimport { useScannerProgress } from \"../hooks\";\nimport { JOB_DONE_EVENT_PREFIX } from \"@devowl-wp/real-queue\";\nimport { AUTOMATIC_SCAN_STATER_QUEUE_JOB } from \"../types\";\nconst CSS_SPINNER_IN_CONTENT = {\n display: \"block\",\n marginTop: 10\n}; // Lazy load components\n\nconst createSuspenseComponent = (tab, children) => ({\n // eslint-disable-next-line react/display-name\n default: () => /*#__PURE__*/React.createElement(SuspenseChunkTranslation, {\n chunkFile: __webpack_get_script_filename__(\"chunk-config-tab-\".concat(tab)),\n options: () => useStores().optionStore,\n fallback: /*#__PURE__*/React.createElement(_Spin, {\n spinning: true,\n style: CSS_SPINNER_IN_CONTENT\n })\n }, children)\n});\n\nconst DashboardCards = /*#__PURE__*/lazy(() => import(\n/* webpackChunkName: \"chunk-config-tab-dashboard\" */\n\"./config/dashboard/cards\").then(({\n DashboardCards\n}) => createSuspenseComponent(\"dashboard\", /*#__PURE__*/React.createElement(DashboardCards, null))));\nconst SettingsForm = /*#__PURE__*/lazy(() => import(\n/* webpackChunkName: \"chunk-config-tab-settings\" */\n\"./config/settings/form\").then(({\n SettingsForm\n}) => createSuspenseComponent(\"settings\", /*#__PURE__*/React.createElement(SettingsForm, null))));\nconst ScannerRouter = /*#__PURE__*/lazy(() => import(\n/* webpackChunkName: \"chunk-config-tab-scanner\" */\n\"./config/scanner/router\").then(({\n ScannerRouter\n}) => createSuspenseComponent(\"scanner\", /*#__PURE__*/React.createElement(ScannerRouter, null))));\nconst CookieGroupsTabRouter = /*#__PURE__*/lazy(() => import(\n/* webpackChunkName: \"chunk-config-tab-cookies\" */\n\"./config/cookies/groups/tabRouter\").then(({\n CookieGroupsTabRouter\n}) => createSuspenseComponent(\"cookies\", /*#__PURE__*/React.createElement(CookieGroupsTabRouter, null))));\nconst ConsentTabRouter = /*#__PURE__*/lazy(() => import(\n/* webpackChunkName: \"chunk-config-tab-consent\" */\n\"./config/consent/tabRouter\").then(({\n ConsentTabRouter\n}) => createSuspenseComponent(\"consent\", /*#__PURE__*/React.createElement(ConsentTabRouter, null))));\nconst BlockerRouter = /*#__PURE__*/lazy(() => import(\n/* webpackChunkName: \"chunk-config-tab-blocker\" */\n\"./config/blocker/router\").then(({\n BlockerRouter\n}) => createSuspenseComponent(\"blocker\", /*#__PURE__*/React.createElement(BlockerRouter, null))));\nconst ImportExportCards = /*#__PURE__*/lazy(() => import(\n/* webpackChunkName: \"chunk-config-tab-import\" */\n\"./config/import/cards\").then(({\n ImportExportCards\n}) => createSuspenseComponent(\"import\", /*#__PURE__*/React.createElement(ImportExportCards, null))));\nconst ConfigLicensing = /*#__PURE__*/lazy(() => import(\n/* webpackChunkName: \"chunk-config-tab-licensing\" */\n\"./config/licensing/licensing\").then(({\n ConfigLicensing\n}) => createSuspenseComponent(\"licensing\", /*#__PURE__*/React.createElement(ConfigLicensing, null))));\nconst ConfigApp = observer(() => {\n const {\n percent: scanPercent,\n remaining: scanRemaining,\n currentJob\n } = useScannerProgress();\n const {\n optionStore,\n checklistStore\n } = useStores();\n const {\n others: {\n showLicenseFormImmediate,\n colorScheme: [,, badgeColor]\n }\n } = optionStore; // Initially fetch settings here so the form is shown\n\n useLayoutEffect(() => {\n optionStore.fetchSettings(); // Listen to the automatic scan starter and update the checklist\n\n const listener = () =>\n /*_: CustomEvent<JobDoneEvent>*/\n {\n checklistStore.fetchChecklist();\n };\n\n const event = \"\".concat(JOB_DONE_EVENT_PREFIX).concat(AUTOMATIC_SCAN_STATER_QUEUE_JOB);\n document.addEventListener(event, listener);\n return () => {\n document.removeEventListener(event, listener);\n };\n }, []); // Automatically show the notice which indicates empty privacy policy services\n\n useEffect(() => {\n const notice = document.getElementById(\"rcb-services-with-empty-privacy-policy-notice\");\n\n if (!showLicenseFormImmediate && notice) {\n notice.style.display = \"block\";\n }\n }, [showLicenseFormImmediate]);\n return showLicenseFormImmediate ? /*#__PURE__*/React.createElement(Suspense, {\n fallback: /*#__PURE__*/React.createElement(_Spin, {\n spinning: true,\n style: CSS_SPINNER_IN_CONTENT\n })\n }, /*#__PURE__*/React.createElement(ConfigLicensing, null)) : /*#__PURE__*/React.createElement(Router, null, /*#__PURE__*/React.createElement(ConfigHeader, null), /*#__PURE__*/React.createElement(\"nav\", {\n className: \"nav-tab-wrapper wp-clearfix\"\n }, /*#__PURE__*/React.createElement(NavLink, {\n to: \"/\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\",\n exact: true\n }, __(\"Dashboard\")), /*#__PURE__*/React.createElement(NavLink, {\n to: \"/settings\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, __(\"Settings\")), /*#__PURE__*/React.createElement(NavLink, {\n to: \"/scanner\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, scanRemaining > 0 && scanPercent > 0 && (currentJob === null || currentJob === void 0 ? void 0 : currentJob.group_position) > 0 ? /*#__PURE__*/React.createElement(_Badge, {\n count: \"\".concat(scanPercent, \" %\"),\n style: {\n top: -11,\n fontSize: 10,\n height: 16,\n lineHeight: \"16px\",\n background: badgeColor\n }\n }, __(\"Scanner\")) : __(\"Scanner\")), /*#__PURE__*/React.createElement(NavLink, {\n to: \"/cookies\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, __(\"Services (Cookies)\")), /*#__PURE__*/React.createElement(NavLink, {\n to: \"/blocker\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, __(\"Content Blocker\")), /*#__PURE__*/React.createElement(NavLink, {\n to: \"/consent\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, __(\"Consent\")), /*#__PURE__*/React.createElement(NavLink, {\n to: \"/import\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, __(\"Import / Export\")), window.location.host !== \"try.devowl.io\" && /*#__PURE__*/React.createElement(NavLink, {\n to: \"/licensing\",\n className: \"nav-tab\",\n activeClassName: \"nav-tab-active\"\n }, __(\"Licensing\")), /*#__PURE__*/React.createElement(\"a\", {\n href: __(\"https://devowl.io/support/\"),\n className: \"nav-tab\",\n target: \"_blank\",\n rel: \"noreferrer\"\n }, __(\"Support\"))), /*#__PURE__*/React.createElement(NoticeRevisionNeedsRetrigger, null), /*#__PURE__*/React.createElement(NoticeBannerActiveNoCookies, null), /*#__PURE__*/React.createElement(NoticeAnonymousScriptNotWritable, null), /*#__PURE__*/React.createElement(NoticeNoManager, null), /*#__PURE__*/React.createElement(RouterScrollToTop, null), /*#__PURE__*/React.createElement(Suspense, {\n fallback: /*#__PURE__*/React.createElement(_Spin, {\n spinning: true,\n style: CSS_SPINNER_IN_CONTENT\n })\n }, /*#__PURE__*/React.createElement(Switch, null, /*#__PURE__*/React.createElement(Route, {\n path: \"/\",\n exact: true\n }, /*#__PURE__*/React.createElement(DashboardCards, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/settings/:tab?\"\n }, !optionStore.areSettingsFetched ? null : /*#__PURE__*/React.createElement(SettingsForm, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/scanner\"\n }, /*#__PURE__*/React.createElement(ScannerRouter, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/cookies/:cookieGroup?\"\n }, /*#__PURE__*/React.createElement(CookieGroupsTabRouter, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/consent/:tab?\"\n }, /*#__PURE__*/React.createElement(ConsentTabRouter, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/blocker\"\n }, /*#__PURE__*/React.createElement(BlockerRouter, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/import\"\n }, /*#__PURE__*/React.createElement(ImportExportCards, null)), /*#__PURE__*/React.createElement(Route, {\n path: \"/licensing\"\n }, /*#__PURE__*/React.createElement(ConfigLicensing, null)))), /*#__PURE__*/React.createElement(ConfigFooter, null));\n});\nexport { ConfigApp, createSuspenseComponent };","import _Alert from \"antd/es/alert\";\nimport _Tag from \"antd/es/tag\";\nimport _message from \"antd/es/message\";\nimport { observer } from \"mobx-react\";\nimport { useCallback, useState, useEffect } from \"react\";\nimport { useStores } from \"../store\";\nimport { _i, __, copyToClipboard } from \"../utils\";\nconst IN_APP_FOMO_URL_PARAMETER_TO_DEACTIVATE_WEBSITE_FOMO = \"promo=in-app\";\nconst InAppFomoCouponCounter = observer(({\n style\n}) => {\n const {\n optionStore: {\n fomoCoupon\n }\n } = useStores();\n const coupon = fomoCoupon === null || fomoCoupon === void 0 ? void 0 : fomoCoupon.coupon;\n const valueInPercent = fomoCoupon === null || fomoCoupon === void 0 ? void 0 : fomoCoupon.valueInPercent;\n const validUntil = fomoCoupon === null || fomoCoupon === void 0 ? void 0 : fomoCoupon.validUntil;\n const createTimerString = useCallback(() => {\n if (validUntil) {\n const remaining = new Date(validUntil).getTime() - new Date().getTime(); // Already expired?\n\n if (remaining <= 0) {\n return undefined;\n }\n\n const fullSeconds = remaining / 1000;\n return [Math.floor(fullSeconds / 3600), Math.floor(fullSeconds / 60) % 60, Math.floor(fullSeconds % 60)].map(v => v < 10 ? \"0\".concat(v) : v).filter((v, i) => v !== \"00\" || i > 0).join(\":\");\n } else {\n return undefined;\n }\n }, [validUntil]);\n const [, setRerender] = useState();\n useEffect(() => {\n const interval = setInterval(() => {\n setRerender(new Date().getTime());\n }, 1000);\n return () => {\n clearInterval(interval);\n };\n }, []);\n const timerString = createTimerString();\n return timerString ? /*#__PURE__*/React.createElement(_Alert, {\n style: style,\n message: _i(__(\"Use coupon {{tag}}%s{{/tag}} in the next {{strongHours}}%s hours{{/strongHours}} and save {{strongPercent}}%d %%{{/strongPercent}} in the first year!\", coupon, timerString, valueInPercent), {\n tag: /*#__PURE__*/React.createElement(_Tag, {\n color: \"success\",\n style: {\n marginRight: 0,\n cursor: \"pointer\"\n },\n onClick: () => {\n copyToClipboard(coupon);\n\n _message.success(__(\"Successfully copied coupon to clipboard!\"));\n }\n }),\n strongHours: /*#__PURE__*/React.createElement(\"strong\", {\n style: {\n color: \"#d33131\"\n }\n }),\n strongPercent: /*#__PURE__*/React.createElement(\"strong\", null)\n })\n }) : null;\n});\nexport { IN_APP_FOMO_URL_PARAMETER_TO_DEACTIVATE_WEBSITE_FOMO, InAppFomoCouponCounter };","import _Modal from \"antd/es/modal\";\nimport { useState } from \"react\";\nimport { useEffect } from \"react\";\nimport { useCallback } from \"react\";\nimport { UnlockFilled } from \"@ant-design/icons\";\nimport { __, getOtherOptionsFromWindow, _i } from \"../utils\";\nimport { ProModalHint, InAppFomoCouponCounter, IN_APP_FOMO_URL_PARAMETER_TO_DEACTIVATE_WEBSITE_FOMO } from \".\";\nimport { reactNl2Br } from \"@devowl-wp/react-cookie-banner\";\n\nconst ProModal = ({\n visible = false,\n showHints = true,\n showFomoCouponCounter = true,\n title,\n testDrive = false,\n assetName,\n description,\n feature,\n onClose,\n inContainer,\n inContainerElement\n}) => {\n const {\n proUrl,\n hints\n } = getOtherOptionsFromWindow();\n const [descriptionRef, setDescriptionRef] = useState();\n const handleRedirect = useCallback(() => {\n window.open(\"\".concat(proUrl, \"&feature=\").concat(feature, \"&\").concat(IN_APP_FOMO_URL_PARAMETER_TO_DEACTIVATE_WEBSITE_FOMO), \"_blank\").focus();\n onClose === null || onClose === void 0 ? void 0 : onClose();\n }, [onClose]); // Do not automatically scroll / focus the container if `inContainer` is set\n\n useEffect(() => {\n if (inContainer && descriptionRef) {\n (descriptionRef === null || descriptionRef === void 0 ? void 0 : descriptionRef.parentElement.parentElement.previousElementSibling).removeAttribute(\"tabIndex\");\n }\n }, [descriptionRef]);\n const hint = hints === null || hints === void 0 ? void 0 : hints.proDialog; // Do not output the model until the container is ready\n\n if (inContainer && !inContainerElement) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(_Modal, {\n visible: inContainer ? true : visible,\n title: /*#__PURE__*/React.createElement(\"span\", null, /*#__PURE__*/React.createElement(UnlockFilled, null), \"\\xA0\", title, \"\\xA0\", __(\"Get PRO!\")),\n onOk: handleRedirect,\n onCancel: onClose,\n cancelText: __(\"No, not interested...\"),\n okText: __(\"I want to learn more!\"),\n className: \"rcb-pro-modal\",\n width: assetName ? 800 : 700,\n getContainer: inContainer ? inContainerElement : undefined\n }, !!assetName && /*#__PURE__*/React.createElement(\"img\", {\n style: {\n marginTop: 10\n },\n src: \"https://assets.devowl.io/in-app/wp-real-cookie-banner/\".concat(assetName)\n }), /*#__PURE__*/React.createElement(\"div\", {\n style: {\n maxWidth: 600,\n margin: \"auto\"\n },\n ref: setDescriptionRef\n }, /*#__PURE__*/React.createElement(\"p\", null, reactNl2Br(description)), testDrive && /*#__PURE__*/React.createElement(\"p\", null, _i(__(\"Check out this feature with a {{a}}free sandbox{{/a}} before buying!\"), {\n a: /*#__PURE__*/React.createElement(\"a\", {\n href: __(\"https://try.devowl.io/?product=RCB\"),\n target: \"_blank\",\n rel: \"noreferrer\"\n })\n }))), !!hint && showHints && /*#__PURE__*/React.createElement(\"div\", {\n style: {\n maxWidth: 600,\n margin: \"auto\",\n textAlign: \"left\"\n }\n }, /*#__PURE__*/React.createElement(ProModalHint, hint)), showFomoCouponCounter && /*#__PURE__*/React.createElement(InAppFomoCouponCounter, {\n style: {\n marginBottom: 15\n }\n }));\n};\n\nexport { ProModal };","import _Row from \"antd/es/row\";\nimport _Col from \"antd/es/col\";\nimport _Divider from \"antd/es/divider\";\n\nconst ProModalHint = ({\n title,\n description,\n link,\n linkText,\n logo\n}) => {\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Divider, null, title), /*#__PURE__*/React.createElement(_Row, {\n wrap: false,\n style: {\n marginBottom: 10\n }\n }, /*#__PURE__*/React.createElement(_Col, {\n flex: \"auto\"\n }, !!description && /*#__PURE__*/React.createElement(\"p\", {\n style: {\n margin: 0\n }\n }, /*#__PURE__*/React.createElement(\"span\", {\n dangerouslySetInnerHTML: {\n __html: description\n }\n }), \"\\xA0\", !!link && !!linkText && /*#__PURE__*/React.createElement(\"a\", {\n href: link,\n target: \"_blank\",\n rel: \"noreferrer\",\n className: \"button-link\"\n }, linkText))), /*#__PURE__*/React.createElement(_Col, {\n flex: \"150px\",\n style: {\n alignSelf: \"center\"\n }\n }, !!logo && /*#__PURE__*/React.createElement(\"img\", {\n src: logo,\n style: {\n maxWidth: \"calc(100% - 20px)\",\n height: \"auto\",\n marginLeft: 20\n }\n }))));\n};\n\nexport { ProModalHint };","import _extends from \"@babel/runtime/helpers/extends\";\nimport _Tag from \"antd/es/tag\";\nimport { UnlockOutlined } from \"@ant-design/icons\";\nimport { __ } from \"../utils\";\nimport { useStores } from \"../store\";\nimport { useCallback, useMemo, useState } from \"react\";\nimport { ProModal } from \"../components\";\nconst PRO_TAG_BACKGROUND_COLOR = \"#2db7f5\";\n/**\n * Provide a PRO modal when clicking a given button.\n *\n * @param overrideIsPro Allows to override the `isPro` attribute coming from the option store (e. g. for demo environment purposes, try.devowl.io)\n */\n\nfunction useProModal(feature, overrideIsPro) {\n const [visible, setVisible] = useState(false);\n const {\n optionStore: {\n others: {\n isPro\n }\n }\n } = useStores();\n const useIsPro = typeof overrideIsPro === \"boolean\" ? overrideIsPro : isPro;\n const open = useCallback(e => {\n setVisible(true);\n e === null || e === void 0 ? void 0 : e.preventDefault();\n }, [setVisible]);\n const tag = useMemo(() => useIsPro ? null : /*#__PURE__*/React.createElement(_Tag, {\n icon: /*#__PURE__*/React.createElement(UnlockOutlined, null),\n color: PRO_TAG_BACKGROUND_COLOR,\n style: {\n cursor: \"pointer\"\n },\n onClick: open\n }, feature.tagText || __(\"Unlock feature\")), [open, feature]);\n const modal = useMemo(() => useIsPro ? null : /*#__PURE__*/React.createElement(ProModal, _extends({\n visible: visible,\n onClose: () => setVisible(false)\n }, feature)), [visible, setVisible, feature]);\n return {\n isPro: useIsPro,\n tag,\n modal,\n open\n };\n}\n\nexport { useProModal, PRO_TAG_BACKGROUND_COLOR };","import { useProgress } from \"@devowl-wp/real-queue\";\nimport { useCallback } from \"react\";\nimport { useStores } from \"../store\";\nimport { SCAN_QUEUE_JOB } from \"../types\";\n\n/**\n * Returns the status / progress of the scanner.\n */\nfunction useScannerProgress(fetchStatusInterval, fetchAdditionalData = false, onCancel) {\n const {\n scannerStore\n } = useStores();\n return useProgress({\n type: SCAN_QUEUE_JOB,\n fetchStatusInterval,\n fetchAdditionalData,\n onAdditionalData: useCallback(({\n \"rcb-scan-list\": rcbScanList\n }) => {\n const {\n presets,\n externalUrls\n } = rcbScanList;\n scannerStore.resultPresetsFromResponse(presets);\n scannerStore.resultExternalUrlsFromResponse(externalUrls);\n }, [scannerStore]),\n onCancel\n });\n}\n\nexport { useScannerProgress };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n\nimport { observable, set, runInAction } from \"mobx\";\nimport { getSidebarCustomize } from \"@devowl-wp/customize\";\nlet BannerPreset = (_class = class BannerPreset {\n /**\n * When hover the preview card we need to save the available settings.\n */\n constructor(preset, store) {\n _initializerDefineProperty(this, \"id\", _descriptor, this);\n\n _initializerDefineProperty(this, \"name\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"needsPro\", _descriptor3, this);\n\n _initializerDefineProperty(this, \"description\", _descriptor4, this);\n\n _initializerDefineProperty(this, \"tags\", _descriptor5, this);\n\n _initializerDefineProperty(this, \"settings\", _descriptor6, this);\n\n this.store = void 0;\n this.resetPreviewInUiSettings = void 0;\n runInAction(() => set(this, preset));\n this.store = store;\n }\n\n static getIframeStore() {\n try {\n return document.querySelector(\"#customize-preview > iframe\").contentWindow.realCookieBanner_customize_banner.RootStore.get;\n } catch (e) {\n // Element does not yet exist\n return undefined;\n }\n }\n\n applyInUi() {\n // Check if pro\n if (!this.store.rootStore.optionStore.others.isPro && this.needsPro) {\n return false;\n } // First, save all in our store so the paint is done correctly\n\n\n this.previewInUi(); // Afterwards, save in customize state\n\n setTimeout(() => {\n const customize = getSidebarCustomize();\n this.store.presetDefaults.forEach((defaultValue, key) => {\n const setting = customize(key); // Apply it\n\n setting.set(this.settings[key] === undefined ? defaultValue : this.settings[key]);\n });\n }, 100);\n return true;\n }\n\n previewInUi() {\n const customize = getSidebarCustomize();\n const {\n presetDefaults\n } = this.store;\n const {\n settings\n } = this.store.rootStore.optionStore.others.customizeIdsBanner;\n const batchUpdates = []; // Make it restorable\n\n this.resetPreviewInUiSettings = {};\n\n for (const section of Object.keys(settings)) {\n const sectionSettings = settings[section];\n\n for (const setting of Object.keys(sectionSettings)) {\n const customizeKey = sectionSettings[setting];\n\n if (!presetDefaults.has(customizeKey)) {\n continue;\n }\n\n this.resetPreviewInUiSettings[customizeKey] = [section, setting, customize(customizeKey).get()];\n const newValue = Object.prototype.hasOwnProperty.call(this.settings, customizeKey) ? this.settings[customizeKey] : presetDefaults.get(customizeKey);\n batchUpdates.push([section, setting, newValue]);\n }\n }\n\n BannerPreset.getIframeStore().customizeBannerStore.setBannerFromPreset(batchUpdates);\n }\n\n resetPreviewInUi() {\n if (this.resetPreviewInUiSettings) {\n BannerPreset.getIframeStore().customizeBannerStore.setBannerFromPreset(Object.values(this.resetPreviewInUiSettings));\n this.resetPreviewInUiSettings = {};\n }\n }\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"id\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"name\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"needsPro\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"description\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"tags\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"settings\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n})), _class);\nexport { BannerPreset };","var _dec, _class;\n\nimport { ClientCollection, RouteHttpVerb, AbstractPostCollection } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { BlockerModel } from \".\";\nlet BlockerCollection = (_dec = ClientCollection.annotate({\n path: \"/rcb-blocker\",\n singlePath: \"/rcb-blocker/:id\",\n namespace: \"wp/v2\",\n methods: [RouteHttpVerb.GET],\n request\n}), _dec(_class = class BlockerCollection extends AbstractPostCollection {\n constructor(store) {\n super();\n this.store = void 0;\n this.store = store;\n }\n\n instance(response) {\n return new BlockerModel(this).fromResponse(response);\n }\n\n}) || _class);\nexport { BlockerCollection };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _dec, _class, _class2, _descriptor;\n\nimport { ClientModel, AbstractPost } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { BlockerPreset } from \".\";\nimport { action, computed, observable, reaction, runInAction } from \"mobx\";\nimport { RootStore } from \"../store\";\nlet BlockerModel = (_dec = ClientModel.annotate({\n keyId: \"id\",\n namespace: \"wp/v2\",\n request,\n create: {\n path: \"/rcb-blocker\"\n },\n patch: {\n path: \"/rcb-blocker/:id\"\n },\n delete: {\n path: \"/rcb-blocker/:id\"\n }\n}), _dec(_class = (_class2 = class BlockerModel extends AbstractPost {\n get rules() {\n var _this$data;\n\n return (_this$data = this.data) === null || _this$data === void 0 ? void 0 : _this$data.meta.rules.split(\"\\n\");\n }\n\n get tcfVendors() {\n var _this$data2;\n\n // In lite version this can be `null`\n if (!((_this$data2 = this.data) !== null && _this$data2 !== void 0 && _this$data2.meta.tcfVendors)) {\n return [];\n }\n\n return this.data.meta.tcfVendors.split(\",\").filter(Boolean).map(Number);\n }\n\n get services() {\n var _this$data3;\n\n return (_this$data3 = this.data) === null || _this$data3 === void 0 ? void 0 : _this$data3.meta.services.split(\",\").filter(Boolean).map(Number);\n }\n\n constructor(collection, data = {}) {\n super(collection, data);\n\n _initializerDefineProperty(this, \"presetModel\", _descriptor, this);\n\n reaction(() => {\n var _this$data4;\n\n return (_this$data4 = this.data) === null || _this$data4 === void 0 ? void 0 : _this$data4.preset;\n }, preset => runInAction(() => {\n this.presetModel = preset ? new BlockerPreset(preset, RootStore.get.cookieStore) : undefined;\n }), {\n fireImmediately: true\n });\n }\n\n setName(name) {\n this.data.title.rendered = name;\n }\n\n setStatus(status) {\n this.data.status = status;\n }\n\n setDescription(purpose) {\n this.data.content.rendered = purpose;\n }\n\n setMeta(meta) {\n this.data.meta = meta;\n }\n\n transformDataForPatch() {\n const data = super.transformDataForPatch();\n return {\n title: data.title,\n content: data.content,\n status: data.status,\n meta: data.meta,\n slug: data.title\n };\n }\n\n afterPatch() {\n this.collection.store.blockers.store.rootStore.optionStore.fetchCurrentRevision();\n }\n\n afterDelete() {\n this.collection.store.blockers.store.rootStore.optionStore.fetchCurrentRevision();\n }\n\n afterPersist() {\n this.collection.store.blockers.store.rootStore.optionStore.fetchCurrentRevision();\n }\n\n}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, \"presetModel\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class2.prototype, \"rules\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"rules\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"tcfVendors\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"tcfVendors\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"services\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"services\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setName\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setName\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setStatus\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setStatus\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setDescription\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setDescription\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setMeta\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setMeta\"), _class2.prototype)), _class2)) || _class);\nexport { BlockerModel };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3;\n\nimport { observable, runInAction, computed, flow } from \"mobx\";\nimport { locationRestPresetsBlockerAttributesGet } from \"../wp-api\";\nimport { request } from \"../utils\";\nlet BlockerPreset = (_class = class BlockerPreset {\n get fullLogoUrl() {\n const {\n logoFile\n } = this.data;\n const {\n publicUrl\n } = this.store.rootStore.optionStore;\n return logoFile.startsWith(\"http\") ? logoFile : \"\".concat(publicUrl, \"images/logos/\").concat(logoFile);\n }\n\n constructor(preset, store) {\n _initializerDefineProperty(this, \"busy\", _descriptor, this);\n\n _initializerDefineProperty(this, \"data\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"attributes\", _descriptor3, this);\n\n this.store = void 0;\n this.fetchAttributes = flow(function* () {\n try {\n this.busy = true;\n const response = yield request({\n location: locationRestPresetsBlockerAttributesGet,\n params: {\n identifier: this.data.identifier\n }\n });\n this.attributes = response;\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busy = false;\n }\n });\n runInAction(() => {\n this.data = preset;\n });\n this.store = store;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"attributes\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"fullLogoUrl\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"fullLogoUrl\"), _class.prototype)), _class);\nexport { BlockerPreset };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29;\n\nimport { observable, set, runInAction, computed } from \"mobx\";\nlet Consent = (_class = class Consent {\n get revision() {\n return this.store.revisions.get(this.revision_hash);\n }\n\n get revision_independent() {\n return this.store.revisionsIndependent.get(this.revision_independent_hash);\n }\n\n get custom_bypass_readable() {\n const {\n custom_bypass\n } = this;\n return custom_bypass ? custom_bypass.charAt(0).toUpperCase() + custom_bypass.slice(1) : \"\";\n }\n\n /**\n * Prepare the entry for JSON export.\n */\n get export() {\n return JSON.parse(JSON.stringify({ ...this.plain,\n revision: this.revision.data,\n revision_independent: this.revision_independent.data\n }));\n }\n\n constructor(consent, store) {\n _initializerDefineProperty(this, \"id\", _descriptor, this);\n\n _initializerDefineProperty(this, \"plugin_version\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"design_version\", _descriptor3, this);\n\n _initializerDefineProperty(this, \"ipv4\", _descriptor4, this);\n\n _initializerDefineProperty(this, \"ipv6\", _descriptor5, this);\n\n _initializerDefineProperty(this, \"ipv4_hash\", _descriptor6, this);\n\n _initializerDefineProperty(this, \"ipv6_hash\", _descriptor7, this);\n\n _initializerDefineProperty(this, \"uuid\", _descriptor8, this);\n\n _initializerDefineProperty(this, \"previous_decision\", _descriptor9, this);\n\n _initializerDefineProperty(this, \"decision\", _descriptor10, this);\n\n _initializerDefineProperty(this, \"decision_labels\", _descriptor11, this);\n\n _initializerDefineProperty(this, \"created\", _descriptor12, this);\n\n _initializerDefineProperty(this, \"blocker\", _descriptor13, this);\n\n _initializerDefineProperty(this, \"blocker_thumbnail\", _descriptor14, this);\n\n _initializerDefineProperty(this, \"dnt\", _descriptor15, this);\n\n _initializerDefineProperty(this, \"custom_bypass\", _descriptor16, this);\n\n _initializerDefineProperty(this, \"user_country\", _descriptor17, this);\n\n _initializerDefineProperty(this, \"revision_hash\", _descriptor18, this);\n\n _initializerDefineProperty(this, \"revision_independent_hash\", _descriptor19, this);\n\n _initializerDefineProperty(this, \"button_clicked\", _descriptor20, this);\n\n _initializerDefineProperty(this, \"context\", _descriptor21, this);\n\n _initializerDefineProperty(this, \"viewport_width\", _descriptor22, this);\n\n _initializerDefineProperty(this, \"viewport_height\", _descriptor23, this);\n\n _initializerDefineProperty(this, \"viewed_page\", _descriptor24, this);\n\n _initializerDefineProperty(this, \"url_imprint\", _descriptor25, this);\n\n _initializerDefineProperty(this, \"url_privacy_policy\", _descriptor26, this);\n\n _initializerDefineProperty(this, \"forwarded\", _descriptor27, this);\n\n _initializerDefineProperty(this, \"forwarded_blocker\", _descriptor28, this);\n\n _initializerDefineProperty(this, \"tcf_string\", _descriptor29, this);\n\n this.store = void 0;\n this.plain = void 0;\n runInAction(() => set(this, consent));\n this.store = store;\n this.plain = consent;\n }\n\n fetchRevisions() {\n return Promise.all([this.store.fetchRevision({\n hash: this.revision_hash\n }), this.store.fetchRevisionIndependent({\n hash: this.revision_independent_hash\n })]);\n }\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"id\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"plugin_version\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"design_version\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"ipv4\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"ipv6\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"ipv4_hash\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"ipv6_hash\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"uuid\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"previous_decision\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"decision\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"decision_labels\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"created\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"blocker\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"blocker_thumbnail\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"dnt\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"custom_bypass\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"user_country\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, \"revision_hash\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor19 = _applyDecoratedDescriptor(_class.prototype, \"revision_independent_hash\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor20 = _applyDecoratedDescriptor(_class.prototype, \"button_clicked\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor21 = _applyDecoratedDescriptor(_class.prototype, \"context\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor22 = _applyDecoratedDescriptor(_class.prototype, \"viewport_width\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor23 = _applyDecoratedDescriptor(_class.prototype, \"viewport_height\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor24 = _applyDecoratedDescriptor(_class.prototype, \"viewed_page\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor25 = _applyDecoratedDescriptor(_class.prototype, \"url_imprint\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor26 = _applyDecoratedDescriptor(_class.prototype, \"url_privacy_policy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor27 = _applyDecoratedDescriptor(_class.prototype, \"forwarded\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor28 = _applyDecoratedDescriptor(_class.prototype, \"forwarded_blocker\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor29 = _applyDecoratedDescriptor(_class.prototype, \"tcf_string\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"revision\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"revision\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"revision_independent\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"revision_independent\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"custom_bypass_readable\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"custom_bypass_readable\"), _class.prototype)), _class);\nexport { Consent };","import _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\n\nvar _dec, _class, _class2;\n\nimport { ClientCollection, RouteHttpVerb, AbstractPostCollection } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { CookieModel } from \".\";\nimport { computed, flow } from \"mobx\";\nimport { locationRestCookiesOrderPut } from \"../wp-api\";\nlet CookieCollection = (_dec = ClientCollection.annotate({\n path: \"/rcb-cookie\",\n singlePath: \"/rcb-cookie/:id\",\n namespace: \"wp/v2\",\n methods: [RouteHttpVerb.GET],\n request\n}), _dec(_class = (_class2 = class CookieCollection extends AbstractPostCollection {\n get sortedCookies() {\n const result = Array.from(this.entries.values());\n result.sort((a, b) => {\n if (a.data.menu_order < b.data.menu_order) {\n return -1;\n } else if (a.data.menu_order > b.data.menu_order) {\n return 1;\n } else {\n // a.menu_order === b.menu_order\n if (a.key < b.key) {\n return 1;\n } else if (a.key > b.key) {\n return -1;\n } else {\n return 0;\n }\n }\n });\n return result;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n constructor(store) {\n super();\n this.store = void 0;\n this.orderCookies = flow(function* (ids) {\n this.busy = true;\n\n try {\n yield request({\n location: locationRestCookiesOrderPut,\n request: {\n ids\n }\n }); // Apply the order to existing cached models instead of fetching again\n\n let i = 0;\n\n for (const id of ids) {\n const cookie = this.entries.get(id);\n cookie.setOrder(i);\n i++;\n }\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busy = false;\n }\n });\n this.store = store;\n }\n\n instance(response) {\n return new CookieModel(this).fromResponse(response);\n }\n\n}, (_applyDecoratedDescriptor(_class2.prototype, \"sortedCookies\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"sortedCookies\"), _class2.prototype)), _class2)) || _class);\nexport { CookieCollection };","import _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\n\nvar _dec, _class, _class2;\n\nimport { ClientCollection, RouteHttpVerb, AbstractCategoryCollection } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { CookieGroupModel } from \".\";\nimport { computed, flow } from \"mobx\";\nimport { locationRestCookieGroupOrderPut } from \"../wp-api\";\nlet CookieGroupCollection = (_dec = ClientCollection.annotate({\n path: \"/rcb-cookie-group\",\n singlePath: \"/rcb-cookie-group/:id\",\n namespace: \"wp/v2\",\n methods: [RouteHttpVerb.GET],\n request\n}), _dec(_class = (_class2 = class CookieGroupCollection extends AbstractCategoryCollection {\n get sortedGroups() {\n const result = Array.from(this.entries.values());\n result.sort((a, b) => {\n if (a.data.meta.order < b.data.meta.order) {\n return -1;\n } else if (a.data.meta.order > b.data.meta.order) {\n return 1;\n } else {\n return 0;\n }\n });\n return result;\n }\n\n constructor(store) {\n super();\n this.store = void 0;\n this.orderCookieGroups = flow(function* (ids) {\n this.busy = true;\n\n try {\n yield request({\n location: locationRestCookieGroupOrderPut,\n request: {\n ids\n }\n }); // Apply the order to existing cached models instead of fetching again\n\n let i = 0;\n\n for (const id of ids) {\n const group = this.entries.get(id);\n group.setOrder(i);\n i++;\n }\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busy = false;\n }\n });\n this.store = store;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n instance(response) {\n return new CookieGroupModel(this).fromResponse(response);\n }\n\n}, (_applyDecoratedDescriptor(_class2.prototype, \"sortedGroups\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"sortedGroups\"), _class2.prototype)), _class2)) || _class);\nexport { CookieGroupCollection };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _dec, _class, _class2, _descriptor, _descriptor2;\n\nimport { ClientModel, AbstractCategory } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { CookieCollection } from \".\";\nimport { action, observable, runInAction, flow, computed } from \"mobx\";\nlet CookieGroupModel = (_dec = ClientModel.annotate({\n keyId: \"id\",\n namespace: \"wp/v2\",\n request,\n create: {\n path: \"/rcb-cookie-group\"\n },\n patch: {\n path: \"/rcb-cookie-group/:id\"\n },\n delete: {\n path: \"/rcb-cookie-group/:id\"\n }\n}), _dec(_class = (_class2 = class CookieGroupModel extends AbstractCategory {\n get cookiesCount() {\n // TODO: this.data.count should return a count also of private cookies\n return this.fetchedAllCookies ? this.cookies.entries.size : this.data.count;\n }\n\n constructor(collection, data = {}) {\n super(collection, data);\n\n _initializerDefineProperty(this, \"cookies\", _descriptor, this);\n\n _initializerDefineProperty(this, \"fetchedAllCookies\", _descriptor2, this);\n\n this.fetchCookies = flow(function* () {\n yield this.cookies.get({\n request: {\n status: [\"draft\", \"publish\", \"private\"]\n },\n params: {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n per_page: 100,\n // Fetch all\n \"rcb-cookie-group\": this.key,\n context: \"edit\"\n }\n });\n this.fetchedAllCookies = true;\n });\n runInAction(() => {\n this.cookies = new CookieCollection(this);\n });\n }\n\n setName(name) {\n this.data.name = name;\n }\n\n setDescription(description) {\n this.data.description = description;\n }\n\n setOrder(order) {\n this.data.meta.order = order;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n afterDelete() {\n this.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n\n afterPatch() {\n this.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n\n afterPersist() {\n this.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n\n}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, \"cookies\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"fetchedAllCookies\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _applyDecoratedDescriptor(_class2.prototype, \"cookiesCount\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"cookiesCount\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setName\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setName\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setDescription\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setDescription\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setOrder\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setOrder\"), _class2.prototype)), _class2)) || _class);\nexport { CookieGroupModel };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _dec, _class, _class2, _descriptor;\n\nimport { ClientModel, AbstractPost } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { CookiePreset } from \".\";\nimport { computed, action, observable, runInAction, reaction } from \"mobx\";\nimport { RootStore } from \"../store\";\nlet CookieModel = (_dec = ClientModel.annotate({\n keyId: \"id\",\n namespace: \"wp/v2\",\n request,\n create: {\n path: \"/rcb-cookie\"\n },\n patch: {\n path: \"/rcb-cookie/:id\"\n },\n delete: {\n path: \"/rcb-cookie/:id\"\n }\n}), _dec(_class = (_class2 = class CookieModel extends AbstractPost {\n get rootStore() {\n return this.collection.store.collection.store.rootStore;\n }\n\n get technicalDefinitions() {\n return JSON.parse(this.data.meta.technicalDefinitions);\n }\n\n get codeDynamics() {\n return JSON.parse(this.data.meta.codeDynamics || \"{}\");\n }\n\n constructor(collection, data = {}) {\n super(collection, data);\n\n _initializerDefineProperty(this, \"presetModel\", _descriptor, this);\n\n this.store = void 0;\n reaction(() => {\n var _this$data;\n\n return (_this$data = this.data) === null || _this$data === void 0 ? void 0 : _this$data.preset;\n }, preset => runInAction(() => {\n this.presetModel = preset ? new CookiePreset(preset, RootStore.get.cookieStore) : undefined;\n }), {\n fireImmediately: true\n });\n }\n\n afterPatch() {\n // Remove this cookie from all other groups\n const groups = this.collection.store.collection;\n const [thisGroup] = this.data[\"rcb-cookie-group\"];\n groups.entries.forEach(group => {\n if (thisGroup !== group.key) {\n group.cookies.entries.delete(this.key);\n } else {\n group.cookies.entries.set(this.key, this);\n }\n });\n this.rootStore.optionStore.fetchCurrentRevision();\n this.rootStore.cookieStore.unassignedCookies.delete(this.key);\n }\n\n setOrder(order) {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n this.data.menu_order = order;\n }\n\n setName(name) {\n this.data.title.rendered = name;\n }\n\n setStatus(status) {\n this.data.status = status;\n }\n\n setPurpose(purpose) {\n this.data.content.rendered = purpose;\n }\n\n setGroup(group) {\n this.data[\"rcb-cookie-group\"] = [group];\n }\n\n setMeta(meta) {\n this.data.meta = meta;\n }\n\n transformDataForPersist() {\n const data = super.transformDataForPersist();\n return { ...data,\n \"rcb-cookie-group\": [this.collection.store.key]\n };\n }\n\n transformDataForPatch() {\n const data = super.transformDataForPatch();\n return {\n title: data.title,\n content: data.content,\n status: data.status,\n meta: data.meta,\n // eslint-disable-next-line @typescript-eslint/naming-convention\n menu_order: data.menu_order,\n \"rcb-cookie-group\": this.data[\"rcb-cookie-group\"],\n // Force to rewrite slug\n slug: data.title\n };\n }\n\n afterDelete() {\n this.collection.store.cookies.store.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n\n afterPersist() {\n const {\n optionStore,\n checklistStore\n } = this.collection.store.cookies.store.collection.store.rootStore;\n optionStore.fetchCurrentRevision();\n checklistStore.probablyFetchByChangedItem(\"add-cookie\");\n }\n\n}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, \"presetModel\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class2.prototype, \"rootStore\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"rootStore\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"technicalDefinitions\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"technicalDefinitions\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"codeDynamics\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"codeDynamics\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"afterPatch\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"afterPatch\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setOrder\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setOrder\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setName\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setName\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setStatus\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setStatus\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setPurpose\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setPurpose\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setGroup\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setGroup\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setMeta\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setMeta\"), _class2.prototype)), _class2)) || _class);\nexport { CookieModel };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3;\n\nimport { observable, runInAction, computed, flow } from \"mobx\";\nimport { locationRestPresetsCookiesAttributesGet } from \"../wp-api\";\nimport { request } from \"../utils\";\nlet CookiePreset = (_class = class CookiePreset {\n get fullLogoUrl() {\n const {\n logoFile\n } = this.data;\n const {\n publicUrl\n } = this.store.rootStore.optionStore;\n return logoFile.startsWith(\"http\") ? logoFile : \"\".concat(publicUrl, \"images/logos/\").concat(logoFile);\n }\n\n constructor(preset, store) {\n _initializerDefineProperty(this, \"busy\", _descriptor, this);\n\n _initializerDefineProperty(this, \"data\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"attributes\", _descriptor3, this);\n\n this.store = void 0;\n this.fetchAttributes = flow(function* () {\n try {\n this.busy = true;\n const response = yield request({\n location: locationRestPresetsCookiesAttributesGet,\n params: {\n identifier: this.data.identifier\n }\n });\n this.attributes = response;\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busy = false;\n }\n });\n runInAction(() => {\n this.data = preset;\n });\n this.store = store;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"attributes\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"fullLogoUrl\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"fullLogoUrl\"), _class.prototype)), _class);\nexport { CookiePreset };","class Revision {\n // @observable: We never make changes\n constructor(preset, store) {\n this.data = void 0;\n this.store = void 0;\n this.data = preset;\n this.store = store;\n }\n\n}\n\nexport { Revision };","class RevisionIndependent {\n // @observable: We never make changes\n constructor(preset, store) {\n this.data = void 0;\n this.store = void 0;\n this.data = preset;\n this.store = store;\n }\n\n}\n\nexport { RevisionIndependent };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2;\n\nimport { computed, flow, observable, runInAction } from \"mobx\";\nimport { locationRestScannerResultExternalPatch } from \"../wp-api\";\nimport { request, __ } from \"../utils\";\nlet ScannerResultExternalUrl = (_class = class ScannerResultExternalUrl {\n get identifier() {\n return this.data.host;\n }\n\n get inactive() {\n return this.blockedStatus === \"full\" || this.data.ignored;\n }\n\n get blockedStatus() {\n const {\n foundCount,\n blockedCount\n } = this.data;\n return blockedCount === 0 ? \"none\" : foundCount === blockedCount ? \"full\" : \"partial\";\n }\n\n get blockedStatusText() {\n switch (this.blockedStatus) {\n case \"full\":\n return __(\"Fully blocked\");\n\n case \"partial\":\n return __(\"Partially blocked\");\n\n default:\n return __(\"Not blocked\");\n }\n }\n\n constructor(externalUrl, store) {\n _initializerDefineProperty(this, \"busy\", _descriptor, this);\n\n _initializerDefineProperty(this, \"data\", _descriptor2, this);\n\n this.store = void 0;\n this.ignore = flow(function* (state = true) {\n try {\n yield request({\n location: locationRestScannerResultExternalPatch,\n request: {\n ignored: state\n },\n params: {\n host: this.data.host.replace(/\\./g, \"_\")\n }\n });\n this.data.ignored = state;\n } catch (e) {\n console.log(e);\n throw e;\n }\n });\n runInAction(() => {\n this.data = externalUrl;\n });\n this.store = store;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"identifier\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"identifier\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"inactive\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"inactive\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"blockedStatus\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"blockedStatus\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"blockedStatusText\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"blockedStatusText\"), _class.prototype)), _class);\nexport { ScannerResultExternalUrl };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2;\n\nimport { observable, runInAction, flow, computed } from \"mobx\";\nimport { truncateMiddle } from \"../utils\";\nlet ScannerResultExternalUrlSingle = (_class = class ScannerResultExternalUrlSingle {\n get markup() {\n return this.store.resultMarkup.get(this.data.id);\n }\n\n get blockedUrlTruncate() {\n return truncateMiddle(this.data.blockedUrl, 50, \"[...]\");\n }\n\n get sourceUrlTruncate() {\n return truncateMiddle(this.data.sourceUrl, 50, \"[...]\");\n }\n\n constructor(preset, store) {\n _initializerDefineProperty(this, \"busy\", _descriptor, this);\n\n _initializerDefineProperty(this, \"data\", _descriptor2, this);\n\n this.store = void 0;\n this.fetchMarkup = flow(function* () {\n yield this.store.fetchMarkup(this.data.id);\n });\n runInAction(() => {\n this.data = preset;\n });\n this.store = store;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"markup\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"markup\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"blockedUrlTruncate\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"blockedUrlTruncate\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"sourceUrlTruncate\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"sourceUrlTruncate\"), _class.prototype)), _class);\nexport { ScannerResultExternalUrlSingle };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3;\n\nimport { observable, runInAction, computed, flow } from \"mobx\";\nimport { request } from \"../utils\";\nimport { locationRestPresetsBlockerAttributesGet } from \"../wp-api\";\nlet ScannerResultPreset = (_class = class ScannerResultPreset {\n get identifier() {\n return this.data.identifier;\n }\n\n get fullLogoUrl() {\n const {\n logoFile\n } = this.data;\n const {\n publicUrl\n } = this.store.rootStore.optionStore;\n return logoFile.startsWith(\"http\") ? logoFile : \"\".concat(publicUrl, \"images/logos/\").concat(logoFile);\n }\n /**\n * Determines if this preset needs further attention. It is inactive when it e.g. already exists.\n */\n\n\n get inactive() {\n return this.data.created;\n }\n\n constructor(preset, store) {\n _initializerDefineProperty(this, \"busy\", _descriptor, this);\n\n _initializerDefineProperty(this, \"data\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"attributes\", _descriptor3, this);\n\n this.store = void 0;\n this.fetchAttributes = flow(function* () {\n try {\n this.busy = true;\n const response = yield request({\n location: locationRestPresetsBlockerAttributesGet,\n params: {\n identifier: this.data.identifier\n }\n });\n this.attributes = response;\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busy = false;\n }\n });\n runInAction(() => {\n this.data = preset;\n });\n this.store = store;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"attributes\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"identifier\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"identifier\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"fullLogoUrl\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"fullLogoUrl\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"inactive\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"inactive\"), _class.prototype)), _class);\nexport { ScannerResultPreset };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2;\n\nimport { observable, runInAction } from \"mobx\";\nlet TcfFeature = (_class = class TcfFeature {\n constructor(data, special, store) {\n _initializerDefineProperty(this, \"data\", _descriptor, this);\n\n _initializerDefineProperty(this, \"special\", _descriptor2, this);\n\n this.store = void 0;\n runInAction(() => {\n this.special = special;\n this.data = data;\n });\n this.store = store;\n }\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"special\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n})), _class);\nexport { TcfFeature };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2;\n\nimport { observable, runInAction } from \"mobx\";\nlet TcfPurpose = (_class = class TcfPurpose {\n constructor(data, special, store) {\n _initializerDefineProperty(this, \"data\", _descriptor, this);\n\n _initializerDefineProperty(this, \"special\", _descriptor2, this);\n\n this.store = void 0;\n runInAction(() => {\n this.special = special;\n this.data = data;\n });\n this.store = store;\n }\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"special\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n})), _class);\nexport { TcfPurpose };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor;\n\nimport { computed, observable, runInAction } from \"mobx\";\nimport { ETcfGvlDisclosureType } from \"@devowl-wp/real-cookie-banner-backend/src/types/service/tcf\";\nlet TcfVendor = (_class = class TcfVendor {\n /**\n * Get existing vendor configuration for this vendor.\n */\n get vendorConfiguration() {\n for (const c of this.store.vendorConfigurations.entries.values()) {\n if (c.vendorModel.data.id === this.data.id) {\n return c;\n }\n }\n\n return undefined;\n }\n\n get deviceStorageDisclosure() {\n const {\n usesCookies,\n cookieMaxAgeSeconds,\n cookieRefresh,\n usesNonCookieAccess,\n deviceStorageDisclosure\n } = this.data;\n const result = deviceStorageDisclosure !== null && deviceStorageDisclosure !== void 0 && deviceStorageDisclosure.disclosures.length ? [...deviceStorageDisclosure.disclosures] : []; // Include implicit device storage into table\n\n if (usesNonCookieAccess) {\n result.unshift({\n type: ETcfGvlDisclosureType.Web,\n identifier: \"*\",\n purposes: undefined,\n cookieRefresh: undefined,\n domain: \"*\",\n maxAgeSeconds: null\n });\n }\n\n if (usesCookies) {\n result.unshift({\n type: ETcfGvlDisclosureType.Cookie,\n identifier: \"*\",\n purposes: undefined,\n cookieRefresh,\n domain: \"*\",\n maxAgeSeconds: cookieMaxAgeSeconds\n });\n }\n\n return result;\n }\n\n get allPurposes() {\n return [...this.legIntPurposes, ...this.purposes, ...this.specialPurposes].filter(Boolean);\n }\n\n get allFeatures() {\n return [...this.features, ...this.specialFeatures].filter(Boolean);\n }\n /**\n * Calculate a map of restrictions for this vendor. This can be used to make a form\n * configurable depending on the current vendor.\n */\n\n\n get restrictivePurposes() {\n const result = {\n normal: {}\n };\n\n for (const purpose of [...this.legIntPurposes, ...this.purposes]) {\n result.normal[purpose.data.id.toString()] = {\n enabled: true,\n legInt: this.legIntPurposes.indexOf(purpose) > -1 && !purpose.special ? \"yes\" : \"no\"\n };\n }\n\n return result;\n }\n /**\n * Map the integers to valid declaration objects.\n */\n\n\n get purposes() {\n var _this$data;\n\n return (_this$data = this.data) === null || _this$data === void 0 ? void 0 : _this$data.purposes.map(id => this.store.purposes.get(\"\".concat(id)));\n }\n\n get legIntPurposes() {\n var _this$data2;\n\n return (_this$data2 = this.data) === null || _this$data2 === void 0 ? void 0 : _this$data2.legIntPurposes.map(id => this.store.purposes.get(\"\".concat(id)));\n }\n\n get flexiblePurposes() {\n var _this$data3;\n\n return (_this$data3 = this.data) === null || _this$data3 === void 0 ? void 0 : _this$data3.flexiblePurposes.map(id => this.store.purposes.get(\"\".concat(id)));\n }\n\n get specialPurposes() {\n var _this$data4;\n\n return (_this$data4 = this.data) === null || _this$data4 === void 0 ? void 0 : _this$data4.specialPurposes.map(id => this.store.specialPurposes.get(\"\".concat(id)));\n }\n\n get features() {\n var _this$data5;\n\n return (_this$data5 = this.data) === null || _this$data5 === void 0 ? void 0 : _this$data5.features.map(id => this.store.features.get(\"\".concat(id)));\n }\n\n get specialFeatures() {\n var _this$data6;\n\n return (_this$data6 = this.data) === null || _this$data6 === void 0 ? void 0 : _this$data6.specialFeatures.map(id => this.store.specialFeatures.get(\"\".concat(id)));\n }\n\n constructor(data, store) {\n _initializerDefineProperty(this, \"data\", _descriptor, this);\n\n this.store = void 0;\n runInAction(() => {\n this.data = data;\n });\n this.store = store;\n }\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"data\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"vendorConfiguration\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"vendorConfiguration\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"deviceStorageDisclosure\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"deviceStorageDisclosure\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"allPurposes\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"allPurposes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"allFeatures\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"allFeatures\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"restrictivePurposes\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"restrictivePurposes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"purposes\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"purposes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"legIntPurposes\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"legIntPurposes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"flexiblePurposes\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"flexiblePurposes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"specialPurposes\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"specialPurposes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"features\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"features\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"specialFeatures\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"specialFeatures\"), _class.prototype)), _class);\nexport { TcfVendor };","var _dec, _class;\n\nimport { ClientCollection, RouteHttpVerb, AbstractPostCollection } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { TcfVendorConfigurationModel } from \".\";\nlet TcfVendorConfigurationCollection = (_dec = ClientCollection.annotate({\n path: \"/rcb-tcf-vendor-conf\",\n singlePath: \"/rcb-tcf-vendor-conf/:id\",\n namespace: \"wp/v2\",\n methods: [RouteHttpVerb.GET],\n request\n}), _dec(_class = class TcfVendorConfigurationCollection extends AbstractPostCollection {\n constructor(store) {\n super();\n this.store = void 0;\n this.store = store;\n }\n\n instance(response) {\n return new TcfVendorConfigurationModel(this).fromResponse(response);\n }\n\n}) || _class);\nexport { TcfVendorConfigurationCollection };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _dec, _class, _class2, _descriptor;\n\nimport { ClientModel, AbstractPost } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { action, computed, observable, reaction, runInAction } from \"mobx\";\nimport { TcfVendor } from \"./tcfVendor\";\nimport $ from \"jquery\";\nlet TcfVendorConfigurationModel = (_dec = ClientModel.annotate({\n keyId: \"id\",\n namespace: \"wp/v2\",\n request,\n create: {\n path: \"/rcb-tcf-vendor-conf\"\n },\n patch: {\n path: \"/rcb-tcf-vendor-conf/:id\"\n },\n delete: {\n path: \"/rcb-tcf-vendor-conf/:id\"\n }\n}), _dec(_class = (_class2 = class TcfVendorConfigurationModel extends AbstractPost {\n /**\n * In some cases, vendors can be abandoned by the GVL.\n */\n get hasVendor() {\n return !!this.vendorModel;\n }\n\n get restrictivePurposes() {\n var _this$vendorModel, _this$vendorModel2;\n\n // Fallback to original if we have changed to `global`\n const disableRestrictivePurposes = this.collection.store.rootStore.optionStore.tcfScopeOfConsent === \"global\";\n const originalRestrictivePurposes = ((_this$vendorModel = this.vendorModel) === null || _this$vendorModel === void 0 ? void 0 : _this$vendorModel.restrictivePurposes) || {\n normal: {}\n };\n\n if (disableRestrictivePurposes) {\n return originalRestrictivePurposes;\n }\n\n const result = JSON.parse(this.data.meta.restrictivePurposes); // Merge with original vendor purposes so all are listed\n\n return $.extend(true, {}, ((_this$vendorModel2 = this.vendorModel) === null || _this$vendorModel2 === void 0 ? void 0 : _this$vendorModel2.restrictivePurposes) || {}, result);\n }\n\n get stats() {\n var _this$vendorModel3;\n\n const {\n normal\n } = this.restrictivePurposes;\n const arr = [...Object.values(normal)];\n return {\n activePurposes: arr.filter(({\n enabled\n }) => enabled).length,\n legIntPurposes: arr.filter(({\n enabled,\n legInt\n }) => enabled && legInt === \"yes\").length,\n activeFeatures: ((_this$vendorModel3 = this.vendorModel) === null || _this$vendorModel3 === void 0 ? void 0 : _this$vendorModel3.allFeatures.length) || 0\n };\n }\n\n constructor(collection, data = {}) {\n super(collection, data);\n\n _initializerDefineProperty(this, \"vendorModel\", _descriptor, this);\n\n reaction(() => this.data.vendor, vendor => runInAction(() => {\n if (vendor) {\n const {\n vendors\n } = this.collection.store;\n const vendorId = vendor.id.toString();\n let existing = vendors.get(vendorId);\n\n if (!existing) {\n existing = new TcfVendor(vendor, this.collection.store);\n vendors.set(vendorId, existing);\n }\n\n this.vendorModel = existing;\n }\n }), {\n fireImmediately: true\n }); // Automatically set the vendor model (e.g. newly saved configuration)\n\n reaction(() => {\n var _this$data$meta;\n\n return (_this$data$meta = this.data.meta) === null || _this$data$meta === void 0 ? void 0 : _this$data$meta.vendorId;\n }, vendorId => {\n if (vendorId) {\n this.vendorModel = this.collection.store.vendors.get(vendorId.toString());\n }\n }, {\n fireImmediately: true\n });\n }\n\n setStatus(status) {\n this.data.status = status;\n }\n\n setMeta(meta) {\n this.data.meta = meta;\n }\n\n transformDataForPatch() {\n const data = super.transformDataForPatch();\n return {\n status: data.status,\n meta: data.meta\n };\n }\n\n afterPatch() {\n this.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n\n afterDelete() {\n this.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n\n afterPersist() {\n this.collection.store.rootStore.optionStore.fetchCurrentRevision();\n }\n\n}, (_descriptor = _applyDecoratedDescriptor(_class2.prototype, \"vendorModel\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class2.prototype, \"hasVendor\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"hasVendor\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"restrictivePurposes\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"restrictivePurposes\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"stats\", [computed], Object.getOwnPropertyDescriptor(_class2.prototype, \"stats\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setStatus\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setStatus\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setMeta\", [action], Object.getOwnPropertyDescriptor(_class2.prototype, \"setMeta\"), _class2.prototype)), _class2)) || _class);\nexport { TcfVendorConfigurationModel };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2;\n\nimport { observable, flow, computed } from \"mobx\";\nimport { BaseOptions } from \"@devowl-wp/utils\";\nimport { locationRestChecklistGet, locationRestChecklistPut } from \"../wp-api\";\nimport { request } from \"../utils\";\nlet ChecklistStore = (_class = class ChecklistStore extends BaseOptions {\n constructor(rootStore) {\n super();\n\n _initializerDefineProperty(this, \"busyChecklist\", _descriptor, this);\n\n _initializerDefineProperty(this, \"checklist\", _descriptor2, this);\n\n this.rootStore = void 0;\n this.probablyFetchByChangedItem = flow(function* (itemId, force) {\n if (force) {\n yield this.fetchChecklist();\n return;\n }\n\n const useItemIds = !Array.isArray(itemId) ? [itemId] : itemId;\n\n if (this.items.filter(({\n id,\n checked\n }) => useItemIds.indexOf(id) > -1 && !checked).length > 0) {\n yield this.fetchChecklist();\n }\n });\n this.fetchChecklist = flow(function* () {\n this.busyChecklist = true;\n\n try {\n this.checklist = yield request({\n location: locationRestChecklistGet,\n params: {\n _wp_http_referer: window.location.href\n }\n });\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyChecklist = false;\n }\n });\n this.toggleChecklistItem = flow(function* (id, state) {\n this.busyChecklist = true;\n\n try {\n this.checklist = yield request({\n location: locationRestChecklistPut,\n request: {\n state\n },\n params: {\n id,\n _wp_http_referer: window.location.href\n }\n });\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyChecklist = false;\n }\n });\n this.rootStore = rootStore;\n }\n\n get items() {\n return this.checklist && Object.keys(this.checklist.items).map(id => ({\n id,\n ...this.checklist.items[id]\n })) || [];\n }\n\n get completed() {\n return this.items.filter(({\n checked\n }) => checked);\n }\n\n get checkable() {\n const {\n isPro\n } = this.rootStore.optionStore.others;\n return this.items.filter(({\n needsPro\n }) => !needsPro || isPro && needsPro);\n }\n\n get done() {\n var _this$checklist;\n\n return this.completed.length >= this.checkable.length || !!((_this$checklist = this.checklist) !== null && _this$checklist !== void 0 && _this$checklist.dismissed);\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busyChecklist\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"checklist\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"items\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"items\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"completed\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"completed\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"checkable\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"checkable\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"done\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"done\"), _class.prototype)), _class);\nexport { ChecklistStore };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10;\n\nimport { observable, flow, action, runInAction } from \"mobx\";\nimport { BaseOptions } from \"@devowl-wp/utils\";\nimport { request } from \"../utils\";\nimport { locationRestRevisionGet, locationRestRevisionIndependentGet, locationRestConsentAllGet, locationRestConsentAllDelete, locationRestConsentRefererGet } from \"../wp-api\";\nimport { Consent, Revision, RevisionIndependent } from \"../models\";\nconst DATE_FORMAT = \"YYYY-MM-DD\";\nlet ConsentStore = (_class = class ConsentStore extends BaseOptions {\n /**\n * Current visible page in Consent tab\n */\n constructor(rootStore) {\n super();\n\n _initializerDefineProperty(this, \"busyConsent\", _descriptor, this);\n\n _initializerDefineProperty(this, \"busyReferer\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"count\", _descriptor3, this);\n\n _initializerDefineProperty(this, \"truncatedIpsCount\", _descriptor4, this);\n\n _initializerDefineProperty(this, \"perPage\", _descriptor5, this);\n\n _initializerDefineProperty(this, \"offset\", _descriptor6, this);\n\n _initializerDefineProperty(this, \"pageCollection\", _descriptor7, this);\n\n _initializerDefineProperty(this, \"revisions\", _descriptor8, this);\n\n _initializerDefineProperty(this, \"revisionsIndependent\", _descriptor9, this);\n\n _initializerDefineProperty(this, \"referer\", _descriptor10, this);\n\n this.filters = observable.object({\n page: 1,\n dates: [undefined, undefined],\n context: undefined,\n referer: undefined,\n ip: undefined,\n uuid: undefined\n }, {}, {\n deep: false\n });\n this.rootStore = void 0;\n this.fetchAll = flow(function* () {\n this.busyConsent = true;\n\n try {\n const {\n page,\n referer,\n ip,\n uuid,\n context\n } = this.filters;\n const dates = this.filters.dates.map(m => m ? m.format(DATE_FORMAT) : \"\");\n const {\n count,\n truncatedIpsCount,\n items\n } = yield request({\n location: locationRestConsentAllGet,\n params: {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n per_page: this.perPage,\n offset: (page - 1) * this.perPage,\n from: dates[0],\n to: dates[1],\n ip,\n uuid,\n referer,\n context\n }\n });\n this.count = count;\n this.truncatedIpsCount = truncatedIpsCount;\n this.pageCollection.clear();\n\n for (const item of items) {\n this.pageCollection.set(item.id, new Consent(item, this));\n }\n } catch (e) {\n this.count = 0;\n this.truncatedIpsCount = 0;\n this.pageCollection.clear();\n console.log(e);\n throw e;\n } finally {\n this.busyConsent = false;\n }\n });\n this.fetchRevision = flow(function* (params) {\n try {\n const response = yield request({\n location: locationRestRevisionGet,\n params\n });\n this.revisions.set(params.hash, new Revision(response, this));\n } catch (e) {\n console.log(e);\n throw e;\n }\n });\n this.fetchRevisionIndependent = flow(function* (params) {\n try {\n const response = yield request({\n location: locationRestRevisionIndependentGet,\n params\n });\n this.revisionsIndependent.set(params.hash, new RevisionIndependent(response, this));\n } catch (e) {\n console.log(e);\n throw e;\n }\n });\n this.fetchReferer = flow(function* (params) {\n this.busyReferer = true;\n\n try {\n const response = yield request({\n location: locationRestConsentRefererGet,\n params\n });\n this.referer = response.items;\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyReferer = false;\n }\n });\n this.deleteAll = flow(function* () {\n this.busyConsent = true;\n\n try {\n yield request({\n location: locationRestConsentAllDelete\n });\n this.applyPage(0);\n yield this.fetchAll();\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyConsent = false;\n }\n });\n this.rootStore = rootStore;\n runInAction(() => {\n this.filters.context = this.rootStore.optionStore.others.context;\n });\n }\n /**\n * This action does not actually refetch the list, you need to act on your components!\n */\n\n\n applyPage(page) {\n this.filters.page = page;\n }\n /**\n * This action does not actually refetch the stats, you need to act on your components!\n *\n * @param dates\n */\n\n\n applyDates(dates) {\n this.filters.dates = dates;\n }\n /**\n * This action does not actually refetch the stats, you need to act on your components!\n *\n * @param context\n */\n\n\n applyContext(context) {\n this.filters.context = context;\n }\n /**\n * This action does not actually refetch the list, you need to act on your components!\n */\n\n\n applyReferer(referer) {\n this.filters.referer = referer;\n }\n /**\n * This action does not actually refetch the list, you need to act on your components!\n */\n\n\n applyIp(ip) {\n this.filters.ip = ip;\n }\n /**\n * This action does not actually refetch the list, you need to act on your components!\n */\n\n\n applyUuid(uuid) {\n this.filters.uuid = uuid;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busyConsent\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"busyReferer\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"count\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"truncatedIpsCount\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"perPage\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 50;\n }\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"offset\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n}), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"pageCollection\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"revisions\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"revisionsIndependent\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"referer\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n}), _applyDecoratedDescriptor(_class.prototype, \"applyPage\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyPage\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"applyDates\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyDates\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"applyContext\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyContext\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"applyReferer\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyReferer\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"applyIp\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyIp\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"applyUuid\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyUuid\"), _class.prototype)), _class);\nexport { ConsentStore };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;\n\nimport { observable, flow, computed, runInAction } from \"mobx\";\nimport { CookieGroupCollection, BlockerCollection, CookiePreset, BlockerPreset } from \"../models\";\nimport { locationRestPresetsBlockerGet, locationRestPresetsCookiesGet, locationRestCookieUnassignedGet } from \"../wp-api\";\nimport { request } from \"../utils\";\nlet CookieStore = (_class = class CookieStore {\n get blockersCount() {\n return this.fetchedAllBlockers ? this.blockers.entries.size : this.rootStore.optionStore.allBlockerCount;\n }\n\n get cookiesCount() {\n return Array.from(this.groups.entries.values()).map(({\n cookiesCount\n }) => cookiesCount).reduce((total, num) => total + num, 0);\n }\n\n constructor(rootStore) {\n _initializerDefineProperty(this, \"busy\", _descriptor, this);\n\n _initializerDefineProperty(this, \"groups\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"unassignedCookies\", _descriptor3, this);\n\n _initializerDefineProperty(this, \"blockers\", _descriptor4, this);\n\n _initializerDefineProperty(this, \"presetsBlocker\", _descriptor5, this);\n\n _initializerDefineProperty(this, \"busyPresetsBlocker\", _descriptor6, this);\n\n _initializerDefineProperty(this, \"presetsCookie\", _descriptor7, this);\n\n _initializerDefineProperty(this, \"busyPresetsCookie\", _descriptor8, this);\n\n _initializerDefineProperty(this, \"fetchedAllBlockers\", _descriptor9, this);\n\n this.rootStore = void 0;\n this.fetchGroups = flow(function* () {\n yield this.groups.get({\n params: {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n per_page: 100\n }\n });\n yield this.fetchUnassignedCookies();\n });\n this.fetchUnassignedCookies = flow(function* () {\n try {\n const items = yield request({\n location: locationRestCookieUnassignedGet\n }); // Save presets as object\n\n for (const item of Object.values(items)) {\n this.unassignedCookies.set(item.id, item);\n }\n } catch (e) {\n console.log(e);\n throw e;\n }\n });\n this.fetchBlockers = flow(function* () {\n yield this.blockers.get({\n request: {\n status: [\"draft\", \"publish\", \"private\"]\n },\n params: {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n per_page: 100,\n // Fetch all\n context: \"edit\"\n }\n });\n this.fetchedAllBlockers = true;\n });\n this.fetchPresetsBlocker = flow(function* () {\n this.busyPresetsBlocker = true;\n\n try {\n const {\n items\n } = yield request({\n location: locationRestPresetsBlockerGet\n }); // Save presets as object\n\n for (const pid of Object.keys(items)) {\n this.presetsBlocker.set(pid, new BlockerPreset(items[pid], this));\n }\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyPresetsBlocker = false;\n }\n });\n this.fetchPresetsCookie = flow(function* () {\n this.busyPresetsCookie = true;\n\n try {\n const {\n items\n } = yield request({\n location: locationRestPresetsCookiesGet\n }); // Save presets as object\n\n for (const pid of Object.keys(items)) {\n this.presetsCookie.set(pid, new CookiePreset(items[pid], this));\n }\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyPresetsCookie = false;\n }\n });\n this.rootStore = rootStore;\n runInAction(() => {\n this.groups = new CookieGroupCollection(this);\n this.blockers = new BlockerCollection(this);\n });\n }\n\n get essentialGroup() {\n if (this.groups.entries.size === 0) {\n return undefined;\n }\n\n const it = this.groups.entries.values();\n let group;\n\n while (group = it.next().value) {\n if (group.data.slug === this.rootStore.optionStore.others.essentialGroup) {\n break;\n }\n }\n\n return group;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busy\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"groups\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"unassignedCookies\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"blockers\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"presetsBlocker\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"busyPresetsBlocker\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"presetsCookie\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"busyPresetsCookie\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"fetchedAllBlockers\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _applyDecoratedDescriptor(_class.prototype, \"blockersCount\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"blockersCount\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cookiesCount\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"cookiesCount\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"essentialGroup\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"essentialGroup\"), _class.prototype)), _class);\nexport { CookieStore };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6;\n\nimport { action, observable, flow, runInAction } from \"mobx\";\nimport { locationRestPresetsBannerGet } from \"../wp-api\";\nimport { request } from \"../utils\";\nimport { BannerPreset } from \"../models\";\nimport { getSidebarCustomize } from \"@devowl-wp/customize\";\nlet CustomizeBannerStore = (_class = class CustomizeBannerStore {\n constructor(rootStore) {\n _initializerDefineProperty(this, \"visible\", _descriptor, this);\n\n _initializerDefineProperty(this, \"animationVisible\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"individualPrivacyOpen\", _descriptor3, this);\n\n _initializerDefineProperty(this, \"previewCheckboxActiveState\", _descriptor4, this);\n\n _initializerDefineProperty(this, \"busyPresets\", _descriptor5, this);\n\n _initializerDefineProperty(this, \"presets\", _descriptor6, this);\n\n this.rootStore = void 0;\n this.presetConstants = new Map();\n this.presetDefaults = new Map();\n this.debounceFromCustomize = {};\n this.fetchPresets = flow(function* () {\n this.busyPresets = true;\n\n try {\n const {\n defaults,\n constants,\n items\n } = yield request({\n location: locationRestPresetsBannerGet\n }); // Save defaults\n\n for (const did of Object.keys(defaults)) {\n this.presetDefaults.set(did, defaults[did]);\n } // Save constants\n\n\n for (const cid of Object.keys(constants)) {\n this.presetConstants.set(cid, constants[cid]);\n } // Save presets as object\n\n\n for (const pid of Object.keys(items)) {\n this.presets.set(pid, new BannerPreset({\n id: pid,\n ...items[pid]\n }, this));\n }\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyPresets = false;\n }\n });\n this.rootStore = rootStore;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n setBannerFromCustomize(section, setting, value, maybeDebounce = true) {\n const {\n customizeValuesBanner\n } = this.rootStore.optionStore.others; // Apply debounce for specific settings\n\n const debounceSetting = setting.toString();\n\n if (maybeDebounce && [\"css\", \"animationInDuration\", \"animationOutDuration\"].indexOf(debounceSetting) > -1) {\n clearTimeout(this.debounceFromCustomize[debounceSetting]);\n this.debounceFromCustomize[debounceSetting] = setTimeout(() => this.setBannerFromCustomize(section, setting, value, false), 500);\n } else {\n const currentValue = customizeValuesBanner[section][setting];\n customizeValuesBanner[section][setting] = value; // When we want to customize the animation out, let's simulate a \"hide\"\n\n if (debounceSetting.startsWith(\"animationOut\") && currentValue !== value) {\n this.forceAnimationOutSimulation();\n }\n }\n }\n\n setBannerFromPreset(batchUpdates) {\n for (const row of batchUpdates) {\n const [section, setting, value] = row;\n this.rootStore.optionStore.others.customizeValuesBanner[section][setting] = value;\n }\n }\n\n forceAnimationOutSimulation() {\n const {\n customizeValuesBanner\n } = this.rootStore.optionStore.others;\n\n if (customizeValuesBanner[\"layout\"][\"animationOut\"] === \"none\") {\n return;\n }\n\n this.animationVisible = false;\n setTimeout(() => runInAction(() => {\n this.animationVisible = true;\n }), +customizeValuesBanner[\"layout\"][\"animationOutDuration\"] + 1000);\n }\n\n setVisible(state) {\n this.visible = state;\n }\n\n setIndividualPrivacyOpen(state) {\n this.individualPrivacyOpen = state;\n }\n\n setPreviewCheckboxActiveState(state) {\n this.previewCheckboxActiveState = state;\n }\n /**\n * Allow developers to export the current customize settings via PHP.\n *\n * ```ts\n * realCookieBanner_customize.RootStore.get.customizeBannerStore.exportPhp()\n * ```\n */\n\n\n exportPhp() {\n const result = {};\n const customize = getSidebarCustomize();\n this.presetDefaults.forEach((defaultValue, key) => {\n let currentValue = customize(key).get(); // Fix booleans\n\n if (typeof defaultValue === \"boolean\") {\n currentValue = !!+currentValue;\n } else if (!isNaN(currentValue) && currentValue !== \"\") {\n // Fix integers\n currentValue = +currentValue;\n }\n\n if (JSON.stringify(defaultValue) !== JSON.stringify(currentValue)) {\n result[this.presetConstants.get(key)] = currentValue;\n }\n }); // Prepare output\n\n return this.jsonToPHPArray(result);\n }\n\n jsonToPHPArray(result) {\n const output = JSON.stringify(result, null, 4).split(\"\\n\");\n output.shift();\n output.pop();\n return output.join(\"\\n\").replace(/^(\\s+)\"([A-Za-z\\\\]+::[A-Z_]+)\"(:)/gm, \"$1$2 =>\").replace(/^(\\s+)([A-Za-z\\\\]+)::/gm, (full, spaces, namespaces) => {\n return \"\".concat(spaces).concat(namespaces.replace(/\\\\\\\\/gm, \"\\\\\"), \"::\");\n });\n }\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"visible\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"animationVisible\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return true;\n }\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"individualPrivacyOpen\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"previewCheckboxActiveState\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"busyPresets\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"presets\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _applyDecoratedDescriptor(_class.prototype, \"setBannerFromCustomize\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"setBannerFromCustomize\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setBannerFromPreset\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"setBannerFromPreset\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"forceAnimationOutSimulation\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"forceAnimationOutSimulation\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setVisible\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"setVisible\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setIndividualPrivacyOpen\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"setIndividualPrivacyOpen\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setPreviewCheckboxActiveState\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"setPreviewCheckboxActiveState\"), _class.prototype)), _class);\nexport { CustomizeBannerStore };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31, _descriptor32, _descriptor33, _descriptor34, _descriptor35, _descriptor36, _descriptor37, _descriptor38, _descriptor39, _descriptor40, _descriptor41, _descriptor42, _descriptor43, _descriptor44, _descriptor45, _descriptor46, _descriptor47, _descriptor48, _descriptor49, _descriptor50, _descriptor51, _descriptor52;\n\nimport { observable, runInAction, flow, action, computed } from \"mobx\";\nimport { BaseOptions } from \"@devowl-wp/utils\";\nimport { locationRestWpSettings, locationRestWpSettingsPatch, locationRestRevisionCurrentGet, locationRestRevisionCurrentPut, locationRestLiteDismissConfigPageProNotice, locationRestCountryBypassDatabasePut, locationRestMigrationDelete, locationRestNavMenuAddLinksPost } from \"../wp-api\";\nimport { request } from \"../utils\";\nimport { locationRestModalHintSeenPut } from \"../wp-api/modalHintSeen.put\";\nlet OptionStore = (_class = class OptionStore extends BaseOptions {\n /* @observable\n public onlyEuCookieBanner: ResponseRouteWpSettings[\"rcb-only-eu-cookie-banner\"]; */\n // Affiliate settings are only available and registered in PRO version\n // Country Bypass settings (all optional for free version)\n // TCF compatibility settings (all optional for free version)\n // Implement \"others\" property in your Assets.php;\n\n /**\n * Ignore real-cookie-banner cookie as it is hidden when no other cookie is created.\n */\n get isOnlyRcbCookieCreated() {\n return this.allCookieCount === 1 && (!this.tcf || !this.allTcfVendorConfigurationCount);\n }\n\n get areSettingsFetched() {\n return this.respectDoNotTrack !== undefined;\n }\n\n constructor(rootStore) {\n super();\n\n _initializerDefineProperty(this, \"busySettings\", _descriptor, this);\n\n _initializerDefineProperty(this, \"busyCountryBypassUpdate\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"busyAddLinksToNavigationMenu\", _descriptor3, this);\n\n _initializerDefineProperty(this, \"needsRevisionRetrigger\", _descriptor4, this);\n\n _initializerDefineProperty(this, \"publicCookieCount\", _descriptor5, this);\n\n _initializerDefineProperty(this, \"allCookieCount\", _descriptor6, this);\n\n _initializerDefineProperty(this, \"allBlockerCount\", _descriptor7, this);\n\n _initializerDefineProperty(this, \"allTcfVendorConfigurationCount\", _descriptor8, this);\n\n _initializerDefineProperty(this, \"allScannerResultPresetsCount\", _descriptor9, this);\n\n _initializerDefineProperty(this, \"allScannerResultExternalUrlsCount\", _descriptor10, this);\n\n _initializerDefineProperty(this, \"cookieCounts\", _descriptor11, this);\n\n _initializerDefineProperty(this, \"nav_menus\", _descriptor12, this);\n\n _initializerDefineProperty(this, \"tcfVendorConfigurationCounts\", _descriptor13, this);\n\n _initializerDefineProperty(this, \"hasManager\", _descriptor14, this);\n\n _initializerDefineProperty(this, \"contexts\", _descriptor15, this);\n\n _initializerDefineProperty(this, \"dashboardMigration\", _descriptor16, this);\n\n _initializerDefineProperty(this, \"fomoCoupon\", _descriptor17, this);\n\n _initializerDefineProperty(this, \"bannerActive\", _descriptor18, this);\n\n _initializerDefineProperty(this, \"blockerActive\", _descriptor19, this);\n\n _initializerDefineProperty(this, \"imprintId\", _descriptor20, this);\n\n _initializerDefineProperty(this, \"imprintExternalUrl\", _descriptor21, this);\n\n _initializerDefineProperty(this, \"imprintIsExternalUrl\", _descriptor22, this);\n\n _initializerDefineProperty(this, \"privacyPolicyId\", _descriptor23, this);\n\n _initializerDefineProperty(this, \"privacyPolicyExternalUrl\", _descriptor24, this);\n\n _initializerDefineProperty(this, \"privacyPolicyIsExternalUrl\", _descriptor25, this);\n\n _initializerDefineProperty(this, \"hidePageIds\", _descriptor26, this);\n\n _initializerDefineProperty(this, \"setCookiesViaManager\", _descriptor27, this);\n\n _initializerDefineProperty(this, \"acceptAllForBots\", _descriptor28, this);\n\n _initializerDefineProperty(this, \"respectDoNotTrack\", _descriptor29, this);\n\n _initializerDefineProperty(this, \"cookieDuration\", _descriptor30, this);\n\n _initializerDefineProperty(this, \"saveIp\", _descriptor31, this);\n\n _initializerDefineProperty(this, \"ePrivacyUSA\", _descriptor32, this);\n\n _initializerDefineProperty(this, \"ageNotice\", _descriptor33, this);\n\n _initializerDefineProperty(this, \"listServicesNotice\", _descriptor34, this);\n\n _initializerDefineProperty(this, \"consentForwarding\", _descriptor35, this);\n\n _initializerDefineProperty(this, \"forwardTo\", _descriptor36, this);\n\n _initializerDefineProperty(this, \"crossDomains\", _descriptor37, this);\n\n _initializerDefineProperty(this, \"affiliateLink\", _descriptor38, this);\n\n _initializerDefineProperty(this, \"affiliateLabelBehind\", _descriptor39, this);\n\n _initializerDefineProperty(this, \"affiliateLabelDescription\", _descriptor40, this);\n\n _initializerDefineProperty(this, \"countryBypass\", _descriptor41, this);\n\n _initializerDefineProperty(this, \"countryBypassCountries\", _descriptor42, this);\n\n _initializerDefineProperty(this, \"countryBypassType\", _descriptor43, this);\n\n _initializerDefineProperty(this, \"countryBypassDbDownloadTime\", _descriptor44, this);\n\n _initializerDefineProperty(this, \"tcf\", _descriptor45, this);\n\n _initializerDefineProperty(this, \"tcfPublisherCc\", _descriptor46, this);\n\n _initializerDefineProperty(this, \"tcfAcceptedTime\", _descriptor47, this);\n\n _initializerDefineProperty(this, \"tcfGvlDownloadTime\", _descriptor48, this);\n\n _initializerDefineProperty(this, \"tcfScopeOfConsent\", _descriptor49, this);\n\n _initializerDefineProperty(this, \"consentDuration\", _descriptor50, this);\n\n _initializerDefineProperty(this, \"consentsDeletedAt\", _descriptor51, this);\n\n _initializerDefineProperty(this, \"others\", _descriptor52, this);\n\n this.pureSlug = void 0;\n this.pureSlugCamelCased = void 0;\n this.rootStore = void 0;\n this.fetchSettings = flow(function* (setFrom) {\n this.busySettings = true;\n\n try {\n const result = setFrom || (yield request({\n location: locationRestWpSettings\n }));\n this.bannerActive = result[\"rcb-banner-active\"];\n this.blockerActive = result[\"rcb-blocker-active\"];\n this.imprintId = result[\"rcb-banner-legal-imprint\"];\n this.imprintExternalUrl = result[\"rcb-banner-legal-imprint-external-url\"];\n this.imprintIsExternalUrl = result[\"rcb-banner-legal-imprint-is-external-url\"];\n this.privacyPolicyId = result[\"rcb-banner-legal-privacy-policy\"];\n this.privacyPolicyExternalUrl = result[\"rcb-banner-legal-privacy-policy-external-url\"];\n this.privacyPolicyIsExternalUrl = result[\"rcb-banner-legal-privacy-policy-is-external-url\"];\n this.hidePageIds = (result[\"rcb-hide-page-ids\"] || \"\").split(\",\").map(Number).filter(Boolean);\n this.setCookiesViaManager = result[\"rcb-set-cookies-via-manager\"] || \"none\";\n this.acceptAllForBots = result[\"rcb-accept-all-for-bots\"];\n this.respectDoNotTrack = result[\"rcb-respect-do-not-track\"]; // this.onlyEuCookieBanner = result[\"rcb-only-eu-cookie-banner\"] || false;\n\n this.cookieDuration = result[\"rcb-cookie-duration\"];\n this.saveIp = result[\"rcb-save-ip\"];\n this.ePrivacyUSA = result[\"rcb-eprivacy-usa\"];\n this.ageNotice = result[\"rcb-age-notice\"];\n this.listServicesNotice = result[\"rcb-list-services-notice\"];\n this.consentForwarding = result[\"rcb-consent-forwarding\"] || false;\n this.forwardTo = (result[\"rcb-forward-to\"] || \"\").split(\"|\").filter(Boolean);\n this.crossDomains = result[\"rcb-cross-domains\"] || \"\";\n this.countryBypass = result[\"rcb-country-bypass\"];\n this.countryBypassCountries = (result[\"rcb-country-bypass-countries\"] || \"\").split(\",\").filter(Boolean);\n this.countryBypassType = result[\"rcb-country-bypass-type\"];\n this.countryBypassDbDownloadTime = result[\"rcb-country-bypass-db-download-time\"];\n this.tcf = result[\"rcb-tcf\"];\n this.tcfPublisherCc = result[\"rcb-tcf-publisher-cc\"];\n this.tcfAcceptedTime = result[\"rcb-tcf-accepted-time\"];\n this.tcfGvlDownloadTime = result[\"rcb-tcf-gvl-download-time\"];\n this.tcfScopeOfConsent = result[\"rcb-tcf-scope-of-consent\"];\n this.consentDuration = result[\"rcb-consent-duration\"];\n\n if (process.env.PLUGIN_CTX === \"pro\") {\n /* onlypro: start */\n this.affiliateLink = result[\"rcb-affiliate-link\"];\n this.affiliateLabelBehind = result[\"rcb-affiliate-label-behind\"];\n this.affiliateLabelDescription = result[\"rcb-affiliate-description\"];\n /* onlypro: end */\n }\n\n yield this.fetchCurrentRevision();\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busySettings = false;\n }\n });\n this.updateSettings = flow(function* ({\n bannerActive,\n blockerActive,\n imprintId,\n privacyPolicyId,\n // Due to incompatibilities with WPML / PolyLang we need to edit this in customizer as\n // the customizer can save settings per language\n // imprintExternalUrl,\n // imprintIsExternalUrl,\n // privacyPolicyExternalUrl,\n // privacyPolicyIsExternalUrl,\n hidePageIds,\n setCookiesViaManager,\n acceptAllForBots,\n respectDoNotTrack,\n // onlyEuCookieBanner,\n cookieDuration,\n saveIp,\n ePrivacyUSA,\n ageNotice,\n listServicesNotice,\n consentForwarding,\n forwardTo,\n crossDomains,\n affiliateLink,\n affiliateLabelBehind,\n affiliateLabelDescription,\n countryBypass,\n countryBypassCountries,\n countryBypassType,\n tcf,\n tcfPublisherCc,\n tcfScopeOfConsent,\n consentDuration\n }) {\n this.busySettings = true;\n\n try {\n const result = yield request({\n location: locationRestWpSettingsPatch,\n request: { ...(bannerActive === undefined ? {} : {\n \"rcb-banner-active\": bannerActive\n }),\n ...(blockerActive === undefined ? {} : {\n \"rcb-blocker-active\": blockerActive\n }),\n ...(imprintId === undefined ? {} : {\n \"rcb-banner-legal-imprint\": imprintId\n }),\n ...(privacyPolicyId === undefined ? {} : {\n \"rcb-banner-legal-privacy-policy\": privacyPolicyId\n }),\n ...(hidePageIds === undefined ? {} : {\n \"rcb-hide-page-ids\": hidePageIds.join(\",\")\n }),\n ...(setCookiesViaManager === undefined ? {} : {\n \"rcb-set-cookies-via-manager\": setCookiesViaManager\n }),\n ...(acceptAllForBots === undefined ? {} : {\n \"rcb-accept-all-for-bots\": acceptAllForBots\n }),\n ...(respectDoNotTrack === undefined ? {} : {\n \"rcb-respect-do-not-track\": respectDoNotTrack\n }),\n ...(cookieDuration === undefined ? {} : {\n \"rcb-cookie-duration\": cookieDuration\n }),\n ...(saveIp === undefined ? {} : {\n \"rcb-save-ip\": saveIp\n }),\n ...(ePrivacyUSA === undefined ? {} : {\n \"rcb-eprivacy-usa\": ePrivacyUSA\n }),\n ...(ageNotice === undefined ? {} : {\n \"rcb-age-notice\": ageNotice\n }),\n ...(listServicesNotice === undefined ? {} : {\n \"rcb-list-services-notice\": listServicesNotice\n }),\n ...(consentForwarding === undefined ? {} : {\n \"rcb-consent-forwarding\": consentForwarding\n }),\n ...(forwardTo === undefined ? {} : {\n \"rcb-forward-to\": forwardTo.join(\"|\")\n }),\n ...(crossDomains === undefined ? {} : {\n \"rcb-cross-domains\": crossDomains\n }),\n ...(countryBypass === undefined ? {} : {\n \"rcb-country-bypass\": countryBypass\n }),\n ...(countryBypassCountries === undefined ? {} : {\n \"rcb-country-bypass-countries\": countryBypassCountries.join(\",\")\n }),\n ...(countryBypassType === undefined ? {} : {\n \"rcb-country-bypass-type\": countryBypassType\n }),\n ...(tcf === undefined ? {} : {\n \"rcb-tcf\": tcf\n }),\n ...(tcfPublisherCc === undefined ? {} : {\n \"rcb-tcf-publisher-cc\": tcfPublisherCc\n }),\n ...(tcfScopeOfConsent === undefined ? {} : {\n \"rcb-tcf-scope-of-consent\": tcfScopeOfConsent\n }),\n ...(process.env.PLUGIN_CTX === \"pro\" ? affiliateLink === undefined ? {} : {\n \"rcb-affiliate-link\": affiliateLink\n } : {}),\n ...(process.env.PLUGIN_CTX === \"pro\" ? affiliateLabelBehind === undefined ? {} : {\n \"rcb-affiliate-label-behind\": affiliateLabelBehind\n } : {}),\n ...(process.env.PLUGIN_CTX === \"pro\" ? affiliateLabelDescription === undefined ? {} : {\n \"rcb-affiliate-description\": affiliateLabelDescription\n } : {}),\n ...(consentDuration === undefined ? {} : {\n \"rcb-consent-duration\": consentDuration\n })\n }\n });\n this.fetchSettings(result);\n this.rootStore.checklistStore.probablyFetchByChangedItem([\"save-settings\", \"activate-banner\", \"privacy-policy\"]);\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busySettings = false;\n }\n });\n this.fetchCurrentRevision = flow(function* () {\n this.busySettings = true;\n\n try {\n this.setFromCurrentRevision(yield request({\n location: locationRestRevisionCurrentGet\n }));\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busySettings = false;\n }\n });\n this.updateCurrentRevision = flow(function* (data) {\n this.busySettings = true;\n\n try {\n this.setFromCurrentRevision(yield request({\n location: locationRestRevisionCurrentPut,\n request: data\n }));\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busySettings = false;\n }\n });\n this.setModalHintSeen = flow(function* (identifier) {\n this.busySettings = true;\n\n try {\n this.others.modalHints.push(identifier); // Immediate push as this can never fail\n\n yield request({\n location: locationRestModalHintSeenPut,\n request: {\n identifier\n }\n });\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busySettings = false;\n }\n });\n this.dismissConfigProNotice = flow(function* () {\n try {\n // Immediate set because it can not fail\n this.others.isConfigProNoticeVisible = false;\n yield request({\n location: locationRestLiteDismissConfigPageProNotice\n });\n } catch (e) {\n console.log(e);\n throw e;\n }\n });\n this.dismissMigration = flow(function* () {\n try {\n // Immediate set because it can not fail\n const {\n id: migration\n } = this.dashboardMigration;\n this.dashboardMigration = undefined;\n yield request({\n location: locationRestMigrationDelete,\n params: {\n migration\n }\n });\n } catch (e) {\n console.log(e);\n throw e;\n }\n });\n this.addLinksToNavigationMenu = flow(function* (id) {\n this.busyAddLinksToNavigationMenu = true;\n\n try {\n const {\n success\n } = yield request({\n location: locationRestNavMenuAddLinksPost,\n request: {\n id\n }\n });\n\n if (success) {\n this.rootStore.checklistStore.fetchChecklist();\n yield this.fetchCurrentRevision();\n }\n\n return success;\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyAddLinksToNavigationMenu = false;\n }\n });\n this.updateCountryBypassDatabase = flow(function* () {\n this.busyCountryBypassUpdate = true;\n\n try {\n const {\n dbDownloadTime\n } = yield request({\n location: locationRestCountryBypassDatabasePut\n });\n this.countryBypassDbDownloadTime = dbDownloadTime;\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyCountryBypassUpdate = false;\n }\n });\n this.rootStore = rootStore;\n this.pureSlug = BaseOptions.getPureSlug(process.env.slug);\n this.pureSlugCamelCased = BaseOptions.getPureSlug(process.env.slug, true); // Use the localized WP object to fill this object values.\n\n runInAction(() => Object.assign(this, window[this.pureSlugCamelCased]));\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n setFromCurrentRevision({\n contexts,\n has_manager,\n needs_retrigger,\n public_cookie_count,\n all_cookie_count,\n all_blocker_count,\n all_tcf_vendor_configuration_count,\n all_scanner_result_presets_count,\n all_scanner_result_external_urls_count,\n cookie_counts,\n consents_deleted_at,\n nav_menus,\n tcf_vendor_configuration_counts,\n dashboard_migration,\n fomo_coupon\n }) {\n this.hasManager = has_manager;\n this.needsRevisionRetrigger = needs_retrigger;\n this.publicCookieCount = public_cookie_count;\n this.allCookieCount = all_cookie_count;\n this.allBlockerCount = all_blocker_count;\n this.allTcfVendorConfigurationCount = all_tcf_vendor_configuration_count;\n this.allScannerResultPresetsCount = all_scanner_result_presets_count;\n this.allScannerResultExternalUrlsCount = all_scanner_result_external_urls_count;\n this.cookieCounts = cookie_counts;\n this.consentsDeletedAt = consents_deleted_at;\n this.nav_menus = nav_menus;\n this.tcfVendorConfigurationCounts = tcf_vendor_configuration_counts;\n this.contexts = contexts;\n this.dashboardMigration = dashboard_migration;\n this.fomoCoupon = fomo_coupon;\n }\n\n setShowLicenseFormImmediate(state, isLicensed) {\n this.others.showLicenseFormImmediate = state;\n this.others.isLicensed = isLicensed;\n }\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busySettings\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"busyCountryBypassUpdate\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"busyAddLinksToNavigationMenu\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"needsRevisionRetrigger\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"publicCookieCount\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"allCookieCount\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n}), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"allBlockerCount\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n}), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"allTcfVendorConfigurationCount\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n}), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"allScannerResultPresetsCount\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n}), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"allScannerResultExternalUrlsCount\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return 0;\n }\n}), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"cookieCounts\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return {\n draft: 0,\n private: 0,\n publish: 0\n };\n }\n}), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"nav_menus\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return [];\n }\n}), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"tcfVendorConfigurationCounts\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"hasManager\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"contexts\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return {\n \"\": \"\"\n };\n }\n}), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"dashboardMigration\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"fomoCoupon\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, \"bannerActive\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor19 = _applyDecoratedDescriptor(_class.prototype, \"blockerActive\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor20 = _applyDecoratedDescriptor(_class.prototype, \"imprintId\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor21 = _applyDecoratedDescriptor(_class.prototype, \"imprintExternalUrl\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor22 = _applyDecoratedDescriptor(_class.prototype, \"imprintIsExternalUrl\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor23 = _applyDecoratedDescriptor(_class.prototype, \"privacyPolicyId\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor24 = _applyDecoratedDescriptor(_class.prototype, \"privacyPolicyExternalUrl\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor25 = _applyDecoratedDescriptor(_class.prototype, \"privacyPolicyIsExternalUrl\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor26 = _applyDecoratedDescriptor(_class.prototype, \"hidePageIds\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor27 = _applyDecoratedDescriptor(_class.prototype, \"setCookiesViaManager\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor28 = _applyDecoratedDescriptor(_class.prototype, \"acceptAllForBots\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor29 = _applyDecoratedDescriptor(_class.prototype, \"respectDoNotTrack\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor30 = _applyDecoratedDescriptor(_class.prototype, \"cookieDuration\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor31 = _applyDecoratedDescriptor(_class.prototype, \"saveIp\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor32 = _applyDecoratedDescriptor(_class.prototype, \"ePrivacyUSA\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor33 = _applyDecoratedDescriptor(_class.prototype, \"ageNotice\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor34 = _applyDecoratedDescriptor(_class.prototype, \"listServicesNotice\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor35 = _applyDecoratedDescriptor(_class.prototype, \"consentForwarding\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor36 = _applyDecoratedDescriptor(_class.prototype, \"forwardTo\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor37 = _applyDecoratedDescriptor(_class.prototype, \"crossDomains\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor38 = _applyDecoratedDescriptor(_class.prototype, \"affiliateLink\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor39 = _applyDecoratedDescriptor(_class.prototype, \"affiliateLabelBehind\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor40 = _applyDecoratedDescriptor(_class.prototype, \"affiliateLabelDescription\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor41 = _applyDecoratedDescriptor(_class.prototype, \"countryBypass\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor42 = _applyDecoratedDescriptor(_class.prototype, \"countryBypassCountries\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor43 = _applyDecoratedDescriptor(_class.prototype, \"countryBypassType\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor44 = _applyDecoratedDescriptor(_class.prototype, \"countryBypassDbDownloadTime\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor45 = _applyDecoratedDescriptor(_class.prototype, \"tcf\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor46 = _applyDecoratedDescriptor(_class.prototype, \"tcfPublisherCc\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor47 = _applyDecoratedDescriptor(_class.prototype, \"tcfAcceptedTime\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor48 = _applyDecoratedDescriptor(_class.prototype, \"tcfGvlDownloadTime\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor49 = _applyDecoratedDescriptor(_class.prototype, \"tcfScopeOfConsent\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor50 = _applyDecoratedDescriptor(_class.prototype, \"consentDuration\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor51 = _applyDecoratedDescriptor(_class.prototype, \"consentsDeletedAt\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor52 = _applyDecoratedDescriptor(_class.prototype, \"others\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _applyDecoratedDescriptor(_class.prototype, \"isOnlyRcbCookieCreated\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"isOnlyRcbCookieCreated\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"areSettingsFetched\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"areSettingsFetched\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setFromCurrentRevision\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"setFromCurrentRevision\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setShowLicenseFormImmediate\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"setShowLicenseFormImmediate\"), _class.prototype)), _class);\nexport { OptionStore };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;\n\nimport { computed, flow, observable, action } from \"mobx\";\nimport { ScannerResultExternalUrl, ScannerResultPreset, ScannerResultExternalUrlSingle } from \"../models\";\nimport { request } from \"../utils\";\nimport { locationRestScannerResultAllExternalUrlsByHostGet, locationRestScannerResultPresetsGet, locationRestScannerQueuePost, locationRestScannerResultExternalsGet, locationRestScannerResultMarkupGet } from \"../wp-api\";\nlet ScannerStore = (_class = class ScannerStore {\n get sortedExternalUrls() {\n const result = Array.from(this.resultExternalUrls.values()); // Move inactive items to the bottom list\n\n result.sort((a, b) => a.inactive === b.inactive ? 0 : a.inactive ? 1 : -1);\n return result;\n }\n\n get presetsCount() {\n return this.fetchedAllResultPresets ? this.resultPresets.size : this.rootStore.optionStore.allScannerResultPresetsCount;\n }\n\n get externalUrlsCount() {\n return this.fetchedAllResultExternalUrls ? this.resultExternalUrls.size : this.rootStore.optionStore.allScannerResultExternalUrlsCount;\n }\n\n get canShowResults() {\n var _this$rootStore$check;\n\n return this.presetsCount + this.externalUrlsCount > 0 && ((_this$rootStore$check = this.rootStore.checklistStore.checklist) === null || _this$rootStore$check === void 0 ? void 0 : _this$rootStore$check.items[\"scanner\"].checked);\n }\n\n get foundScanResultsCount() {\n return this.resultPresets.size + this.resultExternalUrls.size;\n }\n /**\n * Count of presets and external URL hosts which still needs attention.\n */\n\n\n get needsAttentionCount() {\n return [...this.resultPresets.values(), ...this.resultExternalUrls.values()].filter(({\n inactive\n }) => !inactive).length;\n }\n\n constructor(rootStore) {\n _initializerDefineProperty(this, \"resultPresets\", _descriptor, this);\n\n _initializerDefineProperty(this, \"busyResultPresets\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"fetchedAllResultPresets\", _descriptor3, this);\n\n _initializerDefineProperty(this, \"resultExternalUrls\", _descriptor4, this);\n\n _initializerDefineProperty(this, \"resultAllExternalUrls\", _descriptor5, this);\n\n _initializerDefineProperty(this, \"busyExternalUrls\", _descriptor6, this);\n\n _initializerDefineProperty(this, \"fetchedAllResultExternalUrls\", _descriptor7, this);\n\n _initializerDefineProperty(this, \"busyMarkup\", _descriptor8, this);\n\n _initializerDefineProperty(this, \"resultMarkup\", _descriptor9, this);\n\n this.rootStore = void 0;\n this.addUrlsToQueue = flow(function* (data) {\n return yield request({\n location: locationRestScannerQueuePost,\n request: data\n });\n });\n this.fetchResultPresets = flow(function* () {\n this.busyResultPresets = true;\n\n try {\n this.resultPresetsFromResponse(yield request({\n location: locationRestScannerResultPresetsGet\n }));\n this.fetchedAllResultPresets = true;\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyResultPresets = false;\n }\n });\n this.fetchResultExternals = flow(function* () {\n this.busyExternalUrls = true;\n\n try {\n this.resultExternalUrlsFromResponse(yield request({\n location: locationRestScannerResultExternalsGet\n }));\n this.fetchedAllResultExternalUrls = true;\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyExternalUrls = false;\n }\n });\n this.fetchResultAllExternals = flow(function* (instance) {\n const type = instance instanceof ScannerResultExternalUrl ? \"host\" : \"preset\";\n const {\n identifier\n } = instance;\n instance.busy = true;\n\n try {\n const {\n items\n } = yield request({\n location: locationRestScannerResultAllExternalUrlsByHostGet,\n params: {\n type,\n identifier: type === \"host\" ? identifier.replace(/\\./g, \"_\") : identifier\n }\n }); // Check if map for this host already exists\n\n let map = this.resultAllExternalUrls.get(identifier);\n\n if (!map) {\n map = new Map();\n } else {\n // As we load all data within one request, we can safely remove stale objects\n const existing = items.map(({\n id\n }) => id);\n\n for (const probablyStaleKey of map.keys()) {\n if (existing.indexOf(probablyStaleKey) === -1) {\n map.delete(probablyStaleKey);\n }\n }\n } // Save presets as objects\n\n\n for (const item of Object.values(items)) {\n map.set(item.id, new ScannerResultExternalUrlSingle(item, this));\n this.resultAllExternalUrls.set(identifier, map);\n }\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n instance.busy = false;\n }\n });\n this.fetchMarkup = flow(function* (id) {\n this.busyMarkup = true;\n\n try {\n const result = yield request({\n location: locationRestScannerResultMarkupGet,\n params: {\n id\n }\n });\n this.resultMarkup.set(id, result);\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyMarkup = false;\n }\n });\n this.rootStore = rootStore;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n resultPresetsFromResponse({\n items\n }) {\n // As we load all data within one request, we can safely remove stale objects\n const existing = Object.keys(items);\n\n for (const probablyStaleKey of this.resultPresets.keys()) {\n if (existing.indexOf(probablyStaleKey) === -1) {\n this.resultPresets.delete(probablyStaleKey);\n }\n } // Save presets as object\n\n\n for (const pid of existing) {\n this.resultPresets.set(pid, new ScannerResultPreset(items[pid], this));\n }\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n resultExternalUrlsFromResponse({\n items\n }) {\n // As we load all data within one request, we can safely remove stale objects\n const existing = Object.keys(items);\n\n for (const probablyStaleKey of this.resultExternalUrls.keys()) {\n if (existing.indexOf(probablyStaleKey) === -1) {\n this.resultExternalUrls.delete(probablyStaleKey);\n }\n } // Save presets as objects\n\n\n for (const externalHost of existing) {\n this.resultExternalUrls.set(externalHost, new ScannerResultExternalUrl(items[externalHost], this));\n }\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"resultPresets\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"busyResultPresets\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"fetchedAllResultPresets\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"resultExternalUrls\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"resultAllExternalUrls\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"busyExternalUrls\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"fetchedAllResultExternalUrls\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"busyMarkup\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"resultMarkup\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _applyDecoratedDescriptor(_class.prototype, \"sortedExternalUrls\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"sortedExternalUrls\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"presetsCount\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"presetsCount\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"externalUrlsCount\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"externalUrlsCount\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"canShowResults\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"canShowResults\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"foundScanResultsCount\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"foundScanResultsCount\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"needsAttentionCount\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"needsAttentionCount\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"resultPresetsFromResponse\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"resultPresetsFromResponse\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"resultExternalUrlsFromResponse\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"resultExternalUrlsFromResponse\"), _class.prototype)), _class);\nexport { ScannerStore };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor;\n\nimport { observable, flow, runInAction, action } from \"mobx\";\nimport { BaseOptions } from \"@devowl-wp/utils\";\nimport moment from \"moment\";\nconst DATE_FORMAT = \"YYYY-MM-DD\";\nlet StatsStore = (_class = class StatsStore extends BaseOptions {\n constructor(rootStore) {\n super();\n\n _initializerDefineProperty(this, \"busyStats\", _descriptor, this);\n\n this.rootStore = void 0;\n this.stats = observable.object({\n main: undefined,\n buttonsClicked: undefined,\n customBypass: undefined\n }, {}, {\n deep: false\n });\n this.filters = observable.object({\n dates: undefined,\n context: undefined\n }, {}, {\n deep: false\n });\n this.fetchMain = flow(function* () {\n if (process.env.PLUGIN_CTX === \"pro\") {\n /* Silence is golden... Until you have PRO Version! */\n } else {\n throw new Error(\"This feature is not available in the free version.\");\n }\n });\n this.fetchButtonsClicked = flow(function* () {\n if (process.env.PLUGIN_CTX === \"pro\") {\n /* Silence is golden... Until you have PRO Version! */\n } else {\n throw new Error(\"This feature is not available in the free version.\");\n }\n });\n this.fetchCustomBypass = flow(function* () {\n if (process.env.PLUGIN_CTX === \"pro\") {\n /* Silence is golden... Until you have PRO Version! */\n } else {\n throw new Error(\"This feature is not available in the free version.\");\n }\n });\n this.rootStore = rootStore;\n runInAction(() => {\n this.filters.dates = [moment().subtract(30, \"days\"), moment()];\n this.filters.context = this.rootStore.optionStore.others.context;\n });\n }\n /**\n * This action does not actually refetch the stats, you need to act on your components!\n *\n * @param dates\n */\n\n\n applyDates(dates) {\n this.filters.dates = dates;\n }\n /**\n * This action does not actually refetch the stats, you need to act on your components!\n *\n * @param context\n */\n\n\n applyContext(context) {\n this.filters.context = context;\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busyStats\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return {\n main: false,\n buttonClicked: false,\n customBypass: false\n };\n }\n}), _applyDecoratedDescriptor(_class.prototype, \"applyDates\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyDates\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"applyContext\", [action], Object.getOwnPropertyDescriptor(_class.prototype, \"applyContext\"), _class.prototype)), _class);\nexport { StatsStore };","import { configure } from \"mobx\";\nimport { createContextFactory } from \"@devowl-wp/utils\";\nimport { OptionStore, CustomizeBannerStore, CookieStore, ConsentStore, StatsStore, ChecklistStore, TcfStore, ScannerStore } from \".\";\nconfigure({\n enforceActions: \"always\"\n});\n/**\n * A collection of all available stores which gets available\n * through the custom hook useStores in your function components.\n *\n * @see https://mobx.js.org/best/store.html#combining-multiple-stores\n */\n\nclass RootStore {\n get context() {\n return this.contextMemo ? this.contextMemo : this.contextMemo = createContextFactory(this);\n }\n\n constructor() {\n this.optionStore = void 0;\n this.customizeBannerStore = void 0;\n this.cookieStore = void 0;\n this.consentStore = void 0;\n this.statsStore = void 0;\n this.checklistStore = void 0;\n this.tcfStore = void 0;\n this.scannerStore = void 0;\n this.contextMemo = void 0;\n this.optionStore = new OptionStore(this);\n this.customizeBannerStore = new CustomizeBannerStore(this);\n this.cookieStore = new CookieStore(this);\n this.consentStore = new ConsentStore(this);\n this.statsStore = new StatsStore(this);\n this.checklistStore = new ChecklistStore(this);\n this.tcfStore = new TcfStore(this);\n this.scannerStore = new ScannerStore(this);\n }\n\n static get StoreProvider() {\n return RootStore.get.context.StoreProvider;\n }\n\n static get get() {\n return RootStore.me ? RootStore.me : RootStore.me = new RootStore();\n }\n\n}\n\nRootStore.me = void 0;\n\nconst useStores = () => RootStore.get.context.useStores();\n\nexport { RootStore, useStores };","import _initializerDefineProperty from \"@babel/runtime/helpers/initializerDefineProperty\";\nimport _applyDecoratedDescriptor from \"@babel/runtime/helpers/applyDecoratedDescriptor\";\nimport _initializerWarningHelper from \"@babel/runtime/helpers/initializerWarningHelper\";\n\nvar _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor10, _descriptor11, _descriptor12, _descriptor13;\n\nimport { observable, flow, computed, runInAction } from \"mobx\";\nimport { BaseOptions } from \"@devowl-wp/utils\";\nimport { locationRestTcfDeclarationsGet } from \"../wp-api\";\nimport { locationRestTcfVendorsGet } from \"../wp-api\";\nimport { locationRestTcfGvlPut } from \"../wp-api\";\nimport { request } from \"../utils\";\nimport { TcfPurpose, TcfVendor, TcfFeature, TcfVendorConfigurationCollection } from \"../models\";\nlet TcfStore = (_class = class TcfStore extends BaseOptions {\n get vendorConfigurationCount() {\n return this.fetchedAllVendorConfigurations ? this.vendorConfigurations.entries.size : this.rootStore.optionStore.allTcfVendorConfigurationCount;\n }\n\n constructor(rootStore) {\n super();\n\n _initializerDefineProperty(this, \"busyGvl\", _descriptor, this);\n\n _initializerDefineProperty(this, \"busyVendors\", _descriptor2, this);\n\n _initializerDefineProperty(this, \"busyDeclarations\", _descriptor3, this);\n\n _initializerDefineProperty(this, \"vendorConfigurations\", _descriptor4, this);\n\n _initializerDefineProperty(this, \"fetchedAllVendorConfigurations\", _descriptor5, this);\n\n _initializerDefineProperty(this, \"vendorListVersion\", _descriptor6, this);\n\n _initializerDefineProperty(this, \"gvlSpecificationVersion\", _descriptor7, this);\n\n _initializerDefineProperty(this, \"tcfPolicyVersion\", _descriptor8, this);\n\n _initializerDefineProperty(this, \"vendors\", _descriptor9, this);\n\n _initializerDefineProperty(this, \"purposes\", _descriptor10, this);\n\n _initializerDefineProperty(this, \"specialPurposes\", _descriptor11, this);\n\n _initializerDefineProperty(this, \"features\", _descriptor12, this);\n\n _initializerDefineProperty(this, \"specialFeatures\", _descriptor13, this);\n\n this.rootStore = void 0;\n this.fetchVendorConfigurations = flow(function* () {\n // In our UI, we do not have pagination, yet, so load all\n const perPage = 100;\n const pages = Math.ceil(this.vendorConfigurationCount / perPage);\n\n for (let i = 0; i < pages; i++) {\n yield this.vendorConfigurations.get({\n request: {\n status: [\"draft\", \"publish\", \"private\"]\n },\n params: {\n offset: i * perPage,\n // eslint-disable-next-line @typescript-eslint/naming-convention\n per_page: 100,\n // Fetch all\n context: \"edit\"\n }\n });\n }\n\n this.fetchedAllVendorConfigurations = true;\n });\n this.fetchVendors = flow(function* () {\n this.busyVendors = true;\n\n try {\n const {\n vendorListVersion,\n vendors\n } = yield request({\n location: locationRestTcfVendorsGet\n });\n\n for (const vid of Object.keys(vendors)) {\n this.vendors.set(vid, new TcfVendor(vendors[vid], this));\n }\n\n this.vendorListVersion = vendorListVersion;\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyVendors = false;\n }\n });\n this.fetchDeclarations = flow(function* () {\n this.busyDeclarations = true;\n\n try {\n const {\n gvlSpecificationVersion,\n tcfPolicyVersion,\n purposes,\n specialPurposes,\n features,\n specialFeatures\n } = yield request({\n location: locationRestTcfDeclarationsGet\n });\n\n for (const pid of Object.keys(purposes)) {\n this.purposes.set(pid, new TcfPurpose(purposes[pid], false, this));\n }\n\n for (const pid of Object.keys(specialPurposes)) {\n this.specialPurposes.set(pid, new TcfPurpose(specialPurposes[pid], true, this));\n }\n\n for (const pid of Object.keys(features)) {\n this.features.set(pid, new TcfFeature(features[pid], false, this));\n }\n\n for (const pid of Object.keys(specialFeatures)) {\n this.specialFeatures.set(pid, new TcfFeature(specialFeatures[pid], true, this));\n }\n\n this.gvlSpecificationVersion = gvlSpecificationVersion;\n this.tcfPolicyVersion = tcfPolicyVersion;\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyDeclarations = false;\n }\n });\n this.updateGvl = flow(function* () {\n this.busyGvl = true;\n\n try {\n const {\n gvlDownloadTime\n } = yield request({\n location: locationRestTcfGvlPut\n });\n this.rootStore.optionStore.tcfGvlDownloadTime = gvlDownloadTime;\n } catch (e) {\n console.log(e);\n throw e;\n } finally {\n this.busyGvl = false;\n }\n });\n this.rootStore = rootStore;\n runInAction(() => {\n this.vendorConfigurations = new TcfVendorConfigurationCollection(this);\n });\n } // eslint-disable-next-line @typescript-eslint/member-ordering\n\n\n}, (_descriptor = _applyDecoratedDescriptor(_class.prototype, \"busyGvl\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"busyVendors\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"busyDeclarations\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"vendorConfigurations\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"fetchedAllVendorConfigurations\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return false;\n }\n}), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"vendorListVersion\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"gvlSpecificationVersion\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"tcfPolicyVersion\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n}), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"vendors\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"purposes\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"specialPurposes\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"features\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"specialFeatures\", [observable], {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: function () {\n return new Map();\n }\n}), _applyDecoratedDescriptor(_class.prototype, \"vendorConfigurationCount\", [computed], Object.getOwnPropertyDescriptor(_class.prototype, \"vendorConfigurationCount\"), _class.prototype)), _class);\nexport { TcfStore };","const SCAN_QUEUE_JOB = \"rcb-scan\";\nconst AUTOMATIC_SCAN_STATER_QUEUE_JOB = \"rcb-automatic-scan-starter\";\nexport { SCAN_QUEUE_JOB, AUTOMATIC_SCAN_STATER_QUEUE_JOB };","function copyToClipboard(text) {\n const textField = document.createElement(\"textarea\");\n textField.innerText = text;\n document.body.appendChild(textField);\n textField.select();\n document.execCommand(\"copy\");\n textField.remove();\n}\n\nexport { copyToClipboard };","/**\n * Use this if you do not have the Mobx store available in your JavaScript asset.\n * E. g. the `banner.js` does not rely on the mobx store and should access the\n * localized options via `window.realCookieBanner` directly.\n */\nfunction getOptionsFromWindow() {\n return window[process.env.slug.replace(/-([a-z])/g, g => g[1].toUpperCase())];\n}\n\nexport { getOptionsFromWindow };","import { getOptionsFromWindow } from \"./getOptionsFromWindow\";\n/**\n * Use this if you do not have the Mobx store available in your JavaScript asset.\n * E. g. the `banner.js` does not rely on the mobx store and should access the\n * localized options via `window.realCookieBanner.others` directly.\n */\n\nfunction getOtherOptionsFromWindow() {\n return getOptionsFromWindow().others;\n}\n\nexport { getOtherOptionsFromWindow };","/* istanbul ignore file: this file does not contain any logic, only factory calls */\nimport { createLocalizationFactory, BaseOptions } from \"@devowl-wp/utils\"; // Only needed once per `window`\n\nlet FACTORY_MEMO;\n\nfunction get() {\n return FACTORY_MEMO ? FACTORY_MEMO : FACTORY_MEMO = createLocalizationFactory(BaseOptions.getPureSlug(process.env.slug));\n}\n\nconst _n = (...args) => get()._n(...args);\n\nconst _nx = (...args) => get()._nx(...args);\n\nconst _x = (...args) => get()._x(...args);\n\nconst __ = (...args) => get().__(...args);\n\nconst _i = (...args) => get()._i(...args);\n\nexport { _n, _nx, _x, __, _i };","/* istanbul ignore file: this file does not contain any logic, only factory calls */\nimport { createRequestFactory, BaseOptions } from \"@devowl-wp/utils\"; // Only needed once per `window`\n\nlet FACTORY_MEMO;\n\nfunction get() {\n return FACTORY_MEMO ? FACTORY_MEMO : FACTORY_MEMO = createRequestFactory(window[BaseOptions.getPureSlug(process.env.slug, true)]);\n}\n\nconst urlBuilder = (...args) => get().urlBuilder(...args);\n\nconst request = (...args) => get().request(...args);\n\nexport { urlBuilder, request };","/**\n * @see https://www.w3schools.com/howto/howto_js_scroll_to_top.asp\n */\nfunction scrollTo(top = 0) {\n document.body.scrollTop = top; // For Safari\n\n document.documentElement.scrollTop = top; // For Chrome, Firefox, IE and Opera\n}\n\nexport { scrollTo };","/**\n * Truncate a string with separator in the middle of the string.\n *\n * @see https://stackoverflow.com/a/5723274/5506547\n */\nfunction truncateMiddle(str, maxLength = 50, separator = \"...\") {\n if (!str || str.length <= maxLength) {\n return str;\n }\n\n const sepLen = separator.length;\n const charsToShow = maxLength - sepLen;\n const frontChars = Math.ceil(charsToShow / 2);\n const backChars = Math.floor(charsToShow / 2);\n return str.substr(0, frontChars) + separator + str.substr(str.length - backChars);\n}\n\nexport { truncateMiddle };","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestChecklistGet = {\n path: \"/checklist\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestChecklistPut = {\n path: \"/checklist/:id\",\n method: RouteHttpVerb.PUT\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestConsentAllDelete = {\n path: \"/consent/all\",\n method: RouteHttpVerb.DELETE\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestConsentAllGet = {\n path: \"/consent/all\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestConsentRefererGet = {\n path: \"/consent/referer\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestCookieGroupOrderPut = {\n path: \"/cookie-groups/order\",\n method: RouteHttpVerb.PUT\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestCookieUnassignedGet = {\n path: \"/cookies/unassigned\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestCookiesOrderPut = {\n path: \"/cookies/order\",\n method: RouteHttpVerb.PUT\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestCountryBypassDatabasePut = {\n path: \"/country-bypass/database\",\n method: RouteHttpVerb.PUT\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestExportGet = {\n path: \"/export\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestExportConsentsGet = {\n path: \"/export/consents\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestForwardCookieGet = {\n path: \"/forward/cookie/:slug\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestForwardEndpointsGet = {\n path: \"/forward/endpoints\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestImportPost = {\n path: \"/import\",\n method: RouteHttpVerb.POST\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestConsentPost = {\n path: \"/consent\",\n method: RouteHttpVerb.POST\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestConsentGet = {\n path: \"/consent\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestStatsMainGet = {\n path: \"/stats/main\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestStatsCustomBypassGet = {\n path: \"/stats/customBypass\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestStatsButtonsClickedGet = {\n path: \"/stats/buttonsClicked\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestConsentClearDelete = {\n path: \"/consent/clear\",\n method: RouteHttpVerb.DELETE\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestConsentForwardPost = {\n path: \"/consent/forward\",\n method: RouteHttpVerb.POST\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestConsentDynamicPredecisionGet = {\n path: \"/consent/dynamic-predecision\",\n method: RouteHttpVerb.POST\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestLiteDismissConfigPageProNotice = {\n path: \"/dismiss-config-page-pro-notice\",\n method: RouteHttpVerb.DELETE\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestMigrationDelete = {\n path: \"/migration/:migration\",\n method: RouteHttpVerb.DELETE\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestMigrationPost = {\n path: \"/migration/:migration/:action\",\n method: RouteHttpVerb.POST\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestModalHintSeenPut = {\n path: \"/modal-hint\",\n method: RouteHttpVerb.PUT\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestNavMenuAddLinksPost = {\n path: \"/nav-menu/add-links\",\n method: RouteHttpVerb.POST\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestPresetsBannerGet = {\n path: \"/presets/banner\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestPresetsBlockerGet = {\n path: \"/presets/blocker\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestPresetsBlockerAttributesGet = {\n path: \"/presets/blocker/:identifier\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestPresetsCookiesGet = {\n path: \"/presets/cookies\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestPresetsCookiesAttributesGet = {\n path: \"/presets/cookies/:identifier\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestRevisionGet = {\n path: \"/revision/:hash\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestRevisionCurrentGet = {\n path: \"/revision/current\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestRevisionCurrentPut = {\n path: \"/revision/current\",\n method: RouteHttpVerb.PUT\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestRevisionIndependentGet = {\n path: \"/revision/independent/:hash\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestScannerQueuePost = {\n path: \"/scanner/queue\",\n method: RouteHttpVerb.POST\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestScannerResultAllExternalUrlsByHostGet = {\n path: \"/scanner/result/externals/:type/:identifier\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestScannerResultExternalsGet = {\n path: \"/scanner/result/externals\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestScannerResultExternalPatch = {\n path: \"/scanner/result/externals/:host\",\n method: RouteHttpVerb.PUT\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestScannerResultMarkupGet = {\n path: \"/scanner/result/markup/:id\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestScannerResultPresetsGet = {\n path: \"/scanner/result/presets\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestTcfDeclarationsGet = {\n path: \"/tcf/declarations\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestTcfGvlPut = {\n path: \"/tcf/gvl\",\n method: RouteHttpVerb.PUT\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestTcfVendorsGet = {\n path: \"/tcf/vendors\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestWpSettings = {\n path: \"/settings\",\n namespace: \"wp/v2\",\n method: RouteHttpVerb.GET\n};","import { RouteHttpVerb } from \"@devowl-wp/utils\";\nexport const locationRestWpSettingsPatch = {\n path: \"/settings\",\n namespace: \"wp/v2\",\n method: RouteHttpVerb.PATCH\n};","module.exports = React;","module.exports = ReactDOM;","module.exports = ReactRouterDOM;","module.exports = devowlWp_customize;","module.exports = devowlWp_realProductManagerWpClient;","module.exports = devowlWp_realQueue;","module.exports = devowlWp_utils;","module.exports = jQuery;","module.exports = mobx;","module.exports = moment;","module.exports = wp;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + ({\"3\":\"chunk-config-tab-scanner\",\"184\":\"chunk-config-tab-tcf\",\"322\":\"chunk-config-tab-licensing\",\"357\":\"chunk-config-tab-import\",\"379\":\"chunk-config-tab-dashboard\",\"478\":\"chunk-config-tab-blocker\",\"625\":\"chunk-config-tab-consent\",\"718\":\"chunk-config-tab-cookies\",\"768\":\"chunk-config-tab-settings\"}[chunkId] || chunkId) + \".lite.js?ver=\" + {\"3\":\"fda8a3d7baf68c23de17\",\"81\":\"1597b7ea247ebc729b3f\",\"85\":\"c1cace28db802702418a\",\"184\":\"fe97b05fb51ed960cc94\",\"185\":\"06765c274e74fab6e574\",\"307\":\"73276fcc2cfb96b77e26\",\"322\":\"5e85950ce97d48f995ac\",\"357\":\"7df71e03e569097e1232\",\"379\":\"54231007934f68c04f42\",\"414\":\"80bd17f5390c8b52cd65\",\"446\":\"8bd9b252600f8f721c0e\",\"466\":\"b69d94a17213c9cde347\",\"474\":\"acc17755b51f87dc3229\",\"478\":\"76f4ec784e34db6f7508\",\"544\":\"046af70c36e9f6a7dfd9\",\"578\":\"36d419efcf879ad47d09\",\"625\":\"076d92e5df126e3aa1fd\",\"637\":\"ef6cb6d16781bb56366d\",\"718\":\"7bc9539bfbf1059837b6\",\"737\":\"f0776900ca027073c701\",\"768\":\"9cbb4b6f33a116a0e1b5\",\"793\":\"20235de6234cd515b3d0\",\"853\":\"e18a682e86c2a3514386\",\"902\":\"dff6cad5a218cf713e40\",\"932\":\"cba370a1023bd0e9d17c\"}[chunkId] + \"\";\n};","// This function allow to reference all chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + \"admin\" + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript)\n\t\tscriptUrl = document.currentScript.src\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) scriptUrl = scripts[scripts.length - 1].src\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t328: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkrealCookieBanner_\"] = self[\"webpackChunkrealCookieBanner_\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [194], () => (__webpack_require__(6974)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["deferred","inProgress","dataWebpackPrefix","ETcfGvlDisclosureType","ETcfGvlLanguage","LABEL_GTM","LABEL_MTM","getManagerDependingVariables","setCookiesViaManager","presetId","useGlobalObjectName","getDataLayer","expectedManagerPresetId","serviceIsManager","managerLabel","isGtm","isMtm","window","I18nContextFactory","static","this","context","createContext","useI18n","useContext","Context","newlineRegex","reactNl2Br","text","split","map","line","index","match","createElement","key","getWebpackPublicPath","handleCorrupRestApi","async","location","path","namespace","prefixCls","top","node","document","getElementById","concat","I18nContext","render","React","Provider","value","__","_i","locale","DashboardChecklistItem","id","checked","title","description","link","linkText","linkTarget","needsPro","onLinkClick","optionStore","others","isPro","fomoCoupon","isInfo","extraContentTag","extraContentDescription","useLink","percent","scanPercent","remaining","scanRemaining","currentJob","useScannerProgress","group_position","style","margin","InfoCircleFilled","color","CheckCircleFilled","CheckCircleOutlined","textDecoration","undefined","fontWeight","Fragment","href","target","rel","onClick","className","paddingLeft","DashboardChecklistCardContent","props","checklistStore","busyChecklist","items","completed","checkable","done","checklist","overdue","showHidden","setShowHidden","useState","spinning","direction","size","icon","MinusCircleOutlined","cursor","length","rest","e","indexOf","toggleChecklistItem","NoticeRevisionNeedsRetrigger","pathname","useLocation","needsRevisionRetrigger","updateCurrentRevision","needs_retrigger","a","placement","onConfirm","okText","cancelText","overlayStyle","maxWidth","NoticeBannerActiveNoCookies","publicCookieCount","busySettings","bannerActive","NoticeAnonymousScriptNotWritable","showNoticeAnonymousScriptNotWritable","getOtherOptionsFromWindow","code","NoticeNoManager","hasManager","test","strong","RouterScrollToTop","listen","useHistory","useEffect","destroy","scrollTo","ProHeadlineButton","proUrl","isConfigProNoticeVisible","handleConfirm","useCallback","open","dismissConfigProNotice","handleClose","visible","InfoCircleOutlined","onCancel","ConfigHeader","isChecklistModalOpen","setChecklistModalOpen","customizeBannerUrl","publicUrl","fetchChecklist","handleCustomizeBannerButtonClick","encodeURIComponent","preventDefault","handleChecklistModalOpen","handleChecklistModalClose","src","background","borderColor","okButtonProps","display","width","ConfigFooter","HeartFilled","CSS_SPINNER_IN_CONTENT","marginTop","createSuspenseComponent","tab","children","default","SuspenseChunkTranslation","chunkFile","options","fallback","DashboardCards","lazy","then","SettingsForm","ScannerRouter","CookieGroupsTabRouter","ConsentTabRouter","BlockerRouter","ImportExportCards","ConfigLicensing","ConfigApp","showLicenseFormImmediate","colorScheme","badgeColor","useLayoutEffect","fetchSettings","listener","event","JOB_DONE_EVENT_PREFIX","addEventListener","removeEventListener","notice","Suspense","NavLink","to","activeClassName","exact","count","fontSize","height","lineHeight","host","Switch","Route","areSettingsFetched","IN_APP_FOMO_URL_PARAMETER_TO_DEACTIVATE_WEBSITE_FOMO","InAppFomoCouponCounter","coupon","valueInPercent","validUntil","createTimerString","Date","getTime","fullSeconds","Math","floor","v","filter","i","join","setRerender","interval","setInterval","clearInterval","timerString","message","tag","marginRight","strongHours","strongPercent","ProModal","showHints","showFomoCouponCounter","testDrive","assetName","feature","onClose","inContainer","inContainerElement","hints","descriptionRef","setDescriptionRef","handleRedirect","focus","parentElement","previousElementSibling","removeAttribute","hint","proDialog","onOk","getContainer","ref","textAlign","marginBottom","ProModalHint","logo","wrap","flex","dangerouslySetInnerHTML","__html","alignSelf","marginLeft","PRO_TAG_BACKGROUND_COLOR","useProModal","overrideIsPro","setVisible","useIsPro","useMemo","tagText","modal","fetchStatusInterval","fetchAdditionalData","scannerStore","useProgress","type","onAdditionalData","rcbScanList","presets","externalUrls","resultPresetsFromResponse","resultExternalUrlsFromResponse","_class","_descriptor","_descriptor2","_descriptor3","_descriptor4","_descriptor5","_descriptor6","BannerPreset","constructor","preset","store","resetPreviewInUiSettings","runInAction","set","querySelector","contentWindow","realCookieBanner_customize_banner","RootStore","get","applyInUi","rootStore","previewInUi","setTimeout","customize","getSidebarCustomize","presetDefaults","forEach","defaultValue","settings","customizeIdsBanner","batchUpdates","section","Object","keys","sectionSettings","setting","customizeKey","has","newValue","prototype","hasOwnProperty","call","push","getIframeStore","customizeBannerStore","setBannerFromPreset","resetPreviewInUi","values","observable","configurable","enumerable","writable","initializer","BlockerCollection","ClientCollection","singlePath","methods","RouteHttpVerb","request","_dec","AbstractPostCollection","super","instance","response","fromResponse","_class2","BlockerModel","ClientModel","keyId","create","patch","delete","AbstractPost","rules","_this$data","data","meta","tcfVendors","_this$data2","Boolean","Number","services","_this$data3","collection","reaction","_this$data4","presetModel","fireImmediately","setName","name","rendered","setStatus","status","setDescription","purpose","content","setMeta","transformDataForPatch","slug","afterPatch","blockers","fetchCurrentRevision","afterDelete","afterPersist","computed","getOwnPropertyDescriptor","action","BlockerPreset","fullLogoUrl","logoFile","startsWith","fetchAttributes","flow","busy","params","identifier","attributes","console","log","_descriptor7","_descriptor8","_descriptor9","_descriptor10","_descriptor11","_descriptor12","_descriptor13","_descriptor14","_descriptor15","_descriptor16","_descriptor17","_descriptor18","_descriptor19","_descriptor20","_descriptor21","_descriptor22","_descriptor23","_descriptor24","_descriptor25","_descriptor26","_descriptor27","_descriptor28","_descriptor29","Consent","revision","revisions","revision_hash","revision_independent","revisionsIndependent","revision_independent_hash","custom_bypass_readable","custom_bypass","charAt","toUpperCase","slice","export","JSON","parse","stringify","plain","consent","fetchRevisions","Promise","all","fetchRevision","hash","fetchRevisionIndependent","CookieCollection","sortedCookies","result","Array","from","entries","sort","b","menu_order","orderCookies","ids","setOrder","CookieGroupCollection","AbstractCategoryCollection","sortedGroups","order","orderCookieGroups","CookieGroupModel","AbstractCategory","cookiesCount","fetchedAllCookies","cookies","fetchCookies","per_page","CookieModel","technicalDefinitions","codeDynamics","groups","thisGroup","group","cookieStore","unassignedCookies","setPurpose","setGroup","transformDataForPersist","probablyFetchByChangedItem","CookiePreset","Revision","RevisionIndependent","ScannerResultExternalUrl","inactive","blockedStatus","ignored","foundCount","blockedCount","blockedStatusText","externalUrl","ignore","state","replace","ScannerResultExternalUrlSingle","markup","resultMarkup","blockedUrlTruncate","blockedUrl","sourceUrlTruncate","sourceUrl","fetchMarkup","ScannerResultPreset","created","TcfFeature","special","TcfPurpose","TcfVendor","vendorConfiguration","c","vendorConfigurations","vendorModel","deviceStorageDisclosure","usesCookies","cookieMaxAgeSeconds","cookieRefresh","usesNonCookieAccess","disclosures","unshift","purposes","domain","maxAgeSeconds","allPurposes","legIntPurposes","specialPurposes","allFeatures","features","specialFeatures","restrictivePurposes","normal","toString","enabled","legInt","flexiblePurposes","_this$data5","_this$data6","TcfVendorConfigurationCollection","TcfVendorConfigurationModel","hasVendor","_this$vendorModel","_this$vendorModel2","disableRestrictivePurposes","tcfScopeOfConsent","originalRestrictivePurposes","stats","_this$vendorModel3","arr","activePurposes","activeFeatures","vendor","vendors","vendorId","existing","_this$data$meta","ChecklistStore","BaseOptions","itemId","force","useItemIds","isArray","_wp_http_referer","_this$checklist","dismissed","ConsentStore","filters","page","dates","referer","ip","uuid","deep","fetchAll","busyConsent","m","format","truncatedIpsCount","perPage","offset","pageCollection","clear","item","fetchReferer","busyReferer","deleteAll","applyPage","applyDates","applyContext","applyReferer","applyIp","applyUuid","Map","CookieStore","blockersCount","fetchedAllBlockers","allBlockerCount","reduce","total","num","fetchGroups","fetchUnassignedCookies","fetchBlockers","fetchPresetsBlocker","busyPresetsBlocker","pid","presetsBlocker","fetchPresetsCookie","busyPresetsCookie","presetsCookie","essentialGroup","it","next","CustomizeBannerStore","presetConstants","debounceFromCustomize","fetchPresets","busyPresets","defaults","constants","did","cid","setBannerFromCustomize","maybeDebounce","customizeValuesBanner","debounceSetting","clearTimeout","currentValue","forceAnimationOutSimulation","row","animationVisible","setIndividualPrivacyOpen","individualPrivacyOpen","setPreviewCheckboxActiveState","previewCheckboxActiveState","exportPhp","isNaN","jsonToPHPArray","output","shift","pop","full","spaces","namespaces","_descriptor30","_descriptor31","_descriptor32","_descriptor33","_descriptor34","_descriptor35","_descriptor36","_descriptor37","_descriptor38","_descriptor39","_descriptor40","_descriptor41","_descriptor42","_descriptor43","_descriptor44","_descriptor45","_descriptor46","_descriptor47","_descriptor48","_descriptor49","_descriptor50","_descriptor51","_descriptor52","OptionStore","isOnlyRcbCookieCreated","allCookieCount","tcf","allTcfVendorConfigurationCount","respectDoNotTrack","pureSlug","pureSlugCamelCased","setFrom","blockerActive","imprintId","imprintExternalUrl","imprintIsExternalUrl","privacyPolicyId","privacyPolicyExternalUrl","privacyPolicyIsExternalUrl","hidePageIds","acceptAllForBots","cookieDuration","saveIp","ePrivacyUSA","ageNotice","listServicesNotice","consentForwarding","forwardTo","crossDomains","countryBypass","countryBypassCountries","countryBypassType","countryBypassDbDownloadTime","tcfPublisherCc","tcfAcceptedTime","tcfGvlDownloadTime","consentDuration","updateSettings","affiliateLink","affiliateLabelBehind","affiliateLabelDescription","setFromCurrentRevision","setModalHintSeen","modalHints","dismissMigration","migration","dashboardMigration","addLinksToNavigationMenu","busyAddLinksToNavigationMenu","success","updateCountryBypassDatabase","busyCountryBypassUpdate","dbDownloadTime","assign","contexts","has_manager","public_cookie_count","all_cookie_count","all_blocker_count","all_tcf_vendor_configuration_count","all_scanner_result_presets_count","all_scanner_result_external_urls_count","cookie_counts","consents_deleted_at","nav_menus","tcf_vendor_configuration_counts","dashboard_migration","fomo_coupon","allScannerResultPresetsCount","allScannerResultExternalUrlsCount","cookieCounts","consentsDeletedAt","tcfVendorConfigurationCounts","setShowLicenseFormImmediate","isLicensed","draft","private","publish","ScannerStore","sortedExternalUrls","resultExternalUrls","presetsCount","fetchedAllResultPresets","resultPresets","externalUrlsCount","fetchedAllResultExternalUrls","canShowResults","_this$rootStore$check","foundScanResultsCount","needsAttentionCount","addUrlsToQueue","fetchResultPresets","busyResultPresets","fetchResultExternals","busyExternalUrls","fetchResultAllExternals","resultAllExternalUrls","probablyStaleKey","busyMarkup","externalHost","StatsStore","main","buttonsClicked","customBypass","fetchMain","Error","fetchButtonsClicked","fetchCustomBypass","subtract","buttonClicked","configure","enforceActions","contextMemo","createContextFactory","consentStore","statsStore","tcfStore","StoreProvider","me","useStores","TcfStore","vendorConfigurationCount","fetchedAllVendorConfigurations","fetchVendorConfigurations","pages","ceil","fetchVendors","busyVendors","vendorListVersion","vid","fetchDeclarations","busyDeclarations","gvlSpecificationVersion","tcfPolicyVersion","updateGvl","busyGvl","gvlDownloadTime","SCAN_QUEUE_JOB","AUTOMATIC_SCAN_STATER_QUEUE_JOB","copyToClipboard","textField","innerText","body","appendChild","select","execCommand","remove","getOptionsFromWindow","g","FACTORY_MEMO","createLocalizationFactory","_n","args","_x","createRequestFactory","urlBuilder","scrollTop","documentElement","truncateMiddle","str","maxLength","separator","charsToShow","frontChars","backChars","substr","locationRestChecklistGet","method","locationRestChecklistPut","locationRestConsentAllDelete","locationRestConsentAllGet","locationRestConsentRefererGet","locationRestCookieGroupOrderPut","locationRestCookieUnassignedGet","locationRestCookiesOrderPut","locationRestCountryBypassDatabasePut","locationRestExportGet","locationRestExportConsentsGet","locationRestForwardCookieGet","locationRestForwardEndpointsGet","locationRestImportPost","locationRestConsentPost","locationRestConsentGet","locationRestStatsMainGet","locationRestStatsCustomBypassGet","locationRestStatsButtonsClickedGet","locationRestConsentClearDelete","locationRestConsentForwardPost","locationRestConsentDynamicPredecisionGet","locationRestLiteDismissConfigPageProNotice","locationRestMigrationDelete","locationRestMigrationPost","locationRestModalHintSeenPut","locationRestNavMenuAddLinksPost","locationRestPresetsBannerGet","locationRestPresetsBlockerGet","locationRestPresetsBlockerAttributesGet","locationRestPresetsCookiesGet","locationRestPresetsCookiesAttributesGet","locationRestRevisionGet","locationRestRevisionCurrentGet","locationRestRevisionCurrentPut","locationRestRevisionIndependentGet","locationRestScannerQueuePost","locationRestScannerResultAllExternalUrlsByHostGet","locationRestScannerResultExternalsGet","locationRestScannerResultExternalPatch","locationRestScannerResultMarkupGet","locationRestScannerResultPresetsGet","locationRestTcfDeclarationsGet","locationRestTcfGvlPut","locationRestTcfVendorsGet","locationRestWpSettings","locationRestWpSettingsPatch","module","exports","ReactDOM","ReactRouterDOM","devowlWp_customize","devowlWp_realProductManagerWpClient","devowlWp_realQueue","devowlWp_utils","jQuery","mobx","moment","wp","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","loaded","__webpack_modules__","O","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","every","splice","r","n","getter","__esModule","d","definition","o","defineProperty","f","chunkId","promises","u","miniCssF","globalThis","Function","obj","prop","l","url","script","needAttach","scripts","getElementsByTagName","s","getAttribute","charset","timeout","nc","setAttribute","onScriptComplete","prev","onerror","onload","doneFns","parentNode","removeChild","bind","head","Symbol","toStringTag","nmd","paths","scriptUrl","importScripts","currentScript","p","installedChunks","installedChunkData","promise","resolve","reject","error","errorType","realSrc","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}
public/dist/banner.lite.js CHANGED
@@ -1,2 +1,2 @@
1
- var realCookieBanner_banner;(()=>{var t,e={9616:t=>{t.exports={}},6497:(t,e,n)=>{"use strict";n.d(e,{n:()=>g});var o=n(1263),i=n(9094);function r(t,e){let n,o,i,r=!1,a="";if(t&&"none"!==t){const s="googleTagManager"===t,c="matomoTagManager"===t;s?(i="gtm",n="dataLayer",a="Google Tag Manager"):c&&(i="mtm",n="_mtm",a="Matomo Tag Manager"),(s||c)&&(o=()=>(window[n]=window[n]||[],window[n])),i&&e===i&&(r=!0)}return{getDataLayer:o,serviceIsManager:r,managerLabel:a,expectedManagerPresetId:i}}function a({decisionCookieName:t,tagManager:e,groups:n,essentialGroupSlug:o,type:a}){let s;const c=e&&"none"!==e,[l]=n.filter((({slug:t})=>t===o)),d={[l.id]:l.items.map((({id:t})=>t))};if("consent"===a){const e=(0,i.h)(t);!1!==e?s=e.consent:(console.warn("Something went wrong while reading the cookie, fallback to essentials only..."),s=d)}return"essentials"===a&&(s=d),{isManagerActive:c,selectedGroups:s,iterateServices:async function(t){for(const i of n)for(const n of i.items){var o;const c="all"===a||(null===(o=s[i.id])||void 0===o?void 0:o.indexOf(n.id))>-1,l=r(e,n.presetId);await t(i,n,c,l)}}}}var s=n(3554),c=n(3386),l=n(3840),d=n.n(l),u=n(6702),p=n(8166);var h=n(4916),f=n(1066),m=n(8663);async function g(t){await(0,m.C)();const{dataLayerPromise:e,isManagerOptOut:n,services:i,ready:r}=await async function(t){const e=[],{isManagerActive:n,iterateServices:i}=a(t),{skipOptIn:r}=t;let c=Promise.resolve(void 0);const l=[];return await i((async(t,i,a,{getDataLayer:c,serviceIsManager:d})=>{const{codeDynamics:u,codeOptIn:p,executeCodeOptInWhenNoTagManagerConsentIsGiven:h}=i;if(a){const a=n&&h,c="function"==typeof r&&r(i);a||c||l.push((0,o.K)(p,u));const d={group:t,service:i};document.dispatchEvent(new CustomEvent(s.g,{detail:d})),e.push(d)}})),{isManagerOptOut:!1,dataLayerPromise:c,services:e,ready:Promise.all(l)}}(t),{ready:l}=await async function(t,e,n){const i=[],{isManagerActive:r,iterateServices:s}=a(t);return e?(s(((t,n,o,{serviceIsManager:i})=>{const r=n.tagManagerOptInEventName;o&&r&&!i&&e.push({realCookieBannerOptInEvents:{[r]:!0},event:r})})),setTimeout((()=>s(((t,n,o,{serviceIsManager:i})=>{const r=n.tagManagerOptOutEventName;o||!r||i||e.push({realCookieBannerOptOutEvents:{[r]:!0},event:r})}))),1e3)):r&&n&&await s((async(t,{codeDynamics:e,codeOptIn:n,executeCodeOptInWhenNoTagManagerConsentIsGiven:r},a)=>{a&&r&&i.push((0,o.K)(n,e))})),{ready:Promise.all(i)}}(t,await e,n),g=Promise.all([r,l]);document.dispatchEvent(new CustomEvent(h.V,{detail:{services:i,ready:g}}));const{deleteHttpCookies:b,services:v,ready:y}=await async function(t,e){const n=[],{isManagerActive:i,iterateServices:r}=a(t),s=[],l=[];return await r((async(t,r,a)=>{const{id:h,codeDynamics:f,codeOptOut:m,deleteTechnicalDefinitionsAfterOptOut:g,isEmbeddingOnlyExternalResources:b,technicalDefinitions:v,executeCodeOptOutWhenNoTagManagerConsentIsGiven:y}=r;if(!a){const a=i&&y;(a&&e||!a)&&s.push((0,o.K)(m,f)),g&&!b&&(function(t,e){for(const{type:n,name:o}of t){const t=new RegExp((0,p.L)((0,u.c)(o,e)),"g");switch(n){case"http":for(const e of Object.keys(d().get()))t.test(e)&&d().remove(e);break;case"local":case"session":try{const e="local"===n?window.localStorage:window.sessionStorage;if(e)for(const n of Object.keys(e))if(t.test(n)){try{e.setItem(n,null)}catch(t){}let t=0;for(;e.getItem(n)&&t<100;)t++,e.removeItem(n)}}catch(t){continue}}}}(v,f),v.some((({type:t})=>"http"===t))&&l.push(h));const w={group:t,service:r};document.dispatchEvent(new CustomEvent(c.E,{detail:w})),n.push(w)}})),{services:n,ready:Promise.all(s),deleteHttpCookies:l}}(t,n);document.dispatchEvent(new CustomEvent(f.C,{detail:{services:v,deleteHttpCookies:b,ready:Promise.all([g,y])}}))}},8971:(t,e,n)=>{"use strict";n.d(e,{G:()=>r});var o=n(6497),i=n(9094);class r{constructor(t){this.options=void 0,this.options=t}applyCookies(t){return(0,o.n)({...t,...this.options})}getUserDecision(){return(0,i.h)(this.getOption("decisionCookieName"))}getDefaultDecision(t=!0){return function({groups:t,essentialGroupSlug:e},n=!0){const[o]=t.filter((({slug:t})=>t===e)),i={[o.id]:o.items.map((({id:t})=>t))};if(n)for(const e of t){if(e===o)continue;const t=e.items.filter((({legalBasis:t})=>"legitimate-interest"===t)).map((({id:t})=>t));t.length&&(i[e.id]=t)}return i}(this.options,t)}getOption(t){return this.options[t]}getOptions(){return this.options}}},9094:(t,e,n)=>{"use strict";n.d(e,{h:()=>a});var o=n(2824),i=n(3840),r=n.n(i);function a(t){const e=r().get(t);if(!e){const e=t.split("-")[0];return!(0,o.E)(e?"".concat(e,"-test"):void 0)&&(window.rcbDisabledCookieComp||!1)}const n=function(t,e,n){const o=t.split(":");if(o.length<=3)return o;const i=o.slice(0,2);return i.push(o.slice(2).join(":")),i}(e);if(3!==n.length)return!1;const[i,a]=n,s=i.split(",");return{uuid:s.shift(),previousUuids:s,revision:a,consent:JSON.parse(n[2])}}},3707:(t,e,n)=>{"use strict";n.d(e,{I:()=>o});const o="RCB/Banner/Show"},3554:(t,e,n)=>{"use strict";n.d(e,{g:()=>o});const o="RCB/OptIn"},4916:(t,e,n)=>{"use strict";n.d(e,{V:()=>o});const o="RCB/OptIn/All"},3386:(t,e,n)=>{"use strict";n.d(e,{E:()=>o});const o="RCB/OptOut"},1066:(t,e,n)=>{"use strict";n.d(e,{C:()=>o});const o="RCB/OptOut/All"},210:(t,e,n)=>{"use strict";function o(){const{userAgent:t}=navigator,{cookie:e}=document;if(t){if(/(cookiebot|2gdpr)\.com/i.test(t))return!0;if(/cmpcrawler(reject)?cookie=/i.test(e))return!0}return!1}n.d(e,{f:()=>o})},8663:(t,e,n)=>{"use strict";n.d(e,{C:()=>a});const o=()=>{let t;return[!1,new Promise((e=>t=e)),t]},i={loading:o(),complete:o(),interactive:o()},r=["readystatechange","rocket-readystatechange","DOMContentLoaded","rocket-DOMContentLoaded","rocket-allScriptsLoaded"],a=(t,e="complete")=>new Promise((n=>{let o=!1;const a=()=>{(()=>{const{readyState:t}=document,[e,,n]=i[t];if(!e){i[t][0]=!0,n();const[e,,o]=i.interactive;"complete"!==t||e||(i.interactive[0]=!0,o())}})(),!o&&i[e][0]&&(o=!0,null==t||t(),setTimeout(n,0))};a();for(const t of r)document.addEventListener(t,a);i[e][1].then(a)}))},8166:(t,e,n)=>{"use strict";function o(t){const e=t.replace(/\*/g,"PLEACE_REPLACE_ME_AGAIN");return"^".concat((n=e,n.replace(new RegExp("[.\\\\+*?\\[\\^\\]$(){}=!<>|:\\".concat("","-]"),"g"),"\\$&")).replace(/PLEACE_REPLACE_ME_AGAIN/g,"(.*)"),"$");var n}n.d(e,{L:()=>o})},2824:(t,e,n)=>{"use strict";n.d(e,{E:()=>s});var o=n(3840),i=n.n(o),r=n(210);let a;function s(t="test"){if("boolean"==typeof a)return a;if((0,r.f)())return!0;try{const e={sameSite:"Lax"};i().set(t,"1",e);const n=-1!==document.cookie.indexOf("".concat(t,"="));return i().remove(t,e),a=n,n}catch(t){return!1}}},6702:(t,e,n)=>{"use strict";n.d(e,{c:()=>i});const o=/{{([A-Za-z0-9_]+)}}/gm;function i(t,e){return t.replace(o,((t,n)=>Object.prototype.hasOwnProperty.call(e,n)?e[n]:t))}},6814:(t,e,n)=>{"use strict";n.d(e,{CT:()=>p,Gn:()=>m,He:()=>l,Kh:()=>y,Ks:()=>b,Kx:()=>O,NY:()=>c,Ng:()=>u,Qd:()=>D,Qt:()=>k,Ti:()=>g,WK:()=>S,Wm:()=>w,YO:()=>f,_W:()=>s,d3:()=>a,dW:()=>v,fq:()=>C,i7:()=>d,jb:()=>o,jk:()=>A,of:()=>x,rG:()=>r,v4:()=>h,zm:()=>i});const o="consent-original",i="consent-click-original",r="_",a="consent-by",s="consent-required",c="consent-visual-use-parent",l="consent-visual-paint-mode",d="consent-inline",u="consent-inline-style",p="consent-id",h="script",f="consent-blocker-connected",m="consent-blocker-connected-pres",g="consent-transaction-complete",b="consent-transform-wrapper",v="1",y="consent-strict-hidden",w="consent-cb-reset-parent",k="1",x="consent-cb-reset-parent-is-ratio",C="consent-got-clicked",S="1",A="2",O="consent-thumbnail",D="consent-click-dispatch-resize"},1263:(t,e,n)=>{"use strict";n.d(e,{K:()=>c,L:()=>s});var o=n(839),i=n.n(o),r=n(6702),a=n(5858);const s="rcbInitiatorOnload";function c(t,e,n=document.body){return new Promise((o=>{t?i()(n,(0,r.c)(t,e),{done:o,error:t=>{console.error(t)},beforeWriteToken:t=>{const{attrs:e,booleanAttrs:n,src:o,href:i,content:r}=t;if(null!=n&&n["skip-write"])return!1;r&&(t.content=r.replace(/window\.onload\s+=/g,"window.".concat(s," =")));for(const t in e)if(e[t]=(0,a.l)(e[t]),"unique-write-name"===t&&document.querySelector('[unique-write-name="'.concat(e[t],'"]')))return!1;return o&&(t.src=(0,a.l)(o)),i&&(t.href=(0,a.l)(i)),t}}):o()}))}},3167:(t,e,n)=>{"use strict";n.d(e,{T:()=>o});const o="RCB/OptIn/ContentBlocker"},327:(t,e,n)=>{"use strict";n.d(e,{s:()=>i});var o=n(6814);function i(t=0){let e;if("number"==typeof t)e=t;else{if(null==t||!t.hasAttribute(o.Qd))return;e=+t.getAttribute(o.Qd)}setTimeout((()=>{try{window.dispatchEvent(new Event("resize"))}catch(t){}}),e)}},5858:(t,e,n)=>{"use strict";n.d(e,{l:()=>i});var o=n(4028);function i(t){var e;return(0,o.C)(t)?null===(e=(new DOMParser).parseFromString('<a href="'.concat(t,'"></a>'),"text/html").querySelector("a"))||void 0===e?void 0:e.href:(new DOMParser).parseFromString(t,"text/html").documentElement.textContent}},4028:(t,e,n)=>{"use strict";function o(t){return!!/^(?:(?:https?|ftp):\/\/)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/\S*)?$/.test(t)}n.d(e,{C:()=>o})},895:(t,e,n)=>{"use strict";n.d(e,{w:()=>i});var o=n(7951);function i(t,e){const n=[];let i=t.parentElement;for(;null!==i;)i.nodeType===Node.ELEMENT_NODE&&(0,o.D)(i,e)&&n.push(i),i=i.parentElement;return n}},2163:(t,e,n)=>{"use strict";n.d(e,{X:()=>r});var o=n(4211),i=n(2104).h;const r=({ms:t=100,chars:e=["&#9719;","&#9718;","&#9717;","&#9716;"]})=>{const[n,r]=(0,o.eJ)(1);return(0,o.d4)((()=>{const e=setInterval((()=>{r(n+1)}),t);return()=>clearInterval(e)}),[n]),i("span",{dangerouslySetInnerHTML:{__html:e[n%4]}})}},9369:(t,e,n)=>{"use strict";n.d(e,{P:()=>h});var o=n(7465),i=n(4211),r=n(4773),a=n(6408),s=n(2104).h;const c=({icon:t,...e})=>{const n=(0,i.Ye)((()=>(0,a.x)(t,{extraSVGAttrs:{style:"width:auto;height:100%;",fill:"currentColor"}})),[t]);return s("div",(0,o.Z)({},e,{dangerouslySetInnerHTML:{__html:n}}))};var l=n(9006),d=n(577),u=n(3709),p=n(2104).h;const h=({hideCheckbox:t,isPartial:e,isChecked:n,isDisabled:a,fontSize:s,onClick:h,children:f,after:m,...g})=>{const b=e?l.Z:d.Z,v=(0,u.w)(),[y,w]=(0,i.eJ)(!1);return(0,i.bt)((()=>{w(!0)}),[]),p(i.HY,null,!t&&p(c,(0,o.Z)({icon:b,onClick:h},function({layout:{borderRadius:t},group:{headlineFontSize:e,checkboxBg:n,checkboxBorderWidth:o,checkboxBorderColor:i,checkboxActiveBg:a,checkboxActiveBorderColor:s,checkboxActiveColor:c},customCss:{antiAdBlocker:l},mobile:d,pageRequestUuid4:u},p,h,f,m){let g=m||e;g=u?(0,r.D)(d,u,g):g;const b=u?(0,r.D)(d,u,+o):+o,v=+g+2*b+6;return{className:"y"===l?void 0:"rcb-checkbox",style:{cursor:f?"not-allowed":"pointer",opacity:f?.5:void 0,color:h?c:n,display:p?"inline-block":"none",background:h?a:n,border:"".concat(b,"px solid ").concat(h?s:i),padding:3,height:v,width:v,marginRight:10,borderRadius:+t,verticalAlign:"middle",lineHeight:0,boxSizing:"border-box"}}}(v,y,n,a,s),g)),f&&p("span",{style:{verticalAlign:"middle",cursor:"pointer"}},p("span",{onClick:h},f),m))}},1692:(t,e,n)=>{"use strict";n.d(e,{V:()=>g});var o=n(7465),i=n(3709),r=n(9369),a=n(4211),s=n(4028),c=n(9436),l=n(4773),d=n(2104).h;const u=({label:t,value:e,children:n,printValueAs:r})=>{const a=(0,i.w)(),{i18n:{yes:u,no:p}}=a;let h="string"==typeof e&&(0,s.C)(e)?d("a",{href:e,style:{wordBreak:"break-all",...(0,c.c)(a,!1).style},target:"_blank",rel:"noopener noreferrer"},e):"string"==typeof e?d("span",{dangerouslySetInnerHTML:{__html:e}}):e;return"boolean"===r&&(h=h?u:p),d("div",(0,o.Z)({key:t},function({group:{groupBorderWidth:t,groupBorderColor:e},customCss:{antiAdBlocker:n},mobile:o,pageRequestUuid4:i}){return{className:"y"===n?void 0:"rcb-cookie-prop",style:{borderLeft:(i?(0,l.D)(o,i,t):t)>0?"1px solid ".concat(e):void 0,paddingLeft:15}}}(a)),t&&d("strong",null,t,": "),h,!!n&&d("div",null,n))};var p=n(6702),h=n(2104).h;const f=({cookie:{purpose:t,provider:e,providerPrivacyPolicyUrl:n,legalBasis:o,ePrivacyUSA:r,isEmbeddingOnlyExternalResources:s,technicalDefinitions:c,codeDynamics:l},isEssentialGroup:d})=>{const{i18n:f,ePrivacyUSA:m}=(0,i.w)(),g={http:{name:"HTTP Cookie",abbr:"HTTP",backgroundColor:"black"},local:{name:"Local Storage",abbr:"Local",backgroundColor:"#b3983c"},session:{name:"Session Storage",abbr:"Session",backgroundColor:"#3c99b3"},flash:{name:"Flash Local Shared Object",abbr:"Flash",backgroundColor:"#b33c3c"},indexedDb:{name:"IndexedDB",abbr:"I-DB",backgroundColor:"#4ab33c"}};return h(a.HY,null,!!t&&h(u,{label:f.purpose,value:t}),h(u,{label:f.legalBasis,value:"legal-requirement"===o?f.legalRequirement:"legitimate-interest"===o||d?f.legitimateInterest:f.consent}),h(u,{label:f.provider,value:e}),!!n&&h(u,{label:f.providerPrivacyPolicyUrl,value:n}),!!m&&h(u,{label:f.ePrivacyUSA,value:r,printValueAs:"boolean"}),!s&&c.map((({type:t,name:e,host:n,duration:o,durationUnit:i,isSessionDuration:r,purpose:a})=>h(u,{key:e,label:f.technicalCookieDefinition,value:h("span",{style:{fontFamily:"monospace"}},(0,p.c)(e,l))},h(u,{label:f.type,value:g[t].name}),!!a&&h(u,{label:f.purpose,value:a}),!!n&&h(u,{label:f.host,value:h("span",{style:{fontFamily:"monospace"}},n)}),h(u,{label:f.duration,value:["local","indexedDb","flash"].indexOf(t)>-1?f.noExpiration:r||"session"===t?"Session":"".concat(o," ").concat(f.durationUnit[i])})))))};var m=n(2104).h;const g=({cookie:t,checked:e,disabled:n,onToggleCheck:a,propertyListProps:s={}})=>{const{name:c}=t,l=(0,i.w)(),{group:{descriptionFontSize:d}}=l;return m("div",function({customCss:{antiAdBlocker:t}}){return{className:"y"===t?void 0:"rcb-cookie",style:{marginTop:10}}}(l),m("div",{style:{marginBottom:10}},m(r.P,{isChecked:e,isDisabled:n,fontSize:d,onClick:a},m("strong",null,c))),m(f,(0,o.Z)({cookie:t},s)))}},5625:(t,e,n)=>{"use strict";n.d(e,{u:()=>s});var o=n(7465),i=n(4211),r=n(5055),a=n(2104).h;const s=(0,i.Gp)((({children:t,className:e,title:n,position:i="top",color:s,size:c="large",always:l,rounded:d,noAnimate:u,bounce:p,...h},f)=>((0,r.G)("/*! Hint.css - v2.7.0 - 2021-10-01\n* https://kushagra.dev/lab/hint/\n* Copyright (c) 2021 Kushagra Gour */\n\n[class*=hint--]{position:relative;display:inline-block}[class*=hint--]:after,[class*=hint--]:before{position:absolute;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);transform:translate3d(0,0,0);visibility:hidden;opacity:0;z-index:1000000;pointer-events:none;-webkit-transition:.3s ease;-moz-transition:.3s ease;transition:.3s ease;-webkit-transition-delay:0s;-moz-transition-delay:0s;transition-delay:0s}[class*=hint--]:hover:after,[class*=hint--]:hover:before{visibility:visible;opacity:1;-webkit-transition-delay:.1s;-moz-transition-delay:.1s;transition-delay:.1s}[class*=hint--]:before{content:'';position:absolute;background:0 0;border:6px solid transparent;z-index:1000001}[class*=hint--]:after{background:#383838;color:#fff;padding:8px 10px;font-size:12px;font-family:\"Helvetica Neue\",Helvetica,Arial,sans-serif;line-height:12px;white-space:nowrap;text-shadow:0 -1px 0 #000;box-shadow:4px 4px 8px rgba(0,0,0,.3)}[class*=hint--][aria-label]:after{content:attr(aria-label)}[class*=hint--][data-hint]:after{content:attr(data-hint)}[aria-label='']:after,[aria-label='']:before,[data-hint='']:after,[data-hint='']:before{display:none!important}.hint--top-left:before,.hint--top-right:before,.hint--top:before{border-top-color:#383838}.hint--bottom-left:before,.hint--bottom-right:before,.hint--bottom:before{border-bottom-color:#383838}.hint--top:after,.hint--top:before{bottom:100%;left:50%}.hint--top:before{margin-bottom:-11px;left:calc(50% - 6px)}.hint--top:after{-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);transform:translateX(-50%)}.hint--top:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--top:hover:after{-webkit-transform:translateX(-50%) translateY(-8px);-moz-transform:translateX(-50%) translateY(-8px);transform:translateX(-50%) translateY(-8px)}.hint--bottom:after,.hint--bottom:before{top:100%;left:50%}.hint--bottom:before{margin-top:-11px;left:calc(50% - 6px)}.hint--bottom:after{-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);transform:translateX(-50%)}.hint--bottom:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--bottom:hover:after{-webkit-transform:translateX(-50%) translateY(8px);-moz-transform:translateX(-50%) translateY(8px);transform:translateX(-50%) translateY(8px)}.hint--right:before{border-right-color:#383838;margin-left:-11px;margin-bottom:-6px}.hint--right:after{margin-bottom:-14px}.hint--right:after,.hint--right:before{left:100%;bottom:50%}.hint--right:hover:after,.hint--right:hover:before{-webkit-transform:translateX(8px);-moz-transform:translateX(8px);transform:translateX(8px)}.hint--left:before{border-left-color:#383838;margin-right:-11px;margin-bottom:-6px}.hint--left:after{margin-bottom:-14px}.hint--left:after,.hint--left:before{right:100%;bottom:50%}.hint--left:hover:after,.hint--left:hover:before{-webkit-transform:translateX(-8px);-moz-transform:translateX(-8px);transform:translateX(-8px)}.hint--top-left:after,.hint--top-left:before{bottom:100%;left:50%}.hint--top-left:before{margin-bottom:-11px;left:calc(50% - 6px)}.hint--top-left:after{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%);margin-left:12px}.hint--top-left:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--top-left:hover:after{-webkit-transform:translateX(-100%) translateY(-8px);-moz-transform:translateX(-100%) translateY(-8px);transform:translateX(-100%) translateY(-8px)}.hint--top-right:after,.hint--top-right:before{bottom:100%;left:50%}.hint--top-right:before{margin-bottom:-11px;left:calc(50% - 6px)}.hint--top-right:after{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0);margin-left:-12px}.hint--top-right:hover:after,.hint--top-right:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--bottom-left:after,.hint--bottom-left:before{top:100%;left:50%}.hint--bottom-left:before{margin-top:-11px;left:calc(50% - 6px)}.hint--bottom-left:after{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%);margin-left:12px}.hint--bottom-left:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--bottom-left:hover:after{-webkit-transform:translateX(-100%) translateY(8px);-moz-transform:translateX(-100%) translateY(8px);transform:translateX(-100%) translateY(8px)}.hint--bottom-right:after,.hint--bottom-right:before{top:100%;left:50%}.hint--bottom-right:before{margin-top:-11px;left:calc(50% - 6px)}.hint--bottom-right:after{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0);margin-left:-12px}.hint--bottom-right:hover:after,.hint--bottom-right:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--large:after,.hint--medium:after,.hint--small:after{white-space:normal;line-height:1.4em;word-wrap:break-word}.hint--small:after{width:80px}.hint--medium:after{width:150px}.hint--large:after{width:300px}.hint--error:after{background-color:#b34e4d;text-shadow:0 -1px 0 #592726}.hint--error.hint--top-left:before,.hint--error.hint--top-right:before,.hint--error.hint--top:before{border-top-color:#b34e4d}.hint--error.hint--bottom-left:before,.hint--error.hint--bottom-right:before,.hint--error.hint--bottom:before{border-bottom-color:#b34e4d}.hint--error.hint--left:before{border-left-color:#b34e4d}.hint--error.hint--right:before{border-right-color:#b34e4d}.hint--warning:after{background-color:#c09854;text-shadow:0 -1px 0 #6c5328}.hint--warning.hint--top-left:before,.hint--warning.hint--top-right:before,.hint--warning.hint--top:before{border-top-color:#c09854}.hint--warning.hint--bottom-left:before,.hint--warning.hint--bottom-right:before,.hint--warning.hint--bottom:before{border-bottom-color:#c09854}.hint--warning.hint--left:before{border-left-color:#c09854}.hint--warning.hint--right:before{border-right-color:#c09854}.hint--info:after{background-color:#3986ac;text-shadow:0 -1px 0 #1a3c4d}.hint--info.hint--top-left:before,.hint--info.hint--top-right:before,.hint--info.hint--top:before{border-top-color:#3986ac}.hint--info.hint--bottom-left:before,.hint--info.hint--bottom-right:before,.hint--info.hint--bottom:before{border-bottom-color:#3986ac}.hint--info.hint--left:before{border-left-color:#3986ac}.hint--info.hint--right:before{border-right-color:#3986ac}.hint--success:after{background-color:#458746;text-shadow:0 -1px 0 #1a321a}.hint--success.hint--top-left:before,.hint--success.hint--top-right:before,.hint--success.hint--top:before{border-top-color:#458746}.hint--success.hint--bottom-left:before,.hint--success.hint--bottom-right:before,.hint--success.hint--bottom:before{border-bottom-color:#458746}.hint--success.hint--left:before{border-left-color:#458746}.hint--success.hint--right:before{border-right-color:#458746}.hint--always:after,.hint--always:before{opacity:1;visibility:visible}.hint--always.hint--top:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--always.hint--top:after{-webkit-transform:translateX(-50%) translateY(-8px);-moz-transform:translateX(-50%) translateY(-8px);transform:translateX(-50%) translateY(-8px)}.hint--always.hint--top-left:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--always.hint--top-left:after{-webkit-transform:translateX(-100%) translateY(-8px);-moz-transform:translateX(-100%) translateY(-8px);transform:translateX(-100%) translateY(-8px)}.hint--always.hint--top-right:after,.hint--always.hint--top-right:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--always.hint--bottom:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--always.hint--bottom:after{-webkit-transform:translateX(-50%) translateY(8px);-moz-transform:translateX(-50%) translateY(8px);transform:translateX(-50%) translateY(8px)}.hint--always.hint--bottom-left:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--always.hint--bottom-left:after{-webkit-transform:translateX(-100%) translateY(8px);-moz-transform:translateX(-100%) translateY(8px);transform:translateX(-100%) translateY(8px)}.hint--always.hint--bottom-right:after,.hint--always.hint--bottom-right:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--always.hint--left:after,.hint--always.hint--left:before{-webkit-transform:translateX(-8px);-moz-transform:translateX(-8px);transform:translateX(-8px)}.hint--always.hint--right:after,.hint--always.hint--right:before{-webkit-transform:translateX(8px);-moz-transform:translateX(8px);transform:translateX(8px)}.hint--rounded:after{border-radius:4px}.hint--no-animate:after,.hint--no-animate:before{-webkit-transition-duration:0s;-moz-transition-duration:0s;transition-duration:0s}.hint--bounce:after,.hint--bounce:before{-webkit-transition:opacity .3s ease,visibility .3s ease,-webkit-transform .3s cubic-bezier(.71,1.7,.77,1.24);-moz-transition:opacity .3s ease,visibility .3s ease,-moz-transform .3s cubic-bezier(.71,1.7,.77,1.24);transition:opacity .3s ease,visibility .3s ease,transform .3s cubic-bezier(.71,1.7,.77,1.24)}.hint--no-shadow:after,.hint--no-shadow:before{text-shadow:initial;box-shadow:initial}.hint--no-arrow:before{display:none}","hint-css",!0),a("div",(0,o.Z)({style:{position:"relative",display:"inline"},ref:f,"aria-label":n,className:"hint--".concat(i," hint--").concat(c," ").concat(s?"hint--".concat(s):""," ").concat(l?"hint--always":""," ").concat(d?"hint--rounded":""," ").concat(u?"hint--no-animate":""," ").concat(p?"hint--bounce":""," ").concat(e||"")},h),t))))},1400:(t,e,n)=>{"use strict";n.d(e,{S:()=>r,k:()=>i});var o=n(4211);class i{static Context(){return this.context=this.context||(0,o.kr)({})}}function r(){return(0,o.qp)(i.Context())}i.context=void 0},5048:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i,_:()=>r});var o=n(4211);class i{static Context(){return this.context=this.context||(0,o.kr)({})}}function r(){return(0,o.qp)(i.Context())}i.context=void 0},350:(t,e,n)=>{"use strict";n.d(e,{g:()=>g});var o=n(7465),i=n(4211),r=n(3709),a=n(6077),s=n(4773),c=n(2104).h;const l=({children:t,...e})=>{const n=(0,r.w)(),[a,l]=(0,i.eJ)(!1);return c("a",(0,o.Z)({onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1)},function({footerDesign:{fontSize:t,fontColor:e,hoverFontColor:n,fontInheritFamily:o,fontFamily:i},design:{linkTextDecoration:r},customCss:{antiAdBlocker:a},mobile:c,pageRequestUuid4:l},d=!1){return{className:"y"===a?void 0:"rcb-footer-link",style:{textDecoration:r,fontSize:l?(0,s.D)(c,l,+t):+t,color:d?n:e,fontFamily:o?void 0:i,padding:"0 5px"}}}(n,a),e),t)};var d=n(5625),u=n(2104).h;const p=({poweredLink:t,affiliate:e})=>u(l,{href:e?e.link:t.href,target:t.target,key:"powered-by"},u("span",{dangerouslySetInnerHTML:{__html:t.innerHTML}}),e&&u(d.u,{title:e.description,position:"top-left"}," ",e.labelBehind));var h=n(2104).h;function f(t,e){const n=t.filter(Boolean);return 0===n.length?null:n.reduce(((t,n,o)=>t.length?[...t,h(i.HY,{key:o},e),n]:[n]),[])}var m=n(2104).h;function g({onClose:t,putPoweredByLinkInRow:e,row1:n}={}){const{i18n:{close:s},footerDesign:{poweredByLink:c,linkTarget:d},poweredLink:u,affiliate:h}=(0,r.w)(),{linkPrivacyPolicy:g,linkImprint:b}=(0,a.p)(),v="_blank"===d?{target:"_blank",rel:"noopener"}:{},y=[[t&&m(l,{href:"#",onClick:t,key:"close"},m("strong",null,s)),...n||[],g&&m(l,(0,o.Z)({href:g.url},v,{key:"privacyPolicy"}),g.label),b&&m(l,(0,o.Z)({href:b.url},v,{key:"imprint"}),b.label)].filter(Boolean),[]];u&&c&&y[e||0].push(m(p,{key:"poweredBy",poweredLink:u,affiliate:h}));const w=(0,i.I4)((t=>f(t.map((t=>t.length?m(i.HY,{key:t[0].key},f(t,m(i.HY,null," • "))):null)),m("br",null))),[]);return{rows:y,render:w}}},3759:(t,e,n)=>{"use strict";n.d(e,{k:()=>s});var o=n(3709),i=n(6077);function r(t,e){return t.length>1&&t.splice(t.length-1,0,"{{andSeparator}}"),t.join(", ").replace(/,\s+{{andSeparator}},\s+/g,e)}const a='<sup style="vertical-align:top;line-height:100%;position:initial;">';function s({disableDataProcessingInUnsafeCountries:t,disableAgeNotice:e,disableListServicesNotice:n}={}){const{blocker:s,groups:c,ePrivacyUSA:l,ageNotice:d,listServicesNotice:u,texts:{description:p,ePrivacyUSA:h,ageNoticeBanner:f,listServicesNotice:m,consentForwardingExternalHosts:g},tcf:b,consentForwardingExternalHosts:v,individualPrivacyOpen:y,individualTexts:{description:w},essentialGroup:k,i18n:{andSeparator:x,tcf:C},keepVariablesInTexts:S}=(0,o.w)(),{linkPrivacyPolicy:A}=(0,i.p)();let O="";v&&!S&&(O=g.replace(/{{websites}}/g,v.join(", ")));let D=[s?s.description:y?w:p,O].filter(Boolean).join(" ");S||(D=D.replace(/{{privacyPolicy}}(.*){{\/privacyPolicy}}/gi,A?'<a href="'.concat(A.url,'" style="text-decoration:underline;color:inherit;" onmouseenter="this.style.textDecoration=\'none\'" onmouseleave="this.style.textDecoration=\'underline\'" target="_blank">$1</a>'):"$1"));const E=c.map((({items:t})=>t.filter((({ePrivacyUSA:t})=>t)))).flat(),I=b?Object.values(b.gvl.vendors).filter((t=>{var e;return(null===(e=t.additionalInformation)||void 0===e?void 0:e.internationalTransfers)||1===b.original.vendorConfigurations[t.id].ePrivacyUSA})):[];let B=!t&&(E.length>0||I.length>0)&&l?h:"";const T=d&&!e?f:"";let P="";if(u&&!n){const t=m.toLowerCase(),e=t.indexOf("{{services}}")>-1&&t.indexOf("{{servicegroups}}")>-1,n=c.filter((({slug:t})=>t!==k)),o="~;~",i=r(n.map((({items:t},n)=>t.map((({name:t,ePrivacyUSA:o})=>"".concat(t).concat(a).concat([e?n+1:"",B&&o?"U":""].filter(Boolean).join(","),"</sup>"))).join(o))).join(o).split(o),x);if(i){const t=r(n.map((({name:t},n)=>"".concat(t).concat(a).concat(e?n+1:"","</sup>"))),x);P="<span>".concat(m,"</span>").concat(b&&!y?" <span>".concat(C.listOfServicesAppendix,"</span>"):""),S||(P=P.replace(/{{services}}/gi,i).replace(/{{serviceGroups}}/gi,t)),B&&(B+="".concat(a,"U</sup>"))}}return{description:D,teachings:[B,T,P].filter(Boolean)}}},3709:(t,e,n)=>{"use strict";n.d(e,{w:()=>r});var o=n(1400),i=n(5048);function r(){const t=(0,o.S)(),e=(0,i._)();return t.groups?t:e}},6077:(t,e,n)=>{"use strict";n.d(e,{p:()=>i});var o=n(3709);function i(){const{legal:{privacyPolicy:t,privacyPolicyExternalUrl:e,privacyPolicyIsExternalUrl:n,privacyPolicyLabel:i,imprint:r,imprintExternalUrl:a,imprintIsExternalUrl:s,imprintLabel:c},pageByIdUrl:l}=(0,o.w)(),d=(0,o.w)().pageIdToPermalink||{};let u=t>0?d[t]||"".concat(l,"=").concat(t):void 0,p=r>0?d[r]||"".concat(l,"=").concat(r):void 0;return n&&(u=e),s&&(p=a),{linkPrivacyPolicy:!(!i||!u)&&{url:u,label:i},linkImprint:!(!c||!p)&&{url:p,label:c}}}},5055:(t,e,n)=>{"use strict";n.d(e,{G:()=>r});var o=n(4211);let i=0;function r(t,e,n){const r=(0,o.Ye)((()=>"react-use-plain-css-".concat(e||(i++).toString(36))),[]);return(0,o.bt)((()=>{let e=document.getElementById(r);return e||(e=document.createElement("style"),e.style.type="text/css",e.id=r,document.getElementsByTagName("head")[0].appendChild(e)),e.innerHTML=t,()=>{var t;n||null===(t=e.parentNode)||void 0===t||t.removeChild(e)}}),[t,n]),r}},5435:(t,e,n)=>{"use strict";n.d(e,{W:()=>i});var o=n(4773);function i({bodyDesign:{teachingsInheritTextAlign:t,teachingsTextAlign:e,teachingsInheritFontSize:n,teachingsFontSize:i,teachingsInheritFontColor:r,teachingsFontColor:a},customCss:{antiAdBlocker:s},mobile:c,pageRequestUuid4:l}){return{className:"y"===s?void 0:"rcb-teachings",style:{marginTop:7,display:"inline-block",textAlign:t?void 0:e,fontSize:n?void 0:l?(0,o.D)(c,l,+i):+i,color:r?void 0:a}}}},6010:(t,e,n)=>{"use strict";function o({layout:{borderRadius:t},bodyDesign:{teachingsSeparatorActive:e,teachingsSeparatorWidth:n,teachingsSeparatorHeight:o,teachingsSeparatorColor:i},customCss:{antiAdBlocker:r}}){return{className:"y"===r?void 0:"rcb-teachings-separator",style:{marginTop:7,display:"inline-block",maxWidth:"100%",borderRadius:+t,width:+n,height:e?+o:0,background:i}}}n.d(e,{V:()=>o})},9436:(t,e,n)=>{"use strict";function o({design:{linkTextDecoration:t},group:{linkColor:e,linkHoverColor:n},customCss:{antiAdBlocker:o}},i){return{className:"y"===o?void 0:"rcb-group-more",style:{color:i?n:e,textDecoration:t}}}n.d(e,{c:()=>o})},9126:(t,e,n)=>{"use strict";n.d(e,{a:()=>i});var o=n(4773);function i({headerDesign:{fontSize:t,fontColor:e,fontInheritFamily:n,fontFamily:i,fontWeight:r},customCss:{antiAdBlocker:a},mobile:s,pageRequestUuid4:c},l){return{className:"y"===a?void 0:"rcb-headline",style:{color:e,lineHeight:1.8,fontSize:c?(0,o.D)(s,c,+t):+t,fontFamily:n?void 0:i,fontWeight:r,paddingRight:l?20:void 0}}}},4773:(t,e,n)=>{"use strict";function o({enabled:t,scalePercent:e,scalePercentVertical:n},o,i,r,a=!1){return i}n.d(e,{D:()=>o})},3933:(t,e,n)=>{"use strict";n.d(e,{U:()=>i});var o=n(7951);function i(t){const e=document.getElementById(t),n=document.createElement("div");return window.rcbPoweredByCacheOuterHTML?n.innerHTML=window.rcbPoweredByCacheOuterHTML:(0,o.D)(e,"a")&&e.innerHTML.toLowerCase().indexOf("Real Cookie Banner")&&(window.rcbPoweredByCacheOuterHTML=e.outerHTML,n.innerHTML=window.rcbPoweredByCacheOuterHTML,e.parentNode.removeChild(e)),n.children[0]}window.rcbPoweredByCacheOuterHTML=""},7951:(t,e,n)=>{"use strict";function o(t,e){return!(!t||1!==t.nodeType||!t.parentElement)&&t.matches(e)}n.d(e,{D:()=>o})},7853:(t,e,n)=>{"use strict";n.d(e,{D:()=>k});var o=n(8102),i=n(9597),r=n(6011),a=n.n(r),s=n(6282),c=n(3840),l=n.n(c),d=n(6025),u=n.n(d);function p(t,e,n){return t.search=s.stringify(n?a().all([s.parse(t.search),...e]):e,!0),t}const h={},f={};async function m(t,e){if(void 0!==e){const n=f[t]||new Promise((async(n,o)=>{try{const i=await window.fetch(e);if(i.ok){const e=await i.text();t===e?o():(h[t]=e,n(e))}else o()}catch(t){o()}}));return f[t]=n,n}{if(void 0===t)return;await Promise.all(Object.values(f));let e=t;for(;h[e]&&(e=h[e],h[e]!==t););return Promise.resolve(e)}}const g="notice-corrupt-rest-api";function b({method:t},e){t===i.O.GET&&(e?async function(t,e=(async()=>{})){const n=document.getElementById(g);if(n){if(n.querySelector("ul").innerText.indexOf(t)>-1)return;try{await e()}catch(e){n.style.display="block";const o=document.createElement("li");o.innerHTML="<code>".concat(t,"</code>"),n.childNodes[1].appendChild(o),n.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"})}}}(e,(()=>{throw new Error})):(window.detectCorruptRestApiFailed=(window.detectCorruptRestApiFailed||0)+1,window.dispatchEvent(new CustomEvent(g))))}async function v(t,e,n){if(204===e.status)return{};const o=e.clone();try{return await e.json()}catch(e){const r=await o.text();if(""===r&&[i.O.DELETE,i.O.PUT].indexOf(n)>-1)return;let a;console.warn("The response of ".concat(t," contains unexpected JSON, try to resolve the JSON line by line..."),{body:r});for(const t of r.split("\n"))if(t.startsWith("[")||t.startsWith("{"))try{return JSON.parse(t)}catch(t){a=t}throw a}}var y=n(9616),w=n.n(y);async function k({location:t,options:e,request:n,params:r,settings:c={},cookieValueAsParam:d,multipart:h=!1,sendRestNonce:f=!0}){const g=t.namespace||e.restNamespace,y=function({location:t,params:e={},nonce:n=!0,options:r,cookieValueAsParam:a}){const c=new URL(r.restRoot),d=s.parse(c.search),h=d.rest_route||c.pathname,f=[];let m=t.path.replace(/:([A-Za-z0-9-_]+)/g,((t,n)=>(f.push(n),e[n])));const g={};for(const t of Object.keys(e))-1===f.indexOf(t)&&(g[t]=e[t]);a&&(g._httpCookieInvalidate=u()(JSON.stringify(a.map(l().get))));const{search:b,pathname:v}=new URL(t.path,window.location.href);if(b){const t=s.parse(b);for(const e in t)g[e]=t[e];m=v}c.protocol=window.location.protocol;const y=(0,o.Ab)(h)+(0,o.XO)(t.namespace||r.restNamespace)+m;return d.rest_route?d.rest_route=y:c.pathname=y,n&&r.restNonce&&(d._wpnonce=r.restNonce),p(c,d),["wp-json/","rest_route="].filter((t=>c.toString().indexOf(t)>-1)).length>0&&t.method&&t.method!==i.O.GET&&p(c,[{_method:t.method}],!0),p(c,[r.restQuery,g],!0),c.toString()}({location:t,params:r,nonce:!1,options:e,cookieValueAsParam:d});["wp-json/","rest_route="].filter((t=>y.indexOf(t)>-1)).length>0&&t.method&&t.method!==i.O.GET?c.method=i.O.POST:c.method=t.method||i.O.GET;const x=new URL(y),C=-1===["HEAD","GET"].indexOf(c.method);!C&&n&&p(x,[n],!0);const S=x.toString();let A;C&&(A=h?w()(n,"boolean"==typeof h?{}:h):JSON.stringify(n));const O=await m(e.restNonce),D=void 0!==O,E=a().all([c,{headers:{..."string"==typeof A?{"Content-Type":"application/json;charset=utf-8"}:{},...D&&f?{"X-WP-Nonce":O}:{},Accept:"application/json, */*;q=0.1"}}]);let I;E.body=A;try{I=await window.fetch(S,E)}catch(t){throw b(c,g),console.error(t),t}if(!I.ok){let o,i=!1;try{if(o=await v(S,I,t.method),"private_site"===o.code&&403===I.status&&D&&!f&&(i=!0),"rest_cookie_invalid_nonce"===o.code&&D){const{restRecreateNonceEndpoint:t}=e;try{await m(O,t),i=!0}catch(t){}}}catch(t){}if(i)return await k({location:t,options:e,multipart:h,params:r,request:n,sendRestNonce:!0,settings:c});b(c);const a=I;throw a.responseJSON=o,a}return v(S,I,t.method)}},9597:(t,e,n)=>{"use strict";var o;n.d(e,{O:()=>o}),function(t){t.GET="GET",t.POST="POST",t.PUT="PUT",t.DELETE="DELETE",t.PATCH="PATCH"}(o||(o={}))},8102:(t,e,n)=>{"use strict";n.d(e,{Ab:()=>i,XO:()=>o,sE:()=>r});const o=t=>t.endsWith("/")||t.endsWith("\\")?o(t.slice(0,-1)):t,i=t=>"".concat(o(t),"/"),r=t=>{const e=window[t.replace(/-([a-z])/g,(t=>t[1].toUpperCase()))];return"".concat(e.publicUrl).concat(e.chunkFolder,"/")}},7868:(t,e,n)=>{"use strict";n.r(e);var o=n(4211),i=n(9712),r=n(1048),a=n(1054),s=n(8971),c=n(6497),l=n(3707),d=n(8663),u=n(2824);const p=async({supportsCookiesName:t})=>!(0,u.E)(t)&&"essentials";var h=n(9094),f=n(8062),m=n.n(f),g=n(210);function b(){const{userAgent:t}=navigator;return!!t&&!/chrome-lighthouse/i.test(t)&&!(0,g.f)()&&m()(t)}const v=(t,e=1e4,n=!0)=>async({decisionCookieName:o,revisionHash:i})=>{if(b()||!n)return!1;const r=(0,h.h)(o);if(r){const{revision:t}=r;if(i===t)return"consent"}try{const{predecision:n}=await(a=t(),s=e,new Promise(((t,e)=>{a.then(t,e);const n=new Error("Timed out");setTimeout(e,s,n)})));return n}catch(t){return!1}var a,s},y=(t=!0)=>async({decisionCookieName:e,groups:n,essentialGroupSlug:o})=>{const[i]=n.filter((({slug:t})=>t===o));if(!1!==(0,h.h)(e)||!t)return!1;for(const t of n)if(t!==i)for(const{legalBasis:e}of t.items)if("legitimate-interest"===e)return!1;return!!function(){try{const t=window;if((t.doNotTrack||t.navigator.doNotTrack||t.navigator.msDoNotTrack||"msTrackingProtectionEnabled"in t.external)&&("1"==t.doNotTrack||"yes"==t.navigator.doNotTrack||"1"==t.navigator.doNotTrack||"1"==t.navigator.msDoNotTrack||t.external.msTrackingProtectionEnabled()))return!0}catch(t){}return!1}()&&"dnt"},w=async({decisionCookieName:t,revisionHash:e})=>{const n=(0,h.h)(t);if(!1===n)return!1;const{revision:o}=n;return e===o&&"consent"};var k=n(7853),x=n(9597);const C={path:"/consent/dynamic-predecision",method:x.O.POST};function S(t){const{legal:{imprint:e,imprintHide:n,imprintIsExternalUrl:o,privacyPolicy:i,privacyPolicyHide:r,privacyPolicyIsExternalUrl:a},pageId:s}=t;return[n&&!o&&+e,r&&!a&&+i].filter(Boolean).indexOf(s)>-1}var A=n(7499),O=n(4916);function D(){const t=(0,o.Ye)((()=>window.innerWidth),[])<700,e=(0,o.Ye)((()=>{const t=window.navigator.userAgent.toLowerCase();return 4===["firefox","gecko","mobile","android"].map((e=>t.indexOf(e)>-1)).filter(Boolean).length}),[]);return(0,o.I4)((({animationIn:n,animationInOnlyMobile:o,animationOut:i,animationOutOnlyMobile:r})=>{let a=o?t?n:"none":n,s=r?t?i:"none":i;return e&&(a="none",s="none"),{useAnimationIn:a,useAnimationOut:s}}),[])}const E=t=>{t&&(t.preventDefault(),t.stopPropagation())};var I=n(1400),B=n(7465),T=n(327),P=n(5055),N=n(895),R=n(7951);const L='[href^="#consent-"]';var z=n(4773);function H(t,e){const[n,i]=(0,o.eJ)(0),[r,a]=(0,o.eJ)(0),[s,c]=(0,o.eJ)(t),[l,d]=(0,o.eJ)(void 0),[u,p]=(0,o.eJ)(e),[h,f]=(0,o.eJ)(void 0);return(0,o.d4)((()=>{n>0&&("none"===t?c(t):(c("none"),d(t))),i(n+1)}),[t]),(0,o.d4)((()=>{r>0&&(0===e?p(e):(p(0),f(e),c("none"),d(t))),a(r+1)}),[e]),(0,o.d4)((()=>{void 0!==l&&(c(l),d(void 0))}),[l]),(0,o.d4)((()=>{void 0!==h&&(p(h),f(void 0))}),[h]),[s,u]}function W(t){const e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:null}function M(t,e){const{r:n,g:o,b:i}=W(t);return"rgba(".concat(n,", ").concat(o,", ").concat(i,", ").concat(e/100,")")}var U=n(2104).h;function Y({isVisible:t,animationIn:e,animationOut:n,animationInDuration:o,animationOutDuration:i,animationInDelay:r,animationOutDelay:a}){return t?{animation:e,duration:o,delay:r}:{animation:n,duration:i,delay:a}}const _=({animateOnMount:t=!0,isVisible:e=!0,animationIn:n="fadeIn",animationOut:i="fadeOut",animationInDelay:r=0,animationOutDelay:a=0,animationInDuration:s=1e3,animationOutDuration:c=1e3,className:l="",style:d={},children:u})=>{const[{animation:p,duration:h,delay:f},m]=(0,o.eJ)(t?Y({isVisible:e,animationIn:n,animationOut:i,animationInDelay:r,animationOutDelay:a,animationInDuration:s,animationOutDuration:c}):{animation:"",delay:void 0,duration:0});(0,o.d4)((()=>{m(Y({isVisible:e,animationIn:n,animationOut:i,animationInDelay:r,animationOutDelay:a,animationInDuration:s,animationOutDuration:c}))}),[e,n,i,r,a,s,c]);const g="animate__animated animate__".concat(p," ").concat(l),b=p?{}:{opacity:e?1:0,transition:"opacity ".concat(f,"ms")};return U("div",{className:g,style:{animationDelay:"".concat(f,"ms"),animationDuration:"".concat(h,"ms"),pointerEvents:e?"all":"none",...d,...b}},u)};function F(t,e){const{pageRequestUuid4:n}=(0,I.S)(),i=(0,P.G)("","useRenderedHeightsAsCssVars-".concat(e)),r=document.getElementById(i);(0,o.d4)((()=>{let o=0;const i=()=>{const i=t.getBoundingClientRect().height;o!==i&&(o=i,r.innerHTML="#".concat(n,"{--rendered-height-").concat(e,": ").concat(Math.floor(i),"px;--rendered-height-raw-").concat(e,": ").concat(i,"px}"))};if(!t)return()=>{};const a=document.querySelector("#".concat(n,' div[class*="animate__"]'));if(a.addEventListener("animationend",i),window.ResizeObserver){const e=new ResizeObserver(i);return e.observe(t),()=>{e.disconnect(),a.removeEventListener("animationend",i)}}{const t=setInterval(i,150);return()=>{clearInterval(t),a.removeEventListener("animationend",i)}}}),[t,e])}var G=n(9126);function q(){const{individualPrivacyOpen:t,onSave:e,updateGroupChecked:n,updateCookieChecked:i,groups:r,essentialGroup:a,updateIndividualPrivacyOpen:s,activeAction:c,onClose:l}=(0,I.S)(),d=t?"ind_all":"main_all",u=t?"ind_essential":"main_essential",p=t?"ind_close_icon":"main_close_icon",h=t?"ind_custom":"main_custom",f={buttonClickedAll:d,buttonClickedEssentials:u,buttonClickedCloseIcon:p,buttonClickedCustom:h,acceptAll:(0,o.I4)((()=>{r.forEach((t=>n(t.id,!0))),e(!1,d)}),[d]),acceptEssentials:(0,o.I4)(((t=!1)=>{r.forEach((({slug:t,id:e,items:o})=>{if(t===a)n(e,!0);else for(const{legalBasis:t,id:n}of o)i(e,n,"legitimate-interest"===t)})),e(!1,t?p:u)}),[u]),acceptIndividual:(0,o.I4)((()=>e(!1,h)),[h]),openIndividualPrivacy:(0,o.I4)((()=>{s(!0)}),[s])};return{...f,closeIcon:(0,o.I4)((()=>{c?l():f.acceptEssentials(!0)}),[c,l,f.acceptEssentials])}}var X=n(9039);const j=({children:t,className:e,tag:n="div",renderInContainer:i})=>{const[r]=(0,o.eJ)((()=>{const t=document.createElement(n);return e&&t.classList.add(e),t}));return(0,o.d4)((()=>(document.body.appendChild(r),()=>{document.body.removeChild(r)})),[]),(0,o.jz)(t,i||r)};var V=n(5625),J=n(2104).h;let Z=0;const Q=({width:t,color:e,tooltipText:n,framed:i,renderInContainer:r,tooltipAlways:a,onClick:s,thickness:c=1})=>{const l=(0,o.Ye)((()=>"react-close-icon-".concat((Z++).toString(36))),[]),d=(0,o.Ye)((()=>"react-close-icon-".concat((Z++).toString(36))),[]),u=(0,o.Ye)((()=>"react-close-icon-".concat((Z++).toString(36))),[]),p=(0,o.sO)(),h=(0,X.EL)(p);return(0,P.G)("#".concat(u,", #").concat(l," {\n position: absolute;\n top: 50%;\n right: 0;\n margin-top: calc(").concat(t,"px / 2 * -1);\n display: block;\n width: ").concat(t,"px;\n height: ").concat(t,"px; \n pointer-events: none;\n}\n\n#").concat(l," {\n position: absolute !important;\n}\n\n#").concat(l,", #").concat(d," {\n cursor: pointer;\n pointer-events: all;\n ").concat(i?"outline: rgb(255, 94, 94) solid 5px;":"","\n}\n\n#").concat(d," {\n position: fixed !important;\n ").concat(h?"top: ".concat(h.y,"px;left: ").concat(h.x,"px;display:block;"):"display:none;","\n width: ").concat(t,"px;\n height: ").concat(t,"px;\n z-index: 99;\n}\n#").concat(d,":after, #").concat(l,":after {\n width: auto !important;\n white-space: nowrap !important;\n}\n#").concat(d,">span:before, #").concat(d,">span:after,\n#").concat(l,">span:before, #").concat(l,">span:after {\n position: absolute;\n top: 50%;\n left: 50%;\n width: ").concat(c,"px;\n height: ").concat(t,"px;\n background-color: ").concat(e,";\n transform: rotate(45deg) translate(-50%, -50%);\n transform-origin: top left;\n transition: all 420ms;\n content: '';\n opacity: 0.5;\n pointer-events: none;\n}\n#").concat(d,">span:after,\n#").concat(l,">span:after {\n transform: rotate(-45deg) translate(-50%, -50%);\n}\n#").concat(d,">span:hover:before, #").concat(d,">span:hover:after,\n#").concat(l,">span:hover:before, #").concat(l,">span:hover:after {\n opacity: 1;\n width: ").concat(c+1,"px;\n}")),r?J(o.HY,null,J("div",{id:u,ref:p}),(null==h?void 0:h.y)>0&&J(j,{renderInContainer:r},J(V.u,{title:n,id:d,onClick:s,position:h.y>50?"top-left":"left",always:a},J("span",null)))):J(V.u,{title:n,id:l,onClick:s,position:"top-left",always:a},J("span",null))};var $=n(2104).h;const K=()=>{const{headerDesign:{fontSize:t,fontColor:e},texts:{acceptEssentials:n},mobile:o,activeAction:i,pageRequestUuid4:r,i18n:{close:a,closeWithoutSaving:s},buttonClicked:c=""}=(0,I.S)(),{buttonClickedCloseIcon:l,closeIcon:d}=q(),u=document.getElementById(r);return $(Q,{width:(0,z.D)(o,r,t),color:e,tooltipText:i?"change"===i?s:a:n,tooltipAlways:(null==u?void 0:u.clientWidth)<700,framed:c===l,renderInContainer:u,onClick:d})};var tt=n(2104).h;const et=(0,o.Gp)(((t,e)=>{const n=(0,I.S)(),{headerDesign:{logo:o,logoRetina:i},decision:{showCloseIcon:r},texts:{headline:a},activeAction:s,individualPrivacyOpen:c,individualTexts:l,i18n:{headerTitlePrivacyPolicyHistory:d}}=n,u=i&&!(null!=o&&o.endsWith(".svg"))&&window.devicePixelRatio>1,p=u?i:o,h=c?"history"===s?d:l.headline:a;return tt("div",(0,B.Z)({ref:e},function({layout:{type:t,dialogBorderRadius:e},design:{borderWidth:n,borderColor:o,...i},headerDesign:{inheritBg:r,bg:a,padding:s},customCss:{antiAdBlocker:c},mobile:l,pageRequestUuid4:d}){const u=(0,z.D)(l,d,t,"banner"),p=(0,z.D)(l,d,n),h={padding:(0,z.D)(l,d,s,void 0,!0).map((t=>"".concat(t,"px"))).join(" "),background:r?i.bg:a,borderRadius:"dialog"===u?"".concat(e,"px ").concat(e,"px 0 0"):void 0,position:"sticky",zIndex:9,top:0};return"dialog"===u&&p>0&&(h.borderTop="".concat(p,"px solid ").concat(o),h.borderLeft=h.borderTop,h.borderRight=h.borderTop),{className:"y"===c?void 0:"rcb-header-container",style:h}}(n)),tt("div",function({layout:{type:t,bannerMaxWidth:e},design:{textAlign:n},headerDesign:{inheritTextAlign:o,logo:i,logoPosition:r,...a},texts:{headline:s},individualLayout:c,customCss:{antiAdBlocker:l},mobile:d,pageRequestUuid4:u,individualPrivacyOpen:p}){const h=o?n:a.textAlign;return{className:"y"===l?void 0:"rcb-header",style:{transition:"width 500ms, max-width 500ms",maxWidth:"banner"===(0,z.D)(d,u,t,"banner")?+(p&&!c.inheritBannerMaxWidth?c.bannerMaxWidth:e):void 0,margin:"auto",display:"flex",justifyContent:"center"===h?"center":"right"===h?"flex-end":void 0,textAlign:h,alignItems:"center",position:"relative",flexDirection:i&&s?"left"===r?"row":"right"===r?"row-reverse":"column":void 0}}}(n),!!p&&tt("img",(0,B.Z)({alt:"",src:p},function({headerDesign:{logoMaxHeight:t,logoMargin:e,logoFitDim:n,logoRetinaFitDim:o},customCss:{antiAdBlocker:i},mobile:r,pageRequestUuid4:a},s){const c=s?o:n;return{className:"y"===i?void 0:"rcb-logo",style:{...c?{width:c[0],height:c[1]}:{width:"auto",height:(0,z.D)(r,a,+t)},margin:(0,z.D)(r,a,e).map((t=>"".concat(t,"px"))).join(" ")}}}(n,u))),!!h&&tt("div",(0,G.a)(n,!1),h),(!!r||!!s)&&tt(K,null)))}));var nt=n(3759),ot=n(2104).h;const it=({title:t,children:e})=>{const n=(0,I.S)();return ot("div",function({group:{headlineFontSize:t,headlineFontColor:e,headlineFontWeight:n},customCss:{antiAdBlocker:o},mobile:i,pageRequestUuid4:r}){return{className:"y"===o?void 0:"rcb-group",style:{color:e,fontSize:(0,z.D)(i,r,t),fontWeight:n,textAlign:"left"}}}(n),t,e&&ot("div",function({design:{fontWeight:t},group:{descriptionFontColor:e,descriptionFontSize:n},customCss:{antiAdBlocker:o},mobile:i,pageRequestUuid4:r}){return{className:"y"===o?void 0:"rcb-group-description",style:{color:e,fontSize:(0,z.D)(i,r,+n),fontWeight:t,marginTop:5}}}(n),e))};var rt=n(9369),at=n(9436),st=n(3709),ct=n(2104).h;const lt=({onToggle:t,children:e,showMore:n,hideMore:i,...r})=>{const a=(0,st.w)(),[s,c]=(0,o.eJ)(!1),[l,d]=(0,o.eJ)(!1);return ct(o.HY,null,"  •  ",ct("a",(0,B.Z)({href:"#"},(0,at.c)(a,s),{onClick:e=>{const n=!l;d(n),null==t||t(n),e.preventDefault()},onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1)},r),l?i:n),l&&e)};var dt=n(1692),ut=n(2104).h;const pt=({group:t,cookie:e})=>{var n;const{id:i}=e,r=(0,I.S)(),{consent:a,activeAction:s,essentialGroup:c}=r,l=c===t.slug,d=l||"history"===s,u=l||((null===(n=a.groups)||void 0===n?void 0:n[t.id])||[]).some((t=>t===i)),p=(0,o.I4)((()=>!d&&r.updateCookieChecked(t.id,i,!u)),[d,r,t,i,u]);return ut(dt.V,{cookie:e,propertyListProps:{isEssentialGroup:l},checked:u,disabled:d,onToggleCheck:p})};var ht=n(2104).h;const ft=({group:t})=>{var e;const n=(0,I.S)(),{id:i,slug:r,name:a,description:s,items:c}=t,{previewCheckboxActiveState:l,consent:d,activeAction:u,essentialGroup:p,individualTexts:{showMore:h,hideMore:f}}=n,m=p===r,g=m||"history"===u,b=l||m||!!d.groups[i],v=!m&&JSON.stringify(c.map((({id:t})=>t)).sort())!==JSON.stringify((null===(e=d.groups[i])||void 0===e?void 0:e.sort())||[]),y=(0,o.I4)((()=>!g&&n.updateGroupChecked(i,!b)),[g,n,i,b]);return ht("div",function({group:{groupBg:t,groupBorderRadius:e,groupBorderColor:n,groupPadding:o,groupBorderWidth:i,groupInheritBg:r},customCss:{antiAdBlocker:a},mobile:s,pageRequestUuid4:c}){const l=(0,z.D)(s,c,i);return{className:"y"===a?void 0:"rcb-group",style:{background:r?void 0:t,border:l>0?"".concat(l,"px solid ").concat(n):void 0,padding:(0,z.D)(s,c,o).map((t=>"".concat(t,"px"))).join(" "),borderRadius:+e,textAlign:"left"}}}(n),ht(it,{title:ht(rt.P,{onClick:y,isPartial:v,isChecked:b,isDisabled:g},a," (",c.length,")")},s,!!c&&ht(lt,{showMore:h,hideMore:f},c.map((e=>ht(pt,{key:e.id,group:t,cookie:e}))))))};var mt=n(2104).h;const gt=()=>{const t=(0,I.S)(),{groups:e,group:{groupSpacing:n},mobile:i,pageRequestUuid4:r}=t,a=e.filter((({items:t})=>t.length));return mt("div",function({customCss:{antiAdBlocker:t}}){return{className:"y"===t?void 0:"rcb-groups",style:{marginTop:10,clear:"both"}}}(t),a.map(((t,e)=>mt(o.HY,{key:t.id},mt(ft,{key:t.id,group:t}),e!==a.length-1&&mt("div",{style:{height:(0,z.D)(i,r,+n)}})))))};var bt=n(2104).h;const vt=({group:{id:t,slug:e,name:n}})=>{const i=(0,I.S)(),{decision:{groupsFirstView:r},design:{fontSize:a},consent:s,essentialGroup:c}=i,l=c===e,d=l||!!s.groups[t],u=(0,o.I4)((()=>false),[false,l,i,t,d,r]);return bt("span",(0,B.Z)({key:n},function({design:{fontSize:t},bodyDesign:{dottedGroupsInheritFontSize:e,dottedGroupsFontSize:n},mobile:o,pageRequestUuid4:i}){return{className:void 0,style:{paddingRight:10,fontSize:(0,z.D)(o,i,e?+t:+n),whiteSpace:"nowrap",display:"inline-block"}}}(i)),bt("span",null,bt(o.HY,null,bt("strong",function({bodyDesign:{dottedGroupsBulletColor:t}}){return{className:void 0,style:{color:t}}}(i),"●")," "),bt("span",{style:{verticalAlign:"middle",cursor:r?"pointer":void 0},onClick:u},n)))};var yt=n(2104).h;const wt=()=>{const t=(0,I.S)(),{groups:e,decision:{showGroups:n}}=t;return n?yt("div",function({customCss:{antiAdBlocker:t}}){return{className:"y"===t?void 0:"rcb-dotted-groups",style:{marginTop:10,lineBreak:"anywhere",lineHeight:2}}}(t),e.filter((({items:t})=>!!t.length)).map((t=>yt(vt,{key:t.id,group:t})))):null};var kt=n(2104).h;const xt=()=>{const t=(0,I.S)(),[e,n]=(0,o.eJ)(-1),{activeAction:i,history:r,selectHistoryEntry:a,i18n:{historyLabel:s,historySelectNone:c}}=t,l=(0,o.Ye)((()=>{var t;return null==r||null===(t=r.filter((({id:t})=>t===e)))||void 0===t?void 0:t[0]}),[e]);(0,o.d4)((()=>{i?"history"===i&&null!=r&&r.length&&n(r[0].id):n(-1)}),[i,r]);const d=null==l?void 0:l.uuid,u=function({design:{bg:t}}){return{className:void 0,style:{background:t}}}(t);return kt(o.HY,null,s," ",kt("select",(0,B.Z)({},function({design:{fontSize:t,fontColor:e},bodyDesign:{descriptionInheritFontSize:n,descriptionFontSize:o},customCss:{antiAdBlocker:i},mobile:r,pageRequestUuid4:a}){return{className:"y"===i?void 0:"rcb-history-select",style:{fontSize:(0,z.D)(r,a,n?+t:+o),background:"transparent",border:0,color:e,borderBottom:"1px solid ".concat(M(e,50))}}}(t),{disabled:!(null!=r&&r.length),value:e,onChange:t=>{const e=+t.target.value;r.forEach((({id:t,decision:o,groups:i,tcf:r})=>{t===e&&(n(t),a(i,o,r))}))}}),(null==r?void 0:r.length)>0?r.map((({id:t,isDoNotTrack:e,isUnblock:n,isForwarded:o,created:i})=>kt("option",(0,B.Z)({key:t,value:t},u),new Date(i).toLocaleString(document.documentElement.lang),e?" (Do Not Track)":"",n?" (Content Blocker)":"",o?" (Consent Forwarding)":""))):kt("option",(0,B.Z)({value:-1},u),c)),!!d&&kt("div",{style:{opacity:.5,marginTop:5}},"UUID: ",d))};var Ct=n(6010),St=n(5435);function At({name:t,order:e,type:n,borderRadius:o,bg:i,hoverBg:r,fontSize:a,textAlign:s,fontColor:c,fontWeight:l,hoverFontColor:d,borderWidth:u,borderColor:p,hoverBorderColor:h,padding:f,antiAdBlocker:m,pageRequestUuid4:g},b,v,y,w){const k=!w||e>1,x=w&&1===e?5:0,C=w&&0===e?5:0,S=(0,z.D)(b,g,+u),A={textDecoration:"link"===n?"underline":"none",borderRadius:+o,cursor:"button"===n?"pointer":void 0,backgroundColor:"button"===n?v?r:i:void 0,fontSize:(0,z.D)(b,g,+a),fontWeight:l,color:v?d:c,transition:"background-color 250ms, color 250ms, border-color 250ms",margin:"0 ".concat(C,"px ").concat((0,z.D)(b,g,10,void 0,!0),"px ").concat(x,"px"),border:"button"===n&&S>0?"".concat(S,"px solid ").concat(v?h:p):void 0,padding:(0,z.D)(b,g,f,void 0,"button"!==n).map((t=>"".concat(t,"px"))).join(" "),overflow:"hidden",outline:y?"rgb(255, 94, 94) solid 5px":void 0,flex:k?"1 1 100%":"0 0 calc(50% - ".concat(x+C,"px)"),display:"flex",alignItems:"center",justifyContent:"right"===s?"flex-end":"center"===s?"center":"left",textAlign:s,order:e};return{className:"y"===m?void 0:"rcb-btn-".concat(t),style:A}}function Ot({isTcf:t,decision:{acceptEssentials:e},layout:{borderRadius:n},bodyDesign:{acceptEssentialsFontSize:o,acceptEssentialsBg:i,acceptEssentialsTextAlign:r,acceptEssentialsBorderColor:a,acceptEssentialsPadding:s,acceptEssentialsBorderWidth:c,acceptEssentialsFontColor:l,acceptEssentialsFontWeight:d,acceptEssentialsHoverBg:u,acceptEssentialsHoverFontColor:p,acceptEssentialsHoverBorderColor:h,acceptAllFontWeight:f,acceptAllFontSize:m,acceptAllPadding:g},customCss:{antiAdBlocker:b},mobile:v,pageRequestUuid4:y},w,k,x,C){return At({name:"accept-essentials",order:x,type:e,borderRadius:n,bg:i,hoverBg:u,fontSize:C||t?m:o,textAlign:r,fontColor:l,fontWeight:t?f:d,hoverFontColor:p,borderWidth:c,borderColor:a,hoverBorderColor:h,padding:C?g:s,antiAdBlocker:b,pageRequestUuid4:y},v,w,k,C)}function Dt({decision:{acceptIndividual:t},layout:{borderRadius:e},bodyDesign:{acceptIndividualFontSize:n,acceptIndividualBg:o,acceptIndividualTextAlign:i,acceptIndividualBorderColor:r,acceptIndividualPadding:a,acceptIndividualBorderWidth:s,acceptIndividualFontColor:c,acceptIndividualFontWeight:l,acceptIndividualHoverBg:d,acceptIndividualHoverFontColor:u,acceptIndividualHoverBorderColor:p},customCss:{antiAdBlocker:h},mobile:f,pageRequestUuid4:m},g,b,v,y){return At({name:"accept-individual",order:v,type:t,borderRadius:e,bg:o,hoverBg:d,fontSize:n,textAlign:i,fontColor:c,fontWeight:l,hoverFontColor:u,borderWidth:s,borderColor:r,hoverBorderColor:p,padding:a,antiAdBlocker:h,pageRequestUuid4:m},f,g,b,y)}function Et({isTcf:t,layout:{borderRadius:e},bodyDesign:{acceptAllFontWeight:n,acceptAllFontSize:o},saveButton:{type:i,fontSize:r,bg:a,textAlign:s,borderColor:c,padding:l,borderWidth:d,fontColor:u,fontWeight:p,hoverBg:h,hoverFontColor:f,hoverBorderColor:m},customCss:{antiAdBlocker:g},mobile:b,pageRequestUuid4:v},y,w,k,x){return At({name:"accept-individual-save",order:k,type:i,borderRadius:e,bg:a,hoverBg:h,fontSize:t?o:r,textAlign:s,fontColor:u,fontWeight:t?n:p,hoverFontColor:f,borderWidth:d,borderColor:c,hoverBorderColor:m,padding:l,antiAdBlocker:g,pageRequestUuid4:v},b,y,w,x)}function It({decision:{acceptAll:t},layout:{borderRadius:e},bodyDesign:{acceptAllFontSize:n,acceptAllBg:o,acceptAllTextAlign:i,acceptAllBorderColor:r,acceptAllPadding:a,acceptAllBorderWidth:s,acceptAllFontColor:c,acceptAllFontWeight:l,acceptAllHoverBg:d,acceptAllHoverFontColor:u,acceptAllHoverBorderColor:p},customCss:{antiAdBlocker:h},mobile:f,pageRequestUuid4:m},g,b,v,y){return At({name:"accept-all",order:v,type:t,borderRadius:e,bg:o,hoverBg:d,fontSize:n,textAlign:i,fontColor:c,fontWeight:l,hoverFontColor:u,borderWidth:s,borderColor:r,hoverBorderColor:p,padding:a,antiAdBlocker:h,pageRequestUuid4:m},f,g,b,y)}var Bt=n(2163),Tt=n(2104).h;const Pt=({inlineStyle:t,type:e,onClick:n,children:i,framed:r,busyOnClick:a,order:s})=>{if("hide"===e)return null;const[c,l]=(0,o.eJ)(!1),d=(0,o.I4)((()=>{c||(a&&l(!0),null==n||n())}),[n,c,a]),[u,p]=(0,o.eJ)(!1),h=(0,I.S)(),{individualPrivacyOpen:f,decision:{acceptAll:m,acceptEssentials:g},bodyDesign:{acceptAllOneRowLayout:b,acceptEssentialsUseAcceptAll:v}}=h,y=v&&m===g?m:g,w={onClick:d,onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1),style:{cursor:"pointer"}},k=(0,o.Ye)((()=>{switch(t){case"acceptEssentials":return Ot;case"acceptIndividual":return Dt;case"save":return Et;default:return It}}),[t]);return Tt("div",(0,B.Z)({},"button"===e?w:{},k(h,u,r,s,!(/MSIE (\d+\.\d+);/.test(navigator.userAgent)||navigator.userAgent.indexOf("Trident/")>-1||"hide"===m||"hide"===y||f||s>1)&&b)),Tt("span","link"===e?w:{},c?Tt(Bt.X,null):i))};var Nt=n(2104).h;const Rt=()=>{const t=(0,I.S)(),{activeAction:e,bodyDesign:{acceptEssentialsUseAcceptAll:n,acceptAllOneRowLayout:i},decision:{showGroups:r,groupsFirstView:a,saveButton:s,acceptAll:c,acceptEssentials:l,acceptIndividual:d,buttonOrder:u},texts:{acceptAll:p,acceptEssentials:h,acceptIndividual:f},saveButton:{type:m,useAcceptAll:g},individualTexts:{save:b},individualPrivacyOpen:v,didGroupFirstChange:y,productionNotice:w,buttonClicked:k=""}=t,x=n&&c===l,C=g&&c===m,{all:S,essential:A,individual:O,save:D}=(0,o.Ye)((()=>{const t=u.split(","),e=t.reduce(((e,n)=>(e[n]=t.indexOf(n),e)),{}),n=t.reduce(((e,n)=>(e[t.indexOf(n)]=n,e)),{});return i&&(e[n[0]]=1,e[n[1]]=0),e}),[u,i]),{buttonClickedAll:E,buttonClickedEssentials:B,buttonClickedCustom:T,acceptAll:P,acceptEssentials:N,acceptIndividual:R,openIndividualPrivacy:L}=q(),z="change"===e;return Nt(o.HY,null,Nt(Pt,{onClick:P,type:c,inlineStyle:"acceptAll",framed:k===E,busyOnClick:z,order:S},p),"change"!==e&&Nt(Pt,{onClick:N,type:x?c:l,inlineStyle:x?"acceptAll":"acceptEssentials",framed:k===B,busyOnClick:z,order:A},h),!!v&&Nt(Pt,{onClick:R,type:C?c:m,inlineStyle:C?"acceptAll":"save",framed:k===T,busyOnClick:z,order:D},b),!v&&Nt(Pt,{type:d,onClick:L,inlineStyle:"acceptIndividual",framed:k.startsWith("ind_"),busyOnClick:z,order:O},f),w)};var Lt=n(2104).h;const zt=({leftSideContainerRef:t,rightSideContainerRef:e})=>{var n;const i=(0,I.S)(),{layout:{type:r},mobile:a,bodyDesign:{teachingsSeparatorActive:s},tcf:c,individualPrivacyOpen:l,activeAction:d,pageRequestUuid4:u}=i,{description:p,teachings:h}=(0,nt.k)(),f="bnnr-body-leftSide-".concat(u),m="bnnr-body-rightSide-".concat(u),g="cntnt-".concat(u);(0,P.G)(" #".concat(f," img {\n max-width: 100%;\n height: auto;\n}\n\n").concat((null===(n=document.getElementById(u))||void 0===n?void 0:n.clientWidth)>700?"":"#".concat(f," {\n float: initial !important;\n width: auto !important;\n padding-right: initial !important;\n ").concat("banner"!==(0,z.D)(a,u,r,"banner")||l?l?"padding-top: 10px !important;":"":"padding-bottom: 10px !important;","\n }\n\n #").concat(g," {\n min-height: calc(var(--rendered-height-header) + var(--rendered-height-footer) + var(--rendered-height-rightSideContainer) + 60px);\n }\n \n #").concat(m," {\n float: initial !important;\n width: auto !important;\n max-width: initial !important;\n margin: initial !important;\n ").concat(l?"padding-bottom: 5px !important;":"padding-top: 10px !important;","\n position: sticky;\n }")));const b=(0,o.Ye)((()=>Lt(l?gt:wt,null)),[l,c]),v=Lt("div",(0,B.Z)({ref:t,key:"leftSide",id:f},function({layout:{type:t},bodyDesign:{padding:e},customCss:{antiAdBlocker:n},mobile:o,individualPrivacyOpen:i,activeAction:r,pageRequestUuid4:a}){const s=(0,z.D)(o,a,t,"banner"),c=(0,z.D)(o,a,e);return{className:"y"===n?void 0:"rcb-tb-left",style:{float:"banner"===s&&"history"!==r?"left":void 0,width:"banner"===s&&"history"!==r?"calc(100% - ".concat(300,"px)"):void 0,paddingRight:"banner"===s?20:void 0,paddingTop:+c[0],paddingBottom:"banner"===s||i?+c[2]:0}}}(i)),Lt("div",function({design:{fontSize:t},bodyDesign:{descriptionInheritFontSize:e,descriptionFontSize:n},individualLayout:{descriptionTextAlign:o},customCss:{antiAdBlocker:i},mobile:r,individualPrivacyOpen:a,pageRequestUuid4:s}){return{className:"y"===i?void 0:"rcb-description",style:{lineHeight:1.5,fontSize:(0,z.D)(r,s,e?+t:+n),textAlign:a?o:void 0}}}(i),"history"===d?Lt(xt,null):Lt(o.HY,null,Lt("span",{dangerouslySetInnerHTML:{__html:p}}),h.length>0&&Lt(o.HY,null,s&&Lt("div",null,Lt("span",(0,Ct.V)(i))),h.map((t=>Lt("span",(0,B.Z)({key:t},(0,St.W)(i),{dangerouslySetInnerHTML:{__html:t}}))))))),b),y="history"===d?Lt("div",{ref:e}):Lt("div",(0,B.Z)({ref:e,key:"rightSide",id:m},function({layout:{type:t,dialogMaxWidth:e},design:{borderWidth:n,bg:o,fontColor:i},headerDesign:r,footerDesign:a,bodyDesign:{padding:s},individualLayout:{inheritDialogMaxWidth:c},customCss:{antiAdBlocker:l},mobile:d,individualPrivacyOpen:u,pageRequestUuid4:p}){const h=(0,z.D)(d,p,t,"banner"),f=(0,z.D)(d,p,n),m=(0,z.D)(d,p,s,void 0,!0),{r:g,g:b,b:v}=W(i),y="dialog"===h?+e-m[1]-m[3]-2*f:300;return{className:"y"===l?void 0:"rcb-tb-right",style:{background:o,paddingTop:"banner"===h||u?+m[0]:10,paddingBottom:u?10:+m[2],float:"banner"===h||u?"right":void 0,maxWidth:y,width:y,margin:"dialog"===h&&u&&!c?"0 0 10px 10px":void 0,position:u?void 0:"sticky",[u?"top":"bottom"]:u?"calc(var(--rendered-height-header) + ".concat((0,z.D)(d,p,r.borderWidth),"px)"):"calc(var(--rendered-height-footer) + ".concat((0,z.D)(d,p,a.borderWidth),"px)"),zIndex:1,display:"flex",flexWrap:"wrap",transition:"box-shadow ease-in-out .1s","--boxShadowShowScroll":"0 -15px 15px -15px rgba(".concat(g,", ").concat(b,", ").concat(v,", 0.3)")}}}(i)),Lt(Rt,null));return Lt("div",function({layout:{type:t},design:{bg:e,borderWidth:n,borderColor:o},bodyDesign:{padding:i},customCss:{antiAdBlocker:r},mobile:a,pageRequestUuid4:s}){const c=(0,z.D)(a,s,n),l={background:e,padding:(0,z.D)(a,s,i).map(((t,e)=>"".concat([0,2].indexOf(e)>-1?0:t,"px"))).join(" "),lineHeight:1.4};return"dialog"===(0,z.D)(a,s,t,"banner")&&c>0&&(l.borderLeft="".concat(c,"px solid ").concat(o),l.borderRight=l.borderLeft),{className:"y"===r?void 0:"rcb-body-container",style:l}}(i),Lt("div",function({layout:{type:t,bannerMaxWidth:e},individualLayout:n,customCss:{antiAdBlocker:o},mobile:i,individualPrivacyOpen:r,pageRequestUuid4:a}){return{className:"y"===o?void 0:"rcb-body",style:{transition:"width 500ms, max-width 500ms",maxWidth:"banner"===(0,z.D)(i,a,t,"banner")?+(r&&!n.inheritBannerMaxWidth?n.bannerMaxWidth:e):void 0,margin:"auto"}}}(i),l?[y,v]:[v,y],Lt("div",{style:{clear:"both"}})))};var Ht=n(350),Wt=n(2104).h;const Mt=(0,o.Gp)(((t,e)=>{const n=(0,I.S)(),{isTcf:i,layout:{type:r},individualPrivacyOpen:a,updateIndividualPrivacyOpen:s,onClose:c,i18n:{tcf:l},isConsentRecord:d}=n,u=(0,o.I4)((t=>{c(),t.preventDefault()}),[c]),{rows:p,render:h}=(0,Ht.g)({onClose:d?u:void 0,putPoweredByLinkInRow:"banner"===r?0:1,row1:[!1]});return Wt("div",(0,B.Z)({ref:e},function({layout:{type:t,dialogBorderRadius:e},design:n,footerDesign:{inheritBg:o,bg:i,inheritTextAlign:r,textAlign:a,padding:s,fontSize:c,fontColor:l,fontWeight:d},customCss:{antiAdBlocker:u},mobile:p,pageRequestUuid4:h}){const f=(0,z.D)(p,h,t,"banner"),m=(0,z.D)(p,h,n.borderWidth),g={padding:(0,z.D)(p,h,s,void 0,!0).map((t=>"".concat(t,"px"))).join(" "),background:o?n.bg:i,borderRadius:"dialog"===f?"0 0 ".concat(e,"px ").concat(e,"px"):void 0,fontSize:(0,z.D)(p,h,+c),fontWeight:d,color:l,textAlign:r?n.textAlign:a,position:"sticky",bottom:0,zIndex:1};return"dialog"===f&&m>0&&(g.borderBottom="".concat(m,"px solid ").concat(n.borderColor),g.borderLeft=g.borderBottom,g.borderRight=g.borderBottom),{className:"y"===u?void 0:"rcb-footer-container",style:g}}(n)),Wt("div",function({layout:{type:t,bannerMaxWidth:e},individualLayout:n,customCss:{antiAdBlocker:o},mobile:i,pageRequestUuid4:r,individualPrivacyOpen:a}){return{className:"y"===o?void 0:"rcb-footer",style:{transition:"width 500ms, max-width 500ms",maxWidth:"banner"===(0,z.D)(i,r,t,"banner")?+(a&&!n.inheritBannerMaxWidth?n.bannerMaxWidth:e):void 0,margin:"auto",lineHeight:1.8}}}(n),h(p)))}));var Ut=n(2104).h;const Yt=()=>{const t=(0,I.S)(),{layout:{type:e,dialogBorderRadius:n},decision:{acceptAll:i,acceptEssentials:r,showCloseIcon:a},mobile:s,individualPrivacyOpen:c,design:{bg:l},bodyDesign:{teachingsFontColor:d,acceptEssentialsUseAcceptAll:u},activeAction:p,pageRequestUuid4:h}=t,f="bnnr-body-rightSide-".concat(h),m="cntnt-".concat(h),g=(0,o.sO)(),{current:b}=g,v=u&&i===r?i:r;let y=!0;!s.hideHeader||p||c||"hide"===v&&a||(y=(0,z.D)(s,h,y,!1));const[w,k]=(0,o.eJ)(!1),x=(0,o.I4)((()=>{if(b){const{clientHeight:t,scrollHeight:e,scrollTop:n,offsetHeight:o}=b,i=t<e,r=Math.ceil(n+o)>=e,a=i&&!r&&!c;w!==a&&k(a)}}),[b,c,w]);x(),(0,o.bt)((()=>b?(b.addEventListener("scroll",x),()=>b.removeEventListener("scroll",x)):()=>{}),[b,x]),(0,P.G)(w?"#".concat(f," {box-shadow:var(--boxShadowShowScroll);}"):""),(0,P.G)("Win32"===navigator.platform&&"dialog"===e&&n>0?["#".concat(m,"{overflow:overlay!important;}"),"#".concat(m,"::-webkit-scrollbar{width:11px;}"),"#".concat(m,"{scrollbar-width:thin;scrollbar-color:").concat(d," transparent;}"),"#".concat(m,"::-webkit-scrollbar-track{background:transparent;}"),"#".concat(m,"::-webkit-scrollbar-thumb{background-color:").concat(d,";border-radius:").concat(n,"px;border:3px solid ").concat(l,";}"),"#".concat(m,">div{border-top-right-radius:0!important;border-bottom-right-radius:0!important;}")].join("\n"):"");const C=(0,o.sO)(),S=(0,o.sO)(),A=(0,o.sO)();return F(C.current,"header"),F(S.current,"footer"),F(A.current,"rightSideContainer"),Ut("div",(0,B.Z)({},function({layout:{type:t},customCss:{antiAdBlocker:e},decision:{showCloseIcon:n},activeAction:o,individualPrivacyOpen:i,mobile:r,pageRequestUuid4:a}){var s;const c=(null===(s=document.getElementById(a))||void 0===s?void 0:s.clientHeight)||window.innerHeight,l=+r.maxHeight,d=l>c?c:l,u=n||o?51:0;return{className:"y"===e?void 0:"rcb-content",style:{position:"relative",maxHeight:(0,z.D)(r,a,c-("banner"===t?0:20)-u,i?c-u:d-u),overflow:"auto"}}}(t),{ref:g,id:m}),y&&Ut(o.HY,null,Ut(et,{ref:C}),Ut("div",function({layout:{type:t},design:e,headerDesign:{borderWidth:n,borderColor:o},customCss:{antiAdBlocker:i},mobile:r,pageRequestUuid4:a}){const s=(0,z.D)(r,a,e.borderWidth),c={height:(0,z.D)(r,a,+n),background:o,position:"sticky",top:"var(--rendered-height-header)",zIndex:9};return"dialog"===(0,z.D)(r,a,t,"banner")&&s>0&&(c.borderLeft="".concat(s,"px solid ").concat(e.borderColor),c.borderRight=c.borderLeft),{className:"y"===i?void 0:"rcb-header-separator",style:c}}(t))),Ut(zt,{rightSideContainerRef:A}),Ut("div",function({layout:{type:t},design:e,footerDesign:{borderWidth:n,borderColor:o},customCss:{antiAdBlocker:i},mobile:r,pageRequestUuid4:a}){const s=(0,z.D)(r,a,e.borderWidth),c={height:(0,z.D)(r,a,+n),background:o,position:"sticky",bottom:"var(--rendered-height-footer)"};return"dialog"===(0,z.D)(r,a,t,"banner")&&s>0&&(c.borderLeft="".concat(s,"px solid ").concat(e.borderColor),c.borderRight=c.borderLeft),{className:"y"===i?void 0:"rcb-footer-separator",style:c}}(t)),Ut(Mt,{ref:S}))};var _t=n(2104).h;const Ft=()=>{const t=(0,I.S)(),{layout:{animationInDuration:e,animationOutDuration:n},animationVisible:o}=t,{useAnimationIn:i,useAnimationOut:r}=D()(t.layout),[a,s]=H(i,e),[c,l]=H("none"===r?"fadeOut":r,"none"===r?0:n);return _t(_,(0,B.Z)({animationIn:a,animationInDuration:s,animationOut:c,animationOutDuration:l,isVisible:o},function({layout:{type:t,dialogMaxWidth:e,dialogPosition:n,dialogMargin:o,bannerPosition:i,dialogBorderRadius:r},design:{borderWidth:a,borderColor:s,textAlign:c,fontColor:l,fontInheritFamily:d,fontFamily:u,fontWeight:p,boxShadowEnabled:h,boxShadowOffsetX:f,boxShadowOffsetY:m,boxShadowBlurRadius:g,boxShadowSpreadRadius:b,boxShadowColor:v,boxShadowColorAlpha:y},individualLayout:w,customCss:{antiAdBlocker:k},mobile:x,pageRequestUuid4:C,individualPrivacyOpen:S}){const{alignment:A}=x,O=(0,z.D)(x,C,t,"banner"),D=(0,z.D)(x,C,a),E="dialog"===O?+(S&&!w.inheritDialogMaxWidth?w.dialogMaxWidth:e):"100%",I={pointerEvents:"all",transition:"width 500ms, max-width 500ms",maxWidth:E,textAlign:c,width:E,overflow:"hidden",alignSelf:(0,z.D)(x,C,"banner"===O?"top"===i?"flex-start":"flex-end":void 0,"bottom"===A?"flex-end":"top"===A?"flex-start":"center"),fontFamily:d?void 0:u,fontWeight:p,color:l,margin:"dialog"===O?10:void 0,borderRadius:"dialog"===O?+r:void 0,boxShadow:h?"".concat(f,"px ").concat(m,"px ").concat(g,"px ").concat(b,"px ").concat(M(v,y)):void 0,["banner"===O?"top"===i?"borderBottom":"borderTop":"border"]:"banner"===O&&D>0?"".concat(D,"px solid ").concat(s):void 0};return"dialog"===O&&"middleCenter"!==n&&(I.margin=o.map((t=>"".concat(t,"px"))).join(" ")),{className:"y"===k?void 0:"rcb-inner",style:I}}(t)),_t(Yt,null))};var Gt=n(2104).h;const qt=()=>{const t=(0,I.S)(),{customCss:{antiAdBlocker:e,css:n},visible:i,animationVisible:r,activeAction:a,skipOverlay:s,gotHiddenDueLegal:c,pageRequestUuid4:l,individualPrivacyOpen:d}=t,u=S(t),p=i&&!u||!!a;(0,P.G)(e?n:""),(0,P.G)("#".concat(l,", #").concat(l," * {box-sizing: border-box;backface-visibility:initial;text-transform:initial;-webkit-text-size-adjust:100%;}")),function(t){const e=(0,I.S)(),{layout:{overlay:n,overlayBlur:i},pageRequestUuid4:r,animationVisible:a}=e,s=t&&n&&a,c="rcb-overlay-active";(0,o.d4)((()=>{const{dataset:t,style:e,classList:n}=document.body;void 0===t.rcbPreviousOverflow&&(t.rcbPreviousOverflow=e.overflow),e.overflow=s?"hidden":t.rcbPreviousOverflow,document.body.parentElement.style.overflow=e.overflow,s?n.add(c):n.remove(c)}),[s])}(p);const[,h]=(0,o.eJ)(0),f=()=>h(+new Date);if((0,o.bt)((()=>(window.addEventListener("resize",f),()=>window.removeEventListener("resize",f))),[]),(0,o.bt)((()=>{(0,T.s)(1e3)}),[r,d]),c&&(0,o.d4)((()=>{c(u)}),[u]),function(){const t=(0,I.S)(),{consent:e,groups:n,tcf:i,activeAction:r,selectHistoryEntry:a,fetchHistory:s}=t,[c,l]=(0,o.eJ)({consent:e,groups:n,tcf:i});(0,o.d4)((()=>{r||l({consent:e,groups:n,tcf:i})}),[e,n,i,r]),(0,o.d4)((()=>{if("history"===r)l({consent:e,groups:n,tcf:i}),async function(){const t=await s();if(t.length){const[{groups:e,decision:n,tcf:o}]=t;a(e,n,o)}else a([],[])}();else{const{groups:t,consent:{groups:e},tcf:n}=c;null==a||a(t,e,n)}}),[r])}(),function(){const{openBanner:t,openHistory:e,revokeConsent:n}=(0,I.S)();(0,o.d4)((()=>{const o=(o,i,r)=>{if(t)switch(o){case"change":t(r);break;case"history":e(r);break;case"revoke":n(i,r)}},i=e=>{if(!t)return;const n=e.target;(0,N.w)(n,L).concat((0,R.D)(n,L)?[n]:[]).forEach((t=>{o(t.getAttribute("href").slice(9),t.getAttribute("data-success-message"),e)})),(0,R.D)(n,".rcb-sc-link")&&o(n.getAttribute("href").slice(1),n.getAttribute("data-success-message"),e)},r=()=>{const{hash:t}=window.location;t.startsWith("#consent-")&&o(t.substring(9),void 0,void 0)};return window.addEventListener("hashchange",r),document.addEventListener("click",i,!0),()=>{window.removeEventListener("hashchange",r),document.removeEventListener("click",i,!0)}}),[t,e,n])}(),!p)return null;const m=Gt("div",function({layout:{type:t,dialogPosition:e},customCss:{antiAdBlocker:n},mobile:o,pageRequestUuid4:i}){const r={display:"flex",width:"100%",height:"100%"};return"dialog"===(0,z.D)(o,i,t,"banner")&&(r.alignItems=e.startsWith("top")?"flex-start":e.startsWith("bottom")?"flex-end":"center",r.justifyContent=e.endsWith("Center")?"center":e.endsWith("Left")?"flex-start":"flex-end"),{className:"wp-exclude-emoji ".concat("y"===n?"":"rcb-align"),style:r}}(t),Gt(Ft,null));return s?m:Gt("div",(0,B.Z)({id:l},function({layout:{type:t,overlay:e,overlayBg:n,overlayBgAlpha:o},design:{fontSize:i},customCss:{antiAdBlocker:r},mobile:a,pageRequestUuid4:s}){return{className:"y"===r?void 0:"rcb-bann3r rcb-bann3r-".concat((0,z.D)(a,s,t,"banner")," ").concat(e?"":"overlay-deactivated"),style:{background:e?M(n,o):"none",position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:999999,pointerEvents:e?"all":"none",fontSize:(0,z.D)(a,s,+i),filter:"none",maxHeight:"100vh"}}}(t)),m)},Xt={path:"/consent",method:x.O.GET};var jt=n(4883),Vt=n(2104).h;const Jt=({poweredLink:t})=>{const{customizeValuesBanner:{layout:e,decision:n,legal:u,design:f,headerDesign:m,bodyDesign:g,footerDesign:x,texts:B,individualLayout:T,saveButton:P,group:N,individualTexts:R,customCss:L,mobile:z},pageId:H,pageRequestUuid4:W,pageIdToPermalink:M,consentForwardingExternalHosts:U,essentialGroup:Y,isTcf:_,isEPrivacyUSA:F,isAgeNotice:G,isListServicesNotice:q,tcf:X,tcfMetadata:j,groups:V,userConsentCookieName:J,bannerI18n:Z,affiliate:Q,isCurrentlyInTranslationEditorPreview:$,pageByIdUrl:K}=(0,i.u)(),tt=(0,h.h)(J),et=function(t,e,n){return(0,o.Ye)((()=>{}),[t,e,n])}(_,X,j),{toggleOverlay:nt}=function(t){const e=D(),n=(0,o.I4)((({layout:n},o)=>{const{animationInDuration:i,animationOutDuration:r}=n,{useAnimationIn:a,useAnimationOut:s}=e(n),c=o?"none"===a?0:i:"none"===s?0:r;c>0&&(t.style.transition="background ".concat(c,"ms")),t.style.background="transparent",o?(setTimeout((()=>{t.style.display="block"}),0),setTimeout((()=>{const e=t.getAttribute("data-bg");t.style.background=e?e.split(":")[1].trim().replace(";",""):"transparent"}),100)):setTimeout((()=>{t.style.display="none"}),c);const l={animationVisible:o};return o?{visible:!0,...l}:l}),[e]);return{overlay:t,toggleOverlay:n}}(document.getElementById(W)),{openHistory:ot,openBanner:it,revokeConsent:rt,updateTcfFilterBy:at,updateIndividualPrivacyOpen:st,updateGroupChecked:ct,updateCookieChecked:lt,onClose:dt,selectHistoryEntry:ut}=function({toggleOverlay:t,revokeConsent:e}){const n=(e,n)=>e((e=>({...e,activeAction:n,individualPrivacyOpen:!0,refreshSiteAfterSave:"change"===n&&2e3,...t(e,!0)})));return{openHistory:(t,...e)=>{n(t,"history"),E(e[0])},openBanner:(t,...e)=>{n(t,"change"),E(e[0])},revokeConsent:(t,...n)=>{const[o,i]=n;t((t=>(e(t).then((()=>{o&&alert(o),setTimeout((()=>window.location.reload()),2e3)})),t))),E(i)},updateTcfFilterBy:(t,...e)=>{const[n]=e;t((t=>({...t,tcfFilterBy:n})))},updateIndividualPrivacyOpen:(t,...e)=>{const[n]=e;t((t=>({...t,individualPrivacyOpen:n})))},updateGroupChecked:(t,...e)=>{const[n,o]=e;t((t=>{const e=JSON.parse(JSON.stringify(t.consent));return o?e.groups[n]=t.groups.filter((t=>t.id===n))[0].items.map((({id:t})=>t)):delete e.groups[n],{...t,consent:e,didGroupFirstChange:!0}}))},updateCookieChecked:(t,...e)=>{const[n,o,i]=e;t((t=>{const e=JSON.parse(JSON.stringify(t.consent));e.groups[n]||(e.groups[n]=[]);const r=e.groups[n],a=r.indexOf(o);return i&&-1===a?r.push(o):!i&&a>-1&&r.splice(a,1),r.length||delete e.groups[n],{...t,consent:e}}))},onClose:e=>{e((e=>({...e,...t(e,!1),refreshSiteAfterSave:!1})))},selectHistoryEntry:(t,...e)=>{const[n,o,i]=e;t((t=>{const e={isTcf:!!i,tcf:null};return{...t,groups:n,consent:{...t.consent,groups:o},...e}}))}}}({toggleOverlay:nt,revokeConsent:({tcf:t})=>(0,A.$)({consent:{groups:(0,a.b)().getDefaultDecision(!0)},buttonClicked:"shortcode_revoke",tcfString:void 0})}),[pt,ht]=(0,o.eJ)({layout:{...e},decision:{...n},legal:{...u},design:{...f},headerDesign:{...m},bodyDesign:{...g},footerDesign:{...x},texts:{...B},individualLayout:{...T},saveButton:{...P},group:{...N},individualTexts:{...R},customCss:{...L},mobile:{...z},productionNotice:Vt(jt.Z,null),pageRequestUuid4:W,pageIdToPermalink:M,pageByIdUrl:K,consentForwardingExternalHosts:U,pageId:H,isTcf:_,ePrivacyUSA:F,ageNotice:G,listServicesNotice:q,tcf:et,tcfFilterBy:"legInt",groups:V,essentialGroup:Y,poweredLink:t,visible:!1,animationVisible:!0,skipOverlay:!0,previewCheckboxActiveState:!1,individualPrivacyOpen:!1,i18n:Z,keepVariablesInTexts:$,affiliate:Q,consent:{groups:{...!1===tt?{}:tt.consent,...(0,a.b)().getDefaultDecision(!1===tt)}},didGroupFirstChange:!1,onSave:(t,e)=>{ht((n=>{const o=(0,A.$)({consent:n.consent,markAsDoNotTrack:t,buttonClicked:e,tcfString:void 0});return n.refreshSiteAfterSave?(o.then((()=>setTimeout((()=>window.location.reload()),n.refreshSiteAfterSave||2e3))),n):{...n,...nt(n,!1)}}))},fetchHistory:async()=>{const{restNamespace:t,restRoot:e,restQuery:n,restNonce:o}=(0,r.m)(),i=await(0,k.D)({location:Xt,options:{restNamespace:t,restRoot:e,restQuery:n,restNonce:o},cookieValueAsParam:[J],sendRestNonce:!1});return ht((t=>({...t,history:i}))),i},updateTcfFilterBy:t=>at(ht,t),updateIndividualPrivacyOpen:t=>st(ht,t),updateGroupChecked:(t,e)=>ct(ht,t,e),updateCookieChecked:(t,e,n)=>lt(ht,t,e,n),onClose:()=>dt(ht),selectHistoryEntry:(t,e,n)=>ut(ht,t,e,n),openHistory:t=>ot(ht,t),openBanner:t=>it(ht,t),revokeConsent:(t,e)=>rt(ht,t,e)});(function(t,e,n){(0,o.d4)((()=>{if((0,i.u)().customizeIdsBanner)return;const{restNamespace:o,restRoot:u,restQuery:f,restNonce:m,others:{isAcceptAllForBots:g,isPreventPreDecision:x,hasDynamicPreDecisions:A,isRespectDoNotTrack:O}}=(0,r.m)(),{onSave:D}=t;var E,I,B;!async function(t,e){let n=!0;const o=t instanceof s.G?t.getOptions():t,{gateways:i,args:r,onIsDoNotTrack:a,onShowCookieBanner:u}=e;for(const t of i){const e=await t(o,...r);if(!1!==e){n=!1;const t=t=>(0,c.n)({type:t,...o});"all"===e?t("all"):"essentials"===e?t("essentials"):"dnt"===e?a((()=>t("essentials"))):"consent"===e&&t("consent");break}}n&&(u(),await(0,d.C)(),document.dispatchEvent(new CustomEvent(l.I,{detail:{}})))}((0,a.b)(),{gateways:[p,(B=["login-action-"],async()=>{const{className:t}=document.body;return B.filter((e=>t.indexOf(e)>-1)).length>0&&"consent"}),v((()=>{const{clientWidth:t,clientHeight:e}=document.documentElement;return(0,k.D)({location:C,options:{restNamespace:o,restRoot:u,restQuery:f,restNonce:m},sendRestNonce:!1,request:{viewPortWidth:t,viewPortHeight:e},params:{_wp_http_referer:window.location.href}})}),1e4,A),async(t,e)=>!!S(e)&&"consent",(I=x,async({decisionCookieName:t})=>{const e=(0,h.h)(t);return!(!I||!1!==e)&&(b()?"all":"consent")}),(E=!!g&&"all",async({decisionCookieName:t})=>!(!1!==(0,h.h)(t)||!E)&&!!b()&&E),y(O),w],args:[t],onIsDoNotTrack:()=>{D(!0,"none")},onShowCookieBanner:()=>e((t=>({...t,consent:{groups:(0,a.b)().getDefaultDecision()},...n(t,!0)})))})}),[])})(pt,ht,nt),function(t,e){(0,o.d4)((()=>{const n=()=>{const n=(0,h.h)(e);n&&t((t=>({...t,consent:{groups:n.consent}})))};return document.addEventListener(O.V,n),()=>{document.removeEventListener(O.V,n)}}),[])}(ht,J);const ft=I.k.Context();return Vt(ft.Provider,{value:pt},Vt(qt,null))};var Zt=n(1263),Qt=n(3167),$t=n(3554);async function Kt(t,e=500,n=0){let o=0;for(;!t();){if(n>0&&o>=n)return;await new Promise((t=>setTimeout(t,e))),o++}return t()}let te=0;const ee={path:"/consent/clear",method:x.O.DELETE};var ne=n(8102),oe=n(1066),ie=n(3386),re=n(8166);function ae(t,e,n,o){const i=[],{groups:r,revisionHash:a}=t.getOptions(),s=r.map((({items:t})=>t)).flat();for(const t of s)if("number"==typeof e)t.id===e&&i.push({cookie:t,relevance:10});else{const{technicalDefinitions:r}=t;if(null!=r&&r.length)for(const a of r){const s=(0,re.L)(a.name);if(a.type===e&&(a.name===n||n.match(s))&&(a.host===o||"*"===o)){i.push({cookie:t,relevance:r.length+r.indexOf(a)+1});break}}}const c=t.getUserDecision();if(i.length){const t=i.sort((({relevance:t},{relevance:e})=>t-e))[0].cookie;return c&&a===c.revision?Object.values(c.consent).flat().indexOf(t.id)>-1?{cookie:t,consentGiven:!0,cookieOptIn:!0}:{cookie:t,consentGiven:!0,cookieOptIn:!1}:{cookie:t,consentGiven:!1,cookieOptIn:!1}}return{cookie:null,consentGiven:!!c,cookieOptIn:!0}}function se(...t){return new Promise(((e,n)=>{const{cookie:o,consentGiven:i,cookieOptIn:r}=ae(...t);o?i?r?e():n():(document.addEventListener($t.g,(async({detail:{service:t}})=>{t===o&&e()})),document.addEventListener(ie.E,(async({detail:{service:t}})=>{t===o&&n()}))):e()}))}var ce=n(6814),le=n(3933),de=n(2104).h;n.p=(0,ne.sE)("real-cookie-banner");const{blocker:ue,pageRequestUuid4:pe}=(0,i.u)();document.addEventListener($t.g,(async({detail:{service:{presetId:t,codeOptIn:e,codeDynamics:n}}})=>{switch(t){case"amazon-associates-widget":{const{amznAssoWidgetHtmlId:t}=n||{};if(t){const o=document.getElementById(t);if(o){const t=te;te++,(0,Zt.K)(e,n,o);const i=await Kt((()=>document.querySelector('[id^="amzn_assoc_ad_div_"][id$="'.concat(t,'"]'))),500,50);i&&o.appendChild(i)}}break}case"google-maps":document.addEventListener(Qt.T,(async({detail:{element:t}})=>{const{et_pb_map_init:e,jQuery:n}=window;n&&t.matches(".et_pb_map")&&e&&(await Kt((()=>window.google)),e(n(t).parent()))}))}})),function(){const t=(0,i.u)(),{isTcf:e}=t}(),(0,d.C)((()=>{const t=(0,le.U)("".concat(pe,"-powered-by")),e=function(t){const{body:e}=document,{parentElement:n}=t;return n!==e&&e.appendChild(t),t}(document.getElementById(pe));!function(t,e){const n=Array.prototype.slice.call(document.querySelectorAll(".rcb-consent-history-uuids"));document.addEventListener(l.I,(()=>{n.forEach((t=>t.innerHTML=t.getAttribute("data-fallback")))})),document.addEventListener(O.V,(()=>{const t=(0,h.h)(e instanceof s.G?e.getOption("decisionCookieName"):e),o=t?[t.uuid,...t.previousUuids]:[];n.forEach((t=>t.innerHTML=o.length>0?o.join(", "):t.getAttribute("data-fallback")))}))}(0,(0,a.b)()),document.addEventListener(oe.C,(async({detail:{deleteHttpCookies:t}})=>{t.length&&setTimeout((()=>function(t){const{restNamespace:e,restRoot:n,restQuery:o,restNonce:i}=(0,r.m)();return(0,k.D)({location:ee,options:{restNamespace:e,restRoot:n,restQuery:o,restNonce:i},sendRestNonce:!1,params:{cookies:t.join(",")}})}(t)),0)})),e&&(0,o.sY)(de(Jt,{poweredLink:t}),e)}),"interactive"),function(t,e){const n={consent:(...e)=>se(t,...e),consentAll:(...e)=>function(t,e){return Promise.all(e.map((e=>se(t,...e))))}(t,...e),consentSync:(...e)=>ae(t,...e),unblock:(...t)=>function(t,e,n=document.createElement("div")){return new Promise((o=>{let i;const r=!n.parentElement;t:for(const n of t){const{rules:t}=n;for(const o of t){const t=(0,re.L)(o);if(e.match(t)){i=n;break t}}}i?(n.setAttribute(ce.d3,"services"),n.setAttribute(ce._W,i.services.join(",")),n.setAttribute(ce.CT,i.id.toString()),n.addEventListener(Qt.T,(()=>{r&&n.remove(),o()})),r&&document.body.appendChild(n)):o()}))}(e,...t)};window.consentApi=n,window.dispatchEvent(new CustomEvent("consentApi"))}((0,a.b)(),ue)},4883:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var o=n(9712),i=n(2104).h;const r=()=>{const{isPro:t,isLicensed:e,isDevLicense:n,bannerI18n:{noLicense:r,devLicense:a}}=(0,o.u)();if(!t)return null;let s="";return n?s=a:e||(s=r),s?i("div",{style:{fontSize:13,color:"#c95252",fontWeight:"bold",order:9}},s):null}},7499:(t,e,n)=>{"use strict";n.d(e,{$:()=>l});const o={path:"/consent",method:n(9597).O.POST};var i=n(1048),r=n(9712);function a({endpoints:t,data:e}){const{isPro:n}=(0,r.u)();if(n){const n=[];for(const o of t)n.push(window.fetch(o,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)}));return Promise.all(n)}return Promise.reject()}var s=n(1054),c=n(7853);async function l({consent:t,markAsDoNotTrack:e=!1,buttonClicked:n,blocker:r=0,blockerThumbnail:l,tcfString:d}){const{clientWidth:u,clientHeight:p}=document.documentElement,{restNamespace:h,restRoot:f,restQuery:m,restNonce:g}=(0,i.m)(),{forward:b,uuid:v,cookie_revision:y,decision_in_cookie:w}=await(0,c.D)({location:o,options:{restNamespace:h,restRoot:f,restQuery:m,restNonce:g},sendRestNonce:!1,request:{...t,markAsDoNotTrack:e,buttonClicked:n,viewPortWidth:u,viewPortHeight:p,blocker:r,blockerThumbnail:l,tcfString:d},params:{_wp_http_referer:window.location.href}});window.rcbDisabledCookieComp={uuid:v,previousUuids:[],revision:y,consent:w},await Promise.all([b&&a(b),(0,s.b)().applyCookies({type:"consent"})].filter(Boolean))}},1054:(t,e,n)=>{"use strict";n.d(e,{b:()=>s});var o=n(8971),i=n(9712),r=n(1048);function a(t){const e=(0,r.m)().version.split(".");return+("major"===t?e[0]:e.map((t=>+t<10?"0".concat(t):t)).join(""))}function s(){const{userConsentCookieName:t,revisionHash:e,setCookiesViaManager:n,groups:r,essentialGroup:s}=(0,i.u)();return window.rcbConsentManager||(window.rcbConsentManager=new o.G({decisionCookieName:t,essentialGroupSlug:s,groups:r,revisionHash:e,supportsCookiesName:"real_cookie_banner-test",tagManager:n,skipOptIn:function(t){const{presetId:e}=t;return["amazon-associates-widget"].indexOf(e)>-1},cmpId:367,cmpVersion:a("major"),tcfCookieName:"".concat(t,"-tcf")})),window.rcbConsentManager}},1048:(t,e,n)=>{"use strict";function o(){return window["real-cookie-banner".replace(/-([a-z])/g,(t=>t[1].toUpperCase()))]}n.d(e,{m:()=>o})},9712:(t,e,n)=>{"use strict";n.d(e,{u:()=>i});var o=n(1048);function i(){return(0,o.m)().others}}},n={};function o(t){var i=n[t];if(void 0!==i)return i.exports;var r=n[t]={exports:{}};return e[t].call(r.exports,r,r.exports,o),r.exports}o.m=e,t=[],o.O=(e,n,i,r)=>{if(!n){var a=1/0;for(d=0;d<t.length;d++){for(var[n,i,r]=t[d],s=!0,c=0;c<n.length;c++)(!1&r||a>=r)&&Object.keys(o.O).every((t=>o.O[t](n[c])))?n.splice(c--,1):(s=!1,r<a&&(a=r));if(s){t.splice(d--,1);var l=i();void 0!==l&&(e=l)}}return e}r=r||0;for(var d=t.length;d>0&&t[d-1][2]>r;d--)t[d]=t[d-1];t[d]=[n,i,r]},o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t;o.g.importScripts&&(t=o.g.location+"");var e=o.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var n=e.getElementsByTagName("script");n.length&&(t=n[n.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=t})(),(()=>{var t={392:0};o.O.j=e=>0===t[e];var e=(e,n)=>{var i,r,[a,s,c]=n,l=0;if(a.some((e=>0!==t[e]))){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);if(c)var d=c(o)}for(e&&e(n);l<a.length;l++)r=a[l],o.o(t,r)&&t[r]&&t[r][0](),t[r]=0;return o.O(d)},n=self.webpackChunkrealCookieBanner_=self.webpackChunkrealCookieBanner_||[];n.forEach(e.bind(null,0)),n.push=e.bind(null,n.push.bind(n))})();var i=o.O(void 0,[568],(()=>o(7868)));i=o.O(i),realCookieBanner_banner=i})();
1
+ var realCookieBanner_banner;(()=>{var t,e={9616:t=>{t.exports={}},6497:(t,e,n)=>{"use strict";n.d(e,{n:()=>g});var o=n(1263),i=n(9094);function r(t,e){let n,o,i,r=!1,a="";if(t&&"none"!==t){const s="googleTagManager"===t,c="matomoTagManager"===t;s?(i="gtm",n="dataLayer",a="Google Tag Manager"):c&&(i="mtm",n="_mtm",a="Matomo Tag Manager"),(s||c)&&(o=()=>(window[n]=window[n]||[],window[n])),i&&e===i&&(r=!0)}return{getDataLayer:o,serviceIsManager:r,managerLabel:a,expectedManagerPresetId:i}}function a({decisionCookieName:t,tagManager:e,groups:n,essentialGroupSlug:o,type:a}){let s;const c=e&&"none"!==e,[l]=n.filter((({slug:t})=>t===o)),d={[l.id]:l.items.map((({id:t})=>t))};if("consent"===a){const e=(0,i.h)(t);!1!==e?s=e.consent:(console.warn("Something went wrong while reading the cookie, fallback to essentials only..."),s=d)}return"essentials"===a&&(s=d),{isManagerActive:c,selectedGroups:s,iterateServices:async function(t){for(const i of n)for(const n of i.items){var o;const c="all"===a||(null===(o=s[i.id])||void 0===o?void 0:o.indexOf(n.id))>-1,l=r(e,n.presetId);await t(i,n,c,l)}}}}var s=n(3554),c=n(3386),l=n(3840),d=n.n(l),u=n(6702),p=n(8166);var h=n(4916),f=n(1066),m=n(8663);async function g(t){await(0,m.C)();const{dataLayerPromise:e,isManagerOptOut:n,services:i,ready:r}=await async function(t){const e=[],{isManagerActive:n,iterateServices:i}=a(t),{skipOptIn:r}=t;let c=Promise.resolve(void 0);const l=[];return await i((async(t,i,a,{getDataLayer:c,serviceIsManager:d})=>{const{codeDynamics:u,codeOptIn:p,executeCodeOptInWhenNoTagManagerConsentIsGiven:h}=i;if(a){const a=n&&h,c="function"==typeof r&&r(i);a||c||l.push((0,o.K)(p,u));const d={group:t,service:i};document.dispatchEvent(new CustomEvent(s.g,{detail:d})),e.push(d)}})),{isManagerOptOut:!1,dataLayerPromise:c,services:e,ready:Promise.all(l)}}(t),{ready:l}=await async function(t,e,n){const i=[],{isManagerActive:r,iterateServices:s}=a(t);return e?(s(((t,n,o,{serviceIsManager:i})=>{const r=n.tagManagerOptInEventName;o&&r&&!i&&e.push({realCookieBannerOptInEvents:{[r]:!0},event:r})})),setTimeout((()=>s(((t,n,o,{serviceIsManager:i})=>{const r=n.tagManagerOptOutEventName;o||!r||i||e.push({realCookieBannerOptOutEvents:{[r]:!0},event:r})}))),1e3)):r&&n&&await s((async(t,{codeDynamics:e,codeOptIn:n,executeCodeOptInWhenNoTagManagerConsentIsGiven:r},a)=>{a&&r&&i.push((0,o.K)(n,e))})),{ready:Promise.all(i)}}(t,await e,n),g=Promise.all([r,l]);document.dispatchEvent(new CustomEvent(h.V,{detail:{services:i,ready:g}}));const{deleteHttpCookies:b,services:v,ready:y}=await async function(t,e){const n=[],{isManagerActive:i,iterateServices:r}=a(t),s=[],l=[];return await r((async(t,r,a)=>{const{id:h,codeDynamics:f,codeOptOut:m,deleteTechnicalDefinitionsAfterOptOut:g,isEmbeddingOnlyExternalResources:b,technicalDefinitions:v,executeCodeOptOutWhenNoTagManagerConsentIsGiven:y}=r;if(!a){const a=i&&y;(a&&e||!a)&&s.push((0,o.K)(m,f)),g&&!b&&(function(t,e){for(const{type:n,name:o}of t){const t=new RegExp((0,p.L)((0,u.c)(o,e)),"g");switch(n){case"http":for(const e of Object.keys(d().get()))t.test(e)&&d().remove(e);break;case"local":case"session":try{const e="local"===n?window.localStorage:window.sessionStorage;if(e)for(const n of Object.keys(e))if(t.test(n)){try{e.setItem(n,null)}catch(t){}let t=0;for(;e.getItem(n)&&t<100;)t++,e.removeItem(n)}}catch(t){continue}}}}(v,f),v.some((({type:t})=>"http"===t))&&l.push(h));const w={group:t,service:r};document.dispatchEvent(new CustomEvent(c.E,{detail:w})),n.push(w)}})),{services:n,ready:Promise.all(s),deleteHttpCookies:l}}(t,n);document.dispatchEvent(new CustomEvent(f.C,{detail:{services:v,deleteHttpCookies:b,ready:Promise.all([g,y])}}))}},8971:(t,e,n)=>{"use strict";n.d(e,{G:()=>r});var o=n(6497),i=n(9094);class r{constructor(t){this.options=void 0,this.options=t}applyCookies(t){return(0,o.n)({...t,...this.options})}getUserDecision(){return(0,i.h)(this.getOption("decisionCookieName"))}getDefaultDecision(t=!0){return function({groups:t,essentialGroupSlug:e},n=!0){const[o]=t.filter((({slug:t})=>t===e)),i={[o.id]:o.items.map((({id:t})=>t))};if(n)for(const e of t){if(e===o)continue;const t=e.items.filter((({legalBasis:t})=>"legitimate-interest"===t)).map((({id:t})=>t));t.length&&(i[e.id]=t)}return i}(this.options,t)}getOption(t){return this.options[t]}getOptions(){return this.options}}},9094:(t,e,n)=>{"use strict";n.d(e,{h:()=>a});var o=n(2824),i=n(3840),r=n.n(i);function a(t){const e=r().get(t);if(!e){const e=t.split("-")[0];return!(0,o.E)(e?"".concat(e,"-test"):void 0)&&(window.rcbDisabledCookieComp||!1)}const n=function(t,e,n){const o=t.split(":");if(o.length<=3)return o;const i=o.slice(0,2);return i.push(o.slice(2).join(":")),i}(e);if(3!==n.length)return!1;const[i,a]=n,s=i.split(",");return{uuid:s.shift(),previousUuids:s,revision:a,consent:JSON.parse(n[2])}}},3707:(t,e,n)=>{"use strict";n.d(e,{I:()=>o});const o="RCB/Banner/Show"},3554:(t,e,n)=>{"use strict";n.d(e,{g:()=>o});const o="RCB/OptIn"},4916:(t,e,n)=>{"use strict";n.d(e,{V:()=>o});const o="RCB/OptIn/All"},3386:(t,e,n)=>{"use strict";n.d(e,{E:()=>o});const o="RCB/OptOut"},1066:(t,e,n)=>{"use strict";n.d(e,{C:()=>o});const o="RCB/OptOut/All"},210:(t,e,n)=>{"use strict";function o(){const{userAgent:t}=navigator,{cookie:e}=document;if(t){if(/(cookiebot|2gdpr)\.com/i.test(t))return!0;if(/cmpcrawler(reject)?cookie=/i.test(e))return!0}return!1}n.d(e,{f:()=>o})},8663:(t,e,n)=>{"use strict";n.d(e,{C:()=>a});const o=()=>{let t;return[!1,new Promise((e=>t=e)),t]},i={loading:o(),complete:o(),interactive:o()},r=["readystatechange","rocket-readystatechange","DOMContentLoaded","rocket-DOMContentLoaded","rocket-allScriptsLoaded"],a=(t,e="complete")=>new Promise((n=>{let o=!1;const a=()=>{(()=>{const{readyState:t}=document,[e,,n]=i[t];if(!e){i[t][0]=!0,n();const[e,,o]=i.interactive;"complete"!==t||e||(i.interactive[0]=!0,o())}})(),!o&&i[e][0]&&(o=!0,null==t||t(),setTimeout(n,0))};a();for(const t of r)document.addEventListener(t,a);i[e][1].then(a)}))},8166:(t,e,n)=>{"use strict";function o(t){const e=t.replace(/\*/g,"PLEACE_REPLACE_ME_AGAIN");return"^".concat((n=e,n.replace(new RegExp("[.\\\\+*?\\[\\^\\]$(){}=!<>|:\\".concat("","-]"),"g"),"\\$&")).replace(/PLEACE_REPLACE_ME_AGAIN/g,"(.*)"),"$");var n}n.d(e,{L:()=>o})},2824:(t,e,n)=>{"use strict";n.d(e,{E:()=>s});var o=n(3840),i=n.n(o),r=n(210);let a;function s(t="test"){if("boolean"==typeof a)return a;if((0,r.f)())return!0;try{const e={sameSite:"Lax"};i().set(t,"1",e);const n=-1!==document.cookie.indexOf("".concat(t,"="));return i().remove(t,e),a=n,n}catch(t){return!1}}},6702:(t,e,n)=>{"use strict";n.d(e,{c:()=>i});const o=/{{([A-Za-z0-9_]+)}}/gm;function i(t,e){return t.replace(o,((t,n)=>Object.prototype.hasOwnProperty.call(e,n)?e[n]:t))}},6814:(t,e,n)=>{"use strict";n.d(e,{CT:()=>p,Gn:()=>m,He:()=>l,Kh:()=>y,Ks:()=>b,Kx:()=>O,NY:()=>c,Ng:()=>u,Qd:()=>D,Qt:()=>k,Ti:()=>g,WK:()=>S,Wm:()=>w,YO:()=>f,_W:()=>s,d3:()=>a,dW:()=>v,fq:()=>C,i7:()=>d,jb:()=>o,jk:()=>A,of:()=>x,rG:()=>r,v4:()=>h,zm:()=>i});const o="consent-original",i="consent-click-original",r="_",a="consent-by",s="consent-required",c="consent-visual-use-parent",l="consent-visual-paint-mode",d="consent-inline",u="consent-inline-style",p="consent-id",h="script",f="consent-blocker-connected",m="consent-blocker-connected-pres",g="consent-transaction-complete",b="consent-transform-wrapper",v="1",y="consent-strict-hidden",w="consent-cb-reset-parent",k="1",x="consent-cb-reset-parent-is-ratio",C="consent-got-clicked",S="1",A="2",O="consent-thumbnail",D="consent-click-dispatch-resize"},1263:(t,e,n)=>{"use strict";n.d(e,{K:()=>c,L:()=>s});var o=n(839),i=n.n(o),r=n(6702),a=n(5858);const s="rcbInitiatorOnload";function c(t,e,n=document.body){return new Promise((o=>{t?i()(n,(0,r.c)(t,e),{done:o,error:t=>{console.error(t)},beforeWriteToken:t=>{const{attrs:e,booleanAttrs:n,src:o,href:i,content:r}=t;if(null!=n&&n["skip-write"])return!1;r&&(t.content=r.replace(/window\.onload\s+=/g,"window.".concat(s," =")));for(const t in e)if(e[t]=(0,a.l)(e[t]),"unique-write-name"===t&&document.querySelector('[unique-write-name="'.concat(e[t],'"]')))return!1;return o&&(t.src=(0,a.l)(o)),i&&(t.href=(0,a.l)(i)),t}}):o()}))}},3167:(t,e,n)=>{"use strict";n.d(e,{T:()=>o});const o="RCB/OptIn/ContentBlocker"},327:(t,e,n)=>{"use strict";n.d(e,{s:()=>i});var o=n(6814);function i(t=0){let e;if("number"==typeof t)e=t;else{if(null==t||!t.hasAttribute(o.Qd))return;e=+t.getAttribute(o.Qd)}setTimeout((()=>{try{window.dispatchEvent(new Event("resize"))}catch(t){}}),e)}},5858:(t,e,n)=>{"use strict";n.d(e,{l:()=>i});var o=n(4028);function i(t){var e;return(0,o.C)(t)?null===(e=(new DOMParser).parseFromString('<a href="'.concat(t,'"></a>'),"text/html").querySelector("a"))||void 0===e?void 0:e.href:(new DOMParser).parseFromString(t,"text/html").documentElement.textContent}},4028:(t,e,n)=>{"use strict";function o(t){return!!/^(?:(?:https?|ftp):\/\/)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/\S*)?$/.test(t)}n.d(e,{C:()=>o})},895:(t,e,n)=>{"use strict";n.d(e,{w:()=>i});var o=n(7951);function i(t,e){const n=[];let i=t.parentElement;for(;null!==i;)i.nodeType===Node.ELEMENT_NODE&&(0,o.D)(i,e)&&n.push(i),i=i.parentElement;return n}},2163:(t,e,n)=>{"use strict";n.d(e,{X:()=>r});var o=n(4211),i=n(2104).h;const r=({ms:t=100,chars:e=["&#9719;","&#9718;","&#9717;","&#9716;"]})=>{const[n,r]=(0,o.eJ)(1);return(0,o.d4)((()=>{const e=setInterval((()=>{r(n+1)}),t);return()=>clearInterval(e)}),[n]),i("span",{dangerouslySetInnerHTML:{__html:e[n%4]}})}},9369:(t,e,n)=>{"use strict";n.d(e,{P:()=>h});var o=n(7465),i=n(4211),r=n(4773),a=n(6408),s=n(2104).h;const c=({icon:t,...e})=>{const n=(0,i.Ye)((()=>(0,a.x)(t,{extraSVGAttrs:{style:"width:auto;height:100%;",fill:"currentColor"}})),[t]);return s("div",(0,o.Z)({},e,{dangerouslySetInnerHTML:{__html:n}}))};var l=n(9006),d=n(577),u=n(3709),p=n(2104).h;const h=({hideCheckbox:t,isPartial:e,isChecked:n,isDisabled:a,fontSize:s,onClick:h,children:f,after:m,...g})=>{const b=e?l.Z:d.Z,v=(0,u.w)(),[y,w]=(0,i.eJ)(!1);return(0,i.bt)((()=>{w(!0)}),[]),p(i.HY,null,!t&&p(c,(0,o.Z)({icon:b,onClick:h},function({layout:{borderRadius:t},group:{headlineFontSize:e,checkboxBg:n,checkboxBorderWidth:o,checkboxBorderColor:i,checkboxActiveBg:a,checkboxActiveBorderColor:s,checkboxActiveColor:c},customCss:{antiAdBlocker:l},mobile:d,pageRequestUuid4:u},p,h,f,m){let g=m||e;g=u?(0,r.D)(d,u,g):g;const b=u?(0,r.D)(d,u,+o):+o,v=+g+2*b+6;return{className:"y"===l?void 0:"rcb-checkbox",style:{cursor:f?"not-allowed":"pointer",opacity:f?.5:void 0,color:h?c:n,display:p?"inline-block":"none",background:h?a:n,border:"".concat(b,"px solid ").concat(h?s:i),padding:3,height:v,width:v,marginRight:10,borderRadius:+t,verticalAlign:"middle",lineHeight:0,boxSizing:"border-box"}}}(v,y,n,a,s),g)),f&&p("span",{style:{verticalAlign:"middle",cursor:"pointer"}},p("span",{onClick:h},f),m))}},1692:(t,e,n)=>{"use strict";n.d(e,{V:()=>g});var o=n(7465),i=n(3709),r=n(9369),a=n(4211),s=n(4028),c=n(9436),l=n(4773),d=n(2104).h;const u=({label:t,value:e,children:n,printValueAs:r})=>{const a=(0,i.w)(),{i18n:{yes:u,no:p}}=a;let h="string"==typeof e&&(0,s.C)(e)?d("a",{href:e,style:{wordBreak:"break-all",...(0,c.c)(a,!1).style},target:"_blank",rel:"noopener noreferrer"},e):"string"==typeof e?d("span",{dangerouslySetInnerHTML:{__html:e}}):e;return"boolean"===r&&(h=h?u:p),d("div",(0,o.Z)({key:t},function({group:{groupBorderWidth:t,groupBorderColor:e},customCss:{antiAdBlocker:n},mobile:o,pageRequestUuid4:i}){return{className:"y"===n?void 0:"rcb-cookie-prop",style:{borderLeft:(i?(0,l.D)(o,i,t):t)>0?"1px solid ".concat(e):void 0,paddingLeft:15}}}(a)),t&&d("strong",null,t,": "),h,!!n&&d("div",null,n))};var p=n(6702),h=n(2104).h;const f=({cookie:{purpose:t,provider:e,providerPrivacyPolicyUrl:n,legalBasis:o,ePrivacyUSA:r,isEmbeddingOnlyExternalResources:s,technicalDefinitions:c,codeDynamics:l},isEssentialGroup:d})=>{const{i18n:f,ePrivacyUSA:m}=(0,i.w)(),g={http:{name:"HTTP Cookie",abbr:"HTTP",backgroundColor:"black"},local:{name:"Local Storage",abbr:"Local",backgroundColor:"#b3983c"},session:{name:"Session Storage",abbr:"Session",backgroundColor:"#3c99b3"},flash:{name:"Flash Local Shared Object",abbr:"Flash",backgroundColor:"#b33c3c"},indexedDb:{name:"IndexedDB",abbr:"I-DB",backgroundColor:"#4ab33c"}};return h(a.HY,null,!!t&&h(u,{label:f.purpose,value:t}),h(u,{label:f.legalBasis,value:"legal-requirement"===o?f.legalRequirement:"legitimate-interest"===o||d?f.legitimateInterest:f.consent}),h(u,{label:f.provider,value:e}),!!n&&h(u,{label:f.providerPrivacyPolicyUrl,value:n}),!!m&&h(u,{label:f.ePrivacyUSA,value:r,printValueAs:"boolean"}),!s&&c.map((({type:t,name:e,host:n,duration:o,durationUnit:i,isSessionDuration:r,purpose:a})=>h(u,{key:e,label:f.technicalCookieDefinition,value:h("span",{style:{fontFamily:"monospace"}},(0,p.c)(e,l))},h(u,{label:f.type,value:g[t].name}),!!a&&h(u,{label:f.purpose,value:a}),!!n&&h(u,{label:f.host,value:h("span",{style:{fontFamily:"monospace"}},n)}),h(u,{label:f.duration,value:["local","indexedDb","flash"].indexOf(t)>-1?f.noExpiration:r||"session"===t?"Session":"".concat(o," ").concat(f.durationUnit[i])})))))};var m=n(2104).h;const g=({cookie:t,checked:e,disabled:n,onToggleCheck:a,propertyListProps:s={}})=>{const{name:c}=t,l=(0,i.w)(),{group:{descriptionFontSize:d}}=l;return m("div",function({customCss:{antiAdBlocker:t}}){return{className:"y"===t?void 0:"rcb-cookie",style:{marginTop:10}}}(l),m("div",{style:{marginBottom:10}},m(r.P,{isChecked:e,isDisabled:n,fontSize:d,onClick:a},m("strong",null,c))),m(f,(0,o.Z)({cookie:t},s)))}},5625:(t,e,n)=>{"use strict";n.d(e,{u:()=>s});var o=n(7465),i=n(4211),r=n(5055),a=n(2104).h;const s=(0,i.Gp)((({children:t,className:e,title:n,position:i="top",color:s,size:c="large",always:l,rounded:d,noAnimate:u,bounce:p,...h},f)=>((0,r.G)("/*! Hint.css - v2.7.0 - 2021-10-01\n* https://kushagra.dev/lab/hint/\n* Copyright (c) 2021 Kushagra Gour */\n\n[class*=hint--]{position:relative;display:inline-block}[class*=hint--]:after,[class*=hint--]:before{position:absolute;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);transform:translate3d(0,0,0);visibility:hidden;opacity:0;z-index:1000000;pointer-events:none;-webkit-transition:.3s ease;-moz-transition:.3s ease;transition:.3s ease;-webkit-transition-delay:0s;-moz-transition-delay:0s;transition-delay:0s}[class*=hint--]:hover:after,[class*=hint--]:hover:before{visibility:visible;opacity:1;-webkit-transition-delay:.1s;-moz-transition-delay:.1s;transition-delay:.1s}[class*=hint--]:before{content:'';position:absolute;background:0 0;border:6px solid transparent;z-index:1000001}[class*=hint--]:after{background:#383838;color:#fff;padding:8px 10px;font-size:12px;font-family:\"Helvetica Neue\",Helvetica,Arial,sans-serif;line-height:12px;white-space:nowrap;text-shadow:0 -1px 0 #000;box-shadow:4px 4px 8px rgba(0,0,0,.3)}[class*=hint--][aria-label]:after{content:attr(aria-label)}[class*=hint--][data-hint]:after{content:attr(data-hint)}[aria-label='']:after,[aria-label='']:before,[data-hint='']:after,[data-hint='']:before{display:none!important}.hint--top-left:before,.hint--top-right:before,.hint--top:before{border-top-color:#383838}.hint--bottom-left:before,.hint--bottom-right:before,.hint--bottom:before{border-bottom-color:#383838}.hint--top:after,.hint--top:before{bottom:100%;left:50%}.hint--top:before{margin-bottom:-11px;left:calc(50% - 6px)}.hint--top:after{-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);transform:translateX(-50%)}.hint--top:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--top:hover:after{-webkit-transform:translateX(-50%) translateY(-8px);-moz-transform:translateX(-50%) translateY(-8px);transform:translateX(-50%) translateY(-8px)}.hint--bottom:after,.hint--bottom:before{top:100%;left:50%}.hint--bottom:before{margin-top:-11px;left:calc(50% - 6px)}.hint--bottom:after{-webkit-transform:translateX(-50%);-moz-transform:translateX(-50%);transform:translateX(-50%)}.hint--bottom:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--bottom:hover:after{-webkit-transform:translateX(-50%) translateY(8px);-moz-transform:translateX(-50%) translateY(8px);transform:translateX(-50%) translateY(8px)}.hint--right:before{border-right-color:#383838;margin-left:-11px;margin-bottom:-6px}.hint--right:after{margin-bottom:-14px}.hint--right:after,.hint--right:before{left:100%;bottom:50%}.hint--right:hover:after,.hint--right:hover:before{-webkit-transform:translateX(8px);-moz-transform:translateX(8px);transform:translateX(8px)}.hint--left:before{border-left-color:#383838;margin-right:-11px;margin-bottom:-6px}.hint--left:after{margin-bottom:-14px}.hint--left:after,.hint--left:before{right:100%;bottom:50%}.hint--left:hover:after,.hint--left:hover:before{-webkit-transform:translateX(-8px);-moz-transform:translateX(-8px);transform:translateX(-8px)}.hint--top-left:after,.hint--top-left:before{bottom:100%;left:50%}.hint--top-left:before{margin-bottom:-11px;left:calc(50% - 6px)}.hint--top-left:after{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%);margin-left:12px}.hint--top-left:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--top-left:hover:after{-webkit-transform:translateX(-100%) translateY(-8px);-moz-transform:translateX(-100%) translateY(-8px);transform:translateX(-100%) translateY(-8px)}.hint--top-right:after,.hint--top-right:before{bottom:100%;left:50%}.hint--top-right:before{margin-bottom:-11px;left:calc(50% - 6px)}.hint--top-right:after{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0);margin-left:-12px}.hint--top-right:hover:after,.hint--top-right:hover:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--bottom-left:after,.hint--bottom-left:before{top:100%;left:50%}.hint--bottom-left:before{margin-top:-11px;left:calc(50% - 6px)}.hint--bottom-left:after{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%);margin-left:12px}.hint--bottom-left:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--bottom-left:hover:after{-webkit-transform:translateX(-100%) translateY(8px);-moz-transform:translateX(-100%) translateY(8px);transform:translateX(-100%) translateY(8px)}.hint--bottom-right:after,.hint--bottom-right:before{top:100%;left:50%}.hint--bottom-right:before{margin-top:-11px;left:calc(50% - 6px)}.hint--bottom-right:after{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0);margin-left:-12px}.hint--bottom-right:hover:after,.hint--bottom-right:hover:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--large:after,.hint--medium:after,.hint--small:after{white-space:normal;line-height:1.4em;word-wrap:break-word}.hint--small:after{width:80px}.hint--medium:after{width:150px}.hint--large:after{width:300px}.hint--error:after{background-color:#b34e4d;text-shadow:0 -1px 0 #592726}.hint--error.hint--top-left:before,.hint--error.hint--top-right:before,.hint--error.hint--top:before{border-top-color:#b34e4d}.hint--error.hint--bottom-left:before,.hint--error.hint--bottom-right:before,.hint--error.hint--bottom:before{border-bottom-color:#b34e4d}.hint--error.hint--left:before{border-left-color:#b34e4d}.hint--error.hint--right:before{border-right-color:#b34e4d}.hint--warning:after{background-color:#c09854;text-shadow:0 -1px 0 #6c5328}.hint--warning.hint--top-left:before,.hint--warning.hint--top-right:before,.hint--warning.hint--top:before{border-top-color:#c09854}.hint--warning.hint--bottom-left:before,.hint--warning.hint--bottom-right:before,.hint--warning.hint--bottom:before{border-bottom-color:#c09854}.hint--warning.hint--left:before{border-left-color:#c09854}.hint--warning.hint--right:before{border-right-color:#c09854}.hint--info:after{background-color:#3986ac;text-shadow:0 -1px 0 #1a3c4d}.hint--info.hint--top-left:before,.hint--info.hint--top-right:before,.hint--info.hint--top:before{border-top-color:#3986ac}.hint--info.hint--bottom-left:before,.hint--info.hint--bottom-right:before,.hint--info.hint--bottom:before{border-bottom-color:#3986ac}.hint--info.hint--left:before{border-left-color:#3986ac}.hint--info.hint--right:before{border-right-color:#3986ac}.hint--success:after{background-color:#458746;text-shadow:0 -1px 0 #1a321a}.hint--success.hint--top-left:before,.hint--success.hint--top-right:before,.hint--success.hint--top:before{border-top-color:#458746}.hint--success.hint--bottom-left:before,.hint--success.hint--bottom-right:before,.hint--success.hint--bottom:before{border-bottom-color:#458746}.hint--success.hint--left:before{border-left-color:#458746}.hint--success.hint--right:before{border-right-color:#458746}.hint--always:after,.hint--always:before{opacity:1;visibility:visible}.hint--always.hint--top:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--always.hint--top:after{-webkit-transform:translateX(-50%) translateY(-8px);-moz-transform:translateX(-50%) translateY(-8px);transform:translateX(-50%) translateY(-8px)}.hint--always.hint--top-left:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--always.hint--top-left:after{-webkit-transform:translateX(-100%) translateY(-8px);-moz-transform:translateX(-100%) translateY(-8px);transform:translateX(-100%) translateY(-8px)}.hint--always.hint--top-right:after,.hint--always.hint--top-right:before{-webkit-transform:translateY(-8px);-moz-transform:translateY(-8px);transform:translateY(-8px)}.hint--always.hint--bottom:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--always.hint--bottom:after{-webkit-transform:translateX(-50%) translateY(8px);-moz-transform:translateX(-50%) translateY(8px);transform:translateX(-50%) translateY(8px)}.hint--always.hint--bottom-left:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--always.hint--bottom-left:after{-webkit-transform:translateX(-100%) translateY(8px);-moz-transform:translateX(-100%) translateY(8px);transform:translateX(-100%) translateY(8px)}.hint--always.hint--bottom-right:after,.hint--always.hint--bottom-right:before{-webkit-transform:translateY(8px);-moz-transform:translateY(8px);transform:translateY(8px)}.hint--always.hint--left:after,.hint--always.hint--left:before{-webkit-transform:translateX(-8px);-moz-transform:translateX(-8px);transform:translateX(-8px)}.hint--always.hint--right:after,.hint--always.hint--right:before{-webkit-transform:translateX(8px);-moz-transform:translateX(8px);transform:translateX(8px)}.hint--rounded:after{border-radius:4px}.hint--no-animate:after,.hint--no-animate:before{-webkit-transition-duration:0s;-moz-transition-duration:0s;transition-duration:0s}.hint--bounce:after,.hint--bounce:before{-webkit-transition:opacity .3s ease,visibility .3s ease,-webkit-transform .3s cubic-bezier(.71,1.7,.77,1.24);-moz-transition:opacity .3s ease,visibility .3s ease,-moz-transform .3s cubic-bezier(.71,1.7,.77,1.24);transition:opacity .3s ease,visibility .3s ease,transform .3s cubic-bezier(.71,1.7,.77,1.24)}.hint--no-shadow:after,.hint--no-shadow:before{text-shadow:initial;box-shadow:initial}.hint--no-arrow:before{display:none}","hint-css",!0),a("div",(0,o.Z)({style:{position:"relative",display:"inline"},ref:f,"aria-label":n,className:"hint--".concat(i," hint--").concat(c," ").concat(s?"hint--".concat(s):""," ").concat(l?"hint--always":""," ").concat(d?"hint--rounded":""," ").concat(u?"hint--no-animate":""," ").concat(p?"hint--bounce":""," ").concat(e||"")},h),t))))},1400:(t,e,n)=>{"use strict";n.d(e,{S:()=>r,k:()=>i});var o=n(4211);class i{static Context(){return this.context=this.context||(0,o.kr)({})}}function r(){return(0,o.qp)(i.Context())}i.context=void 0},5048:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i,_:()=>r});var o=n(4211);class i{static Context(){return this.context=this.context||(0,o.kr)({})}}function r(){return(0,o.qp)(i.Context())}i.context=void 0},350:(t,e,n)=>{"use strict";n.d(e,{g:()=>g});var o=n(7465),i=n(4211),r=n(3709),a=n(6077),s=n(4773),c=n(2104).h;const l=({children:t,...e})=>{const n=(0,r.w)(),[a,l]=(0,i.eJ)(!1);return c("a",(0,o.Z)({onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1)},function({footerDesign:{fontSize:t,fontColor:e,hoverFontColor:n,fontInheritFamily:o,fontFamily:i},design:{linkTextDecoration:r},customCss:{antiAdBlocker:a},mobile:c,pageRequestUuid4:l},d=!1){return{className:"y"===a?void 0:"rcb-footer-link",style:{textDecoration:r,fontSize:l?(0,s.D)(c,l,+t):+t,color:d?n:e,fontFamily:o?void 0:i,padding:"0 5px"}}}(n,a),e),t)};var d=n(5625),u=n(2104).h;const p=({poweredLink:t,affiliate:e})=>u(l,{href:e?e.link:t.href,target:t.target,key:"powered-by"},u("span",{dangerouslySetInnerHTML:{__html:t.innerHTML}}),e&&u(d.u,{title:e.description,position:"top-left"}," ",e.labelBehind));var h=n(2104).h;function f(t,e){const n=t.filter(Boolean);return 0===n.length?null:n.reduce(((t,n,o)=>t.length?[...t,h(i.HY,{key:o},e),n]:[n]),[])}var m=n(2104).h;function g({onClose:t,putPoweredByLinkInRow:e,row1:n}={}){const{i18n:{close:s},footerDesign:{poweredByLink:c,linkTarget:d},poweredLink:u,affiliate:h}=(0,r.w)(),{linkPrivacyPolicy:g,linkImprint:b}=(0,a.p)(),v="_blank"===d?{target:"_blank",rel:"noopener"}:{},y=[[t&&m(l,{href:"#",onClick:t,key:"close"},m("strong",null,s)),...n||[],g&&m(l,(0,o.Z)({href:g.url},v,{key:"privacyPolicy"}),g.label),b&&m(l,(0,o.Z)({href:b.url},v,{key:"imprint"}),b.label)].filter(Boolean),[]];u&&c&&y[e||0].push(m(p,{key:"poweredBy",poweredLink:u,affiliate:h}));const w=(0,i.I4)((t=>f(t.map((t=>t.length?m(i.HY,{key:t[0].key},f(t,m(i.HY,null," • "))):null)),m("br",null))),[]);return{rows:y,render:w}}},3759:(t,e,n)=>{"use strict";n.d(e,{k:()=>s});var o=n(3709),i=n(6077);function r(t,e){return t.length>1&&t.splice(t.length-1,0,"{{andSeparator}}"),t.join(", ").replace(/,\s+{{andSeparator}},\s+/g,e)}const a='<sup style="vertical-align:top;line-height:100%;position:initial;">';function s({disableDataProcessingInUnsafeCountries:t,disableAgeNotice:e,disableListServicesNotice:n}={}){const{blocker:s,groups:c,ePrivacyUSA:l,ageNotice:d,listServicesNotice:u,texts:{description:p,ePrivacyUSA:h,ageNoticeBanner:f,listServicesNotice:m,consentForwardingExternalHosts:g},tcf:b,consentForwardingExternalHosts:v,individualPrivacyOpen:y,individualTexts:{description:w},essentialGroup:k,i18n:{andSeparator:x,tcf:C},keepVariablesInTexts:S}=(0,o.w)(),{linkPrivacyPolicy:A}=(0,i.p)();let O="";v&&!S&&(O=g.replace(/{{websites}}/g,v.join(", ")));let D=[s?s.description:y?w:p,O].filter(Boolean).join(" ");S||(D=D.replace(/{{privacyPolicy}}(.*){{\/privacyPolicy}}/gi,A?'<a href="'.concat(A.url,'" style="text-decoration:underline;color:inherit;" onmouseenter="this.style.textDecoration=\'none\'" onmouseleave="this.style.textDecoration=\'underline\'" target="_blank">$1</a>'):"$1"));const E=c.map((({items:t})=>t.filter((({ePrivacyUSA:t})=>t)))).flat(),I=b?Object.values(b.gvl.vendors).filter((t=>{var e;return(null===(e=t.additionalInformation)||void 0===e?void 0:e.internationalTransfers)||1===b.original.vendorConfigurations[t.id].ePrivacyUSA})):[];let B=!t&&(E.length>0||I.length>0)&&l?h:"";const T=d&&!e?f:"";let P="";if(u&&!n){const t=m.toLowerCase(),e=t.indexOf("{{services}}")>-1&&t.indexOf("{{servicegroups}}")>-1,n=c.filter((({slug:t})=>t!==k)),o="~;~",i=r(n.map((({items:t},n)=>t.map((({name:t,ePrivacyUSA:o})=>"".concat(t).concat(a).concat([e?n+1:"",B&&o?"U":""].filter(Boolean).join(","),"</sup>"))).join(o))).join(o).split(o),x);if(i){const t=r(n.map((({name:t},n)=>"".concat(t).concat(a).concat(e?n+1:"","</sup>"))),x);P="<span>".concat(m,"</span>").concat(b&&!y?" <span>".concat(C.listOfServicesAppendix,"</span>"):""),S||(P=P.replace(/{{services}}/gi,i).replace(/{{serviceGroups}}/gi,t)),B&&(B+="".concat(a,"U</sup>"))}}return{description:D,teachings:[B,T,P].filter(Boolean)}}},3709:(t,e,n)=>{"use strict";n.d(e,{w:()=>r});var o=n(1400),i=n(5048);function r(){const t=(0,o.S)(),e=(0,i._)();return t.groups?t:e}},6077:(t,e,n)=>{"use strict";n.d(e,{p:()=>i});var o=n(3709);function i(){const{legal:{privacyPolicy:t,privacyPolicyExternalUrl:e,privacyPolicyIsExternalUrl:n,privacyPolicyLabel:i,imprint:r,imprintExternalUrl:a,imprintIsExternalUrl:s,imprintLabel:c},pageByIdUrl:l}=(0,o.w)(),d=(0,o.w)().pageIdToPermalink||{};let u=t>0?d[t]||"".concat(l,"=").concat(t):void 0,p=r>0?d[r]||"".concat(l,"=").concat(r):void 0;return n&&(u=e),s&&(p=a),{linkPrivacyPolicy:!(!i||!u)&&{url:u,label:i},linkImprint:!(!c||!p)&&{url:p,label:c}}}},5055:(t,e,n)=>{"use strict";n.d(e,{G:()=>r});var o=n(4211);let i=0;function r(t,e,n){const r=(0,o.Ye)((()=>"react-use-plain-css-".concat(e||(i++).toString(36))),[]);return(0,o.bt)((()=>{let e=document.getElementById(r);return e||(e=document.createElement("style"),e.style.type="text/css",e.id=r,document.getElementsByTagName("head")[0].appendChild(e)),e.innerHTML=t,()=>{var t;n||null===(t=e.parentNode)||void 0===t||t.removeChild(e)}}),[t,n]),r}},5435:(t,e,n)=>{"use strict";n.d(e,{W:()=>i});var o=n(4773);function i({bodyDesign:{teachingsInheritTextAlign:t,teachingsTextAlign:e,teachingsInheritFontSize:n,teachingsFontSize:i,teachingsInheritFontColor:r,teachingsFontColor:a},customCss:{antiAdBlocker:s},mobile:c,pageRequestUuid4:l}){return{className:"y"===s?void 0:"rcb-teachings",style:{marginTop:7,display:"inline-block",textAlign:t?void 0:e,fontSize:n?void 0:l?(0,o.D)(c,l,+i):+i,color:r?void 0:a}}}},6010:(t,e,n)=>{"use strict";function o({layout:{borderRadius:t},bodyDesign:{teachingsSeparatorActive:e,teachingsSeparatorWidth:n,teachingsSeparatorHeight:o,teachingsSeparatorColor:i},customCss:{antiAdBlocker:r}}){return{className:"y"===r?void 0:"rcb-teachings-separator",style:{marginTop:7,display:"inline-block",maxWidth:"100%",borderRadius:+t,width:+n,height:e?+o:0,background:i}}}n.d(e,{V:()=>o})},9436:(t,e,n)=>{"use strict";function o({design:{linkTextDecoration:t},group:{linkColor:e,linkHoverColor:n},customCss:{antiAdBlocker:o}},i){return{className:"y"===o?void 0:"rcb-group-more",style:{color:i?n:e,textDecoration:t}}}n.d(e,{c:()=>o})},9126:(t,e,n)=>{"use strict";n.d(e,{a:()=>i});var o=n(4773);function i({headerDesign:{fontSize:t,fontColor:e,fontInheritFamily:n,fontFamily:i,fontWeight:r},customCss:{antiAdBlocker:a},mobile:s,pageRequestUuid4:c},l){return{className:"y"===a?void 0:"rcb-headline",style:{color:e,lineHeight:1.8,fontSize:c?(0,o.D)(s,c,+t):+t,fontFamily:n?void 0:i,fontWeight:r,paddingRight:l?20:void 0}}}},4773:(t,e,n)=>{"use strict";function o({enabled:t,scalePercent:e,scalePercentVertical:n},o,i,r,a=!1){return i}n.d(e,{D:()=>o})},3933:(t,e,n)=>{"use strict";n.d(e,{U:()=>i});var o=n(7951);function i(t){const e=document.getElementById(t),n=document.createElement("div");return window.rcbPoweredByCacheOuterHTML?n.innerHTML=window.rcbPoweredByCacheOuterHTML:(0,o.D)(e,"a")&&e.innerHTML.toLowerCase().indexOf("Real Cookie Banner")&&(window.rcbPoweredByCacheOuterHTML=e.outerHTML,n.innerHTML=window.rcbPoweredByCacheOuterHTML,e.parentNode.removeChild(e)),n.children[0]}window.rcbPoweredByCacheOuterHTML=""},7951:(t,e,n)=>{"use strict";function o(t,e){return!(!t||1!==t.nodeType||!t.parentElement)&&t.matches(e)}n.d(e,{D:()=>o})},7853:(t,e,n)=>{"use strict";n.d(e,{D:()=>k});var o=n(8102),i=n(9597),r=n(6011),a=n.n(r),s=n(6282),c=n(3840),l=n.n(c),d=n(6025),u=n.n(d);function p(t,e,n){return t.search=s.stringify(n?a().all([s.parse(t.search),...e]):e,!0),t}const h={},f={};async function m(t,e){if(void 0!==e){const n=f[t]||new Promise((async(n,o)=>{try{const i=await window.fetch(e,{method:"POST"});if(i.ok){const e=await i.text();t===e?o():(h[t]=e,n(e))}else o()}catch(t){o()}}));return f[t]=n,n}{if(void 0===t)return;await Promise.all(Object.values(f));let e=t;for(;h[e]&&(e=h[e],h[e]!==t););return Promise.resolve(e)}}const g="notice-corrupt-rest-api";function b({method:t},e){t===i.O.GET&&(e?async function(t,e=(async()=>{})){const n=document.getElementById(g);if(n){if(n.querySelector("ul").innerText.indexOf(t)>-1)return;try{await e()}catch(e){n.style.display="block";const o=document.createElement("li");o.innerHTML="<code>".concat(t,"</code>"),n.childNodes[1].appendChild(o),n.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"})}}}(e,(()=>{throw new Error})):(window.detectCorruptRestApiFailed=(window.detectCorruptRestApiFailed||0)+1,window.dispatchEvent(new CustomEvent(g))))}async function v(t,e,n){if(204===e.status)return{};const o=e.clone();try{return await e.json()}catch(e){const r=await o.text();if(""===r&&[i.O.DELETE,i.O.PUT].indexOf(n)>-1)return;let a;console.warn("The response of ".concat(t," contains unexpected JSON, try to resolve the JSON line by line..."),{body:r});for(const t of r.split("\n"))if(t.startsWith("[")||t.startsWith("{"))try{return JSON.parse(t)}catch(t){a=t}throw a}}var y=n(9616),w=n.n(y);async function k({location:t,options:e,request:n,params:r,settings:c={},cookieValueAsParam:d,multipart:h=!1,sendRestNonce:f=!0}){const g=t.namespace||e.restNamespace,y=function({location:t,params:e={},nonce:n=!0,options:r,cookieValueAsParam:a}){const c=new URL(r.restRoot),d=s.parse(c.search),h=d.rest_route||c.pathname,f=[];let m=t.path.replace(/:([A-Za-z0-9-_]+)/g,((t,n)=>(f.push(n),e[n])));const g={};for(const t of Object.keys(e))-1===f.indexOf(t)&&(g[t]=e[t]);a&&(g._httpCookieInvalidate=u()(JSON.stringify(a.map(l().get))));const{search:b,pathname:v}=new URL(t.path,window.location.href);if(b){const t=s.parse(b);for(const e in t)g[e]=t[e];m=v}c.protocol=window.location.protocol;const y=(0,o.Ab)(h)+(0,o.XO)(t.namespace||r.restNamespace)+m;return d.rest_route?d.rest_route=y:c.pathname=y,n&&r.restNonce&&(d._wpnonce=r.restNonce),p(c,d),["wp-json/","rest_route="].filter((t=>c.toString().indexOf(t)>-1)).length>0&&t.method&&t.method!==i.O.GET&&p(c,[{_method:t.method}],!0),p(c,[r.restQuery,g],!0),c.toString()}({location:t,params:r,nonce:!1,options:e,cookieValueAsParam:d});["wp-json/","rest_route="].filter((t=>y.indexOf(t)>-1)).length>0&&t.method&&t.method!==i.O.GET?c.method=i.O.POST:c.method=t.method||i.O.GET;const x=new URL(y),C=-1===["HEAD","GET"].indexOf(c.method);!C&&n&&p(x,[n],!0);const S=x.toString();let A;C&&(A=h?w()(n,"boolean"==typeof h?{}:h):JSON.stringify(n));const O=await m(e.restNonce),D=void 0!==O,E=a().all([c,{headers:{..."string"==typeof A?{"Content-Type":"application/json;charset=utf-8"}:{},...D&&f?{"X-WP-Nonce":O}:{},Accept:"application/json, */*;q=0.1"}}]);let I;E.body=A;try{I=await window.fetch(S,E)}catch(t){throw b(c,g),console.error(t),t}if(!I.ok){let o,i=!1;try{if(o=await v(S,I,t.method),"private_site"===o.code&&403===I.status&&D&&!f&&(i=!0),"rest_cookie_invalid_nonce"===o.code&&D){const{restRecreateNonceEndpoint:t}=e;try{await m(O,t),i=!0}catch(t){}}}catch(t){}if(i)return await k({location:t,options:e,multipart:h,params:r,request:n,sendRestNonce:!0,settings:c});b(c);const a=I;throw a.responseJSON=o,a}return v(S,I,t.method)}},9597:(t,e,n)=>{"use strict";var o;n.d(e,{O:()=>o}),function(t){t.GET="GET",t.POST="POST",t.PUT="PUT",t.DELETE="DELETE",t.PATCH="PATCH"}(o||(o={}))},8102:(t,e,n)=>{"use strict";n.d(e,{Ab:()=>i,XO:()=>o,sE:()=>r});const o=t=>t.endsWith("/")||t.endsWith("\\")?o(t.slice(0,-1)):t,i=t=>"".concat(o(t),"/"),r=t=>{const e=window[t.replace(/-([a-z])/g,(t=>t[1].toUpperCase()))];return"".concat(e.publicUrl).concat(e.chunkFolder,"/")}},7868:(t,e,n)=>{"use strict";n.r(e);var o=n(4211),i=n(9712),r=n(1048),a=n(1054),s=n(8971),c=n(6497),l=n(3707),d=n(8663),u=n(2824);const p=async({supportsCookiesName:t})=>!(0,u.E)(t)&&"essentials";var h=n(9094),f=n(8062),m=n.n(f),g=n(210);function b(){const{userAgent:t}=navigator;return!!t&&!/chrome-lighthouse/i.test(t)&&!(0,g.f)()&&m()(t)}const v=(t,e=1e4,n=!0)=>async({decisionCookieName:o,revisionHash:i})=>{if(b()||!n)return!1;const r=(0,h.h)(o);if(r){const{revision:t}=r;if(i===t)return"consent"}try{const{predecision:n}=await(a=t(),s=e,new Promise(((t,e)=>{a.then(t,e);const n=new Error("Timed out");setTimeout(e,s,n)})));return n}catch(t){return!1}var a,s},y=(t=!0)=>async({decisionCookieName:e,groups:n,essentialGroupSlug:o})=>{const[i]=n.filter((({slug:t})=>t===o));if(!1!==(0,h.h)(e)||!t)return!1;for(const t of n)if(t!==i)for(const{legalBasis:e}of t.items)if("legitimate-interest"===e)return!1;return!!function(){try{const t=window;if((t.doNotTrack||t.navigator.doNotTrack||t.navigator.msDoNotTrack||"msTrackingProtectionEnabled"in t.external)&&("1"==t.doNotTrack||"yes"==t.navigator.doNotTrack||"1"==t.navigator.doNotTrack||"1"==t.navigator.msDoNotTrack||t.external.msTrackingProtectionEnabled()))return!0}catch(t){}return!1}()&&"dnt"},w=async({decisionCookieName:t,revisionHash:e})=>{const n=(0,h.h)(t);if(!1===n)return!1;const{revision:o}=n;return e===o&&"consent"};var k=n(7853),x=n(9597);const C={path:"/consent/dynamic-predecision",method:x.O.POST};function S(t){const{legal:{imprint:e,imprintHide:n,imprintIsExternalUrl:o,privacyPolicy:i,privacyPolicyHide:r,privacyPolicyIsExternalUrl:a},pageId:s}=t;return[n&&!o&&+e,r&&!a&&+i].filter(Boolean).indexOf(s)>-1}var A=n(7499),O=n(4916);function D(){const t=(0,o.Ye)((()=>window.innerWidth),[])<700,e=(0,o.Ye)((()=>{const t=window.navigator.userAgent.toLowerCase();return 4===["firefox","gecko","mobile","android"].map((e=>t.indexOf(e)>-1)).filter(Boolean).length}),[]);return(0,o.I4)((({animationIn:n,animationInOnlyMobile:o,animationOut:i,animationOutOnlyMobile:r})=>{let a=o?t?n:"none":n,s=r?t?i:"none":i;return e&&(a="none",s="none"),{useAnimationIn:a,useAnimationOut:s}}),[])}const E=t=>{t&&(t.preventDefault(),t.stopPropagation())};var I=n(1400),B=n(7465),T=n(327),P=n(5055),N=n(895),R=n(7951);const L='[href^="#consent-"]';var z=n(4773);function H(t,e){const[n,i]=(0,o.eJ)(0),[r,a]=(0,o.eJ)(0),[s,c]=(0,o.eJ)(t),[l,d]=(0,o.eJ)(void 0),[u,p]=(0,o.eJ)(e),[h,f]=(0,o.eJ)(void 0);return(0,o.d4)((()=>{n>0&&("none"===t?c(t):(c("none"),d(t))),i(n+1)}),[t]),(0,o.d4)((()=>{r>0&&(0===e?p(e):(p(0),f(e),c("none"),d(t))),a(r+1)}),[e]),(0,o.d4)((()=>{void 0!==l&&(c(l),d(void 0))}),[l]),(0,o.d4)((()=>{void 0!==h&&(p(h),f(void 0))}),[h]),[s,u]}function W(t){const e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:null}function M(t,e){const{r:n,g:o,b:i}=W(t);return"rgba(".concat(n,", ").concat(o,", ").concat(i,", ").concat(e/100,")")}var U=n(2104).h;function Y({isVisible:t,animationIn:e,animationOut:n,animationInDuration:o,animationOutDuration:i,animationInDelay:r,animationOutDelay:a}){return t?{animation:e,duration:o,delay:r}:{animation:n,duration:i,delay:a}}const _=({animateOnMount:t=!0,isVisible:e=!0,animationIn:n="fadeIn",animationOut:i="fadeOut",animationInDelay:r=0,animationOutDelay:a=0,animationInDuration:s=1e3,animationOutDuration:c=1e3,className:l="",style:d={},children:u})=>{const[{animation:p,duration:h,delay:f},m]=(0,o.eJ)(t?Y({isVisible:e,animationIn:n,animationOut:i,animationInDelay:r,animationOutDelay:a,animationInDuration:s,animationOutDuration:c}):{animation:"",delay:void 0,duration:0});(0,o.d4)((()=>{m(Y({isVisible:e,animationIn:n,animationOut:i,animationInDelay:r,animationOutDelay:a,animationInDuration:s,animationOutDuration:c}))}),[e,n,i,r,a,s,c]);const g="animate__animated animate__".concat(p," ").concat(l),b=p?{}:{opacity:e?1:0,transition:"opacity ".concat(f,"ms")};return U("div",{className:g,style:{animationDelay:"".concat(f,"ms"),animationDuration:"".concat(h,"ms"),pointerEvents:e?"all":"none",...d,...b}},u)};function F(t,e){const{pageRequestUuid4:n}=(0,I.S)(),i=(0,P.G)("","useRenderedHeightsAsCssVars-".concat(e)),r=document.getElementById(i);(0,o.d4)((()=>{let o=0;const i=()=>{const i=t.getBoundingClientRect().height;o!==i&&(o=i,r.innerHTML="#".concat(n,"{--rendered-height-").concat(e,": ").concat(Math.floor(i),"px;--rendered-height-raw-").concat(e,": ").concat(i,"px}"))};if(!t)return()=>{};const a=document.querySelector("#".concat(n,' div[class*="animate__"]'));if(a.addEventListener("animationend",i),window.ResizeObserver){const e=new ResizeObserver(i);return e.observe(t),()=>{e.disconnect(),a.removeEventListener("animationend",i)}}{const t=setInterval(i,150);return()=>{clearInterval(t),a.removeEventListener("animationend",i)}}}),[t,e])}var G=n(9126);function q(){const{individualPrivacyOpen:t,onSave:e,updateGroupChecked:n,updateCookieChecked:i,groups:r,essentialGroup:a,updateIndividualPrivacyOpen:s,activeAction:c,onClose:l}=(0,I.S)(),d=t?"ind_all":"main_all",u=t?"ind_essential":"main_essential",p=t?"ind_close_icon":"main_close_icon",h=t?"ind_custom":"main_custom",f={buttonClickedAll:d,buttonClickedEssentials:u,buttonClickedCloseIcon:p,buttonClickedCustom:h,acceptAll:(0,o.I4)((()=>{r.forEach((t=>n(t.id,!0))),e(!1,d)}),[d]),acceptEssentials:(0,o.I4)(((t=!1)=>{r.forEach((({slug:t,id:e,items:o})=>{if(t===a)n(e,!0);else for(const{legalBasis:t,id:n}of o)i(e,n,"legitimate-interest"===t)})),e(!1,t?p:u)}),[u]),acceptIndividual:(0,o.I4)((()=>e(!1,h)),[h]),openIndividualPrivacy:(0,o.I4)((()=>{s(!0)}),[s])};return{...f,closeIcon:(0,o.I4)((()=>{c?l():f.acceptEssentials(!0)}),[c,l,f.acceptEssentials])}}var X=n(9039);const j=({children:t,className:e,tag:n="div",renderInContainer:i})=>{const[r]=(0,o.eJ)((()=>{const t=document.createElement(n);return e&&t.classList.add(e),t}));return(0,o.d4)((()=>(document.body.appendChild(r),()=>{document.body.removeChild(r)})),[]),(0,o.jz)(t,i||r)};var V=n(5625),J=n(2104).h;let Z=0;const Q=({width:t,color:e,tooltipText:n,framed:i,renderInContainer:r,tooltipAlways:a,onClick:s,thickness:c=1})=>{const l=(0,o.Ye)((()=>"react-close-icon-".concat((Z++).toString(36))),[]),d=(0,o.Ye)((()=>"react-close-icon-".concat((Z++).toString(36))),[]),u=(0,o.Ye)((()=>"react-close-icon-".concat((Z++).toString(36))),[]),p=(0,o.sO)(),h=(0,X.EL)(p);return(0,P.G)("#".concat(u,", #").concat(l," {\n position: absolute;\n top: 50%;\n right: 0;\n margin-top: calc(").concat(t,"px / 2 * -1);\n display: block;\n width: ").concat(t,"px;\n height: ").concat(t,"px; \n pointer-events: none;\n}\n\n#").concat(l," {\n position: absolute !important;\n}\n\n#").concat(l,", #").concat(d," {\n cursor: pointer;\n pointer-events: all;\n ").concat(i?"outline: rgb(255, 94, 94) solid 5px;":"","\n}\n\n#").concat(d," {\n position: fixed !important;\n ").concat(h?"top: ".concat(h.y,"px;left: ").concat(h.x,"px;display:block;"):"display:none;","\n width: ").concat(t,"px;\n height: ").concat(t,"px;\n z-index: 99;\n}\n#").concat(d,":after, #").concat(l,":after {\n width: auto !important;\n white-space: nowrap !important;\n}\n#").concat(d,">span:before, #").concat(d,">span:after,\n#").concat(l,">span:before, #").concat(l,">span:after {\n position: absolute;\n top: 50%;\n left: 50%;\n width: ").concat(c,"px;\n height: ").concat(t,"px;\n background-color: ").concat(e,";\n transform: rotate(45deg) translate(-50%, -50%);\n transform-origin: top left;\n transition: all 420ms;\n content: '';\n opacity: 0.5;\n pointer-events: none;\n}\n#").concat(d,">span:after,\n#").concat(l,">span:after {\n transform: rotate(-45deg) translate(-50%, -50%);\n}\n#").concat(d,">span:hover:before, #").concat(d,">span:hover:after,\n#").concat(l,">span:hover:before, #").concat(l,">span:hover:after {\n opacity: 1;\n width: ").concat(c+1,"px;\n}")),r?J(o.HY,null,J("div",{id:u,ref:p}),(null==h?void 0:h.y)>0&&J(j,{renderInContainer:r},J(V.u,{title:n,id:d,onClick:s,position:h.y>50?"top-left":"left",always:a},J("span",null)))):J(V.u,{title:n,id:l,onClick:s,position:"top-left",always:a},J("span",null))};var $=n(2104).h;const K=()=>{const{headerDesign:{fontSize:t,fontColor:e},texts:{acceptEssentials:n},mobile:o,activeAction:i,pageRequestUuid4:r,i18n:{close:a,closeWithoutSaving:s},buttonClicked:c=""}=(0,I.S)(),{buttonClickedCloseIcon:l,closeIcon:d}=q(),u=document.getElementById(r);return $(Q,{width:(0,z.D)(o,r,t),color:e,tooltipText:i?"change"===i?s:a:n,tooltipAlways:(null==u?void 0:u.clientWidth)<700,framed:c===l,renderInContainer:u,onClick:d})};var tt=n(2104).h;const et=(0,o.Gp)(((t,e)=>{const n=(0,I.S)(),{headerDesign:{logo:o,logoRetina:i},decision:{showCloseIcon:r},texts:{headline:a},activeAction:s,individualPrivacyOpen:c,individualTexts:l,i18n:{headerTitlePrivacyPolicyHistory:d}}=n,u=i&&!(null!=o&&o.endsWith(".svg"))&&window.devicePixelRatio>1,p=u?i:o,h=c?"history"===s?d:l.headline:a;return tt("div",(0,B.Z)({ref:e},function({layout:{type:t,dialogBorderRadius:e},design:{borderWidth:n,borderColor:o,...i},headerDesign:{inheritBg:r,bg:a,padding:s},customCss:{antiAdBlocker:c},mobile:l,pageRequestUuid4:d}){const u=(0,z.D)(l,d,t,"banner"),p=(0,z.D)(l,d,n),h={padding:(0,z.D)(l,d,s,void 0,!0).map((t=>"".concat(t,"px"))).join(" "),background:r?i.bg:a,borderRadius:"dialog"===u?"".concat(e,"px ").concat(e,"px 0 0"):void 0,position:"sticky",zIndex:9,top:0};return"dialog"===u&&p>0&&(h.borderTop="".concat(p,"px solid ").concat(o),h.borderLeft=h.borderTop,h.borderRight=h.borderTop),{className:"y"===c?void 0:"rcb-header-container",style:h}}(n)),tt("div",function({layout:{type:t,bannerMaxWidth:e},design:{textAlign:n},headerDesign:{inheritTextAlign:o,logo:i,logoPosition:r,...a},texts:{headline:s},individualLayout:c,customCss:{antiAdBlocker:l},mobile:d,pageRequestUuid4:u,individualPrivacyOpen:p}){const h=o?n:a.textAlign;return{className:"y"===l?void 0:"rcb-header",style:{transition:"width 500ms, max-width 500ms",maxWidth:"banner"===(0,z.D)(d,u,t,"banner")?+(p&&!c.inheritBannerMaxWidth?c.bannerMaxWidth:e):void 0,margin:"auto",display:"flex",justifyContent:"center"===h?"center":"right"===h?"flex-end":void 0,textAlign:h,alignItems:"center",position:"relative",flexDirection:i&&s?"left"===r?"row":"right"===r?"row-reverse":"column":void 0}}}(n),!!p&&tt("img",(0,B.Z)({alt:"",src:p},function({headerDesign:{logoMaxHeight:t,logoMargin:e,logoFitDim:n,logoRetinaFitDim:o},customCss:{antiAdBlocker:i},mobile:r,pageRequestUuid4:a},s){const c=s?o:n;return{className:"y"===i?void 0:"rcb-logo",style:{...c?{width:c[0],height:c[1]}:{width:"auto",height:(0,z.D)(r,a,+t)},margin:(0,z.D)(r,a,e).map((t=>"".concat(t,"px"))).join(" ")}}}(n,u))),!!h&&tt("div",(0,G.a)(n,!1),h),(!!r||!!s)&&tt(K,null)))}));var nt=n(3759),ot=n(2104).h;const it=({title:t,children:e})=>{const n=(0,I.S)();return ot("div",function({group:{headlineFontSize:t,headlineFontColor:e,headlineFontWeight:n},customCss:{antiAdBlocker:o},mobile:i,pageRequestUuid4:r}){return{className:"y"===o?void 0:"rcb-group",style:{color:e,fontSize:(0,z.D)(i,r,t),fontWeight:n,textAlign:"left"}}}(n),t,e&&ot("div",function({design:{fontWeight:t},group:{descriptionFontColor:e,descriptionFontSize:n},customCss:{antiAdBlocker:o},mobile:i,pageRequestUuid4:r}){return{className:"y"===o?void 0:"rcb-group-description",style:{color:e,fontSize:(0,z.D)(i,r,+n),fontWeight:t,marginTop:5}}}(n),e))};var rt=n(9369),at=n(9436),st=n(3709),ct=n(2104).h;const lt=({onToggle:t,children:e,showMore:n,hideMore:i,...r})=>{const a=(0,st.w)(),[s,c]=(0,o.eJ)(!1),[l,d]=(0,o.eJ)(!1);return ct(o.HY,null,"  •  ",ct("a",(0,B.Z)({href:"#"},(0,at.c)(a,s),{onClick:e=>{const n=!l;d(n),null==t||t(n),e.preventDefault()},onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1)},r),l?i:n),l&&e)};var dt=n(1692),ut=n(2104).h;const pt=({group:t,cookie:e})=>{var n;const{id:i}=e,r=(0,I.S)(),{consent:a,activeAction:s,essentialGroup:c}=r,l=c===t.slug,d=l||"history"===s,u=l||((null===(n=a.groups)||void 0===n?void 0:n[t.id])||[]).some((t=>t===i)),p=(0,o.I4)((()=>!d&&r.updateCookieChecked(t.id,i,!u)),[d,r,t,i,u]);return ut(dt.V,{cookie:e,propertyListProps:{isEssentialGroup:l},checked:u,disabled:d,onToggleCheck:p})};var ht=n(2104).h;const ft=({group:t})=>{var e;const n=(0,I.S)(),{id:i,slug:r,name:a,description:s,items:c}=t,{previewCheckboxActiveState:l,consent:d,activeAction:u,essentialGroup:p,individualTexts:{showMore:h,hideMore:f}}=n,m=p===r,g=m||"history"===u,b=l||m||!!d.groups[i],v=!m&&JSON.stringify(c.map((({id:t})=>t)).sort())!==JSON.stringify((null===(e=d.groups[i])||void 0===e?void 0:e.sort())||[]),y=(0,o.I4)((()=>!g&&n.updateGroupChecked(i,!b)),[g,n,i,b]);return ht("div",function({group:{groupBg:t,groupBorderRadius:e,groupBorderColor:n,groupPadding:o,groupBorderWidth:i,groupInheritBg:r},customCss:{antiAdBlocker:a},mobile:s,pageRequestUuid4:c}){const l=(0,z.D)(s,c,i);return{className:"y"===a?void 0:"rcb-group",style:{background:r?void 0:t,border:l>0?"".concat(l,"px solid ").concat(n):void 0,padding:(0,z.D)(s,c,o).map((t=>"".concat(t,"px"))).join(" "),borderRadius:+e,textAlign:"left"}}}(n),ht(it,{title:ht(rt.P,{onClick:y,isPartial:v,isChecked:b,isDisabled:g},a," (",c.length,")")},s,!!c&&ht(lt,{showMore:h,hideMore:f},c.map((e=>ht(pt,{key:e.id,group:t,cookie:e}))))))};var mt=n(2104).h;const gt=()=>{const t=(0,I.S)(),{groups:e,group:{groupSpacing:n},mobile:i,pageRequestUuid4:r}=t,a=e.filter((({items:t})=>t.length));return mt("div",function({customCss:{antiAdBlocker:t}}){return{className:"y"===t?void 0:"rcb-groups",style:{marginTop:10,clear:"both"}}}(t),a.map(((t,e)=>mt(o.HY,{key:t.id},mt(ft,{key:t.id,group:t}),e!==a.length-1&&mt("div",{style:{height:(0,z.D)(i,r,+n)}})))))};var bt=n(2104).h;const vt=({group:{id:t,slug:e,name:n}})=>{const i=(0,I.S)(),{decision:{groupsFirstView:r},design:{fontSize:a},consent:s,essentialGroup:c}=i,l=c===e,d=l||!!s.groups[t],u=(0,o.I4)((()=>false),[false,l,i,t,d,r]);return bt("span",(0,B.Z)({key:n},function({design:{fontSize:t},bodyDesign:{dottedGroupsInheritFontSize:e,dottedGroupsFontSize:n},mobile:o,pageRequestUuid4:i}){return{className:void 0,style:{paddingRight:10,fontSize:(0,z.D)(o,i,e?+t:+n),whiteSpace:"nowrap",display:"inline-block"}}}(i)),bt("span",null,bt(o.HY,null,bt("strong",function({bodyDesign:{dottedGroupsBulletColor:t}}){return{className:void 0,style:{color:t}}}(i),"●")," "),bt("span",{style:{verticalAlign:"middle",cursor:r?"pointer":void 0},onClick:u},n)))};var yt=n(2104).h;const wt=()=>{const t=(0,I.S)(),{groups:e,decision:{showGroups:n}}=t;return n?yt("div",function({customCss:{antiAdBlocker:t}}){return{className:"y"===t?void 0:"rcb-dotted-groups",style:{marginTop:10,lineBreak:"anywhere",lineHeight:2}}}(t),e.filter((({items:t})=>!!t.length)).map((t=>yt(vt,{key:t.id,group:t})))):null};var kt=n(2104).h;const xt=()=>{const t=(0,I.S)(),[e,n]=(0,o.eJ)(-1),{activeAction:i,history:r,selectHistoryEntry:a,i18n:{historyLabel:s,historySelectNone:c}}=t,l=(0,o.Ye)((()=>{var t;return null==r||null===(t=r.filter((({id:t})=>t===e)))||void 0===t?void 0:t[0]}),[e]);(0,o.d4)((()=>{i?"history"===i&&null!=r&&r.length&&n(r[0].id):n(-1)}),[i,r]);const d=null==l?void 0:l.uuid,u=function({design:{bg:t}}){return{className:void 0,style:{background:t}}}(t);return kt(o.HY,null,s," ",kt("select",(0,B.Z)({},function({design:{fontSize:t,fontColor:e},bodyDesign:{descriptionInheritFontSize:n,descriptionFontSize:o},customCss:{antiAdBlocker:i},mobile:r,pageRequestUuid4:a}){return{className:"y"===i?void 0:"rcb-history-select",style:{fontSize:(0,z.D)(r,a,n?+t:+o),background:"transparent",border:0,color:e,borderBottom:"1px solid ".concat(M(e,50))}}}(t),{disabled:!(null!=r&&r.length),value:e,onChange:t=>{const e=+t.target.value;r.forEach((({id:t,decision:o,groups:i,tcf:r})=>{t===e&&(n(t),a(i,o,r))}))}}),(null==r?void 0:r.length)>0?r.map((({id:t,isDoNotTrack:e,isUnblock:n,isForwarded:o,created:i})=>kt("option",(0,B.Z)({key:t,value:t},u),new Date(i).toLocaleString(document.documentElement.lang),e?" (Do Not Track)":"",n?" (Content Blocker)":"",o?" (Consent Forwarding)":""))):kt("option",(0,B.Z)({value:-1},u),c)),!!d&&kt("div",{style:{opacity:.5,marginTop:5}},"UUID: ",d))};var Ct=n(6010),St=n(5435);function At({name:t,order:e,type:n,borderRadius:o,bg:i,hoverBg:r,fontSize:a,textAlign:s,fontColor:c,fontWeight:l,hoverFontColor:d,borderWidth:u,borderColor:p,hoverBorderColor:h,padding:f,antiAdBlocker:m,pageRequestUuid4:g},b,v,y,w){const k=!w||e>1,x=w&&1===e?5:0,C=w&&0===e?5:0,S=(0,z.D)(b,g,+u),A={textDecoration:"link"===n?"underline":"none",borderRadius:+o,cursor:"button"===n?"pointer":void 0,backgroundColor:"button"===n?v?r:i:void 0,fontSize:(0,z.D)(b,g,+a),fontWeight:l,color:v?d:c,transition:"background-color 250ms, color 250ms, border-color 250ms",margin:"0 ".concat(C,"px ").concat((0,z.D)(b,g,10,void 0,!0),"px ").concat(x,"px"),border:"button"===n&&S>0?"".concat(S,"px solid ").concat(v?h:p):void 0,padding:(0,z.D)(b,g,f,void 0,"button"!==n).map((t=>"".concat(t,"px"))).join(" "),overflow:"hidden",outline:y?"rgb(255, 94, 94) solid 5px":void 0,flex:k?"1 1 100%":"0 0 calc(50% - ".concat(x+C,"px)"),display:"flex",alignItems:"center",justifyContent:"right"===s?"flex-end":"center"===s?"center":"left",textAlign:s,order:e};return{className:"y"===m?void 0:"rcb-btn-".concat(t),style:A}}function Ot({isTcf:t,decision:{acceptEssentials:e},layout:{borderRadius:n},bodyDesign:{acceptEssentialsFontSize:o,acceptEssentialsBg:i,acceptEssentialsTextAlign:r,acceptEssentialsBorderColor:a,acceptEssentialsPadding:s,acceptEssentialsBorderWidth:c,acceptEssentialsFontColor:l,acceptEssentialsFontWeight:d,acceptEssentialsHoverBg:u,acceptEssentialsHoverFontColor:p,acceptEssentialsHoverBorderColor:h,acceptAllFontWeight:f,acceptAllFontSize:m,acceptAllPadding:g},customCss:{antiAdBlocker:b},mobile:v,pageRequestUuid4:y},w,k,x,C){return At({name:"accept-essentials",order:x,type:e,borderRadius:n,bg:i,hoverBg:u,fontSize:C||t?m:o,textAlign:r,fontColor:l,fontWeight:t?f:d,hoverFontColor:p,borderWidth:c,borderColor:a,hoverBorderColor:h,padding:C?g:s,antiAdBlocker:b,pageRequestUuid4:y},v,w,k,C)}function Dt({decision:{acceptIndividual:t},layout:{borderRadius:e},bodyDesign:{acceptIndividualFontSize:n,acceptIndividualBg:o,acceptIndividualTextAlign:i,acceptIndividualBorderColor:r,acceptIndividualPadding:a,acceptIndividualBorderWidth:s,acceptIndividualFontColor:c,acceptIndividualFontWeight:l,acceptIndividualHoverBg:d,acceptIndividualHoverFontColor:u,acceptIndividualHoverBorderColor:p},customCss:{antiAdBlocker:h},mobile:f,pageRequestUuid4:m},g,b,v,y){return At({name:"accept-individual",order:v,type:t,borderRadius:e,bg:o,hoverBg:d,fontSize:n,textAlign:i,fontColor:c,fontWeight:l,hoverFontColor:u,borderWidth:s,borderColor:r,hoverBorderColor:p,padding:a,antiAdBlocker:h,pageRequestUuid4:m},f,g,b,y)}function Et({isTcf:t,layout:{borderRadius:e},bodyDesign:{acceptAllFontWeight:n,acceptAllFontSize:o},saveButton:{type:i,fontSize:r,bg:a,textAlign:s,borderColor:c,padding:l,borderWidth:d,fontColor:u,fontWeight:p,hoverBg:h,hoverFontColor:f,hoverBorderColor:m},customCss:{antiAdBlocker:g},mobile:b,pageRequestUuid4:v},y,w,k,x){return At({name:"accept-individual-save",order:k,type:i,borderRadius:e,bg:a,hoverBg:h,fontSize:t?o:r,textAlign:s,fontColor:u,fontWeight:t?n:p,hoverFontColor:f,borderWidth:d,borderColor:c,hoverBorderColor:m,padding:l,antiAdBlocker:g,pageRequestUuid4:v},b,y,w,x)}function It({decision:{acceptAll:t},layout:{borderRadius:e},bodyDesign:{acceptAllFontSize:n,acceptAllBg:o,acceptAllTextAlign:i,acceptAllBorderColor:r,acceptAllPadding:a,acceptAllBorderWidth:s,acceptAllFontColor:c,acceptAllFontWeight:l,acceptAllHoverBg:d,acceptAllHoverFontColor:u,acceptAllHoverBorderColor:p},customCss:{antiAdBlocker:h},mobile:f,pageRequestUuid4:m},g,b,v,y){return At({name:"accept-all",order:v,type:t,borderRadius:e,bg:o,hoverBg:d,fontSize:n,textAlign:i,fontColor:c,fontWeight:l,hoverFontColor:u,borderWidth:s,borderColor:r,hoverBorderColor:p,padding:a,antiAdBlocker:h,pageRequestUuid4:m},f,g,b,y)}var Bt=n(2163),Tt=n(2104).h;const Pt=({inlineStyle:t,type:e,onClick:n,children:i,framed:r,busyOnClick:a,order:s})=>{if("hide"===e)return null;const[c,l]=(0,o.eJ)(!1),d=(0,o.I4)((()=>{c||(a&&l(!0),null==n||n())}),[n,c,a]),[u,p]=(0,o.eJ)(!1),h=(0,I.S)(),{individualPrivacyOpen:f,decision:{acceptAll:m,acceptEssentials:g},bodyDesign:{acceptAllOneRowLayout:b,acceptEssentialsUseAcceptAll:v}}=h,y=v&&m===g?m:g,w={onClick:d,onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1),style:{cursor:"pointer"}},k=(0,o.Ye)((()=>{switch(t){case"acceptEssentials":return Ot;case"acceptIndividual":return Dt;case"save":return Et;default:return It}}),[t]);return Tt("div",(0,B.Z)({},"button"===e?w:{},k(h,u,r,s,!(/MSIE (\d+\.\d+);/.test(navigator.userAgent)||navigator.userAgent.indexOf("Trident/")>-1||"hide"===m||"hide"===y||f||s>1)&&b)),Tt("span","link"===e?w:{},c?Tt(Bt.X,null):i))};var Nt=n(2104).h;const Rt=()=>{const t=(0,I.S)(),{activeAction:e,bodyDesign:{acceptEssentialsUseAcceptAll:n,acceptAllOneRowLayout:i},decision:{showGroups:r,groupsFirstView:a,saveButton:s,acceptAll:c,acceptEssentials:l,acceptIndividual:d,buttonOrder:u},texts:{acceptAll:p,acceptEssentials:h,acceptIndividual:f},saveButton:{type:m,useAcceptAll:g},individualTexts:{save:b},individualPrivacyOpen:v,didGroupFirstChange:y,productionNotice:w,buttonClicked:k=""}=t,x=n&&c===l,C=g&&c===m,{all:S,essential:A,individual:O,save:D}=(0,o.Ye)((()=>{const t=u.split(","),e=t.reduce(((e,n)=>(e[n]=t.indexOf(n),e)),{}),n=t.reduce(((e,n)=>(e[t.indexOf(n)]=n,e)),{});return i&&(e[n[0]]=1,e[n[1]]=0),e}),[u,i]),{buttonClickedAll:E,buttonClickedEssentials:B,buttonClickedCustom:T,acceptAll:P,acceptEssentials:N,acceptIndividual:R,openIndividualPrivacy:L}=q(),z="change"===e;return Nt(o.HY,null,Nt(Pt,{onClick:P,type:c,inlineStyle:"acceptAll",framed:k===E,busyOnClick:z,order:S},p),"change"!==e&&Nt(Pt,{onClick:N,type:x?c:l,inlineStyle:x?"acceptAll":"acceptEssentials",framed:k===B,busyOnClick:z,order:A},h),!!v&&Nt(Pt,{onClick:R,type:C?c:m,inlineStyle:C?"acceptAll":"save",framed:k===T,busyOnClick:z,order:D},b),!v&&Nt(Pt,{type:d,onClick:L,inlineStyle:"acceptIndividual",framed:k.startsWith("ind_"),busyOnClick:z,order:O},f),w)};var Lt=n(2104).h;const zt=({leftSideContainerRef:t,rightSideContainerRef:e})=>{var n;const i=(0,I.S)(),{layout:{type:r},mobile:a,bodyDesign:{teachingsSeparatorActive:s},tcf:c,individualPrivacyOpen:l,activeAction:d,pageRequestUuid4:u}=i,{description:p,teachings:h}=(0,nt.k)(),f="bnnr-body-leftSide-".concat(u),m="bnnr-body-rightSide-".concat(u),g="cntnt-".concat(u);(0,P.G)(" #".concat(f," img {\n max-width: 100%;\n height: auto;\n}\n\n").concat((null===(n=document.getElementById(u))||void 0===n?void 0:n.clientWidth)>700?"":"#".concat(f," {\n float: initial !important;\n width: auto !important;\n padding-right: initial !important;\n ").concat("banner"!==(0,z.D)(a,u,r,"banner")||l?l?"padding-top: 10px !important;":"":"padding-bottom: 10px !important;","\n }\n\n #").concat(g," {\n min-height: calc(var(--rendered-height-header) + var(--rendered-height-footer) + var(--rendered-height-rightSideContainer) + 60px);\n }\n \n #").concat(m," {\n float: initial !important;\n width: auto !important;\n max-width: initial !important;\n margin: initial !important;\n ").concat(l?"padding-bottom: 5px !important;":"padding-top: 10px !important;","\n position: sticky;\n }")));const b=(0,o.Ye)((()=>Lt(l?gt:wt,null)),[l,c]),v=Lt("div",(0,B.Z)({ref:t,key:"leftSide",id:f},function({layout:{type:t},bodyDesign:{padding:e},customCss:{antiAdBlocker:n},mobile:o,individualPrivacyOpen:i,activeAction:r,pageRequestUuid4:a}){const s=(0,z.D)(o,a,t,"banner"),c=(0,z.D)(o,a,e);return{className:"y"===n?void 0:"rcb-tb-left",style:{float:"banner"===s&&"history"!==r?"left":void 0,width:"banner"===s&&"history"!==r?"calc(100% - ".concat(300,"px)"):void 0,paddingRight:"banner"===s?20:void 0,paddingTop:+c[0],paddingBottom:"banner"===s||i?+c[2]:0}}}(i)),Lt("div",function({design:{fontSize:t},bodyDesign:{descriptionInheritFontSize:e,descriptionFontSize:n},individualLayout:{descriptionTextAlign:o},customCss:{antiAdBlocker:i},mobile:r,individualPrivacyOpen:a,pageRequestUuid4:s}){return{className:"y"===i?void 0:"rcb-description",style:{lineHeight:1.5,fontSize:(0,z.D)(r,s,e?+t:+n),textAlign:a?o:void 0}}}(i),"history"===d?Lt(xt,null):Lt(o.HY,null,Lt("span",{dangerouslySetInnerHTML:{__html:p}}),h.length>0&&Lt(o.HY,null,s&&Lt("div",null,Lt("span",(0,Ct.V)(i))),h.map((t=>Lt("span",(0,B.Z)({key:t},(0,St.W)(i),{dangerouslySetInnerHTML:{__html:t}}))))))),b),y="history"===d?Lt("div",{ref:e}):Lt("div",(0,B.Z)({ref:e,key:"rightSide",id:m},function({layout:{type:t,dialogMaxWidth:e},design:{borderWidth:n,bg:o,fontColor:i},headerDesign:r,footerDesign:a,bodyDesign:{padding:s},individualLayout:{inheritDialogMaxWidth:c},customCss:{antiAdBlocker:l},mobile:d,individualPrivacyOpen:u,pageRequestUuid4:p}){const h=(0,z.D)(d,p,t,"banner"),f=(0,z.D)(d,p,n),m=(0,z.D)(d,p,s,void 0,!0),{r:g,g:b,b:v}=W(i),y="dialog"===h?+e-m[1]-m[3]-2*f:300;return{className:"y"===l?void 0:"rcb-tb-right",style:{background:o,paddingTop:"banner"===h||u?+m[0]:10,paddingBottom:u?10:+m[2],float:"banner"===h||u?"right":void 0,maxWidth:y,width:y,margin:"dialog"===h&&u&&!c?"0 0 10px 10px":void 0,position:u?void 0:"sticky",[u?"top":"bottom"]:u?"calc(var(--rendered-height-header) + ".concat((0,z.D)(d,p,r.borderWidth),"px)"):"calc(var(--rendered-height-footer) + ".concat((0,z.D)(d,p,a.borderWidth),"px)"),zIndex:1,display:"flex",flexWrap:"wrap",transition:"box-shadow ease-in-out .1s","--boxShadowShowScroll":"0 -15px 15px -15px rgba(".concat(g,", ").concat(b,", ").concat(v,", 0.3)")}}}(i)),Lt(Rt,null));return Lt("div",function({layout:{type:t},design:{bg:e,borderWidth:n,borderColor:o},bodyDesign:{padding:i},customCss:{antiAdBlocker:r},mobile:a,pageRequestUuid4:s}){const c=(0,z.D)(a,s,n),l={background:e,padding:(0,z.D)(a,s,i).map(((t,e)=>"".concat([0,2].indexOf(e)>-1?0:t,"px"))).join(" "),lineHeight:1.4};return"dialog"===(0,z.D)(a,s,t,"banner")&&c>0&&(l.borderLeft="".concat(c,"px solid ").concat(o),l.borderRight=l.borderLeft),{className:"y"===r?void 0:"rcb-body-container",style:l}}(i),Lt("div",function({layout:{type:t,bannerMaxWidth:e},individualLayout:n,customCss:{antiAdBlocker:o},mobile:i,individualPrivacyOpen:r,pageRequestUuid4:a}){return{className:"y"===o?void 0:"rcb-body",style:{transition:"width 500ms, max-width 500ms",maxWidth:"banner"===(0,z.D)(i,a,t,"banner")?+(r&&!n.inheritBannerMaxWidth?n.bannerMaxWidth:e):void 0,margin:"auto"}}}(i),l?[y,v]:[v,y],Lt("div",{style:{clear:"both"}})))};var Ht=n(350),Wt=n(2104).h;const Mt=(0,o.Gp)(((t,e)=>{const n=(0,I.S)(),{isTcf:i,layout:{type:r},individualPrivacyOpen:a,updateIndividualPrivacyOpen:s,onClose:c,i18n:{tcf:l},isConsentRecord:d}=n,u=(0,o.I4)((t=>{c(),t.preventDefault()}),[c]),{rows:p,render:h}=(0,Ht.g)({onClose:d?u:void 0,putPoweredByLinkInRow:"banner"===r?0:1,row1:[!1]});return Wt("div",(0,B.Z)({ref:e},function({layout:{type:t,dialogBorderRadius:e},design:n,footerDesign:{inheritBg:o,bg:i,inheritTextAlign:r,textAlign:a,padding:s,fontSize:c,fontColor:l,fontWeight:d},customCss:{antiAdBlocker:u},mobile:p,pageRequestUuid4:h}){const f=(0,z.D)(p,h,t,"banner"),m=(0,z.D)(p,h,n.borderWidth),g={padding:(0,z.D)(p,h,s,void 0,!0).map((t=>"".concat(t,"px"))).join(" "),background:o?n.bg:i,borderRadius:"dialog"===f?"0 0 ".concat(e,"px ").concat(e,"px"):void 0,fontSize:(0,z.D)(p,h,+c),fontWeight:d,color:l,textAlign:r?n.textAlign:a,position:"sticky",bottom:0,zIndex:1};return"dialog"===f&&m>0&&(g.borderBottom="".concat(m,"px solid ").concat(n.borderColor),g.borderLeft=g.borderBottom,g.borderRight=g.borderBottom),{className:"y"===u?void 0:"rcb-footer-container",style:g}}(n)),Wt("div",function({layout:{type:t,bannerMaxWidth:e},individualLayout:n,customCss:{antiAdBlocker:o},mobile:i,pageRequestUuid4:r,individualPrivacyOpen:a}){return{className:"y"===o?void 0:"rcb-footer",style:{transition:"width 500ms, max-width 500ms",maxWidth:"banner"===(0,z.D)(i,r,t,"banner")?+(a&&!n.inheritBannerMaxWidth?n.bannerMaxWidth:e):void 0,margin:"auto",lineHeight:1.8}}}(n),h(p)))}));var Ut=n(2104).h;const Yt=()=>{const t=(0,I.S)(),{layout:{type:e,dialogBorderRadius:n},decision:{acceptAll:i,acceptEssentials:r,showCloseIcon:a},mobile:s,individualPrivacyOpen:c,design:{bg:l},bodyDesign:{teachingsFontColor:d,acceptEssentialsUseAcceptAll:u},activeAction:p,pageRequestUuid4:h}=t,f="bnnr-body-rightSide-".concat(h),m="cntnt-".concat(h),g=(0,o.sO)(),{current:b}=g,v=u&&i===r?i:r;let y=!0;!s.hideHeader||p||c||"hide"===v&&a||(y=(0,z.D)(s,h,y,!1));const[w,k]=(0,o.eJ)(!1),x=(0,o.I4)((()=>{if(b){const{clientHeight:t,scrollHeight:e,scrollTop:n,offsetHeight:o}=b,i=t<e,r=Math.ceil(n+o)>=e,a=i&&!r&&!c;w!==a&&k(a)}}),[b,c,w]);x(),(0,o.bt)((()=>b?(b.addEventListener("scroll",x),()=>b.removeEventListener("scroll",x)):()=>{}),[b,x]),(0,P.G)(w?"#".concat(f," {box-shadow:var(--boxShadowShowScroll);}"):""),(0,P.G)("Win32"===navigator.platform&&"dialog"===e&&n>0?["#".concat(m,"{overflow:overlay!important;}"),"#".concat(m,"::-webkit-scrollbar{width:11px;}"),"#".concat(m,"{scrollbar-width:thin;scrollbar-color:").concat(d," transparent;}"),"#".concat(m,"::-webkit-scrollbar-track{background:transparent;}"),"#".concat(m,"::-webkit-scrollbar-thumb{background-color:").concat(d,";border-radius:").concat(n,"px;border:3px solid ").concat(l,";}"),"#".concat(m,">div{border-top-right-radius:0!important;border-bottom-right-radius:0!important;}")].join("\n"):"");const C=(0,o.sO)(),S=(0,o.sO)(),A=(0,o.sO)();return F(C.current,"header"),F(S.current,"footer"),F(A.current,"rightSideContainer"),Ut("div",(0,B.Z)({},function({layout:{type:t},customCss:{antiAdBlocker:e},decision:{showCloseIcon:n},activeAction:o,individualPrivacyOpen:i,mobile:r,pageRequestUuid4:a}){var s;const c=(null===(s=document.getElementById(a))||void 0===s?void 0:s.clientHeight)||window.innerHeight,l=+r.maxHeight,d=l>c?c:l,u=n||o?51:0;return{className:"y"===e?void 0:"rcb-content",style:{position:"relative",maxHeight:(0,z.D)(r,a,c-("banner"===t?0:20)-u,i?c-u:d-u),overflow:"auto"}}}(t),{ref:g,id:m}),y&&Ut(o.HY,null,Ut(et,{ref:C}),Ut("div",function({layout:{type:t},design:e,headerDesign:{borderWidth:n,borderColor:o},customCss:{antiAdBlocker:i},mobile:r,pageRequestUuid4:a}){const s=(0,z.D)(r,a,e.borderWidth),c={height:(0,z.D)(r,a,+n),background:o,position:"sticky",top:"var(--rendered-height-header)",zIndex:9};return"dialog"===(0,z.D)(r,a,t,"banner")&&s>0&&(c.borderLeft="".concat(s,"px solid ").concat(e.borderColor),c.borderRight=c.borderLeft),{className:"y"===i?void 0:"rcb-header-separator",style:c}}(t))),Ut(zt,{rightSideContainerRef:A}),Ut("div",function({layout:{type:t},design:e,footerDesign:{borderWidth:n,borderColor:o},customCss:{antiAdBlocker:i},mobile:r,pageRequestUuid4:a}){const s=(0,z.D)(r,a,e.borderWidth),c={height:(0,z.D)(r,a,+n),background:o,position:"sticky",bottom:"var(--rendered-height-footer)"};return"dialog"===(0,z.D)(r,a,t,"banner")&&s>0&&(c.borderLeft="".concat(s,"px solid ").concat(e.borderColor),c.borderRight=c.borderLeft),{className:"y"===i?void 0:"rcb-footer-separator",style:c}}(t)),Ut(Mt,{ref:S}))};var _t=n(2104).h;const Ft=()=>{const t=(0,I.S)(),{layout:{animationInDuration:e,animationOutDuration:n},animationVisible:o}=t,{useAnimationIn:i,useAnimationOut:r}=D()(t.layout),[a,s]=H(i,e),[c,l]=H("none"===r?"fadeOut":r,"none"===r?0:n);return _t(_,(0,B.Z)({animationIn:a,animationInDuration:s,animationOut:c,animationOutDuration:l,isVisible:o},function({layout:{type:t,dialogMaxWidth:e,dialogPosition:n,dialogMargin:o,bannerPosition:i,dialogBorderRadius:r},design:{borderWidth:a,borderColor:s,textAlign:c,fontColor:l,fontInheritFamily:d,fontFamily:u,fontWeight:p,boxShadowEnabled:h,boxShadowOffsetX:f,boxShadowOffsetY:m,boxShadowBlurRadius:g,boxShadowSpreadRadius:b,boxShadowColor:v,boxShadowColorAlpha:y},individualLayout:w,customCss:{antiAdBlocker:k},mobile:x,pageRequestUuid4:C,individualPrivacyOpen:S}){const{alignment:A}=x,O=(0,z.D)(x,C,t,"banner"),D=(0,z.D)(x,C,a),E="dialog"===O?+(S&&!w.inheritDialogMaxWidth?w.dialogMaxWidth:e):"100%",I={pointerEvents:"all",transition:"width 500ms, max-width 500ms",maxWidth:E,textAlign:c,width:E,overflow:"hidden",alignSelf:(0,z.D)(x,C,"banner"===O?"top"===i?"flex-start":"flex-end":void 0,"bottom"===A?"flex-end":"top"===A?"flex-start":"center"),fontFamily:d?void 0:u,fontWeight:p,color:l,margin:"dialog"===O?10:void 0,borderRadius:"dialog"===O?+r:void 0,boxShadow:h?"".concat(f,"px ").concat(m,"px ").concat(g,"px ").concat(b,"px ").concat(M(v,y)):void 0,["banner"===O?"top"===i?"borderBottom":"borderTop":"border"]:"banner"===O&&D>0?"".concat(D,"px solid ").concat(s):void 0};return"dialog"===O&&"middleCenter"!==n&&(I.margin=o.map((t=>"".concat(t,"px"))).join(" ")),{className:"y"===k?void 0:"rcb-inner",style:I}}(t)),_t(Yt,null))};var Gt=n(2104).h;const qt=()=>{const t=(0,I.S)(),{customCss:{antiAdBlocker:e,css:n},visible:i,animationVisible:r,activeAction:a,skipOverlay:s,gotHiddenDueLegal:c,pageRequestUuid4:l,individualPrivacyOpen:d}=t,u=S(t),p=i&&!u||!!a;(0,P.G)(e?n:""),(0,P.G)("#".concat(l,", #").concat(l," * {box-sizing: border-box;backface-visibility:initial;text-transform:initial;-webkit-text-size-adjust:100%;}")),function(t){const e=(0,I.S)(),{layout:{overlay:n,overlayBlur:i},pageRequestUuid4:r,animationVisible:a}=e,s=t&&n&&a,c="rcb-overlay-active";(0,o.d4)((()=>{const{dataset:t,style:e,classList:n}=document.body;void 0===t.rcbPreviousOverflow&&(t.rcbPreviousOverflow=e.overflow),e.overflow=s?"hidden":t.rcbPreviousOverflow,document.body.parentElement.style.overflow=e.overflow,s?n.add(c):n.remove(c)}),[s])}(p);const[,h]=(0,o.eJ)(0),f=()=>h(+new Date);if((0,o.bt)((()=>(window.addEventListener("resize",f),()=>window.removeEventListener("resize",f))),[]),(0,o.bt)((()=>{(0,T.s)(1e3)}),[r,d]),c&&(0,o.d4)((()=>{c(u)}),[u]),function(){const t=(0,I.S)(),{consent:e,groups:n,tcf:i,activeAction:r,selectHistoryEntry:a,fetchHistory:s}=t,[c,l]=(0,o.eJ)({consent:e,groups:n,tcf:i});(0,o.d4)((()=>{r||l({consent:e,groups:n,tcf:i})}),[e,n,i,r]),(0,o.d4)((()=>{if("history"===r)l({consent:e,groups:n,tcf:i}),async function(){const t=await s();if(t.length){const[{groups:e,decision:n,tcf:o}]=t;a(e,n,o)}else a([],[])}();else{const{groups:t,consent:{groups:e},tcf:n}=c;null==a||a(t,e,n)}}),[r])}(),function(){const{openBanner:t,openHistory:e,revokeConsent:n}=(0,I.S)();(0,o.d4)((()=>{const o=(o,i,r)=>{if(t)switch(o){case"change":t(r);break;case"history":e(r);break;case"revoke":n(i,r)}},i=e=>{if(!t)return;const n=e.target;(0,N.w)(n,L).concat((0,R.D)(n,L)?[n]:[]).forEach((t=>{o(t.getAttribute("href").slice(9),t.getAttribute("data-success-message"),e)})),(0,R.D)(n,".rcb-sc-link")&&o(n.getAttribute("href").slice(1),n.getAttribute("data-success-message"),e)},r=()=>{const{hash:t}=window.location;t.startsWith("#consent-")&&o(t.substring(9),void 0,void 0)};return window.addEventListener("hashchange",r),document.addEventListener("click",i,!0),()=>{window.removeEventListener("hashchange",r),document.removeEventListener("click",i,!0)}}),[t,e,n])}(),!p)return null;const m=Gt("div",function({layout:{type:t,dialogPosition:e},customCss:{antiAdBlocker:n},mobile:o,pageRequestUuid4:i}){const r={display:"flex",width:"100%",height:"100%"};return"dialog"===(0,z.D)(o,i,t,"banner")&&(r.alignItems=e.startsWith("top")?"flex-start":e.startsWith("bottom")?"flex-end":"center",r.justifyContent=e.endsWith("Center")?"center":e.endsWith("Left")?"flex-start":"flex-end"),{className:"wp-exclude-emoji ".concat("y"===n?"":"rcb-align"),style:r}}(t),Gt(Ft,null));return s?m:Gt("div",(0,B.Z)({id:l},function({layout:{type:t,overlay:e,overlayBg:n,overlayBgAlpha:o},design:{fontSize:i},customCss:{antiAdBlocker:r},mobile:a,pageRequestUuid4:s}){return{className:"y"===r?void 0:"rcb-bann3r rcb-bann3r-".concat((0,z.D)(a,s,t,"banner")," ").concat(e?"":"overlay-deactivated"),style:{background:e?M(n,o):"none",position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:999999,pointerEvents:e?"all":"none",fontSize:(0,z.D)(a,s,+i),filter:"none",maxHeight:"100vh"}}}(t)),m)},Xt={path:"/consent",method:x.O.GET};var jt=n(4883),Vt=n(2104).h;const Jt=({poweredLink:t})=>{const{customizeValuesBanner:{layout:e,decision:n,legal:u,design:f,headerDesign:m,bodyDesign:g,footerDesign:x,texts:B,individualLayout:T,saveButton:P,group:N,individualTexts:R,customCss:L,mobile:z},pageId:H,pageRequestUuid4:W,pageIdToPermalink:M,consentForwardingExternalHosts:U,essentialGroup:Y,isTcf:_,isEPrivacyUSA:F,isAgeNotice:G,isListServicesNotice:q,tcf:X,tcfMetadata:j,groups:V,userConsentCookieName:J,bannerI18n:Z,affiliate:Q,isCurrentlyInTranslationEditorPreview:$,pageByIdUrl:K}=(0,i.u)(),tt=(0,h.h)(J),et=function(t,e,n){return(0,o.Ye)((()=>{}),[t,e,n])}(_,X,j),{toggleOverlay:nt}=function(t){const e=D(),n=(0,o.I4)((({layout:n},o)=>{const{animationInDuration:i,animationOutDuration:r}=n,{useAnimationIn:a,useAnimationOut:s}=e(n),c=o?"none"===a?0:i:"none"===s?0:r;c>0&&(t.style.transition="background ".concat(c,"ms")),t.style.background="transparent",o?(setTimeout((()=>{t.style.display="block"}),0),setTimeout((()=>{const e=t.getAttribute("data-bg");t.style.background=e?e.split(":")[1].trim().replace(";",""):"transparent"}),100)):setTimeout((()=>{t.style.display="none"}),c);const l={animationVisible:o};return o?{visible:!0,...l}:l}),[e]);return{overlay:t,toggleOverlay:n}}(document.getElementById(W)),{openHistory:ot,openBanner:it,revokeConsent:rt,updateTcfFilterBy:at,updateIndividualPrivacyOpen:st,updateGroupChecked:ct,updateCookieChecked:lt,onClose:dt,selectHistoryEntry:ut}=function({toggleOverlay:t,revokeConsent:e}){const n=(e,n)=>e((e=>({...e,activeAction:n,individualPrivacyOpen:!0,refreshSiteAfterSave:"change"===n&&2e3,...t(e,!0)})));return{openHistory:(t,...e)=>{n(t,"history"),E(e[0])},openBanner:(t,...e)=>{n(t,"change"),E(e[0])},revokeConsent:(t,...n)=>{const[o,i]=n;t((t=>(e(t).then((()=>{o&&alert(o),setTimeout((()=>window.location.reload()),2e3)})),t))),E(i)},updateTcfFilterBy:(t,...e)=>{const[n]=e;t((t=>({...t,tcfFilterBy:n})))},updateIndividualPrivacyOpen:(t,...e)=>{const[n]=e;t((t=>({...t,individualPrivacyOpen:n})))},updateGroupChecked:(t,...e)=>{const[n,o]=e;t((t=>{const e=JSON.parse(JSON.stringify(t.consent));return o?e.groups[n]=t.groups.filter((t=>t.id===n))[0].items.map((({id:t})=>t)):delete e.groups[n],{...t,consent:e,didGroupFirstChange:!0}}))},updateCookieChecked:(t,...e)=>{const[n,o,i]=e;t((t=>{const e=JSON.parse(JSON.stringify(t.consent));e.groups[n]||(e.groups[n]=[]);const r=e.groups[n],a=r.indexOf(o);return i&&-1===a?r.push(o):!i&&a>-1&&r.splice(a,1),r.length||delete e.groups[n],{...t,consent:e}}))},onClose:e=>{e((e=>({...e,...t(e,!1),refreshSiteAfterSave:!1})))},selectHistoryEntry:(t,...e)=>{const[n,o,i]=e;t((t=>{const e={isTcf:!!i,tcf:null};return{...t,groups:n,consent:{...t.consent,groups:o},...e}}))}}}({toggleOverlay:nt,revokeConsent:({tcf:t})=>(0,A.$)({consent:{groups:(0,a.b)().getDefaultDecision(!0)},buttonClicked:"shortcode_revoke",tcfString:void 0})}),[pt,ht]=(0,o.eJ)({layout:{...e},decision:{...n},legal:{...u},design:{...f},headerDesign:{...m},bodyDesign:{...g},footerDesign:{...x},texts:{...B},individualLayout:{...T},saveButton:{...P},group:{...N},individualTexts:{...R},customCss:{...L},mobile:{...z},productionNotice:Vt(jt.Z,null),pageRequestUuid4:W,pageIdToPermalink:M,pageByIdUrl:K,consentForwardingExternalHosts:U,pageId:H,isTcf:_,ePrivacyUSA:F,ageNotice:G,listServicesNotice:q,tcf:et,tcfFilterBy:"legInt",groups:V,essentialGroup:Y,poweredLink:t,visible:!1,animationVisible:!0,skipOverlay:!0,previewCheckboxActiveState:!1,individualPrivacyOpen:!1,i18n:Z,keepVariablesInTexts:$,affiliate:Q,consent:{groups:{...!1===tt?{}:tt.consent,...(0,a.b)().getDefaultDecision(!1===tt)}},didGroupFirstChange:!1,onSave:(t,e)=>{ht((n=>{const o=(0,A.$)({consent:n.consent,markAsDoNotTrack:t,buttonClicked:e,tcfString:void 0});return n.refreshSiteAfterSave?(o.then((()=>setTimeout((()=>window.location.reload()),n.refreshSiteAfterSave||2e3))),n):{...n,...nt(n,!1)}}))},fetchHistory:async()=>{const{restNamespace:t,restRoot:e,restQuery:n,restNonce:o}=(0,r.m)(),i=await(0,k.D)({location:Xt,options:{restNamespace:t,restRoot:e,restQuery:n,restNonce:o},cookieValueAsParam:[J],sendRestNonce:!1});return ht((t=>({...t,history:i}))),i},updateTcfFilterBy:t=>at(ht,t),updateIndividualPrivacyOpen:t=>st(ht,t),updateGroupChecked:(t,e)=>ct(ht,t,e),updateCookieChecked:(t,e,n)=>lt(ht,t,e,n),onClose:()=>dt(ht),selectHistoryEntry:(t,e,n)=>ut(ht,t,e,n),openHistory:t=>ot(ht,t),openBanner:t=>it(ht,t),revokeConsent:(t,e)=>rt(ht,t,e)});(function(t,e,n){(0,o.d4)((()=>{if((0,i.u)().customizeIdsBanner)return;const{restNamespace:o,restRoot:u,restQuery:f,restNonce:m,others:{isAcceptAllForBots:g,isPreventPreDecision:x,hasDynamicPreDecisions:A,isRespectDoNotTrack:O}}=(0,r.m)(),{onSave:D}=t;var E,I,B;!async function(t,e){let n=!0;const o=t instanceof s.G?t.getOptions():t,{gateways:i,args:r,onIsDoNotTrack:a,onShowCookieBanner:u}=e;for(const t of i){const e=await t(o,...r);if(!1!==e){n=!1;const t=t=>(0,c.n)({type:t,...o});"all"===e?t("all"):"essentials"===e?t("essentials"):"dnt"===e?a((()=>t("essentials"))):"consent"===e&&t("consent");break}}n&&(u(),await(0,d.C)(),document.dispatchEvent(new CustomEvent(l.I,{detail:{}})))}((0,a.b)(),{gateways:[p,(B=["login-action-"],async()=>{const{className:t}=document.body;return B.filter((e=>t.indexOf(e)>-1)).length>0&&"consent"}),v((()=>{const{clientWidth:t,clientHeight:e}=document.documentElement;return(0,k.D)({location:C,options:{restNamespace:o,restRoot:u,restQuery:f,restNonce:m},sendRestNonce:!1,request:{viewPortWidth:t,viewPortHeight:e},params:{_wp_http_referer:window.location.href}})}),1e4,A),async(t,e)=>!!S(e)&&"consent",(I=x,async({decisionCookieName:t})=>{const e=(0,h.h)(t);return!(!I||!1!==e)&&(b()?"all":"consent")}),(E=!!g&&"all",async({decisionCookieName:t})=>!(!1!==(0,h.h)(t)||!E)&&!!b()&&E),y(O),w],args:[t],onIsDoNotTrack:()=>{D(!0,"none")},onShowCookieBanner:()=>e((t=>({...t,consent:{groups:(0,a.b)().getDefaultDecision()},...n(t,!0)})))})}),[])})(pt,ht,nt),function(t,e){(0,o.d4)((()=>{const n=()=>{const n=(0,h.h)(e);n&&t((t=>({...t,consent:{groups:n.consent}})))};return document.addEventListener(O.V,n),()=>{document.removeEventListener(O.V,n)}}),[])}(ht,J);const ft=I.k.Context();return Vt(ft.Provider,{value:pt},Vt(qt,null))};var Zt=n(1263),Qt=n(3167),$t=n(3554);async function Kt(t,e=500,n=0){let o=0;for(;!t();){if(n>0&&o>=n)return;await new Promise((t=>setTimeout(t,e))),o++}return t()}let te=0;const ee={path:"/consent/clear",method:x.O.DELETE};var ne=n(8102),oe=n(1066),ie=n(3386),re=n(8166);function ae(t,e,n,o){const i=[],{groups:r,revisionHash:a}=t.getOptions(),s=r.map((({items:t})=>t)).flat();for(const t of s)if("number"==typeof e)t.id===e&&i.push({cookie:t,relevance:10});else{const{technicalDefinitions:r}=t;if(null!=r&&r.length)for(const a of r){const s=(0,re.L)(a.name);if(a.type===e&&(a.name===n||n.match(s))&&(a.host===o||"*"===o)){i.push({cookie:t,relevance:r.length+r.indexOf(a)+1});break}}}const c=t.getUserDecision();if(i.length){const t=i.sort((({relevance:t},{relevance:e})=>t-e))[0].cookie;return c&&a===c.revision?Object.values(c.consent).flat().indexOf(t.id)>-1?{cookie:t,consentGiven:!0,cookieOptIn:!0}:{cookie:t,consentGiven:!0,cookieOptIn:!1}:{cookie:t,consentGiven:!1,cookieOptIn:!1}}return{cookie:null,consentGiven:!!c,cookieOptIn:!0}}function se(...t){return new Promise(((e,n)=>{const{cookie:o,consentGiven:i,cookieOptIn:r}=ae(...t);o?i?r?e():n():(document.addEventListener($t.g,(async({detail:{service:t}})=>{t===o&&e()})),document.addEventListener(ie.E,(async({detail:{service:t}})=>{t===o&&n()}))):e()}))}var ce=n(6814),le=n(3933),de=n(2104).h;n.p=(0,ne.sE)("real-cookie-banner");const{blocker:ue,pageRequestUuid4:pe}=(0,i.u)();document.addEventListener($t.g,(async({detail:{service:{presetId:t,codeOptIn:e,codeDynamics:n}}})=>{switch(t){case"amazon-associates-widget":{const{amznAssoWidgetHtmlId:t}=n||{};if(t){const o=document.getElementById(t);if(o){const t=te;te++,(0,Zt.K)(e,n,o);const i=await Kt((()=>document.querySelector('[id^="amzn_assoc_ad_div_"][id$="'.concat(t,'"]'))),500,50);i&&o.appendChild(i)}}break}case"google-maps":document.addEventListener(Qt.T,(async({detail:{element:t}})=>{const{et_pb_map_init:e,jQuery:n}=window;n&&t.matches(".et_pb_map")&&e&&(await Kt((()=>window.google)),e(n(t).parent()))}))}})),function(){const t=(0,i.u)(),{isTcf:e}=t}(),(0,d.C)((()=>{const t=(0,le.U)("".concat(pe,"-powered-by")),e=function(t){const{body:e}=document,{parentElement:n}=t;return n!==e&&e.appendChild(t),t}(document.getElementById(pe));!function(t,e){const n=Array.prototype.slice.call(document.querySelectorAll(".rcb-consent-history-uuids"));document.addEventListener(l.I,(()=>{n.forEach((t=>t.innerHTML=t.getAttribute("data-fallback")))})),document.addEventListener(O.V,(()=>{const t=(0,h.h)(e instanceof s.G?e.getOption("decisionCookieName"):e),o=t?[t.uuid,...t.previousUuids]:[];n.forEach((t=>t.innerHTML=o.length>0?o.join(", "):t.getAttribute("data-fallback")))}))}(0,(0,a.b)()),document.addEventListener(oe.C,(async({detail:{deleteHttpCookies:t}})=>{t.length&&setTimeout((()=>function(t){const{restNamespace:e,restRoot:n,restQuery:o,restNonce:i}=(0,r.m)();return(0,k.D)({location:ee,options:{restNamespace:e,restRoot:n,restQuery:o,restNonce:i},sendRestNonce:!1,params:{cookies:t.join(",")}})}(t)),0)})),e&&(0,o.sY)(de(Jt,{poweredLink:t}),e)}),"interactive"),function(t,e){const n={consent:(...e)=>se(t,...e),consentAll:(...e)=>function(t,e){return Promise.all(e.map((e=>se(t,...e))))}(t,...e),consentSync:(...e)=>ae(t,...e),unblock:(...t)=>function(t,e,n=document.createElement("div")){return new Promise((o=>{let i;const r=!n.parentElement;t:for(const n of t){const{rules:t}=n;for(const o of t){const t=(0,re.L)(o);if(e.match(t)){i=n;break t}}}i?(n.setAttribute(ce.d3,"services"),n.setAttribute(ce._W,i.services.join(",")),n.setAttribute(ce.CT,i.id.toString()),n.addEventListener(Qt.T,(()=>{r&&n.remove(),o()})),r&&document.body.appendChild(n)):o()}))}(e,...t)};window.consentApi=n,window.dispatchEvent(new CustomEvent("consentApi"))}((0,a.b)(),ue)},4883:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var o=n(9712),i=n(2104).h;const r=()=>{const{isPro:t,isLicensed:e,isDevLicense:n,bannerI18n:{noLicense:r,devLicense:a}}=(0,o.u)();if(!t)return null;let s="";return n?s=a:e||(s=r),s?i("div",{style:{fontSize:13,color:"#c95252",fontWeight:"bold",order:9}},s):null}},7499:(t,e,n)=>{"use strict";n.d(e,{$:()=>l});const o={path:"/consent",method:n(9597).O.POST};var i=n(1048),r=n(9712);function a({endpoints:t,data:e}){const{isPro:n}=(0,r.u)();if(n){const n=[];for(const o of t)n.push(window.fetch(o,{method:"POST",credentials:"include",headers:{"Content-Type":"application/json;charset=utf-8"},body:JSON.stringify(e)}));return Promise.all(n)}return Promise.reject()}var s=n(1054),c=n(7853);async function l({consent:t,markAsDoNotTrack:e=!1,buttonClicked:n,blocker:r=0,blockerThumbnail:l,tcfString:d}){const{clientWidth:u,clientHeight:p}=document.documentElement,{restNamespace:h,restRoot:f,restQuery:m,restNonce:g}=(0,i.m)(),{forward:b,uuid:v,cookie_revision:y,decision_in_cookie:w}=await(0,c.D)({location:o,options:{restNamespace:h,restRoot:f,restQuery:m,restNonce:g},sendRestNonce:!1,request:{...t,markAsDoNotTrack:e,buttonClicked:n,viewPortWidth:u,viewPortHeight:p,blocker:r,blockerThumbnail:l,tcfString:d},params:{_wp_http_referer:window.location.href}});window.rcbDisabledCookieComp={uuid:v,previousUuids:[],revision:y,consent:w},await Promise.all([b&&a(b),(0,s.b)().applyCookies({type:"consent"})].filter(Boolean))}},1054:(t,e,n)=>{"use strict";n.d(e,{b:()=>s});var o=n(8971),i=n(9712),r=n(1048);function a(t){const e=(0,r.m)().version.split(".");return+("major"===t?e[0]:e.map((t=>+t<10?"0".concat(t):t)).join(""))}function s(){const{userConsentCookieName:t,revisionHash:e,setCookiesViaManager:n,groups:r,essentialGroup:s}=(0,i.u)();return window.rcbConsentManager||(window.rcbConsentManager=new o.G({decisionCookieName:t,essentialGroupSlug:s,groups:r,revisionHash:e,supportsCookiesName:"real_cookie_banner-test",tagManager:n,skipOptIn:function(t){const{presetId:e}=t;return["amazon-associates-widget"].indexOf(e)>-1},cmpId:367,cmpVersion:a("major"),tcfCookieName:"".concat(t,"-tcf")})),window.rcbConsentManager}},1048:(t,e,n)=>{"use strict";function o(){return window["real-cookie-banner".replace(/-([a-z])/g,(t=>t[1].toUpperCase()))]}n.d(e,{m:()=>o})},9712:(t,e,n)=>{"use strict";n.d(e,{u:()=>i});var o=n(1048);function i(){return(0,o.m)().others}}},n={};function o(t){var i=n[t];if(void 0!==i)return i.exports;var r=n[t]={exports:{}};return e[t].call(r.exports,r,r.exports,o),r.exports}o.m=e,t=[],o.O=(e,n,i,r)=>{if(!n){var a=1/0;for(d=0;d<t.length;d++){for(var[n,i,r]=t[d],s=!0,c=0;c<n.length;c++)(!1&r||a>=r)&&Object.keys(o.O).every((t=>o.O[t](n[c])))?n.splice(c--,1):(s=!1,r<a&&(a=r));if(s){t.splice(d--,1);var l=i();void 0!==l&&(e=l)}}return e}r=r||0;for(var d=t.length;d>0&&t[d-1][2]>r;d--)t[d]=t[d-1];t[d]=[n,i,r]},o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=(t,e)=>Object.