Complianz – GDPR/CCPA Cookie Consent - Version 6.3.3

Version Description

  • Improvement: conditionally offer link to create menu page
  • Improvement: remove unnecessary translatable strings from policy UK and AU
  • Improvement: remove unnecessary slash in matomo script
  • Improvement: email obfuscation when line break in the email prevented reversal of email
  • Improvement: block activation of plugin below php version 7.2
  • Improvement: dynamically adjust banner text based on advertising settings
  • Improvement: no script tags when there's no actual script to add for statistics
  • New: WordPress store locator integration
  • New: Presto Player integration
  • Fix: changes in manage consent button option causing issue in AMP integration, props @tarbyonline
  • Fix: document options in region redirect menu not correctly filtered
  • Fix: prevent error in system status when wizard not started yet
  • Fix: NOT EMPTY condition on imprint statement
  • Fix: no javascript error report unless script debug enabled
  • Fix: update qTranslate integration to allow for banner fields with $field['text'] strings, props @sviluppomania
  • Fix: cookie policy UK not replacing the cookiedatabase.org link because of too many arguments in sprintf
Download this release

Release Info

Developer RogierLankhorst
Plugin Icon 128x128 Complianz – GDPR/CCPA Cookie Consent
Version 6.3.3
Comparing to
See all releases

Version 6.3.3

Files changed (217) hide show
  1. DNSMPD/class-DNSMPD-table.php +329 -0
  2. DNSMPD/class-DNSMPD.php +518 -0
  3. DNSMPD/csv.php +111 -0
  4. DNSMPD/dnsmpd.js +40 -0
  5. DNSMPD/dnsmpd.min.js +1 -0
  6. DNSMPD/index.php +2 -0
  7. DNSMPD/script.js +49 -0
  8. DNSMPD/script.min.js +1 -0
  9. LICENSE.txt +357 -0
  10. README.md +24 -0
  11. assets/chartjs/chart.min.css +1 -0
  12. assets/chartjs/chart.min.js +7 -0
  13. assets/composer.json +5 -0
  14. assets/css/admin.css +1644 -0
  15. assets/css/admin.css.map +1 -0
  16. assets/css/admin.less +53 -0
  17. assets/css/admin.min.css +1 -0
  18. assets/css/admin.min.css.map +1 -0
  19. assets/css/admin/base.less +96 -0
  20. assets/css/admin/index.php +2 -0
  21. assets/css/admin/layout.less +208 -0
  22. assets/css/admin/modules/bullets.less +47 -0
  23. assets/css/admin/modules/buttons.less +40 -0
  24. assets/css/admin/modules/cookiebanner.less +50 -0
  25. assets/css/admin/modules/dark-mode.less +32 -0
  26. assets/css/admin/modules/dashboard.less +283 -0
  27. assets/css/admin/modules/dataleak-reports.less +10 -0
  28. assets/css/admin/modules/dnsmpi.less +24 -0
  29. assets/css/admin/modules/header.less +24 -0
  30. assets/css/admin/modules/icons.less +40 -0
  31. assets/css/admin/modules/input-fields.less +130 -0
  32. assets/css/admin/modules/notices.less +20 -0
  33. assets/css/admin/modules/other-plugins.less +83 -0
  34. assets/css/admin/modules/pagify.less +24 -0
  35. assets/css/admin/modules/processing-agreement.less +15 -0
  36. assets/css/admin/modules/proof-of-consent.less +41 -0
  37. assets/css/admin/modules/suggested-plugins.less +32 -0
  38. assets/css/admin/modules/tables.less +8 -0
  39. assets/css/admin/modules/tips-tricks.less +53 -0
  40. assets/css/admin/modules/tooltip.less +158 -0
  41. assets/css/admin/modules/wcag.less +148 -0
  42. assets/css/admin/states.less +114 -0
  43. assets/css/admin/theme.less +6 -0
  44. assets/css/cookieblocker.css +124 -0
  45. assets/css/cookieblocker.css.map +1 -0
  46. assets/css/cookieblocker.less +137 -0
  47. assets/css/cookieblocker.min.css +1 -0
  48. assets/css/document-grid.css +215 -0
  49. assets/css/document-grid.css.map +1 -0
  50. assets/css/document-grid.less +216 -0
  51. assets/css/document-grid.min.css +1 -0
  52. assets/css/document.css +498 -0
  53. assets/css/document.css.map +1 -0
  54. assets/css/document.less +285 -0
  55. assets/css/document.min.css +1 -0
  56. assets/css/index.php +2 -0
  57. assets/css/variables.less +157 -0
  58. assets/css/wizard.css +2027 -0
  59. assets/css/wizard.css.map +1 -0
  60. assets/css/wizard.less +2081 -0
  61. assets/css/wizard.min.css +1 -0
  62. assets/icons.php +170 -0
  63. assets/images/au.svg +1 -0
  64. assets/images/br.svg +1 -0
  65. assets/images/ca.png +0 -0
  66. assets/images/ca.svg +1 -0
  67. assets/images/chevron-down.svg +1 -0
  68. assets/images/cmplz-logo.svg +1 -0
  69. assets/images/cross.svg +1 -0
  70. assets/images/down.png +0 -0
  71. assets/images/eu.png +0 -0
  72. assets/images/eu.svg +1 -0
  73. assets/images/gutenberg-preview.png +0 -0
  74. assets/images/icon-128x128.png +0 -0
  75. assets/images/icon-256x256.png +0 -0
  76. assets/images/icon-logo.svg +1 -0
  77. assets/images/index.php +2 -0
  78. assets/images/menu-icon.svg +21 -0
  79. assets/images/pdf.png +0 -0
  80. assets/images/placeholders/calendly-color.jpg +0 -0
  81. assets/images/placeholders/calendly-custom.jpg +0 -0
  82. assets/images/placeholders/calendly-dark.jpg +0 -0
  83. assets/images/placeholders/calendly-light.jpg +0 -0
  84. assets/images/placeholders/calendly-minimal.jpg +0 -0
  85. assets/images/placeholders/default-color.jpg +0 -0
  86. assets/images/placeholders/default-custom.jpg +0 -0
  87. assets/images/placeholders/default-dark.jpg +0 -0
  88. assets/images/placeholders/default-light.jpg +0 -0
  89. assets/images/placeholders/default-minimal.jpg +0 -0
  90. assets/images/placeholders/facebook-color.jpg +0 -0
  91. assets/images/placeholders/facebook-custom.jpg +0 -0
  92. assets/images/placeholders/facebook-dark.jpg +0 -0
  93. assets/images/placeholders/facebook-light.jpg +0 -0
  94. assets/images/placeholders/facebook-minimal.jpg +0 -0
  95. assets/images/placeholders/google-maps-color-1280x500.jpg +0 -0
  96. assets/images/placeholders/google-maps-color-1280x920.jpg +0 -0
  97. assets/images/placeholders/google-maps-color-500x500.jpg +0 -0
  98. assets/images/placeholders/google-maps-custom-1280x500.jpg +0 -0
  99. assets/images/placeholders/google-maps-custom-1280x920.jpg +0 -0
  100. assets/images/placeholders/google-maps-custom-500x500.jpg +0 -0
  101. assets/images/placeholders/google-maps-dark-1280x500.jpg +0 -0
  102. assets/images/placeholders/google-maps-dark-1280x920.jpg +0 -0
  103. assets/images/placeholders/google-maps-dark-500x500.jpg +0 -0
  104. assets/images/placeholders/google-maps-light-1280x500.jpg +0 -0
  105. assets/images/placeholders/google-maps-light-1280x920.jpg +0 -0
  106. assets/images/placeholders/google-maps-light-500x500.jpg +0 -0
  107. assets/images/placeholders/google-maps-minimal-1280x500.jpg +0 -0
  108. assets/images/placeholders/google-maps-minimal-1280x920.jpg +0 -0
  109. assets/images/placeholders/google-maps-minimal-500x500.jpg +0 -0
  110. assets/images/placeholders/google-recaptcha-color.jpg +0 -0
  111. assets/images/placeholders/google-recaptcha-custom.jpg +0 -0
  112. assets/images/placeholders/google-recaptcha-dark.jpg +0 -0
  113. assets/images/placeholders/google-recaptcha-light.jpg +0 -0
  114. assets/images/placeholders/google-recaptcha-minimal.jpg +0 -0
  115. assets/images/placeholders/instagram-color.jpg +0 -0
  116. assets/images/placeholders/instagram-custom.jpg +0 -0
  117. assets/images/placeholders/instagram-dark.jpg +0 -0
  118. assets/images/placeholders/instagram-light.jpg +0 -0
  119. assets/images/placeholders/instagram-minimal.jpg +0 -0
  120. assets/images/placeholders/linkedin-color.jpg +0 -0
  121. assets/images/placeholders/linkedin-custom.jpg +0 -0
  122. assets/images/placeholders/linkedin-dark.jpg +0 -0
  123. assets/images/placeholders/linkedin-light.jpg +0 -0
  124. assets/images/placeholders/linkedin-minimal.jpg +0 -0
  125. assets/images/placeholders/soundcloud-color.jpg +0 -0
  126. assets/images/placeholders/soundcloud-custom.jpg +0 -0
  127. assets/images/placeholders/soundcloud-dark.jpg +0 -0
  128. assets/images/placeholders/soundcloud-light.jpg +0 -0
  129. assets/images/placeholders/soundcloud-minimal.jpg +0 -0
  130. assets/images/placeholders/spotify-color.jpg +0 -0
  131. assets/images/placeholders/spotify-custom.jpg +0 -0
  132. assets/images/placeholders/spotify-dark.jpg +0 -0
  133. assets/images/placeholders/spotify-light.jpg +0 -0
  134. assets/images/placeholders/spotify-minimal.jpg +0 -0
  135. assets/images/placeholders/ted-color.jpg +0 -0
  136. assets/images/placeholders/ted-custom.jpg +0 -0
  137. assets/images/placeholders/ted-dark.jpg +0 -0
  138. assets/images/placeholders/ted-light.jpg +0 -0
  139. assets/images/placeholders/ted-minimal.jpg +0 -0
  140. assets/images/placeholders/tiktok-color.jpg +0 -0
  141. assets/images/placeholders/tiktok-custom.jpg +0 -0
  142. assets/images/placeholders/tiktok-dark.jpg +0 -0
  143. assets/images/placeholders/tiktok-light.jpg +0 -0
  144. assets/images/placeholders/tiktok-minimal.jpg +0 -0
  145. assets/images/placeholders/twitch-color.jpg +0 -0
  146. assets/images/placeholders/twitch-custom.jpg +0 -0
  147. assets/images/placeholders/twitch-dark.jpg +0 -0
  148. assets/images/placeholders/twitch-light.jpg +0 -0
  149. assets/images/placeholders/twitch-minimal.jpg +0 -0
  150. assets/images/placeholders/twitter-color.jpg +0 -0
  151. assets/images/placeholders/twitter-custom.jpg +0 -0
  152. assets/images/placeholders/twitter-dark.jpg +0 -0
  153. assets/images/placeholders/twitter-light.jpg +0 -0
  154. assets/images/placeholders/twitter-minimal.jpg +0 -0
  155. assets/images/poweredbycomplianz.svg +1 -0
  156. assets/images/really-simple-plugins.svg +101 -0
  157. assets/images/s.png +0 -0
  158. assets/images/uk.png +0 -0
  159. assets/images/uk.svg +1 -0
  160. assets/images/us.png +0 -0
  161. assets/images/us.svg +1 -0
  162. assets/images/za.svg +1 -0
  163. assets/index.php +2 -0
  164. assets/js/admin.js +1418 -0
  165. assets/js/admin.min.js +1 -0
  166. assets/js/ads.js +9 -0
  167. assets/js/ads.min.js +1 -0
  168. assets/js/dashboard.js +113 -0
  169. assets/js/dashboard.min.js +1 -0
  170. assets/js/index.php +2 -0
  171. assets/js/postscribe.min.js +10 -0
  172. assets/pagify/pagify.js +127 -0
  173. assets/pagify/pagify.min.js +1 -0
  174. assets/select2/css/select2.css +484 -0
  175. assets/select2/css/select2.min.css +1 -0
  176. assets/select2/js/i18n/af.js +3 -0
  177. assets/select2/js/i18n/ar.js +3 -0
  178. assets/select2/js/i18n/az.js +3 -0
  179. assets/select2/js/i18n/bg.js +3 -0
  180. assets/select2/js/i18n/bs.js +3 -0
  181. assets/select2/js/i18n/ca.js +3 -0
  182. assets/select2/js/i18n/cs.js +3 -0
  183. assets/select2/js/i18n/da.js +3 -0
  184. assets/select2/js/i18n/de.js +3 -0
  185. assets/select2/js/i18n/dsb.js +3 -0
  186. assets/select2/js/i18n/el.js +3 -0
  187. assets/select2/js/i18n/en.js +3 -0
  188. assets/select2/js/i18n/es.js +3 -0
  189. assets/select2/js/i18n/et.js +3 -0
  190. assets/select2/js/i18n/eu.js +3 -0
  191. assets/select2/js/i18n/fa.js +3 -0
  192. assets/select2/js/i18n/fi.js +3 -0
  193. assets/select2/js/i18n/fr.js +3 -0
  194. assets/select2/js/i18n/gl.js +3 -0
  195. assets/select2/js/i18n/he.js +3 -0
  196. assets/select2/js/i18n/hi.js +3 -0
  197. assets/select2/js/i18n/hr.js +3 -0
  198. assets/select2/js/i18n/hsb.js +3 -0
  199. assets/select2/js/i18n/hu.js +3 -0
  200. assets/select2/js/i18n/hy.js +3 -0
  201. assets/select2/js/i18n/id.js +3 -0
  202. assets/select2/js/i18n/is.js +3 -0
  203. assets/select2/js/i18n/it.js +3 -0
  204. assets/select2/js/i18n/ja.js +3 -0
  205. assets/select2/js/i18n/km.js +3 -0
  206. assets/select2/js/i18n/ko.js +3 -0
  207. assets/select2/js/i18n/lt.js +3 -0
  208. assets/select2/js/i18n/lv.js +3 -0
  209. assets/select2/js/i18n/mk.js +3 -0
  210. assets/select2/js/i18n/ms.js +3 -0
  211. assets/select2/js/i18n/nb.js +3 -0
  212. assets/select2/js/i18n/nl.js +3 -0
  213. assets/select2/js/i18n/pl.js +3 -0
  214. assets/select2/js/i18n/ps.js +3 -0
  215. assets/select2/js/i18n/pt-BR.js +3 -0
  216. assets/select2/js/i18n/pt.js +3 -0
  217. assets/select2/js/i18n/ro.js +3 -0
DNSMPD/class-DNSMPD-table.php ADDED
@@ -0,0 +1,329 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * DNSMPD Reports Table Class
4
+ *
5
+ *
6
+ */
7
+
8
+ // Exit if accessed directly
9
+ if ( ! defined( 'ABSPATH' ) ) {
10
+ exit;
11
+ }
12
+
13
+ // Load WP_List_Table if not loaded
14
+ if ( ! class_exists( 'WP_List_Table' ) ) {
15
+ require_once ABSPATH . 'wp-admin/includes/class-wp-list-table.php';
16
+ }
17
+
18
+ class cmplz_DNSMPD_Table extends WP_List_Table {
19
+
20
+ /**
21
+ * Number of items per page
22
+ *
23
+ * @var int
24
+ * @since 1.5
25
+ */
26
+ public $per_page = 30;
27
+
28
+ /**
29
+ * Number of results found
30
+ *
31
+ * @var int
32
+ * @since 1.7
33
+ */
34
+ public $count = 0;
35
+
36
+ /**
37
+ * Total results
38
+ *
39
+ * @var int
40
+ * @since 1.95
41
+ */
42
+ public $total = 0;
43
+
44
+ /**
45
+ * The arguments for the data set
46
+ *
47
+ * @var array
48
+ * @since 2.6
49
+ */
50
+ public $args = array();
51
+
52
+ /**
53
+ * Get things started
54
+ *
55
+ * @since 1.5
56
+ * @see WP_List_Table::__construct()
57
+ */
58
+ public function __construct() {
59
+ global $status, $page;
60
+
61
+ // Set parent defaults
62
+ parent::__construct( array(
63
+ 'singular' => __( 'User', 'complianz-gdpr' ),
64
+ 'plural' => __( 'Users', 'complianz-gdpr' ),
65
+ 'ajax' => false,
66
+ ) );
67
+
68
+ }
69
+
70
+ /**
71
+ * Show the search field
72
+ *
73
+ * @param string $text Label for the search box
74
+ * @param string $input_id ID of the search box
75
+ *
76
+ * @return void
77
+ * @since 1.7
78
+ *
79
+ */
80
+ public function search_box( $text, $input_id ) {
81
+ $input_id = $input_id . '-search-input';
82
+
83
+ if ( ! empty( $_REQUEST['orderby'] ) ) {
84
+ echo '<input type="hidden" name="orderby" value="'
85
+ . esc_attr( $_REQUEST['orderby'] ) . '" />';
86
+ }
87
+ if ( ! empty( $_REQUEST['order'] ) ) {
88
+ echo '<input type="hidden" name="order" value="'
89
+ . esc_attr( $_REQUEST['order'] ) . '" />';
90
+ }
91
+ ?>
92
+ <p class="search-box">
93
+ <label class="screen-reader-text"
94
+ for="<?php echo esc_attr($input_id) ?>"><?php echo esc_html($text); ?>:</label>
95
+ <input type="search" id="<?php echo esc_attr($input_id) ?>" name="s"
96
+ value="<?php _admin_search_query(); ?>"/>
97
+ <?php submit_button( $text, 'button', false, false,
98
+ array( 'ID' => 'search-submit' ) ); ?>
99
+ </p>
100
+ <?php
101
+ }
102
+
103
+ /**
104
+ * Gets the name of the primary column.
105
+ *
106
+ * @return string Name of the primary column.
107
+ * @since 2.5
108
+ * @access protected
109
+ *
110
+ */
111
+ protected function get_primary_column_name() {
112
+ return 'name';
113
+ }
114
+
115
+ /**
116
+ * This function renders most of the columns in the list table.
117
+ *
118
+ * @param array $item Contains all the data of the customers
119
+ * @param string $column_name The name of the column
120
+ *
121
+ * @return string Column Name
122
+ * @since 1.5
123
+ *
124
+ */
125
+ public function column_default( $item, $column_name ) {
126
+ switch ( $column_name ) {
127
+ case 'resolved' :
128
+ $value = $item['resolved'] ? __('Resolved','complianz-gdpr') : __('Open','complianz-gdpr');
129
+ break;
130
+ default:
131
+ $value = isset( $item[ $column_name ] ) ? $item[ $column_name ] : null;
132
+ break;
133
+ }
134
+ return apply_filters( 'cmplz_dnsmpd_column_' . $column_name, $value, $item['ID'] );
135
+ }
136
+
137
+ /**
138
+ * Column name
139
+ * @param array $item
140
+ *
141
+ * @return string
142
+ */
143
+
144
+ public function column_name( $item ) {
145
+ $name = '#' . $item['ID'] . ' ';
146
+ $name .= ! empty( $item['name'] ) ? $item['name'] : '<em>' . __( 'Unnamed user', 'complianz-gdpr' ) . '</em>';
147
+ $actions = array(
148
+ 'resolve' => '<a href="' . admin_url( 'admin.php?page=cmplz-datarequests&action=resolve&id=' . $item['ID'] ) . '">' . __( 'Resolve', 'complianz-gdpr' ) . '</a>',
149
+ 'delete' => '<a href="' . admin_url( 'admin.php?page=cmplz-datarequests&action=delete&id=' . $item['ID'] ) . '">' . __( 'Delete', 'complianz-gdpr' ) . '</a>',
150
+ );
151
+
152
+ return $name . $this->row_actions( $actions );
153
+ }
154
+
155
+ /**
156
+ * Retrieve the table columns
157
+ *
158
+ * @return array $columns Array of all the list table columns
159
+ * @since 1.5
160
+ */
161
+ public function get_columns() {
162
+ $columns = array(
163
+ 'name' => __( 'Name', 'complianz-gdpr' ),
164
+ 'email' => __( 'Email', 'complianz-gdpr' ),
165
+ 'region' => __( 'Region', 'complianz-gdpr' ),
166
+ 'resolved' => __( 'Status', 'complianz-gdpr' ),
167
+ 'datarequest' => __( 'Data request', 'complianz-gdpr' ),
168
+ 'date' => __( 'Date', 'complianz-gdpr' ),
169
+ );
170
+
171
+ return apply_filters( 'cmplz_report_customer_columns', $columns );
172
+
173
+ }
174
+
175
+ /**
176
+ * Get the sortable columns
177
+ *
178
+ * @return array Array of all the sortable columns
179
+ * @since 2.1
180
+ */
181
+ public function get_sortable_columns() {
182
+ return array(
183
+ 'request_date' => array( 'request_date', true ),
184
+ 'name' => array( 'name', true ),
185
+ 'region' => array( 'region', true ),
186
+ 'email' => array( 'email', true ),
187
+ 'resolved' => array( 'resolved', true ),
188
+ 'date' => array( 'date', true ),
189
+ 'datarequest' => array( 'datarequest', true ),
190
+ );
191
+ }
192
+
193
+ /**
194
+ * Outputs the reporting views
195
+ *
196
+ * @return void
197
+ * @since 1.5
198
+ */
199
+ public function bulk_actions( $which = '' ) {
200
+ // These aren't really bulk actions but this outputs the markup in the right place
201
+ }
202
+
203
+ /**
204
+ * Retrieve the current page number
205
+ *
206
+ * @return int Current page number
207
+ * @since 1.5
208
+ */
209
+ public function get_paged() {
210
+ return isset( $_GET['paged'] ) ? absint( $_GET['paged'] ) : 1;
211
+ }
212
+
213
+ /**
214
+ * Retrieves the search query string
215
+ *
216
+ * @return mixed string If search is present, false otherwise
217
+ * @since 1.7
218
+ */
219
+ public function get_search() {
220
+ return ! empty( $_GET['s'] ) ? urldecode( trim( $_GET['s'] ) ) : false;
221
+ }
222
+
223
+
224
+ public function resolved_select() {
225
+ // Month Select
226
+ $options = [
227
+ 1 => __('Resolved',"complianz-gdpr"),
228
+ 0 => __('Unresolved',"complianz-gdpr"),
229
+ ];
230
+ $selected = 0;
231
+ if ( isset($_GET['cmplz_resolved_select']) ) {
232
+ $selected = intval($_GET['cmplz_resolved_select']);
233
+ }
234
+
235
+ echo '<select style="float:right" name="cmplz_resolved_select" id="cmplz_resolved_select" class="cmplz_resolved_select">';
236
+ foreach($options as $value => $label) {
237
+ echo '<option value="' . $value . '" ' . ($selected==$value ? 'selected' : '') . '>' . $label . '</option>';
238
+ }
239
+ echo '</select>';
240
+ }
241
+
242
+ /**
243
+ * Build all the reports data
244
+ *
245
+ * @return array $reports_data All the data for customer reports
246
+ * @global object $wpdb Used to query the database using the WordPress
247
+ * Database API
248
+ * @since 1.5
249
+ */
250
+
251
+ public function reports_data() {
252
+
253
+ $data = array();
254
+ $paged = $this->get_paged();
255
+ $offset = $this->per_page * ( $paged - 1 );
256
+ $search = $this->get_search();
257
+ $order = isset( $_GET['order'] )
258
+ ? sanitize_text_field( $_GET['order'] ) : 'DESC';
259
+ $orderby = isset( $_GET['orderby'] )
260
+ ? sanitize_text_field( $_GET['orderby'] ) : 'id';
261
+
262
+ $args = array(
263
+ 'number' => $this->per_page,
264
+ 'offset' => $offset,
265
+ 'order' => $order,
266
+ 'orderby' => $orderby
267
+ );
268
+
269
+ if ( is_email( $search ) ) {
270
+ $args['email'] = $search;
271
+ } else {
272
+ $args['name'] = $search;
273
+ }
274
+
275
+ if ( isset( $_GET['cmplz_resolved_select'] ) ) {
276
+ $args['resolved'] = intval($_GET['cmplz_resolved_select']);
277
+ }
278
+
279
+ $this->args = $args;
280
+ $requests = COMPLIANZ::$DNSMPD->get_requests( $args );
281
+ if ( $requests ) {
282
+ foreach ( $requests as $request ) {
283
+ $datarequest='';
284
+ $options = apply_filters( 'cmplz_datarequest_options', [] );
285
+ foreach ($options as $fieldname => $label ) {
286
+ if ( $request->{$fieldname}==1 ) {
287
+ $datarequest = '<a href="https://complianz.io/'.$label['slug'].'" target="_blank">'.$label['short'].'</a>';
288
+ }
289
+ }
290
+ $time = date( get_option( 'time_format' ), $request->request_date );
291
+ $date = cmplz_localize_date($request->request_date);
292
+ $date = cmplz_sprintf( __( "%s at %s", 'complianz-gdpr' ), $date, $time );
293
+ // $region = isset(COMPLIANZ::$config->regions[$request->region]['label_full']) ? COMPLIANZ::$config->regions[$request->region]['label_full'] :;
294
+ $region = cmplz_region_icon( $request->region, 25);
295
+ $data[] = array(
296
+ 'ID' => $request->ID,
297
+ 'name' => $request->name,
298
+ 'email' => $request->email,
299
+ 'region' => $region,
300
+ 'resolved' => $request->resolved,
301
+ 'datarequest' => $datarequest,
302
+ 'date' => $date,
303
+ );
304
+ }
305
+ }
306
+
307
+ return $data;
308
+ }
309
+
310
+ /**
311
+ * Prepare items for the table
312
+ *
313
+ * @return void
314
+ */
315
+ public function prepare_items() {
316
+ $columns = $this->get_columns();
317
+ $hidden = array(); // No hidden columns
318
+ $sortable = $this->get_sortable_columns();
319
+ $this->_column_headers = array( $columns, $hidden, $sortable );
320
+ $this->items = $this->reports_data();
321
+ $this->total = COMPLIANZ::$DNSMPD->count_requests( $this->args );
322
+ $total_pages = $this->per_page ? ceil( (int) $this->total / (int) $this->per_page ) : 1;
323
+ $this->set_pagination_args( array(
324
+ 'total_items' => $this->total,
325
+ 'per_page' => $this->per_page,
326
+ 'total_pages' => $total_pages,
327
+ ) );
328
+ }
329
+ }
DNSMPD/class-DNSMPD.php ADDED
@@ -0,0 +1,518 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ defined( 'ABSPATH' ) or die( "you do not have access to this page!" );
3
+
4
+ if ( ! class_exists( "cmplz_DNSMPD" ) ) {
5
+ class cmplz_DNSMPD {
6
+ private static $_this;
7
+
8
+ function __construct() {
9
+ if ( isset( self::$_this ) ) {
10
+ wp_die( sprintf( '%s is a singleton class and you cannot create a second instance.',
11
+ get_class( $this ) ) );
12
+ }
13
+
14
+ self::$_this = $this;
15
+
16
+ if ( cmplz_has_region('us') ) {
17
+ add_shortcode( 'cmplz-dnsmpi-request', array($this, 'datarequest_form') );
18
+ }
19
+ add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_assets' ) );
20
+ add_action( 'rest_api_init', array($this, 'register_rest_route') );
21
+ add_action( 'admin_init', array( $this, 'process_delete' ) );
22
+ add_action( 'admin_init', array( $this, 'process_resolve' ) );
23
+ add_action( 'activated_plugin', array( $this, 'update_db_check' ), 10, 2 );
24
+ add_action( 'plugins_loaded', array( $this, 'update_db_check' ), 10 );
25
+ add_action( 'cmplz_admin_menu', array( $this, 'admin_menu' ) );
26
+ add_filter( 'cmplz_datarequest_options', array( $this, 'datarequest_options' ), 20 );
27
+ add_filter( 'cmplz_warning_types', array($this, 'new_datarequests_notice') );
28
+ add_filter( 'cmplz_settings_items', array($this, 'add_settings_block') );
29
+ }
30
+
31
+ static function this() {
32
+ return self::$_this;
33
+ }
34
+
35
+ public function add_settings_block($items){
36
+ if ( cmplz_datarequests_or_dnsmpi_active() ) {
37
+ $items['data-requests'] = [
38
+ 'page' => 'settings',
39
+ 'name' => 'data-requests',
40
+ 'header' => __('Data Requests', 'complianz-gdpr'),
41
+ 'class' => 'medium',
42
+ 'index' => '13',
43
+ 'controls' => '',
44
+ ];
45
+ }
46
+ return $items;
47
+ }
48
+
49
+ /**
50
+ * Add new datarequests
51
+ *
52
+ * @param array $warnings
53
+ *
54
+ * @return array
55
+ */
56
+
57
+ public function new_datarequests_notice($warnings){
58
+ $warnings['new_datarequest'] = [
59
+ 'warning_condition' => 'DNSMPD->has_open_requests',
60
+ 'include_in_progress' => true,
61
+ 'plus_one' => true,
62
+ 'open' => __( 'You have open data requests.', 'complianz-gdpr' ).'&nbsp;'.cmplz_sprintf(__( 'Please check the data requests <a href="%s">overview page</a>.', 'complianz-gdpr' ), add_query_arg(array('page'=>'cmplz-datarequests'),admin_url('admin.php'))),
63
+ 'dismissible' => false,
64
+ ];
65
+ return $warnings;
66
+ }
67
+
68
+ /**
69
+ * Check if there are open requests
70
+ *
71
+ * @return bool
72
+ */
73
+
74
+ public function has_open_requests(){
75
+ $has_requests = false;
76
+ if ( cmplz_has_region('us') || cmplz_datarequests_active() ) {
77
+ global $wpdb;
78
+ $count = $wpdb->get_var( "SELECT count(*) from {$wpdb->prefix}cmplz_dnsmpd WHERE NOT resolved = 1" );
79
+ $has_requests = $count > 0;
80
+ }
81
+ return $has_requests;
82
+ }
83
+
84
+ /**
85
+ * Extend options with generic options
86
+ *
87
+ * @param array $options
88
+ *
89
+ * @return array
90
+ */
91
+
92
+ public function datarequest_options( $options = [] ){
93
+ $options = $options + [
94
+ "global_optout" => [
95
+ 'slug' => 'definition/what-is-global-opt-out',
96
+ 'short' => __( 'Global opt-out', 'complianz-gdpr' ),
97
+ 'long' => __( 'Global opt-out from selling and sharing my personal information and limiting the use or disclosure of sensitive personal information.', 'complianz-gdpr' ),
98
+ ],
99
+ "cross_context" => [
100
+ 'slug' => 'definition/what-is-cross-context-behavioral-advertising/',
101
+ 'short' => __( 'Do not sell my info', 'complianz-gdpr' ),
102
+ 'long' => __( 'Do not sell my personal information for cross-context behavioral advertising', 'complianz-gdpr' ),
103
+ ],
104
+ "limit_sensitive" => [
105
+ 'slug' => 'definition/what-is-limit-sensitive-data/',
106
+ 'short' => __( 'Limit sensitive data', 'complianz-gdpr' ),
107
+ 'long' => __( 'Limit the use of my sensitive personal information', 'complianz-gdpr' ),
108
+ ],
109
+ ];
110
+ return $options;
111
+ }
112
+ /**
113
+ * Enqueue front-end assets
114
+ * @param $hook
115
+ */
116
+ public function enqueue_assets( $hook ) {
117
+
118
+ global $post;
119
+ if ( $post && !COMPLIANZ::$document->is_complianz_page($post->ID ) ) {
120
+ return;
121
+ }
122
+
123
+ if ( !cmplz_has_region('us') && !cmplz_datarequests_active() ) {
124
+ return;
125
+ }
126
+
127
+ wp_enqueue_script( 'cmplz-dnsmpd', cmplz_url . "DNSMPD/script.min.js", array( 'jquery' ), cmplz_version, true );
128
+ wp_localize_script(
129
+ 'cmplz-dnsmpd',
130
+ 'cmplz_datarequests',
131
+ array(
132
+ 'url' => get_rest_url().'complianz/v1/datarequests',
133
+ )
134
+ );
135
+ }
136
+
137
+ /**
138
+ * Add admin menu
139
+ * @return void
140
+ */
141
+ public function admin_menu() {
142
+ if ( ! cmplz_user_can_manage() ) {
143
+ return;
144
+ }
145
+
146
+ if ( !cmplz_has_region('us') && !cmplz_datarequests_active() ) {
147
+ return;
148
+ }
149
+
150
+ add_submenu_page(
151
+ 'complianz',
152
+ __( 'Data requests', 'complianz-gdpr' ),
153
+ __( 'Data requests', 'complianz-gdpr' ),
154
+ 'manage_options',
155
+ 'cmplz-datarequests',
156
+ array( $this, 'data_requests_overview' )
157
+ );
158
+ }
159
+
160
+ /**
161
+ * Removed users overview
162
+ *
163
+ * @return void
164
+ */
165
+ public function data_requests_overview() {
166
+ ob_start();
167
+ include( dirname( __FILE__ ) . '/class-DNSMPD-table.php' );
168
+ $datarequests = new cmplz_DNSMPD_Table();
169
+ $datarequests->prepare_items();
170
+ ?>
171
+ <div class="cmplz-datarequests">
172
+ <h1 class="wp-heading-inline"><?php _e( 'Data Requests', 'complianz-gdpr' ); ?>
173
+ <a href="<?php echo esc_url_raw( cmplz_url . "DNSMPD/csv.php?nonce=" . wp_create_nonce( 'cmplz_csv_nonce' ) ) ?>" target="_blank" class="button button-primary"><?php _e("Export", "complianz-gdpr")?></a>
174
+ </h1>
175
+ <form id="cmplz-dnsmpd-filter" method="get" action="<?php echo admin_url( 'admin.php?page=cmplz-datarequests' ); ?>">
176
+ <?php
177
+ $datarequests->search_box( __( 'Search requests', 'complianz-gdpr' ), 'cmplz-datarequests' );
178
+ $datarequests->resolved_select();
179
+ $datarequests->display();
180
+ ?>
181
+ <input type="hidden" name="page" value="cmplz-datarequests"/>
182
+ </form>
183
+ </div>
184
+ <?php
185
+
186
+ $content = ob_get_clean();
187
+ $args = array(
188
+ 'page' => 'do-not-sell-my-personal-information',
189
+ 'content' => $content,
190
+ );
191
+ echo cmplz_get_template('admin_wrap.php', $args );
192
+ }
193
+
194
+ /**
195
+ * Get users
196
+ * @param array $args
197
+ *
198
+ * @return array
199
+ */
200
+ public function get_requests( $args ) {
201
+ global $wpdb;
202
+ $sql = "SELECT * from {$wpdb->prefix}cmplz_dnsmpd WHERE 1=1 ";
203
+ if ( isset( $args['email'] ) && ! empty( $args['email'] ) && is_email( $args['email'] ) ) {
204
+ $sql .= " AND email like '"."%" . sanitize_email( $args['email'] ) . "%"."'";
205
+ }
206
+
207
+ if ( isset( $args['name'] ) && ! empty( $args['name'] ) ) {
208
+ $sql .= " AND name like '%" . sanitize_text_field( $args['name'] ) . "%'";
209
+ }
210
+
211
+ if ( isset( $args['resolved'] )) {
212
+ $sql .= " AND resolved = " . intval($args['resolved']);
213
+ }
214
+
215
+ $sql .= " ORDER BY " . sanitize_title( $args['orderby'] ) . " " . sanitize_title( $args['order'] );
216
+ if ( isset( $args['number'] ) ) {
217
+ $sql .= " LIMIT " . intval( $args['number'] ) . " OFFSET " . intval( $args["offset"] );
218
+ }
219
+ return $wpdb->get_results( $sql );
220
+ }
221
+
222
+ /**
223
+ * Count number of users
224
+ * @param $args
225
+ *
226
+ * @return int
227
+ */
228
+ public function count_requests( $args ) {
229
+ unset( $args['number'] );
230
+ $users = $this->get_requests( $args );
231
+ return count( $users );
232
+ }
233
+
234
+ /**
235
+ * Handle resolve request
236
+ */
237
+
238
+ public function process_resolve() {
239
+ if ( ! current_user_can( 'manage_options' ) ) {
240
+ return;
241
+ }
242
+ if ( isset( $_GET['page'] ) && ( $_GET['page'] == 'cmplz-datarequests' )
243
+ && isset( $_GET['action'] )
244
+ && $_GET['action'] == 'resolve'
245
+ && isset( $_GET['id'] )
246
+ ) {
247
+ global $wpdb;
248
+ $wpdb->update( $wpdb->prefix . 'cmplz_dnsmpd',
249
+ array(
250
+ 'resolved' => 1
251
+ ),
252
+ array( 'ID' => intval( $_GET['id'] ) )
253
+ );
254
+ $paged = isset( $_GET['paged'] ) ? 'paged=' . intval( $_GET['paged'] ) : '';
255
+ wp_redirect( admin_url( 'admin.php?page=cmplz-datarequests' . $paged ) );
256
+ exit;
257
+ }
258
+ }
259
+
260
+ /**
261
+ * Handle delete request
262
+ */
263
+
264
+ public function process_delete() {
265
+ if ( ! current_user_can( 'manage_options' ) ) {
266
+ return;
267
+ }
268
+
269
+ if ( isset( $_GET['page'] ) && ( $_GET['page'] == 'cmplz-datarequests' )
270
+ && isset( $_GET['action'] )
271
+ && $_GET['action'] == 'delete'
272
+ && isset( $_GET['id'] )
273
+ ) {
274
+ global $wpdb;
275
+ $wpdb->delete( $wpdb->prefix . 'cmplz_dnsmpd', array( 'ID' => intval( $_GET['id'] ) ) );
276
+ $paged = isset( $_GET['paged'] ) ? 'paged=' . intval( $_GET['paged'] ) : '';
277
+ wp_redirect( admin_url( 'admin.php?page=cmplz-datarequests' . $paged ) );
278
+ }
279
+ }
280
+
281
+ /**
282
+ * Check if the table needs to be created or updated
283
+ * @return void
284
+ */
285
+ public function update_db_check() {
286
+ if ( get_option( 'cmplz_dnsmpd_db_version' ) != cmplz_version ) {
287
+ require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
288
+ global $wpdb;
289
+ $charset_collate = $wpdb->get_charset_collate();
290
+ $table_name = $wpdb->prefix . 'cmplz_dnsmpd';
291
+ $sql = "CREATE TABLE $table_name (
292
+ `ID` int(11) NOT NULL AUTO_INCREMENT,
293
+ `name` varchar(255) NOT NULL,
294
+ `email` varchar(255) NOT NULL,
295
+ `region` TEXT NOT NULL,
296
+ `global_optout` int(11) NOT NULL,
297
+ `cross_context` int(11) NOT NULL,
298
+ `limit_sensitive` int(11) NOT NULL,
299
+ `request_date` int(11) NOT NULL,
300
+ `resolved` int(11) NOT NULL,
301
+ PRIMARY KEY (ID)
302
+ ) $charset_collate;";
303
+
304
+ dbDelta( $sql );
305
+ update_option( 'cmplz_dnsmpd_db_version', cmplz_version, false );
306
+ }
307
+ }
308
+
309
+ /**
310
+ * Send confirmation mail
311
+ *
312
+ * @param string $email
313
+ * @param string $name
314
+ *
315
+ * @return void
316
+ */
317
+ private function send_confirmation_mail( $email, $name ) {
318
+ $message = cmplz_get_value( 'notification_email_content' );
319
+ $subject = cmplz_get_value( 'notification_email_subject' );
320
+ $message = str_replace( '{name}', $name, $message );
321
+ $message = str_replace( '{blogname}', get_bloginfo( 'name' ), $message );
322
+ $this->send_mail( $email, $subject, $message );
323
+ }
324
+
325
+ /**
326
+ * Send confirmation mail
327
+ *
328
+ * @return void
329
+ */
330
+
331
+ private function send_notification_mail( ) {
332
+ $email = sanitize_email( get_option( 'admin_email' ) );
333
+ $subject = cmplz_sprintf(__("You have received a new data request on %s", "complianz-gdpr") , get_bloginfo( 'name' ) );
334
+ $message = $subject.'<br>'.cmplz_sprintf(__("Please check the data request on %s", "complianz-gdpr"), '<a href="'.site_url().'" target="_blank">'.site_url().'</a>');
335
+ $this->send_mail( $email, $subject, $message );
336
+ }
337
+
338
+ /**
339
+ * Send an email
340
+ * @param string $email
341
+ * @param string $subject
342
+ * @param string $message
343
+ *
344
+ * @return bool
345
+ */
346
+ private function send_mail( $email, $subject, $message ) {
347
+ $headers = [];
348
+ $from_name = get_bloginfo( 'name' );
349
+ $from_email = cmplz_get_value( 'notification_from_email' );
350
+ add_filter( 'wp_mail_content_type', function ( $content_type ) {
351
+ return 'text/html';
352
+ } );
353
+
354
+ if ( ! empty( $from_email ) ) {
355
+ $headers[] = 'From: ' . $from_name . ' <' . $from_email . '>'
356
+ . "\r\n";
357
+ }
358
+
359
+ $success = true;
360
+ if ( wp_mail( $email, $subject, $message, $headers ) === false ) {
361
+ $success = false;
362
+ }
363
+
364
+ // Reset content-type to avoid conflicts -- http://core.trac.wordpress.org/ticket/23578
365
+ remove_filter( 'wp_mail_content_type', 'set_html_content_type' );
366
+ return $success;
367
+ }
368
+
369
+ /**
370
+ * Register the rest route
371
+ *
372
+ * @return void
373
+ */
374
+ public function register_rest_route()
375
+ {
376
+ register_rest_route('complianz/v1', 'datarequests/', array(
377
+ 'methods' => 'POST',
378
+ 'callback' => array($this, 'process_restapi_datarequest'),
379
+ 'args' => array(),
380
+ 'permission_callback' => '__return_true',
381
+ ));
382
+ }
383
+
384
+ /**
385
+ * Process the form submit
386
+ *
387
+ * @param WP_REST_Request $request
388
+ *
389
+ * @return void
390
+ */
391
+ public function process_restapi_datarequest( WP_REST_Request $request ) {
392
+
393
+ $params = $request->get_json_params();
394
+ $new_request = false;
395
+ $error = false;
396
+ $message = "";
397
+
398
+ //check honeypot
399
+ if ( isset($params['cmplz_datarequest_firstname']) && ! empty( $params['cmplz_datarequest_firstname'] ) ) {
400
+ $error = true;
401
+ $message = __( "Sorry, it looks like you're a bot", 'complianz-gdpr' );
402
+ }
403
+
404
+ if ( ! isset($params['cmplz_datarequest_email']) || ! is_email( $params['cmplz_datarequest_email'] ) ) {
405
+ $error = true;
406
+ $message = __( "Please enter a valid email address.", 'complianz-gdpr' );
407
+ }
408
+
409
+ if ( ! isset($params['cmplz_datarequest_name']) || empty( $params['cmplz_datarequest_name'] ) ) {
410
+ $error = true;
411
+ $message = __( "Please enter your name", 'complianz-gdpr' );
412
+ }
413
+
414
+ if ( strlen( $params['cmplz_datarequest_name'] ) > 100 ) {
415
+ $error = true;
416
+ $message = __( "That's a long name you got there. Please try to shorten the name.", 'complianz-gdpr' );
417
+ }
418
+
419
+ if ( ! isset($params['cmplz_datarequest_region']) || empty( $params['cmplz_datarequest_region'] ) ) {
420
+ $region = 'us';
421
+ }
422
+
423
+ if ( ! $error ) {
424
+ $email = sanitize_email( $params['cmplz_datarequest_email'] );
425
+ $name = sanitize_text_field( $params['cmplz_datarequest_name'] );
426
+ $region = sanitize_title( $params['cmplz_datarequest_region'] );
427
+ //check if this email address is already registered:
428
+ global $wpdb;
429
+ $options = apply_filters( 'cmplz_datarequest_options', [] );
430
+ foreach ( $options as $fieldname => $label ) {
431
+ $value = isset( $params['cmplz_datarequest_'.$fieldname] ) ? intval( $params['cmplz_datarequest_'.$fieldname] ) : false;
432
+ if ( $value === 1 ) {
433
+ $count = $wpdb->get_var( $wpdb->prepare( "SELECT count(*) from {$wpdb->prefix}cmplz_dnsmpd WHERE email = %s and $fieldname=1", $email ) );
434
+ if ( $count == 0 ) {
435
+ $new_request = true;
436
+ $wpdb->insert( $wpdb->prefix . 'cmplz_dnsmpd',
437
+ array(
438
+ 'name' => $name,
439
+ 'email' => $email,
440
+ 'region' => $region,
441
+ $fieldname => $value,
442
+ 'request_date' => time()
443
+ )
444
+ );
445
+ }
446
+ }
447
+ }
448
+
449
+ if ( $new_request ) {
450
+ $this->send_confirmation_mail( $email, $name );
451
+ $this->send_notification_mail();
452
+ $message = __( "Your request has been processed successfully!", 'complianz-gdpr' );
453
+ } else {
454
+ $message = __( "Your request could not be processed. A request is already in progress for this email address or the form is not complete.", 'complianz-gdpr' );
455
+ }
456
+ }
457
+
458
+ $response = json_encode( array(
459
+ 'message' => $message,
460
+ 'success' => ! $error,
461
+ ) );
462
+ header( "Content-Type: application/json" );
463
+ echo $response;
464
+ exit;
465
+ }
466
+
467
+ /**
468
+ * Render the form in the shortcode
469
+ *
470
+ * @return false|string
471
+ */
472
+ public function datarequest_form() {
473
+ ob_start();
474
+ ?>
475
+ <div class="cmplz-datarequest cmplz-alert">
476
+ <span class="cmplz-close">&times;</span>
477
+ <span id="cmplz-message"></span>
478
+ </div>
479
+ <form id="cmplz-datarequest-form">
480
+ <input type="hidden" required value="us" name="cmplz_datarequest_region" id="cmplz_datarequest_region">
481
+
482
+ <label for="cmplz_datarequest_firstname" class="cmplz-first-name"><?php echo __('Name','complianz-gdpr')?><input type="search" class="dnsmpd-firstname" value="" placeholder="your first name" id="cmplz_datarequest_firstname" name="cmplz_datarequest_firstname"></label>
483
+ <div>
484
+ <label for="cmplz_datarequest_name"><?php echo __('Name','complianz-gdpr')?></label>
485
+ <input type="text" required value="" placeholder="<?php echo __('Your name','complianz-gdpr')?>" id="cmplz_datarequest_name" name="cmplz_datarequest_name">
486
+ </div>
487
+ <div>
488
+ <label for="cmplz_datarequest_email"><?php echo __('Email','complianz-gdpr')?></label>
489
+ <input type="email" required value="" placeholder="<?php echo __('email@email.com','complianz-gdpr')?>" id="cmplz_datarequest_email" name="cmplz_datarequest_email">
490
+ </div>
491
+
492
+ <?php
493
+ $options = $this->datarequest_options();
494
+ foreach ( $options as $id => $label ) { ?>
495
+ <div class="cmplz_datarequest cmplz_datarequest_<?php echo $id?>">
496
+ <label for="cmplz_datarequest_<?php echo $id?>">
497
+ <input type="checkbox" value="1" name="cmplz_datarequest_<?php echo $id?>" id="cmplz_datarequest_<?php echo $id?>"/>
498
+ <?php echo $label['long']?>
499
+ </label>
500
+ </div>
501
+ <?php } ?>
502
+ <input type="button" id="cmplz-datarequest-submit" name="cmplz-datarequest-submit" value="<?php echo __('Send','complianz-gdpr')?>">
503
+ </form>
504
+
505
+ <style>
506
+ /* first-name is honeypot */
507
+ .cmplz-first-name {
508
+ position: absolute !important;
509
+ left: -5000px !important;
510
+ }
511
+ </style>
512
+ <?php
513
+ $output = ob_get_contents();
514
+ ob_end_clean();
515
+ return $output;
516
+ }
517
+ } //class closure
518
+ }
DNSMPD/csv.php ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ # No need for the template engine
3
+ define( 'WP_USE_THEMES', false );
4
+
5
+ #find the base path
6
+ define( 'BASE_PATH', find_wordpress_base_path() . "/" );
7
+
8
+ # Load WordPress Core
9
+ if ( !file_exists(BASE_PATH . 'wp-load.php') ) {
10
+ die("WordPress not installed here");
11
+ }
12
+ require_once( BASE_PATH . 'wp-load.php' );
13
+ require_once( BASE_PATH . 'wp-includes/class-phpass.php' );
14
+ require_once( BASE_PATH . 'wp-admin/includes/image.php' );
15
+
16
+ if ( isset( $_GET['nonce'] ) ) {
17
+ $nonce = $_GET['nonce'];
18
+ if ( ! wp_verify_nonce( $nonce, 'cmplz_csv_nonce' ) ) {
19
+ die( "1 invalid command" );
20
+ }
21
+ } else {
22
+ die( "2 invalid command" );
23
+ }
24
+
25
+ if ( ! is_user_logged_in() ) {
26
+ die( "no permission here, invalid command" );
27
+ }
28
+
29
+ function array_to_csv_download(
30
+ $array, $filename = "export.csv", $delimiter = ";"
31
+ ) {
32
+ header( 'Content-Type: application/csv;charset=UTF-8' );
33
+ header( 'Content-Disposition: attachment; filename="' . $filename . '";' );
34
+ //fix ö ë etc character encoding issues:
35
+ echo "\xEF\xBB\xBF"; // UTF-8 BOM
36
+ // open the "output" stream
37
+ // see http://www.php.net/manual/en/wrappers.php.php#refsect2-wrappers.php-unknown-unknown-unknown-descriptioq
38
+ $f = fopen( 'php://output', 'w' );
39
+
40
+ foreach ( $array as $line ) {
41
+ fputcsv( $f, $line, $delimiter );
42
+ }
43
+ }
44
+
45
+ $file_title = "cmplz-export-" . date( "j" ) . " " . __( date( "F" ) ) . " " . date( "Y" );
46
+ array_to_csv_download( export_array(), $file_title . ".csv" );
47
+
48
+ function export_array() {
49
+ $requests = COMPLIANZ::$DNSMPD->get_requests( array(
50
+ 'orderby' => 'ID',
51
+ 'order' => 'DESC'
52
+ ) );
53
+
54
+ $output = array();
55
+ $output[] = array(
56
+ __( "Name", 'complianz-gdpr' ),
57
+ __( "Email", 'complianz-gdpr' ),
58
+ __( "Resolved", 'complianz-gdpr' ),
59
+ __( "Data request", 'complianz-gdpr' ),
60
+ __( "Date", 'complianz-gdpr' ),
61
+ );
62
+
63
+ foreach ( $requests as $request ) {
64
+ $datarequest='';
65
+ $options = apply_filters( 'cmplz_datarequest_options', [] );
66
+ foreach ($options as $fieldname => $label ) {
67
+ if ( $request->{$fieldname}==1 ) {
68
+ $datarequest = $label['short'];
69
+ }
70
+ }
71
+ $time = date( get_option( 'time_format' ), $request->request_date );
72
+ $date = cmplz_localize_date($request->request_date);
73
+ $date = cmplz_sprintf( __( "%s at %s", 'complianz-gdpr' ), $date, $time );
74
+ $output[] = array( $request->name, $request->email, $request->resolved, $datarequest, $date );
75
+ }
76
+
77
+ return $output;
78
+ }
79
+
80
+ function find_wordpress_base_path()
81
+ {
82
+ $path = dirname(__FILE__);
83
+
84
+ do {
85
+ //it is possible to check for other files here
86
+ if (file_exists($path . "/wp-config.php")) {
87
+ //check if the wp-load.php file exists here. If not, we assume it's in a subdir.
88
+ if ( file_exists( $path . '/wp-load.php') ) {
89
+ return $path;
90
+ } else {
91
+ //wp not in this directory. Look in each folder to see if it's there.
92
+ if ( file_exists( $path ) && $handle = opendir( $path ) ) {
93
+ while ( false !== ( $file = readdir( $handle ) ) ) {
94
+ if ( $file != "." && $file != ".." ) {
95
+ $file = $path .'/' . $file;
96
+ if ( is_dir( $file ) && file_exists( $file . '/wp-load.php') ) {
97
+ $path = $file;
98
+ break;
99
+ }
100
+ }
101
+ }
102
+ closedir( $handle );
103
+ }
104
+ }
105
+
106
+ return $path;
107
+ }
108
+ } while ($path = realpath("$path/.."));
109
+
110
+ return false;
111
+ }
DNSMPD/dnsmpd.js ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(document).ready(function ($) {
2
+ 'use strict';
3
+ $(document).on('click', '.cmplz-dnsmpd .close',function(){
4
+ $(this).parent().hide();
5
+ });
6
+ $(document).on('click', '#cmplz-dnsmpd-submit', function(){
7
+ var email = $('#cmplz_dnsmpd_email').val();
8
+ var name = $('#cmplz_dnsmpd_name').val();
9
+ var firstname = $('#cmplz_dnsmpd_firstname').val();
10
+ /**
11
+ * Fire an event so we can hook into this
12
+ * @type {CustomEvent}
13
+ */
14
+ var event = new CustomEvent('cmplz_dnsmpi_submit', { detail: status });
15
+ document.dispatchEvent(event);
16
+ $.ajax({
17
+ type: "POST",
18
+ url: cmplz_dnsmpd.url,
19
+ dataType: 'json',
20
+ data: ({
21
+ action: 'cmplz_send_dnsmpd_request',
22
+ email : email,
23
+ name : name,
24
+ firstname : firstname
25
+ }),
26
+ success: function (response) {
27
+
28
+ $('.cmplz-dnsmpd.alert #message').html(response.message);
29
+ if (response.success) {
30
+ $('#cmplz-dnsmpd-form').hide();
31
+ $('.cmplz-dnsmpd.alert').removeClass('error').addClass('success').show();
32
+ } else {
33
+ $('.cmplz-dnsmpd.alert').removeClass('success').addClass('error').show();
34
+ }
35
+ }
36
+ });
37
+ });
38
+
39
+
40
+ });
DNSMPD/dnsmpd.min.js ADDED
@@ -0,0 +1 @@
 
1
+ jQuery(document).ready(function($){"use strict";$(document).on("click",".cmplz-dnsmpd .close",function(){$(this).parent().hide()});$(document).on("click","#cmplz-dnsmpd-submit",function(){var email=$("#cmplz_dnsmpd_email").val();var name=$("#cmplz_dnsmpd_name").val();var firstname=$("#cmplz_dnsmpd_firstname").val();var event=new CustomEvent("cmplz_dnsmpi_submit",{detail:status});document.dispatchEvent(event);$.ajax({type:"POST",url:cmplz_dnsmpd.url,dataType:"json",data:{action:"cmplz_send_dnsmpd_request",email:email,name:name,firstname:firstname},success:function(response){$(".cmplz-dnsmpd.alert #message").html(response.message);if(response.success){$("#cmplz-dnsmpd-form").hide();$(".cmplz-dnsmpd.alert").removeClass("error").addClass("success").show()}else{$(".cmplz-dnsmpd.alert").removeClass("success").addClass("error").show()}}})})});
DNSMPD/index.php ADDED
@@ -0,0 +1,2 @@
 
 
1
+ <?php
2
+ // Silence is golden.
DNSMPD/script.js ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Close Form
3
+ */
4
+ var cmplz_close_button = document.querySelector(".cmplz-datarequest.cmplz-alert .cmplz-close");
5
+ if ( cmplz_close_button != undefined ) {
6
+ cmplz_close_button.addEventListener("click", function() {
7
+ this.parentNode.style.display = 'none';
8
+ });
9
+ }
10
+
11
+ /**
12
+ * Submit Form
13
+ */
14
+ let cmplz_submit_button = document.querySelector("#cmplz-datarequest-submit");
15
+ if ( cmplz_submit_button ) {
16
+ cmplz_submit_button.addEventListener("click", function(e) {
17
+ e.preventDefault();
18
+ var cmplz_datarequests_request = new XMLHttpRequest();
19
+ cmplz_datarequests_request.open('POST', cmplz_datarequests.url, true);
20
+ let cmplz_datarequests_data = {};
21
+ let cmplz_elements = document.querySelector('#cmplz-datarequest-form').elements;
22
+ for (var i = 0, element; element = cmplz_elements[i++];) {
23
+ cmplz_datarequests_data[element.name] = element.type==='checkbox' ? element.checked : element.value;
24
+ }
25
+
26
+ cmplz_datarequests_request.setRequestHeader('Content-type', 'application/json');
27
+ cmplz_datarequests_request.send( JSON.stringify(cmplz_datarequests_data) );
28
+ cmplz_datarequests_request.onreadystatechange = function() {
29
+ if (cmplz_datarequests_request.readyState === XMLHttpRequest.DONE) {
30
+ var response = JSON.parse(cmplz_datarequests_request.responseText);
31
+ var cmplz_alert = document.querySelector(".cmplz-datarequest.cmplz-alert");
32
+ if ( cmplz_alert !== undefined ) {
33
+ cmplz_alert.querySelector("#cmplz-message").innerHTML = response.message;
34
+ if ( response.success ) {
35
+ document.querySelector("#cmplz-datarequest-form").style.display = 'none';
36
+ cmplz_alert.classList.remove("cmplz-error");
37
+ cmplz_alert.classList.add("cmplz-success");
38
+ cmplz_alert.style.display = 'block';
39
+ window.cmplz_deny_all();
40
+ } else {
41
+ cmplz_alert.classList.remove("cmplz-success");
42
+ cmplz_alert.classList.add("cmplz-error");
43
+ cmplz_alert.style.display = 'block';
44
+ }
45
+ }
46
+ }
47
+ };
48
+ });
49
+ }
DNSMPD/script.min.js ADDED
@@ -0,0 +1 @@
 
1
+ var cmplz_close_button=document.querySelector(".cmplz-datarequest.cmplz-alert .cmplz-close");if(cmplz_close_button!=undefined){cmplz_close_button.addEventListener("click",function(){this.parentNode.style.display="none"})}let cmplz_submit_button=document.querySelector("#cmplz-datarequest-submit");if(cmplz_submit_button){cmplz_submit_button.addEventListener("click",function(e){e.preventDefault();var cmplz_datarequests_request=new XMLHttpRequest;cmplz_datarequests_request.open("POST",cmplz_datarequests.url,true);let cmplz_datarequests_data={};let cmplz_elements=document.querySelector("#cmplz-datarequest-form").elements;for(var i=0,element;element=cmplz_elements[i++];){cmplz_datarequests_data[element.name]=element.type==="checkbox"?element.checked:element.value}cmplz_datarequests_request.setRequestHeader("Content-type","application/json");cmplz_datarequests_request.send(JSON.stringify(cmplz_datarequests_data));cmplz_datarequests_request.onreadystatechange=function(){if(cmplz_datarequests_request.readyState===XMLHttpRequest.DONE){var response=JSON.parse(cmplz_datarequests_request.responseText);var cmplz_alert=document.querySelector(".cmplz-datarequest.cmplz-alert");if(cmplz_alert!==undefined){cmplz_alert.querySelector("#cmplz-message").innerHTML=response.message;if(response.success){document.querySelector("#cmplz-datarequest-form").style.display="none";cmplz_alert.classList.remove("cmplz-error");cmplz_alert.classList.add("cmplz-success");cmplz_alert.style.display="block";window.cmplz_deny_all()}else{cmplz_alert.classList.remove("cmplz-success");cmplz_alert.classList.add("cmplz-error");cmplz_alert.style.display="block"}}}}})}
LICENSE.txt ADDED
@@ -0,0 +1,357 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ This program is free software; you can redistribute it and/or modify
2
+ it under the terms of the GNU General Public License as published by
3
+ the Free Software Foundation; either version 2 of the License, or
4
+ (at your option) any later version.
5
+
6
+ This program is distributed in the hope that it will be useful,
7
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
8
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9
+ GNU General Public License for more details.
10
+
11
+ You should have received a copy of the GNU General Public License
12
+ along with this program; if not, write to the Free Software
13
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
14
+
15
+
16
+ ===================================
17
+
18
+
19
+ GNU GENERAL PUBLIC LICENSE
20
+ Version 2, June 1991
21
+
22
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
23
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
24
+ Everyone is permitted to copy and distribute verbatim copies
25
+ of this license document, but changing it is not allowed.
26
+
27
+ Preamble
28
+
29
+ The licenses for most software are designed to take away your
30
+ freedom to share and change it. By contrast, the GNU General Public
31
+ License is intended to guarantee your freedom to share and change free
32
+ software--to make sure the software is free for all its users. This
33
+ General Public License applies to most of the Free Software
34
+ Foundation's software and to any other program whose authors commit to
35
+ using it. (Some other Free Software Foundation software is covered by
36
+ the GNU Lesser General Public License instead.) You can apply it to
37
+ your programs, too.
38
+
39
+ When we speak of free software, we are referring to freedom, not
40
+ price. Our General Public Licenses are designed to make sure that you
41
+ have the freedom to distribute copies of free software (and charge for
42
+ this service if you wish), that you receive source code or can get it
43
+ if you want it, that you can change the software or use pieces of it
44
+ in new free programs; and that you know you can do these things.
45
+
46
+ To protect your rights, we need to make restrictions that forbid
47
+ anyone to deny you these rights or to ask you to surrender the rights.
48
+ These restrictions translate to certain responsibilities for you if you
49
+ distribute copies of the software, or if you modify it.
50
+
51
+ For example, if you distribute copies of such a program, whether
52
+ gratis or for a fee, you must give the recipients all the rights that
53
+ you have. You must make sure that they, too, receive or can get the
54
+ source code. And you must show them these terms so they know their
55
+ rights.
56
+
57
+ We protect your rights with two steps: (1) copyright the software, and
58
+ (2) offer you this license which gives you legal permission to copy,
59
+ distribute and/or modify the software.
60
+
61
+ Also, for each author's protection and ours, we want to make certain
62
+ that everyone understands that there is no warranty for this free
63
+ software. If the software is modified by someone else and passed on, we
64
+ want its recipients to know that what they have is not the original, so
65
+ that any problems introduced by others will not reflect on the original
66
+ authors' reputations.
67
+
68
+ Finally, any free program is threatened constantly by software
69
+ patents. We wish to avoid the danger that redistributors of a free
70
+ program will individually obtain patent licenses, in effect making the
71
+ program proprietary. To prevent this, we have made it clear that any
72
+ patent must be licensed for everyone's free use or not licensed at all.
73
+
74
+ The precise terms and conditions for copying, distribution and
75
+ modification follow.
76
+
77
+ GNU GENERAL PUBLIC LICENSE
78
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
79
+
80
+ 0. This License applies to any program or other work which contains
81
+ a notice placed by the copyright holder saying it may be distributed
82
+ under the terms of this General Public License. The "Program", below,
83
+ refers to any such program or work, and a "work based on the Program"
84
+ means either the Program or any derivative work under copyright law:
85
+ that is to say, a work containing the Program or a portion of it,
86
+ either verbatim or with modifications and/or translated into another
87
+ language. (Hereinafter, translation is included without limitation in
88
+ the term "modification".) Each licensee is addressed as "you".
89
+
90
+ Activities other than copying, distribution and modification are not
91
+ covered by this License; they are outside its scope. The act of
92
+ running the Program is not restricted, and the output from the Program
93
+ is covered only if its contents constitute a work based on the
94
+ Program (independent of having been made by running the Program).
95
+ Whether that is true depends on what the Program does.
96
+
97
+ 1. You may copy and distribute verbatim copies of the Program's
98
+ source code as you receive it, in any medium, provided that you
99
+ conspicuously and appropriately publish on each copy an appropriate
100
+ copyright notice and disclaimer of warranty; keep intact all the
101
+ notices that refer to this License and to the absence of any warranty;
102
+ and give any other recipients of the Program a copy of this License
103
+ along with the Program.
104
+
105
+ You may charge a fee for the physical act of transferring a copy, and
106
+ you may at your option offer warranty protection in exchange for a fee.
107
+
108
+ 2. You may modify your copy or copies of the Program or any portion
109
+ of it, thus forming a work based on the Program, and copy and
110
+ distribute such modifications or work under the terms of Section 1
111
+ above, provided that you also meet all of these conditions:
112
+
113
+ a) You must cause the modified files to carry prominent notices
114
+ stating that you changed the files and the date of any change.
115
+
116
+ b) You must cause any work that you distribute or publish, that in
117
+ whole or in part contains or is derived from the Program or any
118
+ part thereof, to be licensed as a whole at no charge to all third
119
+ parties under the terms of this License.
120
+
121
+ c) If the modified program normally reads commands interactively
122
+ when run, you must cause it, when started running for such
123
+ interactive use in the most ordinary way, to print or display an
124
+ announcement including an appropriate copyright notice and a
125
+ notice that there is no warranty (or else, saying that you provide
126
+ a warranty) and that users may redistribute the program under
127
+ these conditions, and telling the user how to view a copy of this
128
+ License. (Exception: if the Program itself is interactive but
129
+ does not normally print such an announcement, your work based on
130
+ the Program is not required to print an announcement.)
131
+
132
+ These requirements apply to the modified work as a whole. If
133
+ identifiable sections of that work are not derived from the Program,
134
+ and can be reasonably considered independent and separate works in
135
+ themselves, then this License, and its terms, do not apply to those
136
+ sections when you distribute them as separate works. But when you
137
+ distribute the same sections as part of a whole which is a work based
138
+ on the Program, the distribution of the whole must be on the terms of
139
+ this License, whose permissions for other licensees extend to the
140
+ entire whole, and thus to each and every part regardless of who wrote it.
141
+
142
+ Thus, it is not the intent of this section to claim rights or contest
143
+ your rights to work written entirely by you; rather, the intent is to
144
+ exercise the right to control the distribution of derivative or
145
+ collective works based on the Program.
146
+
147
+ In addition, mere aggregation of another work not based on the Program
148
+ with the Program (or with a work based on the Program) on a volume of
149
+ a storage or distribution medium does not bring the other work under
150
+ the scope of this License.
151
+
152
+ 3. You may copy and distribute the Program (or a work based on it,
153
+ under Section 2) in object code or executable form under the terms of
154
+ Sections 1 and 2 above provided that you also do one of the following:
155
+
156
+ a) Accompany it with the complete corresponding machine-readable
157
+ source code, which must be distributed under the terms of Sections
158
+ 1 and 2 above on a medium customarily used for software interchange; or,
159
+
160
+ b) Accompany it with a written offer, valid for at least three
161
+ years, to give any third party, for a charge no more than your
162
+ cost of physically performing source distribution, a complete
163
+ machine-readable copy of the corresponding source code, to be
164
+ distributed under the terms of Sections 1 and 2 above on a medium
165
+ customarily used for software interchange; or,
166
+
167
+ c) Accompany it with the information you received as to the offer
168
+ to distribute corresponding source code. (This alternative is
169
+ allowed only for noncommercial distribution and only if you
170
+ received the program in object code or executable form with such
171
+ an offer, in accord with Subsection b above.)
172
+
173
+ The source code for a work means the preferred form of the work for
174
+ making modifications to it. For an executable work, complete source
175
+ code means all the source code for all modules it contains, plus any
176
+ associated interface definition files, plus the scripts used to
177
+ control compilation and installation of the executable. However, as a
178
+ special exception, the source code distributed need not include
179
+ anything that is normally distributed (in either source or binary
180
+ form) with the major components (compiler, kernel, and so on) of the
181
+ operating system on which the executable runs, unless that component
182
+ itself accompanies the executable.
183
+
184
+ If distribution of executable or object code is made by offering
185
+ access to copy from a designated place, then offering equivalent
186
+ access to copy the source code from the same place counts as
187
+ distribution of the source code, even though third parties are not
188
+ compelled to copy the source along with the object code.
189
+
190
+ 4. You may not copy, modify, sublicense, or distribute the Program
191
+ except as expressly provided under this License. Any attempt
192
+ otherwise to copy, modify, sublicense or distribute the Program is
193
+ void, and will automatically terminate your rights under this License.
194
+ However, parties who have received copies, or rights, from you under
195
+ this License will not have their licenses terminated so long as such
196
+ parties remain in full compliance.
197
+
198
+ 5. You are not required to accept this License, since you have not
199
+ signed it. However, nothing else grants you permission to modify or
200
+ distribute the Program or its derivative works. These actions are
201
+ prohibited by law if you do not accept this License. Therefore, by
202
+ modifying or distributing the Program (or any work based on the
203
+ Program), you indicate your acceptance of this License to do so, and
204
+ all its terms and conditions for copying, distributing or modifying
205
+ the Program or works based on it.
206
+
207
+ 6. Each time you redistribute the Program (or any work based on the
208
+ Program), the recipient automatically receives a license from the
209
+ original licensor to copy, distribute or modify the Program subject to
210
+ these terms and conditions. You may not impose any further
211
+ restrictions on the recipients' exercise of the rights granted herein.
212
+ You are not responsible for enforcing compliance by third parties to
213
+ this License.
214
+
215
+ 7. If, as a consequence of a court judgment or allegation of patent
216
+ infringement or for any other reason (not limited to patent issues),
217
+ conditions are imposed on you (whether by court order, agreement or
218
+ otherwise) that contradict the conditions of this License, they do not
219
+ excuse you from the conditions of this License. If you cannot
220
+ distribute so as to satisfy simultaneously your obligations under this
221
+ License and any other pertinent obligations, then as a consequence you
222
+ may not distribute the Program at all. For example, if a patent
223
+ license would not permit royalty-free redistribution of the Program by
224
+ all those who receive copies directly or indirectly through you, then
225
+ the only way you could satisfy both it and this License would be to
226
+ refrain entirely from distribution of the Program.
227
+
228
+ If any portion of this section is held invalid or unenforceable under
229
+ any particular circumstance, the balance of the section is intended to
230
+ apply and the section as a whole is intended to apply in other
231
+ circumstances.
232
+
233
+ It is not the purpose of this section to induce you to infringe any
234
+ patents or other property right claims or to contest validity of any
235
+ such claims; this section has the sole purpose of protecting the
236
+ integrity of the free software distribution system, which is
237
+ implemented by public license practices. Many people have made
238
+ generous contributions to the wide range of software distributed
239
+ through that system in reliance on consistent application of that
240
+ system; it is up to the author/donor to decide if he or she is willing
241
+ to distribute software through any other system and a licensee cannot
242
+ impose that choice.
243
+
244
+ This section is intended to make thoroughly clear what is believed to
245
+ be a consequence of the rest of this License.
246
+
247
+ 8. If the distribution and/or use of the Program is restricted in
248
+ certain countries either by patents or by copyrighted interfaces, the
249
+ original copyright holder who places the Program under this License
250
+ may add an explicit geographical distribution limitation excluding
251
+ those countries, so that distribution is permitted only in or among
252
+ countries not thus excluded. In such case, this License incorporates
253
+ the limitation as if written in the body of this License.
254
+
255
+ 9. The Free Software Foundation may publish revised and/or new versions
256
+ of the General Public License from time to time. Such new versions will
257
+ be similar in spirit to the present version, but may differ in detail to
258
+ address new problems or concerns.
259
+
260
+ Each version is given a distinguishing version number. If the Program
261
+ specifies a version number of this License which applies to it and "any
262
+ later version", you have the option of following the terms and conditions
263
+ either of that version or of any later version published by the Free
264
+ Software Foundation. If the Program does not specify a version number of
265
+ this License, you may choose any version ever published by the Free Software
266
+ Foundation.
267
+
268
+ 10. If you wish to incorporate parts of the Program into other free
269
+ programs whose distribution conditions are different, write to the author
270
+ to ask for permission. For software which is copyrighted by the Free
271
+ Software Foundation, write to the Free Software Foundation; we sometimes
272
+ make exceptions for this. Our decision will be guided by the two goals
273
+ of preserving the free status of all derivatives of our free software and
274
+ of promoting the sharing and reuse of software generally.
275
+
276
+ NO WARRANTY
277
+
278
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
279
+ FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
280
+ OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
281
+ PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
282
+ OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
283
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
284
+ TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
285
+ PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
286
+ REPAIR OR CORRECTION.
287
+
288
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
289
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
290
+ REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
291
+ INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
292
+ OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
293
+ TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
294
+ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
295
+ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
296
+ POSSIBILITY OF SUCH DAMAGES.
297
+
298
+ END OF TERMS AND CONDITIONS
299
+
300
+ How to Apply These Terms to Your New Programs
301
+
302
+ If you develop a new program, and you want it to be of the greatest
303
+ possible use to the public, the best way to achieve this is to make it
304
+ free software which everyone can redistribute and change under these terms.
305
+
306
+ To do so, attach the following notices to the program. It is safest
307
+ to attach them to the start of each source file to most effectively
308
+ convey the exclusion of warranty; and each file should have at least
309
+ the "copyright" line and a pointer to where the full notice is found.
310
+
311
+ <one line to give the program's name and a brief idea of what it does.>
312
+ Copyright (C) <year> <name of author>
313
+
314
+ This program is free software; you can redistribute it and/or modify
315
+ it under the terms of the GNU General Public License as published by
316
+ the Free Software Foundation; either version 2 of the License, or
317
+ (at your option) any later version.
318
+
319
+ This program is distributed in the hope that it will be useful,
320
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
321
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
322
+ GNU General Public License for more details.
323
+
324
+ You should have received a copy of the GNU General Public License along
325
+ with this program; if not, write to the Free Software Foundation, Inc.,
326
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
327
+
328
+ Also add information on how to contact you by electronic and paper mail.
329
+
330
+ If the program is interactive, make it output a short notice like this
331
+ when it starts in an interactive mode:
332
+
333
+ Gnomovision version 69, Copyright (C) year name of author
334
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
335
+ This is free software, and you are welcome to redistribute it
336
+ under certain conditions; type `show c' for details.
337
+
338
+ The hypothetical commands `show w' and `show c' should show the appropriate
339
+ parts of the General Public License. Of course, the commands you use may
340
+ be called something other than `show w' and `show c'; they could even be
341
+ mouse-clicks or menu items--whatever suits your program.
342
+
343
+ You should also get your employer (if you work as a programmer) or your
344
+ school, if any, to sign a "copyright disclaimer" for the program, if
345
+ necessary. Here is a sample; alter the names:
346
+
347
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
348
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
349
+
350
+ <signature of Ty Coon>, 1 April 1989
351
+ Ty Coon, President of Vice
352
+
353
+ This General Public License does not permit incorporating your program into
354
+ proprietary programs. If your program is a subroutine library, you may
355
+ consider it more useful to permit linking proprietary applications with the
356
+ library. If this is what you want to do, use the GNU Lesser General
357
+ Public License instead of this License.
README.md ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ![Complianz](https://ps.w.org/complianz-gdpr/assets/banner-1544x500.png)
2
+
3
+ **This is the Complianz GitHub repository. The Only Privacy Suite for WordPress. We welcome everyone to work together creating a privacy-friendly website experience.**
4
+
5
+ ## The Privacy Suite for WordPress
6
+
7
+ At Complianz we are working towards a full-featured privacy suite for all WordPress users to comply with the privacy guideliness for their targeted regions. And we try to make it as easy as possible, while respecting the different guidelines and variability. As privacy is not an easy subject we highly appreciate any feedback, pull requests and issues to further simplify this subject and improve our product, and therefore privacy-friendly websites world-wide and happy users.
8
+
9
+ ### Developers Guide and Contributions
10
+
11
+ If you're a developer and want to help out, please feel free to contribute anyway you can. We respond to any pull request or issue on Github. Start with reading the [developers guide](https://complianz.io/developers-guide-for-third-party-integrations/) to get a head start.
12
+
13
+ **Bug report:** Please start an issue, and if you have a fix a pull request. Please explain your issue clearly, and use comments when adding a pull request. Your contribution will be acknowledges on WordPress.org.
14
+
15
+ **New Features:** New features can also be assigned to issues. If you want to add a new feature, please see if you can add it to our [integrations hub](https://github.com/Really-Simple-Plugins/complianz-integrations).
16
+
17
+ **Translations:** Looking for your own language to be improved or added? Contact [support](https://complianz.io/support/) if you want to be a premium contributor, or make your first changes on [translate.wordpress.org](https://translate.wordpress.org/projects/wp-plugins/complianz-gdpr/).
18
+
19
+ ### Support
20
+
21
+ For support we kindly ask you to start at our [support forum](https://wordpress.org/support/plugin/complianz-gdpr/) and our documentation at [complianz.io/docs/](https://complianz.io/docs). If you can't find a solution, do not hesitate to ask either on the forum or log a suppor ticket.
22
+
23
+ If you like Complianz - Please [rate us](https://wordpress.org/support/plugin/complianz-gdpr/reviews/) on WordPress.org
24
+
assets/chartjs/chart.min.css ADDED
@@ -0,0 +1 @@
 
1
+ @keyframes chartjs-render-animation{from{opacity:.99}to{opacity:1}}.chartjs-render-monitor{animation:chartjs-render-animation 1ms}.chartjs-size-monitor,.chartjs-size-monitor-expand,.chartjs-size-monitor-shrink{position:absolute;direction:ltr;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1}.chartjs-size-monitor-expand>div{position:absolute;width:1000000px;height:1000000px;left:0;top:0}.chartjs-size-monitor-shrink>div{position:absolute;width:200%;height:200%;left:0;top:0}
assets/chartjs/chart.min.js ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ /*!
2
+ * Chart.js v2.9.4
3
+ * https://www.chartjs.org
4
+ * (c) 2020 Chart.js Contributors
5
+ * Released under the MIT License
6
+ */
7
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(function(){try{return require("moment")}catch(t){}}()):"function"==typeof define&&define.amd?define(["require"],(function(t){return e(function(){try{return t("moment")}catch(t){}}())})):(t=t||self).Chart=e(t.moment)}(this,(function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var e={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},n=function(t,e){return t(e={exports:{}},e.exports),e.exports}((function(t){var n={};for(var i in e)e.hasOwnProperty(i)&&(n[e[i]]=i);var a=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var r in a)if(a.hasOwnProperty(r)){if(!("channels"in a[r]))throw new Error("missing channels property: "+r);if(!("labels"in a[r]))throw new Error("missing channel labels property: "+r);if(a[r].labels.length!==a[r].channels)throw new Error("channel and label counts mismatch: "+r);var o=a[r].channels,s=a[r].labels;delete a[r].channels,delete a[r].labels,Object.defineProperty(a[r],"channels",{value:o}),Object.defineProperty(a[r],"labels",{value:s})}a.rgb.hsl=function(t){var e,n,i=t[0]/255,a=t[1]/255,r=t[2]/255,o=Math.min(i,a,r),s=Math.max(i,a,r),l=s-o;return s===o?e=0:i===s?e=(a-r)/l:a===s?e=2+(r-i)/l:r===s&&(e=4+(i-a)/l),(e=Math.min(60*e,360))<0&&(e+=360),n=(o+s)/2,[e,100*(s===o?0:n<=.5?l/(s+o):l/(2-s-o)),100*n]},a.rgb.hsv=function(t){var e,n,i,a,r,o=t[0]/255,s=t[1]/255,l=t[2]/255,u=Math.max(o,s,l),d=u-Math.min(o,s,l),h=function(t){return(u-t)/6/d+.5};return 0===d?a=r=0:(r=d/u,e=h(o),n=h(s),i=h(l),o===u?a=i-n:s===u?a=1/3+e-i:l===u&&(a=2/3+n-e),a<0?a+=1:a>1&&(a-=1)),[360*a,100*r,100*u]},a.rgb.hwb=function(t){var e=t[0],n=t[1],i=t[2];return[a.rgb.hsl(t)[0],100*(1/255*Math.min(e,Math.min(n,i))),100*(i=1-1/255*Math.max(e,Math.max(n,i)))]},a.rgb.cmyk=function(t){var e,n=t[0]/255,i=t[1]/255,a=t[2]/255;return[100*((1-n-(e=Math.min(1-n,1-i,1-a)))/(1-e)||0),100*((1-i-e)/(1-e)||0),100*((1-a-e)/(1-e)||0),100*e]},a.rgb.keyword=function(t){var i=n[t];if(i)return i;var a,r,o,s=1/0;for(var l in e)if(e.hasOwnProperty(l)){var u=e[l],d=(r=t,o=u,Math.pow(r[0]-o[0],2)+Math.pow(r[1]-o[1],2)+Math.pow(r[2]-o[2],2));d<s&&(s=d,a=l)}return a},a.keyword.rgb=function(t){return e[t]},a.rgb.xyz=function(t){var e=t[0]/255,n=t[1]/255,i=t[2]/255;return[100*(.4124*(e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*e+.7152*n+.0722*i),100*(.0193*e+.1192*n+.9505*i)]},a.rgb.lab=function(t){var e=a.rgb.xyz(t),n=e[0],i=e[1],r=e[2];return i/=100,r/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},a.hsl.rgb=function(t){var e,n,i,a,r,o=t[0]/360,s=t[1]/100,l=t[2]/100;if(0===s)return[r=255*l,r,r];e=2*l-(n=l<.5?l*(1+s):l+s-l*s),a=[0,0,0];for(var u=0;u<3;u++)(i=o+1/3*-(u-1))<0&&i++,i>1&&i--,r=6*i<1?e+6*(n-e)*i:2*i<1?n:3*i<2?e+(n-e)*(2/3-i)*6:e,a[u]=255*r;return a},a.hsl.hsv=function(t){var e=t[0],n=t[1]/100,i=t[2]/100,a=n,r=Math.max(i,.01);return n*=(i*=2)<=1?i:2-i,a*=r<=1?r:2-r,[e,100*(0===i?2*a/(r+a):2*n/(i+n)),100*((i+n)/2)]},a.hsv.rgb=function(t){var e=t[0]/60,n=t[1]/100,i=t[2]/100,a=Math.floor(e)%6,r=e-Math.floor(e),o=255*i*(1-n),s=255*i*(1-n*r),l=255*i*(1-n*(1-r));switch(i*=255,a){case 0:return[i,l,o];case 1:return[s,i,o];case 2:return[o,i,l];case 3:return[o,s,i];case 4:return[l,o,i];case 5:return[i,o,s]}},a.hsv.hsl=function(t){var e,n,i,a=t[0],r=t[1]/100,o=t[2]/100,s=Math.max(o,.01);return i=(2-r)*o,n=r*s,[a,100*(n=(n/=(e=(2-r)*s)<=1?e:2-e)||0),100*(i/=2)]},a.hwb.rgb=function(t){var e,n,i,a,r,o,s,l=t[0]/360,u=t[1]/100,d=t[2]/100,h=u+d;switch(h>1&&(u/=h,d/=h),i=6*l-(e=Math.floor(6*l)),0!=(1&e)&&(i=1-i),a=u+i*((n=1-d)-u),e){default:case 6:case 0:r=n,o=a,s=u;break;case 1:r=a,o=n,s=u;break;case 2:r=u,o=n,s=a;break;case 3:r=u,o=a,s=n;break;case 4:r=a,o=u,s=n;break;case 5:r=n,o=u,s=a}return[255*r,255*o,255*s]},a.cmyk.rgb=function(t){var e=t[0]/100,n=t[1]/100,i=t[2]/100,a=t[3]/100;return[255*(1-Math.min(1,e*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a)),255*(1-Math.min(1,i*(1-a)+a))]},a.xyz.rgb=function(t){var e,n,i,a=t[0]/100,r=t[1]/100,o=t[2]/100;return n=-.9689*a+1.8758*r+.0415*o,i=.0557*a+-.204*r+1.057*o,e=(e=3.2406*a+-1.5372*r+-.4986*o)>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,[255*(e=Math.min(Math.max(0,e),1)),255*(n=Math.min(Math.max(0,n),1)),255*(i=Math.min(Math.max(0,i),1))]},a.xyz.lab=function(t){var e=t[0],n=t[1],i=t[2];return n/=100,i/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},a.lab.xyz=function(t){var e,n,i,a=t[0];e=t[1]/500+(n=(a+16)/116),i=n-t[2]/200;var r=Math.pow(n,3),o=Math.pow(e,3),s=Math.pow(i,3);return n=r>.008856?r:(n-16/116)/7.787,e=o>.008856?o:(e-16/116)/7.787,i=s>.008856?s:(i-16/116)/7.787,[e*=95.047,n*=100,i*=108.883]},a.lab.lch=function(t){var e,n=t[0],i=t[1],a=t[2];return(e=360*Math.atan2(a,i)/2/Math.PI)<0&&(e+=360),[n,Math.sqrt(i*i+a*a),e]},a.lch.lab=function(t){var e,n=t[0],i=t[1];return e=t[2]/360*2*Math.PI,[n,i*Math.cos(e),i*Math.sin(e)]},a.rgb.ansi16=function(t){var e=t[0],n=t[1],i=t[2],r=1 in arguments?arguments[1]:a.rgb.hsv(t)[2];if(0===(r=Math.round(r/50)))return 30;var o=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(e/255));return 2===r&&(o+=60),o},a.hsv.ansi16=function(t){return a.rgb.ansi16(a.hsv.rgb(t),t[2])},a.rgb.ansi256=function(t){var e=t[0],n=t[1],i=t[2];return e===n&&n===i?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)},a.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),[e=e/10.5*255,e,e];var n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},a.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}var n;return t-=16,[Math.floor(t/36)/5*255,Math.floor((n=t%36)/6)/5*255,n%6/5*255]},a.rgb.hex=function(t){var e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},a.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var n=e[0];3===e[0].length&&(n=n.split("").map((function(t){return t+t})).join(""));var i=parseInt(n,16);return[i>>16&255,i>>8&255,255&i]},a.rgb.hcg=function(t){var e,n=t[0]/255,i=t[1]/255,a=t[2]/255,r=Math.max(Math.max(n,i),a),o=Math.min(Math.min(n,i),a),s=r-o;return e=s<=0?0:r===n?(i-a)/s%6:r===i?2+(a-n)/s:4+(n-i)/s+4,e/=6,[360*(e%=1),100*s,100*(s<1?o/(1-s):0)]},a.hsl.hcg=function(t){var e=t[1]/100,n=t[2]/100,i=1,a=0;return(i=n<.5?2*e*n:2*e*(1-n))<1&&(a=(n-.5*i)/(1-i)),[t[0],100*i,100*a]},a.hsv.hcg=function(t){var e=t[1]/100,n=t[2]/100,i=e*n,a=0;return i<1&&(a=(n-i)/(1-i)),[t[0],100*i,100*a]},a.hcg.rgb=function(t){var e=t[0]/360,n=t[1]/100,i=t[2]/100;if(0===n)return[255*i,255*i,255*i];var a,r=[0,0,0],o=e%1*6,s=o%1,l=1-s;switch(Math.floor(o)){case 0:r[0]=1,r[1]=s,r[2]=0;break;case 1:r[0]=l,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=s;break;case 3:r[0]=0,r[1]=l,r[2]=1;break;case 4:r[0]=s,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=l}return a=(1-n)*i,[255*(n*r[0]+a),255*(n*r[1]+a),255*(n*r[2]+a)]},a.hcg.hsv=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e),i=0;return n>0&&(i=e/n),[t[0],100*i,100*n]},a.hcg.hsl=function(t){var e=t[1]/100,n=t[2]/100*(1-e)+.5*e,i=0;return n>0&&n<.5?i=e/(2*n):n>=.5&&n<1&&(i=e/(2*(1-n))),[t[0],100*i,100*n]},a.hcg.hwb=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e);return[t[0],100*(n-e),100*(1-n)]},a.hwb.hcg=function(t){var e=t[1]/100,n=1-t[2]/100,i=n-e,a=0;return i<1&&(a=(n-i)/(1-i)),[t[0],100*i,100*a]},a.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},a.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},a.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},a.gray.hsl=a.gray.hsv=function(t){return[0,0,t[0]]},a.gray.hwb=function(t){return[0,100,t[0]]},a.gray.cmyk=function(t){return[0,0,0,t[0]]},a.gray.lab=function(t){return[t[0],0,0]},a.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n},a.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}}));n.rgb,n.hsl,n.hsv,n.hwb,n.cmyk,n.xyz,n.lab,n.lch,n.hex,n.keyword,n.ansi16,n.ansi256,n.hcg,n.apple,n.gray;function i(t){var e=function(){for(var t={},e=Object.keys(n),i=e.length,a=0;a<i;a++)t[e[a]]={distance:-1,parent:null};return t}(),i=[t];for(e[t].distance=0;i.length;)for(var a=i.pop(),r=Object.keys(n[a]),o=r.length,s=0;s<o;s++){var l=r[s],u=e[l];-1===u.distance&&(u.distance=e[a].distance+1,u.parent=a,i.unshift(l))}return e}function a(t,e){return function(n){return e(t(n))}}function r(t,e){for(var i=[e[t].parent,t],r=n[e[t].parent][t],o=e[t].parent;e[o].parent;)i.unshift(e[o].parent),r=a(n[e[o].parent][o],r),o=e[o].parent;return r.conversion=i,r}var o={};Object.keys(n).forEach((function(t){o[t]={},Object.defineProperty(o[t],"channels",{value:n[t].channels}),Object.defineProperty(o[t],"labels",{value:n[t].labels});var e=function(t){for(var e=i(t),n={},a=Object.keys(e),o=a.length,s=0;s<o;s++){var l=a[s];null!==e[l].parent&&(n[l]=r(l,e))}return n}(t);Object.keys(e).forEach((function(n){var i=e[n];o[t][n]=function(t){var e=function(e){if(null==e)return e;arguments.length>1&&(e=Array.prototype.slice.call(arguments));var n=t(e);if("object"==typeof n)for(var i=n.length,a=0;a<i;a++)n[a]=Math.round(n[a]);return n};return"conversion"in t&&(e.conversion=t.conversion),e}(i),o[t][n].raw=function(t){var e=function(e){return null==e?e:(arguments.length>1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(i)}))}));var s=o,l={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},u={getRgba:d,getHsla:h,getRgb:function(t){var e=d(t);return e&&e.slice(0,3)},getHsl:function(t){var e=h(t);return e&&e.slice(0,3)},getHwb:c,getAlpha:function(t){var e=d(t);if(e)return e[3];if(e=h(t))return e[3];if(e=c(t))return e[3]},hexString:function(t,e){e=void 0!==e&&3===t.length?e:t[3];return"#"+v(t[0])+v(t[1])+v(t[2])+(e>=0&&e<1?v(Math.round(255*e)):"")},rgbString:function(t,e){if(e<1||t[3]&&t[3]<1)return f(t,e);return"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:f,percentString:function(t,e){if(e<1||t[3]&&t[3]<1)return g(t,e);var n=Math.round(t[0]/255*100),i=Math.round(t[1]/255*100),a=Math.round(t[2]/255*100);return"rgb("+n+"%, "+i+"%, "+a+"%)"},percentaString:g,hslString:function(t,e){if(e<1||t[3]&&t[3]<1)return p(t,e);return"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:p,hwbString:function(t,e){void 0===e&&(e=void 0!==t[3]?t[3]:1);return"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"},keyword:function(t){return b[t.slice(0,3)]}};function d(t){if(t){var e=[0,0,0],n=1,i=t.match(/^#([a-fA-F0-9]{3,4})$/i),a="";if(i){a=(i=i[1])[3];for(var r=0;r<e.length;r++)e[r]=parseInt(i[r]+i[r],16);a&&(n=Math.round(parseInt(a+a,16)/255*100)/100)}else if(i=t.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){a=i[2],i=i[1];for(r=0;r<e.length;r++)e[r]=parseInt(i.slice(2*r,2*r+2),16);a&&(n=Math.round(parseInt(a,16)/255*100)/100)}else if(i=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(r=0;r<e.length;r++)e[r]=parseInt(i[r+1]);n=parseFloat(i[4])}else if(i=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(r=0;r<e.length;r++)e[r]=Math.round(2.55*parseFloat(i[r+1]));n=parseFloat(i[4])}else if(i=t.match(/(\w+)/)){if("transparent"==i[1])return[0,0,0,0];if(!(e=l[i[1]]))return}for(r=0;r<e.length;r++)e[r]=m(e[r],0,255);return n=n||0==n?m(n,0,1):1,e[3]=n,e}}function h(t){if(t){var e=t.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var n=parseFloat(e[4]);return[m(parseInt(e[1]),0,360),m(parseFloat(e[2]),0,100),m(parseFloat(e[3]),0,100),m(isNaN(n)?1:n,0,1)]}}}function c(t){if(t){var e=t.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(e){var n=parseFloat(e[4]);return[m(parseInt(e[1]),0,360),m(parseFloat(e[2]),0,100),m(parseFloat(e[3]),0,100),m(isNaN(n)?1:n,0,1)]}}}function f(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function g(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function p(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function m(t,e,n){return Math.min(Math.max(e,t),n)}function v(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}var b={};for(var x in l)b[l[x]]=x;var y=function(t){return t instanceof y?t:this instanceof y?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof t?(e=u.getRgba(t))?this.setValues("rgb",e):(e=u.getHsla(t))?this.setValues("hsl",e):(e=u.getHwb(t))&&this.setValues("hwb",e):"object"==typeof t&&(void 0!==(e=t).r||void 0!==e.red?this.setValues("rgb",e):void 0!==e.l||void 0!==e.lightness?this.setValues("hsl",e):void 0!==e.v||void 0!==e.value?this.setValues("hsv",e):void 0!==e.w||void 0!==e.whiteness?this.setValues("hwb",e):void 0===e.c&&void 0===e.cyan||this.setValues("cmyk",e)))):new y(t);var e};y.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t&&(t=(t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return u.hexString(this.values.rgb)},rgbString:function(){return u.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return u.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return u.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return u.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return u.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return u.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return u.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],n=0;n<t.length;n++){var i=t[n]/255;e[n]=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),n=t.luminosity();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,n=(e[0]+t)%360;return e[0]=n<0?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=t,i=void 0===e?.5:e,a=2*i-1,r=this.alpha()-n.alpha(),o=((a*r==-1?a:(a+r)/(1+a*r))+1)/2,s=1-o;return this.rgb(o*this.red()+s*n.red(),o*this.green()+s*n.green(),o*this.blue()+s*n.blue()).alpha(this.alpha()*i+n.alpha()*(1-i))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new y,i=this.values,a=n.values;for(var r in i)i.hasOwnProperty(r)&&(t=i[r],"[object Array]"===(e={}.toString.call(t))?a[r]=t.slice(0):"[object Number]"===e?a[r]=t:console.error("unexpected color value:",t));return n}},y.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},y.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},y.prototype.getValues=function(t){for(var e=this.values,n={},i=0;i<t.length;i++)n[t.charAt(i)]=e[t][i];return 1!==e.alpha&&(n.a=e.alpha),n},y.prototype.setValues=function(t,e){var n,i,a=this.values,r=this.spaces,o=this.maxes,l=1;if(this.valid=!0,"alpha"===t)l=e;else if(e.length)a[t]=e.slice(0,t.length),l=e[t.length];else if(void 0!==e[t.charAt(0)]){for(n=0;n<t.length;n++)a[t][n]=e[t.charAt(n)];l=e.a}else if(void 0!==e[r[t][0]]){var u=r[t];for(n=0;n<t.length;n++)a[t][n]=e[u[n]];l=e.alpha}if(a.alpha=Math.max(0,Math.min(1,void 0===l?a.alpha:l)),"alpha"===t)return!1;for(n=0;n<t.length;n++)i=Math.max(0,Math.min(o[t][n],a[t][n])),a[t][n]=Math.round(i);for(var d in r)d!==t&&(a[d]=s[t][d](a[t]));return!0},y.prototype.setSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n),this)},y.prototype.setChannel=function(t,e,n){var i=this.values[t];return void 0===n?i[e]:n===i[e]?this:(i[e]=n,this.setValues(t,i),this)},"undefined"!=typeof window&&(window.Color=y);var _=y;function k(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}var w,M={noop:function(){},uid:(w=0,function(){return w++}),isNullOrUndef:function(t){return null==t},isArray:function(t){if(Array.isArray&&Array.isArray(t))return!0;var e=Object.prototype.toString.call(t);return"[object"===e.substr(0,7)&&"Array]"===e.substr(-6)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},isFinite:function(t){return("number"==typeof t||t instanceof Number)&&isFinite(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,n){return M.valueOrDefault(M.isArray(t)?t[e]:t,n)},callback:function(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)},each:function(t,e,n,i){var a,r,o;if(M.isArray(t))if(r=t.length,i)for(a=r-1;a>=0;a--)e.call(n,t[a],a);else for(a=0;a<r;a++)e.call(n,t[a],a);else if(M.isObject(t))for(r=(o=Object.keys(t)).length,a=0;a<r;a++)e.call(n,t[o[a]],o[a])},arrayEquals:function(t,e){var n,i,a,r;if(!t||!e||t.length!==e.length)return!1;for(n=0,i=t.length;n<i;++n)if(a=t[n],r=e[n],a instanceof Array&&r instanceof Array){if(!M.arrayEquals(a,r))return!1}else if(a!==r)return!1;return!0},clone:function(t){if(M.isArray(t))return t.map(M.clone);if(M.isObject(t)){for(var e=Object.create(t),n=Object.keys(t),i=n.length,a=0;a<i;++a)e[n[a]]=M.clone(t[n[a]]);return e}return t},_merger:function(t,e,n,i){if(k(t)){var a=e[t],r=n[t];M.isObject(a)&&M.isObject(r)?M.merge(a,r,i):e[t]=M.clone(r)}},_mergerIf:function(t,e,n){if(k(t)){var i=e[t],a=n[t];M.isObject(i)&&M.isObject(a)?M.mergeIf(i,a):e.hasOwnProperty(t)||(e[t]=M.clone(a))}},merge:function(t,e,n){var i,a,r,o,s,l=M.isArray(e)?e:[e],u=l.length;if(!M.isObject(t))return t;for(i=(n=n||{}).merger||M._merger,a=0;a<u;++a)if(e=l[a],M.isObject(e))for(s=0,o=(r=Object.keys(e)).length;s<o;++s)i(r[s],t,e,n);return t},mergeIf:function(t,e){return M.merge(t,e,{merger:M._mergerIf})},extend:Object.assign||function(t){return M.merge(t,[].slice.call(arguments,1),{merger:function(t,e,n){e[t]=n[t]}})},inherits:function(t){var e=this,n=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},i=function(){this.constructor=n};return i.prototype=e.prototype,n.prototype=new i,n.extend=M.inherits,t&&M.extend(n.prototype,t),n.__super__=e.prototype,n},_deprecated:function(t,e,n,i){void 0!==e&&console.warn(t+': "'+n+'" is deprecated. Please use "'+i+'" instead')}},S=M;M.callCallback=M.callback,M.indexOf=function(t,e,n){return Array.prototype.indexOf.call(t,e,n)},M.getValueOrDefault=M.valueOrDefault,M.getValueAtIndexOrDefault=M.valueAtIndexOrDefault;var C={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return t>=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:2==(t/=.5)?1:(n||(n=.45),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),t<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-C.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*C.easeInBounce(2*t):.5*C.easeOutBounce(2*t-1)+.5}},P={effects:C};S.easingEffects=C;var A=Math.PI,D=A/180,T=2*A,I=A/2,F=A/4,O=2*A/3,L={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,i,a,r){if(r){var o=Math.min(r,a/2,i/2),s=e+o,l=n+o,u=e+i-o,d=n+a-o;t.moveTo(e,l),s<u&&l<d?(t.arc(s,l,o,-A,-I),t.arc(u,l,o,-I,0),t.arc(u,d,o,0,I),t.arc(s,d,o,I,A)):s<u?(t.moveTo(s,n),t.arc(u,l,o,-I,I),t.arc(s,l,o,I,A+I)):l<d?(t.arc(s,l,o,-A,0),t.arc(s,d,o,0,A)):t.arc(s,l,o,-A,A),t.closePath(),t.moveTo(e,n)}else t.rect(e,n,i,a)},drawPoint:function(t,e,n,i,a,r){var o,s,l,u,d,h=(r||0)*D;if(e&&"object"==typeof e&&("[object HTMLImageElement]"===(o=e.toString())||"[object HTMLCanvasElement]"===o))return t.save(),t.translate(i,a),t.rotate(h),t.drawImage(e,-e.width/2,-e.height/2,e.width,e.height),void t.restore();if(!(isNaN(n)||n<=0)){switch(t.beginPath(),e){default:t.arc(i,a,n,0,T),t.closePath();break;case"triangle":t.moveTo(i+Math.sin(h)*n,a-Math.cos(h)*n),h+=O,t.lineTo(i+Math.sin(h)*n,a-Math.cos(h)*n),h+=O,t.lineTo(i+Math.sin(h)*n,a-Math.cos(h)*n),t.closePath();break;case"rectRounded":u=n-(d=.516*n),s=Math.cos(h+F)*u,l=Math.sin(h+F)*u,t.arc(i-s,a-l,d,h-A,h-I),t.arc(i+l,a-s,d,h-I,h),t.arc(i+s,a+l,d,h,h+I),t.arc(i-l,a+s,d,h+I,h+A),t.closePath();break;case"rect":if(!r){u=Math.SQRT1_2*n,t.rect(i-u,a-u,2*u,2*u);break}h+=F;case"rectRot":s=Math.cos(h)*n,l=Math.sin(h)*n,t.moveTo(i-s,a-l),t.lineTo(i+l,a-s),t.lineTo(i+s,a+l),t.lineTo(i-l,a+s),t.closePath();break;case"crossRot":h+=F;case"cross":s=Math.cos(h)*n,l=Math.sin(h)*n,t.moveTo(i-s,a-l),t.lineTo(i+s,a+l),t.moveTo(i+l,a-s),t.lineTo(i-l,a+s);break;case"star":s=Math.cos(h)*n,l=Math.sin(h)*n,t.moveTo(i-s,a-l),t.lineTo(i+s,a+l),t.moveTo(i+l,a-s),t.lineTo(i-l,a+s),h+=F,s=Math.cos(h)*n,l=Math.sin(h)*n,t.moveTo(i-s,a-l),t.lineTo(i+s,a+l),t.moveTo(i+l,a-s),t.lineTo(i-l,a+s);break;case"line":s=Math.cos(h)*n,l=Math.sin(h)*n,t.moveTo(i-s,a-l),t.lineTo(i+s,a+l);break;case"dash":t.moveTo(i,a),t.lineTo(i+Math.cos(h)*n,a+Math.sin(h)*n)}t.fill(),t.stroke()}},_isPointInArea:function(t,e){return t.x>e.left-1e-6&&t.x<e.right+1e-6&&t.y>e.top-1e-6&&t.y<e.bottom+1e-6},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,n,i){var a=n.steppedLine;if(a){if("middle"===a){var r=(e.x+n.x)/2;t.lineTo(r,i?n.y:e.y),t.lineTo(r,i?e.y:n.y)}else"after"===a&&!i||"after"!==a&&i?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}else n.tension?t.bezierCurveTo(i?e.controlPointPreviousX:e.controlPointNextX,i?e.controlPointPreviousY:e.controlPointNextY,i?n.controlPointNextX:n.controlPointPreviousX,i?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):t.lineTo(n.x,n.y)}},R=L;S.clear=L.clear,S.drawRoundedRectangle=function(t){t.beginPath(),L.roundedRect.apply(L,arguments)};var z={_set:function(t,e){return S.merge(this[t]||(this[t]={}),e)}};z._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0});var N=z,B=S.valueOrDefault;var E={toLineHeight:function(t,e){var n=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,n,i,a;return S.isObject(t)?(e=+t.top||0,n=+t.right||0,i=+t.bottom||0,a=+t.left||0):e=n=i=a=+t||0,{top:e,right:n,bottom:i,left:a,height:e+i,width:a+n}},_parseFont:function(t){var e=N.global,n=B(t.fontSize,e.defaultFontSize),i={family:B(t.fontFamily,e.defaultFontFamily),lineHeight:S.options.toLineHeight(B(t.lineHeight,e.defaultLineHeight),n),size:n,style:B(t.fontStyle,e.defaultFontStyle),weight:null,string:""};return i.string=function(t){return!t||S.isNullOrUndef(t.size)||S.isNullOrUndef(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(i),i},resolve:function(t,e,n,i){var a,r,o,s=!0;for(a=0,r=t.length;a<r;++a)if(void 0!==(o=t[a])&&(void 0!==e&&"function"==typeof o&&(o=o(e),s=!1),void 0!==n&&S.isArray(o)&&(o=o[n],s=!1),void 0!==o))return i&&!s&&(i.cacheable=!1),o}},W={_factorize:function(t){var e,n=[],i=Math.sqrt(t);for(e=1;e<i;e++)t%e==0&&(n.push(e),n.push(t/e));return i===(0|i)&&n.push(i),n.sort((function(t,e){return t-e})).pop(),n},log10:Math.log10||function(t){var e=Math.log(t)*Math.LOG10E,n=Math.round(e);return t===Math.pow(10,n)?n:e}},V=W;S.log10=W.log10;var H=S,j=P,q=R,U=E,Y=V,G={getRtlAdapter:function(t,e,n){return t?function(t,e){return{x:function(n){return t+t+e-n},setWidth:function(t){e=t},textAlign:function(t){return"center"===t?t:"right"===t?"left":"right"},xPlus:function(t,e){return t-e},leftForLtr:function(t,e){return t-e}}}(e,n):{x:function(t){return t},setWidth:function(t){},textAlign:function(t){return t},xPlus:function(t,e){return t+e},leftForLtr:function(t,e){return t}}},overrideTextDirection:function(t,e){var n,i;"ltr"!==e&&"rtl"!==e||(i=[(n=t.canvas.style).getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=i)},restoreTextDirection:function(t){var e=t.prevTextDirection;void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}};H.easing=j,H.canvas=q,H.options=U,H.math=Y,H.rtl=G;var X=function(t){H.extend(this,t),this.initialize.apply(this,arguments)};H.extend(X.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=H.extend({},t._model)),t._start={},t},transition:function(t){var e=this,n=e._model,i=e._start,a=e._view;return n&&1!==t?(a||(a=e._view={}),i||(i=e._start={}),function(t,e,n,i){var a,r,o,s,l,u,d,h,c,f=Object.keys(n);for(a=0,r=f.length;a<r;++a)if(u=n[o=f[a]],e.hasOwnProperty(o)||(e[o]=u),(s=e[o])!==u&&"_"!==o[0]){if(t.hasOwnProperty(o)||(t[o]=s),(d=typeof u)===typeof(l=t[o]))if("string"===d){if((h=_(l)).valid&&(c=_(u)).valid){e[o]=c.mix(h,i).rgbString();continue}}else if(H.isFinite(l)&&H.isFinite(u)){e[o]=l+(u-l)*i;continue}e[o]=u}}(i,a,n,t),e):(e._view=H.extend({},n),e._start=null,e)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return H.isNumber(this._model.x)&&H.isNumber(this._model.y)}}),X.extend=H.inherits;var K=X,Z=K.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),$=Z;Object.defineProperty(Z.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(Z.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}}),N._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:H.noop,onComplete:H.noop}});var J={animations:[],request:null,addAnimation:function(t,e,n,i){var a,r,o=this.animations;for(e.chart=t,e.startTime=Date.now(),e.duration=n,i||(t.animating=!0),a=0,r=o.length;a<r;++a)if(o[a].chart===t)return void(o[a]=e);o.push(e),1===o.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var e=H.findIndex(this.animations,(function(e){return e.chart===t}));-1!==e&&(this.animations.splice(e,1),t.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=H.requestAnimFrame.call(window,(function(){t.request=null,t.startDigest()})))},startDigest:function(){this.advance(),this.animations.length>0&&this.requestAnimationFrame()},advance:function(){for(var t,e,n,i,a=this.animations,r=0;r<a.length;)e=(t=a[r]).chart,n=t.numSteps,i=Math.floor((Date.now()-t.startTime)/t.duration*n)+1,t.currentStep=Math.min(i,n),H.callback(t.render,[e,t],e),H.callback(t.onAnimationProgress,[t],e),t.currentStep>=n?(H.callback(t.onAnimationComplete,[t],e),e.animating=!1,a.splice(r,1)):++r}},Q=H.options.resolve,tt=["push","pop","shift","splice","unshift"];function et(t,e){var n=t._chartjs;if(n){var i=n.listeners,a=i.indexOf(e);-1!==a&&i.splice(a,1),i.length>0||(tt.forEach((function(e){delete t[e]})),delete t._chartjs)}}var nt=function(t,e){this.initialize(t,e)};H.extend(nt.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(t,e){var n=this;n.chart=t,n.index=e,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(t){this.index=t},linkScales:function(){var t=this.getMeta(),e=this.chart,n=e.scales,i=this.getDataset(),a=e.options.scales;null!==t.xAxisID&&t.xAxisID in n&&!i.xAxisID||(t.xAxisID=i.xAxisID||a.xAxes[0].id),null!==t.yAxisID&&t.yAxisID in n&&!i.yAxisID||(t.yAxisID=i.yAxisID||a.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&et(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){var t,e,n=this.getMeta(),i=this.getDataset().data||[],a=n.data;for(t=0,e=i.length;t<e;++t)a[t]=a[t]||this.createMetaData(t);n.dataset=n.dataset||this.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var t,e,n=this,i=n.getDataset(),a=i.data||(i.data=[]);n._data!==a&&(n._data&&et(n._data,n),a&&Object.isExtensible(a)&&(e=n,(t=a)._chartjs?t._chartjs.listeners.push(e):(Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),tt.forEach((function(e){var n="onData"+e.charAt(0).toUpperCase()+e.slice(1),i=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),a=i.apply(this,e);return H.each(t._chartjs.listeners,(function(t){"function"==typeof t[n]&&t[n].apply(t,e)})),a}})})))),n._data=a),n.resyncElements()},_configure:function(){this._config=H.merge(Object.create(null),[this.chart.options.datasets[this._type],this.getDataset()],{merger:function(t,e,n){"_meta"!==t&&"data"!==t&&H._merger(t,e,n)}})},_update:function(t){this._configure(),this._cachedDataOpts=null,this.update(t)},update:H.noop,transition:function(t){for(var e=this.getMeta(),n=e.data||[],i=n.length,a=0;a<i;++a)n[a].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],n=e.length,i=0;for(t.dataset&&t.dataset.draw();i<n;++i)e[i].draw()},getStyle:function(t){var e,n=this.getMeta(),i=n.dataset;return this._configure(),i&&void 0===t?e=this._resolveDatasetElementOptions(i||{}):(t=t||0,e=this._resolveDataElementOptions(n.data[t]||{},t)),!1!==e.fill&&null!==e.fill||(e.backgroundColor=e.borderColor),e},_resolveDatasetElementOptions:function(t,e){var n,i,a,r,o=this,s=o.chart,l=o._config,u=t.custom||{},d=s.options.elements[o.datasetElementType.prototype._type]||{},h=o._datasetElementOptions,c={},f={chart:s,dataset:o.getDataset(),datasetIndex:o.index,hover:e};for(n=0,i=h.length;n<i;++n)a=h[n],r=e?"hover"+a.charAt(0).toUpperCase()+a.slice(1):a,c[a]=Q([u[r],l[r],d[r]],f);return c},_resolveDataElementOptions:function(t,e){var n=this,i=t&&t.custom,a=n._cachedDataOpts;if(a&&!i)return a;var r,o,s,l,u=n.chart,d=n._config,h=u.options.elements[n.dataElementType.prototype._type]||{},c=n._dataElementOptions,f={},g={chart:u,dataIndex:e,dataset:n.getDataset(),datasetIndex:n.index},p={cacheable:!i};if(i=i||{},H.isArray(c))for(o=0,s=c.length;o<s;++o)f[l=c[o]]=Q([i[l],d[l],h[l]],g,e,p);else for(o=0,s=(r=Object.keys(c)).length;o<s;++o)f[l=r[o]]=Q([i[l],d[c[l]],d[l],h[l]],g,e,p);return p.cacheable&&(n._cachedDataOpts=Object.freeze(f)),f},removeHoverStyle:function(t){H.merge(t._model,t.$previousStyle||{}),delete t.$previousStyle},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},a=t._model,r=H.getHoverColor;t.$previousStyle={backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderWidth:a.borderWidth},a.backgroundColor=Q([i.hoverBackgroundColor,e.hoverBackgroundColor,r(a.backgroundColor)],void 0,n),a.borderColor=Q([i.hoverBorderColor,e.hoverBorderColor,r(a.borderColor)],void 0,n),a.borderWidth=Q([i.hoverBorderWidth,e.hoverBorderWidth,a.borderWidth],void 0,n)},_removeDatasetHoverStyle:function(){var t=this.getMeta().dataset;t&&this.removeHoverStyle(t)},_setDatasetHoverStyle:function(){var t,e,n,i,a,r,o=this.getMeta().dataset,s={};if(o){for(r=o._model,a=this._resolveDatasetElementOptions(o,!0),t=0,e=(i=Object.keys(a)).length;t<e;++t)s[n=i[t]]=r[n],r[n]=a[n];o.$previousStyle=s}},resyncElements:function(){var t=this.getMeta(),e=this.getDataset().data,n=t.data.length,i=e.length;i<n?t.data.splice(i,n-i):i>n&&this.insertElements(n,i-n)},insertElements:function(t,e){for(var n=0;n<e;++n)this.addElementAndReset(t+n)},onDataPush:function(){var t=arguments.length;this.insertElements(this.getDataset().data.length-t,t)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),nt.extend=H.inherits;var it=nt,at=2*Math.PI;function rt(t,e){var n=e.startAngle,i=e.endAngle,a=e.pixelMargin,r=a/e.outerRadius,o=e.x,s=e.y;t.beginPath(),t.arc(o,s,e.outerRadius,n-r,i+r),e.innerRadius>a?(r=a/e.innerRadius,t.arc(o,s,e.innerRadius-a,i+r,n-r,!0)):t.arc(o,s,a,i+Math.PI/2,n-Math.PI/2),t.closePath(),t.clip()}function ot(t,e,n){var i="inner"===e.borderAlign;i?(t.lineWidth=2*e.borderWidth,t.lineJoin="round"):(t.lineWidth=e.borderWidth,t.lineJoin="bevel"),n.fullCircles&&function(t,e,n,i){var a,r=n.endAngle;for(i&&(n.endAngle=n.startAngle+at,rt(t,n),n.endAngle=r,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=at,n.fullCircles--)),t.beginPath(),t.arc(n.x,n.y,n.innerRadius,n.startAngle+at,n.startAngle,!0),a=0;a<n.fullCircles;++a)t.stroke();for(t.beginPath(),t.arc(n.x,n.y,e.outerRadius,n.startAngle,n.startAngle+at),a=0;a<n.fullCircles;++a)t.stroke()}(t,e,n,i),i&&rt(t,n),t.beginPath(),t.arc(n.x,n.y,e.outerRadius,n.startAngle,n.endAngle),t.arc(n.x,n.y,n.innerRadius,n.endAngle,n.startAngle,!0),t.closePath(),t.stroke()}N._set("global",{elements:{arc:{backgroundColor:N.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var st=K.extend({_type:"arc",inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,e){var n=this._view;if(n){for(var i=H.getAngleFromPoint(n,{x:t,y:e}),a=i.angle,r=i.distance,o=n.startAngle,s=n.endAngle;s<o;)s+=at;for(;a>s;)a-=at;for(;a<o;)a+=at;var l=a>=o&&a<=s,u=r>=n.innerRadius&&r<=n.outerRadius;return l&&u}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t,e=this._chart.ctx,n=this._view,i="inner"===n.borderAlign?.33:0,a={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-i,0),pixelMargin:i,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/at)};if(e.save(),e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor,a.fullCircles){for(a.endAngle=a.startAngle+at,e.beginPath(),e.arc(a.x,a.y,a.outerRadius,a.startAngle,a.endAngle),e.arc(a.x,a.y,a.innerRadius,a.endAngle,a.startAngle,!0),e.closePath(),t=0;t<a.fullCircles;++t)e.fill();a.endAngle=a.startAngle+n.circumference%at}e.beginPath(),e.arc(a.x,a.y,a.outerRadius,a.startAngle,a.endAngle),e.arc(a.x,a.y,a.innerRadius,a.endAngle,a.startAngle,!0),e.closePath(),e.fill(),n.borderWidth&&ot(e,n,a),e.restore()}}),lt=H.valueOrDefault,ut=N.global.defaultColor;N._set("global",{elements:{line:{tension:.4,backgroundColor:ut,borderWidth:3,borderColor:ut,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var dt=K.extend({_type:"line",draw:function(){var t,e,n,i=this,a=i._view,r=i._chart.ctx,o=a.spanGaps,s=i._children.slice(),l=N.global,u=l.elements.line,d=-1,h=i._loop;if(s.length){if(i._loop){for(t=0;t<s.length;++t)if(e=H.previousItem(s,t),!s[t]._view.skip&&e._view.skip){s=s.slice(t).concat(s.slice(0,t)),h=o;break}h&&s.push(s[0])}for(r.save(),r.lineCap=a.borderCapStyle||u.borderCapStyle,r.setLineDash&&r.setLineDash(a.borderDash||u.borderDash),r.lineDashOffset=lt(a.borderDashOffset,u.borderDashOffset),r.lineJoin=a.borderJoinStyle||u.borderJoinStyle,r.lineWidth=lt(a.borderWidth,u.borderWidth),r.strokeStyle=a.borderColor||l.defaultColor,r.beginPath(),(n=s[0]._view).skip||(r.moveTo(n.x,n.y),d=0),t=1;t<s.length;++t)n=s[t]._view,e=-1===d?H.previousItem(s,t):s[d],n.skip||(d!==t-1&&!o||-1===d?r.moveTo(n.x,n.y):H.canvas.lineTo(r,e._view,n),d=t);h&&r.closePath(),r.stroke(),r.restore()}}}),ht=H.valueOrDefault,ct=N.global.defaultColor;function ft(t){var e=this._view;return!!e&&Math.abs(t-e.x)<e.radius+e.hitRadius}N._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:ct,borderColor:ct,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var gt=K.extend({_type:"point",inRange:function(t,e){var n=this._view;return!!n&&Math.pow(t-n.x,2)+Math.pow(e-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:ft,inXRange:ft,inYRange:function(t){var e=this._view;return!!e&&Math.abs(t-e.y)<e.radius+e.hitRadius},getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var e=this._view,n=this._chart.ctx,i=e.pointStyle,a=e.rotation,r=e.radius,o=e.x,s=e.y,l=N.global,u=l.defaultColor;e.skip||(void 0===t||H.canvas._isPointInArea(e,t))&&(n.strokeStyle=e.borderColor||u,n.lineWidth=ht(e.borderWidth,l.elements.point.borderWidth),n.fillStyle=e.backgroundColor||u,H.canvas.drawPoint(n,i,r,o,s,a))}}),pt=N.global.defaultColor;function mt(t){return t&&void 0!==t.width}function vt(t){var e,n,i,a,r;return mt(t)?(r=t.width/2,e=t.x-r,n=t.x+r,i=Math.min(t.y,t.base),a=Math.max(t.y,t.base)):(r=t.height/2,e=Math.min(t.x,t.base),n=Math.max(t.x,t.base),i=t.y-r,a=t.y+r),{left:e,top:i,right:n,bottom:a}}function bt(t,e,n){return t===e?n:t===n?e:t}function xt(t,e,n){var i,a,r,o,s=t.borderWidth,l=function(t){var e=t.borderSkipped,n={};return e?(t.horizontal?t.base>t.x&&(e=bt(e,"left","right")):t.base<t.y&&(e=bt(e,"bottom","top")),n[e]=!0,n):n}(t);return H.isObject(s)?(i=+s.top||0,a=+s.right||0,r=+s.bottom||0,o=+s.left||0):i=a=r=o=+s||0,{t:l.top||i<0?0:i>n?n:i,r:l.right||a<0?0:a>e?e:a,b:l.bottom||r<0?0:r>n?n:r,l:l.left||o<0?0:o>e?e:o}}function yt(t,e,n){var i=null===e,a=null===n,r=!(!t||i&&a)&&vt(t);return r&&(i||e>=r.left&&e<=r.right)&&(a||n>=r.top&&n<=r.bottom)}N._set("global",{elements:{rectangle:{backgroundColor:pt,borderColor:pt,borderSkipped:"bottom",borderWidth:0}}});var _t=K.extend({_type:"rectangle",draw:function(){var t=this._chart.ctx,e=this._view,n=function(t){var e=vt(t),n=e.right-e.left,i=e.bottom-e.top,a=xt(t,n/2,i/2);return{outer:{x:e.left,y:e.top,w:n,h:i},inner:{x:e.left+a.l,y:e.top+a.t,w:n-a.l-a.r,h:i-a.t-a.b}}}(e),i=n.outer,a=n.inner;t.fillStyle=e.backgroundColor,t.fillRect(i.x,i.y,i.w,i.h),i.w===a.w&&i.h===a.h||(t.save(),t.beginPath(),t.rect(i.x,i.y,i.w,i.h),t.clip(),t.fillStyle=e.borderColor,t.rect(a.x,a.y,a.w,a.h),t.fill("evenodd"),t.restore())},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){return yt(this._view,t,e)},inLabelRange:function(t,e){var n=this._view;return mt(n)?yt(n,t,null):yt(n,null,e)},inXRange:function(t){return yt(this._view,t,null)},inYRange:function(t){return yt(this._view,null,t)},getCenterPoint:function(){var t,e,n=this._view;return mt(n)?(t=n.x,e=(n.y+n.base)/2):(t=(n.x+n.base)/2,e=n.y),{x:t,y:e}},getArea:function(){var t=this._view;return mt(t)?t.width*Math.abs(t.y-t.base):t.height*Math.abs(t.x-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}}),kt={},wt=st,Mt=dt,St=gt,Ct=_t;kt.Arc=wt,kt.Line=Mt,kt.Point=St,kt.Rectangle=Ct;var Pt=H._deprecated,At=H.valueOrDefault;function Dt(t,e,n){var i,a,r=n.barThickness,o=e.stackCount,s=e.pixels[t],l=H.isNullOrUndef(r)?function(t,e){var n,i,a,r,o=t._length;for(a=1,r=e.length;a<r;++a)o=Math.min(o,Math.abs(e[a]-e[a-1]));for(a=0,r=t.getTicks().length;a<r;++a)i=t.getPixelForTick(a),o=a>0?Math.min(o,Math.abs(i-n)):o,n=i;return o}(e.scale,e.pixels):-1;return H.isNullOrUndef(r)?(i=l*n.categoryPercentage,a=n.barPercentage):(i=r*o,a=1),{chunk:i/o,ratio:a,start:s-i/2}}N._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),N._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var Tt=it.extend({dataElementType:kt.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var t,e,n=this;it.prototype.initialize.apply(n,arguments),(t=n.getMeta()).stack=n.getDataset().stack,t.bar=!0,e=n._getIndexScale().options,Pt("bar chart",e.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),Pt("bar chart",e.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),Pt("bar chart",e.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),Pt("bar chart",n._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),Pt("bar chart",e.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(t){var e,n,i=this.getMeta().data;for(this._ruler=this.getRuler(),e=0,n=i.length;e<n;++e)this.updateElement(i[e],e,t)},updateElement:function(t,e,n){var i=this,a=i.getMeta(),r=i.getDataset(),o=i._resolveDataElementOptions(t,e);t._xScale=i.getScaleForId(a.xAxisID),t._yScale=i.getScaleForId(a.yAxisID),t._datasetIndex=i.index,t._index=e,t._model={backgroundColor:o.backgroundColor,borderColor:o.borderColor,borderSkipped:o.borderSkipped,borderWidth:o.borderWidth,datasetLabel:r.label,label:i.chart.data.labels[e]},H.isArray(r.data[e])&&(t._model.borderSkipped=null),i._updateElementGeometry(t,e,n,o),t.pivot()},_updateElementGeometry:function(t,e,n,i){var a=this,r=t._model,o=a._getValueScale(),s=o.getBasePixel(),l=o.isHorizontal(),u=a._ruler||a.getRuler(),d=a.calculateBarValuePixels(a.index,e,i),h=a.calculateBarIndexPixels(a.index,e,u,i);r.horizontal=l,r.base=n?s:d.base,r.x=l?n?s:d.head:h.center,r.y=l?h.center:n?s:d.head,r.height=l?h.size:void 0,r.width=l?void 0:h.size},_getStacks:function(t){var e,n,i=this._getIndexScale(),a=i._getMatchingVisibleMetas(this._type),r=i.options.stacked,o=a.length,s=[];for(e=0;e<o&&(n=a[e],(!1===r||-1===s.indexOf(n.stack)||void 0===r&&void 0===n.stack)&&s.push(n.stack),n.index!==t);++e);return s},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,e){var n=this._getStacks(t),i=void 0!==e?n.indexOf(e):-1;return-1===i?n.length-1:i},getRuler:function(){var t,e,n=this._getIndexScale(),i=[];for(t=0,e=this.getMeta().data.length;t<e;++t)i.push(n.getPixelForValue(null,t,this.index));return{pixels:i,start:n._startPixel,end:n._endPixel,stackCount:this.getStackCount(),scale:n}},calculateBarValuePixels:function(t,e,n){var i,a,r,o,s,l,u,d=this.chart,h=this._getValueScale(),c=h.isHorizontal(),f=d.data.datasets,g=h._getMatchingVisibleMetas(this._type),p=h._parseValue(f[t].data[e]),m=n.minBarLength,v=h.options.stacked,b=this.getMeta().stack,x=void 0===p.start?0:p.max>=0&&p.min>=0?p.min:p.max,y=void 0===p.start?p.end:p.max>=0&&p.min>=0?p.max-p.min:p.min-p.max,_=g.length;if(v||void 0===v&&void 0!==b)for(i=0;i<_&&(a=g[i]).index!==t;++i)a.stack===b&&(r=void 0===(u=h._parseValue(f[a.index].data[e])).start?u.end:u.min>=0&&u.max>=0?u.max:u.min,(p.min<0&&r<0||p.max>=0&&r>0)&&(x+=r));return o=h.getPixelForValue(x),l=(s=h.getPixelForValue(x+y))-o,void 0!==m&&Math.abs(l)<m&&(l=m,s=y>=0&&!c||y<0&&c?o-m:o+m),{size:l,base:o,head:s,center:s+l/2}},calculateBarIndexPixels:function(t,e,n,i){var a="flex"===i.barThickness?function(t,e,n){var i,a=e.pixels,r=a[t],o=t>0?a[t-1]:null,s=t<a.length-1?a[t+1]:null,l=n.categoryPercentage;return null===o&&(o=r-(null===s?e.end-e.start:s-r)),null===s&&(s=r+r-o),i=r-(r-Math.min(o,s))/2*l,{chunk:Math.abs(s-o)/2*l/e.stackCount,ratio:n.barPercentage,start:i}}(e,n,i):Dt(e,n,i),r=this.getStackIndex(t,this.getMeta().stack),o=a.start+a.chunk*r+a.chunk/2,s=Math.min(At(i.maxBarThickness,1/0),a.chunk*a.ratio);return{base:o-s/2,head:o+s/2,center:o,size:s}},draw:function(){var t=this.chart,e=this._getValueScale(),n=this.getMeta().data,i=this.getDataset(),a=n.length,r=0;for(H.canvas.clipArea(t.ctx,t.chartArea);r<a;++r){var o=e._parseValue(i.data[r]);isNaN(o.min)||isNaN(o.max)||n[r].draw()}H.canvas.unclipArea(t.ctx)},_resolveDataElementOptions:function(){var t=this,e=H.extend({},it.prototype._resolveDataElementOptions.apply(t,arguments)),n=t._getIndexScale().options,i=t._getValueScale().options;return e.barPercentage=At(n.barPercentage,e.barPercentage),e.barThickness=At(n.barThickness,e.barThickness),e.categoryPercentage=At(n.categoryPercentage,e.categoryPercentage),e.maxBarThickness=At(n.maxBarThickness,e.maxBarThickness),e.minBarLength=At(i.minBarLength,e.minBarLength),e}}),It=H.valueOrDefault,Ft=H.options.resolve;N._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.datasets[t.datasetIndex].label||"",i=e.datasets[t.datasetIndex].data[t.index];return n+": ("+t.xLabel+", "+t.yLabel+", "+i.r+")"}}}});var Ot=it.extend({dataElementType:kt.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(t){var e=this,n=e.getMeta().data;H.each(n,(function(n,i){e.updateElement(n,i,t)}))},updateElement:function(t,e,n){var i=this,a=i.getMeta(),r=t.custom||{},o=i.getScaleForId(a.xAxisID),s=i.getScaleForId(a.yAxisID),l=i._resolveDataElementOptions(t,e),u=i.getDataset().data[e],d=i.index,h=n?o.getPixelForDecimal(.5):o.getPixelForValue("object"==typeof u?u:NaN,e,d),c=n?s.getBasePixel():s.getPixelForValue(u,e,d);t._xScale=o,t._yScale=s,t._options=l,t._datasetIndex=d,t._index=e,t._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,rotation:l.rotation,radius:n?0:l.radius,skip:r.skip||isNaN(h)||isNaN(c),x:h,y:c},t.pivot()},setHoverStyle:function(t){var e=t._model,n=t._options,i=H.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=It(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=It(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=It(n.hoverBorderWidth,n.borderWidth),e.radius=n.radius+n.hoverRadius},_resolveDataElementOptions:function(t,e){var n=this,i=n.chart,a=n.getDataset(),r=t.custom||{},o=a.data[e]||{},s=it.prototype._resolveDataElementOptions.apply(n,arguments),l={chart:i,dataIndex:e,dataset:a,datasetIndex:n.index};return n._cachedDataOpts===s&&(s=H.extend({},s)),s.radius=Ft([r.radius,o.r,n._config.radius,i.options.elements.point.radius],l,e),s}}),Lt=H.valueOrDefault,Rt=Math.PI,zt=2*Rt,Nt=Rt/2;N._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e,n,i,a=document.createElement("ul"),r=t.data,o=r.datasets,s=r.labels;if(a.setAttribute("class",t.id+"-legend"),o.length)for(e=0,n=o[0].data.length;e<n;++e)(i=a.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[e],s[e]&&i.appendChild(document.createTextNode(s[e]));return a.outerHTML},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map((function(n,i){var a=t.getDatasetMeta(0),r=a.controller.getStyle(i);return{text:n,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,hidden:isNaN(e.datasets[0].data[i])||a.data[i].hidden,index:i}})):[]}},onClick:function(t,e){var n,i,a,r=e.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;n<i;++n)(a=o.getDatasetMeta(n)).data[r]&&(a.data[r].hidden=!a.data[r].hidden);o.update()}},cutoutPercentage:50,rotation:-Nt,circumference:zt,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.labels[t.index],i=": "+e.datasets[t.datasetIndex].data[t.index];return H.isArray(n)?(n=n.slice())[0]+=i:n+=i,n}}}});var Bt=it.extend({dataElementType:kt.Arc,linkScales:H.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&++e;return e},update:function(t){var e,n,i,a,r=this,o=r.chart,s=o.chartArea,l=o.options,u=1,d=1,h=0,c=0,f=r.getMeta(),g=f.data,p=l.cutoutPercentage/100||0,m=l.circumference,v=r._getRingWeight(r.index);if(m<zt){var b=l.rotation%zt,x=(b+=b>=Rt?-zt:b<-Rt?zt:0)+m,y=Math.cos(b),_=Math.sin(b),k=Math.cos(x),w=Math.sin(x),M=b<=0&&x>=0||x>=zt,S=b<=Nt&&x>=Nt||x>=zt+Nt,C=b<=-Nt&&x>=-Nt||x>=Rt+Nt,P=b===-Rt||x>=Rt?-1:Math.min(y,y*p,k,k*p),A=C?-1:Math.min(_,_*p,w,w*p),D=M?1:Math.max(y,y*p,k,k*p),T=S?1:Math.max(_,_*p,w,w*p);u=(D-P)/2,d=(T-A)/2,h=-(D+P)/2,c=-(T+A)/2}for(i=0,a=g.length;i<a;++i)g[i]._options=r._resolveDataElementOptions(g[i],i);for(o.borderWidth=r.getMaxBorderWidth(),e=(s.right-s.left-o.borderWidth)/u,n=(s.bottom-s.top-o.borderWidth)/d,o.outerRadius=Math.max(Math.min(e,n)/2,0),o.innerRadius=Math.max(o.outerRadius*p,0),o.radiusLength=(o.outerRadius-o.innerRadius)/(r._getVisibleDatasetWeightTotal()||1),o.offsetX=h*o.outerRadius,o.offsetY=c*o.outerRadius,f.total=r.calculateTotal(),r.outerRadius=o.outerRadius-o.radiusLength*r._getRingWeightOffset(r.index),r.innerRadius=Math.max(r.outerRadius-o.radiusLength*v,0),i=0,a=g.length;i<a;++i)r.updateElement(g[i],i,t)},updateElement:function(t,e,n){var i=this,a=i.chart,r=a.chartArea,o=a.options,s=o.animation,l=(r.left+r.right)/2,u=(r.top+r.bottom)/2,d=o.rotation,h=o.rotation,c=i.getDataset(),f=n&&s.animateRotate?0:t.hidden?0:i.calculateCircumference(c.data[e])*(o.circumference/zt),g=n&&s.animateScale?0:i.innerRadius,p=n&&s.animateScale?0:i.outerRadius,m=t._options||{};H.extend(t,{_datasetIndex:i.index,_index:e,_model:{backgroundColor:m.backgroundColor,borderColor:m.borderColor,borderWidth:m.borderWidth,borderAlign:m.borderAlign,x:l+a.offsetX,y:u+a.offsetY,startAngle:d,endAngle:h,circumference:f,outerRadius:p,innerRadius:g,label:H.valueAtIndexOrDefault(c.label,e,a.data.labels[e])}});var v=t._model;n&&s.animateRotate||(v.startAngle=0===e?o.rotation:i.getMeta().data[e-1]._model.endAngle,v.endAngle=v.startAngle+v.circumference),t.pivot()},calculateTotal:function(){var t,e=this.getDataset(),n=this.getMeta(),i=0;return H.each(n.data,(function(n,a){t=e.data[a],isNaN(t)||n.hidden||(i+=Math.abs(t))})),i},calculateCircumference:function(t){var e=this.getMeta().total;return e>0&&!isNaN(t)?zt*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){var e,n,i,a,r,o,s,l,u=0,d=this.chart;if(!t)for(e=0,n=d.data.datasets.length;e<n;++e)if(d.isDatasetVisible(e)){t=(i=d.getDatasetMeta(e)).data,e!==this.index&&(r=i.controller);break}if(!t)return 0;for(e=0,n=t.length;e<n;++e)a=t[e],r?(r._configure(),o=r._resolveDataElementOptions(a,e)):o=a._options,"inner"!==o.borderAlign&&(s=o.borderWidth,u=(l=o.hoverBorderWidth)>(u=s>u?s:u)?l:u);return u},setHoverStyle:function(t){var e=t._model,n=t._options,i=H.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=Lt(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=Lt(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=Lt(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&(e+=this._getRingWeight(n));return e},_getRingWeight:function(t){return Math.max(Lt(this.chart.data.datasets[t].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});N._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),N._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var Et=Tt.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),Wt=H.valueOrDefault,Vt=H.options.resolve,Ht=H.canvas._isPointInArea;function jt(t,e){var n=t&&t.options.ticks||{},i=n.reverse,a=void 0===n.min?e:0,r=void 0===n.max?e:0;return{start:i?r:a,end:i?a:r}}function qt(t,e,n){var i=n/2,a=jt(t,i),r=jt(e,i);return{top:r.end,right:a.end,bottom:r.start,left:a.start}}function Ut(t){var e,n,i,a;return H.isObject(t)?(e=t.top,n=t.right,i=t.bottom,a=t.left):e=n=i=a=t,{top:e,right:n,bottom:i,left:a}}N._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var Yt=it.extend({datasetElementType:kt.Line,dataElementType:kt.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(t){var e,n,i=this,a=i.getMeta(),r=a.dataset,o=a.data||[],s=i.chart.options,l=i._config,u=i._showLine=Wt(l.showLine,s.showLines);for(i._xScale=i.getScaleForId(a.xAxisID),i._yScale=i.getScaleForId(a.yAxisID),u&&(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),r._scale=i._yScale,r._datasetIndex=i.index,r._children=o,r._model=i._resolveDatasetElementOptions(r),r.pivot()),e=0,n=o.length;e<n;++e)i.updateElement(o[e],e,t);for(u&&0!==r._model.tension&&i.updateBezierControlPoints(),e=0,n=o.length;e<n;++e)o[e].pivot()},updateElement:function(t,e,n){var i,a,r=this,o=r.getMeta(),s=t.custom||{},l=r.getDataset(),u=r.index,d=l.data[e],h=r._xScale,c=r._yScale,f=o.dataset._model,g=r._resolveDataElementOptions(t,e);i=h.getPixelForValue("object"==typeof d?d:NaN,e,u),a=n?c.getBasePixel():r.calculatePointY(d,e,u),t._xScale=h,t._yScale=c,t._options=g,t._datasetIndex=u,t._index=e,t._model={x:i,y:a,skip:s.skip||isNaN(i)||isNaN(a),radius:g.radius,pointStyle:g.pointStyle,rotation:g.rotation,backgroundColor:g.backgroundColor,borderColor:g.borderColor,borderWidth:g.borderWidth,tension:Wt(s.tension,f?f.tension:0),steppedLine:!!f&&f.steppedLine,hitRadius:g.hitRadius}},_resolveDatasetElementOptions:function(t){var e=this,n=e._config,i=t.custom||{},a=e.chart.options,r=a.elements.line,o=it.prototype._resolveDatasetElementOptions.apply(e,arguments);return o.spanGaps=Wt(n.spanGaps,a.spanGaps),o.tension=Wt(n.lineTension,r.tension),o.steppedLine=Vt([i.steppedLine,n.steppedLine,r.stepped]),o.clip=Ut(Wt(n.clip,qt(e._xScale,e._yScale,o.borderWidth))),o},calculatePointY:function(t,e,n){var i,a,r,o,s,l,u,d=this.chart,h=this._yScale,c=0,f=0;if(h.options.stacked){for(s=+h.getRightValue(t),u=(l=d._getSortedVisibleDatasetMetas()).length,i=0;i<u&&(r=l[i]).index!==n;++i)a=d.data.datasets[r.index],"line"===r.type&&r.yAxisID===h.id&&((o=+h.getRightValue(a.data[e]))<0?f+=o||0:c+=o||0);return s<0?h.getPixelForValue(f+s):h.getPixelForValue(c+s)}return h.getPixelForValue(t)},updateBezierControlPoints:function(){var t,e,n,i,a=this.chart,r=this.getMeta(),o=r.dataset._model,s=a.chartArea,l=r.data||[];function u(t,e,n){return Math.max(Math.min(t,n),e)}if(o.spanGaps&&(l=l.filter((function(t){return!t._model.skip}))),"monotone"===o.cubicInterpolationMode)H.splineCurveMonotone(l);else for(t=0,e=l.length;t<e;++t)n=l[t]._model,i=H.splineCurve(H.previousItem(l,t)._model,n,H.nextItem(l,t)._model,o.tension),n.controlPointPreviousX=i.previous.x,n.controlPointPreviousY=i.previous.y,n.controlPointNextX=i.next.x,n.controlPointNextY=i.next.y;if(a.options.elements.line.capBezierPoints)for(t=0,e=l.length;t<e;++t)n=l[t]._model,Ht(n,s)&&(t>0&&Ht(l[t-1]._model,s)&&(n.controlPointPreviousX=u(n.controlPointPreviousX,s.left,s.right),n.controlPointPreviousY=u(n.controlPointPreviousY,s.top,s.bottom)),t<l.length-1&&Ht(l[t+1]._model,s)&&(n.controlPointNextX=u(n.controlPointNextX,s.left,s.right),n.controlPointNextY=u(n.controlPointNextY,s.top,s.bottom)))},draw:function(){var t,e=this.chart,n=this.getMeta(),i=n.data||[],a=e.chartArea,r=e.canvas,o=0,s=i.length;for(this._showLine&&(t=n.dataset._model.clip,H.canvas.clipArea(e.ctx,{left:!1===t.left?0:a.left-t.left,right:!1===t.right?r.width:a.right+t.right,top:!1===t.top?0:a.top-t.top,bottom:!1===t.bottom?r.height:a.bottom+t.bottom}),n.dataset.draw(),H.canvas.unclipArea(e.ctx));o<s;++o)i[o].draw(a)},setHoverStyle:function(t){var e=t._model,n=t._options,i=H.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=Wt(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=Wt(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=Wt(n.hoverBorderWidth,n.borderWidth),e.radius=Wt(n.hoverRadius,n.radius)}}),Gt=H.options.resolve;N._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e,n,i,a=document.createElement("ul"),r=t.data,o=r.datasets,s=r.labels;if(a.setAttribute("class",t.id+"-legend"),o.length)for(e=0,n=o[0].data.length;e<n;++e)(i=a.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[e],s[e]&&i.appendChild(document.createTextNode(s[e]));return a.outerHTML},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map((function(n,i){var a=t.getDatasetMeta(0),r=a.controller.getStyle(i);return{text:n,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,hidden:isNaN(e.datasets[0].data[i])||a.data[i].hidden,index:i}})):[]}},onClick:function(t,e){var n,i,a,r=e.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;n<i;++n)(a=o.getDatasetMeta(n)).data[r].hidden=!a.data[r].hidden;o.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}});var Xt=it.extend({dataElementType:kt.Arc,linkScales:H.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,n,i,a=this,r=a.getDataset(),o=a.getMeta(),s=a.chart.options.startAngle||0,l=a._starts=[],u=a._angles=[],d=o.data;for(a._updateRadius(),o.count=a.countVisibleElements(),e=0,n=r.data.length;e<n;e++)l[e]=s,i=a._computeAngle(e),u[e]=i,s+=i;for(e=0,n=d.length;e<n;++e)d[e]._options=a._resolveDataElementOptions(d[e],e),a.updateElement(d[e],e,t)},_updateRadius:function(){var t=this,e=t.chart,n=e.chartArea,i=e.options,a=Math.min(n.right-n.left,n.bottom-n.top);e.outerRadius=Math.max(a/2,0),e.innerRadius=Math.max(i.cutoutPercentage?e.outerRadius/100*i.cutoutPercentage:1,0),e.radiusLength=(e.outerRadius-e.innerRadius)/e.getVisibleDatasetCount(),t.outerRadius=e.outerRadius-e.radiusLength*t.index,t.innerRadius=t.outerRadius-e.radiusLength},updateElement:function(t,e,n){var i=this,a=i.chart,r=i.getDataset(),o=a.options,s=o.animation,l=a.scale,u=a.data.labels,d=l.xCenter,h=l.yCenter,c=o.startAngle,f=t.hidden?0:l.getDistanceFromCenterForValue(r.data[e]),g=i._starts[e],p=g+(t.hidden?0:i._angles[e]),m=s.animateScale?0:l.getDistanceFromCenterForValue(r.data[e]),v=t._options||{};H.extend(t,{_datasetIndex:i.index,_index:e,_scale:l,_model:{backgroundColor:v.backgroundColor,borderColor:v.borderColor,borderWidth:v.borderWidth,borderAlign:v.borderAlign,x:d,y:h,innerRadius:0,outerRadius:n?m:f,startAngle:n&&s.animateRotate?c:g,endAngle:n&&s.animateRotate?c:p,label:H.valueAtIndexOrDefault(u,e,u[e])}}),t.pivot()},countVisibleElements:function(){var t=this.getDataset(),e=this.getMeta(),n=0;return H.each(e.data,(function(e,i){isNaN(t.data[i])||e.hidden||n++})),n},setHoverStyle:function(t){var e=t._model,n=t._options,i=H.getHoverColor,a=H.valueOrDefault;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=a(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=a(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=a(n.hoverBorderWidth,n.borderWidth)},_computeAngle:function(t){var e=this,n=this.getMeta().count,i=e.getDataset(),a=e.getMeta();if(isNaN(i.data[t])||a.data[t].hidden)return 0;var r={chart:e.chart,dataIndex:t,dataset:i,datasetIndex:e.index};return Gt([e.chart.options.elements.arc.angle,2*Math.PI/n],r,t)}});N._set("pie",H.clone(N.doughnut)),N._set("pie",{cutoutPercentage:0});var Kt=Bt,Zt=H.valueOrDefault;N._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var $t=it.extend({datasetElementType:kt.Line,dataElementType:kt.Point,linkScales:H.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,n,i=this,a=i.getMeta(),r=a.dataset,o=a.data||[],s=i.chart.scale,l=i._config;for(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),r._scale=s,r._datasetIndex=i.index,r._children=o,r._loop=!0,r._model=i._resolveDatasetElementOptions(r),r.pivot(),e=0,n=o.length;e<n;++e)i.updateElement(o[e],e,t);for(i.updateBezierControlPoints(),e=0,n=o.length;e<n;++e)o[e].pivot()},updateElement:function(t,e,n){var i=this,a=t.custom||{},r=i.getDataset(),o=i.chart.scale,s=o.getPointPositionForValue(e,r.data[e]),l=i._resolveDataElementOptions(t,e),u=i.getMeta().dataset._model,d=n?o.xCenter:s.x,h=n?o.yCenter:s.y;t._scale=o,t._options=l,t._datasetIndex=i.index,t._index=e,t._model={x:d,y:h,skip:a.skip||isNaN(d)||isNaN(h),radius:l.radius,pointStyle:l.pointStyle,rotation:l.rotation,backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,tension:Zt(a.tension,u?u.tension:0),hitRadius:l.hitRadius}},_resolveDatasetElementOptions:function(){var t=this,e=t._config,n=t.chart.options,i=it.prototype._resolveDatasetElementOptions.apply(t,arguments);return i.spanGaps=Zt(e.spanGaps,n.spanGaps),i.tension=Zt(e.lineTension,n.elements.line.tension),i},updateBezierControlPoints:function(){var t,e,n,i,a=this.getMeta(),r=this.chart.chartArea,o=a.data||[];function s(t,e,n){return Math.max(Math.min(t,n),e)}for(a.dataset._model.spanGaps&&(o=o.filter((function(t){return!t._model.skip}))),t=0,e=o.length;t<e;++t)n=o[t]._model,i=H.splineCurve(H.previousItem(o,t,!0)._model,n,H.nextItem(o,t,!0)._model,n.tension),n.controlPointPreviousX=s(i.previous.x,r.left,r.right),n.controlPointPreviousY=s(i.previous.y,r.top,r.bottom),n.controlPointNextX=s(i.next.x,r.left,r.right),n.controlPointNextY=s(i.next.y,r.top,r.bottom)},setHoverStyle:function(t){var e=t._model,n=t._options,i=H.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=Zt(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=Zt(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=Zt(n.hoverBorderWidth,n.borderWidth),e.radius=Zt(n.hoverRadius,n.radius)}});N._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),N._set("global",{datasets:{scatter:{showLine:!1}}});var Jt={bar:Tt,bubble:Ot,doughnut:Bt,horizontalBar:Et,line:Yt,polarArea:Xt,pie:Kt,radar:$t,scatter:Yt};function Qt(t,e){return t.native?{x:t.x,y:t.y}:H.getRelativePosition(t,e)}function te(t,e){var n,i,a,r,o,s,l=t._getSortedVisibleDatasetMetas();for(i=0,r=l.length;i<r;++i)for(a=0,o=(n=l[i].data).length;a<o;++a)(s=n[a])._view.skip||e(s)}function ee(t,e){var n=[];return te(t,(function(t){t.inRange(e.x,e.y)&&n.push(t)})),n}function ne(t,e,n,i){var a=Number.POSITIVE_INFINITY,r=[];return te(t,(function(t){if(!n||t.inRange(e.x,e.y)){var o=t.getCenterPoint(),s=i(e,o);s<a?(r=[t],a=s):s===a&&r.push(t)}})),r}function ie(t){var e=-1!==t.indexOf("x"),n=-1!==t.indexOf("y");return function(t,i){var a=e?Math.abs(t.x-i.x):0,r=n?Math.abs(t.y-i.y):0;return Math.sqrt(Math.pow(a,2)+Math.pow(r,2))}}function ae(t,e,n){var i=Qt(e,t);n.axis=n.axis||"x";var a=ie(n.axis),r=n.intersect?ee(t,i):ne(t,i,!1,a),o=[];return r.length?(t._getSortedVisibleDatasetMetas().forEach((function(t){var e=t.data[r[0]._index];e&&!e._view.skip&&o.push(e)})),o):[]}var re={modes:{single:function(t,e){var n=Qt(e,t),i=[];return te(t,(function(t){if(t.inRange(n.x,n.y))return i.push(t),i})),i.slice(0,1)},label:ae,index:ae,dataset:function(t,e,n){var i=Qt(e,t);n.axis=n.axis||"xy";var a=ie(n.axis),r=n.intersect?ee(t,i):ne(t,i,!1,a);return r.length>0&&(r=t.getDatasetMeta(r[0]._datasetIndex).data),r},"x-axis":function(t,e){return ae(t,e,{intersect:!1})},point:function(t,e){return ee(t,Qt(e,t))},nearest:function(t,e,n){var i=Qt(e,t);n.axis=n.axis||"xy";var a=ie(n.axis);return ne(t,i,n.intersect,a)},x:function(t,e,n){var i=Qt(e,t),a=[],r=!1;return te(t,(function(t){t.inXRange(i.x)&&a.push(t),t.inRange(i.x,i.y)&&(r=!0)})),n.intersect&&!r&&(a=[]),a},y:function(t,e,n){var i=Qt(e,t),a=[],r=!1;return te(t,(function(t){t.inYRange(i.y)&&a.push(t),t.inRange(i.x,i.y)&&(r=!0)})),n.intersect&&!r&&(a=[]),a}}},oe=H.extend;function se(t,e){return H.where(t,(function(t){return t.pos===e}))}function le(t,e){return t.sort((function(t,n){var i=e?n:t,a=e?t:n;return i.weight===a.weight?i.index-a.index:i.weight-a.weight}))}function ue(t,e,n,i){return Math.max(t[n],e[n])+Math.max(t[i],e[i])}function de(t,e,n){var i,a,r=n.box,o=t.maxPadding;if(n.size&&(t[n.pos]-=n.size),n.size=n.horizontal?r.height:r.width,t[n.pos]+=n.size,r.getPadding){var s=r.getPadding();o.top=Math.max(o.top,s.top),o.left=Math.max(o.left,s.left),o.bottom=Math.max(o.bottom,s.bottom),o.right=Math.max(o.right,s.right)}if(i=e.outerWidth-ue(o,t,"left","right"),a=e.outerHeight-ue(o,t,"top","bottom"),i!==t.w||a!==t.h){t.w=i,t.h=a;var l=n.horizontal?[i,t.w]:[a,t.h];return!(l[0]===l[1]||isNaN(l[0])&&isNaN(l[1]))}}function he(t,e){var n=e.maxPadding;function i(t){var i={left:0,top:0,right:0,bottom:0};return t.forEach((function(t){i[t]=Math.max(e[t],n[t])})),i}return i(t?["left","right"]:["top","bottom"])}function ce(t,e,n){var i,a,r,o,s,l,u=[];for(i=0,a=t.length;i<a;++i)(o=(r=t[i]).box).update(r.width||e.w,r.height||e.h,he(r.horizontal,e)),de(e,n,r)&&(l=!0,u.length&&(s=!0)),o.fullWidth||u.push(r);return s&&ce(u,e,n)||l}function fe(t,e,n){var i,a,r,o,s=n.padding,l=e.x,u=e.y;for(i=0,a=t.length;i<a;++i)o=(r=t[i]).box,r.horizontal?(o.left=o.fullWidth?s.left:e.left,o.right=o.fullWidth?n.outerWidth-s.right:e.left+e.w,o.top=u,o.bottom=u+o.height,o.width=o.right-o.left,u=o.bottom):(o.left=l,o.right=l+o.width,o.top=e.top,o.bottom=e.top+e.h,o.height=o.bottom-o.top,l=o.right);e.x=l,e.y=u}N._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var ge,pe={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw:function(){e.draw.apply(e,arguments)}}]},t.boxes.push(e)},removeBox:function(t,e){var n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure:function(t,e,n){for(var i,a=["fullWidth","position","weight"],r=a.length,o=0;o<r;++o)i=a[o],n.hasOwnProperty(i)&&(e[i]=n[i])},update:function(t,e,n){if(t){var i=t.options.layout||{},a=H.options.toPadding(i.padding),r=e-a.width,o=n-a.height,s=function(t){var e=function(t){var e,n,i,a=[];for(e=0,n=(t||[]).length;e<n;++e)i=t[e],a.push({index:e,box:i,pos:i.position,horizontal:i.isHorizontal(),weight:i.weight});return a}(t),n=le(se(e,"left"),!0),i=le(se(e,"right")),a=le(se(e,"top"),!0),r=le(se(e,"bottom"));return{leftAndTop:n.concat(a),rightAndBottom:i.concat(r),chartArea:se(e,"chartArea"),vertical:n.concat(i),horizontal:a.concat(r)}}(t.boxes),l=s.vertical,u=s.horizontal,d=Object.freeze({outerWidth:e,outerHeight:n,padding:a,availableWidth:r,vBoxMaxWidth:r/2/l.length,hBoxMaxHeight:o/2}),h=oe({maxPadding:oe({},a),w:r,h:o,x:a.left,y:a.top},a);!function(t,e){var n,i,a;for(n=0,i=t.length;n<i;++n)(a=t[n]).width=a.horizontal?a.box.fullWidth&&e.availableWidth:e.vBoxMaxWidth,a.height=a.horizontal&&e.hBoxMaxHeight}(l.concat(u),d),ce(l,h,d),ce(u,h,d)&&ce(l,h,d),function(t){var e=t.maxPadding;function n(n){var i=Math.max(e[n]-t[n],0);return t[n]+=i,i}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}(h),fe(s.leftAndTop,h,d),h.x+=h.w,h.y+=h.h,fe(s.rightAndBottom,h,d),t.chartArea={left:h.left,top:h.top,right:h.left+h.w,bottom:h.top+h.h},H.each(s.chartArea,(function(e){var n=e.box;oe(n,t.chartArea),n.update(h.w,h.h)}))}}},me=(ge=Object.freeze({__proto__:null,default:"@keyframes chartjs-render-animation{from{opacity:.99}to{opacity:1}}.chartjs-render-monitor{animation:chartjs-render-animation 1ms}.chartjs-size-monitor,.chartjs-size-monitor-expand,.chartjs-size-monitor-shrink{position:absolute;direction:ltr;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1}.chartjs-size-monitor-expand>div{position:absolute;width:1000000px;height:1000000px;left:0;top:0}.chartjs-size-monitor-shrink>div{position:absolute;width:200%;height:200%;left:0;top:0}"}))&&ge.default||ge,ve="$chartjs",be="chartjs-size-monitor",xe="chartjs-render-monitor",ye="chartjs-render-animation",_e=["animationstart","webkitAnimationStart"],ke={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function we(t,e){var n=H.getStyle(t,e),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}var Me=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}()&&{passive:!0};function Se(t,e,n){t.addEventListener(e,n,Me)}function Ce(t,e,n){t.removeEventListener(e,n,Me)}function Pe(t,e,n,i,a){return{type:t,chart:e,native:a||null,x:void 0!==n?n:null,y:void 0!==i?i:null}}function Ae(t){var e=document.createElement("div");return e.className=t||"",e}function De(t,e,n){var i,a,r,o,s=t[ve]||(t[ve]={}),l=s.resizer=function(t){var e=Ae(be),n=Ae(be+"-expand"),i=Ae(be+"-shrink");n.appendChild(Ae()),i.appendChild(Ae()),e.appendChild(n),e.appendChild(i),e._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,i.scrollLeft=1e6,i.scrollTop=1e6};var a=function(){e._reset(),t()};return Se(n,"scroll",a.bind(n,"expand")),Se(i,"scroll",a.bind(i,"shrink")),e}((i=function(){if(s.resizer){var i=n.options.maintainAspectRatio&&t.parentNode,a=i?i.clientWidth:0;e(Pe("resize",n)),i&&i.clientWidth<a&&n.canvas&&e(Pe("resize",n))}},r=!1,o=[],function(){o=Array.prototype.slice.call(arguments),a=a||this,r||(r=!0,H.requestAnimFrame.call(window,(function(){r=!1,i.apply(a,o)})))}));!function(t,e){var n=t[ve]||(t[ve]={}),i=n.renderProxy=function(t){t.animationName===ye&&e()};H.each(_e,(function(e){Se(t,e,i)})),n.reflow=!!t.offsetParent,t.classList.add(xe)}(t,(function(){if(s.resizer){var e=t.parentNode;e&&e!==l.parentNode&&e.insertBefore(l,e.firstChild),l._reset()}}))}function Te(t){var e=t[ve]||{},n=e.resizer;delete e.resizer,function(t){var e=t[ve]||{},n=e.renderProxy;n&&(H.each(_e,(function(e){Ce(t,e,n)})),delete e.renderProxy),t.classList.remove(xe)}(t),n&&n.parentNode&&n.parentNode.removeChild(n)}var Ie={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(t){if(!this.disableCSSInjection){var e=t.getRootNode?t.getRootNode():document;!function(t,e){var n=t[ve]||(t[ve]={});if(!n.containsStyles){n.containsStyles=!0,e="/* Chart.js */\n"+e;var i=document.createElement("style");i.setAttribute("type","text/css"),i.appendChild(document.createTextNode(e)),t.appendChild(i)}}(e.host?e:document.head,me)}},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(this._ensureLoaded(t),function(t,e){var n=t.style,i=t.getAttribute("height"),a=t.getAttribute("width");if(t[ve]={initial:{height:i,width:a,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===a||""===a){var r=we(t,"width");void 0!==r&&(t.width=r)}if(null===i||""===i)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var o=we(t,"height");void 0!==r&&(t.height=o)}}(t,e),n):null},releaseContext:function(t){var e=t.canvas;if(e[ve]){var n=e[ve].initial;["height","width"].forEach((function(t){var i=n[t];H.isNullOrUndef(i)?e.removeAttribute(t):e.setAttribute(t,i)})),H.each(n.style||{},(function(t,n){e.style[n]=t})),e.width=e.width,delete e[ve]}},addEventListener:function(t,e,n){var i=t.canvas;if("resize"!==e){var a=n[ve]||(n[ve]={});Se(i,e,(a.proxies||(a.proxies={}))[t.id+"_"+e]=function(e){n(function(t,e){var n=ke[t.type]||t.type,i=H.getRelativePosition(t,e);return Pe(n,e,i.x,i.y,t)}(e,t))})}else De(i,n,t)},removeEventListener:function(t,e,n){var i=t.canvas;if("resize"!==e){var a=((n[ve]||{}).proxies||{})[t.id+"_"+e];a&&Ce(i,e,a)}else Te(i)}};H.addEvent=Se,H.removeEvent=Ce;var Fe=Ie._enabled?Ie:{acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}},Oe=H.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},Fe);N._set("global",{plugins:{}});var Le={_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach((function(t){-1===e.indexOf(t)&&e.push(t)})),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach((function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)})),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){var i,a,r,o,s,l=this.descriptors(t),u=l.length;for(i=0;i<u;++i)if("function"==typeof(s=(r=(a=l[i]).plugin)[e])&&((o=[t].concat(n||[])).push(a.options),!1===s.apply(r,o)))return!1;return!0},descriptors:function(t){var e=t.$plugins||(t.$plugins={});if(e.id===this._cacheId)return e.descriptors;var n=[],i=[],a=t&&t.config||{},r=a.options&&a.options.plugins||{};return this._plugins.concat(a.plugins||[]).forEach((function(t){if(-1===n.indexOf(t)){var e=t.id,a=r[e];!1!==a&&(!0===a&&(a=H.clone(N.global.plugins[e])),n.push(t),i.push({plugin:t,options:a||{}}))}})),e.descriptors=i,e.id=this._cacheId,i},_invalidate:function(t){delete t.$plugins}},Re={constructors:{},defaults:{},registerScaleType:function(t,e,n){this.constructors[t]=e,this.defaults[t]=H.clone(n)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?H.merge(Object.create(null),[N.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){this.defaults.hasOwnProperty(t)&&(this.defaults[t]=H.extend(this.defaults[t],e))},addScalesToLayout:function(t){H.each(t.scales,(function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,pe.addBox(t,e)}))}},ze=H.valueOrDefault,Ne=H.rtl.getRtlAdapter;N._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:H.noop,title:function(t,e){var n="",i=e.labels,a=i?i.length:0;if(t.length>0){var r=t[0];r.label?n=r.label:r.xLabel?n=r.xLabel:a>0&&r.index<a&&(n=i[r.index])}return n},afterTitle:H.noop,beforeBody:H.noop,beforeLabel:H.noop,label:function(t,e){var n=e.datasets[t.datasetIndex].label||"";return n&&(n+=": "),H.isNullOrUndef(t.value)?n+=t.yLabel:n+=t.value,n},labelColor:function(t,e){var n=e.getDatasetMeta(t.datasetIndex).data[t.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:H.noop,afterBody:H.noop,beforeFooter:H.noop,footer:H.noop,afterFooter:H.noop}}});var Be={average:function(t){if(!t.length)return!1;var e,n,i=0,a=0,r=0;for(e=0,n=t.length;e<n;++e){var o=t[e];if(o&&o.hasValue()){var s=o.tooltipPosition();i+=s.x,a+=s.y,++r}}return{x:i/r,y:a/r}},nearest:function(t,e){var n,i,a,r=e.x,o=e.y,s=Number.POSITIVE_INFINITY;for(n=0,i=t.length;n<i;++n){var l=t[n];if(l&&l.hasValue()){var u=l.getCenterPoint(),d=H.distanceBetweenPoints(e,u);d<s&&(s=d,a=l)}}if(a){var h=a.tooltipPosition();r=h.x,o=h.y}return{x:r,y:o}}};function Ee(t,e){return e&&(H.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function We(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function Ve(t){var e=N.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,rtl:t.rtl,textDirection:t.textDirection,bodyFontColor:t.bodyFontColor,_bodyFontFamily:ze(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:ze(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:ze(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:ze(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:ze(t.titleFontStyle,e.defaultFontStyle),titleFontSize:ze(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:ze(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:ze(t.footerFontStyle,e.defaultFontStyle),footerFontSize:ze(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function He(t,e){return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-t.xPadding:t.x+t.xPadding}function je(t){return Ee([],We(t))}var qe=K.extend({initialize:function(){this._model=Ve(this._options),this._lastActive=[]},getTitle:function(){var t=this,e=t._options,n=e.callbacks,i=n.beforeTitle.apply(t,arguments),a=n.title.apply(t,arguments),r=n.afterTitle.apply(t,arguments),o=[];return o=Ee(o,We(i)),o=Ee(o,We(a)),o=Ee(o,We(r))},getBeforeBody:function(){return je(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var n=this,i=n._options.callbacks,a=[];return H.each(t,(function(t){var r={before:[],lines:[],after:[]};Ee(r.before,We(i.beforeLabel.call(n,t,e))),Ee(r.lines,i.label.call(n,t,e)),Ee(r.after,We(i.afterLabel.call(n,t,e))),a.push(r)})),a},getAfterBody:function(){return je(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this,e=t._options.callbacks,n=e.beforeFooter.apply(t,arguments),i=e.footer.apply(t,arguments),a=e.afterFooter.apply(t,arguments),r=[];return r=Ee(r,We(n)),r=Ee(r,We(i)),r=Ee(r,We(a))},update:function(t){var e,n,i,a,r,o,s,l,u,d,h=this,c=h._options,f=h._model,g=h._model=Ve(c),p=h._active,m=h._data,v={xAlign:f.xAlign,yAlign:f.yAlign},b={x:f.x,y:f.y},x={width:f.width,height:f.height},y={x:f.caretX,y:f.caretY};if(p.length){g.opacity=1;var _=[],k=[];y=Be[c.position].call(h,p,h._eventPosition);var w=[];for(e=0,n=p.length;e<n;++e)w.push((i=p[e],a=void 0,r=void 0,o=void 0,s=void 0,l=void 0,u=void 0,d=void 0,a=i._xScale,r=i._yScale||i._scale,o=i._index,s=i._datasetIndex,l=i._chart.getDatasetMeta(s).controller,u=l._getIndexScale(),d=l._getValueScale(),{xLabel:a?a.getLabelForIndex(o,s):"",yLabel:r?r.getLabelForIndex(o,s):"",label:u?""+u.getLabelForIndex(o,s):"",value:d?""+d.getLabelForIndex(o,s):"",index:o,datasetIndex:s,x:i._model.x,y:i._model.y}));c.filter&&(w=w.filter((function(t){return c.filter(t,m)}))),c.itemSort&&(w=w.sort((function(t,e){return c.itemSort(t,e,m)}))),H.each(w,(function(t){_.push(c.callbacks.labelColor.call(h,t,h._chart)),k.push(c.callbacks.labelTextColor.call(h,t,h._chart))})),g.title=h.getTitle(w,m),g.beforeBody=h.getBeforeBody(w,m),g.body=h.getBody(w,m),g.afterBody=h.getAfterBody(w,m),g.footer=h.getFooter(w,m),g.x=y.x,g.y=y.y,g.caretPadding=c.caretPadding,g.labelColors=_,g.labelTextColors=k,g.dataPoints=w,x=function(t,e){var n=t._chart.ctx,i=2*e.yPadding,a=0,r=e.body,o=r.reduce((function(t,e){return t+e.before.length+e.lines.length+e.after.length}),0);o+=e.beforeBody.length+e.afterBody.length;var s=e.title.length,l=e.footer.length,u=e.titleFontSize,d=e.bodyFontSize,h=e.footerFontSize;i+=s*u,i+=s?(s-1)*e.titleSpacing:0,i+=s?e.titleMarginBottom:0,i+=o*d,i+=o?(o-1)*e.bodySpacing:0,i+=l?e.footerMarginTop:0,i+=l*h,i+=l?(l-1)*e.footerSpacing:0;var c=0,f=function(t){a=Math.max(a,n.measureText(t).width+c)};return n.font=H.fontString(u,e._titleFontStyle,e._titleFontFamily),H.each(e.title,f),n.font=H.fontString(d,e._bodyFontStyle,e._bodyFontFamily),H.each(e.beforeBody.concat(e.afterBody),f),c=e.displayColors?d+2:0,H.each(r,(function(t){H.each(t.before,f),H.each(t.lines,f),H.each(t.after,f)})),c=0,n.font=H.fontString(h,e._footerFontStyle,e._footerFontFamily),H.each(e.footer,f),{width:a+=2*e.xPadding,height:i}}(this,g),b=function(t,e,n,i){var a=t.x,r=t.y,o=t.caretSize,s=t.caretPadding,l=t.cornerRadius,u=n.xAlign,d=n.yAlign,h=o+s,c=l+s;return"right"===u?a-=e.width:"center"===u&&((a-=e.width/2)+e.width>i.width&&(a=i.width-e.width),a<0&&(a=0)),"top"===d?r+=h:r-="bottom"===d?e.height+h:e.height/2,"center"===d?"left"===u?a+=h:"right"===u&&(a-=h):"left"===u?a-=c:"right"===u&&(a+=c),{x:a,y:r}}(g,x,v=function(t,e){var n,i,a,r,o,s=t._model,l=t._chart,u=t._chart.chartArea,d="center",h="center";s.y<e.height?h="top":s.y>l.height-e.height&&(h="bottom");var c=(u.left+u.right)/2,f=(u.top+u.bottom)/2;"center"===h?(n=function(t){return t<=c},i=function(t){return t>c}):(n=function(t){return t<=e.width/2},i=function(t){return t>=l.width-e.width/2}),a=function(t){return t+e.width+s.caretSize+s.caretPadding>l.width},r=function(t){return t-e.width-s.caretSize-s.caretPadding<0},o=function(t){return t<=f?"top":"bottom"},n(s.x)?(d="left",a(s.x)&&(d="center",h=o(s.y))):i(s.x)&&(d="right",r(s.x)&&(d="center",h=o(s.y)));var g=t._options;return{xAlign:g.xAlign?g.xAlign:d,yAlign:g.yAlign?g.yAlign:h}}(this,x),h._chart)}else g.opacity=0;return g.xAlign=v.xAlign,g.yAlign=v.yAlign,g.x=b.x,g.y=b.y,g.width=x.width,g.height=x.height,g.caretX=y.x,g.caretY=y.y,h._model=g,t&&c.custom&&c.custom.call(h,g),h},drawCaret:function(t,e){var n=this._chart.ctx,i=this._view,a=this.getCaretPosition(t,e,i);n.lineTo(a.x1,a.y1),n.lineTo(a.x2,a.y2),n.lineTo(a.x3,a.y3)},getCaretPosition:function(t,e,n){var i,a,r,o,s,l,u=n.caretSize,d=n.cornerRadius,h=n.xAlign,c=n.yAlign,f=t.x,g=t.y,p=e.width,m=e.height;if("center"===c)s=g+m/2,"left"===h?(a=(i=f)-u,r=i,o=s+u,l=s-u):(a=(i=f+p)+u,r=i,o=s-u,l=s+u);else if("left"===h?(i=(a=f+d+u)-u,r=a+u):"right"===h?(i=(a=f+p-d-u)-u,r=a+u):(i=(a=n.caretX)-u,r=a+u),"top"===c)s=(o=g)-u,l=o;else{s=(o=g+m)+u,l=o;var v=r;r=i,i=v}return{x1:i,x2:a,x3:r,y1:o,y2:s,y3:l}},drawTitle:function(t,e,n){var i,a,r,o=e.title,s=o.length;if(s){var l=Ne(e.rtl,e.x,e.width);for(t.x=He(e,e._titleAlign),n.textAlign=l.textAlign(e._titleAlign),n.textBaseline="middle",i=e.titleFontSize,a=e.titleSpacing,n.fillStyle=e.titleFontColor,n.font=H.fontString(i,e._titleFontStyle,e._titleFontFamily),r=0;r<s;++r)n.fillText(o[r],l.x(t.x),t.y+i/2),t.y+=i+a,r+1===s&&(t.y+=e.titleMarginBottom-a)}},drawBody:function(t,e,n){var i,a,r,o,s,l,u,d,h=e.bodyFontSize,c=e.bodySpacing,f=e._bodyAlign,g=e.body,p=e.displayColors,m=0,v=p?He(e,"left"):0,b=Ne(e.rtl,e.x,e.width),x=function(e){n.fillText(e,b.x(t.x+m),t.y+h/2),t.y+=h+c},y=b.textAlign(f);for(n.textAlign=f,n.textBaseline="middle",n.font=H.fontString(h,e._bodyFontStyle,e._bodyFontFamily),t.x=He(e,y),n.fillStyle=e.bodyFontColor,H.each(e.beforeBody,x),m=p&&"right"!==y?"center"===f?h/2+1:h+2:0,s=0,u=g.length;s<u;++s){for(i=g[s],a=e.labelTextColors[s],r=e.labelColors[s],n.fillStyle=a,H.each(i.before,x),l=0,d=(o=i.lines).length;l<d;++l){if(p){var _=b.x(v);n.fillStyle=e.legendColorBackground,n.fillRect(b.leftForLtr(_,h),t.y,h,h),n.lineWidth=1,n.strokeStyle=r.borderColor,n.strokeRect(b.leftForLtr(_,h),t.y,h,h),n.fillStyle=r.backgroundColor,n.fillRect(b.leftForLtr(b.xPlus(_,1),h-2),t.y+1,h-2,h-2),n.fillStyle=a}x(o[l])}H.each(i.after,x)}m=0,H.each(e.afterBody,x),t.y-=c},drawFooter:function(t,e,n){var i,a,r=e.footer,o=r.length;if(o){var s=Ne(e.rtl,e.x,e.width);for(t.x=He(e,e._footerAlign),t.y+=e.footerMarginTop,n.textAlign=s.textAlign(e._footerAlign),n.textBaseline="middle",i=e.footerFontSize,n.fillStyle=e.footerFontColor,n.font=H.fontString(i,e._footerFontStyle,e._footerFontFamily),a=0;a<o;++a)n.fillText(r[a],s.x(t.x),t.y+i/2),t.y+=i+e.footerSpacing}},drawBackground:function(t,e,n,i){n.fillStyle=e.backgroundColor,n.strokeStyle=e.borderColor,n.lineWidth=e.borderWidth;var a=e.xAlign,r=e.yAlign,o=t.x,s=t.y,l=i.width,u=i.height,d=e.cornerRadius;n.beginPath(),n.moveTo(o+d,s),"top"===r&&this.drawCaret(t,i),n.lineTo(o+l-d,s),n.quadraticCurveTo(o+l,s,o+l,s+d),"center"===r&&"right"===a&&this.drawCaret(t,i),n.lineTo(o+l,s+u-d),n.quadraticCurveTo(o+l,s+u,o+l-d,s+u),"bottom"===r&&this.drawCaret(t,i),n.lineTo(o+d,s+u),n.quadraticCurveTo(o,s+u,o,s+u-d),"center"===r&&"left"===a&&this.drawCaret(t,i),n.lineTo(o,s+d),n.quadraticCurveTo(o,s,o+d,s),n.closePath(),n.fill(),e.borderWidth>0&&n.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var n={width:e.width,height:e.height},i={x:e.x,y:e.y},a=Math.abs(e.opacity<.001)?0:e.opacity,r=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&r&&(t.save(),t.globalAlpha=a,this.drawBackground(i,e,t,n),i.y+=e.yPadding,H.rtl.overrideTextDirection(t,e.textDirection),this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),H.rtl.restoreTextDirection(t,e.textDirection),t.restore())}},handleEvent:function(t){var e,n=this,i=n._options;return n._lastActive=n._lastActive||[],"mouseout"===t.type?n._active=[]:(n._active=n._chart.getElementsAtEventForMode(t,i.mode,i),i.reverse&&n._active.reverse()),(e=!H.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(i.enabled||i.custom)&&(n._eventPosition={x:t.x,y:t.y},n.update(!0),n.pivot())),e}}),Ue=Be,Ye=qe;Ye.positioners=Ue;var Ge=H.valueOrDefault;function Xe(){return H.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,e,n,i){if("xAxes"===t||"yAxes"===t){var a,r,o,s=n[t].length;for(e[t]||(e[t]=[]),a=0;a<s;++a)o=n[t][a],r=Ge(o.type,"xAxes"===t?"category":"linear"),a>=e[t].length&&e[t].push({}),!e[t][a].type||o.type&&o.type!==e[t][a].type?H.merge(e[t][a],[Re.getScaleDefaults(r),o]):H.merge(e[t][a],o)}else H._merger(t,e,n,i)}})}function Ke(){return H.merge(Object.create(null),[].slice.call(arguments),{merger:function(t,e,n,i){var a=e[t]||Object.create(null),r=n[t];"scales"===t?e[t]=Xe(a,r):"scale"===t?e[t]=H.merge(a,[Re.getScaleDefaults(r.type),r]):H._merger(t,e,n,i)}})}function Ze(t){var e=t.options;H.each(t.scales,(function(e){pe.removeBox(t,e)})),e=Ke(N.global,N[t.config.type],e),t.options=t.config.options=e,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._options=e.tooltips,t.tooltip.initialize()}function $e(t,e,n){var i,a=function(t){return t.id===i};do{i=e+n++}while(H.findIndex(t,a)>=0);return i}function Je(t){return"top"===t||"bottom"===t}function Qe(t,e){return function(n,i){return n[t]===i[t]?n[e]-i[e]:n[t]-i[t]}}N._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var tn=function(t,e){return this.construct(t,e),this};H.extend(tn.prototype,{construct:function(t,e){var n=this;e=function(t){var e=(t=t||Object.create(null)).data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=Ke(N.global,N[t.type],t.options||{}),t}(e);var i=Oe.acquireContext(t,e),a=i&&i.canvas,r=a&&a.height,o=a&&a.width;n.id=H.uid(),n.ctx=i,n.canvas=a,n.config=e,n.width=o,n.height=r,n.aspectRatio=r?o/r:null,n.options=e.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,tn.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(t){n.config.data=t}}),i&&a?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return Le.notify(t,"beforeInit"),H.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.initToolTip(),Le.notify(t,"afterInit"),t},clear:function(){return H.canvas.clear(this),this},stop:function(){return J.cancelAnimation(this),this},resize:function(t){var e=this,n=e.options,i=e.canvas,a=n.maintainAspectRatio&&e.aspectRatio||null,r=Math.max(0,Math.floor(H.getMaximumWidth(i))),o=Math.max(0,Math.floor(a?r/a:H.getMaximumHeight(i)));if((e.width!==r||e.height!==o)&&(i.width=e.width=r,i.height=e.height=o,i.style.width=r+"px",i.style.height=o+"px",H.retinaScale(e,n.devicePixelRatio),!t)){var s={width:r,height:o};Le.notify(e,"resize",[s]),n.onResize&&n.onResize(e,s),e.stop(),e.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},n=t.scale;H.each(e.xAxes,(function(t,n){t.id||(t.id=$e(e.xAxes,"x-axis-",n))})),H.each(e.yAxes,(function(t,n){t.id||(t.id=$e(e.yAxes,"y-axis-",n))})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var t=this,e=t.options,n=t.scales||{},i=[],a=Object.keys(n).reduce((function(t,e){return t[e]=!1,t}),{});e.scales&&(i=i.concat((e.scales.xAxes||[]).map((function(t){return{options:t,dtype:"category",dposition:"bottom"}})),(e.scales.yAxes||[]).map((function(t){return{options:t,dtype:"linear",dposition:"left"}})))),e.scale&&i.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),H.each(i,(function(e){var i=e.options,r=i.id,o=Ge(i.type,e.dtype);Je(i.position)!==Je(e.dposition)&&(i.position=e.dposition),a[r]=!0;var s=null;if(r in n&&n[r].type===o)(s=n[r]).options=i,s.ctx=t.ctx,s.chart=t;else{var l=Re.getScaleConstructor(o);if(!l)return;s=new l({id:r,type:o,options:i,ctx:t.ctx,chart:t}),n[s.id]=s}s.mergeTicksOptions(),e.isDefault&&(t.scale=s)})),H.each(a,(function(t,e){t||delete n[e]})),t.scales=n,Re.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t,e,n=this,i=[],a=n.data.datasets;for(t=0,e=a.length;t<e;t++){var r=a[t],o=n.getDatasetMeta(t),s=r.type||n.config.type;if(o.type&&o.type!==s&&(n.destroyDatasetMeta(t),o=n.getDatasetMeta(t)),o.type=s,o.order=r.order||0,o.index=t,o.controller)o.controller.updateIndex(t),o.controller.linkScales();else{var l=Jt[o.type];if(void 0===l)throw new Error('"'+o.type+'" is not a chart type.');o.controller=new l(n,t),i.push(o.controller)}}return i},resetElements:function(){var t=this;H.each(t.data.datasets,(function(e,n){t.getDatasetMeta(n).controller.reset()}),t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var e,n,i=this;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),Ze(i),Le._invalidate(i),!1!==Le.notify(i,"beforeUpdate")){i.tooltip._data=i.data;var a=i.buildOrUpdateControllers();for(e=0,n=i.data.datasets.length;e<n;e++)i.getDatasetMeta(e).controller.buildOrUpdateElements();i.updateLayout(),i.options.animation&&i.options.animation.duration&&H.each(a,(function(t){t.reset()})),i.updateDatasets(),i.tooltip.initialize(),i.lastActive=[],Le.notify(i,"afterUpdate"),i._layers.sort(Qe("z","_idx")),i._bufferedRender?i._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:i.render(t)}},updateLayout:function(){var t=this;!1!==Le.notify(t,"beforeLayout")&&(pe.update(this,this.width,this.height),t._layers=[],H.each(t.boxes,(function(e){e._configure&&e._configure(),t._layers.push.apply(t._layers,e._layers())}),t),t._layers.forEach((function(t,e){t._idx=e})),Le.notify(t,"afterScaleUpdate"),Le.notify(t,"afterLayout"))},updateDatasets:function(){if(!1!==Le.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t<e;++t)this.updateDataset(t);Le.notify(this,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this.getDatasetMeta(t),n={meta:e,index:t};!1!==Le.notify(this,"beforeDatasetUpdate",[n])&&(e.controller._update(),Le.notify(this,"afterDatasetUpdate",[n]))},render:function(t){var e=this;t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]});var n=e.options.animation,i=Ge(t.duration,n&&n.duration),a=t.lazy;if(!1!==Le.notify(e,"beforeRender")){var r=function(t){Le.notify(e,"afterRender"),H.callback(n&&n.onComplete,[t],e)};if(n&&i){var o=new $({numSteps:i/16.66,easing:t.easing||n.easing,render:function(t,e){var n=H.easing.effects[e.easing],i=e.currentStep,a=i/e.numSteps;t.draw(n(a),a,i)},onAnimationProgress:n.onProgress,onAnimationComplete:r});J.addAnimation(e,o,i,a)}else e.draw(),r(new $({numSteps:0,chart:e}));return e}},draw:function(t){var e,n,i=this;if(i.clear(),H.isNullOrUndef(t)&&(t=1),i.transition(t),!(i.width<=0||i.height<=0)&&!1!==Le.notify(i,"beforeDraw",[t])){for(n=i._layers,e=0;e<n.length&&n[e].z<=0;++e)n[e].draw(i.chartArea);for(i.drawDatasets(t);e<n.length;++e)n[e].draw(i.chartArea);i._drawTooltip(t),Le.notify(i,"afterDraw",[t])}},transition:function(t){for(var e=0,n=(this.data.datasets||[]).length;e<n;++e)this.isDatasetVisible(e)&&this.getDatasetMeta(e).controller.transition(t);this.tooltip.transition(t)},_getSortedDatasetMetas:function(t){var e,n,i=[];for(e=0,n=(this.data.datasets||[]).length;e<n;++e)t&&!this.isDatasetVisible(e)||i.push(this.getDatasetMeta(e));return i.sort(Qe("order","index")),i},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(t){var e,n;if(!1!==Le.notify(this,"beforeDatasetsDraw",[t])){for(n=(e=this._getSortedVisibleDatasetMetas()).length-1;n>=0;--n)this.drawDataset(e[n],t);Le.notify(this,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n={meta:t,index:t.index,easingValue:e};!1!==Le.notify(this,"beforeDatasetDraw",[n])&&(t.controller.draw(e),Le.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(t){var e=this.tooltip,n={tooltip:e,easingValue:t};!1!==Le.notify(this,"beforeTooltipDraw",[n])&&(e.draw(),Le.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(t){return re.modes.single(this,t)},getElementsAtEvent:function(t){return re.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return re.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var i=re.modes[e];return"function"==typeof i?i(this,t,n):[]},getDatasetAtEvent:function(t){return re.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];e._meta||(e._meta={});var n=e._meta[this.id];return n||(n=e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e.order||0,index:t}),n},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;e<n;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var e=this.id,n=this.data.datasets[t],i=n._meta&&n._meta[e];i&&(i.controller.destroy(),delete n._meta[e])},destroy:function(){var t,e,n=this,i=n.canvas;for(n.stop(),t=0,e=n.data.datasets.length;t<e;++t)n.destroyDatasetMeta(t);i&&(n.unbindEvents(),H.canvas.clear(n),Oe.releaseContext(n.ctx),n.canvas=null,n.ctx=null),Le.notify(n,"destroy"),delete tn.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new Ye({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var t=this,e=t._listeners={},n=function(){t.eventHandler.apply(t,arguments)};H.each(t.options.events,(function(i){Oe.addEventListener(t,i,n),e[i]=n})),t.options.responsive&&(n=function(){t.resize()},Oe.addEventListener(t,"resize",n),e.resize=n)},unbindEvents:function(){var t=this,e=t._listeners;e&&(delete t._listeners,H.each(e,(function(e,n){Oe.removeEventListener(t,n,e)})))},updateHoverStyle:function(t,e,n){var i,a,r,o=n?"set":"remove";for(a=0,r=t.length;a<r;++a)(i=t[a])&&this.getDatasetMeta(i._datasetIndex).controller[o+"HoverStyle"](i);"dataset"===e&&this.getDatasetMeta(t[0]._datasetIndex).controller["_"+o+"DatasetHoverStyle"]()},eventHandler:function(t){var e=this,n=e.tooltip;if(!1!==Le.notify(e,"beforeEvent",[t])){e._bufferedRender=!0,e._bufferedRequest=null;var i=e.handleEvent(t);n&&(i=n._start?n.handleEvent(t):i|n.handleEvent(t)),Le.notify(e,"afterEvent",[t]);var a=e._bufferedRequest;return a?e.render(a):i&&!e.animating&&(e.stop(),e.render({duration:e.options.hover.animationDuration,lazy:!0})),e._bufferedRender=!1,e._bufferedRequest=null,e}},handleEvent:function(t){var e,n=this,i=n.options||{},a=i.hover;return n.lastActive=n.lastActive||[],"mouseout"===t.type?n.active=[]:n.active=n.getElementsAtEventForMode(t,a.mode,a),H.callback(i.onHover||i.hover.onHover,[t.native,n.active],n),"mouseup"!==t.type&&"click"!==t.type||i.onClick&&i.onClick.call(n,t.native,n.active),n.lastActive.length&&n.updateHoverStyle(n.lastActive,a.mode,!1),n.active.length&&a.mode&&n.updateHoverStyle(n.active,a.mode,!0),e=!H.arrayEquals(n.active,n.lastActive),n.lastActive=n.active,e}}),tn.instances={};var en=tn;tn.Controller=tn,tn.types={},H.configMerge=Ke,H.scaleMerge=Xe;function nn(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function an(t){this.options=t||{}}H.extend(an.prototype,{formats:nn,parse:nn,format:nn,add:nn,diff:nn,startOf:nn,endOf:nn,_create:function(t){return t}}),an.override=function(t){H.extend(an.prototype,t)};var rn={_date:an},on={formatters:{values:function(t){return H.isArray(t)?t:""+t},linear:function(t,e,n){var i=n.length>3?n[2]-n[1]:n[1]-n[0];Math.abs(i)>1&&t!==Math.floor(t)&&(i=t-Math.floor(t));var a=H.log10(Math.abs(i)),r="";if(0!==t)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var o=H.log10(Math.abs(t)),s=Math.floor(o)-Math.floor(a);s=Math.max(Math.min(s,20),0),r=t.toExponential(s)}else{var l=-1*Math.floor(a);l=Math.max(Math.min(l,20),0),r=t.toFixed(l)}else r="0";return r},logarithmic:function(t,e,n){var i=t/Math.pow(10,Math.floor(H.log10(t)));return 0===t?"0":1===i||2===i||5===i||0===e||e===n.length-1?t.toExponential():""}}},sn=H.isArray,ln=H.isNullOrUndef,un=H.valueOrDefault,dn=H.valueAtIndexOrDefault;function hn(t,e,n){var i,a=t.getTicks().length,r=Math.min(e,a-1),o=t.getPixelForTick(r),s=t._startPixel,l=t._endPixel;if(!(n&&(i=1===a?Math.max(o-s,l-o):0===e?(t.getPixelForTick(1)-o)/2:(o-t.getPixelForTick(r-1))/2,(o+=r<e?i:-i)<s-1e-6||o>l+1e-6)))return o}function cn(t,e,n,i){var a,r,o,s,l,u,d,h,c,f,g,p,m,v=n.length,b=[],x=[],y=[],_=0,k=0;for(a=0;a<v;++a){if(s=n[a].label,l=n[a].major?e.major:e.minor,t.font=u=l.string,d=i[u]=i[u]||{data:{},gc:[]},h=l.lineHeight,c=f=0,ln(s)||sn(s)){if(sn(s))for(r=0,o=s.length;r<o;++r)g=s[r],ln(g)||sn(g)||(c=H.measureText(t,d.data,d.gc,c,g),f+=h)}else c=H.measureText(t,d.data,d.gc,c,s),f=h;b.push(c),x.push(f),y.push(h/2),_=Math.max(c,_),k=Math.max(f,k)}function w(t){return{width:b[t]||0,height:x[t]||0,offset:y[t]||0}}return function(t,e){H.each(t,(function(t){var n,i=t.gc,a=i.length/2;if(a>e){for(n=0;n<a;++n)delete t.data[i[n]];i.splice(0,a)}}))}(i,v),p=b.indexOf(_),m=x.indexOf(k),{first:w(0),last:w(v-1),widest:w(p),highest:w(m)}}function fn(t){return t.drawTicks?t.tickMarkLength:0}function gn(t){var e,n;return t.display?(e=H.options._parseFont(t),n=H.options.toPadding(t.padding),e.lineHeight+n.height):0}function pn(t,e){return H.extend(H.options._parseFont({fontFamily:un(e.fontFamily,t.fontFamily),fontSize:un(e.fontSize,t.fontSize),fontStyle:un(e.fontStyle,t.fontStyle),lineHeight:un(e.lineHeight,t.lineHeight)}),{color:H.options.resolve([e.fontColor,t.fontColor,N.global.defaultFontColor])})}function mn(t){var e=pn(t,t.minor);return{minor:e,major:t.major.enabled?pn(t,t.major):e}}function vn(t){var e,n,i,a=[];for(n=0,i=t.length;n<i;++n)void 0!==(e=t[n])._index&&a.push(e);return a}function bn(t,e,n,i){var a,r,o,s,l=un(n,0),u=Math.min(un(i,t.length),t.length),d=0;for(e=Math.ceil(e),i&&(e=(a=i-n)/Math.floor(a/e)),s=l;s<0;)d++,s=Math.round(l+d*e);for(r=Math.max(l,0);r<u;r++)o=t[r],r===s?(o._index=r,d++,s=Math.round(l+d*e)):delete o.label}N._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:on.formatters.values,minor:{},major:{}}});var xn=K.extend({zeroLineIndex:0,getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){H.callback(this.options.beforeUpdate,[this])},update:function(t,e,n){var i,a,r,o,s,l=this,u=l.options.ticks,d=u.sampleSize;if(l.beforeUpdate(),l.maxWidth=t,l.maxHeight=e,l.margins=H.extend({left:0,right:0,top:0,bottom:0},n),l._ticks=null,l.ticks=null,l._labelSizes=null,l._maxLabelLines=0,l.longestLabelWidth=0,l.longestTextCache=l.longestTextCache||{},l._gridLineItems=null,l._labelItems=null,l.beforeSetDimensions(),l.setDimensions(),l.afterSetDimensions(),l.beforeDataLimits(),l.determineDataLimits(),l.afterDataLimits(),l.beforeBuildTicks(),o=l.buildTicks()||[],(!(o=l.afterBuildTicks(o)||o)||!o.length)&&l.ticks)for(o=[],i=0,a=l.ticks.length;i<a;++i)o.push({value:l.ticks[i],major:!1});return l._ticks=o,s=d<o.length,r=l._convertTicksToLabels(s?function(t,e){for(var n=[],i=t.length/e,a=0,r=t.length;a<r;a+=i)n.push(t[Math.floor(a)]);return n}(o,d):o),l._configure(),l.beforeCalculateTickRotation(),l.calculateTickRotation(),l.afterCalculateTickRotation(),l.beforeFit(),l.fit(),l.afterFit(),l._ticksToDraw=u.display&&(u.autoSkip||"auto"===u.source)?l._autoSkip(o):o,s&&(r=l._convertTicksToLabels(l._ticksToDraw)),l.ticks=r,l.afterUpdate(),l.minSize},_configure:function(){var t,e,n=this,i=n.options.ticks.reverse;n.isHorizontal()?(t=n.left,e=n.right):(t=n.top,e=n.bottom,i=!i),n._startPixel=t,n._endPixel=e,n._reversePixels=i,n._length=e-t},afterUpdate:function(){H.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){H.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0},afterSetDimensions:function(){H.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){H.callback(this.options.beforeDataLimits,[this])},determineDataLimits:H.noop,afterDataLimits:function(){H.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){H.callback(this.options.beforeBuildTicks,[this])},buildTicks:H.noop,afterBuildTicks:function(t){var e=this;return sn(t)&&t.length?H.callback(e.options.afterBuildTicks,[e,t]):(e.ticks=H.callback(e.options.afterBuildTicks,[e,e.ticks])||e.ticks,t)},beforeTickToLabelConversion:function(){H.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this.options.ticks;this.ticks=this.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){H.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){H.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t,e,n,i,a,r,o,s=this,l=s.options,u=l.ticks,d=s.getTicks().length,h=u.minRotation||0,c=u.maxRotation,f=h;!s._isVisible()||!u.display||h>=c||d<=1||!s.isHorizontal()?s.labelRotation=h:(e=(t=s._getLabelSizes()).widest.width,n=t.highest.height-t.highest.offset,i=Math.min(s.maxWidth,s.chart.width-e),e+6>(a=l.offset?s.maxWidth/d:i/(d-1))&&(a=i/(d-(l.offset?.5:1)),r=s.maxHeight-fn(l.gridLines)-u.padding-gn(l.scaleLabel),o=Math.sqrt(e*e+n*n),f=H.toDegrees(Math.min(Math.asin(Math.min((t.highest.height+6)/a,1)),Math.asin(Math.min(r/o,1))-Math.asin(n/o))),f=Math.max(h,Math.min(c,f))),s.labelRotation=f)},afterCalculateTickRotation:function(){H.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){H.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},n=t.chart,i=t.options,a=i.ticks,r=i.scaleLabel,o=i.gridLines,s=t._isVisible(),l="bottom"===i.position,u=t.isHorizontal();if(u?e.width=t.maxWidth:s&&(e.width=fn(o)+gn(r)),u?s&&(e.height=fn(o)+gn(r)):e.height=t.maxHeight,a.display&&s){var d=mn(a),h=t._getLabelSizes(),c=h.first,f=h.last,g=h.widest,p=h.highest,m=.4*d.minor.lineHeight,v=a.padding;if(u){var b=0!==t.labelRotation,x=H.toRadians(t.labelRotation),y=Math.cos(x),_=Math.sin(x),k=_*g.width+y*(p.height-(b?p.offset:0))+(b?0:m);e.height=Math.min(t.maxHeight,e.height+k+v);var w,M,S=t.getPixelForTick(0)-t.left,C=t.right-t.getPixelForTick(t.getTicks().length-1);b?(w=l?y*c.width+_*c.offset:_*(c.height-c.offset),M=l?_*(f.height-f.offset):y*f.width+_*f.offset):(w=c.width/2,M=f.width/2),t.paddingLeft=Math.max((w-S)*t.width/(t.width-S),0)+3,t.paddingRight=Math.max((M-C)*t.width/(t.width-C),0)+3}else{var P=a.mirror?0:g.width+v+m;e.width=Math.min(t.maxWidth,e.width+P),t.paddingTop=c.height/2,t.paddingBottom=f.height/2}}t.handleMargins(),u?(t.width=t._length=n.width-t.margins.left-t.margins.right,t.height=e.height):(t.width=e.width,t.height=t._length=n.height-t.margins.top-t.margins.bottom)},handleMargins:function(){var t=this;t.margins&&(t.margins.left=Math.max(t.paddingLeft,t.margins.left),t.margins.top=Math.max(t.paddingTop,t.margins.top),t.margins.right=Math.max(t.paddingRight,t.margins.right),t.margins.bottom=Math.max(t.paddingBottom,t.margins.bottom))},afterFit:function(){H.callback(this.options.afterFit,[this])},isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(ln(t))return NaN;if(("number"==typeof t||t instanceof Number)&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},_convertTicksToLabels:function(t){var e,n,i,a=this;for(a.ticks=t.map((function(t){return t.value})),a.beforeTickToLabelConversion(),e=a.convertTicksToLabels(t)||a.ticks,a.afterTickToLabelConversion(),n=0,i=t.length;n<i;++n)t[n].label=e[n];return e},_getLabelSizes:function(){var t=this,e=t._labelSizes;return e||(t._labelSizes=e=cn(t.ctx,mn(t.options.ticks),t.getTicks(),t.longestTextCache),t.longestLabelWidth=e.widest.width),e},_parseValue:function(t){var e,n,i,a;return sn(t)?(e=+this.getRightValue(t[0]),n=+this.getRightValue(t[1]),i=Math.min(e,n),a=Math.max(e,n)):(e=void 0,n=t=+this.getRightValue(t),i=t,a=t),{min:i,max:a,start:e,end:n}},_getScaleLabel:function(t){var e=this._parseValue(t);return void 0!==e.start?"["+e.start+", "+e.end+"]":+this.getRightValue(t)},getLabelForIndex:H.noop,getPixelForValue:H.noop,getValueForPixel:H.noop,getPixelForTick:function(t){var e=this.options.offset,n=this._ticks.length,i=1/Math.max(n-(e?0:1),1);return t<0||t>n-1?null:this.getPixelForDecimal(t*i+(e?i/2:0))},getPixelForDecimal:function(t){return this._reversePixels&&(t=1-t),this._startPixel+t*this._length},getDecimalForPixel:function(t){var e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0},_autoSkip:function(t){var e,n,i,a,r=this.options.ticks,o=this._length,s=r.maxTicksLimit||o/this._tickSize()+1,l=r.major.enabled?function(t){var e,n,i=[];for(e=0,n=t.length;e<n;e++)t[e].major&&i.push(e);return i}(t):[],u=l.length,d=l[0],h=l[u-1];if(u>s)return function(t,e,n){var i,a,r=0,o=e[0];for(n=Math.ceil(n),i=0;i<t.length;i++)a=t[i],i===o?(a._index=i,o=e[++r*n]):delete a.label}(t,l,u/s),vn(t);if(i=function(t,e,n,i){var a,r,o,s,l=function(t){var e,n,i=t.length;if(i<2)return!1;for(n=t[0],e=1;e<i;++e)if(t[e]-t[e-1]!==n)return!1;return n}(t),u=(e.length-1)/i;if(!l)return Math.max(u,1);for(o=0,s=(a=H.math._factorize(l)).length-1;o<s;o++)if((r=a[o])>u)return r;return Math.max(u,1)}(l,t,0,s),u>0){for(e=0,n=u-1;e<n;e++)bn(t,i,l[e],l[e+1]);return a=u>1?(h-d)/(u-1):null,bn(t,i,H.isNullOrUndef(a)?0:d-a,d),bn(t,i,h,H.isNullOrUndef(a)?t.length:h+a),vn(t)}return bn(t,i),vn(t)},_tickSize:function(){var t=this.options.ticks,e=H.toRadians(this.labelRotation),n=Math.abs(Math.cos(e)),i=Math.abs(Math.sin(e)),a=this._getLabelSizes(),r=t.autoSkipPadding||0,o=a?a.widest.width+r:0,s=a?a.highest.height+r:0;return this.isHorizontal()?s*n>o*i?o/n:s/i:s*i<o*n?s/n:o/i},_isVisible:function(){var t,e,n,i=this.chart,a=this.options.display;if("auto"!==a)return!!a;for(t=0,e=i.data.datasets.length;t<e;++t)if(i.isDatasetVisible(t)&&((n=i.getDatasetMeta(t)).xAxisID===this.id||n.yAxisID===this.id))return!0;return!1},_computeGridLineItems:function(t){var e,n,i,a,r,o,s,l,u,d,h,c,f,g,p,m,v,b=this,x=b.chart,y=b.options,_=y.gridLines,k=y.position,w=_.offsetGridLines,M=b.isHorizontal(),S=b._ticksToDraw,C=S.length+(w?1:0),P=fn(_),A=[],D=_.drawBorder?dn(_.lineWidth,0,0):0,T=D/2,I=H._alignPixel,F=function(t){return I(x,t,D)};for("top"===k?(e=F(b.bottom),s=b.bottom-P,u=e-T,h=F(t.top)+T,f=t.bottom):"bottom"===k?(e=F(b.top),h=t.top,f=F(t.bottom)-T,s=e+T,u=b.top+P):"left"===k?(e=F(b.right),o=b.right-P,l=e-T,d=F(t.left)+T,c=t.right):(e=F(b.left),d=t.left,c=F(t.right)-T,o=e+T,l=b.left+P),n=0;n<C;++n)i=S[n]||{},ln(i.label)&&n<S.length||(n===b.zeroLineIndex&&y.offset===w?(g=_.zeroLineWidth,p=_.zeroLineColor,m=_.zeroLineBorderDash||[],v=_.zeroLineBorderDashOffset||0):(g=dn(_.lineWidth,n,1),p=dn(_.color,n,"rgba(0,0,0,0.1)"),m=_.borderDash||[],v=_.borderDashOffset||0),void 0!==(a=hn(b,i._index||n,w))&&(r=I(x,a,g),M?o=l=d=c=r:s=u=h=f=r,A.push({tx1:o,ty1:s,tx2:l,ty2:u,x1:d,y1:h,x2:c,y2:f,width:g,color:p,borderDash:m,borderDashOffset:v})));return A.ticksLength=C,A.borderValue=e,A},_computeLabelItems:function(){var t,e,n,i,a,r,o,s,l,u,d,h,c=this,f=c.options,g=f.ticks,p=f.position,m=g.mirror,v=c.isHorizontal(),b=c._ticksToDraw,x=mn(g),y=g.padding,_=fn(f.gridLines),k=-H.toRadians(c.labelRotation),w=[];for("top"===p?(r=c.bottom-_-y,o=k?"left":"center"):"bottom"===p?(r=c.top+_+y,o=k?"right":"center"):"left"===p?(a=c.right-(m?0:_)-y,o=m?"left":"right"):(a=c.left+(m?0:_)+y,o=m?"right":"left"),t=0,e=b.length;t<e;++t)i=(n=b[t]).label,ln(i)||(s=c.getPixelForTick(n._index||t)+g.labelOffset,u=(l=n.major?x.major:x.minor).lineHeight,d=sn(i)?i.length:1,v?(a=s,h="top"===p?((k?1:.5)-d)*u:(k?0:.5)*u):(r=s,h=(1-d)*u/2),w.push({x:a,y:r,rotation:k,label:i,font:l,textOffset:h,textAlign:o}));return w},_drawGrid:function(t){var e=this,n=e.options.gridLines;if(n.display){var i,a,r,o,s,l=e.ctx,u=e.chart,d=H._alignPixel,h=n.drawBorder?dn(n.lineWidth,0,0):0,c=e._gridLineItems||(e._gridLineItems=e._computeGridLineItems(t));for(r=0,o=c.length;r<o;++r)i=(s=c[r]).width,a=s.color,i&&a&&(l.save(),l.lineWidth=i,l.strokeStyle=a,l.setLineDash&&(l.setLineDash(s.borderDash),l.lineDashOffset=s.borderDashOffset),l.beginPath(),n.drawTicks&&(l.moveTo(s.tx1,s.ty1),l.lineTo(s.tx2,s.ty2)),n.drawOnChartArea&&(l.moveTo(s.x1,s.y1),l.lineTo(s.x2,s.y2)),l.stroke(),l.restore());if(h){var f,g,p,m,v=h,b=dn(n.lineWidth,c.ticksLength-1,1),x=c.borderValue;e.isHorizontal()?(f=d(u,e.left,v)-v/2,g=d(u,e.right,b)+b/2,p=m=x):(p=d(u,e.top,v)-v/2,m=d(u,e.bottom,b)+b/2,f=g=x),l.lineWidth=h,l.strokeStyle=dn(n.color,0),l.beginPath(),l.moveTo(f,p),l.lineTo(g,m),l.stroke()}}},_drawLabels:function(){var t=this;if(t.options.ticks.display){var e,n,i,a,r,o,s,l,u=t.ctx,d=t._labelItems||(t._labelItems=t._computeLabelItems());for(e=0,i=d.length;e<i;++e){if(o=(r=d[e]).font,u.save(),u.translate(r.x,r.y),u.rotate(r.rotation),u.font=o.string,u.fillStyle=o.color,u.textBaseline="middle",u.textAlign=r.textAlign,s=r.label,l=r.textOffset,sn(s))for(n=0,a=s.length;n<a;++n)u.fillText(""+s[n],0,l),l+=o.lineHeight;else u.fillText(s,0,l);u.restore()}}},_drawTitle:function(){var t=this,e=t.ctx,n=t.options,i=n.scaleLabel;if(i.display){var a,r,o=un(i.fontColor,N.global.defaultFontColor),s=H.options._parseFont(i),l=H.options.toPadding(i.padding),u=s.lineHeight/2,d=n.position,h=0;if(t.isHorizontal())a=t.left+t.width/2,r="bottom"===d?t.bottom-u-l.bottom:t.top+u+l.top;else{var c="left"===d;a=c?t.left+u+l.top:t.right-u-l.top,r=t.top+t.height/2,h=c?-.5*Math.PI:.5*Math.PI}e.save(),e.translate(a,r),e.rotate(h),e.textAlign="center",e.textBaseline="middle",e.fillStyle=o,e.font=s.string,e.fillText(i.labelString,0,0),e.restore()}},draw:function(t){this._isVisible()&&(this._drawGrid(t),this._drawTitle(),this._drawLabels())},_layers:function(){var t=this,e=t.options,n=e.ticks&&e.ticks.z||0,i=e.gridLines&&e.gridLines.z||0;return t._isVisible()&&n!==i&&t.draw===t._draw?[{z:i,draw:function(){t._drawGrid.apply(t,arguments),t._drawTitle.apply(t,arguments)}},{z:n,draw:function(){t._drawLabels.apply(t,arguments)}}]:[{z:n,draw:function(){t.draw.apply(t,arguments)}}]},_getMatchingVisibleMetas:function(t){var e=this,n=e.isHorizontal();return e.chart._getSortedVisibleDatasetMetas().filter((function(i){return(!t||i.type===t)&&(n?i.xAxisID===e.id:i.yAxisID===e.id)}))}});xn.prototype._draw=xn.prototype.draw;var yn=xn,_n=H.isNullOrUndef,kn=yn.extend({determineDataLimits:function(){var t,e=this,n=e._getLabels(),i=e.options.ticks,a=i.min,r=i.max,o=0,s=n.length-1;void 0!==a&&(t=n.indexOf(a))>=0&&(o=t),void 0!==r&&(t=n.indexOf(r))>=0&&(s=t),e.minIndex=o,e.maxIndex=s,e.min=n[o],e.max=n[s]},buildTicks:function(){var t=this._getLabels(),e=this.minIndex,n=this.maxIndex;this.ticks=0===e&&n===t.length-1?t:t.slice(e,n+1)},getLabelForIndex:function(t,e){var n=this.chart;return n.getDatasetMeta(e).controller._getValueScaleId()===this.id?this.getRightValue(n.data.datasets[e].data[t]):this._getLabels()[t]},_configure:function(){var t=this,e=t.options.offset,n=t.ticks;yn.prototype._configure.call(t),t.isHorizontal()||(t._reversePixels=!t._reversePixels),n&&(t._startValue=t.minIndex-(e?.5:0),t._valueRange=Math.max(n.length-(e?0:1),1))},getPixelForValue:function(t,e,n){var i,a,r,o=this;return _n(e)||_n(n)||(t=o.chart.data.datasets[n].data[e]),_n(t)||(i=o.isHorizontal()?t.x:t.y),(void 0!==i||void 0!==t&&isNaN(e))&&(a=o._getLabels(),t=H.valueOrDefault(i,t),e=-1!==(r=a.indexOf(t))?r:e,isNaN(e)&&(e=t)),o.getPixelForDecimal((e-o._startValue)/o._valueRange)},getPixelForTick:function(t){var e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t],t+this.minIndex)},getValueForPixel:function(t){var e=Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange);return Math.min(Math.max(e,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}}),wn={position:"bottom"};kn._defaults=wn;var Mn=H.noop,Sn=H.isNullOrUndef;var Cn=yn.extend({getRightValue:function(t){return"string"==typeof t?+t:yn.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;if(e.beginAtZero){var n=H.sign(t.min),i=H.sign(t.max);n<0&&i<0?t.max=0:n>0&&i>0&&(t.min=0)}var a=void 0!==e.min||void 0!==e.suggestedMin,r=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(null===t.min?t.min=e.suggestedMin:t.min=Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(null===t.max?t.max=e.suggestedMax:t.max=Math.max(t.max,e.suggestedMax)),a!==r&&t.min>=t.max&&(a?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:function(){var t,e=this.options.ticks,n=e.stepSize,i=e.maxTicksLimit;return n?t=Math.ceil(this.max/n)-Math.floor(this.min/n)+1:(t=this._computeTickLimit(),i=i||11),i&&(t=Math.min(i,t)),t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:Mn,buildTicks:function(){var t=this,e=t.options.ticks,n=t.getTickLimit(),i={maxTicks:n=Math.max(2,n),min:e.min,max:e.max,precision:e.precision,stepSize:H.valueOrDefault(e.fixedStepSize,e.stepSize)},a=t.ticks=function(t,e){var n,i,a,r,o=[],s=t.stepSize,l=s||1,u=t.maxTicks-1,d=t.min,h=t.max,c=t.precision,f=e.min,g=e.max,p=H.niceNum((g-f)/u/l)*l;if(p<1e-14&&Sn(d)&&Sn(h))return[f,g];(r=Math.ceil(g/p)-Math.floor(f/p))>u&&(p=H.niceNum(r*p/u/l)*l),s||Sn(c)?n=Math.pow(10,H._decimalPlaces(p)):(n=Math.pow(10,c),p=Math.ceil(p*n)/n),i=Math.floor(f/p)*p,a=Math.ceil(g/p)*p,s&&(!Sn(d)&&H.almostWhole(d/p,p/1e3)&&(i=d),!Sn(h)&&H.almostWhole(h/p,p/1e3)&&(a=h)),r=(a-i)/p,r=H.almostEquals(r,Math.round(r),p/1e3)?Math.round(r):Math.ceil(r),i=Math.round(i*n)/n,a=Math.round(a*n)/n,o.push(Sn(d)?i:d);for(var m=1;m<r;++m)o.push(Math.round((i+m*p)*n)/n);return o.push(Sn(h)?a:h),o}(i,t);t.handleDirectionalChanges(),t.max=H.max(a),t.min=H.min(a),e.reverse?(a.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){var t=this;t.ticksAsNumbers=t.ticks.slice(),t.zeroLineIndex=t.ticks.indexOf(0),yn.prototype.convertTicksToLabels.call(t)},_configure:function(){var t,e=this,n=e.getTicks(),i=e.min,a=e.max;yn.prototype._configure.call(e),e.options.offset&&n.length&&(i-=t=(a-i)/Math.max(n.length-1,1)/2,a+=t),e._startValue=i,e._endValue=a,e._valueRange=a-i}}),Pn={position:"left",ticks:{callback:on.formatters.linear}};function An(t,e,n,i){var a,r,o=t.options,s=function(t,e,n){var i=[n.type,void 0===e&&void 0===n.stack?n.index:"",n.stack].join(".");return void 0===t[i]&&(t[i]={pos:[],neg:[]}),t[i]}(e,o.stacked,n),l=s.pos,u=s.neg,d=i.length;for(a=0;a<d;++a)r=t._parseValue(i[a]),isNaN(r.min)||isNaN(r.max)||n.data[a].hidden||(l[a]=l[a]||0,u[a]=u[a]||0,o.relativePoints?l[a]=100:r.min<0||r.max<0?u[a]+=r.min:l[a]+=r.max)}function Dn(t,e,n){var i,a,r=n.length;for(i=0;i<r;++i)a=t._parseValue(n[i]),isNaN(a.min)||isNaN(a.max)||e.data[i].hidden||(t.min=Math.min(t.min,a.min),t.max=Math.max(t.max,a.max))}var Tn=Cn.extend({determineDataLimits:function(){var t,e,n,i,a=this,r=a.options,o=a.chart.data.datasets,s=a._getMatchingVisibleMetas(),l=r.stacked,u={},d=s.length;if(a.min=Number.POSITIVE_INFINITY,a.max=Number.NEGATIVE_INFINITY,void 0===l)for(t=0;!l&&t<d;++t)l=void 0!==(e=s[t]).stack;for(t=0;t<d;++t)n=o[(e=s[t]).index].data,l?An(a,u,e,n):Dn(a,e,n);H.each(u,(function(t){i=t.pos.concat(t.neg),a.min=Math.min(a.min,H.min(i)),a.max=Math.max(a.max,H.max(i))})),a.min=H.isFinite(a.min)&&!isNaN(a.min)?a.min:0,a.max=H.isFinite(a.max)&&!isNaN(a.max)?a.max:1,a.handleTickRangeOptions()},_computeTickLimit:function(){var t;return this.isHorizontal()?Math.ceil(this.width/40):(t=H.options._parseFont(this.options.ticks),Math.ceil(this.height/t.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){return this.getPixelForDecimal((+this.getRightValue(t)-this._startValue)/this._valueRange)},getValueForPixel:function(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange},getPixelForTick:function(t){var e=this.ticksAsNumbers;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])}}),In=Pn;Tn._defaults=In;var Fn=H.valueOrDefault,On=H.math.log10;var Ln={position:"left",ticks:{callback:on.formatters.logarithmic}};function Rn(t,e){return H.isFinite(t)&&t>=0?t:e}var zn=yn.extend({determineDataLimits:function(){var t,e,n,i,a,r,o=this,s=o.options,l=o.chart,u=l.data.datasets,d=o.isHorizontal();function h(t){return d?t.xAxisID===o.id:t.yAxisID===o.id}o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,o.minNotZero=Number.POSITIVE_INFINITY;var c=s.stacked;if(void 0===c)for(t=0;t<u.length;t++)if(e=l.getDatasetMeta(t),l.isDatasetVisible(t)&&h(e)&&void 0!==e.stack){c=!0;break}if(s.stacked||c){var f={};for(t=0;t<u.length;t++){var g=[(e=l.getDatasetMeta(t)).type,void 0===s.stacked&&void 0===e.stack?t:"",e.stack].join(".");if(l.isDatasetVisible(t)&&h(e))for(void 0===f[g]&&(f[g]=[]),a=0,r=(i=u[t].data).length;a<r;a++){var p=f[g];n=o._parseValue(i[a]),isNaN(n.min)||isNaN(n.max)||e.data[a].hidden||n.min<0||n.max<0||(p[a]=p[a]||0,p[a]+=n.max)}}H.each(f,(function(t){if(t.length>0){var e=H.min(t),n=H.max(t);o.min=Math.min(o.min,e),o.max=Math.max(o.max,n)}}))}else for(t=0;t<u.length;t++)if(e=l.getDatasetMeta(t),l.isDatasetVisible(t)&&h(e))for(a=0,r=(i=u[t].data).length;a<r;a++)n=o._parseValue(i[a]),isNaN(n.min)||isNaN(n.max)||e.data[a].hidden||n.min<0||n.max<0||(o.min=Math.min(n.min,o.min),o.max=Math.max(n.max,o.max),0!==n.min&&(o.minNotZero=Math.min(n.min,o.minNotZero)));o.min=H.isFinite(o.min)?o.min:null,o.max=H.isFinite(o.max)?o.max:null,o.minNotZero=H.isFinite(o.minNotZero)?o.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;t.min=Rn(e.min,t.min),t.max=Rn(e.max,t.max),t.min===t.max&&(0!==t.min&&null!==t.min?(t.min=Math.pow(10,Math.floor(On(t.min))-1),t.max=Math.pow(10,Math.floor(On(t.max))+1)):(t.min=1,t.max=10)),null===t.min&&(t.min=Math.pow(10,Math.floor(On(t.max))-1)),null===t.max&&(t.max=0!==t.min?Math.pow(10,Math.floor(On(t.min))+1):10),null===t.minNotZero&&(t.min>0?t.minNotZero=t.min:t.max<1?t.minNotZero=Math.pow(10,Math.floor(On(t.max))):t.minNotZero=1)},buildTicks:function(){var t=this,e=t.options.ticks,n=!t.isHorizontal(),i={min:Rn(e.min),max:Rn(e.max)},a=t.ticks=function(t,e){var n,i,a=[],r=Fn(t.min,Math.pow(10,Math.floor(On(e.min)))),o=Math.floor(On(e.max)),s=Math.ceil(e.max/Math.pow(10,o));0===r?(n=Math.floor(On(e.minNotZero)),i=Math.floor(e.minNotZero/Math.pow(10,n)),a.push(r),r=i*Math.pow(10,n)):(n=Math.floor(On(r)),i=Math.floor(r/Math.pow(10,n)));var l=n<0?Math.pow(10,Math.abs(n)):1;do{a.push(r),10===++i&&(i=1,l=++n>=0?1:l),r=Math.round(i*Math.pow(10,n)*l)/l}while(n<o||n===o&&i<s);var u=Fn(t.max,r);return a.push(u),a}(i,t);t.max=H.max(a),t.min=H.min(a),e.reverse?(n=!n,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),n&&a.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),yn.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){var e=this.tickValues;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])},_getFirstTickValue:function(t){var e=Math.floor(On(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},_configure:function(){var t=this,e=t.min,n=0;yn.prototype._configure.call(t),0===e&&(e=t._getFirstTickValue(t.minNotZero),n=Fn(t.options.ticks.fontSize,N.global.defaultFontSize)/t._length),t._startValue=On(e),t._valueOffset=n,t._valueRange=(On(t.max)-On(e))/(1-n)},getPixelForValue:function(t){var e=this,n=0;return(t=+e.getRightValue(t))>e.min&&t>0&&(n=(On(t)-e._startValue)/e._valueRange+e._valueOffset),e.getPixelForDecimal(n)},getValueForPixel:function(t){var e=this,n=e.getDecimalForPixel(t);return 0===n&&0===e.min?0:Math.pow(10,e._startValue+(n-e._valueOffset)*e._valueRange)}}),Nn=Ln;zn._defaults=Nn;var Bn=H.valueOrDefault,En=H.valueAtIndexOrDefault,Wn=H.options.resolve,Vn={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:on.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function Hn(t){var e=t.ticks;return e.display&&t.display?Bn(e.fontSize,N.global.defaultFontSize)+2*e.backdropPaddingY:0}function jn(t,e,n,i,a){return t===i||t===a?{start:e-n/2,end:e+n/2}:t<i||t>a?{start:e-n,end:e}:{start:e,end:e+n}}function qn(t){return 0===t||180===t?"center":t<180?"left":"right"}function Un(t,e,n,i){var a,r,o=n.y+i/2;if(H.isArray(e))for(a=0,r=e.length;a<r;++a)t.fillText(e[a],n.x,o),o+=i;else t.fillText(e,n.x,o)}function Yn(t,e,n){90===t||270===t?n.y-=e.h/2:(t>270||t<90)&&(n.y-=e.h)}function Gn(t){return H.isNumber(t)?t:0}var Xn=Cn.extend({setDimensions:function(){var t=this;t.width=t.maxWidth,t.height=t.maxHeight,t.paddingTop=Hn(t.options)/2,t.xCenter=Math.floor(t.width/2),t.yCenter=Math.floor((t.height-t.paddingTop)/2),t.drawingArea=Math.min(t.height-t.paddingTop,t.width)/2},determineDataLimits:function(){var t=this,e=t.chart,n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;H.each(e.data.datasets,(function(a,r){if(e.isDatasetVisible(r)){var o=e.getDatasetMeta(r);H.each(a.data,(function(e,a){var r=+t.getRightValue(e);isNaN(r)||o.data[a].hidden||(n=Math.min(r,n),i=Math.max(r,i))}))}})),t.min=n===Number.POSITIVE_INFINITY?0:n,t.max=i===Number.NEGATIVE_INFINITY?0:i,t.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/Hn(this.options))},convertTicksToLabels:function(){var t=this;Cn.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map((function(){var e=H.callback(t.options.pointLabels.callback,arguments,t);return e||0===e?e:""}))},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t=this.options;t.display&&t.pointLabels.display?function(t){var e,n,i,a=H.options._parseFont(t.options.pointLabels),r={l:0,r:t.width,t:0,b:t.height-t.paddingTop},o={};t.ctx.font=a.string,t._pointLabelSizes=[];var s,l,u,d=t.chart.data.labels.length;for(e=0;e<d;e++){i=t.getPointPosition(e,t.drawingArea+5),s=t.ctx,l=a.lineHeight,u=t.pointLabels[e],n=H.isArray(u)?{w:H.longestText(s,s.font,u),h:u.length*l}:{w:s.measureText(u).width,h:l},t._pointLabelSizes[e]=n;var h=t.getIndexAngle(e),c=H.toDegrees(h)%360,f=jn(c,i.x,n.w,0,180),g=jn(c,i.y,n.h,90,270);f.start<r.l&&(r.l=f.start,o.l=h),f.end>r.r&&(r.r=f.end,o.r=h),g.start<r.t&&(r.t=g.start,o.t=h),g.end>r.b&&(r.b=g.end,o.b=h)}t.setReductions(t.drawingArea,r,o)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(t,e,n){var i=this,a=e.l/Math.sin(n.l),r=Math.max(e.r-i.width,0)/Math.sin(n.r),o=-e.t/Math.cos(n.t),s=-Math.max(e.b-(i.height-i.paddingTop),0)/Math.cos(n.b);a=Gn(a),r=Gn(r),o=Gn(o),s=Gn(s),i.drawingArea=Math.min(Math.floor(t-(a+r)/2),Math.floor(t-(o+s)/2)),i.setCenterPoint(a,r,o,s)},setCenterPoint:function(t,e,n,i){var a=this,r=a.width-e-a.drawingArea,o=t+a.drawingArea,s=n+a.drawingArea,l=a.height-a.paddingTop-i-a.drawingArea;a.xCenter=Math.floor((o+r)/2+a.left),a.yCenter=Math.floor((s+l)/2+a.top+a.paddingTop)},getIndexAngle:function(t){var e=this.chart,n=(t*(360/e.data.labels.length)+((e.options||{}).startAngle||0))%360;return(n<0?n+360:n)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(H.isNullOrUndef(t))return NaN;var n=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*n:(t-e.min)*n},getPointPosition:function(t,e){var n=this.getIndexAngle(t)-Math.PI/2;return{x:Math.cos(n)*e+this.xCenter,y:Math.sin(n)*e+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(t){var e=this.min,n=this.max;return this.getPointPositionForValue(t||0,this.beginAtZero?0:e<0&&n<0?n:e>0&&n>0?e:0)},_drawGrid:function(){var t,e,n,i=this,a=i.ctx,r=i.options,o=r.gridLines,s=r.angleLines,l=Bn(s.lineWidth,o.lineWidth),u=Bn(s.color,o.color);if(r.pointLabels.display&&function(t){var e=t.ctx,n=t.options,i=n.pointLabels,a=Hn(n),r=t.getDistanceFromCenterForValue(n.ticks.reverse?t.min:t.max),o=H.options._parseFont(i);e.save(),e.font=o.string,e.textBaseline="middle";for(var s=t.chart.data.labels.length-1;s>=0;s--){var l=0===s?a/2:0,u=t.getPointPosition(s,r+l+5),d=En(i.fontColor,s,N.global.defaultFontColor);e.fillStyle=d;var h=t.getIndexAngle(s),c=H.toDegrees(h);e.textAlign=qn(c),Yn(c,t._pointLabelSizes[s],u),Un(e,t.pointLabels[s],u,o.lineHeight)}e.restore()}(i),o.display&&H.each(i.ticks,(function(t,n){0!==n&&(e=i.getDistanceFromCenterForValue(i.ticksAsNumbers[n]),function(t,e,n,i){var a,r=t.ctx,o=e.circular,s=t.chart.data.labels.length,l=En(e.color,i-1),u=En(e.lineWidth,i-1);if((o||s)&&l&&u){if(r.save(),r.strokeStyle=l,r.lineWidth=u,r.setLineDash&&(r.setLineDash(e.borderDash||[]),r.lineDashOffset=e.borderDashOffset||0),r.beginPath(),o)r.arc(t.xCenter,t.yCenter,n,0,2*Math.PI);else{a=t.getPointPosition(0,n),r.moveTo(a.x,a.y);for(var d=1;d<s;d++)a=t.getPointPosition(d,n),r.lineTo(a.x,a.y)}r.closePath(),r.stroke(),r.restore()}}(i,o,e,n))})),s.display&&l&&u){for(a.save(),a.lineWidth=l,a.strokeStyle=u,a.setLineDash&&(a.setLineDash(Wn([s.borderDash,o.borderDash,[]])),a.lineDashOffset=Wn([s.borderDashOffset,o.borderDashOffset,0])),t=i.chart.data.labels.length-1;t>=0;t--)e=i.getDistanceFromCenterForValue(r.ticks.reverse?i.min:i.max),n=i.getPointPosition(t,e),a.beginPath(),a.moveTo(i.xCenter,i.yCenter),a.lineTo(n.x,n.y),a.stroke();a.restore()}},_drawLabels:function(){var t=this,e=t.ctx,n=t.options.ticks;if(n.display){var i,a,r=t.getIndexAngle(0),o=H.options._parseFont(n),s=Bn(n.fontColor,N.global.defaultFontColor);e.save(),e.font=o.string,e.translate(t.xCenter,t.yCenter),e.rotate(r),e.textAlign="center",e.textBaseline="middle",H.each(t.ticks,(function(r,l){(0!==l||n.reverse)&&(i=t.getDistanceFromCenterForValue(t.ticksAsNumbers[l]),n.showLabelBackdrop&&(a=e.measureText(r).width,e.fillStyle=n.backdropColor,e.fillRect(-a/2-n.backdropPaddingX,-i-o.size/2-n.backdropPaddingY,a+2*n.backdropPaddingX,o.size+2*n.backdropPaddingY)),e.fillStyle=s,e.fillText(r,0,-i))})),e.restore()}},_drawTitle:H.noop}),Kn=Vn;Xn._defaults=Kn;var Zn=H._deprecated,$n=H.options.resolve,Jn=H.valueOrDefault,Qn=Number.MIN_SAFE_INTEGER||-9007199254740991,ti=Number.MAX_SAFE_INTEGER||9007199254740991,ei={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},ni=Object.keys(ei);function ii(t,e){return t-e}function ai(t){return H.valueOrDefault(t.time.min,t.ticks.min)}function ri(t){return H.valueOrDefault(t.time.max,t.ticks.max)}function oi(t,e,n,i){var a=function(t,e,n){for(var i,a,r,o=0,s=t.length-1;o>=0&&o<=s;){if(a=t[(i=o+s>>1)-1]||null,r=t[i],!a)return{lo:null,hi:r};if(r[e]<n)o=i+1;else{if(!(a[e]>n))return{lo:a,hi:r};s=i-1}}return{lo:r,hi:null}}(t,e,n),r=a.lo?a.hi?a.lo:t[t.length-2]:t[0],o=a.lo?a.hi?a.hi:t[t.length-1]:t[1],s=o[e]-r[e],l=s?(n-r[e])/s:0,u=(o[i]-r[i])*l;return r[i]+u}function si(t,e){var n=t._adapter,i=t.options.time,a=i.parser,r=a||i.format,o=e;return"function"==typeof a&&(o=a(o)),H.isFinite(o)||(o="string"==typeof r?n.parse(o,r):n.parse(o)),null!==o?+o:(a||"function"!=typeof r||(o=r(e),H.isFinite(o)||(o=n.parse(o))),o)}function li(t,e){if(H.isNullOrUndef(e))return null;var n=t.options.time,i=si(t,t.getRightValue(e));return null===i?i:(n.round&&(i=+t._adapter.startOf(i,n.round)),i)}function ui(t,e,n,i){var a,r,o,s=ni.length;for(a=ni.indexOf(t);a<s-1;++a)if(o=(r=ei[ni[a]]).steps?r.steps:ti,r.common&&Math.ceil((n-e)/(o*r.size))<=i)return ni[a];return ni[s-1]}function di(t,e,n){var i,a,r=[],o={},s=e.length;for(i=0;i<s;++i)o[a=e[i]]=i,r.push({value:a,major:!1});return 0!==s&&n?function(t,e,n,i){var a,r,o=t._adapter,s=+o.startOf(e[0].value,i),l=e[e.length-1].value;for(a=s;a<=l;a=+o.add(a,1,i))(r=n[a])>=0&&(e[r].major=!0);return e}(t,r,o,n):r}var hi=yn.extend({initialize:function(){this.mergeTicksOptions(),yn.prototype.initialize.call(this)},update:function(){var t=this,e=t.options,n=e.time||(e.time={}),i=t._adapter=new rn._date(e.adapters.date);return Zn("time scale",n.format,"time.format","time.parser"),Zn("time scale",n.min,"time.min","ticks.min"),Zn("time scale",n.max,"time.max","ticks.max"),H.mergeIf(n.displayFormats,i.formats()),yn.prototype.update.apply(t,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),yn.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,n,i,a,r,o,s=this,l=s.chart,u=s._adapter,d=s.options,h=d.time.unit||"day",c=ti,f=Qn,g=[],p=[],m=[],v=s._getLabels();for(t=0,n=v.length;t<n;++t)m.push(li(s,v[t]));for(t=0,n=(l.data.datasets||[]).length;t<n;++t)if(l.isDatasetVisible(t))if(a=l.data.datasets[t].data,H.isObject(a[0]))for(p[t]=[],e=0,i=a.length;e<i;++e)r=li(s,a[e]),g.push(r),p[t][e]=r;else p[t]=m.slice(0),o||(g=g.concat(m),o=!0);else p[t]=[];m.length&&(c=Math.min(c,m[0]),f=Math.max(f,m[m.length-1])),g.length&&(g=n>1?function(t){var e,n,i,a={},r=[];for(e=0,n=t.length;e<n;++e)a[i=t[e]]||(a[i]=!0,r.push(i));return r}(g).sort(ii):g.sort(ii),c=Math.min(c,g[0]),f=Math.max(f,g[g.length-1])),c=li(s,ai(d))||c,f=li(s,ri(d))||f,c=c===ti?+u.startOf(Date.now(),h):c,f=f===Qn?+u.endOf(Date.now(),h)+1:f,s.min=Math.min(c,f),s.max=Math.max(c+1,f),s._table=[],s._timestamps={data:g,datasets:p,labels:m}},buildTicks:function(){var t,e,n,i=this,a=i.min,r=i.max,o=i.options,s=o.ticks,l=o.time,u=i._timestamps,d=[],h=i.getLabelCapacity(a),c=s.source,f=o.distribution;for(u="data"===c||"auto"===c&&"series"===f?u.data:"labels"===c?u.labels:function(t,e,n,i){var a,r=t._adapter,o=t.options,s=o.time,l=s.unit||ui(s.minUnit,e,n,i),u=$n([s.stepSize,s.unitStepSize,1]),d="week"===l&&s.isoWeekday,h=e,c=[];if(d&&(h=+r.startOf(h,"isoWeek",d)),h=+r.startOf(h,d?"day":l),r.diff(n,e,l)>1e5*u)throw e+" and "+n+" are too far apart with stepSize of "+u+" "+l;for(a=h;a<n;a=+r.add(a,u,l))c.push(a);return a!==n&&"ticks"!==o.bounds||c.push(a),c}(i,a,r,h),"ticks"===o.bounds&&u.length&&(a=u[0],r=u[u.length-1]),a=li(i,ai(o))||a,r=li(i,ri(o))||r,t=0,e=u.length;t<e;++t)(n=u[t])>=a&&n<=r&&d.push(n);return i.min=a,i.max=r,i._unit=l.unit||(s.autoSkip?ui(l.minUnit,i.min,i.max,h):function(t,e,n,i,a){var r,o;for(r=ni.length-1;r>=ni.indexOf(n);r--)if(o=ni[r],ei[o].common&&t._adapter.diff(a,i,o)>=e-1)return o;return ni[n?ni.indexOf(n):0]}(i,d.length,l.minUnit,i.min,i.max)),i._majorUnit=s.major.enabled&&"year"!==i._unit?function(t){for(var e=ni.indexOf(t)+1,n=ni.length;e<n;++e)if(ei[ni[e]].common)return ni[e]}(i._unit):void 0,i._table=function(t,e,n,i){if("linear"===i||!t.length)return[{time:e,pos:0},{time:n,pos:1}];var a,r,o,s,l,u=[],d=[e];for(a=0,r=t.length;a<r;++a)(s=t[a])>e&&s<n&&d.push(s);for(d.push(n),a=0,r=d.length;a<r;++a)l=d[a+1],o=d[a-1],s=d[a],void 0!==o&&void 0!==l&&Math.round((l+o)/2)===s||u.push({time:s,pos:a/(r-1)});return u}(i._timestamps.data,a,r,f),i._offsets=function(t,e,n,i,a){var r,o,s=0,l=0;return a.offset&&e.length&&(r=oi(t,"time",e[0],"pos"),s=1===e.length?1-r:(oi(t,"time",e[1],"pos")-r)/2,o=oi(t,"time",e[e.length-1],"pos"),l=1===e.length?o:(o-oi(t,"time",e[e.length-2],"pos"))/2),{start:s,end:l,factor:1/(s+1+l)}}(i._table,d,0,0,o),s.reverse&&d.reverse(),di(i,d,i._majorUnit)},getLabelForIndex:function(t,e){var n=this,i=n._adapter,a=n.chart.data,r=n.options.time,o=a.labels&&t<a.labels.length?a.labels[t]:"",s=a.datasets[e].data[t];return H.isObject(s)&&(o=n.getRightValue(s)),r.tooltipFormat?i.format(si(n,o),r.tooltipFormat):"string"==typeof o?o:i.format(si(n,o),r.displayFormats.datetime)},tickFormatFunction:function(t,e,n,i){var a=this._adapter,r=this.options,o=r.time.displayFormats,s=o[this._unit],l=this._majorUnit,u=o[l],d=n[e],h=r.ticks,c=l&&u&&d&&d.major,f=a.format(t,i||(c?u:s)),g=c?h.major:h.minor,p=$n([g.callback,g.userCallback,h.callback,h.userCallback]);return p?p(f,e,n):f},convertTicksToLabels:function(t){var e,n,i=[];for(e=0,n=t.length;e<n;++e)i.push(this.tickFormatFunction(t[e].value,e,t));return i},getPixelForOffset:function(t){var e=this._offsets,n=oi(this._table,"time",t,"pos");return this.getPixelForDecimal((e.start+n)*e.factor)},getPixelForValue:function(t,e,n){var i=null;if(void 0!==e&&void 0!==n&&(i=this._timestamps.datasets[n][e]),null===i&&(i=li(this,t)),null!==i)return this.getPixelForOffset(i)},getPixelForTick:function(t){var e=this.getTicks();return t>=0&&t<e.length?this.getPixelForOffset(e[t].value):null},getValueForPixel:function(t){var e=this._offsets,n=this.getDecimalForPixel(t)/e.factor-e.end,i=oi(this._table,"pos",n,"time");return this._adapter._create(i)},_getLabelSize:function(t){var e=this.options.ticks,n=this.ctx.measureText(t).width,i=H.toRadians(this.isHorizontal()?e.maxRotation:e.minRotation),a=Math.cos(i),r=Math.sin(i),o=Jn(e.fontSize,N.global.defaultFontSize);return{w:n*a+o*r,h:n*r+o*a}},getLabelWidth:function(t){return this._getLabelSize(t).w},getLabelCapacity:function(t){var e=this,n=e.options.time,i=n.displayFormats,a=i[n.unit]||i.millisecond,r=e.tickFormatFunction(t,0,di(e,[t],e._majorUnit),a),o=e._getLabelSize(r),s=Math.floor(e.isHorizontal()?e.width/o.w:e.height/o.h);return e.options.offset&&s--,s>0?s:1}}),ci={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};hi._defaults=ci;var fi={category:kn,linear:Tn,logarithmic:zn,radialLinear:Xn,time:hi},gi={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};rn._date.override("function"==typeof t?{_id:"moment",formats:function(){return gi},parse:function(e,n){return"string"==typeof e&&"string"==typeof n?e=t(e,n):e instanceof t||(e=t(e)),e.isValid()?e.valueOf():null},format:function(e,n){return t(e).format(n)},add:function(e,n,i){return t(e).add(n,i).valueOf()},diff:function(e,n,i){return t(e).diff(t(n),i)},startOf:function(e,n,i){return e=t(e),"isoWeek"===n?e.isoWeekday(i).valueOf():e.startOf(n).valueOf()},endOf:function(e,n){return t(e).endOf(n).valueOf()},_create:function(e){return t(e)}}:{}),N._set("global",{plugins:{filler:{propagate:!0}}});var pi={dataset:function(t){var e=t.fill,n=t.chart,i=n.getDatasetMeta(e),a=i&&n.isDatasetVisible(e)&&i.dataset._children||[],r=a.length||0;return r?function(t,e){return e<r&&a[e]._view||null}:null},boundary:function(t){var e=t.boundary,n=e?e.x:null,i=e?e.y:null;return H.isArray(e)?function(t,n){return e[n]}:function(t){return{x:null===n?t.x:n,y:null===i?t.y:i}}}};function mi(t,e,n){var i,a=t._model||{},r=a.fill;if(void 0===r&&(r=!!a.backgroundColor),!1===r||null===r)return!1;if(!0===r)return"origin";if(i=parseFloat(r,10),isFinite(i)&&Math.floor(i)===i)return"-"!==r[0]&&"+"!==r[0]||(i=e+i),!(i===e||i<0||i>=n)&&i;switch(r){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return r;default:return!1}}function vi(t){return(t.el._scale||{}).getPointPositionForValue?function(t){var e,n,i,a,r,o=t.el._scale,s=o.options,l=o.chart.data.labels.length,u=t.fill,d=[];if(!l)return null;for(e=s.ticks.reverse?o.max:o.min,n=s.ticks.reverse?o.min:o.max,i=o.getPointPositionForValue(0,e),a=0;a<l;++a)r="start"===u||"end"===u?o.getPointPositionForValue(a,"start"===u?e:n):o.getBasePosition(a),s.gridLines.circular&&(r.cx=i.x,r.cy=i.y,r.angle=o.getIndexAngle(a)-Math.PI/2),d.push(r);return d}(t):function(t){var e,n=t.el._model||{},i=t.el._scale||{},a=t.fill,r=null;if(isFinite(a))return null;if("start"===a?r=void 0===n.scaleBottom?i.bottom:n.scaleBottom:"end"===a?r=void 0===n.scaleTop?i.top:n.scaleTop:void 0!==n.scaleZero?r=n.scaleZero:i.getBasePixel&&(r=i.getBasePixel()),null!=r){if(void 0!==r.x&&void 0!==r.y)return r;if(H.isFinite(r))return{x:(e=i.isHorizontal())?r:null,y:e?null:r}}return null}(t)}function bi(t,e,n){var i,a=t[e].fill,r=[e];if(!n)return a;for(;!1!==a&&-1===r.indexOf(a);){if(!isFinite(a))return a;if(!(i=t[a]))return!1;if(i.visible)return a;r.push(a),a=i.fill}return!1}function xi(t){var e=t.fill,n="dataset";return!1===e?null:(isFinite(e)||(n="boundary"),pi[n](t))}function yi(t){return t&&!t.skip}function _i(t,e,n,i,a){var r,o,s,l;if(i&&a){for(t.moveTo(e[0].x,e[0].y),r=1;r<i;++r)H.canvas.lineTo(t,e[r-1],e[r]);if(void 0===n[0].angle)for(t.lineTo(n[a-1].x,n[a-1].y),r=a-1;r>0;--r)H.canvas.lineTo(t,n[r],n[r-1],!0);else for(o=n[0].cx,s=n[0].cy,l=Math.sqrt(Math.pow(n[0].x-o,2)+Math.pow(n[0].y-s,2)),r=a-1;r>0;--r)t.arc(o,s,l,n[r].angle,n[r-1].angle,!0)}}function ki(t,e,n,i,a,r){var o,s,l,u,d,h,c,f,g=e.length,p=i.spanGaps,m=[],v=[],b=0,x=0;for(t.beginPath(),o=0,s=g;o<s;++o)d=n(u=e[l=o%g]._view,l,i),h=yi(u),c=yi(d),r&&void 0===f&&h&&(s=g+(f=o+1)),h&&c?(b=m.push(u),x=v.push(d)):b&&x&&(p?(h&&m.push(u),c&&v.push(d)):(_i(t,m,v,b,x),b=x=0,m=[],v=[]));_i(t,m,v,b,x),t.closePath(),t.fillStyle=a,t.fill()}var wi={id:"filler",afterDatasetsUpdate:function(t,e){var n,i,a,r,o=(t.data.datasets||[]).length,s=e.propagate,l=[];for(i=0;i<o;++i)r=null,(a=(n=t.getDatasetMeta(i)).dataset)&&a._model&&a instanceof kt.Line&&(r={visible:t.isDatasetVisible(i),fill:mi(a,i,o),chart:t,el:a}),n.$filler=r,l.push(r);for(i=0;i<o;++i)(r=l[i])&&(r.fill=bi(l,i,s),r.boundary=vi(r),r.mapper=xi(r))},beforeDatasetsDraw:function(t){var e,n,i,a,r,o,s,l=t._getSortedVisibleDatasetMetas(),u=t.ctx;for(n=l.length-1;n>=0;--n)(e=l[n].$filler)&&e.visible&&(a=(i=e.el)._view,r=i._children||[],o=e.mapper,s=a.backgroundColor||N.global.defaultColor,o&&s&&r.length&&(H.canvas.clipArea(u,t.chartArea),ki(u,r,o,a,s,i._loop),H.canvas.unclipArea(u)))}},Mi=H.rtl.getRtlAdapter,Si=H.noop,Ci=H.valueOrDefault;function Pi(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}N._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var n=e.datasetIndex,i=this.chart,a=i.getDatasetMeta(n);a.hidden=null===a.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data.datasets,n=t.options.legend||{},i=n.labels&&n.labels.usePointStyle;return t._getSortedDatasetMetas().map((function(n){var a=n.controller.getStyle(i?0:void 0);return{text:e[n.index].label,fillStyle:a.backgroundColor,hidden:!t.isDatasetVisible(n.index),lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOffset:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:a.borderWidth,strokeStyle:a.borderColor,pointStyle:a.pointStyle,rotation:a.rotation,datasetIndex:n.index}}),this)}}},legendCallback:function(t){var e,n,i,a=document.createElement("ul"),r=t.data.datasets;for(a.setAttribute("class",t.id+"-legend"),e=0,n=r.length;e<n;e++)(i=a.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=r[e].backgroundColor,r[e].label&&i.appendChild(document.createTextNode(r[e].label));return a.outerHTML}});var Ai=K.extend({initialize:function(t){H.extend(this,t),this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1},beforeUpdate:Si,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:Si,beforeSetDimensions:Si,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:Si,beforeBuildLabels:Si,buildLabels:function(){var t=this,e=t.options.labels||{},n=H.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(n=n.filter((function(n){return e.filter(n,t.chart.data)}))),t.options.reverse&&n.reverse(),t.legendItems=n},afterBuildLabels:Si,beforeFit:Si,fit:function(){var t=this,e=t.options,n=e.labels,i=e.display,a=t.ctx,r=H.options._parseFont(n),o=r.size,s=t.legendHitBoxes=[],l=t.minSize,u=t.isHorizontal();if(u?(l.width=t.maxWidth,l.height=i?10:0):(l.width=i?10:0,l.height=t.maxHeight),i){if(a.font=r.string,u){var d=t.lineWidths=[0],h=0;a.textAlign="left",a.textBaseline="middle",H.each(t.legendItems,(function(t,e){var i=Pi(n,o)+o/2+a.measureText(t.text).width;(0===e||d[d.length-1]+i+2*n.padding>l.width)&&(h+=o+n.padding,d[d.length-(e>0?0:1)]=0),s[e]={left:0,top:0,width:i,height:o},d[d.length-1]+=i+n.padding})),l.height+=h}else{var c=n.padding,f=t.columnWidths=[],g=t.columnHeights=[],p=n.padding,m=0,v=0;H.each(t.legendItems,(function(t,e){var i=Pi(n,o)+o/2+a.measureText(t.text).width;e>0&&v+o+2*c>l.height&&(p+=m+n.padding,f.push(m),g.push(v),m=0,v=0),m=Math.max(m,i),v+=o+c,s[e]={left:0,top:0,width:i,height:o}})),p+=m,f.push(m),g.push(v),l.width+=p}t.width=l.width,t.height=l.height}else t.width=l.width=t.height=l.height=0},afterFit:Si,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,n=e.labels,i=N.global,a=i.defaultColor,r=i.elements.line,o=t.height,s=t.columnHeights,l=t.width,u=t.lineWidths;if(e.display){var d,h=Mi(e.rtl,t.left,t.minSize.width),c=t.ctx,f=Ci(n.fontColor,i.defaultFontColor),g=H.options._parseFont(n),p=g.size;c.textAlign=h.textAlign("left"),c.textBaseline="middle",c.lineWidth=.5,c.strokeStyle=f,c.fillStyle=f,c.font=g.string;var m=Pi(n,p),v=t.legendHitBoxes,b=function(t,i){switch(e.align){case"start":return n.padding;case"end":return t-i;default:return(t-i+n.padding)/2}},x=t.isHorizontal();d=x?{x:t.left+b(l,u[0]),y:t.top+n.padding,line:0}:{x:t.left+n.padding,y:t.top+b(o,s[0]),line:0},H.rtl.overrideTextDirection(t.ctx,e.textDirection);var y=p+n.padding;H.each(t.legendItems,(function(e,i){var f=c.measureText(e.text).width,g=m+p/2+f,_=d.x,k=d.y;h.setWidth(t.minSize.width),x?i>0&&_+g+n.padding>t.left+t.minSize.width&&(k=d.y+=y,d.line++,_=d.x=t.left+b(l,u[d.line])):i>0&&k+y>t.top+t.minSize.height&&(_=d.x=_+t.columnWidths[d.line]+n.padding,d.line++,k=d.y=t.top+b(o,s[d.line]));var w=h.x(_);!function(t,e,i){if(!(isNaN(m)||m<=0)){c.save();var o=Ci(i.lineWidth,r.borderWidth);if(c.fillStyle=Ci(i.fillStyle,a),c.lineCap=Ci(i.lineCap,r.borderCapStyle),c.lineDashOffset=Ci(i.lineDashOffset,r.borderDashOffset),c.lineJoin=Ci(i.lineJoin,r.borderJoinStyle),c.lineWidth=o,c.strokeStyle=Ci(i.strokeStyle,a),c.setLineDash&&c.setLineDash(Ci(i.lineDash,r.borderDash)),n&&n.usePointStyle){var s=m*Math.SQRT2/2,l=h.xPlus(t,m/2),u=e+p/2;H.canvas.drawPoint(c,i.pointStyle,s,l,u,i.rotation)}else c.fillRect(h.leftForLtr(t,m),e,m,p),0!==o&&c.strokeRect(h.leftForLtr(t,m),e,m,p);c.restore()}}(w,k,e),v[i].left=h.leftForLtr(w,v[i].width),v[i].top=k,function(t,e,n,i){var a=p/2,r=h.xPlus(t,m+a),o=e+a;c.fillText(n.text,r,o),n.hidden&&(c.beginPath(),c.lineWidth=2,c.moveTo(r,o),c.lineTo(h.xPlus(r,i),o),c.stroke())}(w,k,e,f),x?d.x+=g+n.padding:d.y+=y})),H.rtl.restoreTextDirection(t.ctx,e.textDirection)}},_getLegendItemAt:function(t,e){var n,i,a,r=this;if(t>=r.left&&t<=r.right&&e>=r.top&&e<=r.bottom)for(a=r.legendHitBoxes,n=0;n<a.length;++n)if(t>=(i=a[n]).left&&t<=i.left+i.width&&e>=i.top&&e<=i.top+i.height)return r.legendItems[n];return null},handleEvent:function(t){var e,n=this,i=n.options,a="mouseup"===t.type?"click":t.type;if("mousemove"===a){if(!i.onHover&&!i.onLeave)return}else{if("click"!==a)return;if(!i.onClick)return}e=n._getLegendItemAt(t.x,t.y),"click"===a?e&&i.onClick&&i.onClick.call(n,t.native,e):(i.onLeave&&e!==n._hoveredItem&&(n._hoveredItem&&i.onLeave.call(n,t.native,n._hoveredItem),n._hoveredItem=e),i.onHover&&e&&i.onHover.call(n,t.native,e))}});function Di(t,e){var n=new Ai({ctx:t.ctx,options:e,chart:t});pe.configure(t,n,e),pe.addBox(t,n),t.legend=n}var Ti={id:"legend",_element:Ai,beforeInit:function(t){var e=t.options.legend;e&&Di(t,e)},beforeUpdate:function(t){var e=t.options.legend,n=t.legend;e?(H.mergeIf(e,N.global.legend),n?(pe.configure(t,n,e),n.options=e):Di(t,e)):n&&(pe.removeBox(t,n),delete t.legend)},afterEvent:function(t,e){var n=t.legend;n&&n.handleEvent(e)}},Ii=H.noop;N._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var Fi=K.extend({initialize:function(t){H.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:Ii,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:Ii,beforeSetDimensions:Ii,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:Ii,beforeBuildLabels:Ii,buildLabels:Ii,afterBuildLabels:Ii,beforeFit:Ii,fit:function(){var t,e=this,n=e.options,i=e.minSize={},a=e.isHorizontal();n.display?(t=(H.isArray(n.text)?n.text.length:1)*H.options._parseFont(n).lineHeight+2*n.padding,e.width=i.width=a?e.maxWidth:t,e.height=i.height=a?t:e.maxHeight):e.width=i.width=e.height=i.height=0},afterFit:Ii,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,n=t.options;if(n.display){var i,a,r,o=H.options._parseFont(n),s=o.lineHeight,l=s/2+n.padding,u=0,d=t.top,h=t.left,c=t.bottom,f=t.right;e.fillStyle=H.valueOrDefault(n.fontColor,N.global.defaultFontColor),e.font=o.string,t.isHorizontal()?(a=h+(f-h)/2,r=d+l,i=f-h):(a="left"===n.position?h+l:f-l,r=d+(c-d)/2,i=c-d,u=Math.PI*("left"===n.position?-.5:.5)),e.save(),e.translate(a,r),e.rotate(u),e.textAlign="center",e.textBaseline="middle";var g=n.text;if(H.isArray(g))for(var p=0,m=0;m<g.length;++m)e.fillText(g[m],0,p,i),p+=s;else e.fillText(g,0,0,i);e.restore()}}});function Oi(t,e){var n=new Fi({ctx:t.ctx,options:e,chart:t});pe.configure(t,n,e),pe.addBox(t,n),t.titleBlock=n}var Li={},Ri=wi,zi=Ti,Ni={id:"title",_element:Fi,beforeInit:function(t){var e=t.options.title;e&&Oi(t,e)},beforeUpdate:function(t){var e=t.options.title,n=t.titleBlock;e?(H.mergeIf(e,N.global.title),n?(pe.configure(t,n,e),n.options=e):Oi(t,e)):n&&(pe.removeBox(t,n),delete t.titleBlock)}};for(var Bi in Li.filler=Ri,Li.legend=zi,Li.title=Ni,en.helpers=H,function(){function t(t,e,n){var i;return"string"==typeof t?(i=parseInt(t,10),-1!==t.indexOf("%")&&(i=i/100*e.parentNode[n])):i=t,i}function e(t){return null!=t&&"none"!==t}function n(n,i,a){var r=document.defaultView,o=H._getParentNode(n),s=r.getComputedStyle(n)[i],l=r.getComputedStyle(o)[i],u=e(s),d=e(l),h=Number.POSITIVE_INFINITY;return u||d?Math.min(u?t(s,n,a):h,d?t(l,o,a):h):"none"}H.where=function(t,e){if(H.isArray(t)&&Array.prototype.filter)return t.filter(e);var n=[];return H.each(t,(function(t){e(t)&&n.push(t)})),n},H.findIndex=Array.prototype.findIndex?function(t,e,n){return t.findIndex(e,n)}:function(t,e,n){n=void 0===n?t:n;for(var i=0,a=t.length;i<a;++i)if(e.call(n,t[i],i,t))return i;return-1},H.findNextWhere=function(t,e,n){H.isNullOrUndef(n)&&(n=-1);for(var i=n+1;i<t.length;i++){var a=t[i];if(e(a))return a}},H.findPreviousWhere=function(t,e,n){H.isNullOrUndef(n)&&(n=t.length);for(var i=n-1;i>=0;i--){var a=t[i];if(e(a))return a}},H.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},H.almostEquals=function(t,e,n){return Math.abs(t-e)<n},H.almostWhole=function(t,e){var n=Math.round(t);return n-e<=t&&n+e>=t},H.max=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.max(t,e)}),Number.NEGATIVE_INFINITY)},H.min=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.min(t,e)}),Number.POSITIVE_INFINITY)},H.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0===(t=+t)||isNaN(t)?t:t>0?1:-1},H.toRadians=function(t){return t*(Math.PI/180)},H.toDegrees=function(t){return t*(180/Math.PI)},H._decimalPlaces=function(t){if(H.isFinite(t)){for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n}},H.getAngleFromPoint=function(t,e){var n=e.x-t.x,i=e.y-t.y,a=Math.sqrt(n*n+i*i),r=Math.atan2(i,n);return r<-.5*Math.PI&&(r+=2*Math.PI),{angle:r,distance:a}},H.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},H.aliasPixel=function(t){return t%2==0?0:.5},H._alignPixel=function(t,e,n){var i=t.currentDevicePixelRatio,a=n/2;return Math.round((e-a)*i)/i+a},H.splineCurve=function(t,e,n,i){var a=t.skip?e:t,r=e,o=n.skip?e:n,s=Math.sqrt(Math.pow(r.x-a.x,2)+Math.pow(r.y-a.y,2)),l=Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2)),u=s/(s+l),d=l/(s+l),h=i*(u=isNaN(u)?0:u),c=i*(d=isNaN(d)?0:d);return{previous:{x:r.x-h*(o.x-a.x),y:r.y-h*(o.y-a.y)},next:{x:r.x+c*(o.x-a.x),y:r.y+c*(o.y-a.y)}}},H.EPSILON=Number.EPSILON||1e-14,H.splineCurveMonotone=function(t){var e,n,i,a,r,o,s,l,u,d=(t||[]).map((function(t){return{model:t._model,deltaK:0,mK:0}})),h=d.length;for(e=0;e<h;++e)if(!(i=d[e]).model.skip){if(n=e>0?d[e-1]:null,(a=e<h-1?d[e+1]:null)&&!a.model.skip){var c=a.model.x-i.model.x;i.deltaK=0!==c?(a.model.y-i.model.y)/c:0}!n||n.model.skip?i.mK=i.deltaK:!a||a.model.skip?i.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(i.deltaK)?i.mK=0:i.mK=(n.deltaK+i.deltaK)/2}for(e=0;e<h-1;++e)i=d[e],a=d[e+1],i.model.skip||a.model.skip||(H.almostEquals(i.deltaK,0,this.EPSILON)?i.mK=a.mK=0:(r=i.mK/i.deltaK,o=a.mK/i.deltaK,(l=Math.pow(r,2)+Math.pow(o,2))<=9||(s=3/Math.sqrt(l),i.mK=r*s*i.deltaK,a.mK=o*s*i.deltaK)));for(e=0;e<h;++e)(i=d[e]).model.skip||(n=e>0?d[e-1]:null,a=e<h-1?d[e+1]:null,n&&!n.model.skip&&(u=(i.model.x-n.model.x)/3,i.model.controlPointPreviousX=i.model.x-u,i.model.controlPointPreviousY=i.model.y-u*i.mK),a&&!a.model.skip&&(u=(a.model.x-i.model.x)/3,i.model.controlPointNextX=i.model.x+u,i.model.controlPointNextY=i.model.y+u*i.mK))},H.nextItem=function(t,e,n){return n?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},H.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},H.niceNum=function(t,e){var n=Math.floor(H.log10(t)),i=t/Math.pow(10,n);return(e?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,n)},H.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},H.getRelativePosition=function(t,e){var n,i,a=t.originalEvent||t,r=t.target||t.srcElement,o=r.getBoundingClientRect(),s=a.touches;s&&s.length>0?(n=s[0].clientX,i=s[0].clientY):(n=a.clientX,i=a.clientY);var l=parseFloat(H.getStyle(r,"padding-left")),u=parseFloat(H.getStyle(r,"padding-top")),d=parseFloat(H.getStyle(r,"padding-right")),h=parseFloat(H.getStyle(r,"padding-bottom")),c=o.right-o.left-l-d,f=o.bottom-o.top-u-h;return{x:n=Math.round((n-o.left-l)/c*r.width/e.currentDevicePixelRatio),y:i=Math.round((i-o.top-u)/f*r.height/e.currentDevicePixelRatio)}},H.getConstraintWidth=function(t){return n(t,"max-width","clientWidth")},H.getConstraintHeight=function(t){return n(t,"max-height","clientHeight")},H._calculatePadding=function(t,e,n){return(e=H.getStyle(t,e)).indexOf("%")>-1?n*parseInt(e,10)/100:parseInt(e,10)},H._getParentNode=function(t){var e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e},H.getMaximumWidth=function(t){var e=H._getParentNode(t);if(!e)return t.clientWidth;var n=e.clientWidth,i=n-H._calculatePadding(e,"padding-left",n)-H._calculatePadding(e,"padding-right",n),a=H.getConstraintWidth(t);return isNaN(a)?i:Math.min(i,a)},H.getMaximumHeight=function(t){var e=H._getParentNode(t);if(!e)return t.clientHeight;var n=e.clientHeight,i=n-H._calculatePadding(e,"padding-top",n)-H._calculatePadding(e,"padding-bottom",n),a=H.getConstraintHeight(t);return isNaN(a)?i:Math.min(i,a)},H.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},H.retinaScale=function(t,e){var n=t.currentDevicePixelRatio=e||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var i=t.canvas,a=t.height,r=t.width;i.height=a*n,i.width=r*n,t.ctx.scale(n,n),i.style.height||i.style.width||(i.style.height=a+"px",i.style.width=r+"px")}},H.fontString=function(t,e,n){return e+" "+t+"px "+n},H.longestText=function(t,e,n,i){var a=(i=i||{}).data=i.data||{},r=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(a=i.data={},r=i.garbageCollect=[],i.font=e),t.font=e;var o,s,l,u,d,h=0,c=n.length;for(o=0;o<c;o++)if(null!=(u=n[o])&&!0!==H.isArray(u))h=H.measureText(t,a,r,h,u);else if(H.isArray(u))for(s=0,l=u.length;s<l;s++)null==(d=u[s])||H.isArray(d)||(h=H.measureText(t,a,r,h,d));var f=r.length/2;if(f>n.length){for(o=0;o<f;o++)delete a[r[o]];r.splice(0,f)}return h},H.measureText=function(t,e,n,i,a){var r=e[a];return r||(r=e[a]=t.measureText(a).width,n.push(a)),r>i&&(i=r),i},H.numberOfLabelLines=function(t){var e=1;return H.each(t,(function(t){H.isArray(t)&&t.length>e&&(e=t.length)})),e},H.color=_?function(t){return t instanceof CanvasGradient&&(t=N.global.defaultColor),_(t)}:function(t){return console.error("Color.js not found!"),t},H.getHoverColor=function(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:H.color(t).saturate(.5).darken(.1).rgbString()}}(),en._adapters=rn,en.Animation=$,en.animationService=J,en.controllers=Jt,en.DatasetController=it,en.defaults=N,en.Element=K,en.elements=kt,en.Interaction=re,en.layouts=pe,en.platform=Oe,en.plugins=Le,en.Scale=yn,en.scaleService=Re,en.Ticks=on,en.Tooltip=Ye,en.helpers.each(fi,(function(t,e){en.scaleService.registerScaleType(e,t,t._defaults)})),Li)Li.hasOwnProperty(Bi)&&en.plugins.register(Li[Bi]);en.platform.initialize();var Ei=en;return"undefined"!=typeof window&&(window.Chart=en),en.Chart=en,en.Legend=Li.legend._element,en.Title=Li.title._element,en.pluginService=en.plugins,en.PluginBase=en.Element.extend({}),en.canvasHelpers=en.helpers.canvas,en.layoutService=en.layouts,en.LinearScaleBase=Cn,en.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],(function(t){en[t]=function(e,n){return new en(e,en.helpers.merge(n||{},{type:t.charAt(0).toLowerCase()+t.slice(1)}))}})),Ei}));
assets/composer.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ {
2
+ "require": {
3
+ "mpdf/mpdf": "^8.0"
4
+ }
5
+ }
assets/css/admin.css ADDED
@@ -0,0 +1,1644 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ *
3
+ * Prefix everything
4
+ * Name descriptively
5
+ * Structure radically
6
+ *
7
+ * CSS Structure
8
+ * css/
9
+ * ├─ admin/
10
+ * │ ├─ base.less
11
+ * │ ├─ layout.less
12
+ * │ ├─ modules/
13
+ * │ │ ├─ button.less
14
+ * │ │ ├─ modal.less
15
+ * │ │ ├─ notices.less
16
+ * │ │ ├─ tips-and-tricks.less
17
+ * │ │ ├─ etc.....
18
+ * │ ├─ states.less
19
+ * │ ├─ theme.less
20
+ * ├─ admin.less
21
+ * ├─ admin.min.css
22
+ * ├─ admin.css
23
+ * ├─ variables.less
24
+ *
25
+ */
26
+ @gridblock _height_big: calc(auto + 20px);
27
+ :root {
28
+ --rsp-spacing-xxs: 5px;
29
+ --rsp-spacing-xs: 10px;
30
+ --rsp-spacing-s: 15px;
31
+ --rsp-spacing-m: 20px;
32
+ --rsp-spacing-l: 30px;
33
+ --rsp-spacing-xl: 40px;
34
+ --rsp-grid-margin: var(--rsp-spacing-xs);
35
+ --rsp-grid-gap: var(--rsp-spacing-m);
36
+ --rsp-border-radius: 12px;
37
+ --rsp-border-radius-s: 8px;
38
+ --rsp-border: 1px solid var(--rsp-border-color);
39
+ --rsp-box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
40
+ --rsp-border-color: #dfdfdf;
41
+ --rsp-black: #333;
42
+ --rsp-white: #fff;
43
+ --rsp-yellow: #f4bf3e;
44
+ --rsp-blue: #29b6f6;
45
+ --rsp-dark-blue: #1E73BE;
46
+ --rsp-green: #2e8a37;
47
+ --rsp-red: #D7263D;
48
+ --rsp-pink: #E35899;
49
+ --rsp-orange: #f39c12;
50
+ --rsp-wp-blue: #007cba;
51
+ --rsp-yellow-faded: #f2e6c9;
52
+ --rsp-blue-faded: #ecf8fe;
53
+ --rsp-dark-blue-faded: #ebf2f9;
54
+ --rsp-green-faded: #ecf4ed;
55
+ --rsp-red-faded: #fbebed;
56
+ --rsp-pink-faded: #fceff5;
57
+ --rsp-orange-faded: #fef5ea;
58
+ --rsp-wp-blue-faded: #c6e0ef;
59
+ --rsp-background-block-color: var(--rsp-white);
60
+ --rsp-background-color: #f0f0f1;
61
+ --rsp-input-background-color: #fff;
62
+ --rsp-input-text-color: var(--rsp-text-color);
63
+ --rsp-input-border-color: var(--rsp-grey-400);
64
+ --rsp-text-color: rgba(26, 26, 26, 0.9);
65
+ --rsp-text-color-invert: rgba(255, 255, 255, 0.9);
66
+ --rsp-text-color-white: rgba(255, 255, 255, 0.9);
67
+ --rsp-text-color-light: rgba(69, 69, 82, 0.9);
68
+ --rsp-grey-100: #fafafa;
69
+ --rsp-grey-200: #f9f9f9;
70
+ --rsp-grey-300: #ededed;
71
+ --rsp-grey-400: #c6c6c6;
72
+ --rsp-grey-500: #737373;
73
+ --rsp-grey-600: #696969;
74
+ --rsp-color-success: var(--rsp-green);
75
+ --rsp-color-error: var(--rsp-red);
76
+ --rsp-color-warning: var(--rsp-red);
77
+ --rsp-color-open: var(--rsp-yellow);
78
+ --rsp-color-disabled: var(--rsp-grey-300);
79
+ --rsp-fs-100: 0.6875rem;
80
+ --rsp-fs-200: 0.8rem;
81
+ --rsp-fs-300: 0.8125rem;
82
+ --rsp-fs-400: 0.875rem;
83
+ --rsp-fs-500: 1rem;
84
+ --rsp-fs-600: 1.125rem;
85
+ --rsp-fs-700: 1.25rem;
86
+ --rsp-fs-800: 1.5rem;
87
+ --rsp-fs-900: 2.5rem;
88
+ --rsp-brand-primary: var(--rsp-blue);
89
+ --rsp-brand-secondary: var(--rsp-yellow);
90
+ --rsp-brand-primary-faded: var(--rsp-blue-faded);
91
+ }
92
+ .cmplz-block {
93
+ background: var(--rsp-background-block-color);
94
+ box-shadow: var(--rsp-box-shadow);
95
+ border-radius: var(--rsp-border-radius);
96
+ }
97
+ .cmplz {
98
+ margin: 0;
99
+ font-size: var(--rsp-fs-300);
100
+ box-sizing: border-box;
101
+ line-height: 1.5;
102
+ }
103
+ .cmplz *,
104
+ .cmplz *:before,
105
+ .cmplz *:after {
106
+ box-sizing: inherit;
107
+ }
108
+ .cmplz body,
109
+ .cmplz h1,
110
+ .cmplz h2,
111
+ .cmplz h3,
112
+ .cmplz h4,
113
+ .cmplz h5,
114
+ .cmplz h6,
115
+ .cmplz p,
116
+ .cmplz ol,
117
+ .cmplz ul {
118
+ margin: 0;
119
+ padding: 0;
120
+ }
121
+ .cmplz img {
122
+ max-width: 100%;
123
+ height: auto;
124
+ }
125
+ .cmplz h1,
126
+ .cmplz h2,
127
+ .cmplz h3,
128
+ .cmplz h4,
129
+ .cmplz h5,
130
+ .cmplz h6 {
131
+ color: var(--rsp-text-color);
132
+ line-height: 1.5;
133
+ }
134
+ .cmplz .h0 {
135
+ font-size: var(--rsp-fs-900);
136
+ font-weight: 700;
137
+ letter-spacing: 0.025rem;
138
+ }
139
+ .cmplz h1,
140
+ .cmplz .h1 {
141
+ font-size: var(--rsp-fs-800);
142
+ line-height: 1.5;
143
+ font-weight: 500;
144
+ letter-spacing: 0.025rem;
145
+ }
146
+ .cmplz h2,
147
+ .cmplz .h2 {
148
+ font-size: var(--rsp-fs-700);
149
+ font-weight: 700;
150
+ letter-spacing: 0.025rem;
151
+ }
152
+ .cmplz h3,
153
+ .cmplz .h3 {
154
+ font-size: var(--rsp-fs-600);
155
+ font-weight: 600;
156
+ letter-spacing: 0.0125rem;
157
+ }
158
+ .cmplz h4,
159
+ .cmplz .h4 {
160
+ font-size: var(--rsp-fs-500);
161
+ font-weight: 600;
162
+ letter-spacing: 0.0125rem;
163
+ }
164
+ .cmplz h5,
165
+ .cmplz .h5 {
166
+ font-size: var(--rsp-fs-400);
167
+ font-weight: 400;
168
+ letter-spacing: 0.1px;
169
+ }
170
+ .cmplz h6,
171
+ .cmplz .h6 {
172
+ font-size: var(--rsp-fs-300);
173
+ letter-spacing: 0.1px;
174
+ }
175
+ .cmplz p {
176
+ color: var(--rsp-text-color);
177
+ font-weight: 400;
178
+ font-size: var(--rsp-fs-400);
179
+ line-height: 1.5;
180
+ }
181
+ .cmplz .small-text {
182
+ font-size: var(--rsp-fs-200);
183
+ line-height: 1.5;
184
+ color: var(--rsp-text-color-light);
185
+ }
186
+ .cmplz a {
187
+ font-size: 1em;
188
+ }
189
+ .cmplz .cmplz-notice-hook-element {
190
+ display: none !important;
191
+ }
192
+ .cmplz .error:not(.really-simple-plugins),
193
+ .cmplz .notice:not(.really-simple-plugins),
194
+ .cmplz .update-nag:not(.really-simple-plugins),
195
+ .cmplz .notice-info:not(.really-simple-plugins) {
196
+ display: none !important;
197
+ }
198
+ /* Grid */
199
+ .cmplz .cmplz-header,
200
+ .cmplz .cmplz-content-area {
201
+ max-width: calc(100% - var(--rsp-spacing-xl) * 4);
202
+ margin: 0 auto;
203
+ }
204
+ @media (max-width: 1599px) {
205
+ .cmplz .cmplz-header,
206
+ .cmplz .cmplz-content-area {
207
+ max-width: calc(100% - var(--rsp-spacing-xl) * 1);
208
+ }
209
+ }
210
+ @media (max-width: 1440px) {
211
+ .cmplz .cmplz-header,
212
+ .cmplz .cmplz-content-area {
213
+ max-width: calc(100% - var(--rsp-spacing-xl) * 2);
214
+ }
215
+ }
216
+ @media (max-width: 768px) {
217
+ .cmplz .cmplz-header,
218
+ .cmplz .cmplz-content-area {
219
+ max-width: calc(100% - var(--rsp-spacing-xl) * 1);
220
+ }
221
+ }
222
+ .cmplz .cmplz-header {
223
+ display: flex;
224
+ flex-wrap: wrap;
225
+ justify-content: space-between;
226
+ height: 70px;
227
+ box-sizing: border-box;
228
+ background-color: var(--rsp-background-block-color);
229
+ }
230
+ @media (max-width: 1279px) {
231
+ .cmplz .cmplz-header {
232
+ height: auto;
233
+ }
234
+ }
235
+ .cmplz .cmplz-header img {
236
+ margin: var(--rsp-spacing-m) 0;
237
+ }
238
+ .cmplz .cmplz-header-left {
239
+ display: flex;
240
+ font-size: var(--rsp-fs-400);
241
+ }
242
+ @media (max-width: 1279px) {
243
+ .cmplz .cmplz-header-left {
244
+ justify-content: center;
245
+ margin: var(--rsp-spacing-xs) 0;
246
+ order: 3;
247
+ width: 100%;
248
+ background-color: var(--rsp-background-block-color);
249
+ }
250
+ }
251
+ .cmplz .cmplz-header-left .cmplz-header-menu {
252
+ margin: auto 15px;
253
+ }
254
+ .cmplz .cmplz-header-left .cmplz-header-menu ul {
255
+ display: flex;
256
+ }
257
+ .cmplz .cmplz-header-left .cmplz-header-menu a {
258
+ padding: 23px 15px;
259
+ text-decoration: none;
260
+ color: var(--rsp-text-color);
261
+ height: 100%;
262
+ border-bottom: 4px solid transparent;
263
+ transition: border 0.3s ease-out;
264
+ box-sizing: border-box;
265
+ -moz-box-sizing: border-box;
266
+ -webkit-box-sizing: border-box;
267
+ }
268
+ @media (max-width: 1279px) {
269
+ .cmplz .cmplz-header-left .cmplz-header-menu a {
270
+ padding: 15px;
271
+ }
272
+ }
273
+ .cmplz .cmplz-header-left .cmplz-header-menu a.active {
274
+ border-bottom: 4px solid var(--rsp-brand-primary);
275
+ }
276
+ .cmplz .cmplz-header-left .cmplz-header-menu a:hover {
277
+ color: var(--rsp-brand-primary);
278
+ }
279
+ .cmplz .cmplz-header-right {
280
+ display: flex;
281
+ flex-wrap: wrap;
282
+ align-items: center;
283
+ margin-left: auto;
284
+ gap: var(--rsp-spacing-s);
285
+ }
286
+ .cmplz .cmplz-header-right select {
287
+ max-width: 60ch;
288
+ }
289
+ @media (max-width: 576px) {
290
+ .cmplz .cmplz-header-right .button {
291
+ display: none;
292
+ }
293
+ }
294
+ .cmplz .cmplz-content-area {
295
+ margin-top: calc(var(--rsp-grid-margin) * 2);
296
+ }
297
+ .cmplz .cmplz-header-container {
298
+ background: var(--rsp-background-block-color);
299
+ }
300
+ .cmplz .cmplz-grid {
301
+ display: grid;
302
+ grid-template-columns: repeat(4, calc(25% - var(--rsp-spacing-s)) [col-start]);
303
+ grid-auto-rows: max-content;
304
+ gap: var(--rsp-grid-gap);
305
+ min-height: calc(100vh - 32px - 80px - 20px - var(--rsp-grid-gap));
306
+ }
307
+ .cmplz .cmplz-grid-container {
308
+ background: var(--rsp-background-block-color);
309
+ box-shadow: var(--rsp-box-shadow);
310
+ border-radius: var(--rsp-border-radius);
311
+ display: flex;
312
+ flex-wrap: wrap;
313
+ justify-content: flex-start;
314
+ flex-direction: column;
315
+ flex-basis: 100%;
316
+ min-height: 100%;
317
+ grid-column: span 1;
318
+ grid-row: span 1;
319
+ }
320
+ .cmplz .cmplz-grid-container p {
321
+ font-size: var(--rsp-fs-300);
322
+ }
323
+ .cmplz .cmplz-grid-container.no-background {
324
+ background: none;
325
+ border: none;
326
+ box-shadow: none;
327
+ }
328
+ .cmplz .cmplz-grid-container.column-2 {
329
+ grid-column: span 2;
330
+ }
331
+ .cmplz .cmplz-grid-container.row-2 {
332
+ grid-row: span 2;
333
+ }
334
+ @media (max-width: 1599px) {
335
+ .cmplz .cmplz-grid-container {
336
+ grid-column: span 2;
337
+ }
338
+ .cmplz .cmplz-grid-container.cmplz-progress,
339
+ .cmplz .cmplz-grid-container.cmplz-overview {
340
+ grid-column: span 4;
341
+ }
342
+ }
343
+ @media (max-width: 992px) {
344
+ .cmplz .cmplz-grid-container {
345
+ grid-column: span 2;
346
+ }
347
+ .cmplz .cmplz-grid-container.column-2 {
348
+ grid-column: span 4;
349
+ }
350
+ }
351
+ @media (max-width: 768px) {
352
+ .cmplz .cmplz-grid-container {
353
+ grid-column: span 4;
354
+ }
355
+ }
356
+ .cmplz .cmplz-grid-header {
357
+ width: 100%;
358
+ box-sizing: border-box;
359
+ display: flex;
360
+ align-items: center;
361
+ justify-content: space-between;
362
+ padding: var(--rsp-spacing-m) var(--rsp-spacing-l);
363
+ }
364
+ @media (max-width: 1440px) {
365
+ .cmplz .cmplz-grid-header {
366
+ padding: var(--rsp-spacing-s) var(--rsp-spacing-m);
367
+ }
368
+ }
369
+ .cmplz .cmplz-grid-title,
370
+ .cmplz .cmplz-wizard-title .h4 {
371
+ margin: 4px 0 4px 0;
372
+ }
373
+ .cmplz .cmplz-grid-controls {
374
+ font-size: var(--rsp-fs-300);
375
+ display: flex;
376
+ gap: var(--rsp-spacing-s);
377
+ }
378
+ .cmplz .cmplz-grid-content {
379
+ width: 100%;
380
+ box-sizing: border-box;
381
+ padding: 0 var(--rsp-spacing-l);
382
+ flex-grow: 100;
383
+ }
384
+ @media (max-width: 1440px) {
385
+ .cmplz .cmplz-grid-content {
386
+ padding: 0 var(--rsp-spacing-m);
387
+ }
388
+ }
389
+ .cmplz .cmplz-grid-footer {
390
+ display: flex;
391
+ flex-wrap: wrap;
392
+ align-items: center;
393
+ justify-content: space-between;
394
+ gap: var(--rsp-grid-margin);
395
+ width: 100%;
396
+ min-height: calc(30px + var(--rsp-spacing-s) * 2);
397
+ box-sizing: border-box;
398
+ padding: var(--rsp-spacing-m) var(--rsp-spacing-l);
399
+ align-self: flex-end;
400
+ }
401
+ @media (max-width: 1440px) {
402
+ .cmplz .cmplz-grid-footer {
403
+ padding: var(--rsp-spacing-s) var(--rsp-spacing-m);
404
+ }
405
+ }
406
+ .cmplz .cmplz-grid-footer .cmplz-legend {
407
+ display: flex;
408
+ }
409
+ .cmplz .cmplz-grid-footer .cmplz-legend span {
410
+ padding-left: 5px;
411
+ }
412
+ .cmplz .cmplz-flex-push-right {
413
+ margin-left: auto;
414
+ }
415
+ .cmplz .cmplz-flex-push-left {
416
+ margin-right: auto;
417
+ }
418
+ .cmplz a.button,
419
+ .cmplz button.button,
420
+ .cmplz input.button {
421
+ font-size: var(--rsp-fs-300);
422
+ font-weight: 300;
423
+ letter-spacing: 0.5px;
424
+ transition: all 0.3s ease;
425
+ }
426
+ .cmplz a.button.button-black,
427
+ .cmplz button.button.button-black,
428
+ .cmplz input.button.button-black {
429
+ border: 0 solid transparent;
430
+ background: var(--rsp-black);
431
+ color: var(--rsp-text-color-white);
432
+ }
433
+ .cmplz a.button.button-black:hover,
434
+ .cmplz button.button.button-black:hover,
435
+ .cmplz input.button.button-black:hover,
436
+ .cmplz a.button.button-black:focus,
437
+ .cmplz button.button.button-black:focus,
438
+ .cmplz input.button.button-black:focus,
439
+ .cmplz a.button.button-black:active,
440
+ .cmplz button.button.button-black:active,
441
+ .cmplz input.button.button-black:active {
442
+ box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--rsp-black);
443
+ }
444
+ .cmplz a.button.button-tertiary,
445
+ .cmplz button.button.button-tertiary,
446
+ .cmplz input.button.button-tertiary,
447
+ .cmplz a.button.button-red,
448
+ .cmplz button.button.button-red,
449
+ .cmplz input.button.button-red {
450
+ border: 0 solid transparent;
451
+ background: var(--rsp-red);
452
+ color: var(--rsp-text-color-white);
453
+ }
454
+ .cmplz a.button.button-tertiary:hover,
455
+ .cmplz button.button.button-tertiary:hover,
456
+ .cmplz input.button.button-tertiary:hover,
457
+ .cmplz a.button.button-red:hover,
458
+ .cmplz button.button.button-red:hover,
459
+ .cmplz input.button.button-red:hover,
460
+ .cmplz a.button.button-tertiary:focus,
461
+ .cmplz button.button.button-tertiary:focus,
462
+ .cmplz input.button.button-tertiary:focus,
463
+ .cmplz a.button.button-red:focus,
464
+ .cmplz button.button.button-red:focus,
465
+ .cmplz input.button.button-red:focus,
466
+ .cmplz a.button.button-tertiary:active,
467
+ .cmplz button.button.button-tertiary:active,
468
+ .cmplz input.button.button-tertiary:active,
469
+ .cmplz a.button.button-red:active,
470
+ .cmplz button.button.button-red:active,
471
+ .cmplz input.button.button-red:active {
472
+ box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--rsp-red);
473
+ background: var(--rsp-red);
474
+ color: var(--rsp-text-color-white);
475
+ }
476
+ /* Documents overview */
477
+ .cmplz-shortcode {
478
+ right: 10000px;
479
+ position: absolute;
480
+ background-color: #fff;
481
+ padding: 0;
482
+ white-space: nowrap;
483
+ }
484
+ .shortcode {
485
+ cursor: pointer;
486
+ }
487
+ .cmplz-icon,
488
+ .cmplz-icon-tooltip {
489
+ display: flex;
490
+ align-items: center;
491
+ justify-content: center;
492
+ }
493
+ .cmplz-icon svg,
494
+ .cmplz-icon-tooltip svg {
495
+ fill: currentColor;
496
+ }
497
+ .cmplz-copy-shortcode {
498
+ cursor: pointer;
499
+ display: flex;
500
+ justify-content: center;
501
+ transition: transform 0.1s ease-in;
502
+ }
503
+ .cmplz-copy-shortcode.cmplz-click-animation .cmplz-icon {
504
+ animation: beat 0.4s ease-out;
505
+ }
506
+ @keyframes beat {
507
+ 0% {
508
+ transform: scale(1);
509
+ }
510
+ 50% {
511
+ transform: scale(0.8);
512
+ }
513
+ 95% {
514
+ transform: scale(1.1);
515
+ }
516
+ 100% {
517
+ transform: scale(1);
518
+ }
519
+ }
520
+ .cmplz-copy-shortcode-text {
521
+ right: 10000px;
522
+ position: absolute;
523
+ background-color: #fff;
524
+ padding: 0;
525
+ white-space: nowrap;
526
+ }
527
+ /**
528
+ Admin notice
529
+ */
530
+ .cmplz-admin-notice .cmplz-admin-notice-container {
531
+ display: flex;
532
+ padding: 12px;
533
+ align-items: center;
534
+ }
535
+ .cmplz-admin-notice .cmplz-admin-notice-container .cmplz-logo img {
536
+ margin-top: 0.5em;
537
+ }
538
+ .cmplz-admin-notice .cmplz-admin-notice-container .dashicons {
539
+ margin-left: 10px;
540
+ margin-right: 5px;
541
+ }
542
+ .cmplz .wrap .button.cmplz-header-btn {
543
+ margin-left: 6px;
544
+ margin-top: 20px;
545
+ }
546
+ .cmplz .cookie-snapshot {
547
+ grid-column-start: 1;
548
+ grid-column-end: 3;
549
+ background: var(--rsp-background-block-color);
550
+ box-shadow: var(--rsp-box-shadow);
551
+ border-radius: var(--rsp-border-radius);
552
+ padding: var(--rsp-spacing-m) var(--rsp-spacing-l);
553
+ }
554
+ .cmplz #cmplz-cookiestatement-snapshot-generate {
555
+ display: flex;
556
+ align-items: center;
557
+ gap: var(--rsp-spacing-s);
558
+ }
559
+ .cmplz .cmplz-proof-of-consent .search-box input[name="s"],
560
+ .cmplz .cmplz-records-of-consent .search-box input[name="s"],
561
+ .cmplz .cmplz-proof-of-consent p.search-box,
562
+ .cmplz .cmplz-records-of-consent p.search-box {
563
+ float: initial;
564
+ margin: var(--rsp-spacing-xs) 0;
565
+ position: relative;
566
+ top: 1px;
567
+ }
568
+ .cmplz .cmplz-proof-of-consent p.search-box,
569
+ .cmplz .cmplz-records-of-consent p.search-box {
570
+ display: inline-block;
571
+ margin: 0;
572
+ }
573
+ .cmplz .cmplz-proof-of-consent .tablenav.top,
574
+ .cmplz .cmplz-records-of-consent .tablenav.top {
575
+ margin: var(--rsp-spacing-xs) 0;
576
+ display: inline-block;
577
+ float: right;
578
+ }
579
+ .cmplz .cmplz-proof-of-consent .cmplz_month_select,
580
+ .cmplz .cmplz-records-of-consent .cmplz_month_select,
581
+ .cmplz .cmplz-proof-of-consent .cmplz_year_select,
582
+ .cmplz .cmplz-records-of-consent .cmplz_year_select {
583
+ margin: var(--rsp-spacing-xs) 0;
584
+ }
585
+ .cmplz .cmplz-proof-of-consent .cmplz_year_select,
586
+ .cmplz .cmplz-records-of-consent .cmplz_year_select {
587
+ margin-left: var(--rsp-spacing-xxs);
588
+ }
589
+ .processing-agreements {
590
+ grid-column-start: 1;
591
+ grid-column-end: 3;
592
+ }
593
+ .cmplz-processing-agreements .tablenav.top {
594
+ margin-top: var(--rsp-spacing-xs);
595
+ margin-bottom: var(--rsp-spacing-s);
596
+ }
597
+ .column-download .cmplz-icon {
598
+ justify-content: flex-start;
599
+ }
600
+ .dataleak-reports {
601
+ grid-column-start: 1;
602
+ grid-column-end: 3;
603
+ }
604
+ .cmplz-dataleak-reports .tablenav.top {
605
+ margin-top: var(--rsp-spacing-xs);
606
+ margin-bottom: var(--rsp-spacing-s);
607
+ }
608
+ .cmplz .wrap .button.cmplz-header-btn {
609
+ margin-left: 6px;
610
+ margin-top: 20px;
611
+ }
612
+ .cmplz .cmplz-dnsmpi,
613
+ .cmplz .cmplz-datarequests {
614
+ grid-column-start: 1;
615
+ grid-column-end: 3;
616
+ background: var(--rsp-background-block-color);
617
+ box-shadow: var(--rsp-box-shadow);
618
+ border-radius: var(--rsp-border-radius);
619
+ padding: var(--rsp-spacing-m) var(--rsp-spacing-l);
620
+ }
621
+ .cmplz .cmplz-dnsmpi .search-box,
622
+ .cmplz .cmplz-datarequests .search-box {
623
+ margin: var(--rsp-spacing-xs) 0;
624
+ float: left;
625
+ }
626
+ .cmplz .cmplz-dnsmpi .tablenav,
627
+ .cmplz .cmplz-datarequests .tablenav {
628
+ display: none;
629
+ }
630
+ .cmplz #cmplz-dnsmpi-export {
631
+ display: flex;
632
+ align-items: center;
633
+ gap: var(--rsp-spacing-s);
634
+ }
635
+ .cmplz-banner-editor {
636
+ gap: var(--rsp-spacing-l);
637
+ padding: var(--rsp-spacing-m) var(--rsp-spacing-xl);
638
+ grid-column-start: 1;
639
+ grid-column-end: 3;
640
+ }
641
+ .cmplz-banner-editor .cmplz-graph-container {
642
+ margin: 0;
643
+ width: 100%;
644
+ min-width: 350px;
645
+ display: flex;
646
+ justify-content: center;
647
+ flex-wrap: wrap;
648
+ padding: var(--rsp-spacing-m);
649
+ background: var(--rsp-grey-200);
650
+ border-radius: var(--rsp-border-radius-s);
651
+ border: 1px solid #f2f2f2;
652
+ }
653
+ .cmplz-banner-editor .cmplz-graph-container div {
654
+ width: 100%;
655
+ }
656
+ .cmplz-banner-editor .cmplz-block {
657
+ padding: var(--rsp-spacing-m);
658
+ }
659
+ .cmplz-banner-editor .cmplz-panel-wrap {
660
+ margin: var(--rsp-spacing-s) 0;
661
+ }
662
+ .cmplz-banner-editor .cmplz-panel.cmplz-notice {
663
+ padding: 0;
664
+ }
665
+ .cmplz-banner-editor .cmplz-document-button {
666
+ margin-top: 0;
667
+ }
668
+ .cmplz-insights .cmplz-graph-container {
669
+ top: 0;
670
+ right: 0;
671
+ bottom: 0;
672
+ left: 0;
673
+ }
674
+ .cmplz-insights canvas.cmplz-graph {
675
+ height: 85px !important;
676
+ }
677
+ /* field styles */
678
+ .cmplz {
679
+ /*
680
+ cool checkbox sliders
681
+ */
682
+ }
683
+ .cmplz input {
684
+ background: var(--rsp-input-background-color);
685
+ color: var(--rsp-input-text-color);
686
+ border-color: var(--rsp-input-border-color);
687
+ }
688
+ .cmplz input[type=checkbox]:disabled {
689
+ cursor: not-allowed;
690
+ }
691
+ .cmplz input:disabled + .cmplz-slider {
692
+ cursor: not-allowed;
693
+ }
694
+ .cmplz input[type=text]:disabled {
695
+ background-color: #eee;
696
+ color: #ababab;
697
+ }
698
+ .cmplz select {
699
+ background: var(--rsp-input-background-color) url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55%;
700
+ color: var(--rsp-input-text-color);
701
+ border-color: var(--rsp-input-border-color);
702
+ }
703
+ .cmplz .field-group .cmplz-label {
704
+ text-align: left;
705
+ margin: 0 var(--rsp-spacing-xs) 0 0;
706
+ }
707
+ .cmplz .field-group.first .cmplz-label {
708
+ padding-top: 0;
709
+ }
710
+ .cmplz .field-group .cmplz-checkbox {
711
+ display: flex;
712
+ justify-content: space-between;
713
+ align-items: center;
714
+ }
715
+ .cmplz .cmplz-switch {
716
+ margin-top: 0;
717
+ margin-bottom: 0;
718
+ position: relative;
719
+ display: inline-block;
720
+ width: 40px;
721
+ height: 21px;
722
+ }
723
+ .cmplz .cmplz-switch input {
724
+ display: none !important;
725
+ }
726
+ .cmplz .cmplz-switch:disabled {
727
+ cursor: not-allowed;
728
+ }
729
+ .cmplz .cmplz-slider {
730
+ position: absolute;
731
+ cursor: pointer;
732
+ top: 0;
733
+ left: 0;
734
+ right: 0;
735
+ bottom: 0;
736
+ background-color: #ccc;
737
+ -webkit-transition: 0.4s;
738
+ transition: 0.4s;
739
+ }
740
+ .cmplz .cmplz-slider:before {
741
+ position: absolute;
742
+ content: "";
743
+ height: 15px;
744
+ width: 15px;
745
+ left: 4px;
746
+ bottom: 3px;
747
+ background-color: white;
748
+ -webkit-transition: 0.4s;
749
+ transition: 0.4s;
750
+ }
751
+ .cmplz .cmplz-slider.cmplz-round {
752
+ border-radius: 20px;
753
+ }
754
+ .cmplz .cmplz-slider.cmplz-round:before {
755
+ border-radius: 50%;
756
+ }
757
+ .cmplz .cmplz-slider-na {
758
+ padding: 2px 8px;
759
+ position: absolute;
760
+ top: 0;
761
+ left: 0;
762
+ right: 0;
763
+ bottom: 0;
764
+ background-color: #ccc;
765
+ -webkit-transition: 0.4s;
766
+ transition: 0.4s;
767
+ }
768
+ .cmplz .cmplz-slider-na:before {
769
+ position: absolute;
770
+ content: "N/A";
771
+ color: white;
772
+ }
773
+ .cmplz .cmplz-slider-na.cmplz-round {
774
+ border-radius: 20px;
775
+ }
776
+ .cmplz input:checked + .cmplz-slider {
777
+ background-color: var(--rsp-wp-blue);
778
+ }
779
+ .cmplz input:checked + .cmplz-slider:before {
780
+ -webkit-transform: translateX(17px);
781
+ -ms-transform: translateX(17px);
782
+ transform: translateX(17px);
783
+ }
784
+ .cmplz input:checked:disabled + .cmplz-slider {
785
+ background-color: var(--rsp-wp-blue-faded);
786
+ }
787
+ .cmplz input:focus + .cmplz-slider {
788
+ box-shadow: 0 0 1px var(--rsp-wp-blue);
789
+ }
790
+ .cmplz .cmplz-bullet {
791
+ height: 13px;
792
+ width: 13px;
793
+ flex: 0 0 13px;
794
+ border-radius: 50%;
795
+ display: inline-block;
796
+ }
797
+ .cmplz .cmplz-bullet.rsp-yellow {
798
+ background-color: var(--rsp-yellow);
799
+ }
800
+ .cmplz .cmplz-bullet.rsp-blue {
801
+ background-color: var(--rsp-blue);
802
+ }
803
+ .cmplz .cmplz-bullet.rsp-pink {
804
+ background-color: var(--rsp-pink);
805
+ }
806
+ .cmplz .cmplz-bullet.rsp-red {
807
+ background-color: var(--rsp-red);
808
+ }
809
+ .cmplz .cmplz-bullet.rsp-green {
810
+ background-color: var(--rsp-green);
811
+ }
812
+ .cmplz .cmplz-bullet.rsp-blue-yellow {
813
+ background: var(--rsp-blue);
814
+ background: linear-gradient(77deg, #29b6f6 0%, #29b6f6 30%, #f4bf3e 70%, #f4bf3e 100%);
815
+ animation: gradient 2s ease infinite;
816
+ background-size: 200% 200%;
817
+ }
818
+ @keyframes gradient {
819
+ 0% {
820
+ background-position: 0% 50%;
821
+ }
822
+ 50% {
823
+ background-position: 100% 50%;
824
+ }
825
+ 100% {
826
+ background-position: 0% 50%;
827
+ }
828
+ }
829
+ .cmplz-header-container .cmplz-header {
830
+ display: flex;
831
+ justify-content: space-between;
832
+ height: 70px;
833
+ box-sizing: border-box;
834
+ background-color: #fff;
835
+ }
836
+ .cmplz-header-container .cmplz-header img {
837
+ margin: auto 0;
838
+ height: 25px;
839
+ }
840
+ .cmplz-header-container .cmplz-header .cmplz-header-right {
841
+ display: flex;
842
+ align-items: center;
843
+ margin-left: auto;
844
+ gap: var(--rsp-spacing-s);
845
+ }
846
+ .cmplz-header-container .cmplz-header .cmplz-header-right select {
847
+ max-width: 60ch;
848
+ }
849
+ #cmplz_selected_region {
850
+ font-size: 13px;
851
+ }
852
+ .cmplz-plusone {
853
+ border-radius: 50%;
854
+ background-color: #d63638;
855
+ color: #fff;
856
+ padding: 2px 6px;
857
+ font-size: 10px;
858
+ }
859
+ .cmplz {
860
+ margin: 0 0 0 -20px;
861
+ }
862
+ .cmplz .dashicons,
863
+ .cmplz .dashicons-before:before {
864
+ font-size: 15px;
865
+ width: 15px;
866
+ height: 15px;
867
+ }
868
+ .cmplz .cmplz-copy-shortcode {
869
+ cursor: pointer;
870
+ }
871
+ .cmplz .cmplz-selectable {
872
+ -webkit-touch-callout: all;
873
+ /* iOS Safari */
874
+ -webkit-user-select: all;
875
+ /* Safari */
876
+ -khtml-user-select: all;
877
+ /* Konqueror HTML */
878
+ -moz-user-select: all;
879
+ /* Firefox */
880
+ -ms-user-select: all;
881
+ /* Internet Explorer/Edge */
882
+ user-select: all;
883
+ /* Chrome and Opera */
884
+ }
885
+ .cmplz .cmplz-region-indicator {
886
+ display: flex;
887
+ align-items: center;
888
+ }
889
+ .cmplz .cmplz-region-indicator img {
890
+ width: 25px;
891
+ height: 25px;
892
+ margin-left: 5px;
893
+ }
894
+ .cmplz .cmplz-documents .cmplz-region-indicator img {
895
+ width: 14px;
896
+ height: 14px;
897
+ margin-left: 0;
898
+ }
899
+ .cmplz-dashboard {
900
+ /*
901
+ Progress labels
902
+ */
903
+ }
904
+ .cmplz-dashboard .cmplz-progress-warning-container {
905
+ position: relative;
906
+ display: grid;
907
+ grid-template-columns: 126px auto 50px;
908
+ }
909
+ .cmplz-dashboard .cmplz-progress-warning-container > div {
910
+ padding: 10px 0;
911
+ }
912
+ .cmplz-dashboard .cmplz-progress-warning-container > div:nth-child(3) {
913
+ padding: 0;
914
+ }
915
+ .cmplz-dashboard .cmplz-progress-warning-container button {
916
+ border: 0;
917
+ background-color: transparent;
918
+ cursor: pointer;
919
+ }
920
+ .cmplz-dashboard .cmplz-progress-warning-container button .cmplz-close-warning-x {
921
+ color: #ccc;
922
+ font-size: 0.9em;
923
+ align-self: center;
924
+ }
925
+ .cmplz-dashboard .cmplz-scroll-container {
926
+ margin-top: 20px;
927
+ height: 242px;
928
+ overflow-y: auto;
929
+ padding: 0;
930
+ border-radius: 0;
931
+ }
932
+ .cmplz-dashboard .cmplz-scroll-container::-webkit-scrollbar-track {
933
+ border-radius: 10px;
934
+ -webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0);
935
+ background-color: transparent;
936
+ }
937
+ .cmplz-dashboard .cmplz-scroll-container::-webkit-scrollbar {
938
+ width: 8px;
939
+ background-color: var(--rsp-grey-300);
940
+ cursor: pointer;
941
+ }
942
+ .cmplz-dashboard .cmplz-scroll-container::-webkit-scrollbar-thumb {
943
+ background-color: var(--rsp-grey-400);
944
+ border-radius: 10px;
945
+ }
946
+ .cmplz-dashboard .cmplz-progress-status-container {
947
+ margin-right: 40px;
948
+ }
949
+ .cmplz-dashboard .cmplz-progress-status {
950
+ display: block;
951
+ min-width: 60px;
952
+ text-align: center;
953
+ border-radius: 15px;
954
+ padding: 4px 8px;
955
+ font-size: var(--rsp-fs-100);
956
+ font-weight: 600;
957
+ }
958
+ .cmplz-dashboard .cmplz-progress-status.cmplz-completed {
959
+ background-color: var(--rsp-color-success);
960
+ color: white;
961
+ }
962
+ .cmplz-dashboard .cmplz-progress-status.cmplz-open {
963
+ background-color: var(--rsp-color-open);
964
+ }
965
+ .cmplz-dashboard .cmplz-progress-status.cmplz-urgent {
966
+ background-color: var(--rsp-color-warning);
967
+ color: white;
968
+ }
969
+ .cmplz-dashboard .cmplz-progress-status.cmplz-premium {
970
+ background-color: var(--rsp-brand-primary);
971
+ color: white;
972
+ }
973
+ .cmplz-dashboard .cmplz-progress-bar,
974
+ .cmplz-dashboard .cmplz-sync-progress-bar {
975
+ border-radius: 5px;
976
+ background: var(--rsp-grey-400);
977
+ justify-content: flex-start;
978
+ align-items: center;
979
+ position: relative;
980
+ display: flex;
981
+ height: 20px;
982
+ width: 100%;
983
+ }
984
+ .cmplz-dashboard .cmplz-progress-bar .cmplz-progress-bar-value,
985
+ .cmplz-dashboard .cmplz-sync-progress-bar .cmplz-progress-bar-value {
986
+ border-radius: 5px;
987
+ animation: cmplz-load-progress-bar 3s normal forwards;
988
+ box-shadow: 0 10px 40px -10px #fff;
989
+ background: var(--rsp-color-success);
990
+ height: 20px;
991
+ width: 0;
992
+ }
993
+ .cmplz-dashboard .cmplz-progress-bar .cmplz-progress-bar-value.orange,
994
+ .cmplz-dashboard .cmplz-sync-progress-bar .cmplz-progress-bar-value.orange {
995
+ background-color: var(--rsp-orange);
996
+ }
997
+ .cmplz-dashboard .cmplz-progress-percentage,
998
+ .cmplz-dashboard .cmplz-progress-description {
999
+ font-weight: 600;
1000
+ font-size: 18px;
1001
+ }
1002
+ .cmplz-dashboard .cmplz-progress-percentage {
1003
+ margin-right: 6px;
1004
+ font-size: 32px;
1005
+ }
1006
+ .cmplz-dashboard .cmplz-grid-progress {
1007
+ display: grid;
1008
+ grid-template-columns: 125px auto;
1009
+ align-items: center;
1010
+ margin-top: 20px;
1011
+ }
1012
+ .cmplz-dashboard .cmplz-task-switcher-container {
1013
+ display: flex;
1014
+ border-radius: var(--rsp-border-radius);
1015
+ }
1016
+ .cmplz-dashboard .cmplz-task-switcher-container .cmplz-task-switcher:first-of-type {
1017
+ border-right: 1px solid var(--rsp-grey-400);
1018
+ padding-right: 10px;
1019
+ }
1020
+ .cmplz-dashboard .cmplz-task-switcher-container .cmplz-task-switcher:last-of-type {
1021
+ padding-left: 10px;
1022
+ }
1023
+ .cmplz-dashboard .cmplz-task-switcher {
1024
+ font-size: var(--rsp-fs-200);
1025
+ cursor: pointer;
1026
+ transition: 0.3s;
1027
+ }
1028
+ .cmplz-dashboard .cmplz-task-switcher:hover,
1029
+ .cmplz-dashboard .cmplz-task-switcher.active,
1030
+ .cmplz-dashboard .cmplz-task-switcher.active:hover {
1031
+ text-decoration: underline;
1032
+ }
1033
+ .cmplz-dashboard .cmplz-support textarea {
1034
+ width: 100%;
1035
+ height: 75px;
1036
+ border-color: #cecece;
1037
+ font-size: 13px;
1038
+ }
1039
+ .cmplz-dashboard .cmplz-document {
1040
+ display: grid;
1041
+ grid-template-columns: 2fr auto auto auto 1fr;
1042
+ margin: var(--rsp-spacing-xs) 0;
1043
+ align-items: center;
1044
+ }
1045
+ .cmplz-dashboard .cmplz-document .cmplz-grid-title {
1046
+ padding-top: var(--rsp-spacing-l);
1047
+ }
1048
+ .cmplz-dashboard .cmplz-document.compact {
1049
+ grid-template-columns: 1fr auto;
1050
+ }
1051
+ .cmplz-dashboard .cmplz-document > div:not(:first-child) {
1052
+ margin-left: auto;
1053
+ }
1054
+ .cmplz-dashboard .cmplz-document.cmplz-header > div:last-child {
1055
+ padding-top: 14px;
1056
+ }
1057
+ .cmplz-dashboard .cmplz-document.cmplz-header a {
1058
+ color: #d7d7d7;
1059
+ font-size: 12px;
1060
+ line-height: 2em;
1061
+ }
1062
+ .cmplz-dashboard .cmplz-document .cmplz-icon {
1063
+ padding: 0 4px;
1064
+ }
1065
+ .cmplz-dashboard .cmplz-document h3 {
1066
+ margin-bottom: 5px;
1067
+ }
1068
+ .cmplz-dashboard .cmplz-document select {
1069
+ width: calc(100% - var(--rsp-spacing-xs));
1070
+ font-size: 13px;
1071
+ }
1072
+ .cmplz-dashboard .cmplz-document.flags {
1073
+ display: flex;
1074
+ }
1075
+ .cmplz-dashboard .cmplz-document.flags .cmplz-flags-container {
1076
+ display: flex;
1077
+ flex-wrap: wrap;
1078
+ gap: var(--rsp-spacing-xxs);
1079
+ }
1080
+ .cmplz-dashboard .cmplz-document-header {
1081
+ margin-top: var(--rsp-spacing-l);
1082
+ margin-bottom: var(--rsp-spacing-s);
1083
+ display: flex;
1084
+ justify-content: space-between;
1085
+ }
1086
+ .cmplz-dashboard .cmplz-document-header > a {
1087
+ color: var(--rsp-text-color-light);
1088
+ font-size: var(--rsp-fs-300);
1089
+ }
1090
+ .cmplz-dashboard .button {
1091
+ min-width: 100px;
1092
+ text-align: center;
1093
+ }
1094
+ .cmplz-dashboard .item-footer {
1095
+ width: 100%;
1096
+ }
1097
+ .cmplz-dashboard .item-footer a.button + a.button {
1098
+ margin-left: 10px;
1099
+ }
1100
+ .cmplz-dashboard .cmplz-tools-row {
1101
+ display: grid;
1102
+ grid-template-columns: 1fr auto;
1103
+ margin: 10px 0;
1104
+ }
1105
+ .cmplz-dashboard .cmplz-tools-row > div:last-child {
1106
+ margin-left: auto;
1107
+ }
1108
+ .cmplz-dashboard .cmplz-tools-row .cmplz-last-updated-poc {
1109
+ white-space: nowrap;
1110
+ font-size: 13px;
1111
+ }
1112
+ #complianz *:focus-visible {
1113
+ outline-offset: 4px;
1114
+ }
1115
+ #complianz.wrap.cmplz-high-contrast {
1116
+ /* Disabled option */
1117
+ /* Placeholders */
1118
+ /* License */
1119
+ /* Ending */
1120
+ }
1121
+ #complianz.wrap.cmplz-high-contrast .cmplz-grid-controls {
1122
+ color: var(--rsp-black);
1123
+ }
1124
+ #complianz.wrap.cmplz-high-contrast .cmplz-grid-controls a {
1125
+ color: var(--rsp-black);
1126
+ }
1127
+ #complianz.wrap.cmplz-high-contrast button .cmplz-close-warning-x {
1128
+ color: var(--rsp-black);
1129
+ }
1130
+ #complianz.wrap.cmplz-high-contrast .cmplz-step .cmplz-step-header.incomplete a h2 {
1131
+ color: var(--rsp-black);
1132
+ }
1133
+ #complianz.wrap.cmplz-high-contrast .cmplz-step .cmplz-section {
1134
+ display: grid;
1135
+ grid-template-columns: 20px 1fr;
1136
+ margin: 0 20px;
1137
+ }
1138
+ #complianz.wrap.cmplz-high-contrast .cmplz-step .cmplz-section span {
1139
+ align-self: center;
1140
+ justify-self: center;
1141
+ }
1142
+ #complianz.wrap.cmplz-high-contrast .cmplz-step .cmplz-section a {
1143
+ display: inline-block;
1144
+ text-decoration: none;
1145
+ padding: 3px 5px;
1146
+ }
1147
+ #complianz.wrap.cmplz-high-contrast .cmplz-step .cmplz-section a h3 {
1148
+ color: var(--rsp-black);
1149
+ }
1150
+ #complianz.wrap.cmplz-high-contrast .cmplz-step .cmplz-section.cmplz-done a h3 {
1151
+ color: var(--rsp-black);
1152
+ }
1153
+ #complianz.wrap.cmplz-high-contrast .cmplz-step .cmplz-section.active a h3 {
1154
+ color: var(--rsp-black) !important;
1155
+ }
1156
+ #complianz.wrap.cmplz-high-contrast .cmplz-help-warning-wrap .cmplz-help-modal {
1157
+ z-index: 1;
1158
+ }
1159
+ #complianz.wrap.cmplz-high-contrast .cmplz-help-warning-wrap .cmplz-help-modal.cmplz-notice {
1160
+ background-color: var(--rsp-black);
1161
+ color: var(--rsp-text-color-invert);
1162
+ }
1163
+ #complianz.wrap.cmplz-high-contrast .cmplz-help-warning-wrap .cmplz-help-modal.cmplz-notice:after {
1164
+ border-right: 15px solid var(--rsp-black);
1165
+ }
1166
+ #complianz.wrap.cmplz-high-contrast .cmplz-help-warning-wrap .cmplz-help-modal.cmplz-warning a {
1167
+ color: var(--rsp-black) !important;
1168
+ }
1169
+ #complianz.wrap.cmplz-high-contrast .cmplz-help-warning-wrap .cmplz-help-modal.cmplz-warning {
1170
+ color: var(--rsp-black) !important;
1171
+ background-color: var(--rsp-yellow);
1172
+ }
1173
+ #complianz.wrap.cmplz-high-contrast .cmplz-help-warning-wrap .cmplz-help-modal.cmplz-warning:after {
1174
+ border-right: 15px solid var(--rsp-yellow);
1175
+ }
1176
+ #complianz.wrap.cmplz-high-contrast .cmplz-help-warning-wrap .cmplz-help-modal a {
1177
+ color: #fff;
1178
+ }
1179
+ #complianz.wrap.cmplz-high-contrast .cmplz-panel.cmplz-toggle-disabled {
1180
+ color: var(--rsp-black);
1181
+ }
1182
+ #complianz.wrap.cmplz-high-contrast input:disabled {
1183
+ cursor: not-allowed;
1184
+ }
1185
+ #complianz.wrap.cmplz-high-contrast .cmplz-sublabel label {
1186
+ color: var(--rsp-black);
1187
+ font-size: 13px;
1188
+ }
1189
+ #complianz.wrap.cmplz-high-contrast ::placeholder {
1190
+ color: var(--rsp-black);
1191
+ }
1192
+ #complianz.wrap.cmplz-high-contrast ::placeholder {
1193
+ color: var(--rsp-black);
1194
+ }
1195
+ #complianz.wrap.cmplz-high-contrast ::-moz-placeholder {
1196
+ color: var(--rsp-black);
1197
+ }
1198
+ #complianz.wrap.cmplz-high-contrast :-ms-input-placeholder {
1199
+ color: var(--rsp-black);
1200
+ }
1201
+ #complianz.wrap.cmplz-high-contrast :-moz-placeholder {
1202
+ color: var(--rsp-black);
1203
+ }
1204
+ #complianz.wrap.cmplz-high-contrast .cmplz-status-info {
1205
+ display: flex;
1206
+ }
1207
+ #complianz.wrap.cmplz-high-contrast .cmplz-status-info > div {
1208
+ padding: 10px 10px 10px 0;
1209
+ }
1210
+ #complianz.wrap.cmplz-high-contrast .cmplz-status-info .cmplz-license-status-container .cmplz-license-status {
1211
+ display: block;
1212
+ }
1213
+ #complianz.wrap.cmplz-high-contrast .cmplz-status-info .cmplz-license-status-container .cmplz-license-status.cmplz-premium {
1214
+ background-color: var(--rsp-black);
1215
+ }
1216
+ #complianz.wrap.cmplz-high-contrast .cmplz-status-info .cmplz-license-status-container .cmplz-license-status.cmplz-success {
1217
+ color: var(--rsp-black);
1218
+ }
1219
+ #complianz.wrap.cmplz-high-contrast .cmplz-status-info .cmplz-license-status-container .cmplz-license-status.cmplz-warning {
1220
+ color: var(--rsp-black);
1221
+ }
1222
+ /* START TOOLTIP STYLES */
1223
+ [cmplz-tooltip] {
1224
+ position: relative;
1225
+ /* opinion 1 */
1226
+ cursor: pointer;
1227
+ }
1228
+ /* Applies to all tooltips */
1229
+ [cmplz-tooltip]::before,
1230
+ [cmplz-tooltip]::after {
1231
+ text-transform: none;
1232
+ font-size: 13px;
1233
+ user-select: none;
1234
+ pointer-events: none;
1235
+ position: absolute;
1236
+ display: none;
1237
+ opacity: 0;
1238
+ }
1239
+ [cmplz-tooltip]::before {
1240
+ content: '';
1241
+ border: 5px solid transparent;
1242
+ /* opinion 4 */
1243
+ z-index: 1001;
1244
+ /* absurdity 1 */
1245
+ }
1246
+ [cmplz-tooltip]::after {
1247
+ content: attr(cmplz-tooltip);
1248
+ /* magic! */
1249
+ font-weight: normal;
1250
+ overflow: hidden;
1251
+ text-overflow: ellipsis;
1252
+ padding: 1ch 1.5ch;
1253
+ border-radius: 0.3ch;
1254
+ box-shadow: 0 1em 2em -0.5em rgba(0, 0, 0, 0.35);
1255
+ background: #333;
1256
+ color: #fff;
1257
+ z-index: 1000;
1258
+ /* absurdity 2 */
1259
+ width: min(100vw, 45ch);
1260
+ text-align: left;
1261
+ }
1262
+ /* Make the tooltips respond to hover */
1263
+ [cmplz-tooltip]:hover::before,
1264
+ [cmplz-tooltip]:hover::after {
1265
+ display: block;
1266
+ }
1267
+ /* Make the tooltips respond to focus */
1268
+ [cmplz-tooltip]:focus::before,
1269
+ [cmplz-tooltip]:focus::after {
1270
+ display: block;
1271
+ }
1272
+ /* don't show empty tooltips */
1273
+ [cmplz-tooltip='']::before,
1274
+ [cmplz-tooltip='']::after {
1275
+ display: none !important;
1276
+ }
1277
+ /* FLOW: UP */
1278
+ [cmplz-tooltip]:not([flow])::before,
1279
+ [cmplz-tooltip][flow^="up"]::before {
1280
+ bottom: calc(100% + 5px);
1281
+ border-bottom-width: 0;
1282
+ border-top-color: #333;
1283
+ }
1284
+ [cmplz-tooltip]:not([flow])::after,
1285
+ [cmplz-tooltip][flow^="up"]::after {
1286
+ bottom: calc(100% + 10px);
1287
+ }
1288
+ [cmplz-tooltip]:not([flow])::before,
1289
+ [cmplz-tooltip]:not([flow])::after,
1290
+ [cmplz-tooltip][flow^="up"]::before,
1291
+ [cmplz-tooltip][flow^="up"]::after {
1292
+ left: 50%;
1293
+ transform: translate(-50%, -0.5em);
1294
+ }
1295
+ /* FLOW: DOWN */
1296
+ [cmplz-tooltip][flow^="down"]::before {
1297
+ top: 17px;
1298
+ border-top-width: 0;
1299
+ }
1300
+ [cmplz-tooltip][flow^="down"]::after {
1301
+ top: calc(100% + 5px);
1302
+ }
1303
+ [cmplz-tooltip][flow^="down"]::before,
1304
+ [cmplz-tooltip][flow^="down"]::after {
1305
+ left: 50%;
1306
+ transform: translate(-50%, 0.5em);
1307
+ }
1308
+ /* FLOW: LEFT */
1309
+ [cmplz-tooltip][flow^="left"]::before {
1310
+ top: 50%;
1311
+ border-right-width: 0;
1312
+ border-left-color: #333;
1313
+ left: calc(0em - 5px);
1314
+ transform: translate(-0.5em, -50%);
1315
+ }
1316
+ [cmplz-tooltip][flow^="left"]::after {
1317
+ top: 50%;
1318
+ right: calc(100% + 5px);
1319
+ transform: translate(-0.5em, -50%);
1320
+ }
1321
+ /* FLOW: RIGHT */
1322
+ [cmplz-tooltip][flow^="right"]::before {
1323
+ top: 10px;
1324
+ border-left-width: 0;
1325
+ border-right-color: #333;
1326
+ right: calc(0em - 23px);
1327
+ transform: translate(0.5em, -50%);
1328
+ }
1329
+ [cmplz-tooltip][flow^="right"]::after {
1330
+ top: 10px;
1331
+ left: calc(100% + 23px);
1332
+ transform: translate(0.5em, -50%);
1333
+ min-width: 150px;
1334
+ }
1335
+ /* KEYFRAMES */
1336
+ @keyframes tooltips-vert {
1337
+ to {
1338
+ opacity: 0.9;
1339
+ transform: translate(-50%, 0);
1340
+ }
1341
+ }
1342
+ @keyframes tooltips-horz {
1343
+ to {
1344
+ opacity: 0.9;
1345
+ transform: translate(0, -50%);
1346
+ }
1347
+ }
1348
+ /* FX All The Things */
1349
+ [cmplz-tooltip]:not([flow]):hover::before,
1350
+ [cmplz-tooltip]:not([flow]):focus::before,
1351
+ [cmplz-tooltip]:not([flow]):hover::after,
1352
+ [cmplz-tooltip]:not([flow]):focus::after,
1353
+ [cmplz-tooltip][flow^="up"]:hover::before,
1354
+ [cmplz-tooltip][flow^="up"]:focus::before,
1355
+ [cmplz-tooltip][flow^="up"]:hover::after,
1356
+ [cmplz-tooltip][flow^="up"]:focus::after,
1357
+ [cmplz-tooltip][flow^="down"]:hover::before,
1358
+ [cmplz-tooltip][flow^="down"]:focus::before,
1359
+ [cmplz-tooltip][flow^="down"]:hover::after,
1360
+ [cmplz-tooltip][flow^="down"]:focus::after {
1361
+ animation: tooltips-vert 300ms ease-out forwards;
1362
+ }
1363
+ [cmplz-tooltip][flow^="left"]:hover::before,
1364
+ [cmplz-tooltip][flow^="left"]:focus::before,
1365
+ [cmplz-tooltip][flow^="left"]:hover::after,
1366
+ [cmplz-tooltip][flow^="left"]:focus::after,
1367
+ [cmplz-tooltip][flow^="right"]:hover::before,
1368
+ [cmplz-tooltip][flow^="right"]:focus::before,
1369
+ [cmplz-tooltip][flow^="right"]:hover::after,
1370
+ [cmplz-tooltip][flow^="right"]:focus::after {
1371
+ animation: tooltips-horz 300ms ease-out forwards;
1372
+ }
1373
+ .cmplz .cmplz-other-plugins .rsp-logo img {
1374
+ height: 34px;
1375
+ }
1376
+ .cmplz .cmplz-other-plugins-container {
1377
+ display: flex !important;
1378
+ flex-direction: row;
1379
+ flex-wrap: wrap;
1380
+ margin-bottom: 10px;
1381
+ font-size: var(--rsp-fs-300);
1382
+ line-height: 1.7;
1383
+ gap: var(--rsp-spacing-xxs);
1384
+ }
1385
+ @media screen and (max-width: 992px) {
1386
+ .cmplz .cmplz-other-plugins-container {
1387
+ flex-direction: row;
1388
+ overflow: hidden;
1389
+ }
1390
+ }
1391
+ .cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element {
1392
+ width: 100%;
1393
+ display: flex;
1394
+ align-content: space-between;
1395
+ justify-content: space-between;
1396
+ gap: 10px;
1397
+ --rsp-other-plugins-color: var(---rsp-brand-primary);
1398
+ }
1399
+ .cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element.cmplz-zip {
1400
+ --rsp-other-plugins-color: var(--rsp-pink);
1401
+ }
1402
+ .cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element.cmplz-burst {
1403
+ --rsp-other-plugins-color: var(--rsp-green);
1404
+ }
1405
+ .cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element.cmplz-complianz,
1406
+ .cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element.cmplz-complianztc {
1407
+ --rsp-other-plugins-color: var(--rsp-blue);
1408
+ }
1409
+ .cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element.cmplz-rsssl {
1410
+ --rsp-other-plugins-color: var(--rsp-yellow);
1411
+ }
1412
+ .cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element a {
1413
+ width: max-content;
1414
+ color: var(--rsp-text-color-light);
1415
+ transition: color 0.3s ease;
1416
+ display: flex;
1417
+ align-items: center;
1418
+ min-width: 0;
1419
+ gap: var(--rsp-spacing-xs);
1420
+ text-decoration: none;
1421
+ }
1422
+ .cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element a:hover {
1423
+ color: var(--rsp-other-plugins-color);
1424
+ text-decoration: underline;
1425
+ }
1426
+ .cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element a:hover .cmplz-bullet {
1427
+ background-color: var(--rsp-other-plugins-color);
1428
+ }
1429
+ .cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element a:hover .cmplz-other-plugins-content {
1430
+ text-decoration: underline;
1431
+ }
1432
+ .cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element .cmplz-bullet {
1433
+ transition: background-color 0.3s ease;
1434
+ background-color: var(--rsp-other-plugins-color);
1435
+ }
1436
+ .cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element .cmplz-other-plugins-content {
1437
+ white-space: nowrap;
1438
+ overflow: hidden;
1439
+ text-overflow: ellipsis;
1440
+ }
1441
+ .cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element .cmplz-other-plugin-status {
1442
+ min-width: fit-content;
1443
+ }
1444
+ .cmplz-suggested-plugin {
1445
+ display: flex;
1446
+ flex-wrap: wrap;
1447
+ align-items: center;
1448
+ gap: 20px;
1449
+ background-color: #f9f9f9;
1450
+ padding: 20px;
1451
+ }
1452
+ .cmplz-suggested-plugin .cmplz-suggested-plugin-desc-group .cmplz-suggested-plugin-title {
1453
+ font-size: 16px;
1454
+ font-weight: 600;
1455
+ }
1456
+ .cmplz-suggested-plugin .cmplz-suggested-plugin-desc-group .cmplz-suggested-plugin-desc {
1457
+ font-size: 14px;
1458
+ white-space: nowrap;
1459
+ margin: 4px 0;
1460
+ }
1461
+ .cmplz-suggested-plugin .cmplz-suggested-plugin-desc-long {
1462
+ flex: 1;
1463
+ font-size: 12px;
1464
+ line-height: 1.6;
1465
+ font-weight: 400;
1466
+ min-width: 30ch;
1467
+ margin-right: auto;
1468
+ }
1469
+ .cmplz-suggested-plugin .cmplz-suggested-plugin-img {
1470
+ width: 70px;
1471
+ height: 70px;
1472
+ border-radius: 5px;
1473
+ }
1474
+ .cmplz-tips-tricks-container {
1475
+ display: flex !important;
1476
+ flex-direction: row;
1477
+ flex-wrap: wrap;
1478
+ margin-bottom: 10px;
1479
+ font-size: var(--rsp-fs-300);
1480
+ line-height: 1.7;
1481
+ gap: var(--rsp-spacing-xxs);
1482
+ }
1483
+ @media screen and (max-width: 992px) {
1484
+ .cmplz-tips-tricks-container {
1485
+ flex-direction: row;
1486
+ overflow: hidden;
1487
+ }
1488
+ }
1489
+ .cmplz-tips-tricks-container .cmplz-tips-tricks-element {
1490
+ width: calc(50% - var(--rsp-spacing-xxs));
1491
+ }
1492
+ @media (max-width: 576px) {
1493
+ .cmplz-tips-tricks-container .cmplz-tips-tricks-element {
1494
+ width: 100%;
1495
+ }
1496
+ }
1497
+ .cmplz-tips-tricks-container .cmplz-tips-tricks-element a {
1498
+ color: var(--rsp-text-color-light);
1499
+ transition: color 0.3s ease;
1500
+ display: flex;
1501
+ align-items: center;
1502
+ gap: var(--rsp-spacing-xs);
1503
+ min-width: 0;
1504
+ /* or some value */
1505
+ text-decoration: none;
1506
+ }
1507
+ .cmplz-tips-tricks-container .cmplz-tips-tricks-element a:hover {
1508
+ color: var(--rsp-brand-primary);
1509
+ text-decoration: underline;
1510
+ }
1511
+ .cmplz-tips-tricks-container .cmplz-tips-tricks-element a:hover .cmplz-bullet {
1512
+ background-color: var(--rsp-brand-primary);
1513
+ }
1514
+ .cmplz-tips-tricks-container .cmplz-tips-tricks-element a:hover .cmplz-tips-tricks-content {
1515
+ text-decoration: underline;
1516
+ }
1517
+ .cmplz-tips-tricks-container .cmplz-tips-tricks-element .cmplz-bullet {
1518
+ transition: background-color 0.3s ease;
1519
+ background-color: var(--rsp-grey-300);
1520
+ }
1521
+ .cmplz-tips-tricks-container .cmplz-tips-tricks-element .cmplz-tips-tricks-content {
1522
+ white-space: nowrap;
1523
+ overflow: hidden;
1524
+ text-overflow: ellipsis;
1525
+ }
1526
+ .cmplz-pagination {
1527
+ display: flex;
1528
+ justify-content: flex-end;
1529
+ margin-left: auto;
1530
+ }
1531
+ .cmplz-pagination a {
1532
+ cursor: pointer;
1533
+ width: 25px;
1534
+ height: 25px;
1535
+ border: 1px solid var(--rsp-input-border-color);
1536
+ color: #000;
1537
+ text-align: center;
1538
+ margin: 5px;
1539
+ line-height: 25px;
1540
+ border-radius: 3px;
1541
+ }
1542
+ .cmplz-pagination a.cmplz-current {
1543
+ background-color: #000;
1544
+ color: #fff;
1545
+ }
1546
+ .cmplz-pagination a .cmplz-icon {
1547
+ margin-top: 3px;
1548
+ color: #000 !important;
1549
+ }
1550
+ .cmplz .wp-list-table {
1551
+ border-radius: var(--rsp-border-radius-s);
1552
+ }
1553
+ .cmplz .row-actions {
1554
+ left: 0;
1555
+ }
1556
+ .cmplz {
1557
+ /*skeleton*/
1558
+ /*loader*/
1559
+ }
1560
+ .cmplz .cmplz-skeleton:empty {
1561
+ margin: auto;
1562
+ margin-bottom: 25px;
1563
+ width: 100%;
1564
+ height: 235px;
1565
+ /* change height to see repeat-y behavior */
1566
+ background-image: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5) 70%, rgba(255, 255, 255, 0.5) 15%), linear-gradient(#f2f2f2 38px, transparent 0), linear-gradient(#f2f2f2 38px, transparent 0), linear-gradient(#f2f2f2 38px, transparent 0), linear-gradient(#f2f2f2 38px, transparent 0);
1567
+ background-repeat: repeat-y;
1568
+ background-size: 50px 200px, /* highlight */ 100% 117px, 100% 117px, 100% 117px, 100% 117px;
1569
+ background-position: 0 0, /* highlight */ 1px 1px, 1px 40px, 1px 79px, 1px 118px;
1570
+ background-color: #d6d8db;
1571
+ border-right: 1px solid #d6d8db;
1572
+ animation: shine 2.5s infinite;
1573
+ }
1574
+ @keyframes shine {
1575
+ to {
1576
+ background-position: 100% 0, /* move highlight to right */ 1px 1px, 1px 40px, 1px 79px, 1px 118px;
1577
+ }
1578
+ }
1579
+ .cmplz .cmplz-loader {
1580
+ margin: 0;
1581
+ width: 50px;
1582
+ height: 15px;
1583
+ text-align: center;
1584
+ font-size: 10px;
1585
+ }
1586
+ .cmplz .cmplz-loader > div {
1587
+ margin: 1px;
1588
+ background-color: #333;
1589
+ height: 100%;
1590
+ width: 3px;
1591
+ display: inline-block;
1592
+ -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
1593
+ animation: sk-stretchdelay 1.2s infinite ease-in-out;
1594
+ }
1595
+ .cmplz .cmplz-loader.cmplz-loader-white > div {
1596
+ background-color: #fff;
1597
+ }
1598
+ .cmplz .cmplz-loader .rect2 {
1599
+ -webkit-animation-delay: -1.1s;
1600
+ animation-delay: -1.1s;
1601
+ }
1602
+ .cmplz .cmplz-loader .rect3 {
1603
+ -webkit-animation-delay: -1s;
1604
+ animation-delay: -1s;
1605
+ }
1606
+ .cmplz .cmplz-loader .rect4 {
1607
+ -webkit-animation-delay: -0.9s;
1608
+ animation-delay: -0.9s;
1609
+ }
1610
+ .cmplz .cmplz-loader .rect5 {
1611
+ -webkit-animation-delay: -0.8s;
1612
+ animation-delay: -0.8s;
1613
+ }
1614
+ .cmplz .button-primary .cmplz-loader div {
1615
+ background-color: #fff;
1616
+ }
1617
+ @-webkit-keyframes sk-stretchdelay {
1618
+ 0%,
1619
+ 40%,
1620
+ 100% {
1621
+ -webkit-transform: scaleY(0.4);
1622
+ }
1623
+ 20% {
1624
+ -webkit-transform: scaleY(1);
1625
+ }
1626
+ }
1627
+ @keyframes sk-stretchdelay {
1628
+ 0%,
1629
+ 40%,
1630
+ 100% {
1631
+ transform: scaleY(0.4);
1632
+ -webkit-transform: scaleY(0.4);
1633
+ }
1634
+ 20% {
1635
+ transform: scaleY(1);
1636
+ -webkit-transform: scaleY(1);
1637
+ }
1638
+ }
1639
+ :root {
1640
+ --rsp-brand-primary: var(--rsp-blue);
1641
+ --rsp-brand-secondary: var(--rsp-yellow);
1642
+ --rsp-brand-primary-faded: var(--rsp-blue-faded);
1643
+ }
1644
+ /*# sourceMappingURL=admin.css.map */
assets/css/admin.css.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"sources":["variables.less","admin/base.less","admin/layout.less","admin/modules/buttons.less","admin/modules/icons.less","admin/modules/notices.less","admin/modules/proof-of-consent.less","admin/modules/processing-agreement.less","admin/modules/dataleak-reports.less","admin/modules/dnsmpi.less","admin/modules/cookiebanner.less","admin/modules/input-fields.less","admin/modules/bullets.less","admin/modules/header.less","admin/modules/dashboard.less","admin/modules/wcag.less","admin/modules/tooltip.less","admin/modules/other-plugins.less","admin/modules/suggested-plugins.less","admin/modules/tips-tricks.less","admin/modules/pagify.less","admin/modules/tables.less","admin/states.less","admin/theme.less"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAsDA;AAUA;EAGE,sBAAA;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0BAAf;;AAFD,MAIE;EACD,OAAA;;ACLD;;;;AAAA,MAME,gBAAe;EAChB,YAAA;EACA,mBAAA;EACA,WAAA;EACA,aAAA;;EAEA,kBACE,6GACA,8CACA,8CACA,8CACA,4CALF;EAOA,2BAAA;EAEA,2FAAA;EAOA,gFAAA;EAOA,yBAAA;EACA,+BAAA;EACA,8BAAA;;AAEC;EACD;IACE,iGAAA;;;AAzCH,MAmDE;EACD,SAAA;EACA,WAAA;EACA,YAAA;EACA,kBAAA;EACA,eAAA;;AAxDD,MAmDE,cAMD;EACE,WAAA;EACA,sBAAA;EACA,YAAA;EACA,UAAA;EACA,qBAAA;EACA,4DAAA;EACA,oDAAA;;AAGF,MAhBC,cAgBA,mBAAoB;EACnB,sBAAA;;AApEH,MAmDE,cAoBD;EACE,8BAAA;EACA,sBAAA;;AAzEH,MAmDE,cAyBD;EACE,4BAAA;EACA,oBAAA;;AA9EH,MAmDE,cA8BD;EACE,8BAAA;EACA,sBAAA;;AAnFH,MAmDE,cAmCD;EACE,8BAAA;EACA,sBAAA;;AAxFH,MA4FE,gBAAgB,cAAc;EAC/B,sBAAA;;AAKC;EACD;EAAI;EAAK;IAAO,mBAAmB,WAAnB;;EAChB;IAAM,mBAAmB,SAAnB;;;AAGL;EACD;EAAI;EAAK;IACP,WAAW,WAAX;IACA,mBAAmB,WAAnB;;EACC;IACD,WAAW,SAAX;IACA,mBAAmB,SAAnB;;;AC7GH;EAEE,qBAAqB,eAArB;EACA,uBAAuB,iBAAvB;EACA,2BAA2B,qBAA3B","file":"admin.css"}
assets/css/admin.less ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ *
3
+ * Prefix everything
4
+ * Name descriptively
5
+ * Structure radically
6
+ *
7
+ * CSS Structure
8
+ * css/
9
+ * ├─ admin/
10
+ * │ ├─ base.less
11
+ * │ ├─ layout.less
12
+ * │ ├─ modules/
13
+ * │ │ ├─ button.less
14
+ * │ │ ├─ modal.less
15
+ * │ │ ├─ notices.less
16
+ * │ │ ├─ tips-and-tricks.less
17
+ * │ │ ├─ etc.....
18
+ * │ ├─ states.less
19
+ * │ ├─ theme.less
20
+ * ├─ admin.less
21
+ * ├─ admin.min.css
22
+ * ├─ admin.css
23
+ * ├─ variables.less
24
+ *
25
+ */
26
+
27
+ @import 'variables.less';
28
+ @import 'admin/base.less';
29
+ @import 'admin/layout.less';
30
+ //@import 'admin/modules/dark-mode.less';
31
+ @import 'admin/modules/buttons.less';
32
+ @import 'admin/modules/icons.less';
33
+ @import 'admin/modules/notices.less';
34
+ @import 'admin/modules/proof-of-consent.less';
35
+ @import 'admin/modules/processing-agreement.less';
36
+ @import 'admin/modules/dataleak-reports.less';
37
+ @import 'admin/modules/proof-of-consent.less';
38
+ @import 'admin/modules/dnsmpi.less';
39
+ @import 'admin/modules/cookiebanner.less';
40
+ @import 'admin/modules/input-fields.less';
41
+ @import 'admin/modules/bullets.less';
42
+ @import 'admin/modules/header.less';
43
+ @import 'admin/modules/dashboard.less';
44
+ @import 'admin/modules/wcag.less';
45
+ @import 'admin/modules/tooltip.less';
46
+ @import 'admin/modules/icons.less';
47
+ @import 'admin/modules/other-plugins.less';
48
+ @import 'admin/modules/suggested-plugins.less';
49
+ @import 'admin/modules/tips-tricks.less';
50
+ @import 'admin/modules/pagify.less';
51
+ @import 'admin/modules/tables.less';
52
+ @import 'admin/states.less';
53
+ @import 'admin/theme.less';
assets/css/admin.min.css ADDED
@@ -0,0 +1 @@
 
1
+ @gridblock _height_big:calc(auto+20px);:root{--rsp-spacing-xxs:5px;--rsp-spacing-xs:10px;--rsp-spacing-s:15px;--rsp-spacing-m:20px;--rsp-spacing-l:30px;--rsp-spacing-xl:40px;--rsp-grid-margin:var(--rsp-spacing-xs);--rsp-grid-gap:var(--rsp-spacing-m);--rsp-border-radius:12px;--rsp-border-radius-s:8px;--rsp-border:1px solid var(--rsp-border-color);--rsp-box-shadow:rgba(0,0,0,0.1) 0 4px 6px -1px,rgba(0,0,0,0.06) 0 2px 4px -1px;--rsp-border-color:#dfdfdf;--rsp-black:#333;--rsp-white:#fff;--rsp-yellow:#f4bf3e;--rsp-blue:#29b6f6;--rsp-dark-blue:#1e73be;--rsp-green:#2e8a37;--rsp-red:#d7263d;--rsp-pink:#e35899;--rsp-orange:#f39c12;--rsp-wp-blue:#007cba;--rsp-yellow-faded:#f2e6c9;--rsp-blue-faded:#ecf8fe;--rsp-dark-blue-faded:#ebf2f9;--rsp-green-faded:#ecf4ed;--rsp-red-faded:#fbebed;--rsp-pink-faded:#fceff5;--rsp-orange-faded:#fef5ea;--rsp-wp-blue-faded:#c6e0ef;--rsp-background-block-color:var(--rsp-white);--rsp-background-color:#f0f0f1;--rsp-input-background-color:#fff;--rsp-input-text-color:var(--rsp-text-color);--rsp-input-border-color:var(--rsp-grey-400);--rsp-text-color:rgba(26,26,26,0.9);--rsp-text-color-invert:rgba(255,255,255,0.9);--rsp-text-color-white:rgba(255,255,255,0.9);--rsp-text-color-light:rgba(69,69,82,0.9);--rsp-grey-100:#fafafa;--rsp-grey-200:#f9f9f9;--rsp-grey-300:#ededed;--rsp-grey-400:#c6c6c6;--rsp-grey-500:#737373;--rsp-grey-600:#696969;--rsp-color-success:var(--rsp-green);--rsp-color-error:var(--rsp-red);--rsp-color-warning:var(--rsp-red);--rsp-color-open:var(--rsp-yellow);--rsp-color-disabled:var(--rsp-grey-300);--rsp-fs-100:.6875rem;--rsp-fs-200:.8rem;--rsp-fs-300:.8125rem;--rsp-fs-400:.875rem;--rsp-fs-500:1rem;--rsp-fs-600:1.125rem;--rsp-fs-700:1.25rem;--rsp-fs-800:1.5rem;--rsp-fs-900:2.5rem;--rsp-brand-primary:var(--rsp-blue);--rsp-brand-secondary:var(--rsp-yellow);--rsp-brand-primary-faded:var(--rsp-blue-faded)}.cmplz-block{background:var(--rsp-background-block-color);box-shadow:var(--rsp-box-shadow);border-radius:var(--rsp-border-radius)}.cmplz{margin:0;font-size:var(--rsp-fs-300);box-sizing:border-box;line-height:1.5}.cmplz *,.cmplz *:before,.cmplz *:after{box-sizing:inherit}.cmplz body,.cmplz h1,.cmplz h2,.cmplz h3,.cmplz h4,.cmplz h5,.cmplz h6,.cmplz p,.cmplz ol,.cmplz ul{margin:0;padding:0}.cmplz img{max-width:100%;height:auto}.cmplz h1,.cmplz h2,.cmplz h3,.cmplz h4,.cmplz h5,.cmplz h6{color:var(--rsp-text-color);line-height:1.5}.cmplz .h0{font-size:var(--rsp-fs-900);font-weight:700;letter-spacing:.025rem}.cmplz h1,.cmplz .h1{font-size:var(--rsp-fs-800);line-height:1.5;font-weight:500;letter-spacing:.025rem}.cmplz h2,.cmplz .h2{font-size:var(--rsp-fs-700);font-weight:700;letter-spacing:.025rem}.cmplz h3,.cmplz .h3{font-size:var(--rsp-fs-600);font-weight:600;letter-spacing:.0125rem}.cmplz h4,.cmplz .h4{font-size:var(--rsp-fs-500);font-weight:600;letter-spacing:.0125rem}.cmplz h5,.cmplz .h5{font-size:var(--rsp-fs-400);font-weight:400;letter-spacing:.1px}.cmplz h6,.cmplz .h6{font-size:var(--rsp-fs-300);letter-spacing:.1px}.cmplz p{color:var(--rsp-text-color);font-weight:400;font-size:var(--rsp-fs-400);line-height:1.5}.cmplz .small-text{font-size:var(--rsp-fs-200);line-height:1.5;color:var(--rsp-text-color-light)}.cmplz a{font-size:1em}.cmplz .cmplz-notice-hook-element{display:none !important}.cmplz .error:not(.really-simple-plugins),.cmplz .notice:not(.really-simple-plugins),.cmplz .update-nag:not(.really-simple-plugins),.cmplz .notice-info:not(.really-simple-plugins){display:none !important}.cmplz .cmplz-header,.cmplz .cmplz-content-area{max-width:calc(100% - var(--rsp-spacing-xl) * 4);margin:0 auto}@media(max-width:1599px){.cmplz .cmplz-header,.cmplz .cmplz-content-area{max-width:calc(100% - var(--rsp-spacing-xl) * 1)}}@media(max-width:1440px){.cmplz .cmplz-header,.cmplz .cmplz-content-area{max-width:calc(100% - var(--rsp-spacing-xl) * 2)}}@media(max-width:768px){.cmplz .cmplz-header,.cmplz .cmplz-content-area{max-width:calc(100% - var(--rsp-spacing-xl) * 1)}}.cmplz .cmplz-header{display:flex;flex-wrap:wrap;justify-content:space-between;height:70px;box-sizing:border-box;background-color:var(--rsp-background-block-color)}@media(max-width:1279px){.cmplz .cmplz-header{height:auto}}.cmplz .cmplz-header img{margin:var(--rsp-spacing-m) 0}.cmplz .cmplz-header-left{display:flex;font-size:var(--rsp-fs-400)}@media(max-width:1279px){.cmplz .cmplz-header-left{justify-content:center;margin:var(--rsp-spacing-xs) 0;order:3;width:100%;background-color:var(--rsp-background-block-color)}}.cmplz .cmplz-header-left .cmplz-header-menu{margin:auto 15px}.cmplz .cmplz-header-left .cmplz-header-menu ul{display:flex}.cmplz .cmplz-header-left .cmplz-header-menu a{padding:23px 15px;text-decoration:none;color:var(--rsp-text-color);height:100%;border-bottom:4px solid transparent;transition:border .3s ease-out;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}@media(max-width:1279px){.cmplz .cmplz-header-left .cmplz-header-menu a{padding:15px}}.cmplz .cmplz-header-left .cmplz-header-menu a.active{border-bottom:4px solid var(--rsp-brand-primary)}.cmplz .cmplz-header-left .cmplz-header-menu a:hover{color:var(--rsp-brand-primary)}.cmplz .cmplz-header-right{display:flex;flex-wrap:wrap;align-items:center;margin-left:auto;gap:var(--rsp-spacing-s)}.cmplz .cmplz-header-right select{max-width:60ch}@media(max-width:576px){.cmplz .cmplz-header-right .button{display:none}}.cmplz .cmplz-content-area{margin-top:calc(var(--rsp-grid-margin) * 2)}.cmplz .cmplz-header-container{background:var(--rsp-background-block-color)}.cmplz .cmplz-grid{display:grid;grid-template-columns:repeat(4,calc(25% - var(--rsp-spacing-s)) [col-start]);grid-auto-rows:max-content;gap:var(--rsp-grid-gap);min-height:calc(100vh - 32px - 80px - 20px - var(--rsp-grid-gap))}.cmplz .cmplz-grid-container{background:var(--rsp-background-block-color);box-shadow:var(--rsp-box-shadow);border-radius:var(--rsp-border-radius);display:flex;flex-wrap:wrap;justify-content:flex-start;flex-direction:column;flex-basis:100%;min-height:100%;grid-column:span 1;grid-row:span 1}.cmplz .cmplz-grid-container p{font-size:var(--rsp-fs-300)}.cmplz .cmplz-grid-container.no-background{background:0;border:0;box-shadow:none}.cmplz .cmplz-grid-container.column-2{grid-column:span 2}.cmplz .cmplz-grid-container.row-2{grid-row:span 2}@media(max-width:1599px){.cmplz .cmplz-grid-container{grid-column:span 2}.cmplz .cmplz-grid-container.cmplz-progress,.cmplz .cmplz-grid-container.cmplz-overview{grid-column:span 4}}@media(max-width:992px){.cmplz .cmplz-grid-container{grid-column:span 2}.cmplz .cmplz-grid-container.column-2{grid-column:span 4}}@media(max-width:768px){.cmplz .cmplz-grid-container{grid-column:span 4}}.cmplz .cmplz-grid-header{width:100%;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;padding:var(--rsp-spacing-m) var(--rsp-spacing-l)}@media(max-width:1440px){.cmplz .cmplz-grid-header{padding:var(--rsp-spacing-s) var(--rsp-spacing-m)}}.cmplz .cmplz-grid-title,.cmplz .cmplz-wizard-title .h4{margin:4px 0 4px 0}.cmplz .cmplz-grid-controls{font-size:var(--rsp-fs-300);display:flex;gap:var(--rsp-spacing-s)}.cmplz .cmplz-grid-content{width:100%;box-sizing:border-box;padding:0 var(--rsp-spacing-l);flex-grow:100}@media(max-width:1440px){.cmplz .cmplz-grid-content{padding:0 var(--rsp-spacing-m)}}.cmplz .cmplz-grid-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--rsp-grid-margin);width:100%;min-height:calc(30px+var(--rsp-spacing-s) * 2);box-sizing:border-box;padding:var(--rsp-spacing-m) var(--rsp-spacing-l);align-self:flex-end}@media(max-width:1440px){.cmplz .cmplz-grid-footer{padding:var(--rsp-spacing-s) var(--rsp-spacing-m)}}.cmplz .cmplz-grid-footer .cmplz-legend{display:flex}.cmplz .cmplz-grid-footer .cmplz-legend span{padding-left:5px}.cmplz .cmplz-flex-push-right{margin-left:auto}.cmplz .cmplz-flex-push-left{margin-right:auto}.cmplz a.button,.cmplz button.button,.cmplz input.button{font-size:var(--rsp-fs-300);font-weight:300;letter-spacing:.5px;transition:all .3s ease}.cmplz a.button.button-black,.cmplz button.button.button-black,.cmplz input.button.button-black{border:0 solid transparent;background:var(--rsp-black);color:var(--rsp-text-color-white)}.cmplz a.button.button-black:hover,.cmplz button.button.button-black:hover,.cmplz input.button.button-black:hover,.cmplz a.button.button-black:focus,.cmplz button.button.button-black:focus,.cmplz input.button.button-black:focus,.cmplz a.button.button-black:active,.cmplz button.button.button-black:active,.cmplz input.button.button-black:active{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--rsp-black)}.cmplz a.button.button-tertiary,.cmplz button.button.button-tertiary,.cmplz input.button.button-tertiary,.cmplz a.button.button-red,.cmplz button.button.button-red,.cmplz input.button.button-red{border:0 solid transparent;background:var(--rsp-red);color:var(--rsp-text-color-white)}.cmplz a.button.button-tertiary:hover,.cmplz button.button.button-tertiary:hover,.cmplz input.button.button-tertiary:hover,.cmplz a.button.button-red:hover,.cmplz button.button.button-red:hover,.cmplz input.button.button-red:hover,.cmplz a.button.button-tertiary:focus,.cmplz button.button.button-tertiary:focus,.cmplz input.button.button-tertiary:focus,.cmplz a.button.button-red:focus,.cmplz button.button.button-red:focus,.cmplz input.button.button-red:focus,.cmplz a.button.button-tertiary:active,.cmplz button.button.button-tertiary:active,.cmplz input.button.button-tertiary:active,.cmplz a.button.button-red:active,.cmplz button.button.button-red:active,.cmplz input.button.button-red:active{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--rsp-red);background:var(--rsp-red);color:var(--rsp-text-color-white)}.cmplz-shortcode{right:10000px;position:absolute;background-color:#fff;padding:0;white-space:nowrap}.shortcode{cursor:pointer}.cmplz-icon,.cmplz-icon-tooltip{display:flex;align-items:center;justify-content:center}.cmplz-icon svg,.cmplz-icon-tooltip svg{fill:currentColor}.cmplz-copy-shortcode{cursor:pointer;display:flex;justify-content:center;transition:transform .1s ease-in}.cmplz-copy-shortcode.cmplz-click-animation .cmplz-icon{animation:beat .4s ease-out}@keyframes beat{0{transform:scale(1)}50%{transform:scale(0.8)}95%{transform:scale(1.1)}100%{transform:scale(1)}}.cmplz-copy-shortcode-text{right:10000px;position:absolute;background-color:#fff;padding:0;white-space:nowrap}.cmplz-admin-notice .cmplz-admin-notice-container{display:flex;padding:12px;align-items:center}.cmplz-admin-notice .cmplz-admin-notice-container .cmplz-logo img{margin-top:.5em}.cmplz-admin-notice .cmplz-admin-notice-container .dashicons{margin-left:10px;margin-right:5px}.cmplz .wrap .button.cmplz-header-btn{margin-left:6px;margin-top:20px}.cmplz .cookie-snapshot{grid-column-start:1;grid-column-end:3;background:var(--rsp-background-block-color);box-shadow:var(--rsp-box-shadow);border-radius:var(--rsp-border-radius);padding:var(--rsp-spacing-m) var(--rsp-spacing-l)}.cmplz #cmplz-cookiestatement-snapshot-generate{display:flex;align-items:center;gap:var(--rsp-spacing-s)}.cmplz .cmplz-proof-of-consent .search-box input[name="s"],.cmplz .cmplz-records-of-consent .search-box input[name="s"],.cmplz .cmplz-proof-of-consent p.search-box,.cmplz .cmplz-records-of-consent p.search-box{float:initial;margin:var(--rsp-spacing-xs) 0;position:relative;top:1px}.cmplz .cmplz-proof-of-consent p.search-box,.cmplz .cmplz-records-of-consent p.search-box{display:inline-block;margin:0}.cmplz .cmplz-proof-of-consent .tablenav.top,.cmplz .cmplz-records-of-consent .tablenav.top{margin:var(--rsp-spacing-xs) 0;display:inline-block;float:right}.cmplz .cmplz-proof-of-consent .cmplz_month_select,.cmplz .cmplz-records-of-consent .cmplz_month_select,.cmplz .cmplz-proof-of-consent .cmplz_year_select,.cmplz .cmplz-records-of-consent .cmplz_year_select{margin:var(--rsp-spacing-xs) 0}.cmplz .cmplz-proof-of-consent .cmplz_year_select,.cmplz .cmplz-records-of-consent .cmplz_year_select{margin-left:var(--rsp-spacing-xxs)}.processing-agreements{grid-column-start:1;grid-column-end:3}.cmplz-processing-agreements .tablenav.top{margin-top:var(--rsp-spacing-xs);margin-bottom:var(--rsp-spacing-s)}.column-download .cmplz-icon{justify-content:flex-start}.dataleak-reports{grid-column-start:1;grid-column-end:3}.cmplz-dataleak-reports .tablenav.top{margin-top:var(--rsp-spacing-xs);margin-bottom:var(--rsp-spacing-s)}.cmplz .wrap .button.cmplz-header-btn{margin-left:6px;margin-top:20px}.cmplz .cmplz-dnsmpi,.cmplz .cmplz-datarequests{grid-column-start:1;grid-column-end:3;background:var(--rsp-background-block-color);box-shadow:var(--rsp-box-shadow);border-radius:var(--rsp-border-radius);padding:var(--rsp-spacing-m) var(--rsp-spacing-l)}.cmplz .cmplz-dnsmpi .search-box,.cmplz .cmplz-datarequests .search-box{margin:var(--rsp-spacing-xs) 0;float:left}.cmplz .cmplz-dnsmpi .tablenav,.cmplz .cmplz-datarequests .tablenav{display:none}.cmplz #cmplz-dnsmpi-export{display:flex;align-items:center;gap:var(--rsp-spacing-s)}.cmplz-banner-editor{gap:var(--rsp-spacing-l);padding:var(--rsp-spacing-m) var(--rsp-spacing-xl);grid-column-start:1;grid-column-end:3}.cmplz-banner-editor .cmplz-graph-container{margin:0;width:100%;min-width:350px;display:flex;justify-content:center;flex-wrap:wrap;padding:var(--rsp-spacing-m);background:var(--rsp-grey-200);border-radius:var(--rsp-border-radius-s);border:1px solid #f2f2f2}.cmplz-banner-editor .cmplz-graph-container div{width:100%}.cmplz-banner-editor .cmplz-block{padding:var(--rsp-spacing-m)}.cmplz-banner-editor .cmplz-panel-wrap{margin:var(--rsp-spacing-s) 0}.cmplz-banner-editor .cmplz-panel.cmplz-notice{padding:0}.cmplz-banner-editor .cmplz-document-button{margin-top:0}.cmplz-insights .cmplz-graph-container{top:0;right:0;bottom:0;left:0}.cmplz-insights canvas.cmplz-graph{height:85px !important}.cmplz input{background:var(--rsp-input-background-color);color:var(--rsp-input-text-color);border-color:var(--rsp-input-border-color)}.cmplz input[type=checkbox]:disabled{cursor:not-allowed}.cmplz input:disabled+.cmplz-slider{cursor:not-allowed}.cmplz input[type=text]:disabled{background-color:#eee;color:#ababab}.cmplz select{background:var(--rsp-input-background-color) url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55%;color:var(--rsp-input-text-color);border-color:var(--rsp-input-border-color)}.cmplz .field-group .cmplz-label{text-align:left;margin:0 var(--rsp-spacing-xs) 0 0}.cmplz .field-group.first .cmplz-label{padding-top:0}.cmplz .field-group .cmplz-checkbox{display:flex;justify-content:space-between;align-items:center}.cmplz .cmplz-switch{margin-top:0;margin-bottom:0;position:relative;display:inline-block;width:40px;height:21px}.cmplz .cmplz-switch input{display:none !important}.cmplz .cmplz-switch:disabled{cursor:not-allowed}.cmplz .cmplz-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;-webkit-transition:.4s;transition:.4s}.cmplz .cmplz-slider:before{position:absolute;content:"";height:15px;width:15px;left:4px;bottom:3px;background-color:white;-webkit-transition:.4s;transition:.4s}.cmplz .cmplz-slider.cmplz-round{border-radius:20px}.cmplz .cmplz-slider.cmplz-round:before{border-radius:50%}.cmplz .cmplz-slider-na{padding:2px 8px;position:absolute;top:0;left:0;right:0;bottom:0;background-color:#ccc;-webkit-transition:.4s;transition:.4s}.cmplz .cmplz-slider-na:before{position:absolute;content:"N/A";color:white}.cmplz .cmplz-slider-na.cmplz-round{border-radius:20px}.cmplz input:checked+.cmplz-slider{background-color:var(--rsp-wp-blue)}.cmplz input:checked+.cmplz-slider:before{-webkit-transform:translateX(17px);-ms-transform:translateX(17px);transform:translateX(17px)}.cmplz input:checked:disabled+.cmplz-slider{background-color:var(--rsp-wp-blue-faded)}.cmplz input:focus+.cmplz-slider{box-shadow:0 0 1px var(--rsp-wp-blue)}.cmplz .cmplz-bullet{height:13px;width:13px;flex:0 0 13px;border-radius:50%;display:inline-block}.cmplz .cmplz-bullet.rsp-yellow{background-color:var(--rsp-yellow)}.cmplz .cmplz-bullet.rsp-blue{background-color:var(--rsp-blue)}.cmplz .cmplz-bullet.rsp-pink{background-color:var(--rsp-pink)}.cmplz .cmplz-bullet.rsp-red{background-color:var(--rsp-red)}.cmplz .cmplz-bullet.rsp-green{background-color:var(--rsp-green)}.cmplz .cmplz-bullet.rsp-blue-yellow{background:var(--rsp-blue);background:linear-gradient(77deg,#29b6f6 0,#29b6f6 30%,#f4bf3e 70%,#f4bf3e 100%);animation:gradient 2s ease infinite;background-size:200% 200%}@keyframes gradient{0{background-position:0 50%}50%{background-position:100% 50%}100%{background-position:0 50%}}.cmplz-header-container .cmplz-header{display:flex;justify-content:space-between;height:70px;box-sizing:border-box;background-color:#fff}.cmplz-header-container .cmplz-header img{margin:auto 0;height:25px}.cmplz-header-container .cmplz-header .cmplz-header-right{display:flex;align-items:center;margin-left:auto;gap:var(--rsp-spacing-s)}.cmplz-header-container .cmplz-header .cmplz-header-right select{max-width:60ch}#cmplz_selected_region{font-size:13px}.cmplz-plusone{border-radius:50%;background-color:#d63638;color:#fff;padding:2px 6px;font-size:10px}.cmplz{margin:0 0 0 -20px}.cmplz .dashicons,.cmplz .dashicons-before:before{font-size:15px;width:15px;height:15px}.cmplz .cmplz-copy-shortcode{cursor:pointer}.cmplz .cmplz-selectable{-webkit-touch-callout:all;-webkit-user-select:all;-khtml-user-select:all;-moz-user-select:all;-ms-user-select:all;user-select:all}.cmplz .cmplz-region-indicator{display:flex;align-items:center}.cmplz .cmplz-region-indicator img{width:25px;height:25px;margin-left:5px}.cmplz .cmplz-documents .cmplz-region-indicator img{width:14px;height:14px;margin-left:0}.cmplz-dashboard .cmplz-progress-warning-container{position:relative;display:grid;grid-template-columns:126px auto 50px}.cmplz-dashboard .cmplz-progress-warning-container>div{padding:10px 0}.cmplz-dashboard .cmplz-progress-warning-container>div:nth-child(3){padding:0}.cmplz-dashboard .cmplz-progress-warning-container button{border:0;background-color:transparent;cursor:pointer}.cmplz-dashboard .cmplz-progress-warning-container button .cmplz-close-warning-x{color:#ccc;font-size:.9em;align-self:center}.cmplz-dashboard .cmplz-scroll-container{margin-top:20px;height:242px;overflow-y:auto;padding:0;border-radius:0}.cmplz-dashboard .cmplz-scroll-container::-webkit-scrollbar-track{border-radius:10px;-webkit-box-shadow:inset 0 0 2px rgba(0,0,0,0);background-color:transparent}.cmplz-dashboard .cmplz-scroll-container::-webkit-scrollbar{width:8px;background-color:var(--rsp-grey-300);cursor:pointer}.cmplz-dashboard .cmplz-scroll-container::-webkit-scrollbar-thumb{background-color:var(--rsp-grey-400);border-radius:10px}.cmplz-dashboard .cmplz-progress-status-container{margin-right:40px}.cmplz-dashboard .cmplz-progress-status{display:block;min-width:60px;text-align:center;border-radius:15px;padding:4px 8px;font-size:var(--rsp-fs-100);font-weight:600}.cmplz-dashboard .cmplz-progress-status.cmplz-completed{background-color:var(--rsp-color-success);color:white}.cmplz-dashboard .cmplz-progress-status.cmplz-open{background-color:var(--rsp-color-open)}.cmplz-dashboard .cmplz-progress-status.cmplz-urgent{background-color:var(--rsp-color-warning);color:white}.cmplz-dashboard .cmplz-progress-status.cmplz-premium{background-color:var(--rsp-brand-primary);color:white}.cmplz-dashboard .cmplz-progress-bar,.cmplz-dashboard .cmplz-sync-progress-bar{border-radius:5px;background:var(--rsp-grey-400);justify-content:flex-start;align-items:center;position:relative;display:flex;height:20px;width:100%}.cmplz-dashboard .cmplz-progress-bar .cmplz-progress-bar-value,.cmplz-dashboard .cmplz-sync-progress-bar .cmplz-progress-bar-value{border-radius:5px;animation:cmplz-load-progress-bar 3s normal forwards;box-shadow:0 10px 40px -10px #fff;background:var(--rsp-color-success);height:20px;width:0}.cmplz-dashboard .cmplz-progress-bar .cmplz-progress-bar-value.orange,.cmplz-dashboard .cmplz-sync-progress-bar .cmplz-progress-bar-value.orange{background-color:var(--rsp-orange)}.cmplz-dashboard .cmplz-progress-percentage,.cmplz-dashboard .cmplz-progress-description{font-weight:600;font-size:18px}.cmplz-dashboard .cmplz-progress-percentage{margin-right:6px;font-size:32px}.cmplz-dashboard .cmplz-grid-progress{display:grid;grid-template-columns:125px auto;align-items:center;margin-top:20px}.cmplz-dashboard .cmplz-task-switcher-container{display:flex;border-radius:var(--rsp-border-radius)}.cmplz-dashboard .cmplz-task-switcher-container .cmplz-task-switcher:first-of-type{border-right:1px solid var(--rsp-grey-400);padding-right:10px}.cmplz-dashboard .cmplz-task-switcher-container .cmplz-task-switcher:last-of-type{padding-left:10px}.cmplz-dashboard .cmplz-task-switcher{font-size:var(--rsp-fs-200);cursor:pointer;transition:.3s}.cmplz-dashboard .cmplz-task-switcher:hover,.cmplz-dashboard .cmplz-task-switcher.active,.cmplz-dashboard .cmplz-task-switcher.active:hover{text-decoration:underline}.cmplz-dashboard .cmplz-support textarea{width:100%;height:75px;border-color:#cecece;font-size:13px}.cmplz-dashboard .cmplz-document{display:grid;grid-template-columns:2fr auto auto auto 1fr;margin:var(--rsp-spacing-xs) 0;align-items:center}.cmplz-dashboard .cmplz-document .cmplz-grid-title{padding-top:var(--rsp-spacing-l)}.cmplz-dashboard .cmplz-document.compact{grid-template-columns:1fr auto}.cmplz-dashboard .cmplz-document>div:not(:first-child){margin-left:auto}.cmplz-dashboard .cmplz-document.cmplz-header>div:last-child{padding-top:14px}.cmplz-dashboard .cmplz-document.cmplz-header a{color:#d7d7d7;font-size:12px;line-height:2em}.cmplz-dashboard .cmplz-document .cmplz-icon{padding:0 4px}.cmplz-dashboard .cmplz-document h3{margin-bottom:5px}.cmplz-dashboard .cmplz-document select{width:calc(100% - var(--rsp-spacing-xs));font-size:13px}.cmplz-dashboard .cmplz-document.flags{display:flex}.cmplz-dashboard .cmplz-document.flags .cmplz-flags-container{display:flex;flex-wrap:wrap;gap:var(--rsp-spacing-xxs)}.cmplz-dashboard .cmplz-document-header{margin-top:var(--rsp-spacing-l);margin-bottom:var(--rsp-spacing-s);display:flex;justify-content:space-between}.cmplz-dashboard .cmplz-document-header>a{color:var(--rsp-text-color-light);font-size:var(--rsp-fs-300)}.cmplz-dashboard .button{min-width:100px;text-align:center}.cmplz-dashboard .item-footer{width:100%}.cmplz-dashboard .item-footer a.button+a.button{margin-left:10px}.cmplz-dashboard .cmplz-tools-row{display:grid;grid-template-columns:1fr auto;margin:10px 0}.cmplz-dashboard .cmplz-tools-row>div:last-child{margin-left:auto}.cmplz-dashboard .cmplz-tools-row .cmplz-last-updated-poc{white-space:nowrap;font-size:13px}#complianz *:focus-visible{outline-offset:4px}#complianz.wrap.cmplz-high-contrast .cmplz-grid-controls{color:var(--rsp-black)}#complianz.wrap.cmplz-high-contrast .cmplz-grid-controls a{color:var(--rsp-black)}#complianz.wrap.cmplz-high-contrast button .cmplz-close-warning-x{color:var(--rsp-black)}#complianz.wrap.cmplz-high-contrast .cmplz-step .cmplz-step-header.incomplete a h2{color:var(--rsp-black)}#complianz.wrap.cmplz-high-contrast .cmplz-step .cmplz-section{display:grid;grid-template-columns:20px 1fr;margin:0 20px}#complianz.wrap.cmplz-high-contrast .cmplz-step .cmplz-section span{align-self:center;justify-self:center}#complianz.wrap.cmplz-high-contrast .cmplz-step .cmplz-section a{display:inline-block;text-decoration:none;padding:3px 5px}#complianz.wrap.cmplz-high-contrast .cmplz-step .cmplz-section a h3{color:var(--rsp-black)}#complianz.wrap.cmplz-high-contrast .cmplz-step .cmplz-section.cmplz-done a h3{color:var(--rsp-black)}#complianz.wrap.cmplz-high-contrast .cmplz-step .cmplz-section.active a h3{color:var(--rsp-black) !important}#complianz.wrap.cmplz-high-contrast .cmplz-help-warning-wrap .cmplz-help-modal{z-index:1}#complianz.wrap.cmplz-high-contrast .cmplz-help-warning-wrap .cmplz-help-modal.cmplz-notice{background-color:var(--rsp-black);color:var(--rsp-text-color-invert)}#complianz.wrap.cmplz-high-contrast .cmplz-help-warning-wrap .cmplz-help-modal.cmplz-notice:after{border-right:15px solid var(--rsp-black)}#complianz.wrap.cmplz-high-contrast .cmplz-help-warning-wrap .cmplz-help-modal.cmplz-warning a{color:var(--rsp-black) !important}#complianz.wrap.cmplz-high-contrast .cmplz-help-warning-wrap .cmplz-help-modal.cmplz-warning{color:var(--rsp-black) !important;background-color:var(--rsp-yellow)}#complianz.wrap.cmplz-high-contrast .cmplz-help-warning-wrap .cmplz-help-modal.cmplz-warning:after{border-right:15px solid var(--rsp-yellow)}#complianz.wrap.cmplz-high-contrast .cmplz-help-warning-wrap .cmplz-help-modal a{color:#fff}#complianz.wrap.cmplz-high-contrast .cmplz-panel.cmplz-toggle-disabled{color:var(--rsp-black)}#complianz.wrap.cmplz-high-contrast input:disabled{cursor:not-allowed}#complianz.wrap.cmplz-high-contrast .cmplz-sublabel label{color:var(--rsp-black);font-size:13px}#complianz.wrap.cmplz-high-contrast ::placeholder{color:var(--rsp-black)}#complianz.wrap.cmplz-high-contrast ::placeholder{color:var(--rsp-black)}#complianz.wrap.cmplz-high-contrast ::-moz-placeholder{color:var(--rsp-black)}#complianz.wrap.cmplz-high-contrast :-ms-input-placeholder{color:var(--rsp-black)}#complianz.wrap.cmplz-high-contrast :-moz-placeholder{color:var(--rsp-black)}#complianz.wrap.cmplz-high-contrast .cmplz-status-info{display:flex}#complianz.wrap.cmplz-high-contrast .cmplz-status-info>div{padding:10px 10px 10px 0}#complianz.wrap.cmplz-high-contrast .cmplz-status-info .cmplz-license-status-container .cmplz-license-status{display:block}#complianz.wrap.cmplz-high-contrast .cmplz-status-info .cmplz-license-status-container .cmplz-license-status.cmplz-premium{background-color:var(--rsp-black)}#complianz.wrap.cmplz-high-contrast .cmplz-status-info .cmplz-license-status-container .cmplz-license-status.cmplz-success{color:var(--rsp-black)}#complianz.wrap.cmplz-high-contrast .cmplz-status-info .cmplz-license-status-container .cmplz-license-status.cmplz-warning{color:var(--rsp-black)}[cmplz-tooltip]{position:relative;cursor:pointer}[cmplz-tooltip]::before,[cmplz-tooltip]::after{text-transform:none;font-size:13px;user-select:none;pointer-events:none;position:absolute;display:none;opacity:0}[cmplz-tooltip]::before{content:'';border:5px solid transparent;z-index:1001}[cmplz-tooltip]::after{content:attr(cmplz-tooltip);font-weight:normal;overflow:hidden;text-overflow:ellipsis;padding:1ch 1.5ch;border-radius:.3ch;box-shadow:0 1em 2em -0.5em rgba(0,0,0,0.35);background:#333;color:#fff;z-index:1000;width:min(100vw,45ch);text-align:left}[cmplz-tooltip]:hover::before,[cmplz-tooltip]:hover::after{display:block}[cmplz-tooltip]:focus::before,[cmplz-tooltip]:focus::after{display:block}[cmplz-tooltip='']::before,[cmplz-tooltip='']::after{display:none !important}[cmplz-tooltip]:not([flow])::before,[cmplz-tooltip][flow^="up"]::before{bottom:calc(100%+5px);border-bottom-width:0;border-top-color:#333}[cmplz-tooltip]:not([flow])::after,[cmplz-tooltip][flow^="up"]::after{bottom:calc(100%+10px)}[cmplz-tooltip]:not([flow])::before,[cmplz-tooltip]:not([flow])::after,[cmplz-tooltip][flow^="up"]::before,[cmplz-tooltip][flow^="up"]::after{left:50%;transform:translate(-50%,-0.5em)}[cmplz-tooltip][flow^="down"]::before{top:17px;border-top-width:0}[cmplz-tooltip][flow^="down"]::after{top:calc(100%+5px)}[cmplz-tooltip][flow^="down"]::before,[cmplz-tooltip][flow^="down"]::after{left:50%;transform:translate(-50%,0.5em)}[cmplz-tooltip][flow^="left"]::before{top:50%;border-right-width:0;border-left-color:#333;left:calc(0 - 5px);transform:translate(-0.5em,-50%)}[cmplz-tooltip][flow^="left"]::after{top:50%;right:calc(100%+5px);transform:translate(-0.5em,-50%)}[cmplz-tooltip][flow^="right"]::before{top:10px;border-left-width:0;border-right-color:#333;right:calc(0 - 23px);transform:translate(0.5em,-50%)}[cmplz-tooltip][flow^="right"]::after{top:10px;left:calc(100%+23px);transform:translate(0.5em,-50%);min-width:150px}@keyframes tooltips-vert{to{opacity:.9;transform:translate(-50%,0)}}@keyframes tooltips-horz{to{opacity:.9;transform:translate(0,-50%)}}[cmplz-tooltip]:not([flow]):hover::before,[cmplz-tooltip]:not([flow]):focus::before,[cmplz-tooltip]:not([flow]):hover::after,[cmplz-tooltip]:not([flow]):focus::after,[cmplz-tooltip][flow^="up"]:hover::before,[cmplz-tooltip][flow^="up"]:focus::before,[cmplz-tooltip][flow^="up"]:hover::after,[cmplz-tooltip][flow^="up"]:focus::after,[cmplz-tooltip][flow^="down"]:hover::before,[cmplz-tooltip][flow^="down"]:focus::before,[cmplz-tooltip][flow^="down"]:hover::after,[cmplz-tooltip][flow^="down"]:focus::after{animation:tooltips-vert 300ms ease-out forwards}[cmplz-tooltip][flow^="left"]:hover::before,[cmplz-tooltip][flow^="left"]:focus::before,[cmplz-tooltip][flow^="left"]:hover::after,[cmplz-tooltip][flow^="left"]:focus::after,[cmplz-tooltip][flow^="right"]:hover::before,[cmplz-tooltip][flow^="right"]:focus::before,[cmplz-tooltip][flow^="right"]:hover::after,[cmplz-tooltip][flow^="right"]:focus::after{animation:tooltips-horz 300ms ease-out forwards}.cmplz .cmplz-other-plugins .rsp-logo img{height:34px}.cmplz .cmplz-other-plugins-container{display:flex !important;flex-direction:row;flex-wrap:wrap;margin-bottom:10px;font-size:var(--rsp-fs-300);line-height:1.7;gap:var(--rsp-spacing-xxs)}@media screen and (max-width:992px){.cmplz .cmplz-other-plugins-container{flex-direction:row;overflow:hidden}}.cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element{width:100%;display:flex;align-content:space-between;justify-content:space-between;gap:10px;--rsp-other-plugins-color:var(---rsp-brand-primary)}.cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element.cmplz-zip{--rsp-other-plugins-color:var(--rsp-pink)}.cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element.cmplz-burst{--rsp-other-plugins-color:var(--rsp-green)}.cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element.cmplz-complianz,.cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element.cmplz-complianztc{--rsp-other-plugins-color:var(--rsp-blue)}.cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element.cmplz-rsssl{--rsp-other-plugins-color:var(--rsp-yellow)}.cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element a{width:max-content;color:var(--rsp-text-color-light);transition:color .3s ease;display:flex;align-items:center;min-width:0;gap:var(--rsp-spacing-xs);text-decoration:none}.cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element a:hover{color:var(--rsp-other-plugins-color);text-decoration:underline}.cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element a:hover .cmplz-bullet{background-color:var(--rsp-other-plugins-color)}.cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element a:hover .cmplz-other-plugins-content{text-decoration:underline}.cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element .cmplz-bullet{transition:background-color .3s ease;background-color:var(--rsp-other-plugins-color)}.cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element .cmplz-other-plugins-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cmplz .cmplz-other-plugins-container .cmplz-other-plugins-element .cmplz-other-plugin-status{min-width:fit-content}.cmplz-suggested-plugin{display:flex;flex-wrap:wrap;align-items:center;gap:20px;background-color:#f9f9f9;padding:20px}.cmplz-suggested-plugin .cmplz-suggested-plugin-desc-group .cmplz-suggested-plugin-title{font-size:16px;font-weight:600}.cmplz-suggested-plugin .cmplz-suggested-plugin-desc-group .cmplz-suggested-plugin-desc{font-size:14px;white-space:nowrap;margin:4px 0}.cmplz-suggested-plugin .cmplz-suggested-plugin-desc-long{flex:1;font-size:12px;line-height:1.6;font-weight:400;min-width:30ch;margin-right:auto}.cmplz-suggested-plugin .cmplz-suggested-plugin-img{width:70px;height:70px;border-radius:5px}.cmplz-tips-tricks-container{display:flex !important;flex-direction:row;flex-wrap:wrap;margin-bottom:10px;font-size:var(--rsp-fs-300);line-height:1.7;gap:var(--rsp-spacing-xxs)}@media screen and (max-width:992px){.cmplz-tips-tricks-container{flex-direction:row;overflow:hidden}}.cmplz-tips-tricks-container .cmplz-tips-tricks-element{width:calc(50% - var(--rsp-spacing-xxs))}@media(max-width:576px){.cmplz-tips-tricks-container .cmplz-tips-tricks-element{width:100%}}.cmplz-tips-tricks-container .cmplz-tips-tricks-element a{color:var(--rsp-text-color-light);transition:color .3s ease;display:flex;align-items:center;gap:var(--rsp-spacing-xs);min-width:0;text-decoration:none}.cmplz-tips-tricks-container .cmplz-tips-tricks-element a:hover{color:var(--rsp-brand-primary);text-decoration:underline}.cmplz-tips-tricks-container .cmplz-tips-tricks-element a:hover .cmplz-bullet{background-color:var(--rsp-brand-primary)}.cmplz-tips-tricks-container .cmplz-tips-tricks-element a:hover .cmplz-tips-tricks-content{text-decoration:underline}.cmplz-tips-tricks-container .cmplz-tips-tricks-element .cmplz-bullet{transition:background-color .3s ease;background-color:var(--rsp-grey-300)}.cmplz-tips-tricks-container .cmplz-tips-tricks-element .cmplz-tips-tricks-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cmplz-pagination{display:flex;justify-content:flex-end;margin-left:auto}.cmplz-pagination a{cursor:pointer;width:25px;height:25px;border:1px solid var(--rsp-input-border-color);color:#000;text-align:center;margin:5px;line-height:25px;border-radius:3px}.cmplz-pagination a.cmplz-current{background-color:#000;color:#fff}.cmplz-pagination a .cmplz-icon{margin-top:3px;color:#000 !important}.cmplz .wp-list-table{border-radius:var(--rsp-border-radius-s)}.cmplz .row-actions{left:0}.cmplz .cmplz-skeleton:empty{margin:auto;margin-bottom:25px;width:100%;height:235px;background-image:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,0.5) 70%,rgba(255,255,255,0.5) 15%),linear-gradient(#f2f2f2 38px,transparent 0),linear-gradient(#f2f2f2 38px,transparent 0),linear-gradient(#f2f2f2 38px,transparent 0),linear-gradient(#f2f2f2 38px,transparent 0);background-repeat:repeat-y;background-size:50px 200px,100% 117px,100% 117px,100% 117px,100% 117px;background-position:0 0,1px 1px,1px 40px,1px 79px,1px 118px;background-color:#d6d8db;border-right:1px solid #d6d8db;animation:shine 2.5s infinite}@keyframes shine{to{background-position:100% 0,1px 1px,1px 40px,1px 79px,1px 118px}}.cmplz .cmplz-loader{margin:0;width:50px;height:15px;text-align:center;font-size:10px}.cmplz .cmplz-loader>div{margin:1px;background-color:#333;height:100%;width:3px;display:inline-block;-webkit-animation:sk-stretchdelay 1.2s infinite ease-in-out;animation:sk-stretchdelay 1.2s infinite ease-in-out}.cmplz .cmplz-loader.cmplz-loader-white>div{background-color:#fff}.cmplz .cmplz-loader .rect2{-webkit-animation-delay:-1.1s;animation-delay:-1.1s}.cmplz .cmplz-loader .rect3{-webkit-animation-delay:-1s;animation-delay:-1s}.cmplz .cmplz-loader .rect4{-webkit-animation-delay:-0.9s;animation-delay:-0.9s}.cmplz .cmplz-loader .rect5{-webkit-animation-delay:-0.8s;animation-delay:-0.8s}.cmplz .button-primary .cmplz-loader div{background-color:#fff}@-webkit-keyframes sk-stretchdelay{0,40%,100%{-webkit-transform:scaleY(0.4)}20%{-webkit-transform:scaleY(1)}}@keyframes sk-stretchdelay{0,40%,100%{transform:scaleY(0.4);-webkit-transform:scaleY(0.4)}20%{transform:scaleY(1);-webkit-transform:scaleY(1)}}:root{--rsp-brand-primary:var(--rsp-blue);--rsp-brand-secondary:var(--rsp-yellow);--rsp-brand-primary-faded:var(--rsp-blue-faded)}
assets/css/admin.min.css.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"sources":["variables.less","admin.css","admin/base.less","admin/layout.less","admin/modules/buttons.less","admin/modules/icons.less","admin/modules/notices.less","admin/modules/proof-of-consent.less","admin/modules/processing-agreement.less","admin/modules/dataleak-reports.less","admin/modules/dnsmpi.less","admin/modules/cookiebanner.less","admin/modules/input-fields.less","admin/modules/bullets.less","admin/modules/header.less","admin/modules/dashboard.less","admin/modules/wcag.less","admin/modules/tooltip.less","admin/modules/other-plugins.less","admin/modules/suggested-plugins.less","admin/modules/tips-tricks.less","admin/modules/pagify.less","admin/modules/tables.less","admin/states.less","admin/theme.less"],"names":[],"mappings":"AAsDA,yCAUA,MAGE,sBACA,sBACA,qBACA,qBACA,qBACA,sBAGA,wCACA,oCAGA,yBACA,0BACA,+CACA,oFACA,2BAGA,iBACA,iBACA,qBACA,mBACA,wBACA,oBACA,kBACA,mBACA,qBACA,sBAEA,2BACA,yBACA,8BACA,0BACA,wBACA,yBACA,2BACA,4BAEA,8CACA,+BAGA,kCACA,6CACA,6CAEA,oCACA,8CACA,6CACA,0CAEA,uBACA,uBACA,uBACA,uBACA,uBACA,uBAGA,qCACA,iCACA,mCACA,mCACA,yCAIA,uBACA,oBACA,uBACA,sBACA,kBACA,sBACA,qBACA,oBACA,oBAGA,oCACA,wCACA,+CC1DF,CD6DA,aACE,6CACA,0EACA,sCC3DF,CC/FA,OACE,SACA,4BACA,oDACA,eDiGF,CCrGA,sCAOI,6CDmGJ,CC1GA,qGAWI,SACA,SD2GJ,CCvHA,WAgBI,eACA,WD0GJ,CC3HA,4DAqBC,4BACA,eD8GD,CCpIA,WA0BC,4BACA,gBACA,uBD6GD,CCzIA,qBAgCC,4BACA,gBACA,gBACA,uBD6GD,CChJA,qBAuCC,4BACA,gBACA,uBD6GD,CCtJA,qBA6CC,4BACA,gBACA,wBD6GD,CC5JA,qBAmDC,4BACA,gBACA,wBD6GD,CClKA,qBAyDC,4BACA,gBACA,oBD6GD,CCxKA,qBA+DC,4BACA,oBD6GD,CC7KA,SAoEC,4BACA,gBACA,4BACA,eD4GD,CCnLA,mBA2EC,4BACA,gBACA,iCD2GD,CCxLA,SAiFC,aD0GD,CC3LA,kCAsFC,sBDwGD,CCnGC,oLACE,sBDwGH,CElMA,gDAEC,iDACA,aFqMD,CEpMC,0EACE,gDFwMD,CACF,CEvMC,0EACE,gDF2MD,CACF,CE1MC,yEACE,gDF8MD,CACF,CE1N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rCA,kEAEE,wBhBisCF,CgB9rCA,sIAIE,SACA,yEhBgsCF,CgB5rCA,mCACE,SACA,kBhB+rCF,CgB5rCA,kCACE,oBhB8rCF,CgB3rCA,qEAEE,SACA,uEhB6rCF,CgBzrCA,mCACE,QACA,qBACA,uBACA,qBACA,yEhB4rCF,CgBzrCA,kCACE,QACA,uBACA,yEhB2rCF,CgBvrCA,oCACE,SACA,oBACA,wBACA,uBACA,uEhB0rCF,CgBvrCA,mCACE,SACA,uBACA,wEACA,ehByrCF,CgBrrCA,iCACE,GACD,YACA,+DhBwrCC,CACF,CgB5rCA,yBACE,GACD,YACA,+DhBwrCC,CACF,CgBrrCA,iCACE,GACD,YACA,+DhBurCC,CACF,CgB3rCA,yBACE,GACD,YACA,+DhBurCC,CACF,CgBnrCA,8dAME,uGhB4rCF,CgBzrCA,wUAIE,uGhB+rCF,CiB31CA,0CAEC,WjB41CD,CiB91CA,sCAMC,mFACA,qGACA,kCACA,mBACA,4BACA,gBACA,0BjB21CD,CiBz1CC,0EACE,qGACA,ejB41CD,CACF,CiB72CA,mEAoBG,WACA,qDACA,uDACA,6EACA,SACA,mDjB41CH,CiB11CG,6EACD,yCjB41CF,CiBz1CG,+EACD,0CjB21CF,CiBx1CG,wKACD,yCjB21CF,CiBx1CG,+EACD,2CjB01CF,CiBl4CA,qEA4CE,mEACA,kCACA,8DACA,qDACA,kEACA,YACA,0BACA,oBjBy1CF,CiBv1CE,2EACE,qCACA,yBjBy1CJ,CiB31CE,yFAKC,+CjBy1CH,CiB91CE,wGASC,yBjBw1CH,CiBt5CA,iFAoEE,oFACA,+CjBq1CF,CiB15CA,gGAyEE,mBACA,gBACA,sBjBo1CF,CiB/5CA,8FA8EE,8EjBo1CF,CkBl6CA,wBACE,qDACA,kCACA,kEACA,SACA,yBACA,YlBo6CF,CkB16CA,yFASG,eACA,elBo6CH,CkB96CA,wFAaG,eACA,mBACA,YlBo6CH,CkBn7CA,0DAmBC,qCACA,eACA,gBACA,gBACA,eACA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A,6BtBs/CD,CsBr/CE,IACD,oBACA,2BtBu/CD,CACF,CuBrmDA,MAEE,oCACA,wCACA,+CvBsmDF,E"}
assets/css/admin/base.less ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .cmplz {
2
+ margin: 0;
3
+ font-size: var(--rsp-fs-300);
4
+ box-sizing: border-box;
5
+ line-height: 1.5;
6
+
7
+ *, *:before, *:after {
8
+ box-sizing: inherit;
9
+ }
10
+
11
+ body, h1, h2, h3, h4, h5, h6, p, ol, ul {
12
+ margin: 0;
13
+ padding: 0;
14
+ }
15
+
16
+ img {
17
+ max-width: 100%;
18
+ height: auto;
19
+ }
20
+
21
+ h1, h2, h3, h4, h5, h6 {
22
+ color: var(--rsp-text-color);
23
+ line-height: 1.5;
24
+ }
25
+
26
+ .h0 {
27
+ font-size: var(--rsp-fs-900);
28
+ font-weight: 700;
29
+ letter-spacing: 0.025rem;
30
+ }
31
+
32
+ h1, .h1 {
33
+ font-size: var(--rsp-fs-800);
34
+ line-height: 1.5;
35
+ font-weight: 500;
36
+ letter-spacing: 0.025rem;
37
+ }
38
+
39
+ h2, .h2 {
40
+ font-size: var(--rsp-fs-700);
41
+ font-weight: 700;
42
+ letter-spacing: 0.025rem;
43
+ }
44
+
45
+ h3, .h3 {
46
+ font-size: var(--rsp-fs-600);
47
+ font-weight: 600;
48
+ letter-spacing: 0.0125rem;
49
+ }
50
+
51
+ h4, .h4 {
52
+ font-size: var(--rsp-fs-500);
53
+ font-weight: 600;
54
+ letter-spacing: 0.0125rem;
55
+ }
56
+
57
+ h5, .h5 {
58
+ font-size: var(--rsp-fs-400);
59
+ font-weight: 400;
60
+ letter-spacing: 0.1px;
61
+ }
62
+
63
+ h6, .h6 {
64
+ font-size: var(--rsp-fs-300);
65
+ letter-spacing: 0.1px;
66
+ }
67
+
68
+ p {
69
+ color: var(--rsp-text-color);
70
+ font-weight: 400;
71
+ font-size: var(--rsp-fs-400);
72
+ line-height: 1.5;
73
+ }
74
+
75
+ .small-text {
76
+ font-size: var(--rsp-fs-200);
77
+ line-height: 1.5;
78
+ color: var(--rsp-text-color-light);
79
+ }
80
+
81
+ a {
82
+ font-size: 1em;
83
+ }
84
+
85
+ //wordpress inserts notices after the first h1 or h2. To prevent breaking layout we insert an empty h1 tag at the start of our page, where WP can insert the notice.
86
+ .cmplz-notice-hook-element {
87
+ display: none !important;
88
+ }
89
+
90
+ // Hide nags from other plugins
91
+ .error, .notice, .update-nag, .notice-info {
92
+ &:not(.really-simple-plugins) {
93
+ display: none !important;
94
+ }
95
+ }
96
+ }
assets/css/admin/index.php ADDED
@@ -0,0 +1,2 @@
 
 
1
+ <?php
2
+ // Silence is golden.
assets/css/admin/layout.less ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ /* Grid */
3
+ .cmplz {
4
+ .cmplz-header, .cmplz-content-area {
5
+ max-width: calc(100% - var(--rsp-spacing-xl) * 4);
6
+ margin: 0 auto;
7
+ @media(max-width: @rsp-break-xxl){
8
+ max-width: calc(100% - var(--rsp-spacing-xl) * 1);
9
+ }
10
+ @media(max-width: @rsp-break-xl){
11
+ max-width: calc(100% - var(--rsp-spacing-xl) * 2);
12
+ }
13
+ @media(max-width: @rsp-break-s){
14
+ max-width: calc(100% - var(--rsp-spacing-xl) * 1);
15
+ }
16
+ }
17
+ .cmplz-header {
18
+ display: flex;
19
+ flex-wrap: wrap;
20
+ justify-content: space-between;
21
+ height: 70px;
22
+ box-sizing: border-box;
23
+ background-color: var(--rsp-background-block-color);
24
+ @media( max-width: @rsp-break-l ){
25
+ height: auto;
26
+ }
27
+
28
+ img {
29
+ margin: var(--rsp-spacing-m) 0;
30
+ }
31
+ }
32
+
33
+ .cmplz-header-left {
34
+ display: flex;
35
+ font-size: var(--rsp-fs-400);
36
+ @media( max-width: @rsp-break-l ){
37
+ justify-content: center;
38
+ margin: var(--rsp-spacing-xs) 0;
39
+ order: 3;
40
+ width: 100%;
41
+ background-color: var(--rsp-background-block-color);
42
+ }
43
+
44
+ .cmplz-header-menu {
45
+ margin: auto 15px;
46
+ ul{
47
+ display: flex;
48
+ }
49
+ a {
50
+ padding: 23px 15px;
51
+ text-decoration: none;
52
+ color: var(--rsp-text-color);
53
+ height: 100%;
54
+ border-bottom: 4px solid transparent;
55
+ transition: border 0.3s ease-out;
56
+ box-sizing: border-box;
57
+ -moz-box-sizing: border-box;
58
+ -webkit-box-sizing: border-box;
59
+ @media( max-width: @rsp-break-l ){
60
+ padding: 15px;
61
+ }
62
+
63
+ &.active {
64
+ border-bottom: 4px solid var(--rsp-brand-primary);
65
+ }
66
+
67
+ &:hover {
68
+ color: var(--rsp-brand-primary);
69
+ }
70
+ }
71
+
72
+ }
73
+ }
74
+
75
+ .cmplz-header-right {
76
+ display: flex;
77
+ flex-wrap: wrap;
78
+ align-items: center;
79
+ margin-left: auto;
80
+ gap: var(--rsp-spacing-s);
81
+ select {
82
+ max-width: 60ch;
83
+ }
84
+ @media( max-width: @rsp-break-xs ) {
85
+ .button{
86
+ display: none;
87
+ }
88
+ }
89
+ }
90
+
91
+ .cmplz-content-area {
92
+ margin-top: calc(var(--rsp-grid-margin) * 2);
93
+ }
94
+
95
+ .cmplz-header-container {
96
+ background: var(--rsp-background-block-color);
97
+ }
98
+ .cmplz-grid {
99
+ display: grid;
100
+ grid-template-columns: repeat(4, calc(25% - var(--rsp-spacing-s)) [col-start]); // We use calc because of the grid gap
101
+ grid-auto-rows: max-content;
102
+ gap: var(--rsp-grid-gap);
103
+ min-height: calc(100vh - 32px - 80px - 20px - var(--rsp-grid-gap)); //32px = wordpress bar, 80px = cmplz bar, 20px = margin-top, 20px is grid gap
104
+ }
105
+ .cmplz-grid-container {
106
+ .cmplz-block;
107
+ display: flex;
108
+ flex-wrap: wrap;
109
+ justify-content: flex-start;
110
+ flex-direction: column;
111
+ flex-basis: 100%;
112
+ min-height: 100%;
113
+ grid-column: span 1;
114
+ grid-row: span 1;
115
+ p{
116
+ font-size: var(--rsp-fs-300);
117
+ }
118
+
119
+ &.no-background {
120
+ background: none;
121
+ border: none;
122
+ box-shadow: none;
123
+ }
124
+ &.column-2 {
125
+ grid-column: span 2;
126
+ }
127
+
128
+ &.row-2 {
129
+ grid-row: span 2;
130
+ }
131
+ @media( max-width: @rsp-break-xxl ){
132
+ grid-column: span 2;
133
+ &.cmplz-progress, &.cmplz-overview{
134
+ grid-column: span 4;
135
+ }
136
+ }
137
+ @media( max-width: @rsp-break-m ){
138
+ grid-column: span 2;
139
+ &.column-2 {
140
+ grid-column: span 4;
141
+ }
142
+ }
143
+ @media( max-width: @rsp-break-s ) {
144
+ grid-column: span 4;
145
+ }
146
+ }
147
+
148
+ .cmplz-grid-header {
149
+ width: 100%;
150
+ box-sizing: border-box;
151
+ display: flex;
152
+ align-items: center;
153
+ justify-content: space-between;
154
+ padding: var(--rsp-spacing-m) var(--rsp-spacing-l);
155
+ @media(max-width: @rsp-break-xl){
156
+ padding: var(--rsp-spacing-s) var(--rsp-spacing-m);
157
+ }
158
+ }
159
+ .cmplz-grid-title, .cmplz-wizard-title .h4 {
160
+ margin: 4px 0 4px 0;
161
+ }
162
+
163
+ .cmplz-grid-controls {
164
+ font-size: var(--rsp-fs-300);
165
+ display: flex;
166
+ gap: var(--rsp-spacing-s);
167
+ }
168
+
169
+
170
+ .cmplz-grid-content {
171
+ width: 100%;
172
+ box-sizing: border-box;
173
+ padding: 0 var(--rsp-spacing-l);
174
+ @media(max-width: @rsp-break-xl){
175
+ padding: 0 var(--rsp-spacing-m);
176
+ }
177
+ flex-grow: 100;
178
+ }
179
+
180
+ .cmplz-grid-footer {
181
+ display: flex;
182
+ flex-wrap: wrap;
183
+ align-items: center;
184
+ justify-content: space-between;
185
+ gap: var(--rsp-grid-margin);
186
+ width: 100%;
187
+ min-height: calc( 30px + var(--rsp-spacing-s) * 2);
188
+ box-sizing: border-box;
189
+ padding: var(--rsp-spacing-m) var(--rsp-spacing-l);
190
+ @media(max-width: @rsp-break-xl){
191
+ padding: var(--rsp-spacing-s) var(--rsp-spacing-m);
192
+ }
193
+ align-self: flex-end;
194
+
195
+ .cmplz-legend {
196
+ display:flex;
197
+ span {
198
+ padding-left:5px;
199
+ }
200
+ }
201
+ }
202
+ .cmplz-flex-push-right{
203
+ margin-left: auto;
204
+ }
205
+ .cmplz-flex-push-left{
206
+ margin-right: auto;
207
+ }
208
+ }
assets/css/admin/modules/bullets.less ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .cmplz{
2
+ // cmplz bullets
3
+ .cmplz-bullet {
4
+ height: 13px;
5
+ width: 13px;
6
+ flex: 0 0 13px;
7
+ border-radius: 50%;
8
+ display: inline-block;
9
+ &.rsp-yellow {
10
+ background-color: var(--rsp-yellow);
11
+ }
12
+
13
+ &.rsp-blue {
14
+ background-color: var(--rsp-blue);
15
+ }
16
+
17
+ &.rsp-pink {
18
+ background-color: var(--rsp-pink);
19
+ }
20
+
21
+ &.rsp-red {
22
+ background-color: var(--rsp-red);
23
+ }
24
+
25
+ &.rsp-green {
26
+ background-color: var(--rsp-green);
27
+ }
28
+ &.rsp-blue-yellow {
29
+ background: var(--rsp-blue);
30
+ background: linear-gradient(77deg, rgba(41, 182, 246, 1) 0%, rgba(41, 182, 246, 1) 30%, rgba(244, 191, 62, 1) 70%, rgba(244, 191, 62, 1) 100%);
31
+ animation: gradient 2s ease infinite;
32
+ background-size: 200% 200%;
33
+ }
34
+ }
35
+
36
+ @keyframes gradient {
37
+ 0% {
38
+ background-position: 0% 50%;
39
+ }
40
+ 50% {
41
+ background-position: 100% 50%;
42
+ }
43
+ 100% {
44
+ background-position: 0% 50%;
45
+ }
46
+ }
47
+ }
assets/css/admin/modules/buttons.less ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .cmplz {
2
+ a.button, button.button, input.button {
3
+ font-size: var(--rsp-fs-300);
4
+ font-weight: 300;
5
+ letter-spacing: 0.5px;
6
+ transition: all 0.3s ease;
7
+
8
+ &.button-black {
9
+ border: 0 solid transparent;
10
+ background: var(--rsp-black);
11
+ color: var(--rsp-text-color-white);
12
+ &:hover, &:focus, &:active {
13
+ box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--rsp-black);
14
+ }
15
+ }
16
+
17
+ &.button-tertiary, &.button-red {
18
+ border: 0 solid transparent;
19
+ background: var(--rsp-red);
20
+ color: var(--rsp-text-color-white);
21
+ &:hover, &:focus, &:active {
22
+ box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--rsp-red);
23
+ background: var(--rsp-red);
24
+ color: var(--rsp-text-color-white);
25
+ }
26
+ }
27
+ }
28
+ }
29
+ /* Documents overview */
30
+ .cmplz-shortcode {
31
+ right:10000px;
32
+ position:absolute;
33
+ background-color:#fff;
34
+ padding: 0;
35
+ white-space: nowrap;
36
+ }
37
+
38
+ .shortcode {
39
+ cursor:pointer;
40
+ }
assets/css/admin/modules/cookiebanner.less ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .cmplz-banner-editor {
2
+ gap: var(--rsp-spacing-l);
3
+ padding: var(--rsp-spacing-m) var(--rsp-spacing-xl);
4
+ grid-column-start: 1;
5
+ grid-column-end: 3;
6
+ .cmplz-graph-container {
7
+ margin: 0;
8
+ width: 100%;
9
+ min-width: 350px;
10
+ display: flex;
11
+ justify-content: center;
12
+ flex-wrap: wrap;
13
+ padding: var(--rsp-spacing-m);
14
+ background: var(--rsp-grey-200);
15
+ border-radius: var(--rsp-border-radius-s);
16
+ border: 1px solid #f2f2f2;
17
+
18
+ div{
19
+ width: 100%;
20
+ }
21
+ }
22
+ .cmplz-block{
23
+ padding: var(--rsp-spacing-m);
24
+ }
25
+ .cmplz-panel-wrap{
26
+ margin: var(--rsp-spacing-s) 0;
27
+ }
28
+ .cmplz-panel.cmplz-notice{
29
+ padding: 0;
30
+ }
31
+ .cmplz-document-button {
32
+ margin-top: 0;
33
+ }
34
+ }
35
+
36
+ .cmplz-insights {
37
+ .cmplz-graph-container {
38
+ //width:100%;
39
+ //position:relative;
40
+ top:0;
41
+ right:0;
42
+ bottom:0;
43
+ left:0;
44
+ }
45
+
46
+ canvas.cmplz-graph {
47
+ height:85px !important;
48
+ }
49
+ }
50
+
assets/css/admin/modules/dark-mode.less ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @media (prefers-color-scheme: dark) {
2
+ :root {
3
+ --rsp-background-block-color: #282828;
4
+ --rsp-background-color: #333333f2; //#f0f0f1 is the default wordpress bg color
5
+
6
+ --rsp-text-color: rgba(255, 255, 255, 0.9);
7
+
8
+ --rsp-text-color-invert: rgba(26, 26, 26, 0.9);
9
+ --rsp-text-color-light: rgba(233, 233, 255, 0.9);
10
+
11
+ --rsp-input-background-color: #282828;
12
+ --rsp-input-text-color: var(--rsp-text-color);
13
+ --rsp-input-border-color: var(--rsp-white);
14
+
15
+ --rsp-grey-200: #fafafa;
16
+ --rsp-grey-300: #ededed;
17
+ --rsp-grey-400: #c6c6c6;
18
+ --rsp-grey-500: #737373;
19
+ --rsp-grey-600: #696969;
20
+ }
21
+ img {
22
+ opacity: .75;
23
+ transition: opacity .5s ease-in-out;
24
+ }
25
+ img:hover {
26
+ opacity: 1;
27
+ }
28
+ body{
29
+ background: var(--rsp-background-color);
30
+ color: var(--rsp-text-color);
31
+ }
32
+ }
assets/css/admin/modules/dashboard.less ADDED
@@ -0,0 +1,283 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #cmplz_selected_region {
2
+ font-size:13px;
3
+ }
4
+ .cmplz-plusone {
5
+ border-radius: 50%;
6
+ background-color: #d63638;
7
+ color: #fff;
8
+ padding: 2px 6px;
9
+ font-size: 10px;
10
+ }
11
+
12
+ .cmplz {
13
+ margin: 0 0 0 -20px;
14
+ .dashicons, .dashicons-before:before {
15
+ font-size: 15px;
16
+ width: 15px;
17
+ height: 15px;
18
+ }
19
+
20
+ .cmplz-copy-shortcode {
21
+ cursor: pointer;
22
+ }
23
+
24
+ .cmplz-selectable {
25
+ -webkit-touch-callout: all; /* iOS Safari */
26
+ -webkit-user-select: all; /* Safari */
27
+ -khtml-user-select: all; /* Konqueror HTML */
28
+ -moz-user-select: all; /* Firefox */
29
+ -ms-user-select: all; /* Internet Explorer/Edge */
30
+ user-select: all; /* Chrome and Opera */
31
+ }
32
+
33
+ .cmplz-region-indicator {
34
+ display: flex;
35
+ align-items: center;
36
+
37
+ img {
38
+ width: 25px;
39
+ height: 25px;
40
+ margin-left: 5px;
41
+ }
42
+ }
43
+
44
+ .cmplz-documents .cmplz-region-indicator img {
45
+ width: 14px;
46
+ height: 14px;
47
+ margin-left: 0;
48
+ }
49
+ }
50
+
51
+
52
+ .cmplz-dashboard {
53
+
54
+ /*
55
+ Progress labels
56
+ */
57
+ .cmplz-progress-warning-container {
58
+ position:relative;
59
+ display:grid;
60
+ grid-template-columns: 126px auto 50px;
61
+ >div {
62
+ padding: 10px 0;
63
+ }
64
+ >div:nth-child(3) {
65
+ padding:0;
66
+ }
67
+
68
+ button {
69
+ border: 0;
70
+ background-color: transparent;
71
+ cursor:pointer;
72
+ .cmplz-close-warning-x {
73
+ color: #ccc;
74
+ font-size: 0.9em;
75
+ align-self: center;
76
+ }
77
+ }
78
+ }
79
+ .cmplz-scroll-container {
80
+ margin-top: 20px;
81
+ height: 242px;
82
+ overflow-y: auto;
83
+ padding: 0;
84
+ border-radius: 0;
85
+
86
+ &::-webkit-scrollbar-track {
87
+ border-radius: 10px;
88
+ -webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0);
89
+ background-color: transparent;
90
+ }
91
+
92
+ &::-webkit-scrollbar {
93
+ width: 8px;
94
+ background-color: var(--rsp-grey-300);
95
+ cursor: pointer;
96
+ }
97
+
98
+ &::-webkit-scrollbar-thumb {
99
+ background-color: var(--rsp-grey-400);
100
+ border-radius: 10px;
101
+ }
102
+ }
103
+ .cmplz-progress-status-container {
104
+ margin-right:40px;
105
+ }
106
+
107
+ .cmplz-progress-status {
108
+ display: block;
109
+ min-width: 60px;
110
+ text-align: center;
111
+ border-radius: 15px;
112
+ padding: 4px 8px;
113
+ font-size: var(--rsp-fs-100);
114
+ font-weight: 600;
115
+
116
+ &.cmplz-completed {
117
+ background-color: var(--rsp-color-success);
118
+ color: white;
119
+ }
120
+
121
+ &.cmplz-open {
122
+ background-color: var(--rsp-color-open);
123
+ }
124
+
125
+ &.cmplz-urgent {
126
+ background-color: var(--rsp-color-warning);
127
+ color: white;
128
+ }
129
+ &.cmplz-premium {
130
+ background-color: var(--rsp-brand-primary);
131
+ color: white;
132
+ }
133
+ }
134
+
135
+ //progress bar
136
+ .cmplz-progress-bar, .cmplz-sync-progress-bar {
137
+ border-radius:5px;
138
+ background: var(--rsp-grey-400);
139
+ justify-content: flex-start;
140
+ align-items: center;
141
+ position: relative;
142
+ display: flex;
143
+ height: 20px;
144
+ width: 100%;
145
+ .cmplz-progress-bar-value {
146
+ border-radius:5px;
147
+ animation: cmplz-load-progress-bar 3s normal forwards;
148
+ box-shadow: 0 10px 40px -10px #fff;
149
+ background: var(--rsp-color-success);
150
+ height: 20px;
151
+ width: 0;
152
+ &.orange{
153
+ background-color: var(--rsp-orange);
154
+ }
155
+ }
156
+ }
157
+
158
+ .cmplz-progress-percentage, .cmplz-progress-description {
159
+ font-weight: 600;
160
+ font-size: 18px;
161
+ }
162
+
163
+ .cmplz-progress-percentage{
164
+ margin-right: 6px;
165
+ font-size: 32px;
166
+ }
167
+
168
+ .cmplz-grid-progress {
169
+ display: grid;
170
+ grid-template-columns: 125px auto;
171
+ align-items: center;
172
+ margin-top: 20px;
173
+ }
174
+ .cmplz-task-switcher-container{
175
+ display: flex;
176
+ border-radius: var(--rsp-border-radius);
177
+ .cmplz-task-switcher{
178
+ &:first-of-type{
179
+ border-right: 1px solid var(--rsp-grey-400);
180
+ padding-right: 10px;
181
+ }
182
+ &:last-of-type{
183
+ padding-left: 10px;
184
+ }
185
+ }
186
+ }
187
+ .cmplz-task-switcher {
188
+ font-size: var(--rsp-fs-200);
189
+ cursor: pointer;
190
+ transition: 0.3s;
191
+ &:hover, &.active, &.active:hover{
192
+ text-decoration: underline;
193
+ }
194
+ }
195
+
196
+ .cmplz-support {
197
+ textarea {
198
+ width: 100%;
199
+ height: 75px;
200
+ border-color: #cecece;
201
+ font-size: 13px;
202
+ }
203
+ }
204
+
205
+ // Dashboard Documents
206
+ .cmplz-document {
207
+ display: grid;
208
+ grid-template-columns: 2fr auto auto auto 1fr;
209
+ margin: var(--rsp-spacing-xs) 0;
210
+ align-items: center;
211
+ .cmplz-grid-title{
212
+ padding-top: var(--rsp-spacing-l);
213
+ }
214
+ &.compact {
215
+ grid-template-columns: 1fr auto;
216
+ }
217
+ >div:not(:first-child) {
218
+ margin-left: auto;
219
+ }
220
+ &.cmplz-header{
221
+ >div:last-child {padding-top: 14px;}
222
+ a {
223
+ color:#d7d7d7;
224
+ font-size: 12px;
225
+ line-height: 2em;
226
+ }
227
+ }
228
+ .cmplz-icon{
229
+ padding: 0 4px;
230
+ }
231
+ h3 {
232
+ margin-bottom:5px;
233
+ }
234
+
235
+ select {
236
+ width: calc(100% - var(--rsp-spacing-xs));
237
+ font-size:13px;
238
+ }
239
+ &.flags{
240
+ display: flex;
241
+ .cmplz-flags-container{
242
+ display: flex;
243
+ flex-wrap: wrap;
244
+ gap: var(--rsp-spacing-xxs);
245
+ }
246
+ }
247
+ }
248
+ .cmplz-document-header{
249
+ margin-top: var(--rsp-spacing-l);
250
+ margin-bottom: var(--rsp-spacing-s);
251
+ display: flex;
252
+ justify-content: space-between;
253
+ &> a{
254
+ color: var(--rsp-text-color-light);
255
+ font-size: var(--rsp-fs-300);
256
+ }
257
+ }
258
+
259
+ .button {
260
+ min-width:100px;
261
+ text-align:center;
262
+ }
263
+ .item-footer {
264
+ width: 100%;
265
+ a.button + a.button {
266
+ margin-left:10px;
267
+ }
268
+ }
269
+
270
+ // Dashboard Tools
271
+ .cmplz-tools-row {
272
+ display: grid;
273
+ grid-template-columns: 1fr auto;
274
+ margin:10px 0;
275
+ >div:last-child {
276
+ margin-left: auto;
277
+ }
278
+ .cmplz-last-updated-poc {
279
+ white-space: nowrap;
280
+ font-size:13px;
281
+ }
282
+ }
283
+ }
assets/css/admin/modules/dataleak-reports.less ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ .dataleak-reports{
2
+ grid-column-start: 1;
3
+ grid-column-end: 3;
4
+ }
5
+ .cmplz-dataleak-reports{
6
+ .tablenav.top{
7
+ margin-top: var(--rsp-spacing-xs);
8
+ margin-bottom: var(--rsp-spacing-s);
9
+ }
10
+ }
assets/css/admin/modules/dnsmpi.less ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .cmplz{
2
+ .wrap .button.cmplz-header-btn{
3
+ margin-left:6px;
4
+ margin-top:20px;
5
+ }
6
+ .cmplz-dnsmpi, .cmplz-datarequests{
7
+ grid-column-start: 1;
8
+ grid-column-end: 3;
9
+ .cmplz-block;
10
+ padding: var(--rsp-spacing-m) var(--rsp-spacing-l);
11
+ .search-box{
12
+ margin: var(--rsp-spacing-xs) 0;
13
+ float: left;
14
+ }
15
+ .tablenav{
16
+ display: none;
17
+ }
18
+ }
19
+ #cmplz-dnsmpi-export{
20
+ display: flex;
21
+ align-items: center;
22
+ gap: var(--rsp-spacing-s);
23
+ }
24
+ }
assets/css/admin/modules/header.less ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .cmplz-header-container .cmplz-header {
2
+ display: flex;
3
+ justify-content: space-between;
4
+ height: 70px;
5
+ box-sizing: border-box;
6
+ background-color: #fff;
7
+
8
+ img {
9
+ margin: auto 0;
10
+ height: 25px;
11
+ }
12
+
13
+ .cmplz-header-right {
14
+ display: flex;
15
+ align-items: center;
16
+ margin-left: auto;
17
+ gap: var(--rsp-spacing-s);
18
+
19
+ select {
20
+ max-width: 60ch;
21
+ }
22
+ }
23
+
24
+ }
assets/css/admin/modules/icons.less ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .cmplz-icon, .cmplz-icon-tooltip{
2
+ display: flex;
3
+ align-items: center;
4
+ justify-content: center;
5
+ svg{
6
+ fill: currentColor;
7
+ }
8
+ }
9
+
10
+ .cmplz-copy-shortcode{
11
+ cursor:pointer;
12
+ display: flex;
13
+ justify-content: center;
14
+ transition: transform 0.1s ease-in;
15
+ &.cmplz-click-animation .cmplz-icon{
16
+ animation: beat 0.4s ease-out;
17
+ }
18
+ @keyframes beat {
19
+ 0% {
20
+ transform: scale(1);
21
+ }
22
+ 50% {
23
+ transform: scale(0.80);
24
+ }
25
+ 95% {
26
+ transform: scale(1.1);
27
+ }
28
+ 100% {
29
+ transform: scale(1);
30
+ }
31
+ }
32
+ }
33
+
34
+ .cmplz-copy-shortcode-text {
35
+ right:10000px;
36
+ position:absolute;
37
+ background-color:#fff;
38
+ padding: 0;
39
+ white-space: nowrap;
40
+ }
assets/css/admin/modules/input-fields.less ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* field styles */
2
+ .cmplz {
3
+ input{
4
+ background: var(--rsp-input-background-color);
5
+ color: var(--rsp-input-text-color);
6
+ border-color: var(--rsp-input-border-color);
7
+ &[type=checkbox]:disabled{
8
+ cursor: not-allowed;
9
+ }
10
+ &:disabled + .cmplz-slider{
11
+ cursor: not-allowed;
12
+ }
13
+ &[type=text]:disabled{
14
+ background-color: #eee;
15
+ color: #ababab;
16
+ }
17
+ }
18
+ select{
19
+ background: var(--rsp-input-background-color) url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E') no-repeat right 5px top 55%;
20
+ color: var(--rsp-input-text-color);
21
+ border-color: var(--rsp-input-border-color);
22
+ }
23
+ .field-group {
24
+ .cmplz-label {
25
+ text-align: left;
26
+ margin: 0 var(--rsp-spacing-xs) 0 0;
27
+ }
28
+
29
+ &.first .cmplz-label {
30
+ padding-top: 0;
31
+ }
32
+
33
+ .cmplz-checkbox {
34
+ display: flex;
35
+ justify-content: space-between;
36
+ align-items: center;
37
+ }
38
+ }
39
+ /*
40
+ cool checkbox sliders
41
+ */
42
+
43
+ .cmplz-switch {
44
+ margin-top: 0;
45
+ margin-bottom: 0;
46
+ position: relative;
47
+ display: inline-block;
48
+ width: 40px;
49
+ height: 21px;
50
+ input {
51
+ display: none !important;
52
+ }
53
+ &:disabled{
54
+ cursor: not-allowed;
55
+ }
56
+ }
57
+
58
+ .cmplz-slider {
59
+ position: absolute;
60
+ cursor: pointer;
61
+ top: 0;
62
+ left: 0;
63
+ right: 0;
64
+ bottom: 0;
65
+ background-color: #ccc;
66
+ -webkit-transition: .4s;
67
+ transition: .4s;
68
+
69
+ &:before {
70
+ position: absolute;
71
+ content: "";
72
+ height: 15px;
73
+ width: 15px;
74
+ left: 4px;
75
+ bottom: 3px;
76
+ background-color: white;
77
+ -webkit-transition: .4s;
78
+ transition: .4s;
79
+ }
80
+
81
+ &.cmplz-round {
82
+ border-radius: 20px;
83
+ }
84
+
85
+ &.cmplz-round:before {
86
+ border-radius: 50%;
87
+ }
88
+ }
89
+
90
+ .cmplz-slider-na {
91
+ padding: 2px 8px;
92
+ position: absolute;
93
+ top: 0;
94
+ left: 0;
95
+ right: 0;
96
+ bottom: 0;
97
+ background-color: #ccc;
98
+ -webkit-transition: .4s;
99
+ transition: .4s;
100
+
101
+ &:before {
102
+ position: absolute;
103
+ content: "N/A";
104
+ color: white;
105
+ }
106
+
107
+ &.cmplz-round {
108
+ border-radius: 20px;
109
+ }
110
+ }
111
+
112
+ input:checked + .cmplz-slider {
113
+ background-color: var(--rsp-wp-blue);
114
+
115
+ &:before {
116
+ -webkit-transform: translateX(17px);
117
+ -ms-transform: translateX(17px);
118
+ transform: translateX(17px);
119
+ }
120
+ }
121
+
122
+ input:checked:disabled + .cmplz-slider {
123
+ background-color: var(--rsp-wp-blue-faded);
124
+ }
125
+
126
+
127
+ input:focus + .cmplz-slider {
128
+ box-shadow: 0 0 1px var(--rsp-wp-blue);
129
+ }
130
+ }
assets/css/admin/modules/notices.less ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ Admin notice
3
+ */
4
+ .cmplz-admin-notice {
5
+
6
+ .cmplz-admin-notice-container {
7
+ display: flex;
8
+ padding: 12px;
9
+ align-items: center;
10
+
11
+ .cmplz-logo img {
12
+ margin-top: 0.5em;
13
+ }
14
+
15
+ .dashicons {
16
+ margin-left: 10px;
17
+ margin-right: 5px;
18
+ }
19
+ }
20
+ }
assets/css/admin/modules/other-plugins.less ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .cmplz {
2
+ .cmplz-other-plugins .rsp-logo img {
3
+ height: 34px;
4
+ }
5
+
6
+ .cmplz-other-plugins-container {
7
+ display: flex !important;
8
+ flex-direction: row;
9
+ flex-wrap: wrap;
10
+ margin-bottom: 10px;
11
+ font-size: var(--rsp-fs-300);
12
+ line-height: 1.7;
13
+ gap: var(--rsp-spacing-xxs);
14
+
15
+ @media screen and (max-width: 992px) {
16
+ flex-direction: row;
17
+ overflow: hidden;
18
+ }
19
+
20
+ .cmplz-other-plugins-element {
21
+ width: 100%;
22
+ display: flex;
23
+ align-content: space-between;
24
+ justify-content: space-between;
25
+ gap: 10px;
26
+ --rsp-other-plugins-color: var(---rsp-brand-primary);
27
+
28
+ &.cmplz-zip {
29
+ --rsp-other-plugins-color: var(--rsp-pink);
30
+ }
31
+
32
+ &.cmplz-burst {
33
+ --rsp-other-plugins-color: var(--rsp-green);
34
+ }
35
+
36
+ &.cmplz-complianz, &.cmplz-complianztc {
37
+ --rsp-other-plugins-color: var(--rsp-blue);
38
+ }
39
+
40
+ &.cmplz-rsssl {
41
+ --rsp-other-plugins-color: var(--rsp-yellow);
42
+ }
43
+
44
+ a {
45
+ width: max-content;
46
+ color: var(--rsp-text-color-light);
47
+ transition: color 0.3s ease;
48
+ display: flex;
49
+ align-items: center;
50
+ min-width: 0;
51
+ gap: var(--rsp-spacing-xs);
52
+ text-decoration: none;
53
+
54
+ &:hover {
55
+ color: var(--rsp-other-plugins-color);
56
+ text-decoration: underline;
57
+
58
+ .cmplz-bullet {
59
+ background-color: var(--rsp-other-plugins-color);
60
+ }
61
+
62
+ .cmplz-other-plugins-content {
63
+ text-decoration: underline;
64
+ }
65
+ }
66
+ }
67
+
68
+ .cmplz-bullet {
69
+ transition: background-color 0.3s ease;
70
+ background-color: var(--rsp-other-plugins-color);
71
+ }
72
+
73
+ .cmplz-other-plugins-content {
74
+ white-space: nowrap;
75
+ overflow: hidden;
76
+ text-overflow: ellipsis;
77
+ }
78
+ .cmplz-other-plugin-status{
79
+ min-width: fit-content;
80
+ }
81
+ }
82
+ }
83
+ }
assets/css/admin/modules/pagify.less ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .cmplz-pagination {
2
+ display:flex;
3
+ justify-content:flex-end;
4
+ margin-left: auto;
5
+ a {
6
+ cursor: pointer;
7
+ width: 25px;
8
+ height: 25px;
9
+ border: 1px solid var(--rsp-input-border-color);
10
+ color: #000;
11
+ text-align: center;
12
+ margin: 5px;
13
+ line-height: 25px;
14
+ border-radius: 3px;
15
+ &.cmplz-current {
16
+ background-color:#000;
17
+ color:#fff;
18
+ }
19
+ .cmplz-icon {
20
+ margin-top:3px;
21
+ color: #000 !important;
22
+ }
23
+ }
24
+ }
assets/css/admin/modules/processing-agreement.less ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .processing-agreements{
2
+ grid-column-start: 1;
3
+ grid-column-end: 3;
4
+ }
5
+ .cmplz-processing-agreements{
6
+ .tablenav.top{
7
+ margin-top: var(--rsp-spacing-xs);
8
+ margin-bottom: var(--rsp-spacing-s);
9
+ }
10
+ }
11
+ .column-download{
12
+ .cmplz-icon{
13
+ justify-content: flex-start;
14
+ }
15
+ }
assets/css/admin/modules/proof-of-consent.less ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .cmplz{
2
+ .wrap .button.cmplz-header-btn{
3
+ margin-left:6px;
4
+ margin-top:20px;
5
+ }
6
+
7
+ .cookie-snapshot{
8
+ grid-column-start: 1;
9
+ grid-column-end: 3;
10
+ .cmplz-block;
11
+ padding: var(--rsp-spacing-m) var(--rsp-spacing-l);
12
+ }
13
+ #cmplz-cookiestatement-snapshot-generate{
14
+ display: flex;
15
+ align-items: center;
16
+ gap: var(--rsp-spacing-s);
17
+ }
18
+ .cmplz-proof-of-consent, .cmplz-records-of-consent{
19
+ .search-box input[name="s"], p.search-box{
20
+ float: initial;
21
+ margin: var(--rsp-spacing-xs) 0;
22
+ position: relative;
23
+ top: 1px;
24
+ }
25
+ p.search-box{
26
+ display: inline-block;
27
+ margin: 0;
28
+ }
29
+ .tablenav.top{
30
+ margin: var(--rsp-spacing-xs) 0;
31
+ display: inline-block;
32
+ float: right;
33
+ }
34
+ .cmplz_month_select, .cmplz_year_select{
35
+ margin: var(--rsp-spacing-xs) 0;
36
+ }
37
+ .cmplz_year_select{
38
+ margin-left: var(--rsp-spacing-xxs);
39
+ }
40
+ }
41
+ }
assets/css/admin/modules/suggested-plugins.less ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .cmplz-suggested-plugin {
2
+ display: flex;
3
+ flex-wrap: wrap;
4
+ align-items: center;
5
+ gap: 20px;
6
+ background-color: #f9f9f9;
7
+ padding: 20px;
8
+ .cmplz-suggested-plugin-desc-group {
9
+ .cmplz-suggested-plugin-title {
10
+ font-size: 16px;
11
+ font-weight: 600;
12
+ }
13
+ .cmplz-suggested-plugin-desc {
14
+ font-size: 14px;
15
+ white-space: nowrap;
16
+ margin: 4px 0;
17
+ }
18
+ }
19
+ .cmplz-suggested-plugin-desc-long {
20
+ flex: 1;
21
+ font-size: 12px;
22
+ line-height: 1.6;
23
+ font-weight: 400;
24
+ min-width: 30ch;
25
+ margin-right: auto;
26
+ }
27
+ .cmplz-suggested-plugin-img {
28
+ width: 70px;
29
+ height: 70px;
30
+ border-radius: 5px;
31
+ }
32
+ }
assets/css/admin/modules/tables.less ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ .cmplz{
2
+ .wp-list-table{
3
+ border-radius: var(--rsp-border-radius-s);
4
+ }
5
+ .row-actions{
6
+ left: 0;
7
+ }
8
+ }
assets/css/admin/modules/tips-tricks.less ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .cmplz-tips-tricks-container {
2
+ display: flex !important;
3
+ flex-direction: row;
4
+ flex-wrap: wrap;
5
+ margin-bottom: 10px;
6
+ font-size: var(--rsp-fs-300);
7
+ line-height: 1.7;
8
+ gap: var(--rsp-spacing-xxs);
9
+
10
+ @media screen and (max-width: 992px) {
11
+ flex-direction: row;
12
+ overflow: hidden;
13
+ }
14
+
15
+ .cmplz-tips-tricks-element {
16
+ width: calc(50% - var(--rsp-spacing-xxs));
17
+ @media( max-width: @rsp-break-xs ){
18
+ width: 100%;
19
+ }
20
+ a {
21
+ color: var(--rsp-text-color-light);
22
+ transition: color 0.3s ease;
23
+ display: flex;
24
+ align-items: center;
25
+ gap: var(--rsp-spacing-xs);
26
+ min-width: 0; /* or some value */
27
+ text-decoration: none;
28
+
29
+ &:hover {
30
+ color: var(--rsp-brand-primary);
31
+ text-decoration: underline;
32
+
33
+ .cmplz-bullet {
34
+ background-color: var(--rsp-brand-primary);
35
+ }
36
+
37
+ .cmplz-tips-tricks-content {
38
+ text-decoration: underline;
39
+ }
40
+ }
41
+ }
42
+
43
+ .cmplz-bullet {
44
+ transition: background-color 0.3s ease;
45
+ background-color: var(--rsp-grey-300);
46
+ }
47
+ .cmplz-tips-tricks-content {
48
+ white-space: nowrap;
49
+ overflow: hidden;
50
+ text-overflow: ellipsis;
51
+ }
52
+ }
53
+ }
assets/css/admin/modules/tooltip.less ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* START TOOLTIP STYLES */
2
+ [cmplz-tooltip] {
3
+ position: relative; /* opinion 1 */
4
+ cursor: pointer;
5
+ }
6
+
7
+ /* Applies to all tooltips */
8
+ [cmplz-tooltip]::before,
9
+ [cmplz-tooltip]::after {
10
+ text-transform: none;
11
+ font-size: 13px;
12
+ user-select: none;
13
+ pointer-events: none;
14
+ position: absolute;
15
+ display: none;
16
+ opacity: 0;
17
+ }
18
+
19
+ [cmplz-tooltip]::before {
20
+ content: '';
21
+ border: 5px solid transparent; /* opinion 4 */
22
+ z-index: 1001; /* absurdity 1 */
23
+ }
24
+
25
+ [cmplz-tooltip]::after {
26
+ content: attr(cmplz-tooltip); /* magic! */
27
+ font-weight:normal;
28
+ overflow: hidden;
29
+ text-overflow: ellipsis;
30
+ padding: 1ch 1.5ch;
31
+ border-radius: .3ch;
32
+ box-shadow: 0 1em 2em -.5em rgba(0, 0, 0, 0.35);
33
+ background: #333;
34
+ color: #fff;
35
+ z-index: 1000; /* absurdity 2 */
36
+ width: min(100vw, 45ch);
37
+ text-align:left;
38
+ }
39
+
40
+ /* Make the tooltips respond to hover */
41
+ [cmplz-tooltip]:hover::before,
42
+ [cmplz-tooltip]:hover::after {
43
+ display: block;
44
+ }
45
+
46
+ /* Make the tooltips respond to focus */
47
+ [cmplz-tooltip]:focus::before,
48
+ [cmplz-tooltip]:focus::after {
49
+ display: block;
50
+ }
51
+
52
+
53
+
54
+ /* don't show empty tooltips */
55
+ [cmplz-tooltip='']::before,
56
+ [cmplz-tooltip='']::after {
57
+ display: none !important;
58
+ }
59
+
60
+ /* FLOW: UP */
61
+ [cmplz-tooltip]:not([flow])::before,
62
+ [cmplz-tooltip][flow^="up"]::before {
63
+ bottom: calc(100% + 5px);
64
+ border-bottom-width: 0;
65
+ border-top-color: #333;
66
+ }
67
+
68
+ [cmplz-tooltip]:not([flow])::after,
69
+ [cmplz-tooltip][flow^="up"]::after {
70
+ bottom: calc(100% + 10px);
71
+ }
72
+
73
+ [cmplz-tooltip]:not([flow])::before,
74
+ [cmplz-tooltip]:not([flow])::after,
75
+ [cmplz-tooltip][flow^="up"]::before,
76
+ [cmplz-tooltip][flow^="up"]::after {
77
+ left: 50%;
78
+ transform: translate(-50%, -.5em);
79
+ }
80
+
81
+ /* FLOW: DOWN */
82
+ [cmplz-tooltip][flow^="down"]::before {
83
+ top: 17px;
84
+ border-top-width: 0;
85
+ }
86
+
87
+ [cmplz-tooltip][flow^="down"]::after {
88
+ top: calc(100% + 5px);
89
+ }
90
+
91
+ [cmplz-tooltip][flow^="down"]::before,
92
+ [cmplz-tooltip][flow^="down"]::after {
93
+ left: 50%;
94
+ transform: translate(-50%, .5em);
95
+ }
96
+
97
+ /* FLOW: LEFT */
98
+ [cmplz-tooltip][flow^="left"]::before {
99
+ top: 50%;
100
+ border-right-width: 0;
101
+ border-left-color: #333;
102
+ left: calc(0em - 5px);
103
+ transform: translate(-.5em, -50%);
104
+ }
105
+
106
+ [cmplz-tooltip][flow^="left"]::after {
107
+ top: 50%;
108
+ right: calc(100% + 5px);
109
+ transform: translate(-.5em, -50%);
110
+ }
111
+
112
+ /* FLOW: RIGHT */
113
+ [cmplz-tooltip][flow^="right"]::before {
114
+ top: 10px;
115
+ border-left-width: 0;
116
+ border-right-color: #333;
117
+ right: calc(0em - 23px);
118
+ transform: translate(.5em, -50%);
119
+ }
120
+
121
+ [cmplz-tooltip][flow^="right"]::after {
122
+ top: 10px;
123
+ left: calc(100% + 23px);
124
+ transform: translate(.5em, -50%);
125
+ min-width:150px;
126
+ }
127
+
128
+ /* KEYFRAMES */
129
+ @keyframes tooltips-vert {
130
+ to {
131
+ opacity: .9;
132
+ transform: translate(-50%, 0);
133
+ }
134
+ }
135
+
136
+ @keyframes tooltips-horz {
137
+ to {
138
+ opacity: .9;
139
+ transform: translate(0, -50%);
140
+ }
141
+ }
142
+
143
+ /* FX All The Things */
144
+ [cmplz-tooltip]:not([flow]):hover::before, [cmplz-tooltip]:not([flow]):focus::before,
145
+ [cmplz-tooltip]:not([flow]):hover::after, [cmplz-tooltip]:not([flow]):focus::after,
146
+ [cmplz-tooltip][flow^="up"]:hover::before, [cmplz-tooltip][flow^="up"]:focus::before,
147
+ [cmplz-tooltip][flow^="up"]:hover::after, [cmplz-tooltip][flow^="up"]:focus::after,
148
+ [cmplz-tooltip][flow^="down"]:hover::before, [cmplz-tooltip][flow^="down"]:focus::before,
149
+ [cmplz-tooltip][flow^="down"]:hover::after, [cmplz-tooltip][flow^="down"]:focus::after {
150
+ animation: tooltips-vert 300ms ease-out forwards;
151
+ }
152
+
153
+ [cmplz-tooltip][flow^="left"]:hover::before, [cmplz-tooltip][flow^="left"]:focus::before,
154
+ [cmplz-tooltip][flow^="left"]:hover::after, [cmplz-tooltip][flow^="left"]:focus::after,
155
+ [cmplz-tooltip][flow^="right"]:hover::before, [cmplz-tooltip][flow^="right"]:focus::before,
156
+ [cmplz-tooltip][flow^="right"]:hover::after, [cmplz-tooltip][flow^="right"]:focus::after {
157
+ animation: tooltips-horz 300ms ease-out forwards;
158
+ }
assets/css/admin/modules/wcag.less ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #complianz{
2
+ *:focus-visible{
3
+ outline-offset: 4px;
4
+ }
5
+ }
6
+
7
+ // High contrast
8
+ #complianz.wrap.cmplz-high-contrast {
9
+
10
+ .cmplz-grid-controls {
11
+ color: var(--rsp-black);
12
+ a {
13
+ color: var(--rsp-black);
14
+ }
15
+ }
16
+
17
+
18
+ button {
19
+ .cmplz-close-warning-x {
20
+ color: var(--rsp-black);
21
+ }
22
+ }
23
+
24
+ .cmplz-step {
25
+ .cmplz-step-header {
26
+ &.incomplete a h2 {
27
+ color: var(--rsp-black);
28
+ }
29
+ }
30
+
31
+ .cmplz-section {
32
+ display: grid;
33
+ grid-template-columns: @green-gap 1fr;
34
+
35
+ span {
36
+ align-self: center;
37
+ justify-self: center;
38
+ }
39
+
40
+ margin: 0 @green-gap;
41
+ a {
42
+ h3 {
43
+ color: var(--rsp-black) ;
44
+ }
45
+ display: inline-block;
46
+ text-decoration: none;
47
+ padding: 3px 5px;
48
+
49
+ }
50
+ &.cmplz-done a h3 {
51
+ color: var(--rsp-black) ;
52
+ }
53
+
54
+ &.active a h3 {
55
+ color: var(--rsp-black) !important;
56
+ }
57
+ }
58
+ }
59
+
60
+ .cmplz-help-warning-wrap {
61
+ .cmplz-help-modal {
62
+ z-index: 1;
63
+
64
+ &.cmplz-notice {
65
+ background-color: var(--rsp-black);
66
+ color: var(--rsp-text-color-invert);
67
+ &:after {
68
+ border-right: 15px solid var(--rsp-black);
69
+ }
70
+ }
71
+ &.cmplz-warning a{
72
+ color: var(--rsp-black)!important;
73
+ }
74
+ &.cmplz-warning {
75
+ color: var(--rsp-black)!important;
76
+ background-color: var(--rsp-yellow);
77
+ &:after {
78
+ border-right: 15px solid var(--rsp-yellow);
79
+ }
80
+ }
81
+
82
+ a {
83
+ color: #fff;
84
+ }
85
+ }
86
+ }
87
+
88
+ .cmplz-panel.cmplz-toggle-disabled {
89
+ color: var(--rsp-black);
90
+ }
91
+
92
+ /* Disabled option */
93
+
94
+
95
+ input:disabled {
96
+ cursor:not-allowed;
97
+ }
98
+
99
+ .cmplz-sublabel label {
100
+ color: var(--rsp-black);
101
+ font-size: 13px;
102
+ }
103
+
104
+ /* Placeholders */
105
+
106
+ ::placeholder {
107
+ color: var(--rsp-black);
108
+ }
109
+ ::placeholder/* Chrome/Opera/Safari */ {
110
+ color: var(--rsp-black);
111
+ }
112
+
113
+ ::-moz-placeholder /* Firefox 19+ */ {
114
+ color: var(--rsp-black);
115
+ }
116
+
117
+ :-ms-input-placeholder /* IE 10+ */ {
118
+ color: var(--rsp-black);
119
+ }
120
+ :-moz-placeholder /* Firefox 18- */ {
121
+ color: var(--rsp-black);
122
+ }
123
+
124
+ /* License */
125
+
126
+ .cmplz-status-info {
127
+ display:flex;
128
+ > div {
129
+ padding: 10px 10px 10px 0;
130
+ }
131
+ .cmplz-license-status-container {
132
+ .cmplz-license-status {
133
+ display: block;
134
+
135
+ &.cmplz-premium {
136
+ background-color: var(--rsp-black);
137
+ }
138
+ &.cmplz-success {
139
+ color: var(--rsp-black);
140
+ }
141
+ &.cmplz-warning {
142
+ color: var(--rsp-black);
143
+ }
144
+ }
145
+ }
146
+ }
147
+ /* Ending */
148
+ }
assets/css/admin/states.less ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .cmplz{
2
+ /*skeleton*/
3
+ @panelheight : 38px;
4
+ @panelborder : 1px;
5
+ @paneloffset : 3*(@panelborder+@panelheight);
6
+ @rows : 6;
7
+ .cmplz-skeleton:empty {
8
+ margin: auto;
9
+ margin-bottom: 25px;
10
+ width: 100%;
11
+ height: (@rows*@panelheight)+(@rows+1)*@panelborder; /* change height to see repeat-y behavior */
12
+
13
+ background-image:
14
+ linear-gradient( 100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5) 70%, rgba(255, 255, 255, 0.5) 15% ),
15
+ linear-gradient( #f2f2f2 @panelheight, transparent 0 ),
16
+ linear-gradient( #f2f2f2 @panelheight, transparent 0 ),
17
+ linear-gradient( #f2f2f2 @panelheight, transparent 0 ),
18
+ linear-gradient( #f2f2f2 @panelheight, transparent 0 );
19
+
20
+ background-repeat: repeat-y;
21
+
22
+ background-size:
23
+ 50px 200px, /* highlight */
24
+ 100% @paneloffset,
25
+ 100% @paneloffset,
26
+ 100% @paneloffset,
27
+ 100% @paneloffset;
28
+
29
+ background-position:
30
+ 0 0, /* highlight */
31
+ @panelborder @panelborder,
32
+ @panelborder @panelheight+(2*@panelborder),
33
+ @panelborder (2*@panelheight)+(3*@panelborder),
34
+ @panelborder (3*@panelheight)+(4*@panelborder);
35
+
36
+ background-color:#d6d8db;
37
+ border-right: @panelborder solid #d6d8db;
38
+ animation: shine 2.5s infinite;
39
+ }
40
+ @keyframes shine {
41
+ to {
42
+ background-position:
43
+ 100% 0, /* move highlight to right */
44
+ @panelborder @panelborder,
45
+ @panelborder @panelheight+(2*@panelborder),
46
+ @panelborder (2*@panelheight)+(3*@panelborder),
47
+ @panelborder (3*@panelheight)+(4*@panelborder);
48
+ }
49
+ }
50
+
51
+ /*loader*/
52
+ .cmplz-loader {
53
+ margin: 0;
54
+ width: 50px;
55
+ height: 15px;
56
+ text-align: center;
57
+ font-size: 10px;
58
+ > div {
59
+ margin:1px;
60
+ background-color: #333;
61
+ height: 100%;
62
+ width: 3px;
63
+ display: inline-block;
64
+ -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
65
+ animation: sk-stretchdelay 1.2s infinite ease-in-out;
66
+ }
67
+
68
+ &.cmplz-loader-white >div {
69
+ background-color: #fff;
70
+ }
71
+
72
+ .rect2 {
73
+ -webkit-animation-delay: -1.1s;
74
+ animation-delay: -1.1s;
75
+ }
76
+
77
+ .rect3 {
78
+ -webkit-animation-delay: -1.0s;
79
+ animation-delay: -1.0s;
80
+ }
81
+
82
+ .rect4 {
83
+ -webkit-animation-delay: -0.9s;
84
+ animation-delay: -0.9s;
85
+ }
86
+
87
+ .rect5 {
88
+ -webkit-animation-delay: -0.8s;
89
+ animation-delay: -0.8s;
90
+ }
91
+ }
92
+
93
+ .button-primary .cmplz-loader div {
94
+ background-color: #fff;
95
+ }
96
+
97
+
98
+
99
+ @-webkit-keyframes sk-stretchdelay {
100
+ 0%, 40%, 100% { -webkit-transform: scaleY(0.4) }
101
+ 20% { -webkit-transform: scaleY(1.0) }
102
+ }
103
+
104
+ @keyframes sk-stretchdelay {
105
+ 0%, 40%, 100% {
106
+ transform: scaleY(0.4);
107
+ -webkit-transform: scaleY(0.4);
108
+ } 20% {
109
+ transform: scaleY(1.0);
110
+ -webkit-transform: scaleY(1.0);
111
+ }
112
+ }
113
+
114
+ }
assets/css/admin/theme.less ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ :root{
2
+ // Plugin specific variables down here please
3
+ --rsp-brand-primary: var(--rsp-blue);
4
+ --rsp-brand-secondary: var(--rsp-yellow);
5
+ --rsp-brand-primary-faded: var(--rsp-blue-faded);
6
+ }
assets/css/cookieblocker.css ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Cookie blocker css
3
+ */
4
+ .cmplz-video.cmplz-iframe-styles {
5
+ background-color: transparent;
6
+ }
7
+ .cmplz-video.cmplz-hidden {
8
+ visibility: hidden !important;
9
+ }
10
+ .cmplz-blocked-content-notice {
11
+ display: none;
12
+ }
13
+ .cmplz-optin .cmplz-blocked-content-container .cmplz-blocked-content-notice,
14
+ .cmplz-optout .cmplz-blocked-content-container .cmplz-blocked-content-notice,
15
+ .cmplz-optin .cmplz-wp-video .cmplz-blocked-content-notice,
16
+ .cmplz-optout .cmplz-wp-video .cmplz-blocked-content-notice {
17
+ display: block;
18
+ }
19
+ .cmplz-blocked-content-container,
20
+ .cmplz-wp-video {
21
+ animation-name: cmplz-fadein;
22
+ animation-duration: 600ms;
23
+ background: #FFF;
24
+ border: 0;
25
+ border-radius: 3px;
26
+ box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.5), 0 1px 10px 0 rgba(0, 0, 0, 0.15);
27
+ display: flex;
28
+ justify-content: center;
29
+ align-items: center;
30
+ background-repeat: no-repeat !important;
31
+ background-size: cover !important;
32
+ height: inherit;
33
+ position: relative;
34
+ }
35
+ .cmplz-blocked-content-container.gmw-map-cover,
36
+ .cmplz-wp-video.gmw-map-cover {
37
+ max-height: 100%;
38
+ position: absolute;
39
+ }
40
+ .cmplz-blocked-content-container.cmplz-video-placeholder,
41
+ .cmplz-wp-video.cmplz-video-placeholder {
42
+ padding-bottom: initial;
43
+ }
44
+ .cmplz-blocked-content-container iframe,
45
+ .cmplz-wp-video iframe {
46
+ max-height: 100%;
47
+ border: 0 !important;
48
+ }
49
+ .cmplz-blocked-content-container .cmplz-custom-accept-btn,
50
+ .cmplz-wp-video .cmplz-custom-accept-btn {
51
+ white-space: normal;
52
+ text-transform: initial;
53
+ cursor: pointer;
54
+ position: absolute !important;
55
+ width: 100%;
56
+ top: 50%;
57
+ left: 50%;
58
+ transform: translate(-50%, -50%);
59
+ max-width: 200px;
60
+ font-size: 14px;
61
+ padding: 10px;
62
+ background-color: rgba(0, 0, 0, 0.5);
63
+ /* Black background with opacity */
64
+ color: #fff;
65
+ text-align: center;
66
+ /*make sure the container is on top of the iframe, but below our cookie notice */
67
+ z-index: 98;
68
+ /*We need some lineheight, for example Elementor will force a lineheight of 0*/
69
+ line-height: 23px;
70
+ }
71
+ .cmplz-blocked-content-container .cmplz-custom-accept-btn:focus,
72
+ .cmplz-wp-video .cmplz-custom-accept-btn:focus {
73
+ border: 1px dotted #cecece;
74
+ }
75
+ .cmplz-blocked-content-container .cmplz-blocked-content-notice,
76
+ .cmplz-wp-video .cmplz-blocked-content-notice {
77
+ white-space: normal;
78
+ text-transform: initial;
79
+ position: absolute !important;
80
+ width: 100%;
81
+ top: 50%;
82
+ left: 50%;
83
+ transform: translate(-50%, -50%);
84
+ max-width: 300px;
85
+ font-size: 14px;
86
+ padding: 10px;
87
+ background-color: rgba(0, 0, 0, 0.5);
88
+ /* Black background with opacity */
89
+ color: #fff;
90
+ text-align: center;
91
+ /*make sure the container is on top of the iframe, but below our cookie notice */
92
+ z-index: 98;
93
+ /*We need some lineheight, for example Elementor will force a lineheight of 0*/
94
+ line-height: 23px;
95
+ }
96
+ .cmplz-blocked-content-container .cmplz-blocked-content-notice .cmplz-links,
97
+ .cmplz-wp-video .cmplz-blocked-content-notice .cmplz-links {
98
+ display: block;
99
+ margin-bottom: 10px;
100
+ }
101
+ .cmplz-blocked-content-container .cmplz-blocked-content-notice .cmplz-links a,
102
+ .cmplz-wp-video .cmplz-blocked-content-notice .cmplz-links a {
103
+ color: #fff;
104
+ }
105
+ .cmplz-blocked-content-container .cmplz-blocked-content-notice .cmplz-blocked-content-notice-body,
106
+ .cmplz-wp-video .cmplz-blocked-content-notice .cmplz-blocked-content-notice-body {
107
+ display: block;
108
+ }
109
+ .cmplz-blocked-content-container div div {
110
+ display: none;
111
+ }
112
+ .cmplz-wp-video .cmplz-placeholder-element {
113
+ width: 100%;
114
+ height: inherit;
115
+ }
116
+ @keyframes cmplz-fadein {
117
+ from {
118
+ opacity: 0;
119
+ }
120
+ to {
121
+ opacity: 1;
122
+ }
123
+ }
124
+ /*# sourceMappingURL=cookieblocker.css.map */
assets/css/cookieblocker.css.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"sources":["cookieblocker.less"],"names":[],"mappings":";;;AASE,YAAC;EACF,6BAAA;;AAGC,YAAC;EACF,6BAAA;;AAGD;EACE,aAAA;;AAIF,YACE,iCACD;AAFa,aACZ,iCACD;AAFD,YACoC,gBACnC;AAFa,aACsB,gBACnC;EACE,cAAA;;AAKH;AAAkC;EAChC,4BAAA;EACA,yBAAA;EACA,gBAAA;EACA,SAAA;EACA,kBAAA;EACA,0EAAA;EACA,aAAA;EACA,uBAAA;EACA,mBAAA;EACA,4BAAA;EACA,iCAAA;EACA,eAAA;EACA,kBAAA;;AAEA,gCAAC;AAAD,eAAC;EACF,gBAAA;EACA,kBAAA;;AAEC,gCAAC;AAAD,eAAC;EACF,uBAAA;;AApBD,gCAuBE;AAvBgC,eAuBhC;EACD,gBAAA;EACA,oBAAA;;AAzBD,gCA4BE;AA5BgC,eA4BhC;EAKD,mBAAA;EACA,uBAAA;EACA,eAAA;EACA,6BAAA;EACA,WAAA;EACA,QAAA;EACA,SAAA;EACA,WAAW,qBAAX;EACA,gBAAA;EACA,eAAA;EACA,aAAA;EACA,oCAAA;;EACA,WAAA;EACA,kBAAA;;EAEA,WAAA;;EAEA,iBAAA;;AArBA,gCADC,yBACA;AAAD,eADC,yBACA;EACC,0BAAA;;AA9BH,gCAqDE;AArDgC,eAqDhC;EACD,mBAAA;EACA,uBAAA;EACA,6BAAA;EACA,WAAA;EACA,QAAA;EACA,SAAA;EACA,WAAW,qBAAX;EACA,gBAAA;EACA,eAAA;EACA,aAAA;EACA,oCAAA;;EACA,WAAA;EACA,kBAAA;;EAEA,WAAA;;EAEA,iBAAA;;AAtED,gCAqDE,8BAkBD;AAvEiC,eAqDhC,8BAkBD;EACE,cAAA;EACA,mBAAA;;AAzEH,gCAqDE,8BAkBD,aAGE;AA1E+B,eAqDhC,8BAkBD,aAGE;EACC,WAAA;;AA3EJ,gCAqDE,8BAyBD;AA9EiC,eAqDhC,8BAyBD;EACE,cAAA;;AAMH,gCACE,IAAI;EACL,aAAA;;AAKD,eACE;EACD,WAAA;EACA,eAAA;;AAID;EACE;IACD,UAAA;;EAEC;IACD,UAAA","file":"cookieblocker.css"}
assets/css/cookieblocker.less ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ /**
4
+ * Cookie blocker css
5
+ */
6
+
7
+ //this class should not be contained in blocked content container class, to ensure it applies also before the complianz script has added the blocked content class
8
+ .cmplz-video {
9
+ //prevent theme's from hiding the placeholder image with a background color
10
+ &.cmplz-iframe-styles {
11
+ background-color:transparent;
12
+ }
13
+ //hide placeholder video
14
+ &.cmplz-hidden {
15
+ visibility: hidden !important;
16
+ }
17
+ }
18
+ .cmplz-blocked-content-notice {
19
+ display: none;
20
+ }
21
+ //show the notice when the banner is loaded completely
22
+ //it's hidden by default, with an inline css snippet to make sure it's loaded instantly
23
+ .cmplz-optin, .cmplz-optout {
24
+ .cmplz-blocked-content-container, .cmplz-wp-video {
25
+ .cmplz-blocked-content-notice {
26
+ display: block;
27
+ }
28
+ }
29
+ }
30
+
31
+ .cmplz-blocked-content-container, .cmplz-wp-video {
32
+ animation-name: cmplz-fadein;
33
+ animation-duration: 600ms;
34
+ background: #FFF;
35
+ border: 0;
36
+ border-radius: 3px;
37
+ box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.5), 0 1px 10px 0 rgba(0, 0, 0, 0.15);
38
+ display: flex;
39
+ justify-content: center;
40
+ align-items: center;
41
+ background-repeat: no-repeat !important;
42
+ background-size: cover !important;
43
+ height: inherit;
44
+ position: relative;
45
+ //Geo My WP integration
46
+ &.gmw-map-cover {
47
+ max-height: 100%;
48
+ position: absolute;
49
+ }
50
+ &.cmplz-video-placeholder {
51
+ padding-bottom: initial;
52
+ }
53
+
54
+ iframe {
55
+ max-height: 100%;
56
+ border: 0 !important;
57
+ }
58
+
59
+ .cmplz-custom-accept-btn {
60
+ &:focus {
61
+ border: 1px dotted #cecece;
62
+ }
63
+
64
+ white-space: normal;
65
+ text-transform: initial;
66
+ cursor: pointer;
67
+ position: absolute !important;
68
+ width: 100%;
69
+ top: 50%;
70
+ left: 50%;
71
+ transform: translate(-50%, -50%);
72
+ max-width: 200px;
73
+ font-size: 14px;
74
+ padding: 10px;
75
+ background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
76
+ color: #fff;
77
+ text-align: center;
78
+ /*make sure the container is on top of the iframe, but below our cookie notice */
79
+ z-index: 98;
80
+ /*We need some lineheight, for example Elementor will force a lineheight of 0*/
81
+ line-height: 23px;
82
+ }
83
+
84
+ .cmplz-blocked-content-notice {
85
+ white-space: normal;
86
+ text-transform: initial;
87
+ position: absolute !important;
88
+ width: 100%;
89
+ top: 50%;
90
+ left: 50%;
91
+ transform: translate(-50%, -50%);
92
+ max-width: 300px;
93
+ font-size: 14px;
94
+ padding: 10px;
95
+ background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
96
+ color: #fff;
97
+ text-align: center;
98
+ /*make sure the container is on top of the iframe, but below our cookie notice */
99
+ z-index: 98;
100
+ /*We need some lineheight, for example Elementor will force a lineheight of 0*/
101
+ line-height: 23px;
102
+ .cmplz-links {
103
+ display:block;
104
+ margin-bottom:10px;
105
+ a {
106
+ color:#fff;
107
+ }
108
+ }
109
+ .cmplz-blocked-content-notice-body {
110
+ display:block;
111
+ }
112
+ }
113
+ }
114
+
115
+ //cannot apply to wp-video as well.
116
+ .cmplz-blocked-content-container {
117
+ div div {
118
+ display: none
119
+ }
120
+ }
121
+
122
+ //should only apply to wp-video
123
+ .cmplz-wp-video {
124
+ .cmplz-placeholder-element{
125
+ width: 100%;
126
+ height: inherit;
127
+ }
128
+ }
129
+
130
+ @keyframes cmplz-fadein {
131
+ from {
132
+ opacity:0;
133
+ }
134
+ to {
135
+ opacity:1;
136
+ }
137
+ }
assets/css/cookieblocker.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .cmplz-video.cmplz-iframe-styles{background-color:transparent}.cmplz-video.cmplz-hidden{visibility:hidden !important}.cmplz-blocked-content-notice{display:none}.cmplz-optin .cmplz-blocked-content-container .cmplz-blocked-content-notice,.cmplz-optout .cmplz-blocked-content-container .cmplz-blocked-content-notice,.cmplz-optin .cmplz-wp-video .cmplz-blocked-content-notice,.cmplz-optout .cmplz-wp-video .cmplz-blocked-content-notice{display:block}.cmplz-blocked-content-container,.cmplz-wp-video{animation-name:cmplz-fadein;animation-duration:600ms;background:#FFF;border:0;border-radius:3px;box-shadow:0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15);display:flex;justify-content:center;align-items:center;background-repeat:no-repeat !important;background-size:cover !important;height:inherit;position:relative}.cmplz-blocked-content-container.gmw-map-cover,.cmplz-wp-video.gmw-map-cover{max-height:100%;position:absolute}.cmplz-blocked-content-container.cmplz-video-placeholder,.cmplz-wp-video.cmplz-video-placeholder{padding-bottom:initial}.cmplz-blocked-content-container iframe,.cmplz-wp-video iframe{max-height:100%;border:0 !important}.cmplz-blocked-content-container .cmplz-custom-accept-btn,.cmplz-wp-video .cmplz-custom-accept-btn{white-space:normal;text-transform:initial;cursor:pointer;position:absolute !important;width:100%;top:50%;left:50%;transform:translate(-50%,-50%);max-width:200px;font-size:14px;padding:10px;background-color:rgba(0,0,0,0.5);color:#fff;text-align:center;z-index:98;line-height:23px}.cmplz-blocked-content-container .cmplz-custom-accept-btn:focus,.cmplz-wp-video .cmplz-custom-accept-btn:focus{border:1px dotted #cecece}.cmplz-blocked-content-container .cmplz-blocked-content-notice,.cmplz-wp-video .cmplz-blocked-content-notice{white-space:normal;text-transform:initial;position:absolute !important;width:100%;top:50%;left:50%;transform:translate(-50%,-50%);max-width:300px;font-size:14px;padding:10px;background-color:rgba(0,0,0,0.5);color:#fff;text-align:center;z-index:98;line-height:23px}.cmplz-blocked-content-container .cmplz-blocked-content-notice .cmplz-links,.cmplz-wp-video .cmplz-blocked-content-notice .cmplz-links{display:block;margin-bottom:10px}.cmplz-blocked-content-container .cmplz-blocked-content-notice .cmplz-links a,.cmplz-wp-video .cmplz-blocked-content-notice .cmplz-links a{color:#fff}.cmplz-blocked-content-container .cmplz-blocked-content-notice .cmplz-blocked-content-notice-body,.cmplz-wp-video .cmplz-blocked-content-notice .cmplz-blocked-content-notice-body{display:block}.cmplz-blocked-content-container div div{display:none}.cmplz-wp-video .cmplz-placeholder-element{width:100%;height:inherit}@keyframes cmplz-fadein{from{opacity:0}to{opacity:1}}
assets/css/document-grid.css ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ To ensure this file is minified, comment the import in document.less, then save this file.
3
+ */
4
+ #cmplz-manage-consent-container {
5
+ display: none;
6
+ }
7
+ .cmplz-obfuscate {
8
+ direction: rtl;
9
+ unicode-bidi: bidi-override;
10
+ }
11
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories summary {
12
+ display: block;
13
+ cursor: pointer;
14
+ }
15
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories summary::-webkit-details-marker,
16
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories summary::marker {
17
+ display: none;
18
+ content: '';
19
+ }
20
+ #cmplz-cookies-overview .cmplz-dropdown .cmplz-service-description,
21
+ #cmplz-document .cmplz-dropdown .cmplz-service-description,
22
+ #cmplz-cookies-overview .cmplz-dropdown .cmplz-sharing-data,
23
+ #cmplz-document .cmplz-dropdown .cmplz-sharing-data {
24
+ display: inline-block;
25
+ width: calc(50% - 35px);
26
+ vertical-align: top;
27
+ }
28
+ @media only screen and (max-width: 600px) {
29
+ #cmplz-cookies-overview .cmplz-dropdown .cmplz-service-description,
30
+ #cmplz-document .cmplz-dropdown .cmplz-service-description,
31
+ #cmplz-cookies-overview .cmplz-dropdown .cmplz-sharing-data,
32
+ #cmplz-document .cmplz-dropdown .cmplz-sharing-data {
33
+ width: 100%;
34
+ }
35
+ }
36
+ #cmplz-cookies-overview .cmplz-dropdown summary,
37
+ #cmplz-document .cmplz-dropdown summary {
38
+ display: block;
39
+ cursor: pointer;
40
+ }
41
+ #cmplz-cookies-overview .cmplz-dropdown summary::-webkit-details-marker,
42
+ #cmplz-document .cmplz-dropdown summary::-webkit-details-marker,
43
+ #cmplz-cookies-overview .cmplz-dropdown summary::marker,
44
+ #cmplz-document .cmplz-dropdown summary::marker {
45
+ display: none;
46
+ content: '';
47
+ }
48
+ #cmplz-cookies-overview .cmplz-dropdown summary div,
49
+ #cmplz-document .cmplz-dropdown summary div {
50
+ display: grid;
51
+ grid-template: "heading chevron";
52
+ grid-template-columns: 2fr 25px;
53
+ grid-gap: 15px;
54
+ align-items: center;
55
+ }
56
+ #cmplz-cookies-overview .cmplz-dropdown summary div h3,
57
+ #cmplz-document .cmplz-dropdown summary div h3 {
58
+ grid-area: heading;
59
+ margin: 0;
60
+ }
61
+ #cmplz-cookies-overview .cmplz-dropdown summary div:after,
62
+ #cmplz-document .cmplz-dropdown summary div:after {
63
+ grid-area: chevron;
64
+ }
65
+ #cmplz-cookies-overview .cmplz-dropdown summary div input[data-category="functional"],
66
+ #cmplz-document .cmplz-dropdown summary div input[data-category="functional"] {
67
+ visibility: hidden;
68
+ }
69
+ #cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary,
70
+ #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary {
71
+ display: block;
72
+ }
73
+ #cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div,
74
+ #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div {
75
+ grid-template: "heading paragraph checkbox chevron";
76
+ grid-template-columns: 2fr auto auto 25px;
77
+ }
78
+ #cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div p,
79
+ #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div p {
80
+ grid-area: paragraph;
81
+ }
82
+ #cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose,
83
+ #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose {
84
+ display: grid;
85
+ }
86
+ @media only screen and (min-width: 600px) {
87
+ #cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose,
88
+ #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose {
89
+ grid-column: span 2;
90
+ grid-template-columns: 1fr 1fr 1fr;
91
+ grid-template: "purpose purpose purpose" "header1 header2 header3" auto;
92
+ }
93
+ #cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose,
94
+ #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose {
95
+ grid-area: purpose;
96
+ }
97
+ #cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .name-header,
98
+ #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .name-header {
99
+ grid-area: header1;
100
+ }
101
+ #cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .retention-header,
102
+ #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .retention-header {
103
+ grid-area: header2;
104
+ }
105
+ #cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .function-header,
106
+ #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .function-header {
107
+ grid-area: header3;
108
+ }
109
+ }
110
+ @media only screen and (max-width: 600px) {
111
+ #cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose,
112
+ #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose {
113
+ grid-template-columns: 100px 1fr;
114
+ }
115
+ #cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose,
116
+ #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose {
117
+ grid-column: span 2;
118
+ }
119
+ }
120
+ /**
121
+ * Categories on the cookie policy
122
+ * Do not wrap in cmplz-document, to ensure it works with the separate shortcode
123
+ */
124
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories {
125
+ margin-top: 10px;
126
+ display: block;
127
+ width: 100%;
128
+ }
129
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category {
130
+ background-color: rgba(239, 239, 239, 0.25);
131
+ }
132
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category summary::marker {
133
+ display: none;
134
+ content: '';
135
+ }
136
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category summary::-webkit-details-marker {
137
+ display: none;
138
+ content: '';
139
+ }
140
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-description {
141
+ padding: 10px;
142
+ }
143
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category:not(:last-child) {
144
+ margin-bottom: 5px;
145
+ }
146
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header {
147
+ display: grid;
148
+ grid-template-columns: 1fr auto 25px;
149
+ grid-template-rows: auto;
150
+ align-items: center;
151
+ grid-gap: 10px;
152
+ padding: 5px 10px;
153
+ background-color: rgba(239, 239, 239, 0.5);
154
+ }
155
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header section {
156
+ padding: initial;
157
+ }
158
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header h2 {
159
+ grid-column-start: 1;
160
+ width: 100%;
161
+ justify-self: start;
162
+ font-size: 18px;
163
+ text-align: left;
164
+ margin-top: 8px;
165
+ text-transform: initial;
166
+ padding-bottom: 10px;
167
+ border-bottom: 0;
168
+ margin-bottom: 0px;
169
+ }
170
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header h2:before {
171
+ height: 0;
172
+ margin: initial;
173
+ }
174
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active {
175
+ font-size: var(--cmplz_category_header_active_font_size);
176
+ color: var(--cmplz_category_header_always_active_color);
177
+ }
178
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active label,
179
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active input {
180
+ display: none;
181
+ }
182
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header label > span {
183
+ display: none;
184
+ }
185
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-banner-checkbox {
186
+ display: flex;
187
+ align-items: center;
188
+ margin: 0;
189
+ padding: initial;
190
+ }
191
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-icon.cmplz-open {
192
+ display: flex;
193
+ align-items: center;
194
+ justify-content: center;
195
+ grid-column-start: 3;
196
+ cursor: pointer;
197
+ content: '';
198
+ background: var(--cmplz_category_open_icon_url) no-repeat;
199
+ transform: rotate(0deg);
200
+ -webkit-transition: all 0.5s ease;
201
+ -moz-transition: all 0.5s ease;
202
+ -o-transition: all 0.5s ease;
203
+ transition: all 0.5s ease;
204
+ background-size: cover;
205
+ height: 25px;
206
+ width: 25px;
207
+ }
208
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category[open] {
209
+ padding-bottom: 1px;
210
+ }
211
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category[open] summary .cmplz-category-header:after,
212
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category[open] summary .cmplz-icon.cmplz-open {
213
+ transform: rotate(180deg);
214
+ }
215
+ /*# sourceMappingURL=document-grid.css.map */
assets/css/document-grid.css.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"sources":["document-grid.less"],"names":[],"mappings":";;;AAGA;EACE,aAAA;;AAEF;EACE,cAAA;EACA,2BAAA;;AAGF,+BAA+B,+BAC7B,kBACD;EACE,cAAA;EACA,eAAA;;AACA,+BAL4B,+BAC7B,kBACD,QAGG;AAA0B,+BALC,+BAC7B,kBACD,QAG8B;EAC7B,aAAA;EACA,SAAQ,EAAR;;AAOF,uBAAwB,gBACvB;AADwC,eAAgB,gBACxD;AADD,uBAAwB,gBACK;AADY,eAAgB,gBAC5B;EAC3B,qBAAA;EACA,OAAO,gBAAP;EACA,mBAAA;;AAGD,wBAA0C;EAA1C,uBAPuB,gBAQtB;EADD,eAPwD,gBAQvD;EADD,uBAPuB,gBAQM;EAD7B,eAPwD,gBAQ3B;IAC3B,WAAA;;;AATH,uBAAwB,gBAYvB;AAZwC,eAAgB,gBAYxD;EACG,cAAA;EACA,eAAA;;AACF,uBAfsB,gBAYvB,QAGE;AAAD,eAfuD,gBAYxD,QAGE;AAA0B,uBAfL,gBAYvB,QAG6B;AAAD,eAf4B,gBAYxD,QAG6B;EAC1B,aAAA;EACA,SAAQ,EAAR;;AAjBJ,uBAAwB,gBAYvB,QAOE;AAnBsC,eAAgB,gBAYxD,QAOE;EACD,aAAA;EACA,eAAe,iBAAf;EACA,+BAAA;EACA,cAAA;EACA,mBAAA;;AAxBF,uBAAwB,gBAYvB,QAOE,IAMD;AAzBuC,eAAgB,gBAYxD,QAOE,IAMD;EACE,kBAAA;EACA,SAAA;;AAEF,uBA7BsB,gBAYvB,QAOE,IAUA;AAAD,eA7BuD,gBAYxD,QAOE,IAUA;EACC,kBAAA;;AA9BJ,uBAAwB,g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,sBAAA;EACA,YAAA;EACA,WAAA;;AAID,+BA7F4B,+BAC7B,kBAID,gBAwFG;EACF,mBAAA;;AADC,+BA7F4B,+BAC7B,kBAID,gBAwFG,MAEF,QAAQ,uBAAsB;AAF7B,+BA7F4B,+BAC7B,kBAID,gBAwFG,MAEoC,QAAQ,YAAW;EACvD,WAAW,cAAX","file":"document-grid.css"}
assets/css/document-grid.less ADDED
@@ -0,0 +1,216 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ To ensure this file is minified, comment the import in document.less, then save this file.
3
+ */
4
+ #cmplz-manage-consent-container {
5
+ display:none;
6
+ }
7
+ .cmplz-obfuscate {
8
+ direction: rtl;
9
+ unicode-bidi: bidi-override;
10
+ white-space: nowrap;
11
+ }
12
+
13
+ #cmplz-manage-consent-container.cmplz-manage-consent-container {
14
+ .cmplz-categories {
15
+ summary{
16
+ display:block;
17
+ cursor:pointer;
18
+ &::-webkit-details-marker, &::marker {
19
+ display:none;
20
+ content:'';
21
+ }
22
+ }
23
+ }
24
+ }
25
+
26
+ //needs to apply both to separate cookie shortcode, cookie policy and privacy policy
27
+ #cmplz-cookies-overview .cmplz-dropdown, #cmplz-document .cmplz-dropdown{
28
+ .cmplz-service-description, .cmplz-sharing-data{
29
+ display:inline-block;
30
+ width: calc(50% - 35px);
31
+ vertical-align: top;
32
+ }
33
+
34
+ @media only screen and (max-width: 600px) {
35
+ .cmplz-service-description, .cmplz-sharing-data{
36
+ width: 100%;
37
+ }
38
+ }
39
+ summary{
40
+ display:block;
41
+ cursor:pointer;
42
+ &::-webkit-details-marker, &::marker {
43
+ display:none;
44
+ content:'';
45
+ }
46
+ div {
47
+ display: grid;
48
+ grid-template: "heading chevron";
49
+ grid-template-columns: 2fr 25px;
50
+ grid-gap: 15px;
51
+ align-items: center;
52
+ h3{
53
+ grid-area: heading;
54
+ margin: 0;
55
+ }
56
+ &:after{
57
+ grid-area: chevron;
58
+ }
59
+ input[data-category="functional"] {
60
+ visibility:hidden;
61
+ }
62
+ }
63
+ }
64
+ &.cmplz-dropdown-cookiepolicy{
65
+ summary{
66
+ display:block;
67
+ div {
68
+ grid-template: "heading paragraph checkbox chevron";
69
+ grid-template-columns: 2fr auto auto 25px;
70
+ p {
71
+ grid-area: paragraph;
72
+ }
73
+ }
74
+ }
75
+ .cookies-per-purpose {
76
+ display: grid;
77
+
78
+ @media only screen and (min-width: 600px) {
79
+ grid-column: span 2;
80
+ grid-template-columns: 1fr 1fr 1fr;
81
+ grid-template: "purpose purpose purpose" "header1 header2 header3" auto;
82
+ .purpose {
83
+ grid-area: purpose;
84
+ }
85
+
86
+ .name-header {
87
+ grid-area: header1;
88
+ }
89
+
90
+ .retention-header {
91
+ grid-area: header2;
92
+ }
93
+
94
+ .function-header {
95
+ grid-area: header3;
96
+ }
97
+ }
98
+
99
+ @media only screen and (max-width: 600px) {
100
+ grid-template-columns: 100px 1fr;
101
+ .purpose {
102
+ grid-column: span 2;
103
+ }
104
+ }
105
+ }
106
+ }
107
+ }
108
+ /**
109
+ * Categories on the cookie policy
110
+ * Do not wrap in cmplz-document, to ensure it works with the separate shortcode
111
+ */
112
+
113
+ #cmplz-manage-consent-container.cmplz-manage-consent-container {
114
+ .cmplz-categories {
115
+ margin-top:10px;
116
+ display: block;
117
+ width:100%;
118
+ .cmplz-category {
119
+
120
+ summary::marker {
121
+ display: none;
122
+ content: '';
123
+ }
124
+ summary::-webkit-details-marker {
125
+ display: none;
126
+ content: '';
127
+ }
128
+ .cmplz-description {
129
+ padding:10px;
130
+ }
131
+
132
+ &:not(:last-child) {
133
+ margin-bottom: 5px;
134
+ }
135
+
136
+ background-color: rgba(239, 239, 239, .25);
137
+ .cmplz-category-header {
138
+ display: grid;
139
+ grid-template-columns: 1fr auto 25px;
140
+ grid-template-rows: auto;
141
+ align-items: center;
142
+ grid-gap: 10px;
143
+ padding: 5px 10px;
144
+ background-color: rgba(239, 239, 239, .5);
145
+ section {
146
+ padding:initial;
147
+ }
148
+ h2 {
149
+ grid-column-start: 1;
150
+ width:100%;
151
+ justify-self: start;
152
+ font-size: 18px;
153
+ text-align: left;
154
+ margin-top: 8px;
155
+ text-transform: initial;
156
+ padding-bottom: 10px;
157
+ border-bottom: 0;
158
+ margin-bottom: 0px;
159
+ //twenty nineteen fix
160
+ &:before {
161
+ height: 0;
162
+ margin: initial;
163
+ }
164
+ }
165
+
166
+ // Always active
167
+ .cmplz-always-active {
168
+ font-size: var(--cmplz_category_header_active_font_size);
169
+ color: var(--cmplz_category_header_always_active_color);
170
+ label, input {
171
+ display:none;
172
+ }
173
+ }
174
+
175
+ label>span {
176
+ display:none;
177
+ }
178
+ // Center checkbox
179
+ .cmplz-banner-checkbox {
180
+ display: flex;
181
+ align-items: center;
182
+ margin: 0;
183
+ padding: initial;
184
+ }
185
+
186
+ // Complianz marker
187
+ .cmplz-icon.cmplz-open {
188
+ display: flex;
189
+ align-items: center;
190
+ justify-content: center;
191
+ grid-column-start: 3;
192
+ cursor: pointer;
193
+ content: '';
194
+ background: var(--cmplz_category_open_icon_url) no-repeat;
195
+ transform: rotate(0deg);
196
+ -webkit-transition: all 0.5s ease;
197
+ -moz-transition: all 0.5s ease;
198
+ -o-transition: all 0.5s ease;
199
+ transition: all 0.5s ease;
200
+ background-size: cover;
201
+ height: 25px;
202
+ width: 25px;
203
+ }
204
+ }
205
+
206
+ &[open]{
207
+ padding-bottom: 1px;
208
+ summary .cmplz-category-header:after, summary .cmplz-icon.cmplz-open {
209
+ transform: rotate(180deg);
210
+ }
211
+
212
+ }
213
+ }
214
+ }
215
+ }
216
+
assets/css/document-grid.min.css ADDED
@@ -0,0 +1 @@
 
1
+ #cmplz-manage-consent-container{display:none}.cmplz-obfuscate{direction:rtl;unicode-bidi:bidi-override}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories summary{display:block;cursor:pointer}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories summary::-webkit-details-marker,#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories summary::marker{display:none;content:''}#cmplz-cookies-overview .cmplz-dropdown .cmplz-service-description,#cmplz-document .cmplz-dropdown .cmplz-service-description,#cmplz-cookies-overview .cmplz-dropdown .cmplz-sharing-data,#cmplz-document .cmplz-dropdown .cmplz-sharing-data{display:inline-block;width:calc(50% - 35px);vertical-align:top}@media only screen and (max-width:600px){#cmplz-cookies-overview .cmplz-dropdown .cmplz-service-description,#cmplz-document .cmplz-dropdown .cmplz-service-description,#cmplz-cookies-overview .cmplz-dropdown .cmplz-sharing-data,#cmplz-document .cmplz-dropdown .cmplz-sharing-data{width:100%}}#cmplz-cookies-overview .cmplz-dropdown summary,#cmplz-document .cmplz-dropdown summary{display:block;cursor:pointer}#cmplz-cookies-overview .cmplz-dropdown summary::-webkit-details-marker,#cmplz-document .cmplz-dropdown summary::-webkit-details-marker,#cmplz-cookies-overview .cmplz-dropdown summary::marker,#cmplz-document .cmplz-dropdown summary::marker{display:none;content:''}#cmplz-cookies-overview .cmplz-dropdown summary div,#cmplz-document .cmplz-dropdown summary div{display:grid;grid-template:"heading chevron";grid-template-columns:2fr 25px;grid-gap:15px;align-items:center}#cmplz-cookies-overview .cmplz-dropdown summary div h3,#cmplz-document .cmplz-dropdown summary div h3{grid-area:heading;margin:0}#cmplz-cookies-overview .cmplz-dropdown summary div:after,#cmplz-document .cmplz-dropdown summary div:after{grid-area:chevron}#cmplz-cookies-overview .cmplz-dropdown summary div input[data-category="functional"],#cmplz-document .cmplz-dropdown summary div input[data-category="functional"]{visibility:hidden}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary{display:block}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div{grid-template:"heading paragraph checkbox chevron";grid-template-columns:2fr auto auto 25px}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div p,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div p{grid-area:paragraph}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose{display:grid}@media only screen and (min-width:600px){#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose{grid-column:span 2;grid-template-columns:1fr 1fr 1fr;grid-template:"purpose purpose purpose" "header1 header2 header3" auto}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose{grid-area:purpose}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .name-header,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .name-header{grid-area:header1}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .retention-header,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .retention-header{grid-area:header2}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .function-header,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .function-header{grid-area:header3}}@media only screen and (max-width:600px){#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose{grid-template-columns:100px 1fr}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose{grid-column:span 2}}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories{margin-top:10px;display:block;width:100%}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category{background-color:rgba(239,239,239,0.25)}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category summary::marker{display:none;content:''}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category summary::-webkit-details-marker{display:none;content:''}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-description{padding:10px}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category:not(:last-child){margin-bottom:5px}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header{display:grid;grid-template-columns:1fr auto 25px;grid-template-rows:auto;align-items:center;grid-gap:10px;padding:5px 10px;background-color:rgba(239,239,239,0.5)}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header section{padding:initial}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header h2{grid-column-start:1;width:100%;justify-self:start;font-size:18px;text-align:left;margin-top:8px;text-transform:initial;padding-bottom:10px;border-bottom:0;margin-bottom:0}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header h2:before{height:0;margin:initial}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active{font-size:var(--cmplz_category_header_active_font_size);color:var(--cmplz_category_header_always_active_color)}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active label,#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active input{display:none}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header label>span{display:none}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-banner-checkbox{display:flex;align-items:center;margin:0;padding:initial}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-icon.cmplz-open{display:flex;align-items:center;justify-content:center;grid-column-start:3;cursor:pointer;content:'';background:var(--cmplz_category_open_icon_url) no-repeat;transform:rotate(0);-webkit-transition:all .5s ease;-moz-transition:all .5s ease;-o-transition:all .5s ease;transition:all .5s ease;background-size:cover;height:25px;width:25px}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category[open]{padding-bottom:1px}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category[open] summary .cmplz-category-header:after,#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category[open] summary .cmplz-icon.cmplz-open{transform:rotate(180deg)}
assets/css/document.css ADDED
@@ -0,0 +1,498 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ To ensure this file is minified, comment the import in document.less, then save this file.
3
+ */
4
+ #cmplz-manage-consent-container {
5
+ display: none;
6
+ }
7
+ .cmplz-obfuscate {
8
+ direction: rtl;
9
+ unicode-bidi: bidi-override;
10
+ white-space: nowrap;
11
+ }
12
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories summary {
13
+ display: block;
14
+ cursor: pointer;
15
+ }
16
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories summary::-webkit-details-marker,
17
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories summary::marker {
18
+ display: none;
19
+ content: '';
20
+ }
21
+ #cmplz-cookies-overview .cmplz-dropdown .cmplz-service-description,
22
+ #cmplz-document .cmplz-dropdown .cmplz-service-description,
23
+ #cmplz-cookies-overview .cmplz-dropdown .cmplz-sharing-data,
24
+ #cmplz-document .cmplz-dropdown .cmplz-sharing-data {
25
+ display: inline-block;
26
+ width: calc(50% - 35px);
27
+ vertical-align: top;
28
+ }
29
+ @media only screen and (max-width: 600px) {
30
+ #cmplz-cookies-overview .cmplz-dropdown .cmplz-service-description,
31
+ #cmplz-document .cmplz-dropdown .cmplz-service-description,
32
+ #cmplz-cookies-overview .cmplz-dropdown .cmplz-sharing-data,
33
+ #cmplz-document .cmplz-dropdown .cmplz-sharing-data {
34
+ width: 100%;
35
+ }
36
+ }
37
+ #cmplz-cookies-overview .cmplz-dropdown summary,
38
+ #cmplz-document .cmplz-dropdown summary {
39
+ display: block;
40
+ cursor: pointer;
41
+ }
42
+ #cmplz-cookies-overview .cmplz-dropdown summary::-webkit-details-marker,
43
+ #cmplz-document .cmplz-dropdown summary::-webkit-details-marker,
44
+ #cmplz-cookies-overview .cmplz-dropdown summary::marker,
45
+ #cmplz-document .cmplz-dropdown summary::marker {
46
+ display: none;
47
+ content: '';
48
+ }
49
+ #cmplz-cookies-overview .cmplz-dropdown summary div,
50
+ #cmplz-document .cmplz-dropdown summary div {
51
+ display: grid;
52
+ grid-template: "heading chevron";
53
+ grid-template-columns: 2fr 25px;
54
+ grid-gap: 15px;
55
+ align-items: center;
56
+ }
57
+ #cmplz-cookies-overview .cmplz-dropdown summary div h3,
58
+ #cmplz-document .cmplz-dropdown summary div h3 {
59
+ grid-area: heading;
60
+ margin: 0;
61
+ }
62
+ #cmplz-cookies-overview .cmplz-dropdown summary div:after,
63
+ #cmplz-document .cmplz-dropdown summary div:after {
64
+ grid-area: chevron;
65
+ }
66
+ #cmplz-cookies-overview .cmplz-dropdown summary div input[data-category="functional"],
67
+ #cmplz-document .cmplz-dropdown summary div input[data-category="functional"] {
68
+ visibility: hidden;
69
+ }
70
+ #cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary,
71
+ #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary {
72
+ display: block;
73
+ }
74
+ #cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div,
75
+ #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div {
76
+ grid-template: "heading paragraph checkbox chevron";
77
+ grid-template-columns: 2fr auto auto 25px;
78
+ }
79
+ #cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div p,
80
+ #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div p {
81
+ grid-area: paragraph;
82
+ }
83
+ #cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose,
84
+ #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose {
85
+ display: grid;
86
+ }
87
+ @media only screen and (min-width: 600px) {
88
+ #cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose,
89
+ #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose {
90
+ grid-column: span 2;
91
+ grid-template-columns: 1fr 1fr 1fr;
92
+ grid-template: "purpose purpose purpose" "header1 header2 header3" auto;
93
+ }
94
+ #cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose,
95
+ #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose {
96
+ grid-area: purpose;
97
+ }
98
+ #cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .name-header,
99
+ #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .name-header {
100
+ grid-area: header1;
101
+ }
102
+ #cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .retention-header,
103
+ #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .retention-header {
104
+ grid-area: header2;
105
+ }
106
+ #cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .function-header,
107
+ #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .function-header {
108
+ grid-area: header3;
109
+ }
110
+ }
111
+ @media only screen and (max-width: 600px) {
112
+ #cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose,
113
+ #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose {
114
+ grid-template-columns: 100px 1fr;
115
+ }
116
+ #cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose,
117
+ #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose {
118
+ grid-column: span 2;
119
+ }
120
+ }
121
+ /**
122
+ * Categories on the cookie policy
123
+ * Do not wrap in cmplz-document, to ensure it works with the separate shortcode
124
+ */
125
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories {
126
+ margin-top: 10px;
127
+ display: block;
128
+ width: 100%;
129
+ }
130
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category {
131
+ background-color: rgba(239, 239, 239, 0.25);
132
+ }
133
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category summary::marker {
134
+ display: none;
135
+ content: '';
136
+ }
137
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category summary::-webkit-details-marker {
138
+ display: none;
139
+ content: '';
140
+ }
141
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-description {
142
+ padding: 10px;
143
+ }
144
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category:not(:last-child) {
145
+ margin-bottom: 5px;
146
+ }
147
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header {
148
+ display: grid;
149
+ grid-template-columns: 1fr auto 25px;
150
+ grid-template-rows: auto;
151
+ align-items: center;
152
+ grid-gap: 10px;
153
+ padding: 5px 10px;
154
+ background-color: rgba(239, 239, 239, 0.5);
155
+ }
156
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header section {
157
+ padding: initial;
158
+ }
159
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header h2 {
160
+ grid-column-start: 1;
161
+ width: 100%;
162
+ justify-self: start;
163
+ font-size: 18px;
164
+ text-align: left;
165
+ margin-top: 8px;
166
+ text-transform: initial;
167
+ padding-bottom: 10px;
168
+ border-bottom: 0;
169
+ margin-bottom: 0px;
170
+ }
171
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header h2:before {
172
+ height: 0;
173
+ margin: initial;
174
+ }
175
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active {
176
+ font-size: var(--cmplz_category_header_active_font_size);
177
+ color: var(--cmplz_category_header_always_active_color);
178
+ }
179
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active label,
180
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active input {
181
+ display: none;
182
+ }
183
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header label > span {
184
+ display: none;
185
+ }
186
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-banner-checkbox {
187
+ display: flex;
188
+ align-items: center;
189
+ margin: 0;
190
+ padding: initial;
191
+ }
192
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-icon.cmplz-open {
193
+ display: flex;
194
+ align-items: center;
195
+ justify-content: center;
196
+ grid-column-start: 3;
197
+ cursor: pointer;
198
+ content: '';
199
+ background: var(--cmplz_category_open_icon_url) no-repeat;
200
+ transform: rotate(0deg);
201
+ -webkit-transition: all 0.5s ease;
202
+ -moz-transition: all 0.5s ease;
203
+ -o-transition: all 0.5s ease;
204
+ transition: all 0.5s ease;
205
+ background-size: cover;
206
+ height: 25px;
207
+ width: 25px;
208
+ }
209
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category[open] {
210
+ padding-bottom: 1px;
211
+ }
212
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category[open] summary .cmplz-category-header:after,
213
+ #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category[open] summary .cmplz-icon.cmplz-open {
214
+ transform: rotate(180deg);
215
+ }
216
+ .postbox #cmplz-document {
217
+ margin: auto auto;
218
+ }
219
+ #cmplz-document {
220
+ font-size: 14px;
221
+ margin-top: 0;
222
+ max-width: 800px;
223
+ text-justify: inter-word;
224
+ /* Buttons styles */
225
+ /*WCAG2.0 */
226
+ }
227
+ #cmplz-document input::-moz-focus-inner,
228
+ #cmplz-document button::-moz-focus-inner {
229
+ border: 0;
230
+ padding: 0;
231
+ }
232
+ #cmplz-document a {
233
+ text-decoration: underline;
234
+ }
235
+ #cmplz-document a[target="_blank"]::after {
236
+ content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
237
+ margin: 0 3px 0 5px;
238
+ }
239
+ #cmplz-document a:focus {
240
+ border: 1px solid black;
241
+ padding: 2px;
242
+ }
243
+ #cmplz-document #cmplz-dnsmpd-form label {
244
+ margin-right: 20px;
245
+ min-width: 100px;
246
+ display: inline-block;
247
+ }
248
+ #cmplz-document .cmplz-alert {
249
+ display: none;
250
+ padding: 7px;
251
+ color: white;
252
+ margin: 10px 0;
253
+ }
254
+ #cmplz-document .cmplz-alert.cmplz-error {
255
+ background-color: #f44336;
256
+ }
257
+ #cmplz-document .cmplz-alert.cmplz-success {
258
+ background-color: green;
259
+ }
260
+ #cmplz-document .cmplz-close {
261
+ margin-left: 15px;
262
+ color: white;
263
+ font-weight: bold;
264
+ float: right;
265
+ font-size: 22px;
266
+ line-height: 20px;
267
+ cursor: pointer;
268
+ transition: 0.3s;
269
+ }
270
+ #cmplz-document .cmplz-close:hover {
271
+ color: black;
272
+ }
273
+ #cmplz-document h2,
274
+ #cmplz-document h3 {
275
+ font-size: 22px;
276
+ text-align: left;
277
+ margin-top: 15px;
278
+ text-transform: initial;
279
+ padding-bottom: 10px;
280
+ margin-bottom: 10px;
281
+ }
282
+ #cmplz-document.impressum h2,
283
+ #cmplz-document.impressum h3 {
284
+ border-bottom: none;
285
+ font-size: 1em;
286
+ padding-bottom: 5px;
287
+ margin-bottom: 5px;
288
+ }
289
+ #cmplz-document.impressum p {
290
+ margin-bottom: 7px;
291
+ }
292
+ #cmplz-document h4 {
293
+ font-size: 18px;
294
+ text-align: left;
295
+ margin-top: 15px;
296
+ margin-bottom: 5px;
297
+ text-transform: initial;
298
+ }
299
+ #cmplz-document h5 {
300
+ font-size: 14px;
301
+ text-align: left;
302
+ margin-top: 10px;
303
+ margin-bottom: 5px;
304
+ text-transform: initial;
305
+ }
306
+ #cmplz-document h3.annex,
307
+ #cmplz-document h4.annex {
308
+ font-weight: bold;
309
+ }
310
+ #cmplz-document span h3 {
311
+ font-size: 14px;
312
+ border-bottom: 0;
313
+ }
314
+ #cmplz-document p,
315
+ #cmplz-document li,
316
+ #cmplz-document td {
317
+ font-size: 14px;
318
+ margin-top: 0;
319
+ }
320
+ #cmplz-document ol.alphabetic {
321
+ counter-reset: list;
322
+ list-style-type: none;
323
+ }
324
+ #cmplz-document ol.alphabetic li:before {
325
+ font-weight: bold;
326
+ content: counter(list, lower-alpha) ") ";
327
+ counter-increment: list;
328
+ }
329
+ #cmplz-document ul {
330
+ list-style: disc;
331
+ margin-left: 15px;
332
+ margin-bottom: 15px;
333
+ }
334
+ #cmplz-document ol.alphabetic ol {
335
+ counter-reset: list;
336
+ list-style-type: none;
337
+ }
338
+ #cmplz-document ol.alphabetic ol li:before {
339
+ font-weight: bold;
340
+ content: counter(list, decimal) ") ";
341
+ counter-increment: list;
342
+ }
343
+ #cmplz-document .cmplz-subtitle {
344
+ font-weight: bold;
345
+ margin-top: 25px;
346
+ }
347
+ #cmplz-document .cmplz-indent {
348
+ margin-left: 36px;
349
+ }
350
+ #cmplz-cookies-overview .cmplz-dropdown,
351
+ #cmplz-document .cmplz-dropdown {
352
+ background-color: rgba(239, 239, 239, 0.25);
353
+ }
354
+ #cmplz-cookies-overview .cmplz-dropdown h4,
355
+ #cmplz-document .cmplz-dropdown h4 {
356
+ font-size: 18px;
357
+ text-align: left;
358
+ margin-top: 15px;
359
+ margin-bottom: 5px;
360
+ text-transform: initial;
361
+ }
362
+ #cmplz-cookies-overview .cmplz-dropdown p,
363
+ #cmplz-document .cmplz-dropdown p,
364
+ #cmplz-cookies-overview .cmplz-dropdown a,
365
+ #cmplz-document .cmplz-dropdown a {
366
+ font-size: 14px;
367
+ margin-top: 0;
368
+ }
369
+ #cmplz-cookies-overview .cmplz-dropdown p,
370
+ #cmplz-document .cmplz-dropdown p,
371
+ #cmplz-cookies-overview .cmplz-dropdown h4,
372
+ #cmplz-document .cmplz-dropdown h4,
373
+ #cmplz-cookies-overview .cmplz-dropdown ul,
374
+ #cmplz-document .cmplz-dropdown ul {
375
+ padding: 0 15px ;
376
+ }
377
+ #cmplz-cookies-overview .cmplz-dropdown p.legal-obligations-description,
378
+ #cmplz-document .cmplz-dropdown p.legal-obligations-description {
379
+ padding-bottom: 15px;
380
+ }
381
+ #cmplz-cookies-overview .cmplz-dropdown summary::marker,
382
+ #cmplz-document .cmplz-dropdown summary::marker {
383
+ display: none;
384
+ content: '';
385
+ }
386
+ #cmplz-cookies-overview .cmplz-dropdown summary::-webkit-details-marker,
387
+ #cmplz-document .cmplz-dropdown summary::-webkit-details-marker {
388
+ display: none;
389
+ content: '';
390
+ }
391
+ #cmplz-cookies-overview .cmplz-dropdown summary,
392
+ #cmplz-document .cmplz-dropdown summary {
393
+ display: block;
394
+ background-color: rgba(239, 239, 239, 0.5);
395
+ margin: 5px 0;
396
+ padding: 5px 10px;
397
+ align-items: center;
398
+ justify-items: stretch;
399
+ }
400
+ #cmplz-cookies-overview .cmplz-dropdown summary h3,
401
+ #cmplz-document .cmplz-dropdown summary h3 {
402
+ padding: 0 5px;
403
+ font-size: 18px;
404
+ border-bottom: 0;
405
+ }
406
+ #cmplz-cookies-overview .cmplz-dropdown summary p,
407
+ #cmplz-document .cmplz-dropdown summary p {
408
+ text-align: right;
409
+ padding: 0;
410
+ margin: 0;
411
+ font-size: 14px;
412
+ border-bottom: 0;
413
+ }
414
+ #cmplz-cookies-overview .cmplz-dropdown summary div:after,
415
+ #cmplz-document .cmplz-dropdown summary div:after {
416
+ cursor: pointer;
417
+ content: '';
418
+ background: url(../images/chevron-down.svg) no-repeat;
419
+ transform: rotate(0deg);
420
+ -webkit-transition: all 0.5s ease;
421
+ -moz-transition: all 0.5s ease;
422
+ -o-transition: all 0.5s ease;
423
+ transition: all 0.5s ease;
424
+ background-size: cover;
425
+ height: 18px;
426
+ width: 18px;
427
+ margin: 3px;
428
+ }
429
+ #cmplz-cookies-overview .cmplz-dropdown[open],
430
+ #cmplz-document .cmplz-dropdown[open] {
431
+ padding-bottom: 1px;
432
+ }
433
+ #cmplz-cookies-overview .cmplz-dropdown[open] summary div:after,
434
+ #cmplz-document .cmplz-dropdown[open] summary div:after {
435
+ transform: rotate(180deg);
436
+ }
437
+ #cmplz-cookies-overview .cmplz-dropdown h4,
438
+ #cmplz-document .cmplz-dropdown h4 {
439
+ font-size: 15px;
440
+ margin: 5px 0;
441
+ }
442
+ #cmplz-cookies-overview .cmplz-dropdown h5,
443
+ #cmplz-document .cmplz-dropdown h5 {
444
+ margin: 0;
445
+ }
446
+ #cmplz-cookies-overview .cmplz-dropdown .cmplz-service-description,
447
+ #cmplz-document .cmplz-dropdown .cmplz-service-description,
448
+ #cmplz-cookies-overview .cmplz-dropdown .cmplz-sharing-data,
449
+ #cmplz-document .cmplz-dropdown .cmplz-sharing-data {
450
+ padding: 0 15px 15px;
451
+ }
452
+ #cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose,
453
+ #cmplz-document .cmplz-dropdown .cookies-per-purpose {
454
+ border: 1px solid #dadada;
455
+ grid-gap: 1px;
456
+ background-color: #dadada;
457
+ margin-bottom: 10px;
458
+ }
459
+ #cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div,
460
+ #cmplz-document .cmplz-dropdown .cookies-per-purpose div {
461
+ background-color: white;
462
+ padding: 15px;
463
+ }
464
+ @media only screen and (min-width: 600px) {
465
+ #cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose .name-header,
466
+ #cmplz-document .cmplz-dropdown .cookies-per-purpose .name-header {
467
+ background-color: #f7f7f7;
468
+ }
469
+ #cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose .retention-header,
470
+ #cmplz-document .cmplz-dropdown .cookies-per-purpose .retention-header {
471
+ background-color: #f7f7f7;
472
+ }
473
+ #cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose .function-header,
474
+ #cmplz-document .cmplz-dropdown .cookies-per-purpose .function-header {
475
+ background-color: #f7f7f7;
476
+ }
477
+ }
478
+ @media only screen and (max-width: 600px) {
479
+ #cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose h5,
480
+ #cmplz-document .cmplz-dropdown .cookies-per-purpose h5 {
481
+ line-height: 1.8;
482
+ }
483
+ #cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+2),
484
+ #cmplz-document .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+2),
485
+ #cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+3),
486
+ #cmplz-document .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+3),
487
+ #cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+4),
488
+ #cmplz-document .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+4),
489
+ #cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+5),
490
+ #cmplz-document .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+5),
491
+ #cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+6),
492
+ #cmplz-document .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+6),
493
+ #cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+7),
494
+ #cmplz-document .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+7) {
495
+ background-color: #f7f7f7;
496
+ }
497
+ }
498
+ /*# sourceMappingURL=document.css.map */
assets/css/document.css.map ADDED
@@ -0,0 +1 @@
 
1
+ {"version":3,"sources":["document-grid.less","document.less"],"names":[],"mappings":";;;AAGA;EACE,aAAA;;AAEF;EACE,cAAA;EACA,2BAAA;EACA,mBAAA;;AAGF,+BAA+B,+BAC7B,kBACD;EACE,cAAA;EACA,eAAA;;AACA,+BAL4B,+BAC7B,kBACD,QAGG;AAA0B,+BALC,+BAC7B,kBACD,Q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AU;EAPf,eAhHwD,gBAuFvD,qBAgCC,IAAG,UAAU;EAPf,uBAhHuB,gBAuFtB,qBAiCC,IAAG,UAAU;EARf,eAhHwD,gBAuFvD,qBAiCC,IAAG,UAAU;EARf,uBAhHuB,gBAuFtB,qBAkCC,IAAG,UAAU;EATf,eAhHwD,gBAuFvD,qBAkCC,IAAG,UAAU;EATf,uBAhHuB,gBAuFtB,qBAmCC,IAAG,UAAU;EAVf,eAhHwD,gBAuFvD,qBAmCC,IAAG,UAAU;IACd,yBAAA","file":"document.css"}
assets/css/document.less ADDED
@@ -0,0 +1,285 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import 'document-grid.less';
2
+
3
+ .postbox #cmplz-document {
4
+ margin: auto auto;
5
+ }
6
+
7
+ #cmplz-document {
8
+ font-size: 14px;
9
+ margin-top: 0;
10
+ max-width: 800px;
11
+ // text-align: justify;
12
+ text-justify: inter-word;
13
+ /* Buttons styles */
14
+ input::-moz-focus-inner,
15
+ button::-moz-focus-inner {
16
+ border: 0;
17
+ padding: 0;
18
+ }
19
+
20
+ /*WCAG2.0 */
21
+
22
+ a {
23
+ text-decoration: underline;
24
+ }
25
+ a[target="_blank"]::after {
26
+ content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
27
+ margin: 0 3px 0 5px;
28
+ }
29
+
30
+ a:focus {
31
+ border: 1px solid black;
32
+ padding:2px;
33
+ }
34
+
35
+ #cmplz-dnsmpd-form label{
36
+ margin-right:20px;
37
+ min-width:100px;
38
+ display:inline-block
39
+ }
40
+
41
+ .cmplz-alert {
42
+ display:none;
43
+ padding: 7px;
44
+ color: white;
45
+ margin: 10px 0;
46
+ &.cmplz-error {
47
+ background-color: #f44336;
48
+ }
49
+ &.cmplz-success {
50
+ background-color: green;
51
+ }
52
+ }
53
+
54
+ .cmplz-close {
55
+ margin-left: 15px;
56
+ color: white;
57
+ font-weight: bold;
58
+ float: right;
59
+ font-size: 22px;
60
+ line-height: 20px;
61
+ cursor: pointer;
62
+ transition: 0.3s;
63
+ &:hover {
64
+ color: black;
65
+ }
66
+ }
67
+
68
+ h2, h3 {
69
+ font-size: 22px;
70
+ text-align: left;
71
+ margin-top: 15px;
72
+ text-transform: initial;
73
+ padding-bottom: 10px;
74
+ margin-bottom: 10px;
75
+ }
76
+
77
+ &.impressum {
78
+ h2, h3 {
79
+ border-bottom: none;
80
+ font-size: 1em;
81
+ padding-bottom:5px;
82
+ margin-bottom:5px;
83
+ }
84
+ p {
85
+ margin-bottom:7px;
86
+ }
87
+ }
88
+
89
+ h4 {
90
+ font-size: 18px;
91
+ text-align: left;
92
+ margin-top: 15px;
93
+ margin-bottom: 5px;
94
+ text-transform: initial;
95
+ }
96
+
97
+ h5 {
98
+ font-size: 14px;
99
+ text-align: left;
100
+ margin-top: 10px;
101
+ margin-bottom: 5px;
102
+ text-transform: initial;
103
+ }
104
+
105
+ h3.annex, h4.annex {
106
+ font-weight: bold;
107
+ }
108
+
109
+ span h3 {
110
+ font-size: 14px;
111
+ border-bottom: 0;
112
+ }
113
+
114
+
115
+ p, li, td {
116
+ font-size: 14px;
117
+ margin-top: 0;
118
+ }
119
+
120
+ ol.alphabetic {
121
+ counter-reset: list;
122
+ list-style-type: none;
123
+
124
+ }
125
+
126
+ ol.alphabetic li:before {
127
+ font-weight: bold;
128
+ content: counter(list, lower-alpha) ") ";
129
+ counter-increment: list
130
+ }
131
+
132
+ ul {
133
+ list-style: disc;
134
+ margin-left: 15px;
135
+ margin-bottom: 15px;
136
+ }
137
+
138
+ ol.alphabetic ol {
139
+ counter-reset: list;
140
+ list-style-type: none;
141
+ }
142
+
143
+ ol.alphabetic ol li:before {
144
+ font-weight: bold;
145
+ content: counter(list, decimal) ") ";
146
+ counter-increment: list
147
+ }
148
+
149
+ .cmplz-subtitle {
150
+ font-weight: bold;
151
+ margin-top: 25px;
152
+ }
153
+ .cmplz-indent{
154
+ margin-left:36px;
155
+ }
156
+ }
157
+ //needs to apply both to separate cookie shortcode, cookie policy and privacy policy
158
+ #cmplz-cookies-overview .cmplz-dropdown, #cmplz-document .cmplz-dropdown{
159
+ background-color: rgba(239, 239, 239, 0.25);
160
+ h4 {
161
+ font-size: 18px;
162
+ text-align: left;
163
+ margin-top: 15px;
164
+ margin-bottom: 5px;
165
+ text-transform: initial;
166
+ }
167
+ p, a {
168
+ font-size: 14px;
169
+ margin-top: 0;
170
+ }
171
+ p, h4, ul{
172
+ padding: 0 15px ;
173
+ }
174
+ p{
175
+ &.legal-obligations-description{
176
+ padding-bottom: 15px;
177
+ }
178
+ }
179
+ // Remove default marker
180
+ summary::marker {
181
+ display: none;
182
+ content: '';
183
+ }
184
+ summary::-webkit-details-marker {
185
+ display: none;
186
+ content: '';
187
+ }
188
+ summary{
189
+ display:block;
190
+ background-color: rgba(239, 239, 239, 0.5);
191
+ margin: 5px 0;
192
+ padding: 5px 10px;
193
+ align-items: center;
194
+ justify-items: stretch;
195
+ h3 {
196
+ padding: 0 5px;
197
+ border-bottom: 0;
198
+ font-size: 18px;
199
+ border-bottom: 0;
200
+ }
201
+ p{
202
+ text-align: right;
203
+ padding: 0;
204
+ margin: 0;
205
+ font-size: 14px;
206
+ border-bottom: 0;
207
+ }
208
+ div {
209
+ &:after {
210
+ cursor: pointer;
211
+ content: '';
212
+ background: url(../images/chevron-down.svg) no-repeat;
213
+ transform: rotate(0deg);
214
+ -webkit-transition: all 0.5s ease;
215
+ -moz-transition: all 0.5s ease;
216
+ -o-transition: all 0.5s ease;
217
+ transition: all 0.5s ease;
218
+ background-size: cover;
219
+ height: 18px;
220
+ width: 18px;
221
+ margin: 3px;
222
+ }
223
+ }
224
+
225
+ }
226
+ &[open]{
227
+ padding-bottom: 1px;
228
+ summary div:after {
229
+ transform: rotate(180deg);
230
+ }
231
+ }
232
+ h4 {
233
+ font-size: 15px;
234
+ margin: 5px 0;
235
+ }
236
+
237
+ h5 {
238
+ margin: 0;
239
+ }
240
+
241
+ .cmplz-service-description, .cmplz-sharing-data {
242
+ padding: 0 15px 15px;
243
+ }
244
+
245
+ .cookies-per-purpose {
246
+ border: 1px solid #dadada;
247
+ grid-gap: 1px;
248
+ background-color: #dadada;
249
+ margin-bottom: 10px;
250
+
251
+ div {
252
+ background-color: white;
253
+ padding: 15px;
254
+ }
255
+
256
+ @media only screen and (min-width: 600px) {
257
+ .name-header {
258
+ background-color: #f7f7f7;
259
+ }
260
+
261
+ .retention-header {
262
+ background-color: #f7f7f7;
263
+ }
264
+
265
+ .function-header {
266
+ background-color: #f7f7f7;
267
+ }
268
+ }
269
+
270
+ @media only screen and (max-width: 600px) {
271
+ h5 {
272
+ line-height: 1.8;
273
+ }
274
+
275
+ div:nth-child(12n+2),
276
+ div:nth-child(12n+3),
277
+ div:nth-child(12n+4),
278
+ div:nth-child(12n+5),
279
+ div:nth-child(12n+6),
280
+ div:nth-child(12n+7) {
281
+ background-color: #f7f7f7;
282
+ }
283
+ }
284
+ }
285
+ }
assets/css/document.min.css ADDED
@@ -0,0 +1 @@
 
1
+ #cmplz-manage-consent-container{display:none}.cmplz-obfuscate{direction:rtl;unicode-bidi:bidi-override;white-space:nowrap}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories summary{display:block;cursor:pointer}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories summary::-webkit-details-marker,#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories summary::marker{display:none;content:''}#cmplz-cookies-overview .cmplz-dropdown .cmplz-service-description,#cmplz-document .cmplz-dropdown .cmplz-service-description,#cmplz-cookies-overview .cmplz-dropdown .cmplz-sharing-data,#cmplz-document .cmplz-dropdown .cmplz-sharing-data{display:inline-block;width:calc(50% - 35px);vertical-align:top}@media only screen and (max-width:600px){#cmplz-cookies-overview .cmplz-dropdown .cmplz-service-description,#cmplz-document .cmplz-dropdown .cmplz-service-description,#cmplz-cookies-overview .cmplz-dropdown .cmplz-sharing-data,#cmplz-document .cmplz-dropdown .cmplz-sharing-data{width:100%}}#cmplz-cookies-overview .cmplz-dropdown summary,#cmplz-document .cmplz-dropdown summary{display:block;cursor:pointer}#cmplz-cookies-overview .cmplz-dropdown summary::-webkit-details-marker,#cmplz-document .cmplz-dropdown summary::-webkit-details-marker,#cmplz-cookies-overview .cmplz-dropdown summary::marker,#cmplz-document .cmplz-dropdown summary::marker{display:none;content:''}#cmplz-cookies-overview .cmplz-dropdown summary div,#cmplz-document .cmplz-dropdown summary div{display:grid;grid-template:"heading chevron";grid-template-columns:2fr 25px;grid-gap:15px;align-items:center}#cmplz-cookies-overview .cmplz-dropdown summary div h3,#cmplz-document .cmplz-dropdown summary div h3{grid-area:heading;margin:0}#cmplz-cookies-overview .cmplz-dropdown summary div:after,#cmplz-document .cmplz-dropdown summary div:after{grid-area:chevron}#cmplz-cookies-overview .cmplz-dropdown summary div input[data-category="functional"],#cmplz-document .cmplz-dropdown summary div input[data-category="functional"]{visibility:hidden}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary{display:block}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div{grid-template:"heading paragraph checkbox chevron";grid-template-columns:2fr auto auto 25px}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div p,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary div p{grid-area:paragraph}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose{display:grid}@media only screen and (min-width:600px){#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose{grid-column:span 2;grid-template-columns:1fr 1fr 1fr;grid-template:"purpose purpose purpose" "header1 header2 header3" auto}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose{grid-area:purpose}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .name-header,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .name-header{grid-area:header1}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .retention-header,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .retention-header{grid-area:header2}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .function-header,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .function-header{grid-area:header3}}@media only screen and (max-width:600px){#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose{grid-template-columns:100px 1fr}#cmplz-cookies-overview .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose,#cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose .purpose{grid-column:span 2}}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories{margin-top:10px;display:block;width:100%}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category{background-color:rgba(239,239,239,0.25)}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category summary::marker{display:none;content:''}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category summary::-webkit-details-marker{display:none;content:''}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-description{padding:10px}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category:not(:last-child){margin-bottom:5px}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header{display:grid;grid-template-columns:1fr auto 25px;grid-template-rows:auto;align-items:center;grid-gap:10px;padding:5px 10px;background-color:rgba(239,239,239,0.5)}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header section{padding:initial}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header h2{grid-column-start:1;width:100%;justify-self:start;font-size:18px;text-align:left;margin-top:8px;text-transform:initial;padding-bottom:10px;border-bottom:0;margin-bottom:0}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header h2:before{height:0;margin:initial}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active{font-size:var(--cmplz_category_header_active_font_size);color:var(--cmplz_category_header_always_active_color)}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active label,#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active input{display:none}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header label>span{display:none}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-banner-checkbox{display:flex;align-items:center;margin:0;padding:initial}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-icon.cmplz-open{display:flex;align-items:center;justify-content:center;grid-column-start:3;cursor:pointer;content:'';background:var(--cmplz_category_open_icon_url) no-repeat;transform:rotate(0);-webkit-transition:all .5s ease;-moz-transition:all .5s ease;-o-transition:all .5s ease;transition:all .5s ease;background-size:cover;height:25px;width:25px}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category[open]{padding-bottom:1px}#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category[open] summary .cmplz-category-header:after,#cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category[open] summary .cmplz-icon.cmplz-open{transform:rotate(180deg)}.postbox #cmplz-document{margin:auto auto}#cmplz-document{font-size:14px;margin-top:0;max-width:800px;text-justify:inter-word}#cmplz-document input::-moz-focus-inner,#cmplz-document button::-moz-focus-inner{border:0;padding:0}#cmplz-document a{text-decoration:underline}#cmplz-document a[target="_blank"]::after{content:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);margin:0 3px 0 5px}#cmplz-document a:focus{border:1px solid black;padding:2px}#cmplz-document #cmplz-dnsmpd-form label{margin-right:20px;min-width:100px;display:inline-block}#cmplz-document .cmplz-alert{display:none;padding:7px;color:white;margin:10px 0}#cmplz-document .cmplz-alert.cmplz-error{background-color:#f44336}#cmplz-document .cmplz-alert.cmplz-success{background-color:green}#cmplz-document .cmplz-close{margin-left:15px;color:white;font-weight:bold;float:right;font-size:22px;line-height:20px;cursor:pointer;transition:.3s}#cmplz-document .cmplz-close:hover{color:black}#cmplz-document h2,#cmplz-document h3{font-size:22px;text-align:left;margin-top:15px;text-transform:initial;padding-bottom:10px;margin-bottom:10px}#cmplz-document.impressum h2,#cmplz-document.impressum h3{border-bottom:0;font-size:1em;padding-bottom:5px;margin-bottom:5px}#cmplz-document.impressum p{margin-bottom:7px}#cmplz-document h4{font-size:18px;text-align:left;margin-top:15px;margin-bottom:5px;text-transform:initial}#cmplz-document h5{font-size:14px;text-align:left;margin-top:10px;margin-bottom:5px;text-transform:initial}#cmplz-document h3.annex,#cmplz-document h4.annex{font-weight:bold}#cmplz-document span h3{font-size:14px;border-bottom:0}#cmplz-document p,#cmplz-document li,#cmplz-document td{font-size:14px;margin-top:0}#cmplz-document ol.alphabetic{counter-reset:list;list-style-type:none}#cmplz-document ol.alphabetic li:before{font-weight:bold;content:counter(list,lower-alpha) ") ";counter-increment:list}#cmplz-document ul{list-style:disc;margin-left:15px;margin-bottom:15px}#cmplz-document ol.alphabetic ol{counter-reset:list;list-style-type:none}#cmplz-document ol.alphabetic ol li:before{font-weight:bold;content:counter(list,decimal) ") ";counter-increment:list}#cmplz-document .cmplz-subtitle{font-weight:bold;margin-top:25px}#cmplz-document .cmplz-indent{margin-left:36px}#cmplz-cookies-overview .cmplz-dropdown,#cmplz-document .cmplz-dropdown{background-color:rgba(239,239,239,0.25)}#cmplz-cookies-overview .cmplz-dropdown h4,#cmplz-document .cmplz-dropdown h4{font-size:18px;text-align:left;margin-top:15px;margin-bottom:5px;text-transform:initial}#cmplz-cookies-overview .cmplz-dropdown p,#cmplz-document .cmplz-dropdown p,#cmplz-cookies-overview .cmplz-dropdown a,#cmplz-document .cmplz-dropdown a{font-size:14px;margin-top:0}#cmplz-cookies-overview .cmplz-dropdown p,#cmplz-document .cmplz-dropdown p,#cmplz-cookies-overview .cmplz-dropdown h4,#cmplz-document .cmplz-dropdown h4,#cmplz-cookies-overview .cmplz-dropdown ul,#cmplz-document .cmplz-dropdown ul{padding:0 15px}#cmplz-cookies-overview .cmplz-dropdown p.legal-obligations-description,#cmplz-document .cmplz-dropdown p.legal-obligations-description{padding-bottom:15px}#cmplz-cookies-overview .cmplz-dropdown summary::marker,#cmplz-document .cmplz-dropdown summary::marker{display:none;content:''}#cmplz-cookies-overview .cmplz-dropdown summary::-webkit-details-marker,#cmplz-document .cmplz-dropdown summary::-webkit-details-marker{display:none;content:''}#cmplz-cookies-overview .cmplz-dropdown summary,#cmplz-document .cmplz-dropdown summary{display:block;background-color:rgba(239,239,239,0.5);margin:5px 0;padding:5px 10px;align-items:center;justify-items:stretch}#cmplz-cookies-overview .cmplz-dropdown summary h3,#cmplz-document .cmplz-dropdown summary h3{padding:0 5px;font-size:18px;border-bottom:0}#cmplz-cookies-overview .cmplz-dropdown summary p,#cmplz-document .cmplz-dropdown summary p{text-align:right;padding:0;margin:0;font-size:14px;border-bottom:0}#cmplz-cookies-overview .cmplz-dropdown summary div:after,#cmplz-document .cmplz-dropdown summary div:after{cursor:pointer;content:'';background:url(../images/chevron-down.svg) no-repeat;transform:rotate(0);-webkit-transition:all .5s ease;-moz-transition:all .5s ease;-o-transition:all .5s ease;transition:all .5s ease;background-size:cover;height:18px;width:18px;margin:3px}#cmplz-cookies-overview .cmplz-dropdown[open],#cmplz-document .cmplz-dropdown[open]{padding-bottom:1px}#cmplz-cookies-overview .cmplz-dropdown[open] summary div:after,#cmplz-document .cmplz-dropdown[open] summary div:after{transform:rotate(180deg)}#cmplz-cookies-overview .cmplz-dropdown h4,#cmplz-document .cmplz-dropdown h4{font-size:15px;margin:5px 0}#cmplz-cookies-overview .cmplz-dropdown h5,#cmplz-document .cmplz-dropdown h5{margin:0}#cmplz-cookies-overview .cmplz-dropdown .cmplz-service-description,#cmplz-document .cmplz-dropdown .cmplz-service-description,#cmplz-cookies-overview .cmplz-dropdown .cmplz-sharing-data,#cmplz-document .cmplz-dropdown .cmplz-sharing-data{padding:0 15px 15px}#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose,#cmplz-document .cmplz-dropdown .cookies-per-purpose{border:1px solid #dadada;grid-gap:1px;background-color:#dadada;margin-bottom:10px}#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div,#cmplz-document .cmplz-dropdown .cookies-per-purpose div{background-color:white;padding:15px}@media only screen and (min-width:600px){#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose .name-header,#cmplz-document .cmplz-dropdown .cookies-per-purpose .name-header{background-color:#f7f7f7}#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose .retention-header,#cmplz-document .cmplz-dropdown .cookies-per-purpose .retention-header{background-color:#f7f7f7}#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose .function-header,#cmplz-document .cmplz-dropdown .cookies-per-purpose .function-header{background-color:#f7f7f7}}@media only screen and (max-width:600px){#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose h5,#cmplz-document .cmplz-dropdown .cookies-per-purpose h5{line-height:1.8}#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+2),#cmplz-document .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+2),#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+3),#cmplz-document .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+3),#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+4),#cmplz-document .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+4),#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+5),#cmplz-document .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+5),#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+6),#cmplz-document .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+6),#cmplz-cookies-overview .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+7),#cmplz-document .cmplz-dropdown .cookies-per-purpose div:nth-child(12n+7){background-color:#f7f7f7}}
assets/css/index.php ADDED
@@ -0,0 +1,2 @@
 
 
1
+ <?php
2
+ // Silence is golden.
assets/css/variables.less ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Margins, Paddings and Border Radius
2
+ @small-margin: 10px;
3
+ @default-margin: 15px;
4
+ @big-margin: 30px;
5
+ @grid-margin:10px;
6
+
7
+ @default-padding: 20px;
8
+ @border-radius: 25px;
9
+
10
+ // RSP Brand Colors
11
+ @rsp-black: #333;
12
+ @rsp-yellow: #f8be2e;
13
+ @rsp-blue: #29b6f6;
14
+ @rsp-green: #297A31;
15
+ @rsp-red: #D7263D;
16
+ @rsp-pink: #E366A1;
17
+ @rsp-orange: #f39c12;
18
+ @box_shadow_color: #dedede;
19
+ @light-text-color: #3c3c3c;
20
+
21
+ // Colors
22
+ @brand-primary: @rsp-blue;
23
+ @brand-secondary: @color-success;
24
+
25
+ // Notification colors
26
+ @color-success: #61ce70;
27
+ @color-disabled: #d7d7d7;
28
+ @color-warning: @rsp-red;
29
+ @color-open: @rsp-yellow;
30
+
31
+ //Input colors
32
+ @input-background-color: var(--rsp-input-background-color);
33
+ @input-border-color: var(--rsp-input-border-color);
34
+
35
+ @grey: #c6c6c6;
36
+ @grey-lighter: #fafafa;
37
+ @grey-light: #dadada;
38
+ @grey-dark: #888;
39
+ @grey-darker: #696969;
40
+
41
+ // Grid settings
42
+ @red-gap: 15px;
43
+ @green-gap: 20px;
44
+ @intro-gap: 20px 20px 0 20px;
45
+
46
+ @gridblock-height: 500px;
47
+ @gridblock-width: 800px;
48
+ @gridblock-width-small: 400px;
49
+
50
+ // Font sizes
51
+ @default-font-size: 14px;
52
+ @gridblock_height: 515px;
53
+ @gridblock_width: 800px;
54
+ @gridblock_width_small:400px;
55
+ @gridblock_height_big: calc(auto + 20px);
56
+
57
+ // Break points
58
+ @rsp-break-xs: 576px;
59
+ @rsp-break-s: 768px;
60
+ @rsp-break-m: 992px;
61
+ @rsp-break-l: 1279px;
62
+ @rsp-break-xl: 1440px; // common 13 inch macbook pro width is 1425px
63
+ @rsp-break-xxl: 1599px;
64
+
65
+ :root {
66
+
67
+ // Margins, Paddings and Border Radius
68
+ --rsp-spacing-xxs: 5px;
69
+ --rsp-spacing-xs: 10px;
70
+ --rsp-spacing-s: 15px;
71
+ --rsp-spacing-m: 20px;
72
+ --rsp-spacing-l: 30px;
73
+ --rsp-spacing-xl: 40px;
74
+
75
+ // Grid settings
76
+ --rsp-grid-margin: var(--rsp-spacing-xs);
77
+ --rsp-grid-gap: var(--rsp-spacing-m);
78
+
79
+ // Borders and stuff
80
+ --rsp-border-radius: 12px;
81
+ --rsp-border-radius-s: 8px;
82
+ --rsp-border: 1px solid var(--rsp-border-color);
83
+ --rsp-box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
84
+ --rsp-border-color: #dfdfdf;
85
+
86
+ // RSP Brand Colors
87
+ --rsp-black: #333;
88
+ --rsp-white: #fff;
89
+ --rsp-yellow: #f4bf3e;
90
+ --rsp-blue: #29b6f6;
91
+ --rsp-dark-blue: #1E73BE;
92
+ --rsp-green: #2e8a37;
93
+ --rsp-red: #D7263D;
94
+ --rsp-pink: #E35899;
95
+ --rsp-orange: #f39c12;
96
+ --rsp-wp-blue: #007cba;
97
+
98
+ --rsp-yellow-faded: #f2e6c9;
99
+ --rsp-blue-faded: #ecf8fe;
100
+ --rsp-dark-blue-faded: #ebf2f9;
101
+ --rsp-green-faded: #ecf4ed;
102
+ --rsp-red-faded: #fbebed;
103
+ --rsp-pink-faded: #fceff5;
104
+ --rsp-orange-faded: #fef5ea;
105
+ --rsp-wp-blue-faded: #c6e0ef;
106
+
107
+ --rsp-background-block-color: var(--rsp-white);
108
+ --rsp-background-color: #f0f0f1; //#f0f0f1 is the default wordpress bg color
109
+
110
+ //Input colors
111
+ --rsp-input-background-color: #fff;
112
+ --rsp-input-text-color: var(--rsp-text-color);
113
+ --rsp-input-border-color: var(--rsp-grey-400);
114
+
115
+ --rsp-text-color: rgba(26, 26, 26, 0.9);
116
+ --rsp-text-color-invert: rgba(255, 255, 255, 0.9);
117
+ --rsp-text-color-white: rgba(255, 255, 255, 0.9);
118
+ --rsp-text-color-light: rgba(69, 69, 82, 0.9);
119
+
120
+ --rsp-grey-100: #fafafa;
121
+ --rsp-grey-200: #f9f9f9;
122
+ --rsp-grey-300: #ededed;
123
+ --rsp-grey-400: #c6c6c6;
124
+ --rsp-grey-500: #737373;
125
+ --rsp-grey-600: #696969;
126
+
127
+ // Notification colors
128
+ --rsp-color-success: var(--rsp-green);
129
+ --rsp-color-error: var(--rsp-red);
130
+ --rsp-color-warning: var(--rsp-red);
131
+ --rsp-color-open: var(--rsp-yellow);
132
+ --rsp-color-disabled: var(--rsp-grey-300);
133
+
134
+ // Font sizes
135
+ // If browser font-size is 16px:
136
+ --rsp-fs-100: 0.6875rem; // 11px
137
+ --rsp-fs-200: 0.8rem; // 12px
138
+ --rsp-fs-300: 0.8125rem; // 13px
139
+ --rsp-fs-400: 0.875rem; // 14px
140
+ --rsp-fs-500: 1rem; // 16px
141
+ --rsp-fs-600: 1.125rem; // 18px
142
+ --rsp-fs-700: 1.25rem; // 20px
143
+ --rsp-fs-800: 1.5rem; // 24px
144
+ --rsp-fs-900: 2.5rem; // 40px
145
+
146
+ // Plugin specific variables down here please
147
+ --rsp-brand-primary: var(--rsp-blue);
148
+ --rsp-brand-secondary: var(--rsp-yellow);
149
+ --rsp-brand-primary-faded: var(--rsp-blue-faded);
150
+ }
151
+
152
+ .cmplz-block {
153
+ background: var(--rsp-background-block-color);
154
+ box-shadow: var(--rsp-box-shadow);
155
+ border-radius: var(--rsp-border-radius);
156
+ }
157
+
assets/css/wizard.css ADDED
@@ -0,0 +1,2027 @@