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

Version Description

Download this release

Release Info

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

Code changes from version 2.16.2 to 2.17.0

Files changed (70) hide show
  1. CHANGELOG.md +76 -0
  2. README.txt +1 -1
  3. inc/Activator.php +9 -1
  4. inc/Assets.php +3 -1
  5. inc/Core.php +24 -1
  6. inc/MyConsent.php +25 -1
  7. inc/UserConsent.php +54 -0
  8. inc/base/others/cachebuster-lib.php +1 -3
  9. inc/base/others/cachebuster.php +59 -59
  10. inc/import/Export.php +3 -0
  11. inc/import/ImportBlocker.php +8 -0
  12. inc/import/ImportMessages.php +22 -0
  13. inc/overrides/interfce/settings/IOverrideBlocker.php +18 -0
  14. inc/overrides/lite/settings/Blocker.php +14 -0
  15. inc/overrides/lite/view/blocker/ImagePreviewBlockableTrait.php +26 -0
  16. inc/overrides/lite/view/blocker/index.php +5 -0
  17. inc/presets/free/blocker/GravatarPreset.php +1 -1
  18. inc/presets/free/blocker/JetPackCommentsPreset.php +4 -1
  19. inc/presets/free/blocker/YoutubePreset.php +5 -2
  20. inc/presets/middleware/BlockerContentTypeButtonTextMiddleware.php +45 -0
  21. inc/presets/middleware/BlockerDisableProFeaturesInFreeMiddleware.php +28 -0
  22. inc/presets/pro/blocker/AnchorFmPreset.php +1 -1
  23. inc/presets/pro/blocker/GoogleMapsPreset.php +3 -1
  24. inc/presets/pro/blocker/HappyFormsPreset.php +10 -2
  25. inc/presets/pro/blocker/PodigeePreset.php +8 -1
  26. inc/rest/Config.php +30 -1
  27. inc/rest/Consent.php +4 -0
  28. inc/rest/Scanner.php +1 -1
  29. inc/settings/Blocker.php +82 -4
  30. inc/view/Banner.php +4 -6
  31. inc/view/Blocker.php +2 -1
  32. inc/view/ConfigPage.php +78 -0
  33. inc/view/Scanner.php +27 -13
  34. inc/view/blockable/BlockerPostType.php +5 -1
  35. inc/view/blocker/Plugin.php +9 -0
  36. inc/view/checklist/Shortcode.php +6 -4
  37. inc/view/customize/banner/BodyDesign.php +1 -1
  38. inc/view/customize/banner/Texts.php +10 -0
  39. inc/view/customize/banner/individual/Texts.php +1 -0
  40. inc/view/navmenu/NavMenuLinkItem.php +24 -0
  41. inc/view/navmenu/NavMenuLinks.php +336 -0
  42. index.php +1 -1
  43. languages/real-cookie-banner-de_AT.mo +0 -0
  44. languages/real-cookie-banner-de_AT.po +126 -16
  45. languages/real-cookie-banner-de_CH.mo +0 -0
  46. languages/real-cookie-banner-de_CH.po +126 -16
  47. languages/real-cookie-banner-de_CH_informal.mo +0 -0
  48. languages/real-cookie-banner-de_CH_informal.po +126 -16
  49. languages/real-cookie-banner-de_DE.mo +0 -0
  50. languages/real-cookie-banner-de_DE.po +126 -16
  51. languages/real-cookie-banner-de_DE_formal.mo +0 -0
  52. languages/real-cookie-banner-de_DE_formal.po +128 -16
  53. languages/real-cookie-banner.pot +70 -4
  54. public/dist/138.lite.js +0 -2
  55. public/dist/191.lite.js +2 -0
  56. public/dist/191.lite.js.map +1 -0
  57. public/dist/354.lite.js +2 -0
  58. public/dist/354.lite.js.map +1 -0
  59. public/dist/411.lite.js +0 -2
  60. public/dist/411.lite.js.map +0 -1
  61. public/dist/460.lite.js +0 -2
  62. public/dist/460.lite.js.map +0 -1
  63. public/dist/547.lite.js +0 -2
  64. public/dist/547.lite.js.map +0 -1
  65. public/dist/548.lite.js +2 -0
  66. public/dist/548.lite.js.map +1 -0
  67. public/dist/716.lite.js +2 -0
  68. public/dist/716.lite.js.map +1 -0
  69. public/dist/717.lite.js +0 -2
  70. public/dist/717.lite.js.map +0 -1
CHANGELOG.md CHANGED
@@ -3,6 +3,82 @@
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
  ## 2.16.2 (2022-04-04)
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
+ # 2.17.0 (2022-04-20)
7
+
8
+
9
+ ### chore
10
+
11
+ * add a description to the texts section in customizer (CU-2195q0e)
12
+ * block channel embed of Anchor.fm in content blocker (CU-bcwmqj)
13
+ * code refactoring and calculate monorepo package folders where possible (CU-2386z38)
14
+ * enable media library selection for content blocker image (CU-eb4h2q)
15
+ * implement UI for new content blocker visual settings (CU-eb4h2q9)
16
+ * introduce predefined images for content blocker content types (CU-1y2d0mb)
17
+ * prepare new visual content blockers for lite version (CU-eb4h2q)
18
+ * remove React and React DOM local copies and rely on WordPress version (CU-awv3bv)
19
+ * review 1 (CU-1zad7fx)
20
+ * store embed thumbnails in a more generic folder in wp-content/uploads (CU-eb4h2q)
21
+ * update embera (CU-eb4h2q)
22
+
23
+
24
+ ### feat
25
+
26
+ * allow content blocker with preview images in List of consents (CU-eb4h2q)
27
+ * allow to create navgiation / menu links with one click instead of shortcodes (CU-we4qxh)
28
+ * allow to export / import visual content blocker settings, max visual height (CU-eb4h2q)
29
+ * implement visual content blocker with visual audio player (CU-eb4h2q)
30
+ * introduce new visual settings in Content Blocker form (CU-eb4h2q)
31
+
32
+
33
+ ### fix
34
+
35
+ * better explain the Matomo Tag Manager script URL in service template (CU-2386cvv)
36
+ * block 1.gravatar.com in Gravatar content blocker template (CU-2200n8k)
37
+ * cleanup code and adjust checklist for legal links (CU-we4qxh)
38
+ * compatibility of nav menus with WPML (CU-we4qxh)
39
+ * compatibility with Customizr theme and disabling the footer link in the customizer (CU-244r9ag)
40
+ * compatibility with Gravity Geolocation and Google Maps (CU-23z12mr)
41
+ * compatibility with latest version of HappyForms and Google reCAPTCHA (CU-1znd8x2)
42
+ * compatibility with TranslatePress Automatic User Language Detection popup and blurred popup (CU-244r841)
43
+ * do not show busy indicator in scanner result table when not needed (CU-23tchda)
44
+ * download thumbnail in standard format and force 16/9 ratio for YouTube videos (CU-eb4h2q)
45
+ * drill down visual thumbnail to nested blocked content when parent gets visual (CU-1z4fxer)
46
+ * improved compatibility with Podigee (CU-eb4h2q)
47
+ * improved compatibility with WP YouTube Lyte (CU-eb4h2q)
48
+ * in multisite environments there could be a wrong WP_COOKIEPATH, respect always the latest in document.cookie (CU-23z12mr)
49
+ * provide a grouped admin menu node for all Real Cookie Banner actions (CU-1zad7fx)
50
+ * remove duplicate URLs from scanned sitemaps (CU-2200n8k)
51
+ * same font size for essential button as default value of accept all button (CU-23kq9gb)
52
+ * show busy indicator when unblocking visual content blocker (CU-1z4ndd2)
53
+ * show visual content blocker within tab panels (CU-23kq9gb)
54
+ * when using animations the header was flickering while scrolling (CU-2c60q8h)
55
+
56
+
57
+ ### perf
58
+
59
+ * lazy load visual content blockers in a more convenient way using idle callbacks (CU-eb4h2q)
60
+
61
+
62
+ ### refactor
63
+
64
+ * extract composer dev dependencies to their corresponding dev package (CU-22h231w)
65
+ * move more files to @devowl-wp/headless-content-unblocker
66
+ * move wordpress packages to isomorphic-packages (CU-22h231w)
67
+ * name traefik environment to staging (CU-22h231w)
68
+ * put composer license packages to @devowl-wp/composer-licenses (CU-22h231w)
69
+ * rename wordpress-packages and wordpress-plugins folder (CU-22h231w)
70
+ * revert empty commits for package folder rename (CU-22h231w)
71
+ * use phpunit-config and phpcs-config in all PHP packages (CU-22h231w)
72
+
73
+
74
+ ### revert
75
+
76
+ * remove max height for preview image as it is not practicable solvable (CU-eb4h2q)
77
+
78
+
79
+
80
+
81
+
82
  ## 2.16.2 (2022-04-04)
83
 
84
 
README.txt CHANGED
@@ -1,5 +1,5 @@
1
  === WordPress Real Cookie Banner: GDPR (DSGVO) & ePrivacy Cookie Consent ===
2
- Contributors: devowl, mguenter, jankarres
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: trunk
5
  Requires at least: 5.2
1
  === WordPress Real Cookie Banner: GDPR (DSGVO) & ePrivacy Cookie Consent ===
2
+ Contributors: devowl, mguenter, jankarres, mrguenter
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: trunk
5
  Requires at least: 5.2
inc/Activator.php CHANGED
@@ -13,6 +13,7 @@ use DevOwl\RealCookieBanner\presets\Presets;
13
  use DevOwl\RealCookieBanner\scanner\Persist;
14
  use DevOwl\RealCookieBanner\settings\CookieGroup;
15
  use DevOwl\RealCookieBanner\settings\Revision;
 
16
  use DevOwl\RealCookieBanner\Vendor\MatthiasWeb\Utils\Activator as UtilsActivator;
17
  // @codeCoverageIgnoreStart
18
  \defined('ABSPATH') or die('No script kiddies please!');
@@ -137,7 +138,7 @@ class Activator {
137
  }
138
  // wp_rcb_consent
139
  $table_name = $this->getTableName(\DevOwl\RealCookieBanner\UserConsent::TABLE_NAME);
140
- $sql = "CREATE TABLE {$table_name} (\n id bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,\n plugin_version varchar(20) DEFAULT '0.0.0' NOT NULL,\n design_version int(4) UNSIGNED DEFAULT 1 NOT NULL,\n ipv4 int UNSIGNED,\n ipv6 binary(16),\n ipv4_hash char(64),\n ipv6_hash char(64),\n uuid char(36) NOT NULL,\n revision char(32) NOT NULL,\n revision_independent char(32) NOT NULL,\n previous_decision tinytext NOT NULL,\n decision_hash char(32) NOT NULL,\n decision tinytext NOT NULL,\n blocker bigint(20) UNSIGNED,\n button_clicked varchar(32) NOT NULL,\n context varchar(200) NOT NULL,\n viewport_width int UNSIGNED NOT NULL,\n viewport_height int UNSIGNED NOT NULL,\n referer tinytext NOT NULL,\n pure_referer tinytext NOT NULL,\n url_imprint tinytext NOT NULL,\n url_privacy_policy tinytext NOT NULL,\n dnt tinyint(1) UNSIGNED NOT NULL,\n custom_bypass varchar(50),\n created datetime NOT NULL,\n forwarded bigint(20) UNSIGNED,\n forwarded_blocker tinyint(1) NOT NULL,\n user_country varchar(5),\n tcf_string text,\n PRIMARY KEY (id)\n ) {$charset_collate};";
141
  dbDelta($sql);
142
  if ($errorlevel) {
143
  $wpdb->print_error();
@@ -190,6 +191,13 @@ class Activator {
190
  if ($errorlevel) {
191
  $wpdb->print_error();
192
  }
 
 
 
 
 
 
 
193
  }
194
  /**
195
  * Uninstall our plugin (it does currently not remove any settings!).
13
  use DevOwl\RealCookieBanner\scanner\Persist;
14
  use DevOwl\RealCookieBanner\settings\CookieGroup;
15
  use DevOwl\RealCookieBanner\settings\Revision;
16
+ use DevOwl\RealCookieBanner\view\blocker\Plugin;
17
  use DevOwl\RealCookieBanner\Vendor\MatthiasWeb\Utils\Activator as UtilsActivator;
18
  // @codeCoverageIgnoreStart
19
  \defined('ABSPATH') or die('No script kiddies please!');
138
  }
139
  // wp_rcb_consent
140
  $table_name = $this->getTableName(\DevOwl\RealCookieBanner\UserConsent::TABLE_NAME);
141
+ $sql = "CREATE TABLE {$table_name} (\n id bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,\n plugin_version varchar(20) DEFAULT '0.0.0' NOT NULL,\n design_version int(4) UNSIGNED DEFAULT 1 NOT NULL,\n ipv4 int UNSIGNED,\n ipv6 binary(16),\n ipv4_hash char(64),\n ipv6_hash char(64),\n uuid char(36) NOT NULL,\n revision char(32) NOT NULL,\n revision_independent char(32) NOT NULL,\n previous_decision tinytext NOT NULL,\n decision_hash char(32) NOT NULL,\n decision tinytext NOT NULL,\n blocker bigint(20) UNSIGNED,\n blocker_thumbnail bigint(20) UNSIGNED,\n button_clicked varchar(32) NOT NULL,\n context varchar(200) NOT NULL,\n viewport_width int UNSIGNED NOT NULL,\n viewport_height int UNSIGNED NOT NULL,\n referer tinytext NOT NULL,\n pure_referer tinytext NOT NULL,\n url_imprint tinytext NOT NULL,\n url_privacy_policy tinytext NOT NULL,\n dnt tinyint(1) UNSIGNED NOT NULL,\n custom_bypass varchar(50),\n created datetime NOT NULL,\n forwarded bigint(20) UNSIGNED,\n forwarded_blocker tinyint(1) NOT NULL,\n user_country varchar(5),\n tcf_string text,\n PRIMARY KEY (id)\n ) {$charset_collate};";
142
  dbDelta($sql);
143
  if ($errorlevel) {
144
  $wpdb->print_error();
191
  if ($errorlevel) {
192
  $wpdb->print_error();
193
  }
194
+ // wp_rcb_blocker_thumbnails
195
+ $table_name = $this->getTableName(\DevOwl\RealCookieBanner\view\blocker\Plugin::TABLE_NAME_BLOCKER_THUMBNAILS);
196
+ $sql = "CREATE TABLE {$table_name} (\n id bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT,\n embed_id varchar(32) NOT NULL,\n file_md5 varchar(32) NOT NULL,\n embed_url tinytext NOT NULL,\n cache_filename tinytext NOT NULL,\n title tinytext NOT NULL,\n width int UNSIGNED NOT NULL,\n height int UNSIGNED NOT NULL,\n PRIMARY KEY (id),\n UNIQUE KEY `embed` (`embed_id`, `file_md5`)\n ) {$charset_collate};";
197
+ dbDelta($sql);
198
+ if ($errorlevel) {
199
+ $wpdb->print_error();
200
+ }
201
  }
202
  /**
203
  * Uninstall our plugin (it does currently not remove any settings!).
inc/Assets.php CHANGED
@@ -103,7 +103,6 @@ class Assets {
103
  $scriptDeps = [];
104
  // Mobx should not be loaded on any frontend page, but in customize preview (see `customize_banner.tsx`)
105
  if ($type !== self::$TYPE_FRONTEND || is_customize_preview()) {
106
- $this->enqueueReact();
107
  $this->enqueueMobx();
108
  \array_unshift(
109
  $scriptDeps,
@@ -112,6 +111,7 @@ class Assets {
112
  self::$HANDLE_MOBX,
113
  'moment',
114
  'wp-i18n',
 
115
  'jquery'
116
  );
117
  // Enqueue external utils package
@@ -160,6 +160,7 @@ class Assets {
160
  public function enqueueAdminPage($scriptDeps) {
161
  $useNonMinifiedSources = $this->useNonMinifiedSources();
162
  \array_unshift($scriptDeps, 'wp-codemirror', 'jquery-ui-sortable');
 
163
  // Enqueue code mirror to edit JavaScript files
164
  $cm_settings['codeEditor'] = wp_enqueue_code_editor(['type' => 'text/html']);
165
  wp_localize_script('jquery', 'cm_settings', $cm_settings);
@@ -336,6 +337,7 @@ class Assets {
336
  \false,
337
  'assetsUrl' => $core->getAdInitiator()->getAssetsUrl(),
338
  'customizeBannerUrl' => $bannerCustomize->getUrl(),
 
339
  'colorScheme' => $colorScheme,
340
  'cachePlugins' => \DevOwl\RealCookieBanner\Vendor\DevOwl\CacheInvalidate\CacheInvalidator::getInstance()->getLabels(),
341
  'modalHints' => \DevOwl\RealCookieBanner\settings\ModalHints::getInstance()->getAlreadySeen(),
103
  $scriptDeps = [];
104
  // Mobx should not be loaded on any frontend page, but in customize preview (see `customize_banner.tsx`)
105
  if ($type !== self::$TYPE_FRONTEND || is_customize_preview()) {
 
106
  $this->enqueueMobx();
107
  \array_unshift(
108
  $scriptDeps,
111
  self::$HANDLE_MOBX,
112
  'moment',
113
  'wp-i18n',
114
+ 'wp-editor',
115
  'jquery'
116
  );
117
  // Enqueue external utils package
160
  public function enqueueAdminPage($scriptDeps) {
161
  $useNonMinifiedSources = $this->useNonMinifiedSources();
162
  \array_unshift($scriptDeps, 'wp-codemirror', 'jquery-ui-sortable');
163
+ wp_enqueue_media();
164
  // Enqueue code mirror to edit JavaScript files
165
  $cm_settings['codeEditor'] = wp_enqueue_code_editor(['type' => 'text/html']);
166
  wp_localize_script('jquery', 'cm_settings', $cm_settings);
337
  \false,
338
  'assetsUrl' => $core->getAdInitiator()->getAssetsUrl(),
339
  'customizeBannerUrl' => $bannerCustomize->getUrl(),
340
+ 'adminUrl' => admin_url(),
341
  'colorScheme' => $colorScheme,
342
  'cachePlugins' => \DevOwl\RealCookieBanner\Vendor\DevOwl\CacheInvalidate\CacheInvalidator::getInstance()->getLabels(),
343
  'modalHints' => \DevOwl\RealCookieBanner\settings\ModalHints::getInstance()->getAlreadySeen(),
inc/Core.php CHANGED
@@ -17,6 +17,8 @@ use DevOwl\RealCookieBanner\lite\Core as LiteCore;
17
  use DevOwl\RealCookieBanner\overrides\interfce\IOverrideCore;
18
  use DevOwl\RealCookieBanner\presets\free\RealCookieBannerPreset;
19
  use DevOwl\RealCookieBanner\presets\middleware\BlockerExistsMiddleware;
 
 
20
  use DevOwl\RealCookieBanner\presets\middleware\CookieBlockerPresetIdsMiddleware;
21
  use DevOwl\RealCookieBanner\presets\middleware\CookieExistsMiddleware;
22
  use DevOwl\RealCookieBanner\presets\middleware\CookieManagerMiddleware;
@@ -59,6 +61,7 @@ use DevOwl\RealCookieBanner\view\customize\banner\Mobile;
59
  use DevOwl\RealCookieBanner\view\shortcode\LinkShortcode;
60
  use DevOwl\RealCookieBanner\view\shortcode\PrintUuidShortcode;
61
  use DevOwl\RealCookieBanner\view\Scanner as ViewScanner;
 
62
  use DevOwl\RealCookieBanner\Vendor\DevOwl\RealUtils\Core as RealUtilsCore;
63
  use DevOwl\RealCookieBanner\Vendor\DevOwl\TcfVendorListNormalize\TcfVendorListNormalizer;
64
  use DevOwl\RealCookieBanner\Vendor\MatthiasWeb\Utils\Service;
@@ -236,6 +239,14 @@ class Core extends \DevOwl\RealCookieBanner\base\Core implements
236
  $callbacks[] = [$adoptTierFromClassNamespaceMiddleware, 'middleware'];
237
  $callbacks[] = [$disablePresetByNeedsMiddleware, 'middleware'];
238
  $callbacks[] = [$presetsPluginIntegrations, 'middleware_blocker_recommended'];
 
 
 
 
 
 
 
 
239
  return $callbacks;
240
  });
241
  // Official Consent API
@@ -416,6 +427,7 @@ class Core extends \DevOwl\RealCookieBanner\base\Core implements
416
  $configService = \DevOwl\RealCookieBanner\rest\Config::instance();
417
  $viewScanner = \DevOwl\RealCookieBanner\view\Scanner::instance();
418
  $restScanner = \DevOwl\RealCookieBanner\rest\Scanner::instance();
 
419
  $scanner = $this->getScanner();
420
  $scannerQuery = $scanner->getQuery();
421
  $scannerOnChangeDetection = $scanner->getOnChangeDetection();
@@ -489,6 +501,18 @@ class Core extends \DevOwl\RealCookieBanner\base\Core implements
489
  add_action('delete_post', [$scannerOnChangeDetection, 'delete_post'], 10);
490
  add_action('wp_trash_post', [$scannerOnChangeDetection, 'wp_trash_post']);
491
  add_action('untrash_post', [$scannerOnChangeDetection, 'wp_trash_post']);
 
 
 
 
 
 
 
 
 
 
 
 
492
  add_filter('oembed_result', [$this->getBlocker(), 'modifyOEmbedHtmlToKeepOriginalUrl'], 10, 2);
493
  add_filter('embed_oembed_html', [$this->getBlocker(), 'modifyOEmbedHtmlToKeepOriginalUrl'], 10, 2);
494
  add_filter('RCB/Hints', [$this->getAssets(), 'hints_dashboard_tile_predefined_links'], 100);
@@ -820,7 +844,6 @@ class Core extends \DevOwl\RealCookieBanner\base\Core implements
820
  return !isset(self::$me) ? (self::$me = new \DevOwl\RealCookieBanner\Core()) : self::$me;
821
  }
822
  }
823
- // Inherited from packages/utils/src/Service
824
  /**
825
  * See API docs.
826
  *
17
  use DevOwl\RealCookieBanner\overrides\interfce\IOverrideCore;
18
  use DevOwl\RealCookieBanner\presets\free\RealCookieBannerPreset;
19
  use DevOwl\RealCookieBanner\presets\middleware\BlockerExistsMiddleware;
20
+ use DevOwl\RealCookieBanner\presets\middleware\BlockerContentTypeButtonTextMiddleware;
21
+ use DevOwl\RealCookieBanner\presets\middleware\BlockerDisableProFeaturesInFreeMiddleware;
22
  use DevOwl\RealCookieBanner\presets\middleware\CookieBlockerPresetIdsMiddleware;
23
  use DevOwl\RealCookieBanner\presets\middleware\CookieExistsMiddleware;
24
  use DevOwl\RealCookieBanner\presets\middleware\CookieManagerMiddleware;
61
  use DevOwl\RealCookieBanner\view\shortcode\LinkShortcode;
62
  use DevOwl\RealCookieBanner\view\shortcode\PrintUuidShortcode;
63
  use DevOwl\RealCookieBanner\view\Scanner as ViewScanner;
64
+ use DevOwl\RealCookieBanner\view\navmenu\NavMenuLinks;
65
  use DevOwl\RealCookieBanner\Vendor\DevOwl\RealUtils\Core as RealUtilsCore;
66
  use DevOwl\RealCookieBanner\Vendor\DevOwl\TcfVendorListNormalize\TcfVendorListNormalizer;
67
  use DevOwl\RealCookieBanner\Vendor\MatthiasWeb\Utils\Service;
239
  $callbacks[] = [$adoptTierFromClassNamespaceMiddleware, 'middleware'];
240
  $callbacks[] = [$disablePresetByNeedsMiddleware, 'middleware'];
241
  $callbacks[] = [$presetsPluginIntegrations, 'middleware_blocker_recommended'];
242
+ $callbacks[] = [
243
+ new \DevOwl\RealCookieBanner\presets\middleware\BlockerContentTypeButtonTextMiddleware(),
244
+ 'middleware'
245
+ ];
246
+ $callbacks[] = [
247
+ new \DevOwl\RealCookieBanner\presets\middleware\BlockerDisableProFeaturesInFreeMiddleware(),
248
+ 'middleware'
249
+ ];
250
  return $callbacks;
251
  });
252
  // Official Consent API
427
  $configService = \DevOwl\RealCookieBanner\rest\Config::instance();
428
  $viewScanner = \DevOwl\RealCookieBanner\view\Scanner::instance();
429
  $restScanner = \DevOwl\RealCookieBanner\rest\Scanner::instance();
430
+ $navMenuLinks = \DevOwl\RealCookieBanner\view\navmenu\NavMenuLinks::instance();
431
  $scanner = $this->getScanner();
432
  $scannerQuery = $scanner->getQuery();
433
  $scannerOnChangeDetection = $scanner->getOnChangeDetection();
501
  add_action('delete_post', [$scannerOnChangeDetection, 'delete_post'], 10);
502
  add_action('wp_trash_post', [$scannerOnChangeDetection, 'wp_trash_post']);
503
  add_action('untrash_post', [$scannerOnChangeDetection, 'wp_trash_post']);
504
+ add_action('wp_nav_menu_item_custom_fields', [$navMenuLinks, 'wp_nav_menu_item_custom_fields'], 10, 2);
505
+ add_action('wp_update_nav_menu_item', [$navMenuLinks, 'wp_update_nav_menu_item'], 10, 2);
506
+ add_action('admin_head-nav-menus.php', [$navMenuLinks, 'admin_head']);
507
+ add_action('customize_controls_head', [$navMenuLinks, 'customize_controls_head']);
508
+ add_filter('nav_menu_link_attributes', [$navMenuLinks, 'nav_menu_link_attributes'], 10, 2);
509
+ add_filter('wp_setup_nav_menu_item', [$navMenuLinks, 'wp_setup_nav_menu_item']);
510
+ add_filter('customize_nav_menu_available_item_types', [
511
+ $navMenuLinks,
512
+ 'register_customize_nav_menu_item_types'
513
+ ]);
514
+ add_filter('customize_nav_menu_available_items', [$navMenuLinks, 'register_customize_nav_menu_items'], 10, 4);
515
+ add_filter('RCB/Revision/Current', [$navMenuLinks, 'revisionCurrent']);
516
  add_filter('oembed_result', [$this->getBlocker(), 'modifyOEmbedHtmlToKeepOriginalUrl'], 10, 2);
517
  add_filter('embed_oembed_html', [$this->getBlocker(), 'modifyOEmbedHtmlToKeepOriginalUrl'], 10, 2);
518
  add_filter('RCB/Hints', [$this->getAssets(), 'hints_dashboard_tile_predefined_links'], 100);
844
  return !isset(self::$me) ? (self::$me = new \DevOwl\RealCookieBanner\Core()) : self::$me;
845
  }
846
  }
 
847
  /**
848
  * See API docs.
849
  *
inc/MyConsent.php CHANGED
@@ -7,6 +7,7 @@ use DevOwl\RealCookieBanner\settings\Consent;
7
  use DevOwl\RealCookieBanner\settings\General;
8
  use DevOwl\RealCookieBanner\settings\Revision;
9
  use DevOwl\RealCookieBanner\view\Banner;
 
10
  // @codeCoverageIgnoreStart
11
  \defined('ABSPATH') or die('No script kiddies please!');
12
  // Avoid direct file request
@@ -40,6 +41,7 @@ class MyConsent {
40
  * @param int $viewPortHeight
41
  * @param string $referer
42
  * @param int $blocker If the consent came from a content blocker, mark this in our database
 
43
  * @param int $forwarded The reference to the consent ID of the source website (only for forwarded consents)
44
  * @param string $forwardedUuid The UUID reference of the source website
45
  * @param boolean $forwardedBlocker Determine if forwarded consent came through a content blocker
@@ -55,6 +57,7 @@ class MyConsent {
55
  $viewPortHeight,
56
  $referer,
57
  $blocker = 0,
 
58
  $forwarded = 0,
59
  $forwardedUuid = null,
60
  $forwardedBlocker = \false,
@@ -78,13 +81,33 @@ class MyConsent {
78
  $consent_hash = \md5(\json_encode($consent));
79
  $ips = \DevOwl\RealCookieBanner\IpHandler::getInstance()->persistIp();
80
  $table_name = $this->getTableName(\DevOwl\RealCookieBanner\UserConsent::TABLE_NAME);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  $wpdb->query(
82
  // phpcs:disable WordPress.DB.PreparedSQL
83
  \str_ireplace(
84
  "'NULL'",
85
  'NULL',
86
  $wpdb->prepare(
87
- "INSERT IGNORE INTO {$table_name}\n (plugin_version, design_version, ipv4, ipv6, ipv4_hash, ipv6_hash, uuid, revision, revision_independent, previous_decision, decision, decision_hash, blocker, dnt, custom_bypass, button_clicked, context, viewport_width, viewport_height, referer, pure_referer, url_imprint, url_privacy_policy, forwarded, forwarded_blocker, tcf_string, created)\n VALUES\n (%s, %d, %d, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %d, %s, %s, %s, %d, %d, %s, %s, %s, %s, %s, %s, %s, %s)",
88
  RCB_VERSION,
89
  \DevOwl\RealCookieBanner\view\Banner::DESIGN_VERSION,
90
  $ips['ipv4'] === null ? 'NULL' : $ips['ipv4'],
@@ -98,6 +121,7 @@ class MyConsent {
98
  \json_encode($consent),
99
  $consent_hash,
100
  $blocker > 0 ? $blocker : 'NULL',
 
101
  $markAsDoNotTrack,
102
  $customBypass === null ? 'NULL' : $customBypass,
103
  $buttonClicked,
7
  use DevOwl\RealCookieBanner\settings\General;
8
  use DevOwl\RealCookieBanner\settings\Revision;
9
  use DevOwl\RealCookieBanner\view\Banner;
10
+ use DevOwl\RealCookieBanner\view\blocker\Plugin;
11
  // @codeCoverageIgnoreStart
12
  \defined('ABSPATH') or die('No script kiddies please!');
13
  // Avoid direct file request
41
  * @param int $viewPortHeight
42
  * @param string $referer
43
  * @param int $blocker If the consent came from a content blocker, mark this in our database
44
+ * @param int|string $blockerThumbnail Can be the ID of the blocker thumbnail itself, or in format of `{embedId}-{fileMd5}`
45
  * @param int $forwarded The reference to the consent ID of the source website (only for forwarded consents)
46
  * @param string $forwardedUuid The UUID reference of the source website
47
  * @param boolean $forwardedBlocker Determine if forwarded consent came through a content blocker
57
  $viewPortHeight,
58
  $referer,
59
  $blocker = 0,
60
+ $blockerThumbnail = null,
61
  $forwarded = 0,
62
  $forwardedUuid = null,
63
  $forwardedBlocker = \false,
81
  $consent_hash = \md5(\json_encode($consent));
82
  $ips = \DevOwl\RealCookieBanner\IpHandler::getInstance()->persistIp();
83
  $table_name = $this->getTableName(\DevOwl\RealCookieBanner\UserConsent::TABLE_NAME);
84
+ $table_name_blocker_thumbnails = $this->getTableName(
85
+ \DevOwl\RealCookieBanner\view\blocker\Plugin::TABLE_NAME_BLOCKER_THUMBNAILS
86
+ );
87
+ if (\is_string($blockerThumbnail)) {
88
+ $blockerThumbnailSplit = \explode('-', $blockerThumbnail, 2);
89
+ if (\count($blockerThumbnailSplit) > 1) {
90
+ $blockerThumbnail = $wpdb->get_var(
91
+ // phpcs:disable WordPress.DB.PreparedSQL
92
+ $wpdb->prepare(
93
+ "SELECT id FROM {$table_name_blocker_thumbnails} WHERE embed_id = %s AND file_md5 = %s",
94
+ $blockerThumbnailSplit[0],
95
+ $blockerThumbnailSplit[1]
96
+ )
97
+ );
98
+ // Blocker thumbnail does not exist - this cannot be the case (expect user deletes database table entries)
99
+ $blockerThumbnail = \is_numeric($blockerThumbnail) ? \intval($blockerThumbnail) : null;
100
+ } else {
101
+ $blockerThumbnail = null;
102
+ }
103
+ }
104
  $wpdb->query(
105
  // phpcs:disable WordPress.DB.PreparedSQL
106
  \str_ireplace(
107
  "'NULL'",
108
  'NULL',
109
  $wpdb->prepare(
110
+ "INSERT IGNORE INTO {$table_name}\n (plugin_version, design_version,\n ipv4, ipv6, ipv4_hash, ipv6_hash,\n uuid, revision, revision_independent,\n previous_decision, decision, decision_hash,\n blocker, blocker_thumbnail,\n dnt, custom_bypass,\n button_clicked, context, viewport_width, viewport_height,\n referer, pure_referer,\n url_imprint, url_privacy_policy,\n forwarded, forwarded_blocker,\n tcf_string, created)\n VALUES\n (%s, %d,\n %d, %s, %s, %s,\n %s, %s, %s,\n %s, %s, %s,\n %s, %s,\n %d, %s,\n %s, %s, %d, %d,\n %s, %s,\n %s, %s,\n %s, %s,\n %s, %s)",
111
  RCB_VERSION,
112
  \DevOwl\RealCookieBanner\view\Banner::DESIGN_VERSION,
113
  $ips['ipv4'] === null ? 'NULL' : $ips['ipv4'],
121
  \json_encode($consent),
122
  $consent_hash,
123
  $blocker > 0 ? $blocker : 'NULL',
124
+ $blockerThumbnail > 0 ? $blockerThumbnail : 'NULL',
125
  $markAsDoNotTrack,
126
  $customBypass === null ? 'NULL' : $customBypass,
127
  $buttonClicked,
inc/UserConsent.php CHANGED
@@ -2,11 +2,14 @@
2
 
3
  namespace DevOwl\RealCookieBanner;
4
 
 
5
  use DevOwl\RealCookieBanner\base\UtilsProvider;
 
6
  use DevOwl\RealCookieBanner\settings\Cookie;
7
  use DevOwl\RealCookieBanner\settings\CookieGroup;
8
  use DevOwl\RealCookieBanner\settings\Revision;
9
  use DevOwl\RealCookieBanner\view\Blocker;
 
10
  use DevOwl\RealCookieBanner\view\shortcode\LinkShortcode;
11
  use WP_Error;
12
  // @codeCoverageIgnoreStart
@@ -241,6 +244,7 @@ class UserConsent {
241
  'c.decision',
242
  'c.created',
243
  'c.blocker',
 
244
  'c.dnt',
245
  'c.custom_bypass',
246
  'c.user_country',
@@ -302,6 +306,10 @@ class UserConsent {
302
  * @param boolean $jsonDecode Pass `false` if you do not want to decode data like `revision` or `decision` to real objects (useful for CSV exports)
303
  */
304
  public function castReadRows(&$results, $jsonDecode = \true) {
 
 
 
 
305
  $revisionHashes = [];
306
  foreach ($results as &$row) {
307
  $row->id = \intval($row->id);
@@ -319,6 +327,7 @@ class UserConsent {
319
  $revisionHashes[] = $row->revision_hash;
320
  }
321
  $row->blocker = $row->blocker === null ? null : \intval($row->blocker);
 
322
  $row->dnt = $row->dnt === '1';
323
  $row->created = mysql2date('c', $row->created, \false);
324
  $row->viewport_width = \intval($row->viewport_width);
@@ -332,6 +341,51 @@ class UserConsent {
332
  $row->ipv6 = \inet_ntop($row->ipv6);
333
  }
334
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
335
  // Populate decision_labels so we can show the decision in table
336
  if (\count($revisionHashes)) {
337
  $revisionHashes = \DevOwl\RealCookieBanner\settings\Revision::getInstance()->getByHash($revisionHashes);
2
 
3
  namespace DevOwl\RealCookieBanner;
4
 
5
+ use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\plugins\imagePreview\ImagePreview;
6
  use DevOwl\RealCookieBanner\base\UtilsProvider;
7
+ use DevOwl\RealCookieBanner\lite\view\blocker\WordPressImagePreviewCache;
8
  use DevOwl\RealCookieBanner\settings\Cookie;
9
  use DevOwl\RealCookieBanner\settings\CookieGroup;
10
  use DevOwl\RealCookieBanner\settings\Revision;
11
  use DevOwl\RealCookieBanner\view\Blocker;
12
+ use DevOwl\RealCookieBanner\view\blocker\Plugin;
13
  use DevOwl\RealCookieBanner\view\shortcode\LinkShortcode;
14
  use WP_Error;
15
  // @codeCoverageIgnoreStart
244
  'c.decision',
245
  'c.created',
246
  'c.blocker',
247
+ 'c.blocker_thumbnail',
248
  'c.dnt',
249
  'c.custom_bypass',
250
  'c.user_country',
306
  * @param boolean $jsonDecode Pass `false` if you do not want to decode data like `revision` or `decision` to real objects (useful for CSV exports)
307
  */
308
  public function castReadRows(&$results, $jsonDecode = \true) {
309
+ global $wpdb;
310
+ $table_name_blocker_thumbnails = $this->getTableName(
311
+ \DevOwl\RealCookieBanner\view\blocker\Plugin::TABLE_NAME_BLOCKER_THUMBNAILS
312
+ );
313
  $revisionHashes = [];
314
  foreach ($results as &$row) {
315
  $row->id = \intval($row->id);
327
  $revisionHashes[] = $row->revision_hash;
328
  }
329
  $row->blocker = $row->blocker === null ? null : \intval($row->blocker);
330
+ $row->blocker_thumbnail = $row->blocker_thumbnail === null ? null : \intval($row->blocker_thumbnail);
331
  $row->dnt = $row->dnt === '1';
332
  $row->created = mysql2date('c', $row->created, \false);
333
  $row->viewport_width = \intval($row->viewport_width);
341
  $row->ipv6 = \inet_ntop($row->ipv6);
342
  }
343
  }
344
+ // Populate blocker_thumbnails as object instead of the ID itself
345
+ $blockerThumbnailIds = \array_values(
346
+ \array_unique(\array_filter(\array_column($results, 'blocker_thumbnail')))
347
+ );
348
+ $blockerThumbnails = [];
349
+ $imagePreviewPlugins =
350
+ \DevOwl\RealCookieBanner\Core::getInstance()
351
+ ->getBlocker()
352
+ ->getHeadlessContentBlocker()
353
+ ->getPluginsByClassName(
354
+ \DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\plugins\imagePreview\ImagePreview::class
355
+ ) ?? [];
356
+ if (\count($blockerThumbnailIds) && \count($imagePreviewPlugins) > 0) {
357
+ /**
358
+ * Plugin.
359
+ *
360
+ * @var WordPressImagePreviewCache
361
+ */
362
+ $imagePreviewCache = $imagePreviewPlugins[0]->getCache();
363
+ // phpcs:disable WordPress.DB.PreparedSQL
364
+ $readBlockerThumbnailsQueryResult = $wpdb->get_results(
365
+ "SELECT id, embed_id, file_md5, embed_url, cache_filename, title, width, height FROM {$table_name_blocker_thumbnails} WHERE id IN (" .
366
+ \join(',', $blockerThumbnailIds) .
367
+ ')',
368
+ ARRAY_A
369
+ );
370
+ // phpcs:enable WordPress.DB.PreparedSQL
371
+ foreach ($readBlockerThumbnailsQueryResult as $readBlockerThumbnail) {
372
+ $blockerThumbnails[$readBlockerThumbnail['id']] = \array_merge($readBlockerThumbnail, [
373
+ 'id' => \intval($readBlockerThumbnail['id']),
374
+ 'width' => \intval($readBlockerThumbnail['width']),
375
+ 'height' => \intval($readBlockerThumbnail['height']),
376
+ 'url' => $imagePreviewCache->getPrefixUrl() . $readBlockerThumbnail['cache_filename']
377
+ ]);
378
+ }
379
+ }
380
+ foreach ($results as &$row) {
381
+ if ($row->blocker_thumbnail > 0) {
382
+ $thumbnailId = $row->blocker_thumbnail;
383
+ $row->blocker_thumbnail = $blockerThumbnails[$thumbnailId] ?? null;
384
+ if (!$jsonDecode && $row->blocker_thumbnail !== null) {
385
+ $row->blocker_thumbnail = \json_encode($row->blocker_thumbnail);
386
+ }
387
+ }
388
+ }
389
  // Populate decision_labels so we can show the decision in table
390
  if (\count($revisionHashes)) {
391
  $revisionHashes = \DevOwl\RealCookieBanner\settings\Revision::getInstance()->getByHash($revisionHashes);
inc/base/others/cachebuster-lib.php CHANGED
@@ -1,9 +1,7 @@
1
  <?php
2
- /* This file was automatically generated (Mon Apr 04 2022 13:15:13 GMT+0000 (Coordinated Universal Time)). */
3
  return [
4
  'animate.css' => '4.1.1',
5
  'mobx' => '4.15.7',
6
- 'react' => '16.14.0',
7
- 'react-dom' => '16.14.0',
8
  'react-router-dom' => '5.2.0'
9
  ];
1
  <?php
2
+ /* This file was automatically generated (Wed Apr 20 2022 09:49:40 GMT+0000 (Coordinated Universal Time)). */
3
  return [
4
  'animate.css' => '4.1.1',
5
  'mobx' => '4.15.7',
 
 
6
  'react-router-dom' => '5.2.0'
7
  ];
inc/base/others/cachebuster.php CHANGED
@@ -1,78 +1,78 @@
1
  <?php
2
- /* This file was automatically generated (Mon Apr 04 2022 13:15:13 GMT+0000 (Coordinated Universal Time)). */
3
  return [
4
- 'src/public/dist/138.lite.js' => '59bda7fc90da3bf1871af707ec304684',
 
5
  'src/public/dist/193.lite.js' => 'd7a0722155f835c915b08b6c93a9208d',
6
  'src/public/dist/193.pro.js' => 'd71177a05a4f8e8252c7a480e8a2842b',
7
- 'src/public/dist/289.pro.js' => '1b426cb24e119026b7c3b765615d9e61',
8
- 'src/public/dist/364.pro.js' => '8093ca644b38ffa5ab6838042957c4e0',
9
- 'src/public/dist/374.pro.js' => 'e610cbdea556281cd442ba662723a039',
10
- 'src/public/dist/411.lite.js' => '0b9dbd0c4ea1e5075a2826de3d3badac',
11
- 'src/public/dist/411.pro.js' => '281b774d7ece3ace8d5b982a21a637dd',
12
  'src/public/dist/440.lite.js' => '507b1d1d30a2155478e54f9c41e43d3b',
13
- 'src/public/dist/440.pro.js' => 'badf73a2c4dec1c055db004c0b24c6d3',
14
- 'src/public/dist/460.lite.js' => '89fb755fabab0da0445c86a41cad46cd',
15
- 'src/public/dist/547.lite.js' => '030380837587826d29b31ab8bbe67567',
16
- 'src/public/dist/547.pro.js' => 'c97dabe193de340eda432383b4259af5',
17
- 'src/public/dist/717.lite.js' => '3c7859adc16f938e087eb794be382d1e',
18
- 'src/public/dist/717.pro.js' => '6d4d196df6482b00c12e89c8165d2406',
19
- 'src/public/dist/728.lite.js' => '68a96825de2ef34290003ba0ac5101a4',
20
- 'src/public/dist/728.pro.js' => '969665cf863f3355590c7ee8278ac41f',
21
- 'src/public/dist/784.lite.js' => '199157af3194f8fbced9b2806d93056a',
22
- 'src/public/dist/784.pro.js' => '1ca96cf317edbb57aa759f72aa4f9e51',
23
  'src/public/dist/795.lite.js' => 'f24c07d99365d028468d9a8eef40ca37',
24
  'src/public/dist/795.pro.js' => '0f2c5c70d9be03caab24126e536c3c3d',
25
  'src/public/dist/813.lite.js' => 'aab23dc65e1b86ccd60890e0ae75643b',
26
  'src/public/dist/813.pro.js' => '1979b8d159be528e4e2d3683f197dc44',
 
27
  'src/public/dist/914.lite.js' => 'e58092e06d5f33173282b43d04705d56',
28
  'src/public/dist/914.pro.js' => '182de60076ce6b7f80084a25543f0e63',
29
  'src/public/dist/930.lite.js' => 'aebeaed94b7d7b94c30efbfdafa70863',
30
  'src/public/dist/930.pro.js' => '757d70b559d754597000612bed3f870b',
31
  'src/public/dist/954.lite.js' => 'ee2cda44e2cd4c19a1f7288055efa5d0',
32
  'src/public/dist/954.pro.js' => 'c39fe799c52c7690d66633725671963f',
33
- 'src/public/dist/admin.lite.js' => '731d585f53213fef67aaf8dca340a911',
34
- 'src/public/dist/admin.pro.js' => 'ce4c6ded6f87e7ba340984a191549c08',
35
- 'src/public/dist/banner_tcf.pro.js' => '29cbefe65f2db04d4bbf0c44bc36c585',
36
- 'src/public/dist/banner.lite.js' => 'f7750a86e21ed17e0fb59bbba13eea0d',
37
- 'src/public/dist/banner.pro.js' => '3d66e395cc0c079acb6934b4678ff628',
38
- 'src/public/dist/blocker_tcf.pro.js' => '2ea066ace2dcac5cb4c65db5f4d404cd',
39
- 'src/public/dist/blocker.lite.js' => 'b4f6e332c1e0436fa9d579e57f7ea5b8',
40
- 'src/public/dist/blocker.pro.js' => '2f7320b97eccb0d7d1ef073e5d1f6735',
41
- 'src/public/dist/chunk-config-tab-blocker.lite.js' => 'f82ae0b32df6e21d6edb3de7c37797ac',
42
- 'src/public/dist/chunk-config-tab-blocker.pro.js' => 'ba1a735cee39a5fb984ff06b153f903f',
43
- 'src/public/dist/chunk-config-tab-consent.lite.js' => '17283dff7c5aab9caa9c75bb9b46722c',
44
- 'src/public/dist/chunk-config-tab-consent.pro.js' => 'c51b662b74a0610aca83f3d55ba9ceeb',
45
- 'src/public/dist/chunk-config-tab-cookies.lite.js' => '0727a8e083062a228e5298a22ccb6f5b',
46
- 'src/public/dist/chunk-config-tab-cookies.pro.js' => 'ea9275d59415d872a3dfa06788cc0bb6',
47
- 'src/public/dist/chunk-config-tab-dashboard.lite.js' => 'e7c23736210fad73543f7a79609385b6',
48
- 'src/public/dist/chunk-config-tab-dashboard.pro.js' => 'c0db578b5ee979aa8d71d4946183e20e',
49
- 'src/public/dist/chunk-config-tab-import.lite.js' => 'a4701b781883f23b497c465f77c92f0a',
50
- 'src/public/dist/chunk-config-tab-import.pro.js' => 'c402d8c01a8d59adb4f18efc40bf502d',
51
- 'src/public/dist/chunk-config-tab-licensing.lite.js' => '4c41986a1da8b86d09733321d87c1eac',
52
- 'src/public/dist/chunk-config-tab-licensing.pro.js' => '3f15623fdd795c8bc079b0280303c988',
53
- 'src/public/dist/chunk-config-tab-scanner.lite.js' => '55d44bc6849107d95f0698f188b2318a',
54
- 'src/public/dist/chunk-config-tab-scanner.pro.js' => '6632501d09363c17da994c27e4b7e080',
55
- 'src/public/dist/chunk-config-tab-settings.lite.js' => 'd16612008d11159de3a82a0af43f1c53',
56
- 'src/public/dist/chunk-config-tab-settings.pro.js' => '2da4132c9d71361e599445ca0a1f82ec',
57
- 'src/public/dist/chunk-config-tab-tcf.lite.js' => 'a07c8143e107581520f363ea3d419407',
58
- 'src/public/dist/chunk-config-tab-tcf.pro.js' => '03a71b5ebdb398790b4b894063d6887e',
59
- 'src/public/dist/customize_banner.lite.js' => '832cfbf29c3ffcb819b7f40a6daac08c',
60
- 'src/public/dist/customize_banner.pro.js' => 'e219b502974b40fae0dd8b1951a5a3b1',
61
- 'src/public/dist/customize.lite.js' => 'b54b829ded6ae54f54b8991c01d13efb',
62
- 'src/public/dist/customize.pro.js' => 'c48d2e0e6c584e1a53ff78e2c1d2719d',
63
- 'src/public/dist/queue.lite.js' => 'f60dda9c9523706a0da543a490f9e144',
64
- 'src/public/dist/queue.pro.js' => '5ec54379f05dd957183036c3de43666b',
65
- 'src/public/dist/vendor-admin.lite.js' => '82fb17c010c4bab211b9ddaf7b4798e2',
66
- 'src/public/dist/vendor-admin.pro.js' => 'fab5160d324f4a4c8c58959a67f7c483',
67
- 'src/public/dist/vendor-banner_tcf.pro.js' => '881a7588d1d046ed9d37581e0bf43c37',
68
- 'src/public/dist/vendor-banner.lite.js' => '62129f980213359ac260ac5b1c6abcce',
69
- 'src/public/dist/vendor-banner.pro.js' => '6d8907d53228cd642f894b67a39f8306',
70
- 'src/public/dist/vendor-customize_banner.lite.js' => '81772775f9f7f1288efbc77d03be2bcc',
71
- 'src/public/dist/vendor-customize_banner.pro.js' => '95d5ebacf9509419c27dd7d6bca1bfd4',
72
- 'src/public/dist/vendor-customize.lite.js' => 'a9286d85f30eed31832d6665422ce291',
73
  'src/public/dist/vendor-customize.pro.js' => '6f37a40af6d37ad3812f6a14d0ff670d',
74
  'src/public/dist/vendor-queue.lite.js' => 'b72bded98fc236932c39620d16d7780e',
75
  'src/public/dist/vendor-queue.pro.js' => 'b72bded98fc236932c39620d16d7780e',
76
- 'src/public/dist/admin.css' => '41f54422350df159f1eed5fb882a91b7',
77
- 'src/public/dist/customize.css' => 'b432152827704e68c6955c512c2570d6'
78
  ];
1
  <?php
2
+ /* This file was automatically generated (Wed Apr 20 2022 09:49:40 GMT+0000 (Coordinated Universal Time)). */
3
  return [
4
+ 'src/public/dist/191.lite.js' => 'c8d9caaa5dd4fd398861a92306f27543',
5
+ 'src/public/dist/191.pro.js' => '2e2ee3ab225ba72f8877368f2db4b893',
6
  'src/public/dist/193.lite.js' => 'd7a0722155f835c915b08b6c93a9208d',
7
  'src/public/dist/193.pro.js' => 'd71177a05a4f8e8252c7a480e8a2842b',
8
+ 'src/public/dist/354.lite.js' => 'd85d77cd6c5b5ac9542f48ef0ac5cd96',
9
+ 'src/public/dist/354.pro.js' => '1e21d38c8d4edd1a1b780ffd50faf986',
10
+ 'src/public/dist/41.pro.js' => 'd288279121d5ad02e3d892d657aa331e',
 
 
11
  'src/public/dist/440.lite.js' => '507b1d1d30a2155478e54f9c41e43d3b',
12
+ 'src/public/dist/440.pro.js' => 'be0305e357c4bec403a16175006c8fd8',
13
+ 'src/public/dist/472.pro.js' => 'a1855f174db45a591510ec767a2e2104',
14
+ 'src/public/dist/548.lite.js' => '06bd41dc58edb8745638706ed5a4b7b3',
15
+ 'src/public/dist/641.pro.js' => '301f039aaffaebf49794c72d81cd0cca',
16
+ 'src/public/dist/716.lite.js' => '2387b139748accec44017fa5ed1ed3e3',
17
+ 'src/public/dist/716.pro.js' => 'a93d630f29e6762defcf6f97e9896223',
18
+ 'src/public/dist/756.lite.js' => 'a33fd915f84e6f8be48f0e54138e39f2',
19
+ 'src/public/dist/756.pro.js' => '0f18eab40b089c103d9f598326bcdf15',
20
+ 'src/public/dist/789.lite.js' => '841ad5e00acc22c419ca3c1c13bb0839',
21
+ 'src/public/dist/789.pro.js' => '5e3f7cb366e90e0d0988204f52363160',
22
  'src/public/dist/795.lite.js' => 'f24c07d99365d028468d9a8eef40ca37',
23
  'src/public/dist/795.pro.js' => '0f2c5c70d9be03caab24126e536c3c3d',
24
  'src/public/dist/813.lite.js' => 'aab23dc65e1b86ccd60890e0ae75643b',
25
  'src/public/dist/813.pro.js' => '1979b8d159be528e4e2d3683f197dc44',
26
+ 'src/public/dist/826.lite.js' => '3bc881855215a625d93f2525804b4ca8',
27
  'src/public/dist/914.lite.js' => 'e58092e06d5f33173282b43d04705d56',
28
  'src/public/dist/914.pro.js' => '182de60076ce6b7f80084a25543f0e63',
29
  'src/public/dist/930.lite.js' => 'aebeaed94b7d7b94c30efbfdafa70863',
30
  'src/public/dist/930.pro.js' => '757d70b559d754597000612bed3f870b',
31
  'src/public/dist/954.lite.js' => 'ee2cda44e2cd4c19a1f7288055efa5d0',
32
  'src/public/dist/954.pro.js' => 'c39fe799c52c7690d66633725671963f',
33
+ 'src/public/dist/admin.lite.js' => 'a4610c6d6bb2a3586507e23f5d149c8a',
34
+ 'src/public/dist/admin.pro.js' => '99903b35acc8ecefb7396ec5cc9171de',
35
+ 'src/public/dist/banner_tcf.pro.js' => 'ad8ba8b02b3df0c3f5a3aa131b976ed3',
36
+ 'src/public/dist/banner.lite.js' => 'e311c6569f2447425f3bcc44eb6c567c',
37
+ 'src/public/dist/banner.pro.js' => '3e1de7043caba826599579baf17efb89',
38
+ 'src/public/dist/blocker_tcf.pro.js' => '4800618046c99993909b21a1774d2283',
39
+ 'src/public/dist/blocker.lite.js' => 'd2f40e2af216bfec85af0454dd8bdda7',
40
+ 'src/public/dist/blocker.pro.js' => '070ac7b7092b03721fe75e1e2ff76048',
41
+ 'src/public/dist/chunk-config-tab-blocker.lite.js' => 'a91d327211ca5e165107f4158a9da752',
42
+ 'src/public/dist/chunk-config-tab-blocker.pro.js' => '01a54b916148e4a884a14dcea0d5463d',
43
+ 'src/public/dist/chunk-config-tab-consent.lite.js' => 'cb9d261cdd16ae1a0d65d6aedd541537',
44
+ 'src/public/dist/chunk-config-tab-consent.pro.js' => '85538d05b3e2ba32e6dcfdcc2084175b',
45
+ 'src/public/dist/chunk-config-tab-cookies.lite.js' => '7c850caa4abff62adaa29cb09319a2e0',
46
+ 'src/public/dist/chunk-config-tab-cookies.pro.js' => '6fcfa4980fcbb24f43839ad854073f00',
47
+ 'src/public/dist/chunk-config-tab-dashboard.lite.js' => '6e34efea4643d7067e241b47350ee3a9',
48
+ 'src/public/dist/chunk-config-tab-dashboard.pro.js' => 'a9b7999e7de65f1c0ce933e103b55a50',
49
+ 'src/public/dist/chunk-config-tab-import.lite.js' => '7e4e7565430ef7682cca1e5a93fc8a17',
50
+ 'src/public/dist/chunk-config-tab-import.pro.js' => '9b94417d6b44b13076fd7a45dfe2258b',
51
+ 'src/public/dist/chunk-config-tab-licensing.lite.js' => 'd067d953c15862551557e56832b5fa3b',
52
+ 'src/public/dist/chunk-config-tab-licensing.pro.js' => '6e06671a101e2c9e08e33c05f7952950',
53
+ 'src/public/dist/chunk-config-tab-scanner.lite.js' => '1560805869186588d4d28f4bab9ffc87',
54
+ 'src/public/dist/chunk-config-tab-scanner.pro.js' => '3df7f1ab1e88b1eb1772f3e0f5d33f66',
55
+ 'src/public/dist/chunk-config-tab-settings.lite.js' => '27daa49838620048b4091609e34bb4e3',
56
+ 'src/public/dist/chunk-config-tab-settings.pro.js' => '91cfc1ca70d8295a064e8b4e2c034cb0',
57
+ 'src/public/dist/chunk-config-tab-tcf.lite.js' => '6365310df181df3e606648c820281492',
58
+ 'src/public/dist/chunk-config-tab-tcf.pro.js' => 'e1c180231e480c84449cd51dcac15d54',
59
+ 'src/public/dist/customize_banner.lite.js' => 'dcb6ed37eb114e3483f897896b3ad1a5',
60
+ 'src/public/dist/customize_banner.pro.js' => '580ec883868fc8c9b67881293d05be6e',
61
+ 'src/public/dist/customize.lite.js' => '05d74189554997b77f7049af1fa8619e',
62
+ 'src/public/dist/customize.pro.js' => 'bce84f6f966d8297db027082a13b4de7',
63
+ 'src/public/dist/queue.lite.js' => '7b9c552c5049e1b529155a7c01b25aef',
64
+ 'src/public/dist/queue.pro.js' => '352f65e78294e1be38b2cc3a8c9f4a8e',
65
+ 'src/public/dist/vendor-admin.lite.js' => '520d0b5cb0501c7a48700db80da69ead',
66
+ 'src/public/dist/vendor-admin.pro.js' => '0c965e27d0e50373e2352d327be87275',
67
+ 'src/public/dist/vendor-banner_tcf.pro.js' => '5f087cf149b75526844e11e03ba7ca32',
68
+ 'src/public/dist/vendor-banner.lite.js' => '9d21941f8683c473e4fad7ce9737b540',
69
+ 'src/public/dist/vendor-banner.pro.js' => '7a72278ea147e6c777ef2c21d441214d',
70
+ 'src/public/dist/vendor-customize_banner.lite.js' => '9d8984db62a2df44c4fe5d4ceeca140f',
71
+ 'src/public/dist/vendor-customize_banner.pro.js' => 'ad3ba42ca4430080baba43526ce054ea',
72
+ 'src/public/dist/vendor-customize.lite.js' => 'ff04de972ee40e7669c8859c05465529',
73
  'src/public/dist/vendor-customize.pro.js' => '6f37a40af6d37ad3812f6a14d0ff670d',
74
  'src/public/dist/vendor-queue.lite.js' => 'b72bded98fc236932c39620d16d7780e',
75
  'src/public/dist/vendor-queue.pro.js' => 'b72bded98fc236932c39620d16d7780e',
76
+ 'src/public/dist/admin.css' => '80138025b52ea88ade1dba28bccf90e1',
77
+ 'src/public/dist/customize.css' => 'e0fa92a4143092e1700e00cc35b5c8fc'
78
  ];
inc/import/Export.php CHANGED
@@ -213,6 +213,9 @@ class Export {
213
  }
214
  }
215
  }
 
 
 
216
  $result[] = $rowResult;
217
  }
218
  return $result;
213
  }
214
  }
215
  }
216
+ if (isset($rowResult['metas']['visualThumbnail'])) {
217
+ unset($rowResult['metas']['visualThumbnail']);
218
+ }
219
  $result[] = $rowResult;
220
  }
221
  return $result;
inc/import/ImportBlocker.php CHANGED
@@ -37,6 +37,7 @@ trait ImportBlocker {
37
  $post_title = $blocker['post_title'];
38
  $countAllAssociations = 0;
39
  $associatedCount = 0;
 
40
  if (\is_array($metas)) {
41
  // Fix meta: hosts
42
  if (isset($metas['hosts']) && \is_array($metas['hosts'])) {
@@ -64,6 +65,10 @@ trait ImportBlocker {
64
  $associatedCount += \count($metas['cookies']);
65
  $metas['cookies'] = \join(',', $metas['cookies']);
66
  }
 
 
 
 
67
  }
68
  // Find current blocker with same post_name
69
  $found = \false;
@@ -112,6 +117,9 @@ trait ImportBlocker {
112
  }
113
  $this->probablyAddMessageDuplicateBlocker($found, $post_name, $found['ID'], $create);
114
  $this->probablyAddMessageBlockerAssociation($countAllAssociations, $associatedCount, $post_title, $create);
 
 
 
115
  }
116
  }
117
  /**
37
  $post_title = $blocker['post_title'];
38
  $countAllAssociations = 0;
39
  $associatedCount = 0;
40
+ $showPreviewImageMediaLibraryMessage = \false;
41
  if (\is_array($metas)) {
42
  // Fix meta: hosts
43
  if (isset($metas['hosts']) && \is_array($metas['hosts'])) {
65
  $associatedCount += \count($metas['cookies']);
66
  $metas['cookies'] = \join(',', $metas['cookies']);
67
  }
68
+ if (isset($metas[\DevOwl\RealCookieBanner\settings\Blocker::META_NAME_VISUAL_MEDIA_THUMBNAIL])) {
69
+ $showPreviewImageMediaLibraryMessage = \true;
70
+ unset($metas[\DevOwl\RealCookieBanner\settings\Blocker::META_NAME_VISUAL_MEDIA_THUMBNAIL]);
71
+ }
72
  }
73
  // Find current blocker with same post_name
74
  $found = \false;
117
  }
118
  $this->probablyAddMessageDuplicateBlocker($found, $post_name, $found['ID'], $create);
119
  $this->probablyAddMessageBlockerAssociation($countAllAssociations, $associatedCount, $post_title, $create);
120
+ if ($showPreviewImageMediaLibraryMessage) {
121
+ $this->addMessageBlockerVisualMediaThumbnail($post_title, $create);
122
+ }
123
  }
124
  }
125
  /**
inc/import/ImportMessages.php CHANGED
@@ -2,6 +2,7 @@
2
 
3
  namespace DevOwl\RealCookieBanner\import;
4
 
 
5
  use DevOwl\RealCookieBanner\settings\CookieGroup;
6
  use DevOwl\RealCookieBanner\view\customize\banner\HeaderDesign;
7
  use WP_Error;
@@ -110,6 +111,27 @@ trait ImportMessages {
110
  );
111
  }
112
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113
  /**
114
  * The cookie got not created because already exists.
115
  *
2
 
3
  namespace DevOwl\RealCookieBanner\import;
4
 
5
+ use DevOwl\RealCookieBanner\settings\Blocker;
6
  use DevOwl\RealCookieBanner\settings\CookieGroup;
7
  use DevOwl\RealCookieBanner\view\customize\banner\HeaderDesign;
8
  use WP_Error;
111
  );
112
  }
113
  }
114
+ /**
115
+ * Add message for blocker with configured media library item
116
+ *
117
+ * @param string $post_title
118
+ * @param int $blockerId
119
+ */
120
+ protected function addMessageBlockerVisualMediaThumbnail($post_title, $blockerId) {
121
+ $this->addMessage(
122
+ \sprintf(
123
+ // translators:
124
+ __(
125
+ 'The newly created content blocker <code>%s</code> could not set the preview image because it refers to a media item within your media library (ID)',
126
+ RCB_TD
127
+ ),
128
+ $post_title
129
+ ),
130
+ 'warning',
131
+ 'blocker',
132
+ ['blocker' => $blockerId]
133
+ );
134
+ }
135
  /**
136
  * The cookie got not created because already exists.
137
  *
inc/overrides/interfce/settings/IOverrideBlocker.php ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace DevOwl\RealCookieBanner\overrides\interfce\settings;
4
+
5
+ use WP_Post;
6
+ // @codeCoverageIgnoreStart
7
+ \defined('ABSPATH') or die('No script kiddies please!');
8
+ // Avoid direct file request
9
+ // @codeCoverageIgnoreEnd
10
+ interface IOverrideBlocker {
11
+ /**
12
+ * Cast data for `getOrdered` metadata.
13
+ *
14
+ * @param WP_Post $post
15
+ * @param array $meta
16
+ */
17
+ public function overrideGetOrderedCastMeta($post, &$meta);
18
+ }
inc/overrides/lite/settings/Blocker.php ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace DevOwl\RealCookieBanner\lite\settings;
4
+
5
+ // @codeCoverageIgnoreStart
6
+ \defined('ABSPATH') or die('No script kiddies please!');
7
+ // Avoid direct file request
8
+ // @codeCoverageIgnoreEnd
9
+ trait Blocker {
10
+ // Documented in IOverrideBlocker
11
+ public function overrideGetOrderedCastMeta($post, &$meta) {
12
+ // Silence is golden.
13
+ }
14
+ }
inc/overrides/lite/view/blocker/ImagePreviewBlockableTrait.php ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace DevOwl\RealCookieBanner\lite\view\blocker;
4
+
5
+ use DevOwl\RealCookieBanner\Vendor\DevOwl\FastHtmlTag\finder\match\AbstractMatch;
6
+ use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\BlockedResult;
7
+ // @codeCoverageIgnoreStart
8
+ \defined('ABSPATH') or die('No script kiddies please!');
9
+ // Avoid direct file request
10
+ // @codeCoverageIgnoreEnd
11
+ /**
12
+ * Implementation for `ImagePreviewBlockable`.
13
+ */
14
+ trait ImagePreviewBlockableTrait {
15
+ /**
16
+ * See `ImagePreviewBlockable`.
17
+ *
18
+ * @param string $url
19
+ * @param BlockedResult $result
20
+ * @param AbstractMatch $match
21
+ * @return boolean
22
+ */
23
+ public function downloadImagePreviewFor($url, $result, $match) {
24
+ return \false;
25
+ }
26
+ }
inc/overrides/lite/view/blocker/index.php ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace DevOwl\RealCookieBanner\Vendor;
4
+
5
+ // Silence is golden.
inc/presets/free/blocker/GravatarPreset.php CHANGED
@@ -25,7 +25,7 @@ class GravatarPreset extends \DevOwl\RealCookieBanner\presets\AbstractBlockerPre
25
  'logoFile' => \DevOwl\RealCookieBanner\Core::getInstance()->getBaseAssetsUrl('logos/gravatar.png'),
26
  'attributes' => [
27
  'name' => $name,
28
- 'hosts' => ['*gravatar.com/avatar*'],
29
  'cookies' => [\DevOwl\RealCookieBanner\presets\free\GravatarPreset::IDENTIFIER],
30
  'visual' => \false
31
  ]
25
  'logoFile' => \DevOwl\RealCookieBanner\Core::getInstance()->getBaseAssetsUrl('logos/gravatar.png'),
26
  'attributes' => [
27
  'name' => $name,
28
+ 'hosts' => ['*gravatar.com/avatar*', '*.gravatar.com'],
29
  'cookies' => [\DevOwl\RealCookieBanner\presets\free\GravatarPreset::IDENTIFIER],
30
  'visual' => \false
31
  ]
inc/presets/free/blocker/JetPackCommentsPreset.php CHANGED
@@ -33,7 +33,10 @@ class JetPackCommentsPreset extends \DevOwl\RealCookieBanner\presets\AbstractBlo
33
  \DevOwl\RealCookieBanner\comp\language\Hooks::TD_FORCED
34
  ),
35
  'hosts' => ['jetpack_remote_comment', 'iframe[class="jetpack_remote_comment"]'],
36
- 'cookies' => [\DevOwl\RealCookieBanner\presets\free\JetPackCommentsPreset::IDENTIFIER]
 
 
 
37
  ]
38
  ];
39
  }
33
  \DevOwl\RealCookieBanner\comp\language\Hooks::TD_FORCED
34
  ),
35
  'hosts' => ['jetpack_remote_comment', 'iframe[class="jetpack_remote_comment"]'],
36
+ 'cookies' => [\DevOwl\RealCookieBanner\presets\free\JetPackCommentsPreset::IDENTIFIER],
37
+ 'visual' => \true,
38
+ 'visualType' => 'hero',
39
+ 'visualContentType' => 'feed-text'
40
  ]
41
  ];
42
  }
inc/presets/free/blocker/YoutubePreset.php CHANGED
@@ -41,7 +41,7 @@ class YoutubePreset extends \DevOwl\RealCookieBanner\presets\AbstractBlockerPres
41
  // [Plugin Comp] tagDiv Composer
42
  'div[class*="td_wrapper_playlist_player_youtube"]',
43
  // [Plugin Comp] https://wordpress.org/plugins/wp-youtube-lyte/
44
- 'wp-content/plugins/wp-youtube-lyte/lyte/lyte-min.js*',
45
  // [Plugin Comp] https://wordpress.org/plugins/youtube-embed-plus/
46
  '*wp-content/plugins/youtube-embed-plus/scripts/*',
47
  '*wp-content/plugins/youtube-embed-plus-pro/scripts/*',
@@ -51,7 +51,10 @@ class YoutubePreset extends \DevOwl\RealCookieBanner\presets\AbstractBlockerPres
51
  // [Plugin Comp] https://wordpress.org/plugins/wp-video-lightbox/
52
  'a[href*="youtube.com"][rel="wp-video-lightbox"]'
53
  ],
54
- 'cookies' => [\DevOwl\RealCookieBanner\presets\free\YoutubePreset::IDENTIFIER]
 
 
 
55
  ]
56
  ];
57
  }
41
  // [Plugin Comp] tagDiv Composer
42
  'div[class*="td_wrapper_playlist_player_youtube"]',
43
  // [Plugin Comp] https://wordpress.org/plugins/wp-youtube-lyte/
44
+ '*wp-content/plugins/wp-youtube-lyte/lyte/lyte-min.js*',
45
  // [Plugin Comp] https://wordpress.org/plugins/youtube-embed-plus/
46
  '*wp-content/plugins/youtube-embed-plus/scripts/*',
47
  '*wp-content/plugins/youtube-embed-plus-pro/scripts/*',
51
  // [Plugin Comp] https://wordpress.org/plugins/wp-video-lightbox/
52
  'a[href*="youtube.com"][rel="wp-video-lightbox"]'
53
  ],
54
+ 'cookies' => [\DevOwl\RealCookieBanner\presets\free\YoutubePreset::IDENTIFIER],
55
+ 'visual' => \true,
56
+ 'visualType' => 'hero',
57
+ 'visualContentType' => 'video-player'
58
  ]
59
  ];
60
  }
inc/presets/middleware/BlockerContentTypeButtonTextMiddleware.php ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace DevOwl\RealCookieBanner\presets\middleware;
4
+
5
+ use DevOwl\RealCookieBanner\comp\language\Hooks;
6
+ use DevOwl\RealCookieBanner\presets\AbstractBlockerPreset;
7
+ use DevOwl\RealCookieBanner\presets\AbstractCookiePreset;
8
+ use DevOwl\RealCookieBanner\settings\Blocker;
9
+ use WP_Post;
10
+ // @codeCoverageIgnoreStart
11
+ \defined('ABSPATH') or die('No script kiddies please!');
12
+ // Avoid direct file request
13
+ // @codeCoverageIgnoreEnd
14
+ /**
15
+ * Middleware that provides button text for specific content types.
16
+ */
17
+ class BlockerContentTypeButtonTextMiddleware {
18
+ /**
19
+ * See class description.
20
+ *
21
+ * @param array $preset
22
+ * @param AbstractBlockerPreset|AbstractCookiePreset $unused0
23
+ * @param WP_Post[] $unused1
24
+ * @param WP_Post[] $unused2
25
+ * @param array $result
26
+ */
27
+ public function middleware(&$preset, $unused0, $unused1, $unused2, &$result) {
28
+ if (isset($preset['attributes'])) {
29
+ $buttonText = __('Load content', \DevOwl\RealCookieBanner\comp\language\Hooks::TD_FORCED);
30
+ $contentType =
31
+ $preset['attributes'][\DevOwl\RealCookieBanner\settings\Blocker::META_NAME_VISUAL_CONTENT_TYPE] ?? null;
32
+ if (\in_array($contentType, ['video-player', 'audio-player'], \true)) {
33
+ $buttonText = null;
34
+ } elseif ($contentType === 'map') {
35
+ $buttonText = __('Load map', \DevOwl\RealCookieBanner\comp\language\Hooks::TD_FORCED);
36
+ }
37
+ if (!empty($buttonText)) {
38
+ $preset['attributes'][
39
+ \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_VISUAL_HERO_BUTTON_TEXT
40
+ ] = $buttonText;
41
+ }
42
+ }
43
+ return $preset;
44
+ }
45
+ }
inc/presets/middleware/BlockerDisableProFeaturesInFreeMiddleware.php ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace DevOwl\RealCookieBanner\presets\middleware;
4
+
5
+ use DevOwl\RealCookieBanner\base\UtilsProvider;
6
+ // @codeCoverageIgnoreStart
7
+ \defined('ABSPATH') or die('No script kiddies please!');
8
+ // Avoid direct file request
9
+ // @codeCoverageIgnoreEnd
10
+ /**
11
+ * Middleware to remove some `attributes` in free content blocker presets which are only available in PRO.
12
+ */
13
+ class BlockerDisableProFeaturesInFreeMiddleware {
14
+ use UtilsProvider;
15
+ /**
16
+ * See class description.
17
+ *
18
+ * @param array $preset
19
+ */
20
+ public function middleware(&$preset) {
21
+ if (!$this->isPro() && isset($preset['attributes'])) {
22
+ if (isset($preset['attributes']['visualType'])) {
23
+ unset($preset['attributes']['visualType']);
24
+ }
25
+ }
26
+ return $preset;
27
+ }
28
+ }
inc/presets/pro/blocker/AnchorFmPreset.php CHANGED
@@ -22,7 +22,7 @@ class AnchorFmPreset extends \DevOwl\RealCookieBanner\presets\AbstractBlockerPre
22
  'id' => self::IDENTIFIER,
23
  'version' => self::VERSION,
24
  'name' => $name,
25
- 'attributes' => ['hosts' => ['*anchor.fm/*/embed/*']],
26
  'logoFile' => \DevOwl\RealCookieBanner\Core::getInstance()->getBaseAssetsUrl('logos/anchor-fm.png')
27
  ];
28
  }
22
  'id' => self::IDENTIFIER,
23
  'version' => self::VERSION,
24
  'name' => $name,
25
+ 'attributes' => ['hosts' => ['*anchor.fm/*/embed/*', '*anchor.fm/*/embed']],
26
  'logoFile' => \DevOwl\RealCookieBanner\Core::getInstance()->getBaseAssetsUrl('logos/anchor-fm.png')
27
  ];
28
  }
inc/presets/pro/blocker/GoogleMapsPreset.php CHANGED
@@ -111,7 +111,9 @@ class GoogleMapsPreset extends \DevOwl\RealCookieBanner\presets\AbstractBlockerP
111
  'div[class="hmapsprem_map_container"]',
112
  '*/wp-content/plugins/hmapsprem/assets/js/frontend_script.js*',
113
  // [Plugin Comp] Advanced Maps (Jet Elements)
114
- 'div[class*="jet-map"]'
 
 
115
  ]
116
  ],
117
  'logoFile' => \DevOwl\RealCookieBanner\Core::getInstance()->getBaseAssetsUrl('logos/google-maps.png')
111
  'div[class="hmapsprem_map_container"]',
112
  '*/wp-content/plugins/hmapsprem/assets/js/frontend_script.js*',
113
  // [Plugin Comp] Advanced Maps (Jet Elements)
114
+ 'div[class*="jet-map"]',
115
+ // [Plugin Comp] https://gravitygeolocation.com/
116
+ 'div[class*="ginput_container_gfgeo_google_map"]'
117
  ]
118
  ],
119
  'logoFile' => \DevOwl\RealCookieBanner\Core::getInstance()->getBaseAssetsUrl('logos/google-maps.png')
inc/presets/pro/blocker/HappyFormsPreset.php CHANGED
@@ -43,7 +43,7 @@ class HappyFormsPreset extends \DevOwl\RealCookieBanner\presets\AbstractBlockerP
43
  ]
44
  ],
45
  [
46
- 'div[class*="happyforms-form"]"',
47
  [
48
  \DevOwl\RealCookieBanner\presets\middleware\BlockerHostsOptionsMiddleware::LOGICAL_MUST =>
49
  self::IDENTIFIER
@@ -56,8 +56,16 @@ class HappyFormsPreset extends \DevOwl\RealCookieBanner\presets\AbstractBlockerP
56
  self::IDENTIFIER
57
  ]
58
  ],
 
59
  [
60
- '/wp-content/plugins/happyforms/inc/assets/js/frontend*',
 
 
 
 
 
 
 
61
  [
62
  \DevOwl\RealCookieBanner\presets\middleware\BlockerHostsOptionsMiddleware::LOGICAL_MUST =>
63
  self::IDENTIFIER
43
  ]
44
  ],
45
  [
46
+ 'div[class*="happyforms-form"]',
47
  [
48
  \DevOwl\RealCookieBanner\presets\middleware\BlockerHostsOptionsMiddleware::LOGICAL_MUST =>
49
  self::IDENTIFIER
56
  self::IDENTIFIER
57
  ]
58
  ],
59
+ // Newer version
60
  [
61
+ '*/wp-content/plugins/happyforms-upgrade/bundles/js/frontend*',
62
+ [
63
+ \DevOwl\RealCookieBanner\presets\middleware\BlockerHostsOptionsMiddleware::LOGICAL_MUST =>
64
+ self::IDENTIFIER
65
+ ]
66
+ ],
67
+ [
68
+ '*/wp-content/plugins/happyforms/inc/assets/js/frontend*',
69
  [
70
  \DevOwl\RealCookieBanner\presets\middleware\BlockerHostsOptionsMiddleware::LOGICAL_MUST =>
71
  self::IDENTIFIER
inc/presets/pro/blocker/PodigeePreset.php CHANGED
@@ -22,7 +22,14 @@ class PodigeePreset extends \DevOwl\RealCookieBanner\presets\AbstractBlockerPres
22
  'id' => self::IDENTIFIER,
23
  'version' => self::VERSION,
24
  'name' => $name,
25
- 'attributes' => ['hosts' => ['*player.podigee-cdn.net*', 'script[data-configuration*="podigee.io"]']],
 
 
 
 
 
 
 
26
  'logoFile' => \DevOwl\RealCookieBanner\Core::getInstance()->getBaseAssetsUrl('logos/podigee.png')
27
  ];
28
  }
22
  'id' => self::IDENTIFIER,
23
  'version' => self::VERSION,
24
  'name' => $name,
25
+ 'attributes' => [
26
+ 'hosts' => [
27
+ '*player.podigee-cdn.net*',
28
+ 'script[data-configuration*="podigee.io"]',
29
+ '*.podigee.io/*/embed*',
30
+ '*podigee.io/embed*'
31
+ ]
32
+ ],
33
  'logoFile' => \DevOwl\RealCookieBanner\Core::getInstance()->getBaseAssetsUrl('logos/podigee.png')
34
  ];
35
  }
inc/rest/Config.php CHANGED
@@ -12,6 +12,7 @@ use DevOwl\RealCookieBanner\settings\ModalHints;
12
  use DevOwl\RealCookieBanner\settings\Revision;
13
  use DevOwl\RealCookieBanner\view\Checklist;
14
  use DevOwl\RealCookieBanner\view\ConfigPage;
 
15
  use WP_Error;
16
  use WP_REST_Request;
17
  use WP_REST_Response;
@@ -105,6 +106,12 @@ class Config {
105
  'callback' => [$this, 'routeMigrationDelete'],
106
  'permission_callback' => [$this, 'permission_callback']
107
  ]);
 
 
 
 
 
 
108
  }
109
  /**
110
  * Check if user is allowed to call this service requests.
@@ -396,7 +403,7 @@ class Config {
396
  *
397
  * @param WP_REST_Request $request
398
  *
399
- * @api {post} /real-cookie-banner/v1/migration/:migration/ Dismiss a migration by migration ID
400
  * @apiParam {string} migration
401
  * @apiHeader {string} X-WP-Nonce
402
  * @apiName DismissMigration
@@ -410,6 +417,28 @@ class Config {
410
  );
411
  return new \WP_REST_Response(['success' => \true]);
412
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
413
  /**
414
  * Check if settings got updated and `do_action`.
415
  *
12
  use DevOwl\RealCookieBanner\settings\Revision;
13
  use DevOwl\RealCookieBanner\view\Checklist;
14
  use DevOwl\RealCookieBanner\view\ConfigPage;
15
+ use DevOwl\RealCookieBanner\view\navmenu\NavMenuLinks;
16
  use WP_Error;
17
  use WP_REST_Request;
18
  use WP_REST_Response;
106
  'callback' => [$this, 'routeMigrationDelete'],
107
  'permission_callback' => [$this, 'permission_callback']
108
  ]);
109
+ register_rest_route($namespace, '/nav-menu/add-links', [
110
+ 'methods' => 'POST',
111
+ 'callback' => [$this, 'routeNavMenuAddLinksPost'],
112
+ 'permission_callback' => [$this, 'permission_callback'],
113
+ 'args' => ['id' => ['type' => 'string', 'required' => \true]]
114
+ ]);
115
  }
116
  /**
117
  * Check if user is allowed to call this service requests.
403
  *
404
  * @param WP_REST_Request $request
405
  *
406
+ * @api {delete} /real-cookie-banner/v1/migration/:migration/ Dismiss a migration by migration ID
407
  * @apiParam {string} migration
408
  * @apiHeader {string} X-WP-Nonce
409
  * @apiName DismissMigration
417
  );
418
  return new \WP_REST_Response(['success' => \true]);
419
  }
420
+ /**
421
+ * See API docs.
422
+ *
423
+ * @param WP_REST_Request $request
424
+ *
425
+ * @api {post} /real-cookie-banner/v1//nav-menu/add-links Add
426
+ * @apiParam {string} id The ID for this navigation
427
+ * @apiHeader {string} X-WP-Nonce
428
+ * @apiName NavMenuAddLinks
429
+ * @apiGroup Config
430
+ * @apiPermission manage_options, PRO
431
+ * @apiVersion 1.0.0
432
+ */
433
+ public function routeNavMenuAddLinksPost($request) {
434
+ $result = \DevOwl\RealCookieBanner\view\navmenu\NavMenuLinks::instance()->addLinksToMenu(
435
+ $request->get_param('id')
436
+ );
437
+ if (is_wp_error($result)) {
438
+ return $result;
439
+ }
440
+ return new \WP_REST_Response(['success' => $result]);
441
+ }
442
  /**
443
  * Check if settings got updated and `do_action`.
444
  *
inc/rest/Consent.php CHANGED
@@ -102,6 +102,7 @@ class Consent {
102
  ],
103
  // Content Blocker ID
104
  'blocker' => ['type' => 'number', 'default' => 0],
 
105
  'viewPortWidth' => ['type' => 'number', 'default' => 0],
106
  'viewPortHeight' => ['type' => 'number', 'default' => 0],
107
  // TCF compatibility: encoded TCF string
@@ -273,6 +274,7 @@ class Consent {
273
  * @apiParam {number} [viewPortWidth=0]
274
  * @apiParam {number} [viewPortHeight=0]
275
  * @apiParam {number} [blocker=0]
 
276
  * @apiParam {string} [tcfString]
277
  * @apiName Create
278
  * @apiGroup Consent
@@ -285,6 +287,7 @@ class Consent {
285
  $viewPortHeight = $request->get_param('viewPortHeight');
286
  $tcfString = $request->get_param('tcfString');
287
  $blocker = $request->get_param('blocker');
 
288
  $referer = wp_get_raw_referer();
289
  if (\DevOwl\RealCookieBanner\IpHandler::getInstance()->isFlooding()) {
290
  return new \WP_Error('rest_rcb_forbidden');
@@ -297,6 +300,7 @@ class Consent {
297
  $viewPortHeight,
298
  $referer,
299
  $blocker,
 
300
  0,
301
  null,
302
  \false,
102
  ],
103
  // Content Blocker ID
104
  'blocker' => ['type' => 'number', 'default' => 0],
105
+ 'blockerThumbnail' => ['type' => 'string'],
106
  'viewPortWidth' => ['type' => 'number', 'default' => 0],
107
  'viewPortHeight' => ['type' => 'number', 'default' => 0],
108
  // TCF compatibility: encoded TCF string
274
  * @apiParam {number} [viewPortWidth=0]
275
  * @apiParam {number} [viewPortHeight=0]
276
  * @apiParam {number} [blocker=0]
277
+ * @apiParam {string} [blockerThumbnail]
278
  * @apiParam {string} [tcfString]
279
  * @apiName Create
280
  * @apiGroup Consent
287
  $viewPortHeight = $request->get_param('viewPortHeight');
288
  $tcfString = $request->get_param('tcfString');
289
  $blocker = $request->get_param('blocker');
290
+ $blockerThumbnail = $request->get_param('blockerThumbnail');
291
  $referer = wp_get_raw_referer();
292
  if (\DevOwl\RealCookieBanner\IpHandler::getInstance()->isFlooding()) {
293
  return new \WP_Error('rest_rcb_forbidden');
300
  $viewPortHeight,
301
  $referer,
302
  $blocker,
303
+ $blockerThumbnail,
304
  0,
305
  null,
306
  \false,
inc/rest/Scanner.php CHANGED
@@ -102,7 +102,7 @@ class Scanner {
102
  );
103
  $added = \DevOwl\RealCookieBanner\Core::getInstance()
104
  ->getScanner()
105
- ->addUrlsToQueue($urls, $request->get_param('purgeUnused'));
106
  return new \WP_REST_Response(['added' => $added]);
107
  }
108
  /**
102
  );
103
  $added = \DevOwl\RealCookieBanner\Core::getInstance()
104
  ->getScanner()
105
+ ->addUrlsToQueue(\array_unique($urls), $request->get_param('purgeUnused'));
106
  return new \WP_REST_Response(['added' => $added]);
107
  }
108
  /**
inc/settings/Blocker.php CHANGED
@@ -5,7 +5,9 @@ namespace DevOwl\RealCookieBanner\settings;
5
  use DevOwl\RealCookieBanner\base\UtilsProvider;
6
  use DevOwl\RealCookieBanner\Cache;
7
  use DevOwl\RealCookieBanner\Core;
 
8
  use DevOwl\RealCookieBanner\lite\settings\TcfVendorConfiguration;
 
9
  use WP_Error;
10
  use WP_Post;
11
  use WP_REST_Posts_Controller;
@@ -16,8 +18,9 @@ use WP_REST_Posts_Controller;
16
  /**
17
  * Register content blocker custom post type.
18
  */
19
- class Blocker {
20
  use UtilsProvider;
 
21
  const CPT_NAME = 'rcb-blocker';
22
  const META_NAME_PRESET_ID = 'presetId';
23
  const META_NAME_PRESET_VERSION = 'presetVersion';
@@ -26,24 +29,42 @@ class Blocker {
26
  const META_NAME_TCF_VENDORS = 'tcfVendors';
27
  const META_NAME_COOKIES = 'cookies';
28
  const META_NAME_VISUAL = 'visual';
 
 
 
 
 
 
 
29
  const META_NAME_FORCE_HIDDEN = 'forceHidden';
30
  const DEFAULT_CRITERIA = self::CRITERIA_COOKIES;
31
  const CRITERIA_COOKIES = 'cookies';
32
  const CRITERIA_TCF_VENDORS = 'tcfVendors';
33
- const SYNC_OPTIONS_COPY_AND_COPY_ONCE = [
 
 
 
 
34
  \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_HOSTS,
35
  \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_CRITERIA,
36
  \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_TCF_VENDORS,
37
  \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_COOKIES,
38
  \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_VISUAL,
 
 
 
 
 
 
39
  \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_FORCE_HIDDEN,
40
  \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_PRESET_ID,
41
  \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_PRESET_VERSION
42
  ];
 
43
  const SYNC_OPTIONS = [
44
  'meta' => [
45
- 'copy' => \DevOwl\RealCookieBanner\settings\Blocker::SYNC_OPTIONS_COPY_AND_COPY_ONCE,
46
- 'copy-once' => \DevOwl\RealCookieBanner\settings\Blocker::SYNC_OPTIONS_COPY_AND_COPY_ONCE
47
  ]
48
  ];
49
  const META_KEYS = [
@@ -52,6 +73,13 @@ class Blocker {
52
  \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_TCF_VENDORS,
53
  \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_COOKIES,
54
  \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_VISUAL,
 
 
 
 
 
 
 
55
  \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_FORCE_HIDDEN,
56
  \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_PRESET_ID
57
  ];
@@ -158,6 +186,55 @@ class Blocker {
158
  'single' => \true,
159
  'show_in_rest' => \true
160
  ]);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
161
  register_meta('post', self::META_NAME_FORCE_HIDDEN, [
162
  'object_subtype' => self::CPT_NAME,
163
  'type' => 'boolean',
@@ -316,6 +393,7 @@ class Blocker {
316
  }
317
  $post->metas[$meta_key] = $metaValue;
318
  }
 
319
  }
320
  if ($usePosts === null) {
321
  $this->cacheGetOrdered[$context] = $posts;
5
  use DevOwl\RealCookieBanner\base\UtilsProvider;
6
  use DevOwl\RealCookieBanner\Cache;
7
  use DevOwl\RealCookieBanner\Core;
8
+ use DevOwl\RealCookieBanner\lite\settings\Blocker as LiteBlocker;
9
  use DevOwl\RealCookieBanner\lite\settings\TcfVendorConfiguration;
10
+ use DevOwl\RealCookieBanner\overrides\interfce\settings\IOverrideBlocker;
11
  use WP_Error;
12
  use WP_Post;
13
  use WP_REST_Posts_Controller;
18
  /**
19
  * Register content blocker custom post type.
20
  */
21
+ class Blocker implements \DevOwl\RealCookieBanner\overrides\interfce\settings\IOverrideBlocker {
22
  use UtilsProvider;
23
+ use LiteBlocker;
24
  const CPT_NAME = 'rcb-blocker';
25
  const META_NAME_PRESET_ID = 'presetId';
26
  const META_NAME_PRESET_VERSION = 'presetVersion';
29
  const META_NAME_TCF_VENDORS = 'tcfVendors';
30
  const META_NAME_COOKIES = 'cookies';
31
  const META_NAME_VISUAL = 'visual';
32
+ const META_NAME_VISUAL_TYPE = 'visualType';
33
+ const META_NAME_VISUAL_MEDIA_THUMBNAIL = 'visualMediaThumbnail';
34
+ const META_NAME_VISUAL_CONTENT_TYPE = 'visualContentType';
35
+ const META_NAME_VISUAL_DARK_MODE = 'visualDarkMode';
36
+ const META_NAME_VISUAL_BLUR = 'visualBlur';
37
+ const META_NAME_VISUAL_DOWNLOAD_THUMBNAIL = 'visualDownloadThumbnail';
38
+ const META_NAME_VISUAL_HERO_BUTTON_TEXT = 'visualHeroButtonText';
39
  const META_NAME_FORCE_HIDDEN = 'forceHidden';
40
  const DEFAULT_CRITERIA = self::CRITERIA_COOKIES;
41
  const CRITERIA_COOKIES = 'cookies';
42
  const CRITERIA_TCF_VENDORS = 'tcfVendors';
43
+ const DEFAULT_VISUAL_TYPE = self::VISUAL_TYPE_DEFAULT;
44
+ const VISUAL_TYPE_DEFAULT = 'default';
45
+ const VISUAL_TYPE_WRAPPED = 'wrapped';
46
+ const VISUAL_TYPE_HERO = 'hero';
47
+ const SYNC_OPTIONS_COPY = [
48
  \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_HOSTS,
49
  \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_CRITERIA,
50
  \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_TCF_VENDORS,
51
  \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_COOKIES,
52
  \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_VISUAL,
53
+ \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_VISUAL_TYPE,
54
+ \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_VISUAL_MEDIA_THUMBNAIL,
55
+ \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_VISUAL_CONTENT_TYPE,
56
+ \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_VISUAL_DARK_MODE,
57
+ \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_VISUAL_BLUR,
58
+ \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_VISUAL_DOWNLOAD_THUMBNAIL,
59
  \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_FORCE_HIDDEN,
60
  \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_PRESET_ID,
61
  \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_PRESET_VERSION
62
  ];
63
+ const SYNC_OPTIONS_COPY_ONCE = [\DevOwl\RealCookieBanner\settings\Blocker::META_NAME_VISUAL_HERO_BUTTON_TEXT];
64
  const SYNC_OPTIONS = [
65
  'meta' => [
66
+ 'copy' => \DevOwl\RealCookieBanner\settings\Blocker::SYNC_OPTIONS_COPY,
67
+ 'copy-once' => \DevOwl\RealCookieBanner\settings\Blocker::SYNC_OPTIONS_COPY_ONCE
68
  ]
69
  ];
70
  const META_KEYS = [
73
  \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_TCF_VENDORS,
74
  \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_COOKIES,
75
  \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_VISUAL,
76
+ \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_VISUAL_TYPE,
77
+ \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_VISUAL_MEDIA_THUMBNAIL,
78
+ \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_VISUAL_CONTENT_TYPE,
79
+ \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_VISUAL_DARK_MODE,
80
+ \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_VISUAL_BLUR,
81
+ \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_VISUAL_DOWNLOAD_THUMBNAIL,
82
+ \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_VISUAL_HERO_BUTTON_TEXT,
83
  \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_FORCE_HIDDEN,
84
  \DevOwl\RealCookieBanner\settings\Blocker::META_NAME_PRESET_ID
85
  ];
186
  'single' => \true,
187
  'show_in_rest' => \true
188
  ]);
189
+ register_meta('post', self::META_NAME_VISUAL_TYPE, [
190
+ 'object_subtype' => self::CPT_NAME,
191
+ 'type' => 'string',
192
+ 'single' => \true,
193
+ 'show_in_rest' => \true,
194
+ 'default' => self::DEFAULT_VISUAL_TYPE
195
+ ]);
196
+ register_meta('post', self::META_NAME_VISUAL_MEDIA_THUMBNAIL, [
197
+ 'object_subtype' => self::CPT_NAME,
198
+ 'type' => 'number',
199
+ 'single' => \true,
200
+ 'show_in_rest' => \true,
201
+ 'default' => 0
202
+ ]);
203
+ register_meta('post', self::META_NAME_VISUAL_CONTENT_TYPE, [
204
+ 'object_subtype' => self::CPT_NAME,
205
+ 'type' => 'string',
206
+ 'single' => \true,
207
+ 'show_in_rest' => \true,
208
+ 'default' => ''
209
+ ]);
210
+ register_meta('post', self::META_NAME_VISUAL_DARK_MODE, [
211
+ 'object_subtype' => self::CPT_NAME,
212
+ 'type' => 'boolean',
213
+ 'single' => \true,
214
+ 'show_in_rest' => \true,
215
+ 'default' => \false
216
+ ]);
217
+ register_meta('post', self::META_NAME_VISUAL_BLUR, [
218
+ 'object_subtype' => self::CPT_NAME,
219
+ 'type' => 'number',
220
+ 'single' => \true,
221
+ 'show_in_rest' => \true,
222
+ 'default' => 0
223
+ ]);
224
+ register_meta('post', self::META_NAME_VISUAL_DOWNLOAD_THUMBNAIL, [
225
+ 'object_subtype' => self::CPT_NAME,
226
+ 'type' => 'boolean',
227
+ 'single' => \true,
228
+ 'show_in_rest' => \true,
229
+ 'default' => \false
230
+ ]);
231
+ register_meta('post', self::META_NAME_VISUAL_HERO_BUTTON_TEXT, [
232
+ 'object_subtype' => self::CPT_NAME,
233
+ 'type' => 'string',
234
+ 'single' => \true,
235
+ 'show_in_rest' => \true,
236
+ 'default' => ''
237
+ ]);
238
  register_meta('post', self::META_NAME_FORCE_HIDDEN, [
239
  'object_subtype' => self::CPT_NAME,
240
  'type' => 'boolean',
393
  }
394
  $post->metas[$meta_key] = $metaValue;
395
  }
396
+ $this->overrideGetOrderedCastMeta($post, $post->metas);
397
  }
398
  if ($usePosts === null) {
399
  $this->cacheGetOrdered[$context] = $posts;
inc/view/Banner.php CHANGED
@@ -89,14 +89,12 @@ class Banner {
89
  wp_safe_redirect(add_query_arg(self::ACTION_CLEAR_CURRENT_COOKIE, \false));
90
  exit();
91
  }
92
- $icon = \sprintf(
93
- '<span class="custom-icon" style="float:left;width:22px !important;height:22px !important;margin: 5px 5px 0 !important;background-image:url(\'%s\');"></span>',
94
- \DevOwl\RealCookieBanner\view\ConfigPage::getIconAsSvgBase64()
95
- );
96
- $title = __('Show cookie banner again', RCB_TD);
97
  $admin_bar->add_menu([
 
 
 
98
  'id' => self::ACTION_CLEAR_CURRENT_COOKIE,
99
- 'title' => $icon . $title,
100
  'href' => add_query_arg(self::ACTION_CLEAR_CURRENT_COOKIE, \true)
101
  ]);
102
  }
89
  wp_safe_redirect(add_query_arg(self::ACTION_CLEAR_CURRENT_COOKIE, \false));
90
  exit();
91
  }
 
 
 
 
 
92
  $admin_bar->add_menu([
93
+ 'parent' => \DevOwl\RealCookieBanner\Core::getInstance()
94
+ ->getConfigPage()
95
+ ->ensureAdminBarTopLevelNode(),
96
  'id' => self::ACTION_CLEAR_CURRENT_COOKIE,
97
+ 'title' => __('Show cookie banner again', RCB_TD),
98
  'href' => add_query_arg(self::ACTION_CLEAR_CURRENT_COOKIE, \true)
99
  ]);
100
  }
inc/view/Blocker.php CHANGED
@@ -41,6 +41,7 @@ class Blocker {
41
  * content, you need to pass the selector for this sidebar.
42
  */
43
  const DEPENDANT_VISIBILITY_CONTAINERS = [
 
44
  // [Plugin Comp] https://de.wordpress.org/plugins/wp-contact-slider/
45
  '.wpcs_content_inner',
46
  // [Plugin Comp] OptimizePress
@@ -123,7 +124,7 @@ class Blocker {
123
  ->translateArray(
124
  $output,
125
  \array_merge(
126
- \DevOwl\RealCookieBanner\settings\Blocker::SYNC_OPTIONS_COPY_AND_COPY_ONCE,
127
  \DevOwl\RealCookieBanner\Localization::COMMON_SKIP_KEYS
128
  )
129
  );
41
  * content, you need to pass the selector for this sidebar.
42
  */
43
  const DEPENDANT_VISIBILITY_CONTAINERS = [
44
+ '[role="tabpanel"]',
45
  // [Plugin Comp] https://de.wordpress.org/plugins/wp-contact-slider/
46
  '.wpcs_content_inner',
47
  // [Plugin Comp] OptimizePress
124
  ->translateArray(
125
  $output,
126
  \array_merge(
127
+ \DevOwl\RealCookieBanner\settings\Blocker::SYNC_OPTIONS_COPY,
128
  \DevOwl\RealCookieBanner\Localization::COMMON_SKIP_KEYS
129
  )
130
  );
inc/view/ConfigPage.php CHANGED
@@ -3,8 +3,10 @@
3
  namespace DevOwl\RealCookieBanner\view;
4
 
5
  use DevOwl\RealCookieBanner\base\UtilsProvider;
 
6
  use DevOwl\RealCookieBanner\Core;
7
  use DevOwl\RealCookieBanner\Utils;
 
8
  // @codeCoverageIgnoreStart
9
  \defined('ABSPATH') or die('No script kiddies please!');
10
  // Avoid direct file request
@@ -19,6 +21,7 @@ class ConfigPage {
19
  const OPTION_NAME_NEXT_PRO_NOTICE = RCB_OPT_PREFIX . '-config-next-pro-notice';
20
  const NEXT_PRO_NOTICE = 60 * 60 * 24 * 30;
21
  // 30 days
 
22
  /**
23
  * C'tor.
24
  */
@@ -156,6 +159,68 @@ class ConfigPage {
156
  public function getUrl() {
157
  return admin_url('admin.php?page=' . self::COMPONENT_ID);
158
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
159
  /**
160
  * Get the Real Cookie Banner logo as SVG icon in base64 format.
161
  *
@@ -172,6 +237,19 @@ class ConfigPage {
172
  )
173
  );
174
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
175
  /**
176
  * New instance.
177
  */
3
  namespace DevOwl\RealCookieBanner\view;
4
 
5
  use DevOwl\RealCookieBanner\base\UtilsProvider;
6
+ use DevOwl\RealCookieBanner\settings\General;
7
  use DevOwl\RealCookieBanner\Core;
8
  use DevOwl\RealCookieBanner\Utils;
9
+ use WP_Admin_Bar;
10
  // @codeCoverageIgnoreStart
11
  \defined('ABSPATH') or die('No script kiddies please!');
12
  // Avoid direct file request
21
  const OPTION_NAME_NEXT_PRO_NOTICE = RCB_OPT_PREFIX . '-config-next-pro-notice';
22
  const NEXT_PRO_NOTICE = 60 * 60 * 24 * 30;
23
  // 30 days
24
+ const ADMIN_BAR_TOP_LEVEL_NODE_ID = 'rcb-top-node';
25
  /**
26
  * C'tor.
27
  */
159
  public function getUrl() {
160
  return admin_url('admin.php?page=' . self::COMPONENT_ID);
161
  }
162
+ /**
163
+ * Create the top menu admin bar for "Real Cookie Banner" and return the `parent` id
164
+ * so you can add additional drop down menus.
165
+ */
166
+ public function ensureAdminBarTopLevelNode() {
167
+ /**
168
+ * Var.
169
+ *
170
+ * @var WP_Admin_Bar
171
+ */
172
+ global $wp_admin_bar;
173
+ if (!$wp_admin_bar->get_node(self::ADMIN_BAR_TOP_LEVEL_NODE_ID)) {
174
+ $iconDefault = self::getIconAsSvgSpan();
175
+ $iconWhite = self::getIconAsSvgSpan('white', 'display:none;');
176
+ $wp_admin_bar->add_menu([
177
+ 'id' => self::ADMIN_BAR_TOP_LEVEL_NODE_ID,
178
+ 'title' => $iconDefault . $iconWhite . __('Cookies', RCB_TD),
179
+ 'href' => $this->getUrl()
180
+ ]);
181
+ // Add a "Settings" node to the end of the menu
182
+ add_action(
183
+ 'wp_before_admin_bar_render',
184
+ function () use ($wp_admin_bar) {
185
+ $wp_admin_bar->add_menu([
186
+ 'parent' => self::ADMIN_BAR_TOP_LEVEL_NODE_ID,
187
+ 'id' => 'rcb-settings',
188
+ 'title' => __('Settings', RCB_TD),
189
+ 'href' => $this->getUrl()
190
+ ]);
191
+ $enabledLabel = \sprintf('<span style="color:#3cb63c;">&#11044;</span> %s', __('Enabled', RCB_TD));
192
+ $disabledLabel = \sprintf(
193
+ '<span style="color:#b63c3c;">&#11044;</span> %s',
194
+ __('Disabled', RCB_TD)
195
+ );
196
+ $wp_admin_bar->add_menu([
197
+ 'parent' => self::ADMIN_BAR_TOP_LEVEL_NODE_ID,
198
+ 'id' => 'rcb-cookie-banner-active',
199
+ 'title' => \sprintf(
200
+ '%s: %s',
201
+ __('Cookie Banner', RCB_TD),
202
+ \DevOwl\RealCookieBanner\settings\General::getInstance()->isBannerActive()
203
+ ? $enabledLabel
204
+ : $disabledLabel
205
+ )
206
+ ]);
207
+ $wp_admin_bar->add_menu([
208
+ 'parent' => self::ADMIN_BAR_TOP_LEVEL_NODE_ID,
209
+ 'id' => 'rcb-content-blocker-active',
210
+ 'title' => \sprintf(
211
+ '%s: %s',
212
+ __('Content Blocker', RCB_TD),
213
+ \DevOwl\RealCookieBanner\settings\General::getInstance()->isBlockerActive()
214
+ ? $enabledLabel
215
+ : $disabledLabel
216
+ )
217
+ ]);
218
+ },
219
+ 9
220
+ );
221
+ }
222
+ return self::ADMIN_BAR_TOP_LEVEL_NODE_ID;
223
+ }
224
  /**
225
  * Get the Real Cookie Banner logo as SVG icon in base64 format.
226
  *
237
  )
238
  );
239
  }
240
+ /**
241
+ * Get the Real Cookie Banner logo as SVG icon in base64 format within a `<span>`.
242
+ *
243
+ * @param string $color
244
+ * @param string $additionalStyle
245
+ */
246
+ public static function getIconAsSvgSpan($color = '#9ea3a8', $additionalStyle = '') {
247
+ return $icon = \sprintf(
248
+ '<span class="custom-icon" style="float:left;width:22px !important;height:22px !important;margin: 5px 5px 0 !important;background-image:url(\'%s\');%s"></span>',
249
+ self::getIconAsSvgBase64($color),
250
+ $additionalStyle
251
+ );
252
+ }
253
  /**
254
  * New instance.
255
  */
inc/view/Scanner.php CHANGED
@@ -7,9 +7,11 @@ use DevOwl\RealCookieBanner\comp\language\Hooks;
7
  use DevOwl\RealCookieBanner\Core;
8
  use DevOwl\RealCookieBanner\presets\BlockerPresets;
9
  use DevOwl\RealCookieBanner\presets\CookiePresets;
 
10
  use DevOwl\RealCookieBanner\scanner\ScanPresets;
11
  use DevOwl\RealCookieBanner\Utils;
12
  use DevOwl\RealCookieBanner\view\checklist\Scanner as ChecklistScanner;
 
13
  // @codeCoverageIgnoreStart
14
  \defined('ABSPATH') or die('No script kiddies please!');
15
  // Avoid direct file request
@@ -58,17 +60,13 @@ class Scanner {
58
  return;
59
  }
60
  $scannerUrl = $configPage->getUrl() . '#/scanner';
61
- $icon = \sprintf(
62
- '<span class="custom-icon" style="float:left;width:22px !important;height:22px !important;margin: 5px 5px 0 !important;background-image:url(\'%s\');"></span>',
63
- \DevOwl\RealCookieBanner\view\ConfigPage::getIconAsSvgBase64('white')
64
- );
65
  $admin_bar->add_menu([
 
66
  'id' => 'rcb-scanner-found-services',
67
  'title' => \sprintf(
68
- '%s <span>%s</span>',
69
- $icon,
70
  // translators:
71
- \sprintf(_n('%d recommendation found', '%d recommendations found', $countAll, RCB_TD), $countAll)
 
72
  ),
73
  'href' => $scannerUrl,
74
  'meta' => [
@@ -76,10 +74,23 @@ class Scanner {
76
  'html' => \sprintf(
77
  '<div class="ab-sub-wrapper">
78
  <style>
79
- #wp-admin-bar-%1$s {
 
80
  background: #A67F2A !important;
81
  }
82
 
 
 
 
 
 
 
 
 
 
 
 
 
83
  #wp-admin-bar-%1$s .ab-submenu:not(.ab-sub-secondary) > li > * {
84
  padding: 0px 10px;
85
  width: 400px;
@@ -97,10 +108,10 @@ class Scanner {
97
  }
98
 
99
  #wp-admin-bar-%1$s .ab-sub-secondary .ab-item > span {
100
- width:15px;
101
- display:inline-block;
102
- line-height:1.3;
103
- color:rgba(240, 246, 252, 0.7);
104
  }
105
  </style>
106
  <ul class="ab-submenu">
@@ -122,7 +133,8 @@ class Scanner {
122
  __('Take action now', RCB_TD),
123
  __('Ignore hint', RCB_TD),
124
  $scannerUrl,
125
- add_query_arg(self::QUERY_ARG_DISMISS, 1)
 
126
  )
127
  ]
128
  ]);
@@ -158,6 +170,8 @@ class Scanner {
158
  $dismissedItems = get_option(self::OPTION_NAME, []);
159
  $dismissedItems = \array_unique(\array_merge($dismissedItems, $this->getServicesForNotice()[2]));
160
  update_option(self::OPTION_NAME, $dismissedItems);
 
 
161
  wp_safe_redirect(remove_query_arg(self::QUERY_ARG_DISMISS));
162
  exit();
163
  }
7
  use DevOwl\RealCookieBanner\Core;
8
  use DevOwl\RealCookieBanner\presets\BlockerPresets;
9
  use DevOwl\RealCookieBanner\presets\CookiePresets;
10
+ use DevOwl\RealCookieBanner\scanner\Query;
11
  use DevOwl\RealCookieBanner\scanner\ScanPresets;
12
  use DevOwl\RealCookieBanner\Utils;
13
  use DevOwl\RealCookieBanner\view\checklist\Scanner as ChecklistScanner;
14
+ use WP_Admin_Bar;
15
  // @codeCoverageIgnoreStart
16
  \defined('ABSPATH') or die('No script kiddies please!');
17
  // Avoid direct file request
60
  return;
61
  }
62
  $scannerUrl = $configPage->getUrl() . '#/scanner';
 
 
 
 
63
  $admin_bar->add_menu([
64
+ 'parent' => $configPage->ensureAdminBarTopLevelNode(),
65
  'id' => 'rcb-scanner-found-services',
66
  'title' => \sprintf(
 
 
67
  // translators:
68
+ _n('%d recommendation found', '%d recommendations found', $countAll, RCB_TD),
69
+ $countAll
70
  ),
71
  'href' => $scannerUrl,
72
  'meta' => [
74
  'html' => \sprintf(
75
  '<div class="ab-sub-wrapper">
76
  <style>
77
+ #wp-admin-bar-%1$s,
78
+ #wp-admin-bar-%7$s {
79
  background: #A67F2A !important;
80
  }
81
 
82
+ #wp-admin-bar-%1$s > .ab-item {
83
+ color: white !important;
84
+ }
85
+
86
+ #wp-admin-bar-%7$s > .ab-item > .custom-icon:nth-child(1) {
87
+ display: none !important;
88
+ }
89
+
90
+ #wp-admin-bar-%7$s > .ab-item > .custom-icon:nth-child(2) {
91
+ display: inline-block !important;
92
+ }
93
+
94
  #wp-admin-bar-%1$s .ab-submenu:not(.ab-sub-secondary) > li > * {
95
  padding: 0px 10px;
96
  width: 400px;
108
  }
109
 
110
  #wp-admin-bar-%1$s .ab-sub-secondary .ab-item > span {
111
+ width: 15px;
112
+ display: inline-block;
113
+ line-height: 1.3;
114
+ color: rgba(240, 246, 252, 0.7);
115
  }
116
  </style>
117
  <ul class="ab-submenu">
133
  __('Take action now', RCB_TD),
134
  __('Ignore hint', RCB_TD),
135
  $scannerUrl,
136
+ add_query_arg(self::QUERY_ARG_DISMISS, 1),
137
+ \DevOwl\RealCookieBanner\view\ConfigPage::ADMIN_BAR_TOP_LEVEL_NODE_ID
138
  )
139
  ]
140
  ]);
170
  $dismissedItems = get_option(self::OPTION_NAME, []);
171
  $dismissedItems = \array_unique(\array_merge($dismissedItems, $this->getServicesForNotice()[2]));
172
  update_option(self::OPTION_NAME, $dismissedItems);
173
+ delete_transient(\DevOwl\RealCookieBanner\view\Scanner::TRANSIENT_SERVICES_FOR_NOTICE);
174
+ delete_transient(\DevOwl\RealCookieBanner\scanner\Query::TRANSIENT_SCANNED_EXTERNAL_URLS);
175
  wp_safe_redirect(remove_query_arg(self::QUERY_ARG_DISMISS));
176
  exit();
177
  }
inc/view/blockable/BlockerPostType.php CHANGED
@@ -3,8 +3,10 @@
3
  namespace DevOwl\RealCookieBanner\view\blockable;
4
 
5
  use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\AbstractBlockable;
 
6
  use DevOwl\RealCookieBanner\base\UtilsProvider;
7
  use DevOwl\RealCookieBanner\lite\settings\TcfVendorConfiguration;
 
8
  use DevOwl\RealCookieBanner\settings\Blocker;
9
  use WP_Post;
10
  // @codeCoverageIgnoreStart
@@ -14,8 +16,10 @@ use WP_Post;
14
  /**
15
  * Describe a blockable item by `WP_Post` custom post type.
16
  */
17
- class BlockerPostType extends \DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\AbstractBlockable {
 
18
  use UtilsProvider;
 
19
  private $post;
20
  /**
21
  * C'tor.
3
  namespace DevOwl\RealCookieBanner\view\blockable;
4
 
5
  use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\AbstractBlockable;
6
+ use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\plugins\imagePreview\ImagePreviewBlockable;
7
  use DevOwl\RealCookieBanner\base\UtilsProvider;
8
  use DevOwl\RealCookieBanner\lite\settings\TcfVendorConfiguration;
9
+ use DevOwl\RealCookieBanner\lite\view\blocker\ImagePreviewBlockableTrait;
10
  use DevOwl\RealCookieBanner\settings\Blocker;
11
  use WP_Post;
12
  // @codeCoverageIgnoreStart
16
  /**
17
  * Describe a blockable item by `WP_Post` custom post type.
18
  */
19
+ class BlockerPostType extends \DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\AbstractBlockable implements
20
+ \DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\plugins\imagePreview\ImagePreviewBlockable {
21
  use UtilsProvider;
22
+ use ImagePreviewBlockableTrait;
23
  private $post;
24
  /**
25
  * C'tor.
inc/view/blocker/Plugin.php CHANGED
@@ -25,6 +25,7 @@ use DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\plugins\LinkRel
25
  use DevOwl\RealCookieBanner\base\UtilsProvider;
26
  use DevOwl\RealCookieBanner\Core;
27
  use DevOwl\RealCookieBanner\lite\view\blocker\WordPressImagePreviewCache;
 
28
  use DevOwl\RealCookieBanner\Vendor\Sabberworm\CSS\CSSList\Document;
29
  // @codeCoverageIgnoreStart
30
  \defined('ABSPATH') or die('No script kiddies please!');
@@ -35,6 +36,7 @@ use DevOwl\RealCookieBanner\Vendor\Sabberworm\CSS\CSSList\Document;
35
  */
36
  class Plugin extends \DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\AbstractPlugin {
37
  use UtilsProvider;
 
38
  // Documented in AbstractPlugin
39
  public function init() {
40
  $cb = $this->getHeadlessContentBlocker();
@@ -483,6 +485,13 @@ class Plugin extends \DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlock
483
  * @var TagAttributeMatch
484
  */
485
  $match = $match;
 
 
 
 
 
 
 
486
  /**
487
  * A tag got blocked, e. g. `iframe`. We can now determine the "Visual Parent". The visual parent is the
488
  * closest parent where the content blocker should be placed to. The visual parent can be configured as follow:
25
  use DevOwl\RealCookieBanner\base\UtilsProvider;
26
  use DevOwl\RealCookieBanner\Core;
27
  use DevOwl\RealCookieBanner\lite\view\blocker\WordPressImagePreviewCache;
28
+ use DevOwl\RealCookieBanner\Utils;
29
  use DevOwl\RealCookieBanner\Vendor\Sabberworm\CSS\CSSList\Document;
30
  // @codeCoverageIgnoreStart
31
  \defined('ABSPATH') or die('No script kiddies please!');
36
  */
37
  class Plugin extends \DevOwl\RealCookieBanner\Vendor\DevOwl\HeadlessContentBlocker\AbstractPlugin {
38
  use UtilsProvider;
39
+ const TABLE_NAME_BLOCKER_THUMBNAILS = 'blocker_thumbnails';
40
  // Documented in AbstractPlugin
41
  public function init() {
42
  $cb = $this->getHeadlessContentBlocker();
485
  * @var TagAttributeMatch
486
  */
487
  $match = $match;
488
+ // [Plugin Comp] https://wordpress.org/plugins/wp-youtube-lyte/
489
+ if (
490
+ $match->hasAttribute('id') &&
491
+ \DevOwl\RealCookieBanner\Utils::startsWith($match->getAttribute('id'), 'lyte_')
492
+ ) {
493
+ $visualParent = 2;
494
+ }
495
  /**
496
  * A tag got blocked, e. g. `iframe`. We can now determine the "Visual Parent". The visual parent is the
497
  * closest parent where the content blocker should be placed to. The visual parent can be configured as follow:
inc/view/checklist/Shortcode.php CHANGED
@@ -8,7 +8,9 @@ use DevOwl\RealCookieBanner\base\UtilsProvider;
8
  // Avoid direct file request
9
  // @codeCoverageIgnoreEnd
10
  /**
11
- * A legal shortcode was genearted once.
 
 
12
  */
13
  class Shortcode extends \DevOwl\RealCookieBanner\view\checklist\AbstractChecklistItem {
14
  use UtilsProvider;
@@ -23,12 +25,12 @@ class Shortcode extends \DevOwl\RealCookieBanner\view\checklist\AbstractChecklis
23
  }
24
  // Documented in AbstractChecklistItem
25
  public function getTitle() {
26
- return __('Place shortcodes in your privacy policy', RCB_TD);
27
  }
28
  // Documented in AbstractChecklistItem
29
  public function getDescription() {
30
  return __(
31
- 'Your visitors must be able to view, change and revoke their consent at any time. You should add shortcodes to your footer and privacy policy to provide this feature.',
32
  RCB_TD
33
  );
34
  }
@@ -38,6 +40,6 @@ class Shortcode extends \DevOwl\RealCookieBanner\view\checklist\AbstractChecklis
38
  }
39
  // Documented in AbstractChecklistItem
40
  public function getLinkText() {
41
- return __('Generate shortcodes', RCB_TD);
42
  }
43
  }
8
  // Avoid direct file request
9
  // @codeCoverageIgnoreEnd
10
  /**
11
+ * A legal shortcode was genearted once or the legal links were added to a manu.
12
+ *
13
+ * For backwards-compatibility this class is still named for "Shortcode" but it should be "Legal links" instead.
14
  */
15
  class Shortcode extends \DevOwl\RealCookieBanner\view\checklist\AbstractChecklistItem {
16
  use UtilsProvider;
25
  }
26
  // Documented in AbstractChecklistItem
27
  public function getTitle() {
28
+ return __('Place legal links to your website', RCB_TD);
29
  }
30
  // Documented in AbstractChecklistItem
31
  public function getDescription() {
32
  return __(
33
+ 'Your website visitors must be able to view their consent history, change their consent, or withdraw their consent at any time. This must be as easy as giving consent. Therefore, the shortcodes must be included on every subpage of the website (e.g. in the footer).',
34
  RCB_TD
35
  );
36
  }
40
  }
41
  // Documented in AbstractChecklistItem
42
  public function getLinkText() {
43
+ return __('Create legal links', RCB_TD);
44
  }
45
  }
inc/view/customize/banner/BodyDesign.php CHANGED
@@ -125,7 +125,7 @@ class BodyDesign {
125
  const DEFAULT_BUTTON_ACCEPT_ESSENTIALS_PADDING = self::DEFAULT_BUTTON_ACCEPT_ALL_PADDING;
126
  const DEFAULT_BUTTON_ACCEPT_ESSENTIALS_BG = '#efefef';
127
  const DEFAULT_BUTTON_ACCEPT_ESSENTIALS_TEXT_ALIGN = 'center';
128
- const DEFAULT_BUTTON_ACCEPT_ESSENTIALS_FONT_SIZE = 16;
129
  const DEFAULT_BUTTON_ACCEPT_ESSENTIALS_FONT_COLOR = '#0a0a0a';
130
  const DEFAULT_BUTTON_ACCEPT_ESSENTIALS_FONT_WEIGHT = self::DEFAULT_BUTTON_ACCEPT_ALL_FONT_WEIGHT;
131
  const DEFAULT_BUTTON_ACCEPT_ESSENTIALS_BORDER_WIDTH = 0;
125
  const DEFAULT_BUTTON_ACCEPT_ESSENTIALS_PADDING = self::DEFAULT_BUTTON_ACCEPT_ALL_PADDING;
126
  const DEFAULT_BUTTON_ACCEPT_ESSENTIALS_BG = '#efefef';
127
  const DEFAULT_BUTTON_ACCEPT_ESSENTIALS_TEXT_ALIGN = 'center';
128
+ const DEFAULT_BUTTON_ACCEPT_ESSENTIALS_FONT_SIZE = 18;
129
  const DEFAULT_BUTTON_ACCEPT_ESSENTIALS_FONT_COLOR = '#0a0a0a';
130
  const DEFAULT_BUTTON_ACCEPT_ESSENTIALS_FONT_WEIGHT = self::DEFAULT_BUTTON_ACCEPT_ALL_FONT_WEIGHT;
131
  const DEFAULT_BUTTON_ACCEPT_ESSENTIALS_BORDER_WIDTH = 0;
inc/view/customize/banner/Texts.php CHANGED
@@ -72,6 +72,7 @@ class Texts {
72
  return [
73
  'name' => 'texts',
74
  'title' => __('Texts', RCB_TD),
 
75
  'controls' => [
76
  self::HEADLINE_GENERAL => [
77
  'class' => \DevOwl\RealCookieBanner\Vendor\DevOwl\Customize\controls\Headline::class,
@@ -241,6 +242,15 @@ class Texts {
241
  ]
242
  ];
243
  }
 
 
 
 
 
 
 
 
 
244
  /**
245
  * Return a notice HTML for the customize description when US data processing is deactivated.
246
  */
72
  return [
73
  'name' => 'texts',
74
  'title' => __('Texts', RCB_TD),
75
+ 'description' => self::getDescription(),
76
  'controls' => [
77
  self::HEADLINE_GENERAL => [
78
  'class' => \DevOwl\RealCookieBanner\Vendor\DevOwl\Customize\controls\Headline::class,
242
  ]
243
  ];
244
  }
245
+ /**
246
+ * Return HTML for the customize description about "Texts" at the top.
247
+ */
248
+ public static function getDescription() {
249
+ return __(
250
+ 'The standard texts in the cookie banner are worded carefully. If you customize them, make sure they are not misleading or riveting. According to the <a href="https://www.baden-wuerttemberg.datenschutz.de/faq-zu-cookies-und-tracking-2/#13_informiertheit)" target="_blank">Data Protection Commissioner of Baden-Württeberg, Germany (Section B, 1.3.7.; German)</a>, for example, a headline "We love cookies" is already misleading.',
251
+ RCB_TD
252
+ );
253
+ }
254
  /**
255
  * Return a notice HTML for the customize description when US data processing is deactivated.
256
  */
inc/view/customize/banner/individual/Texts.php CHANGED
@@ -34,6 +34,7 @@ class Texts {
34
  return [
35
  'name' => 'individualTexts',
36
  'title' => __('Texts', RCB_TD),
 
37
  'controls' => [
38
  self::HEADLINE_GENERAL => [
39
  'class' => \DevOwl\RealCookieBanner\Vendor\DevOwl\Customize\controls\Headline::class,
34
  return [
35
  'name' => 'individualTexts',
36
  'title' => __('Texts', RCB_TD),
37
+ 'description' => \DevOwl\RealCookieBanner\view\customize\banner\Texts::getDescription(),
38
  'controls' => [
39
  self::HEADLINE_GENERAL => [
40
  'class' => \DevOwl\RealCookieBanner\Vendor\DevOwl\Customize\controls\Headline::class,
inc/view/navmenu/NavMenuLinkItem.php ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace DevOwl\RealCookieBanner\view\navmenu;
4
+
5
+ // @codeCoverageIgnoreStart
6
+ \defined('ABSPATH') or die('No script kiddies please!');
7
+ // Avoid direct file request
8
+ // @codeCoverageIgnoreEnd
9
+ /**
10
+ * Item for `NavMenuLinks`.
11
+ */
12
+ class NavMenuLinkItem {
13
+ public $title;
14
+ public $url;
15
+ public $db_id = 0;
16
+ public $object = \DevOwl\RealCookieBanner\view\navmenu\NavMenuLinks::NAVIGATION_ITEM_ID;
17
+ public $object_id;
18
+ public $menu_item_parent = 0;
19
+ public $type = 'custom';
20
+ public $target = '';
21
+ public $attr_title = '';
22
+ public $classes = [];
23
+ public $xfn = '';
24
+ }
inc/view/navmenu/NavMenuLinks.php ADDED
@@ -0,0 +1,336 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace DevOwl\RealCookieBanner\view\navmenu;
4
+
5
+ use DevOwl\RealCookieBanner\Vendor\DevOwl\Multilingual\NavMenuList;
6
+ use DevOwl\RealCookieBanner\base\UtilsProvider;
7
+ use DevOwl\RealCookieBanner\comp\language\Hooks;
8
+ use DevOwl\RealCookieBanner\Core;
9
+ use DevOwl\RealCookieBanner\view\Checklist;
10
+ use DevOwl\RealCookieBanner\view\checklist\Shortcode;
11
+ use Walker_Nav_Menu_Checklist;
12
+ use WP_Error;
13
+ use WP_Post;
14
+ // @codeCoverageIgnoreStart
15
+ \defined('ABSPATH') or die('No script kiddies please!');
16
+ // Avoid direct file request
17
+ // @codeCoverageIgnoreEnd
18
+ /**
19
+ * Custom navigation menu links for the legal links.
20
+ */
21
+ class NavMenuLinks {
22
+ use UtilsProvider;
23
+ const METABOX_ID = 'rcb-nav-menu';
24
+ const META_SUCCESS_MESSAGE_FIELD_ID = 'rcb-menu-item-success-message';
25
+ const META_SUCCESS_MESSAGE_META_NAME = 'rcb-success-message';
26
+ const NAVIGATION_ITEM_ID = 'rcb-nav-item';
27
+ /**
28
+ * C'tor.
29
+ */
30
+ private function __construct() {
31
+ // Silence is golden.
32
+ }
33
+ /**
34
+ * Get a list of available navigation menus so we can add a automatic "addition" process to our "Legal links" section.
35
+ *
36
+ * @param array $arr
37
+ */
38
+ public function revisionCurrent($arr) {
39
+ $arr['nav_menus'] = (new \DevOwl\RealCookieBanner\Vendor\DevOwl\Multilingual\NavMenuList(
40
+ \DevOwl\RealCookieBanner\Core::getInstance()->getCompLanguage()
41
+ ))->get([$this, 'isMenuItem']);
42
+ return $arr;
43
+ }
44
+ /**
45
+ * Add existing links to our current menu.
46
+ *
47
+ * @param string $nav_menu_id
48
+ * @return true|WP_Error
49
+ */
50
+ public function addLinksToMenu($nav_menu_id) {
51
+ $compLanguage = \DevOwl\RealCookieBanner\Core::getInstance()->getCompLanguage();
52
+ $nav_menu = (new \DevOwl\RealCookieBanner\Vendor\DevOwl\Multilingual\NavMenuList($compLanguage))->getById(
53
+ $nav_menu_id,
54
+ [$this, 'isMenuItem']
55
+ );
56
+ if ($nav_menu !== null) {
57
+ $useLanguage = \count($nav_menu['languages']) > 0 ? $nav_menu['languages'][0]['code'] : null;
58
+ $linkElements = $this->getLinkElements(\false, $useLanguage);
59
+ $result = \true;
60
+ $fnInsert = function () use ($linkElements, $nav_menu, &$result) {
61
+ foreach ($linkElements as $url => $element) {
62
+ $added = wp_update_nav_menu_item($nav_menu['term_id'], 0, [
63
+ 'menu-item-title' => $element['linkText'],
64
+ 'menu-item-url' => $url,
65
+ 'menu-item-status' => 'publish'
66
+ ]);
67
+ if (is_wp_error($added)) {
68
+ $result = $added;
69
+ break;
70
+ } elseif (isset($element['meta'])) {
71
+ foreach ($element['meta'] as $key => $val) {
72
+ update_post_meta($added, $key, $val);
73
+ }
74
+ }
75
+ }
76
+ };
77
+ if ($compLanguage !== null && $compLanguage->isActive()) {
78
+ $compLanguage->switchToLanguage($useLanguage, $fnInsert);
79
+ } else {
80
+ $fnInsert();
81
+ }
82
+ \DevOwl\RealCookieBanner\view\Checklist::getInstance()->toggle(
83
+ \DevOwl\RealCookieBanner\view\checklist\Shortcode::IDENTIFIER,
84
+ \true
85
+ );
86
+ return $result;
87
+ } else {
88
+ return new \WP_Error('rcb_nav_menu_non_existing', __('The navigation menu could not be found.', RCB_TD));
89
+ }
90
+ }
91
+ /**
92
+ * Get the available link elements.
93
+ *
94
+ * @param boolean $onlyLinks
95
+ * @param string $language
96
+ */
97
+ public function getLinkElements($onlyLinks = \false, $language = null) {
98
+ if ($onlyLinks) {
99
+ return ['#consent-change', '#consent-history', '#consent-revoke'];
100
+ }
101
+ $td = \DevOwl\RealCookieBanner\comp\language\Hooks::getInstance()->createTemporaryTextDomain();
102
+ $result = [];
103
+ $fnCalculateResult = function ($domain) use (&$result) {
104
+ $result = [
105
+ '#consent-change' => [
106
+ 'label' => __('Change privacy settings', RCB_TD),
107
+ 'linkText' => __('Change privacy settings', $domain)
108
+ ],
109
+ '#consent-history' => [
110
+ 'label' => __('Privacy settings history', RCB_TD),
111
+ 'linkText' => __('Privacy settings history', $domain)
112
+ ],
113
+ '#consent-revoke' => [
114
+ 'label' => __('Revoke consents', RCB_TD),
115
+ 'linkText' => __('Revoke consents', $domain),
116
+ 'meta' => [
117
+ self::META_SUCCESS_MESSAGE_META_NAME => __(
118
+ 'You have successfully revoked the consent. The page will be reloaded now.',
119
+ $domain
120
+ )
121
+ ]
122
+ ]
123
+ ];
124
+ };
125
+ if ($language !== null) {
126
+ $compLanguage = \DevOwl\RealCookieBanner\Core::getInstance()->getCompLanguage();
127
+ $compLanguage->switchToLanguage($language, function () use ($compLanguage, $fnCalculateResult) {
128
+ $fnCalculateResult($compLanguage->getTemporaryTextDomainName());
129
+ });
130
+ } else {
131
+ $fnCalculateResult(\DevOwl\RealCookieBanner\comp\language\Hooks::TD_FORCED);
132
+ }
133
+ $td->teardown();
134
+ return $result;
135
+ }
136
+ /**
137
+ * Add custom meta fields to the nav menu field.
138
+ *
139
+ * @param int $item_id
140
+ * @param object $item
141
+ */
142
+ public function wp_nav_menu_item_custom_fields($item_id, $item) {
143
+ if ($this->isMenuItem($item) && $item->url === '#consent-revoke') {
144
+ $compLanguage = \DevOwl\RealCookieBanner\Core::getInstance()->getCompLanguage();
145
+ $useLanguage =
146
+ $compLanguage !== null && $compLanguage->isActive()
147
+ ? $compLanguage->getCurrentLanguageFallback()
148
+ : null;
149
+ $linkElements = $this->getLinkElements(\false, $useLanguage);
150
+ $linkElement = $linkElements[$item->url];
151
+ // Insert default values for newly created items
152
+ if (!metadata_exists('post', $item_id, self::META_SUCCESS_MESSAGE_META_NAME)) {
153
+ foreach ($linkElement['meta'] as $key => $val) {
154
+ update_post_meta($item_id, $key, $val);
155
+ }
156
+ }
157
+ $successMessage = get_post_meta($item_id, self::META_SUCCESS_MESSAGE_META_NAME, \true);
158
+ echo \sprintf(
159
+ '<p class="description description-wide">
160
+ <label for="%4$s-%1$d" >
161
+ %2$s<br />
162
+ <input type="text" class="widefat" id="%4$s-%1$d"
163
+ name="%4$s[%1$d]" value="%3$s"
164
+ />
165
+ </label>
166
+ </p>',
167
+ $item_id,
168
+ __('Success message', RCB_TD),
169
+ $successMessage,
170
+ self::META_SUCCESS_MESSAGE_FIELD_ID
171
+ );
172
+ }
173
+ }
174
+ /**
175
+ * Save custom meta fields.
176
+ *
177
+ * @param int $menu_id
178
+ * @param int $menu_item_db_id
179
+ */
180
+ public function wp_update_nav_menu_item($menu_id, $menu_item_db_id) {
181
+ $successMessage = $_POST[self::META_SUCCESS_MESSAGE_FIELD_ID][$menu_item_db_id] ?? null;
182
+ if ($successMessage !== null) {
183
+ update_post_meta($menu_item_db_id, self::META_SUCCESS_MESSAGE_META_NAME, $successMessage);
184
+ }
185
+ }
186
+ /**
187
+ * Add the custom meta fields to the output navigation element.
188
+ *
189
+ * @param array $atts
190
+ * @param WP_Post $item
191
+ */
192
+ public function nav_menu_link_attributes($atts, $item) {
193
+ if ($this->isMenuItem($item) && $item->url === '#consent-revoke') {
194
+ $atts['data-success-message'] = get_post_meta($item->ID, self::META_SUCCESS_MESSAGE_META_NAME, \true);
195
+ }
196
+ return $atts;
197
+ }
198
+ /**
199
+ * Register new metabox.
200
+ */
201
+ public function admin_head() {
202
+ add_meta_box(
203
+ self::METABOX_ID,
204
+ 'Real Cookie Banner',
205
+ [$this, 'nav_menu_metabox'],
206
+ 'nav-menus',
207
+ 'side',
208
+ 'default'
209
+ );
210
+ // Create a script to automatically hide URL from the menu item
211
+ echo '<script>
212
+ jQuery(document).ready(function($) {
213
+ const fnHide = function() {
214
+ $(\'.edit-menu-item-url[value^="#consent"]\').parents(".field-url").hide();
215
+ };
216
+ fnHide();
217
+ setInterval(fnHide, 1000);
218
+ });
219
+ </script>';
220
+ }
221
+ /**
222
+ * Output script to hide the "URL" input field in customizer.
223
+ */
224
+ public function customize_controls_head() {
225
+ echo '<script>
226
+ jQuery(document).ready(function($) {
227
+ const fnHide = function() {
228
+ $("input.edit-menu-item-url").filter(function() {
229
+ return $(this).val().startsWith("#consent");
230
+ }).parents("label").hide();
231
+ };
232
+ fnHide();
233
+ setInterval(fnHide, 1000);
234
+ });
235
+ </script>';
236
+ }
237
+ /**
238
+ * Print the metabox.
239
+ */
240
+ public function nav_menu_metabox() {
241
+ global $nav_menu_selected_id;
242
+ $nav_items = [];
243
+ foreach ($this->getLinkElements() as $value => $element) {
244
+ $item = new \DevOwl\RealCookieBanner\view\navmenu\NavMenuLinkItem();
245
+ $item->object_id = esc_html($value);
246
+ $item->title = esc_html($element['linkText']);
247
+ $item->url = esc_html($value);
248
+ $nav_items[$element['label']] = $item;
249
+ }
250
+ $walker = new \Walker_Nav_Menu_Checklist([]);
251
+ echo \sprintf(
252
+ '<div id="rcb-links" class="rcblinksdiv">
253
+ <div id="tabs-panel-rcb-links-all" class="tabs-panel tabs-panel-view-all tabs-panel-active">
254
+ <ul id="rcb-linkschecklist" class="list:rcb-links categorychecklist form-no-clear">%s</ul>
255
+ </div>
256
+ <div class="button-controls">
257
+ <span class="add-to-menu">
258
+ <input type="submit" %s class="button-secondary submit-add-to-menu right" value="%s" name="add-rcb-links-menu-item" id="submit-rcb-links"/>
259
+ <span class="spinner"></span>
260
+ </span>
261
+ </div>
262
+ </div>',
263
+ walk_nav_menu_tree(\array_map('wp_setup_nav_menu_item', $nav_items), 0, (object) ['walker' => $walker]),
264
+ disabled($nav_menu_selected_id, 0),
265
+ esc_attr(__('Add to Menu'))
266
+ );
267
+ }
268
+ /**
269
+ * Correct "Custom link" to "Real Cookie Banner" type label.
270
+ *
271
+ * @param WP_Post $menu_item
272
+ */
273
+ public function wp_setup_nav_menu_item($menu_item) {
274
+ if ($this->isMenuItem($menu_item)) {
275
+ $menu_item->type_label = 'Real Cookie Banner';
276
+ }
277
+ return $menu_item;
278
+ }
279
+ /**
280
+ * Register custom item types in customizer.
281
+ *
282
+ * @param array $item_types Menu item types.
283
+ */
284
+ public function register_customize_nav_menu_item_types($item_types) {
285
+ $item_types[] = [
286
+ 'title' => 'Real Cookie Banner',
287
+ 'type_label' => 'Real Cookie Banner',
288
+ 'type' => self::METABOX_ID,
289
+ 'object' => self::NAVIGATION_ITEM_ID
290
+ ];
291
+ return $item_types;
292
+ }
293
+ /**
294
+ * Register custom item type links in customizer.
295
+ *
296
+ * @param array $items
297
+ * @param string $type
298
+ * @param string $object
299
+ * @param integer $page
300
+ */
301
+ public function register_customize_nav_menu_items($items = [], $type = '', $object = '', $page = 0) {
302
+ if (self::NAVIGATION_ITEM_ID !== $object) {
303
+ return $items;
304
+ }
305
+ if (0 < $page) {
306
+ return $items;
307
+ }
308
+ foreach ($this->getLinkElements() as $id => $element) {
309
+ $items[] = [
310
+ 'id' => \str_replace('#', '', $id),
311
+ 'title' => $element['linkText'],
312
+ 'type_label' => 'Real Cookie Banner',
313
+ 'url' => $id
314
+ ];
315
+ }
316
+ return $items;
317
+ }
318
+ /**
319
+ * Check if a given object of a menu item is a `NavMenuLinkItem`.
320
+ *
321
+ * @param WP_Post $menu_item
322
+ */
323
+ public function isMenuItem($menu_item) {
324
+ return isset($menu_item->object, $menu_item->url) &&
325
+ $menu_item->object === 'custom' &&
326
+ \in_array($menu_item->url, $this->getLinkElements(\true), \true);
327
+ }
328
+ /**
329
+ * New instance.
330
+ *
331
+ * @codeCoverageIgnore
332
+ */
333
+ public static function instance() {
334
+ return new \DevOwl\RealCookieBanner\view\navmenu\NavMenuLinks();
335
+ }
336
+ }
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: 2.16.2
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: 2.17.0
12
  * Text Domain: real-cookie-banner
13
  * Domain Path: /languages
14
  */
languages/real-cookie-banner-de_AT.mo CHANGED
Binary file
languages/real-cookie-banner-de_AT.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/src\n"
4
  "POT-Creation-Date: n/a\n"
5
- "PO-Revision-Date: 2022-02-25 09:46+0000\n"
6
  "Last-Translator: Matthias Günter <matthias.guenter@devowl.io>\n"
7
  "Language-Team: German <https://translate.devowl.io/projects/wordpress-real-"
8
  "cookie-banner-backend-php/develop/de/>\n"
@@ -70,7 +70,7 @@ msgstr "key-features/de/content-blocker.gif"
70
 
71
  #: inc/AdInitiator.php:1 inc/import/ImportBlocker.php:1
72
  #: inc/presets/UpdateNotice.php:1 inc/settings/Blocker.php:1
73
- #: inc/view/customize/banner/Texts.php:1
74
  msgid "Content Blocker"
75
  msgstr "Content Blocker"
76
 
@@ -827,6 +827,16 @@ msgstr ""
827
  "Der neu erstellte Content Blocker <code>%s</code> konnte einige zugehörige "
828
  "Beziehungen nicht korrekt auflösen."
829
 
 
 
 
 
 
 
 
 
 
 
830
  #. translators:
831
  #: inc/import/ImportMessages.php:1
832
  msgid "The service <code>%s</code> already exists. Skipped."
@@ -2854,6 +2864,7 @@ msgstr ""
2854
 
2855
  #: inc/overrides/pro/presets/GtmPreset.php:1
2856
  #: inc/overrides/pro/presets/MtmPreset.php:1 inc/presets/Presets.php:1
 
2857
  msgid "Disabled"
2858
  msgstr "Deaktiviert"
2859
 
@@ -3543,13 +3554,34 @@ msgstr ""
3543
  "Diensteanbieters übertragen, um die Nutzung des Dienstes zu ermöglichen."
3544
 
3545
  #: inc/overrides/pro/presets/MtmPreset.php:1
3546
- msgid "Matomo Tag Manager URL"
3547
- msgstr "Matomo Tag Manager-URL"
3548
 
3549
  #: inc/overrides/pro/presets/MtmPreset.php:1
3550
  msgid "Please provide a valid URL!"
3551
  msgstr "Bitte gib eine gültige URL an!"
3552
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3553
  #: inc/overrides/pro/presets/MyCruiseExcursionPreset.php:1
3554
  msgid ""
3555
  "My Cruise Excursion allows us to show you shore excursions from the My "
@@ -5761,6 +5793,14 @@ msgstr ""
5761
  "Du musst einen Content Blocker erstellen, der YouTube blockiert, bis der "
5762
  "Nutzer seine Einwilligung zum Laden gibt."
5763
 
 
 
 
 
 
 
 
 
5764
  #: inc/presets/middleware/BlockerExistsMiddleware.php:1
5765
  #: inc/presets/middleware/CookieExistsMiddleware.php:1
5766
  msgid "Already created"
@@ -6078,7 +6118,7 @@ msgstr "Ohne Kontext"
6078
  msgid "Show cookie banner again"
6079
  msgstr "Cookie Banner erneut anzeigen"
6080
 
6081
- #: inc/view/BannerCustomize.php:1
6082
  msgid "Cookie Banner"
6083
  msgstr "Cookie Banner"
6084
 
@@ -6239,23 +6279,25 @@ msgid "Open scanner"
6239
  msgstr "Scanner öffnen"
6240
 
6241
  #: inc/view/checklist/Shortcode.php:1
6242
- msgid "Place shortcodes in your privacy policy"
6243
- msgstr "Platziere Shortcodes in deiner Datenschutzerklärung"
6244
 
6245
  #: inc/view/checklist/Shortcode.php:1
6246
  msgid ""
6247
- "Your visitors must be able to view, change and revoke their consent at any "
6248
- "time. You should add shortcodes to your footer and privacy policy to provide "
6249
- "this feature."
 
6250
  msgstr ""
6251
- "Deine Besucher müssen in der Lage sein, ihre Zustimmung jederzeit "
6252
- "einzusehen, zu ändern und zu widerrufen. Du solltest Shortcodes in deinem "
6253
- "Footer und der Datenschutzerklärung einfügen, um diese Funktion "
6254
- "bereitzustellen."
 
6255
 
6256
  #: inc/view/checklist/Shortcode.php:1
6257
- msgid "Generate shortcodes"
6258
- msgstr "Shortcodes erzeugen"
6259
 
6260
  #: inc/view/checklist/ViewStats.php:1
6261
  msgid "Check out statistics about consents"
@@ -6310,6 +6352,10 @@ msgstr ""
6310
  msgid "Settings"
6311
  msgstr "Einstellungen"
6312
 
 
 
 
 
6313
  #: inc/view/customize/banner/BasicLayout.php:1
6314
  msgid "Basic Layout"
6315
  msgstr "Grundlegendes Layout"
@@ -7299,6 +7345,23 @@ msgstr "\"Inhalt laden”-Button/Link"
7299
  msgid "Additional info below the \"Load content\" button"
7300
  msgstr "Zusatzinfo unterhalb dem \"Inhalt laden”-Button"
7301
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7302
  #. translators:
7303
  #: inc/view/customize/banner/Texts.php:1
7304
  msgid ""
@@ -7441,6 +7504,37 @@ msgstr "Consent Management Platform von Real Cookie Banner"
7441
  msgid "Cookie Consent Banner by Real Cookie Banner"
7442
  msgstr "Cookie Consent Banner von Real Cookie Banner"
7443
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7444
  #. translators:
7445
  #: inc/view/Scanner.php:1
7446
  msgid "%d recommendation found"
@@ -7476,6 +7570,22 @@ msgstr "Bitte gib ein `text`-Attribut in deinem Shortcode an!"
7476
  msgid "Please provide a `type` attribute in your shortcode. Allowed: %s!"
7477
  msgstr "Bitte gib in deinem Shortcode das Attribut `type` an. Erlaubt: %s!"
7478
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7479
  #~ msgid "Already exists"
7480
  #~ msgstr "Bereits vorhanden"
7481
 
2
  msgstr ""
3
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/src\n"
4
  "POT-Creation-Date: n/a\n"
5
+ "PO-Revision-Date: 2022-04-19 12:29+0000\n"
6
  "Last-Translator: Matthias Günter <matthias.guenter@devowl.io>\n"
7
  "Language-Team: German <https://translate.devowl.io/projects/wordpress-real-"
8
  "cookie-banner-backend-php/develop/de/>\n"
70
 
71
  #: inc/AdInitiator.php:1 inc/import/ImportBlocker.php:1
72
  #: inc/presets/UpdateNotice.php:1 inc/settings/Blocker.php:1
73
+ #: inc/view/ConfigPage.php:1 inc/view/customize/banner/Texts.php:1
74
  msgid "Content Blocker"
75
  msgstr "Content Blocker"
76
 
827
  "Der neu erstellte Content Blocker <code>%s</code> konnte einige zugehörige "
828
  "Beziehungen nicht korrekt auflösen."
829
 
830
+ #. translators:
831
+ #: inc/import/ImportMessages.php:1
832
+ msgid ""
833
+ "The newly created content blocker <code>%s</code> could not set the preview "
834
+ "image because it refers to a media item within your media library (ID)"
835
+ msgstr ""
836
+ "Der neu erstellte Content Blocker <code>%s</code> konnte das Vorschaubild "
837
+ "nicht setzen, da es sich auf eine Datei in deiner Medienbibliothek bezieht "
838
+ "(ID)"
839
+
840
  #. translators:
841
  #: inc/import/ImportMessages.php:1
842
  msgid "The service <code>%s</code> already exists. Skipped."
2864
 
2865
  #: inc/overrides/pro/presets/GtmPreset.php:1
2866
  #: inc/overrides/pro/presets/MtmPreset.php:1 inc/presets/Presets.php:1
2867
+ #: inc/view/ConfigPage.php:1
2868
  msgid "Disabled"
2869
  msgstr "Deaktiviert"
2870
 
3554
  "Diensteanbieters übertragen, um die Nutzung des Dienstes zu ermöglichen."
3555
 
3556
  #: inc/overrides/pro/presets/MtmPreset.php:1
3557
+ msgid "Matomo Tag Manager container script URL"
3558
+ msgstr "Matomo Tag Manager Container Script URL"
3559
 
3560
  #: inc/overrides/pro/presets/MtmPreset.php:1
3561
  msgid "Please provide a valid URL!"
3562
  msgstr "Bitte gib eine gültige URL an!"
3563
 
3564
+ #. translators:
3565
+ #: inc/overrides/pro/presets/MtmPreset.php:1
3566
+ msgid ""
3567
+ "You can find your Matomo Tag Manager container script URL in your Matomo "
3568
+ "Admin dashboard by going to <i>Tag Manager</i>. Afterwards, select your "
3569
+ "container and click on \"Install Code\" and there you need to extract the "
3570
+ "URL from the script (<a href=\"%s\" target=\"_blank\">see example</a>)"
3571
+ msgstr ""
3572
+ "Du findest deine Matomo Tag Manager Container Script URL in deinem Matomo "
3573
+ "Admin Dashboard, indem du auf <i>Tag Manager</i> gehst. Wähle deinen "
3574
+ "Container, klicke auf \"Code installieren\" und dort musst du die URL aus "
3575
+ "dem Skript extrahieren (<a href=\"%s\" target=\"_blank\">siehe Beispiel</a>)"
3576
+
3577
+ #: inc/overrides/pro/presets/MtmPreset.php:1
3578
+ msgid ""
3579
+ "https://assets.devowl.io/in-app/wp-real-cookie-banner/services/mtm-container-"
3580
+ "script-url.png"
3581
+ msgstr ""
3582
+ "https://assets.devowl.io/in-app/wp-real-cookie-banner/services/de/mtm-"
3583
+ "container-script-url.png"
3584
+
3585
  #: inc/overrides/pro/presets/MyCruiseExcursionPreset.php:1
3586
  msgid ""
3587
  "My Cruise Excursion allows us to show you shore excursions from the My "
5793
  "Du musst einen Content Blocker erstellen, der YouTube blockiert, bis der "
5794
  "Nutzer seine Einwilligung zum Laden gibt."
5795
 
5796
+ #: inc/presets/middleware/BlockerContentTypeButtonTextMiddleware.php:1
5797
+ msgid "Load content"
5798
+ msgstr "Inhalt laden"
5799
+
5800
+ #: inc/presets/middleware/BlockerContentTypeButtonTextMiddleware.php:1
5801
+ msgid "Load map"
5802
+ msgstr "Karte laden"
5803
+
5804
  #: inc/presets/middleware/BlockerExistsMiddleware.php:1
5805
  #: inc/presets/middleware/CookieExistsMiddleware.php:1
5806
  msgid "Already created"
6118
  msgid "Show cookie banner again"
6119
  msgstr "Cookie Banner erneut anzeigen"
6120
 
6121
+ #: inc/view/BannerCustomize.php:1 inc/view/ConfigPage.php:1
6122
  msgid "Cookie Banner"
6123
  msgstr "Cookie Banner"
6124
 
6279
  msgstr "Scanner öffnen"
6280
 
6281
  #: inc/view/checklist/Shortcode.php:1
6282
+ msgid "Place legal links to your website"
6283
+ msgstr "Platziere legale Links auf deiner Website"
6284
 
6285
  #: inc/view/checklist/Shortcode.php:1
6286
  msgid ""
6287
+ "Your website visitors must be able to view their consent history, change "
6288
+ "their consent, or withdraw their consent at any time. This must be as easy "
6289
+ "as giving consent. Therefore, the shortcodes must be included on every "
6290
+ "subpage of the website (e.g. in the footer)."
6291
  msgstr ""
6292
+ "Deine Website-Besucher müssen in der Lage sein, den Verlauf ihrer "
6293
+ "Einwilligung einzusehen, ihre Einwilligung zu ändern oder sie jederzeit zu "
6294
+ "widerrufen. Das muss so einfach sein wie die Erteilung der Einwilligung. "
6295
+ "Deshalb müssen die Shortcodes auf jeder Unterseite der Website zu finden "
6296
+ "sein (z. B. im Footer/Fußzeile)."
6297
 
6298
  #: inc/view/checklist/Shortcode.php:1
6299
+ msgid "Create legal links"
6300
+ msgstr "Legal links erstellen"
6301
 
6302
  #: inc/view/checklist/ViewStats.php:1
6303
  msgid "Check out statistics about consents"
6352
  msgid "Settings"
6353
  msgstr "Einstellungen"
6354
 
6355
+ #: inc/view/ConfigPage.php:1
6356
+ msgid "Enabled"
6357
+ msgstr "Aktiviert"
6358
+
6359
  #: inc/view/customize/banner/BasicLayout.php:1
6360
  msgid "Basic Layout"
6361
  msgstr "Grundlegendes Layout"
7345
  msgid "Additional info below the \"Load content\" button"
7346
  msgstr "Zusatzinfo unterhalb dem \"Inhalt laden”-Button"
7347
 
7348
+ #: inc/view/customize/banner/Texts.php:1
7349
+ msgid ""
7350
+ "The standard texts in the cookie banner are worded carefully. If you "
7351
+ "customize them, make sure they are not misleading or riveting. According to "
7352
+ "the <a href=\"https://www.baden-wuerttemberg.datenschutz.de/faq-zu-cookies-"
7353
+ "und-tracking-2/#13_informiertheit)\" target=\"_blank\">Data Protection "
7354
+ "Commissioner of Baden-Württeberg, Germany (Section B, 1.3.7.; German)</a>, "
7355
+ "for example, a headline \"We love cookies\" is already misleading."
7356
+ msgstr ""
7357
+ "Die Standardtexte im Cookie Banner sind mit Bedacht formuliert. Wenn du sie "
7358
+ "anpasst, achte darauf, dass sie nicht irreführend oder vernietlichend sind. "
7359
+ "Nach dem <a href=\"https://www.baden-wuerttemberg.datenschutz.de/faq-zu-"
7360
+ "cookies-und-tracking-2/#13_informiertheit)\" target=\"_blank"
7361
+ "\">Datenschutzbeauftragen von Baden-Württeberg, Deutschland (Abschnitt B, "
7362
+ "1.3.7.)</a> ist z.B. die Überschrift \"Wir lieben Cookies\" bereits "
7363
+ "irreführend."
7364
+
7365
  #. translators:
7366
  #: inc/view/customize/banner/Texts.php:1
7367
  msgid ""
7504
  msgid "Cookie Consent Banner by Real Cookie Banner"
7505
  msgstr "Cookie Consent Banner von Real Cookie Banner"
7506
 
7507
+ #: inc/view/navmenu/NavMenuLinks.php:1
7508
+ msgid "The navigation menu could not be found."
7509
+ msgstr "Das Navigationsmenü konnte nicht gefunden werden."
7510
+
7511
+ #: inc/view/navmenu/NavMenuLinks.php:1
7512
+ msgid "Change privacy settings"
7513
+ msgstr "Privatsphäre-Einstellungen ändern"
7514
+
7515
+ #: inc/view/navmenu/NavMenuLinks.php:1
7516
+ msgid "Privacy settings history"
7517
+ msgstr "Historie der Privatsphäre-Einstellungen"
7518
+
7519
+ #: inc/view/navmenu/NavMenuLinks.php:1
7520
+ msgid "Revoke consents"
7521
+ msgstr "Einwilligungen widerrufen"
7522
+
7523
+ #: inc/view/navmenu/NavMenuLinks.php:1
7524
+ msgid ""
7525
+ "You have successfully revoked the consent. The page will be reloaded now."
7526
+ msgstr ""
7527
+ "Du hast die Einwilligung erfolgreich widerrufen. Die Seite wird nun neu "
7528
+ "geladen."
7529
+
7530
+ #: inc/view/navmenu/NavMenuLinks.php:1
7531
+ msgid "Success message"
7532
+ msgstr "Erfolgsmeldung"
7533
+
7534
+ #: inc/view/navmenu/NavMenuLinks.php:1
7535
+ msgid "Add to Menu"
7536
+ msgstr "Zum Menü hinzufügen"
7537
+
7538
  #. translators:
7539
  #: inc/view/Scanner.php:1
7540
  msgid "%d recommendation found"
7570
  msgid "Please provide a `type` attribute in your shortcode. Allowed: %s!"
7571
  msgstr "Bitte gib in deinem Shortcode das Attribut `type` an. Erlaubt: %s!"
7572
 
7573
+ #~ msgid "Place shortcodes in your privacy policy"
7574
+ #~ msgstr "Platziere Shortcodes in deiner Datenschutzerklärung"
7575
+
7576
+ #~ msgid ""
7577
+ #~ "Your visitors must be able to view, change and revoke their consent at "
7578
+ #~ "any time. You should add shortcodes to your footer and privacy policy to "
7579
+ #~ "provide this feature."
7580
+ #~ msgstr ""
7581
+ #~ "Deine Besucher müssen in der Lage sein, ihre Zustimmung jederzeit "
7582
+ #~ "einzusehen, zu ändern und zu widerrufen. Du solltest Shortcodes in deinem "
7583
+ #~ "Footer und der Datenschutzerklärung einfügen, um diese Funktion "
7584
+ #~ "bereitzustellen."
7585
+
7586
+ #~ msgid "Generate shortcodes"
7587
+ #~ msgstr "Shortcodes erzeugen"
7588
+
7589
  #~ msgid "Already exists"
7590
  #~ msgstr "Bereits vorhanden"
7591
 
languages/real-cookie-banner-de_CH.mo CHANGED
Binary file
languages/real-cookie-banner-de_CH.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/src\n"
4
  "POT-Creation-Date: n/a\n"
5
- "PO-Revision-Date: 2022-02-25 09:46+0000\n"
6
  "Last-Translator: Matthias Günter <matthias.guenter@devowl.io>\n"
7
  "Language-Team: German <https://translate.devowl.io/projects/wordpress-real-"
8
  "cookie-banner-backend-php/develop/de/>\n"
@@ -70,7 +70,7 @@ msgstr "key-features/de/content-blocker.gif"
70
 
71
  #: inc/AdInitiator.php:1 inc/import/ImportBlocker.php:1
72
  #: inc/presets/UpdateNotice.php:1 inc/settings/Blocker.php:1
73
- #: inc/view/customize/banner/Texts.php:1
74
  msgid "Content Blocker"
75
  msgstr "Content Blocker"
76
 
@@ -827,6 +827,16 @@ msgstr ""
827
  "Der neu erstellte Content Blocker <code>%s</code> konnte einige zugehörige "
828
  "Beziehungen nicht korrekt auflösen."
829
 
 
 
 
 
 
 
 
 
 
 
830
  #. translators:
831
  #: inc/import/ImportMessages.php:1
832
  msgid "The service <code>%s</code> already exists. Skipped."
@@ -2854,6 +2864,7 @@ msgstr ""
2854
 
2855
  #: inc/overrides/pro/presets/GtmPreset.php:1
2856
  #: inc/overrides/pro/presets/MtmPreset.php:1 inc/presets/Presets.php:1
 
2857
  msgid "Disabled"
2858
  msgstr "Deaktiviert"
2859
 
@@ -3543,13 +3554,34 @@ msgstr ""
3543
  "Diensteanbieters übertragen, um die Nutzung des Dienstes zu ermöglichen."
3544
 
3545
  #: inc/overrides/pro/presets/MtmPreset.php:1
3546
- msgid "Matomo Tag Manager URL"
3547
- msgstr "Matomo Tag Manager-URL"
3548
 
3549
  #: inc/overrides/pro/presets/MtmPreset.php:1
3550
  msgid "Please provide a valid URL!"
3551
  msgstr "Bitte gib eine gültige URL an!"
3552
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3553
  #: inc/overrides/pro/presets/MyCruiseExcursionPreset.php:1
3554
  msgid ""
3555
  "My Cruise Excursion allows us to show you shore excursions from the My "
@@ -5761,6 +5793,14 @@ msgstr ""
5761
  "Du musst einen Content Blocker erstellen, der YouTube blockiert, bis der "
5762
  "Nutzer seine Einwilligung zum Laden gibt."
5763
 
 
 
 
 
 
 
 
 
5764
  #: inc/presets/middleware/BlockerExistsMiddleware.php:1
5765
  #: inc/presets/middleware/CookieExistsMiddleware.php:1
5766
  msgid "Already created"
@@ -6078,7 +6118,7 @@ msgstr "Ohne Kontext"
6078
  msgid "Show cookie banner again"
6079
  msgstr "Cookie Banner erneut anzeigen"
6080
 
6081
- #: inc/view/BannerCustomize.php:1
6082
  msgid "Cookie Banner"
6083
  msgstr "Cookie Banner"
6084
 
@@ -6239,23 +6279,25 @@ msgid "Open scanner"
6239
  msgstr "Scanner öffnen"
6240
 
6241
  #: inc/view/checklist/Shortcode.php:1
6242
- msgid "Place shortcodes in your privacy policy"
6243
- msgstr "Platziere Shortcodes in deiner Datenschutzerklärung"
6244
 
6245
  #: inc/view/checklist/Shortcode.php:1
6246
  msgid ""
6247
- "Your visitors must be able to view, change and revoke their consent at any "
6248
- "time. You should add shortcodes to your footer and privacy policy to provide "
6249
- "this feature."
 
6250
  msgstr ""
6251
- "Deine Besucher müssen in der Lage sein, ihre Zustimmung jederzeit "
6252
- "einzusehen, zu ändern und zu widerrufen. Du solltest Shortcodes in deinem "
6253
- "Footer und der Datenschutzerklärung einfügen, um diese Funktion "
6254
- "bereitzustellen."
 
6255
 
6256
  #: inc/view/checklist/Shortcode.php:1
6257
- msgid "Generate shortcodes"
6258
- msgstr "Shortcodes erzeugen"
6259
 
6260
  #: inc/view/checklist/ViewStats.php:1
6261
  msgid "Check out statistics about consents"
@@ -6310,6 +6352,10 @@ msgstr ""
6310
  msgid "Settings"
6311
  msgstr "Einstellungen"
6312
 
 
 
 
 
6313
  #: inc/view/customize/banner/BasicLayout.php:1
6314
  msgid "Basic Layout"
6315
  msgstr "Grundlegendes Layout"
@@ -7299,6 +7345,23 @@ msgstr "\"Inhalt laden”-Button/Link"
7299
  msgid "Additional info below the \"Load content\" button"
7300
  msgstr "Zusatzinfo unterhalb dem \"Inhalt laden”-Button"
7301
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7302
  #. translators:
7303
  #: inc/view/customize/banner/Texts.php:1
7304
  msgid ""
@@ -7441,6 +7504,37 @@ msgstr "Consent Management Platform von Real Cookie Banner"
7441
  msgid "Cookie Consent Banner by Real Cookie Banner"
7442
  msgstr "Cookie Consent Banner von Real Cookie Banner"
7443
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7444
  #. translators:
7445
  #: inc/view/Scanner.php:1
7446
  msgid "%d recommendation found"
@@ -7476,6 +7570,22 @@ msgstr "Bitte gib ein `text`-Attribut in deinem Shortcode an!"
7476
  msgid "Please provide a `type` attribute in your shortcode. Allowed: %s!"
7477
  msgstr "Bitte gib in deinem Shortcode das Attribut `type` an. Erlaubt: %s!"
7478
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7479
  #~ msgid "Already exists"
7480
  #~ msgstr "Bereits vorhanden"
7481
 
2
  msgstr ""
3
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/src\n"
4
  "POT-Creation-Date: n/a\n"
5
+ "PO-Revision-Date: 2022-04-19 12:29+0000\n"
6
  "Last-Translator: Matthias Günter <matthias.guenter@devowl.io>\n"
7
  "Language-Team: German <https://translate.devowl.io/projects/wordpress-real-"
8
  "cookie-banner-backend-php/develop/de/>\n"
70
 
71
  #: inc/AdInitiator.php:1 inc/import/ImportBlocker.php:1
72
  #: inc/presets/UpdateNotice.php:1 inc/settings/Blocker.php:1
73
+ #: inc/view/ConfigPage.php:1 inc/view/customize/banner/Texts.php:1
74
  msgid "Content Blocker"
75
  msgstr "Content Blocker"
76
 
827
  "Der neu erstellte Content Blocker <code>%s</code> konnte einige zugehörige "
828
  "Beziehungen nicht korrekt auflösen."
829
 
830
+ #. translators:
831
+ #: inc/import/ImportMessages.php:1
832
+ msgid ""
833
+ "The newly created content blocker <code>%s</code> could not set the preview "
834
+ "image because it refers to a media item within your media library (ID)"
835
+ msgstr ""
836
+ "Der neu erstellte Content Blocker <code>%s</code> konnte das Vorschaubild "
837
+ "nicht setzen, da es sich auf eine Datei in deiner Medienbibliothek bezieht "
838
+ "(ID)"
839
+
840
  #. translators:
841
  #: inc/import/ImportMessages.php:1
842
  msgid "The service <code>%s</code> already exists. Skipped."
2864
 
2865
  #: inc/overrides/pro/presets/GtmPreset.php:1
2866
  #: inc/overrides/pro/presets/MtmPreset.php:1 inc/presets/Presets.php:1
2867
+ #: inc/view/ConfigPage.php:1
2868
  msgid "Disabled"
2869
  msgstr "Deaktiviert"
2870
 
3554
  "Diensteanbieters übertragen, um die Nutzung des Dienstes zu ermöglichen."
3555
 
3556
  #: inc/overrides/pro/presets/MtmPreset.php:1
3557
+ msgid "Matomo Tag Manager container script URL"
3558
+ msgstr "Matomo Tag Manager Container Script URL"
3559
 
3560
  #: inc/overrides/pro/presets/MtmPreset.php:1
3561
  msgid "Please provide a valid URL!"
3562
  msgstr "Bitte gib eine gültige URL an!"
3563
 
3564
+ #. translators:
3565
+ #: inc/overrides/pro/presets/MtmPreset.php:1
3566
+ msgid ""
3567
+ "You can find your Matomo Tag Manager container script URL in your Matomo "
3568
+ "Admin dashboard by going to <i>Tag Manager</i>. Afterwards, select your "
3569
+ "container and click on \"Install Code\" and there you need to extract the "
3570
+ "URL from the script (<a href=\"%s\" target=\"_blank\">see example</a>)"
3571
+ msgstr ""
3572
+ "Du findest deine Matomo Tag Manager Container Script URL in deinem Matomo "
3573
+ "Admin Dashboard, indem du auf <i>Tag Manager</i> gehst. Wähle deinen "
3574
+ "Container, klicke auf \"Code installieren\" und dort musst du die URL aus "
3575
+ "dem Skript extrahieren (<a href=\"%s\" target=\"_blank\">siehe Beispiel</a>)"
3576
+
3577
+ #: inc/overrides/pro/presets/MtmPreset.php:1
3578
+ msgid ""
3579
+ "https://assets.devowl.io/in-app/wp-real-cookie-banner/services/mtm-container-"
3580
+ "script-url.png"
3581
+ msgstr ""
3582
+ "https://assets.devowl.io/in-app/wp-real-cookie-banner/services/de/mtm-"
3583
+ "container-script-url.png"
3584
+
3585
  #: inc/overrides/pro/presets/MyCruiseExcursionPreset.php:1
3586
  msgid ""
3587
  "My Cruise Excursion allows us to show you shore excursions from the My "
5793
  "Du musst einen Content Blocker erstellen, der YouTube blockiert, bis der "
5794
  "Nutzer seine Einwilligung zum Laden gibt."
5795
 
5796
+ #: inc/presets/middleware/BlockerContentTypeButtonTextMiddleware.php:1
5797
+ msgid "Load content"
5798
+ msgstr "Inhalt laden"
5799
+
5800
+ #: inc/presets/middleware/BlockerContentTypeButtonTextMiddleware.php:1
5801
+ msgid "Load map"
5802
+ msgstr "Karte laden"
5803
+
5804
  #: inc/presets/middleware/BlockerExistsMiddleware.php:1
5805
  #: inc/presets/middleware/CookieExistsMiddleware.php:1
5806
  msgid "Already created"
6118
  msgid "Show cookie banner again"
6119
  msgstr "Cookie Banner erneut anzeigen"
6120
 
6121
+ #: inc/view/BannerCustomize.php:1 inc/view/ConfigPage.php:1
6122
  msgid "Cookie Banner"
6123
  msgstr "Cookie Banner"
6124
 
6279
  msgstr "Scanner öffnen"
6280
 
6281
  #: inc/view/checklist/Shortcode.php:1
6282
+ msgid "Place legal links to your website"
6283
+ msgstr "Platziere legale Links auf deiner Website"
6284
 
6285
  #: inc/view/checklist/Shortcode.php:1
6286
  msgid ""
6287
+ "Your website visitors must be able to view their consent history, change "
6288
+ "their consent, or withdraw their consent at any time. This must be as easy "
6289
+ "as giving consent. Therefore, the shortcodes must be included on every "
6290
+ "subpage of the website (e.g. in the footer)."
6291
  msgstr ""
6292
+ "Deine Website-Besucher müssen in der Lage sein, den Verlauf ihrer "
6293
+ "Einwilligung einzusehen, ihre Einwilligung zu ändern oder sie jederzeit zu "
6294
+ "widerrufen. Das muss so einfach sein wie die Erteilung der Einwilligung. "
6295
+ "Deshalb müssen die Shortcodes auf jeder Unterseite der Website zu finden "
6296
+ "sein (z. B. im Footer/Fußzeile)."
6297
 
6298
  #: inc/view/checklist/Shortcode.php:1
6299
+ msgid "Create legal links"
6300
+ msgstr "Legal links erstellen"
6301
 
6302
  #: inc/view/checklist/ViewStats.php:1
6303
  msgid "Check out statistics about consents"
6352
  msgid "Settings"
6353
  msgstr "Einstellungen"
6354
 
6355
+ #: inc/view/ConfigPage.php:1
6356
+ msgid "Enabled"
6357
+ msgstr "Aktiviert"
6358
+
6359
  #: inc/view/customize/banner/BasicLayout.php:1
6360
  msgid "Basic Layout"
6361
  msgstr "Grundlegendes Layout"
7345
  msgid "Additional info below the \"Load content\" button"
7346
  msgstr "Zusatzinfo unterhalb dem \"Inhalt laden”-Button"
7347
 
7348
+ #: inc/view/customize/banner/Texts.php:1
7349
+ msgid ""
7350
+ "The standard texts in the cookie banner are worded carefully. If you "
7351
+ "customize them, make sure they are not misleading or riveting. According to "
7352
+ "the <a href=\"https://www.baden-wuerttemberg.datenschutz.de/faq-zu-cookies-"
7353
+ "und-tracking-2/#13_informiertheit)\" target=\"_blank\">Data Protection "
7354
+ "Commissioner of Baden-Württeberg, Germany (Section B, 1.3.7.; German)</a>, "
7355
+ "for example, a headline \"We love cookies\" is already misleading."
7356
+ msgstr ""
7357
+ "Die Standardtexte im Cookie Banner sind mit Bedacht formuliert. Wenn du sie "
7358
+ "anpasst, achte darauf, dass sie nicht irreführend oder vernietlichend sind. "
7359
+ "Nach dem <a href=\"https://www.baden-wuerttemberg.datenschutz.de/faq-zu-"
7360
+ "cookies-und-tracking-2/#13_informiertheit)\" target=\"_blank"
7361
+ "\">Datenschutzbeauftragen von Baden-Württeberg, Deutschland (Abschnitt B, "
7362
+ "1.3.7.)</a> ist z.B. die Überschrift \"Wir lieben Cookies\" bereits "
7363
+ "irreführend."
7364
+
7365
  #. translators:
7366
  #: inc/view/customize/banner/Texts.php:1
7367
  msgid ""
7504
  msgid "Cookie Consent Banner by Real Cookie Banner"
7505
  msgstr "Cookie Consent Banner von Real Cookie Banner"
7506
 
7507
+ #: inc/view/navmenu/NavMenuLinks.php:1
7508
+ msgid "The navigation menu could not be found."
7509
+ msgstr "Das Navigationsmenü konnte nicht gefunden werden."
7510
+
7511
+ #: inc/view/navmenu/NavMenuLinks.php:1
7512
+ msgid "Change privacy settings"
7513
+ msgstr "Privatsphäre-Einstellungen ändern"
7514
+
7515
+ #: inc/view/navmenu/NavMenuLinks.php:1
7516
+ msgid "Privacy settings history"
7517
+ msgstr "Historie der Privatsphäre-Einstellungen"
7518
+
7519
+ #: inc/view/navmenu/NavMenuLinks.php:1
7520
+ msgid "Revoke consents"
7521
+ msgstr "Einwilligungen widerrufen"
7522
+
7523
+ #: inc/view/navmenu/NavMenuLinks.php:1
7524
+ msgid ""
7525
+ "You have successfully revoked the consent. The page will be reloaded now."
7526
+ msgstr ""
7527
+ "Du hast die Einwilligung erfolgreich widerrufen. Die Seite wird nun neu "
7528
+ "geladen."
7529
+
7530
+ #: inc/view/navmenu/NavMenuLinks.php:1
7531
+ msgid "Success message"
7532
+ msgstr "Erfolgsmeldung"
7533
+
7534
+ #: inc/view/navmenu/NavMenuLinks.php:1
7535
+ msgid "Add to Menu"
7536
+ msgstr "Zum Menü hinzufügen"
7537
+
7538
  #. translators:
7539
  #: inc/view/Scanner.php:1
7540
  msgid "%d recommendation found"
7570
  msgid "Please provide a `type` attribute in your shortcode. Allowed: %s!"
7571
  msgstr "Bitte gib in deinem Shortcode das Attribut `type` an. Erlaubt: %s!"
7572
 
7573
+ #~ msgid "Place shortcodes in your privacy policy"
7574
+ #~ msgstr "Platziere Shortcodes in deiner Datenschutzerklärung"
7575
+
7576
+ #~ msgid ""
7577
+ #~ "Your visitors must be able to view, change and revoke their consent at "
7578
+ #~ "any time. You should add shortcodes to your footer and privacy policy to "
7579
+ #~ "provide this feature."
7580
+ #~ msgstr ""
7581
+ #~ "Deine Besucher müssen in der Lage sein, ihre Zustimmung jederzeit "
7582
+ #~ "einzusehen, zu ändern und zu widerrufen. Du solltest Shortcodes in deinem "
7583
+ #~ "Footer und der Datenschutzerklärung einfügen, um diese Funktion "
7584
+ #~ "bereitzustellen."
7585
+
7586
+ #~ msgid "Generate shortcodes"
7587
+ #~ msgstr "Shortcodes erzeugen"
7588
+
7589
  #~ msgid "Already exists"
7590
  #~ msgstr "Bereits vorhanden"
7591
 
languages/real-cookie-banner-de_CH_informal.mo CHANGED
Binary file
languages/real-cookie-banner-de_CH_informal.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/src\n"
4
  "POT-Creation-Date: n/a\n"
5
- "PO-Revision-Date: 2022-02-25 09:46+0000\n"
6
  "Last-Translator: Matthias Günter <matthias.guenter@devowl.io>\n"
7
  "Language-Team: German <https://translate.devowl.io/projects/wordpress-real-"
8
  "cookie-banner-backend-php/develop/de/>\n"
@@ -70,7 +70,7 @@ msgstr "key-features/de/content-blocker.gif"
70
 
71
  #: inc/AdInitiator.php:1 inc/import/ImportBlocker.php:1
72
  #: inc/presets/UpdateNotice.php:1 inc/settings/Blocker.php:1
73
- #: inc/view/customize/banner/Texts.php:1
74
  msgid "Content Blocker"
75
  msgstr "Content Blocker"
76
 
@@ -827,6 +827,16 @@ msgstr ""
827
  "Der neu erstellte Content Blocker <code>%s</code> konnte einige zugehörige "
828
  "Beziehungen nicht korrekt auflösen."
829
 
 
 
 
 
 
 
 
 
 
 
830
  #. translators:
831
  #: inc/import/ImportMessages.php:1
832
  msgid "The service <code>%s</code> already exists. Skipped."
@@ -2854,6 +2864,7 @@ msgstr ""
2854
 
2855
  #: inc/overrides/pro/presets/GtmPreset.php:1
2856
  #: inc/overrides/pro/presets/MtmPreset.php:1 inc/presets/Presets.php:1
 
2857
  msgid "Disabled"
2858
  msgstr "Deaktiviert"
2859
 
@@ -3543,13 +3554,34 @@ msgstr ""
3543
  "Diensteanbieters übertragen, um die Nutzung des Dienstes zu ermöglichen."
3544
 
3545
  #: inc/overrides/pro/presets/MtmPreset.php:1
3546
- msgid "Matomo Tag Manager URL"
3547
- msgstr "Matomo Tag Manager-URL"
3548
 
3549
  #: inc/overrides/pro/presets/MtmPreset.php:1
3550
  msgid "Please provide a valid URL!"
3551
  msgstr "Bitte gib eine gültige URL an!"
3552
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3553
  #: inc/overrides/pro/presets/MyCruiseExcursionPreset.php:1
3554
  msgid ""
3555
  "My Cruise Excursion allows us to show you shore excursions from the My "
@@ -5761,6 +5793,14 @@ msgstr ""
5761
  "Du musst einen Content Blocker erstellen, der YouTube blockiert, bis der "
5762
  "Nutzer seine Einwilligung zum Laden gibt."
5763
 
 
 
 
 
 
 
 
 
5764
  #: inc/presets/middleware/BlockerExistsMiddleware.php:1
5765
  #: inc/presets/middleware/CookieExistsMiddleware.php:1
5766
  msgid "Already created"
@@ -6078,7 +6118,7 @@ msgstr "Ohne Kontext"
6078
  msgid "Show cookie banner again"
6079
  msgstr "Cookie Banner erneut anzeigen"
6080
 
6081
- #: inc/view/BannerCustomize.php:1
6082
  msgid "Cookie Banner"
6083
  msgstr "Cookie Banner"
6084
 
@@ -6239,23 +6279,25 @@ msgid "Open scanner"
6239
  msgstr "Scanner öffnen"
6240
 
6241
  #: inc/view/checklist/Shortcode.php:1
6242
- msgid "Place shortcodes in your privacy policy"
6243
- msgstr "Platziere Shortcodes in deiner Datenschutzerklärung"
6244
 
6245
  #: inc/view/checklist/Shortcode.php:1
6246
  msgid ""
6247
- "Your visitors must be able to view, change and revoke their consent at any "
6248
- "time. You should add shortcodes to your footer and privacy policy to provide "
6249
- "this feature."
 
6250
  msgstr ""
6251
- "Deine Besucher müssen in der Lage sein, ihre Zustimmung jederzeit "
6252
- "einzusehen, zu ändern und zu widerrufen. Du solltest Shortcodes in deinem "
6253
- "Footer und der Datenschutzerklärung einfügen, um diese Funktion "
6254
- "bereitzustellen."
 
6255
 
6256
  #: inc/view/checklist/Shortcode.php:1
6257
- msgid "Generate shortcodes"
6258
- msgstr "Shortcodes erzeugen"
6259
 
6260
  #: inc/view/checklist/ViewStats.php:1
6261
  msgid "Check out statistics about consents"
@@ -6310,6 +6352,10 @@ msgstr ""
6310
  msgid "Settings"
6311
  msgstr "Einstellungen"
6312
 
 
 
 
 
6313
  #: inc/view/customize/banner/BasicLayout.php:1
6314
  msgid "Basic Layout"
6315
  msgstr "Grundlegendes Layout"
@@ -7299,6 +7345,23 @@ msgstr "\"Inhalt laden”-Button/Link"
7299
  msgid "Additional info below the \"Load content\" button"
7300
  msgstr "Zusatzinfo unterhalb dem \"Inhalt laden”-Button"
7301
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7302
  #. translators:
7303
  #: inc/view/customize/banner/Texts.php:1
7304
  msgid ""
@@ -7441,6 +7504,37 @@ msgstr "Consent Management Platform von Real Cookie Banner"
7441
  msgid "Cookie Consent Banner by Real Cookie Banner"
7442
  msgstr "Cookie Consent Banner von Real Cookie Banner"
7443
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7444
  #. translators:
7445
  #: inc/view/Scanner.php:1
7446
  msgid "%d recommendation found"
@@ -7476,6 +7570,22 @@ msgstr "Bitte gib ein `text`-Attribut in deinem Shortcode an!"
7476
  msgid "Please provide a `type` attribute in your shortcode. Allowed: %s!"
7477
  msgstr "Bitte gib in deinem Shortcode das Attribut `type` an. Erlaubt: %s!"
7478
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7479
  #~ msgid "Already exists"
7480
  #~ msgstr "Bereits vorhanden"
7481
 
2
  msgstr ""
3
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/src\n"
4
  "POT-Creation-Date: n/a\n"
5
+ "PO-Revision-Date: 2022-04-19 12:29+0000\n"
6
  "Last-Translator: Matthias Günter <matthias.guenter@devowl.io>\n"
7
  "Language-Team: German <https://translate.devowl.io/projects/wordpress-real-"
8
  "cookie-banner-backend-php/develop/de/>\n"
70
 
71
  #: inc/AdInitiator.php:1 inc/import/ImportBlocker.php:1
72
  #: inc/presets/UpdateNotice.php:1 inc/settings/Blocker.php:1
73
+ #: inc/view/ConfigPage.php:1 inc/view/customize/banner/Texts.php:1
74
  msgid "Content Blocker"
75
  msgstr "Content Blocker"
76
 
827
  "Der neu erstellte Content Blocker <code>%s</code> konnte einige zugehörige "
828
  "Beziehungen nicht korrekt auflösen."
829
 
830
+ #. translators:
831
+ #: inc/import/ImportMessages.php:1
832
+ msgid ""
833
+ "The newly created content blocker <code>%s</code> could not set the preview "
834
+ "image because it refers to a media item within your media library (ID)"
835
+ msgstr ""
836
+ "Der neu erstellte Content Blocker <code>%s</code> konnte das Vorschaubild "
837
+ "nicht setzen, da es sich auf eine Datei in deiner Medienbibliothek bezieht "
838
+ "(ID)"
839
+
840
  #. translators:
841
  #: inc/import/ImportMessages.php:1
842
  msgid "The service <code>%s</code> already exists. Skipped."
2864
 
2865
  #: inc/overrides/pro/presets/GtmPreset.php:1
2866
  #: inc/overrides/pro/presets/MtmPreset.php:1 inc/presets/Presets.php:1
2867
+ #: inc/view/ConfigPage.php:1
2868
  msgid "Disabled"
2869
  msgstr "Deaktiviert"
2870
 
3554
  "Diensteanbieters übertragen, um die Nutzung des Dienstes zu ermöglichen."
3555
 
3556
  #: inc/overrides/pro/presets/MtmPreset.php:1
3557
+ msgid "Matomo Tag Manager container script URL"
3558
+ msgstr "Matomo Tag Manager Container Script URL"
3559
 
3560
  #: inc/overrides/pro/presets/MtmPreset.php:1
3561
  msgid "Please provide a valid URL!"
3562
  msgstr "Bitte gib eine gültige URL an!"
3563
 
3564
+ #. translators:
3565
+ #: inc/overrides/pro/presets/MtmPreset.php:1
3566
+ msgid ""
3567
+ "You can find your Matomo Tag Manager container script URL in your Matomo "
3568
+ "Admin dashboard by going to <i>Tag Manager</i>. Afterwards, select your "
3569
+ "container and click on \"Install Code\" and there you need to extract the "
3570
+ "URL from the script (<a href=\"%s\" target=\"_blank\">see example</a>)"
3571
+ msgstr ""
3572
+ "Du findest deine Matomo Tag Manager Container Script URL in deinem Matomo "
3573
+ "Admin Dashboard, indem du auf <i>Tag Manager</i> gehst. Wähle deinen "
3574
+ "Container, klicke auf \"Code installieren\" und dort musst du die URL aus "
3575
+ "dem Skript extrahieren (<a href=\"%s\" target=\"_blank\">siehe Beispiel</a>)"
3576
+
3577
+ #: inc/overrides/pro/presets/MtmPreset.php:1
3578
+ msgid ""
3579
+ "https://assets.devowl.io/in-app/wp-real-cookie-banner/services/mtm-container-"
3580
+ "script-url.png"
3581
+ msgstr ""
3582
+ "https://assets.devowl.io/in-app/wp-real-cookie-banner/services/de/mtm-"
3583
+ "container-script-url.png"
3584
+
3585
  #: inc/overrides/pro/presets/MyCruiseExcursionPreset.php:1
3586
  msgid ""
3587
  "My Cruise Excursion allows us to show you shore excursions from the My "
5793
  "Du musst einen Content Blocker erstellen, der YouTube blockiert, bis der "
5794
  "Nutzer seine Einwilligung zum Laden gibt."
5795
 
5796
+ #: inc/presets/middleware/BlockerContentTypeButtonTextMiddleware.php:1
5797
+ msgid "Load content"
5798
+ msgstr "Inhalt laden"
5799
+
5800
+ #: inc/presets/middleware/BlockerContentTypeButtonTextMiddleware.php:1
5801
+ msgid "Load map"
5802
+ msgstr "Karte laden"
5803
+
5804
  #: inc/presets/middleware/BlockerExistsMiddleware.php:1
5805
  #: inc/presets/middleware/CookieExistsMiddleware.php:1
5806
  msgid "Already created"
6118
  msgid "Show cookie banner again"
6119
  msgstr "Cookie Banner erneut anzeigen"
6120
 
6121
+ #: inc/view/BannerCustomize.php:1 inc/view/ConfigPage.php:1
6122
  msgid "Cookie Banner"
6123
  msgstr "Cookie Banner"
6124
 
6279
  msgstr "Scanner öffnen"
6280
 
6281
  #: inc/view/checklist/Shortcode.php:1
6282
+ msgid "Place legal links to your website"
6283
+ msgstr "Platziere legale Links auf deiner Website"
6284
 
6285
  #: inc/view/checklist/Shortcode.php:1
6286
  msgid ""
6287
+ "Your website visitors must be able to view their consent history, change "
6288
+ "their consent, or withdraw their consent at any time. This must be as easy "
6289
+ "as giving consent. Therefore, the shortcodes must be included on every "
6290
+ "subpage of the website (e.g. in the footer)."
6291
  msgstr ""
6292
+ "Deine Website-Besucher müssen in der Lage sein, den Verlauf ihrer "
6293
+ "Einwilligung einzusehen, ihre Einwilligung zu ändern oder sie jederzeit zu "
6294
+ "widerrufen. Das muss so einfach sein wie die Erteilung der Einwilligung. "
6295
+ "Deshalb müssen die Shortcodes auf jeder Unterseite der Website zu finden "
6296
+ "sein (z. B. im Footer/Fußzeile)."
6297
 
6298
  #: inc/view/checklist/Shortcode.php:1
6299
+ msgid "Create legal links"
6300
+ msgstr "Legal links erstellen"
6301
 
6302
  #: inc/view/checklist/ViewStats.php:1
6303
  msgid "Check out statistics about consents"
6352
  msgid "Settings"
6353
  msgstr "Einstellungen"
6354
 
6355
+ #: inc/view/ConfigPage.php:1
6356
+ msgid "Enabled"
6357
+ msgstr "Aktiviert"
6358
+
6359
  #: inc/view/customize/banner/BasicLayout.php:1
6360
  msgid "Basic Layout"
6361
  msgstr "Grundlegendes Layout"
7345
  msgid "Additional info below the \"Load content\" button"
7346
  msgstr "Zusatzinfo unterhalb dem \"Inhalt laden”-Button"
7347
 
7348
+ #: inc/view/customize/banner/Texts.php:1
7349
+ msgid ""
7350
+ "The standard texts in the cookie banner are worded carefully. If you "
7351
+ "customize them, make sure they are not misleading or riveting. According to "
7352
+ "the <a href=\"https://www.baden-wuerttemberg.datenschutz.de/faq-zu-cookies-"
7353
+ "und-tracking-2/#13_informiertheit)\" target=\"_blank\">Data Protection "
7354
+ "Commissioner of Baden-Württeberg, Germany (Section B, 1.3.7.; German)</a>, "
7355
+ "for example, a headline \"We love cookies\" is already misleading."
7356
+ msgstr ""
7357
+ "Die Standardtexte im Cookie Banner sind mit Bedacht formuliert. Wenn du sie "
7358
+ "anpasst, achte darauf, dass sie nicht irreführend oder vernietlichend sind. "
7359
+ "Nach dem <a href=\"https://www.baden-wuerttemberg.datenschutz.de/faq-zu-"
7360
+ "cookies-und-tracking-2/#13_informiertheit)\" target=\"_blank"
7361
+ "\">Datenschutzbeauftragen von Baden-Württeberg, Deutschland (Abschnitt B, "
7362
+ "1.3.7.)</a> ist z.B. die Überschrift \"Wir lieben Cookies\" bereits "
7363
+ "irreführend."
7364
+
7365
  #. translators:
7366
  #: inc/view/customize/banner/Texts.php:1
7367
  msgid ""
7504
  msgid "Cookie Consent Banner by Real Cookie Banner"
7505
  msgstr "Cookie Consent Banner von Real Cookie Banner"
7506
 
7507
+ #: inc/view/navmenu/NavMenuLinks.php:1
7508
+ msgid "The navigation menu could not be found."
7509
+ msgstr "Das Navigationsmenü konnte nicht gefunden werden."
7510
+
7511
+ #: inc/view/navmenu/NavMenuLinks.php:1
7512
+ msgid "Change privacy settings"
7513
+ msgstr "Privatsphäre-Einstellungen ändern"
7514
+
7515
+ #: inc/view/navmenu/NavMenuLinks.php:1
7516
+ msgid "Privacy settings history"
7517
+ msgstr "Historie der Privatsphäre-Einstellungen"
7518
+
7519
+ #: inc/view/navmenu/NavMenuLinks.php:1
7520
+ msgid "Revoke consents"
7521
+ msgstr "Einwilligungen widerrufen"
7522
+
7523
+ #: inc/view/navmenu/NavMenuLinks.php:1
7524
+ msgid ""
7525
+ "You have successfully revoked the consent. The page will be reloaded now."
7526
+ msgstr ""
7527
+ "Du hast die Einwilligung erfolgreich widerrufen. Die Seite wird nun neu "
7528
+ "geladen."
7529
+
7530
+ #: inc/view/navmenu/NavMenuLinks.php:1
7531
+ msgid "Success message"
7532
+ msgstr "Erfolgsmeldung"
7533
+
7534
+ #: inc/view/navmenu/NavMenuLinks.php:1
7535
+ msgid "Add to Menu"
7536
+ msgstr "Zum Menü hinzufügen"
7537
+
7538
  #. translators:
7539
  #: inc/view/Scanner.php:1
7540
  msgid "%d recommendation found"
7570
  msgid "Please provide a `type` attribute in your shortcode. Allowed: %s!"
7571
  msgstr "Bitte gib in deinem Shortcode das Attribut `type` an. Erlaubt: %s!"
7572
 
7573
+ #~ msgid "Place shortcodes in your privacy policy"
7574
+ #~ msgstr "Platziere Shortcodes in deiner Datenschutzerklärung"
7575
+
7576
+ #~ msgid ""
7577
+ #~ "Your visitors must be able to view, change and revoke their consent at "
7578
+ #~ "any time. You should add shortcodes to your footer and privacy policy to "
7579
+ #~ "provide this feature."
7580
+ #~ msgstr ""
7581
+ #~ "Deine Besucher müssen in der Lage sein, ihre Zustimmung jederzeit "
7582
+ #~ "einzusehen, zu ändern und zu widerrufen. Du solltest Shortcodes in deinem "
7583
+ #~ "Footer und der Datenschutzerklärung einfügen, um diese Funktion "
7584
+ #~ "bereitzustellen."
7585
+
7586
+ #~ msgid "Generate shortcodes"
7587
+ #~ msgstr "Shortcodes erzeugen"
7588
+
7589
  #~ msgid "Already exists"
7590
  #~ msgstr "Bereits vorhanden"
7591
 
languages/real-cookie-banner-de_DE.mo CHANGED
Binary file
languages/real-cookie-banner-de_DE.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/src\n"
4
  "POT-Creation-Date: n/a\n"
5
- "PO-Revision-Date: 2022-02-25 09:46+0000\n"
6
  "Last-Translator: Matthias Günter <matthias.guenter@devowl.io>\n"
7
  "Language-Team: German <https://translate.devowl.io/projects/wordpress-real-"
8
  "cookie-banner-backend-php/develop/de/>\n"
@@ -70,7 +70,7 @@ msgstr "key-features/de/content-blocker.gif"
70
 
71
  #: inc/AdInitiator.php:1 inc/import/ImportBlocker.php:1
72
  #: inc/presets/UpdateNotice.php:1 inc/settings/Blocker.php:1
73
- #: inc/view/customize/banner/Texts.php:1
74
  msgid "Content Blocker"
75
  msgstr "Content Blocker"
76
 
@@ -827,6 +827,16 @@ msgstr ""
827
  "Der neu erstellte Content Blocker <code>%s</code> konnte einige zugehörige "
828
  "Beziehungen nicht korrekt auflösen."
829
 
 
 
 
 
 
 
 
 
 
 
830
  #. translators:
831
  #: inc/import/ImportMessages.php:1
832
  msgid "The service <code>%s</code> already exists. Skipped."
@@ -2854,6 +2864,7 @@ msgstr ""
2854
 
2855
  #: inc/overrides/pro/presets/GtmPreset.php:1
2856
  #: inc/overrides/pro/presets/MtmPreset.php:1 inc/presets/Presets.php:1
 
2857
  msgid "Disabled"
2858
  msgstr "Deaktiviert"
2859
 
@@ -3543,13 +3554,34 @@ msgstr ""
3543
  "Diensteanbieters übertragen, um die Nutzung des Dienstes zu ermöglichen."
3544
 
3545
  #: inc/overrides/pro/presets/MtmPreset.php:1
3546
- msgid "Matomo Tag Manager URL"
3547
- msgstr "Matomo Tag Manager-URL"
3548
 
3549
  #: inc/overrides/pro/presets/MtmPreset.php:1
3550
  msgid "Please provide a valid URL!"
3551
  msgstr "Bitte gib eine gültige URL an!"
3552
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3553
  #: inc/overrides/pro/presets/MyCruiseExcursionPreset.php:1
3554
  msgid ""
3555
  "My Cruise Excursion allows us to show you shore excursions from the My "
@@ -5761,6 +5793,14 @@ msgstr ""
5761
  "Du musst einen Content Blocker erstellen, der YouTube blockiert, bis der "
5762
  "Nutzer seine Einwilligung zum Laden gibt."
5763
 
 
 
 
 
 
 
 
 
5764
  #: inc/presets/middleware/BlockerExistsMiddleware.php:1
5765
  #: inc/presets/middleware/CookieExistsMiddleware.php:1
5766
  msgid "Already created"
@@ -6078,7 +6118,7 @@ msgstr "Ohne Kontext"
6078
  msgid "Show cookie banner again"
6079
  msgstr "Cookie Banner erneut anzeigen"
6080
 
6081
- #: inc/view/BannerCustomize.php:1
6082
  msgid "Cookie Banner"
6083
  msgstr "Cookie Banner"
6084
 
@@ -6239,23 +6279,25 @@ msgid "Open scanner"
6239
  msgstr "Scanner öffnen"
6240
 
6241
  #: inc/view/checklist/Shortcode.php:1
6242
- msgid "Place shortcodes in your privacy policy"
6243
- msgstr "Platziere Shortcodes in deiner Datenschutzerklärung"
6244
 
6245
  #: inc/view/checklist/Shortcode.php:1
6246
  msgid ""
6247
- "Your visitors must be able to view, change and revoke their consent at any "
6248
- "time. You should add shortcodes to your footer and privacy policy to provide "
6249
- "this feature."
 
6250
  msgstr ""
6251
- "Deine Besucher müssen in der Lage sein, ihre Zustimmung jederzeit "
6252
- "einzusehen, zu ändern und zu widerrufen. Du solltest Shortcodes in deinem "
6253
- "Footer und der Datenschutzerklärung einfügen, um diese Funktion "
6254
- "bereitzustellen."
 
6255
 
6256
  #: inc/view/checklist/Shortcode.php:1
6257
- msgid "Generate shortcodes"
6258
- msgstr "Shortcodes erzeugen"
6259
 
6260
  #: inc/view/checklist/ViewStats.php:1
6261
  msgid "Check out statistics about consents"
@@ -6310,6 +6352,10 @@ msgstr ""
6310
  msgid "Settings"
6311
  msgstr "Einstellungen"
6312
 
 
 
 
 
6313
  #: inc/view/customize/banner/BasicLayout.php:1
6314
  msgid "Basic Layout"
6315
  msgstr "Grundlegendes Layout"
@@ -7299,6 +7345,23 @@ msgstr "\"Inhalt laden”-Button/Link"
7299
  msgid "Additional info below the \"Load content\" button"
7300
  msgstr "Zusatzinfo unterhalb dem \"Inhalt laden”-Button"
7301
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7302
  #. translators:
7303
  #: inc/view/customize/banner/Texts.php:1
7304
  msgid ""
@@ -7441,6 +7504,37 @@ msgstr "Consent Management Platform von Real Cookie Banner"
7441
  msgid "Cookie Consent Banner by Real Cookie Banner"
7442
  msgstr "Cookie Consent Banner von Real Cookie Banner"
7443
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7444
  #. translators:
7445
  #: inc/view/Scanner.php:1
7446
  msgid "%d recommendation found"
@@ -7476,6 +7570,22 @@ msgstr "Bitte gib ein `text`-Attribut in deinem Shortcode an!"
7476
  msgid "Please provide a `type` attribute in your shortcode. Allowed: %s!"
7477
  msgstr "Bitte gib in deinem Shortcode das Attribut `type` an. Erlaubt: %s!"
7478
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7479
  #~ msgid "Already exists"
7480
  #~ msgstr "Bereits vorhanden"
7481
 
2
  msgstr ""
3
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/src\n"
4
  "POT-Creation-Date: n/a\n"
5
+ "PO-Revision-Date: 2022-04-19 12:29+0000\n"
6
  "Last-Translator: Matthias Günter <matthias.guenter@devowl.io>\n"
7
  "Language-Team: German <https://translate.devowl.io/projects/wordpress-real-"
8
  "cookie-banner-backend-php/develop/de/>\n"
70
 
71
  #: inc/AdInitiator.php:1 inc/import/ImportBlocker.php:1
72
  #: inc/presets/UpdateNotice.php:1 inc/settings/Blocker.php:1
73
+ #: inc/view/ConfigPage.php:1 inc/view/customize/banner/Texts.php:1
74
  msgid "Content Blocker"
75
  msgstr "Content Blocker"
76
 
827
  "Der neu erstellte Content Blocker <code>%s</code> konnte einige zugehörige "
828
  "Beziehungen nicht korrekt auflösen."
829
 
830
+ #. translators:
831
+ #: inc/import/ImportMessages.php:1
832
+ msgid ""
833
+ "The newly created content blocker <code>%s</code> could not set the preview "
834
+ "image because it refers to a media item within your media library (ID)"
835
+ msgstr ""
836
+ "Der neu erstellte Content Blocker <code>%s</code> konnte das Vorschaubild "
837
+ "nicht setzen, da es sich auf eine Datei in deiner Medienbibliothek bezieht "
838
+ "(ID)"
839
+
840
  #. translators:
841
  #: inc/import/ImportMessages.php:1
842
  msgid "The service <code>%s</code> already exists. Skipped."
2864
 
2865
  #: inc/overrides/pro/presets/GtmPreset.php:1
2866
  #: inc/overrides/pro/presets/MtmPreset.php:1 inc/presets/Presets.php:1
2867
+ #: inc/view/ConfigPage.php:1
2868
  msgid "Disabled"
2869
  msgstr "Deaktiviert"
2870
 
3554
  "Diensteanbieters übertragen, um die Nutzung des Dienstes zu ermöglichen."
3555
 
3556
  #: inc/overrides/pro/presets/MtmPreset.php:1
3557
+ msgid "Matomo Tag Manager container script URL"
3558
+ msgstr "Matomo Tag Manager Container Script URL"
3559
 
3560
  #: inc/overrides/pro/presets/MtmPreset.php:1
3561
  msgid "Please provide a valid URL!"
3562
  msgstr "Bitte gib eine gültige URL an!"
3563
 
3564
+ #. translators:
3565
+ #: inc/overrides/pro/presets/MtmPreset.php:1
3566
+ msgid ""
3567
+ "You can find your Matomo Tag Manager container script URL in your Matomo "
3568
+ "Admin dashboard by going to <i>Tag Manager</i>. Afterwards, select your "
3569
+ "container and click on \"Install Code\" and there you need to extract the "
3570
+ "URL from the script (<a href=\"%s\" target=\"_blank\">see example</a>)"
3571
+ msgstr ""
3572
+ "Du findest deine Matomo Tag Manager Container Script URL in deinem Matomo "
3573
+ "Admin Dashboard, indem du auf <i>Tag Manager</i> gehst. Wähle deinen "
3574
+ "Container, klicke auf \"Code installieren\" und dort musst du die URL aus "
3575
+ "dem Skript extrahieren (<a href=\"%s\" target=\"_blank\">siehe Beispiel</a>)"
3576
+
3577
+ #: inc/overrides/pro/presets/MtmPreset.php:1
3578
+ msgid ""
3579
+ "https://assets.devowl.io/in-app/wp-real-cookie-banner/services/mtm-container-"
3580
+ "script-url.png"
3581
+ msgstr ""
3582
+ "https://assets.devowl.io/in-app/wp-real-cookie-banner/services/de/mtm-"
3583
+ "container-script-url.png"
3584
+
3585
  #: inc/overrides/pro/presets/MyCruiseExcursionPreset.php:1
3586
  msgid ""
3587
  "My Cruise Excursion allows us to show you shore excursions from the My "
5793
  "Du musst einen Content Blocker erstellen, der YouTube blockiert, bis der "
5794
  "Nutzer seine Einwilligung zum Laden gibt."
5795
 
5796
+ #: inc/presets/middleware/BlockerContentTypeButtonTextMiddleware.php:1
5797
+ msgid "Load content"
5798
+ msgstr "Inhalt laden"
5799
+
5800
+ #: inc/presets/middleware/BlockerContentTypeButtonTextMiddleware.php:1
5801
+ msgid "Load map"
5802
+ msgstr "Karte laden"
5803
+
5804
  #: inc/presets/middleware/BlockerExistsMiddleware.php:1
5805
  #: inc/presets/middleware/CookieExistsMiddleware.php:1
5806
  msgid "Already created"
6118
  msgid "Show cookie banner again"
6119
  msgstr "Cookie Banner erneut anzeigen"
6120
 
6121
+ #: inc/view/BannerCustomize.php:1 inc/view/ConfigPage.php:1
6122
  msgid "Cookie Banner"
6123
  msgstr "Cookie Banner"
6124
 
6279
  msgstr "Scanner öffnen"
6280
 
6281
  #: inc/view/checklist/Shortcode.php:1
6282
+ msgid "Place legal links to your website"
6283
+ msgstr "Platziere legale Links auf deiner Website"
6284
 
6285
  #: inc/view/checklist/Shortcode.php:1
6286
  msgid ""
6287
+ "Your website visitors must be able to view their consent history, change "
6288
+ "their consent, or withdraw their consent at any time. This must be as easy "
6289
+ "as giving consent. Therefore, the shortcodes must be included on every "
6290
+ "subpage of the website (e.g. in the footer)."
6291
  msgstr ""
6292
+ "Deine Website-Besucher müssen in der Lage sein, den Verlauf ihrer "
6293
+ "Einwilligung einzusehen, ihre Einwilligung zu ändern oder sie jederzeit zu "
6294
+ "widerrufen. Das muss so einfach sein wie die Erteilung der Einwilligung. "
6295
+ "Deshalb müssen die Shortcodes auf jeder Unterseite der Website zu finden "
6296
+ "sein (z. B. im Footer/Fußzeile)."
6297
 
6298
  #: inc/view/checklist/Shortcode.php:1
6299
+ msgid "Create legal links"
6300
+ msgstr "Legal links erstellen"
6301
 
6302
  #: inc/view/checklist/ViewStats.php:1
6303
  msgid "Check out statistics about consents"
6352
  msgid "Settings"
6353
  msgstr "Einstellungen"
6354
 
6355
+ #: inc/view/ConfigPage.php:1
6356
+ msgid "Enabled"
6357
+ msgstr "Aktiviert"
6358
+
6359
  #: inc/view/customize/banner/BasicLayout.php:1
6360
  msgid "Basic Layout"
6361
  msgstr "Grundlegendes Layout"
7345
  msgid "Additional info below the \"Load content\" button"
7346
  msgstr "Zusatzinfo unterhalb dem \"Inhalt laden”-Button"
7347
 
7348
+ #: inc/view/customize/banner/Texts.php:1
7349
+ msgid ""
7350
+ "The standard texts in the cookie banner are worded carefully. If you "
7351
+ "customize them, make sure they are not misleading or riveting. According to "
7352
+ "the <a href=\"https://www.baden-wuerttemberg.datenschutz.de/faq-zu-cookies-"
7353
+ "und-tracking-2/#13_informiertheit)\" target=\"_blank\">Data Protection "
7354
+ "Commissioner of Baden-Württeberg, Germany (Section B, 1.3.7.; German)</a>, "
7355
+ "for example, a headline \"We love cookies\" is already misleading."
7356
+ msgstr ""
7357
+ "Die Standardtexte im Cookie Banner sind mit Bedacht formuliert. Wenn du sie "
7358
+ "anpasst, achte darauf, dass sie nicht irreführend oder vernietlichend sind. "
7359
+ "Nach dem <a href=\"https://www.baden-wuerttemberg.datenschutz.de/faq-zu-"
7360
+ "cookies-und-tracking-2/#13_informiertheit)\" target=\"_blank"
7361
+ "\">Datenschutzbeauftragen von Baden-Württeberg, Deutschland (Abschnitt B, "
7362
+ "1.3.7.)</a> ist z.B. die Überschrift \"Wir lieben Cookies\" bereits "
7363
+ "irreführend."
7364
+
7365
  #. translators:
7366
  #: inc/view/customize/banner/Texts.php:1
7367
  msgid ""
7504
  msgid "Cookie Consent Banner by Real Cookie Banner"
7505
  msgstr "Cookie Consent Banner von Real Cookie Banner"
7506
 
7507
+ #: inc/view/navmenu/NavMenuLinks.php:1
7508
+ msgid "The navigation menu could not be found."
7509
+ msgstr "Das Navigationsmenü konnte nicht gefunden werden."
7510
+
7511
+ #: inc/view/navmenu/NavMenuLinks.php:1
7512
+ msgid "Change privacy settings"
7513
+ msgstr "Privatsphäre-Einstellungen ändern"
7514
+
7515
+ #: inc/view/navmenu/NavMenuLinks.php:1
7516
+ msgid "Privacy settings history"
7517
+ msgstr "Historie der Privatsphäre-Einstellungen"
7518
+
7519
+ #: inc/view/navmenu/NavMenuLinks.php:1
7520
+ msgid "Revoke consents"
7521
+ msgstr "Einwilligungen widerrufen"
7522
+
7523
+ #: inc/view/navmenu/NavMenuLinks.php:1
7524
+ msgid ""
7525
+ "You have successfully revoked the consent. The page will be reloaded now."
7526
+ msgstr ""
7527
+ "Du hast die Einwilligung erfolgreich widerrufen. Die Seite wird nun neu "
7528
+ "geladen."
7529
+
7530
+ #: inc/view/navmenu/NavMenuLinks.php:1
7531
+ msgid "Success message"
7532
+ msgstr "Erfolgsmeldung"
7533
+
7534
+ #: inc/view/navmenu/NavMenuLinks.php:1
7535
+ msgid "Add to Menu"
7536
+ msgstr "Zum Menü hinzufügen"
7537
+
7538
  #. translators:
7539
  #: inc/view/Scanner.php:1
7540
  msgid "%d recommendation found"
7570
  msgid "Please provide a `type` attribute in your shortcode. Allowed: %s!"
7571
  msgstr "Bitte gib in deinem Shortcode das Attribut `type` an. Erlaubt: %s!"
7572
 
7573
+ #~ msgid "Place shortcodes in your privacy policy"
7574
+ #~ msgstr "Platziere Shortcodes in deiner Datenschutzerklärung"
7575
+
7576
+ #~ msgid ""
7577
+ #~ "Your visitors must be able to view, change and revoke their consent at "
7578
+ #~ "any time. You should add shortcodes to your footer and privacy policy to "
7579
+ #~ "provide this feature."
7580
+ #~ msgstr ""
7581
+ #~ "Deine Besucher müssen in der Lage sein, ihre Zustimmung jederzeit "
7582
+ #~ "einzusehen, zu ändern und zu widerrufen. Du solltest Shortcodes in deinem "
7583
+ #~ "Footer und der Datenschutzerklärung einfügen, um diese Funktion "
7584
+ #~ "bereitzustellen."
7585
+
7586
+ #~ msgid "Generate shortcodes"
7587
+ #~ msgstr "Shortcodes erzeugen"
7588
+
7589
  #~ msgid "Already exists"
7590
  #~ msgstr "Bereits vorhanden"
7591
 
languages/real-cookie-banner-de_DE_formal.mo CHANGED
Binary file
languages/real-cookie-banner-de_DE_formal.po CHANGED
@@ -5,8 +5,8 @@ msgstr ""
5
  "Project-Id-Version: n/a\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/src\n"
7
  "POT-Creation-Date: n/a\n"
8
- "PO-Revision-Date: 2022-03-25 18:50+0000\n"
9
- "Last-Translator: Jan Karres <jan.karres@devowl.io>\n"
10
  "Language-Team: German (formal) <https://translate.devowl.io/projects/"
11
  "wordpress-real-cookie-banner-backend-php/develop/de@formal/>\n"
12
  "Language: de_DE_formal\n"
@@ -74,7 +74,7 @@ msgstr "key-features/de/content-blocker.gif"
74
 
75
  #: inc/AdInitiator.php:1 inc/import/ImportBlocker.php:1
76
  #: inc/presets/UpdateNotice.php:1 inc/settings/Blocker.php:1
77
- #: inc/view/customize/banner/Texts.php:1
78
  msgid "Content Blocker"
79
  msgstr "Content Blocker"
80
 
@@ -832,6 +832,16 @@ msgstr ""
832
  "Der neu erstellte Content Blocker <code>%s</code> konnte einige zugehörige "
833
  "Beziehungen nicht korrekt auflösen."
834
 
 
 
 
 
 
 
 
 
 
 
835
  #. translators:
836
  #: inc/import/ImportMessages.php:1
837
  msgid "The service <code>%s</code> already exists. Skipped."
@@ -2862,6 +2872,7 @@ msgstr ""
2862
 
2863
  #: inc/overrides/pro/presets/GtmPreset.php:1
2864
  #: inc/overrides/pro/presets/MtmPreset.php:1 inc/presets/Presets.php:1
 
2865
  msgid "Disabled"
2866
  msgstr "Deaktiviert"
2867
 
@@ -3550,13 +3561,35 @@ msgstr ""
3550
  "Dienstanbieters übermittelt, um die Nutzung des Dienstes zu ermöglichen."
3551
 
3552
  #: inc/overrides/pro/presets/MtmPreset.php:1
3553
- msgid "Matomo Tag Manager URL"
3554
- msgstr "Matomo Tag Manager URL"
3555
 
3556
  #: inc/overrides/pro/presets/MtmPreset.php:1
3557
  msgid "Please provide a valid URL!"
3558
  msgstr "Bitte geben Sie eine gültige URL an!"
3559
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3560
  #: inc/overrides/pro/presets/MyCruiseExcursionPreset.php:1
3561
  msgid ""
3562
  "My Cruise Excursion allows us to show you shore excursions from the My "
@@ -5775,6 +5808,14 @@ msgstr ""
5775
  "Sie müssen einen Content Blocker erstellen, der YouTube blockiert, bis der "
5776
  "Nutzer seine Einwilligung zum Laden gibt."
5777
 
 
 
 
 
 
 
 
 
5778
  #: inc/presets/middleware/BlockerExistsMiddleware.php:1
5779
  #: inc/presets/middleware/CookieExistsMiddleware.php:1
5780
  msgid "Already created"
@@ -6092,7 +6133,7 @@ msgstr "Ohne Kontext"
6092
  msgid "Show cookie banner again"
6093
  msgstr "Cookie-Banner erneut anzeigen"
6094
 
6095
- #: inc/view/BannerCustomize.php:1
6096
  msgid "Cookie Banner"
6097
  msgstr "Cookie Banner"
6098
 
@@ -6254,22 +6295,25 @@ msgid "Open scanner"
6254
  msgstr "Scanner öffnen"
6255
 
6256
  #: inc/view/checklist/Shortcode.php:1
6257
- msgid "Place shortcodes in your privacy policy"
6258
- msgstr "Platzieren Sie Shortcodes in Ihrer Datenschutzerklärung"
6259
 
6260
  #: inc/view/checklist/Shortcode.php:1
6261
  msgid ""
6262
- "Your visitors must be able to view, change and revoke their consent at any "
6263
- "time. You should add shortcodes to your footer and privacy policy to provide "
6264
- "this feature."
 
6265
  msgstr ""
6266
- "Ihre Besucher müssen in der Lage sein, ihre Zustimmung jederzeit einzusehen, "
6267
- "zu ändern und zu widerrufen. Sie sollten Shortcodes in Ihren Footer und in "
6268
- "Ihre Datenschutzerklärung einfügen, um diese Funktion bereitzustellen."
 
 
6269
 
6270
  #: inc/view/checklist/Shortcode.php:1
6271
- msgid "Generate shortcodes"
6272
- msgstr "Shortcodes erzeugen"
6273
 
6274
  #: inc/view/checklist/ViewStats.php:1
6275
  msgid "Check out statistics about consents"
@@ -6324,6 +6368,10 @@ msgstr ""
6324
  msgid "Settings"
6325
  msgstr "Einstellungen"
6326
 
 
 
 
 
6327
  #: inc/view/customize/banner/BasicLayout.php:1
6328
  msgid "Basic Layout"
6329
  msgstr "Grundlegendes Layout"
@@ -7314,6 +7362,23 @@ msgstr "„Inhalt laden“ Button/Link"
7314
  msgid "Additional info below the \"Load content\" button"
7315
  msgstr "Zusatzinfo unterhalb des „Inhalt laden“-Buttons"
7316
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7317
  #. translators:
7318
  #: inc/view/customize/banner/Texts.php:1
7319
  msgid ""
@@ -7455,6 +7520,37 @@ msgstr "Consent-Management-Plattform von Real Cookie Banner"
7455
  msgid "Cookie Consent Banner by Real Cookie Banner"
7456
  msgstr "Cookie Consent Banner von Real Cookie Banner"
7457
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7458
  #. translators:
7459
  #: inc/view/Scanner.php:1
7460
  msgid "%d recommendation found"
@@ -7491,6 +7587,22 @@ msgid "Please provide a `type` attribute in your shortcode. Allowed: %s!"
7491
  msgstr ""
7492
  "Bitte geben Sie in Ihrem Shortcode das Attribut `type` an. Erlaubt: %s!"
7493
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7494
  #~ msgid "Already exists"
7495
  #~ msgstr "Existiert bereits"
7496
 
5
  "Project-Id-Version: n/a\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/src\n"
7
  "POT-Creation-Date: n/a\n"
8
+ "PO-Revision-Date: 2022-04-19 12:29+0000\n"
9
+ "Last-Translator: Matthias Günter <matthias.guenter@devowl.io>\n"
10
  "Language-Team: German (formal) <https://translate.devowl.io/projects/"
11
  "wordpress-real-cookie-banner-backend-php/develop/de@formal/>\n"
12
  "Language: de_DE_formal\n"
74
 
75
  #: inc/AdInitiator.php:1 inc/import/ImportBlocker.php:1
76
  #: inc/presets/UpdateNotice.php:1 inc/settings/Blocker.php:1
77
+ #: inc/view/ConfigPage.php:1 inc/view/customize/banner/Texts.php:1
78
  msgid "Content Blocker"
79
  msgstr "Content Blocker"
80
 
832
  "Der neu erstellte Content Blocker <code>%s</code> konnte einige zugehörige "
833
  "Beziehungen nicht korrekt auflösen."
834
 
835
+ #. translators:
836
+ #: inc/import/ImportMessages.php:1
837
+ msgid ""
838
+ "The newly created content blocker <code>%s</code> could not set the preview "
839
+ "image because it refers to a media item within your media library (ID)"
840
+ msgstr ""
841
+ "Der neu erstellte Content Blocker <code>%s</code> konnte das Vorschaubild "
842
+ "nicht setzen, da es sich auf eine Datei in Ihrer Medienbibliothek bezieht "
843
+ "(ID)"
844
+
845
  #. translators:
846
  #: inc/import/ImportMessages.php:1
847
  msgid "The service <code>%s</code> already exists. Skipped."
2872
 
2873
  #: inc/overrides/pro/presets/GtmPreset.php:1
2874
  #: inc/overrides/pro/presets/MtmPreset.php:1 inc/presets/Presets.php:1
2875
+ #: inc/view/ConfigPage.php:1
2876
  msgid "Disabled"
2877
  msgstr "Deaktiviert"
2878
 
3561
  "Dienstanbieters übermittelt, um die Nutzung des Dienstes zu ermöglichen."
3562
 
3563
  #: inc/overrides/pro/presets/MtmPreset.php:1
3564
+ msgid "Matomo Tag Manager container script URL"
3565
+ msgstr "Matomo Tag Manager Container Script URL"
3566
 
3567
  #: inc/overrides/pro/presets/MtmPreset.php:1
3568
  msgid "Please provide a valid URL!"
3569
  msgstr "Bitte geben Sie eine gültige URL an!"
3570
 
3571
+ #. translators:
3572
+ #: inc/overrides/pro/presets/MtmPreset.php:1
3573
+ msgid ""
3574
+ "You can find your Matomo Tag Manager container script URL in your Matomo "
3575
+ "Admin dashboard by going to <i>Tag Manager</i>. Afterwards, select your "
3576
+ "container and click on \"Install Code\" and there you need to extract the "
3577
+ "URL from the script (<a href=\"%s\" target=\"_blank\">see example</a>)"
3578
+ msgstr ""
3579
+ "Sie finden Ihre Matomo Tag Manager Container Script URL in Ihrem Matomo "
3580
+ "Admin Dashboard, indem Sie auf <i>Tag Manager</i> gehen. Wählen Sie Ihren "
3581
+ "Container, klicken Sie auf \"Code installieren\" und dort müssen Sie die URL "
3582
+ "aus dem Skript extrahieren (<a href=\"%s\" target=\"_blank\">siehe Beispiel</"
3583
+ "a>)"
3584
+
3585
+ #: inc/overrides/pro/presets/MtmPreset.php:1
3586
+ msgid ""
3587
+ "https://assets.devowl.io/in-app/wp-real-cookie-banner/services/mtm-container-"
3588
+ "script-url.png"
3589
+ msgstr ""
3590
+ "https://assets.devowl.io/in-app/wp-real-cookie-banner/services/de/mtm-"
3591
+ "container-script-url.png"
3592
+
3593
  #: inc/overrides/pro/presets/MyCruiseExcursionPreset.php:1
3594
  msgid ""
3595
  "My Cruise Excursion allows us to show you shore excursions from the My "
5808
  "Sie müssen einen Content Blocker erstellen, der YouTube blockiert, bis der "
5809
  "Nutzer seine Einwilligung zum Laden gibt."
5810
 
5811
+ #: inc/presets/middleware/BlockerContentTypeButtonTextMiddleware.php:1
5812
+ msgid "Load content"
5813
+ msgstr "Inhalt laden"
5814
+
5815
+ #: inc/presets/middleware/BlockerContentTypeButtonTextMiddleware.php:1
5816
+ msgid "Load map"
5817
+ msgstr "Karte laden"
5818
+
5819
  #: inc/presets/middleware/BlockerExistsMiddleware.php:1
5820
  #: inc/presets/middleware/CookieExistsMiddleware.php:1
5821
  msgid "Already created"
6133
  msgid "Show cookie banner again"
6134
  msgstr "Cookie-Banner erneut anzeigen"
6135
 
6136
+ #: inc/view/BannerCustomize.php:1 inc/view/ConfigPage.php:1
6137
  msgid "Cookie Banner"
6138
  msgstr "Cookie Banner"
6139
 
6295
  msgstr "Scanner öffnen"
6296
 
6297
  #: inc/view/checklist/Shortcode.php:1
6298
+ msgid "Place legal links to your website"
6299
+ msgstr "Platzieren Sie legale Links zu Ihrer Website"
6300
 
6301
  #: inc/view/checklist/Shortcode.php:1
6302
  msgid ""
6303
+ "Your website visitors must be able to view their consent history, change "
6304
+ "their consent, or withdraw their consent at any time. This must be as easy "
6305
+ "as giving consent. Therefore, the shortcodes must be included on every "
6306
+ "subpage of the website (e.g. in the footer)."
6307
  msgstr ""
6308
+ "Ihre Website-Besucher müssen in der Lage sein, den Verlauf ihrer "
6309
+ "Einwilligung einzusehen, ihre Einwilligung zu ändern oder sie jederzeit zu "
6310
+ "widerrufen. Das muss so einfach sein wie die Erteilung der Einwilligung. "
6311
+ "Daher müssen die Shortcodes auf jeder Unterseite der Website enthalten sein "
6312
+ "(z. B. im Footer/Fußzeile)."
6313
 
6314
  #: inc/view/checklist/Shortcode.php:1
6315
+ msgid "Create legal links"
6316
+ msgstr "Legal links erstellen"
6317
 
6318
  #: inc/view/checklist/ViewStats.php:1
6319
  msgid "Check out statistics about consents"
6368
  msgid "Settings"
6369
  msgstr "Einstellungen"
6370
 
6371
+ #: inc/view/ConfigPage.php:1
6372
+ msgid "Enabled"
6373
+ msgstr "Aktiviert"
6374
+
6375
  #: inc/view/customize/banner/BasicLayout.php:1
6376
  msgid "Basic Layout"
6377
  msgstr "Grundlegendes Layout"
7362
  msgid "Additional info below the \"Load content\" button"
7363
  msgstr "Zusatzinfo unterhalb des „Inhalt laden“-Buttons"
7364
 
7365
+ #: inc/view/customize/banner/Texts.php:1
7366
+ msgid ""
7367
+ "The standard texts in the cookie banner are worded carefully. If you "
7368
+ "customize them, make sure they are not misleading or riveting. According to "
7369
+ "the <a href=\"https://www.baden-wuerttemberg.datenschutz.de/faq-zu-cookies-"
7370
+ "und-tracking-2/#13_informiertheit)\" target=\"_blank\">Data Protection "
7371
+ "Commissioner of Baden-Württeberg, Germany (Section B, 1.3.7.; German)</a>, "
7372
+ "for example, a headline \"We love cookies\" is already misleading."
7373
+ msgstr ""
7374
+ "Die Standardtexte im Cookie Banner sind mit Bedacht formuliert. Wenn Sie "
7375
+ "diese anpassen, achten Sie bitte darauf, dass diese nicht irreführend oder "
7376
+ "vernietlichend sind. Nach dem <a href=\"https://www.baden-wuerttemberg."
7377
+ "datenschutz.de/faq-zu-cookies-und-tracking-2/#13_informiertheit)\" target="
7378
+ "\"_blank\">Datenschutzbeauftragen von Baden-Württeberg, Deutschland "
7379
+ "(Abschnitt B, 1.3.7.)</a> ist z.B. die Überschrift \"Wir lieben Cookies\" "
7380
+ "bereits irreführend."
7381
+
7382
  #. translators:
7383
  #: inc/view/customize/banner/Texts.php:1
7384
  msgid ""
7520
  msgid "Cookie Consent Banner by Real Cookie Banner"
7521
  msgstr "Cookie Consent Banner von Real Cookie Banner"
7522
 
7523
+ #: inc/view/navmenu/NavMenuLinks.php:1
7524
+ msgid "The navigation menu could not be found."
7525
+ msgstr "Das Navigationsmenü konnte nicht gefunden werden."
7526
+
7527
+ #: inc/view/navmenu/NavMenuLinks.php:1
7528
+ msgid "Change privacy settings"
7529
+ msgstr "Privatsphäre-Einstellungen ändern"
7530
+
7531
+ #: inc/view/navmenu/NavMenuLinks.php:1
7532
+ msgid "Privacy settings history"
7533
+ msgstr "Historie der Privatsphäre-Einstellungen"
7534
+
7535
+ #: inc/view/navmenu/NavMenuLinks.php:1
7536
+ msgid "Revoke consents"
7537
+ msgstr "Einwilligungen widerrufen"
7538
+
7539
+ #: inc/view/navmenu/NavMenuLinks.php:1
7540
+ msgid ""
7541
+ "You have successfully revoked the consent. The page will be reloaded now."
7542
+ msgstr ""
7543
+ "Sie haben die Einwilligung erfolgreich widerrufen. Die Seite wird nun neu "
7544
+ "geladen."
7545
+
7546
+ #: inc/view/navmenu/NavMenuLinks.php:1
7547
+ msgid "Success message"
7548
+ msgstr "Erfolgsmeldung"
7549
+
7550
+ #: inc/view/navmenu/NavMenuLinks.php:1
7551
+ msgid "Add to Menu"
7552
+ msgstr "Zum Menü hinzufügen"
7553
+
7554
  #. translators:
7555
  #: inc/view/Scanner.php:1
7556
  msgid "%d recommendation found"
7587
  msgstr ""
7588
  "Bitte geben Sie in Ihrem Shortcode das Attribut `type` an. Erlaubt: %s!"
7589
 
7590
+ #~ msgid "Place shortcodes in your privacy policy"
7591
+ #~ msgstr "Platzieren Sie Shortcodes in Ihrer Datenschutzerklärung"
7592
+
7593
+ #~ msgid ""
7594
+ #~ "Your visitors must be able to view, change and revoke their consent at "
7595
+ #~ "any time. You should add shortcodes to your footer and privacy policy to "
7596
+ #~ "provide this feature."
7597
+ #~ msgstr ""
7598
+ #~ "Ihre Besucher müssen in der Lage sein, ihre Zustimmung jederzeit "
7599
+ #~ "einzusehen, zu ändern und zu widerrufen. Sie sollten Shortcodes in Ihren "
7600
+ #~ "Footer und in Ihre Datenschutzerklärung einfügen, um diese Funktion "
7601
+ #~ "bereitzustellen."
7602
+
7603
+ #~ msgid "Generate shortcodes"
7604
+ #~ msgstr "Shortcodes erzeugen"
7605
+
7606
  #~ msgid "Already exists"
7607
  #~ msgstr "Existiert bereits"
7608
 
languages/real-cookie-banner.pot CHANGED
@@ -59,6 +59,7 @@ msgstr ""
59
  #: inc/import/ImportBlocker.php:1
60
  #: inc/presets/UpdateNotice.php:1
61
  #: inc/settings/Blocker.php:1
 
62
  #: inc/view/customize/banner/Texts.php:1
63
  msgid "Content Blocker"
64
  msgstr ""
@@ -642,6 +643,11 @@ msgstr ""
642
  msgid "The newly created content blocker <code>%s</code> could not correctly resolve some associated relationships."
643
  msgstr ""
644
 
 
 
 
 
 
645
  #. translators:
646
  #: inc/import/ImportMessages.php:1
647
  msgid "The service <code>%s</code> already exists. Skipped."
@@ -1496,6 +1502,7 @@ msgstr ""
1496
  #: inc/overrides/pro/presets/MtmPreset.php:1
1497
  #: inc/presets/Presets.php:1
1498
  #: inc/presets/Presets.php:1
 
1499
  msgid "Disabled"
1500
  msgstr ""
1501
 
@@ -1772,13 +1779,22 @@ msgid "Matomo Tag Manager is a service for managing tags triggered by a specific
1772
  msgstr ""
1773
 
1774
  #: inc/overrides/pro/presets/MtmPreset.php:1
1775
- msgid "Matomo Tag Manager URL"
1776
  msgstr ""
1777
 
1778
  #: inc/overrides/pro/presets/MtmPreset.php:1
1779
  msgid "Please provide a valid URL!"
1780
  msgstr ""
1781
 
 
 
 
 
 
 
 
 
 
1782
  #: inc/overrides/pro/presets/MyCruiseExcursionPreset.php:1
1783
  msgid "My Cruise Excursion allows us to show you shore excursions from the My Cruise Excursion catalog. For example, based on an editorially made preselection or through search forms. No cookies in the technical sense are set on the user's client, but technical and personal data such as the IP address are transmitted from the client to the service provider's server to enable the use of the service."
1784
  msgstr ""
@@ -2860,6 +2876,14 @@ msgstr ""
2860
  msgid "There is no need for an opt-in script because the YouTube content is usually loaded in an iframe. You must create a content blocker that will block YouTube until the user gives consent to load it."
2861
  msgstr ""
2862
 
 
 
 
 
 
 
 
 
2863
  #: inc/presets/middleware/BlockerExistsMiddleware.php:1
2864
  #: inc/presets/middleware/CookieExistsMiddleware.php:1
2865
  msgid "Already created"
@@ -3079,6 +3103,7 @@ msgstr ""
3079
 
3080
  #: inc/settings/Cookie.php:1
3081
  #: inc/view/ConfigPage.php:1
 
3082
  msgid "Cookies"
3083
  msgstr ""
3084
 
@@ -3116,6 +3141,7 @@ msgid "Show cookie banner again"
3116
  msgstr ""
3117
 
3118
  #: inc/view/BannerCustomize.php:1
 
3119
  msgid "Cookie Banner"
3120
  msgstr ""
3121
 
@@ -3233,15 +3259,15 @@ msgid "Open scanner"
3233
  msgstr ""
3234
 
3235
  #: inc/view/checklist/Shortcode.php:1
3236
- msgid "Place shortcodes in your privacy policy"
3237
  msgstr ""
3238
 
3239
  #: inc/view/checklist/Shortcode.php:1
3240
- msgid "Your visitors must be able to view, change and revoke their consent at any time. You should add shortcodes to your footer and privacy policy to provide this feature."
3241
  msgstr ""
3242
 
3243
  #: inc/view/checklist/Shortcode.php:1
3244
- msgid "Generate shortcodes"
3245
  msgstr ""
3246
 
3247
  #: inc/view/checklist/ViewStats.php:1
@@ -3268,10 +3294,15 @@ msgstr ""
3268
  msgid "<strong>Adblocker detected</strong>: You may use an adblocker in your browser. This can block parts of the settings of the Real Cookie Banner and thus lead to errors. <strong>Please deactivate your adblocker for your own website!</strong>"
3269
  msgstr ""
3270
 
 
3271
  #: inc/view/ConfigPage.php:1
3272
  msgid "Settings"
3273
  msgstr ""
3274
 
 
 
 
 
3275
  #: inc/view/customize/banner/BasicLayout.php:1
3276
  msgid "Basic Layout"
3277
  msgstr ""
@@ -4111,6 +4142,10 @@ msgstr ""
4111
  msgid "Additional info below the \"Load content\" button"
4112
  msgstr ""
4113
 
 
 
 
 
4114
  #. translators:
4115
  #: inc/view/customize/banner/Texts.php:1
4116
  msgid "Consent for data processing in the USA is currently disabled. Please navigate to %1$sSettings > Consent%2$s to activate it."
@@ -4196,6 +4231,37 @@ msgstr ""
4196
  msgid "Cookie Consent Banner by Real Cookie Banner"
4197
  msgstr ""
4198
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4199
  #. translators:
4200
  #: inc/view/Scanner.php:1
4201
  msgid "%d recommendation found"
59
  #: inc/import/ImportBlocker.php:1
60
  #: inc/presets/UpdateNotice.php:1
61
  #: inc/settings/Blocker.php:1
62
+ #: inc/view/ConfigPage.php:1
63
  #: inc/view/customize/banner/Texts.php:1
64
  msgid "Content Blocker"
65
  msgstr ""
643
  msgid "The newly created content blocker <code>%s</code> could not correctly resolve some associated relationships."
644
  msgstr ""
645
 
646
+ #. translators:
647
+ #: inc/import/ImportMessages.php:1
648
+ msgid "The newly created content blocker <code>%s</code> could not set the preview image because it refers to a media item within your media library (ID)"
649
+ msgstr ""
650
+
651
  #. translators:
652
  #: inc/import/ImportMessages.php:1
653
  msgid "The service <code>%s</code> already exists. Skipped."
1502
  #: inc/overrides/pro/presets/MtmPreset.php:1
1503
  #: inc/presets/Presets.php:1
1504
  #: inc/presets/Presets.php:1
1505
+ #: inc/view/ConfigPage.php:1
1506
  msgid "Disabled"
1507
  msgstr ""
1508
 
1779
  msgstr ""
1780
 
1781
  #: inc/overrides/pro/presets/MtmPreset.php:1
1782
+ msgid "Matomo Tag Manager container script URL"
1783
  msgstr ""
1784
 
1785
  #: inc/overrides/pro/presets/MtmPreset.php:1
1786
  msgid "Please provide a valid URL!"
1787
  msgstr ""
1788
 
1789
+ #. translators:
1790
+ #: inc/overrides/pro/presets/MtmPreset.php:1
1791
+ msgid "You can find your Matomo Tag Manager container script URL in your Matomo Admin dashboard by going to <i>Tag Manager</i>. Afterwards, select your container and click on \"Install Code\" and there you need to extract the URL from the script (<a href=\"%s\" target=\"_blank\">see example</a>)"
1792
+ msgstr ""
1793
+
1794
+ #: inc/overrides/pro/presets/MtmPreset.php:1
1795
+ msgid "https://assets.devowl.io/in-app/wp-real-cookie-banner/services/mtm-container-script-url.png"
1796
+ msgstr ""
1797
+
1798
  #: inc/overrides/pro/presets/MyCruiseExcursionPreset.php:1
1799
  msgid "My Cruise Excursion allows us to show you shore excursions from the My Cruise Excursion catalog. For example, based on an editorially made preselection or through search forms. No cookies in the technical sense are set on the user's client, but technical and personal data such as the IP address are transmitted from the client to the service provider's server to enable the use of the service."
1800
  msgstr ""
2876
  msgid "There is no need for an opt-in script because the YouTube content is usually loaded in an iframe. You must create a content blocker that will block YouTube until the user gives consent to load it."
2877
  msgstr ""
2878
 
2879
+ #: inc/presets/middleware/BlockerContentTypeButtonTextMiddleware.php:1
2880
+ msgid "Load content"
2881
+ msgstr ""
2882
+
2883
+ #: inc/presets/middleware/BlockerContentTypeButtonTextMiddleware.php:1
2884
+ msgid "Load map"
2885
+ msgstr ""
2886
+
2887
  #: inc/presets/middleware/BlockerExistsMiddleware.php:1
2888
  #: inc/presets/middleware/CookieExistsMiddleware.php:1
2889
  msgid "Already created"
3103
 
3104
  #: inc/settings/Cookie.php:1
3105
  #: inc/view/ConfigPage.php:1
3106
+ #: inc/view/ConfigPage.php:1
3107
  msgid "Cookies"
3108
  msgstr ""
3109
 
3141
  msgstr ""
3142
 
3143
  #: inc/view/BannerCustomize.php:1
3144
+ #: inc/view/ConfigPage.php:1
3145
  msgid "Cookie Banner"
3146
  msgstr ""
3147
 
3259
  msgstr ""
3260
 
3261
  #: inc/view/checklist/Shortcode.php:1
3262
+ msgid "Place legal links to your website"
3263
  msgstr ""
3264
 
3265
  #: inc/view/checklist/Shortcode.php:1
3266
+ msgid "Your website visitors must be able to view their consent history, change their consent, or withdraw their consent at any time. This must be as easy as giving consent. Therefore, the shortcodes must be included on every subpage of the website (e.g. in the footer)."
3267
  msgstr ""
3268
 
3269
  #: inc/view/checklist/Shortcode.php:1
3270
+ msgid "Create legal links"
3271
  msgstr ""
3272
 
3273
  #: inc/view/checklist/ViewStats.php:1
3294
  msgid "<strong>Adblocker detected</strong>: You may use an adblocker in your browser. This can block parts of the settings of the Real Cookie Banner and thus lead to errors. <strong>Please deactivate your adblocker for your own website!</strong>"
3295
  msgstr ""
3296
 
3297
+ #: inc/view/ConfigPage.php:1
3298
  #: inc/view/ConfigPage.php:1
3299
  msgid "Settings"
3300
  msgstr ""
3301
 
3302
+ #: inc/view/ConfigPage.php:1
3303
+ msgid "Enabled"
3304
+ msgstr ""
3305
+
3306
  #: inc/view/customize/banner/BasicLayout.php:1
3307
  msgid "Basic Layout"
3308
  msgstr ""
4142
  msgid "Additional info below the \"Load content\" button"
4143
  msgstr ""
4144
 
4145
+ #: inc/view/customize/banner/Texts.php:1
4146
+ msgid "The standard texts in the cookie banner are worded carefully. If you customize them, make sure they are not misleading or riveting. According to the <a href=\"https://www.baden-wuerttemberg.datenschutz.de/faq-zu-cookies-und-tracking-2/#13_informiertheit)\" target=\"_blank\">Data Protection Commissioner of Baden-Württeberg, Germany (Section B, 1.3.7.; German)</a>, for example, a headline \"We love cookies\" is already misleading."
4147
+ msgstr ""
4148
+
4149
  #. translators:
4150
  #: inc/view/customize/banner/Texts.php:1
4151
  msgid "Consent for data processing in the USA is currently disabled. Please navigate to %1$sSettings > Consent%2$s to activate it."
4231
  msgid "Cookie Consent Banner by Real Cookie Banner"
4232
  msgstr ""
4233
 
4234
+ #: inc/view/navmenu/NavMenuLinks.php:1
4235
+ msgid "The navigation menu could not be found."
4236
+ msgstr ""
4237
+
4238
+ #: inc/view/navmenu/NavMenuLinks.php:1
4239
+ #: inc/view/navmenu/NavMenuLinks.php:1
4240
+ msgid "Change privacy settings"
4241
+ msgstr ""
4242
+
4243
+ #: inc/view/navmenu/NavMenuLinks.php:1
4244
+ #: inc/view/navmenu/NavMenuLinks.php:1
4245
+ msgid "Privacy settings history"
4246
+ msgstr ""
4247
+
4248
+ #: inc/view/navmenu/NavMenuLinks.php:1
4249
+ #: inc/view/navmenu/NavMenuLinks.php:1
4250
+ msgid "Revoke consents"
4251
+ msgstr ""
4252
+
4253
+ #: inc/view/navmenu/NavMenuLinks.php:1
4254
+ msgid "You have successfully revoked the consent. The page will be reloaded now."
4255
+ msgstr ""
4256
+
4257
+ #: inc/view/navmenu/NavMenuLinks.php:1
4258
+ msgid "Success message"
4259
+ msgstr ""
4260
+
4261
+ #: inc/view/navmenu/NavMenuLinks.php:1
4262
+ msgid "Add to Menu"
4263
+ msgstr ""
4264
+
4265
  #. translators:
4266
  #: inc/view/Scanner.php:1
4267
  msgid "%d recommendation found"
public/dist/138.lite.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunkrealCookieBanner_name_=self.webpackChunkrealCookieBanner_name_||[]).push([[138],{8950:function(e,t,n){n.d(t,{Y:function(){return i}});var a=n(7363),o=n(5998),r=n.n(o),i=function(e){var t=e.settings,n=void 0===t?{}:t,o=e.value,i=void 0===o?"":o,c=e.onChange,s=(0,a.useRef)(),l=r().codeEditor;(0,a.useEffect)((function(){l&&l.initialize(s.current,n).codemirror.on("change",(function(e){null==c||c(e.getValue())}))}),[]);var u=(0,a.useCallback)((function(){}),[]);return React.createElement("textarea",{ref:s,value:i,onChange:l?u:function(e){var t=e.target.value;return c(t)},style:{width:"100%"}})}},2982:function(e,t,n){n.d(t,{f:function(){return o}});var a=n(2711),o=function(e){var t=e.children,n=e.maxWidth,o=void 0===n?"auto":n,r=e.style,i=void 0===r?{}:r;return React.createElement("div",{className:"rcb-config-content",style:(0,a.Z)({maxWidth:"fixed"===o?1300:o},i)},t)}},8439:function(e,t,n){n.d(t,{K:function(){return d}});var a=n(6069),o=n(7228),r=n(7363),i=n(3554),c=n(5071),s=n(5406),l=n(3612),u=n(4614),d=(0,i.Pi)((function(e){var t=e.identifier,n=e.width,i=e.title,d=(0,u.m)().optionStore,h=d.others.modalHints,m=(0,r.useState)(!1),p=(0,o.Z)(m,2),f=p[0],y=p[1];(0,r.useEffect)((function(){y(-1===h.indexOf(t))}),[h.length,t]);var v=(0,l.v)(t),g="string"==typeof v&&v.indexOf("?")>-1?v.split("?")[0]:"",_=i||(g?"".concat(g,"?"):(0,c.__)("What you should definitely know!")),k="string"==typeof v&&"string"==typeof _&&g?v.replace(_,"").trim():v,b=(0,r.useCallback)((function(){d.setModalHintSeen(t)}),[t,d]);return React.createElement(a.Z,{visible:f,title:React.createElement("span",null,React.createElement(s.Z,{style:{color:"#1890ff"}})," ",_),closable:!1,onOk:b,width:n,okText:(0,c.__)("Okay, I got it"),cancelButtonProps:{style:{display:"none"}}},k)}))},4453:function(e,t,n){n.d(t,{j:function(){return k}});var a=n(4741),o=n(9591),r=n(3306),i=n(2519),c=n(7228),s=n(3735),l=n(7363),u=n(3554),d=n(6703),h=n(5071),m=n(1857),p=n(6107),f=n(4522),y=n(4614),v=s.Z.Meta,g=(0,u.Pi)((function(e){var t=e.identifier,n=e.version,a=e.name,o=e.description,r=e.logoUrl,i=e.disabled,c=e.created,u=e.attributes_name,d=e.tier,g=e.tags,_=e.onSelect,k=e.renderActions,b=(0,y.m)().optionStore.others.isDemoEnv,w=(0,f.t)({title:(0,h.__)("Want to use %s template?",a),feature:"preset",description:"".concat((0,h.__)("Only a limited number of templates for services and content blockers are available in the %s version of Real Cookie Banner. Get the PRO version now and create a service or content blocker from this template with just one click!",(b?(0,h.__)("Demo"):(0,h.__)("Free")).toLowerCase())).concat(b?"":"\n\n".concat((0,h.__)("You can create this service yourself in the free version without any restrictions and research the necessary information.")))},!b&&void 0),R=w.isPro,E=w.open,C=w.modal,x=(0,h.__)("Disabled"),Z="pro"===d&&!R;return React.createElement(l.Fragment,{key:t},C,React.createElement(m.Z,{title:i?React.createElement("span",{dangerouslySetInnerHTML:{__html:g[x]}}):void 0},React.createElement(s.Z,{className:"rcb-antd-preset-card",hoverable:!i,style:{opacity:i||c?.6:1},onClick:function(e){e.target.closest(".rcb-antd-card")&&(Z?E():i||_({identifier:t,version:n,attributes_name:u},e))},cover:React.createElement("img",{style:{width:"90%"},src:r}),actions:k?k(e):[]},React.createElement(v,{title:React.createElement("span",null,Z&&React.createElement(p.Z,{color:f.k},"PRO"),!!g&&Object.keys(g).map((function(e){return React.createElement(m.Z,{title:e===x?void 0:React.createElement("span",{dangerouslySetInnerHTML:{__html:g[e]}}),key:e},React.createElement(p.Z,null,e))})),React.createElement("br",null),a),description:o||React.createElement("i",null,(0,h.__)("No description"))}))))})),_=s.Z.Meta,k=(0,u.Pi)((function(e){var t=e.fetchingPresets,n=e.presets,u=e.onSelect,m=e.renderActions,p=e.quickLinks,f=void 0===p?[]:p,y=e.children,v=e.showSearch,k=void 0===v||v,b=e.showDisabled,w=void 0===b||b,R=e.showHidden,E=void 0!==R&&R,C=(0,d.u)().isPro,x=(0,l.useState)(""),Z=(0,c.Z)(x,2),T=Z[0],S=Z[1],P=(0,l.useState)(!1),A=(0,c.Z)(P,2),W=A[0],D=A[1],F=(0,l.useMemo)((function(){return n.filter((function(e){var t=e.tier;return!!C||!W||"pro"!==t})).filter((function(e){var t=e.name,n=e.description;return!T.trim().length||T.split(" ").filter(Boolean).filter((function(e){return"".concat(t," ").concat(n||"").toLowerCase().indexOf(e.trim().toLowerCase())>-1})).length>0})).filter((function(e){var t=e.hidden;return!!E||!t})).filter((function(e){var t=e.disabled;return!!w||!t}))}),[n,T,W]);return React.createElement("div",{className:"column-posts"},f.map((function(e){var t=e.id,n=e.cover,a=e.description,o=e.onClick,r=e.title;return React.createElement(s.Z,{key:t,hoverable:!0,style:{margin:5,width:240,display:"inline-block"},onClick:o,cover:n},React.createElement(_,{title:r,description:a}))})),React.createElement(o.Z,{spinning:t},y,k&&React.createElement("div",{style:{marginBottom:20}},React.createElement(i.Z.Search,{autoFocus:!0,style:{maxWidth:400},placeholder:(0,h.__)("Search template by name..."),onChange:function(e){return S(e.target.value)}}),React.createElement("br",null),!C&&React.createElement(r.Z,{onChange:function(){return D(!W)},style:{marginTop:10}},(0,h.__)("Show only free templates")))),0===F.length&&T.length>0&&React.createElement("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:"10px 0 0 0",maxWidth:400,display:"inline-block"}},React.createElement("p",null,(0,h._i)((0,h.__)("{{strong}}No template found{{/strong}}. Please try to create the service yourself or {{a}}contact us{{/a}} and let us know for which service you need a template."),{strong:React.createElement("strong",null),a:React.createElement("a",{href:(0,h.__)("https://devowl.io/support/"),target:"_blank",rel:"noreferrer"})}))),F.map((function(e){return React.createElement(g,(0,a.Z)({key:e.id,onSelect:u,renderActions:m},e))})))}))},3612:function(e,t,n){n.d(t,{v:function(){return h}});var a=n(5489),o=n(8503),r=n(2841),i=n(7330),c=n(8603),s=n(4614),l=n(5071),u=n(2185),d=n(4342);function h(e){var t=(0,s.m)().optionStore.tcf;switch(e){case"scanner":var n=(0,u.u)().openDialog;return React.createElement(React.Fragment,null,React.createElement("p",{className:"description"},(0,l.__)("The scanner finds services that you use on your website that might set/read cookies or process personal data. This is e.g. Google Analytics, YouTube or Elementor. If there is no template for a service, you will see from which external URLs content, scripts etc. are embedded. This allows you to set up your cookie banner quickly and easily.")),React.createElement("p",{className:"description"},(0,l._i)((0,l.__)("We explicitly do not find cookies because that would not work reliably. {{a}}We explained why in our knowledge base.{{/a}}"),{a:React.createElement("a",{rel:"noreferrer",href:(0,l.__)("https://devowl.io/knowledge-base/real-cookie-banner-cookie-scanner-finds-cookies-automatically/"),target:"_blank"})})),React.createElement(a.Z,{style:{margin:"10px 0"}},React.createElement(o.Z,{span:11},React.createElement("div",{style:{paddingRight:10}},React.createElement(r.Z,null,(0,l.__)("What the scanner finds ...")),[(0,l.__)("External services (with and without template)"),(0,l.__)("WordPress plugins with templates that require consent"),(0,l.__)("Automatic check of all subpages of your website")].map((function(e,t){return React.createElement("div",{key:t,style:{marginBottom:10}},React.createElement(i.Z,{twoToneColor:"#52c41a"}),"  ",e)})))),React.createElement(o.Z,{span:2,style:{textAlign:"center"}},React.createElement(r.Z,{type:"vertical",style:{height:"100%"}})),React.createElement(o.Z,{span:11},React.createElement("div",null,React.createElement(r.Z,null,(0,l.__)("... and what it does not")),[(0,l.__)("Cookies from unknown WordPress plugins"),(0,l.__)("Services embedded after the page load via JavaScript"),(0,l.__)("Complete coverage of your individual use case")].map((function(e,t){return React.createElement("div",{key:t,style:{marginBottom:10}},React.createElement(c.Z,{twoToneColor:"#eb2f96"}),"  ",e)}))))),React.createElement("p",{className:"description"},(0,l._i)((0,l.__)("Just by using the scanner, you will not set up your cookie banner one hundred percent correctly. If it is too complex or time-consuming for you to set up the cookie banner yourself, just let one of our {{a}}cookie experts{{/a}} set it up for you!"),{a:React.createElement("a",{style:{textDecoration:"underline",cursor:"pointer"},onClick:n})})));case"cookie":return React.createElement(React.Fragment,null,(0,l.__)("What are services? Services can be external applications such as Google Analytics or WordPress plugins or themes that process personal data (e.g. IP address) and/or set cookies. Cookies (and similar technologies) are small text files that are stored on the device of visitors to your website. You can store information about the visitor in cookies, such as the website's language, or unique advertising IDs to display personalized advertising. You, as the site owner, must ensure that cookies are only placed on your visitors' devices and personal data are only processed if they have given their explicit consent. Unless you have a legitimate interest in the legal sense to do so even without consent. You can define here all the services you use and their cookies with their legal and technical information.")," ",React.createElement(d.r,{url:(0,l.__)("https://devowl.io/2021/web-cookies-overview/")}));case"blocker":return(0,l.__)("What is a content blocker? Imagine that a user of your website does not accept all services. At the same time, you have integrated e.g. a YouTube video that sets cookies that the visitor has not agreed to. According to the ePrivacy Directive, this is prohibited. Content blockers automatically replace iframes, script and link tags like YouTube videos for such users and offer them to watch the video as soon as they agree to load it.");case"list-of-consents":return(0,l._i)((0,l.__)("Consents are automatically documented in order to be able to prove compliance with the legal requirements according to {{a}}Art. 5 GDPR{{/a}} and, in case of dispute, to prove how the consent was obtained."),{a:React.createElement("a",{href:"https://gdpr-info.eu/art-5-gdpr/",target:"_blank",rel:"noreferrer"})});case"shortcodes":return React.createElement(React.Fragment,null,(0,l._i)((0,l.__)("Your website visitors must be able to view their consent history, change their consent, or withdraw their consent at any time. This must be as easy as giving consent. Therefore, the shortcodes must be included on every subpage of the website (e.g. in the footer)."),{strong:React.createElement("strong",null)}),React.createElement("br",null),React.createElement("br",null),(0,l._i)((0,l.__)("Hiding these options, e.g. in the privacy policy, is a violation of the GDPR according to the {{a}}German data protection authorities' guidance (German){{/a}}."),{a:React.createElement("a",{href:"https://www.datenschutzkonferenz-online.de/media/oh/20211220_oh_telemedien.pdf",target:"_blank",rel:"noreferrer"})}),t?React.createElement(React.Fragment,null,React.createElement("br",null),React.createElement("br",null),(0,l.__)("To meet the requirements of the TCF standard, the shortcodes should be placed near the link to the privacy policy.")):null);case"tcf-vendor":return(0,l._i)((0,l.__)("What is a TCF vendor? According to the IAB Europe Transparency and Consent Framework (TCF), any service (e.g. Google for Google Ads) that wants to use consents according to the TCF standard must register as a vendor in the {{a}}Global Vendor List (GVL){{/a}}. All TCF vendors specify for which purposes they need consent to process data and set cookies and which features they can offer with these consents. They also provide a link to their privacy policy for further information. You, as a website operator, must obtain consent in your cookie banner for all vendors you work with. You can limit the requested purposes of vendors to keep consents as privacy-friendly as possible."),{a:React.createElement("a",{href:"https://iabeurope.eu/vendor-list-tcf-v2-0/",target:"_blank",rel:"noreferrer"})});default:return""}}},2185:function(e,t,n){n.d(t,{u:function(){return l}});var a=n(2841),o=n(5235),r=n(6069),i=n(7363),c=n(4614),s=n(5071);function l(){var e=(0,c.m)().optionStore.others.assetsUrl,t="".concat(e,"cookie-experts.svg"),n=(0,i.useCallback)((function(){r.Z.info({icon:void 0,width:500,closable:!0,okButtonProps:{style:{display:"none"}},content:React.createElement("div",{style:{textAlign:"center"}},React.createElement("img",{src:t,style:{display:"block",paddingTop:15,margin:"auto",height:176}}),React.createElement("h3",{style:{margin:"10px 0 0"}},"Cookie Experts"),React.createElement("p",{style:{marginTop:0}},(0,s.__)("Let our team help you with the setup")),React.createElement(a.Z,null,React.createElement(o.C.Group,{size:"large"},React.createElement(o.C,{src:"https://assets.devowl.io/in-app/wp-real-cookie-banner/cookie-experts-faces/jan.karres.jpeg"}),React.createElement(o.C,{src:"https://assets.devowl.io/in-app/wp-real-cookie-banner/cookie-experts-faces/mario.guenter.jpeg"}),React.createElement(o.C,{src:"https://assets.devowl.io/in-app/wp-real-cookie-banner/cookie-experts-faces/matthias.guenter.jpeg"}))),React.createElement("a",{href:(0,s.__)("https://devowl.io/wordpress-real-cookie-banner/cookie-experts/"),target:"_blank",rel:"noreferrer",className:"button button-large button-primary"},(0,s.__)("Get help from Cookie Experts")),React.createElement("p",null,(0,s.__)("We admit, it is not easy to find all the services, cookies, etc. The legal requirements in the EU are quite complex for many website operators. We can understand if you feel overwhelmed – if this goes far beyond what you can technically do. After you know what all has to be considered, the question of how to make your website privacy compliant does not let you sleep peacefully either.")),React.createElement("p",null,(0,s.__)("Don’t worry, we have a solution for you! Our Cookie Experts have already set up many cookie banners and know exactly what they are doing. They can also set up your cookie banner quickly and easily. So, we can simply take this worry away from you.")),React.createElement("a",{style:{marginTop:10,textDecoration:"underline",display:"inline-block",cursor:"pointer"},onClick:function(){return r.Z.destroyAll()}},(0,s.__)("Close")))})}),[]);return{logoUrl:t,openDialog:n}}}}]);
2
- //# sourceMappingURL=138.lite.js.map?ver=0b903d591c46f3563d00
 
 
public/dist/191.lite.js ADDED
@@ -0,0 +1,2 @@
 
 
1
+ "use strict";(self.webpackChunkrealCookieBanner_name_=self.webpackChunkrealCookieBanner_name_||[]).push([[191],{8122:function(e,t,n){n.d(t,{Z:function(){return l}});var a=n(7363),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},c=n(3751),o=function(e,t){return a.createElement(c.Z,Object.assign({},e,{ref:t,icon:r}))};o.displayName="LeftOutlined";var l=a.forwardRef(o)},4632:function(e,t,n){n.d(t,{Z:function(){return l}});var a=n(7363),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},c=n(3751),o=function(e,t){return a.createElement(c.Z,Object.assign({},e,{ref:t,icon:r}))};o.displayName="RightOutlined";var l=a.forwardRef(o)},3735:function(e,t,n){n.d(t,{Z:function(){return g}});var a=n(63),r=n(4741),c=n(7363),o=n(2286),l=n.n(o),i=n(733),s=n(4178),u=function(e){var t=e.prefixCls,n=e.className,o=e.hoverable,i=void 0===o||o,u=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n}(e,["prefixCls","className","hoverable"]);return c.createElement(s.C,null,(function(e){var o=(0,e.getPrefixCls)("card",t),s=l()("".concat(o,"-grid"),n,(0,a.Z)({},"".concat(o,"-grid-hoverable"),i));return c.createElement("div",(0,r.Z)({},u,{className:s}))}))},p=n(9440),m=n(5489),d=n(8503),h=n(8533),f=function(e){var t,n,o,f=c.useContext(s.E_),g=f.getPrefixCls,v=f.direction,y=c.useContext(h.Z),b=e.prefixCls,x=e.className,E=e.extra,C=e.headStyle,N=void 0===C?{}:C,Z=e.bodyStyle,P=void 0===Z?{}:Z,S=e.title,O=e.loading,k=e.bordered,I=void 0===k||k,w=e.size,z=e.type,j=e.cover,T=e.actions,_=e.tabList,K=e.children,V=e.activeTabKey,L=e.defaultActiveTabKey,M=e.tabBarExtraContent,B=e.hoverable,J=e.tabProps,R=void 0===J?{}:J,D=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n}(e,["prefixCls","className","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),G=g("card",b),U=0===P.padding||"0px"===P.padding?{padding:24}:void 0,A=c.createElement("div",{className:"".concat(G,"-loading-block")}),q=c.createElement("div",{className:"".concat(G,"-loading-content"),style:U},c.createElement(m.Z,{gutter:8},c.createElement(d.Z,{span:22},A)),c.createElement(m.Z,{gutter:8},c.createElement(d.Z,{span:8},A),c.createElement(d.Z,{span:15},A)),c.createElement(m.Z,{gutter:8},c.createElement(d.Z,{span:6},A),c.createElement(d.Z,{span:18},A)),c.createElement(m.Z,{gutter:8},c.createElement(d.Z,{span:13},A),c.createElement(d.Z,{span:9},A)),c.createElement(m.Z,{gutter:8},c.createElement(d.Z,{span:4},A),c.createElement(d.Z,{span:3},A),c.createElement(d.Z,{span:16},A))),H=void 0!==V,Q=(0,r.Z)((0,r.Z)({},R),(t={},(0,a.Z)(t,H?"activeKey":"defaultActiveKey",H?V:L),(0,a.Z)(t,"tabBarExtraContent",M),t)),W=_&&_.length?c.createElement(p.Z,(0,r.Z)({size:"large"},Q,{className:"".concat(G,"-head-tabs"),onChange:function(t){var n;null===(n=e.onTabChange)||void 0===n||n.call(e,t)}}),_.map((function(e){return c.createElement(p.Z.TabPane,{tab:e.tab,disabled:e.disabled,key:e.key})}))):null;(S||E||W)&&(o=c.createElement("div",{className:"".concat(G,"-head"),style:N},c.createElement("div",{className:"".concat(G,"-head-wrapper")},S&&c.createElement("div",{className:"".concat(G,"-head-title")},S),E&&c.createElement("div",{className:"".concat(G,"-extra")},E)),W));var F,Y=j?c.createElement("div",{className:"".concat(G,"-cover")},j):null,X=c.createElement("div",{className:"".concat(G,"-body"),style:P},O?q:K),$=T&&T.length?c.createElement("ul",{className:"".concat(G,"-actions")},function(e){return e.map((function(t,n){return c.createElement("li",{style:{width:"".concat(100/e.length,"%")},key:"action-".concat(n)},c.createElement("span",null,t))}))}(T)):null,ee=(0,i.Z)(D,["onTabChange"]),te=w||y,ne=l()(G,(n={},(0,a.Z)(n,"".concat(G,"-loading"),O),(0,a.Z)(n,"".concat(G,"-bordered"),I),(0,a.Z)(n,"".concat(G,"-hoverable"),B),(0,a.Z)(n,"".concat(G,"-contain-grid"),(c.Children.forEach(e.children,(function(e){e&&e.type&&e.type===u&&(F=!0)})),F)),(0,a.Z)(n,"".concat(G,"-contain-tabs"),_&&_.length),(0,a.Z)(n,"".concat(G,"-").concat(te),te),(0,a.Z)(n,"".concat(G,"-type-").concat(z),!!z),(0,a.Z)(n,"".concat(G,"-rtl"),"rtl"===v),n),x);return c.createElement("div",(0,r.Z)({},ee,{className:ne}),o,Y,X,$)};f.Grid=u,f.Meta=function(e){return c.createElement(s.C,null,(function(t){var n=t.getPrefixCls,a=e.prefixCls,o=e.className,i=e.avatar,s=e.title,u=e.description,p=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n}(e,["prefixCls","className","avatar","title","description"]),m=n("card",a),d=l()("".concat(m,"-meta"),o),h=i?c.createElement("div",{className:"".concat(m,"-meta-avatar")},i):null,f=s?c.createElement("div",{className:"".concat(m,"-meta-title")},s):null,g=u?c.createElement("div",{className:"".concat(m,"-meta-description")},u):null,v=f||g?c.createElement("div",{className:"".concat(m,"-meta-detail")},f,g):null;return c.createElement("div",(0,r.Z)({},p,{className:d}),h,v)}))};var g=f},5806:function(e,t,n){var a=n(7228),r=n(7363),c=n(5e3);t.Z=function(){var e=(0,r.useState)({}),t=(0,a.Z)(e,2),n=t[0],o=t[1];return(0,r.useEffect)((function(){var e=c.ZP.subscribe((function(e){o(e)}));return function(){return c.ZP.unsubscribe(e)}}),[]),n}},9455:function(e,t,n){n.d(t,{ZM:function(){return C},ZP:function(){return Z}});var a=n(7870),r=n(4741),c=n(63),o=n(7228),l=n(3429),i=n(7363),s=n(2286),u=n.n(s),p=n(9591),m=n(5806),d=n(5e3),h=n(4178),f=n(754),g=n(9388),v=n(2275),y=n(8929),b=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},x=function(e){var t,n=e.prefixCls,a=e.children,o=e.actions,l=e.extra,s=e.className,p=e.colStyle,m=b(e,["prefixCls","children","actions","extra","className","colStyle"]),d=i.useContext(C),f=d.grid,g=d.itemLayout,x=(0,i.useContext(h.E_).getPrefixCls)("list",n),E=o&&o.length>0&&i.createElement("ul",{className:"".concat(x,"-item-action"),key:"actions"},o.map((function(e,t){return i.createElement("li",{key:"".concat(x,"-item-action-").concat(t)},e,t!==o.length-1&&i.createElement("em",{className:"".concat(x,"-item-action-split")}))}))),N=f?"div":"li",Z=i.createElement(N,(0,r.Z)({},m,{className:u()("".concat(x,"-item"),(0,c.Z)({},"".concat(x,"-item-no-flex"),!("vertical"===g?l:(i.Children.forEach(a,(function(e){"string"==typeof e&&(t=!0)})),!(t&&i.Children.count(a)>1)))),s)}),"vertical"===g&&l?[i.createElement("div",{className:"".concat(x,"-item-main"),key:"content"},a,E),i.createElement("div",{className:"".concat(x,"-item-extra"),key:"extra"},l)]:[a,E,(0,y.Tm)(l,{key:"extra"})]);return f?i.createElement(v.Z,{flex:1,style:p},Z):Z};x.Meta=function(e){var t=e.prefixCls,n=e.className,a=e.avatar,c=e.title,o=e.description,l=b(e,["prefixCls","className","avatar","title","description"]),s=(0,i.useContext(h.E_).getPrefixCls)("list",t),p=u()("".concat(s,"-item-meta"),n),m=i.createElement("div",{className:"".concat(s,"-item-meta-content")},c&&i.createElement("h4",{className:"".concat(s,"-item-meta-title")},c),o&&i.createElement("div",{className:"".concat(s,"-item-meta-description")},o));return i.createElement("div",(0,r.Z)({},l,{className:p}),a&&i.createElement("div",{className:"".concat(s,"-item-meta-avatar")},a),(c||o)&&m)};var E=x,C=i.createContext({});function N(e){var t,n=e.pagination,s=void 0!==n&&n,v=e.prefixCls,y=e.bordered,b=void 0!==y&&y,x=e.split,E=void 0===x||x,N=e.className,Z=e.children,P=e.itemLayout,S=e.loadMore,O=e.grid,k=e.dataSource,I=void 0===k?[]:k,w=e.size,z=e.header,j=e.footer,T=e.loading,_=void 0!==T&&T,K=e.rowKey,V=e.renderItem,L=e.locale,M=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n}(e,["pagination","prefixCls","bordered","split","className","children","itemLayout","loadMore","grid","dataSource","size","header","footer","loading","rowKey","renderItem","locale"]),B=s&&"object"===(0,l.Z)(s)?s:{},J=i.useState(B.defaultCurrent||1),R=(0,o.Z)(J,2),D=R[0],G=R[1],U=i.useState(B.defaultPageSize||10),A=(0,o.Z)(U,2),q=A[0],H=A[1],Q=i.useContext(h.E_),W=Q.getPrefixCls,F=Q.renderEmpty,Y=Q.direction,X={},$=function(e){return function(t,n){G(t),H(n),s&&s[e]&&s[e](t,n)}},ee=$("onChange"),te=$("onShowSizeChange"),ne=W("list",v),ae=_;"boolean"==typeof ae&&(ae={spinning:ae});var re=ae&&ae.spinning,ce="";switch(w){case"large":ce="lg";break;case"small":ce="sm"}var oe=u()(ne,(t={},(0,c.Z)(t,"".concat(ne,"-vertical"),"vertical"===P),(0,c.Z)(t,"".concat(ne,"-").concat(ce),ce),(0,c.Z)(t,"".concat(ne,"-split"),E),(0,c.Z)(t,"".concat(ne,"-bordered"),b),(0,c.Z)(t,"".concat(ne,"-loading"),re),(0,c.Z)(t,"".concat(ne,"-grid"),!!O),(0,c.Z)(t,"".concat(ne,"-something-after-last-item"),!!(S||s||j)),(0,c.Z)(t,"".concat(ne,"-rtl"),"rtl"===Y),t),N),le=(0,r.Z)((0,r.Z)((0,r.Z)({},{current:1,total:0}),{total:I.length,current:D,pageSize:q}),s||{}),ie=Math.ceil(le.total/le.pageSize);le.current>ie&&(le.current=ie);var se=s?i.createElement("div",{className:"".concat(ne,"-pagination")},i.createElement(f.Z,(0,r.Z)({},le,{onChange:ee,onShowSizeChange:te}))):null,ue=(0,a.Z)(I);s&&I.length>(le.current-1)*le.pageSize&&(ue=(0,a.Z)(I).splice((le.current-1)*le.pageSize,le.pageSize));var pe=(0,m.Z)(),me=i.useMemo((function(){for(var e=0;e<d.c4.length;e+=1){var t=d.c4[e];if(pe[t])return t}}),[pe]),de=i.useMemo((function(){if(O){var e=me&&O[me]?O[me]:O.column;return e?{width:"".concat(100/e,"%"),maxWidth:"".concat(100/e,"%")}:void 0}}),[null==O?void 0:O.column,me]),he=re&&i.createElement("div",{style:{minHeight:53}});if(ue.length>0){var fe=ue.map((function(e,t){return function(e,t){return V?((n="function"==typeof K?K(e):"string"==typeof K?e[K]:e.key)||(n="list-item-".concat(t)),X[t]=n,V(e,t)):null;var n}(e,t)})),ge=i.Children.map(fe,(function(e,t){return i.createElement("div",{key:X[t],style:de},e)}));he=O?i.createElement(g.Z,{gutter:O.gutter},ge):i.createElement("ul",{className:"".concat(ne,"-items")},fe)}else Z||re||(he=function(e,t){return i.createElement("div",{className:"".concat(e,"-empty-text")},L&&L.emptyText||t("List"))}(ne,F));var ve=le.position||"bottom";return i.createElement(C.Provider,{value:{grid:O,itemLayout:P}},i.createElement("div",(0,r.Z)({className:oe},M),("top"===ve||"both"===ve)&&se,z&&i.createElement("div",{className:"".concat(ne,"-header")},z),i.createElement(p.Z,ae,he,Z),j&&i.createElement("div",{className:"".concat(ne,"-footer")},j),S||("bottom"===ve||"both"===ve)&&se))}C.Consumer,N.Item=E;var Z=N},754:function(e,t,n){n.d(t,{Z:function(){return L}});var a=n(63),r=n(4741),c=n(7363),o=n.n(c),l=n(2711),i=n(6762),s=n(3340),u=n(3841),p=n(5952),m=n(2286),d=n.n(m),h=function(e){var t,n="".concat(e.rootPrefixCls,"-item"),r=d()(n,"".concat(n,"-").concat(e.page),(t={},(0,a.Z)(t,"".concat(n,"-active"),e.active),(0,a.Z)(t,e.className,!!e.className),(0,a.Z)(t,"".concat(n,"-disabled"),!e.page),t));return o().createElement("li",{title:e.showTitle?e.page:null,className:r,onClick:function(){e.onClick(e.page)},onKeyPress:function(t){e.onKeyPress(t,e.onClick,e.page)},tabIndex:"0"},e.itemRender(e.page,"page",o().createElement("a",{rel:"nofollow"},e.page)))},f=function(e){(0,u.Z)(n,e);var t=(0,p.Z)(n);function n(){var e;(0,i.Z)(this,n);for(var a=arguments.length,r=new Array(a),c=0;c<a;c++)r[c]=arguments[c];return(e=t.call.apply(t,[this].concat(r))).state={goInputText:""},e.buildOptionText=function(t){return"".concat(t," ").concat(e.props.locale.items_per_page)},e.changeSize=function(t){e.props.changeSize(Number(t))},e.handleChange=function(t){e.setState({goInputText:t.target.value})},e.handleBlur=function(t){var n=e.props,a=n.goButton,r=n.quickGo,c=n.rootPrefixCls,o=e.state.goInputText;a||""===o||(e.setState({goInputText:""}),t.relatedTarget&&(t.relatedTarget.className.indexOf("".concat(c,"-item-link"))>=0||t.relatedTarget.className.indexOf("".concat(c,"-item"))>=0)||r(e.getValidValue()))},e.go=function(t){""!==e.state.goInputText&&(13!==t.keyCode&&"click"!==t.type||(e.setState({goInputText:""}),e.props.quickGo(e.getValidValue())))},e}return(0,s.Z)(n,[{key:"getValidValue",value:function(){var e=this.state.goInputText;return!e||isNaN(e)?void 0:Number(e)}},{key:"getPageSizeOptions",value:function(){var e=this.props,t=e.pageSize,n=e.pageSizeOptions;return n.some((function(e){return e.toString()===t.toString()}))?n:n.concat([t.toString()]).sort((function(e,t){return(isNaN(Number(e))?0:Number(e))-(isNaN(Number(t))?0:Number(t))}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.pageSize,a=t.locale,r=t.rootPrefixCls,c=t.changeSize,l=t.quickGo,i=t.goButton,s=t.selectComponentClass,u=t.buildOptionText,p=t.selectPrefixCls,m=t.disabled,d=this.state.goInputText,h="".concat(r,"-options"),f=s,g=null,v=null,y=null;if(!c&&!l)return null;var b=this.getPageSizeOptions();if(c&&f){var x=b.map((function(t,n){return o().createElement(f.Option,{key:n,value:t.toString()},(u||e.buildOptionText)(t))}));g=o().createElement(f,{disabled:m,prefixCls:p,showSearch:!1,className:"".concat(h,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(n||b[0]).toString(),onChange:this.changeSize,getPopupContainer:function(e){return e.parentNode}},x)}return l&&(i&&(y="boolean"==typeof i?o().createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:m,className:"".concat(h,"-quick-jumper-button")},a.jump_to_confirm):o().createElement("span",{onClick:this.go,onKeyUp:this.go},i)),v=o().createElement("div",{className:"".concat(h,"-quick-jumper")},a.jump_to,o().createElement("input",{disabled:m,type:"text",value:d,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),a.page,y)),o().createElement("li",{className:"".concat(h)},g,v)}}]),n}(o().Component);f.defaultProps={pageSizeOptions:["10","20","50","100"]};var g=f;function v(){}function y(e,t,n){var a=void 0===e?t.pageSize:e;return Math.floor((n.total-1)/a)+1}var b=function(e){(0,u.Z)(n,e);var t=(0,p.Z)(n);function n(e){var a;(0,i.Z)(this,n),(a=t.call(this,e)).getJumpPrevPage=function(){return Math.max(1,a.state.current-(a.props.showLessItems?3:5))},a.getJumpNextPage=function(){return Math.min(y(void 0,a.state,a.props),a.state.current+(a.props.showLessItems?3:5))},a.getItemIcon=function(e,t){var n=a.props.prefixCls,r=e||o().createElement("button",{type:"button","aria-label":t,className:"".concat(n,"-item-link")});return"function"==typeof e&&(r=o().createElement(e,(0,l.Z)({},a.props))),r},a.savePaginationNode=function(e){a.paginationNode=e},a.isValid=function(e){return"number"==typeof(t=e)&&isFinite(t)&&Math.floor(t)===t&&e!==a.state.current;var t},a.shouldDisplayQuickJumper=function(){var e=a.props,t=e.showQuickJumper,n=e.pageSize;return!(e.total<=n)&&t},a.handleKeyDown=function(e){38!==e.keyCode&&40!==e.keyCode||e.preventDefault()},a.handleKeyUp=function(e){var t=a.getValidValue(e);t!==a.state.currentInputValue&&a.setState({currentInputValue:t}),13===e.keyCode?a.handleChange(t):38===e.keyCode?a.handleChange(t-1):40===e.keyCode&&a.handleChange(t+1)},a.changePageSize=function(e){var t=a.state.current,n=y(e,a.state,a.props);t=t>n?n:t,0===n&&(t=a.state.current),"number"==typeof e&&("pageSize"in a.props||a.setState({pageSize:e}),"current"in a.props||a.setState({current:t,currentInputValue:t})),a.props.onShowSizeChange(t,e),"onChange"in a.props&&a.props.onChange&&a.props.onChange(t,e)},a.handleChange=function(e){var t=a.props.disabled,n=e;if(a.isValid(n)&&!t){var r=y(void 0,a.state,a.props);n>r?n=r:n<1&&(n=1),"current"in a.props||a.setState({current:n,currentInputValue:n});var c=a.state.pageSize;return a.props.onChange(n,c),n}return a.state.current},a.prev=function(){a.hasPrev()&&a.handleChange(a.state.current-1)},a.next=function(){a.hasNext()&&a.handleChange(a.state.current+1)},a.jumpPrev=function(){a.handleChange(a.getJumpPrevPage())},a.jumpNext=function(){a.handleChange(a.getJumpNextPage())},a.hasPrev=function(){return a.state.current>1},a.hasNext=function(){return a.state.current<y(void 0,a.state,a.props)},a.runIfEnter=function(e,t){if("Enter"===e.key||13===e.charCode){for(var n=arguments.length,a=new Array(n>2?n-2:0),r=2;r<n;r++)a[r-2]=arguments[r];t.apply(void 0,a)}},a.runIfEnterPrev=function(e){a.runIfEnter(e,a.prev)},a.runIfEnterNext=function(e){a.runIfEnter(e,a.next)},a.runIfEnterJumpPrev=function(e){a.runIfEnter(e,a.jumpPrev)},a.runIfEnterJumpNext=function(e){a.runIfEnter(e,a.jumpNext)},a.handleGoTO=function(e){13!==e.keyCode&&"click"!==e.type||a.handleChange(a.state.currentInputValue)};var r=e.onChange!==v;"current"in e&&!r&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var c=e.defaultCurrent;"current"in e&&(c=e.current);var s=e.defaultPageSize;return"pageSize"in e&&(s=e.pageSize),c=Math.min(c,y(s,void 0,e)),a.state={current:c,currentInputValue:c,pageSize:s},a}return(0,s.Z)(n,[{key:"componentDidUpdate",value:function(e,t){var n=this.props.prefixCls;if(t.current!==this.state.current&&this.paginationNode){var a=this.paginationNode.querySelector(".".concat(n,"-item-").concat(t.current));a&&document.activeElement===a&&a.blur()}}},{key:"getValidValue",value:function(e){var t=e.target.value,n=y(void 0,this.state,this.props),a=this.state.currentInputValue;return""===t?t:isNaN(Number(t))?a:t>=n?n:Number(t)}},{key:"getShowSizeChanger",value:function(){var e=this.props,t=e.showSizeChanger,n=e.total,a=e.totalBoundaryShowSizeChanger;return void 0!==t?t:n>a}},{key:"renderPrev",value:function(e){var t=this.props,n=t.prevIcon,a=(0,t.itemRender)(e,"prev",this.getItemIcon(n,"prev page")),r=!this.hasPrev();return(0,c.isValidElement)(a)?(0,c.cloneElement)(a,{disabled:r}):a}},{key:"renderNext",value:function(e){var t=this.props,n=t.nextIcon,a=(0,t.itemRender)(e,"next",this.getItemIcon(n,"next page")),r=!this.hasNext();return(0,c.isValidElement)(a)?(0,c.cloneElement)(a,{disabled:r}):a}},{key:"render",value:function(){var e=this,t=this.props,n=t.prefixCls,l=t.className,i=t.style,s=t.disabled,u=t.hideOnSinglePage,p=t.total,m=t.locale,f=t.showQuickJumper,v=t.showLessItems,b=t.showTitle,x=t.showTotal,E=t.simple,C=t.itemRender,N=t.showPrevNextJumpers,Z=t.jumpPrevIcon,P=t.jumpNextIcon,S=t.selectComponentClass,O=t.selectPrefixCls,k=t.pageSizeOptions,I=this.state,w=I.current,z=I.pageSize,j=I.currentInputValue;if(!0===u&&p<=z)return null;var T=y(void 0,this.state,this.props),_=[],K=null,V=null,L=null,M=null,B=null,J=f&&f.goButton,R=v?1:2,D=w-1>0?w-1:0,G=w+1<T?w+1:T,U=Object.keys(this.props).reduce((function(t,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)&&"role"!==n||(t[n]=e.props[n]),t}),{});if(E)return J&&(B="boolean"==typeof J?o().createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},m.jump_to_confirm):o().createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},J),B=o().createElement("li",{title:b?"".concat(m.jump_to).concat(w,"/").concat(T):null,className:"".concat(n,"-simple-pager")},B)),o().createElement("ul",(0,r.Z)({className:d()(n,"".concat(n,"-simple"),(0,a.Z)({},"".concat(n,"-disabled"),s),l),style:i,ref:this.savePaginationNode},U),o().createElement("li",{title:b?m.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:d()("".concat(n,"-prev"),(0,a.Z)({},"".concat(n,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(D)),o().createElement("li",{title:b?"".concat(w,"/").concat(T):null,className:"".concat(n,"-simple-pager")},o().createElement("input",{type:"text",value:j,disabled:s,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),o().createElement("span",{className:"".concat(n,"-slash")},"/"),T),o().createElement("li",{title:b?m.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:d()("".concat(n,"-next"),(0,a.Z)({},"".concat(n,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(G)),B);if(T<=3+2*R){var A={locale:m,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:b,itemRender:C};T||_.push(o().createElement(h,(0,r.Z)({},A,{key:"noPager",page:T,className:"".concat(n,"-disabled")})));for(var q=1;q<=T;q+=1){var H=w===q;_.push(o().createElement(h,(0,r.Z)({},A,{key:q,page:q,active:H})))}}else{var Q=v?m.prev_3:m.prev_5,W=v?m.next_3:m.next_5;N&&(K=o().createElement("li",{title:b?Q:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:d()("".concat(n,"-jump-prev"),(0,a.Z)({},"".concat(n,"-jump-prev-custom-icon"),!!Z))},C(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Z,"prev page"))),V=o().createElement("li",{title:b?W:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:d()("".concat(n,"-jump-next"),(0,a.Z)({},"".concat(n,"-jump-next-custom-icon"),!!P))},C(this.getJumpNextPage(),"jump-next",this.getItemIcon(P,"next page")))),M=o().createElement(h,{locale:m,last:!0,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:T,page:T,active:!1,showTitle:b,itemRender:C}),L=o().createElement(h,{locale:m,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:b,itemRender:C});var F=Math.max(1,w-R),Y=Math.min(w+R,T);w-1<=R&&(Y=1+2*R),T-w<=R&&(F=T-2*R);for(var X=F;X<=Y;X+=1){var $=w===X;_.push(o().createElement(h,{locale:m,rootPrefixCls:n,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:X,page:X,active:$,showTitle:b,itemRender:C}))}w-1>=2*R&&3!==w&&(_[0]=(0,c.cloneElement)(_[0],{className:"".concat(n,"-item-after-jump-prev")}),_.unshift(K)),T-w>=2*R&&w!==T-2&&(_[_.length-1]=(0,c.cloneElement)(_[_.length-1],{className:"".concat(n,"-item-before-jump-next")}),_.push(V)),1!==F&&_.unshift(L),Y!==T&&_.push(M)}var ee=null;x&&(ee=o().createElement("li",{className:"".concat(n,"-total-text")},x(p,[0===p?0:(w-1)*z+1,w*z>p?p:w*z])));var te=!this.hasPrev()||!T,ne=!this.hasNext()||!T;return o().createElement("ul",(0,r.Z)({className:d()(n,l,(0,a.Z)({},"".concat(n,"-disabled"),s)),style:i,unselectable:"unselectable",ref:this.savePaginationNode},U),ee,o().createElement("li",{title:b?m.prev_page:null,onClick:this.prev,tabIndex:te?null:0,onKeyPress:this.runIfEnterPrev,className:d()("".concat(n,"-prev"),(0,a.Z)({},"".concat(n,"-disabled"),te)),"aria-disabled":te},this.renderPrev(D)),_,o().createElement("li",{title:b?m.next_page:null,onClick:this.next,tabIndex:ne?null:0,onKeyPress:this.runIfEnterNext,className:d()("".concat(n,"-next"),(0,a.Z)({},"".concat(n,"-disabled"),ne)),"aria-disabled":ne},this.renderNext(G)),o().createElement(g,{disabled:s,locale:m,rootPrefixCls:n,selectComponentClass:S,selectPrefixCls:O,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:w,pageSize:z,pageSizeOptions:k,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:J}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n={};if("current"in e&&(n.current=e.current,e.current!==t.current&&(n.currentInputValue=n.current)),"pageSize"in e&&e.pageSize!==t.pageSize){var a=t.current,r=y(e.pageSize,t,e);a=a>r?r:a,"current"in e||(n.current=a,n.currentInputValue=a),n.pageSize=e.pageSize}return n}}]),n}(o().Component);b.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:v,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:v,locale:{items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页"},style:{},itemRender:function(e,t,n){return n},totalBoundaryShowSizeChanger:50};var x=b,E=n(2191),C=n(8122),N=n(4632),Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},P=n(3751),S=function(e,t){return c.createElement(P.Z,Object.assign({},e,{ref:t,icon:Z}))};S.displayName="DoubleLeftOutlined";var O=c.forwardRef(S),k={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},I=function(e,t){return c.createElement(P.Z,Object.assign({},e,{ref:t,icon:k}))};I.displayName="DoubleRightOutlined";var w=c.forwardRef(I),z=n(3828),j=function(e){return c.createElement(z.Z,(0,r.Z)({size:"small"},e))};j.Option=z.Z.Option;var T=j,_=n(7416),K=n(4178),V=n(5806),L=function(e){var t=e.prefixCls,n=e.selectPrefixCls,o=e.className,l=e.size,i=e.locale,s=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n}(e,["prefixCls","selectPrefixCls","className","size","locale"]),u=(0,V.Z)().xs,p=c.useContext(K.E_),m=p.getPrefixCls,h=p.direction,f=m("pagination",t),g=function(e){var t=(0,r.Z)((0,r.Z)({},e),i),p="small"===l||!(!u||l||!s.responsive),g=m("select",n),v=d()((0,a.Z)({mini:p},"".concat(f,"-rtl"),"rtl"===h),o);return c.createElement(x,(0,r.Z)({},s,{prefixCls:f,selectPrefixCls:g},function(){var e=c.createElement("span",{className:"".concat(f,"-item-ellipsis")},"•••"),t=c.createElement("button",{className:"".concat(f,"-item-link"),type:"button",tabIndex:-1},c.createElement(C.Z,null)),n=c.createElement("button",{className:"".concat(f,"-item-link"),type:"button",tabIndex:-1},c.createElement(N.Z,null)),a=c.createElement("a",{className:"".concat(f,"-item-link")},c.createElement("div",{className:"".concat(f,"-item-container")},c.createElement(O,{className:"".concat(f,"-item-link-icon")}),e)),r=c.createElement("a",{className:"".concat(f,"-item-link")},c.createElement("div",{className:"".concat(f,"-item-container")},c.createElement(w,{className:"".concat(f,"-item-link-icon")}),e));if("rtl"===h){var o=[n,t];t=o[0],n=o[1];var l=[r,a];a=l[0],r=l[1]}return{prevIcon:t,nextIcon:n,jumpPrevIcon:a,jumpNextIcon:r}}(),{className:v,selectComponentClass:p?T:z.Z,locale:t}))};return c.createElement(_.Z,{componentName:"Pagination",defaultLocale:E.Z},g)}}}]);
2
+ //# sourceMappingURL=191.lite.js.map?ver=e7cc201b0fd38612fca5
public/dist/191.lite.js.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"file":"191.lite.js?ver=e7cc201b0fd38612fca5","mappings":"mLAEA,EADmB,CAAE,KAAQ,CAAE,IAAO,MAAO,MAAS,CAAE,QAAW,gBAAiB,UAAa,SAAW,SAAY,CAAC,CAAE,IAAO,OAAQ,MAAS,CAAE,EAAK,4LAAgM,KAAQ,OAAQ,MAAS,Y,UCK/W,EAAe,SAAsBA,EAAOC,GAC9C,OAAoB,gBAAoBC,EAAA,EAAUC,OAAOC,OAAO,GAAIJ,EAAO,CACzEC,IAAKA,EACLI,KAAM,MAIV,EAAaC,YAAc,eAC3B,MAA4B,aAAiB,I,mECZ7C,EADoB,CAAE,KAAQ,CAAE,IAAO,MAAO,MAAS,CA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GAAGqB,OAAOtB,EAAW,eAClB,gBAAoB,MAAO,CACzCC,UAAW,GAAGqB,OAAOtB,EAAW,oBAClB,gBAAoB,EAAqB,CACvDC,UAAW,GAAGqB,OAAOtB,EAAW,qBAC9B+W,IAEJ,GAAkB,QAAdnV,EAAqB,CACvB,IAAIV,EAAO,CAACwS,EAAUN,GACtBA,EAAWlS,EAAK,GAChBwS,EAAWxS,EAAK,GAChB,IAAIgW,EAAQ,CAAChD,EAAcD,GAC3BA,EAAeiD,EAAM,GACrBhD,EAAegD,EAAM,GAGvB,MAAO,CACL9D,SAAUA,EACVM,SAAUA,EACVO,aAAcA,EACdC,aAAcA,GAebiD,GAAiB,CAClBlX,UAAW4W,EACXzI,qBAAsBuI,EAAU,EAAa,IAC7C9O,OAAQA,MAIZ,OAAoB,gBAAoBuP,EAAA,EAAgB,CACtDC,cAAe,aACfC,cAAe,KACdb","sources":["webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons/es/icons/LeftOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons-svg/es/asn/RightOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons/es/icons/RightOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/card/Grid.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/card/index.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/card/Meta.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/grid/hooks/useBreakpoint.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/list/Item.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/list/index.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/rc-pagination/es/Pager.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/rc-pagination/es/Options.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/rc-pagination/es/KeyCode.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/rc-pagination/es/Pagination.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/rc-pagination/es/locale/zh_CN.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons-svg/es/asn/DoubleLeftOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons/es/icons/DoubleLeftOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons-svg/es/asn/DoubleRightOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons/es/icons/DoubleRightOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/pagination/MiniSelect.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/pagination/index.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/pagination/Pagination.js"],"sourcesContent":["// This icon file is generated automatically.\nvar LeftOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z\" } }] }, \"name\": \"left\", \"theme\": \"outlined\" };\nexport default LeftOutlined;\n","// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport LeftOutlinedSvg from \"@ant-design/icons-svg/es/asn/LeftOutlined\";\nimport AntdIcon from '../components/AntdIcon';\n\nvar LeftOutlined = function LeftOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, Object.assign({}, props, {\n ref: ref,\n icon: LeftOutlinedSvg\n }));\n};\n\nLeftOutlined.displayName = 'LeftOutlined';\nexport default /*#__PURE__*/React.forwardRef(LeftOutlined);","// This icon file is generated automatically.\nvar RightOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z\" } }] }, \"name\": \"right\", \"theme\": \"outlined\" };\nexport default RightOutlined;\n","// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport RightOutlinedSvg from \"@ant-design/icons-svg/es/asn/RightOutlined\";\nimport AntdIcon from '../components/AntdIcon';\n\nvar RightOutlined = function RightOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, Object.assign({}, props, {\n ref: ref,\n icon: RightOutlinedSvg\n }));\n};\n\nRightOutlined.displayName = 'RightOutlined';\nexport default /*#__PURE__*/React.forwardRef(RightOutlined);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { ConfigConsumer } from '../config-provider';\n\nvar Grid = function Grid(_a) {\n var prefixCls = _a.prefixCls,\n className = _a.className,\n _a$hoverable = _a.hoverable,\n hoverable = _a$hoverable === void 0 ? true : _a$hoverable,\n props = __rest(_a, [\"prefixCls\", \"className\", \"hoverable\"]);\n\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, function (_ref) {\n var getPrefixCls = _ref.getPrefixCls;\n var prefix = getPrefixCls('card', prefixCls);\n var classString = classNames(\"\".concat(prefix, \"-grid\"), className, _defineProperty({}, \"\".concat(prefix, \"-grid-hoverable\"), hoverable));\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, props, {\n className: classString\n }));\n });\n};\n\nexport default Grid;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport Grid from './Grid';\nimport Meta from './Meta';\nimport Tabs from '../tabs';\nimport Row from '../row';\nimport Col from '../col';\nimport { ConfigContext } from '../config-provider';\nimport SizeContext from '../config-provider/SizeContext';\n\nfunction getAction(actions) {\n var actionList = actions.map(function (action, index) {\n return (\n /*#__PURE__*/\n // eslint-disable-next-line react/no-array-index-key\n React.createElement(\"li\", {\n style: {\n width: \"\".concat(100 / actions.length, \"%\")\n },\n key: \"action-\".concat(index)\n }, /*#__PURE__*/React.createElement(\"span\", null, action))\n );\n });\n return actionList;\n}\n\nvar Card = function Card(props) {\n var _extends2, _classNames;\n\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n\n var size = React.useContext(SizeContext);\n\n var onTabChange = function onTabChange(key) {\n var _a;\n\n (_a = props.onTabChange) === null || _a === void 0 ? void 0 : _a.call(props, key);\n };\n\n var isContainGrid = function isContainGrid() {\n var containGrid;\n React.Children.forEach(props.children, function (element) {\n if (element && element.type && element.type === Grid) {\n containGrid = true;\n }\n });\n return containGrid;\n };\n\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n extra = props.extra,\n _props$headStyle = props.headStyle,\n headStyle = _props$headStyle === void 0 ? {} : _props$headStyle,\n _props$bodyStyle = props.bodyStyle,\n bodyStyle = _props$bodyStyle === void 0 ? {} : _props$bodyStyle,\n title = props.title,\n loading = props.loading,\n _props$bordered = props.bordered,\n bordered = _props$bordered === void 0 ? true : _props$bordered,\n customizeSize = props.size,\n type = props.type,\n cover = props.cover,\n actions = props.actions,\n tabList = props.tabList,\n children = props.children,\n activeTabKey = props.activeTabKey,\n defaultActiveTabKey = props.defaultActiveTabKey,\n tabBarExtraContent = props.tabBarExtraContent,\n hoverable = props.hoverable,\n _props$tabProps = props.tabProps,\n tabProps = _props$tabProps === void 0 ? {} : _props$tabProps,\n others = __rest(props, [\"prefixCls\", \"className\", \"extra\", \"headStyle\", \"bodyStyle\", \"title\", \"loading\", \"bordered\", \"size\", \"type\", \"cover\", \"actions\", \"tabList\", \"children\", \"activeTabKey\", \"defaultActiveTabKey\", \"tabBarExtraContent\", \"hoverable\", \"tabProps\"]);\n\n var prefixCls = getPrefixCls('card', customizePrefixCls);\n var loadingBlockStyle = bodyStyle.padding === 0 || bodyStyle.padding === '0px' ? {\n padding: 24\n } : undefined;\n var block = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-loading-block\")\n });\n var loadingBlock = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-loading-content\"),\n style: loadingBlockStyle\n }, /*#__PURE__*/React.createElement(Row, {\n gutter: 8\n }, /*#__PURE__*/React.createElement(Col, {\n span: 22\n }, block)), /*#__PURE__*/React.createElement(Row, {\n gutter: 8\n }, /*#__PURE__*/React.createElement(Col, {\n span: 8\n }, block), /*#__PURE__*/React.createElement(Col, {\n span: 15\n }, block)), /*#__PURE__*/React.createElement(Row, {\n gutter: 8\n }, /*#__PURE__*/React.createElement(Col, {\n span: 6\n }, block), /*#__PURE__*/React.createElement(Col, {\n span: 18\n }, block)), /*#__PURE__*/React.createElement(Row, {\n gutter: 8\n }, /*#__PURE__*/React.createElement(Col, {\n span: 13\n }, block), /*#__PURE__*/React.createElement(Col, {\n span: 9\n }, block)), /*#__PURE__*/React.createElement(Row, {\n gutter: 8\n }, /*#__PURE__*/React.createElement(Col, {\n span: 4\n }, block), /*#__PURE__*/React.createElement(Col, {\n span: 3\n }, block), /*#__PURE__*/React.createElement(Col, {\n span: 16\n }, block)));\n var hasActiveTabKey = activeTabKey !== undefined;\n\n var extraProps = _extends(_extends({}, tabProps), (_extends2 = {}, _defineProperty(_extends2, hasActiveTabKey ? 'activeKey' : 'defaultActiveKey', hasActiveTabKey ? activeTabKey : defaultActiveTabKey), _defineProperty(_extends2, \"tabBarExtraContent\", tabBarExtraContent), _extends2));\n\n var head;\n var tabs = tabList && tabList.length ? /*#__PURE__*/React.createElement(Tabs, _extends({\n size: \"large\"\n }, extraProps, {\n className: \"\".concat(prefixCls, \"-head-tabs\"),\n onChange: onTabChange\n }), tabList.map(function (item) {\n return /*#__PURE__*/React.createElement(Tabs.TabPane, {\n tab: item.tab,\n disabled: item.disabled,\n key: item.key\n });\n })) : null;\n\n if (title || extra || tabs) {\n head = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-head\"),\n style: headStyle\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-head-wrapper\")\n }, title && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-head-title\")\n }, title), extra && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-extra\")\n }, extra)), tabs);\n }\n\n var coverDom = cover ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-cover\")\n }, cover) : null;\n var body = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-body\"),\n style: bodyStyle\n }, loading ? loadingBlock : children);\n var actionDom = actions && actions.length ? /*#__PURE__*/React.createElement(\"ul\", {\n className: \"\".concat(prefixCls, \"-actions\")\n }, getAction(actions)) : null;\n var divProps = omit(others, ['onTabChange']);\n var mergedSize = customizeSize || size;\n var classString = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-loading\"), loading), _defineProperty(_classNames, \"\".concat(prefixCls, \"-bordered\"), bordered), _defineProperty(_classNames, \"\".concat(prefixCls, \"-hoverable\"), hoverable), _defineProperty(_classNames, \"\".concat(prefixCls, \"-contain-grid\"), isContainGrid()), _defineProperty(_classNames, \"\".concat(prefixCls, \"-contain-tabs\"), tabList && tabList.length), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(mergedSize), mergedSize), _defineProperty(_classNames, \"\".concat(prefixCls, \"-type-\").concat(type), !!type), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, divProps, {\n className: classString\n }), head, coverDom, body, actionDom);\n};\n\nCard.Grid = Grid;\nCard.Meta = Meta;\nexport default Card;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { ConfigConsumer } from '../config-provider';\n\nvar Meta = function Meta(props) {\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, function (_ref) {\n var getPrefixCls = _ref.getPrefixCls;\n\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n avatar = props.avatar,\n title = props.title,\n description = props.description,\n others = __rest(props, [\"prefixCls\", \"className\", \"avatar\", \"title\", \"description\"]);\n\n var prefixCls = getPrefixCls('card', customizePrefixCls);\n var classString = classNames(\"\".concat(prefixCls, \"-meta\"), className);\n var avatarDom = avatar ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-meta-avatar\")\n }, avatar) : null;\n var titleDom = title ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-meta-title\")\n }, title) : null;\n var descriptionDom = description ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-meta-description\")\n }, description) : null;\n var MetaDetail = titleDom || descriptionDom ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-meta-detail\")\n }, titleDom, descriptionDom) : null;\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, others, {\n className: classString\n }), avatarDom, MetaDetail);\n });\n};\n\nexport default Meta;","import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport { useEffect, useState } from 'react';\nimport ResponsiveObserve from '../../_util/responsiveObserve';\n\nfunction useBreakpoint() {\n var _useState = useState({}),\n _useState2 = _slicedToArray(_useState, 2),\n screens = _useState2[0],\n setScreens = _useState2[1];\n\n useEffect(function () {\n var token = ResponsiveObserve.subscribe(function (supportScreens) {\n setScreens(supportScreens);\n });\n return function () {\n return ResponsiveObserve.unsubscribe(token);\n };\n }, []);\n return screens;\n}\n\nexport default useBreakpoint;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { ListContext } from './index';\nimport { Col } from '../grid';\nimport { ConfigContext } from '../config-provider';\nimport { cloneElement } from '../_util/reactNode';\nexport var Meta = function Meta(_a) {\n var customizePrefixCls = _a.prefixCls,\n className = _a.className,\n avatar = _a.avatar,\n title = _a.title,\n description = _a.description,\n others = __rest(_a, [\"prefixCls\", \"className\", \"avatar\", \"title\", \"description\"]);\n\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n\n var prefixCls = getPrefixCls('list', customizePrefixCls);\n var classString = classNames(\"\".concat(prefixCls, \"-item-meta\"), className);\n var content = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-meta-content\")\n }, title && /*#__PURE__*/React.createElement(\"h4\", {\n className: \"\".concat(prefixCls, \"-item-meta-title\")\n }, title), description && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-meta-description\")\n }, description));\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, others, {\n className: classString\n }), avatar && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-meta-avatar\")\n }, avatar), (title || description) && content);\n};\n\nvar Item = function Item(_a) {\n var customizePrefixCls = _a.prefixCls,\n children = _a.children,\n actions = _a.actions,\n extra = _a.extra,\n className = _a.className,\n colStyle = _a.colStyle,\n others = __rest(_a, [\"prefixCls\", \"children\", \"actions\", \"extra\", \"className\", \"colStyle\"]);\n\n var _React$useContext2 = React.useContext(ListContext),\n grid = _React$useContext2.grid,\n itemLayout = _React$useContext2.itemLayout;\n\n var _React$useContext3 = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext3.getPrefixCls;\n\n var isItemContainsTextNodeAndNotSingular = function isItemContainsTextNodeAndNotSingular() {\n var result;\n React.Children.forEach(children, function (element) {\n if (typeof element === 'string') {\n result = true;\n }\n });\n return result && React.Children.count(children) > 1;\n };\n\n var isFlexMode = function isFlexMode() {\n if (itemLayout === 'vertical') {\n return !!extra;\n }\n\n return !isItemContainsTextNodeAndNotSingular();\n };\n\n var prefixCls = getPrefixCls('list', customizePrefixCls);\n var actionsContent = actions && actions.length > 0 && /*#__PURE__*/React.createElement(\"ul\", {\n className: \"\".concat(prefixCls, \"-item-action\"),\n key: \"actions\"\n }, actions.map(function (action, i) {\n return (\n /*#__PURE__*/\n // eslint-disable-next-line react/no-array-index-key\n React.createElement(\"li\", {\n key: \"\".concat(prefixCls, \"-item-action-\").concat(i)\n }, action, i !== actions.length - 1 && /*#__PURE__*/React.createElement(\"em\", {\n className: \"\".concat(prefixCls, \"-item-action-split\")\n }))\n );\n }));\n var Element = grid ? 'div' : 'li';\n var itemChildren = /*#__PURE__*/React.createElement(Element, _extends({}, others, {\n // `li` element `onCopy` prop args is not same as `div`\n className: classNames(\"\".concat(prefixCls, \"-item\"), _defineProperty({}, \"\".concat(prefixCls, \"-item-no-flex\"), !isFlexMode()), className)\n }), itemLayout === 'vertical' && extra ? [/*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-main\"),\n key: \"content\"\n }, children, actionsContent), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-extra\"),\n key: \"extra\"\n }, extra)] : [children, actionsContent, cloneElement(extra, {\n key: 'extra'\n })]);\n return grid ? /*#__PURE__*/React.createElement(Col, {\n flex: 1,\n style: colStyle\n }, itemChildren) : itemChildren;\n};\n\nItem.Meta = Meta;\nexport default Item;","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport Spin from '../spin';\nimport useBreakpoint from '../grid/hooks/useBreakpoint';\nimport { responsiveArray } from '../_util/responsiveObserve';\nimport { ConfigContext } from '../config-provider';\nimport Pagination from '../pagination';\nimport { Row } from '../grid';\nimport Item from './Item';\nexport var ListContext = /*#__PURE__*/React.createContext({});\nexport var ListConsumer = ListContext.Consumer;\n\nfunction List(_a) {\n var _classNames;\n\n var _a$pagination = _a.pagination,\n pagination = _a$pagination === void 0 ? false : _a$pagination,\n customizePrefixCls = _a.prefixCls,\n _a$bordered = _a.bordered,\n bordered = _a$bordered === void 0 ? false : _a$bordered,\n _a$split = _a.split,\n split = _a$split === void 0 ? true : _a$split,\n className = _a.className,\n children = _a.children,\n itemLayout = _a.itemLayout,\n loadMore = _a.loadMore,\n grid = _a.grid,\n _a$dataSource = _a.dataSource,\n dataSource = _a$dataSource === void 0 ? [] : _a$dataSource,\n size = _a.size,\n header = _a.header,\n footer = _a.footer,\n _a$loading = _a.loading,\n loading = _a$loading === void 0 ? false : _a$loading,\n rowKey = _a.rowKey,\n renderItem = _a.renderItem,\n locale = _a.locale,\n rest = __rest(_a, [\"pagination\", \"prefixCls\", \"bordered\", \"split\", \"className\", \"children\", \"itemLayout\", \"loadMore\", \"grid\", \"dataSource\", \"size\", \"header\", \"footer\", \"loading\", \"rowKey\", \"renderItem\", \"locale\"]);\n\n var paginationObj = pagination && _typeof(pagination) === 'object' ? pagination : {};\n\n var _React$useState = React.useState(paginationObj.defaultCurrent || 1),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n paginationCurrent = _React$useState2[0],\n setPaginationCurrent = _React$useState2[1];\n\n var _React$useState3 = React.useState(paginationObj.defaultPageSize || 10),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n paginationSize = _React$useState4[0],\n setPaginationSize = _React$useState4[1];\n\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n renderEmpty = _React$useContext.renderEmpty,\n direction = _React$useContext.direction;\n\n var defaultPaginationProps = {\n current: 1,\n total: 0\n };\n var keys = {};\n\n var triggerPaginationEvent = function triggerPaginationEvent(eventName) {\n return function (page, pageSize) {\n setPaginationCurrent(page);\n setPaginationSize(pageSize);\n\n if (pagination && pagination[eventName]) {\n pagination[eventName](page, pageSize);\n }\n };\n };\n\n var onPaginationChange = triggerPaginationEvent('onChange');\n var onPaginationShowSizeChange = triggerPaginationEvent('onShowSizeChange');\n\n var renderInnerItem = function renderInnerItem(item, index) {\n if (!renderItem) return null;\n var key;\n\n if (typeof rowKey === 'function') {\n key = rowKey(item);\n } else if (typeof rowKey === 'string') {\n key = item[rowKey];\n } else {\n key = item.key;\n }\n\n if (!key) {\n key = \"list-item-\".concat(index);\n }\n\n keys[index] = key;\n return renderItem(item, index);\n };\n\n var isSomethingAfterLastItem = function isSomethingAfterLastItem() {\n return !!(loadMore || pagination || footer);\n };\n\n var renderEmptyFunc = function renderEmptyFunc(prefixCls, renderEmptyHandler) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-empty-text\")\n }, locale && locale.emptyText || renderEmptyHandler('List'));\n };\n\n var prefixCls = getPrefixCls('list', customizePrefixCls);\n var loadingProp = loading;\n\n if (typeof loadingProp === 'boolean') {\n loadingProp = {\n spinning: loadingProp\n };\n }\n\n var isLoading = loadingProp && loadingProp.spinning; // large => lg\n // small => sm\n\n var sizeCls = '';\n\n switch (size) {\n case 'large':\n sizeCls = 'lg';\n break;\n\n case 'small':\n sizeCls = 'sm';\n break;\n\n default:\n break;\n }\n\n var classString = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-vertical\"), itemLayout === 'vertical'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(sizeCls), sizeCls), _defineProperty(_classNames, \"\".concat(prefixCls, \"-split\"), split), _defineProperty(_classNames, \"\".concat(prefixCls, \"-bordered\"), bordered), _defineProperty(_classNames, \"\".concat(prefixCls, \"-loading\"), isLoading), _defineProperty(_classNames, \"\".concat(prefixCls, \"-grid\"), !!grid), _defineProperty(_classNames, \"\".concat(prefixCls, \"-something-after-last-item\"), isSomethingAfterLastItem()), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n\n var paginationProps = _extends(_extends(_extends({}, defaultPaginationProps), {\n total: dataSource.length,\n current: paginationCurrent,\n pageSize: paginationSize\n }), pagination || {});\n\n var largestPage = Math.ceil(paginationProps.total / paginationProps.pageSize);\n\n if (paginationProps.current > largestPage) {\n paginationProps.current = largestPage;\n }\n\n var paginationContent = pagination ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-pagination\")\n }, /*#__PURE__*/React.createElement(Pagination, _extends({}, paginationProps, {\n onChange: onPaginationChange,\n onShowSizeChange: onPaginationShowSizeChange\n }))) : null;\n\n var splitDataSource = _toConsumableArray(dataSource);\n\n if (pagination) {\n if (dataSource.length > (paginationProps.current - 1) * paginationProps.pageSize) {\n splitDataSource = _toConsumableArray(dataSource).splice((paginationProps.current - 1) * paginationProps.pageSize, paginationProps.pageSize);\n }\n }\n\n var screens = useBreakpoint();\n var currentBreakpoint = React.useMemo(function () {\n for (var i = 0; i < responsiveArray.length; i += 1) {\n var breakpoint = responsiveArray[i];\n\n if (screens[breakpoint]) {\n return breakpoint;\n }\n }\n\n return undefined;\n }, [screens]);\n var colStyle = React.useMemo(function () {\n if (!grid) {\n return undefined;\n }\n\n var columnCount = currentBreakpoint && grid[currentBreakpoint] ? grid[currentBreakpoint] : grid.column;\n\n if (columnCount) {\n return {\n width: \"\".concat(100 / columnCount, \"%\"),\n maxWidth: \"\".concat(100 / columnCount, \"%\")\n };\n }\n }, [grid === null || grid === void 0 ? void 0 : grid.column, currentBreakpoint]);\n var childrenContent = isLoading && /*#__PURE__*/React.createElement(\"div\", {\n style: {\n minHeight: 53\n }\n });\n\n if (splitDataSource.length > 0) {\n var items = splitDataSource.map(function (item, index) {\n return renderInnerItem(item, index);\n });\n var childrenList = React.Children.map(items, function (child, index) {\n return /*#__PURE__*/React.createElement(\"div\", {\n key: keys[index],\n style: colStyle\n }, child);\n });\n childrenContent = grid ? /*#__PURE__*/React.createElement(Row, {\n gutter: grid.gutter\n }, childrenList) : /*#__PURE__*/React.createElement(\"ul\", {\n className: \"\".concat(prefixCls, \"-items\")\n }, items);\n } else if (!children && !isLoading) {\n childrenContent = renderEmptyFunc(prefixCls, renderEmpty);\n }\n\n var paginationPosition = paginationProps.position || 'bottom';\n return /*#__PURE__*/React.createElement(ListContext.Provider, {\n value: {\n grid: grid,\n itemLayout: itemLayout\n }\n }, /*#__PURE__*/React.createElement(\"div\", _extends({\n className: classString\n }, rest), (paginationPosition === 'top' || paginationPosition === 'both') && paginationContent, header && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-header\")\n }, header), /*#__PURE__*/React.createElement(Spin, loadingProp, childrenContent, children), footer && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-footer\")\n }, footer), loadMore || (paginationPosition === 'bottom' || paginationPosition === 'both') && paginationContent));\n}\n\nList.Item = Item;\nexport default List;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\n\n/* eslint react/prop-types: 0 */\nimport React from 'react';\nimport classNames from 'classnames';\n\nvar Pager = function Pager(props) {\n var _classNames;\n\n var prefixCls = \"\".concat(props.rootPrefixCls, \"-item\");\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-\").concat(props.page), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-active\"), props.active), _defineProperty(_classNames, props.className, !!props.className), _defineProperty(_classNames, \"\".concat(prefixCls, \"-disabled\"), !props.page), _classNames));\n\n var handleClick = function handleClick() {\n props.onClick(props.page);\n };\n\n var handleKeyPress = function handleKeyPress(e) {\n props.onKeyPress(e, props.onClick, props.page);\n };\n\n return /*#__PURE__*/React.createElement(\"li\", {\n title: props.showTitle ? props.page : null,\n className: cls,\n onClick: handleClick,\n onKeyPress: handleKeyPress,\n tabIndex: \"0\"\n }, props.itemRender(props.page, 'page', /*#__PURE__*/React.createElement(\"a\", {\n rel: \"nofollow\"\n }, props.page)));\n};\n\nexport default Pager;","import _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\n\n/* eslint react/prop-types: 0 */\nimport React from 'react';\nimport KEYCODE from './KeyCode';\n\nvar Options = /*#__PURE__*/function (_React$Component) {\n _inherits(Options, _React$Component);\n\n var _super = _createSuper(Options);\n\n function Options() {\n var _this;\n\n _classCallCheck(this, Options);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _super.call.apply(_super, [this].concat(args));\n _this.state = {\n goInputText: ''\n };\n\n _this.buildOptionText = function (value) {\n return \"\".concat(value, \" \").concat(_this.props.locale.items_per_page);\n };\n\n _this.changeSize = function (value) {\n _this.props.changeSize(Number(value));\n };\n\n _this.handleChange = function (e) {\n _this.setState({\n goInputText: e.target.value\n });\n };\n\n _this.handleBlur = function (e) {\n var _this$props = _this.props,\n goButton = _this$props.goButton,\n quickGo = _this$props.quickGo,\n rootPrefixCls = _this$props.rootPrefixCls;\n var goInputText = _this.state.goInputText;\n\n if (goButton || goInputText === '') {\n return;\n }\n\n _this.setState({\n goInputText: ''\n });\n\n if (e.relatedTarget && (e.relatedTarget.className.indexOf(\"\".concat(rootPrefixCls, \"-item-link\")) >= 0 || e.relatedTarget.className.indexOf(\"\".concat(rootPrefixCls, \"-item\")) >= 0)) {\n return;\n }\n\n quickGo(_this.getValidValue());\n };\n\n _this.go = function (e) {\n var goInputText = _this.state.goInputText;\n\n if (goInputText === '') {\n return;\n }\n\n if (e.keyCode === KEYCODE.ENTER || e.type === 'click') {\n _this.setState({\n goInputText: ''\n });\n\n _this.props.quickGo(_this.getValidValue());\n }\n };\n\n return _this;\n }\n\n _createClass(Options, [{\n key: \"getValidValue\",\n value: function getValidValue() {\n var goInputText = this.state.goInputText; // eslint-disable-next-line no-restricted-globals\n\n return !goInputText || isNaN(goInputText) ? undefined : Number(goInputText);\n }\n }, {\n key: \"getPageSizeOptions\",\n value: function getPageSizeOptions() {\n var _this$props2 = this.props,\n pageSize = _this$props2.pageSize,\n pageSizeOptions = _this$props2.pageSizeOptions;\n\n if (pageSizeOptions.some(function (option) {\n return option.toString() === pageSize.toString();\n })) {\n return pageSizeOptions;\n }\n\n return pageSizeOptions.concat([pageSize.toString()]).sort(function (a, b) {\n // eslint-disable-next-line no-restricted-globals\n var numberA = isNaN(Number(a)) ? 0 : Number(a); // eslint-disable-next-line no-restricted-globals\n\n var numberB = isNaN(Number(b)) ? 0 : Number(b);\n return numberA - numberB;\n });\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this2 = this;\n\n var _this$props3 = this.props,\n pageSize = _this$props3.pageSize,\n locale = _this$props3.locale,\n rootPrefixCls = _this$props3.rootPrefixCls,\n changeSize = _this$props3.changeSize,\n quickGo = _this$props3.quickGo,\n goButton = _this$props3.goButton,\n selectComponentClass = _this$props3.selectComponentClass,\n buildOptionText = _this$props3.buildOptionText,\n selectPrefixCls = _this$props3.selectPrefixCls,\n disabled = _this$props3.disabled;\n var goInputText = this.state.goInputText;\n var prefixCls = \"\".concat(rootPrefixCls, \"-options\");\n var Select = selectComponentClass;\n var changeSelect = null;\n var goInput = null;\n var gotoButton = null;\n\n if (!changeSize && !quickGo) {\n return null;\n }\n\n var pageSizeOptions = this.getPageSizeOptions();\n\n if (changeSize && Select) {\n var options = pageSizeOptions.map(function (opt, i) {\n return /*#__PURE__*/React.createElement(Select.Option, {\n key: i,\n value: opt.toString()\n }, (buildOptionText || _this2.buildOptionText)(opt));\n });\n changeSelect = /*#__PURE__*/React.createElement(Select, {\n disabled: disabled,\n prefixCls: selectPrefixCls,\n showSearch: false,\n className: \"\".concat(prefixCls, \"-size-changer\"),\n optionLabelProp: \"children\",\n dropdownMatchSelectWidth: false,\n value: (pageSize || pageSizeOptions[0]).toString(),\n onChange: this.changeSize,\n getPopupContainer: function getPopupContainer(triggerNode) {\n return triggerNode.parentNode;\n }\n }, options);\n }\n\n if (quickGo) {\n if (goButton) {\n gotoButton = typeof goButton === 'boolean' ? /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n onClick: this.go,\n onKeyUp: this.go,\n disabled: disabled,\n className: \"\".concat(prefixCls, \"-quick-jumper-button\")\n }, locale.jump_to_confirm) : /*#__PURE__*/React.createElement(\"span\", {\n onClick: this.go,\n onKeyUp: this.go\n }, goButton);\n }\n\n goInput = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-quick-jumper\")\n }, locale.jump_to, /*#__PURE__*/React.createElement(\"input\", {\n disabled: disabled,\n type: \"text\",\n value: goInputText,\n onChange: this.handleChange,\n onKeyUp: this.go,\n onBlur: this.handleBlur\n }), locale.page, gotoButton);\n }\n\n return /*#__PURE__*/React.createElement(\"li\", {\n className: \"\".concat(prefixCls)\n }, changeSelect, goInput);\n }\n }]);\n\n return Options;\n}(React.Component);\n\nOptions.defaultProps = {\n pageSizeOptions: ['10', '20', '50', '100']\n};\nexport default Options;","export default {\n ZERO: 48,\n NINE: 57,\n NUMPAD_ZERO: 96,\n NUMPAD_NINE: 105,\n BACKSPACE: 8,\n DELETE: 46,\n ENTER: 13,\n ARROW_UP: 38,\n ARROW_DOWN: 40\n};","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\n\n/* eslint react/prop-types: 0 */\nimport React, { cloneElement, isValidElement } from 'react';\nimport classNames from 'classnames';\nimport Pager from './Pager';\nimport Options from './Options';\nimport KEYCODE from './KeyCode';\nimport LOCALE from './locale/zh_CN';\n\nfunction noop() {}\n\nfunction isInteger(value) {\n return (// eslint-disable-next-line no-restricted-globals\n typeof value === 'number' && isFinite(value) && Math.floor(value) === value\n );\n}\n\nfunction defaultItemRender(page, type, element) {\n return element;\n}\n\nfunction calculatePage(p, state, props) {\n var pageSize = typeof p === 'undefined' ? state.pageSize : p;\n return Math.floor((props.total - 1) / pageSize) + 1;\n}\n\nvar Pagination = /*#__PURE__*/function (_React$Component) {\n _inherits(Pagination, _React$Component);\n\n var _super = _createSuper(Pagination);\n\n function Pagination(props) {\n var _this;\n\n _classCallCheck(this, Pagination);\n\n _this = _super.call(this, props);\n\n _this.getJumpPrevPage = function () {\n return Math.max(1, _this.state.current - (_this.props.showLessItems ? 3 : 5));\n };\n\n _this.getJumpNextPage = function () {\n return Math.min(calculatePage(undefined, _this.state, _this.props), _this.state.current + (_this.props.showLessItems ? 3 : 5));\n };\n\n _this.getItemIcon = function (icon, label) {\n var prefixCls = _this.props.prefixCls;\n var iconNode = icon || /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n \"aria-label\": label,\n className: \"\".concat(prefixCls, \"-item-link\")\n });\n\n if (typeof icon === 'function') {\n iconNode = /*#__PURE__*/React.createElement(icon, _objectSpread({}, _this.props));\n }\n\n return iconNode;\n };\n\n _this.savePaginationNode = function (node) {\n _this.paginationNode = node;\n };\n\n _this.isValid = function (page) {\n return isInteger(page) && page !== _this.state.current;\n };\n\n _this.shouldDisplayQuickJumper = function () {\n var _this$props = _this.props,\n showQuickJumper = _this$props.showQuickJumper,\n pageSize = _this$props.pageSize,\n total = _this$props.total;\n\n if (total <= pageSize) {\n return false;\n }\n\n return showQuickJumper;\n };\n\n _this.handleKeyDown = function (e) {\n if (e.keyCode === KEYCODE.ARROW_UP || e.keyCode === KEYCODE.ARROW_DOWN) {\n e.preventDefault();\n }\n };\n\n _this.handleKeyUp = function (e) {\n var value = _this.getValidValue(e);\n\n var currentInputValue = _this.state.currentInputValue;\n\n if (value !== currentInputValue) {\n _this.setState({\n currentInputValue: value\n });\n }\n\n if (e.keyCode === KEYCODE.ENTER) {\n _this.handleChange(value);\n } else if (e.keyCode === KEYCODE.ARROW_UP) {\n _this.handleChange(value - 1);\n } else if (e.keyCode === KEYCODE.ARROW_DOWN) {\n _this.handleChange(value + 1);\n }\n };\n\n _this.changePageSize = function (size) {\n var current = _this.state.current;\n var newCurrent = calculatePage(size, _this.state, _this.props);\n current = current > newCurrent ? newCurrent : current; // fix the issue:\n // Once 'total' is 0, 'current' in 'onShowSizeChange' is 0, which is not correct.\n\n if (newCurrent === 0) {\n // eslint-disable-next-line prefer-destructuring\n current = _this.state.current;\n }\n\n if (typeof size === 'number') {\n if (!('pageSize' in _this.props)) {\n _this.setState({\n pageSize: size\n });\n }\n\n if (!('current' in _this.props)) {\n _this.setState({\n current: current,\n currentInputValue: current\n });\n }\n }\n\n _this.props.onShowSizeChange(current, size);\n\n if ('onChange' in _this.props && _this.props.onChange) {\n _this.props.onChange(current, size);\n }\n };\n\n _this.handleChange = function (p) {\n var disabled = _this.props.disabled;\n var page = p;\n\n if (_this.isValid(page) && !disabled) {\n var currentPage = calculatePage(undefined, _this.state, _this.props);\n\n if (page > currentPage) {\n page = currentPage;\n } else if (page < 1) {\n page = 1;\n }\n\n if (!('current' in _this.props)) {\n _this.setState({\n current: page,\n currentInputValue: page\n });\n }\n\n var pageSize = _this.state.pageSize;\n\n _this.props.onChange(page, pageSize);\n\n return page;\n }\n\n return _this.state.current;\n };\n\n _this.prev = function () {\n if (_this.hasPrev()) {\n _this.handleChange(_this.state.current - 1);\n }\n };\n\n _this.next = function () {\n if (_this.hasNext()) {\n _this.handleChange(_this.state.current + 1);\n }\n };\n\n _this.jumpPrev = function () {\n _this.handleChange(_this.getJumpPrevPage());\n };\n\n _this.jumpNext = function () {\n _this.handleChange(_this.getJumpNextPage());\n };\n\n _this.hasPrev = function () {\n return _this.state.current > 1;\n };\n\n _this.hasNext = function () {\n return _this.state.current < calculatePage(undefined, _this.state, _this.props);\n };\n\n _this.runIfEnter = function (event, callback) {\n if (event.key === 'Enter' || event.charCode === 13) {\n for (var _len = arguments.length, restParams = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n restParams[_key - 2] = arguments[_key];\n }\n\n callback.apply(void 0, restParams);\n }\n };\n\n _this.runIfEnterPrev = function (e) {\n _this.runIfEnter(e, _this.prev);\n };\n\n _this.runIfEnterNext = function (e) {\n _this.runIfEnter(e, _this.next);\n };\n\n _this.runIfEnterJumpPrev = function (e) {\n _this.runIfEnter(e, _this.jumpPrev);\n };\n\n _this.runIfEnterJumpNext = function (e) {\n _this.runIfEnter(e, _this.jumpNext);\n };\n\n _this.handleGoTO = function (e) {\n if (e.keyCode === KEYCODE.ENTER || e.type === 'click') {\n _this.handleChange(_this.state.currentInputValue);\n }\n };\n\n var hasOnChange = props.onChange !== noop;\n var hasCurrent = ('current' in props);\n\n if (hasCurrent && !hasOnChange) {\n // eslint-disable-next-line no-console\n console.warn('Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.');\n }\n\n var _current = props.defaultCurrent;\n\n if ('current' in props) {\n // eslint-disable-next-line prefer-destructuring\n _current = props.current;\n }\n\n var _pageSize = props.defaultPageSize;\n\n if ('pageSize' in props) {\n // eslint-disable-next-line prefer-destructuring\n _pageSize = props.pageSize;\n }\n\n _current = Math.min(_current, calculatePage(_pageSize, undefined, props));\n _this.state = {\n current: _current,\n currentInputValue: _current,\n pageSize: _pageSize\n };\n return _this;\n }\n\n _createClass(Pagination, [{\n key: \"componentDidUpdate\",\n value: function componentDidUpdate(prevProps, prevState) {\n // When current page change, fix focused style of prev item\n // A hacky solution of https://github.com/ant-design/ant-design/issues/8948\n var prefixCls = this.props.prefixCls;\n\n if (prevState.current !== this.state.current && this.paginationNode) {\n var lastCurrentNode = this.paginationNode.querySelector(\".\".concat(prefixCls, \"-item-\").concat(prevState.current));\n\n if (lastCurrentNode && document.activeElement === lastCurrentNode) {\n lastCurrentNode.blur();\n }\n }\n }\n }, {\n key: \"getValidValue\",\n value: function getValidValue(e) {\n var inputValue = e.target.value;\n var allPages = calculatePage(undefined, this.state, this.props);\n var currentInputValue = this.state.currentInputValue;\n var value;\n\n if (inputValue === '') {\n value = inputValue; // eslint-disable-next-line no-restricted-globals\n } else if (isNaN(Number(inputValue))) {\n value = currentInputValue;\n } else if (inputValue >= allPages) {\n value = allPages;\n } else {\n value = Number(inputValue);\n }\n\n return value;\n }\n }, {\n key: \"getShowSizeChanger\",\n value: function getShowSizeChanger() {\n var _this$props2 = this.props,\n showSizeChanger = _this$props2.showSizeChanger,\n total = _this$props2.total,\n totalBoundaryShowSizeChanger = _this$props2.totalBoundaryShowSizeChanger;\n\n if (typeof showSizeChanger !== 'undefined') {\n return showSizeChanger;\n }\n\n return total > totalBoundaryShowSizeChanger;\n }\n }, {\n key: \"renderPrev\",\n value: function renderPrev(prevPage) {\n var _this$props3 = this.props,\n prevIcon = _this$props3.prevIcon,\n itemRender = _this$props3.itemRender;\n var prevButton = itemRender(prevPage, 'prev', this.getItemIcon(prevIcon, 'prev page'));\n var disabled = !this.hasPrev();\n return /*#__PURE__*/isValidElement(prevButton) ? /*#__PURE__*/cloneElement(prevButton, {\n disabled: disabled\n }) : prevButton;\n }\n }, {\n key: \"renderNext\",\n value: function renderNext(nextPage) {\n var _this$props4 = this.props,\n nextIcon = _this$props4.nextIcon,\n itemRender = _this$props4.itemRender;\n var nextButton = itemRender(nextPage, 'next', this.getItemIcon(nextIcon, 'next page'));\n var disabled = !this.hasNext();\n return /*#__PURE__*/isValidElement(nextButton) ? /*#__PURE__*/cloneElement(nextButton, {\n disabled: disabled\n }) : nextButton;\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this2 = this;\n\n var _this$props5 = this.props,\n prefixCls = _this$props5.prefixCls,\n className = _this$props5.className,\n style = _this$props5.style,\n disabled = _this$props5.disabled,\n hideOnSinglePage = _this$props5.hideOnSinglePage,\n total = _this$props5.total,\n locale = _this$props5.locale,\n showQuickJumper = _this$props5.showQuickJumper,\n showLessItems = _this$props5.showLessItems,\n showTitle = _this$props5.showTitle,\n showTotal = _this$props5.showTotal,\n simple = _this$props5.simple,\n itemRender = _this$props5.itemRender,\n showPrevNextJumpers = _this$props5.showPrevNextJumpers,\n jumpPrevIcon = _this$props5.jumpPrevIcon,\n jumpNextIcon = _this$props5.jumpNextIcon,\n selectComponentClass = _this$props5.selectComponentClass,\n selectPrefixCls = _this$props5.selectPrefixCls,\n pageSizeOptions = _this$props5.pageSizeOptions;\n var _this$state = this.state,\n current = _this$state.current,\n pageSize = _this$state.pageSize,\n currentInputValue = _this$state.currentInputValue; // When hideOnSinglePage is true and there is only 1 page, hide the pager\n\n if (hideOnSinglePage === true && total <= pageSize) {\n return null;\n }\n\n var allPages = calculatePage(undefined, this.state, this.props);\n var pagerList = [];\n var jumpPrev = null;\n var jumpNext = null;\n var firstPager = null;\n var lastPager = null;\n var gotoButton = null;\n var goButton = showQuickJumper && showQuickJumper.goButton;\n var pageBufferSize = showLessItems ? 1 : 2;\n var prevPage = current - 1 > 0 ? current - 1 : 0;\n var nextPage = current + 1 < allPages ? current + 1 : allPages;\n var dataOrAriaAttributeProps = Object.keys(this.props).reduce(function (prev, key) {\n if (key.substr(0, 5) === 'data-' || key.substr(0, 5) === 'aria-' || key === 'role') {\n // eslint-disable-next-line no-param-reassign\n prev[key] = _this2.props[key];\n }\n\n return prev;\n }, {});\n\n if (simple) {\n if (goButton) {\n if (typeof goButton === 'boolean') {\n gotoButton = /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n onClick: this.handleGoTO,\n onKeyUp: this.handleGoTO\n }, locale.jump_to_confirm);\n } else {\n gotoButton = /*#__PURE__*/React.createElement(\"span\", {\n onClick: this.handleGoTO,\n onKeyUp: this.handleGoTO\n }, goButton);\n }\n\n gotoButton = /*#__PURE__*/React.createElement(\"li\", {\n title: showTitle ? \"\".concat(locale.jump_to).concat(current, \"/\").concat(allPages) : null,\n className: \"\".concat(prefixCls, \"-simple-pager\")\n }, gotoButton);\n }\n\n return /*#__PURE__*/React.createElement(\"ul\", _extends({\n className: classNames(prefixCls, \"\".concat(prefixCls, \"-simple\"), _defineProperty({}, \"\".concat(prefixCls, \"-disabled\"), disabled), className),\n style: style,\n ref: this.savePaginationNode\n }, dataOrAriaAttributeProps), /*#__PURE__*/React.createElement(\"li\", {\n title: showTitle ? locale.prev_page : null,\n onClick: this.prev,\n tabIndex: this.hasPrev() ? 0 : null,\n onKeyPress: this.runIfEnterPrev,\n className: classNames(\"\".concat(prefixCls, \"-prev\"), _defineProperty({}, \"\".concat(prefixCls, \"-disabled\"), !this.hasPrev())),\n \"aria-disabled\": !this.hasPrev()\n }, this.renderPrev(prevPage)), /*#__PURE__*/React.createElement(\"li\", {\n title: showTitle ? \"\".concat(current, \"/\").concat(allPages) : null,\n className: \"\".concat(prefixCls, \"-simple-pager\")\n }, /*#__PURE__*/React.createElement(\"input\", {\n type: \"text\",\n value: currentInputValue,\n disabled: disabled,\n onKeyDown: this.handleKeyDown,\n onKeyUp: this.handleKeyUp,\n onChange: this.handleKeyUp,\n size: \"3\"\n }), /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-slash\")\n }, \"/\"), allPages), /*#__PURE__*/React.createElement(\"li\", {\n title: showTitle ? locale.next_page : null,\n onClick: this.next,\n tabIndex: this.hasPrev() ? 0 : null,\n onKeyPress: this.runIfEnterNext,\n className: classNames(\"\".concat(prefixCls, \"-next\"), _defineProperty({}, \"\".concat(prefixCls, \"-disabled\"), !this.hasNext())),\n \"aria-disabled\": !this.hasNext()\n }, this.renderNext(nextPage)), gotoButton);\n }\n\n if (allPages <= 3 + pageBufferSize * 2) {\n var pagerProps = {\n locale: locale,\n rootPrefixCls: prefixCls,\n onClick: this.handleChange,\n onKeyPress: this.runIfEnter,\n showTitle: showTitle,\n itemRender: itemRender\n };\n\n if (!allPages) {\n pagerList.push( /*#__PURE__*/React.createElement(Pager, _extends({}, pagerProps, {\n key: \"noPager\",\n page: allPages,\n className: \"\".concat(prefixCls, \"-disabled\")\n })));\n }\n\n for (var i = 1; i <= allPages; i += 1) {\n var active = current === i;\n pagerList.push( /*#__PURE__*/React.createElement(Pager, _extends({}, pagerProps, {\n key: i,\n page: i,\n active: active\n })));\n }\n } else {\n var prevItemTitle = showLessItems ? locale.prev_3 : locale.prev_5;\n var nextItemTitle = showLessItems ? locale.next_3 : locale.next_5;\n\n if (showPrevNextJumpers) {\n jumpPrev = /*#__PURE__*/React.createElement(\"li\", {\n title: showTitle ? prevItemTitle : null,\n key: \"prev\",\n onClick: this.jumpPrev,\n tabIndex: \"0\",\n onKeyPress: this.runIfEnterJumpPrev,\n className: classNames(\"\".concat(prefixCls, \"-jump-prev\"), _defineProperty({}, \"\".concat(prefixCls, \"-jump-prev-custom-icon\"), !!jumpPrevIcon))\n }, itemRender(this.getJumpPrevPage(), 'jump-prev', this.getItemIcon(jumpPrevIcon, 'prev page')));\n jumpNext = /*#__PURE__*/React.createElement(\"li\", {\n title: showTitle ? nextItemTitle : null,\n key: \"next\",\n tabIndex: \"0\",\n onClick: this.jumpNext,\n onKeyPress: this.runIfEnterJumpNext,\n className: classNames(\"\".concat(prefixCls, \"-jump-next\"), _defineProperty({}, \"\".concat(prefixCls, \"-jump-next-custom-icon\"), !!jumpNextIcon))\n }, itemRender(this.getJumpNextPage(), 'jump-next', this.getItemIcon(jumpNextIcon, 'next page')));\n }\n\n lastPager = /*#__PURE__*/React.createElement(Pager, {\n locale: locale,\n last: true,\n rootPrefixCls: prefixCls,\n onClick: this.handleChange,\n onKeyPress: this.runIfEnter,\n key: allPages,\n page: allPages,\n active: false,\n showTitle: showTitle,\n itemRender: itemRender\n });\n firstPager = /*#__PURE__*/React.createElement(Pager, {\n locale: locale,\n rootPrefixCls: prefixCls,\n onClick: this.handleChange,\n onKeyPress: this.runIfEnter,\n key: 1,\n page: 1,\n active: false,\n showTitle: showTitle,\n itemRender: itemRender\n });\n var left = Math.max(1, current - pageBufferSize);\n var right = Math.min(current + pageBufferSize, allPages);\n\n if (current - 1 <= pageBufferSize) {\n right = 1 + pageBufferSize * 2;\n }\n\n if (allPages - current <= pageBufferSize) {\n left = allPages - pageBufferSize * 2;\n }\n\n for (var _i = left; _i <= right; _i += 1) {\n var _active = current === _i;\n\n pagerList.push( /*#__PURE__*/React.createElement(Pager, {\n locale: locale,\n rootPrefixCls: prefixCls,\n onClick: this.handleChange,\n onKeyPress: this.runIfEnter,\n key: _i,\n page: _i,\n active: _active,\n showTitle: showTitle,\n itemRender: itemRender\n }));\n }\n\n if (current - 1 >= pageBufferSize * 2 && current !== 1 + 2) {\n pagerList[0] = /*#__PURE__*/cloneElement(pagerList[0], {\n className: \"\".concat(prefixCls, \"-item-after-jump-prev\")\n });\n pagerList.unshift(jumpPrev);\n }\n\n if (allPages - current >= pageBufferSize * 2 && current !== allPages - 2) {\n pagerList[pagerList.length - 1] = /*#__PURE__*/cloneElement(pagerList[pagerList.length - 1], {\n className: \"\".concat(prefixCls, \"-item-before-jump-next\")\n });\n pagerList.push(jumpNext);\n }\n\n if (left !== 1) {\n pagerList.unshift(firstPager);\n }\n\n if (right !== allPages) {\n pagerList.push(lastPager);\n }\n }\n\n var totalText = null;\n\n if (showTotal) {\n totalText = /*#__PURE__*/React.createElement(\"li\", {\n className: \"\".concat(prefixCls, \"-total-text\")\n }, showTotal(total, [total === 0 ? 0 : (current - 1) * pageSize + 1, current * pageSize > total ? total : current * pageSize]));\n }\n\n var prevDisabled = !this.hasPrev() || !allPages;\n var nextDisabled = !this.hasNext() || !allPages;\n return /*#__PURE__*/React.createElement(\"ul\", _extends({\n className: classNames(prefixCls, className, _defineProperty({}, \"\".concat(prefixCls, \"-disabled\"), disabled)),\n style: style,\n unselectable: \"unselectable\",\n ref: this.savePaginationNode\n }, dataOrAriaAttributeProps), totalText, /*#__PURE__*/React.createElement(\"li\", {\n title: showTitle ? locale.prev_page : null,\n onClick: this.prev,\n tabIndex: prevDisabled ? null : 0,\n onKeyPress: this.runIfEnterPrev,\n className: classNames(\"\".concat(prefixCls, \"-prev\"), _defineProperty({}, \"\".concat(prefixCls, \"-disabled\"), prevDisabled)),\n \"aria-disabled\": prevDisabled\n }, this.renderPrev(prevPage)), pagerList, /*#__PURE__*/React.createElement(\"li\", {\n title: showTitle ? locale.next_page : null,\n onClick: this.next,\n tabIndex: nextDisabled ? null : 0,\n onKeyPress: this.runIfEnterNext,\n className: classNames(\"\".concat(prefixCls, \"-next\"), _defineProperty({}, \"\".concat(prefixCls, \"-disabled\"), nextDisabled)),\n \"aria-disabled\": nextDisabled\n }, this.renderNext(nextPage)), /*#__PURE__*/React.createElement(Options, {\n disabled: disabled,\n locale: locale,\n rootPrefixCls: prefixCls,\n selectComponentClass: selectComponentClass,\n selectPrefixCls: selectPrefixCls,\n changeSize: this.getShowSizeChanger() ? this.changePageSize : null,\n current: current,\n pageSize: pageSize,\n pageSizeOptions: pageSizeOptions,\n quickGo: this.shouldDisplayQuickJumper() ? this.handleChange : null,\n goButton: goButton\n }));\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(props, prevState) {\n var newState = {};\n\n if ('current' in props) {\n newState.current = props.current;\n\n if (props.current !== prevState.current) {\n newState.currentInputValue = newState.current;\n }\n }\n\n if ('pageSize' in props && props.pageSize !== prevState.pageSize) {\n var current = prevState.current;\n var newCurrent = calculatePage(props.pageSize, prevState, props);\n current = current > newCurrent ? newCurrent : current;\n\n if (!('current' in props)) {\n newState.current = current;\n newState.currentInputValue = current;\n }\n\n newState.pageSize = props.pageSize;\n }\n\n return newState;\n }\n }]);\n\n return Pagination;\n}(React.Component);\n\nPagination.defaultProps = {\n defaultCurrent: 1,\n total: 0,\n defaultPageSize: 10,\n onChange: noop,\n className: '',\n selectPrefixCls: 'rc-select',\n prefixCls: 'rc-pagination',\n selectComponentClass: null,\n hideOnSinglePage: false,\n showPrevNextJumpers: true,\n showQuickJumper: false,\n showLessItems: false,\n showTitle: true,\n onShowSizeChange: noop,\n locale: LOCALE,\n style: {},\n itemRender: defaultItemRender,\n totalBoundaryShowSizeChanger: 50\n};\nexport default Pagination;","export default {\n // Options.jsx\n items_per_page: '条/页',\n jump_to: '跳至',\n jump_to_confirm: '确定',\n page: '页',\n // Pagination.jsx\n prev_page: '上一页',\n next_page: '下一页',\n prev_5: '向前 5 页',\n next_5: '向后 5 页',\n prev_3: '向前 3 页',\n next_3: '向后 3 页'\n};","// This icon file is generated automatically.\nvar DoubleLeftOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z\" } }] }, \"name\": \"double-left\", \"theme\": \"outlined\" };\nexport default DoubleLeftOutlined;\n","// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport DoubleLeftOutlinedSvg from \"@ant-design/icons-svg/es/asn/DoubleLeftOutlined\";\nimport AntdIcon from '../components/AntdIcon';\n\nvar DoubleLeftOutlined = function DoubleLeftOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, Object.assign({}, props, {\n ref: ref,\n icon: DoubleLeftOutlinedSvg\n }));\n};\n\nDoubleLeftOutlined.displayName = 'DoubleLeftOutlined';\nexport default /*#__PURE__*/React.forwardRef(DoubleLeftOutlined);","// This icon file is generated automatically.\nvar DoubleRightOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z\" } }] }, \"name\": \"double-right\", \"theme\": \"outlined\" };\nexport default DoubleRightOutlined;\n","// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport DoubleRightOutlinedSvg from \"@ant-design/icons-svg/es/asn/DoubleRightOutlined\";\nimport AntdIcon from '../components/AntdIcon';\n\nvar DoubleRightOutlined = function DoubleRightOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, Object.assign({}, props, {\n ref: ref,\n icon: DoubleRightOutlinedSvg\n }));\n};\n\nDoubleRightOutlined.displayName = 'DoubleRightOutlined';\nexport default /*#__PURE__*/React.forwardRef(DoubleRightOutlined);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport Select from '../select';\n\nvar MiniSelect = function MiniSelect(props) {\n return /*#__PURE__*/React.createElement(Select, _extends({\n size: \"small\"\n }, props));\n};\n\nMiniSelect.Option = Select.Option;\nexport default MiniSelect;","import Pagination from './Pagination';\nexport default Pagination;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n\nimport * as React from 'react';\nimport RcPagination from 'rc-pagination';\nimport enUS from \"rc-pagination/es/locale/en_US\";\nimport classNames from 'classnames';\nimport LeftOutlined from \"@ant-design/icons/es/icons/LeftOutlined\";\nimport RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport DoubleLeftOutlined from \"@ant-design/icons/es/icons/DoubleLeftOutlined\";\nimport DoubleRightOutlined from \"@ant-design/icons/es/icons/DoubleRightOutlined\";\nimport MiniSelect from './MiniSelect';\nimport Select from '../select';\nimport LocaleReceiver from '../locale-provider/LocaleReceiver';\nimport { ConfigContext } from '../config-provider';\nimport useBreakpoint from '../grid/hooks/useBreakpoint';\n\nvar Pagination = function Pagination(_a) {\n var customizePrefixCls = _a.prefixCls,\n customizeSelectPrefixCls = _a.selectPrefixCls,\n className = _a.className,\n size = _a.size,\n customLocale = _a.locale,\n restProps = __rest(_a, [\"prefixCls\", \"selectPrefixCls\", \"className\", \"size\", \"locale\"]);\n\n var _useBreakpoint = useBreakpoint(),\n xs = _useBreakpoint.xs;\n\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n direction = _React$useContext.direction;\n\n var prefixCls = getPrefixCls('pagination', customizePrefixCls);\n\n var getIconsProps = function getIconsProps() {\n var ellipsis = /*#__PURE__*/React.createElement(\"span\", {\n className: \"\".concat(prefixCls, \"-item-ellipsis\")\n }, \"\\u2022\\u2022\\u2022\");\n var prevIcon = /*#__PURE__*/React.createElement(\"button\", {\n className: \"\".concat(prefixCls, \"-item-link\"),\n type: \"button\",\n tabIndex: -1\n }, /*#__PURE__*/React.createElement(LeftOutlined, null));\n var nextIcon = /*#__PURE__*/React.createElement(\"button\", {\n className: \"\".concat(prefixCls, \"-item-link\"),\n type: \"button\",\n tabIndex: -1\n }, /*#__PURE__*/React.createElement(RightOutlined, null));\n var jumpPrevIcon = /*#__PURE__*/React.createElement(\"a\", {\n className: \"\".concat(prefixCls, \"-item-link\")\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-container\")\n }, /*#__PURE__*/React.createElement(DoubleLeftOutlined, {\n className: \"\".concat(prefixCls, \"-item-link-icon\")\n }), ellipsis));\n var jumpNextIcon = /*#__PURE__*/React.createElement(\"a\", {\n className: \"\".concat(prefixCls, \"-item-link\")\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-container\")\n }, /*#__PURE__*/React.createElement(DoubleRightOutlined, {\n className: \"\".concat(prefixCls, \"-item-link-icon\")\n }), ellipsis)); // change arrows direction in right-to-left direction\n\n if (direction === 'rtl') {\n var _ref = [nextIcon, prevIcon];\n prevIcon = _ref[0];\n nextIcon = _ref[1];\n var _ref2 = [jumpNextIcon, jumpPrevIcon];\n jumpPrevIcon = _ref2[0];\n jumpNextIcon = _ref2[1];\n }\n\n return {\n prevIcon: prevIcon,\n nextIcon: nextIcon,\n jumpPrevIcon: jumpPrevIcon,\n jumpNextIcon: jumpNextIcon\n };\n };\n\n var renderPagination = function renderPagination(contextLocale) {\n var locale = _extends(_extends({}, contextLocale), customLocale);\n\n var isSmall = size === 'small' || !!(xs && !size && restProps.responsive);\n var selectPrefixCls = getPrefixCls('select', customizeSelectPrefixCls);\n var extendedClassName = classNames(_defineProperty({\n mini: isSmall\n }, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), className);\n return /*#__PURE__*/React.createElement(RcPagination, _extends({}, restProps, {\n prefixCls: prefixCls,\n selectPrefixCls: selectPrefixCls\n }, getIconsProps(), {\n className: extendedClassName,\n selectComponentClass: isSmall ? MiniSelect : Select,\n locale: locale\n }));\n };\n\n return /*#__PURE__*/React.createElement(LocaleReceiver, {\n componentName: \"Pagination\",\n defaultLocale: enUS\n }, renderPagination);\n};\n\nexport default Pagination;"],"names":["props","ref","AntdIcon","Object","assign","icon","displayName","_a","prefixCls","className","_a$hoverable","hoverable","s","e","t","p","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","__rest","C","_ref","prefix","getPrefixCls","classString","concat","Card","_extends2","_classNames","head","_React$useContext","direction","size","SizeContext","customizePrefixCls","extra","_props$headStyle","headStyle","_props$bodyStyle","bodyStyle","title","loading","_props$bordered","bordered","customizeSize","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","_props$tabProps","tabProps","others","loadingBlockStyle","padding","undefined","block","loadingBlock","style","gutter","span","hasActiveTabKey","extraProps","tabs","onChange","key","onTabChange","map","item","tab","disabled","containGrid","coverDom","body","actionDom","action","index","width","getAction","divProps","omit","mergedSize","element","Grid","Meta","avatar","description","avatarDom","titleDom","descriptionDom","MetaDetail","_useState","useState","_useState2","screens","setScreens","useEffect","token","supportScreens","Item","result","colStyle","_React$useContext2","ListContext","grid","itemLayout","actionsContent","Element","itemChildren","flex","content","List","_a$pagination","pagination","_a$bordered","_a$split","split","loadMore","_a$dataSource","dataSource","header","footer","_a$loading","rowKey","renderItem","locale","rest","paginationObj","_React$useState","defaultCurrent","_React$useState2","paginationCurrent","setPaginationCurrent","_React$useState3","defaultPageSize","_React$useState4","paginationSize","setPaginationSize","renderEmpty","keys","triggerPaginationEvent","eventName","page","pageSize","onPaginationChange","onPaginationShowSizeChange","loadingProp","spinning","isLoading","sizeCls","paginationProps","current","total","largestPage","Math","ceil","paginationContent","onShowSizeChange","splitDataSource","splice","useBreakpoint","currentBreakpoint","breakpoint","columnCount","column","maxWidth","childrenContent","minHeight","items","renderInnerItem","childrenList","child","renderEmptyHandler","emptyText","renderEmptyFunc","paginationPosition","position","Provider","value","Consumer","rootPrefixCls","cls","active","showTitle","onClick","onKeyPress","tabIndex","itemRender","rel","Options","_React$Component","_super","_this","this","_len","arguments","args","Array","_key","apply","state","goInputText","buildOptionText","items_per_page","changeSize","Number","handleChange","setState","target","handleBlur","_this$props","goButton","quickGo","relatedTarget","getValidValue","go","keyCode","isNaN","_this$props2","pageSizeOptions","some","option","toString","sort","a","b","_this2","_this$props3","selectComponentClass","selectPrefixCls","Select","changeSelect","goInput","gotoButton","getPageSizeOptions","options","opt","Option","showSearch","optionLabelProp","dropdownMatchSelectWidth","getPopupContainer","triggerNode","parentNode","onKeyUp","jump_to_confirm","jump_to","onBlur","defaultProps","noop","calculatePage","floor","Pagination","getJumpPrevPage","max","showLessItems","getJumpNextPage","min","getItemIcon","label","iconNode","savePaginationNode","node","paginationNode","isValid","isFinite","shouldDisplayQuickJumper","showQuickJumper","handleKeyDown","preventDefault","handleKeyUp","currentInputValue","changePageSize","newCurrent","currentPage","prev","hasPrev","next","hasNext","jumpPrev","jumpNext","runIfEnter","event","callback","charCode","restParams","runIfEnterPrev","runIfEnterNext","runIfEnterJumpPrev","runIfEnterJumpNext","handleGoTO","hasOnChange","console","warn","_current","_pageSize","prevProps","prevState","lastCurrentNode","querySelector","document","activeElement","blur","inputValue","allPages","showSizeChanger","totalBoundaryShowSizeChanger","prevPage","prevIcon","prevButton","isValidElement","cloneElement","nextPage","_this$props4","nextIcon","nextButton","_this$props5","hideOnSinglePage","showTotal","simple","showPrevNextJumpers","jumpPrevIcon","jumpNextIcon","_this$state","pagerList","firstPager","lastPager","pageBufferSize","dataOrAriaAttributeProps","reduce","substr","prev_page","renderPrev","onKeyDown","next_page","renderNext","pagerProps","push","prevItemTitle","prev_3","prev_5","nextItemTitle","next_3","next_5","last","left","right","_i","_active","unshift","totalText","prevDisabled","nextDisabled","unselectable","getShowSizeChanger","newState","MiniSelect","customizeSelectPrefixCls","customLocale","restProps","xs","renderPagination","contextLocale","isSmall","responsive","extendedClassName","mini","ellipsis","LeftOutlined","RightOutlined","_ref2","getIconsProps","LocaleReceiver","componentName","defaultLocale"],"sourceRoot":""}
public/dist/354.lite.js ADDED
@@ -0,0 +1,2 @@
 
 
1
+ (self.webpackChunkrealCookieBanner_name_=self.webpackChunkrealCookieBanner_name_||[]).push([[354],{5860:function(e,t,n){"use strict";var r=n(1765),a={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,i,l,o,c,s,u=!1;t||(t={}),n=t.debug||!1;try{if(l=r(),o=document.createRange(),c=document.getSelection(),(s=document.createElement("span")).textContent=e,s.style.all="unset",s.style.position="fixed",s.style.top=0,s.style.clip="rect(0, 0, 0, 0)",s.style.whiteSpace="pre",s.style.webkitUserSelect="text",s.style.MozUserSelect="text",s.style.msUserSelect="text",s.style.userSelect="text",s.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=a[t.format]||a.default;window.clipboardData.setData(i,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(s),o.selectNodeContents(s),c.addRange(o),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(o):c.removeAllRanges()),s&&document.body.removeChild(s),l()}return u}},4290:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7363),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},i=n(3751),l=function(e,t){return r.createElement(i.Z,Object.assign({},e,{ref:t,icon:a}))};l.displayName="DeleteOutlined";var o=r.forwardRef(l)},7908:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7363),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.3 506.3L781.7 405.6a7.23 7.23 0 00-11.7 5.7V476H548V254h64.8c6 0 9.4-7 5.7-11.7L517.7 114.7a7.14 7.14 0 00-11.3 0L405.6 242.3a7.23 7.23 0 005.7 11.7H476v222H254v-64.8c0-6-7-9.4-11.7-5.7L114.7 506.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h222v222h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V548h222v64.8c0 6 7 9.4 11.7 5.7l127.5-100.8a7.3 7.3 0 00.1-11.4z"}}]},name:"drag",theme:"outlined"},i=n(3751),l=function(e,t){return r.createElement(i.Z,Object.assign({},e,{ref:t,icon:a}))};l.displayName="DragOutlined";var o=r.forwardRef(l)},5351:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7363),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},i=n(3751),l=function(e,t){return r.createElement(i.Z,Object.assign({},e,{ref:t,icon:a}))};l.displayName="EditOutlined";var o=r.forwardRef(l)},5889:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(7363),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]},name:"warning",theme:"outlined"},i=n(3751),l=function(e,t){return r.createElement(i.Z,Object.assign({},e,{ref:t,icon:a}))};l.displayName="WarningOutlined";var o=r.forwardRef(l)},6142:function(e,t,n){"use strict";n.d(t,{Z:function(){return Z}});var r=n(63),a=n(4741),i=n(3429),l=n(7363),o=n(2286),c=n.n(o),s=function(e){var t=e.prefixCls,n=e.className,r=e.width,i=e.style;return l.createElement("h3",{className:c()(t,n),style:(0,a.Z)({width:r},i)})},u=n(7870),p=function(e){var t=function(t){var n=e.width,r=e.rows,a=void 0===r?2:r;return Array.isArray(n)?n[t]:a-1===t?n:void 0},n=e.prefixCls,r=e.className,a=e.style,i=e.rows,o=(0,u.Z)(Array(i)).map((function(e,n){return l.createElement("li",{key:n,style:{width:t(n)}})}));return l.createElement("ul",{className:c()(n,r),style:a},o)},d=n(4178),f=function(e){var t,n,i=e.prefixCls,o=e.className,s=e.style,u=e.size,p=e.shape,d=c()((t={},(0,r.Z)(t,"".concat(i,"-lg"),"large"===u),(0,r.Z)(t,"".concat(i,"-sm"),"small"===u),t)),f=c()((n={},(0,r.Z)(n,"".concat(i,"-circle"),"circle"===p),(0,r.Z)(n,"".concat(i,"-square"),"square"===p),(0,r.Z)(n,"".concat(i,"-round"),"round"===p),n)),v="number"==typeof u?{width:u,height:u,lineHeight:"".concat(u,"px")}:{};return l.createElement("span",{className:c()(i,d,f,o),style:(0,a.Z)((0,a.Z)({},v),s)})},v=n(733),m=function(e){var t=function(t){var n=t.getPrefixCls,i=e.prefixCls,o=e.className,s=e.active,u=n("skeleton",i),p=(0,v.Z)(e,["prefixCls"]),d=c()(u,"".concat(u,"-element"),(0,r.Z)({},"".concat(u,"-active"),s),o);return l.createElement("div",{className:d},l.createElement(f,(0,a.Z)({prefixCls:"".concat(u,"-avatar")},p)))};return l.createElement(d.C,null,t)};m.defaultProps={size:"default",shape:"circle"};var y=m,h=function(e){var t=function(t){var n=t.getPrefixCls,i=e.prefixCls,o=e.className,s=e.active,u=n("skeleton",i),p=(0,v.Z)(e,["prefixCls"]),d=c()(u,"".concat(u,"-element"),(0,r.Z)({},"".concat(u,"-active"),s),o);return l.createElement("div",{className:d},l.createElement(f,(0,a.Z)({prefixCls:"".concat(u,"-button")},p)))};return l.createElement(d.C,null,t)};h.defaultProps={size:"default"};var g=h,E=function(e){var t=function(t){var n=t.getPrefixCls,i=e.prefixCls,o=e.className,s=e.active,u=n("skeleton",i),p=(0,v.Z)(e,["prefixCls"]),d=c()(u,"".concat(u,"-element"),(0,r.Z)({},"".concat(u,"-active"),s),o);return l.createElement("div",{className:d},l.createElement(f,(0,a.Z)({prefixCls:"".concat(u,"-input")},p)))};return l.createElement(d.C,null,t)};E.defaultProps={size:"default"};var b=E;function x(e){return e&&"object"===(0,i.Z)(e)?e:{}}var C=function(e){var t=function(t){var n=t.getPrefixCls,i=t.direction,o=e.prefixCls,u=e.loading,d=e.className,v=e.children,m=e.avatar,y=e.title,h=e.paragraph,g=e.active,E=e.round,b=n("skeleton",o);if(u||!("loading"in e)){var C,Z,w,O=!!m,N=!!y,k=!!h;if(O){var S=(0,a.Z)((0,a.Z)({prefixCls:"".concat(b,"-avatar")},function(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}(N,k)),x(m));Z=l.createElement("div",{className:"".concat(b,"-header")},l.createElement(f,S))}if(N||k){var P,R;if(N){var z=(0,a.Z)((0,a.Z)({prefixCls:"".concat(b,"-title")},function(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}(O,k)),x(y));P=l.createElement(s,z)}if(k){var j=(0,a.Z)((0,a.Z)({prefixCls:"".concat(b,"-paragraph")},function(e,t){var n={};return e&&t||(n.width="61%"),n.rows=!e&&t?3:2,n}(O,N)),x(h));R=l.createElement(p,j)}w=l.createElement("div",{className:"".concat(b,"-content")},P,R)}var T=c()(b,(C={},(0,r.Z)(C,"".concat(b,"-with-avatar"),O),(0,r.Z)(C,"".concat(b,"-active"),g),(0,r.Z)(C,"".concat(b,"-rtl"),"rtl"===i),(0,r.Z)(C,"".concat(b,"-round"),E),C),d);return l.createElement("div",{className:T},Z,w)}return v};return l.createElement(d.C,null,t)};C.defaultProps={avatar:!1,title:!0,paragraph:!0},C.Button=g,C.Avatar=y,C.Input=b,C.Image=function(e){var t=function(t){var n=t.getPrefixCls,r=e.prefixCls,a=e.className,i=e.style,o=n("skeleton",r),s=c()(o,"".concat(o,"-element"),a);return l.createElement("div",{className:s},l.createElement("div",{className:c()("".concat(o,"-image"),a),style:i},l.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(o,"-image-svg")},l.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:"".concat(o,"-image-path")}))))};return l.createElement(d.C,null,t)};var Z=C},6310:function(e,t,n){"use strict";n.d(t,{Z:function(){return ie}});var r=n(4741),a=n(63),i=n(7363),l=n(2286),o=n.n(l),c=n(5643),s=n(4178),u=n(7139),p=function(e,t){var n=e.prefixCls,l=e.component,p=void 0===l?"article":l,d=e.className,f=e["aria-label"],v=e.setContentRef,m=e.children,y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}(e,["prefixCls","component","className","aria-label","setContentRef","children"]),h=t;return v&&((0,u.Z)(!1,"Typography","`setContentRef` is deprecated. Please use `ref` instead."),h=(0,c.sQ)(t,v)),i.createElement(s.C,null,(function(e){var t=e.getPrefixCls,l=e.direction,c=p,s=t("typography",n),u=o()(s,(0,a.Z)({},"".concat(s,"-rtl"),"rtl"===l),d);return i.createElement(c,(0,r.Z)({className:u,"aria-label":f,ref:h},y),m)}))},d=i.forwardRef(p);d.displayName="Typography";var f=d,v=n(3429),m=n(733),y=n(7870),h=n(6762),g=n(3340),E=n(3841),b=n(5952),x=n(4237),C=n(5860),Z=n.n(C),w=n(5351),O=n(2412),N={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},k=n(3751),S=function(e,t){return i.createElement(k.Z,Object.assign({},e,{ref:t,icon:N}))};S.displayName="CopyOutlined";var P=i.forwardRef(S),R=n(4707),z=n(3249),j=n(7416),T=n(5065),H={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},D=i.forwardRef((function(e,t){var n=e.style,a=e.noStyle,l=e.disabled,o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}(e,["style","noStyle","disabled"]),c={};return a||(c=(0,r.Z)({},H)),l&&(c.pointerEvents="none"),c=(0,r.Z)((0,r.Z)({},c),n),i.createElement("div",(0,r.Z)({role:"button",tabIndex:0,ref:t},o,{onKeyDown:function(e){e.keyCode===T.Z.ENTER&&e.preventDefault()},onKeyUp:function(t){var n=t.keyCode,r=e.onClick;n===T.Z.ENTER&&r&&r()},style:c}))})),L=n(527),I=n(7167),M=n(1857),A=n(7228),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},U=function(e,t){return i.createElement(k.Z,Object.assign({},e,{ref:t,icon:B}))};U.displayName="EnterOutlined";var q,V=i.forwardRef(U),K=n(6813),F=function(e){var t=e.prefixCls,n=e["aria-label"],r=e.className,l=e.style,c=e.direction,s=e.maxLength,u=e.autoSize,p=void 0===u||u,d=e.value,f=e.onSave,v=e.onCancel,m=e.onEnd,y=i.useRef(),h=i.useRef(!1),g=i.useRef(),E=i.useState(d),b=(0,A.Z)(E,2),x=b[0],C=b[1];i.useEffect((function(){C(d)}),[d]),i.useEffect((function(){if(y.current&&y.current.resizableTextArea){var e=y.current.resizableTextArea.textArea;e.focus();var t=e.value.length;e.setSelectionRange(t,t)}}),[]);var Z=function(){f(x.trim())},w=o()(t,"".concat(t,"-edit-content"),(0,a.Z)({},"".concat(t,"-rtl"),"rtl"===c),r);return i.createElement("div",{className:w,style:l},i.createElement(K.Z,{ref:y,maxLength:s,value:x,onChange:function(e){var t=e.target;C(t.value.replace(/[\n\r]/g,""))},onKeyDown:function(e){var t=e.keyCode;h.current||(g.current=t)},onKeyUp:function(e){var t=e.keyCode,n=e.ctrlKey,r=e.altKey,a=e.metaKey,i=e.shiftKey;g.current!==t||h.current||n||r||a||i||(t===T.Z.ENTER?(Z(),null==m||m()):t===T.Z.ESC&&v())},onCompositionStart:function(){h.current=!0},onCompositionEnd:function(){h.current=!1},onBlur:function(){Z()},"aria-label":n,autoSize:p}),i.createElement(V,{className:"".concat(t,"-edit-content-confirm")}))},_=n(1533),W={padding:0,margin:0,display:"inline",lineHeight:"inherit"};function G(e){if(!e)return 0;var t=e.match(/^\d*(\.\d*)?/);return t?Number(t[0]):0}var Q=function(e,t,n,r,a){q||((q=document.createElement("div")).setAttribute("aria-hidden","true"),document.body.appendChild(q));var l,o=t.rows,c=t.suffix,s=void 0===c?"":c,u=window.getComputedStyle(e),p=(l=u,Array.prototype.slice.apply(l).map((function(e){return"".concat(e,": ").concat(l.getPropertyValue(e),";")})).join("")),d=G(u.lineHeight),f=Math.round(d*(o+1)+G(u.paddingTop)+G(u.paddingBottom));q.setAttribute("style",p),q.style.position="fixed",q.style.left="0",q.style.height="auto",q.style.minHeight="auto",q.style.maxHeight="auto",q.style.top="-999999px",q.style.zIndex="-1000",q.style.textOverflow="clip",q.style.whiteSpace="normal",q.style.webkitLineClamp="none";var v,m,y=(v=(0,x.Z)(n),m=[],v.forEach((function(e){var t=m[m.length-1];"string"==typeof e&&"string"==typeof t?m[m.length-1]+=e:m.push(e)})),m);function h(){return q.offsetHeight<f}if((0,_.render)(i.createElement("div",{style:W},i.createElement("span",{style:W},y,s),i.createElement("span",{style:W},r)),q),h())return(0,_.unmountComponentAtNode)(q),{content:n,text:q.innerHTML,ellipsis:!1};var g=Array.prototype.slice.apply(q.childNodes[0].childNodes[0].cloneNode(!0).childNodes).filter((function(e){return 8!==e.nodeType})),E=Array.prototype.slice.apply(q.childNodes[0].childNodes[1].cloneNode(!0).childNodes);(0,_.unmountComponentAtNode)(q);var b=[];q.innerHTML="";var C=document.createElement("span");q.appendChild(C);var Z=document.createTextNode(a+s);function w(e){C.insertBefore(e,Z)}function O(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i=Math.floor((n+r)/2),l=t.slice(0,i);if(e.textContent=l,n>=r-1)for(var o=r;o>=n;o-=1){var c=t.slice(0,o);if(e.textContent=c,h()||!c)return o===t.length?{finished:!1,reactNode:t}:{finished:!0,reactNode:c}}return h()?O(e,t,i,r,i):O(e,t,n,i,a)}function N(e,t){var n=e.nodeType;if(1===n)return w(e),h()?{finished:!1,reactNode:y[t]}:(C.removeChild(e),{finished:!0,reactNode:null});if(3===n){var r=e.textContent||"",a=document.createTextNode(r);return w(a),O(a,r)}return{finished:!1,reactNode:null}}return C.appendChild(Z),E.forEach((function(e){q.appendChild(e)})),g.some((function(e,t){var n=N(e,t),r=n.finished,a=n.reactNode;return a&&b.push(a),r})),{content:b,text:q.innerHTML,ellipsis:!0}},X=(0,I.GL)("webkitLineClamp"),J=(0,I.GL)("textOverflow"),Y=function(e){(0,E.Z)(n,e);var t=(0,b.Z)(n);function n(){var e;return(0,h.Z)(this,n),(e=t.apply(this,arguments)).contentRef=i.createRef(),e.state={edit:!1,copied:!1,ellipsisText:"",ellipsisContent:null,isEllipsis:!1,expanded:!1,clientRendered:!1},e.getPrefixCls=function(){var t=e.props.prefixCls;return(0,e.context.getPrefixCls)("typography",t)},e.onExpandClick=function(t){var n,r=e.getEllipsis().onExpand;e.setState({expanded:!0}),null===(n=r)||void 0===n||n(t)},e.onEditClick=function(t){t.preventDefault(),e.triggerEdit(!0)},e.onEditChange=function(t){var n=e.getEditable().onChange;null==n||n(t),e.triggerEdit(!1)},e.onEditCancel=function(){var t,n;null===(n=(t=e.getEditable()).onCancel)||void 0===n||n.call(t),e.triggerEdit(!1)},e.onCopyClick=function(t){t.preventDefault();var n=e.props,a=n.children,i=n.copyable,l=(0,r.Z)({},"object"===(0,v.Z)(i)?i:null);void 0===l.text&&(l.text=String(a)),Z()(l.text||""),e.setState({copied:!0},(function(){l.onCopy&&l.onCopy(),e.copyId=window.setTimeout((function(){e.setState({copied:!1})}),3e3)}))},e.setEditRef=function(t){e.editIcon=t},e.triggerEdit=function(t){var n=e.getEditable().onStart;t&&n&&n(),e.setState({edit:t},(function(){!t&&e.editIcon&&e.editIcon.focus()}))},e.resizeOnNextFrame=function(){L.Z.cancel(e.rafId),e.rafId=(0,L.Z)((function(){e.syncEllipsis()}))},e}return(0,g.Z)(n,[{key:"componentDidMount",value:function(){this.setState({clientRendered:!0}),this.resizeOnNextFrame()}},{key:"componentDidUpdate",value:function(e){var t=this.props.children,n=this.getEllipsis(),r=this.getEllipsis(e);t===e.children&&n.rows===r.rows||this.resizeOnNextFrame()}},{key:"componentWillUnmount",value:function(){window.clearTimeout(this.copyId),L.Z.cancel(this.rafId)}},{key:"getEditable",value:function(e){var t=this.state.edit,n=(e||this.props).editable;return n?(0,r.Z)({editing:t},"object"===(0,v.Z)(n)?n:null):{editing:t}}},{key:"getEllipsis",value:function(e){var t=(e||this.props).ellipsis;return t?(0,r.Z)({rows:1,expandable:!1},"object"===(0,v.Z)(t)?t:null):{}}},{key:"canUseCSSEllipsis",value:function(){var e=this.state.clientRendered,t=this.props,n=t.editable,r=t.copyable,a=this.getEllipsis(),i=a.rows,l=a.expandable,o=a.suffix,c=a.onEllipsis,s=a.tooltip;return!o&&!s&&!(n||r||l||!e||c)&&(1===i?J:X)}},{key:"syncEllipsis",value:function(){var e=this.state,t=e.ellipsisText,n=e.isEllipsis,r=e.expanded,a=this.getEllipsis(),i=a.rows,l=a.suffix,o=a.onEllipsis,c=this.props.children;if(i&&!(i<0)&&this.contentRef.current&&!r&&!this.canUseCSSEllipsis()){(0,u.Z)((0,x.Z)(c).every((function(e){return"string"==typeof e})),"Typography","`ellipsis` should use string as children only.");var s=Q(this.contentRef.current,{rows:i,suffix:l},c,this.renderOperations(!0),"..."),p=s.content,d=s.text,f=s.ellipsis;t===d&&n===f||(this.setState({ellipsisText:d,ellipsisContent:p,isEllipsis:f}),n!==f&&o&&o(f))}}},{key:"renderExpand",value:function(e){var t,n=this.getEllipsis(),r=n.expandable,a=n.symbol,l=this.state,o=l.expanded,c=l.isEllipsis;return r&&(e||!o&&c)?(t=a||this.expandStr,i.createElement("a",{key:"expand",className:"".concat(this.getPrefixCls(),"-expand"),onClick:this.onExpandClick,"aria-label":this.expandStr},t)):null}},{key:"renderEdit",value:function(){var e=this.props.editable;if(e){var t=e.icon,n=e.tooltip,r=(0,x.Z)(n)[0]||this.editStr,a="string"==typeof r?r:"";return i.createElement(M.Z,{key:"edit",title:!1===n?"":r},i.createElement(D,{ref:this.setEditRef,className:"".concat(this.getPrefixCls(),"-edit"),onClick:this.onEditClick,"aria-label":a},t||i.createElement(w.Z,{role:"button"})))}}},{key:"renderCopy",value:function(){var e=this.state.copied,t=this.props.copyable;if(t){var n=this.getPrefixCls(),r=t.tooltips,a=(0,x.Z)(r);0===a.length&&(a=[this.copyStr,this.copiedStr]);var l=e?a[1]:a[0],c="string"==typeof l?l:"",s=(0,x.Z)(t.icon);return i.createElement(M.Z,{key:"copy",title:!1===r?"":l},i.createElement(D,{className:o()("".concat(n,"-copy"),e&&"".concat(n,"-copy-success")),onClick:this.onCopyClick,"aria-label":c},e?s[1]||i.createElement(O.Z,null):s[0]||i.createElement(P,null)))}}},{key:"renderEditInput",value:function(){var e=this.props,t=e.children,n=e.className,r=e.style,a=this.context.direction,l=this.getEditable(),o=l.maxLength,c=l.autoSize,s=l.onEnd;return i.createElement(F,{value:"string"==typeof t?t:"",onSave:this.onEditChange,onCancel:this.onEditCancel,onEnd:s,prefixCls:this.getPrefixCls(),className:n,style:r,direction:a,maxLength:o,autoSize:c})}},{key:"renderOperations",value:function(e){return[this.renderExpand(e),this.renderEdit(),this.renderCopy()].filter((function(e){return e}))}},{key:"renderContent",value:function(){var e=this,t=this.state,n=t.ellipsisContent,l=t.isEllipsis,c=t.expanded,s=this.props,u=s.component,p=s.children,d=s.className,v=s.type,h=s.disabled,g=s.style,E=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}(s,["component","children","className","type","disabled","style"]),b=this.context.direction,x=this.getEllipsis(),C=x.rows,Z=x.suffix,w=x.tooltip,O=this.getPrefixCls(),N=(0,m.Z)(E,["prefixCls","editable","copyable","ellipsis","mark","code","delete","underline","strong","keyboard"].concat((0,y.Z)(z.nf))),k=this.canUseCSSEllipsis(),S=1===C&&k,P=C&&C>1&&k,T=p;if(C&&l&&!c&&!k){var H=E.title,D=H||"";H||"string"!=typeof p&&"number"!=typeof p||(D=String(p)),D=D.slice(String(n||"").length),T=i.createElement(i.Fragment,null,n,i.createElement("span",{title:D,"aria-hidden":"true"},"..."),Z),w&&(T=i.createElement(M.Z,{title:!0===w?p:w},i.createElement("span",null,T)))}else T=i.createElement(i.Fragment,null,p,Z);return T=function(e,t){var n=e.mark,r=e.code,a=e.underline,l=e.delete,o=e.strong,c=e.keyboard,s=t;function u(e,t){e&&(s=i.createElement(t,{},s))}return u(o,"strong"),u(a,"u"),u(l,"del"),u(r,"code"),u(n,"mark"),u(c,"kbd"),s}(this.props,T),i.createElement(j.Z,{componentName:"Text"},(function(t){var n,l=t.edit,c=t.copy,s=t.copied,p=t.expand;return e.editStr=l,e.copyStr=c,e.copiedStr=s,e.expandStr=p,i.createElement(R.Z,{onResize:e.resizeOnNextFrame,disabled:!C},i.createElement(f,(0,r.Z)({className:o()((n={},(0,a.Z)(n,"".concat(O,"-").concat(v),v),(0,a.Z)(n,"".concat(O,"-disabled"),h),(0,a.Z)(n,"".concat(O,"-ellipsis"),C),(0,a.Z)(n,"".concat(O,"-ellipsis-single-line"),S),(0,a.Z)(n,"".concat(O,"-ellipsis-multiple-line"),P),n),d),style:(0,r.Z)((0,r.Z)({},g),{WebkitLineClamp:P?C:void 0}),component:u,ref:e.contentRef,direction:b},N),T,e.renderOperations()))}))}},{key:"render",value:function(){return this.getEditable().editing?this.renderEditInput():this.renderContent()}}],[{key:"getDerivedStateFromProps",value:function(e){var t=e.children,n=e.editable;return(0,u.Z)(!n||"string"==typeof t,"Typography","When `editable` is enabled, the `children` should use string."),{}}}]),n}(i.Component);Y.contextType=s.E_,Y.defaultProps={children:""};var $=Y,ee=function(e,t){var n=e.ellipsis,a=e.rel,l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}(e,["ellipsis","rel"]);(0,u.Z)("object"!==(0,v.Z)(n),"Typography.Link","`ellipsis` only supports boolean value.");var o=i.useRef(null);i.useImperativeHandle(t,(function(){var e;return null===(e=o.current)||void 0===e?void 0:e.contentRef.current}));var c=(0,r.Z)((0,r.Z)({},l),{rel:void 0===a&&"_blank"===l.target?"noopener noreferrer":a});return delete c.navigate,i.createElement($,(0,r.Z)({},c,{ref:o,ellipsis:!!n,component:"a"}))},te=i.forwardRef(ee),ne=n(7988),re=(0,ne.a)(1,2,3,4,5),ae=f;ae.Text=function(e){var t=e.ellipsis,n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}(e,["ellipsis"]),a=i.useMemo((function(){return t&&"object"===(0,v.Z)(t)?(0,m.Z)(t,["expandable","rows"]):t}),[t]);return(0,u.Z)("object"!==(0,v.Z)(t)||!t||!("expandable"in t)&&!("rows"in t),"Typography.Text","`ellipsis` do not support `expandable` or `rows` props."),i.createElement($,(0,r.Z)({},n,{ellipsis:a,component:"span"}))},ae.Link=te,ae.Title=function(e){var t,n=e.level,a=void 0===n?1:n,l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}(e,["level"]);return-1!==re.indexOf(a)?t="h".concat(a):((0,u.Z)(!1,"Typography.Title","Title only accept `1 | 2 | 3 | 4 | 5` as `level` value. And `5` need 4.6.0+ version."),t="h1"),i.createElement($,(0,r.Z)({},l,{component:t}))},ae.Paragraph=function(e){return i.createElement($,(0,r.Z)({},e,{component:"div"}))};var ie=ae},1765:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}}}]);
2
+ //# sourceMappingURL=354.lite.js.map?ver=9abce566f176e3f8866d
public/dist/354.lite.js.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"file":"354.lite.js?ver=9abce566f176e3f8866d","mappings":"qIAEA,IAAIA,EAAkB,EAAQ,MAE1BC,EAA4B,CAC9B,aAAc,OACd,YAAa,MACb,QAAW,QAyGbC,EAAOC,QA/FP,SAAcC,EAAMC,GAClB,IAAIC,EACFC,EACAC,EACAC,EACAC,EACAC,EACAC,GAAU,EACPP,IACHA,EAAU,IAEZC,EAAQD,EAAQC,QAAS,EACzB,IAgDE,GA/CAE,EAAmBR,IAEnBS,EAAQI,SAASC,cACjBJ,EAAYG,SAASE,gBAErBJ,EAAOE,SAASG,cAAc,SACzBC,YAAcb,EAEnBO,EAAKO,MAAMC,IAAM,QAEjBR,EAAKO,MAAME,SAAW,QACtBT,EAAKO,MAAMG,IAAM,EACjBV,EAAKO,MAAMI,KAAO,mBAElBX,EAAKO,MAAMK,WAAa,MAExBZ,EAAKO,MAAMM,iBAAmB,OAC9Bb,EAAKO,MAAMO,cAAgB,OAC3Bd,EAAKO,MAAMQ,aAAe,OAC1Bf,EAAKO,MAAMS,WAAa,OACxBhB,EAAKiB,iBAAiB,QAAQ,SAASC,GAErC,GADAA,EAAE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gR,MACVhR,EAAU6C,kBAEL7C,EAAUwY,YACbE,EAAOjK,SAAQ,SAAS1O,GACtBC,EAAUiC,SAASlC,MAIvBmF,GACAA,EAAOoG","sources":["webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/copy-to-clipboard/index.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons-svg/es/asn/DeleteOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons/es/icons/DeleteOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons-svg/es/asn/DragOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons/es/icons/DragOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons-svg/es/asn/EditOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons/es/icons/EditOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons-svg/es/asn/WarningOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons/es/icons/WarningOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/skeleton/Title.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/skeleton/Paragraph.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/skeleton/Element.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/skeleton/Avatar.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/skeleton/Button.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/skeleton/Input.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/skeleton/Skeleton.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/skeleton/Image.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/skeleton/index.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/typography/Typography.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons-svg/es/asn/CopyOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons/es/icons/CopyOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/_util/transButton.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons-svg/es/asn/EnterOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons/es/icons/EnterOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/typography/util.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/typography/Editable.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/typography/Base.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/typography/Link.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/typography/Title.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/typography/index.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/typography/Text.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/typography/Paragraph.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/toggle-selection/index.js"],"sourcesContent":["\"use strict\";\n\nvar deselectCurrent = require(\"toggle-selection\");\n\nvar clipboardToIE11Formatting = {\n \"text/plain\": \"Text\",\n \"text/html\": \"Url\",\n \"default\": \"Text\"\n}\n\nvar defaultMessage = \"Copy to clipboard: #{key}, Enter\";\n\nfunction format(message) {\n var copyKey = (/mac os x/i.test(navigator.userAgent) ? \"⌘\" : \"Ctrl\") + \"+C\";\n return message.replace(/#{\\s*key\\s*}/g, copyKey);\n}\n\nfunction copy(text, options) {\n var debug,\n message,\n reselectPrevious,\n range,\n selection,\n mark,\n success = false;\n if (!options) {\n options = {};\n }\n debug = options.debug || false;\n try {\n reselectPrevious = deselectCurrent();\n\n range = document.createRange();\n selection = document.getSelection();\n\n mark = document.createElement(\"span\");\n mark.textContent = text;\n // reset user styles for span element\n mark.style.all = \"unset\";\n // prevents scrolling to the end of the page\n mark.style.position = \"fixed\";\n mark.style.top = 0;\n mark.style.clip = \"rect(0, 0, 0, 0)\";\n // used to preserve spaces and line breaks\n mark.style.whiteSpace = \"pre\";\n // do not inherit user-select (it may be `none`)\n mark.style.webkitUserSelect = \"text\";\n mark.style.MozUserSelect = \"text\";\n mark.style.msUserSelect = \"text\";\n mark.style.userSelect = \"text\";\n mark.addEventListener(\"copy\", function(e) {\n e.stopPropagation();\n if (options.format) {\n e.preventDefault();\n if (typeof e.clipboardData === \"undefined\") { // IE 11\n debug && console.warn(\"unable to use e.clipboardData\");\n debug && console.warn(\"trying IE specific stuff\");\n window.clipboardData.clearData();\n var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting[\"default\"]\n window.clipboardData.setData(format, text);\n } else { // all other browsers\n e.clipboardData.clearData();\n e.clipboardData.setData(options.format, text);\n }\n }\n if (options.onCopy) {\n e.preventDefault();\n options.onCopy(e.clipboardData);\n }\n });\n\n document.body.appendChild(mark);\n\n range.selectNodeContents(mark);\n selection.addRange(range);\n\n var successful = document.execCommand(\"copy\");\n if (!successful) {\n throw new Error(\"copy command was unsuccessful\");\n }\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using execCommand: \", err);\n debug && console.warn(\"trying IE specific stuff\");\n try {\n window.clipboardData.setData(options.format || \"text\", text);\n options.onCopy && options.onCopy(window.clipboardData);\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using clipboardData: \", err);\n debug && console.error(\"falling back to prompt\");\n message = format(\"message\" in options ? options.message : defaultMessage);\n window.prompt(message, text);\n }\n } finally {\n if (selection) {\n if (typeof selection.removeRange == \"function\") {\n selection.removeRange(range);\n } else {\n selection.removeAllRanges();\n }\n }\n\n if (mark) {\n document.body.removeChild(mark);\n }\n reselectPrevious();\n }\n\n return success;\n}\n\nmodule.exports = copy;\n","// This icon file is generated automatically.\nvar DeleteOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z\" } }] }, \"name\": \"delete\", \"theme\": \"outlined\" };\nexport default DeleteOutlined;\n","// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport DeleteOutlinedSvg from \"@ant-design/icons-svg/es/asn/DeleteOutlined\";\nimport AntdIcon from '../components/AntdIcon';\n\nvar DeleteOutlined = function DeleteOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, Object.assign({}, props, {\n ref: ref,\n icon: DeleteOutlinedSvg\n }));\n};\n\nDeleteOutlined.displayName = 'DeleteOutlined';\nexport default /*#__PURE__*/React.forwardRef(DeleteOutlined);","// This icon file is generated automatically.\nvar DragOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M909.3 506.3L781.7 405.6a7.23 7.23 0 00-11.7 5.7V476H548V254h64.8c6 0 9.4-7 5.7-11.7L517.7 114.7a7.14 7.14 0 00-11.3 0L405.6 242.3a7.23 7.23 0 005.7 11.7H476v222H254v-64.8c0-6-7-9.4-11.7-5.7L114.7 506.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h222v222h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V548h222v64.8c0 6 7 9.4 11.7 5.7l127.5-100.8a7.3 7.3 0 00.1-11.4z\" } }] }, \"name\": \"drag\", \"theme\": \"outlined\" };\nexport default DragOutlined;\n","// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport DragOutlinedSvg from \"@ant-design/icons-svg/es/asn/DragOutlined\";\nimport AntdIcon from '../components/AntdIcon';\n\nvar DragOutlined = function DragOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, Object.assign({}, props, {\n ref: ref,\n icon: DragOutlinedSvg\n }));\n};\n\nDragOutlined.displayName = 'DragOutlined';\nexport default /*#__PURE__*/React.forwardRef(DragOutlined);","// This icon file is generated automatically.\nvar EditOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z\" } }] }, \"name\": \"edit\", \"theme\": \"outlined\" };\nexport default EditOutlined;\n","// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport EditOutlinedSvg from \"@ant-design/icons-svg/es/asn/EditOutlined\";\nimport AntdIcon from '../components/AntdIcon';\n\nvar EditOutlined = function EditOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, Object.assign({}, props, {\n ref: ref,\n icon: EditOutlinedSvg\n }));\n};\n\nEditOutlined.displayName = 'EditOutlined';\nexport default /*#__PURE__*/React.forwardRef(EditOutlined);","// This icon file is generated automatically.\nvar WarningOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z\" } }] }, \"name\": \"warning\", \"theme\": \"outlined\" };\nexport default WarningOutlined;\n","// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport WarningOutlinedSvg from \"@ant-design/icons-svg/es/asn/WarningOutlined\";\nimport AntdIcon from '../components/AntdIcon';\n\nvar WarningOutlined = function WarningOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, Object.assign({}, props, {\n ref: ref,\n icon: WarningOutlinedSvg\n }));\n};\n\nWarningOutlined.displayName = 'WarningOutlined';\nexport default /*#__PURE__*/React.forwardRef(WarningOutlined);","import _extends from \"@babel/runtime/helpers/esm/extends\";\n\n/* eslint-disable jsx-a11y/heading-has-content */\nimport * as React from 'react';\nimport classNames from 'classnames';\n\nvar Title = function Title(_ref) {\n var prefixCls = _ref.prefixCls,\n className = _ref.className,\n width = _ref.width,\n style = _ref.style;\n return /*#__PURE__*/React.createElement(\"h3\", {\n className: classNames(prefixCls, className),\n style: _extends({\n width: width\n }, style)\n });\n};\n\nexport default Title;","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport * as React from 'react';\nimport classNames from 'classnames';\n\nvar Paragraph = function Paragraph(props) {\n var getWidth = function getWidth(index) {\n var width = props.width,\n _props$rows = props.rows,\n rows = _props$rows === void 0 ? 2 : _props$rows;\n\n if (Array.isArray(width)) {\n return width[index];\n } // last paragraph\n\n\n if (rows - 1 === index) {\n return width;\n }\n\n return undefined;\n };\n\n var prefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n rows = props.rows;\n\n var rowList = _toConsumableArray(Array(rows)).map(function (_, index) {\n return (\n /*#__PURE__*/\n // eslint-disable-next-line react/no-array-index-key\n React.createElement(\"li\", {\n key: index,\n style: {\n width: getWidth(index)\n }\n })\n );\n });\n\n return /*#__PURE__*/React.createElement(\"ul\", {\n className: classNames(prefixCls, className),\n style: style\n }, rowList);\n};\n\nexport default Paragraph;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport classNames from 'classnames';\n\nvar Element = function Element(props) {\n var _classNames, _classNames2;\n\n var prefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n size = props.size,\n shape = props.shape;\n var sizeCls = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-lg\"), size === 'large'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-sm\"), size === 'small'), _classNames));\n var shapeCls = classNames((_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-circle\"), shape === 'circle'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-square\"), shape === 'square'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-round\"), shape === 'round'), _classNames2));\n var sizeStyle = typeof size === 'number' ? {\n width: size,\n height: size,\n lineHeight: \"\".concat(size, \"px\")\n } : {};\n return /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(prefixCls, sizeCls, shapeCls, className),\n style: _extends(_extends({}, sizeStyle), style)\n });\n};\n\nexport default Element;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport omit from \"rc-util/es/omit\";\nimport classNames from 'classnames';\nimport { ConfigConsumer } from '../config-provider';\nimport Element from './Element';\n\nvar SkeletonAvatar = function SkeletonAvatar(props) {\n var renderSkeletonAvatar = function renderSkeletonAvatar(_ref) {\n var getPrefixCls = _ref.getPrefixCls;\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n active = props.active;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var otherProps = omit(props, ['prefixCls']);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), _defineProperty({}, \"\".concat(prefixCls, \"-active\"), active), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(Element, _extends({\n prefixCls: \"\".concat(prefixCls, \"-avatar\")\n }, otherProps)));\n };\n\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, renderSkeletonAvatar);\n};\n\nSkeletonAvatar.defaultProps = {\n size: 'default',\n shape: 'circle'\n};\nexport default SkeletonAvatar;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport omit from \"rc-util/es/omit\";\nimport classNames from 'classnames';\nimport Element from './Element';\nimport { ConfigConsumer } from '../config-provider';\n\nvar SkeletonButton = function SkeletonButton(props) {\n var renderSkeletonButton = function renderSkeletonButton(_ref) {\n var getPrefixCls = _ref.getPrefixCls;\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n active = props.active;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var otherProps = omit(props, ['prefixCls']);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), _defineProperty({}, \"\".concat(prefixCls, \"-active\"), active), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(Element, _extends({\n prefixCls: \"\".concat(prefixCls, \"-button\")\n }, otherProps)));\n };\n\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, renderSkeletonButton);\n};\n\nSkeletonButton.defaultProps = {\n size: 'default'\n};\nexport default SkeletonButton;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport omit from \"rc-util/es/omit\";\nimport classNames from 'classnames';\nimport Element from './Element';\nimport { ConfigConsumer } from '../config-provider';\n\nvar SkeletonInput = function SkeletonInput(props) {\n var renderSkeletonInput = function renderSkeletonInput(_ref) {\n var getPrefixCls = _ref.getPrefixCls;\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n active = props.active;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var otherProps = omit(props, ['prefixCls']);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), _defineProperty({}, \"\".concat(prefixCls, \"-active\"), active), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(Element, _extends({\n prefixCls: \"\".concat(prefixCls, \"-input\")\n }, otherProps)));\n };\n\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, renderSkeletonInput);\n};\n\nSkeletonInput.defaultProps = {\n size: 'default'\n};\nexport default SkeletonInput;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport Title from './Title';\nimport Paragraph from './Paragraph';\nimport { ConfigConsumer } from '../config-provider';\nimport Element from './Element';\nimport SkeletonAvatar from './Avatar';\nimport SkeletonButton from './Button';\nimport SkeletonInput from './Input';\nimport SkeletonImage from './Image';\n\nfunction getComponentProps(prop) {\n if (prop && _typeof(prop) === 'object') {\n return prop;\n }\n\n return {};\n}\n\nfunction getAvatarBasicProps(hasTitle, hasParagraph) {\n if (hasTitle && !hasParagraph) {\n // Square avatar\n return {\n size: 'large',\n shape: 'square'\n };\n }\n\n return {\n size: 'large',\n shape: 'circle'\n };\n}\n\nfunction getTitleBasicProps(hasAvatar, hasParagraph) {\n if (!hasAvatar && hasParagraph) {\n return {\n width: '38%'\n };\n }\n\n if (hasAvatar && hasParagraph) {\n return {\n width: '50%'\n };\n }\n\n return {};\n}\n\nfunction getParagraphBasicProps(hasAvatar, hasTitle) {\n var basicProps = {}; // Width\n\n if (!hasAvatar || !hasTitle) {\n basicProps.width = '61%';\n } // Rows\n\n\n if (!hasAvatar && hasTitle) {\n basicProps.rows = 3;\n } else {\n basicProps.rows = 2;\n }\n\n return basicProps;\n}\n\nvar Skeleton = function Skeleton(props) {\n var renderSkeleton = function renderSkeleton(_ref) {\n var getPrefixCls = _ref.getPrefixCls,\n direction = _ref.direction;\n var customizePrefixCls = props.prefixCls,\n loading = props.loading,\n className = props.className,\n children = props.children,\n avatar = props.avatar,\n title = props.title,\n paragraph = props.paragraph,\n active = props.active,\n round = props.round;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n\n if (loading || !('loading' in props)) {\n var _classNames;\n\n var hasAvatar = !!avatar;\n var hasTitle = !!title;\n var hasParagraph = !!paragraph; // Avatar\n\n var avatarNode;\n\n if (hasAvatar) {\n var avatarProps = _extends(_extends({\n prefixCls: \"\".concat(prefixCls, \"-avatar\")\n }, getAvatarBasicProps(hasTitle, hasParagraph)), getComponentProps(avatar)); // We direct use SkeletonElement as avatar in skeleton internal.\n\n\n avatarNode = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-header\")\n }, /*#__PURE__*/React.createElement(Element, avatarProps));\n }\n\n var contentNode;\n\n if (hasTitle || hasParagraph) {\n // Title\n var $title;\n\n if (hasTitle) {\n var titleProps = _extends(_extends({\n prefixCls: \"\".concat(prefixCls, \"-title\")\n }, getTitleBasicProps(hasAvatar, hasParagraph)), getComponentProps(title));\n\n $title = /*#__PURE__*/React.createElement(Title, titleProps);\n } // Paragraph\n\n\n var paragraphNode;\n\n if (hasParagraph) {\n var paragraphProps = _extends(_extends({\n prefixCls: \"\".concat(prefixCls, \"-paragraph\")\n }, getParagraphBasicProps(hasAvatar, hasTitle)), getComponentProps(paragraph));\n\n paragraphNode = /*#__PURE__*/React.createElement(Paragraph, paragraphProps);\n }\n\n contentNode = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content\")\n }, $title, paragraphNode);\n }\n\n var cls = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-with-avatar\"), hasAvatar), _defineProperty(_classNames, \"\".concat(prefixCls, \"-active\"), active), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-round\"), round), _classNames), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, avatarNode, contentNode);\n }\n\n return children;\n };\n\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, renderSkeleton);\n};\n\nSkeleton.defaultProps = {\n avatar: false,\n title: true,\n paragraph: true\n};\nSkeleton.Button = SkeletonButton;\nSkeleton.Avatar = SkeletonAvatar;\nSkeleton.Input = SkeletonInput;\nSkeleton.Image = SkeletonImage;\nexport default Skeleton;","import * as React from 'react';\nimport classNames from 'classnames';\nimport { ConfigConsumer } from '../config-provider';\nvar path = 'M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z';\n\nvar SkeletonImage = function SkeletonImage(props) {\n var renderSkeletonImage = function renderSkeletonImage(_ref) {\n var getPrefixCls = _ref.getPrefixCls;\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n style = props.style;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-image\"), className),\n style: style\n }, /*#__PURE__*/React.createElement(\"svg\", {\n viewBox: \"0 0 1098 1024\",\n xmlns: \"http://www.w3.org/2000/svg\",\n className: \"\".concat(prefixCls, \"-image-svg\")\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: path,\n className: \"\".concat(prefixCls, \"-image-path\")\n }))));\n };\n\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, renderSkeletonImage);\n};\n\nexport default SkeletonImage;","import Skeleton from './Skeleton';\nexport default Skeleton;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { composeRef } from \"rc-util/es/ref\";\nimport { ConfigConsumer } from '../config-provider';\nimport devWarning from '../_util/devWarning';\n\nvar Typography = function Typography(_a, ref) {\n var customizePrefixCls = _a.prefixCls,\n _a$component = _a.component,\n component = _a$component === void 0 ? 'article' : _a$component,\n className = _a.className,\n ariaLabel = _a['aria-label'],\n setContentRef = _a.setContentRef,\n children = _a.children,\n restProps = __rest(_a, [\"prefixCls\", \"component\", \"className\", 'aria-label', \"setContentRef\", \"children\"]);\n\n var mergedRef = ref;\n\n if (setContentRef) {\n devWarning(false, 'Typography', '`setContentRef` is deprecated. Please use `ref` instead.');\n mergedRef = composeRef(ref, setContentRef);\n }\n\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, function (_ref) {\n var getPrefixCls = _ref.getPrefixCls,\n direction = _ref.direction;\n var Component = component;\n var prefixCls = getPrefixCls('typography', customizePrefixCls);\n var componentClassName = classNames(prefixCls, _defineProperty({}, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), className);\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: componentClassName,\n \"aria-label\": ariaLabel,\n ref: mergedRef\n }, restProps), children);\n });\n};\n\nvar RefTypography = /*#__PURE__*/React.forwardRef(Typography);\nRefTypography.displayName = 'Typography'; // es default export should use const instead of let\n\nvar ExportTypography = RefTypography;\nexport default ExportTypography;","// This icon file is generated automatically.\nvar CopyOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z\" } }] }, \"name\": \"copy\", \"theme\": \"outlined\" };\nexport default CopyOutlined;\n","// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport CopyOutlinedSvg from \"@ant-design/icons-svg/es/asn/CopyOutlined\";\nimport AntdIcon from '../components/AntdIcon';\n\nvar CopyOutlined = function CopyOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, Object.assign({}, props, {\n ref: ref,\n icon: CopyOutlinedSvg\n }));\n};\n\nCopyOutlined.displayName = 'CopyOutlined';\nexport default /*#__PURE__*/React.forwardRef(CopyOutlined);","import _extends from \"@babel/runtime/helpers/esm/extends\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n/**\n * Wrap of sub component which need use as Button capacity (like Icon component).\n *\n * This helps accessibility reader to tread as a interactive button to operation.\n */\n\n\nimport * as React from 'react';\nimport KeyCode from \"rc-util/es/KeyCode\";\nvar inlineStyle = {\n border: 0,\n background: 'transparent',\n padding: 0,\n lineHeight: 'inherit',\n display: 'inline-block'\n};\nvar TransButton = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var onKeyDown = function onKeyDown(event) {\n var keyCode = event.keyCode;\n\n if (keyCode === KeyCode.ENTER) {\n event.preventDefault();\n }\n };\n\n var onKeyUp = function onKeyUp(event) {\n var keyCode = event.keyCode;\n var onClick = props.onClick;\n\n if (keyCode === KeyCode.ENTER && onClick) {\n onClick();\n }\n };\n\n var style = props.style,\n noStyle = props.noStyle,\n disabled = props.disabled,\n restProps = __rest(props, [\"style\", \"noStyle\", \"disabled\"]);\n\n var mergedStyle = {};\n\n if (!noStyle) {\n mergedStyle = _extends({}, inlineStyle);\n }\n\n if (disabled) {\n mergedStyle.pointerEvents = 'none';\n }\n\n mergedStyle = _extends(_extends({}, mergedStyle), style);\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n role: \"button\",\n tabIndex: 0,\n ref: ref\n }, restProps, {\n onKeyDown: onKeyDown,\n onKeyUp: onKeyUp,\n style: mergedStyle\n }));\n});\nexport default TransButton;","// This icon file is generated automatically.\nvar EnterOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z\" } }] }, \"name\": \"enter\", \"theme\": \"outlined\" };\nexport default EnterOutlined;\n","// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport EnterOutlinedSvg from \"@ant-design/icons-svg/es/asn/EnterOutlined\";\nimport AntdIcon from '../components/AntdIcon';\n\nvar EnterOutlined = function EnterOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, Object.assign({}, props, {\n ref: ref,\n icon: EnterOutlinedSvg\n }));\n};\n\nEnterOutlined.displayName = 'EnterOutlined';\nexport default /*#__PURE__*/React.forwardRef(EnterOutlined);","import { render, unmountComponentAtNode } from 'react-dom';\nimport * as React from 'react';\nimport toArray from \"rc-util/es/Children/toArray\"; // We only handle element & text node.\n\nvar ELEMENT_NODE = 1;\nvar TEXT_NODE = 3;\nvar COMMENT_NODE = 8;\nvar ellipsisContainer;\nvar wrapperStyle = {\n padding: 0,\n margin: 0,\n display: 'inline',\n lineHeight: 'inherit'\n};\n\nfunction pxToNumber(value) {\n if (!value) return 0;\n var match = value.match(/^\\d*(\\.\\d*)?/);\n return match ? Number(match[0]) : 0;\n}\n\nfunction styleToString(style) {\n // There are some different behavior between Firefox & Chrome.\n // We have to handle this ourself.\n var styleNames = Array.prototype.slice.apply(style);\n return styleNames.map(function (name) {\n return \"\".concat(name, \": \").concat(style.getPropertyValue(name), \";\");\n }).join('');\n}\n\nfunction mergeChildren(children) {\n var childList = [];\n children.forEach(function (child) {\n var prevChild = childList[childList.length - 1];\n\n if (typeof child === 'string' && typeof prevChild === 'string') {\n childList[childList.length - 1] += child;\n } else {\n childList.push(child);\n }\n });\n return childList;\n}\n\nexport default (function (originEle, option, content, fixedContent, ellipsisStr) {\n if (!ellipsisContainer) {\n ellipsisContainer = document.createElement('div');\n ellipsisContainer.setAttribute('aria-hidden', 'true');\n document.body.appendChild(ellipsisContainer);\n }\n\n var rows = option.rows,\n _option$suffix = option.suffix,\n suffix = _option$suffix === void 0 ? '' : _option$suffix; // Get origin style\n\n var originStyle = window.getComputedStyle(originEle);\n var originCSS = styleToString(originStyle);\n var lineHeight = pxToNumber(originStyle.lineHeight);\n var maxHeight = Math.round(lineHeight * (rows + 1) + pxToNumber(originStyle.paddingTop) + pxToNumber(originStyle.paddingBottom)); // Set shadow\n\n ellipsisContainer.setAttribute('style', originCSS);\n ellipsisContainer.style.position = 'fixed';\n ellipsisContainer.style.left = '0';\n ellipsisContainer.style.height = 'auto';\n ellipsisContainer.style.minHeight = 'auto';\n ellipsisContainer.style.maxHeight = 'auto';\n ellipsisContainer.style.top = '-999999px';\n ellipsisContainer.style.zIndex = '-1000'; // clean up css overflow\n\n ellipsisContainer.style.textOverflow = 'clip';\n ellipsisContainer.style.whiteSpace = 'normal';\n ellipsisContainer.style.webkitLineClamp = 'none'; // Render in the fake container\n\n var contentList = mergeChildren(toArray(content));\n render( /*#__PURE__*/React.createElement(\"div\", {\n style: wrapperStyle\n }, /*#__PURE__*/React.createElement(\"span\", {\n style: wrapperStyle\n }, contentList, suffix), /*#__PURE__*/React.createElement(\"span\", {\n style: wrapperStyle\n }, fixedContent)), ellipsisContainer); // wrap in an div for old version react\n // Check if ellipsis in measure div is height enough for content\n\n function inRange() {\n return ellipsisContainer.offsetHeight < maxHeight;\n } // Skip ellipsis if already match\n\n\n if (inRange()) {\n unmountComponentAtNode(ellipsisContainer);\n return {\n content: content,\n text: ellipsisContainer.innerHTML,\n ellipsis: false\n };\n } // We should clone the childNode since they're controlled by React and we can't reuse it without warning\n\n\n var childNodes = Array.prototype.slice.apply(ellipsisContainer.childNodes[0].childNodes[0].cloneNode(true).childNodes).filter(function (_ref) {\n var nodeType = _ref.nodeType;\n return nodeType !== COMMENT_NODE;\n });\n var fixedNodes = Array.prototype.slice.apply(ellipsisContainer.childNodes[0].childNodes[1].cloneNode(true).childNodes);\n unmountComponentAtNode(ellipsisContainer); // ========================= Find match ellipsis content =========================\n\n var ellipsisChildren = [];\n ellipsisContainer.innerHTML = ''; // Create origin content holder\n\n var ellipsisContentHolder = document.createElement('span');\n ellipsisContainer.appendChild(ellipsisContentHolder);\n var ellipsisTextNode = document.createTextNode(ellipsisStr + suffix);\n ellipsisContentHolder.appendChild(ellipsisTextNode);\n fixedNodes.forEach(function (childNode) {\n ellipsisContainer.appendChild(childNode);\n }); // Append before fixed nodes\n\n function appendChildNode(node) {\n ellipsisContentHolder.insertBefore(node, ellipsisTextNode);\n } // Get maximum text\n\n\n function measureText(textNode, fullText) {\n var startLoc = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n var endLoc = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : fullText.length;\n var lastSuccessLoc = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;\n var midLoc = Math.floor((startLoc + endLoc) / 2);\n var currentText = fullText.slice(0, midLoc);\n textNode.textContent = currentText;\n\n if (startLoc >= endLoc - 1) {\n // Loop when step is small\n for (var step = endLoc; step >= startLoc; step -= 1) {\n var currentStepText = fullText.slice(0, step);\n textNode.textContent = currentStepText;\n\n if (inRange() || !currentStepText) {\n return step === fullText.length ? {\n finished: false,\n reactNode: fullText\n } : {\n finished: true,\n reactNode: currentStepText\n };\n }\n }\n }\n\n if (inRange()) {\n return measureText(textNode, fullText, midLoc, endLoc, midLoc);\n }\n\n return measureText(textNode, fullText, startLoc, midLoc, lastSuccessLoc);\n }\n\n function measureNode(childNode, index) {\n var type = childNode.nodeType;\n\n if (type === ELEMENT_NODE) {\n // We don't split element, it will keep if whole element can be displayed.\n appendChildNode(childNode);\n\n if (inRange()) {\n return {\n finished: false,\n reactNode: contentList[index]\n };\n } // Clean up if can not pull in\n\n\n ellipsisContentHolder.removeChild(childNode);\n return {\n finished: true,\n reactNode: null\n };\n }\n\n if (type === TEXT_NODE) {\n var fullText = childNode.textContent || '';\n var textNode = document.createTextNode(fullText);\n appendChildNode(textNode);\n return measureText(textNode, fullText);\n } // Not handle other type of content\n // PS: This code should not be attached after react 16\n\n /* istanbul ignore next */\n\n\n return {\n finished: false,\n reactNode: null\n };\n }\n\n childNodes.some(function (childNode, index) {\n var _measureNode = measureNode(childNode, index),\n finished = _measureNode.finished,\n reactNode = _measureNode.reactNode;\n\n if (reactNode) {\n ellipsisChildren.push(reactNode);\n }\n\n return finished;\n });\n return {\n content: ellipsisChildren,\n text: ellipsisContainer.innerHTML,\n ellipsis: true\n };\n});","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport KeyCode from \"rc-util/es/KeyCode\";\nimport EnterOutlined from \"@ant-design/icons/es/icons/EnterOutlined\";\nimport TextArea from '../input/TextArea';\n\nvar Editable = function Editable(_ref) {\n var prefixCls = _ref.prefixCls,\n ariaLabel = _ref['aria-label'],\n className = _ref.className,\n style = _ref.style,\n direction = _ref.direction,\n maxLength = _ref.maxLength,\n _ref$autoSize = _ref.autoSize,\n autoSize = _ref$autoSize === void 0 ? true : _ref$autoSize,\n value = _ref.value,\n onSave = _ref.onSave,\n onCancel = _ref.onCancel,\n onEnd = _ref.onEnd;\n var ref = React.useRef();\n var inComposition = React.useRef(false);\n var lastKeyCode = React.useRef();\n\n var _React$useState = React.useState(value),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n current = _React$useState2[0],\n setCurrent = _React$useState2[1];\n\n React.useEffect(function () {\n setCurrent(value);\n }, [value]);\n React.useEffect(function () {\n if (ref.current && ref.current.resizableTextArea) {\n var textArea = ref.current.resizableTextArea.textArea;\n textArea.focus();\n var length = textArea.value.length;\n textArea.setSelectionRange(length, length);\n }\n }, []);\n\n var onChange = function onChange(_ref2) {\n var target = _ref2.target;\n setCurrent(target.value.replace(/[\\n\\r]/g, ''));\n };\n\n var onCompositionStart = function onCompositionStart() {\n inComposition.current = true;\n };\n\n var onCompositionEnd = function onCompositionEnd() {\n inComposition.current = false;\n };\n\n var onKeyDown = function onKeyDown(_ref3) {\n var keyCode = _ref3.keyCode;\n // We don't record keyCode when IME is using\n if (inComposition.current) return;\n lastKeyCode.current = keyCode;\n };\n\n var confirmChange = function confirmChange() {\n onSave(current.trim());\n };\n\n var onKeyUp = function onKeyUp(_ref4) {\n var keyCode = _ref4.keyCode,\n ctrlKey = _ref4.ctrlKey,\n altKey = _ref4.altKey,\n metaKey = _ref4.metaKey,\n shiftKey = _ref4.shiftKey;\n\n // Check if it's a real key\n if (lastKeyCode.current === keyCode && !inComposition.current && !ctrlKey && !altKey && !metaKey && !shiftKey) {\n if (keyCode === KeyCode.ENTER) {\n confirmChange();\n onEnd === null || onEnd === void 0 ? void 0 : onEnd();\n } else if (keyCode === KeyCode.ESC) {\n onCancel();\n }\n }\n };\n\n var onBlur = function onBlur() {\n confirmChange();\n };\n\n var textAreaClassName = classNames(prefixCls, \"\".concat(prefixCls, \"-edit-content\"), _defineProperty({}, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: textAreaClassName,\n style: style\n }, /*#__PURE__*/React.createElement(TextArea, {\n ref: ref,\n maxLength: maxLength,\n value: current,\n onChange: onChange,\n onKeyDown: onKeyDown,\n onKeyUp: onKeyUp,\n onCompositionStart: onCompositionStart,\n onCompositionEnd: onCompositionEnd,\n onBlur: onBlur,\n \"aria-label\": ariaLabel,\n autoSize: autoSize\n }), /*#__PURE__*/React.createElement(EnterOutlined, {\n className: \"\".concat(prefixCls, \"-edit-content-confirm\")\n }));\n};\n\nexport default Editable;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _classCallCheck from \"@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/esm/createClass\";\nimport _inherits from \"@babel/runtime/helpers/esm/inherits\";\nimport _createSuper from \"@babel/runtime/helpers/esm/createSuper\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport toArray from \"rc-util/es/Children/toArray\";\nimport copy from 'copy-to-clipboard';\nimport omit from \"rc-util/es/omit\";\nimport EditOutlined from \"@ant-design/icons/es/icons/EditOutlined\";\nimport CheckOutlined from \"@ant-design/icons/es/icons/CheckOutlined\";\nimport CopyOutlined from \"@ant-design/icons/es/icons/CopyOutlined\";\nimport ResizeObserver from 'rc-resize-observer';\nimport { configConsumerProps, ConfigContext } from '../config-provider';\nimport LocaleReceiver from '../locale-provider/LocaleReceiver';\nimport devWarning from '../_util/devWarning';\nimport TransButton from '../_util/transButton';\nimport raf from '../_util/raf';\nimport { isStyleSupport } from '../_util/styleChecker';\nimport Tooltip from '../tooltip';\nimport Typography from './Typography';\nimport Editable from './Editable';\nimport measure from './util';\nvar isLineClampSupport = isStyleSupport('webkitLineClamp');\nvar isTextOverflowSupport = isStyleSupport('textOverflow');\n\nfunction wrapperDecorations(_ref, content) {\n var mark = _ref.mark,\n code = _ref.code,\n underline = _ref.underline,\n del = _ref[\"delete\"],\n strong = _ref.strong,\n keyboard = _ref.keyboard;\n var currentContent = content;\n\n function wrap(needed, tag) {\n if (!needed) return;\n currentContent = /*#__PURE__*/React.createElement(tag, {}, currentContent);\n }\n\n wrap(strong, 'strong');\n wrap(underline, 'u');\n wrap(del, 'del');\n wrap(code, 'code');\n wrap(mark, 'mark');\n wrap(keyboard, 'kbd');\n return currentContent;\n}\n\nvar ELLIPSIS_STR = '...';\n\nvar Base = /*#__PURE__*/function (_React$Component) {\n _inherits(Base, _React$Component);\n\n var _super = _createSuper(Base);\n\n function Base() {\n var _this;\n\n _classCallCheck(this, Base);\n\n _this = _super.apply(this, arguments);\n _this.contentRef = /*#__PURE__*/React.createRef();\n _this.state = {\n edit: false,\n copied: false,\n ellipsisText: '',\n ellipsisContent: null,\n isEllipsis: false,\n expanded: false,\n clientRendered: false\n };\n\n _this.getPrefixCls = function () {\n var customizePrefixCls = _this.props.prefixCls;\n var getPrefixCls = _this.context.getPrefixCls;\n return getPrefixCls('typography', customizePrefixCls);\n }; // =============== Expand ===============\n\n\n _this.onExpandClick = function (e) {\n var _a;\n\n var _this$getEllipsis = _this.getEllipsis(),\n onExpand = _this$getEllipsis.onExpand;\n\n _this.setState({\n expanded: true\n });\n\n (_a = onExpand) === null || _a === void 0 ? void 0 : _a(e);\n }; // ================ Edit ================\n\n\n _this.onEditClick = function (e) {\n e.preventDefault();\n\n _this.triggerEdit(true);\n };\n\n _this.onEditChange = function (value) {\n var _this$getEditable = _this.getEditable(),\n onChange = _this$getEditable.onChange;\n\n onChange === null || onChange === void 0 ? void 0 : onChange(value);\n\n _this.triggerEdit(false);\n };\n\n _this.onEditCancel = function () {\n var _a, _b;\n\n (_b = (_a = _this.getEditable()).onCancel) === null || _b === void 0 ? void 0 : _b.call(_a);\n\n _this.triggerEdit(false);\n }; // ================ Copy ================\n\n\n _this.onCopyClick = function (e) {\n e.preventDefault();\n var _this$props = _this.props,\n children = _this$props.children,\n copyable = _this$props.copyable;\n\n var copyConfig = _extends({}, _typeof(copyable) === 'object' ? copyable : null);\n\n if (copyConfig.text === undefined) {\n copyConfig.text = String(children);\n }\n\n copy(copyConfig.text || '');\n\n _this.setState({\n copied: true\n }, function () {\n if (copyConfig.onCopy) {\n copyConfig.onCopy();\n }\n\n _this.copyId = window.setTimeout(function () {\n _this.setState({\n copied: false\n });\n }, 3000);\n });\n };\n\n _this.setEditRef = function (node) {\n _this.editIcon = node;\n };\n\n _this.triggerEdit = function (edit) {\n var _this$getEditable2 = _this.getEditable(),\n onStart = _this$getEditable2.onStart;\n\n if (edit && onStart) {\n onStart();\n }\n\n _this.setState({\n edit: edit\n }, function () {\n if (!edit && _this.editIcon) {\n _this.editIcon.focus();\n }\n });\n }; // ============== Ellipsis ==============\n\n\n _this.resizeOnNextFrame = function () {\n raf.cancel(_this.rafId);\n _this.rafId = raf(function () {\n // Do not bind `syncEllipsis`. It need for test usage on prototype\n _this.syncEllipsis();\n });\n };\n\n return _this;\n }\n\n _createClass(Base, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n this.setState({\n clientRendered: true\n });\n this.resizeOnNextFrame();\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate(prevProps) {\n var children = this.props.children;\n var ellipsis = this.getEllipsis();\n var prevEllipsis = this.getEllipsis(prevProps);\n\n if (children !== prevProps.children || ellipsis.rows !== prevEllipsis.rows) {\n this.resizeOnNextFrame();\n }\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n window.clearTimeout(this.copyId);\n raf.cancel(this.rafId);\n }\n }, {\n key: \"getEditable\",\n value: function getEditable(props) {\n var edit = this.state.edit;\n\n var _ref2 = props || this.props,\n editable = _ref2.editable;\n\n if (!editable) return {\n editing: edit\n };\n return _extends({\n editing: edit\n }, _typeof(editable) === 'object' ? editable : null);\n }\n }, {\n key: \"getEllipsis\",\n value: function getEllipsis(props) {\n var _ref3 = props || this.props,\n ellipsis = _ref3.ellipsis;\n\n if (!ellipsis) return {};\n return _extends({\n rows: 1,\n expandable: false\n }, _typeof(ellipsis) === 'object' ? ellipsis : null);\n }\n }, {\n key: \"canUseCSSEllipsis\",\n value: function canUseCSSEllipsis() {\n var clientRendered = this.state.clientRendered;\n var _this$props2 = this.props,\n editable = _this$props2.editable,\n copyable = _this$props2.copyable;\n\n var _this$getEllipsis2 = this.getEllipsis(),\n rows = _this$getEllipsis2.rows,\n expandable = _this$getEllipsis2.expandable,\n suffix = _this$getEllipsis2.suffix,\n onEllipsis = _this$getEllipsis2.onEllipsis,\n tooltip = _this$getEllipsis2.tooltip;\n\n if (suffix || tooltip) return false; // Can't use css ellipsis since we need to provide the place for button\n\n if (editable || copyable || expandable || !clientRendered || onEllipsis) {\n return false;\n }\n\n if (rows === 1) {\n return isTextOverflowSupport;\n }\n\n return isLineClampSupport;\n }\n }, {\n key: \"syncEllipsis\",\n value: function syncEllipsis() {\n var _this$state = this.state,\n ellipsisText = _this$state.ellipsisText,\n isEllipsis = _this$state.isEllipsis,\n expanded = _this$state.expanded;\n\n var _this$getEllipsis3 = this.getEllipsis(),\n rows = _this$getEllipsis3.rows,\n suffix = _this$getEllipsis3.suffix,\n onEllipsis = _this$getEllipsis3.onEllipsis;\n\n var children = this.props.children;\n if (!rows || rows < 0 || !this.contentRef.current || expanded) return; // Do not measure if css already support ellipsis\n\n if (this.canUseCSSEllipsis()) return;\n devWarning(toArray(children).every(function (child) {\n return typeof child === 'string';\n }), 'Typography', '`ellipsis` should use string as children only.');\n\n var _measure = measure(this.contentRef.current, {\n rows: rows,\n suffix: suffix\n }, children, this.renderOperations(true), ELLIPSIS_STR),\n content = _measure.content,\n text = _measure.text,\n ellipsis = _measure.ellipsis;\n\n if (ellipsisText !== text || isEllipsis !== ellipsis) {\n this.setState({\n ellipsisText: text,\n ellipsisContent: content,\n isEllipsis: ellipsis\n });\n\n if (isEllipsis !== ellipsis && onEllipsis) {\n onEllipsis(ellipsis);\n }\n }\n }\n }, {\n key: \"renderExpand\",\n value: function renderExpand(forceRender) {\n var _this$getEllipsis4 = this.getEllipsis(),\n expandable = _this$getEllipsis4.expandable,\n symbol = _this$getEllipsis4.symbol;\n\n var _this$state2 = this.state,\n expanded = _this$state2.expanded,\n isEllipsis = _this$state2.isEllipsis;\n if (!expandable) return null; // force render expand icon for measure usage or it will cause dead loop\n\n if (!forceRender && (expanded || !isEllipsis)) return null;\n var expandContent;\n\n if (symbol) {\n expandContent = symbol;\n } else {\n expandContent = this.expandStr;\n }\n\n return /*#__PURE__*/React.createElement(\"a\", {\n key: \"expand\",\n className: \"\".concat(this.getPrefixCls(), \"-expand\"),\n onClick: this.onExpandClick,\n \"aria-label\": this.expandStr\n }, expandContent);\n }\n }, {\n key: \"renderEdit\",\n value: function renderEdit() {\n var editable = this.props.editable;\n if (!editable) return;\n var icon = editable.icon,\n tooltip = editable.tooltip;\n var title = toArray(tooltip)[0] || this.editStr;\n var ariaLabel = typeof title === 'string' ? title : '';\n return /*#__PURE__*/React.createElement(Tooltip, {\n key: \"edit\",\n title: tooltip === false ? '' : title\n }, /*#__PURE__*/React.createElement(TransButton, {\n ref: this.setEditRef,\n className: \"\".concat(this.getPrefixCls(), \"-edit\"),\n onClick: this.onEditClick,\n \"aria-label\": ariaLabel\n }, icon || /*#__PURE__*/React.createElement(EditOutlined, {\n role: \"button\"\n })));\n }\n }, {\n key: \"renderCopy\",\n value: function renderCopy() {\n var copied = this.state.copied;\n var copyable = this.props.copyable;\n if (!copyable) return;\n var prefixCls = this.getPrefixCls();\n var tooltips = copyable.tooltips;\n var tooltipNodes = toArray(tooltips);\n\n if (tooltipNodes.length === 0) {\n tooltipNodes = [this.copyStr, this.copiedStr];\n }\n\n var title = copied ? tooltipNodes[1] : tooltipNodes[0];\n var ariaLabel = typeof title === 'string' ? title : '';\n var icons = toArray(copyable.icon);\n return /*#__PURE__*/React.createElement(Tooltip, {\n key: \"copy\",\n title: tooltips === false ? '' : title\n }, /*#__PURE__*/React.createElement(TransButton, {\n className: classNames(\"\".concat(prefixCls, \"-copy\"), copied && \"\".concat(prefixCls, \"-copy-success\")),\n onClick: this.onCopyClick,\n \"aria-label\": ariaLabel\n }, copied ? icons[1] || /*#__PURE__*/React.createElement(CheckOutlined, null) : icons[0] || /*#__PURE__*/React.createElement(CopyOutlined, null)));\n }\n }, {\n key: \"renderEditInput\",\n value: function renderEditInput() {\n var _this$props3 = this.props,\n children = _this$props3.children,\n className = _this$props3.className,\n style = _this$props3.style;\n var direction = this.context.direction;\n\n var _this$getEditable3 = this.getEditable(),\n maxLength = _this$getEditable3.maxLength,\n autoSize = _this$getEditable3.autoSize,\n onEnd = _this$getEditable3.onEnd;\n\n return /*#__PURE__*/React.createElement(Editable, {\n value: typeof children === 'string' ? children : '',\n onSave: this.onEditChange,\n onCancel: this.onEditCancel,\n onEnd: onEnd,\n prefixCls: this.getPrefixCls(),\n className: className,\n style: style,\n direction: direction,\n maxLength: maxLength,\n autoSize: autoSize\n });\n }\n }, {\n key: \"renderOperations\",\n value: function renderOperations(forceRenderExpanded) {\n return [this.renderExpand(forceRenderExpanded), this.renderEdit(), this.renderCopy()].filter(function (node) {\n return node;\n });\n }\n }, {\n key: \"renderContent\",\n value: function renderContent() {\n var _this2 = this;\n\n var _this$state3 = this.state,\n ellipsisContent = _this$state3.ellipsisContent,\n isEllipsis = _this$state3.isEllipsis,\n expanded = _this$state3.expanded;\n\n var _a = this.props,\n component = _a.component,\n children = _a.children,\n className = _a.className,\n type = _a.type,\n disabled = _a.disabled,\n style = _a.style,\n restProps = __rest(_a, [\"component\", \"children\", \"className\", \"type\", \"disabled\", \"style\"]);\n\n var direction = this.context.direction;\n\n var _this$getEllipsis5 = this.getEllipsis(),\n rows = _this$getEllipsis5.rows,\n suffix = _this$getEllipsis5.suffix,\n tooltip = _this$getEllipsis5.tooltip;\n\n var prefixCls = this.getPrefixCls();\n var textProps = omit(restProps, ['prefixCls', 'editable', 'copyable', 'ellipsis', 'mark', 'code', 'delete', 'underline', 'strong', 'keyboard'].concat(_toConsumableArray(configConsumerProps)));\n var cssEllipsis = this.canUseCSSEllipsis();\n var cssTextOverflow = rows === 1 && cssEllipsis;\n var cssLineClamp = rows && rows > 1 && cssEllipsis;\n var textNode = children; // Only use js ellipsis when css ellipsis not support\n\n if (rows && isEllipsis && !expanded && !cssEllipsis) {\n var title = restProps.title;\n var restContent = title || '';\n\n if (!title && (typeof children === 'string' || typeof children === 'number')) {\n restContent = String(children);\n } // show rest content as title on symbol\n\n\n restContent = restContent.slice(String(ellipsisContent || '').length); // We move full content to outer element to avoid repeat read the content by accessibility\n\n textNode = /*#__PURE__*/React.createElement(React.Fragment, null, ellipsisContent, /*#__PURE__*/React.createElement(\"span\", {\n title: restContent,\n \"aria-hidden\": \"true\"\n }, ELLIPSIS_STR), suffix); // If provided tooltip, we need wrap with span to let Tooltip inject events\n\n if (tooltip) {\n textNode = /*#__PURE__*/React.createElement(Tooltip, {\n title: tooltip === true ? children : tooltip\n }, /*#__PURE__*/React.createElement(\"span\", null, textNode));\n }\n } else {\n textNode = /*#__PURE__*/React.createElement(React.Fragment, null, children, suffix);\n }\n\n textNode = wrapperDecorations(this.props, textNode);\n return /*#__PURE__*/React.createElement(LocaleReceiver, {\n componentName: \"Text\"\n }, function (_ref4) {\n var _classNames;\n\n var edit = _ref4.edit,\n copyStr = _ref4.copy,\n copied = _ref4.copied,\n expand = _ref4.expand;\n _this2.editStr = edit;\n _this2.copyStr = copyStr;\n _this2.copiedStr = copied;\n _this2.expandStr = expand;\n return /*#__PURE__*/React.createElement(ResizeObserver, {\n onResize: _this2.resizeOnNextFrame,\n disabled: !rows\n }, /*#__PURE__*/React.createElement(Typography, _extends({\n className: classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(type), type), _defineProperty(_classNames, \"\".concat(prefixCls, \"-disabled\"), disabled), _defineProperty(_classNames, \"\".concat(prefixCls, \"-ellipsis\"), rows), _defineProperty(_classNames, \"\".concat(prefixCls, \"-ellipsis-single-line\"), cssTextOverflow), _defineProperty(_classNames, \"\".concat(prefixCls, \"-ellipsis-multiple-line\"), cssLineClamp), _classNames), className),\n style: _extends(_extends({}, style), {\n WebkitLineClamp: cssLineClamp ? rows : undefined\n }),\n component: component,\n ref: _this2.contentRef,\n direction: direction\n }, textProps), textNode, _this2.renderOperations()));\n });\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this$getEditable4 = this.getEditable(),\n editing = _this$getEditable4.editing;\n\n if (editing) {\n return this.renderEditInput();\n }\n\n return this.renderContent();\n }\n }], [{\n key: \"getDerivedStateFromProps\",\n value: function getDerivedStateFromProps(nextProps) {\n var children = nextProps.children,\n editable = nextProps.editable;\n devWarning(!editable || typeof children === 'string', 'Typography', 'When `editable` is enabled, the `children` should use string.');\n return {};\n }\n }]);\n\n return Base;\n}(React.Component);\n\nBase.contextType = ConfigContext;\nBase.defaultProps = {\n children: ''\n};\nexport default Base;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n\nimport * as React from 'react';\nimport devWarning from '../_util/devWarning';\nimport Base from './Base';\n\nvar Link = function Link(_a, ref) {\n var ellipsis = _a.ellipsis,\n rel = _a.rel,\n restProps = __rest(_a, [\"ellipsis\", \"rel\"]);\n\n devWarning(_typeof(ellipsis) !== 'object', 'Typography.Link', '`ellipsis` only supports boolean value.');\n var baseRef = React.useRef(null);\n React.useImperativeHandle(ref, function () {\n var _a;\n\n return (_a = baseRef.current) === null || _a === void 0 ? void 0 : _a.contentRef.current;\n });\n\n var mergedProps = _extends(_extends({}, restProps), {\n rel: rel === undefined && restProps.target === '_blank' ? 'noopener noreferrer' : rel\n }); // https://github.com/ant-design/ant-design/issues/26622\n // @ts-ignore\n\n\n delete mergedProps.navigate;\n return /*#__PURE__*/React.createElement(Base, _extends({}, mergedProps, {\n ref: baseRef,\n ellipsis: !!ellipsis,\n component: \"a\"\n }));\n};\n\nexport default /*#__PURE__*/React.forwardRef(Link);","import _extends from \"@babel/runtime/helpers/esm/extends\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n\nimport * as React from 'react';\nimport devWarning from '../_util/devWarning';\nimport Base from './Base';\nimport { tupleNum } from '../_util/type';\nvar TITLE_ELE_LIST = tupleNum(1, 2, 3, 4, 5);\n\nvar Title = function Title(props) {\n var _props$level = props.level,\n level = _props$level === void 0 ? 1 : _props$level,\n restProps = __rest(props, [\"level\"]);\n\n var component;\n\n if (TITLE_ELE_LIST.indexOf(level) !== -1) {\n component = \"h\".concat(level);\n } else {\n devWarning(false, 'Typography.Title', 'Title only accept `1 | 2 | 3 | 4 | 5` as `level` value. And `5` need 4.6.0+ version.');\n component = 'h1';\n }\n\n return /*#__PURE__*/React.createElement(Base, _extends({}, restProps, {\n component: component\n }));\n};\n\nexport default Title;","import OriginTypography from './Typography';\nimport Text from './Text';\nimport Link from './Link';\nimport Title from './Title';\nimport Paragraph from './Paragraph';\nvar Typography = OriginTypography;\nTypography.Text = Text;\nTypography.Link = Link;\nTypography.Title = Title;\nTypography.Paragraph = Paragraph;\nexport default Typography;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n\nimport * as React from 'react';\nimport omit from \"rc-util/es/omit\";\nimport devWarning from '../_util/devWarning';\nimport Base from './Base';\n\nvar Text = function Text(_a) {\n var ellipsis = _a.ellipsis,\n restProps = __rest(_a, [\"ellipsis\"]);\n\n var mergedEllipsis = React.useMemo(function () {\n if (ellipsis && _typeof(ellipsis) === 'object') {\n return omit(ellipsis, ['expandable', 'rows']);\n }\n\n return ellipsis;\n }, [ellipsis]);\n devWarning(_typeof(ellipsis) !== 'object' || !ellipsis || !('expandable' in ellipsis) && !('rows' in ellipsis), 'Typography.Text', '`ellipsis` do not support `expandable` or `rows` props.');\n return /*#__PURE__*/React.createElement(Base, _extends({}, restProps, {\n ellipsis: mergedEllipsis,\n component: \"span\"\n }));\n};\n\nexport default Text;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport Base from './Base';\n\nvar Paragraph = function Paragraph(props) {\n return /*#__PURE__*/React.createElement(Base, _extends({}, props, {\n component: \"div\"\n }));\n};\n\nexport default Paragraph;","\nmodule.exports = function () {\n var selection = document.getSelection();\n if (!selection.rangeCount) {\n return function () {};\n }\n var active = document.activeElement;\n\n var ranges = [];\n for (var i = 0; i < selection.rangeCount; i++) {\n ranges.push(selection.getRangeAt(i));\n }\n\n switch (active.tagName.toUpperCase()) { // .toUpperCase handles XHTML\n case 'INPUT':\n case 'TEXTAREA':\n active.blur();\n break;\n\n default:\n active = null;\n break;\n }\n\n selection.removeAllRanges();\n return function () {\n selection.type === 'Caret' &&\n selection.removeAllRanges();\n\n if (!selection.rangeCount) {\n ranges.forEach(function(range) {\n selection.addRange(range);\n });\n }\n\n active &&\n active.focus();\n };\n};\n"],"names":["deselectCurrent","clipboardToIE11Formatting","module","exports","text","options","debug","message","reselectPrevious","range","selection","mark","success","document","createRange","getSelection","createElement","textContent","style","all","position","top","clip","whiteSpace","webkitUserSelect","MozUserSelect","msUserSelect","userSelect","addEventListener","e","stopPropagation","format","preventDefault","clipboardData","console","warn","window","clearData","setData","onCopy","body","appendChild","selectNodeContents","addRange","execCommand","Error","err","error","copyKey","test","navigator","userAgent","replace","prompt","removeRange","removeAllRanges","removeChild","props","ref","AntdIcon","Object","assign","icon","displayName","_ref","prefixCls","className","width","getWidth","index","_props$rows","rows","Array","isArray","rowList","map","_","key","_classNames","_classNames2","size","shape","sizeCls","concat","shapeCls","sizeStyle","height","lineHeight","SkeletonAvatar","renderSkeletonAvatar","getPrefixCls","customizePrefixCls","active","otherProps","omit","cls","C","defaultProps","SkeletonButton","renderSkeletonButton","SkeletonInput","renderSkeletonInput","getComponentProps","prop","Skeleton","renderSkeleton","direction","loading","children","avatar","title","paragraph","round","avatarNode","contentNode","hasAvatar","hasTitle","hasParagraph","avatarProps","getAvatarBasicProps","$title","paragraphNode","titleProps","getTitleBasicProps","paragraphProps","basicProps","getParagraphBasicProps","Button","Avatar","Input","Image","renderSkeletonImage","viewBox","xmlns","d","Typography","_a","_a$component","component","ariaLabel","setContentRef","restProps","s","t","p","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","__rest","mergedRef","devWarning","Component","componentClassName","RefTypography","inlineStyle","border","background","padding","display","noStyle","disabled","mergedStyle","pointerEvents","role","tabIndex","onKeyDown","event","keyCode","KeyCode","onKeyUp","onClick","ellipsisContainer","maxLength","_ref$autoSize","autoSize","value","onSave","onCancel","onEnd","inComposition","lastKeyCode","_React$useState","_React$useState2","current","setCurrent","resizableTextArea","textArea","focus","setSelectionRange","confirmChange","trim","textAreaClassName","TextArea","onChange","_ref2","target","_ref3","_ref4","ctrlKey","altKey","metaKey","shiftKey","onCompositionStart","onCompositionEnd","onBlur","wrapperStyle","margin","pxToNumber","match","Number","originEle","option","content","fixedContent","ellipsisStr","setAttribute","_option$suffix","suffix","originStyle","getComputedStyle","originCSS","slice","apply","name","getPropertyValue","join","maxHeight","Math","paddingTop","paddingBottom","left","minHeight","zIndex","textOverflow","webkitLineClamp","childList","contentList","toArray","forEach","child","prevChild","push","inRange","offsetHeight","render","unmountComponentAtNode","innerHTML","ellipsis","childNodes","cloneNode","filter","nodeType","fixedNodes","ellipsisChildren","ellipsisContentHolder","ellipsisTextNode","createTextNode","appendChildNode","node","insertBefore","measureText","textNode","fullText","startLoc","arguments","undefined","endLoc","lastSuccessLoc","midLoc","floor","currentText","step","currentStepText","finished","reactNode","measureNode","childNode","type","some","_measureNode","isLineClampSupport","isTextOverflowSupport","Base","_React$Component","_super","_this","this","contentRef","state","edit","copied","ellipsisText","ellipsisContent","isEllipsis","expanded","clientRendered","context","onExpandClick","onExpand","getEllipsis","setState","onEditClick","triggerEdit","onEditChange","getEditable","onEditCancel","_b","onCopyClick","_this$props","copyable","copyConfig","String","copyId","setTimeout","setEditRef","editIcon","onStart","resizeOnNextFrame","raf","rafId","syncEllipsis","prevProps","prevEllipsis","clearTimeout","editable","editing","expandable","_this$props2","_this$getEllipsis2","onEllipsis","tooltip","_this$state","_this$getEllipsis3","canUseCSSEllipsis","every","_measure","renderOperations","forceRender","expandContent","_this$getEllipsis4","symbol","_this$state2","expandStr","editStr","EditOutlined","tooltips","tooltipNodes","copyStr","copiedStr","icons","CheckOutlined","_this$props3","_this$getEditable3","forceRenderExpanded","renderExpand","renderEdit","renderCopy","_this2","_this$state3","_this$getEllipsis5","textProps","cssEllipsis","cssTextOverflow","cssLineClamp","restContent","code","underline","del","strong","keyboard","currentContent","wrap","needed","tag","wrapperDecorations","LocaleReceiver","componentName","copy","expand","onResize","WebkitLineClamp","renderEditInput","renderContent","nextProps","contextType","Link","rel","baseRef","mergedProps","navigate","TITLE_ELE_LIST","Text","mergedEllipsis","Title","_props$level","level","Paragraph","rangeCount","activeElement","ranges","getRangeAt","tagName","toUpperCase","blur"],"sourceRoot":""}
public/dist/411.lite.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunkrealCookieBanner_name_=self.webpackChunkrealCookieBanner_name_||[]).push([[411],{6559:function(e,t,n){function r(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}function o(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}n.d(t,{g1:function(){return r},os:function(){return o}})},4716:function(e,t,n){n.d(t,{Z:function(){return q}});var r=n(4741),o=n(3429),a=n(7363),i=n(3161),c=n(2711),l=n(63),s=n(7228),u=n(4115),m=n(2286),f=n.n(m),d=n(6559),v=n(8833),p=n(2134),g=n(5905),h=n(1894),w=n(6871);function y(e,t,n,r){var o=t+n,a=(n-r)/2;if(n>r){if(t>0)return(0,l.Z)({},e,a);if(t<0&&o<r)return(0,l.Z)({},e,-a)}else if(t<0||o>r)return(0,l.Z)({},e,t<0?a:-a);return{}}var Z=a.createContext({previewUrls:new Map,setPreviewUrls:function(){return null},current:null,setCurrent:function(){return null},setShowPreview:function(){return null},setMousePosition:function(){return null},registerImage:function(){return function(){return null}}}),C=Z.Provider,E=a.useState,b=a.useEffect,x={x:0,y:0},N=function(e){var t=e.prefixCls,n=e.src,o=e.alt,i=e.onClose,m=(e.afterClose,e.visible),v=e.icons,C=void 0===v?{}:v,N=(0,u.Z)(e,["prefixCls","src","alt","onClose","afterClose","visible","icons"]),P=C.rotateLeft,O=C.rotateRight,k=C.zoomIn,S=C.zoomOut,z=C.close,M=C.left,j=C.right,I=E(1),L=(0,s.Z)(I,2),R=L[0],H=L[1],V=E(0),T=(0,s.Z)(V,2),_=T[0],Y=T[1],B=function(e){var t=a.useRef(null),n=a.useState(e),r=(0,s.Z)(n,2),o=r[0],i=r[1],l=a.useRef([]);return a.useEffect((function(){return function(){return t.current&&w.Z.cancel(t.current)}}),[]),[o,function(e){null===t.current&&(l.current=[],t.current=(0,w.Z)((function(){i((function(e){var n=e;return l.current.forEach((function(e){n=(0,c.Z)((0,c.Z)({},n),e)})),t.current=null,n}))}))),l.current.push(e)}]}(x),D=(0,s.Z)(B,2),X=D[0],G=D[1],U=a.useRef(),A=a.useRef({originX:0,originY:0,deltaX:0,deltaY:0}),W=a.useState(!1),K=(0,s.Z)(W,2),F=K[0],q=K[1],J=a.useContext(Z),Q=J.previewUrls,$=J.current,ee=J.isPreviewGroup,te=J.setCurrent,ne=Q.size,re=Array.from(Q.keys()),oe=re.indexOf($),ae=ee?Q.get($):n,ie=ee&&ne>1,ce=a.useState({wheelDirection:0}),le=(0,s.Z)(ce,2),se=le[0],ue=le[1],me=function(){H((function(e){return e+1})),G(x)},fe=function(){R>1&&H((function(e){return e-1})),G(x)},de=f()((0,l.Z)({},"".concat(t,"-moving"),F)),ve="".concat(t,"-operations-operation"),pe="".concat(t,"-operations-icon"),ge=[{icon:z,onClick:i,type:"close"},{icon:k,onClick:me,type:"zoomIn"},{icon:S,onClick:fe,type:"zoomOut",disabled:1===R},{icon:O,onClick:function(){Y((function(e){return e+90}))},type:"rotateRight"},{icon:P,onClick:function(){Y((function(e){return e-90}))},type:"rotateLeft"}],he=function(){if(m&&F){var e=U.current.offsetWidth*R,t=U.current.offsetHeight*R,n=U.current.getBoundingClientRect(),r=n.left,o=n.top,a=_%180!=0;q(!1);var i=function(e,t,n,r){var o=(0,d.g1)(),a=o.width,i=o.height,l=null;return e<=a&&t<=i?l={x:0,y:0}:(e>a||t>i)&&(l=(0,c.Z)((0,c.Z)({},y("x",n,e,a)),y("y",r,t,i))),l}(a?t:e,a?e:t,r,o);i&&G((0,c.Z)({},i))}},we=function(e){m&&F&&G({x:e.pageX-A.current.deltaX,y:e.pageY-A.current.deltaY})},ye=function(e){if(m){e.preventDefault();var t=e.deltaY;ue({wheelDirection:t})}};return b((function(){var e=se.wheelDirection;e>0?fe():e<0&&me()}),[se]),b((function(){var e,t,n=(0,g.Z)(window,"mouseup",he,!1),r=(0,g.Z)(window,"mousemove",we,!1),o=(0,g.Z)(window,"wheel",ye,{passive:!1});try{window.top!==window.self&&(e=(0,g.Z)(window.top,"mouseup",he,!1),t=(0,g.Z)(window.top,"mousemove",we,!1))}catch(e){(0,h.Kp)(!1,"[rc-image] ".concat(e))}return function(){n.remove(),r.remove(),o.remove(),e&&e.remove(),t&&t.remove()}}),[m,F]),a.createElement(p.Z,(0,r.Z)({transitionName:"zoom",maskTransitionName:"fade",closable:!1,keyboard:!0,prefixCls:t,onClose:i,afterClose:function(){H(1),Y(0),G(x)},visible:m,wrapClassName:de},N),a.createElement("ul",{className:"".concat(t,"-operations")},ge.map((function(e){var n=e.icon,r=e.onClick,o=e.type,i=e.disabled;return a.createElement("li",{className:f()(ve,(0,l.Z)({},"".concat(t,"-operations-operation-disabled"),!!i)),onClick:r,key:o},a.isValidElement(n)?a.cloneElement(n,{className:pe}):n)}))),a.createElement("div",{className:"".concat(t,"-img-wrapper"),style:{transform:"translate3d(".concat(X.x,"px, ").concat(X.y,"px, 0)")}},a.createElement("img",{onMouseDown:function(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),A.current.deltaX=e.pageX-X.x,A.current.deltaY=e.pageY-X.y,A.current.originX=X.x,A.current.originY=X.y,q(!0))},ref:U,className:"".concat(t,"-img"),src:ae,alt:o,style:{transform:"scale3d(".concat(R,", ").concat(R,", 1) rotate(").concat(_,"deg)")}})),ie&&a.createElement("div",{className:f()("".concat(t,"-switch-left"),(0,l.Z)({},"".concat(t,"-switch-left-disabled"),0===oe)),onClick:function(e){e.preventDefault(),e.stopPropagation(),oe>0&&te(re[oe-1])}},M),ie&&a.createElement("div",{className:f()("".concat(t,"-switch-right"),(0,l.Z)({},"".concat(t,"-switch-right-disabled"),oe===ne-1)),onClick:function(e){e.preventDefault(),e.stopPropagation(),oe<ne-1&&te(re[oe+1])}},j))},P=0,O=function(e){var t=e.src,n=e.alt,i=e.onPreviewClose,m=e.prefixCls,p=void 0===m?"rc-image":m,g=e.previewPrefixCls,h=void 0===g?"".concat(p,"-preview"):g,w=e.placeholder,y=e.fallback,C=e.width,E=e.height,b=e.style,x=e.preview,O=void 0===x||x,k=e.className,S=e.onClick,z=e.onError,M=e.wrapperClassName,j=e.wrapperStyle,I=e.crossOrigin,L=e.decoding,R=e.loading,H=e.referrerPolicy,V=e.sizes,T=e.srcSet,_=e.useMap,Y=(0,u.Z)(e,["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","crossOrigin","decoding","loading","referrerPolicy","sizes","srcSet","useMap"]),B=w&&!0!==w,D="object"===(0,o.Z)(O)?O:{},X=D.src,G=D.visible,U=void 0===G?void 0:G,A=D.onVisibleChange,W=void 0===A?i:A,K=D.getContainer,F=void 0===K?void 0:K,q=D.mask,J=D.maskClassName,Q=D.icons,$=(0,u.Z)(D,["src","visible","onVisibleChange","getContainer","mask","maskClassName","icons"]),ee=null!=X?X:t,te=void 0!==U,ne=(0,v.Z)(!!U,{value:U,onChange:W}),re=(0,s.Z)(ne,2),oe=re[0],ae=re[1],ie=(0,a.useState)(B?"loading":"normal"),ce=(0,s.Z)(ie,2),le=ce[0],se=ce[1],ue=(0,a.useState)(null),me=(0,s.Z)(ue,2),fe=me[0],de=me[1],ve="error"===le,pe=a.useContext(Z),ge=pe.isPreviewGroup,he=pe.setCurrent,we=pe.setShowPreview,ye=pe.setMousePosition,Ze=pe.registerImage,Ce=a.useState((function(){return P+=1})),Ee=(0,s.Z)(Ce,1)[0],be=O&&!ve,xe=a.useRef(!1),Ne=function(){se("normal")};a.useEffect((function(){return Ze(Ee,ee)}),[]),a.useEffect((function(){Ze(Ee,ee,be)}),[ee,be]),a.useEffect((function(){ve&&se("normal"),B&&!xe.current&&se("loading")}),[t]);var Pe=f()(p,M,(0,l.Z)({},"".concat(p,"-error"),ve)),Oe=ve&&y?y:ee,ke={crossOrigin:I,decoding:L,loading:R,referrerPolicy:H,sizes:V,srcSet:T,useMap:_,alt:n,className:f()("".concat(p,"-img"),(0,l.Z)({},"".concat(p,"-img-placeholder"),!0===w),k),style:(0,c.Z)({height:E},b)};return a.createElement(a.Fragment,null,a.createElement("div",(0,r.Z)({},Y,{className:Pe,onClick:O&&!ve?function(e){if(!te){var t=(0,d.os)(e.target),n=t.left,r=t.top;ge?(he(Ee),ye({x:n,y:r})):de({x:n,y:r})}ge?we(!0):ae(!0),S&&S(e)}:S,style:(0,c.Z)({width:C,height:E},j)}),a.createElement("img",(0,r.Z)({},ke,{ref:function(e){xe.current=!1,"loading"===le&&(null==e?void 0:e.complete)&&(e.naturalWidth||e.naturalHeight)&&(xe.current=!0,Ne())}},ve&&y?{src:y}:{onLoad:Ne,onError:function(e){z&&z(e),se("error")},src:t})),"loading"===le&&a.createElement("div",{"aria-hidden":"true",className:"".concat(p,"-placeholder")},w),q&&be&&a.createElement("div",{className:f()("".concat(p,"-mask"),J)},q)),!ge&&be&&a.createElement(N,(0,r.Z)({"aria-hidden":!oe,visible:oe,prefixCls:h,onClose:function(e){e.stopPropagation(),ae(!1),te||de(null)},mousePosition:fe,src:Oe,alt:n,getContainer:F,icons:Q},$)))};O.PreviewGroup=function(e){var t=e.previewPrefixCls,n=void 0===t?"rc-image-preview":t,i=e.children,c=e.icons,l=void 0===c?{}:c,m=e.preview,f="object"===(0,o.Z)(m)?m:{},d=f.visible,p=void 0===d?void 0:d,g=f.onVisibleChange,h=void 0===g?void 0:g,w=f.getContainer,y=void 0===w?void 0:w,Z=f.current,E=void 0===Z?0:Z,b=(0,u.Z)(f,["visible","onVisibleChange","getContainer","current"]),x=(0,a.useState)(new Map),P=(0,s.Z)(x,2),O=P[0],k=P[1],S=(0,a.useState)(),z=(0,s.Z)(S,2),M=z[0],j=z[1],I=(0,v.Z)(!!p,{value:p,onChange:h}),L=(0,s.Z)(I,2),R=L[0],H=L[1],V=(0,a.useState)(null),T=(0,s.Z)(V,2),_=T[0],Y=T[1],B=void 0!==p,D=Array.from(O.keys())[E],X=new Map(Array.from(O).filter((function(e){return!!(0,s.Z)(e,2)[1].canPreview})).map((function(e){var t=(0,s.Z)(e,2);return[t[0],t[1].url]})));return a.useEffect((function(){j(D)}),[D]),a.useEffect((function(){!R&&B&&j(D)}),[D,B,R]),a.createElement(C,{value:{isPreviewGroup:!0,previewUrls:X,setPreviewUrls:k,current:M,setCurrent:j,setShowPreview:H,setMousePosition:Y,registerImage:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=function(){k((function(t){var n=new Map(t);return n.delete(e)?n:t}))};return k((function(r){return new Map(r).set(e,{url:t,canPreview:n})})),r}}},i,a.createElement(N,(0,r.Z)({"aria-hidden":!R,visible:R,prefixCls:n,onClose:function(e){e.stopPropagation(),H(!1),Y(null)},mousePosition:_,src:X.get(M),icons:l,getContainer:y},b)))},O.displayName="Image";var k=O,S=n(6273),z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},M=n(3751),j=function(e,t){return a.createElement(M.Z,Object.assign({},e,{ref:t,icon:z}))};j.displayName="RotateLeftOutlined";var I=a.forwardRef(j),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},R=function(e,t){return a.createElement(M.Z,Object.assign({},e,{ref:t,icon:L}))};R.displayName="RotateRightOutlined";var H=a.forwardRef(R),V={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},T=function(e,t){return a.createElement(M.Z,Object.assign({},e,{ref:t,icon:V}))};T.displayName="ZoomInOutlined";var _=a.forwardRef(T),Y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},B=function(e,t){return a.createElement(M.Z,Object.assign({},e,{ref:t,icon:Y}))};B.displayName="ZoomOutOutlined";var D=a.forwardRef(B),X=n(1543),G=n(8122),U=n(4632),A=n(4178),W=n(5670),K={rotateLeft:a.createElement(I,null),rotateRight:a.createElement(H,null),zoomIn:a.createElement(_,null),zoomOut:a.createElement(D,null),close:a.createElement(X.Z,null),left:a.createElement(G.Z,null),right:a.createElement(U.Z,null)},F=function(e){var t=e.prefixCls,n=e.preview,c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","preview"]),l=(0,a.useContext)(A.E_).getPrefixCls,s=l("image",t),u=l(),m=(0,a.useContext)(A.E_).locale,f=(void 0===m?S.Z:m).Image||S.Z.Image,d=a.useMemo((function(){if(!1===n)return n;var e="object"===(0,o.Z)(n)?n:{};return(0,r.Z)((0,r.Z)({mask:a.createElement("div",{className:"".concat(s,"-mask-info")},a.createElement(i.Z,null),null==f?void 0:f.preview),icons:K},e),{transitionName:(0,W.m)(u,"zoom",e.transitionName),maskTransitionName:(0,W.m)(u,"fade",e.maskTransitionName)})}),[n,f]);return a.createElement(k,(0,r.Z)({prefixCls:s,preview:d},c))};F.PreviewGroup=function(e){var t=e.previewPrefixCls,n=e.preview,i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["previewPrefixCls","preview"]),c=a.useContext(A.E_).getPrefixCls,l=c("image-preview",t),s=c(),u=a.useMemo((function(){if(!1===n)return n;var e="object"===(0,o.Z)(n)?n:{};return(0,r.Z)((0,r.Z)({},e),{transitionName:(0,W.m)(s,"zoom",e.transitionName),maskTransitionName:(0,W.m)(s,"fade",e.maskTransitionName)})}),[n]);return a.createElement(k.PreviewGroup,(0,r.Z)({preview:u,previewPrefixCls:l,icons:K},i))};var q=F},9455:function(e,t,n){n.d(t,{ZM:function(){return E},ZP:function(){return x}});var r=n(7870),o=n(4741),a=n(63),i=n(7228),c=n(3429),l=n(7363),s=n(2286),u=n.n(s),m=n(9591),f=n(5806),d=n(5e3),v=n(4178),p=n(754),g=n(9388),h=n(2275),w=n(8929),y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Z=function(e){var t,n=e.prefixCls,r=e.children,i=e.actions,c=e.extra,s=e.className,m=e.colStyle,f=y(e,["prefixCls","children","actions","extra","className","colStyle"]),d=l.useContext(E),p=d.grid,g=d.itemLayout,Z=(0,l.useContext(v.E_).getPrefixCls)("list",n),C=i&&i.length>0&&l.createElement("ul",{className:"".concat(Z,"-item-action"),key:"actions"},i.map((function(e,t){return l.createElement("li",{key:"".concat(Z,"-item-action-").concat(t)},e,t!==i.length-1&&l.createElement("em",{className:"".concat(Z,"-item-action-split")}))}))),b=p?"div":"li",x=l.createElement(b,(0,o.Z)({},f,{className:u()("".concat(Z,"-item"),(0,a.Z)({},"".concat(Z,"-item-no-flex"),!("vertical"===g?c:(l.Children.forEach(r,(function(e){"string"==typeof e&&(t=!0)})),!(t&&l.Children.count(r)>1)))),s)}),"vertical"===g&&c?[l.createElement("div",{className:"".concat(Z,"-item-main"),key:"content"},r,C),l.createElement("div",{className:"".concat(Z,"-item-extra"),key:"extra"},c)]:[r,C,(0,w.Tm)(c,{key:"extra"})]);return p?l.createElement(h.Z,{flex:1,style:m},x):x};Z.Meta=function(e){var t=e.prefixCls,n=e.className,r=e.avatar,a=e.title,i=e.description,c=y(e,["prefixCls","className","avatar","title","description"]),s=(0,l.useContext(v.E_).getPrefixCls)("list",t),m=u()("".concat(s,"-item-meta"),n),f=l.createElement("div",{className:"".concat(s,"-item-meta-content")},a&&l.createElement("h4",{className:"".concat(s,"-item-meta-title")},a),i&&l.createElement("div",{className:"".concat(s,"-item-meta-description")},i));return l.createElement("div",(0,o.Z)({},c,{className:m}),r&&l.createElement("div",{className:"".concat(s,"-item-meta-avatar")},r),(a||i)&&f)};var C=Z,E=l.createContext({});function b(e){var t,n=e.pagination,s=void 0!==n&&n,h=e.prefixCls,w=e.bordered,y=void 0!==w&&w,Z=e.split,C=void 0===Z||Z,b=e.className,x=e.children,N=e.itemLayout,P=e.loadMore,O=e.grid,k=e.dataSource,S=void 0===k?[]:k,z=e.size,M=e.header,j=e.footer,I=e.loading,L=void 0!==I&&I,R=e.rowKey,H=e.renderItem,V=e.locale,T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["pagination","prefixCls","bordered","split","className","children","itemLayout","loadMore","grid","dataSource","size","header","footer","loading","rowKey","renderItem","locale"]),_=s&&"object"===(0,c.Z)(s)?s:{},Y=l.useState(_.defaultCurrent||1),B=(0,i.Z)(Y,2),D=B[0],X=B[1],G=l.useState(_.defaultPageSize||10),U=(0,i.Z)(G,2),A=U[0],W=U[1],K=l.useContext(v.E_),F=K.getPrefixCls,q=K.renderEmpty,J=K.direction,Q={},$=function(e){return function(t,n){X(t),W(n),s&&s[e]&&s[e](t,n)}},ee=$("onChange"),te=$("onShowSizeChange"),ne=F("list",h),re=L;"boolean"==typeof re&&(re={spinning:re});var oe=re&&re.spinning,ae="";switch(z){case"large":ae="lg";break;case"small":ae="sm"}var ie=u()(ne,(t={},(0,a.Z)(t,"".concat(ne,"-vertical"),"vertical"===N),(0,a.Z)(t,"".concat(ne,"-").concat(ae),ae),(0,a.Z)(t,"".concat(ne,"-split"),C),(0,a.Z)(t,"".concat(ne,"-bordered"),y),(0,a.Z)(t,"".concat(ne,"-loading"),oe),(0,a.Z)(t,"".concat(ne,"-grid"),!!O),(0,a.Z)(t,"".concat(ne,"-something-after-last-item"),!!(P||s||j)),(0,a.Z)(t,"".concat(ne,"-rtl"),"rtl"===J),t),b),ce=(0,o.Z)((0,o.Z)((0,o.Z)({},{current:1,total:0}),{total:S.length,current:D,pageSize:A}),s||{}),le=Math.ceil(ce.total/ce.pageSize);ce.current>le&&(ce.current=le);var se=s?l.createElement("div",{className:"".concat(ne,"-pagination")},l.createElement(p.Z,(0,o.Z)({},ce,{onChange:ee,onShowSizeChange:te}))):null,ue=(0,r.Z)(S);s&&S.length>(ce.current-1)*ce.pageSize&&(ue=(0,r.Z)(S).splice((ce.current-1)*ce.pageSize,ce.pageSize));var me=(0,f.Z)(),fe=l.useMemo((function(){for(var e=0;e<d.c4.length;e+=1){var t=d.c4[e];if(me[t])return t}}),[me]),de=l.useMemo((function(){if(O){var e=fe&&O[fe]?O[fe]:O.column;return e?{width:"".concat(100/e,"%"),maxWidth:"".concat(100/e,"%")}:void 0}}),[null==O?void 0:O.column,fe]),ve=oe&&l.createElement("div",{style:{minHeight:53}});if(ue.length>0){var pe=ue.map((function(e,t){return function(e,t){return H?((n="function"==typeof R?R(e):"string"==typeof R?e[R]:e.key)||(n="list-item-".concat(t)),Q[t]=n,H(e,t)):null;var n}(e,t)})),ge=l.Children.map(pe,(function(e,t){return l.createElement("div",{key:Q[t],style:de},e)}));ve=O?l.createElement(g.Z,{gutter:O.gutter},ge):l.createElement("ul",{className:"".concat(ne,"-items")},pe)}else x||oe||(ve=function(e,t){return l.createElement("div",{className:"".concat(e,"-empty-text")},V&&V.emptyText||t("List"))}(ne,q));var he=ce.position||"bottom";return l.createElement(E.Provider,{value:{grid:O,itemLayout:N}},l.createElement("div",(0,o.Z)({className:ie},T),("top"===he||"both"===he)&&se,M&&l.createElement("div",{className:"".concat(ne,"-header")},M),l.createElement(m.Z,re,ve,x),j&&l.createElement("div",{className:"".concat(ne,"-footer")},j),P||("bottom"===he||"both"===he)&&se))}E.Consumer,b.Item=C;var x=b},6273:function(e,t,n){var r=n(5175);t.Z=r.Z}}]);
2
- //# sourceMappingURL=411.lite.js.map?ver=49967c6ebf6317fa7624
 
 
public/dist/411.lite.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"411.lite.js?ver=49967c6ebf6317fa7624","mappings":"qIAsFO,SAASA,IAGd,MAAO,CACLC,MAHUC,SAASC,gBAAgBC,YAInCC,OAHWC,OAAOC,aAAeL,SAASC,gBAAgBK,cAYvD,SAASC,EAAUC,GACxB,IAAIC,EAAMD,EAAKE,wBACXC,EAAUX,SAASC,gBAEvB,MAAO,CACLW,KAAMH,EAAIG,MAAQR,OAAOS,aAAeF,EAAQG,aAAeH,EAAQI,YAAcf,SAASgB,KAAKD,YAAc,GACjHE,IAAKR,EAAIQ,KAAOb,OAAOc,aAAeP,EAAQQ,YAAcR,EAAQS,WAAapB,SAASgB,KAAKI,WAAa,I,gRCtGhH,SAASC,EAASC,EAAKC,EAAOxB,EAAOG,GACnC,IAAIsB,EAAgBD,EAAQxB,EACxB0B,GAAe1B,EAAQG,GAAe,EAE1C,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CAAgBF,EAAMC,MAE3BE,GAAe,eAAmBJ,IAAO,SAAUK,EAAOH,GAC5D,OAAoB,gBAAoB,MAAO,CAC7C/U,IAAK6E,EAAKkQ,GACVzM,MAAO+H,IACN6E,MAELP,GAAkBlE,EAAoB,gBAAoB,IAAK,CAC7D0E,OAAQ1E,EAAK0E,QACZF,IAA6B,gBAAoB,KAAM,CACxD9M,UAAW,GAAGvC,OAAOxE,GAAW,WAC/ByT,SACO9H,GAAa0G,KACvBkB,GA9GoB,SAAyBvT,EAAWgU,GACxD,OAAoB,gBAAoB,MAAO,CAC7CjN,UAAW,GAAGvC,OAAOxE,EAAW,gBAC/BsO,GAAUA,EAAO2F,WAAaD,EAAmB,SA2GlCE,CAAgBlU,GAAW2R,IAG/C,IAAIwC,GAAqB5B,GAAgB/P,UAAY,SACrD,OAAoB,gBAAoB4M,EAAY3P,SAAU,CAC5D4E,MAAO,CACLgL,KAAMA,EACNC,WAAYA,IAEA,gBAAoB,OAAO,OAAS,CAClDvI,UAAWkJ,IACVkB,IAA+B,QAAvBgD,IAAuD,SAAvBA,KAAkCvB,GAAmB9B,GAAuB,gBAAoB,MAAO,CAChJ/J,UAAW,GAAGvC,OAAOxE,GAAW,YAC/B8Q,GAAsB,gBAAoB,IAAMqB,GAAaoB,GAAiB5H,GAAWoF,GAAuB,gBAAoB,MAAO,CAC5IhK,UAAW,GAAGvC,OAAOxE,GAAW,YAC/B+Q,GAASJ,IAAoC,WAAvBwD,IAA0D,SAAvBA,KAAkCvB,KAvNtExD,EAAYgF,SA0NtCjE,EAAKtB,KAAO,EACZ,S,mCCvPA,IAAe,EAAa","sources":["webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/rc-util/es/Dom/css.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/rc-image/es/getFixScaleEleTransPosition.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/rc-image/es/PreviewGroup.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/rc-image/es/Preview.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/rc-image/es/hooks/useFrameSetState.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/rc-image/es/Image.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/rc-image/es/index.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons-svg/es/asn/RotateLeftOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons/es/icons/RotateLeftOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons-svg/es/asn/RotateRightOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons/es/icons/RotateRightOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons-svg/es/asn/ZoomInOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons/es/icons/ZoomInOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons-svg/es/asn/ZoomOutOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons/es/icons/ZoomOutOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/image/PreviewGroup.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/image/index.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/list/Item.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/list/index.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/locale/en_US.js"],"sourcesContent":["/* eslint-disable no-nested-ternary */\nvar PIXEL_PATTERN = /margin|padding|width|height|max|min|offset/;\nvar removePixel = {\n left: true,\n top: true\n};\nvar floatMap = {\n cssFloat: 1,\n styleFloat: 1,\n float: 1\n};\n\nfunction getComputedStyle(node) {\n return node.nodeType === 1 ? node.ownerDocument.defaultView.getComputedStyle(node, null) : {};\n}\n\nfunction getStyleValue(node, type, value) {\n type = type.toLowerCase();\n\n if (value === 'auto') {\n if (type === 'height') {\n return node.offsetHeight;\n }\n\n if (type === 'width') {\n return node.offsetWidth;\n }\n }\n\n if (!(type in removePixel)) {\n removePixel[type] = PIXEL_PATTERN.test(type);\n }\n\n return removePixel[type] ? parseFloat(value) || 0 : value;\n}\n\nexport function get(node, name) {\n var length = arguments.length;\n var style = getComputedStyle(node);\n name = floatMap[name] ? 'cssFloat' in node.style ? 'cssFloat' : 'styleFloat' : name;\n return length === 1 ? style : getStyleValue(node, name, style[name] || node.style[name]);\n}\nexport function set(node, name, value) {\n var length = arguments.length;\n name = floatMap[name] ? 'cssFloat' in node.style ? 'cssFloat' : 'styleFloat' : name;\n\n if (length === 3) {\n if (typeof value === 'number' && PIXEL_PATTERN.test(name)) {\n value = \"\".concat(value, \"px\");\n }\n\n node.style[name] = value; // Number\n\n return value;\n }\n\n for (var x in name) {\n if (name.hasOwnProperty(x)) {\n set(node, x, name[x]);\n }\n }\n\n return getComputedStyle(node);\n}\nexport function getOuterWidth(el) {\n if (el === document.body) {\n return document.documentElement.clientWidth;\n }\n\n return el.offsetWidth;\n}\nexport function getOuterHeight(el) {\n if (el === document.body) {\n return window.innerHeight || document.documentElement.clientHeight;\n }\n\n return el.offsetHeight;\n}\nexport function getDocSize() {\n var width = Math.max(document.documentElement.scrollWidth, document.body.scrollWidth);\n var height = Math.max(document.documentElement.scrollHeight, document.body.scrollHeight);\n return {\n width: width,\n height: height\n };\n}\nexport function getClientSize() {\n var width = document.documentElement.clientWidth;\n var height = window.innerHeight || document.documentElement.clientHeight;\n return {\n width: width,\n height: height\n };\n}\nexport function getScroll() {\n return {\n scrollLeft: Math.max(document.documentElement.scrollLeft, document.body.scrollLeft),\n scrollTop: Math.max(document.documentElement.scrollTop, document.body.scrollTop)\n };\n}\nexport function getOffset(node) {\n var box = node.getBoundingClientRect();\n var docElem = document.documentElement; // < ie8 不支持 win.pageXOffset, 则使用 docElem.scrollLeft\n\n return {\n left: box.left + (window.pageXOffset || docElem.scrollLeft) - (docElem.clientLeft || document.body.clientLeft || 0),\n top: box.top + (window.pageYOffset || docElem.scrollTop) - (docElem.clientTop || document.body.clientTop || 0)\n };\n}","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport { getClientSize } from \"rc-util/es/Dom/css\";\n\nfunction fixPoint(key, start, width, clientWidth) {\n var startAddWidth = start + width;\n var offsetStart = (width - clientWidth) / 2;\n\n if (width > clientWidth) {\n if (start > 0) {\n return _defineProperty({}, key, offsetStart);\n }\n\n if (start < 0 && startAddWidth < clientWidth) {\n return _defineProperty({}, key, -offsetStart);\n }\n } else if (start < 0 || startAddWidth > clientWidth) {\n return _defineProperty({}, key, start < 0 ? offsetStart : -offsetStart);\n }\n\n return {};\n}\n/**\n * Fix positon x,y point when\n *\n * Ele width && height < client\n * - Back origin\n *\n * - Ele width | height > clientWidth | clientHeight\n * - left | top > 0 -> Back 0\n * - left | top + width | height < clientWidth | clientHeight -> Back left | top + width | height === clientWidth | clientHeight\n *\n * Regardless of other\n */\n\n\nexport default function getFixScaleEleTransPosition(width, height, left, top) {\n var _getClientSize = getClientSize(),\n clientWidth = _getClientSize.width,\n clientHeight = _getClientSize.height;\n\n var fixPos = null;\n\n if (width <= clientWidth && height <= clientHeight) {\n fixPos = {\n x: 0,\n y: 0\n };\n } else if (width > clientWidth || height > clientHeight) {\n fixPos = _objectSpread(_objectSpread({}, fixPoint('x', left, width, clientWidth)), fixPoint('y', top, height, clientHeight));\n }\n\n return fixPos;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport { useState } from 'react';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport Preview from './Preview';\n/* istanbul ignore next */\n\nexport var context = /*#__PURE__*/React.createContext({\n previewUrls: new Map(),\n setPreviewUrls: function setPreviewUrls() {\n return null;\n },\n current: null,\n setCurrent: function setCurrent() {\n return null;\n },\n setShowPreview: function setShowPreview() {\n return null;\n },\n setMousePosition: function setMousePosition() {\n return null;\n },\n registerImage: function registerImage() {\n return function () {\n return null;\n };\n }\n});\nvar Provider = context.Provider;\n\nvar Group = function Group(_ref) {\n var _ref$previewPrefixCls = _ref.previewPrefixCls,\n previewPrefixCls = _ref$previewPrefixCls === void 0 ? 'rc-image-preview' : _ref$previewPrefixCls,\n children = _ref.children,\n _ref$icons = _ref.icons,\n icons = _ref$icons === void 0 ? {} : _ref$icons,\n preview = _ref.preview;\n\n var _ref2 = _typeof(preview) === 'object' ? preview : {},\n _ref2$visible = _ref2.visible,\n previewVisible = _ref2$visible === void 0 ? undefined : _ref2$visible,\n _ref2$onVisibleChange = _ref2.onVisibleChange,\n onPreviewVisibleChange = _ref2$onVisibleChange === void 0 ? undefined : _ref2$onVisibleChange,\n _ref2$getContainer = _ref2.getContainer,\n getContainer = _ref2$getContainer === void 0 ? undefined : _ref2$getContainer,\n _ref2$current = _ref2.current,\n currentIndex = _ref2$current === void 0 ? 0 : _ref2$current,\n dialogProps = _objectWithoutProperties(_ref2, [\"visible\", \"onVisibleChange\", \"getContainer\", \"current\"]);\n\n var _useState = useState(new Map()),\n _useState2 = _slicedToArray(_useState, 2),\n previewUrls = _useState2[0],\n setPreviewUrls = _useState2[1];\n\n var _useState3 = useState(),\n _useState4 = _slicedToArray(_useState3, 2),\n current = _useState4[0],\n setCurrent = _useState4[1];\n\n var _useMergedState = useMergedState(!!previewVisible, {\n value: previewVisible,\n onChange: onPreviewVisibleChange\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n isShowPreview = _useMergedState2[0],\n setShowPreview = _useMergedState2[1];\n\n var _useState5 = useState(null),\n _useState6 = _slicedToArray(_useState5, 2),\n mousePosition = _useState6[0],\n setMousePosition = _useState6[1];\n\n var isControlled = previewVisible !== undefined;\n var previewUrlsKeys = Array.from(previewUrls.keys());\n var currentControlledKey = previewUrlsKeys[currentIndex];\n var canPreviewUrls = new Map(Array.from(previewUrls).filter(function (_ref3) {\n var _ref4 = _slicedToArray(_ref3, 2),\n canPreview = _ref4[1].canPreview;\n\n return !!canPreview;\n }).map(function (_ref5) {\n var _ref6 = _slicedToArray(_ref5, 2),\n id = _ref6[0],\n url = _ref6[1].url;\n\n return [id, url];\n }));\n\n var registerImage = function registerImage(id, url) {\n var canPreview = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n\n var unRegister = function unRegister() {\n setPreviewUrls(function (oldPreviewUrls) {\n var clonePreviewUrls = new Map(oldPreviewUrls);\n var deleteResult = clonePreviewUrls.delete(id);\n return deleteResult ? clonePreviewUrls : oldPreviewUrls;\n });\n };\n\n setPreviewUrls(function (oldPreviewUrls) {\n return new Map(oldPreviewUrls).set(id, {\n url: url,\n canPreview: canPreview\n });\n });\n return unRegister;\n };\n\n var onPreviewClose = function onPreviewClose(e) {\n e.stopPropagation();\n setShowPreview(false);\n setMousePosition(null);\n };\n\n React.useEffect(function () {\n setCurrent(currentControlledKey);\n }, [currentControlledKey]);\n React.useEffect(function () {\n if (!isShowPreview && isControlled) {\n setCurrent(currentControlledKey);\n }\n }, [currentControlledKey, isControlled, isShowPreview]);\n return /*#__PURE__*/React.createElement(Provider, {\n value: {\n isPreviewGroup: true,\n previewUrls: canPreviewUrls,\n setPreviewUrls: setPreviewUrls,\n current: current,\n setCurrent: setCurrent,\n setShowPreview: setShowPreview,\n setMousePosition: setMousePosition,\n registerImage: registerImage\n }\n }, children, /*#__PURE__*/React.createElement(Preview, _extends({\n \"aria-hidden\": !isShowPreview,\n visible: isShowPreview,\n prefixCls: previewPrefixCls,\n onClose: onPreviewClose,\n mousePosition: mousePosition,\n src: canPreviewUrls.get(current),\n icons: icons,\n getContainer: getContainer\n }, dialogProps)));\n};\n\nexport default Group;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport Dialog from 'rc-dialog';\nimport classnames from 'classnames';\nimport addEventListener from \"rc-util/es/Dom/addEventListener\";\nimport { warning } from \"rc-util/es/warning\";\nimport useFrameSetState from './hooks/useFrameSetState';\nimport getFixScaleEleTransPosition from './getFixScaleEleTransPosition';\nimport { context } from './PreviewGroup';\nvar useState = React.useState,\n useEffect = React.useEffect;\nvar initialPosition = {\n x: 0,\n y: 0\n};\n\nvar Preview = function Preview(props) {\n var prefixCls = props.prefixCls,\n src = props.src,\n alt = props.alt,\n onClose = props.onClose,\n afterClose = props.afterClose,\n visible = props.visible,\n _props$icons = props.icons,\n icons = _props$icons === void 0 ? {} : _props$icons,\n restProps = _objectWithoutProperties(props, [\"prefixCls\", \"src\", \"alt\", \"onClose\", \"afterClose\", \"visible\", \"icons\"]);\n\n var rotateLeft = icons.rotateLeft,\n rotateRight = icons.rotateRight,\n zoomIn = icons.zoomIn,\n zoomOut = icons.zoomOut,\n close = icons.close,\n left = icons.left,\n right = icons.right;\n\n var _useState = useState(1),\n _useState2 = _slicedToArray(_useState, 2),\n scale = _useState2[0],\n setScale = _useState2[1];\n\n var _useState3 = useState(0),\n _useState4 = _slicedToArray(_useState3, 2),\n rotate = _useState4[0],\n setRotate = _useState4[1];\n\n var _useFrameSetState = useFrameSetState(initialPosition),\n _useFrameSetState2 = _slicedToArray(_useFrameSetState, 2),\n position = _useFrameSetState2[0],\n setPosition = _useFrameSetState2[1];\n\n var imgRef = React.useRef();\n var originPositionRef = React.useRef({\n originX: 0,\n originY: 0,\n deltaX: 0,\n deltaY: 0\n });\n\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n isMoving = _React$useState2[0],\n setMoving = _React$useState2[1];\n\n var _React$useContext = React.useContext(context),\n previewUrls = _React$useContext.previewUrls,\n current = _React$useContext.current,\n isPreviewGroup = _React$useContext.isPreviewGroup,\n setCurrent = _React$useContext.setCurrent;\n\n var previewGroupCount = previewUrls.size;\n var previewUrlsKeys = Array.from(previewUrls.keys());\n var currentPreviewIndex = previewUrlsKeys.indexOf(current);\n var combinationSrc = isPreviewGroup ? previewUrls.get(current) : src;\n var showLeftOrRightSwitches = isPreviewGroup && previewGroupCount > 1;\n\n var _React$useState3 = React.useState({\n wheelDirection: 0\n }),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n lastWheelZoomDirection = _React$useState4[0],\n setLastWheelZoomDirection = _React$useState4[1];\n\n var onAfterClose = function onAfterClose() {\n setScale(1);\n setRotate(0);\n setPosition(initialPosition);\n };\n\n var onZoomIn = function onZoomIn() {\n setScale(function (value) {\n return value + 1;\n });\n setPosition(initialPosition);\n };\n\n var onZoomOut = function onZoomOut() {\n if (scale > 1) {\n setScale(function (value) {\n return value - 1;\n });\n }\n\n setPosition(initialPosition);\n };\n\n var onRotateRight = function onRotateRight() {\n setRotate(function (value) {\n return value + 90;\n });\n };\n\n var onRotateLeft = function onRotateLeft() {\n setRotate(function (value) {\n return value - 90;\n });\n };\n\n var onSwitchLeft = function onSwitchLeft(event) {\n event.preventDefault(); // Without this mask close will abnormal\n\n event.stopPropagation();\n\n if (currentPreviewIndex > 0) {\n setCurrent(previewUrlsKeys[currentPreviewIndex - 1]);\n }\n };\n\n var onSwitchRight = function onSwitchRight(event) {\n event.preventDefault(); // Without this mask close will abnormal\n\n event.stopPropagation();\n\n if (currentPreviewIndex < previewGroupCount - 1) {\n setCurrent(previewUrlsKeys[currentPreviewIndex + 1]);\n }\n };\n\n var wrapClassName = classnames(_defineProperty({}, \"\".concat(prefixCls, \"-moving\"), isMoving));\n var toolClassName = \"\".concat(prefixCls, \"-operations-operation\");\n var iconClassName = \"\".concat(prefixCls, \"-operations-icon\");\n var tools = [{\n icon: close,\n onClick: onClose,\n type: 'close'\n }, {\n icon: zoomIn,\n onClick: onZoomIn,\n type: 'zoomIn'\n }, {\n icon: zoomOut,\n onClick: onZoomOut,\n type: 'zoomOut',\n disabled: scale === 1\n }, {\n icon: rotateRight,\n onClick: onRotateRight,\n type: 'rotateRight'\n }, {\n icon: rotateLeft,\n onClick: onRotateLeft,\n type: 'rotateLeft'\n }];\n\n var onMouseUp = function onMouseUp() {\n if (visible && isMoving) {\n var width = imgRef.current.offsetWidth * scale;\n var height = imgRef.current.offsetHeight * scale; // eslint-disable-next-line @typescript-eslint/no-shadow\n\n var _imgRef$current$getBo = imgRef.current.getBoundingClientRect(),\n _left = _imgRef$current$getBo.left,\n top = _imgRef$current$getBo.top;\n\n var isRotate = rotate % 180 !== 0;\n setMoving(false);\n var fixState = getFixScaleEleTransPosition(isRotate ? height : width, isRotate ? width : height, _left, top);\n\n if (fixState) {\n setPosition(_objectSpread({}, fixState));\n }\n }\n };\n\n var onMouseDown = function onMouseDown(event) {\n // Only allow main button\n if (event.button !== 0) return;\n event.preventDefault(); // Without this mask close will abnormal\n\n event.stopPropagation();\n originPositionRef.current.deltaX = event.pageX - position.x;\n originPositionRef.current.deltaY = event.pageY - position.y;\n originPositionRef.current.originX = position.x;\n originPositionRef.current.originY = position.y;\n setMoving(true);\n };\n\n var onMouseMove = function onMouseMove(event) {\n if (visible && isMoving) {\n setPosition({\n x: event.pageX - originPositionRef.current.deltaX,\n y: event.pageY - originPositionRef.current.deltaY\n });\n }\n };\n\n var onWheelMove = function onWheelMove(event) {\n if (!visible) return;\n event.preventDefault();\n var wheelDirection = event.deltaY;\n setLastWheelZoomDirection({\n wheelDirection: wheelDirection\n });\n };\n\n useEffect(function () {\n var wheelDirection = lastWheelZoomDirection.wheelDirection;\n\n if (wheelDirection > 0) {\n onZoomOut();\n } else if (wheelDirection < 0) {\n onZoomIn();\n }\n }, [lastWheelZoomDirection]);\n useEffect(function () {\n var onTopMouseUpListener;\n var onTopMouseMoveListener;\n var onMouseUpListener = addEventListener(window, 'mouseup', onMouseUp, false);\n var onMouseMoveListener = addEventListener(window, 'mousemove', onMouseMove, false);\n var onScrollWheelListener = addEventListener(window, 'wheel', onWheelMove, {\n passive: false\n });\n\n try {\n // Resolve if in iframe lost event\n\n /* istanbul ignore next */\n if (window.top !== window.self) {\n onTopMouseUpListener = addEventListener(window.top, 'mouseup', onMouseUp, false);\n onTopMouseMoveListener = addEventListener(window.top, 'mousemove', onMouseMove, false);\n }\n } catch (error) {\n /* istanbul ignore next */\n warning(false, \"[rc-image] \".concat(error));\n }\n\n return function () {\n onMouseUpListener.remove();\n onMouseMoveListener.remove();\n onScrollWheelListener.remove();\n /* istanbul ignore next */\n\n if (onTopMouseUpListener) onTopMouseUpListener.remove();\n /* istanbul ignore next */\n\n if (onTopMouseMoveListener) onTopMouseMoveListener.remove();\n };\n }, [visible, isMoving]);\n return /*#__PURE__*/React.createElement(Dialog, _extends({\n transitionName: \"zoom\",\n maskTransitionName: \"fade\",\n closable: false,\n keyboard: true,\n prefixCls: prefixCls,\n onClose: onClose,\n afterClose: onAfterClose,\n visible: visible,\n wrapClassName: wrapClassName\n }, restProps), /*#__PURE__*/React.createElement(\"ul\", {\n className: \"\".concat(prefixCls, \"-operations\")\n }, tools.map(function (_ref) {\n var icon = _ref.icon,\n onClick = _ref.onClick,\n type = _ref.type,\n disabled = _ref.disabled;\n return /*#__PURE__*/React.createElement(\"li\", {\n className: classnames(toolClassName, _defineProperty({}, \"\".concat(prefixCls, \"-operations-operation-disabled\"), !!disabled)),\n onClick: onClick,\n key: type\n }, /*#__PURE__*/React.isValidElement(icon) ? /*#__PURE__*/React.cloneElement(icon, {\n className: iconClassName\n }) : icon);\n })), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-img-wrapper\"),\n style: {\n transform: \"translate3d(\".concat(position.x, \"px, \").concat(position.y, \"px, 0)\")\n }\n }, /*#__PURE__*/React.createElement(\"img\", {\n onMouseDown: onMouseDown,\n ref: imgRef,\n className: \"\".concat(prefixCls, \"-img\"),\n src: combinationSrc,\n alt: alt,\n style: {\n transform: \"scale3d(\".concat(scale, \", \").concat(scale, \", 1) rotate(\").concat(rotate, \"deg)\")\n }\n })), showLeftOrRightSwitches && /*#__PURE__*/React.createElement(\"div\", {\n className: classnames(\"\".concat(prefixCls, \"-switch-left\"), _defineProperty({}, \"\".concat(prefixCls, \"-switch-left-disabled\"), currentPreviewIndex === 0)),\n onClick: onSwitchLeft\n }, left), showLeftOrRightSwitches && /*#__PURE__*/React.createElement(\"div\", {\n className: classnames(\"\".concat(prefixCls, \"-switch-right\"), _defineProperty({}, \"\".concat(prefixCls, \"-switch-right-disabled\"), currentPreviewIndex === previewGroupCount - 1)),\n onClick: onSwitchRight\n }, right));\n};\n\nexport default Preview;","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport raf from \"rc-util/es/raf\";\nexport default function useFrameSetState(initial) {\n var frame = React.useRef(null);\n\n var _React$useState = React.useState(initial),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n state = _React$useState2[0],\n setState = _React$useState2[1];\n\n var queue = React.useRef([]);\n\n var setFrameState = function setFrameState(newState) {\n if (frame.current === null) {\n queue.current = [];\n frame.current = raf(function () {\n setState(function (preState) {\n var memoState = preState;\n queue.current.forEach(function (queueState) {\n memoState = _objectSpread(_objectSpread({}, memoState), queueState);\n });\n frame.current = null;\n return memoState;\n });\n });\n }\n\n queue.current.push(newState);\n };\n\n React.useEffect(function () {\n return function () {\n return frame.current && raf.cancel(frame.current);\n };\n }, []);\n return [state, setFrameState];\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport { useState } from 'react';\nimport cn from 'classnames';\nimport { getOffset } from \"rc-util/es/Dom/css\";\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport Preview from './Preview';\nimport PreviewGroup, { context } from './PreviewGroup';\nvar uuid = 0;\n\nvar ImageInternal = function ImageInternal(_ref) {\n var imgSrc = _ref.src,\n alt = _ref.alt,\n onInitialPreviewClose = _ref.onPreviewClose,\n _ref$prefixCls = _ref.prefixCls,\n prefixCls = _ref$prefixCls === void 0 ? 'rc-image' : _ref$prefixCls,\n _ref$previewPrefixCls = _ref.previewPrefixCls,\n previewPrefixCls = _ref$previewPrefixCls === void 0 ? \"\".concat(prefixCls, \"-preview\") : _ref$previewPrefixCls,\n placeholder = _ref.placeholder,\n fallback = _ref.fallback,\n width = _ref.width,\n height = _ref.height,\n style = _ref.style,\n _ref$preview = _ref.preview,\n preview = _ref$preview === void 0 ? true : _ref$preview,\n className = _ref.className,\n onClick = _ref.onClick,\n onImageError = _ref.onError,\n wrapperClassName = _ref.wrapperClassName,\n wrapperStyle = _ref.wrapperStyle,\n crossOrigin = _ref.crossOrigin,\n decoding = _ref.decoding,\n loading = _ref.loading,\n referrerPolicy = _ref.referrerPolicy,\n sizes = _ref.sizes,\n srcSet = _ref.srcSet,\n useMap = _ref.useMap,\n otherProps = _objectWithoutProperties(_ref, [\"src\", \"alt\", \"onPreviewClose\", \"prefixCls\", \"previewPrefixCls\", \"placeholder\", \"fallback\", \"width\", \"height\", \"style\", \"preview\", \"className\", \"onClick\", \"onError\", \"wrapperClassName\", \"wrapperStyle\", \"crossOrigin\", \"decoding\", \"loading\", \"referrerPolicy\", \"sizes\", \"srcSet\", \"useMap\"]);\n\n var isCustomPlaceholder = placeholder && placeholder !== true;\n\n var _ref2 = _typeof(preview) === 'object' ? preview : {},\n previewSrc = _ref2.src,\n _ref2$visible = _ref2.visible,\n previewVisible = _ref2$visible === void 0 ? undefined : _ref2$visible,\n _ref2$onVisibleChange = _ref2.onVisibleChange,\n onPreviewVisibleChange = _ref2$onVisibleChange === void 0 ? onInitialPreviewClose : _ref2$onVisibleChange,\n _ref2$getContainer = _ref2.getContainer,\n getPreviewContainer = _ref2$getContainer === void 0 ? undefined : _ref2$getContainer,\n previewMask = _ref2.mask,\n maskClassName = _ref2.maskClassName,\n icons = _ref2.icons,\n dialogProps = _objectWithoutProperties(_ref2, [\"src\", \"visible\", \"onVisibleChange\", \"getContainer\", \"mask\", \"maskClassName\", \"icons\"]);\n\n var src = previewSrc !== null && previewSrc !== void 0 ? previewSrc : imgSrc;\n var isControlled = previewVisible !== undefined;\n\n var _useMergedState = useMergedState(!!previewVisible, {\n value: previewVisible,\n onChange: onPreviewVisibleChange\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n isShowPreview = _useMergedState2[0],\n setShowPreview = _useMergedState2[1];\n\n var _useState = useState(isCustomPlaceholder ? 'loading' : 'normal'),\n _useState2 = _slicedToArray(_useState, 2),\n status = _useState2[0],\n setStatus = _useState2[1];\n\n var _useState3 = useState(null),\n _useState4 = _slicedToArray(_useState3, 2),\n mousePosition = _useState4[0],\n setMousePosition = _useState4[1];\n\n var isError = status === 'error';\n\n var _React$useContext = React.useContext(context),\n isPreviewGroup = _React$useContext.isPreviewGroup,\n setCurrent = _React$useContext.setCurrent,\n setGroupShowPreview = _React$useContext.setShowPreview,\n setGroupMousePosition = _React$useContext.setMousePosition,\n registerImage = _React$useContext.registerImage;\n\n var _React$useState = React.useState(function () {\n uuid += 1;\n return uuid;\n }),\n _React$useState2 = _slicedToArray(_React$useState, 1),\n currentId = _React$useState2[0];\n\n var canPreview = preview && !isError;\n var isLoaded = React.useRef(false);\n\n var onLoad = function onLoad() {\n setStatus('normal');\n };\n\n var onError = function onError(e) {\n if (onImageError) {\n onImageError(e);\n }\n\n setStatus('error');\n };\n\n var onPreview = function onPreview(e) {\n if (!isControlled) {\n var _getOffset = getOffset(e.target),\n left = _getOffset.left,\n top = _getOffset.top;\n\n if (isPreviewGroup) {\n setCurrent(currentId);\n setGroupMousePosition({\n x: left,\n y: top\n });\n } else {\n setMousePosition({\n x: left,\n y: top\n });\n }\n }\n\n if (isPreviewGroup) {\n setGroupShowPreview(true);\n } else {\n setShowPreview(true);\n }\n\n if (onClick) onClick(e);\n };\n\n var onPreviewClose = function onPreviewClose(e) {\n e.stopPropagation();\n setShowPreview(false);\n\n if (!isControlled) {\n setMousePosition(null);\n }\n };\n\n var getImgRef = function getImgRef(img) {\n isLoaded.current = false;\n if (status !== 'loading') return;\n\n if ((img === null || img === void 0 ? void 0 : img.complete) && (img.naturalWidth || img.naturalHeight)) {\n isLoaded.current = true;\n onLoad();\n }\n }; // Keep order start\n // Resolve https://github.com/ant-design/ant-design/issues/28881\n // Only need unRegister when component unMount\n\n\n React.useEffect(function () {\n var unRegister = registerImage(currentId, src);\n return unRegister;\n }, []);\n React.useEffect(function () {\n registerImage(currentId, src, canPreview);\n }, [src, canPreview]); // Keep order end\n\n React.useEffect(function () {\n if (isError) {\n setStatus('normal');\n }\n\n if (isCustomPlaceholder && !isLoaded.current) {\n setStatus('loading');\n }\n }, [imgSrc]);\n var wrapperClass = cn(prefixCls, wrapperClassName, _defineProperty({}, \"\".concat(prefixCls, \"-error\"), isError));\n var mergedSrc = isError && fallback ? fallback : src;\n var imgCommonProps = {\n crossOrigin: crossOrigin,\n decoding: decoding,\n loading: loading,\n referrerPolicy: referrerPolicy,\n sizes: sizes,\n srcSet: srcSet,\n useMap: useMap,\n alt: alt,\n className: cn(\"\".concat(prefixCls, \"-img\"), _defineProperty({}, \"\".concat(prefixCls, \"-img-placeholder\"), placeholder === true), className),\n style: _objectSpread({\n height: height\n }, style)\n };\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", _extends({}, otherProps, {\n className: wrapperClass,\n onClick: preview && !isError ? onPreview : onClick,\n style: _objectSpread({\n width: width,\n height: height\n }, wrapperStyle)\n }), /*#__PURE__*/React.createElement(\"img\", _extends({}, imgCommonProps, {\n ref: getImgRef\n }, isError && fallback ? {\n src: fallback\n } : {\n onLoad: onLoad,\n onError: onError,\n src: imgSrc\n })), status === 'loading' && /*#__PURE__*/React.createElement(\"div\", {\n \"aria-hidden\": \"true\",\n className: \"\".concat(prefixCls, \"-placeholder\")\n }, placeholder), previewMask && canPreview && /*#__PURE__*/React.createElement(\"div\", {\n className: cn(\"\".concat(prefixCls, \"-mask\"), maskClassName)\n }, previewMask)), !isPreviewGroup && canPreview && /*#__PURE__*/React.createElement(Preview, _extends({\n \"aria-hidden\": !isShowPreview,\n visible: isShowPreview,\n prefixCls: previewPrefixCls,\n onClose: onPreviewClose,\n mousePosition: mousePosition,\n src: mergedSrc,\n alt: alt,\n getContainer: getPreviewContainer,\n icons: icons\n }, dialogProps)));\n};\n\nImageInternal.PreviewGroup = PreviewGroup;\nImageInternal.displayName = 'Image';\nexport default ImageInternal;","import Image from './Image';\nexport * from './Image';\nexport default Image;","// This icon file is generated automatically.\nvar RotateLeftOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"defs\", \"attrs\": {}, \"children\": [{ \"tag\": \"style\", \"attrs\": {} }] }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z\" } }] }, \"name\": \"rotate-left\", \"theme\": \"outlined\" };\nexport default RotateLeftOutlined;\n","// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport RotateLeftOutlinedSvg from \"@ant-design/icons-svg/es/asn/RotateLeftOutlined\";\nimport AntdIcon from '../components/AntdIcon';\n\nvar RotateLeftOutlined = function RotateLeftOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, Object.assign({}, props, {\n ref: ref,\n icon: RotateLeftOutlinedSvg\n }));\n};\n\nRotateLeftOutlined.displayName = 'RotateLeftOutlined';\nexport default /*#__PURE__*/React.forwardRef(RotateLeftOutlined);","// This icon file is generated automatically.\nvar RotateRightOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"defs\", \"attrs\": {}, \"children\": [{ \"tag\": \"style\", \"attrs\": {} }] }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z\" } }] }, \"name\": \"rotate-right\", \"theme\": \"outlined\" };\nexport default RotateRightOutlined;\n","// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport RotateRightOutlinedSvg from \"@ant-design/icons-svg/es/asn/RotateRightOutlined\";\nimport AntdIcon from '../components/AntdIcon';\n\nvar RotateRightOutlined = function RotateRightOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, Object.assign({}, props, {\n ref: ref,\n icon: RotateRightOutlinedSvg\n }));\n};\n\nRotateRightOutlined.displayName = 'RotateRightOutlined';\nexport default /*#__PURE__*/React.forwardRef(RotateRightOutlined);","// This icon file is generated automatically.\nvar ZoomInOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z\" } }] }, \"name\": \"zoom-in\", \"theme\": \"outlined\" };\nexport default ZoomInOutlined;\n","// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport ZoomInOutlinedSvg from \"@ant-design/icons-svg/es/asn/ZoomInOutlined\";\nimport AntdIcon from '../components/AntdIcon';\n\nvar ZoomInOutlined = function ZoomInOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, Object.assign({}, props, {\n ref: ref,\n icon: ZoomInOutlinedSvg\n }));\n};\n\nZoomInOutlined.displayName = 'ZoomInOutlined';\nexport default /*#__PURE__*/React.forwardRef(ZoomInOutlined);","// This icon file is generated automatically.\nvar ZoomOutOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z\" } }] }, \"name\": \"zoom-out\", \"theme\": \"outlined\" };\nexport default ZoomOutOutlined;\n","// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport ZoomOutOutlinedSvg from \"@ant-design/icons-svg/es/asn/ZoomOutOutlined\";\nimport AntdIcon from '../components/AntdIcon';\n\nvar ZoomOutOutlined = function ZoomOutOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, Object.assign({}, props, {\n ref: ref,\n icon: ZoomOutOutlinedSvg\n }));\n};\n\nZoomOutOutlined.displayName = 'ZoomOutOutlined';\nexport default /*#__PURE__*/React.forwardRef(ZoomOutOutlined);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n\nimport * as React from 'react';\nimport RcImage from 'rc-image';\nimport RotateLeftOutlined from \"@ant-design/icons/es/icons/RotateLeftOutlined\";\nimport RotateRightOutlined from \"@ant-design/icons/es/icons/RotateRightOutlined\";\nimport ZoomInOutlined from \"@ant-design/icons/es/icons/ZoomInOutlined\";\nimport ZoomOutOutlined from \"@ant-design/icons/es/icons/ZoomOutOutlined\";\nimport CloseOutlined from \"@ant-design/icons/es/icons/CloseOutlined\";\nimport LeftOutlined from \"@ant-design/icons/es/icons/LeftOutlined\";\nimport RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport { ConfigContext } from '../config-provider';\nimport { getTransitionName } from '../_util/motion';\nexport var icons = {\n rotateLeft: /*#__PURE__*/React.createElement(RotateLeftOutlined, null),\n rotateRight: /*#__PURE__*/React.createElement(RotateRightOutlined, null),\n zoomIn: /*#__PURE__*/React.createElement(ZoomInOutlined, null),\n zoomOut: /*#__PURE__*/React.createElement(ZoomOutOutlined, null),\n close: /*#__PURE__*/React.createElement(CloseOutlined, null),\n left: /*#__PURE__*/React.createElement(LeftOutlined, null),\n right: /*#__PURE__*/React.createElement(RightOutlined, null)\n};\n\nvar InternalPreviewGroup = function InternalPreviewGroup(_a) {\n var customizePrefixCls = _a.previewPrefixCls,\n preview = _a.preview,\n props = __rest(_a, [\"previewPrefixCls\", \"preview\"]);\n\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n\n var prefixCls = getPrefixCls('image-preview', customizePrefixCls);\n var rootPrefixCls = getPrefixCls();\n var mergedPreview = React.useMemo(function () {\n if (preview === false) {\n return preview;\n }\n\n var _preview = _typeof(preview) === 'object' ? preview : {};\n\n return _extends(_extends({}, _preview), {\n transitionName: getTransitionName(rootPrefixCls, 'zoom', _preview.transitionName),\n maskTransitionName: getTransitionName(rootPrefixCls, 'fade', _preview.maskTransitionName)\n });\n }, [preview]);\n return /*#__PURE__*/React.createElement(RcImage.PreviewGroup, _extends({\n preview: mergedPreview,\n previewPrefixCls: prefixCls,\n icons: icons\n }, props));\n};\n\nexport default InternalPreviewGroup;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n\nimport * as React from 'react';\nimport { useContext } from 'react';\nimport EyeOutlined from \"@ant-design/icons/es/icons/EyeOutlined\";\nimport RcImage from 'rc-image';\nimport defaultLocale from '../locale/en_US';\nimport PreviewGroup, { icons } from './PreviewGroup';\nimport { ConfigContext } from '../config-provider';\nimport { getTransitionName } from '../_util/motion';\n\nvar Image = function Image(_a) {\n var customizePrefixCls = _a.prefixCls,\n preview = _a.preview,\n otherProps = __rest(_a, [\"prefixCls\", \"preview\"]);\n\n var _useContext = useContext(ConfigContext),\n getPrefixCls = _useContext.getPrefixCls;\n\n var prefixCls = getPrefixCls('image', customizePrefixCls);\n var rootPrefixCls = getPrefixCls();\n\n var _useContext2 = useContext(ConfigContext),\n _useContext2$locale = _useContext2.locale,\n contextLocale = _useContext2$locale === void 0 ? defaultLocale : _useContext2$locale;\n\n var imageLocale = contextLocale.Image || defaultLocale.Image;\n var mergedPreview = React.useMemo(function () {\n if (preview === false) {\n return preview;\n }\n\n var _preview = _typeof(preview) === 'object' ? preview : {};\n\n return _extends(_extends({\n mask: /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-mask-info\")\n }, /*#__PURE__*/React.createElement(EyeOutlined, null), imageLocale === null || imageLocale === void 0 ? void 0 : imageLocale.preview),\n icons: icons\n }, _preview), {\n transitionName: getTransitionName(rootPrefixCls, 'zoom', _preview.transitionName),\n maskTransitionName: getTransitionName(rootPrefixCls, 'fade', _preview.maskTransitionName)\n });\n }, [preview, imageLocale]);\n return /*#__PURE__*/React.createElement(RcImage, _extends({\n prefixCls: prefixCls,\n preview: mergedPreview\n }, otherProps));\n};\n\nImage.PreviewGroup = PreviewGroup;\nexport default Image;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { ListContext } from './index';\nimport { Col } from '../grid';\nimport { ConfigContext } from '../config-provider';\nimport { cloneElement } from '../_util/reactNode';\nexport var Meta = function Meta(_a) {\n var customizePrefixCls = _a.prefixCls,\n className = _a.className,\n avatar = _a.avatar,\n title = _a.title,\n description = _a.description,\n others = __rest(_a, [\"prefixCls\", \"className\", \"avatar\", \"title\", \"description\"]);\n\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n\n var prefixCls = getPrefixCls('list', customizePrefixCls);\n var classString = classNames(\"\".concat(prefixCls, \"-item-meta\"), className);\n var content = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-meta-content\")\n }, title && /*#__PURE__*/React.createElement(\"h4\", {\n className: \"\".concat(prefixCls, \"-item-meta-title\")\n }, title), description && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-meta-description\")\n }, description));\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, others, {\n className: classString\n }), avatar && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-meta-avatar\")\n }, avatar), (title || description) && content);\n};\n\nvar Item = function Item(_a) {\n var customizePrefixCls = _a.prefixCls,\n children = _a.children,\n actions = _a.actions,\n extra = _a.extra,\n className = _a.className,\n colStyle = _a.colStyle,\n others = __rest(_a, [\"prefixCls\", \"children\", \"actions\", \"extra\", \"className\", \"colStyle\"]);\n\n var _React$useContext2 = React.useContext(ListContext),\n grid = _React$useContext2.grid,\n itemLayout = _React$useContext2.itemLayout;\n\n var _React$useContext3 = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext3.getPrefixCls;\n\n var isItemContainsTextNodeAndNotSingular = function isItemContainsTextNodeAndNotSingular() {\n var result;\n React.Children.forEach(children, function (element) {\n if (typeof element === 'string') {\n result = true;\n }\n });\n return result && React.Children.count(children) > 1;\n };\n\n var isFlexMode = function isFlexMode() {\n if (itemLayout === 'vertical') {\n return !!extra;\n }\n\n return !isItemContainsTextNodeAndNotSingular();\n };\n\n var prefixCls = getPrefixCls('list', customizePrefixCls);\n var actionsContent = actions && actions.length > 0 && /*#__PURE__*/React.createElement(\"ul\", {\n className: \"\".concat(prefixCls, \"-item-action\"),\n key: \"actions\"\n }, actions.map(function (action, i) {\n return (\n /*#__PURE__*/\n // eslint-disable-next-line react/no-array-index-key\n React.createElement(\"li\", {\n key: \"\".concat(prefixCls, \"-item-action-\").concat(i)\n }, action, i !== actions.length - 1 && /*#__PURE__*/React.createElement(\"em\", {\n className: \"\".concat(prefixCls, \"-item-action-split\")\n }))\n );\n }));\n var Element = grid ? 'div' : 'li';\n var itemChildren = /*#__PURE__*/React.createElement(Element, _extends({}, others, {\n // `li` element `onCopy` prop args is not same as `div`\n className: classNames(\"\".concat(prefixCls, \"-item\"), _defineProperty({}, \"\".concat(prefixCls, \"-item-no-flex\"), !isFlexMode()), className)\n }), itemLayout === 'vertical' && extra ? [/*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-main\"),\n key: \"content\"\n }, children, actionsContent), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-extra\"),\n key: \"extra\"\n }, extra)] : [children, actionsContent, cloneElement(extra, {\n key: 'extra'\n })]);\n return grid ? /*#__PURE__*/React.createElement(Col, {\n flex: 1,\n style: colStyle\n }, itemChildren) : itemChildren;\n};\n\nItem.Meta = Meta;\nexport default Item;","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport Spin from '../spin';\nimport useBreakpoint from '../grid/hooks/useBreakpoint';\nimport { responsiveArray } from '../_util/responsiveObserve';\nimport { ConfigContext } from '../config-provider';\nimport Pagination from '../pagination';\nimport { Row } from '../grid';\nimport Item from './Item';\nexport var ListContext = /*#__PURE__*/React.createContext({});\nexport var ListConsumer = ListContext.Consumer;\n\nfunction List(_a) {\n var _classNames;\n\n var _a$pagination = _a.pagination,\n pagination = _a$pagination === void 0 ? false : _a$pagination,\n customizePrefixCls = _a.prefixCls,\n _a$bordered = _a.bordered,\n bordered = _a$bordered === void 0 ? false : _a$bordered,\n _a$split = _a.split,\n split = _a$split === void 0 ? true : _a$split,\n className = _a.className,\n children = _a.children,\n itemLayout = _a.itemLayout,\n loadMore = _a.loadMore,\n grid = _a.grid,\n _a$dataSource = _a.dataSource,\n dataSource = _a$dataSource === void 0 ? [] : _a$dataSource,\n size = _a.size,\n header = _a.header,\n footer = _a.footer,\n _a$loading = _a.loading,\n loading = _a$loading === void 0 ? false : _a$loading,\n rowKey = _a.rowKey,\n renderItem = _a.renderItem,\n locale = _a.locale,\n rest = __rest(_a, [\"pagination\", \"prefixCls\", \"bordered\", \"split\", \"className\", \"children\", \"itemLayout\", \"loadMore\", \"grid\", \"dataSource\", \"size\", \"header\", \"footer\", \"loading\", \"rowKey\", \"renderItem\", \"locale\"]);\n\n var paginationObj = pagination && _typeof(pagination) === 'object' ? pagination : {};\n\n var _React$useState = React.useState(paginationObj.defaultCurrent || 1),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n paginationCurrent = _React$useState2[0],\n setPaginationCurrent = _React$useState2[1];\n\n var _React$useState3 = React.useState(paginationObj.defaultPageSize || 10),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n paginationSize = _React$useState4[0],\n setPaginationSize = _React$useState4[1];\n\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n renderEmpty = _React$useContext.renderEmpty,\n direction = _React$useContext.direction;\n\n var defaultPaginationProps = {\n current: 1,\n total: 0\n };\n var keys = {};\n\n var triggerPaginationEvent = function triggerPaginationEvent(eventName) {\n return function (page, pageSize) {\n setPaginationCurrent(page);\n setPaginationSize(pageSize);\n\n if (pagination && pagination[eventName]) {\n pagination[eventName](page, pageSize);\n }\n };\n };\n\n var onPaginationChange = triggerPaginationEvent('onChange');\n var onPaginationShowSizeChange = triggerPaginationEvent('onShowSizeChange');\n\n var renderInnerItem = function renderInnerItem(item, index) {\n if (!renderItem) return null;\n var key;\n\n if (typeof rowKey === 'function') {\n key = rowKey(item);\n } else if (typeof rowKey === 'string') {\n key = item[rowKey];\n } else {\n key = item.key;\n }\n\n if (!key) {\n key = \"list-item-\".concat(index);\n }\n\n keys[index] = key;\n return renderItem(item, index);\n };\n\n var isSomethingAfterLastItem = function isSomethingAfterLastItem() {\n return !!(loadMore || pagination || footer);\n };\n\n var renderEmptyFunc = function renderEmptyFunc(prefixCls, renderEmptyHandler) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-empty-text\")\n }, locale && locale.emptyText || renderEmptyHandler('List'));\n };\n\n var prefixCls = getPrefixCls('list', customizePrefixCls);\n var loadingProp = loading;\n\n if (typeof loadingProp === 'boolean') {\n loadingProp = {\n spinning: loadingProp\n };\n }\n\n var isLoading = loadingProp && loadingProp.spinning; // large => lg\n // small => sm\n\n var sizeCls = '';\n\n switch (size) {\n case 'large':\n sizeCls = 'lg';\n break;\n\n case 'small':\n sizeCls = 'sm';\n break;\n\n default:\n break;\n }\n\n var classString = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-vertical\"), itemLayout === 'vertical'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(sizeCls), sizeCls), _defineProperty(_classNames, \"\".concat(prefixCls, \"-split\"), split), _defineProperty(_classNames, \"\".concat(prefixCls, \"-bordered\"), bordered), _defineProperty(_classNames, \"\".concat(prefixCls, \"-loading\"), isLoading), _defineProperty(_classNames, \"\".concat(prefixCls, \"-grid\"), !!grid), _defineProperty(_classNames, \"\".concat(prefixCls, \"-something-after-last-item\"), isSomethingAfterLastItem()), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n\n var paginationProps = _extends(_extends(_extends({}, defaultPaginationProps), {\n total: dataSource.length,\n current: paginationCurrent,\n pageSize: paginationSize\n }), pagination || {});\n\n var largestPage = Math.ceil(paginationProps.total / paginationProps.pageSize);\n\n if (paginationProps.current > largestPage) {\n paginationProps.current = largestPage;\n }\n\n var paginationContent = pagination ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-pagination\")\n }, /*#__PURE__*/React.createElement(Pagination, _extends({}, paginationProps, {\n onChange: onPaginationChange,\n onShowSizeChange: onPaginationShowSizeChange\n }))) : null;\n\n var splitDataSource = _toConsumableArray(dataSource);\n\n if (pagination) {\n if (dataSource.length > (paginationProps.current - 1) * paginationProps.pageSize) {\n splitDataSource = _toConsumableArray(dataSource).splice((paginationProps.current - 1) * paginationProps.pageSize, paginationProps.pageSize);\n }\n }\n\n var screens = useBreakpoint();\n var currentBreakpoint = React.useMemo(function () {\n for (var i = 0; i < responsiveArray.length; i += 1) {\n var breakpoint = responsiveArray[i];\n\n if (screens[breakpoint]) {\n return breakpoint;\n }\n }\n\n return undefined;\n }, [screens]);\n var colStyle = React.useMemo(function () {\n if (!grid) {\n return undefined;\n }\n\n var columnCount = currentBreakpoint && grid[currentBreakpoint] ? grid[currentBreakpoint] : grid.column;\n\n if (columnCount) {\n return {\n width: \"\".concat(100 / columnCount, \"%\"),\n maxWidth: \"\".concat(100 / columnCount, \"%\")\n };\n }\n }, [grid === null || grid === void 0 ? void 0 : grid.column, currentBreakpoint]);\n var childrenContent = isLoading && /*#__PURE__*/React.createElement(\"div\", {\n style: {\n minHeight: 53\n }\n });\n\n if (splitDataSource.length > 0) {\n var items = splitDataSource.map(function (item, index) {\n return renderInnerItem(item, index);\n });\n var childrenList = React.Children.map(items, function (child, index) {\n return /*#__PURE__*/React.createElement(\"div\", {\n key: keys[index],\n style: colStyle\n }, child);\n });\n childrenContent = grid ? /*#__PURE__*/React.createElement(Row, {\n gutter: grid.gutter\n }, childrenList) : /*#__PURE__*/React.createElement(\"ul\", {\n className: \"\".concat(prefixCls, \"-items\")\n }, items);\n } else if (!children && !isLoading) {\n childrenContent = renderEmptyFunc(prefixCls, renderEmpty);\n }\n\n var paginationPosition = paginationProps.position || 'bottom';\n return /*#__PURE__*/React.createElement(ListContext.Provider, {\n value: {\n grid: grid,\n itemLayout: itemLayout\n }\n }, /*#__PURE__*/React.createElement(\"div\", _extends({\n className: classString\n }, rest), (paginationPosition === 'top' || paginationPosition === 'both') && paginationContent, header && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-header\")\n }, header), /*#__PURE__*/React.createElement(Spin, loadingProp, childrenContent, children), footer && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-footer\")\n }, footer), loadMore || (paginationPosition === 'bottom' || paginationPosition === 'both') && paginationContent));\n}\n\nList.Item = Item;\nexport default List;","import defaultLocale from './default';\nexport default defaultLocale;"],"names":["getClientSize","width","document","documentElement","clientWidth","height","window","innerHeight","clientHeight","getOffset","node","box","getBoundingClientRect","docElem","left","pageXOffset","scrollLeft","clientLeft","body","top","pageYOffset","scrollTop","clientTop","fixPoint","key","start","startAddWidth","offsetStart","context","previewUrls","Map","setPreviewUrls","current","setCurrent","setShowPreview","setMousePosition","registerImage","Provider","useState","useEffect","initialPosition","x","y","props","prefixCls","src","alt","onClose","visible","afterClose","_props$icons","icons","restProps","rotateLeft","rotateRight","zoomIn","zoomOut","close","right","_useState","_useState2","scale","setScale","_useState3","_useState4","rotate","setRotate","_useFrameSetState","initial","frame","_React$useState","_React$useState2","state","setState","queue","raf","newState","preState","memoState","forEach","queueState","push","useFrameSetState","_useFrameSetState2","position","setPosition","imgRef","originPositionRef","originX","originY","deltaX","deltaY","isMoving","setMoving","_React$useContext","isPreviewGroup","previewGroupCount","size","previewUrlsKeys","Array","from","keys","currentPreviewIndex","indexOf","combinationSrc","get","showLeftOrRightSwitches","_React$useState3","wheelDirection","_React$useState4","lastWheelZoomDirection","setLastWheelZoomDirection","onZoomIn","value","onZoomOut","wrapClassName","concat","toolClassName","iconClassName","tools","icon","onClick","type","disabled","onMouseUp","offsetWidth","offsetHeight","_imgRef$current$getBo","_left","isRotate","fixState","_getClientSize","fixPos","getFixScaleEleTransPosition","onMouseMove","event","pageX","pageY","onWheelMove","preventDefault","onTopMouseUpListener","onTopMouseMoveListener","onMouseUpListener","addEventListener","onMouseMoveListener","onScrollWheelListener","passive","self","error","warning","remove","transitionName","maskTransitionName","closable","keyboard","className","map","_ref","style","transform","onMouseDown","button","stopPropagation","ref","uuid","ImageInternal","imgSrc","onInitialPreviewClose","onPreviewClose","_ref$prefixCls","_ref$previewPrefixCls","previewPrefixCls","placeholder","fallback","_ref$preview","preview","onImageError","onError","wrapperClassName","wrapperStyle","crossOrigin","decoding","loading","referrerPolicy","sizes","srcSet","useMap","otherProps","isCustomPlaceholder","_ref2","previewSrc","_ref2$visible","previewVisible","undefined","_ref2$onVisibleChange","onVisibleChange","onPreviewVisibleChange","_ref2$getContainer","getContainer","getPreviewContainer","previewMask","mask","maskClassName","dialogProps","isControlled","_useMergedState","useMergedState","onChange","_useMergedState2","isShowPreview","status","setStatus","mousePosition","isError","setGroupShowPreview","setGroupMousePosition","currentId","canPreview","isLoaded","onLoad","wrapperClass","mergedSrc","imgCommonProps","e","_getOffset","target","img","complete","naturalWidth","naturalHeight","PreviewGroup","children","_ref$icons","_ref2$current","currentIndex","_useState5","_useState6","currentControlledKey","canPreviewUrls","filter","_ref3","_ref5","_ref6","url","id","arguments","length","unRegister","oldPreviewUrls","clonePreviewUrls","delete","set","displayName","AntdIcon","Object","assign","CloseOutlined","LeftOutlined","RightOutlined","_a","customizePrefixCls","s","t","p","prototype","hasOwnProperty","call","getOwnPropertySymbols","i","propertyIsEnumerable","getPrefixCls","useContext","rootPrefixCls","_useContext2$locale","locale","imageLocale","Image","mergedPreview","_preview","EyeOutlined","__rest","Item","result","actions","extra","colStyle","others","_React$useContext2","ListContext","grid","itemLayout","actionsContent","action","Element","itemChildren","element","flex","Meta","avatar","title","description","classString","content","List","_classNames","_a$pagination","pagination","_a$bordered","bordered","_a$split","split","loadMore","_a$dataSource","dataSource","header","footer","_a$loading","rowKey","renderItem","rest","paginationObj","defaultCurrent","paginationCurrent","setPaginationCurrent","defaultPageSize","paginationSize","setPaginationSize","renderEmpty","direction","triggerPaginationEvent","eventName","page","pageSize","onPaginationChange","onPaginationShowSizeChange","loadingProp","spinning","isLoading","sizeCls","paginationProps","total","largestPage","Math","ceil","paginationContent","onShowSizeChange","splitDataSource","splice","screens","useBreakpoint","currentBreakpoint","breakpoint","columnCount","column","maxWidth","childrenContent","minHeight","items","item","index","renderInnerItem","childrenList","child","gutter","renderEmptyHandler","emptyText","renderEmptyFunc","paginationPosition","Consumer"],"sourceRoot":""}
 
public/dist/460.lite.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunkrealCookieBanner_name_=self.webpackChunkrealCookieBanner_name_||[]).push([[460],{9772:function(e,t,a){a.d(t,{ZG:function(){return te},PS:function(){return Q},y$:function(){return ee}});var n=a(9591),o=a(4741),r=a(3828),i=a(3306),c=a(6142),l=a(8782),s=a(2711),u=a(4115),m=a(7938),d=a(6315),p=a(7228),g=a(5450),h=a.n(g),v=a(7363),f=a(3554),y=a(4947);function E(e){return btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))}function R(e){e=(e=e.replace(/^\s+|\s+$/g,"")).toLowerCase();for(var t="àáäâèéëêìíïîòóöôùúüûñç·/_,:;",a=0,n=t.length;a<n;a++)e=e.replace(new RegExp(t.charAt(a),"g"),"aaaaeeeeiiiioooouuuunc------".charAt(a));return e.replace(/[^a-z0-9 -]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-")}var b=a(2200),_=a(5071),k=a(4614),w=a(6711),I=a(238),Z=function(){var e=(0,I.R)(),t=e.group,a=(0,w.useRouteMatch)().params,n=isNaN(+a.cookie)?0:+a.cookie,o=!!a.cookie,r=t.cookies.entries.get(+a.cookie)||new y.U(t.cookies,{id:0});return{routeGroup:e,cookie:r,id:n,queried:o,fetched:0!==r.key}},N=a(6478),O=a(8920),T=a(2519),M=a(5408),P=a(8618),S=a(4342),C=function(e){var t=e.notices;return React.createElement(React.Fragment,null,null==t?void 0:t.map((function(e){var t=e.message,a=e.severity;return t?React.createElement("div",{className:"notice notice-".concat(a," below-h2 notice-alt"),key:t},React.createElement("p",{dangerouslySetInnerHTML:{__html:t}})):null})))},D=a(3839),x=(0,f.Pi)((function(e){var t,a,n=e.showNoticePresetGroupNotFound,o=void 0!==n&&n,i=e.groupNotices,c=e.providerPrivacyPolicyNotices,l=(0,k.m)(),s=l.cookieStore,u=s.groups,p=s.essentialGroup,g=l.optionStore,f=g.ePrivacyUSA,y=g.consentForwarding,E=Z(),b=E.cookie,w=E.fetched,I="real-cookie-banner"===(null===(t=b.presetModel)||void 0===t||null===(a=t.data)||void 0===a?void 0:a.identifier),x=(0,v.useCallback)(function(){var e=(0,m.Z)(h().mark((function e(t){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,M.W)({location:D.V,params:{slug:t}});case 3:return e.abrupt("return",e.sent.filter((function(e){return e.ID!==b.key}))[0]);case 6:return e.prev=6,e.t0=e.catch(0),e.abrupt("return",void 0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t){return e.apply(this,arguments)}}(),[b.key]),F=(0,v.useCallback)(function(){var e=(0,m.Z)(h().mark((function e(t,a){var n,o,r,i;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,x(t);case 2:if(!(n=e.sent)){e.next=19;break}if(a){e.next=8;break}throw(0,_.__)("A service with the same unique name already exists.");case 8:o=n.metas.consentForwardingUniqueName,r=/^(.*)-(\d+)$/,i=n;case 11:if(!i){e.next=18;break}return o=o.match(r)?o.replace(r,(function(e,t,a){return"".concat(t,"-").concat(+a+1)})):"".concat(o,"-1"),e.next=15,x(o);case 15:i=e.sent,e.next=11;break;case 18:a(o);case 19:case"end":return e.stop()}}),e)})));return function(t,a){return e.apply(this,arguments)}}(),[x]);return React.createElement(React.Fragment,null,React.createElement(P.C,{offset:Q.labelCol.span},(0,_.__)("General service configuration")," ",React.createElement(S.r,{url:(0,_.__)("https://devowl.io/knowledge-base/real-cookie-banner-create-individual-cookie/")})),React.createElement(d.Z.Item,{label:(0,_.__)("Name"),required:!0},React.createElement(d.Z.Item,{name:"name",noStyle:!0,rules:[{required:!0,message:(0,_.__)("Please provide a name!")}]},React.createElement(T.Z,null)),React.createElement("p",{className:"description"},(0,_.__)('Each service used should have a descriptive name that is understandable to a non-professional user. Example: "Google Analytics".'))),React.createElement(d.Z.Item,{label:(0,_.__)("Status"),required:!0},React.createElement(d.Z.Item,{name:"status",noStyle:!0,rules:[{required:!0,message:(0,_.__)("Please choose a status!")}]},React.createElement(O.ZP.Group,null,React.createElement(O.ZP.Button,{value:"publish"},(0,_.__)("Enabled")),React.createElement(O.ZP.Button,{value:"private"},(0,_.__)("Disabled")),React.createElement(O.ZP.Button,{value:"draft"},(0,_.__)("Draft")))),React.createElement("p",{className:"description"},(0,_.__)('Services with the status "Draft" or "Disabled" are not visible to the public. In addition, a draft will be highlighted in the service table so that you do not forget to configure it.'))),React.createElement(d.Z.Item,{label:(0,_.__)("Group"),required:!0},React.createElement(d.Z.Item,{name:"group",noStyle:!0,rules:[{required:!0,message:(0,_.__)("Please provide a group!")}]},React.createElement(r.Z,null,u.sortedGroups.map((function(e){var t=e.data,a=t.id,n=t.name;return React.createElement(r.Z.Option,{key:a,value:a},n)})))),React.createElement("p",{className:"description"},(0,_.__)("Each service must be assigned to a group. All services that do not belong to the group of essential services can (but do not have to) be accepted by visitors. According to the ePrivacy Directive, only services without which the website would not work are considered as essential services if the visitor has explicitly requested the service used. A possible economic interest of the website operator in using a tool, e.g. Google Analytics, is irrelevant.")),!1!==o&&React.createElement("div",{className:"notice notice-warning below-h2 notice-alt"},React.createElement("p",null,(0,_.__)("The service group in which this service is normally placed (%s) has been deleted by you. Please group the service yourself.",o))),React.createElement(C,{notices:i})),React.createElement(d.Z.Item,{label:(0,_.__)("Provider"),required:!0},React.createElement(d.Z.Item,{name:"provider",noStyle:!0,rules:[{required:!0,message:(0,_.__)("Please name a provider!")}]},React.createElement(T.Z,null)),React.createElement("p",{className:"description"},(0,_.__)('A service always has an "owner", who processes collected data or information saved in cookies etc. Please specify which provider creates cookies and processes personal data, e.g. "Google Ireland Limited". If you are the provider, please enter your legal name.'))),React.createElement(d.Z.Item,{label:(0,_.__)("Purpose")},React.createElement(d.Z.Item,{name:"purpose",noStyle:!0},React.createElement(T.Z.TextArea,{autoSize:{minRows:3}})),React.createElement("p",{className:"description"},(0,_._i)((0,_.__)("The ePrivacy Directive and the GDPR require that a non-professional user understands the purpose of this service, how {{a}}personal data{{/a}} is collected and how cookies are used for this purpose."),{a:React.createElement("a",{href:(0,_.__)("https://devowl.io/2021/personal-data-gdpr/"),target:"_blank",rel:"noreferrer"})}))),React.createElement(d.Z.Item,{label:(0,_.__)("Privacy policy of the provider")},React.createElement(d.Z.Item,{name:"providerPrivacyPolicy",noStyle:!0,rules:[{type:"url",message:(0,_.__)("Please provide a valid URL!")}]},React.createElement(T.Z,null)),React.createElement("p",{className:"description"},(0,_.__)("Provide a direct link to the privacy policy of the provider that runs this service (in the language of your website).")),React.createElement(C,{notices:c})),React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e.group!==t.group||e.name!==t.name}},(function(e){var t,a=e.getFieldValue,n=e.setFieldsValue,o=a("group")===p.key;return React.createElement(React.Fragment,null,React.createElement(d.Z.Item,{label:(0,_.__)("Consent Forwarding Unique Name"),style:{display:y?void 0:"none"}},React.createElement(d.Z.Item,{name:"consentForwardingUniqueName",noStyle:!0,validateTrigger:"onBlur",rules:[{validator:(t=(0,m.Z)(h().mark((function e(t,o){var r;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=!y||!o,e.abrupt("return",F(o||R(a("name")),r?function(e){return n({consentForwardingUniqueName:e})}:void 0));case 2:case"end":return e.stop()}}),e)}))),function(e,a){return t.apply(this,arguments)})}]},React.createElement(T.Z,{placeholder:w?"":R(a("name"))})),React.createElement("p",{className:"description"},(0,_.__)("Consent Forwarding is active. This means that all services on all available instances must be identified by a unique name in order to correctly set consent for a service.")),o&&React.createElement("div",{className:"notice notice-info below-h2 notice-alt"},React.createElement("p",null,(0,_.__)("You can define a unique name, but essential services are automatically accepted when a consent is forwarded.")))),React.createElement(d.Z.Item,{label:(0,_.__)("Legal basis"),required:!0},React.createElement(d.Z.Item,{name:"legalBasis",noStyle:!0,rules:[{required:!0}]},React.createElement(O.ZP.Group,{disabled:o},React.createElement(O.ZP.Button,{value:"consent"},(0,_.__)("Consent (Opt-in)")),React.createElement(O.ZP.Button,{value:"legitimate-interest"},(0,_.__)("Legitimate interest (Opt-out)")),I&&React.createElement(O.ZP.Button,{value:"legal-requirement"},(0,_.__)("Compliance with a legal obligation")))),React.createElement("div",{style:{margin:"5px 0px 0px"}},React.createElement(S.r,{url:(0,_.__)("https://devowl.io/2021/opt-in-opt-out-double-opt-in-definition/")})),React.createElement("p",{className:"description"},(0,_._i)((0,_.__)('Services can be used on various legal bases according to Art. 6 GDPR. "Consent" means that the user must explicitly agree to the service (opt-in). "Legitimate interest" means that your interest as a website operator prevails to use the service and the user must explicitly disagree (opt-out). Unless it is an essential service. Then an objection is not possible. {{strong}}A legitimate interest exists only in rare cases and only for data processing. If you are not sure, it is better to obtain consent to be on the safe side.{{/strong}}'),{strong:React.createElement("strong",null)})),o&&!I&&React.createElement("div",{className:"notice notice-info below-h2 notice-alt"},React.createElement("p",null,(0,_.__)('Your service is currently grouped as "Essential". This group implies the legitimate interest, with the only difference that this service cannot be opted out.')))))})),React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e.group!==t.group||e.ePrivacyUSA!==t.ePrivacyUSA}},(function(e){var t=e.getFieldValue;return React.createElement(d.Z.Item,{label:(0,_.__)("US data processing"),style:{display:f?void 0:"none"}},React.createElement(d.Z.Item,{name:"ePrivacyUSA",valuePropName:"checked",noStyle:!0},React.createElement(N.Z,null)),React.createElement("span",null,"  ",(0,_.__)("This service processes data in the USA or transfers data to US companies or servers")),t("ePrivacyUSA")&&t("group")===p.key&&React.createElement("div",{className:"notice notice-warning below-h2 notice-alt"},React.createElement("p",null,(0,_.__)("If you use this service declaration only as a notice and the corresponding service is already embedded outside the cookie banner on the first visit to the website, it is possible that the service used in the USA is already processing data before the user has agreed to this. From a data protection perspective, the use of such services should be avoided, or the service should be embedded in the opt-in code (execution after consent). In practice, this will not always be possible."))))})),React.createElement(d.Z.Item,{label:(0,_.__)("No technical definitions")},React.createElement(d.Z.Item,{name:"noTechnicalDefinitions",valuePropName:"checked",noStyle:!0},React.createElement(N.Z,null)),React.createElement("span",null,"  ",(0,_.__)("This service does not set any technical cookies on the client of the visitor, but e.g. integrates a script."))))})),F=a(1857),A=a(3251),U=a(7088),B=a(4290),G=a(9033),q=a(4184),L={labelCol:{span:0},wrapperCol:{span:24},style:{margin:0}},V=(0,f.Pi)((function(){var e=(0,A.w)();return React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e.noTechnicalDefinitions!==t.noTechnicalDefinitions||e.technicalDefinitions.length!==t.technicalDefinitions.length}},(function(t){return(0,t.getFieldValue)("noTechnicalDefinitions")?null:React.createElement(d.Z.List,{name:"technicalDefinitions"},(function(t,a){var n=a.add,c=a.remove;return React.createElement(React.Fragment,null,React.createElement(P.C,{offset:Q.labelCol.span,description:(0,_.__)("For each service you use, you should specify all cookies that are used by it. You can find this out in the developer console of your browser. Please note that there are several types of cookies and that the law requires that you inform your visitors not only about (HTTP) cookies, but also about cookie-like information.")},(0,_.__)("Technical cookie information")),React.createElement("table",{className:"wp-list-table widefat fixed striped table-view-list",style:{marginBottom:25}},React.createElement("thead",null,React.createElement("tr",null,React.createElement("td",{width:150},(0,_.__)("Cookie type")),React.createElement("td",null,React.createElement(F.Z,{title:(0,_._i)((0,_.__)("Every cookie has a technical name, which you must provide. If a cookie name is dynamically composed, please use an asterisk ({{code}}*{{/code}}) as a wildcard (placeholder)."),{code:React.createElement("code",null)})},React.createElement("span",null,(0,_.__)("Technical cookie name")," ",React.createElement(U.Z,null)))),React.createElement("td",null,React.createElement(F.Z,{title:(0,_.__)("Every cookie is associated to a domain or hostname.")},React.createElement("span",null,(0,_.__)("Technical cookie host")," ",React.createElement(U.Z,null)))),React.createElement("td",null,React.createElement(F.Z,{title:(0,_.__)("A HTTP cookie is only valid for a certain time, which is defined when the cookie is set.")},React.createElement("span",null,(0,_.__)("Cookie duration")," ",React.createElement(U.Z,null)))),React.createElement("td",{width:50,align:"right"}," "))),React.createElement("tbody",null,t.map((function(a){return React.createElement("tr",{key:a.key},React.createElement("td",null,React.createElement(d.Z.Item,(0,o.Z)({},a,L,{fieldKey:[a.fieldKey,"type"],name:[a.name,"type"],rules:[{required:!0,message:(0,_.__)("Please provide a cookie type!")}]}),React.createElement(r.Z,null,Object.keys(e).map((function(t){return React.createElement(r.Z.Option,{key:t,value:t},e[t].name)}))))),React.createElement("td",null,React.createElement(d.Z.Item,(0,o.Z)({},a,L,{fieldKey:[a.fieldKey,"name"],name:[a.name,"name"],rules:[{required:!0,message:(0,_.__)("Please provide a technical cookie name!")}]}),React.createElement(T.Z,null)),React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){var n,o;return(null===(n=e.technicalDefinitions[a.name])||void 0===n?void 0:n.name)!==(null===(o=t.technicalDefinitions[a.name])||void 0===o?void 0:o.name)}},(function(e){var t=(0,e.getFieldValue)(["technicalDefinitions",a.name,"name"]);return[/\[/gm,[/([{]+)/gm,function(e){return 1===e.length}],/\(/gm].filter((function(e){return Array.isArray(e)?e[0].test(t)&&t.match(e[0]).filter(e[1]).length>0:e.test(t)})).length>0&&React.createElement("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:"10px 0 0 0"}},React.createElement("p",null,(0,_._i)((0,_.__)("Are you sure this is the name of the cookie? It seems like you are using a placeholder that is not supported. Please use an asterisk ({{code}}*{{/code}}) as a placeholder if the cookie name is dynamically composed."),{code:React.createElement("code",null)})))}))),React.createElement("td",null,React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){var n,o;return(null===(n=e.technicalDefinitions[a.name])||void 0===n?void 0:n.type)!==(null===(o=t.technicalDefinitions[a.name])||void 0===o?void 0:o.type)}},(function(e){var t=(0,e.getFieldValue)(["technicalDefinitions",a.name,"type"]);return React.createElement(React.Fragment,null,React.createElement(d.Z.Item,(0,o.Z)({},a,L,{fieldKey:[a.fieldKey,"host"],name:[a.name,"host"],rules:[{validator:function(e,a){return(["local","session","indexedDb"].indexOf(t)>-1?(0,q.C)(a):/^\.?(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9])$/gm.test(a))||""===a&&"http"!==t?Promise.resolve():Promise.reject((0,_.__)("Please provide a valid hostname!"))}}]}),React.createElement(T.Z,null)),React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){var n,o;return(null===(n=e.technicalDefinitions[a.name])||void 0===n?void 0:n.host)!==(null===(o=t.technicalDefinitions[a.name])||void 0===o?void 0:o.host)}},(function(e){var t=(0,e.getFieldValue)(["technicalDefinitions",a.name,"host"]);return t.startsWith("*.")&&t.length>2&&React.createElement("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:"10px 0 0 0"}},React.createElement("p",null,(0,_._i)((0,_.__)("You are using an invalid wildcard (placeholder) syntax {{code}}*.{{/code}} to match subdomains. Use {{code}}.%s{{/code}} to include subdomains.",t.substr(2)),{code:React.createElement("code",null)})))})))}))),React.createElement("td",null,React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){var n,o;return(null===(n=e.technicalDefinitions[a.name])||void 0===n?void 0:n.type)!==(null===(o=t.technicalDefinitions[a.name])||void 0===o?void 0:o.type)}},(function(e){var t=(0,e.getFieldValue)(["technicalDefinitions",a.name,"type"]);return["local","session","indexedDb","flash"].indexOf(t)>-1?null:React.createElement(React.Fragment,null,React.createElement(d.Z.Item,(0,o.Z)({},a,{fieldKey:[a.fieldKey,"sessionDuration"],name:[a.name,"sessionDuration"],noStyle:!0,valuePropName:"checked"}),React.createElement(i.Z,{style:{float:"left",marginTop:5}},React.createElement(F.Z,{title:(0,_.__)("This cookie is active as long as the session is active")},React.createElement("span",null,(0,_.__)("Session"))))),React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){var n,o;return(null===(n=e.technicalDefinitions[a.name])||void 0===n?void 0:n.sessionDuration)!==(null===(o=t.technicalDefinitions[a.name])||void 0===o?void 0:o.sessionDuration)}},(function(e){var t=(0,e.getFieldValue)(["technicalDefinitions",a.name,"sessionDuration"]);return React.createElement(d.Z.Item,(0,o.Z)({},a,L,{fieldKey:[a.fieldKey,"duration"],name:[a.name,"duration"],rules:[{required:!t,message:(0,_.__)("Please provide a valid duration!")}]}),React.createElement(T.Z,{min:"0",addonAfter:React.createElement(d.Z.Item,{name:[a.name,"durationUnit"],noStyle:!0,rules:[{required:!0,message:(0,_.__)("Please provide an unit!")}]},React.createElement(r.Z,null,React.createElement(r.Z.Option,{value:"s"},(0,_.__)("second(s)")),React.createElement(r.Z.Option,{value:"m"},(0,_.__)("minute(s)")," "),React.createElement(r.Z.Option,{value:"h"},(0,_.__)("hour(s)")," "),React.createElement(r.Z.Option,{value:"d"},(0,_.__)("day(s)")," "),React.createElement(r.Z.Option,{value:"mo"},(0,_.__)("month(s)")," "),React.createElement(r.Z.Option,{value:"y"},(0,_.__)("year(s)")," "))),type:"number",style:{maxWidth:200,display:t?"none":void 0}}))})))}))),React.createElement("td",null,t.length>1?React.createElement("a",{className:"button button-small",onClick:function(){c(a.name)}},React.createElement(B.Z,null)):null))}))),React.createElement("tfoot",null,React.createElement("tr",null,React.createElement("td",{colSpan:5,align:"right"},React.createElement("a",{className:"button button-primary alignright",onClick:function(){n(ee)}},React.createElement(G.Z,null)," ",(0,_.__)("Add another cookie definition")))))))}))}))})),j=a(8950),Y=a(294),H=(0,f.Pi)((function(e){var t=e.manager,a=e.onlyWhenManagerIs,n=e.hasManagerAttributeName,o=e.thisIsManagerAttributeName,r=e.inEventNameAttributeName,i=e.outEventNameAttributeName,c=(0,k.m)(),l=c.cookieStore,s=c.optionStore,u=s.setCookiesViaManager,m=s[n],p=s.others.isPro,g=l.essentialGroup,h=Z().cookie;return u===a&&p&&React.createElement(React.Fragment,null,React.createElement(d.Z.Item,{wrapperCol:{offset:Q.labelCol.span}},React.createElement(F.Z,{title:m&&h.key!==m?(0,_.__)("You have already defined a %s service.",t):""},React.createElement("span",null,React.createElement(d.Z.Item,{name:o,valuePropName:"checked",noStyle:!0},React.createElement(N.Z,{disabled:m&&h.key!==m})),React.createElement("span",null,"  ",(0,_.__)("Opt-in script below loads %s",t))))),React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e[o]!==t[o]||e.group!==t.group}},(function(e){var a=e.getFieldValue,n=a(o),r=a("group");return n&&r!==g.key&&React.createElement(d.Z.Item,{wrapperCol:{offset:Q.labelCol.span}},React.createElement("div",{className:"notice notice-warning below-h2 notice-alt"},React.createElement("p",null,(0,_.__)("You have defined %1$s in a non-essential service group. In our legal opinion, this is the only way to use %1$s legally. However, please note that if a user doesn't consent to load %1$s, opt-in and opt-out events will not be sent to %1$s. Real Cookie Banner offers you the possibility to specify a fallback HTML/JavaScript for this case.",t))))})),React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e[o]!==t[o]||e[r]!==t[r]||e[i]!==t[i]}},(function(e){var a=e.getFieldValue,n=a(o),c=a(r),l=a(i);return!n&&React.createElement(d.Z.Item,{label:(0,_.__)("Event names for %s",t)},React.createElement(d.Z.Item,{name:r,noStyle:!0},React.createElement(T.Z,{addonBefore:(0,_.__)("Opt-in"),style:{maxWidth:400,marginRight:10,marginBottom:5}})),React.createElement(d.Z.Item,{name:i,noStyle:!0},React.createElement(T.Z,{addonBefore:(0,_.__)("Opt-out"),style:{maxWidth:400,marginRight:10,marginBottom:5}})),React.createElement("div",null,React.createElement(S.r,{url:(0,_.__)("https://devowl.io/knowledge-base/real-cookie-banner-with-google-tag-manager-or-matomo-tag-manager/")})),(c.length>0||l.length>0)&&!m&&React.createElement("div",{className:"notice notice-warning below-h2 notice-alt"},React.createElement("p",null,(0,_.__)("You have not yet defined a %s service. To use event names, you must create a %s service.",t,t))))})))})),$=/{{([A-Za-z0-9_]+)}}/gm,K=["codeOptIn","codeOptOut","codeOnPageLoad"],J=(0,f.Pi)((function(e){var t=e.dynamicFields;return React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return K.map((function(a){return e[a]!==t[a]})).filter(Boolean).length>0}},(function(e){var a=e.getFieldValue,n=K.map((function(e){return a(e)})).join(""),o=Array.from(n.matchAll($)).map((function(e){return(0,p.Z)(e,2)[1]})),r=[];return o?o.map((function(e){var a=["codeDynamics",e],n=(null==t?void 0:t[e])||{},o=n.label,i=n.invalidMessage,c=void 0===i?(0,_.__)("Please fill in a value!"):i,l=n.example,s=n.expression,u=n.hint;return r.indexOf(e)>-1?null:(r.push(e),React.createElement(d.Z.Item,{key:e,label:o||React.createElement("code",null,e),required:!0},React.createElement(d.Z.Item,{noStyle:!0,name:a,rules:[{required:!0,pattern:s?new RegExp(s):void 0,message:c}]},React.createElement(T.Z,{placeholder:l?"".concat((0,_.__)("e. g.")," ").concat(l):void 0})),!!u&&React.createElement("div",{className:"notice notice-info below-h2 notice-alt",style:{margin:"10px 0 5px"}},React.createElement("p",{dangerouslySetInnerHTML:{__html:u}}))))})):null}))})),z=a(7870),W=(0,f.Pi)((function(e){var t=e.name,a=(0,k.m)().optionStore.others.activePlugins,n=(0,v.useMemo)((function(){return Object.keys(a)}),[a]);return React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,a){return e[t]!==a[t]}},(function(e){var o=(0,e.getFieldValue)(t),r=(0,z.Z)(o.matchAll(/\s+(skip-if-active=")([^"]+)(")/gm)).map((function(e){return(0,p.Z)(e,3)[2].split(",").filter((function(e){return n.indexOf(e)>-1}))})).flat(),i=r.filter((function(e,t){return r.indexOf(e)===t}));return 0===i.length?null:React.createElement("div",{className:"notice notice-info below-h2 notice-alt"},React.createElement("p",null,(0,_._i)((0,_.__)("The code above contains HTML tags that are skipped when one of the following plugins is active: {{strong/}}. {{i}}What does this mean for me?{{/i}} In most cases, another plugin will take over the execution of the technical code, and you have to create a corresponding content blocker."),{strong:React.createElement("strong",null,i.map((function(e){return a[e]})).join(", ")),i:React.createElement("i",null)})))}))})),X=(0,f.Pi)((function(e){var t=e.notices,a=e.dynamicFields,n=(0,k.m)(),o=n.cookieStore,r=n.optionStore,i=r.setCookiesViaManager,c=r.others.isPro,l=o.essentialGroup,s=(0,v.useCallback)((function(e){return{opacity:e?void 0:0,height:e?void 0:0,margin:e?void 0:0}}),[]);return React.createElement(React.Fragment,null,React.createElement(P.C,{offset:Q.labelCol.span,description:"none"===i?(0,_.__)("Define HTML and JavaScript code that is executed when a visitor decides to accept or reject this service or when a page is loaded. It is important to define the executed code correctly, as this ensures that scripts are executed and cookies are set only after the user's consent."):(0,_.__)("Define the %1$s event that should be thrown in the data layer when a visitor decides to accept or reject this service. The event can be used as a trigger in %1$s. For users who do not allow to use %1$s a fallback can be defined. You can define HTML and JavaScript code that is executed when a visitor decides to accept or reject this service, or when a page is loaded. It is important to define the event names and executed code correctly, as this will ensure that scripts are executed and cookies are only set with the user's consent.","googleTagManager"===i?Y.Gh:Y.Ki)},(0,_.__)("Technical handling")),React.createElement(H,{manager:Y.Gh,onlyWhenManagerIs:"googleTagManager",hasManagerAttributeName:"hasGTM",thisIsManagerAttributeName:"thisIsGoogleTagManager",inEventNameAttributeName:"googleTagManagerInEventName",outEventNameAttributeName:"googleTagManagerOutEventName"}),React.createElement(H,{manager:Y.Ki,onlyWhenManagerIs:"matomoTagManager",hasManagerAttributeName:"hasMTM",thisIsManagerAttributeName:"thisIsMatomoTagManager",inEventNameAttributeName:"matomoTagManagerInEventName",outEventNameAttributeName:"matomoTagManagerOutEventName"}),React.createElement(J,{dynamicFields:a}),(null==t?void 0:t.length)>0&&React.createElement(d.Z.Item,{wrapperCol:{offset:Q.labelCol.span,span:Q.wrapperCol.span}},React.createElement(C,{notices:t})),React.createElement(d.Z.Item,{label:(0,_.__)("Code executed on opt-in")},"googleTagManager"===i&&c&&React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e.thisIsGoogleTagManager!==t.thisIsGoogleTagManager}},(function(e){return!(0,e.getFieldValue)("thisIsGoogleTagManager")&&React.createElement("div",{style:{margin:"4px 0"}},React.createElement(d.Z.Item,{name:"codeOptInNoGoogleTagManager",valuePropName:"checked",noStyle:!0},React.createElement(N.Z,null)),React.createElement("span",null,"  ",(0,_._i)((0,_.__)("Only run this script if the user has {{u}}not{{/u}} allowed to use %s",Y.Gh),{u:React.createElement("u",null)})))})),"matomoTagManager"===i&&c&&React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e.thisIsMatomoTagManager!==t.thisIsMatomoTagManager}},(function(e){return!(0,e.getFieldValue)("thisIsMatomoTagManager")&&React.createElement("div",{style:{margin:"4px 0"}},React.createElement(d.Z.Item,{name:"codeOptInNoMatomoTagManager",valuePropName:"checked",noStyle:!0},React.createElement(N.Z,null)),React.createElement("span",null,"  ",(0,_._i)((0,_.__)("Only run this script if the user has {{u}}not{{/u}} allowed to use %s",Y.Ki),{u:React.createElement("u",null)})))})),React.createElement(d.Z.Item,{name:"codeOptIn",noStyle:!0},React.createElement(j.Y,{settings:window.cm_settings})),React.createElement(W,{name:"codeOptIn"})),React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e.group!==t.group}},(function(e){var t=e.getFieldValue;return React.createElement(React.Fragment,null,React.createElement(d.Z.Item,{label:(0,_.__)("Code executed on opt-out"),style:s(t("group")!==l.key)},React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e.noTechnicalDefinitions!==t.noTechnicalDefinitions}},(function(e){return(0,e.getFieldValue)("noTechnicalDefinitions")?null:React.createElement("div",{style:{margin:"4px 0"}},React.createElement(d.Z.Item,{name:"codeOptOutDelete",valuePropName:"checked",noStyle:!0},React.createElement(N.Z,null)),React.createElement("span",null,"  ",(0,_.__)("Delete all first-party cookies after opt-out. First-party cookies are only cookies that are set by or for this domain.")))})),"googleTagManager"===i&&c&&React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e.thisIsGoogleTagManager!==t.thisIsGoogleTagManager}},(function(e){return!(0,e.getFieldValue)("thisIsGoogleTagManager")&&React.createElement("div",{style:{margin:"4px 0"}},React.createElement(d.Z.Item,{name:"codeOptOutNoGoogleTagManager",valuePropName:"checked",noStyle:!0},React.createElement(N.Z,null)),React.createElement("span",null,"  ",(0,_._i)((0,_.__)("Only run this script if the user has {{u}}not{{/u}} allowed to use %s",Y.Gh),{u:React.createElement("u",null)})))})),"matomoTagManager"===i&&c&&React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e.thisIsMatomoTagManager!==t.thisIsMatomoTagManager}},(function(e){return!(0,e.getFieldValue)("thisIsMatomoTagManager")&&React.createElement("div",{style:{margin:"4px 0"}},React.createElement(d.Z.Item,{name:"codeOptOutNoMatomoTagManager",valuePropName:"checked",noStyle:!0},React.createElement(N.Z,null)),React.createElement("span",null,"  ",(0,_._i)((0,_.__)("Only run this script if the user has {{u}}not{{/u}} allowed to use %s",Y.Ki),{u:React.createElement("u",null)})))})),React.createElement(d.Z.Item,{name:"codeOptOut",noStyle:!0},React.createElement(j.Y,{settings:window.cm_settings})),React.createElement(W,{name:"codeOptOut"})))})),React.createElement(d.Z.Item,{label:(0,_.__)("Code executed on page load")},React.createElement(d.Z.Item,{name:"codeOnPageLoad",noStyle:!0},React.createElement(j.Y,{settings:window.cm_settings})),React.createElement(W,{name:"codeOnPageLoad"})))})),Q={labelCol:{span:6},wrapperCol:{span:16}},ee={type:"http",name:"",host:"",duration:void 0,durationUnit:"y",sessionDuration:!1},te=(0,f.Pi)((function(e){var t,a,g,f,I,N,O=e.preset,T=e.attributes,M=e.navigateAfterCreation,P=void 0===M||M,C=e.scrollToTop,D=void 0===C||C,F=e.onCreated,A=Z(),U=A.routeGroup,B=U.group,G=U.link,q=A.cookie,L=A.id,j=A.queried,Y=A.fetched,H=d.Z.useForm(),$=(0,p.Z)(H,1)[0],K=(0,v.useState)(!1),J=(0,p.Z)(K,2),z=J[0],W=J[1],te=(0,v.useState)(!1),ae=(0,p.Z)(te,2),ne=ae[0],oe=ae[1],re=(0,w.useHistory)(),ie=(0,k.m)(),ce=ie.cookieStore,le=ie.optionStore.others.useEncodedStringForScriptInputs,se=ce.essentialGroup,ue=(null==q?void 0:q.presetModel)||ce.presetsCookie.get(null==O?void 0:O.identifier),me=T?T.group?(null===(t=ce.groups.sortedGroups.filter((function(e){return e.data.name===T.group})))||void 0===t||null===(a=t[0])||void 0===a?void 0:a.key)||"preset-group-not-found":void 0:B.key,de=Object.keys((null==O?void 0:O.contentBlockerPresets)||[]).length>0,pe=(null==T?void 0:T.createContentBlockerNotice)||(null==ue||null===(g=ue.attributes)||void 0===g?void 0:g.createContentBlockerNotice),ge=!(null==ue||!ue.data.scanned||null===(f=ue.attributes)||void 0===f||!f.codeOptIn||-1!==["wordpress-comments"].indexOf(ue.data.identifier)),he=Y?{name:q.data.title.raw,status:q.data.status,group:B.key||void 0,purpose:q.data.content.raw,provider:q.data.meta.provider,providerPrivacyPolicy:q.data.meta.providerPrivacyPolicy,consentForwardingUniqueName:q.data.meta.consentForwardingUniqueName||q.data.slug,noTechnicalDefinitions:q.data.meta.noTechnicalDefinitions,legalBasis:q.data.meta.legalBasis,ePrivacyUSA:q.data.meta.ePrivacyUSA,technicalDefinitions:JSON.parse(JSON.stringify(q.technicalDefinitions||"[]")),codeDynamics:JSON.parse(JSON.stringify(q.codeDynamics||"{}")),thisIsGoogleTagManager:q.data.meta.thisIsGoogleTagManager,googleTagManagerInEventName:q.data.meta.googleTagManagerInEventName,googleTagManagerOutEventName:q.data.meta.googleTagManagerOutEventName,thisIsMatomoTagManager:q.data.meta.thisIsMatomoTagManager,matomoTagManagerInEventName:q.data.meta.matomoTagManagerInEventName,matomoTagManagerOutEventName:q.data.meta.matomoTagManagerOutEventName,codeOptIn:q.data.meta.codeOptIn,codeOptInNoGoogleTagManager:q.data.meta.codeOptInNoGoogleTagManager,codeOptInNoMatomoTagManager:q.data.meta.codeOptInNoMatomoTagManager,codeOptOut:q.data.meta.codeOptOut,codeOptOutNoGoogleTagManager:q.data.meta.codeOptOutNoGoogleTagManager,codeOptOutNoMatomoTagManager:q.data.meta.codeOptOutNoMatomoTagManager,codeOnPageLoad:q.data.meta.codeOnPageLoad,codeOptOutDelete:q.data.meta.codeOptOutDelete}:{name:(null==T?void 0:T.name)||"",status:"publish",group:"number"==typeof me&&me||void 0,purpose:(null==T?void 0:T.purpose)||"",provider:(null==T?void 0:T.provider)||"",providerPrivacyPolicy:(null==T?void 0:T.providerPrivacyPolicy)||"",consentForwardingUniqueName:(null==T?void 0:T.consentForwardingUniqueName)||(null==O?void 0:O.identifier)||"",noTechnicalDefinitions:(null==T?void 0:T.noTechnicalDefinitions)||!1,legalBasis:(null==T?void 0:T.legalBasis)||"consent",ePrivacyUSA:(null==T?void 0:T.ePrivacyUSA)||!1,technicalDefinitions:null!=T&&T.technicalDefinitions?JSON.parse(JSON.stringify(T.technicalDefinitions)):[ee],codeDynamics:(null==T?void 0:T.codeDynamics)||{},thisIsGoogleTagManager:(null==T?void 0:T.thisIsGoogleTagManager)||!1,googleTagManagerInEventName:(null==T?void 0:T.googleTagManagerInEventName)||"",googleTagManagerOutEventName:(null==T?void 0:T.googleTagManagerOutEventName)||"",thisIsMatomoTagManager:(null==T?void 0:T.thisIsMatomoTagManager)||!1,matomoTagManagerInEventName:(null==T?void 0:T.matomoTagManagerInEventName)||"",matomoTagManagerOutEventName:(null==T?void 0:T.matomoTagManagerOutEventName)||"",codeOptIn:(null==T?void 0:T.codeOptIn)||"",codeOptInNoGoogleTagManager:(null==T?void 0:T.codeOptInNoGoogleTagManager)||!1,codeOptInNoMatomoTagManager:(null==T?void 0:T.codeOptInNoMatomoTagManager)||!1,codeOptOut:(null==T?void 0:T.codeOptOut)||"",codeOnPageLoad:(null==T?void 0:T.codeOnPageLoad)||"",codeOptOutNoGoogleTagManager:(null==T?void 0:T.codeOptOutNoGoogleTagManager)||!1,codeOptOutNoMatomoTagManager:(null==T?void 0:T.codeOptOutNoMatomoTagManager)||!1,codeOptOutDelete:(null==T?void 0:T.codeOptOutDelete)||!1,createContentBlocker:"boolean"==typeof(null==T?void 0:T.createContentBlocker)?T.createContentBlocker:de&&!(null!=T&&T.deactivateAutomaticContentBlockerCreation),createContentBlockerId:null==T?void 0:T.createContentBlockerId,presetCheck:!O};(0,v.useEffect)((function(){j&&!Y&&B.cookies.getSingle({params:{id:L,context:"edit"}})}),[j,Y]),(0,v.useEffect)((function(){ue&&!ue.attributes&&ue.fetchAttributes()}),[ue]),(0,v.useEffect)((function(){D&&(0,b.X)(0)}),[]);var ve=(0,v.useCallback)(function(){var e=(0,m.Z)(h().mark((function e(t){var a,n,o,r,i,c,m,d,p,g,v,f,b,k,w,I,Z,N;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,a=function(e){return le?"encodedScript:".concat(E(e)):e},n=t.name,o=t.status,r=t.purpose,i=t.noTechnicalDefinitions,c=t.technicalDefinitions,m=t.group,d=t.codeDynamics,p=t.createContentBlocker,g=t.createContentBlockerId,v=t.consentForwardingUniqueName,f=t.codeOptIn,b=t.codeOptOut,k=t.codeOnPageLoad,w=(0,u.Z)(t,["name","status","purpose","noTechnicalDefinitions","technicalDefinitions","group","codeDynamics","createContentBlocker","createContentBlockerId","consentForwardingUniqueName","codeOptIn","codeOptOut","codeOnPageLoad"]),delete(I=(0,s.Z)((0,s.Z)({},w),{},{codeOptIn:a(f),codeOptOut:a(b),codeOnPageLoad:a(k),noTechnicalDefinitions:i,codeDynamics:JSON.stringify(d),technicalDefinitions:JSON.stringify(i?he.technicalDefinitions:c),consentForwardingUniqueName:v||R(n)})).presetCheck,!j){e.next=15;break}return q.setName(n),q.setStatus(o),q.setPurpose(r),q.setMeta(I),q.setGroup(m),e.next=13,q.patch();case 13:e.next=20;break;case 15:return Z=ce.groups.entries.get(m),N=new y.U(Z.cookies,{title:{rendered:n},content:{rendered:r,protected:!1},status:o,meta:(0,s.Z)((0,s.Z)({},I),{},{presetId:null==O?void 0:O.identifier,presetVersion:null==O?void 0:O.version})}),e.next=19,N.persist();case 19:null==F||F(N);case 20:oe(!1),l.ZP.success((0,_.__)("You have successfully saved the service.")+(p?" ".concat((0,_.__)("Continue with the corresponding Content Blocker!")):"")),P&&setTimeout((function(){return p?re.push("/blocker/new?force=".concat(g||O.identifier,"&cookieCreationPrompt=1").concat("string"==typeof P?"&navigateAfterCreation=".concat(encodeURIComponent(P)):"")):"string"==typeof P?window.location.href=P:re.push("".concat(G.slice(1),"/").concat(m))}),0),e.next=29;break;case 25:throw e.prev=25,e.t0=e.catch(0),l.ZP.error(e.t0.responseJSON.message),e.t0;case 29:case"end":return e.stop()}}),e,null,[[0,25]])})));return function(t){return e.apply(this,arguments)}}(),[j,q,ce,le]),fe=(0,v.useCallback)(function(){var e=(0,m.Z)(h().mark((function e(t){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return W(!0),e.prev=1,e.next=4,ve(t);case 4:e.next=8;break;case 6:e.prev=6,e.t0=e.catch(1);case 8:return e.prev=8,W(!1),e.finish(8);case 11:case"end":return e.stop()}}),e,null,[[1,6,8,11]])})));return function(t){return e.apply(this,arguments)}}(),[$,ve]),ye=(0,v.useCallback)((function(e){l.ZP.error((0,_.__)("The service could not be saved due to missing/invalid form values.")),e.errorFields.length&&$.scrollToField(e.errorFields[0].name,{behavior:"smooth",block:"center"})}),[]),Ee=(0,v.useCallback)((function(){return!ne||(0,_.__)('You have unsaved changes. If you click on "confirm", your changes will be discarded.')}),[$,he]);return j&&!Y?React.createElement(c.Z,{active:!0,paragraph:{rows:8}}):React.createElement(n.Z,{spinning:z||(null==ue?void 0:ue.busy)||!1},React.createElement(w.Prompt,{message:Ee}),React.createElement(d.Z,(0,o.Z)({name:"cookie-".concat(B.key,"-").concat(L),form:$},Q,{initialValues:he,onFinish:fe,onFinishFailed:ye,onValuesChange:function(e){var t=e.technicalDefinitions;oe(!0);var a=(t||[]).filter(Boolean);if(1===a.length){var n=Object.keys(a[0]);1===n.length&&["sessionDuration","type"].indexOf(n[0])>-1&&setTimeout((function(){return $.validateFields()}),100)}}}),React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e.group!==t.group}},(function(e){var t,a=e.getFieldValue;return React.createElement(x,{groupNotices:[{message:ue&&"number"==typeof me&&a("group")!==me?(0,_.__)("The groups specified in service templates were chosen wisely. Are you sure that this service should be assigned to another group for your case?"):void 0,severity:"warning"},{message:(null==T?void 0:T.groupNotice)||(null==ue||null===(t=ue.attributes)||void 0===t?void 0:t.groupNotice),severity:"info"}],providerPrivacyPolicyNotices:[{message:Y||null==ue||!ue.attributes||he.providerPrivacyPolicy?void 0:(0,_.__)('You have not yet set a privacy policy in the settings, so this field could not be filled in automatically. Please enter the URL of your privacy policy here and <a href="%s" target="_blank">set the corresponding page in your settings.</a>',"#/settings"),severity:"warning"}],showNoticePresetGroupNotFound:"preset-group-not-found"===me&&T.group})})),React.createElement(V,null),React.createElement(X,{dynamicFields:(null==T?void 0:T.dynamicFields)||(null==ue||null===(I=ue.attributes)||void 0===I?void 0:I.dynamicFields),notices:[{message:(null==T?void 0:T.technicalHandlingNotice)||(null==ue||null===(N=ue.attributes)||void 0===N?void 0:N.technicalHandlingNotice),severity:"info"},{message:ge&&!de&&(0,_.__)("If you have already used %s before creating this service, please deactivate the script/plugin with which the service was loaded so far. The opt-in script will now take care of the correct integration.",ue.data.attributes_name),severity:"warning"},{message:ge&&de&&(0,_.__)('You are currently embedding "%1$s" outside of Real Cookie Banner. You can have it blocked via a content blocker before consenting. Alternatively, you can use the following opt-in script to load %1$s directly into Real Cookie Banner.<br /><br />If you want to embed "%1$s" via Real Cookie Banner, you have to deactivate the content blocker at the end of the form and remove "%1$s" outside Real Cookie Banner.<br /><br />If you prefer to keep the current integration, you only have to delete the opt-in script in this form.',ue.data.attributes_name),severity:"warning"}].filter((function(e){return e.message}))}),!!O&&React.createElement(React.Fragment,null,de&&P&&React.createElement(d.Z.Item,{wrapperCol:{offset:Q.labelCol.span}},React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e.group!==t.group}},(function(e){var t=e.getFieldValue;return React.createElement(d.Z.Item,{noStyle:!0,name:"createContentBlocker",valuePropName:"checked",dependencies:["group"],rules:[{validator:function(e,a){return t("group")===se.key&&a?Promise.reject((0,_.__)('Services that should be associated with a content blocker cannot be in the "Essential" group, because it cannot be rejected.')):Promise.resolve()}}]},React.createElement(i.Z,null,(0,_.__)("Create content blocker for this service.")))})),React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e.createContentBlocker!==t.createContentBlocker}},(function(e){var t=e.getFieldValue;return React.createElement(React.Fragment,null,t("createContentBlocker")&&React.createElement(React.Fragment,null,Object.keys(O.contentBlockerPresets).length>1&&React.createElement(d.Z.Item,{noStyle:!0,name:"createContentBlockerId",rules:[{required:!0,message:(0,_.__)("Please select a template for the Content Blocker!")}]},React.createElement(r.Z,{style:{maxWidth:500,marginTop:10,display:"block"},placeholder:(0,_.__)("Select Content Blocker template...")},Object.keys(O.contentBlockerPresets).map((function(e){return React.createElement(r.Z.Option,{key:e,value:e},O.contentBlockerPresets[e])})))),React.createElement("div",{className:"notice notice-info below-h2 notice-alt",style:{marginTop:10}},React.createElement("p",null,(0,_.__)("Immediately after submitting this form you will be forwarded to another form that allows you to create the Content Blocker.")))),!!pe&&React.createElement("div",{className:"notice notice-info below-h2 notice-alt"},React.createElement("p",{dangerouslySetInnerHTML:{__html:pe}})))}))),React.createElement(d.Z.Item,{name:"presetCheck",valuePropName:"checked",required:!0,rules:[{type:"boolean",required:!0,transform:function(e){return e||void 0},message:(0,_.__)("Please confirm that you have checked the contents of the service.")}],wrapperCol:{offset:Q.labelCol.span}},React.createElement(i.Z,null,(0,_.__)("I have checked the information in the service template myself and added any missing information or corrected any information that does not fit to my use case.")," ",React.createElement(S.r,{url:(0,_.__)("https://devowl.io/knowledge-base/is-real-cookie-banner-legally-compliant/")})))),React.createElement(d.Z.Item,{className:"rcb-form-sticky-submit"},React.createElement("span",null,React.createElement("input",{type:"submit",className:"button button-primary right",value:(0,_.__)("Save")})))))}))},8618:function(e,t,a){a.d(t,{C:function(){return o}});var n=a(6315),o=function(e){var t=e.children,a=e.description,o=e.offset;return React.createElement(n.Z.Item,{wrapperCol:{offset:o},style:{borderBottom:"1px solid #e7e7e7"}},React.createElement("h3",{style:{margin:"0 0 ".concat(a?3:15,"px 0")}},t),!!a&&React.createElement("p",{className:"description",style:{marginBottom:15}},a))}},7802:function(e,t,a){a.d(t,{y:function(){return r}});var n=a(6711),o=a(8700);function r(){return new o.Url("/".concat((0,n.useLocation)().search),!0).query}},238:function(e,t,a){a.d(t,{R:function(){return c}});var n=a(6711),o=a(4614),r=a(7363),i=a(9323),c=function(){var e=(0,n.useRouteMatch)().params.cookieGroup,t=(0,o.m)().cookieStore,a=isNaN(+e)?0:+e,c=!!e,l=t.groups.entries.get(a)||new i.O(t.groups,{id:0}),s=(0,r.useCallback)((function(e){var t=e.key;return"#/cookies/".concat(l.key,"/edit/").concat(t)}),[l]),u="#/cookies/".concat(l.key,"/new");return{group:l,id:a,queried:c,fetched:0!==l.key,link:"#/cookies",editLink:s,addCookieLink:u}}},3251:function(e,t,a){function n(){return{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"}}}a.d(t,{w:function(){return n}})}}]);
2
- //# sourceMappingURL=460.lite.js.map?ver=c4846d91f29eeb55705a
 
 
public/dist/460.lite.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"460.lite.js?ver=c4846d91f29eeb55705a","mappings":"2XAKA,SAASA,EAAwBC,GAC/B,OAAOC,KAAKC,mBAAmBF,GAAKG,QAAQ,mBAAmB,SAAUC,EAAOC,GAC9E,OAAOC,OAAOC,aAAaC,SAASH,EAAI,SCF5C,SAASI,EAAQT,GAGfA,GAFAA,EAAMA,EAAIG,QAAQ,aAAc,KAEtBO,cAKV,IAHA,IAAIC,EAAO,+BAGFC,EAAI,EAAGC,EAAIF,EAAKG,OAAQF,EAAIC,EAAGD,IACtCZ,EAAMA,EAAIG,QAAQ,IAAIY,OAAOJ,EAAKK,OAAOJ,GAAI,KAHtC,+BAG+CI,OAAOJ,IAO/D,OAJMZ,EAAIG,QAAQ,eAAgB,IACjCA,QAAQ,OAAQ,KAChBA,QAAQ,MAAO,K,qDCfdc,EAAiB,WACnB,IAAIC,GAAa,EAAAC,EAAA,KACbC,EAAQF,EAAWE,MAGnBC,GADiB,IAAAC,iBACOD,OAGxBE,EAAKC,OAAOH,EAAOI,QAAU,GAAKJ,EAAOI,OACzCC,IAAYL,EAAOI,OACnBA,EAASL,EAAMO,QAAQC,QAAQC,KAAKR,EAAOI,SAAW,IAAI,IAAYL,EAAMO,QAAS,CACvFJ,GAAI,IAEN,MAAO,CACLL,WAAYA,EACZO,OAAQA,EACRF,GAAIA,EACJG,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TI,QAAuB,IAAdV,EAAMW,IACfsP,KAXS,YAYTkH,SAAUA,EACVC,cAAeA,K,qBC/BnB,SAASC,IACP,MAAO,CACLC,KAAM,CACJ1R,KAAM,cACN2R,KAAM,OACNC,gBAAiB,SAEnBC,MAAO,CACL7R,KAAM,gBACN2R,KAAM,QACNC,gBAAiB,WAEnBE,QAAS,CACP9R,KAAM,kBACN2R,KAAM,UACNC,gBAAiB,WAEnBG,MAAO,CACL/R,KAAM,4BACN2R,KAAM,QACNC,gBAAiB,WAEnBI,UAAW,CACThS,KAAM,YACN2R,KAAM,OACNC,gBAAiB,Y","sources":["webpack:///./src/public/ts/utils/base64EncodeUnicodeSafe.tsx","webpack:///./src/public/ts/utils/slugify.tsx","webpack:///./src/public/ts/hooks/useRouteCookie.tsx","webpack:///./src/public/ts/components/notices.tsx","webpack:///./src/public/ts/components/config/cookies/formFields/general.tsx","webpack:///./src/public/ts/components/config/cookies/formFields/technical.tsx","webpack:///./src/public/ts/utils/isHost.tsx","webpack:///./src/public/ts/components/config/cookies/formFields/manager.tsx","webpack:///../../common-packages/headless-content-unblocker/src/dom/applyDynamicsToHtml.tsx","webpack:///./src/public/ts/components/config/cookies/formFields/codeDynamics.tsx","webpack:///./src/public/ts/components/config/cookies/formFields/noticeFormItemContainsSkipIfActiveAttribute.tsx","webpack:///./src/public/ts/components/config/cookies/formFields/handling.tsx","webpack:///./src/public/ts/components/config/cookies/form.tsx","webpack:///./src/public/ts/components/formHeadline.tsx","webpack:///./src/public/ts/hooks/useLocationQuery.tsx","webpack:///./src/public/ts/hooks/useRouteCookieGroup.tsx","webpack:///./src/public/ts/others/cookieTypeLocalized.tsx"],"sourcesContent":["/**\n * Unicode-safe base64 encoding.\n *\n * @see https://stackoverflow.com/a/30106551/5506547\n */\nfunction base64EncodeUnicodeSafe(str) {\n return btoa(encodeURIComponent(str).replace(/%([0-9A-F]{2})/g, function (match, p1) {\n return String.fromCharCode(parseInt(p1, 16));\n }));\n}\n\nexport { base64EncodeUnicodeSafe };","/**\n * Slugify a given text.\n *\n * @see https://gist.github.com/codeguy/6684588\n */\nfunction slugify(str) {\n str = str.replace(/^\\s+|\\s+$/g, \"\"); // trim\n\n str = str.toLowerCase(); // remove accents, swap ñ for n, etc\n\n var from = \"àáäâèéëêìíïîòóöôùúüûñç·/_,:;\";\n var to = \"aaaaeeeeiiiioooouuuunc------\";\n\n for (var i = 0, l = from.length; i < l; i++) {\n str = str.replace(new RegExp(from.charAt(i), \"g\"), to.charAt(i));\n }\n\n str = str.replace(/[^a-z0-9 -]/g, \"\") // remove invalid chars\n .replace(/\\s+/g, \"-\") // collapse whitespace and replace by -\n .replace(/-+/g, \"-\"); // collapse dashes\n\n return str;\n}\n\nexport { slugify };","import { useRouteMatch } from \"react-router-dom\";\nimport { CookieModel } from \"../models\";\nimport { useRouteCookieGroup } from \".\";\n\nvar useRouteCookie = function useRouteCookie() {\n var routeGroup = useRouteCookieGroup();\n var group = routeGroup.group;\n\n var _useRouteMatch = useRouteMatch(),\n params = _useRouteMatch.params; // Get cookie or return draft object\n\n\n var id = isNaN(+params.cookie) ? 0 : +params.cookie;\n var queried = !!params.cookie;\n var cookie = group.cookies.entries.get(+params.cookie) || new CookieModel(group.cookies, {\n id: 0\n });\n return {\n routeGroup: routeGroup,\n cookie: cookie,\n id: id,\n queried: queried,\n fetched: cookie.key !== 0\n };\n};\n\nexport { useRouteCookie };","var Notices = function Notices(_ref) {\n var notices = _ref.notices;\n return /*#__PURE__*/React.createElement(React.Fragment, null, notices === null || notices === void 0 ? void 0 : notices.map(function (_ref2) {\n var message = _ref2.message,\n severity = _ref2.severity;\n return message ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-\".concat(severity, \" below-h2 notice-alt\"),\n key: message\n }, /*#__PURE__*/React.createElement(\"p\", {\n dangerouslySetInnerHTML: {\n __html: message\n }\n })) : null;\n }));\n};\n\nexport { Notices };","import _Switch from \"antd/es/switch\";\nimport _Select from \"antd/es/select\";\nimport _Radio from \"antd/es/radio\";\nimport _Form from \"antd/es/form\";\nimport _Input from \"antd/es/input\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { useCallback } from \"react\";\nimport { observer } from \"mobx-react\";\nimport { _i, __, request, slugify } from \"../../../../utils\";\nimport { useStores } from \"../../../../store\";\nimport { FormHeadline, LearnMoreTag, Notices } from \"../../..\";\nimport { CookieEditFormLayout } from \"..\";\nimport { locationRestForwardCookieGet } from \"../../../../wp-api\";\nimport { useRouteCookie } from \"../../../../hooks\";\nvar CookieEditFormGeneralFields = observer(function (_ref) {\n var _cookie$presetModel, _cookie$presetModel$d;\n\n var _ref$showNoticePreset = _ref.showNoticePresetGroupNotFound,\n showNoticePresetGroupNotFound = _ref$showNoticePreset === void 0 ? false : _ref$showNoticePreset,\n groupNotices = _ref.groupNotices,\n providerPrivacyPolicyNotices = _ref.providerPrivacyPolicyNotices;\n\n var _useStores = useStores(),\n _useStores$cookieStor = _useStores.cookieStore,\n groups = _useStores$cookieStor.groups,\n essentialGroup = _useStores$cookieStor.essentialGroup,\n _useStores$optionStor = _useStores.optionStore,\n ePrivacyUSA = _useStores$optionStor.ePrivacyUSA,\n consentForwarding = _useStores$optionStor.consentForwarding;\n\n var _useRouteCookie = useRouteCookie(),\n cookie = _useRouteCookie.cookie,\n fetched = _useRouteCookie.fetched;\n\n var isRealCookieBannerPreset = ((_cookie$presetModel = cookie.presetModel) === null || _cookie$presetModel === void 0 ? void 0 : (_cookie$presetModel$d = _cookie$presetModel.data) === null || _cookie$presetModel$d === void 0 ? void 0 : _cookie$presetModel$d.identifier) === \"real-cookie-banner\";\n var findByUniqueCookieName = useCallback( /*#__PURE__*/function () {\n var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(slug) {\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _context.prev = 0;\n _context.next = 3;\n return request({\n location: locationRestForwardCookieGet,\n params: {\n slug: slug\n }\n });\n\n case 3:\n return _context.abrupt(\"return\", _context.sent.filter(function (d) {\n return d.ID !== cookie.key;\n })[0]);\n\n case 6:\n _context.prev = 6;\n _context.t0 = _context[\"catch\"](0);\n return _context.abrupt(\"return\", undefined);\n\n case 9:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, null, [[0, 6]]);\n }));\n\n return function (_x) {\n return _ref2.apply(this, arguments);\n };\n }(), [cookie.key]);\n var validateUniqueCookieName = useCallback( /*#__PURE__*/function () {\n var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(slug, allowOverwrite) {\n var found, _consentForwardingUniqueName, matchRegexp, foundGenerated;\n\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n _context2.next = 2;\n return findByUniqueCookieName(slug);\n\n case 2:\n found = _context2.sent;\n\n if (!found) {\n _context2.next = 19;\n break;\n }\n\n if (allowOverwrite) {\n _context2.next = 8;\n break;\n }\n\n throw __(\"A service with the same unique name already exists.\");\n\n case 8:\n // Consent Forwarding is deactivated, so we need to generate an unique name for the user\n _consentForwardingUniqueName = found.metas.consentForwardingUniqueName;\n matchRegexp = /^(.*)-(\\d+)$/;\n foundGenerated = found;\n\n case 11:\n if (!foundGenerated) {\n _context2.next = 18;\n break;\n }\n\n _consentForwardingUniqueName = _consentForwardingUniqueName.match(matchRegexp) ? _consentForwardingUniqueName.replace(matchRegexp, function (_, g1, g2) {\n return \"\".concat(g1, \"-\").concat(+g2 + 1);\n }) : \"\".concat(_consentForwardingUniqueName, \"-1\");\n _context2.next = 15;\n return findByUniqueCookieName(_consentForwardingUniqueName);\n\n case 15:\n foundGenerated = _context2.sent;\n _context2.next = 11;\n break;\n\n case 18:\n // Overwrite in form\n allowOverwrite(_consentForwardingUniqueName);\n\n case 19:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2);\n }));\n\n return function (_x2, _x3) {\n return _ref3.apply(this, arguments);\n };\n }(), [findByUniqueCookieName]);\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FormHeadline, {\n offset: CookieEditFormLayout.labelCol.span\n }, __(\"General service configuration\"), \" \", /*#__PURE__*/React.createElement(LearnMoreTag, {\n url: __(\"https://devowl.io/knowledge-base/real-cookie-banner-create-individual-cookie/\")\n })), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Name\"),\n required: true\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"name\",\n noStyle: true,\n rules: [{\n required: true,\n message: __(\"Please provide a name!\")\n }]\n }, /*#__PURE__*/React.createElement(_Input, null)), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\"\n }, __('Each service used should have a descriptive name that is understandable to a non-professional user. Example: \"Google Analytics\".'))), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Status\"),\n required: true\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"status\",\n noStyle: true,\n rules: [{\n required: true,\n message: __(\"Please choose a status!\")\n }]\n }, /*#__PURE__*/React.createElement(_Radio.Group, null, /*#__PURE__*/React.createElement(_Radio.Button, {\n value: \"publish\"\n }, __(\"Enabled\")), /*#__PURE__*/React.createElement(_Radio.Button, {\n value: \"private\"\n }, __(\"Disabled\")), /*#__PURE__*/React.createElement(_Radio.Button, {\n value: \"draft\"\n }, __(\"Draft\")))), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\"\n }, __('Services with the status \"Draft\" or \"Disabled\" are not visible to the public. In addition, a draft will be highlighted in the service table so that you do not forget to configure it.'))), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Group\"),\n required: true\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"group\",\n noStyle: true,\n rules: [{\n required: true,\n message: __(\"Please provide a group!\")\n }]\n }, /*#__PURE__*/React.createElement(_Select, null, groups.sortedGroups.map(function (_ref4) {\n var _ref4$data = _ref4.data,\n id = _ref4$data.id,\n name = _ref4$data.name;\n return /*#__PURE__*/React.createElement(_Select.Option, {\n key: id,\n value: id\n }, name);\n }))), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\"\n }, __(\"Each service must be assigned to a group. All services that do not belong to the group of essential services can (but do not have to) be accepted by visitors. According to the ePrivacy Directive, only services without which the website would not work are considered as essential services if the visitor has explicitly requested the service used. A possible economic interest of the website operator in using a tool, e.g. Google Analytics, is irrelevant.\")), showNoticePresetGroupNotFound !== false && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning below-h2 notice-alt\"\n }, /*#__PURE__*/React.createElement(\"p\", null, __(\"The service group in which this service is normally placed (%s) has been deleted by you. Please group the service yourself.\", showNoticePresetGroupNotFound))), /*#__PURE__*/React.createElement(Notices, {\n notices: groupNotices\n })), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Provider\"),\n required: true\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"provider\",\n noStyle: true,\n rules: [{\n required: true,\n message: __(\"Please name a provider!\")\n }]\n }, /*#__PURE__*/React.createElement(_Input, null)), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\"\n }, __('A service always has an \"owner\", who processes collected data or information saved in cookies etc. Please specify which provider creates cookies and processes personal data, e.g. \"Google Ireland Limited\". If you are the provider, please enter your legal name.'))), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Purpose\")\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"purpose\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Input.TextArea, {\n autoSize: {\n minRows: 3\n }\n })), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\"\n }, _i(__(\"The ePrivacy Directive and the GDPR require that a non-professional user understands the purpose of this service, how {{a}}personal data{{/a}} is collected and how cookies are used for this purpose.\"), {\n a: /*#__PURE__*/React.createElement(\"a\", {\n href: __(\"https://devowl.io/2021/personal-data-gdpr/\"),\n target: \"_blank\",\n rel: \"noreferrer\"\n })\n }))), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Privacy policy of the provider\")\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"providerPrivacyPolicy\",\n noStyle: true,\n rules: [{\n type: \"url\",\n message: __(\"Please provide a valid URL!\")\n }]\n }, /*#__PURE__*/React.createElement(_Input, null)), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\"\n }, __(\"Provide a direct link to the privacy policy of the provider that runs this service (in the language of your website).\")), /*#__PURE__*/React.createElement(Notices, {\n notices: providerPrivacyPolicyNotices\n })), /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues.group !== nextValues.group || prevValues.name !== nextValues.name;\n }\n }, function (_ref5) {\n var getFieldValue = _ref5.getFieldValue,\n setFieldsValue = _ref5.setFieldsValue;\n var isEssentialGroup = getFieldValue(\"group\") === essentialGroup.key;\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Consent Forwarding Unique Name\"),\n style: {\n display: consentForwarding ? undefined : \"none\"\n }\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"consentForwardingUniqueName\",\n noStyle: true,\n validateTrigger: \"onBlur\",\n rules: [{\n validator: function () {\n var _validator = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(rules, value) {\n var allowOverwrite;\n return _regeneratorRuntime.wrap(function _callee3$(_context3) {\n while (1) {\n switch (_context3.prev = _context3.next) {\n case 0:\n allowOverwrite = consentForwarding ? !value : true;\n return _context3.abrupt(\"return\", validateUniqueCookieName(value || slugify(getFieldValue(\"name\")), allowOverwrite ? function (consentForwardingUniqueName) {\n return setFieldsValue({\n consentForwardingUniqueName: consentForwardingUniqueName\n });\n } : undefined));\n\n case 2:\n case \"end\":\n return _context3.stop();\n }\n }\n }, _callee3);\n }));\n\n function validator(_x4, _x5) {\n return _validator.apply(this, arguments);\n }\n\n return validator;\n }()\n }]\n }, /*#__PURE__*/React.createElement(_Input, {\n placeholder: fetched ? \"\" : slugify(getFieldValue(\"name\"))\n })), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\"\n }, __(\"Consent Forwarding is active. This means that all services on all available instances must be identified by a unique name in order to correctly set consent for a service.\")), isEssentialGroup && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-info below-h2 notice-alt\"\n }, /*#__PURE__*/React.createElement(\"p\", null, __(\"You can define a unique name, but essential services are automatically accepted when a consent is forwarded.\")))), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Legal basis\"),\n required: true\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"legalBasis\",\n noStyle: true,\n rules: [{\n required: true\n }]\n }, /*#__PURE__*/React.createElement(_Radio.Group, {\n disabled: isEssentialGroup\n }, /*#__PURE__*/React.createElement(_Radio.Button, {\n value: \"consent\"\n }, __(\"Consent (Opt-in)\")), /*#__PURE__*/React.createElement(_Radio.Button, {\n value: \"legitimate-interest\"\n }, __(\"Legitimate interest (Opt-out)\")), isRealCookieBannerPreset && /*#__PURE__*/React.createElement(_Radio.Button, {\n value: \"legal-requirement\"\n }, __(\"Compliance with a legal obligation\")))), /*#__PURE__*/React.createElement(\"div\", {\n style: {\n margin: \"5px 0px 0px\"\n }\n }, /*#__PURE__*/React.createElement(LearnMoreTag, {\n url: __(\"https://devowl.io/2021/opt-in-opt-out-double-opt-in-definition/\")\n })), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\"\n }, _i(__('Services can be used on various legal bases according to Art. 6 GDPR. \"Consent\" means that the user must explicitly agree to the service (opt-in). \"Legitimate interest\" means that your interest as a website operator prevails to use the service and the user must explicitly disagree (opt-out). Unless it is an essential service. Then an objection is not possible. {{strong}}A legitimate interest exists only in rare cases and only for data processing. If you are not sure, it is better to obtain consent to be on the safe side.{{/strong}}'), {\n strong: /*#__PURE__*/React.createElement(\"strong\", null)\n })), isEssentialGroup && !isRealCookieBannerPreset && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-info below-h2 notice-alt\"\n }, /*#__PURE__*/React.createElement(\"p\", null, __('Your service is currently grouped as \"Essential\". This group implies the legitimate interest, with the only difference that this service cannot be opted out.')))));\n }), /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues.group !== nextValues.group || prevValues.ePrivacyUSA !== nextValues.ePrivacyUSA;\n }\n }, function (_ref6) {\n var getFieldValue = _ref6.getFieldValue;\n return /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"US data processing\"),\n style: {\n display: ePrivacyUSA ? undefined : \"none\"\n }\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"ePrivacyUSA\",\n valuePropName: \"checked\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Switch, null)), /*#__PURE__*/React.createElement(\"span\", null, \"\\xA0\\xA0\", __(\"This service processes data in the USA or transfers data to US companies or servers\")), getFieldValue(\"ePrivacyUSA\") && getFieldValue(\"group\") === essentialGroup.key && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning below-h2 notice-alt\"\n }, /*#__PURE__*/React.createElement(\"p\", null, __(\"If you use this service declaration only as a notice and the corresponding service is already embedded outside the cookie banner on the first visit to the website, it is possible that the service used in the USA is already processing data before the user has agreed to this. From a data protection perspective, the use of such services should be avoided, or the service should be embedded in the opt-in code (execution after consent). In practice, this will not always be possible.\"))));\n }), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"No technical definitions\")\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"noTechnicalDefinitions\",\n valuePropName: \"checked\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Switch, null)), /*#__PURE__*/React.createElement(\"span\", null, \"\\xA0\\xA0\", __(\"This service does not set any technical cookies on the client of the visitor, but e.g. integrates a script.\"))));\n});\nexport { CookieEditFormGeneralFields };","import _Checkbox from \"antd/es/checkbox\";\nimport _Input from \"antd/es/input\";\nimport _Form from \"antd/es/form\";\nimport _extends from \"@babel/runtime/helpers/extends\";\nimport _Select from \"antd/es/select\";\nimport _Tooltip from \"antd/es/tooltip\";\nimport { observer } from \"mobx-react\";\nimport { __, _i, isHost } from \"../../../../utils\";\nimport { getCookieTypeLocalized } from \"../../../../others\";\nimport { PlusOutlined, QuestionCircleFilled, DeleteOutlined } from \"@ant-design/icons\";\nimport { FormHeadline } from \"../../..\";\nimport { CookieEditFormLayout, technicalDefinitionDefaults } from \"..\";\nimport { isUrl } from \"@devowl-wp/headless-content-unblocker\";\nvar WP_LIST_TABLE_FORM_ITEM_PROPS = {\n labelCol: {\n span: 0\n },\n wrapperCol: {\n span: 24\n },\n style: {\n margin: 0\n }\n};\nvar CookieEditFormTechnicalFields = observer(function () {\n var cookieTypeLocalized = getCookieTypeLocalized();\n return /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues.noTechnicalDefinitions !== nextValues.noTechnicalDefinitions || prevValues.technicalDefinitions.length !== nextValues.technicalDefinitions.length;\n }\n }, function (_ref) {\n var getFieldValue = _ref.getFieldValue;\n return getFieldValue(\"noTechnicalDefinitions\") ? null : /*#__PURE__*/React.createElement(_Form.List, {\n name: \"technicalDefinitions\"\n }, function (fields, _ref2) {\n var add = _ref2.add,\n remove = _ref2.remove;\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FormHeadline, {\n offset: CookieEditFormLayout.labelCol.span,\n description: __(\"For each service you use, you should specify all cookies that are used by it. You can find this out in the developer console of your browser. Please note that there are several types of cookies and that the law requires that you inform your visitors not only about (HTTP) cookies, but also about cookie-like information.\")\n }, __(\"Technical cookie information\")), /*#__PURE__*/React.createElement(\"table\", {\n className: \"wp-list-table widefat fixed striped table-view-list\",\n style: {\n marginBottom: 25\n }\n }, /*#__PURE__*/React.createElement(\"thead\", null, /*#__PURE__*/React.createElement(\"tr\", null, /*#__PURE__*/React.createElement(\"td\", {\n width: 150\n }, __(\"Cookie type\")), /*#__PURE__*/React.createElement(\"td\", null, /*#__PURE__*/React.createElement(_Tooltip, {\n title: _i(__(\"Every cookie has a technical name, which you must provide. If a cookie name is dynamically composed, please use an asterisk ({{code}}*{{/code}}) as a wildcard (placeholder).\"), {\n code: /*#__PURE__*/React.createElement(\"code\", null)\n })\n }, /*#__PURE__*/React.createElement(\"span\", null, __(\"Technical cookie name\"), \" \", /*#__PURE__*/React.createElement(QuestionCircleFilled, null)))), /*#__PURE__*/React.createElement(\"td\", null, /*#__PURE__*/React.createElement(_Tooltip, {\n title: __(\"Every cookie is associated to a domain or hostname.\")\n }, /*#__PURE__*/React.createElement(\"span\", null, __(\"Technical cookie host\"), \" \", /*#__PURE__*/React.createElement(QuestionCircleFilled, null)))), /*#__PURE__*/React.createElement(\"td\", null, /*#__PURE__*/React.createElement(_Tooltip, {\n title: __(\"A HTTP cookie is only valid for a certain time, which is defined when the cookie is set.\")\n }, /*#__PURE__*/React.createElement(\"span\", null, __(\"Cookie duration\"), \" \", /*#__PURE__*/React.createElement(QuestionCircleFilled, null)))), /*#__PURE__*/React.createElement(\"td\", {\n width: 50,\n align: \"right\"\n }, \"\\xA0\"))), /*#__PURE__*/React.createElement(\"tbody\", null, fields.map(function (field) {\n return /*#__PURE__*/React.createElement(\"tr\", {\n key: field.key\n }, /*#__PURE__*/React.createElement(\"td\", null, /*#__PURE__*/React.createElement(_Form.Item, _extends({}, field, WP_LIST_TABLE_FORM_ITEM_PROPS, {\n fieldKey: [field.fieldKey, \"type\"],\n name: [field.name, \"type\"],\n rules: [{\n required: true,\n message: __(\"Please provide a cookie type!\")\n }]\n }), /*#__PURE__*/React.createElement(_Select, null, Object.keys(cookieTypeLocalized).map(function (key) {\n return /*#__PURE__*/React.createElement(_Select.Option, {\n key: key,\n value: key\n }, cookieTypeLocalized[key].name);\n })))), /*#__PURE__*/React.createElement(\"td\", null, /*#__PURE__*/React.createElement(_Form.Item, _extends({}, field, WP_LIST_TABLE_FORM_ITEM_PROPS, {\n fieldKey: [field.fieldKey, \"name\"],\n name: [field.name, \"name\"],\n rules: [{\n required: true,\n message: __(\"Please provide a technical cookie name!\")\n }]\n }), /*#__PURE__*/React.createElement(_Input, null)), /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n var _prevValues$technical, _nextValues$technical;\n\n return ((_prevValues$technical = prevValues.technicalDefinitions[field.name]) === null || _prevValues$technical === void 0 ? void 0 : _prevValues$technical.name) !== ((_nextValues$technical = nextValues.technicalDefinitions[field.name]) === null || _nextValues$technical === void 0 ? void 0 : _nextValues$technical.name);\n }\n }, function (_ref3) {\n var getFieldValue = _ref3.getFieldValue;\n var cookieName = getFieldValue([\"technicalDefinitions\", field.name, \"name\"]);\n var notSupportedCookieNamePlaceholders = [/\\[/gm, [/([{]+)/gm, function (match) {\n return match.length === 1;\n }], /\\(/gm];\n return notSupportedCookieNamePlaceholders.filter(function (r) {\n return Array.isArray(r) ? r[0].test(cookieName) && cookieName.match(r[0]).filter(r[1]).length > 0 : r.test(cookieName);\n }).length > 0 && /*#__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(__(\"Are you sure this is the name of the cookie? It seems like you are using a placeholder that is not supported. Please use an asterisk ({{code}}*{{/code}}) as a placeholder if the cookie name is dynamically composed.\"), {\n code: /*#__PURE__*/React.createElement(\"code\", null)\n })));\n })), /*#__PURE__*/React.createElement(\"td\", null, /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n var _prevValues$technical2, _nextValues$technical2;\n\n return ((_prevValues$technical2 = prevValues.technicalDefinitions[field.name]) === null || _prevValues$technical2 === void 0 ? void 0 : _prevValues$technical2.type) !== ((_nextValues$technical2 = nextValues.technicalDefinitions[field.name]) === null || _nextValues$technical2 === void 0 ? void 0 : _nextValues$technical2.type);\n }\n }, function (_ref4) {\n var getFieldValue = _ref4.getFieldValue;\n var type = getFieldValue([\"technicalDefinitions\", field.name, \"type\"]);\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Form.Item, _extends({}, field, WP_LIST_TABLE_FORM_ITEM_PROPS, {\n fieldKey: [field.fieldKey, \"host\"],\n name: [field.name, \"host\"],\n rules: [{\n validator: function validator(_, value) {\n return ([\"local\", \"session\", \"indexedDb\"].indexOf(type) > -1 ? isUrl(value) : isHost(value)) || value === \"\" && type !== \"http\" ? Promise.resolve() : Promise.reject(__(\"Please provide a valid hostname!\"));\n }\n }]\n }), /*#__PURE__*/React.createElement(_Input, null)), /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n var _prevValues$technical3, _nextValues$technical3;\n\n return ((_prevValues$technical3 = prevValues.technicalDefinitions[field.name]) === null || _prevValues$technical3 === void 0 ? void 0 : _prevValues$technical3.host) !== ((_nextValues$technical3 = nextValues.technicalDefinitions[field.name]) === null || _nextValues$technical3 === void 0 ? void 0 : _nextValues$technical3.host);\n }\n }, function (_ref5) {\n var getFieldValue = _ref5.getFieldValue;\n var host = getFieldValue([\"technicalDefinitions\", field.name, \"host\"]);\n return host.startsWith(\"*.\") && host.length > 2 && /*#__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 are using an invalid wildcard (placeholder) syntax {{code}}*.{{/code}} to match subdomains. Use {{code}}.%s{{/code}} to include subdomains.\", host.substr(2)), {\n code: /*#__PURE__*/React.createElement(\"code\", null)\n })));\n }));\n })), /*#__PURE__*/React.createElement(\"td\", null, /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n var _prevValues$technical4, _nextValues$technical4;\n\n return ((_prevValues$technical4 = prevValues.technicalDefinitions[field.name]) === null || _prevValues$technical4 === void 0 ? void 0 : _prevValues$technical4.type) !== ((_nextValues$technical4 = nextValues.technicalDefinitions[field.name]) === null || _nextValues$technical4 === void 0 ? void 0 : _nextValues$technical4.type);\n }\n }, function (_ref6) {\n var getFieldValue = _ref6.getFieldValue;\n var type = getFieldValue([\"technicalDefinitions\", field.name, \"type\"]);\n return [\"local\", \"session\", \"indexedDb\", \"flash\"].indexOf(type) > -1 ? null : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Form.Item, _extends({}, field, {\n fieldKey: [field.fieldKey, \"sessionDuration\"],\n name: [field.name, \"sessionDuration\"],\n noStyle: true,\n valuePropName: \"checked\"\n }), /*#__PURE__*/React.createElement(_Checkbox, {\n style: {\n float: \"left\",\n marginTop: 5\n }\n }, /*#__PURE__*/React.createElement(_Tooltip, {\n title: __(\"This cookie is active as long as the session is active\")\n }, /*#__PURE__*/React.createElement(\"span\", null, __(\"Session\"))))), /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n var _prevValues$technical5, _nextValues$technical5;\n\n return ((_prevValues$technical5 = prevValues.technicalDefinitions[field.name]) === null || _prevValues$technical5 === void 0 ? void 0 : _prevValues$technical5.sessionDuration) !== ((_nextValues$technical5 = nextValues.technicalDefinitions[field.name]) === null || _nextValues$technical5 === void 0 ? void 0 : _nextValues$technical5.sessionDuration);\n }\n }, function (_ref7) {\n var getFieldValue = _ref7.getFieldValue;\n var sessionDuration = getFieldValue([\"technicalDefinitions\", field.name, \"sessionDuration\"]);\n return /*#__PURE__*/React.createElement(_Form.Item, _extends({}, field, WP_LIST_TABLE_FORM_ITEM_PROPS, {\n fieldKey: [field.fieldKey, \"duration\"],\n name: [field.name, \"duration\"],\n rules: [{\n required: !sessionDuration,\n message: __(\"Please provide a valid duration!\")\n }]\n }), /*#__PURE__*/React.createElement(_Input, {\n min: \"0\",\n addonAfter: /*#__PURE__*/React.createElement(_Form.Item, {\n name: [field.name, \"durationUnit\"],\n noStyle: true,\n rules: [{\n required: true,\n message: __(\"Please provide an unit!\")\n }]\n }, /*#__PURE__*/React.createElement(_Select, null, /*#__PURE__*/React.createElement(_Select.Option, {\n value: \"s\"\n }, __(\"second(s)\")), /*#__PURE__*/React.createElement(_Select.Option, {\n value: \"m\"\n }, __(\"minute(s)\"), \" \"), /*#__PURE__*/React.createElement(_Select.Option, {\n value: \"h\"\n }, __(\"hour(s)\"), \" \"), /*#__PURE__*/React.createElement(_Select.Option, {\n value: \"d\"\n }, __(\"day(s)\"), \" \"), /*#__PURE__*/React.createElement(_Select.Option, {\n value: \"mo\"\n }, __(\"month(s)\"), \" \"), /*#__PURE__*/React.createElement(_Select.Option, {\n value: \"y\"\n }, __(\"year(s)\"), \" \"))),\n type: \"number\",\n style: {\n maxWidth: 200,\n display: sessionDuration ? \"none\" : undefined\n }\n }));\n }));\n })), /*#__PURE__*/React.createElement(\"td\", null, fields.length > 1 ? /*#__PURE__*/React.createElement(\"a\", {\n className: \"button button-small\",\n onClick: function onClick() {\n remove(field.name);\n }\n }, /*#__PURE__*/React.createElement(DeleteOutlined, null)) : null));\n })), /*#__PURE__*/React.createElement(\"tfoot\", null, /*#__PURE__*/React.createElement(\"tr\", null, /*#__PURE__*/React.createElement(\"td\", {\n colSpan: 5,\n align: \"right\"\n }, /*#__PURE__*/React.createElement(\"a\", {\n className: \"button button-primary alignright\",\n onClick: function onClick() {\n add(technicalDefinitionDefaults);\n }\n }, /*#__PURE__*/React.createElement(PlusOutlined, null), \" \", __(\"Add another cookie definition\")))))));\n });\n });\n});\nexport { CookieEditFormTechnicalFields };","/**\n * Is a passed host string valid?\n *\n * @param url\n * @see https://stackoverflow.com/a/106223/5506547\n */\nfunction isHost(url) {\n return /^\\.?(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9])$/gm.test(url);\n}\n\nexport { isHost };","import _Input from \"antd/es/input\";\nimport _Tooltip from \"antd/es/tooltip\";\nimport _Form from \"antd/es/form\";\nimport _Switch from \"antd/es/switch\";\nimport { observer } from \"mobx-react\";\nimport { CookieEditFormLayout } from \"..\";\nimport { __ } from \"../../../../utils\";\nimport { useStores } from \"../../../../store\";\nimport { useRouteCookie } from \"../../../../hooks\";\nimport { LearnMoreTag } from \"../../..\";\n/**\n * Common manager form items. It provides fields for \"This is manger XY\" and in/out events.\n * If you add another manager, please also consider to add the meta fields to REST and initial values\n * of the cookie form itself.\n */\n\nvar CookieEditFormManagerFields = observer(function (_ref) {\n var manager = _ref.manager,\n onlyWhenManagerIs = _ref.onlyWhenManagerIs,\n hasManagerAttributeName = _ref.hasManagerAttributeName,\n thisIsManagerAttributeName = _ref.thisIsManagerAttributeName,\n inEventNameAttributeName = _ref.inEventNameAttributeName,\n outEventNameAttributeName = _ref.outEventNameAttributeName;\n\n var _useStores = useStores(),\n cookieStore = _useStores.cookieStore,\n _useStores$optionStor = _useStores.optionStore,\n setCookiesViaManager = _useStores$optionStor.setCookiesViaManager,\n hasManager = _useStores$optionStor[hasManagerAttributeName],\n isPro = _useStores$optionStor.others.isPro;\n\n var essentialGroup = cookieStore.essentialGroup;\n\n var _useRouteCookie = useRouteCookie(),\n cookie = _useRouteCookie.cookie;\n\n return setCookiesViaManager === onlyWhenManagerIs && isPro && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Form.Item, {\n wrapperCol: {\n offset: CookieEditFormLayout.labelCol.span\n }\n }, /*#__PURE__*/React.createElement(_Tooltip, {\n title: hasManager && cookie.key !== hasManager ? __(\"You have already defined a %s service.\", manager) : \"\"\n }, /*#__PURE__*/React.createElement(\"span\", null, /*#__PURE__*/React.createElement(_Form.Item, {\n name: thisIsManagerAttributeName,\n valuePropName: \"checked\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Switch, {\n disabled: hasManager && cookie.key !== hasManager\n })), /*#__PURE__*/React.createElement(\"span\", null, \"\\xA0\\xA0\", __(\"Opt-in script below loads %s\", manager))))), /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, curValues) {\n return prevValues[thisIsManagerAttributeName] !== curValues[thisIsManagerAttributeName] || prevValues.group !== curValues.group;\n }\n }, function (_ref2) {\n var getFieldValue = _ref2.getFieldValue;\n var isActive = getFieldValue(thisIsManagerAttributeName);\n var group = getFieldValue(\"group\");\n return isActive && group !== essentialGroup.key && /*#__PURE__*/React.createElement(_Form.Item, {\n wrapperCol: {\n offset: CookieEditFormLayout.labelCol.span\n }\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning below-h2 notice-alt\"\n }, /*#__PURE__*/React.createElement(\"p\", null, __(\"You have defined %1$s in a non-essential service group. In our legal opinion, this is the only way to use %1$s legally. However, please note that if a user doesn't consent to load %1$s, opt-in and opt-out events will not be sent to %1$s. Real Cookie Banner offers you the possibility to specify a fallback HTML/JavaScript for this case.\", manager))));\n }), /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, curValues) {\n return prevValues[thisIsManagerAttributeName] !== curValues[thisIsManagerAttributeName] || prevValues[inEventNameAttributeName] !== curValues[inEventNameAttributeName] || prevValues[outEventNameAttributeName] !== curValues[outEventNameAttributeName];\n }\n }, function (_ref3) {\n var getFieldValue = _ref3.getFieldValue;\n var active = getFieldValue(thisIsManagerAttributeName);\n var inEventName = getFieldValue(inEventNameAttributeName);\n var outEventName = getFieldValue(outEventNameAttributeName);\n return !active && /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Event names for %s\", manager)\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: inEventNameAttributeName,\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Input, {\n addonBefore: __(\"Opt-in\"),\n style: {\n maxWidth: 400,\n marginRight: 10,\n marginBottom: 5\n }\n })), /*#__PURE__*/React.createElement(_Form.Item, {\n name: outEventNameAttributeName,\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Input, {\n addonBefore: __(\"Opt-out\"),\n style: {\n maxWidth: 400,\n marginRight: 10,\n marginBottom: 5\n }\n })), /*#__PURE__*/React.createElement(\"div\", null, /*#__PURE__*/React.createElement(LearnMoreTag, {\n url: __(\"https://devowl.io/knowledge-base/real-cookie-banner-with-google-tag-manager-or-matomo-tag-manager/\")\n })), (inEventName.length > 0 || outEventName.length > 0) && !hasManager && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning below-h2 notice-alt\"\n }, /*#__PURE__*/React.createElement(\"p\", null, __(\"You have not yet defined a %s service. To use event names, you must create a %s service.\", manager, manager))));\n }));\n});\nexport { CookieEditFormManagerFields };","var DYNAMICS_VARIABLE_REGEXP = /{{([A-Za-z0-9_]+)}}/gm;\n/**\n * Takes any string and replaces `{{myVariable}}` with the value of the passed `dynamics` map.\n */\n\nfunction applyDynamicsToHtml(src, dynamics) {\n return src.replace(DYNAMICS_VARIABLE_REGEXP, function (fullMatch, variableName) {\n return Object.prototype.hasOwnProperty.call(dynamics, variableName) ? dynamics[variableName] : fullMatch;\n });\n}\n\nexport { applyDynamicsToHtml, DYNAMICS_VARIABLE_REGEXP };","import _Form from \"antd/es/form\";\nimport _Input from \"antd/es/input\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { observer } from \"mobx-react\";\nimport { __ } from \"../../../../utils\";\nimport { DYNAMICS_VARIABLE_REGEXP } from \"@devowl-wp/headless-content-unblocker\";\nvar DYNAMICS_SEARCH_IN = [\"codeOptIn\", \"codeOptOut\", \"codeOnPageLoad\"];\n/**\n * Provide dynamic variables in `codeOptIn`, `codeOptOut` and `codeOnPageLoad`.\n */\n\nvar CookieEditFormCodeDynamics = observer(function (_ref) {\n var dynamicFields = _ref.dynamicFields;\n return /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return DYNAMICS_SEARCH_IN.map(function (k) {\n return prevValues[k] !== nextValues[k];\n }).filter(Boolean).length > 0;\n }\n }, function (_ref2) {\n var getFieldValue = _ref2.getFieldValue;\n var searchInResolved = DYNAMICS_SEARCH_IN.map(function (k) {\n return getFieldValue(k);\n }).join(\"\");\n var matches = Array.from(searchInResolved.matchAll(DYNAMICS_VARIABLE_REGEXP)).map(function (_ref3) {\n var _ref4 = _slicedToArray(_ref3, 2),\n m = _ref4[1];\n\n return m;\n });\n var added = [];\n return matches ? matches.map(function (name) {\n var formName = [\"codeDynamics\", name];\n\n var _ref5 = (dynamicFields === null || dynamicFields === void 0 ? void 0 : dynamicFields[name]) || {},\n label = _ref5.label,\n _ref5$invalidMessage = _ref5.invalidMessage,\n invalidMessage = _ref5$invalidMessage === void 0 ? __(\"Please fill in a value!\") : _ref5$invalidMessage,\n example = _ref5.example,\n expression = _ref5.expression,\n hint = _ref5.hint;\n\n if (added.indexOf(name) > -1) {\n return null;\n }\n\n added.push(name);\n return /*#__PURE__*/React.createElement(_Form.Item, {\n key: name,\n label: label || /*#__PURE__*/React.createElement(\"code\", null, name),\n required: true\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n name: formName,\n rules: [{\n required: true,\n pattern: expression ? new RegExp(expression) : undefined,\n message: invalidMessage\n }]\n }, /*#__PURE__*/React.createElement(_Input, {\n placeholder: example ? \"\".concat(__(\"e. g.\"), \" \").concat(example) : undefined\n })), !!hint && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-info below-h2 notice-alt\",\n style: {\n margin: \"10px 0 5px\"\n }\n }, /*#__PURE__*/React.createElement(\"p\", {\n dangerouslySetInnerHTML: {\n __html: hint\n }\n })));\n }) : null;\n });\n});\nexport { CookieEditFormCodeDynamics };","import _Form from \"antd/es/form\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _toConsumableArray from \"@babel/runtime/helpers/toConsumableArray\";\nimport { useMemo } from \"react\";\nimport { _i, __ } from \"../../../../utils\";\nimport { observer } from \"mobx-react\";\nimport { useStores } from \"../../../../store\";\nvar NoticeFormItemContainsSkipIfActiveAttribute = observer(function (_ref) {\n var name = _ref.name;\n\n var _useStores = useStores(),\n activePlugins = _useStores.optionStore.others.activePlugins;\n\n var activePluginKeys = useMemo(function () {\n return Object.keys(activePlugins);\n }, [activePlugins]);\n return /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues[name] !== nextValues[name];\n }\n }, function (_ref2) {\n var getFieldValue = _ref2.getFieldValue;\n var value = getFieldValue(name); // Find `skip-if-active` and their active plugins\n\n var matches = _toConsumableArray(value.matchAll(/\\s+(skip-if-active=\")([^\"]+)(\")/gm)).map(function (_ref3) {\n var _ref4 = _slicedToArray(_ref3, 3),\n plugins = _ref4[2];\n\n return plugins.split(\",\").filter(function (plugin) {\n return activePluginKeys.indexOf(plugin) > -1;\n });\n }).flat();\n\n var uniq = matches.filter(function (plugin, i) {\n return matches.indexOf(plugin) === i;\n });\n\n if (uniq.length === 0) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-info below-h2 notice-alt\"\n }, /*#__PURE__*/React.createElement(\"p\", null, _i(__(\"The code above contains HTML tags that are skipped when one of the following plugins is active: {{strong/}}. {{i}}What does this mean for me?{{/i}} In most cases, another plugin will take over the execution of the technical code, and you have to create a corresponding content blocker.\"), {\n strong: /*#__PURE__*/React.createElement(\"strong\", null, uniq.map(function (plugin) {\n return activePlugins[plugin];\n }).join(\", \")),\n i: /*#__PURE__*/React.createElement(\"i\", null)\n })));\n });\n});\nexport { NoticeFormItemContainsSkipIfActiveAttribute };","import _Switch from \"antd/es/switch\";\nimport _Form from \"antd/es/form\";\nimport { useCallback } from \"react\";\nimport { observer } from \"mobx-react\";\nimport { FormHeadline, CodeMirror, Notices } from \"../../..\";\nimport { CookieEditFormLayout } from \"..\";\nimport { __, _i } from \"../../../../utils\";\nimport { MANAGER_GTM_LABEL, MANAGER_MTM_LABEL } from \"../..\";\nimport { useStores } from \"../../../../store\";\nimport { CookieEditFormManagerFields, CookieEditFormCodeDynamics, NoticeFormItemContainsSkipIfActiveAttribute } from \".\";\nimport \"../../..\";\nvar CookieEditFormHandlingFields = observer(function (_ref) {\n var notices = _ref.notices,\n dynamicFields = _ref.dynamicFields;\n\n var _useStores = useStores(),\n cookieStore = _useStores.cookieStore,\n _useStores$optionStor = _useStores.optionStore,\n setCookiesViaManager = _useStores$optionStor.setCookiesViaManager,\n isPro = _useStores$optionStor.others.isPro;\n\n var essentialGroup = cookieStore.essentialGroup; // CodeMirror does not support \"display:none;\", we need to hide it in a hacky way\n\n var createHiddenFormItemsWithCodeMirror = useCallback(function (visible) {\n return {\n opacity: visible ? undefined : 0,\n height: visible ? undefined : 0,\n margin: visible ? undefined : 0\n };\n }, []);\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FormHeadline, {\n offset: CookieEditFormLayout.labelCol.span,\n description: setCookiesViaManager === \"none\" ? __(\"Define HTML and JavaScript code that is executed when a visitor decides to accept or reject this service or when a page is loaded. It is important to define the executed code correctly, as this ensures that scripts are executed and cookies are set only after the user's consent.\") : __(\"Define the %1$s event that should be thrown in the data layer when a visitor decides to accept or reject this service. The event can be used as a trigger in %1$s. For users who do not allow to use %1$s a fallback can be defined. You can define HTML and JavaScript code that is executed when a visitor decides to accept or reject this service, or when a page is loaded. It is important to define the event names and executed code correctly, as this will ensure that scripts are executed and cookies are only set with the user's consent.\", setCookiesViaManager === \"googleTagManager\" ? MANAGER_GTM_LABEL : MANAGER_MTM_LABEL)\n }, __(\"Technical handling\")), /*#__PURE__*/React.createElement(CookieEditFormManagerFields, {\n manager: MANAGER_GTM_LABEL,\n onlyWhenManagerIs: \"googleTagManager\",\n hasManagerAttributeName: \"hasGTM\",\n thisIsManagerAttributeName: \"thisIsGoogleTagManager\",\n inEventNameAttributeName: \"googleTagManagerInEventName\",\n outEventNameAttributeName: \"googleTagManagerOutEventName\"\n }), /*#__PURE__*/React.createElement(CookieEditFormManagerFields, {\n manager: MANAGER_MTM_LABEL,\n onlyWhenManagerIs: \"matomoTagManager\",\n hasManagerAttributeName: \"hasMTM\",\n thisIsManagerAttributeName: \"thisIsMatomoTagManager\",\n inEventNameAttributeName: \"matomoTagManagerInEventName\",\n outEventNameAttributeName: \"matomoTagManagerOutEventName\"\n }), /*#__PURE__*/React.createElement(CookieEditFormCodeDynamics, {\n dynamicFields: dynamicFields\n }), (notices === null || notices === void 0 ? void 0 : notices.length) > 0 && /*#__PURE__*/React.createElement(_Form.Item, {\n wrapperCol: {\n offset: CookieEditFormLayout.labelCol.span,\n span: CookieEditFormLayout.wrapperCol.span\n }\n }, /*#__PURE__*/React.createElement(Notices, {\n notices: notices\n })), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Code executed on opt-in\")\n }, setCookiesViaManager === \"googleTagManager\" && isPro && /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues.thisIsGoogleTagManager !== nextValues.thisIsGoogleTagManager;\n }\n }, function (_ref2) {\n var getFieldValue = _ref2.getFieldValue;\n return !getFieldValue(\"thisIsGoogleTagManager\") && /*#__PURE__*/React.createElement(\"div\", {\n style: {\n margin: \"4px 0\"\n }\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"codeOptInNoGoogleTagManager\",\n valuePropName: \"checked\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Switch, null)), /*#__PURE__*/React.createElement(\"span\", null, \"\\xA0\\xA0\", _i(__(\"Only run this script if the user has {{u}}not{{/u}} allowed to use %s\", MANAGER_GTM_LABEL), {\n u: /*#__PURE__*/React.createElement(\"u\", null)\n })));\n }), setCookiesViaManager === \"matomoTagManager\" && isPro && /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues.thisIsMatomoTagManager !== nextValues.thisIsMatomoTagManager;\n }\n }, function (_ref3) {\n var getFieldValue = _ref3.getFieldValue;\n return !getFieldValue(\"thisIsMatomoTagManager\") && /*#__PURE__*/React.createElement(\"div\", {\n style: {\n margin: \"4px 0\"\n }\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"codeOptInNoMatomoTagManager\",\n valuePropName: \"checked\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Switch, null)), /*#__PURE__*/React.createElement(\"span\", null, \"\\xA0\\xA0\", _i(__(\"Only run this script if the user has {{u}}not{{/u}} allowed to use %s\", MANAGER_MTM_LABEL), {\n u: /*#__PURE__*/React.createElement(\"u\", null)\n })));\n }), /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"codeOptIn\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(CodeMirror, {\n settings: window.cm_settings\n })), /*#__PURE__*/React.createElement(NoticeFormItemContainsSkipIfActiveAttribute, {\n name: \"codeOptIn\"\n })), /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues.group !== nextValues.group;\n }\n }, function (_ref4) {\n var getFieldValue = _ref4.getFieldValue;\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Code executed on opt-out\"),\n style: createHiddenFormItemsWithCodeMirror(getFieldValue(\"group\") !== essentialGroup.key)\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues.noTechnicalDefinitions !== nextValues.noTechnicalDefinitions;\n }\n }, function (_ref5) {\n var getFieldValue = _ref5.getFieldValue;\n return getFieldValue(\"noTechnicalDefinitions\") ? null : /*#__PURE__*/React.createElement(\"div\", {\n style: {\n margin: \"4px 0\"\n }\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"codeOptOutDelete\",\n valuePropName: \"checked\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Switch, null)), /*#__PURE__*/React.createElement(\"span\", null, \"\\xA0\\xA0\", __(\"Delete all first-party cookies after opt-out. First-party cookies are only cookies that are set by or for this domain.\")));\n }), setCookiesViaManager === \"googleTagManager\" && isPro && /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues.thisIsGoogleTagManager !== nextValues.thisIsGoogleTagManager;\n }\n }, function (_ref6) {\n var getFieldValue = _ref6.getFieldValue;\n return !getFieldValue(\"thisIsGoogleTagManager\") && /*#__PURE__*/React.createElement(\"div\", {\n style: {\n margin: \"4px 0\"\n }\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"codeOptOutNoGoogleTagManager\",\n valuePropName: \"checked\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Switch, null)), /*#__PURE__*/React.createElement(\"span\", null, \"\\xA0\\xA0\", _i(__(\"Only run this script if the user has {{u}}not{{/u}} allowed to use %s\", MANAGER_GTM_LABEL), {\n u: /*#__PURE__*/React.createElement(\"u\", null)\n })));\n }), setCookiesViaManager === \"matomoTagManager\" && isPro && /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues.thisIsMatomoTagManager !== nextValues.thisIsMatomoTagManager;\n }\n }, function (_ref7) {\n var getFieldValue = _ref7.getFieldValue;\n return !getFieldValue(\"thisIsMatomoTagManager\") && /*#__PURE__*/React.createElement(\"div\", {\n style: {\n margin: \"4px 0\"\n }\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"codeOptOutNoMatomoTagManager\",\n valuePropName: \"checked\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Switch, null)), /*#__PURE__*/React.createElement(\"span\", null, \"\\xA0\\xA0\", _i(__(\"Only run this script if the user has {{u}}not{{/u}} allowed to use %s\", MANAGER_MTM_LABEL), {\n u: /*#__PURE__*/React.createElement(\"u\", null)\n })));\n }), /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"codeOptOut\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(CodeMirror, {\n settings: window.cm_settings\n })), /*#__PURE__*/React.createElement(NoticeFormItemContainsSkipIfActiveAttribute, {\n name: \"codeOptOut\"\n })));\n }), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Code executed on page load\")\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"codeOnPageLoad\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(CodeMirror, {\n settings: window.cm_settings\n })), /*#__PURE__*/React.createElement(NoticeFormItemContainsSkipIfActiveAttribute, {\n name: \"codeOnPageLoad\"\n })));\n});\nexport { CookieEditFormHandlingFields };","import _Spin from \"antd/es/spin\";\nimport _extends from \"@babel/runtime/helpers/extends\";\nimport _Select from \"antd/es/select\";\nimport _Checkbox from \"antd/es/checkbox\";\nimport _Skeleton from \"antd/es/skeleton\";\nimport _message from \"antd/es/message\";\nimport _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _Form from \"antd/es/form\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { useCallback, useState, useEffect } from \"react\";\nimport { observer } from \"mobx-react\";\nimport { CookieModel } from \"../../../models\";\nimport { __, scrollTo, slugify, base64EncodeUnicodeSafe } from \"../../../utils\";\nimport { useStores } from \"../../../store\";\nimport { useHistory, Prompt } from \"react-router-dom\";\nimport { useRouteCookie } from \"../../../hooks\";\nimport { CookieEditFormGeneralFields, CookieEditFormTechnicalFields, CookieEditFormHandlingFields } from \".\";\nimport { LearnMoreTag } from \"../..\";\nvar CookieEditFormLayout = {\n labelCol: {\n span: 6\n },\n wrapperCol: {\n span: 16\n }\n};\nvar technicalDefinitionDefaults = {\n type: \"http\",\n name: \"\",\n host: \"\",\n duration: undefined,\n durationUnit: \"y\",\n sessionDuration: false\n};\nvar CookieEditForm = observer(function (_ref) {\n var _cookieStore$groups$s, _cookieStore$groups$s2, _presetModel$attribut, _presetModel$attribut2, _presetModel$attribut4, _presetModel$attribut5;\n\n var preset = _ref.preset,\n attributes = _ref.attributes,\n _ref$navigateAfterCre = _ref.navigateAfterCreation,\n navigateAfterCreation = _ref$navigateAfterCre === void 0 ? true : _ref$navigateAfterCre,\n _ref$scrollToTop = _ref.scrollToTop,\n scrollToTop = _ref$scrollToTop === void 0 ? true : _ref$scrollToTop,\n onCreated = _ref.onCreated;\n\n var _useRouteCookie = useRouteCookie(),\n _useRouteCookie$route = _useRouteCookie.routeGroup,\n group = _useRouteCookie$route.group,\n link = _useRouteCookie$route.link,\n cookie = _useRouteCookie.cookie,\n id = _useRouteCookie.id,\n queried = _useRouteCookie.queried,\n fetched = _useRouteCookie.fetched;\n\n var _Form$useForm = _Form.useForm(),\n _Form$useForm2 = _slicedToArray(_Form$useForm, 1),\n form = _Form$useForm2[0];\n\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n isBusy = _useState2[0],\n setIsBusy = _useState2[1];\n\n var _useState3 = useState(false),\n _useState4 = _slicedToArray(_useState3, 2),\n hasChanges = _useState4[0],\n setHasChanges = _useState4[1];\n\n var history = useHistory();\n\n var _useStores = useStores(),\n cookieStore = _useStores.cookieStore,\n useEncodedStringForScriptInputs = _useStores.optionStore.others.useEncodedStringForScriptInputs;\n\n var essentialGroup = cookieStore.essentialGroup;\n var presetModel = (cookie === null || cookie === void 0 ? void 0 : cookie.presetModel) || cookieStore.presetsCookie.get(preset === null || preset === void 0 ? void 0 : preset.identifier); // Determine the group to use for a given preset, otherwise use current opened group tab\n\n var useGroup = attributes ? attributes.group ? ((_cookieStore$groups$s = cookieStore.groups.sortedGroups.filter(function (_ref2) {\n var name = _ref2.data.name;\n return name === attributes.group;\n })) === null || _cookieStore$groups$s === void 0 ? void 0 : (_cookieStore$groups$s2 = _cookieStore$groups$s[0]) === null || _cookieStore$groups$s2 === void 0 ? void 0 : _cookieStore$groups$s2.key) || \"preset-group-not-found\" : undefined : group.key;\n var allowContentBlockerCreation = Object.keys((preset === null || preset === void 0 ? void 0 : preset.contentBlockerPresets) || []).length > 0;\n var createContentBlockerNotice = (attributes === null || attributes === void 0 ? void 0 : attributes.createContentBlockerNotice) || (presetModel === null || presetModel === void 0 ? void 0 : (_presetModel$attribut = presetModel.attributes) === null || _presetModel$attribut === void 0 ? void 0 : _presetModel$attribut.createContentBlockerNotice);\n var showOptInNoticeScanned = !!(presetModel !== null && presetModel !== void 0 && presetModel.data.scanned && (_presetModel$attribut2 = presetModel.attributes) !== null && _presetModel$attribut2 !== void 0 && _presetModel$attribut2.codeOptIn && [\"wordpress-comments\"].indexOf(presetModel.data.identifier) === -1);\n var initialValues = fetched ? {\n name: cookie.data.title.raw,\n status: cookie.data.status,\n group: group.key || undefined,\n // Can be `0`, so fallback to no selection (e.g. Cookie form modal in Content Blocker)\n purpose: cookie.data.content.raw,\n provider: cookie.data.meta.provider,\n providerPrivacyPolicy: cookie.data.meta.providerPrivacyPolicy,\n consentForwardingUniqueName: cookie.data.meta.consentForwardingUniqueName || cookie.data.slug,\n noTechnicalDefinitions: cookie.data.meta.noTechnicalDefinitions,\n legalBasis: cookie.data.meta.legalBasis,\n ePrivacyUSA: cookie.data.meta.ePrivacyUSA,\n technicalDefinitions: JSON.parse(JSON.stringify(cookie.technicalDefinitions || \"[]\")),\n codeDynamics: JSON.parse(JSON.stringify(cookie.codeDynamics || \"{}\")),\n thisIsGoogleTagManager: cookie.data.meta.thisIsGoogleTagManager,\n googleTagManagerInEventName: cookie.data.meta.googleTagManagerInEventName,\n googleTagManagerOutEventName: cookie.data.meta.googleTagManagerOutEventName,\n thisIsMatomoTagManager: cookie.data.meta.thisIsMatomoTagManager,\n matomoTagManagerInEventName: cookie.data.meta.matomoTagManagerInEventName,\n matomoTagManagerOutEventName: cookie.data.meta.matomoTagManagerOutEventName,\n codeOptIn: cookie.data.meta.codeOptIn,\n codeOptInNoGoogleTagManager: cookie.data.meta.codeOptInNoGoogleTagManager,\n codeOptInNoMatomoTagManager: cookie.data.meta.codeOptInNoMatomoTagManager,\n codeOptOut: cookie.data.meta.codeOptOut,\n codeOptOutNoGoogleTagManager: cookie.data.meta.codeOptOutNoGoogleTagManager,\n codeOptOutNoMatomoTagManager: cookie.data.meta.codeOptOutNoMatomoTagManager,\n codeOnPageLoad: cookie.data.meta.codeOnPageLoad,\n codeOptOutDelete: cookie.data.meta.codeOptOutDelete\n } : {\n name: (attributes === null || attributes === void 0 ? void 0 : attributes.name) || \"\",\n status: \"publish\",\n group: typeof useGroup === \"number\" ? // Can be `0`, so fallback to no selection (e.g. Cookie form modal in Content Blocker)\n useGroup || undefined : undefined,\n purpose: (attributes === null || attributes === void 0 ? void 0 : attributes.purpose) || \"\",\n provider: (attributes === null || attributes === void 0 ? void 0 : attributes.provider) || \"\",\n providerPrivacyPolicy: (attributes === null || attributes === void 0 ? void 0 : attributes.providerPrivacyPolicy) || \"\",\n consentForwardingUniqueName: (attributes === null || attributes === void 0 ? void 0 : attributes.consentForwardingUniqueName) || (preset === null || preset === void 0 ? void 0 : preset.identifier) || \"\",\n noTechnicalDefinitions: (attributes === null || attributes === void 0 ? void 0 : attributes.noTechnicalDefinitions) || false,\n legalBasis: (attributes === null || attributes === void 0 ? void 0 : attributes.legalBasis) || \"consent\",\n ePrivacyUSA: (attributes === null || attributes === void 0 ? void 0 : attributes.ePrivacyUSA) || false,\n technicalDefinitions: attributes !== null && attributes !== void 0 && attributes.technicalDefinitions ? JSON.parse(JSON.stringify(attributes.technicalDefinitions)) : [technicalDefinitionDefaults],\n codeDynamics: (attributes === null || attributes === void 0 ? void 0 : attributes.codeDynamics) || {},\n thisIsGoogleTagManager: (attributes === null || attributes === void 0 ? void 0 : attributes.thisIsGoogleTagManager) || false,\n googleTagManagerInEventName: (attributes === null || attributes === void 0 ? void 0 : attributes.googleTagManagerInEventName) || \"\",\n googleTagManagerOutEventName: (attributes === null || attributes === void 0 ? void 0 : attributes.googleTagManagerOutEventName) || \"\",\n thisIsMatomoTagManager: (attributes === null || attributes === void 0 ? void 0 : attributes.thisIsMatomoTagManager) || false,\n matomoTagManagerInEventName: (attributes === null || attributes === void 0 ? void 0 : attributes.matomoTagManagerInEventName) || \"\",\n matomoTagManagerOutEventName: (attributes === null || attributes === void 0 ? void 0 : attributes.matomoTagManagerOutEventName) || \"\",\n codeOptIn: (attributes === null || attributes === void 0 ? void 0 : attributes.codeOptIn) || \"\",\n codeOptInNoGoogleTagManager: (attributes === null || attributes === void 0 ? void 0 : attributes.codeOptInNoGoogleTagManager) || false,\n codeOptInNoMatomoTagManager: (attributes === null || attributes === void 0 ? void 0 : attributes.codeOptInNoMatomoTagManager) || false,\n codeOptOut: (attributes === null || attributes === void 0 ? void 0 : attributes.codeOptOut) || \"\",\n codeOnPageLoad: (attributes === null || attributes === void 0 ? void 0 : attributes.codeOnPageLoad) || \"\",\n codeOptOutNoGoogleTagManager: (attributes === null || attributes === void 0 ? void 0 : attributes.codeOptOutNoGoogleTagManager) || false,\n codeOptOutNoMatomoTagManager: (attributes === null || attributes === void 0 ? void 0 : attributes.codeOptOutNoMatomoTagManager) || false,\n codeOptOutDelete: (attributes === null || attributes === void 0 ? void 0 : attributes.codeOptOutDelete) || false,\n createContentBlocker: typeof (attributes === null || attributes === void 0 ? void 0 : attributes.createContentBlocker) === \"boolean\" ? attributes.createContentBlocker : allowContentBlockerCreation && !(attributes !== null && attributes !== void 0 && attributes.deactivateAutomaticContentBlockerCreation),\n createContentBlockerId: attributes === null || attributes === void 0 ? void 0 : attributes.createContentBlockerId,\n presetCheck: !preset\n }; // Initially load the cookie if not yet done\n\n useEffect(function () {\n if (queried && !fetched) {\n group.cookies.getSingle({\n params: {\n id: id,\n context: \"edit\"\n }\n });\n }\n }, [queried, fetched]); // Lazy load attributes of preset model\n\n useEffect(function () {\n if (presetModel && !presetModel.attributes) {\n presetModel.fetchAttributes();\n }\n }, [presetModel]); // Scroll to top when opening the form\n\n useEffect(function () {\n if (scrollToTop) {\n scrollTo(0);\n }\n }, []);\n var handleSave = useCallback( /*#__PURE__*/function () {\n var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(values) {\n var codeToBase64, name, status, purpose, noTechnicalDefinitions, technicalDefinitions, _group, codeDynamics, createContentBlocker, createContentBlockerId, consentForwardingUniqueName, codeOptIn, codeOptOut, codeOnPageLoad, meta, newMeta, _useGroup, draft;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _context.prev = 0;\n\n // Pass as base64-encoded string to avoid Cloudflare XSS issues\n codeToBase64 = function codeToBase64(str) {\n return useEncodedStringForScriptInputs ? \"encodedScript:\".concat(base64EncodeUnicodeSafe(str)) : str;\n };\n\n name = values.name, status = values.status, purpose = values.purpose, noTechnicalDefinitions = values.noTechnicalDefinitions, technicalDefinitions = values.technicalDefinitions, _group = values.group, codeDynamics = values.codeDynamics, createContentBlocker = values.createContentBlocker, createContentBlockerId = values.createContentBlockerId, consentForwardingUniqueName = values.consentForwardingUniqueName, codeOptIn = values.codeOptIn, codeOptOut = values.codeOptOut, codeOnPageLoad = values.codeOnPageLoad, meta = _objectWithoutProperties(values, [\"name\", \"status\", \"purpose\", \"noTechnicalDefinitions\", \"technicalDefinitions\", \"group\", \"codeDynamics\", \"createContentBlocker\", \"createContentBlockerId\", \"consentForwardingUniqueName\", \"codeOptIn\", \"codeOptOut\", \"codeOnPageLoad\"]);\n newMeta = _objectSpread(_objectSpread({}, meta), {}, {\n codeOptIn: codeToBase64(codeOptIn),\n codeOptOut: codeToBase64(codeOptOut),\n codeOnPageLoad: codeToBase64(codeOnPageLoad),\n noTechnicalDefinitions: noTechnicalDefinitions,\n codeDynamics: JSON.stringify(codeDynamics),\n // Still hold the data of `technicalDefinitions` in database so it is not cleared when activating this option\n technicalDefinitions: JSON.stringify(noTechnicalDefinitions ? initialValues.technicalDefinitions : technicalDefinitions),\n consentForwardingUniqueName: consentForwardingUniqueName || slugify(name)\n });\n delete newMeta.presetCheck;\n\n if (!queried) {\n _context.next = 15;\n break;\n }\n\n cookie.setName(name);\n cookie.setStatus(status);\n cookie.setPurpose(purpose);\n cookie.setMeta(newMeta);\n cookie.setGroup(_group);\n _context.next = 13;\n return cookie.patch();\n\n case 13:\n _context.next = 20;\n break;\n\n case 15:\n _useGroup = cookieStore.groups.entries.get(_group);\n draft = new CookieModel(_useGroup.cookies, {\n title: {\n rendered: name\n },\n content: {\n rendered: purpose,\n protected: false\n },\n status: status,\n meta: _objectSpread(_objectSpread({}, newMeta), {}, {\n presetId: preset === null || preset === void 0 ? void 0 : preset.identifier,\n presetVersion: preset === null || preset === void 0 ? void 0 : preset.version\n })\n });\n _context.next = 19;\n return draft.persist();\n\n case 19:\n onCreated === null || onCreated === void 0 ? void 0 : onCreated(draft);\n\n case 20:\n setHasChanges(false);\n\n _message.success(__(\"You have successfully saved the service.\") + (createContentBlocker ? \" \".concat(__(\"Continue with the corresponding Content Blocker!\")) : \"\")); // Navigate back after creation\n\n\n navigateAfterCreation && setTimeout(function () {\n return createContentBlocker ? // Navigate to content blocker form and forward `navigateAfterCreation` if given\n history.push(\"/blocker/new?force=\".concat(createContentBlockerId || preset.identifier, \"&cookieCreationPrompt=1\").concat(typeof navigateAfterCreation === \"string\" ? \"&navigateAfterCreation=\".concat(encodeURIComponent(navigateAfterCreation)) : \"\")) : // Navigate back to overview or custom link\n typeof navigateAfterCreation === \"string\" ? window.location.href = navigateAfterCreation : history.push(\"\".concat(link.slice(1), \"/\").concat(_group));\n }, 0);\n _context.next = 29;\n break;\n\n case 25:\n _context.prev = 25;\n _context.t0 = _context[\"catch\"](0);\n\n _message.error(_context.t0.responseJSON.message);\n\n throw _context.t0;\n\n case 29:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, null, [[0, 25]]);\n }));\n\n return function (_x) {\n return _ref3.apply(this, arguments);\n };\n }(), [queried, cookie, cookieStore, useEncodedStringForScriptInputs]);\n var onFinish = useCallback( /*#__PURE__*/function () {\n var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(values) {\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n setIsBusy(true);\n _context2.prev = 1;\n _context2.next = 4;\n return handleSave(values);\n\n case 4:\n _context2.next = 8;\n break;\n\n case 6:\n _context2.prev = 6;\n _context2.t0 = _context2[\"catch\"](1);\n\n case 8:\n _context2.prev = 8;\n setIsBusy(false);\n return _context2.finish(8);\n\n case 11:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2, null, [[1, 6, 8, 11]]);\n }));\n\n return function (_x2) {\n return _ref4.apply(this, arguments);\n };\n }(), [form, handleSave]);\n var onFinishFailed = useCallback(function (errorInfo) {\n _message.error(__(\"The service could not be saved due to missing/invalid form values.\"));\n\n if (errorInfo.errorFields.length) {\n form.scrollToField(errorInfo.errorFields[0].name, {\n behavior: \"smooth\",\n block: \"center\"\n });\n }\n }, []);\n var handleBeforeUnload = useCallback(function () {\n if (!hasChanges) {\n return true;\n }\n\n return __('You have unsaved changes. If you click on \"confirm\", your changes will be discarded.');\n }, [form, initialValues]);\n\n if (queried && !fetched) {\n return /*#__PURE__*/React.createElement(_Skeleton, {\n active: true,\n paragraph: {\n rows: 8\n }\n });\n }\n\n return /*#__PURE__*/React.createElement(_Spin, {\n spinning: isBusy || (presetModel === null || presetModel === void 0 ? void 0 : presetModel.busy) || false\n }, /*#__PURE__*/React.createElement(Prompt, {\n message: handleBeforeUnload\n }), /*#__PURE__*/React.createElement(_Form, _extends({\n name: \"cookie-\".concat(group.key, \"-\").concat(id),\n form: form\n }, CookieEditFormLayout, {\n initialValues: initialValues,\n onFinish: onFinish,\n onFinishFailed: onFinishFailed,\n onValuesChange: function onValuesChange(_ref5) {\n var technicalDefinitions = _ref5.technicalDefinitions;\n setHasChanges(true); // Listen to `sessionDuration` changes and validate the `required` field\n // Listen to `type` changes and validate the technical host field\n\n var td = (technicalDefinitions || []).filter(Boolean);\n\n if (td.length === 1) {\n var tdChangedKeys = Object.keys(td[0]);\n\n if (tdChangedKeys.length === 1 && [\"sessionDuration\", \"type\"].indexOf(tdChangedKeys[0]) > -1) {\n setTimeout(function () {\n return form.validateFields();\n }, 100); // wait a bit so there are not false-positives\n }\n }\n }\n }), /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues.group !== nextValues.group;\n }\n }, function (_ref6) {\n var _presetModel$attribut3;\n\n var getFieldValue = _ref6.getFieldValue;\n return /*#__PURE__*/React.createElement(CookieEditFormGeneralFields, {\n groupNotices: [{\n message: presetModel && typeof useGroup === \"number\" && getFieldValue(\"group\") !== useGroup ? __(\"The groups specified in service templates were chosen wisely. Are you sure that this service should be assigned to another group for your case?\") : undefined,\n severity: \"warning\"\n }, {\n message: (attributes === null || attributes === void 0 ? void 0 : attributes.groupNotice) || (presetModel === null || presetModel === void 0 ? void 0 : (_presetModel$attribut3 = presetModel.attributes) === null || _presetModel$attribut3 === void 0 ? void 0 : _presetModel$attribut3.groupNotice),\n severity: \"info\"\n }],\n providerPrivacyPolicyNotices: [{\n message: !fetched && presetModel !== null && presetModel !== void 0 && presetModel.attributes && !initialValues.providerPrivacyPolicy ? __('You have not yet set a privacy policy in the settings, so this field could not be filled in automatically. Please enter the URL of your privacy policy here and <a href=\"%s\" target=\"_blank\">set the corresponding page in your settings.</a>', \"#/settings\") : undefined,\n severity: \"warning\"\n }],\n showNoticePresetGroupNotFound: useGroup === \"preset-group-not-found\" ? attributes.group : false\n });\n }), /*#__PURE__*/React.createElement(CookieEditFormTechnicalFields, null), /*#__PURE__*/React.createElement(CookieEditFormHandlingFields, {\n dynamicFields: (attributes === null || attributes === void 0 ? void 0 : attributes.dynamicFields) || (presetModel === null || presetModel === void 0 ? void 0 : (_presetModel$attribut4 = presetModel.attributes) === null || _presetModel$attribut4 === void 0 ? void 0 : _presetModel$attribut4.dynamicFields),\n notices: [{\n message: (attributes === null || attributes === void 0 ? void 0 : attributes.technicalHandlingNotice) || (presetModel === null || presetModel === void 0 ? void 0 : (_presetModel$attribut5 = presetModel.attributes) === null || _presetModel$attribut5 === void 0 ? void 0 : _presetModel$attribut5.technicalHandlingNotice),\n severity: \"info\"\n }, {\n // Example: Hotjar (hidden content blocker)\n message: showOptInNoticeScanned && !allowContentBlockerCreation && __(\"If you have already used %s before creating this service, please deactivate the script/plugin with which the service was loaded so far. The opt-in script will now take care of the correct integration.\", presetModel.data.attributes_name),\n severity: \"warning\"\n }, {\n // Example: Google Analytics (scanned, found in custom script (e.g. `functions.php`))\n message: showOptInNoticeScanned && allowContentBlockerCreation && __('You are currently embedding \"%1$s\" outside of Real Cookie Banner. You can have it blocked via a content blocker before consenting. Alternatively, you can use the following opt-in script to load %1$s directly into Real Cookie Banner.<br /><br />If you want to embed \"%1$s\" via Real Cookie Banner, you have to deactivate the content blocker at the end of the form and remove \"%1$s\" outside Real Cookie Banner.<br /><br />If you prefer to keep the current integration, you only have to delete the opt-in script in this form.', presetModel.data.attributes_name),\n severity: \"warning\"\n }].filter(function (_ref7) {\n var message = _ref7.message;\n return message;\n })\n }), !!preset && /*#__PURE__*/React.createElement(React.Fragment, null, allowContentBlockerCreation && navigateAfterCreation && /*#__PURE__*/React.createElement(_Form.Item, {\n wrapperCol: {\n offset: CookieEditFormLayout.labelCol.span\n }\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues.group !== nextValues.group;\n }\n }, function (_ref8) {\n var getFieldValue = _ref8.getFieldValue;\n return /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n name: \"createContentBlocker\",\n valuePropName: \"checked\",\n dependencies: [\"group\"],\n rules: [{\n validator: function validator(_, value) {\n return getFieldValue(\"group\") === essentialGroup.key && value ? Promise.reject(__('Services that should be associated with a content blocker cannot be in the \"Essential\" group, because it cannot be rejected.')) : Promise.resolve();\n }\n }]\n }, /*#__PURE__*/React.createElement(_Checkbox, null, __(\"Create content blocker for this service.\")));\n }), /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues.createContentBlocker !== nextValues.createContentBlocker;\n }\n }, function (_ref9) {\n var getFieldValue = _ref9.getFieldValue;\n return /*#__PURE__*/React.createElement(React.Fragment, null, getFieldValue(\"createContentBlocker\") && /*#__PURE__*/React.createElement(React.Fragment, null, Object.keys(preset.contentBlockerPresets).length > 1 && /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n name: \"createContentBlockerId\",\n rules: [{\n required: true,\n message: __(\"Please select a template for the Content Blocker!\")\n }]\n }, /*#__PURE__*/React.createElement(_Select, {\n style: {\n maxWidth: 500,\n marginTop: 10,\n display: \"block\"\n },\n placeholder: __(\"Select Content Blocker template...\")\n }, Object.keys(preset.contentBlockerPresets).map(function (contentBlockerId) {\n return /*#__PURE__*/React.createElement(_Select.Option, {\n key: contentBlockerId,\n value: contentBlockerId\n }, preset.contentBlockerPresets[contentBlockerId]);\n }))), /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-info below-h2 notice-alt\",\n style: {\n marginTop: 10\n }\n }, /*#__PURE__*/React.createElement(\"p\", null, __(\"Immediately after submitting this form you will be forwarded to another form that allows you to create the Content Blocker.\")))), !!createContentBlockerNotice && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-info below-h2 notice-alt\"\n }, /*#__PURE__*/React.createElement(\"p\", {\n dangerouslySetInnerHTML: {\n __html: createContentBlockerNotice\n }\n })));\n })), /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"presetCheck\",\n valuePropName: \"checked\",\n required: true,\n rules: [{\n type: \"boolean\",\n required: true,\n transform: function transform(value) {\n return value || undefined;\n },\n message: __(\"Please confirm that you have checked the contents of the service.\")\n }],\n wrapperCol: {\n offset: CookieEditFormLayout.labelCol.span\n }\n }, /*#__PURE__*/React.createElement(_Checkbox, null, __(\"I have checked the information in the service template myself and added any missing information or corrected any information that does not fit to my use case.\"), \" \", /*#__PURE__*/React.createElement(LearnMoreTag, {\n url: __(\"https://devowl.io/knowledge-base/is-real-cookie-banner-legally-compliant/\")\n })))), /*#__PURE__*/React.createElement(_Form.Item, {\n className: \"rcb-form-sticky-submit\"\n }, /*#__PURE__*/React.createElement(\"span\", null, /*#__PURE__*/React.createElement(\"input\", {\n type: \"submit\",\n className: \"button button-primary right\",\n value: __(\"Save\")\n })))));\n});\nexport { CookieEditFormLayout, technicalDefinitionDefaults, CookieEditForm };","import _Form from \"antd/es/form\";\n\nvar FormHeadline = function FormHeadline(_ref) {\n var children = _ref.children,\n description = _ref.description,\n offset = _ref.offset;\n return /*#__PURE__*/React.createElement(_Form.Item, {\n wrapperCol: {\n offset: offset\n },\n style: {\n borderBottom: \"1px solid #e7e7e7\"\n }\n }, /*#__PURE__*/React.createElement(\"h3\", {\n style: {\n margin: \"0 0 \".concat(description ? 3 : 15, \"px 0\")\n }\n }, children), !!description && /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\",\n style: {\n marginBottom: 15\n }\n }, description));\n};\n\nexport { FormHeadline };","import { useLocation } from \"react-router-dom\";\nimport { Url } from \"@devowl-wp/utils\";\n/**\n * Allows to parse query arguments from the `react-router` string.\n */\n\nfunction useLocationQuery() {\n return new Url(\"/\".concat(useLocation().search), true).query;\n}\n\nexport { useLocationQuery };","import { useRouteMatch } from \"react-router-dom\";\nimport { useStores } from \"../store\";\nimport { useCallback } from \"react\";\nimport { CookieGroupModel } from \"../models\";\n\nvar useRouteCookieGroup = function useRouteCookieGroup() {\n var _useRouteMatch = useRouteMatch(),\n cookieGroup = _useRouteMatch.params.cookieGroup;\n\n var _useStores = useStores(),\n cookieStore = _useStores.cookieStore; // Get cookie group or return draft object\n\n\n var id = isNaN(+cookieGroup) ? 0 : +cookieGroup;\n var queried = !!cookieGroup;\n var group = cookieStore.groups.entries.get(id) || new CookieGroupModel(cookieStore.groups, {\n id: 0\n });\n var link = \"#/cookies\";\n var editLink = useCallback(function (_ref) {\n var key = _ref.key;\n return \"#/cookies/\".concat(group.key, \"/edit/\").concat(key);\n }, [group]);\n var addCookieLink = \"#/cookies/\".concat(group.key, \"/new\");\n return {\n group: group,\n id: id,\n queried: queried,\n fetched: group.key !== 0,\n link: link,\n editLink: editLink,\n addCookieLink: addCookieLink\n };\n};\n\nexport { useRouteCookieGroup };","function getCookieTypeLocalized() {\n return {\n http: {\n name: \"HTTP Cookie\",\n abbr: \"HTTP\",\n backgroundColor: \"black\"\n },\n local: {\n name: \"Local Storage\",\n abbr: \"Local\",\n backgroundColor: \"#b3983c\"\n },\n session: {\n name: \"Session Storage\",\n abbr: \"Session\",\n backgroundColor: \"#3c99b3\"\n },\n flash: {\n name: \"Flash Local Shared Object\",\n abbr: \"Flash\",\n backgroundColor: \"#b33c3c\"\n },\n indexedDb: {\n name: \"IndexedDB\",\n abbr: \"I-DB\",\n backgroundColor: \"#4ab33c\"\n }\n };\n}\n\nexport { getCookieTypeLocalized };"],"names":["base64EncodeUnicodeSafe","str","btoa","encodeURIComponent","replace","match","p1","String","fromCharCode","parseInt","slugify","toLowerCase","from","i","l","length","RegExp","charAt","useRouteCookie","routeGroup","useRouteCookieGroup","group","params","useRouteMatch","id","isNaN","cookie","queried","cookies","entries","get","fetched","key","Notices","_ref","notices","React","createElement","Fragment","map","_ref2","message","severity","className","concat","dangerouslySetInnerHTML","__html","CookieEditFormGeneralFields","_cookie$presetModel","_cookie$presetModel$d","_ref$showNoticePreset","showNoticePresetGroupNotFound","groupNotices","providerPrivacyPolicyNotices","_useStores","_useStores$cookieStor","cookieStore","groups","essentialGroup","_useStores$optionStor","optionStore","ePrivacyUSA","consentForwarding","_useRouteCookie","isRealCookieBannerPreset","presetModel","data","identifier","findByUniqueCookieName","useCallback","_callee","slug","_context","prev","next","request","location","abrupt","sent","filter","d","ID","t0","undefined","stop","_x","apply","this","arguments","validateUniqueCookieName","_ref3","_callee2","allowOverwrite","found","_consentForwardingUniqueName","matchRegexp","foundGenerated","_context2","__","metas","consentForwardingUniqueName","_","g1","g2","_x2","_x3","offset","CookieEditFormLayout","labelCol","span","url","label","required","name","noStyle","rules","value","sortedGroups","_ref4","_ref4$data","autoSize","minRows","_i","a","href","target","rel","type","shouldUpdate","prevValues","nextValues","_ref5","_validator","getFieldValue","setFieldsValue","isEssentialGroup","style","display","validateTrigger","validator","_callee3","_context3","_x4","_x5","placeholder","disabled","margin","strong","_ref6","valuePropName","WP_LIST_TABLE_FORM_ITEM_PROPS","wrapperCol","CookieEditFormTechnicalFields","cookieTypeLocalized","noTechnicalDefinitions","technicalDefinitions","fields","add","remove","description","marginBottom","width","title","code","QuestionCircleFilled","align","field","fieldKey","Object","keys","_prevValues$technical","_nextValues$technical","cookieName","r","Array","isArray","test","_prevValues$technical2","_nextValues$technical2","indexOf","isUrl","Promise","resolve","reject","_prevValues$technical3","_nextValues$technical3","host","startsWith","substr","_prevValues$technical4","_nextValues$technical4","float","marginTop","_prevValues$technical5","_nextValues$technical5","sessionDuration","_ref7","min","addonAfter","maxWidth","onClick","DeleteOutlined","colSpan","technicalDefinitionDefaults","PlusOutlined","CookieEditFormManagerFields","manager","onlyWhenManagerIs","hasManagerAttributeName","thisIsManagerAttributeName","inEventNameAttributeName","outEventNameAttributeName","setCookiesViaManager","hasManager","isPro","others","curValues","isActive","active","inEventName","outEventName","addonBefore","marginRight","DYNAMICS_VARIABLE_REGEXP","DYNAMICS_SEARCH_IN","CookieEditFormCodeDynamics","dynamicFields","k","Boolean","searchInResolved","join","matches","matchAll","added","formName","_ref5$invalidMessage","invalidMessage","example","expression","hint","push","pattern","NoticeFormItemContainsSkipIfActiveAttribute","activePlugins","activePluginKeys","useMemo","split","plugin","flat","uniq","CookieEditFormHandlingFields","createHiddenFormItemsWithCodeMirror","visible","opacity","height","thisIsGoogleTagManager","u","thisIsMatomoTagManager","settings","window","cm_settings","duration","durationUnit","CookieEditForm","_cookieStore$groups$s","_cookieStore$groups$s2","_presetModel$attribut","_presetModel$attribut2","_presetModel$attribut4","_presetModel$attribut5","preset","attributes","_ref$navigateAfterCre","navigateAfterCreation","_ref$scrollToTop","scrollToTop","onCreated","_useRouteCookie$route","link","_Form$useForm","form","_useState","useState","_useState2","isBusy","setIsBusy","_useState3","_useState4","hasChanges","setHasChanges","history","useHistory","useEncodedStringForScriptInputs","presetsCookie","useGroup","allowContentBlockerCreation","contentBlockerPresets","createContentBlockerNotice","showOptInNoticeScanned","scanned","codeOptIn","initialValues","raw","status","purpose","content","provider","meta","providerPrivacyPolicy","legalBasis","JSON","parse","stringify","codeDynamics","googleTagManagerInEventName","googleTagManagerOutEventName","matomoTagManagerInEventName","matomoTagManagerOutEventName","codeOptInNoGoogleTagManager","codeOptInNoMatomoTagManager","codeOptOut","codeOptOutNoGoogleTagManager","codeOptOutNoMatomoTagManager","codeOnPageLoad","codeOptOutDelete","createContentBlocker","deactivateAutomaticContentBlockerCreation","createContentBlockerId","presetCheck","useEffect","getSingle","context","fetchAttributes","scrollTo","handleSave","values","codeToBase64","_group","newMeta","_useGroup","draft","setName","setStatus","setPurpose","setMeta","setGroup","patch","rendered","protected","presetId","presetVersion","version","persist","setTimeout","slice","responseJSON","onFinish","finish","onFinishFailed","errorInfo","errorFields","scrollToField","behavior","block","handleBeforeUnload","paragraph","rows","spinning","busy","Prompt","onValuesChange","td","tdChangedKeys","validateFields","_presetModel$attribut3","groupNotice","technicalHandlingNotice","attributes_name","_ref8","dependencies","_ref9","contentBlockerId","transform","FormHeadline","children","borderBottom","useLocationQuery","Url","useLocation","search","query","cookieGroup","editLink","addCookieLink","getCookieTypeLocalized","http","abbr","backgroundColor","local","session","flash","indexedDb"],"sourceRoot":""}
 
public/dist/547.lite.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";(self.webpackChunkrealCookieBanner_name_=self.webpackChunkrealCookieBanner_name_||[]).push([[547],{9455:function(e,t,a){a.d(t,{ZM:function(){return x},ZP:function(){return w}});var n=a(7870),r=a(4741),c=a(63),l=a(7228),i=a(3429),o=a(7363),s=a(2286),m=a.n(s),u=a(9591),f=a(5806),v=a(5e3),d=a(4178),p=a(754),g=a(9388),h=a(2275),Z=a(8929),y=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]])}return a},E=function(e){var t,a=e.prefixCls,n=e.children,l=e.actions,i=e.extra,s=e.className,u=e.colStyle,f=y(e,["prefixCls","children","actions","extra","className","colStyle"]),v=o.useContext(x),p=v.grid,g=v.itemLayout,E=(0,o.useContext(d.E_).getPrefixCls)("list",a),C=l&&l.length>0&&o.createElement("ul",{className:"".concat(E,"-item-action"),key:"actions"},l.map((function(e,t){return o.createElement("li",{key:"".concat(E,"-item-action-").concat(t)},e,t!==l.length-1&&o.createElement("em",{className:"".concat(E,"-item-action-split")}))}))),N=p?"div":"li",w=o.createElement(N,(0,r.Z)({},f,{className:m()("".concat(E,"-item"),(0,c.Z)({},"".concat(E,"-item-no-flex"),!("vertical"===g?i:(o.Children.forEach(n,(function(e){"string"==typeof e&&(t=!0)})),!(t&&o.Children.count(n)>1)))),s)}),"vertical"===g&&i?[o.createElement("div",{className:"".concat(E,"-item-main"),key:"content"},n,C),o.createElement("div",{className:"".concat(E,"-item-extra"),key:"extra"},i)]:[n,C,(0,Z.Tm)(i,{key:"extra"})]);return p?o.createElement(h.Z,{flex:1,style:u},w):w};E.Meta=function(e){var t=e.prefixCls,a=e.className,n=e.avatar,c=e.title,l=e.description,i=y(e,["prefixCls","className","avatar","title","description"]),s=(0,o.useContext(d.E_).getPrefixCls)("list",t),u=m()("".concat(s,"-item-meta"),a),f=o.createElement("div",{className:"".concat(s,"-item-meta-content")},c&&o.createElement("h4",{className:"".concat(s,"-item-meta-title")},c),l&&o.createElement("div",{className:"".concat(s,"-item-meta-description")},l));return o.createElement("div",(0,r.Z)({},i,{className:u}),n&&o.createElement("div",{className:"".concat(s,"-item-meta-avatar")},n),(c||l)&&f)};var C=E,x=o.createContext({});function N(e){var t,a=e.pagination,s=void 0!==a&&a,h=e.prefixCls,Z=e.bordered,y=void 0!==Z&&Z,E=e.split,C=void 0===E||E,N=e.className,w=e.children,b=e.itemLayout,P=e.loadMore,k=e.grid,z=e.dataSource,S=void 0===z?[]:z,O=e.size,q=e.header,M=e.footer,j=e.loading,I=void 0!==j&&j,_=e.rowKey,L=e.renderItem,A=e.locale,B=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]])}return a}(e,["pagination","prefixCls","bordered","split","className","children","itemLayout","loadMore","grid","dataSource","size","header","footer","loading","rowKey","renderItem","locale"]),H=s&&"object"===(0,i.Z)(s)?s:{},K=o.useState(H.defaultCurrent||1),T=(0,l.Z)(K,2),W=T[0],D=T[1],F=o.useState(H.defaultPageSize||10),G=(0,l.Z)(F,2),J=G[0],Q=G[1],R=o.useContext(d.E_),U=R.getPrefixCls,V=R.renderEmpty,X=R.direction,Y={},$=function(e){return function(t,a){D(t),Q(a),s&&s[e]&&s[e](t,a)}},ee=$("onChange"),te=$("onShowSizeChange"),ae=U("list",h),ne=I;"boolean"==typeof ne&&(ne={spinning:ne});var re=ne&&ne.spinning,ce="";switch(O){case"large":ce="lg";break;case"small":ce="sm"}var le=m()(ae,(t={},(0,c.Z)(t,"".concat(ae,"-vertical"),"vertical"===b),(0,c.Z)(t,"".concat(ae,"-").concat(ce),ce),(0,c.Z)(t,"".concat(ae,"-split"),C),(0,c.Z)(t,"".concat(ae,"-bordered"),y),(0,c.Z)(t,"".concat(ae,"-loading"),re),(0,c.Z)(t,"".concat(ae,"-grid"),!!k),(0,c.Z)(t,"".concat(ae,"-something-after-last-item"),!!(P||s||M)),(0,c.Z)(t,"".concat(ae,"-rtl"),"rtl"===X),t),N),ie=(0,r.Z)((0,r.Z)((0,r.Z)({},{current:1,total:0}),{total:S.length,current:W,pageSize:J}),s||{}),oe=Math.ceil(ie.total/ie.pageSize);ie.current>oe&&(ie.current=oe);var se=s?o.createElement("div",{className:"".concat(ae,"-pagination")},o.createElement(p.Z,(0,r.Z)({},ie,{onChange:ee,onShowSizeChange:te}))):null,me=(0,n.Z)(S);s&&S.length>(ie.current-1)*ie.pageSize&&(me=(0,n.Z)(S).splice((ie.current-1)*ie.pageSize,ie.pageSize));var ue=(0,f.Z)(),fe=o.useMemo((function(){for(var e=0;e<v.c4.length;e+=1){var t=v.c4[e];if(ue[t])return t}}),[ue]),ve=o.useMemo((function(){if(k){var e=fe&&k[fe]?k[fe]:k.column;return e?{width:"".concat(100/e,"%"),maxWidth:"".concat(100/e,"%")}:void 0}}),[null==k?void 0:k.column,fe]),de=re&&o.createElement("div",{style:{minHeight:53}});if(me.length>0){var pe=me.map((function(e,t){return function(e,t){return L?((a="function"==typeof _?_(e):"string"==typeof _?e[_]:e.key)||(a="list-item-".concat(t)),Y[t]=a,L(e,t)):null;var a}(e,t)})),ge=o.Children.map(pe,(function(e,t){return o.createElement("div",{key:Y[t],style:ve},e)}));de=k?o.createElement(g.Z,{gutter:k.gutter},ge):o.createElement("ul",{className:"".concat(ae,"-items")},pe)}else w||re||(de=function(e,t){return o.createElement("div",{className:"".concat(e,"-empty-text")},A&&A.emptyText||t("List"))}(ae,V));var he=ie.position||"bottom";return o.createElement(x.Provider,{value:{grid:k,itemLayout:b}},o.createElement("div",(0,r.Z)({className:le},B),("top"===he||"both"===he)&&se,q&&o.createElement("div",{className:"".concat(ae,"-header")},q),o.createElement(u.Z,ne,de,w),M&&o.createElement("div",{className:"".concat(ae,"-footer")},M),P||("bottom"===he||"both"===he)&&se))}x.Consumer,N.Item=C;var w=N},6142:function(e,t,a){a.d(t,{Z:function(){return N}});var n=a(63),r=a(4741),c=a(3429),l=a(7363),i=a(2286),o=a.n(i),s=function(e){var t=e.prefixCls,a=e.className,n=e.width,c=e.style;return l.createElement("h3",{className:o()(t,a),style:(0,r.Z)({width:n},c)})},m=a(7870),u=function(e){var t=function(t){var a=e.width,n=e.rows,r=void 0===n?2:n;return Array.isArray(a)?a[t]:r-1===t?a:void 0},a=e.prefixCls,n=e.className,r=e.style,c=e.rows,i=(0,m.Z)(Array(c)).map((function(e,a){return l.createElement("li",{key:a,style:{width:t(a)}})}));return l.createElement("ul",{className:o()(a,n),style:r},i)},f=a(4178),v=function(e){var t,a,c=e.prefixCls,i=e.className,s=e.style,m=e.size,u=e.shape,f=o()((t={},(0,n.Z)(t,"".concat(c,"-lg"),"large"===m),(0,n.Z)(t,"".concat(c,"-sm"),"small"===m),t)),v=o()((a={},(0,n.Z)(a,"".concat(c,"-circle"),"circle"===u),(0,n.Z)(a,"".concat(c,"-square"),"square"===u),(0,n.Z)(a,"".concat(c,"-round"),"round"===u),a)),d="number"==typeof m?{width:m,height:m,lineHeight:"".concat(m,"px")}:{};return l.createElement("span",{className:o()(c,f,v,i),style:(0,r.Z)((0,r.Z)({},d),s)})},d=a(733),p=function(e){var t=function(t){var a=t.getPrefixCls,c=e.prefixCls,i=e.className,s=e.active,m=a("skeleton",c),u=(0,d.Z)(e,["prefixCls"]),f=o()(m,"".concat(m,"-element"),(0,n.Z)({},"".concat(m,"-active"),s),i);return l.createElement("div",{className:f},l.createElement(v,(0,r.Z)({prefixCls:"".concat(m,"-avatar")},u)))};return l.createElement(f.C,null,t)};p.defaultProps={size:"default",shape:"circle"};var g=p,h=function(e){var t=function(t){var a=t.getPrefixCls,c=e.prefixCls,i=e.className,s=e.active,m=a("skeleton",c),u=(0,d.Z)(e,["prefixCls"]),f=o()(m,"".concat(m,"-element"),(0,n.Z)({},"".concat(m,"-active"),s),i);return l.createElement("div",{className:f},l.createElement(v,(0,r.Z)({prefixCls:"".concat(m,"-button")},u)))};return l.createElement(f.C,null,t)};h.defaultProps={size:"default"};var Z=h,y=function(e){var t=function(t){var a=t.getPrefixCls,c=e.prefixCls,i=e.className,s=e.active,m=a("skeleton",c),u=(0,d.Z)(e,["prefixCls"]),f=o()(m,"".concat(m,"-element"),(0,n.Z)({},"".concat(m,"-active"),s),i);return l.createElement("div",{className:f},l.createElement(v,(0,r.Z)({prefixCls:"".concat(m,"-input")},u)))};return l.createElement(f.C,null,t)};y.defaultProps={size:"default"};var E=y;function C(e){return e&&"object"===(0,c.Z)(e)?e:{}}var x=function(e){var t=function(t){var a=t.getPrefixCls,c=t.direction,i=e.prefixCls,m=e.loading,f=e.className,d=e.children,p=e.avatar,g=e.title,h=e.paragraph,Z=e.active,y=e.round,E=a("skeleton",i);if(m||!("loading"in e)){var x,N,w,b=!!p,P=!!g,k=!!h;if(b){var z=(0,r.Z)((0,r.Z)({prefixCls:"".concat(E,"-avatar")},function(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}(P,k)),C(p));N=l.createElement("div",{className:"".concat(E,"-header")},l.createElement(v,z))}if(P||k){var S,O;if(P){var q=(0,r.Z)((0,r.Z)({prefixCls:"".concat(E,"-title")},function(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}(b,k)),C(g));S=l.createElement(s,q)}if(k){var M=(0,r.Z)((0,r.Z)({prefixCls:"".concat(E,"-paragraph")},function(e,t){var a={};return e&&t||(a.width="61%"),a.rows=!e&&t?3:2,a}(b,P)),C(h));O=l.createElement(u,M)}w=l.createElement("div",{className:"".concat(E,"-content")},S,O)}var j=o()(E,(x={},(0,n.Z)(x,"".concat(E,"-with-avatar"),b),(0,n.Z)(x,"".concat(E,"-active"),Z),(0,n.Z)(x,"".concat(E,"-rtl"),"rtl"===c),(0,n.Z)(x,"".concat(E,"-round"),y),x),f);return l.createElement("div",{className:j},N,w)}return d};return l.createElement(f.C,null,t)};x.defaultProps={avatar:!1,title:!0,paragraph:!0},x.Button=Z,x.Avatar=g,x.Input=E,x.Image=function(e){var t=function(t){var a=t.getPrefixCls,n=e.prefixCls,r=e.className,c=e.style,i=a("skeleton",n),s=o()(i,"".concat(i,"-element"),r);return l.createElement("div",{className:s},l.createElement("div",{className:o()("".concat(i,"-image"),r),style:c},l.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(i,"-image-svg")},l.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:"".concat(i,"-image-path")}))))};return l.createElement(f.C,null,t)};var N=x}}]);
2
- //# sourceMappingURL=547.lite.js.map?ver=7b5925702aa799ec461c
 
 
public/dist/547.lite.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"547.lite.js?ver=7b5925702aa799ec461c","mappings":"6VAGIA,EAAgC,SAAUC,EAAGC,GAC/C,IAAIC,EAAI,GAER,IAAK,IAAIC,KAAKH,EACRI,OAAOC,UAAUC,eAAeC,KAAKP,EAAGG,IAAMF,EAAEO,QAAQL,GAAK,IAAGD,EAAEC,GAAKH,EAAEG,IAG/E,GAAS,MAALH,GAAqD,mBAAjCI,OAAOK,sBAA2C,KAAIC,EAAI,EAAb,IAAgBP,EAAIC,OAAOK,sBAAsBT,GAAIU,EAAIP,EAAEQ,OAAQD,IAClIT,EAAEO,QAAQL,EAAEO,IAAM,GAAKN,OAAOC,UAAUO,qBAAqBL,KAAKP,EAAGG,EAAEO,MAAKR,EAAEC,EAAEO,IAAMV,EAAEG,EAAEO,KAEhG,OAAOR,GAoCLW,EAAO,SAAcC,GACvB,IAgBMC,EAhBFC,EAAqBF,EAAGG,UACxBC,EAAWJ,EAAGI,SACdC,EAAUL,EAAGK,QACbC,EAAQN,EAAGM,MACXC,EAAYP,EAAGO,UACfC,EAAWR,EAAGQ,SACdC,EAASxB,EAAOe,EAAI,CAAC,YAAa,WAAY,UAAW,QAAS,YAAa,aAE/EU,EAAqB,aAAiBC,GACtCC,EAAOF,EAAmBE,KAC1BC,EAAaH,EAAmBG,WAuBhCV,GAAYW,EArBS,aAAiB,MACJA,cAoBT,OAAQZ,GACjCa,EAAiBV,GAAWA,EAAQR,OAAS,GAAkB,gBAAoB,KAAM,CAC3FU,UAAW,GAAGS,OAAOb,EAAW,gBAChCc,IAAK,WACJZ,EAAQa,KAAI,SAAUC,EAAQvB,GAC/B,OAGE,gBAAoB,KAAM,CACxBqB,IAAK,GAAGD,OAAOb,EAAW,iBAAiBa,OAAOpB,IACjDuB,EAAQvB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a,GAAGhB,OAAOb,EAAW,gBAAiBgJ,IAAY,OAAgBnH,EAAa,GAAGhB,OAAOb,EAAW,WAAY8H,IAAS,OAAgBjG,EAAa,GAAGhB,OAAOb,EAAW,QAAuB,QAAd6D,IAAsB,OAAgBhC,EAAa,GAAGhB,OAAOb,EAAW,UAAW6I,GAAQhH,GAAczB,GAC7W,OAAoB,gBAAoB,MAAO,CAC7CA,UAAW6H,GACVa,EAAYC,GAGjB,OAAO9I,GAGT,OAAoB,gBAAoB,EAAAiI,EAAgB,KAAMS,IAGhED,EAASP,aAAe,CACtB5G,QAAQ,EACRC,OAAO,EACPoH,WAAW,GAEbF,EAASkB,OAAS,EAClBlB,EAASmB,OAAS,EAClBnB,EAASoB,MAAQ,EACjBpB,EAASqB,MCtJW,SAAuBjD,GACzC,IAAIkD,EAAsB,SAA6BnD,GACrD,IAAIlG,EAAekG,EAAKlG,aACpBZ,EAAqB+G,EAAM9G,UAC3BI,EAAY0G,EAAM1G,UAClBiB,EAAQyF,EAAMzF,MACdrB,EAAYW,EAAa,WAAYZ,GACrCkI,EAAM,IAAWjI,EAAW,GAAGa,OAAOb,EAAW,YAAaI,GAClE,OAAoB,gBAAoB,MAAO,CAC7CA,UAAW6H,GACG,gBAAoB,MAAO,CACzC7H,UAAW,IAAW,GAAGS,OAAOb,EAAW,UAAWI,GACtDiB,MAAOA,GACO,gBAAoB,MAAO,CACzC4I,QAAS,gBACTC,MAAO,6BACP9J,UAAW,GAAGS,OAAOb,EAAW,eAClB,gBAAoB,OAAQ,CAC1CmK,EApBK,k3BAqBL/J,UAAW,GAAGS,OAAOb,EAAW,qBAIpC,OAAoB,gBAAoB,EAAAkI,EAAgB,KAAM8B,IDgIhE,IE3JA,EF2JA","sources":["webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/list/Item.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/list/index.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/skeleton/Title.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/skeleton/Paragraph.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/skeleton/Element.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/skeleton/Avatar.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/skeleton/Button.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/skeleton/Input.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/skeleton/Skeleton.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/skeleton/Image.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/skeleton/index.js"],"sourcesContent":["import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { ListContext } from './index';\nimport { Col } from '../grid';\nimport { ConfigContext } from '../config-provider';\nimport { cloneElement } from '../_util/reactNode';\nexport var Meta = function Meta(_a) {\n var customizePrefixCls = _a.prefixCls,\n className = _a.className,\n avatar = _a.avatar,\n title = _a.title,\n description = _a.description,\n others = __rest(_a, [\"prefixCls\", \"className\", \"avatar\", \"title\", \"description\"]);\n\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n\n var prefixCls = getPrefixCls('list', customizePrefixCls);\n var classString = classNames(\"\".concat(prefixCls, \"-item-meta\"), className);\n var content = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-meta-content\")\n }, title && /*#__PURE__*/React.createElement(\"h4\", {\n className: \"\".concat(prefixCls, \"-item-meta-title\")\n }, title), description && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-meta-description\")\n }, description));\n return /*#__PURE__*/React.createElement(\"div\", _extends({}, others, {\n className: classString\n }), avatar && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-meta-avatar\")\n }, avatar), (title || description) && content);\n};\n\nvar Item = function Item(_a) {\n var customizePrefixCls = _a.prefixCls,\n children = _a.children,\n actions = _a.actions,\n extra = _a.extra,\n className = _a.className,\n colStyle = _a.colStyle,\n others = __rest(_a, [\"prefixCls\", \"children\", \"actions\", \"extra\", \"className\", \"colStyle\"]);\n\n var _React$useContext2 = React.useContext(ListContext),\n grid = _React$useContext2.grid,\n itemLayout = _React$useContext2.itemLayout;\n\n var _React$useContext3 = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext3.getPrefixCls;\n\n var isItemContainsTextNodeAndNotSingular = function isItemContainsTextNodeAndNotSingular() {\n var result;\n React.Children.forEach(children, function (element) {\n if (typeof element === 'string') {\n result = true;\n }\n });\n return result && React.Children.count(children) > 1;\n };\n\n var isFlexMode = function isFlexMode() {\n if (itemLayout === 'vertical') {\n return !!extra;\n }\n\n return !isItemContainsTextNodeAndNotSingular();\n };\n\n var prefixCls = getPrefixCls('list', customizePrefixCls);\n var actionsContent = actions && actions.length > 0 && /*#__PURE__*/React.createElement(\"ul\", {\n className: \"\".concat(prefixCls, \"-item-action\"),\n key: \"actions\"\n }, actions.map(function (action, i) {\n return (\n /*#__PURE__*/\n // eslint-disable-next-line react/no-array-index-key\n React.createElement(\"li\", {\n key: \"\".concat(prefixCls, \"-item-action-\").concat(i)\n }, action, i !== actions.length - 1 && /*#__PURE__*/React.createElement(\"em\", {\n className: \"\".concat(prefixCls, \"-item-action-split\")\n }))\n );\n }));\n var Element = grid ? 'div' : 'li';\n var itemChildren = /*#__PURE__*/React.createElement(Element, _extends({}, others, {\n // `li` element `onCopy` prop args is not same as `div`\n className: classNames(\"\".concat(prefixCls, \"-item\"), _defineProperty({}, \"\".concat(prefixCls, \"-item-no-flex\"), !isFlexMode()), className)\n }), itemLayout === 'vertical' && extra ? [/*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-main\"),\n key: \"content\"\n }, children, actionsContent), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-item-extra\"),\n key: \"extra\"\n }, extra)] : [children, actionsContent, cloneElement(extra, {\n key: 'extra'\n })]);\n return grid ? /*#__PURE__*/React.createElement(Col, {\n flex: 1,\n style: colStyle\n }, itemChildren) : itemChildren;\n};\n\nItem.Meta = Meta;\nexport default Item;","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport Spin from '../spin';\nimport useBreakpoint from '../grid/hooks/useBreakpoint';\nimport { responsiveArray } from '../_util/responsiveObserve';\nimport { ConfigContext } from '../config-provider';\nimport Pagination from '../pagination';\nimport { Row } from '../grid';\nimport Item from './Item';\nexport var ListContext = /*#__PURE__*/React.createContext({});\nexport var ListConsumer = ListContext.Consumer;\n\nfunction List(_a) {\n var _classNames;\n\n var _a$pagination = _a.pagination,\n pagination = _a$pagination === void 0 ? false : _a$pagination,\n customizePrefixCls = _a.prefixCls,\n _a$bordered = _a.bordered,\n bordered = _a$bordered === void 0 ? false : _a$bordered,\n _a$split = _a.split,\n split = _a$split === void 0 ? true : _a$split,\n className = _a.className,\n children = _a.children,\n itemLayout = _a.itemLayout,\n loadMore = _a.loadMore,\n grid = _a.grid,\n _a$dataSource = _a.dataSource,\n dataSource = _a$dataSource === void 0 ? [] : _a$dataSource,\n size = _a.size,\n header = _a.header,\n footer = _a.footer,\n _a$loading = _a.loading,\n loading = _a$loading === void 0 ? false : _a$loading,\n rowKey = _a.rowKey,\n renderItem = _a.renderItem,\n locale = _a.locale,\n rest = __rest(_a, [\"pagination\", \"prefixCls\", \"bordered\", \"split\", \"className\", \"children\", \"itemLayout\", \"loadMore\", \"grid\", \"dataSource\", \"size\", \"header\", \"footer\", \"loading\", \"rowKey\", \"renderItem\", \"locale\"]);\n\n var paginationObj = pagination && _typeof(pagination) === 'object' ? pagination : {};\n\n var _React$useState = React.useState(paginationObj.defaultCurrent || 1),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n paginationCurrent = _React$useState2[0],\n setPaginationCurrent = _React$useState2[1];\n\n var _React$useState3 = React.useState(paginationObj.defaultPageSize || 10),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n paginationSize = _React$useState4[0],\n setPaginationSize = _React$useState4[1];\n\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls,\n renderEmpty = _React$useContext.renderEmpty,\n direction = _React$useContext.direction;\n\n var defaultPaginationProps = {\n current: 1,\n total: 0\n };\n var keys = {};\n\n var triggerPaginationEvent = function triggerPaginationEvent(eventName) {\n return function (page, pageSize) {\n setPaginationCurrent(page);\n setPaginationSize(pageSize);\n\n if (pagination && pagination[eventName]) {\n pagination[eventName](page, pageSize);\n }\n };\n };\n\n var onPaginationChange = triggerPaginationEvent('onChange');\n var onPaginationShowSizeChange = triggerPaginationEvent('onShowSizeChange');\n\n var renderInnerItem = function renderInnerItem(item, index) {\n if (!renderItem) return null;\n var key;\n\n if (typeof rowKey === 'function') {\n key = rowKey(item);\n } else if (typeof rowKey === 'string') {\n key = item[rowKey];\n } else {\n key = item.key;\n }\n\n if (!key) {\n key = \"list-item-\".concat(index);\n }\n\n keys[index] = key;\n return renderItem(item, index);\n };\n\n var isSomethingAfterLastItem = function isSomethingAfterLastItem() {\n return !!(loadMore || pagination || footer);\n };\n\n var renderEmptyFunc = function renderEmptyFunc(prefixCls, renderEmptyHandler) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-empty-text\")\n }, locale && locale.emptyText || renderEmptyHandler('List'));\n };\n\n var prefixCls = getPrefixCls('list', customizePrefixCls);\n var loadingProp = loading;\n\n if (typeof loadingProp === 'boolean') {\n loadingProp = {\n spinning: loadingProp\n };\n }\n\n var isLoading = loadingProp && loadingProp.spinning; // large => lg\n // small => sm\n\n var sizeCls = '';\n\n switch (size) {\n case 'large':\n sizeCls = 'lg';\n break;\n\n case 'small':\n sizeCls = 'sm';\n break;\n\n default:\n break;\n }\n\n var classString = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-vertical\"), itemLayout === 'vertical'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-\").concat(sizeCls), sizeCls), _defineProperty(_classNames, \"\".concat(prefixCls, \"-split\"), split), _defineProperty(_classNames, \"\".concat(prefixCls, \"-bordered\"), bordered), _defineProperty(_classNames, \"\".concat(prefixCls, \"-loading\"), isLoading), _defineProperty(_classNames, \"\".concat(prefixCls, \"-grid\"), !!grid), _defineProperty(_classNames, \"\".concat(prefixCls, \"-something-after-last-item\"), isSomethingAfterLastItem()), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n\n var paginationProps = _extends(_extends(_extends({}, defaultPaginationProps), {\n total: dataSource.length,\n current: paginationCurrent,\n pageSize: paginationSize\n }), pagination || {});\n\n var largestPage = Math.ceil(paginationProps.total / paginationProps.pageSize);\n\n if (paginationProps.current > largestPage) {\n paginationProps.current = largestPage;\n }\n\n var paginationContent = pagination ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-pagination\")\n }, /*#__PURE__*/React.createElement(Pagination, _extends({}, paginationProps, {\n onChange: onPaginationChange,\n onShowSizeChange: onPaginationShowSizeChange\n }))) : null;\n\n var splitDataSource = _toConsumableArray(dataSource);\n\n if (pagination) {\n if (dataSource.length > (paginationProps.current - 1) * paginationProps.pageSize) {\n splitDataSource = _toConsumableArray(dataSource).splice((paginationProps.current - 1) * paginationProps.pageSize, paginationProps.pageSize);\n }\n }\n\n var screens = useBreakpoint();\n var currentBreakpoint = React.useMemo(function () {\n for (var i = 0; i < responsiveArray.length; i += 1) {\n var breakpoint = responsiveArray[i];\n\n if (screens[breakpoint]) {\n return breakpoint;\n }\n }\n\n return undefined;\n }, [screens]);\n var colStyle = React.useMemo(function () {\n if (!grid) {\n return undefined;\n }\n\n var columnCount = currentBreakpoint && grid[currentBreakpoint] ? grid[currentBreakpoint] : grid.column;\n\n if (columnCount) {\n return {\n width: \"\".concat(100 / columnCount, \"%\"),\n maxWidth: \"\".concat(100 / columnCount, \"%\")\n };\n }\n }, [grid === null || grid === void 0 ? void 0 : grid.column, currentBreakpoint]);\n var childrenContent = isLoading && /*#__PURE__*/React.createElement(\"div\", {\n style: {\n minHeight: 53\n }\n });\n\n if (splitDataSource.length > 0) {\n var items = splitDataSource.map(function (item, index) {\n return renderInnerItem(item, index);\n });\n var childrenList = React.Children.map(items, function (child, index) {\n return /*#__PURE__*/React.createElement(\"div\", {\n key: keys[index],\n style: colStyle\n }, child);\n });\n childrenContent = grid ? /*#__PURE__*/React.createElement(Row, {\n gutter: grid.gutter\n }, childrenList) : /*#__PURE__*/React.createElement(\"ul\", {\n className: \"\".concat(prefixCls, \"-items\")\n }, items);\n } else if (!children && !isLoading) {\n childrenContent = renderEmptyFunc(prefixCls, renderEmpty);\n }\n\n var paginationPosition = paginationProps.position || 'bottom';\n return /*#__PURE__*/React.createElement(ListContext.Provider, {\n value: {\n grid: grid,\n itemLayout: itemLayout\n }\n }, /*#__PURE__*/React.createElement(\"div\", _extends({\n className: classString\n }, rest), (paginationPosition === 'top' || paginationPosition === 'both') && paginationContent, header && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-header\")\n }, header), /*#__PURE__*/React.createElement(Spin, loadingProp, childrenContent, children), footer && /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-footer\")\n }, footer), loadMore || (paginationPosition === 'bottom' || paginationPosition === 'both') && paginationContent));\n}\n\nList.Item = Item;\nexport default List;","import _extends from \"@babel/runtime/helpers/esm/extends\";\n\n/* eslint-disable jsx-a11y/heading-has-content */\nimport * as React from 'react';\nimport classNames from 'classnames';\n\nvar Title = function Title(_ref) {\n var prefixCls = _ref.prefixCls,\n className = _ref.className,\n width = _ref.width,\n style = _ref.style;\n return /*#__PURE__*/React.createElement(\"h3\", {\n className: classNames(prefixCls, className),\n style: _extends({\n width: width\n }, style)\n });\n};\n\nexport default Title;","import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport * as React from 'react';\nimport classNames from 'classnames';\n\nvar Paragraph = function Paragraph(props) {\n var getWidth = function getWidth(index) {\n var width = props.width,\n _props$rows = props.rows,\n rows = _props$rows === void 0 ? 2 : _props$rows;\n\n if (Array.isArray(width)) {\n return width[index];\n } // last paragraph\n\n\n if (rows - 1 === index) {\n return width;\n }\n\n return undefined;\n };\n\n var prefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n rows = props.rows;\n\n var rowList = _toConsumableArray(Array(rows)).map(function (_, index) {\n return (\n /*#__PURE__*/\n // eslint-disable-next-line react/no-array-index-key\n React.createElement(\"li\", {\n key: index,\n style: {\n width: getWidth(index)\n }\n })\n );\n });\n\n return /*#__PURE__*/React.createElement(\"ul\", {\n className: classNames(prefixCls, className),\n style: style\n }, rowList);\n};\n\nexport default Paragraph;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport classNames from 'classnames';\n\nvar Element = function Element(props) {\n var _classNames, _classNames2;\n\n var prefixCls = props.prefixCls,\n className = props.className,\n style = props.style,\n size = props.size,\n shape = props.shape;\n var sizeCls = classNames((_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-lg\"), size === 'large'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-sm\"), size === 'small'), _classNames));\n var shapeCls = classNames((_classNames2 = {}, _defineProperty(_classNames2, \"\".concat(prefixCls, \"-circle\"), shape === 'circle'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-square\"), shape === 'square'), _defineProperty(_classNames2, \"\".concat(prefixCls, \"-round\"), shape === 'round'), _classNames2));\n var sizeStyle = typeof size === 'number' ? {\n width: size,\n height: size,\n lineHeight: \"\".concat(size, \"px\")\n } : {};\n return /*#__PURE__*/React.createElement(\"span\", {\n className: classNames(prefixCls, sizeCls, shapeCls, className),\n style: _extends(_extends({}, sizeStyle), style)\n });\n};\n\nexport default Element;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport omit from \"rc-util/es/omit\";\nimport classNames from 'classnames';\nimport { ConfigConsumer } from '../config-provider';\nimport Element from './Element';\n\nvar SkeletonAvatar = function SkeletonAvatar(props) {\n var renderSkeletonAvatar = function renderSkeletonAvatar(_ref) {\n var getPrefixCls = _ref.getPrefixCls;\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n active = props.active;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var otherProps = omit(props, ['prefixCls']);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), _defineProperty({}, \"\".concat(prefixCls, \"-active\"), active), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(Element, _extends({\n prefixCls: \"\".concat(prefixCls, \"-avatar\")\n }, otherProps)));\n };\n\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, renderSkeletonAvatar);\n};\n\nSkeletonAvatar.defaultProps = {\n size: 'default',\n shape: 'circle'\n};\nexport default SkeletonAvatar;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport omit from \"rc-util/es/omit\";\nimport classNames from 'classnames';\nimport Element from './Element';\nimport { ConfigConsumer } from '../config-provider';\n\nvar SkeletonButton = function SkeletonButton(props) {\n var renderSkeletonButton = function renderSkeletonButton(_ref) {\n var getPrefixCls = _ref.getPrefixCls;\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n active = props.active;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var otherProps = omit(props, ['prefixCls']);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), _defineProperty({}, \"\".concat(prefixCls, \"-active\"), active), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(Element, _extends({\n prefixCls: \"\".concat(prefixCls, \"-button\")\n }, otherProps)));\n };\n\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, renderSkeletonButton);\n};\n\nSkeletonButton.defaultProps = {\n size: 'default'\n};\nexport default SkeletonButton;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport omit from \"rc-util/es/omit\";\nimport classNames from 'classnames';\nimport Element from './Element';\nimport { ConfigConsumer } from '../config-provider';\n\nvar SkeletonInput = function SkeletonInput(props) {\n var renderSkeletonInput = function renderSkeletonInput(_ref) {\n var getPrefixCls = _ref.getPrefixCls;\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n active = props.active;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var otherProps = omit(props, ['prefixCls']);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), _defineProperty({}, \"\".concat(prefixCls, \"-active\"), active), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(Element, _extends({\n prefixCls: \"\".concat(prefixCls, \"-input\")\n }, otherProps)));\n };\n\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, renderSkeletonInput);\n};\n\nSkeletonInput.defaultProps = {\n size: 'default'\n};\nexport default SkeletonInput;","import _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport Title from './Title';\nimport Paragraph from './Paragraph';\nimport { ConfigConsumer } from '../config-provider';\nimport Element from './Element';\nimport SkeletonAvatar from './Avatar';\nimport SkeletonButton from './Button';\nimport SkeletonInput from './Input';\nimport SkeletonImage from './Image';\n\nfunction getComponentProps(prop) {\n if (prop && _typeof(prop) === 'object') {\n return prop;\n }\n\n return {};\n}\n\nfunction getAvatarBasicProps(hasTitle, hasParagraph) {\n if (hasTitle && !hasParagraph) {\n // Square avatar\n return {\n size: 'large',\n shape: 'square'\n };\n }\n\n return {\n size: 'large',\n shape: 'circle'\n };\n}\n\nfunction getTitleBasicProps(hasAvatar, hasParagraph) {\n if (!hasAvatar && hasParagraph) {\n return {\n width: '38%'\n };\n }\n\n if (hasAvatar && hasParagraph) {\n return {\n width: '50%'\n };\n }\n\n return {};\n}\n\nfunction getParagraphBasicProps(hasAvatar, hasTitle) {\n var basicProps = {}; // Width\n\n if (!hasAvatar || !hasTitle) {\n basicProps.width = '61%';\n } // Rows\n\n\n if (!hasAvatar && hasTitle) {\n basicProps.rows = 3;\n } else {\n basicProps.rows = 2;\n }\n\n return basicProps;\n}\n\nvar Skeleton = function Skeleton(props) {\n var renderSkeleton = function renderSkeleton(_ref) {\n var getPrefixCls = _ref.getPrefixCls,\n direction = _ref.direction;\n var customizePrefixCls = props.prefixCls,\n loading = props.loading,\n className = props.className,\n children = props.children,\n avatar = props.avatar,\n title = props.title,\n paragraph = props.paragraph,\n active = props.active,\n round = props.round;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n\n if (loading || !('loading' in props)) {\n var _classNames;\n\n var hasAvatar = !!avatar;\n var hasTitle = !!title;\n var hasParagraph = !!paragraph; // Avatar\n\n var avatarNode;\n\n if (hasAvatar) {\n var avatarProps = _extends(_extends({\n prefixCls: \"\".concat(prefixCls, \"-avatar\")\n }, getAvatarBasicProps(hasTitle, hasParagraph)), getComponentProps(avatar)); // We direct use SkeletonElement as avatar in skeleton internal.\n\n\n avatarNode = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-header\")\n }, /*#__PURE__*/React.createElement(Element, avatarProps));\n }\n\n var contentNode;\n\n if (hasTitle || hasParagraph) {\n // Title\n var $title;\n\n if (hasTitle) {\n var titleProps = _extends(_extends({\n prefixCls: \"\".concat(prefixCls, \"-title\")\n }, getTitleBasicProps(hasAvatar, hasParagraph)), getComponentProps(title));\n\n $title = /*#__PURE__*/React.createElement(Title, titleProps);\n } // Paragraph\n\n\n var paragraphNode;\n\n if (hasParagraph) {\n var paragraphProps = _extends(_extends({\n prefixCls: \"\".concat(prefixCls, \"-paragraph\")\n }, getParagraphBasicProps(hasAvatar, hasTitle)), getComponentProps(paragraph));\n\n paragraphNode = /*#__PURE__*/React.createElement(Paragraph, paragraphProps);\n }\n\n contentNode = /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-content\")\n }, $title, paragraphNode);\n }\n\n var cls = classNames(prefixCls, (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-with-avatar\"), hasAvatar), _defineProperty(_classNames, \"\".concat(prefixCls, \"-active\"), active), _defineProperty(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _defineProperty(_classNames, \"\".concat(prefixCls, \"-round\"), round), _classNames), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, avatarNode, contentNode);\n }\n\n return children;\n };\n\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, renderSkeleton);\n};\n\nSkeleton.defaultProps = {\n avatar: false,\n title: true,\n paragraph: true\n};\nSkeleton.Button = SkeletonButton;\nSkeleton.Avatar = SkeletonAvatar;\nSkeleton.Input = SkeletonInput;\nSkeleton.Image = SkeletonImage;\nexport default Skeleton;","import * as React from 'react';\nimport classNames from 'classnames';\nimport { ConfigConsumer } from '../config-provider';\nvar path = 'M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z';\n\nvar SkeletonImage = function SkeletonImage(props) {\n var renderSkeletonImage = function renderSkeletonImage(_ref) {\n var getPrefixCls = _ref.getPrefixCls;\n var customizePrefixCls = props.prefixCls,\n className = props.className,\n style = props.style;\n var prefixCls = getPrefixCls('skeleton', customizePrefixCls);\n var cls = classNames(prefixCls, \"\".concat(prefixCls, \"-element\"), className);\n return /*#__PURE__*/React.createElement(\"div\", {\n className: cls\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(\"\".concat(prefixCls, \"-image\"), className),\n style: style\n }, /*#__PURE__*/React.createElement(\"svg\", {\n viewBox: \"0 0 1098 1024\",\n xmlns: \"http://www.w3.org/2000/svg\",\n className: \"\".concat(prefixCls, \"-image-svg\")\n }, /*#__PURE__*/React.createElement(\"path\", {\n d: path,\n className: \"\".concat(prefixCls, \"-image-path\")\n }))));\n };\n\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, renderSkeletonImage);\n};\n\nexport default SkeletonImage;","import Skeleton from './Skeleton';\nexport default Skeleton;"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","Item","_a","result","customizePrefixCls","prefixCls","children","actions","extra","className","colStyle","others","_React$useContext2","ListContext","grid","itemLayout","getPrefixCls","actionsContent","concat","key","map","action","Element","itemChildren","element","flex","style","Meta","avatar","title","description","classString","content","List","_classNames","_a$pagination","pagination","_a$bordered","bordered","_a$split","split","loadMore","_a$dataSource","dataSource","size","header","footer","_a$loading","loading","rowKey","renderItem","locale","rest","paginationObj","_React$useState","defaultCurrent","_React$useState2","paginationCurrent","setPaginationCurrent","_React$useState3","defaultPageSize","_React$useState4","paginationSize","setPaginationSize","_React$useContext","renderEmpty","direction","keys","triggerPaginationEvent","eventName","page","pageSize","onPaginationChange","onPaginationShowSizeChange","loadingProp","spinning","isLoading","sizeCls","paginationProps","current","total","largestPage","Math","ceil","paginationContent","onChange","onShowSizeChange","splitDataSource","splice","screens","useBreakpoint","currentBreakpoint","breakpoint","columnCount","column","width","maxWidth","childrenContent","minHeight","items","item","index","renderInnerItem","childrenList","child","gutter","renderEmptyHandler","emptyText","renderEmptyFunc","paginationPosition","position","Provider","value","Consumer","_ref","props","getWidth","_props$rows","rows","Array","isArray","rowList","_","_classNames2","shape","shapeCls","sizeStyle","height","lineHeight","SkeletonAvatar","renderSkeletonAvatar","active","otherProps","omit","cls","C","defaultProps","SkeletonButton","renderSkeletonButton","SkeletonInput","renderSkeletonInput","getComponentProps","prop","Skeleton","renderSkeleton","paragraph","round","avatarNode","contentNode","hasAvatar","hasTitle","hasParagraph","avatarProps","getAvatarBasicProps","$title","paragraphNode","titleProps","getTitleBasicProps","paragraphProps","basicProps","getParagraphBasicProps","Button","Avatar","Input","Image","renderSkeletonImage","viewBox","xmlns","d"],"sourceRoot":""}
 
public/dist/548.lite.js ADDED
@@ -0,0 +1,2 @@
 
 
1
+ "use strict";(self.webpackChunkrealCookieBanner_name_=self.webpackChunkrealCookieBanner_name_||[]).push([[548],{6586:function(e,t,a){a.d(t,{ZG:function(){return te},PS:function(){return Q},y$:function(){return ee}});var n=a(9591),o=a(4741),r=a(3828),i=a(3306),c=a(6142),l=a(8782),s=a(2711),u=a(4115),m=a(7938),d=a(6315),p=a(7228),g=a(5450),h=a.n(g),v=a(7363),f=a(3554),y=a(6926);function E(e){return btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))}function R(e){e=(e=e.replace(/^\s+|\s+$/g,"")).toLowerCase();for(var t="àáäâèéëêìíïîòóöôùúüûñç·/_,:;",a=0,n=t.length;a<n;a++)e=e.replace(new RegExp(t.charAt(a),"g"),"aaaaeeeeiiiioooouuuunc------".charAt(a));return e.replace(/[^a-z0-9 -]/g,"").replace(/\s+/g,"-").replace(/-+/g,"-")}var b=a(7819),_=a(8630),k=a(4163),w=a(6711),I=a(8909),Z=function(){var e=(0,I.R)(),t=e.group,a=(0,w.useRouteMatch)().params,n=isNaN(+a.cookie)?0:+a.cookie,o=!!a.cookie,r=t.cookies.entries.get(+a.cookie)||new y.U(t.cookies,{id:0});return{routeGroup:e,cookie:r,id:n,queried:o,fetched:0!==r.key}},N=a(6478),O=a(8920),T=a(2519),M=a(1629),P=a(5893),S=a(7943),C=function(e){var t=e.notices;return React.createElement(React.Fragment,null,null==t?void 0:t.map((function(e){var t=e.message,a=e.severity;return t?React.createElement("div",{className:"notice notice-".concat(a," below-h2 notice-alt"),key:t},React.createElement("p",{dangerouslySetInnerHTML:{__html:t}})):null})))},D=a(2388),x=(0,f.Pi)((function(e){var t,a,n=e.showNoticePresetGroupNotFound,o=void 0!==n&&n,i=e.groupNotices,c=e.providerPrivacyPolicyNotices,l=(0,k.m)(),s=l.cookieStore,u=s.groups,p=s.essentialGroup,g=l.optionStore,f=g.ePrivacyUSA,y=g.consentForwarding,E=Z(),b=E.cookie,w=E.fetched,I="real-cookie-banner"===(null===(t=b.presetModel)||void 0===t||null===(a=t.data)||void 0===a?void 0:a.identifier),x=(0,v.useCallback)(function(){var e=(0,m.Z)(h().mark((function e(t){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,M.W)({location:D.V,params:{slug:t}});case 3:return e.abrupt("return",e.sent.filter((function(e){return e.ID!==b.key}))[0]);case 6:return e.prev=6,e.t0=e.catch(0),e.abrupt("return",void 0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t){return e.apply(this,arguments)}}(),[b.key]),F=(0,v.useCallback)(function(){var e=(0,m.Z)(h().mark((function e(t,a){var n,o,r,i;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,x(t);case 2:if(!(n=e.sent)){e.next=19;break}if(a){e.next=8;break}throw(0,_.__)("A service with the same unique name already exists.");case 8:o=n.metas.consentForwardingUniqueName,r=/^(.*)-(\d+)$/,i=n;case 11:if(!i){e.next=18;break}return o=o.match(r)?o.replace(r,(function(e,t,a){return"".concat(t,"-").concat(+a+1)})):"".concat(o,"-1"),e.next=15,x(o);case 15:i=e.sent,e.next=11;break;case 18:a(o);case 19:case"end":return e.stop()}}),e)})));return function(t,a){return e.apply(this,arguments)}}(),[x]);return React.createElement(React.Fragment,null,React.createElement(P.C,{offset:Q.labelCol.span},(0,_.__)("General service configuration")," ",React.createElement(S.r,{url:(0,_.__)("https://devowl.io/knowledge-base/real-cookie-banner-create-individual-cookie/")})),React.createElement(d.Z.Item,{label:(0,_.__)("Name"),required:!0},React.createElement(d.Z.Item,{name:"name",noStyle:!0,rules:[{required:!0,message:(0,_.__)("Please provide a name!")}]},React.createElement(T.Z,null)),React.createElement("p",{className:"description"},(0,_.__)('Each service used should have a descriptive name that is understandable to a non-professional user. Example: "Google Analytics".'))),React.createElement(d.Z.Item,{label:(0,_.__)("Status"),required:!0},React.createElement(d.Z.Item,{name:"status",noStyle:!0,rules:[{required:!0,message:(0,_.__)("Please choose a status!")}]},React.createElement(O.ZP.Group,null,React.createElement(O.ZP.Button,{value:"publish"},(0,_.__)("Enabled")),React.createElement(O.ZP.Button,{value:"private"},(0,_.__)("Disabled")),React.createElement(O.ZP.Button,{value:"draft"},(0,_.__)("Draft")))),React.createElement("p",{className:"description"},(0,_.__)('Services with the status "Draft" or "Disabled" are not visible to the public. In addition, a draft will be highlighted in the service table so that you do not forget to configure it.'))),React.createElement(d.Z.Item,{label:(0,_.__)("Group"),required:!0},React.createElement(d.Z.Item,{name:"group",noStyle:!0,rules:[{required:!0,message:(0,_.__)("Please provide a group!")}]},React.createElement(r.Z,null,u.sortedGroups.map((function(e){var t=e.data,a=t.id,n=t.name;return React.createElement(r.Z.Option,{key:a,value:a},n)})))),React.createElement("p",{className:"description"},(0,_.__)("Each service must be assigned to a group. All services that do not belong to the group of essential services can (but do not have to) be accepted by visitors. According to the ePrivacy Directive, only services without which the website would not work are considered as essential services if the visitor has explicitly requested the service used. A possible economic interest of the website operator in using a tool, e.g. Google Analytics, is irrelevant.")),!1!==o&&React.createElement("div",{className:"notice notice-warning below-h2 notice-alt"},React.createElement("p",null,(0,_.__)("The service group in which this service is normally placed (%s) has been deleted by you. Please group the service yourself.",o))),React.createElement(C,{notices:i})),React.createElement(d.Z.Item,{label:(0,_.__)("Provider"),required:!0},React.createElement(d.Z.Item,{name:"provider",noStyle:!0,rules:[{required:!0,message:(0,_.__)("Please name a provider!")}]},React.createElement(T.Z,null)),React.createElement("p",{className:"description"},(0,_.__)('A service always has an "owner", who processes collected data or information saved in cookies etc. Please specify which provider creates cookies and processes personal data, e.g. "Google Ireland Limited". If you are the provider, please enter your legal name.'))),React.createElement(d.Z.Item,{label:(0,_.__)("Purpose")},React.createElement(d.Z.Item,{name:"purpose",noStyle:!0},React.createElement(T.Z.TextArea,{autoSize:{minRows:3}})),React.createElement("p",{className:"description"},(0,_._i)((0,_.__)("The ePrivacy Directive and the GDPR require that a non-professional user understands the purpose of this service, how {{a}}personal data{{/a}} is collected and how cookies are used for this purpose."),{a:React.createElement("a",{href:(0,_.__)("https://devowl.io/2021/personal-data-gdpr/"),target:"_blank",rel:"noreferrer"})}))),React.createElement(d.Z.Item,{label:(0,_.__)("Privacy policy of the provider")},React.createElement(d.Z.Item,{name:"providerPrivacyPolicy",noStyle:!0,rules:[{type:"url",message:(0,_.__)("Please provide a valid URL!")}]},React.createElement(T.Z,null)),React.createElement("p",{className:"description"},(0,_.__)("Provide a direct link to the privacy policy of the provider that runs this service (in the language of your website).")),React.createElement(C,{notices:c})),React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e.group!==t.group||e.name!==t.name}},(function(e){var t,a=e.getFieldValue,n=e.setFieldsValue,o=a("group")===p.key;return React.createElement(React.Fragment,null,React.createElement(d.Z.Item,{label:(0,_.__)("Consent Forwarding Unique Name"),style:{display:y?void 0:"none"}},React.createElement(d.Z.Item,{name:"consentForwardingUniqueName",noStyle:!0,validateTrigger:"onBlur",rules:[{validator:(t=(0,m.Z)(h().mark((function e(t,o){var r;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=!y||!o,e.abrupt("return",F(o||R(a("name")),r?function(e){return n({consentForwardingUniqueName:e})}:void 0));case 2:case"end":return e.stop()}}),e)}))),function(e,a){return t.apply(this,arguments)})}]},React.createElement(T.Z,{placeholder:w?"":R(a("name"))})),React.createElement("p",{className:"description"},(0,_.__)("Consent Forwarding is active. This means that all services on all available instances must be identified by a unique name in order to correctly set consent for a service.")),o&&React.createElement("div",{className:"notice notice-info below-h2 notice-alt"},React.createElement("p",null,(0,_.__)("You can define a unique name, but essential services are automatically accepted when a consent is forwarded.")))),React.createElement(d.Z.Item,{label:(0,_.__)("Legal basis"),required:!0},React.createElement(d.Z.Item,{name:"legalBasis",noStyle:!0,rules:[{required:!0}]},React.createElement(O.ZP.Group,{disabled:o},React.createElement(O.ZP.Button,{value:"consent"},(0,_.__)("Consent (Opt-in)")),React.createElement(O.ZP.Button,{value:"legitimate-interest"},(0,_.__)("Legitimate interest (Opt-out)")),I&&React.createElement(O.ZP.Button,{value:"legal-requirement"},(0,_.__)("Compliance with a legal obligation")))),React.createElement("div",{style:{margin:"5px 0px 0px"}},React.createElement(S.r,{url:(0,_.__)("https://devowl.io/2021/opt-in-opt-out-double-opt-in-definition/")})),React.createElement("p",{className:"description"},(0,_._i)((0,_.__)('Services can be used on various legal bases according to Art. 6 GDPR. "Consent" means that the user must explicitly agree to the service (opt-in). "Legitimate interest" means that your interest as a website operator prevails to use the service and the user must explicitly disagree (opt-out). Unless it is an essential service. Then an objection is not possible. {{strong}}A legitimate interest exists only in rare cases and only for data processing. If you are not sure, it is better to obtain consent to be on the safe side.{{/strong}}'),{strong:React.createElement("strong",null)})),o&&!I&&React.createElement("div",{className:"notice notice-info below-h2 notice-alt"},React.createElement("p",null,(0,_.__)('Your service is currently grouped as "Essential". This group implies the legitimate interest, with the only difference that this service cannot be opted out.')))))})),React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e.group!==t.group||e.ePrivacyUSA!==t.ePrivacyUSA}},(function(e){var t=e.getFieldValue;return React.createElement(d.Z.Item,{label:(0,_.__)("US data processing"),style:{display:f?void 0:"none"}},React.createElement(d.Z.Item,{name:"ePrivacyUSA",valuePropName:"checked",noStyle:!0},React.createElement(N.Z,null)),React.createElement("span",null,"  ",(0,_.__)("This service processes data in the USA or transfers data to US companies or servers")),t("ePrivacyUSA")&&t("group")===p.key&&React.createElement("div",{className:"notice notice-warning below-h2 notice-alt"},React.createElement("p",null,(0,_.__)("If you use this service declaration only as a notice and the corresponding service is already embedded outside the cookie banner on the first visit to the website, it is possible that the service used in the USA is already processing data before the user has agreed to this. From a data protection perspective, the use of such services should be avoided, or the service should be embedded in the opt-in code (execution after consent). In practice, this will not always be possible."))))})),React.createElement(d.Z.Item,{label:(0,_.__)("No technical definitions")},React.createElement(d.Z.Item,{name:"noTechnicalDefinitions",valuePropName:"checked",noStyle:!0},React.createElement(N.Z,null)),React.createElement("span",null,"  ",(0,_.__)("This service does not set any technical cookies on the client of the visitor, but e.g. integrates a script."))))})),F=a(1857),A=a(1802),U=a(7088),B=a(4290),G=a(9033),q=a(3137),L={labelCol:{span:0},wrapperCol:{span:24},style:{margin:0}},V=(0,f.Pi)((function(){var e=(0,A.w)();return React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e.noTechnicalDefinitions!==t.noTechnicalDefinitions||e.technicalDefinitions.length!==t.technicalDefinitions.length}},(function(t){return(0,t.getFieldValue)("noTechnicalDefinitions")?null:React.createElement(d.Z.List,{name:"technicalDefinitions"},(function(t,a){var n=a.add,c=a.remove;return React.createElement(React.Fragment,null,React.createElement(P.C,{offset:Q.labelCol.span,description:(0,_.__)("For each service you use, you should specify all cookies that are used by it. You can find this out in the developer console of your browser. Please note that there are several types of cookies and that the law requires that you inform your visitors not only about (HTTP) cookies, but also about cookie-like information.")},(0,_.__)("Technical cookie information")),React.createElement("table",{className:"wp-list-table widefat fixed striped table-view-list",style:{marginBottom:25}},React.createElement("thead",null,React.createElement("tr",null,React.createElement("td",{width:150},(0,_.__)("Cookie type")),React.createElement("td",null,React.createElement(F.Z,{title:(0,_._i)((0,_.__)("Every cookie has a technical name, which you must provide. If a cookie name is dynamically composed, please use an asterisk ({{code}}*{{/code}}) as a wildcard (placeholder)."),{code:React.createElement("code",null)})},React.createElement("span",null,(0,_.__)("Technical cookie name")," ",React.createElement(U.Z,null)))),React.createElement("td",null,React.createElement(F.Z,{title:(0,_.__)("Every cookie is associated to a domain or hostname.")},React.createElement("span",null,(0,_.__)("Technical cookie host")," ",React.createElement(U.Z,null)))),React.createElement("td",null,React.createElement(F.Z,{title:(0,_.__)("A HTTP cookie is only valid for a certain time, which is defined when the cookie is set.")},React.createElement("span",null,(0,_.__)("Cookie duration")," ",React.createElement(U.Z,null)))),React.createElement("td",{width:50,align:"right"}," "))),React.createElement("tbody",null,t.map((function(a){return React.createElement("tr",{key:a.key},React.createElement("td",null,React.createElement(d.Z.Item,(0,o.Z)({},a,L,{fieldKey:[a.fieldKey,"type"],name:[a.name,"type"],rules:[{required:!0,message:(0,_.__)("Please provide a cookie type!")}]}),React.createElement(r.Z,null,Object.keys(e).map((function(t){return React.createElement(r.Z.Option,{key:t,value:t},e[t].name)}))))),React.createElement("td",null,React.createElement(d.Z.Item,(0,o.Z)({},a,L,{fieldKey:[a.fieldKey,"name"],name:[a.name,"name"],rules:[{required:!0,message:(0,_.__)("Please provide a technical cookie name!")}]}),React.createElement(T.Z,null)),React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){var n,o;return(null===(n=e.technicalDefinitions[a.name])||void 0===n?void 0:n.name)!==(null===(o=t.technicalDefinitions[a.name])||void 0===o?void 0:o.name)}},(function(e){var t=(0,e.getFieldValue)(["technicalDefinitions",a.name,"name"]);return[/\[/gm,[/([{]+)/gm,function(e){return 1===e.length}],/\(/gm].filter((function(e){return Array.isArray(e)?e[0].test(t)&&t.match(e[0]).filter(e[1]).length>0:e.test(t)})).length>0&&React.createElement("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:"10px 0 0 0"}},React.createElement("p",null,(0,_._i)((0,_.__)("Are you sure this is the name of the cookie? It seems like you are using a placeholder that is not supported. Please use an asterisk ({{code}}*{{/code}}) as a placeholder if the cookie name is dynamically composed."),{code:React.createElement("code",null)})))}))),React.createElement("td",null,React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){var n,o;return(null===(n=e.technicalDefinitions[a.name])||void 0===n?void 0:n.type)!==(null===(o=t.technicalDefinitions[a.name])||void 0===o?void 0:o.type)}},(function(e){var t=(0,e.getFieldValue)(["technicalDefinitions",a.name,"type"]);return React.createElement(React.Fragment,null,React.createElement(d.Z.Item,(0,o.Z)({},a,L,{fieldKey:[a.fieldKey,"host"],name:[a.name,"host"],rules:[{validator:function(e,a){return(["local","session","indexedDb"].indexOf(t)>-1?(0,q.C)(a):/^\.?(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9])$/gm.test(a))||""===a&&"http"!==t?Promise.resolve():Promise.reject((0,_.__)("Please provide a valid hostname!"))}}]}),React.createElement(T.Z,null)),React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){var n,o;return(null===(n=e.technicalDefinitions[a.name])||void 0===n?void 0:n.host)!==(null===(o=t.technicalDefinitions[a.name])||void 0===o?void 0:o.host)}},(function(e){var t=(0,e.getFieldValue)(["technicalDefinitions",a.name,"host"]);return t.startsWith("*.")&&t.length>2&&React.createElement("div",{className:"notice notice-warning inline below-h2 notice-alt",style:{margin:"10px 0 0 0"}},React.createElement("p",null,(0,_._i)((0,_.__)("You are using an invalid wildcard (placeholder) syntax {{code}}*.{{/code}} to match subdomains. Use {{code}}.%s{{/code}} to include subdomains.",t.substr(2)),{code:React.createElement("code",null)})))})))}))),React.createElement("td",null,React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){var n,o;return(null===(n=e.technicalDefinitions[a.name])||void 0===n?void 0:n.type)!==(null===(o=t.technicalDefinitions[a.name])||void 0===o?void 0:o.type)}},(function(e){var t=(0,e.getFieldValue)(["technicalDefinitions",a.name,"type"]);return["local","session","indexedDb","flash"].indexOf(t)>-1?null:React.createElement(React.Fragment,null,React.createElement(d.Z.Item,(0,o.Z)({},a,{fieldKey:[a.fieldKey,"sessionDuration"],name:[a.name,"sessionDuration"],noStyle:!0,valuePropName:"checked"}),React.createElement(i.Z,{style:{float:"left",marginTop:5}},React.createElement(F.Z,{title:(0,_.__)("This cookie is active as long as the session is active")},React.createElement("span",null,(0,_.__)("Session"))))),React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){var n,o;return(null===(n=e.technicalDefinitions[a.name])||void 0===n?void 0:n.sessionDuration)!==(null===(o=t.technicalDefinitions[a.name])||void 0===o?void 0:o.sessionDuration)}},(function(e){var t=(0,e.getFieldValue)(["technicalDefinitions",a.name,"sessionDuration"]);return React.createElement(d.Z.Item,(0,o.Z)({},a,L,{fieldKey:[a.fieldKey,"duration"],name:[a.name,"duration"],rules:[{required:!t,message:(0,_.__)("Please provide a valid duration!")}]}),React.createElement(T.Z,{min:"0",addonAfter:React.createElement(d.Z.Item,{name:[a.name,"durationUnit"],noStyle:!0,rules:[{required:!0,message:(0,_.__)("Please provide an unit!")}]},React.createElement(r.Z,null,React.createElement(r.Z.Option,{value:"s"},(0,_.__)("second(s)")),React.createElement(r.Z.Option,{value:"m"},(0,_.__)("minute(s)")," "),React.createElement(r.Z.Option,{value:"h"},(0,_.__)("hour(s)")," "),React.createElement(r.Z.Option,{value:"d"},(0,_.__)("day(s)")," "),React.createElement(r.Z.Option,{value:"mo"},(0,_.__)("month(s)")," "),React.createElement(r.Z.Option,{value:"y"},(0,_.__)("year(s)")," "))),type:"number",style:{maxWidth:200,display:t?"none":void 0}}))})))}))),React.createElement("td",null,t.length>1?React.createElement("a",{className:"button button-small",onClick:function(){c(a.name)}},React.createElement(B.Z,null)):null))}))),React.createElement("tfoot",null,React.createElement("tr",null,React.createElement("td",{colSpan:5,align:"right"},React.createElement("a",{className:"button button-primary alignright",onClick:function(){n(ee)}},React.createElement(G.Z,null)," ",(0,_.__)("Add another cookie definition")))))))}))}))})),j=a(4148),Y=a(5283),H=(0,f.Pi)((function(e){var t=e.manager,a=e.onlyWhenManagerIs,n=e.hasManagerAttributeName,o=e.thisIsManagerAttributeName,r=e.inEventNameAttributeName,i=e.outEventNameAttributeName,c=(0,k.m)(),l=c.cookieStore,s=c.optionStore,u=s.setCookiesViaManager,m=s[n],p=s.others.isPro,g=l.essentialGroup,h=Z().cookie;return u===a&&p&&React.createElement(React.Fragment,null,React.createElement(d.Z.Item,{wrapperCol:{offset:Q.labelCol.span}},React.createElement(F.Z,{title:m&&h.key!==m?(0,_.__)("You have already defined a %s service.",t):""},React.createElement("span",null,React.createElement(d.Z.Item,{name:o,valuePropName:"checked",noStyle:!0},React.createElement(N.Z,{disabled:m&&h.key!==m})),React.createElement("span",null,"  ",(0,_.__)("Opt-in script below loads %s",t))))),React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e[o]!==t[o]||e.group!==t.group}},(function(e){var a=e.getFieldValue,n=a(o),r=a("group");return n&&r!==g.key&&React.createElement(d.Z.Item,{wrapperCol:{offset:Q.labelCol.span}},React.createElement("div",{className:"notice notice-warning below-h2 notice-alt"},React.createElement("p",null,(0,_.__)("You have defined %1$s in a non-essential service group. In our legal opinion, this is the only way to use %1$s legally. However, please note that if a user doesn't consent to load %1$s, opt-in and opt-out events will not be sent to %1$s. Real Cookie Banner offers you the possibility to specify a fallback HTML/JavaScript for this case.",t))))})),React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e[o]!==t[o]||e[r]!==t[r]||e[i]!==t[i]}},(function(e){var a=e.getFieldValue,n=a(o),c=a(r),l=a(i);return!n&&React.createElement(d.Z.Item,{label:(0,_.__)("Event names for %s",t)},React.createElement(d.Z.Item,{name:r,noStyle:!0},React.createElement(T.Z,{addonBefore:(0,_.__)("Opt-in"),style:{maxWidth:400,marginRight:10,marginBottom:5}})),React.createElement(d.Z.Item,{name:i,noStyle:!0},React.createElement(T.Z,{addonBefore:(0,_.__)("Opt-out"),style:{maxWidth:400,marginRight:10,marginBottom:5}})),React.createElement("div",null,React.createElement(S.r,{url:(0,_.__)("https://devowl.io/knowledge-base/real-cookie-banner-with-google-tag-manager-or-matomo-tag-manager/")})),(c.length>0||l.length>0)&&!m&&React.createElement("div",{className:"notice notice-warning below-h2 notice-alt"},React.createElement("p",null,(0,_.__)("You have not yet defined a %s service. To use event names, you must create a %s service.",t,t))))})))})),$=/{{([A-Za-z0-9_]+)}}/gm,K=["codeOptIn","codeOptOut","codeOnPageLoad"],J=(0,f.Pi)((function(e){var t=e.dynamicFields;return React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return K.map((function(a){return e[a]!==t[a]})).filter(Boolean).length>0}},(function(e){var a=e.getFieldValue,n=K.map((function(e){return a(e)})).join(""),o=Array.from(n.matchAll($)).map((function(e){return(0,p.Z)(e,2)[1]})),r=[];return o?o.map((function(e){var a=["codeDynamics",e],n=(null==t?void 0:t[e])||{},o=n.label,i=n.invalidMessage,c=void 0===i?(0,_.__)("Please fill in a value!"):i,l=n.example,s=n.expression,u=n.hint;return r.indexOf(e)>-1?null:(r.push(e),React.createElement(d.Z.Item,{key:e,label:o||React.createElement("code",null,e),required:!0},React.createElement(d.Z.Item,{noStyle:!0,name:a,rules:[{required:!0,pattern:s?new RegExp(s):void 0,message:c}]},React.createElement(T.Z,{placeholder:l?"".concat((0,_.__)("e. g.")," ").concat(l):void 0})),!!u&&React.createElement("div",{className:"notice notice-info below-h2 notice-alt",style:{margin:"10px 0 5px"}},React.createElement("p",{dangerouslySetInnerHTML:{__html:u}}))))})):null}))})),z=a(7870),W=(0,f.Pi)((function(e){var t=e.name,a=(0,k.m)().optionStore.others.activePlugins,n=(0,v.useMemo)((function(){return Object.keys(a)}),[a]);return React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,a){return e[t]!==a[t]}},(function(e){var o=(0,e.getFieldValue)(t),r=(0,z.Z)(o.matchAll(/\s+(skip-if-active=")([^"]+)(")/gm)).map((function(e){return(0,p.Z)(e,3)[2].split(",").filter((function(e){return n.indexOf(e)>-1}))})).flat(),i=r.filter((function(e,t){return r.indexOf(e)===t}));return 0===i.length?null:React.createElement("div",{className:"notice notice-info below-h2 notice-alt"},React.createElement("p",null,(0,_._i)((0,_.__)("The code above contains HTML tags that are skipped when one of the following plugins is active: {{strong/}}. {{i}}What does this mean for me?{{/i}} In most cases, another plugin will take over the execution of the technical code, and you have to create a corresponding content blocker."),{strong:React.createElement("strong",null,i.map((function(e){return a[e]})).join(", ")),i:React.createElement("i",null)})))}))})),X=(0,f.Pi)((function(e){var t=e.notices,a=e.dynamicFields,n=(0,k.m)(),o=n.cookieStore,r=n.optionStore,i=r.setCookiesViaManager,c=r.others.isPro,l=o.essentialGroup,s=(0,v.useCallback)((function(e){return{opacity:e?void 0:0,height:e?void 0:0,margin:e?void 0:0}}),[]);return React.createElement(React.Fragment,null,React.createElement(P.C,{offset:Q.labelCol.span,description:"none"===i?(0,_.__)("Define HTML and JavaScript code that is executed when a visitor decides to accept or reject this service or when a page is loaded. It is important to define the executed code correctly, as this ensures that scripts are executed and cookies are set only after the user's consent."):(0,_.__)("Define the %1$s event that should be thrown in the data layer when a visitor decides to accept or reject this service. The event can be used as a trigger in %1$s. For users who do not allow to use %1$s a fallback can be defined. You can define HTML and JavaScript code that is executed when a visitor decides to accept or reject this service, or when a page is loaded. It is important to define the event names and executed code correctly, as this will ensure that scripts are executed and cookies are only set with the user's consent.","googleTagManager"===i?Y.Gh:Y.Ki)},(0,_.__)("Technical handling")),React.createElement(H,{manager:Y.Gh,onlyWhenManagerIs:"googleTagManager",hasManagerAttributeName:"hasGTM",thisIsManagerAttributeName:"thisIsGoogleTagManager",inEventNameAttributeName:"googleTagManagerInEventName",outEventNameAttributeName:"googleTagManagerOutEventName"}),React.createElement(H,{manager:Y.Ki,onlyWhenManagerIs:"matomoTagManager",hasManagerAttributeName:"hasMTM",thisIsManagerAttributeName:"thisIsMatomoTagManager",inEventNameAttributeName:"matomoTagManagerInEventName",outEventNameAttributeName:"matomoTagManagerOutEventName"}),React.createElement(J,{dynamicFields:a}),(null==t?void 0:t.length)>0&&React.createElement(d.Z.Item,{wrapperCol:{offset:Q.labelCol.span,span:Q.wrapperCol.span}},React.createElement(C,{notices:t})),React.createElement(d.Z.Item,{label:(0,_.__)("Code executed on opt-in")},"googleTagManager"===i&&c&&React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e.thisIsGoogleTagManager!==t.thisIsGoogleTagManager}},(function(e){return!(0,e.getFieldValue)("thisIsGoogleTagManager")&&React.createElement("div",{style:{margin:"4px 0"}},React.createElement(d.Z.Item,{name:"codeOptInNoGoogleTagManager",valuePropName:"checked",noStyle:!0},React.createElement(N.Z,null)),React.createElement("span",null,"  ",(0,_._i)((0,_.__)("Only run this script if the user has {{u}}not{{/u}} allowed to use %s",Y.Gh),{u:React.createElement("u",null)})))})),"matomoTagManager"===i&&c&&React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e.thisIsMatomoTagManager!==t.thisIsMatomoTagManager}},(function(e){return!(0,e.getFieldValue)("thisIsMatomoTagManager")&&React.createElement("div",{style:{margin:"4px 0"}},React.createElement(d.Z.Item,{name:"codeOptInNoMatomoTagManager",valuePropName:"checked",noStyle:!0},React.createElement(N.Z,null)),React.createElement("span",null,"  ",(0,_._i)((0,_.__)("Only run this script if the user has {{u}}not{{/u}} allowed to use %s",Y.Ki),{u:React.createElement("u",null)})))})),React.createElement(d.Z.Item,{name:"codeOptIn",noStyle:!0},React.createElement(j.Y,{settings:window.cm_settings})),React.createElement(W,{name:"codeOptIn"})),React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e.group!==t.group}},(function(e){var t=e.getFieldValue;return React.createElement(React.Fragment,null,React.createElement(d.Z.Item,{label:(0,_.__)("Code executed on opt-out"),style:s(t("group")!==l.key)},React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e.noTechnicalDefinitions!==t.noTechnicalDefinitions}},(function(e){return(0,e.getFieldValue)("noTechnicalDefinitions")?null:React.createElement("div",{style:{margin:"4px 0"}},React.createElement(d.Z.Item,{name:"codeOptOutDelete",valuePropName:"checked",noStyle:!0},React.createElement(N.Z,null)),React.createElement("span",null,"  ",(0,_.__)("Delete all first-party cookies after opt-out. First-party cookies are only cookies that are set by or for this domain.")))})),"googleTagManager"===i&&c&&React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e.thisIsGoogleTagManager!==t.thisIsGoogleTagManager}},(function(e){return!(0,e.getFieldValue)("thisIsGoogleTagManager")&&React.createElement("div",{style:{margin:"4px 0"}},React.createElement(d.Z.Item,{name:"codeOptOutNoGoogleTagManager",valuePropName:"checked",noStyle:!0},React.createElement(N.Z,null)),React.createElement("span",null,"  ",(0,_._i)((0,_.__)("Only run this script if the user has {{u}}not{{/u}} allowed to use %s",Y.Gh),{u:React.createElement("u",null)})))})),"matomoTagManager"===i&&c&&React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e.thisIsMatomoTagManager!==t.thisIsMatomoTagManager}},(function(e){return!(0,e.getFieldValue)("thisIsMatomoTagManager")&&React.createElement("div",{style:{margin:"4px 0"}},React.createElement(d.Z.Item,{name:"codeOptOutNoMatomoTagManager",valuePropName:"checked",noStyle:!0},React.createElement(N.Z,null)),React.createElement("span",null,"  ",(0,_._i)((0,_.__)("Only run this script if the user has {{u}}not{{/u}} allowed to use %s",Y.Ki),{u:React.createElement("u",null)})))})),React.createElement(d.Z.Item,{name:"codeOptOut",noStyle:!0},React.createElement(j.Y,{settings:window.cm_settings})),React.createElement(W,{name:"codeOptOut"})))})),React.createElement(d.Z.Item,{label:(0,_.__)("Code executed on page load")},React.createElement(d.Z.Item,{name:"codeOnPageLoad",noStyle:!0},React.createElement(j.Y,{settings:window.cm_settings})),React.createElement(W,{name:"codeOnPageLoad"})))})),Q={labelCol:{span:6},wrapperCol:{span:16}},ee={type:"http",name:"",host:"",duration:void 0,durationUnit:"y",sessionDuration:!1},te=(0,f.Pi)((function(e){var t,a,g,f,I,N,O=e.preset,T=e.attributes,M=e.navigateAfterCreation,P=void 0===M||M,C=e.scrollToTop,D=void 0===C||C,F=e.onCreated,A=Z(),U=A.routeGroup,B=U.group,G=U.link,q=A.cookie,L=A.id,j=A.queried,Y=A.fetched,H=d.Z.useForm(),$=(0,p.Z)(H,1)[0],K=(0,v.useState)(!1),J=(0,p.Z)(K,2),z=J[0],W=J[1],te=(0,v.useState)(!1),ae=(0,p.Z)(te,2),ne=ae[0],oe=ae[1],re=(0,w.useHistory)(),ie=(0,k.m)(),ce=ie.cookieStore,le=ie.optionStore.others.useEncodedStringForScriptInputs,se=ce.essentialGroup,ue=(null==q?void 0:q.presetModel)||ce.presetsCookie.get(null==O?void 0:O.identifier),me=T?T.group?(null===(t=ce.groups.sortedGroups.filter((function(e){return e.data.name===T.group})))||void 0===t||null===(a=t[0])||void 0===a?void 0:a.key)||"preset-group-not-found":void 0:B.key,de=Object.keys((null==O?void 0:O.contentBlockerPresets)||[]).length>0,pe=(null==T?void 0:T.createContentBlockerNotice)||(null==ue||null===(g=ue.attributes)||void 0===g?void 0:g.createContentBlockerNotice),ge=!(null==ue||!ue.data.scanned||null===(f=ue.attributes)||void 0===f||!f.codeOptIn||-1!==["wordpress-comments"].indexOf(ue.data.identifier)),he=Y?{name:q.data.title.raw,status:q.data.status,group:B.key||void 0,purpose:q.data.content.raw,provider:q.data.meta.provider,providerPrivacyPolicy:q.data.meta.providerPrivacyPolicy,consentForwardingUniqueName:q.data.meta.consentForwardingUniqueName||q.data.slug,noTechnicalDefinitions:q.data.meta.noTechnicalDefinitions,legalBasis:q.data.meta.legalBasis,ePrivacyUSA:q.data.meta.ePrivacyUSA,technicalDefinitions:JSON.parse(JSON.stringify(q.technicalDefinitions||"[]")),codeDynamics:JSON.parse(JSON.stringify(q.codeDynamics||"{}")),thisIsGoogleTagManager:q.data.meta.thisIsGoogleTagManager,googleTagManagerInEventName:q.data.meta.googleTagManagerInEventName,googleTagManagerOutEventName:q.data.meta.googleTagManagerOutEventName,thisIsMatomoTagManager:q.data.meta.thisIsMatomoTagManager,matomoTagManagerInEventName:q.data.meta.matomoTagManagerInEventName,matomoTagManagerOutEventName:q.data.meta.matomoTagManagerOutEventName,codeOptIn:q.data.meta.codeOptIn,codeOptInNoGoogleTagManager:q.data.meta.codeOptInNoGoogleTagManager,codeOptInNoMatomoTagManager:q.data.meta.codeOptInNoMatomoTagManager,codeOptOut:q.data.meta.codeOptOut,codeOptOutNoGoogleTagManager:q.data.meta.codeOptOutNoGoogleTagManager,codeOptOutNoMatomoTagManager:q.data.meta.codeOptOutNoMatomoTagManager,codeOnPageLoad:q.data.meta.codeOnPageLoad,codeOptOutDelete:q.data.meta.codeOptOutDelete}:{name:(null==T?void 0:T.name)||"",status:"publish",group:"number"==typeof me&&me||void 0,purpose:(null==T?void 0:T.purpose)||"",provider:(null==T?void 0:T.provider)||"",providerPrivacyPolicy:(null==T?void 0:T.providerPrivacyPolicy)||"",consentForwardingUniqueName:(null==T?void 0:T.consentForwardingUniqueName)||(null==O?void 0:O.identifier)||"",noTechnicalDefinitions:(null==T?void 0:T.noTechnicalDefinitions)||!1,legalBasis:(null==T?void 0:T.legalBasis)||"consent",ePrivacyUSA:(null==T?void 0:T.ePrivacyUSA)||!1,technicalDefinitions:null!=T&&T.technicalDefinitions?JSON.parse(JSON.stringify(T.technicalDefinitions)):[ee],codeDynamics:(null==T?void 0:T.codeDynamics)||{},thisIsGoogleTagManager:(null==T?void 0:T.thisIsGoogleTagManager)||!1,googleTagManagerInEventName:(null==T?void 0:T.googleTagManagerInEventName)||"",googleTagManagerOutEventName:(null==T?void 0:T.googleTagManagerOutEventName)||"",thisIsMatomoTagManager:(null==T?void 0:T.thisIsMatomoTagManager)||!1,matomoTagManagerInEventName:(null==T?void 0:T.matomoTagManagerInEventName)||"",matomoTagManagerOutEventName:(null==T?void 0:T.matomoTagManagerOutEventName)||"",codeOptIn:(null==T?void 0:T.codeOptIn)||"",codeOptInNoGoogleTagManager:(null==T?void 0:T.codeOptInNoGoogleTagManager)||!1,codeOptInNoMatomoTagManager:(null==T?void 0:T.codeOptInNoMatomoTagManager)||!1,codeOptOut:(null==T?void 0:T.codeOptOut)||"",codeOnPageLoad:(null==T?void 0:T.codeOnPageLoad)||"",codeOptOutNoGoogleTagManager:(null==T?void 0:T.codeOptOutNoGoogleTagManager)||!1,codeOptOutNoMatomoTagManager:(null==T?void 0:T.codeOptOutNoMatomoTagManager)||!1,codeOptOutDelete:(null==T?void 0:T.codeOptOutDelete)||!1,createContentBlocker:"boolean"==typeof(null==T?void 0:T.createContentBlocker)?T.createContentBlocker:de&&!(null!=T&&T.deactivateAutomaticContentBlockerCreation),createContentBlockerId:null==T?void 0:T.createContentBlockerId,presetCheck:!O};(0,v.useEffect)((function(){j&&!Y&&B.cookies.getSingle({params:{id:L,context:"edit"}})}),[j,Y]),(0,v.useEffect)((function(){ue&&!ue.attributes&&ue.fetchAttributes()}),[ue]),(0,v.useEffect)((function(){D&&(0,b.X)(0)}),[]);var ve=(0,v.useCallback)(function(){var e=(0,m.Z)(h().mark((function e(t){var a,n,o,r,i,c,m,d,p,g,v,f,b,k,w,I,Z,N;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,a=function(e){return le?"encodedScript:".concat(E(e)):e},n=t.name,o=t.status,r=t.purpose,i=t.noTechnicalDefinitions,c=t.technicalDefinitions,m=t.group,d=t.codeDynamics,p=t.createContentBlocker,g=t.createContentBlockerId,v=t.consentForwardingUniqueName,f=t.codeOptIn,b=t.codeOptOut,k=t.codeOnPageLoad,w=(0,u.Z)(t,["name","status","purpose","noTechnicalDefinitions","technicalDefinitions","group","codeDynamics","createContentBlocker","createContentBlockerId","consentForwardingUniqueName","codeOptIn","codeOptOut","codeOnPageLoad"]),delete(I=(0,s.Z)((0,s.Z)({},w),{},{codeOptIn:a(f),codeOptOut:a(b),codeOnPageLoad:a(k),noTechnicalDefinitions:i,codeDynamics:JSON.stringify(d),technicalDefinitions:JSON.stringify(i?he.technicalDefinitions:c),consentForwardingUniqueName:v||R(n)})).presetCheck,!j){e.next=15;break}return q.setName(n),q.setStatus(o),q.setPurpose(r),q.setMeta(I),q.setGroup(m),e.next=13,q.patch();case 13:e.next=20;break;case 15:return Z=ce.groups.entries.get(m),N=new y.U(Z.cookies,{title:{rendered:n},content:{rendered:r,protected:!1},status:o,meta:(0,s.Z)((0,s.Z)({},I),{},{presetId:null==O?void 0:O.identifier,presetVersion:null==O?void 0:O.version})}),e.next=19,N.persist();case 19:null==F||F(N);case 20:oe(!1),l.ZP.success((0,_.__)("You have successfully saved the service.")+(p?" ".concat((0,_.__)("Continue with the corresponding Content Blocker!")):"")),P&&setTimeout((function(){return p?re.push("/blocker/new?force=".concat(g||O.identifier,"&cookieCreationPrompt=1").concat("string"==typeof P?"&navigateAfterCreation=".concat(encodeURIComponent(P)):"")):"string"==typeof P?window.location.href=P:re.push("".concat(G.slice(1),"/").concat(m))}),0),e.next=29;break;case 25:throw e.prev=25,e.t0=e.catch(0),l.ZP.error(e.t0.responseJSON.message),e.t0;case 29:case"end":return e.stop()}}),e,null,[[0,25]])})));return function(t){return e.apply(this,arguments)}}(),[j,q,ce,le]),fe=(0,v.useCallback)(function(){var e=(0,m.Z)(h().mark((function e(t){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return W(!0),e.prev=1,e.next=4,ve(t);case 4:e.next=8;break;case 6:e.prev=6,e.t0=e.catch(1);case 8:return e.prev=8,W(!1),e.finish(8);case 11:case"end":return e.stop()}}),e,null,[[1,6,8,11]])})));return function(t){return e.apply(this,arguments)}}(),[$,ve]),ye=(0,v.useCallback)((function(e){l.ZP.error((0,_.__)("The service could not be saved due to missing/invalid form values.")),e.errorFields.length&&$.getFieldInstance(e.errorFields[0].name).parentElement.scrollIntoView({behavior:"smooth",block:"center"})}),[]),Ee=(0,v.useCallback)((function(){return!ne||(0,_.__)('You have unsaved changes. If you click on "confirm", your changes will be discarded.')}),[$,he]);return j&&!Y?React.createElement(c.Z,{active:!0,paragraph:{rows:8}}):React.createElement(n.Z,{spinning:z||(null==ue?void 0:ue.busy)||!1},React.createElement(w.Prompt,{message:Ee}),React.createElement(d.Z,(0,o.Z)({name:"cookie-".concat(B.key,"-").concat(L),form:$},Q,{initialValues:he,onFinish:fe,onFinishFailed:ye,onValuesChange:function(e){var t=e.technicalDefinitions;oe(!0);var a=(t||[]).filter(Boolean);if(1===a.length){var n=Object.keys(a[0]);1===n.length&&["sessionDuration","type"].indexOf(n[0])>-1&&setTimeout((function(){return $.validateFields()}),100)}}}),React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e.group!==t.group}},(function(e){var t,a=e.getFieldValue;return React.createElement(x,{groupNotices:[{message:ue&&"number"==typeof me&&a("group")!==me?(0,_.__)("The groups specified in service templates were chosen wisely. Are you sure that this service should be assigned to another group for your case?"):void 0,severity:"warning"},{message:(null==T?void 0:T.groupNotice)||(null==ue||null===(t=ue.attributes)||void 0===t?void 0:t.groupNotice),severity:"info"}],providerPrivacyPolicyNotices:[{message:Y||null==ue||!ue.attributes||he.providerPrivacyPolicy?void 0:(0,_.__)('You have not yet set a privacy policy in the settings, so this field could not be filled in automatically. Please enter the URL of your privacy policy here and <a href="%s" target="_blank">set the corresponding page in your settings.</a>',"#/settings"),severity:"warning"}],showNoticePresetGroupNotFound:"preset-group-not-found"===me&&T.group})})),React.createElement(V,null),React.createElement(X,{dynamicFields:(null==T?void 0:T.dynamicFields)||(null==ue||null===(I=ue.attributes)||void 0===I?void 0:I.dynamicFields),notices:[{message:(null==T?void 0:T.technicalHandlingNotice)||(null==ue||null===(N=ue.attributes)||void 0===N?void 0:N.technicalHandlingNotice),severity:"info"},{message:ge&&!de&&(0,_.__)("If you have already used %s before creating this service, please deactivate the script/plugin with which the service was loaded so far. The opt-in script will now take care of the correct integration.",ue.data.attributes_name),severity:"warning"},{message:ge&&de&&(0,_.__)('You are currently embedding "%1$s" outside of Real Cookie Banner. You can have it blocked via a content blocker before consenting. Alternatively, you can use the following opt-in script to load %1$s directly into Real Cookie Banner.<br /><br />If you want to embed "%1$s" via Real Cookie Banner, you have to deactivate the content blocker at the end of the form and remove "%1$s" outside Real Cookie Banner.<br /><br />If you prefer to keep the current integration, you only have to delete the opt-in script in this form.',ue.data.attributes_name),severity:"warning"}].filter((function(e){return e.message}))}),!!O&&React.createElement(React.Fragment,null,de&&P&&React.createElement(d.Z.Item,{wrapperCol:{offset:Q.labelCol.span}},React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e.group!==t.group}},(function(e){var t=e.getFieldValue;return React.createElement(d.Z.Item,{noStyle:!0,name:"createContentBlocker",valuePropName:"checked",dependencies:["group"],rules:[{validator:function(e,a){return t("group")===se.key&&a?Promise.reject((0,_.__)('Services that should be associated with a content blocker cannot be in the "Essential" group, because it cannot be rejected.')):Promise.resolve()}}]},React.createElement(i.Z,null,(0,_.__)("Create content blocker for this service.")))})),React.createElement(d.Z.Item,{noStyle:!0,shouldUpdate:function(e,t){return e.createContentBlocker!==t.createContentBlocker}},(function(e){var t=e.getFieldValue;return React.createElement(React.Fragment,null,t("createContentBlocker")&&React.createElement(React.Fragment,null,Object.keys(O.contentBlockerPresets).length>1&&React.createElement(d.Z.Item,{noStyle:!0,name:"createContentBlockerId",rules:[{required:!0,message:(0,_.__)("Please select a template for the Content Blocker!")}]},React.createElement(r.Z,{style:{maxWidth:500,marginTop:10,display:"block"},placeholder:(0,_.__)("Select Content Blocker template...")},Object.keys(O.contentBlockerPresets).map((function(e){return React.createElement(r.Z.Option,{key:e,value:e},O.contentBlockerPresets[e])})))),React.createElement("div",{className:"notice notice-info below-h2 notice-alt",style:{marginTop:10}},React.createElement("p",null,(0,_.__)("Immediately after submitting this form you will be forwarded to another form that allows you to create the Content Blocker.")))),!!pe&&React.createElement("div",{className:"notice notice-info below-h2 notice-alt"},React.createElement("p",{dangerouslySetInnerHTML:{__html:pe}})))}))),React.createElement(d.Z.Item,{name:"presetCheck",valuePropName:"checked",required:!0,rules:[{type:"boolean",required:!0,transform:function(e){return e||void 0},message:(0,_.__)("Please confirm that you have checked the contents of the service.")}],wrapperCol:{offset:Q.labelCol.span}},React.createElement(i.Z,null,(0,_.__)("I have checked the information in the service template myself and added any missing information or corrected any information that does not fit to my use case.")," ",React.createElement(S.r,{url:(0,_.__)("https://devowl.io/knowledge-base/is-real-cookie-banner-legally-compliant/")})))),React.createElement(d.Z.Item,{className:"rcb-form-sticky-submit"},React.createElement("span",null,React.createElement("input",{type:"submit",className:"button button-primary right",value:(0,_.__)("Save")})))))}))},5893:function(e,t,a){a.d(t,{C:function(){return o}});var n=a(6315),o=function(e){var t=e.children,a=e.description,o=e.offset;return React.createElement(n.Z.Item,{wrapperCol:{offset:o},style:{borderBottom:"1px solid #e7e7e7"}},React.createElement("h3",{style:{margin:"0 0 ".concat(a?3:15,"px 0")}},t),!!a&&React.createElement("p",{className:"description",style:{marginBottom:15}},a))}},7325:function(e,t,a){a.d(t,{y:function(){return r}});var n=a(6711),o=a(8700);function r(){return new o.Url("/".concat((0,n.useLocation)().search),!0).query}},8909:function(e,t,a){a.d(t,{R:function(){return c}});var n=a(6711),o=a(4163),r=a(7363),i=a(5706),c=function(){var e=(0,n.useRouteMatch)().params.cookieGroup,t=(0,o.m)().cookieStore,a=isNaN(+e)?0:+e,c=!!e,l=t.groups.entries.get(a)||new i.O(t.groups,{id:0}),s=(0,r.useCallback)((function(e){var t=e.key;return"#/cookies/".concat(l.key,"/edit/").concat(t)}),[l]),u="#/cookies/".concat(l.key,"/new");return{group:l,id:a,queried:c,fetched:0!==l.key,link:"#/cookies",editLink:s,addCookieLink:u}}},1802:function(e,t,a){function n(){return{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"}}}a.d(t,{w:function(){return n}})}}]);
2
+ //# sourceMappingURL=548.lite.js.map?ver=79162164baff3c2efa33
public/dist/548.lite.js.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"file":"548.lite.js?ver=79162164baff3c2efa33","mappings":"2XAKA,SAASA,EAAwBC,GAC/B,OAAOC,KAAKC,mBAAmBF,GAAKG,QAAQ,mBAAmB,SAAUC,EAAOC,GAC9E,OAAOC,OAAOC,aAAaC,SAASH,EAAI,SCF5C,SAASI,EAAQT,GAGfA,GAFAA,EAAMA,EAAIG,QAAQ,aAAc,KAEtBO,cAKV,IAHA,IAAIC,EAAO,+BAGFC,EAAI,EAAGC,EAAIF,EAAKG,OAAQF,EAAIC,EAAGD,IACtCZ,EAAMA,EAAIG,QAAQ,IAAIY,OAAOJ,EAAKK,OAAOJ,GAAI,KAHtC,+BAG+CI,OAAOJ,IAO/D,OAJMZ,EAAIG,QAAQ,eAAgB,IACjCA,QAAQ,OAAQ,KAChBA,QAAQ,MAAO,K,sDCfdc,EAAiB,WACnB,IAAIC,GAAa,EAAAC,EAAA,KACbC,EAAQF,EAAWE,MAGnBC,GADiB,IAAAC,iBACOD,OAGxBE,EAAKC,OAAOH,EAAOI,QAAU,GAAKJ,EAAOI,OACzCC,IAAYL,EAAOI,OACnBA,EAASL,EAAMO,QAAQC,QAAQC,KAAKR,EAAOI,SAAW,IAAI,IAAYL,EAAMO,QAAS,CACvFJ,GAAI,IAEN,MAAO,CACLL,WAAYA,EACZO,OAAQA,EACRF,GAAIA,EACJG,QAASA,EACTI,QAAwB,IAAfL,EAAOM,M,4DCtBhBC,EAAU,SAAiBC,GAC7B,IAAIC,EAAUD,EAAKC,QACnB,OAAoBC,MAAMC,cAAcD,MAAME,SAAU,KAAMH,MAAAA,OAAyC,EAASA,EAAQI,KAAI,SAAUC,GACpI,IAAIC,EAAUD,EAAM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,QACNC,gBAAiB,WAEnBE,QAAS,CACPhS,KAAM,kBACN6R,KAAM,UACNC,gBAAiB,WAEnBG,MAAO,CACLjS,KAAM,4BACN6R,KAAM,QACNC,gBAAiB,WAEnBI,UAAW,CACTlS,KAAM,YACN6R,KAAM,OACNC,gBAAiB,Y","sources":["webpack:///./src/public/ts/utils/base64EncodeUnicodeSafe.tsx","webpack:///./src/public/ts/utils/slugify.tsx","webpack:///./src/public/ts/hooks/useRouteCookie.tsx","webpack:///./src/public/ts/components/notices.tsx","webpack:///./src/public/ts/components/config/cookies/formFields/general.tsx","webpack:///./src/public/ts/components/config/cookies/formFields/technical.tsx","webpack:///./src/public/ts/utils/isHost.tsx","webpack:///./src/public/ts/components/config/cookies/formFields/manager.tsx","webpack:///../../frontend-packages/headless-content-unblocker/src/dom/applyDynamicsToHtml.tsx","webpack:///./src/public/ts/components/config/cookies/formFields/codeDynamics.tsx","webpack:///./src/public/ts/components/config/cookies/formFields/noticeFormItemContainsSkipIfActiveAttribute.tsx","webpack:///./src/public/ts/components/config/cookies/formFields/handling.tsx","webpack:///./src/public/ts/components/config/cookies/form.tsx","webpack:///./src/public/ts/components/formHeadline.tsx","webpack:///./src/public/ts/hooks/useLocationQuery.tsx","webpack:///./src/public/ts/hooks/useRouteCookieGroup.tsx","webpack:///./src/public/ts/others/cookieTypeLocalized.tsx"],"sourcesContent":["/**\n * Unicode-safe base64 encoding.\n *\n * @see https://stackoverflow.com/a/30106551/5506547\n */\nfunction base64EncodeUnicodeSafe(str) {\n return btoa(encodeURIComponent(str).replace(/%([0-9A-F]{2})/g, function (match, p1) {\n return String.fromCharCode(parseInt(p1, 16));\n }));\n}\n\nexport { base64EncodeUnicodeSafe };","/**\n * Slugify a given text.\n *\n * @see https://gist.github.com/codeguy/6684588\n */\nfunction slugify(str) {\n str = str.replace(/^\\s+|\\s+$/g, \"\"); // trim\n\n str = str.toLowerCase(); // remove accents, swap ñ for n, etc\n\n var from = \"àáäâèéëêìíïîòóöôùúüûñç·/_,:;\";\n var to = \"aaaaeeeeiiiioooouuuunc------\";\n\n for (var i = 0, l = from.length; i < l; i++) {\n str = str.replace(new RegExp(from.charAt(i), \"g\"), to.charAt(i));\n }\n\n str = str.replace(/[^a-z0-9 -]/g, \"\") // remove invalid chars\n .replace(/\\s+/g, \"-\") // collapse whitespace and replace by -\n .replace(/-+/g, \"-\"); // collapse dashes\n\n return str;\n}\n\nexport { slugify };","import { useRouteMatch } from \"react-router-dom\";\nimport { CookieModel } from \"../models\";\nimport { useRouteCookieGroup } from \".\";\n\nvar useRouteCookie = function useRouteCookie() {\n var routeGroup = useRouteCookieGroup();\n var group = routeGroup.group;\n\n var _useRouteMatch = useRouteMatch(),\n params = _useRouteMatch.params; // Get cookie or return draft object\n\n\n var id = isNaN(+params.cookie) ? 0 : +params.cookie;\n var queried = !!params.cookie;\n var cookie = group.cookies.entries.get(+params.cookie) || new CookieModel(group.cookies, {\n id: 0\n });\n return {\n routeGroup: routeGroup,\n cookie: cookie,\n id: id,\n queried: queried,\n fetched: cookie.key !== 0\n };\n};\n\nexport { useRouteCookie };","var Notices = function Notices(_ref) {\n var notices = _ref.notices;\n return /*#__PURE__*/React.createElement(React.Fragment, null, notices === null || notices === void 0 ? void 0 : notices.map(function (_ref2) {\n var message = _ref2.message,\n severity = _ref2.severity;\n return message ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-\".concat(severity, \" below-h2 notice-alt\"),\n key: message\n }, /*#__PURE__*/React.createElement(\"p\", {\n dangerouslySetInnerHTML: {\n __html: message\n }\n })) : null;\n }));\n};\n\nexport { Notices };","import _Switch from \"antd/es/switch\";\nimport _Select from \"antd/es/select\";\nimport _Radio from \"antd/es/radio\";\nimport _Form from \"antd/es/form\";\nimport _Input from \"antd/es/input\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { useCallback } from \"react\";\nimport { observer } from \"mobx-react\";\nimport { _i, __, request, slugify } from \"../../../../utils\";\nimport { useStores } from \"../../../../store\";\nimport { FormHeadline, LearnMoreTag, Notices } from \"../../..\";\nimport { CookieEditFormLayout } from \"..\";\nimport { locationRestForwardCookieGet } from \"../../../../wp-api\";\nimport { useRouteCookie } from \"../../../../hooks\";\nvar CookieEditFormGeneralFields = observer(function (_ref) {\n var _cookie$presetModel, _cookie$presetModel$d;\n\n var _ref$showNoticePreset = _ref.showNoticePresetGroupNotFound,\n showNoticePresetGroupNotFound = _ref$showNoticePreset === void 0 ? false : _ref$showNoticePreset,\n groupNotices = _ref.groupNotices,\n providerPrivacyPolicyNotices = _ref.providerPrivacyPolicyNotices;\n\n var _useStores = useStores(),\n _useStores$cookieStor = _useStores.cookieStore,\n groups = _useStores$cookieStor.groups,\n essentialGroup = _useStores$cookieStor.essentialGroup,\n _useStores$optionStor = _useStores.optionStore,\n ePrivacyUSA = _useStores$optionStor.ePrivacyUSA,\n consentForwarding = _useStores$optionStor.consentForwarding;\n\n var _useRouteCookie = useRouteCookie(),\n cookie = _useRouteCookie.cookie,\n fetched = _useRouteCookie.fetched;\n\n var isRealCookieBannerPreset = ((_cookie$presetModel = cookie.presetModel) === null || _cookie$presetModel === void 0 ? void 0 : (_cookie$presetModel$d = _cookie$presetModel.data) === null || _cookie$presetModel$d === void 0 ? void 0 : _cookie$presetModel$d.identifier) === \"real-cookie-banner\";\n var findByUniqueCookieName = useCallback( /*#__PURE__*/function () {\n var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(slug) {\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _context.prev = 0;\n _context.next = 3;\n return request({\n location: locationRestForwardCookieGet,\n params: {\n slug: slug\n }\n });\n\n case 3:\n return _context.abrupt(\"return\", _context.sent.filter(function (d) {\n return d.ID !== cookie.key;\n })[0]);\n\n case 6:\n _context.prev = 6;\n _context.t0 = _context[\"catch\"](0);\n return _context.abrupt(\"return\", undefined);\n\n case 9:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, null, [[0, 6]]);\n }));\n\n return function (_x) {\n return _ref2.apply(this, arguments);\n };\n }(), [cookie.key]);\n var validateUniqueCookieName = useCallback( /*#__PURE__*/function () {\n var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(slug, allowOverwrite) {\n var found, _consentForwardingUniqueName, matchRegexp, foundGenerated;\n\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n _context2.next = 2;\n return findByUniqueCookieName(slug);\n\n case 2:\n found = _context2.sent;\n\n if (!found) {\n _context2.next = 19;\n break;\n }\n\n if (allowOverwrite) {\n _context2.next = 8;\n break;\n }\n\n throw __(\"A service with the same unique name already exists.\");\n\n case 8:\n // Consent Forwarding is deactivated, so we need to generate an unique name for the user\n _consentForwardingUniqueName = found.metas.consentForwardingUniqueName;\n matchRegexp = /^(.*)-(\\d+)$/;\n foundGenerated = found;\n\n case 11:\n if (!foundGenerated) {\n _context2.next = 18;\n break;\n }\n\n _consentForwardingUniqueName = _consentForwardingUniqueName.match(matchRegexp) ? _consentForwardingUniqueName.replace(matchRegexp, function (_, g1, g2) {\n return \"\".concat(g1, \"-\").concat(+g2 + 1);\n }) : \"\".concat(_consentForwardingUniqueName, \"-1\");\n _context2.next = 15;\n return findByUniqueCookieName(_consentForwardingUniqueName);\n\n case 15:\n foundGenerated = _context2.sent;\n _context2.next = 11;\n break;\n\n case 18:\n // Overwrite in form\n allowOverwrite(_consentForwardingUniqueName);\n\n case 19:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2);\n }));\n\n return function (_x2, _x3) {\n return _ref3.apply(this, arguments);\n };\n }(), [findByUniqueCookieName]);\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FormHeadline, {\n offset: CookieEditFormLayout.labelCol.span\n }, __(\"General service configuration\"), \" \", /*#__PURE__*/React.createElement(LearnMoreTag, {\n url: __(\"https://devowl.io/knowledge-base/real-cookie-banner-create-individual-cookie/\")\n })), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Name\"),\n required: true\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"name\",\n noStyle: true,\n rules: [{\n required: true,\n message: __(\"Please provide a name!\")\n }]\n }, /*#__PURE__*/React.createElement(_Input, null)), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\"\n }, __('Each service used should have a descriptive name that is understandable to a non-professional user. Example: \"Google Analytics\".'))), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Status\"),\n required: true\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"status\",\n noStyle: true,\n rules: [{\n required: true,\n message: __(\"Please choose a status!\")\n }]\n }, /*#__PURE__*/React.createElement(_Radio.Group, null, /*#__PURE__*/React.createElement(_Radio.Button, {\n value: \"publish\"\n }, __(\"Enabled\")), /*#__PURE__*/React.createElement(_Radio.Button, {\n value: \"private\"\n }, __(\"Disabled\")), /*#__PURE__*/React.createElement(_Radio.Button, {\n value: \"draft\"\n }, __(\"Draft\")))), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\"\n }, __('Services with the status \"Draft\" or \"Disabled\" are not visible to the public. In addition, a draft will be highlighted in the service table so that you do not forget to configure it.'))), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Group\"),\n required: true\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"group\",\n noStyle: true,\n rules: [{\n required: true,\n message: __(\"Please provide a group!\")\n }]\n }, /*#__PURE__*/React.createElement(_Select, null, groups.sortedGroups.map(function (_ref4) {\n var _ref4$data = _ref4.data,\n id = _ref4$data.id,\n name = _ref4$data.name;\n return /*#__PURE__*/React.createElement(_Select.Option, {\n key: id,\n value: id\n }, name);\n }))), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\"\n }, __(\"Each service must be assigned to a group. All services that do not belong to the group of essential services can (but do not have to) be accepted by visitors. According to the ePrivacy Directive, only services without which the website would not work are considered as essential services if the visitor has explicitly requested the service used. A possible economic interest of the website operator in using a tool, e.g. Google Analytics, is irrelevant.\")), showNoticePresetGroupNotFound !== false && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning below-h2 notice-alt\"\n }, /*#__PURE__*/React.createElement(\"p\", null, __(\"The service group in which this service is normally placed (%s) has been deleted by you. Please group the service yourself.\", showNoticePresetGroupNotFound))), /*#__PURE__*/React.createElement(Notices, {\n notices: groupNotices\n })), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Provider\"),\n required: true\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"provider\",\n noStyle: true,\n rules: [{\n required: true,\n message: __(\"Please name a provider!\")\n }]\n }, /*#__PURE__*/React.createElement(_Input, null)), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\"\n }, __('A service always has an \"owner\", who processes collected data or information saved in cookies etc. Please specify which provider creates cookies and processes personal data, e.g. \"Google Ireland Limited\". If you are the provider, please enter your legal name.'))), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Purpose\")\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"purpose\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Input.TextArea, {\n autoSize: {\n minRows: 3\n }\n })), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\"\n }, _i(__(\"The ePrivacy Directive and the GDPR require that a non-professional user understands the purpose of this service, how {{a}}personal data{{/a}} is collected and how cookies are used for this purpose.\"), {\n a: /*#__PURE__*/React.createElement(\"a\", {\n href: __(\"https://devowl.io/2021/personal-data-gdpr/\"),\n target: \"_blank\",\n rel: \"noreferrer\"\n })\n }))), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Privacy policy of the provider\")\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"providerPrivacyPolicy\",\n noStyle: true,\n rules: [{\n type: \"url\",\n message: __(\"Please provide a valid URL!\")\n }]\n }, /*#__PURE__*/React.createElement(_Input, null)), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\"\n }, __(\"Provide a direct link to the privacy policy of the provider that runs this service (in the language of your website).\")), /*#__PURE__*/React.createElement(Notices, {\n notices: providerPrivacyPolicyNotices\n })), /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues.group !== nextValues.group || prevValues.name !== nextValues.name;\n }\n }, function (_ref5) {\n var getFieldValue = _ref5.getFieldValue,\n setFieldsValue = _ref5.setFieldsValue;\n var isEssentialGroup = getFieldValue(\"group\") === essentialGroup.key;\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Consent Forwarding Unique Name\"),\n style: {\n display: consentForwarding ? undefined : \"none\"\n }\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"consentForwardingUniqueName\",\n noStyle: true,\n validateTrigger: \"onBlur\",\n rules: [{\n validator: function () {\n var _validator = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(rules, value) {\n var allowOverwrite;\n return _regeneratorRuntime.wrap(function _callee3$(_context3) {\n while (1) {\n switch (_context3.prev = _context3.next) {\n case 0:\n allowOverwrite = consentForwarding ? !value : true;\n return _context3.abrupt(\"return\", validateUniqueCookieName(value || slugify(getFieldValue(\"name\")), allowOverwrite ? function (consentForwardingUniqueName) {\n return setFieldsValue({\n consentForwardingUniqueName: consentForwardingUniqueName\n });\n } : undefined));\n\n case 2:\n case \"end\":\n return _context3.stop();\n }\n }\n }, _callee3);\n }));\n\n function validator(_x4, _x5) {\n return _validator.apply(this, arguments);\n }\n\n return validator;\n }()\n }]\n }, /*#__PURE__*/React.createElement(_Input, {\n placeholder: fetched ? \"\" : slugify(getFieldValue(\"name\"))\n })), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\"\n }, __(\"Consent Forwarding is active. This means that all services on all available instances must be identified by a unique name in order to correctly set consent for a service.\")), isEssentialGroup && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-info below-h2 notice-alt\"\n }, /*#__PURE__*/React.createElement(\"p\", null, __(\"You can define a unique name, but essential services are automatically accepted when a consent is forwarded.\")))), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Legal basis\"),\n required: true\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"legalBasis\",\n noStyle: true,\n rules: [{\n required: true\n }]\n }, /*#__PURE__*/React.createElement(_Radio.Group, {\n disabled: isEssentialGroup\n }, /*#__PURE__*/React.createElement(_Radio.Button, {\n value: \"consent\"\n }, __(\"Consent (Opt-in)\")), /*#__PURE__*/React.createElement(_Radio.Button, {\n value: \"legitimate-interest\"\n }, __(\"Legitimate interest (Opt-out)\")), isRealCookieBannerPreset && /*#__PURE__*/React.createElement(_Radio.Button, {\n value: \"legal-requirement\"\n }, __(\"Compliance with a legal obligation\")))), /*#__PURE__*/React.createElement(\"div\", {\n style: {\n margin: \"5px 0px 0px\"\n }\n }, /*#__PURE__*/React.createElement(LearnMoreTag, {\n url: __(\"https://devowl.io/2021/opt-in-opt-out-double-opt-in-definition/\")\n })), /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\"\n }, _i(__('Services can be used on various legal bases according to Art. 6 GDPR. \"Consent\" means that the user must explicitly agree to the service (opt-in). \"Legitimate interest\" means that your interest as a website operator prevails to use the service and the user must explicitly disagree (opt-out). Unless it is an essential service. Then an objection is not possible. {{strong}}A legitimate interest exists only in rare cases and only for data processing. If you are not sure, it is better to obtain consent to be on the safe side.{{/strong}}'), {\n strong: /*#__PURE__*/React.createElement(\"strong\", null)\n })), isEssentialGroup && !isRealCookieBannerPreset && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-info below-h2 notice-alt\"\n }, /*#__PURE__*/React.createElement(\"p\", null, __('Your service is currently grouped as \"Essential\". This group implies the legitimate interest, with the only difference that this service cannot be opted out.')))));\n }), /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues.group !== nextValues.group || prevValues.ePrivacyUSA !== nextValues.ePrivacyUSA;\n }\n }, function (_ref6) {\n var getFieldValue = _ref6.getFieldValue;\n return /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"US data processing\"),\n style: {\n display: ePrivacyUSA ? undefined : \"none\"\n }\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"ePrivacyUSA\",\n valuePropName: \"checked\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Switch, null)), /*#__PURE__*/React.createElement(\"span\", null, \"\\xA0\\xA0\", __(\"This service processes data in the USA or transfers data to US companies or servers\")), getFieldValue(\"ePrivacyUSA\") && getFieldValue(\"group\") === essentialGroup.key && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning below-h2 notice-alt\"\n }, /*#__PURE__*/React.createElement(\"p\", null, __(\"If you use this service declaration only as a notice and the corresponding service is already embedded outside the cookie banner on the first visit to the website, it is possible that the service used in the USA is already processing data before the user has agreed to this. From a data protection perspective, the use of such services should be avoided, or the service should be embedded in the opt-in code (execution after consent). In practice, this will not always be possible.\"))));\n }), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"No technical definitions\")\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"noTechnicalDefinitions\",\n valuePropName: \"checked\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Switch, null)), /*#__PURE__*/React.createElement(\"span\", null, \"\\xA0\\xA0\", __(\"This service does not set any technical cookies on the client of the visitor, but e.g. integrates a script.\"))));\n});\nexport { CookieEditFormGeneralFields };","import _Checkbox from \"antd/es/checkbox\";\nimport _Input from \"antd/es/input\";\nimport _Form from \"antd/es/form\";\nimport _extends from \"@babel/runtime/helpers/extends\";\nimport _Select from \"antd/es/select\";\nimport _Tooltip from \"antd/es/tooltip\";\nimport { observer } from \"mobx-react\";\nimport { __, _i, isHost } from \"../../../../utils\";\nimport { getCookieTypeLocalized } from \"../../../../others\";\nimport { PlusOutlined, QuestionCircleFilled, DeleteOutlined } from \"@ant-design/icons\";\nimport { FormHeadline } from \"../../..\";\nimport { CookieEditFormLayout, technicalDefinitionDefaults } from \"..\";\nimport { isUrl } from \"@devowl-wp/headless-content-unblocker\";\nvar WP_LIST_TABLE_FORM_ITEM_PROPS = {\n labelCol: {\n span: 0\n },\n wrapperCol: {\n span: 24\n },\n style: {\n margin: 0\n }\n};\nvar CookieEditFormTechnicalFields = observer(function () {\n var cookieTypeLocalized = getCookieTypeLocalized();\n return /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues.noTechnicalDefinitions !== nextValues.noTechnicalDefinitions || prevValues.technicalDefinitions.length !== nextValues.technicalDefinitions.length;\n }\n }, function (_ref) {\n var getFieldValue = _ref.getFieldValue;\n return getFieldValue(\"noTechnicalDefinitions\") ? null : /*#__PURE__*/React.createElement(_Form.List, {\n name: \"technicalDefinitions\"\n }, function (fields, _ref2) {\n var add = _ref2.add,\n remove = _ref2.remove;\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FormHeadline, {\n offset: CookieEditFormLayout.labelCol.span,\n description: __(\"For each service you use, you should specify all cookies that are used by it. You can find this out in the developer console of your browser. Please note that there are several types of cookies and that the law requires that you inform your visitors not only about (HTTP) cookies, but also about cookie-like information.\")\n }, __(\"Technical cookie information\")), /*#__PURE__*/React.createElement(\"table\", {\n className: \"wp-list-table widefat fixed striped table-view-list\",\n style: {\n marginBottom: 25\n }\n }, /*#__PURE__*/React.createElement(\"thead\", null, /*#__PURE__*/React.createElement(\"tr\", null, /*#__PURE__*/React.createElement(\"td\", {\n width: 150\n }, __(\"Cookie type\")), /*#__PURE__*/React.createElement(\"td\", null, /*#__PURE__*/React.createElement(_Tooltip, {\n title: _i(__(\"Every cookie has a technical name, which you must provide. If a cookie name is dynamically composed, please use an asterisk ({{code}}*{{/code}}) as a wildcard (placeholder).\"), {\n code: /*#__PURE__*/React.createElement(\"code\", null)\n })\n }, /*#__PURE__*/React.createElement(\"span\", null, __(\"Technical cookie name\"), \" \", /*#__PURE__*/React.createElement(QuestionCircleFilled, null)))), /*#__PURE__*/React.createElement(\"td\", null, /*#__PURE__*/React.createElement(_Tooltip, {\n title: __(\"Every cookie is associated to a domain or hostname.\")\n }, /*#__PURE__*/React.createElement(\"span\", null, __(\"Technical cookie host\"), \" \", /*#__PURE__*/React.createElement(QuestionCircleFilled, null)))), /*#__PURE__*/React.createElement(\"td\", null, /*#__PURE__*/React.createElement(_Tooltip, {\n title: __(\"A HTTP cookie is only valid for a certain time, which is defined when the cookie is set.\")\n }, /*#__PURE__*/React.createElement(\"span\", null, __(\"Cookie duration\"), \" \", /*#__PURE__*/React.createElement(QuestionCircleFilled, null)))), /*#__PURE__*/React.createElement(\"td\", {\n width: 50,\n align: \"right\"\n }, \"\\xA0\"))), /*#__PURE__*/React.createElement(\"tbody\", null, fields.map(function (field) {\n return /*#__PURE__*/React.createElement(\"tr\", {\n key: field.key\n }, /*#__PURE__*/React.createElement(\"td\", null, /*#__PURE__*/React.createElement(_Form.Item, _extends({}, field, WP_LIST_TABLE_FORM_ITEM_PROPS, {\n fieldKey: [field.fieldKey, \"type\"],\n name: [field.name, \"type\"],\n rules: [{\n required: true,\n message: __(\"Please provide a cookie type!\")\n }]\n }), /*#__PURE__*/React.createElement(_Select, null, Object.keys(cookieTypeLocalized).map(function (key) {\n return /*#__PURE__*/React.createElement(_Select.Option, {\n key: key,\n value: key\n }, cookieTypeLocalized[key].name);\n })))), /*#__PURE__*/React.createElement(\"td\", null, /*#__PURE__*/React.createElement(_Form.Item, _extends({}, field, WP_LIST_TABLE_FORM_ITEM_PROPS, {\n fieldKey: [field.fieldKey, \"name\"],\n name: [field.name, \"name\"],\n rules: [{\n required: true,\n message: __(\"Please provide a technical cookie name!\")\n }]\n }), /*#__PURE__*/React.createElement(_Input, null)), /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n var _prevValues$technical, _nextValues$technical;\n\n return ((_prevValues$technical = prevValues.technicalDefinitions[field.name]) === null || _prevValues$technical === void 0 ? void 0 : _prevValues$technical.name) !== ((_nextValues$technical = nextValues.technicalDefinitions[field.name]) === null || _nextValues$technical === void 0 ? void 0 : _nextValues$technical.name);\n }\n }, function (_ref3) {\n var getFieldValue = _ref3.getFieldValue;\n var cookieName = getFieldValue([\"technicalDefinitions\", field.name, \"name\"]);\n var notSupportedCookieNamePlaceholders = [/\\[/gm, [/([{]+)/gm, function (match) {\n return match.length === 1;\n }], /\\(/gm];\n return notSupportedCookieNamePlaceholders.filter(function (r) {\n return Array.isArray(r) ? r[0].test(cookieName) && cookieName.match(r[0]).filter(r[1]).length > 0 : r.test(cookieName);\n }).length > 0 && /*#__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(__(\"Are you sure this is the name of the cookie? It seems like you are using a placeholder that is not supported. Please use an asterisk ({{code}}*{{/code}}) as a placeholder if the cookie name is dynamically composed.\"), {\n code: /*#__PURE__*/React.createElement(\"code\", null)\n })));\n })), /*#__PURE__*/React.createElement(\"td\", null, /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n var _prevValues$technical2, _nextValues$technical2;\n\n return ((_prevValues$technical2 = prevValues.technicalDefinitions[field.name]) === null || _prevValues$technical2 === void 0 ? void 0 : _prevValues$technical2.type) !== ((_nextValues$technical2 = nextValues.technicalDefinitions[field.name]) === null || _nextValues$technical2 === void 0 ? void 0 : _nextValues$technical2.type);\n }\n }, function (_ref4) {\n var getFieldValue = _ref4.getFieldValue;\n var type = getFieldValue([\"technicalDefinitions\", field.name, \"type\"]);\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Form.Item, _extends({}, field, WP_LIST_TABLE_FORM_ITEM_PROPS, {\n fieldKey: [field.fieldKey, \"host\"],\n name: [field.name, \"host\"],\n rules: [{\n validator: function validator(_, value) {\n return ([\"local\", \"session\", \"indexedDb\"].indexOf(type) > -1 ? isUrl(value) : isHost(value)) || value === \"\" && type !== \"http\" ? Promise.resolve() : Promise.reject(__(\"Please provide a valid hostname!\"));\n }\n }]\n }), /*#__PURE__*/React.createElement(_Input, null)), /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n var _prevValues$technical3, _nextValues$technical3;\n\n return ((_prevValues$technical3 = prevValues.technicalDefinitions[field.name]) === null || _prevValues$technical3 === void 0 ? void 0 : _prevValues$technical3.host) !== ((_nextValues$technical3 = nextValues.technicalDefinitions[field.name]) === null || _nextValues$technical3 === void 0 ? void 0 : _nextValues$technical3.host);\n }\n }, function (_ref5) {\n var getFieldValue = _ref5.getFieldValue;\n var host = getFieldValue([\"technicalDefinitions\", field.name, \"host\"]);\n return host.startsWith(\"*.\") && host.length > 2 && /*#__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 are using an invalid wildcard (placeholder) syntax {{code}}*.{{/code}} to match subdomains. Use {{code}}.%s{{/code}} to include subdomains.\", host.substr(2)), {\n code: /*#__PURE__*/React.createElement(\"code\", null)\n })));\n }));\n })), /*#__PURE__*/React.createElement(\"td\", null, /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n var _prevValues$technical4, _nextValues$technical4;\n\n return ((_prevValues$technical4 = prevValues.technicalDefinitions[field.name]) === null || _prevValues$technical4 === void 0 ? void 0 : _prevValues$technical4.type) !== ((_nextValues$technical4 = nextValues.technicalDefinitions[field.name]) === null || _nextValues$technical4 === void 0 ? void 0 : _nextValues$technical4.type);\n }\n }, function (_ref6) {\n var getFieldValue = _ref6.getFieldValue;\n var type = getFieldValue([\"technicalDefinitions\", field.name, \"type\"]);\n return [\"local\", \"session\", \"indexedDb\", \"flash\"].indexOf(type) > -1 ? null : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Form.Item, _extends({}, field, {\n fieldKey: [field.fieldKey, \"sessionDuration\"],\n name: [field.name, \"sessionDuration\"],\n noStyle: true,\n valuePropName: \"checked\"\n }), /*#__PURE__*/React.createElement(_Checkbox, {\n style: {\n float: \"left\",\n marginTop: 5\n }\n }, /*#__PURE__*/React.createElement(_Tooltip, {\n title: __(\"This cookie is active as long as the session is active\")\n }, /*#__PURE__*/React.createElement(\"span\", null, __(\"Session\"))))), /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n var _prevValues$technical5, _nextValues$technical5;\n\n return ((_prevValues$technical5 = prevValues.technicalDefinitions[field.name]) === null || _prevValues$technical5 === void 0 ? void 0 : _prevValues$technical5.sessionDuration) !== ((_nextValues$technical5 = nextValues.technicalDefinitions[field.name]) === null || _nextValues$technical5 === void 0 ? void 0 : _nextValues$technical5.sessionDuration);\n }\n }, function (_ref7) {\n var getFieldValue = _ref7.getFieldValue;\n var sessionDuration = getFieldValue([\"technicalDefinitions\", field.name, \"sessionDuration\"]);\n return /*#__PURE__*/React.createElement(_Form.Item, _extends({}, field, WP_LIST_TABLE_FORM_ITEM_PROPS, {\n fieldKey: [field.fieldKey, \"duration\"],\n name: [field.name, \"duration\"],\n rules: [{\n required: !sessionDuration,\n message: __(\"Please provide a valid duration!\")\n }]\n }), /*#__PURE__*/React.createElement(_Input, {\n min: \"0\",\n addonAfter: /*#__PURE__*/React.createElement(_Form.Item, {\n name: [field.name, \"durationUnit\"],\n noStyle: true,\n rules: [{\n required: true,\n message: __(\"Please provide an unit!\")\n }]\n }, /*#__PURE__*/React.createElement(_Select, null, /*#__PURE__*/React.createElement(_Select.Option, {\n value: \"s\"\n }, __(\"second(s)\")), /*#__PURE__*/React.createElement(_Select.Option, {\n value: \"m\"\n }, __(\"minute(s)\"), \" \"), /*#__PURE__*/React.createElement(_Select.Option, {\n value: \"h\"\n }, __(\"hour(s)\"), \" \"), /*#__PURE__*/React.createElement(_Select.Option, {\n value: \"d\"\n }, __(\"day(s)\"), \" \"), /*#__PURE__*/React.createElement(_Select.Option, {\n value: \"mo\"\n }, __(\"month(s)\"), \" \"), /*#__PURE__*/React.createElement(_Select.Option, {\n value: \"y\"\n }, __(\"year(s)\"), \" \"))),\n type: \"number\",\n style: {\n maxWidth: 200,\n display: sessionDuration ? \"none\" : undefined\n }\n }));\n }));\n })), /*#__PURE__*/React.createElement(\"td\", null, fields.length > 1 ? /*#__PURE__*/React.createElement(\"a\", {\n className: \"button button-small\",\n onClick: function onClick() {\n remove(field.name);\n }\n }, /*#__PURE__*/React.createElement(DeleteOutlined, null)) : null));\n })), /*#__PURE__*/React.createElement(\"tfoot\", null, /*#__PURE__*/React.createElement(\"tr\", null, /*#__PURE__*/React.createElement(\"td\", {\n colSpan: 5,\n align: \"right\"\n }, /*#__PURE__*/React.createElement(\"a\", {\n className: \"button button-primary alignright\",\n onClick: function onClick() {\n add(technicalDefinitionDefaults);\n }\n }, /*#__PURE__*/React.createElement(PlusOutlined, null), \" \", __(\"Add another cookie definition\")))))));\n });\n });\n});\nexport { CookieEditFormTechnicalFields };","/**\n * Is a passed host string valid?\n *\n * @param url\n * @see https://stackoverflow.com/a/106223/5506547\n */\nfunction isHost(url) {\n return /^\\.?(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9])$/gm.test(url);\n}\n\nexport { isHost };","import _Input from \"antd/es/input\";\nimport _Tooltip from \"antd/es/tooltip\";\nimport _Form from \"antd/es/form\";\nimport _Switch from \"antd/es/switch\";\nimport { observer } from \"mobx-react\";\nimport { CookieEditFormLayout } from \"..\";\nimport { __ } from \"../../../../utils\";\nimport { useStores } from \"../../../../store\";\nimport { useRouteCookie } from \"../../../../hooks\";\nimport { LearnMoreTag } from \"../../..\";\n/**\n * Common manager form items. It provides fields for \"This is manger XY\" and in/out events.\n * If you add another manager, please also consider to add the meta fields to REST and initial values\n * of the cookie form itself.\n */\n\nvar CookieEditFormManagerFields = observer(function (_ref) {\n var manager = _ref.manager,\n onlyWhenManagerIs = _ref.onlyWhenManagerIs,\n hasManagerAttributeName = _ref.hasManagerAttributeName,\n thisIsManagerAttributeName = _ref.thisIsManagerAttributeName,\n inEventNameAttributeName = _ref.inEventNameAttributeName,\n outEventNameAttributeName = _ref.outEventNameAttributeName;\n\n var _useStores = useStores(),\n cookieStore = _useStores.cookieStore,\n _useStores$optionStor = _useStores.optionStore,\n setCookiesViaManager = _useStores$optionStor.setCookiesViaManager,\n hasManager = _useStores$optionStor[hasManagerAttributeName],\n isPro = _useStores$optionStor.others.isPro;\n\n var essentialGroup = cookieStore.essentialGroup;\n\n var _useRouteCookie = useRouteCookie(),\n cookie = _useRouteCookie.cookie;\n\n return setCookiesViaManager === onlyWhenManagerIs && isPro && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Form.Item, {\n wrapperCol: {\n offset: CookieEditFormLayout.labelCol.span\n }\n }, /*#__PURE__*/React.createElement(_Tooltip, {\n title: hasManager && cookie.key !== hasManager ? __(\"You have already defined a %s service.\", manager) : \"\"\n }, /*#__PURE__*/React.createElement(\"span\", null, /*#__PURE__*/React.createElement(_Form.Item, {\n name: thisIsManagerAttributeName,\n valuePropName: \"checked\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Switch, {\n disabled: hasManager && cookie.key !== hasManager\n })), /*#__PURE__*/React.createElement(\"span\", null, \"\\xA0\\xA0\", __(\"Opt-in script below loads %s\", manager))))), /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, curValues) {\n return prevValues[thisIsManagerAttributeName] !== curValues[thisIsManagerAttributeName] || prevValues.group !== curValues.group;\n }\n }, function (_ref2) {\n var getFieldValue = _ref2.getFieldValue;\n var isActive = getFieldValue(thisIsManagerAttributeName);\n var group = getFieldValue(\"group\");\n return isActive && group !== essentialGroup.key && /*#__PURE__*/React.createElement(_Form.Item, {\n wrapperCol: {\n offset: CookieEditFormLayout.labelCol.span\n }\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning below-h2 notice-alt\"\n }, /*#__PURE__*/React.createElement(\"p\", null, __(\"You have defined %1$s in a non-essential service group. In our legal opinion, this is the only way to use %1$s legally. However, please note that if a user doesn't consent to load %1$s, opt-in and opt-out events will not be sent to %1$s. Real Cookie Banner offers you the possibility to specify a fallback HTML/JavaScript for this case.\", manager))));\n }), /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, curValues) {\n return prevValues[thisIsManagerAttributeName] !== curValues[thisIsManagerAttributeName] || prevValues[inEventNameAttributeName] !== curValues[inEventNameAttributeName] || prevValues[outEventNameAttributeName] !== curValues[outEventNameAttributeName];\n }\n }, function (_ref3) {\n var getFieldValue = _ref3.getFieldValue;\n var active = getFieldValue(thisIsManagerAttributeName);\n var inEventName = getFieldValue(inEventNameAttributeName);\n var outEventName = getFieldValue(outEventNameAttributeName);\n return !active && /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Event names for %s\", manager)\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: inEventNameAttributeName,\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Input, {\n addonBefore: __(\"Opt-in\"),\n style: {\n maxWidth: 400,\n marginRight: 10,\n marginBottom: 5\n }\n })), /*#__PURE__*/React.createElement(_Form.Item, {\n name: outEventNameAttributeName,\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Input, {\n addonBefore: __(\"Opt-out\"),\n style: {\n maxWidth: 400,\n marginRight: 10,\n marginBottom: 5\n }\n })), /*#__PURE__*/React.createElement(\"div\", null, /*#__PURE__*/React.createElement(LearnMoreTag, {\n url: __(\"https://devowl.io/knowledge-base/real-cookie-banner-with-google-tag-manager-or-matomo-tag-manager/\")\n })), (inEventName.length > 0 || outEventName.length > 0) && !hasManager && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-warning below-h2 notice-alt\"\n }, /*#__PURE__*/React.createElement(\"p\", null, __(\"You have not yet defined a %s service. To use event names, you must create a %s service.\", manager, manager))));\n }));\n});\nexport { CookieEditFormManagerFields };","var DYNAMICS_VARIABLE_REGEXP = /{{([A-Za-z0-9_]+)}}/gm;\n/**\n * Takes any string and replaces `{{myVariable}}` with the value of the passed `dynamics` map.\n */\n\nfunction applyDynamicsToHtml(src, dynamics) {\n return src.replace(DYNAMICS_VARIABLE_REGEXP, function (fullMatch, variableName) {\n return Object.prototype.hasOwnProperty.call(dynamics, variableName) ? dynamics[variableName] : fullMatch;\n });\n}\n\nexport { applyDynamicsToHtml, DYNAMICS_VARIABLE_REGEXP };","import _Form from \"antd/es/form\";\nimport _Input from \"antd/es/input\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport { observer } from \"mobx-react\";\nimport { __ } from \"../../../../utils\";\nimport { DYNAMICS_VARIABLE_REGEXP } from \"@devowl-wp/headless-content-unblocker\";\nvar DYNAMICS_SEARCH_IN = [\"codeOptIn\", \"codeOptOut\", \"codeOnPageLoad\"];\n/**\n * Provide dynamic variables in `codeOptIn`, `codeOptOut` and `codeOnPageLoad`.\n */\n\nvar CookieEditFormCodeDynamics = observer(function (_ref) {\n var dynamicFields = _ref.dynamicFields;\n return /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return DYNAMICS_SEARCH_IN.map(function (k) {\n return prevValues[k] !== nextValues[k];\n }).filter(Boolean).length > 0;\n }\n }, function (_ref2) {\n var getFieldValue = _ref2.getFieldValue;\n var searchInResolved = DYNAMICS_SEARCH_IN.map(function (k) {\n return getFieldValue(k);\n }).join(\"\");\n var matches = Array.from(searchInResolved.matchAll(DYNAMICS_VARIABLE_REGEXP)).map(function (_ref3) {\n var _ref4 = _slicedToArray(_ref3, 2),\n m = _ref4[1];\n\n return m;\n });\n var added = [];\n return matches ? matches.map(function (name) {\n var formName = [\"codeDynamics\", name];\n\n var _ref5 = (dynamicFields === null || dynamicFields === void 0 ? void 0 : dynamicFields[name]) || {},\n label = _ref5.label,\n _ref5$invalidMessage = _ref5.invalidMessage,\n invalidMessage = _ref5$invalidMessage === void 0 ? __(\"Please fill in a value!\") : _ref5$invalidMessage,\n example = _ref5.example,\n expression = _ref5.expression,\n hint = _ref5.hint;\n\n if (added.indexOf(name) > -1) {\n return null;\n }\n\n added.push(name);\n return /*#__PURE__*/React.createElement(_Form.Item, {\n key: name,\n label: label || /*#__PURE__*/React.createElement(\"code\", null, name),\n required: true\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n name: formName,\n rules: [{\n required: true,\n pattern: expression ? new RegExp(expression) : undefined,\n message: invalidMessage\n }]\n }, /*#__PURE__*/React.createElement(_Input, {\n placeholder: example ? \"\".concat(__(\"e. g.\"), \" \").concat(example) : undefined\n })), !!hint && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-info below-h2 notice-alt\",\n style: {\n margin: \"10px 0 5px\"\n }\n }, /*#__PURE__*/React.createElement(\"p\", {\n dangerouslySetInnerHTML: {\n __html: hint\n }\n })));\n }) : null;\n });\n});\nexport { CookieEditFormCodeDynamics };","import _Form from \"antd/es/form\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _toConsumableArray from \"@babel/runtime/helpers/toConsumableArray\";\nimport { useMemo } from \"react\";\nimport { _i, __ } from \"../../../../utils\";\nimport { observer } from \"mobx-react\";\nimport { useStores } from \"../../../../store\";\nvar NoticeFormItemContainsSkipIfActiveAttribute = observer(function (_ref) {\n var name = _ref.name;\n\n var _useStores = useStores(),\n activePlugins = _useStores.optionStore.others.activePlugins;\n\n var activePluginKeys = useMemo(function () {\n return Object.keys(activePlugins);\n }, [activePlugins]);\n return /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues[name] !== nextValues[name];\n }\n }, function (_ref2) {\n var getFieldValue = _ref2.getFieldValue;\n var value = getFieldValue(name); // Find `skip-if-active` and their active plugins\n\n var matches = _toConsumableArray(value.matchAll(/\\s+(skip-if-active=\")([^\"]+)(\")/gm)).map(function (_ref3) {\n var _ref4 = _slicedToArray(_ref3, 3),\n plugins = _ref4[2];\n\n return plugins.split(\",\").filter(function (plugin) {\n return activePluginKeys.indexOf(plugin) > -1;\n });\n }).flat();\n\n var uniq = matches.filter(function (plugin, i) {\n return matches.indexOf(plugin) === i;\n });\n\n if (uniq.length === 0) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-info below-h2 notice-alt\"\n }, /*#__PURE__*/React.createElement(\"p\", null, _i(__(\"The code above contains HTML tags that are skipped when one of the following plugins is active: {{strong/}}. {{i}}What does this mean for me?{{/i}} In most cases, another plugin will take over the execution of the technical code, and you have to create a corresponding content blocker.\"), {\n strong: /*#__PURE__*/React.createElement(\"strong\", null, uniq.map(function (plugin) {\n return activePlugins[plugin];\n }).join(\", \")),\n i: /*#__PURE__*/React.createElement(\"i\", null)\n })));\n });\n});\nexport { NoticeFormItemContainsSkipIfActiveAttribute };","import _Switch from \"antd/es/switch\";\nimport _Form from \"antd/es/form\";\nimport { useCallback } from \"react\";\nimport { observer } from \"mobx-react\";\nimport { FormHeadline, CodeMirror, Notices } from \"../../..\";\nimport { CookieEditFormLayout } from \"..\";\nimport { __, _i } from \"../../../../utils\";\nimport { MANAGER_GTM_LABEL, MANAGER_MTM_LABEL } from \"../..\";\nimport { useStores } from \"../../../../store\";\nimport { CookieEditFormManagerFields, CookieEditFormCodeDynamics, NoticeFormItemContainsSkipIfActiveAttribute } from \".\";\nimport \"../../..\";\nvar CookieEditFormHandlingFields = observer(function (_ref) {\n var notices = _ref.notices,\n dynamicFields = _ref.dynamicFields;\n\n var _useStores = useStores(),\n cookieStore = _useStores.cookieStore,\n _useStores$optionStor = _useStores.optionStore,\n setCookiesViaManager = _useStores$optionStor.setCookiesViaManager,\n isPro = _useStores$optionStor.others.isPro;\n\n var essentialGroup = cookieStore.essentialGroup; // CodeMirror does not support \"display:none;\", we need to hide it in a hacky way\n\n var createHiddenFormItemsWithCodeMirror = useCallback(function (visible) {\n return {\n opacity: visible ? undefined : 0,\n height: visible ? undefined : 0,\n margin: visible ? undefined : 0\n };\n }, []);\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FormHeadline, {\n offset: CookieEditFormLayout.labelCol.span,\n description: setCookiesViaManager === \"none\" ? __(\"Define HTML and JavaScript code that is executed when a visitor decides to accept or reject this service or when a page is loaded. It is important to define the executed code correctly, as this ensures that scripts are executed and cookies are set only after the user's consent.\") : __(\"Define the %1$s event that should be thrown in the data layer when a visitor decides to accept or reject this service. The event can be used as a trigger in %1$s. For users who do not allow to use %1$s a fallback can be defined. You can define HTML and JavaScript code that is executed when a visitor decides to accept or reject this service, or when a page is loaded. It is important to define the event names and executed code correctly, as this will ensure that scripts are executed and cookies are only set with the user's consent.\", setCookiesViaManager === \"googleTagManager\" ? MANAGER_GTM_LABEL : MANAGER_MTM_LABEL)\n }, __(\"Technical handling\")), /*#__PURE__*/React.createElement(CookieEditFormManagerFields, {\n manager: MANAGER_GTM_LABEL,\n onlyWhenManagerIs: \"googleTagManager\",\n hasManagerAttributeName: \"hasGTM\",\n thisIsManagerAttributeName: \"thisIsGoogleTagManager\",\n inEventNameAttributeName: \"googleTagManagerInEventName\",\n outEventNameAttributeName: \"googleTagManagerOutEventName\"\n }), /*#__PURE__*/React.createElement(CookieEditFormManagerFields, {\n manager: MANAGER_MTM_LABEL,\n onlyWhenManagerIs: \"matomoTagManager\",\n hasManagerAttributeName: \"hasMTM\",\n thisIsManagerAttributeName: \"thisIsMatomoTagManager\",\n inEventNameAttributeName: \"matomoTagManagerInEventName\",\n outEventNameAttributeName: \"matomoTagManagerOutEventName\"\n }), /*#__PURE__*/React.createElement(CookieEditFormCodeDynamics, {\n dynamicFields: dynamicFields\n }), (notices === null || notices === void 0 ? void 0 : notices.length) > 0 && /*#__PURE__*/React.createElement(_Form.Item, {\n wrapperCol: {\n offset: CookieEditFormLayout.labelCol.span,\n span: CookieEditFormLayout.wrapperCol.span\n }\n }, /*#__PURE__*/React.createElement(Notices, {\n notices: notices\n })), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Code executed on opt-in\")\n }, setCookiesViaManager === \"googleTagManager\" && isPro && /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues.thisIsGoogleTagManager !== nextValues.thisIsGoogleTagManager;\n }\n }, function (_ref2) {\n var getFieldValue = _ref2.getFieldValue;\n return !getFieldValue(\"thisIsGoogleTagManager\") && /*#__PURE__*/React.createElement(\"div\", {\n style: {\n margin: \"4px 0\"\n }\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"codeOptInNoGoogleTagManager\",\n valuePropName: \"checked\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Switch, null)), /*#__PURE__*/React.createElement(\"span\", null, \"\\xA0\\xA0\", _i(__(\"Only run this script if the user has {{u}}not{{/u}} allowed to use %s\", MANAGER_GTM_LABEL), {\n u: /*#__PURE__*/React.createElement(\"u\", null)\n })));\n }), setCookiesViaManager === \"matomoTagManager\" && isPro && /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues.thisIsMatomoTagManager !== nextValues.thisIsMatomoTagManager;\n }\n }, function (_ref3) {\n var getFieldValue = _ref3.getFieldValue;\n return !getFieldValue(\"thisIsMatomoTagManager\") && /*#__PURE__*/React.createElement(\"div\", {\n style: {\n margin: \"4px 0\"\n }\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"codeOptInNoMatomoTagManager\",\n valuePropName: \"checked\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Switch, null)), /*#__PURE__*/React.createElement(\"span\", null, \"\\xA0\\xA0\", _i(__(\"Only run this script if the user has {{u}}not{{/u}} allowed to use %s\", MANAGER_MTM_LABEL), {\n u: /*#__PURE__*/React.createElement(\"u\", null)\n })));\n }), /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"codeOptIn\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(CodeMirror, {\n settings: window.cm_settings\n })), /*#__PURE__*/React.createElement(NoticeFormItemContainsSkipIfActiveAttribute, {\n name: \"codeOptIn\"\n })), /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues.group !== nextValues.group;\n }\n }, function (_ref4) {\n var getFieldValue = _ref4.getFieldValue;\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Code executed on opt-out\"),\n style: createHiddenFormItemsWithCodeMirror(getFieldValue(\"group\") !== essentialGroup.key)\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues.noTechnicalDefinitions !== nextValues.noTechnicalDefinitions;\n }\n }, function (_ref5) {\n var getFieldValue = _ref5.getFieldValue;\n return getFieldValue(\"noTechnicalDefinitions\") ? null : /*#__PURE__*/React.createElement(\"div\", {\n style: {\n margin: \"4px 0\"\n }\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"codeOptOutDelete\",\n valuePropName: \"checked\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Switch, null)), /*#__PURE__*/React.createElement(\"span\", null, \"\\xA0\\xA0\", __(\"Delete all first-party cookies after opt-out. First-party cookies are only cookies that are set by or for this domain.\")));\n }), setCookiesViaManager === \"googleTagManager\" && isPro && /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues.thisIsGoogleTagManager !== nextValues.thisIsGoogleTagManager;\n }\n }, function (_ref6) {\n var getFieldValue = _ref6.getFieldValue;\n return !getFieldValue(\"thisIsGoogleTagManager\") && /*#__PURE__*/React.createElement(\"div\", {\n style: {\n margin: \"4px 0\"\n }\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"codeOptOutNoGoogleTagManager\",\n valuePropName: \"checked\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Switch, null)), /*#__PURE__*/React.createElement(\"span\", null, \"\\xA0\\xA0\", _i(__(\"Only run this script if the user has {{u}}not{{/u}} allowed to use %s\", MANAGER_GTM_LABEL), {\n u: /*#__PURE__*/React.createElement(\"u\", null)\n })));\n }), setCookiesViaManager === \"matomoTagManager\" && isPro && /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues.thisIsMatomoTagManager !== nextValues.thisIsMatomoTagManager;\n }\n }, function (_ref7) {\n var getFieldValue = _ref7.getFieldValue;\n return !getFieldValue(\"thisIsMatomoTagManager\") && /*#__PURE__*/React.createElement(\"div\", {\n style: {\n margin: \"4px 0\"\n }\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"codeOptOutNoMatomoTagManager\",\n valuePropName: \"checked\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(_Switch, null)), /*#__PURE__*/React.createElement(\"span\", null, \"\\xA0\\xA0\", _i(__(\"Only run this script if the user has {{u}}not{{/u}} allowed to use %s\", MANAGER_MTM_LABEL), {\n u: /*#__PURE__*/React.createElement(\"u\", null)\n })));\n }), /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"codeOptOut\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(CodeMirror, {\n settings: window.cm_settings\n })), /*#__PURE__*/React.createElement(NoticeFormItemContainsSkipIfActiveAttribute, {\n name: \"codeOptOut\"\n })));\n }), /*#__PURE__*/React.createElement(_Form.Item, {\n label: __(\"Code executed on page load\")\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"codeOnPageLoad\",\n noStyle: true\n }, /*#__PURE__*/React.createElement(CodeMirror, {\n settings: window.cm_settings\n })), /*#__PURE__*/React.createElement(NoticeFormItemContainsSkipIfActiveAttribute, {\n name: \"codeOnPageLoad\"\n })));\n});\nexport { CookieEditFormHandlingFields };","import _Spin from \"antd/es/spin\";\nimport _extends from \"@babel/runtime/helpers/extends\";\nimport _Select from \"antd/es/select\";\nimport _Checkbox from \"antd/es/checkbox\";\nimport _Skeleton from \"antd/es/skeleton\";\nimport _message from \"antd/es/message\";\nimport _objectSpread from \"@babel/runtime/helpers/objectSpread2\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nimport _asyncToGenerator from \"@babel/runtime/helpers/asyncToGenerator\";\nimport _Form from \"antd/es/form\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\nimport _regeneratorRuntime from \"@babel/runtime/regenerator\";\nimport { useCallback, useState, useEffect } from \"react\";\nimport { observer } from \"mobx-react\";\nimport { CookieModel } from \"../../../models\";\nimport { __, scrollTo, slugify, base64EncodeUnicodeSafe } from \"../../../utils\";\nimport { useStores } from \"../../../store\";\nimport { useHistory, Prompt } from \"react-router-dom\";\nimport { useRouteCookie } from \"../../../hooks\";\nimport { CookieEditFormGeneralFields, CookieEditFormTechnicalFields, CookieEditFormHandlingFields } from \".\";\nimport { LearnMoreTag } from \"../..\";\nvar CookieEditFormLayout = {\n labelCol: {\n span: 6\n },\n wrapperCol: {\n span: 16\n }\n};\nvar technicalDefinitionDefaults = {\n type: \"http\",\n name: \"\",\n host: \"\",\n duration: undefined,\n durationUnit: \"y\",\n sessionDuration: false\n};\nvar CookieEditForm = observer(function (_ref) {\n var _cookieStore$groups$s, _cookieStore$groups$s2, _presetModel$attribut, _presetModel$attribut2, _presetModel$attribut4, _presetModel$attribut5;\n\n var preset = _ref.preset,\n attributes = _ref.attributes,\n _ref$navigateAfterCre = _ref.navigateAfterCreation,\n navigateAfterCreation = _ref$navigateAfterCre === void 0 ? true : _ref$navigateAfterCre,\n _ref$scrollToTop = _ref.scrollToTop,\n scrollToTop = _ref$scrollToTop === void 0 ? true : _ref$scrollToTop,\n onCreated = _ref.onCreated;\n\n var _useRouteCookie = useRouteCookie(),\n _useRouteCookie$route = _useRouteCookie.routeGroup,\n group = _useRouteCookie$route.group,\n link = _useRouteCookie$route.link,\n cookie = _useRouteCookie.cookie,\n id = _useRouteCookie.id,\n queried = _useRouteCookie.queried,\n fetched = _useRouteCookie.fetched;\n\n var _Form$useForm = _Form.useForm(),\n _Form$useForm2 = _slicedToArray(_Form$useForm, 1),\n form = _Form$useForm2[0];\n\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n isBusy = _useState2[0],\n setIsBusy = _useState2[1];\n\n var _useState3 = useState(false),\n _useState4 = _slicedToArray(_useState3, 2),\n hasChanges = _useState4[0],\n setHasChanges = _useState4[1];\n\n var history = useHistory();\n\n var _useStores = useStores(),\n cookieStore = _useStores.cookieStore,\n useEncodedStringForScriptInputs = _useStores.optionStore.others.useEncodedStringForScriptInputs;\n\n var essentialGroup = cookieStore.essentialGroup;\n var presetModel = (cookie === null || cookie === void 0 ? void 0 : cookie.presetModel) || cookieStore.presetsCookie.get(preset === null || preset === void 0 ? void 0 : preset.identifier); // Determine the group to use for a given preset, otherwise use current opened group tab\n\n var useGroup = attributes ? attributes.group ? ((_cookieStore$groups$s = cookieStore.groups.sortedGroups.filter(function (_ref2) {\n var name = _ref2.data.name;\n return name === attributes.group;\n })) === null || _cookieStore$groups$s === void 0 ? void 0 : (_cookieStore$groups$s2 = _cookieStore$groups$s[0]) === null || _cookieStore$groups$s2 === void 0 ? void 0 : _cookieStore$groups$s2.key) || \"preset-group-not-found\" : undefined : group.key;\n var allowContentBlockerCreation = Object.keys((preset === null || preset === void 0 ? void 0 : preset.contentBlockerPresets) || []).length > 0;\n var createContentBlockerNotice = (attributes === null || attributes === void 0 ? void 0 : attributes.createContentBlockerNotice) || (presetModel === null || presetModel === void 0 ? void 0 : (_presetModel$attribut = presetModel.attributes) === null || _presetModel$attribut === void 0 ? void 0 : _presetModel$attribut.createContentBlockerNotice);\n var showOptInNoticeScanned = !!(presetModel !== null && presetModel !== void 0 && presetModel.data.scanned && (_presetModel$attribut2 = presetModel.attributes) !== null && _presetModel$attribut2 !== void 0 && _presetModel$attribut2.codeOptIn && [\"wordpress-comments\"].indexOf(presetModel.data.identifier) === -1);\n var initialValues = fetched ? {\n name: cookie.data.title.raw,\n status: cookie.data.status,\n group: group.key || undefined,\n // Can be `0`, so fallback to no selection (e.g. Cookie form modal in Content Blocker)\n purpose: cookie.data.content.raw,\n provider: cookie.data.meta.provider,\n providerPrivacyPolicy: cookie.data.meta.providerPrivacyPolicy,\n consentForwardingUniqueName: cookie.data.meta.consentForwardingUniqueName || cookie.data.slug,\n noTechnicalDefinitions: cookie.data.meta.noTechnicalDefinitions,\n legalBasis: cookie.data.meta.legalBasis,\n ePrivacyUSA: cookie.data.meta.ePrivacyUSA,\n technicalDefinitions: JSON.parse(JSON.stringify(cookie.technicalDefinitions || \"[]\")),\n codeDynamics: JSON.parse(JSON.stringify(cookie.codeDynamics || \"{}\")),\n thisIsGoogleTagManager: cookie.data.meta.thisIsGoogleTagManager,\n googleTagManagerInEventName: cookie.data.meta.googleTagManagerInEventName,\n googleTagManagerOutEventName: cookie.data.meta.googleTagManagerOutEventName,\n thisIsMatomoTagManager: cookie.data.meta.thisIsMatomoTagManager,\n matomoTagManagerInEventName: cookie.data.meta.matomoTagManagerInEventName,\n matomoTagManagerOutEventName: cookie.data.meta.matomoTagManagerOutEventName,\n codeOptIn: cookie.data.meta.codeOptIn,\n codeOptInNoGoogleTagManager: cookie.data.meta.codeOptInNoGoogleTagManager,\n codeOptInNoMatomoTagManager: cookie.data.meta.codeOptInNoMatomoTagManager,\n codeOptOut: cookie.data.meta.codeOptOut,\n codeOptOutNoGoogleTagManager: cookie.data.meta.codeOptOutNoGoogleTagManager,\n codeOptOutNoMatomoTagManager: cookie.data.meta.codeOptOutNoMatomoTagManager,\n codeOnPageLoad: cookie.data.meta.codeOnPageLoad,\n codeOptOutDelete: cookie.data.meta.codeOptOutDelete\n } : {\n name: (attributes === null || attributes === void 0 ? void 0 : attributes.name) || \"\",\n status: \"publish\",\n group: typeof useGroup === \"number\" ? // Can be `0`, so fallback to no selection (e.g. Cookie form modal in Content Blocker)\n useGroup || undefined : undefined,\n purpose: (attributes === null || attributes === void 0 ? void 0 : attributes.purpose) || \"\",\n provider: (attributes === null || attributes === void 0 ? void 0 : attributes.provider) || \"\",\n providerPrivacyPolicy: (attributes === null || attributes === void 0 ? void 0 : attributes.providerPrivacyPolicy) || \"\",\n consentForwardingUniqueName: (attributes === null || attributes === void 0 ? void 0 : attributes.consentForwardingUniqueName) || (preset === null || preset === void 0 ? void 0 : preset.identifier) || \"\",\n noTechnicalDefinitions: (attributes === null || attributes === void 0 ? void 0 : attributes.noTechnicalDefinitions) || false,\n legalBasis: (attributes === null || attributes === void 0 ? void 0 : attributes.legalBasis) || \"consent\",\n ePrivacyUSA: (attributes === null || attributes === void 0 ? void 0 : attributes.ePrivacyUSA) || false,\n technicalDefinitions: attributes !== null && attributes !== void 0 && attributes.technicalDefinitions ? JSON.parse(JSON.stringify(attributes.technicalDefinitions)) : [technicalDefinitionDefaults],\n codeDynamics: (attributes === null || attributes === void 0 ? void 0 : attributes.codeDynamics) || {},\n thisIsGoogleTagManager: (attributes === null || attributes === void 0 ? void 0 : attributes.thisIsGoogleTagManager) || false,\n googleTagManagerInEventName: (attributes === null || attributes === void 0 ? void 0 : attributes.googleTagManagerInEventName) || \"\",\n googleTagManagerOutEventName: (attributes === null || attributes === void 0 ? void 0 : attributes.googleTagManagerOutEventName) || \"\",\n thisIsMatomoTagManager: (attributes === null || attributes === void 0 ? void 0 : attributes.thisIsMatomoTagManager) || false,\n matomoTagManagerInEventName: (attributes === null || attributes === void 0 ? void 0 : attributes.matomoTagManagerInEventName) || \"\",\n matomoTagManagerOutEventName: (attributes === null || attributes === void 0 ? void 0 : attributes.matomoTagManagerOutEventName) || \"\",\n codeOptIn: (attributes === null || attributes === void 0 ? void 0 : attributes.codeOptIn) || \"\",\n codeOptInNoGoogleTagManager: (attributes === null || attributes === void 0 ? void 0 : attributes.codeOptInNoGoogleTagManager) || false,\n codeOptInNoMatomoTagManager: (attributes === null || attributes === void 0 ? void 0 : attributes.codeOptInNoMatomoTagManager) || false,\n codeOptOut: (attributes === null || attributes === void 0 ? void 0 : attributes.codeOptOut) || \"\",\n codeOnPageLoad: (attributes === null || attributes === void 0 ? void 0 : attributes.codeOnPageLoad) || \"\",\n codeOptOutNoGoogleTagManager: (attributes === null || attributes === void 0 ? void 0 : attributes.codeOptOutNoGoogleTagManager) || false,\n codeOptOutNoMatomoTagManager: (attributes === null || attributes === void 0 ? void 0 : attributes.codeOptOutNoMatomoTagManager) || false,\n codeOptOutDelete: (attributes === null || attributes === void 0 ? void 0 : attributes.codeOptOutDelete) || false,\n createContentBlocker: typeof (attributes === null || attributes === void 0 ? void 0 : attributes.createContentBlocker) === \"boolean\" ? attributes.createContentBlocker : allowContentBlockerCreation && !(attributes !== null && attributes !== void 0 && attributes.deactivateAutomaticContentBlockerCreation),\n createContentBlockerId: attributes === null || attributes === void 0 ? void 0 : attributes.createContentBlockerId,\n presetCheck: !preset\n }; // Initially load the cookie if not yet done\n\n useEffect(function () {\n if (queried && !fetched) {\n group.cookies.getSingle({\n params: {\n id: id,\n context: \"edit\"\n }\n });\n }\n }, [queried, fetched]); // Lazy load attributes of preset model\n\n useEffect(function () {\n if (presetModel && !presetModel.attributes) {\n presetModel.fetchAttributes();\n }\n }, [presetModel]); // Scroll to top when opening the form\n\n useEffect(function () {\n if (scrollToTop) {\n scrollTo(0);\n }\n }, []);\n var handleSave = useCallback( /*#__PURE__*/function () {\n var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(values) {\n var codeToBase64, name, status, purpose, noTechnicalDefinitions, technicalDefinitions, _group, codeDynamics, createContentBlocker, createContentBlockerId, consentForwardingUniqueName, codeOptIn, codeOptOut, codeOnPageLoad, meta, newMeta, _useGroup, draft;\n\n return _regeneratorRuntime.wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n _context.prev = 0;\n\n // Pass as base64-encoded string to avoid Cloudflare XSS issues\n codeToBase64 = function codeToBase64(str) {\n return useEncodedStringForScriptInputs ? \"encodedScript:\".concat(base64EncodeUnicodeSafe(str)) : str;\n };\n\n name = values.name, status = values.status, purpose = values.purpose, noTechnicalDefinitions = values.noTechnicalDefinitions, technicalDefinitions = values.technicalDefinitions, _group = values.group, codeDynamics = values.codeDynamics, createContentBlocker = values.createContentBlocker, createContentBlockerId = values.createContentBlockerId, consentForwardingUniqueName = values.consentForwardingUniqueName, codeOptIn = values.codeOptIn, codeOptOut = values.codeOptOut, codeOnPageLoad = values.codeOnPageLoad, meta = _objectWithoutProperties(values, [\"name\", \"status\", \"purpose\", \"noTechnicalDefinitions\", \"technicalDefinitions\", \"group\", \"codeDynamics\", \"createContentBlocker\", \"createContentBlockerId\", \"consentForwardingUniqueName\", \"codeOptIn\", \"codeOptOut\", \"codeOnPageLoad\"]);\n newMeta = _objectSpread(_objectSpread({}, meta), {}, {\n codeOptIn: codeToBase64(codeOptIn),\n codeOptOut: codeToBase64(codeOptOut),\n codeOnPageLoad: codeToBase64(codeOnPageLoad),\n noTechnicalDefinitions: noTechnicalDefinitions,\n codeDynamics: JSON.stringify(codeDynamics),\n // Still hold the data of `technicalDefinitions` in database so it is not cleared when activating this option\n technicalDefinitions: JSON.stringify(noTechnicalDefinitions ? initialValues.technicalDefinitions : technicalDefinitions),\n consentForwardingUniqueName: consentForwardingUniqueName || slugify(name)\n });\n delete newMeta.presetCheck;\n\n if (!queried) {\n _context.next = 15;\n break;\n }\n\n cookie.setName(name);\n cookie.setStatus(status);\n cookie.setPurpose(purpose);\n cookie.setMeta(newMeta);\n cookie.setGroup(_group);\n _context.next = 13;\n return cookie.patch();\n\n case 13:\n _context.next = 20;\n break;\n\n case 15:\n _useGroup = cookieStore.groups.entries.get(_group);\n draft = new CookieModel(_useGroup.cookies, {\n title: {\n rendered: name\n },\n content: {\n rendered: purpose,\n protected: false\n },\n status: status,\n meta: _objectSpread(_objectSpread({}, newMeta), {}, {\n presetId: preset === null || preset === void 0 ? void 0 : preset.identifier,\n presetVersion: preset === null || preset === void 0 ? void 0 : preset.version\n })\n });\n _context.next = 19;\n return draft.persist();\n\n case 19:\n onCreated === null || onCreated === void 0 ? void 0 : onCreated(draft);\n\n case 20:\n setHasChanges(false);\n\n _message.success(__(\"You have successfully saved the service.\") + (createContentBlocker ? \" \".concat(__(\"Continue with the corresponding Content Blocker!\")) : \"\")); // Navigate back after creation\n\n\n navigateAfterCreation && setTimeout(function () {\n return createContentBlocker ? // Navigate to content blocker form and forward `navigateAfterCreation` if given\n history.push(\"/blocker/new?force=\".concat(createContentBlockerId || preset.identifier, \"&cookieCreationPrompt=1\").concat(typeof navigateAfterCreation === \"string\" ? \"&navigateAfterCreation=\".concat(encodeURIComponent(navigateAfterCreation)) : \"\")) : // Navigate back to overview or custom link\n typeof navigateAfterCreation === \"string\" ? window.location.href = navigateAfterCreation : history.push(\"\".concat(link.slice(1), \"/\").concat(_group));\n }, 0);\n _context.next = 29;\n break;\n\n case 25:\n _context.prev = 25;\n _context.t0 = _context[\"catch\"](0);\n\n _message.error(_context.t0.responseJSON.message);\n\n throw _context.t0;\n\n case 29:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, null, [[0, 25]]);\n }));\n\n return function (_x) {\n return _ref3.apply(this, arguments);\n };\n }(), [queried, cookie, cookieStore, useEncodedStringForScriptInputs]);\n var onFinish = useCallback( /*#__PURE__*/function () {\n var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(values) {\n return _regeneratorRuntime.wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n setIsBusy(true);\n _context2.prev = 1;\n _context2.next = 4;\n return handleSave(values);\n\n case 4:\n _context2.next = 8;\n break;\n\n case 6:\n _context2.prev = 6;\n _context2.t0 = _context2[\"catch\"](1);\n\n case 8:\n _context2.prev = 8;\n setIsBusy(false);\n return _context2.finish(8);\n\n case 11:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2, null, [[1, 6, 8, 11]]);\n }));\n\n return function (_x2) {\n return _ref4.apply(this, arguments);\n };\n }(), [form, handleSave]);\n var onFinishFailed = useCallback(function (errorInfo) {\n _message.error(__(\"The service could not be saved due to missing/invalid form values.\"));\n\n if (errorInfo.errorFields.length) {\n var instance = form.getFieldInstance(errorInfo.errorFields[0].name);\n instance.parentElement.scrollIntoView({\n behavior: \"smooth\",\n block: \"center\"\n });\n }\n }, []);\n var handleBeforeUnload = useCallback(function () {\n if (!hasChanges) {\n return true;\n }\n\n return __('You have unsaved changes. If you click on \"confirm\", your changes will be discarded.');\n }, [form, initialValues]);\n\n if (queried && !fetched) {\n return /*#__PURE__*/React.createElement(_Skeleton, {\n active: true,\n paragraph: {\n rows: 8\n }\n });\n }\n\n return /*#__PURE__*/React.createElement(_Spin, {\n spinning: isBusy || (presetModel === null || presetModel === void 0 ? void 0 : presetModel.busy) || false\n }, /*#__PURE__*/React.createElement(Prompt, {\n message: handleBeforeUnload\n }), /*#__PURE__*/React.createElement(_Form, _extends({\n name: \"cookie-\".concat(group.key, \"-\").concat(id),\n form: form\n }, CookieEditFormLayout, {\n initialValues: initialValues,\n onFinish: onFinish,\n onFinishFailed: onFinishFailed,\n onValuesChange: function onValuesChange(_ref5) {\n var technicalDefinitions = _ref5.technicalDefinitions;\n setHasChanges(true); // Listen to `sessionDuration` changes and validate the `required` field\n // Listen to `type` changes and validate the technical host field\n\n var td = (technicalDefinitions || []).filter(Boolean);\n\n if (td.length === 1) {\n var tdChangedKeys = Object.keys(td[0]);\n\n if (tdChangedKeys.length === 1 && [\"sessionDuration\", \"type\"].indexOf(tdChangedKeys[0]) > -1) {\n setTimeout(function () {\n return form.validateFields();\n }, 100); // wait a bit so there are not false-positives\n }\n }\n }\n }), /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues.group !== nextValues.group;\n }\n }, function (_ref6) {\n var _presetModel$attribut3;\n\n var getFieldValue = _ref6.getFieldValue;\n return /*#__PURE__*/React.createElement(CookieEditFormGeneralFields, {\n groupNotices: [{\n message: presetModel && typeof useGroup === \"number\" && getFieldValue(\"group\") !== useGroup ? __(\"The groups specified in service templates were chosen wisely. Are you sure that this service should be assigned to another group for your case?\") : undefined,\n severity: \"warning\"\n }, {\n message: (attributes === null || attributes === void 0 ? void 0 : attributes.groupNotice) || (presetModel === null || presetModel === void 0 ? void 0 : (_presetModel$attribut3 = presetModel.attributes) === null || _presetModel$attribut3 === void 0 ? void 0 : _presetModel$attribut3.groupNotice),\n severity: \"info\"\n }],\n providerPrivacyPolicyNotices: [{\n message: !fetched && presetModel !== null && presetModel !== void 0 && presetModel.attributes && !initialValues.providerPrivacyPolicy ? __('You have not yet set a privacy policy in the settings, so this field could not be filled in automatically. Please enter the URL of your privacy policy here and <a href=\"%s\" target=\"_blank\">set the corresponding page in your settings.</a>', \"#/settings\") : undefined,\n severity: \"warning\"\n }],\n showNoticePresetGroupNotFound: useGroup === \"preset-group-not-found\" ? attributes.group : false\n });\n }), /*#__PURE__*/React.createElement(CookieEditFormTechnicalFields, null), /*#__PURE__*/React.createElement(CookieEditFormHandlingFields, {\n dynamicFields: (attributes === null || attributes === void 0 ? void 0 : attributes.dynamicFields) || (presetModel === null || presetModel === void 0 ? void 0 : (_presetModel$attribut4 = presetModel.attributes) === null || _presetModel$attribut4 === void 0 ? void 0 : _presetModel$attribut4.dynamicFields),\n notices: [{\n message: (attributes === null || attributes === void 0 ? void 0 : attributes.technicalHandlingNotice) || (presetModel === null || presetModel === void 0 ? void 0 : (_presetModel$attribut5 = presetModel.attributes) === null || _presetModel$attribut5 === void 0 ? void 0 : _presetModel$attribut5.technicalHandlingNotice),\n severity: \"info\"\n }, {\n // Example: Hotjar (hidden content blocker)\n message: showOptInNoticeScanned && !allowContentBlockerCreation && __(\"If you have already used %s before creating this service, please deactivate the script/plugin with which the service was loaded so far. The opt-in script will now take care of the correct integration.\", presetModel.data.attributes_name),\n severity: \"warning\"\n }, {\n // Example: Google Analytics (scanned, found in custom script (e.g. `functions.php`))\n message: showOptInNoticeScanned && allowContentBlockerCreation && __('You are currently embedding \"%1$s\" outside of Real Cookie Banner. You can have it blocked via a content blocker before consenting. Alternatively, you can use the following opt-in script to load %1$s directly into Real Cookie Banner.<br /><br />If you want to embed \"%1$s\" via Real Cookie Banner, you have to deactivate the content blocker at the end of the form and remove \"%1$s\" outside Real Cookie Banner.<br /><br />If you prefer to keep the current integration, you only have to delete the opt-in script in this form.', presetModel.data.attributes_name),\n severity: \"warning\"\n }].filter(function (_ref7) {\n var message = _ref7.message;\n return message;\n })\n }), !!preset && /*#__PURE__*/React.createElement(React.Fragment, null, allowContentBlockerCreation && navigateAfterCreation && /*#__PURE__*/React.createElement(_Form.Item, {\n wrapperCol: {\n offset: CookieEditFormLayout.labelCol.span\n }\n }, /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues.group !== nextValues.group;\n }\n }, function (_ref8) {\n var getFieldValue = _ref8.getFieldValue;\n return /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n name: \"createContentBlocker\",\n valuePropName: \"checked\",\n dependencies: [\"group\"],\n rules: [{\n validator: function validator(_, value) {\n return getFieldValue(\"group\") === essentialGroup.key && value ? Promise.reject(__('Services that should be associated with a content blocker cannot be in the \"Essential\" group, because it cannot be rejected.')) : Promise.resolve();\n }\n }]\n }, /*#__PURE__*/React.createElement(_Checkbox, null, __(\"Create content blocker for this service.\")));\n }), /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n shouldUpdate: function shouldUpdate(prevValues, nextValues) {\n return prevValues.createContentBlocker !== nextValues.createContentBlocker;\n }\n }, function (_ref9) {\n var getFieldValue = _ref9.getFieldValue;\n return /*#__PURE__*/React.createElement(React.Fragment, null, getFieldValue(\"createContentBlocker\") && /*#__PURE__*/React.createElement(React.Fragment, null, Object.keys(preset.contentBlockerPresets).length > 1 && /*#__PURE__*/React.createElement(_Form.Item, {\n noStyle: true,\n name: \"createContentBlockerId\",\n rules: [{\n required: true,\n message: __(\"Please select a template for the Content Blocker!\")\n }]\n }, /*#__PURE__*/React.createElement(_Select, {\n style: {\n maxWidth: 500,\n marginTop: 10,\n display: \"block\"\n },\n placeholder: __(\"Select Content Blocker template...\")\n }, Object.keys(preset.contentBlockerPresets).map(function (contentBlockerId) {\n return /*#__PURE__*/React.createElement(_Select.Option, {\n key: contentBlockerId,\n value: contentBlockerId\n }, preset.contentBlockerPresets[contentBlockerId]);\n }))), /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-info below-h2 notice-alt\",\n style: {\n marginTop: 10\n }\n }, /*#__PURE__*/React.createElement(\"p\", null, __(\"Immediately after submitting this form you will be forwarded to another form that allows you to create the Content Blocker.\")))), !!createContentBlockerNotice && /*#__PURE__*/React.createElement(\"div\", {\n className: \"notice notice-info below-h2 notice-alt\"\n }, /*#__PURE__*/React.createElement(\"p\", {\n dangerouslySetInnerHTML: {\n __html: createContentBlockerNotice\n }\n })));\n })), /*#__PURE__*/React.createElement(_Form.Item, {\n name: \"presetCheck\",\n valuePropName: \"checked\",\n required: true,\n rules: [{\n type: \"boolean\",\n required: true,\n transform: function transform(value) {\n return value || undefined;\n },\n message: __(\"Please confirm that you have checked the contents of the service.\")\n }],\n wrapperCol: {\n offset: CookieEditFormLayout.labelCol.span\n }\n }, /*#__PURE__*/React.createElement(_Checkbox, null, __(\"I have checked the information in the service template myself and added any missing information or corrected any information that does not fit to my use case.\"), \" \", /*#__PURE__*/React.createElement(LearnMoreTag, {\n url: __(\"https://devowl.io/knowledge-base/is-real-cookie-banner-legally-compliant/\")\n })))), /*#__PURE__*/React.createElement(_Form.Item, {\n className: \"rcb-form-sticky-submit\"\n }, /*#__PURE__*/React.createElement(\"span\", null, /*#__PURE__*/React.createElement(\"input\", {\n type: \"submit\",\n className: \"button button-primary right\",\n value: __(\"Save\")\n })))));\n});\nexport { CookieEditFormLayout, technicalDefinitionDefaults, CookieEditForm };","import _Form from \"antd/es/form\";\n\nvar FormHeadline = function FormHeadline(_ref) {\n var children = _ref.children,\n description = _ref.description,\n offset = _ref.offset;\n return /*#__PURE__*/React.createElement(_Form.Item, {\n wrapperCol: {\n offset: offset\n },\n style: {\n borderBottom: \"1px solid #e7e7e7\"\n }\n }, /*#__PURE__*/React.createElement(\"h3\", {\n style: {\n margin: \"0 0 \".concat(description ? 3 : 15, \"px 0\")\n }\n }, children), !!description && /*#__PURE__*/React.createElement(\"p\", {\n className: \"description\",\n style: {\n marginBottom: 15\n }\n }, description));\n};\n\nexport { FormHeadline };","import { useLocation } from \"react-router-dom\";\nimport { Url } from \"@devowl-wp/utils\";\n/**\n * Allows to parse query arguments from the `react-router` string.\n */\n\nfunction useLocationQuery() {\n return new Url(\"/\".concat(useLocation().search), true).query;\n}\n\nexport { useLocationQuery };","import { useRouteMatch } from \"react-router-dom\";\nimport { useStores } from \"../store\";\nimport { useCallback } from \"react\";\nimport { CookieGroupModel } from \"../models\";\n\nvar useRouteCookieGroup = function useRouteCookieGroup() {\n var _useRouteMatch = useRouteMatch(),\n cookieGroup = _useRouteMatch.params.cookieGroup;\n\n var _useStores = useStores(),\n cookieStore = _useStores.cookieStore; // Get cookie group or return draft object\n\n\n var id = isNaN(+cookieGroup) ? 0 : +cookieGroup;\n var queried = !!cookieGroup;\n var group = cookieStore.groups.entries.get(id) || new CookieGroupModel(cookieStore.groups, {\n id: 0\n });\n var link = \"#/cookies\";\n var editLink = useCallback(function (_ref) {\n var key = _ref.key;\n return \"#/cookies/\".concat(group.key, \"/edit/\").concat(key);\n }, [group]);\n var addCookieLink = \"#/cookies/\".concat(group.key, \"/new\");\n return {\n group: group,\n id: id,\n queried: queried,\n fetched: group.key !== 0,\n link: link,\n editLink: editLink,\n addCookieLink: addCookieLink\n };\n};\n\nexport { useRouteCookieGroup };","function getCookieTypeLocalized() {\n return {\n http: {\n name: \"HTTP Cookie\",\n abbr: \"HTTP\",\n backgroundColor: \"black\"\n },\n local: {\n name: \"Local Storage\",\n abbr: \"Local\",\n backgroundColor: \"#b3983c\"\n },\n session: {\n name: \"Session Storage\",\n abbr: \"Session\",\n backgroundColor: \"#3c99b3\"\n },\n flash: {\n name: \"Flash Local Shared Object\",\n abbr: \"Flash\",\n backgroundColor: \"#b33c3c\"\n },\n indexedDb: {\n name: \"IndexedDB\",\n abbr: \"I-DB\",\n backgroundColor: \"#4ab33c\"\n }\n };\n}\n\nexport { getCookieTypeLocalized };"],"names":["base64EncodeUnicodeSafe","str","btoa","encodeURIComponent","replace","match","p1","String","fromCharCode","parseInt","slugify","toLowerCase","from","i","l","length","RegExp","charAt","useRouteCookie","routeGroup","useRouteCookieGroup","group","params","useRouteMatch","id","isNaN","cookie","queried","cookies","entries","get","fetched","key","Notices","_ref","notices","React","createElement","Fragment","map","_ref2","message","severity","className","concat","dangerouslySetInnerHTML","__html","CookieEditFormGeneralFields","_cookie$presetModel","_cookie$presetModel$d","_ref$showNoticePreset","showNoticePresetGroupNotFound","groupNotices","providerPrivacyPolicyNotices","_useStores","_useStores$cookieStor","cookieStore","groups","essentialGroup","_useStores$optionStor","optionStore","ePrivacyUSA","consentForwarding","_useRouteCookie","isRealCookieBannerPreset","presetModel","data","identifier","findByUniqueCookieName","useCallback","_callee","slug","_context","prev","next","request","location","abrupt","sent","filter","d","ID","t0","undefined","stop","_x","apply","this","arguments","validateUniqueCookieName","_ref3","_callee2","allowOverwrite","found","_consentForwardingUniqueName","matchRegexp","foundGenerated","_context2","__","metas","consentForwardingUniqueName","_","g1","g2","_x2","_x3","offset","CookieEditFormLayout","labelCol","span","url","label","required","name","noStyle","rules","value","sortedGroups","_ref4","_ref4$data","autoSize","minRows","_i","a","href","target","rel","type","shouldUpdate","prevValues","nextValues","_ref5","_validator","getFieldValue","setFieldsValue","isEssentialGroup","style","display","validateTrigger","validator","_callee3","_context3","_x4","_x5","placeholder","disabled","margin","strong","_ref6","valuePropName","WP_LIST_TABLE_FORM_ITEM_PROPS","wrapperCol","CookieEditFormTechnicalFields","cookieTypeLocalized","noTechnicalDefinitions","technicalDefinitions","fields","add","remove","description","marginBottom","width","title","code","QuestionCircleFilled","align","field","fieldKey","Object","keys","_prevValues$technical","_nextValues$technical","cookieName","r","Array","isArray","test","_prevValues$technical2","_nextValues$technical2","indexOf","isUrl","Promise","resolve","reject","_prevValues$technical3","_nextValues$technical3","host","startsWith","substr","_prevValues$technical4","_nextValues$technical4","float","marginTop","_prevValues$technical5","_nextValues$technical5","sessionDuration","_ref7","min","addonAfter","maxWidth","onClick","DeleteOutlined","colSpan","technicalDefinitionDefaults","PlusOutlined","CookieEditFormManagerFields","manager","onlyWhenManagerIs","hasManagerAttributeName","thisIsManagerAttributeName","inEventNameAttributeName","outEventNameAttributeName","setCookiesViaManager","hasManager","isPro","others","curValues","isActive","active","inEventName","outEventName","addonBefore","marginRight","DYNAMICS_VARIABLE_REGEXP","DYNAMICS_SEARCH_IN","CookieEditFormCodeDynamics","dynamicFields","k","Boolean","searchInResolved","join","matches","matchAll","added","formName","_ref5$invalidMessage","invalidMessage","example","expression","hint","push","pattern","NoticeFormItemContainsSkipIfActiveAttribute","activePlugins","activePluginKeys","useMemo","split","plugin","flat","uniq","CookieEditFormHandlingFields","createHiddenFormItemsWithCodeMirror","visible","opacity","height","thisIsGoogleTagManager","u","thisIsMatomoTagManager","settings","window","cm_settings","duration","durationUnit","CookieEditForm","_cookieStore$groups$s","_cookieStore$groups$s2","_presetModel$attribut","_presetModel$attribut2","_presetModel$attribut4","_presetModel$attribut5","preset","attributes","_ref$navigateAfterCre","navigateAfterCreation","_ref$scrollToTop","scrollToTop","onCreated","_useRouteCookie$route","link","_Form$useForm","form","_useState","useState","_useState2","isBusy","setIsBusy","_useState3","_useState4","hasChanges","setHasChanges","history","useHistory","useEncodedStringForScriptInputs","presetsCookie","useGroup","allowContentBlockerCreation","contentBlockerPresets","createContentBlockerNotice","showOptInNoticeScanned","scanned","codeOptIn","initialValues","raw","status","purpose","content","provider","meta","providerPrivacyPolicy","legalBasis","JSON","parse","stringify","codeDynamics","googleTagManagerInEventName","googleTagManagerOutEventName","matomoTagManagerInEventName","matomoTagManagerOutEventName","codeOptInNoGoogleTagManager","codeOptInNoMatomoTagManager","codeOptOut","codeOptOutNoGoogleTagManager","codeOptOutNoMatomoTagManager","codeOnPageLoad","codeOptOutDelete","createContentBlocker","deactivateAutomaticContentBlockerCreation","createContentBlockerId","presetCheck","useEffect","getSingle","context","fetchAttributes","scrollTo","handleSave","values","codeToBase64","_group","newMeta","_useGroup","draft","setName","setStatus","setPurpose","setMeta","setGroup","patch","rendered","protected","presetId","presetVersion","version","persist","setTimeout","slice","responseJSON","onFinish","finish","onFinishFailed","errorInfo","errorFields","getFieldInstance","parentElement","scrollIntoView","behavior","block","handleBeforeUnload","paragraph","rows","spinning","busy","Prompt","onValuesChange","td","tdChangedKeys","validateFields","_presetModel$attribut3","groupNotice","technicalHandlingNotice","attributes_name","_ref8","dependencies","_ref9","contentBlockerId","transform","FormHeadline","children","borderBottom","useLocationQuery","Url","useLocation","search","query","cookieGroup","editLink","addCookieLink","getCookieTypeLocalized","http","abbr","backgroundColor","local","session","flash","indexedDb"],"sourceRoot":""}
public/dist/716.lite.js ADDED
@@ -0,0 +1,2 @@
 
 
1
+ "use strict";(self.webpackChunkrealCookieBanner_name_=self.webpackChunkrealCookieBanner_name_||[]).push([[716],{6559:function(e,t,n){function r(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}function o(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}n.d(t,{g1:function(){return r},os:function(){return o}})},4716:function(e,t,n){n.d(t,{Z:function(){return q}});var r=n(4741),o=n(3429),i=n(7363),a=n(3161),c=n(2711),l=n(63),s=n(7228),u=n(4115),f=n(2286),m=n.n(f),v=n(6559),d=n(8833),p=n(2134),g=n(5905),w=n(1894),h=n(6871);function Z(e,t,n,r){var o=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,l.Z)({},e,i);if(t<0&&o<r)return(0,l.Z)({},e,-i)}else if(t<0||o>r)return(0,l.Z)({},e,t<0?i:-i);return{}}var C=i.createContext({previewUrls:new Map,setPreviewUrls:function(){return null},current:null,setCurrent:function(){return null},setShowPreview:function(){return null},setMousePosition:function(){return null},registerImage:function(){return function(){return null}}}),y=C.Provider,b=i.useState,E=i.useEffect,x={x:0,y:0},P=function(e){var t=e.prefixCls,n=e.src,o=e.alt,a=e.onClose,f=(e.afterClose,e.visible),d=e.icons,y=void 0===d?{}:d,P=(0,u.Z)(e,["prefixCls","src","alt","onClose","afterClose","visible","icons"]),k=y.rotateLeft,O=y.rotateRight,N=y.zoomIn,z=y.zoomOut,M=y.close,S=y.left,R=y.right,j=b(1),I=(0,s.Z)(j,2),L=I[0],H=I[1],V=b(0),Y=(0,s.Z)(V,2),B=Y[0],D=Y[1],T=function(e){var t=i.useRef(null),n=i.useState(e),r=(0,s.Z)(n,2),o=r[0],a=r[1],l=i.useRef([]);return i.useEffect((function(){return function(){return t.current&&h.Z.cancel(t.current)}}),[]),[o,function(e){null===t.current&&(l.current=[],t.current=(0,h.Z)((function(){a((function(e){var n=e;return l.current.forEach((function(e){n=(0,c.Z)((0,c.Z)({},n),e)})),t.current=null,n}))}))),l.current.push(e)}]}(x),X=(0,s.Z)(T,2),_=X[0],G=X[1],U=i.useRef(),A=i.useRef({originX:0,originY:0,deltaX:0,deltaY:0}),W=i.useState(!1),F=(0,s.Z)(W,2),K=F[0],q=F[1],J=i.useContext(C),Q=J.previewUrls,$=J.current,ee=J.isPreviewGroup,te=J.setCurrent,ne=Q.size,re=Array.from(Q.keys()),oe=re.indexOf($),ie=ee?Q.get($):n,ae=ee&&ne>1,ce=i.useState({wheelDirection:0}),le=(0,s.Z)(ce,2),se=le[0],ue=le[1],fe=function(){H((function(e){return e+1})),G(x)},me=function(){L>1&&H((function(e){return e-1})),G(x)},ve=m()((0,l.Z)({},"".concat(t,"-moving"),K)),de="".concat(t,"-operations-operation"),pe="".concat(t,"-operations-icon"),ge=[{icon:M,onClick:a,type:"close"},{icon:N,onClick:fe,type:"zoomIn"},{icon:z,onClick:me,type:"zoomOut",disabled:1===L},{icon:O,onClick:function(){D((function(e){return e+90}))},type:"rotateRight"},{icon:k,onClick:function(){D((function(e){return e-90}))},type:"rotateLeft"}],we=function(){if(f&&K){var e=U.current.offsetWidth*L,t=U.current.offsetHeight*L,n=U.current.getBoundingClientRect(),r=n.left,o=n.top,i=B%180!=0;q(!1);var a=function(e,t,n,r){var o=(0,v.g1)(),i=o.width,a=o.height,l=null;return e<=i&&t<=a?l={x:0,y:0}:(e>i||t>a)&&(l=(0,c.Z)((0,c.Z)({},Z("x",n,e,i)),Z("y",r,t,a))),l}(i?t:e,i?e:t,r,o);a&&G((0,c.Z)({},a))}},he=function(e){f&&K&&G({x:e.pageX-A.current.deltaX,y:e.pageY-A.current.deltaY})},Ze=function(e){if(f){e.preventDefault();var t=e.deltaY;ue({wheelDirection:t})}};return E((function(){var e=se.wheelDirection;e>0?me():e<0&&fe()}),[se]),E((function(){var e,t,n=(0,g.Z)(window,"mouseup",we,!1),r=(0,g.Z)(window,"mousemove",he,!1),o=(0,g.Z)(window,"wheel",Ze,{passive:!1});try{window.top!==window.self&&(e=(0,g.Z)(window.top,"mouseup",we,!1),t=(0,g.Z)(window.top,"mousemove",he,!1))}catch(e){(0,w.Kp)(!1,"[rc-image] ".concat(e))}return function(){n.remove(),r.remove(),o.remove(),e&&e.remove(),t&&t.remove()}}),[f,K]),i.createElement(p.Z,(0,r.Z)({transitionName:"zoom",maskTransitionName:"fade",closable:!1,keyboard:!0,prefixCls:t,onClose:a,afterClose:function(){H(1),D(0),G(x)},visible:f,wrapClassName:ve},P),i.createElement("ul",{className:"".concat(t,"-operations")},ge.map((function(e){var n=e.icon,r=e.onClick,o=e.type,a=e.disabled;return i.createElement("li",{className:m()(de,(0,l.Z)({},"".concat(t,"-operations-operation-disabled"),!!a)),onClick:r,key:o},i.isValidElement(n)?i.cloneElement(n,{className:pe}):n)}))),i.createElement("div",{className:"".concat(t,"-img-wrapper"),style:{transform:"translate3d(".concat(_.x,"px, ").concat(_.y,"px, 0)")}},i.createElement("img",{onMouseDown:function(e){0===e.button&&(e.preventDefault(),e.stopPropagation(),A.current.deltaX=e.pageX-_.x,A.current.deltaY=e.pageY-_.y,A.current.originX=_.x,A.current.originY=_.y,q(!0))},ref:U,className:"".concat(t,"-img"),src:ie,alt:o,style:{transform:"scale3d(".concat(L,", ").concat(L,", 1) rotate(").concat(B,"deg)")}})),ae&&i.createElement("div",{className:m()("".concat(t,"-switch-left"),(0,l.Z)({},"".concat(t,"-switch-left-disabled"),0===oe)),onClick:function(e){e.preventDefault(),e.stopPropagation(),oe>0&&te(re[oe-1])}},S),ae&&i.createElement("div",{className:m()("".concat(t,"-switch-right"),(0,l.Z)({},"".concat(t,"-switch-right-disabled"),oe===ne-1)),onClick:function(e){e.preventDefault(),e.stopPropagation(),oe<ne-1&&te(re[oe+1])}},R))},k=0,O=function(e){var t=e.src,n=e.alt,a=e.onPreviewClose,f=e.prefixCls,p=void 0===f?"rc-image":f,g=e.previewPrefixCls,w=void 0===g?"".concat(p,"-preview"):g,h=e.placeholder,Z=e.fallback,y=e.width,b=e.height,E=e.style,x=e.preview,O=void 0===x||x,N=e.className,z=e.onClick,M=e.onError,S=e.wrapperClassName,R=e.wrapperStyle,j=e.crossOrigin,I=e.decoding,L=e.loading,H=e.referrerPolicy,V=e.sizes,Y=e.srcSet,B=e.useMap,D=(0,u.Z)(e,["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","crossOrigin","decoding","loading","referrerPolicy","sizes","srcSet","useMap"]),T=h&&!0!==h,X="object"===(0,o.Z)(O)?O:{},_=X.src,G=X.visible,U=void 0===G?void 0:G,A=X.onVisibleChange,W=void 0===A?a:A,F=X.getContainer,K=void 0===F?void 0:F,q=X.mask,J=X.maskClassName,Q=X.icons,$=(0,u.Z)(X,["src","visible","onVisibleChange","getContainer","mask","maskClassName","icons"]),ee=null!=_?_:t,te=void 0!==U,ne=(0,d.Z)(!!U,{value:U,onChange:W}),re=(0,s.Z)(ne,2),oe=re[0],ie=re[1],ae=(0,i.useState)(T?"loading":"normal"),ce=(0,s.Z)(ae,2),le=ce[0],se=ce[1],ue=(0,i.useState)(null),fe=(0,s.Z)(ue,2),me=fe[0],ve=fe[1],de="error"===le,pe=i.useContext(C),ge=pe.isPreviewGroup,we=pe.setCurrent,he=pe.setShowPreview,Ze=pe.setMousePosition,Ce=pe.registerImage,ye=i.useState((function(){return k+=1})),be=(0,s.Z)(ye,1)[0],Ee=O&&!de,xe=i.useRef(!1),Pe=function(){se("normal")};i.useEffect((function(){return Ce(be,ee)}),[]),i.useEffect((function(){Ce(be,ee,Ee)}),[ee,Ee]),i.useEffect((function(){de&&se("normal"),T&&!xe.current&&se("loading")}),[t]);var ke=m()(p,S,(0,l.Z)({},"".concat(p,"-error"),de)),Oe=de&&Z?Z:ee,Ne={crossOrigin:j,decoding:I,loading:L,referrerPolicy:H,sizes:V,srcSet:Y,useMap:B,alt:n,className:m()("".concat(p,"-img"),(0,l.Z)({},"".concat(p,"-img-placeholder"),!0===h),N),style:(0,c.Z)({height:b},E)};return i.createElement(i.Fragment,null,i.createElement("div",(0,r.Z)({},D,{className:ke,onClick:O&&!de?function(e){if(!te){var t=(0,v.os)(e.target),n=t.left,r=t.top;ge?(we(be),Ze({x:n,y:r})):ve({x:n,y:r})}ge?he(!0):ie(!0),z&&z(e)}:z,style:(0,c.Z)({width:y,height:b},R)}),i.createElement("img",(0,r.Z)({},Ne,{ref:function(e){xe.current=!1,"loading"===le&&(null==e?void 0:e.complete)&&(e.naturalWidth||e.naturalHeight)&&(xe.current=!0,Pe())}},de&&Z?{src:Z}:{onLoad:Pe,onError:function(e){M&&M(e),se("error")},src:t})),"loading"===le&&i.createElement("div",{"aria-hidden":"true",className:"".concat(p,"-placeholder")},h),q&&Ee&&i.createElement("div",{className:m()("".concat(p,"-mask"),J)},q)),!ge&&Ee&&i.createElement(P,(0,r.Z)({"aria-hidden":!oe,visible:oe,prefixCls:w,onClose:function(e){e.stopPropagation(),ie(!1),te||ve(null)},mousePosition:me,src:Oe,alt:n,getContainer:K,icons:Q},$)))};O.PreviewGroup=function(e){var t=e.previewPrefixCls,n=void 0===t?"rc-image-preview":t,a=e.children,c=e.icons,l=void 0===c?{}:c,f=e.preview,m="object"===(0,o.Z)(f)?f:{},v=m.visible,p=void 0===v?void 0:v,g=m.onVisibleChange,w=void 0===g?void 0:g,h=m.getContainer,Z=void 0===h?void 0:h,C=m.current,b=void 0===C?0:C,E=(0,u.Z)(m,["visible","onVisibleChange","getContainer","current"]),x=(0,i.useState)(new Map),k=(0,s.Z)(x,2),O=k[0],N=k[1],z=(0,i.useState)(),M=(0,s.Z)(z,2),S=M[0],R=M[1],j=(0,d.Z)(!!p,{value:p,onChange:w}),I=(0,s.Z)(j,2),L=I[0],H=I[1],V=(0,i.useState)(null),Y=(0,s.Z)(V,2),B=Y[0],D=Y[1],T=void 0!==p,X=Array.from(O.keys())[b],_=new Map(Array.from(O).filter((function(e){return!!(0,s.Z)(e,2)[1].canPreview})).map((function(e){var t=(0,s.Z)(e,2);return[t[0],t[1].url]})));return i.useEffect((function(){R(X)}),[X]),i.useEffect((function(){!L&&T&&R(X)}),[X,T,L]),i.createElement(y,{value:{isPreviewGroup:!0,previewUrls:_,setPreviewUrls:N,current:S,setCurrent:R,setShowPreview:H,setMousePosition:D,registerImage:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=function(){N((function(t){var n=new Map(t);return n.delete(e)?n:t}))};return N((function(r){return new Map(r).set(e,{url:t,canPreview:n})})),r}}},a,i.createElement(P,(0,r.Z)({"aria-hidden":!L,visible:L,prefixCls:n,onClose:function(e){e.stopPropagation(),H(!1),D(null)},mousePosition:B,src:_.get(S),icons:l,getContainer:Z},E)))},O.displayName="Image";var N=O,z=n(6273),M={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},S=n(3751),R=function(e,t){return i.createElement(S.Z,Object.assign({},e,{ref:t,icon:M}))};R.displayName="RotateLeftOutlined";var j=i.forwardRef(R),I={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},L=function(e,t){return i.createElement(S.Z,Object.assign({},e,{ref:t,icon:I}))};L.displayName="RotateRightOutlined";var H=i.forwardRef(L),V={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},Y=function(e,t){return i.createElement(S.Z,Object.assign({},e,{ref:t,icon:V}))};Y.displayName="ZoomInOutlined";var B=i.forwardRef(Y),D={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},T=function(e,t){return i.createElement(S.Z,Object.assign({},e,{ref:t,icon:D}))};T.displayName="ZoomOutOutlined";var X=i.forwardRef(T),_=n(1543),G=n(8122),U=n(4632),A=n(4178),W=n(5670),F={rotateLeft:i.createElement(j,null),rotateRight:i.createElement(H,null),zoomIn:i.createElement(B,null),zoomOut:i.createElement(X,null),close:i.createElement(_.Z,null),left:i.createElement(G.Z,null),right:i.createElement(U.Z,null)},K=function(e){var t=e.prefixCls,n=e.preview,c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["prefixCls","preview"]),l=(0,i.useContext)(A.E_).getPrefixCls,s=l("image",t),u=l(),f=(0,i.useContext)(A.E_).locale,m=(void 0===f?z.Z:f).Image||z.Z.Image,v=i.useMemo((function(){if(!1===n)return n;var e="object"===(0,o.Z)(n)?n:{};return(0,r.Z)((0,r.Z)({mask:i.createElement("div",{className:"".concat(s,"-mask-info")},i.createElement(a.Z,null),null==m?void 0:m.preview),icons:F},e),{transitionName:(0,W.m)(u,"zoom",e.transitionName),maskTransitionName:(0,W.m)(u,"fade",e.maskTransitionName)})}),[n,m]);return i.createElement(N,(0,r.Z)({prefixCls:s,preview:v},c))};K.PreviewGroup=function(e){var t=e.previewPrefixCls,n=e.preview,a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["previewPrefixCls","preview"]),c=i.useContext(A.E_).getPrefixCls,l=c("image-preview",t),s=c(),u=i.useMemo((function(){if(!1===n)return n;var e="object"===(0,o.Z)(n)?n:{};return(0,r.Z)((0,r.Z)({},e),{transitionName:(0,W.m)(s,"zoom",e.transitionName),maskTransitionName:(0,W.m)(s,"fade",e.maskTransitionName)})}),[n]);return i.createElement(N.PreviewGroup,(0,r.Z)({preview:u,previewPrefixCls:l,icons:F},a))};var q=K},6273:function(e,t,n){var r=n(5175);t.Z=r.Z}}]);
2
+ //# sourceMappingURL=716.lite.js.map?ver=9f43a7db28c7f27ed0fa
public/dist/716.lite.js.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"file":"716.lite.js?ver=9f43a7db28c7f27ed0fa","mappings":"qIAsFO,SAASA,IAGd,MAAO,CACLC,MAHUC,SAASC,gBAAgBC,YAInCC,OAHWC,OAAOC,aAAeL,SAASC,gBAAgBK,cAYvD,SAASC,EAAUC,GACxB,IAAIC,EAAMD,EAAKE,wBACXC,EAAUX,SAASC,gBAEvB,MAAO,CACLW,KAAMH,EAAIG,MAAQR,OAAOS,aA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wBAEvE,CAACuB,EAASoG,IACb,OAAoB,gBAAoB,GAAS,OAAS,CACxDvO,UAAWA,EACXmI,QAASsG,GACR1F,KAGL,EAAM2C,aD3BqB,SAA8B6B,GACvD,IAAIC,EAAqBD,EAAGxF,iBACxBI,EAAUoF,EAAGpF,QACbpI,EArC8B,SAAU0N,EAAGtC,GAC/C,IAAIuC,EAAI,GAER,IAAK,IAAIC,KAAKF,EACRP,OAAOU,UAAUC,eAAeC,KAAKL,EAAGE,IAAMxC,EAAExH,QAAQgK,GAAK,IAAGD,EAAEC,GAAKF,EAAEE,IAG/E,GAAS,MAALF,GAAqD,mBAAjCP,OAAOa,sBAA2C,KAAIC,EAAI,EAAb,IAAgBL,EAAIT,OAAOa,sBAAsBN,GAAIO,EAAIL,EAAEjB,OAAQsB,IAClI7C,EAAExH,QAAQgK,EAAEK,IAAM,GAAKd,OAAOU,UAAUK,qBAAqBH,KAAKL,EAAGE,EAAEK,MAAKN,EAAEC,EAAEK,IAAMP,EAAEE,EAAEK,KAEhG,OAAON,EA2BKkB,CAAOrB,EAAI,CAAC,mBAAoB,YAGxCW,EADoB,aAAiB,MACJA,aAEjClO,EAAYkO,EAAa,gBAAiBV,GAC1CY,EAAgBF,IAChBO,EAAgB,WAAc,WAChC,IAAgB,IAAZtG,EACF,OAAOA,EAGT,IAAIuG,EAAgC,YAArB,OAAQvG,GAAwBA,EAAU,GAEzD,OAAO,QAAS,OAAS,GAAIuG,GAAW,CACtC/H,gBAAgB,OAAkByH,EAAe,OAAQM,EAAS/H,gBAClEC,oBAAoB,OAAkBwH,EAAe,OAAQM,EAAS9H,wBAEvE,CAACuB,IACJ,OAAoB,gBAAoB,gBAAsB,OAAS,CACrEA,QAASsG,EACT1G,iBAAkB/H,EAClBO,MAAOA,GACNR,KCEL,S,mCChEA,IAAe,EAAa","sources":["webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/rc-util/es/Dom/css.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/rc-image/es/getFixScaleEleTransPosition.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/rc-image/es/PreviewGroup.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/rc-image/es/Preview.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/rc-image/es/hooks/useFrameSetState.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/rc-image/es/Image.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/rc-image/es/index.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons-svg/es/asn/RotateLeftOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons/es/icons/RotateLeftOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons-svg/es/asn/RotateRightOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons/es/icons/RotateRightOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons-svg/es/asn/ZoomInOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons/es/icons/ZoomInOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons-svg/es/asn/ZoomOutOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons/es/icons/ZoomOutOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/image/PreviewGroup.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/image/index.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/locale/en_US.js"],"sourcesContent":["/* eslint-disable no-nested-ternary */\nvar PIXEL_PATTERN = /margin|padding|width|height|max|min|offset/;\nvar removePixel = {\n left: true,\n top: true\n};\nvar floatMap = {\n cssFloat: 1,\n styleFloat: 1,\n float: 1\n};\n\nfunction getComputedStyle(node) {\n return node.nodeType === 1 ? node.ownerDocument.defaultView.getComputedStyle(node, null) : {};\n}\n\nfunction getStyleValue(node, type, value) {\n type = type.toLowerCase();\n\n if (value === 'auto') {\n if (type === 'height') {\n return node.offsetHeight;\n }\n\n if (type === 'width') {\n return node.offsetWidth;\n }\n }\n\n if (!(type in removePixel)) {\n removePixel[type] = PIXEL_PATTERN.test(type);\n }\n\n return removePixel[type] ? parseFloat(value) || 0 : value;\n}\n\nexport function get(node, name) {\n var length = arguments.length;\n var style = getComputedStyle(node);\n name = floatMap[name] ? 'cssFloat' in node.style ? 'cssFloat' : 'styleFloat' : name;\n return length === 1 ? style : getStyleValue(node, name, style[name] || node.style[name]);\n}\nexport function set(node, name, value) {\n var length = arguments.length;\n name = floatMap[name] ? 'cssFloat' in node.style ? 'cssFloat' : 'styleFloat' : name;\n\n if (length === 3) {\n if (typeof value === 'number' && PIXEL_PATTERN.test(name)) {\n value = \"\".concat(value, \"px\");\n }\n\n node.style[name] = value; // Number\n\n return value;\n }\n\n for (var x in name) {\n if (name.hasOwnProperty(x)) {\n set(node, x, name[x]);\n }\n }\n\n return getComputedStyle(node);\n}\nexport function getOuterWidth(el) {\n if (el === document.body) {\n return document.documentElement.clientWidth;\n }\n\n return el.offsetWidth;\n}\nexport function getOuterHeight(el) {\n if (el === document.body) {\n return window.innerHeight || document.documentElement.clientHeight;\n }\n\n return el.offsetHeight;\n}\nexport function getDocSize() {\n var width = Math.max(document.documentElement.scrollWidth, document.body.scrollWidth);\n var height = Math.max(document.documentElement.scrollHeight, document.body.scrollHeight);\n return {\n width: width,\n height: height\n };\n}\nexport function getClientSize() {\n var width = document.documentElement.clientWidth;\n var height = window.innerHeight || document.documentElement.clientHeight;\n return {\n width: width,\n height: height\n };\n}\nexport function getScroll() {\n return {\n scrollLeft: Math.max(document.documentElement.scrollLeft, document.body.scrollLeft),\n scrollTop: Math.max(document.documentElement.scrollTop, document.body.scrollTop)\n };\n}\nexport function getOffset(node) {\n var box = node.getBoundingClientRect();\n var docElem = document.documentElement; // < ie8 不支持 win.pageXOffset, 则使用 docElem.scrollLeft\n\n return {\n left: box.left + (window.pageXOffset || docElem.scrollLeft) - (docElem.clientLeft || document.body.clientLeft || 0),\n top: box.top + (window.pageYOffset || docElem.scrollTop) - (docElem.clientTop || document.body.clientTop || 0)\n };\n}","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport { getClientSize } from \"rc-util/es/Dom/css\";\n\nfunction fixPoint(key, start, width, clientWidth) {\n var startAddWidth = start + width;\n var offsetStart = (width - clientWidth) / 2;\n\n if (width > clientWidth) {\n if (start > 0) {\n return _defineProperty({}, key, offsetStart);\n }\n\n if (start < 0 && startAddWidth < clientWidth) {\n return _defineProperty({}, key, -offsetStart);\n }\n } else if (start < 0 || startAddWidth > clientWidth) {\n return _defineProperty({}, key, start < 0 ? offsetStart : -offsetStart);\n }\n\n return {};\n}\n/**\n * Fix positon x,y point when\n *\n * Ele width && height < client\n * - Back origin\n *\n * - Ele width | height > clientWidth | clientHeight\n * - left | top > 0 -> Back 0\n * - left | top + width | height < clientWidth | clientHeight -> Back left | top + width | height === clientWidth | clientHeight\n *\n * Regardless of other\n */\n\n\nexport default function getFixScaleEleTransPosition(width, height, left, top) {\n var _getClientSize = getClientSize(),\n clientWidth = _getClientSize.width,\n clientHeight = _getClientSize.height;\n\n var fixPos = null;\n\n if (width <= clientWidth && height <= clientHeight) {\n fixPos = {\n x: 0,\n y: 0\n };\n } else if (width > clientWidth || height > clientHeight) {\n fixPos = _objectSpread(_objectSpread({}, fixPoint('x', left, width, clientWidth)), fixPoint('y', top, height, clientHeight));\n }\n\n return fixPos;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport { useState } from 'react';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport Preview from './Preview';\n/* istanbul ignore next */\n\nexport var context = /*#__PURE__*/React.createContext({\n previewUrls: new Map(),\n setPreviewUrls: function setPreviewUrls() {\n return null;\n },\n current: null,\n setCurrent: function setCurrent() {\n return null;\n },\n setShowPreview: function setShowPreview() {\n return null;\n },\n setMousePosition: function setMousePosition() {\n return null;\n },\n registerImage: function registerImage() {\n return function () {\n return null;\n };\n }\n});\nvar Provider = context.Provider;\n\nvar Group = function Group(_ref) {\n var _ref$previewPrefixCls = _ref.previewPrefixCls,\n previewPrefixCls = _ref$previewPrefixCls === void 0 ? 'rc-image-preview' : _ref$previewPrefixCls,\n children = _ref.children,\n _ref$icons = _ref.icons,\n icons = _ref$icons === void 0 ? {} : _ref$icons,\n preview = _ref.preview;\n\n var _ref2 = _typeof(preview) === 'object' ? preview : {},\n _ref2$visible = _ref2.visible,\n previewVisible = _ref2$visible === void 0 ? undefined : _ref2$visible,\n _ref2$onVisibleChange = _ref2.onVisibleChange,\n onPreviewVisibleChange = _ref2$onVisibleChange === void 0 ? undefined : _ref2$onVisibleChange,\n _ref2$getContainer = _ref2.getContainer,\n getContainer = _ref2$getContainer === void 0 ? undefined : _ref2$getContainer,\n _ref2$current = _ref2.current,\n currentIndex = _ref2$current === void 0 ? 0 : _ref2$current,\n dialogProps = _objectWithoutProperties(_ref2, [\"visible\", \"onVisibleChange\", \"getContainer\", \"current\"]);\n\n var _useState = useState(new Map()),\n _useState2 = _slicedToArray(_useState, 2),\n previewUrls = _useState2[0],\n setPreviewUrls = _useState2[1];\n\n var _useState3 = useState(),\n _useState4 = _slicedToArray(_useState3, 2),\n current = _useState4[0],\n setCurrent = _useState4[1];\n\n var _useMergedState = useMergedState(!!previewVisible, {\n value: previewVisible,\n onChange: onPreviewVisibleChange\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n isShowPreview = _useMergedState2[0],\n setShowPreview = _useMergedState2[1];\n\n var _useState5 = useState(null),\n _useState6 = _slicedToArray(_useState5, 2),\n mousePosition = _useState6[0],\n setMousePosition = _useState6[1];\n\n var isControlled = previewVisible !== undefined;\n var previewUrlsKeys = Array.from(previewUrls.keys());\n var currentControlledKey = previewUrlsKeys[currentIndex];\n var canPreviewUrls = new Map(Array.from(previewUrls).filter(function (_ref3) {\n var _ref4 = _slicedToArray(_ref3, 2),\n canPreview = _ref4[1].canPreview;\n\n return !!canPreview;\n }).map(function (_ref5) {\n var _ref6 = _slicedToArray(_ref5, 2),\n id = _ref6[0],\n url = _ref6[1].url;\n\n return [id, url];\n }));\n\n var registerImage = function registerImage(id, url) {\n var canPreview = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n\n var unRegister = function unRegister() {\n setPreviewUrls(function (oldPreviewUrls) {\n var clonePreviewUrls = new Map(oldPreviewUrls);\n var deleteResult = clonePreviewUrls.delete(id);\n return deleteResult ? clonePreviewUrls : oldPreviewUrls;\n });\n };\n\n setPreviewUrls(function (oldPreviewUrls) {\n return new Map(oldPreviewUrls).set(id, {\n url: url,\n canPreview: canPreview\n });\n });\n return unRegister;\n };\n\n var onPreviewClose = function onPreviewClose(e) {\n e.stopPropagation();\n setShowPreview(false);\n setMousePosition(null);\n };\n\n React.useEffect(function () {\n setCurrent(currentControlledKey);\n }, [currentControlledKey]);\n React.useEffect(function () {\n if (!isShowPreview && isControlled) {\n setCurrent(currentControlledKey);\n }\n }, [currentControlledKey, isControlled, isShowPreview]);\n return /*#__PURE__*/React.createElement(Provider, {\n value: {\n isPreviewGroup: true,\n previewUrls: canPreviewUrls,\n setPreviewUrls: setPreviewUrls,\n current: current,\n setCurrent: setCurrent,\n setShowPreview: setShowPreview,\n setMousePosition: setMousePosition,\n registerImage: registerImage\n }\n }, children, /*#__PURE__*/React.createElement(Preview, _extends({\n \"aria-hidden\": !isShowPreview,\n visible: isShowPreview,\n prefixCls: previewPrefixCls,\n onClose: onPreviewClose,\n mousePosition: mousePosition,\n src: canPreviewUrls.get(current),\n icons: icons,\n getContainer: getContainer\n }, dialogProps)));\n};\n\nexport default Group;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport Dialog from 'rc-dialog';\nimport classnames from 'classnames';\nimport addEventListener from \"rc-util/es/Dom/addEventListener\";\nimport { warning } from \"rc-util/es/warning\";\nimport useFrameSetState from './hooks/useFrameSetState';\nimport getFixScaleEleTransPosition from './getFixScaleEleTransPosition';\nimport { context } from './PreviewGroup';\nvar useState = React.useState,\n useEffect = React.useEffect;\nvar initialPosition = {\n x: 0,\n y: 0\n};\n\nvar Preview = function Preview(props) {\n var prefixCls = props.prefixCls,\n src = props.src,\n alt = props.alt,\n onClose = props.onClose,\n afterClose = props.afterClose,\n visible = props.visible,\n _props$icons = props.icons,\n icons = _props$icons === void 0 ? {} : _props$icons,\n restProps = _objectWithoutProperties(props, [\"prefixCls\", \"src\", \"alt\", \"onClose\", \"afterClose\", \"visible\", \"icons\"]);\n\n var rotateLeft = icons.rotateLeft,\n rotateRight = icons.rotateRight,\n zoomIn = icons.zoomIn,\n zoomOut = icons.zoomOut,\n close = icons.close,\n left = icons.left,\n right = icons.right;\n\n var _useState = useState(1),\n _useState2 = _slicedToArray(_useState, 2),\n scale = _useState2[0],\n setScale = _useState2[1];\n\n var _useState3 = useState(0),\n _useState4 = _slicedToArray(_useState3, 2),\n rotate = _useState4[0],\n setRotate = _useState4[1];\n\n var _useFrameSetState = useFrameSetState(initialPosition),\n _useFrameSetState2 = _slicedToArray(_useFrameSetState, 2),\n position = _useFrameSetState2[0],\n setPosition = _useFrameSetState2[1];\n\n var imgRef = React.useRef();\n var originPositionRef = React.useRef({\n originX: 0,\n originY: 0,\n deltaX: 0,\n deltaY: 0\n });\n\n var _React$useState = React.useState(false),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n isMoving = _React$useState2[0],\n setMoving = _React$useState2[1];\n\n var _React$useContext = React.useContext(context),\n previewUrls = _React$useContext.previewUrls,\n current = _React$useContext.current,\n isPreviewGroup = _React$useContext.isPreviewGroup,\n setCurrent = _React$useContext.setCurrent;\n\n var previewGroupCount = previewUrls.size;\n var previewUrlsKeys = Array.from(previewUrls.keys());\n var currentPreviewIndex = previewUrlsKeys.indexOf(current);\n var combinationSrc = isPreviewGroup ? previewUrls.get(current) : src;\n var showLeftOrRightSwitches = isPreviewGroup && previewGroupCount > 1;\n\n var _React$useState3 = React.useState({\n wheelDirection: 0\n }),\n _React$useState4 = _slicedToArray(_React$useState3, 2),\n lastWheelZoomDirection = _React$useState4[0],\n setLastWheelZoomDirection = _React$useState4[1];\n\n var onAfterClose = function onAfterClose() {\n setScale(1);\n setRotate(0);\n setPosition(initialPosition);\n };\n\n var onZoomIn = function onZoomIn() {\n setScale(function (value) {\n return value + 1;\n });\n setPosition(initialPosition);\n };\n\n var onZoomOut = function onZoomOut() {\n if (scale > 1) {\n setScale(function (value) {\n return value - 1;\n });\n }\n\n setPosition(initialPosition);\n };\n\n var onRotateRight = function onRotateRight() {\n setRotate(function (value) {\n return value + 90;\n });\n };\n\n var onRotateLeft = function onRotateLeft() {\n setRotate(function (value) {\n return value - 90;\n });\n };\n\n var onSwitchLeft = function onSwitchLeft(event) {\n event.preventDefault(); // Without this mask close will abnormal\n\n event.stopPropagation();\n\n if (currentPreviewIndex > 0) {\n setCurrent(previewUrlsKeys[currentPreviewIndex - 1]);\n }\n };\n\n var onSwitchRight = function onSwitchRight(event) {\n event.preventDefault(); // Without this mask close will abnormal\n\n event.stopPropagation();\n\n if (currentPreviewIndex < previewGroupCount - 1) {\n setCurrent(previewUrlsKeys[currentPreviewIndex + 1]);\n }\n };\n\n var wrapClassName = classnames(_defineProperty({}, \"\".concat(prefixCls, \"-moving\"), isMoving));\n var toolClassName = \"\".concat(prefixCls, \"-operations-operation\");\n var iconClassName = \"\".concat(prefixCls, \"-operations-icon\");\n var tools = [{\n icon: close,\n onClick: onClose,\n type: 'close'\n }, {\n icon: zoomIn,\n onClick: onZoomIn,\n type: 'zoomIn'\n }, {\n icon: zoomOut,\n onClick: onZoomOut,\n type: 'zoomOut',\n disabled: scale === 1\n }, {\n icon: rotateRight,\n onClick: onRotateRight,\n type: 'rotateRight'\n }, {\n icon: rotateLeft,\n onClick: onRotateLeft,\n type: 'rotateLeft'\n }];\n\n var onMouseUp = function onMouseUp() {\n if (visible && isMoving) {\n var width = imgRef.current.offsetWidth * scale;\n var height = imgRef.current.offsetHeight * scale; // eslint-disable-next-line @typescript-eslint/no-shadow\n\n var _imgRef$current$getBo = imgRef.current.getBoundingClientRect(),\n _left = _imgRef$current$getBo.left,\n top = _imgRef$current$getBo.top;\n\n var isRotate = rotate % 180 !== 0;\n setMoving(false);\n var fixState = getFixScaleEleTransPosition(isRotate ? height : width, isRotate ? width : height, _left, top);\n\n if (fixState) {\n setPosition(_objectSpread({}, fixState));\n }\n }\n };\n\n var onMouseDown = function onMouseDown(event) {\n // Only allow main button\n if (event.button !== 0) return;\n event.preventDefault(); // Without this mask close will abnormal\n\n event.stopPropagation();\n originPositionRef.current.deltaX = event.pageX - position.x;\n originPositionRef.current.deltaY = event.pageY - position.y;\n originPositionRef.current.originX = position.x;\n originPositionRef.current.originY = position.y;\n setMoving(true);\n };\n\n var onMouseMove = function onMouseMove(event) {\n if (visible && isMoving) {\n setPosition({\n x: event.pageX - originPositionRef.current.deltaX,\n y: event.pageY - originPositionRef.current.deltaY\n });\n }\n };\n\n var onWheelMove = function onWheelMove(event) {\n if (!visible) return;\n event.preventDefault();\n var wheelDirection = event.deltaY;\n setLastWheelZoomDirection({\n wheelDirection: wheelDirection\n });\n };\n\n useEffect(function () {\n var wheelDirection = lastWheelZoomDirection.wheelDirection;\n\n if (wheelDirection > 0) {\n onZoomOut();\n } else if (wheelDirection < 0) {\n onZoomIn();\n }\n }, [lastWheelZoomDirection]);\n useEffect(function () {\n var onTopMouseUpListener;\n var onTopMouseMoveListener;\n var onMouseUpListener = addEventListener(window, 'mouseup', onMouseUp, false);\n var onMouseMoveListener = addEventListener(window, 'mousemove', onMouseMove, false);\n var onScrollWheelListener = addEventListener(window, 'wheel', onWheelMove, {\n passive: false\n });\n\n try {\n // Resolve if in iframe lost event\n\n /* istanbul ignore next */\n if (window.top !== window.self) {\n onTopMouseUpListener = addEventListener(window.top, 'mouseup', onMouseUp, false);\n onTopMouseMoveListener = addEventListener(window.top, 'mousemove', onMouseMove, false);\n }\n } catch (error) {\n /* istanbul ignore next */\n warning(false, \"[rc-image] \".concat(error));\n }\n\n return function () {\n onMouseUpListener.remove();\n onMouseMoveListener.remove();\n onScrollWheelListener.remove();\n /* istanbul ignore next */\n\n if (onTopMouseUpListener) onTopMouseUpListener.remove();\n /* istanbul ignore next */\n\n if (onTopMouseMoveListener) onTopMouseMoveListener.remove();\n };\n }, [visible, isMoving]);\n return /*#__PURE__*/React.createElement(Dialog, _extends({\n transitionName: \"zoom\",\n maskTransitionName: \"fade\",\n closable: false,\n keyboard: true,\n prefixCls: prefixCls,\n onClose: onClose,\n afterClose: onAfterClose,\n visible: visible,\n wrapClassName: wrapClassName\n }, restProps), /*#__PURE__*/React.createElement(\"ul\", {\n className: \"\".concat(prefixCls, \"-operations\")\n }, tools.map(function (_ref) {\n var icon = _ref.icon,\n onClick = _ref.onClick,\n type = _ref.type,\n disabled = _ref.disabled;\n return /*#__PURE__*/React.createElement(\"li\", {\n className: classnames(toolClassName, _defineProperty({}, \"\".concat(prefixCls, \"-operations-operation-disabled\"), !!disabled)),\n onClick: onClick,\n key: type\n }, /*#__PURE__*/React.isValidElement(icon) ? /*#__PURE__*/React.cloneElement(icon, {\n className: iconClassName\n }) : icon);\n })), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-img-wrapper\"),\n style: {\n transform: \"translate3d(\".concat(position.x, \"px, \").concat(position.y, \"px, 0)\")\n }\n }, /*#__PURE__*/React.createElement(\"img\", {\n onMouseDown: onMouseDown,\n ref: imgRef,\n className: \"\".concat(prefixCls, \"-img\"),\n src: combinationSrc,\n alt: alt,\n style: {\n transform: \"scale3d(\".concat(scale, \", \").concat(scale, \", 1) rotate(\").concat(rotate, \"deg)\")\n }\n })), showLeftOrRightSwitches && /*#__PURE__*/React.createElement(\"div\", {\n className: classnames(\"\".concat(prefixCls, \"-switch-left\"), _defineProperty({}, \"\".concat(prefixCls, \"-switch-left-disabled\"), currentPreviewIndex === 0)),\n onClick: onSwitchLeft\n }, left), showLeftOrRightSwitches && /*#__PURE__*/React.createElement(\"div\", {\n className: classnames(\"\".concat(prefixCls, \"-switch-right\"), _defineProperty({}, \"\".concat(prefixCls, \"-switch-right-disabled\"), currentPreviewIndex === previewGroupCount - 1)),\n onClick: onSwitchRight\n }, right));\n};\n\nexport default Preview;","import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport * as React from 'react';\nimport raf from \"rc-util/es/raf\";\nexport default function useFrameSetState(initial) {\n var frame = React.useRef(null);\n\n var _React$useState = React.useState(initial),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n state = _React$useState2[0],\n setState = _React$useState2[1];\n\n var queue = React.useRef([]);\n\n var setFrameState = function setFrameState(newState) {\n if (frame.current === null) {\n queue.current = [];\n frame.current = raf(function () {\n setState(function (preState) {\n var memoState = preState;\n queue.current.forEach(function (queueState) {\n memoState = _objectSpread(_objectSpread({}, memoState), queueState);\n });\n frame.current = null;\n return memoState;\n });\n });\n }\n\n queue.current.push(newState);\n };\n\n React.useEffect(function () {\n return function () {\n return frame.current && raf.cancel(frame.current);\n };\n }, []);\n return [state, setFrameState];\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport { useState } from 'react';\nimport cn from 'classnames';\nimport { getOffset } from \"rc-util/es/Dom/css\";\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport Preview from './Preview';\nimport PreviewGroup, { context } from './PreviewGroup';\nvar uuid = 0;\n\nvar ImageInternal = function ImageInternal(_ref) {\n var imgSrc = _ref.src,\n alt = _ref.alt,\n onInitialPreviewClose = _ref.onPreviewClose,\n _ref$prefixCls = _ref.prefixCls,\n prefixCls = _ref$prefixCls === void 0 ? 'rc-image' : _ref$prefixCls,\n _ref$previewPrefixCls = _ref.previewPrefixCls,\n previewPrefixCls = _ref$previewPrefixCls === void 0 ? \"\".concat(prefixCls, \"-preview\") : _ref$previewPrefixCls,\n placeholder = _ref.placeholder,\n fallback = _ref.fallback,\n width = _ref.width,\n height = _ref.height,\n style = _ref.style,\n _ref$preview = _ref.preview,\n preview = _ref$preview === void 0 ? true : _ref$preview,\n className = _ref.className,\n onClick = _ref.onClick,\n onImageError = _ref.onError,\n wrapperClassName = _ref.wrapperClassName,\n wrapperStyle = _ref.wrapperStyle,\n crossOrigin = _ref.crossOrigin,\n decoding = _ref.decoding,\n loading = _ref.loading,\n referrerPolicy = _ref.referrerPolicy,\n sizes = _ref.sizes,\n srcSet = _ref.srcSet,\n useMap = _ref.useMap,\n otherProps = _objectWithoutProperties(_ref, [\"src\", \"alt\", \"onPreviewClose\", \"prefixCls\", \"previewPrefixCls\", \"placeholder\", \"fallback\", \"width\", \"height\", \"style\", \"preview\", \"className\", \"onClick\", \"onError\", \"wrapperClassName\", \"wrapperStyle\", \"crossOrigin\", \"decoding\", \"loading\", \"referrerPolicy\", \"sizes\", \"srcSet\", \"useMap\"]);\n\n var isCustomPlaceholder = placeholder && placeholder !== true;\n\n var _ref2 = _typeof(preview) === 'object' ? preview : {},\n previewSrc = _ref2.src,\n _ref2$visible = _ref2.visible,\n previewVisible = _ref2$visible === void 0 ? undefined : _ref2$visible,\n _ref2$onVisibleChange = _ref2.onVisibleChange,\n onPreviewVisibleChange = _ref2$onVisibleChange === void 0 ? onInitialPreviewClose : _ref2$onVisibleChange,\n _ref2$getContainer = _ref2.getContainer,\n getPreviewContainer = _ref2$getContainer === void 0 ? undefined : _ref2$getContainer,\n previewMask = _ref2.mask,\n maskClassName = _ref2.maskClassName,\n icons = _ref2.icons,\n dialogProps = _objectWithoutProperties(_ref2, [\"src\", \"visible\", \"onVisibleChange\", \"getContainer\", \"mask\", \"maskClassName\", \"icons\"]);\n\n var src = previewSrc !== null && previewSrc !== void 0 ? previewSrc : imgSrc;\n var isControlled = previewVisible !== undefined;\n\n var _useMergedState = useMergedState(!!previewVisible, {\n value: previewVisible,\n onChange: onPreviewVisibleChange\n }),\n _useMergedState2 = _slicedToArray(_useMergedState, 2),\n isShowPreview = _useMergedState2[0],\n setShowPreview = _useMergedState2[1];\n\n var _useState = useState(isCustomPlaceholder ? 'loading' : 'normal'),\n _useState2 = _slicedToArray(_useState, 2),\n status = _useState2[0],\n setStatus = _useState2[1];\n\n var _useState3 = useState(null),\n _useState4 = _slicedToArray(_useState3, 2),\n mousePosition = _useState4[0],\n setMousePosition = _useState4[1];\n\n var isError = status === 'error';\n\n var _React$useContext = React.useContext(context),\n isPreviewGroup = _React$useContext.isPreviewGroup,\n setCurrent = _React$useContext.setCurrent,\n setGroupShowPreview = _React$useContext.setShowPreview,\n setGroupMousePosition = _React$useContext.setMousePosition,\n registerImage = _React$useContext.registerImage;\n\n var _React$useState = React.useState(function () {\n uuid += 1;\n return uuid;\n }),\n _React$useState2 = _slicedToArray(_React$useState, 1),\n currentId = _React$useState2[0];\n\n var canPreview = preview && !isError;\n var isLoaded = React.useRef(false);\n\n var onLoad = function onLoad() {\n setStatus('normal');\n };\n\n var onError = function onError(e) {\n if (onImageError) {\n onImageError(e);\n }\n\n setStatus('error');\n };\n\n var onPreview = function onPreview(e) {\n if (!isControlled) {\n var _getOffset = getOffset(e.target),\n left = _getOffset.left,\n top = _getOffset.top;\n\n if (isPreviewGroup) {\n setCurrent(currentId);\n setGroupMousePosition({\n x: left,\n y: top\n });\n } else {\n setMousePosition({\n x: left,\n y: top\n });\n }\n }\n\n if (isPreviewGroup) {\n setGroupShowPreview(true);\n } else {\n setShowPreview(true);\n }\n\n if (onClick) onClick(e);\n };\n\n var onPreviewClose = function onPreviewClose(e) {\n e.stopPropagation();\n setShowPreview(false);\n\n if (!isControlled) {\n setMousePosition(null);\n }\n };\n\n var getImgRef = function getImgRef(img) {\n isLoaded.current = false;\n if (status !== 'loading') return;\n\n if ((img === null || img === void 0 ? void 0 : img.complete) && (img.naturalWidth || img.naturalHeight)) {\n isLoaded.current = true;\n onLoad();\n }\n }; // Keep order start\n // Resolve https://github.com/ant-design/ant-design/issues/28881\n // Only need unRegister when component unMount\n\n\n React.useEffect(function () {\n var unRegister = registerImage(currentId, src);\n return unRegister;\n }, []);\n React.useEffect(function () {\n registerImage(currentId, src, canPreview);\n }, [src, canPreview]); // Keep order end\n\n React.useEffect(function () {\n if (isError) {\n setStatus('normal');\n }\n\n if (isCustomPlaceholder && !isLoaded.current) {\n setStatus('loading');\n }\n }, [imgSrc]);\n var wrapperClass = cn(prefixCls, wrapperClassName, _defineProperty({}, \"\".concat(prefixCls, \"-error\"), isError));\n var mergedSrc = isError && fallback ? fallback : src;\n var imgCommonProps = {\n crossOrigin: crossOrigin,\n decoding: decoding,\n loading: loading,\n referrerPolicy: referrerPolicy,\n sizes: sizes,\n srcSet: srcSet,\n useMap: useMap,\n alt: alt,\n className: cn(\"\".concat(prefixCls, \"-img\"), _defineProperty({}, \"\".concat(prefixCls, \"-img-placeholder\"), placeholder === true), className),\n style: _objectSpread({\n height: height\n }, style)\n };\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", _extends({}, otherProps, {\n className: wrapperClass,\n onClick: preview && !isError ? onPreview : onClick,\n style: _objectSpread({\n width: width,\n height: height\n }, wrapperStyle)\n }), /*#__PURE__*/React.createElement(\"img\", _extends({}, imgCommonProps, {\n ref: getImgRef\n }, isError && fallback ? {\n src: fallback\n } : {\n onLoad: onLoad,\n onError: onError,\n src: imgSrc\n })), status === 'loading' && /*#__PURE__*/React.createElement(\"div\", {\n \"aria-hidden\": \"true\",\n className: \"\".concat(prefixCls, \"-placeholder\")\n }, placeholder), previewMask && canPreview && /*#__PURE__*/React.createElement(\"div\", {\n className: cn(\"\".concat(prefixCls, \"-mask\"), maskClassName)\n }, previewMask)), !isPreviewGroup && canPreview && /*#__PURE__*/React.createElement(Preview, _extends({\n \"aria-hidden\": !isShowPreview,\n visible: isShowPreview,\n prefixCls: previewPrefixCls,\n onClose: onPreviewClose,\n mousePosition: mousePosition,\n src: mergedSrc,\n alt: alt,\n getContainer: getPreviewContainer,\n icons: icons\n }, dialogProps)));\n};\n\nImageInternal.PreviewGroup = PreviewGroup;\nImageInternal.displayName = 'Image';\nexport default ImageInternal;","import Image from './Image';\nexport * from './Image';\nexport default Image;","// This icon file is generated automatically.\nvar RotateLeftOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"defs\", \"attrs\": {}, \"children\": [{ \"tag\": \"style\", \"attrs\": {} }] }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z\" } }] }, \"name\": \"rotate-left\", \"theme\": \"outlined\" };\nexport default RotateLeftOutlined;\n","// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport RotateLeftOutlinedSvg from \"@ant-design/icons-svg/es/asn/RotateLeftOutlined\";\nimport AntdIcon from '../components/AntdIcon';\n\nvar RotateLeftOutlined = function RotateLeftOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, Object.assign({}, props, {\n ref: ref,\n icon: RotateLeftOutlinedSvg\n }));\n};\n\nRotateLeftOutlined.displayName = 'RotateLeftOutlined';\nexport default /*#__PURE__*/React.forwardRef(RotateLeftOutlined);","// This icon file is generated automatically.\nvar RotateRightOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"defs\", \"attrs\": {}, \"children\": [{ \"tag\": \"style\", \"attrs\": {} }] }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z\" } }] }, \"name\": \"rotate-right\", \"theme\": \"outlined\" };\nexport default RotateRightOutlined;\n","// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport RotateRightOutlinedSvg from \"@ant-design/icons-svg/es/asn/RotateRightOutlined\";\nimport AntdIcon from '../components/AntdIcon';\n\nvar RotateRightOutlined = function RotateRightOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, Object.assign({}, props, {\n ref: ref,\n icon: RotateRightOutlinedSvg\n }));\n};\n\nRotateRightOutlined.displayName = 'RotateRightOutlined';\nexport default /*#__PURE__*/React.forwardRef(RotateRightOutlined);","// This icon file is generated automatically.\nvar ZoomInOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z\" } }] }, \"name\": \"zoom-in\", \"theme\": \"outlined\" };\nexport default ZoomInOutlined;\n","// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport ZoomInOutlinedSvg from \"@ant-design/icons-svg/es/asn/ZoomInOutlined\";\nimport AntdIcon from '../components/AntdIcon';\n\nvar ZoomInOutlined = function ZoomInOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, Object.assign({}, props, {\n ref: ref,\n icon: ZoomInOutlinedSvg\n }));\n};\n\nZoomInOutlined.displayName = 'ZoomInOutlined';\nexport default /*#__PURE__*/React.forwardRef(ZoomInOutlined);","// This icon file is generated automatically.\nvar ZoomOutOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z\" } }] }, \"name\": \"zoom-out\", \"theme\": \"outlined\" };\nexport default ZoomOutOutlined;\n","// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport ZoomOutOutlinedSvg from \"@ant-design/icons-svg/es/asn/ZoomOutOutlined\";\nimport AntdIcon from '../components/AntdIcon';\n\nvar ZoomOutOutlined = function ZoomOutOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, Object.assign({}, props, {\n ref: ref,\n icon: ZoomOutOutlinedSvg\n }));\n};\n\nZoomOutOutlined.displayName = 'ZoomOutOutlined';\nexport default /*#__PURE__*/React.forwardRef(ZoomOutOutlined);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n\nimport * as React from 'react';\nimport RcImage from 'rc-image';\nimport RotateLeftOutlined from \"@ant-design/icons/es/icons/RotateLeftOutlined\";\nimport RotateRightOutlined from \"@ant-design/icons/es/icons/RotateRightOutlined\";\nimport ZoomInOutlined from \"@ant-design/icons/es/icons/ZoomInOutlined\";\nimport ZoomOutOutlined from \"@ant-design/icons/es/icons/ZoomOutOutlined\";\nimport CloseOutlined from \"@ant-design/icons/es/icons/CloseOutlined\";\nimport LeftOutlined from \"@ant-design/icons/es/icons/LeftOutlined\";\nimport RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport { ConfigContext } from '../config-provider';\nimport { getTransitionName } from '../_util/motion';\nexport var icons = {\n rotateLeft: /*#__PURE__*/React.createElement(RotateLeftOutlined, null),\n rotateRight: /*#__PURE__*/React.createElement(RotateRightOutlined, null),\n zoomIn: /*#__PURE__*/React.createElement(ZoomInOutlined, null),\n zoomOut: /*#__PURE__*/React.createElement(ZoomOutOutlined, null),\n close: /*#__PURE__*/React.createElement(CloseOutlined, null),\n left: /*#__PURE__*/React.createElement(LeftOutlined, null),\n right: /*#__PURE__*/React.createElement(RightOutlined, null)\n};\n\nvar InternalPreviewGroup = function InternalPreviewGroup(_a) {\n var customizePrefixCls = _a.previewPrefixCls,\n preview = _a.preview,\n props = __rest(_a, [\"previewPrefixCls\", \"preview\"]);\n\n var _React$useContext = React.useContext(ConfigContext),\n getPrefixCls = _React$useContext.getPrefixCls;\n\n var prefixCls = getPrefixCls('image-preview', customizePrefixCls);\n var rootPrefixCls = getPrefixCls();\n var mergedPreview = React.useMemo(function () {\n if (preview === false) {\n return preview;\n }\n\n var _preview = _typeof(preview) === 'object' ? preview : {};\n\n return _extends(_extends({}, _preview), {\n transitionName: getTransitionName(rootPrefixCls, 'zoom', _preview.transitionName),\n maskTransitionName: getTransitionName(rootPrefixCls, 'fade', _preview.maskTransitionName)\n });\n }, [preview]);\n return /*#__PURE__*/React.createElement(RcImage.PreviewGroup, _extends({\n preview: mergedPreview,\n previewPrefixCls: prefixCls,\n icons: icons\n }, props));\n};\n\nexport default InternalPreviewGroup;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n\nimport * as React from 'react';\nimport { useContext } from 'react';\nimport EyeOutlined from \"@ant-design/icons/es/icons/EyeOutlined\";\nimport RcImage from 'rc-image';\nimport defaultLocale from '../locale/en_US';\nimport PreviewGroup, { icons } from './PreviewGroup';\nimport { ConfigContext } from '../config-provider';\nimport { getTransitionName } from '../_util/motion';\n\nvar Image = function Image(_a) {\n var customizePrefixCls = _a.prefixCls,\n preview = _a.preview,\n otherProps = __rest(_a, [\"prefixCls\", \"preview\"]);\n\n var _useContext = useContext(ConfigContext),\n getPrefixCls = _useContext.getPrefixCls;\n\n var prefixCls = getPrefixCls('image', customizePrefixCls);\n var rootPrefixCls = getPrefixCls();\n\n var _useContext2 = useContext(ConfigContext),\n _useContext2$locale = _useContext2.locale,\n contextLocale = _useContext2$locale === void 0 ? defaultLocale : _useContext2$locale;\n\n var imageLocale = contextLocale.Image || defaultLocale.Image;\n var mergedPreview = React.useMemo(function () {\n if (preview === false) {\n return preview;\n }\n\n var _preview = _typeof(preview) === 'object' ? preview : {};\n\n return _extends(_extends({\n mask: /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-mask-info\")\n }, /*#__PURE__*/React.createElement(EyeOutlined, null), imageLocale === null || imageLocale === void 0 ? void 0 : imageLocale.preview),\n icons: icons\n }, _preview), {\n transitionName: getTransitionName(rootPrefixCls, 'zoom', _preview.transitionName),\n maskTransitionName: getTransitionName(rootPrefixCls, 'fade', _preview.maskTransitionName)\n });\n }, [preview, imageLocale]);\n return /*#__PURE__*/React.createElement(RcImage, _extends({\n prefixCls: prefixCls,\n preview: mergedPreview\n }, otherProps));\n};\n\nImage.PreviewGroup = PreviewGroup;\nexport default Image;","import defaultLocale from './default';\nexport default defaultLocale;"],"names":["getClientSize","width","document","documentElement","clientWidth","height","window","innerHeight","clientHeight","getOffset","node","box","getBoundingClientRect","docElem","left","pageXOffset","scrollLeft","clientLeft","body","top","pageYOffset","scrollTop","clientTop","fixPoint","key","start","startAddWidth","offsetStart","context","previewUrls","Map","setPreviewUrls","current","setCurrent","setShowPreview","setMousePosition","registerImage","Provider","useState","useEffect","initialPosition","x","y","props","prefixCls","src","alt","onClose","visible","afterClose","_props$icons","icons","restProps","rotateLeft","rotateRight","zoomIn","zoomOut","close","right","_useState","_useState2","scale","setScale","_useState3","_useState4","rotate","setRotate","_useFrameSetState","initial","frame","_React$useState","_React$useState2","state","setState","queue","raf","newState","preState","memoState","forEach","queueState","push","useFrameSetState","_useFrameSetState2","position","setPosition","imgRef","originPositionRef","originX","originY","deltaX","deltaY","isMoving","setMoving","_React$useContext","isPreviewGroup","previewGroupCount","size","previewUrlsKeys","Array","from","keys","currentPreviewIndex","indexOf","combinationSrc","get","showLeftOrRightSwitches","_React$useState3","wheelDirection","_React$useState4","lastWheelZoomDirection","setLastWheelZoomDirection","onZoomIn","value","onZoomOut","wrapClassName","concat","toolClassName","iconClassName","tools","icon","onClick","type","disabled","onMouseUp","offsetWidth","offsetHeight","_imgRef$current$getBo","_left","isRotate","fixState","_getClientSize","fixPos","getFixScaleEleTransPosition","onMouseMove","event","pageX","pageY","onWheelMove","preventDefault","onTopMouseUpListener","onTopMouseMoveListener","onMouseUpListener","addEventListener","onMouseMoveListener","onScrollWheelListener","passive","self","error","warning","remove","transitionName","maskTransitionName","closable","keyboard","className","map","_ref","style","transform","onMouseDown","button","stopPropagation","ref","uuid","ImageInternal","imgSrc","onInitialPreviewClose","onPreviewClose","_ref$prefixCls","_ref$previewPrefixCls","previewPrefixCls","placeholder","fallback","_ref$preview","preview","onImageError","onError","wrapperClassName","wrapperStyle","crossOrigin","decoding","loading","referrerPolicy","sizes","srcSet","useMap","otherProps","isCustomPlaceholder","_ref2","previewSrc","_ref2$visible","previewVisible","undefined","_ref2$onVisibleChange","onVisibleChange","onPreviewVisibleChange","_ref2$getContainer","getContainer","getPreviewContainer","previewMask","mask","maskClassName","dialogProps","isControlled","_useMergedState","useMergedState","onChange","_useMergedState2","isShowPreview","status","setStatus","mousePosition","isError","setGroupShowPreview","setGroupMousePosition","currentId","canPreview","isLoaded","onLoad","wrapperClass","mergedSrc","imgCommonProps","e","_getOffset","target","img","complete","naturalWidth","naturalHeight","PreviewGroup","children","_ref$icons","_ref2$current","currentIndex","_useState5","_useState6","currentControlledKey","canPreviewUrls","filter","_ref3","_ref5","_ref6","url","id","arguments","length","unRegister","oldPreviewUrls","clonePreviewUrls","delete","set","displayName","AntdIcon","Object","assign","CloseOutlined","LeftOutlined","RightOutlined","_a","customizePrefixCls","s","t","p","prototype","hasOwnProperty","call","getOwnPropertySymbols","i","propertyIsEnumerable","getPrefixCls","useContext","rootPrefixCls","_useContext2$locale","locale","imageLocale","Image","mergedPreview","_preview","EyeOutlined","__rest"],"sourceRoot":""}
public/dist/717.lite.js DELETED
@@ -1,2 +0,0 @@
1
- (self.webpackChunkrealCookieBanner_name_=self.webpackChunkrealCookieBanner_name_||[]).push([[717],{5860:function(e,t,n){"use strict";var r=n(1765),i={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,o,a,l,c,s,p=!1;t||(t={}),n=t.debug||!1;try{if(a=r(),l=document.createRange(),c=document.getSelection(),(s=document.createElement("span")).textContent=e,s.style.all="unset",s.style.position="fixed",s.style.top=0,s.style.clip="rect(0, 0, 0, 0)",s.style.whiteSpace="pre",s.style.webkitUserSelect="text",s.style.MozUserSelect="text",s.style.msUserSelect="text",s.style.userSelect="text",s.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=i[t.format]||i.default;window.clipboardData.setData(o,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(s),l.selectNodeContents(s),c.addRange(l),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");p=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),p=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),o=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(o,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(l):c.removeAllRanges()),s&&document.body.removeChild(s),a()}return p}},4290:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(7363),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},o=n(3751),a=function(e,t){return r.createElement(o.Z,Object.assign({},e,{ref:t,icon:i}))};a.displayName="DeleteOutlined";var l=r.forwardRef(a)},7908:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(7363),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.3 506.3L781.7 405.6a7.23 7.23 0 00-11.7 5.7V476H548V254h64.8c6 0 9.4-7 5.7-11.7L517.7 114.7a7.14 7.14 0 00-11.3 0L405.6 242.3a7.23 7.23 0 005.7 11.7H476v222H254v-64.8c0-6-7-9.4-11.7-5.7L114.7 506.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h222v222h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V548h222v64.8c0 6 7 9.4 11.7 5.7l127.5-100.8a7.3 7.3 0 00.1-11.4z"}}]},name:"drag",theme:"outlined"},o=n(3751),a=function(e,t){return r.createElement(o.Z,Object.assign({},e,{ref:t,icon:i}))};a.displayName="DragOutlined";var l=r.forwardRef(a)},5351:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(7363),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},o=n(3751),a=function(e,t){return r.createElement(o.Z,Object.assign({},e,{ref:t,icon:i}))};a.displayName="EditOutlined";var l=r.forwardRef(a)},5889:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(7363),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]},name:"warning",theme:"outlined"},o=n(3751),a=function(e,t){return r.createElement(o.Z,Object.assign({},e,{ref:t,icon:i}))};a.displayName="WarningOutlined";var l=r.forwardRef(a)},6310:function(e,t,n){"use strict";n.d(t,{Z:function(){return oe}});var r=n(4741),i=n(63),o=n(7363),a=n(2286),l=n.n(a),c=n(5643),s=n(4178),p=n(7139),d=function(e,t){var n=e.prefixCls,a=e.component,d=void 0===a?"article":a,u=e.className,f=e["aria-label"],y=e.setContentRef,h=e.children,v=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(e,["prefixCls","component","className","aria-label","setContentRef","children"]),m=t;return y&&((0,p.Z)(!1,"Typography","`setContentRef` is deprecated. Please use `ref` instead."),m=(0,c.sQ)(t,y)),o.createElement(s.C,null,(function(e){var t=e.getPrefixCls,a=e.direction,c=d,s=t("typography",n),p=l()(s,(0,i.Z)({},"".concat(s,"-rtl"),"rtl"===a),u);return o.createElement(c,(0,r.Z)({className:p,"aria-label":f,ref:m},v),h)}))},u=o.forwardRef(d);u.displayName="Typography";var f=u,y=n(3429),h=n(733),v=n(7870),m=n(6762),g=n(3340),b=n(3841),E=n(5952),x=n(4237),C=n(5860),w=n.n(C),O=n(5351),Z=n(2412),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},k=n(3751),N=function(e,t){return o.createElement(k.Z,Object.assign({},e,{ref:t,icon:S}))};N.displayName="CopyOutlined";var R=o.forwardRef(N),j=n(4707),T=n(3249),P=n(7416),z=n(5065),D={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},H=o.forwardRef((function(e,t){var n=e.style,i=e.noStyle,a=e.disabled,l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(e,["style","noStyle","disabled"]),c={};return i||(c=(0,r.Z)({},D)),a&&(c.pointerEvents="none"),c=(0,r.Z)((0,r.Z)({},c),n),o.createElement("div",(0,r.Z)({role:"button",tabIndex:0,ref:t},l,{onKeyDown:function(e){e.keyCode===z.Z.ENTER&&e.preventDefault()},onKeyUp:function(t){var n=t.keyCode,r=e.onClick;n===z.Z.ENTER&&r&&r()},style:c}))})),L=n(527),I=n(7167),M=n(1857),A=n(7228),U={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},B=function(e,t){return o.createElement(k.Z,Object.assign({},e,{ref:t,icon:U}))};B.displayName="EnterOutlined";var V,K=o.forwardRef(B),F=n(6813),_=function(e){var t=e.prefixCls,n=e["aria-label"],r=e.className,a=e.style,c=e.direction,s=e.maxLength,p=e.autoSize,d=void 0===p||p,u=e.value,f=e.onSave,y=e.onCancel,h=e.onEnd,v=o.useRef(),m=o.useRef(!1),g=o.useRef(),b=o.useState(u),E=(0,A.Z)(b,2),x=E[0],C=E[1];o.useEffect((function(){C(u)}),[u]),o.useEffect((function(){if(v.current&&v.current.resizableTextArea){var e=v.current.resizableTextArea.textArea;e.focus();var t=e.value.length;e.setSelectionRange(t,t)}}),[]);var w=function(){f(x.trim())},O=l()(t,"".concat(t,"-edit-content"),(0,i.Z)({},"".concat(t,"-rtl"),"rtl"===c),r);return o.createElement("div",{className:O,style:a},o.createElement(F.Z,{ref:v,maxLength:s,value:x,onChange:function(e){var t=e.target;C(t.value.replace(/[\n\r]/g,""))},onKeyDown:function(e){var t=e.keyCode;m.current||(g.current=t)},onKeyUp:function(e){var t=e.keyCode,n=e.ctrlKey,r=e.altKey,i=e.metaKey,o=e.shiftKey;g.current!==t||m.current||n||r||i||o||(t===z.Z.ENTER?(w(),null==h||h()):t===z.Z.ESC&&y())},onCompositionStart:function(){m.current=!0},onCompositionEnd:function(){m.current=!1},onBlur:function(){w()},"aria-label":n,autoSize:d}),o.createElement(K,{className:"".concat(t,"-edit-content-confirm")}))},W=n(1533),G={padding:0,margin:0,display:"inline",lineHeight:"inherit"};function Q(e){if(!e)return 0;var t=e.match(/^\d*(\.\d*)?/);return t?Number(t[0]):0}var X=function(e,t,n,r,i){V||((V=document.createElement("div")).setAttribute("aria-hidden","true"),document.body.appendChild(V));var a,l=t.rows,c=t.suffix,s=void 0===c?"":c,p=window.getComputedStyle(e),d=(a=p,Array.prototype.slice.apply(a).map((function(e){return"".concat(e,": ").concat(a.getPropertyValue(e),";")})).join("")),u=Q(p.lineHeight),f=Math.round(u*(l+1)+Q(p.paddingTop)+Q(p.paddingBottom));V.setAttribute("style",d),V.style.position="fixed",V.style.left="0",V.style.height="auto",V.style.minHeight="auto",V.style.maxHeight="auto",V.style.top="-999999px",V.style.zIndex="-1000",V.style.textOverflow="clip",V.style.whiteSpace="normal",V.style.webkitLineClamp="none";var y,h,v=(y=(0,x.Z)(n),h=[],y.forEach((function(e){var t=h[h.length-1];"string"==typeof e&&"string"==typeof t?h[h.length-1]+=e:h.push(e)})),h);function m(){return V.offsetHeight<f}if((0,W.render)(o.createElement("div",{style:G},o.createElement("span",{style:G},v,s),o.createElement("span",{style:G},r)),V),m())return(0,W.unmountComponentAtNode)(V),{content:n,text:V.innerHTML,ellipsis:!1};var g=Array.prototype.slice.apply(V.childNodes[0].childNodes[0].cloneNode(!0).childNodes).filter((function(e){return 8!==e.nodeType})),b=Array.prototype.slice.apply(V.childNodes[0].childNodes[1].cloneNode(!0).childNodes);(0,W.unmountComponentAtNode)(V);var E=[];V.innerHTML="";var C=document.createElement("span");V.appendChild(C);var w=document.createTextNode(i+s);function O(e){C.insertBefore(e,w)}function Z(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.length,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=Math.floor((n+r)/2),a=t.slice(0,o);if(e.textContent=a,n>=r-1)for(var l=r;l>=n;l-=1){var c=t.slice(0,l);if(e.textContent=c,m()||!c)return l===t.length?{finished:!1,reactNode:t}:{finished:!0,reactNode:c}}return m()?Z(e,t,o,r,o):Z(e,t,n,o,i)}function S(e,t){var n=e.nodeType;if(1===n)return O(e),m()?{finished:!1,reactNode:v[t]}:(C.removeChild(e),{finished:!0,reactNode:null});if(3===n){var r=e.textContent||"",i=document.createTextNode(r);return O(i),Z(i,r)}return{finished:!1,reactNode:null}}return C.appendChild(w),b.forEach((function(e){V.appendChild(e)})),g.some((function(e,t){var n=S(e,t),r=n.finished,i=n.reactNode;return i&&E.push(i),r})),{content:E,text:V.innerHTML,ellipsis:!0}},q=(0,I.GL)("webkitLineClamp"),J=(0,I.GL)("textOverflow"),Y=function(e){(0,b.Z)(n,e);var t=(0,E.Z)(n);function n(){var e;return(0,m.Z)(this,n),(e=t.apply(this,arguments)).contentRef=o.createRef(),e.state={edit:!1,copied:!1,ellipsisText:"",ellipsisContent:null,isEllipsis:!1,expanded:!1,clientRendered:!1},e.getPrefixCls=function(){var t=e.props.prefixCls;return(0,e.context.getPrefixCls)("typography",t)},e.onExpandClick=function(t){var n,r=e.getEllipsis().onExpand;e.setState({expanded:!0}),null===(n=r)||void 0===n||n(t)},e.onEditClick=function(t){t.preventDefault(),e.triggerEdit(!0)},e.onEditChange=function(t){var n=e.getEditable().onChange;null==n||n(t),e.triggerEdit(!1)},e.onEditCancel=function(){var t,n;null===(n=(t=e.getEditable()).onCancel)||void 0===n||n.call(t),e.triggerEdit(!1)},e.onCopyClick=function(t){t.preventDefault();var n=e.props,i=n.children,o=n.copyable,a=(0,r.Z)({},"object"===(0,y.Z)(o)?o:null);void 0===a.text&&(a.text=String(i)),w()(a.text||""),e.setState({copied:!0},(function(){a.onCopy&&a.onCopy(),e.copyId=window.setTimeout((function(){e.setState({copied:!1})}),3e3)}))},e.setEditRef=function(t){e.editIcon=t},e.triggerEdit=function(t){var n=e.getEditable().onStart;t&&n&&n(),e.setState({edit:t},(function(){!t&&e.editIcon&&e.editIcon.focus()}))},e.resizeOnNextFrame=function(){L.Z.cancel(e.rafId),e.rafId=(0,L.Z)((function(){e.syncEllipsis()}))},e}return(0,g.Z)(n,[{key:"componentDidMount",value:function(){this.setState({clientRendered:!0}),this.resizeOnNextFrame()}},{key:"componentDidUpdate",value:function(e){var t=this.props.children,n=this.getEllipsis(),r=this.getEllipsis(e);t===e.children&&n.rows===r.rows||this.resizeOnNextFrame()}},{key:"componentWillUnmount",value:function(){window.clearTimeout(this.copyId),L.Z.cancel(this.rafId)}},{key:"getEditable",value:function(e){var t=this.state.edit,n=(e||this.props).editable;return n?(0,r.Z)({editing:t},"object"===(0,y.Z)(n)?n:null):{editing:t}}},{key:"getEllipsis",value:function(e){var t=(e||this.props).ellipsis;return t?(0,r.Z)({rows:1,expandable:!1},"object"===(0,y.Z)(t)?t:null):{}}},{key:"canUseCSSEllipsis",value:function(){var e=this.state.clientRendered,t=this.props,n=t.editable,r=t.copyable,i=this.getEllipsis(),o=i.rows,a=i.expandable,l=i.suffix,c=i.onEllipsis,s=i.tooltip;return!l&&!s&&!(n||r||a||!e||c)&&(1===o?J:q)}},{key:"syncEllipsis",value:function(){var e=this.state,t=e.ellipsisText,n=e.isEllipsis,r=e.expanded,i=this.getEllipsis(),o=i.rows,a=i.suffix,l=i.onEllipsis,c=this.props.children;if(o&&!(o<0)&&this.contentRef.current&&!r&&!this.canUseCSSEllipsis()){(0,p.Z)((0,x.Z)(c).every((function(e){return"string"==typeof e})),"Typography","`ellipsis` should use string as children only.");var s=X(this.contentRef.current,{rows:o,suffix:a},c,this.renderOperations(!0),"..."),d=s.content,u=s.text,f=s.ellipsis;t===u&&n===f||(this.setState({ellipsisText:u,ellipsisContent:d,isEllipsis:f}),n!==f&&l&&l(f))}}},{key:"renderExpand",value:function(e){var t,n=this.getEllipsis(),r=n.expandable,i=n.symbol,a=this.state,l=a.expanded,c=a.isEllipsis;return r&&(e||!l&&c)?(t=i||this.expandStr,o.createElement("a",{key:"expand",className:"".concat(this.getPrefixCls(),"-expand"),onClick:this.onExpandClick,"aria-label":this.expandStr},t)):null}},{key:"renderEdit",value:function(){var e=this.props.editable;if(e){var t=e.icon,n=e.tooltip,r=(0,x.Z)(n)[0]||this.editStr,i="string"==typeof r?r:"";return o.createElement(M.Z,{key:"edit",title:!1===n?"":r},o.createElement(H,{ref:this.setEditRef,className:"".concat(this.getPrefixCls(),"-edit"),onClick:this.onEditClick,"aria-label":i},t||o.createElement(O.Z,{role:"button"})))}}},{key:"renderCopy",value:function(){var e=this.state.copied,t=this.props.copyable;if(t){var n=this.getPrefixCls(),r=t.tooltips,i=(0,x.Z)(r);0===i.length&&(i=[this.copyStr,this.copiedStr]);var a=e?i[1]:i[0],c="string"==typeof a?a:"",s=(0,x.Z)(t.icon);return o.createElement(M.Z,{key:"copy",title:!1===r?"":a},o.createElement(H,{className:l()("".concat(n,"-copy"),e&&"".concat(n,"-copy-success")),onClick:this.onCopyClick,"aria-label":c},e?s[1]||o.createElement(Z.Z,null):s[0]||o.createElement(R,null)))}}},{key:"renderEditInput",value:function(){var e=this.props,t=e.children,n=e.className,r=e.style,i=this.context.direction,a=this.getEditable(),l=a.maxLength,c=a.autoSize,s=a.onEnd;return o.createElement(_,{value:"string"==typeof t?t:"",onSave:this.onEditChange,onCancel:this.onEditCancel,onEnd:s,prefixCls:this.getPrefixCls(),className:n,style:r,direction:i,maxLength:l,autoSize:c})}},{key:"renderOperations",value:function(e){return[this.renderExpand(e),this.renderEdit(),this.renderCopy()].filter((function(e){return e}))}},{key:"renderContent",value:function(){var e=this,t=this.state,n=t.ellipsisContent,a=t.isEllipsis,c=t.expanded,s=this.props,p=s.component,d=s.children,u=s.className,y=s.type,m=s.disabled,g=s.style,b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(s,["component","children","className","type","disabled","style"]),E=this.context.direction,x=this.getEllipsis(),C=x.rows,w=x.suffix,O=x.tooltip,Z=this.getPrefixCls(),S=(0,h.Z)(b,["prefixCls","editable","copyable","ellipsis","mark","code","delete","underline","strong","keyboard"].concat((0,v.Z)(T.nf))),k=this.canUseCSSEllipsis(),N=1===C&&k,R=C&&C>1&&k,z=d;if(C&&a&&!c&&!k){var D=b.title,H=D||"";D||"string"!=typeof d&&"number"!=typeof d||(H=String(d)),H=H.slice(String(n||"").length),z=o.createElement(o.Fragment,null,n,o.createElement("span",{title:H,"aria-hidden":"true"},"..."),w),O&&(z=o.createElement(M.Z,{title:!0===O?d:O},o.createElement("span",null,z)))}else z=o.createElement(o.Fragment,null,d,w);return z=function(e,t){var n=e.mark,r=e.code,i=e.underline,a=e.delete,l=e.strong,c=e.keyboard,s=t;function p(e,t){e&&(s=o.createElement(t,{},s))}return p(l,"strong"),p(i,"u"),p(a,"del"),p(r,"code"),p(n,"mark"),p(c,"kbd"),s}(this.props,z),o.createElement(P.Z,{componentName:"Text"},(function(t){var n,a=t.edit,c=t.copy,s=t.copied,d=t.expand;return e.editStr=a,e.copyStr=c,e.copiedStr=s,e.expandStr=d,o.createElement(j.Z,{onResize:e.resizeOnNextFrame,disabled:!C},o.createElement(f,(0,r.Z)({className:l()((n={},(0,i.Z)(n,"".concat(Z,"-").concat(y),y),(0,i.Z)(n,"".concat(Z,"-disabled"),m),(0,i.Z)(n,"".concat(Z,"-ellipsis"),C),(0,i.Z)(n,"".concat(Z,"-ellipsis-single-line"),N),(0,i.Z)(n,"".concat(Z,"-ellipsis-multiple-line"),R),n),u),style:(0,r.Z)((0,r.Z)({},g),{WebkitLineClamp:R?C:void 0}),component:p,ref:e.contentRef,direction:E},S),z,e.renderOperations()))}))}},{key:"render",value:function(){return this.getEditable().editing?this.renderEditInput():this.renderContent()}}],[{key:"getDerivedStateFromProps",value:function(e){var t=e.children,n=e.editable;return(0,p.Z)(!n||"string"==typeof t,"Typography","When `editable` is enabled, the `children` should use string."),{}}}]),n}(o.Component);Y.contextType=s.E_,Y.defaultProps={children:""};var $=Y,ee=function(e,t){var n=e.ellipsis,i=e.rel,a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(e,["ellipsis","rel"]);(0,p.Z)("object"!==(0,y.Z)(n),"Typography.Link","`ellipsis` only supports boolean value.");var l=o.useRef(null);o.useImperativeHandle(t,(function(){var e;return null===(e=l.current)||void 0===e?void 0:e.contentRef.current}));var c=(0,r.Z)((0,r.Z)({},a),{rel:void 0===i&&"_blank"===a.target?"noopener noreferrer":i});return delete c.navigate,o.createElement($,(0,r.Z)({},c,{ref:l,ellipsis:!!n,component:"a"}))},te=o.forwardRef(ee),ne=n(7988),re=(0,ne.a)(1,2,3,4,5),ie=f;ie.Text=function(e){var t=e.ellipsis,n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(e,["ellipsis"]),i=o.useMemo((function(){return t&&"object"===(0,y.Z)(t)?(0,h.Z)(t,["expandable","rows"]):t}),[t]);return(0,p.Z)("object"!==(0,y.Z)(t)||!t||!("expandable"in t)&&!("rows"in t),"Typography.Text","`ellipsis` do not support `expandable` or `rows` props."),o.createElement($,(0,r.Z)({},n,{ellipsis:i,component:"span"}))},ie.Link=te,ie.Title=function(e){var t,n=e.level,i=void 0===n?1:n,a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}(e,["level"]);return-1!==re.indexOf(i)?t="h".concat(i):((0,p.Z)(!1,"Typography.Title","Title only accept `1 | 2 | 3 | 4 | 5` as `level` value. And `5` need 4.6.0+ version."),t="h1"),o.createElement($,(0,r.Z)({},a,{component:t}))},ie.Paragraph=function(e){return o.createElement($,(0,r.Z)({},e,{component:"div"}))};var oe=ie},1765:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}}}]);
2
- //# sourceMappingURL=717.lite.js.map?ver=730891213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,EAAEoD,QAAQJ,GAAK,IAAGD,EAAEC,GAAKF,EAAEE,IAG/E,GAAS,MAALF,GAAqD,mBAAjCf,OAAOsB,sBAA2C,KAAIC,EAAI,EAAb,IAAgBN,EAAIjB,OAAOsB,sBAAsBP,GAAIQ,EAAIN,EAAEO,OAAQD,IAClItD,EAAEoD,QAAQJ,EAAEM,IAAM,GAAKvB,OAAOkB,UAAUO,qBAAqBL,KAAKL,EAAGE,EAAEM,MAAKP,EAAEC,EAAEM,IAAMR,EAAEE,EAAEM,KAEhG,OAAOP,EAYS,CAAOnB,EAAO,CAAC,UAW/B,OAPuC,IAAnCgS,GAAexQ,QAAQ6Q,GACzBzR,EAAY,IAAI0B,OAAO+P,KAEvB,EAAAtQ,EAAA,IAAW,EAAO,mBAAoB,wFACtCnB,EAAY,MAGM,gBAAoB,GAAM,OAAS,GAAIK,EAAW,CACpEL,UAAWA,MC3Bf,GAAW0R,UELK,SAAmBtS,GACjC,OAAoB,gBAAoB,GAAM,OAAS,GAAIA,EAAO,CAChEY,UAAW,UFIf,W,iBGTAnE,EAAOC,QAAU,WACf,IAAIO,EAAYG,SAASE,eACzB,IAAKL,EAAUsV,WACb,OAAO,aAKT,IAHA,IAAIC,EAASpV,SAASqV,cAElBC,EAAS,GACJhR,EAAI,EAAGA,EAAIzE,EAAUsV,WAAY7Q,IACxCgR,EAAOrK,KAAKpL,EAAU0V,WAAWjR,IAGnC,OAAQ8Q,EAAOI,QAAQC,eACrB,IAAK,QACL,IAAK,WACHL,EAAOM,OACP,MAEF,QACEN,EAAS,KAKb,OADAvV,EAAU6C,kBACH,WACc,UAAnB7C,EAAUyN,MACVzN,EAAU6C,kBAEL7C,EAAUsV,YACbG,EAAOxK,SAAQ,SAASlL,GACtBC,EAAUiC,SAASlC,MAIvBwV,GACAA,EAAO9N","sources":["webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/copy-to-clipboard/index.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons-svg/es/asn/DeleteOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons/es/icons/DeleteOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons-svg/es/asn/DragOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons/es/icons/DragOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons-svg/es/asn/EditOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons/es/icons/EditOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons-svg/es/asn/WarningOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons/es/icons/WarningOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/typography/Typography.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons-svg/es/asn/CopyOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons/es/icons/CopyOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/_util/transButton.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons-svg/es/asn/EnterOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/@ant-design/icons/es/icons/EnterOutlined.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/typography/util.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/typography/Editable.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/typography/Base.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/typography/Link.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/typography/Title.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/typography/index.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/typography/Text.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/antd/es/typography/Paragraph.js","webpack:///../../../../../tmp/builds/devowlio/devowl-wp/node_modules/toggle-selection/index.js"],"sourcesContent":["\"use strict\";\n\nvar deselectCurrent = require(\"toggle-selection\");\n\nvar clipboardToIE11Formatting = {\n \"text/plain\": \"Text\",\n \"text/html\": \"Url\",\n \"default\": \"Text\"\n}\n\nvar defaultMessage = \"Copy to clipboard: #{key}, Enter\";\n\nfunction format(message) {\n var copyKey = (/mac os x/i.test(navigator.userAgent) ? \"⌘\" : \"Ctrl\") + \"+C\";\n return message.replace(/#{\\s*key\\s*}/g, copyKey);\n}\n\nfunction copy(text, options) {\n var debug,\n message,\n reselectPrevious,\n range,\n selection,\n mark,\n success = false;\n if (!options) {\n options = {};\n }\n debug = options.debug || false;\n try {\n reselectPrevious = deselectCurrent();\n\n range = document.createRange();\n selection = document.getSelection();\n\n mark = document.createElement(\"span\");\n mark.textContent = text;\n // reset user styles for span element\n mark.style.all = \"unset\";\n // prevents scrolling to the end of the page\n mark.style.position = \"fixed\";\n mark.style.top = 0;\n mark.style.clip = \"rect(0, 0, 0, 0)\";\n // used to preserve spaces and line breaks\n mark.style.whiteSpace = \"pre\";\n // do not inherit user-select (it may be `none`)\n mark.style.webkitUserSelect = \"text\";\n mark.style.MozUserSelect = \"text\";\n mark.style.msUserSelect = \"text\";\n mark.style.userSelect = \"text\";\n mark.addEventListener(\"copy\", function(e) {\n e.stopPropagation();\n if (options.format) {\n e.preventDefault();\n if (typeof e.clipboardData === \"undefined\") { // IE 11\n debug && console.warn(\"unable to use e.clipboardData\");\n debug && console.warn(\"trying IE specific stuff\");\n window.clipboardData.clearData();\n var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting[\"default\"]\n window.clipboardData.setData(format, text);\n } else { // all other browsers\n e.clipboardData.clearData();\n e.clipboardData.setData(options.format, text);\n }\n }\n if (options.onCopy) {\n e.preventDefault();\n options.onCopy(e.clipboardData);\n }\n });\n\n document.body.appendChild(mark);\n\n range.selectNodeContents(mark);\n selection.addRange(range);\n\n var successful = document.execCommand(\"copy\");\n if (!successful) {\n throw new Error(\"copy command was unsuccessful\");\n }\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using execCommand: \", err);\n debug && console.warn(\"trying IE specific stuff\");\n try {\n window.clipboardData.setData(options.format || \"text\", text);\n options.onCopy && options.onCopy(window.clipboardData);\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using clipboardData: \", err);\n debug && console.error(\"falling back to prompt\");\n message = format(\"message\" in options ? options.message : defaultMessage);\n window.prompt(message, text);\n }\n } finally {\n if (selection) {\n if (typeof selection.removeRange == \"function\") {\n selection.removeRange(range);\n } else {\n selection.removeAllRanges();\n }\n }\n\n if (mark) {\n document.body.removeChild(mark);\n }\n reselectPrevious();\n }\n\n return success;\n}\n\nmodule.exports = copy;\n","// This icon file is generated automatically.\nvar DeleteOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z\" } }] }, \"name\": \"delete\", \"theme\": \"outlined\" };\nexport default DeleteOutlined;\n","// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport DeleteOutlinedSvg from \"@ant-design/icons-svg/es/asn/DeleteOutlined\";\nimport AntdIcon from '../components/AntdIcon';\n\nvar DeleteOutlined = function DeleteOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, Object.assign({}, props, {\n ref: ref,\n icon: DeleteOutlinedSvg\n }));\n};\n\nDeleteOutlined.displayName = 'DeleteOutlined';\nexport default /*#__PURE__*/React.forwardRef(DeleteOutlined);","// This icon file is generated automatically.\nvar DragOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M909.3 506.3L781.7 405.6a7.23 7.23 0 00-11.7 5.7V476H548V254h64.8c6 0 9.4-7 5.7-11.7L517.7 114.7a7.14 7.14 0 00-11.3 0L405.6 242.3a7.23 7.23 0 005.7 11.7H476v222H254v-64.8c0-6-7-9.4-11.7-5.7L114.7 506.3a7.14 7.14 0 000 11.3l127.5 100.8c4.7 3.7 11.7.4 11.7-5.7V548h222v222h-64.8c-6 0-9.4 7-5.7 11.7l100.8 127.5c2.9 3.7 8.5 3.7 11.3 0l100.8-127.5c3.7-4.7.4-11.7-5.7-11.7H548V548h222v64.8c0 6 7 9.4 11.7 5.7l127.5-100.8a7.3 7.3 0 00.1-11.4z\" } }] }, \"name\": \"drag\", \"theme\": \"outlined\" };\nexport default DragOutlined;\n","// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport DragOutlinedSvg from \"@ant-design/icons-svg/es/asn/DragOutlined\";\nimport AntdIcon from '../components/AntdIcon';\n\nvar DragOutlined = function DragOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, Object.assign({}, props, {\n ref: ref,\n icon: DragOutlinedSvg\n }));\n};\n\nDragOutlined.displayName = 'DragOutlined';\nexport default /*#__PURE__*/React.forwardRef(DragOutlined);","// This icon file is generated automatically.\nvar EditOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z\" } }] }, \"name\": \"edit\", \"theme\": \"outlined\" };\nexport default EditOutlined;\n","// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport EditOutlinedSvg from \"@ant-design/icons-svg/es/asn/EditOutlined\";\nimport AntdIcon from '../components/AntdIcon';\n\nvar EditOutlined = function EditOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, Object.assign({}, props, {\n ref: ref,\n icon: EditOutlinedSvg\n }));\n};\n\nEditOutlined.displayName = 'EditOutlined';\nexport default /*#__PURE__*/React.forwardRef(EditOutlined);","// This icon file is generated automatically.\nvar WarningOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z\" } }] }, \"name\": \"warning\", \"theme\": \"outlined\" };\nexport default WarningOutlined;\n","// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport WarningOutlinedSvg from \"@ant-design/icons-svg/es/asn/WarningOutlined\";\nimport AntdIcon from '../components/AntdIcon';\n\nvar WarningOutlined = function WarningOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, Object.assign({}, props, {\n ref: ref,\n icon: WarningOutlinedSvg\n }));\n};\n\nWarningOutlined.displayName = 'WarningOutlined';\nexport default /*#__PURE__*/React.forwardRef(WarningOutlined);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { composeRef } from \"rc-util/es/ref\";\nimport { ConfigConsumer } from '../config-provider';\nimport devWarning from '../_util/devWarning';\n\nvar Typography = function Typography(_a, ref) {\n var customizePrefixCls = _a.prefixCls,\n _a$component = _a.component,\n component = _a$component === void 0 ? 'article' : _a$component,\n className = _a.className,\n ariaLabel = _a['aria-label'],\n setContentRef = _a.setContentRef,\n children = _a.children,\n restProps = __rest(_a, [\"prefixCls\", \"component\", \"className\", 'aria-label', \"setContentRef\", \"children\"]);\n\n var mergedRef = ref;\n\n if (setContentRef) {\n devWarning(false, 'Typography', '`setContentRef` is deprecated. Please use `ref` instead.');\n mergedRef = composeRef(ref, setContentRef);\n }\n\n return /*#__PURE__*/React.createElement(ConfigConsumer, null, function (_ref) {\n var getPrefixCls = _ref.getPrefixCls,\n direction = _ref.direction;\n var Component = component;\n var prefixCls = getPrefixCls('typography', customizePrefixCls);\n var componentClassName = classNames(prefixCls, _defineProperty({}, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), className);\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: componentClassName,\n \"aria-label\": ariaLabel,\n ref: mergedRef\n }, restProps), children);\n });\n};\n\nvar RefTypography = /*#__PURE__*/React.forwardRef(Typography);\nRefTypography.displayName = 'Typography'; // es default export should use const instead of let\n\nvar ExportTypography = RefTypography;\nexport default ExportTypography;","// This icon file is generated automatically.\nvar CopyOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z\" } }] }, \"name\": \"copy\", \"theme\": \"outlined\" };\nexport default CopyOutlined;\n","// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport CopyOutlinedSvg from \"@ant-design/icons-svg/es/asn/CopyOutlined\";\nimport AntdIcon from '../components/AntdIcon';\n\nvar CopyOutlined = function CopyOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, Object.assign({}, props, {\n ref: ref,\n icon: CopyOutlinedSvg\n }));\n};\n\nCopyOutlined.displayName = 'CopyOutlined';\nexport default /*#__PURE__*/React.forwardRef(CopyOutlined);","import _extends from \"@babel/runtime/helpers/esm/extends\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\n/**\n * Wrap of sub component which need use as Button capacity (like Icon component).\n *\n * This helps accessibility reader to tread as a interactive button to operation.\n */\n\n\nimport * as React from 'react';\nimport KeyCode from \"rc-util/es/KeyCode\";\nvar inlineStyle = {\n border: 0,\n background: 'transparent',\n padding: 0,\n lineHeight: 'inherit',\n display: 'inline-block'\n};\nvar TransButton = /*#__PURE__*/React.forwardRef(function (props, ref) {\n var onKeyDown = function onKeyDown(event) {\n var keyCode = event.keyCode;\n\n if (keyCode === KeyCode.ENTER) {\n event.preventDefault();\n }\n };\n\n var onKeyUp = function onKeyUp(event) {\n var keyCode = event.keyCode;\n var onClick = props.onClick;\n\n if (keyCode === KeyCode.ENTER && onClick) {\n onClick();\n }\n };\n\n var style = props.style,\n noStyle = props.noStyle,\n disabled = props.disabled,\n restProps = __rest(props, [\"style\", \"noStyle\", \"disabled\"]);\n\n var mergedStyle = {};\n\n if (!noStyle) {\n mergedStyle = _extends({}, inlineStyle);\n }\n\n if (disabled) {\n mergedStyle.pointerEvents = 'none';\n }\n\n mergedStyle = _extends(_extends({}, mergedStyle), style);\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n role: \"button\",\n tabIndex: 0,\n ref: ref\n }, restProps, {\n onKeyDown: onKeyDown,\n onKeyUp: onKeyUp,\n style: mergedStyle\n }));\n});\nexport default TransButton;","// This icon file is generated automatically.\nvar EnterOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z\" } }] }, \"name\": \"enter\", \"theme\": \"outlined\" };\nexport default EnterOutlined;\n","// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\nimport * as React from 'react';\nimport EnterOutlinedSvg from \"@ant-design/icons-svg/es/asn/EnterOutlined\";\nimport AntdIcon from '../components/AntdIcon';\n\nvar EnterOutlined = function EnterOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, Object.assign({}, props, {\n ref: ref,\n icon: EnterOutlinedSvg\n }));\n};\n\nEnterOutlined.displayName = 'EnterOutlined';\nexport default /*#__PURE__*/React.forwardRef(EnterOutlined);","import { render, unmountComponentAtNode } from 'react-dom';\nimport * as React from 'react';\nimport toArray from \"rc-util/es/Children/toArray\"; // We on