GDPR Cookie Compliance - Version 1.0.0

Version Description

Download this release

Release Info

Developer gaspar.nemes
Plugin Icon 128x128 GDPR Cookie Compliance
Version 1.0.0
Comparing to
See all releases

Version 1.0.0

README.md ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # GDPR Cookie Compliance
2
+
3
+ * GDPR is an EU wide legislation that specifies how user data should be handled. This plugin has settings that can assist you with GDPR cookie compliance requirements.
4
+
5
+ ### What is GDPR?
6
+
7
+ * General Data Protection Regulation (GDPR) is a European regulation to strengthen and unify the data protection of EU citizens. (<a href="https://www.eugdpr.org/" target="_blank">https://www.eugdpr.org/</a>)
8
+
9
+ ### GDPR and Cookie Compliance
10
+
11
+ * GDPR states that as a website owner, you cannot assume a user has opted into the cookies being used on your website - the user must give a positive opt in or "affirmative action" to signal their consent to the use of cookies and you also cannot force users to opt into the use of cookies.
12
+
13
+ * Users who do not give consent should have the same experience of your website as those who give consent, which means you have to provide the same level of service and experience to those who do not accept the cookies.
14
+
15
+ * Consent will need to be specific to the different cookie purposes with the ability to enable and disable cookies at a granular level for each cookie.
16
+
17
+ * It also means that you should not be tracking users on your website with tools such as Google Analytics until they give you a specific permission to do so.
18
+
19
+ ### How this plugin works
20
+
21
+ * This plugin is designed to help you prepare your website for the GDPR regulations related to cookies but IT WILL NOT MAKE IT FULLY COMPLIANT - this plugin is just a template and needs to be setup by your developer in order to work properly.
22
+
23
+ * Once installed, the plugin gives you a template that you can customise; you can modify all text and colours to suit your needs.
24
+
25
+ * You can also allow users to enable and disable cookies on your site, however, this will require bespoke development work as every site is unique and uses different cookies.
26
+
27
+ ### Demo Video
28
+
29
+ * You can view a demo of the plugin here: <a href="https://vimeo.com/255655268/" target="_blank">GDPR Cookie Compliance Plugin by Moove Agency</a>
30
+
31
+ ### Disclaimer
32
+
33
+ * Please note, it is possible that you will see a drop of perceived traffic and visitor numbers in your various analytics such as Google Analytics. This is because GDPR legislations state that you cannot track users unless they explicitly give consent by enabling the 3rd party tracking and cookies.
34
+
35
+ * This plugin will require technical support from your developer to ensure that it is implemented correctly on your website.
36
+
37
+ * This is a general plugin with basic functionality. We advise that you to seek independent legal advice on this topic.
38
+
39
+ * THIS PLUGIN DOES NOT MAKE YOUR WEBSITE COMPLIANT. YOU ARE RESPONSIBLE FOR ENSURING THAT ALL GDPR REQUIREMENTS ARE MET ON YOUR WEBSITE.
40
+
41
+
42
+ ### Contributors
43
+
44
+ * This plugin was developed by <a href="https://www.mooveagency.com/" target="_blank">Moove Agency</a>.
controllers/moove-controller.php ADDED
@@ -0,0 +1,440 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
+ /**
4
+ * Moove_Controller File Doc Comment
5
+ *
6
+ * @category Moove_Controller
7
+ * @package moove-gdpr-tracking
8
+ * @author Gaspar Nemes
9
+ */
10
+
11
+ /**
12
+ * Moove_Controller Class Doc Comment
13
+ *
14
+ * @category Class
15
+ * @package Moove_Controller
16
+ * @author Gaspar Nemes
17
+ */
18
+ class Moove_GDPR_Controller {
19
+ /**
20
+ * Construct function
21
+ */
22
+ public function __construct() {
23
+ // add_action( 'wp_footer', array( &$this, 'moove_gdpr_cookie_popup' ) );
24
+ add_action( 'wp_head', array( &$this, 'moove_gdpr_cookie_popup_modal' ) );
25
+ add_action( 'admin_init', array( &$this, 'moove_gdpr_add_editor_styles' ) );
26
+ add_action( 'wp_footer', array( &$this, 'moove_gdpr_cookie_popup_info' ) );
27
+ }
28
+
29
+ /**
30
+ * Custom Editor CSS added to GDPR plugin WYSIWYG editors
31
+ * @return void
32
+ */
33
+ function moove_gdpr_add_editor_styles() {
34
+ add_editor_style( moove_gdpr_get_plugin_directory_url() . 'dist/styles/custom-editor-style.css' );
35
+ }
36
+
37
+ /**
38
+ * CSS minification for inlined CSS styles
39
+ * @param string $input Inlined styles
40
+ * @return string Minified styles
41
+ */
42
+ function moove_gdpr_minify_css($input) {
43
+ if(trim($input) === "") return $input;
44
+ return preg_replace(
45
+ array(
46
+ // Remove comment(s)
47
+ '#("(?:[^"\\\]++|\\\.)*+"|\'(?:[^\'\\\\]++|\\\.)*+\')|\/\*(?!\!)(?>.*?\*\/)|^\s*|\s*$#s',
48
+ // Remove unused white-space(s)
49
+ '#("(?:[^"\\\]++|\\\.)*+"|\'(?:[^\'\\\\]++|\\\.)*+\'|\/\*(?>.*?\*\/))|\s*+;\s*+(})\s*+|\s*+([*$~^|]?+=|[{};,>~+]|\s*+-(?![0-9\.])|!important\b)\s*+|([[(:])\s++|\s++([])])|\s++(:)\s*+(?!(?>[^{}"\']++|"(?:[^"\\\]++|\\\.)*+"|\'(?:[^\'\\\\]++|\\\.)*+\')*+{)|^\s++|\s++\z|(\s)\s+#si',
50
+ // Replace `0(cm|em|ex|in|mm|pc|pt|px|vh|vw|%)` with `0`
51
+ '#(?<=[\s:])(0)(cm|em|ex|in|mm|pc|pt|px|vh|vw|%)#si',
52
+ // Replace `:0 0 0 0` with `:0`
53
+ '#:(0\s+0|0\s+0\s+0\s+0)(?=[;\}]|\!important)#i',
54
+ // Replace `background-position:0` with `background-position:0 0`
55
+ '#(background-position):0(?=[;\}])#si',
56
+ // Replace `0.6` with `.6`, but only when preceded by `:`, `,`, `-` or a white-space
57
+ '#(?<=[\s:,\-])0+\.(\d+)#s',
58
+ // Minify string value
59
+ '#(\/\*(?>.*?\*\/))|(?<!content\:)([\'"])([a-z_][a-z0-9\-_]*?)\2(?=[\s\{\}\];,])#si',
60
+ '#(\/\*(?>.*?\*\/))|(\burl\()([\'"])([^\s]+?)\3(\))#si',
61
+ // Minify HEX color code
62
+ '#(?<=[\s:,\-]\#)([a-f0-6]+)\1([a-f0-6]+)\2([a-f0-6]+)\3#i',
63
+ // Replace `(border|outline):none` with `(border|outline):0`
64
+ '#(?<=[\{;])(border|outline):none(?=[;\}\!])#',
65
+ // Remove empty selector(s)
66
+ '#(\/\*(?>.*?\*\/))|(^|[\{\}])(?:[^\s\{\}]+)\{\}#s'
67
+ ),
68
+ array(
69
+ '$1',
70
+ '$1$2$3$4$5$6$7',
71
+ '$1',
72
+ ':0',
73
+ '$1:0 0',
74
+ '.$1',
75
+ '$1$3',
76
+ '$1$2$4$5',
77
+ '$1$2$3',
78
+ '$1:0',
79
+ '$1$2'
80
+ ),
81
+ $input);
82
+ }
83
+
84
+ /**
85
+ * Inline styles based on the colours selected in the options page
86
+ */
87
+ function get_minified_styles( $primary_colour, $secondary_colour ) {
88
+ ob_start();
89
+ ?>
90
+ #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton {
91
+ background-color: <?php echo $primary_colour; ?> !important;
92
+ }
93
+ #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton {
94
+ background-color: <?php echo $primary_colour; ?> !important;
95
+ border-color: <?php echo $primary_colour; ?> !important;
96
+ }
97
+
98
+ #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton:hover {
99
+ background-color: #fff !important;
100
+ color: <?php echo $primary_colour; ?> !important;
101
+ }
102
+
103
+ #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-close i {
104
+ background-color: <?php echo $primary_colour; ?> !important;
105
+ border: 1px solid <?php echo $primary_colour; ?> !important;
106
+ }
107
+
108
+ #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-close:hover i,
109
+ #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a,
110
+ #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a i,
111
+ #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent a:hover,
112
+ #moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton:hover,
113
+ #moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a:hover,
114
+ #moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a:hover {
115
+ color: <?php echo $primary_colour; ?> !important;
116
+ }
117
+
118
+ #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li.menu-item-selected a {
119
+ color: <?php echo $secondary_colour; ?> !important;
120
+ }
121
+ #moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li.menu-item-selected a i {
122
+ color: <?php echo $secondary_colour; ?> !important;
123
+ }
124
+
125
+ <?php
126
+ $input = apply_filters( 'moove_gdpr_inline_styles', ob_get_clean(), $primary_colour, $secondary_colour );
127
+
128
+ return Moove_GDPR_Controller::moove_gdpr_minify_css( $input );
129
+ }
130
+
131
+ /**
132
+ * GDPR Modal Main content
133
+ * @return void
134
+ */
135
+ function moove_gdpr_cookie_popup_modal() {
136
+ ob_start(); ?>
137
+ <?php $modal_options = get_option( 'moove_gdpr_plugin_settings' ); ?>
138
+ <?php if ( isset( $modal_options['moove_gdpr_floating_button_enable'] ) && intval( $modal_options['moove_gdpr_floating_button_enable'] ) === 1 ) : ?>
139
+ <a href="#moove_gdpr_cookie_modal" id="moove_gdpr_save_popup_settings_button" style='display: none; <?php echo isset( $modal_options['moove_gdpr_floating_button_position'] ) ? $modal_options['moove_gdpr_floating_button_position'] : ''; ?>'>
140
+ <span class="moove_gdpr_icon"><i class="moovegdpr-advanced"></i></span>
141
+ <span class="moove_gdpr_text"><?php echo ( isset( $modal_options['moove_gdpr_floating_button_label'] ) && $modal_options['moove_gdpr_floating_button_label'] ) ? $modal_options['moove_gdpr_floating_button_label'] : __('Change cookie settings','moove-gdpr'); ?></span>
142
+ </a>
143
+ <?php endif; ?>
144
+
145
+
146
+ <style>
147
+ <?php
148
+ $primary_colour = isset( $modal_options['moove_gdpr_brand_colour'] ) && $modal_options['moove_gdpr_brand_colour'] ? $modal_options['moove_gdpr_brand_colour'] : '#0C4DA2';
149
+ $secondary_colour = isset( $modal_options['moove_gdpr_brand_secondary_colour'] ) && $modal_options['moove_gdpr_brand_secondary_colour'] ? $modal_options['moove_gdpr_brand_secondary_colour'] : '#000000';
150
+
151
+ echo Moove_GDPR_Controller::get_minified_styles( $primary_colour, $secondary_colour );
152
+ ?>
153
+ </style>
154
+
155
+ <div id="moove_gdpr_cookie_modal" class="lity-hide">
156
+ <div class="moove-gdpr-modal-content moove-clearfix">
157
+ <a href="#" class="moove-gdpr-modal-close"><i class="moovegdpr-arrow-close"></i></a>
158
+ <div class="moove-gdpr-modal-left-content">
159
+ <div class="moove-gdpr-company-logo-holder">
160
+ <?php
161
+ $logo_url = isset( $modal_options['moove_gdpr_company_logo'] ) && $modal_options['moove_gdpr_company_logo'] ? $modal_options['moove_gdpr_company_logo'] : plugin_dir_url( dirname( __FILE__ ) ) . 'dist/images/moove-logo.png';
162
+ ?>
163
+ <img src="<?php echo $logo_url ?>" alt="" class="img-responsive" />
164
+ </div>
165
+ <!-- .moove-gdpr-company-logo-holder -->
166
+ <ul id="moove-gdpr-menu">
167
+ <?php
168
+ $nav_label = isset( $modal_options['moove_gdpr_privacy_overview_tab_title'] ) && $modal_options['moove_gdpr_privacy_overview_tab_title'] ? $modal_options['moove_gdpr_privacy_overview_tab_title'] : __('Privacy Overview','moove-gdpr');
169
+ ?>
170
+ <li class="menu-item-on menu-item-privacy_overview menu-item-selected">
171
+ <a href="#privacy_overview" class="moove-gdpr-tab-nav"><i class="moovegdpr-privacy-overview"></i> <span><?php echo $nav_label; ?></span></a>
172
+ </li>
173
+
174
+ <?php
175
+ $nav_label = isset( $modal_options['moove_gdpr_strictly_necessary_cookies_tab_title'] ) && $modal_options['moove_gdpr_strictly_necessary_cookies_tab_title'] ? $modal_options['moove_gdpr_strictly_necessary_cookies_tab_title'] : __('Strictly Necessary Cookies','moove-gdpr');
176
+ ?>
177
+
178
+ <li class="menu-item-strict-necesarry-cookies menu-item-off">
179
+ <a href="#strict-necesarry-cookies" class="moove-gdpr-tab-nav"><i class="moovegdpr-strict-necessary"></i> <span><?php echo $nav_label; ?></span></a>
180
+ </li>
181
+
182
+
183
+ <?php
184
+ $enabled_3rd_party_cookies = isset( $modal_options['moove_gdpr_third_party_cookies_enable'] ) && intval( $modal_options['moove_gdpr_third_party_cookies_enable'] ) === 1 ? true : false;
185
+ $nav_label = isset( $modal_options['moove_gdpr_performance_cookies_tab_title'] ) && $modal_options['moove_gdpr_performance_cookies_tab_title'] ? $modal_options['moove_gdpr_performance_cookies_tab_title'] : __('3rd Party Cookies','moove-gdpr');
186
+ ?>
187
+ <?php if ( $enabled_3rd_party_cookies ) : ?>
188
+ <li class="menu-item-off menu-item-third_party_cookies">
189
+ <a href="#third_party_cookies" class="moove-gdpr-tab-nav"><i class="moovegdpr-3rd-party"></i> <span><?php echo $nav_label; ?></span></a>
190
+ </li>
191
+ <?php endif; ?>
192
+
193
+ <?php
194
+ $enabled_advanced_cookies = isset( $modal_options['moove_gdpr_advanced_cookies_enable'] ) && intval( $modal_options['moove_gdpr_advanced_cookies_enable'] ) === 1 ? true : false;
195
+ $nav_label = isset( $modal_options['moove_gdpr_advanced_cookies_tab_title'] ) && $modal_options['moove_gdpr_advanced_cookies_tab_title'] ? $modal_options['moove_gdpr_advanced_cookies_tab_title'] : __('Additional Cookies','moove-gdpr');
196
+ ?>
197
+ <?php if ( $enabled_advanced_cookies ) : ?>
198
+ <li class="menu-item-advanced-cookies menu-item-off">
199
+ <a href="#advanced-cookies" class="moove-gdpr-tab-nav"><i class="moovegdpr-advanced"></i> <span><?php echo $nav_label; ?></span></a>
200
+ </li>
201
+ <?php endif; ?>
202
+
203
+ <?php
204
+
205
+ $enabled_cookie_policy = isset( $modal_options['moove_gdpr_cookie_policy_enable'] ) && intval( $modal_options['moove_gdpr_cookie_policy_enable'] ) === 1 ? true : false;
206
+
207
+ $nav_label = isset( $modal_options['moove_gdpr_cookie_policy_tab_nav_label'] ) && $modal_options['moove_gdpr_cookie_policy_tab_nav_label'] ? $modal_options['moove_gdpr_cookie_policy_tab_nav_label'] : __('Cookie Policy','moove-gdpr');
208
+
209
+ ?>
210
+ <?php if ( $enabled_cookie_policy ) : ?>
211
+ <li class="menu-item-moreinfo menu-item-off">
212
+ <a href="#cookie_policy_modal" class="moove-gdpr-tab-nav"><i class="moovegdpr-policy"></i> <span><?php echo $nav_label; ?></span></a>
213
+ </li>
214
+ <?php endif; ?>
215
+ </ul>
216
+ <div class="moove-gdpr-branding-cnt">
217
+ <?php echo apply_filters( 'moove_gdpr_footer_branding_text', Moove_GDPR_Actions::moove_gdpr_footer_branding_content() ); ?>
218
+ </div>
219
+ <!-- .moove-gdpr-branding -->
220
+ </div>
221
+ <!-- .moove-gdpr-modal-left-content -->
222
+ <div class="moove-gdpr-modal-right-content">
223
+ <div class="main-modal-content">
224
+ <div class="moove-gdpr-modal-title">
225
+ <?php
226
+ $modal_title = isset( $modal_options['moove_gdpr_modal_title'] ) && $modal_options['moove_gdpr_modal_title'] ? $modal_options['moove_gdpr_modal_title'] : '';
227
+ ?>
228
+ <?php if ( $modal_title ) : ?>
229
+ <h2><?php echo $modal_title; ?></h2>
230
+ <?php endif; ?>
231
+ </div>
232
+ <!-- .moove-gdpr-modal-ritle -->
233
+ <div class="moove-gdpr-tab-content <?php echo ! $modal_title ? 'moove-gdpr-no-modal-title' : ''; ?>">
234
+ <div id="privacy_overview" class="moove-gdpr-tab-main">
235
+ <?php
236
+ $tab_title = isset( $modal_options['moove_gdpr_privacy_overview_tab_title'] ) && $modal_options['moove_gdpr_privacy_overview_tab_title'] ? $modal_options['moove_gdpr_privacy_overview_tab_title'] : __('Privacy Overview','moove-gdpr');
237
+ $tab_content = isset( $modal_options['moove_gdpr_privacy_overview_tab_content'] ) && $modal_options['moove_gdpr_privacy_overview_tab_content'] ? $modal_options['moove_gdpr_privacy_overview_tab_content'] : Moove_GDPR_Content::moove_gdpr_get_privacy_overview_content();
238
+ ?>
239
+ <h3 class="tab-title"><?php echo $tab_title; ?></h3>
240
+ <div class="moove-gdpr-tab-main-conent">
241
+ <?php echo $tab_content; ?>
242
+ </div>
243
+ <!-- .moove-gdpr-tab-main-conent -->
244
+ </div>
245
+
246
+ <div id="strict-necesarry-cookies" class="moove-gdpr-tab-main" style="display:none">
247
+ <?php
248
+ $tab_title = isset( $modal_options['moove_gdpr_strictly_necessary_cookies_tab_title'] ) && $modal_options['moove_gdpr_strictly_necessary_cookies_tab_title'] ? $modal_options['moove_gdpr_strictly_necessary_cookies_tab_title'] : __('Strictly Necessary Cookies','moove-gdpr');
249
+ $tab_content = Moove_GDPR_Content::moove_gdpr_get_strict_necessary_content();
250
+ ?>
251
+ <h3 class="tab-title"><?php echo $tab_title; ?></h3>
252
+ <div class="moove-gdpr-tab-main-conent">
253
+ <?php echo $tab_content; ?>
254
+
255
+ <div class="moove-gdpr-status-bar">
256
+ <form>
257
+ <fieldset>
258
+ <label class="switch">
259
+ <input type="checkbox" value="check" id="moove_gdpr_strict_cookies">
260
+ <span class="slider round" data-text-enable="<?php _e('Enabled','moove-gdpr'); ?>" data-text-disabled="<?php _e('Disabled','moove-gdpr'); ?>"></span>
261
+ </label>
262
+ </fieldset>
263
+ </form>
264
+ </div>
265
+ <!-- .moove-gdpr-status-bar -->
266
+ <?php
267
+ $warning_message = isset( $modal_options['moove_gdpr_strictly_necessary_cookies_warning'] ) && $modal_options['moove_gdpr_strictly_necessary_cookies_warning'] ? $modal_options['moove_gdpr_strictly_necessary_cookies_warning'] : Moove_GDPR_Content::moove_gdpr_get_strict_necessary_warning();
268
+ if ( $warning_message ) :
269
+ ?>
270
+ <div class="moove-gdpr-tab-main-conent moove-gdpr-strict-warning-message" style="margin-top: 10px;">
271
+ <p><?php echo $warning_message; ?></p>
272
+ </div>
273
+ <!-- .moove-gdpr-tab-main-conent -->
274
+ <?php endif; ?>
275
+ </div>
276
+ <!-- .moove-gdpr-tab-main-conent -->
277
+ </div>
278
+
279
+
280
+ <?php if ( $enabled_advanced_cookies ) : ?>
281
+ <div id="advanced-cookies" class="moove-gdpr-tab-main" style="display:none">
282
+ <?php
283
+ $tab_title = isset( $modal_options['moove_gdpr_advanced_cookies_tab_title'] ) && $modal_options['moove_gdpr_advanced_cookies_tab_title'] ? $modal_options['moove_gdpr_advanced_cookies_tab_title'] : __('Additional Cookies','moove-gdpr');
284
+ $tab_content = isset( $modal_options['moove_gdpr_advanced_cookies_tab_content'] ) && $modal_options['moove_gdpr_advanced_cookies_tab_content'] ? $modal_options['moove_gdpr_advanced_cookies_tab_content'] : Moove_GDPR_Content::moove_gdpr_get_advanced_cookies_content();
285
+ ?>
286
+ <h3 class="tab-title"><?php echo $tab_title; ?></h3>
287
+ <div class="moove-gdpr-tab-main-conent">
288
+ <?php echo $tab_content; ?>
289
+ <div class="moove-gdpr-status-bar">
290
+ <form>
291
+ <fieldset class="fl-disabled">
292
+ <label class="switch">
293
+ <input type="checkbox" value="check" id="moove_gdpr_advanced_cookies" disabled>
294
+ <span class="slider round" data-text-enable="<?php _e('Enabled','moove-gdpr'); ?>" data-text-disabled="<?php _e('Disabled','moove-gdpr'); ?>"></span>
295
+ </label>
296
+ </fieldset>
297
+ </form>
298
+ </div>
299
+ <!-- .moove-gdpr-status-bar -->
300
+ </div>
301
+ <!-- .moove-gdpr-tab-main-conent -->
302
+ </div>
303
+ <?php endif; ?>
304
+
305
+ <?php if ( $enabled_3rd_party_cookies ) : ?>
306
+ <?php
307
+ $tab_title = isset( $modal_options['moove_gdpr_performance_cookies_tab_title'] ) && $modal_options['moove_gdpr_performance_cookies_tab_title'] ? $modal_options['moove_gdpr_performance_cookies_tab_title'] : __('3rd Party Cookies','moove-gdpr');
308
+ $tab_content = isset( $modal_options['moove_gdpr_performance_cookies_tab_content'] ) && $modal_options['moove_gdpr_performance_cookies_tab_content'] ? $modal_options['moove_gdpr_performance_cookies_tab_content'] : Moove_GDPR_Content::moove_gdpr_get_third_party_content();
309
+ ?>
310
+ <div id="third_party_cookies" class="moove-gdpr-tab-main" style="display:none">
311
+ <h3 class="tab-title"><?php echo $tab_title; ?></h3>
312
+ <div class="moove-gdpr-tab-main-conent">
313
+ <?php echo $tab_content; ?>
314
+ <div class="moove-gdpr-status-bar">
315
+ <form>
316
+ <fieldset class="fl-disabled">
317
+ <label class="switch">
318
+ <input type="checkbox" value="check" id="moove_gdpr_performance_cookies" disabled>
319
+ <span class="slider round" data-text-enable="<?php _e('Enabled','moove-gdpr'); ?>" data-text-disabled="<?php _e('Disabled','moove-gdpr'); ?>"></span>
320
+ </label>
321
+ </fieldset>
322
+ </form>
323
+ </div>
324
+ <!-- .moove-gdpr-status-bar -->
325
+ </div>
326
+ <!-- .moove-gdpr-tab-main-conent -->
327
+ </div>
328
+ <?php endif; ?>
329
+ <?php if ( $enabled_cookie_policy ) : ?>
330
+ <?php
331
+ $tab_title = isset( $modal_options['moove_gdpr_cookie_policy_tab_nav_label'] ) && $modal_options['moove_gdpr_cookie_policy_tab_nav_label'] ? $modal_options['moove_gdpr_cookie_policy_tab_nav_label'] : __('3rd Party Cookies','moove-gdpr');
332
+ $tab_content = isset( $modal_options['moove_gdpr_cookies_policy_tab_content'] ) && $modal_options['moove_gdpr_cookies_policy_tab_content'] ? $modal_options['moove_gdpr_cookies_policy_tab_content'] : Moove_GDPR_Content::moove_gdpr_get_cookie_policy_content();
333
+ ?>
334
+ <div id="cookie_policy_modal" class="moove-gdpr-tab-main" style="display:none">
335
+ <h3 class="tab-title"><?php echo $tab_title; ?></h3>
336
+ <div class="moove-gdpr-tab-main-conent">
337
+ <?php echo $tab_content; ?>
338
+ </div>
339
+ <!-- .moove-gdpr-tab-main-conent -->
340
+ </div>
341
+ <?php endif; ?>
342
+ </div>
343
+ <!-- .moove-gdpr-tab-content -->
344
+ </div>
345
+ <!-- .main-modal-content -->
346
+ <div class="moove-gdpr-modal-footer-content">
347
+ <div class="moove-gdpr-button-holder">
348
+ <?php
349
+ $allow_label = isset( $modal_options['moove_gdpr_modal_allow_button_label'] ) && $modal_options['moove_gdpr_modal_allow_button_label'] ? $modal_options['moove_gdpr_modal_allow_button_label'] : __('Enable All','moove-gdpr');
350
+ $save_settings = isset( $modal_options['moove_gdpr_modal_save_button_label'] ) && $modal_options['moove_gdpr_modal_save_button_label'] ? $modal_options['moove_gdpr_modal_save_button_label'] : __('Save Settings','moove-gdpr');
351
+ ?>
352
+ <a href="#" class="mgbutton moove-gdpr-modal-allow-all"><?php echo $allow_label; ?></a>
353
+ <a href="#" class="mgbutton moove-gdpr-modal-save-settings"><?php echo $save_settings; ?></a>
354
+ </div>
355
+ <!-- .moove-gdpr-button-holder -->
356
+ </div>
357
+ <!-- .moove-gdpr-modal-footer-content -->
358
+ </div>
359
+ <!-- .moove-gdpr-modal-right-content -->
360
+
361
+ <div class="moove-clearfix"></div>
362
+
363
+ </div>
364
+ <!-- .moove-gdpr-modal-content -->
365
+ </div>
366
+ <!-- #moove_gdpr_cookie_modal -->
367
+ <?php echo ob_get_clean();
368
+ }
369
+
370
+ /**
371
+ * GDPR Cookie info bar with settings icon
372
+ * @return void
373
+ */
374
+ function moove_gdpr_cookie_popup_info() {
375
+ $modal_options = get_option( 'moove_gdpr_plugin_settings' );
376
+ $modal_scheme = isset( $modal_options['moove_gdpr_colour_scheme'] ) ? ( ( intval( $modal_options['moove_gdpr_colour_scheme'] ) === 1 || intval( $modal_options['moove_gdpr_colour_scheme'] ) === 2 ) ? intval( $modal_options['moove_gdpr_colour_scheme'] ) : 1 ) : 1;
377
+
378
+ $scheme_class = $modal_scheme === 2 ? 'moove-gdpr-light-scheme' : 'moove-gdpr-dark-scheme';
379
+ ob_start(); ?>
380
+ <div id="moove_gdpr_cookie_info_bar" class="moove-gdpr-info-bar-hidden moove-gdpr-align-center <?php echo $scheme_class; ?>">
381
+ <div class="moove-gdpr-info-bar-container">
382
+
383
+ <div class="moove-gdpr-info-bar-content">
384
+ <div class="moove-gdpr-cookie-notice">
385
+ <?php
386
+ $_content = '<p>'.__('We are using cookies to give you the best experience on our website.','moove-gdpr').'</p>'.
387
+ '<p>'.__('You can find out more about which cookies we are using or switch them off in [setting]settings[/setting].','moove-gdpr').'</p>';
388
+ $content = isset( $modal_options['moove_gdpr_info_bar_content'] ) && $modal_options['moove_gdpr_info_bar_content'] ? $modal_options['moove_gdpr_info_bar_content'] : $_content;
389
+ $content = str_replace('[setting]', '<a href="#moove_gdpr_cookie_modal" class="change-settings-button" rel="nofollow">', $content);
390
+ $content = str_replace('[/setting]', '</a>', $content);
391
+ echo $content;
392
+ ?>
393
+ </div>
394
+ <!-- .moove-gdpr-cookie-notice -->
395
+ <div class="moove-gdpr-button-holder">
396
+ <a href="#" class="mgbutton moove-gdpr-infobar-allow-all"><?php echo isset( $modal_options['moove_gdpr_infobar_accept_button_label'] ) && $modal_options['moove_gdpr_infobar_accept_button_label'] ? $modal_options['moove_gdpr_infobar_accept_button_label'] : __('Accept','moove-gdpr'); ?></a>
397
+ </div>
398
+ <!-- .button-container -->
399
+ <?php /*
400
+ <div class="moove-gdpr-close-modal-button">
401
+ <a href="#"><i class="moovegdpr-arrow-close"></i></a>
402
+ </div>
403
+ <!-- .moove-gdpr-close-modal-button --> */ ?>
404
+ </div>
405
+ </div>
406
+
407
+ </div>
408
+ <!-- #moove_gdpr_cookie_info_bar -->
409
+ <?php
410
+ echo ob_get_clean();
411
+ }
412
+
413
+ /**
414
+ * AJAX function to display the allowed scripts from the plugin settings page
415
+ * @return void
416
+ */
417
+ function moove_gdpr_get_scripts() {
418
+ $strict = intval( $_POST['strict'] ) && intval( $_POST['strict'] ) === 1 ? true : false;
419
+ $thirdparty = intval( $_POST['thirdparty'] ) && intval( $_POST['thirdparty'] ) === 1 ? true : false;
420
+ $advanced = intval( $_POST['advanced'] ) && intval( $_POST['advanced'] ) === 1 ? true : false;
421
+ $return_scripts = '';
422
+ $modal_options = get_option( 'moove_gdpr_plugin_settings' );
423
+ ob_start();
424
+
425
+ if ( $thirdparty ) :
426
+ $third_party_scripts = isset( $modal_options['moove_gdpr_third_party_footer_scripts'] ) && $modal_options['moove_gdpr_third_party_footer_scripts'] ? maybe_unserialize( $modal_options['moove_gdpr_third_party_footer_scripts'] ) : '';
427
+ echo $third_party_scripts;
428
+ endif;
429
+
430
+ if ( $advanced ) :
431
+ $advanced_scripts = isset( $modal_options['moove_gdpr_advanced_cookies_footer_scripts'] ) && $modal_options['moove_gdpr_advanced_cookies_footer_scripts'] ? maybe_unserialize( $modal_options['moove_gdpr_advanced_cookies_footer_scripts'] ) : '';
432
+ echo $advanced_scripts;
433
+ endif;
434
+
435
+ echo ob_get_clean();
436
+ die();
437
+ }
438
+
439
+ }
440
+ new Moove_GDPR_Controller();
dist/fonts/fontello.eot ADDED
Binary file
dist/fonts/fontello.svg ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>Copyright (C) 2017 by original authors @ fontello.com</metadata>
5
+ <defs>
6
+ <font id="fontello" horiz-adv-x="1000" >
7
+ <font-face font-family="fontello" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
8
+ <missing-glyph horiz-adv-x="1000" />
9
+ <glyph glyph-name="info" unicode="&#xe800;" d="M352 850q48 0 74-27t26-69q0-50-39-88t-95-38q-48 0-74 26t-24 72q0 46 35 85t97 39z m-206-1000q-100 0-54 178l60 254q14 56 0 56-12 0-54-18t-72-38l-26 44q90 78 189 126t151 48q78 0 36-162l-70-266q-16-64 6-64 44 0 118 60l30-40q-84-86-175-132t-139-46z" horiz-adv-x="460" />
10
+
11
+ <glyph glyph-name="ok" unicode="&#xe801;" d="M1179 778q-250-222-600-750l-115-179q-144 180-464 500l107 107 286-250q150 150 279 272t206 187 131 111 77 59l21 14q4 0 11-2t26-19 35-50z" horiz-adv-x="1179" />
12
+
13
+ <glyph glyph-name="cancel" unicode="&#xe802;" d="M452 194q18-18 18-43t-18-43q-18-16-43-16t-43 16l-132 152-132-152q-18-16-43-16t-43 16q-16 18-16 43t16 43l138 156-138 158q-16 18-16 43t16 43q18 16 43 16t43-16l132-152 132 152q18 16 43 16t43-16q18-18 18-43t-18-43l-138-158z" horiz-adv-x="470" />
14
+
15
+ <glyph glyph-name="cancel-1" unicode="&#xe803;" d="M0 90q0 36 26 62l195 195-195 196q-26 25-26 61t26 61 61 25 61-25l196-196 195 196q25 25 61 25t61-25 25-61-25-61l-195-196 195-195q25-26 25-62t-25-61q-25-25-61-25t-61 25l-195 195-196-195q-25-25-61-25t-61 25q-26 26-26 61z" horiz-adv-x="686.5" />
16
+
17
+ <glyph glyph-name="cog" unicode="&#xe804;" d="M0 272l0 156 150 16q14 45 38 88l-96 117 109 109 117-95q41 23 88 37l16 150 156 0 16-150q45-14 88-37l117 95 109-109-96-117q24-43 38-88l150-16 0-156-150-16q-14-47-38-88l96-117-109-109-117 96q-43-24-88-38l-16-150-156 0-16 150q-47 14-88 38l-117-96-109 109 96 117q-24 41-38 88z m355 78q0-60 42-102t103-42 103 42 42 102-42 103-103 42-103-42-42-103z" horiz-adv-x="1000" />
18
+
19
+ <glyph glyph-name="cog-alt" unicode="&#xe805;" d="M500 350q0 59-42 101t-101 42-101-42-42-101 42-101 101-42 101 42 42 101z m429-286q0 29-22 51t-50 21-50-21-21-51q0-29 21-50t50-21 51 21 21 50z m0 572q0 29-22 50t-50 21-50-21-21-50q0-30 21-51t50-21 51 21 21 51z m-215-235v-103q0-6-4-11t-8-6l-87-14q-6-19-18-42 19-27 50-64 4-6 4-11 0-7-4-11-12-17-46-50t-43-33q-7 0-12 4l-64 50q-21-11-43-17-6-60-13-87-4-13-17-13h-104q-6 0-11 4t-5 10l-13 85q-19 6-42 18l-66-50q-4-4-11-4-6 0-12 4-80 75-80 90 0 5 4 10 5 8 23 30t26 34q-13 24-20 46l-85 13q-5 1-9 5t-4 11v104q0 5 4 10t9 6l86 14q7 19 18 42-19 27-50 64-4 6-4 11 0 7 4 12 12 16 46 49t44 33q6 0 12-4l64-50q19 10 43 18 6 60 13 86 3 13 16 13h104q6 0 11-4t6-10l13-85q19-6 42-17l65 49q5 4 12 4 6 0 11-4 81-75 81-90 0-4-4-10-7-9-24-30t-25-34q13-27 19-46l85-12q6-2 9-6t4-11z m357-298v-78q0-9-83-17-6-15-16-29 28-63 28-77 0-2-2-4-68-40-69-40-5 0-26 27t-29 37q-11-1-17-1t-17 1q-7-11-29-37t-25-27q-1 0-69 40-3 2-3 4 0 14 29 77-10 14-17 29-83 8-83 17v78q0 9 83 18 7 16 17 29-29 63-29 77 0 2 3 4 2 1 19 11t33 19 17 9q4 0 25-26t29-38q12 1 17 1t17-1q28 40 51 63l4 1q2 0 69-39 2-2 2-4 0-14-28-77 9-13 16-29 83-9 83-18z m0 572v-78q0-9-83-18-6-15-16-29 28-63 28-77 0-2-2-4-68-39-69-39-5 0-26 26t-29 38q-11-1-17-1t-17 1q-7-12-29-38t-25-26q-1 0-69 39-3 2-3 4 0 14 29 77-10 14-17 29-83 9-83 18v78q0 9 83 17 7 16 17 29-29 63-29 77 0 2 3 4 2 1 19 11t33 19 17 9q4 0 25-26t29-37q12 1 17 1t17-1q28 39 51 62l4 1q2 0 69-39 2-2 2-4 0-14-28-77 9-13 16-29 83-8 83-17z" horiz-adv-x="1071.4" />
20
+
21
+ <glyph glyph-name="cog-1" unicode="&#xe806;" d="M0 307l0 86q0 21 15 39t36 22l96 19q5 20 15 41l-53 80q-13 20-10 42t18 38l59 59q19 19 45 19 19 0 35-11l80-53q21 10 41 16l20 95q3 22 21 36t39 15l86 0q21 0 39-15t22-36l19-95q20-6 41-16l80 53q16 11 35 11 26 0 45-19l59-59q17-15 19-38t-11-42l-53-80q10-21 16-41l95-19q22-4 36-22t15-39l0-86q0-21-15-39t-36-21l-95-20q-6-20-16-41l53-80q13-20 11-42t-19-38l-59-59q-19-19-45-19-19 0-35 11l-80 53q-21-10-41-16l-19-95q-4-22-22-36t-39-15l-86 0q-21 0-39 14t-21 37l-20 95q-20 6-41 16l-80-53q-16-11-35-11-26 0-45 19l-59 59q-15 15-18 38t10 42l53 80q-10 21-15 41l-96 20q-22 3-36 21t-15 39z m63 0l95-19q35-6 47-40 6-17 14-35 15-31-4-60l-55-82 61-61 82 55q15 10 33 10 16 0 27-6 18-8 35-14 34-12 40-47l19-96 86 0 20 96q5 35 39 47 17 6 35 14 11 6 27 6 18 0 33-10l82-55 61 61-55 82q-19 29-4 60 8 18 14 35 12 34 47 40l95 19 0 86-95 20q-35 5-47 39-6 17-14 35-15 31 4 60l55 82-61 61-82-55q-15-10-33-10-16 0-27 6-18 8-35 14-34 12-39 47l-20 95-86 0-19-95q-6-35-40-47-17-6-35-14-11-6-27-6-18 0-33 10l-82 55-61-61 55-82q19-29 4-60-8-18-14-35-12-34-47-39l-95-20 0-86z m218 43q0 90 65 154t154 65 154-65 65-154-65-154-154-65-154 65-65 154z m28 0q0-80 55-136t136-55 136 55 55 136-55 136-136 55-136-55-55-136z m66 0q0 53 36 89t89 36 89-37 36-89-36-88-89-36-89 36-36 89z m31 0q0-39 28-66t66-28 66 28 28 66-28 66-66 28-66-28-28-66z" horiz-adv-x="1000" />
22
+
23
+ <glyph glyph-name="link-ext" unicode="&#xf08e;" d="M786 332v-178q0-67-47-114t-114-47h-464q-67 0-114 47t-47 114v464q0 66 47 113t114 48h393q7 0 12-5t5-13v-36q0-8-5-13t-12-5h-393q-37 0-63-26t-27-63v-464q0-37 27-63t63-27h464q37 0 63 27t26 63v178q0 8 5 13t13 5h36q8 0 13-5t5-13z m214 482v-285q0-15-11-25t-25-11-25 11l-98 98-364-364q-5-6-13-6t-12 6l-64 64q-6 5-6 12t6 13l364 364-98 98q-11 11-11 25t11 25 25 11h285q15 0 25-11t11-25z" horiz-adv-x="1000" />
24
+
25
+ <glyph glyph-name="doc-text" unicode="&#xf0f6;" d="M819 638q16-16 27-42t11-50v-642q0-23-15-38t-38-16h-750q-23 0-38 16t-16 38v892q0 23 16 38t38 16h500q22 0 49-11t42-27z m-248 136v-210h210q-5 17-12 23l-175 175q-6 7-23 12z m215-853v572h-232q-23 0-38 16t-16 37v233h-429v-858h715z m-572 483q0 7 5 12t13 5h393q8 0 13-5t5-12v-36q0-8-5-13t-13-5h-393q-8 0-13 5t-5 13v36z m411-125q8 0 13-5t5-13v-36q0-8-5-13t-13-5h-393q-8 0-13 5t-5 13v36q0 8 5 13t13 5h393z m0-143q8 0 13-5t5-13v-36q0-8-5-13t-13-5h-393q-8 0-13 5t-5 13v36q0 8 5 13t13 5h393z" horiz-adv-x="857.1" />
26
+
27
+ <glyph glyph-name="chart-line" unicode="&#xf201;" d="M1143-7v-72h-1143v858h71v-786h1072z m-72 696v-242q0-12-10-17t-20 4l-68 68-353-353q-6-6-13-6t-13 6l-130 130-232-233-107 108 327 326q5 6 12 6t13-6l130-130 259 259-67 68q-9 8-5 19t17 11h243q7 0 12-5t5-13z" horiz-adv-x="1142.9" />
28
+ </font>
29
+ </defs>
30
+ </svg>
dist/fonts/fontello.ttf ADDED
Binary file
dist/fonts/fontello.woff ADDED
Binary file
dist/fonts/fontello.woff2 ADDED
Binary file
dist/fonts/moovegdpr.eot ADDED
Binary file
dist/fonts/moovegdpr.svg ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>Generated by IcoMoon</metadata>
5
+ <defs>
6
+ <font id="moovegdpr" horiz-adv-x="1024">
7
+ <font-face units-per-em="1024" ascent="960" descent="-64" />
8
+ <missing-glyph horiz-adv-x="1024" />
9
+ <glyph unicode="&#x20;" horiz-adv-x="512" d="" />
10
+ <glyph unicode="&#xe900;" glyph-name="arrow-close" horiz-adv-x="819" d="M403.765 478.311c3.277-3.277 8.192-3.277 11.469 0l154.010 154.010c6.554 6.554 18.022 6.554 24.576 0v0c6.554-6.554 6.554-17.203 0-24.576l-154.010-154.010c-3.277-3.277-3.277-8.192 0-11.469l154.010-154.010c6.554-6.554 6.554-18.022 0-24.576v0c-6.554-6.554-17.203-6.554-24.576 0l-154.010 154.010c-3.277 3.277-8.192 3.277-11.469 0l-154.010-154.010c-6.554-6.554-18.022-6.554-24.576 0v0c-6.554 6.554-6.554 17.203 0 24.576l154.010 154.010c3.277 3.277 3.277 8.192 0 11.469l-154.010 154.010c-6.554 6.554-6.554 18.022 0 24.576v0c6.554 6.554 17.203 6.554 24.576 0l154.010-154.010z" />
11
+ <glyph unicode="&#xe901;" glyph-name="policy" horiz-adv-x="819" d="M701.954 613.888c0 6.554-2.458 12.288-7.373 17.203l-187.597 191.693c-4.915 4.915-10.65 7.373-17.203 7.373h-290.816c-45.056 0-81.92-36.864-81.92-81.92v-600.474c0-45.056 36.864-81.92 81.92-81.92h421.069c45.056 0 81.92 36.864 81.92 81.92v466.125zM512.719 746.599l113.869-116.326h-105.677c-4.915 0-8.192 3.277-8.192 8.192v108.134zM620.034 115.815h-421.069c-18.022 0-32.768 14.746-32.768 32.768v599.654c0 18.022 14.746 32.768 32.768 32.768h264.602v-142.541c0-31.949 25.395-57.344 57.344-57.344h131.891v-433.357c0-17.203-14.746-31.949-32.768-31.949zM540.572 370.586h-262.144c-13.926 0-24.576-10.65-24.576-24.576s10.65-24.576 24.576-24.576h262.144c13.926 0 24.576 10.65 24.576 24.576s-10.65 24.576-24.576 24.576zM540.572 495.104h-262.144c-13.926 0-24.576-10.65-24.576-24.576s10.65-24.576 24.576-24.576h262.144c13.926 0 24.576 10.65 24.576 24.576s-10.65 24.576-24.576 24.576z" />
12
+ <glyph unicode="&#xe902;" glyph-name="advanced" horiz-adv-x="819" d="M777.321 476.12l-0.819 14.746h-14.746c0 0 0 0 0 0-35.226 0-66.355 22.118-78.643 54.886s-1.638 70.451 25.395 92.57l11.469 9.83-9.83 12.288c-17.203 24.576-38.502 47.514-61.44 67.174l-11.469 9.83-10.65-10.65c-24.576-24.576-63.078-31.949-94.208-17.203-31.949 14.746-50.79 48.333-47.514 83.558l1.638 14.746-14.746 2.458c-30.31 5.734-60.621 7.373-90.931 4.915l-14.746-0.819v-14.746c0-35.226-22.118-67.174-54.886-78.643s-70.451-1.638-92.57 25.395l-9.83 11.469-12.288-9.83c-24.576-17.203-47.514-38.502-67.174-61.44l-9.83-11.469 10.65-10.65c24.576-24.576 31.949-63.078 17.203-94.208-14.746-31.949-48.333-50.79-83.558-47.514l-14.746 1.638-2.458-14.746c-5.734-30.31-7.373-60.621-4.915-90.931l0.819-14.746h14.746c0 0 0 0 0 0 35.226 0 66.355-22.118 78.643-54.886s1.638-70.451-25.395-92.57l-11.469-9.83 9.011-12.288c17.203-24.576 38.502-47.514 61.44-67.174l11.469-9.83 10.65 10.65c24.576 24.576 63.078 31.949 94.208 17.203 31.949-14.746 50.79-48.333 47.514-83.558l-0.819-14.746 14.746-2.458c20.48-3.277 40.96-4.915 62.259-4.915 9.83 0 19.661 0 28.672 0.819l14.746 0.819v14.746c0 35.226 22.118 67.174 54.886 78.643 32.768 12.288 70.451 1.638 92.57-25.395l9.83-11.469 12.288 9.011c24.576 18.022 47.514 38.502 67.174 61.44l9.83 11.469-10.65 10.65c-24.576 24.576-31.949 63.078-17.203 94.208 14.746 31.949 48.333 50.79 83.558 47.514l14.746-1.638 2.458 14.746c5.734 30.31 7.373 60.621 4.915 90.931zM742.914 404.85c-42.598-1.638-81.92-27.034-100.762-66.355v0c-18.842-39.322-13.107-86.016 13.107-119.603-12.288-13.107-26.214-26.214-40.96-36.864-31.13 29.491-77.005 38.502-117.965 23.757s-69.632-51.61-75.366-94.208c-18.022-0.819-36.864 0-54.886 2.458-1.638 42.598-27.034 81.92-66.355 100.762s-86.016 13.107-119.603-13.107c-13.107 12.288-26.214 26.214-36.864 40.96 29.491 31.13 38.502 77.005 23.757 117.965s-51.61 69.632-94.208 75.366c-0.819 18.842 0 36.864 2.458 54.886 42.598 1.638 81.92 27.034 100.762 66.355s13.107 86.016-13.107 119.603c12.288 13.107 26.214 26.214 40.96 36.864 31.13-29.491 77.005-38.502 117.965-23.757s69.632 51.61 75.366 94.208c18.842 0.819 36.864 0 54.886-2.458 1.638-42.598 27.034-81.92 66.355-100.762s86.016-13.107 119.603 13.107c13.107-12.288 26.214-26.214 36.864-40.96-29.491-31.13-38.502-77.005-23.757-117.965s51.61-69.632 94.208-75.366c0.819-18.842 0-36.864-2.458-54.886zM481.59 601.458c-40.96 19.661-87.654 21.299-130.253 5.734s-77.005-46.694-95.846-87.654c-19.661-40.96-21.299-87.654-5.734-130.253s46.694-77.005 87.654-95.846c22.938-10.65 47.514-16.384 72.090-16.384 19.661 0 39.322 3.277 58.163 9.83 42.598 15.565 77.005 46.694 95.846 87.654 19.661 40.96 21.299 87.654 5.734 130.253s-46.694 77.005-87.654 96.666zM534.018 389.285c-15.565-33.587-43.418-58.982-77.824-71.27s-72.090-10.65-105.677 4.915c-33.587 15.565-58.982 43.418-71.27 77.824s-10.65 72.090 4.915 105.677c15.565 33.587 43.418 58.982 77.824 71.27 15.565 5.734 31.13 8.192 46.694 8.192 19.661 0 40.141-4.096 58.163-13.107 33.587-15.565 58.982-43.418 71.27-77.824 13.107-35.226 11.469-72.909-4.096-105.677z" />
13
+ <glyph unicode="&#xe903;" glyph-name="3rd-party" horiz-adv-x="819" d="M811.74 856.605c-0.64 0-1.28 0-1.92-0.64l-159.36-34.56c-5.12-1.28-6.4-5.12-2.56-8.96l45.44-45.44-321.92-321.28 36.48-36.48 321.92 321.92 45.44-45.44c3.84-3.84 7.68-2.56 8.96 2.56l33.92 160.64c0 4.48-2.56 8.32-6.4 7.68zM45.66 756.125c-23.68 0-44.8-21.12-44.8-44.8v-627.2c0-23.68 21.12-44.8 44.8-44.8h627.2c23.68 0 44.8 21.12 44.8 44.8v467.2h-51.2v-460.8h-614.4v614.4h460.16v51.2h-466.56z" />
14
+ <glyph unicode="&#xe904;" glyph-name="strict-necessary" horiz-adv-x="819" d="M725.924 784.691l-319.488-344.064-95.027 130.253c-10.65 14.746-31.13 17.203-45.875 6.554-13.926-10.65-17.203-30.31-7.373-45.056l117.965-163.021c5.734-8.192 14.746-13.107 24.576-13.926h1.638c9.011 0 17.203 3.277 23.757 9.83l347.341 374.374c11.469 13.926 10.65 34.406-3.277 45.875-12.288 12.288-31.949 11.469-44.237-0.819v0zM713.636 545.485c-18.022-3.277-29.491-20.48-25.395-38.502 4.096-19.661 5.734-39.322 5.734-58.982 0-163.021-131.891-294.912-294.912-294.912s-294.912 131.891-294.912 294.912 131.891 294.912 294.912 294.912c49.152 0 96.666-12.288 140.083-35.226 16.384-7.373 36.045 0 43.418 17.203 6.554 14.746 1.638 31.949-12.288 40.141-175.309 94.208-394.035 29.491-489.062-145.818s-29.491-394.035 145.818-488.243 394.035-29.491 488.243 145.818c28.672 52.429 43.418 111.411 43.418 171.213 0 24.576-2.458 48.333-7.373 72.090-3.277 17.203-20.48 28.672-37.683 25.395z" />
15
+ <glyph unicode="&#xe905;" glyph-name="privacy-overview" horiz-adv-x="819" d="M354.614 81.817l49.152-21.299 54.886 22.938c160.563 67.174 265.421 224.461 265.421 398.131v183.501l-318.669 170.394-310.477-170.394v-187.597c0-172.032 102.4-327.68 259.686-395.674zM144.079 635.596l261.325 144.179 268.698-144.179v-154.010c0-154.829-92.57-294.093-235.11-353.075l-35.226-14.746-29.491 13.107c-139.264 60.621-230.195 198.246-230.195 350.618v158.106zM384.924 503.705h49.152v-235.11h-49.152v235.11zM384.924 627.404h49.152v-79.462h-49.152v79.462z" />
16
+ </font></defs></svg>
dist/fonts/moovegdpr.ttf ADDED
Binary file
dist/fonts/moovegdpr.woff ADDED
Binary file
dist/images/moove-gdpr-inputs.png ADDED
Binary file
dist/images/moove-logo.png ADDED
Binary file
dist/images/moove_logo_br.png ADDED
Binary file
dist/scripts/admin.js ADDED
@@ -0,0 +1,2 @@
 
 
1
+ !function(e,t){"function"==typeof define&&define.amd?define(["jquery"],function(n){return t(e,n)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(e,require("jquery")):e.lity=t(e,e.jQuery||e.Zepto)}("undefined"!=typeof window?window:this,function(e,t){"use strict";function n(e){var t=M();return D&&e.length?(e.one(D,t.resolve),setTimeout(t.resolve,500)):t.resolve(),t.promise()}function i(e,n,i){if(1===arguments.length)return t.extend({},e);if("string"==typeof n){if(void 0===i)return void 0===e[n]?null:e[n];e[n]=i}else t.extend(e,n);return this}function o(e){for(var t,n=decodeURI(e.split("#")[0]).split("&"),i={},o=0,r=n.length;o<r;o++)n[o]&&(t=n[o].split("="),i[t[0]]=t[1]);return i}function r(e,n){return e+(e.indexOf("?")>-1?"&":"?")+t.param(n)}function s(e,t){var n=e.indexOf("#");return-1===n?t:(n>0&&(e=e.substr(n)),t+e)}function a(e){return t('<span class="lity-error"/>').append(e)}function l(e,n){var i=n.opener()&&n.opener().data("lity-desc")||"Image with no description",o=t('<img src="'+e+'" alt="'+i+'"/>'),r=M(),s=function(){r.reject(a("Failed loading image"))};return o.on("load",function(){if(0===this.naturalWidth)return s();r.resolve(o)}).on("error",s),r.promise()}function d(e,n){var i,o,r;try{i=t(e)}catch(e){return!1}return!!i.length&&(o=t('<i style="display:none !important"/>'),r=i.hasClass("lity-hide"),n.element().one("lity:remove",function(){o.before(i).remove(),r&&!i.closest(".lity-content").length&&i.addClass("lity-hide")}),i.removeClass("lity-hide").after(o))}function c(e){var n=O.exec(e);return!!n&&m(s(e,r("https://www.youtube"+(n[2]||"")+".com/embed/"+n[4],t.extend({autoplay:1},o(n[5]||"")))))}function h(e){var n=I.exec(e);return!!n&&m(s(e,r("https://player.vimeo.com/video/"+n[3],t.extend({autoplay:1},o(n[4]||"")))))}function u(e){var n=R.exec(e);return!!n&&(0!==e.indexOf("http")&&(e="https:"+e),m(s(e,r("https://www.facebook.com/plugins/video.php?href="+e,t.extend({autoplay:1},o(n[4]||""))))))}function p(e){var t=W.exec(e);return!!t&&m(s(e,r("https://www.google."+t[3]+"/maps?"+t[6],{output:t[6].indexOf("layer=c")>0?"svembed":"embed"})))}function m(e){return'<div class="lity-iframe-container"><iframe frameborder="0" allowfullscreen src="'+e+'"/></div>'}function v(){return S.documentElement.clientHeight?S.documentElement.clientHeight:Math.round(B.height())}function f(e){var t=E();t&&(27===e.keyCode&&t.options("esc")&&t.close(),9===e.keyCode&&g(e,t))}function g(e,t){var n=t.element().find(F),i=n.index(S.activeElement);e.shiftKey&&i<=0?(n.get(n.length-1).focus(),e.preventDefault()):e.shiftKey||i!==n.length-1||(n.get(0).focus(),e.preventDefault())}function y(){t.each(_,function(e,t){t.resize()})}function w(e){1===_.unshift(e)&&(P.addClass("lity-active"),B.on({resize:y,keydown:f})),t("body > *").not(e.element()).addClass("lity-hidden").each(function(){var e=t(this);void 0===e.data(L)&&e.data(L,e.attr(T)||null)}).attr(T,"true")}function b(e){var n;e.element().attr(T,"true"),1===_.length&&(P.removeClass("lity-active"),B.off({resize:y,keydown:f})),_=t.grep(_,function(t){return e!==t}),n=_.length?_[0].element():t(".lity-hidden"),n.removeClass("lity-hidden").each(function(){var e=t(this),n=e.data(L);n?e.attr(T,n):e.removeAttr(T),e.removeData(L)})}function E(){return 0===_.length?null:_[0]}function C(e,n,i,o){var r,s="inline",a=t.extend({},i);return o&&a[o]?(r=a[o](e,n),s=o):(t.each(["inline","iframe"],function(e,t){delete a[t],a[t]=i[t]}),t.each(a,function(t,i){return!i||!(!i.test||i.test(e,n))||(r=i(e,n),!1!==r?(s=t,!1):void 0)})),{handler:s,content:r||""}}function x(e,o,r,s){function a(e){c=t(e).css("max-height",v()+"px"),d.find(".lity-loader").each(function(){var e=t(this);n(e).always(function(){e.remove()})}),d.removeClass("lity-loading").find(".lity-content").empty().append(c),u=!0,c.trigger("lity:ready",[h])}var l,d,c,h=this,u=!1,p=!1;o=t.extend({},j,o),d=t(o.template),h.element=function(){return d},h.opener=function(){return r},h.options=t.proxy(i,h,o),h.handlers=t.proxy(i,h,o.handlers),h.resize=function(){u&&!p&&c.css("max-height",v()+"px").trigger("lity:resize",[h])},h.close=function(){if(u&&!p){p=!0,b(h);var e=M();if(s&&(S.activeElement===d[0]||t.contains(d[0],S.activeElement)))try{s.focus()}catch(e){}return c.trigger("lity:close",[h]),d.removeClass("lity-opened").addClass("lity-closed"),n(c.add(d)).always(function(){c.trigger("lity:remove",[h]),d.remove(),d=void 0,e.resolve()}),e.promise()}},l=C(e,h,o.handlers,o.handler),d.attr(T,"false").addClass("lity-loading lity-opened lity-"+l.handler).appendTo("body").focus().on("click","[data-lity-close]",function(e){t(e.target).is("[data-lity-close]")&&h.close()}).trigger("lity:open",[h]),w(h),t.when(l.content).always(a)}function k(e,n,i){e.preventDefault?(e.preventDefault(),i=t(this),e=i.data("lity-target")||i.attr("href")||i.attr("src")):i=t(i);var o=new x(e,t.extend({},i.data("lity-options")||i.data("lity"),n),i,S.activeElement);if(!e.preventDefault)return o}var S=e.document,B=t(e),M=t.Deferred,P=t("html"),_=[],T="aria-hidden",L="lity-"+T,F='a[href],area[href],input:not([disabled]),select:not([disabled]),textarea:not([disabled]),button:not([disabled]),iframe,object,embed,[contenteditable],[tabindex]:not([tabindex^="-"])',j={esc:!0,handler:null,handlers:{image:l,inline:d,youtube:c,vimeo:h,googlemaps:p,facebookvideo:u,iframe:m},template:'<div class="lity" role="dialog" aria-label="Dialog Window (Press escape to close)" tabindex="-1"><div class="lity-wrap" data-lity-close role="document"><div class="lity-loader" aria-hidden="true">Loading...</div><div class="lity-container"><div class="lity-content"></div><button class="lity-close" type="button" aria-label="Close (Press escape to close)" data-lity-close>&times;</button></div></div></div>'},N=/(^data:image\/)|(\.(png|jpe?g|gif|svg|webp|bmp|ico|tiff?)(\?\S*)?$)/i,O=/(youtube(-nocookie)?\.com|youtu\.be)\/(watch\?v=|v\/|u\/|embed\/?)?([\w-]{11})(.*)?/i,I=/(vimeo(pro)?.com)\/(?:[^\d]+)?(\d+)\??(.*)?$/,W=/((maps|www)\.)?google\.([^\/\?]+)\/?((maps\/?)?\?)(.*)/i,R=/(facebook\.com)\/([a-z0-9_-]*)\/videos\/([0-9]*)(.*)?$/i,D=function(){var e=S.createElement("div"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in t)if(void 0!==e.style[n])return t[n];return!1}();return l.test=function(e){return N.test(e)},k.version="2.2.2",k.options=t.proxy(i,k,j),k.handlers=t.proxy(i,k,j.handlers),k.current=E,t(S).on("click.lity","[data-lity]",k),k}),window.jscolor||(window.jscolor=function(){var e={register:function(){e.attachDOMReadyEvent(e.init),e.attachEvent(document,"mousedown",e.onDocumentMouseDown),e.attachEvent(document,"touchstart",e.onDocumentTouchStart),e.attachEvent(window,"resize",e.onWindowResize)},init:function(){e.jscolor.lookupClass&&e.jscolor.installByClassName(e.jscolor.lookupClass)},tryInstallOnElements:function(t,n){for(var i=new RegExp("(^|\\s)("+n+")(\\s*(\\{[^}]*\\})|\\s|$)","i"),o=0;o<t.length;o+=1)if(void 0===t[o].type||"color"!==t[o].type.toLowerCase()||!e.isColorAttrSupported){var r;if(!t[o].jscolor&&t[o].className&&(r=t[o].className.match(i))){var s=t[o],a=null,l=e.getDataAttr(s,"jscolor");null!==l?a=l:r[4]&&(a=r[4]);var d={};if(a)try{d=new Function("return ("+a+")")()}catch(t){e.warn("Error parsing jscolor options: "+t+":\n"+a)}s.jscolor=new e.jscolor(s,d)}}},isColorAttrSupported:function(){var e=document.createElement("input");return!(!e.setAttribute||(e.setAttribute("type","color"),"color"!==e.type.toLowerCase()))}(),isCanvasSupported:function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))}(),fetchElement:function(e){return"string"==typeof e?document.getElementById(e):e},isElementType:function(e,t){return e.nodeName.toLowerCase()===t.toLowerCase()},getDataAttr:function(e,t){var n="data-"+t,i=e.getAttribute(n);return null!==i?i:null},attachEvent:function(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on"+t,n)},detachEvent:function(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent&&e.detachEvent("on"+t,n)},_attachedGroupEvents:{},attachGroupEvent:function(t,n,i,o){e._attachedGroupEvents.hasOwnProperty(t)||(e._attachedGroupEvents[t]=[]),e._attachedGroupEvents[t].push([n,i,o]),e.attachEvent(n,i,o)},detachGroupEvents:function(t){if(e._attachedGroupEvents.hasOwnProperty(t)){for(var n=0;n<e._attachedGroupEvents[t].length;n+=1){var i=e._attachedGroupEvents[t][n];e.detachEvent(i[0],i[1],i[2])}delete e._attachedGroupEvents[t]}},attachDOMReadyEvent:function(e){var t=!1,n=function(){t||(t=!0,e())};if("complete"===document.readyState)return void setTimeout(n,1);if(document.addEventListener)document.addEventListener("DOMContentLoaded",n,!1),window.addEventListener("load",n,!1);else if(document.attachEvent&&(document.attachEvent("onreadystatechange",function(){"complete"===document.readyState&&(document.detachEvent("onreadystatechange",arguments.callee),n())}),window.attachEvent("onload",n),document.documentElement.doScroll&&window===window.top)){var i=function(){if(document.body)try{document.documentElement.doScroll("left"),n()}catch(e){setTimeout(i,1)}};i()}},warn:function(e){window.console&&window.console.warn&&window.console.warn(e)},preventDefault:function(e){e.preventDefault&&e.preventDefault(),e.returnValue=!1},captureTarget:function(t){t.setCapture&&(e._capturedTarget=t,e._capturedTarget.setCapture())},releaseTarget:function(){e._capturedTarget&&(e._capturedTarget.releaseCapture(),e._capturedTarget=null)},fireEvent:function(e,t){if(e){var n;document.createEvent?(n=document.createEvent("HTMLEvents"),n.initEvent(t,!0,!0),e.dispatchEvent(n)):document.createEventObject?(n=document.createEventObject(),e.fireEvent("on"+t,n)):e["on"+t]&&e["on"+t]()}},classNameToList:function(e){return e.replace(/^\s+|\s+$/g,"").split(/\s+/)},hasClass:function(e,t){return!!t&&-1!==(" "+e.className.replace(/\s+/g," ")+" ").indexOf(" "+t+" ")},setClass:function(t,n){for(var i=e.classNameToList(n),o=0;o<i.length;o+=1)e.hasClass(t,i[o])||(t.className+=(t.className?" ":"")+i[o])},unsetClass:function(t,n){for(var i=e.classNameToList(n),o=0;o<i.length;o+=1){var r=new RegExp("^\\s*"+i[o]+"\\s*|\\s*"+i[o]+"\\s*$|\\s+"+i[o]+"(\\s+)","g");t.className=t.className.replace(r,"$1")}},getStyle:function(e){return window.getComputedStyle?window.getComputedStyle(e):e.currentStyle},setStyle:function(){var e=document.createElement("div"),t=function(t){for(var n=0;n<t.length;n+=1)if(t[n]in e.style)return t[n]},n={borderRadius:t(["borderRadius","MozBorderRadius","webkitBorderRadius"]),boxShadow:t(["boxShadow","MozBoxShadow","webkitBoxShadow"])};return function(e,t,i){switch(t.toLowerCase()){case"opacity":var o=Math.round(100*parseFloat(i));e.style.opacity=i,e.style.filter="alpha(opacity="+o+")";break;default:e.style[n[t]]=i}}}(),setBorderRadius:function(t,n){e.setStyle(t,"borderRadius",n||"0")},setBoxShadow:function(t,n){e.setStyle(t,"boxShadow",n||"none")},getElementPos:function(t,n){var i=0,o=0,r=t.getBoundingClientRect();if(i=r.left,o=r.top,!n){var s=e.getViewPos();i+=s[0],o+=s[1]}return[i,o]},getElementSize:function(e){return[e.offsetWidth,e.offsetHeight]},getAbsPointerPos:function(e){e||(e=window.event);var t=0,n=0;return void 0!==e.changedTouches&&e.changedTouches.length?(t=e.changedTouches[0].clientX,n=e.changedTouches[0].clientY):"number"==typeof e.clientX&&(t=e.clientX,n=e.clientY),{x:t,y:n}},getRelPointerPos:function(e){e||(e=window.event);var t=e.target||e.srcElement,n=t.getBoundingClientRect(),i=0,o=0,r=0,s=0;return void 0!==e.changedTouches&&e.changedTouches.length?(r=e.changedTouches[0].clientX,s=e.changedTouches[0].clientY):"number"==typeof e.clientX&&(r=e.clientX,s=e.clientY),i=r-n.left,o=s-n.top,{x:i,y:o}},getViewPos:function(){var e=document.documentElement;return[(window.pageXOffset||e.scrollLeft)-(e.clientLeft||0),(window.pageYOffset||e.scrollTop)-(e.clientTop||0)]},getViewSize:function(){var e=document.documentElement;return[window.innerWidth||e.clientWidth,window.innerHeight||e.clientHeight]},redrawPosition:function(){if(e.picker&&e.picker.owner){var t,n,i=e.picker.owner;i.fixed?(t=e.getElementPos(i.targetElement,!0),n=[0,0]):(t=e.getElementPos(i.targetElement),n=e.getViewPos());var o,r,s,a=e.getElementSize(i.targetElement),l=e.getViewSize(),d=e.getPickerOuterDims(i);switch(i.position.toLowerCase()){case"left":o=1,r=0,s=-1;break;case"right":o=1,r=0,s=1;break;case"top":o=0,r=1,s=-1;break;default:o=0,r=1,s=1}var c,h=(a[r]+d[r])/2;c=i.smartPosition?[-n[o]+t[o]+d[o]>l[o]&&-n[o]+t[o]+a[o]/2>l[o]/2&&t[o]+a[o]-d[o]>=0?t[o]+a[o]-d[o]:t[o],-n[r]+t[r]+a[r]+d[r]-h+h*s>l[r]?-n[r]+t[r]+a[r]/2>l[r]/2&&t[r]+a[r]-h-h*s>=0?t[r]+a[r]-h-h*s:t[r]+a[r]-h+h*s:t[r]+a[r]-h+h*s>=0?t[r]+a[r]-h+h*s:t[r]+a[r]-h-h*s]:[t[o],t[r]+a[r]-h+h*s];var u=c[o],p=c[r],m=i.fixed?"fixed":"absolute",v=(c[0]+d[0]>t[0]||c[0]<t[0]+a[0])&&c[1]+d[1]<t[1]+a[1];e._drawPosition(i,u,p,m,v)}},_drawPosition:function(t,n,i,o,r){var s=r?0:t.shadowBlur;e.picker.wrap.style.position=o,e.picker.wrap.style.left=n+"px",e.picker.wrap.style.top=i+"px",e.setBoxShadow(e.picker.boxS,t.shadow?new e.BoxShadow(0,s,t.shadowBlur,0,t.shadowColor):null)},getPickerDims:function(t){var n=!!e.getSliderComponent(t);return[2*t.insetWidth+2*t.padding+t.width+(n?2*t.insetWidth+e.getPadToSliderPadding(t)+t.sliderSize:0),2*t.insetWidth+2*t.padding+t.height+(t.closable?2*t.insetWidth+t.padding+t.buttonHeight:0)]},getPickerOuterDims:function(t){var n=e.getPickerDims(t);return[n[0]+2*t.borderWidth,n[1]+2*t.borderWidth]},getPadToSliderPadding:function(e){return Math.max(e.padding,1.5*(2*e.pointerBorderWidth+e.pointerThickness))},getPadYComponent:function(e){switch(e.mode.charAt(1).toLowerCase()){case"v":return"v"}return"s"},getSliderComponent:function(e){if(e.mode.length>2)switch(e.mode.charAt(2).toLowerCase()){case"s":return"s";case"v":return"v"}return null},onDocumentMouseDown:function(t){t||(t=window.event);var n=t.target||t.srcElement;n._jscLinkedInstance?n._jscLinkedInstance.showOnClick&&n._jscLinkedInstance.show():n._jscControlName?e.onControlPointerStart(t,n,n._jscControlName,"mouse"):e.picker&&e.picker.owner&&e.picker.owner.hide()},onDocumentTouchStart:function(t){t||(t=window.event);var n=t.target||t.srcElement;n._jscLinkedInstance?n._jscLinkedInstance.showOnClick&&n._jscLinkedInstance.show():n._jscControlName?e.onControlPointerStart(t,n,n._jscControlName,"touch"):e.picker&&e.picker.owner&&e.picker.owner.hide()},onWindowResize:function(t){e.redrawPosition()},onParentScroll:function(t){e.picker&&e.picker.owner&&e.picker.owner.hide()},_pointerMoveEvent:{mouse:"mousemove",touch:"touchmove"},_pointerEndEvent:{mouse:"mouseup",touch:"touchend"},_pointerOrigin:null,_capturedTarget:null,onControlPointerStart:function(t,n,i,o){var r=n._jscInstance;e.preventDefault(t),e.captureTarget(n);var s=function(r,s){e.attachGroupEvent("drag",r,e._pointerMoveEvent[o],e.onDocumentPointerMove(t,n,i,o,s)),e.attachGroupEvent("drag",r,e._pointerEndEvent[o],e.onDocumentPointerEnd(t,n,i,o))};if(s(document,[0,0]),window.parent&&window.frameElement){var a=window.frameElement.getBoundingClientRect(),l=[-a.left,-a.top];s(window.parent.window.document,l)}var d=e.getAbsPointerPos(t),c=e.getRelPointerPos(t);switch(e._pointerOrigin={x:d.x-c.x,y:d.y-c.y},i){case"pad":switch(e.getSliderComponent(r)){case"s":0===r.hsv[1]&&r.fromHSV(null,100,null);break;case"v":0===r.hsv[2]&&r.fromHSV(null,null,100)}e.setPad(r,t,0,0);break;case"sld":e.setSld(r,t,0)}e.dispatchFineChange(r)},onDocumentPointerMove:function(t,n,i,o,r){return function(t){var o=n._jscInstance;switch(i){case"pad":t||(t=window.event),e.setPad(o,t,r[0],r[1]),e.dispatchFineChange(o);break;case"sld":t||(t=window.event),e.setSld(o,t,r[1]),e.dispatchFineChange(o)}}},onDocumentPointerEnd:function(t,n,i,o){return function(t){var i=n._jscInstance;e.detachGroupEvents("drag"),e.releaseTarget(),e.dispatchChange(i)}},dispatchChange:function(t){t.valueElement&&e.isElementType(t.valueElement,"input")&&e.fireEvent(t.valueElement,"change")},dispatchFineChange:function(e){if(e.onFineChange){var t;t="string"==typeof e.onFineChange?new Function(e.onFineChange):e.onFineChange,t.call(e)}},setPad:function(t,n,i,o){var r=e.getAbsPointerPos(n),s=i+r.x-e._pointerOrigin.x-t.padding-t.insetWidth,a=o+r.y-e._pointerOrigin.y-t.padding-t.insetWidth,l=s*(360/(t.width-1)),d=100-a*(100/(t.height-1));switch(e.getPadYComponent(t)){case"s":t.fromHSV(l,d,null,e.leaveSld);break;case"v":t.fromHSV(l,null,d,e.leaveSld)}},setSld:function(t,n,i){var o=e.getAbsPointerPos(n),r=i+o.y-e._pointerOrigin.y-t.padding-t.insetWidth,s=100-r*(100/(t.height-1));switch(e.getSliderComponent(t)){case"s":t.fromHSV(null,s,null,e.leavePad);break;case"v":t.fromHSV(null,null,s,e.leavePad)}},_vmlNS:"jsc_vml_",_vmlCSS:"jsc_vml_css_",_vmlReady:!1,initVML:function(){if(!e._vmlReady){var t=document;if(t.namespaces[e._vmlNS]||t.namespaces.add(e._vmlNS,"urn:schemas-microsoft-com:vml"),!t.styleSheets[e._vmlCSS]){var n=["shape","shapetype","group","background","path","formulas","handles","fill","stroke","shadow","textbox","textpath","imagedata","line","polyline","curve","rect","roundrect","oval","arc","image"],i=t.createStyleSheet();i.owningElement.id=e._vmlCSS;for(var o=0;o<n.length;o+=1)i.addRule(e._vmlNS+"\\:"+n[o],"behavior:url(#default#VML);")}e._vmlReady=!0}},createPalette:function(){var t={elm:null,draw:null};if(e.isCanvasSupported){var n=document.createElement("canvas"),i=n.getContext("2d"),o=function(e,t,o){n.width=e,n.height=t,i.clearRect(0,0,n.width,n.height);var r=i.createLinearGradient(0,0,n.width,0);r.addColorStop(0,"#F00"),r.addColorStop(1/6,"#FF0"),r.addColorStop(2/6,"#0F0"),r.addColorStop(.5,"#0FF"),r.addColorStop(4/6,"#00F"),r.addColorStop(5/6,"#F0F"),r.addColorStop(1,"#F00"),i.fillStyle=r,i.fillRect(0,0,n.width,n.height);var s=i.createLinearGradient(0,0,0,n.height);switch(o.toLowerCase()){case"s":s.addColorStop(0,"rgba(255,255,255,0)"),s.addColorStop(1,"rgba(255,255,255,1)");break;case"v":s.addColorStop(0,"rgba(0,0,0,0)"),s.addColorStop(1,"rgba(0,0,0,1)")}i.fillStyle=s,i.fillRect(0,0,n.width,n.height)};t.elm=n,t.draw=o}else{e.initVML();var r=document.createElement("div");r.style.position="relative",r.style.overflow="hidden";var s=document.createElement(e._vmlNS+":fill");s.type="gradient",s.method="linear",s.angle="90",s.colors="16.67% #F0F, 33.33% #00F, 50% #0FF, 66.67% #0F0, 83.33% #FF0";var a=document.createElement(e._vmlNS+":rect");a.style.position="absolute",a.style.left="-1px",a.style.top="-1px",a.stroked=!1,a.appendChild(s),r.appendChild(a);var l=document.createElement(e._vmlNS+":fill");l.type="gradient",l.method="linear",l.angle="180",l.opacity="0";var d=document.createElement(e._vmlNS+":rect");d.style.position="absolute",d.style.left="-1px",d.style.top="-1px",d.stroked=!1,d.appendChild(l),r.appendChild(d);var o=function(e,t,n){switch(r.style.width=e+"px",r.style.height=t+"px",a.style.width=d.style.width=e+1+"px",a.style.height=d.style.height=t+1+"px",s.color="#F00",s.color2="#F00",n.toLowerCase()){case"s":l.color=l.color2="#FFF";break;case"v":l.color=l.color2="#000"}};t.elm=r,t.draw=o}return t},createSliderGradient:function(){var t={elm:null,draw:null};if(e.isCanvasSupported){var n=document.createElement("canvas"),i=n.getContext("2d"),o=function(e,t,o,r){n.width=e,n.height=t,i.clearRect(0,0,n.width,n.height);var s=i.createLinearGradient(0,0,0,n.height);s.addColorStop(0,o),s.addColorStop(1,r),i.fillStyle=s,i.fillRect(0,0,n.width,n.height)};t.elm=n,t.draw=o}else{e.initVML();var r=document.createElement("div");r.style.position="relative",r.style.overflow="hidden";var s=document.createElement(e._vmlNS+":fill");s.type="gradient",s.method="linear",s.angle="180";var a=document.createElement(e._vmlNS+":rect");a.style.position="absolute",a.style.left="-1px",a.style.top="-1px",a.stroked=!1,a.appendChild(s),r.appendChild(a);var o=function(e,t,n,i){r.style.width=e+"px",r.style.height=t+"px",a.style.width=e+1+"px",a.style.height=t+1+"px",s.color=n,s.color2=i};t.elm=r,t.draw=o}return t},leaveValue:1,leaveStyle:2,leavePad:4,leaveSld:8,BoxShadow:function(){var e=function(e,t,n,i,o,r){this.hShadow=e,this.vShadow=t,this.blur=n,this.spread=i,this.color=o,this.inset=!!r};return e.prototype.toString=function(){var e=[Math.round(this.hShadow)+"px",Math.round(this.vShadow)+"px",Math.round(this.blur)+"px",Math.round(this.spread)+"px",this.color];return this.inset&&e.push("inset"),e.join(" ")},e}(),jscolor:function(t,n){function i(e,t,n){e/=255,t/=255,n/=255;var i=Math.min(Math.min(e,t),n),o=Math.max(Math.max(e,t),n),r=o-i;if(0===r)return[null,0,100*o];var s=e===i?3+(n-t)/r:t===i?5+(e-n)/r:1+(t-e)/r;return[60*(6===s?0:s),r/o*100,100*o]}function o(e,t,n){var i=n/100*255;if(null===e)return[i,i,i];e/=60,t/=100;var o=Math.floor(e),r=o%2?e-o:1-(e-o),s=i*(1-t),a=i*(1-t*r);switch(o){case 6:case 0:return[i,a,s];case 1:return[a,i,s];case 2:return[s,i,a];case 3:return[s,a,i];case 4:return[a,s,i];case 5:return[i,s,a]}}function r(){e.unsetClass(m.targetElement,m.activeClass),e.picker.wrap.parentNode.removeChild(e.picker.wrap),delete e.picker.owner}function s(){m._processParentElementsInDOM(),e.picker||(e.picker={owner:null,wrap:document.createElement("div"),box:document.createElement("div"),boxS:document.createElement("div"),boxB:document.createElement("div"),pad:document.createElement("div"),padB:document.createElement("div"),padM:document.createElement("div"),padPal:e.createPalette(),cross:document.createElement("div"),crossBY:document.createElement("div"),crossBX:document.createElement("div"),crossLY:document.createElement("div"),crossLX:document.createElement("div"),sld:document.createElement("div"),sldB:document.createElement("div"),sldM:document.createElement("div"),sldGrad:e.createSliderGradient(),sldPtrS:document.createElement("div"),sldPtrIB:document.createElement("div"),sldPtrMB:document.createElement("div"),sldPtrOB:document.createElement("div"),btn:document.createElement("div"),btnT:document.createElement("span")},e.picker.pad.appendChild(e.picker.padPal.elm),e.picker.padB.appendChild(e.picker.pad),e.picker.cross.appendChild(e.picker.crossBY),e.picker.cross.appendChild(e.picker.crossBX),e.picker.cross.appendChild(e.picker.crossLY),e.picker.cross.appendChild(e.picker.crossLX),e.picker.padB.appendChild(e.picker.cross),e.picker.box.appendChild(e.picker.padB),e.picker.box.appendChild(e.picker.padM),e.picker.sld.appendChild(e.picker.sldGrad.elm),e.picker.sldB.appendChild(e.picker.sld),e.picker.sldB.appendChild(e.picker.sldPtrOB),e.picker.sldPtrOB.appendChild(e.picker.sldPtrMB),e.picker.sldPtrMB.appendChild(e.picker.sldPtrIB),e.picker.sldPtrIB.appendChild(e.picker.sldPtrS),e.picker.box.appendChild(e.picker.sldB),e.picker.box.appendChild(e.picker.sldM),e.picker.btn.appendChild(e.picker.btnT),e.picker.box.appendChild(e.picker.btn),e.picker.boxB.appendChild(e.picker.box),e.picker.wrap.appendChild(e.picker.boxS),e.picker.wrap.appendChild(e.picker.boxB));var t=e.picker,n=!!e.getSliderComponent(m),i=e.getPickerDims(m),o=2*m.pointerBorderWidth+m.pointerThickness+2*m.crossSize,r=e.getPadToSliderPadding(m),s=Math.min(m.borderRadius,Math.round(m.padding*Math.PI));t.wrap.style.clear="both",t.wrap.style.width=i[0]+2*m.borderWidth+"px",t.wrap.style.height=i[1]+2*m.borderWidth+"px",t.wrap.style.zIndex=m.zIndex,t.box.style.width=i[0]+"px",t.box.style.height=i[1]+"px",t.boxS.style.position="absolute",t.boxS.style.left="0",t.boxS.style.top="0",t.boxS.style.width="100%",t.boxS.style.height="100%",e.setBorderRadius(t.boxS,s+"px"),t.boxB.style.position="relative",t.boxB.style.border=m.borderWidth+"px solid",t.boxB.style.borderColor=m.borderColor,t.boxB.style.background=m.backgroundColor,e.setBorderRadius(t.boxB,s+"px"),t.padM.style.background=t.sldM.style.background="#FFF",e.setStyle(t.padM,"opacity","0"),e.setStyle(t.sldM,"opacity","0"),t.pad.style.position="relative",t.pad.style.width=m.width+"px",t.pad.style.height=m.height+"px",t.padPal.draw(m.width,m.height,e.getPadYComponent(m)),t.padB.style.position="absolute",t.padB.style.left=m.padding+"px",t.padB.style.top=m.padding+"px",t.padB.style.border=m.insetWidth+"px solid",t.padB.style.borderColor=m.insetColor,t.padM._jscInstance=m,t.padM._jscControlName="pad",t.padM.style.position="absolute",t.padM.style.left="0",t.padM.style.top="0",t.padM.style.width=m.padding+2*m.insetWidth+m.width+r/2+"px",t.padM.style.height=i[1]+"px",t.padM.style.cursor="crosshair",t.cross.style.position="absolute",t.cross.style.left=t.cross.style.top="0",t.cross.style.width=t.cross.style.height=o+"px",t.crossBY.style.position=t.crossBX.style.position="absolute",t.crossBY.style.background=t.crossBX.style.background=m.pointerBorderColor,t.crossBY.style.width=t.crossBX.style.height=2*m.pointerBorderWidth+m.pointerThickness+"px",t.crossBY.style.height=t.crossBX.style.width=o+"px",t.crossBY.style.left=t.crossBX.style.top=Math.floor(o/2)-Math.floor(m.pointerThickness/2)-m.pointerBorderWidth+"px",t.crossBY.style.top=t.crossBX.style.left="0",t.crossLY.style.position=t.crossLX.style.position="absolute",t.crossLY.style.background=t.crossLX.style.background=m.pointerColor,t.crossLY.style.height=t.crossLX.style.width=o-2*m.pointerBorderWidth+"px",t.crossLY.style.width=t.crossLX.style.height=m.pointerThickness+"px",t.crossLY.style.left=t.crossLX.style.top=Math.floor(o/2)-Math.floor(m.pointerThickness/2)+"px",t.crossLY.style.top=t.crossLX.style.left=m.pointerBorderWidth+"px",t.sld.style.overflow="hidden",t.sld.style.width=m.sliderSize+"px",t.sld.style.height=m.height+"px",t.sldGrad.draw(m.sliderSize,m.height,"#000","#000"),t.sldB.style.display=n?"block":"none",t.sldB.style.position="absolute",t.sldB.style.right=m.padding+"px",t.sldB.style.top=m.padding+"px",t.sldB.style.border=m.insetWidth+"px solid",t.sldB.style.borderColor=m.insetColor,t.sldM._jscInstance=m,t.sldM._jscControlName="sld",t.sldM.style.display=n?"block":"none",t.sldM.style.position="absolute",t.sldM.style.right="0",t.sldM.style.top="0",t.sldM.style.width=m.sliderSize+r/2+m.padding+2*m.insetWidth+"px",t.sldM.style.height=i[1]+"px",t.sldM.style.cursor="default",t.sldPtrIB.style.border=t.sldPtrOB.style.border=m.pointerBorderWidth+"px solid "+m.pointerBorderColor,t.sldPtrOB.style.position="absolute",t.sldPtrOB.style.left=-(2*m.pointerBorderWidth+m.pointerThickness)+"px",t.sldPtrOB.style.top="0",t.sldPtrMB.style.border=m.pointerThickness+"px solid "+m.pointerColor,t.sldPtrS.style.width=m.sliderSize+"px",t.sldPtrS.style.height=f+"px",t.btn.style.display=m.closable?"block":"none",t.btn.style.position="absolute",t.btn.style.left=m.padding+"px",t.btn.style.bottom=m.padding+"px",t.btn.style.padding="0 15px",t.btn.style.height=m.buttonHeight+"px",t.btn.style.border=m.insetWidth+"px solid",function(){var e=m.insetColor.split(/\s+/),n=e.length<2?e[0]:e[1]+" "+e[0]+" "+e[0]+" "+e[1];t.btn.style.borderColor=n}(),t.btn.style.color=m.buttonColor,t.btn.style.font="12px sans-serif",t.btn.style.textAlign="center";try{t.btn.style.cursor="pointer"}catch(e){t.btn.style.cursor="hand"}t.btn.onmousedown=function(){m.hide()},t.btnT.style.lineHeight=m.buttonHeight+"px",t.btnT.innerHTML="",t.btnT.appendChild(document.createTextNode(m.closeText)),a(),l(),e.picker.owner&&e.picker.owner!==m&&e.unsetClass(e.picker.owner.targetElement,m.activeClass),e.picker.owner=m,e.isElementType(v,"body")?e.redrawPosition():e._drawPosition(m,0,0,"relative",!1),t.wrap.parentNode!=v&&v.appendChild(t.wrap),e.setClass(m.targetElement,m.activeClass)}function a(){switch(e.getPadYComponent(m)){case"s":var t=1;break;case"v":var t=2}var n=Math.round(m.hsv[0]/360*(m.width-1)),i=Math.round((1-m.hsv[t]/100)*(m.height-1)),r=2*m.pointerBorderWidth+m.pointerThickness+2*m.crossSize,s=-Math.floor(r/2);switch(e.picker.cross.style.left=n+s+"px",e.picker.cross.style.top=i+s+"px",e.getSliderComponent(m)){case"s":var a=o(m.hsv[0],100,m.hsv[2]),l=o(m.hsv[0],0,m.hsv[2]),d="rgb("+Math.round(a[0])+","+Math.round(a[1])+","+Math.round(a[2])+")",c="rgb("+Math.round(l[0])+","+Math.round(l[1])+","+Math.round(l[2])+")";e.picker.sldGrad.draw(m.sliderSize,m.height,d,c);break;case"v":var h=o(m.hsv[0],m.hsv[1],100),d="rgb("+Math.round(h[0])+","+Math.round(h[1])+","+Math.round(h[2])+")",c="#000";e.picker.sldGrad.draw(m.sliderSize,m.height,d,c)}}function l(){var t=e.getSliderComponent(m);if(t){switch(t){case"s":var n=1;break;case"v":var n=2}var i=Math.round((1-m.hsv[n]/100)*(m.height-1));e.picker.sldPtrOB.style.top=i-(2*m.pointerBorderWidth+m.pointerThickness)-Math.floor(f/2)+"px"}}function d(){return e.picker&&e.picker.owner===m}function c(){m.importColor()}this.value=null,this.valueElement=t,this.styleElement=t,this.required=!0,this.refine=!0,this.hash=!1,this.uppercase=!0,this.onFineChange=null,this.activeClass="jscolor-active",this.minS=0,this.maxS=100,this.minV=0,this.maxV=100,this.hsv=[0,0,100],this.rgb=[255,255,255],this.width=181,this.height=101,this.showOnClick=!0,this.mode="HSV",this.position="bottom",this.smartPosition=!0,this.sliderSize=16,this.crossSize=8,this.closable=!1,this.closeText="Close",this.buttonColor="#000000",this.buttonHeight=18,this.padding=12,this.backgroundColor="#FFFFFF",this.borderWidth=1,this.borderColor="#BBBBBB",this.borderRadius=8,this.insetWidth=1,this.insetColor="#BBBBBB",this.shadow=!0,this.shadowBlur=15,this.shadowColor="rgba(0,0,0,0.2)",this.pointerColor="#4C4C4C",this.pointerBorderColor="#FFFFFF",this.pointerBorderWidth=1,this.pointerThickness=2,this.zIndex=1e3,this.container=null;for(var h in n)n.hasOwnProperty(h)&&(this[h]=n[h]);if(this.hide=function(){d()&&r()},this.show=function(){s()},this.redraw=function(){d()&&s()},this.importColor=function(){this.valueElement&&e.isElementType(this.valueElement,"input")?this.refine?!this.required&&/^\s*$/.test(this.valueElement.value)?(this.valueElement.value="",this.styleElement&&(this.styleElement.style.backgroundImage=this.styleElement._jscOrigStyle.backgroundImage,this.styleElement.style.backgroundColor=this.styleElement._jscOrigStyle.backgroundColor,this.styleElement.style.color=this.styleElement._jscOrigStyle.color),this.exportColor(e.leaveValue|e.leaveStyle)):this.fromString(this.valueElement.value)||this.exportColor():this.fromString(this.valueElement.value,e.leaveValue)||(this.styleElement&&(this.styleElement.style.backgroundImage=this.styleElement._jscOrigStyle.backgroundImage,this.styleElement.style.backgroundColor=this.styleElement._jscOrigStyle.backgroundColor,this.styleElement.style.color=this.styleElement._jscOrigStyle.color),this.exportColor(e.leaveValue|e.leaveStyle)):this.exportColor()},this.exportColor=function(t){if(!(t&e.leaveValue)&&this.valueElement){var n=this.toString();this.uppercase&&(n=n.toUpperCase()),this.hash&&(n="#"+n),e.isElementType(this.valueElement,"input")?this.valueElement.value=n:this.valueElement.innerHTML=n}t&e.leaveStyle||this.styleElement&&(this.styleElement.style.backgroundImage="none",this.styleElement.style.backgroundColor="#"+this.toString(),this.styleElement.style.color=this.isLight()?"#000":"#FFF"),t&e.leavePad||!d()||a(),t&e.leaveSld||!d()||l()},this.fromHSV=function(e,t,n,i){if(null!==e){if(isNaN(e))return!1;e=Math.max(0,Math.min(360,e))}if(null!==t){if(isNaN(t))return!1;t=Math.max(0,Math.min(100,this.maxS,t),this.minS)}if(null!==n){if(isNaN(n))return!1;n=Math.max(0,Math.min(100,this.maxV,n),this.minV)}this.rgb=o(null===e?this.hsv[0]:this.hsv[0]=e,null===t?this.hsv[1]:this.hsv[1]=t,null===n?this.hsv[2]:this.hsv[2]=n),this.exportColor(i)},this.fromRGB=function(e,t,n,r){if(null!==e){if(isNaN(e))return!1;e=Math.max(0,Math.min(255,e))}if(null!==t){if(isNaN(t))return!1;t=Math.max(0,Math.min(255,t))}if(null!==n){if(isNaN(n))return!1;n=Math.max(0,Math.min(255,n))}var s=i(null===e?this.rgb[0]:e,null===t?this.rgb[1]:t,null===n?this.rgb[2]:n);null!==s[0]&&(this.hsv[0]=Math.max(0,Math.min(360,s[0]))),0!==s[2]&&(this.hsv[1]=null===s[1]?null:Math.max(0,this.minS,Math.min(100,this.maxS,s[1]))),this.hsv[2]=null===s[2]?null:Math.max(0,this.minV,Math.min(100,this.maxV,s[2]));var a=o(this.hsv[0],this.hsv[1],this.hsv[2]);this.rgb[0]=a[0],this.rgb[1]=a[1],this.rgb[2]=a[2],this.exportColor(r)},this.fromString=function(e,t){
2
+ var n;if(n=e.match(/^\W*([0-9A-F]{3}([0-9A-F]{3})?)\W*$/i))return 6===n[1].length?this.fromRGB(parseInt(n[1].substr(0,2),16),parseInt(n[1].substr(2,2),16),parseInt(n[1].substr(4,2),16),t):this.fromRGB(parseInt(n[1].charAt(0)+n[1].charAt(0),16),parseInt(n[1].charAt(1)+n[1].charAt(1),16),parseInt(n[1].charAt(2)+n[1].charAt(2),16),t),!0;if(n=e.match(/^\W*rgba?\(([^)]*)\)\W*$/i)){var i,o,r,s=n[1].split(","),a=/^\s*(\d*)(\.\d+)?\s*$/;if(s.length>=3&&(i=s[0].match(a))&&(o=s[1].match(a))&&(r=s[2].match(a))){var l=parseFloat((i[1]||"0")+(i[2]||"")),d=parseFloat((o[1]||"0")+(o[2]||"")),c=parseFloat((r[1]||"0")+(r[2]||""));return this.fromRGB(l,d,c,t),!0}}return!1},this.toString=function(){return(256|Math.round(this.rgb[0])).toString(16).substr(1)+(256|Math.round(this.rgb[1])).toString(16).substr(1)+(256|Math.round(this.rgb[2])).toString(16).substr(1)},this.toHEXString=function(){return"#"+this.toString().toUpperCase()},this.toRGBString=function(){return"rgb("+Math.round(this.rgb[0])+","+Math.round(this.rgb[1])+","+Math.round(this.rgb[2])+")"},this.isLight=function(){return.213*this.rgb[0]+.715*this.rgb[1]+.072*this.rgb[2]>127.5},this._processParentElementsInDOM=function(){if(!this._linkedElementsProcessed){this._linkedElementsProcessed=!0;var t=this.targetElement;do{var n=e.getStyle(t);n&&"fixed"===n.position.toLowerCase()&&(this.fixed=!0),t!==this.targetElement&&(t._jscEventsAttached||(e.attachEvent(t,"scroll",e.onParentScroll),t._jscEventsAttached=!0))}while((t=t.parentNode)&&!e.isElementType(t,"body"))}},"string"==typeof t){var u=t,p=document.getElementById(u);p?this.targetElement=p:e.warn("Could not find target element with ID '"+u+"'")}else t?this.targetElement=t:e.warn("Invalid target element: '"+t+"'");if(this.targetElement._jscLinkedInstance)return void e.warn("Cannot link jscolor twice to the same element. Skipping.");this.targetElement._jscLinkedInstance=this,this.valueElement=e.fetchElement(this.valueElement),this.styleElement=e.fetchElement(this.styleElement);var m=this,v=this.container?e.fetchElement(this.container):document.getElementsByTagName("body")[0],f=3;if(e.isElementType(this.targetElement,"button"))if(this.targetElement.onclick){var g=this.targetElement.onclick;this.targetElement.onclick=function(e){return g.call(this,e),!1}}else this.targetElement.onclick=function(){return!1};if(this.valueElement&&e.isElementType(this.valueElement,"input")){var y=function(){m.fromString(m.valueElement.value,e.leaveValue),e.dispatchFineChange(m)};e.attachEvent(this.valueElement,"keyup",y),e.attachEvent(this.valueElement,"input",y),e.attachEvent(this.valueElement,"blur",c),this.valueElement.setAttribute("autocomplete","off")}this.styleElement&&(this.styleElement._jscOrigStyle={backgroundImage:this.styleElement.style.backgroundImage,backgroundColor:this.styleElement.style.backgroundColor,color:this.styleElement.style.color}),this.value?this.fromString(this.value)||this.exportColor():this.importColor()}};return e.jscolor.lookupClass="jscolor",e.jscolor.installByClassName=function(t){var n=document.getElementsByTagName("input"),i=document.getElementsByTagName("button");e.tryInstallOnElements(n,t),e.tryInstallOnElements(i,t)},e.register(),e.jscolor}()),function(e){var t={common:{init:function(){e(document).on("keyup","input[name=moove_gdpr_company_logo]",function(){console.log("changed"),e(".moove_gdpr_company_logo_holder").css("background-image","url("+e(this).val()+")")})},finalize:function(){}},home:{init:function(){},finalize:function(){}},about_us:{init:function(){}}},n={fire:function(e,n,i){var o,r=t;n=void 0===n?"init":n,o=""!==e,o=o&&r[e],(o=o&&"function"==typeof r[e][n])&&r[e][n](i)},loadEvents:function(){n.fire("common"),e.each(document.body.className.replace(/-/g,"_").split(/\s+/),function(e,t){n.fire(t),n.fire(t,"finalize")}),n.fire("common","finalize")}};e(document).ready(n.loadEvents)}(jQuery);
dist/scripts/jquery.js ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";function n(e,t,n){t=t||ae;var r,i=t.createElement("script");if(i.text=e,n)for(r in be)n[r]&&(i[r]=n[r]);t.head.appendChild(i).parentNode.removeChild(i)}function r(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?pe[de.call(e)]||"object":typeof e}function i(e){var t=!!e&&"length"in e&&e.length,n=r(e);return!me(e)&&!xe(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function o(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function a(e,t,n){return me(t)?we.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?we.grep(e,function(e){return e===t!==n}):"string"!=typeof t?we.grep(e,function(e){return fe.call(t,e)>-1!==n}):we.filter(t,e,n)}function s(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function u(e){var t={};return we.each(e.match(Le)||[],function(e,n){t[n]=!0}),t}function l(e){return e}function c(e){throw e}function f(e,t,n,r){var i;try{e&&me(i=e.promise)?i.call(e).done(t).fail(n):e&&me(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}function p(){ae.removeEventListener("DOMContentLoaded",p),e.removeEventListener("load",p),we.ready()}function d(e,t){return t.toUpperCase()}function h(e){return e.replace(Me,"ms-").replace(Re,d)}function g(){this.expando=we.expando+g.uid++}function v(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Be.test(e)?JSON.parse(e):e)}function y(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Fe,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=v(n)}catch(e){}$e.set(e,t,n)}else n=void 0;return n}function m(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return we.css(e,t,"")},u=s(),l=n&&n[3]||(we.cssNumber[t]?"":"px"),c=(we.cssNumber[t]||"px"!==l&&+u)&&ze.exec(we.css(e,t));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;a--;)we.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,we.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function x(e){var t,n=e.ownerDocument,r=e.nodeName,i=Ge[r];return i||(t=n.body.appendChild(n.createElement(r)),i=we.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),Ge[r]=i,i)}function b(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)r=e[o],r.style&&(n=r.style.display,t?("none"===n&&(i[o]=We.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&Ue(r)&&(i[o]=x(r))):"none"!==n&&(i[o]="none",We.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}function w(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&o(e,t)?we.merge([e],n):n}function T(e,t){for(var n=0,r=e.length;n<r;n++)We.set(e[n],"globalEval",!t||We.get(t[n],"globalEval"))}function C(e,t,n,i,o){for(var a,s,u,l,c,f,p=t.createDocumentFragment(),d=[],h=0,g=e.length;h<g;h++)if((a=e[h])||0===a)if("object"===r(a))we.merge(d,a.nodeType?[a]:a);else if(Ze.test(a)){for(s=s||p.appendChild(t.createElement("div")),u=(Qe.exec(a)||["",""])[1].toLowerCase(),l=Ke[u]||Ke._default,s.innerHTML=l[1]+we.htmlPrefilter(a)+l[2],f=l[0];f--;)s=s.lastChild;we.merge(d,s.childNodes),s=p.firstChild,s.textContent=""}else d.push(t.createTextNode(a));for(p.textContent="",h=0;a=d[h++];)if(i&&we.inArray(a,i)>-1)o&&o.push(a);else if(c=we.contains(a.ownerDocument,a),s=w(p.appendChild(a),"script"),c&&T(s),n)for(f=0;a=s[f++];)Je.test(a.type||"")&&n.push(a);return p}function E(){return!0}function k(){return!1}function S(){try{return ae.activeElement}catch(e){}}function D(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)D(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=k;else if(!i)return e;return 1===o&&(a=i,i=function(e){return we().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=we.guid++)),e.each(function(){we.event.add(this,t,i,r,n)})}function N(e,t){return o(e,"table")&&o(11!==t.nodeType?t:t.firstChild,"tr")?we(e).children("tbody")[0]||e:e}function A(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function j(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function q(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(We.hasData(e)&&(o=We.access(e),a=We.set(t,o),l=o.events)){delete a.handle,a.events={};for(i in l)for(n=0,r=l[i].length;n<r;n++)we.event.add(t,i,l[i][n])}$e.hasData(e)&&(s=$e.access(e),u=we.extend({},s),$e.set(t,u))}}function L(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Ye.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function H(e,t,r,i){t=le.apply([],t);var o,a,s,u,l,c,f=0,p=e.length,d=p-1,h=t[0],g=me(h);if(g||p>1&&"string"==typeof h&&!ye.checkClone&&at.test(h))return e.each(function(n){var o=e.eq(n);g&&(t[0]=h.call(this,n,o.html())),H(o,t,r,i)});if(p&&(o=C(t,e[0].ownerDocument,!1,e,i),a=o.firstChild,1===o.childNodes.length&&(o=a),a||i)){for(s=we.map(w(o,"script"),A),u=s.length;f<p;f++)l=o,f!==d&&(l=we.clone(l,!0,!0),u&&we.merge(s,w(l,"script"))),r.call(e[f],l,f);if(u)for(c=s[s.length-1].ownerDocument,we.map(s,j),f=0;f<u;f++)l=s[f],Je.test(l.type||"")&&!We.access(l,"globalEval")&&we.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?we._evalUrl&&we._evalUrl(l.src):n(l.textContent.replace(st,""),c,l))}return e}function O(e,t,n){for(var r,i=t?we.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||we.cleanData(w(r)),r.parentNode&&(n&&we.contains(r.ownerDocument,r)&&T(w(r,"script")),r.parentNode.removeChild(r));return e}function P(e,t,n){var r,i,o,a,s=e.style;return n=n||lt(e),n&&(a=n.getPropertyValue(t)||n[t],""!==a||we.contains(e.ownerDocument,e)||(a=we.style(e,t)),!ye.pixelBoxStyles()&&ut.test(a)&&ct.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function M(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function R(e){if(e in vt)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=gt.length;n--;)if((e=gt[n]+t)in vt)return e}function I(e){var t=we.cssProps[e];return t||(t=we.cssProps[e]=R(e)||e),t}function W(e,t,n){var r=ze.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function $(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=we.css(e,n+Xe[a],!0,i)),r?("content"===n&&(u-=we.css(e,"padding"+Xe[a],!0,i)),"margin"!==n&&(u-=we.css(e,"border"+Xe[a]+"Width",!0,i))):(u+=we.css(e,"padding"+Xe[a],!0,i),"padding"!==n?u+=we.css(e,"border"+Xe[a]+"Width",!0,i):s+=we.css(e,"border"+Xe[a]+"Width",!0,i));return!r&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))),u}function B(e,t,n){var r=lt(e),i=P(e,t,r),o="border-box"===we.css(e,"boxSizing",!1,r),a=o;if(ut.test(i)){if(!n)return i;i="auto"}return a=a&&(ye.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===we.css(e,"display",!1,r))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(i=parseFloat(i)||0)+$(e,t,n||(o?"border":"content"),a,r,i)+"px"}function F(e,t,n,r,i){return new F.prototype.init(e,t,n,r,i)}function _(){mt&&(!1===ae.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(_):e.setTimeout(_,we.fx.interval),we.fx.tick())}function z(){return e.setTimeout(function(){yt=void 0}),yt=Date.now()}function X(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)n=Xe[r],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function U(e,t,n){for(var r,i=(Y.tweeners[t]||[]).concat(Y.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function V(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&Ue(e),v=We.get(e,"fxshow");n.queue||(a=we._queueHooks(e,"fx"),null==a.unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,we.queue(e,"fx").length||a.empty.fire()})}));for(r in t)if(i=t[r],xt.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||we.style(e,r)}if((u=!we.isEmptyObject(t))||!we.isEmptyObject(d)){f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],l=v&&v.display,null==l&&(l=We.get(e,"display")),c=we.css(e,"display"),"none"===c&&(l?c=l:(b([e],!0),l=e.style.display||l,c=we.css(e,"display"),b([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===we.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1;for(r in d)u||(v?"hidden"in v&&(g=v.hidden):v=We.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&b([e],!0),p.done(function(){g||b([e]),We.remove(e,"fxshow");for(r in d)we.style(e,r,d[r])})),u=U(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}}function G(e,t){var n,r,i,o,a;for(n in e)if(r=h(n),i=t[r],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=we.cssHooks[r])&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function Y(e,t,n){var r,i,o=0,a=Y.prefilters.length,s=we.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=yt||z(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,o=1-r,a=0,u=l.tweens.length;a<u;a++)l.tweens[a].run(o);return s.notifyWith(e,[l,o,n]),o<1&&u?n:(u||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:we.extend({},t),opts:we.extend(!0,{specialEasing:{},easing:we.easing._default},n),originalProperties:t,originalOptions:n,startTime:yt||z(),duration:n.duration,tweens:[],createTween:function(t,n){var r=we.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(G(c,l.opts.specialEasing);o<a;o++)if(r=Y.prefilters[o].call(l,e,c,l.opts))return me(r.stop)&&(we._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return we.map(c,U,l),me(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),we.fx.timer(we.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}function Q(e){return(e.match(Le)||[]).join(" ")}function J(e){return e.getAttribute&&e.getAttribute("class")||""}function K(e){return Array.isArray(e)?e:"string"==typeof e?e.match(Le)||[]:[]}function Z(e,t,n,i){var o;if(Array.isArray(t))we.each(t,function(t,r){n||qt.test(e)?i(e,r):Z(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)});else if(n||"object"!==r(t))i(e,t);else for(o in t)Z(e+"["+o+"]",t[o],n,i)}function ee(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(Le)||[];if(me(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function te(e,t,n,r){function i(s){var u;return o[s]=!0,we.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||a||o[l]?a?!(u=l):void 0:(t.dataTypes.unshift(l),i(l),!1)}),u}var o={},a=e===_t;return i(t.dataTypes[0])||!o["*"]&&i("*")}function ne(e,t){var n,r,i=we.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&we.extend(!0,e,r),e}function re(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function ie(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if(s=i.split(" "),s[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}var oe=[],ae=e.document,se=Object.getPrototypeOf,ue=oe.slice,le=oe.concat,ce=oe.push,fe=oe.indexOf,pe={},de=pe.toString,he=pe.hasOwnProperty,ge=he.toString,ve=ge.call(Object),ye={},me=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},xe=function(e){return null!=e&&e===e.window},be={type:!0,src:!0,noModule:!0},we=function(e,t){return new we.fn.init(e,t)},Te=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;we.fn=we.prototype={jquery:"3.3.1",constructor:we,length:0,toArray:function(){return ue.call(this)},get:function(e){return null==e?ue.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=we.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return we.each(this,e)},map:function(e){return this.pushStack(we.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(ue.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ce,sort:oe.sort,splice:oe.splice},we.extend=we.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||me(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)n=a[t],r=e[t],a!==r&&(l&&r&&(we.isPlainObject(r)||(i=Array.isArray(r)))?(i?(i=!1,o=n&&Array.isArray(n)?n:[]):o=n&&we.isPlainObject(n)?n:{},a[t]=we.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},we.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==de.call(e))&&(!(t=se(e))||"function"==typeof(n=he.call(t,"constructor")&&t.constructor)&&ge.call(n)===ve)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){n(e)},each:function(e,t){var n,r=0;if(i(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(Te,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(i(Object(e))?we.merge(n,"string"==typeof e?[e]:e):ce.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:fe.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,o,a=0,s=[];if(i(e))for(r=e.length;a<r;a++)null!=(o=t(e[a],a,n))&&s.push(o);else for(a in e)null!=(o=t(e[a],a,n))&&s.push(o);return le.apply([],s)},guid:1,support:ye}),"function"==typeof Symbol&&(we.fn[Symbol.iterator]=oe[Symbol.iterator]),we.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){pe["[object "+t+"]"]=t.toLowerCase()});var Ce=function(e){function t(e,t,n,r){var i,o,a,s,u,c,p,d=t&&t.ownerDocument,h=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return n;if(!r&&((t?t.ownerDocument||t:W)!==q&&j(t),t=t||q,H)){if(11!==h&&(u=ge.exec(e)))if(i=u[1]){if(9===h){if(!(a=t.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(d&&(a=d.getElementById(i))&&R(t,a)&&a.id===i)return n.push(a),n}else{if(u[2])return Q.apply(n,t.getElementsByTagName(e)),n;if((i=u[3])&&b.getElementsByClassName&&t.getElementsByClassName)return Q.apply(n,t.getElementsByClassName(i)),n}if(b.qsa&&!z[e+" "]&&(!O||!O.test(e))){if(1!==h)d=t,p=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(xe,be):t.setAttribute("id",s=I),c=E(e),o=c.length;o--;)c[o]="#"+s+" "+f(c[o]);p=c.join(","),d=ve.test(e)&&l(t.parentNode)||t}if(p)try{return Q.apply(n,d.querySelectorAll(p)),n}catch(e){}finally{s===I&&t.removeAttribute("id")}}}return S(e.replace(oe,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>w.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[I]=!0,e}function i(e){var t=q.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=n.length;r--;)w.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Te(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function u(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function l(e){return e&&void 0!==e.getElementsByTagName&&e}function c(){}function f(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function p(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=B++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,u){var l,c,f,p=[$,s];if(u){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,u))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(f=t[I]||(t[I]={}),c=f[t.uniqueID]||(f[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=c[o])&&l[0]===$&&l[1]===s)return p[2]=l[2];if(c[o]=p,p[2]=e(t,n,u))return!0}return!1}}function d(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function h(e,n,r){for(var i=0,o=n.length;i<o;i++)t(e,n[i],r);return r}function g(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function v(e,t,n,i,o,a){return i&&!i[I]&&(i=v(i)),o&&!o[I]&&(o=v(o,a)),r(function(r,a,s,u){var l,c,f,p=[],d=[],v=a.length,y=r||h(t||"*",s.nodeType?[s]:s,[]),m=!e||!r&&t?y:g(y,p,e,s,u),x=n?o||(r?e:v||i)?[]:a:m;if(n&&n(m,x,s,u),i)for(l=g(x,d),i(l,[],s,u),c=l.length;c--;)(f=l[c])&&(x[d[c]]=!(m[d[c]]=f));if(r){if(o||e){if(o){for(l=[],c=x.length;c--;)(f=x[c])&&l.push(m[c]=f);o(null,x=[],l,u)}for(c=x.length;c--;)(f=x[c])&&(l=o?K(r,f):p[c])>-1&&(r[l]=!(a[l]=f))}}else x=g(x===a?x.splice(v,x.length):x),o?o(null,a,x,u):Q.apply(a,x)})}function y(e){for(var t,n,r,i=e.length,o=w.relative[e[0].type],a=o||w.relative[" "],s=o?1:0,u=p(function(e){return e===t},a,!0),l=p(function(e){return K(t,e)>-1},a,!0),c=[function(e,n,r){var i=!o&&(r||n!==D)||((t=n).nodeType?u(e,n,r):l(e,n,r));return t=null,i}];s<i;s++)if(n=w.relative[e[s].type])c=[p(d(c),n)];else{if(n=w.filter[e[s].type].apply(null,e[s].matches),n[I]){for(r=++s;r<i&&!w.relative[e[r].type];r++);return v(s>1&&d(c),s>1&&f(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(oe,"$1"),n,s<r&&y(e.slice(s,r)),r<i&&y(e=e.slice(r)),r<i&&f(e))}c.push(n)}return d(c)}function m(e,n){var i=n.length>0,o=e.length>0,a=function(r,a,s,u,l){var c,f,p,d=0,h="0",v=r&&[],y=[],m=D,x=r||o&&w.find.TAG("*",l),b=$+=null==m?1:Math.random()||.1,T=x.length;for(l&&(D=a===q||a||l);h!==T&&null!=(c=x[h]);h++){if(o&&c){for(f=0,a||c.ownerDocument===q||(j(c),s=!H);p=e[f++];)if(p(c,a||q,s)){u.push(c);break}l&&($=b)}i&&((c=!p&&c)&&d--,r&&v.push(c))}if(d+=h,i&&h!==d){for(f=0;p=n[f++];)p(v,y,a,s);if(r){if(d>0)for(;h--;)v[h]||y[h]||(y[h]=G.call(u));y=g(y)}Q.apply(u,y),l&&!r&&y.length>0&&d+n.length>1&&t.uniqueSort(u)}return l&&($=b,D=m),v};return i?r(a):a}var x,b,w,T,C,E,k,S,D,N,A,j,q,L,H,O,P,M,R,I="sizzle"+1*new Date,W=e.document,$=0,B=0,F=n(),_=n(),z=n(),X=function(e,t){return e===t&&(A=!0),0},U={}.hasOwnProperty,V=[],G=V.pop,Y=V.push,Q=V.push,J=V.slice,K=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},Z="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ee="[\\x20\\t\\r\\n\\f]",te="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",ne="\\["+ee+"*("+te+")(?:"+ee+"*([*^$|!~]?=)"+ee+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+te+"))|)"+ee+"*\\]",re=":("+te+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ne+")*)|.*)\\)|)",ie=new RegExp(ee+"+","g"),oe=new RegExp("^"+ee+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ee+"+$","g"),ae=new RegExp("^"+ee+"*,"+ee+"*"),se=new RegExp("^"+ee+"*([>+~]|"+ee+")"+ee+"*"),ue=new RegExp("="+ee+"*([^\\]'\"]*?)"+ee+"*\\]","g"),le=new RegExp(re),ce=new RegExp("^"+te+"$"),fe={ID:new RegExp("^#("+te+")"),CLASS:new RegExp("^\\.("+te+")"),TAG:new RegExp("^("+te+"|[*])"),ATTR:new RegExp("^"+ne),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ee+"*(even|odd|(([+-]|)(\\d*)n|)"+ee+"*(?:([+-]|)"+ee+"*(\\d+)|))"+ee+"*\\)|)","i"),bool:new RegExp("^(?:"+Z+")$","i"),needsContext:new RegExp("^"+ee+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ee+"*((?:-\\d)?\\d*)"+ee+"*\\)|)(?=[^-]|$)","i")},pe=/^(?:input|select|textarea|button)$/i,de=/^h\d$/i,he=/^[^{]+\{\s*\[native \w/,ge=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ve=/[+~]/,ye=new RegExp("\\\\([\\da-f]{1,6}"+ee+"?|("+ee+")|.)","ig"),me=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},xe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,be=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},we=function(){j()},Te=p(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{Q.apply(V=J.call(W.childNodes),W.childNodes),V[W.childNodes.length].nodeType}catch(e){Q={apply:V.length?function(e,t){Y.apply(e,J.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}b=t.support={},C=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},j=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:W;return r!==q&&9===r.nodeType&&r.documentElement?(q=r,L=q.documentElement,H=!C(q),W!==q&&(n=q.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",we,!1):n.attachEvent&&n.attachEvent("onunload",we)),b.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),b.getElementsByTagName=i(function(e){return e.appendChild(q.createComment("")),!e.getElementsByTagName("*").length}),b.getElementsByClassName=he.test(q.getElementsByClassName),b.getById=i(function(e){return L.appendChild(e).id=I,!q.getElementsByName||!q.getElementsByName(I).length}),b.getById?(w.filter.ID=function(e){var t=e.replace(ye,me);return function(e){return e.getAttribute("id")===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&H){var n=t.getElementById(e);return n?[n]:[]}}):(w.filter.ID=function(e){var t=e.replace(ye,me);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&H){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),w.find.TAG=b.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):b.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},w.find.CLASS=b.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&H)return t.getElementsByClassName(e)},P=[],O=[],(b.qsa=he.test(q.querySelectorAll))&&(i(function(e){L.appendChild(e).innerHTML="<a id='"+I+"'></a><select id='"+I+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&O.push("[*^$]="+ee+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||O.push("\\["+ee+"*(?:value|"+Z+")"),e.querySelectorAll("[id~="+I+"-]").length||O.push("~="),e.querySelectorAll(":checked").length||O.push(":checked"),e.querySelectorAll("a#"+I+"+*").length||O.push(".#.+[+~]")}),i(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=q.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&O.push("name"+ee+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&O.push(":enabled",":disabled"),L.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&O.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),O.push(",.*:")})),(b.matchesSelector=he.test(M=L.matches||L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&i(function(e){b.disconnectedMatch=M.call(e,"*"),M.call(e,"[s!='']:x"),P.push("!=",re)}),O=O.length&&new RegExp(O.join("|")),P=P.length&&new RegExp(P.join("|")),t=he.test(L.compareDocumentPosition),R=t||he.test(L.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},X=t?function(e,t){if(e===t)return A=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!b.sortDetached&&t.compareDocumentPosition(e)===n?e===q||e.ownerDocument===W&&R(W,e)?-1:t===q||t.ownerDocument===W&&R(W,t)?1:N?K(N,e)-K(N,t):0:4&n?-1:1)}:function(e,t){if(e===t)return A=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],u=[t];if(!i||!o)return e===q?-1:t===q?1:i?-1:o?1:N?K(N,e)-K(N,t):0;if(i===o)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;s[r]===u[r];)r++;return r?a(s[r],u[r]):s[r]===W?-1:u[r]===W?1:0},q):q},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==q&&j(e),n=n.replace(ue,"='$1']"),b.matchesSelector&&H&&!z[n+" "]&&(!P||!P.test(n))&&(!O||!O.test(n)))try{var r=M.call(e,n);if(r||b.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,q,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==q&&j(e),R(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==q&&j(e);var n=w.attrHandle[t.toLowerCase()],r=n&&U.call(w.attrHandle,t.toLowerCase())?n(e,t,!H):void 0;return void 0!==r?r:b.attributes||!H?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.escape=function(e){return(e+"").replace(xe,be)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(A=!b.detectDuplicates,N=!b.sortStable&&e.slice(0),e.sort(X),A){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return N=null,e},T=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=T(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=T(t);return n},w=t.selectors={cacheLength:50,createPseudo:r,match:fe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ye,me),e[3]=(e[3]||e[4]||e[5]||"").replace(ye,me),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return fe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&le.test(n)&&(t=E(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ye,me).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=F[e+" "];return t||(t=new RegExp("(^|"+ee+")"+e+"("+ee+"|$)"))&&F(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(ie," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,p,d,h,g=o!==a?"nextSibling":"previousSibling",v=t.parentNode,y=s&&t.nodeName.toLowerCase(),m=!u&&!s,x=!1;if(v){if(o){for(;g;){for(p=t;p=p[g];)if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?v.firstChild:v.lastChild],a&&m){for(p=v,f=p[I]||(p[I]={}),c=f[p.uniqueID]||(f[p.uniqueID]={}),l=c[e]||[],d=l[0]===$&&l[1],x=d&&l[2],p=d&&v.childNodes[d];p=++d&&p&&p[g]||(x=d=0)||h.pop();)if(1===p.nodeType&&++x&&p===t){c[e]=[$,d,x];break}}else if(m&&(p=t,f=p[I]||(p[I]={}),c=f[p.uniqueID]||(f[p.uniqueID]={}),l=c[e]||[],d=l[0]===$&&l[1],x=d),!1===x)for(;(p=++d&&p&&p[g]||(x=d=0)||h.pop())&&((s?p.nodeName.toLowerCase()!==y:1!==p.nodeType)||!++x||(m&&(f=p[I]||(p[I]={}),c=f[p.uniqueID]||(f[p.uniqueID]={}),c[e]=[$,x]),p!==t)););return(x-=i)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,n){var i,o=w.pseudos[e]||w.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[I]?o(n):o.length>1?(i=[e,e,"",n],w.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)r=K(e,i[a]),e[r]=!(t[r]=i[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=k(e.replace(oe,"$1"));return i[I]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(ye,me),function(t){return(t.textContent||t.innerText||T(t)).indexOf(e)>-1}}),lang:r(function(e){return ce.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ye,me).toLowerCase(),function(t){var n;do{if(n=H?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===L},focus:function(e){return e===q.activeElement&&(!q.hasFocus||q.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:s(!1),disabled:s(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},
2
+ empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return de.test(e.nodeName)},input:function(e){return pe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:u(function(){return[0]}),last:u(function(e,t){return[t-1]}),eq:u(function(e,t,n){return[n<0?n+t:n]}),even:u(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:u(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:u(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:u(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},w.pseudos.nth=w.pseudos.eq;for(x in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[x]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(x);for(x in{submit:!0,reset:!0})w.pseudos[x]=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}(x);return c.prototype=w.filters=w.pseudos,w.setFilters=new c,E=t.tokenize=function(e,n){var r,i,o,a,s,u,l,c=_[e+" "];if(c)return n?0:c.slice(0);for(s=e,u=[],l=w.preFilter;s;){r&&!(i=ae.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),r=!1,(i=se.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(oe," ")}),s=s.slice(r.length));for(a in w.filter)!(i=fe[a].exec(s))||l[a]&&!(i=l[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):_(e,u).slice(0)},k=t.compile=function(e,t){var n,r=[],i=[],o=z[e+" "];if(!o){for(t||(t=E(e)),n=t.length;n--;)o=y(t[n]),o[I]?r.push(o):i.push(o);o=z(e,m(i,r)),o.selector=e}return o},S=t.select=function(e,t,n,r){var i,o,a,s,u,c="function"==typeof e&&e,p=!r&&E(e=c.selector||e);if(n=n||[],1===p.length){if(o=p[0]=p[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&9===t.nodeType&&H&&w.relative[o[1].type]){if(!(t=(w.find.ID(a.matches[0].replace(ye,me),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=fe.needsContext.test(e)?0:o.length;i--&&(a=o[i],!w.relative[s=a.type]);)if((u=w.find[s])&&(r=u(a.matches[0].replace(ye,me),ve.test(o[0].type)&&l(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&f(o)))return Q.apply(n,r),n;break}}return(c||k(e,p))(r,t,!H,n,!t||ve.test(e)&&l(t.parentNode)||t),n},b.sortStable=I.split("").sort(X).join("")===I,b.detectDuplicates=!!A,j(),b.sortDetached=i(function(e){return 1&e.compareDocumentPosition(q.createElement("fieldset"))}),i(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),b.attributes&&i(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(Z,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(e);we.find=Ce,we.expr=Ce.selectors,we.expr[":"]=we.expr.pseudos,we.uniqueSort=we.unique=Ce.uniqueSort,we.text=Ce.getText,we.isXMLDoc=Ce.isXML,we.contains=Ce.contains,we.escapeSelector=Ce.escape;var Ee=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&we(e).is(n))break;r.push(e)}return r},ke=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Se=we.expr.match.needsContext,De=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;we.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?we.find.matchesSelector(r,e)?[r]:[]:we.find.matches(e,we.grep(t,function(e){return 1===e.nodeType}))},we.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(we(e).filter(function(){for(t=0;t<r;t++)if(we.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)we.find(e,i[t],n);return r>1?we.uniqueSort(n):n},filter:function(e){return this.pushStack(a(this,e||[],!1))},not:function(e){return this.pushStack(a(this,e||[],!0))},is:function(e){return!!a(this,"string"==typeof e&&Se.test(e)?we(e):e||[],!1).length}});var Ne,Ae=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(we.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||Ne,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Ae.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof we?t[0]:t,we.merge(this,we.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:ae,!0)),De.test(r[1])&&we.isPlainObject(t))for(r in t)me(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return i=ae.getElementById(r[2]),i&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):me(e)?void 0!==n.ready?n.ready(e):e(we):we.makeArray(e,this)}).prototype=we.fn,Ne=we(ae);var je=/^(?:parents|prev(?:Until|All))/,qe={children:!0,contents:!0,next:!0,prev:!0};we.fn.extend({has:function(e){var t=we(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(we.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&we(e);if(!Se.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&we.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?we.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?fe.call(we(e),this[0]):fe.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(we.uniqueSort(we.merge(this.get(),we(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),we.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Ee(e,"parentNode")},parentsUntil:function(e,t,n){return Ee(e,"parentNode",n)},next:function(e){return s(e,"nextSibling")},prev:function(e){return s(e,"previousSibling")},nextAll:function(e){return Ee(e,"nextSibling")},prevAll:function(e){return Ee(e,"previousSibling")},nextUntil:function(e,t,n){return Ee(e,"nextSibling",n)},prevUntil:function(e,t,n){return Ee(e,"previousSibling",n)},siblings:function(e){return ke((e.parentNode||{}).firstChild,e)},children:function(e){return ke(e.firstChild)},contents:function(e){return o(e,"iframe")?e.contentDocument:(o(e,"template")&&(e=e.content||e),we.merge([],e.childNodes))}},function(e,t){we.fn[e]=function(n,r){var i=we.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=we.filter(r,i)),this.length>1&&(qe[e]||we.uniqueSort(i),je.test(e)&&i.reverse()),this.pushStack(i)}});var Le=/[^\x20\t\r\n\f]+/g;we.Callbacks=function(e){e="string"==typeof e?u(e):we.extend({},e);var t,n,i,o,a=[],s=[],l=-1,c=function(){for(o=o||e.once,i=t=!0;s.length;l=-1)for(n=s.shift();++l<a.length;)!1===a[l].apply(n[0],n[1])&&e.stopOnFalse&&(l=a.length,n=!1);e.memory||(n=!1),t=!1,o&&(a=n?[]:"")},f={add:function(){return a&&(n&&!t&&(l=a.length-1,s.push(n)),function t(n){we.each(n,function(n,i){me(i)?e.unique&&f.has(i)||a.push(i):i&&i.length&&"string"!==r(i)&&t(i)})}(arguments),n&&!t&&c()),this},remove:function(){return we.each(arguments,function(e,t){for(var n;(n=we.inArray(t,a,n))>-1;)a.splice(n,1),n<=l&&l--}),this},has:function(e){return e?we.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return o=s=[],a=n="",this},disabled:function(){return!a},lock:function(){return o=s=[],n||t||(a=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=n||[],n=[e,n.slice?n.slice():n],s.push(n),t||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!i}};return f},we.extend({Deferred:function(t){var n=[["notify","progress",we.Callbacks("memory"),we.Callbacks("memory"),2],["resolve","done",we.Callbacks("once memory"),we.Callbacks("once memory"),0,"resolved"],["reject","fail",we.Callbacks("once memory"),we.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return we.Deferred(function(t){we.each(n,function(n,r){var i=me(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&me(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){function o(t,n,r,i){return function(){var s=this,u=arguments,f=function(){var e,f;if(!(t<a)){if((e=r.apply(s,u))===n.promise())throw new TypeError("Thenable self-resolution");f=e&&("object"==typeof e||"function"==typeof e)&&e.then,me(f)?i?f.call(e,o(a,n,l,i),o(a,n,c,i)):(a++,f.call(e,o(a,n,l,i),o(a,n,c,i),o(a,n,l,n.notifyWith))):(r!==l&&(s=void 0,u=[e]),(i||n.resolveWith)(s,u))}},p=i?f:function(){try{f()}catch(e){we.Deferred.exceptionHook&&we.Deferred.exceptionHook(e,p.stackTrace),t+1>=a&&(r!==c&&(s=void 0,u=[e]),n.rejectWith(s,u))}};t?p():(we.Deferred.getStackHook&&(p.stackTrace=we.Deferred.getStackHook()),e.setTimeout(p))}}var a=0;return we.Deferred(function(e){n[0][3].add(o(0,e,me(i)?i:l,e.notifyWith)),n[1][3].add(o(0,e,me(t)?t:l)),n[2][3].add(o(0,e,me(r)?r:c))}).promise()},promise:function(e){return null!=e?we.extend(e,i):i}},o={};return we.each(n,function(e,t){var a=t[2],s=t[5];i[t[1]]=a.add,s&&a.add(function(){r=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=ue.call(arguments),o=we.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?ue.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(f(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||me(i[n]&&i[n].then)))return o.then();for(;n--;)f(i[n],a(n),o.reject);return o.promise()}});var He=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;we.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&He.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},we.readyException=function(t){e.setTimeout(function(){throw t})};var Oe=we.Deferred();we.fn.ready=function(e){return Oe.then(e).catch(function(e){we.readyException(e)}),this},we.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--we.readyWait:we.isReady)||(we.isReady=!0,!0!==e&&--we.readyWait>0||Oe.resolveWith(ae,[we]))}}),we.ready.then=Oe.then,"complete"===ae.readyState||"loading"!==ae.readyState&&!ae.documentElement.doScroll?e.setTimeout(we.ready):(ae.addEventListener("DOMContentLoaded",p),e.addEventListener("load",p));var Pe=function(e,t,n,i,o,a,s){var u=0,l=e.length,c=null==n;if("object"===r(n)){o=!0;for(u in n)Pe(e,t,u,n[u],!0,a,s)}else if(void 0!==i&&(o=!0,me(i)||(s=!0),c&&(s?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(we(e),n)})),t))for(;u<l;u++)t(e[u],n,s?i:i.call(e[u],u,t(e[u],n)));return o?e:c?t.call(e):l?t(e[0],n):a},Me=/^-ms-/,Re=/-([a-z])/g,Ie=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};g.uid=1,g.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Ie(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[h(t)]=n;else for(r in t)i[h(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][h(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){Array.isArray(t)?t=t.map(h):(t=h(t),t=t in r?[t]:t.match(Le)||[]),n=t.length;for(;n--;)delete r[t[n]]}(void 0===t||we.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!we.isEmptyObject(t)}};var We=new g,$e=new g,Be=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Fe=/[A-Z]/g;we.extend({hasData:function(e){return $e.hasData(e)||We.hasData(e)},data:function(e,t,n){return $e.access(e,t,n)},removeData:function(e,t){$e.remove(e,t)},_data:function(e,t,n){return We.access(e,t,n)},_removeData:function(e,t){We.remove(e,t)}}),we.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=$e.get(o),1===o.nodeType&&!We.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=h(r.slice(5)),y(o,r,i[r])));We.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){$e.set(this,e)}):Pe(this,function(t){var n;if(o&&void 0===t){if(void 0!==(n=$e.get(o,e)))return n;if(void 0!==(n=y(o,e)))return n}else this.each(function(){$e.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){$e.remove(this,e)})}}),we.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=We.get(e,t),n&&(!r||Array.isArray(n)?r=We.access(e,t,we.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=we.queue(e,t),r=n.length,i=n.shift(),o=we._queueHooks(e,t),a=function(){we.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return We.get(e,n)||We.access(e,n,{empty:we.Callbacks("once memory").add(function(){We.remove(e,[t+"queue",n])})})}}),we.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?we.queue(this[0],e):void 0===t?this:this.each(function(){var n=we.queue(this,e,t);we._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&we.dequeue(this,e)})},dequeue:function(e){return this.each(function(){we.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=we.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=We.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var _e=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ze=new RegExp("^(?:([+-])=|)("+_e+")([a-z%]*)$","i"),Xe=["Top","Right","Bottom","Left"],Ue=function(e,t){return e=t||e,"none"===e.style.display||""===e.style.display&&we.contains(e.ownerDocument,e)&&"none"===we.css(e,"display")},Ve=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i},Ge={};we.fn.extend({show:function(){return b(this,!0)},hide:function(){return b(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Ue(this)?we(this).show():we(this).hide()})}});var Ye=/^(?:checkbox|radio)$/i,Qe=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,Je=/^$|^module$|\/(?:java|ecma)script/i,Ke={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Ke.optgroup=Ke.option,Ke.tbody=Ke.tfoot=Ke.colgroup=Ke.caption=Ke.thead,Ke.th=Ke.td;var Ze=/<|&#?\w+;/;!function(){var e=ae.createDocumentFragment(),t=e.appendChild(ae.createElement("div")),n=ae.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),ye.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",ye.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var et=ae.documentElement,tt=/^key/,nt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,rt=/^([^.]*)(?:\.(.+)|)/;we.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=We.get(e);if(v)for(n.handler&&(o=n,n=o.handler,i=o.selector),i&&we.find.matchesSelector(et,i),n.guid||(n.guid=we.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(t){return void 0!==we&&we.event.triggered!==t.type?we.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Le)||[""],l=t.length;l--;)s=rt.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d&&(f=we.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=we.event.special[d]||{},c=we.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&we.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||(p=u[d]=[],p.delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),we.event.global[d]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=We.hasData(e)&&We.get(e);if(v&&(u=v.events)){for(t=(t||"").match(Le)||[""],l=t.length;l--;)if(s=rt.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){for(f=we.event.special[d]||{},d=(r?f.delegateType:f.bindType)||d,p=u[d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;o--;)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||we.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)we.event.remove(e,d+t[l],n,r,!0);we.isEmptyObject(u)&&We.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=we.event.fix(e),u=new Array(arguments.length),l=(We.get(this,"events")||{})[s.type]||[],c=we.event.special[s.type]||{};for(u[0]=s,t=1;t<arguments.length;t++)u[t]=arguments[t];if(s.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,s)){for(a=we.event.handlers.call(this,s,l),t=0;(i=a[t++])&&!s.isPropagationStopped();)for(s.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,void 0!==(r=((we.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,u))&&!1===(s.result=r)&&(s.preventDefault(),s.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)r=t[n],i=r.selector+" ",void 0===a[i]&&(a[i]=r.needsContext?we(i,this).index(l)>-1:we.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(we.Event.prototype,e,{enumerable:!0,configurable:!0,get:me(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[we.expando]?e:new we.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==S()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===S()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&o(this,"input"))return this.click(),!1},_default:function(e){return o(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},we.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},we.Event=function(e,t){if(!(this instanceof we.Event))return new we.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?E:k,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&we.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[we.expando]=!0},we.Event.prototype={constructor:we.Event,isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=E,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=E,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=E,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},we.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&tt.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&nt.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},we.event.addProp),we.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){we.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||we.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),we.fn.extend({on:function(e,t,n,r){return D(this,e,t,n,r)},one:function(e,t,n,r){return D(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,we(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=k),this.each(function(){we.event.remove(this,e,n,t)})}});var it=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ot=/<script|<style|<link/i,at=/checked\s*(?:[^=]|=\s*.checked.)/i,st=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;we.extend({htmlPrefilter:function(e){return e.replace(it,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=we.contains(e.ownerDocument,e);if(!(ye.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||we.isXMLDoc(e)))for(a=w(s),o=w(e),r=0,i=o.length;r<i;r++)L(o[r],a[r]);if(t)if(n)for(o=o||w(e),a=a||w(s),r=0,i=o.length;r<i;r++)q(o[r],a[r]);else q(e,s);return a=w(s,"script"),a.length>0&&T(a,!u&&w(e,"script")),s},cleanData:function(e){for(var t,n,r,i=we.event.special,o=0;void 0!==(n=e[o]);o++)if(Ie(n)){if(t=n[We.expando]){if(t.events)for(r in t.events)i[r]?we.event.remove(n,r):we.removeEvent(n,r,t.handle);n[We.expando]=void 0}n[$e.expando]&&(n[$e.expando]=void 0)}}}),we.fn.extend({detach:function(e){return O(this,e,!0)},remove:function(e){return O(this,e)},text:function(e){return Pe(this,function(e){return void 0===e?we.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return H(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){N(this,e).appendChild(e)}})},prepend:function(){return H(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=N(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return H(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return H(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(we.cleanData(w(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return we.clone(this,e,t)})},html:function(e){return Pe(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ot.test(e)&&!Ke[(Qe.exec(e)||["",""])[1].toLowerCase()]){e=we.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(we.cleanData(w(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return H(this,arguments,function(t){var n=this.parentNode;we.inArray(this,e)<0&&(we.cleanData(w(this)),n&&n.replaceChild(t,this))},e)}}),we.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){we.fn[e]=function(e){for(var n,r=[],i=we(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),we(i[a])[t](n),ce.apply(r,n.get());return this.pushStack(r)}});var ut=new RegExp("^("+_e+")(?!px)[a-z%]+$","i"),lt=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},ct=new RegExp(Xe.join("|"),"i");!function(){function t(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",et.appendChild(u).appendChild(l);var t=e.getComputedStyle(l);r="1%"!==t.top,s=12===n(t.marginLeft),l.style.right="60%",a=36===n(t.right),i=36===n(t.width),l.style.position="absolute",o=36===l.offsetWidth||"absolute",et.removeChild(u),l=null}}function n(e){return Math.round(parseFloat(e))}var r,i,o,a,s,u=ae.createElement("div"),l=ae.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",ye.clearCloneStyle="content-box"===l.style.backgroundClip,we.extend(ye,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),s},scrollboxSize:function(){return t(),o}}))}();var ft=/^(none|table(?!-c[ea]).+)/,pt=/^--/,dt={position:"absolute",visibility:"hidden",display:"block"},ht={letterSpacing:"0",fontWeight:"400"},gt=["Webkit","Moz","ms"],vt=ae.createElement("div").style;we.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=P(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=h(t),u=pt.test(t),l=e.style;if(u||(t=I(s)),a=we.cssHooks[t]||we.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];o=typeof n,"string"===o&&(i=ze.exec(n))&&i[1]&&(n=m(e,t,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(we.cssNumber[s]?"":"px")),ye.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=h(t);return pt.test(t)||(t=I(s)),a=we.cssHooks[t]||we.cssHooks[s],a&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=P(e,t,r)),"normal"===i&&t in ht&&(i=ht[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),we.each(["height","width"],function(e,t){we.cssHooks[t]={get:function(e,n,r){if(n)return!ft.test(we.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?B(e,t,r):Ve(e,dt,function(){return B(e,t,r)})},set:function(e,n,r){var i,o=lt(e),a="border-box"===we.css(e,"boxSizing",!1,o),s=r&&$(e,t,r,a,o);return a&&ye.scrollboxSize()===o.position&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-$(e,t,"border",!1,o)-.5)),s&&(i=ze.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=we.css(e,t)),W(e,n,s)}}}),we.cssHooks.marginLeft=M(ye.reliableMarginLeft,function(e,t){if(t)return(parseFloat(P(e,"marginLeft"))||e.getBoundingClientRect().left-Ve(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),we.each({margin:"",padding:"",border:"Width"},function(e,t){we.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+Xe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(we.cssHooks[e+t].set=W)}),we.fn.extend({css:function(e,t){return Pe(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=lt(e),i=t.length;a<i;a++)o[t[a]]=we.css(e,t[a],!1,r);return o}return void 0!==n?we.style(e,t,n):we.css(e,t)},e,t,arguments.length>1)}}),we.Tween=F,F.prototype={constructor:F,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||we.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(we.cssNumber[n]?"":"px")},cur:function(){var e=F.propHooks[this.prop];return e&&e.get?e.get(this):F.propHooks._default.get(this)},run:function(e){var t,n=F.propHooks[this.prop];return this.options.duration?this.pos=t=we.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):F.propHooks._default.set(this),this}},F.prototype.init.prototype=F.prototype,F.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=we.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){we.fx.step[e.prop]?we.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[we.cssProps[e.prop]]&&!we.cssHooks[e.prop]?e.elem[e.prop]=e.now:we.style(e.elem,e.prop,e.now+e.unit)}}},F.propHooks.scrollTop=F.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},we.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},we.fx=F.prototype.init,we.fx.step={};var yt,mt,xt=/^(?:toggle|show|hide)$/,bt=/queueHooks$/;we.Animation=we.extend(Y,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return m(n.elem,e,ze.exec(t),n),n}]},tweener:function(e,t){me(e)?(t=e,e=["*"]):e=e.match(Le);for(var n,r=0,i=e.length;r<i;r++)n=e[r],Y.tweeners[n]=Y.tweeners[n]||[],Y.tweeners[n].unshift(t)},prefilters:[V],prefilter:function(e,t){t?Y.prefilters.unshift(e):Y.prefilters.push(e)}}),we.speed=function(e,t,n){var r=e&&"object"==typeof e?we.extend({},e):{complete:n||!n&&t||me(e)&&e,duration:e,easing:n&&t||t&&!me(t)&&t};return we.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in we.fx.speeds?r.duration=we.fx.speeds[r.duration]:r.duration=we.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){me(r.old)&&r.old.call(this),r.queue&&we.dequeue(this,r.queue)},r},we.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Ue).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=we.isEmptyObject(e),o=we.speed(t,n,r),a=function(){var t=Y(this,we.extend({},e),o);(i||We.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=we.timers,a=We.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&bt.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||we.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){
3
+ var t,n=We.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=we.timers,a=r?r.length:0;for(n.finish=!0,we.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),we.each(["toggle","show","hide"],function(e,t){var n=we.fn[t];we.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(X(t,!0),e,r,i)}}),we.each({slideDown:X("show"),slideUp:X("hide"),slideToggle:X("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){we.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),we.timers=[],we.fx.tick=function(){var e,t=0,n=we.timers;for(yt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||we.fx.stop(),yt=void 0},we.fx.timer=function(e){we.timers.push(e),we.fx.start()},we.fx.interval=13,we.fx.start=function(){mt||(mt=!0,_())},we.fx.stop=function(){mt=null},we.fx.speeds={slow:600,fast:200,_default:400},we.fn.delay=function(t,n){return t=we.fx?we.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}})},function(){var e=ae.createElement("input"),t=ae.createElement("select"),n=t.appendChild(ae.createElement("option"));e.type="checkbox",ye.checkOn=""!==e.value,ye.optSelected=n.selected,e=ae.createElement("input"),e.value="t",e.type="radio",ye.radioValue="t"===e.value}();var wt,Tt=we.expr.attrHandle;we.fn.extend({attr:function(e,t){return Pe(this,we.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){we.removeAttr(this,e)})}}),we.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?we.prop(e,t,n):(1===o&&we.isXMLDoc(e)||(i=we.attrHooks[t.toLowerCase()]||(we.expr.match.bool.test(t)?wt:void 0)),void 0!==n?null===n?void we.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:(r=we.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!ye.radioValue&&"radio"===t&&o(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(Le);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),wt={set:function(e,t,n){return!1===t?we.removeAttr(e,n):e.setAttribute(n,n),n}},we.each(we.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Tt[t]||we.find.attr;Tt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=Tt[a],Tt[a]=i,i=null!=n(e,t,r)?a:null,Tt[a]=o),i}});var Ct=/^(?:input|select|textarea|button)$/i,Et=/^(?:a|area)$/i;we.fn.extend({prop:function(e,t){return Pe(this,we.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[we.propFix[e]||e]})}}),we.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&we.isXMLDoc(e)||(t=we.propFix[t]||t,i=we.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=we.find.attr(e,"tabindex");return t?parseInt(t,10):Ct.test(e.nodeName)||Et.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ye.optSelected||(we.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),we.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){we.propFix[this.toLowerCase()]=this}),we.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(me(e))return this.each(function(t){we(this).addClass(e.call(this,t,J(this)))});if(t=K(e),t.length)for(;n=this[u++];)if(i=J(n),r=1===n.nodeType&&" "+Q(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");s=Q(r),i!==s&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(me(e))return this.each(function(t){we(this).removeClass(e.call(this,t,J(this)))});if(!arguments.length)return this.attr("class","");if(t=K(e),t.length)for(;n=this[u++];)if(i=J(n),r=1===n.nodeType&&" "+Q(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");s=Q(r),i!==s&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):me(e)?this.each(function(n){we(this).toggleClass(e.call(this,n,J(this),t),t)}):this.each(function(){var t,i,o,a;if(r)for(i=0,o=we(this),a=K(e);t=a[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||(t=J(this),t&&We.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":We.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+Q(J(n))+" ").indexOf(t)>-1)return!0;return!1}});var kt=/\r/g;we.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=me(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,we(this).val()):e,null==i?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=we.map(i,function(e){return null==e?"":e+""})),(t=we.valHooks[this.type]||we.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return(t=we.valHooks[i.type]||we.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(kt,""):null==n?"":n)}}}),we.extend({valHooks:{option:{get:function(e){var t=we.find.attr(e,"value");return null!=t?t:Q(we.text(e))}},select:{get:function(e){var t,n,r,i=e.options,a=e.selectedIndex,s="select-one"===e.type,u=s?null:[],l=s?a+1:i.length;for(r=a<0?l:s?a:0;r<l;r++)if(n=i[r],(n.selected||r===a)&&!n.disabled&&(!n.parentNode.disabled||!o(n.parentNode,"optgroup"))){if(t=we(n).val(),s)return t;u.push(t)}return u},set:function(e,t){for(var n,r,i=e.options,o=we.makeArray(t),a=i.length;a--;)r=i[a],(r.selected=we.inArray(we.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),we.each(["radio","checkbox"],function(){we.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=we.inArray(we(e).val(),t)>-1}},ye.checkOn||(we.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),ye.focusin="onfocusin"in e;var St=/^(?:focusinfocus|focusoutblur)$/,Dt=function(e){e.stopPropagation()};we.extend(we.event,{trigger:function(t,n,r,i){var o,a,s,u,l,c,f,p,d=[r||ae],h=he.call(t,"type")?t.type:t,g=he.call(t,"namespace")?t.namespace.split("."):[];if(a=p=s=r=r||ae,3!==r.nodeType&&8!==r.nodeType&&!St.test(h+we.event.triggered)&&(h.indexOf(".")>-1&&(g=h.split("."),h=g.shift(),g.sort()),l=h.indexOf(":")<0&&"on"+h,t=t[we.expando]?t:new we.Event(h,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=g.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:we.makeArray(n,[t]),f=we.event.special[h]||{},i||!f.trigger||!1!==f.trigger.apply(r,n))){if(!i&&!f.noBubble&&!xe(r)){for(u=f.delegateType||h,St.test(u+h)||(a=a.parentNode);a;a=a.parentNode)d.push(a),s=a;s===(r.ownerDocument||ae)&&d.push(s.defaultView||s.parentWindow||e)}for(o=0;(a=d[o++])&&!t.isPropagationStopped();)p=a,t.type=o>1?u:f.bindType||h,c=(We.get(a,"events")||{})[t.type]&&We.get(a,"handle"),c&&c.apply(a,n),(c=l&&a[l])&&c.apply&&Ie(a)&&(t.result=c.apply(a,n),!1===t.result&&t.preventDefault());return t.type=h,i||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(d.pop(),n)||!Ie(r)||l&&me(r[h])&&!xe(r)&&(s=r[l],s&&(r[l]=null),we.event.triggered=h,t.isPropagationStopped()&&p.addEventListener(h,Dt),r[h](),t.isPropagationStopped()&&p.removeEventListener(h,Dt),we.event.triggered=void 0,s&&(r[l]=s)),t.result}},simulate:function(e,t,n){var r=we.extend(new we.Event,n,{type:e,isSimulated:!0});we.event.trigger(r,null,t)}}),we.fn.extend({trigger:function(e,t){return this.each(function(){we.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return we.event.trigger(e,t,n,!0)}}),ye.focusin||we.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){we.event.simulate(t,e.target,we.event.fix(e))};we.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=We.access(r,t);i||r.addEventListener(e,n,!0),We.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=We.access(r,t)-1;i?We.access(r,t,i):(r.removeEventListener(e,n,!0),We.remove(r,t))}}});var Nt=e.location,At=Date.now(),jt=/\?/;we.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||we.error("Invalid XML: "+t),n};var qt=/\[\]$/,Lt=/\r?\n/g,Ht=/^(?:submit|button|image|reset|file)$/i,Ot=/^(?:input|select|textarea|keygen)/i;we.param=function(e,t){var n,r=[],i=function(e,t){var n=me(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!we.isPlainObject(e))we.each(e,function(){i(this.name,this.value)});else for(n in e)Z(n,e[n],t,i);return r.join("&")},we.fn.extend({serialize:function(){return we.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=we.prop(this,"elements");return e?we.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!we(this).is(":disabled")&&Ot.test(this.nodeName)&&!Ht.test(e)&&(this.checked||!Ye.test(e))}).map(function(e,t){var n=we(this).val();return null==n?null:Array.isArray(n)?we.map(n,function(e){return{name:t.name,value:e.replace(Lt,"\r\n")}}):{name:t.name,value:n.replace(Lt,"\r\n")}}).get()}});var Pt=/%20/g,Mt=/#.*$/,Rt=/([?&])_=[^&]*/,It=/^(.*?):[ \t]*([^\r\n]*)$/gm,Wt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,$t=/^(?:GET|HEAD)$/,Bt=/^\/\//,Ft={},_t={},zt="*/".concat("*"),Xt=ae.createElement("a");Xt.href=Nt.href,we.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Nt.href,type:"GET",isLocal:Wt.test(Nt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":we.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ne(ne(e,we.ajaxSettings),t):ne(we.ajaxSettings,e)},ajaxPrefilter:ee(Ft),ajaxTransport:ee(_t),ajax:function(t,n){function r(t,n,r,s){var l,p,d,b,w,T=n;c||(c=!0,u&&e.clearTimeout(u),i=void 0,a=s||"",C.readyState=t>0?4:0,l=t>=200&&t<300||304===t,r&&(b=re(h,C,r)),b=ie(h,b,C,l),l?(h.ifModified&&(w=C.getResponseHeader("Last-Modified"),w&&(we.lastModified[o]=w),(w=C.getResponseHeader("etag"))&&(we.etag[o]=w)),204===t||"HEAD"===h.type?T="nocontent":304===t?T="notmodified":(T=b.state,p=b.data,d=b.error,l=!d)):(d=T,!t&&T||(T="error",t<0&&(t=0))),C.status=t,C.statusText=(n||T)+"",l?y.resolveWith(g,[p,T,C]):y.rejectWith(g,[C,T,d]),C.statusCode(x),x=void 0,f&&v.trigger(l?"ajaxSuccess":"ajaxError",[C,h,l?p:d]),m.fireWith(g,[C,T]),f&&(v.trigger("ajaxComplete",[C,h]),--we.active||we.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,o,a,s,u,l,c,f,p,d,h=we.ajaxSetup({},n),g=h.context||h,v=h.context&&(g.nodeType||g.jquery)?we(g):we.event,y=we.Deferred(),m=we.Callbacks("once memory"),x=h.statusCode||{},b={},w={},T="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s)for(s={};t=It.exec(a);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)C.always(e[C.status]);else for(t in e)x[t]=[x[t],e[t]];return this},abort:function(e){var t=e||T;return i&&i.abort(t),r(0,t),this}};if(y.promise(C),h.url=((t||h.url||Nt.href)+"").replace(Bt,Nt.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(Le)||[""],null==h.crossDomain){l=ae.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Xt.protocol+"//"+Xt.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=we.param(h.data,h.traditional)),te(Ft,h,n,C),c)return C;f=we.event&&h.global,f&&0==we.active++&&we.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!$t.test(h.type),o=h.url.replace(Mt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Pt,"+")):(d=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(jt.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Rt,"$1"),d=(jt.test(o)?"&":"?")+"_="+At+++d),h.url=o+d),h.ifModified&&(we.lastModified[o]&&C.setRequestHeader("If-Modified-Since",we.lastModified[o]),we.etag[o]&&C.setRequestHeader("If-None-Match",we.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&C.setRequestHeader("Content-Type",h.contentType),C.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+zt+"; q=0.01":""):h.accepts["*"]);for(p in h.headers)C.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(g,C,h)||c))return C.abort();if(T="abort",m.add(h.complete),C.done(h.success),C.fail(h.error),i=te(_t,h,n,C)){if(C.readyState=1,f&&v.trigger("ajaxSend",[C,h]),c)return C;h.async&&h.timeout>0&&(u=e.setTimeout(function(){C.abort("timeout")},h.timeout));try{c=!1,i.send(b,r)}catch(e){if(c)throw e;r(-1,e)}}else r(-1,"No Transport");return C},getJSON:function(e,t,n){return we.get(e,t,n,"json")},getScript:function(e,t){return we.get(e,void 0,t,"script")}}),we.each(["get","post"],function(e,t){we[t]=function(e,n,r,i){return me(n)&&(i=i||r,r=n,n=void 0),we.ajax(we.extend({url:e,type:t,dataType:i,data:n,success:r},we.isPlainObject(e)&&e))}}),we._evalUrl=function(e){return we.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},we.fn.extend({wrapAll:function(e){var t;return this[0]&&(me(e)&&(e=e.call(this[0])),t=we(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return me(e)?this.each(function(t){we(this).wrapInner(e.call(this,t))}):this.each(function(){var t=we(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=me(e);return this.each(function(n){we(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){we(this).replaceWith(this.childNodes)}),this}}),we.expr.pseudos.hidden=function(e){return!we.expr.pseudos.visible(e)},we.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},we.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Ut={0:200,1223:204},Vt=we.ajaxSettings.xhr();ye.cors=!!Vt&&"withCredentials"in Vt,ye.ajax=Vt=!!Vt,we.ajaxTransport(function(t){var n,r;if(ye.cors||Vt&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(a in i)s.setRequestHeader(a,i[a]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Ut[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),we.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),we.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return we.globalEval(e),e}}}),we.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),we.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,i){t=we("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),ae.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;we.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||we.expando+"_"+At++;return this[e]=!0,e}}),we.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,a,s=!1!==t.jsonp&&(Yt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=me(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Yt,"$1"+i):!1!==t.jsonp&&(t.url+=(jt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||we.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always(function(){void 0===o?we(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,Gt.push(i)),a&&me(o)&&o(a[0]),a=o=void 0}),"script"}),ye.createHTMLDocument=function(){var e=ae.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),we.parseHTML=function(e,t,n){if("string"!=typeof e)return[];"boolean"==typeof t&&(n=t,t=!1);var r,i,o;return t||(ye.createHTMLDocument?(t=ae.implementation.createHTMLDocument(""),r=t.createElement("base"),r.href=ae.location.href,t.head.appendChild(r)):t=ae),i=De.exec(e),o=!n&&[],i?[t.createElement(i[1])]:(i=C([e],t,o),o&&o.length&&we(o).remove(),we.merge([],i.childNodes))},we.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=Q(e.slice(s)),e=e.slice(0,s)),me(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&we.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?we("<div>").append(we.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},we.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){we.fn[t]=function(e){return this.on(t,e)}}),we.expr.pseudos.animated=function(e){return we.grep(we.timers,function(t){return e===t.elem}).length},we.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l,c=we.css(e,"position"),f=we(e),p={};"static"===c&&(e.style.position="relative"),s=f.offset(),o=we.css(e,"top"),u=we.css(e,"left"),l=("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1,l?(r=f.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),me(t)&&(t=t.call(e,n,we.extend({},s))),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+i),"using"in t?t.using.call(e,p):f.css(p)}},we.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){we.offset.setOffset(this,e,t)});var t,n,r=this[0];if(r)return r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===we.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===we.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&(i=we(e).offset(),i.top+=we.css(e,"borderTopWidth",!0),i.left+=we.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-we.css(r,"marginTop",!0),left:t.left-i.left-we.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===we.css(e,"position");)e=e.offsetParent;return e||et})}}),we.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;we.fn[e]=function(r){return Pe(this,function(e,r,i){var o;if(xe(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i},e,r,arguments.length)}}),we.each(["top","left"],function(e,t){we.cssHooks[t]=M(ye.pixelPosition,function(e,n){if(n)return n=P(e,t),ut.test(n)?we(e).position()[t]+"px":n})}),we.each({Height:"height",Width:"width"},function(e,t){we.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){we.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return Pe(this,function(t,n,i){var o;return xe(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?we.css(t,n,s):we.style(t,n,i,s)},t,a?i:void 0,a)}})}),we.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){we.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),we.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),we.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),we.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),me(e))return r=ue.call(arguments,2),i=function(){return e.apply(t||this,r.concat(ue.call(arguments)))},i.guid=e.guid=e.guid||we.guid++,i},we.holdReady=function(e){e?we.readyWait++:we.ready(!0)},we.isArray=Array.isArray,we.parseJSON=JSON.parse,we.nodeName=o,we.isFunction=me,we.isWindow=xe,we.camelCase=h,we.type=r,we.now=Date.now,we.isNumeric=function(e){var t=we.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return we});var Qt=e.jQuery,Jt=e.$;return we.noConflict=function(t){return e.$===we&&(e.$=Jt),t&&e.jQuery===we&&(e.jQuery=Qt),we},t||(e.jQuery=e.$=we),we});
dist/scripts/main.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(e,o){"function"==typeof define&&define.amd?define(["jquery"],function(t){return o(e,t)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=o(e,require("jquery")):e.lity=o(e,e.jQuery||e.Zepto)}("undefined"!=typeof window?window:this,function(e,o){"use strict";function t(e){var o=O();return P&&e.length?(e.one(P,o.resolve),setTimeout(o.resolve,500)):o.resolve(),o.promise()}function i(e,t,i){if(1===arguments.length)return o.extend({},e);if("string"==typeof t){if(void 0===i)return void 0===e[t]?null:e[t];e[t]=i}else o.extend(e,t);return this}function n(e){for(var o,t=decodeURI(e.split("#")[0]).split("&"),i={},n=0,r=t.length;n<r;n++)t[n]&&(o=t[n].split("="),i[o[0]]=o[1]);return i}function r(e,t){return e+(e.indexOf("?")>-1?"&":"?")+o.param(t)}function a(e,o){var t=e.indexOf("#");return-1===t?o:(t>0&&(e=e.substr(t)),o+e)}function d(e){return o('<span class="lity-error"/>').append(e)}function c(e,t){var i=t.opener()&&t.opener().data("lity-desc")||"Image with no description",n=o('<img src="'+e+'" alt="'+i+'"/>'),r=O(),a=function(){r.reject(d("Failed loading image"))};return n.on("load",function(){if(0===this.naturalWidth)return a();r.resolve(n)}).on("error",a),r.promise()}function s(e,t){var i,n,r;try{i=o(e)}catch(e){return!1}return!!i.length&&(n=o('<i style="display:none !important"/>'),r=i.hasClass("lity-hide"),t.element().one("lity:remove",function(){n.before(i).remove(),r&&!i.closest(".lity-content").length&&i.addClass("lity-hide")}),i.removeClass("lity-hide").after(n))}function l(e){var t=N.exec(e);return!!t&&v(a(e,r("https://www.youtube"+(t[2]||"")+".com/embed/"+t[4],o.extend({autoplay:1},n(t[5]||"")))))}function p(e){var t=R.exec(e);return!!t&&v(a(e,r("https://player.vimeo.com/video/"+t[3],o.extend({autoplay:1},n(t[4]||"")))))}function m(e){var t=q.exec(e);return!!t&&(0!==e.indexOf("http")&&(e="https:"+e),v(a(e,r("https://www.facebook.com/plugins/video.php?href="+e,o.extend({autoplay:1},n(t[4]||""))))))}function u(e){var o=M.exec(e);return!!o&&v(a(e,r("https://www.google."+o[3]+"/maps?"+o[6],{output:o[6].indexOf("layer=c")>0?"svembed":"embed"})))}function v(e){return'<div class="lity-iframe-container"><iframe frameborder="0" allowfullscreen src="'+e+'"/></div>'}function f(){return D.documentElement.clientHeight?D.documentElement.clientHeight:Math.round(T.height())}function g(e){var o=b();o&&(27===e.keyCode&&o.options("esc")&&o.close(),9===e.keyCode&&h(e,o))}function h(e,o){var t=o.element().find(U),i=t.index(D.activeElement);e.shiftKey&&i<=0?(t.get(t.length-1).focus(),e.preventDefault()):e.shiftKey||i!==t.length-1||(t.get(0).focus(),e.preventDefault())}function _(){o.each(j,function(e,o){o.resize()})}function y(e){1===j.unshift(e)&&(E.addClass("lity-active"),T.on({resize:_,keydown:g})),o("body > *").not(e.element()).addClass("lity-hidden").each(function(){var e=o(this);void 0===e.data(S)&&e.data(S,e.attr(z)||null)}).attr(z,"true")}function k(e){var t;e.element().attr(z,"true"),1===j.length&&(E.removeClass("lity-active"),T.off({resize:_,keydown:g})),j=o.grep(j,function(o){return e!==o}),t=j.length?j[0].element():o(".lity-hidden"),t.removeClass("lity-hidden").each(function(){var e=o(this),t=e.data(S);t?e.attr(z,t):e.removeAttr(z),e.removeData(S)})}function b(){return 0===j.length?null:j[0]}function w(e,t,i,n){var r,a="inline",d=o.extend({},i);return n&&d[n]?(r=d[n](e,t),a=n):(o.each(["inline","iframe"],function(e,o){delete d[o],d[o]=i[o]}),o.each(d,function(o,i){return!i||!(!i.test||i.test(e,t))||(r=i(e,t),!1!==r?(a=o,!1):void 0)})),{handler:a,content:r||""}}function x(e,n,r,a){function d(e){l=o(e).css("max-height",f()+"px"),s.find(".lity-loader").each(function(){var e=o(this);t(e).always(function(){e.remove()})}),s.removeClass("lity-loading").find(".lity-content").empty().append(l),m=!0,l.trigger("lity:ready",[p])}var c,s,l,p=this,m=!1,u=!1;n=o.extend({},I,n),s=o(n.template),p.element=function(){return s},p.opener=function(){return r},p.options=o.proxy(i,p,n),p.handlers=o.proxy(i,p,n.handlers),p.resize=function(){m&&!u&&l.css("max-height",f()+"px").trigger("lity:resize",[p])},p.close=function(){if(m&&!u){u=!0,k(p);var e=O();if(a&&(D.activeElement===s[0]||o.contains(s[0],D.activeElement)))try{a.focus()}catch(e){}return l.trigger("lity:close",[p]),s.removeClass("lity-opened").addClass("lity-closed"),t(l.add(s)).always(function(){l.trigger("lity:remove",[p]),s.remove(),s=void 0,e.resolve()}),e.promise()}},c=w(e,p,n.handlers,n.handler),s.attr(z,"false").addClass("lity-loading lity-opened lity-"+c.handler).appendTo("body").focus().on("click","[data-lity-close]",function(e){o(e.target).is("[data-lity-close]")&&p.close()}).trigger("lity:open",[p]),y(p),o.when(c.content).always(d)}function C(e,t,i){e.preventDefault?(e.preventDefault(),i=o(this),e=i.data("lity-target")||i.attr("href")||i.attr("src")):i=o(i);var n=new x(e,o.extend({},i.data("lity-options")||i.data("lity"),t),i,D.activeElement);if(!e.preventDefault)return n}var D=e.document,T=o(e),O=o.Deferred,E=o("html"),j=[],z="aria-hidden",S="lity-"+z,U='a[href],area[href],input:not([disabled]),select:not([disabled]),textarea:not([disabled]),button:not([disabled]),iframe,object,embed,[contenteditable],[tabindex]:not([tabindex^="-"])',I={esc:!0,handler:null,handlers:{image:c,inline:s,youtube:l,vimeo:p,googlemaps:u,facebookvideo:m,iframe:v},template:'<div class="lity" role="dialog" aria-label="Dialog Window (Press escape to close)" tabindex="-1"><div class="lity-wrap" data-lity-close role="document"><div class="lity-loader" aria-hidden="true">Loading...</div><div class="lity-container"><div class="lity-content"></div><button class="lity-close" type="button" aria-label="Close (Press escape to close)" data-lity-close>&times;</button></div></div></div>'},J=/(^data:image\/)|(\.(png|jpe?g|gif|svg|webp|bmp|ico|tiff?)(\?\S*)?$)/i,N=/(youtube(-nocookie)?\.com|youtu\.be)\/(watch\?v=|v\/|u\/|embed\/?)?([\w-]{11})(.*)?/i,R=/(vimeo(pro)?.com)\/(?:[^\d]+)?(\d+)\??(.*)?$/,M=/((maps|www)\.)?google\.([^\/\?]+)\/?((maps\/?)?\?)(.*)/i,q=/(facebook\.com)\/([a-z0-9_-]*)\/videos\/([0-9]*)(.*)?$/i,P=function(){var e=D.createElement("div"),o={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var t in o)if(void 0!==e.style[t])return o[t];return!1}();return c.test=function(e){return J.test(e)},C.version="2.2.2",C.options=o.proxy(i,C,I),C.handlers=o.proxy(i,C,I.handlers),C.current=b,o(D).on("click.lity","[data-lity]",C),C}),function(e){var o={common:{init:function(){function o(){n("moove_gdpr_popup",JSON.stringify({strict:"1",thirdparty:"1",advanced:"1"}),365),location.reload()}function t(){e("#moove_gdpr_cookie_info_bar").addClass("moove-gdpr-info-bar-hidden")}function i(){e("#moove_gdpr_cookie_info_bar").removeClass("moove-gdpr-info-bar-hidden"),e("#moove_gdpr_save_popup_settings_button").hide()}function n(e,o,t){var i;if(t){var n=new Date;n.setTime(n.getTime()+24*t*60*60*1e3),i="; expires="+n.toGMTString()}else i="";document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(o)+i+"; path=/"}function r(e){for(var o=encodeURIComponent(e)+"=",t=document.cookie.split(";"),i=0;i<t.length;i++){for(var n=t[i];" "===n.charAt(0);)n=n.substring(1,n.length);if(0===n.indexOf(o))return decodeURIComponent(n.substring(o.length,n.length))}return null}function a(){var o=!0;e("#moove_gdpr_cookie_modal").find("input[type=checkbox]").each(function(){e(this).is(":checked")||(o=!1)}),o?e(".moove-gdpr-button-holder .moove-gdpr-modal-allow-all").hide():e(".moove-gdpr-button-holder .moove-gdpr-modal-allow-all").show()}function d(){var o=r("moove_gdpr_popup"),i="0",a="0",d="0",c=!1;o&&(i=o.strict,a=o.advanced,d=o.thirdparty),e("#moove_gdpr_strict_cookies").is(":checked")?(i="1",c=!0):i="0",e("#moove_gdpr_performance_cookies").is(":checked")?(d="1",c=!0):d="0",e("#moove_gdpr_advanced_cookies").is(":checked")?(a="1",c=!0):a="0",!o&&c?(n("moove_gdpr_popup",JSON.stringify({strict:i,thirdparty:d,advanced:a}),365),t()):o&&n("moove_gdpr_popup",JSON.stringify({strict:i,thirdparty:d,advanced:a}),365);var o=r("moove_gdpr_popup");o&&"0"===o.strict&&"0"===o.advanced&&"0"===o.thirdparty&&(s("moove_gdpr_popup"),location.reload())}if(window.location.hash){"moove_gdpr_cookie_modal"===window.location.hash.substring(1)&&(c=lity("#moove_gdpr_cookie_modal"),e(".lity").addClass("moove_gdpr_cookie_modal_open"))}!function(){if(location.pathname,e("#moove_gdpr_save_popup_settings_button").show(),document.cookie.indexOf("moove_gdpr_popup")>=0){var o=r("moove_gdpr_popup");o?(o=JSON.parse(o),e.post(moove_frontend_gdpr_scripts.ajaxurl,{action:"moove_gdpr_get_scripts",strict:o.strict,thirdparty:o.thirdparty,advanced:o.advanced},function(o){e(o).appendTo(document.body)})):i()}else i()}();var c="";e(document).on("click",'a[href*="#moove_gdpr_cookie_modal"]',function(o){o.preventDefault(),c=lity("#moove_gdpr_cookie_modal"),e(".lity").addClass("moove_gdpr_cookie_modal_open")}),e(document).on("click","#moove_gdpr_cookie_info_bar .moove-gdpr-close-modal-button a",function(e){e.preventDefault(),t()}),e(document).on("click",".moove-gdpr-modal-close",function(o){o.preventDefault(),e(".lity .lity-close").click()}),e(document).on("click","#moove-gdpr-menu a.moove-gdpr-tab-nav",function(o){o.preventDefault(),o.stopPropagation(),e("#moove-gdpr-menu li").removeClass("menu-item-selected"),e(this).parent().addClass("menu-item-selected"),e(".moove-gdpr-tab-content .moove-gdpr-tab-main").hide(),e(e(this).attr("href")).show()}),e(document).on("lity:close",function(e,o){d()}),e(document).on("lity:open",function(o,t){var i=r("moove_gdpr_popup");e(".moove-gdpr-status-bar input[type=checkbox]").each(function(){e(this).is(":checked")?e(this).closest(".moove-gdpr-tab-main").find(".moove-gdpr-strict-warning-message").slideUp():e(this).closest(".moove-gdpr-tab-main").find(".moove-gdpr-strict-warning-message").slideDown()}),i&&(i=JSON.parse(i),"1"===i.strict?e("#moove_gdpr_strict_cookies").is(":checked")||e("#moove_gdpr_strict_cookies").click():e("#moove_gdpr_strict_cookies").is(":checked")&&e("#moove_gdpr_strict_cookies").click(),"1"===i.thirdparty?e("#moove_gdpr_performance_cookies").is(":checked")||e("#moove_gdpr_performance_cookies").click():e("#moove_gdpr_performance_cookies").is(":checked")&&e("#moove_gdpr_performance_cookies").click(),"1"===i.advanced?e("#moove_gdpr_advanced_cookies").is(":checked")||e("#moove_gdpr_advanced_cookies").click():e("#moove_gdpr_advanced_cookies").is(":checked")&&e("#moove_gdpr_advanced_cookies").click()),e(".moove-gdpr-modal-save-settings").hide()}),e(document).on("click",".fl-disabled",function(o){e(".moove-gdpr-tab-main").hide(),e("#moove-gdpr-menu li").removeClass("menu-item-selected"),e(".menu-item-strict-necesarry-cookies").addClass("menu-item-selected"),e("#strict-necesarry-cookies").show()}),e(document).on("change",".moove-gdpr-status-bar input[type=checkbox]",function(o){e(".moove-gdpr-modal-save-settings").show();var t=e(this).closest(".moove-gdpr-tab-main").attr("id");e(this).closest(".moove-gdpr-status-bar").toggleClass("checkbox-selected"),e(this).closest(".moove-gdpr-tab-main").toggleClass("checkbox-selected"),e("#moove-gdpr-menu .menu-item-"+t).toggleClass("menu-item-off"),e(this).is(":checked")?e(this).closest(".moove-gdpr-tab-main").find(".moove-gdpr-strict-warning-message").slideUp():e(this).closest(".moove-gdpr-tab-main").find(".moove-gdpr-strict-warning-message").slideDown(),e(this).is("#moove_gdpr_strict_cookies")&&(e(this).is(":checked")?(e("#third_party_cookies fieldset").removeClass("fl-disabled"),e("#moove_gdpr_performance_cookies").prop("disabled",!1),e("#advanced-cookies fieldset").removeClass("fl-disabled"),e("#moove_gdpr_advanced_cookies").prop("disabled",!1)):(e("#third_party_cookies fieldset").addClass("fl-disabled").closest(".moove-gdpr-status-bar").removeClass("checkbox-selected"),e("#moove_gdpr_performance_cookies").prop("disabled",!0).prop("checked",!1),e("#advanced-cookies fieldset").addClass("fl-disabled").closest(".moove-gdpr-status-bar").removeClass("checkbox-selected"),e("#moove_gdpr_advanced_cookies").prop("disabled",!0).prop("checked",!1))),a()}),e(document).on("click",".moove-gdpr-modal-allow-all",function(i){i.preventDefault(),e("#moove_gdpr_cookie_modal").find("input[type=checkbox]").each(function(){var i=e(this);i.is(":checked")||i.click(),o(),e(".lity .lity-close").click(),t()})}),e(document).on("click",".moove-gdpr-infobar-allow-all",function(e){e.preventDefault(),o()}),e(document).on("click",".moove-gdpr-modal-save-settings",function(o){o.preventDefault(),d(),e(".lity .lity-close").click(),location.reload()});var s=function(e){document.cookie=e+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;"}},finalize:function(){}}},t={fire:function(e,t,i){var n,r=o;t=void 0===t?"init":t,n=""!==e,n=n&&r[e],(n=n&&"function"==typeof r[e][t])&&r[e][t](i)},loadEvents:function(){t.fire("common"),e.each(document.body.className.replace(/-/g,"_").split(/\s+/),function(e,o){t.fire(o),t.fire(o,"finalize")}),t.fire("common","finalize")}};e(document).ready(t.loadEvents)}(jQuery);
dist/styles/admin.css ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ /*! Lity - v2.2.2 - 2017-07-17
2
+ * http://sorgalla.com/lity/
3
+ * Copyright (c) 2015-2017 Jan Sorgalla; Licensed MIT */.lity{z-index:9990;position:fixed;top:0;right:0;bottom:0;left:0;white-space:nowrap;background:#0b0b0b;background:rgba(0,0,0,.9);outline:none!important;opacity:0;transition:opacity .3s ease}.lity.lity-opened{opacity:1}.lity.lity-closed{opacity:0}.lity *{box-sizing:border-box}.lity-wrap{z-index:9990;position:fixed;top:0;right:0;bottom:0;left:0;text-align:center;outline:none!important}.lity-wrap:before{content:"";display:inline-block;height:100%;vertical-align:middle;margin-right:-.25em}.lity-loader{z-index:9991;color:#fff;position:absolute;top:50%;margin-top:-.8em;width:100%;text-align:center;font-size:14px;font-family:Arial,Helvetica,sans-serif;opacity:0;transition:opacity .3s ease}.lity-loading .lity-loader{opacity:1}.lity-container{z-index:9992;position:relative;text-align:left;vertical-align:middle;display:inline-block;white-space:normal;max-width:100%;max-height:100%;outline:none!important}.lity-content{z-index:9993;width:100%;-webkit-transform:scale(1);transform:scale(1);transition:-webkit-transform .3s ease;transition:transform .3s ease;transition:transform .3s ease,-webkit-transform .3s ease}.lity-closed .lity-content,.lity-loading .lity-content{-webkit-transform:scale(.8);transform:scale(.8)}.lity-content:after{content:"";position:absolute;left:0;top:0;bottom:0;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,.6)}.lity-close{z-index:9994;width:35px;height:35px;position:fixed;right:0;top:0;-webkit-appearance:none;cursor:pointer;text-decoration:none;text-align:center;padding:0;color:#fff;font-style:normal;font-size:35px;font-family:Arial,Baskerville,monospace;line-height:35px;text-shadow:0 1px 2px rgba(0,0,0,.6);border:0;background:none;outline:none;box-shadow:none}.lity-close::-moz-focus-inner{border:0;padding:0}.lity-close:active,.lity-close:focus,.lity-close:hover,.lity-close:visited{text-decoration:none;text-align:center;padding:0;color:#fff;font-style:normal;font-size:35px;font-family:Arial,Baskerville,monospace;line-height:35px;text-shadow:0 1px 2px rgba(0,0,0,.6);border:0;background:none;outline:none;box-shadow:none}.lity-close:active{top:1px}.lity-image img{max-width:100%;display:block;line-height:0;border:0}.lity-facebookvideo .lity-container,.lity-googlemaps .lity-container,.lity-iframe .lity-container,.lity-vimeo .lity-container,.lity-youtube .lity-container{width:100%;max-width:964px}.lity-iframe-container{width:100%;height:0;padding-top:56.25%;overflow:auto;pointer-events:auto;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-overflow-scrolling:touch}.lity-iframe-container iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}.lity-hide{display:none}.moove-gdpr-form-container .moove-logo{display:block;width:67px;height:16px;position:absolute;top:25px;right:20px;background:url(../images/moove_logo_br.png) no-repeat;background-size:cover}.moove-gdpr-form-container input[type=radio].on-off{margin:0}.moove_gdpr_company_logo_holder{display:inline-block;padding-bottom:50px;width:130px;height:0;background-position:0;background-repeat:no-repeat;background-size:contain}#wp-moove_gdpr_advanced_cookies_tab_content-wrap,#wp-moove_gdpr_cookies_policy_tab_content-wrap,#wp-moove_gdpr_info_bar_content-wrap,#wp-moove_gdpr_performance_cookies_tab_content-wrap,#wp-moove_gdpr_privacy_overview_tab_content-wrap,#wp-moove_gdpr_strict_necessary_cookies_tab_content-wrap{max-width:570px}span.separator{display:inline-block;margin-left:10px}#moove_form_checker_wrap .nav-tab-wrapper a.nav-tab{font-size:12px;padding:3px 8px}#moove_gdpr_info_bar_content-html,#moove_gdpr_info_bar_content-tmce{display:none}#moove_form_checker_wrap .moove-gdpr-settings-branding{margin:25px 0;font-style:italic}#moove_form_checker_wrap .moove-gdpr-settings-branding hr{margin:0}#moove_form_checker_wrap .moove-gdpr-settings-branding p{margin:15px 0}#moove_form_checker_wrap .moove-gdpr-settings-branding p span{display:inline-block;background-image:url(../images/moove_logo_br.png);width:66px;height:15px;background-size:contain;background-repeat:no-repeat;background-position:0 100%}#moove_form_checker_wrap .moove-gdpr-settings-branding p a{text-decoration:none;color:inherit}#moove_form_checker_wrap .moove-gdpr-settings-branding p a:hover{text-decoration:underline}.moove-gdpr-form-error label[for=moove_gdpr_advanced_cookies_footer_scripts],.moove-gdpr-form-error label[for=moove_gdpr_third_party_footer_scripts]{color:red}.moove-gdpr-form-error #moove_gdpr_advanced_cookies_footer_scripts,.moove-gdpr-form-error #moove_gdpr_third_party_footer_scripts{border-color:red}
dist/styles/custom-editor-style.css ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ /*! Lity - v2.2.2 - 2017-07-17
2
+ * http://sorgalla.com/lity/
3
+ * Copyright (c) 2015-2017 Jan Sorgalla; Licensed MIT */.lity{z-index:9990;position:fixed;top:0;right:0;bottom:0;left:0;white-space:nowrap;background:#0b0b0b;background:rgba(0,0,0,.9);outline:none!important;opacity:0;transition:opacity .3s ease}.lity.lity-opened{opacity:1}.lity.lity-closed{opacity:0}.lity *{box-sizing:border-box}.lity-wrap{z-index:9990;position:fixed;top:0;right:0;bottom:0;left:0;text-align:center;outline:none!important}.lity-wrap:before{content:"";display:inline-block;height:100%;vertical-align:middle;margin-right:-.25em}.lity-loader{z-index:9991;color:#fff;position:absolute;top:50%;margin-top:-.8em;width:100%;text-align:center;font-size:14px;font-family:Arial,Helvetica,sans-serif;opacity:0;transition:opacity .3s ease}.lity-loading .lity-loader{opacity:1}.lity-container{z-index:9992;position:relative;text-align:left;vertical-align:middle;display:inline-block;white-space:normal;max-width:100%;max-height:100%;outline:none!important}.lity-content{z-index:9993;width:100%;-webkit-transform:scale(1);transform:scale(1);transition:-webkit-transform .3s ease;transition:transform .3s ease;transition:transform .3s ease,-webkit-transform .3s ease}.lity-closed .lity-content,.lity-loading .lity-content{-webkit-transform:scale(.8);transform:scale(.8)}.lity-content:after{content:"";position:absolute;left:0;top:0;bottom:0;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,.6)}.lity-close{z-index:9994;width:35px;height:35px;position:fixed;right:0;top:0;-webkit-appearance:none;cursor:pointer;text-decoration:none;text-align:center;padding:0;color:#fff;font-style:normal;font-size:35px;font-family:Arial,Baskerville,monospace;line-height:35px;text-shadow:0 1px 2px rgba(0,0,0,.6);border:0;background:none;outline:none;box-shadow:none}.lity-close::-moz-focus-inner{border:0;padding:0}.lity-close:active,.lity-close:focus,.lity-close:hover,.lity-close:visited{text-decoration:none;text-align:center;padding:0;color:#fff;font-style:normal;font-size:35px;font-family:Arial,Baskerville,monospace;line-height:35px;text-shadow:0 1px 2px rgba(0,0,0,.6);border:0;background:none;outline:none;box-shadow:none}.lity-close:active{top:1px}.lity-image img{max-width:100%;display:block;line-height:0;border:0}.lity-facebookvideo .lity-container,.lity-googlemaps .lity-container,.lity-iframe .lity-container,.lity-vimeo .lity-container,.lity-youtube .lity-container{width:100%;max-width:964px}.lity-iframe-container{width:100%;height:0;padding-top:56.25%;overflow:auto;pointer-events:auto;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-overflow-scrolling:touch}.lity-iframe-container iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}.lity-hide{display:none}.mce-content-body.moove_gdpr_advanced_cookies_tab_content,.mce-content-body.moove_gdpr_cookies_policy_tab_content,.mce-content-body.moove_gdpr_performance_cookies_tab_content,.mce-content-body.moove_gdpr_privacy_overview_tab_content,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content{margin:10px;max-width:400px}.mce-content-body.moove_gdpr_advanced_cookies_tab_content a,.mce-content-body.moove_gdpr_advanced_cookies_tab_content li,.mce-content-body.moove_gdpr_advanced_cookies_tab_content p,.mce-content-body.moove_gdpr_cookies_policy_tab_content a,.mce-content-body.moove_gdpr_cookies_policy_tab_content li,.mce-content-body.moove_gdpr_cookies_policy_tab_content p,.mce-content-body.moove_gdpr_performance_cookies_tab_content a,.mce-content-body.moove_gdpr_performance_cookies_tab_content li,.mce-content-body.moove_gdpr_performance_cookies_tab_content p,.mce-content-body.moove_gdpr_privacy_overview_tab_content a,.mce-content-body.moove_gdpr_privacy_overview_tab_content li,.mce-content-body.moove_gdpr_privacy_overview_tab_content p,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content a,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content li,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content p{font:normal 11px/14px Tahoma,Geneva,sans-serif;margin-bottom:15px;margin-top:0}.mce-content-body.moove_gdpr_advanced_cookies_tab_content h1,.mce-content-body.moove_gdpr_advanced_cookies_tab_content h2,.mce-content-body.moove_gdpr_advanced_cookies_tab_content h3,.mce-content-body.moove_gdpr_advanced_cookies_tab_content h4,.mce-content-body.moove_gdpr_advanced_cookies_tab_content h5,.mce-content-body.moove_gdpr_advanced_cookies_tab_content h6,.mce-content-body.moove_gdpr_cookies_policy_tab_content h1,.mce-content-body.moove_gdpr_cookies_policy_tab_content h2,.mce-content-body.moove_gdpr_cookies_policy_tab_content h3,.mce-content-body.moove_gdpr_cookies_policy_tab_content h4,.mce-content-body.moove_gdpr_cookies_policy_tab_content h5,.mce-content-body.moove_gdpr_cookies_policy_tab_content h6,.mce-content-body.moove_gdpr_performance_cookies_tab_content h1,.mce-content-body.moove_gdpr_performance_cookies_tab_content h2,.mce-content-body.moove_gdpr_performance_cookies_tab_content h3,.mce-content-body.moove_gdpr_performance_cookies_tab_content h4,.mce-content-body.moove_gdpr_performance_cookies_tab_content h5,.mce-content-body.moove_gdpr_performance_cookies_tab_content h6,.mce-content-body.moove_gdpr_privacy_overview_tab_content h1,.mce-content-body.moove_gdpr_privacy_overview_tab_content h2,.mce-content-body.moove_gdpr_privacy_overview_tab_content h3,.mce-content-body.moove_gdpr_privacy_overview_tab_content h4,.mce-content-body.moove_gdpr_privacy_overview_tab_content h5,.mce-content-body.moove_gdpr_privacy_overview_tab_content h6,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content h1,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content h2,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content h3,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content h4,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content h5,.mce-content-body.moove_gdpr_strict_necessary_cookies_tab_content h6{font:normal 14px/18px Tahoma,Geneva,sans-serif;margin-bottom:15px;margin-top:0;font-weight:700;text-transform:none}.mce-content-body.moove_gdpr_info_bar_content{margin:10px}.mce-content-body.moove_gdpr_info_bar_content h1,.mce-content-body.moove_gdpr_info_bar_content h2,.mce-content-body.moove_gdpr_info_bar_content h3,.mce-content-body.moove_gdpr_info_bar_content h4,.mce-content-body.moove_gdpr_info_bar_content h5,.mce-content-body.moove_gdpr_info_bar_content h6,.mce-content-body.moove_gdpr_info_bar_content li,.mce-content-body.moove_gdpr_info_bar_content p,.mce-content-body.moove_gdpr_info_bar_content p a{font:normal 11pt/16pt Arial,sans-serif;margin:0}
dist/styles/main.css ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ /*! Lity - v2.2.2 - 2017-07-17
2
+ * http://sorgalla.com/lity/
3
+ * Copyright (c) 2015-2017 Jan Sorgalla; Licensed MIT */.lity{z-index:9990;position:fixed;top:0;right:0;bottom:0;left:0;white-space:nowrap;background:#0b0b0b;background:rgba(0,0,0,.9);outline:none!important;opacity:0;transition:opacity .3s ease}.lity.lity-opened{opacity:1}.lity.lity-closed{opacity:0}.lity *{box-sizing:border-box}.lity-wrap{z-index:9990;position:fixed;top:0;right:0;bottom:0;left:0;text-align:center;outline:none!important}.lity-wrap:before{content:"";display:inline-block;height:100%;vertical-align:middle;margin-right:-.25em}.lity-loader{z-index:9991;color:#fff;position:absolute;top:50%;margin-top:-.8em;width:100%;text-align:center;font-size:14px;font-family:Arial,Helvetica,sans-serif;opacity:0;transition:opacity .3s ease}.lity-loading .lity-loader{opacity:1}.lity-container{z-index:9992;position:relative;text-align:left;vertical-align:middle;display:inline-block;white-space:normal;max-width:100%;max-height:100%;outline:none!important}.lity-content{z-index:9993;width:100%;-webkit-transform:scale(1);transform:scale(1);transition:-webkit-transform .3s ease;transition:transform .3s ease;transition:transform .3s ease,-webkit-transform .3s ease}.lity-closed .lity-content,.lity-loading .lity-content{-webkit-transform:scale(.8);transform:scale(.8)}.lity-content:after{content:"";position:absolute;left:0;top:0;bottom:0;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0,0,0,.6)}.lity-close{z-index:9994;width:35px;height:35px;position:fixed;right:0;top:0;-webkit-appearance:none;cursor:pointer;text-decoration:none;text-align:center;padding:0;color:#fff;font-style:normal;font-size:35px;font-family:Arial,Baskerville,monospace;line-height:35px;text-shadow:0 1px 2px rgba(0,0,0,.6);border:0;background:none;outline:none;box-shadow:none}.lity-close::-moz-focus-inner{border:0;padding:0}.lity-close:active,.lity-close:focus,.lity-close:hover,.lity-close:visited{text-decoration:none;text-align:center;padding:0;color:#fff;font-style:normal;font-size:35px;font-family:Arial,Baskerville,monospace;line-height:35px;text-shadow:0 1px 2px rgba(0,0,0,.6);border:0;background:none;outline:none;box-shadow:none}.lity-close:active{top:1px}.lity-image img{max-width:100%;display:block;line-height:0;border:0}.lity-facebookvideo .lity-container,.lity-googlemaps .lity-container,.lity-iframe .lity-container,.lity-vimeo .lity-container,.lity-youtube .lity-container{width:100%;max-width:964px}.lity-iframe-container{width:100%;height:0;padding-top:56.25%;overflow:auto;pointer-events:auto;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-overflow-scrolling:touch}.lity-iframe-container iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0,0,0,.6);background:#000}.lity-hide{display:none}@import url("https://fonts.googleapis.com/css?family=Nunito:400,600,700,800");@font-face{font-family:moovegdpr;src:url(../fonts/moovegdpr.eot?ynqoef);src:url(../fonts/moovegdpr.eot?ynqoef#iefix) format("embedded-opentype"),url(../fonts/moovegdpr.ttf?ynqoef) format("truetype"),url(../fonts/moovegdpr.woff?ynqoef) format("woff"),url(../fonts/moovegdpr.svg?ynqoef#moovegdpr) format("svg");font-weight:400;font-style:normal}[class*=" moovegdpr-"],[class^=moovegdpr-]{font-family:moovegdpr!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.moovegdpr-arrow-close:before{content:"\e900"}.moovegdpr-policy:before{content:"\e901"}.moovegdpr-advanced:before{content:"\e902"}.moovegdpr-3rd-party:before{content:"\e903"}.moovegdpr-strict-necessary:before{content:"\e904"}.moovegdpr-privacy-overview:before{content:"\e905"}#moove_gdpr_cookie_modal{margin:0 auto;margin-top:0;min-height:60vh;font-family:Nunito,sans-serif!important}#moove_gdpr_cookie_modal *{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#moove_gdpr_cookie_modal .switch{position:relative;display:inline-block;width:50px;height:30px}#moove_gdpr_cookie_modal .switch input{display:none}#moove_gdpr_cookie_modal .switch .slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:red;transition:.4s}#moove_gdpr_cookie_modal .switch .slider:before{position:absolute;content:"";height:26px;width:26px;left:1px;bottom:1px;transition:.4s;border:1px solid #f2f2f2;border-radius:50%;background-color:#fff;box-shadow:0 5px 15px 0 rgba(0,0,0,.25);display:block;box-sizing:content-box}#moove_gdpr_cookie_modal .switch .slider:after{content:attr(data-text-disabled);position:absolute;top:0;left:60px;font:800 16px/30px Nunito,sans-serif!important;color:red;display:block}#moove_gdpr_cookie_modal .switch .slider.round{border-radius:34px}#moove_gdpr_cookie_modal .switch .slider.round:before{border-radius:50%}#moove_gdpr_cookie_modal .switch input:checked+.slider{background-color:#2e9935}#moove_gdpr_cookie_modal .switch input:checked+.slider:after{content:attr(data-text-enable);color:#2e9935}#moove_gdpr_cookie_modal .switch input:focus+.slider{box-shadow:0 0 1px #2e9935}#moove_gdpr_cookie_modal .switch input:checked+.slider:before{-webkit-transform:translateX(20px);transform:translateX(20px)}#moove_gdpr_cookie_modal a{outline:none!important;box-shadow:none!important;text-shadow:none!important}#moove_gdpr_cookie_modal .moove-gdpr-modal-content{color:#000;background-color:#fff;width:100%;width:80vw;max-width:1170px;min-height:600px;border-radius:10px;position:relative;margin:0 auto}#moove_gdpr_cookie_modal .moove-gdpr-modal-content fieldset{background-color:transparent!important}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-close{position:absolute;text-decoration:none!important;top:-30px;right:-30px;display:block;width:60px;height:60px;line-height:60px;text-align:center;border-radius:50%;background:transparent;padding:0;z-index:99}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-close:hover i{background-color:#fff!important;color:#0c4da2}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-close i{display:block;width:60px;height:60px;line-height:60px;font-size:48px;background-color:#0c4da2;border:1px solid #0c4da2;color:#fff;border-radius:50%;transition:all .3s ease}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo-holder{padding:0;margin-bottom:30px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo-holder img{max-height:75px;max-width:70%}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-title h2{font:normal 20px Nunito,sans-serif!important;margin:5px 0 0;padding:0;color:#000}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-content.moove-gdpr-no-modal-title .moove-gdpr-tab-main h3.tab-title{margin-top:0}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main h3.tab-title{font:800 28px Nunito,sans-serif!important;margin:0;padding:0;color:#000;margin-bottom:25px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent{max-height:35vh;overflow-y:auto;padding-right:20px;padding-bottom:15px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent a,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent li,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent p{font:400 16px Nunito,sans-serif!important;margin-bottom:20px;margin-top:0;padding:0;color:#000}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h1,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h2,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h3,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h4,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h5,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h6{font:600 18px Nunito,sans-serif!important;margin-bottom:20px;margin-top:0;font-weight:700;text-transform:none;color:#000}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent a{color:#000;text-decoration:underline}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent.moove-gdpr-strict-warning-message{display:none}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar{padding:5px;margin-right:10px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar.checkbox-selected p>input[type=checkbox]:checked+label{background-position:205px -81px;color:#09a501}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar p{display:inline-block;float:right;color:#09a501;margin:0;line-height:1.2;font:700 11px Arial,Helvetica,sans-serif;font-weight:700}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset{border:none;padding:0;margin:0;box-shadow:none}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset:hover label{color:#09a501}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>{width:220px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>input[type=checkbox]+label:hover,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>input[type=checkbox]:focus+label,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>input[type=checkbox]:hover+label{color:#09a501;cursor:pointer}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>input[type=checkbox]:checked+label:hover,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>input[type=checkbox]:focus:checked+label,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>input[type=checkbox]:hover:checked+label{color:#09a501}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>input+label{background:url(../images/moove-gdpr-inputs.png) 205px -1px no-repeat;height:16px;padding-right:25px;left:0;color:#000}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>label{padding:0;width:225px;line-height:17px;text-align:right;display:block;font-weight:700}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar form fieldset p>input{padding:0;margin:0;height:16px;width:16px;float:left;right:37px;position:absolute;opacity:0}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:130px;position:absolute;left:0;bottom:0;width:100%;background-color:#f1f1f1;z-index:15;border-radius:5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content:before{content:"";position:absolute;bottom:130px;left:60px;right:60px;height:1px;display:block;background-color:#c9c8c8}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-branding{text-decoration:none;padding:0 10px;font-size:10px;color:#000;font-weight:700;line-height:15px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;width:150px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-branding img{height:15px;margin-left:5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder{width:100%;display:block;padding:0 60px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton{margin:0;background-color:#2f9d37;text-decoration:none;border-radius:150px;color:#fff;font-weight:800;font-size:16px;line-height:18px;padding:15px 10px;transition:all .3s ease;border:1px solid #2f9d37;min-width:160px;text-align:center}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton:hover{color:#2f9d37;background-color:#fff}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton.moove-gdpr-modal-allow-all{float:left}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton.moove-gdpr-modal-save-settings{float:right;background-color:#2f9d37;color:#fff;display:none}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton.moove-gdpr-modal-save-settings:hover{color:#2f9d37;background-color:#fff}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content{width:40%;display:inline-block;float:left;padding:40px 60px;position:absolute;height:100%;top:0;box-shadow:0 0 30px 0 rgba(35,35,35,.1);background:#fff;z-index:10;left:0;border-top-left-radius:5px;border-bottom-left-radius:5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content .moove-gdpr-branding-cnt{position:absolute;bottom:0;padding-bottom:45px;left:60px;right:60px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content .moove-gdpr-branding-cnt a{color:#000;font:700 15px Nunito,sans-serif!important;letter-spacing:-.3px;padding:20px 0;position:relative;top:10px;text-decoration:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content .moove-gdpr-branding-cnt a img{width:60px;height:auto;display:inline-block;margin-left:5px;position:relative;top:0}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu{padding:0;list-style:none;margin:0}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li{margin:0;padding:0;list-style:none;margin-bottom:20px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li.menu-item-selected a{background-color:#fff;border-color:#f1f1f1;color:#000}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li.menu-item-selected a i{color:#000!important}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font:800 14px Nunito,sans-serif!important;text-decoration:none;text-transform:uppercase;background-color:#f1f1f1;border:1px solid #f1f1f1;line-height:1.1;padding:13px 20px;color:#0c4da2;width:100%;transition:all .3s ease;border-radius:5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a:hover span{text-decoration:none}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a i{display:inline-block;float:left;font-size:30px;width:40px;margin-right:5px;position:relative;top:0;color:#0c4da2}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a span{display:inline-block;width:calc(100% - 40px)}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-right-content{width:60%;display:inline-block;float:right;padding:40px 60px;position:absolute;top:0;height:100%;right:0;background-color:#f1f1f1;border-top-right-radius:5px;border-bottom-right-radius:5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo{width:100%;height:0;padding-bottom:38px;background-size:contain;background-position:0;background-repeat:no-repeat}.moove-hidden{display:none}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-status-bar:after,.moove-clearfix:after{content:"";display:table;clear:both}#moove_gdpr_cookie_info_bar{position:fixed;bottom:0;left:0;width:100%;min-height:60px;max-height:200px;color:#fff;z-index:9900;background-color:#202020;border-top:1px solid #fff;font-family:Tahoma,Geneva,sans-serif;transition:bottom .3s cubic-bezier(.17,.04,.03,.94)}#moove_gdpr_cookie_info_bar.moove-gdpr-info-bar-hidden{bottom:-200px}#moove_gdpr_cookie_info_bar.moove-gdpr-align-center,#moove_gdpr_cookie_info_bar.moove-gdpr-align-right{text-align:center}#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme{background-color:#fff;border-top:1px solid #202020}#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme p{color:#202020!important}#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h1,#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h2,#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h3,#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h4,#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h5,#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h6,#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p,#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p a{color:#202020!important;font-family:Nunito,sans-serif!important}#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a{text-decoration:underline!important;outline:none!important}#moove_gdpr_cookie_info_bar.moove-gdpr-light-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a:hover{color:#2f9d37!important}#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme{background-color:#202020;border-top:1px solid #fff}#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme p{color:#fff!important}#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h1,#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h2,#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h3,#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h4,#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h5,#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h6,#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p,#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p a{color:#fff!important;font-family:Nunito,sans-serif!important}#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a{text-decoration:underline!important;outline:none!important;transition:all .2s ease}#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a:hover{color:#2f9d37!important}#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton:hover{background-color:#fff!important;color:#2f9d37!important}#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-close-modal-button a{border-color:#fff;color:#fff!important}#moove_gdpr_cookie_info_bar.moove-gdpr-dark-scheme .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-close-modal-button a:hover{background-color:#fff;color:#202020!important}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container{padding:10px 40px;position:relative;display:inline-block}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container i.gdpricon-cog-1{font-size:40px;width:60px;height:50px;line-height:50px;text-align:center;position:absolute;top:calc(50% - 25px);left:0;color:#fff!important}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-close-cookie-popup{position:absolute;width:60px;height:50px;line-height:50px;text-align:center;top:calc(50% - 25px);right:0;text-decoration:none;outline:none;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-close-cookie-popup i{width:28px;height:28px;line-height:26px;text-align:center;text-decoration:none;background-color:#fff;color:#424449;border-radius:50%;display:block;border:1px solid #fff;font-size:16px;position:relative}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-close-cookie-popup:hover i{background-color:#424449;color:#fff}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content{display:block;padding-left:30px;padding-right:30px;text-align:left;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h1,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h2,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h3,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h4,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h5,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h6,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p a{margin:0;font-family:Nunito,sans-serif!important;font-size:14px!important;line-height:18px!important;font-weight:700;padding-bottom:0;color:#fff!important}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-close-modal-button a{display:inline-block;width:35px;height:35px;border:1px solid #202020;color:#202020;text-decoration:none!important;outline:none!important;line-height:35px;text-align:center;font-size:16px;border-radius:50%;font-size:28px;padding-top:1px;transition:all .2s ease;margin-left:6vw}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-close-modal-button a:hover{background-color:#202020;color:#fff!important}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton{background-color:#2f9d37;text-decoration:none;font:normal 14px/20px Nunito,sans-serif;border-radius:5px;color:#fff;font-weight:800;text-decoration:none!important;border-radius:150px;padding:8px 30px;transition:all .3s ease;border:none;display:inline-block;margin:3px 4px;white-space:nowrap}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton:hover{color:#fff!important;background-color:#202020}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton.change-settings-button{background-color:#424449;color:#fff;border-color:transparent}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton.change-settings-button:hover{border-color:#fff}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-button-holder{padding-left:3vw}.lity.moove_gdpr_cookie_modal_open .lity-close{opacity:0!important;visibility:hidden!important}#moove_gdpr_save_popup_settings_button{display:block;z-index:1001;position:fixed;bottom:50px;left:50px;background-color:rgba(0,0,0,.8);transition:all .3s ease;color:#fff;padding:0 5px;height:38px}#moove_gdpr_save_popup_settings_button span.moove_gdpr_icon{display:inline-block;line-height:38px;float:left;font-size:30px;min-width:30px;text-align:center}#moove_gdpr_save_popup_settings_button span.moove_gdpr_icon i{position:relative;top:2px}#moove_gdpr_save_popup_settings_button span.moove_gdpr_text{font:normal 12px Arial,sans-serif;text-transform:uppercase;line-height:38px;display:none;padding:0 5px}#moove_gdpr_save_popup_settings_button:hover{background-color:#000}#moove_gdpr_save_popup_settings_button:hover span.moove_gdpr_text{display:inline-block}@media (max-width:767px){#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content .moove-gdpr-branding-cnt a{top:0}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo-holder img{max-height:40px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo-holder{text-align:center}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container i.gdpricon-cog-1{display:none}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content{padding-left:0;padding-right:40px}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-cookie-notice{padding-left:4px;margin-bottom:10px}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h1,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h2,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h3,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h4,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h5,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h6,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p a{font:normal 8pt/12pt Arial,sans-serif}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-button-holder{padding-left:0}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content{display:block}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton{font-size:10px;padding:2px 10px}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container{padding:15px}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h1,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h2,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h3,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h4,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h5,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content h6,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p a{font:normal 14px/16px Arial,sans-serif!important}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-close-modal-button a{display:inline-block;width:30px;height:30px;border:1px solid #202020;color:#202020;text-decoration:none!important;outline:none!important;line-height:30px;text-align:center;font-size:16px;border-radius:50%;font-size:27px;padding-top:1px;transition:all .2s ease;margin-left:6vw;position:absolute;right:5px;top:5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content{width:100%;padding:10px;padding-top:30px;position:relative;top:0;left:0;text-align:center;height:140px;border-radius:0;border-top-left-radius:5px;border-top-right-radius:5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content{min-height:300px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-close{position:absolute;top:-15px;right:-15px;display:block;width:30px;height:30px;line-height:30px;text-decoration:none!important}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-close i{width:30px;height:30px;line-height:30px;font-size:30px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo{padding-bottom:30px;background-size:contain;background-position:50%;margin-top:10px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo-holder{margin-bottom:15px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a span{display:none}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a{padding:5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a i{margin:0;text-align:center;width:24px;font-size:24px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu{display:inline-block;margin:0 auto}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content .moove-gdpr-branding-cnt{top:3px;right:3px;left:auto;padding:0;bottom:auto;-webkit-transform:scale(.8);transform:scale(.8)}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li{list-style:none;margin-bottom:20px;display:inline-block;float:left;margin:0 5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-right-content{width:100%;position:relative;padding:15px 10px;height:calc(90vh - 140px);border-radius:0;border-bottom-left-radius:5px;border-bottom-right-radius:5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent{padding:0;max-height:40vh}#moove_gdpr_cookie_modal .moove-gdpr-modal-content{max-height:90vw}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton{margin:0;background-color:#fff;text-decoration:none;border-radius:150px;color:#000;font-weight:800;font-size:12px;line-height:18px;padding:5px;transition:all .3s ease;border:1px solid #fff;color:#fff;min-width:110px;text-align:center}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder{padding:0 10px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main h3.tab-title{font:800 16px Nunito,sans-serif!important}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent a,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent li,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent p{font:600 12px Nunito,sans-serif!important}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h1,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h2,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h3,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h4,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h5,#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent h6{font:700 14px Nunito,sans-serif!important}#moove_gdpr_cookie_modal .switch .slider:after{font:800 12px/30px Nunito,sans-serif!important}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content{height:70px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content:before{left:10px;right:10px;bottom:70px}}@media screen and (max-width:767px) and (orientation:landscape){#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo{margin-top:0;background-position:0}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-company-logo-holder{text-align:left;margin:0;display:inline-block;float:left;width:40%}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu{max-width:60%;float:right}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content{padding-top:40px;height:90px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main h3.tab-title{margin-bottom:10px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content{height:45px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content:before{bottom:45px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent{max-height:36vh}#moove_gdpr_cookie_modal{background:#fff;border-radius:5px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-right-content{height:65vh}}@media (min-width:768px) and (max-width:999px){#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-right-content{padding:30px 20px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content{height:120px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder{padding:0 20px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content:before{bottom:120px;left:20px;right:20px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content{padding:30px 20px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content{min-height:620px;-webkit-transform:scale(.75);transform:scale(.75)}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content .moove-gdpr-branding-cnt{left:20px;right:20px}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p,#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p>a{font-size:13px!important}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent{max-height:35vh}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li a{padding:10px 15px;font:800 12px Nunito,sans-serif!important}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content{padding-left:20px;padding-right:20px}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content .moove-gdpr-close-modal-button a{margin-left:5vw}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main h3.tab-title{font:800 24px Nunito,sans-serif!important}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder a.mgbutton{-webkit-transform:scale(.75);transform:scale(.75)}#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container{padding:10px 20px}}@media (min-width:1000px) and (max-width:1300px){#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-right-content{padding:40px 30px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content{height:120px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder{padding:0 30px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content:before{bottom:120px;left:30px;right:30px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent{max-height:48vh}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content .moove-gdpr-branding-cnt{left:30px;right:30px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content{padding:30px}#moove_gdpr_cookie_modal .moove-gdpr-modal-content{min-width:700px}}@media (min-width:768px) and (max-height:700px){#moove_gdpr_cookie_modal .moove-gdpr-modal-content{min-height:600px;-webkit-transform:scale(.7);transform:scale(.7)}#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-tab-main .moove-gdpr-tab-main-conent{max-height:60vh}}
languages/moove-gdpr.pot ADDED
File without changes
moove-actions.php ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
+
4
+ /**
5
+ * Moove_GDPR_Actions File Doc Comment
6
+ *
7
+ * @category Moove_GDPR_Actions
8
+ * @package moove-gdpr-tracking
9
+ * @author Gaspar Nemes
10
+ */
11
+
12
+ /**
13
+ * Moove_GDPR_Actions Class Doc Comment
14
+ *
15
+ * @category Class
16
+ * @package Moove_GDPR_Actions
17
+ * @author Gaspar Nemes
18
+ */
19
+ class Moove_GDPR_Actions {
20
+ /**
21
+ * Global cariable used in localization
22
+ *
23
+ * @var array
24
+ */
25
+ var $gdpr_loc_data;
26
+ /**
27
+ * Construct
28
+ */
29
+ function __construct() {
30
+ $this->moove_register_scripts();
31
+ $this->moove_register_ajax_actions();
32
+ }
33
+
34
+ /**
35
+ * Register Front-end / Back-end scripts
36
+ *
37
+ * @return void
38
+ */
39
+ function moove_register_scripts() {
40
+ if ( is_admin() ) :
41
+ add_action( 'admin_enqueue_scripts', array( &$this, 'moove_gdpr_admin_scripts' ) );
42
+ else :
43
+ add_action( 'wp_enqueue_scripts', array( &$this, 'moove_frontend_gdpr_scripts' ), 999 );
44
+ endif;
45
+ }
46
+
47
+ /**
48
+ * Register global variables to head, AJAX, Form validation messages
49
+ *
50
+ * @param string $ascript The registered script handle you are attaching the data for.
51
+ * @return void
52
+ */
53
+ public function moove_localize_script( $ascript ) {
54
+
55
+ $this->gdpr_loc_data = array(
56
+ 'ajaxurl' => admin_url( 'admin-ajax.php' ),
57
+ 'moove_gdpr_third_party_footer_scripts' => $third_party_scripts,
58
+ 'moove_gdpr_advanced_footer_scripts' => $advanced_scripts,
59
+ 'post_id' => get_the_ID(),
60
+ 'is_page' => is_page(),
61
+ 'is_single' => is_single(),
62
+ 'current_user' => get_current_user_id(),
63
+ );
64
+ wp_localize_script( $ascript, 'moove_frontend_gdpr_scripts', $this->gdpr_loc_data );
65
+ }
66
+
67
+ /**
68
+ * Registe FRONT-END Javascripts and Styles
69
+ *
70
+ * @return void
71
+ */
72
+ public function moove_frontend_gdpr_scripts() {
73
+
74
+ wp_enqueue_script( 'moove_gdpr_frontend', plugins_url( basename( dirname( __FILE__ ) ) ) . '/dist/scripts/main.js', array( 'jquery' ), '1.21', true );
75
+ wp_enqueue_style( 'moove_gdpr_frontend', plugins_url( basename( dirname( __FILE__ ) ) ) . '/dist/styles/main.css' );
76
+ $this->moove_localize_script( 'moove_gdpr_frontend' );
77
+ }
78
+ /**
79
+ * Registe BACK-END Javascripts and Styles
80
+ *
81
+ * @return void
82
+ */
83
+ public function moove_gdpr_admin_scripts() {
84
+ wp_enqueue_script( 'moove_gdpr_backend', plugins_url( basename( dirname( __FILE__ ) ) ) . '/dist/scripts/admin.js', array( 'jquery' ), '1.21', true );
85
+ wp_enqueue_style( 'moove_gdpr_backend', plugins_url( basename( dirname( __FILE__ ) ) ) . '/dist/styles/admin.css' );
86
+ }
87
+
88
+ /**
89
+ * Register AJAX actions for the plugin
90
+ */
91
+ public function moove_register_ajax_actions() {
92
+ add_action( 'wp_ajax_moove_gdpr_get_scripts', array( 'Moove_GDPR_Controller', 'moove_gdpr_get_scripts' ) );
93
+ add_action( 'wp_ajax_nopriv_moove_gdpr_get_scripts', array( 'Moove_GDPR_Controller', 'moove_gdpr_get_scripts' ) );
94
+ }
95
+
96
+ /**
97
+ * GDPR Modal Footer Branding
98
+ */
99
+ public function moove_gdpr_footer_branding_content() {
100
+ ob_start();
101
+ ?>
102
+ <a href="https://wordpress.org/plugins/gdpr-cookie-compliance" target="_blank" class='moove-gdpr-branding'>Powered by GDPR plugin</a>
103
+ <?php
104
+ return ob_get_clean();
105
+ }
106
+ }
107
+ $moove_gdpr_actions_provider = new Moove_GDPR_Actions();
108
+
moove-content.php ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
+
4
+ /**
5
+ * Moove_GDPR_Content File Doc Comment
6
+ *
7
+ * @category Moove_GDPR_Content
8
+ * @package moove-gdpr-tracking
9
+ * @author Gaspar Nemes
10
+ */
11
+
12
+ load_textdomain( 'moove-gdpr', plugins_url( __FILE__ ) . DIRECTORY_SEPARATOR . 'languages' );
13
+
14
+ /**
15
+ * Moove_GDPR_Content Class Doc Comment
16
+ *
17
+ * @category Class
18
+ * @package Moove_Controller
19
+ * @author Gaspar Nemes
20
+ */
21
+ class Moove_GDPR_Content {
22
+ /**
23
+ * Construct
24
+ */
25
+ function __construct() {
26
+ $this->moove_register_content_elements();
27
+ }
28
+ /**
29
+ * Register actions
30
+ *
31
+ * @return void
32
+ */
33
+ function moove_register_content_elements() {
34
+
35
+ }
36
+
37
+ /**
38
+ * Privacy Overview Tab Content
39
+ * @return string Filtered Content
40
+ */
41
+ function moove_gdpr_get_privacy_overview_content() {
42
+ $_content = "<p>This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.</p><p>You can adjust all of your cookie settings by navigating the tabs on the left hand side.</p>";
43
+ return apply_filters( 'the_content', $_content );
44
+ }
45
+
46
+ /**
47
+ * Strict Necessary Tab Content
48
+ * @return string Filtered Content
49
+ */
50
+ function moove_gdpr_get_strict_necessary_content() {
51
+ $_content = "<p>Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.</p>";
52
+ return apply_filters( 'the_content', $_content );
53
+ }
54
+
55
+ /**
56
+ * Strict Necessary Warning Message
57
+ * @return string Filtered Content
58
+ */
59
+ function moove_gdpr_get_strict_necessary_warning() {
60
+ $_content = "If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.";
61
+ return $_content;
62
+ }
63
+
64
+ /**
65
+ * Advanced Cookies Tab Content
66
+ * @return string Filtered Content
67
+ */
68
+ function moove_gdpr_get_advanced_cookies_content() {
69
+ $_content = "<p>This website uses the following additional cookies:</p><p>(List the cookies that you are using on the website here.)</p>";
70
+ return apply_filters( 'the_content', $_content );
71
+ }
72
+
73
+ /**
74
+ * Third Party Cookies Tab Content
75
+ * @return string Filtered Content
76
+ */
77
+ function moove_gdpr_get_third_party_content() {
78
+ $_content = "<p>This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.</p><p>Keeping this cookie enabled helps us to improve our website.</p>";
79
+ return apply_filters( 'the_content', $_content );
80
+ }
81
+
82
+ /**
83
+ * Cookie Policy Tab Content
84
+ * @return string Filtered Content
85
+ */
86
+ function moove_gdpr_get_cookie_policy_content() {
87
+ $_content = "<p>More information about our <a href='#' target='_blank'>Cookie Policy</a></p>";
88
+ return apply_filters( 'the_content', $_content );
89
+ }
90
+
91
+ }
92
+ new Moove_GDPR_Content();
moove-controller.php ADDED
@@ -0,0 +1 @@
 
0
  /**
1
  * Registering CONTROLLERS
2
  */
1
+ <?php
2
  /**
3
  * Registering CONTROLLERS
4
  */
moove-functions.php ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
+
4
+ /**
5
+ * Moove_Functions File Doc Comment
6
+ *
7
+ * @category Moove_Functions
8
+ * @package moove-gdpr-tracking
9
+ * @author Gaspar Nemes
10
+ */
11
+
12
+ function moove_gdpr_get_plugin_directory_url(){
13
+ return plugin_dir_url( __FILE__ );
14
+ }
15
+
16
+ add_filter( 'plugin_action_links', 'moove_gdpr_plugin_settings_link', 10, 2 );
17
+
18
+ function moove_gdpr_plugin_settings_link( $links, $file ) {
19
+ if ( $file == plugin_basename(dirname(__FILE__) . '/moove-gdpr.php') ) {
20
+ /*
21
+ * Insert the settings page link at the beginning
22
+ */
23
+ $in = '<a href="options-general.php?page=moove-gdpr">' . __('Settings','moove-gdpr') . '</a>';
24
+ array_unshift($links, $in);
25
+
26
+ }
27
+ return $links;
28
+ }
moove-gdpr.php ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
+
4
+ /**
5
+ * Contributors: MooveAgency, gaspar.nemes
6
+ * Plugin Name: GDPR Cookie Compliance
7
+ * Plugin URI: https://wordpress.org/plugins/gdpr-cookie-compliance/
8
+ * Description: GDPR is an EU wide legislation that specifies how user data should be handled. This plugin has settings that can assist you with GDPR cookie compliance requirements.
9
+ * Version: 1.0.0
10
+ * Author: Moove Agency
11
+ * Author URI: https://www.mooveagency.com
12
+ * License: GPLv2
13
+ * Text Domain: moove-gdpr
14
+ */
15
+
16
+ register_activation_hook( __FILE__ , 'moove_gdpr_activate' );
17
+ register_deactivation_hook( __FILE__ , 'moove_gdpr_deactivate' );
18
+
19
+ /**
20
+ * Functions on plugin activation, create relevant pages and defaults for settings page.
21
+ */
22
+
23
+ function moove_gdpr_activate() {
24
+
25
+ }
26
+
27
+ /**
28
+ * Function on plugin deactivation. It removes the pages created before.
29
+ */
30
+ function moove_gdpr_deactivate() {
31
+
32
+ }
33
+
34
+ include_once( dirname( __FILE__ ).DIRECTORY_SEPARATOR.'moove-view.php' );
35
+ include_once( dirname( __FILE__ ).DIRECTORY_SEPARATOR.'moove-content.php' );
36
+ include_once( dirname( __FILE__ ).DIRECTORY_SEPARATOR.'moove-options.php' );
37
+ include_once( dirname( __FILE__ ).DIRECTORY_SEPARATOR.'moove-controller.php' );
38
+ include_once( dirname( __FILE__ ).DIRECTORY_SEPARATOR.'moove-actions.php' );
39
+ include_once( dirname( __FILE__ ).DIRECTORY_SEPARATOR.'moove-functions.php' );
40
+
moove-options.php ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
+
4
+ /**
5
+ * Moove_GDPR_Options File Doc Comment
6
+ *
7
+ * @category Moove_GDPR_Options
8
+ * @package moove-gdpr-tracking
9
+ * @author Gaspar Nemes
10
+ */
11
+
12
+ /**
13
+ * Moove_GDPR_Options Class Doc Comment
14
+ *
15
+ * @category Class
16
+ * @package Moove_GDPR_Options
17
+ * @author Gaspar Nemes
18
+ */
19
+ class Moove_GDPR_Options {
20
+ /**
21
+ * Global options
22
+ *
23
+ * @var array
24
+ */
25
+ private $options;
26
+ /**
27
+ * Construct
28
+ */
29
+ function __construct() {
30
+ add_action( 'admin_menu', array( &$this, 'moove_gdpr_admin_menu' ) );
31
+ }
32
+
33
+ /**
34
+ * Moove feed importer page added to settings
35
+ *
36
+ * @return void
37
+ */
38
+ function moove_gdpr_admin_menu() {
39
+ add_options_page(
40
+ 'GDPR Cookie',
41
+ 'GDPR Cookie',
42
+ 'manage_options',
43
+ 'moove-gdpr',
44
+ array( &$this, 'moove_gdpr_settings_page' )
45
+ );
46
+ }
47
+ /**
48
+ * Settings page registration
49
+ *
50
+ * @return void
51
+ */
52
+ function moove_gdpr_settings_page() {
53
+ $data = array();
54
+ echo Moove_GDPR_View::load( 'moove.admin.settings.settings_page', $data );
55
+ }
56
+
57
+ }
58
+ $moove_gdpr_options = new Moove_GDPR_Options();
moove-view.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
+
4
+ /**
5
+ * Moove_GDPR_View File Doc Comment
6
+ *
7
+ * @category Moove_GDPR_View
8
+ * @package moove-gdpr-tracking
9
+ * @author Gaspar Nemes
10
+ */
11
+
12
+ /**
13
+ * Moove_GDPR_View Class Doc Comment
14
+ *
15
+ * @category Class
16
+ * @package Moove_GDPR_View
17
+ * @author Gaspar Nemes
18
+ */
19
+ class Moove_GDPR_View {
20
+ /**
21
+ * Load and update view
22
+ *
23
+ * Parameters:
24
+ *
25
+ * @param string $view // the view to load, dot used as directory separator, no file extension given.
26
+ * @param mixed $data // The data to display in the view (could be anything, even an object).
27
+ */
28
+ public static function load( $view, $data ) {
29
+ $view_file_origin = dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'views';
30
+ $view_name = str_replace( '.' , DIRECTORY_SEPARATOR , $view ) . '.php';
31
+ if ( locate_template( 'moove-externals' . DIRECTORY_SEPARATOR . $view_name ) ) :
32
+ $view_file_origin = get_template_directory() . DIRECTORY_SEPARATOR . 'moove-externals';
33
+ endif;
34
+ ob_start();
35
+ include $view_file_origin . DIRECTORY_SEPARATOR . $view_name;
36
+ return ob_get_clean();
37
+ }
38
+ }
readme.txt ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === GDPR Cookie Compliance ===
2
+ Contributors: MooveAgency, gaspar.nemes
3
+ Stable tag: trunk
4
+ Tags: gdpr
5
+ Requires at least: 3.0.1 or higher
6
+ Tested up to: 4.9.5
7
+ Requires PHP: 5.6
8
+ License: GPLv2
9
+
10
+ GDPR is an EU wide legislation that specifies how user data should be handled. This plugin has settings that can assist you with GDPR cookie compliance requirements.
11
+
12
+ == Description ==
13
+
14
+ **What is GDPR?**
15
+
16
+ General Data Protection Regulation (GDPR) is a European regulation to strengthen and unify the data protection of EU citizens. ([https://www.eugdpr.org/](https://www.eugdpr.org/))
17
+
18
+ **GDPR and Cookie Compliance**
19
+
20
+ * GDPR states that as a website owner, you cannot assume a user has opted into the cookies being used on your website - the user must give a positive opt in or "affirmative action" to signal their consent to the use of cookies and you also cannot force users to opt into the use of cookies.
21
+ * Users who do not give consent should have the same experience of your website as those who give consent, which means you have to provide the same level of service and experience to those who do not accept the cookies.
22
+ * Consent will need to be specific to the different cookie purposes with the ability to enable and disable cookies at a granular level for each cookie.
23
+ * It also means that you should not be tracking users on your website with tools such as Google Analytics until they give you a specific permission to do so.
24
+
25
+ **How this plugin works**
26
+
27
+ * This plugin is designed to help you prepare your website for the GDPR regulations related to cookies but IT WILL NOT MAKE IT FULLY COMPLIANT - this plugin is just a template and needs to be setup by your developer in order to work properly.
28
+ * Once installed, the plugin gives you a template that you can customise; you can modify all text and colours to suit your needs.
29
+ * You can also allow users to enable and disable cookies on your site, however, this will require bespoke development work as every site is unique and uses different cookies.
30
+
31
+ **Demo Video**
32
+
33
+ You can view a demo of the plugin here: [GDPR Cookie Compliance Plugin by Moove Agency](https://vimeo.com/255655268)
34
+
35
+ **Disclaimer**
36
+
37
+ * Please note, it is possible that you will see a drop of perceived traffic and visitor numbers in your various analytics such as Google Analytics. This is because GDPR legislations state that you cannot track users unless they explicitly give consent by enabling the 3rd party tracking and cookies.
38
+ * This plugin will require technical support from your developer to ensure that it is implemented correctly on your website.
39
+ * This is a general plugin with basic functionality. We advise that you to seek independent legal advice on this topic.
40
+ * THIS PLUGIN DOES NOT MAKE YOUR WEBSITE COMPLIANT. YOU ARE RESPONSIBLE FOR ENSURING THAT ALL GDPR REQUIREMENTS ARE MET ON YOUR WEBSITE.
41
+
42
+ **Contributors**
43
+
44
+ This plugin was developed by [Moove Agency](https://www.mooveagency.com).
45
+
46
+ == Installation ==
47
+ 1. Upload the plugin files to the plugins directory, or install the plugin through the WordPress plugins screen directly.
48
+ 2. Activate the plugin through the \'Plugins\' screen in WordPress.
49
+ 3. Settings are available in the "GDPR Cookie" menu under the Settings.
50
+ 4. Use the Settings screen to configure the plugin.
51
+
52
+ = 1.0.0. =
53
+ * Initial release of the plugin.
views/moove/admin/settings/advanced_cookies.php ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $option_name = 'moove_gdpr_plugin_settings';
3
+ $gdpr_options = get_option( $option_name );
4
+ $gdpr_options = is_array( $gdpr_options ) ? $gdpr_options : array();
5
+ if ( isset( $_POST ) && $_POST['moove_gdpr_nonce'] ) :
6
+ $nonce = sanitize_key( $_POST['moove_gdpr_nonce'] );
7
+ if ( ! wp_verify_nonce( $nonce, 'moove_gdpr_nonce_field' ) ) :
8
+ die( 'Security check' );
9
+ else :
10
+ if ( is_array( $_POST ) ) :
11
+ $empty_scripts = false;
12
+ if ( isset( $_POST['moove_gdpr_advanced_cookies_enable'] ) && intval( $_POST['moove_gdpr_advanced_cookies_enable'] ) === 1 ) :
13
+ $value = 1;
14
+ else :
15
+ $value = 0;
16
+ endif;
17
+ if ( $value === 1 ) :
18
+ $post_key = 'moove_gdpr_advanced_cookies_footer_scripts';
19
+ if ( isset( $_POST[ $post_key ] ) && strlen( sanitize_text_field( $_POST[ $post_key ] ) ) == 0 ) :
20
+ $empty_scripts = true;
21
+ endif;
22
+ endif;
23
+ if ( ! $empty_scripts ) :
24
+ $gdpr_options['moove_gdpr_advanced_cookies_enable'] = $value;
25
+ update_option( $option_name, $gdpr_options );
26
+ $gdpr_options = get_option( $option_name );
27
+ foreach ( $_POST as $form_key => $form_value ) :
28
+ if ( $form_key === 'moove_gdpr_advanced_cookies_tab_content' ) :
29
+ $value = apply_filters( 'the_content', wp_unslash( $form_value ) );
30
+ $gdpr_options[$form_key] = $value;
31
+ update_option( $option_name, $gdpr_options );
32
+ $gdpr_options = get_option( $option_name );
33
+ elseif ( $form_key === 'moove_gdpr_advanced_cookies_footer_scripts' ) :
34
+ $value = wp_unslash( $form_value );
35
+ $gdpr_options[$form_key] = maybe_serialize( $value );
36
+ update_option( $option_name, $gdpr_options );
37
+ $gdpr_options = get_option( $option_name );
38
+ elseif ( $form_key !== 'moove_gdpr_advanced_cookies_enable' ) :
39
+ $value = sanitize_text_field( $form_value );
40
+ $gdpr_options[$form_key] = $value;
41
+ update_option( $option_name, $gdpr_options );
42
+ $gdpr_options = get_option( $option_name );
43
+ endif;
44
+ endforeach;
45
+ endif;
46
+ endif;
47
+ ?>
48
+ <?php if ( $empty_scripts ) : ?>
49
+ <script>
50
+ jQuery('#moove-gdpr-setting-error-settings_updated').hide();
51
+ jQuery('#moove-gdpr-setting-error-settings_scripts_empty').show();
52
+ </script>
53
+
54
+ <?php else : ?>
55
+ <script>
56
+ jQuery('#moove-gdpr-setting-error-settings_scripts_empty').hide();
57
+ jQuery('#moove-gdpr-setting-error-settings_updated').show();
58
+ </script>
59
+ <?php endif;
60
+ endif;
61
+ endif;
62
+ ?>
63
+ <br />
64
+ <?php
65
+ $nav_label = isset( $gdpr_options['moove_gdpr_advanced_cookies_tab_title'] ) && $gdpr_options['moove_gdpr_advanced_cookies_tab_title'] ? $gdpr_options['moove_gdpr_advanced_cookies_tab_title'] : __('Additional Cookies','moove-gdpr');
66
+ ?>
67
+ <h2><?php echo $nav_label; ?></h2>
68
+ <hr />
69
+ <form action="?page=moove-gdpr&amp;tab=advanced_cookies" method="post" id="moove_gdpr_tab_advanced_cookies">
70
+ <?php wp_nonce_field( 'moove_gdpr_nonce_field', 'moove_gdpr_nonce' ); ?>
71
+ <table class="form-table <?php echo $empty_scripts ? 'moove-gdpr-form-error' : ''; ?>">
72
+ <tbody>
73
+ <tr>
74
+ <th scope="row">
75
+ <label for="moove_gdpr_advanced_cookies_enable">Turn</label>
76
+ </th>
77
+ <td>
78
+ <input name="moove_gdpr_advanced_cookies_enable" type="radio" value="1" id="moove_gdpr_advanced_cookies_enable_on" <?php echo isset( $gdpr_options['moove_gdpr_advanced_cookies_enable'] ) ? ( intval( $gdpr_options['moove_gdpr_advanced_cookies_enable'] ) === 1 ? 'checked' : '' ) : 'checked'; ?> class="regular-text on-off"> <label for="moove_gdpr_advanced_cookies_enable_on">On</label> <span class="separator"></span>
79
+ <input name="moove_gdpr_advanced_cookies_enable" type="radio" value="0" id="moove_gdpr_advanced_cookies_enable_off" <?php echo isset( $gdpr_options['moove_gdpr_advanced_cookies_enable'] ) ? ( intval( $gdpr_options['moove_gdpr_advanced_cookies_enable'] ) === 0 ? 'checked' : '' ) : 'checked'; ?> class="regular-text on-off"> <label for="moove_gdpr_advanced_cookies_enable_off">Off</label>
80
+ </td>
81
+ </tr>
82
+
83
+ <tr>
84
+ <th scope="row">
85
+ <label for="moove_gdpr_advanced_cookies_tab_title">Tab Title</label>
86
+ </th>
87
+ <td>
88
+ <input name="moove_gdpr_advanced_cookies_tab_title" type="text" id="moove_gdpr_advanced_cookies_tab_title" value="<?php echo isset( $gdpr_options['moove_gdpr_advanced_cookies_tab_title'] ) && $gdpr_options['moove_gdpr_advanced_cookies_tab_title'] ? $gdpr_options['moove_gdpr_advanced_cookies_tab_title'] : __('Additional Cookies','moove-gdpr'); ?>" class="regular-text">
89
+ </td>
90
+ </tr>
91
+
92
+ <tr>
93
+ <th scope="row" colspan="2" style="padding-bottom: 0;">
94
+ <label for="moove_gdpr_advanced_cookies_tab_content">Tab Content</label>
95
+ </th>
96
+ </tr>
97
+ <tr class="moove_gdpr_table_form_holder">
98
+ <th colspan="2" scope="row">
99
+ <?php
100
+ $content = isset( $gdpr_options['moove_gdpr_advanced_cookies_tab_content'] ) && $gdpr_options['moove_gdpr_advanced_cookies_tab_content'] ? maybe_unserialize( $gdpr_options['moove_gdpr_advanced_cookies_tab_content'] ) : false;
101
+ if ( ! $content ) :
102
+ $content = Moove_GDPR_Content::moove_gdpr_get_advanced_cookies_content();
103
+ endif;
104
+ ?>
105
+ <?php
106
+ $settings = array (
107
+ 'media_buttons' => false,
108
+ 'editor_height' => 150,
109
+ );
110
+ wp_editor( $content, 'moove_gdpr_advanced_cookies_tab_content', $settings );
111
+ ?>
112
+ </th>
113
+ </tr>
114
+
115
+ <tr>
116
+ <th scope="row" colspan="2" style="padding-bottom: 0;">
117
+ <label for="moove_gdpr_advanced_cookies_footer_scripts">The below script will be added to the page if user enables this cookie.</label>
118
+ </th>
119
+ </tr>
120
+ <tr class="moove_gdpr_advanced_cookies_footer_scripts">
121
+ <th scope="row" colspan="2">
122
+ <?php $content = isset( $gdpr_options['moove_gdpr_advanced_cookies_footer_scripts'] ) && $gdpr_options['moove_gdpr_advanced_cookies_footer_scripts'] ? wp_unslash( $gdpr_options['moove_gdpr_advanced_cookies_footer_scripts'] ) : '';
123
+ ?>
124
+ <textarea name="moove_gdpr_advanced_cookies_footer_scripts" id="moove_gdpr_advanced_cookies_footer_scripts" class="large-text code" rows="13"><?php echo $content; ?></textarea>
125
+ <p class="description" id="moove_gdpr_advanced_cookies_footer_scripts-description">For example, you can use it for Google Analytics script or any other 3rd party code snippets.</p>
126
+ </th>
127
+ </tr>
128
+ </tbody>
129
+ </table>
130
+
131
+ <hr />
132
+ <br />
133
+ <button type="submit" class="button button-primary">Save changes</button>
134
+ </form>
views/moove/admin/settings/cookie_policy.php ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $option_name = 'moove_gdpr_plugin_settings';
3
+ $gdpr_options = get_option( $option_name );
4
+ $gdpr_options = is_array( $gdpr_options ) ? $gdpr_options : array();
5
+ if ( isset( $_POST ) && $_POST['moove_gdpr_nonce'] ) :
6
+ $nonce = sanitize_key( $_POST['moove_gdpr_nonce'] );
7
+ if ( ! wp_verify_nonce( $nonce, 'moove_gdpr_nonce_field' ) ) :
8
+ die( 'Security check' );
9
+ else :
10
+ if ( is_array( $_POST ) ) :
11
+ if ( isset( $_POST['moove_gdpr_cookie_policy_enable'] ) && intval( $_POST['moove_gdpr_cookie_policy_enable'] ) === 1 ) :
12
+ $value = 1;
13
+ else :
14
+ $value = 0;
15
+ endif;
16
+ $gdpr_options['moove_gdpr_cookie_policy_enable'] = $value;
17
+ update_option( $option_name, $gdpr_options );
18
+ $gdpr_options = get_option( $option_name );
19
+ foreach ( $_POST as $form_key => $form_value ) :
20
+ if ( $form_key === 'moove_gdpr_cookies_policy_tab_content' ) :
21
+ $value = apply_filters( 'the_content', wp_unslash( $form_value ) );
22
+ $gdpr_options[$form_key] = $value;
23
+ update_option( $option_name, $gdpr_options );
24
+ $gdpr_options = get_option( $option_name );
25
+ elseif ( $form_key !== 'moove_gdpr_cookie_policy_enable' ) :
26
+ $value = sanitize_text_field( $form_value );
27
+ $gdpr_options[$form_key] = $value;
28
+ update_option( $option_name, $gdpr_options );
29
+ $gdpr_options = get_option( $option_name );
30
+ endif;
31
+ endforeach;
32
+ endif;
33
+ ?>
34
+ <script>
35
+ jQuery('#moove-gdpr-setting-error-settings_updated').show();
36
+ </script>
37
+ <?php
38
+ endif;
39
+ endif;
40
+ ?>
41
+ <br />
42
+ <?php
43
+ $nav_label = isset( $gdpr_options['moove_gdpr_cookie_policy_tab_nav_label'] ) && $gdpr_options['moove_gdpr_cookie_policy_tab_nav_label'] ? $gdpr_options['moove_gdpr_cookie_policy_tab_nav_label'] : __('Cookie Policy','moove-gdpr');
44
+ ?>
45
+ <h2><?php echo $nav_label; ?></h2>
46
+ <hr />
47
+ <form action="?page=moove-gdpr&amp;tab=cookie_policy" method="post" id="moove_gdpr_tab_cookie_policy">
48
+ <?php wp_nonce_field( 'moove_gdpr_nonce_field', 'moove_gdpr_nonce' ); ?>
49
+ <table class="form-table">
50
+ <tbody>
51
+ <tr>
52
+ <th scope="row">
53
+ <label for="moove_gdpr_cookie_policy_enable">Turn</label>
54
+ </th>
55
+ <td>
56
+ <input name="moove_gdpr_cookie_policy_enable" type="radio" value="1" id="moove_gdpr_cookie_policy_enable_on" <?php echo isset( $gdpr_options['moove_gdpr_cookie_policy_enable'] ) ? ( intval( $gdpr_options['moove_gdpr_cookie_policy_enable'] ) === 1 ? 'checked' : '' ) : 'checked'; ?> class="regular-text on-off"> <label for="moove_gdpr_cookie_policy_enable_on">On</label> <span class="separator"></span>
57
+ <input name="moove_gdpr_cookie_policy_enable" type="radio" value="0" id="moove_gdpr_cookie_policy_enable_off" <?php echo isset( $gdpr_options['moove_gdpr_cookie_policy_enable'] ) ? ( intval( $gdpr_options['moove_gdpr_cookie_policy_enable'] ) === 0 ? 'checked' : '' ) : 'checked'; ?> class="regular-text on-off"> <label for="moove_gdpr_cookie_policy_enable_off">Off</label>
58
+
59
+ </td>
60
+ </tr>
61
+ <tr>
62
+ <th scope="row">
63
+ <label for="moove_gdpr_cookie_policy_tab_nav_label">Tab Title</label>
64
+ </th>
65
+ <td>
66
+ <input name="moove_gdpr_cookie_policy_tab_nav_label" type="text" id="moove_gdpr_cookie_policy_tab_nav_label" value="<?php echo isset( $gdpr_options['moove_gdpr_cookie_policy_tab_nav_label'] ) && $gdpr_options['moove_gdpr_cookie_policy_tab_nav_label'] ? $gdpr_options['moove_gdpr_cookie_policy_tab_nav_label'] : __('Cookie Policy','moove-gdpr'); ?>" class="regular-text">
67
+ </td>
68
+ </tr>
69
+
70
+ <tr>
71
+ <th scope="row" colspan="2" style="padding-bottom: 0;">
72
+ <label for="moove_gdpr_cookies_policy_tab_content">Tab Content</label>
73
+ </th>
74
+ </tr>
75
+ <tr class="moove_gdpr_table_form_holder">
76
+ <th colspan="2" scope="row">
77
+ <?php
78
+ $content = isset( $gdpr_options['moove_gdpr_cookies_policy_tab_content'] ) && $gdpr_options['moove_gdpr_cookies_policy_tab_content'] ? wp_unslash( $gdpr_options['moove_gdpr_cookies_policy_tab_content'] ) : false;
79
+ if ( ! $content ) :
80
+ $_content = Moove_GDPR_Content::moove_gdpr_get_cookie_policy_content();
81
+ $content = apply_filters( 'the_content', $_content );
82
+ endif;
83
+ ?>
84
+ <?php
85
+ $settings = array (
86
+ 'media_buttons' => false,
87
+ 'editor_height' => 150,
88
+ );
89
+ wp_editor( $content, 'moove_gdpr_cookies_policy_tab_content', $settings );
90
+ ?>
91
+ </th>
92
+ </tr>
93
+
94
+ </tbody>
95
+ </table>
96
+
97
+ <hr />
98
+ <br />
99
+ <button type="submit" class="button button-primary">Save changes</button>
100
+ </form>
views/moove/admin/settings/general_settings.php ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $option_name = 'moove_gdpr_plugin_settings';
3
+ $gdpr_options = get_option( $option_name );
4
+ $gdpr_options = is_array( $gdpr_options ) ? $gdpr_options : array();
5
+ if ( isset( $_POST ) && $_POST['moove_gdpr_nonce'] ) :
6
+ $nonce = sanitize_key( $_POST['moove_gdpr_nonce'] );
7
+ if ( ! wp_verify_nonce( $nonce, 'moove_gdpr_nonce_field' ) ) :
8
+ die( 'Security check' );
9
+ else :
10
+ if ( is_array( $_POST ) ) :
11
+ if ( isset( $_POST['moove_gdpr_floating_button_enable'] ) ) :
12
+ $value = 1;
13
+ else :
14
+ $value = 0;
15
+ endif;
16
+ $gdpr_options['moove_gdpr_floating_button_enable'] = $value;
17
+ update_option( $option_name, $gdpr_options );
18
+ $gdpr_options = get_option( $option_name );
19
+ foreach ( $_POST as $form_key => $form_value ) :
20
+ if ( $form_key === 'moove_gdpr_info_bar_content' ) :
21
+ $form_value = wp_strip_all_tags( $form_value );
22
+ $value = apply_filters( 'the_content', $form_value );
23
+ $gdpr_options[$form_key] = $value;
24
+ update_option( $option_name, $gdpr_options );
25
+ $gdpr_options = get_option( $option_name );
26
+ elseif ( $form_key !== 'moove_gdpr_floating_button_enable' ) :
27
+ $value = sanitize_text_field( $form_value );
28
+ $gdpr_options[$form_key] = $value;
29
+ update_option( $option_name, $gdpr_options );
30
+ $gdpr_options = get_option( $option_name );
31
+ endif;
32
+ endforeach;
33
+ endif;
34
+ ?>
35
+ <script>
36
+ jQuery('#moove-gdpr-setting-error-settings_updated').show();
37
+ </script>
38
+ <?php
39
+ endif;
40
+ endif;
41
+ ?>
42
+ <br />
43
+ <form action="?page=moove-gdpr&amp;tab=general_settings" method="post" id="moove_gdpr_tab_general_settings">
44
+ <h2>Modal General Settings</h2>
45
+ <hr />
46
+ <?php wp_nonce_field( 'moove_gdpr_nonce_field', 'moove_gdpr_nonce' ); ?>
47
+ <table class="form-table">
48
+ <tbody>
49
+
50
+ <tr>
51
+ <th scope="row">
52
+ <label for="moove_gdpr_brand_colour">Brand Primary Colour</label>
53
+ </th>
54
+ <td>
55
+ <input class="jscolor {hash:true} regular-text" name="moove_gdpr_brand_colour" value="<?php echo isset( $gdpr_options['moove_gdpr_brand_colour'] ) && $gdpr_options['moove_gdpr_brand_colour'] ? $gdpr_options['moove_gdpr_brand_colour'] : '0C4DA2'; ?>" >
56
+ </td>
57
+ </tr>
58
+
59
+ <tr>
60
+ <th scope="row">
61
+ <label for="moove_gdpr_brand_secondary_colour">Brand Secondary Colour</label>
62
+ </th>
63
+ <td>
64
+ <input class="jscolor {hash:true} regular-text" name="moove_gdpr_brand_secondary_colour" value="<?php echo isset( $gdpr_options['moove_gdpr_brand_secondary_colour'] ) && $gdpr_options['moove_gdpr_brand_secondary_colour'] ? $gdpr_options['moove_gdpr_brand_secondary_colour'] : '000000'; ?>" >
65
+ </td>
66
+ </tr>
67
+
68
+ <tr>
69
+ <th scope="row">
70
+ <label for="moove_gdpr_company_logo">Modal Logo</label>
71
+ <p class="description">Recommended size:<br>130 x 50 pixels</p>
72
+ <!-- .description -->
73
+ </th>
74
+ <td>
75
+ <?php
76
+ if ( function_exists( 'wp_enqueue_media' ) ) :
77
+ wp_enqueue_media();
78
+ else:
79
+ wp_enqueue_style('thickbox');
80
+ wp_enqueue_script('media-upload');
81
+ wp_enqueue_script('thickbox');
82
+ endif;
83
+ ?>
84
+ <?php
85
+ $plugin_dir = moove_gdpr_get_plugin_directory_url();
86
+ $image_url = isset( $gdpr_options['moove_gdpr_company_logo'] ) && $gdpr_options['moove_gdpr_company_logo'] ? $gdpr_options['moove_gdpr_company_logo'] : $plugin_dir.'dist/images/moove-logo.png';
87
+ ?>
88
+ <span class="moove_gdpr_company_logo_holder" style="background-image: url(<?php echo $image_url; ?>);"></span><br /><br />
89
+ <input class="regular-text code" type="text" name="moove_gdpr_company_logo" value="<?php echo $image_url; ?>" required> <br /><br />
90
+ <a href="#" class="button moove_gdpr_company_logo_upload">Upload Logo</a>
91
+ <script>
92
+ jQuery(document).ready(function($) {
93
+ $('.moove_gdpr_company_logo_upload').click(function(e) {
94
+ e.preventDefault();
95
+
96
+ var custom_uploader = wp.media({
97
+ title: 'GDPR Modal - Company Logo',
98
+ button: {
99
+ text: 'Upload Logo'
100
+ },
101
+ multiple: false // Set this to true to allow multiple files to be selected
102
+ })
103
+ .on('select', function() {
104
+ var attachment = custom_uploader.state().get('selection').first().toJSON();
105
+ $('.moove_gdpr_company_logo_holder').css('background-image', 'url('+attachment.url+')');
106
+ $('input[name=moove_gdpr_company_logo]').val(attachment.url);
107
+
108
+ })
109
+ .open();
110
+ });
111
+ });
112
+ </script>
113
+ </td>
114
+ </tr>
115
+
116
+ <tr>
117
+ <th scope="row">
118
+ <label for="moove_gdpr_modal_save_button_label">Save Settings - Button Label</label>
119
+ </th>
120
+ <td>
121
+ <input name="moove_gdpr_modal_save_button_label" type="text" id="moove_gdpr_modal_save_button_label" value="<?php echo isset( $gdpr_options['moove_gdpr_modal_save_button_label'] ) && $gdpr_options['moove_gdpr_modal_save_button_label'] ? $gdpr_options['moove_gdpr_modal_save_button_label'] : __('Save Changes','moove-gdpr'); ?>" class="regular-text">
122
+ </td>
123
+ </tr>
124
+
125
+ <tr>
126
+ <th scope="row">
127
+ <label for="moove_gdpr_modal_allow_button_label">Enable All - Button Label</label>
128
+ </th>
129
+ <td>
130
+ <input name="moove_gdpr_modal_allow_button_label" type="text" id="moove_gdpr_modal_allow_button_label" value="<?php echo isset( $gdpr_options['moove_gdpr_modal_allow_button_label'] ) && $gdpr_options['moove_gdpr_modal_allow_button_label'] ? $gdpr_options['moove_gdpr_modal_allow_button_label'] : __('Enable All','moove-gdpr'); ?>" class="regular-text">
131
+ </td>
132
+ </tr>
133
+
134
+ </tbody>
135
+ </table>
136
+ <br />
137
+ <hr />
138
+ <h2>Cookie Info Bar Settings</h2>
139
+ <hr />
140
+
141
+ <table class="form-table">
142
+ <tbody>
143
+ <tr>
144
+ <th scope="row" colspan="2" style="padding-bottom: 0;">
145
+ <label for="moove_gdpr_info_bar_content">Infobar Content</label>
146
+ </th>
147
+ </tr>
148
+ <tr class="moove_gdpr_table_form_holder">
149
+ <th colspan="2" scope="row">
150
+ <?php
151
+ $content = isset( $gdpr_options['moove_gdpr_info_bar_content'] ) && $gdpr_options['moove_gdpr_info_bar_content'] ? maybe_unserialize( $gdpr_options['moove_gdpr_info_bar_content'] ) : false;
152
+ if ( ! $content ) :
153
+ $_content = "<p>We are using cookies to give you the best experience on our website.</p><p>You can find out more about which cookies we are using or switch them off in [setting]settings[/setting].</p>";
154
+ $content = apply_filters( 'the_content', $_content );
155
+ endif;
156
+ ?>
157
+ <?php
158
+ $settings = array (
159
+ 'media_buttons' => false,
160
+ 'editor_height' => 150,
161
+ 'teeny' => true
162
+ );
163
+ wp_editor( $content, 'moove_gdpr_info_bar_content', $settings );
164
+ ?>
165
+ <p class="description">You can use the following shortcut to link the settings modal:<br><span><strong>[setting]</strong>settings<strong>[/setting]</strong></span></p>
166
+ </th>
167
+ </tr>
168
+ <tr>
169
+ <th scope="row">
170
+ <label for="moove_gdpr_infobar_accept_button_label">Accept - Button Label</label>
171
+ </th>
172
+ <td>
173
+ <input name="moove_gdpr_infobar_accept_button_label" type="text" id="moove_gdpr_infobar_accept_button_label" value="<?php echo isset( $gdpr_options['moove_gdpr_infobar_accept_button_label'] ) && $gdpr_options['moove_gdpr_infobar_accept_button_label'] ? $gdpr_options['moove_gdpr_infobar_accept_button_label'] : __('Accept','moove-gdpr'); ?>" class="regular-text">
174
+ </td>
175
+ </tr>
176
+
177
+ <tr>
178
+ <th scope="row">
179
+ <label for="moove_gdpr_colour_scheme">Colour scheme</label>
180
+ </th>
181
+ <td>
182
+ <fieldset>
183
+ <legend class="screen-reader-text"><span>Enable</span></legend>
184
+ <input name="moove_gdpr_colour_scheme" type="radio" <?php echo isset( $gdpr_options['moove_gdpr_colour_scheme'] ) ? ( intval( $gdpr_options['moove_gdpr_colour_scheme'] ) === 1 ? 'checked' : ( ! isset( $gdpr_options['moove_gdpr_colour_scheme'] ) ? 'checked' : '' ) ) : 'checked'; ?> id="moove_gdpr_colour_scheme_dark" value="1">
185
+ <label for="moove_gdpr_colour_scheme_dark">Dark</label> <br>
186
+
187
+ <input name="moove_gdpr_colour_scheme" type="radio" <?php echo isset( $gdpr_options['moove_gdpr_colour_scheme'] ) ? ( intval( $gdpr_options['moove_gdpr_colour_scheme'] ) === 2 ? 'checked' : '' ) : ''; ?> id="moove_gdpr_colour_scheme_light" value="2">
188
+ <label for="moove_gdpr_colour_scheme_light">Light</label>
189
+ </fieldset>
190
+ </td>
191
+ </tr>
192
+
193
+ </tbody>
194
+ </table>
195
+
196
+ <br />
197
+ <hr />
198
+ <h2>Change Settings - Floating Button</h2>
199
+ <hr />
200
+
201
+ <table class="form-table">
202
+ <tbody>
203
+ <tr>
204
+ <th scope="row">
205
+ <label for="moove_gdpr_floating_button_enable">Enable Floating Button</label>
206
+ </th>
207
+ <td>
208
+ <fieldset>
209
+ <legend class="screen-reader-text"><span>Enable</span></legend>
210
+ <label for="moove_gdpr_floating_button_enable">
211
+ <input name="moove_gdpr_floating_button_enable" type="checkbox" <?php echo isset( $gdpr_options['moove_gdpr_floating_button_enable'] ) ? ( intval( $gdpr_options['moove_gdpr_floating_button_enable'] ) === 1 ? 'checked' : '' ) : ''; ?> id="moove_gdpr_floating_button_enable" value="1">
212
+ Enable</label>
213
+ </fieldset>
214
+ </td>
215
+ </tr>
216
+
217
+ <tr>
218
+ <th scope="row">
219
+ <label for="moove_gdpr_floating_button_label">Button - Hover Label</label>
220
+ </th>
221
+ <td>
222
+ <input name="moove_gdpr_floating_button_label" type="text" id="moove_gdpr_floating_button_label" value="<?php echo isset( $gdpr_options['moove_gdpr_floating_button_label'] ) && $gdpr_options['moove_gdpr_floating_button_label'] ? $gdpr_options['moove_gdpr_floating_button_label'] : __('Change cookie settings','moove-gdpr'); ?>" class="regular-text">
223
+ </td>
224
+ </tr>
225
+
226
+ <tr>
227
+ <th scope="row">
228
+ <label for="moove_gdpr_floating_button_position">Button - Custom CSS</label>
229
+ </th>
230
+ <td>
231
+ <input name="moove_gdpr_floating_button_position" type="text" id="moove_gdpr_floating_button_position" value="<?php echo isset( $gdpr_options['moove_gdpr_floating_button_position'] ) && $gdpr_options['moove_gdpr_floating_button_position'] ? $gdpr_options['moove_gdpr_floating_button_position'] : 'bottom: 20px; left: 20px;'; ?>" class="regular-text">
232
+ <p class="description" id="moove_gdpr_floating_button_position-description">You can align the position eg.: <strong>top: 20px; right: 20px;</strong></p>
233
+ </td>
234
+ </tr>
235
+
236
+ </tbody>
237
+ </table>
238
+
239
+ <br />
240
+ <hr />
241
+ <br />
242
+ <button type="submit" class="button button-primary">Save changes</button>
243
+ </form>
views/moove/admin/settings/privacy_overview.php ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $option_name = 'moove_gdpr_plugin_settings';
3
+ $gdpr_options = get_option( $option_name );
4
+ $gdpr_options = is_array( $gdpr_options ) ? $gdpr_options : array();
5
+ if ( isset( $_POST ) && $_POST['moove_gdpr_nonce'] ) :
6
+ $nonce = sanitize_key( $_POST['moove_gdpr_nonce'] );
7
+ if ( ! wp_verify_nonce( $nonce, 'moove_gdpr_nonce_field' ) ) :
8
+ die( 'Security check' );
9
+ else :
10
+ if ( is_array( $_POST ) ) :
11
+ foreach ( $_POST as $form_key => $form_value ) :
12
+ if ( $form_key === 'moove_gdpr_privacy_overview_tab_content' ) :
13
+ $value = apply_filters( 'the_content', wp_unslash( $form_value ) );
14
+ $gdpr_options[$form_key] = $value;
15
+ update_option( $option_name, $gdpr_options );
16
+ $gdpr_options = get_option( $option_name );
17
+ else :
18
+ $value = sanitize_text_field( $form_value );
19
+ $gdpr_options[$form_key] = $value;
20
+ update_option( $option_name, $gdpr_options );
21
+ $gdpr_options = get_option( $option_name );
22
+ endif;
23
+ endforeach;
24
+ endif;
25
+ ?>
26
+ <script>
27
+ jQuery('#moove-gdpr-setting-error-settings_updated').show();
28
+ </script>
29
+ <?php
30
+ endif;
31
+ endif;
32
+ ?>
33
+ <br />
34
+
35
+ <?php
36
+ $nav_label = isset( $gdpr_options['moove_gdpr_privacy_overview_tab_title'] ) && $gdpr_options['moove_gdpr_privacy_overview_tab_title'] ? $gdpr_options['moove_gdpr_privacy_overview_tab_title'] : __('Privacy Overview','moove-gdpr');
37
+ ?>
38
+
39
+ <h2><?php echo $nav_label; ?></h2>
40
+ <hr />
41
+ <form action="?page=moove-gdpr&amp;tab=privacy_overview" method="post" id="moove_gdpr_tab_privacy_overview">
42
+ <?php wp_nonce_field( 'moove_gdpr_nonce_field', 'moove_gdpr_nonce' ); ?>
43
+ <table class="form-table">
44
+ <tbody>
45
+ <tr>
46
+ <th scope="row">
47
+ <label for="moove_gdpr_privacy_overview_tab_title">Tab Title</label>
48
+ </th>
49
+ <td>
50
+ <input name="moove_gdpr_privacy_overview_tab_title" type="text" id="moove_gdpr_privacy_overview_tab_title" value="<?php echo isset( $gdpr_options['moove_gdpr_privacy_overview_tab_title'] ) && $gdpr_options['moove_gdpr_privacy_overview_tab_title'] ? $gdpr_options['moove_gdpr_privacy_overview_tab_title'] : __('Privacy Overview','moove-gdpr'); ?>" class="regular-text">
51
+ </td>
52
+ </tr>
53
+
54
+ <tr>
55
+ <th scope="row" colspan="2" style="padding-bottom: 0;">
56
+ <label for="moove_gdpr_privacy_overview_tab_content">Tab Content</label>
57
+ </th>
58
+ </tr>
59
+ <tr class="moove_gdpr_table_form_holder">
60
+ <th colspan="2" scope="row">
61
+ <?php
62
+ $content = isset( $gdpr_options['moove_gdpr_privacy_overview_tab_content'] ) && $gdpr_options['moove_gdpr_privacy_overview_tab_content'] ? wp_unslash( $gdpr_options['moove_gdpr_privacy_overview_tab_content'] ) : false;
63
+ if ( ! $content ) :
64
+ $content = Moove_GDPR_Content::moove_gdpr_get_privacy_overview_content();
65
+ endif;
66
+ ?>
67
+ <?php
68
+ $settings = array (
69
+ 'media_buttons' => false,
70
+ 'editor_height' => 150,
71
+ );
72
+ wp_editor( $content, 'moove_gdpr_privacy_overview_tab_content', $settings );
73
+ ?>
74
+ </th>
75
+ </tr>
76
+ </tbody>
77
+ </table>
78
+
79
+ <hr />
80
+ <br />
81
+ <button type="submit" class="button button-primary">Save changes</button>
82
+ </form>
views/moove/admin/settings/settings_page.php ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="wrap" id="moove_form_checker_wrap">
2
+ <h1><?php _e('GDPR Cookie Compliance Plugin Settings','moove-gdpr'); ?></h1>
3
+ <div id="moove-gdpr-setting-error-settings_updated" class="updated settings-error notice is-dismissible" style="display:none;">
4
+ <p><strong>Settings saved.</strong></p>
5
+ <button type="button" class="notice-dismiss">
6
+ <span class="screen-reader-text">Dismiss this notice.</span>
7
+ </button>
8
+ </div>
9
+
10
+ <div id="moove-gdpr-setting-error-settings_scripts_empty" class="error settings-error notice is-dismissible" style="display:none;">
11
+ <p>
12
+ <strong>You need to insert the relevant script for the settings to be saved!</strong>
13
+ </p>
14
+ <button type="button" class="notice-dismiss">
15
+ <span class="screen-reader-text">Dismiss this notice.</span>
16
+ </button>
17
+ </div>
18
+
19
+ <h4>General Data Protection Regulation (GDPR) is a <a href="http://www.eugdpr.org/" target="_blank">European regulation</a> to strengthen and unify the data protection of EU citizens.<br> </h4>
20
+
21
+ <?php
22
+ $current_tab = sanitize_text_field( wp_unslash( $_GET['tab'] ) );
23
+ if( isset( $current_tab ) && $current_tab !== '' ) :
24
+ $active_tab = $current_tab;
25
+ else :
26
+ $active_tab = "general_settings";
27
+ endif; // end if
28
+
29
+ ob_start();
30
+ echo Moove_GDPR_View::load( 'moove.admin.settings.' . $active_tab , $data );
31
+ $tab_data = ob_get_clean();
32
+
33
+ $option_name = 'moove_gdpr_plugin_settings';
34
+ $modal_options = get_option( $option_name );
35
+ ?>
36
+
37
+ <h2 class="nav-tab-wrapper">
38
+ <a href="?page=moove-gdpr&amp;tab=general_settings" class="nav-tab <?php echo $active_tab == 'general_settings' ? 'nav-tab-active' : ''; ?>">
39
+ <?php _e('General Settings','moove-gdpr'); ?>
40
+ </a>
41
+
42
+ <?php
43
+ $nav_label = isset( $modal_options['moove_gdpr_privacy_overview_tab_title'] ) && $modal_options['moove_gdpr_privacy_overview_tab_title'] ? $modal_options['moove_gdpr_privacy_overview_tab_title'] : __('Privacy Overview','moove-gdpr');
44
+ ?>
45
+ <a href="?page=moove-gdpr&amp;tab=privacy_overview" class="nav-tab <?php echo $active_tab == 'privacy_overview' ? 'nav-tab-active' : ''; ?>">
46
+ <?php echo $nav_label; ?>
47
+ </a>
48
+
49
+ <?php
50
+ $nav_label = isset( $modal_options['moove_gdpr_strictly_necessary_cookies_tab_title'] ) && $modal_options['moove_gdpr_strictly_necessary_cookies_tab_title'] ? $modal_options['moove_gdpr_strictly_necessary_cookies_tab_title'] : __('Strictly Necessary Cookies','moove-gdpr');
51
+ ?>
52
+ <a href="?page=moove-gdpr&amp;tab=strictly_necessary_cookies" class="nav-tab <?php echo $active_tab == 'strictly_necessary_cookies' ? 'nav-tab-active' : ''; ?>">
53
+ <?php echo $nav_label; ?>
54
+ </a>
55
+
56
+ <?php
57
+ $nav_label = isset( $modal_options['moove_gdpr_performance_cookies_tab_title'] ) && $modal_options['moove_gdpr_performance_cookies_tab_title'] ? $modal_options['moove_gdpr_performance_cookies_tab_title'] : __('3rd Party Cookies','moove-gdpr');
58
+ ?>
59
+ <a href="?page=moove-gdpr&amp;tab=third_party_cookies" class="nav-tab <?php echo $active_tab == 'third_party_cookies' ? 'nav-tab-active' : ''; ?>">
60
+ <?php echo $nav_label; ?>
61
+ </a>
62
+
63
+ <?php
64
+ $nav_label = isset( $modal_options['moove_gdpr_advanced_cookies_tab_title'] ) && $modal_options['moove_gdpr_advanced_cookies_tab_title'] ? $modal_options['moove_gdpr_advanced_cookies_tab_title'] : __('Additional Cookies','moove-gdpr');
65
+ ?>
66
+ <a href="?page=moove-gdpr&amp;tab=advanced_cookies" class="nav-tab <?php echo $active_tab == 'advanced_cookies' ? 'nav-tab-active' : ''; ?>">
67
+ <?php echo $nav_label; ?>
68
+ </a>
69
+ <?php
70
+ $nav_label = isset( $modal_options['moove_gdpr_cookie_policy_tab_nav_label'] ) && $modal_options['moove_gdpr_cookie_policy_tab_nav_label'] ? $modal_options['moove_gdpr_cookie_policy_tab_nav_label'] : __('Cookie Policy','moove-gdpr');
71
+ ?>
72
+ <a href="?page=moove-gdpr&amp;tab=cookie_policy" class="nav-tab <?php echo $active_tab == 'cookie_policy' ? 'nav-tab-active' : ''; ?>">
73
+ <?php echo $nav_label; ?>
74
+ </a>
75
+ </h2>
76
+
77
+ <div class="moove-gdpr-form-container <?php echo $active_tab; ?>">
78
+ <a href="https://www.mooveagency.com" target="blank" title="WordPress agency"><span class="moove-logo"></span></a>
79
+ <?php echo $tab_data; ?>
80
+ </div>
81
+ <!-- moove-form-container -->
82
+ <div class="moove-gdpr-settings-branding">
83
+ <hr />
84
+ <p>This plugin has been developed by <a href="https://www.mooveagency.com/" title="WordPress Agency" target="_blank"><span></span></a> - <a href="https://www.mooveagency.com/" target="_blank" title="WordPress Agency">London WordPress Agency</a></p>
85
+ <hr />
86
+ </div>
87
+ <!-- .moove-gdpr-settings-branding -->
88
+ </div>
89
+ <!-- .wrap -->
90
+
91
+
views/moove/admin/settings/strictly_necessary_cookies.php ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $option_name = 'moove_gdpr_plugin_settings';
3
+ $gdpr_options = get_option( $option_name );
4
+ $gdpr_options = is_array( $gdpr_options ) ? $gdpr_options : array();
5
+ if ( isset( $_POST ) && $_POST['moove_gdpr_nonce'] ) :
6
+ $nonce = sanitize_key( $_POST['moove_gdpr_nonce'] );
7
+ if ( ! wp_verify_nonce( $nonce, 'moove_gdpr_nonce_field' ) ) :
8
+ die( 'Security check' );
9
+ else :
10
+ if ( is_array( $_POST ) ) :
11
+ foreach ( $_POST as $form_key => $form_value ) :
12
+ if ( $form_key === 'moove_gdpr_strict_necessary_cookies_tab_content' ) :
13
+ $value = apply_filters( 'the_content', wp_unslash( $form_value ) );
14
+ $gdpr_options[$form_key] = $value;
15
+ update_option( $option_name, $gdpr_options );
16
+ $gdpr_options = get_option( $option_name );
17
+ elseif ( $form_key !== 'moove_gdpr_strictly_necessary_cookies_enable' ) :
18
+ $value = sanitize_text_field( $form_value );
19
+ $gdpr_options[$form_key] = $value;
20
+ update_option( $option_name, $gdpr_options );
21
+ $gdpr_options = get_option( $option_name );
22
+ endif;
23
+ endforeach;
24
+ endif;
25
+ ?>
26
+ <script>
27
+ jQuery('#moove-gdpr-setting-error-settings_updated').show();
28
+ </script>
29
+ <?php
30
+ endif;
31
+ endif;
32
+ ?>
33
+ <br />
34
+ <?php
35
+ $nav_label = isset( $gdpr_options['moove_gdpr_strictly_necessary_cookies_tab_title'] ) && $gdpr_options['moove_gdpr_strictly_necessary_cookies_tab_title'] ? $gdpr_options['moove_gdpr_strictly_necessary_cookies_tab_title'] : __('Strictly Necessary Cookies','moove-gdpr');
36
+ ?>
37
+ <h2><?php echo $nav_label; ?></h2>
38
+ <hr />
39
+ <form action="?page=moove-gdpr&amp;tab=strictly_necessary_cookies" method="post" id="moove_gdpr_tab_strictly_necessary_cookies">
40
+ <?php wp_nonce_field( 'moove_gdpr_nonce_field', 'moove_gdpr_nonce' ); ?>
41
+ <table class="form-table">
42
+ <tbody>
43
+ <tr>
44
+ <th scope="row">
45
+ <label for="moove_gdpr_strictly_necessary_cookies_tab_title">Tab Title</label>
46
+ </th>
47
+ <td>
48
+ <input name="moove_gdpr_strictly_necessary_cookies_tab_title" type="text" id="moove_gdpr_strictly_necessary_cookies_tab_title" value="<?php echo isset( $gdpr_options['moove_gdpr_strictly_necessary_cookies_tab_title'] ) && $gdpr_options['moove_gdpr_strictly_necessary_cookies_tab_title'] ? $gdpr_options['moove_gdpr_strictly_necessary_cookies_tab_title'] : __('Strictly Necessary Cookies','moove-gdpr'); ?>" class="regular-text">
49
+ </td>
50
+ </tr>
51
+
52
+ <tr>
53
+ <th scope="row" colspan="2" style="padding-bottom: 0;">
54
+ <label for="moove_gdpr_strict_necessary_cookies_tab_content">Tab Content</label>
55
+ </th>
56
+ </tr>
57
+ <tr class="moove_gdpr_table_form_holder">
58
+ <th colspan="2" scope="row">
59
+ <?php
60
+ $content = isset( $gdpr_options['moove_gdpr_strict_necessary_cookies_tab_content'] ) && $gdpr_options['moove_gdpr_strict_necessary_cookies_tab_content'] ? wp_unslash( $gdpr_options['moove_gdpr_strict_necessary_cookies_tab_content'] ) : false;
61
+ if ( ! $content ) :
62
+ $content = Moove_GDPR_Content::moove_gdpr_get_strict_necessary_content();
63
+ endif;
64
+ ?>
65
+ <?php
66
+ $settings = array (
67
+ 'media_buttons' => false,
68
+ 'editor_height' => 150,
69
+ );
70
+ wp_editor( $content, 'moove_gdpr_strict_necessary_cookies_tab_content', $settings );
71
+ ?>
72
+ </th>
73
+ </tr>
74
+
75
+ <tr>
76
+ <th scope="row" style="padding-bottom: 0;" colspan="2">
77
+ <label for="moove_gdpr_strictly_necessary_cookies_warning">Tab Warning Message</label>
78
+ </th>
79
+ </tr>
80
+ <tr>
81
+ <th style="padding-top: 10px;" colspan="2">
82
+ <?php $content = isset( $gdpr_options['moove_gdpr_strictly_necessary_cookies_warning'] ) && $gdpr_options['moove_gdpr_strictly_necessary_cookies_warning'] ? $gdpr_options['moove_gdpr_strictly_necessary_cookies_warning'] : Moove_GDPR_Content::moove_gdpr_get_strict_necessary_warning(); ?>
83
+ <textarea name="moove_gdpr_strictly_necessary_cookies_warning" id="moove_gdpr_strictly_necessary_cookies_warning" class="large-text code" style="width: 570px; font-size: 12px;" rows="3"><?php echo $content; ?></textarea>
84
+ <p class="description" id="moove_gdpr_strictly_necessary_cookies_warning-description">Will be displayed below the Checkbox in the front-end!</p>
85
+ </th>
86
+ </tr>
87
+ </tbody>
88
+ </table>
89
+
90
+ <hr />
91
+ <br />
92
+ <button type="submit" class="button button-primary">Save changes</button>
93
+ </form>
views/moove/admin/settings/third_party_cookies.php ADDED
@@ -0,0 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $option_name = 'moove_gdpr_plugin_settings';
3
+ $gdpr_options = get_option( $option_name );
4
+ $gdpr_options = is_array( $gdpr_options ) ? $gdpr_options : array();
5
+ if ( isset( $_POST ) && $_POST['moove_gdpr_nonce'] ) :
6
+ $nonce = sanitize_key( $_POST['moove_gdpr_nonce'] );
7
+ if ( ! wp_verify_nonce( $nonce, 'moove_gdpr_nonce_field' ) ) :
8
+ die( 'Security check' );
9
+ else :
10
+ if ( is_array( $_POST ) ) :
11
+ $empty_scripts = false;
12
+ if ( isset( $_POST['moove_gdpr_third_party_cookies_enable'] ) && intval( $_POST['moove_gdpr_third_party_cookies_enable'] ) === 1 ) :
13
+ $value = 1;
14
+ else :
15
+ $value = 0;
16
+ endif;
17
+ if ( $value === 1 ) :
18
+ $post_key = 'moove_gdpr_third_party_footer_scripts';
19
+ if ( isset( $_POST[ $post_key ] ) && strlen( sanitize_text_field( $_POST[ $post_key ] ) ) == 0 ) :
20
+ $empty_scripts = true;
21
+ endif;
22
+ endif;
23
+ if ( ! $empty_scripts ) :
24
+ $gdpr_options['moove_gdpr_third_party_cookies_enable'] = $value;
25
+ update_option( $option_name, $gdpr_options );
26
+ $gdpr_options = get_option( $option_name );
27
+ foreach ( $_POST as $form_key => $form_value ) :
28
+ if ( $form_key === 'moove_gdpr_performance_cookies_tab_content' ) :
29
+ $value = apply_filters( 'the_content', wp_unslash( $form_value ) );
30
+ $gdpr_options[$form_key] = $value;
31
+ update_option( $option_name, $gdpr_options );
32
+ $gdpr_options = get_option( $option_name );
33
+ elseif ( $form_key === 'moove_gdpr_third_party_footer_scripts' ) :
34
+ $value = wp_unslash( $form_value );
35
+ $gdpr_options[$form_key] = maybe_serialize( $value );
36
+ update_option( $option_name, $gdpr_options );
37
+ $gdpr_options = get_option( $option_name );
38
+ elseif ( $form_key !== 'moove_gdpr_third_party_cookies_enable' ) :
39
+ $value = sanitize_text_field( $form_value );
40
+ $gdpr_options[$form_key] = $value;
41
+ update_option( $option_name, $gdpr_options );
42
+ $gdpr_options = get_option( $option_name );
43
+ endif;
44
+ endforeach;
45
+ endif;
46
+ endif;
47
+ ?>
48
+ <?php if ( $empty_scripts ) : ?>
49
+ <script>
50
+ jQuery('#moove-gdpr-setting-error-settings_updated').hide();
51
+ jQuery('#moove-gdpr-setting-error-settings_scripts_empty').show();
52
+ </script>
53
+
54
+ <?php else : ?>
55
+ <script>
56
+ jQuery('#moove-gdpr-setting-error-settings_scripts_empty').hide();
57
+ jQuery('#moove-gdpr-setting-error-settings_updated').show();
58
+ </script>
59
+ <?php endif;
60
+ endif;
61
+ endif;
62
+ ?>
63
+ <br />
64
+ <?php
65
+ $nav_label = isset( $gdpr_options['moove_gdpr_performance_cookies_tab_title'] ) && $gdpr_options['moove_gdpr_performance_cookies_tab_title'] ? $gdpr_options['moove_gdpr_performance_cookies_tab_title'] : __('3rd Party Cookies','moove-gdpr');
66
+ ?>
67
+ <h2><?php echo $nav_label; ?></h2>
68
+ <hr />
69
+ <form action="?page=moove-gdpr&amp;tab=third_party_cookies" method="post" id="moove_gdpr_tab_third_party_cookies">
70
+ <?php wp_nonce_field( 'moove_gdpr_nonce_field', 'moove_gdpr_nonce' ); ?>
71
+ <table class="form-table <?php echo $empty_scripts ? 'moove-gdpr-form-error' : ''; ?>">
72
+ <tbody>
73
+ <tr>
74
+ <th scope="row">
75
+ <label for="moove_gdpr_third_party_cookies_enable">Turn</label>
76
+ </th>
77
+ <td>
78
+ <input name="moove_gdpr_third_party_cookies_enable" type="radio" value="1" id="moove_gdpr_third_party_cookies_enable_on" <?php echo isset( $gdpr_options['moove_gdpr_third_party_cookies_enable'] ) ? ( intval( $gdpr_options['moove_gdpr_third_party_cookies_enable'] ) === 1 ? 'checked' : '' ) : 'checked'; ?> class="regular-text on-off"> <label for="moove_gdpr_third_party_cookies_enable_on">On</label> <span class="separator"></span>
79
+ <input name="moove_gdpr_third_party_cookies_enable" type="radio" value="0" id="moove_gdpr_third_party_cookies_enable_off" <?php echo isset( $gdpr_options['moove_gdpr_third_party_cookies_enable'] ) ? ( intval( $gdpr_options['moove_gdpr_third_party_cookies_enable'] ) === 0 ? 'checked' : '' ) : 'checked'; ?> class="regular-text on-off"> <label for="moove_gdpr_third_party_cookies_enable_off">Off</label>
80
+ </td>
81
+ </tr>
82
+ <tr>
83
+ <th scope="row">
84
+ <label for="moove_gdpr_performance_cookies_tab_title">Tab Title</label>
85
+ </th>
86
+ <td>
87
+ <input name="moove_gdpr_performance_cookies_tab_title" type="text" id="moove_gdpr_performance_cookies_tab_title" value="<?php echo isset( $gdpr_options['moove_gdpr_performance_cookies_tab_title'] ) && $gdpr_options['moove_gdpr_performance_cookies_tab_title'] ? $gdpr_options['moove_gdpr_performance_cookies_tab_title'] : __('3rd Party Cookies','moove-gdpr'); ?>" class="regular-text">
88
+ </td>
89
+ </tr>
90
+
91
+ <tr>
92
+ <th scope="row" colspan="2" style="padding-bottom: 0;">
93
+ <label for="moove_gdpr_performance_cookies_tab_content">Tab Content</label>
94
+ </th>
95
+ </tr>
96
+ <tr class="moove_gdpr_table_form_holder">
97
+ <th colspan="2" scope="row">
98
+ <?php
99
+ $content = isset( $gdpr_options['moove_gdpr_performance_cookies_tab_content'] ) && $gdpr_options['moove_gdpr_performance_cookies_tab_content'] ? wp_unslash( $gdpr_options['moove_gdpr_performance_cookies_tab_content'] ) : false;
100
+ if ( ! $content ) :
101
+ $content = Moove_GDPR_Content::moove_gdpr_get_third_party_content();
102
+ endif;
103
+ ?>
104
+ <?php
105
+ $settings = array (
106
+ 'media_buttons' => false,
107
+ 'editor_height' => 150,
108
+ );
109
+ wp_editor( $content, 'moove_gdpr_performance_cookies_tab_content', $settings );
110
+ ?>
111
+ </th>
112
+ </tr>
113
+
114
+ <tr>
115
+ <th scope="row" colspan="2" style="padding-bottom: 0;">
116
+ <label for="moove_gdpr_third_party_footer_scripts">The below script will be added to the page if user enables this cookie.</label>
117
+ </th>
118
+ </tr>
119
+ <tr class="moove_gdpr_third_party_footer_scripts">
120
+ <th scope="row" colspan="2">
121
+ <?php $content = isset( $gdpr_options['moove_gdpr_third_party_footer_scripts'] ) && $gdpr_options['moove_gdpr_third_party_footer_scripts'] ? maybe_unserialize( $gdpr_options['moove_gdpr_third_party_footer_scripts'] ) : '';
122
+ ?>
123
+ <textarea name="moove_gdpr_third_party_footer_scripts" id="moove_gdpr_third_party_footer_scripts" class="large-text code" rows="13"><?php echo $content; ?></textarea>
124
+ <p class="description" id="moove_gdpr_third_party_footer_scripts-description">For example, you can use it for Google Analytics script or any other 3rd party code snippets.</p>
125
+ </th>
126
+ </tr>
127
+ </tbody>
128
+ </table>
129
+
130
+ <hr />
131
+ <br />
132
+ <button type="submit" class="button button-primary">Save changes</button>
133
+ </form>