Version Description
Download this release
Release Info
Developer | WPWhiteSecurity |
Plugin | WP Security Audit Log |
Version | 4.1.3.1 |
Comparing to | |
See all releases |
Code changes from version 4.1.3 to 4.1.3.1
- classes/Sensors/WooCommerce.php +0 -3847
- classes/Update/Task/CronNameRemap.php +0 -143
- classes/Update/Task/SettingsEditConfig.php +0 -51
- css/dist/wsal-wizard.build.css.map +0 -1
- js/dist/wsal-wizard.js.map +0 -1
- readme.txt +1 -1
- sdk/freemius/languages/freemius-ja_JP.mo +0 -0
- sdk/freemius/languages/freemius-ja_JP.po +0 -2511
- wp-security-audit-log.php +2 -2
classes/Sensors/WooCommerce.php
DELETED
@@ -1,3847 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Sensor: WooCommerce
|
4 |
-
*
|
5 |
-
* WooCommerce sensor file.
|
6 |
-
*
|
7 |
-
* @package Wsal
|
8 |
-
*/
|
9 |
-
|
10 |
-
// Exit if accessed directly.
|
11 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
12 |
-
exit;
|
13 |
-
}
|
14 |
-
|
15 |
-
/**
|
16 |
-
* Support for WooCommerce Plugin.
|
17 |
-
*
|
18 |
-
* @package Wsal
|
19 |
-
*/
|
20 |
-
class WSAL_Sensors_WooCommerce extends WSAL_AbstractSensor {
|
21 |
-
|
22 |
-
/**
|
23 |
-
* WooCommerce Product Object.
|
24 |
-
*
|
25 |
-
* @var WC_Product
|
26 |
-
*/
|
27 |
-
private $old_product = null;
|
28 |
-
|
29 |
-
/**
|
30 |
-
* Old Post.
|
31 |
-
*
|
32 |
-
* @var WP_Post
|
33 |
-
*/
|
34 |
-
protected $_old_post = null;
|
35 |
-
|
36 |
-
/**
|
37 |
-
* Old Status.
|
38 |
-
*
|
39 |
-
* @var string
|
40 |
-
*/
|
41 |
-
protected $old_status = null;
|
42 |
-
|
43 |
-
/**
|
44 |
-
* Old Post Link.
|
45 |
-
*
|
46 |
-
* @var string
|
47 |
-
*/
|
48 |
-
protected $_old_link = null;
|
49 |
-
|
50 |
-
/**
|
51 |
-
* Old Post Categories.
|
52 |
-
*
|
53 |
-
* @var array
|
54 |
-
*/
|
55 |
-
protected $_old_cats = null;
|
56 |
-
|
57 |
-
/**
|
58 |
-
* Old Product Data.
|
59 |
-
*
|
60 |
-
* @var array
|
61 |
-
*/
|
62 |
-
protected $_old_data = null;
|
63 |
-
|
64 |
-
/**
|
65 |
-
* New Product Data.
|
66 |
-
*
|
67 |
-
* @var array
|
68 |
-
*/
|
69 |
-
private $new_data = null;
|
70 |
-
|
71 |
-
/**
|
72 |
-
* Old Attribute Data.
|
73 |
-
*
|
74 |
-
* @since 3.3.1
|
75 |
-
*
|
76 |
-
* @var stdClass
|
77 |
-
*/
|
78 |
-
private $old_attr_data;
|
79 |
-
|
80 |
-
/**
|
81 |
-
* Coupon Meta Data Keys.
|
82 |
-
*
|
83 |
-
* @since 3.3.1
|
84 |
-
*
|
85 |
-
* @var array
|
86 |
-
*/
|
87 |
-
private $coupon_meta = array(
|
88 |
-
'discount_type',
|
89 |
-
'coupon_amount',
|
90 |
-
'individual_use',
|
91 |
-
'product_ids',
|
92 |
-
'exclude_product_ids',
|
93 |
-
'usage_limit',
|
94 |
-
'usage_limit_per_user',
|
95 |
-
'limit_usage_to_x_items',
|
96 |
-
'usage_count',
|
97 |
-
'date_expires',
|
98 |
-
'expiry_date',
|
99 |
-
'free_shipping',
|
100 |
-
'product_categories',
|
101 |
-
'exclude_product_categories',
|
102 |
-
'exclude_sale_items',
|
103 |
-
'minimum_amount',
|
104 |
-
'maximum_amount',
|
105 |
-
'customer_email',
|
106 |
-
);
|
107 |
-
|
108 |
-
/**
|
109 |
-
* WC User Meta.
|
110 |
-
*
|
111 |
-
* @since 3.4
|
112 |
-
*
|
113 |
-
* @var array
|
114 |
-
*/
|
115 |
-
private $wc_user_meta = array();
|
116 |
-
|
117 |
-
/**
|
118 |
-
* Is Event 9067 Logged?
|
119 |
-
*
|
120 |
-
* @since 3.3.1
|
121 |
-
*
|
122 |
-
* @var boolean
|
123 |
-
*/
|
124 |
-
private $is_9067_logged = false;
|
125 |
-
|
126 |
-
/**
|
127 |
-
* Is Event 9068 Logged?
|
128 |
-
*
|
129 |
-
* @since 3.3.1
|
130 |
-
*
|
131 |
-
* @var boolean
|
132 |
-
*/
|
133 |
-
private $is_9068_logged = false;
|
134 |
-
|
135 |
-
/**
|
136 |
-
* Stores $_REQUEST global variable data.
|
137 |
-
*
|
138 |
-
* @var array
|
139 |
-
*/
|
140 |
-
private $request_data = array();
|
141 |
-
|
142 |
-
/**
|
143 |
-
* Count changed meta fields.
|
144 |
-
*/
|
145 |
-
private $updated_field_count = 0;
|
146 |
-
private $updated_shipping_field_count = 0;
|
147 |
-
|
148 |
-
/**
|
149 |
-
* Listening to events using WP hooks.
|
150 |
-
*/
|
151 |
-
public function HookEvents() {
|
152 |
-
if ( current_user_can( 'edit_posts' ) ) {
|
153 |
-
add_action( 'admin_init', array( $this, 'event_admin_init' ) );
|
154 |
-
}
|
155 |
-
add_action( 'pre_post_update', array( $this, 'get_before_post_edit_data' ), 10, 2 );
|
156 |
-
add_action( 'save_post', array( $this, 'EventChanged' ), 10, 3 );
|
157 |
-
add_action( 'delete_post', array( $this, 'EventDeleted' ), 10, 1 );
|
158 |
-
add_action( 'wp_trash_post', array( $this, 'EventTrashed' ), 10, 1 );
|
159 |
-
add_action( 'untrash_post', array( $this, 'EventUntrashed' ) );
|
160 |
-
add_action( 'wp_head', array( $this, 'viewing_product' ), 10 );
|
161 |
-
add_action( 'create_product_cat', array( $this, 'EventCategoryCreation' ), 10, 1 );
|
162 |
-
add_filter( 'post_edit_form_tag', array( $this, 'editing_product' ), 10, 1 );
|
163 |
-
add_action( 'woocommerce_order_status_changed', array( $this, 'event_order_status_changed' ), 10, 4 );
|
164 |
-
add_action( 'woocommerce_order_refunded', array( $this, 'event_order_refunded' ), 10, 2 );
|
165 |
-
add_action( 'woocommerce_bulk_action_ids', array( $this, 'event_bulk_order_actions' ), 10, 2 );
|
166 |
-
add_action( 'woocommerce_attribute_added', array( $this, 'event_attribute_added' ), 10, 2 );
|
167 |
-
add_action( 'woocommerce_before_attribute_delete', array( $this, 'event_attribute_deleted' ), 10, 3 );
|
168 |
-
add_action( 'woocommerce_attribute_updated', array( $this, 'event_attribute_updated' ), 10, 3 );
|
169 |
-
add_action( 'wp_update_term_data', array( $this, 'event_product_cat_updated' ), 10, 4 );
|
170 |
-
add_action( 'update_term_meta', array( $this, 'event_cat_display_updated' ), 10, 4 );
|
171 |
-
add_action( 'delete_product_cat', array( $this, 'event_product_cat_deleted' ), 10, 4 );
|
172 |
-
add_action( 'wsal_before_post_meta_create_event', array( $this, 'log_coupon_meta_created_event' ), 10, 4 );
|
173 |
-
add_action( 'wsal_before_post_meta_update_event', array( $this, 'log_coupon_meta_update_events' ), 10, 5 );
|
174 |
-
add_action( 'wsal_before_post_meta_delete_event', array( $this, 'log_coupon_meta_delete_event' ), 10, 4 );
|
175 |
-
add_action( 'update_user_meta', array( $this, 'before_wc_user_meta_update' ), 10, 3 );
|
176 |
-
add_action( 'added_user_meta', array( $this, 'wc_user_meta_updated' ), 10, 4 );
|
177 |
-
add_action( 'updated_user_meta', array( $this, 'wc_user_meta_updated' ), 10, 4 );
|
178 |
-
add_action( 'woocommerce_before_product_object_save', array( $this, 'check_product_changes_before_save' ), 10, 1 );
|
179 |
-
add_action( 'woocommerce_product_quick_edit_save', array( $this, 'inline_product_changed' ), 10, 1 );
|
180 |
-
|
181 |
-
add_action( 'updated_option', array( $this, 'settings_updated' ), 10, 3 );
|
182 |
-
}
|
183 |
-
|
184 |
-
/**
|
185 |
-
* Trigger inline product change events.
|
186 |
-
*
|
187 |
-
* @param WC_Product $product - WooCommerce product.
|
188 |
-
*/
|
189 |
-
public function inline_product_changed( $product ) {
|
190 |
-
unset( $this->request_data['woocommerce_quick_edit'] );
|
191 |
-
$this->EventChanged( $product->get_id(), get_post( $product->get_id() ), true );
|
192 |
-
}
|
193 |
-
|
194 |
-
/**
|
195 |
-
* Triggered when a user accesses the admin area.
|
196 |
-
*/
|
197 |
-
public function event_admin_init() {
|
198 |
-
$this->CheckSettingsChange();
|
199 |
-
$this->retrieve_attribute_data();
|
200 |
-
$this->check_wc_ajax_change_events();
|
201 |
-
}
|
202 |
-
|
203 |
-
/**
|
204 |
-
* Retrieve Old data.
|
205 |
-
*
|
206 |
-
* @param integer $post_id - Product ID.
|
207 |
-
*/
|
208 |
-
public function get_before_post_edit_data( $post_id ) {
|
209 |
-
$post_id = (int) $post_id; // Making sure that the post id is integer.
|
210 |
-
$post = get_post( $post_id ); // Get post.
|
211 |
-
|
212 |
-
if ( ! empty( $post ) && $post instanceof WP_Post && in_array( $post->post_type, array( 'product', 'shop_order', 'shop_coupon' ), true ) ) {
|
213 |
-
$this->_old_post = $post;
|
214 |
-
$this->old_product = 'product' === $post->post_type ? wc_get_product( $post->ID ) : null;
|
215 |
-
$this->old_status = $post->post_status;
|
216 |
-
$this->_old_link = get_post_permalink( $post_id, false, true );
|
217 |
-
$this->_old_cats = 'product' === $post->post_type ? $this->GetProductCategories( $this->_old_post ) : null;
|
218 |
-
$this->_old_data = 'product' === $post->post_type ? $this->GetProductData( $this->old_product ) : null;
|
219 |
-
$this->_old_product_attributes = get_post_meta( $post->ID, '_product_attributes' );
|
220 |
-
}
|
221 |
-
}
|
222 |
-
|
223 |
-
/**
|
224 |
-
* Checks if the product update is inline-edit or not.
|
225 |
-
*
|
226 |
-
* @return bool
|
227 |
-
*/
|
228 |
-
public function check_inline_edit() {
|
229 |
-
if ( empty( $this->request_data ) ) {
|
230 |
-
$this->request_data = $_REQUEST; // phpcs:ignore
|
231 |
-
}
|
232 |
-
return ! empty( $this->request_data['woocommerce_quick_edit'] );
|
233 |
-
}
|
234 |
-
|
235 |
-
/**
|
236 |
-
* WooCommerce Product Updated.
|
237 |
-
*
|
238 |
-
* @param integer $post_id - Post ID.
|
239 |
-
* @param WP_Post $post - WC Product CPT object.
|
240 |
-
* @param integer $update - True if product update, false if product is new.
|
241 |
-
*/
|
242 |
-
public function EventChanged( $post_id, $post, $update ) {
|
243 |
-
if ( ! $update ) {
|
244 |
-
$this->EventCreation( $this->_old_post, $post );
|
245 |
-
return;
|
246 |
-
}
|
247 |
-
|
248 |
-
if ( 'product' === $post->post_type ) {
|
249 |
-
if (
|
250 |
-
( 'auto-draft' === $this->_old_post->post_status && 'draft' === $post->post_status ) // Saving draft.
|
251 |
-
|| ( 'draft' === $this->_old_post->post_status && 'publish' === $post->post_status ) // Publishing post.
|
252 |
-
|| ( 'auto-draft' === $this->_old_post->post_status && 'publish' === $post->post_status )
|
253 |
-
) {
|
254 |
-
$this->EventCreation( $this->_old_post, $post );
|
255 |
-
} else {
|
256 |
-
// Delay the checks to accomodate WooCommerce inline product changes.
|
257 |
-
if ( $this->check_inline_edit() ) {
|
258 |
-
return;
|
259 |
-
}
|
260 |
-
|
261 |
-
// Get new woocommerce product object.
|
262 |
-
$new_product = wc_get_product( $post->ID );
|
263 |
-
$this->new_data = $this->GetProductData( $new_product );
|
264 |
-
|
265 |
-
$changes = 0;
|
266 |
-
$changes = $this->CheckCategoriesChange( $this->_old_cats, $this->GetProductCategories( $post ), $this->_old_post, $post )
|
267 |
-
+ $this->CheckShortDescriptionChange( $this->_old_post, $post )
|
268 |
-
+ $this->CheckTextChange( $this->_old_post, $post )
|
269 |
-
+ $this->CheckDateChange( $this->_old_post, $post )
|
270 |
-
+ $this->CheckVisibilityChange( $this->_old_post, $post )
|
271 |
-
+ $this->CheckStatusChange( $this->_old_post, $post )
|
272 |
-
+ $this->check_title_change( $this->_old_post, $post )
|
273 |
-
+ $this->check_product_type_change( $this->_old_post )
|
274 |
-
+ $this->check_catalog_visibility_change( $this->_old_post )
|
275 |
-
+ $this->check_featured_product( $this->_old_post )
|
276 |
-
+ $this->CheckPriceChange( $this->_old_post )
|
277 |
-
+ $this->CheckSKUChange( $this->_old_post )
|
278 |
-
+ $this->CheckStockStatusChange( $this->_old_post )
|
279 |
-
+ $this->CheckStockQuantityChange( $this->_old_post )
|
280 |
-
+ $this->CheckTypeChange( $this->_old_post, $post )
|
281 |
-
+ $this->CheckWeightChange( $this->_old_post )
|
282 |
-
+ $this->CheckDimensionsChange( $this->_old_post )
|
283 |
-
+ $this->CheckDownloadableFileChange( $this->_old_post )
|
284 |
-
+ $this->check_backorders_setting( $this->_old_post )
|
285 |
-
+ $this->check_upsells_change( $this->_old_post )
|
286 |
-
+ $this->check_cross_sell_change( $this->_old_post )
|
287 |
-
+ $this->check_attributes_change( $this->_old_post );
|
288 |
-
|
289 |
-
if ( ! $changes ) {
|
290 |
-
// Change Permalink.
|
291 |
-
$changes = $this->CheckPermalinkChange( $this->_old_link, get_post_permalink( $post_id, false, true ), $post );
|
292 |
-
if ( ! $changes ) {
|
293 |
-
// If no one of the above changes happen.
|
294 |
-
$this->CheckModifyChange( $this->_old_post, $post );
|
295 |
-
}
|
296 |
-
}
|
297 |
-
}
|
298 |
-
} elseif ( 'shop_order' === $post->post_type ) {
|
299 |
-
// Check order events.
|
300 |
-
$this->check_order_modify_change( $post_id, $this->_old_post, $post );
|
301 |
-
} elseif ( 'shop_coupon' === $post->post_type ) {
|
302 |
-
// Check coupon events.
|
303 |
-
$changes = 0 + $this->EventCreation( $this->_old_post, $post );
|
304 |
-
|
305 |
-
if ( ! $changes ) {
|
306 |
-
$this->CheckShortDescriptionChange( $this->_old_post, $post );
|
307 |
-
$this->CheckStatusChange( $this->_old_post, $post );
|
308 |
-
$this->check_title_change( $this->_old_post, $post );
|
309 |
-
}
|
310 |
-
}
|
311 |
-
}
|
312 |
-
|
313 |
-
/**
|
314 |
-
* Return Coupon Event Data.
|
315 |
-
*
|
316 |
-
* @since 3.3.1
|
317 |
-
*
|
318 |
-
* @param WP_Post $coupon - Coupon event data.
|
319 |
-
* @return array
|
320 |
-
*/
|
321 |
-
private function get_coupon_event_data( $coupon ) {
|
322 |
-
if ( empty( $coupon ) || ! $coupon instanceof WP_Post ) {
|
323 |
-
return array();
|
324 |
-
}
|
325 |
-
|
326 |
-
$editor_link = $this->GetEditorLink( $coupon );
|
327 |
-
return array(
|
328 |
-
'CouponID' => $coupon->ID,
|
329 |
-
'CouponName' => $coupon->post_title,
|
330 |
-
'CouponStatus' => $coupon->post_status,
|
331 |
-
'CouponExcerpt' => $coupon->post_excerpt,
|
332 |
-
$editor_link['name'] => $editor_link['value'],
|
333 |
-
);
|
334 |
-
}
|
335 |
-
|
336 |
-
/**
|
337 |
-
* WooCommerce Product/Coupon Created.
|
338 |
-
*
|
339 |
-
* Trigger events 9000, 9001, 9063.
|
340 |
-
*
|
341 |
-
* @param object $old_post - Old Post.
|
342 |
-
* @param object $new_post - New Post.
|
343 |
-
*/
|
344 |
-
private function EventCreation( $old_post, $new_post ) {
|
345 |
-
if ( ! $old_post instanceof WP_Post || ! $new_post instanceof WP_Post ) {
|
346 |
-
return;
|
347 |
-
}
|
348 |
-
|
349 |
-
if ( 'product' === $old_post->post_type ) {
|
350 |
-
$editor_link = $this->GetEditorLink( $new_post );
|
351 |
-
if ( 'publish' === $new_post->post_status ) {
|
352 |
-
$this->plugin->alerts->Trigger(
|
353 |
-
9001,
|
354 |
-
array(
|
355 |
-
'ProductTitle' => $new_post->post_title,
|
356 |
-
'ProductUrl' => get_post_permalink( $new_post->ID ),
|
357 |
-
'PostID' => $new_post->ID,
|
358 |
-
'ProductStatus' => $new_post->post_status,
|
359 |
-
$editor_link['name'] => $editor_link['value'],
|
360 |
-
)
|
361 |
-
);
|
362 |
-
return 1;
|
363 |
-
} else {
|
364 |
-
$this->plugin->alerts->Trigger(
|
365 |
-
9000,
|
366 |
-
array(
|
367 |
-
'ProductTitle' => $new_post->post_title,
|
368 |
-
'PostID' => $new_post->ID,
|
369 |
-
'ProductStatus' => $new_post->post_status,
|
370 |
-
$editor_link['name'] => $editor_link['value'],
|
371 |
-
)
|
372 |
-
);
|
373 |
-
return 1;
|
374 |
-
}
|
375 |
-
} elseif ( 'shop_coupon' === $old_post->post_type && 'publish' === $new_post->post_status && 'publish' !== $old_post->post_status ) {
|
376 |
-
$coupon_data = $this->get_coupon_event_data( $new_post );
|
377 |
-
$this->plugin->alerts->Trigger( 9063, $coupon_data );
|
378 |
-
return 1;
|
379 |
-
}
|
380 |
-
return 0;
|
381 |
-
}
|
382 |
-
|
383 |
-
/**
|
384 |
-
* Trigger events 9002
|
385 |
-
*
|
386 |
-
* @param int|WP_Term $term_id - Term ID.
|
387 |
-
*/
|
388 |
-
public function EventCategoryCreation( $term_id = null ) {
|
389 |
-
$term = get_term( $term_id );
|
390 |
-
if ( ! empty( $term ) ) {
|
391 |
-
$this->plugin->alerts->Trigger(
|
392 |
-
9002,
|
393 |
-
array(
|
394 |
-
'CategoryName' => $term->name,
|
395 |
-
'Slug' => $term->slug,
|
396 |
-
'ProductCatLink' => $this->get_taxonomy_edit_link( $term_id ),
|
397 |
-
)
|
398 |
-
);
|
399 |
-
}
|
400 |
-
}
|
401 |
-
|
402 |
-
/**
|
403 |
-
* Trigger events 9003
|
404 |
-
*
|
405 |
-
* @param array $old_cats - Old Categories.
|
406 |
-
* @param array $new_cats - New Categories.
|
407 |
-
* @param object $oldpost - Old product object.
|
408 |
-
* @param object $newpost - New product object.
|
409 |
-
* @return int
|
410 |
-
*/
|
411 |
-
protected function CheckCategoriesChange( $old_cats, $new_cats, $oldpost, $newpost ) {
|
412 |
-
if ( 'trash' === $newpost->post_status || 'trash' === $oldpost->post_status ) {
|
413 |
-
return 0;
|
414 |
-
}
|
415 |
-
|
416 |
-
$old_cats = is_array( $old_cats ) ? implode( ', ', $old_cats ) : $old_cats;
|
417 |
-
$new_cats = is_array( $new_cats ) ? implode( ', ', $new_cats ) : $new_cats;
|
418 |
-
if ( ! empty( $old_cats ) && $old_cats !== $new_cats ) {
|
419 |
-
$editor_link = $this->GetEditorLink( $newpost );
|
420 |
-
$this->plugin->alerts->Trigger(
|
421 |
-
9003,
|
422 |
-
array(
|
423 |
-
'ProductTitle' => $newpost->post_title,
|
424 |
-
'ProductStatus' => $newpost->post_status,
|
425 |
-
'PostID' => $newpost->ID,
|
426 |
-
'OldCategories' => $old_cats ? $old_cats : 'no categories',
|
427 |
-
'NewCategories' => $new_cats ? $new_cats : 'no categories',
|
428 |
-
$editor_link['name'] => $editor_link['value'],
|
429 |
-
)
|
430 |
-
);
|
431 |
-
return 1;
|
432 |
-
}
|
433 |
-
return 0;
|
434 |
-
}
|
435 |
-
|
436 |
-
/**
|
437 |
-
* Trigger events 9004
|
438 |
-
*
|
439 |
-
* @param object $oldpost - Old product object.
|
440 |
-
* @param object $newpost - New product object.
|
441 |
-
* @return int
|
442 |
-
*/
|
443 |
-
protected function CheckShortDescriptionChange( $oldpost, $newpost ) {
|
444 |
-
if ( 'auto-draft' === $oldpost->post_status ) {
|
445 |
-
return 0;
|
446 |
-
}
|
447 |
-
|
448 |
-
if ( $oldpost->post_excerpt !== $newpost->post_excerpt ) {
|
449 |
-
if ( 'product' === $newpost->post_type ) {
|
450 |
-
$editor_link = $this->GetEditorLink( $oldpost );
|
451 |
-
$this->plugin->alerts->Trigger(
|
452 |
-
9004,
|
453 |
-
array(
|
454 |
-
'PostID' => $oldpost->ID,
|
455 |
-
'ProductTitle' => $oldpost->post_title,
|
456 |
-
'ProductStatus' => $oldpost->post_status,
|
457 |
-
'OldDescription' => $oldpost->post_excerpt,
|
458 |
-
'NewDescription' => $newpost->post_excerpt,
|
459 |
-
$editor_link['name'] => $editor_link['value'],
|
460 |
-
)
|
461 |
-
);
|
462 |
-
return 1;
|
463 |
-
} elseif ( 'shop_coupon' === $newpost->post_type ) {
|
464 |
-
$coupon_data = $this->get_coupon_event_data( $newpost );
|
465 |
-
$coupon_data['OldDescription'] = $oldpost->post_excerpt;
|
466 |
-
$coupon_data['NewDescription'] = $newpost->post_excerpt;
|
467 |
-
$this->plugin->alerts->Trigger( 9069, $coupon_data );
|
468 |
-
return 1;
|
469 |
-
}
|
470 |
-
}
|
471 |
-
return 0;
|
472 |
-
}
|
473 |
-
|
474 |
-
/**
|
475 |
-
* Trigger events 9005
|
476 |
-
*
|
477 |
-
* @param object $oldpost - Old product object.
|
478 |
-
* @param object $newpost - New product object.
|
479 |
-
* @return int
|
480 |
-
*/
|
481 |
-
protected function CheckTextChange( $oldpost, $newpost ) {
|
482 |
-
if ( 'auto-draft' === $oldpost->post_status ) {
|
483 |
-
return 0;
|
484 |
-
}
|
485 |
-
if ( $oldpost->post_content != $newpost->post_content ) {
|
486 |
-
$editor_link = $this->GetEditorLink( $oldpost );
|
487 |
-
$this->plugin->alerts->Trigger(
|
488 |
-
9005,
|
489 |
-
array(
|
490 |
-
'PostID' => $oldpost->ID,
|
491 |
-
'ProductTitle' => $oldpost->post_title,
|
492 |
-
'ProductStatus' => $oldpost->post_status,
|
493 |
-
$editor_link['name'] => $editor_link['value'],
|
494 |
-
)
|
495 |
-
);
|
496 |
-
return 1;
|
497 |
-
}
|
498 |
-
return 0;
|
499 |
-
}
|
500 |
-
|
501 |
-
/**
|
502 |
-
* Trigger events 9006
|
503 |
-
*
|
504 |
-
* @param string $old_link - Old product link.
|
505 |
-
* @param string $new_link - New product link.
|
506 |
-
* @param object $post - Product object.
|
507 |
-
* @return int
|
508 |
-
*/
|
509 |
-
protected function CheckPermalinkChange( $old_link, $new_link, $post ) {
|
510 |
-
if ( ! empty( $old_cats ) && $old_link && $new_link && ( $old_link !== $new_link ) ) {
|
511 |
-
$editor_link = $this->GetEditorLink( $post );
|
512 |
-
$this->plugin->alerts->Trigger(
|
513 |
-
9006,
|
514 |
-
array(
|
515 |
-
'PostID' => $post->ID,
|
516 |
-
'ProductTitle' => $post->post_title,
|
517 |
-
'ProductStatus' => $post->post_status,
|
518 |
-
'OldUrl' => $old_link,
|
519 |
-
'NewUrl' => $new_link,
|
520 |
-
$editor_link['name'] => $editor_link['value'],
|
521 |
-
'ReportText' => '"' . $old_link . '"|"' . $new_link . '"',
|
522 |
-
)
|
523 |
-
);
|
524 |
-
return 1;
|
525 |
-
}
|
526 |
-
return 0;
|
527 |
-
}
|
528 |
-
|
529 |
-
/**
|
530 |
-
* Trigger events 9007
|
531 |
-
*
|
532 |
-
* @param WP_Post $post - Product object.
|
533 |
-
* @return int
|
534 |
-
*/
|
535 |
-
protected function check_product_type_change( $post ) {
|
536 |
-
$old_type = isset( $this->_old_data['type'] ) ? $this->_old_data['type'] : false;
|
537 |
-
$new_type = isset( $this->new_data['type'] ) ? $this->new_data['type'] : false;
|
538 |
-
|
539 |
-
if ( $old_type !== $new_type ) {
|
540 |
-
$editor_link = $this->GetEditorLink( $post );
|
541 |
-
$this->plugin->alerts->Trigger(
|
542 |
-
9007,
|
543 |
-
array(
|
544 |
-
'PostID' => $post->ID,
|
545 |
-
'ProductTitle' => $post->post_title,
|
546 |
-
'ProductStatus' => $post->post_status,
|
547 |
-
'OldType' => $old_type,
|
548 |
-
'NewType' => $new_type,
|
549 |
-
$editor_link['name'] => $editor_link['value'],
|
550 |
-
)
|
551 |
-
);
|
552 |
-
return 1;
|
553 |
-
}
|
554 |
-
return 0;
|
555 |
-
}
|
556 |
-
|
557 |
-
/**
|
558 |
-
* Trigger events 9008
|
559 |
-
*
|
560 |
-
* @param object $oldpost - Old product object.
|
561 |
-
* @param object $newpost - New product object.
|
562 |
-
* @return int
|
563 |
-
*/
|
564 |
-
protected function CheckDateChange( $oldpost, $newpost ) {
|
565 |
-
if ( 'draft' === $oldpost->post_status || 'auto-draft' === $oldpost->post_status ) {
|
566 |
-
return 0;
|
567 |
-
}
|
568 |
-
|
569 |
-
$from = strtotime( $oldpost->post_date );
|
570 |
-
$to = strtotime( $newpost->post_date );
|
571 |
-
|
572 |
-
if ( $from !== $to ) {
|
573 |
-
$editor_link = $this->GetEditorLink( $oldpost );
|
574 |
-
$this->plugin->alerts->Trigger(
|
575 |
-
9008,
|
576 |
-
array(
|
577 |
-
'PostID' => $oldpost->ID,
|
578 |
-
'ProductTitle' => $oldpost->post_title,
|
579 |
-
'ProductStatus' => $oldpost->post_status,
|
580 |
-
'OldDate' => $oldpost->post_date,
|
581 |
-
'NewDate' => $newpost->post_date,
|
582 |
-
$editor_link['name'] => $editor_link['value'],
|
583 |
-
)
|
584 |
-
);
|
585 |
-
return 1;
|
586 |
-
}
|
587 |
-
return 0;
|
588 |
-
}
|
589 |
-
|
590 |
-
/**
|
591 |
-
* Trigger events 9009
|
592 |
-
*
|
593 |
-
* @param WP_Post $oldpost - Old product object.
|
594 |
-
* @param WP_Post $newpost - New product object.
|
595 |
-
* @return int
|
596 |
-
*/
|
597 |
-
protected function CheckVisibilityChange( $oldpost, $newpost ) {
|
598 |
-
if ( 'draft' === $this->old_status || 'draft' === $newpost->post_status ) {
|
599 |
-
return;
|
600 |
-
}
|
601 |
-
|
602 |
-
$old_visibility = '';
|
603 |
-
$new_visibility = '';
|
604 |
-
|
605 |
-
if ( $oldpost->post_password ) {
|
606 |
-
$old_visibility = __( 'Password Protected', 'wp-security-audit-log' );
|
607 |
-
} elseif ( 'publish' === $this->old_status ) {
|
608 |
-
$old_visibility = __( 'Public', 'wp-security-audit-log' );
|
609 |
-
} elseif ( 'private' === $this->old_status ) {
|
610 |
-
$old_visibility = __( 'Private', 'wp-security-audit-log' );
|
611 |
-
}
|
612 |
-
|
613 |
-
if ( $newpost->post_password ) {
|
614 |
-
$new_visibility = __( 'Password Protected', 'wp-security-audit-log' );
|
615 |
-
} elseif ( 'publish' === $newpost->post_status ) {
|
616 |
-
$new_visibility = __( 'Public', 'wp-security-audit-log' );
|
617 |
-
} elseif ( 'private' === $newpost->post_status ) {
|
618 |
-
$new_visibility = __( 'Private', 'wp-security-audit-log' );
|
619 |
-
}
|
620 |
-
|
621 |
-
if ( $old_visibility && $new_visibility && ( $old_visibility !== $new_visibility ) ) {
|
622 |
-
$editor_link = $this->GetEditorLink( $oldpost );
|
623 |
-
$this->plugin->alerts->Trigger(
|
624 |
-
9009,
|
625 |
-
array(
|
626 |
-
'PostID' => $oldpost->ID,
|
627 |
-
'ProductTitle' => $oldpost->post_title,
|
628 |
-
'ProductStatus' => $oldpost->post_status,
|
629 |
-
'OldVisibility' => $old_visibility,
|
630 |
-
'NewVisibility' => $new_visibility,
|
631 |
-
$editor_link['name'] => $editor_link['value'],
|
632 |
-
)
|
633 |
-
);
|
634 |
-
return 1;
|
635 |
-
}
|
636 |
-
return 0;
|
637 |
-
}
|
638 |
-
|
639 |
-
/**
|
640 |
-
* Check Title Change.
|
641 |
-
*
|
642 |
-
* Trigger event 9071.
|
643 |
-
*
|
644 |
-
* @since 3.3.1
|
645 |
-
*
|
646 |
-
* @param object $oldpost - Old product object.
|
647 |
-
* @param object $newpost - New product object.
|
648 |
-
* @return int
|
649 |
-
*/
|
650 |
-
protected function check_title_change( $oldpost, $newpost ) {
|
651 |
-
if ( 'auto-draft' === $oldpost->post_status ) {
|
652 |
-
return 0;
|
653 |
-
}
|
654 |
-
|
655 |
-
if ( 'shop_coupon' === $newpost->post_type && $oldpost->post_title !== $newpost->post_title ) {
|
656 |
-
// Get coupon event data.
|
657 |
-
$coupon_data = $this->get_coupon_event_data( $newpost );
|
658 |
-
|
659 |
-
// Set old and new titles.
|
660 |
-
$coupon_data['OldName'] = $oldpost->post_title;
|
661 |
-
$coupon_data['NewName'] = $newpost->post_title;
|
662 |
-
|
663 |
-
// Log the event.
|
664 |
-
$this->plugin->alerts->Trigger( 9071, $coupon_data );
|
665 |
-
return 1;
|
666 |
-
} elseif ( 'product' === $newpost->post_type && $oldpost->post_title !== $newpost->post_title ) {
|
667 |
-
// Get editor link.
|
668 |
-
$editor_link = $this->GetEditorLink( $newpost );
|
669 |
-
|
670 |
-
// Log the event.
|
671 |
-
$this->plugin->alerts->Trigger(
|
672 |
-
9077,
|
673 |
-
array(
|
674 |
-
'PostID' => $newpost->ID,
|
675 |
-
'PostType' => $newpost->post_type,
|
676 |
-
'ProductStatus' => $newpost->post_status,
|
677 |
-
'ProductTitle' => $newpost->post_title,
|
678 |
-
'OldTitle' => $oldpost->post_title,
|
679 |
-
'NewTitle' => $newpost->post_title,
|
680 |
-
'ProductUrl' => get_permalink( $newpost->ID ),
|
681 |
-
$editor_link['name'] => $editor_link['value'],
|
682 |
-
)
|
683 |
-
);
|
684 |
-
return 1;
|
685 |
-
}
|
686 |
-
return 0;
|
687 |
-
}
|
688 |
-
|
689 |
-
/**
|
690 |
-
* Trigger events 9042
|
691 |
-
*
|
692 |
-
* @since 3.3.1
|
693 |
-
*
|
694 |
-
* @param WP_Post $post - Product object.
|
695 |
-
* @return int
|
696 |
-
*/
|
697 |
-
protected function check_catalog_visibility_change( $post ) {
|
698 |
-
// Get product data.
|
699 |
-
$old_visibility = isset( $this->_old_data['catalog_visibility'] ) ? $this->_old_data['catalog_visibility'] : false;
|
700 |
-
$new_visibility = isset( $this->new_data['catalog_visibility'] ) ? $this->new_data['catalog_visibility'] : false;
|
701 |
-
|
702 |
-
// Get WooCommerce visibility options.
|
703 |
-
$wc_visibilities = wc_get_product_visibility_options();
|
704 |
-
|
705 |
-
if ( ( $old_visibility && $new_visibility ) && ( $old_visibility !== $new_visibility ) ) {
|
706 |
-
$editor_link = $this->GetEditorLink( $post );
|
707 |
-
$this->plugin->alerts->Trigger(
|
708 |
-
9042,
|
709 |
-
array(
|
710 |
-
'PostID' => $post->ID,
|
711 |
-
'ProductTitle' => $post->post_title,
|
712 |
-
'ProductStatus' => $post->post_status,
|
713 |
-
'OldVisibility' => isset( $wc_visibilities[ $old_visibility ] ) ? $wc_visibilities[ $old_visibility ] : false,
|
714 |
-
'NewVisibility' => isset( $wc_visibilities[ $new_visibility ] ) ? $wc_visibilities[ $new_visibility ] : false,
|
715 |
-
$editor_link['name'] => $editor_link['value'],
|
716 |
-
)
|
717 |
-
);
|
718 |
-
return 1;
|
719 |
-
}
|
720 |
-
return 0;
|
721 |
-
}
|
722 |
-
|
723 |
-
/**
|
724 |
-
* Trigger events 9043
|
725 |
-
*
|
726 |
-
* @since 3.3.1
|
727 |
-
*
|
728 |
-
* @param WP_Post $post - Product object.
|
729 |
-
* @return int
|
730 |
-
*/
|
731 |
-
protected function check_featured_product( $post ) {
|
732 |
-
$old_featured = isset( $this->_old_data['featured'] ) ? $this->_old_data['featured'] : false;
|
733 |
-
$new_featured = isset( $this->new_data['featured'] ) ? $this->new_data['featured'] : false;
|
734 |
-
|
735 |
-
if ( $old_featured !== $new_featured ) {
|
736 |
-
$editor_link = $this->GetEditorLink( $post );
|
737 |
-
$this->plugin->alerts->Trigger(
|
738 |
-
9043,
|
739 |
-
array(
|
740 |
-
'PostID' => $post->ID,
|
741 |
-
'ProductTitle' => $post->post_title,
|
742 |
-
'ProductStatus' => $post->post_status,
|
743 |
-
'EventType' => $new_featured ? 'enabled' : 'disabled',
|
744 |
-
$editor_link['name'] => $editor_link['value'],
|
745 |
-
)
|
746 |
-
);
|
747 |
-
return 1;
|
748 |
-
}
|
749 |
-
return 0;
|
750 |
-
}
|
751 |
-
|
752 |
-
/**
|
753 |
-
* Trigger events 9044
|
754 |
-
*
|
755 |
-
* @since 3.3.1
|
756 |
-
*
|
757 |
-
* @param object $oldpost - Old product object.
|
758 |
-
* @param string $old_backorder - Old backorder value.
|
759 |
-
* @param string $new_backorder - New backorder value.
|
760 |
-
* @return int
|
761 |
-
*/
|
762 |
-
protected function check_backorders_setting( $oldpost, $old_backorder = '', $new_backorder = '' ) {
|
763 |
-
// Get product data.
|
764 |
-
if ( '' === $old_backorder ) {
|
765 |
-
$old_backorder = isset( $this->_old_data['backorders'] ) ? $this->_old_data['backorders'] : false;
|
766 |
-
}
|
767 |
-
if ( '' === $new_backorder ) {
|
768 |
-
$new_backorder = isset( $this->new_data['backorders'] ) ? $this->new_data['backorders'] : false;
|
769 |
-
}
|
770 |
-
|
771 |
-
if ( $old_backorder !== $new_backorder ) {
|
772 |
-
$editor_link = $this->GetEditorLink( $oldpost );
|
773 |
-
$this->plugin->alerts->Trigger(
|
774 |
-
9044,
|
775 |
-
array(
|
776 |
-
'PostID' => $oldpost->ID,
|
777 |
-
'ProductTitle' => $oldpost->post_title,
|
778 |
-
'ProductStatus' => $oldpost->post_status,
|
779 |
-
'OldStatus' => $old_backorder,
|
780 |
-
'NewStatus' => $new_backorder,
|
781 |
-
$editor_link['name'] => $editor_link['value'],
|
782 |
-
)
|
783 |
-
);
|
784 |
-
return 1;
|
785 |
-
}
|
786 |
-
return 0;
|
787 |
-
}
|
788 |
-
|
789 |
-
/**
|
790 |
-
* Trigger events 9045
|
791 |
-
*
|
792 |
-
* @since 3.3.1
|
793 |
-
*
|
794 |
-
* @param object $oldpost - Old product object.
|
795 |
-
* @return int
|
796 |
-
*/
|
797 |
-
protected function check_upsells_change( $oldpost ) {
|
798 |
-
// Get product data.
|
799 |
-
$old_upsell_ids = isset( $this->_old_data['upsell_ids'] ) ? $this->_old_data['upsell_ids'] : false;
|
800 |
-
$new_upsell_ids = isset( $this->new_data['upsell_ids'] ) ? $this->new_data['upsell_ids'] : false;
|
801 |
-
|
802 |
-
// Compute the difference.
|
803 |
-
$added_upsells = array();
|
804 |
-
$removed_upsells = array();
|
805 |
-
|
806 |
-
if ( is_array( $new_upsell_ids ) && is_array( $old_upsell_ids ) ) {
|
807 |
-
$added_upsells = array_diff( $new_upsell_ids, $old_upsell_ids );
|
808 |
-
$removed_upsells = array_diff( $old_upsell_ids, $new_upsell_ids );
|
809 |
-
}
|
810 |
-
|
811 |
-
// Get editor link.
|
812 |
-
$editor_link = $this->GetEditorLink( $oldpost );
|
813 |
-
|
814 |
-
// Return.
|
815 |
-
$return = 0;
|
816 |
-
|
817 |
-
// Added upsell products.
|
818 |
-
if ( ! empty( $added_upsells ) && is_array( $added_upsells ) ) {
|
819 |
-
foreach ( $added_upsells as $added_upsell ) {
|
820 |
-
$upsell_title = get_the_title( $added_upsell );
|
821 |
-
$this->plugin->alerts->Trigger(
|
822 |
-
9045,
|
823 |
-
array(
|
824 |
-
'EventType' => 'added',
|
825 |
-
'PostID' => $oldpost->ID,
|
826 |
-
'ProductTitle' => $oldpost->post_title,
|
827 |
-
'ProductStatus' => $oldpost->post_status,
|
828 |
-
'UpsellTitle' => $upsell_title,
|
829 |
-
'UpsellID' => $added_upsell,
|
830 |
-
$editor_link['name'] => $editor_link['value'],
|
831 |
-
)
|
832 |
-
);
|
833 |
-
}
|
834 |
-
$return = 1;
|
835 |
-
}
|
836 |
-
|
837 |
-
// Removed upsell products.
|
838 |
-
if ( ! empty( $removed_upsells ) && is_array( $removed_upsells ) ) {
|
839 |
-
foreach ( $removed_upsells as $removed_upsell ) {
|
840 |
-
$upsell_title = get_the_title( $removed_upsell );
|
841 |
-
$this->plugin->alerts->Trigger(
|
842 |
-
9045,
|
843 |
-
array(
|
844 |
-
'EventType' => 'removed',
|
845 |
-
'PostID' => $oldpost->ID,
|
846 |
-
'ProductTitle' => $oldpost->post_title,
|
847 |
-
'ProductStatus' => $oldpost->post_status,
|
848 |
-
'UpsellTitle' => $upsell_title,
|
849 |
-
'UpsellID' => $removed_upsell,
|
850 |
-
$editor_link['name'] => $editor_link['value'],
|
851 |
-
)
|
852 |
-
);
|
853 |
-
}
|
854 |
-
$return = 1;
|
855 |
-
}
|
856 |
-
return $return;
|
857 |
-
}
|
858 |
-
|
859 |
-
/**
|
860 |
-
* Trigger events 9046
|
861 |
-
*
|
862 |
-
* @since 3.3.1
|
863 |
-
*
|
864 |
-
* @param object $oldpost - Old product object.
|
865 |
-
* @return int
|
866 |
-
*/
|
867 |
-
protected function check_cross_sell_change( $oldpost ) {
|
868 |
-
// Get product data.
|
869 |
-
$old_cross_sell_ids = isset( $this->_old_data['cross_sell_ids'] ) ? $this->_old_data['cross_sell_ids'] : false;
|
870 |
-
$new_cross_sell_ids = isset( $this->new_data['cross_sell_ids'] ) ? $this->new_data['cross_sell_ids'] : false;
|
871 |
-
|
872 |
-
// Compute the difference.
|
873 |
-
$added_cross_sells = array();
|
874 |
-
$removed_cross_sells = array();
|
875 |
-
if ( is_array( $new_cross_sell_ids ) && is_array( $old_cross_sell_ids ) ) {
|
876 |
-
$added_cross_sells = array_diff( $new_cross_sell_ids, $old_cross_sell_ids );
|
877 |
-
$removed_cross_sells = array_diff( $old_cross_sell_ids, $new_cross_sell_ids );
|
878 |
-
}
|
879 |
-
|
880 |
-
// Get editor link.
|
881 |
-
$editor_link = $this->GetEditorLink( $oldpost );
|
882 |
-
|
883 |
-
// Return.
|
884 |
-
$return = 0;
|
885 |
-
|
886 |
-
// Added cross-sell products.
|
887 |
-
if ( ! empty( $added_cross_sells ) && is_array( $added_cross_sells ) ) {
|
888 |
-
foreach ( $added_cross_sells as $added_cross_sell ) {
|
889 |
-
$cross_sell_title = get_the_title( $added_cross_sell );
|
890 |
-
$this->plugin->alerts->Trigger(
|
891 |
-
9046,
|
892 |
-
array(
|
893 |
-
'EventType' => 'added',
|
894 |
-
'PostID' => $oldpost->ID,
|
895 |
-
'ProductTitle' => $oldpost->post_title,
|
896 |
-
'ProductStatus' => $oldpost->post_status,
|
897 |
-
'CrossSellTitle' => $cross_sell_title,
|
898 |
-
'CrossSellID' => $added_cross_sell,
|
899 |
-
$editor_link['name'] => $editor_link['value'],
|
900 |
-
)
|
901 |
-
);
|
902 |
-
}
|
903 |
-
$return = 1;
|
904 |
-
}
|
905 |
-
|
906 |
-
// Removed cross-sell products.
|
907 |
-
if ( ! empty( $removed_cross_sells ) && is_array( $removed_cross_sells ) ) {
|
908 |
-
foreach ( $removed_cross_sells as $removed_cross_sell ) {
|
909 |
-
$cross_sell_title = get_the_title( $removed_cross_sell );
|
910 |
-
$this->plugin->alerts->Trigger(
|
911 |
-
9046,
|
912 |
-
array(
|
913 |
-
'EventType' => 'removed',
|
914 |
-
'PostID' => $oldpost->ID,
|
915 |
-
'ProductTitle' => $oldpost->post_title,
|
916 |
-
'ProductStatus' => $oldpost->post_status,
|
917 |
-
'CrossSellTitle' => $cross_sell_title,
|
918 |
-
'CrossSellID' => $removed_cross_sell,
|
919 |
-
$editor_link['name'] => $editor_link['value'],
|
920 |
-
)
|
921 |
-
);
|
922 |
-
}
|
923 |
-
$return = 1;
|
924 |
-
}
|
925 |
-
return $return;
|
926 |
-
}
|
927 |
-
|
928 |
-
/**
|
929 |
-
* Trigger events 9010.
|
930 |
-
*
|
931 |
-
* @param object $oldpost - Old product object.
|
932 |
-
* @param object $newpost - New product object.
|
933 |
-
* @return int
|
934 |
-
*/
|
935 |
-
protected function CheckModifyChange( $oldpost, $newpost ) {
|
936 |
-
if ( 'trash' === $oldpost->post_status || 'trash' === $newpost->post_status || 'auto-draft' === $oldpost->post_status ) {
|
937 |
-
return 0;
|
938 |
-
}
|
939 |
-
|
940 |
-
// Get Yoast alerts.
|
941 |
-
$yoast_alerts = $this->plugin->alerts->get_alerts_by_category( 'Yoast SEO' );
|
942 |
-
$yoast_metabox_alerts = $this->plugin->alerts->get_alerts_by_category( 'Yoast SEO Meta Box' );
|
943 |
-
$yoast_alerts = $yoast_alerts + $yoast_metabox_alerts;
|
944 |
-
|
945 |
-
// Check all alerts.
|
946 |
-
foreach ( $yoast_alerts as $alert_code => $alert ) {
|
947 |
-
if ( $this->plugin->alerts->WillOrHasTriggered( $alert_code ) ) {
|
948 |
-
return 0; // Return if any Yoast alert has or will trigger.
|
949 |
-
}
|
950 |
-
}
|
951 |
-
|
952 |
-
$editor_link = $this->GetEditorLink( $oldpost );
|
953 |
-
$this->plugin->alerts->Trigger(
|
954 |
-
9010,
|
955 |
-
array(
|
956 |
-
'PostID' => $oldpost->ID,
|
957 |
-
'ProductTitle' => $oldpost->post_title,
|
958 |
-
'ProductStatus' => $oldpost->post_status,
|
959 |
-
'ProductUrl' => get_post_permalink( $oldpost->ID ),
|
960 |
-
$editor_link['name'] => $editor_link['value'],
|
961 |
-
)
|
962 |
-
);
|
963 |
-
}
|
964 |
-
|
965 |
-
/**
|
966 |
-
* Moved to Trash 9012, 9037.
|
967 |
-
*
|
968 |
-
* @param int $post_id - Product/Order ID.
|
969 |
-
*/
|
970 |
-
public function EventTrashed( $post_id ) {
|
971 |
-
$post = get_post( $post_id );
|
972 |
-
if ( empty( $post ) || ! $post instanceof WP_Post ) {
|
973 |
-
return;
|
974 |
-
}
|
975 |
-
|
976 |
-
if ( 'product' === $post->post_type ) {
|
977 |
-
$this->plugin->alerts->Trigger(
|
978 |
-
9012,
|
979 |
-
array(
|
980 |
-
'PostID' => $post->ID,
|
981 |
-
'ProductTitle' => $post->post_title,
|
982 |
-
'ProductStatus' => $post->post_status,
|
983 |
-
'ProductUrl' => get_post_permalink( $post->ID ),
|
984 |
-
)
|
985 |
-
);
|
986 |
-
} elseif ( 'shop_order' === $post->post_type ) {
|
987 |
-
$this->plugin->alerts->Trigger(
|
988 |
-
9037,
|
989 |
-
array(
|
990 |
-
'OrderID' => $post->ID,
|
991 |
-
'OrderTitle' => $this->get_order_title( $post->ID ),
|
992 |
-
'OrderStatus' => $post->post_status,
|
993 |
-
)
|
994 |
-
);
|
995 |
-
}
|
996 |
-
}
|
997 |
-
|
998 |
-
/**
|
999 |
-
* Permanently deleted 9013 or 9039.
|
1000 |
-
*
|
1001 |
-
* @param int $post_id - Product/Order ID.
|
1002 |
-
*/
|
1003 |
-
public function EventDeleted( $post_id ) {
|
1004 |
-
$post = get_post( $post_id );
|
1005 |
-
if ( empty( $post ) || ! $post instanceof WP_Post ) {
|
1006 |
-
return;
|
1007 |
-
}
|
1008 |
-
|
1009 |
-
if ( 'product' === $post->post_type ) {
|
1010 |
-
$this->plugin->alerts->Trigger(
|
1011 |
-
9013,
|
1012 |
-
array(
|
1013 |
-
'PostID' => $post->ID,
|
1014 |
-
'ProductTitle' => $post->post_title,
|
1015 |
-
)
|
1016 |
-
);
|
1017 |
-
} elseif ( 'shop_order' === $post->post_type ) {
|
1018 |
-
$this->plugin->alerts->Trigger( 9039, array( 'OrderTitle' => $this->get_order_title( $post_id ) ) );
|
1019 |
-
}
|
1020 |
-
}
|
1021 |
-
|
1022 |
-
/**
|
1023 |
-
* Restored from Trash 9014
|
1024 |
-
*
|
1025 |
-
* @param int $post_id - Product ID.
|
1026 |
-
*/
|
1027 |
-
public function EventUntrashed( $post_id ) {
|
1028 |
-
$post = get_post( $post_id );
|
1029 |
-
if ( empty( $post ) || ! $post instanceof WP_Post ) {
|
1030 |
-
return;
|
1031 |
-
}
|
1032 |
-
|
1033 |
-
if ( 'product' === $post->post_type ) {
|
1034 |
-
$editor_link = $this->GetEditorLink( $post );
|
1035 |
-
$this->plugin->alerts->Trigger(
|
1036 |
-
9014,
|
1037 |
-
array(
|
1038 |
-
'PostID' => $post->ID,
|
1039 |
-
'ProductTitle' => $post->post_title,
|
1040 |
-
'ProductStatus' => $post->post_status,
|
1041 |
-
$editor_link['name'] => $editor_link['value'],
|
1042 |
-
)
|
1043 |
-
);
|
1044 |
-
} elseif ( 'shop_order' === $post->post_type ) {
|
1045 |
-
$editor_link = $this->GetEditorLink( $post );
|
1046 |
-
$this->plugin->alerts->Trigger(
|
1047 |
-
9038,
|
1048 |
-
array(
|
1049 |
-
'OrderID' => $post->ID,
|
1050 |
-
'OrderTitle' => $this->get_order_title( $post_id ),
|
1051 |
-
'OrderStatus' => $post->post_status,
|
1052 |
-
$editor_link['name'] => $editor_link['value'],
|
1053 |
-
)
|
1054 |
-
);
|
1055 |
-
}
|
1056 |
-
}
|
1057 |
-
|
1058 |
-
/**
|
1059 |
-
* Viewing Product Event.
|
1060 |
-
*
|
1061 |
-
* Alerts for viewing of product post type for WooCommerce.
|
1062 |
-
*/
|
1063 |
-
public function viewing_product() {
|
1064 |
-
// Retrieve the current post object.
|
1065 |
-
$product = get_queried_object();
|
1066 |
-
|
1067 |
-
// Check product post type.
|
1068 |
-
if ( ! empty( $product ) && $product instanceof WP_Post && 'product' !== $product->post_type ) {
|
1069 |
-
return $product;
|
1070 |
-
}
|
1071 |
-
|
1072 |
-
if ( is_user_logged_in() && ! is_admin() ) {
|
1073 |
-
$current_path = isset( $_SERVER['REQUEST_URI'] ) ? sanitize_text_field( wp_unslash( $_SERVER['REQUEST_URI'] ) ) : false;
|
1074 |
-
if (
|
1075 |
-
! empty( $_SERVER['HTTP_REFERER'] )
|
1076 |
-
&& ! empty( $current_path )
|
1077 |
-
&& false !== strpos( sanitize_text_field( wp_unslash( $_SERVER['HTTP_REFERER'] ) ), $current_path )
|
1078 |
-
) {
|
1079 |
-
// Ignore this if we were on the same page so we avoid double audit entries.
|
1080 |
-
return;
|
1081 |
-
}
|
1082 |
-
|
1083 |
-
if ( ! empty( $product->post_title ) ) {
|
1084 |
-
$editor_link = $this->GetEditorLink( $product );
|
1085 |
-
$this->plugin->alerts->Trigger(
|
1086 |
-
9073,
|
1087 |
-
array(
|
1088 |
-
'PostID' => $product->ID,
|
1089 |
-
'PostType' => $product->post_type,
|
1090 |
-
'ProductStatus' => $product->post_status,
|
1091 |
-
'ProductTitle' => $product->post_title,
|
1092 |
-
'ProductUrl' => get_permalink( $product->ID ),
|
1093 |
-
$editor_link['name'] => $editor_link['value'],
|
1094 |
-
)
|
1095 |
-
);
|
1096 |
-
}
|
1097 |
-
}
|
1098 |
-
}
|
1099 |
-
|
1100 |
-
/**
|
1101 |
-
* Trigger events 9015
|
1102 |
-
*
|
1103 |
-
* @param object $oldpost - Old product object.
|
1104 |
-
* @param object $newpost - New product object.
|
1105 |
-
* @return int
|
1106 |
-
*/
|
1107 |
-
protected function CheckStatusChange( $oldpost, $newpost ) {
|
1108 |
-
if ( 'draft' === $oldpost->post_status || 'auto-draft' === $oldpost->post_status ) {
|
1109 |
-
return 0;
|
1110 |
-
}
|
1111 |
-
if ( $oldpost->post_status !== $newpost->post_status ) {
|
1112 |
-
if ( 'trash' !== $oldpost->post_status && 'trash' !== $newpost->post_status ) {
|
1113 |
-
if ( 'product' === $newpost->post_type ) {
|
1114 |
-
$editor_link = $this->GetEditorLink( $oldpost );
|
1115 |
-
$this->plugin->alerts->Trigger(
|
1116 |
-
9015,
|
1117 |
-
array(
|
1118 |
-
'PostID' => $oldpost->ID,
|
1119 |
-
'ProductTitle' => $oldpost->post_title,
|
1120 |
-
'OldStatus' => $oldpost->post_status,
|
1121 |
-
'NewStatus' => $newpost->post_status,
|
1122 |
-
$editor_link['name'] => $editor_link['value'],
|
1123 |
-
)
|
1124 |
-
);
|
1125 |
-
return 1;
|
1126 |
-
}
|
1127 |
-
if ( 'shop_coupon' === $newpost->post_type ) {
|
1128 |
-
// Get coupon data.
|
1129 |
-
$coupon_data = $this->get_coupon_event_data( $newpost );
|
1130 |
-
// Set status event data.
|
1131 |
-
$coupon_data['OldStatus'] = $oldpost->post_status;
|
1132 |
-
$coupon_data['NewStatus'] = $newpost->post_status;
|
1133 |
-
// Log the event.
|
1134 |
-
$this->plugin->alerts->Trigger( 9070, $coupon_data );
|
1135 |
-
return 1;
|
1136 |
-
}
|
1137 |
-
}
|
1138 |
-
}
|
1139 |
-
return 0;
|
1140 |
-
}
|
1141 |
-
|
1142 |
-
/**
|
1143 |
-
* Trigger events 9016
|
1144 |
-
*
|
1145 |
-
* @param WP_Post $post - Product object.
|
1146 |
-
* @return int
|
1147 |
-
*/
|
1148 |
-
protected function CheckPriceChange( $post ) {
|
1149 |
-
$result = 0;
|
1150 |
-
$old_price = isset( $this->_old_data['regular_price'] ) ? $this->_old_data['regular_price'] : false;
|
1151 |
-
$old_sale_price = isset( $this->_old_data['sale_price'] ) ? $this->_old_data['sale_price'] : false;
|
1152 |
-
$new_price = isset( $this->new_data['regular_price'] ) ? $this->new_data['regular_price'] : false;
|
1153 |
-
$new_sale_price = isset( $this->new_data['sale_price'] ) ? $this->new_data['sale_price'] : false;
|
1154 |
-
|
1155 |
-
if ( ( $new_price ) && ( $old_price !== $new_price ) ) {
|
1156 |
-
$result = $this->EventPrice( $post, 'Regular price', $old_price, $new_price );
|
1157 |
-
}
|
1158 |
-
if ( ( $new_sale_price ) && ( $old_sale_price !== $new_sale_price ) ) {
|
1159 |
-
$result = $this->EventPrice( $post, 'Sale price', $old_sale_price, $new_sale_price );
|
1160 |
-
}
|
1161 |
-
return $result;
|
1162 |
-
}
|
1163 |
-
|
1164 |
-
/**
|
1165 |
-
* Group the Price changes in one function
|
1166 |
-
*
|
1167 |
-
* @param object $post - Old Product Object.
|
1168 |
-
* @param string $type - Price Type.
|
1169 |
-
* @param int $old_price - Old Product Price.
|
1170 |
-
* @param int $new_price - New Product Price.
|
1171 |
-
* @return int
|
1172 |
-
*/
|
1173 |
-
private function EventPrice( $post, $type, $old_price, $new_price ) {
|
1174 |
-
$currency = $this->GetCurrencySymbol( $this->GetConfig( 'currency' ) );
|
1175 |
-
$editor_link = $this->GetEditorLink( $post );
|
1176 |
-
$this->plugin->alerts->Trigger(
|
1177 |
-
9016,
|
1178 |
-
array(
|
1179 |
-
'PostID' => $post->ID,
|
1180 |
-
'ProductTitle' => $post->post_title,
|
1181 |
-
'ProductStatus' => $post->post_status,
|
1182 |
-
'PriceType' => $type,
|
1183 |
-
'OldPrice' => ! empty( $old_price ) ? $currency . $old_price : 0,
|
1184 |
-
'NewPrice' => $currency . $new_price,
|
1185 |
-
$editor_link['name'] => $editor_link['value'],
|
1186 |
-
)
|
1187 |
-
);
|
1188 |
-
return 1;
|
1189 |
-
}
|
1190 |
-
|
1191 |
-
/**
|
1192 |
-
* Trigger events 9017
|
1193 |
-
*
|
1194 |
-
* @param object $oldpost - Old product object.
|
1195 |
-
* @param string $old_sku - Old SKU.
|
1196 |
-
* @param string $new_sku - New SKU.
|
1197 |
-
* @return int
|
1198 |
-
*/
|
1199 |
-
protected function CheckSKUChange( $oldpost, $old_sku = '', $new_sku = '' ) {
|
1200 |
-
if ( '' === $old_sku && '' === $new_sku ) {
|
1201 |
-
$old_sku = isset( $this->_old_data['sku'] ) ? $this->_old_data['sku'] : false;
|
1202 |
-
$new_sku = isset( $this->new_data['sku'] ) ? $this->new_data['sku'] : false;
|
1203 |
-
}
|
1204 |
-
|
1205 |
-
if ( $new_sku && ( $old_sku !== $new_sku ) ) {
|
1206 |
-
$editor_link = $this->GetEditorLink( $oldpost );
|
1207 |
-
$this->plugin->alerts->Trigger(
|
1208 |
-
9017,
|
1209 |
-
array(
|
1210 |
-
'PostID' => $oldpost->ID,
|
1211 |
-
'ProductTitle' => $oldpost->post_title,
|
1212 |
-
'ProductStatus' => $oldpost->post_status,
|
1213 |
-
'OldSku' => ! empty( $old_sku ) ? $old_sku : 0,
|
1214 |
-
'NewSku' => $new_sku,
|
1215 |
-
$editor_link['name'] => $editor_link['value'],
|
1216 |
-
)
|
1217 |
-
);
|
1218 |
-
return 1;
|
1219 |
-
}
|
1220 |
-
return 0;
|
1221 |
-
}
|
1222 |
-
|
1223 |
-
/**
|
1224 |
-
* Trigger events 9018
|
1225 |
-
*
|
1226 |
-
* @param object $oldpost - Old product object.
|
1227 |
-
* @param string $old_status - Old status.
|
1228 |
-
* @param string $new_status - New status.
|
1229 |
-
* @return int
|
1230 |
-
*/
|
1231 |
-
protected function CheckStockStatusChange( $oldpost, $old_status = '', $new_status = '' ) {
|
1232 |
-
if ( '' === $old_status && '' === $new_status ) {
|
1233 |
-
$old_status = isset( $this->_old_data['stock_status'] ) ? $this->_old_data['stock_status'] : false;
|
1234 |
-
$new_status = isset( $this->new_data['stock_status'] ) ? $this->new_data['stock_status'] : false;
|
1235 |
-
}
|
1236 |
-
|
1237 |
-
if ( ( $old_status && $new_status ) && ( $old_status !== $new_status ) ) {
|
1238 |
-
$editor_link = $this->GetEditorLink( $oldpost );
|
1239 |
-
$this->plugin->alerts->Trigger(
|
1240 |
-
9018,
|
1241 |
-
array(
|
1242 |
-
'PostID' => $oldpost->ID,
|
1243 |
-
'ProductTitle' => $oldpost->post_title,
|
1244 |
-
'ProductStatus' => $oldpost->post_status,
|
1245 |
-
'OldStatus' => $this->GetStockStatusName( $old_status ),
|
1246 |
-
'NewStatus' => $this->GetStockStatusName( $new_status ),
|
1247 |
-
$editor_link['name'] => $editor_link['value'],
|
1248 |
-
)
|
1249 |
-
);
|
1250 |
-
return 1;
|
1251 |
-
}
|
1252 |
-
return 0;
|
1253 |
-
}
|
1254 |
-
|
1255 |
-
/**
|
1256 |
-
* Trigger events 9019
|
1257 |
-
*
|
1258 |
-
* @param object $oldpost - Old product object.
|
1259 |
-
* @param mixed $old_value - Old stock quantity.
|
1260 |
-
* @param mixed $new_value - New stock quantity.
|
1261 |
-
* @return int
|
1262 |
-
*/
|
1263 |
-
protected function CheckStockQuantityChange( $oldpost, $old_value = false, $new_value = false ) {
|
1264 |
-
if ( false === $old_value && false === $new_value ) {
|
1265 |
-
$old_value = isset( $this->_old_data['stock_quantity'] ) ? $this->_old_data['stock_quantity'] : false;
|
1266 |
-
$new_value = isset( $this->new_data['stock_quantity'] ) ? $this->new_data['stock_quantity'] : false;
|
1267 |
-
}
|
1268 |
-
|
1269 |
-
if ( $new_value && ( $old_value !== $new_value ) ) {
|
1270 |
-
$editor_link = $this->GetEditorLink( $oldpost );
|
1271 |
-
$this->plugin->alerts->Trigger(
|
1272 |
-
9019,
|
1273 |
-
array(
|
1274 |
-
'PostID' => $oldpost->ID,
|
1275 |
-
'ProductTitle' => $oldpost->post_title,
|
1276 |
-
'ProductStatus' => $oldpost->post_status,
|
1277 |
-
'OldValue' => ! empty( $old_value ) ? $old_value : 0,
|
1278 |
-
'NewValue' => $new_value,
|
1279 |
-
$editor_link['name'] => $editor_link['value'],
|
1280 |
-
)
|
1281 |
-
);
|
1282 |
-
return 1;
|
1283 |
-
}
|
1284 |
-
return 0;
|
1285 |
-
}
|
1286 |
-
|
1287 |
-
/**
|
1288 |
-
* Trigger events 9020
|
1289 |
-
*
|
1290 |
-
* @param object $oldpost - Old product object.
|
1291 |
-
* @param object $newpost - New product object.
|
1292 |
-
* @param mixed $virtual - Product virtual data.
|
1293 |
-
* @param mixed $download - Product downloadable data.
|
1294 |
-
* @return int
|
1295 |
-
*/
|
1296 |
-
protected function CheckTypeChange( $oldpost, $newpost = null, $virtual = false, $download = false ) {
|
1297 |
-
if ( 'trash' === $oldpost->post_status ) {
|
1298 |
-
return 0;
|
1299 |
-
}
|
1300 |
-
|
1301 |
-
if ( $newpost && $newpost instanceof WP_Post && 'trash' === $newpost->post_status ) {
|
1302 |
-
return 0;
|
1303 |
-
}
|
1304 |
-
|
1305 |
-
// Set initial variables.
|
1306 |
-
$old_virtual = false;
|
1307 |
-
$new_virtual = false;
|
1308 |
-
$old_download = false;
|
1309 |
-
$new_download = false;
|
1310 |
-
|
1311 |
-
// Get simple product virtual data.
|
1312 |
-
if ( false === $virtual ) {
|
1313 |
-
$old_virtual = isset( $this->_old_data['virtual'] ) ? $this->_old_data['virtual'] : false;
|
1314 |
-
$new_virtual = isset( $this->new_data['virtual'] ) ? $this->new_data['virtual'] : false;
|
1315 |
-
} elseif ( is_array( $virtual ) ) {
|
1316 |
-
$old_virtual = ( isset( $virtual['old'] ) && $virtual['old'] ) ? 'yes' : 'no';
|
1317 |
-
$new_virtual = ( isset( $virtual['new'] ) && $virtual['new'] ) ? 'yes' : 'no';
|
1318 |
-
}
|
1319 |
-
|
1320 |
-
// Get simple product downloadable data.
|
1321 |
-
if ( false === $download ) {
|
1322 |
-
$old_download = isset( $this->_old_data['downloadable'] ) ? $this->_old_data['downloadable'] : false;
|
1323 |
-
$new_download = isset( $this->new_data['downloadable'] ) ? $this->new_data['downloadable'] : false;
|
1324 |
-
} elseif ( is_array( $download ) ) {
|
1325 |
-
$old_download = ( isset( $download['old'] ) && $download['old'] ) ? 'yes' : 'no';
|
1326 |
-
$new_download = ( isset( $download['new'] ) && $download['new'] ) ? 'yes' : 'no';
|
1327 |
-
}
|
1328 |
-
|
1329 |
-
// Return variable.
|
1330 |
-
$result = 0;
|
1331 |
-
|
1332 |
-
if ( $old_virtual && $new_virtual && $old_virtual !== $new_virtual ) {
|
1333 |
-
$editor_link = $this->GetEditorLink( $oldpost );
|
1334 |
-
$this->plugin->alerts->Trigger(
|
1335 |
-
9020,
|
1336 |
-
array(
|
1337 |
-
'PostID' => $oldpost->ID,
|
1338 |
-
'ProductTitle' => $oldpost->post_title,
|
1339 |
-
'ProductStatus' => $oldpost->post_status,
|
1340 |
-
'OldType' => 'yes' === $old_virtual ? 'Virtual' : 'Non-Virtual',
|
1341 |
-
'NewType' => 'yes' === $new_virtual ? 'Virtual' : 'Non-Virtual',
|
1342 |
-
$editor_link['name'] => $editor_link['value'],
|
1343 |
-
)
|
1344 |
-
);
|
1345 |
-
$result = 1;
|
1346 |
-
}
|
1347 |
-
|
1348 |
-
if ( $old_download && $new_download && $old_download !== $new_download ) {
|
1349 |
-
$editor_link = $this->GetEditorLink( $oldpost );
|
1350 |
-
$this->plugin->alerts->Trigger(
|
1351 |
-
9020,
|
1352 |
-
array(
|
1353 |
-
'PostID' => $oldpost->ID,
|
1354 |
-
'ProductTitle' => $oldpost->post_title,
|
1355 |
-
'ProductStatus' => $oldpost->post_status,
|
1356 |
-
'OldType' => ( 'yes' === $old_download ) ? 'Downloadable' : 'Non-Downloadable',
|
1357 |
-
'NewType' => ( 'yes' === $new_download ) ? 'Downloadable' : 'Non-Downloadable',
|
1358 |
-
$editor_link['name'] => $editor_link['value'],
|
1359 |
-
)
|
1360 |
-
);
|
1361 |
-
$result = 1;
|
1362 |
-
}
|
1363 |
-
return $result;
|
1364 |
-
}
|
1365 |
-
|
1366 |
-
/**
|
1367 |
-
* Trigger events 9021
|
1368 |
-
*
|
1369 |
-
* @param object $oldpost - Old product object.
|
1370 |
-
* @param string $old_weight - (Optional) Old weight.
|
1371 |
-
* @param string $new_weight - (Optional) New weight.
|
1372 |
-
* @return int
|
1373 |
-
*/
|
1374 |
-
protected function CheckWeightChange( $oldpost, $old_weight = '', $new_weight = '' ) {
|
1375 |
-
if ( '' === $old_weight && '' === $new_weight ) {
|
1376 |
-
$old_weight = isset( $this->_old_data['weight'] ) ? $this->_old_data['weight'] : false;
|
1377 |
-
$new_weight = isset( $this->new_data['weight'] ) ? $this->new_data['weight'] : false;
|
1378 |
-
}
|
1379 |
-
|
1380 |
-
if ( $new_weight && ( $old_weight !== $new_weight ) ) {
|
1381 |
-
$weight_unit = $this->GetConfig( 'weight_unit' );
|
1382 |
-
$editor_link = $this->GetEditorLink( $oldpost );
|
1383 |
-
$this->plugin->alerts->Trigger(
|
1384 |
-
9021,
|
1385 |
-
array(
|
1386 |
-
'PostID' => $oldpost->ID,
|
1387 |
-
'ProductTitle' => $oldpost->post_title,
|
1388 |
-
'ProductStatus' => $oldpost->post_status,
|
1389 |
-
'OldWeight' => ! empty( $old_weight ) ? $old_weight . ' ' . $weight_unit : 0,
|
1390 |
-
'NewWeight' => $new_weight . ' ' . $weight_unit,
|
1391 |
-
$editor_link['name'] => $editor_link['value'],
|
1392 |
-
)
|
1393 |
-
);
|
1394 |
-
return 1;
|
1395 |
-
}
|
1396 |
-
return 0;
|
1397 |
-
}
|
1398 |
-
|
1399 |
-
/**
|
1400 |
-
* Trigger events 9022
|
1401 |
-
*
|
1402 |
-
* @param object $oldpost - Old product object.
|
1403 |
-
* @param mixed $length - (Optional) Product lenght.
|
1404 |
-
* @param mixed $width - (Optional) Product width.
|
1405 |
-
* @param mixed $height - (Optional) Product height.
|
1406 |
-
* @return int
|
1407 |
-
*/
|
1408 |
-
protected function CheckDimensionsChange( $oldpost, $length = false, $width = false, $height = false ) {
|
1409 |
-
// Get product dimensions data.
|
1410 |
-
$result = 0;
|
1411 |
-
|
1412 |
-
$old_length = false;
|
1413 |
-
$new_length = false;
|
1414 |
-
$old_width = false;
|
1415 |
-
$new_width = false;
|
1416 |
-
$old_height = false;
|
1417 |
-
$new_height = false;
|
1418 |
-
|
1419 |
-
// Length.
|
1420 |
-
if ( false === $length ) {
|
1421 |
-
$old_length = isset( $this->_old_data['length'] ) ? $this->_old_data['length'] : false;
|
1422 |
-
$new_length = isset( $this->new_data['length'] ) ? $this->new_data['length'] : false;
|
1423 |
-
} elseif ( is_array( $length ) ) {
|
1424 |
-
$old_length = isset( $length['old'] ) ? $length['old'] : false;
|
1425 |
-
$new_length = isset( $length['new'] ) ? $length['new'] : false;
|
1426 |
-
}
|
1427 |
-
|
1428 |
-
// Width.
|
1429 |
-
if ( false === $width ) {
|
1430 |
-
$old_width = isset( $this->_old_data['width'] ) ? $this->_old_data['width'] : false;
|
1431 |
-
$new_width = isset( $this->new_data['width'] ) ? $this->new_data['width'] : false;
|
1432 |
-
} elseif ( is_array( $width ) ) {
|
1433 |
-
$old_width = isset( $width['old'] ) ? $width['old'] : false;
|
1434 |
-
$new_width = isset( $width['new'] ) ? $width['new'] : false;
|
1435 |
-
}
|
1436 |
-
|
1437 |
-
// Height.
|
1438 |
-
if ( false === $height ) {
|
1439 |
-
$old_height = isset( $this->_old_data['height'] ) ? $this->_old_data['height'] : false;
|
1440 |
-
$new_height = isset( $this->new_data['height'] ) ? $this->new_data['height'] : false;
|
1441 |
-
} elseif ( is_array( $height ) ) {
|
1442 |
-
$old_height = isset( $height['old'] ) ? $height['old'] : false;
|
1443 |
-
$new_height = isset( $height['new'] ) ? $height['new'] : false;
|
1444 |
-
}
|
1445 |
-
|
1446 |
-
if ( $new_length && ( $old_length !== $new_length ) ) {
|
1447 |
-
$result = $this->EventDimension( $oldpost, 'Length', $old_length, $new_length );
|
1448 |
-
}
|
1449 |
-
if ( $new_width && ( $old_width !== $new_width ) ) {
|
1450 |
-
$result = $this->EventDimension( $oldpost, 'Width', $old_width, $new_width );
|
1451 |
-
}
|
1452 |
-
if ( $new_height && ( $old_height !== $new_height ) ) {
|
1453 |
-
$result = $this->EventDimension( $oldpost, 'Height', $old_height, $new_height );
|
1454 |
-
}
|
1455 |
-
return $result;
|
1456 |
-
}
|
1457 |
-
|
1458 |
-
/**
|
1459 |
-
* Group the Dimension changes in one function.
|
1460 |
-
*
|
1461 |
-
* @param object $oldpost - Old Product object.
|
1462 |
-
* @param string $type - Dimension type.
|
1463 |
-
* @param string $old_dimension - Old dimension.
|
1464 |
-
* @param string $new_dimension - New dimension.
|
1465 |
-
* @return int
|
1466 |
-
*/
|
1467 |
-
private function EventDimension( $oldpost, $type, $old_dimension, $new_dimension ) {
|
1468 |
-
$dimension_unit = $this->GetConfig( 'dimension_unit' );
|
1469 |
-
$editor_link = $this->GetEditorLink( $oldpost );
|
1470 |
-
$this->plugin->alerts->Trigger(
|
1471 |
-
9022,
|
1472 |
-
array(
|
1473 |
-
'PostID' => $oldpost->ID,
|
1474 |
-
'ProductTitle' => $oldpost->post_title,
|
1475 |
-
'ProductStatus' => $oldpost->post_status,
|
1476 |
-
'DimensionType' => $type,
|
1477 |
-
'OldDimension' => ! empty( $old_dimension ) ? $old_dimension . ' ' . $dimension_unit : 0,
|
1478 |
-
'NewDimension' => $new_dimension . ' ' . $dimension_unit,
|
1479 |
-
$editor_link['name'] => $editor_link['value'],
|
1480 |
-
)
|
1481 |
-
);
|
1482 |
-
return 1;
|
1483 |
-
}
|
1484 |
-
|
1485 |
-
/**
|
1486 |
-
* Trigger events 9023, 9024, 9025, 9026
|
1487 |
-
*
|
1488 |
-
* @param object $oldpost - Old product object.
|
1489 |
-
* @param mixed $file_names - (Optional) New product file names.
|
1490 |
-
* @param mixed $file_urls - (Optional) New product file urls.
|
1491 |
-
* @return int
|
1492 |
-
*/
|
1493 |
-
protected function CheckDownloadableFileChange( $oldpost, $file_names = false, $file_urls = false ) {
|
1494 |
-
// Get product data.
|
1495 |
-
$result = 0;
|
1496 |
-
$is_url_changed = false;
|
1497 |
-
$editor_link = $this->GetEditorLink( $oldpost );
|
1498 |
-
|
1499 |
-
if ( false === $file_names ) {
|
1500 |
-
$old_file_names = isset( $this->_old_data['file_names'] ) ? $this->_old_data['file_names'] : array();
|
1501 |
-
$new_file_names = isset( $this->new_data['file_names'] ) ? $this->new_data['file_names'] : array();
|
1502 |
-
} else {
|
1503 |
-
$old_file_names = isset( $file_names['old'] ) ? $file_names['old'] : array();
|
1504 |
-
$new_file_names = isset( $file_names['new'] ) ? $file_names['new'] : array();
|
1505 |
-
}
|
1506 |
-
|
1507 |
-
if ( false === $file_urls ) {
|
1508 |
-
$old_file_urls = isset( $this->_old_data['file_urls'] ) ? $this->_old_data['file_urls'] : array();
|
1509 |
-
$new_file_urls = isset( $this->new_data['file_urls'] ) ? $this->new_data['file_urls'] : array();
|
1510 |
-
} else {
|
1511 |
-
$old_file_urls = isset( $file_urls['old'] ) ? $file_urls['old'] : array();
|
1512 |
-
$new_file_urls = isset( $file_urls['new'] ) ? $file_urls['new'] : array();
|
1513 |
-
}
|
1514 |
-
|
1515 |
-
$added_urls = array_diff( $new_file_urls, $old_file_urls );
|
1516 |
-
$removed_urls = array_diff( $old_file_urls, $new_file_urls );
|
1517 |
-
$added_names = array_diff( $new_file_names, $old_file_names );
|
1518 |
-
|
1519 |
-
// Added files to the product.
|
1520 |
-
if ( count( $added_urls ) > 0 ) {
|
1521 |
-
// If the file has only changed URL.
|
1522 |
-
if ( count( $new_file_urls ) === count( $old_file_urls ) ) {
|
1523 |
-
$is_url_changed = true;
|
1524 |
-
} else {
|
1525 |
-
foreach ( $added_urls as $key => $url ) {
|
1526 |
-
$this->plugin->alerts->Trigger(
|
1527 |
-
9023,
|
1528 |
-
array(
|
1529 |
-
'PostID' => $oldpost->ID,
|
1530 |
-
'ProductTitle' => $oldpost->post_title,
|
1531 |
-
'ProductStatus' => $oldpost->post_status,
|
1532 |
-
'FileName' => $new_file_names[ $key ],
|
1533 |
-
'FileUrl' => $url,
|
1534 |
-
$editor_link['name'] => $editor_link['value'],
|
1535 |
-
)
|
1536 |
-
);
|
1537 |
-
}
|
1538 |
-
$result = 1;
|
1539 |
-
}
|
1540 |
-
}
|
1541 |
-
|
1542 |
-
// Removed files from the product.
|
1543 |
-
if ( count( $removed_urls ) > 0 ) {
|
1544 |
-
// If the file has only changed URL.
|
1545 |
-
if ( count( $new_file_urls ) === count( $old_file_urls ) ) {
|
1546 |
-
$is_url_changed = true;
|
1547 |
-
} else {
|
1548 |
-
foreach ( $removed_urls as $key => $url ) {
|
1549 |
-
$this->plugin->alerts->Trigger(
|
1550 |
-
9024,
|
1551 |
-
array(
|
1552 |
-
'PostID' => $oldpost->ID,
|
1553 |
-
'ProductTitle' => $oldpost->post_title,
|
1554 |
-
'ProductStatus' => $oldpost->post_status,
|
1555 |
-
'FileName' => $old_file_names[ $key ],
|
1556 |
-
'FileUrl' => $url,
|
1557 |
-
$editor_link['name'] => $editor_link['value'],
|
1558 |
-
)
|
1559 |
-
);
|
1560 |
-
}
|
1561 |
-
$result = 1;
|
1562 |
-
}
|
1563 |
-
}
|
1564 |
-
|
1565 |
-
if ( count( $added_names ) > 0 ) {
|
1566 |
-
// If the file has only changed Name.
|
1567 |
-
if ( count( $new_file_names ) === count( $old_file_names ) ) {
|
1568 |
-
foreach ( $added_names as $key => $name ) {
|
1569 |
-
$this->plugin->alerts->Trigger(
|
1570 |
-
9025,
|
1571 |
-
array(
|
1572 |
-
'PostID' => $oldpost->ID,
|
1573 |
-
'ProductTitle' => $oldpost->post_title,
|
1574 |
-
'ProductStatus' => $oldpost->post_status,
|
1575 |
-
'OldName' => $old_file_names[ $key ],
|
1576 |
-
'NewName' => $name,
|
1577 |
-
$editor_link['name'] => $editor_link['value'],
|
1578 |
-
)
|
1579 |
-
);
|
1580 |
-
}
|
1581 |
-
$result = 1;
|
1582 |
-
}
|
1583 |
-
}
|
1584 |
-
|
1585 |
-
if ( $is_url_changed ) {
|
1586 |
-
foreach ( $added_urls as $key => $url ) {
|
1587 |
-
$this->plugin->alerts->Trigger(
|
1588 |
-
9026,
|
1589 |
-
array(
|
1590 |
-
'PostID' => $oldpost->ID,
|
1591 |
-
'ProductTitle' => $oldpost->post_title,
|
1592 |
-
'ProductStatus' => $oldpost->post_status,
|
1593 |
-
'FileName' => $new_file_names[ $key ],
|
1594 |
-
'OldUrl' => $removed_urls[ $key ],
|
1595 |
-
'NewUrl' => $url,
|
1596 |
-
$editor_link['name'] => $editor_link['value'],
|
1597 |
-
)
|
1598 |
-
);
|
1599 |
-
}
|
1600 |
-
$result = 1;
|
1601 |
-
}
|
1602 |
-
return $result;
|
1603 |
-
}
|
1604 |
-
|
1605 |
-
/**
|
1606 |
-
* Get the config setting
|
1607 |
-
*
|
1608 |
-
* @param string $option_name - Option Name.
|
1609 |
-
* @return string
|
1610 |
-
*/
|
1611 |
-
|
1612 |
-
/**
|
1613 |
-
* Trigger events Settings: 9027, 9028, 9029, 9030, 9031, 9032, 9033
|
1614 |
-
*/
|
1615 |
-
public function settings_updated( $option, $old_value, $value ) {
|
1616 |
-
// Verify WooCommerce settings page nonce.
|
1617 |
-
if ( isset( $_POST['_wpnonce'] ) && wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['_wpnonce'] ) ), 'woocommerce-settings' ) ) {
|
1618 |
-
// Verify settings page via $_GET array.
|
1619 |
-
if ( isset( $_GET['page'] ) && 'wc-settings' === sanitize_text_field( wp_unslash( $_GET['page'] ) ) ) {
|
1620 |
-
if ( isset( $_GET['tab'] ) && 'products' === sanitize_text_field( wp_unslash( $_GET['tab'] ) ) ) {
|
1621 |
-
// Check weight unit event.
|
1622 |
-
if ( isset( $_POST['woocommerce_weight_unit'] ) && $option === 'woocommerce_weight_unit' ) {
|
1623 |
-
$old_unit = $old_value;
|
1624 |
-
$new_unit = sanitize_text_field( wp_unslash( $value ) );
|
1625 |
-
if ( $old_unit !== $new_unit ) {
|
1626 |
-
$this->plugin->alerts->Trigger(
|
1627 |
-
9027,
|
1628 |
-
array(
|
1629 |
-
'OldUnit' => $old_unit,
|
1630 |
-
'NewUnit' => $new_unit,
|
1631 |
-
)
|
1632 |
-
);
|
1633 |
-
}
|
1634 |
-
}
|
1635 |
-
|
1636 |
-
// Check dimension unit event.
|
1637 |
-
if ( isset( $_POST['woocommerce_dimension_unit'] ) && $option === 'woocommerce_dimension_unit' ) {
|
1638 |
-
$old_unit = $old_value;
|
1639 |
-
$new_unit = sanitize_text_field( wp_unslash( $value ) );
|
1640 |
-
if ( $old_unit !== $new_unit ) {
|
1641 |
-
$this->plugin->alerts->Trigger(
|
1642 |
-
9028,
|
1643 |
-
array(
|
1644 |
-
'OldUnit' => $old_unit,
|
1645 |
-
'NewUnit' => $new_unit,
|
1646 |
-
)
|
1647 |
-
);
|
1648 |
-
}
|
1649 |
-
}
|
1650 |
-
} elseif ( isset( $_GET['tab'] ) && 'account' === sanitize_text_field( wp_unslash( $_GET['tab'] ) ) ) {
|
1651 |
-
// Guest Checkout event.
|
1652 |
-
if ( $option === 'woocommerce_enable_guest_checkout' ) {
|
1653 |
-
$old_enable_guest_checkout = $old_value;
|
1654 |
-
$new_enable_guest_checkout = isset( $_POST['woocommerce_enable_guest_checkout'] ) ? 'yes' : 'no';
|
1655 |
-
if ( $old_enable_guest_checkout !== $new_enable_guest_checkout ) {
|
1656 |
-
$status = ( 'yes' === $new_enable_guest_checkout ) ? 'enabled' : 'disabled';
|
1657 |
-
$this->plugin->alerts->Trigger( 9033, array( 'EventType' => $status ) );
|
1658 |
-
}
|
1659 |
-
}
|
1660 |
-
} if ( isset( $_GET['tab'] ) && 'tax' === sanitize_text_field( wp_unslash( $_GET['tab'] ) ) ) {
|
1661 |
-
// Check prices entered with tax setting.
|
1662 |
-
if ( isset( $_POST['woocommerce_prices_include_tax'] ) && $option === 'woocommerce_prices_include_tax' ) {
|
1663 |
-
$old_price_tax = $old_value;
|
1664 |
-
$new_price_tax = sanitize_text_field( wp_unslash( $_POST['woocommerce_prices_include_tax'] ) );
|
1665 |
-
if ( $old_price_tax !== $new_price_tax ) {
|
1666 |
-
$this->plugin->alerts->Trigger( 9078, array( 'TaxStatus' => 'yes' === $new_price_tax ? 'including' : 'excluding' ) );
|
1667 |
-
}
|
1668 |
-
}
|
1669 |
-
|
1670 |
-
// Check calculate tax based on setting.
|
1671 |
-
if ( isset( $_POST['woocommerce_tax_based_on'] ) && $option === 'woocommerce_tax_based_on' ) {
|
1672 |
-
$old_tax_base = $old_value;
|
1673 |
-
$new_tax_base = sanitize_text_field( wp_unslash( $_POST['woocommerce_tax_based_on'] ) );
|
1674 |
-
if ( $old_tax_base !== $new_tax_base ) {
|
1675 |
-
$setting = '';
|
1676 |
-
if ( 'shipping' === $new_tax_base ) {
|
1677 |
-
$setting = 'Customer shipping address';
|
1678 |
-
} elseif ( 'billing' === $new_tax_base ) {
|
1679 |
-
$setting = 'Customer billing address';
|
1680 |
-
} elseif ( 'base' === $new_tax_base ) {
|
1681 |
-
$setting = 'Shop base address';
|
1682 |
-
} else {
|
1683 |
-
$setting = 'Customer shipping address';
|
1684 |
-
}
|
1685 |
-
$this->plugin->alerts->Trigger(
|
1686 |
-
9079,
|
1687 |
-
array(
|
1688 |
-
'Setting' => $setting,
|
1689 |
-
'OldTaxBase' => $old_tax_base,
|
1690 |
-
'NewTaxBase' => $new_tax_base,
|
1691 |
-
)
|
1692 |
-
);
|
1693 |
-
}
|
1694 |
-
}
|
1695 |
-
|
1696 |
-
// Check shipping tax class setting.
|
1697 |
-
if ( isset( $_POST['woocommerce_shipping_tax_class'] ) && $option === 'woocommerce_shipping_tax_class' ) {
|
1698 |
-
$old_tax_class = $old_value;
|
1699 |
-
$new_tax_class = sanitize_text_field( wp_unslash( $_POST['woocommerce_shipping_tax_class'] ) );
|
1700 |
-
if ( $old_tax_class !== $new_tax_class ) {
|
1701 |
-
$setting = '';
|
1702 |
-
if ( 'inherit' === $new_tax_class ) {
|
1703 |
-
$setting = 'Shipping tax class based on cart items';
|
1704 |
-
} elseif ( 'reduced-rate' === $new_tax_class ) {
|
1705 |
-
$setting = 'Reduced rate';
|
1706 |
-
} elseif ( 'zero-rate' === $new_tax_class ) {
|
1707 |
-
$setting = 'Zero rate';
|
1708 |
-
} elseif ( empty( $new_tax_class ) ) {
|
1709 |
-
$setting = 'Standard';
|
1710 |
-
} else {
|
1711 |
-
$setting = 'Shipping tax class based on cart items';
|
1712 |
-
}
|
1713 |
-
$this->plugin->alerts->Trigger(
|
1714 |
-
9080,
|
1715 |
-
array(
|
1716 |
-
'Setting' => $setting,
|
1717 |
-
'OldTaxClass' => $old_tax_class,
|
1718 |
-
'NewTaxClass' => $new_tax_class,
|
1719 |
-
)
|
1720 |
-
);
|
1721 |
-
}
|
1722 |
-
}
|
1723 |
-
|
1724 |
-
// Check rounding of tax setting.
|
1725 |
-
if ( $option === 'woocommerce_tax_round_at_subtotal' ) {
|
1726 |
-
$old_tax_round = $old_value;
|
1727 |
-
$new_tax_round = isset( $_POST['woocommerce_tax_round_at_subtotal'] ) ? 'yes' : 'no';
|
1728 |
-
if ( $old_tax_round !== $new_tax_round ) {
|
1729 |
-
$this->plugin->alerts->Trigger( 9081, array( 'EventType' => 'yes' === $new_tax_round ? 'enabled' : 'disabled' ) );
|
1730 |
-
}
|
1731 |
-
}
|
1732 |
-
} elseif ( empty( $_GET['tab'] ) || 'general' === sanitize_text_field( wp_unslash( $_GET['tab'] ) ) ) {
|
1733 |
-
// "Enable Coupon" event.
|
1734 |
-
if ( $option === 'woocommerce_enable_coupons' ) {
|
1735 |
-
$old_enable_coupons = $old_value;
|
1736 |
-
$new_enable_coupons = isset( $_POST['woocommerce_enable_coupons'] ) ? 'yes' : 'no';
|
1737 |
-
if ( $old_enable_coupons !== $new_enable_coupons ) {
|
1738 |
-
$status = 'yes' === $new_enable_coupons ? 'enabled' : 'disabled';
|
1739 |
-
$this->plugin->alerts->Trigger( 9032, array( 'EventType' => $status ) );
|
1740 |
-
}
|
1741 |
-
}
|
1742 |
-
|
1743 |
-
if ( isset( $_POST['woocommerce_store_address'] ) && $option === 'woocommerce_store_address' || isset( $_POST['woocommerce_store_address_2'] ) && $option === 'woocommerce_store_address_2' || isset( $_POST['woocommerce_store_city'] ) && $option === 'woocommerce_store_city' || isset( $_POST['woocommerce_default_country'] ) && $option === 'woocommerce_default_country' || isset( $_POST['woocommerce_store_postcode'] ) && $option === 'woocommerce_store_postcode' ) {
|
1744 |
-
// Default country event.
|
1745 |
-
$old_location_array = array();
|
1746 |
-
if ( $option === 'woocommerce_store_address' ) {
|
1747 |
-
$old_location = $old_value . ', ' . $this->GetConfig( 'store_address_2' ) . ', ' . $this->GetConfig( 'store_city' ) . ', ' . WC()->countries->countries[ strtok( $this->GetConfig( 'default_country' ), ':') ] . ', ' . $this->GetConfig( 'store_postcode' );
|
1748 |
-
$new_location = sanitize_text_field( wp_unslash( $_POST['woocommerce_store_address'] ) ) . ', ' . $this->GetConfig( 'store_address_2' ) . ', ' . $this->GetConfig( 'store_city' ) . ', ' . WC()->countries->countries[ strtok( $this->GetConfig( 'default_country' ), ':') ] . ', ' . $this->GetConfig( 'store_postcode' );
|
1749 |
-
}
|
1750 |
-
if ( $option === 'woocommerce_store_address_2' ) {
|
1751 |
-
$old_location = $this->GetConfig( 'store_address' ) . ', ' . $old_value . ', ' . $this->GetConfig( 'store_city' ) . ', ' . WC()->countries->countries[ strtok( $this->GetConfig( 'default_country' ), ':') ] . ', ' . $this->GetConfig( 'store_postcode' );
|
1752 |
-
$new_location = $this->GetConfig( 'store_address' ) . ', ' . sanitize_text_field( wp_unslash( $_POST['woocommerce_store_address'] ) ) . ', ' . $this->GetConfig( 'store_city' ) . ', ' . WC()->countries->countries[ strtok( $this->GetConfig( 'default_country' ), ':') ] . ', ' . $this->GetConfig( 'store_postcode' );
|
1753 |
-
}
|
1754 |
-
if ( $option === 'woocommerce_store_city' ) {
|
1755 |
-
$old_location = $this->GetConfig( 'store_address' ) . ', ' . $this->GetConfig( 'store_address_2' ) . ', ' . $old_value . ', ' . $this->GetConfig( 'default_country' ) . ', ' . $this->GetConfig( 'store_postcode' );
|
1756 |
-
$new_location = $this->GetConfig( 'store_address' ) . ', ' . $this->GetConfig( 'store_address_2' ) . ', ' . sanitize_text_field( wp_unslash( $_POST['woocommerce_store_city'] ) ) . ', ' . WC()->countries->countries[ strtok( $this->GetConfig( 'default_country' ), ':') ] . ', ' . $this->GetConfig( 'store_postcode' );
|
1757 |
-
}
|
1758 |
-
if ( $option === 'woocommerce_default_country' ) {
|
1759 |
-
$old_location = $this->GetConfig( 'store_address' ) . ', ' . $this->GetConfig( 'store_address_2' ) . ', ' . $this->GetConfig( 'store_address' ) . ', ' . WC()->countries->countries[ strtok( $old_value, ':') ] . ', ' . $old_value;
|
1760 |
-
$new_location = $this->GetConfig( 'store_address' ) . ', ' . $this->GetConfig( 'store_address_2' ) . ', ' . $this->GetConfig( 'store_address' ) . ', ' . WC()->countries->countries[ strtok( $_POST['woocommerce_default_country'], ':') ] . ', ' . $this->GetConfig( 'store_postcode' );
|
1761 |
-
}
|
1762 |
-
if ( $option === 'woocommerce_store_postcode' ) {
|
1763 |
-
$old_location = $this->GetConfig( 'store_address' ) . ', ' . $this->GetConfig( 'store_address_2' ) . ', ' . $this->GetConfig( 'store_address' ) . ', ' . $this->GetConfig( 'default_country' ) . ', ' . $old_value;
|
1764 |
-
$new_location = $this->GetConfig( 'store_address' ) . ', ' . $this->GetConfig( 'store_address_2' ) . ', ' . $this->GetConfig( 'store_address' ) . ', ' . WC()->countries->countries[ strtok( $this->GetConfig( 'default_country' ), ':') ] . ', ' . sanitize_text_field( wp_unslash( $_POST['woocommerce_store_postcode'] ) );
|
1765 |
-
}
|
1766 |
-
|
1767 |
-
if ( $old_location !== $new_location ) {
|
1768 |
-
if ( ! $this->was_triggered_recently( 9029 ) ) {
|
1769 |
-
$this->plugin->alerts->Trigger(
|
1770 |
-
9029,
|
1771 |
-
array(
|
1772 |
-
'OldLocation' => $old_location,
|
1773 |
-
'NewLocation' => $new_location,
|
1774 |
-
)
|
1775 |
-
);
|
1776 |
-
}
|
1777 |
-
}
|
1778 |
-
}
|
1779 |
-
|
1780 |
-
if ( $option === 'woocommerce_allowed_countries' ) {
|
1781 |
-
if ( $old_value !== $value ) {
|
1782 |
-
$this->plugin->alerts->Trigger(
|
1783 |
-
9085,
|
1784 |
-
array(
|
1785 |
-
'old' => $old_value,
|
1786 |
-
'new' => $value,
|
1787 |
-
)
|
1788 |
-
);
|
1789 |
-
}
|
1790 |
-
}
|
1791 |
-
|
1792 |
-
if ( $option === 'woocommerce_specific_allowed_countries' ) {
|
1793 |
-
if ( empty( $old_value ) ) {
|
1794 |
-
$old_value = get_option( 'woocommerce_specific_allowed_countries' );
|
1795 |
-
}
|
1796 |
-
if ( $old_value !== $value ) {
|
1797 |
-
// Check if any old values are present
|
1798 |
-
if ( ! empty( $old_value ) ) {
|
1799 |
-
$old_country_codes = '';
|
1800 |
-
// add each old country to a string to output in alert.
|
1801 |
-
foreach ($old_value as $old_country_code) {
|
1802 |
-
$old_country_codes .= WC()->countries->countries[$old_country_code] . ', ';
|
1803 |
-
}
|
1804 |
-
} else {
|
1805 |
-
$old_country_codes = __( 'None, ', 'wp-security-audit-log' );
|
1806 |
-
}
|
1807 |
-
// Check if any new values are present
|
1808 |
-
if ( ! empty( $value ) ) {
|
1809 |
-
$country_codes = '';
|
1810 |
-
foreach ($value as $country_code) {
|
1811 |
-
$country_codes .= WC()->countries->countries[$country_code] . ', ';
|
1812 |
-
}
|
1813 |
-
} else {
|
1814 |
-
$country_codes = __( 'None', 'wp-security-audit-log' );
|
1815 |
-
}
|
1816 |
-
$this->plugin->alerts->Trigger(
|
1817 |
-
9086,
|
1818 |
-
array(
|
1819 |
-
'old' => rtrim( $old_country_codes, ', ' ),
|
1820 |
-
'new' => rtrim( $country_codes, ', ' ),
|
1821 |
-
)
|
1822 |
-
);
|
1823 |
-
}
|
1824 |
-
}
|
1825 |
-
|
1826 |
-
if ( $option === 'woocommerce_all_except_countries' ) {
|
1827 |
-
if ( empty( $old_value ) ) {
|
1828 |
-
$old_value = get_option( 'woocommerce_all_except_countries' );
|
1829 |
-
}
|
1830 |
-
if ( $old_value !== $value ) {
|
1831 |
-
// Check if any old values are present
|
1832 |
-
if ( ! empty( $old_value ) ) {
|
1833 |
-
$old_country_codes = '';
|
1834 |
-
// add each old country to a string to output in alert.
|
1835 |
-
foreach ($old_value as $old_country_code) {
|
1836 |
-
$old_country_codes .= WC()->countries->countries[$old_country_code] . ', ';
|
1837 |
-
}
|
1838 |
-
} else {
|
1839 |
-
$old_country_codes = __( 'None, ', 'wp-security-audit-log' );
|
1840 |
-
}
|
1841 |
-
// Check if any new values are present
|
1842 |
-
if ( ! empty( $value ) ) {
|
1843 |
-
$country_codes = '';
|
1844 |
-
foreach ($value as $country_code) {
|
1845 |
-
$country_codes .= WC()->countries->countries[$country_code] . ', ';
|
1846 |
-
}
|
1847 |
-
} else {
|
1848 |
-
$country_codes = __( 'None', 'wp-security-audit-log' );
|
1849 |
-
}
|
1850 |
-
$this->plugin->alerts->Trigger(
|
1851 |
-
9087,
|
1852 |
-
array(
|
1853 |
-
'old' => rtrim( $old_country_codes, ', ' ),
|
1854 |
-
'new' => rtrim( $country_codes, ', ' ),
|
1855 |
-
)
|
1856 |
-
);
|
1857 |
-
}
|
1858 |
-
}
|
1859 |
-
|
1860 |
-
if ( $option === 'woocommerce_ship_to_countries' && $value !== 'NULL' ) {
|
1861 |
-
if ( $old_value !== $value ) {
|
1862 |
-
$this->plugin->alerts->Trigger(
|
1863 |
-
9088,
|
1864 |
-
array(
|
1865 |
-
'old' => $old_value,
|
1866 |
-
'new' => $value,
|
1867 |
-
)
|
1868 |
-
);
|
1869 |
-
}
|
1870 |
-
}
|
1871 |
-
|
1872 |
-
if ( $option === 'woocommerce_specific_ship_to_countries' && $value !== 'NULL' ) {
|
1873 |
-
if ( empty( $old_value ) ) {
|
1874 |
-
$old_value = get_option( 'woocommerce_specific_ship_to_countries' );
|
1875 |
-
}
|
1876 |
-
if ( $old_value !== $value ) {
|
1877 |
-
// Check if any old values are present
|
1878 |
-
if ( ! empty( $old_value ) ) {
|
1879 |
-
$old_country_codes = '';
|
1880 |
-
// add each old country to a string to output in alert.
|
1881 |
-
foreach ($old_value as $old_country_code) {
|
1882 |
-
$old_country_codes .= WC()->countries->countries[$old_country_code] . ', ';
|
1883 |
-
}
|
1884 |
-
} else {
|
1885 |
-
$old_country_codes = __( 'None, ', 'wp-security-audit-log' );
|
1886 |
-
}
|
1887 |
-
// Check if any new values are present
|
1888 |
-
if ( ! empty( $value ) ) {
|
1889 |
-
$country_codes = '';
|
1890 |
-
foreach ($value as $country_code) {
|
1891 |
-
$country_codes .= WC()->countries->countries[$country_code] . ', ';
|
1892 |
-
}
|
1893 |
-
} else {
|
1894 |
-
$country_codes = __( 'None', 'wp-security-audit-log' );
|
1895 |
-
}
|
1896 |
-
$this->plugin->alerts->Trigger(
|
1897 |
-
9089,
|
1898 |
-
array(
|
1899 |
-
'old' => rtrim( $old_country_codes, ', ' ),
|
1900 |
-
'new' => rtrim( $country_codes, ', ' ),
|
1901 |
-
)
|
1902 |
-
);
|
1903 |
-
}
|
1904 |
-
}
|
1905 |
-
|
1906 |
-
if ( $option === 'woocommerce_default_customer_address' ) {
|
1907 |
-
if ( $old_value !== $value ) {
|
1908 |
-
$this->plugin->alerts->Trigger(
|
1909 |
-
9090,
|
1910 |
-
array(
|
1911 |
-
'old' => $old_value,
|
1912 |
-
'new' => $value,
|
1913 |
-
)
|
1914 |
-
);
|
1915 |
-
}
|
1916 |
-
}
|
1917 |
-
|
1918 |
-
// Calculate taxes event.
|
1919 |
-
if ( $option === 'woocommerce_calc_taxes' ) {
|
1920 |
-
$old_calc_taxes = $old_value;
|
1921 |
-
$new_calc_taxes = isset( $_POST['woocommerce_calc_taxes'] ) ? 'yes' : 'no';
|
1922 |
-
if ( $old_calc_taxes !== $new_calc_taxes ) {
|
1923 |
-
$status = 'yes' === $new_calc_taxes ? 'enabled' : 'disabled';
|
1924 |
-
$this->plugin->alerts->Trigger( 9030, array( 'EventType' => $status ) );
|
1925 |
-
}
|
1926 |
-
}
|
1927 |
-
|
1928 |
-
// Store current event.
|
1929 |
-
if ( $option === 'woocommerce_currency' ) {
|
1930 |
-
if ( isset( $_POST['woocommerce_currency'] ) ) {
|
1931 |
-
if( $old_value === 'NULL' ) {
|
1932 |
-
$old_value = get_option(' woocommerce_currency' );
|
1933 |
-
} else {
|
1934 |
-
$old_currency = $old_value;
|
1935 |
-
}
|
1936 |
-
$new_currency = sanitize_text_field( wp_unslash( $_POST['woocommerce_currency'] ) );
|
1937 |
-
if ( $old_currency !== $new_currency ) {
|
1938 |
-
$this->plugin->alerts->Trigger(
|
1939 |
-
9031,
|
1940 |
-
array(
|
1941 |
-
'OldCurrency' => $old_currency,
|
1942 |
-
'NewCurrency' => $new_currency,
|
1943 |
-
)
|
1944 |
-
);
|
1945 |
-
}
|
1946 |
-
}
|
1947 |
-
}
|
1948 |
-
} elseif ( empty( $_GET['tab'] ) || 'advanced' === sanitize_text_field( wp_unslash( $_GET['tab'] ) ) ) {
|
1949 |
-
if ( $option === 'woocommerce_cart_page_id' ) {
|
1950 |
-
if ( $old_value !== $value ) {
|
1951 |
-
if( $old_value === 'NULL' ) {
|
1952 |
-
$old_value = get_option(' woocommerce_cart_page_id' );
|
1953 |
-
} else {
|
1954 |
-
$old_value = get_the_title( $old_value );
|
1955 |
-
}
|
1956 |
-
$this->plugin->alerts->Trigger(
|
1957 |
-
9091,
|
1958 |
-
array(
|
1959 |
-
'old' => $old_value,
|
1960 |
-
'new' => get_the_title( $value ),
|
1961 |
-
)
|
1962 |
-
);
|
1963 |
-
}
|
1964 |
-
}
|
1965 |
-
|
1966 |
-
if ( $option === 'woocommerce_checkout_page_id' ) {
|
1967 |
-
if ( $old_value !== $value ) {
|
1968 |
-
if( $old_value === 'NULL' ) {
|
1969 |
-
$old_value = get_option(' woocommerce_cart_page_id' );
|
1970 |
-
} else {
|
1971 |
-
$old_value = get_the_title( $old_value );
|
1972 |
-
}
|
1973 |
-
$this->plugin->alerts->Trigger(
|
1974 |
-
9092,
|
1975 |
-
array(
|
1976 |
-
'old' => $old_value,
|
1977 |
-
'new' => get_the_title( $value ),
|
1978 |
-
)
|
1979 |
-
);
|
1980 |
-
}
|
1981 |
-
}
|
1982 |
-
|
1983 |
-
if ( $option === 'woocommerce_myaccount_page_id' ) {
|
1984 |
-
if ( $old_value !== $value ) {
|
1985 |
-
$this->plugin->alerts->Trigger(
|
1986 |
-
9093,
|
1987 |
-
array(
|
1988 |
-
'old' => get_the_title( $old_value ),
|
1989 |
-
'new' => get_the_title( $value ),
|
1990 |
-
)
|
1991 |
-
);
|
1992 |
-
}
|
1993 |
-
}
|
1994 |
-
|
1995 |
-
if ( $option === 'woocommerce_terms_page_id' ) {
|
1996 |
-
if ( $old_value !== $value ) {
|
1997 |
-
$this->plugin->alerts->Trigger(
|
1998 |
-
9094,
|
1999 |
-
array(
|
2000 |
-
'old' => get_the_title( $old_value ),
|
2001 |
-
'new' => get_the_title( $value ),
|
2002 |
-
)
|
2003 |
-
);
|
2004 |
-
}
|
2005 |
-
}
|
2006 |
-
}
|
2007 |
-
}
|
2008 |
-
}
|
2009 |
-
}
|
2010 |
-
|
2011 |
-
/**
|
2012 |
-
* Trigger events Settings: 9027, 9028, 9029, 9030, 9031, 9032, 9033
|
2013 |
-
*/
|
2014 |
-
protected function CheckSettingsChange() {
|
2015 |
-
// Verify WooCommerce settings page nonce.
|
2016 |
-
if ( isset( $_POST['_wpnonce'] ) && wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['_wpnonce'] ) ), 'woocommerce-settings' ) ) {
|
2017 |
-
// Verify settings page via $_GET array.
|
2018 |
-
if ( isset( $_GET['page'] ) && 'wc-settings' === sanitize_text_field( wp_unslash( $_GET['page'] ) ) ) {
|
2019 |
-
if ( isset( $_GET['tab'] ) && 'checkout' === sanitize_text_field( wp_unslash( $_GET['tab'] ) ) ) {
|
2020 |
-
// Get payment method.
|
2021 |
-
$gateway = isset( $_GET['section'] ) ? sanitize_text_field( wp_unslash( $_GET['section'] ) ) : false;
|
2022 |
-
|
2023 |
-
// Set to true if payment gateways are enabled or disabled.
|
2024 |
-
$status_change = false;
|
2025 |
-
|
2026 |
-
// Check Cash On Delivery section.
|
2027 |
-
if ( $gateway && 'cod' === sanitize_text_field( wp_unslash( $gateway ) ) ) {
|
2028 |
-
// Check COD event.
|
2029 |
-
$old_cash_on_delivery = $this->GetConfig( 'cod_settings' );
|
2030 |
-
$old_cash_on_delivery = isset( $old_cash_on_delivery['enabled'] ) ? $old_cash_on_delivery['enabled'] : '';
|
2031 |
-
$new_cash_on_delivery = isset( $_POST['woocommerce_cod_enabled'] ) ? 'yes' : 'no';
|
2032 |
-
|
2033 |
-
// Check status change.
|
2034 |
-
if ( $old_cash_on_delivery !== $new_cash_on_delivery ) {
|
2035 |
-
$status = 'yes' === $new_cash_on_delivery ? 'enabled' : 'disabled';
|
2036 |
-
$this->plugin->alerts->Trigger( 9034, array( 'EventType' => $status ) );
|
2037 |
-
$status_change = true;
|
2038 |
-
}
|
2039 |
-
} elseif ( $gateway ) {
|
2040 |
-
// Get old gateway settings.
|
2041 |
-
$gateway_settings = $this->GetConfig( $gateway . '_settings' );
|
2042 |
-
$old_gateway_status = isset( $gateway_settings['enabled'] ) ? $gateway_settings['enabled'] : false;
|
2043 |
-
$new_gateway_status = isset( $_POST[ 'woocommerce_' . $gateway . '_enabled' ] ) ? 'yes' : 'no';
|
2044 |
-
|
2045 |
-
// Check status change.
|
2046 |
-
if ( $old_gateway_status !== $new_gateway_status ) {
|
2047 |
-
// Gateway enabled.
|
2048 |
-
$this->plugin->alerts->Trigger(
|
2049 |
-
9074,
|
2050 |
-
array(
|
2051 |
-
'GatewayID' => $gateway,
|
2052 |
-
'GatewayName' => isset( $gateway_settings['title'] ) ? $gateway_settings['title'] : false,
|
2053 |
-
'EventType' => 'yes' === $new_gateway_status ? 'enabled' : 'disabled',
|
2054 |
-
)
|
2055 |
-
);
|
2056 |
-
$status_change = true;
|
2057 |
-
}
|
2058 |
-
}
|
2059 |
-
|
2060 |
-
if ( $gateway && ! $status_change ) {
|
2061 |
-
$gateway_settings = $this->GetConfig( $gateway . '_settings' );
|
2062 |
-
$this->plugin->alerts->Trigger(
|
2063 |
-
9076,
|
2064 |
-
array(
|
2065 |
-
'GatewayID' => $gateway,
|
2066 |
-
'GatewayName' => isset( $gateway_settings['title'] ) ? $gateway_settings['title'] : false,
|
2067 |
-
)
|
2068 |
-
);
|
2069 |
-
}
|
2070 |
-
}
|
2071 |
-
}
|
2072 |
-
}
|
2073 |
-
|
2074 |
-
// Verify nonce for payment gateways.
|
2075 |
-
if ( isset( $_POST['security'] ) && wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['security'] ) ), 'woocommerce-toggle-payment-gateway-enabled' ) ) {
|
2076 |
-
if ( isset( $_POST['action'] ) && 'woocommerce_toggle_gateway_enabled' === sanitize_text_field( wp_unslash( $_POST['action'] ) ) ) {
|
2077 |
-
// Get payment gateways.
|
2078 |
-
$payment_gateways = WC()->payment_gateways->payment_gateways();
|
2079 |
-
|
2080 |
-
if ( ! empty( $payment_gateways ) ) {
|
2081 |
-
foreach ( $payment_gateways as $gateway ) {
|
2082 |
-
// Get gateway ID.
|
2083 |
-
$gateway_id = isset( $_POST['gateway_id'] ) ? sanitize_text_field( wp_unslash( $_POST['gateway_id'] ) ) : false;
|
2084 |
-
|
2085 |
-
// Check if the gateway id matches any available gateway ids.
|
2086 |
-
if ( ! in_array( $gateway_id, array( $gateway->id, sanitize_title( get_class( $gateway ) ) ), true ) ) {
|
2087 |
-
continue;
|
2088 |
-
}
|
2089 |
-
$enabled = $gateway->get_option( 'enabled', 'no' );
|
2090 |
-
|
2091 |
-
if ( 'cod' === $gateway->id ) {
|
2092 |
-
$status = ! wc_string_to_bool( $enabled ) ? 'enabled' : 'disabled';
|
2093 |
-
$this->plugin->alerts->Trigger( 9034, array( 'EventType' => $status ) );
|
2094 |
-
} else {
|
2095 |
-
// Gateway enabled.
|
2096 |
-
$this->plugin->alerts->Trigger(
|
2097 |
-
9074,
|
2098 |
-
array(
|
2099 |
-
'GatewayID' => $gateway->id,
|
2100 |
-
'GatewayName' => $gateway->title,
|
2101 |
-
'EventType' => ! wc_string_to_bool( $enabled ) ? 'enabled' : 'disabled',
|
2102 |
-
)
|
2103 |
-
);
|
2104 |
-
}
|
2105 |
-
}
|
2106 |
-
}
|
2107 |
-
}
|
2108 |
-
}
|
2109 |
-
|
2110 |
-
// Verify nonce for shipping zones events.
|
2111 |
-
if ( isset( $_POST['wc_shipping_zones_nonce'] ) && wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['wc_shipping_zones_nonce'] ) ), 'wc_shipping_zones_nonce' ) ) {
|
2112 |
-
if ( isset( $_POST['zone_id'] ) ) {
|
2113 |
-
// Get zone details.
|
2114 |
-
$zone_id = sanitize_text_field( wp_unslash( $_POST['zone_id'] ) );
|
2115 |
-
|
2116 |
-
if ( ! $zone_id && isset( $_POST['changes']['zone_name'] ) ) {
|
2117 |
-
// Get zone details.
|
2118 |
-
$zone_name = sanitize_text_field( wp_unslash( $_POST['changes']['zone_name'] ) );
|
2119 |
-
$this->plugin->alerts->Trigger(
|
2120 |
-
9082,
|
2121 |
-
array(
|
2122 |
-
'EventType' => 'created',
|
2123 |
-
'ShippingZoneName' => $zone_name,
|
2124 |
-
)
|
2125 |
-
);
|
2126 |
-
} elseif ( ! empty( $_POST['changes'] ) ) {
|
2127 |
-
$shipping_zone = new WC_Shipping_Zone( $zone_id );
|
2128 |
-
$zone_name = isset( $_POST['changes']['zone_name'] ) ? sanitize_text_field( wp_unslash( $_POST['changes']['zone_name'] ) ) : false;
|
2129 |
-
$this->plugin->alerts->Trigger(
|
2130 |
-
9082,
|
2131 |
-
array(
|
2132 |
-
'ShippingZoneID' => $zone_id,
|
2133 |
-
'EventType' => 'modified',
|
2134 |
-
'ShippingZoneName' => $zone_name ? $zone_name : $shipping_zone->get_zone_name(),
|
2135 |
-
)
|
2136 |
-
);
|
2137 |
-
}
|
2138 |
-
}
|
2139 |
-
|
2140 |
-
if ( isset( $_POST['changes'] ) && ! empty( $_POST['changes'] ) ) {
|
2141 |
-
// @codingStandardsIgnoreLine
|
2142 |
-
$changes = $_POST['changes'];
|
2143 |
-
foreach ( $changes as $key => $zone ) {
|
2144 |
-
if ( ! is_integer( $key ) ) {
|
2145 |
-
continue;
|
2146 |
-
}
|
2147 |
-
|
2148 |
-
if ( isset( $zone['zone_id'], $zone['deleted'] ) && 'deleted' === $zone['deleted'] ) {
|
2149 |
-
$zone_obj = new WC_Shipping_Zone( $zone['zone_id'] );
|
2150 |
-
$this->plugin->alerts->Trigger(
|
2151 |
-
9082,
|
2152 |
-
array(
|
2153 |
-
'ShippingZoneID' => $zone['zone_id'],
|
2154 |
-
'EventType' => 'deleted',
|
2155 |
-
'ShippingZoneName' => $zone_obj->get_zone_name(),
|
2156 |
-
)
|
2157 |
-
);
|
2158 |
-
}
|
2159 |
-
}
|
2160 |
-
}
|
2161 |
-
}
|
2162 |
-
}
|
2163 |
-
|
2164 |
-
/**
|
2165 |
-
* Get Stock Status Name.
|
2166 |
-
*
|
2167 |
-
* @param string $slug - Stock slug.
|
2168 |
-
* @return string
|
2169 |
-
*/
|
2170 |
-
private function GetStockStatusName( $slug ) {
|
2171 |
-
if ( 'instock' === $slug ) {
|
2172 |
-
return __( 'In stock', 'wp-security-audit-log' );
|
2173 |
-
} elseif ( 'outofstock' === $slug ) {
|
2174 |
-
return __( 'Out of stock', 'wp-security-audit-log' );
|
2175 |
-
} elseif ( 'onbackorder' === $slug ) {
|
2176 |
-
return __( 'On backorder', 'wp-security-audit-log' );
|
2177 |
-
}
|
2178 |
-
}
|
2179 |
-
|
2180 |
-
/**
|
2181 |
-
* Return: Product Categories.
|
2182 |
-
*
|
2183 |
-
* @param object $post - Product post object.
|
2184 |
-
* @return array
|
2185 |
-
*/
|
2186 |
-
protected function GetProductCategories( $post ) {
|
2187 |
-
return wp_get_post_terms( $post->ID, 'product_cat', array( 'fields' => 'names' ) );
|
2188 |
-
}
|
2189 |
-
|
2190 |
-
/**
|
2191 |
-
* Returns Product Data.
|
2192 |
-
*
|
2193 |
-
* Returns an array containing only WooCommerce product specific data.
|
2194 |
-
* This array contains the following data:
|
2195 |
-
* 1. Product type.
|
2196 |
-
* 2. Catalog visibility.
|
2197 |
-
* 3. Featured product.
|
2198 |
-
* 4. Regular price.
|
2199 |
-
* 5. Sale price.
|
2200 |
-
* 6. SKU.
|
2201 |
-
* 7. Stock status.
|
2202 |
-
* 8. stock quantity.
|
2203 |
-
* 9. Virtual.
|
2204 |
-
* 10. Downloadable.
|
2205 |
-
* 11. Weight.
|
2206 |
-
* 12. Length.
|
2207 |
-
* 13. Width.
|
2208 |
-
* 14. Height.
|
2209 |
-
* 15. Backorders.
|
2210 |
-
* 16. Upsell IDs.
|
2211 |
-
* 17. Cross sell IDs.
|
2212 |
-
* 18. File names.
|
2213 |
-
* 19. File URLs.
|
2214 |
-
*
|
2215 |
-
* @param WC_Product $product - Product post object.
|
2216 |
-
* @return array
|
2217 |
-
*/
|
2218 |
-
protected function GetProductData( $product ) {
|
2219 |
-
$product_data = array(
|
2220 |
-
'type' => $product->get_type(),
|
2221 |
-
'catalog_visibility' => $product->get_catalog_visibility(),
|
2222 |
-
'featured' => $product->get_featured(),
|
2223 |
-
'regular_price' => $product->get_regular_price(),
|
2224 |
-
'sale_price' => $product->get_sale_price(),
|
2225 |
-
'sku' => $product->get_sku(),
|
2226 |
-
'stock_status' => $product->get_stock_status(),
|
2227 |
-
'stock_quantity' => $product->get_stock_quantity(),
|
2228 |
-
'virtual' => $product->is_virtual() ? 'yes' : 'no',
|
2229 |
-
'downloadable' => $product->is_downloadable() ? 'yes' : 'no',
|
2230 |
-
'weight' => $product->get_weight(),
|
2231 |
-
'length' => $product->get_length(),
|
2232 |
-
'width' => $product->get_width(),
|
2233 |
-
'height' => $product->get_height(),
|
2234 |
-
'backorders' => $product->get_backorders(),
|
2235 |
-
'upsell_ids' => $product->get_upsell_ids(),
|
2236 |
-
'cross_sell_ids' => $product->get_cross_sell_ids(),
|
2237 |
-
'file_names' => array(),
|
2238 |
-
'file_urls' => array(),
|
2239 |
-
);
|
2240 |
-
|
2241 |
-
foreach ( $product->get_downloads() as $download ) {
|
2242 |
-
array_push( $product_data['file_names'], $download->get_name() );
|
2243 |
-
array_push( $product_data['file_urls'], $download->get_file() );
|
2244 |
-
}
|
2245 |
-
return $product_data;
|
2246 |
-
}
|
2247 |
-
|
2248 |
-
/**
|
2249 |
-
* Get the config setting
|
2250 |
-
*
|
2251 |
-
* @param string $option_name - Option Name.
|
2252 |
-
* @return string
|
2253 |
-
*/
|
2254 |
-
private function GetConfig( $option_name ) {
|
2255 |
-
$fn = $this->IsMultisite() ? 'get_site_option' : 'get_option';
|
2256 |
-
return $fn( 'woocommerce_' . $option_name );
|
2257 |
-
}
|
2258 |
-
|
2259 |
-
/**
|
2260 |
-
* Check post type.
|
2261 |
-
*
|
2262 |
-
* @param stdClass $post - Post.
|
2263 |
-
* @return bool
|
2264 |
-
*/
|
2265 |
-
private function CheckWooCommerce( $post ) {
|
2266 |
-
switch ( $post->post_type ) {
|
2267 |
-
case 'product':
|
2268 |
-
return true;
|
2269 |
-
default:
|
2270 |
-
return false;
|
2271 |
-
}
|
2272 |
-
}
|
2273 |
-
|
2274 |
-
/**
|
2275 |
-
* Get editor link.
|
2276 |
-
*
|
2277 |
-
* @param stdClass $post - The post.
|
2278 |
-
* @return array $editor_link - Name and value link.
|
2279 |
-
*/
|
2280 |
-
private function GetEditorLink( $post ) {
|
2281 |
-
// Meta value key.
|
2282 |
-
if ( 'shop_order' === $post->post_type ) {
|
2283 |
-
$name = 'EditorLinkOrder';
|
2284 |
-
} elseif ( 'shop_coupon' === $post->post_type ) {
|
2285 |
-
$name = 'EditorLinkCoupon';
|
2286 |
-
} else {
|
2287 |
-
$name = 'EditorLinkProduct';
|
2288 |
-
}
|
2289 |
-
|
2290 |
-
// Get editor post link URL.
|
2291 |
-
$value = get_edit_post_link( $post->ID );
|
2292 |
-
|
2293 |
-
// If the URL is not empty then set values.
|
2294 |
-
if ( ! empty( $value ) ) {
|
2295 |
-
$editor_link = array(
|
2296 |
-
'name' => $name, // Meta key.
|
2297 |
-
'value' => $value, // Meta value.
|
2298 |
-
);
|
2299 |
-
} else {
|
2300 |
-
// Get post object.
|
2301 |
-
$post = get_post( $post->ID );
|
2302 |
-
|
2303 |
-
// Set URL action.
|
2304 |
-
if ( 'revision' === $post->post_type ) {
|
2305 |
-
$action = '';
|
2306 |
-
} else {
|
2307 |
-
$action = '&action=edit';
|
2308 |
-
}
|
2309 |
-
|
2310 |
-
// Get and check post type object.
|
2311 |
-
$post_type_object = get_post_type_object( $post->post_type );
|
2312 |
-
if ( ! $post_type_object ) {
|
2313 |
-
return;
|
2314 |
-
}
|
2315 |
-
|
2316 |
-
// Set editor link manually.
|
2317 |
-
if ( $post_type_object->_edit_link ) {
|
2318 |
-
$link = admin_url( sprintf( $post_type_object->_edit_link . $action, $post->ID ) );
|
2319 |
-
} else {
|
2320 |
-
$link = '';
|
2321 |
-
}
|
2322 |
-
|
2323 |
-
$editor_link = array(
|
2324 |
-
'name' => $name, // Meta key.
|
2325 |
-
'value' => $link, // Meta value.
|
2326 |
-
);
|
2327 |
-
}
|
2328 |
-
|
2329 |
-
return $editor_link;
|
2330 |
-
}
|
2331 |
-
|
2332 |
-
/**
|
2333 |
-
* Alerts for editing of product post type for WooCommerce.
|
2334 |
-
*
|
2335 |
-
* @param WP_Post $product - Product post type.
|
2336 |
-
*/
|
2337 |
-
public function editing_product( $product ) {
|
2338 |
-
// Check product post type.
|
2339 |
-
if ( 'product' !== $product->post_type ) {
|
2340 |
-
return $product;
|
2341 |
-
}
|
2342 |
-
|
2343 |
-
if ( is_user_logged_in() && is_admin() ) {
|
2344 |
-
// Filter $_SERVER array for security.
|
2345 |
-
$server_array = filter_input_array( INPUT_SERVER );
|
2346 |
-
|
2347 |
-
$current_path = isset( $server_array['SCRIPT_NAME'] ) ? $server_array['SCRIPT_NAME'] . '?post=' . $product->ID : false;
|
2348 |
-
if ( ! empty( $server_array['HTTP_REFERER'] )
|
2349 |
-
&& strpos( $server_array['HTTP_REFERER'], $current_path ) !== false ) {
|
2350 |
-
// Ignore this if we were on the same page so we avoid double audit entries.
|
2351 |
-
return $product;
|
2352 |
-
}
|
2353 |
-
if ( ! empty( $product->post_title ) ) {
|
2354 |
-
$event = 9072;
|
2355 |
-
if ( ! $this->WasTriggered( $event ) && ! $this->WasTriggered( 9001 ) ) {
|
2356 |
-
$editor_link = $this->GetEditorLink( $product );
|
2357 |
-
$this->plugin->alerts->Trigger(
|
2358 |
-
$event,
|
2359 |
-
array(
|
2360 |
-
'PostID' => $product->ID,
|
2361 |
-
'PostType' => $product->post_type,
|
2362 |
-
'ProductStatus' => $product->post_status,
|
2363 |
-
'ProductTitle' => $product->post_title,
|
2364 |
-
'ProductUrl' => get_permalink( $product->ID ),
|
2365 |
-
$editor_link['name'] => $editor_link['value'],
|
2366 |
-
)
|
2367 |
-
);
|
2368 |
-
}
|
2369 |
-
}
|
2370 |
-
}
|
2371 |
-
return $product;
|
2372 |
-
}
|
2373 |
-
|
2374 |
-
/**
|
2375 |
-
* Check if the alert was triggered.
|
2376 |
-
*
|
2377 |
-
* @param integer $alert_id - Alert code.
|
2378 |
-
* @return boolean
|
2379 |
-
*/
|
2380 |
-
private function WasTriggered( $alert_id ) {
|
2381 |
-
$query = new WSAL_Models_OccurrenceQuery();
|
2382 |
-
$query->addOrderBy( 'created_on', true );
|
2383 |
-
$query->setLimit( 1 );
|
2384 |
-
$last_occurence = $query->getAdapter()->Execute( $query );
|
2385 |
-
if ( ! empty( $last_occurence ) ) {
|
2386 |
-
if ( $last_occurence[0]->alert_id === $alert_id ) {
|
2387 |
-
return true;
|
2388 |
-
}
|
2389 |
-
}
|
2390 |
-
return false;
|
2391 |
-
}
|
2392 |
-
|
2393 |
-
/**
|
2394 |
-
* Get Currency symbol.
|
2395 |
-
*
|
2396 |
-
* @param string $currency - Currency (default: '').
|
2397 |
-
* @return string
|
2398 |
-
*/
|
2399 |
-
private function GetCurrencySymbol( $currency = '' ) {
|
2400 |
-
$symbols = array(
|
2401 |
-
'AED' => 'د.إ',
|
2402 |
-
'AFN' => '؋',
|
2403 |
-
'ALL' => 'L',
|
2404 |
-
'AMD' => 'AMD',
|
2405 |
-
'ANG' => 'ƒ',
|
2406 |
-
'AOA' => 'Kz',
|
2407 |
-
'ARS' => '$',
|
2408 |
-
'AUD' => '$',
|
2409 |
-
'AWG' => 'ƒ',
|
2410 |
-
'AZN' => 'AZN',
|
2411 |
-
'BAM' => 'KM',
|
2412 |
-
'BBD' => '$',
|
2413 |
-
'BDT' => '৳ ',
|
2414 |
-
'BGN' => 'лв.',
|
2415 |
-
'BHD' => '.د.ب',
|
2416 |
-
'BIF' => 'Fr',
|
2417 |
-
'BMD' => '$',
|
2418 |
-
'BND' => '$',
|
2419 |
-
'BOB' => 'Bs.',
|
2420 |
-
'BRL' => 'R$',
|
2421 |
-
'BSD' => '$',
|
2422 |
-
'BTC' => '฿',
|
2423 |
-
'BTN' => 'Nu.',
|
2424 |
-
'BWP' => 'P',
|
2425 |
-
'BYR' => 'Br',
|
2426 |
-
'BZD' => '$',
|
2427 |
-
'CAD' => '$',
|
2428 |
-
'CDF' => 'Fr',
|
2429 |
-
'CHF' => 'CHF',
|
2430 |
-
'CLP' => '$',
|
2431 |
-
'CNY' => '¥',
|
2432 |
-
'COP' => '$',
|
2433 |
-
'CRC' => '₡',
|
2434 |
-
'CUC' => '$',
|
2435 |
-
'CUP' => '$',
|
2436 |
-
'CVE' => '$',
|
2437 |
-
'CZK' => 'Kč',
|
2438 |
-
'DJF' => 'Fr',
|
2439 |
-
'DKK' => 'DKK',
|
2440 |
-
'DOP' => 'RD$',
|
2441 |
-
'DZD' => 'د.ج',
|
2442 |
-
'EGP' => 'EGP',
|
2443 |
-
'ERN' => 'Nfk',
|
2444 |
-
'ETB' => 'Br',
|
2445 |
-
'EUR' => '€',
|
2446 |
-
'FJD' => '$',
|
2447 |
-
'FKP' => '£',
|
2448 |
-
'GBP' => '£',
|
2449 |
-
'GEL' => 'ლ',
|
2450 |
-
'GGP' => '£',
|
2451 |
-
'GHS' => '₵',
|
2452 |
-
'GIP' => '£',
|
2453 |
-
'GMD' => 'D',
|
2454 |
-
'GNF' => 'Fr',
|
2455 |
-
'GTQ' => 'Q',
|
2456 |
-
'GYD' => '$',
|
2457 |
-
'HKD' => '$',
|
2458 |
-
'HNL' => 'L',
|
2459 |
-
'HRK' => 'Kn',
|
2460 |
-
'HTG' => 'G',
|
2461 |
-
'HUF' => 'Ft',
|
2462 |
-
'IDR' => 'Rp',
|
2463 |
-
'ILS' => '₪',
|
2464 |
-
'IMP' => '£',
|
2465 |
-
'INR' => '₹',
|
2466 |
-
'IQD' => 'ع.د',
|
2467 |
-
'IRR' => '﷼',
|
2468 |
-
'ISK' => 'kr.',
|
2469 |
-
'JEP' => '£',
|
2470 |
-
'JMD' => '$',
|
2471 |
-
'JOD' => 'د.ا',
|
2472 |
-
'JPY' => '¥',
|
2473 |
-
'KES' => 'KSh',
|
2474 |
-
'KGS' => 'сом',
|
2475 |
-
'KHR' => '៛',
|
2476 |
-
'KMF' => 'Fr',
|
2477 |
-
'KPW' => '₩',
|
2478 |
-
'KRW' => '₩',
|
2479 |
-
'KWD' => 'د.ك',
|
2480 |
-
'KYD' => '$',
|
2481 |
-
'KZT' => 'KZT',
|
2482 |
-
'LAK' => '₭',
|
2483 |
-
'LBP' => 'ل.ل',
|
2484 |
-
'LKR' => 'රු',
|
2485 |
-
'LRD' => '$',
|
2486 |
-
'LSL' => 'L',
|
2487 |
-
'LYD' => 'ل.د',
|
2488 |
-
'MAD' => 'د.م.',
|
2489 |
-
'MDL' => 'L',
|
2490 |
-
'MGA' => 'Ar',
|
2491 |
-
'MKD' => 'ден',
|
2492 |
-
'MMK' => 'Ks',
|
2493 |
-
'MNT' => '₮',
|
2494 |
-
'MOP' => 'P',
|
2495 |
-
'MRO' => 'UM',
|
2496 |
-
'MUR' => '₨',
|
2497 |
-
'MVR' => '.ރ',
|
2498 |
-
'MWK' => 'MK',
|
2499 |
-
'MXN' => '$',
|
2500 |
-
'MYR' => 'RM',
|
2501 |
-
'MZN' => 'MT',
|
2502 |
-
'NAD' => '$',
|
2503 |
-
'NGN' => '₦',
|
2504 |
-
'NIO' => 'C$',
|
2505 |
-
'NOK' => 'kr',
|
2506 |
-
'NPR' => '₨',
|
2507 |
-
'NZD' => '$',
|
2508 |
-
'OMR' => 'ر.ع.',
|
2509 |
-
'PAB' => 'B/.',
|
2510 |
-
'PEN' => 'S/.',
|
2511 |
-
'PGK' => 'K',
|
2512 |
-
'PHP' => '₱',
|
2513 |
-
'PKR' => '₨',
|
2514 |
-
'PLN' => 'zł',
|
2515 |
-
'PRB' => 'р.',
|
2516 |
-
'PYG' => '₲',
|
2517 |
-
'QAR' => 'ر.ق',
|
2518 |
-
'RMB' => '¥',
|
2519 |
-
'RON' => 'lei',
|
2520 |
-
'RSD' => 'дин.',
|
2521 |
-
'RUB' => '₽',
|
2522 |
-
'RWF' => 'Fr',
|
2523 |
-
'SAR' => 'ر.س',
|
2524 |
-
'SBD' => '$',
|
2525 |
-
'SCR' => '₨',
|
2526 |
-
'SDG' => 'ج.س.',
|
2527 |
-
'SEK' => 'kr',
|
2528 |
-
'SGD' => '$',
|
2529 |
-
'SHP' => '£',
|
2530 |
-
'SLL' => 'Le',
|
2531 |
-
'SOS' => 'Sh',
|
2532 |
-
'SRD' => '$',
|
2533 |
-
'SSP' => '£',
|
2534 |
-
'STD' => 'Db',
|
2535 |
-
'SYP' => 'ل.س',
|
2536 |
-
'SZL' => 'L',
|
2537 |
-
'THB' => '฿',
|
2538 |
-
'TJS' => 'ЅМ',
|
2539 |
-
'TMT' => 'm',
|
2540 |
-
'TND' => 'د.ت',
|
2541 |
-
'TOP' => 'T$',
|
2542 |
-
'TRY' => '₺',
|
2543 |
-
'TTD' => '$',
|
2544 |
-
'TWD' => 'NT$',
|
2545 |
-
'TZS' => 'Sh',
|
2546 |
-
'UAH' => '₴',
|
2547 |
-
'UGX' => 'UGX',
|
2548 |
-
'USD' => '$',
|
2549 |
-
'UYU' => '$',
|
2550 |
-
'UZS' => 'UZS',
|
2551 |
-
'VEF' => 'Bs F',
|
2552 |
-
'VND' => '₫',
|
2553 |
-
'VUV' => 'Vt',
|
2554 |
-
'WST' => 'T',
|
2555 |
-
'XAF' => 'Fr',
|
2556 |
-
'XCD' => '$',
|
2557 |
-
'XOF' => 'Fr',
|
2558 |
-
'XPF' => 'Fr',
|
2559 |
-
'YER' => '﷼',
|
2560 |
-
'ZAR' => 'R',
|
2561 |
-
'ZMW' => 'ZK',
|
2562 |
-
);
|
2563 |
-
$currency_symbol = isset( $symbols[ $currency ] ) ? $symbols[ $currency ] : '';
|
2564 |
-
|
2565 |
-
return $currency_symbol;
|
2566 |
-
}
|
2567 |
-
|
2568 |
-
/**
|
2569 |
-
* Formulate Order Title as done by WooCommerce.
|
2570 |
-
*
|
2571 |
-
* @since 3.3.1
|
2572 |
-
*
|
2573 |
-
* @param int|WC_Order $order_id - Order id or WC Order object.
|
2574 |
-
* @return string
|
2575 |
-
*/
|
2576 |
-
private function get_order_title( $order_id ) {
|
2577 |
-
if ( ! $order_id ) {
|
2578 |
-
return false;
|
2579 |
-
}
|
2580 |
-
if ( is_a( $order_id, 'WC_Order' ) ) {
|
2581 |
-
$order = $order_id;
|
2582 |
-
} else {
|
2583 |
-
$order = wc_get_order( $order_id );
|
2584 |
-
}
|
2585 |
-
if ( ! $order ) {
|
2586 |
-
return false;
|
2587 |
-
}
|
2588 |
-
|
2589 |
-
$buyer = '';
|
2590 |
-
if ( $order->get_billing_first_name() || $order->get_billing_last_name() ) {
|
2591 |
-
$buyer = trim( sprintf( '%1$s %2$s', $order->get_billing_first_name(), $order->get_billing_last_name() ) );
|
2592 |
-
} elseif ( $order->get_billing_company() ) {
|
2593 |
-
$buyer = trim( $order->get_billing_company() );
|
2594 |
-
} elseif ( $order->get_customer_id() ) {
|
2595 |
-
$user = get_user_by( 'id', $order->get_customer_id() );
|
2596 |
-
$buyer = ucwords( $user->display_name );
|
2597 |
-
}
|
2598 |
-
return '#' . $order->get_order_number() . ' ' . $buyer;
|
2599 |
-
}
|
2600 |
-
|
2601 |
-
/**
|
2602 |
-
* WooCommerce Order Status Changed Event.
|
2603 |
-
*
|
2604 |
-
* @since 3.3.1
|
2605 |
-
*
|
2606 |
-
* @param integer $order_id – Order ID.
|
2607 |
-
* @param string $status_from – Status changing from.
|
2608 |
-
* @param string $status_to – Status changing to.
|
2609 |
-
* @param WC_Order $order – WooCommerce order object.
|
2610 |
-
*/
|
2611 |
-
public function event_order_status_changed( $order_id, $status_from, $status_to, $order ) {
|
2612 |
-
$order_post = get_post( $order_id ); // Get order post object.
|
2613 |
-
$order_title = ( null !== $order_post && $order_post instanceof WP_Post ) ? $order_post->post_title : false;
|
2614 |
-
$order_post = get_post( $order_id );
|
2615 |
-
$edit_link = $this->GetEditorLink( $order_post );
|
2616 |
-
$event_data = array(
|
2617 |
-
'OrderID' => $order_id,
|
2618 |
-
'OrderTitle' => $this->get_order_title( $order ),
|
2619 |
-
'OrderStatus' => $status_to,
|
2620 |
-
$edit_link['name'] => $edit_link['value'],
|
2621 |
-
);
|
2622 |
-
$this->plugin->alerts->TriggerIf( 9036, $event_data, array( $this, 'must_not_contain_refund' ) );
|
2623 |
-
}
|
2624 |
-
|
2625 |
-
/**
|
2626 |
-
* Checks if event 9041 has triggered or if it will
|
2627 |
-
* trigger.
|
2628 |
-
*
|
2629 |
-
* @since 3.3.1.1
|
2630 |
-
*
|
2631 |
-
* @param WSAL_AlertManager $manager - Alert manager instance.
|
2632 |
-
* @return boolean
|
2633 |
-
*/
|
2634 |
-
public function must_not_contain_refund( WSAL_AlertManager $manager ) {
|
2635 |
-
if ( $manager->WillOrHasTriggered( 9041 ) ) {
|
2636 |
-
return false;
|
2637 |
-
}
|
2638 |
-
return true;
|
2639 |
-
}
|
2640 |
-
|
2641 |
-
/**
|
2642 |
-
* WooCommerce Order Modified.
|
2643 |
-
*
|
2644 |
-
* @since 3.3.1
|
2645 |
-
*
|
2646 |
-
* @param integer $order_id – Order id.
|
2647 |
-
* @param WP_Post $oldorder – Old order WP_Post object.
|
2648 |
-
* @param WP_Post $neworder – New order WP_Post object.
|
2649 |
-
*/
|
2650 |
-
private function check_order_modify_change( $order_id, $oldorder, $neworder ) {
|
2651 |
-
if ( 'trash' === $neworder->post_status ) {
|
2652 |
-
return 0;
|
2653 |
-
}
|
2654 |
-
|
2655 |
-
// Get editor link.
|
2656 |
-
$edit_link = $this->GetEditorLink( $oldorder );
|
2657 |
-
|
2658 |
-
// Set event data.
|
2659 |
-
$event_data = array(
|
2660 |
-
'OrderID' => $order_id,
|
2661 |
-
'OrderTitle' => $this->get_order_title( $order_id ),
|
2662 |
-
'OrderStatus' => $neworder->post_status,
|
2663 |
-
$edit_link['name'] => $edit_link['value'],
|
2664 |
-
);
|
2665 |
-
|
2666 |
-
// Log event.
|
2667 |
-
$this->plugin->alerts->TriggerIf( 9040, $event_data, array( $this, 'must_not_contain_refund' ) );
|
2668 |
-
}
|
2669 |
-
|
2670 |
-
/**
|
2671 |
-
* WooCommerce Bulk Order Modified.
|
2672 |
-
*
|
2673 |
-
* @since 3.3.1
|
2674 |
-
*
|
2675 |
-
* @param array $order_ids – Bulk Order ids.
|
2676 |
-
* @param string $action – Bulk action to perform.
|
2677 |
-
* @return array
|
2678 |
-
*/
|
2679 |
-
public function event_bulk_order_actions( $order_ids, $action ) {
|
2680 |
-
// Check for remove personal data action.
|
2681 |
-
if ( 'remove_personal_data' === $action ) {
|
2682 |
-
foreach ( $order_ids as $order_id ) {
|
2683 |
-
$order_post = get_post( $order_id );
|
2684 |
-
|
2685 |
-
// Get editor link.
|
2686 |
-
$edit_link = $this->GetEditorLink( $order_post );
|
2687 |
-
|
2688 |
-
// Log event.
|
2689 |
-
$this->plugin->alerts->Trigger(
|
2690 |
-
9040,
|
2691 |
-
array(
|
2692 |
-
'OrderID' => $order_id,
|
2693 |
-
'OrderTitle' => $this->get_order_title( $order_id ),
|
2694 |
-
'OrderStatus' => $order_post->post_status,
|
2695 |
-
$edit_link['name'] => $edit_link['value'],
|
2696 |
-
)
|
2697 |
-
);
|
2698 |
-
}
|
2699 |
-
}
|
2700 |
-
return $order_ids;
|
2701 |
-
}
|
2702 |
-
|
2703 |
-
/**
|
2704 |
-
* WooCommerce Order Refunded.
|
2705 |
-
*
|
2706 |
-
* @since 3.3.1
|
2707 |
-
*
|
2708 |
-
* @param integer $order_id – Order ID.
|
2709 |
-
* @param integer $refund_id – Refund ID.
|
2710 |
-
*/
|
2711 |
-
public function event_order_refunded( $order_id, $refund_id ) {
|
2712 |
-
// Get order post object.
|
2713 |
-
$order_obj = get_post( $order_id );
|
2714 |
-
$edit_link = $this->GetEditorLink( $order_obj );
|
2715 |
-
|
2716 |
-
$this->plugin->alerts->Trigger(
|
2717 |
-
9041,
|
2718 |
-
array(
|
2719 |
-
'OrderID' => $order_id,
|
2720 |
-
'RefundID' => $refund_id,
|
2721 |
-
'OrderTitle' => $this->get_order_title( $order_id ),
|
2722 |
-
'OrderStatus' => $order_obj->post_status,
|
2723 |
-
$edit_link['name'] => $edit_link['value'],
|
2724 |
-
)
|
2725 |
-
);
|
2726 |
-
}
|
2727 |
-
|
2728 |
-
/**
|
2729 |
-
* WooCommerce New Attribute Event.
|
2730 |
-
*
|
2731 |
-
* @since 3.3.1
|
2732 |
-
*
|
2733 |
-
* @param int $attr_id - Attribute ID.
|
2734 |
-
* @param array $attr_data - Attribute data array.
|
2735 |
-
*/
|
2736 |
-
public function event_attribute_added( $attr_id, $attr_data ) {
|
2737 |
-
if ( $attr_id && is_array( $attr_data ) ) {
|
2738 |
-
$this->plugin->alerts->Trigger( 9057, $this->get_attribute_event_data( $attr_id, $attr_data ) );
|
2739 |
-
}
|
2740 |
-
}
|
2741 |
-
|
2742 |
-
/**
|
2743 |
-
* WooCommerce Attribute Deleted Event.
|
2744 |
-
*
|
2745 |
-
* @since 3.3.1
|
2746 |
-
*
|
2747 |
-
* @param int $id - Attribute ID.
|
2748 |
-
* @param string $name - Attribute name.
|
2749 |
-
* @param string $taxonomy - Attribute taxonomy name.
|
2750 |
-
*/
|
2751 |
-
public function event_attribute_deleted( $id, $name, $taxonomy ) {
|
2752 |
-
// Get the attribute.
|
2753 |
-
$attribute = wc_get_attribute( $id );
|
2754 |
-
|
2755 |
-
// Check id and attribute object.
|
2756 |
-
if ( $id && ! is_null( $attribute ) ) {
|
2757 |
-
$this->plugin->alerts->Trigger(
|
2758 |
-
9058,
|
2759 |
-
array(
|
2760 |
-
'AttributeID' => $id,
|
2761 |
-
'AttributeName' => isset( $attribute->name ) ? $attribute->name : false,
|
2762 |
-
'AttributeSlug' => isset( $attribute->slug ) ? str_replace( 'pa_', '', $attribute->slug ) : false,
|
2763 |
-
'AttributeType' => isset( $attribute->type ) ? $attribute->type : false,
|
2764 |
-
'AttributeOrderby' => isset( $attribute->order_by ) ? $attribute->order_by : false,
|
2765 |
-
'AttributePublic' => isset( $attribute->has_archives ) ? $attribute->has_archives : '0',
|
2766 |
-
'Taxonomy' => $taxonomy,
|
2767 |
-
)
|
2768 |
-
);
|
2769 |
-
}
|
2770 |
-
}
|
2771 |
-
|
2772 |
-
/**
|
2773 |
-
* Retrieve Attribute Data before editing.
|
2774 |
-
*
|
2775 |
-
* @since 3.3.1
|
2776 |
-
*/
|
2777 |
-
private function retrieve_attribute_data() {
|
2778 |
-
// @codingStandardsIgnoreStart
|
2779 |
-
$save_attribute = isset( $_POST['save_attribute'] ) ? true : false;
|
2780 |
-
$post_type = isset( $_GET['post_type'] ) ? sanitize_text_field( wp_unslash( $_GET['post_type'] ) ) : false;
|
2781 |
-
$page = isset( $_GET['page'] ) ? sanitize_text_field( wp_unslash( $_GET['page'] ) ) : false;
|
2782 |
-
$attribute_id = isset( $_GET['edit'] ) ? absint( sanitize_text_field( wp_unslash( $_GET['edit'] ) ) ) : false;
|
2783 |
-
// @codingStandardsIgnoreEnd
|
2784 |
-
|
2785 |
-
if ( $save_attribute && ! empty( $post_type ) && ! empty( $page ) && ! empty( $attribute_id ) && 'product' === $post_type && 'product_attributes' === $page ) {
|
2786 |
-
// Verify nonce.
|
2787 |
-
check_admin_referer( 'woocommerce-save-attribute_' . $attribute_id );
|
2788 |
-
|
2789 |
-
// Get attribute data.
|
2790 |
-
$this->old_attr_data = wc_get_attribute( $attribute_id );
|
2791 |
-
}
|
2792 |
-
}
|
2793 |
-
|
2794 |
-
/**
|
2795 |
-
* WooCommerce Attribute Updated Events.
|
2796 |
-
*
|
2797 |
-
* @since 3.3.1
|
2798 |
-
*
|
2799 |
-
* @param int $id - Added attribute ID.
|
2800 |
-
* @param array $data - Attribute data.
|
2801 |
-
* @param string $old_slug - Attribute old name.
|
2802 |
-
*/
|
2803 |
-
public function event_attribute_updated( $id, $data, $old_slug ) {
|
2804 |
-
// Check the attribute slug.
|
2805 |
-
if ( isset( $data['attribute_name'] ) && $data['attribute_name'] !== $old_slug ) {
|
2806 |
-
$attr_event = $this->get_attribute_event_data( $id, $data );
|
2807 |
-
$attr_event['OldSlug'] = $old_slug;
|
2808 |
-
$attr_event['NewSlug'] = $data['attribute_name'];
|
2809 |
-
$this->plugin->alerts->Trigger( 9059, $attr_event );
|
2810 |
-
}
|
2811 |
-
|
2812 |
-
// Check the attribute name.
|
2813 |
-
if ( isset( $data['attribute_label'] ) && isset( $this->old_attr_data->name ) && $data['attribute_label'] !== $this->old_attr_data->name ) {
|
2814 |
-
$attr_event = $this->get_attribute_event_data( $id, $data );
|
2815 |
-
$attr_event['OldName'] = $this->old_attr_data->name;
|
2816 |
-
$attr_event['NewName'] = $data['attribute_label'];
|
2817 |
-
$this->plugin->alerts->Trigger( 9060, $attr_event );
|
2818 |
-
}
|
2819 |
-
|
2820 |
-
// Check the attribute orderby.
|
2821 |
-
if ( isset( $data['attribute_orderby'] ) && isset( $this->old_attr_data->order_by ) && $data['attribute_orderby'] !== $this->old_attr_data->order_by ) {
|
2822 |
-
$attr_event = $this->get_attribute_event_data( $id, $data );
|
2823 |
-
$attr_event['OldSortOrder'] = $this->old_attr_data->order_by;
|
2824 |
-
$attr_event['NewSortOrder'] = $data['attribute_orderby'];
|
2825 |
-
$this->plugin->alerts->Trigger( 9061, $attr_event );
|
2826 |
-
}
|
2827 |
-
|
2828 |
-
// Check the attribute archives.
|
2829 |
-
if ( isset( $data['attribute_public'] ) && isset( $this->old_attr_data->has_archives ) && $data['attribute_public'] !== (int) $this->old_attr_data->has_archives ) {
|
2830 |
-
$attr_event = $this->get_attribute_event_data( $id, $data );
|
2831 |
-
$attr_event['EventType'] = 1 === $data['attribute_public'] ? 'enabled' : 'disabled';
|
2832 |
-
$this->plugin->alerts->Trigger( 9062, $attr_event );
|
2833 |
-
}
|
2834 |
-
}
|
2835 |
-
|
2836 |
-
/**
|
2837 |
-
* Return Attribute Events Data.
|
2838 |
-
*
|
2839 |
-
* @since 3.3.1
|
2840 |
-
*
|
2841 |
-
* @param int $attr_id - Added attribute ID.
|
2842 |
-
* @param array $data - Attribute data.
|
2843 |
-
* @return array
|
2844 |
-
*/
|
2845 |
-
private function get_attribute_event_data( $attr_id, $data ) {
|
2846 |
-
return array(
|
2847 |
-
'AttributeID' => $attr_id,
|
2848 |
-
'AttributeName' => isset( $data['attribute_label'] ) ? $data['attribute_label'] : false,
|
2849 |
-
'AttributeSlug' => isset( $data['attribute_name'] ) ? $data['attribute_name'] : false,
|
2850 |
-
'AttributeType' => isset( $data['attribute_type'] ) ? $data['attribute_type'] : false,
|
2851 |
-
'AttributeOrderby' => isset( $data['attribute_orderby'] ) ? $data['attribute_orderby'] : false,
|
2852 |
-
'AttributePublic' => isset( $data['attribute_public'] ) ? $data['attribute_public'] : '0',
|
2853 |
-
);
|
2854 |
-
}
|
2855 |
-
|
2856 |
-
/**
|
2857 |
-
* Check AJAX changes for WooCommerce.
|
2858 |
-
*
|
2859 |
-
* @since 3.3.1
|
2860 |
-
*/
|
2861 |
-
private function check_wc_ajax_change_events() {
|
2862 |
-
// @codingStandardsIgnoreStart
|
2863 |
-
$action = isset( $_POST['action'] ) ? sanitize_text_field( wp_unslash( $_POST['action'] ) ) : false;
|
2864 |
-
$is_data = isset( $_POST['data'] ) ? true : false;
|
2865 |
-
// @codingStandardsIgnoreEnd
|
2866 |
-
|
2867 |
-
// WooCommerce order actions.
|
2868 |
-
$wc_order_actions = array(
|
2869 |
-
'woocommerce_add_order_item',
|
2870 |
-
'woocommerce_save_order_items',
|
2871 |
-
'woocommerce_remove_order_item',
|
2872 |
-
'woocommerce_add_coupon_discount',
|
2873 |
-
'woocommerce_remove_order_coupon',
|
2874 |
-
);
|
2875 |
-
|
2876 |
-
// Check for save attributes action.
|
2877 |
-
if ( $is_data && 'woocommerce_save_attributes' === $action ) {
|
2878 |
-
// Check nonce.
|
2879 |
-
check_ajax_referer( 'save-attributes', 'security' );
|
2880 |
-
|
2881 |
-
$post_id = isset( $_POST['post_id'] ) ? sanitize_text_field( wp_unslash( $_POST['post_id'] ) ) : false;
|
2882 |
-
if ( ! $post_id ) {
|
2883 |
-
return;
|
2884 |
-
}
|
2885 |
-
|
2886 |
-
$post = get_post( $post_id );
|
2887 |
-
if ( ! $post ) {
|
2888 |
-
return;
|
2889 |
-
}
|
2890 |
-
|
2891 |
-
// Get the attributes data.
|
2892 |
-
parse_str( $_POST['data'], $data );
|
2893 |
-
$this->check_attributes_change( $post, $data );
|
2894 |
-
} elseif ( 'woocommerce_save_variations' === $action ) {
|
2895 |
-
// Check nonce.
|
2896 |
-
check_ajax_referer( 'save-variations', 'security' );
|
2897 |
-
|
2898 |
-
$product_id = isset( $_POST['product_id'] ) ? sanitize_text_field( wp_unslash( $_POST['product_id'] ) ) : false;
|
2899 |
-
if ( ! $product_id ) {
|
2900 |
-
return;
|
2901 |
-
}
|
2902 |
-
|
2903 |
-
$post = get_post( $product_id );
|
2904 |
-
if ( ! $post ) {
|
2905 |
-
return;
|
2906 |
-
}
|
2907 |
-
$this->check_variations_change( $post );
|
2908 |
-
} elseif ( in_array( $action, $wc_order_actions, true ) ) {
|
2909 |
-
// Check nonce.
|
2910 |
-
check_ajax_referer( 'order-item', 'security' );
|
2911 |
-
|
2912 |
-
// Get order ID.
|
2913 |
-
$order_id = isset( $_POST['order_id'] ) ? absint( sanitize_text_field( wp_unslash( $_POST['order_id'] ) ) ) : false;
|
2914 |
-
if ( ! $order_id ) {
|
2915 |
-
return;
|
2916 |
-
}
|
2917 |
-
|
2918 |
-
// Get order post.
|
2919 |
-
$order = get_post( $order_id );
|
2920 |
-
|
2921 |
-
// Get editor link.
|
2922 |
-
$edit_link = $this->GetEditorLink( $order );
|
2923 |
-
|
2924 |
-
// Log event.
|
2925 |
-
$this->plugin->alerts->Trigger(
|
2926 |
-
9040,
|
2927 |
-
array(
|
2928 |
-
'OrderID' => $order_id,
|
2929 |
-
'OrderTitle' => $this->get_order_title( $order_id ),
|
2930 |
-
'OrderStatus' => isset( $order->post_status ) ? $order->post_status : false,
|
2931 |
-
$edit_link['name'] => $edit_link['value'],
|
2932 |
-
)
|
2933 |
-
);
|
2934 |
-
}
|
2935 |
-
}
|
2936 |
-
|
2937 |
-
/**
|
2938 |
-
* Check Product Attributes Change.
|
2939 |
-
*
|
2940 |
-
* @since 3.3.1
|
2941 |
-
*
|
2942 |
-
* @param WP_Post $oldpost - WP Post type object.
|
2943 |
-
* @param array $data - Data array.
|
2944 |
-
* @return int
|
2945 |
-
*/
|
2946 |
-
private function check_attributes_change( $oldpost, $data = false ) {
|
2947 |
-
$post_attributes = get_post_meta( $oldpost->ID, '_product_attributes', true ); // Get post attribute meta.
|
2948 |
-
$post_attributes = ! $post_attributes ? array() : $post_attributes;
|
2949 |
-
|
2950 |
-
if ( ! $data ) {
|
2951 |
-
// @codingStandardsIgnoreStart
|
2952 |
-
$data = $_POST;
|
2953 |
-
// @codingStandardsIgnoreEnd
|
2954 |
-
}
|
2955 |
-
|
2956 |
-
$attribute_names = isset( $data['attribute_names'] ) ? array_map( 'sanitize_text_field', wp_unslash( $data['attribute_names'] ) ) : false;
|
2957 |
-
$attribute_position = isset( $data['attribute_position'] ) ? array_map( 'sanitize_text_field', wp_unslash( $data['attribute_position'] ) ) : false;
|
2958 |
-
$attribute_visibility = isset( $data['attribute_visibility'] ) ? array_map( 'sanitize_text_field', wp_unslash( $data['attribute_visibility'] ) ) : false;
|
2959 |
-
$attribute_values = isset( $data['attribute_values'] ) ? $data['attribute_values'] : false;
|
2960 |
-
|
2961 |
-
if ( ! empty( $attribute_names ) && ! empty( $attribute_values ) ) {
|
2962 |
-
$new_attributes = array();
|
2963 |
-
foreach ( $attribute_names as $key => $name ) {
|
2964 |
-
$attr_key = $this->get_attribute_key( $name );
|
2965 |
-
$new_attributes[ $attr_key ] = array(
|
2966 |
-
'name' => $name,
|
2967 |
-
'value' => isset( $attribute_values[ $key ] ) ? $this->get_string_attribute_value( $attribute_values[ $key ] ) : false,
|
2968 |
-
'position' => isset( $attribute_position[ $key ] ) ? $attribute_position[ $key ] : false,
|
2969 |
-
'is_visible' => isset( $attribute_visibility[ $key ] ) ? $attribute_visibility[ $key ] : false,
|
2970 |
-
);
|
2971 |
-
}
|
2972 |
-
|
2973 |
-
// Compare old and new attributes.
|
2974 |
-
$added_attributes = array_diff_key( $new_attributes, $post_attributes );
|
2975 |
-
$deleted_attributes = array_diff_key( $post_attributes, $new_attributes );
|
2976 |
-
|
2977 |
-
// Get product editor link.
|
2978 |
-
$editor_link = $this->GetEditorLink( $oldpost );
|
2979 |
-
|
2980 |
-
// Result.
|
2981 |
-
$result = 0;
|
2982 |
-
|
2983 |
-
// Event 9047.
|
2984 |
-
if ( ! empty( $added_attributes ) ) {
|
2985 |
-
foreach ( $added_attributes as $added_attribute ) {
|
2986 |
-
if ( $added_attribute && ! empty( $added_attribute['name'] ) ) {
|
2987 |
-
$this->plugin->alerts->Trigger(
|
2988 |
-
9047,
|
2989 |
-
array(
|
2990 |
-
'AttributeName' => $added_attribute['name'],
|
2991 |
-
'AttributeValue' => $added_attribute['value'],
|
2992 |
-
'ProductID' => $oldpost->ID,
|
2993 |
-
'ProductTitle' => $oldpost->post_title,
|
2994 |
-
'ProductStatus' => $oldpost->post_status,
|
2995 |
-
$editor_link['name'] => $editor_link['value'],
|
2996 |
-
)
|
2997 |
-
);
|
2998 |
-
$result = 1;
|
2999 |
-
}
|
3000 |
-
}
|
3001 |
-
}
|
3002 |
-
|
3003 |
-
// Event 9050.
|
3004 |
-
if ( ! empty( $deleted_attributes ) ) {
|
3005 |
-
foreach ( $deleted_attributes as $deleted_attribute ) {
|
3006 |
-
$this->plugin->alerts->Trigger(
|
3007 |
-
9050,
|
3008 |
-
array(
|
3009 |
-
'AttributeName' => $deleted_attribute['name'],
|
3010 |
-
'AttributeValue' => $deleted_attribute['value'],
|
3011 |
-
'ProductID' => $oldpost->ID,
|
3012 |
-
'ProductTitle' => $oldpost->post_title,
|
3013 |
-
'ProductStatus' => $oldpost->post_status,
|
3014 |
-
'ProductUrl' => get_permalink( $oldpost->ID ),
|
3015 |
-
$editor_link['name'] => $editor_link['value'],
|
3016 |
-
)
|
3017 |
-
);
|
3018 |
-
$result = 1;
|
3019 |
-
}
|
3020 |
-
}
|
3021 |
-
|
3022 |
-
// Event 9048, 9049 & 9051.
|
3023 |
-
if ( ! empty( $new_attributes ) ) {
|
3024 |
-
foreach ( $new_attributes as $attr_key => $new_attr ) {
|
3025 |
-
// Get old attribute value.
|
3026 |
-
$old_value = '';
|
3027 |
-
if ( false !== strpos( $attr_key, 'pa_' ) ) {
|
3028 |
-
$old_value = $this->get_wc_product_attributes( $oldpost, $attr_key );
|
3029 |
-
} else {
|
3030 |
-
$old_value = isset( $post_attributes[ $attr_key ]['value'] ) ? $post_attributes[ $attr_key ]['value'] : false;
|
3031 |
-
}
|
3032 |
-
$new_value = isset( $new_attr['value'] ) ? $new_attr['value'] : false; // Get new attribute value.
|
3033 |
-
|
3034 |
-
// Get old and new attribute names.
|
3035 |
-
$old_name = isset( $post_attributes[ $attr_key ]['name'] ) ? $post_attributes[ $attr_key ]['name'] : false;
|
3036 |
-
$new_name = isset( $new_attr['name'] ) ? $new_attr['name'] : false;
|
3037 |
-
|
3038 |
-
// Get old and new attribute visibility.
|
3039 |
-
$old_visible = isset( $post_attributes[ $attr_key ]['is_visible'] ) ? (int) $post_attributes[ $attr_key ]['is_visible'] : false;
|
3040 |
-
$new_visible = isset( $new_attr['is_visible'] ) ? (int) $new_attr['is_visible'] : false;
|
3041 |
-
|
3042 |
-
// Value change.
|
3043 |
-
if ( $old_value && $new_value && $old_value !== $new_value ) {
|
3044 |
-
$this->plugin->alerts->Trigger(
|
3045 |
-
9048,
|
3046 |
-
array(
|
3047 |
-
'AttributeName' => $new_attr['name'],
|
3048 |
-
'OldValue' => $old_value,
|
3049 |
-
'NewValue' => $new_value,
|
3050 |
-
'ProductID' => $oldpost->ID,
|
3051 |
-
'ProductTitle' => $oldpost->post_title,
|
3052 |
-
'ProductStatus' => $oldpost->post_status,
|
3053 |
-
$editor_link['name'] => $editor_link['value'],
|
3054 |
-
)
|
3055 |
-
);
|
3056 |
-
$result = 1;
|
3057 |
-
}
|
3058 |
-
|
3059 |
-
// Name change.
|
3060 |
-
if ( $old_name && $new_name && $old_name !== $new_name ) {
|
3061 |
-
$this->plugin->alerts->Trigger(
|
3062 |
-
9049,
|
3063 |
-
array(
|
3064 |
-
'AttributeName' => $new_attr['name'],
|
3065 |
-
'OldValue' => $old_name,
|
3066 |
-
'NewValue' => $new_name,
|
3067 |
-
'ProductID' => $oldpost->ID,
|
3068 |
-
'ProductTitle' => $oldpost->post_title,
|
3069 |
-
'ProductStatus' => $oldpost->post_status,
|
3070 |
-
'ProductUrl' => get_permalink( $oldpost->ID ),
|
3071 |
-
$editor_link['name'] => $editor_link['value'],
|
3072 |
-
)
|
3073 |
-
);
|
3074 |
-
$result = 1;
|
3075 |
-
}
|
3076 |
-
|
3077 |
-
// Visibility change.
|
3078 |
-
if ( ! empty( $new_attr['name'] ) && $old_visible !== $new_visible ) {
|
3079 |
-
$this->plugin->alerts->Trigger(
|
3080 |
-
9051,
|
3081 |
-
array(
|
3082 |
-
'AttributeName' => $new_attr['name'],
|
3083 |
-
'AttributeVisiblilty' => 1 === $new_visible ? __( 'Visible', 'wp-security-audit-log' ) : __( 'Non-Visible', 'wp-security-audit-log' ),
|
3084 |
-
'ProductID' => $oldpost->ID,
|
3085 |
-
'ProductTitle' => $oldpost->post_title,
|
3086 |
-
'ProductStatus' => $oldpost->post_status,
|
3087 |
-
$editor_link['name'] => $editor_link['value'],
|
3088 |
-
)
|
3089 |
-
);
|
3090 |
-
$result = 1;
|
3091 |
-
}
|
3092 |
-
}
|
3093 |
-
}
|
3094 |
-
return $result;
|
3095 |
-
}
|
3096 |
-
return 0;
|
3097 |
-
}
|
3098 |
-
|
3099 |
-
/**
|
3100 |
-
* Check Product Variations Change.
|
3101 |
-
*
|
3102 |
-
* @since 3.3.1.2
|
3103 |
-
*
|
3104 |
-
* @param WP_Post $oldpost - WP Post type object.
|
3105 |
-
* @param array $data - Data array.
|
3106 |
-
* @return int
|
3107 |
-
*/
|
3108 |
-
private function check_variations_change( $oldpost, $data = false ) {
|
3109 |
-
if ( ! $data ) {
|
3110 |
-
// @codingStandardsIgnoreLine
|
3111 |
-
$data = $_POST;
|
3112 |
-
}
|
3113 |
-
|
3114 |
-
if ( ! empty( $data['variable_post_id'] ) ) {
|
3115 |
-
foreach ( $data['variable_post_id'] as $key => $post_id ) {
|
3116 |
-
$post_id = absint( $post_id );
|
3117 |
-
$variation = new WC_Product_Variation( $post_id );
|
3118 |
-
|
3119 |
-
// Copy and set the product variation.
|
3120 |
-
$product = $oldpost;
|
3121 |
-
$product->post_title = $variation->get_name();
|
3122 |
-
$product->post_status = $variation->get_status();
|
3123 |
-
|
3124 |
-
// Check regular price.
|
3125 |
-
$old_price = (int) $variation->get_regular_price();
|
3126 |
-
$new_price = isset( $data['variable_regular_price'][ $key ] ) ? (int) sanitize_text_field( wp_unslash( $data['variable_regular_price'][ $key ] ) ) : false;
|
3127 |
-
if ( $old_price !== $new_price ) {
|
3128 |
-
$result = $this->EventPrice( $product, 'Regular price', $old_price, $new_price );
|
3129 |
-
}
|
3130 |
-
|
3131 |
-
// Check sale price.
|
3132 |
-
$old_sale_price = (int) $variation->get_sale_price();
|
3133 |
-
$new_sale_price = isset( $data['variable_sale_price'][ $key ] ) ? (int) sanitize_text_field( wp_unslash( $data['variable_sale_price'][ $key ] ) ) : false;
|
3134 |
-
if ( $old_sale_price !== $new_sale_price ) {
|
3135 |
-
$result = $this->EventPrice( $product, 'Sale price', $old_sale_price, $new_sale_price );
|
3136 |
-
}
|
3137 |
-
|
3138 |
-
// Check product SKU.
|
3139 |
-
$old_sku = $variation->get_sku();
|
3140 |
-
$new_sku = isset( $data['variable_sku'][ $key ] ) ? sanitize_text_field( wp_unslash( $data['variable_sku'][ $key ] ) ) : false;
|
3141 |
-
if ( $old_sku !== $new_sku ) {
|
3142 |
-
$result = $this->CheckSKUChange( $product, $old_sku, $new_sku );
|
3143 |
-
}
|
3144 |
-
|
3145 |
-
// Check product virtual.
|
3146 |
-
$virtual['old'] = $variation->is_virtual();
|
3147 |
-
$virtual['new'] = isset( $data['variable_is_virtual'][ $key ] ) ? true : false;
|
3148 |
-
if ( $virtual['old'] !== $virtual['new'] ) {
|
3149 |
-
$result = $this->CheckTypeChange( $product, null, $virtual );
|
3150 |
-
}
|
3151 |
-
|
3152 |
-
// Check product downloadable.
|
3153 |
-
$download['old'] = $variation->is_downloadable();
|
3154 |
-
$download['new'] = isset( $data['variable_is_downloadable'][ $key ] ) ? true : false;
|
3155 |
-
if ( $download['old'] !== $download['new'] ) {
|
3156 |
-
$result = $this->CheckTypeChange( $product, null, false, $download );
|
3157 |
-
}
|
3158 |
-
|
3159 |
-
// Check product stock status.
|
3160 |
-
$old_stock_status = $variation->get_stock_status();
|
3161 |
-
$new_stock_status = isset( $data['variable_stock_status'][ $key ] ) ? sanitize_text_field( wp_unslash( $data['variable_stock_status'][ $key ] ) ) : false;
|
3162 |
-
if ( $old_stock_status !== $new_stock_status ) {
|
3163 |
-
$result = $this->CheckStockStatusChange( $product, $old_stock_status, $new_stock_status );
|
3164 |
-
}
|
3165 |
-
|
3166 |
-
// Check product stock quantity.
|
3167 |
-
$old_stock = $variation->get_stock_quantity();
|
3168 |
-
$new_stock = isset( $data['variable_stock'][ $key ] ) ? (int) sanitize_text_field( wp_unslash( $data['variable_stock'][ $key ] ) ) : false;
|
3169 |
-
if ( $old_stock !== $new_stock ) {
|
3170 |
-
$result = $this->CheckStockQuantityChange( $product, $old_stock, $new_stock );
|
3171 |
-
}
|
3172 |
-
|
3173 |
-
// Check product weight.
|
3174 |
-
$old_weight = $variation->get_weight();
|
3175 |
-
$new_weight = isset( $data['variable_weight'][ $key ] ) ? sanitize_text_field( wp_unslash( $data['variable_weight'][ $key ] ) ) : false;
|
3176 |
-
if ( $old_weight !== $new_weight ) {
|
3177 |
-
$result = $this->CheckWeightChange( $product, $old_weight, $new_weight );
|
3178 |
-
}
|
3179 |
-
|
3180 |
-
// Check product dimensions change.
|
3181 |
-
$length['old'] = $variation->get_length();
|
3182 |
-
$length['new'] = isset( $data['variable_length'][ $key ] ) ? sanitize_text_field( wp_unslash( $data['variable_length'][ $key ] ) ) : false;
|
3183 |
-
$width['old'] = $variation->get_width();
|
3184 |
-
$width['new'] = isset( $data['variable_width'][ $key ] ) ? sanitize_text_field( wp_unslash( $data['variable_width'][ $key ] ) ) : false;
|
3185 |
-
$height['old'] = $variation->get_height();
|
3186 |
-
$height['new'] = isset( $data['variable_height'][ $key ] ) ? sanitize_text_field( wp_unslash( $data['variable_height'][ $key ] ) ) : false;
|
3187 |
-
$this->CheckDimensionsChange( $product, $length, $width, $height );
|
3188 |
-
|
3189 |
-
// Check product downloads change.
|
3190 |
-
$file_names['new'] = isset( $data['_wc_variation_file_names'][ $post_id ] ) ? array_map( 'sanitize_text_field', wp_unslash( $data['_wc_variation_file_names'][ $post_id ] ) ) : array();
|
3191 |
-
$file_urls['new'] = isset( $data['_wc_variation_file_urls'][ $post_id ] ) ? array_map( 'esc_url_raw', wp_unslash( $data['_wc_variation_file_urls'][ $post_id ] ) ) : array();
|
3192 |
-
$file_names['old'] = array();
|
3193 |
-
$file_urls['old'] = array();
|
3194 |
-
|
3195 |
-
// Set product old downloads data.
|
3196 |
-
foreach ( $variation->get_downloads() as $download ) {
|
3197 |
-
array_push( $file_names['old'], $download->get_name() );
|
3198 |
-
array_push( $file_urls['old'], $download->get_file() );
|
3199 |
-
}
|
3200 |
-
$this->CheckDownloadableFileChange( $product, $file_names, $file_urls );
|
3201 |
-
|
3202 |
-
// Check backorders change.
|
3203 |
-
$old_backorder = $variation->get_backorders();
|
3204 |
-
$new_backorder = isset( $data['variable_backorders'][ $key ] ) ? sanitize_text_field( wp_unslash( $data['variable_backorders'][ $key ] ) ) : false;
|
3205 |
-
$this->check_backorders_setting( $product, $old_backorder, $new_backorder );
|
3206 |
-
}
|
3207 |
-
}
|
3208 |
-
return 1;
|
3209 |
-
}
|
3210 |
-
|
3211 |
-
/**
|
3212 |
-
* Returns the attribute key using attribute name.
|
3213 |
-
*
|
3214 |
-
* @since 3.3.1
|
3215 |
-
*
|
3216 |
-
* @param string $attribute_name - Attribute name.
|
3217 |
-
* @return string
|
3218 |
-
*/
|
3219 |
-
private function get_attribute_key( $attribute_name = '' ) {
|
3220 |
-
return str_replace( ' ', '-', strtolower( $attribute_name ) );
|
3221 |
-
}
|
3222 |
-
|
3223 |
-
/**
|
3224 |
-
* Return the attribute value string using WooCommerce attribute value field.
|
3225 |
-
*
|
3226 |
-
* @since 3.3.1
|
3227 |
-
*
|
3228 |
-
* @param string $attribute_value - WooCommerce attribute value field.
|
3229 |
-
* @return string
|
3230 |
-
*/
|
3231 |
-
private function get_string_attribute_value( $attribute_value = '' ) {
|
3232 |
-
// New attribute value.
|
3233 |
-
$new_attr_value = '';
|
3234 |
-
|
3235 |
-
// Check if incoming value is string.
|
3236 |
-
if ( is_string( $attribute_value ) ) {
|
3237 |
-
$new_attr_value = sanitize_text_field( wp_unslash( $attribute_value ) );
|
3238 |
-
} elseif ( is_array( $attribute_value ) ) {
|
3239 |
-
// If the incoming value is an array, it is an array of term ids.
|
3240 |
-
$term_attr_values = array_map( 'sanitize_text_field', wp_unslash( $attribute_value ) );
|
3241 |
-
|
3242 |
-
$new_attr_value = array();
|
3243 |
-
foreach ( $term_attr_values as $term_id ) {
|
3244 |
-
$term = get_term( $term_id ); // Get term.
|
3245 |
-
if ( null !== $term && ! is_wp_error( $term ) ) {
|
3246 |
-
$new_attr_value[] = $term->name;
|
3247 |
-
}
|
3248 |
-
}
|
3249 |
-
$new_attr_value = implode( ' | ', $new_attr_value );
|
3250 |
-
}
|
3251 |
-
return $new_attr_value;
|
3252 |
-
}
|
3253 |
-
|
3254 |
-
/**
|
3255 |
-
* Return product attribute value.
|
3256 |
-
*
|
3257 |
-
* @since 3.3.1
|
3258 |
-
*
|
3259 |
-
* @param WP_Post $product - Product post object.
|
3260 |
-
* @param string $taxonomy - Taxonomy.
|
3261 |
-
* @return string
|
3262 |
-
*/
|
3263 |
-
private function get_wc_product_attributes( $product, $taxonomy ) {
|
3264 |
-
$attribute_terms = wp_get_post_terms( $product->ID, $taxonomy );
|
3265 |
-
$product_attrs = array();
|
3266 |
-
|
3267 |
-
if ( ! is_wp_error( $attribute_terms ) ) {
|
3268 |
-
foreach ( $attribute_terms as $single_term ) {
|
3269 |
-
$product_attrs[] = $single_term->term_id;
|
3270 |
-
}
|
3271 |
-
}
|
3272 |
-
return $this->get_string_attribute_value( $product_attrs );
|
3273 |
-
}
|
3274 |
-
|
3275 |
-
/**
|
3276 |
-
* Check Product Category Updated Events.
|
3277 |
-
*
|
3278 |
-
* @since 3.3.1
|
3279 |
-
*
|
3280 |
-
* @param array $data - Term data to be updated.
|
3281 |
-
* @param int $term_id - Term ID.
|
3282 |
-
* @param string $taxonomy - Taxonomy slug.
|
3283 |
-
* @param array $args - Arguments passed to wp_update_term().
|
3284 |
-
*/
|
3285 |
-
public function event_product_cat_updated( $data, $term_id, $taxonomy, $args ) {
|
3286 |
-
// Check if the taxonomy is `product_cat`.
|
3287 |
-
if ( 'product_cat' === $taxonomy ) {
|
3288 |
-
// Get term data.
|
3289 |
-
$new_name = isset( $data['name'] ) ? $data['name'] : false;
|
3290 |
-
$new_slug = isset( $data['slug'] ) ? $data['slug'] : false;
|
3291 |
-
$new_parent_id = isset( $args['parent'] ) ? $args['parent'] : false;
|
3292 |
-
|
3293 |
-
// New parent category.
|
3294 |
-
$new_parent_cat = false;
|
3295 |
-
if ( 0 !== $new_parent_id ) {
|
3296 |
-
$new_parent_cat = get_term( $new_parent_id, $taxonomy );
|
3297 |
-
}
|
3298 |
-
|
3299 |
-
// Get old data.
|
3300 |
-
$term = get_term( $term_id, $taxonomy );
|
3301 |
-
$old_name = $term->name;
|
3302 |
-
$old_slug = $term->slug;
|
3303 |
-
|
3304 |
-
// Old parent category.
|
3305 |
-
$old_parent_cat = false;
|
3306 |
-
if ( $term->parent ) {
|
3307 |
-
$old_parent_cat = get_term( $term->parent, $taxonomy );
|
3308 |
-
}
|
3309 |
-
|
3310 |
-
// Update if both slugs are not same.
|
3311 |
-
if ( $old_slug !== $new_slug ) {
|
3312 |
-
$this->plugin->alerts->Trigger(
|
3313 |
-
9053,
|
3314 |
-
array(
|
3315 |
-
'CategoryID' => $term_id,
|
3316 |
-
'CategoryName' => $new_name,
|
3317 |
-
'OldSlug' => $old_slug,
|
3318 |
-
'NewSlug' => $new_slug,
|
3319 |
-
'ProductCatLink' => $this->get_taxonomy_edit_link( $term_id ),
|
3320 |
-
)
|
3321 |
-
);
|
3322 |
-
}
|
3323 |
-
|
3324 |
-
// Update if both parent categories are not same.
|
3325 |
-
if ( $term->parent !== $new_parent_id ) {
|
3326 |
-
$this->plugin->alerts->Trigger(
|
3327 |
-
9054,
|
3328 |
-
array(
|
3329 |
-
'CategoryID' => $term_id,
|
3330 |
-
'CategoryName' => $new_name,
|
3331 |
-
'CategorySlug' => $term->slug,
|
3332 |
-
'ProductCatLink' => $this->get_taxonomy_edit_link( $term_id ),
|
3333 |
-
'OldParentID' => isset( $old_parent_cat->term_id ) ? $old_parent_cat->term_id : false,
|
3334 |
-
'OldParentCat' => isset( $old_parent_cat->name ) ? $old_parent_cat->name : false,
|
3335 |
-
'NewParentID' => isset( $new_parent_cat->term_id ) ? $new_parent_cat->term_id : false,
|
3336 |
-
'NewParentCat' => isset( $new_parent_cat->name ) ? $new_parent_cat->name : false,
|
3337 |
-
)
|
3338 |
-
);
|
3339 |
-
}
|
3340 |
-
|
3341 |
-
// Update if both names are not same.
|
3342 |
-
if ( $old_name !== $new_name ) {
|
3343 |
-
$this->plugin->alerts->Trigger(
|
3344 |
-
9056,
|
3345 |
-
array(
|
3346 |
-
'CategoryID' => $term_id,
|
3347 |
-
'CategoryName' => $new_name,
|
3348 |
-
'OldName' => $old_name,
|
3349 |
-
'NewName' => $new_name,
|
3350 |
-
'CategorySlug' => $term->slug,
|
3351 |
-
'ProductCatLink' => $this->get_taxonomy_edit_link( $term_id ),
|
3352 |
-
)
|
3353 |
-
);
|
3354 |
-
}
|
3355 |
-
}
|
3356 |
-
return $data;
|
3357 |
-
}
|
3358 |
-
|
3359 |
-
/**
|
3360 |
-
* Check Product Category Display Type Meta Event.
|
3361 |
-
*
|
3362 |
-
* @since 3.3.1
|
3363 |
-
*
|
3364 |
-
* @param int $meta_id - ID of the metadata entry to update.
|
3365 |
-
* @param int $object_id - Object ID.
|
3366 |
-
* @param string $meta_key - Meta key.
|
3367 |
-
* @param mixed $meta_value - Meta value.
|
3368 |
-
*/
|
3369 |
-
public function event_cat_display_updated( $meta_id, $object_id, $meta_key, $meta_value ) {
|
3370 |
-
// Check `display_type` meta key.
|
3371 |
-
if ( 'display_type' !== $meta_key ) {
|
3372 |
-
return;
|
3373 |
-
}
|
3374 |
-
|
3375 |
-
// Get previous value.
|
3376 |
-
$old_display = get_term_meta( $object_id, $meta_key, true );
|
3377 |
-
|
3378 |
-
// Get term.
|
3379 |
-
$term = get_term( $object_id, 'product_cat' );
|
3380 |
-
|
3381 |
-
// Check if display type changed.
|
3382 |
-
if ( $meta_value !== $old_display ) {
|
3383 |
-
$this->plugin->alerts->Trigger(
|
3384 |
-
9055,
|
3385 |
-
array(
|
3386 |
-
'CategoryID' => $object_id,
|
3387 |
-
'CategoryName' => $term->name,
|
3388 |
-
'CategorySlug' => $term->slug,
|
3389 |
-
'OldDisplayType' => $old_display,
|
3390 |
-
'NewDisplayType' => $meta_value,
|
3391 |
-
'ProductCatLink' => $this->get_taxonomy_edit_link( $object_id ),
|
3392 |
-
)
|
3393 |
-
);
|
3394 |
-
}
|
3395 |
-
}
|
3396 |
-
|
3397 |
-
/**
|
3398 |
-
* Check Product Category Deletion Event.
|
3399 |
-
*
|
3400 |
-
* @since 3.3.1
|
3401 |
-
*
|
3402 |
-
* @param int $term_id - Term ID.
|
3403 |
-
* @param int $tt_id - Term taxonomy ID.
|
3404 |
-
* @param mixed $deleted_term - Copy of the already-deleted term, in the form specified by the parent function. WP_Error otherwise.
|
3405 |
-
* @param array $object_ids - List of term object IDs.
|
3406 |
-
*/
|
3407 |
-
public function event_product_cat_deleted( $term_id, $tt_id, $deleted_term, $object_ids ) {
|
3408 |
-
if ( 'product_cat' === $deleted_term->taxonomy ) {
|
3409 |
-
$this->plugin->alerts->Trigger(
|
3410 |
-
9052,
|
3411 |
-
array(
|
3412 |
-
'CategoryID' => $deleted_term->term_id,
|
3413 |
-
'CategoryName' => $deleted_term->name,
|
3414 |
-
'CategorySlug' => $deleted_term->slug,
|
3415 |
-
)
|
3416 |
-
);
|
3417 |
-
}
|
3418 |
-
}
|
3419 |
-
|
3420 |
-
/**
|
3421 |
-
* Check Created Events for Coupon Meta.
|
3422 |
-
*
|
3423 |
-
* @since 3.3.1
|
3424 |
-
*
|
3425 |
-
* @param bool $log_event - True if log event 2053 for coupon meta, false if not.
|
3426 |
-
* @param string $meta_key - Meta key.
|
3427 |
-
* @param mixed $meta_value - Meta value.
|
3428 |
-
* @param WP_Post $coupon - Coupon CPT object.
|
3429 |
-
* @return bool
|
3430 |
-
*/
|
3431 |
-
public function log_coupon_meta_created_event( $log_event, $meta_key, $meta_value, $coupon ) {
|
3432 |
-
if ( ! empty( $meta_key ) && 'shop_coupon' === $coupon->post_type && in_array( $meta_key, $this->coupon_meta, true ) ) {
|
3433 |
-
return false;
|
3434 |
-
}
|
3435 |
-
// Do not report total sales as its added automatically when a product is published.
|
3436 |
-
if ( ! empty( $meta_key ) && 'total_sales' === $meta_key ) {
|
3437 |
-
return false;
|
3438 |
-
}
|
3439 |
-
return $log_event;
|
3440 |
-
}
|
3441 |
-
|
3442 |
-
/**
|
3443 |
-
* Check Updated Events for Coupon Meta.
|
3444 |
-
*
|
3445 |
-
* @since 3.3.1
|
3446 |
-
*
|
3447 |
-
* @param bool $log_meta_event - True if log meta events 2054 or 2062, false if not.
|
3448 |
-
* @param string $meta_key - Meta key.
|
3449 |
-
* @param mixed $meta_value - Meta value.
|
3450 |
-
* @param stdClass $old_meta_obj - Old meta value and key object.
|
3451 |
-
* @param WP_Post $coupon - Coupon CPT object.
|
3452 |
-
* @return bool
|
3453 |
-
*/
|
3454 |
-
public function log_coupon_meta_update_events( $log_meta_event, $meta_key, $meta_value, $old_meta_obj, $coupon ) {
|
3455 |
-
// If meta key does not match with any coupon meta key, then return.
|
3456 |
-
if ( ! empty( $meta_key ) && ( ! in_array( $meta_key, $this->coupon_meta, true ) || 'shop_coupon' !== $coupon->post_type ) ) {
|
3457 |
-
return $log_meta_event;
|
3458 |
-
}
|
3459 |
-
|
3460 |
-
$ignore_coupon_meta = array( 'usage_count', 'free_shipping' ); // Ignore these meta keys.
|
3461 |
-
$usage_restriction_meta = array( 'individual_use', 'product_ids', 'exclude_product_ids', 'product_categories', 'exclude_product_categories', 'exclude_sale_items', 'minimum_amount', 'maximum_amount', 'customer_email' ); // Event 9067.
|
3462 |
-
$usage_limits_meta = array( 'usage_limit', 'usage_limit_per_user', 'limit_usage_to_x_items' ); // Event 9068.
|
3463 |
-
|
3464 |
-
if ( in_array( $meta_key, $ignore_coupon_meta, true ) && $meta_value !== $old_meta_obj->val ) {
|
3465 |
-
return false;
|
3466 |
-
} elseif ( $meta_value !== $old_meta_obj->val ) {
|
3467 |
-
// Event id.
|
3468 |
-
$event_id = false;
|
3469 |
-
|
3470 |
-
// Get coupon event data.
|
3471 |
-
$coupon_data = $this->get_coupon_event_data( $coupon );
|
3472 |
-
|
3473 |
-
if ( 'discount_type' === $meta_key ) {
|
3474 |
-
// Set coupon discount type data.
|
3475 |
-
$coupon_data['OldDiscountType'] = isset( $old_meta_obj->val ) ? $old_meta_obj->val : false;
|
3476 |
-
$coupon_data['NewDiscountType'] = $meta_value;
|
3477 |
-
|
3478 |
-
// Set event id.
|
3479 |
-
$event_id = 9064;
|
3480 |
-
} elseif ( 'coupon_amount' === $meta_key ) {
|
3481 |
-
// Set coupon amount data.
|
3482 |
-
$coupon_data['OldAmount'] = isset( $old_meta_obj->val ) ? $old_meta_obj->val : false;
|
3483 |
-
$coupon_data['NewAmount'] = $meta_value;
|
3484 |
-
|
3485 |
-
// Set event id.
|
3486 |
-
$event_id = 9065;
|
3487 |
-
} elseif ( 'date_expires' === $meta_key ) {
|
3488 |
-
// Set coupon expiry date data.
|
3489 |
-
$coupon_data['OldDate'] = isset( $old_meta_obj->val ) ? date( get_option('date_format'), $old_meta_obj->val ) : false;
|
3490 |
-
$coupon_data['NewDate'] = date( get_option('date_format'), $meta_value );
|
3491 |
-
|
3492 |
-
// Set event id.
|
3493 |
-
$event_id = 9066;
|
3494 |
-
} elseif ( in_array( $meta_key, $usage_restriction_meta, true ) ) {
|
3495 |
-
// Set usage restriction meta data.
|
3496 |
-
$coupon_data['MetaKey'] = $meta_key;
|
3497 |
-
$coupon_data['OldMetaValue'] = isset( $old_meta_obj->val ) ? $old_meta_obj->val : false;
|
3498 |
-
$coupon_data['NewMetaValue'] = $meta_value;
|
3499 |
-
|
3500 |
-
if ( false === $this->is_9067_logged ) {
|
3501 |
-
// Set event id.
|
3502 |
-
$event_id = 9067;
|
3503 |
-
$this->is_9067_logged = true;
|
3504 |
-
}
|
3505 |
-
} elseif ( in_array( $meta_key, $usage_limits_meta, true ) ) {
|
3506 |
-
// Set usage limits meta data.
|
3507 |
-
$coupon_data['MetaKey'] = $meta_key;
|
3508 |
-
$coupon_data['OldMetaValue'] = isset( $old_meta_obj->val ) ? $old_meta_obj->val : false;
|
3509 |
-
$coupon_data['NewMetaValue'] = $meta_value;
|
3510 |
-
|
3511 |
-
if ( false === $this->is_9068_logged ) {
|
3512 |
-
// Set event id.
|
3513 |
-
$event_id = 9068;
|
3514 |
-
$this->is_9068_logged = true;
|
3515 |
-
}
|
3516 |
-
}
|
3517 |
-
|
3518 |
-
if ( $event_id && ! empty( $coupon_data ) ) {
|
3519 |
-
// Log the event.
|
3520 |
-
$this->plugin->alerts->Trigger( $event_id, $coupon_data );
|
3521 |
-
}
|
3522 |
-
}
|
3523 |
-
return false;
|
3524 |
-
}
|
3525 |
-
|
3526 |
-
/**
|
3527 |
-
* Check Created Events for Coupon Meta.
|
3528 |
-
*
|
3529 |
-
* @since 3.3.1
|
3530 |
-
*
|
3531 |
-
* @param bool $log_event - True if log event 2055 for coupon meta, false if not.
|
3532 |
-
* @param string $meta_key - Meta key.
|
3533 |
-
* @param mixed $meta_value - Meta value.
|
3534 |
-
* @param WP_Post $coupon - Coupon CPT object.
|
3535 |
-
* @return bool
|
3536 |
-
*/
|
3537 |
-
public function log_coupon_meta_delete_event( $log_event, $meta_key, $meta_value, $coupon ) {
|
3538 |
-
if ( ! empty( $meta_key ) && 'shop_coupon' === $coupon->post_type && in_array( $meta_key, $this->coupon_meta, true ) ) {
|
3539 |
-
return false;
|
3540 |
-
}
|
3541 |
-
return $log_event;
|
3542 |
-
}
|
3543 |
-
|
3544 |
-
/**
|
3545 |
-
* Get WC User Meta Data before updating.
|
3546 |
-
*
|
3547 |
-
* @since 3.4
|
3548 |
-
*
|
3549 |
-
* @param integer $meta_id - Meta id.
|
3550 |
-
* @param integer $user_id - User id.
|
3551 |
-
* @param string $meta_key - Meta key.
|
3552 |
-
*/
|
3553 |
-
public function before_wc_user_meta_update( $meta_id, $user_id, $meta_key ) {
|
3554 |
-
if ( ! $this->is_woocommerce_user_meta( $meta_key ) ) {
|
3555 |
-
return;
|
3556 |
-
}
|
3557 |
-
|
3558 |
-
$this->wc_user_meta[ $meta_id ] = (object) array(
|
3559 |
-
'key' => $meta_key,
|
3560 |
-
'value' => get_user_meta( $user_id, $meta_key, true ),
|
3561 |
-
);
|
3562 |
-
}
|
3563 |
-
|
3564 |
-
/**
|
3565 |
-
* WC User Meta data updated.
|
3566 |
-
*
|
3567 |
-
* @since 3.4
|
3568 |
-
*
|
3569 |
-
* @param integer $meta_id - Meta id.
|
3570 |
-
* @param integer $user_id - User id.
|
3571 |
-
* @param string $meta_key - Meta key.
|
3572 |
-
* @param mixed $meta_value - Meta value.
|
3573 |
-
*/
|
3574 |
-
public function wc_user_meta_updated( $meta_id, $user_id, $meta_key, $meta_value ) {
|
3575 |
-
if ( ! $this->is_woocommerce_user_meta( $meta_key ) ) {
|
3576 |
-
return;
|
3577 |
-
}
|
3578 |
-
|
3579 |
-
// Check meta creation event.
|
3580 |
-
if ( ! isset( $this->wc_user_meta[ $meta_id ] ) ) {
|
3581 |
-
$this->wc_user_meta[ $meta_id ] = (object) array( 'value' => false );
|
3582 |
-
}
|
3583 |
-
|
3584 |
-
if ( isset( $this->wc_user_meta[ $meta_id ] ) ) {
|
3585 |
-
if ( $meta_value && $this->wc_user_meta[ $meta_id ]->value !== $meta_value ) {
|
3586 |
-
// Event id.
|
3587 |
-
$event_id = false;
|
3588 |
-
|
3589 |
-
if ( false !== strpos( $meta_key, 'billing_' ) ) {
|
3590 |
-
$event_id = 9083;
|
3591 |
-
if( $meta_key === 'billing_first_name') {
|
3592 |
-
$new_address = $meta_value . ' ' . get_user_meta( $user_id, 'billing_last_name', true ) . ', ' . get_user_meta( $user_id, 'billing_company', true ) . ', ' . get_user_meta( $user_id, 'billing_country', true ) . ', ' . get_user_meta( $user_id, 'billing_address_1', true ) . ', ' . get_user_meta( $user_id, 'billing_address_2', true ) . ', ' . get_user_meta( $user_id, 'billing_city', true ) . ' ' . get_user_meta( $user_id, 'billing_state', true ) . ', ' . get_user_meta( $user_id, 'billing_postcode', true ) . ', ' . get_user_meta( $user_id, 'billing_phone', true ) . ', ' . get_user_meta( $user_id, 'billing_email', true );
|
3593 |
-
}
|
3594 |
-
|
3595 |
-
if( $meta_key === 'billing_last_name') {
|
3596 |
-
$new_address = get_user_meta( $user_id, 'billing_first_name', true ) . ' ' . $meta_value . ', ' . get_user_meta( $user_id, 'billing_company', true ) . ', ' . get_user_meta( $user_id, 'billing_country', true ) . ', ' . get_user_meta( $user_id, 'billing_address_1', true ) . ', ' . get_user_meta( $user_id, 'billing_address_2', true ) . ', ' . get_user_meta( $user_id, 'billing_city', true ) . ' ' . get_user_meta( $user_id, 'billing_state', true ) . ', ' . get_user_meta( $user_id, 'billing_postcode', true ) . ', ' . get_user_meta( $user_id, 'billing_phone', true ) . ', ' . get_user_meta( $user_id, 'billing_email', true );
|
3597 |
-
}
|
3598 |
-
|
3599 |
-
if( $meta_key === 'billing_company') {
|
3600 |
-
$new_address = get_user_meta( $user_id, 'billing_first_name', true ) . ' ' . get_user_meta( $user_id, 'billing_last_name', true ) . ', ' . $meta_value . ', ' . get_user_meta( $user_id, 'billing_country', true ) . ', ' . get_user_meta( $user_id, 'billing_address_1', true ) . ', ' . get_user_meta( $user_id, 'billing_address_2', true ) . ', ' . get_user_meta( $user_id, 'billing_city', true ) . ', ' . get_user_meta( $user_id, 'billing_state', true ) . ', ' . get_user_meta( $user_id, 'billing_postcode', true ) . ', ' . get_user_meta( $user_id, 'billing_phone', true ) . ', ' . get_user_meta( $user_id, 'billing_email', true );
|
3601 |
-
}
|
3602 |
-
|
3603 |
-
if( $meta_key === 'billing_country') {
|
3604 |
-
$new_address = get_user_meta( $user_id, 'billing_first_name', true ) . ' ' . get_user_meta( $user_id, 'billing_last_name', true ) . ', ' . get_user_meta( $user_id, 'billing_company', true ) . ', ' . $meta_value . ', ' . get_user_meta( $user_id, 'billing_address_1', true ) . ', ' . get_user_meta( $user_id, 'billing_address_2', true ) . ', ' . get_user_meta( $user_id, 'billing_city', true ) . ', ' . get_user_meta( $user_id, 'billing_state', true ) . ', ' . get_user_meta( $user_id, 'billing_postcode', true ) . ', ' . get_user_meta( $user_id, 'billing_phone', true ) . ', ' . get_user_meta( $user_id, 'billing_email', true );
|
3605 |
-
}
|
3606 |
-
|
3607 |
-
if( $meta_key === 'billing_address_1') {
|
3608 |
-
$new_address = get_user_meta( $user_id, 'billing_first_name', true ) . ' ' . get_user_meta( $user_id, 'billing_last_name', true ) . ', ' . get_user_meta( $user_id, 'billing_company', true ) . ', ' . get_user_meta( $user_id, 'billing_country', true ) . ', ' . $meta_value . ', ' . get_user_meta( $user_id, 'billing_address_2', true ) . ', ' . get_user_meta( $user_id, 'billing_city', true ) . ' ' . get_user_meta( $user_id, 'billing_state', true ) . ', ' . get_user_meta( $user_id, 'billing_postcode', true ) . ', ' . get_user_meta( $user_id, 'billing_phone', true ) . ', ' . get_user_meta( $user_id, 'billing_email', true );
|
3609 |
-
}
|
3610 |
-
|
3611 |
-
if( $meta_key === 'billing_address_2') {
|
3612 |
-
$new_address = get_user_meta( $user_id, 'billing_first_name', true ) . ' ' . get_user_meta( $user_id, 'billing_last_name', true ) . ', ' . get_user_meta( $user_id, 'billing_company', true ) . ', ' . get_user_meta( $user_id, 'billing_country', true ) . ', ' . get_user_meta( $user_id, 'billing_address_1', true ) . ', ' . $meta_value . ', ' . get_user_meta( $user_id, 'billing_city', true ) . ', ' . get_user_meta( $user_id, 'billing_state', true ) . ', ' . get_user_meta( $user_id, 'billing_postcode', true ) . ', ' . get_user_meta( $user_id, 'billing_phone', true ) . ', ' . get_user_meta( $user_id, 'billing_email', true );
|
3613 |
-
}
|
3614 |
-
|
3615 |
-
if( $meta_key === 'billing_city') {
|
3616 |
-
$new_address = get_user_meta( $user_id, 'billing_first_name', true ) . ' ' . get_user_meta( $user_id, 'billing_last_name', true ) . ' ' . get_user_meta( $user_id, 'billing_company', true ) . ' ' . get_user_meta( $user_id, 'billing_country', true ) . ' ' . get_user_meta( $user_id, 'billing_address_1', true ) . ' ' . get_user_meta( $user_id, 'billing_address_2', true ) . ' ' . $meta_value . ' ' . get_user_meta( $user_id, 'billing_state', true ) . ' ' . get_user_meta( $user_id, 'billing_postcode', true ) . ' ' . get_user_meta( $user_id, 'billing_phone', true ) . ' ' . get_user_meta( $user_id, 'billing_email', true );
|
3617 |
-
}
|
3618 |
-
|
3619 |
-
if( $meta_key === 'billing_state') {
|
3620 |
-
$new_address = get_user_meta( $user_id, 'billing_first_name', true ) . ' ' . get_user_meta( $user_id, 'billing_last_name', true ) . ', ' . get_user_meta( $user_id, 'billing_state', true ) . ', ' . get_user_meta( $user_id, 'billing_country', true ) . ', ' . get_user_meta( $user_id, 'billing_address_1', true ) . ', ' . get_user_meta( $user_id, 'billing_address_2', true ) . ', ' . get_user_meta( $user_id, 'billing_city', true ) . ', ' . $meta_value . ', ' . get_user_meta( $user_id, 'billing_postcode', true ) . ', ' . get_user_meta( $user_id, 'billing_phone', true ) . ', ' . get_user_meta( $user_id, 'billing_email', true );
|
3621 |
-
}
|
3622 |
-
|
3623 |
-
if( $meta_key === 'billing_postcode') {
|
3624 |
-
$new_address = get_user_meta( $user_id, 'billing_first_name', true ) . ' ' . get_user_meta( $user_id, 'billing_last_name', true ) . ', ' . get_user_meta( $user_id, 'billing_company', true ) . ', ' . get_user_meta( $user_id, 'billing_country', true ) . ', ' . get_user_meta( $user_id, 'billing_address_1', true ) . ', ' . get_user_meta( $user_id, 'billing_address_2', true ) . ', ' . get_user_meta( $user_id, 'billing_city', true ) . ', ' . get_user_meta( $user_id, 'billing_state', true ) . ', ' . $meta_value . ', ' . get_user_meta( $user_id, 'billing_phone', true ) . ', ' . get_user_meta( $user_id, 'billing_email', true );
|
3625 |
-
}
|
3626 |
-
|
3627 |
-
if( $meta_key === 'billing_phone') {
|
3628 |
-
$new_address = get_user_meta( $user_id, 'billing_first_name', true ) . ' ' . get_user_meta( $user_id, 'billing_last_name', true ) . ', ' . get_user_meta( $user_id, 'billing_company', true ) . ', ' . get_user_meta( $user_id, 'billing_country', true ) . ', ' . get_user_meta( $user_id, 'billing_address_1', true ) . ', ' . get_user_meta( $user_id, 'billing_address_2', true ) . ', ' . get_user_meta( $user_id, 'billing_city', true ) . ', ' . get_user_meta( $user_id, 'billing_state', true ) . ', ' . get_user_meta( $user_id, 'billing_postcode', true ) . ', ' . $meta_value . ', ' . get_user_meta( $user_id, 'billing_email', true );
|
3629 |
-
}
|
3630 |
-
|
3631 |
-
if( $meta_key === 'billing_email') {
|
3632 |
-
$new_address = get_user_meta( $user_id, 'billing_first_name', true ) . ' ' . get_user_meta( $user_id, 'billing_last_name', true ) . ', ' . get_user_meta( $user_id, 'billing_company', true ) . ', ' . get_user_meta( $user_id, 'billing_country', true ) . ', ' . get_user_meta( $user_id, 'billing_address_1', true ) . ', ' . get_user_meta( $user_id, 'billing_address_2', true ) . ', ' . get_user_meta( $user_id, 'billing_city', true ) . ', ' . get_user_meta( $user_id, 'billing_state', true ) . ', ' . get_user_meta( $user_id, 'billing_postcode', true ) . ', ' . get_user_meta( $user_id, 'billing_phone', true ) . ', ' . $meta_value;
|
3633 |
-
}
|
3634 |
-
|
3635 |
-
$new_address = str_replace( ' ,', '', $new_address );
|
3636 |
-
|
3637 |
-
if ( $event_id ) {
|
3638 |
-
$user = get_user_by( 'ID', $user_id );
|
3639 |
-
if ( $event_id === 9083 ) {
|
3640 |
-
// Add 1 to our changed fields counter
|
3641 |
-
$this->updated_field_count++;
|
3642 |
-
$this->plugin->alerts->TriggerIf(
|
3643 |
-
$event_id,
|
3644 |
-
array(
|
3645 |
-
'TargetUsername' => $user ? $user->user_login : false,
|
3646 |
-
'NewValue' => $new_address,
|
3647 |
-
'EditUserLink' => add_query_arg( 'user_id', $user_id, admin_url( 'user-edit.php' ) ),
|
3648 |
-
'Roles' => is_array( $user->roles ) ? implode( ', ', $user->roles ) : $user->roles,
|
3649 |
-
),
|
3650 |
-
array(
|
3651 |
-
$this,
|
3652 |
-
'must_not_repeat_billing'
|
3653 |
-
)
|
3654 |
-
);
|
3655 |
-
}
|
3656 |
-
}
|
3657 |
-
|
3658 |
-
} elseif ( false !== strpos( $meta_key, 'shipping_' ) ) {
|
3659 |
-
$event_id = 9084;
|
3660 |
-
if( $meta_key === 'shipping_first_name') {
|
3661 |
-
$new_address = $meta_value . ' ' . get_user_meta( $user_id, 'shipping_last_name', true ) . ', ' . get_user_meta( $user_id, 'shipping_company', true ) . ', ' . get_user_meta( $user_id, 'shipping_country', true ) . ', ' . get_user_meta( $user_id, 'shipping_address_1', true ) . ', ' . get_user_meta( $user_id, 'shipping_address_2', true ) . ', ' . get_user_meta( $user_id, 'shipping_city', true ) . ' ' . get_user_meta( $user_id, 'shipping_state', true ) . ', ' . get_user_meta( $user_id, 'shipping_postcode', true );
|
3662 |
-
}
|
3663 |
-
|
3664 |
-
if( $meta_key === 'shipping_last_name') {
|
3665 |
-
$new_address = get_user_meta( $user_id, 'shipping_first_name', true ) . ' ' . $meta_value . ', ' . get_user_meta( $user_id, 'shipping_company', true ) . ', ' . get_user_meta( $user_id, 'shipping_country', true ) . ', ' . get_user_meta( $user_id, 'shipping_address_1', true ) . ', ' . get_user_meta( $user_id, 'shipping_address_2', true ) . ', ' . get_user_meta( $user_id, 'shipping_city', true ) . ' ' . get_user_meta( $user_id, 'shipping_state', true ) . ', ' . get_user_meta( $user_id, 'shipping_postcode', true );
|
3666 |
-
}
|
3667 |
-
|
3668 |
-
if( $meta_key === 'shipping_company') {
|
3669 |
-
$new_address = get_user_meta( $user_id, 'shipping_first_name', true ) . ' ' . get_user_meta( $user_id, 'shipping_last_name', true ) . ', ' . $meta_value . ', ' . get_user_meta( $user_id, 'shipping_country', true ) . ', ' . get_user_meta( $user_id, 'shipping_address_1', true ) . ', ' . get_user_meta( $user_id, 'shipping_address_2', true ) . ', ' . get_user_meta( $user_id, 'shipping_city', true ) . ', ' . get_user_meta( $user_id, 'shipping_state', true ) . ', ' . get_user_meta( $user_id, 'shipping_postcode', true );
|
3670 |
-
}
|
3671 |
-
|
3672 |
-
if( $meta_key === 'shipping_country') {
|
3673 |
-
$new_address = get_user_meta( $user_id, 'shipping_first_name', true ) . ' ' . get_user_meta( $user_id, 'shipping_last_name', true ) . ', ' . get_user_meta( $user_id, 'shipping_company', true ) . ', ' . $meta_value . ', ' . get_user_meta( $user_id, 'shipping_address_1', true ) . ', ' . get_user_meta( $user_id, 'shipping_address_2', true ) . ', ' . get_user_meta( $user_id, 'shipping_city', true ) . ', ' . get_user_meta( $user_id, 'shipping_state', true ) . ', ' . get_user_meta( $user_id, 'shipping_postcode', true );
|
3674 |
-
}
|
3675 |
-
|
3676 |
-
if( $meta_key === 'shipping_address_1') {
|
3677 |
-
$new_address = get_user_meta( $user_id, 'shipping_first_name', true ) . ' ' . get_user_meta( $user_id, 'shipping_last_name', true ) . ', ' . get_user_meta( $user_id, 'shipping_company', true ) . ', ' . get_user_meta( $user_id, 'shipping_country', true ) . ', ' . $meta_value . ', ' . get_user_meta( $user_id, 'shipping_address_2', true ) . ', ' . get_user_meta( $user_id, 'shipping_city', true ) . ' ' . get_user_meta( $user_id, 'shipping_state', true ) . ', ' . get_user_meta( $user_id, 'shipping_postcode', true );
|
3678 |
-
}
|
3679 |
-
|
3680 |
-
if( $meta_key === 'shipping_address_2') {
|
3681 |
-
$new_address = get_user_meta( $user_id, 'shipping_first_name', true ) . ' ' . get_user_meta( $user_id, 'shipping_last_name', true ) . ', ' . get_user_meta( $user_id, 'shipping_company', true ) . ', ' . get_user_meta( $user_id, 'shipping_country', true ) . ', ' . get_user_meta( $user_id, 'shipping_address_1', true ) . ', ' . $meta_value . ', ' . get_user_meta( $user_id, 'shipping_city', true ) . ', ' . get_user_meta( $user_id, 'shipping_state', true ) . ', ' . get_user_meta( $user_id, 'shipping_postcode', true );
|
3682 |
-
}
|
3683 |
-
|
3684 |
-
if( $meta_key === 'shipping_city') {
|
3685 |
-
$new_address = get_user_meta( $user_id, 'shipping_first_name', true ) . ' ' . get_user_meta( $user_id, 'shipping_last_name', true ) . ' ' . get_user_meta( $user_id, 'shipping_company', true ) . ' ' . get_user_meta( $user_id, 'shipping_country', true ) . ' ' . get_user_meta( $user_id, 'shipping_address_1', true ) . ' ' . get_user_meta( $user_id, 'shipping_address_2', true ) . ' ' . $meta_value . ' ' . get_user_meta( $user_id, 'shipping_state', true ) . ' ' . get_user_meta( $user_id, 'shipping_postcode', true );
|
3686 |
-
}
|
3687 |
-
|
3688 |
-
if( $meta_key === 'shipping_state') {
|
3689 |
-
$new_address = get_user_meta( $user_id, 'shipping_first_name', true ) . ' ' . get_user_meta( $user_id, 'shipping_last_name', true ) . ', ' . get_user_meta( $user_id, 'shipping_state', true ) . ', ' . get_user_meta( $user_id, 'shipping_country', true ) . ', ' . get_user_meta( $user_id, 'shipping_address_1', true ) . ', ' . get_user_meta( $user_id, 'shipping_address_2', true ) . ', ' . get_user_meta( $user_id, 'shipping_city', true ) . ', ' . $meta_value . ', ' . get_user_meta( $user_id, 'shipping_postcode', true );
|
3690 |
-
}
|
3691 |
-
|
3692 |
-
if( $meta_key === 'shipping_postcode') {
|
3693 |
-
$new_address = get_user_meta( $user_id, 'shipping_first_name', true ) . ' ' . get_user_meta( $user_id, 'shipping_last_name', true ) . ', ' . get_user_meta( $user_id, 'shipping_company', true ) . ', ' . get_user_meta( $user_id, 'shipping_country', true ) . ', ' . get_user_meta( $user_id, 'shipping_address_1', true ) . ', ' . get_user_meta( $user_id, 'shipping_address_2', true ) . ', ' . get_user_meta( $user_id, 'shipping_city', true ) . ', ' . get_user_meta( $user_id, 'shipping_state', true ) . ', ' . $meta_value;
|
3694 |
-
}
|
3695 |
-
|
3696 |
-
// Strip address of, ', ,' in case a field is missing something.
|
3697 |
-
$new_address = str_replace( ' ,', '', $new_address );
|
3698 |
-
|
3699 |
-
if ( $event_id ) {
|
3700 |
-
$user = get_user_by( 'ID', $user_id );
|
3701 |
-
|
3702 |
-
if ( $event_id === 9084 ) {
|
3703 |
-
$this->updated_shipping_field_count++;
|
3704 |
-
$this->plugin->alerts->TriggerIf(
|
3705 |
-
$event_id,
|
3706 |
-
array(
|
3707 |
-
'TargetUsername' => $user ? $user->user_login : false,
|
3708 |
-
'NewValue' => $new_address,
|
3709 |
-
'EditUserLink' => add_query_arg( 'user_id', $user_id, admin_url( 'user-edit.php' ) ),
|
3710 |
-
'Roles' => is_array( $user->roles ) ? implode( ', ', $user->roles ) : $user->roles,
|
3711 |
-
),
|
3712 |
-
array(
|
3713 |
-
$this,
|
3714 |
-
'must_not_repeat_shipping'
|
3715 |
-
)
|
3716 |
-
);
|
3717 |
-
}
|
3718 |
-
}
|
3719 |
-
}
|
3720 |
-
|
3721 |
-
|
3722 |
-
}
|
3723 |
-
}
|
3724 |
-
}
|
3725 |
-
|
3726 |
-
public function must_not_repeat_billing( WSAL_AlertManager $manager ) {
|
3727 |
-
$this->updated_field_count--;
|
3728 |
-
if ( $this->updated_field_count == 1 ) {
|
3729 |
-
return true;
|
3730 |
-
}
|
3731 |
-
return false;
|
3732 |
-
}
|
3733 |
-
|
3734 |
-
public function must_not_repeat_shipping( WSAL_AlertManager $manager ) {
|
3735 |
-
$this->updated_shipping_field_count--;
|
3736 |
-
if ( $this->updated_shipping_field_count == 1 ) {
|
3737 |
-
return true;
|
3738 |
-
}
|
3739 |
-
return false;
|
3740 |
-
}
|
3741 |
-
|
3742 |
-
/**
|
3743 |
-
* Check if meta key belongs to WooCommerce user meta.
|
3744 |
-
*
|
3745 |
-
* @since 3.4
|
3746 |
-
*
|
3747 |
-
* @param string $meta_key - Meta key.
|
3748 |
-
* @return boolean
|
3749 |
-
*/
|
3750 |
-
private function is_woocommerce_user_meta( $meta_key ) {
|
3751 |
-
// Remove the prefix to avoid redundancy in the meta keys.
|
3752 |
-
$address_key = str_replace( array( 'shipping_', 'billing_' ), '', $meta_key );
|
3753 |
-
|
3754 |
-
// WC address meta keys without prefix.
|
3755 |
-
$meta_keys = array( 'first_name', 'last_name', 'company', 'country', 'address_1', 'address_2', 'city', 'state', 'postcode', 'phone', 'email' );
|
3756 |
-
|
3757 |
-
if ( in_array( $address_key, $meta_keys, true ) ) {
|
3758 |
-
return true;
|
3759 |
-
}
|
3760 |
-
return false;
|
3761 |
-
}
|
3762 |
-
|
3763 |
-
/**
|
3764 |
-
* Get Meta Key for Event Meta.
|
3765 |
-
*
|
3766 |
-
* @since 3.4
|
3767 |
-
*
|
3768 |
-
* @param string $meta_key - Meta key.
|
3769 |
-
* @return string
|
3770 |
-
*/
|
3771 |
-
private function get_key_for_event( $meta_key ) {
|
3772 |
-
$meta_key = str_replace( '_', ' ', $meta_key );
|
3773 |
-
$meta_key = ucwords( $meta_key );
|
3774 |
-
$meta_key = str_replace( ' ', '', $meta_key );
|
3775 |
-
return $meta_key;
|
3776 |
-
}
|
3777 |
-
|
3778 |
-
/**
|
3779 |
-
* Check WooCommerce product changes before save.
|
3780 |
-
*
|
3781 |
-
* Support for Admin Columns Pro plugin and its add-on.
|
3782 |
-
*
|
3783 |
-
* @param WC_Product $product - WooCommerce product object.
|
3784 |
-
*/
|
3785 |
-
public function check_product_changes_before_save( $product ) {
|
3786 |
-
if ( isset( $_POST['_ajax_nonce'] ) && wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['_ajax_nonce'] ) ), 'ac-ajax' ) ) {
|
3787 |
-
// Get product data.
|
3788 |
-
$product_id = $product->get_id();
|
3789 |
-
$old_product = wc_get_product( $product_id );
|
3790 |
-
$old_product_post = get_post( $product_id );
|
3791 |
-
|
3792 |
-
// Check for stock quantity changes.
|
3793 |
-
$this->CheckStockQuantityChange( $old_product_post, $old_product->get_stock_quantity(), $product->get_stock_quantity() );
|
3794 |
-
}
|
3795 |
-
}
|
3796 |
-
|
3797 |
-
/**
|
3798 |
-
* Builds category link.
|
3799 |
-
*
|
3800 |
-
* @param integer $tag_id - Tag ID.
|
3801 |
-
* @param string $taxonomy - Taxonomy.
|
3802 |
-
* @return string|null - Link.
|
3803 |
-
*/
|
3804 |
-
private function get_taxonomy_edit_link( $tag_id, $taxonomy = 'product_cat' ) {
|
3805 |
-
$tag_args = array(
|
3806 |
-
'post_type' => 'product',
|
3807 |
-
'taxonomy' => $taxonomy,
|
3808 |
-
'tag_ID' => $tag_id,
|
3809 |
-
);
|
3810 |
-
return ! empty( $tag_id ) ? add_query_arg( $tag_args, admin_url( 'term.php' ) ) : null;
|
3811 |
-
}
|
3812 |
-
|
3813 |
-
/**
|
3814 |
-
* Check if the alert was triggered recently.
|
3815 |
-
*
|
3816 |
-
* Checks last 5 events if they occured less than 20 seconds ago.
|
3817 |
-
*
|
3818 |
-
* @param integer|array $alert_id - Alert code.
|
3819 |
-
* @return boolean
|
3820 |
-
*/
|
3821 |
-
private function was_triggered_recently( $alert_id ) {
|
3822 |
-
// if we have already checked this don't check again.
|
3823 |
-
if ( isset( $this->cached_alert_checks ) && array_key_exists( $alert_id, $this->cached_alert_checks ) && $this->cached_alert_checks[$alert_id] ) {
|
3824 |
-
return true;
|
3825 |
-
}
|
3826 |
-
$query = new WSAL_Models_OccurrenceQuery();
|
3827 |
-
$query->addOrderBy( 'created_on', true );
|
3828 |
-
$query->setLimit( 5 );
|
3829 |
-
$last_occurences = $query->getAdapter()->Execute( $query );
|
3830 |
-
$known_to_trigger = false;
|
3831 |
-
foreach ( $last_occurences as $last_occurence ) {
|
3832 |
-
if ( $known_to_trigger ) {
|
3833 |
-
break;
|
3834 |
-
}
|
3835 |
-
if ( ! empty( $last_occurence ) && ( $last_occurence->created_on + 20 ) > time() ) {
|
3836 |
-
if ( ! is_array( $alert_id ) && $last_occurence->alert_id === $alert_id ) {
|
3837 |
-
$known_to_trigger = true;
|
3838 |
-
} elseif ( is_array( $alert_id ) && in_array( $last_occurence[0]->alert_id, $alert_id, true ) ) {
|
3839 |
-
$known_to_trigger = true;
|
3840 |
-
}
|
3841 |
-
}
|
3842 |
-
}
|
3843 |
-
// once we know the answer to this don't check again to avoid queries.
|
3844 |
-
$this->cached_alert_checks[ $alert_id ] = $known_to_trigger;
|
3845 |
-
return $known_to_trigger;
|
3846 |
-
}
|
3847 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
classes/Update/Task/CronNameRemap.php
DELETED
@@ -1,143 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Task to handle remapping cron names that were renamed in later versions.
|
4 |
-
*
|
5 |
-
* NOTE: This in intended to be run as part of the plugin update routine when
|
6 |
-
* it detects a version change.
|
7 |
-
*
|
8 |
-
* @package Wsal
|
9 |
-
* @since 3.5.1
|
10 |
-
*/
|
11 |
-
|
12 |
-
namespace WSAL\Update\Task;
|
13 |
-
|
14 |
-
/**
|
15 |
-
* Remaps remaps old cron names to new ones and schedules them at the same
|
16 |
-
* time as the original was scheduled.
|
17 |
-
*/
|
18 |
-
class CronNameRemap {
|
19 |
-
|
20 |
-
/**
|
21 |
-
* Holds the main plugin instance to work on.
|
22 |
-
*
|
23 |
-
* @var \WpSecurityAuditLog
|
24 |
-
*/
|
25 |
-
private $wsal;
|
26 |
-
|
27 |
-
/**
|
28 |
-
* Setups up the class properties.
|
29 |
-
*
|
30 |
-
* @method __construct
|
31 |
-
* @since 3.5.1
|
32 |
-
* @param \WpSecurityAuditLog $wsal An instance of the main plugin.
|
33 |
-
*/
|
34 |
-
public function __construct( $wsal ) {
|
35 |
-
$this->wsal = $wsal;
|
36 |
-
}
|
37 |
-
/**
|
38 |
-
* Loop through an array of cron tasks and remap them if the name changed.
|
39 |
-
*
|
40 |
-
* @method run
|
41 |
-
* @since 3.5.1
|
42 |
-
*/
|
43 |
-
public function run() {
|
44 |
-
// Get crons to be remapped.
|
45 |
-
if ( null === $this->wsal || ! is_a( $this->wsal, 'WpSecurityAuditLog' ) ) {
|
46 |
-
$crons = $this->get_crons_to_remap();
|
47 |
-
|
48 |
-
// Loop through list of crons and check if scheduled.
|
49 |
-
foreach ( $crons as $cron ) {
|
50 |
-
$args = ( isset( $cron['args'] ) ) ? $cron['args'] : array();
|
51 |
-
$time = wp_next_scheduled( $cron['name_old'], $args );
|
52 |
-
if ( $time ) {
|
53 |
-
// Cron with old name is scheduled - unschedule.
|
54 |
-
wp_unschedule_event( $time, $cron['name_old'], $args );
|
55 |
-
$rescheduled = wp_next_scheduled( $cron['name_new'], $args );
|
56 |
-
if ( ! $rescheduled ) {
|
57 |
-
// New cron is not scheduled already - schedule it.
|
58 |
-
wp_schedule_event( $time, $cron['frequency'], $cron['name_new'], $args );
|
59 |
-
}
|
60 |
-
}
|
61 |
-
}
|
62 |
-
}
|
63 |
-
}
|
64 |
-
|
65 |
-
/**
|
66 |
-
* Gets an array of cron tasks and their remapped names, frequencies, args.
|
67 |
-
*
|
68 |
-
* @method get_crons_to_remap
|
69 |
-
* @since 3.5.1
|
70 |
-
* @return array
|
71 |
-
*/
|
72 |
-
private function get_crons_to_remap() {
|
73 |
-
// Get an array of crons that have args.
|
74 |
-
$complex_crons = $this->get_crons_with_args_for_remap();
|
75 |
-
$archiving_frequency = $this->wsal->GetGlobalOption( 'archiving-run-every', 'hourly' );
|
76 |
-
// This is a list of _mostly_ static crons that are to be remapped.
|
77 |
-
$simple_crons = array(
|
78 |
-
array(
|
79 |
-
'name_old' => 'summary_email_reports',
|
80 |
-
'name_new' => 'wsal_summary_email_reports',
|
81 |
-
'frequency' => 'hourly',
|
82 |
-
),
|
83 |
-
array(
|
84 |
-
'name_old' => 'log_files_pruning',
|
85 |
-
'name_new' => 'wsal_log_files_pruning',
|
86 |
-
'frequency' => 'daily',
|
87 |
-
),
|
88 |
-
array(
|
89 |
-
'name_old' => 'reports_pruning',
|
90 |
-
'name_new' => 'wsal_reports_pruning',
|
91 |
-
'frequency' => 'daily',
|
92 |
-
),
|
93 |
-
array(
|
94 |
-
'name_old' => 'destroy_expired',
|
95 |
-
'name_new' => 'wsal_destroy_expired',
|
96 |
-
'frequency' => 'hourly',
|
97 |
-
),
|
98 |
-
array(
|
99 |
-
'name_old' => 'run_archiving',
|
100 |
-
'name_new' => 'wsal_run_archiving',
|
101 |
-
'frequency' => strtolower( $archiving_frequency ), // this is not static data.
|
102 |
-
),
|
103 |
-
);
|
104 |
-
|
105 |
-
// Return an array of all the crons that are flagged for unscheduling.
|
106 |
-
return array_merge( $simple_crons, $complex_crons );
|
107 |
-
}
|
108 |
-
|
109 |
-
/**
|
110 |
-
* Get a list of crons that have args to maybe reschedule.
|
111 |
-
*
|
112 |
-
* @method get_crons_with_args_for_remap
|
113 |
-
* @since 3.5.1
|
114 |
-
* @param array $crons an array of existing crons we might add to.
|
115 |
-
* @return array
|
116 |
-
*/
|
117 |
-
private function get_crons_with_args_for_remap( $crons = array() ) {
|
118 |
-
/*
|
119 |
-
* Get the scheduled mirrors and their args.
|
120 |
-
*/
|
121 |
-
$mirrors = $this->wsal->GetNotificationsSetting( 'mirror-' );
|
122 |
-
if ( ! empty( $mirrors ) && is_array( $mirrors ) ) {
|
123 |
-
foreach ( $mirrors as $mirror ) {
|
124 |
-
$mirror_details = maybe_unserialize( $mirror->option_value );
|
125 |
-
// Check if mirror details are valid.
|
126 |
-
if ( ! empty( $mirror_details ) && $mirror_details instanceof \stdClass ) {
|
127 |
-
// Got a mirror to check.
|
128 |
-
if ( isset( $mirror_details->state ) && true === $mirror_details->state ) {
|
129 |
-
// Mirror is enabled so add it to the $crons array.
|
130 |
-
$crons[] = array(
|
131 |
-
'name_old' => 'run_mirroring',
|
132 |
-
'name_new' => 'wsal_run_mirroring',
|
133 |
-
'frequency' => $mirror_details->frequency,
|
134 |
-
'args' => array( $mirror_details->name ),
|
135 |
-
);
|
136 |
-
}
|
137 |
-
}
|
138 |
-
}
|
139 |
-
}
|
140 |
-
return $crons;
|
141 |
-
}
|
142 |
-
|
143 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
classes/Update/Task/SettingsEditConfig.php
DELETED
@@ -1,51 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Task to handle updating the settings that allow different users permission
|
4 |
-
* to edit the plugin settings.
|
5 |
-
*
|
6 |
-
* @package Wsal
|
7 |
-
* @since 4.0.2
|
8 |
-
*/
|
9 |
-
|
10 |
-
namespace WSAL\Update\Task;
|
11 |
-
|
12 |
-
/**
|
13 |
-
*
|
14 |
-
*/
|
15 |
-
class SettingsEditConfig {
|
16 |
-
|
17 |
-
/**
|
18 |
-
* Holds the main plugin instance to work on.
|
19 |
-
*
|
20 |
-
* @var \WpSecurityAuditLog
|
21 |
-
*/
|
22 |
-
private $wsal;
|
23 |
-
|
24 |
-
/**
|
25 |
-
* Setups up the class properties.
|
26 |
-
*
|
27 |
-
* @method __construct
|
28 |
-
* @since 4.02
|
29 |
-
* @param \WpSecurityAuditLog $wsal An instance of the main plugin.
|
30 |
-
*/
|
31 |
-
public function __construct( $wsal ) {
|
32 |
-
$this->wsal = $wsal;
|
33 |
-
}
|
34 |
-
/**
|
35 |
-
* Loop through an array of cron tasks and remap them if the name changed.
|
36 |
-
*
|
37 |
-
* @method run
|
38 |
-
* @since 4.0.2
|
39 |
-
*/
|
40 |
-
public function run() {
|
41 |
-
$restrict_setting_edit_type = $this->wsal->GetGlobalOption( 'restrict-plugin-settings' );
|
42 |
-
// If it's anything other than 'only_me' then we just delete the keys
|
43 |
-
// and revert to default settings.
|
44 |
-
if ( 'only_me' !== $restrict_setting_edit_type ) {
|
45 |
-
$this->wsal->DeleteByName( 'wsal-restrict-plugin-settings' );
|
46 |
-
$this->wsal->DeleteByName( 'wsal-plugin-editors' );
|
47 |
-
$this->wsal->DeleteByName( 'wsal-restrict-admins' );
|
48 |
-
}
|
49 |
-
}
|
50 |
-
|
51 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
css/dist/wsal-wizard.build.css.map
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"../../css/dist/wsal-wizard.build.css","sourceRoot":""}
|
|
js/dist/wsal-wizard.js.map
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./css/src/wsal-wizard.scss","webpack:///./js/src/wsal-wizard.js","webpack:///./node_modules/jquery/dist/jquery.js"],"names":["document","ready","click","type","attr","substr","tokenType","tokenValue","jQuery","trim","val","existing","filter","value","length","ajax","url","wsalData","ajaxURL","async","data","action","token","nonce","dataType","success","removeAttr","alert","usersError","rolesError","ipError","append","text","removeSecToken","message","error","xhr","textStatus","console","log","statusText","keydown","event","keyCode","parents","addClass","fadeOut","remove"],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;AClFA,yC;;;;;;;;;;;;;;ACSA;;AAEA;;;;;;AAXA;;;;;;;;AAQA;AAKA,sBAAQA,QAAR,EAAmBC,KAAnB,CAA0B,YAAW;;AAEpC;;;;;AAKA,uBAAQ,+FAAR,EAA0GC,KAA1G,CAAiH,YAAW;AAC3H,MAAMC,OAAO,sBAAQ,IAAR,EAAeC,IAAf,CAAqB,IAArB,EAA4BC,MAA5B,CAAoC,CAApC,EAAuC,CAAvC,CAAb;AACA,MAAMC,YAAY,sBAAQ,IAAR,EAAeF,IAAf,CAAqB,IAArB,EAA4BC,MAA5B,CAAoC,CAApC,EAAuC,CAAvC,CAAlB;AACA,MAAME,aAAaC,iBAAOC,IAAP,CAAa,4BAAYN,IAAZ,SAAoBG,SAApB,WAAsCI,GAAtC,EAAb,CAAnB;AACA,MAAMC,WAAW,4BAAYR,IAAZ,kBAAgCS,MAAhC,CAAwC,YAAW;AACnE,UAAO,KAAKC,KAAL,KAAeN,UAAtB;AACA,GAFgB,CAAjB;;AAIA,MAAK,CAAEA,UAAF,IAAgBI,SAASG,MAA9B,EAAuC;AACtC;AACA,GAV0H,CAUzH;;AAEF;AACA,8BAAYX,IAAZ,SAAoBG,SAApB,eAAuCH,IAAvC,SAA+CG,SAA/C,WAAiEF,IAAjE,CAAuE,UAAvE,EAAmF,IAAnF;;AAEAI,mBAAOO,IAAP,CAAY;AACXZ,SAAM,MADK;AAEXa,QAAKC,SAASC,OAFH;AAGXC,UAAO,IAHI;AAIXC,SAAM;AACLC,YAAQ,4BADH;AAELC,WAAOf,UAFF;AAGLgB,WAAON,SAASM;AAHX,IAJK;AASXC,aAAU,MATC;AAUXC,YAAS,iBAAUL,IAAV,EAAiB;;AAEzB;AACA,gCAAYjB,IAAZ,SAAoBG,SAApB,eAAuCH,IAAvC,SAA+CG,SAA/C,WAAiEoB,UAAjE,CAA6E,UAA7E;AACA,gCAAYvB,IAAZ,SAAoBG,SAApB,WAAsCI,GAAtC,CAA2C,EAA3C;;AAEA,QAAKU,KAAKK,OAAV,EAAoB;;AAEnB;AACA,SAAK,YAAYL,KAAKd,SAAjB,KAAgC,YAAYA,SAAZ,IAAyB,aAAaH,IAAtE,CAAL,EAAoF;AACnFwB,YAAOV,SAASW,UAAhB;AACA;AACA,MAHD,MAGO,IAAK,YAAYR,KAAKd,SAAjB,KAAgC,YAAYA,SAAZ,IAAyB,aAAaH,IAAtE,CAAL,EAAoF;AAC1FwB,YAAOV,SAASY,UAAhB;AACA;AACA,MAHM,MAGA,IAAK,YAAYT,KAAKd,SAAjB,KAAgC,SAASA,SAAT,IAAsB,aAAaH,IAAnE,CAAL,EAAiF;AACvFwB,YAAOV,SAASa,OAAhB;AACA;AACA;;AAED,iCAAY3B,IAAZ,YAA0B4B,MAA1B,CAAkC,iDAAiCX,KAAKd,SAAtC,UAAuD0B,IAAvD,CAA6DZ,KAAKE,KAAlE,EAA0ES,MAA1E,CACjC,sDAAsC5B,IAAtC,aAAqDO,GAArD,CAA0DU,KAAKE,KAA/D,CADiC,EAEjC,sBAAQ,mDAAR,EAA8DpB,KAA9D,CAAqE+B,cAArE,CAFiC,CAAlC;AAIA,KAlBD,MAkBO;AACNN,WAAOP,KAAKc,OAAZ;AACA;AACD,IArCU;AAsCXC,UAAO,eAAUC,GAAV,EAAeC,UAAf,EAA2BF,MAA3B,EAAmC;AACzCG,YAAQC,GAAR,CAAaH,IAAII,UAAjB;AACAF,YAAQC,GAAR,CAAaF,UAAb;AACAC,YAAQC,GAAR,CAAaJ,MAAb;AACA;AA1CU,GAAZ;AA4CA,EA3DD;;AA6DA,uBAAQ,+FAAR,EAA0GM,OAA1G,CAAmH,UAAUC,KAAV,EAAkB;AACpI,MAAK,OAAOA,MAAMC,OAAlB,EAA4B;AAC3B,OAAMxC,OAAO,sBAAQ,IAAR,EAAeC,IAAf,CAAqB,IAArB,EAA4BC,MAA5B,CAAoC,CAApC,EAAuC,CAAvC,CAAb;AACA,OAAMC,YAAY,sBAAQ,IAAR,EAAeF,IAAf,CAAqB,IAArB,EAA4BC,MAA5B,CAAoC,CAApC,EAAuC,CAAvC,CAAlB;AACA,+BAAYF,IAAZ,SAAoBG,SAApB,WAAsCJ,KAAtC;AACA,UAAO,KAAP;AACA;AACD,EAPD;;AASA;;;AAGA,uBAAQ,oFAAR,EAA+FA,KAA/F,CAAsG+B,cAAtG;AACA,UAASA,cAAT,GAA0B;AACzB,MAAMX,QAAQ,sBAAQ,IAAR,EAAesB,OAAf,CAAwB,YAAxB,CAAd;AACAtB,QAAMuB,QAAN,CAAgB,cAAhB,EAAiCC,OAAjC,CAA0C,MAA1C,EAAkD,YAAW;AAC5DxB,SAAMyB,MAAN;AACA,GAFD;AAGA;AACD,CAvFD,E;;;;;;;;;;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;;AAEA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;;;;;AAKA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;AAIA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA,EAAE;;AAEF;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,EAAE;;AAEF;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA,GAAG;AACH,EAAE;;AAEF;AACA;AACA,EAAE;;AAEF;AACA;AACA,EAAE;;AAEF;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,QAAQ,YAAY;;AAEpB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,MAAM;AACN;AACA;;AAEA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,EAAE;;AAEF,oBAAoB;;AAEpB;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,EAAE;;AAEF;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA,EAAE;;AAEF;AACA;;AAEA;AACA;AACA,UAAU,YAAY;AACtB;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA,EAAE;;AAEF;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;;AAEA,SAAS,SAAS;AAClB;AACA;;AAEA;;AAEA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,SAAS,YAAY;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAU,YAAY;AACtB;;AAEA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,EAAE;;AAEF;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,SAAS;AAClB;AACA;AACA;AACA;AACA;AACA,EAAE;;AAEF;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA;;AAEA,gBAAgB,IAAI;;AAEpB;AACA;;AAEA;;AAEA;AACA;AACA,wCAAwC,IAAI;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA,GAAG;AACH,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,SAAS;;AAET;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA,MAAM;;AAEN;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;;AAEA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,aAAa,yBAAyB;AACtC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,SAAS;AACpB;AACA;AACA;;AAEA;AACA;AACA,EAAE;AACF;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB,WAAW,SAAS;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,aAAa,OAAO;AACpB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,OAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,QAAQ,6BAA6B;AAChD;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,EAAE;AACF;;AAEA;AACA;AACA,WAAW,gBAAgB;AAC3B,aAAa,uBAAuB;AACpC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,WAAW,eAAe;AAC1B,aAAa,QAAQ;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW,eAAe;AAC1B,aAAa,OAAO;AACpB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA;;AAEA;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,WAAW,UAAU;AACrB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,WAAW,cAAc;AACzB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,gCAAgC,MAAM;AACtC;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;;AAEA,eAAe;;AAEf,SAAS;;AAET;AACA,QAAQ,iCAAiC;AACzC,QAAQ,oBAAoB;AAC5B,QAAQ,sCAAsC;AAC9C,QAAQ;AACR,EAAE;;AAEF;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,EAAE;;AAEF;;AAEA;AACA;AACA;AACA,gBAAgB,aAAa,EAAE;AAC/B;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;;AAEH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA,4DAA4D;;AAE5D;AACA;AACA;AACA,yCAAyC;;AAEzC;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAO;AACP;AACA;AACA;AACA;AACA,6DAA6D;;AAE7D;AACA;AACA;AACA,0CAA0C;;AAE1C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,gEAAgE;;AAEhE;AACA;AACA;AACA,6CAA6C;;AAE7C;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA,iEAAiE,UAAU;AAC3E,sCAAsC,2BAA2B;AACjE;AACA,gCAAgC,MAAM;AACtC;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG;;AAEH;AACA;AACA,UAAU,YAAY;AACtB;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,UAAU,YAAY;AACtB;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,UAAU,UAAU;AACpB;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,UAAU,cAAc;AACxB;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;;AAEA;AACA,YAAY,uEAAuE;AACnF;AACA;AACA,YAAY,4BAA4B;AACxC;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,QAAQ,SAAS;AACjB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,2DAA2D;;AAE3D;AACA;AACA,oFAAoF;;AAEpF;AACA;AACA,OAAO;AACP;;AAEA;AACA;AACA,OAAO;AACP;AACA;;AAEA,mCAAmC;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA,QAAQ,SAAS;AACjB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,QAAQ,SAAS;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,EAAE;AACF;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH,QAAQ,SAAS;AACjB;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,WAAW,SAAS;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,iDAAiD;AACxF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,iDAAiD;AACjD,UAAU,wCAAwC;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B;AACA,WAAW,QAAQ;AACnB,WAAW,MAAM;AACjB,WAAW,MAAM;AACjB;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,EAAE;AACF;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA,EAAE;AACF;;AAEA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;;AAEA;;AAEA,CAAC;;;;AAID;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;AAKA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;;AAEA,QAAQ,GAAG;AACX;AACA;AACA;AACA;;AAEA;AACA;;;AAGA;;;;AAIA;;AAEA;;AAEA;AACA;;;;AAIA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,EAAE;AACF;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,gBAAgB,SAAS;AACzB;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;;AAEA,cAAc,SAAS;AACvB;AACA;;AAEA;AACA,EAAE;AACF;AACA;AACA,EAAE;AACF;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;AAGD;;;AAGA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,IAAI;AACJ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,QAAQ;AACR;AACA;AACA;AACA;;AAEA;;AAEA;AACA,KAAK;AACL;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;;AAEA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAU,OAAO;AACjB;AACA;AACA;AACA;AACA,GAAG;AACH,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAU,OAAO;AACjB,0BAA0B,wBAAwB;;AAElD;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,EAAE;;AAEF;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA,EAAE;AACF;AACA;AACA,EAAE;AACF;AACA;AACA,EAAE;AACF;AACA;AACA,EAAE;AACF;AACA;AACA,EAAE;AACF;AACA;AACA,EAAE;AACF;AACA;AACA,EAAE;AACF;AACA;AACA,EAAE;AACF;AACA,0CAA0C;AAC1C,EAAE;AACF;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;AACD;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;AACD;;;;AAIA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,mBAAmB;;AAEnB;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,UAAU,cAAc;AACxB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;;AAER;AACA;AACA;AACA,OAAO;AACP,MAAM;;AAEN;AACA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA,GAAG;AACH;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;;AAEL;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA,wCAAwC,sCAAsC;AAC9E,oCAAoC,uCAAuC;AAC3E,oCAAoC,sCAAsC;AAC1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR,OAAO;AACP;AACA,MAAM;AACN,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,WAAW;;AAEX;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,UAAU;;AAEV;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;;AAER;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;;AAEN;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,oCAAoC;AACpC,qCAAqC;AACrC,oCAAoC;AACpC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,EAAE;;AAEF;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;;AAGD;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;AAKA;AACA;AACA;AACA,EAAE;AACF;;;;;AAKA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,CAAC;;AAED;AACA;;AAEA;AACA;AACA;;;;;AAKA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,EAAE;AACF;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,UAAU,SAAS;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,+BAA+B;AAC/B;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;AAKA;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,uBAAuB,aAAa;AACpC,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA,EAAE;AACF;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,oBAAoB,SAAS;AAC7B;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA,EAAE;;AAEF;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,IAAI;AACJ,GAAG;AACH,EAAE;;AAEF;AACA;AACA;AACA,GAAG;AACH;AACA,CAAC;;;AAGD;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,GAAG;AACH;AACA,CAAC;;AAED;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ,EAAE;AACF;AACA;AACA;AACA,GAAG;AACH,EAAE;AACF;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;AAEA;;;AAGA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,QAAQ,gBAAgB;AACxB;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,iBAAiB,gBAAgB;AACjC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,GAAG;AACH;AACA,CAAC;AACD;;AAEA;;AAEA;;;;AAIA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;;AAGA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA,EAAE;AACF;;AAEA,EAAE;AACF;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;;AAEA,QAAQ,OAAO;AACf;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA,sBAAsB;;AAEtB;AACA;AACA;AACA;AACA;AACA;;AAEA,QAAQ,OAAO;AACf;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;;AAEA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;AAIA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,EAAE,gBAAgB;AAClB;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,EAAE;AACF;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;;AAEA;AACA;AACA;AACA;AACA;;AAEA,WAAW;;AAEX;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;;AAEA,EAAE;;AAEF;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,2CAA2C;AAC3C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,EAAE;;AAEF;;AAEA;AACA;;AAEA;AACA;AACA,oDAAoD;AACpD;;AAEA;AACA;;AAEA,cAAc,sBAAsB;AACpC;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,yBAAyB;AACzB;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA,+DAA+D;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,UAAU,cAAc;;AAExB;AACA;AACA;AACA;AACA;AACA,iBAAiB,mBAAmB;AACpC;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0BAA0B,uCAAuC;AACjE;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,uBAAuB,uDAAuD;AAC9E;;AAEA;AACA,EAAE;;AAEF;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,GAAG;AACH,EAAE;;AAEF;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA;;AAEA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,sCAAsC;AACtC;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,EAAE;AACF;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,EAAE;AACF;AACA;;AAEA;;AAEA;AACA;AACA;AACA,EAAE;AACF;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,qCAAqC,cAAc;AACnD;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,qCAAqC;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;;AAEA;AACA;AACA,EAAE;AACF;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,CAAC;;;AAGD;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,2CAA2C,OAAO;AAClD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,8BAA8B;;AAE9B;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,EAAE;AACF;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAU,OAAO;AACjB;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,gBAAgB,gBAAgB;AAChC;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,QAAQ,+BAA+B;AACvC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,uCAAuC,OAAO;AAC9C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,wCAAwC,OAAO;AAC/C;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;;AAEA,SAAS,qCAAqC;AAC9C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,QAAQ;AACR;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,EAAE;;AAEF;AACA;AACA;;AAEA,SAAS,8BAA8B;AACvC;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,EAAE;;AAEF;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH,EAAE;;AAEF;AACA;AACA,6BAA6B;AAC7B;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA,YAAY,OAAO;AACnB;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,GAAG;AACH,EAAE;;AAEF;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;;AAEA,SAAS,WAAW;AACpB;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;AACD;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;;;AAIA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,+CAA+C,cAAc,WAAW;AACxE,mBAAmB,UAAU;AAC7B;AACA,sBAAsB,cAAc,sBAAsB,gBAAgB;AAC1E,gBAAgB,WAAW,YAAY;AACvC,cAAc;AACd;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA,EAAE;AACF,CAAC;;;AAGD;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,kBAAkB;AAClB;AACA;AACA;AACA;;;AAGA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY,+DAA+D;AAC3E;AACA;AACA;AACA,EAAE;;AAEF;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,QAAQ,OAAO;;AAEf;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA,aAAa;;AAEb;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA,GAAG;;AAEH;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,kBAAkB,gBAAgB;AAClC;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA,iBAAiB;;AAEjB;AACA;;AAEA,UAAU,OAAO;AACjB;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,YAAY;AACZ;;AAEA;AACA;AACA;;AAEA,WAAW,SAAS;AACpB;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,CAAC;;;AAGD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;;AAEA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA,EAAE;AACF;AACA;;AAEA;;AAEA;AACA;;;;;AAKA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA;AACA,QAAQ,OAAO;AACf;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,QAAQ,gBAAgB;AACxB;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,iDAAiD,0BAA0B;AAC3E;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,UAAU,gBAAgB;AAC1B;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,2BAA2B;AAC3B;AACA,qBAAqB;AACrB;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,gBAAgB;AAC3B;AACA;;AAEA,6CAA6C;AAC7C;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;;AAEA,QAAQ,gBAAgB;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,EAAE;;AAEF;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA,SAAS,gBAAgB;AACzB;AACA;AACA;AACA;AACA,EAAE;;AAEF;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,CAAC;;AAED;AACA,iEAAiE;AACjE;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,EAAE;AACF;AACA;AACA;;AAEA,IAAI;AACJ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,oBAAoB,cAAc;AAClC,EAAE;AACF;AACA;AACA;AACA;;AAEA;AACA,iDAAiD;;AAEjD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;;AAEA,+BAA+B,SAAS;AACxC;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,+BAA+B,SAAS;AACxC;AACA;AACA;AACA;AACA;;AAEA;AACA,mBAAmB,gBAAgB;AACnC;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,UAAU,kBAAkB;AAC5B,WAAW,kBAAkB;AAC7B,cAAc;AACd,CAAC;AACD;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;;AAEA;;AAEA,QAAQ,mBAAmB;AAC3B;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;;;AAGA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;AAGD;AACA;;AAEA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA,GAAG;AACH;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;AAKD;AACA;;AAEA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA,GAAG;AACH;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,EAAE;;AAEF;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;AAKD;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,EAAE;;AAEF;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,EAAE;;AAEF;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH,EAAE;;AAEF;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,CAAC;;;;;AAKD;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;;AAEA,iCAAiC;AACjC;AACA;;AAEA,IAAI;AACJ;;AAEA,IAAI;AACJ;AACA;AACA,KAAK;AACL;;AAEA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,CAAC;;AAED;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,KAAK;AACL;AACA;;AAEA;AACA,WAAW,SAAS;AACpB;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;AAKD;;;AAGA;;;AAGA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA,sCAAsC;AACtC;AACA;AACA;;AAEA;;AAEA,yBAAyB;AACzB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,8CAA8C;AAC9C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,2CAA2C;AAC3C;;AAEA;AACA;AACA;AACA;AACA,UAAU,KAAK;AACf;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,iDAAiD;AACjD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,CAAC;;AAED;;AAEA;AACA;AACA;AACA,GAAG;AACH,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;AAGD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,qCAAqC;;AAEpD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;;AAEA,KAAK;AACL;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;;AAEA;;AAEA;;;;AAIA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH,EAAE;;AAEF;AACA;AACA;AACA;;AAEA,EAAE;;AAEF;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,EAAE;AACF;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,aAAa;AACb,KAAK;AACL;;AAEA,WAAW;AACX,GAAG;AACH;AACA,CAAC;;;AAGD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;;AAEhB;AACA;AACA;AACA;AACA;AACA,gBAAgB;;AAEhB,gDAAgD;AAChD;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,mBAAmB;AACnB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,wDAAwD;AACxD;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,iBAAiB;;AAEjB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA,IAAI;;AAEJ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAAS;AACT;;AAEA;;AAEA;AACA;;AAEA;AACA,iBAAiB;AACjB,SAAS;;AAET;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kDAAkD;;AAElD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,EAAE;;AAEF;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA,2BAA2B;;AAE3B;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,kCAAkC;;AAElC;AACA,sBAAsB;AACtB,2BAA2B;;AAE3B;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;;AAEP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,sDAAsD;AACtD;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,KAAK;AACL;;AAEA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,EAAE;;AAEF;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,CAAC;;;AAGD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;;AAEA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA,IAAI;AACJ;AACA;AACA,GAAG;AACH,EAAE;;AAEF;AACA;;AAEA;AACA;AACA,GAAG;AACH,EAAE;;AAEF;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,CAAC;;;AAGD;AACA;AACA;AACA;AACA;AACA;;;;;AAKA;AACA;AACA;AACA,EAAE;AACF;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,EAAE;AACF;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,QAAQ;;AAER;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;;AAEA,mDAAmD;AACnD;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW,uBAAuB;AAClC,WAAW,yBAAyB;AACpC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;AAKD;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;AAKD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,GAAG;;AAEH;AACA;AACA;AACA,CAAC;;;;;AAKD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;AAGD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,EAAE;AACF;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA,IAAI;AACJ,GAAG;AACH;;AAEA;AACA;;;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;;;AAKD;AACA;AACA;AACA,EAAE;AACF;;;;;AAKA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,GAAG;AACH;AACA;AACA;;AAEA;;AAEA;AACA,qDAAqD;AACrD;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,GAAG;AACH;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mBAAmB;;AAEnB;AACA;;AAEA;AACA;;AAEA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,GAAG;AACH;AACA,CAAC;;AAED;AACA,cAAc,sDAAsD;AACpE;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,IAAI;AACJ;AACA;AACA,GAAG;AACH;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;;AAGD;AACA,cAAc,mCAAmC;AACjD,eAAe,6DAA6D;AAC5E;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA,EAAE;AACF,CAAC;;;AAGD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,CAAC;;;;;AAKD;;AAEA;AACA;AACA,EAAE;AACF;AACA;AACA,EAAE;;AAEF;AACA;AACA,EAAE;AACF;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,EAAE;AAAA;AACF;;;;;AAKA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;;;AAKA;AACA,CAAC","file":"wsal-wizard.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./js/src/wsal-wizard.js\");\n","// removed by extract-text-webpack-plugin","/**\n * WSAL Wizard\n *\n * Entry file for webpack.\n *\n * @since 3.2.3\n */\n\n// Wizard styles.\nimport '../../css/src/wsal-wizard.scss';\n\nimport jQuery from 'jquery';\n\njQuery( document ).ready( function() {\n\n\t/**\n\t * Step: `Access`\n\t *\n\t * Usernames & roles access setting.\n\t */\n\tjQuery( '#editor-users-add, #editor-roles-add, #exuser-query-add, #exrole-query-add, #ipaddr-query-add' ).click( function() {\n\t\tconst type = jQuery( this ).attr( 'id' ).substr( 0, 6 );\n\t\tconst tokenType = jQuery( this ).attr( 'id' ).substr( 7, 5 );\n\t\tconst tokenValue = jQuery.trim( jQuery( `#${type}-${tokenType}-box` ).val() );\n\t\tconst existing = jQuery( `#${type}-list input` ).filter( function() {\n\t\t\treturn this.value === tokenValue;\n\t\t});\n\n\t\tif ( ! tokenValue || existing.length ) {\n\t\t\treturn;\n\t\t} // if value is empty or already used, stop here\n\n\t\t// checkDataToken( 'user' );\n\t\tjQuery( `#${type}-${tokenType}-box, #${type}-${tokenType}-add` ).attr( 'disabled', true );\n\n\t\tjQuery.ajax({\n\t\t\ttype: 'POST',\n\t\t\turl: wsalData.ajaxURL,\n\t\t\tasync: true,\n\t\t\tdata: {\n\t\t\t\taction: 'setup_check_security_token',\n\t\t\t\ttoken: tokenValue,\n\t\t\t\tnonce: wsalData.nonce\n\t\t\t},\n\t\t\tdataType: 'json',\n\t\t\tsuccess: function( data ) {\n\n\t\t\t\t// Remove disabled attribute.\n\t\t\t\tjQuery( `#${type}-${tokenType}-box, #${type}-${tokenType}-add` ).removeAttr( 'disabled' );\n\t\t\t\tjQuery( `#${type}-${tokenType}-box` ).val( '' );\n\n\t\t\t\tif ( data.success ) {\n\n\t\t\t\t\t// Error handling.\n\t\t\t\t\tif ( 'other' === data.tokenType && ( 'users' === tokenType || 'exuser' === type ) ) {\n\t\t\t\t\t\talert( wsalData.usersError );\n\t\t\t\t\t\treturn;\n\t\t\t\t\t} else if ( 'other' === data.tokenType && ( 'roles' === tokenType || 'exrole' === type ) ) {\n\t\t\t\t\t\talert( wsalData.rolesError );\n\t\t\t\t\t\treturn;\n\t\t\t\t\t} else if ( 'other' === data.tokenType && ( 'ip' === tokenType || 'ipaddr' === type ) ) {\n\t\t\t\t\t\talert( wsalData.ipError );\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tjQuery( `#${type}-list` ).append( jQuery( `<span class=\"sectoken-${data.tokenType}\"/>` ).text( data.token ).append(\n\t\t\t\t\t\tjQuery( `<input type=\"hidden\" name=\"${type}s[]\"/>` ).val( data.token ),\n\t\t\t\t\t\tjQuery( '<a href=\"javascript:;\" title=\"Remove\">×</a>' ).click( removeSecToken )\n\t\t\t\t\t) );\n\t\t\t\t} else {\n\t\t\t\t\talert( data.message );\n\t\t\t\t}\n\t\t\t},\n\t\t\terror: function( xhr, textStatus, error ) {\n\t\t\t\tconsole.log( xhr.statusText );\n\t\t\t\tconsole.log( textStatus );\n\t\t\t\tconsole.log( error );\n\t\t\t}\n\t\t});\n\t});\n\n\tjQuery( '#editor-users-box, #editor-roles-box, #exuser-query-box, #exrole-query-box, #ipaddr-query-box' ).keydown( function( event ) {\n\t\tif ( 13 === event.keyCode ) {\n\t\t\tconst type = jQuery( this ).attr( 'id' ).substr( 0, 6 );\n\t\t\tconst tokenType = jQuery( this ).attr( 'id' ).substr( 7, 5 );\n\t\t\tjQuery( `#${type}-${tokenType}-add` ).click();\n\t\t\treturn false;\n\t\t}\n\t});\n\n\t/**\n\t * Remove access settings token.\n\t */\n\tjQuery( '#editor-list>span>a, #exuser-list>span>a, #exrole-list>span>a, #ipaddr-list>span>a' ).click( removeSecToken );\n\tfunction removeSecToken() {\n\t\tconst token = jQuery( this ).parents( 'span:first' );\n\t\ttoken.addClass( 'sectoken-del' ).fadeOut( 'fast', function() {\n\t\t\ttoken.remove();\n\t\t});\n\t};\n});\n\n","/*!\n * jQuery JavaScript Library v3.3.1\n * https://jquery.com/\n *\n * Includes Sizzle.js\n * https://sizzlejs.com/\n *\n * Copyright JS Foundation and other contributors\n * Released under the MIT license\n * https://jquery.org/license\n *\n * Date: 2018-01-20T17:24Z\n */\n( function( global, factory ) {\n\n\t\"use strict\";\n\n\tif ( typeof module === \"object\" && typeof module.exports === \"object\" ) {\n\n\t\t// For CommonJS and CommonJS-like environments where a proper `window`\n\t\t// is present, execute the factory and get jQuery.\n\t\t// For environments that do not have a `window` with a `document`\n\t\t// (such as Node.js), expose a factory as module.exports.\n\t\t// This accentuates the need for the creation of a real `window`.\n\t\t// e.g. var jQuery = require(\"jquery\")(window);\n\t\t// See ticket #14549 for more info.\n\t\tmodule.exports = global.document ?\n\t\t\tfactory( global, true ) :\n\t\t\tfunction( w ) {\n\t\t\t\tif ( !w.document ) {\n\t\t\t\t\tthrow new Error( \"jQuery requires a window with a document\" );\n\t\t\t\t}\n\t\t\t\treturn factory( w );\n\t\t\t};\n\t} else {\n\t\tfactory( global );\n\t}\n\n// Pass this if window is not defined yet\n} )( typeof window !== \"undefined\" ? window : this, function( window, noGlobal ) {\n\n// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1\n// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode\n// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common\n// enough that all such attempts are guarded in a try block.\n\"use strict\";\n\nvar arr = [];\n\nvar document = window.document;\n\nvar getProto = Object.getPrototypeOf;\n\nvar slice = arr.slice;\n\nvar concat = arr.concat;\n\nvar push = arr.push;\n\nvar indexOf = arr.indexOf;\n\nvar class2type = {};\n\nvar toString = class2type.toString;\n\nvar hasOwn = class2type.hasOwnProperty;\n\nvar fnToString = hasOwn.toString;\n\nvar ObjectFunctionString = fnToString.call( Object );\n\nvar support = {};\n\nvar isFunction = function isFunction( obj ) {\n\n // Support: Chrome <=57, Firefox <=52\n // In some browsers, typeof returns \"function\" for HTML <object> elements\n // (i.e., `typeof document.createElement( \"object\" ) === \"function\"`).\n // We don't want to classify *any* DOM node as a function.\n return typeof obj === \"function\" && typeof obj.nodeType !== \"number\";\n };\n\n\nvar isWindow = function isWindow( obj ) {\n\t\treturn obj != null && obj === obj.window;\n\t};\n\n\n\n\n\tvar preservedScriptAttributes = {\n\t\ttype: true,\n\t\tsrc: true,\n\t\tnoModule: true\n\t};\n\n\tfunction DOMEval( code, doc, node ) {\n\t\tdoc = doc || document;\n\n\t\tvar i,\n\t\t\tscript = doc.createElement( \"script\" );\n\n\t\tscript.text = code;\n\t\tif ( node ) {\n\t\t\tfor ( i in preservedScriptAttributes ) {\n\t\t\t\tif ( node[ i ] ) {\n\t\t\t\t\tscript[ i ] = node[ i ];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tdoc.head.appendChild( script ).parentNode.removeChild( script );\n\t}\n\n\nfunction toType( obj ) {\n\tif ( obj == null ) {\n\t\treturn obj + \"\";\n\t}\n\n\t// Support: Android <=2.3 only (functionish RegExp)\n\treturn typeof obj === \"object\" || typeof obj === \"function\" ?\n\t\tclass2type[ toString.call( obj ) ] || \"object\" :\n\t\ttypeof obj;\n}\n/* global Symbol */\n// Defining this global in .eslintrc.json would create a danger of using the global\n// unguarded in another place, it seems safer to define global only for this module\n\n\n\nvar\n\tversion = \"3.3.1\",\n\n\t// Define a local copy of jQuery\n\tjQuery = function( selector, context ) {\n\n\t\t// The jQuery object is actually just the init constructor 'enhanced'\n\t\t// Need init if jQuery is called (just allow error to be thrown if not included)\n\t\treturn new jQuery.fn.init( selector, context );\n\t},\n\n\t// Support: Android <=4.0 only\n\t// Make sure we trim BOM and NBSP\n\trtrim = /^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g;\n\njQuery.fn = jQuery.prototype = {\n\n\t// The current version of jQuery being used\n\tjquery: version,\n\n\tconstructor: jQuery,\n\n\t// The default length of a jQuery object is 0\n\tlength: 0,\n\n\ttoArray: function() {\n\t\treturn slice.call( this );\n\t},\n\n\t// Get the Nth element in the matched element set OR\n\t// Get the whole matched element set as a clean array\n\tget: function( num ) {\n\n\t\t// Return all the elements in a clean array\n\t\tif ( num == null ) {\n\t\t\treturn slice.call( this );\n\t\t}\n\n\t\t// Return just the one element from the set\n\t\treturn num < 0 ? this[ num + this.length ] : this[ num ];\n\t},\n\n\t// Take an array of elements and push it onto the stack\n\t// (returning the new matched element set)\n\tpushStack: function( elems ) {\n\n\t\t// Build a new jQuery matched element set\n\t\tvar ret = jQuery.merge( this.constructor(), elems );\n\n\t\t// Add the old object onto the stack (as a reference)\n\t\tret.prevObject = this;\n\n\t\t// Return the newly-formed element set\n\t\treturn ret;\n\t},\n\n\t// Execute a callback for every element in the matched set.\n\teach: function( callback ) {\n\t\treturn jQuery.each( this, callback );\n\t},\n\n\tmap: function( callback ) {\n\t\treturn this.pushStack( jQuery.map( this, function( elem, i ) {\n\t\t\treturn callback.call( elem, i, elem );\n\t\t} ) );\n\t},\n\n\tslice: function() {\n\t\treturn this.pushStack( slice.apply( this, arguments ) );\n\t},\n\n\tfirst: function() {\n\t\treturn this.eq( 0 );\n\t},\n\n\tlast: function() {\n\t\treturn this.eq( -1 );\n\t},\n\n\teq: function( i ) {\n\t\tvar len = this.length,\n\t\t\tj = +i + ( i < 0 ? len : 0 );\n\t\treturn this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] );\n\t},\n\n\tend: function() {\n\t\treturn this.prevObject || this.constructor();\n\t},\n\n\t// For internal use only.\n\t// Behaves like an Array's method, not like a jQuery method.\n\tpush: push,\n\tsort: arr.sort,\n\tsplice: arr.splice\n};\n\njQuery.extend = jQuery.fn.extend = function() {\n\tvar options, name, src, copy, copyIsArray, clone,\n\t\ttarget = arguments[ 0 ] || {},\n\t\ti = 1,\n\t\tlength = arguments.length,\n\t\tdeep = false;\n\n\t// Handle a deep copy situation\n\tif ( typeof target === \"boolean\" ) {\n\t\tdeep = target;\n\n\t\t// Skip the boolean and the target\n\t\ttarget = arguments[ i ] || {};\n\t\ti++;\n\t}\n\n\t// Handle case when target is a string or something (possible in deep copy)\n\tif ( typeof target !== \"object\" && !isFunction( target ) ) {\n\t\ttarget = {};\n\t}\n\n\t// Extend jQuery itself if only one argument is passed\n\tif ( i === length ) {\n\t\ttarget = this;\n\t\ti--;\n\t}\n\n\tfor ( ; i < length; i++ ) {\n\n\t\t// Only deal with non-null/undefined values\n\t\tif ( ( options = arguments[ i ] ) != null ) {\n\n\t\t\t// Extend the base object\n\t\t\tfor ( name in options ) {\n\t\t\t\tsrc = target[ name ];\n\t\t\t\tcopy = options[ name ];\n\n\t\t\t\t// Prevent never-ending loop\n\t\t\t\tif ( target === copy ) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Recurse if we're merging plain objects or arrays\n\t\t\t\tif ( deep && copy && ( jQuery.isPlainObject( copy ) ||\n\t\t\t\t\t( copyIsArray = Array.isArray( copy ) ) ) ) {\n\n\t\t\t\t\tif ( copyIsArray ) {\n\t\t\t\t\t\tcopyIsArray = false;\n\t\t\t\t\t\tclone = src && Array.isArray( src ) ? src : [];\n\n\t\t\t\t\t} else {\n\t\t\t\t\t\tclone = src && jQuery.isPlainObject( src ) ? src : {};\n\t\t\t\t\t}\n\n\t\t\t\t\t// Never move original objects, clone them\n\t\t\t\t\ttarget[ name ] = jQuery.extend( deep, clone, copy );\n\n\t\t\t\t// Don't bring in undefined values\n\t\t\t\t} else if ( copy !== undefined ) {\n\t\t\t\t\ttarget[ name ] = copy;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Return the modified object\n\treturn target;\n};\n\njQuery.extend( {\n\n\t// Unique for each copy of jQuery on the page\n\texpando: \"jQuery\" + ( version + Math.random() ).replace( /\\D/g, \"\" ),\n\n\t// Assume jQuery is ready without the ready module\n\tisReady: true,\n\n\terror: function( msg ) {\n\t\tthrow new Error( msg );\n\t},\n\n\tnoop: function() {},\n\n\tisPlainObject: function( obj ) {\n\t\tvar proto, Ctor;\n\n\t\t// Detect obvious negatives\n\t\t// Use toString instead of jQuery.type to catch host objects\n\t\tif ( !obj || toString.call( obj ) !== \"[object Object]\" ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tproto = getProto( obj );\n\n\t\t// Objects with no prototype (e.g., `Object.create( null )`) are plain\n\t\tif ( !proto ) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// Objects with prototype are plain iff they were constructed by a global Object function\n\t\tCtor = hasOwn.call( proto, \"constructor\" ) && proto.constructor;\n\t\treturn typeof Ctor === \"function\" && fnToString.call( Ctor ) === ObjectFunctionString;\n\t},\n\n\tisEmptyObject: function( obj ) {\n\n\t\t/* eslint-disable no-unused-vars */\n\t\t// See https://github.com/eslint/eslint/issues/6125\n\t\tvar name;\n\n\t\tfor ( name in obj ) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t},\n\n\t// Evaluates a script in a global context\n\tglobalEval: function( code ) {\n\t\tDOMEval( code );\n\t},\n\n\teach: function( obj, callback ) {\n\t\tvar length, i = 0;\n\n\t\tif ( isArrayLike( obj ) ) {\n\t\t\tlength = obj.length;\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tif ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tfor ( i in obj ) {\n\t\t\t\tif ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn obj;\n\t},\n\n\t// Support: Android <=4.0 only\n\ttrim: function( text ) {\n\t\treturn text == null ?\n\t\t\t\"\" :\n\t\t\t( text + \"\" ).replace( rtrim, \"\" );\n\t},\n\n\t// results is for internal usage only\n\tmakeArray: function( arr, results ) {\n\t\tvar ret = results || [];\n\n\t\tif ( arr != null ) {\n\t\t\tif ( isArrayLike( Object( arr ) ) ) {\n\t\t\t\tjQuery.merge( ret,\n\t\t\t\t\ttypeof arr === \"string\" ?\n\t\t\t\t\t[ arr ] : arr\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tpush.call( ret, arr );\n\t\t\t}\n\t\t}\n\n\t\treturn ret;\n\t},\n\n\tinArray: function( elem, arr, i ) {\n\t\treturn arr == null ? -1 : indexOf.call( arr, elem, i );\n\t},\n\n\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t// push.apply(_, arraylike) throws on ancient WebKit\n\tmerge: function( first, second ) {\n\t\tvar len = +second.length,\n\t\t\tj = 0,\n\t\t\ti = first.length;\n\n\t\tfor ( ; j < len; j++ ) {\n\t\t\tfirst[ i++ ] = second[ j ];\n\t\t}\n\n\t\tfirst.length = i;\n\n\t\treturn first;\n\t},\n\n\tgrep: function( elems, callback, invert ) {\n\t\tvar callbackInverse,\n\t\t\tmatches = [],\n\t\t\ti = 0,\n\t\t\tlength = elems.length,\n\t\t\tcallbackExpect = !invert;\n\n\t\t// Go through the array, only saving the items\n\t\t// that pass the validator function\n\t\tfor ( ; i < length; i++ ) {\n\t\t\tcallbackInverse = !callback( elems[ i ], i );\n\t\t\tif ( callbackInverse !== callbackExpect ) {\n\t\t\t\tmatches.push( elems[ i ] );\n\t\t\t}\n\t\t}\n\n\t\treturn matches;\n\t},\n\n\t// arg is for internal usage only\n\tmap: function( elems, callback, arg ) {\n\t\tvar length, value,\n\t\t\ti = 0,\n\t\t\tret = [];\n\n\t\t// Go through the array, translating each of the items to their new values\n\t\tif ( isArrayLike( elems ) ) {\n\t\t\tlength = elems.length;\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret.push( value );\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Go through every key on the object,\n\t\t} else {\n\t\t\tfor ( i in elems ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret.push( value );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Flatten any nested arrays\n\t\treturn concat.apply( [], ret );\n\t},\n\n\t// A global GUID counter for objects\n\tguid: 1,\n\n\t// jQuery.support is not used in Core but other projects attach their\n\t// properties to it so it needs to exist.\n\tsupport: support\n} );\n\nif ( typeof Symbol === \"function\" ) {\n\tjQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ];\n}\n\n// Populate the class2type map\njQuery.each( \"Boolean Number String Function Array Date RegExp Object Error Symbol\".split( \" \" ),\nfunction( i, name ) {\n\tclass2type[ \"[object \" + name + \"]\" ] = name.toLowerCase();\n} );\n\nfunction isArrayLike( obj ) {\n\n\t// Support: real iOS 8.2 only (not reproducible in simulator)\n\t// `in` check used to prevent JIT error (gh-2145)\n\t// hasOwn isn't used here due to false negatives\n\t// regarding Nodelist length in IE\n\tvar length = !!obj && \"length\" in obj && obj.length,\n\t\ttype = toType( obj );\n\n\tif ( isFunction( obj ) || isWindow( obj ) ) {\n\t\treturn false;\n\t}\n\n\treturn type === \"array\" || length === 0 ||\n\t\ttypeof length === \"number\" && length > 0 && ( length - 1 ) in obj;\n}\nvar Sizzle =\n/*!\n * Sizzle CSS Selector Engine v2.3.3\n * https://sizzlejs.com/\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license\n * http://jquery.org/license\n *\n * Date: 2016-08-08\n */\n(function( window ) {\n\nvar i,\n\tsupport,\n\tExpr,\n\tgetText,\n\tisXML,\n\ttokenize,\n\tcompile,\n\tselect,\n\toutermostContext,\n\tsortInput,\n\thasDuplicate,\n\n\t// Local document vars\n\tsetDocument,\n\tdocument,\n\tdocElem,\n\tdocumentIsHTML,\n\trbuggyQSA,\n\trbuggyMatches,\n\tmatches,\n\tcontains,\n\n\t// Instance-specific data\n\texpando = \"sizzle\" + 1 * new Date(),\n\tpreferredDoc = window.document,\n\tdirruns = 0,\n\tdone = 0,\n\tclassCache = createCache(),\n\ttokenCache = createCache(),\n\tcompilerCache = createCache(),\n\tsortOrder = function( a, b ) {\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t}\n\t\treturn 0;\n\t},\n\n\t// Instance methods\n\thasOwn = ({}).hasOwnProperty,\n\tarr = [],\n\tpop = arr.pop,\n\tpush_native = arr.push,\n\tpush = arr.push,\n\tslice = arr.slice,\n\t// Use a stripped-down indexOf as it's faster than native\n\t// https://jsperf.com/thor-indexof-vs-for/5\n\tindexOf = function( list, elem ) {\n\t\tvar i = 0,\n\t\t\tlen = list.length;\n\t\tfor ( ; i < len; i++ ) {\n\t\t\tif ( list[i] === elem ) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t},\n\n\tbooleans = \"checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped\",\n\n\t// Regular expressions\n\n\t// http://www.w3.org/TR/css3-selectors/#whitespace\n\twhitespace = \"[\\\\x20\\\\t\\\\r\\\\n\\\\f]\",\n\n\t// http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier\n\tidentifier = \"(?:\\\\\\\\.|[\\\\w-]|[^\\0-\\\\xa0])+\",\n\n\t// Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors\n\tattributes = \"\\\\[\" + whitespace + \"*(\" + identifier + \")(?:\" + whitespace +\n\t\t// Operator (capture 2)\n\t\t\"*([*^$|!~]?=)\" + whitespace +\n\t\t// \"Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]\"\n\t\t\"*(?:'((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\"|(\" + identifier + \"))|)\" + whitespace +\n\t\t\"*\\\\]\",\n\n\tpseudos = \":(\" + identifier + \")(?:\\\\((\" +\n\t\t// To reduce the number of selectors needing tokenize in the preFilter, prefer arguments:\n\t\t// 1. quoted (capture 3; capture 4 or capture 5)\n\t\t\"('((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\")|\" +\n\t\t// 2. simple (capture 6)\n\t\t\"((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|\" + attributes + \")*)|\" +\n\t\t// 3. anything else (capture 2)\n\t\t\".*\" +\n\t\t\")\\\\)|)\",\n\n\t// Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter\n\trwhitespace = new RegExp( whitespace + \"+\", \"g\" ),\n\trtrim = new RegExp( \"^\" + whitespace + \"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)\" + whitespace + \"+$\", \"g\" ),\n\n\trcomma = new RegExp( \"^\" + whitespace + \"*,\" + whitespace + \"*\" ),\n\trcombinators = new RegExp( \"^\" + whitespace + \"*([>+~]|\" + whitespace + \")\" + whitespace + \"*\" ),\n\n\trattributeQuotes = new RegExp( \"=\" + whitespace + \"*([^\\\\]'\\\"]*?)\" + whitespace + \"*\\\\]\", \"g\" ),\n\n\trpseudo = new RegExp( pseudos ),\n\tridentifier = new RegExp( \"^\" + identifier + \"$\" ),\n\n\tmatchExpr = {\n\t\t\"ID\": new RegExp( \"^#(\" + identifier + \")\" ),\n\t\t\"CLASS\": new RegExp( \"^\\\\.(\" + identifier + \")\" ),\n\t\t\"TAG\": new RegExp( \"^(\" + identifier + \"|[*])\" ),\n\t\t\"ATTR\": new RegExp( \"^\" + attributes ),\n\t\t\"PSEUDO\": new RegExp( \"^\" + pseudos ),\n\t\t\"CHILD\": new RegExp( \"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\" + whitespace +\n\t\t\t\"*(even|odd|(([+-]|)(\\\\d*)n|)\" + whitespace + \"*(?:([+-]|)\" + whitespace +\n\t\t\t\"*(\\\\d+)|))\" + whitespace + \"*\\\\)|)\", \"i\" ),\n\t\t\"bool\": new RegExp( \"^(?:\" + booleans + \")$\", \"i\" ),\n\t\t// For use in libraries implementing .is()\n\t\t// We use this for POS matching in `select`\n\t\t\"needsContext\": new RegExp( \"^\" + whitespace + \"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\" +\n\t\t\twhitespace + \"*((?:-\\\\d)?\\\\d*)\" + whitespace + \"*\\\\)|)(?=[^-]|$)\", \"i\" )\n\t},\n\n\trinputs = /^(?:input|select|textarea|button)$/i,\n\trheader = /^h\\d$/i,\n\n\trnative = /^[^{]+\\{\\s*\\[native \\w/,\n\n\t// Easily-parseable/retrievable ID or TAG or CLASS selectors\n\trquickExpr = /^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,\n\n\trsibling = /[+~]/,\n\n\t// CSS escapes\n\t// http://www.w3.org/TR/CSS21/syndata.html#escaped-characters\n\trunescape = new RegExp( \"\\\\\\\\([\\\\da-f]{1,6}\" + whitespace + \"?|(\" + whitespace + \")|.)\", \"ig\" ),\n\tfunescape = function( _, escaped, escapedWhitespace ) {\n\t\tvar high = \"0x\" + escaped - 0x10000;\n\t\t// NaN means non-codepoint\n\t\t// Support: Firefox<24\n\t\t// Workaround erroneous numeric interpretation of +\"0x\"\n\t\treturn high !== high || escapedWhitespace ?\n\t\t\tescaped :\n\t\t\thigh < 0 ?\n\t\t\t\t// BMP codepoint\n\t\t\t\tString.fromCharCode( high + 0x10000 ) :\n\t\t\t\t// Supplemental Plane codepoint (surrogate pair)\n\t\t\t\tString.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );\n\t},\n\n\t// CSS string/identifier serialization\n\t// https://drafts.csswg.org/cssom/#common-serializing-idioms\n\trcssescape = /([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]/g,\n\tfcssescape = function( ch, asCodePoint ) {\n\t\tif ( asCodePoint ) {\n\n\t\t\t// U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER\n\t\t\tif ( ch === \"\\0\" ) {\n\t\t\t\treturn \"\\uFFFD\";\n\t\t\t}\n\n\t\t\t// Control characters and (dependent upon position) numbers get escaped as code points\n\t\t\treturn ch.slice( 0, -1 ) + \"\\\\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + \" \";\n\t\t}\n\n\t\t// Other potentially-special ASCII characters get backslash-escaped\n\t\treturn \"\\\\\" + ch;\n\t},\n\n\t// Used for iframes\n\t// See setDocument()\n\t// Removing the function wrapper causes a \"Permission Denied\"\n\t// error in IE\n\tunloadHandler = function() {\n\t\tsetDocument();\n\t},\n\n\tdisabledAncestor = addCombinator(\n\t\tfunction( elem ) {\n\t\t\treturn elem.disabled === true && (\"form\" in elem || \"label\" in elem);\n\t\t},\n\t\t{ dir: \"parentNode\", next: \"legend\" }\n\t);\n\n// Optimize for push.apply( _, NodeList )\ntry {\n\tpush.apply(\n\t\t(arr = slice.call( preferredDoc.childNodes )),\n\t\tpreferredDoc.childNodes\n\t);\n\t// Support: Android<4.0\n\t// Detect silently failing push.apply\n\tarr[ preferredDoc.childNodes.length ].nodeType;\n} catch ( e ) {\n\tpush = { apply: arr.length ?\n\n\t\t// Leverage slice if possible\n\t\tfunction( target, els ) {\n\t\t\tpush_native.apply( target, slice.call(els) );\n\t\t} :\n\n\t\t// Support: IE<9\n\t\t// Otherwise append directly\n\t\tfunction( target, els ) {\n\t\t\tvar j = target.length,\n\t\t\t\ti = 0;\n\t\t\t// Can't trust NodeList.length\n\t\t\twhile ( (target[j++] = els[i++]) ) {}\n\t\t\ttarget.length = j - 1;\n\t\t}\n\t};\n}\n\nfunction Sizzle( selector, context, results, seed ) {\n\tvar m, i, elem, nid, match, groups, newSelector,\n\t\tnewContext = context && context.ownerDocument,\n\n\t\t// nodeType defaults to 9, since context defaults to document\n\t\tnodeType = context ? context.nodeType : 9;\n\n\tresults = results || [];\n\n\t// Return early from calls with invalid selector or context\n\tif ( typeof selector !== \"string\" || !selector ||\n\t\tnodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) {\n\n\t\treturn results;\n\t}\n\n\t// Try to shortcut find operations (as opposed to filters) in HTML documents\n\tif ( !seed ) {\n\n\t\tif ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) {\n\t\t\tsetDocument( context );\n\t\t}\n\t\tcontext = context || document;\n\n\t\tif ( documentIsHTML ) {\n\n\t\t\t// If the selector is sufficiently simple, try using a \"get*By*\" DOM method\n\t\t\t// (excepting DocumentFragment context, where the methods don't exist)\n\t\t\tif ( nodeType !== 11 && (match = rquickExpr.exec( selector )) ) {\n\n\t\t\t\t// ID selector\n\t\t\t\tif ( (m = match[1]) ) {\n\n\t\t\t\t\t// Document context\n\t\t\t\t\tif ( nodeType === 9 ) {\n\t\t\t\t\t\tif ( (elem = context.getElementById( m )) ) {\n\n\t\t\t\t\t\t\t// Support: IE, Opera, Webkit\n\t\t\t\t\t\t\t// TODO: identify versions\n\t\t\t\t\t\t\t// getElementById can match elements by name instead of ID\n\t\t\t\t\t\t\tif ( elem.id === m ) {\n\t\t\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t// Element context\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\t// Support: IE, Opera, Webkit\n\t\t\t\t\t\t// TODO: identify versions\n\t\t\t\t\t\t// getElementById can match elements by name instead of ID\n\t\t\t\t\t\tif ( newContext && (elem = newContext.getElementById( m )) &&\n\t\t\t\t\t\t\tcontains( context, elem ) &&\n\t\t\t\t\t\t\telem.id === m ) {\n\n\t\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t// Type selector\n\t\t\t\t} else if ( match[2] ) {\n\t\t\t\t\tpush.apply( results, context.getElementsByTagName( selector ) );\n\t\t\t\t\treturn results;\n\n\t\t\t\t// Class selector\n\t\t\t\t} else if ( (m = match[3]) && support.getElementsByClassName &&\n\t\t\t\t\tcontext.getElementsByClassName ) {\n\n\t\t\t\t\tpush.apply( results, context.getElementsByClassName( m ) );\n\t\t\t\t\treturn results;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Take advantage of querySelectorAll\n\t\t\tif ( support.qsa &&\n\t\t\t\t!compilerCache[ selector + \" \" ] &&\n\t\t\t\t(!rbuggyQSA || !rbuggyQSA.test( selector )) ) {\n\n\t\t\t\tif ( nodeType !== 1 ) {\n\t\t\t\t\tnewContext = context;\n\t\t\t\t\tnewSelector = selector;\n\n\t\t\t\t// qSA looks outside Element context, which is not what we want\n\t\t\t\t// Thanks to Andrew Dupont for this workaround technique\n\t\t\t\t// Support: IE <=8\n\t\t\t\t// Exclude object elements\n\t\t\t\t} else if ( context.nodeName.toLowerCase() !== \"object\" ) {\n\n\t\t\t\t\t// Capture the context ID, setting it first if necessary\n\t\t\t\t\tif ( (nid = context.getAttribute( \"id\" )) ) {\n\t\t\t\t\t\tnid = nid.replace( rcssescape, fcssescape );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcontext.setAttribute( \"id\", (nid = expando) );\n\t\t\t\t\t}\n\n\t\t\t\t\t// Prefix every selector in the list\n\t\t\t\t\tgroups = tokenize( selector );\n\t\t\t\t\ti = groups.length;\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tgroups[i] = \"#\" + nid + \" \" + toSelector( groups[i] );\n\t\t\t\t\t}\n\t\t\t\t\tnewSelector = groups.join( \",\" );\n\n\t\t\t\t\t// Expand context for sibling selectors\n\t\t\t\t\tnewContext = rsibling.test( selector ) && testContext( context.parentNode ) ||\n\t\t\t\t\t\tcontext;\n\t\t\t\t}\n\n\t\t\t\tif ( newSelector ) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tpush.apply( results,\n\t\t\t\t\t\t\tnewContext.querySelectorAll( newSelector )\n\t\t\t\t\t\t);\n\t\t\t\t\t\treturn results;\n\t\t\t\t\t} catch ( qsaError ) {\n\t\t\t\t\t} finally {\n\t\t\t\t\t\tif ( nid === expando ) {\n\t\t\t\t\t\t\tcontext.removeAttribute( \"id\" );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// All others\n\treturn select( selector.replace( rtrim, \"$1\" ), context, results, seed );\n}\n\n/**\n * Create key-value caches of limited size\n * @returns {function(string, object)} Returns the Object data after storing it on itself with\n *\tproperty name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)\n *\tdeleting the oldest entry\n */\nfunction createCache() {\n\tvar keys = [];\n\n\tfunction cache( key, value ) {\n\t\t// Use (key + \" \") to avoid collision with native prototype properties (see Issue #157)\n\t\tif ( keys.push( key + \" \" ) > Expr.cacheLength ) {\n\t\t\t// Only keep the most recent entries\n\t\t\tdelete cache[ keys.shift() ];\n\t\t}\n\t\treturn (cache[ key + \" \" ] = value);\n\t}\n\treturn cache;\n}\n\n/**\n * Mark a function for special use by Sizzle\n * @param {Function} fn The function to mark\n */\nfunction markFunction( fn ) {\n\tfn[ expando ] = true;\n\treturn fn;\n}\n\n/**\n * Support testing using an element\n * @param {Function} fn Passed the created element and returns a boolean result\n */\nfunction assert( fn ) {\n\tvar el = document.createElement(\"fieldset\");\n\n\ttry {\n\t\treturn !!fn( el );\n\t} catch (e) {\n\t\treturn false;\n\t} finally {\n\t\t// Remove from its parent by default\n\t\tif ( el.parentNode ) {\n\t\t\tel.parentNode.removeChild( el );\n\t\t}\n\t\t// release memory in IE\n\t\tel = null;\n\t}\n}\n\n/**\n * Adds the same handler for all of the specified attrs\n * @param {String} attrs Pipe-separated list of attributes\n * @param {Function} handler The method that will be applied\n */\nfunction addHandle( attrs, handler ) {\n\tvar arr = attrs.split(\"|\"),\n\t\ti = arr.length;\n\n\twhile ( i-- ) {\n\t\tExpr.attrHandle[ arr[i] ] = handler;\n\t}\n}\n\n/**\n * Checks document order of two siblings\n * @param {Element} a\n * @param {Element} b\n * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b\n */\nfunction siblingCheck( a, b ) {\n\tvar cur = b && a,\n\t\tdiff = cur && a.nodeType === 1 && b.nodeType === 1 &&\n\t\t\ta.sourceIndex - b.sourceIndex;\n\n\t// Use IE sourceIndex if available on both nodes\n\tif ( diff ) {\n\t\treturn diff;\n\t}\n\n\t// Check if b follows a\n\tif ( cur ) {\n\t\twhile ( (cur = cur.nextSibling) ) {\n\t\t\tif ( cur === b ) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t}\n\t}\n\n\treturn a ? 1 : -1;\n}\n\n/**\n * Returns a function to use in pseudos for input types\n * @param {String} type\n */\nfunction createInputPseudo( type ) {\n\treturn function( elem ) {\n\t\tvar name = elem.nodeName.toLowerCase();\n\t\treturn name === \"input\" && elem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for buttons\n * @param {String} type\n */\nfunction createButtonPseudo( type ) {\n\treturn function( elem ) {\n\t\tvar name = elem.nodeName.toLowerCase();\n\t\treturn (name === \"input\" || name === \"button\") && elem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for :enabled/:disabled\n * @param {Boolean} disabled true for :disabled; false for :enabled\n */\nfunction createDisabledPseudo( disabled ) {\n\n\t// Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable\n\treturn function( elem ) {\n\n\t\t// Only certain elements can match :enabled or :disabled\n\t\t// https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled\n\t\t// https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled\n\t\tif ( \"form\" in elem ) {\n\n\t\t\t// Check for inherited disabledness on relevant non-disabled elements:\n\t\t\t// * listed form-associated elements in a disabled fieldset\n\t\t\t// https://html.spec.whatwg.org/multipage/forms.html#category-listed\n\t\t\t// https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled\n\t\t\t// * option elements in a disabled optgroup\n\t\t\t// https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled\n\t\t\t// All such elements have a \"form\" property.\n\t\t\tif ( elem.parentNode && elem.disabled === false ) {\n\n\t\t\t\t// Option elements defer to a parent optgroup if present\n\t\t\t\tif ( \"label\" in elem ) {\n\t\t\t\t\tif ( \"label\" in elem.parentNode ) {\n\t\t\t\t\t\treturn elem.parentNode.disabled === disabled;\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn elem.disabled === disabled;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Support: IE 6 - 11\n\t\t\t\t// Use the isDisabled shortcut property to check for disabled fieldset ancestors\n\t\t\t\treturn elem.isDisabled === disabled ||\n\n\t\t\t\t\t// Where there is no isDisabled, check manually\n\t\t\t\t\t/* jshint -W018 */\n\t\t\t\t\telem.isDisabled !== !disabled &&\n\t\t\t\t\t\tdisabledAncestor( elem ) === disabled;\n\t\t\t}\n\n\t\t\treturn elem.disabled === disabled;\n\n\t\t// Try to winnow out elements that can't be disabled before trusting the disabled property.\n\t\t// Some victims get caught in our net (label, legend, menu, track), but it shouldn't\n\t\t// even exist on them, let alone have a boolean value.\n\t\t} else if ( \"label\" in elem ) {\n\t\t\treturn elem.disabled === disabled;\n\t\t}\n\n\t\t// Remaining elements are neither :enabled nor :disabled\n\t\treturn false;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for positionals\n * @param {Function} fn\n */\nfunction createPositionalPseudo( fn ) {\n\treturn markFunction(function( argument ) {\n\t\targument = +argument;\n\t\treturn markFunction(function( seed, matches ) {\n\t\t\tvar j,\n\t\t\t\tmatchIndexes = fn( [], seed.length, argument ),\n\t\t\t\ti = matchIndexes.length;\n\n\t\t\t// Match elements found at the specified indexes\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( seed[ (j = matchIndexes[i]) ] ) {\n\t\t\t\t\tseed[j] = !(matches[j] = seed[j]);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t});\n}\n\n/**\n * Checks a node for validity as a Sizzle context\n * @param {Element|Object=} context\n * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value\n */\nfunction testContext( context ) {\n\treturn context && typeof context.getElementsByTagName !== \"undefined\" && context;\n}\n\n// Expose support vars for convenience\nsupport = Sizzle.support = {};\n\n/**\n * Detects XML nodes\n * @param {Element|Object} elem An element or a document\n * @returns {Boolean} True iff elem is a non-HTML XML node\n */\nisXML = Sizzle.isXML = function( elem ) {\n\t// documentElement is verified for cases where it doesn't yet exist\n\t// (such as loading iframes in IE - #4833)\n\tvar documentElement = elem && (elem.ownerDocument || elem).documentElement;\n\treturn documentElement ? documentElement.nodeName !== \"HTML\" : false;\n};\n\n/**\n * Sets document-related variables once based on the current document\n * @param {Element|Object} [doc] An element or document object to use to set the document\n * @returns {Object} Returns the current document\n */\nsetDocument = Sizzle.setDocument = function( node ) {\n\tvar hasCompare, subWindow,\n\t\tdoc = node ? node.ownerDocument || node : preferredDoc;\n\n\t// Return early if doc is invalid or already selected\n\tif ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) {\n\t\treturn document;\n\t}\n\n\t// Update global variables\n\tdocument = doc;\n\tdocElem = document.documentElement;\n\tdocumentIsHTML = !isXML( document );\n\n\t// Support: IE 9-11, Edge\n\t// Accessing iframe documents after unload throws \"permission denied\" errors (jQuery #13936)\n\tif ( preferredDoc !== document &&\n\t\t(subWindow = document.defaultView) && subWindow.top !== subWindow ) {\n\n\t\t// Support: IE 11, Edge\n\t\tif ( subWindow.addEventListener ) {\n\t\t\tsubWindow.addEventListener( \"unload\", unloadHandler, false );\n\n\t\t// Support: IE 9 - 10 only\n\t\t} else if ( subWindow.attachEvent ) {\n\t\t\tsubWindow.attachEvent( \"onunload\", unloadHandler );\n\t\t}\n\t}\n\n\t/* Attributes\n\t---------------------------------------------------------------------- */\n\n\t// Support: IE<8\n\t// Verify that getAttribute really returns attributes and not properties\n\t// (excepting IE8 booleans)\n\tsupport.attributes = assert(function( el ) {\n\t\tel.className = \"i\";\n\t\treturn !el.getAttribute(\"className\");\n\t});\n\n\t/* getElement(s)By*\n\t---------------------------------------------------------------------- */\n\n\t// Check if getElementsByTagName(\"*\") returns only elements\n\tsupport.getElementsByTagName = assert(function( el ) {\n\t\tel.appendChild( document.createComment(\"\") );\n\t\treturn !el.getElementsByTagName(\"*\").length;\n\t});\n\n\t// Support: IE<9\n\tsupport.getElementsByClassName = rnative.test( document.getElementsByClassName );\n\n\t// Support: IE<10\n\t// Check if getElementById returns elements by name\n\t// The broken getElementById methods don't pick up programmatically-set names,\n\t// so use a roundabout getElementsByName test\n\tsupport.getById = assert(function( el ) {\n\t\tdocElem.appendChild( el ).id = expando;\n\t\treturn !document.getElementsByName || !document.getElementsByName( expando ).length;\n\t});\n\n\t// ID filter and find\n\tif ( support.getById ) {\n\t\tExpr.filter[\"ID\"] = function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\treturn elem.getAttribute(\"id\") === attrId;\n\t\t\t};\n\t\t};\n\t\tExpr.find[\"ID\"] = function( id, context ) {\n\t\t\tif ( typeof context.getElementById !== \"undefined\" && documentIsHTML ) {\n\t\t\t\tvar elem = context.getElementById( id );\n\t\t\t\treturn elem ? [ elem ] : [];\n\t\t\t}\n\t\t};\n\t} else {\n\t\tExpr.filter[\"ID\"] = function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\tvar node = typeof elem.getAttributeNode !== \"undefined\" &&\n\t\t\t\t\telem.getAttributeNode(\"id\");\n\t\t\t\treturn node && node.value === attrId;\n\t\t\t};\n\t\t};\n\n\t\t// Support: IE 6 - 7 only\n\t\t// getElementById is not reliable as a find shortcut\n\t\tExpr.find[\"ID\"] = function( id, context ) {\n\t\t\tif ( typeof context.getElementById !== \"undefined\" && documentIsHTML ) {\n\t\t\t\tvar node, i, elems,\n\t\t\t\t\telem = context.getElementById( id );\n\n\t\t\t\tif ( elem ) {\n\n\t\t\t\t\t// Verify the id attribute\n\t\t\t\t\tnode = elem.getAttributeNode(\"id\");\n\t\t\t\t\tif ( node && node.value === id ) {\n\t\t\t\t\t\treturn [ elem ];\n\t\t\t\t\t}\n\n\t\t\t\t\t// Fall back on getElementsByName\n\t\t\t\t\telems = context.getElementsByName( id );\n\t\t\t\t\ti = 0;\n\t\t\t\t\twhile ( (elem = elems[i++]) ) {\n\t\t\t\t\t\tnode = elem.getAttributeNode(\"id\");\n\t\t\t\t\t\tif ( node && node.value === id ) {\n\t\t\t\t\t\t\treturn [ elem ];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn [];\n\t\t\t}\n\t\t};\n\t}\n\n\t// Tag\n\tExpr.find[\"TAG\"] = support.getElementsByTagName ?\n\t\tfunction( tag, context ) {\n\t\t\tif ( typeof context.getElementsByTagName !== \"undefined\" ) {\n\t\t\t\treturn context.getElementsByTagName( tag );\n\n\t\t\t// DocumentFragment nodes don't have gEBTN\n\t\t\t} else if ( support.qsa ) {\n\t\t\t\treturn context.querySelectorAll( tag );\n\t\t\t}\n\t\t} :\n\n\t\tfunction( tag, context ) {\n\t\t\tvar elem,\n\t\t\t\ttmp = [],\n\t\t\t\ti = 0,\n\t\t\t\t// By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too\n\t\t\t\tresults = context.getElementsByTagName( tag );\n\n\t\t\t// Filter out possible comments\n\t\t\tif ( tag === \"*\" ) {\n\t\t\t\twhile ( (elem = results[i++]) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 ) {\n\t\t\t\t\t\ttmp.push( elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn tmp;\n\t\t\t}\n\t\t\treturn results;\n\t\t};\n\n\t// Class\n\tExpr.find[\"CLASS\"] = support.getElementsByClassName && function( className, context ) {\n\t\tif ( typeof context.getElementsByClassName !== \"undefined\" && documentIsHTML ) {\n\t\t\treturn context.getElementsByClassName( className );\n\t\t}\n\t};\n\n\t/* QSA/matchesSelector\n\t---------------------------------------------------------------------- */\n\n\t// QSA and matchesSelector support\n\n\t// matchesSelector(:active) reports false when true (IE9/Opera 11.5)\n\trbuggyMatches = [];\n\n\t// qSa(:focus) reports false when true (Chrome 21)\n\t// We allow this because of a bug in IE8/9 that throws an error\n\t// whenever `document.activeElement` is accessed on an iframe\n\t// So, we allow :focus to pass through QSA all the time to avoid the IE error\n\t// See https://bugs.jquery.com/ticket/13378\n\trbuggyQSA = [];\n\n\tif ( (support.qsa = rnative.test( document.querySelectorAll )) ) {\n\t\t// Build QSA regex\n\t\t// Regex strategy adopted from Diego Perini\n\t\tassert(function( el ) {\n\t\t\t// Select is set to empty string on purpose\n\t\t\t// This is to test IE's treatment of not explicitly\n\t\t\t// setting a boolean content attribute,\n\t\t\t// since its presence should be enough\n\t\t\t// https://bugs.jquery.com/ticket/12359\n\t\t\tdocElem.appendChild( el ).innerHTML = \"<a id='\" + expando + \"'></a>\" +\n\t\t\t\t\"<select id='\" + expando + \"-\\r\\\\' msallowcapture=''>\" +\n\t\t\t\t\"<option selected=''></option></select>\";\n\n\t\t\t// Support: IE8, Opera 11-12.16\n\t\t\t// Nothing should be selected when empty strings follow ^= or $= or *=\n\t\t\t// The test attribute must be unknown in Opera but \"safe\" for WinRT\n\t\t\t// https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section\n\t\t\tif ( el.querySelectorAll(\"[msallowcapture^='']\").length ) {\n\t\t\t\trbuggyQSA.push( \"[*^$]=\" + whitespace + \"*(?:''|\\\"\\\")\" );\n\t\t\t}\n\n\t\t\t// Support: IE8\n\t\t\t// Boolean attributes and \"value\" are not treated correctly\n\t\t\tif ( !el.querySelectorAll(\"[selected]\").length ) {\n\t\t\t\trbuggyQSA.push( \"\\\\[\" + whitespace + \"*(?:value|\" + booleans + \")\" );\n\t\t\t}\n\n\t\t\t// Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+\n\t\t\tif ( !el.querySelectorAll( \"[id~=\" + expando + \"-]\" ).length ) {\n\t\t\t\trbuggyQSA.push(\"~=\");\n\t\t\t}\n\n\t\t\t// Webkit/Opera - :checked should return selected option elements\n\t\t\t// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked\n\t\t\t// IE8 throws error here and will not see later tests\n\t\t\tif ( !el.querySelectorAll(\":checked\").length ) {\n\t\t\t\trbuggyQSA.push(\":checked\");\n\t\t\t}\n\n\t\t\t// Support: Safari 8+, iOS 8+\n\t\t\t// https://bugs.webkit.org/show_bug.cgi?id=136851\n\t\t\t// In-page `selector#id sibling-combinator selector` fails\n\t\t\tif ( !el.querySelectorAll( \"a#\" + expando + \"+*\" ).length ) {\n\t\t\t\trbuggyQSA.push(\".#.+[+~]\");\n\t\t\t}\n\t\t});\n\n\t\tassert(function( el ) {\n\t\t\tel.innerHTML = \"<a href='' disabled='disabled'></a>\" +\n\t\t\t\t\"<select disabled='disabled'><option/></select>\";\n\n\t\t\t// Support: Windows 8 Native Apps\n\t\t\t// The type and name attributes are restricted during .innerHTML assignment\n\t\t\tvar input = document.createElement(\"input\");\n\t\t\tinput.setAttribute( \"type\", \"hidden\" );\n\t\t\tel.appendChild( input ).setAttribute( \"name\", \"D\" );\n\n\t\t\t// Support: IE8\n\t\t\t// Enforce case-sensitivity of name attribute\n\t\t\tif ( el.querySelectorAll(\"[name=d]\").length ) {\n\t\t\t\trbuggyQSA.push( \"name\" + whitespace + \"*[*^$|!~]?=\" );\n\t\t\t}\n\n\t\t\t// FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled)\n\t\t\t// IE8 throws error here and will not see later tests\n\t\t\tif ( el.querySelectorAll(\":enabled\").length !== 2 ) {\n\t\t\t\trbuggyQSA.push( \":enabled\", \":disabled\" );\n\t\t\t}\n\n\t\t\t// Support: IE9-11+\n\t\t\t// IE's :disabled selector does not pick up the children of disabled fieldsets\n\t\t\tdocElem.appendChild( el ).disabled = true;\n\t\t\tif ( el.querySelectorAll(\":disabled\").length !== 2 ) {\n\t\t\t\trbuggyQSA.push( \":enabled\", \":disabled\" );\n\t\t\t}\n\n\t\t\t// Opera 10-11 does not throw on post-comma invalid pseudos\n\t\t\tel.querySelectorAll(\"*,:x\");\n\t\t\trbuggyQSA.push(\",.*:\");\n\t\t});\n\t}\n\n\tif ( (support.matchesSelector = rnative.test( (matches = docElem.matches ||\n\t\tdocElem.webkitMatchesSelector ||\n\t\tdocElem.mozMatchesSelector ||\n\t\tdocElem.oMatchesSelector ||\n\t\tdocElem.msMatchesSelector) )) ) {\n\n\t\tassert(function( el ) {\n\t\t\t// Check to see if it's possible to do matchesSelector\n\t\t\t// on a disconnected node (IE 9)\n\t\t\tsupport.disconnectedMatch = matches.call( el, \"*\" );\n\n\t\t\t// This should fail with an exception\n\t\t\t// Gecko does not error, returns false instead\n\t\t\tmatches.call( el, \"[s!='']:x\" );\n\t\t\trbuggyMatches.push( \"!=\", pseudos );\n\t\t});\n\t}\n\n\trbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join(\"|\") );\n\trbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join(\"|\") );\n\n\t/* Contains\n\t---------------------------------------------------------------------- */\n\thasCompare = rnative.test( docElem.compareDocumentPosition );\n\n\t// Element contains another\n\t// Purposefully self-exclusive\n\t// As in, an element does not contain itself\n\tcontains = hasCompare || rnative.test( docElem.contains ) ?\n\t\tfunction( a, b ) {\n\t\t\tvar adown = a.nodeType === 9 ? a.documentElement : a,\n\t\t\t\tbup = b && b.parentNode;\n\t\t\treturn a === bup || !!( bup && bup.nodeType === 1 && (\n\t\t\t\tadown.contains ?\n\t\t\t\t\tadown.contains( bup ) :\n\t\t\t\t\ta.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16\n\t\t\t));\n\t\t} :\n\t\tfunction( a, b ) {\n\t\t\tif ( b ) {\n\t\t\t\twhile ( (b = b.parentNode) ) {\n\t\t\t\t\tif ( b === a ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n\n\t/* Sorting\n\t---------------------------------------------------------------------- */\n\n\t// Document order sorting\n\tsortOrder = hasCompare ?\n\tfunction( a, b ) {\n\n\t\t// Flag for duplicate removal\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t\treturn 0;\n\t\t}\n\n\t\t// Sort on method existence if only one input has compareDocumentPosition\n\t\tvar compare = !a.compareDocumentPosition - !b.compareDocumentPosition;\n\t\tif ( compare ) {\n\t\t\treturn compare;\n\t\t}\n\n\t\t// Calculate position if both inputs belong to the same document\n\t\tcompare = ( a.ownerDocument || a ) === ( b.ownerDocument || b ) ?\n\t\t\ta.compareDocumentPosition( b ) :\n\n\t\t\t// Otherwise we know they are disconnected\n\t\t\t1;\n\n\t\t// Disconnected nodes\n\t\tif ( compare & 1 ||\n\t\t\t(!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) {\n\n\t\t\t// Choose the first element that is related to our preferred document\n\t\t\tif ( a === document || a.ownerDocument === preferredDoc && contains(preferredDoc, a) ) {\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t\tif ( b === document || b.ownerDocument === preferredDoc && contains(preferredDoc, b) ) {\n\t\t\t\treturn 1;\n\t\t\t}\n\n\t\t\t// Maintain original order\n\t\t\treturn sortInput ?\n\t\t\t\t( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :\n\t\t\t\t0;\n\t\t}\n\n\t\treturn compare & 4 ? -1 : 1;\n\t} :\n\tfunction( a, b ) {\n\t\t// Exit early if the nodes are identical\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t\treturn 0;\n\t\t}\n\n\t\tvar cur,\n\t\t\ti = 0,\n\t\t\taup = a.parentNode,\n\t\t\tbup = b.parentNode,\n\t\t\tap = [ a ],\n\t\t\tbp = [ b ];\n\n\t\t// Parentless nodes are either documents or disconnected\n\t\tif ( !aup || !bup ) {\n\t\t\treturn a === document ? -1 :\n\t\t\t\tb === document ? 1 :\n\t\t\t\taup ? -1 :\n\t\t\t\tbup ? 1 :\n\t\t\t\tsortInput ?\n\t\t\t\t( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) :\n\t\t\t\t0;\n\n\t\t// If the nodes are siblings, we can do a quick check\n\t\t} else if ( aup === bup ) {\n\t\t\treturn siblingCheck( a, b );\n\t\t}\n\n\t\t// Otherwise we need full lists of their ancestors for comparison\n\t\tcur = a;\n\t\twhile ( (cur = cur.parentNode) ) {\n\t\t\tap.unshift( cur );\n\t\t}\n\t\tcur = b;\n\t\twhile ( (cur = cur.parentNode) ) {\n\t\t\tbp.unshift( cur );\n\t\t}\n\n\t\t// Walk down the tree looking for a discrepancy\n\t\twhile ( ap[i] === bp[i] ) {\n\t\t\ti++;\n\t\t}\n\n\t\treturn i ?\n\t\t\t// Do a sibling check if the nodes have a common ancestor\n\t\t\tsiblingCheck( ap[i], bp[i] ) :\n\n\t\t\t// Otherwise nodes in our document sort first\n\t\t\tap[i] === preferredDoc ? -1 :\n\t\t\tbp[i] === preferredDoc ? 1 :\n\t\t\t0;\n\t};\n\n\treturn document;\n};\n\nSizzle.matches = function( expr, elements ) {\n\treturn Sizzle( expr, null, null, elements );\n};\n\nSizzle.matchesSelector = function( elem, expr ) {\n\t// Set document vars if needed\n\tif ( ( elem.ownerDocument || elem ) !== document ) {\n\t\tsetDocument( elem );\n\t}\n\n\t// Make sure that attribute selectors are quoted\n\texpr = expr.replace( rattributeQuotes, \"='$1']\" );\n\n\tif ( support.matchesSelector && documentIsHTML &&\n\t\t!compilerCache[ expr + \" \" ] &&\n\t\t( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&\n\t\t( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) {\n\n\t\ttry {\n\t\t\tvar ret = matches.call( elem, expr );\n\n\t\t\t// IE 9's matchesSelector returns false on disconnected nodes\n\t\t\tif ( ret || support.disconnectedMatch ||\n\t\t\t\t\t// As well, disconnected nodes are said to be in a document\n\t\t\t\t\t// fragment in IE 9\n\t\t\t\t\telem.document && elem.document.nodeType !== 11 ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\t\t} catch (e) {}\n\t}\n\n\treturn Sizzle( expr, document, null, [ elem ] ).length > 0;\n};\n\nSizzle.contains = function( context, elem ) {\n\t// Set document vars if needed\n\tif ( ( context.ownerDocument || context ) !== document ) {\n\t\tsetDocument( context );\n\t}\n\treturn contains( context, elem );\n};\n\nSizzle.attr = function( elem, name ) {\n\t// Set document vars if needed\n\tif ( ( elem.ownerDocument || elem ) !== document ) {\n\t\tsetDocument( elem );\n\t}\n\n\tvar fn = Expr.attrHandle[ name.toLowerCase() ],\n\t\t// Don't get fooled by Object.prototype properties (jQuery #13807)\n\t\tval = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ?\n\t\t\tfn( elem, name, !documentIsHTML ) :\n\t\t\tundefined;\n\n\treturn val !== undefined ?\n\t\tval :\n\t\tsupport.attributes || !documentIsHTML ?\n\t\t\telem.getAttribute( name ) :\n\t\t\t(val = elem.getAttributeNode(name)) && val.specified ?\n\t\t\t\tval.value :\n\t\t\t\tnull;\n};\n\nSizzle.escape = function( sel ) {\n\treturn (sel + \"\").replace( rcssescape, fcssescape );\n};\n\nSizzle.error = function( msg ) {\n\tthrow new Error( \"Syntax error, unrecognized expression: \" + msg );\n};\n\n/**\n * Document sorting and removing duplicates\n * @param {ArrayLike} results\n */\nSizzle.uniqueSort = function( results ) {\n\tvar elem,\n\t\tduplicates = [],\n\t\tj = 0,\n\t\ti = 0;\n\n\t// Unless we *know* we can detect duplicates, assume their presence\n\thasDuplicate = !support.detectDuplicates;\n\tsortInput = !support.sortStable && results.slice( 0 );\n\tresults.sort( sortOrder );\n\n\tif ( hasDuplicate ) {\n\t\twhile ( (elem = results[i++]) ) {\n\t\t\tif ( elem === results[ i ] ) {\n\t\t\t\tj = duplicates.push( i );\n\t\t\t}\n\t\t}\n\t\twhile ( j-- ) {\n\t\t\tresults.splice( duplicates[ j ], 1 );\n\t\t}\n\t}\n\n\t// Clear input after sorting to release objects\n\t// See https://github.com/jquery/sizzle/pull/225\n\tsortInput = null;\n\n\treturn results;\n};\n\n/**\n * Utility function for retrieving the text value of an array of DOM nodes\n * @param {Array|Element} elem\n */\ngetText = Sizzle.getText = function( elem ) {\n\tvar node,\n\t\tret = \"\",\n\t\ti = 0,\n\t\tnodeType = elem.nodeType;\n\n\tif ( !nodeType ) {\n\t\t// If no nodeType, this is expected to be an array\n\t\twhile ( (node = elem[i++]) ) {\n\t\t\t// Do not traverse comment nodes\n\t\t\tret += getText( node );\n\t\t}\n\t} else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) {\n\t\t// Use textContent for elements\n\t\t// innerText usage removed for consistency of new lines (jQuery #11153)\n\t\tif ( typeof elem.textContent === \"string\" ) {\n\t\t\treturn elem.textContent;\n\t\t} else {\n\t\t\t// Traverse its children\n\t\t\tfor ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {\n\t\t\t\tret += getText( elem );\n\t\t\t}\n\t\t}\n\t} else if ( nodeType === 3 || nodeType === 4 ) {\n\t\treturn elem.nodeValue;\n\t}\n\t// Do not include comment or processing instruction nodes\n\n\treturn ret;\n};\n\nExpr = Sizzle.selectors = {\n\n\t// Can be adjusted by the user\n\tcacheLength: 50,\n\n\tcreatePseudo: markFunction,\n\n\tmatch: matchExpr,\n\n\tattrHandle: {},\n\n\tfind: {},\n\n\trelative: {\n\t\t\">\": { dir: \"parentNode\", first: true },\n\t\t\" \": { dir: \"parentNode\" },\n\t\t\"+\": { dir: \"previousSibling\", first: true },\n\t\t\"~\": { dir: \"previousSibling\" }\n\t},\n\n\tpreFilter: {\n\t\t\"ATTR\": function( match ) {\n\t\t\tmatch[1] = match[1].replace( runescape, funescape );\n\n\t\t\t// Move the given value to match[3] whether quoted or unquoted\n\t\t\tmatch[3] = ( match[3] || match[4] || match[5] || \"\" ).replace( runescape, funescape );\n\n\t\t\tif ( match[2] === \"~=\" ) {\n\t\t\t\tmatch[3] = \" \" + match[3] + \" \";\n\t\t\t}\n\n\t\t\treturn match.slice( 0, 4 );\n\t\t},\n\n\t\t\"CHILD\": function( match ) {\n\t\t\t/* matches from matchExpr[\"CHILD\"]\n\t\t\t\t1 type (only|nth|...)\n\t\t\t\t2 what (child|of-type)\n\t\t\t\t3 argument (even|odd|\\d*|\\d*n([+-]\\d+)?|...)\n\t\t\t\t4 xn-component of xn+y argument ([+-]?\\d*n|)\n\t\t\t\t5 sign of xn-component\n\t\t\t\t6 x of xn-component\n\t\t\t\t7 sign of y-component\n\t\t\t\t8 y of y-component\n\t\t\t*/\n\t\t\tmatch[1] = match[1].toLowerCase();\n\n\t\t\tif ( match[1].slice( 0, 3 ) === \"nth\" ) {\n\t\t\t\t// nth-* requires argument\n\t\t\t\tif ( !match[3] ) {\n\t\t\t\t\tSizzle.error( match[0] );\n\t\t\t\t}\n\n\t\t\t\t// numeric x and y parameters for Expr.filter.CHILD\n\t\t\t\t// remember that false/true cast respectively to 0/1\n\t\t\t\tmatch[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === \"even\" || match[3] === \"odd\" ) );\n\t\t\t\tmatch[5] = +( ( match[7] + match[8] ) || match[3] === \"odd\" );\n\n\t\t\t// other types prohibit arguments\n\t\t\t} else if ( match[3] ) {\n\t\t\t\tSizzle.error( match[0] );\n\t\t\t}\n\n\t\t\treturn match;\n\t\t},\n\n\t\t\"PSEUDO\": function( match ) {\n\t\t\tvar excess,\n\t\t\t\tunquoted = !match[6] && match[2];\n\n\t\t\tif ( matchExpr[\"CHILD\"].test( match[0] ) ) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\t// Accept quoted arguments as-is\n\t\t\tif ( match[3] ) {\n\t\t\t\tmatch[2] = match[4] || match[5] || \"\";\n\n\t\t\t// Strip excess characters from unquoted arguments\n\t\t\t} else if ( unquoted && rpseudo.test( unquoted ) &&\n\t\t\t\t// Get excess from tokenize (recursively)\n\t\t\t\t(excess = tokenize( unquoted, true )) &&\n\t\t\t\t// advance to the next closing parenthesis\n\t\t\t\t(excess = unquoted.indexOf( \")\", unquoted.length - excess ) - unquoted.length) ) {\n\n\t\t\t\t// excess is a negative index\n\t\t\t\tmatch[0] = match[0].slice( 0, excess );\n\t\t\t\tmatch[2] = unquoted.slice( 0, excess );\n\t\t\t}\n\n\t\t\t// Return only captures needed by the pseudo filter method (type and argument)\n\t\t\treturn match.slice( 0, 3 );\n\t\t}\n\t},\n\n\tfilter: {\n\n\t\t\"TAG\": function( nodeNameSelector ) {\n\t\t\tvar nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase();\n\t\t\treturn nodeNameSelector === \"*\" ?\n\t\t\t\tfunction() { return true; } :\n\t\t\t\tfunction( elem ) {\n\t\t\t\t\treturn elem.nodeName && elem.nodeName.toLowerCase() === nodeName;\n\t\t\t\t};\n\t\t},\n\n\t\t\"CLASS\": function( className ) {\n\t\t\tvar pattern = classCache[ className + \" \" ];\n\n\t\t\treturn pattern ||\n\t\t\t\t(pattern = new RegExp( \"(^|\" + whitespace + \")\" + className + \"(\" + whitespace + \"|$)\" )) &&\n\t\t\t\tclassCache( className, function( elem ) {\n\t\t\t\t\treturn pattern.test( typeof elem.className === \"string\" && elem.className || typeof elem.getAttribute !== \"undefined\" && elem.getAttribute(\"class\") || \"\" );\n\t\t\t\t});\n\t\t},\n\n\t\t\"ATTR\": function( name, operator, check ) {\n\t\t\treturn function( elem ) {\n\t\t\t\tvar result = Sizzle.attr( elem, name );\n\n\t\t\t\tif ( result == null ) {\n\t\t\t\t\treturn operator === \"!=\";\n\t\t\t\t}\n\t\t\t\tif ( !operator ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\tresult += \"\";\n\n\t\t\t\treturn operator === \"=\" ? result === check :\n\t\t\t\t\toperator === \"!=\" ? result !== check :\n\t\t\t\t\toperator === \"^=\" ? check && result.indexOf( check ) === 0 :\n\t\t\t\t\toperator === \"*=\" ? check && result.indexOf( check ) > -1 :\n\t\t\t\t\toperator === \"$=\" ? check && result.slice( -check.length ) === check :\n\t\t\t\t\toperator === \"~=\" ? ( \" \" + result.replace( rwhitespace, \" \" ) + \" \" ).indexOf( check ) > -1 :\n\t\t\t\t\toperator === \"|=\" ? result === check || result.slice( 0, check.length + 1 ) === check + \"-\" :\n\t\t\t\t\tfalse;\n\t\t\t};\n\t\t},\n\n\t\t\"CHILD\": function( type, what, argument, first, last ) {\n\t\t\tvar simple = type.slice( 0, 3 ) !== \"nth\",\n\t\t\t\tforward = type.slice( -4 ) !== \"last\",\n\t\t\t\tofType = what === \"of-type\";\n\n\t\t\treturn first === 1 && last === 0 ?\n\n\t\t\t\t// Shortcut for :nth-*(n)\n\t\t\t\tfunction( elem ) {\n\t\t\t\t\treturn !!elem.parentNode;\n\t\t\t\t} :\n\n\t\t\t\tfunction( elem, context, xml ) {\n\t\t\t\t\tvar cache, uniqueCache, outerCache, node, nodeIndex, start,\n\t\t\t\t\t\tdir = simple !== forward ? \"nextSibling\" : \"previousSibling\",\n\t\t\t\t\t\tparent = elem.parentNode,\n\t\t\t\t\t\tname = ofType && elem.nodeName.toLowerCase(),\n\t\t\t\t\t\tuseCache = !xml && !ofType,\n\t\t\t\t\t\tdiff = false;\n\n\t\t\t\t\tif ( parent ) {\n\n\t\t\t\t\t\t// :(first|last|only)-(child|of-type)\n\t\t\t\t\t\tif ( simple ) {\n\t\t\t\t\t\t\twhile ( dir ) {\n\t\t\t\t\t\t\t\tnode = elem;\n\t\t\t\t\t\t\t\twhile ( (node = node[ dir ]) ) {\n\t\t\t\t\t\t\t\t\tif ( ofType ?\n\t\t\t\t\t\t\t\t\t\tnode.nodeName.toLowerCase() === name :\n\t\t\t\t\t\t\t\t\t\tnode.nodeType === 1 ) {\n\n\t\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t// Reverse direction for :only-* (if we haven't yet done so)\n\t\t\t\t\t\t\t\tstart = dir = type === \"only\" && !start && \"nextSibling\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tstart = [ forward ? parent.firstChild : parent.lastChild ];\n\n\t\t\t\t\t\t// non-xml :nth-child(...) stores cache data on `parent`\n\t\t\t\t\t\tif ( forward && useCache ) {\n\n\t\t\t\t\t\t\t// Seek `elem` from a previously-cached index\n\n\t\t\t\t\t\t\t// ...in a gzip-friendly way\n\t\t\t\t\t\t\tnode = parent;\n\t\t\t\t\t\t\touterCache = node[ expando ] || (node[ expando ] = {});\n\n\t\t\t\t\t\t\t// Support: IE <9 only\n\t\t\t\t\t\t\t// Defend against cloned attroperties (jQuery gh-1709)\n\t\t\t\t\t\t\tuniqueCache = outerCache[ node.uniqueID ] ||\n\t\t\t\t\t\t\t\t(outerCache[ node.uniqueID ] = {});\n\n\t\t\t\t\t\t\tcache = uniqueCache[ type ] || [];\n\t\t\t\t\t\t\tnodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];\n\t\t\t\t\t\t\tdiff = nodeIndex && cache[ 2 ];\n\t\t\t\t\t\t\tnode = nodeIndex && parent.childNodes[ nodeIndex ];\n\n\t\t\t\t\t\t\twhile ( (node = ++nodeIndex && node && node[ dir ] ||\n\n\t\t\t\t\t\t\t\t// Fallback to seeking `elem` from the start\n\t\t\t\t\t\t\t\t(diff = nodeIndex = 0) || start.pop()) ) {\n\n\t\t\t\t\t\t\t\t// When found, cache indexes on `parent` and break\n\t\t\t\t\t\t\t\tif ( node.nodeType === 1 && ++diff && node === elem ) {\n\t\t\t\t\t\t\t\t\tuniqueCache[ type ] = [ dirruns, nodeIndex, diff ];\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// Use previously-cached element index if available\n\t\t\t\t\t\t\tif ( useCache ) {\n\t\t\t\t\t\t\t\t// ...in a gzip-friendly way\n\t\t\t\t\t\t\t\tnode = elem;\n\t\t\t\t\t\t\t\touterCache = node[ expando ] || (node[ expando ] = {});\n\n\t\t\t\t\t\t\t\t// Support: IE <9 only\n\t\t\t\t\t\t\t\t// Defend against cloned attroperties (jQuery gh-1709)\n\t\t\t\t\t\t\t\tuniqueCache = outerCache[ node.uniqueID ] ||\n\t\t\t\t\t\t\t\t\t(outerCache[ node.uniqueID ] = {});\n\n\t\t\t\t\t\t\t\tcache = uniqueCache[ type ] || [];\n\t\t\t\t\t\t\t\tnodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];\n\t\t\t\t\t\t\t\tdiff = nodeIndex;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// xml :nth-child(...)\n\t\t\t\t\t\t\t// or :nth-last-child(...) or :nth(-last)?-of-type(...)\n\t\t\t\t\t\t\tif ( diff === false ) {\n\t\t\t\t\t\t\t\t// Use the same loop as above to seek `elem` from the start\n\t\t\t\t\t\t\t\twhile ( (node = ++nodeIndex && node && node[ dir ] ||\n\t\t\t\t\t\t\t\t\t(diff = nodeIndex = 0) || start.pop()) ) {\n\n\t\t\t\t\t\t\t\t\tif ( ( ofType ?\n\t\t\t\t\t\t\t\t\t\tnode.nodeName.toLowerCase() === name :\n\t\t\t\t\t\t\t\t\t\tnode.nodeType === 1 ) &&\n\t\t\t\t\t\t\t\t\t\t++diff ) {\n\n\t\t\t\t\t\t\t\t\t\t// Cache the index of each encountered element\n\t\t\t\t\t\t\t\t\t\tif ( useCache ) {\n\t\t\t\t\t\t\t\t\t\t\touterCache = node[ expando ] || (node[ expando ] = {});\n\n\t\t\t\t\t\t\t\t\t\t\t// Support: IE <9 only\n\t\t\t\t\t\t\t\t\t\t\t// Defend against cloned attroperties (jQuery gh-1709)\n\t\t\t\t\t\t\t\t\t\t\tuniqueCache = outerCache[ node.uniqueID ] ||\n\t\t\t\t\t\t\t\t\t\t\t\t(outerCache[ node.uniqueID ] = {});\n\n\t\t\t\t\t\t\t\t\t\t\tuniqueCache[ type ] = [ dirruns, diff ];\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\tif ( node === elem ) {\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Incorporate the offset, then check against cycle size\n\t\t\t\t\t\tdiff -= last;\n\t\t\t\t\t\treturn diff === first || ( diff % first === 0 && diff / first >= 0 );\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t},\n\n\t\t\"PSEUDO\": function( pseudo, argument ) {\n\t\t\t// pseudo-class names are case-insensitive\n\t\t\t// http://www.w3.org/TR/selectors/#pseudo-classes\n\t\t\t// Prioritize by case sensitivity in case custom pseudos are added with uppercase letters\n\t\t\t// Remember that setFilters inherits from pseudos\n\t\t\tvar args,\n\t\t\t\tfn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] ||\n\t\t\t\t\tSizzle.error( \"unsupported pseudo: \" + pseudo );\n\n\t\t\t// The user may use createPseudo to indicate that\n\t\t\t// arguments are needed to create the filter function\n\t\t\t// just as Sizzle does\n\t\t\tif ( fn[ expando ] ) {\n\t\t\t\treturn fn( argument );\n\t\t\t}\n\n\t\t\t// But maintain support for old signatures\n\t\t\tif ( fn.length > 1 ) {\n\t\t\t\targs = [ pseudo, pseudo, \"\", argument ];\n\t\t\t\treturn Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ?\n\t\t\t\t\tmarkFunction(function( seed, matches ) {\n\t\t\t\t\t\tvar idx,\n\t\t\t\t\t\t\tmatched = fn( seed, argument ),\n\t\t\t\t\t\t\ti = matched.length;\n\t\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\t\tidx = indexOf( seed, matched[i] );\n\t\t\t\t\t\t\tseed[ idx ] = !( matches[ idx ] = matched[i] );\n\t\t\t\t\t\t}\n\t\t\t\t\t}) :\n\t\t\t\t\tfunction( elem ) {\n\t\t\t\t\t\treturn fn( elem, 0, args );\n\t\t\t\t\t};\n\t\t\t}\n\n\t\t\treturn fn;\n\t\t}\n\t},\n\n\tpseudos: {\n\t\t// Potentially complex pseudos\n\t\t\"not\": markFunction(function( selector ) {\n\t\t\t// Trim the selector passed to compile\n\t\t\t// to avoid treating leading and trailing\n\t\t\t// spaces as combinators\n\t\t\tvar input = [],\n\t\t\t\tresults = [],\n\t\t\t\tmatcher = compile( selector.replace( rtrim, \"$1\" ) );\n\n\t\t\treturn matcher[ expando ] ?\n\t\t\t\tmarkFunction(function( seed, matches, context, xml ) {\n\t\t\t\t\tvar elem,\n\t\t\t\t\t\tunmatched = matcher( seed, null, xml, [] ),\n\t\t\t\t\t\ti = seed.length;\n\n\t\t\t\t\t// Match elements unmatched by `matcher`\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tif ( (elem = unmatched[i]) ) {\n\t\t\t\t\t\t\tseed[i] = !(matches[i] = elem);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}) :\n\t\t\t\tfunction( elem, context, xml ) {\n\t\t\t\t\tinput[0] = elem;\n\t\t\t\t\tmatcher( input, null, xml, results );\n\t\t\t\t\t// Don't keep the element (issue #299)\n\t\t\t\t\tinput[0] = null;\n\t\t\t\t\treturn !results.pop();\n\t\t\t\t};\n\t\t}),\n\n\t\t\"has\": markFunction(function( selector ) {\n\t\t\treturn function( elem ) {\n\t\t\t\treturn Sizzle( selector, elem ).length > 0;\n\t\t\t};\n\t\t}),\n\n\t\t\"contains\": markFunction(function( text ) {\n\t\t\ttext = text.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\treturn ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1;\n\t\t\t};\n\t\t}),\n\n\t\t// \"Whether an element is represented by a :lang() selector\n\t\t// is based solely on the element's language value\n\t\t// being equal to the identifier C,\n\t\t// or beginning with the identifier C immediately followed by \"-\".\n\t\t// The matching of C against the element's language value is performed case-insensitively.\n\t\t// The identifier C does not have to be a valid language name.\"\n\t\t// http://www.w3.org/TR/selectors/#lang-pseudo\n\t\t\"lang\": markFunction( function( lang ) {\n\t\t\t// lang value must be a valid identifier\n\t\t\tif ( !ridentifier.test(lang || \"\") ) {\n\t\t\t\tSizzle.error( \"unsupported lang: \" + lang );\n\t\t\t}\n\t\t\tlang = lang.replace( runescape, funescape ).toLowerCase();\n\t\t\treturn function( elem ) {\n\t\t\t\tvar elemLang;\n\t\t\t\tdo {\n\t\t\t\t\tif ( (elemLang = documentIsHTML ?\n\t\t\t\t\t\telem.lang :\n\t\t\t\t\t\telem.getAttribute(\"xml:lang\") || elem.getAttribute(\"lang\")) ) {\n\n\t\t\t\t\t\telemLang = elemLang.toLowerCase();\n\t\t\t\t\t\treturn elemLang === lang || elemLang.indexOf( lang + \"-\" ) === 0;\n\t\t\t\t\t}\n\t\t\t\t} while ( (elem = elem.parentNode) && elem.nodeType === 1 );\n\t\t\t\treturn false;\n\t\t\t};\n\t\t}),\n\n\t\t// Miscellaneous\n\t\t\"target\": function( elem ) {\n\t\t\tvar hash = window.location && window.location.hash;\n\t\t\treturn hash && hash.slice( 1 ) === elem.id;\n\t\t},\n\n\t\t\"root\": function( elem ) {\n\t\t\treturn elem === docElem;\n\t\t},\n\n\t\t\"focus\": function( elem ) {\n\t\t\treturn elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex);\n\t\t},\n\n\t\t// Boolean properties\n\t\t\"enabled\": createDisabledPseudo( false ),\n\t\t\"disabled\": createDisabledPseudo( true ),\n\n\t\t\"checked\": function( elem ) {\n\t\t\t// In CSS3, :checked should return both checked and selected elements\n\t\t\t// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked\n\t\t\tvar nodeName = elem.nodeName.toLowerCase();\n\t\t\treturn (nodeName === \"input\" && !!elem.checked) || (nodeName === \"option\" && !!elem.selected);\n\t\t},\n\n\t\t\"selected\": function( elem ) {\n\t\t\t// Accessing this property makes selected-by-default\n\t\t\t// options in Safari work properly\n\t\t\tif ( elem.parentNode ) {\n\t\t\t\telem.parentNode.selectedIndex;\n\t\t\t}\n\n\t\t\treturn elem.selected === true;\n\t\t},\n\n\t\t// Contents\n\t\t\"empty\": function( elem ) {\n\t\t\t// http://www.w3.org/TR/selectors/#empty-pseudo\n\t\t\t// :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),\n\t\t\t// but not by others (comment: 8; processing instruction: 7; etc.)\n\t\t\t// nodeType < 6 works because attributes (2) do not appear as children\n\t\t\tfor ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {\n\t\t\t\tif ( elem.nodeType < 6 ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t},\n\n\t\t\"parent\": function( elem ) {\n\t\t\treturn !Expr.pseudos[\"empty\"]( elem );\n\t\t},\n\n\t\t// Element/input types\n\t\t\"header\": function( elem ) {\n\t\t\treturn rheader.test( elem.nodeName );\n\t\t},\n\n\t\t\"input\": function( elem ) {\n\t\t\treturn rinputs.test( elem.nodeName );\n\t\t},\n\n\t\t\"button\": function( elem ) {\n\t\t\tvar name = elem.nodeName.toLowerCase();\n\t\t\treturn name === \"input\" && elem.type === \"button\" || name === \"button\";\n\t\t},\n\n\t\t\"text\": function( elem ) {\n\t\t\tvar attr;\n\t\t\treturn elem.nodeName.toLowerCase() === \"input\" &&\n\t\t\t\telem.type === \"text\" &&\n\n\t\t\t\t// Support: IE<8\n\t\t\t\t// New HTML5 attribute values (e.g., \"search\") appear with elem.type === \"text\"\n\t\t\t\t( (attr = elem.getAttribute(\"type\")) == null || attr.toLowerCase() === \"text\" );\n\t\t},\n\n\t\t// Position-in-collection\n\t\t\"first\": createPositionalPseudo(function() {\n\t\t\treturn [ 0 ];\n\t\t}),\n\n\t\t\"last\": createPositionalPseudo(function( matchIndexes, length ) {\n\t\t\treturn [ length - 1 ];\n\t\t}),\n\n\t\t\"eq\": createPositionalPseudo(function( matchIndexes, length, argument ) {\n\t\t\treturn [ argument < 0 ? argument + length : argument ];\n\t\t}),\n\n\t\t\"even\": createPositionalPseudo(function( matchIndexes, length ) {\n\t\t\tvar i = 0;\n\t\t\tfor ( ; i < length; i += 2 ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t}),\n\n\t\t\"odd\": createPositionalPseudo(function( matchIndexes, length ) {\n\t\t\tvar i = 1;\n\t\t\tfor ( ; i < length; i += 2 ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t}),\n\n\t\t\"lt\": createPositionalPseudo(function( matchIndexes, length, argument ) {\n\t\t\tvar i = argument < 0 ? argument + length : argument;\n\t\t\tfor ( ; --i >= 0; ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t}),\n\n\t\t\"gt\": createPositionalPseudo(function( matchIndexes, length, argument ) {\n\t\t\tvar i = argument < 0 ? argument + length : argument;\n\t\t\tfor ( ; ++i < length; ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t})\n\t}\n};\n\nExpr.pseudos[\"nth\"] = Expr.pseudos[\"eq\"];\n\n// Add button/input type pseudos\nfor ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) {\n\tExpr.pseudos[ i ] = createInputPseudo( i );\n}\nfor ( i in { submit: true, reset: true } ) {\n\tExpr.pseudos[ i ] = createButtonPseudo( i );\n}\n\n// Easy API for creating new setFilters\nfunction setFilters() {}\nsetFilters.prototype = Expr.filters = Expr.pseudos;\nExpr.setFilters = new setFilters();\n\ntokenize = Sizzle.tokenize = function( selector, parseOnly ) {\n\tvar matched, match, tokens, type,\n\t\tsoFar, groups, preFilters,\n\t\tcached = tokenCache[ selector + \" \" ];\n\n\tif ( cached ) {\n\t\treturn parseOnly ? 0 : cached.slice( 0 );\n\t}\n\n\tsoFar = selector;\n\tgroups = [];\n\tpreFilters = Expr.preFilter;\n\n\twhile ( soFar ) {\n\n\t\t// Comma and first run\n\t\tif ( !matched || (match = rcomma.exec( soFar )) ) {\n\t\t\tif ( match ) {\n\t\t\t\t// Don't consume trailing commas as valid\n\t\t\t\tsoFar = soFar.slice( match[0].length ) || soFar;\n\t\t\t}\n\t\t\tgroups.push( (tokens = []) );\n\t\t}\n\n\t\tmatched = false;\n\n\t\t// Combinators\n\t\tif ( (match = rcombinators.exec( soFar )) ) {\n\t\t\tmatched = match.shift();\n\t\t\ttokens.push({\n\t\t\t\tvalue: matched,\n\t\t\t\t// Cast descendant combinators to space\n\t\t\t\ttype: match[0].replace( rtrim, \" \" )\n\t\t\t});\n\t\t\tsoFar = soFar.slice( matched.length );\n\t\t}\n\n\t\t// Filters\n\t\tfor ( type in Expr.filter ) {\n\t\t\tif ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] ||\n\t\t\t\t(match = preFilters[ type ]( match ))) ) {\n\t\t\t\tmatched = match.shift();\n\t\t\t\ttokens.push({\n\t\t\t\t\tvalue: matched,\n\t\t\t\t\ttype: type,\n\t\t\t\t\tmatches: match\n\t\t\t\t});\n\t\t\t\tsoFar = soFar.slice( matched.length );\n\t\t\t}\n\t\t}\n\n\t\tif ( !matched ) {\n\t\t\tbreak;\n\t\t}\n\t}\n\n\t// Return the length of the invalid excess\n\t// if we're just parsing\n\t// Otherwise, throw an error or return tokens\n\treturn parseOnly ?\n\t\tsoFar.length :\n\t\tsoFar ?\n\t\t\tSizzle.error( selector ) :\n\t\t\t// Cache the tokens\n\t\t\ttokenCache( selector, groups ).slice( 0 );\n};\n\nfunction toSelector( tokens ) {\n\tvar i = 0,\n\t\tlen = tokens.length,\n\t\tselector = \"\";\n\tfor ( ; i < len; i++ ) {\n\t\tselector += tokens[i].value;\n\t}\n\treturn selector;\n}\n\nfunction addCombinator( matcher, combinator, base ) {\n\tvar dir = combinator.dir,\n\t\tskip = combinator.next,\n\t\tkey = skip || dir,\n\t\tcheckNonElements = base && key === \"parentNode\",\n\t\tdoneName = done++;\n\n\treturn combinator.first ?\n\t\t// Check against closest ancestor/preceding element\n\t\tfunction( elem, context, xml ) {\n\t\t\twhile ( (elem = elem[ dir ]) ) {\n\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\treturn matcher( elem, context, xml );\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t} :\n\n\t\t// Check against all ancestor/preceding elements\n\t\tfunction( elem, context, xml ) {\n\t\t\tvar oldCache, uniqueCache, outerCache,\n\t\t\t\tnewCache = [ dirruns, doneName ];\n\n\t\t\t// We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching\n\t\t\tif ( xml ) {\n\t\t\t\twhile ( (elem = elem[ dir ]) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\t\tif ( matcher( elem, context, xml ) ) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\twhile ( (elem = elem[ dir ]) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\t\touterCache = elem[ expando ] || (elem[ expando ] = {});\n\n\t\t\t\t\t\t// Support: IE <9 only\n\t\t\t\t\t\t// Defend against cloned attroperties (jQuery gh-1709)\n\t\t\t\t\t\tuniqueCache = outerCache[ elem.uniqueID ] || (outerCache[ elem.uniqueID ] = {});\n\n\t\t\t\t\t\tif ( skip && skip === elem.nodeName.toLowerCase() ) {\n\t\t\t\t\t\t\telem = elem[ dir ] || elem;\n\t\t\t\t\t\t} else if ( (oldCache = uniqueCache[ key ]) &&\n\t\t\t\t\t\t\toldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) {\n\n\t\t\t\t\t\t\t// Assign to newCache so results back-propagate to previous elements\n\t\t\t\t\t\t\treturn (newCache[ 2 ] = oldCache[ 2 ]);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// Reuse newcache so results back-propagate to previous elements\n\t\t\t\t\t\t\tuniqueCache[ key ] = newCache;\n\n\t\t\t\t\t\t\t// A match means we're done; a fail means we have to keep checking\n\t\t\t\t\t\t\tif ( (newCache[ 2 ] = matcher( elem, context, xml )) ) {\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n}\n\nfunction elementMatcher( matchers ) {\n\treturn matchers.length > 1 ?\n\t\tfunction( elem, context, xml ) {\n\t\t\tvar i = matchers.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( !matchers[i]( elem, context, xml ) ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t} :\n\t\tmatchers[0];\n}\n\nfunction multipleContexts( selector, contexts, results ) {\n\tvar i = 0,\n\t\tlen = contexts.length;\n\tfor ( ; i < len; i++ ) {\n\t\tSizzle( selector, contexts[i], results );\n\t}\n\treturn results;\n}\n\nfunction condense( unmatched, map, filter, context, xml ) {\n\tvar elem,\n\t\tnewUnmatched = [],\n\t\ti = 0,\n\t\tlen = unmatched.length,\n\t\tmapped = map != null;\n\n\tfor ( ; i < len; i++ ) {\n\t\tif ( (elem = unmatched[i]) ) {\n\t\t\tif ( !filter || filter( elem, context, xml ) ) {\n\t\t\t\tnewUnmatched.push( elem );\n\t\t\t\tif ( mapped ) {\n\t\t\t\t\tmap.push( i );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn newUnmatched;\n}\n\nfunction setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {\n\tif ( postFilter && !postFilter[ expando ] ) {\n\t\tpostFilter = setMatcher( postFilter );\n\t}\n\tif ( postFinder && !postFinder[ expando ] ) {\n\t\tpostFinder = setMatcher( postFinder, postSelector );\n\t}\n\treturn markFunction(function( seed, results, context, xml ) {\n\t\tvar temp, i, elem,\n\t\t\tpreMap = [],\n\t\t\tpostMap = [],\n\t\t\tpreexisting = results.length,\n\n\t\t\t// Get initial elements from seed or context\n\t\t\telems = seed || multipleContexts( selector || \"*\", context.nodeType ? [ context ] : context, [] ),\n\n\t\t\t// Prefilter to get matcher input, preserving a map for seed-results synchronization\n\t\t\tmatcherIn = preFilter && ( seed || !selector ) ?\n\t\t\t\tcondense( elems, preMap, preFilter, context, xml ) :\n\t\t\t\telems,\n\n\t\t\tmatcherOut = matcher ?\n\t\t\t\t// If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results,\n\t\t\t\tpostFinder || ( seed ? preFilter : preexisting || postFilter ) ?\n\n\t\t\t\t\t// ...intermediate processing is necessary\n\t\t\t\t\t[] :\n\n\t\t\t\t\t// ...otherwise use results directly\n\t\t\t\t\tresults :\n\t\t\t\tmatcherIn;\n\n\t\t// Find primary matches\n\t\tif ( matcher ) {\n\t\t\tmatcher( matcherIn, matcherOut, context, xml );\n\t\t}\n\n\t\t// Apply postFilter\n\t\tif ( postFilter ) {\n\t\t\ttemp = condense( matcherOut, postMap );\n\t\t\tpostFilter( temp, [], context, xml );\n\n\t\t\t// Un-match failing elements by moving them back to matcherIn\n\t\t\ti = temp.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( (elem = temp[i]) ) {\n\t\t\t\t\tmatcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ( seed ) {\n\t\t\tif ( postFinder || preFilter ) {\n\t\t\t\tif ( postFinder ) {\n\t\t\t\t\t// Get the final matcherOut by condensing this intermediate into postFinder contexts\n\t\t\t\t\ttemp = [];\n\t\t\t\t\ti = matcherOut.length;\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tif ( (elem = matcherOut[i]) ) {\n\t\t\t\t\t\t\t// Restore matcherIn since elem is not yet a final match\n\t\t\t\t\t\t\ttemp.push( (matcherIn[i] = elem) );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tpostFinder( null, (matcherOut = []), temp, xml );\n\t\t\t\t}\n\n\t\t\t\t// Move matched elements from seed to results to keep them synchronized\n\t\t\t\ti = matcherOut.length;\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\tif ( (elem = matcherOut[i]) &&\n\t\t\t\t\t\t(temp = postFinder ? indexOf( seed, elem ) : preMap[i]) > -1 ) {\n\n\t\t\t\t\t\tseed[temp] = !(results[temp] = elem);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Add elements to results, through postFinder if defined\n\t\t} else {\n\t\t\tmatcherOut = condense(\n\t\t\t\tmatcherOut === results ?\n\t\t\t\t\tmatcherOut.splice( preexisting, matcherOut.length ) :\n\t\t\t\t\tmatcherOut\n\t\t\t);\n\t\t\tif ( postFinder ) {\n\t\t\t\tpostFinder( null, results, matcherOut, xml );\n\t\t\t} else {\n\t\t\t\tpush.apply( results, matcherOut );\n\t\t\t}\n\t\t}\n\t});\n}\n\nfunction matcherFromTokens( tokens ) {\n\tvar checkContext, matcher, j,\n\t\tlen = tokens.length,\n\t\tleadingRelative = Expr.relative[ tokens[0].type ],\n\t\timplicitRelative = leadingRelative || Expr.relative[\" \"],\n\t\ti = leadingRelative ? 1 : 0,\n\n\t\t// The foundational matcher ensures that elements are reachable from top-level context(s)\n\t\tmatchContext = addCombinator( function( elem ) {\n\t\t\treturn elem === checkContext;\n\t\t}, implicitRelative, true ),\n\t\tmatchAnyContext = addCombinator( function( elem ) {\n\t\t\treturn indexOf( checkContext, elem ) > -1;\n\t\t}, implicitRelative, true ),\n\t\tmatchers = [ function( elem, context, xml ) {\n\t\t\tvar ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || (\n\t\t\t\t(checkContext = context).nodeType ?\n\t\t\t\t\tmatchContext( elem, context, xml ) :\n\t\t\t\t\tmatchAnyContext( elem, context, xml ) );\n\t\t\t// Avoid hanging onto element (issue #299)\n\t\t\tcheckContext = null;\n\t\t\treturn ret;\n\t\t} ];\n\n\tfor ( ; i < len; i++ ) {\n\t\tif ( (matcher = Expr.relative[ tokens[i].type ]) ) {\n\t\t\tmatchers = [ addCombinator(elementMatcher( matchers ), matcher) ];\n\t\t} else {\n\t\t\tmatcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches );\n\n\t\t\t// Return special upon seeing a positional matcher\n\t\t\tif ( matcher[ expando ] ) {\n\t\t\t\t// Find the next relative operator (if any) for proper handling\n\t\t\t\tj = ++i;\n\t\t\t\tfor ( ; j < len; j++ ) {\n\t\t\t\t\tif ( Expr.relative[ tokens[j].type ] ) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn setMatcher(\n\t\t\t\t\ti > 1 && elementMatcher( matchers ),\n\t\t\t\t\ti > 1 && toSelector(\n\t\t\t\t\t\t// If the preceding token was a descendant combinator, insert an implicit any-element `*`\n\t\t\t\t\t\ttokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === \" \" ? \"*\" : \"\" })\n\t\t\t\t\t).replace( rtrim, \"$1\" ),\n\t\t\t\t\tmatcher,\n\t\t\t\t\ti < j && matcherFromTokens( tokens.slice( i, j ) ),\n\t\t\t\t\tj < len && matcherFromTokens( (tokens = tokens.slice( j )) ),\n\t\t\t\t\tj < len && toSelector( tokens )\n\t\t\t\t);\n\t\t\t}\n\t\t\tmatchers.push( matcher );\n\t\t}\n\t}\n\n\treturn elementMatcher( matchers );\n}\n\nfunction matcherFromGroupMatchers( elementMatchers, setMatchers ) {\n\tvar bySet = setMatchers.length > 0,\n\t\tbyElement = elementMatchers.length > 0,\n\t\tsuperMatcher = function( seed, context, xml, results, outermost ) {\n\t\t\tvar elem, j, matcher,\n\t\t\t\tmatchedCount = 0,\n\t\t\t\ti = \"0\",\n\t\t\t\tunmatched = seed && [],\n\t\t\t\tsetMatched = [],\n\t\t\t\tcontextBackup = outermostContext,\n\t\t\t\t// We must always have either seed elements or outermost context\n\t\t\t\telems = seed || byElement && Expr.find[\"TAG\"]( \"*\", outermost ),\n\t\t\t\t// Use integer dirruns iff this is the outermost matcher\n\t\t\t\tdirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1),\n\t\t\t\tlen = elems.length;\n\n\t\t\tif ( outermost ) {\n\t\t\t\toutermostContext = context === document || context || outermost;\n\t\t\t}\n\n\t\t\t// Add elements passing elementMatchers directly to results\n\t\t\t// Support: IE<9, Safari\n\t\t\t// Tolerate NodeList properties (IE: \"length\"; Safari: <number>) matching elements by id\n\t\t\tfor ( ; i !== len && (elem = elems[i]) != null; i++ ) {\n\t\t\t\tif ( byElement && elem ) {\n\t\t\t\t\tj = 0;\n\t\t\t\t\tif ( !context && elem.ownerDocument !== document ) {\n\t\t\t\t\t\tsetDocument( elem );\n\t\t\t\t\t\txml = !documentIsHTML;\n\t\t\t\t\t}\n\t\t\t\t\twhile ( (matcher = elementMatchers[j++]) ) {\n\t\t\t\t\t\tif ( matcher( elem, context || document, xml) ) {\n\t\t\t\t\t\t\tresults.push( elem );\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( outermost ) {\n\t\t\t\t\t\tdirruns = dirrunsUnique;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Track unmatched elements for set filters\n\t\t\t\tif ( bySet ) {\n\t\t\t\t\t// They will have gone through all possible matchers\n\t\t\t\t\tif ( (elem = !matcher && elem) ) {\n\t\t\t\t\t\tmatchedCount--;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Lengthen the array for every element, matched or not\n\t\t\t\t\tif ( seed ) {\n\t\t\t\t\t\tunmatched.push( elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// `i` is now the count of elements visited above, and adding it to `matchedCount`\n\t\t\t// makes the latter nonnegative.\n\t\t\tmatchedCount += i;\n\n\t\t\t// Apply set filters to unmatched elements\n\t\t\t// NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount`\n\t\t\t// equals `i`), unless we didn't visit _any_ elements in the above loop because we have\n\t\t\t// no element matchers and no seed.\n\t\t\t// Incrementing an initially-string \"0\" `i` allows `i` to remain a string only in that\n\t\t\t// case, which will result in a \"00\" `matchedCount` that differs from `i` but is also\n\t\t\t// numerically zero.\n\t\t\tif ( bySet && i !== matchedCount ) {\n\t\t\t\tj = 0;\n\t\t\t\twhile ( (matcher = setMatchers[j++]) ) {\n\t\t\t\t\tmatcher( unmatched, setMatched, context, xml );\n\t\t\t\t}\n\n\t\t\t\tif ( seed ) {\n\t\t\t\t\t// Reintegrate element matches to eliminate the need for sorting\n\t\t\t\t\tif ( matchedCount > 0 ) {\n\t\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\t\tif ( !(unmatched[i] || setMatched[i]) ) {\n\t\t\t\t\t\t\t\tsetMatched[i] = pop.call( results );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Discard index placeholder values to get only actual matches\n\t\t\t\t\tsetMatched = condense( setMatched );\n\t\t\t\t}\n\n\t\t\t\t// Add matches to results\n\t\t\t\tpush.apply( results, setMatched );\n\n\t\t\t\t// Seedless set matches succeeding multiple successful matchers stipulate sorting\n\t\t\t\tif ( outermost && !seed && setMatched.length > 0 &&\n\t\t\t\t\t( matchedCount + setMatchers.length ) > 1 ) {\n\n\t\t\t\t\tSizzle.uniqueSort( results );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Override manipulation of globals by nested matchers\n\t\t\tif ( outermost ) {\n\t\t\t\tdirruns = dirrunsUnique;\n\t\t\t\toutermostContext = contextBackup;\n\t\t\t}\n\n\t\t\treturn unmatched;\n\t\t};\n\n\treturn bySet ?\n\t\tmarkFunction( superMatcher ) :\n\t\tsuperMatcher;\n}\n\ncompile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) {\n\tvar i,\n\t\tsetMatchers = [],\n\t\telementMatchers = [],\n\t\tcached = compilerCache[ selector + \" \" ];\n\n\tif ( !cached ) {\n\t\t// Generate a function of recursive functions that can be used to check each element\n\t\tif ( !match ) {\n\t\t\tmatch = tokenize( selector );\n\t\t}\n\t\ti = match.length;\n\t\twhile ( i-- ) {\n\t\t\tcached = matcherFromTokens( match[i] );\n\t\t\tif ( cached[ expando ] ) {\n\t\t\t\tsetMatchers.push( cached );\n\t\t\t} else {\n\t\t\t\telementMatchers.push( cached );\n\t\t\t}\n\t\t}\n\n\t\t// Cache the compiled function\n\t\tcached = compilerCache( selector, matcherFromGroupMatchers( elementMatchers, setMatchers ) );\n\n\t\t// Save selector and tokenization\n\t\tcached.selector = selector;\n\t}\n\treturn cached;\n};\n\n/**\n * A low-level selection function that works with Sizzle's compiled\n * selector functions\n * @param {String|Function} selector A selector or a pre-compiled\n * selector function built with Sizzle.compile\n * @param {Element} context\n * @param {Array} [results]\n * @param {Array} [seed] A set of elements to match against\n */\nselect = Sizzle.select = function( selector, context, results, seed ) {\n\tvar i, tokens, token, type, find,\n\t\tcompiled = typeof selector === \"function\" && selector,\n\t\tmatch = !seed && tokenize( (selector = compiled.selector || selector) );\n\n\tresults = results || [];\n\n\t// Try to minimize operations if there is only one selector in the list and no seed\n\t// (the latter of which guarantees us context)\n\tif ( match.length === 1 ) {\n\n\t\t// Reduce context if the leading compound selector is an ID\n\t\ttokens = match[0] = match[0].slice( 0 );\n\t\tif ( tokens.length > 2 && (token = tokens[0]).type === \"ID\" &&\n\t\t\t\tcontext.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[1].type ] ) {\n\n\t\t\tcontext = ( Expr.find[\"ID\"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0];\n\t\t\tif ( !context ) {\n\t\t\t\treturn results;\n\n\t\t\t// Precompiled matchers will still verify ancestry, so step up a level\n\t\t\t} else if ( compiled ) {\n\t\t\t\tcontext = context.parentNode;\n\t\t\t}\n\n\t\t\tselector = selector.slice( tokens.shift().value.length );\n\t\t}\n\n\t\t// Fetch a seed set for right-to-left matching\n\t\ti = matchExpr[\"needsContext\"].test( selector ) ? 0 : tokens.length;\n\t\twhile ( i-- ) {\n\t\t\ttoken = tokens[i];\n\n\t\t\t// Abort if we hit a combinator\n\t\t\tif ( Expr.relative[ (type = token.type) ] ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif ( (find = Expr.find[ type ]) ) {\n\t\t\t\t// Search, expanding context for leading sibling combinators\n\t\t\t\tif ( (seed = find(\n\t\t\t\t\ttoken.matches[0].replace( runescape, funescape ),\n\t\t\t\t\trsibling.test( tokens[0].type ) && testContext( context.parentNode ) || context\n\t\t\t\t)) ) {\n\n\t\t\t\t\t// If seed is empty or no tokens remain, we can return early\n\t\t\t\t\ttokens.splice( i, 1 );\n\t\t\t\t\tselector = seed.length && toSelector( tokens );\n\t\t\t\t\tif ( !selector ) {\n\t\t\t\t\t\tpush.apply( results, seed );\n\t\t\t\t\t\treturn results;\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Compile and execute a filtering function if one is not provided\n\t// Provide `match` to avoid retokenization if we modified the selector above\n\t( compiled || compile( selector, match ) )(\n\t\tseed,\n\t\tcontext,\n\t\t!documentIsHTML,\n\t\tresults,\n\t\t!context || rsibling.test( selector ) && testContext( context.parentNode ) || context\n\t);\n\treturn results;\n};\n\n// One-time assignments\n\n// Sort stability\nsupport.sortStable = expando.split(\"\").sort( sortOrder ).join(\"\") === expando;\n\n// Support: Chrome 14-35+\n// Always assume duplicates if they aren't passed to the comparison function\nsupport.detectDuplicates = !!hasDuplicate;\n\n// Initialize against the default document\nsetDocument();\n\n// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27)\n// Detached nodes confoundingly follow *each other*\nsupport.sortDetached = assert(function( el ) {\n\t// Should return 1, but returns 4 (following)\n\treturn el.compareDocumentPosition( document.createElement(\"fieldset\") ) & 1;\n});\n\n// Support: IE<8\n// Prevent attribute/property \"interpolation\"\n// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx\nif ( !assert(function( el ) {\n\tel.innerHTML = \"<a href='#'></a>\";\n\treturn el.firstChild.getAttribute(\"href\") === \"#\" ;\n}) ) {\n\taddHandle( \"type|href|height|width\", function( elem, name, isXML ) {\n\t\tif ( !isXML ) {\n\t\t\treturn elem.getAttribute( name, name.toLowerCase() === \"type\" ? 1 : 2 );\n\t\t}\n\t});\n}\n\n// Support: IE<9\n// Use defaultValue in place of getAttribute(\"value\")\nif ( !support.attributes || !assert(function( el ) {\n\tel.innerHTML = \"<input/>\";\n\tel.firstChild.setAttribute( \"value\", \"\" );\n\treturn el.firstChild.getAttribute( \"value\" ) === \"\";\n}) ) {\n\taddHandle( \"value\", function( elem, name, isXML ) {\n\t\tif ( !isXML && elem.nodeName.toLowerCase() === \"input\" ) {\n\t\t\treturn elem.defaultValue;\n\t\t}\n\t});\n}\n\n// Support: IE<9\n// Use getAttributeNode to fetch booleans when getAttribute lies\nif ( !assert(function( el ) {\n\treturn el.getAttribute(\"disabled\") == null;\n}) ) {\n\taddHandle( booleans, function( elem, name, isXML ) {\n\t\tvar val;\n\t\tif ( !isXML ) {\n\t\t\treturn elem[ name ] === true ? name.toLowerCase() :\n\t\t\t\t\t(val = elem.getAttributeNode( name )) && val.specified ?\n\t\t\t\t\tval.value :\n\t\t\t\tnull;\n\t\t}\n\t});\n}\n\nreturn Sizzle;\n\n})( window );\n\n\n\njQuery.find = Sizzle;\njQuery.expr = Sizzle.selectors;\n\n// Deprecated\njQuery.expr[ \":\" ] = jQuery.expr.pseudos;\njQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort;\njQuery.text = Sizzle.getText;\njQuery.isXMLDoc = Sizzle.isXML;\njQuery.contains = Sizzle.contains;\njQuery.escapeSelector = Sizzle.escape;\n\n\n\n\nvar dir = function( elem, dir, until ) {\n\tvar matched = [],\n\t\ttruncate = until !== undefined;\n\n\twhile ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) {\n\t\tif ( elem.nodeType === 1 ) {\n\t\t\tif ( truncate && jQuery( elem ).is( until ) ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tmatched.push( elem );\n\t\t}\n\t}\n\treturn matched;\n};\n\n\nvar siblings = function( n, elem ) {\n\tvar matched = [];\n\n\tfor ( ; n; n = n.nextSibling ) {\n\t\tif ( n.nodeType === 1 && n !== elem ) {\n\t\t\tmatched.push( n );\n\t\t}\n\t}\n\n\treturn matched;\n};\n\n\nvar rneedsContext = jQuery.expr.match.needsContext;\n\n\n\nfunction nodeName( elem, name ) {\n\n return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();\n\n};\nvar rsingleTag = ( /^<([a-z][^\\/\\0>:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\/?>(?:<\\/\\1>|)$/i );\n\n\n\n// Implement the identical functionality for filter and not\nfunction winnow( elements, qualifier, not ) {\n\tif ( isFunction( qualifier ) ) {\n\t\treturn jQuery.grep( elements, function( elem, i ) {\n\t\t\treturn !!qualifier.call( elem, i, elem ) !== not;\n\t\t} );\n\t}\n\n\t// Single element\n\tif ( qualifier.nodeType ) {\n\t\treturn jQuery.grep( elements, function( elem ) {\n\t\t\treturn ( elem === qualifier ) !== not;\n\t\t} );\n\t}\n\n\t// Arraylike of elements (jQuery, arguments, Array)\n\tif ( typeof qualifier !== \"string\" ) {\n\t\treturn jQuery.grep( elements, function( elem ) {\n\t\t\treturn ( indexOf.call( qualifier, elem ) > -1 ) !== not;\n\t\t} );\n\t}\n\n\t// Filtered directly for both simple and complex selectors\n\treturn jQuery.filter( qualifier, elements, not );\n}\n\njQuery.filter = function( expr, elems, not ) {\n\tvar elem = elems[ 0 ];\n\n\tif ( not ) {\n\t\texpr = \":not(\" + expr + \")\";\n\t}\n\n\tif ( elems.length === 1 && elem.nodeType === 1 ) {\n\t\treturn jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [];\n\t}\n\n\treturn jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) {\n\t\treturn elem.nodeType === 1;\n\t} ) );\n};\n\njQuery.fn.extend( {\n\tfind: function( selector ) {\n\t\tvar i, ret,\n\t\t\tlen = this.length,\n\t\t\tself = this;\n\n\t\tif ( typeof selector !== \"string\" ) {\n\t\t\treturn this.pushStack( jQuery( selector ).filter( function() {\n\t\t\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\t\t\tif ( jQuery.contains( self[ i ], this ) ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} ) );\n\t\t}\n\n\t\tret = this.pushStack( [] );\n\n\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\tjQuery.find( selector, self[ i ], ret );\n\t\t}\n\n\t\treturn len > 1 ? jQuery.uniqueSort( ret ) : ret;\n\t},\n\tfilter: function( selector ) {\n\t\treturn this.pushStack( winnow( this, selector || [], false ) );\n\t},\n\tnot: function( selector ) {\n\t\treturn this.pushStack( winnow( this, selector || [], true ) );\n\t},\n\tis: function( selector ) {\n\t\treturn !!winnow(\n\t\t\tthis,\n\n\t\t\t// If this is a positional/relative selector, check membership in the returned set\n\t\t\t// so $(\"p:first\").is(\"p:last\") won't return true for a doc with two \"p\".\n\t\t\ttypeof selector === \"string\" && rneedsContext.test( selector ) ?\n\t\t\t\tjQuery( selector ) :\n\t\t\t\tselector || [],\n\t\t\tfalse\n\t\t).length;\n\t}\n} );\n\n\n// Initialize a jQuery object\n\n\n// A central reference to the root jQuery(document)\nvar rootjQuery,\n\n\t// A simple way to check for HTML strings\n\t// Prioritize #id over <tag> to avoid XSS via location.hash (#9521)\n\t// Strict HTML recognition (#11290: must start with <)\n\t// Shortcut simple #id case for speed\n\trquickExpr = /^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]+))$/,\n\n\tinit = jQuery.fn.init = function( selector, context, root ) {\n\t\tvar match, elem;\n\n\t\t// HANDLE: $(\"\"), $(null), $(undefined), $(false)\n\t\tif ( !selector ) {\n\t\t\treturn this;\n\t\t}\n\n\t\t// Method init() accepts an alternate rootjQuery\n\t\t// so migrate can support jQuery.sub (gh-2101)\n\t\troot = root || rootjQuery;\n\n\t\t// Handle HTML strings\n\t\tif ( typeof selector === \"string\" ) {\n\t\t\tif ( selector[ 0 ] === \"<\" &&\n\t\t\t\tselector[ selector.length - 1 ] === \">\" &&\n\t\t\t\tselector.length >= 3 ) {\n\n\t\t\t\t// Assume that strings that start and end with <> are HTML and skip the regex check\n\t\t\t\tmatch = [ null, selector, null ];\n\n\t\t\t} else {\n\t\t\t\tmatch = rquickExpr.exec( selector );\n\t\t\t}\n\n\t\t\t// Match html or make sure no context is specified for #id\n\t\t\tif ( match && ( match[ 1 ] || !context ) ) {\n\n\t\t\t\t// HANDLE: $(html) -> $(array)\n\t\t\t\tif ( match[ 1 ] ) {\n\t\t\t\t\tcontext = context instanceof jQuery ? context[ 0 ] : context;\n\n\t\t\t\t\t// Option to run scripts is true for back-compat\n\t\t\t\t\t// Intentionally let the error be thrown if parseHTML is not present\n\t\t\t\t\tjQuery.merge( this, jQuery.parseHTML(\n\t\t\t\t\t\tmatch[ 1 ],\n\t\t\t\t\t\tcontext && context.nodeType ? context.ownerDocument || context : document,\n\t\t\t\t\t\ttrue\n\t\t\t\t\t) );\n\n\t\t\t\t\t// HANDLE: $(html, props)\n\t\t\t\t\tif ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) {\n\t\t\t\t\t\tfor ( match in context ) {\n\n\t\t\t\t\t\t\t// Properties of context are called as methods if possible\n\t\t\t\t\t\t\tif ( isFunction( this[ match ] ) ) {\n\t\t\t\t\t\t\t\tthis[ match ]( context[ match ] );\n\n\t\t\t\t\t\t\t// ...and otherwise set as attributes\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tthis.attr( match, context[ match ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn this;\n\n\t\t\t\t// HANDLE: $(#id)\n\t\t\t\t} else {\n\t\t\t\t\telem = document.getElementById( match[ 2 ] );\n\n\t\t\t\t\tif ( elem ) {\n\n\t\t\t\t\t\t// Inject the element directly into the jQuery object\n\t\t\t\t\t\tthis[ 0 ] = elem;\n\t\t\t\t\t\tthis.length = 1;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\n\t\t\t// HANDLE: $(expr, $(...))\n\t\t\t} else if ( !context || context.jquery ) {\n\t\t\t\treturn ( context || root ).find( selector );\n\n\t\t\t// HANDLE: $(expr, context)\n\t\t\t// (which is just equivalent to: $(context).find(expr)\n\t\t\t} else {\n\t\t\t\treturn this.constructor( context ).find( selector );\n\t\t\t}\n\n\t\t// HANDLE: $(DOMElement)\n\t\t} else if ( selector.nodeType ) {\n\t\t\tthis[ 0 ] = selector;\n\t\t\tthis.length = 1;\n\t\t\treturn this;\n\n\t\t// HANDLE: $(function)\n\t\t// Shortcut for document ready\n\t\t} else if ( isFunction( selector ) ) {\n\t\t\treturn root.ready !== undefined ?\n\t\t\t\troot.ready( selector ) :\n\n\t\t\t\t// Execute immediately if ready is not present\n\t\t\t\tselector( jQuery );\n\t\t}\n\n\t\treturn jQuery.makeArray( selector, this );\n\t};\n\n// Give the init function the jQuery prototype for later instantiation\ninit.prototype = jQuery.fn;\n\n// Initialize central reference\nrootjQuery = jQuery( document );\n\n\nvar rparentsprev = /^(?:parents|prev(?:Until|All))/,\n\n\t// Methods guaranteed to produce a unique set when starting from a unique set\n\tguaranteedUnique = {\n\t\tchildren: true,\n\t\tcontents: true,\n\t\tnext: true,\n\t\tprev: true\n\t};\n\njQuery.fn.extend( {\n\thas: function( target ) {\n\t\tvar targets = jQuery( target, this ),\n\t\t\tl = targets.length;\n\n\t\treturn this.filter( function() {\n\t\t\tvar i = 0;\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tif ( jQuery.contains( this, targets[ i ] ) ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t},\n\n\tclosest: function( selectors, context ) {\n\t\tvar cur,\n\t\t\ti = 0,\n\t\t\tl = this.length,\n\t\t\tmatched = [],\n\t\t\ttargets = typeof selectors !== \"string\" && jQuery( selectors );\n\n\t\t// Positional selectors never match, since there's no _selection_ context\n\t\tif ( !rneedsContext.test( selectors ) ) {\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tfor ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) {\n\n\t\t\t\t\t// Always skip document fragments\n\t\t\t\t\tif ( cur.nodeType < 11 && ( targets ?\n\t\t\t\t\t\ttargets.index( cur ) > -1 :\n\n\t\t\t\t\t\t// Don't pass non-elements to Sizzle\n\t\t\t\t\t\tcur.nodeType === 1 &&\n\t\t\t\t\t\t\tjQuery.find.matchesSelector( cur, selectors ) ) ) {\n\n\t\t\t\t\t\tmatched.push( cur );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched );\n\t},\n\n\t// Determine the position of an element within the set\n\tindex: function( elem ) {\n\n\t\t// No argument, return index in parent\n\t\tif ( !elem ) {\n\t\t\treturn ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1;\n\t\t}\n\n\t\t// Index in selector\n\t\tif ( typeof elem === \"string\" ) {\n\t\t\treturn indexOf.call( jQuery( elem ), this[ 0 ] );\n\t\t}\n\n\t\t// Locate the position of the desired element\n\t\treturn indexOf.call( this,\n\n\t\t\t// If it receives a jQuery object, the first element is used\n\t\t\telem.jquery ? elem[ 0 ] : elem\n\t\t);\n\t},\n\n\tadd: function( selector, context ) {\n\t\treturn this.pushStack(\n\t\t\tjQuery.uniqueSort(\n\t\t\t\tjQuery.merge( this.get(), jQuery( selector, context ) )\n\t\t\t)\n\t\t);\n\t},\n\n\taddBack: function( selector ) {\n\t\treturn this.add( selector == null ?\n\t\t\tthis.prevObject : this.prevObject.filter( selector )\n\t\t);\n\t}\n} );\n\nfunction sibling( cur, dir ) {\n\twhile ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {}\n\treturn cur;\n}\n\njQuery.each( {\n\tparent: function( elem ) {\n\t\tvar parent = elem.parentNode;\n\t\treturn parent && parent.nodeType !== 11 ? parent : null;\n\t},\n\tparents: function( elem ) {\n\t\treturn dir( elem, \"parentNode\" );\n\t},\n\tparentsUntil: function( elem, i, until ) {\n\t\treturn dir( elem, \"parentNode\", until );\n\t},\n\tnext: function( elem ) {\n\t\treturn sibling( elem, \"nextSibling\" );\n\t},\n\tprev: function( elem ) {\n\t\treturn sibling( elem, \"previousSibling\" );\n\t},\n\tnextAll: function( elem ) {\n\t\treturn dir( elem, \"nextSibling\" );\n\t},\n\tprevAll: function( elem ) {\n\t\treturn dir( elem, \"previousSibling\" );\n\t},\n\tnextUntil: function( elem, i, until ) {\n\t\treturn dir( elem, \"nextSibling\", until );\n\t},\n\tprevUntil: function( elem, i, until ) {\n\t\treturn dir( elem, \"previousSibling\", until );\n\t},\n\tsiblings: function( elem ) {\n\t\treturn siblings( ( elem.parentNode || {} ).firstChild, elem );\n\t},\n\tchildren: function( elem ) {\n\t\treturn siblings( elem.firstChild );\n\t},\n\tcontents: function( elem ) {\n if ( nodeName( elem, \"iframe\" ) ) {\n return elem.contentDocument;\n }\n\n // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only\n // Treat the template element as a regular one in browsers that\n // don't support it.\n if ( nodeName( elem, \"template\" ) ) {\n elem = elem.content || elem;\n }\n\n return jQuery.merge( [], elem.childNodes );\n\t}\n}, function( name, fn ) {\n\tjQuery.fn[ name ] = function( until, selector ) {\n\t\tvar matched = jQuery.map( this, fn, until );\n\n\t\tif ( name.slice( -5 ) !== \"Until\" ) {\n\t\t\tselector = until;\n\t\t}\n\n\t\tif ( selector && typeof selector === \"string\" ) {\n\t\t\tmatched = jQuery.filter( selector, matched );\n\t\t}\n\n\t\tif ( this.length > 1 ) {\n\n\t\t\t// Remove duplicates\n\t\t\tif ( !guaranteedUnique[ name ] ) {\n\t\t\t\tjQuery.uniqueSort( matched );\n\t\t\t}\n\n\t\t\t// Reverse order for parents* and prev-derivatives\n\t\t\tif ( rparentsprev.test( name ) ) {\n\t\t\t\tmatched.reverse();\n\t\t\t}\n\t\t}\n\n\t\treturn this.pushStack( matched );\n\t};\n} );\nvar rnothtmlwhite = ( /[^\\x20\\t\\r\\n\\f]+/g );\n\n\n\n// Convert String-formatted options into Object-formatted ones\nfunction createOptions( options ) {\n\tvar object = {};\n\tjQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) {\n\t\tobject[ flag ] = true;\n\t} );\n\treturn object;\n}\n\n/*\n * Create a callback list using the following parameters:\n *\n *\toptions: an optional list of space-separated options that will change how\n *\t\t\tthe callback list behaves or a more traditional option object\n *\n * By default a callback list will act like an event callback list and can be\n * \"fired\" multiple times.\n *\n * Possible options:\n *\n *\tonce:\t\t\twill ensure the callback list can only be fired once (like a Deferred)\n *\n *\tmemory:\t\t\twill keep track of previous values and will call any callback added\n *\t\t\t\t\tafter the list has been fired right away with the latest \"memorized\"\n *\t\t\t\t\tvalues (like a Deferred)\n *\n *\tunique:\t\t\twill ensure a callback can only be added once (no duplicate in the list)\n *\n *\tstopOnFalse:\tinterrupt callings when a callback returns false\n *\n */\njQuery.Callbacks = function( options ) {\n\n\t// Convert options from String-formatted to Object-formatted if needed\n\t// (we check in cache first)\n\toptions = typeof options === \"string\" ?\n\t\tcreateOptions( options ) :\n\t\tjQuery.extend( {}, options );\n\n\tvar // Flag to know if list is currently firing\n\t\tfiring,\n\n\t\t// Last fire value for non-forgettable lists\n\t\tmemory,\n\n\t\t// Flag to know if list was already fired\n\t\tfired,\n\n\t\t// Flag to prevent firing\n\t\tlocked,\n\n\t\t// Actual callback list\n\t\tlist = [],\n\n\t\t// Queue of execution data for repeatable lists\n\t\tqueue = [],\n\n\t\t// Index of currently firing callback (modified by add/remove as needed)\n\t\tfiringIndex = -1,\n\n\t\t// Fire callbacks\n\t\tfire = function() {\n\n\t\t\t// Enforce single-firing\n\t\t\tlocked = locked || options.once;\n\n\t\t\t// Execute callbacks for all pending executions,\n\t\t\t// respecting firingIndex overrides and runtime changes\n\t\t\tfired = firing = true;\n\t\t\tfor ( ; queue.length; firingIndex = -1 ) {\n\t\t\t\tmemory = queue.shift();\n\t\t\t\twhile ( ++firingIndex < list.length ) {\n\n\t\t\t\t\t// Run callback and check for early termination\n\t\t\t\t\tif ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false &&\n\t\t\t\t\t\toptions.stopOnFalse ) {\n\n\t\t\t\t\t\t// Jump to end and forget the data so .add doesn't re-fire\n\t\t\t\t\t\tfiringIndex = list.length;\n\t\t\t\t\t\tmemory = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Forget the data if we're done with it\n\t\t\tif ( !options.memory ) {\n\t\t\t\tmemory = false;\n\t\t\t}\n\n\t\t\tfiring = false;\n\n\t\t\t// Clean up if we're done firing for good\n\t\t\tif ( locked ) {\n\n\t\t\t\t// Keep an empty list if we have data for future add calls\n\t\t\t\tif ( memory ) {\n\t\t\t\t\tlist = [];\n\n\t\t\t\t// Otherwise, this object is spent\n\t\t\t\t} else {\n\t\t\t\t\tlist = \"\";\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\t// Actual Callbacks object\n\t\tself = {\n\n\t\t\t// Add a callback or a collection of callbacks to the list\n\t\t\tadd: function() {\n\t\t\t\tif ( list ) {\n\n\t\t\t\t\t// If we have memory from a past run, we should fire after adding\n\t\t\t\t\tif ( memory && !firing ) {\n\t\t\t\t\t\tfiringIndex = list.length - 1;\n\t\t\t\t\t\tqueue.push( memory );\n\t\t\t\t\t}\n\n\t\t\t\t\t( function add( args ) {\n\t\t\t\t\t\tjQuery.each( args, function( _, arg ) {\n\t\t\t\t\t\t\tif ( isFunction( arg ) ) {\n\t\t\t\t\t\t\t\tif ( !options.unique || !self.has( arg ) ) {\n\t\t\t\t\t\t\t\t\tlist.push( arg );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if ( arg && arg.length && toType( arg ) !== \"string\" ) {\n\n\t\t\t\t\t\t\t\t// Inspect recursively\n\t\t\t\t\t\t\t\tadd( arg );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} );\n\t\t\t\t\t} )( arguments );\n\n\t\t\t\t\tif ( memory && !firing ) {\n\t\t\t\t\t\tfire();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Remove a callback from the list\n\t\t\tremove: function() {\n\t\t\t\tjQuery.each( arguments, function( _, arg ) {\n\t\t\t\t\tvar index;\n\t\t\t\t\twhile ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) {\n\t\t\t\t\t\tlist.splice( index, 1 );\n\n\t\t\t\t\t\t// Handle firing indexes\n\t\t\t\t\t\tif ( index <= firingIndex ) {\n\t\t\t\t\t\t\tfiringIndex--;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Check if a given callback is in the list.\n\t\t\t// If no argument is given, return whether or not list has callbacks attached.\n\t\t\thas: function( fn ) {\n\t\t\t\treturn fn ?\n\t\t\t\t\tjQuery.inArray( fn, list ) > -1 :\n\t\t\t\t\tlist.length > 0;\n\t\t\t},\n\n\t\t\t// Remove all callbacks from the list\n\t\t\tempty: function() {\n\t\t\t\tif ( list ) {\n\t\t\t\t\tlist = [];\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Disable .fire and .add\n\t\t\t// Abort any current/pending executions\n\t\t\t// Clear all callbacks and values\n\t\t\tdisable: function() {\n\t\t\t\tlocked = queue = [];\n\t\t\t\tlist = memory = \"\";\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\tdisabled: function() {\n\t\t\t\treturn !list;\n\t\t\t},\n\n\t\t\t// Disable .fire\n\t\t\t// Also disable .add unless we have memory (since it would have no effect)\n\t\t\t// Abort any pending executions\n\t\t\tlock: function() {\n\t\t\t\tlocked = queue = [];\n\t\t\t\tif ( !memory && !firing ) {\n\t\t\t\t\tlist = memory = \"\";\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\tlocked: function() {\n\t\t\t\treturn !!locked;\n\t\t\t},\n\n\t\t\t// Call all callbacks with the given context and arguments\n\t\t\tfireWith: function( context, args ) {\n\t\t\t\tif ( !locked ) {\n\t\t\t\t\targs = args || [];\n\t\t\t\t\targs = [ context, args.slice ? args.slice() : args ];\n\t\t\t\t\tqueue.push( args );\n\t\t\t\t\tif ( !firing ) {\n\t\t\t\t\t\tfire();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Call all the callbacks with the given arguments\n\t\t\tfire: function() {\n\t\t\t\tself.fireWith( this, arguments );\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// To know if the callbacks have already been called at least once\n\t\t\tfired: function() {\n\t\t\t\treturn !!fired;\n\t\t\t}\n\t\t};\n\n\treturn self;\n};\n\n\nfunction Identity( v ) {\n\treturn v;\n}\nfunction Thrower( ex ) {\n\tthrow ex;\n}\n\nfunction adoptValue( value, resolve, reject, noValue ) {\n\tvar method;\n\n\ttry {\n\n\t\t// Check for promise aspect first to privilege synchronous behavior\n\t\tif ( value && isFunction( ( method = value.promise ) ) ) {\n\t\t\tmethod.call( value ).done( resolve ).fail( reject );\n\n\t\t// Other thenables\n\t\t} else if ( value && isFunction( ( method = value.then ) ) ) {\n\t\t\tmethod.call( value, resolve, reject );\n\n\t\t// Other non-thenables\n\t\t} else {\n\n\t\t\t// Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer:\n\t\t\t// * false: [ value ].slice( 0 ) => resolve( value )\n\t\t\t// * true: [ value ].slice( 1 ) => resolve()\n\t\t\tresolve.apply( undefined, [ value ].slice( noValue ) );\n\t\t}\n\n\t// For Promises/A+, convert exceptions into rejections\n\t// Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in\n\t// Deferred#then to conditionally suppress rejection.\n\t} catch ( value ) {\n\n\t\t// Support: Android 4.0 only\n\t\t// Strict mode functions invoked without .call/.apply get global-object context\n\t\treject.apply( undefined, [ value ] );\n\t}\n}\n\njQuery.extend( {\n\n\tDeferred: function( func ) {\n\t\tvar tuples = [\n\n\t\t\t\t// action, add listener, callbacks,\n\t\t\t\t// ... .then handlers, argument index, [final state]\n\t\t\t\t[ \"notify\", \"progress\", jQuery.Callbacks( \"memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"memory\" ), 2 ],\n\t\t\t\t[ \"resolve\", \"done\", jQuery.Callbacks( \"once memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"once memory\" ), 0, \"resolved\" ],\n\t\t\t\t[ \"reject\", \"fail\", jQuery.Callbacks( \"once memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"once memory\" ), 1, \"rejected\" ]\n\t\t\t],\n\t\t\tstate = \"pending\",\n\t\t\tpromise = {\n\t\t\t\tstate: function() {\n\t\t\t\t\treturn state;\n\t\t\t\t},\n\t\t\t\talways: function() {\n\t\t\t\t\tdeferred.done( arguments ).fail( arguments );\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\t\t\t\t\"catch\": function( fn ) {\n\t\t\t\t\treturn promise.then( null, fn );\n\t\t\t\t},\n\n\t\t\t\t// Keep pipe for back-compat\n\t\t\t\tpipe: function( /* fnDone, fnFail, fnProgress */ ) {\n\t\t\t\t\tvar fns = arguments;\n\n\t\t\t\t\treturn jQuery.Deferred( function( newDefer ) {\n\t\t\t\t\t\tjQuery.each( tuples, function( i, tuple ) {\n\n\t\t\t\t\t\t\t// Map tuples (progress, done, fail) to arguments (done, fail, progress)\n\t\t\t\t\t\t\tvar fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ];\n\n\t\t\t\t\t\t\t// deferred.progress(function() { bind to newDefer or newDefer.notify })\n\t\t\t\t\t\t\t// deferred.done(function() { bind to newDefer or newDefer.resolve })\n\t\t\t\t\t\t\t// deferred.fail(function() { bind to newDefer or newDefer.reject })\n\t\t\t\t\t\t\tdeferred[ tuple[ 1 ] ]( function() {\n\t\t\t\t\t\t\t\tvar returned = fn && fn.apply( this, arguments );\n\t\t\t\t\t\t\t\tif ( returned && isFunction( returned.promise ) ) {\n\t\t\t\t\t\t\t\t\treturned.promise()\n\t\t\t\t\t\t\t\t\t\t.progress( newDefer.notify )\n\t\t\t\t\t\t\t\t\t\t.done( newDefer.resolve )\n\t\t\t\t\t\t\t\t\t\t.fail( newDefer.reject );\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tnewDefer[ tuple[ 0 ] + \"With\" ](\n\t\t\t\t\t\t\t\t\t\tthis,\n\t\t\t\t\t\t\t\t\t\tfn ? [ returned ] : arguments\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t} );\n\t\t\t\t\t\tfns = null;\n\t\t\t\t\t} ).promise();\n\t\t\t\t},\n\t\t\t\tthen: function( onFulfilled, onRejected, onProgress ) {\n\t\t\t\t\tvar maxDepth = 0;\n\t\t\t\t\tfunction resolve( depth, deferred, handler, special ) {\n\t\t\t\t\t\treturn function() {\n\t\t\t\t\t\t\tvar that = this,\n\t\t\t\t\t\t\t\targs = arguments,\n\t\t\t\t\t\t\t\tmightThrow = function() {\n\t\t\t\t\t\t\t\t\tvar returned, then;\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.3\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-59\n\t\t\t\t\t\t\t\t\t// Ignore double-resolution attempts\n\t\t\t\t\t\t\t\t\tif ( depth < maxDepth ) {\n\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\treturned = handler.apply( that, args );\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.1\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-48\n\t\t\t\t\t\t\t\t\tif ( returned === deferred.promise() ) {\n\t\t\t\t\t\t\t\t\t\tthrow new TypeError( \"Thenable self-resolution\" );\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ sections 2.3.3.1, 3.5\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-54\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-75\n\t\t\t\t\t\t\t\t\t// Retrieve `then` only once\n\t\t\t\t\t\t\t\t\tthen = returned &&\n\n\t\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.4\n\t\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-64\n\t\t\t\t\t\t\t\t\t\t// Only check objects and functions for thenability\n\t\t\t\t\t\t\t\t\t\t( typeof returned === \"object\" ||\n\t\t\t\t\t\t\t\t\t\t\ttypeof returned === \"function\" ) &&\n\t\t\t\t\t\t\t\t\t\treturned.then;\n\n\t\t\t\t\t\t\t\t\t// Handle a returned thenable\n\t\t\t\t\t\t\t\t\tif ( isFunction( then ) ) {\n\n\t\t\t\t\t\t\t\t\t\t// Special processors (notify) just wait for resolution\n\t\t\t\t\t\t\t\t\t\tif ( special ) {\n\t\t\t\t\t\t\t\t\t\t\tthen.call(\n\t\t\t\t\t\t\t\t\t\t\t\treturned,\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Thrower, special )\n\t\t\t\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\t\t\t// Normal processors (resolve) also hook into progress\n\t\t\t\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t\t\t\t// ...and disregard older resolution values\n\t\t\t\t\t\t\t\t\t\t\tmaxDepth++;\n\n\t\t\t\t\t\t\t\t\t\t\tthen.call(\n\t\t\t\t\t\t\t\t\t\t\t\treturned,\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Thrower, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity,\n\t\t\t\t\t\t\t\t\t\t\t\t\tdeferred.notifyWith )\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t// Handle all other returned values\n\t\t\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t\t\t// Only substitute handlers pass on context\n\t\t\t\t\t\t\t\t\t\t// and multiple values (non-spec behavior)\n\t\t\t\t\t\t\t\t\t\tif ( handler !== Identity ) {\n\t\t\t\t\t\t\t\t\t\t\tthat = undefined;\n\t\t\t\t\t\t\t\t\t\t\targs = [ returned ];\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t// Process the value(s)\n\t\t\t\t\t\t\t\t\t\t// Default process is resolve\n\t\t\t\t\t\t\t\t\t\t( special || deferred.resolveWith )( that, args );\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\n\t\t\t\t\t\t\t\t// Only normal processors (resolve) catch and reject exceptions\n\t\t\t\t\t\t\t\tprocess = special ?\n\t\t\t\t\t\t\t\t\tmightThrow :\n\t\t\t\t\t\t\t\t\tfunction() {\n\t\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\t\tmightThrow();\n\t\t\t\t\t\t\t\t\t\t} catch ( e ) {\n\n\t\t\t\t\t\t\t\t\t\t\tif ( jQuery.Deferred.exceptionHook ) {\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery.Deferred.exceptionHook( e,\n\t\t\t\t\t\t\t\t\t\t\t\t\tprocess.stackTrace );\n\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.4.1\n\t\t\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-61\n\t\t\t\t\t\t\t\t\t\t\t// Ignore post-resolution exceptions\n\t\t\t\t\t\t\t\t\t\t\tif ( depth + 1 >= maxDepth ) {\n\n\t\t\t\t\t\t\t\t\t\t\t\t// Only substitute handlers pass on context\n\t\t\t\t\t\t\t\t\t\t\t\t// and multiple values (non-spec behavior)\n\t\t\t\t\t\t\t\t\t\t\t\tif ( handler !== Thrower ) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tthat = undefined;\n\t\t\t\t\t\t\t\t\t\t\t\t\targs = [ e ];\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\tdeferred.rejectWith( that, args );\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.1\n\t\t\t\t\t\t\t// https://promisesaplus.com/#point-57\n\t\t\t\t\t\t\t// Re-resolve promises immediately to dodge false rejection from\n\t\t\t\t\t\t\t// subsequent errors\n\t\t\t\t\t\t\tif ( depth ) {\n\t\t\t\t\t\t\t\tprocess();\n\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t// Call an optional hook to record the stack, in case of exception\n\t\t\t\t\t\t\t\t// since it's otherwise lost when execution goes async\n\t\t\t\t\t\t\t\tif ( jQuery.Deferred.getStackHook ) {\n\t\t\t\t\t\t\t\t\tprocess.stackTrace = jQuery.Deferred.getStackHook();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\twindow.setTimeout( process );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\n\t\t\t\t\treturn jQuery.Deferred( function( newDefer ) {\n\n\t\t\t\t\t\t// progress_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 0 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tisFunction( onProgress ) ?\n\t\t\t\t\t\t\t\t\tonProgress :\n\t\t\t\t\t\t\t\t\tIdentity,\n\t\t\t\t\t\t\t\tnewDefer.notifyWith\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\t// fulfilled_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 1 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tisFunction( onFulfilled ) ?\n\t\t\t\t\t\t\t\t\tonFulfilled :\n\t\t\t\t\t\t\t\t\tIdentity\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\t// rejected_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 2 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tisFunction( onRejected ) ?\n\t\t\t\t\t\t\t\t\tonRejected :\n\t\t\t\t\t\t\t\t\tThrower\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t} ).promise();\n\t\t\t\t},\n\n\t\t\t\t// Get a promise for this deferred\n\t\t\t\t// If obj is provided, the promise aspect is added to the object\n\t\t\t\tpromise: function( obj ) {\n\t\t\t\t\treturn obj != null ? jQuery.extend( obj, promise ) : promise;\n\t\t\t\t}\n\t\t\t},\n\t\t\tdeferred = {};\n\n\t\t// Add list-specific methods\n\t\tjQuery.each( tuples, function( i, tuple ) {\n\t\t\tvar list = tuple[ 2 ],\n\t\t\t\tstateString = tuple[ 5 ];\n\n\t\t\t// promise.progress = list.add\n\t\t\t// promise.done = list.add\n\t\t\t// promise.fail = list.add\n\t\t\tpromise[ tuple[ 1 ] ] = list.add;\n\n\t\t\t// Handle state\n\t\t\tif ( stateString ) {\n\t\t\t\tlist.add(\n\t\t\t\t\tfunction() {\n\n\t\t\t\t\t\t// state = \"resolved\" (i.e., fulfilled)\n\t\t\t\t\t\t// state = \"rejected\"\n\t\t\t\t\t\tstate = stateString;\n\t\t\t\t\t},\n\n\t\t\t\t\t// rejected_callbacks.disable\n\t\t\t\t\t// fulfilled_callbacks.disable\n\t\t\t\t\ttuples[ 3 - i ][ 2 ].disable,\n\n\t\t\t\t\t// rejected_handlers.disable\n\t\t\t\t\t// fulfilled_handlers.disable\n\t\t\t\t\ttuples[ 3 - i ][ 3 ].disable,\n\n\t\t\t\t\t// progress_callbacks.lock\n\t\t\t\t\ttuples[ 0 ][ 2 ].lock,\n\n\t\t\t\t\t// progress_handlers.lock\n\t\t\t\t\ttuples[ 0 ][ 3 ].lock\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// progress_handlers.fire\n\t\t\t// fulfilled_handlers.fire\n\t\t\t// rejected_handlers.fire\n\t\t\tlist.add( tuple[ 3 ].fire );\n\n\t\t\t// deferred.notify = function() { deferred.notifyWith(...) }\n\t\t\t// deferred.resolve = function() { deferred.resolveWith(...) }\n\t\t\t// deferred.reject = function() { deferred.rejectWith(...) }\n\t\t\tdeferred[ tuple[ 0 ] ] = function() {\n\t\t\t\tdeferred[ tuple[ 0 ] + \"With\" ]( this === deferred ? undefined : this, arguments );\n\t\t\t\treturn this;\n\t\t\t};\n\n\t\t\t// deferred.notifyWith = list.fireWith\n\t\t\t// deferred.resolveWith = list.fireWith\n\t\t\t// deferred.rejectWith = list.fireWith\n\t\t\tdeferred[ tuple[ 0 ] + \"With\" ] = list.fireWith;\n\t\t} );\n\n\t\t// Make the deferred a promise\n\t\tpromise.promise( deferred );\n\n\t\t// Call given func if any\n\t\tif ( func ) {\n\t\t\tfunc.call( deferred, deferred );\n\t\t}\n\n\t\t// All done!\n\t\treturn deferred;\n\t},\n\n\t// Deferred helper\n\twhen: function( singleValue ) {\n\t\tvar\n\n\t\t\t// count of uncompleted subordinates\n\t\t\tremaining = arguments.length,\n\n\t\t\t// count of unprocessed arguments\n\t\t\ti = remaining,\n\n\t\t\t// subordinate fulfillment data\n\t\t\tresolveContexts = Array( i ),\n\t\t\tresolveValues = slice.call( arguments ),\n\n\t\t\t// the master Deferred\n\t\t\tmaster = jQuery.Deferred(),\n\n\t\t\t// subordinate callback factory\n\t\t\tupdateFunc = function( i ) {\n\t\t\t\treturn function( value ) {\n\t\t\t\t\tresolveContexts[ i ] = this;\n\t\t\t\t\tresolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;\n\t\t\t\t\tif ( !( --remaining ) ) {\n\t\t\t\t\t\tmaster.resolveWith( resolveContexts, resolveValues );\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t};\n\n\t\t// Single- and empty arguments are adopted like Promise.resolve\n\t\tif ( remaining <= 1 ) {\n\t\t\tadoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject,\n\t\t\t\t!remaining );\n\n\t\t\t// Use .then() to unwrap secondary thenables (cf. gh-3000)\n\t\t\tif ( master.state() === \"pending\" ||\n\t\t\t\tisFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) {\n\n\t\t\t\treturn master.then();\n\t\t\t}\n\t\t}\n\n\t\t// Multiple arguments are aggregated like Promise.all array elements\n\t\twhile ( i-- ) {\n\t\t\tadoptValue( resolveValues[ i ], updateFunc( i ), master.reject );\n\t\t}\n\n\t\treturn master.promise();\n\t}\n} );\n\n\n// These usually indicate a programmer mistake during development,\n// warn about them ASAP rather than swallowing them by default.\nvar rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;\n\njQuery.Deferred.exceptionHook = function( error, stack ) {\n\n\t// Support: IE 8 - 9 only\n\t// Console exists when dev tools are open, which can happen at any time\n\tif ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) {\n\t\twindow.console.warn( \"jQuery.Deferred exception: \" + error.message, error.stack, stack );\n\t}\n};\n\n\n\n\njQuery.readyException = function( error ) {\n\twindow.setTimeout( function() {\n\t\tthrow error;\n\t} );\n};\n\n\n\n\n// The deferred used on DOM ready\nvar readyList = jQuery.Deferred();\n\njQuery.fn.ready = function( fn ) {\n\n\treadyList\n\t\t.then( fn )\n\n\t\t// Wrap jQuery.readyException in a function so that the lookup\n\t\t// happens at the time of error handling instead of callback\n\t\t// registration.\n\t\t.catch( function( error ) {\n\t\t\tjQuery.readyException( error );\n\t\t} );\n\n\treturn this;\n};\n\njQuery.extend( {\n\n\t// Is the DOM ready to be used? Set to true once it occurs.\n\tisReady: false,\n\n\t// A counter to track how many items to wait for before\n\t// the ready event fires. See #6781\n\treadyWait: 1,\n\n\t// Handle when the DOM is ready\n\tready: function( wait ) {\n\n\t\t// Abort if there are pending holds or we're already ready\n\t\tif ( wait === true ? --jQuery.readyWait : jQuery.isReady ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Remember that the DOM is ready\n\t\tjQuery.isReady = true;\n\n\t\t// If a normal DOM Ready event fired, decrement, and wait if need be\n\t\tif ( wait !== true && --jQuery.readyWait > 0 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// If there are functions bound, to execute\n\t\treadyList.resolveWith( document, [ jQuery ] );\n\t}\n} );\n\njQuery.ready.then = readyList.then;\n\n// The ready event handler and self cleanup method\nfunction completed() {\n\tdocument.removeEventListener( \"DOMContentLoaded\", completed );\n\twindow.removeEventListener( \"load\", completed );\n\tjQuery.ready();\n}\n\n// Catch cases where $(document).ready() is called\n// after the browser event has already occurred.\n// Support: IE <=9 - 10 only\n// Older IE sometimes signals \"interactive\" too soon\nif ( document.readyState === \"complete\" ||\n\t( document.readyState !== \"loading\" && !document.documentElement.doScroll ) ) {\n\n\t// Handle it asynchronously to allow scripts the opportunity to delay ready\n\twindow.setTimeout( jQuery.ready );\n\n} else {\n\n\t// Use the handy event callback\n\tdocument.addEventListener( \"DOMContentLoaded\", completed );\n\n\t// A fallback to window.onload, that will always work\n\twindow.addEventListener( \"load\", completed );\n}\n\n\n\n\n// Multifunctional method to get and set values of a collection\n// The value/s can optionally be executed if it's a function\nvar access = function( elems, fn, key, value, chainable, emptyGet, raw ) {\n\tvar i = 0,\n\t\tlen = elems.length,\n\t\tbulk = key == null;\n\n\t// Sets many values\n\tif ( toType( key ) === \"object\" ) {\n\t\tchainable = true;\n\t\tfor ( i in key ) {\n\t\t\taccess( elems, fn, i, key[ i ], true, emptyGet, raw );\n\t\t}\n\n\t// Sets one value\n\t} else if ( value !== undefined ) {\n\t\tchainable = true;\n\n\t\tif ( !isFunction( value ) ) {\n\t\t\traw = true;\n\t\t}\n\n\t\tif ( bulk ) {\n\n\t\t\t// Bulk operations run against the entire set\n\t\t\tif ( raw ) {\n\t\t\t\tfn.call( elems, value );\n\t\t\t\tfn = null;\n\n\t\t\t// ...except when executing function values\n\t\t\t} else {\n\t\t\t\tbulk = fn;\n\t\t\t\tfn = function( elem, key, value ) {\n\t\t\t\t\treturn bulk.call( jQuery( elem ), value );\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\n\t\tif ( fn ) {\n\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\tfn(\n\t\t\t\t\telems[ i ], key, raw ?\n\t\t\t\t\tvalue :\n\t\t\t\t\tvalue.call( elems[ i ], i, fn( elems[ i ], key ) )\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t}\n\n\tif ( chainable ) {\n\t\treturn elems;\n\t}\n\n\t// Gets\n\tif ( bulk ) {\n\t\treturn fn.call( elems );\n\t}\n\n\treturn len ? fn( elems[ 0 ], key ) : emptyGet;\n};\n\n\n// Matches dashed string for camelizing\nvar rmsPrefix = /^-ms-/,\n\trdashAlpha = /-([a-z])/g;\n\n// Used by camelCase as callback to replace()\nfunction fcamelCase( all, letter ) {\n\treturn letter.toUpperCase();\n}\n\n// Convert dashed to camelCase; used by the css and data modules\n// Support: IE <=9 - 11, Edge 12 - 15\n// Microsoft forgot to hump their vendor prefix (#9572)\nfunction camelCase( string ) {\n\treturn string.replace( rmsPrefix, \"ms-\" ).replace( rdashAlpha, fcamelCase );\n}\nvar acceptData = function( owner ) {\n\n\t// Accepts only:\n\t// - Node\n\t// - Node.ELEMENT_NODE\n\t// - Node.DOCUMENT_NODE\n\t// - Object\n\t// - Any\n\treturn owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType );\n};\n\n\n\n\nfunction Data() {\n\tthis.expando = jQuery.expando + Data.uid++;\n}\n\nData.uid = 1;\n\nData.prototype = {\n\n\tcache: function( owner ) {\n\n\t\t// Check if the owner object already has a cache\n\t\tvar value = owner[ this.expando ];\n\n\t\t// If not, create one\n\t\tif ( !value ) {\n\t\t\tvalue = {};\n\n\t\t\t// We can accept data for non-element nodes in modern browsers,\n\t\t\t// but we should not, see #8335.\n\t\t\t// Always return an empty object.\n\t\t\tif ( acceptData( owner ) ) {\n\n\t\t\t\t// If it is a node unlikely to be stringify-ed or looped over\n\t\t\t\t// use plain assignment\n\t\t\t\tif ( owner.nodeType ) {\n\t\t\t\t\towner[ this.expando ] = value;\n\n\t\t\t\t// Otherwise secure it in a non-enumerable property\n\t\t\t\t// configurable must be true to allow the property to be\n\t\t\t\t// deleted when data is removed\n\t\t\t\t} else {\n\t\t\t\t\tObject.defineProperty( owner, this.expando, {\n\t\t\t\t\t\tvalue: value,\n\t\t\t\t\t\tconfigurable: true\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn value;\n\t},\n\tset: function( owner, data, value ) {\n\t\tvar prop,\n\t\t\tcache = this.cache( owner );\n\n\t\t// Handle: [ owner, key, value ] args\n\t\t// Always use camelCase key (gh-2257)\n\t\tif ( typeof data === \"string\" ) {\n\t\t\tcache[ camelCase( data ) ] = value;\n\n\t\t// Handle: [ owner, { properties } ] args\n\t\t} else {\n\n\t\t\t// Copy the properties one-by-one to the cache object\n\t\t\tfor ( prop in data ) {\n\t\t\t\tcache[ camelCase( prop ) ] = data[ prop ];\n\t\t\t}\n\t\t}\n\t\treturn cache;\n\t},\n\tget: function( owner, key ) {\n\t\treturn key === undefined ?\n\t\t\tthis.cache( owner ) :\n\n\t\t\t// Always use camelCase key (gh-2257)\n\t\t\towner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ];\n\t},\n\taccess: function( owner, key, value ) {\n\n\t\t// In cases where either:\n\t\t//\n\t\t// 1. No key was specified\n\t\t// 2. A string key was specified, but no value provided\n\t\t//\n\t\t// Take the \"read\" path and allow the get method to determine\n\t\t// which value to return, respectively either:\n\t\t//\n\t\t// 1. The entire cache object\n\t\t// 2. The data stored at the key\n\t\t//\n\t\tif ( key === undefined ||\n\t\t\t\t( ( key && typeof key === \"string\" ) && value === undefined ) ) {\n\n\t\t\treturn this.get( owner, key );\n\t\t}\n\n\t\t// When the key is not a string, or both a key and value\n\t\t// are specified, set or extend (existing objects) with either:\n\t\t//\n\t\t// 1. An object of properties\n\t\t// 2. A key and value\n\t\t//\n\t\tthis.set( owner, key, value );\n\n\t\t// Since the \"set\" path can have two possible entry points\n\t\t// return the expected data based on which path was taken[*]\n\t\treturn value !== undefined ? value : key;\n\t},\n\tremove: function( owner, key ) {\n\t\tvar i,\n\t\t\tcache = owner[ this.expando ];\n\n\t\tif ( cache === undefined ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( key !== undefined ) {\n\n\t\t\t// Support array or space separated string of keys\n\t\t\tif ( Array.isArray( key ) ) {\n\n\t\t\t\t// If key is an array of keys...\n\t\t\t\t// We always set camelCase keys, so remove that.\n\t\t\t\tkey = key.map( camelCase );\n\t\t\t} else {\n\t\t\t\tkey = camelCase( key );\n\n\t\t\t\t// If a key with the spaces exists, use it.\n\t\t\t\t// Otherwise, create an array by matching non-whitespace\n\t\t\t\tkey = key in cache ?\n\t\t\t\t\t[ key ] :\n\t\t\t\t\t( key.match( rnothtmlwhite ) || [] );\n\t\t\t}\n\n\t\t\ti = key.length;\n\n\t\t\twhile ( i-- ) {\n\t\t\t\tdelete cache[ key[ i ] ];\n\t\t\t}\n\t\t}\n\n\t\t// Remove the expando if there's no more data\n\t\tif ( key === undefined || jQuery.isEmptyObject( cache ) ) {\n\n\t\t\t// Support: Chrome <=35 - 45\n\t\t\t// Webkit & Blink performance suffers when deleting properties\n\t\t\t// from DOM nodes, so set to undefined instead\n\t\t\t// https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted)\n\t\t\tif ( owner.nodeType ) {\n\t\t\t\towner[ this.expando ] = undefined;\n\t\t\t} else {\n\t\t\t\tdelete owner[ this.expando ];\n\t\t\t}\n\t\t}\n\t},\n\thasData: function( owner ) {\n\t\tvar cache = owner[ this.expando ];\n\t\treturn cache !== undefined && !jQuery.isEmptyObject( cache );\n\t}\n};\nvar dataPriv = new Data();\n\nvar dataUser = new Data();\n\n\n\n//\tImplementation Summary\n//\n//\t1. Enforce API surface and semantic compatibility with 1.9.x branch\n//\t2. Improve the module's maintainability by reducing the storage\n//\t\tpaths to a single mechanism.\n//\t3. Use the same single mechanism to support \"private\" and \"user\" data.\n//\t4. _Never_ expose \"private\" data to user code (TODO: Drop _data, _removeData)\n//\t5. Avoid exposing implementation details on user objects (eg. expando properties)\n//\t6. Provide a clear path for implementation upgrade to WeakMap in 2014\n\nvar rbrace = /^(?:\\{[\\w\\W]*\\}|\\[[\\w\\W]*\\])$/,\n\trmultiDash = /[A-Z]/g;\n\nfunction getData( data ) {\n\tif ( data === \"true\" ) {\n\t\treturn true;\n\t}\n\n\tif ( data === \"false\" ) {\n\t\treturn false;\n\t}\n\n\tif ( data === \"null\" ) {\n\t\treturn null;\n\t}\n\n\t// Only convert to a number if it doesn't change the string\n\tif ( data === +data + \"\" ) {\n\t\treturn +data;\n\t}\n\n\tif ( rbrace.test( data ) ) {\n\t\treturn JSON.parse( data );\n\t}\n\n\treturn data;\n}\n\nfunction dataAttr( elem, key, data ) {\n\tvar name;\n\n\t// If nothing was found internally, try to fetch any\n\t// data from the HTML5 data-* attribute\n\tif ( data === undefined && elem.nodeType === 1 ) {\n\t\tname = \"data-\" + key.replace( rmultiDash, \"-$&\" ).toLowerCase();\n\t\tdata = elem.getAttribute( name );\n\n\t\tif ( typeof data === \"string\" ) {\n\t\t\ttry {\n\t\t\t\tdata = getData( data );\n\t\t\t} catch ( e ) {}\n\n\t\t\t// Make sure we set the data so it isn't changed later\n\t\t\tdataUser.set( elem, key, data );\n\t\t} else {\n\t\t\tdata = undefined;\n\t\t}\n\t}\n\treturn data;\n}\n\njQuery.extend( {\n\thasData: function( elem ) {\n\t\treturn dataUser.hasData( elem ) || dataPriv.hasData( elem );\n\t},\n\n\tdata: function( elem, name, data ) {\n\t\treturn dataUser.access( elem, name, data );\n\t},\n\n\tremoveData: function( elem, name ) {\n\t\tdataUser.remove( elem, name );\n\t},\n\n\t// TODO: Now that all calls to _data and _removeData have been replaced\n\t// with direct calls to dataPriv methods, these can be deprecated.\n\t_data: function( elem, name, data ) {\n\t\treturn dataPriv.access( elem, name, data );\n\t},\n\n\t_removeData: function( elem, name ) {\n\t\tdataPriv.remove( elem, name );\n\t}\n} );\n\njQuery.fn.extend( {\n\tdata: function( key, value ) {\n\t\tvar i, name, data,\n\t\t\telem = this[ 0 ],\n\t\t\tattrs = elem && elem.attributes;\n\n\t\t// Gets all values\n\t\tif ( key === undefined ) {\n\t\t\tif ( this.length ) {\n\t\t\t\tdata = dataUser.get( elem );\n\n\t\t\t\tif ( elem.nodeType === 1 && !dataPriv.get( elem, \"hasDataAttrs\" ) ) {\n\t\t\t\t\ti = attrs.length;\n\t\t\t\t\twhile ( i-- ) {\n\n\t\t\t\t\t\t// Support: IE 11 only\n\t\t\t\t\t\t// The attrs elements can be null (#14894)\n\t\t\t\t\t\tif ( attrs[ i ] ) {\n\t\t\t\t\t\t\tname = attrs[ i ].name;\n\t\t\t\t\t\t\tif ( name.indexOf( \"data-\" ) === 0 ) {\n\t\t\t\t\t\t\t\tname = camelCase( name.slice( 5 ) );\n\t\t\t\t\t\t\t\tdataAttr( elem, name, data[ name ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tdataPriv.set( elem, \"hasDataAttrs\", true );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn data;\n\t\t}\n\n\t\t// Sets multiple values\n\t\tif ( typeof key === \"object\" ) {\n\t\t\treturn this.each( function() {\n\t\t\t\tdataUser.set( this, key );\n\t\t\t} );\n\t\t}\n\n\t\treturn access( this, function( value ) {\n\t\t\tvar data;\n\n\t\t\t// The calling jQuery object (element matches) is not empty\n\t\t\t// (and therefore has an element appears at this[ 0 ]) and the\n\t\t\t// `value` parameter was not undefined. An empty jQuery object\n\t\t\t// will result in `undefined` for elem = this[ 0 ] which will\n\t\t\t// throw an exception if an attempt to read a data cache is made.\n\t\t\tif ( elem && value === undefined ) {\n\n\t\t\t\t// Attempt to get data from the cache\n\t\t\t\t// The key will always be camelCased in Data\n\t\t\t\tdata = dataUser.get( elem, key );\n\t\t\t\tif ( data !== undefined ) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\n\t\t\t\t// Attempt to \"discover\" the data in\n\t\t\t\t// HTML5 custom data-* attrs\n\t\t\t\tdata = dataAttr( elem, key );\n\t\t\t\tif ( data !== undefined ) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\n\t\t\t\t// We tried really hard, but the data doesn't exist.\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Set the data...\n\t\t\tthis.each( function() {\n\n\t\t\t\t// We always store the camelCased key\n\t\t\t\tdataUser.set( this, key, value );\n\t\t\t} );\n\t\t}, null, value, arguments.length > 1, null, true );\n\t},\n\n\tremoveData: function( key ) {\n\t\treturn this.each( function() {\n\t\t\tdataUser.remove( this, key );\n\t\t} );\n\t}\n} );\n\n\njQuery.extend( {\n\tqueue: function( elem, type, data ) {\n\t\tvar queue;\n\n\t\tif ( elem ) {\n\t\t\ttype = ( type || \"fx\" ) + \"queue\";\n\t\t\tqueue = dataPriv.get( elem, type );\n\n\t\t\t// Speed up dequeue by getting out quickly if this is just a lookup\n\t\t\tif ( data ) {\n\t\t\t\tif ( !queue || Array.isArray( data ) ) {\n\t\t\t\t\tqueue = dataPriv.access( elem, type, jQuery.makeArray( data ) );\n\t\t\t\t} else {\n\t\t\t\t\tqueue.push( data );\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn queue || [];\n\t\t}\n\t},\n\n\tdequeue: function( elem, type ) {\n\t\ttype = type || \"fx\";\n\n\t\tvar queue = jQuery.queue( elem, type ),\n\t\t\tstartLength = queue.length,\n\t\t\tfn = queue.shift(),\n\t\t\thooks = jQuery._queueHooks( elem, type ),\n\t\t\tnext = function() {\n\t\t\t\tjQuery.dequeue( elem, type );\n\t\t\t};\n\n\t\t// If the fx queue is dequeued, always remove the progress sentinel\n\t\tif ( fn === \"inprogress\" ) {\n\t\t\tfn = queue.shift();\n\t\t\tstartLength--;\n\t\t}\n\n\t\tif ( fn ) {\n\n\t\t\t// Add a progress sentinel to prevent the fx queue from being\n\t\t\t// automatically dequeued\n\t\t\tif ( type === \"fx\" ) {\n\t\t\t\tqueue.unshift( \"inprogress\" );\n\t\t\t}\n\n\t\t\t// Clear up the last queue stop function\n\t\t\tdelete hooks.stop;\n\t\t\tfn.call( elem, next, hooks );\n\t\t}\n\n\t\tif ( !startLength && hooks ) {\n\t\t\thooks.empty.fire();\n\t\t}\n\t},\n\n\t// Not public - generate a queueHooks object, or return the current one\n\t_queueHooks: function( elem, type ) {\n\t\tvar key = type + \"queueHooks\";\n\t\treturn dataPriv.get( elem, key ) || dataPriv.access( elem, key, {\n\t\t\tempty: jQuery.Callbacks( \"once memory\" ).add( function() {\n\t\t\t\tdataPriv.remove( elem, [ type + \"queue\", key ] );\n\t\t\t} )\n\t\t} );\n\t}\n} );\n\njQuery.fn.extend( {\n\tqueue: function( type, data ) {\n\t\tvar setter = 2;\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tdata = type;\n\t\t\ttype = \"fx\";\n\t\t\tsetter--;\n\t\t}\n\n\t\tif ( arguments.length < setter ) {\n\t\t\treturn jQuery.queue( this[ 0 ], type );\n\t\t}\n\n\t\treturn data === undefined ?\n\t\t\tthis :\n\t\t\tthis.each( function() {\n\t\t\t\tvar queue = jQuery.queue( this, type, data );\n\n\t\t\t\t// Ensure a hooks for this queue\n\t\t\t\tjQuery._queueHooks( this, type );\n\n\t\t\t\tif ( type === \"fx\" && queue[ 0 ] !== \"inprogress\" ) {\n\t\t\t\t\tjQuery.dequeue( this, type );\n\t\t\t\t}\n\t\t\t} );\n\t},\n\tdequeue: function( type ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.dequeue( this, type );\n\t\t} );\n\t},\n\tclearQueue: function( type ) {\n\t\treturn this.queue( type || \"fx\", [] );\n\t},\n\n\t// Get a promise resolved when queues of a certain type\n\t// are emptied (fx is the type by default)\n\tpromise: function( type, obj ) {\n\t\tvar tmp,\n\t\t\tcount = 1,\n\t\t\tdefer = jQuery.Deferred(),\n\t\t\telements = this,\n\t\t\ti = this.length,\n\t\t\tresolve = function() {\n\t\t\t\tif ( !( --count ) ) {\n\t\t\t\t\tdefer.resolveWith( elements, [ elements ] );\n\t\t\t\t}\n\t\t\t};\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tobj = type;\n\t\t\ttype = undefined;\n\t\t}\n\t\ttype = type || \"fx\";\n\n\t\twhile ( i-- ) {\n\t\t\ttmp = dataPriv.get( elements[ i ], type + \"queueHooks\" );\n\t\t\tif ( tmp && tmp.empty ) {\n\t\t\t\tcount++;\n\t\t\t\ttmp.empty.add( resolve );\n\t\t\t}\n\t\t}\n\t\tresolve();\n\t\treturn defer.promise( obj );\n\t}\n} );\nvar pnum = ( /[+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|)/ ).source;\n\nvar rcssNum = new RegExp( \"^(?:([+-])=|)(\" + pnum + \")([a-z%]*)$\", \"i\" );\n\n\nvar cssExpand = [ \"Top\", \"Right\", \"Bottom\", \"Left\" ];\n\nvar isHiddenWithinTree = function( elem, el ) {\n\n\t\t// isHiddenWithinTree might be called from jQuery#filter function;\n\t\t// in that case, element will be second argument\n\t\telem = el || elem;\n\n\t\t// Inline style trumps all\n\t\treturn elem.style.display === \"none\" ||\n\t\t\telem.style.display === \"\" &&\n\n\t\t\t// Otherwise, check computed style\n\t\t\t// Support: Firefox <=43 - 45\n\t\t\t// Disconnected elements can have computed display: none, so first confirm that elem is\n\t\t\t// in the document.\n\t\t\tjQuery.contains( elem.ownerDocument, elem ) &&\n\n\t\t\tjQuery.css( elem, \"display\" ) === \"none\";\n\t};\n\nvar swap = function( elem, options, callback, args ) {\n\tvar ret, name,\n\t\told = {};\n\n\t// Remember the old values, and insert the new ones\n\tfor ( name in options ) {\n\t\told[ name ] = elem.style[ name ];\n\t\telem.style[ name ] = options[ name ];\n\t}\n\n\tret = callback.apply( elem, args || [] );\n\n\t// Revert the old values\n\tfor ( name in options ) {\n\t\telem.style[ name ] = old[ name ];\n\t}\n\n\treturn ret;\n};\n\n\n\n\nfunction adjustCSS( elem, prop, valueParts, tween ) {\n\tvar adjusted, scale,\n\t\tmaxIterations = 20,\n\t\tcurrentValue = tween ?\n\t\t\tfunction() {\n\t\t\t\treturn tween.cur();\n\t\t\t} :\n\t\t\tfunction() {\n\t\t\t\treturn jQuery.css( elem, prop, \"\" );\n\t\t\t},\n\t\tinitial = currentValue(),\n\t\tunit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? \"\" : \"px\" ),\n\n\t\t// Starting value computation is required for potential unit mismatches\n\t\tinitialInUnit = ( jQuery.cssNumber[ prop ] || unit !== \"px\" && +initial ) &&\n\t\t\trcssNum.exec( jQuery.css( elem, prop ) );\n\n\tif ( initialInUnit && initialInUnit[ 3 ] !== unit ) {\n\n\t\t// Support: Firefox <=54\n\t\t// Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144)\n\t\tinitial = initial / 2;\n\n\t\t// Trust units reported by jQuery.css\n\t\tunit = unit || initialInUnit[ 3 ];\n\n\t\t// Iteratively approximate from a nonzero starting point\n\t\tinitialInUnit = +initial || 1;\n\n\t\twhile ( maxIterations-- ) {\n\n\t\t\t// Evaluate and update our best guess (doubling guesses that zero out).\n\t\t\t// Finish if the scale equals or crosses 1 (making the old*new product non-positive).\n\t\t\tjQuery.style( elem, prop, initialInUnit + unit );\n\t\t\tif ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) {\n\t\t\t\tmaxIterations = 0;\n\t\t\t}\n\t\t\tinitialInUnit = initialInUnit / scale;\n\n\t\t}\n\n\t\tinitialInUnit = initialInUnit * 2;\n\t\tjQuery.style( elem, prop, initialInUnit + unit );\n\n\t\t// Make sure we update the tween properties later on\n\t\tvalueParts = valueParts || [];\n\t}\n\n\tif ( valueParts ) {\n\t\tinitialInUnit = +initialInUnit || +initial || 0;\n\n\t\t// Apply relative offset (+=/-=) if specified\n\t\tadjusted = valueParts[ 1 ] ?\n\t\t\tinitialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] :\n\t\t\t+valueParts[ 2 ];\n\t\tif ( tween ) {\n\t\t\ttween.unit = unit;\n\t\t\ttween.start = initialInUnit;\n\t\t\ttween.end = adjusted;\n\t\t}\n\t}\n\treturn adjusted;\n}\n\n\nvar defaultDisplayMap = {};\n\nfunction getDefaultDisplay( elem ) {\n\tvar temp,\n\t\tdoc = elem.ownerDocument,\n\t\tnodeName = elem.nodeName,\n\t\tdisplay = defaultDisplayMap[ nodeName ];\n\n\tif ( display ) {\n\t\treturn display;\n\t}\n\n\ttemp = doc.body.appendChild( doc.createElement( nodeName ) );\n\tdisplay = jQuery.css( temp, \"display\" );\n\n\ttemp.parentNode.removeChild( temp );\n\n\tif ( display === \"none\" ) {\n\t\tdisplay = \"block\";\n\t}\n\tdefaultDisplayMap[ nodeName ] = display;\n\n\treturn display;\n}\n\nfunction showHide( elements, show ) {\n\tvar display, elem,\n\t\tvalues = [],\n\t\tindex = 0,\n\t\tlength = elements.length;\n\n\t// Determine new display value for elements that need to change\n\tfor ( ; index < length; index++ ) {\n\t\telem = elements[ index ];\n\t\tif ( !elem.style ) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tdisplay = elem.style.display;\n\t\tif ( show ) {\n\n\t\t\t// Since we force visibility upon cascade-hidden elements, an immediate (and slow)\n\t\t\t// check is required in this first loop unless we have a nonempty display value (either\n\t\t\t// inline or about-to-be-restored)\n\t\t\tif ( display === \"none\" ) {\n\t\t\t\tvalues[ index ] = dataPriv.get( elem, \"display\" ) || null;\n\t\t\t\tif ( !values[ index ] ) {\n\t\t\t\t\telem.style.display = \"\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( elem.style.display === \"\" && isHiddenWithinTree( elem ) ) {\n\t\t\t\tvalues[ index ] = getDefaultDisplay( elem );\n\t\t\t}\n\t\t} else {\n\t\t\tif ( display !== \"none\" ) {\n\t\t\t\tvalues[ index ] = \"none\";\n\n\t\t\t\t// Remember what we're overwriting\n\t\t\t\tdataPriv.set( elem, \"display\", display );\n\t\t\t}\n\t\t}\n\t}\n\n\t// Set the display of the elements in a second loop to avoid constant reflow\n\tfor ( index = 0; index < length; index++ ) {\n\t\tif ( values[ index ] != null ) {\n\t\t\telements[ index ].style.display = values[ index ];\n\t\t}\n\t}\n\n\treturn elements;\n}\n\njQuery.fn.extend( {\n\tshow: function() {\n\t\treturn showHide( this, true );\n\t},\n\thide: function() {\n\t\treturn showHide( this );\n\t},\n\ttoggle: function( state ) {\n\t\tif ( typeof state === \"boolean\" ) {\n\t\t\treturn state ? this.show() : this.hide();\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tif ( isHiddenWithinTree( this ) ) {\n\t\t\t\tjQuery( this ).show();\n\t\t\t} else {\n\t\t\t\tjQuery( this ).hide();\n\t\t\t}\n\t\t} );\n\t}\n} );\nvar rcheckableType = ( /^(?:checkbox|radio)$/i );\n\nvar rtagName = ( /<([a-z][^\\/\\0>\\x20\\t\\r\\n\\f]+)/i );\n\nvar rscriptType = ( /^$|^module$|\\/(?:java|ecma)script/i );\n\n\n\n// We have to close these tags to support XHTML (#13200)\nvar wrapMap = {\n\n\t// Support: IE <=9 only\n\toption: [ 1, \"<select multiple='multiple'>\", \"</select>\" ],\n\n\t// XHTML parsers do not magically insert elements in the\n\t// same way that tag soup parsers do. So we cannot shorten\n\t// this by omitting <tbody> or other required elements.\n\tthead: [ 1, \"<table>\", \"</table>\" ],\n\tcol: [ 2, \"<table><colgroup>\", \"</colgroup></table>\" ],\n\ttr: [ 2, \"<table><tbody>\", \"</tbody></table>\" ],\n\ttd: [ 3, \"<table><tbody><tr>\", \"</tr></tbody></table>\" ],\n\n\t_default: [ 0, \"\", \"\" ]\n};\n\n// Support: IE <=9 only\nwrapMap.optgroup = wrapMap.option;\n\nwrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;\nwrapMap.th = wrapMap.td;\n\n\nfunction getAll( context, tag ) {\n\n\t// Support: IE <=9 - 11 only\n\t// Use typeof to avoid zero-argument method invocation on host objects (#15151)\n\tvar ret;\n\n\tif ( typeof context.getElementsByTagName !== \"undefined\" ) {\n\t\tret = context.getElementsByTagName( tag || \"*\" );\n\n\t} else if ( typeof context.querySelectorAll !== \"undefined\" ) {\n\t\tret = context.querySelectorAll( tag || \"*\" );\n\n\t} else {\n\t\tret = [];\n\t}\n\n\tif ( tag === undefined || tag && nodeName( context, tag ) ) {\n\t\treturn jQuery.merge( [ context ], ret );\n\t}\n\n\treturn ret;\n}\n\n\n// Mark scripts as having already been evaluated\nfunction setGlobalEval( elems, refElements ) {\n\tvar i = 0,\n\t\tl = elems.length;\n\n\tfor ( ; i < l; i++ ) {\n\t\tdataPriv.set(\n\t\t\telems[ i ],\n\t\t\t\"globalEval\",\n\t\t\t!refElements || dataPriv.get( refElements[ i ], \"globalEval\" )\n\t\t);\n\t}\n}\n\n\nvar rhtml = /<|&#?\\w+;/;\n\nfunction buildFragment( elems, context, scripts, selection, ignored ) {\n\tvar elem, tmp, tag, wrap, contains, j,\n\t\tfragment = context.createDocumentFragment(),\n\t\tnodes = [],\n\t\ti = 0,\n\t\tl = elems.length;\n\n\tfor ( ; i < l; i++ ) {\n\t\telem = elems[ i ];\n\n\t\tif ( elem || elem === 0 ) {\n\n\t\t\t// Add nodes directly\n\t\t\tif ( toType( elem ) === \"object\" ) {\n\n\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\tjQuery.merge( nodes, elem.nodeType ? [ elem ] : elem );\n\n\t\t\t// Convert non-html into a text node\n\t\t\t} else if ( !rhtml.test( elem ) ) {\n\t\t\t\tnodes.push( context.createTextNode( elem ) );\n\n\t\t\t// Convert html into DOM nodes\n\t\t\t} else {\n\t\t\t\ttmp = tmp || fragment.appendChild( context.createElement( \"div\" ) );\n\n\t\t\t\t// Deserialize a standard representation\n\t\t\t\ttag = ( rtagName.exec( elem ) || [ \"\", \"\" ] )[ 1 ].toLowerCase();\n\t\t\t\twrap = wrapMap[ tag ] || wrapMap._default;\n\t\t\t\ttmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ];\n\n\t\t\t\t// Descend through wrappers to the right content\n\t\t\t\tj = wrap[ 0 ];\n\t\t\t\twhile ( j-- ) {\n\t\t\t\t\ttmp = tmp.lastChild;\n\t\t\t\t}\n\n\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\tjQuery.merge( nodes, tmp.childNodes );\n\n\t\t\t\t// Remember the top-level container\n\t\t\t\ttmp = fragment.firstChild;\n\n\t\t\t\t// Ensure the created nodes are orphaned (#12392)\n\t\t\t\ttmp.textContent = \"\";\n\t\t\t}\n\t\t}\n\t}\n\n\t// Remove wrapper from fragment\n\tfragment.textContent = \"\";\n\n\ti = 0;\n\twhile ( ( elem = nodes[ i++ ] ) ) {\n\n\t\t// Skip elements already in the context collection (trac-4087)\n\t\tif ( selection && jQuery.inArray( elem, selection ) > -1 ) {\n\t\t\tif ( ignored ) {\n\t\t\t\tignored.push( elem );\n\t\t\t}\n\t\t\tcontinue;\n\t\t}\n\n\t\tcontains = jQuery.contains( elem.ownerDocument, elem );\n\n\t\t// Append to fragment\n\t\ttmp = getAll( fragment.appendChild( elem ), \"script\" );\n\n\t\t// Preserve script evaluation history\n\t\tif ( contains ) {\n\t\t\tsetGlobalEval( tmp );\n\t\t}\n\n\t\t// Capture executables\n\t\tif ( scripts ) {\n\t\t\tj = 0;\n\t\t\twhile ( ( elem = tmp[ j++ ] ) ) {\n\t\t\t\tif ( rscriptType.test( elem.type || \"\" ) ) {\n\t\t\t\t\tscripts.push( elem );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn fragment;\n}\n\n\n( function() {\n\tvar fragment = document.createDocumentFragment(),\n\t\tdiv = fragment.appendChild( document.createElement( \"div\" ) ),\n\t\tinput = document.createElement( \"input\" );\n\n\t// Support: Android 4.0 - 4.3 only\n\t// Check state lost if the name is set (#11217)\n\t// Support: Windows Web Apps (WWA)\n\t// `name` and `type` must use .setAttribute for WWA (#14901)\n\tinput.setAttribute( \"type\", \"radio\" );\n\tinput.setAttribute( \"checked\", \"checked\" );\n\tinput.setAttribute( \"name\", \"t\" );\n\n\tdiv.appendChild( input );\n\n\t// Support: Android <=4.1 only\n\t// Older WebKit doesn't clone checked state correctly in fragments\n\tsupport.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked;\n\n\t// Support: IE <=11 only\n\t// Make sure textarea (and checkbox) defaultValue is properly cloned\n\tdiv.innerHTML = \"<textarea>x</textarea>\";\n\tsupport.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue;\n} )();\nvar documentElement = document.documentElement;\n\n\n\nvar\n\trkeyEvent = /^key/,\n\trmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/,\n\trtypenamespace = /^([^.]*)(?:\\.(.+)|)/;\n\nfunction returnTrue() {\n\treturn true;\n}\n\nfunction returnFalse() {\n\treturn false;\n}\n\n// Support: IE <=9 only\n// See #13393 for more info\nfunction safeActiveElement() {\n\ttry {\n\t\treturn document.activeElement;\n\t} catch ( err ) { }\n}\n\nfunction on( elem, types, selector, data, fn, one ) {\n\tvar origFn, type;\n\n\t// Types can be a map of types/handlers\n\tif ( typeof types === \"object\" ) {\n\n\t\t// ( types-Object, selector, data )\n\t\tif ( typeof selector !== \"string\" ) {\n\n\t\t\t// ( types-Object, data )\n\t\t\tdata = data || selector;\n\t\t\tselector = undefined;\n\t\t}\n\t\tfor ( type in types ) {\n\t\t\ton( elem, type, selector, data, types[ type ], one );\n\t\t}\n\t\treturn elem;\n\t}\n\n\tif ( data == null && fn == null ) {\n\n\t\t// ( types, fn )\n\t\tfn = selector;\n\t\tdata = selector = undefined;\n\t} else if ( fn == null ) {\n\t\tif ( typeof selector === \"string\" ) {\n\n\t\t\t// ( types, selector, fn )\n\t\t\tfn = data;\n\t\t\tdata = undefined;\n\t\t} else {\n\n\t\t\t// ( types, data, fn )\n\t\t\tfn = data;\n\t\t\tdata = selector;\n\t\t\tselector = undefined;\n\t\t}\n\t}\n\tif ( fn === false ) {\n\t\tfn = returnFalse;\n\t} else if ( !fn ) {\n\t\treturn elem;\n\t}\n\n\tif ( one === 1 ) {\n\t\torigFn = fn;\n\t\tfn = function( event ) {\n\n\t\t\t// Can use an empty set, since event contains the info\n\t\t\tjQuery().off( event );\n\t\t\treturn origFn.apply( this, arguments );\n\t\t};\n\n\t\t// Use same guid so caller can remove using origFn\n\t\tfn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );\n\t}\n\treturn elem.each( function() {\n\t\tjQuery.event.add( this, types, fn, data, selector );\n\t} );\n}\n\n/*\n * Helper functions for managing events -- not part of the public interface.\n * Props to Dean Edwards' addEvent library for many of the ideas.\n */\njQuery.event = {\n\n\tglobal: {},\n\n\tadd: function( elem, types, handler, data, selector ) {\n\n\t\tvar handleObjIn, eventHandle, tmp,\n\t\t\tevents, t, handleObj,\n\t\t\tspecial, handlers, type, namespaces, origType,\n\t\t\telemData = dataPriv.get( elem );\n\n\t\t// Don't attach events to noData or text/comment nodes (but allow plain objects)\n\t\tif ( !elemData ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Caller can pass in an object of custom data in lieu of the handler\n\t\tif ( handler.handler ) {\n\t\t\thandleObjIn = handler;\n\t\t\thandler = handleObjIn.handler;\n\t\t\tselector = handleObjIn.selector;\n\t\t}\n\n\t\t// Ensure that invalid selectors throw exceptions at attach time\n\t\t// Evaluate against documentElement in case elem is a non-element node (e.g., document)\n\t\tif ( selector ) {\n\t\t\tjQuery.find.matchesSelector( documentElement, selector );\n\t\t}\n\n\t\t// Make sure that the handler has a unique ID, used to find/remove it later\n\t\tif ( !handler.guid ) {\n\t\t\thandler.guid = jQuery.guid++;\n\t\t}\n\n\t\t// Init the element's event structure and main handler, if this is the first\n\t\tif ( !( events = elemData.events ) ) {\n\t\t\tevents = elemData.events = {};\n\t\t}\n\t\tif ( !( eventHandle = elemData.handle ) ) {\n\t\t\teventHandle = elemData.handle = function( e ) {\n\n\t\t\t\t// Discard the second event of a jQuery.event.trigger() and\n\t\t\t\t// when an event is called after a page has unloaded\n\t\t\t\treturn typeof jQuery !== \"undefined\" && jQuery.event.triggered !== e.type ?\n\t\t\t\t\tjQuery.event.dispatch.apply( elem, arguments ) : undefined;\n\t\t\t};\n\t\t}\n\n\t\t// Handle multiple events separated by a space\n\t\ttypes = ( types || \"\" ).match( rnothtmlwhite ) || [ \"\" ];\n\t\tt = types.length;\n\t\twhile ( t-- ) {\n\t\t\ttmp = rtypenamespace.exec( types[ t ] ) || [];\n\t\t\ttype = origType = tmp[ 1 ];\n\t\t\tnamespaces = ( tmp[ 2 ] || \"\" ).split( \".\" ).sort();\n\n\t\t\t// There *must* be a type, no attaching namespace-only handlers\n\t\t\tif ( !type ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// If event changes its type, use the special event handlers for the changed type\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\n\t\t\t// If selector defined, determine special event api type, otherwise given type\n\t\t\ttype = ( selector ? special.delegateType : special.bindType ) || type;\n\n\t\t\t// Update special based on newly reset type\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\n\t\t\t// handleObj is passed to all event handlers\n\t\t\thandleObj = jQuery.extend( {\n\t\t\t\ttype: type,\n\t\t\t\torigType: origType,\n\t\t\t\tdata: data,\n\t\t\t\thandler: handler,\n\t\t\t\tguid: handler.guid,\n\t\t\t\tselector: selector,\n\t\t\t\tneedsContext: selector && jQuery.expr.match.needsContext.test( selector ),\n\t\t\t\tnamespace: namespaces.join( \".\" )\n\t\t\t}, handleObjIn );\n\n\t\t\t// Init the event handler queue if we're the first\n\t\t\tif ( !( handlers = events[ type ] ) ) {\n\t\t\t\thandlers = events[ type ] = [];\n\t\t\t\thandlers.delegateCount = 0;\n\n\t\t\t\t// Only use addEventListener if the special events handler returns false\n\t\t\t\tif ( !special.setup ||\n\t\t\t\t\tspecial.setup.call( elem, data, namespaces, eventHandle ) === false ) {\n\n\t\t\t\t\tif ( elem.addEventListener ) {\n\t\t\t\t\t\telem.addEventListener( type, eventHandle );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( special.add ) {\n\t\t\t\tspecial.add.call( elem, handleObj );\n\n\t\t\t\tif ( !handleObj.handler.guid ) {\n\t\t\t\t\thandleObj.handler.guid = handler.guid;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Add to the element's handler list, delegates in front\n\t\t\tif ( selector ) {\n\t\t\t\thandlers.splice( handlers.delegateCount++, 0, handleObj );\n\t\t\t} else {\n\t\t\t\thandlers.push( handleObj );\n\t\t\t}\n\n\t\t\t// Keep track of which events have ever been used, for event optimization\n\t\t\tjQuery.event.global[ type ] = true;\n\t\t}\n\n\t},\n\n\t// Detach an event or set of events from an element\n\tremove: function( elem, types, handler, selector, mappedTypes ) {\n\n\t\tvar j, origCount, tmp,\n\t\t\tevents, t, handleObj,\n\t\t\tspecial, handlers, type, namespaces, origType,\n\t\t\telemData = dataPriv.hasData( elem ) && dataPriv.get( elem );\n\n\t\tif ( !elemData || !( events = elemData.events ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Once for each type.namespace in types; type may be omitted\n\t\ttypes = ( types || \"\" ).match( rnothtmlwhite ) || [ \"\" ];\n\t\tt = types.length;\n\t\twhile ( t-- ) {\n\t\t\ttmp = rtypenamespace.exec( types[ t ] ) || [];\n\t\t\ttype = origType = tmp[ 1 ];\n\t\t\tnamespaces = ( tmp[ 2 ] || \"\" ).split( \".\" ).sort();\n\n\t\t\t// Unbind all events (on this namespace, if provided) for the element\n\t\t\tif ( !type ) {\n\t\t\t\tfor ( type in events ) {\n\t\t\t\t\tjQuery.event.remove( elem, type + types[ t ], handler, selector, true );\n\t\t\t\t}\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\t\t\ttype = ( selector ? special.delegateType : special.bindType ) || type;\n\t\t\thandlers = events[ type ] || [];\n\t\t\ttmp = tmp[ 2 ] &&\n\t\t\t\tnew RegExp( \"(^|\\\\.)\" + namespaces.join( \"\\\\.(?:.*\\\\.|)\" ) + \"(\\\\.|$)\" );\n\n\t\t\t// Remove matching events\n\t\t\torigCount = j = handlers.length;\n\t\t\twhile ( j-- ) {\n\t\t\t\thandleObj = handlers[ j ];\n\n\t\t\t\tif ( ( mappedTypes || origType === handleObj.origType ) &&\n\t\t\t\t\t( !handler || handler.guid === handleObj.guid ) &&\n\t\t\t\t\t( !tmp || tmp.test( handleObj.namespace ) ) &&\n\t\t\t\t\t( !selector || selector === handleObj.selector ||\n\t\t\t\t\t\tselector === \"**\" && handleObj.selector ) ) {\n\t\t\t\t\thandlers.splice( j, 1 );\n\n\t\t\t\t\tif ( handleObj.selector ) {\n\t\t\t\t\t\thandlers.delegateCount--;\n\t\t\t\t\t}\n\t\t\t\t\tif ( special.remove ) {\n\t\t\t\t\t\tspecial.remove.call( elem, handleObj );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Remove generic event handler if we removed something and no more handlers exist\n\t\t\t// (avoids potential for endless recursion during removal of special event handlers)\n\t\t\tif ( origCount && !handlers.length ) {\n\t\t\t\tif ( !special.teardown ||\n\t\t\t\t\tspecial.teardown.call( elem, namespaces, elemData.handle ) === false ) {\n\n\t\t\t\t\tjQuery.removeEvent( elem, type, elemData.handle );\n\t\t\t\t}\n\n\t\t\t\tdelete events[ type ];\n\t\t\t}\n\t\t}\n\n\t\t// Remove data and the expando if it's no longer used\n\t\tif ( jQuery.isEmptyObject( events ) ) {\n\t\t\tdataPriv.remove( elem, \"handle events\" );\n\t\t}\n\t},\n\n\tdispatch: function( nativeEvent ) {\n\n\t\t// Make a writable jQuery.Event from the native event object\n\t\tvar event = jQuery.event.fix( nativeEvent );\n\n\t\tvar i, j, ret, matched, handleObj, handlerQueue,\n\t\t\targs = new Array( arguments.length ),\n\t\t\thandlers = ( dataPriv.get( this, \"events\" ) || {} )[ event.type ] || [],\n\t\t\tspecial = jQuery.event.special[ event.type ] || {};\n\n\t\t// Use the fix-ed jQuery.Event rather than the (read-only) native event\n\t\targs[ 0 ] = event;\n\n\t\tfor ( i = 1; i < arguments.length; i++ ) {\n\t\t\targs[ i ] = arguments[ i ];\n\t\t}\n\n\t\tevent.delegateTarget = this;\n\n\t\t// Call the preDispatch hook for the mapped type, and let it bail if desired\n\t\tif ( special.preDispatch && special.preDispatch.call( this, event ) === false ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Determine handlers\n\t\thandlerQueue = jQuery.event.handlers.call( this, event, handlers );\n\n\t\t// Run delegates first; they may want to stop propagation beneath us\n\t\ti = 0;\n\t\twhile ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) {\n\t\t\tevent.currentTarget = matched.elem;\n\n\t\t\tj = 0;\n\t\t\twhile ( ( handleObj = matched.handlers[ j++ ] ) &&\n\t\t\t\t!event.isImmediatePropagationStopped() ) {\n\n\t\t\t\t// Triggered event must either 1) have no namespace, or 2) have namespace(s)\n\t\t\t\t// a subset or equal to those in the bound event (both can have no namespace).\n\t\t\t\tif ( !event.rnamespace || event.rnamespace.test( handleObj.namespace ) ) {\n\n\t\t\t\t\tevent.handleObj = handleObj;\n\t\t\t\t\tevent.data = handleObj.data;\n\n\t\t\t\t\tret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle ||\n\t\t\t\t\t\thandleObj.handler ).apply( matched.elem, args );\n\n\t\t\t\t\tif ( ret !== undefined ) {\n\t\t\t\t\t\tif ( ( event.result = ret ) === false ) {\n\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Call the postDispatch hook for the mapped type\n\t\tif ( special.postDispatch ) {\n\t\t\tspecial.postDispatch.call( this, event );\n\t\t}\n\n\t\treturn event.result;\n\t},\n\n\thandlers: function( event, handlers ) {\n\t\tvar i, handleObj, sel, matchedHandlers, matchedSelectors,\n\t\t\thandlerQueue = [],\n\t\t\tdelegateCount = handlers.delegateCount,\n\t\t\tcur = event.target;\n\n\t\t// Find delegate handlers\n\t\tif ( delegateCount &&\n\n\t\t\t// Support: IE <=9\n\t\t\t// Black-hole SVG <use> instance trees (trac-13180)\n\t\t\tcur.nodeType &&\n\n\t\t\t// Support: Firefox <=42\n\t\t\t// Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861)\n\t\t\t// https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click\n\t\t\t// Support: IE 11 only\n\t\t\t// ...but not arrow key \"clicks\" of radio inputs, which can have `button` -1 (gh-2343)\n\t\t\t!( event.type === \"click\" && event.button >= 1 ) ) {\n\n\t\t\tfor ( ; cur !== this; cur = cur.parentNode || this ) {\n\n\t\t\t\t// Don't check non-elements (#13208)\n\t\t\t\t// Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)\n\t\t\t\tif ( cur.nodeType === 1 && !( event.type === \"click\" && cur.disabled === true ) ) {\n\t\t\t\t\tmatchedHandlers = [];\n\t\t\t\t\tmatchedSelectors = {};\n\t\t\t\t\tfor ( i = 0; i < delegateCount; i++ ) {\n\t\t\t\t\t\thandleObj = handlers[ i ];\n\n\t\t\t\t\t\t// Don't conflict with Object.prototype properties (#13203)\n\t\t\t\t\t\tsel = handleObj.selector + \" \";\n\n\t\t\t\t\t\tif ( matchedSelectors[ sel ] === undefined ) {\n\t\t\t\t\t\t\tmatchedSelectors[ sel ] = handleObj.needsContext ?\n\t\t\t\t\t\t\t\tjQuery( sel, this ).index( cur ) > -1 :\n\t\t\t\t\t\t\t\tjQuery.find( sel, this, null, [ cur ] ).length;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif ( matchedSelectors[ sel ] ) {\n\t\t\t\t\t\t\tmatchedHandlers.push( handleObj );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( matchedHandlers.length ) {\n\t\t\t\t\t\thandlerQueue.push( { elem: cur, handlers: matchedHandlers } );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Add the remaining (directly-bound) handlers\n\t\tcur = this;\n\t\tif ( delegateCount < handlers.length ) {\n\t\t\thandlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } );\n\t\t}\n\n\t\treturn handlerQueue;\n\t},\n\n\taddProp: function( name, hook ) {\n\t\tObject.defineProperty( jQuery.Event.prototype, name, {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: true,\n\n\t\t\tget: isFunction( hook ) ?\n\t\t\t\tfunction() {\n\t\t\t\t\tif ( this.originalEvent ) {\n\t\t\t\t\t\t\treturn hook( this.originalEvent );\n\t\t\t\t\t}\n\t\t\t\t} :\n\t\t\t\tfunction() {\n\t\t\t\t\tif ( this.originalEvent ) {\n\t\t\t\t\t\t\treturn this.originalEvent[ name ];\n\t\t\t\t\t}\n\t\t\t\t},\n\n\t\t\tset: function( value ) {\n\t\t\t\tObject.defineProperty( this, name, {\n\t\t\t\t\tenumerable: true,\n\t\t\t\t\tconfigurable: true,\n\t\t\t\t\twritable: true,\n\t\t\t\t\tvalue: value\n\t\t\t\t} );\n\t\t\t}\n\t\t} );\n\t},\n\n\tfix: function( originalEvent ) {\n\t\treturn originalEvent[ jQuery.expando ] ?\n\t\t\toriginalEvent :\n\t\t\tnew jQuery.Event( originalEvent );\n\t},\n\n\tspecial: {\n\t\tload: {\n\n\t\t\t// Prevent triggered image.load events from bubbling to window.load\n\t\t\tnoBubble: true\n\t\t},\n\t\tfocus: {\n\n\t\t\t// Fire native event if possible so blur/focus sequence is correct\n\t\t\ttrigger: function() {\n\t\t\t\tif ( this !== safeActiveElement() && this.focus ) {\n\t\t\t\t\tthis.focus();\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t},\n\t\t\tdelegateType: \"focusin\"\n\t\t},\n\t\tblur: {\n\t\t\ttrigger: function() {\n\t\t\t\tif ( this === safeActiveElement() && this.blur ) {\n\t\t\t\t\tthis.blur();\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t},\n\t\t\tdelegateType: \"focusout\"\n\t\t},\n\t\tclick: {\n\n\t\t\t// For checkbox, fire native event so checked state will be right\n\t\t\ttrigger: function() {\n\t\t\t\tif ( this.type === \"checkbox\" && this.click && nodeName( this, \"input\" ) ) {\n\t\t\t\t\tthis.click();\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t},\n\n\t\t\t// For cross-browser consistency, don't fire native .click() on links\n\t\t\t_default: function( event ) {\n\t\t\t\treturn nodeName( event.target, \"a\" );\n\t\t\t}\n\t\t},\n\n\t\tbeforeunload: {\n\t\t\tpostDispatch: function( event ) {\n\n\t\t\t\t// Support: Firefox 20+\n\t\t\t\t// Firefox doesn't alert if the returnValue field is not set.\n\t\t\t\tif ( event.result !== undefined && event.originalEvent ) {\n\t\t\t\t\tevent.originalEvent.returnValue = event.result;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n};\n\njQuery.removeEvent = function( elem, type, handle ) {\n\n\t// This \"if\" is needed for plain objects\n\tif ( elem.removeEventListener ) {\n\t\telem.removeEventListener( type, handle );\n\t}\n};\n\njQuery.Event = function( src, props ) {\n\n\t// Allow instantiation without the 'new' keyword\n\tif ( !( this instanceof jQuery.Event ) ) {\n\t\treturn new jQuery.Event( src, props );\n\t}\n\n\t// Event object\n\tif ( src && src.type ) {\n\t\tthis.originalEvent = src;\n\t\tthis.type = src.type;\n\n\t\t// Events bubbling up the document may have been marked as prevented\n\t\t// by a handler lower down the tree; reflect the correct value.\n\t\tthis.isDefaultPrevented = src.defaultPrevented ||\n\t\t\t\tsrc.defaultPrevented === undefined &&\n\n\t\t\t\t// Support: Android <=2.3 only\n\t\t\t\tsrc.returnValue === false ?\n\t\t\treturnTrue :\n\t\t\treturnFalse;\n\n\t\t// Create target properties\n\t\t// Support: Safari <=6 - 7 only\n\t\t// Target should not be a text node (#504, #13143)\n\t\tthis.target = ( src.target && src.target.nodeType === 3 ) ?\n\t\t\tsrc.target.parentNode :\n\t\t\tsrc.target;\n\n\t\tthis.currentTarget = src.currentTarget;\n\t\tthis.relatedTarget = src.relatedTarget;\n\n\t// Event type\n\t} else {\n\t\tthis.type = src;\n\t}\n\n\t// Put explicitly provided properties onto the event object\n\tif ( props ) {\n\t\tjQuery.extend( this, props );\n\t}\n\n\t// Create a timestamp if incoming event doesn't have one\n\tthis.timeStamp = src && src.timeStamp || Date.now();\n\n\t// Mark it as fixed\n\tthis[ jQuery.expando ] = true;\n};\n\n// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding\n// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html\njQuery.Event.prototype = {\n\tconstructor: jQuery.Event,\n\tisDefaultPrevented: returnFalse,\n\tisPropagationStopped: returnFalse,\n\tisImmediatePropagationStopped: returnFalse,\n\tisSimulated: false,\n\n\tpreventDefault: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isDefaultPrevented = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.preventDefault();\n\t\t}\n\t},\n\tstopPropagation: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isPropagationStopped = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.stopPropagation();\n\t\t}\n\t},\n\tstopImmediatePropagation: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isImmediatePropagationStopped = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.stopImmediatePropagation();\n\t\t}\n\n\t\tthis.stopPropagation();\n\t}\n};\n\n// Includes all common event props including KeyEvent and MouseEvent specific props\njQuery.each( {\n\taltKey: true,\n\tbubbles: true,\n\tcancelable: true,\n\tchangedTouches: true,\n\tctrlKey: true,\n\tdetail: true,\n\teventPhase: true,\n\tmetaKey: true,\n\tpageX: true,\n\tpageY: true,\n\tshiftKey: true,\n\tview: true,\n\t\"char\": true,\n\tcharCode: true,\n\tkey: true,\n\tkeyCode: true,\n\tbutton: true,\n\tbuttons: true,\n\tclientX: true,\n\tclientY: true,\n\toffsetX: true,\n\toffsetY: true,\n\tpointerId: true,\n\tpointerType: true,\n\tscreenX: true,\n\tscreenY: true,\n\ttargetTouches: true,\n\ttoElement: true,\n\ttouches: true,\n\n\twhich: function( event ) {\n\t\tvar button = event.button;\n\n\t\t// Add which for key events\n\t\tif ( event.which == null && rkeyEvent.test( event.type ) ) {\n\t\t\treturn event.charCode != null ? event.charCode : event.keyCode;\n\t\t}\n\n\t\t// Add which for click: 1 === left; 2 === middle; 3 === right\n\t\tif ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) {\n\t\t\tif ( button & 1 ) {\n\t\t\t\treturn 1;\n\t\t\t}\n\n\t\t\tif ( button & 2 ) {\n\t\t\t\treturn 3;\n\t\t\t}\n\n\t\t\tif ( button & 4 ) {\n\t\t\t\treturn 2;\n\t\t\t}\n\n\t\t\treturn 0;\n\t\t}\n\n\t\treturn event.which;\n\t}\n}, jQuery.event.addProp );\n\n// Create mouseenter/leave events using mouseover/out and event-time checks\n// so that event delegation works in jQuery.\n// Do the same for pointerenter/pointerleave and pointerover/pointerout\n//\n// Support: Safari 7 only\n// Safari sends mouseenter too often; see:\n// https://bugs.chromium.org/p/chromium/issues/detail?id=470258\n// for the description of the bug (it existed in older Chrome versions as well).\njQuery.each( {\n\tmouseenter: \"mouseover\",\n\tmouseleave: \"mouseout\",\n\tpointerenter: \"pointerover\",\n\tpointerleave: \"pointerout\"\n}, function( orig, fix ) {\n\tjQuery.event.special[ orig ] = {\n\t\tdelegateType: fix,\n\t\tbindType: fix,\n\n\t\thandle: function( event ) {\n\t\t\tvar ret,\n\t\t\t\ttarget = this,\n\t\t\t\trelated = event.relatedTarget,\n\t\t\t\thandleObj = event.handleObj;\n\n\t\t\t// For mouseenter/leave call the handler if related is outside the target.\n\t\t\t// NB: No relatedTarget if the mouse left/entered the browser window\n\t\t\tif ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) {\n\t\t\t\tevent.type = handleObj.origType;\n\t\t\t\tret = handleObj.handler.apply( this, arguments );\n\t\t\t\tevent.type = fix;\n\t\t\t}\n\t\t\treturn ret;\n\t\t}\n\t};\n} );\n\njQuery.fn.extend( {\n\n\ton: function( types, selector, data, fn ) {\n\t\treturn on( this, types, selector, data, fn );\n\t},\n\tone: function( types, selector, data, fn ) {\n\t\treturn on( this, types, selector, data, fn, 1 );\n\t},\n\toff: function( types, selector, fn ) {\n\t\tvar handleObj, type;\n\t\tif ( types && types.preventDefault && types.handleObj ) {\n\n\t\t\t// ( event ) dispatched jQuery.Event\n\t\t\thandleObj = types.handleObj;\n\t\t\tjQuery( types.delegateTarget ).off(\n\t\t\t\thandleObj.namespace ?\n\t\t\t\t\thandleObj.origType + \".\" + handleObj.namespace :\n\t\t\t\t\thandleObj.origType,\n\t\t\t\thandleObj.selector,\n\t\t\t\thandleObj.handler\n\t\t\t);\n\t\t\treturn this;\n\t\t}\n\t\tif ( typeof types === \"object\" ) {\n\n\t\t\t// ( types-object [, selector] )\n\t\t\tfor ( type in types ) {\n\t\t\t\tthis.off( type, selector, types[ type ] );\n\t\t\t}\n\t\t\treturn this;\n\t\t}\n\t\tif ( selector === false || typeof selector === \"function\" ) {\n\n\t\t\t// ( types [, fn] )\n\t\t\tfn = selector;\n\t\t\tselector = undefined;\n\t\t}\n\t\tif ( fn === false ) {\n\t\t\tfn = returnFalse;\n\t\t}\n\t\treturn this.each( function() {\n\t\t\tjQuery.event.remove( this, types, fn, selector );\n\t\t} );\n\t}\n} );\n\n\nvar\n\n\t/* eslint-disable max-len */\n\n\t// See https://github.com/eslint/eslint/issues/3229\n\trxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\\/\\0>\\x20\\t\\r\\n\\f]*)[^>]*)\\/>/gi,\n\n\t/* eslint-enable */\n\n\t// Support: IE <=10 - 11, Edge 12 - 13 only\n\t// In IE/Edge using regex groups here causes severe slowdowns.\n\t// See https://connect.microsoft.com/IE/feedback/details/1736512/\n\trnoInnerhtml = /<script|<style|<link/i,\n\n\t// checked=\"checked\" or checked\n\trchecked = /checked\\s*(?:[^=]|=\\s*.checked.)/i,\n\trcleanScript = /^\\s*<!(?:\\[CDATA\\[|--)|(?:\\]\\]|--)>\\s*$/g;\n\n// Prefer a tbody over its parent table for containing new rows\nfunction manipulationTarget( elem, content ) {\n\tif ( nodeName( elem, \"table\" ) &&\n\t\tnodeName( content.nodeType !== 11 ? content : content.firstChild, \"tr\" ) ) {\n\n\t\treturn jQuery( elem ).children( \"tbody\" )[ 0 ] || elem;\n\t}\n\n\treturn elem;\n}\n\n// Replace/restore the type attribute of script elements for safe DOM manipulation\nfunction disableScript( elem ) {\n\telem.type = ( elem.getAttribute( \"type\" ) !== null ) + \"/\" + elem.type;\n\treturn elem;\n}\nfunction restoreScript( elem ) {\n\tif ( ( elem.type || \"\" ).slice( 0, 5 ) === \"true/\" ) {\n\t\telem.type = elem.type.slice( 5 );\n\t} else {\n\t\telem.removeAttribute( \"type\" );\n\t}\n\n\treturn elem;\n}\n\nfunction cloneCopyEvent( src, dest ) {\n\tvar i, l, type, pdataOld, pdataCur, udataOld, udataCur, events;\n\n\tif ( dest.nodeType !== 1 ) {\n\t\treturn;\n\t}\n\n\t// 1. Copy private data: events, handlers, etc.\n\tif ( dataPriv.hasData( src ) ) {\n\t\tpdataOld = dataPriv.access( src );\n\t\tpdataCur = dataPriv.set( dest, pdataOld );\n\t\tevents = pdataOld.events;\n\n\t\tif ( events ) {\n\t\t\tdelete pdataCur.handle;\n\t\t\tpdataCur.events = {};\n\n\t\t\tfor ( type in events ) {\n\t\t\t\tfor ( i = 0, l = events[ type ].length; i < l; i++ ) {\n\t\t\t\t\tjQuery.event.add( dest, type, events[ type ][ i ] );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// 2. Copy user data\n\tif ( dataUser.hasData( src ) ) {\n\t\tudataOld = dataUser.access( src );\n\t\tudataCur = jQuery.extend( {}, udataOld );\n\n\t\tdataUser.set( dest, udataCur );\n\t}\n}\n\n// Fix IE bugs, see support tests\nfunction fixInput( src, dest ) {\n\tvar nodeName = dest.nodeName.toLowerCase();\n\n\t// Fails to persist the checked state of a cloned checkbox or radio button.\n\tif ( nodeName === \"input\" && rcheckableType.test( src.type ) ) {\n\t\tdest.checked = src.checked;\n\n\t// Fails to return the selected option to the default selected state when cloning options\n\t} else if ( nodeName === \"input\" || nodeName === \"textarea\" ) {\n\t\tdest.defaultValue = src.defaultValue;\n\t}\n}\n\nfunction domManip( collection, args, callback, ignored ) {\n\n\t// Flatten any nested arrays\n\targs = concat.apply( [], args );\n\n\tvar fragment, first, scripts, hasScripts, node, doc,\n\t\ti = 0,\n\t\tl = collection.length,\n\t\tiNoClone = l - 1,\n\t\tvalue = args[ 0 ],\n\t\tvalueIsFunction = isFunction( value );\n\n\t// We can't cloneNode fragments that contain checked, in WebKit\n\tif ( valueIsFunction ||\n\t\t\t( l > 1 && typeof value === \"string\" &&\n\t\t\t\t!support.checkClone && rchecked.test( value ) ) ) {\n\t\treturn collection.each( function( index ) {\n\t\t\tvar self = collection.eq( index );\n\t\t\tif ( valueIsFunction ) {\n\t\t\t\targs[ 0 ] = value.call( this, index, self.html() );\n\t\t\t}\n\t\t\tdomManip( self, args, callback, ignored );\n\t\t} );\n\t}\n\n\tif ( l ) {\n\t\tfragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored );\n\t\tfirst = fragment.firstChild;\n\n\t\tif ( fragment.childNodes.length === 1 ) {\n\t\t\tfragment = first;\n\t\t}\n\n\t\t// Require either new content or an interest in ignored elements to invoke the callback\n\t\tif ( first || ignored ) {\n\t\t\tscripts = jQuery.map( getAll( fragment, \"script\" ), disableScript );\n\t\t\thasScripts = scripts.length;\n\n\t\t\t// Use the original fragment for the last item\n\t\t\t// instead of the first because it can end up\n\t\t\t// being emptied incorrectly in certain situations (#8070).\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tnode = fragment;\n\n\t\t\t\tif ( i !== iNoClone ) {\n\t\t\t\t\tnode = jQuery.clone( node, true, true );\n\n\t\t\t\t\t// Keep references to cloned scripts for later restoration\n\t\t\t\t\tif ( hasScripts ) {\n\n\t\t\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\t\t\tjQuery.merge( scripts, getAll( node, \"script\" ) );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tcallback.call( collection[ i ], node, i );\n\t\t\t}\n\n\t\t\tif ( hasScripts ) {\n\t\t\t\tdoc = scripts[ scripts.length - 1 ].ownerDocument;\n\n\t\t\t\t// Reenable scripts\n\t\t\t\tjQuery.map( scripts, restoreScript );\n\n\t\t\t\t// Evaluate executable scripts on first document insertion\n\t\t\t\tfor ( i = 0; i < hasScripts; i++ ) {\n\t\t\t\t\tnode = scripts[ i ];\n\t\t\t\t\tif ( rscriptType.test( node.type || \"\" ) &&\n\t\t\t\t\t\t!dataPriv.access( node, \"globalEval\" ) &&\n\t\t\t\t\t\tjQuery.contains( doc, node ) ) {\n\n\t\t\t\t\t\tif ( node.src && ( node.type || \"\" ).toLowerCase() !== \"module\" ) {\n\n\t\t\t\t\t\t\t// Optional AJAX dependency, but won't run scripts if not present\n\t\t\t\t\t\t\tif ( jQuery._evalUrl ) {\n\t\t\t\t\t\t\t\tjQuery._evalUrl( node.src );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tDOMEval( node.textContent.replace( rcleanScript, \"\" ), doc, node );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn collection;\n}\n\nfunction remove( elem, selector, keepData ) {\n\tvar node,\n\t\tnodes = selector ? jQuery.filter( selector, elem ) : elem,\n\t\ti = 0;\n\n\tfor ( ; ( node = nodes[ i ] ) != null; i++ ) {\n\t\tif ( !keepData && node.nodeType === 1 ) {\n\t\t\tjQuery.cleanData( getAll( node ) );\n\t\t}\n\n\t\tif ( node.parentNode ) {\n\t\t\tif ( keepData && jQuery.contains( node.ownerDocument, node ) ) {\n\t\t\t\tsetGlobalEval( getAll( node, \"script\" ) );\n\t\t\t}\n\t\t\tnode.parentNode.removeChild( node );\n\t\t}\n\t}\n\n\treturn elem;\n}\n\njQuery.extend( {\n\thtmlPrefilter: function( html ) {\n\t\treturn html.replace( rxhtmlTag, \"<$1></$2>\" );\n\t},\n\n\tclone: function( elem, dataAndEvents, deepDataAndEvents ) {\n\t\tvar i, l, srcElements, destElements,\n\t\t\tclone = elem.cloneNode( true ),\n\t\t\tinPage = jQuery.contains( elem.ownerDocument, elem );\n\n\t\t// Fix IE cloning issues\n\t\tif ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) &&\n\t\t\t\t!jQuery.isXMLDoc( elem ) ) {\n\n\t\t\t// We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2\n\t\t\tdestElements = getAll( clone );\n\t\t\tsrcElements = getAll( elem );\n\n\t\t\tfor ( i = 0, l = srcElements.length; i < l; i++ ) {\n\t\t\t\tfixInput( srcElements[ i ], destElements[ i ] );\n\t\t\t}\n\t\t}\n\n\t\t// Copy the events from the original to the clone\n\t\tif ( dataAndEvents ) {\n\t\t\tif ( deepDataAndEvents ) {\n\t\t\t\tsrcElements = srcElements || getAll( elem );\n\t\t\t\tdestElements = destElements || getAll( clone );\n\n\t\t\t\tfor ( i = 0, l = srcElements.length; i < l; i++ ) {\n\t\t\t\t\tcloneCopyEvent( srcElements[ i ], destElements[ i ] );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tcloneCopyEvent( elem, clone );\n\t\t\t}\n\t\t}\n\n\t\t// Preserve script evaluation history\n\t\tdestElements = getAll( clone, \"script\" );\n\t\tif ( destElements.length > 0 ) {\n\t\t\tsetGlobalEval( destElements, !inPage && getAll( elem, \"script\" ) );\n\t\t}\n\n\t\t// Return the cloned set\n\t\treturn clone;\n\t},\n\n\tcleanData: function( elems ) {\n\t\tvar data, elem, type,\n\t\t\tspecial = jQuery.event.special,\n\t\t\ti = 0;\n\n\t\tfor ( ; ( elem = elems[ i ] ) !== undefined; i++ ) {\n\t\t\tif ( acceptData( elem ) ) {\n\t\t\t\tif ( ( data = elem[ dataPriv.expando ] ) ) {\n\t\t\t\t\tif ( data.events ) {\n\t\t\t\t\t\tfor ( type in data.events ) {\n\t\t\t\t\t\t\tif ( special[ type ] ) {\n\t\t\t\t\t\t\t\tjQuery.event.remove( elem, type );\n\n\t\t\t\t\t\t\t// This is a shortcut to avoid jQuery.event.remove's overhead\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tjQuery.removeEvent( elem, type, data.handle );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Support: Chrome <=35 - 45+\n\t\t\t\t\t// Assign undefined instead of using delete, see Data#remove\n\t\t\t\t\telem[ dataPriv.expando ] = undefined;\n\t\t\t\t}\n\t\t\t\tif ( elem[ dataUser.expando ] ) {\n\n\t\t\t\t\t// Support: Chrome <=35 - 45+\n\t\t\t\t\t// Assign undefined instead of using delete, see Data#remove\n\t\t\t\t\telem[ dataUser.expando ] = undefined;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n} );\n\njQuery.fn.extend( {\n\tdetach: function( selector ) {\n\t\treturn remove( this, selector, true );\n\t},\n\n\tremove: function( selector ) {\n\t\treturn remove( this, selector );\n\t},\n\n\ttext: function( value ) {\n\t\treturn access( this, function( value ) {\n\t\t\treturn value === undefined ?\n\t\t\t\tjQuery.text( this ) :\n\t\t\t\tthis.empty().each( function() {\n\t\t\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\t\t\tthis.textContent = value;\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t}, null, value, arguments.length );\n\t},\n\n\tappend: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\tvar target = manipulationTarget( this, elem );\n\t\t\t\ttarget.appendChild( elem );\n\t\t\t}\n\t\t} );\n\t},\n\n\tprepend: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\tvar target = manipulationTarget( this, elem );\n\t\t\t\ttarget.insertBefore( elem, target.firstChild );\n\t\t\t}\n\t\t} );\n\t},\n\n\tbefore: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.parentNode ) {\n\t\t\t\tthis.parentNode.insertBefore( elem, this );\n\t\t\t}\n\t\t} );\n\t},\n\n\tafter: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.parentNode ) {\n\t\t\t\tthis.parentNode.insertBefore( elem, this.nextSibling );\n\t\t\t}\n\t\t} );\n\t},\n\n\tempty: function() {\n\t\tvar elem,\n\t\t\ti = 0;\n\n\t\tfor ( ; ( elem = this[ i ] ) != null; i++ ) {\n\t\t\tif ( elem.nodeType === 1 ) {\n\n\t\t\t\t// Prevent memory leaks\n\t\t\t\tjQuery.cleanData( getAll( elem, false ) );\n\n\t\t\t\t// Remove any remaining nodes\n\t\t\t\telem.textContent = \"\";\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tclone: function( dataAndEvents, deepDataAndEvents ) {\n\t\tdataAndEvents = dataAndEvents == null ? false : dataAndEvents;\n\t\tdeepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;\n\n\t\treturn this.map( function() {\n\t\t\treturn jQuery.clone( this, dataAndEvents, deepDataAndEvents );\n\t\t} );\n\t},\n\n\thtml: function( value ) {\n\t\treturn access( this, function( value ) {\n\t\t\tvar elem = this[ 0 ] || {},\n\t\t\t\ti = 0,\n\t\t\t\tl = this.length;\n\n\t\t\tif ( value === undefined && elem.nodeType === 1 ) {\n\t\t\t\treturn elem.innerHTML;\n\t\t\t}\n\n\t\t\t// See if we can take a shortcut and just use innerHTML\n\t\t\tif ( typeof value === \"string\" && !rnoInnerhtml.test( value ) &&\n\t\t\t\t!wrapMap[ ( rtagName.exec( value ) || [ \"\", \"\" ] )[ 1 ].toLowerCase() ] ) {\n\n\t\t\t\tvalue = jQuery.htmlPrefilter( value );\n\n\t\t\t\ttry {\n\t\t\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\t\t\telem = this[ i ] || {};\n\n\t\t\t\t\t\t// Remove element nodes and prevent memory leaks\n\t\t\t\t\t\tif ( elem.nodeType === 1 ) {\n\t\t\t\t\t\t\tjQuery.cleanData( getAll( elem, false ) );\n\t\t\t\t\t\t\telem.innerHTML = value;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\telem = 0;\n\n\t\t\t\t// If using innerHTML throws an exception, use the fallback method\n\t\t\t\t} catch ( e ) {}\n\t\t\t}\n\n\t\t\tif ( elem ) {\n\t\t\t\tthis.empty().append( value );\n\t\t\t}\n\t\t}, null, value, arguments.length );\n\t},\n\n\treplaceWith: function() {\n\t\tvar ignored = [];\n\n\t\t// Make the changes, replacing each non-ignored context element with the new content\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tvar parent = this.parentNode;\n\n\t\t\tif ( jQuery.inArray( this, ignored ) < 0 ) {\n\t\t\t\tjQuery.cleanData( getAll( this ) );\n\t\t\t\tif ( parent ) {\n\t\t\t\t\tparent.replaceChild( elem, this );\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Force callback invocation\n\t\t}, ignored );\n\t}\n} );\n\njQuery.each( {\n\tappendTo: \"append\",\n\tprependTo: \"prepend\",\n\tinsertBefore: \"before\",\n\tinsertAfter: \"after\",\n\treplaceAll: \"replaceWith\"\n}, function( name, original ) {\n\tjQuery.fn[ name ] = function( selector ) {\n\t\tvar elems,\n\t\t\tret = [],\n\t\t\tinsert = jQuery( selector ),\n\t\t\tlast = insert.length - 1,\n\t\t\ti = 0;\n\n\t\tfor ( ; i <= last; i++ ) {\n\t\t\telems = i === last ? this : this.clone( true );\n\t\t\tjQuery( insert[ i ] )[ original ]( elems );\n\n\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t// .get() because push.apply(_, arraylike) throws on ancient WebKit\n\t\t\tpush.apply( ret, elems.get() );\n\t\t}\n\n\t\treturn this.pushStack( ret );\n\t};\n} );\nvar rnumnonpx = new RegExp( \"^(\" + pnum + \")(?!px)[a-z%]+$\", \"i\" );\n\nvar getStyles = function( elem ) {\n\n\t\t// Support: IE <=11 only, Firefox <=30 (#15098, #14150)\n\t\t// IE throws on elements created in popups\n\t\t// FF meanwhile throws on frame elements through \"defaultView.getComputedStyle\"\n\t\tvar view = elem.ownerDocument.defaultView;\n\n\t\tif ( !view || !view.opener ) {\n\t\t\tview = window;\n\t\t}\n\n\t\treturn view.getComputedStyle( elem );\n\t};\n\nvar rboxStyle = new RegExp( cssExpand.join( \"|\" ), \"i\" );\n\n\n\n( function() {\n\n\t// Executing both pixelPosition & boxSizingReliable tests require only one layout\n\t// so they're executed at the same time to save the second computation.\n\tfunction computeStyleTests() {\n\n\t\t// This is a singleton, we need to execute it only once\n\t\tif ( !div ) {\n\t\t\treturn;\n\t\t}\n\n\t\tcontainer.style.cssText = \"position:absolute;left:-11111px;width:60px;\" +\n\t\t\t\"margin-top:1px;padding:0;border:0\";\n\t\tdiv.style.cssText =\n\t\t\t\"position:relative;display:block;box-sizing:border-box;overflow:scroll;\" +\n\t\t\t\"margin:auto;border:1px;padding:1px;\" +\n\t\t\t\"width:60%;top:1%\";\n\t\tdocumentElement.appendChild( container ).appendChild( div );\n\n\t\tvar divStyle = window.getComputedStyle( div );\n\t\tpixelPositionVal = divStyle.top !== \"1%\";\n\n\t\t// Support: Android 4.0 - 4.3 only, Firefox <=3 - 44\n\t\treliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12;\n\n\t\t// Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3\n\t\t// Some styles come back with percentage values, even though they shouldn't\n\t\tdiv.style.right = \"60%\";\n\t\tpixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36;\n\n\t\t// Support: IE 9 - 11 only\n\t\t// Detect misreporting of content dimensions for box-sizing:border-box elements\n\t\tboxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36;\n\n\t\t// Support: IE 9 only\n\t\t// Detect overflow:scroll screwiness (gh-3699)\n\t\tdiv.style.position = \"absolute\";\n\t\tscrollboxSizeVal = div.offsetWidth === 36 || \"absolute\";\n\n\t\tdocumentElement.removeChild( container );\n\n\t\t// Nullify the div so it wouldn't be stored in the memory and\n\t\t// it will also be a sign that checks already performed\n\t\tdiv = null;\n\t}\n\n\tfunction roundPixelMeasures( measure ) {\n\t\treturn Math.round( parseFloat( measure ) );\n\t}\n\n\tvar pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal,\n\t\treliableMarginLeftVal,\n\t\tcontainer = document.createElement( \"div\" ),\n\t\tdiv = document.createElement( \"div\" );\n\n\t// Finish early in limited (non-browser) environments\n\tif ( !div.style ) {\n\t\treturn;\n\t}\n\n\t// Support: IE <=9 - 11 only\n\t// Style of cloned element affects source element cloned (#8908)\n\tdiv.style.backgroundClip = \"content-box\";\n\tdiv.cloneNode( true ).style.backgroundClip = \"\";\n\tsupport.clearCloneStyle = div.style.backgroundClip === \"content-box\";\n\n\tjQuery.extend( support, {\n\t\tboxSizingReliable: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn boxSizingReliableVal;\n\t\t},\n\t\tpixelBoxStyles: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn pixelBoxStylesVal;\n\t\t},\n\t\tpixelPosition: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn pixelPositionVal;\n\t\t},\n\t\treliableMarginLeft: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn reliableMarginLeftVal;\n\t\t},\n\t\tscrollboxSize: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn scrollboxSizeVal;\n\t\t}\n\t} );\n} )();\n\n\nfunction curCSS( elem, name, computed ) {\n\tvar width, minWidth, maxWidth, ret,\n\n\t\t// Support: Firefox 51+\n\t\t// Retrieving style before computed somehow\n\t\t// fixes an issue with getting wrong values\n\t\t// on detached elements\n\t\tstyle = elem.style;\n\n\tcomputed = computed || getStyles( elem );\n\n\t// getPropertyValue is needed for:\n\t// .css('filter') (IE 9 only, #12537)\n\t// .css('--customProperty) (#3144)\n\tif ( computed ) {\n\t\tret = computed.getPropertyValue( name ) || computed[ name ];\n\n\t\tif ( ret === \"\" && !jQuery.contains( elem.ownerDocument, elem ) ) {\n\t\t\tret = jQuery.style( elem, name );\n\t\t}\n\n\t\t// A tribute to the \"awesome hack by Dean Edwards\"\n\t\t// Android Browser returns percentage for some values,\n\t\t// but width seems to be reliably pixels.\n\t\t// This is against the CSSOM draft spec:\n\t\t// https://drafts.csswg.org/cssom/#resolved-values\n\t\tif ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) {\n\n\t\t\t// Remember the original values\n\t\t\twidth = style.width;\n\t\t\tminWidth = style.minWidth;\n\t\t\tmaxWidth = style.maxWidth;\n\n\t\t\t// Put in the new values to get a computed value out\n\t\t\tstyle.minWidth = style.maxWidth = style.width = ret;\n\t\t\tret = computed.width;\n\n\t\t\t// Revert the changed values\n\t\t\tstyle.width = width;\n\t\t\tstyle.minWidth = minWidth;\n\t\t\tstyle.maxWidth = maxWidth;\n\t\t}\n\t}\n\n\treturn ret !== undefined ?\n\n\t\t// Support: IE <=9 - 11 only\n\t\t// IE returns zIndex value as an integer.\n\t\tret + \"\" :\n\t\tret;\n}\n\n\nfunction addGetHookIf( conditionFn, hookFn ) {\n\n\t// Define the hook, we'll check on the first run if it's really needed.\n\treturn {\n\t\tget: function() {\n\t\t\tif ( conditionFn() ) {\n\n\t\t\t\t// Hook not needed (or it's not possible to use it due\n\t\t\t\t// to missing dependency), remove it.\n\t\t\t\tdelete this.get;\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Hook needed; redefine it so that the support test is not executed again.\n\t\t\treturn ( this.get = hookFn ).apply( this, arguments );\n\t\t}\n\t};\n}\n\n\nvar\n\n\t// Swappable if display is none or starts with table\n\t// except \"table\", \"table-cell\", or \"table-caption\"\n\t// See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display\n\trdisplayswap = /^(none|table(?!-c[ea]).+)/,\n\trcustomProp = /^--/,\n\tcssShow = { position: \"absolute\", visibility: \"hidden\", display: \"block\" },\n\tcssNormalTransform = {\n\t\tletterSpacing: \"0\",\n\t\tfontWeight: \"400\"\n\t},\n\n\tcssPrefixes = [ \"Webkit\", \"Moz\", \"ms\" ],\n\temptyStyle = document.createElement( \"div\" ).style;\n\n// Return a css property mapped to a potentially vendor prefixed property\nfunction vendorPropName( name ) {\n\n\t// Shortcut for names that are not vendor prefixed\n\tif ( name in emptyStyle ) {\n\t\treturn name;\n\t}\n\n\t// Check for vendor prefixed names\n\tvar capName = name[ 0 ].toUpperCase() + name.slice( 1 ),\n\t\ti = cssPrefixes.length;\n\n\twhile ( i-- ) {\n\t\tname = cssPrefixes[ i ] + capName;\n\t\tif ( name in emptyStyle ) {\n\t\t\treturn name;\n\t\t}\n\t}\n}\n\n// Return a property mapped along what jQuery.cssProps suggests or to\n// a vendor prefixed property.\nfunction finalPropName( name ) {\n\tvar ret = jQuery.cssProps[ name ];\n\tif ( !ret ) {\n\t\tret = jQuery.cssProps[ name ] = vendorPropName( name ) || name;\n\t}\n\treturn ret;\n}\n\nfunction setPositiveNumber( elem, value, subtract ) {\n\n\t// Any relative (+/-) values have already been\n\t// normalized at this point\n\tvar matches = rcssNum.exec( value );\n\treturn matches ?\n\n\t\t// Guard against undefined \"subtract\", e.g., when used as in cssHooks\n\t\tMath.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || \"px\" ) :\n\t\tvalue;\n}\n\nfunction boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) {\n\tvar i = dimension === \"width\" ? 1 : 0,\n\t\textra = 0,\n\t\tdelta = 0;\n\n\t// Adjustment may not be necessary\n\tif ( box === ( isBorderBox ? \"border\" : \"content\" ) ) {\n\t\treturn 0;\n\t}\n\n\tfor ( ; i < 4; i += 2 ) {\n\n\t\t// Both box models exclude margin\n\t\tif ( box === \"margin\" ) {\n\t\t\tdelta += jQuery.css( elem, box + cssExpand[ i ], true, styles );\n\t\t}\n\n\t\t// If we get here with a content-box, we're seeking \"padding\" or \"border\" or \"margin\"\n\t\tif ( !isBorderBox ) {\n\n\t\t\t// Add padding\n\t\t\tdelta += jQuery.css( elem, \"padding\" + cssExpand[ i ], true, styles );\n\n\t\t\t// For \"border\" or \"margin\", add border\n\t\t\tif ( box !== \"padding\" ) {\n\t\t\t\tdelta += jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\n\t\t\t// But still keep track of it otherwise\n\t\t\t} else {\n\t\t\t\textra += jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\t\t\t}\n\n\t\t// If we get here with a border-box (content + padding + border), we're seeking \"content\" or\n\t\t// \"padding\" or \"margin\"\n\t\t} else {\n\n\t\t\t// For \"content\", subtract padding\n\t\t\tif ( box === \"content\" ) {\n\t\t\t\tdelta -= jQuery.css( elem, \"padding\" + cssExpand[ i ], true, styles );\n\t\t\t}\n\n\t\t\t// For \"content\" or \"padding\", subtract border\n\t\t\tif ( box !== \"margin\" ) {\n\t\t\t\tdelta -= jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\t\t\t}\n\t\t}\n\t}\n\n\t// Account for positive content-box scroll gutter when requested by providing computedVal\n\tif ( !isBorderBox && computedVal >= 0 ) {\n\n\t\t// offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border\n\t\t// Assuming integer scroll gutter, subtract the rest and round down\n\t\tdelta += Math.max( 0, Math.ceil(\n\t\t\telem[ \"offset\" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] -\n\t\t\tcomputedVal -\n\t\t\tdelta -\n\t\t\textra -\n\t\t\t0.5\n\t\t) );\n\t}\n\n\treturn delta;\n}\n\nfunction getWidthOrHeight( elem, dimension, extra ) {\n\n\t// Start with computed style\n\tvar styles = getStyles( elem ),\n\t\tval = curCSS( elem, dimension, styles ),\n\t\tisBorderBox = jQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\",\n\t\tvalueIsBorderBox = isBorderBox;\n\n\t// Support: Firefox <=54\n\t// Return a confounding non-pixel value or feign ignorance, as appropriate.\n\tif ( rnumnonpx.test( val ) ) {\n\t\tif ( !extra ) {\n\t\t\treturn val;\n\t\t}\n\t\tval = \"auto\";\n\t}\n\n\t// Check for style in case a browser which returns unreliable values\n\t// for getComputedStyle silently falls back to the reliable elem.style\n\tvalueIsBorderBox = valueIsBorderBox &&\n\t\t( support.boxSizingReliable() || val === elem.style[ dimension ] );\n\n\t// Fall back to offsetWidth/offsetHeight when value is \"auto\"\n\t// This happens for inline elements with no explicit setting (gh-3571)\n\t// Support: Android <=4.1 - 4.3 only\n\t// Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602)\n\tif ( val === \"auto\" ||\n\t\t!parseFloat( val ) && jQuery.css( elem, \"display\", false, styles ) === \"inline\" ) {\n\n\t\tval = elem[ \"offset\" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ];\n\n\t\t// offsetWidth/offsetHeight provide border-box values\n\t\tvalueIsBorderBox = true;\n\t}\n\n\t// Normalize \"\" and auto\n\tval = parseFloat( val ) || 0;\n\n\t// Adjust for the element's box model\n\treturn ( val +\n\t\tboxModelAdjustment(\n\t\t\telem,\n\t\t\tdimension,\n\t\t\textra || ( isBorderBox ? \"border\" : \"content\" ),\n\t\t\tvalueIsBorderBox,\n\t\t\tstyles,\n\n\t\t\t// Provide the current computed size to request scroll gutter calculation (gh-3589)\n\t\t\tval\n\t\t)\n\t) + \"px\";\n}\n\njQuery.extend( {\n\n\t// Add in style property hooks for overriding the default\n\t// behavior of getting and setting a style property\n\tcssHooks: {\n\t\topacity: {\n\t\t\tget: function( elem, computed ) {\n\t\t\t\tif ( computed ) {\n\n\t\t\t\t\t// We should always get a number back from opacity\n\t\t\t\t\tvar ret = curCSS( elem, \"opacity\" );\n\t\t\t\t\treturn ret === \"\" ? \"1\" : ret;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\t// Don't automatically add \"px\" to these possibly-unitless properties\n\tcssNumber: {\n\t\t\"animationIterationCount\": true,\n\t\t\"columnCount\": true,\n\t\t\"fillOpacity\": true,\n\t\t\"flexGrow\": true,\n\t\t\"flexShrink\": true,\n\t\t\"fontWeight\": true,\n\t\t\"lineHeight\": true,\n\t\t\"opacity\": true,\n\t\t\"order\": true,\n\t\t\"orphans\": true,\n\t\t\"widows\": true,\n\t\t\"zIndex\": true,\n\t\t\"zoom\": true\n\t},\n\n\t// Add in properties whose names you wish to fix before\n\t// setting or getting the value\n\tcssProps: {},\n\n\t// Get and set the style property on a DOM Node\n\tstyle: function( elem, name, value, extra ) {\n\n\t\t// Don't set styles on text and comment nodes\n\t\tif ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Make sure that we're working with the right name\n\t\tvar ret, type, hooks,\n\t\t\torigName = camelCase( name ),\n\t\t\tisCustomProp = rcustomProp.test( name ),\n\t\t\tstyle = elem.style;\n\n\t\t// Make sure that we're working with the right name. We don't\n\t\t// want to query the value if it is a CSS custom property\n\t\t// since they are user-defined.\n\t\tif ( !isCustomProp ) {\n\t\t\tname = finalPropName( origName );\n\t\t}\n\n\t\t// Gets hook for the prefixed version, then unprefixed version\n\t\thooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];\n\n\t\t// Check if we're setting a value\n\t\tif ( value !== undefined ) {\n\t\t\ttype = typeof value;\n\n\t\t\t// Convert \"+=\" or \"-=\" to relative numbers (#7345)\n\t\t\tif ( type === \"string\" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) {\n\t\t\t\tvalue = adjustCSS( elem, name, ret );\n\n\t\t\t\t// Fixes bug #9237\n\t\t\t\ttype = \"number\";\n\t\t\t}\n\n\t\t\t// Make sure that null and NaN values aren't set (#7116)\n\t\t\tif ( value == null || value !== value ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// If a number was passed in, add the unit (except for certain CSS properties)\n\t\t\tif ( type === \"number\" ) {\n\t\t\t\tvalue += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? \"\" : \"px\" );\n\t\t\t}\n\n\t\t\t// background-* props affect original clone's values\n\t\t\tif ( !support.clearCloneStyle && value === \"\" && name.indexOf( \"background\" ) === 0 ) {\n\t\t\t\tstyle[ name ] = \"inherit\";\n\t\t\t}\n\n\t\t\t// If a hook was provided, use that value, otherwise just set the specified value\n\t\t\tif ( !hooks || !( \"set\" in hooks ) ||\n\t\t\t\t( value = hooks.set( elem, value, extra ) ) !== undefined ) {\n\n\t\t\t\tif ( isCustomProp ) {\n\t\t\t\t\tstyle.setProperty( name, value );\n\t\t\t\t} else {\n\t\t\t\t\tstyle[ name ] = value;\n\t\t\t\t}\n\t\t\t}\n\n\t\t} else {\n\n\t\t\t// If a hook was provided get the non-computed value from there\n\t\t\tif ( hooks && \"get\" in hooks &&\n\t\t\t\t( ret = hooks.get( elem, false, extra ) ) !== undefined ) {\n\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\t// Otherwise just get the value from the style object\n\t\t\treturn style[ name ];\n\t\t}\n\t},\n\n\tcss: function( elem, name, extra, styles ) {\n\t\tvar val, num, hooks,\n\t\t\torigName = camelCase( name ),\n\t\t\tisCustomProp = rcustomProp.test( name );\n\n\t\t// Make sure that we're working with the right name. We don't\n\t\t// want to modify the value if it is a CSS custom property\n\t\t// since they are user-defined.\n\t\tif ( !isCustomProp ) {\n\t\t\tname = finalPropName( origName );\n\t\t}\n\n\t\t// Try prefixed name followed by the unprefixed name\n\t\thooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];\n\n\t\t// If a hook was provided get the computed value from there\n\t\tif ( hooks && \"get\" in hooks ) {\n\t\t\tval = hooks.get( elem, true, extra );\n\t\t}\n\n\t\t// Otherwise, if a way to get the computed value exists, use that\n\t\tif ( val === undefined ) {\n\t\t\tval = curCSS( elem, name, styles );\n\t\t}\n\n\t\t// Convert \"normal\" to computed value\n\t\tif ( val === \"normal\" && name in cssNormalTransform ) {\n\t\t\tval = cssNormalTransform[ name ];\n\t\t}\n\n\t\t// Make numeric if forced or a qualifier was provided and val looks numeric\n\t\tif ( extra === \"\" || extra ) {\n\t\t\tnum = parseFloat( val );\n\t\t\treturn extra === true || isFinite( num ) ? num || 0 : val;\n\t\t}\n\n\t\treturn val;\n\t}\n} );\n\njQuery.each( [ \"height\", \"width\" ], function( i, dimension ) {\n\tjQuery.cssHooks[ dimension ] = {\n\t\tget: function( elem, computed, extra ) {\n\t\t\tif ( computed ) {\n\n\t\t\t\t// Certain elements can have dimension info if we invisibly show them\n\t\t\t\t// but it must have a current display style that would benefit\n\t\t\t\treturn rdisplayswap.test( jQuery.css( elem, \"display\" ) ) &&\n\n\t\t\t\t\t// Support: Safari 8+\n\t\t\t\t\t// Table columns in Safari have non-zero offsetWidth & zero\n\t\t\t\t\t// getBoundingClientRect().width unless display is changed.\n\t\t\t\t\t// Support: IE <=11 only\n\t\t\t\t\t// Running getBoundingClientRect on a disconnected node\n\t\t\t\t\t// in IE throws an error.\n\t\t\t\t\t( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ?\n\t\t\t\t\t\tswap( elem, cssShow, function() {\n\t\t\t\t\t\t\treturn getWidthOrHeight( elem, dimension, extra );\n\t\t\t\t\t\t} ) :\n\t\t\t\t\t\tgetWidthOrHeight( elem, dimension, extra );\n\t\t\t}\n\t\t},\n\n\t\tset: function( elem, value, extra ) {\n\t\t\tvar matches,\n\t\t\t\tstyles = getStyles( elem ),\n\t\t\t\tisBorderBox = jQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\",\n\t\t\t\tsubtract = extra && boxModelAdjustment(\n\t\t\t\t\telem,\n\t\t\t\t\tdimension,\n\t\t\t\t\textra,\n\t\t\t\t\tisBorderBox,\n\t\t\t\t\tstyles\n\t\t\t\t);\n\n\t\t\t// Account for unreliable border-box dimensions by comparing offset* to computed and\n\t\t\t// faking a content-box to get border and padding (gh-3699)\n\t\t\tif ( isBorderBox && support.scrollboxSize() === styles.position ) {\n\t\t\t\tsubtract -= Math.ceil(\n\t\t\t\t\telem[ \"offset\" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] -\n\t\t\t\t\tparseFloat( styles[ dimension ] ) -\n\t\t\t\t\tboxModelAdjustment( elem, dimension, \"border\", false, styles ) -\n\t\t\t\t\t0.5\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// Convert to pixels if value adjustment is needed\n\t\t\tif ( subtract && ( matches = rcssNum.exec( value ) ) &&\n\t\t\t\t( matches[ 3 ] || \"px\" ) !== \"px\" ) {\n\n\t\t\t\telem.style[ dimension ] = value;\n\t\t\t\tvalue = jQuery.css( elem, dimension );\n\t\t\t}\n\n\t\t\treturn setPositiveNumber( elem, value, subtract );\n\t\t}\n\t};\n} );\n\njQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft,\n\tfunction( elem, computed ) {\n\t\tif ( computed ) {\n\t\t\treturn ( parseFloat( curCSS( elem, \"marginLeft\" ) ) ||\n\t\t\t\telem.getBoundingClientRect().left -\n\t\t\t\t\tswap( elem, { marginLeft: 0 }, function() {\n\t\t\t\t\t\treturn elem.getBoundingClientRect().left;\n\t\t\t\t\t} )\n\t\t\t\t) + \"px\";\n\t\t}\n\t}\n);\n\n// These hooks are used by animate to expand properties\njQuery.each( {\n\tmargin: \"\",\n\tpadding: \"\",\n\tborder: \"Width\"\n}, function( prefix, suffix ) {\n\tjQuery.cssHooks[ prefix + suffix ] = {\n\t\texpand: function( value ) {\n\t\t\tvar i = 0,\n\t\t\t\texpanded = {},\n\n\t\t\t\t// Assumes a single number if not a string\n\t\t\t\tparts = typeof value === \"string\" ? value.split( \" \" ) : [ value ];\n\n\t\t\tfor ( ; i < 4; i++ ) {\n\t\t\t\texpanded[ prefix + cssExpand[ i ] + suffix ] =\n\t\t\t\t\tparts[ i ] || parts[ i - 2 ] || parts[ 0 ];\n\t\t\t}\n\n\t\t\treturn expanded;\n\t\t}\n\t};\n\n\tif ( prefix !== \"margin\" ) {\n\t\tjQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber;\n\t}\n} );\n\njQuery.fn.extend( {\n\tcss: function( name, value ) {\n\t\treturn access( this, function( elem, name, value ) {\n\t\t\tvar styles, len,\n\t\t\t\tmap = {},\n\t\t\t\ti = 0;\n\n\t\t\tif ( Array.isArray( name ) ) {\n\t\t\t\tstyles = getStyles( elem );\n\t\t\t\tlen = name.length;\n\n\t\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\t\tmap[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles );\n\t\t\t\t}\n\n\t\t\t\treturn map;\n\t\t\t}\n\n\t\t\treturn value !== undefined ?\n\t\t\t\tjQuery.style( elem, name, value ) :\n\t\t\t\tjQuery.css( elem, name );\n\t\t}, name, value, arguments.length > 1 );\n\t}\n} );\n\n\nfunction Tween( elem, options, prop, end, easing ) {\n\treturn new Tween.prototype.init( elem, options, prop, end, easing );\n}\njQuery.Tween = Tween;\n\nTween.prototype = {\n\tconstructor: Tween,\n\tinit: function( elem, options, prop, end, easing, unit ) {\n\t\tthis.elem = elem;\n\t\tthis.prop = prop;\n\t\tthis.easing = easing || jQuery.easing._default;\n\t\tthis.options = options;\n\t\tthis.start = this.now = this.cur();\n\t\tthis.end = end;\n\t\tthis.unit = unit || ( jQuery.cssNumber[ prop ] ? \"\" : \"px\" );\n\t},\n\tcur: function() {\n\t\tvar hooks = Tween.propHooks[ this.prop ];\n\n\t\treturn hooks && hooks.get ?\n\t\t\thooks.get( this ) :\n\t\t\tTween.propHooks._default.get( this );\n\t},\n\trun: function( percent ) {\n\t\tvar eased,\n\t\t\thooks = Tween.propHooks[ this.prop ];\n\n\t\tif ( this.options.duration ) {\n\t\t\tthis.pos = eased = jQuery.easing[ this.easing ](\n\t\t\t\tpercent, this.options.duration * percent, 0, 1, this.options.duration\n\t\t\t);\n\t\t} else {\n\t\t\tthis.pos = eased = percent;\n\t\t}\n\t\tthis.now = ( this.end - this.start ) * eased + this.start;\n\n\t\tif ( this.options.step ) {\n\t\t\tthis.options.step.call( this.elem, this.now, this );\n\t\t}\n\n\t\tif ( hooks && hooks.set ) {\n\t\t\thooks.set( this );\n\t\t} else {\n\t\t\tTween.propHooks._default.set( this );\n\t\t}\n\t\treturn this;\n\t}\n};\n\nTween.prototype.init.prototype = Tween.prototype;\n\nTween.propHooks = {\n\t_default: {\n\t\tget: function( tween ) {\n\t\t\tvar result;\n\n\t\t\t// Use a property on the element directly when it is not a DOM element,\n\t\t\t// or when there is no matching style property that exists.\n\t\t\tif ( tween.elem.nodeType !== 1 ||\n\t\t\t\ttween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) {\n\t\t\t\treturn tween.elem[ tween.prop ];\n\t\t\t}\n\n\t\t\t// Passing an empty string as a 3rd parameter to .css will automatically\n\t\t\t// attempt a parseFloat and fallback to a string if the parse fails.\n\t\t\t// Simple values such as \"10px\" are parsed to Float;\n\t\t\t// complex values such as \"rotate(1rad)\" are returned as-is.\n\t\t\tresult = jQuery.css( tween.elem, tween.prop, \"\" );\n\n\t\t\t// Empty strings, null, undefined and \"auto\" are converted to 0.\n\t\t\treturn !result || result === \"auto\" ? 0 : result;\n\t\t},\n\t\tset: function( tween ) {\n\n\t\t\t// Use step hook for back compat.\n\t\t\t// Use cssHook if its there.\n\t\t\t// Use .style if available and use plain properties where available.\n\t\t\tif ( jQuery.fx.step[ tween.prop ] ) {\n\t\t\t\tjQuery.fx.step[ tween.prop ]( tween );\n\t\t\t} else if ( tween.elem.nodeType === 1 &&\n\t\t\t\t( tween.elem.style[ jQuery.cssProps[ tween.prop ] ] != null ||\n\t\t\t\t\tjQuery.cssHooks[ tween.prop ] ) ) {\n\t\t\t\tjQuery.style( tween.elem, tween.prop, tween.now + tween.unit );\n\t\t\t} else {\n\t\t\t\ttween.elem[ tween.prop ] = tween.now;\n\t\t\t}\n\t\t}\n\t}\n};\n\n// Support: IE <=9 only\n// Panic based approach to setting things on disconnected nodes\nTween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {\n\tset: function( tween ) {\n\t\tif ( tween.elem.nodeType && tween.elem.parentNode ) {\n\t\t\ttween.elem[ tween.prop ] = tween.now;\n\t\t}\n\t}\n};\n\njQuery.easing = {\n\tlinear: function( p ) {\n\t\treturn p;\n\t},\n\tswing: function( p ) {\n\t\treturn 0.5 - Math.cos( p * Math.PI ) / 2;\n\t},\n\t_default: \"swing\"\n};\n\njQuery.fx = Tween.prototype.init;\n\n// Back compat <1.8 extension point\njQuery.fx.step = {};\n\n\n\n\nvar\n\tfxNow, inProgress,\n\trfxtypes = /^(?:toggle|show|hide)$/,\n\trrun = /queueHooks$/;\n\nfunction schedule() {\n\tif ( inProgress ) {\n\t\tif ( document.hidden === false && window.requestAnimationFrame ) {\n\t\t\twindow.requestAnimationFrame( schedule );\n\t\t} else {\n\t\t\twindow.setTimeout( schedule, jQuery.fx.interval );\n\t\t}\n\n\t\tjQuery.fx.tick();\n\t}\n}\n\n// Animations created synchronously will run synchronously\nfunction createFxNow() {\n\twindow.setTimeout( function() {\n\t\tfxNow = undefined;\n\t} );\n\treturn ( fxNow = Date.now() );\n}\n\n// Generate parameters to create a standard animation\nfunction genFx( type, includeWidth ) {\n\tvar which,\n\t\ti = 0,\n\t\tattrs = { height: type };\n\n\t// If we include width, step value is 1 to do all cssExpand values,\n\t// otherwise step value is 2 to skip over Left and Right\n\tincludeWidth = includeWidth ? 1 : 0;\n\tfor ( ; i < 4; i += 2 - includeWidth ) {\n\t\twhich = cssExpand[ i ];\n\t\tattrs[ \"margin\" + which ] = attrs[ \"padding\" + which ] = type;\n\t}\n\n\tif ( includeWidth ) {\n\t\tattrs.opacity = attrs.width = type;\n\t}\n\n\treturn attrs;\n}\n\nfunction createTween( value, prop, animation ) {\n\tvar tween,\n\t\tcollection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ \"*\" ] ),\n\t\tindex = 0,\n\t\tlength = collection.length;\n\tfor ( ; index < length; index++ ) {\n\t\tif ( ( tween = collection[ index ].call( animation, prop, value ) ) ) {\n\n\t\t\t// We're done with this property\n\t\t\treturn tween;\n\t\t}\n\t}\n}\n\nfunction defaultPrefilter( elem, props, opts ) {\n\tvar prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display,\n\t\tisBox = \"width\" in props || \"height\" in props,\n\t\tanim = this,\n\t\torig = {},\n\t\tstyle = elem.style,\n\t\thidden = elem.nodeType && isHiddenWithinTree( elem ),\n\t\tdataShow = dataPriv.get( elem, \"fxshow\" );\n\n\t// Queue-skipping animations hijack the fx hooks\n\tif ( !opts.queue ) {\n\t\thooks = jQuery._queueHooks( elem, \"fx\" );\n\t\tif ( hooks.unqueued == null ) {\n\t\t\thooks.unqueued = 0;\n\t\t\toldfire = hooks.empty.fire;\n\t\t\thooks.empty.fire = function() {\n\t\t\t\tif ( !hooks.unqueued ) {\n\t\t\t\t\toldfire();\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t\thooks.unqueued++;\n\n\t\tanim.always( function() {\n\n\t\t\t// Ensure the complete handler is called before this completes\n\t\t\tanim.always( function() {\n\t\t\t\thooks.unqueued--;\n\t\t\t\tif ( !jQuery.queue( elem, \"fx\" ).length ) {\n\t\t\t\t\thooks.empty.fire();\n\t\t\t\t}\n\t\t\t} );\n\t\t} );\n\t}\n\n\t// Detect show/hide animations\n\tfor ( prop in props ) {\n\t\tvalue = props[ prop ];\n\t\tif ( rfxtypes.test( value ) ) {\n\t\t\tdelete props[ prop ];\n\t\t\ttoggle = toggle || value === \"toggle\";\n\t\t\tif ( value === ( hidden ? \"hide\" : \"show\" ) ) {\n\n\t\t\t\t// Pretend to be hidden if this is a \"show\" and\n\t\t\t\t// there is still data from a stopped show/hide\n\t\t\t\tif ( value === \"show\" && dataShow && dataShow[ prop ] !== undefined ) {\n\t\t\t\t\thidden = true;\n\n\t\t\t\t// Ignore all other no-op show/hide data\n\t\t\t\t} else {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\torig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop );\n\t\t}\n\t}\n\n\t// Bail out if this is a no-op like .hide().hide()\n\tpropTween = !jQuery.isEmptyObject( props );\n\tif ( !propTween && jQuery.isEmptyObject( orig ) ) {\n\t\treturn;\n\t}\n\n\t// Restrict \"overflow\" and \"display\" styles during box animations\n\tif ( isBox && elem.nodeType === 1 ) {\n\n\t\t// Support: IE <=9 - 11, Edge 12 - 15\n\t\t// Record all 3 overflow attributes because IE does not infer the shorthand\n\t\t// from identically-valued overflowX and overflowY and Edge just mirrors\n\t\t// the overflowX value there.\n\t\topts.overflow = [ style.overflow, style.overflowX, style.overflowY ];\n\n\t\t// Identify a display type, preferring old show/hide data over the CSS cascade\n\t\trestoreDisplay = dataShow && dataShow.display;\n\t\tif ( restoreDisplay == null ) {\n\t\t\trestoreDisplay = dataPriv.get( elem, \"display\" );\n\t\t}\n\t\tdisplay = jQuery.css( elem, \"display\" );\n\t\tif ( display === \"none\" ) {\n\t\t\tif ( restoreDisplay ) {\n\t\t\t\tdisplay = restoreDisplay;\n\t\t\t} else {\n\n\t\t\t\t// Get nonempty value(s) by temporarily forcing visibility\n\t\t\t\tshowHide( [ elem ], true );\n\t\t\t\trestoreDisplay = elem.style.display || restoreDisplay;\n\t\t\t\tdisplay = jQuery.css( elem, \"display\" );\n\t\t\t\tshowHide( [ elem ] );\n\t\t\t}\n\t\t}\n\n\t\t// Animate inline elements as inline-block\n\t\tif ( display === \"inline\" || display === \"inline-block\" && restoreDisplay != null ) {\n\t\t\tif ( jQuery.css( elem, \"float\" ) === \"none\" ) {\n\n\t\t\t\t// Restore the original display value at the end of pure show/hide animations\n\t\t\t\tif ( !propTween ) {\n\t\t\t\t\tanim.done( function() {\n\t\t\t\t\t\tstyle.display = restoreDisplay;\n\t\t\t\t\t} );\n\t\t\t\t\tif ( restoreDisplay == null ) {\n\t\t\t\t\t\tdisplay = style.display;\n\t\t\t\t\t\trestoreDisplay = display === \"none\" ? \"\" : display;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tstyle.display = \"inline-block\";\n\t\t\t}\n\t\t}\n\t}\n\n\tif ( opts.overflow ) {\n\t\tstyle.overflow = \"hidden\";\n\t\tanim.always( function() {\n\t\t\tstyle.overflow = opts.overflow[ 0 ];\n\t\t\tstyle.overflowX = opts.overflow[ 1 ];\n\t\t\tstyle.overflowY = opts.overflow[ 2 ];\n\t\t} );\n\t}\n\n\t// Implement show/hide animations\n\tpropTween = false;\n\tfor ( prop in orig ) {\n\n\t\t// General show/hide setup for this element animation\n\t\tif ( !propTween ) {\n\t\t\tif ( dataShow ) {\n\t\t\t\tif ( \"hidden\" in dataShow ) {\n\t\t\t\t\thidden = dataShow.hidden;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tdataShow = dataPriv.access( elem, \"fxshow\", { display: restoreDisplay } );\n\t\t\t}\n\n\t\t\t// Store hidden/visible for toggle so `.stop().toggle()` \"reverses\"\n\t\t\tif ( toggle ) {\n\t\t\t\tdataShow.hidden = !hidden;\n\t\t\t}\n\n\t\t\t// Show elements before animating them\n\t\t\tif ( hidden ) {\n\t\t\t\tshowHide( [ elem ], true );\n\t\t\t}\n\n\t\t\t/* eslint-disable no-loop-func */\n\n\t\t\tanim.done( function() {\n\n\t\t\t/* eslint-enable no-loop-func */\n\n\t\t\t\t// The final step of a \"hide\" animation is actually hiding the element\n\t\t\t\tif ( !hidden ) {\n\t\t\t\t\tshowHide( [ elem ] );\n\t\t\t\t}\n\t\t\t\tdataPriv.remove( elem, \"fxshow\" );\n\t\t\t\tfor ( prop in orig ) {\n\t\t\t\t\tjQuery.style( elem, prop, orig[ prop ] );\n\t\t\t\t}\n\t\t\t} );\n\t\t}\n\n\t\t// Per-property setup\n\t\tpropTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim );\n\t\tif ( !( prop in dataShow ) ) {\n\t\t\tdataShow[ prop ] = propTween.start;\n\t\t\tif ( hidden ) {\n\t\t\t\tpropTween.end = propTween.start;\n\t\t\t\tpropTween.start = 0;\n\t\t\t}\n\t\t}\n\t}\n}\n\nfunction propFilter( props, specialEasing ) {\n\tvar index, name, easing, value, hooks;\n\n\t// camelCase, specialEasing and expand cssHook pass\n\tfor ( index in props ) {\n\t\tname = camelCase( index );\n\t\teasing = specialEasing[ name ];\n\t\tvalue = props[ index ];\n\t\tif ( Array.isArray( value ) ) {\n\t\t\teasing = value[ 1 ];\n\t\t\tvalue = props[ index ] = value[ 0 ];\n\t\t}\n\n\t\tif ( index !== name ) {\n\t\t\tprops[ name ] = value;\n\t\t\tdelete props[ index ];\n\t\t}\n\n\t\thooks = jQuery.cssHooks[ name ];\n\t\tif ( hooks && \"expand\" in hooks ) {\n\t\t\tvalue = hooks.expand( value );\n\t\t\tdelete props[ name ];\n\n\t\t\t// Not quite $.extend, this won't overwrite existing keys.\n\t\t\t// Reusing 'index' because we have the correct \"name\"\n\t\t\tfor ( index in value ) {\n\t\t\t\tif ( !( index in props ) ) {\n\t\t\t\t\tprops[ index ] = value[ index ];\n\t\t\t\t\tspecialEasing[ index ] = easing;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tspecialEasing[ name ] = easing;\n\t\t}\n\t}\n}\n\nfunction Animation( elem, properties, options ) {\n\tvar result,\n\t\tstopped,\n\t\tindex = 0,\n\t\tlength = Animation.prefilters.length,\n\t\tdeferred = jQuery.Deferred().always( function() {\n\n\t\t\t// Don't match elem in the :animated selector\n\t\t\tdelete tick.elem;\n\t\t} ),\n\t\ttick = function() {\n\t\t\tif ( stopped ) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tvar currentTime = fxNow || createFxNow(),\n\t\t\t\tremaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),\n\n\t\t\t\t// Support: Android 2.3 only\n\t\t\t\t// Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497)\n\t\t\t\ttemp = remaining / animation.duration || 0,\n\t\t\t\tpercent = 1 - temp,\n\t\t\t\tindex = 0,\n\t\t\t\tlength = animation.tweens.length;\n\n\t\t\tfor ( ; index < length; index++ ) {\n\t\t\t\tanimation.tweens[ index ].run( percent );\n\t\t\t}\n\n\t\t\tdeferred.notifyWith( elem, [ animation, percent, remaining ] );\n\n\t\t\t// If there's more to do, yield\n\t\t\tif ( percent < 1 && length ) {\n\t\t\t\treturn remaining;\n\t\t\t}\n\n\t\t\t// If this was an empty animation, synthesize a final progress notification\n\t\t\tif ( !length ) {\n\t\t\t\tdeferred.notifyWith( elem, [ animation, 1, 0 ] );\n\t\t\t}\n\n\t\t\t// Resolve the animation and report its conclusion\n\t\t\tdeferred.resolveWith( elem, [ animation ] );\n\t\t\treturn false;\n\t\t},\n\t\tanimation = deferred.promise( {\n\t\t\telem: elem,\n\t\t\tprops: jQuery.extend( {}, properties ),\n\t\t\topts: jQuery.extend( true, {\n\t\t\t\tspecialEasing: {},\n\t\t\t\teasing: jQuery.easing._default\n\t\t\t}, options ),\n\t\t\toriginalProperties: properties,\n\t\t\toriginalOptions: options,\n\t\t\tstartTime: fxNow || createFxNow(),\n\t\t\tduration: options.duration,\n\t\t\ttweens: [],\n\t\t\tcreateTween: function( prop, end ) {\n\t\t\t\tvar tween = jQuery.Tween( elem, animation.opts, prop, end,\n\t\t\t\t\t\tanimation.opts.specialEasing[ prop ] || animation.opts.easing );\n\t\t\t\tanimation.tweens.push( tween );\n\t\t\t\treturn tween;\n\t\t\t},\n\t\t\tstop: function( gotoEnd ) {\n\t\t\t\tvar index = 0,\n\n\t\t\t\t\t// If we are going to the end, we want to run all the tweens\n\t\t\t\t\t// otherwise we skip this part\n\t\t\t\t\tlength = gotoEnd ? animation.tweens.length : 0;\n\t\t\t\tif ( stopped ) {\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t\tstopped = true;\n\t\t\t\tfor ( ; index < length; index++ ) {\n\t\t\t\t\tanimation.tweens[ index ].run( 1 );\n\t\t\t\t}\n\n\t\t\t\t// Resolve when we played the last frame; otherwise, reject\n\t\t\t\tif ( gotoEnd ) {\n\t\t\t\t\tdeferred.notifyWith( elem, [ animation, 1, 0 ] );\n\t\t\t\t\tdeferred.resolveWith( elem, [ animation, gotoEnd ] );\n\t\t\t\t} else {\n\t\t\t\t\tdeferred.rejectWith( elem, [ animation, gotoEnd ] );\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t}\n\t\t} ),\n\t\tprops = animation.props;\n\n\tpropFilter( props, animation.opts.specialEasing );\n\n\tfor ( ; index < length; index++ ) {\n\t\tresult = Animation.prefilters[ index ].call( animation, elem, props, animation.opts );\n\t\tif ( result ) {\n\t\t\tif ( isFunction( result.stop ) ) {\n\t\t\t\tjQuery._queueHooks( animation.elem, animation.opts.queue ).stop =\n\t\t\t\t\tresult.stop.bind( result );\n\t\t\t}\n\t\t\treturn result;\n\t\t}\n\t}\n\n\tjQuery.map( props, createTween, animation );\n\n\tif ( isFunction( animation.opts.start ) ) {\n\t\tanimation.opts.start.call( elem, animation );\n\t}\n\n\t// Attach callbacks from options\n\tanimation\n\t\t.progress( animation.opts.progress )\n\t\t.done( animation.opts.done, animation.opts.complete )\n\t\t.fail( animation.opts.fail )\n\t\t.always( animation.opts.always );\n\n\tjQuery.fx.timer(\n\t\tjQuery.extend( tick, {\n\t\t\telem: elem,\n\t\t\tanim: animation,\n\t\t\tqueue: animation.opts.queue\n\t\t} )\n\t);\n\n\treturn animation;\n}\n\njQuery.Animation = jQuery.extend( Animation, {\n\n\ttweeners: {\n\t\t\"*\": [ function( prop, value ) {\n\t\t\tvar tween = this.createTween( prop, value );\n\t\t\tadjustCSS( tween.elem, prop, rcssNum.exec( value ), tween );\n\t\t\treturn tween;\n\t\t} ]\n\t},\n\n\ttweener: function( props, callback ) {\n\t\tif ( isFunction( props ) ) {\n\t\t\tcallback = props;\n\t\t\tprops = [ \"*\" ];\n\t\t} else {\n\t\t\tprops = props.match( rnothtmlwhite );\n\t\t}\n\n\t\tvar prop,\n\t\t\tindex = 0,\n\t\t\tlength = props.length;\n\n\t\tfor ( ; index < length; index++ ) {\n\t\t\tprop = props[ index ];\n\t\t\tAnimation.tweeners[ prop ] = Animation.tweeners[ prop ] || [];\n\t\t\tAnimation.tweeners[ prop ].unshift( callback );\n\t\t}\n\t},\n\n\tprefilters: [ defaultPrefilter ],\n\n\tprefilter: function( callback, prepend ) {\n\t\tif ( prepend ) {\n\t\t\tAnimation.prefilters.unshift( callback );\n\t\t} else {\n\t\t\tAnimation.prefilters.push( callback );\n\t\t}\n\t}\n} );\n\njQuery.speed = function( speed, easing, fn ) {\n\tvar opt = speed && typeof speed === \"object\" ? jQuery.extend( {}, speed ) : {\n\t\tcomplete: fn || !fn && easing ||\n\t\t\tisFunction( speed ) && speed,\n\t\tduration: speed,\n\t\teasing: fn && easing || easing && !isFunction( easing ) && easing\n\t};\n\n\t// Go to the end state if fx are off\n\tif ( jQuery.fx.off ) {\n\t\topt.duration = 0;\n\n\t} else {\n\t\tif ( typeof opt.duration !== \"number\" ) {\n\t\t\tif ( opt.duration in jQuery.fx.speeds ) {\n\t\t\t\topt.duration = jQuery.fx.speeds[ opt.duration ];\n\n\t\t\t} else {\n\t\t\t\topt.duration = jQuery.fx.speeds._default;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Normalize opt.queue - true/undefined/null -> \"fx\"\n\tif ( opt.queue == null || opt.queue === true ) {\n\t\topt.queue = \"fx\";\n\t}\n\n\t// Queueing\n\topt.old = opt.complete;\n\n\topt.complete = function() {\n\t\tif ( isFunction( opt.old ) ) {\n\t\t\topt.old.call( this );\n\t\t}\n\n\t\tif ( opt.queue ) {\n\t\t\tjQuery.dequeue( this, opt.queue );\n\t\t}\n\t};\n\n\treturn opt;\n};\n\njQuery.fn.extend( {\n\tfadeTo: function( speed, to, easing, callback ) {\n\n\t\t// Show any hidden elements after setting opacity to 0\n\t\treturn this.filter( isHiddenWithinTree ).css( \"opacity\", 0 ).show()\n\n\t\t\t// Animate to the value specified\n\t\t\t.end().animate( { opacity: to }, speed, easing, callback );\n\t},\n\tanimate: function( prop, speed, easing, callback ) {\n\t\tvar empty = jQuery.isEmptyObject( prop ),\n\t\t\toptall = jQuery.speed( speed, easing, callback ),\n\t\t\tdoAnimation = function() {\n\n\t\t\t\t// Operate on a copy of prop so per-property easing won't be lost\n\t\t\t\tvar anim = Animation( this, jQuery.extend( {}, prop ), optall );\n\n\t\t\t\t// Empty animations, or finishing resolves immediately\n\t\t\t\tif ( empty || dataPriv.get( this, \"finish\" ) ) {\n\t\t\t\t\tanim.stop( true );\n\t\t\t\t}\n\t\t\t};\n\t\t\tdoAnimation.finish = doAnimation;\n\n\t\treturn empty || optall.queue === false ?\n\t\t\tthis.each( doAnimation ) :\n\t\t\tthis.queue( optall.queue, doAnimation );\n\t},\n\tstop: function( type, clearQueue, gotoEnd ) {\n\t\tvar stopQueue = function( hooks ) {\n\t\t\tvar stop = hooks.stop;\n\t\t\tdelete hooks.stop;\n\t\t\tstop( gotoEnd );\n\t\t};\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tgotoEnd = clearQueue;\n\t\t\tclearQueue = type;\n\t\t\ttype = undefined;\n\t\t}\n\t\tif ( clearQueue && type !== false ) {\n\t\t\tthis.queue( type || \"fx\", [] );\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tvar dequeue = true,\n\t\t\t\tindex = type != null && type + \"queueHooks\",\n\t\t\t\ttimers = jQuery.timers,\n\t\t\t\tdata = dataPriv.get( this );\n\n\t\t\tif ( index ) {\n\t\t\t\tif ( data[ index ] && data[ index ].stop ) {\n\t\t\t\t\tstopQueue( data[ index ] );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor ( index in data ) {\n\t\t\t\t\tif ( data[ index ] && data[ index ].stop && rrun.test( index ) ) {\n\t\t\t\t\t\tstopQueue( data[ index ] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor ( index = timers.length; index--; ) {\n\t\t\t\tif ( timers[ index ].elem === this &&\n\t\t\t\t\t( type == null || timers[ index ].queue === type ) ) {\n\n\t\t\t\t\ttimers[ index ].anim.stop( gotoEnd );\n\t\t\t\t\tdequeue = false;\n\t\t\t\t\ttimers.splice( index, 1 );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Start the next in the queue if the last step wasn't forced.\n\t\t\t// Timers currently will call their complete callbacks, which\n\t\t\t// will dequeue but only if they were gotoEnd.\n\t\t\tif ( dequeue || !gotoEnd ) {\n\t\t\t\tjQuery.dequeue( this, type );\n\t\t\t}\n\t\t} );\n\t},\n\tfinish: function( type ) {\n\t\tif ( type !== false ) {\n\t\t\ttype = type || \"fx\";\n\t\t}\n\t\treturn this.each( function() {\n\t\t\tvar index,\n\t\t\t\tdata = dataPriv.get( this ),\n\t\t\t\tqueue = data[ type + \"queue\" ],\n\t\t\t\thooks = data[ type + \"queueHooks\" ],\n\t\t\t\ttimers = jQuery.timers,\n\t\t\t\tlength = queue ? queue.length : 0;\n\n\t\t\t// Enable finishing flag on private data\n\t\t\tdata.finish = true;\n\n\t\t\t// Empty the queue first\n\t\t\tjQuery.queue( this, type, [] );\n\n\t\t\tif ( hooks && hooks.stop ) {\n\t\t\t\thooks.stop.call( this, true );\n\t\t\t}\n\n\t\t\t// Look for any active animations, and finish them\n\t\t\tfor ( index = timers.length; index--; ) {\n\t\t\t\tif ( timers[ index ].elem === this && timers[ index ].queue === type ) {\n\t\t\t\t\ttimers[ index ].anim.stop( true );\n\t\t\t\t\ttimers.splice( index, 1 );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Look for any animations in the old queue and finish them\n\t\t\tfor ( index = 0; index < length; index++ ) {\n\t\t\t\tif ( queue[ index ] && queue[ index ].finish ) {\n\t\t\t\t\tqueue[ index ].finish.call( this );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Turn off finishing flag\n\t\t\tdelete data.finish;\n\t\t} );\n\t}\n} );\n\njQuery.each( [ \"toggle\", \"show\", \"hide\" ], function( i, name ) {\n\tvar cssFn = jQuery.fn[ name ];\n\tjQuery.fn[ name ] = function( speed, easing, callback ) {\n\t\treturn speed == null || typeof speed === \"boolean\" ?\n\t\t\tcssFn.apply( this, arguments ) :\n\t\t\tthis.animate( genFx( name, true ), speed, easing, callback );\n\t};\n} );\n\n// Generate shortcuts for custom animations\njQuery.each( {\n\tslideDown: genFx( \"show\" ),\n\tslideUp: genFx( \"hide\" ),\n\tslideToggle: genFx( \"toggle\" ),\n\tfadeIn: { opacity: \"show\" },\n\tfadeOut: { opacity: \"hide\" },\n\tfadeToggle: { opacity: \"toggle\" }\n}, function( name, props ) {\n\tjQuery.fn[ name ] = function( speed, easing, callback ) {\n\t\treturn this.animate( props, speed, easing, callback );\n\t};\n} );\n\njQuery.timers = [];\njQuery.fx.tick = function() {\n\tvar timer,\n\t\ti = 0,\n\t\ttimers = jQuery.timers;\n\n\tfxNow = Date.now();\n\n\tfor ( ; i < timers.length; i++ ) {\n\t\ttimer = timers[ i ];\n\n\t\t// Run the timer and safely remove it when done (allowing for external removal)\n\t\tif ( !timer() && timers[ i ] === timer ) {\n\t\t\ttimers.splice( i--, 1 );\n\t\t}\n\t}\n\n\tif ( !timers.length ) {\n\t\tjQuery.fx.stop();\n\t}\n\tfxNow = undefined;\n};\n\njQuery.fx.timer = function( timer ) {\n\tjQuery.timers.push( timer );\n\tjQuery.fx.start();\n};\n\njQuery.fx.interval = 13;\njQuery.fx.start = function() {\n\tif ( inProgress ) {\n\t\treturn;\n\t}\n\n\tinProgress = true;\n\tschedule();\n};\n\njQuery.fx.stop = function() {\n\tinProgress = null;\n};\n\njQuery.fx.speeds = {\n\tslow: 600,\n\tfast: 200,\n\n\t// Default speed\n\t_default: 400\n};\n\n\n// Based off of the plugin by Clint Helfers, with permission.\n// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/\njQuery.fn.delay = function( time, type ) {\n\ttime = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;\n\ttype = type || \"fx\";\n\n\treturn this.queue( type, function( next, hooks ) {\n\t\tvar timeout = window.setTimeout( next, time );\n\t\thooks.stop = function() {\n\t\t\twindow.clearTimeout( timeout );\n\t\t};\n\t} );\n};\n\n\n( function() {\n\tvar input = document.createElement( \"input\" ),\n\t\tselect = document.createElement( \"select\" ),\n\t\topt = select.appendChild( document.createElement( \"option\" ) );\n\n\tinput.type = \"checkbox\";\n\n\t// Support: Android <=4.3 only\n\t// Default value for a checkbox should be \"on\"\n\tsupport.checkOn = input.value !== \"\";\n\n\t// Support: IE <=11 only\n\t// Must access selectedIndex to make default options select\n\tsupport.optSelected = opt.selected;\n\n\t// Support: IE <=11 only\n\t// An input loses its value after becoming a radio\n\tinput = document.createElement( \"input\" );\n\tinput.value = \"t\";\n\tinput.type = \"radio\";\n\tsupport.radioValue = input.value === \"t\";\n} )();\n\n\nvar boolHook,\n\tattrHandle = jQuery.expr.attrHandle;\n\njQuery.fn.extend( {\n\tattr: function( name, value ) {\n\t\treturn access( this, jQuery.attr, name, value, arguments.length > 1 );\n\t},\n\n\tremoveAttr: function( name ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.removeAttr( this, name );\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tattr: function( elem, name, value ) {\n\t\tvar ret, hooks,\n\t\t\tnType = elem.nodeType;\n\n\t\t// Don't get/set attributes on text, comment and attribute nodes\n\t\tif ( nType === 3 || nType === 8 || nType === 2 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Fallback to prop when attributes are not supported\n\t\tif ( typeof elem.getAttribute === \"undefined\" ) {\n\t\t\treturn jQuery.prop( elem, name, value );\n\t\t}\n\n\t\t// Attribute hooks are determined by the lowercase version\n\t\t// Grab necessary hook if one is defined\n\t\tif ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {\n\t\t\thooks = jQuery.attrHooks[ name.toLowerCase() ] ||\n\t\t\t\t( jQuery.expr.match.bool.test( name ) ? boolHook : undefined );\n\t\t}\n\n\t\tif ( value !== undefined ) {\n\t\t\tif ( value === null ) {\n\t\t\t\tjQuery.removeAttr( elem, name );\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( hooks && \"set\" in hooks &&\n\t\t\t\t( ret = hooks.set( elem, value, name ) ) !== undefined ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\telem.setAttribute( name, value + \"\" );\n\t\t\treturn value;\n\t\t}\n\n\t\tif ( hooks && \"get\" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) {\n\t\t\treturn ret;\n\t\t}\n\n\t\tret = jQuery.find.attr( elem, name );\n\n\t\t// Non-existent attributes return null, we normalize to undefined\n\t\treturn ret == null ? undefined : ret;\n\t},\n\n\tattrHooks: {\n\t\ttype: {\n\t\t\tset: function( elem, value ) {\n\t\t\t\tif ( !support.radioValue && value === \"radio\" &&\n\t\t\t\t\tnodeName( elem, \"input\" ) ) {\n\t\t\t\t\tvar val = elem.value;\n\t\t\t\t\telem.setAttribute( \"type\", value );\n\t\t\t\t\tif ( val ) {\n\t\t\t\t\t\telem.value = val;\n\t\t\t\t\t}\n\t\t\t\t\treturn value;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\tremoveAttr: function( elem, value ) {\n\t\tvar name,\n\t\t\ti = 0,\n\n\t\t\t// Attribute names can contain non-HTML whitespace characters\n\t\t\t// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n\t\t\tattrNames = value && value.match( rnothtmlwhite );\n\n\t\tif ( attrNames && elem.nodeType === 1 ) {\n\t\t\twhile ( ( name = attrNames[ i++ ] ) ) {\n\t\t\t\telem.removeAttribute( name );\n\t\t\t}\n\t\t}\n\t}\n} );\n\n// Hooks for boolean attributes\nboolHook = {\n\tset: function( elem, value, name ) {\n\t\tif ( value === false ) {\n\n\t\t\t// Remove boolean attributes when set to false\n\t\t\tjQuery.removeAttr( elem, name );\n\t\t} else {\n\t\t\telem.setAttribute( name, name );\n\t\t}\n\t\treturn name;\n\t}\n};\n\njQuery.each( jQuery.expr.match.bool.source.match( /\\w+/g ), function( i, name ) {\n\tvar getter = attrHandle[ name ] || jQuery.find.attr;\n\n\tattrHandle[ name ] = function( elem, name, isXML ) {\n\t\tvar ret, handle,\n\t\t\tlowercaseName = name.toLowerCase();\n\n\t\tif ( !isXML ) {\n\n\t\t\t// Avoid an infinite loop by temporarily removing this function from the getter\n\t\t\thandle = attrHandle[ lowercaseName ];\n\t\t\tattrHandle[ lowercaseName ] = ret;\n\t\t\tret = getter( elem, name, isXML ) != null ?\n\t\t\t\tlowercaseName :\n\t\t\t\tnull;\n\t\t\tattrHandle[ lowercaseName ] = handle;\n\t\t}\n\t\treturn ret;\n\t};\n} );\n\n\n\n\nvar rfocusable = /^(?:input|select|textarea|button)$/i,\n\trclickable = /^(?:a|area)$/i;\n\njQuery.fn.extend( {\n\tprop: function( name, value ) {\n\t\treturn access( this, jQuery.prop, name, value, arguments.length > 1 );\n\t},\n\n\tremoveProp: function( name ) {\n\t\treturn this.each( function() {\n\t\t\tdelete this[ jQuery.propFix[ name ] || name ];\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tprop: function( elem, name, value ) {\n\t\tvar ret, hooks,\n\t\t\tnType = elem.nodeType;\n\n\t\t// Don't get/set properties on text, comment and attribute nodes\n\t\tif ( nType === 3 || nType === 8 || nType === 2 ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {\n\n\t\t\t// Fix name and attach hooks\n\t\t\tname = jQuery.propFix[ name ] || name;\n\t\t\thooks = jQuery.propHooks[ name ];\n\t\t}\n\n\t\tif ( value !== undefined ) {\n\t\t\tif ( hooks && \"set\" in hooks &&\n\t\t\t\t( ret = hooks.set( elem, value, name ) ) !== undefined ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\treturn ( elem[ name ] = value );\n\t\t}\n\n\t\tif ( hooks && \"get\" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) {\n\t\t\treturn ret;\n\t\t}\n\n\t\treturn elem[ name ];\n\t},\n\n\tpropHooks: {\n\t\ttabIndex: {\n\t\t\tget: function( elem ) {\n\n\t\t\t\t// Support: IE <=9 - 11 only\n\t\t\t\t// elem.tabIndex doesn't always return the\n\t\t\t\t// correct value when it hasn't been explicitly set\n\t\t\t\t// https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/\n\t\t\t\t// Use proper attribute retrieval(#12072)\n\t\t\t\tvar tabindex = jQuery.find.attr( elem, \"tabindex\" );\n\n\t\t\t\tif ( tabindex ) {\n\t\t\t\t\treturn parseInt( tabindex, 10 );\n\t\t\t\t}\n\n\t\t\t\tif (\n\t\t\t\t\trfocusable.test( elem.nodeName ) ||\n\t\t\t\t\trclickable.test( elem.nodeName ) &&\n\t\t\t\t\telem.href\n\t\t\t\t) {\n\t\t\t\t\treturn 0;\n\t\t\t\t}\n\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t}\n\t},\n\n\tpropFix: {\n\t\t\"for\": \"htmlFor\",\n\t\t\"class\": \"className\"\n\t}\n} );\n\n// Support: IE <=11 only\n// Accessing the selectedIndex property\n// forces the browser to respect setting selected\n// on the option\n// The getter ensures a default option is selected\n// when in an optgroup\n// eslint rule \"no-unused-expressions\" is disabled for this code\n// since it considers such accessions noop\nif ( !support.optSelected ) {\n\tjQuery.propHooks.selected = {\n\t\tget: function( elem ) {\n\n\t\t\t/* eslint no-unused-expressions: \"off\" */\n\n\t\t\tvar parent = elem.parentNode;\n\t\t\tif ( parent && parent.parentNode ) {\n\t\t\t\tparent.parentNode.selectedIndex;\n\t\t\t}\n\t\t\treturn null;\n\t\t},\n\t\tset: function( elem ) {\n\n\t\t\t/* eslint no-unused-expressions: \"off\" */\n\n\t\t\tvar parent = elem.parentNode;\n\t\t\tif ( parent ) {\n\t\t\t\tparent.selectedIndex;\n\n\t\t\t\tif ( parent.parentNode ) {\n\t\t\t\t\tparent.parentNode.selectedIndex;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n}\n\njQuery.each( [\n\t\"tabIndex\",\n\t\"readOnly\",\n\t\"maxLength\",\n\t\"cellSpacing\",\n\t\"cellPadding\",\n\t\"rowSpan\",\n\t\"colSpan\",\n\t\"useMap\",\n\t\"frameBorder\",\n\t\"contentEditable\"\n], function() {\n\tjQuery.propFix[ this.toLowerCase() ] = this;\n} );\n\n\n\n\n\t// Strip and collapse whitespace according to HTML spec\n\t// https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace\n\tfunction stripAndCollapse( value ) {\n\t\tvar tokens = value.match( rnothtmlwhite ) || [];\n\t\treturn tokens.join( \" \" );\n\t}\n\n\nfunction getClass( elem ) {\n\treturn elem.getAttribute && elem.getAttribute( \"class\" ) || \"\";\n}\n\nfunction classesToArray( value ) {\n\tif ( Array.isArray( value ) ) {\n\t\treturn value;\n\t}\n\tif ( typeof value === \"string\" ) {\n\t\treturn value.match( rnothtmlwhite ) || [];\n\t}\n\treturn [];\n}\n\njQuery.fn.extend( {\n\taddClass: function( value ) {\n\t\tvar classes, elem, cur, curValue, clazz, j, finalValue,\n\t\t\ti = 0;\n\n\t\tif ( isFunction( value ) ) {\n\t\t\treturn this.each( function( j ) {\n\t\t\t\tjQuery( this ).addClass( value.call( this, j, getClass( this ) ) );\n\t\t\t} );\n\t\t}\n\n\t\tclasses = classesToArray( value );\n\n\t\tif ( classes.length ) {\n\t\t\twhile ( ( elem = this[ i++ ] ) ) {\n\t\t\t\tcurValue = getClass( elem );\n\t\t\t\tcur = elem.nodeType === 1 && ( \" \" + stripAndCollapse( curValue ) + \" \" );\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tj = 0;\n\t\t\t\t\twhile ( ( clazz = classes[ j++ ] ) ) {\n\t\t\t\t\t\tif ( cur.indexOf( \" \" + clazz + \" \" ) < 0 ) {\n\t\t\t\t\t\t\tcur += clazz + \" \";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Only assign if different to avoid unneeded rendering.\n\t\t\t\t\tfinalValue = stripAndCollapse( cur );\n\t\t\t\t\tif ( curValue !== finalValue ) {\n\t\t\t\t\t\telem.setAttribute( \"class\", finalValue );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tremoveClass: function( value ) {\n\t\tvar classes, elem, cur, curValue, clazz, j, finalValue,\n\t\t\ti = 0;\n\n\t\tif ( isFunction( value ) ) {\n\t\t\treturn this.each( function( j ) {\n\t\t\t\tjQuery( this ).removeClass( value.call( this, j, getClass( this ) ) );\n\t\t\t} );\n\t\t}\n\n\t\tif ( !arguments.length ) {\n\t\t\treturn this.attr( \"class\", \"\" );\n\t\t}\n\n\t\tclasses = classesToArray( value );\n\n\t\tif ( classes.length ) {\n\t\t\twhile ( ( elem = this[ i++ ] ) ) {\n\t\t\t\tcurValue = getClass( elem );\n\n\t\t\t\t// This expression is here for better compressibility (see addClass)\n\t\t\t\tcur = elem.nodeType === 1 && ( \" \" + stripAndCollapse( curValue ) + \" \" );\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tj = 0;\n\t\t\t\t\twhile ( ( clazz = classes[ j++ ] ) ) {\n\n\t\t\t\t\t\t// Remove *all* instances\n\t\t\t\t\t\twhile ( cur.indexOf( \" \" + clazz + \" \" ) > -1 ) {\n\t\t\t\t\t\t\tcur = cur.replace( \" \" + clazz + \" \", \" \" );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Only assign if different to avoid unneeded rendering.\n\t\t\t\t\tfinalValue = stripAndCollapse( cur );\n\t\t\t\t\tif ( curValue !== finalValue ) {\n\t\t\t\t\t\telem.setAttribute( \"class\", finalValue );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\ttoggleClass: function( value, stateVal ) {\n\t\tvar type = typeof value,\n\t\t\tisValidValue = type === \"string\" || Array.isArray( value );\n\n\t\tif ( typeof stateVal === \"boolean\" && isValidValue ) {\n\t\t\treturn stateVal ? this.addClass( value ) : this.removeClass( value );\n\t\t}\n\n\t\tif ( isFunction( value ) ) {\n\t\t\treturn this.each( function( i ) {\n\t\t\t\tjQuery( this ).toggleClass(\n\t\t\t\t\tvalue.call( this, i, getClass( this ), stateVal ),\n\t\t\t\t\tstateVal\n\t\t\t\t);\n\t\t\t} );\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tvar className, i, self, classNames;\n\n\t\t\tif ( isValidValue ) {\n\n\t\t\t\t// Toggle individual class names\n\t\t\t\ti = 0;\n\t\t\t\tself = jQuery( this );\n\t\t\t\tclassNames = classesToArray( value );\n\n\t\t\t\twhile ( ( className = classNames[ i++ ] ) ) {\n\n\t\t\t\t\t// Check each className given, space separated list\n\t\t\t\t\tif ( self.hasClass( className ) ) {\n\t\t\t\t\t\tself.removeClass( className );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tself.addClass( className );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t// Toggle whole class name\n\t\t\t} else if ( value === undefined || type === \"boolean\" ) {\n\t\t\t\tclassName = getClass( this );\n\t\t\t\tif ( className ) {\n\n\t\t\t\t\t// Store className if set\n\t\t\t\t\tdataPriv.set( this, \"__className__\", className );\n\t\t\t\t}\n\n\t\t\t\t// If the element has a class name or if we're passed `false`,\n\t\t\t\t// then remove the whole classname (if there was one, the above saved it).\n\t\t\t\t// Otherwise bring back whatever was previously saved (if anything),\n\t\t\t\t// falling back to the empty string if nothing was stored.\n\t\t\t\tif ( this.setAttribute ) {\n\t\t\t\t\tthis.setAttribute( \"class\",\n\t\t\t\t\t\tclassName || value === false ?\n\t\t\t\t\t\t\"\" :\n\t\t\t\t\t\tdataPriv.get( this, \"__className__\" ) || \"\"\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t},\n\n\thasClass: function( selector ) {\n\t\tvar className, elem,\n\t\t\ti = 0;\n\n\t\tclassName = \" \" + selector + \" \";\n\t\twhile ( ( elem = this[ i++ ] ) ) {\n\t\t\tif ( elem.nodeType === 1 &&\n\t\t\t\t( \" \" + stripAndCollapse( getClass( elem ) ) + \" \" ).indexOf( className ) > -1 ) {\n\t\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n} );\n\n\n\n\nvar rreturn = /\\r/g;\n\njQuery.fn.extend( {\n\tval: function( value ) {\n\t\tvar hooks, ret, valueIsFunction,\n\t\t\telem = this[ 0 ];\n\n\t\tif ( !arguments.length ) {\n\t\t\tif ( elem ) {\n\t\t\t\thooks = jQuery.valHooks[ elem.type ] ||\n\t\t\t\t\tjQuery.valHooks[ elem.nodeName.toLowerCase() ];\n\n\t\t\t\tif ( hooks &&\n\t\t\t\t\t\"get\" in hooks &&\n\t\t\t\t\t( ret = hooks.get( elem, \"value\" ) ) !== undefined\n\t\t\t\t) {\n\t\t\t\t\treturn ret;\n\t\t\t\t}\n\n\t\t\t\tret = elem.value;\n\n\t\t\t\t// Handle most common string cases\n\t\t\t\tif ( typeof ret === \"string\" ) {\n\t\t\t\t\treturn ret.replace( rreturn, \"\" );\n\t\t\t\t}\n\n\t\t\t\t// Handle cases where value is null/undef or number\n\t\t\t\treturn ret == null ? \"\" : ret;\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tvalueIsFunction = isFunction( value );\n\n\t\treturn this.each( function( i ) {\n\t\t\tvar val;\n\n\t\t\tif ( this.nodeType !== 1 ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( valueIsFunction ) {\n\t\t\t\tval = value.call( this, i, jQuery( this ).val() );\n\t\t\t} else {\n\t\t\t\tval = value;\n\t\t\t}\n\n\t\t\t// Treat null/undefined as \"\"; convert numbers to string\n\t\t\tif ( val == null ) {\n\t\t\t\tval = \"\";\n\n\t\t\t} else if ( typeof val === \"number\" ) {\n\t\t\t\tval += \"\";\n\n\t\t\t} else if ( Array.isArray( val ) ) {\n\t\t\t\tval = jQuery.map( val, function( value ) {\n\t\t\t\t\treturn value == null ? \"\" : value + \"\";\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\thooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ];\n\n\t\t\t// If set returns undefined, fall back to normal setting\n\t\t\tif ( !hooks || !( \"set\" in hooks ) || hooks.set( this, val, \"value\" ) === undefined ) {\n\t\t\t\tthis.value = val;\n\t\t\t}\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tvalHooks: {\n\t\toption: {\n\t\t\tget: function( elem ) {\n\n\t\t\t\tvar val = jQuery.find.attr( elem, \"value\" );\n\t\t\t\treturn val != null ?\n\t\t\t\t\tval :\n\n\t\t\t\t\t// Support: IE <=10 - 11 only\n\t\t\t\t\t// option.text throws exceptions (#14686, #14858)\n\t\t\t\t\t// Strip and collapse whitespace\n\t\t\t\t\t// https://html.spec.whatwg.org/#strip-and-collapse-whitespace\n\t\t\t\t\tstripAndCollapse( jQuery.text( elem ) );\n\t\t\t}\n\t\t},\n\t\tselect: {\n\t\t\tget: function( elem ) {\n\t\t\t\tvar value, option, i,\n\t\t\t\t\toptions = elem.options,\n\t\t\t\t\tindex = elem.selectedIndex,\n\t\t\t\t\tone = elem.type === \"select-one\",\n\t\t\t\t\tvalues = one ? null : [],\n\t\t\t\t\tmax = one ? index + 1 : options.length;\n\n\t\t\t\tif ( index < 0 ) {\n\t\t\t\t\ti = max;\n\n\t\t\t\t} else {\n\t\t\t\t\ti = one ? index : 0;\n\t\t\t\t}\n\n\t\t\t\t// Loop through all the selected options\n\t\t\t\tfor ( ; i < max; i++ ) {\n\t\t\t\t\toption = options[ i ];\n\n\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t// IE8-9 doesn't update selected after form reset (#2551)\n\t\t\t\t\tif ( ( option.selected || i === index ) &&\n\n\t\t\t\t\t\t\t// Don't return options that are disabled or in a disabled optgroup\n\t\t\t\t\t\t\t!option.disabled &&\n\t\t\t\t\t\t\t( !option.parentNode.disabled ||\n\t\t\t\t\t\t\t\t!nodeName( option.parentNode, \"optgroup\" ) ) ) {\n\n\t\t\t\t\t\t// Get the specific value for the option\n\t\t\t\t\t\tvalue = jQuery( option ).val();\n\n\t\t\t\t\t\t// We don't need an array for one selects\n\t\t\t\t\t\tif ( one ) {\n\t\t\t\t\t\t\treturn value;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Multi-Selects return an array\n\t\t\t\t\t\tvalues.push( value );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn values;\n\t\t\t},\n\n\t\t\tset: function( elem, value ) {\n\t\t\t\tvar optionSet, option,\n\t\t\t\t\toptions = elem.options,\n\t\t\t\t\tvalues = jQuery.makeArray( value ),\n\t\t\t\t\ti = options.length;\n\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\toption = options[ i ];\n\n\t\t\t\t\t/* eslint-disable no-cond-assign */\n\n\t\t\t\t\tif ( option.selected =\n\t\t\t\t\t\tjQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1\n\t\t\t\t\t) {\n\t\t\t\t\t\toptionSet = true;\n\t\t\t\t\t}\n\n\t\t\t\t\t/* eslint-enable no-cond-assign */\n\t\t\t\t}\n\n\t\t\t\t// Force browsers to behave consistently when non-matching value is set\n\t\t\t\tif ( !optionSet ) {\n\t\t\t\t\telem.selectedIndex = -1;\n\t\t\t\t}\n\t\t\t\treturn values;\n\t\t\t}\n\t\t}\n\t}\n} );\n\n// Radios and checkboxes getter/setter\njQuery.each( [ \"radio\", \"checkbox\" ], function() {\n\tjQuery.valHooks[ this ] = {\n\t\tset: function( elem, value ) {\n\t\t\tif ( Array.isArray( value ) ) {\n\t\t\t\treturn ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 );\n\t\t\t}\n\t\t}\n\t};\n\tif ( !support.checkOn ) {\n\t\tjQuery.valHooks[ this ].get = function( elem ) {\n\t\t\treturn elem.getAttribute( \"value\" ) === null ? \"on\" : elem.value;\n\t\t};\n\t}\n} );\n\n\n\n\n// Return jQuery for attributes-only inclusion\n\n\nsupport.focusin = \"onfocusin\" in window;\n\n\nvar rfocusMorph = /^(?:focusinfocus|focusoutblur)$/,\n\tstopPropagationCallback = function( e ) {\n\t\te.stopPropagation();\n\t};\n\njQuery.extend( jQuery.event, {\n\n\ttrigger: function( event, data, elem, onlyHandlers ) {\n\n\t\tvar i, cur, tmp, bubbleType, ontype, handle, special, lastElement,\n\t\t\teventPath = [ elem || document ],\n\t\t\ttype = hasOwn.call( event, \"type\" ) ? event.type : event,\n\t\t\tnamespaces = hasOwn.call( event, \"namespace\" ) ? event.namespace.split( \".\" ) : [];\n\n\t\tcur = lastElement = tmp = elem = elem || document;\n\n\t\t// Don't do events on text and comment nodes\n\t\tif ( elem.nodeType === 3 || elem.nodeType === 8 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// focus/blur morphs to focusin/out; ensure we're not firing them right now\n\t\tif ( rfocusMorph.test( type + jQuery.event.triggered ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( type.indexOf( \".\" ) > -1 ) {\n\n\t\t\t// Namespaced trigger; create a regexp to match event type in handle()\n\t\t\tnamespaces = type.split( \".\" );\n\t\t\ttype = namespaces.shift();\n\t\t\tnamespaces.sort();\n\t\t}\n\t\tontype = type.indexOf( \":\" ) < 0 && \"on\" + type;\n\n\t\t// Caller can pass in a jQuery.Event object, Object, or just an event type string\n\t\tevent = event[ jQuery.expando ] ?\n\t\t\tevent :\n\t\t\tnew jQuery.Event( type, typeof event === \"object\" && event );\n\n\t\t// Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true)\n\t\tevent.isTrigger = onlyHandlers ? 2 : 3;\n\t\tevent.namespace = namespaces.join( \".\" );\n\t\tevent.rnamespace = event.namespace ?\n\t\t\tnew RegExp( \"(^|\\\\.)\" + namespaces.join( \"\\\\.(?:.*\\\\.|)\" ) + \"(\\\\.|$)\" ) :\n\t\t\tnull;\n\n\t\t// Clean up the event in case it is being reused\n\t\tevent.result = undefined;\n\t\tif ( !event.target ) {\n\t\t\tevent.target = elem;\n\t\t}\n\n\t\t// Clone any incoming data and prepend the event, creating the handler arg list\n\t\tdata = data == null ?\n\t\t\t[ event ] :\n\t\t\tjQuery.makeArray( data, [ event ] );\n\n\t\t// Allow special events to draw outside the lines\n\t\tspecial = jQuery.event.special[ type ] || {};\n\t\tif ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Determine event propagation path in advance, per W3C events spec (#9951)\n\t\t// Bubble up to document, then to window; watch for a global ownerDocument var (#9724)\n\t\tif ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) {\n\n\t\t\tbubbleType = special.delegateType || type;\n\t\t\tif ( !rfocusMorph.test( bubbleType + type ) ) {\n\t\t\t\tcur = cur.parentNode;\n\t\t\t}\n\t\t\tfor ( ; cur; cur = cur.parentNode ) {\n\t\t\t\teventPath.push( cur );\n\t\t\t\ttmp = cur;\n\t\t\t}\n\n\t\t\t// Only add window if we got to document (e.g., not plain obj or detached DOM)\n\t\t\tif ( tmp === ( elem.ownerDocument || document ) ) {\n\t\t\t\teventPath.push( tmp.defaultView || tmp.parentWindow || window );\n\t\t\t}\n\t\t}\n\n\t\t// Fire handlers on the event path\n\t\ti = 0;\n\t\twhile ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) {\n\t\t\tlastElement = cur;\n\t\t\tevent.type = i > 1 ?\n\t\t\t\tbubbleType :\n\t\t\t\tspecial.bindType || type;\n\n\t\t\t// jQuery handler\n\t\t\thandle = ( dataPriv.get( cur, \"events\" ) || {} )[ event.type ] &&\n\t\t\t\tdataPriv.get( cur, \"handle\" );\n\t\t\tif ( handle ) {\n\t\t\t\thandle.apply( cur, data );\n\t\t\t}\n\n\t\t\t// Native handler\n\t\t\thandle = ontype && cur[ ontype ];\n\t\t\tif ( handle && handle.apply && acceptData( cur ) ) {\n\t\t\t\tevent.result = handle.apply( cur, data );\n\t\t\t\tif ( event.result === false ) {\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tevent.type = type;\n\n\t\t// If nobody prevented the default action, do it now\n\t\tif ( !onlyHandlers && !event.isDefaultPrevented() ) {\n\n\t\t\tif ( ( !special._default ||\n\t\t\t\tspecial._default.apply( eventPath.pop(), data ) === false ) &&\n\t\t\t\tacceptData( elem ) ) {\n\n\t\t\t\t// Call a native DOM method on the target with the same name as the event.\n\t\t\t\t// Don't do default actions on window, that's where global variables be (#6170)\n\t\t\t\tif ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) {\n\n\t\t\t\t\t// Don't re-trigger an onFOO event when we call its FOO() method\n\t\t\t\t\ttmp = elem[ ontype ];\n\n\t\t\t\t\tif ( tmp ) {\n\t\t\t\t\t\telem[ ontype ] = null;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Prevent re-triggering of the same event, since we already bubbled it above\n\t\t\t\t\tjQuery.event.triggered = type;\n\n\t\t\t\t\tif ( event.isPropagationStopped() ) {\n\t\t\t\t\t\tlastElement.addEventListener( type, stopPropagationCallback );\n\t\t\t\t\t}\n\n\t\t\t\t\telem[ type ]();\n\n\t\t\t\t\tif ( event.isPropagationStopped() ) {\n\t\t\t\t\t\tlastElement.removeEventListener( type, stopPropagationCallback );\n\t\t\t\t\t}\n\n\t\t\t\t\tjQuery.event.triggered = undefined;\n\n\t\t\t\t\tif ( tmp ) {\n\t\t\t\t\t\telem[ ontype ] = tmp;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn event.result;\n\t},\n\n\t// Piggyback on a donor event to simulate a different one\n\t// Used only for `focus(in | out)` events\n\tsimulate: function( type, elem, event ) {\n\t\tvar e = jQuery.extend(\n\t\t\tnew jQuery.Event(),\n\t\t\tevent,\n\t\t\t{\n\t\t\t\ttype: type,\n\t\t\t\tisSimulated: true\n\t\t\t}\n\t\t);\n\n\t\tjQuery.event.trigger( e, null, elem );\n\t}\n\n} );\n\njQuery.fn.extend( {\n\n\ttrigger: function( type, data ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.event.trigger( type, data, this );\n\t\t} );\n\t},\n\ttriggerHandler: function( type, data ) {\n\t\tvar elem = this[ 0 ];\n\t\tif ( elem ) {\n\t\t\treturn jQuery.event.trigger( type, data, elem, true );\n\t\t}\n\t}\n} );\n\n\n// Support: Firefox <=44\n// Firefox doesn't have focus(in | out) events\n// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787\n//\n// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1\n// focus(in | out) events fire after focus & blur events,\n// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order\n// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857\nif ( !support.focusin ) {\n\tjQuery.each( { focus: \"focusin\", blur: \"focusout\" }, function( orig, fix ) {\n\n\t\t// Attach a single capturing handler on the document while someone wants focusin/focusout\n\t\tvar handler = function( event ) {\n\t\t\tjQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) );\n\t\t};\n\n\t\tjQuery.event.special[ fix ] = {\n\t\t\tsetup: function() {\n\t\t\t\tvar doc = this.ownerDocument || this,\n\t\t\t\t\tattaches = dataPriv.access( doc, fix );\n\n\t\t\t\tif ( !attaches ) {\n\t\t\t\t\tdoc.addEventListener( orig, handler, true );\n\t\t\t\t}\n\t\t\t\tdataPriv.access( doc, fix, ( attaches || 0 ) + 1 );\n\t\t\t},\n\t\t\tteardown: function() {\n\t\t\t\tvar doc = this.ownerDocument || this,\n\t\t\t\t\tattaches = dataPriv.access( doc, fix ) - 1;\n\n\t\t\t\tif ( !attaches ) {\n\t\t\t\t\tdoc.removeEventListener( orig, handler, true );\n\t\t\t\t\tdataPriv.remove( doc, fix );\n\n\t\t\t\t} else {\n\t\t\t\t\tdataPriv.access( doc, fix, attaches );\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t} );\n}\nvar location = window.location;\n\nvar nonce = Date.now();\n\nvar rquery = ( /\\?/ );\n\n\n\n// Cross-browser xml parsing\njQuery.parseXML = function( data ) {\n\tvar xml;\n\tif ( !data || typeof data !== \"string\" ) {\n\t\treturn null;\n\t}\n\n\t// Support: IE 9 - 11 only\n\t// IE throws on parseFromString with invalid input.\n\ttry {\n\t\txml = ( new window.DOMParser() ).parseFromString( data, \"text/xml\" );\n\t} catch ( e ) {\n\t\txml = undefined;\n\t}\n\n\tif ( !xml || xml.getElementsByTagName( \"parsererror\" ).length ) {\n\t\tjQuery.error( \"Invalid XML: \" + data );\n\t}\n\treturn xml;\n};\n\n\nvar\n\trbracket = /\\[\\]$/,\n\trCRLF = /\\r?\\n/g,\n\trsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,\n\trsubmittable = /^(?:input|select|textarea|keygen)/i;\n\nfunction buildParams( prefix, obj, traditional, add ) {\n\tvar name;\n\n\tif ( Array.isArray( obj ) ) {\n\n\t\t// Serialize array item.\n\t\tjQuery.each( obj, function( i, v ) {\n\t\t\tif ( traditional || rbracket.test( prefix ) ) {\n\n\t\t\t\t// Treat each array item as a scalar.\n\t\t\t\tadd( prefix, v );\n\n\t\t\t} else {\n\n\t\t\t\t// Item is non-scalar (array or object), encode its numeric index.\n\t\t\t\tbuildParams(\n\t\t\t\t\tprefix + \"[\" + ( typeof v === \"object\" && v != null ? i : \"\" ) + \"]\",\n\t\t\t\t\tv,\n\t\t\t\t\ttraditional,\n\t\t\t\t\tadd\n\t\t\t\t);\n\t\t\t}\n\t\t} );\n\n\t} else if ( !traditional && toType( obj ) === \"object\" ) {\n\n\t\t// Serialize object item.\n\t\tfor ( name in obj ) {\n\t\t\tbuildParams( prefix + \"[\" + name + \"]\", obj[ name ], traditional, add );\n\t\t}\n\n\t} else {\n\n\t\t// Serialize scalar item.\n\t\tadd( prefix, obj );\n\t}\n}\n\n// Serialize an array of form elements or a set of\n// key/values into a query string\njQuery.param = function( a, traditional ) {\n\tvar prefix,\n\t\ts = [],\n\t\tadd = function( key, valueOrFunction ) {\n\n\t\t\t// If value is a function, invoke it and use its return value\n\t\t\tvar value = isFunction( valueOrFunction ) ?\n\t\t\t\tvalueOrFunction() :\n\t\t\t\tvalueOrFunction;\n\n\t\t\ts[ s.length ] = encodeURIComponent( key ) + \"=\" +\n\t\t\t\tencodeURIComponent( value == null ? \"\" : value );\n\t\t};\n\n\t// If an array was passed in, assume that it is an array of form elements.\n\tif ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) {\n\n\t\t// Serialize the form elements\n\t\tjQuery.each( a, function() {\n\t\t\tadd( this.name, this.value );\n\t\t} );\n\n\t} else {\n\n\t\t// If traditional, encode the \"old\" way (the way 1.3.2 or older\n\t\t// did it), otherwise encode params recursively.\n\t\tfor ( prefix in a ) {\n\t\t\tbuildParams( prefix, a[ prefix ], traditional, add );\n\t\t}\n\t}\n\n\t// Return the resulting serialization\n\treturn s.join( \"&\" );\n};\n\njQuery.fn.extend( {\n\tserialize: function() {\n\t\treturn jQuery.param( this.serializeArray() );\n\t},\n\tserializeArray: function() {\n\t\treturn this.map( function() {\n\n\t\t\t// Can add propHook for \"elements\" to filter or add form elements\n\t\t\tvar elements = jQuery.prop( this, \"elements\" );\n\t\t\treturn elements ? jQuery.makeArray( elements ) : this;\n\t\t} )\n\t\t.filter( function() {\n\t\t\tvar type = this.type;\n\n\t\t\t// Use .is( \":disabled\" ) so that fieldset[disabled] works\n\t\t\treturn this.name && !jQuery( this ).is( \":disabled\" ) &&\n\t\t\t\trsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) &&\n\t\t\t\t( this.checked || !rcheckableType.test( type ) );\n\t\t} )\n\t\t.map( function( i, elem ) {\n\t\t\tvar val = jQuery( this ).val();\n\n\t\t\tif ( val == null ) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\tif ( Array.isArray( val ) ) {\n\t\t\t\treturn jQuery.map( val, function( val ) {\n\t\t\t\t\treturn { name: elem.name, value: val.replace( rCRLF, \"\\r\\n\" ) };\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\treturn { name: elem.name, value: val.replace( rCRLF, \"\\r\\n\" ) };\n\t\t} ).get();\n\t}\n} );\n\n\nvar\n\tr20 = /%20/g,\n\trhash = /#.*$/,\n\trantiCache = /([?&])_=[^&]*/,\n\trheaders = /^(.*?):[ \\t]*([^\\r\\n]*)$/mg,\n\n\t// #7653, #8125, #8152: local protocol detection\n\trlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,\n\trnoContent = /^(?:GET|HEAD)$/,\n\trprotocol = /^\\/\\//,\n\n\t/* Prefilters\n\t * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)\n\t * 2) These are called:\n\t * - BEFORE asking for a transport\n\t * - AFTER param serialization (s.data is a string if s.processData is true)\n\t * 3) key is the dataType\n\t * 4) the catchall symbol \"*\" can be used\n\t * 5) execution will start with transport dataType and THEN continue down to \"*\" if needed\n\t */\n\tprefilters = {},\n\n\t/* Transports bindings\n\t * 1) key is the dataType\n\t * 2) the catchall symbol \"*\" can be used\n\t * 3) selection will start with transport dataType and THEN go to \"*\" if needed\n\t */\n\ttransports = {},\n\n\t// Avoid comment-prolog char sequence (#10098); must appease lint and evade compression\n\tallTypes = \"*/\".concat( \"*\" ),\n\n\t// Anchor tag for parsing the document origin\n\toriginAnchor = document.createElement( \"a\" );\n\toriginAnchor.href = location.href;\n\n// Base \"constructor\" for jQuery.ajaxPrefilter and jQuery.ajaxTransport\nfunction addToPrefiltersOrTransports( structure ) {\n\n\t// dataTypeExpression is optional and defaults to \"*\"\n\treturn function( dataTypeExpression, func ) {\n\n\t\tif ( typeof dataTypeExpression !== \"string\" ) {\n\t\t\tfunc = dataTypeExpression;\n\t\t\tdataTypeExpression = \"*\";\n\t\t}\n\n\t\tvar dataType,\n\t\t\ti = 0,\n\t\t\tdataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || [];\n\n\t\tif ( isFunction( func ) ) {\n\n\t\t\t// For each dataType in the dataTypeExpression\n\t\t\twhile ( ( dataType = dataTypes[ i++ ] ) ) {\n\n\t\t\t\t// Prepend if requested\n\t\t\t\tif ( dataType[ 0 ] === \"+\" ) {\n\t\t\t\t\tdataType = dataType.slice( 1 ) || \"*\";\n\t\t\t\t\t( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func );\n\n\t\t\t\t// Otherwise append\n\t\t\t\t} else {\n\t\t\t\t\t( structure[ dataType ] = structure[ dataType ] || [] ).push( func );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n}\n\n// Base inspection function for prefilters and transports\nfunction inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {\n\n\tvar inspected = {},\n\t\tseekingTransport = ( structure === transports );\n\n\tfunction inspect( dataType ) {\n\t\tvar selected;\n\t\tinspected[ dataType ] = true;\n\t\tjQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) {\n\t\t\tvar dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR );\n\t\t\tif ( typeof dataTypeOrTransport === \"string\" &&\n\t\t\t\t!seekingTransport && !inspected[ dataTypeOrTransport ] ) {\n\n\t\t\t\toptions.dataTypes.unshift( dataTypeOrTransport );\n\t\t\t\tinspect( dataTypeOrTransport );\n\t\t\t\treturn false;\n\t\t\t} else if ( seekingTransport ) {\n\t\t\t\treturn !( selected = dataTypeOrTransport );\n\t\t\t}\n\t\t} );\n\t\treturn selected;\n\t}\n\n\treturn inspect( options.dataTypes[ 0 ] ) || !inspected[ \"*\" ] && inspect( \"*\" );\n}\n\n// A special extend for ajax options\n// that takes \"flat\" options (not to be deep extended)\n// Fixes #9887\nfunction ajaxExtend( target, src ) {\n\tvar key, deep,\n\t\tflatOptions = jQuery.ajaxSettings.flatOptions || {};\n\n\tfor ( key in src ) {\n\t\tif ( src[ key ] !== undefined ) {\n\t\t\t( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ];\n\t\t}\n\t}\n\tif ( deep ) {\n\t\tjQuery.extend( true, target, deep );\n\t}\n\n\treturn target;\n}\n\n/* Handles responses to an ajax request:\n * - finds the right dataType (mediates between content-type and expected dataType)\n * - returns the corresponding response\n */\nfunction ajaxHandleResponses( s, jqXHR, responses ) {\n\n\tvar ct, type, finalDataType, firstDataType,\n\t\tcontents = s.contents,\n\t\tdataTypes = s.dataTypes;\n\n\t// Remove auto dataType and get content-type in the process\n\twhile ( dataTypes[ 0 ] === \"*\" ) {\n\t\tdataTypes.shift();\n\t\tif ( ct === undefined ) {\n\t\t\tct = s.mimeType || jqXHR.getResponseHeader( \"Content-Type\" );\n\t\t}\n\t}\n\n\t// Check if we're dealing with a known content-type\n\tif ( ct ) {\n\t\tfor ( type in contents ) {\n\t\t\tif ( contents[ type ] && contents[ type ].test( ct ) ) {\n\t\t\t\tdataTypes.unshift( type );\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Check to see if we have a response for the expected dataType\n\tif ( dataTypes[ 0 ] in responses ) {\n\t\tfinalDataType = dataTypes[ 0 ];\n\t} else {\n\n\t\t// Try convertible dataTypes\n\t\tfor ( type in responses ) {\n\t\t\tif ( !dataTypes[ 0 ] || s.converters[ type + \" \" + dataTypes[ 0 ] ] ) {\n\t\t\t\tfinalDataType = type;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif ( !firstDataType ) {\n\t\t\t\tfirstDataType = type;\n\t\t\t}\n\t\t}\n\n\t\t// Or just use first one\n\t\tfinalDataType = finalDataType || firstDataType;\n\t}\n\n\t// If we found a dataType\n\t// We add the dataType to the list if needed\n\t// and return the corresponding response\n\tif ( finalDataType ) {\n\t\tif ( finalDataType !== dataTypes[ 0 ] ) {\n\t\t\tdataTypes.unshift( finalDataType );\n\t\t}\n\t\treturn responses[ finalDataType ];\n\t}\n}\n\n/* Chain conversions given the request and the original response\n * Also sets the responseXXX fields on the jqXHR instance\n */\nfunction ajaxConvert( s, response, jqXHR, isSuccess ) {\n\tvar conv2, current, conv, tmp, prev,\n\t\tconverters = {},\n\n\t\t// Work with a copy of dataTypes in case we need to modify it for conversion\n\t\tdataTypes = s.dataTypes.slice();\n\n\t// Create converters map with lowercased keys\n\tif ( dataTypes[ 1 ] ) {\n\t\tfor ( conv in s.converters ) {\n\t\t\tconverters[ conv.toLowerCase() ] = s.converters[ conv ];\n\t\t}\n\t}\n\n\tcurrent = dataTypes.shift();\n\n\t// Convert to each sequential dataType\n\twhile ( current ) {\n\n\t\tif ( s.responseFields[ current ] ) {\n\t\t\tjqXHR[ s.responseFields[ current ] ] = response;\n\t\t}\n\n\t\t// Apply the dataFilter if provided\n\t\tif ( !prev && isSuccess && s.dataFilter ) {\n\t\t\tresponse = s.dataFilter( response, s.dataType );\n\t\t}\n\n\t\tprev = current;\n\t\tcurrent = dataTypes.shift();\n\n\t\tif ( current ) {\n\n\t\t\t// There's only work to do if current dataType is non-auto\n\t\t\tif ( current === \"*\" ) {\n\n\t\t\t\tcurrent = prev;\n\n\t\t\t// Convert response if prev dataType is non-auto and differs from current\n\t\t\t} else if ( prev !== \"*\" && prev !== current ) {\n\n\t\t\t\t// Seek a direct converter\n\t\t\t\tconv = converters[ prev + \" \" + current ] || converters[ \"* \" + current ];\n\n\t\t\t\t// If none found, seek a pair\n\t\t\t\tif ( !conv ) {\n\t\t\t\t\tfor ( conv2 in converters ) {\n\n\t\t\t\t\t\t// If conv2 outputs current\n\t\t\t\t\t\ttmp = conv2.split( \" \" );\n\t\t\t\t\t\tif ( tmp[ 1 ] === current ) {\n\n\t\t\t\t\t\t\t// If prev can be converted to accepted input\n\t\t\t\t\t\t\tconv = converters[ prev + \" \" + tmp[ 0 ] ] ||\n\t\t\t\t\t\t\t\tconverters[ \"* \" + tmp[ 0 ] ];\n\t\t\t\t\t\t\tif ( conv ) {\n\n\t\t\t\t\t\t\t\t// Condense equivalence converters\n\t\t\t\t\t\t\t\tif ( conv === true ) {\n\t\t\t\t\t\t\t\t\tconv = converters[ conv2 ];\n\n\t\t\t\t\t\t\t\t// Otherwise, insert the intermediate dataType\n\t\t\t\t\t\t\t\t} else if ( converters[ conv2 ] !== true ) {\n\t\t\t\t\t\t\t\t\tcurrent = tmp[ 0 ];\n\t\t\t\t\t\t\t\t\tdataTypes.unshift( tmp[ 1 ] );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Apply converter (if not an equivalence)\n\t\t\t\tif ( conv !== true ) {\n\n\t\t\t\t\t// Unless errors are allowed to bubble, catch and return them\n\t\t\t\t\tif ( conv && s.throws ) {\n\t\t\t\t\t\tresponse = conv( response );\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tresponse = conv( response );\n\t\t\t\t\t\t} catch ( e ) {\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\tstate: \"parsererror\",\n\t\t\t\t\t\t\t\terror: conv ? e : \"No conversion from \" + prev + \" to \" + current\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn { state: \"success\", data: response };\n}\n\njQuery.extend( {\n\n\t// Counter for holding the number of active queries\n\tactive: 0,\n\n\t// Last-Modified header cache for next request\n\tlastModified: {},\n\tetag: {},\n\n\tajaxSettings: {\n\t\turl: location.href,\n\t\ttype: \"GET\",\n\t\tisLocal: rlocalProtocol.test( location.protocol ),\n\t\tglobal: true,\n\t\tprocessData: true,\n\t\tasync: true,\n\t\tcontentType: \"application/x-www-form-urlencoded; charset=UTF-8\",\n\n\t\t/*\n\t\ttimeout: 0,\n\t\tdata: null,\n\t\tdataType: null,\n\t\tusername: null,\n\t\tpassword: null,\n\t\tcache: null,\n\t\tthrows: false,\n\t\ttraditional: false,\n\t\theaders: {},\n\t\t*/\n\n\t\taccepts: {\n\t\t\t\"*\": allTypes,\n\t\t\ttext: \"text/plain\",\n\t\t\thtml: \"text/html\",\n\t\t\txml: \"application/xml, text/xml\",\n\t\t\tjson: \"application/json, text/javascript\"\n\t\t},\n\n\t\tcontents: {\n\t\t\txml: /\\bxml\\b/,\n\t\t\thtml: /\\bhtml/,\n\t\t\tjson: /\\bjson\\b/\n\t\t},\n\n\t\tresponseFields: {\n\t\t\txml: \"responseXML\",\n\t\t\ttext: \"responseText\",\n\t\t\tjson: \"responseJSON\"\n\t\t},\n\n\t\t// Data converters\n\t\t// Keys separate source (or catchall \"*\") and destination types with a single space\n\t\tconverters: {\n\n\t\t\t// Convert anything to text\n\t\t\t\"* text\": String,\n\n\t\t\t// Text to html (true = no transformation)\n\t\t\t\"text html\": true,\n\n\t\t\t// Evaluate text as a json expression\n\t\t\t\"text json\": JSON.parse,\n\n\t\t\t// Parse text as xml\n\t\t\t\"text xml\": jQuery.parseXML\n\t\t},\n\n\t\t// For options that shouldn't be deep extended:\n\t\t// you can add your own custom options here if\n\t\t// and when you create one that shouldn't be\n\t\t// deep extended (see ajaxExtend)\n\t\tflatOptions: {\n\t\t\turl: true,\n\t\t\tcontext: true\n\t\t}\n\t},\n\n\t// Creates a full fledged settings object into target\n\t// with both ajaxSettings and settings fields.\n\t// If target is omitted, writes into ajaxSettings.\n\tajaxSetup: function( target, settings ) {\n\t\treturn settings ?\n\n\t\t\t// Building a settings object\n\t\t\tajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) :\n\n\t\t\t// Extending ajaxSettings\n\t\t\tajaxExtend( jQuery.ajaxSettings, target );\n\t},\n\n\tajaxPrefilter: addToPrefiltersOrTransports( prefilters ),\n\tajaxTransport: addToPrefiltersOrTransports( transports ),\n\n\t// Main method\n\tajax: function( url, options ) {\n\n\t\t// If url is an object, simulate pre-1.5 signature\n\t\tif ( typeof url === \"object\" ) {\n\t\t\toptions = url;\n\t\t\turl = undefined;\n\t\t}\n\n\t\t// Force options to be an object\n\t\toptions = options || {};\n\n\t\tvar transport,\n\n\t\t\t// URL without anti-cache param\n\t\t\tcacheURL,\n\n\t\t\t// Response headers\n\t\t\tresponseHeadersString,\n\t\t\tresponseHeaders,\n\n\t\t\t// timeout handle\n\t\t\ttimeoutTimer,\n\n\t\t\t// Url cleanup var\n\t\t\turlAnchor,\n\n\t\t\t// Request state (becomes false upon send and true upon completion)\n\t\t\tcompleted,\n\n\t\t\t// To know if global events are to be dispatched\n\t\t\tfireGlobals,\n\n\t\t\t// Loop variable\n\t\t\ti,\n\n\t\t\t// uncached part of the url\n\t\t\tuncached,\n\n\t\t\t// Create the final options object\n\t\t\ts = jQuery.ajaxSetup( {}, options ),\n\n\t\t\t// Callbacks context\n\t\t\tcallbackContext = s.context || s,\n\n\t\t\t// Context for global events is callbackContext if it is a DOM node or jQuery collection\n\t\t\tglobalEventContext = s.context &&\n\t\t\t\t( callbackContext.nodeType || callbackContext.jquery ) ?\n\t\t\t\t\tjQuery( callbackContext ) :\n\t\t\t\t\tjQuery.event,\n\n\t\t\t// Deferreds\n\t\t\tdeferred = jQuery.Deferred(),\n\t\t\tcompleteDeferred = jQuery.Callbacks( \"once memory\" ),\n\n\t\t\t// Status-dependent callbacks\n\t\t\tstatusCode = s.statusCode || {},\n\n\t\t\t// Headers (they are sent all at once)\n\t\t\trequestHeaders = {},\n\t\t\trequestHeadersNames = {},\n\n\t\t\t// Default abort message\n\t\t\tstrAbort = \"canceled\",\n\n\t\t\t// Fake xhr\n\t\t\tjqXHR = {\n\t\t\t\treadyState: 0,\n\n\t\t\t\t// Builds headers hashtable if needed\n\t\t\t\tgetResponseHeader: function( key ) {\n\t\t\t\t\tvar match;\n\t\t\t\t\tif ( completed ) {\n\t\t\t\t\t\tif ( !responseHeaders ) {\n\t\t\t\t\t\t\tresponseHeaders = {};\n\t\t\t\t\t\t\twhile ( ( match = rheaders.exec( responseHeadersString ) ) ) {\n\t\t\t\t\t\t\t\tresponseHeaders[ match[ 1 ].toLowerCase() ] = match[ 2 ];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tmatch = responseHeaders[ key.toLowerCase() ];\n\t\t\t\t\t}\n\t\t\t\t\treturn match == null ? null : match;\n\t\t\t\t},\n\n\t\t\t\t// Raw string\n\t\t\t\tgetAllResponseHeaders: function() {\n\t\t\t\t\treturn completed ? responseHeadersString : null;\n\t\t\t\t},\n\n\t\t\t\t// Caches the header\n\t\t\t\tsetRequestHeader: function( name, value ) {\n\t\t\t\t\tif ( completed == null ) {\n\t\t\t\t\t\tname = requestHeadersNames[ name.toLowerCase() ] =\n\t\t\t\t\t\t\trequestHeadersNames[ name.toLowerCase() ] || name;\n\t\t\t\t\t\trequestHeaders[ name ] = value;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Overrides response content-type header\n\t\t\t\toverrideMimeType: function( type ) {\n\t\t\t\t\tif ( completed == null ) {\n\t\t\t\t\t\ts.mimeType = type;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Status-dependent callbacks\n\t\t\t\tstatusCode: function( map ) {\n\t\t\t\t\tvar code;\n\t\t\t\t\tif ( map ) {\n\t\t\t\t\t\tif ( completed ) {\n\n\t\t\t\t\t\t\t// Execute the appropriate callbacks\n\t\t\t\t\t\t\tjqXHR.always( map[ jqXHR.status ] );\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Lazy-add the new callbacks in a way that preserves old ones\n\t\t\t\t\t\t\tfor ( code in map ) {\n\t\t\t\t\t\t\t\tstatusCode[ code ] = [ statusCode[ code ], map[ code ] ];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Cancel the request\n\t\t\t\tabort: function( statusText ) {\n\t\t\t\t\tvar finalText = statusText || strAbort;\n\t\t\t\t\tif ( transport ) {\n\t\t\t\t\t\ttransport.abort( finalText );\n\t\t\t\t\t}\n\t\t\t\t\tdone( 0, finalText );\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t};\n\n\t\t// Attach deferreds\n\t\tdeferred.promise( jqXHR );\n\n\t\t// Add protocol if not provided (prefilters might expect it)\n\t\t// Handle falsy url in the settings object (#10093: consistency with old signature)\n\t\t// We also use the url parameter if available\n\t\ts.url = ( ( url || s.url || location.href ) + \"\" )\n\t\t\t.replace( rprotocol, location.protocol + \"//\" );\n\n\t\t// Alias method option to type as per ticket #12004\n\t\ts.type = options.method || options.type || s.method || s.type;\n\n\t\t// Extract dataTypes list\n\t\ts.dataTypes = ( s.dataType || \"*\" ).toLowerCase().match( rnothtmlwhite ) || [ \"\" ];\n\n\t\t// A cross-domain request is in order when the origin doesn't match the current origin.\n\t\tif ( s.crossDomain == null ) {\n\t\t\turlAnchor = document.createElement( \"a\" );\n\n\t\t\t// Support: IE <=8 - 11, Edge 12 - 15\n\t\t\t// IE throws exception on accessing the href property if url is malformed,\n\t\t\t// e.g. http://example.com:80x/\n\t\t\ttry {\n\t\t\t\turlAnchor.href = s.url;\n\n\t\t\t\t// Support: IE <=8 - 11 only\n\t\t\t\t// Anchor's host property isn't correctly set when s.url is relative\n\t\t\t\turlAnchor.href = urlAnchor.href;\n\t\t\t\ts.crossDomain = originAnchor.protocol + \"//\" + originAnchor.host !==\n\t\t\t\t\turlAnchor.protocol + \"//\" + urlAnchor.host;\n\t\t\t} catch ( e ) {\n\n\t\t\t\t// If there is an error parsing the URL, assume it is crossDomain,\n\t\t\t\t// it can be rejected by the transport if it is invalid\n\t\t\t\ts.crossDomain = true;\n\t\t\t}\n\t\t}\n\n\t\t// Convert data if not already a string\n\t\tif ( s.data && s.processData && typeof s.data !== \"string\" ) {\n\t\t\ts.data = jQuery.param( s.data, s.traditional );\n\t\t}\n\n\t\t// Apply prefilters\n\t\tinspectPrefiltersOrTransports( prefilters, s, options, jqXHR );\n\n\t\t// If request was aborted inside a prefilter, stop there\n\t\tif ( completed ) {\n\t\t\treturn jqXHR;\n\t\t}\n\n\t\t// We can fire global events as of now if asked to\n\t\t// Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118)\n\t\tfireGlobals = jQuery.event && s.global;\n\n\t\t// Watch for a new set of requests\n\t\tif ( fireGlobals && jQuery.active++ === 0 ) {\n\t\t\tjQuery.event.trigger( \"ajaxStart\" );\n\t\t}\n\n\t\t// Uppercase the type\n\t\ts.type = s.type.toUpperCase();\n\n\t\t// Determine if request has content\n\t\ts.hasContent = !rnoContent.test( s.type );\n\n\t\t// Save the URL in case we're toying with the If-Modified-Since\n\t\t// and/or If-None-Match header later on\n\t\t// Remove hash to simplify url manipulation\n\t\tcacheURL = s.url.replace( rhash, \"\" );\n\n\t\t// More options handling for requests with no content\n\t\tif ( !s.hasContent ) {\n\n\t\t\t// Remember the hash so we can put it back\n\t\t\tuncached = s.url.slice( cacheURL.length );\n\n\t\t\t// If data is available and should be processed, append data to url\n\t\t\tif ( s.data && ( s.processData || typeof s.data === \"string\" ) ) {\n\t\t\t\tcacheURL += ( rquery.test( cacheURL ) ? \"&\" : \"?\" ) + s.data;\n\n\t\t\t\t// #9682: remove data so that it's not used in an eventual retry\n\t\t\t\tdelete s.data;\n\t\t\t}\n\n\t\t\t// Add or update anti-cache param if needed\n\t\t\tif ( s.cache === false ) {\n\t\t\t\tcacheURL = cacheURL.replace( rantiCache, \"$1\" );\n\t\t\t\tuncached = ( rquery.test( cacheURL ) ? \"&\" : \"?\" ) + \"_=\" + ( nonce++ ) + uncached;\n\t\t\t}\n\n\t\t\t// Put hash and anti-cache on the URL that will be requested (gh-1732)\n\t\t\ts.url = cacheURL + uncached;\n\n\t\t// Change '%20' to '+' if this is encoded form body content (gh-2658)\n\t\t} else if ( s.data && s.processData &&\n\t\t\t( s.contentType || \"\" ).indexOf( \"application/x-www-form-urlencoded\" ) === 0 ) {\n\t\t\ts.data = s.data.replace( r20, \"+\" );\n\t\t}\n\n\t\t// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n\t\tif ( s.ifModified ) {\n\t\t\tif ( jQuery.lastModified[ cacheURL ] ) {\n\t\t\t\tjqXHR.setRequestHeader( \"If-Modified-Since\", jQuery.lastModified[ cacheURL ] );\n\t\t\t}\n\t\t\tif ( jQuery.etag[ cacheURL ] ) {\n\t\t\t\tjqXHR.setRequestHeader( \"If-None-Match\", jQuery.etag[ cacheURL ] );\n\t\t\t}\n\t\t}\n\n\t\t// Set the correct header, if data is being sent\n\t\tif ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {\n\t\t\tjqXHR.setRequestHeader( \"Content-Type\", s.contentType );\n\t\t}\n\n\t\t// Set the Accepts header for the server, depending on the dataType\n\t\tjqXHR.setRequestHeader(\n\t\t\t\"Accept\",\n\t\t\ts.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ?\n\t\t\t\ts.accepts[ s.dataTypes[ 0 ] ] +\n\t\t\t\t\t( s.dataTypes[ 0 ] !== \"*\" ? \", \" + allTypes + \"; q=0.01\" : \"\" ) :\n\t\t\t\ts.accepts[ \"*\" ]\n\t\t);\n\n\t\t// Check for headers option\n\t\tfor ( i in s.headers ) {\n\t\t\tjqXHR.setRequestHeader( i, s.headers[ i ] );\n\t\t}\n\n\t\t// Allow custom headers/mimetypes and early abort\n\t\tif ( s.beforeSend &&\n\t\t\t( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) {\n\n\t\t\t// Abort if not done already and return\n\t\t\treturn jqXHR.abort();\n\t\t}\n\n\t\t// Aborting is no longer a cancellation\n\t\tstrAbort = \"abort\";\n\n\t\t// Install callbacks on deferreds\n\t\tcompleteDeferred.add( s.complete );\n\t\tjqXHR.done( s.success );\n\t\tjqXHR.fail( s.error );\n\n\t\t// Get transport\n\t\ttransport = inspectPrefiltersOrTransports( transports, s, options, jqXHR );\n\n\t\t// If no transport, we auto-abort\n\t\tif ( !transport ) {\n\t\t\tdone( -1, \"No Transport\" );\n\t\t} else {\n\t\t\tjqXHR.readyState = 1;\n\n\t\t\t// Send global event\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( \"ajaxSend\", [ jqXHR, s ] );\n\t\t\t}\n\n\t\t\t// If request was aborted inside ajaxSend, stop there\n\t\t\tif ( completed ) {\n\t\t\t\treturn jqXHR;\n\t\t\t}\n\n\t\t\t// Timeout\n\t\t\tif ( s.async && s.timeout > 0 ) {\n\t\t\t\ttimeoutTimer = window.setTimeout( function() {\n\t\t\t\t\tjqXHR.abort( \"timeout\" );\n\t\t\t\t}, s.timeout );\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\tcompleted = false;\n\t\t\t\ttransport.send( requestHeaders, done );\n\t\t\t} catch ( e ) {\n\n\t\t\t\t// Rethrow post-completion exceptions\n\t\t\t\tif ( completed ) {\n\t\t\t\t\tthrow e;\n\t\t\t\t}\n\n\t\t\t\t// Propagate others as results\n\t\t\t\tdone( -1, e );\n\t\t\t}\n\t\t}\n\n\t\t// Callback for when everything is done\n\t\tfunction done( status, nativeStatusText, responses, headers ) {\n\t\t\tvar isSuccess, success, error, response, modified,\n\t\t\t\tstatusText = nativeStatusText;\n\n\t\t\t// Ignore repeat invocations\n\t\t\tif ( completed ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tcompleted = true;\n\n\t\t\t// Clear timeout if it exists\n\t\t\tif ( timeoutTimer ) {\n\t\t\t\twindow.clearTimeout( timeoutTimer );\n\t\t\t}\n\n\t\t\t// Dereference transport for early garbage collection\n\t\t\t// (no matter how long the jqXHR object will be used)\n\t\t\ttransport = undefined;\n\n\t\t\t// Cache response headers\n\t\t\tresponseHeadersString = headers || \"\";\n\n\t\t\t// Set readyState\n\t\t\tjqXHR.readyState = status > 0 ? 4 : 0;\n\n\t\t\t// Determine if successful\n\t\t\tisSuccess = status >= 200 && status < 300 || status === 304;\n\n\t\t\t// Get response data\n\t\t\tif ( responses ) {\n\t\t\t\tresponse = ajaxHandleResponses( s, jqXHR, responses );\n\t\t\t}\n\n\t\t\t// Convert no matter what (that way responseXXX fields are always set)\n\t\t\tresponse = ajaxConvert( s, response, jqXHR, isSuccess );\n\n\t\t\t// If successful, handle type chaining\n\t\t\tif ( isSuccess ) {\n\n\t\t\t\t// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n\t\t\t\tif ( s.ifModified ) {\n\t\t\t\t\tmodified = jqXHR.getResponseHeader( \"Last-Modified\" );\n\t\t\t\t\tif ( modified ) {\n\t\t\t\t\t\tjQuery.lastModified[ cacheURL ] = modified;\n\t\t\t\t\t}\n\t\t\t\t\tmodified = jqXHR.getResponseHeader( \"etag\" );\n\t\t\t\t\tif ( modified ) {\n\t\t\t\t\t\tjQuery.etag[ cacheURL ] = modified;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// if no content\n\t\t\t\tif ( status === 204 || s.type === \"HEAD\" ) {\n\t\t\t\t\tstatusText = \"nocontent\";\n\n\t\t\t\t// if not modified\n\t\t\t\t} else if ( status === 304 ) {\n\t\t\t\t\tstatusText = \"notmodified\";\n\n\t\t\t\t// If we have data, let's convert it\n\t\t\t\t} else {\n\t\t\t\t\tstatusText = response.state;\n\t\t\t\t\tsuccess = response.data;\n\t\t\t\t\terror = response.error;\n\t\t\t\t\tisSuccess = !error;\n\t\t\t\t}\n\t\t\t} else {\n\n\t\t\t\t// Extract error from statusText and normalize for non-aborts\n\t\t\t\terror = statusText;\n\t\t\t\tif ( status || !statusText ) {\n\t\t\t\t\tstatusText = \"error\";\n\t\t\t\t\tif ( status < 0 ) {\n\t\t\t\t\t\tstatus = 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Set data for the fake xhr object\n\t\t\tjqXHR.status = status;\n\t\t\tjqXHR.statusText = ( nativeStatusText || statusText ) + \"\";\n\n\t\t\t// Success/Error\n\t\t\tif ( isSuccess ) {\n\t\t\t\tdeferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );\n\t\t\t} else {\n\t\t\t\tdeferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );\n\t\t\t}\n\n\t\t\t// Status-dependent callbacks\n\t\t\tjqXHR.statusCode( statusCode );\n\t\t\tstatusCode = undefined;\n\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( isSuccess ? \"ajaxSuccess\" : \"ajaxError\",\n\t\t\t\t\t[ jqXHR, s, isSuccess ? success : error ] );\n\t\t\t}\n\n\t\t\t// Complete\n\t\t\tcompleteDeferred.fireWith( callbackContext, [ jqXHR, statusText ] );\n\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( \"ajaxComplete\", [ jqXHR, s ] );\n\n\t\t\t\t// Handle the global AJAX counter\n\t\t\t\tif ( !( --jQuery.active ) ) {\n\t\t\t\t\tjQuery.event.trigger( \"ajaxStop\" );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn jqXHR;\n\t},\n\n\tgetJSON: function( url, data, callback ) {\n\t\treturn jQuery.get( url, data, callback, \"json\" );\n\t},\n\n\tgetScript: function( url, callback ) {\n\t\treturn jQuery.get( url, undefined, callback, \"script\" );\n\t}\n} );\n\njQuery.each( [ \"get\", \"post\" ], function( i, method ) {\n\tjQuery[ method ] = function( url, data, callback, type ) {\n\n\t\t// Shift arguments if data argument was omitted\n\t\tif ( isFunction( data ) ) {\n\t\t\ttype = type || callback;\n\t\t\tcallback = data;\n\t\t\tdata = undefined;\n\t\t}\n\n\t\t// The url can be an options object (which then must have .url)\n\t\treturn jQuery.ajax( jQuery.extend( {\n\t\t\turl: url,\n\t\t\ttype: method,\n\t\t\tdataType: type,\n\t\t\tdata: data,\n\t\t\tsuccess: callback\n\t\t}, jQuery.isPlainObject( url ) && url ) );\n\t};\n} );\n\n\njQuery._evalUrl = function( url ) {\n\treturn jQuery.ajax( {\n\t\turl: url,\n\n\t\t// Make this explicit, since user can override this through ajaxSetup (#11264)\n\t\ttype: \"GET\",\n\t\tdataType: \"script\",\n\t\tcache: true,\n\t\tasync: false,\n\t\tglobal: false,\n\t\t\"throws\": true\n\t} );\n};\n\n\njQuery.fn.extend( {\n\twrapAll: function( html ) {\n\t\tvar wrap;\n\n\t\tif ( this[ 0 ] ) {\n\t\t\tif ( isFunction( html ) ) {\n\t\t\t\thtml = html.call( this[ 0 ] );\n\t\t\t}\n\n\t\t\t// The elements to wrap the target around\n\t\t\twrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true );\n\n\t\t\tif ( this[ 0 ].parentNode ) {\n\t\t\t\twrap.insertBefore( this[ 0 ] );\n\t\t\t}\n\n\t\t\twrap.map( function() {\n\t\t\t\tvar elem = this;\n\n\t\t\t\twhile ( elem.firstElementChild ) {\n\t\t\t\t\telem = elem.firstElementChild;\n\t\t\t\t}\n\n\t\t\t\treturn elem;\n\t\t\t} ).append( this );\n\t\t}\n\n\t\treturn this;\n\t},\n\n\twrapInner: function( html ) {\n\t\tif ( isFunction( html ) ) {\n\t\t\treturn this.each( function( i ) {\n\t\t\t\tjQuery( this ).wrapInner( html.call( this, i ) );\n\t\t\t} );\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tvar self = jQuery( this ),\n\t\t\t\tcontents = self.contents();\n\n\t\t\tif ( contents.length ) {\n\t\t\t\tcontents.wrapAll( html );\n\n\t\t\t} else {\n\t\t\t\tself.append( html );\n\t\t\t}\n\t\t} );\n\t},\n\n\twrap: function( html ) {\n\t\tvar htmlIsFunction = isFunction( html );\n\n\t\treturn this.each( function( i ) {\n\t\t\tjQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html );\n\t\t} );\n\t},\n\n\tunwrap: function( selector ) {\n\t\tthis.parent( selector ).not( \"body\" ).each( function() {\n\t\t\tjQuery( this ).replaceWith( this.childNodes );\n\t\t} );\n\t\treturn this;\n\t}\n} );\n\n\njQuery.expr.pseudos.hidden = function( elem ) {\n\treturn !jQuery.expr.pseudos.visible( elem );\n};\njQuery.expr.pseudos.visible = function( elem ) {\n\treturn !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length );\n};\n\n\n\n\njQuery.ajaxSettings.xhr = function() {\n\ttry {\n\t\treturn new window.XMLHttpRequest();\n\t} catch ( e ) {}\n};\n\nvar xhrSuccessStatus = {\n\n\t\t// File protocol always yields status code 0, assume 200\n\t\t0: 200,\n\n\t\t// Support: IE <=9 only\n\t\t// #1450: sometimes IE returns 1223 when it should be 204\n\t\t1223: 204\n\t},\n\txhrSupported = jQuery.ajaxSettings.xhr();\n\nsupport.cors = !!xhrSupported && ( \"withCredentials\" in xhrSupported );\nsupport.ajax = xhrSupported = !!xhrSupported;\n\njQuery.ajaxTransport( function( options ) {\n\tvar callback, errorCallback;\n\n\t// Cross domain only allowed if supported through XMLHttpRequest\n\tif ( support.cors || xhrSupported && !options.crossDomain ) {\n\t\treturn {\n\t\t\tsend: function( headers, complete ) {\n\t\t\t\tvar i,\n\t\t\t\t\txhr = options.xhr();\n\n\t\t\t\txhr.open(\n\t\t\t\t\toptions.type,\n\t\t\t\t\toptions.url,\n\t\t\t\t\toptions.async,\n\t\t\t\t\toptions.username,\n\t\t\t\t\toptions.password\n\t\t\t\t);\n\n\t\t\t\t// Apply custom fields if provided\n\t\t\t\tif ( options.xhrFields ) {\n\t\t\t\t\tfor ( i in options.xhrFields ) {\n\t\t\t\t\t\txhr[ i ] = options.xhrFields[ i ];\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Override mime type if needed\n\t\t\t\tif ( options.mimeType && xhr.overrideMimeType ) {\n\t\t\t\t\txhr.overrideMimeType( options.mimeType );\n\t\t\t\t}\n\n\t\t\t\t// X-Requested-With header\n\t\t\t\t// For cross-domain requests, seeing as conditions for a preflight are\n\t\t\t\t// akin to a jigsaw puzzle, we simply never set it to be sure.\n\t\t\t\t// (it can always be set on a per-request basis or even using ajaxSetup)\n\t\t\t\t// For same-domain requests, won't change header if already provided.\n\t\t\t\tif ( !options.crossDomain && !headers[ \"X-Requested-With\" ] ) {\n\t\t\t\t\theaders[ \"X-Requested-With\" ] = \"XMLHttpRequest\";\n\t\t\t\t}\n\n\t\t\t\t// Set headers\n\t\t\t\tfor ( i in headers ) {\n\t\t\t\t\txhr.setRequestHeader( i, headers[ i ] );\n\t\t\t\t}\n\n\t\t\t\t// Callback\n\t\t\t\tcallback = function( type ) {\n\t\t\t\t\treturn function() {\n\t\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\t\tcallback = errorCallback = xhr.onload =\n\t\t\t\t\t\t\t\txhr.onerror = xhr.onabort = xhr.ontimeout =\n\t\t\t\t\t\t\t\t\txhr.onreadystatechange = null;\n\n\t\t\t\t\t\t\tif ( type === \"abort\" ) {\n\t\t\t\t\t\t\t\txhr.abort();\n\t\t\t\t\t\t\t} else if ( type === \"error\" ) {\n\n\t\t\t\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t\t\t\t// On a manual native abort, IE9 throws\n\t\t\t\t\t\t\t\t// errors on any property access that is not readyState\n\t\t\t\t\t\t\t\tif ( typeof xhr.status !== \"number\" ) {\n\t\t\t\t\t\t\t\t\tcomplete( 0, \"error\" );\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tcomplete(\n\n\t\t\t\t\t\t\t\t\t\t// File: protocol always yields status 0; see #8605, #14207\n\t\t\t\t\t\t\t\t\t\txhr.status,\n\t\t\t\t\t\t\t\t\t\txhr.statusText\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tcomplete(\n\t\t\t\t\t\t\t\t\txhrSuccessStatus[ xhr.status ] || xhr.status,\n\t\t\t\t\t\t\t\t\txhr.statusText,\n\n\t\t\t\t\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t\t\t\t\t// IE9 has no XHR2 but throws on binary (trac-11426)\n\t\t\t\t\t\t\t\t\t// For XHR2 non-text, let the caller handle it (gh-2498)\n\t\t\t\t\t\t\t\t\t( xhr.responseType || \"text\" ) !== \"text\" ||\n\t\t\t\t\t\t\t\t\ttypeof xhr.responseText !== \"string\" ?\n\t\t\t\t\t\t\t\t\t\t{ binary: xhr.response } :\n\t\t\t\t\t\t\t\t\t\t{ text: xhr.responseText },\n\t\t\t\t\t\t\t\t\txhr.getAllResponseHeaders()\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t};\n\n\t\t\t\t// Listen to events\n\t\t\t\txhr.onload = callback();\n\t\t\t\terrorCallback = xhr.onerror = xhr.ontimeout = callback( \"error\" );\n\n\t\t\t\t// Support: IE 9 only\n\t\t\t\t// Use onreadystatechange to replace onabort\n\t\t\t\t// to handle uncaught aborts\n\t\t\t\tif ( xhr.onabort !== undefined ) {\n\t\t\t\t\txhr.onabort = errorCallback;\n\t\t\t\t} else {\n\t\t\t\t\txhr.onreadystatechange = function() {\n\n\t\t\t\t\t\t// Check readyState before timeout as it changes\n\t\t\t\t\t\tif ( xhr.readyState === 4 ) {\n\n\t\t\t\t\t\t\t// Allow onerror to be called first,\n\t\t\t\t\t\t\t// but that will not handle a native abort\n\t\t\t\t\t\t\t// Also, save errorCallback to a variable\n\t\t\t\t\t\t\t// as xhr.onerror cannot be accessed\n\t\t\t\t\t\t\twindow.setTimeout( function() {\n\t\t\t\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\t\t\t\terrorCallback();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\t// Create the abort callback\n\t\t\t\tcallback = callback( \"abort\" );\n\n\t\t\t\ttry {\n\n\t\t\t\t\t// Do send the request (this may raise an exception)\n\t\t\t\t\txhr.send( options.hasContent && options.data || null );\n\t\t\t\t} catch ( e ) {\n\n\t\t\t\t\t// #14683: Only rethrow if this hasn't been notified as an error yet\n\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\tthrow e;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tabort: function() {\n\t\t\t\tif ( callback ) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n} );\n\n\n\n\n// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432)\njQuery.ajaxPrefilter( function( s ) {\n\tif ( s.crossDomain ) {\n\t\ts.contents.script = false;\n\t}\n} );\n\n// Install script dataType\njQuery.ajaxSetup( {\n\taccepts: {\n\t\tscript: \"text/javascript, application/javascript, \" +\n\t\t\t\"application/ecmascript, application/x-ecmascript\"\n\t},\n\tcontents: {\n\t\tscript: /\\b(?:java|ecma)script\\b/\n\t},\n\tconverters: {\n\t\t\"text script\": function( text ) {\n\t\t\tjQuery.globalEval( text );\n\t\t\treturn text;\n\t\t}\n\t}\n} );\n\n// Handle cache's special case and crossDomain\njQuery.ajaxPrefilter( \"script\", function( s ) {\n\tif ( s.cache === undefined ) {\n\t\ts.cache = false;\n\t}\n\tif ( s.crossDomain ) {\n\t\ts.type = \"GET\";\n\t}\n} );\n\n// Bind script tag hack transport\njQuery.ajaxTransport( \"script\", function( s ) {\n\n\t// This transport only deals with cross domain requests\n\tif ( s.crossDomain ) {\n\t\tvar script, callback;\n\t\treturn {\n\t\t\tsend: function( _, complete ) {\n\t\t\t\tscript = jQuery( \"<script>\" ).prop( {\n\t\t\t\t\tcharset: s.scriptCharset,\n\t\t\t\t\tsrc: s.url\n\t\t\t\t} ).on(\n\t\t\t\t\t\"load error\",\n\t\t\t\t\tcallback = function( evt ) {\n\t\t\t\t\t\tscript.remove();\n\t\t\t\t\t\tcallback = null;\n\t\t\t\t\t\tif ( evt ) {\n\t\t\t\t\t\t\tcomplete( evt.type === \"error\" ? 404 : 200, evt.type );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t);\n\n\t\t\t\t// Use native DOM manipulation to avoid our domManip AJAX trickery\n\t\t\t\tdocument.head.appendChild( script[ 0 ] );\n\t\t\t},\n\t\t\tabort: function() {\n\t\t\t\tif ( callback ) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n} );\n\n\n\n\nvar oldCallbacks = [],\n\trjsonp = /(=)\\?(?=&|$)|\\?\\?/;\n\n// Default jsonp settings\njQuery.ajaxSetup( {\n\tjsonp: \"callback\",\n\tjsonpCallback: function() {\n\t\tvar callback = oldCallbacks.pop() || ( jQuery.expando + \"_\" + ( nonce++ ) );\n\t\tthis[ callback ] = true;\n\t\treturn callback;\n\t}\n} );\n\n// Detect, normalize options and install callbacks for jsonp requests\njQuery.ajaxPrefilter( \"json jsonp\", function( s, originalSettings, jqXHR ) {\n\n\tvar callbackName, overwritten, responseContainer,\n\t\tjsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ?\n\t\t\t\"url\" :\n\t\t\ttypeof s.data === \"string\" &&\n\t\t\t\t( s.contentType || \"\" )\n\t\t\t\t\t.indexOf( \"application/x-www-form-urlencoded\" ) === 0 &&\n\t\t\t\trjsonp.test( s.data ) && \"data\"\n\t\t);\n\n\t// Handle iff the expected data type is \"jsonp\" or we have a parameter to set\n\tif ( jsonProp || s.dataTypes[ 0 ] === \"jsonp\" ) {\n\n\t\t// Get callback name, remembering preexisting value associated with it\n\t\tcallbackName = s.jsonpCallback = isFunction( s.jsonpCallback ) ?\n\t\t\ts.jsonpCallback() :\n\t\t\ts.jsonpCallback;\n\n\t\t// Insert callback into url or form data\n\t\tif ( jsonProp ) {\n\t\t\ts[ jsonProp ] = s[ jsonProp ].replace( rjsonp, \"$1\" + callbackName );\n\t\t} else if ( s.jsonp !== false ) {\n\t\t\ts.url += ( rquery.test( s.url ) ? \"&\" : \"?\" ) + s.jsonp + \"=\" + callbackName;\n\t\t}\n\n\t\t// Use data converter to retrieve json after script execution\n\t\ts.converters[ \"script json\" ] = function() {\n\t\t\tif ( !responseContainer ) {\n\t\t\t\tjQuery.error( callbackName + \" was not called\" );\n\t\t\t}\n\t\t\treturn responseContainer[ 0 ];\n\t\t};\n\n\t\t// Force json dataType\n\t\ts.dataTypes[ 0 ] = \"json\";\n\n\t\t// Install callback\n\t\toverwritten = window[ callbackName ];\n\t\twindow[ callbackName ] = function() {\n\t\t\tresponseContainer = arguments;\n\t\t};\n\n\t\t// Clean-up function (fires after converters)\n\t\tjqXHR.always( function() {\n\n\t\t\t// If previous value didn't exist - remove it\n\t\t\tif ( overwritten === undefined ) {\n\t\t\t\tjQuery( window ).removeProp( callbackName );\n\n\t\t\t// Otherwise restore preexisting value\n\t\t\t} else {\n\t\t\t\twindow[ callbackName ] = overwritten;\n\t\t\t}\n\n\t\t\t// Save back as free\n\t\t\tif ( s[ callbackName ] ) {\n\n\t\t\t\t// Make sure that re-using the options doesn't screw things around\n\t\t\t\ts.jsonpCallback = originalSettings.jsonpCallback;\n\n\t\t\t\t// Save the callback name for future use\n\t\t\t\toldCallbacks.push( callbackName );\n\t\t\t}\n\n\t\t\t// Call if it was a function and we have a response\n\t\t\tif ( responseContainer && isFunction( overwritten ) ) {\n\t\t\t\toverwritten( responseContainer[ 0 ] );\n\t\t\t}\n\n\t\t\tresponseContainer = overwritten = undefined;\n\t\t} );\n\n\t\t// Delegate to script\n\t\treturn \"script\";\n\t}\n} );\n\n\n\n\n// Support: Safari 8 only\n// In Safari 8 documents created via document.implementation.createHTMLDocument\n// collapse sibling forms: the second one becomes a child of the first one.\n// Because of that, this security measure has to be disabled in Safari 8.\n// https://bugs.webkit.org/show_bug.cgi?id=137337\nsupport.createHTMLDocument = ( function() {\n\tvar body = document.implementation.createHTMLDocument( \"\" ).body;\n\tbody.innerHTML = \"<form></form><form></form>\";\n\treturn body.childNodes.length === 2;\n} )();\n\n\n// Argument \"data\" should be string of html\n// context (optional): If specified, the fragment will be created in this context,\n// defaults to document\n// keepScripts (optional): If true, will include scripts passed in the html string\njQuery.parseHTML = function( data, context, keepScripts ) {\n\tif ( typeof data !== \"string\" ) {\n\t\treturn [];\n\t}\n\tif ( typeof context === \"boolean\" ) {\n\t\tkeepScripts = context;\n\t\tcontext = false;\n\t}\n\n\tvar base, parsed, scripts;\n\n\tif ( !context ) {\n\n\t\t// Stop scripts or inline event handlers from being executed immediately\n\t\t// by using document.implementation\n\t\tif ( support.createHTMLDocument ) {\n\t\t\tcontext = document.implementation.createHTMLDocument( \"\" );\n\n\t\t\t// Set the base href for the created document\n\t\t\t// so any parsed elements with URLs\n\t\t\t// are based on the document's URL (gh-2965)\n\t\t\tbase = context.createElement( \"base\" );\n\t\t\tbase.href = document.location.href;\n\t\t\tcontext.head.appendChild( base );\n\t\t} else {\n\t\t\tcontext = document;\n\t\t}\n\t}\n\n\tparsed = rsingleTag.exec( data );\n\tscripts = !keepScripts && [];\n\n\t// Single tag\n\tif ( parsed ) {\n\t\treturn [ context.createElement( parsed[ 1 ] ) ];\n\t}\n\n\tparsed = buildFragment( [ data ], context, scripts );\n\n\tif ( scripts && scripts.length ) {\n\t\tjQuery( scripts ).remove();\n\t}\n\n\treturn jQuery.merge( [], parsed.childNodes );\n};\n\n\n/**\n * Load a url into a page\n */\njQuery.fn.load = function( url, params, callback ) {\n\tvar selector, type, response,\n\t\tself = this,\n\t\toff = url.indexOf( \" \" );\n\n\tif ( off > -1 ) {\n\t\tselector = stripAndCollapse( url.slice( off ) );\n\t\turl = url.slice( 0, off );\n\t}\n\n\t// If it's a function\n\tif ( isFunction( params ) ) {\n\n\t\t// We assume that it's the callback\n\t\tcallback = params;\n\t\tparams = undefined;\n\n\t// Otherwise, build a param string\n\t} else if ( params && typeof params === \"object\" ) {\n\t\ttype = \"POST\";\n\t}\n\n\t// If we have elements to modify, make the request\n\tif ( self.length > 0 ) {\n\t\tjQuery.ajax( {\n\t\t\turl: url,\n\n\t\t\t// If \"type\" variable is undefined, then \"GET\" method will be used.\n\t\t\t// Make value of this field explicit since\n\t\t\t// user can override it through ajaxSetup method\n\t\t\ttype: type || \"GET\",\n\t\t\tdataType: \"html\",\n\t\t\tdata: params\n\t\t} ).done( function( responseText ) {\n\n\t\t\t// Save response for use in complete callback\n\t\t\tresponse = arguments;\n\n\t\t\tself.html( selector ?\n\n\t\t\t\t// If a selector was specified, locate the right elements in a dummy div\n\t\t\t\t// Exclude scripts to avoid IE 'Permission Denied' errors\n\t\t\t\tjQuery( \"<div>\" ).append( jQuery.parseHTML( responseText ) ).find( selector ) :\n\n\t\t\t\t// Otherwise use the full result\n\t\t\t\tresponseText );\n\n\t\t// If the request succeeds, this function gets \"data\", \"status\", \"jqXHR\"\n\t\t// but they are ignored because response was set above.\n\t\t// If it fails, this function gets \"jqXHR\", \"status\", \"error\"\n\t\t} ).always( callback && function( jqXHR, status ) {\n\t\t\tself.each( function() {\n\t\t\t\tcallback.apply( this, response || [ jqXHR.responseText, status, jqXHR ] );\n\t\t\t} );\n\t\t} );\n\t}\n\n\treturn this;\n};\n\n\n\n\n// Attach a bunch of functions for handling common AJAX events\njQuery.each( [\n\t\"ajaxStart\",\n\t\"ajaxStop\",\n\t\"ajaxComplete\",\n\t\"ajaxError\",\n\t\"ajaxSuccess\",\n\t\"ajaxSend\"\n], function( i, type ) {\n\tjQuery.fn[ type ] = function( fn ) {\n\t\treturn this.on( type, fn );\n\t};\n} );\n\n\n\n\njQuery.expr.pseudos.animated = function( elem ) {\n\treturn jQuery.grep( jQuery.timers, function( fn ) {\n\t\treturn elem === fn.elem;\n\t} ).length;\n};\n\n\n\n\njQuery.offset = {\n\tsetOffset: function( elem, options, i ) {\n\t\tvar curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,\n\t\t\tposition = jQuery.css( elem, \"position\" ),\n\t\t\tcurElem = jQuery( elem ),\n\t\t\tprops = {};\n\n\t\t// Set position first, in-case top/left are set even on static elem\n\t\tif ( position === \"static\" ) {\n\t\t\telem.style.position = \"relative\";\n\t\t}\n\n\t\tcurOffset = curElem.offset();\n\t\tcurCSSTop = jQuery.css( elem, \"top\" );\n\t\tcurCSSLeft = jQuery.css( elem, \"left\" );\n\t\tcalculatePosition = ( position === \"absolute\" || position === \"fixed\" ) &&\n\t\t\t( curCSSTop + curCSSLeft ).indexOf( \"auto\" ) > -1;\n\n\t\t// Need to be able to calculate position if either\n\t\t// top or left is auto and position is either absolute or fixed\n\t\tif ( calculatePosition ) {\n\t\t\tcurPosition = curElem.position();\n\t\t\tcurTop = curPosition.top;\n\t\t\tcurLeft = curPosition.left;\n\n\t\t} else {\n\t\t\tcurTop = parseFloat( curCSSTop ) || 0;\n\t\t\tcurLeft = parseFloat( curCSSLeft ) || 0;\n\t\t}\n\n\t\tif ( isFunction( options ) ) {\n\n\t\t\t// Use jQuery.extend here to allow modification of coordinates argument (gh-1848)\n\t\t\toptions = options.call( elem, i, jQuery.extend( {}, curOffset ) );\n\t\t}\n\n\t\tif ( options.top != null ) {\n\t\t\tprops.top = ( options.top - curOffset.top ) + curTop;\n\t\t}\n\t\tif ( options.left != null ) {\n\t\t\tprops.left = ( options.left - curOffset.left ) + curLeft;\n\t\t}\n\n\t\tif ( \"using\" in options ) {\n\t\t\toptions.using.call( elem, props );\n\n\t\t} else {\n\t\t\tcurElem.css( props );\n\t\t}\n\t}\n};\n\njQuery.fn.extend( {\n\n\t// offset() relates an element's border box to the document origin\n\toffset: function( options ) {\n\n\t\t// Preserve chaining for setter\n\t\tif ( arguments.length ) {\n\t\t\treturn options === undefined ?\n\t\t\t\tthis :\n\t\t\t\tthis.each( function( i ) {\n\t\t\t\t\tjQuery.offset.setOffset( this, options, i );\n\t\t\t\t} );\n\t\t}\n\n\t\tvar rect, win,\n\t\t\telem = this[ 0 ];\n\n\t\tif ( !elem ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Return zeros for disconnected and hidden (display: none) elements (gh-2310)\n\t\t// Support: IE <=11 only\n\t\t// Running getBoundingClientRect on a\n\t\t// disconnected node in IE throws an error\n\t\tif ( !elem.getClientRects().length ) {\n\t\t\treturn { top: 0, left: 0 };\n\t\t}\n\n\t\t// Get document-relative position by adding viewport scroll to viewport-relative gBCR\n\t\trect = elem.getBoundingClientRect();\n\t\twin = elem.ownerDocument.defaultView;\n\t\treturn {\n\t\t\ttop: rect.top + win.pageYOffset,\n\t\t\tleft: rect.left + win.pageXOffset\n\t\t};\n\t},\n\n\t// position() relates an element's margin box to its offset parent's padding box\n\t// This corresponds to the behavior of CSS absolute positioning\n\tposition: function() {\n\t\tif ( !this[ 0 ] ) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar offsetParent, offset, doc,\n\t\t\telem = this[ 0 ],\n\t\t\tparentOffset = { top: 0, left: 0 };\n\n\t\t// position:fixed elements are offset from the viewport, which itself always has zero offset\n\t\tif ( jQuery.css( elem, \"position\" ) === \"fixed\" ) {\n\n\t\t\t// Assume position:fixed implies availability of getBoundingClientRect\n\t\t\toffset = elem.getBoundingClientRect();\n\n\t\t} else {\n\t\t\toffset = this.offset();\n\n\t\t\t// Account for the *real* offset parent, which can be the document or its root element\n\t\t\t// when a statically positioned element is identified\n\t\t\tdoc = elem.ownerDocument;\n\t\t\toffsetParent = elem.offsetParent || doc.documentElement;\n\t\t\twhile ( offsetParent &&\n\t\t\t\t( offsetParent === doc.body || offsetParent === doc.documentElement ) &&\n\t\t\t\tjQuery.css( offsetParent, \"position\" ) === \"static\" ) {\n\n\t\t\t\toffsetParent = offsetParent.parentNode;\n\t\t\t}\n\t\t\tif ( offsetParent && offsetParent !== elem && offsetParent.nodeType === 1 ) {\n\n\t\t\t\t// Incorporate borders into its offset, since they are outside its content origin\n\t\t\t\tparentOffset = jQuery( offsetParent ).offset();\n\t\t\t\tparentOffset.top += jQuery.css( offsetParent, \"borderTopWidth\", true );\n\t\t\t\tparentOffset.left += jQuery.css( offsetParent, \"borderLeftWidth\", true );\n\t\t\t}\n\t\t}\n\n\t\t// Subtract parent offsets and element margins\n\t\treturn {\n\t\t\ttop: offset.top - parentOffset.top - jQuery.css( elem, \"marginTop\", true ),\n\t\t\tleft: offset.left - parentOffset.left - jQuery.css( elem, \"marginLeft\", true )\n\t\t};\n\t},\n\n\t// This method will return documentElement in the following cases:\n\t// 1) For the element inside the iframe without offsetParent, this method will return\n\t// documentElement of the parent window\n\t// 2) For the hidden or detached element\n\t// 3) For body or html element, i.e. in case of the html node - it will return itself\n\t//\n\t// but those exceptions were never presented as a real life use-cases\n\t// and might be considered as more preferable results.\n\t//\n\t// This logic, however, is not guaranteed and can change at any point in the future\n\toffsetParent: function() {\n\t\treturn this.map( function() {\n\t\t\tvar offsetParent = this.offsetParent;\n\n\t\t\twhile ( offsetParent && jQuery.css( offsetParent, \"position\" ) === \"static\" ) {\n\t\t\t\toffsetParent = offsetParent.offsetParent;\n\t\t\t}\n\n\t\t\treturn offsetParent || documentElement;\n\t\t} );\n\t}\n} );\n\n// Create scrollLeft and scrollTop methods\njQuery.each( { scrollLeft: \"pageXOffset\", scrollTop: \"pageYOffset\" }, function( method, prop ) {\n\tvar top = \"pageYOffset\" === prop;\n\n\tjQuery.fn[ method ] = function( val ) {\n\t\treturn access( this, function( elem, method, val ) {\n\n\t\t\t// Coalesce documents and windows\n\t\t\tvar win;\n\t\t\tif ( isWindow( elem ) ) {\n\t\t\t\twin = elem;\n\t\t\t} else if ( elem.nodeType === 9 ) {\n\t\t\t\twin = elem.defaultView;\n\t\t\t}\n\n\t\t\tif ( val === undefined ) {\n\t\t\t\treturn win ? win[ prop ] : elem[ method ];\n\t\t\t}\n\n\t\t\tif ( win ) {\n\t\t\t\twin.scrollTo(\n\t\t\t\t\t!top ? val : win.pageXOffset,\n\t\t\t\t\ttop ? val : win.pageYOffset\n\t\t\t\t);\n\n\t\t\t} else {\n\t\t\t\telem[ method ] = val;\n\t\t\t}\n\t\t}, method, val, arguments.length );\n\t};\n} );\n\n// Support: Safari <=7 - 9.1, Chrome <=37 - 49\n// Add the top/left cssHooks using jQuery.fn.position\n// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084\n// Blink bug: https://bugs.chromium.org/p/chromium/issues/detail?id=589347\n// getComputedStyle returns percent when specified for top/left/bottom/right;\n// rather than make the css module depend on the offset module, just check for it here\njQuery.each( [ \"top\", \"left\" ], function( i, prop ) {\n\tjQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition,\n\t\tfunction( elem, computed ) {\n\t\t\tif ( computed ) {\n\t\t\t\tcomputed = curCSS( elem, prop );\n\n\t\t\t\t// If curCSS returns percentage, fallback to offset\n\t\t\t\treturn rnumnonpx.test( computed ) ?\n\t\t\t\t\tjQuery( elem ).position()[ prop ] + \"px\" :\n\t\t\t\t\tcomputed;\n\t\t\t}\n\t\t}\n\t);\n} );\n\n\n// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods\njQuery.each( { Height: \"height\", Width: \"width\" }, function( name, type ) {\n\tjQuery.each( { padding: \"inner\" + name, content: type, \"\": \"outer\" + name },\n\t\tfunction( defaultExtra, funcName ) {\n\n\t\t// Margin is only for outerHeight, outerWidth\n\t\tjQuery.fn[ funcName ] = function( margin, value ) {\n\t\t\tvar chainable = arguments.length && ( defaultExtra || typeof margin !== \"boolean\" ),\n\t\t\t\textra = defaultExtra || ( margin === true || value === true ? \"margin\" : \"border\" );\n\n\t\t\treturn access( this, function( elem, type, value ) {\n\t\t\t\tvar doc;\n\n\t\t\t\tif ( isWindow( elem ) ) {\n\n\t\t\t\t\t// $( window ).outerWidth/Height return w/h including scrollbars (gh-1729)\n\t\t\t\t\treturn funcName.indexOf( \"outer\" ) === 0 ?\n\t\t\t\t\t\telem[ \"inner\" + name ] :\n\t\t\t\t\t\telem.document.documentElement[ \"client\" + name ];\n\t\t\t\t}\n\n\t\t\t\t// Get document width or height\n\t\t\t\tif ( elem.nodeType === 9 ) {\n\t\t\t\t\tdoc = elem.documentElement;\n\n\t\t\t\t\t// Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height],\n\t\t\t\t\t// whichever is greatest\n\t\t\t\t\treturn Math.max(\n\t\t\t\t\t\telem.body[ \"scroll\" + name ], doc[ \"scroll\" + name ],\n\t\t\t\t\t\telem.body[ \"offset\" + name ], doc[ \"offset\" + name ],\n\t\t\t\t\t\tdoc[ \"client\" + name ]\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\treturn value === undefined ?\n\n\t\t\t\t\t// Get width or height on the element, requesting but not forcing parseFloat\n\t\t\t\t\tjQuery.css( elem, type, extra ) :\n\n\t\t\t\t\t// Set width or height on the element\n\t\t\t\t\tjQuery.style( elem, type, value, extra );\n\t\t\t}, type, chainable ? margin : undefined, chainable );\n\t\t};\n\t} );\n} );\n\n\njQuery.each( ( \"blur focus focusin focusout resize scroll click dblclick \" +\n\t\"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave \" +\n\t\"change select submit keydown keypress keyup contextmenu\" ).split( \" \" ),\n\tfunction( i, name ) {\n\n\t// Handle event binding\n\tjQuery.fn[ name ] = function( data, fn ) {\n\t\treturn arguments.length > 0 ?\n\t\t\tthis.on( name, null, data, fn ) :\n\t\t\tthis.trigger( name );\n\t};\n} );\n\njQuery.fn.extend( {\n\thover: function( fnOver, fnOut ) {\n\t\treturn this.mouseenter( fnOver ).mouseleave( fnOut || fnOver );\n\t}\n} );\n\n\n\n\njQuery.fn.extend( {\n\n\tbind: function( types, data, fn ) {\n\t\treturn this.on( types, null, data, fn );\n\t},\n\tunbind: function( types, fn ) {\n\t\treturn this.off( types, null, fn );\n\t},\n\n\tdelegate: function( selector, types, data, fn ) {\n\t\treturn this.on( types, selector, data, fn );\n\t},\n\tundelegate: function( selector, types, fn ) {\n\n\t\t// ( namespace ) or ( selector, types [, fn] )\n\t\treturn arguments.length === 1 ?\n\t\t\tthis.off( selector, \"**\" ) :\n\t\t\tthis.off( types, selector || \"**\", fn );\n\t}\n} );\n\n// Bind a function to a context, optionally partially applying any\n// arguments.\n// jQuery.proxy is deprecated to promote standards (specifically Function#bind)\n// However, it is not slated for removal any time soon\njQuery.proxy = function( fn, context ) {\n\tvar tmp, args, proxy;\n\n\tif ( typeof context === \"string\" ) {\n\t\ttmp = fn[ context ];\n\t\tcontext = fn;\n\t\tfn = tmp;\n\t}\n\n\t// Quick check to determine if target is callable, in the spec\n\t// this throws a TypeError, but we will just return undefined.\n\tif ( !isFunction( fn ) ) {\n\t\treturn undefined;\n\t}\n\n\t// Simulated bind\n\targs = slice.call( arguments, 2 );\n\tproxy = function() {\n\t\treturn fn.apply( context || this, args.concat( slice.call( arguments ) ) );\n\t};\n\n\t// Set the guid of unique handler to the same of original handler, so it can be removed\n\tproxy.guid = fn.guid = fn.guid || jQuery.guid++;\n\n\treturn proxy;\n};\n\njQuery.holdReady = function( hold ) {\n\tif ( hold ) {\n\t\tjQuery.readyWait++;\n\t} else {\n\t\tjQuery.ready( true );\n\t}\n};\njQuery.isArray = Array.isArray;\njQuery.parseJSON = JSON.parse;\njQuery.nodeName = nodeName;\njQuery.isFunction = isFunction;\njQuery.isWindow = isWindow;\njQuery.camelCase = camelCase;\njQuery.type = toType;\n\njQuery.now = Date.now;\n\njQuery.isNumeric = function( obj ) {\n\n\t// As of jQuery 3.0, isNumeric is limited to\n\t// strings and numbers (primitives or objects)\n\t// that can be coerced to finite numbers (gh-2662)\n\tvar type = jQuery.type( obj );\n\treturn ( type === \"number\" || type === \"string\" ) &&\n\n\t\t// parseFloat NaNs numeric-cast false positives (\"\")\n\t\t// ...but misinterprets leading-number strings, particularly hex literals (\"0x...\")\n\t\t// subtraction forces infinities to NaN\n\t\t!isNaN( obj - parseFloat( obj ) );\n};\n\n\n\n\n// Register as a named AMD module, since jQuery can be concatenated with other\n// files that may use define, but not via a proper concatenation script that\n// understands anonymous AMD modules. A named AMD is safest and most robust\n// way to register. Lowercase jquery is used because AMD module names are\n// derived from file names, and jQuery is normally delivered in a lowercase\n// file name. Do this after creating the global so that if an AMD module wants\n// to call noConflict to hide this version of jQuery, it will work.\n\n// Note that for maximum portability, libraries that are not jQuery should\n// declare themselves as anonymous modules, and avoid setting a global if an\n// AMD loader is present. jQuery is a special case. For more information, see\n// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon\n\nif ( typeof define === \"function\" && define.amd ) {\n\tdefine( \"jquery\", [], function() {\n\t\treturn jQuery;\n\t} );\n}\n\n\n\n\nvar\n\n\t// Map over jQuery in case of overwrite\n\t_jQuery = window.jQuery,\n\n\t// Map over the $ in case of overwrite\n\t_$ = window.$;\n\njQuery.noConflict = function( deep ) {\n\tif ( window.$ === jQuery ) {\n\t\twindow.$ = _$;\n\t}\n\n\tif ( deep && window.jQuery === jQuery ) {\n\t\twindow.jQuery = _jQuery;\n\t}\n\n\treturn jQuery;\n};\n\n// Expose jQuery and $ identifiers, even in AMD\n// (#7102#comment:10, https://github.com/jquery/jquery/pull/557)\n// and CommonJS for browser emulators (#13566)\nif ( !noGlobal ) {\n\twindow.jQuery = window.$ = jQuery;\n}\n\n\n\n\nreturn jQuery;\n} );\n"],"sourceRoot":""}
|
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ License URI: https://www.gnu.org/licenses/gpl.html
|
|
6 |
Tags: activity log, wordpress activity logs, security audit log, audit log, user tracking, security event log, audit trail, wordpress security monitor, wordpress admin, wordpress admin monitoring, user activity, admin, multisite, SMS alerts, wordpress monitoring, email notification, wordpress email alerts, tracking, user tracking, user activity report, wordpress audit trail
|
7 |
Requires at least: 3.6
|
8 |
Tested up to: 5.5
|
9 |
-
Stable tag: 4.1.3
|
10 |
Requires PHP: 5.5
|
11 |
|
12 |
The #1 user-rated activity log plugin. Keep a comprehensive log of the changes that happen on your site with this easy to use plugin.
|
6 |
Tags: activity log, wordpress activity logs, security audit log, audit log, user tracking, security event log, audit trail, wordpress security monitor, wordpress admin, wordpress admin monitoring, user activity, admin, multisite, SMS alerts, wordpress monitoring, email notification, wordpress email alerts, tracking, user tracking, user activity report, wordpress audit trail
|
7 |
Requires at least: 3.6
|
8 |
Tested up to: 5.5
|
9 |
+
Stable tag: 4.1.3.1
|
10 |
Requires PHP: 5.5
|
11 |
|
12 |
The #1 user-rated activity log plugin. Keep a comprehensive log of the changes that happen on your site with this easy to use plugin.
|
sdk/freemius/languages/freemius-ja_JP.mo
DELETED
Binary file
|
sdk/freemius/languages/freemius-ja_JP.po
DELETED
@@ -1,2511 +0,0 @@
|
|
1 |
-
# Copyright (C) 2019 freemius
|
2 |
-
# This file is distributed under the same license as the freemius package.
|
3 |
-
# Translators:
|
4 |
-
# Odyssey <8bitodyssey+github@gmail.com>, 2016
|
5 |
-
# Tomohyco Tsunoda, 2018
|
6 |
-
# Takayuki Miyauchi <miya0001@users.noreply.github.com>, 2016
|
7 |
-
# Tomohyco Tsunoda, 2018
|
8 |
-
msgid ""
|
9 |
-
msgstr ""
|
10 |
-
"Project-Id-Version: WordPress SDK\n"
|
11 |
-
"Report-Msgid-Bugs-To: https://github.com/Freemius/wordpress-sdk/issues\n"
|
12 |
-
"POT-Creation-Date: \n"
|
13 |
-
"PO-Revision-Date: 2019-06-05 13:40+0000\n"
|
14 |
-
"Last-Translator: Odyssey <8bitodyssey+github@gmail.com>\n"
|
15 |
-
"Language: ja_JP\n"
|
16 |
-
"Language-Team: Japanese (Japan) (http://www.transifex.com/freemius/wordpress-sdk/language/ja_JP/)\n"
|
17 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
18 |
-
"Content-Transfer-Encoding: 8bit\n"
|
19 |
-
"Plural-Forms: nplurals=1; plural=0;\n"
|
20 |
-
"MIME-Version: 1.0\n"
|
21 |
-
"X-Poedit-Basepath: ..\n"
|
22 |
-
"X-Poedit-KeywordsList: get_text_inline;fs_text_inline;fs_echo_inline;fs_esc_js_inline;fs_esc_attr_inline;fs_esc_attr_echo_inline;fs_esc_html_inline;fs_esc_html_echo_inline;get_text_x_inline:1,2c;fs_text_x_inline:1,2c;fs_echo_x_inline:1,2c;fs_esc_attr_x_inline:1,2c;fs_esc_js_x_inline:1,2c;fs_esc_js_echo_x_inline:1,2c;fs_esc_html_x_inline:1,2c;fs_esc_html_echo_x_inline:1,2c\n"
|
23 |
-
"X-Poedit-SearchPath-0: .\n"
|
24 |
-
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
25 |
-
"X-Poedit-SourceCharset: UTF-8\n"
|
26 |
-
|
27 |
-
#: includes/class-freemius.php1838, templates/account.php:769
|
28 |
-
msgid "An update to a Beta version will replace your installed version of %s with the latest Beta release - use with caution, and not on production sites. You have been warned."
|
29 |
-
msgstr "An update to a Beta version will replace your installed version of %s with the latest Beta release - use with caution, and not on production sites. You have been warned."
|
30 |
-
|
31 |
-
#: includes/class-freemius.php:1845
|
32 |
-
msgid "Would you like to proceed with the update?"
|
33 |
-
msgstr "Would you like to proceed with the update?"
|
34 |
-
|
35 |
-
#: includes/class-freemius.php:2053
|
36 |
-
msgid "Freemius SDK couldn't find the plugin's main file. Please contact sdk@freemius.com with the current error."
|
37 |
-
msgstr "Freemius SDK がプラグインのメインファイルを見つけることができませんでした。現在のエラーを添えて sdk@freemius.com に連絡してください。"
|
38 |
-
|
39 |
-
#: includes/class-freemius.php:2055
|
40 |
-
msgid "Error"
|
41 |
-
msgstr "エラー"
|
42 |
-
|
43 |
-
#: includes/class-freemius.php:2445
|
44 |
-
msgid "I found a better %s"
|
45 |
-
msgstr "より良い %sを見つけました"
|
46 |
-
|
47 |
-
#: includes/class-freemius.php:2447
|
48 |
-
msgid "What's the %s's name?"
|
49 |
-
msgstr "%sの名前は何ですか?"
|
50 |
-
|
51 |
-
#: includes/class-freemius.php:2453
|
52 |
-
msgid "It's a temporary %s. I'm just debugging an issue."
|
53 |
-
msgstr "%sは一時的なものです。現在この問題をデバッグ中です。"
|
54 |
-
|
55 |
-
#: includes/class-freemius.php:2455
|
56 |
-
msgid "Deactivation"
|
57 |
-
msgstr "無効化"
|
58 |
-
|
59 |
-
#: includes/class-freemius.php:2456
|
60 |
-
msgid "Theme Switch"
|
61 |
-
msgstr "テーマ変更"
|
62 |
-
|
63 |
-
#: includes/class-freemius.php2465, templates/forms/resend-key.php:24
|
64 |
-
msgid "Other"
|
65 |
-
msgstr "その他"
|
66 |
-
|
67 |
-
#: includes/class-freemius.php:2473
|
68 |
-
msgid "I no longer need the %s"
|
69 |
-
msgstr "%sはもう不要です"
|
70 |
-
|
71 |
-
#: includes/class-freemius.php:2480
|
72 |
-
msgid "I only needed the %s for a short period"
|
73 |
-
msgstr "短期間だけ %sが 必要です。"
|
74 |
-
|
75 |
-
#: includes/class-freemius.php:2486
|
76 |
-
msgid "The %s broke my site"
|
77 |
-
msgstr "%s の影響でサイトを崩れました"
|
78 |
-
|
79 |
-
#: includes/class-freemius.php:2493
|
80 |
-
msgid "The %s suddenly stopped working"
|
81 |
-
msgstr "%s の動作が突然停止しました"
|
82 |
-
|
83 |
-
#: includes/class-freemius.php:2503
|
84 |
-
msgid "I can't pay for it anymore"
|
85 |
-
msgstr "もう払うことができません"
|
86 |
-
|
87 |
-
#: includes/class-freemius.php:2505
|
88 |
-
msgid "What price would you feel comfortable paying?"
|
89 |
-
msgstr " 支払ってもよいと思う価格はいくらですか?"
|
90 |
-
|
91 |
-
#: includes/class-freemius.php:2511
|
92 |
-
msgid "I don't like to share my information with you"
|
93 |
-
msgstr "自分の情報を共有したくありません"
|
94 |
-
|
95 |
-
#: includes/class-freemius.php:2532
|
96 |
-
msgid "The %s didn't work"
|
97 |
-
msgstr "%s が動作しませんでした"
|
98 |
-
|
99 |
-
#: includes/class-freemius.php:2542
|
100 |
-
msgid "I couldn't understand how to make it work"
|
101 |
-
msgstr "どうしたら動作するか分かりませんでした。"
|
102 |
-
|
103 |
-
#: includes/class-freemius.php:2550
|
104 |
-
msgid "The %s is great, but I need specific feature that you don't support"
|
105 |
-
msgstr "%s は素晴らしいのですが、サポートされていないある機能が必要です"
|
106 |
-
|
107 |
-
#: includes/class-freemius.php:2552
|
108 |
-
msgid "What feature?"
|
109 |
-
msgstr "何の機能ですか?"
|
110 |
-
|
111 |
-
#: includes/class-freemius.php:2556
|
112 |
-
msgid "The %s is not working"
|
113 |
-
msgstr "%s が動作していません"
|
114 |
-
|
115 |
-
#: includes/class-freemius.php:2558
|
116 |
-
msgid "Kindly share what didn't work so we can fix it for future users..."
|
117 |
-
msgstr "将来のユーザーのために修正できるよう、何が動作しなかったのかどうか共有してください…"
|
118 |
-
|
119 |
-
#: includes/class-freemius.php:2562
|
120 |
-
msgid "It's not what I was looking for"
|
121 |
-
msgstr "探していたものではありません"
|
122 |
-
|
123 |
-
#: includes/class-freemius.php:2564
|
124 |
-
msgid "What you've been looking for?"
|
125 |
-
msgstr "探していたのは何ですか?"
|
126 |
-
|
127 |
-
#: includes/class-freemius.php:2568
|
128 |
-
msgid "The %s didn't work as expected"
|
129 |
-
msgstr "%sが期待通りに動きませんでした "
|
130 |
-
|
131 |
-
#: includes/class-freemius.php:2570
|
132 |
-
msgid "What did you expect?"
|
133 |
-
msgstr "何を期待していましたか?"
|
134 |
-
|
135 |
-
#: includes/class-freemius.php3425, templates/debug.php:20
|
136 |
-
msgid "Freemius Debug"
|
137 |
-
msgstr "Freemius デバッグ"
|
138 |
-
|
139 |
-
#: includes/class-freemius.php:4177
|
140 |
-
msgid "I don't know what is cURL or how to install it, help me!"
|
141 |
-
msgstr "cURL がなにか、そのインストール方法を知りません。助けてください。"
|
142 |
-
|
143 |
-
#: includes/class-freemius.php:4179
|
144 |
-
msgid "We'll make sure to contact your hosting company and resolve the issue. You will get a follow-up email to %s once we have an update."
|
145 |
-
msgstr "ホスティング会社に連絡して問題を解決してください。 更新が完了したら、 %s へのフォローアップメールが届きます。"
|
146 |
-
|
147 |
-
#: includes/class-freemius.php:4186
|
148 |
-
msgid "Great, please install cURL and enable it in your php.ini file. In addition, search for the 'disable_functions' directive in your php.ini file and remove any disabled methods starting with 'curl_'. To make sure it was successfully activated, use 'phpinfo()'. Once activated, deactivate the %s and reactivate it back again."
|
149 |
-
msgstr "すばらしい。cURL をインストールし、 php.ini ファイルで有効化してください。加えて、php.ini 内で 'disable_functions' ディレクティブを検索して、'curl_' で始まる無効化されたメソッドを削除してください。'phpinfo()' を使って正常に起動されたことを確認してください。有効化されている場合は %s を一度無効化し、再度有効化し直してください。"
|
150 |
-
|
151 |
-
#: includes/class-freemius.php:4291
|
152 |
-
msgid "Yes - do your thing"
|
153 |
-
msgstr "はい - お構いなく"
|
154 |
-
|
155 |
-
#: includes/class-freemius.php:4296
|
156 |
-
msgid "No - just deactivate"
|
157 |
-
msgstr "いいえ - すぐに無効化"
|
158 |
-
|
159 |
-
#: includes/class-freemius.php4341, includes/class-freemius.php4850,
|
160 |
-
#: includes/class-freemius.php5999, includes/class-freemius.php12682,
|
161 |
-
#: includes/class-freemius.php16045, includes/class-freemius.php16133,
|
162 |
-
#: includes/class-freemius.php16299, includes/class-freemius.php18758,
|
163 |
-
#: includes/class-freemius.php18768, includes/class-freemius.php19404,
|
164 |
-
#: includes/class-freemius.php20277, includes/class-freemius.php20392,
|
165 |
-
#: includes/class-freemius.php20536, templates/add-ons.php:54
|
166 |
-
msgctxt "exclamation"
|
167 |
-
msgid "Oops"
|
168 |
-
msgstr "おっと"
|
169 |
-
|
170 |
-
#: includes/class-freemius.php:4410
|
171 |
-
msgid "Thank for giving us the chance to fix it! A message was just sent to our technical staff. We will get back to you as soon as we have an update to %s. Appreciate your patience."
|
172 |
-
msgstr "修正するチャンスをいただきありがとうございます! テクニカルスタッフにメッセージが送信されました。 %s への更新が行われるとすぐにあなたに連絡します。 あなたの忍耐に感謝します。"
|
173 |
-
|
174 |
-
#: includes/class-freemius.php:4847
|
175 |
-
msgctxt "addonX cannot run without pluginY"
|
176 |
-
msgid "%s cannot run without %s."
|
177 |
-
msgstr "%s は、%s が無いと実行することができません。"
|
178 |
-
|
179 |
-
#: includes/class-freemius.php:4848
|
180 |
-
msgctxt "addonX cannot run..."
|
181 |
-
msgid "%s cannot run without the plugin."
|
182 |
-
msgstr "%s は、プラグインが無いと実行することができません。"
|
183 |
-
|
184 |
-
#: includes/class-freemius.php5020, includes/class-freemius.php5045,
|
185 |
-
#: includes/class-freemius.php:19475
|
186 |
-
msgid "Unexpected API error. Please contact the %s's author with the following error."
|
187 |
-
msgstr "予期しない API エラーです。%sの作者に次のエラーを連絡してください。"
|
188 |
-
|
189 |
-
#: includes/class-freemius.php:5687
|
190 |
-
msgid "Premium %s version was successfully activated."
|
191 |
-
msgstr "プレミアムバージョンの %sは有効化に成功しました。"
|
192 |
-
|
193 |
-
#: includes/class-freemius.php5699, includes/class-freemius.php:7567
|
194 |
-
msgctxt ""
|
195 |
-
msgid "W00t"
|
196 |
-
msgstr "やったー"
|
197 |
-
|
198 |
-
#: includes/class-freemius.php:5714
|
199 |
-
msgid "You have a %s license."
|
200 |
-
msgstr "%s ライセンスを持っています。"
|
201 |
-
|
202 |
-
#: includes/class-freemius.php5718, includes/class-freemius.php15466,
|
203 |
-
#: includes/class-freemius.php15477, includes/class-freemius.php18669,
|
204 |
-
#: includes/class-freemius.php18999, includes/class-freemius.php19065,
|
205 |
-
#: includes/class-freemius.php:19229
|
206 |
-
msgctxt "interjection expressing joy or exuberance"
|
207 |
-
msgid "Yee-haw"
|
208 |
-
msgstr "ヤッホー"
|
209 |
-
|
210 |
-
#: includes/class-freemius.php:5982
|
211 |
-
msgid "%s free trial was successfully cancelled. Since the add-on is premium only it was automatically deactivated. If you like to use it in the future, you'll have to purchase a license."
|
212 |
-
msgstr "%s の無料試用が正常にキャンセルされました。 アドオンはプレミアムなので、自動的に無効化されました。 将来使用したい場合は、ライセンスを購入する必要があります。"
|
213 |
-
|
214 |
-
#: includes/class-freemius.php:5986
|
215 |
-
msgid "%s is a premium only add-on. You have to purchase a license first before activating the plugin."
|
216 |
-
msgstr "%s はプレミアムのみのアドオンです。そのプラグインを有効化する前にライセンスを購入する必要があります。"
|
217 |
-
|
218 |
-
#: includes/class-freemius.php5995, templates/add-ons.php130,
|
219 |
-
#: templates/account/partials/addon.php:343
|
220 |
-
msgid "More information about %s"
|
221 |
-
msgstr "%s に関する詳細情報"
|
222 |
-
|
223 |
-
#: includes/class-freemius.php:5996
|
224 |
-
msgid "Purchase License"
|
225 |
-
msgstr "ライセンスを購入"
|
226 |
-
|
227 |
-
#: includes/class-freemius.php6931, templates/connect.php:163
|
228 |
-
msgid "You should receive an activation email for %s to your mailbox at %s. Please make sure you click the activation button in that email to %s."
|
229 |
-
msgstr "%s のメールボックスに %s の有効化のメールを受け取っているはずです。%s のメールに記載された有効化ボタンをクリックしてください。"
|
230 |
-
|
231 |
-
#: includes/class-freemius.php:6935
|
232 |
-
msgid "start the trial"
|
233 |
-
msgstr "トライアルを開始"
|
234 |
-
|
235 |
-
#: includes/class-freemius.php6936, templates/connect.php:167
|
236 |
-
msgid "complete the install"
|
237 |
-
msgstr "インストールを完了"
|
238 |
-
|
239 |
-
#: includes/class-freemius.php:7049
|
240 |
-
msgid "You are just one step away - %s"
|
241 |
-
msgstr "もうあとわずかです - %s"
|
242 |
-
|
243 |
-
#: includes/class-freemius.php:7052
|
244 |
-
msgctxt "%s - plugin name. As complete \"PluginX\" activation now"
|
245 |
-
msgid "Complete \"%s\" Activation Now"
|
246 |
-
msgstr "すぐに \"%s\" 有効化を完了してください"
|
247 |
-
|
248 |
-
#: includes/class-freemius.php:7130
|
249 |
-
msgid "We made a few tweaks to the %s, %s"
|
250 |
-
msgstr "プラグインを微調整します、 %s, %s"
|
251 |
-
|
252 |
-
#: includes/class-freemius.php:7134
|
253 |
-
msgid "Opt in to make \"%s\" better!"
|
254 |
-
msgstr "Opt in to make \"%s\" better!"
|
255 |
-
|
256 |
-
#: includes/class-freemius.php:7566
|
257 |
-
msgid "The upgrade of %s was successfully completed."
|
258 |
-
msgstr "%s のアップグレードが完了しました。"
|
259 |
-
|
260 |
-
#: includes/class-freemius.php9728, includes/class-fs-plugin-updater.php975,
|
261 |
-
#: includes/class-fs-plugin-updater.php1170,
|
262 |
-
#: includes/class-fs-plugin-updater.php1177,
|
263 |
-
#: templates/auto-installation.php:32
|
264 |
-
msgid "Add-On"
|
265 |
-
msgstr "アドオン"
|
266 |
-
|
267 |
-
#: includes/class-freemius.php9730, templates/account.php313,
|
268 |
-
#: templates/account.php321, templates/debug.php361, templates/debug.php:522
|
269 |
-
msgid "Plugin"
|
270 |
-
msgstr "プラグイン"
|
271 |
-
|
272 |
-
#: includes/class-freemius.php9731, templates/account.php314,
|
273 |
-
#: templates/account.php322, templates/debug.php361, templates/debug.php522,
|
274 |
-
#: templates/forms/deactivation/form.php:71
|
275 |
-
msgid "Theme"
|
276 |
-
msgstr "テーマ"
|
277 |
-
|
278 |
-
#: includes/class-freemius.php:12148
|
279 |
-
msgid "An unknown error has occurred while trying to set the user's beta mode."
|
280 |
-
msgstr "An unknown error has occurred while trying to set the user's beta mode."
|
281 |
-
|
282 |
-
#: includes/class-freemius.php:12549
|
283 |
-
msgid "Invalid site details collection."
|
284 |
-
msgstr "Invalid site details collection."
|
285 |
-
|
286 |
-
#: includes/class-freemius.php:12669
|
287 |
-
msgid "We couldn't find your email address in the system, are you sure it's the right address?"
|
288 |
-
msgstr "システムではメールアドレスを見つけることができませんでした。メールアドレスが正しいか確認してください。"
|
289 |
-
|
290 |
-
#: includes/class-freemius.php:12671
|
291 |
-
msgid "We can't see any active licenses associated with that email address, are you sure it's the right address?"
|
292 |
-
msgstr "メールアドレスに関連付けられた有効なライセンスが見つかりません。メールアドレスが正しいか確認してください。"
|
293 |
-
|
294 |
-
#: includes/class-freemius.php:12945
|
295 |
-
msgid "Account is pending activation."
|
296 |
-
msgstr "アカウントは有効化待ちです。"
|
297 |
-
|
298 |
-
#: includes/class-freemius.php13057,
|
299 |
-
#: templates/forms/premium-versions-upgrade-handler.php:47
|
300 |
-
msgid "Buy a license now"
|
301 |
-
msgstr "Buy a license now"
|
302 |
-
|
303 |
-
#: includes/class-freemius.php13069,
|
304 |
-
#: templates/forms/premium-versions-upgrade-handler.php:46
|
305 |
-
msgid "Renew your license now"
|
306 |
-
msgstr "Renew your license now"
|
307 |
-
|
308 |
-
#: includes/class-freemius.php:13073
|
309 |
-
msgid "%s to access version %s security & feature updates, and support."
|
310 |
-
msgstr "%s to access version %s security & feature updates, and support."
|
311 |
-
|
312 |
-
#: includes/class-freemius.php:15448
|
313 |
-
msgid "%s activation was successfully completed."
|
314 |
-
msgstr "%s の有効化が成功しました。"
|
315 |
-
|
316 |
-
#: includes/class-freemius.php:15462
|
317 |
-
msgid "Your account was successfully activated with the %s plan."
|
318 |
-
msgstr "アカウントが %s プランで有効化できました。"
|
319 |
-
|
320 |
-
#: includes/class-freemius.php15473, includes/class-freemius.php:19061
|
321 |
-
msgid "Your trial has been successfully started."
|
322 |
-
msgstr "トライアル版の利用を開始しました。"
|
323 |
-
|
324 |
-
#: includes/class-freemius.php16043, includes/class-freemius.php16131,
|
325 |
-
#: includes/class-freemius.php:16297
|
326 |
-
msgid "Couldn't activate %s."
|
327 |
-
msgstr "%s を有効化できません。"
|
328 |
-
|
329 |
-
#: includes/class-freemius.php16044, includes/class-freemius.php16132,
|
330 |
-
#: includes/class-freemius.php:16298
|
331 |
-
msgid "Please contact us with the following message:"
|
332 |
-
msgstr "以下のメッセージとともに私たちに連絡をください。"
|
333 |
-
|
334 |
-
#: includes/class-freemius.php:16128
|
335 |
-
msgid "An unknown error has occurred."
|
336 |
-
msgstr "An unknown error has occurred."
|
337 |
-
|
338 |
-
#: includes/class-freemius.php16655, includes/class-freemius.php:21409
|
339 |
-
msgid "Upgrade"
|
340 |
-
msgstr "アップグレード"
|
341 |
-
|
342 |
-
#: includes/class-freemius.php:16661
|
343 |
-
msgid "Start Trial"
|
344 |
-
msgstr "トライアルを開始"
|
345 |
-
|
346 |
-
#: includes/class-freemius.php:16663
|
347 |
-
msgid "Pricing"
|
348 |
-
msgstr "料金表"
|
349 |
-
|
350 |
-
#: includes/class-freemius.php16742, includes/class-freemius.php:16744
|
351 |
-
msgid "Affiliation"
|
352 |
-
msgstr "アフィリエイト"
|
353 |
-
|
354 |
-
#: includes/class-freemius.php16772, includes/class-freemius.php16774,
|
355 |
-
#: templates/account.php177, templates/debug.php:326
|
356 |
-
msgid "Account"
|
357 |
-
msgstr "アカウント"
|
358 |
-
|
359 |
-
#: includes/class-freemius.php16787, includes/class-freemius.php16789,
|
360 |
-
#: includes/customizer/class-fs-customizer-support-section.php:60
|
361 |
-
msgid "Contact Us"
|
362 |
-
msgstr "連絡"
|
363 |
-
|
364 |
-
#: includes/class-freemius.php16799, includes/class-freemius.php16801,
|
365 |
-
#: includes/class-freemius.php21423, templates/account.php105,
|
366 |
-
#: templates/account/partials/addon.php:45
|
367 |
-
msgid "Add-Ons"
|
368 |
-
msgstr "アドオン"
|
369 |
-
|
370 |
-
#: includes/class-freemius.php:16835
|
371 |
-
msgctxt "ASCII arrow left icon"
|
372 |
-
msgid "←"
|
373 |
-
msgstr "←"
|
374 |
-
|
375 |
-
#: includes/class-freemius.php:16835
|
376 |
-
msgctxt "ASCII arrow right icon"
|
377 |
-
msgid "➤"
|
378 |
-
msgstr "➤"
|
379 |
-
|
380 |
-
#: includes/class-freemius.php16837, templates/pricing.php:102
|
381 |
-
msgctxt "noun"
|
382 |
-
msgid "Pricing"
|
383 |
-
msgstr "料金表"
|
384 |
-
|
385 |
-
#: includes/class-freemius.php17050,
|
386 |
-
#: includes/customizer/class-fs-customizer-support-section.php:67
|
387 |
-
msgid "Support Forum"
|
388 |
-
msgstr "サポートフォーラム"
|
389 |
-
|
390 |
-
#: includes/class-freemius.php:17995
|
391 |
-
msgid "Your email has been successfully verified - you are AWESOME!"
|
392 |
-
msgstr "あなたのメールアドレスの承認が完了しました。すごい!"
|
393 |
-
|
394 |
-
#: includes/class-freemius.php:17996
|
395 |
-
msgctxt "a positive response"
|
396 |
-
msgid "Right on"
|
397 |
-
msgstr "そうだ"
|
398 |
-
|
399 |
-
#: includes/class-freemius.php:18660
|
400 |
-
msgid "Your %s Add-on plan was successfully upgraded."
|
401 |
-
msgstr "%s のアドオンのプランのアップグレードが完了しました。"
|
402 |
-
|
403 |
-
#: includes/class-freemius.php:18662
|
404 |
-
msgid "%s Add-on was successfully purchased."
|
405 |
-
msgstr "%s のアドオンの支払いが完了しました。"
|
406 |
-
|
407 |
-
#: includes/class-freemius.php:18665
|
408 |
-
msgid "Download the latest version"
|
409 |
-
msgstr "最新版をダウンロード"
|
410 |
-
|
411 |
-
#: includes/class-freemius.php:18751
|
412 |
-
msgid "Your server is blocking the access to Freemius' API, which is crucial for %1$s synchronization. Please contact your host to whitelist %2$s"
|
413 |
-
msgstr "Your server is blocking the access to Freemius' API, which is crucial for %1$s synchronization. Please contact your host to whitelist %2$s"
|
414 |
-
|
415 |
-
#: includes/class-freemius.php18757, includes/class-freemius.php19188,
|
416 |
-
#: includes/class-freemius.php:19277
|
417 |
-
msgid "Error received from the server:"
|
418 |
-
msgstr "サーバーからエラーを受信しました。"
|
419 |
-
|
420 |
-
#: includes/class-freemius.php:18767
|
421 |
-
msgid "It seems like one of the authentication parameters is wrong. Update your Public Key, Secret Key & User ID, and try again."
|
422 |
-
msgstr "認証パラメータの1つが間違っているようです。 公開鍵、秘密鍵、ユーザーIDを更新して、もう一度お試しください。"
|
423 |
-
|
424 |
-
#: includes/class-freemius.php18961, includes/class-freemius.php19193,
|
425 |
-
#: includes/class-freemius.php19248, includes/class-freemius.php:19351
|
426 |
-
msgctxt ""
|
427 |
-
msgid "Hmm"
|
428 |
-
msgstr "ふむ"
|
429 |
-
|
430 |
-
#: includes/class-freemius.php:18974
|
431 |
-
msgid "It looks like you are still on the %s plan. If you did upgrade or change your plan, it's probably an issue on our side - sorry."
|
432 |
-
msgstr "まだ %s プランのようです。もしアップグレードやプランの変更をしたのなら、こちらで何らかの問題が発生しているようです。申し訳ありません。"
|
433 |
-
|
434 |
-
#: includes/class-freemius.php18975, templates/account.php107,
|
435 |
-
#: templates/add-ons.php191, templates/account/partials/addon.php:47
|
436 |
-
msgctxt "trial period"
|
437 |
-
msgid "Trial"
|
438 |
-
msgstr "トライアル"
|
439 |
-
|
440 |
-
#: includes/class-freemius.php:18980
|
441 |
-
msgid "I have upgraded my account but when I try to Sync the License, the plan remains %s."
|
442 |
-
msgstr "アカウントをアップグレードしましたが、ライセンスを同期しようとするとプランが %s のままです。"
|
443 |
-
|
444 |
-
#: includes/class-freemius.php18984, includes/class-freemius.php:19043
|
445 |
-
msgid "Please contact us here"
|
446 |
-
msgstr "こちらで私たちに連絡をとってください。"
|
447 |
-
|
448 |
-
#: includes/class-freemius.php:18995
|
449 |
-
msgid "Your plan was successfully activated."
|
450 |
-
msgstr "Your plan was successfully activated."
|
451 |
-
|
452 |
-
#: includes/class-freemius.php:18996
|
453 |
-
msgid "Your plan was successfully upgraded."
|
454 |
-
msgstr "プランのアップグレードが成功しました。"
|
455 |
-
|
456 |
-
#: includes/class-freemius.php:19013
|
457 |
-
msgid "Your plan was successfully changed to %s."
|
458 |
-
msgstr "プランの %s への変更が成功しました。"
|
459 |
-
|
460 |
-
#: includes/class-freemius.php:19029
|
461 |
-
msgid "Your license has expired. You can still continue using the free %s forever."
|
462 |
-
msgstr "ライセンスの有効期限が切れました。無料バージョンの%s は引き続き利用できます。"
|
463 |
-
|
464 |
-
#: includes/class-freemius.php:19031
|
465 |
-
msgid "Your license has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions."
|
466 |
-
msgstr "ライセンスの有効期限が切れました。 %1$s %3$sに邪魔されずに利用を継続するには,今すぐ%2$sアップグレードを行ってください。"
|
467 |
-
|
468 |
-
#: includes/class-freemius.php:19039
|
469 |
-
msgid "Your license has been cancelled. If you think it's a mistake, please contact support."
|
470 |
-
msgstr "ライセンスはキャンセルされました。もしそれが間違いだと思うならサポートに連絡してください。"
|
471 |
-
|
472 |
-
#: includes/class-freemius.php:19052
|
473 |
-
msgid "Your license has expired. You can still continue using all the %s features, but you'll need to renew your license to continue getting updates and support."
|
474 |
-
msgstr "ライセンスは有効期限がきれました。%s の機能を引き続き利用することができます。ただし、アップデートやサポートをうけるにはライセンスをアップデートする必要があります。"
|
475 |
-
|
476 |
-
#: includes/class-freemius.php:19075
|
477 |
-
msgid "Your free trial has expired. You can still continue using all our free features."
|
478 |
-
msgstr "フリートライアル期間が終了しました。無料で使える機能は引き続き利用可能です。"
|
479 |
-
|
480 |
-
#: includes/class-freemius.php:19077
|
481 |
-
msgid "Your free trial has expired. %1$sUpgrade now%2$s to continue using the %3$s without interruptions."
|
482 |
-
msgstr "フリートライアル期間が終了しました。%1$s %3$sに邪魔されずに利用を継続するには,今すぐ %2$s のアップグレードを行ってください。"
|
483 |
-
|
484 |
-
#: includes/class-freemius.php:19184
|
485 |
-
msgid "It looks like the license could not be activated."
|
486 |
-
msgstr "ライセンスの有効化ができませんでした。"
|
487 |
-
|
488 |
-
#: includes/class-freemius.php:19226
|
489 |
-
msgid "Your license was successfully activated."
|
490 |
-
msgstr "ライセンスの有効化が成功しました。"
|
491 |
-
|
492 |
-
#: includes/class-freemius.php:19252
|
493 |
-
msgid "It looks like your site currently doesn't have an active license."
|
494 |
-
msgstr "サイトは有効なライセンスを持っていないようです。"
|
495 |
-
|
496 |
-
#: includes/class-freemius.php:19276
|
497 |
-
msgid "It looks like the license deactivation failed."
|
498 |
-
msgstr "ライセンスの無効化ができませんでした。"
|
499 |
-
|
500 |
-
#: includes/class-freemius.php:19304
|
501 |
-
msgid "Your license was successfully deactivated, you are back to the %s plan."
|
502 |
-
msgstr "ライセンスの無効化が完了しました。%s プランに戻りました。"
|
503 |
-
|
504 |
-
#: includes/class-freemius.php:19305
|
505 |
-
msgid "O.K"
|
506 |
-
msgstr "O.K"
|
507 |
-
|
508 |
-
#: includes/class-freemius.php:19358
|
509 |
-
msgid "Seems like we are having some temporary issue with your subscription cancellation. Please try again in few minutes."
|
510 |
-
msgstr "Seems like we are having some temporary issue with your subscription cancellation. Please try again in few minutes."
|
511 |
-
|
512 |
-
#: includes/class-freemius.php:19367
|
513 |
-
msgid "Your subscription was successfully cancelled. Your %s plan license will expire in %s."
|
514 |
-
msgstr "Your subscription was successfully cancelled. Your %s plan license will expire in %s."
|
515 |
-
|
516 |
-
#: includes/class-freemius.php:19409
|
517 |
-
msgid "You are already running the %s in a trial mode."
|
518 |
-
msgstr "すでに%sをトライアルモードで利用中です。"
|
519 |
-
|
520 |
-
#: includes/class-freemius.php:19420
|
521 |
-
msgid "You already utilized a trial before."
|
522 |
-
msgstr "以前すでに試用版を利用しました。"
|
523 |
-
|
524 |
-
#: includes/class-freemius.php:19434
|
525 |
-
msgid "Plan %s do not exist, therefore, can't start a trial."
|
526 |
-
msgstr "%s プランは存在しないため、試用を開始できません。"
|
527 |
-
|
528 |
-
#: includes/class-freemius.php:19445
|
529 |
-
msgid "Plan %s does not support a trial period."
|
530 |
-
msgstr "%s プランにはトライアル期間はありません。"
|
531 |
-
|
532 |
-
#: includes/class-freemius.php:19456
|
533 |
-
msgid "None of the %s's plans supports a trial period."
|
534 |
-
msgstr "%sのプランにはトライアル期間はありません。"
|
535 |
-
|
536 |
-
#: includes/class-freemius.php:19506
|
537 |
-
msgid "It looks like you are not in trial mode anymore so there's nothing to cancel :)"
|
538 |
-
msgstr "すでにトライアルモードではないようなので、キャンセルする必要はありません :)"
|
539 |
-
|
540 |
-
#: includes/class-freemius.php:19542
|
541 |
-
msgid "Seems like we are having some temporary issue with your trial cancellation. Please try again in few minutes."
|
542 |
-
msgstr "トライアルのキャンセルに一時的な問題がありました。数分後に再度お試しください。"
|
543 |
-
|
544 |
-
#: includes/class-freemius.php:19561
|
545 |
-
msgid "Your %s free trial was successfully cancelled."
|
546 |
-
msgstr "%s のフリートライアルはキャンセルされました。"
|
547 |
-
|
548 |
-
#: includes/class-freemius.php:19877
|
549 |
-
msgid "Version %s was released."
|
550 |
-
msgstr "バージョン %s をリリースしました。"
|
551 |
-
|
552 |
-
#: includes/class-freemius.php:19877
|
553 |
-
msgid "Please download %s."
|
554 |
-
msgstr "%s をダウンロードしてください。"
|
555 |
-
|
556 |
-
#: includes/class-freemius.php:19884
|
557 |
-
msgid "the latest %s version here"
|
558 |
-
msgstr "最新の %s バージョンはこちらです。"
|
559 |
-
|
560 |
-
#: includes/class-freemius.php:19889
|
561 |
-
msgid "New"
|
562 |
-
msgstr "新規"
|
563 |
-
|
564 |
-
#: includes/class-freemius.php:19894
|
565 |
-
msgid "Seems like you got the latest release."
|
566 |
-
msgstr "最新版を取得できました。"
|
567 |
-
|
568 |
-
#: includes/class-freemius.php:19895
|
569 |
-
msgid "You are all good!"
|
570 |
-
msgstr "すべて完璧です!"
|
571 |
-
|
572 |
-
#: includes/class-freemius.php:20165
|
573 |
-
msgid "Verification mail was just sent to %s. If you can't find it after 5 min, please check your spam box."
|
574 |
-
msgstr "%s に確認メールを送信しました。もし5分以内にそれが届かない場合、迷惑メールボックスを確認してください。"
|
575 |
-
|
576 |
-
#: includes/class-freemius.php:20304
|
577 |
-
msgid "Site successfully opted in."
|
578 |
-
msgstr "サイトのオプトインに成功しました。"
|
579 |
-
|
580 |
-
#: includes/class-freemius.php20305, includes/class-freemius.php:21125
|
581 |
-
msgid "Awesome"
|
582 |
-
msgstr "すごい!"
|
583 |
-
|
584 |
-
#: includes/class-freemius.php20321, templates/forms/optout.php:32
|
585 |
-
msgid "We appreciate your help in making the %s better by letting us track some usage data."
|
586 |
-
msgstr "使用データを追跡できるよう許可してくれたことで、%s をより良くするための手助けに感謝致します。"
|
587 |
-
|
588 |
-
#: includes/class-freemius.php:20322
|
589 |
-
msgid "Thank you!"
|
590 |
-
msgstr "ありがとうございます!"
|
591 |
-
|
592 |
-
#: includes/class-freemius.php:20329
|
593 |
-
msgid "We will no longer be sending any usage data of %s on %s to %s."
|
594 |
-
msgstr "もう%s上の%sから%sへのデータ送信は行いません。"
|
595 |
-
|
596 |
-
#: includes/class-freemius.php:20458
|
597 |
-
msgid "Please check your mailbox, you should receive an email via %s to confirm the ownership change. From security reasons, you must confirm the change within the next 15 min. If you cannot find the email, please check your spam folder."
|
598 |
-
msgstr "メールボックスを確認してください。所有権の変更を確認するには、%s でメールを受け取る必要があります。 セキュリティ上の理由から、次の15分以内に変更を確認する必要があります。 電子メールが見つからない場合は、迷惑メールフォルダを確認してください。"
|
599 |
-
|
600 |
-
#: includes/class-freemius.php:20464
|
601 |
-
msgid "Thanks for confirming the ownership change. An email was just sent to %s for final approval."
|
602 |
-
msgstr "所有権の変更を確認していただきありがとうございます。 %s に承認メールが送信されました。"
|
603 |
-
|
604 |
-
#: includes/class-freemius.php:20469
|
605 |
-
msgid "%s is the new owner of the account."
|
606 |
-
msgstr "%s は新しいオーナーです。"
|
607 |
-
|
608 |
-
#: includes/class-freemius.php:20471
|
609 |
-
msgctxt "as congratulations"
|
610 |
-
msgid "Congrats"
|
611 |
-
msgstr "おめでとう"
|
612 |
-
|
613 |
-
#: includes/class-freemius.php:20491
|
614 |
-
msgid "Sorry, we could not complete the email update. Another user with the same email is already registered."
|
615 |
-
msgstr "メールアドレスのアップデートを完了できませんでした。他のユーザーがすでに同じメールアドレスで登録しているようです。"
|
616 |
-
|
617 |
-
#: includes/class-freemius.php:20492
|
618 |
-
msgid "If you would like to give up the ownership of the %s's account to %s click the Change Ownership button."
|
619 |
-
msgstr "%sの所有権を%sへ譲りたい場合は、所有権の変更ボタンをクリックしてください。"
|
620 |
-
|
621 |
-
#: includes/class-freemius.php:20499
|
622 |
-
msgid "Change Ownership"
|
623 |
-
msgstr "オーナーを変更"
|
624 |
-
|
625 |
-
#: includes/class-freemius.php:20507
|
626 |
-
msgid "Your email was successfully updated. You should receive an email with confirmation instructions in few moments."
|
627 |
-
msgstr "メールアドレスのアップデートが完了しました。まもなく確認メールが届きます。"
|
628 |
-
|
629 |
-
#: includes/class-freemius.php:20519
|
630 |
-
msgid "Please provide your full name."
|
631 |
-
msgstr "フルネームを入力してください。"
|
632 |
-
|
633 |
-
#: includes/class-freemius.php:20524
|
634 |
-
msgid "Your name was successfully updated."
|
635 |
-
msgstr "名前のアップデートが成功しました。"
|
636 |
-
|
637 |
-
#: includes/class-freemius.php:20585
|
638 |
-
msgid "You have successfully updated your %s."
|
639 |
-
msgstr "%s のアップデートが成功しました。"
|
640 |
-
|
641 |
-
#: includes/class-freemius.php:20725
|
642 |
-
msgid "Just letting you know that the add-ons information of %s is being pulled from an external server."
|
643 |
-
msgstr "%s のアドオンに関する情報は、外部サーバーから取得されます。"
|
644 |
-
|
645 |
-
#: includes/class-freemius.php:20726
|
646 |
-
msgctxt "advance notice of something that will need attention."
|
647 |
-
msgid "Heads up"
|
648 |
-
msgstr "警告"
|
649 |
-
|
650 |
-
#: includes/class-freemius.php:21165
|
651 |
-
msgctxt "exclamation"
|
652 |
-
msgid "Hey"
|
653 |
-
msgstr "ヘイ"
|
654 |
-
|
655 |
-
#: includes/class-freemius.php:21165
|
656 |
-
msgid "How do you like %s so far? Test all our %s premium features with a %d-day free trial."
|
657 |
-
msgstr "%s はどうですか? 私たちの全ての %s のプレミアム機能をお試しください。"
|
658 |
-
|
659 |
-
#: includes/class-freemius.php:21173
|
660 |
-
msgid "No commitment for %s days - cancel anytime!"
|
661 |
-
msgstr "%s 日以内であればいつでもキャンセルできます。"
|
662 |
-
|
663 |
-
#: includes/class-freemius.php:21174
|
664 |
-
msgid "No credit card required"
|
665 |
-
msgstr "クレジットカードは必要ありません。"
|
666 |
-
|
667 |
-
#: includes/class-freemius.php21181, templates/forms/trial-start.php:53
|
668 |
-
msgctxt "call to action"
|
669 |
-
msgid "Start free trial"
|
670 |
-
msgstr "フリートライアルを開始"
|
671 |
-
|
672 |
-
#: includes/class-freemius.php:21258
|
673 |
-
msgid "Hey there, did you know that %s has an affiliate program? If you like the %s you can become our ambassador and earn some cash!"
|
674 |
-
msgstr "こんにちは。%sにアフィリエイトプログラムがあるのはご存知でしたか? %sがお好きなら、私たちのアンバサダーになって報酬を得ましょう!"
|
675 |
-
|
676 |
-
#: includes/class-freemius.php:21267
|
677 |
-
msgid "Learn more"
|
678 |
-
msgstr "詳細はこちら"
|
679 |
-
|
680 |
-
#: includes/class-freemius.php21447, templates/account.php474,
|
681 |
-
#: templates/account.php595, templates/connect.php171,
|
682 |
-
#: templates/connect.php421, templates/forms/license-activation.php25,
|
683 |
-
#: templates/account/partials/addon.php:287
|
684 |
-
msgid "Activate License"
|
685 |
-
msgstr "ライセンスを有効化"
|
686 |
-
|
687 |
-
#: includes/class-freemius.php21448, templates/account.php543,
|
688 |
-
#: templates/account.php594, templates/account/partials/site.php:256
|
689 |
-
msgid "Change License"
|
690 |
-
msgstr "ライセンスを変更"
|
691 |
-
|
692 |
-
#: includes/class-freemius.php21539, templates/account/partials/site.php:161
|
693 |
-
msgid "Opt Out"
|
694 |
-
msgstr "オプトアウト"
|
695 |
-
|
696 |
-
#: includes/class-freemius.php21541, includes/class-freemius.php21547,
|
697 |
-
#: templates/account/partials/site.php43,
|
698 |
-
#: templates/account/partials/site.php:161
|
699 |
-
msgid "Opt In"
|
700 |
-
msgstr "オプトイン"
|
701 |
-
|
702 |
-
#: includes/class-freemius.php:21775
|
703 |
-
msgid " The paid version of %1$s is already installed. Please activate it to start benefiting the %2$s features. %3$s"
|
704 |
-
msgstr " The paid version of %1$s is already installed. Please activate it to start benefiting the %2$s features. %3$s"
|
705 |
-
|
706 |
-
#: includes/class-freemius.php:21783
|
707 |
-
msgid "Activate %s features"
|
708 |
-
msgstr "Activate %s features"
|
709 |
-
|
710 |
-
#: includes/class-freemius.php:21796
|
711 |
-
msgid "Please follow these steps to complete the upgrade"
|
712 |
-
msgstr "アップグレードを完了するには以下の手順を完了させてください。"
|
713 |
-
|
714 |
-
#: includes/class-freemius.php:21800
|
715 |
-
msgid "Download the latest %s version"
|
716 |
-
msgstr "最新の %s をダウンロード"
|
717 |
-
|
718 |
-
#: includes/class-freemius.php:21804
|
719 |
-
msgid "Upload and activate the downloaded version"
|
720 |
-
msgstr "ダウンロードしたバージョンをアップロードして有効化"
|
721 |
-
|
722 |
-
#: includes/class-freemius.php:21806
|
723 |
-
msgid "How to upload and activate?"
|
724 |
-
msgstr "アップロードと有効化の方法"
|
725 |
-
|
726 |
-
#: includes/class-freemius.php:21940
|
727 |
-
msgid "%sClick here%s to choose the sites where you'd like to activate the license on."
|
728 |
-
msgstr "%sここをクリックして%s ライセンスを有効化したいサイトを選択してください。"
|
729 |
-
|
730 |
-
#: includes/class-freemius.php:22101
|
731 |
-
msgid "Auto installation only works for opted-in users."
|
732 |
-
msgstr "自動インストールはオプトインしたユーザのみで動作します。"
|
733 |
-
|
734 |
-
#: includes/class-freemius.php22111, includes/class-freemius.php22144,
|
735 |
-
#: includes/class-fs-plugin-updater.php1149,
|
736 |
-
#: includes/class-fs-plugin-updater.php:1163
|
737 |
-
msgid "Invalid module ID."
|
738 |
-
msgstr "モジュール ID が不正です"
|
739 |
-
|
740 |
-
#: includes/class-freemius.php22120, includes/class-fs-plugin-updater.php:1185
|
741 |
-
msgid "Premium version already active."
|
742 |
-
msgstr "プレミアムバージョンはすでに有効になっています。"
|
743 |
-
|
744 |
-
#: includes/class-freemius.php:22127
|
745 |
-
msgid "You do not have a valid license to access the premium version."
|
746 |
-
msgstr "プレミアムバージョンにアクセスできる有効なライセンス持っていません。"
|
747 |
-
|
748 |
-
#: includes/class-freemius.php:22134
|
749 |
-
msgid "Plugin is a \"Serviceware\" which means it does not have a premium code version."
|
750 |
-
msgstr "プラグインはプレミアムコードバージョンのない「サービスウェア」です。"
|
751 |
-
|
752 |
-
#: includes/class-freemius.php22152, includes/class-fs-plugin-updater.php:1184
|
753 |
-
msgid "Premium add-on version already installed."
|
754 |
-
msgstr "プレミアムアドオンバージョンはすでにインストール済みです。"
|
755 |
-
|
756 |
-
#: includes/class-freemius.php:22497
|
757 |
-
msgid "View paid features"
|
758 |
-
msgstr "有料の機能を表示する"
|
759 |
-
|
760 |
-
#: includes/class-freemius.php:22819
|
761 |
-
msgid "Thank you so much for using %s and its add-ons!"
|
762 |
-
msgstr "%sとアドオンのご利用ありがとうございます!"
|
763 |
-
|
764 |
-
#: includes/class-freemius.php:22820
|
765 |
-
msgid "Thank you so much for using %s!"
|
766 |
-
msgstr "%sのご利用ありがとうございます!"
|
767 |
-
|
768 |
-
#: includes/class-freemius.php:22826
|
769 |
-
msgid "You've already opted-in to our usage-tracking, which helps us keep improving the %s."
|
770 |
-
msgstr "%sの改善に役立つ使用状況のトラッキングにすでにオプトインしています。"
|
771 |
-
|
772 |
-
#: includes/class-freemius.php:22830
|
773 |
-
msgid "Thank you so much for using our products!"
|
774 |
-
msgstr "プロダクトのご利用ありがとうございます!"
|
775 |
-
|
776 |
-
#: includes/class-freemius.php:22831
|
777 |
-
msgid "You've already opted-in to our usage-tracking, which helps us keep improving them."
|
778 |
-
msgstr "プロダクトの改善に役立つ使用状況のトラッキングにすでにオプトインしています。"
|
779 |
-
|
780 |
-
#: includes/class-freemius.php:22850
|
781 |
-
msgid "%s and its add-ons"
|
782 |
-
msgstr "%sとそのアドオン"
|
783 |
-
|
784 |
-
#: includes/class-freemius.php:22859
|
785 |
-
msgid "Products"
|
786 |
-
msgstr "プロダクト"
|
787 |
-
|
788 |
-
#: includes/class-freemius.php22866, templates/connect.php:272
|
789 |
-
msgid "Yes"
|
790 |
-
msgstr "はい"
|
791 |
-
|
792 |
-
#: includes/class-freemius.php22867, templates/connect.php:273
|
793 |
-
msgid "send me security & feature updates, educational content and offers."
|
794 |
-
msgstr "セキュリティと機能のアップデート、学習用コンテンツやオファーを送ってください。"
|
795 |
-
|
796 |
-
#: includes/class-freemius.php22868, templates/connect.php:278
|
797 |
-
msgid "No"
|
798 |
-
msgstr "いいえ"
|
799 |
-
|
800 |
-
#: includes/class-freemius.php22870, templates/connect.php:280
|
801 |
-
msgid "do %sNOT%s send me security & feature updates, educational content and offers."
|
802 |
-
msgstr "セキュリティと機能のアップデート、学習用コンテンツやオファーを%s送らないでください%s。"
|
803 |
-
|
804 |
-
#: includes/class-freemius.php:22880
|
805 |
-
msgid "Due to the new %sEU General Data Protection Regulation (GDPR)%s compliance requirements it is required that you provide your explicit consent, again, confirming that you are onboard :-)"
|
806 |
-
msgstr "Due to the new %sEU General Data Protection Regulation (GDPR)%s compliance requirements it is required that you provide your explicit consent, again, confirming that you are onboard :-)"
|
807 |
-
|
808 |
-
#: includes/class-freemius.php22882, templates/connect.php:287
|
809 |
-
msgid "Please let us know if you'd like us to contact you for security & feature updates, educational content, and occasional offers:"
|
810 |
-
msgstr "セキュリティや機能のアップデート、学習用用コンテンツ、およびオファーについてお問い合わせを希望される場合は、お知らせください。"
|
811 |
-
|
812 |
-
#: includes/class-freemius.php:23164
|
813 |
-
msgid "License key is empty."
|
814 |
-
msgstr "ライセンスキーが空です。"
|
815 |
-
|
816 |
-
#: includes/class-fs-plugin-updater.php184,
|
817 |
-
#: templates/forms/premium-versions-upgrade-handler.php:57
|
818 |
-
msgid "Renew license"
|
819 |
-
msgstr "ライセンスを更新"
|
820 |
-
|
821 |
-
#: includes/class-fs-plugin-updater.php189,
|
822 |
-
#: templates/forms/premium-versions-upgrade-handler.php:58
|
823 |
-
msgid "Buy license"
|
824 |
-
msgstr "Buy license"
|
825 |
-
|
826 |
-
#: includes/class-fs-plugin-updater.php280,
|
827 |
-
#: includes/class-fs-plugin-updater.php:313
|
828 |
-
msgid "There is a %s of %s available."
|
829 |
-
msgstr "There is a %s of %s available."
|
830 |
-
|
831 |
-
#: includes/class-fs-plugin-updater.php282,
|
832 |
-
#: includes/class-fs-plugin-updater.php:318
|
833 |
-
msgid "new Beta version"
|
834 |
-
msgstr "new Beta version"
|
835 |
-
|
836 |
-
#: includes/class-fs-plugin-updater.php283,
|
837 |
-
#: includes/class-fs-plugin-updater.php:319
|
838 |
-
msgid "new version"
|
839 |
-
msgstr "new version"
|
840 |
-
|
841 |
-
#: includes/class-fs-plugin-updater.php:342
|
842 |
-
msgid "Important Upgrade Notice:"
|
843 |
-
msgstr "Important Upgrade Notice:"
|
844 |
-
|
845 |
-
#: includes/class-fs-plugin-updater.php:1214
|
846 |
-
msgid "Installing plugin: %s"
|
847 |
-
msgstr "インストール中プラグイン: %s"
|
848 |
-
|
849 |
-
#: includes/class-fs-plugin-updater.php:1255
|
850 |
-
msgid "Unable to connect to the filesystem. Please confirm your credentials."
|
851 |
-
msgstr "ファイルシステムに接続できません。視覚情報を確認してください。"
|
852 |
-
|
853 |
-
#: includes/class-fs-plugin-updater.php:1437
|
854 |
-
msgid "The remote plugin package does not contain a folder with the desired slug and renaming did not work."
|
855 |
-
msgstr "リモートプラグインパッケージには、目的のスラッグを含むフォルダが含まれていないため、リねームが機能しませんでした。"
|
856 |
-
|
857 |
-
#: includes/fs-plugin-info-dialog.php:509
|
858 |
-
msgid "Purchase More"
|
859 |
-
msgstr "Purchase More"
|
860 |
-
|
861 |
-
#: includes/fs-plugin-info-dialog.php510,
|
862 |
-
#: templates/account/partials/addon.php:347
|
863 |
-
msgctxt "verb"
|
864 |
-
msgid "Purchase"
|
865 |
-
msgstr "購入"
|
866 |
-
|
867 |
-
#: includes/fs-plugin-info-dialog.php:514
|
868 |
-
msgid "Start my free %s"
|
869 |
-
msgstr "無料の %s を開始"
|
870 |
-
|
871 |
-
#: includes/fs-plugin-info-dialog.php:712
|
872 |
-
msgid "Install Free Version Update Now"
|
873 |
-
msgstr "フリーバージョンの更新を今すぐインストール"
|
874 |
-
|
875 |
-
#: includes/fs-plugin-info-dialog.php713, templates/account.php:534
|
876 |
-
msgid "Install Update Now"
|
877 |
-
msgstr "今すぐ更新をインストール"
|
878 |
-
|
879 |
-
#: includes/fs-plugin-info-dialog.php:722
|
880 |
-
msgid "Install Free Version Now"
|
881 |
-
msgstr "フリーバージョンを今すぐインストール"
|
882 |
-
|
883 |
-
#: includes/fs-plugin-info-dialog.php723, templates/add-ons.php262,
|
884 |
-
#: templates/auto-installation.php111,
|
885 |
-
#: templates/account/partials/addon.php327,
|
886 |
-
#: templates/account/partials/addon.php:379
|
887 |
-
msgid "Install Now"
|
888 |
-
msgstr "今すぐインストール"
|
889 |
-
|
890 |
-
#: includes/fs-plugin-info-dialog.php:739
|
891 |
-
msgctxt "as download latest version"
|
892 |
-
msgid "Download Latest Free Version"
|
893 |
-
msgstr "最新のフリーバージョンをダウンロード"
|
894 |
-
|
895 |
-
#: includes/fs-plugin-info-dialog.php740, templates/account.php85,
|
896 |
-
#: templates/add-ons.php34, templates/account/partials/addon.php:25
|
897 |
-
msgctxt "as download latest version"
|
898 |
-
msgid "Download Latest"
|
899 |
-
msgstr "最新版をダウンロード"
|
900 |
-
|
901 |
-
#: includes/fs-plugin-info-dialog.php755, templates/add-ons.php268,
|
902 |
-
#: templates/account/partials/addon.php318,
|
903 |
-
#: templates/account/partials/addon.php:373
|
904 |
-
msgid "Activate this add-on"
|
905 |
-
msgstr "このアドオンを有効化"
|
906 |
-
|
907 |
-
#: includes/fs-plugin-info-dialog.php757, templates/connect.php:418
|
908 |
-
msgid "Activate Free Version"
|
909 |
-
msgstr "フリーバージョンを有効化"
|
910 |
-
|
911 |
-
#: includes/fs-plugin-info-dialog.php758, templates/account.php109,
|
912 |
-
#: templates/add-ons.php269, templates/account/partials/addon.php:49
|
913 |
-
msgid "Activate"
|
914 |
-
msgstr "有効化"
|
915 |
-
|
916 |
-
#: includes/fs-plugin-info-dialog.php:968
|
917 |
-
msgctxt "Plugin installer section title"
|
918 |
-
msgid "Description"
|
919 |
-
msgstr "説明"
|
920 |
-
|
921 |
-
#: includes/fs-plugin-info-dialog.php:969
|
922 |
-
msgctxt "Plugin installer section title"
|
923 |
-
msgid "Installation"
|
924 |
-
msgstr "インストール"
|
925 |
-
|
926 |
-
#: includes/fs-plugin-info-dialog.php:970
|
927 |
-
msgctxt "Plugin installer section title"
|
928 |
-
msgid "FAQ"
|
929 |
-
msgstr "FAQ"
|
930 |
-
|
931 |
-
#: includes/fs-plugin-info-dialog.php971,
|
932 |
-
#: templates/plugin-info/description.php:55
|
933 |
-
msgid "Screenshots"
|
934 |
-
msgstr "スクリーンショット"
|
935 |
-
|
936 |
-
#: includes/fs-plugin-info-dialog.php:972
|
937 |
-
msgctxt "Plugin installer section title"
|
938 |
-
msgid "Changelog"
|
939 |
-
msgstr "変更履歴"
|
940 |
-
|
941 |
-
#: includes/fs-plugin-info-dialog.php:973
|
942 |
-
msgctxt "Plugin installer section title"
|
943 |
-
msgid "Reviews"
|
944 |
-
msgstr "レビュー"
|
945 |
-
|
946 |
-
#: includes/fs-plugin-info-dialog.php:974
|
947 |
-
msgctxt "Plugin installer section title"
|
948 |
-
msgid "Other Notes"
|
949 |
-
msgstr "その他の記述"
|
950 |
-
|
951 |
-
#: includes/fs-plugin-info-dialog.php:989
|
952 |
-
msgctxt "Plugin installer section title"
|
953 |
-
msgid "Features & Pricing"
|
954 |
-
msgstr "機能 & 料金"
|
955 |
-
|
956 |
-
#: includes/fs-plugin-info-dialog.php:999
|
957 |
-
msgid "Plugin Install"
|
958 |
-
msgstr "プラグインのインストール"
|
959 |
-
|
960 |
-
#: includes/fs-plugin-info-dialog.php:1071
|
961 |
-
msgctxt "e.g. Professional Plan"
|
962 |
-
msgid "%s Plan"
|
963 |
-
msgstr "%s プラン"
|
964 |
-
|
965 |
-
#: includes/fs-plugin-info-dialog.php:1097
|
966 |
-
msgctxt "e.g. the best product"
|
967 |
-
msgid "Best"
|
968 |
-
msgstr "ベスト"
|
969 |
-
|
970 |
-
#: includes/fs-plugin-info-dialog.php1103,
|
971 |
-
#: includes/fs-plugin-info-dialog.php:1123
|
972 |
-
msgctxt "as every month"
|
973 |
-
msgid "Monthly"
|
974 |
-
msgstr "月"
|
975 |
-
|
976 |
-
#: includes/fs-plugin-info-dialog.php:1106
|
977 |
-
msgctxt "as once a year"
|
978 |
-
msgid "Annual"
|
979 |
-
msgstr "年次"
|
980 |
-
|
981 |
-
#: includes/fs-plugin-info-dialog.php:1109
|
982 |
-
msgid "Lifetime"
|
983 |
-
msgstr "ライフタイム"
|
984 |
-
|
985 |
-
#: includes/fs-plugin-info-dialog.php1123,
|
986 |
-
#: includes/fs-plugin-info-dialog.php1125,
|
987 |
-
#: includes/fs-plugin-info-dialog.php:1127
|
988 |
-
msgctxt "e.g. billed monthly"
|
989 |
-
msgid "Billed %s"
|
990 |
-
msgstr "%s への請求"
|
991 |
-
|
992 |
-
#: includes/fs-plugin-info-dialog.php:1125
|
993 |
-
msgctxt "as once a year"
|
994 |
-
msgid "Annually"
|
995 |
-
msgstr "毎年"
|
996 |
-
|
997 |
-
#: includes/fs-plugin-info-dialog.php:1127
|
998 |
-
msgctxt "as once a year"
|
999 |
-
msgid "Once"
|
1000 |
-
msgstr "一度"
|
1001 |
-
|
1002 |
-
#: includes/fs-plugin-info-dialog.php:1133
|
1003 |
-
msgid "Single Site License"
|
1004 |
-
msgstr "シングルサイトライセンス"
|
1005 |
-
|
1006 |
-
#: includes/fs-plugin-info-dialog.php:1135
|
1007 |
-
msgid "Unlimited Licenses"
|
1008 |
-
msgstr "無制限ライセンス"
|
1009 |
-
|
1010 |
-
#: includes/fs-plugin-info-dialog.php:1137
|
1011 |
-
msgid "Up to %s Sites"
|
1012 |
-
msgstr "%sサイトまで"
|
1013 |
-
|
1014 |
-
#: includes/fs-plugin-info-dialog.php1147,
|
1015 |
-
#: templates/plugin-info/features.php:82
|
1016 |
-
msgctxt "as monthly period"
|
1017 |
-
msgid "mo"
|
1018 |
-
msgstr "月"
|
1019 |
-
|
1020 |
-
#: includes/fs-plugin-info-dialog.php1154,
|
1021 |
-
#: templates/plugin-info/features.php:80
|
1022 |
-
msgctxt "as annual period"
|
1023 |
-
msgid "year"
|
1024 |
-
msgstr "年"
|
1025 |
-
|
1026 |
-
#: includes/fs-plugin-info-dialog.php:1208
|
1027 |
-
msgctxt "noun"
|
1028 |
-
msgid "Price"
|
1029 |
-
msgstr "料金"
|
1030 |
-
|
1031 |
-
#: includes/fs-plugin-info-dialog.php:1256
|
1032 |
-
msgid "Save %s"
|
1033 |
-
msgstr "%s を保存"
|
1034 |
-
|
1035 |
-
#: includes/fs-plugin-info-dialog.php:1266
|
1036 |
-
msgid "No commitment for %s - cancel anytime"
|
1037 |
-
msgstr "%s の拘束はありません。いつでもキャンセルできます。"
|
1038 |
-
|
1039 |
-
#: includes/fs-plugin-info-dialog.php:1269
|
1040 |
-
msgid "After your free %s, pay as little as %s"
|
1041 |
-
msgstr "無料の %s の後は、わずか %s だけお支払ください。"
|
1042 |
-
|
1043 |
-
#: includes/fs-plugin-info-dialog.php:1280
|
1044 |
-
msgid "Details"
|
1045 |
-
msgstr "詳細"
|
1046 |
-
|
1047 |
-
#: includes/fs-plugin-info-dialog.php1284, templates/account.php96,
|
1048 |
-
#: templates/debug.php203, templates/debug.php240, templates/debug.php454,
|
1049 |
-
#: templates/account/partials/addon.php:36
|
1050 |
-
msgctxt "product version"
|
1051 |
-
msgid "Version"
|
1052 |
-
msgstr "バージョン"
|
1053 |
-
|
1054 |
-
#: includes/fs-plugin-info-dialog.php:1291
|
1055 |
-
msgctxt "as the plugin author"
|
1056 |
-
msgid "Author"
|
1057 |
-
msgstr "作者"
|
1058 |
-
|
1059 |
-
#: includes/fs-plugin-info-dialog.php:1298
|
1060 |
-
msgid "Last Updated"
|
1061 |
-
msgstr "最終更新"
|
1062 |
-
|
1063 |
-
#: includes/fs-plugin-info-dialog.php1303, templates/account.php:444
|
1064 |
-
msgctxt "x-ago"
|
1065 |
-
msgid "%s ago"
|
1066 |
-
msgstr "%s 前"
|
1067 |
-
|
1068 |
-
#: includes/fs-plugin-info-dialog.php:1312
|
1069 |
-
msgid "Requires WordPress Version"
|
1070 |
-
msgstr "必要な WordPress のバージョン"
|
1071 |
-
|
1072 |
-
#: includes/fs-plugin-info-dialog.php:1313
|
1073 |
-
msgid "%s or higher"
|
1074 |
-
msgstr "%sまたはそれ以上"
|
1075 |
-
|
1076 |
-
#: includes/fs-plugin-info-dialog.php:1320
|
1077 |
-
msgid "Compatible up to"
|
1078 |
-
msgstr "互換性のある最新バージョン"
|
1079 |
-
|
1080 |
-
#: includes/fs-plugin-info-dialog.php:1328
|
1081 |
-
msgid "Downloaded"
|
1082 |
-
msgstr "ダウンロード済み"
|
1083 |
-
|
1084 |
-
#: includes/fs-plugin-info-dialog.php:1332
|
1085 |
-
msgid "%s time"
|
1086 |
-
msgstr "%s回"
|
1087 |
-
|
1088 |
-
#: includes/fs-plugin-info-dialog.php:1334
|
1089 |
-
msgid "%s times"
|
1090 |
-
msgstr "%s回"
|
1091 |
-
|
1092 |
-
#: includes/fs-plugin-info-dialog.php:1344
|
1093 |
-
msgid "WordPress.org Plugin Page"
|
1094 |
-
msgstr "WordPress.org のプラグインページ"
|
1095 |
-
|
1096 |
-
#: includes/fs-plugin-info-dialog.php:1352
|
1097 |
-
msgid "Plugin Homepage"
|
1098 |
-
msgstr "プラグインのホームページ"
|
1099 |
-
|
1100 |
-
#: includes/fs-plugin-info-dialog.php1360,
|
1101 |
-
#: includes/fs-plugin-info-dialog.php:1442
|
1102 |
-
msgid "Donate to this plugin"
|
1103 |
-
msgstr "このプラグインに寄付する"
|
1104 |
-
|
1105 |
-
#: includes/fs-plugin-info-dialog.php:1367
|
1106 |
-
msgid "Average Rating"
|
1107 |
-
msgstr "レーティングの平均"
|
1108 |
-
|
1109 |
-
#: includes/fs-plugin-info-dialog.php:1374
|
1110 |
-
msgid "based on %s"
|
1111 |
-
msgstr "%sを基に"
|
1112 |
-
|
1113 |
-
#: includes/fs-plugin-info-dialog.php:1378
|
1114 |
-
msgid "%s rating"
|
1115 |
-
msgstr "%s評価"
|
1116 |
-
|
1117 |
-
#: includes/fs-plugin-info-dialog.php:1380
|
1118 |
-
msgid "%s ratings"
|
1119 |
-
msgstr "%s評価"
|
1120 |
-
|
1121 |
-
#: includes/fs-plugin-info-dialog.php:1395
|
1122 |
-
msgid "%s star"
|
1123 |
-
msgstr "%sスター"
|
1124 |
-
|
1125 |
-
#: includes/fs-plugin-info-dialog.php:1397
|
1126 |
-
msgid "%s stars"
|
1127 |
-
msgstr "%sスター"
|
1128 |
-
|
1129 |
-
#: includes/fs-plugin-info-dialog.php:1408
|
1130 |
-
msgid "Click to see reviews that provided a rating of %s"
|
1131 |
-
msgstr "クリックして%sの評価をしているレビューを観る"
|
1132 |
-
|
1133 |
-
#: includes/fs-plugin-info-dialog.php:1421
|
1134 |
-
msgid "Contributors"
|
1135 |
-
msgstr "コントリビューター"
|
1136 |
-
|
1137 |
-
#: includes/fs-plugin-info-dialog.php1450,
|
1138 |
-
#: includes/fs-plugin-info-dialog.php:1452
|
1139 |
-
msgid "Warning"
|
1140 |
-
msgstr "警告"
|
1141 |
-
|
1142 |
-
#: includes/fs-plugin-info-dialog.php:1450
|
1143 |
-
msgid "This plugin has not been tested with your current version of WordPress."
|
1144 |
-
msgstr "このプラグインはインストールされた WordPress のバージョンでは検証されていません。"
|
1145 |
-
|
1146 |
-
#: includes/fs-plugin-info-dialog.php:1452
|
1147 |
-
msgid "This plugin has not been marked as compatible with your version of WordPress."
|
1148 |
-
msgstr "このプラグインはインストールされた WordPress のバージョンに互換性がありません。"
|
1149 |
-
|
1150 |
-
#: includes/fs-plugin-info-dialog.php:1471
|
1151 |
-
msgid "Paid add-on must be deployed to Freemius."
|
1152 |
-
msgstr "有料アドオンは Freemius にデプロイされている必要があります。"
|
1153 |
-
|
1154 |
-
#: includes/fs-plugin-info-dialog.php:1472
|
1155 |
-
msgid "Add-on must be deployed to WordPress.org or Freemius."
|
1156 |
-
msgstr "アドオンが WordPress.org か Freemius にデプロイされている必要があります。"
|
1157 |
-
|
1158 |
-
#: includes/fs-plugin-info-dialog.php:1493
|
1159 |
-
msgid "Newer Version (%s) Installed"
|
1160 |
-
msgstr "新しいバージョン (%s) がインストールされました"
|
1161 |
-
|
1162 |
-
#: includes/fs-plugin-info-dialog.php:1494
|
1163 |
-
msgid "Newer Free Version (%s) Installed"
|
1164 |
-
msgstr "新しいフリーバージョン (%s) がインストールされました"
|
1165 |
-
|
1166 |
-
#: includes/fs-plugin-info-dialog.php:1501
|
1167 |
-
msgid "Latest Version Installed"
|
1168 |
-
msgstr "最新版がイストールされました"
|
1169 |
-
|
1170 |
-
#: includes/fs-plugin-info-dialog.php:1502
|
1171 |
-
msgid "Latest Free Version Installed"
|
1172 |
-
msgstr "最新のフリーバージョンがインストールされました"
|
1173 |
-
|
1174 |
-
#: templates/account.php86, templates/forms/subscription-cancellation.php96,
|
1175 |
-
#: templates/account/partials/addon.php26,
|
1176 |
-
#: templates/account/partials/site.php:295
|
1177 |
-
msgid "Downgrading your plan"
|
1178 |
-
msgstr "Downgrading your plan"
|
1179 |
-
|
1180 |
-
#: templates/account.php87, templates/forms/subscription-cancellation.php97,
|
1181 |
-
#: templates/account/partials/addon.php27,
|
1182 |
-
#: templates/account/partials/site.php:296
|
1183 |
-
msgid "Cancelling the subscription"
|
1184 |
-
msgstr "Cancelling the subscription"
|
1185 |
-
|
1186 |
-
#. translators: %1$s: Either 'Downgrading your plan' or 'Cancelling the
|
1187 |
-
#. subscription'
|
1188 |
-
#: templates/account.php:89
|
1189 |
-
msgid "%1$s will immediately stop all future recurring payments and your %2$s plan license will expire in %3$s."
|
1190 |
-
msgstr "%1$s will immediately stop all future recurring payments and your %2$s plan license will expire in %3$s."
|
1191 |
-
|
1192 |
-
#: templates/account.php90, templates/forms/subscription-cancellation.php100,
|
1193 |
-
#: templates/account/partials/addon.php30,
|
1194 |
-
#: templates/account/partials/site.php:299
|
1195 |
-
msgid "Please note that we will not be able to grandfather outdated pricing for renewals/new subscriptions after a cancellation. If you choose to renew the subscription manually in the future, after a price increase, which typically occurs once a year, you will be charged the updated price."
|
1196 |
-
msgstr "Please note that we will not be able to grandfather outdated pricing for renewals/new subscriptions after a cancellation. If you choose to renew the subscription manually in the future, after a price increase, which typically occurs once a year, you will be charged the updated price."
|
1197 |
-
|
1198 |
-
#: templates/account.php91, templates/forms/subscription-cancellation.php106,
|
1199 |
-
#: templates/account/partials/addon.php:31
|
1200 |
-
msgid "Cancelling the trial will immediately block access to all premium features. Are you sure?"
|
1201 |
-
msgstr "トライアルをキャンセルするとすぐにすべてのプレミアム機能へのアクセスができなくなります。本当に実行しますか?"
|
1202 |
-
|
1203 |
-
#: templates/account.php92, templates/forms/subscription-cancellation.php101,
|
1204 |
-
#: templates/account/partials/addon.php32,
|
1205 |
-
#: templates/account/partials/site.php:300
|
1206 |
-
msgid "You can still enjoy all %s features but you will not have access to %s security & feature updates, nor support."
|
1207 |
-
msgstr "You can still enjoy all %s features but you will not have access to %s security & feature updates, nor support."
|
1208 |
-
|
1209 |
-
#: templates/account.php93, templates/forms/subscription-cancellation.php102,
|
1210 |
-
#: templates/account/partials/addon.php33,
|
1211 |
-
#: templates/account/partials/site.php:301
|
1212 |
-
msgid "Once your license expires you can still use the Free version but you will NOT have access to the %s features."
|
1213 |
-
msgstr "一度ライセンスの期限が切れると、フリーバージョンの利用は可能ですが、%sの機能を使うことができなくなります。"
|
1214 |
-
|
1215 |
-
#. translators: %s: Plan title (e.g. "Professional")
|
1216 |
-
#: templates/account.php95,
|
1217 |
-
#: templates/account/partials/activate-license-button.php31,
|
1218 |
-
#: templates/account/partials/addon.php:35
|
1219 |
-
msgid "Activate %s Plan"
|
1220 |
-
msgstr "%s プランを有効化"
|
1221 |
-
|
1222 |
-
#. translators: %s: Time period (e.g. Auto renews in "2 months")
|
1223 |
-
#: templates/account.php98, templates/account/partials/addon.php38,
|
1224 |
-
#: templates/account/partials/site.php:275
|
1225 |
-
msgid "Auto renews in %s"
|
1226 |
-
msgstr "%s に自動更新"
|
1227 |
-
|
1228 |
-
#. translators: %s: Time period (e.g. Expires in "2 months")
|
1229 |
-
#: templates/account.php100, templates/account/partials/addon.php40,
|
1230 |
-
#: templates/account/partials/site.php:277
|
1231 |
-
msgid "Expires in %s"
|
1232 |
-
msgstr "%s で期間終了"
|
1233 |
-
|
1234 |
-
#: templates/account.php101, templates/account/partials/addon.php:41
|
1235 |
-
msgctxt "as synchronize license"
|
1236 |
-
msgid "Sync License"
|
1237 |
-
msgstr "ライセンスを同期"
|
1238 |
-
|
1239 |
-
#: templates/account.php102, templates/account/partials/addon.php:42
|
1240 |
-
msgid "Cancel Trial"
|
1241 |
-
msgstr "トライアルをキャンセル"
|
1242 |
-
|
1243 |
-
#: templates/account.php103, templates/account/partials/addon.php:43
|
1244 |
-
msgid "Change Plan"
|
1245 |
-
msgstr "プラン変更"
|
1246 |
-
|
1247 |
-
#: templates/account.php104, templates/account/partials/addon.php:44
|
1248 |
-
msgctxt "verb"
|
1249 |
-
msgid "Upgrade"
|
1250 |
-
msgstr "アップグレード"
|
1251 |
-
|
1252 |
-
#: templates/account.php106, templates/account/partials/addon.php46,
|
1253 |
-
#: templates/account/partials/site.php:302
|
1254 |
-
msgctxt "verb"
|
1255 |
-
msgid "Downgrade"
|
1256 |
-
msgstr "ダウングレード"
|
1257 |
-
|
1258 |
-
#: templates/account.php108, templates/add-ons.php187,
|
1259 |
-
#: templates/plugin-info/features.php72,
|
1260 |
-
#: templates/account/partials/addon.php48,
|
1261 |
-
#: templates/account/partials/site.php:31
|
1262 |
-
msgid "Free"
|
1263 |
-
msgstr "無料"
|
1264 |
-
|
1265 |
-
#: templates/account.php110, templates/debug.php373,
|
1266 |
-
#: includes/customizer/class-fs-customizer-upsell-control.php106,
|
1267 |
-
#: templates/account/partials/addon.php:50
|
1268 |
-
msgctxt "as product pricing plan"
|
1269 |
-
msgid "Plan"
|
1270 |
-
msgstr "プラン"
|
1271 |
-
|
1272 |
-
#: templates/account.php:111
|
1273 |
-
msgid "Bundle Plan"
|
1274 |
-
msgstr "Bundle Plan"
|
1275 |
-
|
1276 |
-
#: templates/account.php:185
|
1277 |
-
msgid "Free Trial"
|
1278 |
-
msgstr "フリートライアル"
|
1279 |
-
|
1280 |
-
#: templates/account.php:196
|
1281 |
-
msgid "Account Details"
|
1282 |
-
msgstr "アカウント詳細"
|
1283 |
-
|
1284 |
-
#: templates/account.php:200
|
1285 |
-
msgid "Billing & Invoices"
|
1286 |
-
msgstr "Billing & Invoices"
|
1287 |
-
|
1288 |
-
#: templates/account.php:210
|
1289 |
-
msgid "Deleting the account will automatically deactivate your %s plan license so you can use it on other sites. If you want to terminate the recurring payments as well, click the \"Cancel\" button, and first \"Downgrade\" your account. Are you sure you would like to continue with the deletion?"
|
1290 |
-
msgstr "アカウントを削除すると自動的に %s プランライセンスが無効になり、他のサイトで使うことができます。定期の支払いも終了したい場合は、\"キャンセル\"ボタンをクリックし、まずアカウントを\"ダウングレード\"してください。本当に削除を続行してもいいですか?"
|
1291 |
-
|
1292 |
-
#: templates/account.php:212
|
1293 |
-
msgid "Deletion is not temporary. Only delete if you no longer want to use this %s anymore. Are you sure you would like to continue with the deletion?"
|
1294 |
-
msgstr "削除は一時的なものではありません。本当に%sが必要なくなった時に行ってください。"
|
1295 |
-
|
1296 |
-
#: templates/account.php:215
|
1297 |
-
msgid "Delete Account"
|
1298 |
-
msgstr "アカウントを削除"
|
1299 |
-
|
1300 |
-
#: templates/account.php227, templates/account/partials/addon.php211,
|
1301 |
-
#: templates/account/partials/deactivate-license-button.php:35
|
1302 |
-
msgid "Deactivate License"
|
1303 |
-
msgstr "ライセンスを無効化"
|
1304 |
-
|
1305 |
-
#: templates/account.php250, templates/forms/subscription-cancellation.php:125
|
1306 |
-
msgid "Are you sure you want to proceed?"
|
1307 |
-
msgstr "本当に続行していいですか?"
|
1308 |
-
|
1309 |
-
#: templates/account.php250, templates/account/partials/addon.php:234
|
1310 |
-
msgid "Cancel Subscription"
|
1311 |
-
msgstr "サブスクリプションをキャンセルする"
|
1312 |
-
|
1313 |
-
#: templates/account.php:278
|
1314 |
-
msgctxt "as synchronize"
|
1315 |
-
msgid "Sync"
|
1316 |
-
msgstr "同期"
|
1317 |
-
|
1318 |
-
#: templates/account.php292, templates/debug.php:489
|
1319 |
-
msgid "Name"
|
1320 |
-
msgstr "名前"
|
1321 |
-
|
1322 |
-
#: templates/account.php298, templates/debug.php:490
|
1323 |
-
msgid "Email"
|
1324 |
-
msgstr "Email"
|
1325 |
-
|
1326 |
-
#: templates/account.php305, templates/debug.php372, templates/debug.php:528
|
1327 |
-
msgid "User ID"
|
1328 |
-
msgstr "ユーザー ID"
|
1329 |
-
|
1330 |
-
#: templates/account.php322, templates/account.php608,
|
1331 |
-
#: templates/account.php653, templates/debug.php238, templates/debug.php366,
|
1332 |
-
#: templates/debug.php451, templates/debug.php488, templates/debug.php526,
|
1333 |
-
#: templates/debug.php599, templates/account/payments.php35,
|
1334 |
-
#: templates/debug/logger.php:21
|
1335 |
-
msgid "ID"
|
1336 |
-
msgstr "ID"
|
1337 |
-
|
1338 |
-
#: templates/account.php:329
|
1339 |
-
msgid "Site ID"
|
1340 |
-
msgstr "サイト ID"
|
1341 |
-
|
1342 |
-
#: templates/account.php:332
|
1343 |
-
msgid "No ID"
|
1344 |
-
msgstr "ID がありません"
|
1345 |
-
|
1346 |
-
#: templates/account.php337, templates/debug.php245, templates/debug.php374,
|
1347 |
-
#: templates/debug.php455, templates/debug.php492,
|
1348 |
-
#: templates/account/partials/site.php:219
|
1349 |
-
msgid "Public Key"
|
1350 |
-
msgstr "公開鍵"
|
1351 |
-
|
1352 |
-
#: templates/account.php343, templates/debug.php375, templates/debug.php456,
|
1353 |
-
#: templates/debug.php493, templates/account/partials/site.php:231
|
1354 |
-
msgid "Secret Key"
|
1355 |
-
msgstr "秘密鍵"
|
1356 |
-
|
1357 |
-
#: templates/account.php:346
|
1358 |
-
msgctxt "as secret encryption key missing"
|
1359 |
-
msgid "No Secret"
|
1360 |
-
msgstr "秘密鍵がありません"
|
1361 |
-
|
1362 |
-
#: templates/account.php373, templates/account/partials/site.php112,
|
1363 |
-
#: templates/account/partials/site.php:114
|
1364 |
-
msgid "Trial"
|
1365 |
-
msgstr "トライアル"
|
1366 |
-
|
1367 |
-
#: templates/account.php400, templates/debug.php533,
|
1368 |
-
#: templates/account/partials/site.php:248
|
1369 |
-
msgid "License Key"
|
1370 |
-
msgstr "ライセンスキー"
|
1371 |
-
|
1372 |
-
#: templates/account.php:429
|
1373 |
-
msgid "Join the Beta program"
|
1374 |
-
msgstr "Join the Beta program"
|
1375 |
-
|
1376 |
-
#: templates/account.php:435
|
1377 |
-
msgid "not verified"
|
1378 |
-
msgstr "未認証"
|
1379 |
-
|
1380 |
-
#: templates/account.php444, templates/account/partials/addon.php:172
|
1381 |
-
msgid "Expired"
|
1382 |
-
msgstr "期限切れ"
|
1383 |
-
|
1384 |
-
#: templates/account.php:502
|
1385 |
-
msgid "Premium version"
|
1386 |
-
msgstr "プレミアムバージョン"
|
1387 |
-
|
1388 |
-
#: templates/account.php:504
|
1389 |
-
msgid "Free version"
|
1390 |
-
msgstr "フリーバージョン"
|
1391 |
-
|
1392 |
-
#: templates/account.php:516
|
1393 |
-
msgid "Verify Email"
|
1394 |
-
msgstr "認証メール"
|
1395 |
-
|
1396 |
-
#: templates/account.php:527
|
1397 |
-
msgid "Download %s Version"
|
1398 |
-
msgstr "%s バージョンをダウンロード"
|
1399 |
-
|
1400 |
-
#: templates/account.php541, templates/account.php749,
|
1401 |
-
#: templates/account/partials/site.php237,
|
1402 |
-
#: templates/account/partials/site.php:255
|
1403 |
-
msgctxt "verb"
|
1404 |
-
msgid "Show"
|
1405 |
-
msgstr "表示"
|
1406 |
-
|
1407 |
-
#: templates/account.php:555
|
1408 |
-
msgid "What is your %s?"
|
1409 |
-
msgstr "自分の %s はなんですか?"
|
1410 |
-
|
1411 |
-
#: templates/account.php563, templates/account/billing.php:21
|
1412 |
-
msgctxt "verb"
|
1413 |
-
msgid "Edit"
|
1414 |
-
msgstr "編集"
|
1415 |
-
|
1416 |
-
#: templates/account.php:588
|
1417 |
-
msgid "Sites"
|
1418 |
-
msgstr "サイト数"
|
1419 |
-
|
1420 |
-
#: templates/account.php:599
|
1421 |
-
msgid "Search by address"
|
1422 |
-
msgstr "住所で検索する"
|
1423 |
-
|
1424 |
-
#: templates/account.php609, templates/debug.php:369
|
1425 |
-
msgid "Address"
|
1426 |
-
msgstr "住所"
|
1427 |
-
|
1428 |
-
#: templates/account.php:610
|
1429 |
-
msgid "License"
|
1430 |
-
msgstr "ライセンス"
|
1431 |
-
|
1432 |
-
#: templates/account.php:611
|
1433 |
-
msgid "Plan"
|
1434 |
-
msgstr "プラン"
|
1435 |
-
|
1436 |
-
#: templates/account.php:656
|
1437 |
-
msgctxt "as software license"
|
1438 |
-
msgid "License"
|
1439 |
-
msgstr "ライセンス"
|
1440 |
-
|
1441 |
-
#: templates/account.php:743
|
1442 |
-
msgctxt "verb"
|
1443 |
-
msgid "Hide"
|
1444 |
-
msgstr "非表示"
|
1445 |
-
|
1446 |
-
#: templates/account.php:765
|
1447 |
-
msgid "Processing"
|
1448 |
-
msgstr "Processing"
|
1449 |
-
|
1450 |
-
#: templates/account.php:768
|
1451 |
-
msgid "Get updates for bleeding edge Beta versions of %s."
|
1452 |
-
msgstr "Get updates for bleeding edge Beta versions of %s."
|
1453 |
-
|
1454 |
-
#: templates/account.php:826
|
1455 |
-
msgid "Cancelling %s"
|
1456 |
-
msgstr "Cancelling %s"
|
1457 |
-
|
1458 |
-
#: templates/account.php826, templates/account.php843,
|
1459 |
-
#: templates/forms/subscription-cancellation.php27,
|
1460 |
-
#: templates/forms/deactivation/form.php:133
|
1461 |
-
msgid "trial"
|
1462 |
-
msgstr "trial"
|
1463 |
-
|
1464 |
-
#: templates/account.php841, templates/forms/deactivation/form.php:150
|
1465 |
-
msgid "Cancelling %s..."
|
1466 |
-
msgstr "Cancelling %s..."
|
1467 |
-
|
1468 |
-
#: templates/account.php844, templates/forms/subscription-cancellation.php28,
|
1469 |
-
#: templates/forms/deactivation/form.php:134
|
1470 |
-
msgid "subscription"
|
1471 |
-
msgstr "subscription"
|
1472 |
-
|
1473 |
-
#: templates/account.php:858
|
1474 |
-
msgid "Deactivating your license will block all premium features, but will enable activating the license on another site. Are you sure you want to proceed?"
|
1475 |
-
msgstr "ライセンスを無効化するとすべてのプレミアム機能が使えなくなりますが、他のサイトでライセンスを有効にすることができるようになります。本当に実行しますか?"
|
1476 |
-
|
1477 |
-
#: templates/add-ons.php:35
|
1478 |
-
msgid "View details"
|
1479 |
-
msgstr "詳細を表示"
|
1480 |
-
|
1481 |
-
#: templates/add-ons.php:45
|
1482 |
-
msgid "Add Ons for %s"
|
1483 |
-
msgstr "%s のアドオン"
|
1484 |
-
|
1485 |
-
#: templates/add-ons.php:55
|
1486 |
-
msgid "We could'nt load the add-ons list. It's probably an issue on our side, please try to come back in few minutes."
|
1487 |
-
msgstr "アドオンリストを読み込むことができませんでした。おそらく運営側の問題になりますので、しばらくしてからお試しください。"
|
1488 |
-
|
1489 |
-
#: templates/add-ons.php:173
|
1490 |
-
msgctxt "active add-on"
|
1491 |
-
msgid "Active"
|
1492 |
-
msgstr "有効"
|
1493 |
-
|
1494 |
-
#: templates/add-ons.php:174
|
1495 |
-
msgctxt "installed add-on"
|
1496 |
-
msgid "Installed"
|
1497 |
-
msgstr "Installed"
|
1498 |
-
|
1499 |
-
#: templates/admin-notice.php13, templates/forms/license-activation.php209,
|
1500 |
-
#: templates/forms/resend-key.php:77
|
1501 |
-
msgctxt "as close a window"
|
1502 |
-
msgid "Dismiss"
|
1503 |
-
msgstr "却下"
|
1504 |
-
|
1505 |
-
#: templates/auto-installation.php:45
|
1506 |
-
msgid "%s sec"
|
1507 |
-
msgstr "%s秒"
|
1508 |
-
|
1509 |
-
#: templates/auto-installation.php:83
|
1510 |
-
msgid "Automatic Installation"
|
1511 |
-
msgstr "自動インストール"
|
1512 |
-
|
1513 |
-
#: templates/auto-installation.php:93
|
1514 |
-
msgid "An automated download and installation of %s (paid version) from %s will start in %s. If you would like to do it manually - click the cancellation button now."
|
1515 |
-
msgstr "%sから %s (有料版) の自動ダウンロードと自動インストールが%sで開始します。手動で行う場合は今すぐにキャンセルボタンをクリックしてください。"
|
1516 |
-
|
1517 |
-
#: templates/auto-installation.php:104
|
1518 |
-
msgid "The installation process has started and may take a few minutes to complete. Please wait until it is done - do not refresh this page."
|
1519 |
-
msgstr "インストールプロセスが開始され、数分で完了します。完了までしばらくお待ちください。ページのリフレッシュなどは行わないでください。"
|
1520 |
-
|
1521 |
-
#: templates/auto-installation.php:109
|
1522 |
-
msgid "Cancel Installation"
|
1523 |
-
msgstr "インストールをキャンセルする"
|
1524 |
-
|
1525 |
-
#: templates/checkout.php:180
|
1526 |
-
msgid "Checkout"
|
1527 |
-
msgstr "チェックアウト"
|
1528 |
-
|
1529 |
-
#: templates/checkout.php:180
|
1530 |
-
msgid "PCI compliant"
|
1531 |
-
msgstr "PCI コンプライアント"
|
1532 |
-
|
1533 |
-
#. translators: %s: name (e.g. Hey John,)
|
1534 |
-
#: templates/connect.php:112
|
1535 |
-
msgctxt "greeting"
|
1536 |
-
msgid "Hey %s,"
|
1537 |
-
msgstr "おおい %s さん、"
|
1538 |
-
|
1539 |
-
#: templates/connect.php:154
|
1540 |
-
msgid "Allow & Continue"
|
1541 |
-
msgstr "許可して続ける"
|
1542 |
-
|
1543 |
-
#: templates/connect.php:158
|
1544 |
-
msgid "Re-send activation email"
|
1545 |
-
msgstr "有効化メールを再送信"
|
1546 |
-
|
1547 |
-
#: templates/connect.php:162
|
1548 |
-
msgid "Thanks %s!"
|
1549 |
-
msgstr "ありがとう $s さん!"
|
1550 |
-
|
1551 |
-
#: templates/connect.php172, templates/forms/license-activation.php:44
|
1552 |
-
msgid "Agree & Activate License"
|
1553 |
-
msgstr "同意してライセンスを有効化"
|
1554 |
-
|
1555 |
-
#: templates/connect.php:181
|
1556 |
-
msgid "Thanks for purchasing %s! To get started, please enter your license key:"
|
1557 |
-
msgstr "%s を購入いただきありがとうございます。はじめにライセンスキーを入力してください:"
|
1558 |
-
|
1559 |
-
#: templates/connect.php:188
|
1560 |
-
msgid "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s."
|
1561 |
-
msgstr "重要な更新を逃さないように、セキュリティと更新通知、学習用コンテンツ、オファー、そして%4$s とセンシティブではない診断トラッキングをオプトインしてください。"
|
1562 |
-
|
1563 |
-
#: templates/connect.php:189
|
1564 |
-
msgid "Never miss an important update - opt in to our security and feature updates notifications, and non-sensitive diagnostic tracking with %4$s."
|
1565 |
-
msgstr "重要な更新を逃さないように、セキュリティと更新通知、%4$s とセンシティブではない診断トラッキングをオプトインしてください。"
|
1566 |
-
|
1567 |
-
#: templates/connect.php:195
|
1568 |
-
msgid "Never miss an important update - opt in to our security & feature updates notifications, educational content, offers, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine."
|
1569 |
-
msgstr "重要な更新を逃さないように、セキュリティと更新通知、学習用コンテンツ、オファー、そして%4$s とセンシティブではない診断トラッキングをオプトインしてください。これをスキップしても%1$sはもちろん動作します。"
|
1570 |
-
|
1571 |
-
#: templates/connect.php:196
|
1572 |
-
msgid "Never miss an important update - opt in to our security & feature updates notifications, and non-sensitive diagnostic tracking with %4$s. If you skip this, that's okay! %1$s will still work just fine."
|
1573 |
-
msgstr "重要な更新を逃さないように、セキュリティと更新通知、学習用コンテンツ、オファー、そして%4$s とセンシティブではない診断トラッキングをオプトインしてください。これをスキップしても%1$sはもちろん動作します。"
|
1574 |
-
|
1575 |
-
#: templates/connect.php:230
|
1576 |
-
msgid "We're excited to introduce the Freemius network-level integration."
|
1577 |
-
msgstr "Freeminus ネットワークレベルのインテグレーションをご紹介できることに興奮しています。"
|
1578 |
-
|
1579 |
-
#: templates/connect.php:233
|
1580 |
-
msgid "During the update process we detected %d site(s) that are still pending license activation."
|
1581 |
-
msgstr "アップデートの処理中に%dサイトがライセンスの有効化が保留中であることを検知しました。"
|
1582 |
-
|
1583 |
-
#: templates/connect.php:235
|
1584 |
-
msgid "If you'd like to use the %s on those sites, please enter your license key below and click the activation button."
|
1585 |
-
msgstr "これらのサイトで%sを使う場合は、ライセンスキーを入力し、アクティベーションボタンをクリックしてください。"
|
1586 |
-
|
1587 |
-
#: templates/connect.php:237
|
1588 |
-
msgid "%s's paid features"
|
1589 |
-
msgstr "%sの有料機能"
|
1590 |
-
|
1591 |
-
#: templates/connect.php:242
|
1592 |
-
msgid "Alternatively, you can skip it for now and activate the license later, in your %s's network-level Account page."
|
1593 |
-
msgstr "または、今すぐスキップして、%sのネットワークレベルのアカウントページでライセンスを有効にすることもできます。"
|
1594 |
-
|
1595 |
-
#: templates/connect.php:244
|
1596 |
-
msgid "During the update process we detected %s site(s) in the network that are still pending your attention."
|
1597 |
-
msgstr "アップデートの処理中に、ネットワーク内の%dサイトが対応待ちになっていることを検知しました。"
|
1598 |
-
|
1599 |
-
#: templates/connect.php253, templates/forms/license-activation.php:47
|
1600 |
-
msgid "License key"
|
1601 |
-
msgstr "ライセンスキー"
|
1602 |
-
|
1603 |
-
#: templates/connect.php256, templates/forms/license-activation.php:20
|
1604 |
-
msgid "Can't find your license key?"
|
1605 |
-
msgstr "ライセンスキーは見つかりませんか?"
|
1606 |
-
|
1607 |
-
#: templates/connect.php315, templates/connect.php652,
|
1608 |
-
#: templates/forms/deactivation/retry-skip.php:20
|
1609 |
-
msgctxt "verb"
|
1610 |
-
msgid "Skip"
|
1611 |
-
msgstr "スキップ"
|
1612 |
-
|
1613 |
-
#: templates/connect.php:318
|
1614 |
-
msgid "Delegate to Site Admins"
|
1615 |
-
msgstr "サイト管理者に委任する"
|
1616 |
-
|
1617 |
-
#: templates/connect.php:318
|
1618 |
-
msgid "If you click it, this decision will be delegated to the sites administrators."
|
1619 |
-
msgstr "決定をサイトの管理者に委任するにはクリックしてください。"
|
1620 |
-
|
1621 |
-
#: templates/connect.php:346
|
1622 |
-
msgid "Your Profile Overview"
|
1623 |
-
msgstr "プロフィール概要"
|
1624 |
-
|
1625 |
-
#: templates/connect.php:347
|
1626 |
-
msgid "Name and email address"
|
1627 |
-
msgstr "名前とメールアドレス"
|
1628 |
-
|
1629 |
-
#: templates/connect.php:352
|
1630 |
-
msgid "Your Site Overview"
|
1631 |
-
msgstr "サイト概要"
|
1632 |
-
|
1633 |
-
#: templates/connect.php:353
|
1634 |
-
msgid "Site URL, WP version, PHP info, plugins & themes"
|
1635 |
-
msgstr "サイト URL、WP バージョン、PHP info、プラグインとテーマ"
|
1636 |
-
|
1637 |
-
#: templates/connect.php:358
|
1638 |
-
msgid "Admin Notices"
|
1639 |
-
msgstr "管理者通知"
|
1640 |
-
|
1641 |
-
#: templates/connect.php359, templates/connect.php:375
|
1642 |
-
msgid "Updates, announcements, marketing, no spam"
|
1643 |
-
msgstr "更新、発表、マーケティング、スパムなし"
|
1644 |
-
|
1645 |
-
#: templates/connect.php:364
|
1646 |
-
msgid "Current %s Events"
|
1647 |
-
msgstr "現在%sイベント"
|
1648 |
-
|
1649 |
-
#: templates/connect.php:365
|
1650 |
-
msgid "Activation, deactivation and uninstall"
|
1651 |
-
msgstr "有効化、無効化、アンインストール"
|
1652 |
-
|
1653 |
-
#: templates/connect.php:374
|
1654 |
-
msgid "Newsletter"
|
1655 |
-
msgstr "ニュースレター"
|
1656 |
-
|
1657 |
-
#: templates/connect.php391, templates/forms/license-activation.php:39
|
1658 |
-
msgid "The %1$s will be periodically sending data to %2$s to check for security and feature updates, and verify the validity of your license."
|
1659 |
-
msgstr "%1$sはセキュリティとアプデート、そしてライセンスの状態を確認するため、定期的に%2$sへデータを送信します。"
|
1660 |
-
|
1661 |
-
#: templates/connect.php:396
|
1662 |
-
msgid "What permissions are being granted?"
|
1663 |
-
msgstr "付与されているパーミッションは何ですか?"
|
1664 |
-
|
1665 |
-
#: templates/connect.php:417
|
1666 |
-
msgid "Don't have a license key?"
|
1667 |
-
msgstr "ライセンスキーをお持ちではありませんか?"
|
1668 |
-
|
1669 |
-
#: templates/connect.php:420
|
1670 |
-
msgid "Have a license key?"
|
1671 |
-
msgstr "ライセンスキーはお持ちですか?"
|
1672 |
-
|
1673 |
-
#: templates/connect.php:428
|
1674 |
-
msgid "Privacy Policy"
|
1675 |
-
msgstr "プライバシーポリシー"
|
1676 |
-
|
1677 |
-
#: templates/connect.php:430
|
1678 |
-
msgid "License Agreement"
|
1679 |
-
msgstr "License Agreement"
|
1680 |
-
|
1681 |
-
#: templates/connect.php:430
|
1682 |
-
msgid "Terms of Service"
|
1683 |
-
msgstr "利用規約"
|
1684 |
-
|
1685 |
-
#: templates/connect.php:805
|
1686 |
-
msgctxt "as in the process of sending an email"
|
1687 |
-
msgid "Sending email"
|
1688 |
-
msgstr "メール送信中"
|
1689 |
-
|
1690 |
-
#: templates/connect.php:806
|
1691 |
-
msgctxt "as activating plugin"
|
1692 |
-
msgid "Activating"
|
1693 |
-
msgstr "有効化中"
|
1694 |
-
|
1695 |
-
#: templates/contact.php:78
|
1696 |
-
msgid "Contact"
|
1697 |
-
msgstr "連絡"
|
1698 |
-
|
1699 |
-
#: templates/debug.php:17
|
1700 |
-
msgctxt "as turned off"
|
1701 |
-
msgid "Off"
|
1702 |
-
msgstr "オフ"
|
1703 |
-
|
1704 |
-
#: templates/debug.php:18
|
1705 |
-
msgctxt "as turned on"
|
1706 |
-
msgid "On"
|
1707 |
-
msgstr "オン"
|
1708 |
-
|
1709 |
-
#: templates/debug.php:20
|
1710 |
-
msgid "SDK"
|
1711 |
-
msgstr "SDK"
|
1712 |
-
|
1713 |
-
#: templates/debug.php:24
|
1714 |
-
msgctxt "as code debugging"
|
1715 |
-
msgid "Debugging"
|
1716 |
-
msgstr "デバッグ"
|
1717 |
-
|
1718 |
-
#: templates/debug.php54, templates/debug.php250, templates/debug.php376,
|
1719 |
-
#: templates/debug.php:494
|
1720 |
-
msgid "Actions"
|
1721 |
-
msgstr "アクション"
|
1722 |
-
|
1723 |
-
#: templates/debug.php:64
|
1724 |
-
msgid "Are you sure you want to delete all Freemius data?"
|
1725 |
-
msgstr "ほんとうに全ての Freemius データを削除しますか?"
|
1726 |
-
|
1727 |
-
#: templates/debug.php:64
|
1728 |
-
msgid "Delete All Accounts"
|
1729 |
-
msgstr "全てのアカウントを削除"
|
1730 |
-
|
1731 |
-
#: templates/debug.php:71
|
1732 |
-
msgid "Clear API Cache"
|
1733 |
-
msgstr "API キャッシュをクリア"
|
1734 |
-
|
1735 |
-
#: templates/debug.php:79
|
1736 |
-
msgid "Clear Updates Transients"
|
1737 |
-
msgstr "アップデートのトランジエントをクリアーにする"
|
1738 |
-
|
1739 |
-
#: templates/debug.php:86
|
1740 |
-
msgid "Sync Data From Server"
|
1741 |
-
msgstr "サーバーからのデータを同期"
|
1742 |
-
|
1743 |
-
#: templates/debug.php:95
|
1744 |
-
msgid "Migrate Options to Network"
|
1745 |
-
msgstr "Migrate Options to Network"
|
1746 |
-
|
1747 |
-
#: templates/debug.php:100
|
1748 |
-
msgid "Load DB Option"
|
1749 |
-
msgstr "DB オプションを読み込む"
|
1750 |
-
|
1751 |
-
#: templates/debug.php:103
|
1752 |
-
msgid "Set DB Option"
|
1753 |
-
msgstr "DB オプションを設定する"
|
1754 |
-
|
1755 |
-
#: templates/debug.php:182
|
1756 |
-
msgid "Key"
|
1757 |
-
msgstr "キー"
|
1758 |
-
|
1759 |
-
#: templates/debug.php:183
|
1760 |
-
msgid "Value"
|
1761 |
-
msgstr "値"
|
1762 |
-
|
1763 |
-
#: templates/debug.php:199
|
1764 |
-
msgctxt "as software development kit versions"
|
1765 |
-
msgid "SDK Versions"
|
1766 |
-
msgstr "SDK バージョン"
|
1767 |
-
|
1768 |
-
#: templates/debug.php:204
|
1769 |
-
msgid "SDK Path"
|
1770 |
-
msgstr "SDK のパス"
|
1771 |
-
|
1772 |
-
#: templates/debug.php205, templates/debug.php:244
|
1773 |
-
msgid "Module Path"
|
1774 |
-
msgstr "モジュールのパス"
|
1775 |
-
|
1776 |
-
#: templates/debug.php:206
|
1777 |
-
msgid "Is Active"
|
1778 |
-
msgstr "有効"
|
1779 |
-
|
1780 |
-
#: templates/debug.php234, templates/debug/plugins-themes-sync.php:35
|
1781 |
-
msgid "Plugins"
|
1782 |
-
msgstr "プラグイン"
|
1783 |
-
|
1784 |
-
#: templates/debug.php234, templates/debug/plugins-themes-sync.php:56
|
1785 |
-
msgid "Themes"
|
1786 |
-
msgstr "テーマ"
|
1787 |
-
|
1788 |
-
#: templates/debug.php239, templates/debug.php371, templates/debug.php453,
|
1789 |
-
#: templates/debug/scheduled-crons.php:80
|
1790 |
-
msgid "Slug"
|
1791 |
-
msgstr "スラッグ"
|
1792 |
-
|
1793 |
-
#: templates/debug.php241, templates/debug.php:452
|
1794 |
-
msgid "Title"
|
1795 |
-
msgstr "タイトル"
|
1796 |
-
|
1797 |
-
#: templates/debug.php:242
|
1798 |
-
msgctxt "as application program interface"
|
1799 |
-
msgid "API"
|
1800 |
-
msgstr "API"
|
1801 |
-
|
1802 |
-
#: templates/debug.php:243
|
1803 |
-
msgid "Freemius State"
|
1804 |
-
msgstr "Freemius ステータス"
|
1805 |
-
|
1806 |
-
#: templates/debug.php:247
|
1807 |
-
msgid "Network Blog"
|
1808 |
-
msgstr "ネットワークブログ"
|
1809 |
-
|
1810 |
-
#: templates/debug.php:248
|
1811 |
-
msgid "Network User"
|
1812 |
-
msgstr "ネットワークユーザ"
|
1813 |
-
|
1814 |
-
#: templates/debug.php:285
|
1815 |
-
msgctxt "as connection was successful"
|
1816 |
-
msgid "Connected"
|
1817 |
-
msgstr "接続"
|
1818 |
-
|
1819 |
-
#: templates/debug.php:286
|
1820 |
-
msgctxt "as connection blocked"
|
1821 |
-
msgid "Blocked"
|
1822 |
-
msgstr "ブロック"
|
1823 |
-
|
1824 |
-
#: templates/debug.php:322
|
1825 |
-
msgid "Simulate Trial Promotion"
|
1826 |
-
msgstr "Simulate Trial Promotion"
|
1827 |
-
|
1828 |
-
#: templates/debug.php:334
|
1829 |
-
msgid "Simulate Network Upgrade"
|
1830 |
-
msgstr "ネットワークアップグレードをシミュレートする"
|
1831 |
-
|
1832 |
-
#: templates/debug.php:360
|
1833 |
-
msgid "%s Installs"
|
1834 |
-
msgstr "%sインストール"
|
1835 |
-
|
1836 |
-
#: templates/debug.php:362
|
1837 |
-
msgctxt "like websites"
|
1838 |
-
msgid "Sites"
|
1839 |
-
msgstr "サイト数"
|
1840 |
-
|
1841 |
-
#: templates/debug.php368, templates/account/partials/site.php:148
|
1842 |
-
msgid "Blog ID"
|
1843 |
-
msgstr "ブログ ID"
|
1844 |
-
|
1845 |
-
#: templates/debug.php433, templates/debug.php511,
|
1846 |
-
#: templates/account/partials/addon.php:396
|
1847 |
-
msgctxt "verb"
|
1848 |
-
msgid "Delete"
|
1849 |
-
msgstr "削除"
|
1850 |
-
|
1851 |
-
#: templates/debug.php:447
|
1852 |
-
msgid "Add Ons of module %s"
|
1853 |
-
msgstr "モジュールのアドオン%s"
|
1854 |
-
|
1855 |
-
#: templates/debug.php:484
|
1856 |
-
msgid "Users"
|
1857 |
-
msgstr "ユーザー"
|
1858 |
-
|
1859 |
-
#: templates/debug.php:491
|
1860 |
-
msgid "Verified"
|
1861 |
-
msgstr "認証済み"
|
1862 |
-
|
1863 |
-
#: templates/debug.php:522
|
1864 |
-
msgid "%s Licenses"
|
1865 |
-
msgstr "%sラインセス"
|
1866 |
-
|
1867 |
-
#: templates/debug.php:527
|
1868 |
-
msgid "Plugin ID"
|
1869 |
-
msgstr "プラグイン ID"
|
1870 |
-
|
1871 |
-
#: templates/debug.php:529
|
1872 |
-
msgid "Plan ID"
|
1873 |
-
msgstr "プラン ID"
|
1874 |
-
|
1875 |
-
#: templates/debug.php:530
|
1876 |
-
msgid "Quota"
|
1877 |
-
msgstr "クォータ"
|
1878 |
-
|
1879 |
-
#: templates/debug.php:531
|
1880 |
-
msgid "Activated"
|
1881 |
-
msgstr "有効化済み"
|
1882 |
-
|
1883 |
-
#: templates/debug.php:532
|
1884 |
-
msgid "Blocking"
|
1885 |
-
msgstr "ブロッキング"
|
1886 |
-
|
1887 |
-
#: templates/debug.php:534
|
1888 |
-
msgctxt "as expiration date"
|
1889 |
-
msgid "Expiration"
|
1890 |
-
msgstr "期限切れ"
|
1891 |
-
|
1892 |
-
#: templates/debug.php:557
|
1893 |
-
msgid "Debug Log"
|
1894 |
-
msgstr "デバッグログ"
|
1895 |
-
|
1896 |
-
#: templates/debug.php:561
|
1897 |
-
msgid "All Types"
|
1898 |
-
msgstr "すべてのタイプ"
|
1899 |
-
|
1900 |
-
#: templates/debug.php:568
|
1901 |
-
msgid "All Requests"
|
1902 |
-
msgstr "すべてのリクエスト"
|
1903 |
-
|
1904 |
-
#: templates/debug.php573, templates/debug.php602,
|
1905 |
-
#: templates/debug/logger.php:25
|
1906 |
-
msgid "File"
|
1907 |
-
msgstr "ファイル"
|
1908 |
-
|
1909 |
-
#: templates/debug.php574, templates/debug.php600,
|
1910 |
-
#: templates/debug/logger.php:23
|
1911 |
-
msgid "Function"
|
1912 |
-
msgstr "機能"
|
1913 |
-
|
1914 |
-
#: templates/debug.php:575
|
1915 |
-
msgid "Process ID"
|
1916 |
-
msgstr "プロセス ID"
|
1917 |
-
|
1918 |
-
#: templates/debug.php:576
|
1919 |
-
msgid "Logger"
|
1920 |
-
msgstr "ロガー"
|
1921 |
-
|
1922 |
-
#: templates/debug.php577, templates/debug.php601,
|
1923 |
-
#: templates/debug/logger.php:24
|
1924 |
-
msgid "Message"
|
1925 |
-
msgstr "メッセージ"
|
1926 |
-
|
1927 |
-
#: templates/debug.php:579
|
1928 |
-
msgid "Filter"
|
1929 |
-
msgstr "フィルター"
|
1930 |
-
|
1931 |
-
#: templates/debug.php:587
|
1932 |
-
msgid "Download"
|
1933 |
-
msgstr "ダウンロード"
|
1934 |
-
|
1935 |
-
#: templates/debug.php598, templates/debug/logger.php:22
|
1936 |
-
msgid "Type"
|
1937 |
-
msgstr "タイプ"
|
1938 |
-
|
1939 |
-
#: templates/debug.php603, templates/debug/logger.php:26
|
1940 |
-
msgid "Timestamp"
|
1941 |
-
msgstr "タイムスタンプ"
|
1942 |
-
|
1943 |
-
#: templates/secure-https-header.php:28
|
1944 |
-
msgid "Secure HTTPS %s page, running from an external domain"
|
1945 |
-
msgstr "外部ドメインで実行中のセキュアな HTTPS %sページ"
|
1946 |
-
|
1947 |
-
#: includes/customizer/class-fs-customizer-support-section.php55,
|
1948 |
-
#: templates/plugin-info/features.php:43
|
1949 |
-
msgid "Support"
|
1950 |
-
msgstr "サポート"
|
1951 |
-
|
1952 |
-
#: includes/debug/class-fs-debug-bar-panel.php48,
|
1953 |
-
#: templates/debug/api-calls.php54, templates/debug/logger.php:62
|
1954 |
-
msgctxt "milliseconds"
|
1955 |
-
msgid "ms"
|
1956 |
-
msgstr "ms"
|
1957 |
-
|
1958 |
-
#: includes/debug/debug-bar-start.php:41
|
1959 |
-
msgid "Freemius API"
|
1960 |
-
msgstr "Freemius API"
|
1961 |
-
|
1962 |
-
#: includes/debug/debug-bar-start.php:42
|
1963 |
-
msgid "Requests"
|
1964 |
-
msgstr "リクエスト数"
|
1965 |
-
|
1966 |
-
#: templates/account/billing.php:22
|
1967 |
-
msgctxt "verb"
|
1968 |
-
msgid "Update"
|
1969 |
-
msgstr "更新"
|
1970 |
-
|
1971 |
-
#: templates/account/billing.php:33
|
1972 |
-
msgid "Billing"
|
1973 |
-
msgstr "請求書"
|
1974 |
-
|
1975 |
-
#: templates/account/billing.php38, templates/account/billing.php:38
|
1976 |
-
msgid "Business name"
|
1977 |
-
msgstr "商号"
|
1978 |
-
|
1979 |
-
#: templates/account/billing.php39, templates/account/billing.php:39
|
1980 |
-
msgid "Tax / VAT ID"
|
1981 |
-
msgstr "税金 / VAT ID"
|
1982 |
-
|
1983 |
-
#: templates/account/billing.php42, templates/account/billing.php42,
|
1984 |
-
#: templates/account/billing.php43, templates/account/billing.php:43
|
1985 |
-
msgid "Address Line %d"
|
1986 |
-
msgstr "住所欄 %d"
|
1987 |
-
|
1988 |
-
#: templates/account/billing.php46, templates/account/billing.php:46
|
1989 |
-
msgid "City"
|
1990 |
-
msgstr "市"
|
1991 |
-
|
1992 |
-
#: templates/account/billing.php46, templates/account/billing.php:46
|
1993 |
-
msgid "Town"
|
1994 |
-
msgstr "町"
|
1995 |
-
|
1996 |
-
#: templates/account/billing.php47, templates/account/billing.php:47
|
1997 |
-
msgid "ZIP / Postal Code"
|
1998 |
-
msgstr "ZIP / 郵便番号"
|
1999 |
-
|
2000 |
-
#: templates/account/billing.php:302
|
2001 |
-
msgid "Country"
|
2002 |
-
msgstr "国"
|
2003 |
-
|
2004 |
-
#: templates/account/billing.php:304
|
2005 |
-
msgid "Select Country"
|
2006 |
-
msgstr "国を選択"
|
2007 |
-
|
2008 |
-
#: templates/account/billing.php311, templates/account/billing.php:312
|
2009 |
-
msgid "State"
|
2010 |
-
msgstr "州"
|
2011 |
-
|
2012 |
-
#: templates/account/billing.php311, templates/account/billing.php:312
|
2013 |
-
msgid "Province"
|
2014 |
-
msgstr "県・州・省"
|
2015 |
-
|
2016 |
-
#: templates/account/payments.php:29
|
2017 |
-
msgid "Payments"
|
2018 |
-
msgstr "支払い"
|
2019 |
-
|
2020 |
-
#: templates/account/payments.php:36
|
2021 |
-
msgid "Date"
|
2022 |
-
msgstr "日付"
|
2023 |
-
|
2024 |
-
#: templates/account/payments.php:37
|
2025 |
-
msgid "Amount"
|
2026 |
-
msgstr "総額"
|
2027 |
-
|
2028 |
-
#: templates/account/payments.php38, templates/account/payments.php:50
|
2029 |
-
msgid "Invoice"
|
2030 |
-
msgstr "請求書"
|
2031 |
-
|
2032 |
-
#: templates/debug/api-calls.php:56
|
2033 |
-
msgid "API"
|
2034 |
-
msgstr "API"
|
2035 |
-
|
2036 |
-
#: templates/debug/api-calls.php:68
|
2037 |
-
msgid "Method"
|
2038 |
-
msgstr "メソッド"
|
2039 |
-
|
2040 |
-
#: templates/debug/api-calls.php:69
|
2041 |
-
msgid "Code"
|
2042 |
-
msgstr "コード"
|
2043 |
-
|
2044 |
-
#: templates/debug/api-calls.php:70
|
2045 |
-
msgid "Length"
|
2046 |
-
msgstr "長さ"
|
2047 |
-
|
2048 |
-
#: templates/debug/api-calls.php:71
|
2049 |
-
msgctxt "as file/folder path"
|
2050 |
-
msgid "Path"
|
2051 |
-
msgstr "パス"
|
2052 |
-
|
2053 |
-
#: templates/debug/api-calls.php:73
|
2054 |
-
msgid "Body"
|
2055 |
-
msgstr "本文"
|
2056 |
-
|
2057 |
-
#: templates/debug/api-calls.php:75
|
2058 |
-
msgid "Result"
|
2059 |
-
msgstr "結果"
|
2060 |
-
|
2061 |
-
#: templates/debug/api-calls.php:76
|
2062 |
-
msgid "Start"
|
2063 |
-
msgstr "開始"
|
2064 |
-
|
2065 |
-
#: templates/debug/api-calls.php:77
|
2066 |
-
msgid "End"
|
2067 |
-
msgstr "終了"
|
2068 |
-
|
2069 |
-
#: templates/debug/logger.php:15
|
2070 |
-
msgid "Log"
|
2071 |
-
msgstr "グ"
|
2072 |
-
|
2073 |
-
#. translators: %s: time period (e.g. In "2 hours")
|
2074 |
-
#: templates/debug/plugins-themes-sync.php18,
|
2075 |
-
#: templates/debug/scheduled-crons.php:91
|
2076 |
-
msgid "In %s"
|
2077 |
-
msgstr "%s 内"
|
2078 |
-
|
2079 |
-
#. translators: %s: time period (e.g. "2 hours" ago)
|
2080 |
-
#: templates/debug/plugins-themes-sync.php20,
|
2081 |
-
#: templates/debug/scheduled-crons.php:93
|
2082 |
-
msgid "%s ago"
|
2083 |
-
msgstr "%s 前"
|
2084 |
-
|
2085 |
-
#: templates/debug/plugins-themes-sync.php21,
|
2086 |
-
#: templates/debug/scheduled-crons.php:74
|
2087 |
-
msgctxt "seconds"
|
2088 |
-
msgid "sec"
|
2089 |
-
msgstr "秒"
|
2090 |
-
|
2091 |
-
#: templates/debug/plugins-themes-sync.php:23
|
2092 |
-
msgid "Plugins & Themes Sync"
|
2093 |
-
msgstr "プラグインとテーマを同期"
|
2094 |
-
|
2095 |
-
#: templates/debug/plugins-themes-sync.php:28
|
2096 |
-
msgid "Total"
|
2097 |
-
msgstr "トータル"
|
2098 |
-
|
2099 |
-
#: templates/debug/plugins-themes-sync.php29,
|
2100 |
-
#: templates/debug/scheduled-crons.php:84
|
2101 |
-
msgid "Last"
|
2102 |
-
msgstr "最終"
|
2103 |
-
|
2104 |
-
#: templates/debug/scheduled-crons.php:76
|
2105 |
-
msgid "Scheduled Crons"
|
2106 |
-
msgstr "スケジュール Cron"
|
2107 |
-
|
2108 |
-
#: templates/debug/scheduled-crons.php:81
|
2109 |
-
msgid "Module"
|
2110 |
-
msgstr "モジュール"
|
2111 |
-
|
2112 |
-
#: templates/debug/scheduled-crons.php:82
|
2113 |
-
msgid "Module Type"
|
2114 |
-
msgstr "モジュールタイプ"
|
2115 |
-
|
2116 |
-
#: templates/debug/scheduled-crons.php:83
|
2117 |
-
msgid "Cron Type"
|
2118 |
-
msgstr "Cron タイプ"
|
2119 |
-
|
2120 |
-
#: templates/debug/scheduled-crons.php:85
|
2121 |
-
msgid "Next"
|
2122 |
-
msgstr "次"
|
2123 |
-
|
2124 |
-
#: templates/forms/affiliation.php:82
|
2125 |
-
msgid "Non-expiring"
|
2126 |
-
msgstr "期限のない"
|
2127 |
-
|
2128 |
-
#: templates/forms/affiliation.php:85
|
2129 |
-
msgid "Apply to become an affiliate"
|
2130 |
-
msgstr "アフィリエイトに応募する"
|
2131 |
-
|
2132 |
-
#: templates/forms/affiliation.php:104
|
2133 |
-
msgid "Your affiliate application for %s has been accepted! Log in to your affiliate area at: %s."
|
2134 |
-
msgstr "%sのアフィリエイト申請は受理されました! 次のリンクからアフィリエイトエリアにログインしてください:%s"
|
2135 |
-
|
2136 |
-
#: templates/forms/affiliation.php:119
|
2137 |
-
msgid "Thank you for applying for our affiliate program, we'll review your details during the next 14 days and will get back to you with further information."
|
2138 |
-
msgstr "アフィリエイトプログラムに応募いただきありがとうございます。14日以内にお申し込み詳細をレビューし、改めてご連絡いたします。"
|
2139 |
-
|
2140 |
-
#: templates/forms/affiliation.php:122
|
2141 |
-
msgid "Your affiliation account was temporarily suspended."
|
2142 |
-
msgstr "アフィリエイトアカウントは一時的に停止されました。"
|
2143 |
-
|
2144 |
-
#: templates/forms/affiliation.php:125
|
2145 |
-
msgid "Thank you for applying for our affiliate program, unfortunately, we've decided at this point to reject your application. Please try again in 30 days."
|
2146 |
-
msgstr "アフィリエイトアカウントに応募いただきありがとうございます。残念ながら現時点では申請を受理することができませんでした。30日後に改めてお申込みください。"
|
2147 |
-
|
2148 |
-
#: templates/forms/affiliation.php:128
|
2149 |
-
msgid "Due to violation of our affiliation terms, we decided to temporarily block your affiliation account. If you have any questions, please contact support."
|
2150 |
-
msgstr "アフィリエイト規約違反により、アフィリエイトアカウントを一時的に凍結させていただきました。ご質問等がありましたら、サポートにお問い合わせください。"
|
2151 |
-
|
2152 |
-
#: templates/forms/affiliation.php:141
|
2153 |
-
msgid "Like the %s? Become our ambassador and earn cash ;-)"
|
2154 |
-
msgstr "%sは気に入りましたか? アンバサダーになって報酬を得ましょう ;-)"
|
2155 |
-
|
2156 |
-
#: templates/forms/affiliation.php:142
|
2157 |
-
msgid "Refer new customers to our %s and earn %s commission on each successful sale you refer!"
|
2158 |
-
msgstr "新規カスタマーに私たちの%sを紹介して、売り上げごとに%sのコミッションを得ましょう"
|
2159 |
-
|
2160 |
-
#: templates/forms/affiliation.php:145
|
2161 |
-
msgid "Program Summary"
|
2162 |
-
msgstr "プログラム概要"
|
2163 |
-
|
2164 |
-
#: templates/forms/affiliation.php:147
|
2165 |
-
msgid "%s commission when a customer purchases a new license."
|
2166 |
-
msgstr "カスタマーが新規ライセンスを購入するごとに%sのコミッションが発生します。"
|
2167 |
-
|
2168 |
-
#: templates/forms/affiliation.php:149
|
2169 |
-
msgid "Get commission for automated subscription renewals."
|
2170 |
-
msgstr "サブスクリプションの自動更新でコミッションを得ましょう。"
|
2171 |
-
|
2172 |
-
#: templates/forms/affiliation.php:152
|
2173 |
-
msgid "%s tracking cookie after the first visit to maximize earnings potential."
|
2174 |
-
msgstr "%s初回の訪問後、クッキーをトラッキングして収益の可能性を最大化しましょう。"
|
2175 |
-
|
2176 |
-
#: templates/forms/affiliation.php:155
|
2177 |
-
msgid "Unlimited commissions."
|
2178 |
-
msgstr "無制限のコミッション。"
|
2179 |
-
|
2180 |
-
#: templates/forms/affiliation.php:157
|
2181 |
-
msgid "%s minimum payout amount."
|
2182 |
-
msgstr "%sお支払いの最低金額"
|
2183 |
-
|
2184 |
-
#: templates/forms/affiliation.php:158
|
2185 |
-
msgid "Payouts are in USD and processed monthly via PayPal."
|
2186 |
-
msgstr "お支払いは USD かつ PayPal 経由で毎月行われます。"
|
2187 |
-
|
2188 |
-
#: templates/forms/affiliation.php:159
|
2189 |
-
msgid "As we reserve 30 days for potential refunds, we only pay commissions that are older than 30 days."
|
2190 |
-
msgstr "30日間の返金期間があるため、コミッションのお支払いは30日以降になります。"
|
2191 |
-
|
2192 |
-
#: templates/forms/affiliation.php:162
|
2193 |
-
msgid "Affiliate"
|
2194 |
-
msgstr "アフィリエイト"
|
2195 |
-
|
2196 |
-
#: templates/forms/affiliation.php165, templates/forms/resend-key.php:23
|
2197 |
-
msgid "Email address"
|
2198 |
-
msgstr "メールアドレス"
|
2199 |
-
|
2200 |
-
#: templates/forms/affiliation.php:169
|
2201 |
-
msgid "Full name"
|
2202 |
-
msgstr "フルネーム"
|
2203 |
-
|
2204 |
-
#: templates/forms/affiliation.php:173
|
2205 |
-
msgid "PayPal account email address"
|
2206 |
-
msgstr "PayPal アカウントのメールアドレス"
|
2207 |
-
|
2208 |
-
#: templates/forms/affiliation.php:177
|
2209 |
-
msgid "Where are you going to promote the %s?"
|
2210 |
-
msgstr "%sのプロモーションを行うサイトはどこですか?"
|
2211 |
-
|
2212 |
-
#: templates/forms/affiliation.php:179
|
2213 |
-
msgid "Enter the domain of your website or other websites from where you plan to promote the %s."
|
2214 |
-
msgstr "%sのプロモーションを行う予定のあなたのサイトや他のサイトのドメイン名を入力してください。"
|
2215 |
-
|
2216 |
-
#: templates/forms/affiliation.php:181
|
2217 |
-
msgid "Add another domain"
|
2218 |
-
msgstr "ドメイン名を追加する"
|
2219 |
-
|
2220 |
-
#: templates/forms/affiliation.php:185
|
2221 |
-
msgid "Extra Domains"
|
2222 |
-
msgstr "追加のドメイン名"
|
2223 |
-
|
2224 |
-
#: templates/forms/affiliation.php:186
|
2225 |
-
msgid "Extra domains where you will be marketing the product from."
|
2226 |
-
msgstr "プロダクトフォームのマーケティングを行う追加ドメイン名。"
|
2227 |
-
|
2228 |
-
#: templates/forms/affiliation.php:196
|
2229 |
-
msgid "Promotion methods"
|
2230 |
-
msgstr "プロモーション方法"
|
2231 |
-
|
2232 |
-
#: templates/forms/affiliation.php:199
|
2233 |
-
msgid "Social media (Facebook, Twitter, etc.)"
|
2234 |
-
msgstr "ソーシャルメディア(Facebook、Twitter、その他)"
|
2235 |
-
|
2236 |
-
#: templates/forms/affiliation.php:203
|
2237 |
-
msgid "Mobile apps"
|
2238 |
-
msgstr "モバイルアプリケーション"
|
2239 |
-
|
2240 |
-
#: templates/forms/affiliation.php:207
|
2241 |
-
msgid "Website, email, and social media statistics (optional)"
|
2242 |
-
msgstr "ウェブサイト、Email またはソーシャルメディアの統計 (オプション)"
|
2243 |
-
|
2244 |
-
#: templates/forms/affiliation.php:210
|
2245 |
-
msgid "Please feel free to provide any relevant website or social media statistics, e.g. monthly unique site visits, number of email subscribers, followers, etc. (we will keep this information confidential)."
|
2246 |
-
msgstr "関係のあるウェブサイトやソーシャルメディアの統計を提供してください。例: サイトの月間訪問者数、Emailの購読者数、フォロワー数等 (機密情報として取り扱います)"
|
2247 |
-
|
2248 |
-
#: templates/forms/affiliation.php:214
|
2249 |
-
msgid "How will you promote us?"
|
2250 |
-
msgstr "どのように我々をプロモートしますか?"
|
2251 |
-
|
2252 |
-
#: templates/forms/affiliation.php:217
|
2253 |
-
msgid "Please provide details on how you intend to promote %s (please be as specific as possible)."
|
2254 |
-
msgstr "どのように%sをプロモートするつもりなのか、詳細をお知らせください (できるだけ具体的にお願いします)"
|
2255 |
-
|
2256 |
-
#: templates/forms/affiliation.php223, templates/forms/resend-key.php:22
|
2257 |
-
msgid "Cancel"
|
2258 |
-
msgstr "キャンセル"
|
2259 |
-
|
2260 |
-
#: templates/forms/affiliation.php:225
|
2261 |
-
msgid "Become an affiliate"
|
2262 |
-
msgstr "アフィリエイトになる"
|
2263 |
-
|
2264 |
-
#: templates/forms/license-activation.php:21
|
2265 |
-
msgid "Please enter the license key that you received in the email right after the purchase:"
|
2266 |
-
msgstr "購入後すぐにメールで受け取ったライセンスキーを入力してください:"
|
2267 |
-
|
2268 |
-
#: templates/forms/license-activation.php:26
|
2269 |
-
msgid "Update License"
|
2270 |
-
msgstr "ライセンスを更新"
|
2271 |
-
|
2272 |
-
#: templates/forms/optout.php:30
|
2273 |
-
msgctxt "verb"
|
2274 |
-
msgid "Opt Out"
|
2275 |
-
msgstr "オプトアウト"
|
2276 |
-
|
2277 |
-
#: templates/forms/optout.php:31
|
2278 |
-
msgctxt "verb"
|
2279 |
-
msgid "Opt In"
|
2280 |
-
msgstr "オプトイン"
|
2281 |
-
|
2282 |
-
#: templates/forms/optout.php:33
|
2283 |
-
msgid "Usage tracking is done in the name of making %s better. Making a better user experience, prioritizing new features, and more good things. We'd really appreciate if you'll reconsider letting us continue with the tracking."
|
2284 |
-
msgstr "使用の追跡は %s をより良くする名目の下に行われています。ユーザー体験をより良くし、新機能に優先順位をつけるためなどに使います。追跡を続けてもよいと再考してくれるなら本当に感謝致します。"
|
2285 |
-
|
2286 |
-
#: templates/forms/optout.php:35
|
2287 |
-
msgid "By clicking \"Opt Out\", we will no longer be sending any data from %s to %s."
|
2288 |
-
msgstr "\"オプトアウト\"をクリックすることで、もう %s から %s へのデータの送信は行いません。"
|
2289 |
-
|
2290 |
-
#: templates/forms/premium-versions-upgrade-handler.php:40
|
2291 |
-
msgid "There is a new version of %s available."
|
2292 |
-
msgstr "%sの入手可能な新しいバージョンがあります"
|
2293 |
-
|
2294 |
-
#: templates/forms/premium-versions-upgrade-handler.php:41
|
2295 |
-
msgid " %s to access version %s security & feature updates, and support."
|
2296 |
-
msgstr " %s to access version %s security & feature updates, and support."
|
2297 |
-
|
2298 |
-
#: templates/forms/premium-versions-upgrade-handler.php:54
|
2299 |
-
msgid "New Version Available"
|
2300 |
-
msgstr "新しいバージョンがあります"
|
2301 |
-
|
2302 |
-
#: templates/forms/premium-versions-upgrade-handler.php:75
|
2303 |
-
msgctxt "close a window"
|
2304 |
-
msgid "Dismiss"
|
2305 |
-
msgstr "却下"
|
2306 |
-
|
2307 |
-
#: templates/forms/resend-key.php:21
|
2308 |
-
msgid "Send License Key"
|
2309 |
-
msgstr "ライセンスキーを送信"
|
2310 |
-
|
2311 |
-
#: templates/forms/resend-key.php:57
|
2312 |
-
msgid "Enter the email address you've used for the upgrade below and we will resend you the license key."
|
2313 |
-
msgstr "アップグレードに使用したメールアドレスを下に入力してください。そうすれば、ライセンスキーをお送りします。"
|
2314 |
-
|
2315 |
-
#: templates/forms/subscription-cancellation.php:37
|
2316 |
-
msgid "Deactivating or uninstalling the %s will automatically disable the license, which you'll be able to use on another site."
|
2317 |
-
msgstr "Deactivating or uninstalling the %s will automatically disable the license, which you'll be able to use on another site."
|
2318 |
-
|
2319 |
-
#: templates/forms/subscription-cancellation.php:47
|
2320 |
-
msgid "In case you are NOT planning on using this %s on this site (or any other site) - would you like to cancel the %s as well?"
|
2321 |
-
msgstr "In case you are NOT planning on using this %s on this site (or any other site) - would you like to cancel the %s as well?"
|
2322 |
-
|
2323 |
-
#: templates/forms/subscription-cancellation.php:52
|
2324 |
-
msgid "license"
|
2325 |
-
msgstr "license"
|
2326 |
-
|
2327 |
-
#: templates/forms/subscription-cancellation.php:57
|
2328 |
-
msgid "Cancel %s - I no longer need any security & feature updates, nor support for %s because I'm not planning to use the %s on this, or any other site."
|
2329 |
-
msgstr "Cancel %s - I no longer need any security & feature updates, nor support for %s because I'm not planning to use the %s on this, or any other site."
|
2330 |
-
|
2331 |
-
#: templates/forms/subscription-cancellation.php:68
|
2332 |
-
msgid "Don't cancel %s - I'm still interested in getting security & feature updates, as well as be able to contact support."
|
2333 |
-
msgstr "Don't cancel %s - I'm still interested in getting security & feature updates, as well as be able to contact support."
|
2334 |
-
|
2335 |
-
#. translators: %1$s: Either 'Downgrading your plan' or 'Cancelling the
|
2336 |
-
#. subscription'
|
2337 |
-
#: templates/forms/subscription-cancellation.php99,
|
2338 |
-
#: templates/account/partials/addon.php29,
|
2339 |
-
#: templates/account/partials/site.php:298
|
2340 |
-
msgid "%1$s will immediately stop all future recurring payments and your %s plan license will expire in %s."
|
2341 |
-
msgstr "%1$s will immediately stop all future recurring payments and your %s plan license will expire in %s."
|
2342 |
-
|
2343 |
-
#: templates/forms/subscription-cancellation.php:103
|
2344 |
-
msgid "Once your license expires you will no longer be able to use the %s, unless you activate it again with a valid premium license."
|
2345 |
-
msgstr "Once your license expires you will no longer be able to use the %s, unless you activate it again with a valid premium license."
|
2346 |
-
|
2347 |
-
#: templates/forms/subscription-cancellation.php:136
|
2348 |
-
msgid "Cancel %s?"
|
2349 |
-
msgstr "Cancel %s?"
|
2350 |
-
|
2351 |
-
#: templates/forms/subscription-cancellation.php:143
|
2352 |
-
msgid "Proceed"
|
2353 |
-
msgstr "Proceed"
|
2354 |
-
|
2355 |
-
#: templates/forms/subscription-cancellation.php191,
|
2356 |
-
#: templates/forms/deactivation/form.php:171
|
2357 |
-
msgid "Cancel %s & Proceed"
|
2358 |
-
msgstr "Cancel %s & Proceed"
|
2359 |
-
|
2360 |
-
#: templates/forms/trial-start.php:22
|
2361 |
-
msgid "You are 1-click away from starting your %1$s-day free trial of the %2$s plan."
|
2362 |
-
msgstr "%2$s プランの%1$s日間のフリートライアルを開始するまであとワンクリックです。"
|
2363 |
-
|
2364 |
-
#: templates/forms/trial-start.php:28
|
2365 |
-
msgid "For compliance with the WordPress.org guidelines, before we start the trial we ask that you opt in with your user and non-sensitive site information, allowing the %s to periodically send data to %s to check for version updates and to validate your trial."
|
2366 |
-
msgstr "WordPress.orgのガイドラインに準拠するため、トライアルを開始する前に、ユーザーと重要でないサイト情報のオプトイン、更新の確認やトライアルの状態確認のために%sが%sに対して定期的にデータを送信する許可を得るように設定してください。"
|
2367 |
-
|
2368 |
-
#: templates/js/style-premium-theme.php:39
|
2369 |
-
msgid "Premium"
|
2370 |
-
msgstr "プレミアム"
|
2371 |
-
|
2372 |
-
#: templates/js/style-premium-theme.php:42
|
2373 |
-
msgid "Beta"
|
2374 |
-
msgstr "Beta"
|
2375 |
-
|
2376 |
-
#: templates/partials/network-activation.php:27
|
2377 |
-
msgid "Activate license on all sites in the network."
|
2378 |
-
msgstr "ネットワーク上にあるすべてのサイトのライセンスを有効にする。"
|
2379 |
-
|
2380 |
-
#: templates/partials/network-activation.php:28
|
2381 |
-
msgid "Apply on all sites in the network."
|
2382 |
-
msgstr "ネットワーク上にあるすべてのサイトに対して反映させる。"
|
2383 |
-
|
2384 |
-
#: templates/partials/network-activation.php:31
|
2385 |
-
msgid "Activate license on all pending sites."
|
2386 |
-
msgstr "保留中のサイトすべてでライセンスを有効にする。"
|
2387 |
-
|
2388 |
-
#: templates/partials/network-activation.php:32
|
2389 |
-
msgid "Apply on all pending sites."
|
2390 |
-
msgstr "保留中のサイトすべてに反映させる。"
|
2391 |
-
|
2392 |
-
#: templates/partials/network-activation.php40,
|
2393 |
-
#: templates/partials/network-activation.php:74
|
2394 |
-
msgid "allow"
|
2395 |
-
msgstr "許可"
|
2396 |
-
|
2397 |
-
#: templates/partials/network-activation.php43,
|
2398 |
-
#: templates/partials/network-activation.php:77
|
2399 |
-
msgid "delegate"
|
2400 |
-
msgstr "代表"
|
2401 |
-
|
2402 |
-
#: templates/partials/network-activation.php47,
|
2403 |
-
#: templates/partials/network-activation.php:81
|
2404 |
-
msgid "skip"
|
2405 |
-
msgstr "スキップ"
|
2406 |
-
|
2407 |
-
#: templates/plugin-info/description.php72,
|
2408 |
-
#: templates/plugin-info/screenshots.php:31
|
2409 |
-
msgid "Click to view full-size screenshot %d"
|
2410 |
-
msgstr "クリックしてフルサイズのスクリーンショットを見る %d"
|
2411 |
-
|
2412 |
-
#: templates/plugin-info/features.php:56
|
2413 |
-
msgid "Unlimited Updates"
|
2414 |
-
msgstr "無制限のアップデート"
|
2415 |
-
|
2416 |
-
#: templates/account/partials/activate-license-button.php:46
|
2417 |
-
msgid "Localhost"
|
2418 |
-
msgstr "localhost"
|
2419 |
-
|
2420 |
-
#: templates/account/partials/activate-license-button.php:50
|
2421 |
-
msgctxt "as 5 licenses left"
|
2422 |
-
msgid "%s left"
|
2423 |
-
msgstr "あと %s"
|
2424 |
-
|
2425 |
-
#: templates/account/partials/activate-license-button.php:51
|
2426 |
-
msgid "Last license"
|
2427 |
-
msgstr "最新のライセンス"
|
2428 |
-
|
2429 |
-
#: templates/account/partials/addon.php:167
|
2430 |
-
msgid "Cancelled"
|
2431 |
-
msgstr "キャンセル"
|
2432 |
-
|
2433 |
-
#: templates/account/partials/addon.php:177
|
2434 |
-
msgid "No expiration"
|
2435 |
-
msgstr "有効期限なし"
|
2436 |
-
|
2437 |
-
#: templates/account/partials/site.php:181
|
2438 |
-
msgid "Owner Name"
|
2439 |
-
msgstr "所有者名"
|
2440 |
-
|
2441 |
-
#: templates/account/partials/site.php:193
|
2442 |
-
msgid "Owner Email"
|
2443 |
-
msgstr "所有者の Email"
|
2444 |
-
|
2445 |
-
#: templates/account/partials/site.php:205
|
2446 |
-
msgid "Owner ID"
|
2447 |
-
msgstr "オーナー ID"
|
2448 |
-
|
2449 |
-
#: templates/account/partials/site.php:270
|
2450 |
-
msgid "Subscription"
|
2451 |
-
msgstr "サブスクリプション"
|
2452 |
-
|
2453 |
-
#: templates/forms/deactivation/contact.php:19
|
2454 |
-
msgid "Sorry for the inconvenience and we are here to help if you give us a chance."
|
2455 |
-
msgstr "ご迷惑をおかけしてすいません。もし機会をいただけたらお手伝いをします。"
|
2456 |
-
|
2457 |
-
#: templates/forms/deactivation/contact.php:22
|
2458 |
-
msgid "Contact Support"
|
2459 |
-
msgstr "サポートに連絡"
|
2460 |
-
|
2461 |
-
#: templates/forms/deactivation/form.php:64
|
2462 |
-
msgid "Anonymous feedback"
|
2463 |
-
msgstr "匿名のフィードバック"
|
2464 |
-
|
2465 |
-
#: templates/forms/deactivation/form.php:70
|
2466 |
-
msgid "Deactivate"
|
2467 |
-
msgstr "無効化"
|
2468 |
-
|
2469 |
-
#: templates/forms/deactivation/form.php:72
|
2470 |
-
msgid "Activate %s"
|
2471 |
-
msgstr "%sを有効化する"
|
2472 |
-
|
2473 |
-
#: templates/forms/deactivation/form.php:87
|
2474 |
-
msgid "Quick Feedback"
|
2475 |
-
msgstr "Quick Feedback"
|
2476 |
-
|
2477 |
-
#: templates/forms/deactivation/form.php:91
|
2478 |
-
msgid "If you have a moment, please let us know why you are %s"
|
2479 |
-
msgstr "お時間があれば、なぜ%sするのか理由を教えてください。"
|
2480 |
-
|
2481 |
-
#: templates/forms/deactivation/form.php:91
|
2482 |
-
msgid "deactivating"
|
2483 |
-
msgstr "無効化中"
|
2484 |
-
|
2485 |
-
#: templates/forms/deactivation/form.php:91
|
2486 |
-
msgid "switching"
|
2487 |
-
msgstr "変更中"
|
2488 |
-
|
2489 |
-
#: templates/forms/deactivation/form.php:365
|
2490 |
-
msgid "Submit & %s"
|
2491 |
-
msgstr "送信と%s"
|
2492 |
-
|
2493 |
-
#: templates/forms/deactivation/form.php:386
|
2494 |
-
msgid "Kindly tell us the reason so we can improve."
|
2495 |
-
msgstr "改善できるよう、どうか理由を教えてください。"
|
2496 |
-
|
2497 |
-
#: templates/forms/deactivation/form.php:511
|
2498 |
-
msgid "Yes - %s"
|
2499 |
-
msgstr "はい"
|
2500 |
-
|
2501 |
-
#: templates/forms/deactivation/form.php:518
|
2502 |
-
msgid "Skip & %s"
|
2503 |
-
msgstr "スキップと%s"
|
2504 |
-
|
2505 |
-
#: templates/forms/deactivation/retry-skip.php:21
|
2506 |
-
msgid "Click here to use the plugin anonymously"
|
2507 |
-
msgstr "匿名でプラグインを使用するにはこちらをクリック"
|
2508 |
-
|
2509 |
-
#: templates/forms/deactivation/retry-skip.php:23
|
2510 |
-
msgid "You might have missed it, but you don't have to share any data and can just %s the opt-in."
|
2511 |
-
msgstr "見逃していたかもしれませんが、どんな情報も共有する必要はなく、オプトインを $s することができます。 "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wp-security-audit-log.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin URI: http://wpactivitylog.com/
|
5 |
* Description: Identify WordPress security issues before they become a problem. Keep track of everything happening on your WordPress including WordPress users activity. Similar to Windows Event Log and Linux Syslog, WP Activity Log generates a security alert for everything that happens on your WordPress blogs and websites. Use the Activity log viewer included in the plugin to see all the security alerts.
|
6 |
* Author: WP White Security
|
7 |
-
* Version: 4.1.3
|
8 |
* Text Domain: wp-security-audit-log
|
9 |
* Author URI: http://www.wpwhitesecurity.com/
|
10 |
* License: GPL2
|
@@ -46,7 +46,7 @@ if ( ! function_exists( 'wsal_freemius' ) ) {
|
|
46 |
*
|
47 |
* @var string
|
48 |
*/
|
49 |
-
public $version = '4.1.3';
|
50 |
|
51 |
/**
|
52 |
* Plugin constants.
|
4 |
* Plugin URI: http://wpactivitylog.com/
|
5 |
* Description: Identify WordPress security issues before they become a problem. Keep track of everything happening on your WordPress including WordPress users activity. Similar to Windows Event Log and Linux Syslog, WP Activity Log generates a security alert for everything that happens on your WordPress blogs and websites. Use the Activity log viewer included in the plugin to see all the security alerts.
|
6 |
* Author: WP White Security
|
7 |
+
* Version: 4.1.3.1
|
8 |
* Text Domain: wp-security-audit-log
|
9 |
* Author URI: http://www.wpwhitesecurity.com/
|
10 |
* License: GPL2
|
46 |
*
|
47 |
* @var string
|
48 |
*/
|
49 |
+
public $version = '4.1.3.1';
|
50 |
|
51 |
/**
|
52 |
* Plugin constants.
|