Smart Floating / Sticky Buttons – Call, Sharing, Chat Widgets & More – Buttonizer - Version 2.6.2

Version Description

Release date: February 17, 2022

Changelog: - Changed the design of the "Add button" in between the buttons to make more space in the overview - Click to test button action has been changed to SHIFT + click for a better user experience - Added a message when a user is using both the WordPress version of Buttonizer and the standalone version to prevent crashes - Updated the clipboard button action to include queries - More UI improvements

If you experience bugs, problems or you just have some feedback, let us know on our Buttonizer community!

Download this release

Release Info

Developer buttonizer
Plugin Icon wp plugin Smart Floating / Sticky Buttons – Call, Sharing, Chat Widgets & More – Buttonizer
Version 2.6.2
Comparing to
See all releases

Code changes from version 2.6.1 to 2.6.2

app/Admin/Translations.php DELETED
@@ -1,1882 +0,0 @@
1
- <?php
2
- /*
3
- * SOFTWARE LICENSE INFORMATION
4
- *
5
- * Copyright (c) 2017 Buttonizer, all rights reserved.
6
- *
7
- * This file is part of Buttonizer
8
- *
9
- * For detailed information regarding to the licensing of
10
- * this software, please review the license.txt or visit:
11
- * https://buttonizer.pro/license/
12
- *
13
- * Buttonizer translations
14
- */
15
-
16
- namespace Buttonizer\Admin;
17
-
18
- class Translations
19
- {
20
- public function get()
21
- {
22
- return [
23
- 'errors' => $this->errors(),
24
- 'templates' => $this->templates(),
25
- 'warnings' => $this->warnings(),
26
- 'common' => $this->common(),
27
- 'loading' => $this->loading(),
28
- 'utils' => $this->utils(),
29
- 'event_tracker' => $this->eventTracker(),
30
- 'modal' => $this->modal(),
31
- 'saving' => $this->saving(),
32
- 'revert' => $this->reverting(),
33
- 'welcome' => $this->welcome(),
34
- 'buttonizer_tour' => $this->buttonizer_tour(),
35
- 'import_export' => $this->import_export(),
36
- 'settings' => $this->settings(),
37
- 'settings_window' => $this->settings_window(),
38
- 'bar' => $this->bar(),
39
- 'migration_modal' => $this->migration(),
40
- 'premium' => $this->premium(),
41
- 'page_rules' => $this->page_rules(),
42
- 'time_schedules' => $this->time_schedules(),
43
- 'random_tips' => $this->random_tips()
44
- ];
45
- }
46
-
47
- /**
48
- * Errors
49
- *
50
- * @return array
51
- */
52
- private function errors()
53
- {
54
- return [
55
- 'fatal' => __('Oh, that was not what we were expecting! Something went wrong.', 'buttonizer-multifunctional-button'),
56
-
57
- // Custom javascript error
58
- 'custom_javascript' => [
59
- 'title' => __('Custom javascript error', 'buttonizer-multifunctional-button'),
60
- 'message' => __('Your custom javascript ran into an error. Read the error below:', 'buttonizer-multifunctional-button')
61
- ],
62
-
63
- // Saving error
64
- 'saving' => [
65
- 'title' => __('Could not save settings', 'buttonizer-multifunctional-button'),
66
- 'message' => __('Something went wrong while saving your settings:', 'buttonizer-multifunctional-button')
67
- ],
68
-
69
- // Forms
70
- 'forms' => [
71
- 'only_numbers' => __('Only numbers allowed.', 'buttonizer-multifunctional-button'),
72
- 'only_numbers_info' => __('For this input, only positive numbers are allowed.', 'buttonizer-multifunctional-button'),
73
- ],
74
-
75
- 'permalink' => [
76
- 'title' => __('Permalink Error', 'buttonizer-multifunctional-button'),
77
- 'info' => __('Buttonizer\'s requests will not work when using plain permalink. To use Buttonizer, use a custom permalink', 'buttonizer-multifunctional-button'),
78
- ]
79
- ];
80
- }
81
-
82
- /**
83
- * Templates
84
- *
85
- * @return array
86
- */
87
- private function templates() {
88
- return [
89
- 'all_templates_description' => __('Please note that you can still customize the button to your own wishes after inserting it', 'buttonizer-multifunctional-button'),
90
-
91
- 'number_of_buttons' => __('Number of buttons', 'buttonizer-multifunctional-button'),
92
-
93
- 'select' => __('Select', 'buttonizer-multifunctional-button'),
94
- 'selected' => __('Selected', 'buttonizer-multifunctional-button'),
95
-
96
- 'insert' => __('Insert', 'buttonizer-multifunctional-button'),
97
-
98
- 'default_button' => __('Default button', 'buttonizer-multifunctional-button'),
99
- 'default_group' => __('Default group', 'buttonizer-multifunctional-button'),
100
-
101
- 'framedesign' => [
102
- 'label' => __('Framedesign', 'buttonizer-multifunctional-button'),
103
- ],
104
-
105
- 'popular_actions' => [
106
- 'label' => __('Popular actions', 'buttonizer-multifunctional-button'),
107
- ],
108
- ];
109
- }
110
-
111
- /**
112
- * Warnings
113
- *
114
- * @return array
115
- */
116
- private function warnings()
117
- {
118
- return [
119
- 'invalid_email' => __('Invalid email address.', 'buttonizer-multifunctional-button'),
120
- 'invalid_phone_number' => __('Invalid phone number. Please only use number for your phone number. Omit any zeros, brackets or dashes when adding the phone number in international format.', 'buttonizer-multifunctional-button'),
121
- 'only_numbers' => __('This field only allows numbers.', 'buttonizer-multifunctional-button'),
122
- 'premium_license_free_version' => [
123
- 'title' => __('License activated', 'buttonizer-multifunctional-button'),
124
- 'information' => __('Please download and upload the premium version found in the email we have sent you to use all premium functions.', 'buttonizer-multifunctional-button'),
125
- ],
126
- 'php_version_outdated' => [
127
- 'title' => __('This PHP version is no longer supported', 'buttonizer-multifunctional-button'),
128
- 'information' => sprintf(
129
- // translators: %1$s will be the searchterm, %2$s is the amount of results that have been found
130
- __('Your current PHP version (%1$s) is no longer supported by Buttonizer as it will no longer receive security patches. Some features will not work. We recommend upgrading to the latest version.', 'buttonizer-multifunctional-button'),
131
- '{0}'
132
- ),
133
- ],
134
- 'unsaved_changes' => __('Are you sure you want to exit? Your changes have not been saved.', 'buttonizer-multifunctional-button')
135
- ];
136
- }
137
-
138
- /**
139
- * Common
140
- *
141
- * @return array
142
- */
143
- private function common()
144
- {
145
- return [
146
- 'button' => __('Button', 'buttonizer-multifunctional-button'),
147
- 'group' => __('Group', 'buttonizer-multifunctional-button'),
148
-
149
- 'settings' => __('Settings', 'buttonizer-multifunctional-button'),
150
-
151
- 'custom' => __('Custom', 'buttonizer-multifunctional-button'),
152
-
153
- 'confirm' => __('Confirm', 'buttonizer-multifunctional-button'),
154
- 'search' => __('Search', 'buttonizer-multifunctional-button'),
155
-
156
- 'skip' => __('Skip', 'buttonizer-multifunctional-button'),
157
-
158
- 'edit' => __('Edit', 'buttonizer-multifunctional-button'),
159
-
160
- 'type' => __('Type', 'buttonizer-multifunctional-button'),
161
-
162
- 'or' => __('or', 'buttonizer-multifunctional-button'),
163
-
164
- 'select' => __('Select', 'buttonizer-multifunctional-button'),
165
-
166
- 'learn_more' => __('Learn more', 'buttonizer-multifunctional-button'),
167
-
168
- 'off' => __('Off', 'buttonizer-multifunctional-button'),
169
-
170
- // Disabled
171
- 'disable' => __('Disable', 'buttonizer-multifunctional-button'),
172
- 'disabled' => __('Disabled', 'buttonizer-multifunctional-button'),
173
-
174
- // Save & publish
175
- 'save' => __('Save', 'buttonizer-multifunctional-button'),
176
- 'saving' => __('Saving', 'buttonizer-multifunctional-button'),
177
- 'saving_settings' => __('Saving settings', 'buttonizer-multifunctional-button'),
178
- 'save_and_close' => __('Save and close', 'buttonizer-multifunctional-button'),
179
-
180
- 'publish' => __('Publish', 'buttonizer-multifunctional-button'),
181
- 'published' => __('Published', 'buttonizer-multifunctional-button'),
182
- 'publishing' => __('Publishing...', 'buttonizer-multifunctional-button'),
183
-
184
- // Warning
185
- 'warning' => __('Warning', 'buttonizer-multifunctional-button'),
186
-
187
- 'next' => __('Next', 'buttonizer-multifunctional-button'),
188
- 'previous' => __('Previous', 'buttonizer-multifunctional-button'),
189
-
190
- // translators: The button to save and publish the changes that were made
191
- 'save_publish' => __('Save & publish', 'buttonizer-multifunctional-button'),
192
- ];
193
- }
194
-
195
- /**
196
- * Loading
197
- *
198
- * @return array
199
- */
200
- private function loading()
201
- {
202
- return [
203
- 'loading' => __('Loading...', 'buttonizer-multifunctional-button'),
204
- 'settings' => __('Loading settings...', 'buttonizer-multifunctional-button'),
205
- 'bar' => __('Building bar...', 'buttonizer-multifunctional-button'),
206
- 'website' => __('Waiting for your website...', 'buttonizer-multifunctional-button'),
207
- 'website_slow' => __('It\'s taking longer than usual, slow website?', 'buttonizer-multifunctional-button'),
208
- 'website_skip' => __('Skip this step', 'buttonizer-multifunctional-button'),
209
- 'initializing' => __('Initializing...', 'buttonizer-multifunctional-button'),
210
- 'resetting' => __('Resetting...', 'buttonizer-multifunctional-button'),
211
- 'running_migration' => __('Running migration...', 'buttonizer-multifunctional-button'),
212
- // translators: Finishing as in 'Cleaning up files'
213
- 'finishing' => __('Finishing...', 'buttonizer-multifunctional-button')
214
- ];
215
- }
216
-
217
- /**
218
- * Utils
219
- *
220
- * @return array
221
- */
222
- private function utils()
223
- {
224
- return [
225
- 'add_button' => __('Add button', 'buttonizer-multifunctional-button'),
226
- 'add_group' => __('Add group', 'buttonizer-multifunctional-button'),
227
- 'create_group' => __('Create new group', 'buttonizer-multifunctional-button'),
228
-
229
- 'shift_click' => __('Shift + Click to skip dialog', 'buttonizer-multifunctional-button'),
230
-
231
- // New button and new group
232
- 'new_button' => __('New button', 'buttonizer-multifunctional-button'),
233
- 'new_group' => __('New group', 'buttonizer-multifunctional-button'),
234
-
235
- // Advanced button/group settings
236
- 'style' => __('Style', 'buttonizer-multifunctional-button'),
237
- 'advanced' => __('Advanced', 'buttonizer-multifunctional-button'),
238
-
239
- 'text' => __('Text', 'buttonizer-multifunctional-button'),
240
- // translators: Base is meant as default state of the button (not hovering or clicking)
241
- 'base' => __('Base', 'buttonizer-multifunctional-button'),
242
- 'icon' => __('Icon', 'buttonizer-multifunctional-button'),
243
- 'color' => __('Color', 'buttonizer-multifunctional-button'),
244
-
245
- // Image strings
246
- 'image' => __('Image', 'buttonizer-multifunctional-button'),
247
- 'image_url' => __('Image URL', 'buttonizer-multifunctional-button'),
248
- 'select_image' => __('Select image', 'buttonizer-multifunctional-button'),
249
- 'change_image' => __('Change image', 'buttonizer-multifunctional-button'),
250
- 'select_file' => __('Select file', 'buttonizer-multifunctional-button'),
251
- 'change_file' => __('Change file', 'buttonizer-multifunctional-button'),
252
- 'remove_image' => __('Click to remove this image', 'buttonizer-multifunctional-button'),
253
-
254
- // First and second button
255
- 'first_button' => __('First button', 'buttonizer-multifunctional-button'),
256
- 'second_button' => __('Second button', 'buttonizer-multifunctional-button'),
257
-
258
- // Rename
259
- 'rename' => __('Rename', 'buttonizer-multifunctional-button'),
260
- 'rename_to' => __('Rename to:', 'buttonizer-multifunctional-button'),
261
-
262
- // Delete
263
- 'delete' => __('Delete', 'buttonizer-multifunctional-button'),
264
- 'clear' => __('Clear', 'buttonizer-multifunctional-button'),
265
-
266
- // Duplicate
267
- 'duplicate' => __('Duplicate', 'buttonizer-multifunctional-button'),
268
-
269
- // translators: This string will be used to replace %s in 'Are you very sure you want to remove this %s?'
270
- 'lowercase_page_rule' => __('page rule', 'buttonizer-multifunctional-button'),
271
- // translators: This string will be used to replace %s in 'Are you very sure you want to remove this %s?'
272
- 'lowercase_time_schedule' => __('time schedule', 'buttonizer-multifunctional-button'),
273
-
274
- // translators: Interaction is meant as hover/click state
275
- 'interaction' => __('Interaction', 'buttonizer-multifunctional-button'),
276
-
277
- // translators: Background as in background color
278
- 'background' => __('Background', 'buttonizer-multifunctional-button'),
279
-
280
- // Tips & tricks
281
- 'tips_tricks' => __('Need help? Quick-start, tips & tricks', 'buttonizer-multifunctional-button'),
282
- 'visit_knowledgebase' => __('Need help? Visit our knowledge base!', 'buttonizer-multifunctional-button'),
283
-
284
- 'search_not_found' => __('Nothing found for:', 'buttonizer-multifunctional-button'),
285
-
286
- 'icon_selector' => [
287
- 'title' => __('Icon selector', 'buttonizer-multifunctional-button'),
288
- 'search_icon' => __('Search icon', 'buttonizer-multifunctional-button'),
289
- 'loading' => __('Loading icons, please wait...', 'buttonizer-multifunctional-button'),
290
- 'searching_for' => sprintf(
291
- // translators: %1$s will be the searchterm, %2$s is the amount of results that have been found
292
- __('Searching for: %1$s, found %2$s results.', 'buttonizer-multifunctional-button'),
293
- '<b>{0}</b>', '<b>{1}</b>'),
294
- 'found' => sprintf(
295
- __('Your search found %1$s results.', 'buttonizer-multifunctional-button'),
296
- '<b>{1}</b>'),
297
- 'remove_filter' => __('Remove filter', 'buttonizer-multifunctional-button'),
298
- ],
299
-
300
- 'templates' => [
301
- 'found' => sprintf(
302
- __('Your search returned %1$s results.', 'buttonizer-multifunctional-button'),
303
- '<b>{1}</b>'),
304
- ],
305
-
306
- 'crash' => [
307
- 'title' => __('Buttonizer has crashed!', 'buttonizer-multifunctional-button'),
308
- 'subtitle' => __('Our development team has been notified.', 'buttonizer-multifunctional-button'),
309
- 'subtitle2' => __('If you\'d like to help, tell us what happened below.', 'buttonizer-multifunctional-button'),
310
- 'no_super_intro' => __('We\'re sorry, Buttonizer has crashed! Would you like to become a SUPER contributor and automatically log errors, including this one?', 'buttonizer-multifunctional-button'),
311
- 'no_super_additional_info' => __('By sharing your crash report with us, you will help us detect exceptions like these so we can resolve them in a future release.', 'buttonizer-multifunctional-button'),
312
- 'reload' => __('Reload', 'buttonizer-multifunctional-button'),
313
- ],
314
-
315
- 'knowledge_link' => sprintf(
316
- // translators: %1$s will be replaced with a action name, %2$s will be replaced with a link
317
- __('Need help? Learn how to use <b>%1$s</b>.', 'buttonizer-multifunctional-button'),
318
- '{0}',
319
- 'href="{1}" target="_blank"'
320
- ),
321
-
322
- 'filter-visibility' => [
323
- // Time schedule
324
- 'timeschedule_show_button' => __('Show button at all times', 'buttonizer-multifunctional-button'),
325
- 'timeschedule_show_group' => __('Show group at all times', 'buttonizer-multifunctional-button'),
326
-
327
- // Page rule
328
- 'pagerule_show_button' => __('Show button on all pages', 'buttonizer-multifunctional-button'),
329
- 'pagerule_show_group' => __('Show group on all pages', 'buttonizer-multifunctional-button'),
330
- ]
331
- ];
332
- }
333
-
334
- /**
335
- * Modal/dialog
336
- *
337
- * @return array
338
- */
339
- private function modal()
340
- {
341
- return [
342
- 'ok' => __('OK', 'buttonizer-multifunctional-button'),
343
- 'ok_fix' => __('OK, I\'ll fix this', 'buttonizer-multifunctional-button'),
344
- 'sure' => __('I\'m sure', 'buttonizer-multifunctional-button'),
345
- 'lost' => __('How\'d ya get here?'),
346
-
347
- 'close' => __('Close', 'buttonizer-multifunctional-button'),
348
- 'cancel' => __('Cancel', 'buttonizer-multifunctional-button'),
349
-
350
- 'incorrect' => __('Incorrect entry.', 'buttonizer-multifunctional-button'),
351
-
352
- // Yes/No
353
- 'yes_please' => __('Yes please', 'buttonizer-multifunctional-button'),
354
- 'no_thanks' => __('No thank you', 'buttonizer-multifunctional-button'),
355
-
356
- // Dismiss
357
- 'dismiss' => __('Dismiss', 'buttonizer-multifunctional-button'),
358
- 'changed_my_mind' => __('I\'ve changed my mind', 'buttonizer-multifunctional-button'),
359
-
360
- // Save
361
- 'save' => __('Save', 'buttonizer-multifunctional-button'),
362
-
363
- 'remove' => [
364
-
365
- 'time_schedule' => [
366
- 'window_title' => __('Remove time schedule?', 'buttonizer-multifunctional-button'),
367
-
368
- 'question' => __('Are you very sure you want to remove this time schedule? Buttons that are still attached to this time schedule will become visible unless you attach them to another time schedule or hide them.', 'buttonizer-multifunctional-button'),
369
-
370
- 'no_buttons' => __('There are no buttons attached to this time schedule. You can remove this safely.', 'buttonizer-multifunctional-button'),
371
-
372
- 'num_buttons_multiple' => sprintf(
373
- // translators: This sentence will be used to remove a 'time schedule' and there are multiple buttons attached to it. %1$s will be a number.
374
- __('There are <b>%1$s</b> buttons attached to this time schedule!', 'buttonizer-multifunctional-button'),
375
- '{0}'
376
- ),
377
- 'num_buttons_single' => __('There is <b>1</b> button attached to this time schedule', 'buttonizer-multifunctional-button'),
378
-
379
- 'last_warning' => __('Do you want to remove this time schedule?', 'buttonizer-multifunctional-button'),
380
- ],
381
- 'button' => [
382
- 'window_title' => __('Delete button', 'buttonizer-multifunctional-button'),
383
- 'question' => __('Are you sure you want to remove this button?', 'buttonizer-multifunctional-button'),
384
- 'question_remove' => sprintf(
385
- // translators: %s will be replaced with the button name
386
- __('Are you sure you want to remove the button called \'%s\'?', 'buttonizer-multifunctional-button'),
387
- '{0}'
388
- ),
389
- 'cannot_delete_window_title' => __('Cannot delete button', 'buttonizer-multifunctional-button'),
390
- 'cannot_delete' => __('You cannot delete this button because this the only button left.', 'buttonizer-multifunctional-button'),
391
- ],
392
- 'group' => [
393
- 'window_title' => __('Delete group', 'buttonizer-multifunctional-button'),
394
- 'question' => __('Are you sure you want to remove this group?', 'buttonizer-multifunctional-button'),
395
- 'question_multiple_buttons' => sprintf(
396
- // translators: %s will be replaced with a number
397
- __('Are you sure you want to remove this full group? It contains %s buttons.', 'buttonizer-multifunctional-button'),
398
- '{0}'
399
- ),
400
- 'cannot_delete_window_title' => __('Cannot delete group', 'buttonizer-multifunctional-button'),
401
- 'cannot_delete' => __('You cannot delete this group because this the only group left.', 'buttonizer-multifunctional-button'),
402
- ],
403
- 'page_rule' => [
404
- 'window_title' => __('Remove page rule?', 'buttonizer-multifunctional-button'),
405
-
406
- 'question' => __('Are you very sure you want to remove this page rule? Buttons that are still attached to this page rule will become visible unless you attach them to another page rule or hide them.', 'buttonizer-multifunctional-button'),
407
-
408
- 'no_buttons' => __('There are no buttons attached to this page rule. You can remove this safely.', 'buttonizer-multifunctional-button'),
409
-
410
- 'num_buttons_multiple' => sprintf(
411
- // translators: This sentence will be used to remove a 'time schedule' and there are multiple buttons attached to it. %1$s will be a number.
412
- __('There are <b>%1$s</b> buttons attached to this page rule!', 'buttonizer-multifunctional-button'),
413
- '{0}'
414
- ),
415
- 'num_buttons_single' => __('There is <b>1</b> button attached to this page rule', 'buttonizer-multifunctional-button'),
416
-
417
- 'last_warning' => __('Do you want to remove this page rule?', 'buttonizer-multifunctional-button'),
418
- ],
419
- 'permanent' => __('This action is permanent and cannot be undone.', 'buttonizer-multifunctional-button'),
420
- ],
421
- ];
422
- }
423
-
424
- /**
425
- * Event tracker
426
- *
427
- * @return array
428
- */
429
- private function eventTracker()
430
- {
431
- return [
432
- 'title' => __('Event tracker', 'buttonizer-multifunctional-button'),
433
- 'window_title' => __('Event tracker', 'buttonizer-multifunctional-button'),
434
- ];
435
- }
436
-
437
- /**
438
- * Saving changes
439
- *
440
- * @return array
441
- */
442
- private function saving()
443
- {
444
- return [
445
- 'saving' => 'Saving draft...',
446
- 'failed' => 'Failed!',
447
- 'completed' => 'Saved draft!'
448
- ];
449
- }
450
-
451
- /**
452
- * Reverting
453
- *
454
- * @return array
455
- */
456
- private function reverting()
457
- {
458
- return [
459
- 'revert_changes' => __('Revert changes', 'buttonizer-multifunctional-button'),
460
- 'reverting' => __('Reverting...', 'buttonizer-multifunctional-button'),
461
- 'modal' => [
462
- 'intro' => __('Are you sure you want to revert your changes?', 'buttonizer-multifunctional-button'),
463
- 'action' => __('The current changes will be overwritten by the current published buttons and settings.', 'buttonizer-multifunctional-button')
464
- ],
465
- 'error' => [
466
- 'title' => __('Could not revert settings', 'buttonizer-multifunctional-button'),
467
- 'message' => __('Something went wrong while reverting your settings.', 'buttonizer-multifunctional-button')
468
- ]
469
- ];
470
- }
471
-
472
- /**
473
- * Group and button settings
474
- *
475
- * @return array
476
- */
477
- private function settings()
478
- {
479
- return [
480
- 'settings' => __('Settings', 'buttonizer-multifunctional-button'),
481
- 'tippy_single_button' => __('Add button to enable group settings', 'buttonizer-multifunctional-button'),
482
- 'more_actions' => __('More actions', 'buttonizer-multifunctional-button'),
483
-
484
- // Setting categories
485
- 'setting_categories' => [
486
- 'menu_style' => __('Menu style', 'buttonizer-multifunctional-button'),
487
- 'general' => __('General', 'buttonizer-multifunctional-button'),
488
- 'group_style' => __('Group style', 'buttonizer-multifunctional-button'),
489
- 'group_icon' => __('Group icon', 'buttonizer-multifunctional-button'),
490
- 'button_style' => __('Button style', 'buttonizer-multifunctional-button'),
491
- 'button_icon' => __('Button icon', 'buttonizer-multifunctional-button'),
492
- 'label_style' => __('Label style', 'buttonizer-multifunctional-button'),
493
- 'background' => __('Background', 'buttonizer-multifunctional-button'),
494
- 'icon_style' => __('Icon Style', 'buttonizer-multifunctional-button'),
495
- 'image_style' => __('Image style', 'buttonizer-multifunctional-button'),
496
- 'show_or_hide' => __('Show or hide', 'buttonizer-multifunctional-button'),
497
- 'label' => __('Label', 'buttonizer_multifunctional_button'),
498
- ],
499
-
500
- 'name' => [
501
- 'title' => __('Button name', 'buttonizer-multifunctional-button'),
502
- 'description' => __('This is the button name.', 'buttonizer-multifunctional-button'),
503
- ],
504
-
505
- 'background_color' => [
506
- 'title' => __('Button color', 'buttonizer-multifunctional-button'),
507
- 'description' => __('This is the color of your button group and also the default color for your buttons within this group.', 'buttonizer-multifunctional-button'),
508
- ],
509
-
510
- 'color_picker' => [
511
- 'options' => [
512
- 'solid' => __('Solid Color', 'buttonizer-multifunctional-button'),
513
- 'linear' => __('Linear Gradient', 'buttonizer-multifunctional-button'),
514
- 'radial' => __('Radial Gradient', 'buttonizer-multifunctional-button')
515
- ],
516
- 'new_swatch_description' => __('Click to add swatch. Right-click any swatch to remove.', 'buttonizer-multifunctional-button')
517
- ],
518
-
519
- 'font_family' => [
520
- 'title' => __('Font family', 'buttonizer-multifunctional-button'),
521
- 'placeholder' => __('Type a custom font', 'buttonizer-multifunctional-button'),
522
- 'add' => sprintf(
523
- // translators: %1$s will be the inputted text.
524
- __('Type "," to add %1$s', 'buttonizer-multifunctional-button'),
525
- '{0}'
526
- ),
527
- ],
528
-
529
- 'button_size' => [
530
- 'title' => __('Button Sizes', 'buttonizer-multifunctional-button'),
531
- 'menu_button' => __('Menu button size', 'buttonizer-multifunctional-button'),
532
- 'sub_button' => __('Sub button size', 'buttonizer-multifunctional-button'),
533
- ],
534
-
535
- 'label_inside' => [
536
- 'title' => __('Place label inside button', 'buttonizer-multifunctional-button'),
537
- ],
538
-
539
- 'label_same_width' => [
540
- 'title' => __('Make all labels have same width', 'buttonizer-multifunctional-button'),
541
- ],
542
-
543
- 'label_same_height' => [
544
- 'title' => __('Set height same as the button\'s', 'buttonizer-multifunctional-button'),
545
- ],
546
-
547
- 'background_image' => [
548
- 'title' => __('Use background image', 'buttonizer-multifunctional-button'),
549
- 'description' => __('Upload an image if you want an image as a background instead of a color. Recommended aspect ratio: square (1:1).', 'buttonizer-multifunctional-button'),
550
- ],
551
- 'border_radius' => [
552
- 'title' => __('Border radius', 'buttonizer-multifunctional-button'),
553
- 'description' => __('Change the roundness of this button group.', 'buttonizer-multifunctional-button'),
554
- ],
555
- 'box_shadow' => [
556
- 'title' => __('Box shadow', 'buttonizer-multifunctional-button'),
557
- 'description' => __('Change the box shadow of this button.', 'buttonizer-multifunctional-button'),
558
- ],
559
- 'margin' => [
560
- 'title' => __('Margin', 'buttonizer-multifunctional-button'),
561
- 'description' => __('Change the position of the label.', 'buttonizer-multifunctional-button'),
562
- ],
563
- 'padding' => [
564
- 'title' => __('Padding', 'buttonizer-multifunctional-button'),
565
- 'description' => __('Change the background size of the label.', 'buttonizer-multifunctional-button'),
566
- ],
567
- 'icon' => [
568
- 'title' => __('Icon', 'buttonizer-multifunctional-button'),
569
- 'select' => __('Select icon', 'buttonizer-multifunctional-button'),
570
- 'description' => __('Choose an icon from the icon library.', 'buttonizer-multifunctional-button'),
571
- ],
572
- 'icon_color' => [
573
- 'title' => __('Icon color', 'buttonizer-multifunctional-button'),
574
- 'description' => __('Change the icon color of this button.', 'buttonizer-multifunctional-button'),
575
- ],
576
- 'icon_image_border_radius' => [
577
- 'title' => __('Border radius', 'buttonizer-multifunctional-button'),
578
- 'description' => __('Change the border radius of the image.', 'buttonizer-multifunctional-button'),
579
- ],
580
- 'icon_image_select' => [
581
- 'title' => __('Icon', 'buttonizer-multifunctional-button'),
582
- 'description' => __('Choose an image to use as this button or group icon. Recommended aspect ratio: square (1:1)', 'buttonizer-multifunctional-button'),
583
- ],
584
- 'icon_image_size' => [
585
- 'title' => __('Image size', 'buttonizer-multifunctional-button'),
586
- 'description' => __('Change the size of the image.', 'buttonizer-multifunctional-button'),
587
- ],
588
- 'icon_or_image' => [
589
- 'title' => __('Graphic', 'buttonizer-multifunctional-button'),
590
- 'label' => __('Select icon type', 'buttonizer-multifunctional-button'),
591
- 'description' => __('Choose whether to use an icon or image as the button icon.', 'buttonizer-multifunctional-button'),
592
- ],
593
- 'icon_size' => [
594
- 'title' => __('Icon size', 'buttonizer-multifunctional-button'),
595
- 'description' => __('Change the icon size of this button.', 'buttonizer-multifunctional-button'),
596
- ],
597
- 'label' => [
598
- 'title' => __('Label', 'buttonizer-multifunctional-button'),
599
- 'description' => __('Change the label of this button.', 'buttonizer-multifunctional-button'),
600
- 'placeholder' => __('Label text', 'buttonizer-multifunctional-button'),
601
- ],
602
- 'label_color' => [
603
- 'title' => __('Text color', 'buttonizer-multifunctional-button'),
604
- 'description' => __('Change the text and background color of the label for this button or group.', 'buttonizer-multifunctional-button'),
605
- ],
606
- 'font_size_border_radius' => [
607
- 'title' => __('Font size & border radius', 'buttonizer-multifunctional-button'),
608
- 'description' => __('Change the font size and border radius of the label for this button group.', 'buttonizer-multifunctional-button'),
609
- ],
610
- 'font_size' => __('Font size', 'buttonizer-multifunctional-button'),
611
- 'menu_animation' => [
612
- 'title' => __('Animation', 'buttonizer-multifunctional-button'),
613
- 'description' => __('This will animate this button group to get the attention of the visitor. The animation repeats itself every 10 seconds.', 'buttonizer-multifunctional-button'),
614
- 'delay' => __('Delay', 'buttonizer-multifunctional-button'),
615
- 'repeat_count' => __('Repeat Count', 'buttonizer-multifunctional-button'),
616
- 'repeat_helper_text' => __('Enter \'0\' for unlimited', 'buttonizer-multifunctional-button'),
617
- 'animations' => [
618
- 'none' => __('No animation', 'buttonizer-multifunctional-button'),
619
- 'hello' => __('Buttonizer Hello', 'buttonizer-multifunctional-button'),
620
- 'bounce' => __('Bounce', 'buttonizer-multifunctional-button'),
621
- 'jelly' => __('Jelly', 'buttonizer-multifunctional-button'),
622
- 'pulse' => __('Pulse', 'buttonizer-multifunctional-button'),
623
- ]
624
- ],
625
- 'label_position' => [
626
- 'title' => __('Position', 'buttonizer-multifunctional-button'),
627
- 'description' => __('Label position', 'buttonizer-multifunctional-button'),
628
- 'warning' => __('Make sure to add a label', 'buttonizer-multifunctional-button'),
629
- 'directions' => [
630
- 'left' => __('Left', 'buttonizer-multifunctional-button'),
631
- 'auto' => __('Auto', 'buttonizer-multifunctional-button'),
632
- 'right' => __('Right', 'buttonizer-multifunctional-button'),
633
-
634
- ]
635
- ],
636
- 'menu_position' => [
637
- 'title' => __('Position', 'buttonizer-multifunctional-button'),
638
- 'description' => __('Change the position of this button group.', 'buttonizer-multifunctional-button'),
639
- 'horizontal' => __('Horizontal', 'buttonizer-multifunctional-button'),
640
- 'vertical' => __('Vertical', 'buttonizer-multifunctional-button'),
641
- 'from' => __('from', 'buttonizer-multifunctional-button'),
642
- 'scaled' => __('Scaled', 'buttonizer-multifunctional-button'),
643
- 'absolute' => __('Absolute', 'buttonizer-multifunctional-button'),
644
- 'directions' => [
645
- 'left' => __('Left', 'buttonizer-multifunctional-button'),
646
- 'right' => __('Right', 'buttonizer-multifunctional-button'),
647
- 'bottom' => __('Bottom', 'buttonizer-multifunctional-button'),
648
- 'top' => __('Top', 'buttonizer-multifunctional-button')
649
- ]
650
- ],
651
- 'menu_style' => [
652
- 'title' => __('Menu style', 'buttonizer-multifunctional-button'),
653
- 'title_short' => __('Style', 'buttonizer-multifunctional-button'),
654
- 'description' => __('Change the menu style of this button group.', 'buttonizer-multifunctional-button'),
655
- // translators: The %s is the menu style that is selected
656
- 'warning' => sprintf(
657
- __('This setting is not used when using the %s menu style...', 'buttonizer-multifunctional-button'),
658
- '{0}'
659
- ),
660
- 'styles' => [
661
- 'default' => __('Default', 'buttonizer-multifunctional-button'),
662
- 'faded' => __('Faded', 'buttonizer-multifunctional-button'),
663
- 'cornercircle' => __('Corner circle', 'buttonizer-multifunctional-button'),
664
- 'buildingup' => __('Build Up', 'buttonizer-multifunctional-button'),
665
- 'pop' => __('Pop', 'buttonizer-multifunctional-button'),
666
- 'square' => __('Square', 'buttonizer-multifunctional-button'),
667
- 'rectangle' => __('Rectangle', 'buttonizer-multifunctional-button'),
668
- 'text' => __('Text only', 'buttonizer-multifunctional-button'),
669
- 'texticon' => __('Text w/ icon', 'buttonizer-multifunctional-button'),
670
- ]
671
- ],
672
- 'menu' => [
673
- 'title' => __('Menu', 'buttonizer-multifunctional-button'),
674
- 'title_settings' => __('Menu settings', 'buttonizer-multifunctional-button'),
675
- 'description' => __('Turn on or off whether the group has a closable menu button', 'buttonizer-multifunctional-button')
676
- ],
677
- 'opening_animation' => [
678
- 'title' => __('Opening animation', 'buttonizer-multifunctional-button'),
679
- 'description' => __('Decide what type of opening animation is used for opening/closing the menu', 'buttonizer-multifunctional-button')
680
- ],
681
- 'label_desktop' => [
682
- 'title' => __('Visibility', 'buttonizer-multifunctional-button'),
683
- 'description' => __('Always show the label, show the label on hover or hide the label on <u>desktop devices</u>.', 'buttonizer-multifunctional-button'),
684
- ],
685
- 'label_mobile' => [
686
- 'title' => __('Visibility', 'buttonizer-multifunctional-button'),
687
- 'description' => __('Always show or hide the label on <u>mobile devices</u>.', 'buttonizer-multifunctional-button'),
688
- ],
689
- 'label_styles' => [
690
- 'group_default' => __('Group default', 'buttonizer-multifunctional-button'),
691
- 'always' => __('Always show label', 'buttonizer-multifunctional-button'),
692
- 'hover' => __('Show label on hover', 'buttonizer-multifunctional-button'),
693
- 'hide' => __('Hide label', 'buttonizer-multifunctional-button')
694
- ],
695
- 'show_mobile_desktop' => [
696
- 'title' => __('Show on', 'buttonizer-multifunctional-button'),
697
- 'device_visibility' => __('Device visibility', 'buttonizer-multifunctional-button'),
698
- 'description' => __('Choose if you want to make this button group visible on desktop and mobile devices.', 'buttonizer-multifunctional-button'),
699
- 'mobile' => __('Mobile', 'buttonizer-multifunctional-button'),
700
- 'desktop' => __('Desktop', 'buttonizer-multifunctional-button'),
701
- 'toggle_desktop' => __('Toggle show on desktop', 'buttonizer-multifunctional-button'),
702
- 'toggle_mobile' => __('Toggle show on mobile', 'buttonizer-multifunctional-button')
703
- ],
704
- 'start_opened' => [
705
- 'title' => __('Start opened', 'buttonizer-multifunctional-button'),
706
- 'description' => __('This button group starts opened when this setting is enabled.', 'buttonizer-multifunctional-button'),
707
- ],
708
- 'use_main_button_style' => [
709
- 'title' => __('Use group style', 'buttonizer-multifunctional-button'),
710
- 'description' => __('When enabled, this button will use the same style as the button group.', 'buttonizer-multifunctional-button'),
711
- 'warning' => __('Disable USE GROUP STYLE to access these settings', 'buttonizer-multifunctional-button'),
712
- ],
713
- 'close_on_click_outside' => [
714
- 'title' => __('Close on click outside', 'buttonizer-multifunctional-button'),
715
- 'description' => __('This will close the menu if you click outside Buttonizer.', 'buttonizer-multifunctional-button'),
716
- ],
717
- 'close_on_click_inside' => [
718
- 'title' => __('Close on button click', 'buttonizer-multifunctional-button'),
719
- 'description' => __('This will close the menu if you click on a button inside this group.', 'buttonizer-multifunctional-button'),
720
- ],
721
- 'open_on_mouseover' => [
722
- 'title' => __('Open on hover', 'buttonizer-multifunctional-button'),
723
- 'description' => __('This will open the menu if you hover the group button.', 'buttonizer-multifunctional-button'),
724
- ],
725
- 'close_on_mouseout' => [
726
- 'title' => __('Close on mouse out', 'buttonizer-multifunctional-button'),
727
- 'description' => __('This will close the menu if you hover out the group button.', 'buttonizer-multifunctional-button'),
728
- ],
729
- 'custom_id' => [
730
- // translators: 'id' as in HTML attribute 'id'
731
- 'title' => __('Custom ID', 'buttonizer-multifunctional-button'),
732
- // translators: 'id' as in HTML attribute 'id'
733
- 'description' => __('Adds a custom \'id\' HTML attribute to the button.', 'buttonizer-multifunctional-button'),
734
- // translators: 'id' as in HTML attribute 'id'
735
- 'pro_description' => __('You can add a custom ID to each button for styling purposes.', 'buttonizer-multifunctional-button'),
736
- // translators: 'id' as in HTML attribute 'id'
737
- 'placeholder' => __('ID name', 'buttonizer-multifunctional-button'),
738
- ],
739
- 'custom_class' => [
740
- // translators: 'class' as in HTML attribute 'class'
741
- 'title' => __('Custom class', 'buttonizer-multifunctional-button'),
742
- // translators: 'class' as in HTML attribute 'class'
743
- 'description' => __('Adds a custom \'class\' HTML attribute to the button.', 'buttonizer-multifunctional-button'),
744
- // translators: 'class' as in HTML attribute 'class'
745
- 'pro_description' => __('You can add a custom class to each button for styling purposes.', 'buttonizer-multifunctional-button'),
746
- // translators: 'class' as in HTML attribute 'class'
747
- 'placeholder' => __('Class name', 'buttonizer-multifunctional-button'),
748
- 'styling_editor' => __('Open Custom Styling Editor', 'buttonizer-multifunctional-button'),
749
- 'styling_editor_title' => __('Custom Styling Editor', 'buttonizer-multifunctional-button')
750
- ],
751
- 'selected_page_rule' => [
752
- 'title' => __('Page rule', 'buttonizer-multifunctional-button'),
753
- 'description' => __('Adds a custom \'class\' HTML attribute to the button.', 'buttonizer-multifunctional-button'),
754
- 'pro_description' => __('You can add a custom class to each button for styling purposes.', 'buttonizer-multifunctional-button'),
755
- 'manage_page_rules' => __('Manage page rules', 'buttonizer-multifunctional-button'),
756
- 'cannot_select' => __('You cannot select the same page rule as it\'s group!', 'buttonizer-multifunctional-button'),
757
-
758
- 'show_on_rule_trigger' => [
759
- 'show' => __('Show button when rule is triggered', 'buttonizer-multifunctional-button'),
760
- 'hide' => __('Hide button when rule is triggered', 'buttonizer-multifunctional-button'),
761
- ]
762
- ],
763
-
764
- 'timeout_scroll' => [
765
- 'timeout' => [
766
- 'title' => __('Timeout', 'buttonizer-multifunctional-button'),
767
- 'trigger_once' => __('Trigger only once', 'buttonizer-multifunctional-button'),
768
- 'milliseconds' => __('Milliseconds', 'buttonizer-multifunctional-button'),
769
- 'info' => sprintf(
770
- // translators: %s will become the value of the setting
771
- __('Show Buttonizer after %s seconds', 'buttonizer-multifunctional-button'),
772
- '{0}'
773
- ),
774
- ],
775
- 'scroll' => [
776
- 'title' => __('Scroll', 'buttonizer-multifunctional-button'),
777
- 'from_top' => __('From top', 'buttonizer-multifunctional-button'),
778
- 'show_after' => __('Show Buttonizer after 0 seconds', 'buttonizer-multifunctional-button'),
779
- 'visibility' => __('Hide group as starting visibility', 'buttonizer-multifunctional-button'),
780
- 'hide' => __('Hide', 'buttonizer-multifunctional-button'),
781
- 'show' => __('Show', 'buttonizer-multifunctional-button'),
782
- 'info' => sprintf(
783
- // translators: %s will become the value of the setting
784
- __('Scroll <b>%1$s%2$s</b> from top of page to <b>%3$s</b> group', 'buttonizer-multifunctional-button'),
785
- '{0}',
786
- '{1}',
787
- '{2}'
788
- ),
789
- ],
790
- ],
791
-
792
- 'exit_intent' => [
793
- 'title' => __('Exit intent', 'buttonizer-multifunctional-button'),
794
- 'enable' => __('Enable exit intent', 'buttonizer-multifunctional-button'),
795
- 'pro_description' => __('With this setting, you can trigger Buttonizer to animate before your guest exits your website.', 'buttonizer-multifunctional-button'),
796
- 'description' => __('Exit intent can be used to trigger an animation around Buttonizer when a visitor is leaving your website.', 'buttonizer-multifunctional-button'),
797
- 'info' => __('Please note: Exit intent will <b>not trigger</b> in preview mode, only in your LIVE website.', 'buttonizer-multifunctional-button'),
798
-
799
- 'when_to_trigger' => __('When to trigger?', 'buttonizer-multifunctional-button'),
800
- 'trigger_window' => __('Trigger when leaving browser window', 'buttonizer-multifunctional-button'),
801
- 'trigger_inactive' => __('Trigger on inactivity (2 minutes)', 'buttonizer-multifunctional-button'),
802
-
803
- 'how_often' => [
804
- '_title' => __('How often should it be triggered?', 'buttonizer-multifunctional-button'),
805
- 'once_page' => __('Only trigger once per page', 'buttonizer-multifunctional-button'),
806
- 'once_session' => __('Only trigger once per session', 'buttonizer-multifunctional-button'),
807
- 'always' => __('Trigger every time', 'buttonizer-multifunctional-button'),
808
- ],
809
-
810
- 'animation' => [
811
- '_title' => __('Animation on intent', 'buttonizer-multifunctional-button'),
812
- 'focused' => __('Focused', 'buttonizer-multifunctional-button'),
813
- 'open_menu' => __('Open menu', 'buttonizer-multifunctional-button'),
814
- 'jump' => __('Jump once and open', 'buttonizer-multifunctional-button'),
815
- 'jump_single' => __('Jump once', 'buttonizer-multifunctional-button'),
816
- 'flip' => __('Flip and open', 'buttonizer-multifunctional-button'),
817
- 'flip_single' => __('Flip', 'buttonizer-multifunctional-button')
818
- ]
819
- ],
820
-
821
- 'popups' => [
822
- 'generate' => __('Generate new popup id', 'buttonizer-multifunctional-button'),
823
- 'elementor_guide' => __('Copy and paste this into your Elementor Popup\'s <b>"Open By Selector"</b> option. <br />', 'buttonizer-multifunctional-button'),
824
- 'popup_maker_guide' => __('In your <b>Popup Settings</b>, add a new <b>"Click to Open"</b> trigger and copy and paste this code in <b>"Extra CSS Selectors"</b> <br />', 'buttonizer-multifunctional-button'),
825
- ],
826
-
827
- 'button_action' => [
828
- 'title' => __('Button action', 'buttonizer-multifunctional-button'),
829
- 'description' => __('Choose a click action for this button.', 'buttonizer-multifunctional-button'),
830
- 'select' => __('Select button action', 'buttonizer-multifunctional-button'),
831
- 'search_not_found' => __('No button action found for:', 'buttonizer-multifunctional-button'),
832
-
833
- 'actions' => [
834
- 'group_popular' => __('Popular actions', 'buttonizer-multifunctional-button'),
835
- 'group_chat' => __('Click to chat', 'buttonizer-multifunctional-button'),
836
- 'group_social_media' => __('Social Media', 'buttonizer-multifunctional-button'),
837
- 'group_popup' => __('Popup', 'buttonizer-multifunctional-button'),
838
- 'group_actions' => __('Actions', 'buttonizer-multifunctional-button'),
839
-
840
- 'phone_number' => [
841
- 'name' => __('Call action (phone number)', 'buttonizer-multifunctional-button'),
842
- 'invalid' => __('Invalid phone number', 'buttonizer-multifunctional-button'),
843
- 'number' => __('Phone number', 'buttonizer-multifunctional-button'),
844
- ],
845
- 'mail' => [
846
- 'name' => __('Mail action (email address)', 'buttonizer-multifunctional-button'),
847
- 'invalid' => __('Invalid email address.', 'buttonizer-multifunctional-button'),
848
- ],
849
- 'page' => [
850
- "name" => __('Page', 'buttonizer-multifunctional-button'),
851
- "placeholder" => __('Select a page', 'buttonizer-multifunctional-button'),
852
- 'helper' => __('To visualise what page type you have chosen, the value is displayed as: \'[Page type]: [Page name]\'.', 'buttonizer-multifunctional-button'),
853
- ],
854
- 'back_to_top' => __('Back to top', 'buttonizer-multifunctional-button'),
855
- 'go_to_bottom' => __('Go to bottom', 'buttonizer-multifunctional-button'),
856
- 'go_back_one_page' => __('Go back one page', 'buttonizer-multifunctional-button'),
857
- 'share_page' => __('Share page', 'buttonizer-multifunctional-button'),
858
- 'sms' => __('SMS', 'buttonizer-multifunctional-button'),
859
- 'viber' => __('Viber does not support a "chat with phone number " link. When a user clicks on this button it will open their "add contact" with the number filled in.', 'buttonizer-multifunctional-button'),
860
- 'messenger_chat' => [
861
- 'description' => sprintf(
862
- // translators: %s and %s will be replaced with links
863
- __('Facebook Messenger Chat Widget! First, you\'ll need to <a %1$s>whitelist</a> your site on Facebook. Then add your <a %2$s>Page ID</a> into the input above.', 'buttonizer-multifunctional-button'),
864
- 'href="https://developers.facebook.com/docs/messenger-platform/reference/messenger-profile-api/domain-whitelisting#page_settings" target="_blank"',
865
- 'href="https://www.facebook.com/help/1503421039731588" target="_blank"'
866
- ),
867
- 'invalid' => __('Invalid Page ID.', 'buttonizer-multifunctional-button'),
868
- 'page_id' => __('Facebook Page ID', 'buttonizer-multifunctional-button'),
869
- 'language' => __('Messenger Chat Language', 'buttonizer-multifunctional-button'),
870
- ],
871
- 'whatsapp_chat' => __('WhatsApp Chat', 'buttonizer-multifunctional-button'),
872
- 'poptin' => sprintf(
873
- // translators: %s and %s will be replaced with links
874
- __('<b>You need to install Poptin\'s WordPress plugin.</b> </br>You can find it <b><a %1$s>here</a>.</b> </br>Once you\'ve made a Poptin paste the <b><a %2$s>direct link</a></b> into the input above.', 'buttonizer-multifunctional-button'),
875
- 'href="https://wordpress.org/plugins/poptin/" target="_blank"',
876
- 'href="https://help.poptin.com/article/show/72942-how-to-show-a-poptin-when-the-visitor-clicks-on-a-button-link-on-your-site" target="_blank"'
877
- ),
878
- 'share_page_on' => sprintf(
879
- // translators: %s will become the social media platform, like example: Share on Twitter
880
- __('Share on %s', 'buttonizer-multifunctional-button'),
881
- '{0}'
882
- ),
883
- 'social_sharing' => [
884
- 'social_sharing' => __('Social Sharing', 'buttonizer-multifunctional-button'),
885
- 'popular' => __('Popular Social Sharing', 'buttonizer-multifunctional-button'),
886
- 'other' => __('Other Social Sharing', 'buttonizer-multifunctional-button'),
887
- ],
888
- 'clipboard' => __('Copy URL to clipboard', 'buttonizer-multifunctional-button'),
889
- 'print_page' => __('Print page', 'buttonizer-multifunctional-button'),
890
-
891
- 'share_page_via' => sprintf(
892
- // translators: %s will become the social media platform, like example: Share via email
893
- __('Share via %s', 'buttonizer-multifunctional-button'),
894
- '{0}'
895
- ),
896
-
897
- 'action_discontinued' => sprintf(
898
- // translators: %1$s will be replaced with a function name, %2$s will be replaced with the new functionality and %3$s with the link. Example 'Popups - Wordpress Popups has been discontinued and replaced with WP Popups – WordPress Popup builder'
899
- __('%1$s has been discontinued and replaced with <a %3$s>%2$s</a>.', 'buttonizer-multifunctional-button'),
900
- '<i>{0}</i>',
901
- '{1}',
902
- 'href="{2}" target="_blank"'
903
- ),
904
-
905
- 'url' => [
906
- 'name' => __('Website URL', 'buttonizer-multifunctional-button'),
907
- 'invalid' => __('This URL appears to be invalid. The button may not work as expected.', 'buttonizer-multifunctional-button'),
908
- 'invalid_tip' => __('Do you miss <b>http://</b> or <b>https://</b>? Perhaps an unnecessary space is added somewhere.', 'buttonizer-multifunctional-button'),
909
- 'insecure' => __('<b>Insecure URL:</b> Sorry to interrupt, but we advice you to use HTTPS for your URLS. This is a safer way to transport data.', 'buttonizer-multifunctional-button'),
910
- ],
911
-
912
- 'javascript' => [
913
- 'name' => __('Javascript function', 'buttonizer-multifunctional-button'),
914
- 'open_dialog' => __('Open JavaScript code editor', 'buttonizer-multifunctional-button'),
915
- 'warning_modal_title' => __('Warning! Before you continue...', 'buttonizer-multifunctional-button'),
916
- 'warning_intro' => __('You are changing this button action from custom javascript to a different action. Your javascript changes will be lost.', 'buttonizer-multifunctional-button'),
917
- 'warning_question' => __('Are you sure you want to proceed?', 'buttonizer-multifunctional-button'),
918
- ],
919
-
920
- 'whatsapp_info' => sprintf(
921
- // translators: %s will be replaced with html attributes for the link
922
- __('Fill in your phone number without any spaces and symbols. Read WhatsApps recommendations by <a %s>clicking here.</a>', 'buttonizer-multifunctional-button'),
923
- 'href="https://faq.whatsapp.com/en/android/26000030/" target="_blank"'
924
- ),
925
-
926
- 'twitter_info' => sprintf(
927
- // translators: %1$s and %2$s will be replaced with links
928
- __('When you want to use Twitter DM you will need to find your Twitter User ID and allow direct messages from anyone. To find your account ID <a %1$s>click here</a>. And to read more about how to allow direct messages from anyone, <a %2$s>click here</a>.', 'buttonizer-multifunctional-button'),
929
- 'href="https://tweeterid.com/" target="_blank"',
930
- 'href="https://help.twitter.com/nl/using-twitter/direct-messages#receive" target="_blank"'
931
- ),
932
-
933
- 'signal_group_info' => sprintf(
934
- // translators: %1$s will be replaced with a link
935
- __('Paste the generated Signal group URL into the field. If you need more information about how to enable group invite links, <a %1$s>click here</a>.', 'buttonizer-multifunctional-button'),
936
- 'href="https://support.signal.org/hc/en-us/articles/360051086971-Group-Link-or-QR-code" target="_blank"'
937
- ),
938
-
939
- // Currently not translatable
940
- 'chat' => [
941
- "sms" => "SMS",
942
- "messenger_chat" => "Facebook Messenger Chat Widget",
943
- "messenger_link" => "Facebook Messenger Link",
944
- "twitter_dm" => "Twitter DM",
945
- "skype" => "Skype",
946
- "line" => "LINE",
947
- "waze" => "Waze",
948
- "telegram" => "Telegram",
949
- "viber" => "Viber",
950
- "signal_group" => "Join signal group",
951
- ],
952
-
953
- // Currently not translatable
954
- 'social_media' => [
955
- "facebook" => "Facebook",
956
- "twitter" => "Twitter",
957
- "instagram" => "Instagram",
958
- "snapchat" => "Snapchat",
959
- "linkedin" => "LinkedIn",
960
- "vk" => "VKontakte",
961
- "waze" => "Waze",
962
- ]
963
- ],
964
- 'placeholders' => [
965
- 'sms' => __('Text', 'buttonizer-multifunctional-button'),
966
- 'message' => __('Message', 'buttonizer-multifunctional-button'),
967
- 'username' => __('Username', 'buttonizer-multifunctional-button'),
968
- 'mail' => [
969
- 'recipient' => __('Recipient', 'buttonizer-multifunctional-button'),
970
- 'subject' => __('Subject', 'buttonizer-multifunctional-button'),
971
- 'cc' => __('cc', 'buttonizer-multifunctional-button'),
972
- 'bcc' => __('bcc', 'buttonizer-multifunctional-button'),
973
- 'body' => __('Body', 'buttonizer-multifunctional-button'),
974
- ]
975
- ],
976
- 'open_url' => [
977
- 'title' => __('Open URL in: ', 'buttonizer-multifunctional-button'),
978
- ],
979
- 'rel_attributes' => [
980
- 'title' => __('Rel attributes', 'buttonizer-multifunctional-button'),
981
- 'placeholder' => __('Set link rel attributes.', 'buttonizer-multifunctional-button')
982
- ],
983
- ],
984
-
985
- 'button_group_window' => [
986
- 'filters' => __('Filters', 'buttonizer-multifunctional-button'),
987
- 'styling' => __('Styling', 'buttonizer-multifunctional-button'),
988
- 'timeout_scroll' => __('Timeout & Scroll', 'buttonizer-multifunctional-button'),
989
- ]
990
- ];
991
- }
992
-
993
- /**
994
- * Settings window
995
- *
996
- * @return array
997
- */
998
- private function settings_window()
999
- {
1000
- return [
1001
- 'title' => __('Buttonizer settings', 'buttonizer-multifunctional-button'),
1002
- 'description' => __('Manage the settings of Buttonizer', 'buttonizer-multifunctional-button'),
1003
-
1004
- 'icon_library' => [
1005
- 'title' => __('Icon library', 'buttonizer-multifunctional-button'),
1006
- 'description' => __('Choose your iconset', 'buttonizer-multifunctional-button'),
1007
- 'free' => __('free', 'buttonizer-multifunctional-button'),
1008
- 'latest' => __('Latest (automatic)', 'buttonizer-multifunctional-button'),
1009
- 'info' => __('If your theme automatically loads in a library, just select the correct icon library instead.', 'buttonizer-multifunctional-button'),
1010
-
1011
- // Select library version
1012
- 'select_version' => [
1013
- 'title' => __('Select version', 'buttonizer-multifunctional-button'),
1014
- 'info' => __('Select the correct version of the library in order to use the icons in Buttonizer.', 'buttonizer-multifunctional-button')
1015
- ],
1016
-
1017
- // Enter library key
1018
- 'library_license_key' => [
1019
- 'info' => __('You have selected an icon library that has premium icons. Enter the library license code to view and use these.', 'buttonizer-multifunctional-button'),
1020
- 'how_does_it_work' => __('How does this work?', 'buttonizer-multifunctional-button'),
1021
-
1022
- 'enter_integrity_code' =>
1023
- sprintf(
1024
- // translators: String will be replaced with 'integrity' or 'license'
1025
- __('Enter %s code', 'buttonizer-multifunctional-button'),
1026
- 'integrity'
1027
- ),
1028
- ],
1029
-
1030
- // Import icon library
1031
- 'import_library' => [
1032
- 'title' => __('Import icon library', 'buttonizer-multifunctional-button'),
1033
- 'info' => __('Should Buttonizer import the icon library into your theme? If your theme already imports the library you can disable this.', 'buttonizer-multifunctional-button')
1034
- ],
1035
- ],
1036
-
1037
- // Google analytics
1038
- 'google_analytics' => [
1039
- 'title' => __('Google Analytics', 'buttonizer-multifunctional-button'),
1040
- 'enable' => __('Enable Google Analytics', 'buttonizer-multifunctional-button'),
1041
- 'description' => __('Measure your conversions', 'buttonizer-multifunctional-button'),
1042
- 'intro' => __('When enabled, Buttonizer will automatically log clicks to your Google Analytics account. You can force Buttonizer not to use the Google Analytics by disabling this switch.', 'buttonizer-multifunctional-button'),
1043
-
1044
- // Tracking code
1045
- 'tracking_code_info' => __('Google Analytics is automatically detected if you have added it to your webpage. But, if you don\'t make use of Google Analytics yet and this is your first time, Buttonizer can add it for you.', 'buttonizer-multifunctional-button'),
1046
- 'tracking_code_warning' => __('If you have added Google Analytics to your webpage before and Buttonizer also adds the same Analytics code, it will mess with your analytics data!', 'buttonizer-multifunctional-button'),
1047
-
1048
- // translators: Please keep the code-example 'UA-000000-2'
1049
- 'input' => __('UA Code', 'buttonizer-multifunctional-button'),
1050
-
1051
- 'link' => __('Where can I see my click data of my buttons in Google Analytics?', 'buttonizer-multifunctional-button'),
1052
- ],
1053
-
1054
- // Other settings
1055
- 'other_settings' => [
1056
- 'title' => __('Preferences', 'buttonizer-multifunctional-button'),
1057
- 'description' => __('Manage your preferences', 'buttonizer-multifunctional-button'),
1058
-
1059
- 'admin_button' => [
1060
- 'title' => __('Show admin top bar', 'buttonizer-multifunctional-button'),
1061
- 'info' => __('Hide Buttonizer in the admin top bar by disabling this setting.', 'buttonizer-multifunctional-button')
1062
- ],
1063
-
1064
- 'tooltips' => [
1065
- 'title' => __('Show tooltips', 'buttonizer-multifunctional-button'),
1066
- 'info' => __('Hide the tooltips by disabling this setting.', 'buttonizer-multifunctional-button')
1067
- ],
1068
-
1069
- 'tips' => [
1070
- 'title' => __("Show Buttonizer tips", 'buttonizer-multifunctional-button'),
1071
- 'info' => __('Hide the Buttonizer tips in the dashboard by disabling this setting', 'buttonizer-multifunctional-button')
1072
- ],
1073
-
1074
- 'subdomain' => [
1075
- 'title' => __('Subdomain support', 'buttonizer-multifunctional-button'),
1076
- 'info' => __('Some WordPress websites use subdomains for content purposes. Enable this setting to allow Buttonizer to load on your subdomains. Only enable this when you need it.', 'buttonizer-multifunctional-button')
1077
- ],
1078
-
1079
- 'ajax' => [
1080
- 'title' => __('Use ajax on to load the buttons', 'buttonizer-multifunctional-button'),
1081
- 'info' => __('This feature has been created to make sure Buttonizer doesn\'t slow down your website. If you\'d like to show the buttons immediately without loadtime, disable this setting. The load impect will depend on the amount of buttons and groups you currently have.', 'buttonizer-multifunctional-button')
1082
- ],
1083
-
1084
- 'error_logging' => [
1085
- 'title' => __('Automatic error logging and crash reporting', 'buttonizer-multifunctional-button'),
1086
- 'info' => __('Enable automatic error logging and crash reporting in order to help us solve issues within Buttonizer! All data is anonymized automatically.', 'buttonizer-multifunctional-button')
1087
- ],
1088
-
1089
- 'no_limit' => [
1090
- 'title' => __('Show more than 7 buttons in a group!', 'buttonizer-multifunctional-button'),
1091
- 'info' => __('When enabled, it will disable the 7 button limit in Buttonizer. This means that you will be able to add as much buttons you can fit in the screen!', 'buttonizer-multifunctional-button')
1092
- ],
1093
-
1094
- 'reset_opt_in' => [
1095
- 'title' => __('Opt-in to Buttonizer', 'buttonizer-multifunctional-button'),
1096
- 'info' => __('Currently you are opted out for sharing your WordPress environment information. When you want to make use of Buttonizer Pro, you need to opt-in. For more information, check out the opt-in page.', 'buttonizer-multifunctional-button'),
1097
- 'button' => __('Reset opt-in', 'buttonizer-multifunctional-button'),
1098
- ],
1099
-
1100
- 'additional_roles' => [
1101
- 'title' => __('Permissions', 'buttonizer-multifunctional-button'),
1102
- 'info' => __('You can grant more roles to access the Buttonizer settings who are not an administrator.', 'buttonizer-multifunctional-button'),
1103
- 'roles' => __('Select roles', 'buttonizer-multifunctional-button'),
1104
- ]
1105
- ],
1106
-
1107
- // Buttonizer tour
1108
- 'buttonizer_tour' => [
1109
- 'title' => __('Buttonizer tour', 'buttonizer-multifunctional-button'),
1110
- 'description' => __('Helps you with step-by-step tours', 'buttonizer-multifunctional-button'),
1111
-
1112
- 'interface' => [
1113
- 'title' => __('Buttonizer interface', 'buttonizer-multifunctional-button'),
1114
- 'description' => __('Make a tour through Buttonizer\'s interface', 'buttonizer-multifunctional-button'),
1115
- ],
1116
-
1117
- 'create_button' => [
1118
- 'title' => __('Create a button', 'buttonizer-multifunctional-button'),
1119
- 'description' => __('Learn how to make floating action buttons', 'buttonizer-multifunctional-button'),
1120
- ],
1121
- ],
1122
-
1123
- 'changelog_dialog' => [
1124
- 'title' => __('What\'s new?', 'buttonizer-multifunctional-button'),
1125
- 'all_changelogs' => __('View all changelogs', 'buttonizer-multifunctional-button'),
1126
- 'new_features' => __('New features', 'buttonizer-multifunctional-button'),
1127
-
1128
- 'first_feature' => [
1129
- 'title' => __('New styling options!', 'buttonizer-multifunctional-button'),
1130
- 'info' => __('We\'ve added much more styling options for the group and the buttons. Now you can truly customize the buttons to your liking.', 'buttonizer-multifunctional-button'),
1131
- ],
1132
-
1133
- 'second_feature' => [
1134
- 'title' => __('Load in templates', 'buttonizer-multifunctional-button'),
1135
- 'info' => __('Instead of creating your own buttons and groups, you can save time by loading ready-made templates. Click "add button" or "create new group" to see all templates available.', 'buttonizer-multifunctional-button'),
1136
- ],
1137
-
1138
- 'third_feature' => [
1139
- 'title' => __('Updated menu position for button styles', 'buttonizer-multifunctional-button'),
1140
- 'info' => __('We have slightly adjusted the placement of the settings for changing the button position. Don\'t worry, you can still find the settings under the "Advanced" tab.', 'buttonizer-multifunctional-button'),
1141
- ],
1142
-
1143
- 'fourth_feature' => [
1144
- 'title' => __('"Shift + click" to skip a dialog', 'buttonizer-multifunctional-button'),
1145
- 'info' => __('You can now press shift + click when adding, deleting and duplicating to skip the confirmation dialog.', 'buttonizer-multifunctional-button'),
1146
- ],
1147
- ],
1148
-
1149
- // Reset
1150
- 'reset' => [
1151
- 'title' => __('Reset Buttonizer', 'buttonizer-multifunctional-button'),
1152
- 'description' => __('If you need a clean install', 'buttonizer-multifunctional-button'),
1153
- 'info' => __('This is a way to reset Buttonizer to the default settings.', 'buttonizer-multifunctional-button'),
1154
-
1155
- 'what_will_happen' => [
1156
- 'title' => __('What will happen when I click the red button below?', 'buttonizer-multifunctional-button'),
1157
- 'info' => __('The plugin will get a \'factory reset\'. All settings of Buttonizer will get deleted, reverting back to when you first installed and activated Buttonizer.', 'buttonizer-multifunctional-button'),
1158
- ],
1159
-
1160
- 'why' => [
1161
- 'title' => __('Why would I do that?', 'buttonizer-multifunctional-button'),
1162
- 'info' => __('Perhaps you ruined your buttons, categories or settings and would like to start from scratch. Or maybe you just feel trying the reset button...', 'buttonizer-multifunctional-button'),
1163
- ],
1164
-
1165
- 'license' => [
1166
- 'title' => __('I have a license, what about that?', 'buttonizer-multifunctional-button'),
1167
- 'info' => __('No worries! Nothing will happen with your license! It only resets the following:', 'buttonizer-multifunctional-button'),
1168
-
1169
- 'list' => [
1170
- 'buttons' => __('Your buttons', 'buttonizer-multifunctional-button'),
1171
- 'groups' => __('Your button groups', 'buttonizer-multifunctional-button'),
1172
- 'time_schedules' => __('All time schedules', 'buttonizer-multifunctional-button'),
1173
- 'page_rules' => __('All page rules', 'buttonizer-multifunctional-button'),
1174
- 'settings' => __('All other settings of Buttonizer', 'buttonizer-multifunctional-button'),
1175
- 'published' => __('All published settings', 'buttonizer-multifunctional-button'),
1176
- ]
1177
- ],
1178
-
1179
- 'default_settings' => [
1180
- 'title' => __('Okay, sounds good. What then?', 'buttonizer-multifunctional-button'),
1181
- 'info' => __('Buttonizer will revert back to the default settings and feel like a fresh installation. That\'s all.', 'buttonizer-multifunctional-button'),
1182
- ],
1183
-
1184
- 'ready' => [
1185
- 'title' => __('Okay, I\'m ready!', 'buttonizer-multifunctional-button'),
1186
- 'info' => __('Press the red button below to reset Buttonizer. There will be no more warnings.', 'buttonizer-multifunctional-button'),
1187
- 'button' => __('Reset Buttonizer!', 'buttonizer-multifunctional-button'),
1188
- ],
1189
- ]
1190
- ];
1191
- }
1192
-
1193
- /**
1194
- * Top bar
1195
- *
1196
- * @return array
1197
- */
1198
- private function bar()
1199
- {
1200
- return [
1201
- 'previous_session' => __('Loaded changes from previous session', 'buttonizer-multifunctional-button'),
1202
- 'edit_group_settings' => __('Edit group settings', 'buttonizer-multifunctional-button'),
1203
- 'preview' => [
1204
- 'no_changes' => __('You probably have clicked a link, this made you leave the preview window of Buttonizer. You cannot see your changes here.', 'buttonizer-multifunctional-button'),
1205
- 'return' => __('Return to preview', 'buttonizer-multifunctional-button'),
1206
- 'desktop' => __('Desktop preview', 'buttonizer-multifunctional-button'),
1207
- 'tablet' => __('Tablet preview', 'buttonizer-multifunctional-button'),
1208
- 'mobile' => __('Mobile preview', 'buttonizer-multifunctional-button'),
1209
- ],
1210
- 'breadcrumb' => [
1211
- 'home' => __('Home', 'buttonizer-multifunctional-button'),
1212
- 'tippy_home' => __('Back to overview', 'buttonizer-multifunctional-button'),
1213
- 'tippy_group' => __('Back to group', 'buttonizer-multifunctional-button'),
1214
- ],
1215
- 'menu' => [
1216
- 'version' => sprintf(
1217
- // translators: %s becomes version number (eg 2.4.2)
1218
- __('Version %s', 'buttonizer-multifunctional-button'),
1219
- BUTTONIZER_VERSION
1220
- ),
1221
- 'knowledgebase' => [
1222
- 'title' => __('Knowledge base', 'buttonizer-multifunctional-button'),
1223
- 'description' => __('Find out everything you need to know about Buttonizer', 'buttonizer-multifunctional-button'),
1224
- ],
1225
- // Support
1226
- 'support_group' => __('Support', 'buttonizer-multifunctional-button'),
1227
- 'support' => [
1228
- 'title' => __('I need support', 'buttonizer-multifunctional-button'),
1229
- 'description' => __('Direct support with the Buttonizer developers', 'buttonizer-multifunctional-button'),
1230
- ],
1231
- 'community' => [
1232
- 'title' => __('Community', 'buttonizer-multifunctional-button'),
1233
- 'description' => __('Interact with other Buttonizers', 'buttonizer-multifunctional-button'),
1234
- ],
1235
- 'tour' => [
1236
- 'title' => __('Buttonizer tour (recommended!)', 'buttonizer-multifunctional-button'),
1237
- 'description' => __('Start the 2 minute tour', 'buttonizer-multifunctional-button'),
1238
- ],
1239
-
1240
- // Back to WordPress
1241
- 'wp_admin' => __('Back to the WordPress dashboard', 'buttonizer-multifunctional-button'),
1242
-
1243
- // Follow us
1244
- 'follow' => __('Follow us for useful tips & tricks!', 'buttonizer-multifunctional-button'),
1245
-
1246
- // Account
1247
- 'account_group' => __('Buttonizer account', 'buttonizer-multifunctional-button'),
1248
- 'account' => [
1249
- 'title' => __('My Account', 'buttonizer-multifunctional-button'),
1250
- 'description' => __('View your license and account details', 'buttonizer-multifunctional-button'),
1251
- ],
1252
- 'upgrade' => [
1253
- 'title' => __('Upgrade or pricing', 'buttonizer-multifunctional-button'),
1254
- 'description' => __('A deep dive in all the possibilities', 'buttonizer-multifunctional-button'),
1255
- ],
1256
- 'affiliation' => [
1257
- 'title' => __('Affiliation', 'buttonizer-multifunctional-button'),
1258
- 'description' => __('Earn $ by promoting Buttonizer', 'buttonizer-multifunctional-button'),
1259
- ],
1260
- 'options' => [
1261
- 'title' => __('Options', 'buttonizer-multifunctional-button')
1262
- ],
1263
- ],
1264
- 'buttons' => [
1265
- 'now_editing' => __('Now editing:', 'buttonizer-multifunctional-button'),
1266
- 'tippy_new_group' => __('This creates a new group with 2 buttons inside.', 'buttonizer-multifunctional-button'),
1267
- 'tippy_single_button' => __('This creates a new button, outside other groups.', 'buttonizer-multifunctional-button'),
1268
- 'tippy_learn_more' => __('Learn more about groups and buttons', 'buttonizer-multifunctional-button'),
1269
- 'tippy_drag_warning' => __('You can\'t drag the only button left in a group!', 'buttonizer-multifunctional-button'),
1270
- 'convert_to_group' => __('Convert to group', 'buttonizer-multifunctional-button'),
1271
- ]
1272
- ];
1273
- }
1274
-
1275
- /**
1276
- * Page rules
1277
- *
1278
- * @return array
1279
- */
1280
- private function page_rules()
1281
- {
1282
- return [
1283
- 'name' => __('Page rules', 'buttonizer-multifunctional-button'),
1284
- 'menu_description' => __('Choose on which page you want to show a button (group)', 'buttonizer-multifunctional-button'),
1285
- 'window_title' => __('Page Rule Manager', 'buttonizer-multifunctional-button'),
1286
- 'window_description' => __('You can setup page rules via this window. When you add pages or definitions to this page rule, the buttons attached to this page rule will be shown or hidden depending on their settings as soon this rule is triggered.', 'buttonizer-multifunctional-button'),
1287
- 'pro_description' => __('You can setup page rules that will get triggered on specific pages or user roles. You can create unlimited page rules with multiple rules to trigger.', 'buttonizer-multifunctional-button'),
1288
- 'add_page_rule' => __('Add page rule', 'buttonizer-multifunctional-button'),
1289
- 'name_your_page_rule' => __('Name your page rule:', 'buttonizer-multifunctional-button'),
1290
- 'single_name' => __('Page rule', 'buttonizer-multifunctional-button'),
1291
- 'input_any_page' => __('Show the button on any page', 'buttonizer-multifunctional-button'),
1292
- 'remove_page_rule' => __('Remove page rule', 'buttonizer-multifunctional-button'),
1293
- 'open_settings' => __('Open Page Rules settings', 'buttonizer-multifunctional-button'),
1294
- 'current_page_rule' => __('Current page rule', 'buttonizer-multifunctional-button'),
1295
- 'behaviour' => __('Page rule conditions behaviour', 'buttonizer-multifunctional-button'),
1296
- 'trigger' => __('Triggers when ONE of the selected values is true', 'buttonizer-multifunctional-button'),
1297
-
1298
- 'conditions' => [
1299
- 'title' => __('Conditions', 'buttonizer-multifunctional-button'),
1300
- 'show_group_on' => __('Show group when this page rule is activated', 'buttonizer-multifunctional-button'),
1301
- 'hide_group_on' => __('Hide group when this page rule is activated', 'buttonizer-multifunctional-button'),
1302
- 'show_button_on' => __('Show button when this page rule is activated', 'buttonizer-multifunctional-button'),
1303
- 'hide_button_on' => __('Hide button when this page rule is activated', 'buttonizer-multifunctional-button'),
1304
- 'add' => __('Add condition', 'buttonizer-multifunctional-button')
1305
- ],
1306
-
1307
- // No Page Rule
1308
- 'empty' => [
1309
- 'page' => __('No page rules', 'buttonizer-multifunctional-button'),
1310
- 'selected' => __('No page rule selected', 'buttonizer-multifunctional-button'),
1311
- 'rules' => __('There are no rules for this page rule. All buttons attached to this page rule will be visible. Press \'Add condition\' to add one!', 'buttonizer-multifunctional-button'),
1312
- ],
1313
-
1314
- // Types
1315
- 'types' => [
1316
- 'must_meet' => __('All conditions must meet (AND)', 'buttonizer-multifunctional-button'),
1317
- 'one_meets' => __('At least one condition must meet (OR)', 'buttonizer-multifunctional-button'),
1318
- ],
1319
-
1320
- // Rules and/or
1321
- 'rule_and' => __('and', 'buttonizer-multifunctional-button'),
1322
- 'rule_or' => __('or', 'buttonizer-multifunctional-button'),
1323
-
1324
- 'rules' => [
1325
- 'page' => __('Page', 'buttonizer-multifunctional-button'),
1326
- 'page_title' => __('Page title contains', 'buttonizer-multifunctional-button'),
1327
- 'blog' => __('Blog', 'buttonizer-multifunctional-button'),
1328
- 'blog_title' => __('Blog title contains', 'buttonizer-multifunctional-button'),
1329
- 'category' => __('Category', 'buttonizer-multifunctional-button'),
1330
- 'url_match' => __('URL match', 'buttonizer-multifunctional-button'),
1331
- 'url_match_exact' => __('Exact URL match', 'buttonizer-multifunctional-button'),
1332
- 'url_contains' => __('URL contains', 'buttonizer-multifunctional-button'),
1333
- 'url_starts' => __('URL begins with', 'buttonizer-multifunctional-button'),
1334
- 'url_ends' => __('URL ends with', 'buttonizer-multifunctional-button'),
1335
- 'url_regex' => __('URL regular expression', 'buttonizer-multifunctional-button'),
1336
- 'user_roles' => __('User has role', 'buttonizer-multifunctional-button'),
1337
- 'user_logged_in' => __('User is signed in', 'buttonizer-multifunctional-button'),
1338
- 'user_logged_out' => __('User is signed out', 'buttonizer-multifunctional-button'),
1339
- ],
1340
-
1341
- 'rules_group' => [
1342
- 'content_based' => __('Content based', 'buttonizer-multifunctional-button'),
1343
- 'url' => __('Url', 'buttonizer-multifunctional-button'),
1344
- 'users' => __('Users', 'buttonizer-multifunctional-button'),
1345
- ],
1346
-
1347
- 'debug' => [
1348
- 'title' => __('Debug', 'buttonizer-multifunctional-button'),
1349
- 'test' => __('Test out this page rule', 'buttonizer-multifunctional-button'),
1350
- 'invalid' => __('This URL appears to be invalid. You need to use the whole URL of your page.', 'buttonizer-multifunctional-button'),
1351
- 'example' => sprintf(
1352
- // translators: %1$s becomes site url
1353
- __('It should look something like %1$s', 'buttonizer-multifunctional-button'),
1354
- "{0}"
1355
- ),
1356
- 'user_roles' => __('User role test', 'buttonizer-multifunctional-button'),
1357
- 'debug_page' => __('Debug page', 'buttonizer-multifunctional-button'),
1358
- 'triggered' => __('This Page Rule is triggered', 'buttonizer-multifunctional-button'),
1359
- 'not_triggered' => __('This Page Rule is not triggered', 'buttonizer-multifunctional-button'),
1360
-
1361
- 'one_met' => __('One or more conditions were met', 'buttonizer-multifunctional-button'),
1362
- 'all_met' => __('All conditions were met', 'buttonizer-multifunctional-button'),
1363
-
1364
- 'one_not_met' => __('One or more conditions were not met', 'buttonizer-multifunctional-button'),
1365
- 'all_not_met' => __('All conditions were not met', 'buttonizer-multifunctional-button'),
1366
-
1367
- 'type' => __('Condition type', 'buttonizer-multifunctional-button'),
1368
- 'set_value' => __('Condition value', 'buttonizer-multifunctional-button'),
1369
- 'got_value' => __('Received value', 'buttonizer-multifunctional-button'),
1370
- 'trigger' => __('Triggered', 'buttonizer-multifunctional-button'),
1371
-
1372
- ],
1373
-
1374
- 'select_items' => __('Select one or more items.', 'buttonizer-multifunctional-button'),
1375
- 'remove_rule' => __('Are you sure you want to remove this rule?', 'buttonizer-multifunctional-button'),
1376
- 'remove_rule_aborted' => __('Aborted. Each page rule must keep at least one rule.', 'buttonizer-multifunctional-button'),
1377
- 'warning_changing_rule' => __('You still have selected values, are you sure you want to remove this?', 'buttonizer-multifunctional-button'),
1378
- 'rule_value' => __('Rule value', 'buttonizer-multifunctional-button'),
1379
- ];
1380
- }
1381
-
1382
- /**
1383
- * Time schedules
1384
- *
1385
- * @return array
1386
- */
1387
- private function time_schedules()
1388
- {
1389
- return [
1390
- 'name' => __('Time schedules', 'buttonizer-multifunctional-button'),
1391
- 'menu_description' => __('For example: Show a call me now button only on opening times', 'buttonizer-multifunctional-button'),
1392
- 'single_name' => __('Time schedule', 'buttonizer-multifunctional-button'),
1393
- 'window_title' => __('Time schedule manager', 'buttonizer-multifunctional-button'),
1394
- 'pro_description' => __('You can setup time schedules that will get triggered during specific times of a day. It is even possible to change the schedule actions for specific days. You can create an unlimited amount of schedules.', 'buttonizer-multifunctional-button'),
1395
- 'open_settings' => __('Open time schedule settings', 'buttonizer-multifunctional-button'),
1396
- 'current_time_schedule' => __('Current time schedules:', 'buttonizer-multifunctional-button'),
1397
-
1398
- 'empty' => [
1399
- 'page' => __('You have no time schedules', 'buttonizer-multifunctional-button'),
1400
- 'selected' => __('No time schedule selected', 'buttonizer-multifunctional-button'),
1401
- ],
1402
-
1403
- 'dates' => __('Dates', 'buttonizer-multifunctional-button'),
1404
-
1405
- // Schedule
1406
- 'add_schedule' => __('Add time schedule', 'buttonizer-multifunctional-button'),
1407
- 'add_date' => __('Add date', 'buttonizer-multifunctional-button'),
1408
- 'new_schedule' => __('New schedule', 'buttonizer-multifunctional-button'),
1409
- 'name_schedule' => __('Name the new time schedule:', 'buttonizer-multifunctional-button'),
1410
- 'rename_schedule' => __('Rename schedule to:', 'buttonizer-multifunctional-button'),
1411
- 'show_any_time' => __('Show the button at any time', 'buttonizer-multifunctional-button'),
1412
-
1413
- // translators: 'till' as in '10:00 till 11:30'
1414
- 'till' => __('till', 'buttonizer-multifunctional-button'),
1415
-
1416
- 'conditions' => [
1417
- 'show_group_on' => __('Show group when this time schedule is activated', 'buttonizer-multifunctional-button'),
1418
- 'hide_group_on' => __('Hide group when this time schedule is activated', 'buttonizer-multifunctional-button'),
1419
- 'show_button_on' => __('Show button when this time schedule is activated', 'buttonizer-multifunctional-button'),
1420
- 'hide_button_on' => __('Hide button when this time schedule is activated', 'buttonizer-multifunctional-button'),
1421
- ],
1422
-
1423
- 'trigger' => [
1424
- 'trigger' => __('Trigger on', 'buttonizer-multifunctional-button'),
1425
- 'dont_trigger' => __('Don\'t trigger on', 'buttonizer-multifunctional-button')
1426
- ],
1427
-
1428
- // Remove
1429
- 'remove_schedule' => __('Remove schedule', 'buttonizer-multifunctional-button'),
1430
- 'must_keep_one' => __('You must keep at least one schedule', 'buttonizer-multifunctional-button'),
1431
- 'current_timezone' => __('Current timezone:', 'buttonizer-multifunctional-button'),
1432
-
1433
- 'remove_date' => [
1434
- 'title' => __('Remove date', 'buttonizer-multifunctional-button'),
1435
- 'message' => __('Are you sure you want to remove this date?', 'buttonizer-multifunctional-button'),
1436
- ],
1437
-
1438
- // Errors
1439
- 'errors' => [
1440
- 'time_invalid' => sprintf(
1441
- // translators: The strings will be replaced with time (example: 10:10)
1442
- __('Sorry, the time \'%1$s\' was invalid. Reverting back to \'%2$s\'.', 'buttonizer-multifunctional-button'),
1443
- '{0}',
1444
- '{1}'
1445
- ),
1446
-
1447
- 'time_overlap_start' => sprintf(
1448
- // translators: The strings will be replaced with time (example: 10:10)
1449
- __('The start time \'%1$s\' conflicts with the end time \'%2$s\'. Time has been reverted to \'%3$s\'. Make sure you have at least 5 minutes overlap.', 'buttonizer-multifunctional-button'),
1450
- '{0}',
1451
- '{1}',
1452
- '{2}'
1453
- ),
1454
-
1455
- 'time_overlap_end' => sprintf(
1456
- // translators: The strings will be replaced with time (example: 10:10)
1457
- __('The end time \'%1$s\' conflicts with the start time \'%2$s\'. Time has been reverted to \'%3$s\'. Make sure you have at least 5 minutes overlap.', 'buttonizer-multifunctional-button'),
1458
- '{0}',
1459
- '{1}',
1460
- '{2}'
1461
- ),
1462
- ],
1463
-
1464
- // Weekdays
1465
- 'weekdays' => [
1466
- 'title' => __('Weekdays', 'buttonizer-multifunctional-button'),
1467
- 'monday' => __('Monday', 'buttonizer-multifunctional-button'),
1468
- 'tuesday' => __('Tuesday', 'buttonizer-multifunctional-button'),
1469
- 'wednesday' => __('Wednesday', 'buttonizer-multifunctional-button'),
1470
- 'thursday' => __('Thursday', 'buttonizer-multifunctional-button'),
1471
- 'friday' => __('Friday', 'buttonizer-multifunctional-button'),
1472
- 'saturday' => __('Saturday', 'buttonizer-multifunctional-button'),
1473
- 'sunday' => __('Sunday', 'buttonizer-multifunctional-button'),
1474
- ],
1475
-
1476
- 'exclude' => [
1477
- 'title' => __('Excluded Dates', 'buttonizer-multifunctional-button'),
1478
- 'add' => __('Add Excluded Date', 'buttonizer-multifunctional-button'),
1479
- 'info' => __('Add specific dates to show or hide the buttons attached to this time scheme. For example: "My store is open on January 22th until 22:00 (10 PM) because of some special evening we organize." The rule will overwrite the default settings for that day.', 'buttonizer-multifunctional-button'),
1480
- ],
1481
-
1482
- // Trigger from
1483
- 'input_start' => [
1484
- 'label' => __('Start triggering buttons from', 'buttonizer-multifunctional-button'),
1485
- 'helper' => __('Start Date', 'buttonizer-multifunctional-button'),
1486
-
1487
- 'error' => sprintf(
1488
- // translators: The string will become a date
1489
- __('Warning! Your start date \'%s\' hast past the end date of this schedule. If you do not change this date the schedule will not work.', 'buttonizer-multifunctional-button'),
1490
- '{0}'
1491
- )
1492
- ],
1493
-
1494
- // Trigger until
1495
- 'input_end' => [
1496
- 'label' => __('Stop triggering buttons after (optional)', 'buttonizer-multifunctional-button'),
1497
- 'helper' => __('Click to add ending date', 'buttonizer-multifunctional-button'),
1498
- 'placeholder_empty' => __('Select a date in the datepicker below', 'buttonizer-multifunctional-button'),
1499
- 'error' => sprintf(
1500
- // translators: The string will become a date
1501
- __('Warning! Your end date \'%s\' has past the start date of this schedule. If you do not change this date the schedule will not work.', 'buttonizer-multifunctional-button'),
1502
- '{0}'
1503
- )
1504
- ],
1505
- ];
1506
- }
1507
-
1508
- /**
1509
- * Saving
1510
- *
1511
- * @return array
1512
- */
1513
- private function migration()
1514
- {
1515
- return [
1516
- 'title' => __('Hi Buttonizer!', 'buttonizer-multifunctional-button'),
1517
- 'intro' => __('It appears you\'ve installed Buttonizer 2.0 before. But, you installed version 1.5 again later on and updated back to 2.0!', 'buttonizer-multifunctional-button'),
1518
- 'convert' => __('The migration progress did not run as it did back then. In order to convert your buttons, press the button below!', 'buttonizer-multifunctional-button'),
1519
- 'popping_up' => sprintf(
1520
- // translators: %1$s and %2$s will become HTML icons as preview
1521
- __('If this window keeps popping up, even when you\'ve tried to convert the buttons, try to reset Buttonizer. Go to the \'cog\' icon (%1$s) on the top bar, select \'Options %2$s\' and the tab \'Reset\' and follow the instructions.', 'buttonizer-multifunctional-button'),
1522
- '<i class="fas fa-cog"></i>',
1523
- '<i class="fas fa-cogs"></i>'
1524
- ),
1525
- 'convert_buttons' => __('Convert my buttons!', 'buttonizer-multifunctional-button'),
1526
- ];
1527
- }
1528
-
1529
- /**
1530
- * Saving
1531
- *
1532
- * @return array
1533
- */
1534
- private function import_export()
1535
- {
1536
- return [
1537
- 'import' => [
1538
- 'title' => __('Import', 'buttonizer-multifunctional-button'),
1539
- 'select_please' => __('Please select a Buttonizer export file.', 'buttonizer-multifunctional-button'),
1540
- 'select_click' => __('Click or drop a JSON export file', 'buttonizer-multifunctional-button'),
1541
- 'into_group' => [
1542
- 'button' => __('Import into this group', 'buttonizer-multifunctional-button'),
1543
- 'text' => __('Import buttons or replace this group.', 'buttonizer-multifunctional-button'),
1544
- ],
1545
- 'new_group' => [
1546
- 'group' => __('Import group', 'buttonizer-multifunctional-button'),
1547
- 'button' => __('Import button', 'buttonizer-multifunctional-button'),
1548
- 'text' => __('Import a new group.', 'buttonizer-multifunctional-button'),
1549
- ],
1550
- 'reupload' => __('Re-upload file', 'buttonizer-multifunctional-button'),
1551
- 'drag_drop' => __('Drop export file here', 'buttonizer-multifunctional-button'),
1552
- 'warning' => [
1553
- 'replace' => __('You are about to <b>replace</b> this group with:', 'buttonizer-multifunctional-button'),
1554
- 'preview' => __('What you are about to import:', 'buttonizer-multifunctional-button'),
1555
- 'invalid' => __('This file is not a Buttonizer file.', 'buttonizer-multifunctional-button'),
1556
- 'malformed' => __('The file you have selected is malformed or the file is not a Buttonizer file.', 'buttonizer-multifunctional-button'),
1557
- 'no_buttons' => __('This group does not have any buttons to import.', 'buttonizer-multifunctional-button'),
1558
- ],
1559
- ],
1560
- "properties" => __('properties', 'buttonizer-multifunctional-button'),
1561
- 'export' => [
1562
- 'title' => __('Export', 'buttonizer-multifunctional-button'),
1563
- 'export_button' => __('Export button', 'buttonizer-multifunctional-button'),
1564
- 'export_group' => __('Export group', 'buttonizer-multifunctional-button'),
1565
- 'merge' => __('Merge with group style', 'buttonizer-multifunctional-button'),
1566
- 'warning' => [
1567
- 'preview' => __('What you are about to export:', 'buttonizer-multifunctional-button'),
1568
- 'no_buttons' => __('This group does not have any buttons to export.', 'buttonizer-multifunctional-button'),
1569
- 'no_data' => __('This button does not have any data to export.', 'buttonizer-multifunctional-button'),
1570
- ],
1571
- ],
1572
- 'import_export' => __('Import & Export', 'buttonizer-multifunctional-button'),
1573
- ];
1574
- }
1575
-
1576
- /**
1577
- * Random Tips
1578
- *
1579
- * @return array
1580
- */
1581
- private function random_tips()
1582
- {
1583
- return [
1584
- 'tip_1' => __('Did you know that Buttonizer has different group-styles you can use?', 'buttonizer-multifunctional-button'),
1585
- 'tip_2' => __('Click on the buttons to manage their settings', 'buttonizer-multifunctional-button'),
1586
- 'tip_3' => __('Give your buttons a color', 'buttonizer-multifunctional-button'),
1587
- 'tip_4' => __('A button can only have one action, but you can choose out more than 25 actions!', 'buttonizer-multifunctional-button'),
1588
- 'tip_5' => __('Turn off these tips in settings', 'buttonizer-multifunctional-button'),
1589
- 'tip_6' => __('You can show more than 7 buttons by enabling it in Preferences ;)', 'buttonizer-multifunctional-button'),
1590
- 'tip_7' => __('Paste the HEX-code in the colorpicker if you want to use a specific color', 'buttonizer-multifunctional-button'),
1591
- 'tip_8' => __('Playing smart with \'Show on desktop\' and \'Show on mobile\' will give you up to 14 buttons per page!', 'buttonizer-multifunctional-button'),
1592
- 'tip_9' => __('You can use Page Rules to show or hide buttons on certain pages', 'buttonizer-multifunctional-button'),
1593
- 'tip_10' => __('You can use the social share button action to let a visitor share your webpage', 'buttonizer-multifunctional-button'),
1594
- 'tip_11' => __('Do you need a tool-tip? ;)', 'buttonizer-multifunctional-button'),
1595
- 'tip_12' => __('You can style the main big button by editting the group', 'buttonizer-multifunctional-button'),
1596
- 'tip_13' => __('You can add a class or id HTML-attribute to a group and a button', 'buttonizer-multifunctional-button'),
1597
- 'tip_14' => __('Want to make a new similar button? Duplicate your button!', 'buttonizer-multifunctional-button'),
1598
- 'tip_15' => __('If you have a great tip, let us know! We\'ll add it :)', 'buttonizer-multifunctional-button'),
1599
- 'tip_16' => __('Pssst, click on the group/button name on top', 'buttonizer-multifunctional-button'),
1600
- 'tip_17' => __('Exit Intent... This is where the fun begins!', 'buttonizer-multifunctional-button'),
1601
- 'tip_18' => __('With our brand new color picker you can build a personalized palette, create a color scale and blend colors', 'buttonizer-multifunctional-button'),
1602
- 'tip_19' => __('Premium users just need one license key for their production environment and development environment', 'buttonizer-multifunctional-button'),
1603
- 'tip_20' => __('Give more roles permission to access Buttonizer\'s dashboard in Preferences!', 'buttonizer-multifunctional-button'),
1604
- 'tip_21' => __('Easily edit a specific button by hovering on them on the preview', 'buttonizer-multifunctional-button'),
1605
- 'tip_22' => __('Add a custom text when using Social Sharing actions!', 'buttonizer-multifunctional-button'),
1606
- 'tip_23' => __('Buttonizer also supports languages that are written from right-to-left :)', 'buttonizer-multifunctional-button'),
1607
- ];
1608
- }
1609
-
1610
- /**
1611
- * Saving
1612
- *
1613
- * @return array
1614
- */
1615
- private function premium()
1616
- {
1617
- return [
1618
- 'modal' => [
1619
- 'title' => __('Premium feature', 'buttonizer-multifunctional-button'),
1620
- 'describe' => __('Hi there, this function is a premium feature. We will describe what this feature will do:', 'buttonizer-multifunctional-button'),
1621
- 'what_do_i_get' => __('What you get as a premium user:', 'buttonizer-multifunctional-button'),
1622
- 'go_pro' => __('Go pro', 'buttonizer-multifunctional-button'),
1623
-
1624
- 'list' => [
1625
- 'button_sizes' => __('Change the size of the buttons and groups', 'buttonizer-multifunctional-button'),
1626
- 'time_schedules' => __('Show button(groups) using the advanced time schedules', 'buttonizer-multifunctional-button'),
1627
- 'page_rules' => __('Show button(groups) on specific pages using advanced page rules', 'buttonizer-multifunctional-button'),
1628
- 'button_groups' => __('Create multiple button groups', 'buttonizer-multifunctional-button'),
1629
- 'custom_images' => __('Custom button background &amp; icon image', 'buttonizer-multifunctional-button'),
1630
- 'exit_intent' => __('Exit intent', 'buttonizer-multifunctional-button'),
1631
- 'show_on_scroll' => __('Show or hide on scroll', 'buttonizer-multifunctional-button'),
1632
- 'show_on_timeout' => __('Show on timeout', 'buttonizer-multifunctional-button'),
1633
- 'custom_class' => __('Be able to set CSS class names and button IDs', 'buttonizer-multifunctional-button'),
1634
- 'javascript' => __('Execute javascript on button clicks', 'buttonizer-multifunctional-button'),
1635
- ]
1636
- ],
1637
- 'time_schedules' => [
1638
- 'first_time_schedule' => __('My first time schedule', 'buttonizer-multifunctional-button')
1639
- ],
1640
-
1641
- 'warning_duplicate' => __('Duplicating buttons is disabled for free version', 'buttonizer-multifunctional-button'),
1642
-
1643
- 'page_rules' => [
1644
- 'first_page_rule' => __('My first page rule', 'buttonizer-multifunctional-button')
1645
- ],
1646
- 'menu_styles' => [
1647
- 'text' => __("This menu style will remove the icon and add the label into the button, making it one long button.", 'buttonizer-multifunctional-button'),
1648
- 'text-icon' => __("This menu style will add the label into the button with an icon, making it one long button.", 'buttonizer-multifunctional-button')
1649
- ],
1650
- 'multiple_button_groups' => __('You are able to add multiple groups on different positions', 'buttonizer-multifunctional-button'),
1651
- 'custom_image' => __('You can select images and set them as icon or as button background image.', 'buttonizer-multifunctional-button'),
1652
- 'show_on_timeout' => __('With this setting, you can make your button appear/hide after certain amount of time.', 'buttonizer-multifunctional-button'),
1653
- 'show_on_scroll' => __('With this setting, you can make your button appear/hide after scrolling for a certain amount.', 'buttonizer-multifunctional-button'),
1654
- 'add_animation_settings' => __('With this setting, you can change your animation settings like delay and repeat count.', 'buttonizer-multifunctional-button'),
1655
- 'font_family' => __('With this setting, you can change the font family of the label. You choose a font add your custom font.', 'buttonizer-multifunctional-button'),
1656
- 'margin' => __('With this setting, you can change the margin of the label. Change the position of the label relative to it\'s button', 'buttonizer-multifunctional-button'),
1657
- 'padding' => __('With this setting, you can change the size of the label.', 'buttonizer-multifunctional-button')
1658
- ];
1659
- }
1660
-
1661
- /**
1662
- * Tour
1663
- *
1664
- * @return array
1665
- */
1666
- private function buttonizer_tour()
1667
- {
1668
- return [
1669
- 'title_interface_tour' => __('Welcome to Buttonizer!', 'buttonizer-multifunctional-button'),
1670
- 'intro_interface_tour' => sprintf(
1671
- __('We\'ve created a tour for our new Buzzers. Would you like to take the tour? If not, feel free to watch a tour whenever you want. You can find all of our tours in the <b>%1$s</b> of Buttonizer.', 'buttonizer-multifunctional-button'),
1672
- '{0}'
1673
- ),
1674
- 'title_new_features_tour' => __('What\'s New?', 'buttonizer-multifunctional-button'),
1675
- 'intro_new_features_tour' => sprintf(
1676
- __('Keep up-to-date with the newest releases, feature updates, and news from Buttonizer by following this short tour. Do not worry if you can not follow it right now! You can find this tour in the <b>%1$s</b> of Buttonizer.', 'buttonizer-multifunctional-button'),
1677
- '{0}'
1678
- ),
1679
- 'already_know' => __('No, thanks', 'buttonizer-multifunctional-button'),
1680
- 'take_tour' => __('Let\'s go', 'buttonizer-multifunctional-button'),
1681
- 'previous' => __('Previous', 'buttonizer-multifunctional-button'),
1682
- 'next' => __('Next', 'buttonizer-multifunctional-button'),
1683
- 'done' => __('Done', 'buttonizer-multifunctional-button'),
1684
-
1685
- 'final' => [
1686
- 'title' => __('That was it! ', 'buttonizer-multifunctional-button'),
1687
- 'intro' => sprintf(
1688
- __('Thank you for taking the tour! If you have any questions, ask them on the <b>%s</b> forums. And if you have any feedback regarding the Buttonizer Tour, we\'d love to hear it :) Enjoy Buttonizing!', 'buttonizer-multifunctional-button'),
1689
- '<a href="https://community.buttonizer.pro" target="_blank">Buttonizer Community</a>'
1690
- ),
1691
- ],
1692
-
1693
- 'interface_tour' => [
1694
- 'step_0' => [
1695
- 'title' => __('Group', 'buttonizer-multifunctional-button'),
1696
- 'intro' => __('A group can have multiple buttons that work separately from each other. This group contains your first Buttonizer button! Click on “Add button” to add more buttons to this group.', 'buttonizer-multifunctional-button'),
1697
- ],
1698
-
1699
- 'step_1' => [
1700
- 'title' => __('Settings', 'buttonizer-multifunctional-button'),
1701
- 'intro' => __('Let\'s go to the settings of the group to view the different configurations.', 'buttonizer-multifunctional-button'),
1702
- ],
1703
-
1704
- 'step_2' => [
1705
- 'title' => __('General', 'buttonizer-multifunctional-button'),
1706
- 'intro' => __('The general settings control some basic configuration for your button. You can change the label, position and style of the group here. Make sure the label is short and clear.', 'buttonizer-multifunctional-button'),
1707
- ],
1708
-
1709
- 'step_3' => [
1710
- 'title' => __('Button', 'buttonizer-multifunctional-button'),
1711
- 'intro' => __('Easily customize your button by choosing the color of your button, icon and the color. Make sure the button and text are clearly visible. You can set a different style for the normal and hover state.', 'buttonizer-multifunctional-button')
1712
- ],
1713
-
1714
- 'step_4' => [
1715
- 'title' => __('Navigation', 'buttonizer-multifunctional-button'),
1716
- 'intro' => __(' This button makes navigation between the different buttons easier. You can also go to the group’s settings.', 'buttonizer-multifunctional-button'),
1717
- ],
1718
-
1719
- 'step_5' => [
1720
- 'title' => __('Publish', 'buttonizer-multifunctional-button'),
1721
- 'intro' => __('Adjustments are automatically saved in the editor and won’t be shown on the site. Make sure to click <b>"Publish"</b> to see these changes on your website.', 'buttonizer-multifunctional-button'),
1722
- ],
1723
-
1724
- 'step_6' => [
1725
- 'title' => __('Menu', 'buttonizer-multifunctional-button'),
1726
- 'intro' => __('This menu contains a list of options where you can go to settings, Page Rules and the Buttonizer Community. You can also manage your own account here.', 'buttonizer-multifunctional-button')
1727
- ],
1728
-
1729
- 'step_7' => [
1730
- 'title' => __('Settings', 'buttonizer-multifunctional-button'),
1731
- 'intro' => __('You can change your settings for Buttonizer, including settings for Google Analytics, icon library, preferences and you can reset Buttonizer.', 'buttonizer-multifunctional-button'),
1732
- ],
1733
-
1734
- 'step_8' => [
1735
- 'title' => __('More Buttonizer Tours', 'buttonizer-multifunctional-button'),
1736
- 'intro' => __('We have more tours in store which are more in-depth and will help you improve your experience with Buttonizer even more. Go to <b><a onClick="app.closeButtonizerTour()">settings</a></b> to enjoy another tour!', 'buttonizer-multifunctional-button')
1737
- ],
1738
-
1739
- 'step_9' => [
1740
- 'title' => __('Support', 'buttonizer-multifunctional-button'),
1741
- 'intro' => __('Our support helps you troubleshoot common issues, find solutions, ask questions, and share tips with other Buzzers.', 'buttonizer-multifunctional-button'),
1742
- ],
1743
- ],
1744
-
1745
- 'create_button_tour' => [
1746
- 'step_0' => [
1747
- 'title' => __('New button', 'buttonizer-multifunctional-button'),
1748
- 'intro' => __('If you would like to have a single Floating Action Button that triggers a primary action, then we would advise you to create a single button. ', 'buttonizer-multifunctional-button'),
1749
- ],
1750
-
1751
- 'step_1' => [
1752
- 'title' => __('Settings for button', 'buttonizer-multifunctional-button'),
1753
- 'intro' => __('Let\'s go to the settings of the button to view the different configurations.', 'buttonizer-multifunctional-button'),
1754
- ],
1755
-
1756
- 'step_2' => [
1757
- 'title' => __('General', 'buttonizer-multifunctional-button'),
1758
- 'intro' => __('The general settings control some basic configuration for your button. You can change the action type and the label of the button here.', 'buttonizer-multifunctional-button'),
1759
- ],
1760
-
1761
- 'step_3' => [
1762
- 'title' => __('Button action', 'buttonizer-multifunctional-button'),
1763
- 'intro' => __('The Button action in the general settings specify where to send your website visitors too once you have added an action to the button.', 'buttonizer-multifunctional-button'),
1764
- ],
1765
-
1766
- 'step_4' => [
1767
- 'title' => __('Open URL in:', 'buttonizer-multifunctional-button'),
1768
- 'intro' => __('This feature provides an easy and simple way to open the linked URL of the button action in the same tab, a new browser window or a new tab.', 'buttonizer-multifunctional-button'),
1769
- ],
1770
-
1771
- 'step_5' => [
1772
- 'title' => __('Device visibility', 'buttonizer-multifunctional-button'),
1773
- 'intro' => __('You can decide if your button should be available on mobile devices and/ or on computers.', 'buttonizer-multifunctional-button'),
1774
- ],
1775
-
1776
- 'step_6' => [
1777
- 'title' => __('Label text', 'buttonizer-multifunctional-button'),
1778
- 'intro' => __('You can add and change the text of the label here. Choose a label that is short and clear.', 'buttonizer-multifunctional-button'),
1779
- ],
1780
-
1781
- 'step_7' => [
1782
- 'title' => __('Style your button', 'buttonizer-multifunctional-button'),
1783
- 'intro' => __('If you want to change the colors of your button, then you can go to the tab Style and you will see that the first settings are the color settings for your button.', 'buttonizer-multifunctional-button'),
1784
- ],
1785
-
1786
- 'step_8' => [
1787
- 'title' => __('Normal vs hover', 'buttonizer-multifunctional-button'),
1788
- 'intro' => __('You can set a different button style for the normal and hover state.', 'buttonizer-multifunctional-button'),
1789
- ],
1790
-
1791
- 'step_9' => [
1792
- 'title' => __('Background color', 'buttonizer-multifunctional-button'),
1793
- 'intro' => __('To change the background color of a button, use the color picker. Pick a background color that improves your button\'s readability and usability.', 'buttonizer-multifunctional-button'),
1794
- ],
1795
-
1796
- 'step_10' => [
1797
- 'title' => __('Border radius', 'buttonizer-multifunctional-button'),
1798
- 'intro' => __('You can add rounded corners to a button with the border-radius property. Try to set a single radius to make circular corners.', 'buttonizer-multifunctional-button'),
1799
- ],
1800
-
1801
- 'step_11' => [
1802
- 'title' => __('Icon', 'buttonizer-multifunctional-button'),
1803
- 'intro' => __('Learn how to add a Font Awesome icon to your button.', 'buttonizer-multifunctional-button'),
1804
- ],
1805
-
1806
- 'step_12' => [
1807
- 'title' => __('Icon vs image', 'buttonizer-multifunctional-button'),
1808
- 'intro' => __('Your floating action button can contain an icon that promotes a primary action. You can either select an icon in Buttonizer or import your own image.', 'buttonizer-multifunctional-button'),
1809
- ],
1810
-
1811
- 'step_13' => [
1812
- 'title' => __('Select icon', 'buttonizer-multifunctional-button'),
1813
- 'intro' => __('Pick an icon you would like to see in your button.', 'buttonizer-multifunctional-button'),
1814
- ],
1815
-
1816
- 'step_14' => [
1817
- 'title' => __('Icon size', 'buttonizer-multifunctional-button'),
1818
- 'intro' => __('Change the size of your button icons. Increase or decrease the size of icons relative to that inherited font-size.', 'buttonizer-multifunctional-button'),
1819
- ],
1820
-
1821
- 'step_15' => [
1822
- 'title' => __('Label visibility', 'buttonizer-multifunctional-button'),
1823
- 'intro' => __('You can decide if the label next to the button should be available on mobile devices, computers or on both.', 'buttonizer-multifunctional-button'),
1824
- ],
1825
-
1826
- 'step_16' => [
1827
- 'title' => __('Label position', 'buttonizer-multifunctional-button'),
1828
- 'intro' => __('With label position you can place the label on either side of the button. You can make use of this feature right away to see which position you prefer.', 'buttonizer-multifunctional-button'),
1829
- ],
1830
-
1831
- 'step_17' => [
1832
- 'title' => __('Font family', 'buttonizer-multifunctional-button'),
1833
- 'intro' => __('Choosing the right font is an important step in making your button usable and accessible. Buttonizer automatically grabs the font family from your website, but you can also use the complete set of properties to choose the right font family. ', 'buttonizer-multifunctional-button'),
1834
- ],
1835
-
1836
- 'step_18' => [
1837
- 'title' => __('Margin', 'buttonizer-multifunctional-button'),
1838
- 'intro' => __('With margin you can create more space around your button. Try it out by using pixels or percentages.', 'buttonizer-multifunctional-button'),
1839
- ],
1840
-
1841
- 'step_19' => [
1842
- 'title' => __('Padding', 'buttonizer-multifunctional-button'),
1843
- 'intro' => __('With padding you can control the space between its content and its border. Try it out by using pixels or percentages.', 'buttonizer-multifunctional-button'),
1844
- ],
1845
- ]
1846
- ];
1847
- }
1848
-
1849
- /**
1850
- * Warm welcome!
1851
- *
1852
- * @return array
1853
- */
1854
- private function welcome()
1855
- {
1856
- return [
1857
- 'title' => __('Thanks for using Buttonizer!', 'buttonizer-multifunctional-button'),
1858
- 'intro' => sprintf(
1859
- // translators: %s will become 'Buttonizer'
1860
- __('We are pleased to welcome you to <b>%s</b>!', 'buttonizer-multifunctional-button'),
1861
- 'Buttonizer 2.0'
1862
- ),
1863
- 'super-contributor' => __('Become a SUPER contributor by automatically sending us crash reports and error logs. This way we can bugfix your bugs with the speed of light. Don\'t worry, all data is anonymized.', 'buttonizer-multifunctional-button'),
1864
- 'learn-more' => __('Learn more', 'buttonizer-multifunctional-button'),
1865
- 'no-thanks' => __('No thanks', 'buttonizer-multifunctional-button'),
1866
- 'yes-please' => __('Yes please!', 'buttonizer-multifunctional-button'),
1867
- 'tour' => __('We\'ve created a tour for our new Buzzers. Would you like to take the tour?', 'buttonizer-multifunctional-button'),
1868
- 'already_know' => __('No thanks, I know how it works', 'buttonizer-multifunctional-button'),
1869
- 'take_tour' => __('Yes please', 'buttonizer-multifunctional-button'),
1870
- 'open_menu' => __('Open menu', 'buttonizer-multifunctional-button'),
1871
- 'back_to_overview' => __('Back to Overview', 'buttonizer-multifunctional-button')
1872
- ];
1873
- }
1874
- }
1875
-
1876
- /**
1877
- * This is the end of the document with all strings.
1878
- *
1879
- * It was a lot of work to make Buttonizer translatable.
1880
- *
1881
- * Mail some love to jasper@buttonizer.pro
1882
- */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/dashboard.css CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * Buttonizer is Freemium software. The free version (build) does not contain premium functionality.
11
  *
12
- * (C) 2017-2022 Buttonizer v2.6.1
13
  *
14
  */
15
  /*!
@@ -23,7 +23,7 @@
23
  *
24
  * Buttonizer is Freemium software. The free version (build) does not contain premium functionality.
25
  *
26
- * (C) 2017-2022 Buttonizer v2.6.1
27
  *
28
  */
29
  @import url(https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap);
@@ -34,11 +34,11 @@
34
  .MuiDialog-root #alert-dialog-title i{margin-right:15px;vertical-align:middle}.MuiDialog-root.warning .MuiBackdrop-root{background-color:rgba(93,0,0,.6)}.MuiDialog-root.warning #alert-dialog-title{color:#710909}
35
  .random-tip{background:#fff;border-radius:50px;margin:15px 0;display:flex;flex-flow:row wrap;height:72px;box-shadow:0 1px 1px 0 rgba(60,64,67,.08),0 1px 3px 1px rgba(60,64,67,.16);color:#2e788a}.random-tip .buzz{background:#fdf2e8;position:relative;margin:8px;order:1;height:56px;width:56px;border-radius:60px;box-sizing:border-box}.random-tip .tip{margin:8px 20px 8px 8px;flex:1;order:2;display:flex;align-items:center;font-size:14px}
36
  .knowledgebase-link{color:#2f7789;text-decoration:none}.knowledgebase-link.medium{font-size:14px !important}.knowledgebase-link.small{font-size:12px !important}.knowledgebase-link:hover{text-decoration:underline}.knowledgebase-icon{color:#2f7789}
37
- .button-container{margin:0 0 13px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;padding:10px;border:1px solid #e2e2e2;background-color:#fff}.button-container .button-name{max-width:100%}.button-container .button-name .button-name-span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block;max-width:100%}.button-container .button-name.drag-icon{min-width:10px}.button-container .button-header{display:flex}.button-container .button-header .button-actions{margin-left:auto;flex-shrink:0}.button-container .button-settings{display:flex}.button-container .button-settings .button-title{display:inline-flex;height:30px;align-items:center;margin-right:10px;font-size:14px}.button-container .button-settings button{height:30px}.button-container .button-settings .button-visibility{flex-grow:1}.button-container .button-settings .button-visibility button{width:40px;min-width:40px;margin:0 2px}.button-container .button-settings .button-actions button{min-width:35px}.button-container .button-settings .clear{clear:both}
38
  #group-button-extra-buttons div[class^=MuiListItemIcon-root]{min-width:45px}#group-button-extra-buttons div[class^=MuiListItemIcon-root] .fas,#group-button-extra-buttons div[class^=MuiListItemIcon-root] .far{overflow:unset;font-size:1rem;margin-left:5px;text-align:center}
39
  .button-group-container{padding:10px;margin-bottom:15px;border:2px #fff solid;position:relative}.button-group-container.currentDrop{border:2px #f9bf87 solid}.button-group-container .group-info{display:flex}.button-group-container .group-info .group-arrow{display:inline-block;min-width:17px;text-align:left;font-size:12px}.button-group-container .group-info .group-arrow i{-webkit-transition:all 150ms ease;-moz-transition:all 150ms ease;-ms-transition:all 150ms ease;-o-transition:all 150ms ease;transition:all 150ms ease}.button-group-container .group-info .group-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block}.button-group-container .group-info .group-action-spacer{flex-grow:1}.button-group-container .group-info .group-actions{flex-grow:0;flex-shrink:0;margin-left:20px}.button-group-container .buttons{display:none}.button-group-container.opened .group-info .group-arrow i{transform:rotate(90deg)}.button-group-container.opened .buttons{display:block;border-radius:10px;padding:10px;border:2px #fff solid;transition:border .5s}.button-group-container.opened .buttons.currentDrop{border:2px #f9bf87 solid}.button-group-container.opened .buttons.currentDrop .button-container{opacity:.5}.button-group-container.opened .buttons.currentDrop .button-container.currentDrag{opacity:1}.button-group-container.new-group::before,.button-group-container.new-group::after{content:"";position:absolute;inset:0px;z-index:-1;display:block;background:#f08419;border-radius:10px}.button-group-container.new-group::before{animation:buttonizer-pulse-new-group 1s 0s ease-out}.button-group-container.new-group::after{animation:buttonizer-pulse-new-group 1s .185s ease-out}@keyframes buttonizer-pulse-new-group{0%{opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";margin:0px}5%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}100%{margin:-20px;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}}
40
  .templates-dialog ::-webkit-scrollbar{width:10px}.templates-dialog ::-webkit-scrollbar-track{background:#f1f1f1}.templates-dialog ::-webkit-scrollbar-thumb{background:#888}.templates-dialog ::-webkit-scrollbar-thumb:hover{background:#555}.templates-dialog .MuiDialog-paperFullWidth{padding:30px}.templates-dialog .MuiButton-outlined{background-color:#fff;color:#2a7688;border:1px solid #73a8b4}.templates-dialog .header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;position:relative}.templates-dialog .header .titles h2{color:#2a7688;text-transform:uppercase;font-size:32px}.templates-dialog .header .titles .title{padding:0}.templates-dialog .header .titles .subtitle{margin:0;color:#2a7688;font-weight:normal;font-size:18px}.templates-dialog .header .close-button{cursor:pointer;font-size:24px;color:#2a7688;position:absolute;right:0;top:0}.templates-dialog .container-filter-buttons{padding:8px 55px 0px 24px}.templates-dialog .container-filter-buttons .midsection{display:flex;align-items:center;margin:20px 0 40px;padding:0;border:none;overflow:visible}.templates-dialog .container-filter-buttons .midsection .button-group{min-width:fit-content}.templates-dialog .container-filter-buttons .midsection .button-group .buttons-numbers{margin:10px 20px 20px 0;display:flex}.templates-dialog .container-filter-buttons .midsection .button-group .buttons-numbers .current{background-color:#fce8d4;color:#f08419;border:1px solid #f08419}.templates-dialog .select-all{opacity:0;visibility:hidden}.templates-dialog .select-all.visible{opacity:1;visibility:visible}.search-results{position:absolute;margin-top:-30px}.loading{text-align:center;height:500px;justify-content:center;display:flex}.loading p{font-family:Arial,"Helvetica Neue"}.template{display:grid;grid-template-columns:repeat(auto-fit, 202px);grid-gap:1.5rem;grid-template-rows:repeat(6, 177px);height:500px}.template .type{border:1px solid #2a7688;height:175px;width:200px;color:#2a7688;position:relative;border-radius:5px;display:flex;cursor:pointer;grid-column:1;grid-row:1}.template .type img{max-width:100%;margin:auto;max-height:85%;user-select:none}.template .type .category{position:absolute;top:15px;right:10px;font-size:12px}.template .type .default-option{width:100%;display:flex;align-items:center;flex-direction:column;font-size:14px;align-self:center}.template .type .default-option .fa-plus-circle{font-size:40px;margin-bottom:12px}.template .container{display:grid}.template .container .checkbox{margin:10px 0;transition:all .2s ease-in-out;opacity:1;grid-column:1;grid-row:1;height:24px;width:24px;margin:5px;z-index:1}.template .container .checkbox.hidden{opacity:0;visibility:hidden}.template .container .select{visibility:hidden;opacity:0;display:flex;align-items:center;position:absolute;bottom:0;grid-column-gap:5px;padding:5px 15px;border-top:1px solid #2a7688;border-right:1px solid #2a7688;border-top-right-radius:3px;border-bottom-right-radius:3px;border-top-left-radius:3px;font-size:13px;transition:all .2s ease-in-out}.template .container:hover .select{visibility:visible;opacity:1}.template .container:hover .checkbox.hidden{opacity:1;visibility:visible}
41
- .buttonizer-premium{background:#2d7688;background:-moz-linear-gradient(-45deg, #2d7688 0%, #187287 50%, #187287 50%, #f0841a 51%, #e8832c 98%);background:-webkit-linear-gradient(-45deg, #2d7688 0%, #187287 50%, #187287 50%, #f0841a 51%, #e8832c 98%);background:linear-gradient(135deg, #2d7688 0%, #187287 50%, #187287 50%, #f0841a 51%, #e8832c 98%);filter:progid:DXImageTransform.Microsoft.gradient( startColorstr="#2d7688", endColorstr="#e8832c",GradientType=1 );color:#fff;font-weight:500;font-size:13px;line-height:17px;padding:4px 20px;display:inline-block;vertical-align:middle;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;margin-left:10px}.buttonizer-premium.premium-right{position:absolute;right:30px;top:19px;z-index:9}.buttonizer-premium::after{content:"PRO"}.MuiFormControl-root:not(.MuiTextField-root) .buttonizer-premium{margin-right:15px}
42
  .item-not-found{text-align:center;padding:40px 0}.item-not-found i{font-size:50px;display:block;margin:30px auto}.item-not-found h4{font-size:15px;margin:28px 0}
43
  .tab-bordered{position:relative;z-index:2}.use-main-button-style{padding:5px 15px;display:flex;position:relative}.use-main-button-style:before{height:2px;background:#dfdfdf;content:" ";position:absolute;top:-2px;left:0;right:0;z-index:1}.use-main-button-style .button-label{flex-grow:1;margin-left:-10px}.use-main-button-style>div{width:50px;flex-grow:0}.back-to-group{position:fixed;left:0;width:20px;z-index:1}.back-to-group::before{content:"";position:fixed;left:0;top:0;width:10px;height:100vh;background:#2f7789}.back-to-group a{position:absolute;transform-origin:top left;left:-1px;color:#f08419;text-transform:uppercase;text-decoration:none;padding:1px 8px 1px 8px;display:inline-block;transform:rotate(90deg) translateY(-100%);background-color:#fff;box-shadow:0 1px 1px 0 rgba(60,64,67,.08),0 1px 3px 1px rgba(60,64,67,.16) !important;border-radius:4px 4px 0 0;height:20px;white-space:nowrap;font-weight:500;transition:padding .125s ease,box-shadow .25s ease}.back-to-group a i{margin-right:8px}.back-to-group a:hover{padding:1px 8px 5px 8px;box-shadow:0 1px 1px 0 rgba(60,64,67,.16),0 1px 3px 1px rgba(60,64,67,.32) !important}
44
  .breadcrumb .mdc-select,.breadcrumb button{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:100%;line-height:28px;display:flex;align-items:center;flex-flow:row-reverse;border-radius:4px;padding:0 8px;font-family:Roboto,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:.875rem;font-weight:500;letter-spacing:.08929em;text-decoration:none;text-transform:uppercase}.breadcrumb .mdc-select .fas.fa-chevron-down,.breadcrumb button .fas.fa-chevron-down{color:#fff !important;line-height:3.4;font-size:9px}.breadcrumb .mdc-select input,.breadcrumb .mdc-select .mdc-select__dropdown-icon,.breadcrumb .mdc-select .mdc-select__selected-text,.breadcrumb button input,.breadcrumb button .mdc-select__dropdown-icon,.breadcrumb button .mdc-select__selected-text{position:relative}.breadcrumb .mdc-select .mdc-select__selected-text,.breadcrumb button .mdc-select__selected-text{min-width:fit-content;padding:0 16px 0 0px !important;color:#fff;font-size:12px !important;height:fit-content;border-bottom:none}.breadcrumb .mdc-select .mdc-notched-outline,.breadcrumb button .mdc-notched-outline{display:none}.breadcrumb .mdc-select.mdc-select--outlined .mdc-select__selected-text,.breadcrumb button.mdc-select--outlined .mdc-select__selected-text{padding:0px}.breadcrumb .mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-line-ripple,.breadcrumb button:not(.mdc-select--disabled).mdc-select--focused .mdc-line-ripple{background-color:#eb8119}.button-select-menu .MuiPaper-root{padding-top:6px;min-width:140px}.button-select-menu .MuiPaper-root .breadcrumb-select-options{margin-bottom:6px}
@@ -52,7 +52,7 @@
52
  .color-picker-main{width:100%;display:flex;justify-content:flex-end}.color-picker-main .color-picker{display:flex;width:100%;cursor:pointer;justify-content:flex-end;height:28px}.color-picker-main .color-picker .gpw{width:100%;background:url(./images/transparent.png) repeat;border-radius:5px 0 0 5px;box-shadow:0 1px 1px 0 rgba(60,64,67,.08),0 1px 3px 1px rgba(60,64,67,.16);overflow:hidden;padding:0}.color-picker-main .color-picker .gpw span.color-preview{display:block;height:100%;background:#f08419}.color-picker-main .color-picker .color-button{height:100%;border-radius:0 5px 5px 0;margin-left:1px;margin-right:0px;box-shadow:0 1px 1px 0 rgba(60,64,67,.08),0 1px 3px 1px rgba(60,64,67,.16)}.color-picker-main.small .color-picker{display:inline-flex;width:100%;cursor:pointer;justify-content:flex-end;height:28px}.color-picker-main.small .color-picker .gpw{position:absolute;max-width:92px;border-radius:5px;height:inherit}.color-picker-main.small .color-picker .color-button{height:100%;border-radius:5px;min-width:92px;transition:all 250ms ease-in-out 0s}.gpw .popover .type-selector{margin:3px;width:100%}
53
  .color-picker-container{width:300px;max-width:100%}.color-picker-container .color-container{background:url(./images/transparent.png) repeat}.color-picker-container .color-container .current-color input{height:62px;line-height:62px;text-align:center;color:#fff;font-size:18px;font-weight:500;border:0;padding:0;background:rgba(0,0,0,0);width:100%;border-radius:0;outline:none;font-family:Roboto,sans-serif}.color-picker-container .buttons{text-align:right;padding:5px 10px 10px}.color-picker-container .buttons button{margin-left:5px}.no-select-color-container{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
54
  .slider-container{margin-bottom:15px}.slider-container-input{margin-left:20px;height:28px;max-width:78px;flex-shrink:0}.slider-container-input input{font-size:14px}.slider-container-input input::-webkit-outer-spin-button,.slider-container-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.slider-container-input input[type=number]{-moz-appearance:textfield}.MuiSlider-thumb,.MuiSlider-track{color:#2f7789}
55
- .disable-setting.disabled{position:relative}.disable-setting.disabled .settings{opacity:.5;pointer-events:none}.disable-setting.disabled .disable-content{position:absolute;bottom:0;top:0;left:0;right:0;text-align:center;max-width:100%;color:#2f7789;font-weight:900;display:flex;align-items:center;user-select:none}.disable-setting.disabled .disable-content .buttonizer-premium{margin-right:30px;margin-left:auto}
56
  .textfield-corners-input{height:100%;max-width:80px;padding-right:5px !important;margin:0 !important}.textfield-corners-input.textfield-corners-select{max-width:35px}.textfield-corners-input .MuiSelect-root{font-size:12px;padding:5px 12px 5px 8px !important}.textfield-corners-input .MuiSvgIcon-root{font-size:1rem;right:0;top:50%;transform:translateY(-50%)}.textfield-corners-input input{font-size:14px;padding:5px 8px}.textfield-corners-input input::-webkit-outer-spin-button,.textfield-corners-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.textfield-corners-input input[type=number]{-moz-appearance:textfield}.textfield-corners-input .MuiInputAdornment-root{margin-left:5px}.textfield-corners-input .MuiInputAdornment-root>p{font-size:14px}.textfield-corners-menu li{padding-left:8px;padding-right:8px;font-size:14px}
57
  .box-shadow-input{height:100%;max-width:50px;padding-right:5px !important;margin:0 !important}.box-shadow-input .MuiOutlinedInput-adornedEnd{padding-right:5px}.box-shadow-input .MuiOutlinedInput-adornedEnd input{font-size:14px;padding:7px 5px}.box-shadow-input .MuiOutlinedInput-adornedEnd input::-webkit-outer-spin-button,.box-shadow-input .MuiOutlinedInput-adornedEnd input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.box-shadow-input .MuiOutlinedInput-adornedEnd input[type=number]{-moz-appearance:textfield}.box-shadow-input .MuiOutlinedInput-adornedEnd .box-shadow-input-adornment{color:rgba(0,0,0,.54);font-size:.7rem}.box-shadow-input .MuiInputAdornment-root{margin-left:5px}.box-shadow-input .MuiInputAdornment-root>p{font-size:14px}
58
  .position-buttons-container{margin-bottom:unset}.position-buttons-container .position-buttons{max-width:unset !important}.position-buttons-container .position-buttons button svg{width:20px;fill:currentColor}.position-buttons-container .position-buttons.position-horizontal button:nth-child(1) svg,.position-buttons-container .position-buttons.position-horizontal button:nth-child(2) svg{transform:rotate(-90deg)}.position-buttons-container .position-buttons.position-horizontal button:nth-child(3) svg{transform:rotate(90deg)}.position-buttons-container .position-buttons.position-vertical button:nth-child(3) svg{transform:rotate(180deg)}.position-buttons-container .position-advanced{margin-left:5px}.position-buttons-container .position-advanced .MuiButton-endIcon{margin-left:4px}.position-buttons-container .position-advanced .MuiButton-endIcon.MuiButton-iconSizeMedium .MuiIcon-root{font-size:15px}.position-advanced-container .position-advanced-buttons{flex-grow:1}.position-advanced-container .position-advanced-buttons button{flex-grow:1;height:32px}.position-advanced-container .position-advanced-textfield{font-size:15px;height:32px;padding:0 10px}.position-textfield{height:28px;-moz-appearance:textfield}.position-textfield ::-webkit-outer-spin-button,.position-textfield ::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
@@ -280,7 +280,7 @@
280
  .settings-drawer-pages .settings-page-title .title{font-size:40px;font-weight:700}.settings-drawer-pages .settings-page-title .description{font-size:16px;padding:15px 0}.settings-drawer-pages .with-secondary-action{padding-right:80px}.settings-drawer-pages .with-optin-action{padding-right:150px}.settings-drawer-pages .with-permissions{display:block}.settings-drawer-pages .with-permissions>div{flex:none}.settings-drawer-pages .settings-container.select .settings-title{flex-shrink:1;width:calc(122%/ 3)}.settings-drawer-pages .settings-container.select .settings-content{width:52.666%;padding:0 20px;margin:auto}.settings-drawer-pages h2.title{text-transform:uppercase}.settings-drawer-pages .explaination ul{list-style:disc;padding:0 40px}.settings-drawer-pages .explaination button:not(:disabled){background-color:red}.settings-drawer-pages .explaination button .fas.fa-undo{font-size:14px}.settings-drawer-pages .explaination button .fas.fa-undo.spin{animation:spin-animation 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite}@keyframes spin-animation{0%{transform:rotate(0deg)}100%{transform:rotate(-360deg)}}
281
  .buttonizer-drawer{padding:2em}.close-button{float:right;margin:-20px !important}
282
  .buttonizer-tour-options .MuiDialog-paperWidthSm{padding-bottom:20px}.buttonizer-tour-options .header{display:flex}.buttonizer-tour-options .header .MuiDialogTitle-root{padding:16px 24px 0}.buttonizer-tour-options .header h2{font-size:28px;color:#2f7789;padding:20px 0 0 10px}.buttonizer-tour-options .header h2 .fa-globe-europe{margin-right:10px}.buttonizer-tour-options .header .skip-button{position:absolute;color:#2f7789;cursor:pointer;margin:5px;right:0;width:38px;height:38px}.buttonizer-tour-options .header .skip-button .fa-times{font-size:18px}.buttonizer-tour-options .list-item{display:flex;color:#000;margin-right:25px}
283
- .premium-dialog #premium-dialog-title h2{-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-image:linear-gradient(-45deg, #ef8419, #ff952a, #3ab0ca, #2a7688);background-size:400% 400%;animation:gradient 5s ease infinite}.premium-dialog .premium-dialog-content{display:flex;flex-flow:row}.premium-dialog .premium-dialog-content.MuiDialogContent-dividers{padding:10px 24px}.premium-dialog .premium-dialog-content p{font-size:14px}.premium-dialog .premium-dialog-content .premium-dialog-text.MuiDialogContent-root:first-child{padding-top:0}.premium-dialog .premium-dialog-content .premium-dialog-text #premium-dialog-description{color:rgba(0,0,0,.87)}.premium-dialog .premium-dialog-content .premium-dialog-text.with-video{border-right:#e0e0e0 1px solid;max-width:641px}.premium-dialog .premium-dialog-content .premium-dialog-text code{display:block;margin-bottom:5px;padding:10px;background:#e0e0e0}.premium-dialog .premium-dialog-content .premium-dialog-text ul{list-style:none;padding:0 13px}.premium-dialog .premium-dialog-content .premium-dialog-text ul li{font-size:16px;line-height:22px;font-weight:500}.premium-dialog .premium-dialog-content .premium-dialog-text ul li:nth-child(odd){color:#2a7688}.premium-dialog .premium-dialog-content .premium-dialog-text ul li:nth-child(even){color:#ef8419}.premium-dialog .premium-dialog-content .premium-dialog-text ul li i{margin-right:10px;font-size:17px}.premium-dialog .premium-dialog-content .premium-dialog-video{width:100%;margin:auto}.premium-dialog .premium-dialog-content .premium-dialog-video iframe{max-width:560px}@keyframes gradient{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
284
  .broke-out-of-iframe{padding:10px 20px;color:#b32828;background:#ffdada;text-align:center;display:flex;align-items:center}.broke-out-of-iframe div{width:100%;line-height:24px;font-size:16px}.broke-out-of-iframe button{margin-left:20px;flex-shrink:0;color:#b32828;border-color:#da9595;background:#fff}
285
  .introjs-overlay {
286
  position: absolute;
@@ -704,7 +704,7 @@ tr.introjs-showElement > th {
704
  .tourDialog,.videoDialog,.centerTopDialog,.centerBottomDialog,.centerVideoDialog{padding:15px;min-width:400px;background-color:#d7e5e9;background-repeat:no-repeat;background-image:url(./images/buttonizer-logo.png);background-position:left 30px bottom 20px;background-size:50px}.tourDialog .introjs-tooltip-header,.videoDialog .introjs-tooltip-header,.centerTopDialog .introjs-tooltip-header,.centerBottomDialog .introjs-tooltip-header,.centerVideoDialog .introjs-tooltip-header{position:relative}.tourDialog .introjs-tooltip-header .introjs-tooltip-title,.videoDialog .introjs-tooltip-header .introjs-tooltip-title,.centerTopDialog .introjs-tooltip-header .introjs-tooltip-title,.centerBottomDialog .introjs-tooltip-header .introjs-tooltip-title,.centerVideoDialog .introjs-tooltip-header .introjs-tooltip-title{font-size:22px;color:#2f788a}.tourDialog .introjs-tooltip-header .introjs-skipbutton,.videoDialog .introjs-tooltip-header .introjs-skipbutton,.centerTopDialog .introjs-tooltip-header .introjs-skipbutton,.centerBottomDialog .introjs-tooltip-header .introjs-skipbutton,.centerVideoDialog .introjs-tooltip-header .introjs-skipbutton{color:#000;padding:5px;position:absolute;right:0;top:0}.tourDialog .introjs-tooltiptext,.videoDialog .introjs-tooltiptext,.centerTopDialog .introjs-tooltiptext,.centerBottomDialog .introjs-tooltiptext,.centerVideoDialog .introjs-tooltiptext{font-size:14px;color:#000}.tourDialog .introjs-tooltiptext a,.videoDialog .introjs-tooltiptext a,.centerTopDialog .introjs-tooltiptext a,.centerBottomDialog .introjs-tooltiptext a,.centerVideoDialog .introjs-tooltiptext a{color:#000;text-decoration:none}.tourDialog .introjs-tooltiptext #myVideo,.videoDialog .introjs-tooltiptext #myVideo,.centerTopDialog .introjs-tooltiptext #myVideo,.centerBottomDialog .introjs-tooltiptext #myVideo,.centerVideoDialog .introjs-tooltiptext #myVideo{width:100%;margin-top:-25px}.tourDialog .introjs-tooltiptext h2,.videoDialog .introjs-tooltiptext h2,.centerTopDialog .introjs-tooltiptext h2,.centerBottomDialog .introjs-tooltiptext h2,.centerVideoDialog .introjs-tooltiptext h2{color:#2f788a;margin:50px 0 10px}.tourDialog .introjs-progress,.videoDialog .introjs-progress,.centerTopDialog .introjs-progress,.centerBottomDialog .introjs-progress,.centerVideoDialog .introjs-progress{margin:20px;height:5px;background-color:#fff}.tourDialog .introjs-progress .introjs-progressbar,.videoDialog .introjs-progress .introjs-progressbar,.centerTopDialog .introjs-progress .introjs-progressbar,.centerBottomDialog .introjs-progress .introjs-progressbar,.centerVideoDialog .introjs-progress .introjs-progressbar{background-color:gray}.tourDialog .introjs-tooltipbuttons,.videoDialog .introjs-tooltipbuttons,.centerTopDialog .introjs-tooltipbuttons,.centerBottomDialog .introjs-tooltipbuttons,.centerVideoDialog .introjs-tooltipbuttons{border:none;margin-top:20px;float:right;display:flex;align-items:center}.tourDialog .introjs-tooltipbuttons .introjs-prevbutton,.tourDialog .introjs-tooltipbuttons .introjs-nextbutton,.videoDialog .introjs-tooltipbuttons .introjs-prevbutton,.videoDialog .introjs-tooltipbuttons .introjs-nextbutton,.centerTopDialog .introjs-tooltipbuttons .introjs-prevbutton,.centerTopDialog .introjs-tooltipbuttons .introjs-nextbutton,.centerBottomDialog .introjs-tooltipbuttons .introjs-prevbutton,.centerBottomDialog .introjs-tooltipbuttons .introjs-nextbutton,.centerVideoDialog .introjs-tooltipbuttons .introjs-prevbutton,.centerVideoDialog .introjs-tooltipbuttons .introjs-nextbutton{border:none;text-shadow:none;text-transform:uppercase;font-weight:bolder;font-size:12px}.tourDialog .introjs-tooltipbuttons .introjs-prevbutton,.videoDialog .introjs-tooltipbuttons .introjs-prevbutton,.centerTopDialog .introjs-tooltipbuttons .introjs-prevbutton,.centerBottomDialog .introjs-tooltipbuttons .introjs-prevbutton,.centerVideoDialog .introjs-tooltipbuttons .introjs-prevbutton{color:#2f788a;background:none}.tourDialog .introjs-tooltipbuttons .introjs-nextbutton,.videoDialog .introjs-tooltipbuttons .introjs-nextbutton,.centerTopDialog .introjs-tooltipbuttons .introjs-nextbutton,.centerBottomDialog .introjs-tooltipbuttons .introjs-nextbutton,.centerVideoDialog .introjs-tooltipbuttons .introjs-nextbutton{color:#fff;background-color:#ef790c;box-shadow:rgba(0,0,0,.24) 0px 3px 8px;margin-left:5px;padding:10px 15px}.tourDialog .introjs-arrow.left,.videoDialog .introjs-arrow.left,.centerTopDialog .introjs-arrow.left,.centerBottomDialog .introjs-arrow.left,.centerVideoDialog .introjs-arrow.left{border-right-color:#d7e5e9}.tourDialog .introjs-arrow.left-bottom,.videoDialog .introjs-arrow.left-bottom,.centerTopDialog .introjs-arrow.left-bottom,.centerBottomDialog .introjs-arrow.left-bottom,.centerVideoDialog .introjs-arrow.left-bottom{border-right-color:#d7e5e9}.tourDialog .introjs-arrow.right,.videoDialog .introjs-arrow.right,.centerTopDialog .introjs-arrow.right,.centerBottomDialog .introjs-arrow.right,.centerVideoDialog .introjs-arrow.right{border-left-color:#d7e5e9}.tourDialog .introjs-arrow.top,.videoDialog .introjs-arrow.top,.centerTopDialog .introjs-arrow.top,.centerBottomDialog .introjs-arrow.top,.centerVideoDialog .introjs-arrow.top{border-bottom-color:#d7e5e9}.tourDialog .introjs-arrow.top-middle,.videoDialog .introjs-arrow.top-middle,.centerTopDialog .introjs-arrow.top-middle,.centerBottomDialog .introjs-arrow.top-middle,.centerVideoDialog .introjs-arrow.top-middle{border-bottom-color:#d7e5e9}.tourDialog .introjs-arrow.bottom,.videoDialog .introjs-arrow.bottom,.centerTopDialog .introjs-arrow.bottom,.centerBottomDialog .introjs-arrow.bottom,.centerVideoDialog .introjs-arrow.bottom{border-top-color:#d7e5e9}.tourDialog .introjs-arrow.bottom-middle,.videoDialog .introjs-arrow.bottom-middle,.centerTopDialog .introjs-arrow.bottom-middle,.centerBottomDialog .introjs-arrow.bottom-middle,.centerVideoDialog .introjs-arrow.bottom-middle{border-top-color:#d7e5e9}.tourDialog .introjs-arrow.bottom-right,.videoDialog .introjs-arrow.bottom-right,.centerTopDialog .introjs-arrow.bottom-right,.centerBottomDialog .introjs-arrow.bottom-right,.centerVideoDialog .introjs-arrow.bottom-right{border-top-color:#d7e5e9}.videoDialog,.centerVideoDialog{background-image:url(./images/white-background.jpg);background-position:inherit;background-size:620px}.centerTopDialog,.centerVideoDialog{margin-top:20px}.centerBottomDialog{margin:-20px;margin-left:0}
705
  .changelog-dialog ::-webkit-scrollbar{width:10px}.changelog-dialog ::-webkit-scrollbar-track{background:#f1f1f1}.changelog-dialog ::-webkit-scrollbar-thumb{background:#888}.changelog-dialog ::-webkit-scrollbar-thumb:hover{background:#555}.changelog-dialog img{margin-top:-8px}.changelog-dialog .close-down{position:absolute;color:#2f7789;cursor:pointer;margin:5px;right:0;font-size:20px;width:38px;height:38px}.changelog-dialog .MuiDialogTitle-root{padding-bottom:0}.changelog-dialog h2{color:#2f7789;font-size:28px}.changelog-dialog .content{padding:0 24px;margin-bottom:20px}.changelog-dialog .content h3{font-size:20px;color:#535353;font-weight:500;margin:25px 0 10px}.changelog-dialog .content .list ul{margin:0;padding-left:20px;color:#535353}.changelog-dialog .content .list .name{font-weight:500}.changelog-dialog .content .list .info{margin-bottom:10px}.changelog-dialog .progress-bar{display:flex;align-items:center;margin:0 200px}.changelog-dialog .progress-bar .dot{height:10px;width:10px;background-color:#f0f0f0;border-radius:50%;margin:0 3px}.changelog-dialog .footer{flex-direction:column}.changelog-dialog .footer .primary-button{margin:10px auto}.changelog-dialog .footer .pagination{display:flex;margin:20px 0}.changelog-dialog .footer .pagination .previous,.changelog-dialog .footer .pagination .next{background:#f0f0f0;color:#f08419;font-size:14px;cursor:pointer;width:38px;height:38px}.changelog-dialog .footer .external-link{color:#2f7789;font-size:14px;margin-bottom:10px;border-radius:unset}.changelog-dialog .footer .external-link .fa-external-link-alt{margin-left:10px;font-size:14px}.changelog-dialog .footer .version{font-size:12px;margin-bottom:20px}
706
  .buzzy-urlbar{background:#f0f0f0;border-bottom:1px solid #d2d2d2;position:absolute;top:-65px;left:0;right:0;z-index:999;max-width:1300px;height:60px;transition:all 250ms ease-in-out}.buzzy-urlbar.ready{top:0}.whitten{background:#fff}@media screen and (min-width: 769px){body:not(.hide-buttonizer-bar) .buzzy-urlbar{left:431px}}@media screen and (max-width: 769px){body:not(.hide-buttonizer-bar) .buzzy-urlbar{display:none}}
707
- .GoB-rFmXaQiCtLHiw5bE0{display:inline-block;margin-right:10px;border:1px solid #fff;padding:2px 5px;border-radius:4px}.QZVwpvNWXvaP4Bg5_NwrC{margin:0 10px}
708
  .btnizr-wp-icon {
709
  background: url(./images/wp-icon.png);
710
  }
@@ -737,5 +737,5 @@ tr.introjs-showElement > th {
737
  background: url(./videos/tour_style.mp4);
738
  }
739
 
740
- #wpadminbar,#adminmenumain{display:none}#wpcontent,#wpfooter{margin:0;padding:0}.buttonizer-admin-overlay{text-align:center;padding:40px 20px}.buttonizer-initialized .buttonizer-admin-overlay{display:none}html{padding:0 !important}.screen-reader-text{display:none}body.buttonizer-loaded{background:#191e23}.button.button-red{background:#ba0000;border-color:#a00 #900 #900;-webkit-box-shadow:0 1px 0 #900;box-shadow:0 1px 0 #900;color:#fff;text-decoration:none;text-shadow:0 -1px 1px #900,1px 0 1px #900,0 1px 1px #900,-1px 0 1px #900}.button.button-red:hover{background:#c20000 !important;border-color:#900 !important;color:#fff}.button.button-red:active,.button.button-red:focus{background:#a00 !important;border-color:#900 !important;-webkit-box-shadow:inset 0 2px 0 #900;box-shadow:inset 0 2px 0 #900;vertical-align:top;color:#fff}.button.button-red.button-centered-reset{margin:0 auto;padding:4px 20px;height:auto;font-size:15px}.button.button-red.button-centered-reset i{margin-right:10px}.label-settings{display:flex}.label-settings .title{min-width:calc(100% / 3);width:calc(100% / 3)}.label-settings .mdc-slider{width:calc(100% /3)}.icon-settings{display:flex}.icon-settings .title{min-width:calc(100% / 3);width:calc(100% / 3)}.icon-settings .mdc-text-field.small{width:calc(100% / 3) !important;height:28px !important}.icon-settings .mdc-text-field.small .material-icons.mdc-text-field__icon.icon{bottom:9px !important;font-size:10px;margin-right:-8px}.icon-settings .mdc-text-field.small .material-icons.mdc-text-field__icon.text{bottom:6px !important;font-size:10px;margin-right:-9px}.icon-settings .mdc-text-field.small .mdc-text-field__input{padding:0;padding-left:16px !important;padding-right:24px !important;height:28px !important;font-size:14px !important}.buttonizer-preview{position:fixed;left:431px;right:0;top:0;bottom:0;transition:transform 250ms ease-in-out;padding-top:61px}.buttonizer-preview.is-wp-version{padding-top:0}@media screen and (max-width: 769px){.buttonizer-preview{left:0}}.buttonizer-preview.frame-size-tablet{width:720px;max-width:720px;left:50%;margin-left:-170px;right:unset;z-index:-1}.buttonizer-preview.frame-size-mobile{width:340px;height:650px;max-width:340px;top:50%;left:50%;margin-top:-300px;margin-left:15px;right:unset;z-index:-1}.buttonizer-preview iframe{transition:all 250ms ease-in-out}.buttonizer-preview iframe.waitfor{transform:scale(0.8);opacity:0}.hide-bar-button{display:block;position:fixed;left:429px;top:50%;cursor:pointer;margin-top:-30px;z-index:2;height:60px;line-height:60px;width:20px;border-radius:0 10px 10px 0;background:#f0f0f0;border:1px solid #d2d2d2;border-left:1px solid transparent !important;text-align:center;color:#5d5d5d !important;text-decoration:none;transition:all 250ms ease-out;-moz-transition:all 250ms ease-out;-webkit-transition:all 250ms ease-out}.hide-bar-button .fas{margin-left:-4px;color:#2f7789}@media screen and (max-width: 769px){.hide-bar-button{left:unset !important;right:0;top:40px;width:auto;height:auto;line-height:20px;border:0;background:unset;padding:0 20px}.hide-bar-button:before,.hide-bar-button:after{content:none !important}.hide-bar-button:focus{border-left:none !important}}.hide-bar-button .fa-chevron-right{display:none}.hide-bar-button:before{content:"";position:absolute;background-color:transparent;top:-20px;height:20px;width:10px;left:0;box-sizing:inherit;border-bottom-left-radius:10px;box-shadow:0 10px 0 0 #f0f0f0;border-bottom:1px solid #d2d2d2;border-left:1px solid #d2d2d2;transition:all 250ms ease-out;-moz-transition:all 250ms ease-out;-webkit-transition:all 250ms ease-out}.hide-bar-button:after{content:"";position:absolute;background-color:transparent;bottom:-20px;height:20px;width:10px;left:0;box-sizing:inherit;border-top-left-radius:10px;box-shadow:0 -10px 0 0 #f0f0f0;border-top:1px solid #d2d2d2;border-left:1px solid #d2d2d2;transition:all 250ms ease-out;-moz-transition:all 250ms ease-out;-webkit-transition:all 250ms ease-out}.hide-bar-button:focus{outline:none;outline-style:none;box-shadow:none;box-sizing:border-box;border-left:1px solid #f0f0f0}@media screen and (max-width: 769px){body.hide-buttonizer-bar .hide-bar-button{top:110px}}.buttonizer-app .buttonizer-bar,.buttonizer-app .buttonizer-preview,.buttonizer-app .hide-bar-button{transition:all 250ms ease-out;-moz-transition:all 250ms ease-out;-webkit-transition:all 250ms ease-out}@media screen and (max-width: 769px){body.buttonizer-mobile-hide .buttonizer-preview{transform:translateX(100%)}}body.hide-buttonizer-bar .buttonizer-app .buttonizer-bar{transform:translateX(-100%)}body.hide-buttonizer-bar .buttonizer-app .buttonizer-preview,body.hide-buttonizer-bar .buttonizer-app .hide-bar-button{left:-2px}body.hide-buttonizer-bar .buttonizer-app .fas{margin-left:-1px}body.hide-buttonizer-bar .buttonizer-app .hide-bar-button .fa-chevron-right{display:inline-block}body.hide-buttonizer-bar .buttonizer-app .hide-bar-button .fa-chevron-left{display:none}@media screen and (max-width: 769px){body.hide-buttonizer-bar .buttonizer-preview{transform:translateX(0)}}body{color:#717171}.mdc-card{border-radius:4px;background-color:#fff;display:flex;flex-direction:column;box-sizing:border-box;box-shadow:0 1px 1px 0 rgba(60,64,67,.08),0 1px 3px 1px rgba(60,64,67,.16)}.collapsible-group{margin:15px 0 !important}.collapsible-group .collapsible-body{padding:15px}.collapsible-group .collapsible-body .setting-group-title{font-size:13px;color:#888;text-transform:uppercase;font-weight:500}.collapsible-group .collapsible-body .setting-group-title~.setting-group-title{padding-top:10px}.collapsible-group .mdc-button.mdc-button--bold{font-size:13px}.MuiSelect-small .MuiSelect-select{font-size:14px;padding:9px 12px}.Mui-buzz-disabled{color:rgba(0,0,0,.26) !important;cursor:default !important}.Mui-buzz-premium.MuiButton-textPrimary{color:rgba(0,0,0,.26)}.Mui-buzz-premium.MuiButton-containedPrimary{background:rgba(0,0,0,.26)}.Mui-buzz-premium.MuiTabs-root .MuiTab-root{color:rgba(0,0,0,.26)}.Mui-buzz-premium.MuiTabs-root .MuiTabs-indicator{background-color:rgba(0,0,0,.26)}.MuiInputBase-root input[type=number]{-moz-appearance:textfield}.MuiInputBase-root input[type=number]::-webkit-outer-spin-button,.MuiInputBase-root input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}body{font-family:"Roboto","Helvetica","Arial",sans-serif}body.buttonizer-initialized{background:#181818}.tippy-tooltip{background:#6d6d6d;color:#fff}.buttonizer-app{font-family:Roboto,sans-serif;position:fixed;top:0;bottom:0;left:0;right:0}.buttonizer-app a,.buttonizer-app input{box-shadow:none}.buttonizer-app hr{margin-bottom:14px}.dashboard-warning-msg{padding:12px;margin-bottom:15px;font-size:14px;line-height:20px;border:2px solid rgba(240,132,25,.5);color:#f08419;display:block}.dashboard-warning-msg b{display:block}.dashboard-warning-msg a{color:#f08419}iframe{border:0}.simplebar-scrollbar.simplebar-visible:before{opacity:.38 !important}p{font-size:14px;margin-top:5px}@media screen and (max-width: 1730px){.dashboard-notifications{top:70px !important;right:15px !important}}@media screen and (min-width: 1730px){.dashboard-notifications{top:70px !important;right:calc(100vw - 1730px + 15px) !important}}
741
  form{display:flex;flex-direction:column;align-items:stretch}form .MuiTextField-root{margin:1em}form .fullwidth-label{align-items:stretch !important}form .crash-report{margin-top:2em}
9
  *
10
  * Buttonizer is Freemium software. The free version (build) does not contain premium functionality.
11
  *
12
+ * (C) 2017-2022 Buttonizer v2.6.2
13
  *
14
  */
15
  /*!
23
  *
24
  * Buttonizer is Freemium software. The free version (build) does not contain premium functionality.
25
  *
26
+ * (C) 2017-2022 Buttonizer v2.6.2
27
  *
28
  */
29
  @import url(https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap);
34
  .MuiDialog-root #alert-dialog-title i{margin-right:15px;vertical-align:middle}.MuiDialog-root.warning .MuiBackdrop-root{background-color:rgba(93,0,0,.6)}.MuiDialog-root.warning #alert-dialog-title{color:#710909}
35
  .random-tip{background:#fff;border-radius:50px;margin:15px 0;display:flex;flex-flow:row wrap;height:72px;box-shadow:0 1px 1px 0 rgba(60,64,67,.08),0 1px 3px 1px rgba(60,64,67,.16);color:#2e788a}.random-tip .buzz{background:#fdf2e8;position:relative;margin:8px;order:1;height:56px;width:56px;border-radius:60px;box-sizing:border-box}.random-tip .tip{margin:8px 20px 8px 8px;flex:1;order:2;display:flex;align-items:center;font-size:14px}
36
  .knowledgebase-link{color:#2f7789;text-decoration:none}.knowledgebase-link.medium{font-size:14px !important}.knowledgebase-link.small{font-size:12px !important}.knowledgebase-link:hover{text-decoration:underline}.knowledgebase-icon{color:#2f7789}
37
+ .button-container{-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;padding:10px;border:1px solid #e2e2e2;background-color:#fff}.button-container .button-name{max-width:100%}.button-container .button-name .button-name-span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block;max-width:100%}.button-container .button-name.drag-icon{min-width:10px}.button-container .button-header{display:flex}.button-container .button-header .button-actions{margin-left:auto;flex-shrink:0}.button-container .button-settings{display:flex}.button-container .button-settings .button-title{display:inline-flex;height:30px;align-items:center;margin-right:10px;font-size:14px}.button-container .button-settings button{height:30px}.button-container .button-settings .button-visibility{flex-grow:1}.button-container .button-settings .button-visibility button{width:40px;min-width:40px;margin:0 2px}.button-container .button-settings .button-actions button{min-width:35px}.button-container .button-settings .clear{clear:both}.button-container-new-button{margin:7px 0px !important}.button-container-new-button-line{height:15px;display:flex;transition:height 150ms ease-in-out}.button-container-new-button-line>button{opacity:0;height:100%}.button-container-new-button-line>button>span:not(:last-child) hr{width:100%;border-top:1px solid #f08419;border-left:0px;margin-bottom:.5em;opacity:0;transition:all 250ms ease-in-out}.button-container-new-button-line>button>span:not(:last-child)>span{opacity:0;visibility:hidden;margin:0px;padding:0;display:flex;justify-content:center;width:0px;transition:all 150ms ease-in-out}.button-container-new-button-line>button>span:not(:last-child)>span span.fas{font-size:1.4em}.button-container-new-button-line:hover{transition:height 150ms ease-in-out 500ms;height:30px}.button-container-new-button-line:hover>button{opacity:1}.button-container-new-button-line:hover>button>span:not(:last-child) hr{opacity:1}.button-container-new-button-line:hover>button>span:not(:last-child)>span{padding:0px 10px;visibility:visible;opacity:1;margin:0 10px;transition:all 150ms ease-in-out 500ms,opacity 150ms ease-in-out 750ms}
38
  #group-button-extra-buttons div[class^=MuiListItemIcon-root]{min-width:45px}#group-button-extra-buttons div[class^=MuiListItemIcon-root] .fas,#group-button-extra-buttons div[class^=MuiListItemIcon-root] .far{overflow:unset;font-size:1rem;margin-left:5px;text-align:center}
39
  .button-group-container{padding:10px;margin-bottom:15px;border:2px #fff solid;position:relative}.button-group-container.currentDrop{border:2px #f9bf87 solid}.button-group-container .group-info{display:flex}.button-group-container .group-info .group-arrow{display:inline-block;min-width:17px;text-align:left;font-size:12px}.button-group-container .group-info .group-arrow i{-webkit-transition:all 150ms ease;-moz-transition:all 150ms ease;-ms-transition:all 150ms ease;-o-transition:all 150ms ease;transition:all 150ms ease}.button-group-container .group-info .group-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block}.button-group-container .group-info .group-action-spacer{flex-grow:1}.button-group-container .group-info .group-actions{flex-grow:0;flex-shrink:0;margin-left:20px}.button-group-container .buttons{display:none}.button-group-container.opened .group-info .group-arrow i{transform:rotate(90deg)}.button-group-container.opened .buttons{display:block;border-radius:10px;padding:10px;border:2px #fff solid;transition:border .5s}.button-group-container.opened .buttons.currentDrop{border:2px #f9bf87 solid}.button-group-container.opened .buttons.currentDrop .button-container{opacity:.5}.button-group-container.opened .buttons.currentDrop .button-container.currentDrag{opacity:1}.button-group-container.new-group::before,.button-group-container.new-group::after{content:"";position:absolute;inset:0px;z-index:-1;display:block;background:#f08419;border-radius:10px}.button-group-container.new-group::before{animation:buttonizer-pulse-new-group 1s 0s ease-out}.button-group-container.new-group::after{animation:buttonizer-pulse-new-group 1s .185s ease-out}@keyframes buttonizer-pulse-new-group{0%{opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";margin:0px}5%{opacity:1;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"}100%{margin:-20px;opacity:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"}}
40
  .templates-dialog ::-webkit-scrollbar{width:10px}.templates-dialog ::-webkit-scrollbar-track{background:#f1f1f1}.templates-dialog ::-webkit-scrollbar-thumb{background:#888}.templates-dialog ::-webkit-scrollbar-thumb:hover{background:#555}.templates-dialog .MuiDialog-paperFullWidth{padding:30px}.templates-dialog .MuiButton-outlined{background-color:#fff;color:#2a7688;border:1px solid #73a8b4}.templates-dialog .header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;position:relative}.templates-dialog .header .titles h2{color:#2a7688;text-transform:uppercase;font-size:32px}.templates-dialog .header .titles .title{padding:0}.templates-dialog .header .titles .subtitle{margin:0;color:#2a7688;font-weight:normal;font-size:18px}.templates-dialog .header .close-button{cursor:pointer;font-size:24px;color:#2a7688;position:absolute;right:0;top:0}.templates-dialog .container-filter-buttons{padding:8px 55px 0px 24px}.templates-dialog .container-filter-buttons .midsection{display:flex;align-items:center;margin:20px 0 40px;padding:0;border:none;overflow:visible}.templates-dialog .container-filter-buttons .midsection .button-group{min-width:fit-content}.templates-dialog .container-filter-buttons .midsection .button-group .buttons-numbers{margin:10px 20px 20px 0;display:flex}.templates-dialog .container-filter-buttons .midsection .button-group .buttons-numbers .current{background-color:#fce8d4;color:#f08419;border:1px solid #f08419}.templates-dialog .select-all{opacity:0;visibility:hidden}.templates-dialog .select-all.visible{opacity:1;visibility:visible}.search-results{position:absolute;margin-top:-30px}.loading{text-align:center;height:500px;justify-content:center;display:flex}.loading p{font-family:Arial,"Helvetica Neue"}.template{display:grid;grid-template-columns:repeat(auto-fit, 202px);grid-gap:1.5rem;grid-template-rows:repeat(6, 177px);height:500px}.template .type{border:1px solid #2a7688;height:175px;width:200px;color:#2a7688;position:relative;border-radius:5px;display:flex;cursor:pointer;grid-column:1;grid-row:1}.template .type img{max-width:100%;margin:auto;max-height:85%;user-select:none}.template .type .category{position:absolute;top:15px;right:10px;font-size:12px}.template .type .default-option{width:100%;display:flex;align-items:center;flex-direction:column;font-size:14px;align-self:center}.template .type .default-option .fa-plus-circle{font-size:40px;margin-bottom:12px}.template .container{display:grid}.template .container .checkbox{margin:10px 0;transition:all .2s ease-in-out;opacity:1;grid-column:1;grid-row:1;height:24px;width:24px;margin:5px;z-index:1}.template .container .checkbox.hidden{opacity:0;visibility:hidden}.template .container .select{visibility:hidden;opacity:0;display:flex;align-items:center;position:absolute;bottom:0;grid-column-gap:5px;padding:5px 15px;border-top:1px solid #2a7688;border-right:1px solid #2a7688;border-top-right-radius:3px;border-bottom-right-radius:3px;border-top-left-radius:3px;font-size:13px;transition:all .2s ease-in-out}.template .container:hover .select{visibility:visible;opacity:1}.template .container:hover .checkbox.hidden{opacity:1;visibility:visible}
41
+ .buttonizer-premium{background:#2d7688;background:-moz-linear-gradient(-45deg, #2d7688 0%, #187287 50%, #187287 50%, #f0841a 51%, #e8832c 98%);background:-webkit-linear-gradient(-45deg, #2d7688 0%, #187287 50%, #187287 50%, #f0841a 51%, #e8832c 98%);background:linear-gradient(135deg, #2d7688 0%, #187287 50%, #187287 50%, #f0841a 51%, #e8832c 98%);filter:progid:DXImageTransform.Microsoft.gradient( startColorstr="#2d7688", endColorstr="#e8832c",GradientType=1 );color:#fff;font-weight:500;font-size:13px;line-height:17px;padding:4px 20px;display:inline-block;vertical-align:middle;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;margin-left:10px;cursor:pointer}.buttonizer-premium.premium-right{position:absolute;right:30px;top:19px;z-index:9}.buttonizer-premium::after{content:"PRO"}.MuiFormControl-root:not(.MuiTextField-root) .buttonizer-premium{margin-right:15px}
42
  .item-not-found{text-align:center;padding:40px 0}.item-not-found i{font-size:50px;display:block;margin:30px auto}.item-not-found h4{font-size:15px;margin:28px 0}
43
  .tab-bordered{position:relative;z-index:2}.use-main-button-style{padding:5px 15px;display:flex;position:relative}.use-main-button-style:before{height:2px;background:#dfdfdf;content:" ";position:absolute;top:-2px;left:0;right:0;z-index:1}.use-main-button-style .button-label{flex-grow:1;margin-left:-10px}.use-main-button-style>div{width:50px;flex-grow:0}.back-to-group{position:fixed;left:0;width:20px;z-index:1}.back-to-group::before{content:"";position:fixed;left:0;top:0;width:10px;height:100vh;background:#2f7789}.back-to-group a{position:absolute;transform-origin:top left;left:-1px;color:#f08419;text-transform:uppercase;text-decoration:none;padding:1px 8px 1px 8px;display:inline-block;transform:rotate(90deg) translateY(-100%);background-color:#fff;box-shadow:0 1px 1px 0 rgba(60,64,67,.08),0 1px 3px 1px rgba(60,64,67,.16) !important;border-radius:4px 4px 0 0;height:20px;white-space:nowrap;font-weight:500;transition:padding .125s ease,box-shadow .25s ease}.back-to-group a i{margin-right:8px}.back-to-group a:hover{padding:1px 8px 5px 8px;box-shadow:0 1px 1px 0 rgba(60,64,67,.16),0 1px 3px 1px rgba(60,64,67,.32) !important}
44
  .breadcrumb .mdc-select,.breadcrumb button{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:100%;line-height:28px;display:flex;align-items:center;flex-flow:row-reverse;border-radius:4px;padding:0 8px;font-family:Roboto,sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-size:.875rem;font-weight:500;letter-spacing:.08929em;text-decoration:none;text-transform:uppercase}.breadcrumb .mdc-select .fas.fa-chevron-down,.breadcrumb button .fas.fa-chevron-down{color:#fff !important;line-height:3.4;font-size:9px}.breadcrumb .mdc-select input,.breadcrumb .mdc-select .mdc-select__dropdown-icon,.breadcrumb .mdc-select .mdc-select__selected-text,.breadcrumb button input,.breadcrumb button .mdc-select__dropdown-icon,.breadcrumb button .mdc-select__selected-text{position:relative}.breadcrumb .mdc-select .mdc-select__selected-text,.breadcrumb button .mdc-select__selected-text{min-width:fit-content;padding:0 16px 0 0px !important;color:#fff;font-size:12px !important;height:fit-content;border-bottom:none}.breadcrumb .mdc-select .mdc-notched-outline,.breadcrumb button .mdc-notched-outline{display:none}.breadcrumb .mdc-select.mdc-select--outlined .mdc-select__selected-text,.breadcrumb button.mdc-select--outlined .mdc-select__selected-text{padding:0px}.breadcrumb .mdc-select:not(.mdc-select--disabled).mdc-select--focused .mdc-line-ripple,.breadcrumb button:not(.mdc-select--disabled).mdc-select--focused .mdc-line-ripple{background-color:#eb8119}.button-select-menu .MuiPaper-root{padding-top:6px;min-width:140px}.button-select-menu .MuiPaper-root .breadcrumb-select-options{margin-bottom:6px}
52
  .color-picker-main{width:100%;display:flex;justify-content:flex-end}.color-picker-main .color-picker{display:flex;width:100%;cursor:pointer;justify-content:flex-end;height:28px}.color-picker-main .color-picker .gpw{width:100%;background:url(./images/transparent.png) repeat;border-radius:5px 0 0 5px;box-shadow:0 1px 1px 0 rgba(60,64,67,.08),0 1px 3px 1px rgba(60,64,67,.16);overflow:hidden;padding:0}.color-picker-main .color-picker .gpw span.color-preview{display:block;height:100%;background:#f08419}.color-picker-main .color-picker .color-button{height:100%;border-radius:0 5px 5px 0;margin-left:1px;margin-right:0px;box-shadow:0 1px 1px 0 rgba(60,64,67,.08),0 1px 3px 1px rgba(60,64,67,.16)}.color-picker-main.small .color-picker{display:inline-flex;width:100%;cursor:pointer;justify-content:flex-end;height:28px}.color-picker-main.small .color-picker .gpw{position:absolute;max-width:92px;border-radius:5px;height:inherit}.color-picker-main.small .color-picker .color-button{height:100%;border-radius:5px;min-width:92px;transition:all 250ms ease-in-out 0s}.gpw .popover .type-selector{margin:3px;width:100%}
53
  .color-picker-container{width:300px;max-width:100%}.color-picker-container .color-container{background:url(./images/transparent.png) repeat}.color-picker-container .color-container .current-color input{height:62px;line-height:62px;text-align:center;color:#fff;font-size:18px;font-weight:500;border:0;padding:0;background:rgba(0,0,0,0);width:100%;border-radius:0;outline:none;font-family:Roboto,sans-serif}.color-picker-container .buttons{text-align:right;padding:5px 10px 10px}.color-picker-container .buttons button{margin-left:5px}.no-select-color-container{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
54
  .slider-container{margin-bottom:15px}.slider-container-input{margin-left:20px;height:28px;max-width:78px;flex-shrink:0}.slider-container-input input{font-size:14px}.slider-container-input input::-webkit-outer-spin-button,.slider-container-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.slider-container-input input[type=number]{-moz-appearance:textfield}.MuiSlider-thumb,.MuiSlider-track{color:#2f7789}
55
+ .disable-setting{cursor:pointer}.disable-setting.disabled{position:relative}.disable-setting.disabled .settings{opacity:.5;pointer-events:none}.disable-setting.disabled .disable-content{position:absolute;bottom:0;top:0;left:0;right:0;text-align:center;max-width:100%;color:#2f7789;font-weight:900;display:flex;align-items:center;user-select:none}.disable-setting.disabled .disable-content .buttonizer-premium{margin-right:30px;margin-left:auto}
56
  .textfield-corners-input{height:100%;max-width:80px;padding-right:5px !important;margin:0 !important}.textfield-corners-input.textfield-corners-select{max-width:35px}.textfield-corners-input .MuiSelect-root{font-size:12px;padding:5px 12px 5px 8px !important}.textfield-corners-input .MuiSvgIcon-root{font-size:1rem;right:0;top:50%;transform:translateY(-50%)}.textfield-corners-input input{font-size:14px;padding:5px 8px}.textfield-corners-input input::-webkit-outer-spin-button,.textfield-corners-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.textfield-corners-input input[type=number]{-moz-appearance:textfield}.textfield-corners-input .MuiInputAdornment-root{margin-left:5px}.textfield-corners-input .MuiInputAdornment-root>p{font-size:14px}.textfield-corners-menu li{padding-left:8px;padding-right:8px;font-size:14px}
57
  .box-shadow-input{height:100%;max-width:50px;padding-right:5px !important;margin:0 !important}.box-shadow-input .MuiOutlinedInput-adornedEnd{padding-right:5px}.box-shadow-input .MuiOutlinedInput-adornedEnd input{font-size:14px;padding:7px 5px}.box-shadow-input .MuiOutlinedInput-adornedEnd input::-webkit-outer-spin-button,.box-shadow-input .MuiOutlinedInput-adornedEnd input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.box-shadow-input .MuiOutlinedInput-adornedEnd input[type=number]{-moz-appearance:textfield}.box-shadow-input .MuiOutlinedInput-adornedEnd .box-shadow-input-adornment{color:rgba(0,0,0,.54);font-size:.7rem}.box-shadow-input .MuiInputAdornment-root{margin-left:5px}.box-shadow-input .MuiInputAdornment-root>p{font-size:14px}
58
  .position-buttons-container{margin-bottom:unset}.position-buttons-container .position-buttons{max-width:unset !important}.position-buttons-container .position-buttons button svg{width:20px;fill:currentColor}.position-buttons-container .position-buttons.position-horizontal button:nth-child(1) svg,.position-buttons-container .position-buttons.position-horizontal button:nth-child(2) svg{transform:rotate(-90deg)}.position-buttons-container .position-buttons.position-horizontal button:nth-child(3) svg{transform:rotate(90deg)}.position-buttons-container .position-buttons.position-vertical button:nth-child(3) svg{transform:rotate(180deg)}.position-buttons-container .position-advanced{margin-left:5px}.position-buttons-container .position-advanced .MuiButton-endIcon{margin-left:4px}.position-buttons-container .position-advanced .MuiButton-endIcon.MuiButton-iconSizeMedium .MuiIcon-root{font-size:15px}.position-advanced-container .position-advanced-buttons{flex-grow:1}.position-advanced-container .position-advanced-buttons button{flex-grow:1;height:32px}.position-advanced-container .position-advanced-textfield{font-size:15px;height:32px;padding:0 10px}.position-textfield{height:28px;-moz-appearance:textfield}.position-textfield ::-webkit-outer-spin-button,.position-textfield ::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
280
  .settings-drawer-pages .settings-page-title .title{font-size:40px;font-weight:700}.settings-drawer-pages .settings-page-title .description{font-size:16px;padding:15px 0}.settings-drawer-pages .with-secondary-action{padding-right:80px}.settings-drawer-pages .with-optin-action{padding-right:150px}.settings-drawer-pages .with-permissions{display:block}.settings-drawer-pages .with-permissions>div{flex:none}.settings-drawer-pages .settings-container.select .settings-title{flex-shrink:1;width:calc(122%/ 3)}.settings-drawer-pages .settings-container.select .settings-content{width:52.666%;padding:0 20px;margin:auto}.settings-drawer-pages h2.title{text-transform:uppercase}.settings-drawer-pages .explaination ul{list-style:disc;padding:0 40px}.settings-drawer-pages .explaination button:not(:disabled){background-color:red}.settings-drawer-pages .explaination button .fas.fa-undo{font-size:14px}.settings-drawer-pages .explaination button .fas.fa-undo.spin{animation:spin-animation 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite}@keyframes spin-animation{0%{transform:rotate(0deg)}100%{transform:rotate(-360deg)}}
281
  .buttonizer-drawer{padding:2em}.close-button{float:right;margin:-20px !important}
282
  .buttonizer-tour-options .MuiDialog-paperWidthSm{padding-bottom:20px}.buttonizer-tour-options .header{display:flex}.buttonizer-tour-options .header .MuiDialogTitle-root{padding:16px 24px 0}.buttonizer-tour-options .header h2{font-size:28px;color:#2f7789;padding:20px 0 0 10px}.buttonizer-tour-options .header h2 .fa-globe-europe{margin-right:10px}.buttonizer-tour-options .header .skip-button{position:absolute;color:#2f7789;cursor:pointer;margin:5px;right:0;width:38px;height:38px}.buttonizer-tour-options .header .skip-button .fa-times{font-size:18px}.buttonizer-tour-options .list-item{display:flex;color:#000;margin-right:25px}
283
+ .premium-dialog{width:450px;position:relative}.premium-dialog .MuiPopover-paper{padding:15px 20px}.premium-dialog .cancel-button{position:absolute;right:5px;top:5px;color:#2a7688;font-size:16px}.premium-dialog .title{color:#2a7688;margin:5px 0 10px 0;font-size:22px}.premium-dialog .description{color:#2a7688}.premium-dialog img{position:absolute;right:10px;bottom:10px}.premium-dialog .actions{display:flex;flex-direction:column}.premium-dialog .actions button{background-color:#f08419;height:40px;width:fit-content;border-radius:8px;border:none;color:#fff;text-transform:uppercase;font-weight:700;text-align:center;padding:5px 15px;margin-top:15px;font-size:12px;cursor:pointer}.premium-dialog .actions span{font-size:12px;margin:15px 0}
284
  .broke-out-of-iframe{padding:10px 20px;color:#b32828;background:#ffdada;text-align:center;display:flex;align-items:center}.broke-out-of-iframe div{width:100%;line-height:24px;font-size:16px}.broke-out-of-iframe button{margin-left:20px;flex-shrink:0;color:#b32828;border-color:#da9595;background:#fff}
285
  .introjs-overlay {
286
  position: absolute;
704
  .tourDialog,.videoDialog,.centerTopDialog,.centerBottomDialog,.centerVideoDialog{padding:15px;min-width:400px;background-color:#d7e5e9;background-repeat:no-repeat;background-image:url(./images/buttonizer-logo.png);background-position:left 30px bottom 20px;background-size:50px}.tourDialog .introjs-tooltip-header,.videoDialog .introjs-tooltip-header,.centerTopDialog .introjs-tooltip-header,.centerBottomDialog .introjs-tooltip-header,.centerVideoDialog .introjs-tooltip-header{position:relative}.tourDialog .introjs-tooltip-header .introjs-tooltip-title,.videoDialog .introjs-tooltip-header .introjs-tooltip-title,.centerTopDialog .introjs-tooltip-header .introjs-tooltip-title,.centerBottomDialog .introjs-tooltip-header .introjs-tooltip-title,.centerVideoDialog .introjs-tooltip-header .introjs-tooltip-title{font-size:22px;color:#2f788a}.tourDialog .introjs-tooltip-header .introjs-skipbutton,.videoDialog .introjs-tooltip-header .introjs-skipbutton,.centerTopDialog .introjs-tooltip-header .introjs-skipbutton,.centerBottomDialog .introjs-tooltip-header .introjs-skipbutton,.centerVideoDialog .introjs-tooltip-header .introjs-skipbutton{color:#000;padding:5px;position:absolute;right:0;top:0}.tourDialog .introjs-tooltiptext,.videoDialog .introjs-tooltiptext,.centerTopDialog .introjs-tooltiptext,.centerBottomDialog .introjs-tooltiptext,.centerVideoDialog .introjs-tooltiptext{font-size:14px;color:#000}.tourDialog .introjs-tooltiptext a,.videoDialog .introjs-tooltiptext a,.centerTopDialog .introjs-tooltiptext a,.centerBottomDialog .introjs-tooltiptext a,.centerVideoDialog .introjs-tooltiptext a{color:#000;text-decoration:none}.tourDialog .introjs-tooltiptext #myVideo,.videoDialog .introjs-tooltiptext #myVideo,.centerTopDialog .introjs-tooltiptext #myVideo,.centerBottomDialog .introjs-tooltiptext #myVideo,.centerVideoDialog .introjs-tooltiptext #myVideo{width:100%;margin-top:-25px}.tourDialog .introjs-tooltiptext h2,.videoDialog .introjs-tooltiptext h2,.centerTopDialog .introjs-tooltiptext h2,.centerBottomDialog .introjs-tooltiptext h2,.centerVideoDialog .introjs-tooltiptext h2{color:#2f788a;margin:50px 0 10px}.tourDialog .introjs-progress,.videoDialog .introjs-progress,.centerTopDialog .introjs-progress,.centerBottomDialog .introjs-progress,.centerVideoDialog .introjs-progress{margin:20px;height:5px;background-color:#fff}.tourDialog .introjs-progress .introjs-progressbar,.videoDialog .introjs-progress .introjs-progressbar,.centerTopDialog .introjs-progress .introjs-progressbar,.centerBottomDialog .introjs-progress .introjs-progressbar,.centerVideoDialog .introjs-progress .introjs-progressbar{background-color:gray}.tourDialog .introjs-tooltipbuttons,.videoDialog .introjs-tooltipbuttons,.centerTopDialog .introjs-tooltipbuttons,.centerBottomDialog .introjs-tooltipbuttons,.centerVideoDialog .introjs-tooltipbuttons{border:none;margin-top:20px;float:right;display:flex;align-items:center}.tourDialog .introjs-tooltipbuttons .introjs-prevbutton,.tourDialog .introjs-tooltipbuttons .introjs-nextbutton,.videoDialog .introjs-tooltipbuttons .introjs-prevbutton,.videoDialog .introjs-tooltipbuttons .introjs-nextbutton,.centerTopDialog .introjs-tooltipbuttons .introjs-prevbutton,.centerTopDialog .introjs-tooltipbuttons .introjs-nextbutton,.centerBottomDialog .introjs-tooltipbuttons .introjs-prevbutton,.centerBottomDialog .introjs-tooltipbuttons .introjs-nextbutton,.centerVideoDialog .introjs-tooltipbuttons .introjs-prevbutton,.centerVideoDialog .introjs-tooltipbuttons .introjs-nextbutton{border:none;text-shadow:none;text-transform:uppercase;font-weight:bolder;font-size:12px}.tourDialog .introjs-tooltipbuttons .introjs-prevbutton,.videoDialog .introjs-tooltipbuttons .introjs-prevbutton,.centerTopDialog .introjs-tooltipbuttons .introjs-prevbutton,.centerBottomDialog .introjs-tooltipbuttons .introjs-prevbutton,.centerVideoDialog .introjs-tooltipbuttons .introjs-prevbutton{color:#2f788a;background:none}.tourDialog .introjs-tooltipbuttons .introjs-nextbutton,.videoDialog .introjs-tooltipbuttons .introjs-nextbutton,.centerTopDialog .introjs-tooltipbuttons .introjs-nextbutton,.centerBottomDialog .introjs-tooltipbuttons .introjs-nextbutton,.centerVideoDialog .introjs-tooltipbuttons .introjs-nextbutton{color:#fff;background-color:#ef790c;box-shadow:rgba(0,0,0,.24) 0px 3px 8px;margin-left:5px;padding:10px 15px}.tourDialog .introjs-arrow.left,.videoDialog .introjs-arrow.left,.centerTopDialog .introjs-arrow.left,.centerBottomDialog .introjs-arrow.left,.centerVideoDialog .introjs-arrow.left{border-right-color:#d7e5e9}.tourDialog .introjs-arrow.left-bottom,.videoDialog .introjs-arrow.left-bottom,.centerTopDialog .introjs-arrow.left-bottom,.centerBottomDialog .introjs-arrow.left-bottom,.centerVideoDialog .introjs-arrow.left-bottom{border-right-color:#d7e5e9}.tourDialog .introjs-arrow.right,.videoDialog .introjs-arrow.right,.centerTopDialog .introjs-arrow.right,.centerBottomDialog .introjs-arrow.right,.centerVideoDialog .introjs-arrow.right{border-left-color:#d7e5e9}.tourDialog .introjs-arrow.top,.videoDialog .introjs-arrow.top,.centerTopDialog .introjs-arrow.top,.centerBottomDialog .introjs-arrow.top,.centerVideoDialog .introjs-arrow.top{border-bottom-color:#d7e5e9}.tourDialog .introjs-arrow.top-middle,.videoDialog .introjs-arrow.top-middle,.centerTopDialog .introjs-arrow.top-middle,.centerBottomDialog .introjs-arrow.top-middle,.centerVideoDialog .introjs-arrow.top-middle{border-bottom-color:#d7e5e9}.tourDialog .introjs-arrow.bottom,.videoDialog .introjs-arrow.bottom,.centerTopDialog .introjs-arrow.bottom,.centerBottomDialog .introjs-arrow.bottom,.centerVideoDialog .introjs-arrow.bottom{border-top-color:#d7e5e9}.tourDialog .introjs-arrow.bottom-middle,.videoDialog .introjs-arrow.bottom-middle,.centerTopDialog .introjs-arrow.bottom-middle,.centerBottomDialog .introjs-arrow.bottom-middle,.centerVideoDialog .introjs-arrow.bottom-middle{border-top-color:#d7e5e9}.tourDialog .introjs-arrow.bottom-right,.videoDialog .introjs-arrow.bottom-right,.centerTopDialog .introjs-arrow.bottom-right,.centerBottomDialog .introjs-arrow.bottom-right,.centerVideoDialog .introjs-arrow.bottom-right{border-top-color:#d7e5e9}.videoDialog,.centerVideoDialog{background-image:url(./images/white-background.jpg);background-position:inherit;background-size:620px}.centerTopDialog,.centerVideoDialog{margin-top:20px}.centerBottomDialog{margin:-20px;margin-left:0}
705
  .changelog-dialog ::-webkit-scrollbar{width:10px}.changelog-dialog ::-webkit-scrollbar-track{background:#f1f1f1}.changelog-dialog ::-webkit-scrollbar-thumb{background:#888}.changelog-dialog ::-webkit-scrollbar-thumb:hover{background:#555}.changelog-dialog img{margin-top:-8px}.changelog-dialog .close-down{position:absolute;color:#2f7789;cursor:pointer;margin:5px;right:0;font-size:20px;width:38px;height:38px}.changelog-dialog .MuiDialogTitle-root{padding-bottom:0}.changelog-dialog h2{color:#2f7789;font-size:28px}.changelog-dialog .content{padding:0 24px;margin-bottom:20px}.changelog-dialog .content h3{font-size:20px;color:#535353;font-weight:500;margin:25px 0 10px}.changelog-dialog .content .list ul{margin:0;padding-left:20px;color:#535353}.changelog-dialog .content .list .name{font-weight:500}.changelog-dialog .content .list .info{margin-bottom:10px}.changelog-dialog .progress-bar{display:flex;align-items:center;margin:0 200px}.changelog-dialog .progress-bar .dot{height:10px;width:10px;background-color:#f0f0f0;border-radius:50%;margin:0 3px}.changelog-dialog .footer{flex-direction:column}.changelog-dialog .footer .primary-button{margin:10px auto}.changelog-dialog .footer .pagination{display:flex;margin:20px 0}.changelog-dialog .footer .pagination .previous,.changelog-dialog .footer .pagination .next{background:#f0f0f0;color:#f08419;font-size:14px;cursor:pointer;width:38px;height:38px}.changelog-dialog .footer .external-link{color:#2f7789;font-size:14px;margin-bottom:10px;border-radius:unset}.changelog-dialog .footer .external-link .fa-external-link-alt{margin-left:10px;font-size:14px}.changelog-dialog .footer .version{font-size:12px;margin-bottom:20px}
706
  .buzzy-urlbar{background:#f0f0f0;border-bottom:1px solid #d2d2d2;position:absolute;top:-65px;left:0;right:0;z-index:999;max-width:1300px;height:60px;transition:all 250ms ease-in-out}.buzzy-urlbar.ready{top:0}.whitten{background:#fff}@media screen and (min-width: 769px){body:not(.hide-buttonizer-bar) .buzzy-urlbar{left:431px}}@media screen and (max-width: 769px){body:not(.hide-buttonizer-bar) .buzzy-urlbar{display:none}}
707
+ .GoB-rFmXaQiCtLHiw5bE0{display:inline-block;margin-right:10px;border:1px solid #444;padding:2px 5px;border-radius:4px}.QZVwpvNWXvaP4Bg5_NwrC{margin:0 10px}
708
  .btnizr-wp-icon {
709
  background: url(./images/wp-icon.png);
710
  }
737
  background: url(./videos/tour_style.mp4);
738
  }
739
 
740
+ #wpadminbar,#adminmenumain{display:none}#wpcontent,#wpfooter{margin:0;padding:0}.buttonizer-admin-overlay{text-align:center;padding:40px 20px}.buttonizer-initialized .buttonizer-admin-overlay{display:none}html{padding:0 !important}.screen-reader-text{display:none}body.buttonizer-loaded{background:#191e23}.button.button-red{background:#ba0000;border-color:#a00 #900 #900;-webkit-box-shadow:0 1px 0 #900;box-shadow:0 1px 0 #900;color:#fff;text-decoration:none;text-shadow:0 -1px 1px #900,1px 0 1px #900,0 1px 1px #900,-1px 0 1px #900}.button.button-red:hover{background:#c20000 !important;border-color:#900 !important;color:#fff}.button.button-red:active,.button.button-red:focus{background:#a00 !important;border-color:#900 !important;-webkit-box-shadow:inset 0 2px 0 #900;box-shadow:inset 0 2px 0 #900;vertical-align:top;color:#fff}.button.button-red.button-centered-reset{margin:0 auto;padding:4px 20px;height:auto;font-size:15px}.button.button-red.button-centered-reset i{margin-right:10px}.label-settings{display:flex}.label-settings .title{min-width:calc(100% / 3);width:calc(100% / 3)}.label-settings .mdc-slider{width:calc(100% /3)}.icon-settings{display:flex}.icon-settings .title{min-width:calc(100% / 3);width:calc(100% / 3)}.icon-settings .mdc-text-field.small{width:calc(100% / 3) !important;height:28px !important}.icon-settings .mdc-text-field.small .material-icons.mdc-text-field__icon.icon{bottom:9px !important;font-size:10px;margin-right:-8px}.icon-settings .mdc-text-field.small .material-icons.mdc-text-field__icon.text{bottom:6px !important;font-size:10px;margin-right:-9px}.icon-settings .mdc-text-field.small .mdc-text-field__input{padding:0;padding-left:16px !important;padding-right:24px !important;height:28px !important;font-size:14px !important}.buttonizer-preview{position:fixed;left:431px;right:0;top:0;bottom:0;transition:transform 250ms ease-in-out;padding-top:61px}.buttonizer-preview.is-wp-version{padding-top:0}@media screen and (max-width: 769px){.buttonizer-preview{left:0}}.buttonizer-preview.frame-size-tablet{width:720px;max-width:720px;left:50%;margin-left:-170px;right:unset;z-index:-1}.buttonizer-preview.frame-size-mobile{width:340px;height:650px;max-width:340px;top:50%;left:50%;margin-top:-300px;margin-left:15px;right:unset;z-index:-1}.buttonizer-preview iframe{transition:all 250ms ease-in-out}.buttonizer-preview iframe.waitfor{transform:scale(0.8);opacity:0}.hide-bar-button{display:block;position:fixed;left:429px;top:50%;cursor:pointer;margin-top:-30px;z-index:2;height:60px;line-height:60px;width:20px;border-radius:0 10px 10px 0;background:#f0f0f0;border:1px solid #d2d2d2;border-left:1px solid transparent !important;text-align:center;color:#5d5d5d !important;text-decoration:none;transition:all 250ms ease-out;-moz-transition:all 250ms ease-out;-webkit-transition:all 250ms ease-out}.hide-bar-button .fas{margin-left:-4px;color:#2f7789}@media screen and (max-width: 769px){.hide-bar-button{left:unset !important;right:0;top:40px;width:auto;height:auto;line-height:20px;border:0;background:unset;padding:0 20px}.hide-bar-button:before,.hide-bar-button:after{content:none !important}.hide-bar-button:focus{border-left:none !important}}.hide-bar-button .fa-chevron-right{display:none}.hide-bar-button:before{content:"";position:absolute;background-color:transparent;top:-20px;height:20px;width:10px;left:0;box-sizing:inherit;border-bottom-left-radius:10px;box-shadow:0 10px 0 0 #f0f0f0;border-bottom:1px solid #d2d2d2;border-left:1px solid #d2d2d2;transition:all 250ms ease-out;-moz-transition:all 250ms ease-out;-webkit-transition:all 250ms ease-out}.hide-bar-button:after{content:"";position:absolute;background-color:transparent;bottom:-20px;height:20px;width:10px;left:0;box-sizing:inherit;border-top-left-radius:10px;box-shadow:0 -10px 0 0 #f0f0f0;border-top:1px solid #d2d2d2;border-left:1px solid #d2d2d2;transition:all 250ms ease-out;-moz-transition:all 250ms ease-out;-webkit-transition:all 250ms ease-out}.hide-bar-button:focus{outline:none;outline-style:none;box-shadow:none;box-sizing:border-box;border-left:1px solid #f0f0f0}@media screen and (max-width: 769px){body.hide-buttonizer-bar .hide-bar-button{top:110px}}.buttonizer-app .buttonizer-bar,.buttonizer-app .buttonizer-preview,.buttonizer-app .hide-bar-button{transition:all 250ms ease-out;-moz-transition:all 250ms ease-out;-webkit-transition:all 250ms ease-out}@media screen and (max-width: 769px){body.buttonizer-mobile-hide .buttonizer-preview{transform:translateX(100%)}}body.hide-buttonizer-bar .buttonizer-app .buttonizer-bar{transform:translateX(-100%)}body.hide-buttonizer-bar .buttonizer-app .buttonizer-preview,body.hide-buttonizer-bar .buttonizer-app .hide-bar-button{left:-2px}body.hide-buttonizer-bar .buttonizer-app .fas{margin-left:-1px}body.hide-buttonizer-bar .buttonizer-app .hide-bar-button .fa-chevron-right{display:inline-block}body.hide-buttonizer-bar .buttonizer-app .hide-bar-button .fa-chevron-left{display:none}@media screen and (max-width: 769px){body.hide-buttonizer-bar .buttonizer-preview{transform:translateX(0)}}body{color:#717171}.mdc-card{border-radius:4px;background-color:#fff;display:flex;flex-direction:column;box-sizing:border-box;box-shadow:0 1px 1px 0 rgba(60,64,67,.08),0 1px 3px 1px rgba(60,64,67,.16)}.collapsible-group{margin:15px 0 !important}.collapsible-group .collapsible-body{padding:15px}.collapsible-group .collapsible-body .setting-group-title{font-size:13px;color:#888;text-transform:uppercase;font-weight:500}.collapsible-group .collapsible-body .setting-group-title~.setting-group-title{padding-top:10px}.collapsible-group .mdc-button.mdc-button--bold{font-size:13px}.MuiSelect-small .MuiSelect-select{font-size:14px;padding:9px 12px}.Mui-buzz-disabled{color:rgba(0,0,0,.26) !important;cursor:default !important}.Mui-buzz-premium.MuiButton-textPrimary{color:rgba(0,0,0,.26)}.Mui-buzz-premium.MuiButton-containedPrimary{background:rgba(0,0,0,.26)}.Mui-buzz-premium.MuiTabs-root .MuiTab-root{color:rgba(0,0,0,.26)}.Mui-buzz-premium.MuiTabs-root .MuiTabs-indicator{background-color:rgba(0,0,0,.26)}.MuiInputBase-root input[type=number]{-moz-appearance:textfield}.MuiInputBase-root input[type=number]::-webkit-outer-spin-button,.MuiInputBase-root input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}body{font-family:"Roboto","Helvetica","Arial",sans-serif}body.buttonizer-initialized{background:#181818}.tippy-tooltip{background:#6d6d6d;color:#fff}.buttonizer-app{font-family:Roboto,sans-serif;position:fixed;top:0;bottom:0;left:0;right:0}.buttonizer-app a,.buttonizer-app input{box-shadow:none}.buttonizer-app hr{margin-bottom:14px}.dashboard-warning-msg{padding:12px;margin-bottom:15px;font-size:14px;line-height:20px;border:2px solid rgba(240,132,25,.5);color:#f08419;display:block}.dashboard-warning-msg b{display:block}.dashboard-warning-msg a{color:#f08419}iframe{border:0}.simplebar-scrollbar.simplebar-visible:before{opacity:.38 !important}p{font-size:14px;margin-top:5px}.snackbar-container{background:#f0f0f0 !important;border:1px solid #e3e3e3;color:#444 !important}@media screen and (max-width: 1730px){.dashboard-notifications{top:70px !important;right:15px !important}}@media screen and (min-width: 1730px){.dashboard-notifications{top:70px !important;right:calc(100vw - 1730px + 15px) !important}}
741
  form{display:flex;flex-direction:column;align-items:stretch}form .MuiTextField-root{margin:1em}form .fullwidth-label{align-items:stretch !important}form .crash-report{margin-top:2em}
assets/dashboard.js CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * Buttonizer is Freemium software. The free version (build) does not contain premium functionality.
11
  *
12
- * (C) 2017-2022 Buttonizer v2.6.1
13
  *
14
  */
15
  /*!
@@ -23,7 +23,7 @@
23
  *
24
  * Buttonizer is Freemium software. The free version (build) does not contain premium functionality.
25
  *
26
- * (C) 2017-2022 Buttonizer v2.6.1
27
  *
28
  */
29
  /******/ (function() { // webpackBootstrap
@@ -7555,7 +7555,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"P
7555
 
7556
  /***/ }),
7557
 
7558
- /***/ 23215:
7559
  /***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
7560
 
7561
  "use strict";
@@ -11428,7 +11428,7 @@ var loadLanguages = instance.loadLanguages;
11428
 
11429
  ;// CONCATENATED MODULE: ./src/js/utils/translate.js
11430
 
11431
- function translate(key) {
11432
  var objects = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
11433
  return i18next.t(key, objects);
11434
  }
@@ -11572,7 +11572,7 @@ function convertData(result) {
11572
  data.time_schedules.map(function (timeSchedule) {
11573
  timeSchedules[timeSchedule.id] = {
11574
  id: timeSchedule.id,
11575
- name: timeSchedule.name || translate("time_schedules.single_name"),
11576
  weekdays: timeSchedule.weekdays || weekdays.map(function (weekday) {
11577
  return {
11578
  opened: true,
@@ -16557,7 +16557,7 @@ var Button_styles = function styles(theme) {
16557
  }
16558
  };
16559
  };
16560
- var Button = /*#__PURE__*/react.forwardRef(function Button(props, ref) {
16561
  var children = props.children,
16562
  classes = props.classes,
16563
  className = props.className,
@@ -16603,9 +16603,9 @@ var Button = /*#__PURE__*/react.forwardRef(function Button(props, ref) {
16603
  }, startIcon, children, endIcon));
16604
  });
16605
  false ? 0 : void 0;
16606
- /* harmony default export */ var Button_Button = ((0,withStyles/* default */.Z)(Button_styles, {
16607
  name: 'MuiButton'
16608
- })(Button));
16609
  ;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js
16610
  function getBoundingClientRect(element) {
16611
  var rect = element.getBoundingClientRect();
@@ -22610,13 +22610,15 @@ function Tippy(_ref) {
22610
  arrow = _ref$arrow === void 0 ? true : _ref$arrow,
22611
  _ref$trigger = _ref.trigger,
22612
  trigger = _ref$trigger === void 0 ? "manual" : _ref$trigger,
 
 
22613
  preference = _ref.preference;
22614
  if (!preference && props.ignorePreference !== true) return props.children;
22615
  var test = setTimeout(function () {});
22616
  var currentX = false;
22617
  var currentY = false;
22618
  return /*#__PURE__*/react.createElement(tippy_react_esm, {
22619
- content: !props.shiftClick ? props.content : (0,clsx_m/* default */.Z)(props.content, props.shiftClick && " (".concat(translate("utils.shift_click"), ")")),
22620
  hideOnClick: props.hideOnClick,
22621
  theme: "material" // duration={[100, 100]}
22622
  ,
@@ -22632,7 +22634,7 @@ function Tippy(_ref) {
22632
  instance.show();
22633
  currentX = e.clientX;
22634
  currentY = e.clientY;
22635
- }, 500);
22636
  });
22637
  instance.reference.addEventListener("mouseleave", function () {
22638
  clearTimeout(test);
@@ -22665,7 +22667,7 @@ var node_modules_react_is = __webpack_require__(59864);
22665
  // Force a side effect so we don't have any override priority issue.
22666
  // eslint-disable-next-line no-unused-expressions
22667
 
22668
- Button_Button.styles;
22669
  var ButtonGroup_styles = function styles(theme) {
22670
  return {
22671
  /* Styles applied to the root element. */
@@ -22930,8 +22932,8 @@ function DevicePreview() {
22930
  }, /*#__PURE__*/react.createElement(ButtonGroup_ButtonGroup, {
22931
  color: "primary"
22932
  }, /*#__PURE__*/react.createElement(Tippy_Tippy, {
22933
- content: translate("bar.preview.desktop")
22934
- }, /*#__PURE__*/react.createElement(Button_Button, {
22935
  onClick: function onClick() {
22936
  return setDevice("desktop");
22937
  },
@@ -22941,8 +22943,8 @@ function DevicePreview() {
22941
  }, /*#__PURE__*/react.createElement("i", {
22942
  className: "fas fa-desktop"
22943
  }))), /*#__PURE__*/react.createElement(Tippy_Tippy, {
22944
- content: translate("bar.preview.tablet")
22945
- }, /*#__PURE__*/react.createElement(Button_Button, {
22946
  onClick: function onClick() {
22947
  return setDevice("tablet");
22948
  },
@@ -22952,8 +22954,8 @@ function DevicePreview() {
22952
  }, /*#__PURE__*/react.createElement("i", {
22953
  className: "fas fa-tablet-alt"
22954
  }))), /*#__PURE__*/react.createElement(Tippy_Tippy, {
22955
- content: translate("bar.preview.mobile")
22956
- }, /*#__PURE__*/react.createElement(Button_Button, {
22957
  onClick: function onClick() {
22958
  return setDevice("mobile");
22959
  },
@@ -22998,11 +23000,11 @@ function PublishButton(_ref) {
22998
 
22999
  function text() {
23000
  if (isPublishing) {
23001
- return translate("common.publishing");
23002
  } else if (isPublished) {
23003
- return translate("common.published");
23004
  } else {
23005
- return translate("common.publish");
23006
  }
23007
  }
23008
  /**
@@ -23083,7 +23085,7 @@ function PublishButton(_ref) {
23083
  });
23084
  }
23085
 
23086
- return /*#__PURE__*/react.createElement(Button_Button, {
23087
  onClick: function onClick() {
23088
  return publish();
23089
  },
@@ -24774,7 +24776,7 @@ var defaultTransitionDuration = {
24774
  * Dialogs are overlaid modal paper based components with a backdrop.
24775
  */
24776
 
24777
- var Dialog = /*#__PURE__*/react.forwardRef(function Dialog(props, ref) {
24778
  var BackdropProps = props.BackdropProps,
24779
  children = props.children,
24780
  classes = props.classes,
@@ -24881,9 +24883,9 @@ var Dialog = /*#__PURE__*/react.forwardRef(function Dialog(props, ref) {
24881
  }), children))));
24882
  });
24883
  false ? 0 : void 0;
24884
- /* harmony default export */ var Dialog_Dialog = ((0,withStyles/* default */.Z)(Dialog_styles, {
24885
  name: 'MuiDialog'
24886
- })(Dialog));
24887
  ;// CONCATENATED MODULE: ./node_modules/@material-ui/core/esm/Typography/Typography.js
24888
 
24889
 
@@ -25084,7 +25086,7 @@ var DialogTitle_styles = {
25084
  flex: '0 0 auto'
25085
  }
25086
  };
25087
- var DialogTitle = /*#__PURE__*/react.forwardRef(function DialogTitle(props, ref) {
25088
  var children = props.children,
25089
  classes = props.classes,
25090
  className = props.className,
@@ -25101,9 +25103,9 @@ var DialogTitle = /*#__PURE__*/react.forwardRef(function DialogTitle(props, ref)
25101
  }, children));
25102
  });
25103
  false ? 0 : void 0;
25104
- /* harmony default export */ var DialogTitle_DialogTitle = ((0,withStyles/* default */.Z)(DialogTitle_styles, {
25105
  name: 'MuiDialogTitle'
25106
- })(DialogTitle));
25107
  ;// CONCATENATED MODULE: ./node_modules/@material-ui/core/esm/DialogContent/DialogContent.js
25108
 
25109
 
@@ -25134,7 +25136,7 @@ var DialogContent_styles = function styles(theme) {
25134
  }
25135
  };
25136
  };
25137
- var DialogContent = /*#__PURE__*/react.forwardRef(function DialogContent(props, ref) {
25138
  var classes = props.classes,
25139
  className = props.className,
25140
  _props$dividers = props.dividers,
@@ -25147,9 +25149,9 @@ var DialogContent = /*#__PURE__*/react.forwardRef(function DialogContent(props,
25147
  }, other));
25148
  });
25149
  false ? 0 : void 0;
25150
- /* harmony default export */ var DialogContent_DialogContent = ((0,withStyles/* default */.Z)(DialogContent_styles, {
25151
  name: 'MuiDialogContent'
25152
- })(DialogContent));
25153
  ;// CONCATENATED MODULE: ./node_modules/@material-ui/core/esm/DialogContentText/DialogContentText.js
25154
 
25155
 
@@ -25198,7 +25200,7 @@ var DialogActions_styles = {
25198
  }
25199
  }
25200
  };
25201
- var DialogActions = /*#__PURE__*/react.forwardRef(function DialogActions(props, ref) {
25202
  var _props$disableSpacing = props.disableSpacing,
25203
  disableSpacing = _props$disableSpacing === void 0 ? false : _props$disableSpacing,
25204
  classes = props.classes,
@@ -25211,9 +25213,9 @@ var DialogActions = /*#__PURE__*/react.forwardRef(function DialogActions(props,
25211
  }, other));
25212
  });
25213
  false ? 0 : void 0;
25214
- /* harmony default export */ var DialogActions_DialogActions = ((0,withStyles/* default */.Z)(DialogActions_styles, {
25215
  name: 'MuiDialogActions'
25216
- })(DialogActions));
25217
  ;// CONCATENATED MODULE: ./src/js/dashboard/Components/Dialogs/ConfirmDialog/index.js
25218
  function ConfirmDialog_extends() { ConfirmDialog_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return ConfirmDialog_extends.apply(this, arguments); }
25219
 
@@ -25242,10 +25244,10 @@ function ConfirmDialog(_ref) {
25242
  testId = _ref$testId === void 0 ? null : _ref$testId;
25243
  var defaultButtons = [{
25244
  value: "cancel",
25245
- text: translate("modal.cancel")
25246
  }, {
25247
  value: "confirm",
25248
- text: translate("common.confirm")
25249
  }];
25250
 
25251
  var handleClose = function handleClose(status) {
@@ -25253,7 +25255,7 @@ function ConfirmDialog(_ref) {
25253
  };
25254
 
25255
  if (!buttons) buttons = defaultButtons;
25256
- return /*#__PURE__*/react.createElement(Dialog_Dialog, {
25257
  open: open,
25258
  onClose: handleClose,
25259
  maxWidth: maxWidth,
@@ -25262,13 +25264,13 @@ function ConfirmDialog(_ref) {
25262
  "aria-describedby": "alert-dialog-description",
25263
  className: className,
25264
  "data-testid": testId ? "dialog:".concat(testId) : null
25265
- }, /*#__PURE__*/react.createElement(DialogTitle_DialogTitle, {
25266
  id: "alert-dialog-title"
25267
- }, icon, title), /*#__PURE__*/react.createElement(DialogContent_DialogContent, null, /*#__PURE__*/react.createElement(DialogContentText_DialogContentText, {
25268
  id: "alert-dialog-description",
25269
  component: "div"
25270
- }, children)), /*#__PURE__*/react.createElement(DialogActions_DialogActions, null, buttons.map(function (button, key) {
25271
- return /*#__PURE__*/react.createElement(Button_Button, ConfirmDialog_extends({
25272
  onClick: function onClick() {
25273
  return handleClose(button.value);
25274
  },
@@ -25386,7 +25388,7 @@ var IconButton_styles = function styles(theme) {
25386
  * regarding the available icon options.
25387
  */
25388
 
25389
- var IconButton = /*#__PURE__*/react.forwardRef(function IconButton(props, ref) {
25390
  var _props$edge = props.edge,
25391
  edge = _props$edge === void 0 ? false : _props$edge,
25392
  children = props.children,
@@ -25416,9 +25418,9 @@ var IconButton = /*#__PURE__*/react.forwardRef(function IconButton(props, ref) {
25416
  }, children));
25417
  });
25418
  false ? 0 : void 0;
25419
- /* harmony default export */ var IconButton_IconButton = ((0,withStyles/* default */.Z)(IconButton_styles, {
25420
  name: 'MuiIconButton'
25421
- })(IconButton));
25422
  ;// CONCATENATED MODULE: ./src/js/dashboard/Components/Bar/RevertButton/RevertButton.js
25423
  function RevertButton_slicedToArray(arr, i) { return RevertButton_arrayWithHoles(arr) || RevertButton_iterableToArrayLimit(arr, i) || RevertButton_unsupportedIterableToArray(arr, i) || RevertButton_nonIterableRest(); }
25424
 
@@ -25492,8 +25494,8 @@ function RevertButton(_ref) {
25492
  };
25493
 
25494
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(Tippy_Tippy, {
25495
- content: translate("revert.revert_changes")
25496
- }, /*#__PURE__*/react.createElement(IconButton_IconButton, {
25497
  onClick: function onClick() {
25498
  return setDialogOpened(true);
25499
  },
@@ -25505,17 +25507,17 @@ function RevertButton(_ref) {
25505
  className: (0,clsx_m/* default */.Z)("fas fa-history", startRotate && "spin")
25506
  }))), /*#__PURE__*/react.createElement(ConfirmDialog, {
25507
  open: dialogOpened,
25508
- title: translate("revert.revert_changes"),
25509
  buttons: [{
25510
- text: translate("modal.cancel"),
25511
  value: "close"
25512
  }, {
25513
- text: translate("revert.revert_changes"),
25514
  value: "revert"
25515
  }],
25516
  onClose: handleClose,
25517
  testId: "revert-dialog"
25518
- }, /*#__PURE__*/react.createElement("p", null, translate("revert.modal.intro")), /*#__PURE__*/react.createElement("p", null, translate("revert.modal.action"))));
25519
  }
25520
 
25521
  /* harmony default export */ var RevertButton_RevertButton = (connect(function (state) {
@@ -29501,7 +29503,7 @@ function RandomTip_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
29501
 
29502
  function RandomTip(_ref) {
29503
  var settings = _ref.settings;
29504
- var tips = [translate("random_tips.tip_1"), translate("random_tips.tip_2"), translate("random_tips.tip_3"), translate("random_tips.tip_4"), translate("random_tips.tip_5"), translate("random_tips.tip_6"), translate("random_tips.tip_7"), translate("random_tips.tip_8"), translate("random_tips.tip_9"), translate("random_tips.tip_10"), translate("random_tips.tip_11"), translate("random_tips.tip_12"), translate("random_tips.tip_13"), translate("random_tips.tip_14"), translate("random_tips.tip_15"), translate("random_tips.tip_16"), translate("random_tips.tip_17"), translate("random_tips.tip_18"), translate("random_tips.tip_19"), translate("random_tips.tip_20"), translate("random_tips.tip_21"), translate("random_tips.tip_22"), translate("random_tips.tip_23")];
29505
 
29506
  var _useState = (0,react.useState)(0),
29507
  _useState2 = RandomTip_slicedToArray(_useState, 2),
@@ -29610,7 +29612,7 @@ var Icon_styles = function styles(theme) {
29610
  }
29611
  };
29612
  };
29613
- var Icon = /*#__PURE__*/react.forwardRef(function Icon(props, ref) {
29614
  var classes = props.classes,
29615
  className = props.className,
29616
  _props$color = props.color,
@@ -29628,10 +29630,10 @@ var Icon = /*#__PURE__*/react.forwardRef(function Icon(props, ref) {
29628
  }, other));
29629
  });
29630
  false ? 0 : void 0;
29631
- Icon.muiName = 'Icon';
29632
- /* harmony default export */ var Icon_Icon = ((0,withStyles/* default */.Z)(Icon_styles, {
29633
  name: 'MuiIcon'
29634
- })(Icon));
29635
  ;// CONCATENATED MODULE: ./src/js/dashboard/store/actions/GroupActions.js
29636
  function GroupActions_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
29637
 
@@ -29649,14 +29651,14 @@ function GroupActions_addGroup(payload) {
29649
  var index = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
29650
  var dispatch = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : dashboard_store.dispatch;
29651
  var group = dispatch(dataActions_addRecord(GroupActions_objectSpread({
29652
- name: translate("utils.new_group"),
29653
  show_mobile: true,
29654
  show_desktop: true,
29655
  children: []
29656
  }, payload), "groups", index)).payload.record; // Create simple button
29657
 
29658
  var button = dispatch(dataActions_addRecord({
29659
- name: translate("utils.new_button"),
29660
  show_mobile: true,
29661
  show_desktop: true
29662
  }, "buttons")).payload.record; // Add group relation
@@ -29667,7 +29669,7 @@ function addButton(payload, group_id, index) {
29667
  var dispatch = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : dashboard_store.dispatch;
29668
  var redirect = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
29669
  var button = dispatch(dataActions_addRecord(GroupActions_objectSpread({
29670
- name: translate("utils.new_button"),
29671
  show_mobile: true,
29672
  show_desktop: true
29673
  }, payload), "buttons")).payload.record;
@@ -29719,7 +29721,7 @@ function importGroup() {
29719
  var index = arguments.length > 2 ? arguments[2] : undefined;
29720
  var dispatch = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : dashboard_store.dispatch;
29721
  var groupAttrDef = {
29722
- name: translate("utils.new_group"),
29723
  show_mobile: true,
29724
  show_desktop: true,
29725
  children: []
@@ -30183,32 +30185,32 @@ var DeleteButton = /*#__PURE__*/react.forwardRef(function (_ref, ref) {
30183
  var dialogContent = function dialogContent() {
30184
  // For a button, make sure it's not the only button left in the group, otherwise deny
30185
  if (deleteDisabled) {
30186
- return /*#__PURE__*/react.createElement(Typography_Typography, null, translate("modal.remove.".concat(model, ".cannot_delete")));
30187
  }
30188
 
30189
- return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(Typography_Typography, null, translate("modal.remove.".concat(model, ".question"))), model === "group" && /*#__PURE__*/react.createElement(Typography_Typography, null, translate("modal.remove.group.question_multiple_buttons", {
30190
  count: buttonCount
30191
  })), /*#__PURE__*/react.createElement(Typography_Typography, {
30192
  style: {
30193
  marginTop: 15
30194
  }
30195
- }, translate("modal.remove.permanent")));
30196
  };
30197
 
30198
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(Tippy_Tippy, {
30199
- content: translate("modal.remove.".concat(model, ".cannot_delete")),
30200
  disabled: !deleteDisabled,
30201
  trigger: "click"
30202
  }, !inDropdown ? /*#__PURE__*/react.createElement("span", {
30203
  tabIndex: 0
30204
  }, /*#__PURE__*/react.createElement(Tippy_Tippy, {
30205
- content: translate("utils.delete"),
30206
  disabled: deleteDisabled,
30207
  style: {
30208
  "float": "right"
30209
  },
30210
  shiftClick: true
30211
- }, /*#__PURE__*/react.createElement(IconButton_IconButton, DeleteButton_extends({
30212
  onClick: function onClick(e) {
30213
  if (!deleteDisabled) {
30214
  if (e.shiftKey) return handleClose("confirm");
@@ -30222,7 +30224,7 @@ var DeleteButton = /*#__PURE__*/react.forwardRef(function (_ref, ref) {
30222
  width: "35px",
30223
  height: "35px"
30224
  }
30225
- }, props), /*#__PURE__*/react.createElement(Icon_Icon, {
30226
  fontSize: "inherit",
30227
  style: {
30228
  overflow: "unset"
@@ -30246,16 +30248,16 @@ var DeleteButton = /*#__PURE__*/react.forwardRef(function (_ref, ref) {
30246
  },
30247
  disabled: deleteDisabled,
30248
  "data-testid": model === "page_rule" ? props["data-testid"] : "delete-button-".concat(model)
30249
- }, /*#__PURE__*/react.createElement(ListItemIcon_ListItemIcon, null, /*#__PURE__*/react.createElement(Icon_Icon, {
30250
  className: "fas fa-trash-alt"
30251
  })), /*#__PURE__*/react.createElement(Typography_Typography, {
30252
  variant: "inherit"
30253
- }, translate("utils.delete")))))), /*#__PURE__*/react.createElement(ConfirmDialog, {
30254
  open: dialogOpened,
30255
- title: deleteDisabled ? translate("modal.remove.".concat(model, ".cannot_delete_window_title")) : translate("modal.remove.".concat(model, ".window_title")),
30256
  buttons: deleteDisabled ? [{
30257
  value: "close",
30258
- text: translate("modal.close")
30259
  }] : null,
30260
  onClose: handleClose,
30261
  testId: "delete-button:dialog"
@@ -33871,7 +33873,7 @@ var TextField_styles = {
33871
  * - using the underlying components directly as shown in the demos
33872
  */
33873
 
33874
- var TextField = /*#__PURE__*/react.forwardRef(function TextField(props, ref) {
33875
  var autoComplete = props.autoComplete,
33876
  _props$autoFocus = props.autoFocus,
33877
  autoFocus = _props$autoFocus === void 0 ? false : _props$autoFocus,
@@ -33989,9 +33991,9 @@ var TextField = /*#__PURE__*/react.forwardRef(function TextField(props, ref) {
33989
  }, FormHelperTextProps), helperText));
33990
  });
33991
  false ? 0 : void 0;
33992
- /* harmony default export */ var TextField_TextField = ((0,withStyles/* default */.Z)(TextField_styles, {
33993
  name: 'MuiTextField'
33994
- })(TextField));
33995
  // EXTERNAL MODULE: ./node_modules/void-elements/index.js
33996
  var void_elements = __webpack_require__(71739);
33997
  var void_elements_default = /*#__PURE__*/__webpack_require__.n(void_elements);
@@ -34586,10 +34588,10 @@ function FormDialog(_ref) {
34586
 
34587
  var defaultButtons = [{
34588
  value: "cancel",
34589
- text: translate("modal.cancel")
34590
  }, {
34591
  value: "confirm",
34592
- text: translate("common.confirm"),
34593
  focus: true
34594
  }];
34595
 
@@ -34614,7 +34616,7 @@ function FormDialog(_ref) {
34614
 
34615
  var generateButtons = function generateButtons() {
34616
  return buttons.map(function (button, key) {
34617
- return /*#__PURE__*/react.createElement(Button_Button, {
34618
  onClick: function onClick() {
34619
  return beforeClose(button.value, value);
34620
  },
@@ -34624,7 +34626,7 @@ function FormDialog(_ref) {
34624
  });
34625
  };
34626
 
34627
- return /*#__PURE__*/react.createElement(Dialog_Dialog, FormDialog_extends({
34628
  open: open,
34629
  maxWidth: maxWidth,
34630
  fullWidth: fullWidth,
@@ -34632,9 +34634,9 @@ function FormDialog(_ref) {
34632
  return beforeClose("cancel");
34633
  },
34634
  "aria-labelledby": "form-dialog-title"
34635
- }, props), /*#__PURE__*/react.createElement(DialogTitle_DialogTitle, {
34636
  id: "form-dialog-title"
34637
- }, title), /*#__PURE__*/react.createElement(DialogContent_DialogContent, null, /*#__PURE__*/react.createElement(DialogContentText_DialogContentText, null, text), /*#__PURE__*/react.createElement(TextField_TextField, {
34638
  autoFocus: true,
34639
  value: value,
34640
  onChange: function onChange(e) {
@@ -34643,7 +34645,7 @@ function FormDialog(_ref) {
34643
  margin: "dense",
34644
  id: "name",
34645
  fullWidth: true,
34646
- helperText: !canBeEmpty && value == "" ? translate("modal.incorrect") : null,
34647
  error: !canBeEmpty && value == "",
34648
  onKeyPress: function onKeyPress(e) {
34649
  if (e.charCode === 13) {
@@ -34664,7 +34666,7 @@ function FormDialog(_ref) {
34664
  }, kbLink && /*#__PURE__*/react.createElement(KnowledgeBaseLink, {
34665
  articleId: kbLink,
34666
  tiny: true
34667
- }), /*#__PURE__*/react.createElement(DialogActions_DialogActions, null, generateButtons())));
34668
  }
34669
  ;// CONCATENATED MODULE: ./src/js/dashboard/Components/Containers/ContainerActions/DuplicateButton.js
34670
  function DuplicateButton_extends() { DuplicateButton_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return DuplicateButton_extends.apply(this, arguments); }
@@ -34705,9 +34707,9 @@ function DuplicateButton(_ref) {
34705
  setDialogOpened = _useState2[1];
34706
 
34707
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(Tippy_Tippy, {
34708
- content: translate("utils.duplicate"),
34709
  shiftClick: true
34710
- }, /*#__PURE__*/react.createElement(IconButton_IconButton, DuplicateButton_extends({
34711
  onClick: function onClick(e) {
34712
  if (e.shiftKey) return onChange("".concat(name, " Copy"));
34713
  setDialogOpened(true);
@@ -34719,7 +34721,7 @@ function DuplicateButton(_ref) {
34719
  width: "35px",
34720
  height: "35px"
34721
  }
34722
- }, props), /*#__PURE__*/react.createElement(Icon_Icon, {
34723
  style: {
34724
  overflow: "unset"
34725
  },
@@ -34727,7 +34729,7 @@ function DuplicateButton(_ref) {
34727
  className: "far fa-copy"
34728
  }))), /*#__PURE__*/react.createElement(FormDialog, {
34729
  open: dialogOpened,
34730
- title: translate("utils.duplicate"),
34731
  text: "Name ".concat(name, " duplicate:"),
34732
  "data-testid": "duplicate-button:dialog",
34733
  defaultValue: "".concat(name, " Copy"),
@@ -34758,8 +34760,8 @@ function EditButton(_ref) {
34758
  props = EditButton_objectWithoutProperties(_ref, ["size", "onClick"]);
34759
 
34760
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(Tippy_Tippy, {
34761
- content: translate("settings.settings")
34762
- }, /*#__PURE__*/react.createElement(IconButton_IconButton, EditButton_extends({
34763
  onClick: function onClick() {
34764
  _onClick();
34765
  },
@@ -34769,7 +34771,7 @@ function EditButton(_ref) {
34769
  width: "35px",
34770
  height: "35px"
34771
  }
34772
- }, props), /*#__PURE__*/react.createElement(Icon_Icon, {
34773
  fontSize: "inherit",
34774
  style: {
34775
  overflow: "unset"
@@ -34816,8 +34818,8 @@ var RenameButton = /*#__PURE__*/react.forwardRef(function (_ref, ref) {
34816
  setDialogOpened = _useState2[1];
34817
 
34818
  return /*#__PURE__*/react.createElement(react.Fragment, null, !inDropdown ? /*#__PURE__*/react.createElement(Tippy_Tippy, {
34819
- content: translate("utils.rename")
34820
- }, /*#__PURE__*/react.createElement(IconButton_IconButton, RenameButton_extends({
34821
  size: size,
34822
  onClick: function onClick() {
34823
  return setDialogOpened(true);
@@ -34828,7 +34830,7 @@ var RenameButton = /*#__PURE__*/react.forwardRef(function (_ref, ref) {
34828
  width: "35px",
34829
  height: "35px"
34830
  }
34831
- }, props), /*#__PURE__*/react.createElement(Icon_Icon // component="i"
34832
  , {
34833
  style: {
34834
  overflow: "unset",
@@ -34842,14 +34844,14 @@ var RenameButton = /*#__PURE__*/react.forwardRef(function (_ref, ref) {
34842
  },
34843
  ref: ref,
34844
  "data-testid": props.model === "page_rule" ? props["data-testid"] : "rename-button"
34845
- }, /*#__PURE__*/react.createElement(ListItemIcon_ListItemIcon, null, /*#__PURE__*/react.createElement(Icon_Icon, {
34846
  className: "fas fa-i-cursor"
34847
  })), /*#__PURE__*/react.createElement(Typography_Typography, {
34848
  variant: "inherit"
34849
- }, translate("utils.rename"))), /*#__PURE__*/react.createElement(FormDialog, {
34850
  open: dialogOpened,
34851
- title: translate("utils.rename"),
34852
- text: translate("utils.rename_to"),
34853
  defaultValue: name,
34854
  "data-testid": "rename-button:dialog",
34855
  cancelIfSameAsFirstValue: true,
@@ -34895,8 +34897,8 @@ function ContainerActionsDropdown(_ref) {
34895
  setActionsDropdown = _useState2[1];
34896
 
34897
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(Tippy_Tippy, {
34898
- content: translate("settings.more_actions")
34899
- }, /*#__PURE__*/react.createElement(IconButton_IconButton, {
34900
  onClick: function onClick(e) {
34901
  return setActionsDropdown(e.currentTarget);
34902
  },
@@ -35114,17 +35116,17 @@ function PropertyList(_ref) {
35114
  };
35115
 
35116
  var menuEl = function menuEl() {
35117
- return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(Button_Button, {
35118
  onClick: handleClick,
35119
  "aria-label": "more",
35120
  "aria-controls": "long-menu",
35121
  "aria-haspopup": "true",
35122
  color: "primary",
35123
  variant: "text",
35124
- endIcon: /*#__PURE__*/react.createElement(Icon_Icon, {
35125
  className: "fas fa-caret-down"
35126
  })
35127
- }, Object.keys(properties).length, " ", translate("import_export.properties"), " "), /*#__PURE__*/react.createElement(Menu_Menu, {
35128
  id: "long-menu",
35129
  anchorEl: anchorEl,
35130
  keepMounted: true,
@@ -35284,13 +35286,13 @@ function ExportButton(_ref) {
35284
  omit_default()(data, import_export.propertiesToOmit);
35285
 
35286
  if (type === "group") {
35287
- if (data.buttons.length === 0) return alert(translate("import_export.export.warning.no_buttons"));
35288
  setFoundGroup(omit_default()(data.data, import_export.propertiesToOmit));
35289
  setFoundButtons(data.buttons.map(function (button) {
35290
  return omit_default()(button, import_export.propertiesToOmit);
35291
  }));
35292
  } else if (type === "button") {
35293
- if (data.length === 0) return alert(translate("import_export.export.warning.no_data"));
35294
  setFoundGroup(false);
35295
  setFoundButtons([omit_default()(data, import_export.propertiesToOmit)]);
35296
  }
@@ -35322,11 +35324,11 @@ function ExportButton(_ref) {
35322
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
35323
  onClick: createExportData,
35324
  "data-testid": "export-button"
35325
- }, /*#__PURE__*/react.createElement(ListItemIcon_ListItemIcon, null, /*#__PURE__*/react.createElement(Icon_Icon, {
35326
  className: "fas fa-file-export"
35327
  })), /*#__PURE__*/react.createElement(Typography_Typography, {
35328
  variant: "inherit"
35329
- }, translate("import_export.export.export_".concat(type)))), /*#__PURE__*/react.createElement(Dialog_Dialog, {
35330
  open: dialogOpened,
35331
  onClose: function onClose() {
35332
  setMerged(false);
@@ -35338,24 +35340,24 @@ function ExportButton(_ref) {
35338
  "aria-describedby": "import-button-dialog-description" // className={className}
35339
  ,
35340
  "data-testid": "dialog:export-dialog"
35341
- }, /*#__PURE__*/react.createElement(DialogTitle_DialogTitle, {
35342
  id: "import-button-dialog-title"
35343
- }, translate("import_export.export.export_".concat(type))), /*#__PURE__*/react.createElement(DialogContent_DialogContent, null, (foundGroup || foundButtons) && /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(DialogContentText_DialogContentText, {
35344
  component: "div"
35345
- }, translate("import_export.export.warning.preview")), foundGroup && /*#__PURE__*/react.createElement(DialogContentText_DialogContentText, {
35346
  component: "div",
35347
  key: foundGroup.id
35348
- }, /*#__PURE__*/react.createElement("i", null, translate("common.group"), " "), ":", " ", dlv_umd_default()(foundGroup, "name", "Unnamed"), ".", " ", /*#__PURE__*/react.createElement(PropertyList, {
35349
  properties: foundGroup,
35350
  type: "Group"
35351
  })), foundButtons && foundButtons.map(function (button, key) {
35352
  return /*#__PURE__*/react.createElement(DialogContentText_DialogContentText, {
35353
  component: "div",
35354
  key: key
35355
- }, /*#__PURE__*/react.createElement("i", null, translate("common.button"), " ", key + 1, " "), ": ", dlv_umd_default()(button, "name", "Unnamed"), ".", /*#__PURE__*/react.createElement(PropertyList, {
35356
  properties: button
35357
  }));
35358
- }))), /*#__PURE__*/react.createElement(DialogActions_DialogActions, null, group_data && type === "button" && /*#__PURE__*/react.createElement(Button_Button, {
35359
  onClick: function onClick() {
35360
  return mergeGroupData();
35361
  },
@@ -35364,19 +35366,19 @@ function ExportButton(_ref) {
35364
  marginRight: "auto"
35365
  },
35366
  disabled: merged
35367
- }, translate("import_export.export.merge")), /*#__PURE__*/react.createElement(Button_Button, {
35368
  onClick: function onClick() {
35369
  return setDialogOpened(false);
35370
  },
35371
  color: "primary"
35372
- }, translate("modal.cancel")), /*#__PURE__*/react.createElement(Button_Button, {
35373
  onClick: function onClick() {
35374
  return onExport();
35375
  },
35376
  color: "primary",
35377
  disabled: type === "button" ? !foundButtons : !foundGroup,
35378
  "data-testid": "export-commence"
35379
- }, translate("import_export.export.title")))));
35380
  }
35381
  ;// CONCATENATED MODULE: ./src/js/dashboard/Components/Containers/ButtonContainer/ButtonContainer.js
35382
  function ButtonContainer_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
@@ -35421,6 +35423,7 @@ function ButtonContainer(_ref) {
35421
  if (!button || !groupId) return null;
35422
  var path = "/group/" + groupId + "/button/" + buttonId;
35423
  var singleButtonStyles = ["default", "square", "rectangle", "text", "text-icon"];
 
35424
 
35425
  function toggle(item) {
35426
  set("buttons", buttonId, item, !button[item]);
@@ -35438,7 +35441,7 @@ function ButtonContainer(_ref) {
35438
  className: "button-container" + currentDrag
35439
  }, provided.dragHandleProps), /*#__PURE__*/react.createElement("div", {
35440
  className: "button-header"
35441
- }, /*#__PURE__*/react.createElement(Button_Button, {
35442
  color: "primary",
35443
  style: {
35444
  marginBottom: "10px"
@@ -35496,9 +35499,9 @@ function ButtonContainer(_ref) {
35496
  className: "button-visibility"
35497
  }, /*#__PURE__*/react.createElement("div", {
35498
  className: "button-title"
35499
- }, translate("settings.show_mobile_desktop.title") + ":", " "), /*#__PURE__*/react.createElement(Tippy_Tippy, {
35500
- content: translate("settings.show_mobile_desktop.toggle_mobile")
35501
- }, /*#__PURE__*/react.createElement(Button_Button, {
35502
  color: "primary",
35503
  variant: button.show_mobile ? "contained" : "outlined",
35504
  onClick: function onClick() {
@@ -35508,8 +35511,8 @@ function ButtonContainer(_ref) {
35508
  }, /*#__PURE__*/react.createElement("i", {
35509
  className: "fas fa-mobile-alt"
35510
  }))), /*#__PURE__*/react.createElement(Tippy_Tippy, {
35511
- content: translate("settings.show_mobile_desktop.toggle_desktop")
35512
- }, /*#__PURE__*/react.createElement(Button_Button, {
35513
  color: "primary",
35514
  variant: button.show_desktop ? "contained" : "outlined",
35515
  onClick: function onClick() {
@@ -35520,25 +35523,41 @@ function ButtonContainer(_ref) {
35520
  className: "fas fa-desktop"
35521
  })))), /*#__PURE__*/react.createElement("div", {
35522
  className: "clear"
35523
- }))), /*#__PURE__*/react.createElement(Tippy_Tippy, {
35524
- content: translate("utils.add_button"),
35525
  shiftClick: true,
35526
  arrow: false
35527
- }, /*#__PURE__*/react.createElement(Button_Button, {
35528
  onClick: function onClick(e) {
35529
  return openNewButtonDialog(e.shiftKey);
35530
  },
35531
  color: "primary",
35532
  variant: "text",
35533
  size: "small",
35534
- style: {
35535
- marginBottom: "10px"
35536
- },
35537
- startIcon: /*#__PURE__*/react.createElement(Icon_Icon, {
35538
  className: "fas fa-plus-circle"
35539
  }),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35540
  "data-testid": "new-button"
35541
- }, translate("utils.add_button"))));
 
 
35542
  }
35543
 
35544
  /* harmony default export */ var ButtonContainer_ButtonContainer = (connect(function (state) {
@@ -44408,13 +44427,13 @@ function ImportRawData(data, index, currentGroup, redirect) {
44408
  var parsedResult = typeof data === "string" ? JSON.parse(data) : data; // Malformed data
44409
 
44410
  if (!parsedResult.export_type || parsedResult.export_type === "group" && !parsedResult.buttons) {
44411
- throw new Error(translate("import_export.import.warning.invalid"));
44412
  } // Import a group
44413
 
44414
 
44415
  if (parsedResult.export_type === "group") {
44416
  if (parsedResult.buttons.length === 0) {
44417
- alert(translate("import_export.import.warning.no_buttons"));
44418
  return;
44419
  }
44420
 
@@ -44430,7 +44449,7 @@ function ImportRawData(data, index, currentGroup, redirect) {
44430
 
44431
  ImportData(currentGroup, foundGroup, foundButtons, index, redirect);
44432
  } catch (e) {
44433
- alert(translate("import_export.import.warning.malformed"));
44434
  }
44435
  }
44436
  ;// CONCATENATED MODULE: ./src/js/dashboard/Components/TrashButton/TrashButton.js
@@ -44457,7 +44476,7 @@ function TrashButton(_ref) {
44457
  icon = _ref$icon === void 0 ? "fas fa-undo" : _ref$icon,
44458
  props = TrashButton_objectWithoutProperties(_ref, ["disabled", "onClick", "iconProps", "icon"]);
44459
 
44460
- return /*#__PURE__*/react.createElement(IconButton_IconButton, TrashButton_extends({
44461
  onClick: function onClick() {
44462
  return _onClick();
44463
  },
@@ -44471,7 +44490,7 @@ function TrashButton(_ref) {
44471
  alignSelf: "center"
44472
  }, props.style),
44473
  color: "primary"
44474
- }, props), /*#__PURE__*/react.createElement(Icon_Icon, TrashButton_extends({
44475
  fontSize: "inherit",
44476
  className: icon
44477
  }, iconProps)));
@@ -44629,7 +44648,7 @@ var FileDragAndDrop = /*#__PURE__*/function (_Component) {
44629
  className: classes.border
44630
  }, /*#__PURE__*/react.createElement("span", {
44631
  className: classes.text
44632
- }, translate("import_export.import.drag_drop"))), this.props.children);
44633
  }
44634
  }]);
44635
 
@@ -44727,7 +44746,7 @@ function ImportButton(_ref) {
44727
  break;
44728
  }
44729
 
44730
- throw new Error(translate("import_export.import.warning.invalid"));
44731
 
44732
  case 5:
44733
  if (!isGroup) {
@@ -44745,7 +44764,7 @@ function ImportButton(_ref) {
44745
  break;
44746
  }
44747
 
44748
- alert(translate("import_export.import.warning.no_buttons"));
44749
  return _context.abrupt("return");
44750
 
44751
  case 10:
@@ -44805,7 +44824,7 @@ function ImportButton(_ref) {
44805
  _context.prev = 31;
44806
  _context.t0 = _context["catch"](1);
44807
  console.error(_context.t0);
44808
- alert(translate("import_export.import.warning.malformed"));
44809
 
44810
  case 35:
44811
  case "end":
@@ -44840,11 +44859,11 @@ function ImportButton(_ref) {
44840
  return setDialogOpened(true);
44841
  },
44842
  "data-testid": "import-into-group"
44843
- }, /*#__PURE__*/react.createElement(ListItemIcon_ListItemIcon, null, /*#__PURE__*/react.createElement(Icon_Icon, {
44844
  className: "fas fa-file-import"
44845
  })), /*#__PURE__*/react.createElement(Typography_Typography, {
44846
  variant: "inherit"
44847
- }, label)) : /*#__PURE__*/react.createElement(Button_Button, {
44848
  style: {
44849
  fontSize: "14px"
44850
  },
@@ -44854,11 +44873,11 @@ function ImportButton(_ref) {
44854
  color: "primary",
44855
  variant: "text",
44856
  size: "small",
44857
- startIcon: /*#__PURE__*/react.createElement(Icon_Icon, {
44858
  className: "fas fa-file-import"
44859
  }),
44860
  "data-testid": "import-new-group"
44861
- }, label), /*#__PURE__*/react.createElement(Dialog_Dialog, {
44862
  open: dialogOpened,
44863
  onClose: function onClose() {
44864
  return setDialogOpened(false);
@@ -44872,15 +44891,15 @@ function ImportButton(_ref) {
44872
  if (files.length === 0) return;
44873
  onFileSelect(files);
44874
  }
44875
- }, /*#__PURE__*/react.createElement(DialogTitle_DialogTitle, {
44876
  id: "import-button-dialog-title"
44877
- }, "BETA: ", translate("import_export.import.title")), /*#__PURE__*/react.createElement(DialogContent_DialogContent, null, !fileSelected && /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(DialogContentText_DialogContentText, {
44878
  id: "import-button-dialog-description",
44879
  component: "div"
44880
- }, currentGroup ? translate("import_export.import.into_group.text") : translate("import_export.import.new_group.text"), " ", translate("import_export.import.select_please")), /*#__PURE__*/react.createElement(Button_Button, {
44881
  variant: "contained",
44882
  fullWidth: true,
44883
- startIcon: /*#__PURE__*/react.createElement(Icon_Icon, {
44884
  className: "fas fa-file-import",
44885
  style: {
44886
  marginRight: 10
@@ -44893,7 +44912,7 @@ function ImportButton(_ref) {
44893
  onClick: function onClick() {
44894
  return importFileUploader.current.click();
44895
  }
44896
- }, translate("import_export.import.select_click")), /*#__PURE__*/react.createElement("input", {
44897
  type: "file",
44898
  id: "input",
44899
  "data-testid": "import-input",
@@ -44912,13 +44931,13 @@ function ImportButton(_ref) {
44912
  component: "div"
44913
  }, currentGroup && isGroup && foundGroup ? /*#__PURE__*/react.createElement("span", {
44914
  dangerouslySetInnerHTML: {
44915
- __html: translate("import_export.import.warning.replace")
44916
  }
44917
- }) : !currentGroup && isGroup && !foundGroup && foundButtons ? "Create a new group including this button:" : translate("import_export.import.warning.preview")), foundGroup && /*#__PURE__*/react.createElement(DialogContentText_DialogContentText, {
44918
  "data-testid": "import-found-group",
44919
  component: "div",
44920
  key: foundGroup.id
44921
- }, /*#__PURE__*/react.createElement("i", null, translate("common.group"), " "), ":", " ", dlv_umd_default()(foundGroup, "name", "Unnamed"), ".", " ", /*#__PURE__*/react.createElement(PropertyList, {
44922
  properties: foundGroup,
44923
  type: "Group"
44924
  }), /*#__PURE__*/react.createElement(TrashButton, {
@@ -44933,7 +44952,7 @@ function ImportButton(_ref) {
44933
  "data-testid": "import-found-buttons",
44934
  component: "div",
44935
  key: key
44936
- }, /*#__PURE__*/react.createElement("i", null, translate("common.button"), " ", key + 1, " "), ": ", dlv_umd_default()(button, "name", "Unnamed"), ".", /*#__PURE__*/react.createElement(PropertyList, {
44937
  properties: button
44938
  }), /*#__PURE__*/react.createElement(TrashButton, {
44939
  disabled: foundButtons.length === 1,
@@ -44956,18 +44975,18 @@ function ImportButton(_ref) {
44956
  }, /*#__PURE__*/react.createElement(KnowledgeBaseLink, {
44957
  articleId: kbLink,
44958
  tiny: true,
44959
- setting: translate("import_export.import_export")
44960
- }), /*#__PURE__*/react.createElement(DialogActions_DialogActions, null, /*#__PURE__*/react.createElement(Button_Button, {
44961
  onClick: function onClick() {
44962
  return setDialogOpened(false);
44963
  },
44964
  color: "primary"
44965
- }, translate("modal.cancel")), fileSelected && /*#__PURE__*/react.createElement(Button_Button, {
44966
  onClick: function onClick() {
44967
  return setFileSelected(null);
44968
  },
44969
  color: "primary"
44970
- }, translate("import_export.import.reupload")), /*#__PURE__*/react.createElement(Button_Button, {
44971
  onClick: function onClick() {
44972
  onImport();
44973
  if (onClose) onClose();
@@ -44975,7 +44994,7 @@ function ImportButton(_ref) {
44975
  color: "primary",
44976
  disabled: !fileSelected || !foundGroup && !foundButtons,
44977
  "data-testid": "import-commence"
44978
- }, translate("import_export.import.title")))))));
44979
  }
44980
 
44981
  function migrateData(data) {
@@ -45108,7 +45127,7 @@ var SwitchBase = /*#__PURE__*/react.forwardRef(function SwitchBase(props, ref) {
45108
  }
45109
 
45110
  var hasLabelFor = type === 'checkbox' || type === 'radio';
45111
- return /*#__PURE__*/react.createElement(IconButton_IconButton, (0,esm_extends/* default */.Z)({
45112
  component: "span",
45113
  className: (0,clsx_m/* default */.Z)(classes.root, className, checked && classes.checked, disabled && classes.disabled),
45114
  disabled: disabled,
@@ -45759,7 +45778,7 @@ var filteredList = function filteredList(importFilteredList, filterButtons, filt
45759
  return true;
45760
  });
45761
  var defaultButton = {
45762
- name: translate("utils.new_button"),
45763
  show_mobile: true,
45764
  show_desktop: true
45765
  };
@@ -45767,7 +45786,7 @@ var filteredList = function filteredList(importFilteredList, filterButtons, filt
45767
  if (filterButtons === "group") {
45768
  filteredList.unshift({
45769
  data: {
45770
- name: translate("utils.new_group"),
45771
  show_mobile: true,
45772
  show_desktop: true
45773
  },
@@ -45854,7 +45873,7 @@ function TemplateOptions(_ref) {
45854
  (0,react.useEffect)(function () {
45855
  setSelected([]);
45856
  }, [filterButtons, filterFrameDesign, filterPopularAction]);
45857
- return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(DialogContent_DialogContent, null, !isLoading && returnedTemplates && /*#__PURE__*/react.createElement("p", {
45858
  className: "search-results"
45859
  }, /*#__PURE__*/react.createElement(Trans, {
45860
  i18nKey: "utils.templates.found",
@@ -45896,7 +45915,7 @@ function TemplateOptions(_ref) {
45896
  to: "360 18 18",
45897
  dur: "1s",
45898
  repeatCount: "indefinite"
45899
- }))))), /*#__PURE__*/react.createElement("p", null, translate("loading.loading")))), !isLoading && /*#__PURE__*/react.createElement("div", {
45900
  className: "template"
45901
  }, filteredTemplateList.map(function (template, key) {
45902
  return /*#__PURE__*/react.createElement("div", {
@@ -45925,7 +45944,7 @@ function TemplateOptions(_ref) {
45925
  }, /*#__PURE__*/react.createElement("i", {
45926
  className: "fa fa-plus-circle",
45927
  "aria-hidden": "true"
45928
- }), /*#__PURE__*/react.createElement("span", null, translate("templates.start_scratch"))) : /*#__PURE__*/react.createElement("img", {
45929
  src: template.template_image ? buttonizer_admin.assets + "/images/templates/".concat(template.template_image) : buttonizer_admin.assets + "/images/buttonizer-logo.png",
45930
  alt: "Template",
45931
  draggable: false
@@ -45939,11 +45958,11 @@ function TemplateOptions(_ref) {
45939
  }, selected.includes(key) ? /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("i", {
45940
  className: "fa fa-check-circle",
45941
  "aria-hidden": "true"
45942
- }), translate("templates.selected")) : /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("i", {
45943
  className: "fa fa-plus-circle",
45944
  "aria-hidden": "true"
45945
- }), translate("templates.select")))));
45946
- }))), /*#__PURE__*/react.createElement(DialogActions_DialogActions, {
45947
  style: {
45948
  marginTop: "20px",
45949
  justifyContent: "space-between"
@@ -45954,10 +45973,10 @@ function TemplateOptions(_ref) {
45954
  fontSize: 13
45955
  },
45956
  currentGroup: currentGroup,
45957
- label: filterButtons === "button" ? translate("import_export.import.new_group.button") : translate("import_export.import.new_group.group"),
45958
  kbLink: 653,
45959
  onClose: handleClose
45960
- }), selected.length > 0 && /*#__PURE__*/react.createElement(Button_Button, {
45961
  className: (0,clsx_m/* default */.Z)("select-all", selected.length > 0 && "visible"),
45962
  variant: "contained",
45963
  onClick: function onClick() {
@@ -45966,7 +45985,7 @@ function TemplateOptions(_ref) {
45966
  color: "primary",
45967
  size: "small",
45968
  "data-testid": "templates:insert-selected"
45969
- }, translate("templates.insert"))));
45970
  }
45971
  ;// CONCATENATED MODULE: ./src/js/dashboard/Components/Settings/ButtonAction/ButtonActionOptions.js
45972
  function ButtonActionOptions_toConsumableArray(arr) { return ButtonActionOptions_arrayWithoutHoles(arr) || ButtonActionOptions_iterableToArray(arr) || ButtonActionOptions_unsupportedIterableToArray(arr) || ButtonActionOptions_nonIterableSpread(); }
@@ -50559,11 +50578,11 @@ var Autocomplete = /*#__PURE__*/react.forwardRef(function Autocomplete(props, re
50559
  startAdornment: startAdornment,
50560
  endAdornment: /*#__PURE__*/react.createElement("div", {
50561
  className: classes.endAdornment
50562
- }, hasClearIcon ? /*#__PURE__*/react.createElement(IconButton_IconButton, (0,esm_extends/* default */.Z)({}, getClearProps(), {
50563
  "aria-label": clearText,
50564
  title: clearText,
50565
  className: (0,clsx_m/* default */.Z)(classes.clearIndicator, dirty && classes.clearIndicatorDirty)
50566
- }), closeIcon) : null, hasPopupIcon ? /*#__PURE__*/react.createElement(IconButton_IconButton, (0,esm_extends/* default */.Z)({}, getPopupIndicatorProps(), {
50567
  disabled: disabled,
50568
  "aria-label": popupOpen ? closeText : openText,
50569
  title: popupOpen ? closeText : openText,
@@ -50704,9 +50723,9 @@ var FilterTemplateOptions = function FilterTemplateOptions(_ref) {
50704
  return option.value === value.value;
50705
  },
50706
  groupBy: function groupBy(option) {
50707
- return button ? translate("settings.button_action.actions.group_".concat(option.group)) : null;
50708
  },
50709
- noOptionsText: translate("utils.search_not_found") + " " + currentText,
50710
  inputValue: currentText,
50711
  popupIcon: /*#__PURE__*/react.createElement("i", {
50712
  className: "fas fa-caret-down",
@@ -50716,7 +50735,7 @@ var FilterTemplateOptions = function FilterTemplateOptions(_ref) {
50716
  "data-testid": "filter-dropdown-icon"
50717
  }),
50718
  renderInput: function renderInput(params) {
50719
- return /*#__PURE__*/react.createElement(TextField_TextField, FilterTemplateOptions_extends({}, params, {
50720
  onChange: function onChange(e) {
50721
  setCurrentText(e.target.value);
50722
  },
@@ -50735,7 +50754,7 @@ var FilterTemplateOptions = function FilterTemplateOptions(_ref) {
50735
  })));
50736
  });
50737
  },
50738
- loadingText: translate("loading.loading"),
50739
  loading: isLoading
50740
  });
50741
  };
@@ -50812,7 +50831,7 @@ function TemplatesDialog(_ref) {
50812
  label: "Social sharing",
50813
  value: "social-sharing"
50814
  }];
50815
- return /*#__PURE__*/react.createElement(Dialog_Dialog, {
50816
  open: open,
50817
  onClose: function onClose() {
50818
  handleCloseDialog();
@@ -50826,33 +50845,33 @@ function TemplatesDialog(_ref) {
50826
  className: "header"
50827
  }, /*#__PURE__*/react.createElement("div", {
50828
  className: "titles"
50829
- }, /*#__PURE__*/react.createElement(DialogTitle_DialogTitle, {
50830
  className: "title"
50831
- }, filterButtons === "button" ? translate("utils.new_button") : translate("utils.new_group")), /*#__PURE__*/react.createElement("h3", {
50832
  className: "subtitle"
50833
- }, translate("templates.all_templates_description"))), /*#__PURE__*/react.createElement(IconButton_IconButton, {
50834
  onClick: function onClick() {
50835
  handleCloseDialog();
50836
  },
50837
  className: "close-button",
50838
  "data-testid": "templates-dialog:close-button"
50839
- }, /*#__PURE__*/react.createElement(Icon_Icon, {
50840
  fontSize: "inherit",
50841
  className: "fas fa-times"
50842
  }))), /*#__PURE__*/react.createElement("div", {
50843
  className: "container-filter-buttons"
50844
- }, /*#__PURE__*/react.createElement(DialogContent_DialogContent, {
50845
  dividers: true,
50846
  className: "midsection"
50847
  }, /*#__PURE__*/react.createElement("div", {
50848
  className: "button-group"
50849
  }, /*#__PURE__*/react.createElement("div", {
50850
  className: "buttons-title"
50851
- }, translate("templates.number_of_buttons")), /*#__PURE__*/react.createElement("div", {
50852
  className: "buttons"
50853
  }, /*#__PURE__*/react.createElement("div", {
50854
  className: "buttons-numbers"
50855
- }, /*#__PURE__*/react.createElement(Button_Button, {
50856
  onClick: function onClick() {
50857
  setFilterButtons("button");
50858
  setFilterPopularAction([]);
@@ -50865,7 +50884,7 @@ function TemplatesDialog(_ref) {
50865
  marginRight: "10px"
50866
  },
50867
  "data-testid": "templates:filter-buttons-button"
50868
- }, "1"), /*#__PURE__*/react.createElement(Button_Button, {
50869
  disabled: showButtons,
50870
  onClick: function onClick() {
50871
  setFilterButtons("group");
@@ -50882,13 +50901,13 @@ function TemplatesDialog(_ref) {
50882
  filterOptions: filterFrameDesign,
50883
  setFilterOptions: setFilterFrameDesign,
50884
  filterList: frameDesignList,
50885
- label: translate("templates.framedesign.label"),
50886
  setReturnedTemplates: setReturnedTemplates
50887
  }), filterButtons === "button" && /*#__PURE__*/react.createElement(FilterTemplateOptions, {
50888
  filterOptions: filterPopularAction,
50889
  setFilterOptions: setFilterPopularAction,
50890
  filterList: ButtonActionOptions,
50891
- label: translate("templates.popular_actions.label"),
50892
  setReturnedTemplates: setReturnedTemplates,
50893
  button: true
50894
  }))), /*#__PURE__*/react.createElement(TemplateOptions, {
@@ -51034,7 +51053,7 @@ function ButtonGroupContainer(_ref) {
51034
  var duplicateButton = function duplicateButton() {
51035
  /* webpack-strip-block:removed */
51036
  return /*#__PURE__*/react.createElement(Tippy_Tippy, {
51037
- content: translate("premium.warning_duplicate"),
51038
  trigger: "click"
51039
  }, /*#__PURE__*/react.createElement("span", {
51040
  tabIndex: 0
@@ -51052,7 +51071,7 @@ function ButtonGroupContainer(_ref) {
51052
  }
51053
  }, /*#__PURE__*/react.createElement("div", {
51054
  className: "group-info"
51055
- }, /*#__PURE__*/react.createElement(Button_Button, {
51056
  onClick: handleOpenState,
51057
  color: "primary",
51058
  "data-testid": "open-group"
@@ -51083,7 +51102,7 @@ function ButtonGroupContainer(_ref) {
51083
  type: "group"
51084
  }), /*#__PURE__*/react.createElement(ImportButton, {
51085
  currentGroup: group,
51086
- label: translate("import_export.import.into_group.button"),
51087
  kbLink: 653,
51088
  inDropdown: true
51089
  }), /*#__PURE__*/react.createElement(ContainerActions_DeleteButton, {
@@ -51119,7 +51138,7 @@ function ButtonGroupContainer(_ref) {
51119
  styleDrop: ButtonGroupContainer_getStyle(provided.draggableProps.style, snapshot),
51120
  openNewButtonDialog: function openNewButtonDialog(shiftKey) {
51121
  if (shiftKey) return addButton({
51122
- name: translate("utils.new_button")
51123
  }, group.id, key + 1);
51124
  setNewButtonDialogOpened(key + 1);
51125
  }
@@ -51301,17 +51320,17 @@ function Overview(_ref) {
51301
  textAlign: "center",
51302
  marginTop: "20px"
51303
  }
51304
- }, /*#__PURE__*/react.createElement(Button_Button, {
51305
- onClick: function onClick() {
51306
- return app.showPremiumDialog(translate("premium.multiple_button_groups"), "Qxs1oGCVATU");
51307
  },
51308
  color: "primary",
51309
  className: "Mui-buzz-premium",
51310
- startIcon: /*#__PURE__*/react.createElement(Icon_Icon, {
51311
  className: "fas fa-plus-circle"
51312
  }),
51313
  "data-testid": "new-group"
51314
- }, translate("utils.create_group"), " ", /*#__PURE__*/react.createElement(PremiumTag, null)));
51315
  };
51316
 
51317
  var buttonGroupContainer = function buttonGroupContainer() {
@@ -51335,17 +51354,17 @@ function Overview(_ref) {
51335
  src: window.buttonizer_admin.assets + "/images/logo.png"
51336
  })), /*#__PURE__*/react.createElement(RandomTip_RandomTip, null), hasPremium && !isPremiumCode && /*#__PURE__*/react.createElement("div", {
51337
  className: "mdc-card dashboard-warning-msg"
51338
- }, /*#__PURE__*/react.createElement("b", null, translate("warnings.premium_license_free_version.title")), translate("warnings.premium_license_free_version.information"), " ", /*#__PURE__*/react.createElement("a", {
51339
  href: "https://community.buttonizer.pro/knowledgebase/321",
51340
  target: "_blank"
51341
- }, translate("common.learn_more"), ".")), !buttonizer_admin.php_version_supported && /*#__PURE__*/react.createElement("div", {
51342
  className: "mdc-card dashboard-warning-msg"
51343
- }, /*#__PURE__*/react.createElement("b", null, translate("warnings.php_version_outdated.title")), translate("warnings.php_version_outdated.information", {
51344
  version: buttonizer_admin.php_version
51345
  }), " ", /*#__PURE__*/react.createElement("a", {
51346
  href: "https://community.buttonizer.pro/knowledgebase/434",
51347
  target: "_blank"
51348
- }, translate("common.learn_more"), ".")), /*#__PURE__*/react.createElement(DragDropContext, {
51349
  sensors: [testDragSensor],
51350
  onDragEnd: onDragEnd,
51351
  onDragStart: onDragStart
@@ -51389,7 +51408,7 @@ function ItemNotFound(_ref) {
51389
  src: window.buttonizer_admin.assets + "/images/logo.png"
51390
  })), /*#__PURE__*/react.createElement("i", {
51391
  className: isButtonGroupNotFound ? "fas fa-binoculars" : "far fa-dizzy"
51392
- }), /*#__PURE__*/react.createElement("h4", null, "Sorry! We could not find this ".concat(isButtonGroupNotFound ? "button or group" : "page", "!")), /*#__PURE__*/react.createElement(Button_Button, {
51393
  onClick: function onClick() {
51394
  document.location.hash = "#/";
51395
  },
@@ -52438,7 +52457,7 @@ function BreadcrumbSelect(_ref) {
52438
  var open = Boolean(anchorEl);
52439
  var id = open ? "simple-popover" : undefined; // Return Element
52440
 
52441
- return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(Button_Button, {
52442
  className: "breadcrumb-button",
52443
  "aria-describedby": id,
52444
  color: "secondary",
@@ -52541,9 +52560,9 @@ function ButtonHeader(_ref) {
52541
  }, /*#__PURE__*/react.createElement("div", {
52542
  className: "breadcrumb"
52543
  }, /*#__PURE__*/react.createElement(Tippy_Tippy, {
52544
- content: translate("bar.breadcrumb.tippy_home"),
52545
  arrow: false
52546
- }, /*#__PURE__*/react.createElement(Button_Button, {
52547
  onClick: function onClick() {
52548
  history.push("/");
52549
  },
@@ -52551,12 +52570,12 @@ function ButtonHeader(_ref) {
52551
  className: "home-button"
52552
  }, /*#__PURE__*/react.createElement("span", {
52553
  className: "breadcrumb-text"
52554
- }, translate("bar.breadcrumb.home")), /*#__PURE__*/react.createElement("i", {
52555
  className: "fas fa-chevron-right"
52556
  }))), /*#__PURE__*/react.createElement(Tippy_Tippy, {
52557
- content: translate("bar.breadcrumb.tippy_group"),
52558
  arrow: false
52559
- }, /*#__PURE__*/react.createElement(Button_Button, {
52560
  onClick: function onClick() {
52561
  history.push("/group/".concat(group.id));
52562
  },
@@ -52573,7 +52592,7 @@ function ButtonHeader(_ref) {
52573
  href: "#/group/" + group.id
52574
  }, /*#__PURE__*/react.createElement("i", {
52575
  className: "fas fa-chevron-down"
52576
- }), translate("bar.edit_group_settings"))), /*#__PURE__*/react.createElement("div", {
52577
  className: "mdc-card top-header"
52578
  }, /*#__PURE__*/react.createElement(Tabs_Tabs, {
52579
  value: tab,
@@ -52582,7 +52601,7 @@ function ButtonHeader(_ref) {
52582
  textColor: "secondary",
52583
  className: "tab-bordered"
52584
  }, /*#__PURE__*/react.createElement(LinkTab, {
52585
- label: translate("settings.setting_categories.general"),
52586
  id: 0,
52587
  page: "general",
52588
  "data-testid": "general-tab",
@@ -52590,7 +52609,7 @@ function ButtonHeader(_ref) {
52590
  className: "fas fa-wrench"
52591
  })
52592
  }), /*#__PURE__*/react.createElement(LinkTab, {
52593
- label: translate("utils.style"),
52594
  id: 1,
52595
  page: "style",
52596
  "data-testid": "style-tab",
@@ -52598,7 +52617,7 @@ function ButtonHeader(_ref) {
52598
  className: "fas fa-paint-brush"
52599
  })
52600
  }), /*#__PURE__*/react.createElement(LinkTab, {
52601
- label: translate("utils.advanced"),
52602
  id: 2,
52603
  page: "advanced",
52604
  "data-testid": "advanced-tab",
@@ -52664,7 +52683,7 @@ function CollapsibleGroup(_ref) {
52664
 
52665
  return /*#__PURE__*/react.createElement("div", {
52666
  className: (0,clsx_m/* default */.Z)("collapsible-group mdc-card", isOpened && "collapsible-opened", className)
52667
- }, /*#__PURE__*/react.createElement(Button_Button, CollapsibleGroup_extends({
52668
  onClick: handleClick,
52669
  color: "primary"
52670
  }, groupProps), title, " ", /*#__PURE__*/react.createElement("i", {
@@ -52706,7 +52725,7 @@ function SettingsContainer(_ref) {
52706
  content: tooltip,
52707
  ignorePreference: true,
52708
  disabled: tooltip == null
52709
- }, /*#__PURE__*/react.createElement(Icon_Icon, {
52710
  color: "primary",
52711
  fontSize: "small",
52712
  className: "fas fa-info-circle"
@@ -52755,12 +52774,12 @@ function Visibility(_ref) {
52755
  setDesktopSelected(desktop);
52756
  }, [mobile, desktop]);
52757
  return /*#__PURE__*/react.createElement(SettingsContainer, {
52758
- title: translate("settings.show_mobile_desktop.title"),
52759
  fullWidth: false,
52760
  className: "desktop-mobile-visibility"
52761
  }, /*#__PURE__*/react.createElement(Tippy_Tippy, {
52762
- content: translate("settings.show_mobile_desktop.mobile")
52763
- }, /*#__PURE__*/react.createElement(Button_Button, {
52764
  className: "buttonMobile",
52765
  onClick: function onClick() {
52766
  var update = !mobileSelected;
@@ -52773,8 +52792,8 @@ function Visibility(_ref) {
52773
  }, /*#__PURE__*/react.createElement("i", {
52774
  className: "fas fa-mobile-alt"
52775
  }))), /*#__PURE__*/react.createElement(Tippy_Tippy, {
52776
- content: translate("settings.show_mobile_desktop.desktop")
52777
- }, /*#__PURE__*/react.createElement(Button_Button, {
52778
  onClick: function onClick() {
52779
  var update = !desktopSelected;
52780
  setDesktopSelected(update);
@@ -52831,9 +52850,9 @@ function Label(_ref) {
52831
  setPlaceholder(placeholder);
52832
  setUsePlaceholder(true);
52833
  }, [placeholder]);
52834
- return /*#__PURE__*/react.createElement(TextField_TextField, {
52835
  variant: "outlined",
52836
- label: translate("settings.label.placeholder"),
52837
  onChange: function onChange(obj) {
52838
  setUsePlaceholder(false);
52839
  setLabel(obj.target.value);
@@ -52894,39 +52913,39 @@ function Mail(_ref) {
52894
  var isInvalid = value !== "" ? !isEmail_default()(value) : false;
52895
  return /*#__PURE__*/react.createElement("div", {
52896
  className: "button-action-value"
52897
- }, /*#__PURE__*/react.createElement(TextField_TextField, {
52898
  variant: "outlined",
52899
  fullWidth: true,
52900
  value: value,
52901
  inputProps: {
52902
  "data-testid": "action:field"
52903
  },
52904
- label: translate("settings.button_action.placeholders.mail.recipient"),
52905
- helperText: isInvalid ? translate("settings.button_action.actions.mail.invalid") : null,
52906
  error: isInvalid,
52907
  onChange: function onChange(obj) {
52908
  _onChange(obj.target.value);
52909
  }
52910
- }), /*#__PURE__*/react.createElement(TextField_TextField, {
52911
  variant: "outlined",
52912
  fullWidth: true,
52913
  value: subject,
52914
- label: translate("settings.button_action.placeholders.mail.subject"),
52915
  onChange: function onChange(obj) {
52916
  _onChange(obj.target.value, "text_subject");
52917
  },
52918
  inputProps: {
52919
  "data-testid": "action:field"
52920
  }
52921
- }), showCC ? /*#__PURE__*/react.createElement(TextField_TextField, {
52922
  variant: "outlined",
52923
  fullWidth: true,
52924
  value: cc,
52925
- label: translate("settings.button_action.placeholders.mail.cc"),
52926
  onChange: function onChange(obj) {
52927
  _onChange(obj.target.value, "text_cc");
52928
  }
52929
- }) : /*#__PURE__*/react.createElement(Button_Button, {
52930
  color: "primary",
52931
  size: "small",
52932
  style: {
@@ -52937,15 +52956,15 @@ function Mail(_ref) {
52937
  onClick: function onClick() {
52938
  return setShowCC(true);
52939
  }
52940
- }, "Cc"), showBCC ? /*#__PURE__*/react.createElement(TextField_TextField, {
52941
  variant: "outlined",
52942
  fullWidth: true,
52943
  value: bcc,
52944
- label: translate("settings.button_action.placeholders.mail.bcc"),
52945
  onChange: function onChange(obj) {
52946
  _onChange(obj.target.value, "text_bcc");
52947
  }
52948
- }) : /*#__PURE__*/react.createElement(Button_Button, {
52949
  color: "primary",
52950
  size: "small",
52951
  style: {
@@ -52956,7 +52975,7 @@ function Mail(_ref) {
52956
  return setShowBCC(true);
52957
  },
52958
  startIcon: "+"
52959
- }, "Bcc"), /*#__PURE__*/react.createElement(TextField_TextField, {
52960
  variant: "outlined",
52961
  fullWidth: true,
52962
  multiline: true,
@@ -52965,7 +52984,7 @@ function Mail(_ref) {
52965
  "data-testid": "action:field"
52966
  },
52967
  value: body,
52968
- label: translate("settings.button_action.placeholders.mail.body"),
52969
  onChange: function onChange(obj) {
52970
  _onChange(obj.target.value, "text_body");
52971
  }
@@ -52988,26 +53007,26 @@ function WhatsApp(_ref) {
52988
  var isValidPhoneNumber = value !== "" ? (0,isMobilePhone/* default */.ZP)(value, "any", {}) : true;
52989
  return /*#__PURE__*/react.createElement("div", {
52990
  className: "button-action-subject"
52991
- }, /*#__PURE__*/react.createElement(TextField_TextField, {
52992
  variant: "outlined",
52993
  fullWidth: true,
52994
  value: value,
52995
- helperText: !isValidPhoneNumber ? translate("settings.button_action.actions.phone_number.invalid") : null,
52996
  error: !isValidPhoneNumber,
52997
- label: translate("settings.button_action.actions.phone_number.number"),
52998
  inputProps: {
52999
  "data-testid": "action:field"
53000
  },
53001
  onChange: function onChange(obj) {
53002
  _onChange(obj.target.value);
53003
  }
53004
- }), /*#__PURE__*/react.createElement(TextField_TextField, {
53005
  variant: "outlined",
53006
  fullWidth: true,
53007
  multiline: true,
53008
  rows: 4,
53009
  value: body,
53010
- label: translate("settings.button_action.placeholders.message"),
53011
  inputProps: {
53012
  "data-testid": "action:field"
53013
  },
@@ -53122,7 +53141,7 @@ function SocialSharing(_ref) {
53122
  className: "button-action-value"
53123
  }, /*#__PURE__*/react.createElement(InputLabel_InputLabel, {
53124
  ref: inputLabel
53125
- }, translate("settings.button_action.title")), /*#__PURE__*/react.createElement(Select_Select, {
53126
  labelId: "button-action-value",
53127
  value: value,
53128
  onChange: function onChange(e) {
@@ -53150,91 +53169,91 @@ function SocialSharing(_ref) {
53150
  disableSticky: true,
53151
  value: null,
53152
  className: classes.group
53153
- }, translate("settings.button_action.actions.social_sharing.popular") + ":"), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53154
  value: "facebook",
53155
  className: classes.item
53156
- }, translate("settings.button_action.actions.share_page_on", {
53157
  platform: "Facebook"
53158
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53159
  value: "twitter",
53160
  className: classes.item
53161
- }, translate("settings.button_action.actions.share_page_on", {
53162
  platform: "Twitter"
53163
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53164
  value: "whatsapp",
53165
  className: classes.item
53166
- }, translate("settings.button_action.actions.share_page_on", {
53167
  platform: "Whatsapp"
53168
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53169
  value: "linkedin",
53170
  className: classes.item
53171
- }, translate("settings.button_action.actions.share_page_on", {
53172
  platform: "LinkedIn"
53173
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53174
  value: "pinterest",
53175
  className: classes.item
53176
- }, translate("settings.button_action.actions.share_page_on", {
53177
  platform: "Pinterest"
53178
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53179
  value: "mail",
53180
  className: classes.item
53181
- }, translate("settings.button_action.actions.share_page_via", {
53182
  platform: "email"
53183
  })), /*#__PURE__*/react.createElement(ListSubheader_ListSubheader, {
53184
  disableSticky: true,
53185
  value: null,
53186
  className: classes.group
53187
- }, translate("settings.button_action.actions.social_sharing.other") + ":"), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53188
  value: "sms",
53189
  className: classes.item
53190
- }, translate("settings.button_action.actions.share_page_on", {
53191
  platform: "SMS"
53192
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53193
  value: "reddit",
53194
  className: classes.item
53195
- }, translate("settings.button_action.actions.share_page_on", {
53196
  platform: "Reddit"
53197
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53198
  value: "tumblr",
53199
  className: classes.item
53200
- }, translate("settings.button_action.actions.share_page_on", {
53201
  platform: "Tumblr"
53202
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53203
  value: "weibo",
53204
  className: classes.item
53205
- }, translate("settings.button_action.actions.share_page_on", {
53206
  platform: "Weibo"
53207
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53208
  value: "vk",
53209
  className: classes.item
53210
- }, translate("settings.button_action.actions.share_page_on", {
53211
  platform: "VK"
53212
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53213
  value: "ok",
53214
  className: classes.item
53215
- }, translate("settings.button_action.actions.share_page_on", {
53216
  platform: "OK.ru (Odnoklassniki)"
53217
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53218
  value: "xing",
53219
  className: classes.item
53220
- }, translate("settings.button_action.actions.share_page_on", {
53221
  platform: "Xing"
53222
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53223
  value: "blogger",
53224
  className: classes.item
53225
- }, translate("settings.button_action.actions.share_page_on", {
53226
  platform: "Blogger"
53227
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53228
  value: "flipboard",
53229
  className: classes.item
53230
- }, translate("settings.button_action.actions.share_page_on", {
53231
  platform: "Flipboard"
53232
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53233
  value: "line",
53234
  className: classes.item
53235
- }, translate("settings.button_action.actions.share_page_on", {
53236
  platform: "Line"
53237
- }))), valuesWithBody.includes(value) ? /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(TextField_TextField, {
53238
  variant: "outlined",
53239
  fullWidth: true,
53240
  multiline: true,
@@ -53242,7 +53261,7 @@ function SocialSharing(_ref) {
53242
  onSelect: changeSelection,
53243
  onBlur: removeSelection,
53244
  inputRef: bodyInputRef,
53245
- label: translate("settings.button_action.placeholders.mail.body"),
53246
  value: body,
53247
  inputProps: {
53248
  "data-testid": "action:field"
@@ -53285,12 +53304,12 @@ function Sms(_ref) {
53285
  var isValidPhoneNumber = value !== "" ? (0,isMobilePhone/* default */.ZP)(value, "any", {}) : true;
53286
  return /*#__PURE__*/react.createElement("div", {
53287
  className: "button-action-value"
53288
- }, /*#__PURE__*/react.createElement(TextField_TextField, {
53289
  variant: "outlined",
53290
  fullWidth: true,
53291
  value: value,
53292
- label: translate("settings.button_action.actions.phone_number.number"),
53293
- helperText: !isValidPhoneNumber ? translate("settings.button_action.actions.phone_number.invalid") : null,
53294
  error: !isValidPhoneNumber,
53295
  onChange: function onChange(obj) {
53296
  _onChange(obj.target.value);
@@ -53298,7 +53317,7 @@ function Sms(_ref) {
53298
  inputProps: {
53299
  "data-testid": "action:field"
53300
  }
53301
- }), /*#__PURE__*/react.createElement(TextField_TextField, {
53302
  variant: "outlined",
53303
  fullWidth: true,
53304
  multiline: true,
@@ -53307,13 +53326,13 @@ function Sms(_ref) {
53307
  "data-testid": "action:field"
53308
  },
53309
  value: body,
53310
- label: "SMS" + " " + translate("settings.button_action.placeholders.mail.body"),
53311
  onChange: function onChange(obj) {
53312
  _onChange(obj.target.value, "text_body");
53313
  }
53314
  }), /*#__PURE__*/react.createElement("p", {
53315
  dangerouslySetInnerHTML: {
53316
- __html: translate("settings.button_action.actions.sms")
53317
  }
53318
  }));
53319
  }
@@ -53331,7 +53350,7 @@ function TwitterDm(_ref) {
53331
  var check = /^\d+$/;
53332
  return /*#__PURE__*/react.createElement("div", {
53333
  className: "button-action-value"
53334
- }, /*#__PURE__*/react.createElement(TextField_TextField, {
53335
  variant: "outlined",
53336
  fullWidth: true,
53337
  value: value,
@@ -53344,7 +53363,7 @@ function TwitterDm(_ref) {
53344
  inputProps: {
53345
  "data-testid": "action:field"
53346
  }
53347
- }), /*#__PURE__*/react.createElement(TextField_TextField, {
53348
  variant: "outlined",
53349
  fullWidth: true,
53350
  inputProps: {
@@ -53353,7 +53372,7 @@ function TwitterDm(_ref) {
53353
  multiline: true,
53354
  rows: 4,
53355
  value: body,
53356
- label: translate("settings.button_action.placeholders.message"),
53357
  onChange: function onChange(obj) {
53358
  _onChange(obj.target.value, "text_body");
53359
  }
@@ -53392,7 +53411,7 @@ function ElementorPopup(_ref) {
53392
  }, []);
53393
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("p", {
53394
  dangerouslySetInnerHTML: {
53395
- __html: translate("settings.popups.elementor_guide")
53396
  }
53397
  }), /*#__PURE__*/react.createElement("pre", {
53398
  style: {
@@ -53404,8 +53423,8 @@ function ElementorPopup(_ref) {
53404
  padding: "5.5px"
53405
  }
53406
  }, "a[", value.substring(value.length - 3) === "Ev2" ? "buttonizer-popup" : "href", "=\"#", value, "\"]"), /*#__PURE__*/react.createElement(Tippy_Tippy, {
53407
- content: translate("settings.popups.generate")
53408
- }, /*#__PURE__*/react.createElement(IconButton_IconButton, {
53409
  onClick: function onClick() {
53410
  onChange("elementor" + uniqueCharset() + "Ev2");
53411
  },
@@ -53445,7 +53464,7 @@ function PopupMaker(_ref) {
53445
  }, []);
53446
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("p", {
53447
  dangerouslySetInnerHTML: {
53448
- __html: translate("settings.popups.popup_maker_guide")
53449
  }
53450
  }), /*#__PURE__*/react.createElement("pre", {
53451
  style: {
@@ -53457,8 +53476,8 @@ function PopupMaker(_ref) {
53457
  padding: "5.5px"
53458
  }
53459
  }, "a[", value.substring(value.length - 3) === "Pv2" ? "buttonizer-popup" : "href", "=\"#", value, "\"]"), /*#__PURE__*/react.createElement(Tippy_Tippy, {
53460
- content: translate("settings.popups.generate")
53461
- }, /*#__PURE__*/react.createElement(IconButton_IconButton, {
53462
  onClick: function onClick() {
53463
  onChange("popupMaker" + uniqueCharset() + "Pv2");
53464
  },
@@ -53540,7 +53559,7 @@ function ButtonActionNewTab(_ref) {
53540
  size: "small"
53541
  }, /*#__PURE__*/react.createElement(InputLabel_InputLabel, {
53542
  ref: inputLabel
53543
- }, translate("settings.button_action.open_url.title")), /*#__PURE__*/react.createElement(Select_Select, {
53544
  onChange: handleChange,
53545
  labelWidth: labelWidth,
53546
  className: "open-url-in",
@@ -53603,7 +53622,7 @@ function DefaultTextField(_ref) {
53603
  var isValidPhoneNumber = checkPhoneNumber ? value !== "" ? (0,isMobilePhone/* default */.ZP)(value, "any", {}) : true : true;
53604
  return /*#__PURE__*/react.createElement("div", {
53605
  className: "button-action-value"
53606
- }, /*#__PURE__*/react.createElement(TextField_TextField, {
53607
  variant: "outlined",
53608
  fullWidth: true,
53609
  inputProps: {
@@ -53641,7 +53660,7 @@ function addKnowledgeBaseLink(knowledge) {
53641
  components: {
53642
  bold: /*#__PURE__*/react.createElement("strong", null)
53643
  }
53644
- }) : translate("utils.visit_knowledgebase"));
53645
  }
53646
  ;// CONCATENATED MODULE: ./src/js/dashboard/Components/Settings/ButtonAction/ButtonActionValue/MessengerChat/MessengerLanguageCodes.json
53647
  var MessengerLanguageCodes_namespaceObject = JSON.parse('{"af_ZA":"Afrikaans","ar_AR":"Arabic","az_AZ":"Azerbaijani","be_BY":"Belarusian","bg_BG":"Bulgarian","bn_IN":"Bengali","bs_BA":"Bosnian","ca_ES":"Catalan","cs_CZ":"Czech","cy_GB":"Welsh","da_DK":"Danish","de_DE":"German","el_GR":"Greek","en_GB":"English (UK)","en_PI":"English (Pirate)","en_UD":"English (Upside Down)","en_US":"English (US)","eo_EO":"Esperanto","es_ES":"Spanish (Spain)","es_LA":"Spanish","et_EE":"Estonian","eu_ES":"Basque","fa_IR":"Persian","fb_LT":"Leet Speak","fi_FI":"Finnish","fo_FO":"Faroese","fr_CA":"French (Canada)","fr_FR":"French (France)","fy_NL":"Frisian","ga_IE":"Irish","gl_ES":"Galician","he_IL":"Hebrew","hi_IN":"Hindi","hr_HR":"Croatian","hu_HU":"Hungarian","hy_AM":"Armenian","id_ID":"Indonesian","is_IS":"Icelandic","it_IT":"Italian","ja_JP":"Japanese","ka_GE":"Georgian","km_KH":"Khmer","ko_KR":"Korean","ku_TR":"Kurdish","la_VA":"Latin","lt_LT":"Lithuanian","lv_LV":"Latvian","mk_MK":"Macedonian","ml_IN":"Malayalam","ms_MY":"Malay","nb_NO":"Norwegian (bokmal)","ne_NP":"Nepali","nl_NL":"Dutch","nn_NO":"Norwegian (nynorsk)","pa_IN":"Punjabi","pl_PL":"Polish","ps_AF":"Pashto","pt_BR":"Portuguese (Brazil)","pt_PT":"Portuguese (Portugal)","ro_RO":"Romanian","ru_RU":"Russian","sk_SK":"Slovak","sl_SI":"Slovenian","sq_AL":"Albanian","sr_RS":"Serbian","sv_SE":"Swedish","sw_KE":"Swahili","ta_IN":"Tamil","te_IN":"Telugu","th_TH":"Thai","tl_PH":"Filipino","tr_TR":"Turkish","uk_UA":"Ukrainian","vi_VN":"Vietnamese","zh_CN":"Simplified Chinese (China)","zh_HK":"Traditional Chinese (Hong Kong)","zh_TW":"Traditional Chinese (Taiwan)"}');
@@ -53729,8 +53748,8 @@ function MessengerChat(_ref) {
53729
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(DefaultTextField, {
53730
  value: data.action,
53731
  check: /^\d+$/,
53732
- checkText: translate("settings.button_action.actions.messenger_chat.invalid"),
53733
- placeholder: translate("settings.button_action.actions.messenger_chat.page_id"),
53734
  paragraph: /*#__PURE__*/react.createElement("p", null, /*#__PURE__*/react.createElement(Trans, {
53735
  i18nKey: "settings.button_action.actions.messenger_chat.description",
53736
  components: {
@@ -53759,7 +53778,7 @@ function MessengerChat(_ref) {
53759
  }
53760
  }, /*#__PURE__*/react.createElement(InputLabel_InputLabel, {
53761
  ref: inputLabel
53762
- }, translate("settings.button_action.actions.messenger_chat.language")), /*#__PURE__*/react.createElement(Select_Select, {
53763
  value: data.messenger_lang || "en_US",
53764
  onChange: function onChange(e) {
53765
  _onChange(e.target.value, "messenger_lang");
@@ -53845,7 +53864,7 @@ function ButtonActionRelAttributes(_ref) {
53845
  multiple: true,
53846
  size: "small",
53847
  id: "tags-outlined",
53848
- clearText: translate("utils.clear"),
53849
  "data-testid": "button-action-rel",
53850
  options: ["noreferrer", "nofollow", "noopener", "help", "prev", "next", "external", "alternate"],
53851
  getOptionLabel: function getOptionLabel(option) {
@@ -53879,13 +53898,13 @@ function ButtonActionRelAttributes(_ref) {
53879
  "data-testid": "button-action-rel-select-icon"
53880
  }),
53881
  renderInput: function renderInput(params) {
53882
- return /*#__PURE__*/react.createElement(TextField_TextField, ButtonActionRelAttributes_extends({}, params, {
53883
  variant: "outlined",
53884
- label: translate("settings.button_action.rel_attributes.title"),
53885
- placeholder: translate("settings.button_action.rel_attributes.placeholder"),
53886
  helperText: /*#__PURE__*/react.createElement(KnowledgeBaseLink, {
53887
  articleId: 519,
53888
- setting: translate("settings.button_action.rel_attributes.title"),
53889
  size: "small"
53890
  }),
53891
  InputProps: ButtonActionRelAttributes_objectSpread(ButtonActionRelAttributes_objectSpread({}, params.InputProps), {}, {
@@ -53896,8 +53915,8 @@ function ButtonActionRelAttributes(_ref) {
53896
  });
53897
  }
53898
  // EXTERNAL MODULE: ./node_modules/validator/lib/isURL.js
53899
- var isURL = __webpack_require__(66823);
53900
- var isURL_default = /*#__PURE__*/__webpack_require__.n(isURL);
53901
  ;// CONCATENATED MODULE: ./src/js/utils/isValidURL.js
53902
 
53903
  function isValidURL(value) {
@@ -53955,14 +53974,14 @@ function Url(_ref) {
53955
  }, []);
53956
  return /*#__PURE__*/react.createElement("div", {
53957
  className: "button-action-value"
53958
- }, /*#__PURE__*/react.createElement(TextField_TextField, {
53959
  variant: "outlined",
53960
  fullWidth: true,
53961
  value: value,
53962
  label: placeholder,
53963
- helperText: hasDomainError && /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("p", null, translate("settings.button_action.actions.url.invalid")), /*#__PURE__*/react.createElement("p", {
53964
  dangerouslySetInnerHTML: {
53965
- __html: translate("settings.button_action.actions.url.invalid_tip")
53966
  }
53967
  })),
53968
  FormHelperTextProps: {
@@ -54356,7 +54375,7 @@ function Page(_ref) {
54356
  id: "pages-action-input",
54357
  "data-testid": "action:pages-action-input",
54358
  options: loading ? [] : store.getState().wp.data["pages"],
54359
- loadingText: translate("loading.loading"),
54360
  getOptionLabel: function getOptionLabel(option) {
54361
  return selected && option.id == selected.id ? "".concat(option.type, ": ").concat(option.name) : option.name;
54362
  },
@@ -54375,14 +54394,14 @@ function Page(_ref) {
54375
 
54376
  _onChange(value.id, "action");
54377
  },
54378
- noOptionsText: translate("utils.search_not_found"),
54379
  renderInput: function renderInput(params) {
54380
- return /*#__PURE__*/react.createElement(TextField_TextField, Page_extends({}, params, {
54381
  variant: "outlined",
54382
- label: translate("settings.button_action.actions.page.name"),
54383
- placeholder: translate("settings.button_action.actions.page.placeholder"),
54384
  disabled: loading,
54385
- helperText: translate("settings.button_action.actions.page.helper"),
54386
  InputProps: Page_objectSpread(Page_objectSpread({}, params.InputProps), {}, {
54387
  "data-testid": "action:autocomplete-input",
54388
  endAdornment: /*#__PURE__*/react.createElement(react.Fragment, null, loading ? /*#__PURE__*/react.createElement(CircularProgress_CircularProgress, {
@@ -54399,7 +54418,7 @@ function Page(_ref) {
54399
  }
54400
  }), /*#__PURE__*/react.createElement(KnowledgeBaseLink, {
54401
  articleId: 580,
54402
- setting: translate("settings.button_action.actions.page.name")
54403
  }));
54404
  }
54405
 
@@ -56186,7 +56205,7 @@ function JavaScriptAction(_ref) {
56186
  if (navigator.clipboard) {
56187
  navigator.clipboard.writeText(ref.current.value); // Show code copied message
56188
 
56189
- enqueueSnackbar(translate("utils.code_copied"), {
56190
  anchorOrigin: {
56191
  vertical: "top",
56192
  horizontal: "left"
@@ -56198,7 +56217,7 @@ function JavaScriptAction(_ref) {
56198
  // Not PRO
56199
 
56200
 
56201
- return /*#__PURE__*/react.createElement(Button_Button, {
56202
  variant: "contained",
56203
  color: "primary",
56204
  fullWidth: true,
@@ -56261,9 +56280,9 @@ function ButtonActionValue(_ref) {
56261
  case "phone":
56262
  return /*#__PURE__*/react.createElement(DefaultTextField, {
56263
  value: button.action,
56264
- placeholder: translate("settings.button_action.actions.phone_number.number"),
56265
  checkPhoneNumber: true,
56266
- checkText: translate("settings.button_action.actions.phone_number.invalid"),
56267
  onChange: function onChange(val, type) {
56268
  _onChange(val, type);
56269
  }
@@ -56359,8 +56378,8 @@ function ButtonActionValue(_ref) {
56359
  value: button.action,
56360
  placeholder: "+00123456789",
56361
  checkPhoneNumber: true,
56362
- checkText: translate("settings.button_action.actions.phone_number.invalid"),
56363
- paragraph: /*#__PURE__*/react.createElement("p", null, translate("settings.button_action.actions.viber")),
56364
  onChange: function onChange(val, type) {
56365
  _onChange(val, type);
56366
  }
@@ -56377,7 +56396,7 @@ function ButtonActionValue(_ref) {
56377
  case "linkedin":
56378
  return /*#__PURE__*/react.createElement(DefaultTextField, {
56379
  value: button.action,
56380
- placeholder: '"company/COMPANY-NAME" ' + translate("common.or") + ' "in/USERNAME"',
56381
  onChange: function onChange(val, type) {
56382
  _onChange(val, type);
56383
  }
@@ -56473,7 +56492,7 @@ function ButtonActionValue(_ref) {
56473
  case "vk":
56474
  return /*#__PURE__*/react.createElement(DefaultTextField, {
56475
  value: button.action,
56476
- placeholder: translate("settings.button_action.placeholders.username"),
56477
  onChange: function onChange(val, type) {
56478
  _onChange(val, type);
56479
  }
@@ -56584,7 +56603,7 @@ function ButtonAction(_ref) {
56584
  "data-testid": "button-action"
56585
  }, /*#__PURE__*/react.createElement(ConfirmDialog, {
56586
  open: cancelChange.open,
56587
- title: translate("settings.button_action.actions.javascript.warning_modal_title"),
56588
  icon: /*#__PURE__*/react.createElement("i", {
56589
  className: "fas fa-exclamation window-icon"
56590
  }),
@@ -56603,14 +56622,14 @@ function ButtonAction(_ref) {
56603
  },
56604
  buttons: [{
56605
  value: "cancel",
56606
- text: translate("modal.changed_my_mind")
56607
  }, {
56608
  value: "confirm",
56609
- text: translate("modal.yes_please"),
56610
  variant: "contained"
56611
  }],
56612
  testId: "button-action-javascript-dialog"
56613
- }, /*#__PURE__*/react.createElement("p", null, translate("settings.button_action.actions.javascript.warning_intro")), /*#__PURE__*/react.createElement("p", null, translate("settings.button_action.actions.javascript.warning_question"))), /*#__PURE__*/react.createElement(Autocomplete_Autocomplete, {
56614
  id: "button-action-selector",
56615
  "data-testid": "setting:button-action-select",
56616
  options: ButtonActionOptions,
@@ -56640,20 +56659,20 @@ function ButtonAction(_ref) {
56640
  },
56641
  getOptionLabel: function getOptionLabel(option) {
56642
  /* webpack-strip-block:removed */
56643
- if (option.isPro) return "".concat(translate(option.label), " (PRO)");
56644
- return translate(option.label);
56645
  },
56646
  getOptionDisabled: function getOptionDisabled(option) {
56647
  /* webpack-strip-block:removed */
56648
  return option.isPro;
56649
  },
56650
  groupBy: function groupBy(option) {
56651
- return translate("settings.button_action.actions.group_".concat(option.group));
56652
  },
56653
- noOptionsText: translate("utils.search_not_found"),
56654
  renderInput: function renderInput(params) {
56655
- return /*#__PURE__*/react.createElement(TextField_TextField, ButtonAction_extends({}, params, {
56656
- label: translate("settings.button_action.title"),
56657
  variant: "outlined"
56658
  }));
56659
  }
@@ -56882,7 +56901,7 @@ function Options(_ref) {
56882
  setOpenedGroup(openCollapsibleGroup ? openCollapsibleGroup : "button_general_general");
56883
  }, [openCollapsibleGroup]);
56884
  return /*#__PURE__*/react.createElement("div", null, /*#__PURE__*/react.createElement(CollapsibleGroup, {
56885
- title: translate("settings.setting_categories.general"),
56886
  opened: openedGroup === "button_general_general",
56887
  onSetIsOpened: function onSetIsOpened(val) {
56888
  return setOpenedGroup(val ? "button_general_general" : "");
@@ -56890,7 +56909,7 @@ function Options(_ref) {
56890
  "data-testid": "group:general"
56891
  }, /*#__PURE__*/react.createElement("div", {
56892
  className: "setting-group-title"
56893
- }, translate("settings.button_action.title")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(ButtonAction, {
56894
  actionType: get("type", {
56895
  returnDefault: true
56896
  }),
@@ -56901,14 +56920,14 @@ function Options(_ref) {
56901
  action: get("action")
56902
  }), /*#__PURE__*/react.createElement("div", {
56903
  className: "setting-group-title"
56904
- }, translate("settings.show_mobile_desktop.device_visibility")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(Visibility, {
56905
  mobile: get("show_mobile") == true,
56906
  desktop: get("show_desktop") == true,
56907
  onChange: function onChange(type, val) {
56908
  return set(type, val);
56909
  }
56910
  })), /*#__PURE__*/react.createElement(CollapsibleGroup, {
56911
- title: translate("settings.label.title"),
56912
  opened: openedGroup === "button_general_label",
56913
  onSetIsOpened: function onSetIsOpened(val) {
56914
  return setOpenedGroup(val ? "button_general_label" : "");
@@ -56916,7 +56935,7 @@ function Options(_ref) {
56916
  "data-testid": "group:label"
56917
  }, /*#__PURE__*/react.createElement("div", {
56918
  className: "setting-group-title"
56919
- }, translate("settings.setting_categories.label")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(Label, {
56920
  value: get("label"),
56921
  onChange: function onChange(val) {
56922
  if (val === "") return set("label", "unset");
@@ -58989,14 +59008,14 @@ function IconPickerFrame(_ref) {
58989
  "data-testid": "icon-frame"
58990
  }, /*#__PURE__*/react.createElement("div", {
58991
  className: "header"
58992
- }, /*#__PURE__*/react.createElement(TextField_TextField, {
58993
  value: keyword,
58994
  fullWidth: true,
58995
  variant: "outlined",
58996
  inputProps: {
58997
  "data-testid": "search-field"
58998
  },
58999
- placeholder: translate("utils.icon_selector.search_icon"),
59000
  onChange: function onChange(e) {
59001
  setKeyword(e.target.value);
59002
  }
@@ -59035,7 +59054,7 @@ function IconPickerFrame(_ref) {
59035
  style: {
59036
  fontFamily: "Arial, Helvetica, sans-serif"
59037
  }
59038
- }, translate("utils.icon_selector.loading"))), keyword !== "" && /*#__PURE__*/react.createElement("p", {
59039
  className: "search-results"
59040
  }, /*#__PURE__*/react.createElement("span", null, /*#__PURE__*/react.createElement(Trans, {
59041
  i18nKey: "utils.icon_selector.searching_for",
@@ -59052,7 +59071,7 @@ function IconPickerFrame(_ref) {
59052
  e.preventDefault();
59053
  setKeyword("");
59054
  }
59055
- }, translate("utils.icon_selector.remove_filter"))), /*#__PURE__*/react.createElement("div", {
59056
  className: "icon-list",
59057
  style: {
59058
  overflowX: "overlay"
@@ -59331,7 +59350,7 @@ function IconPickerDialog(_ref) {
59331
  (0,react.useEffect)(function () {
59332
  setCurrentSelectedIcon(startingValue);
59333
  }, [startingValue]);
59334
- return /*#__PURE__*/react.createElement(Dialog_Dialog, {
59335
  open: dialogOpened,
59336
  onClose: function onClose() {
59337
  return handleClose("cancel");
@@ -59340,9 +59359,9 @@ function IconPickerDialog(_ref) {
59340
  fullWidth: true,
59341
  "aria-labelledby": "alert-dialog-title",
59342
  "aria-describedby": "alert-dialog-description"
59343
- }, /*#__PURE__*/react.createElement(DialogTitle_DialogTitle, {
59344
  id: "alert-dialog-title"
59345
- }, translate("utils.icon_selector.title")), /*#__PURE__*/react.createElement(DialogContent_DialogContent, null, /*#__PURE__*/react.createElement(DialogContentText_DialogContentText, {
59346
  id: "alert-dialog-description",
59347
  component: "div"
59348
  }, dialogOpened && /*#__PURE__*/react.createElement(IconPickerDialog_DemoFrame, {
@@ -59358,26 +59377,26 @@ function IconPickerDialog(_ref) {
59358
  onSelect: function onSelect(icon) {
59359
  setCurrentSelectedIcon(icon);
59360
  }
59361
- })))), /*#__PURE__*/react.createElement(DialogActions_DialogActions, null, /*#__PURE__*/react.createElement(IconButton_IconButton, {
59362
  color: "primary",
59363
  onClick: function onClick() {
59364
  setCurrentSelectedIcon("unset");
59365
  handleClose("confirm", "unset");
59366
  },
59367
  "data-testid": "delete"
59368
- }, /*#__PURE__*/react.createElement(Icon_Icon, {
59369
  className: "fas fa-trash"
59370
- })), /*#__PURE__*/react.createElement(Button_Button, {
59371
  onClick: function onClick() {
59372
  return handleClose("cancel", currentSelectedIcon);
59373
  },
59374
  color: "primary"
59375
- }, translate("modal.cancel")), /*#__PURE__*/react.createElement(Button_Button, {
59376
  onClick: function onClick() {
59377
  return handleClose("confirm", currentSelectedIcon);
59378
  },
59379
  color: "primary"
59380
- }, translate("common.select"))));
59381
  }
59382
  ;// CONCATENATED MODULE: ./src/js/dashboard/Utils/generateIconLibraryStylesheet.js
59383
  // Get current icon library
@@ -59457,17 +59476,17 @@ function IconSelector(_ref) {
59457
  return generateIconLibraryStylesheet(icon_library, icon_library_version, icon_library_code);
59458
  }, [icon_library, icon_library_version, icon_library_code]);
59459
 
59460
- var handleClick = function handleClick() {
59461
- if (hoverDisabled) app.showPremiumDialog("More hover settings");else setDialogOpened(true);
59462
  };
59463
 
59464
  return /*#__PURE__*/react.createElement(SettingsContainer, {
59465
- title: translate("settings.icon.title"),
59466
  className: "form-icon-selector"
59467
  }, /*#__PURE__*/react.createElement("div", {
59468
  className: "selector",
59469
- onClick: function onClick() {
59470
- return handleClick();
59471
  }
59472
  }, /*#__PURE__*/react.createElement("div", {
59473
  className: "viewer",
@@ -59479,8 +59498,8 @@ function IconSelector(_ref) {
59479
  }, /*#__PURE__*/react.createElement(IconPickerDialog_DemoFrame, {
59480
  head: /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("style", null, IconSelector_stylesheet), memoizedStylesheet)
59481
  }, /*#__PURE__*/react.createElement("div", {
59482
- onClick: function onClick() {
59483
- return handleClick();
59484
  },
59485
  style: {
59486
  height: "65px",
@@ -59491,16 +59510,16 @@ function IconSelector(_ref) {
59491
  }
59492
  }, /*#__PURE__*/react.createElement("i", {
59493
  className: value
59494
- })))), /*#__PURE__*/react.createElement(Button_Button, {
59495
  disabled: hoverDisabled,
59496
  "data-testid": "setting:open-icon-picker",
59497
- onClick: function onClick() {
59498
- return handleClick();
59499
  },
59500
  color: "primary",
59501
  component: "span",
59502
  variant: "contained"
59503
- }, translate("settings.icon.select"))), /*#__PURE__*/react.createElement(IconPickerDialog, {
59504
  memoizedStylesheet: memoizedStylesheet,
59505
  onClose: function onClose(val) {
59506
  if (!!val) onChange(val);
@@ -69760,7 +69779,7 @@ var CustomSwatch = (0,reactcss_lib.handleHover)(function (_ref) {
69760
  onClick: onClick,
69761
  onHover: onSwatchHover,
69762
  title: null
69763
- }, children == null ? /*#__PURE__*/react.createElement(Icon_Icon, {
69764
  className: "fas fa-check",
69765
  style: styles.check
69766
  }) : children)));
@@ -69816,11 +69835,11 @@ var ColorSwatches = function ColorSwatches(_ref2) {
69816
  }), swatches.length < 20 ? /*#__PURE__*/react.createElement(CustomSwatch, {
69817
  color: "#FFFFFF",
69818
  onClick: handleNewSwatch,
69819
- title: translate("settings.color_picker.new_swatch_description"),
69820
  extraProps: {
69821
  "data-testid": "new-swatch"
69822
  }
69823
- }, /*#__PURE__*/react.createElement(Icon_Icon, {
69824
  className: "fas fa-plus",
69825
  style: {
69826
  fontSize: "1rem",
@@ -70018,13 +70037,13 @@ var ColorPickerPopover = function ColorPickerPopover(_ref) {
70018
  }
70019
  }, /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
70020
  value: "solid"
70021
- }, translate("settings.color_picker.options.solid")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
70022
  disabled: true,
70023
  value: "linear"
70024
- }, translate("settings.color_picker.options.linear"), /*#__PURE__*/react.createElement(PremiumTag, null)), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
70025
  disabled: true,
70026
  value: "radial"
70027
- }, translate("settings.color_picker.options.radial"), /*#__PURE__*/react.createElement(PremiumTag, null)));
70028
  };
70029
 
70030
  return /*#__PURE__*/react.createElement("div", {
@@ -70267,7 +70286,7 @@ function ColorPicker(_ref) {
70267
  swatches: swatches,
70268
  setSwatches: setSwatches,
70269
  color: palette
70270
- })), /*#__PURE__*/react.createElement(Button_Button, {
70271
  className: "color-button",
70272
  variant: "contained",
70273
  size: "small",
@@ -71471,9 +71490,9 @@ function SliderContainer(_ref) {
71471
  },
71472
  value: sliderDisabled ? defaultValue : typeof sliderValue === "number" ? sliderValue : Number(sliderValue),
71473
  disabled: disabled || sliderDisabled,
71474
- onMouseDown: function onMouseDown() {
71475
  if (premium) {
71476
- app.showPremiumDialog("More hover settings!");
71477
  return;
71478
  }
71479
 
@@ -71492,8 +71511,8 @@ function SliderContainer(_ref) {
71492
  margin: "dense",
71493
  onChange: handleInputChange,
71494
  disabled: disabled,
71495
- onClick: function onClick() {
71496
- if (premium) app.showPremiumDialog("More hover settings!");
71497
  },
71498
  placeholder: sliderDisabled ? "".concat(defaultValue) : "",
71499
  endAdornment: inputText ? /*#__PURE__*/react.createElement(InputAdornment_InputAdornment, {
@@ -71570,7 +71589,7 @@ function IconType(_ref) {
71570
  var handleChange = function handleChange(e) {
71571
  /* webpack-strip-block:removed */
71572
  if (e.target.value === "image") {
71573
- app.showPremiumDialog(translate("premium.custom_image"));
71574
  return;
71575
  }
71576
 
@@ -71587,7 +71606,7 @@ function IconType(_ref) {
71587
  style: {
71588
  marginRight: 10
71589
  }
71590
- }), translate("common.off")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
71591
  value: "icon",
71592
  key: 1
71593
  }, /*#__PURE__*/react.createElement("i", {
@@ -71595,7 +71614,7 @@ function IconType(_ref) {
71595
  style: {
71596
  marginRight: 10
71597
  }
71598
- }), translate("utils.icon")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
71599
  value: "image",
71600
  style: {
71601
  opacity: 0.5
@@ -71606,11 +71625,11 @@ function IconType(_ref) {
71606
  style: {
71607
  marginRight: 10
71608
  }
71609
- }), translate("utils.image"), " ", /*#__PURE__*/react.createElement(PremiumTag, null))];
71610
  };
71611
 
71612
  return /*#__PURE__*/react.createElement(SettingsContainer, {
71613
- title: translate("common.type"),
71614
  className: "icon-or-image"
71615
  }, /*#__PURE__*/react.createElement(FormControl_FormControl, {
71616
  variant: "outlined",
@@ -71618,7 +71637,7 @@ function IconType(_ref) {
71618
  size: "small"
71619
  }, /*#__PURE__*/react.createElement(InputLabel_InputLabel, {
71620
  ref: inputLabel
71621
- }, translate("settings.icon_or_image.label")), /*#__PURE__*/react.createElement(Select_Select, {
71622
  onChange: handleChange,
71623
  labelWidth: labelWidth,
71624
  value: value,
@@ -71666,9 +71685,9 @@ function DisableSetting(_ref) {
71666
  return /*#__PURE__*/react.createElement("div", {
71667
  className: (0,clsx_m/* default */.Z)("disable-setting ".concat(condition ? "disabled" : ""), className),
71668
  "data-testid": "disable-setting",
71669
- onClick: function onClick() {
71670
  if (_onClick && condition) {
71671
- _onClick();
71672
  }
71673
  },
71674
  disabled: condition
@@ -71759,8 +71778,8 @@ function IconGroup(_ref) {
71759
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(DisableSetting, {
71760
  condition: hoverSettings === 1,
71761
  premiumTag: true,
71762
- onClick: function onClick() {
71763
- app.showPremiumDialog("More hover settings!");
71764
  }
71765
  }, /*#__PURE__*/react.createElement(IconSelector_IconSelector, {
71766
  value: icon[0],
@@ -71769,7 +71788,7 @@ function IconGroup(_ref) {
71769
  },
71770
  hoverDisabled: hoverSettings === 1
71771
  })), /*#__PURE__*/react.createElement(ColorPicker, {
71772
- title: translate("utils.color"),
71773
  value: color[hoverSettings],
71774
  defaultValue: get("icon_color", {
71775
  returnDefault: true,
@@ -71792,11 +71811,11 @@ function IconGroup(_ref) {
71792
  return /*#__PURE__*/react.createElement(DisableSetting, {
71793
  condition: hoverSettings === 1,
71794
  premiumTag: true,
71795
- onClick: function onClick() {
71796
- app.showPremiumDialog("More hover settings!");
71797
  }
71798
  }, /*#__PURE__*/react.createElement(SliderContainer, {
71799
- title: translate("settings.icon_size.title"),
71800
  value: icon_size[0],
71801
  defaultValue: get("icon_size", {
71802
  returnDefault: true,
@@ -71817,7 +71836,7 @@ function IconGroup(_ref) {
71817
  };
71818
 
71819
  return /*#__PURE__*/react.createElement(CollapsibleGroup, IconGroup_extends({
71820
- title: translate("utils.icon"),
71821
  "data-testid": "group:icon"
71822
  }, groupProps), iconType(), get("icon_type", {
71823
  defToGroup: false,
@@ -71988,11 +72007,7 @@ function FontFamily(_ref) {
71988
 
71989
  var setting = function setting() {
71990
  /* webpack-strip-block:removed */
71991
- return /*#__PURE__*/react.createElement("div", {
71992
- onClick: function onClick() {
71993
- app.showPremiumDialog(translate("premium.font_family"));
71994
- }
71995
- }, /*#__PURE__*/react.createElement(Autocomplete_Autocomplete, {
71996
  style: {
71997
  marginBottom: 15
71998
  },
@@ -72000,8 +72015,8 @@ function FontFamily(_ref) {
72000
  disabled: true,
72001
  size: "medium",
72002
  id: "tags-outlined",
72003
- clearText: translate("utils.clear"),
72004
- loadingText: translate("loading.loading"),
72005
  "data-testid": "font-family",
72006
  options: fontList,
72007
  filterSelectedOptions: true,
@@ -72016,17 +72031,17 @@ function FontFamily(_ref) {
72016
  "data-testid": "font-family-select-icon"
72017
  }),
72018
  renderInput: function renderInput(params) {
72019
- return /*#__PURE__*/react.createElement(TextField_TextField, FontFamily_extends({}, params, {
72020
  variant: "outlined",
72021
- label: translate("settings.font_family.title"),
72022
- placeholder: translate("settings.font_family.placeholder"),
72023
  InputProps: FontFamily_objectSpread(FontFamily_objectSpread({}, params.InputProps), {}, {
72024
  "data-testid": "font-family-input"
72025
  }),
72026
  className: "label-font-family"
72027
  }));
72028
  }
72029
- }));
72030
  };
72031
 
72032
  return setting();
@@ -72176,12 +72191,12 @@ function TextFieldCorners(_ref) {
72176
  transform: "translateY(-10px)",
72177
  textAlign: "center"
72178
  }
72179
- }, /*#__PURE__*/react.createElement(IconButton_IconButton, {
72180
  color: "primary",
72181
  className: classes.iconButton,
72182
  "data-testid": "textfield-corners-pixel",
72183
  disabled: true
72184
- }, "PX"), /*#__PURE__*/react.createElement(IconButton_IconButton, {
72185
  color: "primary",
72186
  className: classes.iconButton,
72187
  "data-testid": "textfield-corners-percent",
@@ -72202,7 +72217,7 @@ function TextFieldCorners(_ref) {
72202
  title: title,
72203
  fullWidth: true
72204
  }, values.map(function (val, key) {
72205
- return /*#__PURE__*/react.createElement(TextField_TextField, TextFieldCorners_extends({
72206
  value: val,
72207
  className: "textfield-corners-input",
72208
  margin: "dense",
@@ -72214,7 +72229,7 @@ function TextFieldCorners(_ref) {
72214
  return handleChange(key, e.target.value.replace(/^0+(\.?\d+)/, "$1").replace(/[^0-9]/gm, ""));
72215
  }
72216
  }, arrayProps[key]));
72217
- }), /*#__PURE__*/react.createElement(Button_Button, {
72218
  color: "primary",
72219
  variant: linked ? "contained" : "outlined",
72220
  className: classes.button,
@@ -72235,7 +72250,7 @@ function BorderRadius_extends() { BorderRadius_extends = Object.assign || functi
72235
 
72236
  function BorderRadius(props) {
72237
  return /*#__PURE__*/react.createElement(TextFieldCorners, BorderRadius_extends({
72238
- title: translate("settings.border_radius.title"),
72239
  type: "corners"
72240
  }, props));
72241
  }
@@ -72278,22 +72293,22 @@ function LabelVisibility(_ref) {
72278
  style: {
72279
  display: "none"
72280
  }
72281
- }, translate("settings.label_styles.group_default")), device === "desktop" ? [/*#__PURE__*/react.createElement(MenuItem_MenuItem, {
72282
  value: "always",
72283
  key: "always"
72284
- }, translate("settings.label_styles.always")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
72285
  value: "hover",
72286
  key: "hover"
72287
- }, translate("settings.label_styles.hover")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
72288
  value: "hide",
72289
  key: "hide"
72290
- }, translate("settings.label_styles.hide"))] : [/*#__PURE__*/react.createElement(MenuItem_MenuItem, {
72291
  value: "always",
72292
  key: "always"
72293
- }, translate("settings.label_styles.always")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
72294
  value: "hide",
72295
  key: "hide"
72296
- }, translate("settings.label_styles.hide"))])), trashButton ? /*#__PURE__*/react.createElement(TrashButton, {
72297
  onClick: function onClick() {
72298
  return _onChange("unset");
72299
  },
@@ -72558,7 +72573,7 @@ function BoxShadow(_ref) {
72558
  _ref$enabled = _ref.enabled,
72559
  enabled = _ref$enabled === void 0 ? true : _ref$enabled,
72560
  _ref$title = _ref.title,
72561
- title = _ref$title === void 0 ? translate("settings.box_shadow.title") : _ref$title,
72562
  _onChange = _ref.onChange,
72563
  _ref$defaultValue = _ref.defaultValue,
72564
  defaultValue = _ref$defaultValue === void 0 ? "0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)" : _ref$defaultValue,
@@ -72729,7 +72744,7 @@ function createTextfield(_ref4) {
72729
  value = _ref4$value === void 0 ? "" : _ref4$value,
72730
  def = _ref4.def,
72731
  _onChange2 = _ref4.onChange;
72732
- return /*#__PURE__*/react.createElement(TextField_TextField, {
72733
  key: key,
72734
  value: value,
72735
  type: "number",
@@ -73092,7 +73107,7 @@ var LabelPosition = function LabelPosition(_ref) {
73092
  component: ButtonGroup_ButtonGroup,
73093
  color: "primary",
73094
  className: (0,clsx_m/* default */.Z)("position-buttons position-horizontal")
73095
- }, /*#__PURE__*/react.createElement(Button_Button, {
73096
  color: "primary",
73097
  variant: labelPosition === "right" ? "contained" : "outlined",
73098
  onClick: function onClick() {
@@ -73101,7 +73116,7 @@ var LabelPosition = function LabelPosition(_ref) {
73101
  },
73102
  "data-testid": "setting:position-label-left",
73103
  size: "small"
73104
- }, translate("settings.label_position.directions.left")), /*#__PURE__*/react.createElement(Button_Button, {
73105
  color: "primary",
73106
  variant: labelPosition === "auto" || !labelPosition ? "contained" : "outlined",
73107
  onClick: function onClick() {
@@ -73110,7 +73125,7 @@ var LabelPosition = function LabelPosition(_ref) {
73110
  },
73111
  "data-testid": "setting:position-label-auto",
73112
  size: "small"
73113
- }, translate("settings.label_position.directions.auto")), /*#__PURE__*/react.createElement(Button_Button, {
73114
  color: "primary",
73115
  variant: labelPosition === "left" ? "contained" : "outlined",
73116
  onClick: function onClick() {
@@ -73119,7 +73134,7 @@ var LabelPosition = function LabelPosition(_ref) {
73119
  },
73120
  "data-testid": "setting:position-label-right",
73121
  size: "small"
73122
- }, translate("settings.label_position.directions.right")))), /*#__PURE__*/react.createElement(TrashButton, {
73123
  "data-testid": "delete-label-position-value",
73124
  onClick: function onClick() {
73125
  onChange("unset");
@@ -73183,7 +73198,10 @@ function _LabelGroup(_ref) {
73183
  var fontFamily = function fontFamily() {
73184
  /* webpack-strip-block:removed */
73185
  return /*#__PURE__*/react.createElement(DisableSetting, {
73186
- premiumTag: true
 
 
 
73187
  }, /*#__PURE__*/react.createElement(FontFamily, null));
73188
  };
73189
 
@@ -73210,11 +73228,11 @@ function _LabelGroup(_ref) {
73210
  /* webpack-strip-block:removed */
73211
  return /*#__PURE__*/react.createElement(DisableSetting, {
73212
  premiumTag: true,
73213
- onClick: function onClick() {
73214
- app.showPremiumDialog(translate("premium.margin"));
73215
  }
73216
  }, /*#__PURE__*/react.createElement(TextFieldCorners, {
73217
- title: translate("settings.margin.title") + " (PRO)",
73218
  type: "sides"
73219
  }));
73220
  };
@@ -73223,11 +73241,11 @@ function _LabelGroup(_ref) {
73223
  /* webpack-strip-block:removed */
73224
  return /*#__PURE__*/react.createElement(DisableSetting, {
73225
  premiumTag: true,
73226
- onClick: function onClick() {
73227
- app.showPremiumDialog(translate("premium.padding"));
73228
  }
73229
  }, /*#__PURE__*/react.createElement(TextFieldCorners, {
73230
- title: translate("settings.padding.title") + " (PRO)",
73231
  type: "sides"
73232
  }));
73233
  };
@@ -73244,11 +73262,11 @@ function _LabelGroup(_ref) {
73244
  return /*#__PURE__*/react.createElement(DisableSetting, {
73245
  condition: hoverSettings === 1,
73246
  premiumTag: true,
73247
- onClick: function onClick() {
73248
- app.showPremiumDialog("More hover settings!");
73249
  }
73250
  }, /*#__PURE__*/react.createElement(SliderContainer, {
73251
- title: translate("settings.font_size"),
73252
  "data-testid": "styling:font_size",
73253
  value: label_font_size[0],
73254
  inputText: "px",
@@ -73273,8 +73291,8 @@ function _LabelGroup(_ref) {
73273
  return /*#__PURE__*/react.createElement(DisableSetting, {
73274
  condition: hoverSettings === 1,
73275
  premiumTag: true,
73276
- onClick: function onClick() {
73277
- app.showPremiumDialog("More hover settings!");
73278
  }
73279
  }, /*#__PURE__*/react.createElement(BorderRadius, {
73280
  defaultValue: label_border_radius_parent[0],
@@ -73336,7 +73354,7 @@ function _LabelGroup(_ref) {
73336
  defToGroup: true
73337
  });
73338
  return /*#__PURE__*/react.createElement(CollapsibleGroup, LabelGroup_extends({
73339
- title: translate("settings.label.title"),
73340
  "data-testid": "group:label"
73341
  }, groupProps), /*#__PURE__*/react.createElement("div", {
73342
  className: "setting-group-title"
@@ -73347,8 +73365,8 @@ function _LabelGroup(_ref) {
73347
  className: "label-device-visibility"
73348
  }, /*#__PURE__*/react.createElement("div", {
73349
  className: "setting-group-title"
73350
- }, translate("settings.label_desktop.title")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(LabelVisibility, {
73351
- title: translate("settings.show_mobile_desktop.desktop"),
73352
  device: "desktop",
73353
  value: get("show_label_desktop", {
73354
  returnDefault: true,
@@ -73359,7 +73377,7 @@ function _LabelGroup(_ref) {
73359
  },
73360
  trashButton: true
73361
  }), /*#__PURE__*/react.createElement(LabelVisibility, {
73362
- title: translate("settings.show_mobile_desktop.mobile"),
73363
  device: "mobile",
73364
  value: get("show_label_mobile", {
73365
  returnDefault: true,
@@ -73371,8 +73389,8 @@ function _LabelGroup(_ref) {
73371
  trashButton: true
73372
  })), /*#__PURE__*/react.createElement("div", {
73373
  className: "setting-group-title"
73374
- }, translate("settings.label_position.title")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(LabelPosition, {
73375
- title: translate("settings.label_position.description"),
73376
  value: get("horizontal_position_label"),
73377
  defaultValue: get("horizontal_position_label", {
73378
  returnDefault: true,
@@ -73405,9 +73423,9 @@ function _LabelGroup(_ref) {
73405
  "data-testid": "normal_hover:hover"
73406
  })), /*#__PURE__*/react.createElement("div", {
73407
  className: "setting-group-title"
73408
- }, translate("utils.text")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(ColorPicker, {
73409
  noGradient: true,
73410
- title: translate("utils.color"),
73411
  value: label_color[hoverSettings],
73412
  defaultValue: label_color_parent[hoverSettings],
73413
  onChange: function onChange(val) {
@@ -73420,8 +73438,8 @@ function _LabelGroup(_ref) {
73420
  returnDefault: true
73421
  }) ? null : /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
73422
  className: "setting-group-title"
73423
- }, translate("utils.background")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(ColorPicker, {
73424
- title: translate("utils.color"),
73425
  value: label_background_color[hoverSettings],
73426
  defaultValue: label_background_color_parent[hoverSettings],
73427
  onChange: function onChange(val) {
@@ -73488,11 +73506,11 @@ function UseBackgroundImage(_ref) {
73488
 
73489
  if (disabled) return /*#__PURE__*/react.createElement(DisableSetting, {
73490
  premiumTag: true,
73491
- onClick: function onClick() {
73492
- return app.showPremiumDialog(translate("premium.modal.list.custom_images"));
73493
  }
73494
  }, /*#__PURE__*/react.createElement(SettingsContainer, {
73495
- title: /*#__PURE__*/react.createElement(react.Fragment, null, translate("settings.background_image.title")),
73496
  fullWidth: false
73497
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
73498
  checked: false,
@@ -73507,7 +73525,7 @@ function UseBackgroundImage(_ref) {
73507
  };
73508
 
73509
  return /*#__PURE__*/react.createElement(SettingsContainer, {
73510
- title: translate("settings.background_image.title"),
73511
  fullWidth: false
73512
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
73513
  checked: value,
@@ -73587,7 +73605,7 @@ function Styling_ButtonGroup_ButtonGroup(_ref) {
73587
  /* webpack-strip-block:removed */
73588
 
73589
  return /*#__PURE__*/react.createElement(ColorPicker, {
73590
- title: translate("utils.color"),
73591
  value: getFirstColor(colors[hoverSettings]),
73592
  defaultValue: colors[0] ? getFirstColor(colors_returnValue[hoverSettings]) : getFirstColor(colors_parent[hoverSettings]),
73593
  onChange: function onChange(val) {
@@ -73662,7 +73680,7 @@ function Styling_ButtonGroup_ButtonGroup(_ref) {
73662
  };
73663
 
73664
  return /*#__PURE__*/react.createElement(CollapsibleGroup, ButtonGroup_extends({
73665
- title: translate("common.button")
73666
  }, groupProps, {
73667
  "data-testid": "group:button"
73668
  }), /*#__PURE__*/react.createElement(Tabs_Tabs, {
@@ -73684,9 +73702,9 @@ function Styling_ButtonGroup_ButtonGroup(_ref) {
73684
  "data-testid": "normal_hover:hover"
73685
  })), /*#__PURE__*/react.createElement("div", {
73686
  className: "setting-group-title"
73687
- }, translate("settings.setting_categories.background")), /*#__PURE__*/react.createElement("hr", null), color(), image(), /*#__PURE__*/react.createElement("div", {
73688
  className: "setting-group-title"
73689
- }, translate("settings.setting_categories.button_style")), /*#__PURE__*/react.createElement("hr", null), borderRadius(), boxShadow());
73690
  }
73691
 
73692
  /* harmony default export */ var Styling_ButtonGroup = (connect(function (state) {
@@ -73764,7 +73782,7 @@ function Styling(_ref) {
73764
  setOpenedGroup(openCollapsibleGroup ? openCollapsibleGroup : "button_style_button");
73765
  }, [openCollapsibleGroup]);
73766
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(Styling_ButtonGroup, {
73767
- title: translate("common.button"),
73768
  opened: openedGroup === "button_style_button",
73769
  onSetIsOpened: function onSetIsOpened(val) {
73770
  return setOpenedGroup(val ? "button_style_button" : "");
@@ -73809,17 +73827,17 @@ function FilterSelect(_ref) {
73809
  var select = {
73810
  array: function array() {
73811
  /* webpack-strip-block:removed */
73812
- return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(InputLabel_InputLabel, null, type === "schedule" ? translate("time_schedules.current_time_schedule") : translate("page_rules.current_page_rule")), /*#__PURE__*/react.createElement(Select_Select, {
73813
  inputProps: {
73814
  "data-testid": "setting:".concat(type === "schedule" ? "time-schedule" : "page-rule")
73815
  },
73816
  value: "show",
73817
- label: type === "schedule" ? translate("time_schedules.current_time_schedule") : translate("page_rules.current_page_rule"),
73818
  disabled: true,
73819
  IconComponent: PremiumTag
73820
  }, /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
73821
  value: "show"
73822
- }, translate("utils.filter-visibility.".concat(type === "schedule" ? "timeschedule" : "pagerule", "_show_").concat(group ? "group" : "button")))));
73823
  },
73824
  visibility: function visibility() {
73825
  /* webpack-strip-block:removed */
@@ -73880,15 +73898,15 @@ function Advanced(_ref) {
73880
  "class": function _class() {
73881
  /* webpack-strip-block:removed */
73882
  return /*#__PURE__*/react.createElement(DisableSetting, {
73883
- onClick: function onClick() {
73884
- app.showPremiumDialog(translate("settings.custom_class.pro_description"));
73885
  }
73886
- }, /*#__PURE__*/react.createElement(TextField_TextField, {
73887
  inputProps: {
73888
  "data-testid": "setting:custom-class"
73889
  },
73890
  variant: "outlined",
73891
- label: translate("settings.custom_class.title"),
73892
  fullWidth: true,
73893
  disabled: true,
73894
  style: {
@@ -73902,15 +73920,15 @@ function Advanced(_ref) {
73902
  id: function id() {
73903
  /* webpack-strip-block:removed */
73904
  return /*#__PURE__*/react.createElement(DisableSetting, {
73905
- onClick: function onClick() {
73906
- app.showPremiumDialog(translate("settings.custom_id.pro_description"));
73907
  }
73908
- }, /*#__PURE__*/react.createElement(TextField_TextField, {
73909
  inputProps: {
73910
  "data-testid": "setting:custom-id"
73911
  },
73912
  variant: "outlined",
73913
- label: translate("settings.custom_id.title"),
73914
  fullWidth: true,
73915
  disabled: true,
73916
  style: {
@@ -73930,12 +73948,12 @@ function Advanced(_ref) {
73930
  timeSchedules: function timeSchedules() {
73931
  /* webpack-strip-block:removed */
73932
  return /*#__PURE__*/react.createElement(DisableSetting, {
73933
- onClick: function onClick() {
73934
- app.showPremiumDialog(translate("time_schedules.pro_description"), "C-B9ITdY6A4");
73935
  }
73936
  }, /*#__PURE__*/react.createElement(FilterSelect, {
73937
  type: "schedule"
73938
- }), /*#__PURE__*/react.createElement(Button_Button, {
73939
  startIcon: /*#__PURE__*/react.createElement("i", {
73940
  style: {
73941
  fontSize: "12px"
@@ -73945,17 +73963,17 @@ function Advanced(_ref) {
73945
  color: "primary",
73946
  className: "Mui-disabled",
73947
  "data-testid": "time_schedules_open_drawer"
73948
- }, translate("time_schedules.open_settings")));
73949
  },
73950
  pageRules: function pageRules() {
73951
  /* webpack-strip-block:removed */
73952
  return /*#__PURE__*/react.createElement(DisableSetting, {
73953
- onClick: function onClick() {
73954
- app.showPremiumDialog(translate("page_rules.pro_description"), "SQnAhyBWLWg");
73955
  }
73956
  }, /*#__PURE__*/react.createElement(FilterSelect, {
73957
  type: "rule"
73958
- }), /*#__PURE__*/react.createElement(Button_Button, {
73959
  startIcon: /*#__PURE__*/react.createElement("i", {
73960
  style: {
73961
  fontSize: "12px"
@@ -73965,12 +73983,12 @@ function Advanced(_ref) {
73965
  color: "primary",
73966
  className: "Mui-disabled",
73967
  "data-testid": "page_rules_open_drawer"
73968
- }, translate("page_rules.open_settings")));
73969
  }
73970
  }
73971
  };
73972
  return /*#__PURE__*/react.createElement("div", null, /*#__PURE__*/react.createElement(CollapsibleGroup, {
73973
- title: translate("settings.custom_id.title") + " & " + translate("settings.custom_class.title"),
73974
  "data-testid": "group:custom-class-id",
73975
  icon: "far fa-clock",
73976
  opened: openedGroup === "customClassId",
@@ -73979,10 +73997,10 @@ function Advanced(_ref) {
73979
  }
73980
  }, /*#__PURE__*/react.createElement("div", {
73981
  className: "setting-group-title"
73982
- }, translate("settings.custom_class.title")), /*#__PURE__*/react.createElement("hr", null), settings.styling["class"](), /*#__PURE__*/react.createElement("div", {
73983
  className: "setting-group-title"
73984
- }, translate("settings.custom_id.title")), /*#__PURE__*/react.createElement("hr", null), settings.styling.id(), settings.styling.editor()), /*#__PURE__*/react.createElement(CollapsibleGroup, {
73985
- title: translate("time_schedules.name"),
73986
  icon: "far fa-clock",
73987
  opened: openedGroup === "timeSchedules",
73988
  "data-testid": "group:time-schedules",
@@ -73990,7 +74008,7 @@ function Advanced(_ref) {
73990
  return setOpenedGroup(val ? "timeSchedules" : "");
73991
  }
73992
  }, settings.filters.timeSchedules()), /*#__PURE__*/react.createElement(CollapsibleGroup, {
73993
- title: translate("page_rules.name"),
73994
  icon: "fas fa-filter",
73995
  opened: openedGroup === "pageRules",
73996
  "data-testid": "group:page-rules",
@@ -74116,25 +74134,25 @@ function MenuStyle(_ref) {
74116
  return [/*#__PURE__*/react.createElement(MenuItem_MenuItem, {
74117
  value: "default",
74118
  key: 0
74119
- }, translate("settings.menu_style.styles.default")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
74120
  value: "square",
74121
  key: 1
74122
- }, translate("settings.menu_style.styles.square")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
74123
  value: "rectangle",
74124
  key: 2
74125
- }, translate("settings.menu_style.styles.rectangle")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
74126
  value: "text",
74127
  key: 3,
74128
  style: {
74129
  opacity: 0.5
74130
  }
74131
- }, translate("settings.menu_style.styles.text"), " ", /*#__PURE__*/react.createElement(PremiumTag, null)), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
74132
  value: "text-icon",
74133
  key: 4,
74134
  style: {
74135
  opacity: 0.5
74136
  }
74137
- }, translate("settings.menu_style.styles.texticon"), " ", /*#__PURE__*/react.createElement(PremiumTag, null))];
74138
  };
74139
 
74140
  return /*#__PURE__*/react.createElement(FormControl_FormControl, {
@@ -74143,14 +74161,14 @@ function MenuStyle(_ref) {
74143
  }, /*#__PURE__*/react.createElement(InputLabel_InputLabel, {
74144
  id: "group-style",
74145
  ref: inputLabel
74146
- }, translate("common.type")), /*#__PURE__*/react.createElement(Select_Select, {
74147
  labelId: "group-style",
74148
  id: "group-style",
74149
  value: value,
74150
  onChange: function onChange(e) {
74151
  /* webpack-strip-block:removed */
74152
  if (e.target.value === "text" || e.target.value === "text-icon") {
74153
- app.showPremiumDialog(translate("premium.menu_styles." + e.target.value), null, e.target.value === "text" ? "https://s3.eu-central-1.amazonaws.com/community.buttonizer.pro/2020-05-14/1589467082-147541-image.png" : "https://s3.eu-central-1.amazonaws.com/community.buttonizer.pro/2020-05-14/1589468089-699690-msedge-f9gje423nn.png");
74154
  return;
74155
  }
74156
 
@@ -74192,7 +74210,7 @@ function StartOpened(_ref) {
74192
  setOpened(value);
74193
  }, [value]);
74194
  return /*#__PURE__*/react.createElement(SettingsContainer, {
74195
- title: translate("settings.start_opened.title"),
74196
  fullWidth: false
74197
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
74198
  inputProps: {
@@ -74326,12 +74344,12 @@ function Position(_ref) {
74326
  display: "flex",
74327
  flexDirection: "column"
74328
  }
74329
- }, /*#__PURE__*/react.createElement(IconButton_IconButton, {
74330
  color: "primary",
74331
  className: classes.iconButton,
74332
  "data-testid": "setting:position-".concat(position, "-abs"),
74333
  disabled: true
74334
- }, "PX"), /*#__PURE__*/react.createElement(IconButton_IconButton, {
74335
  color: "primary",
74336
  className: classes.iconButton,
74337
  "data-testid": "setting:position-".concat(position, "-scaled"),
@@ -74340,7 +74358,7 @@ function Position(_ref) {
74340
  };
74341
 
74342
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(SettingsContainer, {
74343
- title: translate("settings.menu_position.".concat(position)),
74344
  className: "position-buttons-container"
74345
  }, /*#__PURE__*/react.createElement(Grid_Grid, {
74346
  container: true,
@@ -74355,7 +74373,7 @@ function Position(_ref) {
74355
  component: ButtonGroup_ButtonGroup,
74356
  color: "primary",
74357
  className: (0,clsx_m/* default */.Z)("position-buttons position-".concat(position))
74358
- }, /*#__PURE__*/react.createElement(Button_Button, {
74359
  color: "primary",
74360
  variant: /(top|left):\s?5%;?/i.test(positionValue) ? "contained" : "outlined",
74361
  onClick: function onClick() {
@@ -74378,7 +74396,7 @@ function Position(_ref) {
74378
  }), /*#__PURE__*/react.createElement("path", {
74379
  d: "M0 0h24v24H0z",
74380
  fill: "none"
74381
- }))), /*#__PURE__*/react.createElement(Button_Button, {
74382
  color: "primary",
74383
  variant: /(bottom|right):\s?50%;?/i.test(positionValue) ? "contained" : "outlined",
74384
  onClick: function onClick() {
@@ -74401,7 +74419,7 @@ function Position(_ref) {
74401
  }), /*#__PURE__*/react.createElement("path", {
74402
  d: "M0 0h24v24H0z",
74403
  fill: "none"
74404
- }))), /*#__PURE__*/react.createElement(Button_Button, {
74405
  color: "primary",
74406
  variant: /(bottom|right):\s?5%;?/i.test(positionValue) ? "contained" : "outlined",
74407
  onClick: function onClick() {
@@ -74430,15 +74448,15 @@ function Position(_ref) {
74430
  onClick: function onClick() {
74431
  return setAdvancedOpen(!advancedOpen);
74432
  },
74433
- component: Button_Button,
74434
  variant: "text",
74435
  color: "primary",
74436
- endIcon: /*#__PURE__*/react.createElement(Icon_Icon, {
74437
  className: "fas fa-chevron-".concat(advancedOpen ? "down" : "right")
74438
  }),
74439
  "data-testid": "setting:position-".concat(position, "-advanced"),
74440
  className: "position-advanced"
74441
- }, translate("utils.advanced")))), advancedOpen && /*#__PURE__*/react.createElement(SettingsContainer, {
74442
  title: " ",
74443
  className: "position-advanced-container"
74444
  }, /*#__PURE__*/react.createElement(Grid_Grid, {
@@ -74458,7 +74476,7 @@ function Position(_ref) {
74458
  item: true,
74459
  component: ButtonGroup_ButtonGroup,
74460
  className: "position-advanced-buttons"
74461
- }, /*#__PURE__*/react.createElement(Button_Button, {
74462
  color: "primary",
74463
  onClick: function onClick() {
74464
  return updatePosition({
@@ -74468,7 +74486,7 @@ function Position(_ref) {
74468
  variant: /top|left/i.test(positionMode) ? "contained" : "outlined",
74469
  "data-testid": "setting:position-".concat(position, "-near"),
74470
  size: "small"
74471
- }, position === "vertical" ? translate("settings.menu_position.directions.top") : translate("settings.menu_position.directions.left")), /*#__PURE__*/react.createElement(Button_Button, {
74472
  color: "primary",
74473
  onClick: function onClick() {
74474
  return updatePosition({
@@ -74478,10 +74496,10 @@ function Position(_ref) {
74478
  variant: /bottom|right/i.test(positionMode) ? "contained" : "outlined",
74479
  "data-testid": "setting:position-".concat(position, "-far"),
74480
  size: "small"
74481
- }, position === "vertical" ? translate("settings.menu_position.directions.bottom") : translate("settings.menu_position.directions.right"))), /*#__PURE__*/react.createElement(Grid_Grid, {
74482
  item: true,
74483
  xs: 4,
74484
- component: TextField_TextField,
74485
  value: currentPosition == null ? "" : currentPosition,
74486
  variant: "outlined",
74487
  onChange: function onChange(e) {
@@ -74546,37 +74564,37 @@ function OpeningAnimation(_ref) {
74546
  return [/*#__PURE__*/react.createElement(MenuItem_MenuItem, {
74547
  value: "default",
74548
  key: 0
74549
- }, translate("settings.menu_style.styles.default")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
74550
  value: "faded",
74551
  key: 1
74552
- }, translate("settings.menu_style.styles.faded")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
74553
  value: "corner-circle",
74554
  key: 2
74555
- }, translate("settings.menu_style.styles.cornercircle")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
74556
  value: "building-up",
74557
  key: 3
74558
- }, translate("settings.menu_style.styles.buildingup")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
74559
  value: "pop",
74560
  key: 4
74561
- }, translate("settings.menu_style.styles.pop"))];
74562
  };
74563
 
74564
  return /*#__PURE__*/react.createElement(react.Fragment, null, visible ? /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
74565
  className: "setting-group-title"
74566
- }, translate("settings.opening_animation.title")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(FormControl_FormControl, {
74567
  variant: "outlined",
74568
  fullWidth: true
74569
  }, /*#__PURE__*/react.createElement(InputLabel_InputLabel, {
74570
  id: "group-style",
74571
  ref: inputLabel
74572
- }, translate("common.type")), /*#__PURE__*/react.createElement(Select_Select, {
74573
  labelId: "group-style",
74574
  id: "group-style",
74575
  value: value,
74576
  onChange: function onChange(e) {
74577
  /* webpack-strip-block:removed */
74578
  if (e.target.value === "text" || e.target.value === "text-icon") {
74579
- app.showPremiumDialog(translate("premium.menu_styles." + e.target.value), null, e.target.value === "text" ? "https://s3.eu-central-1.amazonaws.com/community.buttonizer.pro/2020-05-14/1589467082-147541-image.png" : "https://s3.eu-central-1.amazonaws.com/community.buttonizer.pro/2020-05-14/1589468089-699690-msedge-f9gje423nn.png");
74580
  return;
74581
  }
74582
 
@@ -74601,7 +74619,7 @@ function CloseOnClickOutside(_ref) {
74601
  closeOnMouseLeaveEnabled = _ref$closeOnMouseLeav === void 0 ? false : _ref$closeOnMouseLeav,
74602
  _onChange = _ref.onChange;
74603
  return /*#__PURE__*/react.createElement(SettingsContainer, {
74604
- title: translate("settings.close_on_click_outside.title"),
74605
  fullWidth: false
74606
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
74607
  inputProps: {
@@ -74625,7 +74643,7 @@ function CloseOnClickInside(_ref) {
74625
  openOnMouseOverEnabled = _ref$openOnMouseOverE === void 0 ? false : _ref$openOnMouseOverE,
74626
  _onChange = _ref.onChange;
74627
  return /*#__PURE__*/react.createElement(SettingsContainer, {
74628
- title: translate("settings.close_on_click_inside.title"),
74629
  fullWidth: false
74630
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
74631
  inputProps: {
@@ -74651,16 +74669,18 @@ function OpenOnMouseOver(_ref) {
74651
 
74652
  /* webpack-strip-block:removed */
74653
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(SettingsContainer, {
74654
- title: /*#__PURE__*/react.createElement(react.Fragment, null, translate("settings.open_on_mouseover.title"), /*#__PURE__*/react.createElement(PremiumTag, null)),
74655
- fullWidth: false,
74656
- onClick: function onClick() {
74657
- return app.showPremiumDialog(translate("settings.open_on_mouseover.title"));
74658
- }
 
 
 
 
 
74659
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
74660
  disabled: true,
74661
- inputProps: {
74662
- "data-testid": "setting:open-on-hover"
74663
- },
74664
  checked: false
74665
  })));
74666
  }
@@ -74724,7 +74744,7 @@ function Options_Options(_ref) {
74724
  setOpenedGroup(openCollapsibleGroup ? openCollapsibleGroup : "group_general_general");
74725
  }, [openCollapsibleGroup]);
74726
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(CollapsibleGroup, {
74727
- title: translate("settings.setting_categories.general"),
74728
  opened: openedGroup === "group_general_general",
74729
  onSetIsOpened: function onSetIsOpened(val) {
74730
  return setOpenedGroup(val ? "group_general_general" : "");
@@ -74732,7 +74752,7 @@ function Options_Options(_ref) {
74732
  "data-testid": "group:general"
74733
  }, /*#__PURE__*/react.createElement("div", {
74734
  className: "setting-group-title"
74735
- }, translate("settings.label.title")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(Label, {
74736
  value: get("label"),
74737
  placeholder: "",
74738
  onChange: function onChange(val) {
@@ -74741,14 +74761,14 @@ function Options_Options(_ref) {
74741
  }
74742
  }), /*#__PURE__*/react.createElement("div", {
74743
  className: "setting-group-title"
74744
- }, translate("settings.show_mobile_desktop.device_visibility")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(Visibility, {
74745
  mobile: get("show_mobile") == true,
74746
  desktop: get("show_desktop") == true,
74747
  onChange: function onChange(type, val) {
74748
  return set(type, val);
74749
  }
74750
  })), /*#__PURE__*/react.createElement(CollapsibleGroup, {
74751
- title: translate("settings.menu_position.title"),
74752
  opened: openedGroup === "group_general_position",
74753
  onSetIsOpened: function onSetIsOpened(val) {
74754
  return setOpenedGroup(val ? "group_general_position" : "");
@@ -74767,14 +74787,14 @@ function Options_Options(_ref) {
74767
  return set("vertical", val);
74768
  }
74769
  })), /*#__PURE__*/react.createElement(CollapsibleGroup, {
74770
- title: translate("settings.menu_style.title"),
74771
  opened: openedGroup === "group_general_menu_settings",
74772
  onSetIsOpened: function onSetIsOpened(val) {
74773
  return setOpenedGroup(val ? "group_general_menu_settings" : "");
74774
  },
74775
  "data-testid": "group:menu_settings"
74776
  }, /*#__PURE__*/react.createElement(SettingsContainer, {
74777
- title: translate("settings.menu.title"),
74778
  fullWidth: false
74779
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
74780
  checked: get("is_menu"),
@@ -74786,7 +74806,7 @@ function Options_Options(_ref) {
74786
  }
74787
  })), /*#__PURE__*/react.createElement("div", {
74788
  className: "setting-group-title"
74789
- }, translate("settings.menu_style.title_short")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(MenuStyle, {
74790
  value: get("menu_style"),
74791
  onChange: function onChange(val) {
74792
  set("menu_style", val);
@@ -74800,7 +74820,7 @@ function Options_Options(_ref) {
74800
  visible: get("is_menu") == true
74801
  }), get("is_menu") === true && /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
74802
  className: "setting-group-title"
74803
- }, translate("settings.menu.title_settings")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(StartOpened, {
74804
  value: get("start_opened") == true,
74805
  onChange: function onChange(val) {
74806
  return set("start_opened", val);
@@ -74892,9 +74912,9 @@ function ButtonGroupHeader(_ref) {
74892
  }, /*#__PURE__*/react.createElement("div", {
74893
  className: "breadcrumb"
74894
  }, /*#__PURE__*/react.createElement(Tippy_Tippy, {
74895
- content: translate("bar.breadcrumb.tippy_home"),
74896
  arrow: false
74897
- }, /*#__PURE__*/react.createElement(Button_Button, {
74898
  onClick: function onClick() {
74899
  history.push("/");
74900
  },
@@ -74902,7 +74922,7 @@ function ButtonGroupHeader(_ref) {
74902
  className: "home-button"
74903
  }, /*#__PURE__*/react.createElement("span", {
74904
  className: "breadcrumb-text"
74905
- }, translate("bar.breadcrumb.home")), /*#__PURE__*/react.createElement("i", {
74906
  className: "fas fa-chevron-right"
74907
  }))), /*#__PURE__*/react.createElement(BreadcrumbSelect_BreadcrumbSelect, {
74908
  group: group
@@ -74914,7 +74934,7 @@ function ButtonGroupHeader(_ref) {
74914
  indicatorColor: "secondary",
74915
  textColor: "secondary"
74916
  }, /*#__PURE__*/react.createElement(LinkTab, {
74917
- label: translate("settings.setting_categories.general"),
74918
  id: 0,
74919
  page: "general",
74920
  "data-testid": "general-tab",
@@ -74922,7 +74942,7 @@ function ButtonGroupHeader(_ref) {
74922
  className: "fas fa-wrench"
74923
  })
74924
  }), /*#__PURE__*/react.createElement(LinkTab, {
74925
- label: translate("utils.style"),
74926
  id: 1,
74927
  page: "style",
74928
  "data-testid": "style-tab",
@@ -74930,7 +74950,7 @@ function ButtonGroupHeader(_ref) {
74930
  className: "fas fa-paint-brush"
74931
  })
74932
  }), /*#__PURE__*/react.createElement(LinkTab, {
74933
- label: translate("utils.advanced"),
74934
  id: 2,
74935
  page: "advanced",
74936
  "data-testid": "advanced-tab",
@@ -74941,6 +74961,124 @@ function ButtonGroupHeader(_ref) {
74941
  }
74942
 
74943
  /* harmony default export */ var ButtonGroupHeader_ButtonGroupHeader = (withRouter(ButtonGroupHeader));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74944
  ;// CONCATENATED MODULE: ./src/js/dashboard/Components/Settings/ImageSelector/ImageSelector.js
74945
  function ImageSelector_objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure undefined"); }
74946
 
@@ -74951,16 +75089,12 @@ function ImageSelector_objectDestructuringEmpty(obj) { if (obj == null) throw ne
74951
 
74952
 
74953
 
 
74954
  function ImageSelector(_ref) {
74955
  ImageSelector_objectDestructuringEmpty(_ref);
74956
 
74957
  /* webpack-strip-block:removed */
74958
- var imageSelector = function imageSelector() {
74959
- /* webpack-strip-block:removed */
74960
- return /*#__PURE__*/React.createElement(React.Fragment, null);
74961
- };
74962
-
74963
- return imageSelector();
74964
  }
74965
  ;// CONCATENATED MODULE: ./src/js/dashboard/Pages/Group/Tabs/Styling/IconGroup.js
74966
  function Styling_IconGroup_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
@@ -75034,8 +75168,8 @@ function _IconGroup(_ref) {
75034
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(DisableSetting, {
75035
  condition: hoverSettings === 1,
75036
  premiumTag: true,
75037
- onClick: function onClick() {
75038
- app.showPremiumDialog("More hover settings!");
75039
  }
75040
  }, /*#__PURE__*/react.createElement(IconSelector_IconSelector, {
75041
  value: get("icon", {
@@ -75047,7 +75181,7 @@ function _IconGroup(_ref) {
75047
  set("icon", val);
75048
  }
75049
  })), /*#__PURE__*/react.createElement(ColorPicker, {
75050
- title: translate("utils.base"),
75051
  value: colors[hoverSettings],
75052
  defaultValue: defs("icon_color")[hoverSettings],
75053
  onChange: function onChange(val) {
@@ -75065,11 +75199,11 @@ function _IconGroup(_ref) {
75065
  return /*#__PURE__*/react.createElement(DisableSetting, {
75066
  condition: hoverSettings === 1,
75067
  premiumTag: true,
75068
- onClick: function onClick() {
75069
- app.showPremiumDialog("More hover settings!");
75070
  }
75071
  }, /*#__PURE__*/react.createElement(SliderContainer, {
75072
- title: translate("settings.icon_size.title"),
75073
  value: sizes[0],
75074
  disabled: hoverSettings === 1,
75075
  "data-testid": "settingcontainer:icon-size",
@@ -75084,7 +75218,7 @@ function _IconGroup(_ref) {
75084
  };
75085
 
75086
  return /*#__PURE__*/react.createElement(CollapsibleGroup, Styling_IconGroup_extends({
75087
- title: translate("utils.icon"),
75088
  "data-testid": "group:icon"
75089
  }, groupProps), iconType(), get("icon_type", {
75090
  returnDefault: true
@@ -75203,7 +75337,7 @@ function Tabs_Styling_ButtonGroup_ButtonGroup(_ref) {
75203
  var color = function color() {
75204
  /* webpack-strip-block:removed */
75205
  return /*#__PURE__*/react.createElement(ColorPicker, {
75206
- title: translate("utils.color"),
75207
  value: get("background_color")[hoverSettings],
75208
  defaultValue: get("background_color", {
75209
  returnDefault: true,
@@ -75277,7 +75411,7 @@ function Tabs_Styling_ButtonGroup_ButtonGroup(_ref) {
75277
 
75278
  var buttonSizes = function buttonSizes() {
75279
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(SliderContainer, {
75280
- title: translate("settings.button_size.menu_button"),
75281
  value: get("group_size"),
75282
  defaultValue: def("group_size"),
75283
  "data-testid": "settingcontainer:top-level-size",
@@ -75286,7 +75420,7 @@ function Tabs_Styling_ButtonGroup_ButtonGroup(_ref) {
75286
  set("group_size", val);
75287
  }
75288
  }), !singleButton && /*#__PURE__*/react.createElement(SliderContainer, {
75289
- title: translate("settings.button_size.sub_button"),
75290
  value: get("button_size"),
75291
  defaultValue: def("button_size"),
75292
  "data-testid": "settingcontainer:bottom-level-size",
@@ -75314,12 +75448,12 @@ function Tabs_Styling_ButtonGroup_ButtonGroup(_ref) {
75314
  };
75315
 
75316
  return /*#__PURE__*/react.createElement(CollapsibleGroup, Styling_ButtonGroup_extends({
75317
- title: translate("common.button")
75318
  }, groupProps, {
75319
  "data-testid": "group:button"
75320
  }), /*#__PURE__*/react.createElement("div", {
75321
  className: "setting-group-title"
75322
- }, translate("settings.button_size.title")), /*#__PURE__*/react.createElement("hr", null), buttonSizes(), /*#__PURE__*/react.createElement(Tabs_Tabs, {
75323
  onChange: function onChange(_, val) {
75324
  return setHoverSettings(val);
75325
  },
@@ -75337,9 +75471,9 @@ function Tabs_Styling_ButtonGroup_ButtonGroup(_ref) {
75337
  "data-testid": "normal_hover:hover"
75338
  })), /*#__PURE__*/react.createElement("div", {
75339
  className: "setting-group-title"
75340
- }, translate("utils.background")), /*#__PURE__*/react.createElement("hr", null), color(), image(), /*#__PURE__*/react.createElement("div", {
75341
  className: "setting-group-title"
75342
- }, translate("settings.setting_categories.button_style")), /*#__PURE__*/react.createElement("hr", null), borderRadius(), hoverSettings === 0 && buttonSpacing(), boxShadow());
75343
  }
75344
 
75345
  /* harmony default export */ var Tabs_Styling_ButtonGroup = (connect(function (state) {
@@ -75436,7 +75570,10 @@ function LabelGroup_LabelGroup(_ref) {
75436
  var fontFamily = function fontFamily() {
75437
  /* webpack-strip-block:removed */
75438
  return /*#__PURE__*/react.createElement(DisableSetting, {
75439
- premiumTag: true
 
 
 
75440
  }, /*#__PURE__*/react.createElement(FontFamily, null));
75441
  };
75442
 
@@ -75460,7 +75597,7 @@ function LabelGroup_LabelGroup(_ref) {
75460
 
75461
  var labelWidth = function labelWidth() {
75462
  return /*#__PURE__*/react.createElement(SettingsContainer, {
75463
- title: translate("settings.label_same_width.title"),
75464
  fullWidth: false
75465
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
75466
  onChange: function onChange(obj) {
@@ -75484,11 +75621,11 @@ function LabelGroup_LabelGroup(_ref) {
75484
  /* webpack-strip-block:removed */
75485
  return /*#__PURE__*/react.createElement(DisableSetting, {
75486
  premiumTag: true,
75487
- onClick: function onClick() {
75488
- app.showPremiumDialog(translate("premium.margin"));
75489
  }
75490
  }, /*#__PURE__*/react.createElement(TextFieldCorners, {
75491
- title: translate("settings.margin.title"),
75492
  type: "sides"
75493
  }));
75494
  };
@@ -75497,14 +75634,14 @@ function LabelGroup_LabelGroup(_ref) {
75497
  /* webpack-strip-block:removed */
75498
  return /*#__PURE__*/react.createElement(DisableSetting, {
75499
  premiumTag: true,
75500
- onClick: function onClick() {
75501
- app.showPremiumDialog(translate("premium.padding"));
75502
  }
75503
  }, /*#__PURE__*/react.createElement(TextFieldCorners, {
75504
- title: translate("settings.padding.title"),
75505
  type: "sides",
75506
- onChange: function onChange() {
75507
- app.showPremiumDialog(translate("premium.padding"));
75508
  }
75509
  }));
75510
  };
@@ -75516,11 +75653,11 @@ function LabelGroup_LabelGroup(_ref) {
75516
  return /*#__PURE__*/react.createElement(DisableSetting, {
75517
  condition: hoverSettings === 1,
75518
  premiumTag: true,
75519
- onClick: function onClick() {
75520
- app.showPremiumDialog("More hover settings!");
75521
  }
75522
  }, /*#__PURE__*/react.createElement(SliderContainer, {
75523
- title: translate("settings.font_size"),
75524
  "data-testid": "styling:font_size",
75525
  value: label_font_size[0],
75526
  inputText: "px",
@@ -75538,8 +75675,8 @@ function LabelGroup_LabelGroup(_ref) {
75538
  return /*#__PURE__*/react.createElement(DisableSetting, {
75539
  condition: hoverSettings === 1,
75540
  premiumTag: true,
75541
- onClick: function onClick() {
75542
- app.showPremiumDialog("More hover settings!");
75543
  }
75544
  }, /*#__PURE__*/react.createElement(BorderRadius, {
75545
  value: label_border_radius[0],
@@ -75586,7 +75723,7 @@ function LabelGroup_LabelGroup(_ref) {
75586
 
75587
  var setLabelInside = function setLabelInside() {
75588
  return /*#__PURE__*/react.createElement(SettingsContainer, {
75589
- title: translate("settings.label_inside.title"),
75590
  fullWidth: false
75591
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
75592
  checked: get("label_inside", {
@@ -75608,7 +75745,7 @@ function LabelGroup_LabelGroup(_ref) {
75608
 
75609
  var setSameHeightLabels = function setSameHeightLabels() {
75610
  return /*#__PURE__*/react.createElement(SettingsContainer, {
75611
- title: translate("settings.label_same_height.title"),
75612
  fullWidth: false
75613
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
75614
  checked: get("label_same_height", {
@@ -75632,7 +75769,7 @@ function LabelGroup_LabelGroup(_ref) {
75632
  var label_background_color = get("label_background_color");
75633
  var label_border_radius = get("label_border_radius");
75634
  return /*#__PURE__*/react.createElement(CollapsibleGroup, Styling_LabelGroup_extends({
75635
- title: translate("settings.label.title"),
75636
  "data-testid": "group:label"
75637
  }, groupProps), /*#__PURE__*/react.createElement("div", {
75638
  className: "setting-group-title"
@@ -75640,8 +75777,8 @@ function LabelGroup_LabelGroup(_ref) {
75640
  returnDefault: true
75641
  }) ? null : /*#__PURE__*/react.createElement(react.Fragment, null, setSameHeightLabels(), labelSpacing(), /*#__PURE__*/react.createElement("div", {
75642
  className: "setting-group-title"
75643
- }, translate("settings.label_desktop.title")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(LabelVisibility, {
75644
- title: translate("settings.show_mobile_desktop.desktop"),
75645
  device: "desktop",
75646
  value: get("show_label_desktop", {
75647
  returnDefault: true
@@ -75650,7 +75787,7 @@ function LabelGroup_LabelGroup(_ref) {
75650
  return set("show_label_desktop", val);
75651
  }
75652
  }), /*#__PURE__*/react.createElement(LabelVisibility, {
75653
- title: translate("settings.show_mobile_desktop.mobile"),
75654
  device: "mobile",
75655
  value: get("show_label_mobile", {
75656
  returnDefault: true
@@ -75660,8 +75797,8 @@ function LabelGroup_LabelGroup(_ref) {
75660
  }
75661
  })), /*#__PURE__*/react.createElement("div", {
75662
  className: "setting-group-title"
75663
- }, translate("settings.label_position.title")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(LabelPosition, {
75664
- title: translate("settings.label_position.description"),
75665
  value: get("horizontal_position_label", {
75666
  returnDefault: true
75667
  }),
@@ -75694,9 +75831,9 @@ function LabelGroup_LabelGroup(_ref) {
75694
  "data-testid": "normal_hover:hover"
75695
  })), /*#__PURE__*/react.createElement("div", {
75696
  className: "setting-group-title"
75697
- }, translate("utils.text")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(ColorPicker, {
75698
  noGradient: true,
75699
- title: translate("utils.color"),
75700
  value: label_color[hoverSettings],
75701
  defaultValue: defs("label_color")[hoverSettings],
75702
  onChange: function onChange(val) {
@@ -75708,8 +75845,8 @@ function LabelGroup_LabelGroup(_ref) {
75708
  returnDefault: true
75709
  }) ? null : /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
75710
  className: "setting-group-title"
75711
- }, translate("utils.background")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(ColorPicker, {
75712
- title: translate("utils.color"),
75713
  value: label_background_color[hoverSettings],
75714
  defaultValue: defs("label_background_color")[hoverSettings],
75715
  onChange: function onChange(val) {
@@ -75859,7 +75996,7 @@ function TriggerAmountTimes(_ref) {
75859
  }, /*#__PURE__*/react.createElement(InputLabel_InputLabel, {
75860
  id: "exit-intent-trigger-times",
75861
  ref: inputLabel
75862
- }, translate("settings.exit_intent.how_often._title")), /*#__PURE__*/react.createElement(Select_Select, {
75863
  labelId: "exit-intent-trigger-times",
75864
  id: "exit-intent-trigger-times",
75865
  value: amountOfTimes,
@@ -75875,11 +76012,11 @@ function TriggerAmountTimes(_ref) {
75875
  }
75876
  }, /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
75877
  value: "once_page"
75878
- }, translate("settings.exit_intent.how_often.once_page")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
75879
  value: "once_session"
75880
- }, translate("settings.exit_intent.how_often.once_session")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
75881
  value: "always"
75882
- }, translate("settings.exit_intent.how_often.always"))));
75883
  }
75884
  ;// CONCATENATED MODULE: ./src/js/dashboard/Components/Settings/ExitIntent/TriggerAnimation/TriggerAnimation.js
75885
  function TriggerAnimation_slicedToArray(arr, i) { return TriggerAnimation_arrayWithHoles(arr) || TriggerAnimation_iterableToArrayLimit(arr, i) || TriggerAnimation_unsupportedIterableToArray(arr, i) || TriggerAnimation_nonIterableRest(); }
@@ -75929,28 +76066,28 @@ function TriggerAnimation(_ref) {
75929
  return [/*#__PURE__*/react.createElement(MenuItem_MenuItem, {
75930
  value: "focused",
75931
  key: 0
75932
- }, translate("settings.exit_intent.animation.focused")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
75933
  value: "jump",
75934
  key: 1
75935
- }, translate("settings.exit_intent.animation.jump_single")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
75936
  value: "flip",
75937
  key: 2
75938
- }, translate("settings.exit_intent.animation.flip_single"))];
75939
  }
75940
 
75941
  return [/*#__PURE__*/react.createElement(MenuItem_MenuItem, {
75942
  value: "focused",
75943
  key: 0
75944
- }, translate("settings.exit_intent.animation.focused")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
75945
  value: "open_menu",
75946
  key: 1
75947
- }, translate("settings.exit_intent.animation.open_menu")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
75948
  value: "jump",
75949
  key: 2
75950
- }, translate("settings.exit_intent.animation.jump")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
75951
  value: "flip",
75952
  key: 3
75953
- }, translate("settings.exit_intent.animation.flip"))];
75954
  };
75955
 
75956
  return /*#__PURE__*/react.createElement(FormControl_FormControl, {
@@ -75963,7 +76100,7 @@ function TriggerAnimation(_ref) {
75963
  }, /*#__PURE__*/react.createElement(InputLabel_InputLabel, {
75964
  id: "exit-intent-trigger-animation",
75965
  ref: inputLabel
75966
- }, translate("settings.exit_intent.animation._title")), /*#__PURE__*/react.createElement(Select_Select, {
75967
  labelId: "exit-intent-trigger-animation",
75968
  id: "exit-intent-trigger-animation",
75969
  value: triggerAnimation,
@@ -75995,16 +76132,16 @@ function ExitIntent(_ref) {
75995
  var ExitIntent = function ExitIntent() {
75996
  /* webpack-strip-block:removed */
75997
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(DisableSetting, {
75998
- onClick: function onClick() {
75999
- onChange();
76000
  }
76001
- }, /*#__PURE__*/react.createElement("p", null, translate("settings.exit_intent.description")), /*#__PURE__*/react.createElement(SettingsContainer, {
76002
- title: translate("settings.exit_intent.trigger_window"),
76003
  fullWidth: false
76004
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
76005
  disabled: true
76006
  })), /*#__PURE__*/react.createElement(SettingsContainer, {
76007
- title: translate("settings.exit_intent.trigger_inactive"),
76008
  fullWidth: false
76009
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
76010
  disabled: true
@@ -76018,7 +76155,7 @@ function ExitIntent(_ref) {
76018
  icon: PremiumTag
76019
  }), /*#__PURE__*/react.createElement("p", {
76020
  dangerouslySetInnerHTML: {
76021
- __html: translate("settings.exit_intent.info")
76022
  }
76023
  })));
76024
  };
@@ -76087,19 +76224,19 @@ function Animation(_ref) {
76087
  return [/*#__PURE__*/react.createElement(MenuItem_MenuItem, {
76088
  value: "none",
76089
  key: 0
76090
- }, translate("settings.menu_animation.animations.none")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
76091
  value: "hello",
76092
  key: 1
76093
- }, translate("settings.menu_animation.animations.hello")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
76094
  value: "bounce",
76095
  key: 2
76096
- }, translate("settings.menu_animation.animations.bounce")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
76097
  disabled: true,
76098
  key: 3
76099
- }, translate("settings.menu_animation.animations.pulse"), " (PRO)"), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
76100
  disabled: true,
76101
  key: 4
76102
- }, translate("settings.menu_animation.animations.jelly"), " (PRO)")];
76103
  };
76104
 
76105
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(FormControl_FormControl, {
@@ -76110,8 +76247,8 @@ function Animation(_ref) {
76110
  }
76111
  }, /*#__PURE__*/react.createElement(InputLabel_InputLabel, {
76112
  id: "group-animation"
76113
- }, translate("common.type")), /*#__PURE__*/react.createElement(Select_Select, {
76114
- label: translate("common.type"),
76115
  id: "group-animation",
76116
  value: groupAnimation,
76117
  onChange: function onChange(e) {
@@ -76132,8 +76269,8 @@ function Animation(_ref) {
76132
  xs: true
76133
  }, function () {
76134
  /* webpack-strip-block:removed */
76135
- return /*#__PURE__*/react.createElement(TextField_TextField, {
76136
- label: translate("settings.menu_animation.delay"),
76137
  disabled: true,
76138
  value: 5000,
76139
  size: "small",
@@ -76147,8 +76284,8 @@ function Animation(_ref) {
76147
  InputLabelProps: {
76148
  shrink: true
76149
  },
76150
- onClick: function onClick() {
76151
- return app.showPremiumDialog(translate("premium.add_animation_settings"));
76152
  }
76153
  });
76154
  }()), /*#__PURE__*/react.createElement(Grid_Grid, {
@@ -76156,8 +76293,8 @@ function Animation(_ref) {
76156
  xs: true
76157
  }, function () {
76158
  /* webpack-strip-block:removed */
76159
- return /*#__PURE__*/react.createElement(TextField_TextField, {
76160
- label: translate("settings.menu_animation.repeat_count"),
76161
  value: 5,
76162
  disabled: true,
76163
  size: "small",
@@ -76169,8 +76306,8 @@ function Animation(_ref) {
76169
  InputLabelProps: {
76170
  shrink: true
76171
  },
76172
- onClick: function onClick() {
76173
- return app.showPremiumDialog(translate("premium.add_animation_settings"));
76174
  }
76175
  });
76176
  }())));
@@ -76514,8 +76651,8 @@ function TimeoutScroll(_ref) {
76514
  className: "advanced-scroll-timeout",
76515
  "data-testid": "timeoutScroll:free"
76516
  }, /*#__PURE__*/react.createElement(DisableSetting, {
76517
- onClick: function onClick() {
76518
- openDialogDelay("timeout");
76519
  }
76520
  }, /*#__PURE__*/react.createElement("div", {
76521
  className: "advanced-timeout"
@@ -76529,15 +76666,15 @@ function TimeoutScroll(_ref) {
76529
  value: "timeout",
76530
  name: "timeout-radio-button"
76531
  }),
76532
- label: translate("settings.timeout_scroll.timeout.title"),
76533
  className: "timeout-radio-group",
76534
  labelPlacement: "end",
76535
  value: "timeout",
76536
  name: "timeout-radio-button-label"
76537
- }), /*#__PURE__*/react.createElement(TextField_TextField, {
76538
  variant: "outlined",
76539
- label: translate("settings.timeout_scroll.timeout.milliseconds"),
76540
- helperText: translate("settings.timeout_scroll.timeout.info", {
76541
  value: 0
76542
  }),
76543
  fullWidth: true,
@@ -76547,14 +76684,14 @@ function TimeoutScroll(_ref) {
76547
  endAdornment: /*#__PURE__*/react.createElement(PremiumTag, null)
76548
  }
76549
  })), /*#__PURE__*/react.createElement("div", null, /*#__PURE__*/react.createElement(SettingsContainer, {
76550
- title: translate("settings.timeout_scroll.timeout.trigger_once"),
76551
  fullWidth: false
76552
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
76553
  checked: true,
76554
  disabled: true
76555
  })))), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(DisableSetting, {
76556
- onClick: function onClick() {
76557
- openDialogDelay("scroll");
76558
  }
76559
  }, /*#__PURE__*/react.createElement("div", {
76560
  className: "advanced-scroll"
@@ -76568,14 +76705,14 @@ function TimeoutScroll(_ref) {
76568
  value: "scroll",
76569
  name: "scroll-radio-button"
76570
  }),
76571
- label: translate("settings.timeout_scroll.scroll.title"),
76572
  className: "scroll-radio-group",
76573
  labelPlacement: "end",
76574
  value: "scroll",
76575
  name: "scroll-radio-button-label"
76576
- }), /*#__PURE__*/react.createElement(TextField_TextField, {
76577
  variant: "outlined",
76578
- label: translate("settings.timeout_scroll.scroll.from_top"),
76579
  FormHelperTextProps: {
76580
  component: "span"
76581
  },
@@ -76587,18 +76724,18 @@ function TimeoutScroll(_ref) {
76587
  }
76588
  }), /*#__PURE__*/react.createElement("div", {
76589
  className: "advanced-scroll-pixel-percent"
76590
- }, /*#__PURE__*/react.createElement(Button_Button, {
76591
  disabled: true,
76592
  variant: "contained",
76593
  color: "primary",
76594
  "data-testid": "setting:scroll-percent"
76595
- }, "%"), /*#__PURE__*/react.createElement(Button_Button, {
76596
  disabled: true,
76597
  variant: "outlined",
76598
  color: "primary",
76599
  "data-testid": "setting:scroll-px"
76600
  }, "px"))), /*#__PURE__*/react.createElement("div", null, /*#__PURE__*/react.createElement(SettingsContainer, {
76601
- title: translate("settings.timeout_scroll.scroll.visibility"),
76602
  fullWidth: false
76603
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
76604
  checked: true,
@@ -76664,15 +76801,15 @@ function Advanced_Advanced(_ref) {
76664
  "class": function _class() {
76665
  /* webpack-strip-block:removed */
76666
  return /*#__PURE__*/react.createElement(DisableSetting, {
76667
- onClick: function onClick() {
76668
- app.showPremiumDialog(translate("settings.custom_class.pro_description"));
76669
  }
76670
- }, /*#__PURE__*/react.createElement(TextField_TextField, {
76671
  inputProps: {
76672
  "data-testid": "setting:custom-class"
76673
  },
76674
  variant: "outlined",
76675
- label: translate("settings.custom_class.title"),
76676
  fullWidth: true,
76677
  disabled: true,
76678
  style: {
@@ -76686,15 +76823,15 @@ function Advanced_Advanced(_ref) {
76686
  id: function id() {
76687
  /* webpack-strip-block:removed */
76688
  return /*#__PURE__*/react.createElement(DisableSetting, {
76689
- onClick: function onClick() {
76690
- app.showPremiumDialog(translate("settings.custom_id.pro_description"));
76691
  }
76692
- }, /*#__PURE__*/react.createElement(TextField_TextField, {
76693
  inputProps: {
76694
  "data-testid": "setting:custom-id"
76695
  },
76696
  variant: "outlined",
76697
- label: translate("settings.custom_id.title"),
76698
  value: get("custom_id"),
76699
  fullWidth: true,
76700
  disabled: true,
@@ -76715,8 +76852,8 @@ function Advanced_Advanced(_ref) {
76715
  timeoutScroll: function timeoutScroll() {
76716
  /* webpack-strip-block:removed */
76717
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(TimeoutScroll, {
76718
- openDialogDelay: function openDialogDelay(val) {
76719
- val === "timeout" ? app.showPremiumDialog(translate("premium.show_on_timeout"), "V4lvZ15ULWw") : app.showPremiumDialog(translate("premium.show_on_scroll"), "hh5LBF4C1pg");
76720
  }
76721
  }));
76722
  }
@@ -76725,13 +76862,13 @@ function Advanced_Advanced(_ref) {
76725
  timeSchedules: function timeSchedules() {
76726
  /* webpack-strip-block:removed */
76727
  return /*#__PURE__*/react.createElement(DisableSetting, {
76728
- onClick: function onClick() {
76729
- app.showPremiumDialog(translate("time_schedules.pro_description"), "C-B9ITdY6A4");
76730
  }
76731
  }, /*#__PURE__*/react.createElement(FilterSelect, {
76732
  type: "schedule",
76733
  group: true
76734
- }), /*#__PURE__*/react.createElement(Button_Button, {
76735
  startIcon: /*#__PURE__*/react.createElement("i", {
76736
  style: {
76737
  fontSize: "12px"
@@ -76741,18 +76878,18 @@ function Advanced_Advanced(_ref) {
76741
  color: "primary",
76742
  className: "Mui-disabled",
76743
  "data-testid": "time_schedules_open_drawer"
76744
- }, translate("time_schedules.open_settings")));
76745
  },
76746
  pageRules: function pageRules() {
76747
  /* webpack-strip-block:removed */
76748
  return /*#__PURE__*/react.createElement(DisableSetting, {
76749
- onClick: function onClick() {
76750
- app.showPremiumDialog(translate("page_rules.pro_description"), "SQnAhyBWLWg");
76751
  }
76752
  }, /*#__PURE__*/react.createElement(FilterSelect, {
76753
  type: "rule",
76754
  group: true
76755
- }), /*#__PURE__*/react.createElement(Button_Button, {
76756
  startIcon: /*#__PURE__*/react.createElement("i", {
76757
  style: {
76758
  fontSize: "12px"
@@ -76762,20 +76899,20 @@ function Advanced_Advanced(_ref) {
76762
  color: "primary",
76763
  className: "Mui-disabled",
76764
  "data-testid": "page_rules_open_drawer"
76765
- }, translate("page_rules.open_settings")));
76766
  }
76767
  },
76768
  exitIntent: function exitIntent() {
76769
  /* webpack-strip-block:removed */
76770
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(ExitIntent, {
76771
- onChange: function onChange() {
76772
- app.showPremiumDialog(translate("settings.exit_intent.pro_description"));
76773
  }
76774
  }));
76775
  }
76776
  };
76777
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(CollapsibleGroup, {
76778
- title: "".concat(translate("settings.menu_animation.title")),
76779
  opened: openedGroup === "animation",
76780
  onSetIsOpened: function onSetIsOpened(val) {
76781
  return setOpenedGroup(val ? "animation" : "");
@@ -76795,7 +76932,7 @@ function Advanced_Advanced(_ref) {
76795
  /* webpack-strip-block:removed */
76796
  }
76797
  })), /*#__PURE__*/react.createElement(CollapsibleGroup, {
76798
- title: translate("settings.custom_id.title") + " & " + translate("settings.custom_class.title"),
76799
  "data-testid": "group:custom-class-id",
76800
  icon: "far fa-clock",
76801
  opened: openedGroup === "customIdClass",
@@ -76804,10 +76941,10 @@ function Advanced_Advanced(_ref) {
76804
  }
76805
  }, /*#__PURE__*/react.createElement("div", {
76806
  className: "setting-group-title"
76807
- }, translate("settings.custom_class.title")), /*#__PURE__*/react.createElement("hr", null), settings.styling["class"](), /*#__PURE__*/react.createElement("div", {
76808
  className: "setting-group-title"
76809
- }, translate("settings.custom_id.title")), /*#__PURE__*/react.createElement("hr", null), settings.styling.id(), settings.styling.editor()), /*#__PURE__*/react.createElement(CollapsibleGroup, {
76810
- title: translate("time_schedules.name"),
76811
  icon: "far fa-clock",
76812
  "data-testid": "group:time-schedules",
76813
  opened: openedGroup === "timeSchedules",
@@ -76815,7 +76952,7 @@ function Advanced_Advanced(_ref) {
76815
  return setOpenedGroup(val ? "timeSchedules" : "");
76816
  }
76817
  }, settings.filters.timeSchedules()), /*#__PURE__*/react.createElement(CollapsibleGroup, {
76818
- title: translate("page_rules.name"),
76819
  "data-testid": "group:page-rules",
76820
  icon: "fas fa-filter",
76821
  opened: openedGroup === "pageRules",
@@ -76823,7 +76960,7 @@ function Advanced_Advanced(_ref) {
76823
  return setOpenedGroup(val ? "pageRules" : "");
76824
  }
76825
  }, settings.filters.pageRules()), /*#__PURE__*/react.createElement(CollapsibleGroup, {
76826
- title: translate("settings.button_group_window.timeout_scroll"),
76827
  icon: "fas fa-stopwatch",
76828
  "data-testid": "group:timeout-scroll",
76829
  opened: openedGroup === "timeOutScroll",
@@ -76831,7 +76968,7 @@ function Advanced_Advanced(_ref) {
76831
  return setOpenedGroup(val ? "timeOutScroll" : "");
76832
  }
76833
  }, settings.delay.timeoutScroll()), /*#__PURE__*/react.createElement(CollapsibleGroup, {
76834
- title: translate("settings.exit_intent.title"),
76835
  icon: "fas fa-running",
76836
  "data-testid": "group:exit-intent",
76837
  opened: openedGroup === "exitIntent",
@@ -77238,8 +77375,8 @@ function EventsButton() {
77238
  };
77239
  });
77240
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(Tippy_Tippy, {
77241
- content: translate("event_tracker.title")
77242
- }, /*#__PURE__*/react.createElement(IconButton_IconButton, {
77243
  color: "primary",
77244
  onClick: function onClick(e) {
77245
  setHasRead(true);
@@ -77266,7 +77403,7 @@ function EventsButton() {
77266
  color: "primary"
77267
  }, /*#__PURE__*/react.createElement("i", {
77268
  className: "fas fa-info"
77269
- }), " ", translate("event_tracker.window_title"))), /*#__PURE__*/react.createElement(List_List, {
77270
  className: "events"
77271
  }, messages.length === 0 && /*#__PURE__*/react.createElement(ListItem_ListItem, null, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
77272
  primary: "No button events"
@@ -77493,7 +77630,7 @@ function SavingDialog(_ref) {
77493
  var label = function label() {
77494
  if (updating) {
77495
  if (updating === "failed") {
77496
- return translate("saving.failed");
77497
  } else if (SavingDialog_typeof(updating) === "object") {
77498
  return /*#__PURE__*/react.createElement("div", {
77499
  style: {
@@ -77511,11 +77648,11 @@ function SavingDialog(_ref) {
77511
  }
77512
  }, "Show error message..."));
77513
  } else {
77514
- return translate("saving.saving");
77515
  }
77516
  }
77517
 
77518
- return translate("saving.completed");
77519
  };
77520
 
77521
  var icon = function icon() {
@@ -77578,13 +77715,13 @@ function SavingDialog(_ref) {
77578
  className: "warning",
77579
  buttons: [{
77580
  value: "confirm",
77581
- text: translate("modal.ok"),
77582
  variant: "contained"
77583
  }],
77584
  onClose: function onClose() {
77585
  setOpenDialog(false);
77586
  }
77587
- }, SavingDialog_typeof(updating) === "object" ? updating.message : translate("modal.lost")));
77588
  }
77589
 
77590
  /* harmony default export */ var SavingDialog_SavingDialog = (connect(function (store) {
@@ -77658,13 +77795,13 @@ function Bar(_ref) {
77658
  }, /*#__PURE__*/react.createElement("div", {
77659
  className: "footer-button-group-start"
77660
  }, /*#__PURE__*/react.createElement(Tippy_Tippy, {
77661
- content: translate("welcome.open_menu")
77662
- }, /*#__PURE__*/react.createElement(Button_Button, {
77663
  className: "settings-button",
77664
  onClick: function onClick() {
77665
  return openDrawer(drawers.MENU);
77666
  },
77667
- "aria-label": isMenu ? translate("utils.back_to_overview") : translate("utils.open_menu"),
77668
  color: "primary"
77669
  }, /*#__PURE__*/react.createElement("i", {
77670
  className: "fas fa-cog"
@@ -77714,16 +77851,16 @@ function Loader(_ref) {
77714
  alt: "Buttonizer"
77715
  }), /*#__PURE__*/react.createElement("div", {
77716
  className: "loader-text"
77717
- }, translate(loadingString), /*#__PURE__*/react.createElement("br", null), /*#__PURE__*/react.createElement("br", null), slowWebsite && /*#__PURE__*/react.createElement("div", {
77718
  className: "slow-website"
77719
- }, /*#__PURE__*/react.createElement("small", null, translate("loading.website_slow")), /*#__PURE__*/react.createElement("a", {
77720
  href: "#",
77721
  onClick: function onClick(e) {
77722
  e.preventDefault();
77723
  slowWebsite = false;
77724
  },
77725
  "data-testid": "loader-skip-button"
77726
- }, translate("loading.website_skip"))))));
77727
  }
77728
 
77729
  /* harmony default export */ var Loader_Loader = (Loader);
@@ -78038,7 +78175,7 @@ function MenuItem_MenuItem_MenuItem(_ref) {
78038
  }
78039
  };
78040
 
78041
- return /*#__PURE__*/react.createElement(Button_Button, {
78042
  className: (0,clsx_m/* default */.Z)("buttonizer-menu-item", className),
78043
  onClick: clickAction,
78044
  "data-testid": dataTestid
@@ -78073,6 +78210,7 @@ function MenuDrawer_defineProperty(obj, key, value) { if (key in obj) { Object.d
78073
 
78074
 
78075
 
 
78076
  var MenuDrawer_useStyles = styles_makeStyles(function () {
78077
  return MenuDrawer_defineProperty({
78078
  hideButton: {
@@ -78143,7 +78281,7 @@ function MenuDrawer(_ref2) {
78143
  }, /*#__PURE__*/react.createElement("img", {
78144
  src: window.buttonizer_admin.assets + "/images/logo.png",
78145
  alt: "Buttonizer logo"
78146
- })), /*#__PURE__*/react.createElement(IconButton_IconButton, {
78147
  "aria-label": "close",
78148
  color: "primary",
78149
  onClick: onClose,
@@ -78152,7 +78290,7 @@ function MenuDrawer(_ref2) {
78152
  }, /*#__PURE__*/react.createElement("i", {
78153
  className: "fas fa-chevron-left"
78154
  })), /*#__PURE__*/react.createElement(CollapsibleGroup, {
78155
- title: translate("common.settings"),
78156
  opened: openedGroup === "menu_settings",
78157
  onSetIsOpened: function onSetIsOpened(val) {
78158
  return setOpenedGroup(val ? "menu_settings" : "");
@@ -78162,66 +78300,76 @@ function MenuDrawer(_ref2) {
78162
  "data-testid": "menudrawer:settings"
78163
  }, /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78164
  title: "Google Analytics",
78165
- description: translate("settings_window.google_analytics.description"),
78166
  onClick: function onClick() {
78167
  return openDrawer(drawers.SETTINGS, drawers.SETTINGS_PAGES.analytics);
78168
  },
78169
  dataTestid: "menuitem:".concat(drawers.SETTINGS_PAGES.analytics)
78170
  }), /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78171
- title: translate("settings_window.icon_library.title"),
78172
- description: translate("settings_window.icon_library.description"),
78173
  onClick: function onClick() {
78174
  return openDrawer(drawers.SETTINGS, drawers.SETTINGS_PAGES.iconLibrary);
78175
  },
78176
  dataTestid: "menuitem:".concat(drawers.SETTINGS_PAGES.iconLibrary)
78177
  }), /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78178
- title: translate("settings_window.other_settings.title"),
78179
- description: translate("settings_window.other_settings.description"),
78180
  onClick: function onClick() {
78181
  return openDrawer(drawers.SETTINGS, drawers.SETTINGS_PAGES.preferences);
78182
  },
78183
  dataTestid: "menuitem:".concat(drawers.SETTINGS_PAGES.preferences)
78184
  }), /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78185
- title: translate("settings_window.reset.title"),
78186
- description: translate("settings_window.reset.description"),
78187
  onClick: function onClick() {
78188
  return openDrawer(drawers.SETTINGS, drawers.SETTINGS_PAGES.reset);
78189
  },
78190
  dataTestid: "menuitem:".concat(drawers.SETTINGS_PAGES.reset)
78191
  }), /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78192
- title: translate("settings_window.buttonizer_tour.title"),
78193
- description: translate("settings_window.buttonizer_tour.description"),
78194
  onClick: function onClick() {
78195
  return openDrawer(drawers.BUTTONIZER_TOUR);
78196
  },
78197
  dataTestid: "menuitem:".concat(drawers.BUTTONIZER_TOUR),
78198
  className: "menu-item buttonizer-tour"
78199
  })), /*#__PURE__*/react.createElement(CollapsibleGroup, {
78200
- title: "".concat(translate("page_rules.name"), " & ").concat(translate("time_schedules.name")),
78201
  opened: openedGroup === "pageRules",
78202
  onSetIsOpened: function onSetIsOpened(val) {
78203
  return setOpenedGroup(val ? "pageRules" : "");
78204
  },
78205
  bodySpacing: false,
78206
  "data-testid": "menudrawer:rule_schedule"
 
 
 
 
 
 
78207
  }, /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78208
- title: translate("page_rules.name"),
78209
- description: translate("page_rules.menu_description"),
78210
  dataTestid: "menuitem:".concat(drawers.PAGE_RULES),
78211
  onClick: function onClick() {
78212
  /* webpack-strip-block:removed */
78213
- app.showPremiumDialog(translate("page_rules.pro_description"), "SQnAhyBWLWg");
78214
  }
78215
- }), /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78216
- title: translate("time_schedules.name"),
78217
- description: translate("time_schedules.menu_description"),
 
 
 
 
 
 
78218
  dataTestid: "menuitem:".concat(drawers.TIME_SCHEDULES),
78219
  onClick: function onClick() {
78220
  /* webpack-strip-block:removed */
78221
- app.showPremiumDialog(translate("time_schedules.pro_description"), "SQnAhyBWLWg");
78222
  }
78223
- })), /*#__PURE__*/react.createElement(CollapsibleGroup, {
78224
- title: translate("bar.menu.support_group"),
78225
  opened: openedGroup === "menu_support",
78226
  onSetIsOpened: function onSetIsOpened(val) {
78227
  return setOpenedGroup(val ? "menu_support" : "");
@@ -78230,26 +78378,26 @@ function MenuDrawer(_ref2) {
78230
  "data-testid": "menudrawer:support",
78231
  className: "menu-support"
78232
  }, /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78233
- title: translate("bar.menu.knowledgebase.title"),
78234
- description: translate("bar.menu.knowledgebase.description"),
78235
  href: "https://community.buttonizer.pro/knowledgebase?referral=buttonizer-dashboard-menu",
78236
  newWindow: true,
78237
  dataTestid: "menuitem:knowledgebase"
78238
  }), /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78239
- title: translate("bar.menu.community.title"),
78240
- description: translate("bar.menu.community.description"),
78241
  href: "https://community.buttonizer.pro/?referral=buttonizer-dashboard-menu",
78242
  newWindow: true,
78243
  dataTestid: "menuitem:community",
78244
  className: "menu-item community"
78245
  }), /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78246
- title: translate("bar.menu.support.title"),
78247
- description: translate("bar.menu.support.description"),
78248
  href: "https://community.buttonizer.pro/t/support?referral=buttonizer-dashboard-menu",
78249
  newWindow: true,
78250
  dataTestid: "menuitem:support"
78251
  })), /*#__PURE__*/react.createElement(CollapsibleGroup, {
78252
- title: translate("bar.menu.account_group"),
78253
  opened: openedGroup === "account",
78254
  onSetIsOpened: function onSetIsOpened(val) {
78255
  return setOpenedGroup(val ? "account" : "");
@@ -78257,26 +78405,26 @@ function MenuDrawer(_ref2) {
78257
  bodySpacing: false,
78258
  "data-testid": "menudrawer:account"
78259
  }, /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78260
- title: translate("bar.menu.account.title"),
78261
- description: translate("bar.menu.account.description"),
78262
  href: buttonizer_admin.is_stand_alone ? "https://app.buttonizer.pro/account" : "".concat(buttonizer_admin.admin, "?page=Buttonizer-account"),
78263
  newWindow: true,
78264
  dataTestid: "menuitem:account"
78265
  }), /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78266
- title: translate("bar.menu.upgrade.title"),
78267
- description: translate("bar.menu.upgrade.description"),
78268
  href: buttonizer_admin.is_stand_alone ? "https://app.buttonizer.pro/upgrade" : "".concat(buttonizer_admin.admin, "?page=Buttonizer-pricing"),
78269
  newWindow: true,
78270
  dataTestid: "menuitem:upgrade"
78271
  }), /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78272
- title: translate("bar.menu.affiliation.title"),
78273
- description: translate("bar.menu.affiliation.description"),
78274
  href: buttonizer_admin.is_stand_alone ? "https://app.buttonizer.pro/affiliate" : "".concat(buttonizer_admin.admin, "?page=Buttonizer-affiliation"),
78275
  newWindow: true,
78276
  dataTestid: "menuitem:affiliation"
78277
  }), /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78278
  title: "Buttonizer",
78279
- description: translate("bar.menu.version", {
78280
  versionNumber: buttonizer_admin.version
78281
  }),
78282
  href: buttonizer_admin.is_stand_alone ? "https://community.buttonizer.pro/d/895" : "https://buttonizer.pro",
@@ -78284,7 +78432,7 @@ function MenuDrawer(_ref2) {
78284
  dataTestid: "menuitem:version"
78285
  })), /*#__PURE__*/react.createElement("div", {
78286
  className: "menu-drawer-bottom"
78287
- }, !buttonizer_admin.is_stand_alone && /*#__PURE__*/react.createElement(Button_Button, {
78288
  variant: "contained",
78289
  color: "secondary",
78290
  style: {
@@ -78295,7 +78443,7 @@ function MenuDrawer(_ref2) {
78295
  }),
78296
  "data-testid": "menudrawer:admin",
78297
  href: buttonizer_admin.admin_base
78298
- }, translate("bar.menu.wp_admin")), buttonizer_admin.is_stand_alone && /*#__PURE__*/react.createElement(Button_Button, {
78299
  variant: "contained",
78300
  color: "secondary",
78301
  style: {
@@ -78308,10 +78456,10 @@ function MenuDrawer(_ref2) {
78308
  href: "https://app.buttonizer.pro"
78309
  }, "Back to the dashboard"), /*#__PURE__*/react.createElement("div", {
78310
  className: "social-media-buttons"
78311
- }, /*#__PURE__*/react.createElement("b", null, translate("bar.menu.follow")), /*#__PURE__*/react.createElement("div", {
78312
  className: "buttons-container"
78313
  }, socialMediaButtons.map(function (socialMediaButton, key) {
78314
- return /*#__PURE__*/react.createElement(IconButton_IconButton, {
78315
  key: key,
78316
  component: Link_Link,
78317
  "data-testid": "menudrawer:".concat(dlv_umd_default()(socialMediaButton, "class", "")),
@@ -78473,7 +78621,7 @@ function DrawerSplitter(_ref) {
78473
  className: "menu-items"
78474
  }, /*#__PURE__*/react.createElement("div", {
78475
  className: "menu-header"
78476
- }, icon, backButton ? /*#__PURE__*/react.createElement(IconButton_IconButton, {
78477
  color: "primary",
78478
  size: "small",
78479
  style: {
@@ -78485,7 +78633,7 @@ function DrawerSplitter(_ref) {
78485
  openDrawer(drawers.MENU, null);
78486
  },
78487
  className: "menu-back"
78488
- }, /*#__PURE__*/react.createElement(Icon_Icon, {
78489
  fontSize: "inherit",
78490
  style: {
78491
  overflow: "unset"
@@ -78508,7 +78656,7 @@ function DrawerSplitter(_ref) {
78508
  className: "drawer-content-header"
78509
  }, /*#__PURE__*/react.createElement("div", {
78510
  className: "title"
78511
- }, contentTitle), rename && /*#__PURE__*/react.createElement(IconButton_IconButton, {
78512
  "aria-label": "rename",
78513
  className: "rename-button",
78514
  onClick: function onClick() {
@@ -78516,21 +78664,21 @@ function DrawerSplitter(_ref) {
78516
  },
78517
  color: "primary",
78518
  "data-testid": "rename-splitter"
78519
- }, /*#__PURE__*/react.createElement(Icon_Icon, {
78520
  className: "fas fa-i-cursor"
78521
- })), backButton || /*#__PURE__*/react.createElement(IconButton_IconButton, {
78522
  "aria-label": "close",
78523
  className: "close-button",
78524
  onClick: function onClick() {
78525
  return closeDrawer();
78526
  },
78527
  color: "primary"
78528
- }, /*#__PURE__*/react.createElement(Icon_Icon, {
78529
  className: "fas fa-times"
78530
  })), /*#__PURE__*/react.createElement(FormDialog, {
78531
  open: dialogOpen,
78532
- title: translate("utils.rename"),
78533
- text: translate("utils.rename_to"),
78534
  defaultValue: "",
78535
  "data-testid": "drawersplitter:dialog",
78536
  clearOnConfirm: true,
@@ -78615,14 +78763,14 @@ function Analytics(_ref) {
78615
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
78616
  className: "description",
78617
  "data-testid": "analytics:page_description"
78618
- }, translate("settings_window.google_analytics.description")), /*#__PURE__*/react.createElement(List_List, {
78619
  "data-testid": "analytics:page_content"
78620
  }, /*#__PURE__*/react.createElement(ListItem_ListItem, {
78621
  disableGutters: true,
78622
  className: "with-secondary-action"
78623
  }, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
78624
- primary: translate("settings_window.google_analytics.enable"),
78625
- secondary: translate("settings_window.google_analytics.intro"),
78626
  onClick: function onClick() {
78627
  var val = !analyticsEnable;
78628
  setAnalyticsEnable(val);
@@ -78646,17 +78794,17 @@ function Analytics(_ref) {
78646
  }, "Google Analytics tracking code"), /*#__PURE__*/react.createElement(Typography_Typography, {
78647
  variant: "body2",
78648
  color: "textSecondary"
78649
- }, translate("settings_window.google_analytics.tracking_code_info")), /*#__PURE__*/react.createElement(Typography_Typography, {
78650
  variant: "body2",
78651
  color: "textSecondary",
78652
  style: {
78653
  margin: "15px 0"
78654
  }
78655
- }, /*#__PURE__*/react.createElement("b", null, translate("common.warning"), ":"), " ", translate("settings_window.google_analytics.tracking_code_warning")), /*#__PURE__*/react.createElement(FormControl_FormControl, {
78656
  variant: "outlined"
78657
  }, /*#__PURE__*/react.createElement(InputLabel_InputLabel, {
78658
  htmlFor: "outlined-adornment-password"
78659
- }, translate("settings_window.google_analytics.input")), /*#__PURE__*/react.createElement(OutlinedInput_OutlinedInput, {
78660
  id: "outlined-adornment-password",
78661
  placeholder: "UA-00000000-1",
78662
  labelWidth: 70,
@@ -78669,7 +78817,7 @@ function Analytics(_ref) {
78669
 
78670
  _onChange("google_analytics", e.target.value);
78671
  }
78672
- }))), /*#__PURE__*/react.createElement(Button_Button, {
78673
  href: "https://community.buttonizer.pro/knowledgebase/17" //*Link to google analytics
78674
  ,
78675
  size: "small",
@@ -78682,7 +78830,7 @@ function Analytics(_ref) {
78682
  style: {
78683
  marginTop: 20
78684
  }
78685
- }, translate("settings_window.google_analytics.link")));
78686
  }
78687
  ;// CONCATENATED MODULE: ./src/js/dashboard/Components/Drawers/DrawerSplitter/DrawerSplitterContentTitle/DrawerSplitterContentTitle.js
78688
 
@@ -78737,27 +78885,27 @@ function Reset(_ref) {
78737
 
78738
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
78739
  className: "description"
78740
- }, translate("settings_window.reset.description"), ".", " ", translate("settings_window.reset.info")), /*#__PURE__*/react.createElement("div", {
78741
  className: "explaination"
78742
  }, /*#__PURE__*/react.createElement(DrawerSplitterContentTitle, {
78743
- title: translate("settings_window.reset.what_will_happen.title")
78744
- }), /*#__PURE__*/react.createElement("p", null, translate("settings_window.reset.what_will_happen.info"))), /*#__PURE__*/react.createElement("div", {
78745
  className: "explaination"
78746
  }, /*#__PURE__*/react.createElement(DrawerSplitterContentTitle, {
78747
- title: translate("settings_window.reset.why.title")
78748
- }), /*#__PURE__*/react.createElement("p", null, translate("settings_window.reset.why.info"))), /*#__PURE__*/react.createElement("div", {
78749
  className: "explaination"
78750
  }, /*#__PURE__*/react.createElement(DrawerSplitterContentTitle, {
78751
- title: translate("settings_window.reset.license.title")
78752
- }), /*#__PURE__*/react.createElement("p", null, translate("settings_window.reset.license.info")), /*#__PURE__*/react.createElement("ul", null, /*#__PURE__*/react.createElement("li", null, translate("settings_window.reset.license.list.buttons")), /*#__PURE__*/react.createElement("li", null, translate("settings_window.reset.license.list.groups")), /*#__PURE__*/react.createElement("li", null, translate("settings_window.reset.license.list.time_schedules")), /*#__PURE__*/react.createElement("li", null, translate("settings_window.reset.license.list.page_rules")), /*#__PURE__*/react.createElement("li", null, translate("settings_window.reset.license.list.settings")), /*#__PURE__*/react.createElement("li", null, translate("settings_window.reset.license.list.published")))), /*#__PURE__*/react.createElement("div", {
78753
  className: "explaination"
78754
  }, /*#__PURE__*/react.createElement(DrawerSplitterContentTitle, {
78755
- title: translate("settings_window.reset.default_settings.title")
78756
- }), /*#__PURE__*/react.createElement("p", null, translate("settings_window.reset.default_settings.info"))), /*#__PURE__*/react.createElement("div", {
78757
  className: "explaination"
78758
  }, /*#__PURE__*/react.createElement(DrawerSplitterContentTitle, {
78759
- title: translate("settings_window.reset.ready.title")
78760
- }), /*#__PURE__*/react.createElement("p", null, translate("settings_window.reset.ready.info")), /*#__PURE__*/react.createElement(Button_Button, {
78761
  variant: "contained",
78762
  color: "secondary",
78763
  className: "button-warning",
@@ -78772,13 +78920,13 @@ function Reset(_ref) {
78772
  }, "Reset"), /*#__PURE__*/react.createElement(ConfirmDialog, {
78773
  open: dialogOpened,
78774
  testId: "confirm_dialog",
78775
- title: translate("settings_window.reset.title"),
78776
  buttons: [{
78777
  value: "cancel",
78778
- text: translate("modal.changed_my_mind") + "!"
78779
  }, {
78780
  value: "close",
78781
- text: translate("modal.sure")
78782
  }],
78783
  onClose: handleClose
78784
  }, /*#__PURE__*/react.createElement("div", {
@@ -78886,11 +79034,11 @@ function PermissionComponent(_ref) {
78886
  disableGutters: true,
78887
  className: "with-permissions"
78888
  }, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
78889
- primary: translate("settings_window.other_settings.additional_roles.title"),
78890
- secondary: translate("settings_window.other_settings.additional_roles.info")
78891
  }), /*#__PURE__*/react.createElement(KnowledgeBaseLink, {
78892
  articleId: 507,
78893
- setting: translate("settings_window.other_settings.additional_roles.title")
78894
  }), /*#__PURE__*/react.createElement(Autocomplete_Autocomplete, {
78895
  multiple: true,
78896
  size: "small",
@@ -78900,7 +79048,7 @@ function PermissionComponent(_ref) {
78900
  options: loading ? [] : store.getState().wp.data["roles"].filter(function (obj) {
78901
  return obj.id !== "guest";
78902
  }),
78903
- loadingText: translate("loading.loading"),
78904
  filterSelectedOptions: true,
78905
  getOptionLabel: function getOptionLabel(option) {
78906
  return option.name;
@@ -78935,12 +79083,12 @@ function PermissionComponent(_ref) {
78935
  }));
78936
  });
78937
  },
78938
- noOptionsText: translate("utils.search_not_found"),
78939
  renderInput: function renderInput(params) {
78940
- return /*#__PURE__*/react.createElement(TextField_TextField, PermissionComponent_extends({}, params, {
78941
  variant: "outlined",
78942
- label: translate("settings_window.other_settings.additional_roles.roles"),
78943
- placeholder: translate("page_rules.select_items"),
78944
  disabled: loading,
78945
  InputProps: PermissionComponent_objectSpread(PermissionComponent_objectSpread({}, params.InputProps), {}, {
78946
  "data-testid": "pagerule:autocomplete-input",
@@ -79054,12 +79202,12 @@ function Preferences(_ref) {
79054
  }, [adminBar, toolTips, tips, subDomains, noAjax, canSendErrors]);
79055
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
79056
  className: "description"
79057
- }, translate("settings_window.other_settings.description")), /*#__PURE__*/react.createElement(List_List, null, !buttonizer_admin.is_stand_alone && /*#__PURE__*/react.createElement(ListItem_ListItem, {
79058
  disableGutters: true,
79059
  className: "with-secondary-action"
79060
  }, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79061
- primary: translate("settings_window.other_settings.admin_button.title"),
79062
- secondary: translate("settings_window.other_settings.admin_button.info"),
79063
  "data-testid": "preferences:top_bar:text",
79064
  onClick: function onClick() {
79065
  var val = !adminBarTop;
@@ -79083,8 +79231,8 @@ function Preferences(_ref) {
79083
  disableGutters: true,
79084
  className: "with-secondary-action"
79085
  }, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79086
- primary: translate("settings_window.other_settings.tooltips.title"),
79087
- secondary: translate("settings_window.other_settings.tooltips.info"),
79088
  "data-testid": "preferences:tooltips:text",
79089
  onClick: function onClick() {
79090
  var val = !adminTooltips;
@@ -79108,8 +79256,8 @@ function Preferences(_ref) {
79108
  disableGutters: true,
79109
  className: "with-secondary-action"
79110
  }, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79111
- primary: translate("settings_window.other_settings.tips.title"),
79112
- secondary: translate("settings_window.other_settings.tips.info"),
79113
  "data-testid": "preferences:tips:text",
79114
  onClick: function onClick() {
79115
  var val = !adminTips;
@@ -79133,8 +79281,8 @@ function Preferences(_ref) {
79133
  disableGutters: true,
79134
  className: "with-secondary-action"
79135
  }, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79136
- primary: translate("settings_window.other_settings.ajax.title"),
79137
- secondary: translate("settings_window.other_settings.ajax.info"),
79138
  "data-testid": "preferences:ajax:text",
79139
  onClick: function onClick() {
79140
  var val = !frontendNoAjax;
@@ -79158,8 +79306,8 @@ function Preferences(_ref) {
79158
  disableGutters: true,
79159
  className: "with-secondary-action"
79160
  }, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79161
- primary: translate("settings_window.other_settings.subdomain.title"),
79162
- secondary: translate("settings_window.other_settings.subdomain.info"),
79163
  "data-testid": "preferences:subdomains:text",
79164
  onClick: function onClick() {
79165
  var val = !adminSubdomain;
@@ -79183,8 +79331,8 @@ function Preferences(_ref) {
79183
  disableGutters: true,
79184
  className: "with-secondary-action"
79185
  }, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79186
- primary: translate("settings_window.other_settings.error_logging.title"),
79187
- secondary: translate("settings_window.other_settings.error_logging.info"),
79188
  "data-testid": "preferences:errors:text",
79189
  onClick: function onClick() {
79190
  var val = !sendErrors;
@@ -79208,8 +79356,8 @@ function Preferences(_ref) {
79208
  disableGutters: true,
79209
  className: "with-secondary-action"
79210
  }, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79211
- primary: translate("settings_window.other_settings.no_limit.title"),
79212
- secondary: translate("settings_window.other_settings.no_limit.info"),
79213
  "data-testid": "preferences:no_limit:text",
79214
  onClick: function onClick() {
79215
  var val = !disableLimit;
@@ -79233,9 +79381,9 @@ function Preferences(_ref) {
79233
  disableGutters: true,
79234
  className: "with-optin-action"
79235
  }, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79236
- primary: translate("settings_window.other_settings.reset_opt_in.title"),
79237
- secondary: translate("settings_window.other_settings.reset_opt_in.info")
79238
- }), /*#__PURE__*/react.createElement(ListItemSecondaryAction_ListItemSecondaryAction, null, /*#__PURE__*/react.createElement(Button_Button, {
79239
  onClick: function onClick() {
79240
  setResettingOptin(true);
79241
  apiRequest("/optin", {
@@ -79252,7 +79400,7 @@ function Preferences(_ref) {
79252
  });
79253
  },
79254
  disabled: resettingOptin
79255
- }, translate(resettingOptin ? "loading.loading" : "settings_window.other_settings.reset_opt_in.button")))), !buttonizer_admin.is_stand_alone && /*#__PURE__*/react.createElement(PermissionComponent_PermissionComponent, {
79256
  value: additionalPermissions,
79257
  onChange: function onChange(val) {
79258
  return _onChange("additional_permissions", val);
@@ -79277,10 +79425,10 @@ function IconLibrary(_ref) {
79277
  className: "settings-page-content"
79278
  }, /*#__PURE__*/react.createElement("div", {
79279
  className: "description"
79280
- }, translate("settings_window.icon_library.description"), ".", " ", translate("settings_window.icon_library.info")), /*#__PURE__*/react.createElement(SettingsContainer, {
79281
  title: /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79282
- primary: translate("settings_window.icon_library.title"),
79283
- secondary: translate("settings_window.icon_library.info")
79284
  }),
79285
  className: "select"
79286
  }, /*#__PURE__*/react.createElement(FormControl_FormControl, {
@@ -79311,8 +79459,8 @@ function IconLibrary(_ref) {
79311
  key: "fontawesome"
79312
  }, "Font Awesome")))), /*#__PURE__*/react.createElement(SettingsContainer, {
79313
  title: /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79314
- primary: translate("settings_window.icon_library.select_version.title"),
79315
- secondary: translate("settings_window.icon_library.select_version.info")
79316
  }),
79317
  className: "select"
79318
  }, /*#__PURE__*/react.createElement(FormControl_FormControl, {
@@ -79342,15 +79490,15 @@ function IconLibrary(_ref) {
79342
  }, /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
79343
  value: "5.free",
79344
  key: "5.free"
79345
- }, "Font Awesome 5 - " + translate("settings_window.icon_library.free") + " - " + translate("settings_window.icon_library.latest")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
79346
  value: "5.paid",
79347
  key: "5.paid"
79348
- }, "Font Awesome 5 - Pro - " + translate("settings_window.icon_library.latest")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
79349
  value: "4.7.0",
79350
  key: "4.7.0"
79351
  }, "Font Awesome 4.7")))), icon_library_version === "5.paid" ? /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(SettingsContainer, {
79352
  title: /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79353
- secondary: /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("b", null, translate("settings_window.icon_library.library_license_key.info")), /*#__PURE__*/react.createElement(Button_Button, {
79354
  target: "_blank",
79355
  href: "" //*Link to google analytics
79356
  ,
@@ -79359,11 +79507,11 @@ function IconLibrary(_ref) {
79359
  startIcon: /*#__PURE__*/react.createElement("i", {
79360
  className: "fas fa-info-circle"
79361
  })
79362
- }, translate("settings_window.icon_library.library_license_key.how_does_it_work")))
79363
  }),
79364
  className: "select"
79365
- }, /*#__PURE__*/react.createElement(TextField_TextField, {
79366
- label: translate("settings_window.icon_library.library_license_key.enter_integrity_code"),
79367
  inputProps: {
79368
  "data-testid": "iconlibrary:icon_library_code"
79369
  },
@@ -79376,8 +79524,8 @@ function IconLibrary(_ref) {
79376
  }))) : /*#__PURE__*/react.createElement(react.Fragment, null), /*#__PURE__*/react.createElement(List_List, null, /*#__PURE__*/react.createElement(ListItem_ListItem, {
79377
  disableGutters: true
79378
  }, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79379
- primary: translate("settings_window.icon_library.import_library.title"),
79380
- secondary: translate("settings_window.icon_library.import_library.info"),
79381
  onClick: function onClick() {
79382
  var val = !import_icon_library;
79383
 
@@ -79439,7 +79587,7 @@ function SettingsDrawer(_ref) {
79439
  }, [page]);
79440
  var settingMenuItems = {
79441
  analytics: {
79442
- name: translate("settings_window.google_analytics.title"),
79443
  value: drawers.SETTINGS_PAGES.analytics,
79444
  icon: "fas fa-chart-area",
79445
  page: /*#__PURE__*/react.createElement(Analytics, {
@@ -79451,7 +79599,7 @@ function SettingsDrawer(_ref) {
79451
  })
79452
  },
79453
  iconlibrary: {
79454
- name: translate("settings_window.icon_library.title"),
79455
  value: drawers.SETTINGS_PAGES.iconLibrary,
79456
  icon: "fas fa-user",
79457
  page: /*#__PURE__*/react.createElement(IconLibrary, {
@@ -79465,7 +79613,7 @@ function SettingsDrawer(_ref) {
79465
  })
79466
  },
79467
  preferences: {
79468
- name: translate("settings_window.other_settings.title"),
79469
  value: drawers.SETTINGS_PAGES.preferences,
79470
  icon: "fas fa-cog",
79471
  page: /*#__PURE__*/react.createElement(Preferences, {
@@ -79483,7 +79631,7 @@ function SettingsDrawer(_ref) {
79483
  })
79484
  },
79485
  reset: {
79486
- name: translate("settings_window.reset.title"),
79487
  value: drawers.SETTINGS_PAGES.reset,
79488
  icon: "fas fa-exclamation-triangle",
79489
  page: /*#__PURE__*/react.createElement(Reset, {
@@ -79508,7 +79656,7 @@ function SettingsDrawer(_ref) {
79508
  }, /*#__PURE__*/react.createElement("div", {
79509
  key: key,
79510
  className: "drawer-button"
79511
- }, /*#__PURE__*/react.createElement(Button_Button, {
79512
  color: isSelected ? "secondary" : "primary",
79513
  "data-testid": "settingsdialog:".concat(obj[1].value),
79514
  variant: "text",
@@ -79522,19 +79670,19 @@ function SettingsDrawer(_ref) {
79522
  }));
79523
  };
79524
 
79525
- return /*#__PURE__*/react.createElement(Dialog_Dialog, {
79526
  open: open,
79527
  maxWidth: "xl",
79528
  fullWidth: true,
79529
  onClose: onClose,
79530
  className: "drawer-splitter-modal"
79531
  }, /*#__PURE__*/react.createElement(DrawerSplitter, {
79532
- title: translate("common.settings"),
79533
  backButton: false,
79534
  icon: /*#__PURE__*/react.createElement("i", {
79535
  className: "fas fa-cog"
79536
  }),
79537
- quickAction: /*#__PURE__*/react.createElement("span", null, translate("settings_window.description")),
79538
  menu: menuItems(),
79539
  contentTitle: settingMenuItems[currentSetting].name
79540
  }, /*#__PURE__*/react.createElement("div", {
@@ -79575,27 +79723,27 @@ function ButtonizerTourOptions(_ref) {
79575
  (0,react.useEffect)(function () {
79576
  openCollapsibleGroup ? openCollapsibleGroup : "button_group_container";
79577
  }, [openCollapsibleGroup]);
79578
- return /*#__PURE__*/react.createElement(Dialog_Dialog, {
79579
  open: open,
79580
  onClose: onClose,
79581
  className: "buttonizer-tour-options",
79582
  "data-testid": "dialog:buttonizer-tour-options-dialog"
79583
  }, /*#__PURE__*/react.createElement("div", {
79584
  className: "header"
79585
- }, /*#__PURE__*/react.createElement(DialogTitle_DialogTitle, null, /*#__PURE__*/react.createElement("i", {
79586
  className: "fas fa-globe-europe"
79587
- }), translate("settings_window.buttonizer_tour.title")), /*#__PURE__*/react.createElement(IconButton_IconButton, {
79588
  onClick: onClose,
79589
  className: "skip-button",
79590
  "data-testid": "buttonizer-tour-options:close-button"
79591
  }, /*#__PURE__*/react.createElement("i", {
79592
  className: "fas fa-times"
79593
- }))), /*#__PURE__*/react.createElement(DialogContent_DialogContent, null, /*#__PURE__*/react.createElement(List_List, null, /*#__PURE__*/react.createElement(ListItem_ListItem, {
79594
  className: "list-item"
79595
  }, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79596
- primary: translate("settings_window.buttonizer_tour.interface.title"),
79597
- secondary: translate("settings_window.buttonizer_tour.interface.description")
79598
- }), /*#__PURE__*/react.createElement(Button_Button, {
79599
  variant: "contained",
79600
  color: "primary",
79601
  "data-testid": "buttonizer-tour-options:interface-tour",
@@ -79609,12 +79757,12 @@ function ButtonizerTourOptions(_ref) {
79609
  }, 200);
79610
  closeDrawer();
79611
  }
79612
- }, translate("buttonizer_tour.take_tour"))), /*#__PURE__*/react.createElement(ListItem_ListItem, {
79613
  className: "list-item"
79614
  }, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79615
- primary: translate("settings_window.buttonizer_tour.create_button.title"),
79616
- secondary: translate("settings_window.buttonizer_tour.create_button.description")
79617
- }), /*#__PURE__*/react.createElement(Button_Button, {
79618
  variant: "contained",
79619
  color: "primary",
79620
  "data-testid": "buttonizer-tour-options:create-button-tour",
@@ -79628,7 +79776,7 @@ function ButtonizerTourOptions(_ref) {
79628
  }, 200);
79629
  closeDrawer();
79630
  }
79631
- }, translate("buttonizer_tour.take_tour"))))));
79632
  }
79633
 
79634
  /* harmony default export */ var SettingsDialog_ButtonizerTourOptions = (connect(function (state) {
@@ -79690,122 +79838,73 @@ function Drawers(_ref) {
79690
  }));
79691
  }
79692
  ;// CONCATENATED MODULE: ./src/js/dashboard/Components/Dialogs/PremiumDialog/PremiumDialog.js
79693
- function PremiumDialog_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
79694
 
79695
 
79696
 
79697
 
79698
 
79699
- var defaultButtons = [{
79700
- value: "cancel",
79701
- text: "modal.close"
79702
- }, {
79703
- value: "confirm",
79704
- text: /*#__PURE__*/react.createElement(react.Fragment, null, "premium.modal.go_pro", /*#__PURE__*/react.createElement("i", {
79705
- className: "fas fa-chevron-right",
79706
- style: {
79707
- marginLeft: "5px",
79708
- verticalAlign: "middle"
79709
- }
79710
- })),
79711
- variant: "contained"
79712
- }];
79713
- function PremiumDialog(_ref) {
79714
- var _React$createElement;
79715
-
79716
- var onClose = _ref.onClose,
79717
- _ref$open = _ref.open,
79718
- open = _ref$open === void 0 ? false : _ref$open,
79719
- video = _ref.video,
79720
- image = _ref.image,
79721
- _ref$text = _ref.text,
79722
- text = _ref$text === void 0 ? null : _ref$text,
79723
- _ref$maxWidth = _ref.maxWidth,
79724
- maxWidth = _ref$maxWidth === void 0 ? "xs" : _ref$maxWidth,
79725
- _ref$fullWidth = _ref.fullWidth,
79726
- fullWidth = _ref$fullWidth === void 0 ? true : _ref$fullWidth;
79727
 
79728
  var handleClose = function handleClose(status) {
79729
  if (status === "confirm") {
79730
  window.location.href = buttonizer_admin.is_stand_alone ? "https://app.buttonizer.pro/subscriptions" : buttonizer_admin.admin + "?page=Buttonizer-pricing";
79731
  return;
79732
  }
79733
-
79734
- onClose(status);
79735
  };
79736
 
79737
- return /*#__PURE__*/react.createElement(Dialog_Dialog, (_React$createElement = {
79738
  open: open,
79739
- onClose: handleClose,
79740
- maxWidth: maxWidth,
79741
- fullWidth: fullWidth
79742
- }, PremiumDialog_defineProperty(_React$createElement, "maxWidth", video || image ? "md" : "sm"), PremiumDialog_defineProperty(_React$createElement, "aria-labelledby", "premium-dialog-title"), PremiumDialog_defineProperty(_React$createElement, "aria-describedby", "premium-dialog-description"), PremiumDialog_defineProperty(_React$createElement, "className", "premium-dialog"), PremiumDialog_defineProperty(_React$createElement, "data-testid", "premium-dialog"), _React$createElement), /*#__PURE__*/react.createElement(DialogTitle_DialogTitle, {
79743
- id: "premium-dialog-title"
79744
- }, /*#__PURE__*/react.createElement("i", {
79745
- className: "far fa-gem window-icon"
79746
- }), " Premium Feature"), /*#__PURE__*/react.createElement(DialogContent_DialogContent, {
79747
- dividers: true,
79748
- className: "premium-dialog-content"
79749
- }, /*#__PURE__*/react.createElement(DialogContent_DialogContent, {
79750
- className: "premium-dialog-text ".concat(video || image ? "with-video" : "", " ")
79751
- }, /*#__PURE__*/react.createElement(DialogContentText_DialogContentText, {
79752
- id: "premium-dialog-description",
79753
- component: "div"
79754
- }, /*#__PURE__*/react.createElement("p", null, translate("premium.modal.describe")), text && /*#__PURE__*/react.createElement("code", {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79755
  "data-testid": "premium-dialog-text"
79756
- }, text), /*#__PURE__*/react.createElement("p", null, /*#__PURE__*/react.createElement("b", null, translate("premium.modal.what_do_i_get"))), /*#__PURE__*/react.createElement("ul", {
79757
- className: "buttonizer-pro-checklist"
79758
- }, /*#__PURE__*/react.createElement("li", null, /*#__PURE__*/react.createElement("i", {
79759
- className: "fas fa-check"
79760
- }), " ", translate("premium.modal.list.time_schedules")), /*#__PURE__*/react.createElement("li", null, /*#__PURE__*/react.createElement("i", {
79761
- className: "fas fa-check"
79762
- }), " ", translate("premium.modal.list.page_rules")), /*#__PURE__*/react.createElement("li", null, /*#__PURE__*/react.createElement("i", {
79763
- className: "fas fa-check"
79764
- }), " ", translate("premium.modal.list.button_groups")), /*#__PURE__*/react.createElement("li", null, /*#__PURE__*/react.createElement("i", {
79765
- className: "fas fa-check"
79766
- }), " ", /*#__PURE__*/react.createElement("span", {
79767
- dangerouslySetInnerHTML: {
79768
- __html: translate("premium.modal.list.custom_images")
79769
- }
79770
- })), /*#__PURE__*/react.createElement("li", null, /*#__PURE__*/react.createElement("i", {
79771
- className: "fas fa-check"
79772
- }), " ", translate("premium.modal.list.exit_intent")), /*#__PURE__*/react.createElement("li", null, /*#__PURE__*/react.createElement("i", {
79773
- className: "fas fa-check"
79774
- }), " ", translate("premium.modal.list.show_on_scroll")), /*#__PURE__*/react.createElement("li", null, /*#__PURE__*/react.createElement("i", {
79775
- className: "fas fa-check"
79776
- }), " ", translate("premium.modal.list.show_on_timeout")), /*#__PURE__*/react.createElement("li", null, /*#__PURE__*/react.createElement("i", {
79777
- className: "fas fa-check"
79778
- }), " ", translate("premium.modal.list.custom_class")), /*#__PURE__*/react.createElement("li", null, /*#__PURE__*/react.createElement("i", {
79779
- className: "fas fa-check"
79780
- }), " ", translate("premium.modal.list.javascript"))))), video || image ? /*#__PURE__*/react.createElement(DialogContent_DialogContent, {
79781
- className: "premium-dialog-video",
79782
- "data-testid": "premium-dialog-".concat(video ? "video" : "image")
79783
- }, /*#__PURE__*/react.createElement(DialogContentText_DialogContentText, {
79784
- id: "premium-dialog-description",
79785
- component: "div"
79786
- }, video && /*#__PURE__*/react.createElement("iframe", {
79787
- width: "100%",
79788
- height: "315",
79789
- src: "https://www.youtube.com/embed/".concat(video, "?&autoplay=1"),
79790
- frameBorder: "0",
79791
- allow: "accelerometer",
79792
- autoPlay: true,
79793
- allowFullScreen: true
79794
- }), image && /*#__PURE__*/react.createElement("img", {
79795
- src: image,
79796
- alt: "Premium image"
79797
- }))) : /*#__PURE__*/react.createElement(react.Fragment, null)), /*#__PURE__*/react.createElement(DialogActions_DialogActions, null, defaultButtons.map(function (button, key) {
79798
- return /*#__PURE__*/react.createElement(Button_Button, {
79799
- onClick: function onClick() {
79800
- return handleClose(button.value);
79801
- },
79802
- color: "primary",
79803
- key: key,
79804
- variant: button.variant,
79805
- "data-testid": "premium-dialog-".concat(button.value)
79806
- }, translate(button.text));
79807
- })));
79808
- }
79809
  ;// CONCATENATED MODULE: ./node_modules/react-router-dom/esm/react-router-dom.js
79810
 
79811
 
@@ -80082,12 +80181,12 @@ if (false) { var ariaCurrentType; }
80082
  function IframeOutbreak() {
80083
  return /*#__PURE__*/react.createElement("div", {
80084
  className: "broke-out-of-iframe"
80085
- }, /*#__PURE__*/react.createElement("div", null, translate("bar.preview.no_changes")), /*#__PURE__*/react.createElement(Button_Button, {
80086
  variant: "outlined",
80087
  onClick: function onClick() {
80088
  document.getElementsByClassName("buttonizer-preview")[0].getElementsByTagName("iframe")[0].src = store.getState().misc.frameUrl;
80089
  }
80090
- }, translate("bar.preview.return")));
80091
  }
80092
  ;// CONCATENATED MODULE: ./src/js/dashboard/Components/Dialogs/SuperContributorDialog/index.js
80093
 
@@ -80114,15 +80213,15 @@ function SuperContributorDialog(_ref) {
80114
  setSetting("welcome_super_contributor", false);
80115
  };
80116
 
80117
- return /*#__PURE__*/react.createElement(Dialog_Dialog, {
80118
  open: tour === null && welcome_super_contributor,
80119
  onClose: handleClose,
80120
  fullWidth: true,
80121
  maxWidth: "md",
80122
  "aria-labelledby": "alert-dialog-title"
80123
- }, /*#__PURE__*/react.createElement(DialogTitle_DialogTitle, {
80124
  id: "alert-dialog-title"
80125
- }, translate("welcome.title")), /*#__PURE__*/react.createElement(DialogContent_DialogContent, null, /*#__PURE__*/react.createElement("img", {
80126
  src: "".concat(buttonizer_admin.assets, "/images/plugin-icon.png"),
80127
  width: 90,
80128
  align: "left",
@@ -80130,20 +80229,20 @@ function SuperContributorDialog(_ref) {
80130
  marginRight: 20,
80131
  marginBottom: 10
80132
  }
80133
- }), /*#__PURE__*/react.createElement(DialogContentText_DialogContentText, null, translate("welcome.super-contributor"), /*#__PURE__*/react.createElement(Link_Link, {
80134
  href: "https://buttonizer.pro/super-contributor/",
80135
  target: "_blank",
80136
  rel: "noopener"
80137
- }, translate("welcome.learn-more")))), /*#__PURE__*/react.createElement(DialogActions_DialogActions, null, /*#__PURE__*/react.createElement(Button_Button, {
80138
  onClick: function onClick() {
80139
  return handleClose("cancel");
80140
  }
80141
- }, translate("welcome.no-thanks")), /*#__PURE__*/react.createElement(Button_Button, {
80142
  onClick: function onClick() {
80143
  return handleClose("confirm");
80144
  },
80145
  color: "primary"
80146
- }, translate("welcome.yes-please"))));
80147
  }
80148
 
80149
  /* harmony default export */ var Dialogs_SuperContributorDialog = (connect(function (state) {
@@ -80174,26 +80273,26 @@ function getTourSteps() {
80174
  id: "myVideo",
80175
  autoPlay: true,
80176
  loop: true
80177
- }), /*#__PURE__*/react.createElement("h2", null, translate("buttonizer_tour.interface_tour.step_0.title")), translate("buttonizer_tour.interface_tour.step_0.intro")),
80178
  tooltipClass: "videoDialog",
80179
  position: "right"
80180
  }, {
80181
  element: ".edit-button",
80182
- title: translate("buttonizer_tour.interface_tour.step_1.title"),
80183
- intro: translate("buttonizer_tour.interface_tour.step_1.intro"),
80184
  tooltipClass: "tourDialog",
80185
  position: "right"
80186
  }, // Go to next page, skip step
80187
  {
80188
  element: ".simplebar-content-wrapper",
80189
- title: translate("buttonizer_tour.interface_tour.step_2.title"),
80190
- intro: translate("buttonizer_tour.interface_tour.step_2.intro"),
80191
  tooltipClass: "centerTopDialog",
80192
  position: "right"
80193
  }, {
80194
  element: ".simplebar-content-wrapper",
80195
- title: translate("buttonizer_tour.interface_tour.step_2.title"),
80196
- intro: translate("buttonizer_tour.interface_tour.step_2.intro"),
80197
  tooltipClass: "centerTopDialog",
80198
  position: "right"
80199
  }, {
@@ -80204,62 +80303,62 @@ function getTourSteps() {
80204
  id: "myVideo",
80205
  autoPlay: true,
80206
  loop: true
80207
- }), /*#__PURE__*/react.createElement("h2", null, translate("buttonizer_tour.interface_tour.step_3.title")), translate("buttonizer_tour.interface_tour.step_3.intro")),
80208
  tooltipClass: "centerVideoDialog",
80209
  position: "right"
80210
  }, {
80211
  element: ".breadcrumb-button",
80212
- title: translate("buttonizer_tour.interface_tour.step_4.title"),
80213
- intro: translate("buttonizer_tour.interface_tour.step_4.intro"),
80214
  tooltipClass: "tourDialog",
80215
  position: "right"
80216
  }, {
80217
  element: ".MuiButton-Publish",
80218
- title: translate("buttonizer_tour.interface_tour.step_5.title"),
80219
- intro: translate("buttonizer_tour.interface_tour.step_5.intro"),
80220
  tooltipClass: "centerBottomDialog",
80221
  position: "right"
80222
  }, // Go to next page, skip step
80223
  {
80224
  element: ".menu-container",
80225
- title: translate("buttonizer_tour.interface_tour.step_6.title"),
80226
- intro: translate("buttonizer_tour.interface_tour.step_6.intro"),
80227
  tooltipClass: "centerTopDialog",
80228
  position: "right"
80229
  }, {
80230
  element: ".menu-container",
80231
- title: translate("buttonizer_tour.interface_tour.step_6.title"),
80232
- intro: translate("buttonizer_tour.interface_tour.step_6.intro"),
80233
  tooltipClass: "centerTopDialog",
80234
  position: "right"
80235
  }, {
80236
  element: ".menu-settings",
80237
- title: translate("buttonizer_tour.interface_tour.step_7.title"),
80238
- intro: translate("buttonizer_tour.interface_tour.step_7.intro"),
80239
  tooltipClass: "tourDialog",
80240
  position: "right"
80241
  }, {
80242
  element: ".menu-item.buttonizer-tour",
80243
- title: translate("buttonizer_tour.interface_tour.step_8.title"),
80244
- intro: translate("buttonizer_tour.interface_tour.step_8.intro"),
80245
  tooltipClass: "tourDialog",
80246
  position: "right"
80247
  }, // Go to next page, skip step
80248
  {
80249
  element: ".menu-support",
80250
- title: translate("buttonizer_tour.interface_tour.step_9.title"),
80251
- intro: translate("buttonizer_tour.interface_tour.step_9.intro"),
80252
  tooltipClass: "tourDialog",
80253
  position: "right"
80254
  }, {
80255
  element: ".menu-support",
80256
- title: translate("buttonizer_tour.interface_tour.step_9.title"),
80257
- intro: translate("buttonizer_tour.interface_tour.step_9.intro"),
80258
  tooltipClass: "tourDialog",
80259
  position: "right"
80260
  }, {
80261
  element: ".menu-item.community",
80262
- title: translate("buttonizer_tour.final.title"),
80263
  intro: /*#__PURE__*/react.createElement(Trans, {
80264
  i18nKey: "buttonizer_tour.final.intro",
80265
  components: {
@@ -80363,151 +80462,151 @@ var onBeforeChange = function onBeforeChange(nextStepIndex, introJsRef, groupId,
80363
  function CreateButtonTour_getTourSteps() {
80364
  return [{
80365
  element: ".button-container",
80366
- title: translate("buttonizer_tour.create_button_tour.step_0.title"),
80367
- intro: translate("buttonizer_tour.create_button_tour.step_0.intro"),
80368
  tooltipClass: "tourDialog",
80369
  position: "right"
80370
  }, {
80371
  element: ".button-actions.edit-button",
80372
- title: translate("buttonizer_tour.create_button_tour.step_1.title"),
80373
- intro: translate("buttonizer_tour.create_button_tour.step_1.intro"),
80374
  tooltipClass: "tourDialog",
80375
  position: "right"
80376
  }, // Go to next page, skip step
80377
  {
80378
  element: ".simplebar-content-wrapper",
80379
- title: translate("buttonizer_tour.create_button_tour.step_2.title"),
80380
- intro: translate("buttonizer_tour.create_button_tour.step_2.intro"),
80381
  tooltipClass: "centerTopDialog"
80382
  }, // Go to style page
80383
  {
80384
  element: ".simplebar-content-wrapper",
80385
- title: translate("buttonizer_tour.create_button_tour.step_2.title"),
80386
- intro: translate("buttonizer_tour.create_button_tour.step_2.intro"),
80387
  tooltipClass: "centerTopDialog"
80388
  }, {
80389
  element: ".button-action-type",
80390
- title: translate("buttonizer_tour.create_button_tour.step_3.title"),
80391
- intro: translate("buttonizer_tour.create_button_tour.step_3.intro"),
80392
  tooltipClass: "tourDialog",
80393
  position: "right"
80394
  }, {
80395
  element: ".open-url-in",
80396
- title: translate("buttonizer_tour.create_button_tour.step_4.title"),
80397
- intro: translate("buttonizer_tour.create_button_tour.step_4.intro"),
80398
  tooltipClass: "tourDialog",
80399
  position: "right"
80400
  }, {
80401
  element: ".desktop-mobile-visibility",
80402
- title: translate("buttonizer_tour.create_button_tour.step_5.title"),
80403
- intro: translate("buttonizer_tour.create_button_tour.step_5.intro"),
80404
  tooltipClass: "tourDialog",
80405
  position: "right"
80406
  }, // Go to next page, skip step
80407
  {
80408
  element: ".general-label-text",
80409
- title: translate("buttonizer_tour.create_button_tour.step_6.title"),
80410
- intro: translate("buttonizer_tour.create_button_tour.step_6.intro"),
80411
  tooltipClass: "tourDialog",
80412
  position: "right"
80413
  }, {
80414
  element: ".general-label-text",
80415
- title: translate("buttonizer_tour.create_button_tour.step_6.title"),
80416
- intro: translate("buttonizer_tour.create_button_tour.step_6.intro"),
80417
  tooltipClass: "tourDialog",
80418
  position: "right"
80419
  }, // Go to next page, skip step
80420
  {
80421
  element: ".simplebar-content-wrapper",
80422
- title: translate("buttonizer_tour.create_button_tour.step_7.title"),
80423
- intro: translate("buttonizer_tour.create_button_tour.step_7.intro"),
80424
  tooltipClass: "centerTopDialog"
80425
  }, {
80426
  element: ".simplebar-content-wrapper",
80427
- title: translate("buttonizer_tour.create_button_tour.step_7.title"),
80428
- intro: translate("buttonizer_tour.create_button_tour.step_7.intro"),
80429
  tooltipClass: "centerTopDialog"
80430
  }, {
80431
  element: ".normal-or-hover",
80432
- title: translate("buttonizer_tour.create_button_tour.step_8.title"),
80433
- intro: translate("buttonizer_tour.create_button_tour.step_8.intro"),
80434
  tooltipClass: "tourDialog",
80435
  position: "right"
80436
  }, {
80437
  element: ".style-background-color",
80438
- title: translate("buttonizer_tour.create_button_tour.step_9.title"),
80439
- intro: translate("buttonizer_tour.create_button_tour.step_9.intro"),
80440
  tooltipClass: "tourDialog",
80441
  position: "right"
80442
  }, {
80443
  element: ".style-border-radius",
80444
- title: translate("buttonizer_tour.create_button_tour.step_10.title"),
80445
- intro: translate("buttonizer_tour.create_button_tour.step_10.intro"),
80446
  tooltipClass: "tourDialog",
80447
  position: "right"
80448
  }, {
80449
  element: ".simplebar-content-wrapper",
80450
- title: translate("buttonizer_tour.create_button_tour.step_11.title"),
80451
- intro: translate("buttonizer_tour.create_button_tour.step_11.intro"),
80452
  tooltipClass: "tourDialog"
80453
  }, {
80454
  element: ".icon-or-image",
80455
- title: translate("buttonizer_tour.create_button_tour.step_12.title"),
80456
- intro: translate("buttonizer_tour.create_button_tour.step_12.intro"),
80457
  tooltipClass: "tourDialog",
80458
  position: "right"
80459
  }, {
80460
  element: ".form-icon-selector",
80461
- title: translate("buttonizer_tour.create_button_tour.step_13.title"),
80462
- intro: translate("buttonizer_tour.create_button_tour.step_13.intro"),
80463
  tooltipClass: "tourDialog",
80464
  position: "right"
80465
  }, {
80466
  element: ".style-icon-size",
80467
- title: translate("buttonizer_tour.create_button_tour.step_14.title"),
80468
- intro: translate("buttonizer_tour.create_button_tour.step_14.intro"),
80469
  tooltipClass: "tourDialog",
80470
  position: "right"
80471
  }, // Go to next page, skip step
80472
  {
80473
  element: ".label-device-visibility",
80474
- title: translate("buttonizer_tour.create_button_tour.step_15.title"),
80475
- intro: translate("buttonizer_tour.create_button_tour.step_15.intro"),
80476
  tooltipClass: "tourDialog",
80477
  position: "right"
80478
  }, {
80479
  element: ".label-device-visibility",
80480
- title: translate("buttonizer_tour.create_button_tour.step_15.title"),
80481
- intro: translate("buttonizer_tour.create_button_tour.step_15.intro"),
80482
  tooltipClass: "tourDialog",
80483
  position: "right"
80484
  }, {
80485
  element: ".label-position",
80486
- title: translate("buttonizer_tour.create_button_tour.step_16.title"),
80487
- intro: translate("buttonizer_tour.create_button_tour.step_16.intro"),
80488
  tooltipClass: "tourDialog",
80489
  position: "right"
80490
  }, {
80491
  element: ".label-font-family",
80492
- title: translate("buttonizer_tour.create_button_tour.step_17.title"),
80493
- intro: translate("buttonizer_tour.create_button_tour.step_17.intro"),
80494
  tooltipClass: "tourDialog",
80495
  position: "right"
80496
  }, {
80497
  element: ".style-label-margin",
80498
- title: translate("buttonizer_tour.create_button_tour.step_18.title"),
80499
- intro: translate("buttonizer_tour.create_button_tour.step_18.intro"),
80500
  tooltipClass: "tourDialog",
80501
  position: "right"
80502
  }, {
80503
  element: ".style-label-padding",
80504
- title: translate("buttonizer_tour.create_button_tour.step_19.title"),
80505
- intro: translate("buttonizer_tour.create_button_tour.step_19.intro"),
80506
  tooltipClass: "tourDialog",
80507
  position: "right"
80508
  }, {
80509
  element: ".style-label-padding",
80510
- title: translate("buttonizer_tour.final.title"),
80511
  intro: /*#__PURE__*/react.createElement(Trans, {
80512
  i18nKey: "buttonizer_tour.final.intro",
80513
  components: {
@@ -80699,9 +80798,9 @@ function ButtonizerTour(_ref) {
80699
  ref: ref,
80700
  options: {
80701
  showBullets: false,
80702
- nextLabel: translate("buttonizer_tour.next"),
80703
- prevLabel: translate("buttonizer_tour.previous"),
80704
- doneLabel: translate("buttonizer_tour.done"),
80705
  hidePrev: true,
80706
  showProgress: true
80707
  }
@@ -80829,14 +80928,14 @@ function SessionExpiredDialog(_ref) {
80829
  });
80830
  };
80831
 
80832
- return /*#__PURE__*/react.createElement(Dialog_Dialog, {
80833
  open: isOpened,
80834
  fullWidth: true,
80835
  "aria-labelledby": "temp-reauthenticate-dialog-title",
80836
  "aria-describedby": "temp-reauthenticate-dialog-description"
80837
- }, /*#__PURE__*/react.createElement(DialogTitle_DialogTitle, {
80838
  id: "temp-reauthenticate-dialog-title"
80839
- }, "Reauthenticate"), /*#__PURE__*/react.createElement(DialogContent_DialogContent, null, /*#__PURE__*/react.createElement(DialogContentText_DialogContentText, null, isUsingRefreshtoken ? /*#__PURE__*/react.createElement(react.Fragment, null, "Gathering information..") : /*#__PURE__*/react.createElement(react.Fragment, null, "Your editor authentication session has expired, this mostly happens after 30 minutes."))), /*#__PURE__*/react.createElement(DialogActions_DialogActions, null, /*#__PURE__*/react.createElement(Button_Button, {
80840
  onClick: openPopup,
80841
  disabled: isWaiting || isUsingRefreshtoken,
80842
  color: "primary"
@@ -80851,19 +80950,19 @@ function SessionExpiredDialog(_ref) {
80851
 
80852
  var updates = [[// New features (first slide)
80853
  {
80854
- title: translate("settings_window.changelog_dialog.new_features"),
80855
  info: [{
80856
- title: translate("settings_window.changelog_dialog.first_feature.title"),
80857
- info: translate("settings_window.changelog_dialog.first_feature.info")
80858
  }, {
80859
- title: translate("settings_window.changelog_dialog.second_feature.title"),
80860
- info: translate("settings_window.changelog_dialog.second_feature.info")
80861
  }, {
80862
- title: translate("settings_window.changelog_dialog.third_feature.title"),
80863
- info: translate("settings_window.changelog_dialog.third_feature.info")
80864
  }, {
80865
- title: translate("settings_window.changelog_dialog.fourth_feature.title"),
80866
- info: translate("settings_window.changelog_dialog.fourth_feature.info")
80867
  }]
80868
  } // {
80869
  // New updates & bug fixes (first slide)
@@ -80967,7 +81066,7 @@ function ChangelogDialog(_ref) {
80967
  setSetting("changelog_dialog_updated", parseInt(buttonizer_admin.changelog_dialog_updated));
80968
  };
80969
 
80970
- return /*#__PURE__*/react.createElement(Dialog_Dialog, {
80971
  open: !(welcome || location.pathname === "/welcome-splash") && dialogOpened,
80972
  onClose: handleClose,
80973
  fullWidth: true,
@@ -80977,13 +81076,13 @@ function ChangelogDialog(_ref) {
80977
  "data-testid": "dialog:changelog-dialog"
80978
  }, /*#__PURE__*/react.createElement("img", {
80979
  src: "".concat(buttonizer_admin.assets, "/images/changelog-dialog-header.png")
80980
- }), /*#__PURE__*/react.createElement(IconButton_IconButton, {
80981
  onClick: handleClose,
80982
  className: "close-down",
80983
  "data-testid": "changelog-dialog:close-down"
80984
  }, /*#__PURE__*/react.createElement("i", {
80985
  className: "fas fa-times"
80986
- })), /*#__PURE__*/react.createElement(DialogTitle_DialogTitle, null, translate("settings_window.changelog_dialog.title")), /*#__PURE__*/react.createElement(DialogContent_DialogContent, {
80987
  className: "content"
80988
  }, updates[currentSlide].map(function (type, key) {
80989
  return /*#__PURE__*/react.createElement("div", {
@@ -80998,11 +81097,11 @@ function ChangelogDialog(_ref) {
80998
  className: "info"
80999
  }, listItem.info)));
81000
  }));
81001
- })), /*#__PURE__*/react.createElement(DialogActions_DialogActions, {
81002
  className: "footer"
81003
  }, updates.length > 1 && /*#__PURE__*/react.createElement("div", {
81004
  className: "pagination"
81005
- }, /*#__PURE__*/react.createElement(IconButton_IconButton, {
81006
  className: "previous",
81007
  onClick: function onClick() {
81008
  return previousFeatureIndex();
@@ -81020,7 +81119,7 @@ function ChangelogDialog(_ref) {
81020
  backgroundColor: "#f08419"
81021
  } : null
81022
  });
81023
- })), /*#__PURE__*/react.createElement(IconButton_IconButton, {
81024
  className: "next",
81025
  onClick: function onClick() {
81026
  return nextFeatureIndex();
@@ -81028,17 +81127,17 @@ function ChangelogDialog(_ref) {
81028
  disabled: currentSlide === updates.length - 1
81029
  }, /*#__PURE__*/react.createElement("i", {
81030
  className: "fas fa-chevron-right"
81031
- }))), /*#__PURE__*/react.createElement(IconButton_IconButton, {
81032
  onClick: function onClick() {
81033
  window.open("https://community.buttonizer.pro/t/updates");
81034
  },
81035
  className: "external-link",
81036
  "data-testid": "changelog-dialog:external-link"
81037
- }, translate("settings_window.changelog_dialog.all_changelogs"), /*#__PURE__*/react.createElement("i", {
81038
  className: "fas fa-external-link-alt"
81039
  })), /*#__PURE__*/react.createElement("span", {
81040
  className: "version"
81041
- }, translate("bar.menu.version", {
81042
  versionNumber: buttonizer_admin.version
81043
  }))));
81044
  }
@@ -81136,7 +81235,7 @@ function UrlBar(_ref) {
81136
  }, /*#__PURE__*/react.createElement(Grid_Grid, {
81137
  item: true,
81138
  xs: true
81139
- }, /*#__PURE__*/react.createElement(TextField_TextField, {
81140
  variant: "outlined",
81141
  value: currentPath,
81142
  className: "whitten",
@@ -81174,7 +81273,7 @@ function UrlBar(_ref) {
81174
  variant: "contained",
81175
  ref: buttonRef,
81176
  "aria-label": "split button"
81177
- }, /*#__PURE__*/react.createElement(Button_Button, {
81178
  onClick: function onClick() {
81179
  return handlePageChange();
81180
  },
@@ -81222,11 +81321,11 @@ function AdminNotifications() {
81222
 
81223
  if (e.data.messageType === "admin-link-redirect" && !isSnoozed) {
81224
  enqueueSnackbar( /*#__PURE__*/react.createElement(Trans, {
81225
- i18nKey: "warnings.actions.test_action_text",
81226
  components: {
81227
  icon: /*#__PURE__*/react.createElement("span", {
81228
  className: style_module.key
81229
- }, "CTRL"),
81230
  mouseIcon: /*#__PURE__*/react.createElement(Mouse/* default */.Z, {
81231
  className: style_module.mouse
81232
  })
@@ -81238,9 +81337,9 @@ function AdminNotifications() {
81238
  },
81239
  TransitionComponent: Grow_Grow,
81240
  preventDuplicate: true,
81241
- key: "hallo-bar",
81242
  action: function action(key) {
81243
- return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(IconButton_IconButton, {
81244
  component: "a",
81245
  href: "https://community.buttonizer.pro/knowledgebase/960",
81246
  target: "_blank",
@@ -81251,13 +81350,13 @@ function AdminNotifications() {
81251
  }
81252
  }, /*#__PURE__*/react.createElement("i", {
81253
  className: "fas fa-question-circle"
81254
- })), /*#__PURE__*/react.createElement(Button_Button, {
81255
  onClick: function onClick() {
81256
  isSnoozed = true;
81257
  closeSnackbar(key);
81258
  },
81259
- color: "secondary"
81260
- }, translate("common.snooze")));
81261
  }
81262
  });
81263
  } // Cannot preview in editor mode
@@ -81265,7 +81364,7 @@ function AdminNotifications() {
81265
  enqueueSnackbar( /*#__PURE__*/react.createElement(Trans, {
81266
  i18nKey: "warnings.actions.disabled_in_editor",
81267
  values: {
81268
- action: translate(AdminNotifications_getValue(e.data.message).label)
81269
  },
81270
  components: {
81271
  bold: /*#__PURE__*/react.createElement("b", {
@@ -81291,9 +81390,54 @@ function AdminNotifications() {
81291
  }, []);
81292
  return null;
81293
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81294
  ;// CONCATENATED MODULE: ./src/js/dashboard/App.js
81295
  function App_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { App_typeof = function _typeof(obj) { return typeof obj; }; } else { App_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return App_typeof(obj); }
81296
 
 
 
 
 
 
 
81297
  function App_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
81298
 
81299
  function App_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
@@ -81332,6 +81476,7 @@ function App_getPrototypeOf(o) { App_getPrototypeOf = Object.setPrototypeOf ? Ob
81332
 
81333
 
81334
 
 
81335
 
81336
 
81337
 
@@ -81361,10 +81506,13 @@ var App_App = /*#__PURE__*/function (_React$Component) {
81361
  showOutOfPreviewWarning: false,
81362
  premiumDialog: {
81363
  open: false,
81364
- text: "DEFAULT DIALOG",
81365
- video: null
 
 
81366
  },
81367
  buttonizerTour: null,
 
81368
 
81369
  /* webpack-strip-block:removed */
81370
  sessionExpired: false,
@@ -81412,6 +81560,13 @@ var App_App = /*#__PURE__*/function (_React$Component) {
81412
 
81413
  if (event.data.messageType === "admin-link-redirect") {
81414
  _this2.redirectFromFrontend(event.data.message);
 
 
 
 
 
 
 
81415
  }
81416
  }, false);
81417
  }
@@ -81433,7 +81588,7 @@ var App_App = /*#__PURE__*/function (_React$Component) {
81433
  var permalinkError = function permalinkError() {
81434
  return /*#__PURE__*/react.createElement(ConfirmDialog, {
81435
  open: !buttonizer_admin.permalink_structure,
81436
- title: translate("errors.permalink.title"),
81437
  icon: /*#__PURE__*/react.createElement("i", {
81438
  className: "fas fa-exclamation window-icon"
81439
  }),
@@ -81441,7 +81596,7 @@ var App_App = /*#__PURE__*/function (_React$Component) {
81441
  className: "warning",
81442
  buttons: [{
81443
  value: "confirm",
81444
- text: translate("modal.ok_fix"),
81445
  variant: "contained"
81446
  }],
81447
  onClose: function onClose(status) {
@@ -81449,7 +81604,7 @@ var App_App = /*#__PURE__*/function (_React$Component) {
81449
  document.location.href = buttonizer_admin.admin.replace("admin.php", "options-permalink.php");
81450
  }
81451
  }
81452
- }, translate("errors.permalink.info"));
81453
  };
81454
 
81455
  return /*#__PURE__*/react.createElement(HashRouter, null, /*#__PURE__*/react.createElement("div", {
@@ -81493,28 +81648,27 @@ var App_App = /*#__PURE__*/function (_React$Component) {
81493
  });
81494
  }
81495
  }
81496
- }, "Your browser does somehow not support iframes. Please try a recent version of Google Chrome, FireFox or Microsoft Edge"))), /*#__PURE__*/react.createElement(Dialogs_SuperContributorDialog, {
81497
  tour: this.state.buttonizerTour
81498
  }), /*#__PURE__*/react.createElement(ChangelogDialog_ChangelogDialog, null), /*#__PURE__*/react.createElement(ButtonizerTour_ButtonizerTour, {
81499
  tour: this.state.buttonizerTour,
81500
  welcome: (this.props.welcome || document.location.hash === "#/welcome-splash") && this.props.loading.loaded
81501
- }), /*#__PURE__*/react.createElement(PremiumDialog, {
81502
  open: this.state.premiumDialog.open,
 
81503
  text: this.state.premiumDialog.text,
81504
- video: this.state.premiumDialog.video,
81505
- image: this.state.premiumDialog.image,
 
 
81506
  onClose: function onClose() {
81507
- _this3.setState({
81508
- premiumDialog: {
81509
- open: false,
81510
- text: "",
81511
- video: null
81512
- }
81513
  });
81514
  }
81515
- }), permalinkError(), javascriptError(), window.buttonizer_admin.is_stand_alone && /*#__PURE__*/react.createElement(SessionExpiredDialog, {
81516
  isOpened: this.state.sessionExpired
81517
- }));
81518
  }
81519
  }, {
81520
  key: "loadFontAwesome",
@@ -81611,19 +81765,29 @@ var App_App = /*#__PURE__*/function (_React$Component) {
81611
  }
81612
  }, {
81613
  key: "showPremiumDialog",
81614
- value: function showPremiumDialog() {
81615
- var text = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
81616
- var video = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
81617
- var image = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
81618
  return this.setState({
81619
  premiumDialog: {
81620
  open: true,
 
81621
  text: text,
81622
- video: video,
81623
- image: image
81624
  }
81625
  });
81626
  }
 
 
 
 
 
 
 
 
 
81627
  }, {
81628
  key: "showJavascriptDialog",
81629
  value: function showJavascriptDialog() {
@@ -85748,31 +85912,31 @@ var ErrorBoundary_ErrorBoundary = /*#__PURE__*/function (_React$Component) {
85748
 
85749
  if (this.state.showError) {
85750
  if (buttonizer_admin.can_send_errors != true) {
85751
- return /*#__PURE__*/react.createElement(Dialog_Dialog, {
85752
  open: this.state.dialogOpen,
85753
  maxWidth: "sm",
85754
  fullWidth: true,
85755
  "aria-labelledby": "max-width-dialog-title"
85756
- }, /*#__PURE__*/react.createElement(DialogTitle_DialogTitle, {
85757
  id: "max-width-dialog-title"
85758
- }, translate("utils.crash.title")), /*#__PURE__*/react.createElement(DialogContent_DialogContent, null, /*#__PURE__*/react.createElement(DialogContentText_DialogContentText, null, translate("utils.crash.no_super_intro")), /*#__PURE__*/react.createElement(DialogContentText_DialogContentText, null, translate("utils.crash.no_super_additional_info"))), /*#__PURE__*/react.createElement(DialogActions_DialogActions, null, /*#__PURE__*/react.createElement(Button_Button, {
85759
  onClick: function onClick() {
85760
  return _this2.handleClose("community");
85761
  },
85762
  "data-testid": "buttonizer-community-btn"
85763
- }, "Buttonizer Community"), /*#__PURE__*/react.createElement(Button_Button, {
85764
  onClick: function onClick() {
85765
  return _this2.handleClose("reload");
85766
  },
85767
  disabled: this.state.disabled,
85768
  "data-testid": "no-thanks-btn"
85769
- }, translate("welcome.no-thanks")), /*#__PURE__*/react.createElement(Button_Button, {
85770
  onClick: function onClick() {
85771
  return _this2.handleClose("confirm");
85772
  },
85773
  color: "primary",
85774
  disabled: this.state.disabled
85775
- }, translate("welcome.yes-please"))));
85776
  } // else
85777
 
85778
 
@@ -85785,10 +85949,10 @@ var ErrorBoundary_ErrorBoundary = /*#__PURE__*/function (_React$Component) {
85785
  });
85786
  showReportDialog({
85787
  eventId: eventId,
85788
- title: translate("utils.crash.title"),
85789
- subtitle: translate("utils.crash.subtitle"),
85790
- subtitle2: translate("utils.crash.subtitle2"),
85791
- labelClose: translate("utils.crash.reload"),
85792
  onLoad: function onLoad() {
85793
  // There is no onclose callback function
85794
  // https://github.com/getsentry/sentry-javascript/issues/758
@@ -86418,6 +86582,7 @@ function dashboard_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
86418
 
86419
 
86420
 
 
86421
  // Only include babel polyfill once.
86422
 
86423
  if (!__webpack_require__.g._babelPolyfill) {
@@ -86508,7 +86673,8 @@ function ApplicationContainer() {
86508
  keyMap: keyMap
86509
  }, /*#__PURE__*/react.createElement(SnackbarProvider, {
86510
  classes: {
86511
- containerRoot: window.buttonizer_admin.is_stand_alone ? "dashboard-notifications" : undefined
 
86512
  }
86513
  }, /*#__PURE__*/react.createElement(dashboard_App, null))))));
86514
  }
@@ -124729,7 +124895,7 @@ module.exports = JSON.parse('{"group":{"general":{"horizontal":"right: 5%","vert
124729
  /******/ // startup
124730
  /******/ // Load entry module and return exports
124731
  /******/ // This entry module doesn't tell about it's top-level declarations so it can't be inlined
124732
- /******/ var __webpack_exports__ = __webpack_require__(23215);
124733
  /******/
124734
  /******/ })()
124735
  ;
9
  *
10
  * Buttonizer is Freemium software. The free version (build) does not contain premium functionality.
11
  *
12
+ * (C) 2017-2022 Buttonizer v2.6.2
13
  *
14
  */
15
  /*!
23
  *
24
  * Buttonizer is Freemium software. The free version (build) does not contain premium functionality.
25
  *
26
+ * (C) 2017-2022 Buttonizer v2.6.2
27
  *
28
  */
29
  /******/ (function() { // webpackBootstrap
7555
 
7556
  /***/ }),
7557
 
7558
+ /***/ 18671:
7559
  /***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) {
7560
 
7561
  "use strict";
11428
 
11429
  ;// CONCATENATED MODULE: ./src/js/utils/translate.js
11430
 
11431
+ function translate_translate(key) {
11432
  var objects = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
11433
  return i18next.t(key, objects);
11434
  }
11572
  data.time_schedules.map(function (timeSchedule) {
11573
  timeSchedules[timeSchedule.id] = {
11574
  id: timeSchedule.id,
11575
+ name: timeSchedule.name || translate_translate("time_schedules.single_name"),
11576
  weekdays: timeSchedule.weekdays || weekdays.map(function (weekday) {
11577
  return {
11578
  opened: true,
16557
  }
16558
  };
16559
  };
16560
+ var Button_Button = /*#__PURE__*/react.forwardRef(function Button(props, ref) {
16561
  var children = props.children,
16562
  classes = props.classes,
16563
  className = props.className,
16603
  }, startIcon, children, endIcon));
16604
  });
16605
  false ? 0 : void 0;
16606
+ /* harmony default export */ var esm_Button_Button = ((0,withStyles/* default */.Z)(Button_styles, {
16607
  name: 'MuiButton'
16608
+ })(Button_Button));
16609
  ;// CONCATENATED MODULE: ./node_modules/@popperjs/core/lib/dom-utils/getBoundingClientRect.js
16610
  function getBoundingClientRect(element) {
16611
  var rect = element.getBoundingClientRect();
22610
  arrow = _ref$arrow === void 0 ? true : _ref$arrow,
22611
  _ref$trigger = _ref.trigger,
22612
  trigger = _ref$trigger === void 0 ? "manual" : _ref$trigger,
22613
+ _ref$timer = _ref.timer,
22614
+ timer = _ref$timer === void 0 ? 500 : _ref$timer,
22615
  preference = _ref.preference;
22616
  if (!preference && props.ignorePreference !== true) return props.children;
22617
  var test = setTimeout(function () {});
22618
  var currentX = false;
22619
  var currentY = false;
22620
  return /*#__PURE__*/react.createElement(tippy_react_esm, {
22621
+ content: !props.shiftClick ? props.content : (0,clsx_m/* default */.Z)(props.content, props.shiftClick && " (".concat(translate_translate("utils.shift_click"), ")")),
22622
  hideOnClick: props.hideOnClick,
22623
  theme: "material" // duration={[100, 100]}
22624
  ,
22634
  instance.show();
22635
  currentX = e.clientX;
22636
  currentY = e.clientY;
22637
+ }, timer);
22638
  });
22639
  instance.reference.addEventListener("mouseleave", function () {
22640
  clearTimeout(test);
22667
  // Force a side effect so we don't have any override priority issue.
22668
  // eslint-disable-next-line no-unused-expressions
22669
 
22670
+ esm_Button_Button.styles;
22671
  var ButtonGroup_styles = function styles(theme) {
22672
  return {
22673
  /* Styles applied to the root element. */
22932
  }, /*#__PURE__*/react.createElement(ButtonGroup_ButtonGroup, {
22933
  color: "primary"
22934
  }, /*#__PURE__*/react.createElement(Tippy_Tippy, {
22935
+ content: translate_translate("bar.preview.desktop")
22936
+ }, /*#__PURE__*/react.createElement(esm_Button_Button, {
22937
  onClick: function onClick() {
22938
  return setDevice("desktop");
22939
  },
22943
  }, /*#__PURE__*/react.createElement("i", {
22944
  className: "fas fa-desktop"
22945
  }))), /*#__PURE__*/react.createElement(Tippy_Tippy, {
22946
+ content: translate_translate("bar.preview.tablet")
22947
+ }, /*#__PURE__*/react.createElement(esm_Button_Button, {
22948
  onClick: function onClick() {
22949
  return setDevice("tablet");
22950
  },
22954
  }, /*#__PURE__*/react.createElement("i", {
22955
  className: "fas fa-tablet-alt"
22956
  }))), /*#__PURE__*/react.createElement(Tippy_Tippy, {
22957
+ content: translate_translate("bar.preview.mobile")
22958
+ }, /*#__PURE__*/react.createElement(esm_Button_Button, {
22959
  onClick: function onClick() {
22960
  return setDevice("mobile");
22961
  },
23000
 
23001
  function text() {
23002
  if (isPublishing) {
23003
+ return translate_translate("common.publishing");
23004
  } else if (isPublished) {
23005
+ return translate_translate("common.published");
23006
  } else {
23007
+ return translate_translate("common.publish");
23008
  }
23009
  }
23010
  /**
23085
  });
23086
  }
23087
 
23088
+ return /*#__PURE__*/react.createElement(esm_Button_Button, {
23089
  onClick: function onClick() {
23090
  return publish();
23091
  },
24776
  * Dialogs are overlaid modal paper based components with a backdrop.
24777
  */
24778
 
24779
+ var Dialog_Dialog = /*#__PURE__*/react.forwardRef(function Dialog(props, ref) {
24780
  var BackdropProps = props.BackdropProps,
24781
  children = props.children,
24782
  classes = props.classes,
24883
  }), children))));
24884
  });
24885
  false ? 0 : void 0;
24886
+ /* harmony default export */ var esm_Dialog_Dialog = ((0,withStyles/* default */.Z)(Dialog_styles, {
24887
  name: 'MuiDialog'
24888
+ })(Dialog_Dialog));
24889
  ;// CONCATENATED MODULE: ./node_modules/@material-ui/core/esm/Typography/Typography.js
24890
 
24891
 
25086
  flex: '0 0 auto'
25087
  }
25088
  };
25089
+ var DialogTitle_DialogTitle = /*#__PURE__*/react.forwardRef(function DialogTitle(props, ref) {
25090
  var children = props.children,
25091
  classes = props.classes,
25092
  className = props.className,
25103
  }, children));
25104
  });
25105
  false ? 0 : void 0;
25106
+ /* harmony default export */ var esm_DialogTitle_DialogTitle = ((0,withStyles/* default */.Z)(DialogTitle_styles, {
25107
  name: 'MuiDialogTitle'
25108
+ })(DialogTitle_DialogTitle));
25109
  ;// CONCATENATED MODULE: ./node_modules/@material-ui/core/esm/DialogContent/DialogContent.js
25110
 
25111
 
25136
  }
25137
  };
25138
  };
25139
+ var DialogContent_DialogContent = /*#__PURE__*/react.forwardRef(function DialogContent(props, ref) {
25140
  var classes = props.classes,
25141
  className = props.className,
25142
  _props$dividers = props.dividers,
25149
  }, other));
25150
  });
25151
  false ? 0 : void 0;
25152
+ /* harmony default export */ var esm_DialogContent_DialogContent = ((0,withStyles/* default */.Z)(DialogContent_styles, {
25153
  name: 'MuiDialogContent'
25154
+ })(DialogContent_DialogContent));
25155
  ;// CONCATENATED MODULE: ./node_modules/@material-ui/core/esm/DialogContentText/DialogContentText.js
25156
 
25157
 
25200
  }
25201
  }
25202
  };
25203
+ var DialogActions_DialogActions = /*#__PURE__*/react.forwardRef(function DialogActions(props, ref) {
25204
  var _props$disableSpacing = props.disableSpacing,
25205
  disableSpacing = _props$disableSpacing === void 0 ? false : _props$disableSpacing,
25206
  classes = props.classes,
25213
  }, other));
25214
  });
25215
  false ? 0 : void 0;
25216
+ /* harmony default export */ var esm_DialogActions_DialogActions = ((0,withStyles/* default */.Z)(DialogActions_styles, {
25217
  name: 'MuiDialogActions'
25218
+ })(DialogActions_DialogActions));
25219
  ;// CONCATENATED MODULE: ./src/js/dashboard/Components/Dialogs/ConfirmDialog/index.js
25220
  function ConfirmDialog_extends() { ConfirmDialog_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return ConfirmDialog_extends.apply(this, arguments); }
25221
 
25244
  testId = _ref$testId === void 0 ? null : _ref$testId;
25245
  var defaultButtons = [{
25246
  value: "cancel",
25247
+ text: translate_translate("modal.cancel")
25248
  }, {
25249
  value: "confirm",
25250
+ text: translate_translate("common.confirm")
25251
  }];
25252
 
25253
  var handleClose = function handleClose(status) {
25255
  };
25256
 
25257
  if (!buttons) buttons = defaultButtons;
25258
+ return /*#__PURE__*/react.createElement(esm_Dialog_Dialog, {
25259
  open: open,
25260
  onClose: handleClose,
25261
  maxWidth: maxWidth,
25264
  "aria-describedby": "alert-dialog-description",
25265
  className: className,
25266
  "data-testid": testId ? "dialog:".concat(testId) : null
25267
+ }, /*#__PURE__*/react.createElement(esm_DialogTitle_DialogTitle, {
25268
  id: "alert-dialog-title"
25269
+ }, icon, title), /*#__PURE__*/react.createElement(esm_DialogContent_DialogContent, null, /*#__PURE__*/react.createElement(DialogContentText_DialogContentText, {
25270
  id: "alert-dialog-description",
25271
  component: "div"
25272
+ }, children)), /*#__PURE__*/react.createElement(esm_DialogActions_DialogActions, null, buttons.map(function (button, key) {
25273
+ return /*#__PURE__*/react.createElement(esm_Button_Button, ConfirmDialog_extends({
25274
  onClick: function onClick() {
25275
  return handleClose(button.value);
25276
  },
25388
  * regarding the available icon options.
25389
  */
25390
 
25391
+ var IconButton_IconButton = /*#__PURE__*/react.forwardRef(function IconButton(props, ref) {
25392
  var _props$edge = props.edge,
25393
  edge = _props$edge === void 0 ? false : _props$edge,
25394
  children = props.children,
25418
  }, children));
25419
  });
25420
  false ? 0 : void 0;
25421
+ /* harmony default export */ var esm_IconButton_IconButton = ((0,withStyles/* default */.Z)(IconButton_styles, {
25422
  name: 'MuiIconButton'
25423
+ })(IconButton_IconButton));
25424
  ;// CONCATENATED MODULE: ./src/js/dashboard/Components/Bar/RevertButton/RevertButton.js
25425
  function RevertButton_slicedToArray(arr, i) { return RevertButton_arrayWithHoles(arr) || RevertButton_iterableToArrayLimit(arr, i) || RevertButton_unsupportedIterableToArray(arr, i) || RevertButton_nonIterableRest(); }
25426
 
25494
  };
25495
 
25496
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(Tippy_Tippy, {
25497
+ content: translate_translate("revert.revert_changes")
25498
+ }, /*#__PURE__*/react.createElement(esm_IconButton_IconButton, {
25499
  onClick: function onClick() {
25500
  return setDialogOpened(true);
25501
  },
25507
  className: (0,clsx_m/* default */.Z)("fas fa-history", startRotate && "spin")
25508
  }))), /*#__PURE__*/react.createElement(ConfirmDialog, {
25509
  open: dialogOpened,
25510
+ title: translate_translate("revert.revert_changes"),
25511
  buttons: [{
25512
+ text: translate_translate("modal.cancel"),
25513
  value: "close"
25514
  }, {
25515
+ text: translate_translate("revert.revert_changes"),
25516
  value: "revert"
25517
  }],
25518
  onClose: handleClose,
25519
  testId: "revert-dialog"
25520
+ }, /*#__PURE__*/react.createElement("p", null, translate_translate("revert.modal.intro")), /*#__PURE__*/react.createElement("p", null, translate_translate("revert.modal.action"))));
25521
  }
25522
 
25523
  /* harmony default export */ var RevertButton_RevertButton = (connect(function (state) {
29503
 
29504
  function RandomTip(_ref) {
29505
  var settings = _ref.settings;
29506
+ var tips = [translate_translate("random_tips.tip_1"), translate_translate("random_tips.tip_2"), translate_translate("random_tips.tip_3"), translate_translate("random_tips.tip_4"), translate_translate("random_tips.tip_5"), translate_translate("random_tips.tip_6"), translate_translate("random_tips.tip_7"), translate_translate("random_tips.tip_8"), translate_translate("random_tips.tip_9"), translate_translate("random_tips.tip_10"), translate_translate("random_tips.tip_11"), translate_translate("random_tips.tip_12"), translate_translate("random_tips.tip_13"), translate_translate("random_tips.tip_14"), translate_translate("random_tips.tip_15"), translate_translate("random_tips.tip_16"), translate_translate("random_tips.tip_17"), translate_translate("random_tips.tip_18"), translate_translate("random_tips.tip_19"), translate_translate("random_tips.tip_20"), translate_translate("random_tips.tip_21"), translate_translate("random_tips.tip_22"), translate_translate("random_tips.tip_23")];
29507
 
29508
  var _useState = (0,react.useState)(0),
29509
  _useState2 = RandomTip_slicedToArray(_useState, 2),
29612
  }
29613
  };
29614
  };
29615
+ var Icon_Icon = /*#__PURE__*/react.forwardRef(function Icon(props, ref) {
29616
  var classes = props.classes,
29617
  className = props.className,
29618
  _props$color = props.color,
29630
  }, other));
29631
  });
29632
  false ? 0 : void 0;
29633
+ Icon_Icon.muiName = 'Icon';
29634
+ /* harmony default export */ var esm_Icon_Icon = ((0,withStyles/* default */.Z)(Icon_styles, {
29635
  name: 'MuiIcon'
29636
+ })(Icon_Icon));
29637
  ;// CONCATENATED MODULE: ./src/js/dashboard/store/actions/GroupActions.js
29638
  function GroupActions_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
29639
 
29651
  var index = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
29652
  var dispatch = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : dashboard_store.dispatch;
29653
  var group = dispatch(dataActions_addRecord(GroupActions_objectSpread({
29654
+ name: translate_translate("utils.new_group"),
29655
  show_mobile: true,
29656
  show_desktop: true,
29657
  children: []
29658
  }, payload), "groups", index)).payload.record; // Create simple button
29659
 
29660
  var button = dispatch(dataActions_addRecord({
29661
+ name: translate_translate("utils.new_button"),
29662
  show_mobile: true,
29663
  show_desktop: true
29664
  }, "buttons")).payload.record; // Add group relation
29669
  var dispatch = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : dashboard_store.dispatch;
29670
  var redirect = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;
29671
  var button = dispatch(dataActions_addRecord(GroupActions_objectSpread({
29672
+ name: translate_translate("utils.new_button"),
29673
  show_mobile: true,
29674
  show_desktop: true
29675
  }, payload), "buttons")).payload.record;
29721
  var index = arguments.length > 2 ? arguments[2] : undefined;
29722
  var dispatch = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : dashboard_store.dispatch;
29723
  var groupAttrDef = {
29724
+ name: translate_translate("utils.new_group"),
29725
  show_mobile: true,
29726
  show_desktop: true,
29727
  children: []
30185
  var dialogContent = function dialogContent() {
30186
  // For a button, make sure it's not the only button left in the group, otherwise deny
30187
  if (deleteDisabled) {
30188
+ return /*#__PURE__*/react.createElement(Typography_Typography, null, translate_translate("modal.remove.".concat(model, ".cannot_delete")));
30189
  }
30190
 
30191
+ return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(Typography_Typography, null, translate_translate("modal.remove.".concat(model, ".question"))), model === "group" && /*#__PURE__*/react.createElement(Typography_Typography, null, translate_translate("modal.remove.group.question_multiple_buttons", {
30192
  count: buttonCount
30193
  })), /*#__PURE__*/react.createElement(Typography_Typography, {
30194
  style: {
30195
  marginTop: 15
30196
  }
30197
+ }, translate_translate("modal.remove.permanent")));
30198
  };
30199
 
30200
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(Tippy_Tippy, {
30201
+ content: translate_translate("modal.remove.".concat(model, ".cannot_delete")),
30202
  disabled: !deleteDisabled,
30203
  trigger: "click"
30204
  }, !inDropdown ? /*#__PURE__*/react.createElement("span", {
30205
  tabIndex: 0
30206
  }, /*#__PURE__*/react.createElement(Tippy_Tippy, {
30207
+ content: translate_translate("utils.delete"),
30208
  disabled: deleteDisabled,
30209
  style: {
30210
  "float": "right"
30211
  },
30212
  shiftClick: true
30213
+ }, /*#__PURE__*/react.createElement(esm_IconButton_IconButton, DeleteButton_extends({
30214
  onClick: function onClick(e) {
30215
  if (!deleteDisabled) {
30216
  if (e.shiftKey) return handleClose("confirm");
30224
  width: "35px",
30225
  height: "35px"
30226
  }
30227
+ }, props), /*#__PURE__*/react.createElement(esm_Icon_Icon, {
30228
  fontSize: "inherit",
30229
  style: {
30230
  overflow: "unset"
30248
  },
30249
  disabled: deleteDisabled,
30250
  "data-testid": model === "page_rule" ? props["data-testid"] : "delete-button-".concat(model)
30251
+ }, /*#__PURE__*/react.createElement(ListItemIcon_ListItemIcon, null, /*#__PURE__*/react.createElement(esm_Icon_Icon, {
30252
  className: "fas fa-trash-alt"
30253
  })), /*#__PURE__*/react.createElement(Typography_Typography, {
30254
  variant: "inherit"
30255
+ }, translate_translate("utils.delete")))))), /*#__PURE__*/react.createElement(ConfirmDialog, {
30256
  open: dialogOpened,
30257
+ title: deleteDisabled ? translate_translate("modal.remove.".concat(model, ".cannot_delete_window_title")) : translate_translate("modal.remove.".concat(model, ".window_title")),
30258
  buttons: deleteDisabled ? [{
30259
  value: "close",
30260
+ text: translate_translate("modal.close")
30261
  }] : null,
30262
  onClose: handleClose,
30263
  testId: "delete-button:dialog"
33873
  * - using the underlying components directly as shown in the demos
33874
  */
33875
 
33876
+ var TextField_TextField = /*#__PURE__*/react.forwardRef(function TextField(props, ref) {
33877
  var autoComplete = props.autoComplete,
33878
  _props$autoFocus = props.autoFocus,
33879
  autoFocus = _props$autoFocus === void 0 ? false : _props$autoFocus,
33991
  }, FormHelperTextProps), helperText));
33992
  });
33993
  false ? 0 : void 0;
33994
+ /* harmony default export */ var esm_TextField_TextField = ((0,withStyles/* default */.Z)(TextField_styles, {
33995
  name: 'MuiTextField'
33996
+ })(TextField_TextField));
33997
  // EXTERNAL MODULE: ./node_modules/void-elements/index.js
33998
  var void_elements = __webpack_require__(71739);
33999
  var void_elements_default = /*#__PURE__*/__webpack_require__.n(void_elements);
34588
 
34589
  var defaultButtons = [{
34590
  value: "cancel",
34591
+ text: translate_translate("modal.cancel")
34592
  }, {
34593
  value: "confirm",
34594
+ text: translate_translate("common.confirm"),
34595
  focus: true
34596
  }];
34597
 
34616
 
34617
  var generateButtons = function generateButtons() {
34618
  return buttons.map(function (button, key) {
34619
+ return /*#__PURE__*/react.createElement(esm_Button_Button, {
34620
  onClick: function onClick() {
34621
  return beforeClose(button.value, value);
34622
  },
34626
  });
34627
  };
34628
 
34629
+ return /*#__PURE__*/react.createElement(esm_Dialog_Dialog, FormDialog_extends({
34630
  open: open,
34631
  maxWidth: maxWidth,
34632
  fullWidth: fullWidth,
34634
  return beforeClose("cancel");
34635
  },
34636
  "aria-labelledby": "form-dialog-title"
34637
+ }, props), /*#__PURE__*/react.createElement(esm_DialogTitle_DialogTitle, {
34638
  id: "form-dialog-title"
34639
+ }, title), /*#__PURE__*/react.createElement(esm_DialogContent_DialogContent, null, /*#__PURE__*/react.createElement(DialogContentText_DialogContentText, null, text), /*#__PURE__*/react.createElement(esm_TextField_TextField, {
34640
  autoFocus: true,
34641
  value: value,
34642
  onChange: function onChange(e) {
34645
  margin: "dense",
34646
  id: "name",
34647
  fullWidth: true,
34648
+ helperText: !canBeEmpty && value == "" ? translate_translate("modal.incorrect") : null,
34649
  error: !canBeEmpty && value == "",
34650
  onKeyPress: function onKeyPress(e) {
34651
  if (e.charCode === 13) {
34666
  }, kbLink && /*#__PURE__*/react.createElement(KnowledgeBaseLink, {
34667
  articleId: kbLink,
34668
  tiny: true
34669
+ }), /*#__PURE__*/react.createElement(esm_DialogActions_DialogActions, null, generateButtons())));
34670
  }
34671
  ;// CONCATENATED MODULE: ./src/js/dashboard/Components/Containers/ContainerActions/DuplicateButton.js
34672
  function DuplicateButton_extends() { DuplicateButton_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return DuplicateButton_extends.apply(this, arguments); }
34707
  setDialogOpened = _useState2[1];
34708
 
34709
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(Tippy_Tippy, {
34710
+ content: translate_translate("utils.duplicate"),
34711
  shiftClick: true
34712
+ }, /*#__PURE__*/react.createElement(esm_IconButton_IconButton, DuplicateButton_extends({
34713
  onClick: function onClick(e) {
34714
  if (e.shiftKey) return onChange("".concat(name, " Copy"));
34715
  setDialogOpened(true);
34721
  width: "35px",
34722
  height: "35px"
34723
  }
34724
+ }, props), /*#__PURE__*/react.createElement(esm_Icon_Icon, {
34725
  style: {
34726
  overflow: "unset"
34727
  },
34729
  className: "far fa-copy"
34730
  }))), /*#__PURE__*/react.createElement(FormDialog, {
34731
  open: dialogOpened,
34732
+ title: translate_translate("utils.duplicate"),
34733
  text: "Name ".concat(name, " duplicate:"),
34734
  "data-testid": "duplicate-button:dialog",
34735
  defaultValue: "".concat(name, " Copy"),
34760
  props = EditButton_objectWithoutProperties(_ref, ["size", "onClick"]);
34761
 
34762
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(Tippy_Tippy, {
34763
+ content: translate_translate("settings.settings")
34764
+ }, /*#__PURE__*/react.createElement(esm_IconButton_IconButton, EditButton_extends({
34765
  onClick: function onClick() {
34766
  _onClick();
34767
  },
34771
  width: "35px",
34772
  height: "35px"
34773
  }
34774
+ }, props), /*#__PURE__*/react.createElement(esm_Icon_Icon, {
34775
  fontSize: "inherit",
34776
  style: {
34777
  overflow: "unset"
34818
  setDialogOpened = _useState2[1];
34819
 
34820
  return /*#__PURE__*/react.createElement(react.Fragment, null, !inDropdown ? /*#__PURE__*/react.createElement(Tippy_Tippy, {
34821
+ content: translate_translate("utils.rename")
34822
+ }, /*#__PURE__*/react.createElement(esm_IconButton_IconButton, RenameButton_extends({
34823
  size: size,
34824
  onClick: function onClick() {
34825
  return setDialogOpened(true);
34830
  width: "35px",
34831
  height: "35px"
34832
  }
34833
+ }, props), /*#__PURE__*/react.createElement(esm_Icon_Icon // component="i"
34834
  , {
34835
  style: {
34836
  overflow: "unset",
34844
  },
34845
  ref: ref,
34846
  "data-testid": props.model === "page_rule" ? props["data-testid"] : "rename-button"
34847
+ }, /*#__PURE__*/react.createElement(ListItemIcon_ListItemIcon, null, /*#__PURE__*/react.createElement(esm_Icon_Icon, {
34848
  className: "fas fa-i-cursor"
34849
  })), /*#__PURE__*/react.createElement(Typography_Typography, {
34850
  variant: "inherit"
34851
+ }, translate_translate("utils.rename"))), /*#__PURE__*/react.createElement(FormDialog, {
34852
  open: dialogOpened,
34853
+ title: translate_translate("utils.rename"),
34854
+ text: translate_translate("utils.rename_to"),
34855
  defaultValue: name,
34856
  "data-testid": "rename-button:dialog",
34857
  cancelIfSameAsFirstValue: true,
34897
  setActionsDropdown = _useState2[1];
34898
 
34899
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(Tippy_Tippy, {
34900
+ content: translate_translate("settings.more_actions")
34901
+ }, /*#__PURE__*/react.createElement(esm_IconButton_IconButton, {
34902
  onClick: function onClick(e) {
34903
  return setActionsDropdown(e.currentTarget);
34904
  },
35116
  };
35117
 
35118
  var menuEl = function menuEl() {
35119
+ return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(esm_Button_Button, {
35120
  onClick: handleClick,
35121
  "aria-label": "more",
35122
  "aria-controls": "long-menu",
35123
  "aria-haspopup": "true",
35124
  color: "primary",
35125
  variant: "text",
35126
+ endIcon: /*#__PURE__*/react.createElement(esm_Icon_Icon, {
35127
  className: "fas fa-caret-down"
35128
  })
35129
+ }, Object.keys(properties).length, " ", translate_translate("import_export.properties"), " "), /*#__PURE__*/react.createElement(Menu_Menu, {
35130
  id: "long-menu",
35131
  anchorEl: anchorEl,
35132
  keepMounted: true,
35286
  omit_default()(data, import_export.propertiesToOmit);
35287
 
35288
  if (type === "group") {
35289
+ if (data.buttons.length === 0) return alert(translate_translate("import_export.export.warning.no_buttons"));
35290
  setFoundGroup(omit_default()(data.data, import_export.propertiesToOmit));
35291
  setFoundButtons(data.buttons.map(function (button) {
35292
  return omit_default()(button, import_export.propertiesToOmit);
35293
  }));
35294
  } else if (type === "button") {
35295
+ if (data.length === 0) return alert(translate_translate("import_export.export.warning.no_data"));
35296
  setFoundGroup(false);
35297
  setFoundButtons([omit_default()(data, import_export.propertiesToOmit)]);
35298
  }
35324
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
35325
  onClick: createExportData,
35326
  "data-testid": "export-button"
35327
+ }, /*#__PURE__*/react.createElement(ListItemIcon_ListItemIcon, null, /*#__PURE__*/react.createElement(esm_Icon_Icon, {
35328
  className: "fas fa-file-export"
35329
  })), /*#__PURE__*/react.createElement(Typography_Typography, {
35330
  variant: "inherit"
35331
+ }, translate_translate("import_export.export.export_".concat(type)))), /*#__PURE__*/react.createElement(esm_Dialog_Dialog, {
35332
  open: dialogOpened,
35333
  onClose: function onClose() {
35334
  setMerged(false);
35340
  "aria-describedby": "import-button-dialog-description" // className={className}
35341
  ,
35342
  "data-testid": "dialog:export-dialog"
35343
+ }, /*#__PURE__*/react.createElement(esm_DialogTitle_DialogTitle, {
35344
  id: "import-button-dialog-title"
35345
+ }, translate_translate("import_export.export.export_".concat(type))), /*#__PURE__*/react.createElement(esm_DialogContent_DialogContent, null, (foundGroup || foundButtons) && /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(DialogContentText_DialogContentText, {
35346
  component: "div"
35347
+ }, translate_translate("import_export.export.warning.preview")), foundGroup && /*#__PURE__*/react.createElement(DialogContentText_DialogContentText, {
35348
  component: "div",
35349
  key: foundGroup.id
35350
+ }, /*#__PURE__*/react.createElement("i", null, translate_translate("common.group"), " "), ":", " ", dlv_umd_default()(foundGroup, "name", "Unnamed"), ".", " ", /*#__PURE__*/react.createElement(PropertyList, {
35351
  properties: foundGroup,
35352
  type: "Group"
35353
  })), foundButtons && foundButtons.map(function (button, key) {
35354
  return /*#__PURE__*/react.createElement(DialogContentText_DialogContentText, {
35355
  component: "div",
35356
  key: key
35357
+ }, /*#__PURE__*/react.createElement("i", null, translate_translate("common.button"), " ", key + 1, " "), ": ", dlv_umd_default()(button, "name", "Unnamed"), ".", /*#__PURE__*/react.createElement(PropertyList, {
35358
  properties: button
35359
  }));
35360
+ }))), /*#__PURE__*/react.createElement(esm_DialogActions_DialogActions, null, group_data && type === "button" && /*#__PURE__*/react.createElement(esm_Button_Button, {
35361
  onClick: function onClick() {
35362
  return mergeGroupData();
35363
  },
35366
  marginRight: "auto"
35367
  },
35368
  disabled: merged
35369
+ }, translate_translate("import_export.export.merge")), /*#__PURE__*/react.createElement(esm_Button_Button, {
35370
  onClick: function onClick() {
35371
  return setDialogOpened(false);
35372
  },
35373
  color: "primary"
35374
+ }, translate_translate("modal.cancel")), /*#__PURE__*/react.createElement(esm_Button_Button, {
35375
  onClick: function onClick() {
35376
  return onExport();
35377
  },
35378
  color: "primary",
35379
  disabled: type === "button" ? !foundButtons : !foundGroup,
35380
  "data-testid": "export-commence"
35381
+ }, translate_translate("import_export.export.title")))));
35382
  }
35383
  ;// CONCATENATED MODULE: ./src/js/dashboard/Components/Containers/ButtonContainer/ButtonContainer.js
35384
  function ButtonContainer_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
35423
  if (!button || !groupId) return null;
35424
  var path = "/group/" + groupId + "/button/" + buttonId;
35425
  var singleButtonStyles = ["default", "square", "rectangle", "text", "text-icon"];
35426
+ var lastButton = groups[groupId].children.indexOf(buttonId) === getButtonsCount(groupId) - 1;
35427
 
35428
  function toggle(item) {
35429
  set("buttons", buttonId, item, !button[item]);
35441
  className: "button-container" + currentDrag
35442
  }, provided.dragHandleProps), /*#__PURE__*/react.createElement("div", {
35443
  className: "button-header"
35444
+ }, /*#__PURE__*/react.createElement(esm_Button_Button, {
35445
  color: "primary",
35446
  style: {
35447
  marginBottom: "10px"
35499
  className: "button-visibility"
35500
  }, /*#__PURE__*/react.createElement("div", {
35501
  className: "button-title"
35502
+ }, translate_translate("settings.show_mobile_desktop.title") + ":", " "), /*#__PURE__*/react.createElement(Tippy_Tippy, {
35503
+ content: translate_translate("settings.show_mobile_desktop.toggle_mobile")
35504
+ }, /*#__PURE__*/react.createElement(esm_Button_Button, {
35505
  color: "primary",
35506
  variant: button.show_mobile ? "contained" : "outlined",
35507
  onClick: function onClick() {
35511
  }, /*#__PURE__*/react.createElement("i", {
35512
  className: "fas fa-mobile-alt"
35513
  }))), /*#__PURE__*/react.createElement(Tippy_Tippy, {
35514
+ content: translate_translate("settings.show_mobile_desktop.toggle_desktop")
35515
+ }, /*#__PURE__*/react.createElement(esm_Button_Button, {
35516
  color: "primary",
35517
  variant: button.show_desktop ? "contained" : "outlined",
35518
  onClick: function onClick() {
35523
  className: "fas fa-desktop"
35524
  })))), /*#__PURE__*/react.createElement("div", {
35525
  className: "clear"
35526
+ }))), lastButton ? /*#__PURE__*/react.createElement(Tippy_Tippy, {
35527
+ content: translate_translate("utils.add_button"),
35528
  shiftClick: true,
35529
  arrow: false
35530
+ }, /*#__PURE__*/react.createElement(esm_Button_Button, {
35531
  onClick: function onClick(e) {
35532
  return openNewButtonDialog(e.shiftKey);
35533
  },
35534
  color: "primary",
35535
  variant: "text",
35536
  size: "small",
35537
+ startIcon: /*#__PURE__*/react.createElement(esm_Icon_Icon, {
 
 
 
35538
  className: "fas fa-plus-circle"
35539
  }),
35540
+ "data-testid": "new-button",
35541
+ className: "button-container-new-button"
35542
+ }, translate_translate("utils.add_button"))) : /*#__PURE__*/react.createElement(Tippy_Tippy, {
35543
+ content: translate_translate("utils.add_button"),
35544
+ timer: 1000,
35545
+ shiftClick: true,
35546
+ arrow: false
35547
+ }, /*#__PURE__*/react.createElement("div", {
35548
+ className: "button-container-new-button-line"
35549
+ }, /*#__PURE__*/react.createElement(esm_Button_Button, {
35550
+ onClick: function onClick(e) {
35551
+ return openNewButtonDialog(e.shiftKey);
35552
+ },
35553
+ color: "secondary",
35554
+ variant: "text",
35555
+ fullWidth: true,
35556
+ size: "small",
35557
  "data-testid": "new-button"
35558
+ }, /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement("span", null, /*#__PURE__*/react.createElement(esm_Icon_Icon, {
35559
+ className: "fas fa-plus-circle"
35560
+ })), /*#__PURE__*/react.createElement("hr", null)))));
35561
  }
35562
 
35563
  /* harmony default export */ var ButtonContainer_ButtonContainer = (connect(function (state) {
44427
  var parsedResult = typeof data === "string" ? JSON.parse(data) : data; // Malformed data
44428
 
44429
  if (!parsedResult.export_type || parsedResult.export_type === "group" && !parsedResult.buttons) {
44430
+ throw new Error(translate_translate("import_export.import.warning.invalid"));
44431
  } // Import a group
44432
 
44433
 
44434
  if (parsedResult.export_type === "group") {
44435
  if (parsedResult.buttons.length === 0) {
44436
+ alert(translate_translate("import_export.import.warning.no_buttons"));
44437
  return;
44438
  }
44439
 
44449
 
44450
  ImportData(currentGroup, foundGroup, foundButtons, index, redirect);
44451
  } catch (e) {
44452
+ alert(translate_translate("import_export.import.warning.malformed"));
44453
  }
44454
  }
44455
  ;// CONCATENATED MODULE: ./src/js/dashboard/Components/TrashButton/TrashButton.js
44476
  icon = _ref$icon === void 0 ? "fas fa-undo" : _ref$icon,
44477
  props = TrashButton_objectWithoutProperties(_ref, ["disabled", "onClick", "iconProps", "icon"]);
44478
 
44479
+ return /*#__PURE__*/react.createElement(esm_IconButton_IconButton, TrashButton_extends({
44480
  onClick: function onClick() {
44481
  return _onClick();
44482
  },
44490
  alignSelf: "center"
44491
  }, props.style),
44492
  color: "primary"
44493
+ }, props), /*#__PURE__*/react.createElement(esm_Icon_Icon, TrashButton_extends({
44494
  fontSize: "inherit",
44495
  className: icon
44496
  }, iconProps)));
44648
  className: classes.border
44649
  }, /*#__PURE__*/react.createElement("span", {
44650
  className: classes.text
44651
+ }, translate_translate("import_export.import.drag_drop"))), this.props.children);
44652
  }
44653
  }]);
44654
 
44746
  break;
44747
  }
44748
 
44749
+ throw new Error(translate_translate("import_export.import.warning.invalid"));
44750
 
44751
  case 5:
44752
  if (!isGroup) {
44764
  break;
44765
  }
44766
 
44767
+ alert(translate_translate("import_export.import.warning.no_buttons"));
44768
  return _context.abrupt("return");
44769
 
44770
  case 10:
44824
  _context.prev = 31;
44825
  _context.t0 = _context["catch"](1);
44826
  console.error(_context.t0);
44827
+ alert(translate_translate("import_export.import.warning.malformed"));
44828
 
44829
  case 35:
44830
  case "end":
44859
  return setDialogOpened(true);
44860
  },
44861
  "data-testid": "import-into-group"
44862
+ }, /*#__PURE__*/react.createElement(ListItemIcon_ListItemIcon, null, /*#__PURE__*/react.createElement(esm_Icon_Icon, {
44863
  className: "fas fa-file-import"
44864
  })), /*#__PURE__*/react.createElement(Typography_Typography, {
44865
  variant: "inherit"
44866
+ }, label)) : /*#__PURE__*/react.createElement(esm_Button_Button, {
44867
  style: {
44868
  fontSize: "14px"
44869
  },
44873
  color: "primary",
44874
  variant: "text",
44875
  size: "small",
44876
+ startIcon: /*#__PURE__*/react.createElement(esm_Icon_Icon, {
44877
  className: "fas fa-file-import"
44878
  }),
44879
  "data-testid": "import-new-group"
44880
+ }, label), /*#__PURE__*/react.createElement(esm_Dialog_Dialog, {
44881
  open: dialogOpened,
44882
  onClose: function onClose() {
44883
  return setDialogOpened(false);
44891
  if (files.length === 0) return;
44892
  onFileSelect(files);
44893
  }
44894
+ }, /*#__PURE__*/react.createElement(esm_DialogTitle_DialogTitle, {
44895
  id: "import-button-dialog-title"
44896
+ }, "BETA: ", translate_translate("import_export.import.title")), /*#__PURE__*/react.createElement(esm_DialogContent_DialogContent, null, !fileSelected && /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(DialogContentText_DialogContentText, {
44897
  id: "import-button-dialog-description",
44898
  component: "div"
44899
+ }, currentGroup ? translate_translate("import_export.import.into_group.text") : translate_translate("import_export.import.new_group.text"), " ", translate_translate("import_export.import.select_please")), /*#__PURE__*/react.createElement(esm_Button_Button, {
44900
  variant: "contained",
44901
  fullWidth: true,
44902
+ startIcon: /*#__PURE__*/react.createElement(esm_Icon_Icon, {
44903
  className: "fas fa-file-import",
44904
  style: {
44905
  marginRight: 10
44912
  onClick: function onClick() {
44913
  return importFileUploader.current.click();
44914
  }
44915
+ }, translate_translate("import_export.import.select_click")), /*#__PURE__*/react.createElement("input", {
44916
  type: "file",
44917
  id: "input",
44918
  "data-testid": "import-input",
44931
  component: "div"
44932
  }, currentGroup && isGroup && foundGroup ? /*#__PURE__*/react.createElement("span", {
44933
  dangerouslySetInnerHTML: {
44934
+ __html: translate_translate("import_export.import.warning.replace")
44935
  }
44936
+ }) : !currentGroup && isGroup && !foundGroup && foundButtons ? "Create a new group including this button:" : translate_translate("import_export.import.warning.preview")), foundGroup && /*#__PURE__*/react.createElement(DialogContentText_DialogContentText, {
44937
  "data-testid": "import-found-group",
44938
  component: "div",
44939
  key: foundGroup.id
44940
+ }, /*#__PURE__*/react.createElement("i", null, translate_translate("common.group"), " "), ":", " ", dlv_umd_default()(foundGroup, "name", "Unnamed"), ".", " ", /*#__PURE__*/react.createElement(PropertyList, {
44941
  properties: foundGroup,
44942
  type: "Group"
44943
  }), /*#__PURE__*/react.createElement(TrashButton, {
44952
  "data-testid": "import-found-buttons",
44953
  component: "div",
44954
  key: key
44955
+ }, /*#__PURE__*/react.createElement("i", null, translate_translate("common.button"), " ", key + 1, " "), ": ", dlv_umd_default()(button, "name", "Unnamed"), ".", /*#__PURE__*/react.createElement(PropertyList, {
44956
  properties: button
44957
  }), /*#__PURE__*/react.createElement(TrashButton, {
44958
  disabled: foundButtons.length === 1,
44975
  }, /*#__PURE__*/react.createElement(KnowledgeBaseLink, {
44976
  articleId: kbLink,
44977
  tiny: true,
44978
+ setting: translate_translate("import_export.import_export")
44979
+ }), /*#__PURE__*/react.createElement(esm_DialogActions_DialogActions, null, /*#__PURE__*/react.createElement(esm_Button_Button, {
44980
  onClick: function onClick() {
44981
  return setDialogOpened(false);
44982
  },
44983
  color: "primary"
44984
+ }, translate_translate("modal.cancel")), fileSelected && /*#__PURE__*/react.createElement(esm_Button_Button, {
44985
  onClick: function onClick() {
44986
  return setFileSelected(null);
44987
  },
44988
  color: "primary"
44989
+ }, translate_translate("import_export.import.reupload")), /*#__PURE__*/react.createElement(esm_Button_Button, {
44990
  onClick: function onClick() {
44991
  onImport();
44992
  if (onClose) onClose();
44994
  color: "primary",
44995
  disabled: !fileSelected || !foundGroup && !foundButtons,
44996
  "data-testid": "import-commence"
44997
+ }, translate_translate("import_export.import.title")))))));
44998
  }
44999
 
45000
  function migrateData(data) {
45127
  }
45128
 
45129
  var hasLabelFor = type === 'checkbox' || type === 'radio';
45130
+ return /*#__PURE__*/react.createElement(esm_IconButton_IconButton, (0,esm_extends/* default */.Z)({
45131
  component: "span",
45132
  className: (0,clsx_m/* default */.Z)(classes.root, className, checked && classes.checked, disabled && classes.disabled),
45133
  disabled: disabled,
45778
  return true;
45779
  });
45780
  var defaultButton = {
45781
+ name: translate_translate("utils.new_button"),
45782
  show_mobile: true,
45783
  show_desktop: true
45784
  };
45786
  if (filterButtons === "group") {
45787
  filteredList.unshift({
45788
  data: {
45789
+ name: translate_translate("utils.new_group"),
45790
  show_mobile: true,
45791
  show_desktop: true
45792
  },
45873
  (0,react.useEffect)(function () {
45874
  setSelected([]);
45875
  }, [filterButtons, filterFrameDesign, filterPopularAction]);
45876
+ return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(esm_DialogContent_DialogContent, null, !isLoading && returnedTemplates && /*#__PURE__*/react.createElement("p", {
45877
  className: "search-results"
45878
  }, /*#__PURE__*/react.createElement(Trans, {
45879
  i18nKey: "utils.templates.found",
45915
  to: "360 18 18",
45916
  dur: "1s",
45917
  repeatCount: "indefinite"
45918
+ }))))), /*#__PURE__*/react.createElement("p", null, translate_translate("loading.loading")))), !isLoading && /*#__PURE__*/react.createElement("div", {
45919
  className: "template"
45920
  }, filteredTemplateList.map(function (template, key) {
45921
  return /*#__PURE__*/react.createElement("div", {
45944
  }, /*#__PURE__*/react.createElement("i", {
45945
  className: "fa fa-plus-circle",
45946
  "aria-hidden": "true"
45947
+ }), /*#__PURE__*/react.createElement("span", null, translate_translate("templates.start_scratch"))) : /*#__PURE__*/react.createElement("img", {
45948
  src: template.template_image ? buttonizer_admin.assets + "/images/templates/".concat(template.template_image) : buttonizer_admin.assets + "/images/buttonizer-logo.png",
45949
  alt: "Template",
45950
  draggable: false
45958
  }, selected.includes(key) ? /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("i", {
45959
  className: "fa fa-check-circle",
45960
  "aria-hidden": "true"
45961
+ }), translate_translate("templates.selected")) : /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("i", {
45962
  className: "fa fa-plus-circle",
45963
  "aria-hidden": "true"
45964
+ }), translate_translate("templates.select")))));
45965
+ }))), /*#__PURE__*/react.createElement(esm_DialogActions_DialogActions, {
45966
  style: {
45967
  marginTop: "20px",
45968
  justifyContent: "space-between"
45973
  fontSize: 13
45974
  },
45975
  currentGroup: currentGroup,
45976
+ label: filterButtons === "button" ? translate_translate("import_export.import.new_group.button") : translate_translate("import_export.import.new_group.group"),
45977
  kbLink: 653,
45978
  onClose: handleClose
45979
+ }), selected.length > 0 && /*#__PURE__*/react.createElement(esm_Button_Button, {
45980
  className: (0,clsx_m/* default */.Z)("select-all", selected.length > 0 && "visible"),
45981
  variant: "contained",
45982
  onClick: function onClick() {
45985
  color: "primary",
45986
  size: "small",
45987
  "data-testid": "templates:insert-selected"
45988
+ }, translate_translate("templates.insert"))));
45989
  }
45990
  ;// CONCATENATED MODULE: ./src/js/dashboard/Components/Settings/ButtonAction/ButtonActionOptions.js
45991
  function ButtonActionOptions_toConsumableArray(arr) { return ButtonActionOptions_arrayWithoutHoles(arr) || ButtonActionOptions_iterableToArray(arr) || ButtonActionOptions_unsupportedIterableToArray(arr) || ButtonActionOptions_nonIterableSpread(); }
50578
  startAdornment: startAdornment,
50579
  endAdornment: /*#__PURE__*/react.createElement("div", {
50580
  className: classes.endAdornment
50581
+ }, hasClearIcon ? /*#__PURE__*/react.createElement(esm_IconButton_IconButton, (0,esm_extends/* default */.Z)({}, getClearProps(), {
50582
  "aria-label": clearText,
50583
  title: clearText,
50584
  className: (0,clsx_m/* default */.Z)(classes.clearIndicator, dirty && classes.clearIndicatorDirty)
50585
+ }), closeIcon) : null, hasPopupIcon ? /*#__PURE__*/react.createElement(esm_IconButton_IconButton, (0,esm_extends/* default */.Z)({}, getPopupIndicatorProps(), {
50586
  disabled: disabled,
50587
  "aria-label": popupOpen ? closeText : openText,
50588
  title: popupOpen ? closeText : openText,
50723
  return option.value === value.value;
50724
  },
50725
  groupBy: function groupBy(option) {
50726
+ return button ? translate_translate("settings.button_action.actions.group_".concat(option.group)) : null;
50727
  },
50728
+ noOptionsText: translate_translate("utils.search_not_found") + " " + currentText,
50729
  inputValue: currentText,
50730
  popupIcon: /*#__PURE__*/react.createElement("i", {
50731
  className: "fas fa-caret-down",
50735
  "data-testid": "filter-dropdown-icon"
50736
  }),
50737
  renderInput: function renderInput(params) {
50738
+ return /*#__PURE__*/react.createElement(esm_TextField_TextField, FilterTemplateOptions_extends({}, params, {
50739
  onChange: function onChange(e) {
50740
  setCurrentText(e.target.value);
50741
  },
50754
  })));
50755
  });
50756
  },
50757
+ loadingText: translate_translate("loading.loading"),
50758
  loading: isLoading
50759
  });
50760
  };
50831
  label: "Social sharing",
50832
  value: "social-sharing"
50833
  }];
50834
+ return /*#__PURE__*/react.createElement(esm_Dialog_Dialog, {
50835
  open: open,
50836
  onClose: function onClose() {
50837
  handleCloseDialog();
50845
  className: "header"
50846
  }, /*#__PURE__*/react.createElement("div", {
50847
  className: "titles"
50848
+ }, /*#__PURE__*/react.createElement(esm_DialogTitle_DialogTitle, {
50849
  className: "title"
50850
+ }, filterButtons === "button" ? translate_translate("utils.new_button") : translate_translate("utils.new_group")), /*#__PURE__*/react.createElement("h3", {
50851
  className: "subtitle"
50852
+ }, translate_translate("templates.all_templates_description"))), /*#__PURE__*/react.createElement(esm_IconButton_IconButton, {
50853
  onClick: function onClick() {
50854
  handleCloseDialog();
50855
  },
50856
  className: "close-button",
50857
  "data-testid": "templates-dialog:close-button"
50858
+ }, /*#__PURE__*/react.createElement(esm_Icon_Icon, {
50859
  fontSize: "inherit",
50860
  className: "fas fa-times"
50861
  }))), /*#__PURE__*/react.createElement("div", {
50862
  className: "container-filter-buttons"
50863
+ }, /*#__PURE__*/react.createElement(esm_DialogContent_DialogContent, {
50864
  dividers: true,
50865
  className: "midsection"
50866
  }, /*#__PURE__*/react.createElement("div", {
50867
  className: "button-group"
50868
  }, /*#__PURE__*/react.createElement("div", {
50869
  className: "buttons-title"
50870
+ }, translate_translate("templates.number_of_buttons")), /*#__PURE__*/react.createElement("div", {
50871
  className: "buttons"
50872
  }, /*#__PURE__*/react.createElement("div", {
50873
  className: "buttons-numbers"
50874
+ }, /*#__PURE__*/react.createElement(esm_Button_Button, {
50875
  onClick: function onClick() {
50876
  setFilterButtons("button");
50877
  setFilterPopularAction([]);
50884
  marginRight: "10px"
50885
  },
50886
  "data-testid": "templates:filter-buttons-button"
50887
+ }, "1"), /*#__PURE__*/react.createElement(esm_Button_Button, {
50888
  disabled: showButtons,
50889
  onClick: function onClick() {
50890
  setFilterButtons("group");
50901
  filterOptions: filterFrameDesign,
50902
  setFilterOptions: setFilterFrameDesign,
50903
  filterList: frameDesignList,
50904
+ label: translate_translate("templates.framedesign.label"),
50905
  setReturnedTemplates: setReturnedTemplates
50906
  }), filterButtons === "button" && /*#__PURE__*/react.createElement(FilterTemplateOptions, {
50907
  filterOptions: filterPopularAction,
50908
  setFilterOptions: setFilterPopularAction,
50909
  filterList: ButtonActionOptions,
50910
+ label: translate_translate("templates.popular_actions.label"),
50911
  setReturnedTemplates: setReturnedTemplates,
50912
  button: true
50913
  }))), /*#__PURE__*/react.createElement(TemplateOptions, {
51053
  var duplicateButton = function duplicateButton() {
51054
  /* webpack-strip-block:removed */
51055
  return /*#__PURE__*/react.createElement(Tippy_Tippy, {
51056
+ content: translate_translate("premium.warning_duplicate"),
51057
  trigger: "click"
51058
  }, /*#__PURE__*/react.createElement("span", {
51059
  tabIndex: 0
51071
  }
51072
  }, /*#__PURE__*/react.createElement("div", {
51073
  className: "group-info"
51074
+ }, /*#__PURE__*/react.createElement(esm_Button_Button, {
51075
  onClick: handleOpenState,
51076
  color: "primary",
51077
  "data-testid": "open-group"
51102
  type: "group"
51103
  }), /*#__PURE__*/react.createElement(ImportButton, {
51104
  currentGroup: group,
51105
+ label: translate_translate("import_export.import.into_group.button"),
51106
  kbLink: 653,
51107
  inDropdown: true
51108
  }), /*#__PURE__*/react.createElement(ContainerActions_DeleteButton, {
51138
  styleDrop: ButtonGroupContainer_getStyle(provided.draggableProps.style, snapshot),
51139
  openNewButtonDialog: function openNewButtonDialog(shiftKey) {
51140
  if (shiftKey) return addButton({
51141
+ name: translate_translate("utils.new_button")
51142
  }, group.id, key + 1);
51143
  setNewButtonDialogOpened(key + 1);
51144
  }
51320
  textAlign: "center",
51321
  marginTop: "20px"
51322
  }
51323
+ }, /*#__PURE__*/react.createElement(esm_Button_Button, {
51324
+ onClick: function onClick(e) {
51325
+ app.showPremiumDialog(e.currentTarget, translate_translate("premium.multiple_button_groups"));
51326
  },
51327
  color: "primary",
51328
  className: "Mui-buzz-premium",
51329
+ startIcon: /*#__PURE__*/react.createElement(esm_Icon_Icon, {
51330
  className: "fas fa-plus-circle"
51331
  }),
51332
  "data-testid": "new-group"
51333
+ }, translate_translate("utils.create_group"), " ", /*#__PURE__*/react.createElement(PremiumTag, null)));
51334
  };
51335
 
51336
  var buttonGroupContainer = function buttonGroupContainer() {
51354
  src: window.buttonizer_admin.assets + "/images/logo.png"
51355
  })), /*#__PURE__*/react.createElement(RandomTip_RandomTip, null), hasPremium && !isPremiumCode && /*#__PURE__*/react.createElement("div", {
51356
  className: "mdc-card dashboard-warning-msg"
51357
+ }, /*#__PURE__*/react.createElement("b", null, translate_translate("warnings.premium_license_free_version.title")), translate_translate("warnings.premium_license_free_version.information"), " ", /*#__PURE__*/react.createElement("a", {
51358
  href: "https://community.buttonizer.pro/knowledgebase/321",
51359
  target: "_blank"
51360
+ }, translate_translate("common.learn_more"), ".")), !buttonizer_admin.php_version_supported && /*#__PURE__*/react.createElement("div", {
51361
  className: "mdc-card dashboard-warning-msg"
51362
+ }, /*#__PURE__*/react.createElement("b", null, translate_translate("warnings.php_version_outdated.title")), translate_translate("warnings.php_version_outdated.information", {
51363
  version: buttonizer_admin.php_version
51364
  }), " ", /*#__PURE__*/react.createElement("a", {
51365
  href: "https://community.buttonizer.pro/knowledgebase/434",
51366
  target: "_blank"
51367
+ }, translate_translate("common.learn_more"), ".")), /*#__PURE__*/react.createElement(DragDropContext, {
51368
  sensors: [testDragSensor],
51369
  onDragEnd: onDragEnd,
51370
  onDragStart: onDragStart
51408
  src: window.buttonizer_admin.assets + "/images/logo.png"
51409
  })), /*#__PURE__*/react.createElement("i", {
51410
  className: isButtonGroupNotFound ? "fas fa-binoculars" : "far fa-dizzy"
51411
+ }), /*#__PURE__*/react.createElement("h4", null, "Sorry! We could not find this ".concat(isButtonGroupNotFound ? "button or group" : "page", "!")), /*#__PURE__*/react.createElement(esm_Button_Button, {
51412
  onClick: function onClick() {
51413
  document.location.hash = "#/";
51414
  },
52457
  var open = Boolean(anchorEl);
52458
  var id = open ? "simple-popover" : undefined; // Return Element
52459
 
52460
+ return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(esm_Button_Button, {
52461
  className: "breadcrumb-button",
52462
  "aria-describedby": id,
52463
  color: "secondary",
52560
  }, /*#__PURE__*/react.createElement("div", {
52561
  className: "breadcrumb"
52562
  }, /*#__PURE__*/react.createElement(Tippy_Tippy, {
52563
+ content: translate_translate("bar.breadcrumb.tippy_home"),
52564
  arrow: false
52565
+ }, /*#__PURE__*/react.createElement(esm_Button_Button, {
52566
  onClick: function onClick() {
52567
  history.push("/");
52568
  },
52570
  className: "home-button"
52571
  }, /*#__PURE__*/react.createElement("span", {
52572
  className: "breadcrumb-text"
52573
+ }, translate_translate("bar.breadcrumb.home")), /*#__PURE__*/react.createElement("i", {
52574
  className: "fas fa-chevron-right"
52575
  }))), /*#__PURE__*/react.createElement(Tippy_Tippy, {
52576
+ content: translate_translate("bar.breadcrumb.tippy_group"),
52577
  arrow: false
52578
+ }, /*#__PURE__*/react.createElement(esm_Button_Button, {
52579
  onClick: function onClick() {
52580
  history.push("/group/".concat(group.id));
52581
  },
52592
  href: "#/group/" + group.id
52593
  }, /*#__PURE__*/react.createElement("i", {
52594
  className: "fas fa-chevron-down"
52595
+ }), translate_translate("bar.edit_group_settings"))), /*#__PURE__*/react.createElement("div", {
52596
  className: "mdc-card top-header"
52597
  }, /*#__PURE__*/react.createElement(Tabs_Tabs, {
52598
  value: tab,
52601
  textColor: "secondary",
52602
  className: "tab-bordered"
52603
  }, /*#__PURE__*/react.createElement(LinkTab, {
52604
+ label: translate_translate("settings.setting_categories.general"),
52605
  id: 0,
52606
  page: "general",
52607
  "data-testid": "general-tab",
52609
  className: "fas fa-wrench"
52610
  })
52611
  }), /*#__PURE__*/react.createElement(LinkTab, {
52612
+ label: translate_translate("utils.style"),
52613
  id: 1,
52614
  page: "style",
52615
  "data-testid": "style-tab",
52617
  className: "fas fa-paint-brush"
52618
  })
52619
  }), /*#__PURE__*/react.createElement(LinkTab, {
52620
+ label: translate_translate("utils.advanced"),
52621
  id: 2,
52622
  page: "advanced",
52623
  "data-testid": "advanced-tab",
52683
 
52684
  return /*#__PURE__*/react.createElement("div", {
52685
  className: (0,clsx_m/* default */.Z)("collapsible-group mdc-card", isOpened && "collapsible-opened", className)
52686
+ }, /*#__PURE__*/react.createElement(esm_Button_Button, CollapsibleGroup_extends({
52687
  onClick: handleClick,
52688
  color: "primary"
52689
  }, groupProps), title, " ", /*#__PURE__*/react.createElement("i", {
52725
  content: tooltip,
52726
  ignorePreference: true,
52727
  disabled: tooltip == null
52728
+ }, /*#__PURE__*/react.createElement(esm_Icon_Icon, {
52729
  color: "primary",
52730
  fontSize: "small",
52731
  className: "fas fa-info-circle"
52774
  setDesktopSelected(desktop);
52775
  }, [mobile, desktop]);
52776
  return /*#__PURE__*/react.createElement(SettingsContainer, {
52777
+ title: translate_translate("settings.show_mobile_desktop.title"),
52778
  fullWidth: false,
52779
  className: "desktop-mobile-visibility"
52780
  }, /*#__PURE__*/react.createElement(Tippy_Tippy, {
52781
+ content: translate_translate("settings.show_mobile_desktop.mobile")
52782
+ }, /*#__PURE__*/react.createElement(esm_Button_Button, {
52783
  className: "buttonMobile",
52784
  onClick: function onClick() {
52785
  var update = !mobileSelected;
52792
  }, /*#__PURE__*/react.createElement("i", {
52793
  className: "fas fa-mobile-alt"
52794
  }))), /*#__PURE__*/react.createElement(Tippy_Tippy, {
52795
+ content: translate_translate("settings.show_mobile_desktop.desktop")
52796
+ }, /*#__PURE__*/react.createElement(esm_Button_Button, {
52797
  onClick: function onClick() {
52798
  var update = !desktopSelected;
52799
  setDesktopSelected(update);
52850
  setPlaceholder(placeholder);
52851
  setUsePlaceholder(true);
52852
  }, [placeholder]);
52853
+ return /*#__PURE__*/react.createElement(esm_TextField_TextField, {
52854
  variant: "outlined",
52855
+ label: translate_translate("settings.label.placeholder"),
52856
  onChange: function onChange(obj) {
52857
  setUsePlaceholder(false);
52858
  setLabel(obj.target.value);
52913
  var isInvalid = value !== "" ? !isEmail_default()(value) : false;
52914
  return /*#__PURE__*/react.createElement("div", {
52915
  className: "button-action-value"
52916
+ }, /*#__PURE__*/react.createElement(esm_TextField_TextField, {
52917
  variant: "outlined",
52918
  fullWidth: true,
52919
  value: value,
52920
  inputProps: {
52921
  "data-testid": "action:field"
52922
  },
52923
+ label: translate_translate("settings.button_action.placeholders.mail.recipient"),
52924
+ helperText: isInvalid ? translate_translate("settings.button_action.actions.mail.invalid") : null,
52925
  error: isInvalid,
52926
  onChange: function onChange(obj) {
52927
  _onChange(obj.target.value);
52928
  }
52929
+ }), /*#__PURE__*/react.createElement(esm_TextField_TextField, {
52930
  variant: "outlined",
52931
  fullWidth: true,
52932
  value: subject,
52933
+ label: translate_translate("settings.button_action.placeholders.mail.subject"),
52934
  onChange: function onChange(obj) {
52935
  _onChange(obj.target.value, "text_subject");
52936
  },
52937
  inputProps: {
52938
  "data-testid": "action:field"
52939
  }
52940
+ }), showCC ? /*#__PURE__*/react.createElement(esm_TextField_TextField, {
52941
  variant: "outlined",
52942
  fullWidth: true,
52943
  value: cc,
52944
+ label: translate_translate("settings.button_action.placeholders.mail.cc"),
52945
  onChange: function onChange(obj) {
52946
  _onChange(obj.target.value, "text_cc");
52947
  }
52948
+ }) : /*#__PURE__*/react.createElement(esm_Button_Button, {
52949
  color: "primary",
52950
  size: "small",
52951
  style: {
52956
  onClick: function onClick() {
52957
  return setShowCC(true);
52958
  }
52959
+ }, "Cc"), showBCC ? /*#__PURE__*/react.createElement(esm_TextField_TextField, {
52960
  variant: "outlined",
52961
  fullWidth: true,
52962
  value: bcc,
52963
+ label: translate_translate("settings.button_action.placeholders.mail.bcc"),
52964
  onChange: function onChange(obj) {
52965
  _onChange(obj.target.value, "text_bcc");
52966
  }
52967
+ }) : /*#__PURE__*/react.createElement(esm_Button_Button, {
52968
  color: "primary",
52969
  size: "small",
52970
  style: {
52975
  return setShowBCC(true);
52976
  },
52977
  startIcon: "+"
52978
+ }, "Bcc"), /*#__PURE__*/react.createElement(esm_TextField_TextField, {
52979
  variant: "outlined",
52980
  fullWidth: true,
52981
  multiline: true,
52984
  "data-testid": "action:field"
52985
  },
52986
  value: body,
52987
+ label: translate_translate("settings.button_action.placeholders.mail.body"),
52988
  onChange: function onChange(obj) {
52989
  _onChange(obj.target.value, "text_body");
52990
  }
53007
  var isValidPhoneNumber = value !== "" ? (0,isMobilePhone/* default */.ZP)(value, "any", {}) : true;
53008
  return /*#__PURE__*/react.createElement("div", {
53009
  className: "button-action-subject"
53010
+ }, /*#__PURE__*/react.createElement(esm_TextField_TextField, {
53011
  variant: "outlined",
53012
  fullWidth: true,
53013
  value: value,
53014
+ helperText: !isValidPhoneNumber ? translate_translate("settings.button_action.actions.phone_number.invalid") : null,
53015
  error: !isValidPhoneNumber,
53016
+ label: translate_translate("settings.button_action.actions.phone_number.number"),
53017
  inputProps: {
53018
  "data-testid": "action:field"
53019
  },
53020
  onChange: function onChange(obj) {
53021
  _onChange(obj.target.value);
53022
  }
53023
+ }), /*#__PURE__*/react.createElement(esm_TextField_TextField, {
53024
  variant: "outlined",
53025
  fullWidth: true,
53026
  multiline: true,
53027
  rows: 4,
53028
  value: body,
53029
+ label: translate_translate("settings.button_action.placeholders.message"),
53030
  inputProps: {
53031
  "data-testid": "action:field"
53032
  },
53141
  className: "button-action-value"
53142
  }, /*#__PURE__*/react.createElement(InputLabel_InputLabel, {
53143
  ref: inputLabel
53144
+ }, translate_translate("settings.button_action.title")), /*#__PURE__*/react.createElement(Select_Select, {
53145
  labelId: "button-action-value",
53146
  value: value,
53147
  onChange: function onChange(e) {
53169
  disableSticky: true,
53170
  value: null,
53171
  className: classes.group
53172
+ }, translate_translate("settings.button_action.actions.social_sharing.popular") + ":"), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53173
  value: "facebook",
53174
  className: classes.item
53175
+ }, translate_translate("settings.button_action.actions.share_page_on", {
53176
  platform: "Facebook"
53177
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53178
  value: "twitter",
53179
  className: classes.item
53180
+ }, translate_translate("settings.button_action.actions.share_page_on", {
53181
  platform: "Twitter"
53182
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53183
  value: "whatsapp",
53184
  className: classes.item
53185
+ }, translate_translate("settings.button_action.actions.share_page_on", {
53186
  platform: "Whatsapp"
53187
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53188
  value: "linkedin",
53189
  className: classes.item
53190
+ }, translate_translate("settings.button_action.actions.share_page_on", {
53191
  platform: "LinkedIn"
53192
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53193
  value: "pinterest",
53194
  className: classes.item
53195
+ }, translate_translate("settings.button_action.actions.share_page_on", {
53196
  platform: "Pinterest"
53197
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53198
  value: "mail",
53199
  className: classes.item
53200
+ }, translate_translate("settings.button_action.actions.share_page_via", {
53201
  platform: "email"
53202
  })), /*#__PURE__*/react.createElement(ListSubheader_ListSubheader, {
53203
  disableSticky: true,
53204
  value: null,
53205
  className: classes.group
53206
+ }, translate_translate("settings.button_action.actions.social_sharing.other") + ":"), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53207
  value: "sms",
53208
  className: classes.item
53209
+ }, translate_translate("settings.button_action.actions.share_page_on", {
53210
  platform: "SMS"
53211
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53212
  value: "reddit",
53213
  className: classes.item
53214
+ }, translate_translate("settings.button_action.actions.share_page_on", {
53215
  platform: "Reddit"
53216
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53217
  value: "tumblr",
53218
  className: classes.item
53219
+ }, translate_translate("settings.button_action.actions.share_page_on", {
53220
  platform: "Tumblr"
53221
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53222
  value: "weibo",
53223
  className: classes.item
53224
+ }, translate_translate("settings.button_action.actions.share_page_on", {
53225
  platform: "Weibo"
53226
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53227
  value: "vk",
53228
  className: classes.item
53229
+ }, translate_translate("settings.button_action.actions.share_page_on", {
53230
  platform: "VK"
53231
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53232
  value: "ok",
53233
  className: classes.item
53234
+ }, translate_translate("settings.button_action.actions.share_page_on", {
53235
  platform: "OK.ru (Odnoklassniki)"
53236
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53237
  value: "xing",
53238
  className: classes.item
53239
+ }, translate_translate("settings.button_action.actions.share_page_on", {
53240
  platform: "Xing"
53241
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53242
  value: "blogger",
53243
  className: classes.item
53244
+ }, translate_translate("settings.button_action.actions.share_page_on", {
53245
  platform: "Blogger"
53246
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53247
  value: "flipboard",
53248
  className: classes.item
53249
+ }, translate_translate("settings.button_action.actions.share_page_on", {
53250
  platform: "Flipboard"
53251
  })), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
53252
  value: "line",
53253
  className: classes.item
53254
+ }, translate_translate("settings.button_action.actions.share_page_on", {
53255
  platform: "Line"
53256
+ }))), valuesWithBody.includes(value) ? /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(esm_TextField_TextField, {
53257
  variant: "outlined",
53258
  fullWidth: true,
53259
  multiline: true,
53261
  onSelect: changeSelection,
53262
  onBlur: removeSelection,
53263
  inputRef: bodyInputRef,
53264
+ label: translate_translate("settings.button_action.placeholders.mail.body"),
53265
  value: body,
53266
  inputProps: {
53267
  "data-testid": "action:field"
53304
  var isValidPhoneNumber = value !== "" ? (0,isMobilePhone/* default */.ZP)(value, "any", {}) : true;
53305
  return /*#__PURE__*/react.createElement("div", {
53306
  className: "button-action-value"
53307
+ }, /*#__PURE__*/react.createElement(esm_TextField_TextField, {
53308
  variant: "outlined",
53309
  fullWidth: true,
53310
  value: value,
53311
+ label: translate_translate("settings.button_action.actions.phone_number.number"),
53312
+ helperText: !isValidPhoneNumber ? translate_translate("settings.button_action.actions.phone_number.invalid") : null,
53313
  error: !isValidPhoneNumber,
53314
  onChange: function onChange(obj) {
53315
  _onChange(obj.target.value);
53317
  inputProps: {
53318
  "data-testid": "action:field"
53319
  }
53320
+ }), /*#__PURE__*/react.createElement(esm_TextField_TextField, {
53321
  variant: "outlined",
53322
  fullWidth: true,
53323
  multiline: true,
53326
  "data-testid": "action:field"
53327
  },
53328
  value: body,
53329
+ label: "SMS" + " " + translate_translate("settings.button_action.placeholders.mail.body"),
53330
  onChange: function onChange(obj) {
53331
  _onChange(obj.target.value, "text_body");
53332
  }
53333
  }), /*#__PURE__*/react.createElement("p", {
53334
  dangerouslySetInnerHTML: {
53335
+ __html: translate_translate("settings.button_action.actions.sms")
53336
  }
53337
  }));
53338
  }
53350
  var check = /^\d+$/;
53351
  return /*#__PURE__*/react.createElement("div", {
53352
  className: "button-action-value"
53353
+ }, /*#__PURE__*/react.createElement(esm_TextField_TextField, {
53354
  variant: "outlined",
53355
  fullWidth: true,
53356
  value: value,
53363
  inputProps: {
53364
  "data-testid": "action:field"
53365
  }
53366
+ }), /*#__PURE__*/react.createElement(esm_TextField_TextField, {
53367
  variant: "outlined",
53368
  fullWidth: true,
53369
  inputProps: {
53372
  multiline: true,
53373
  rows: 4,
53374
  value: body,
53375
+ label: translate_translate("settings.button_action.placeholders.message"),
53376
  onChange: function onChange(obj) {
53377
  _onChange(obj.target.value, "text_body");
53378
  }
53411
  }, []);
53412
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("p", {
53413
  dangerouslySetInnerHTML: {
53414
+ __html: translate_translate("settings.popups.elementor_guide")
53415
  }
53416
  }), /*#__PURE__*/react.createElement("pre", {
53417
  style: {
53423
  padding: "5.5px"
53424
  }
53425
  }, "a[", value.substring(value.length - 3) === "Ev2" ? "buttonizer-popup" : "href", "=\"#", value, "\"]"), /*#__PURE__*/react.createElement(Tippy_Tippy, {
53426
+ content: translate_translate("settings.popups.generate")
53427
+ }, /*#__PURE__*/react.createElement(esm_IconButton_IconButton, {
53428
  onClick: function onClick() {
53429
  onChange("elementor" + uniqueCharset() + "Ev2");
53430
  },
53464
  }, []);
53465
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("p", {
53466
  dangerouslySetInnerHTML: {
53467
+ __html: translate_translate("settings.popups.popup_maker_guide")
53468
  }
53469
  }), /*#__PURE__*/react.createElement("pre", {
53470
  style: {
53476
  padding: "5.5px"
53477
  }
53478
  }, "a[", value.substring(value.length - 3) === "Pv2" ? "buttonizer-popup" : "href", "=\"#", value, "\"]"), /*#__PURE__*/react.createElement(Tippy_Tippy, {
53479
+ content: translate_translate("settings.popups.generate")
53480
+ }, /*#__PURE__*/react.createElement(esm_IconButton_IconButton, {
53481
  onClick: function onClick() {
53482
  onChange("popupMaker" + uniqueCharset() + "Pv2");
53483
  },
53559
  size: "small"
53560
  }, /*#__PURE__*/react.createElement(InputLabel_InputLabel, {
53561
  ref: inputLabel
53562
+ }, translate_translate("settings.button_action.open_url.title")), /*#__PURE__*/react.createElement(Select_Select, {
53563
  onChange: handleChange,
53564
  labelWidth: labelWidth,
53565
  className: "open-url-in",
53622
  var isValidPhoneNumber = checkPhoneNumber ? value !== "" ? (0,isMobilePhone/* default */.ZP)(value, "any", {}) : true : true;
53623
  return /*#__PURE__*/react.createElement("div", {
53624
  className: "button-action-value"
53625
+ }, /*#__PURE__*/react.createElement(esm_TextField_TextField, {
53626
  variant: "outlined",
53627
  fullWidth: true,
53628
  inputProps: {
53660
  components: {
53661
  bold: /*#__PURE__*/react.createElement("strong", null)
53662
  }
53663
+ }) : translate_translate("utils.visit_knowledgebase"));
53664
  }
53665
  ;// CONCATENATED MODULE: ./src/js/dashboard/Components/Settings/ButtonAction/ButtonActionValue/MessengerChat/MessengerLanguageCodes.json
53666
  var MessengerLanguageCodes_namespaceObject = JSON.parse('{"af_ZA":"Afrikaans","ar_AR":"Arabic","az_AZ":"Azerbaijani","be_BY":"Belarusian","bg_BG":"Bulgarian","bn_IN":"Bengali","bs_BA":"Bosnian","ca_ES":"Catalan","cs_CZ":"Czech","cy_GB":"Welsh","da_DK":"Danish","de_DE":"German","el_GR":"Greek","en_GB":"English (UK)","en_PI":"English (Pirate)","en_UD":"English (Upside Down)","en_US":"English (US)","eo_EO":"Esperanto","es_ES":"Spanish (Spain)","es_LA":"Spanish","et_EE":"Estonian","eu_ES":"Basque","fa_IR":"Persian","fb_LT":"Leet Speak","fi_FI":"Finnish","fo_FO":"Faroese","fr_CA":"French (Canada)","fr_FR":"French (France)","fy_NL":"Frisian","ga_IE":"Irish","gl_ES":"Galician","he_IL":"Hebrew","hi_IN":"Hindi","hr_HR":"Croatian","hu_HU":"Hungarian","hy_AM":"Armenian","id_ID":"Indonesian","is_IS":"Icelandic","it_IT":"Italian","ja_JP":"Japanese","ka_GE":"Georgian","km_KH":"Khmer","ko_KR":"Korean","ku_TR":"Kurdish","la_VA":"Latin","lt_LT":"Lithuanian","lv_LV":"Latvian","mk_MK":"Macedonian","ml_IN":"Malayalam","ms_MY":"Malay","nb_NO":"Norwegian (bokmal)","ne_NP":"Nepali","nl_NL":"Dutch","nn_NO":"Norwegian (nynorsk)","pa_IN":"Punjabi","pl_PL":"Polish","ps_AF":"Pashto","pt_BR":"Portuguese (Brazil)","pt_PT":"Portuguese (Portugal)","ro_RO":"Romanian","ru_RU":"Russian","sk_SK":"Slovak","sl_SI":"Slovenian","sq_AL":"Albanian","sr_RS":"Serbian","sv_SE":"Swedish","sw_KE":"Swahili","ta_IN":"Tamil","te_IN":"Telugu","th_TH":"Thai","tl_PH":"Filipino","tr_TR":"Turkish","uk_UA":"Ukrainian","vi_VN":"Vietnamese","zh_CN":"Simplified Chinese (China)","zh_HK":"Traditional Chinese (Hong Kong)","zh_TW":"Traditional Chinese (Taiwan)"}');
53748
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(DefaultTextField, {
53749
  value: data.action,
53750
  check: /^\d+$/,
53751
+ checkText: translate_translate("settings.button_action.actions.messenger_chat.invalid"),
53752
+ placeholder: translate_translate("settings.button_action.actions.messenger_chat.page_id"),
53753
  paragraph: /*#__PURE__*/react.createElement("p", null, /*#__PURE__*/react.createElement(Trans, {
53754
  i18nKey: "settings.button_action.actions.messenger_chat.description",
53755
  components: {
53778
  }
53779
  }, /*#__PURE__*/react.createElement(InputLabel_InputLabel, {
53780
  ref: inputLabel
53781
+ }, translate_translate("settings.button_action.actions.messenger_chat.language")), /*#__PURE__*/react.createElement(Select_Select, {
53782
  value: data.messenger_lang || "en_US",
53783
  onChange: function onChange(e) {
53784
  _onChange(e.target.value, "messenger_lang");
53864
  multiple: true,
53865
  size: "small",
53866
  id: "tags-outlined",
53867
+ clearText: translate_translate("utils.clear"),
53868
  "data-testid": "button-action-rel",
53869
  options: ["noreferrer", "nofollow", "noopener", "help", "prev", "next", "external", "alternate"],
53870
  getOptionLabel: function getOptionLabel(option) {
53898
  "data-testid": "button-action-rel-select-icon"
53899
  }),
53900
  renderInput: function renderInput(params) {
53901
+ return /*#__PURE__*/react.createElement(esm_TextField_TextField, ButtonActionRelAttributes_extends({}, params, {
53902
  variant: "outlined",
53903
+ label: translate_translate("settings.button_action.rel_attributes.title"),
53904
+ placeholder: translate_translate("settings.button_action.rel_attributes.placeholder"),
53905
  helperText: /*#__PURE__*/react.createElement(KnowledgeBaseLink, {
53906
  articleId: 519,
53907
+ setting: translate_translate("settings.button_action.rel_attributes.title"),
53908
  size: "small"
53909
  }),
53910
  InputProps: ButtonActionRelAttributes_objectSpread(ButtonActionRelAttributes_objectSpread({}, params.InputProps), {}, {
53915
  });
53916
  }
53917
  // EXTERNAL MODULE: ./node_modules/validator/lib/isURL.js
53918
+ var lib_isURL = __webpack_require__(66823);
53919
+ var isURL_default = /*#__PURE__*/__webpack_require__.n(lib_isURL);
53920
  ;// CONCATENATED MODULE: ./src/js/utils/isValidURL.js
53921
 
53922
  function isValidURL(value) {
53974
  }, []);
53975
  return /*#__PURE__*/react.createElement("div", {
53976
  className: "button-action-value"
53977
+ }, /*#__PURE__*/react.createElement(esm_TextField_TextField, {
53978
  variant: "outlined",
53979
  fullWidth: true,
53980
  value: value,
53981
  label: placeholder,
53982
+ helperText: hasDomainError && /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("p", null, translate_translate("settings.button_action.actions.url.invalid")), /*#__PURE__*/react.createElement("p", {
53983
  dangerouslySetInnerHTML: {
53984
+ __html: translate_translate("settings.button_action.actions.url.invalid_tip")
53985
  }
53986
  })),
53987
  FormHelperTextProps: {
54375
  id: "pages-action-input",
54376
  "data-testid": "action:pages-action-input",
54377
  options: loading ? [] : store.getState().wp.data["pages"],
54378
+ loadingText: translate_translate("loading.loading"),
54379
  getOptionLabel: function getOptionLabel(option) {
54380
  return selected && option.id == selected.id ? "".concat(option.type, ": ").concat(option.name) : option.name;
54381
  },
54394
 
54395
  _onChange(value.id, "action");
54396
  },
54397
+ noOptionsText: translate_translate("utils.search_not_found"),
54398
  renderInput: function renderInput(params) {
54399
+ return /*#__PURE__*/react.createElement(esm_TextField_TextField, Page_extends({}, params, {
54400
  variant: "outlined",
54401
+ label: translate_translate("settings.button_action.actions.page.name"),
54402
+ placeholder: translate_translate("settings.button_action.actions.page.placeholder"),
54403
  disabled: loading,
54404
+ helperText: translate_translate("settings.button_action.actions.page.helper"),
54405
  InputProps: Page_objectSpread(Page_objectSpread({}, params.InputProps), {}, {
54406
  "data-testid": "action:autocomplete-input",
54407
  endAdornment: /*#__PURE__*/react.createElement(react.Fragment, null, loading ? /*#__PURE__*/react.createElement(CircularProgress_CircularProgress, {
54418
  }
54419
  }), /*#__PURE__*/react.createElement(KnowledgeBaseLink, {
54420
  articleId: 580,
54421
+ setting: translate_translate("settings.button_action.actions.page.name")
54422
  }));
54423
  }
54424
 
56205
  if (navigator.clipboard) {
56206
  navigator.clipboard.writeText(ref.current.value); // Show code copied message
56207
 
56208
+ enqueueSnackbar(translate_translate("utils.code_copied"), {
56209
  anchorOrigin: {
56210
  vertical: "top",
56211
  horizontal: "left"
56217
  // Not PRO
56218
 
56219
 
56220
+ return /*#__PURE__*/react.createElement(esm_Button_Button, {
56221
  variant: "contained",
56222
  color: "primary",
56223
  fullWidth: true,
56280
  case "phone":
56281
  return /*#__PURE__*/react.createElement(DefaultTextField, {
56282
  value: button.action,
56283
+ placeholder: translate_translate("settings.button_action.actions.phone_number.number"),
56284
  checkPhoneNumber: true,
56285
+ checkText: translate_translate("settings.button_action.actions.phone_number.invalid"),
56286
  onChange: function onChange(val, type) {
56287
  _onChange(val, type);
56288
  }
56378
  value: button.action,
56379
  placeholder: "+00123456789",
56380
  checkPhoneNumber: true,
56381
+ checkText: translate_translate("settings.button_action.actions.phone_number.invalid"),
56382
+ paragraph: /*#__PURE__*/react.createElement("p", null, translate_translate("settings.button_action.actions.viber")),
56383
  onChange: function onChange(val, type) {
56384
  _onChange(val, type);
56385
  }
56396
  case "linkedin":
56397
  return /*#__PURE__*/react.createElement(DefaultTextField, {
56398
  value: button.action,
56399
+ placeholder: '"company/COMPANY-NAME" ' + translate_translate("common.or") + ' "in/USERNAME"',
56400
  onChange: function onChange(val, type) {
56401
  _onChange(val, type);
56402
  }
56492
  case "vk":
56493
  return /*#__PURE__*/react.createElement(DefaultTextField, {
56494
  value: button.action,
56495
+ placeholder: translate_translate("settings.button_action.placeholders.username"),
56496
  onChange: function onChange(val, type) {
56497
  _onChange(val, type);
56498
  }
56603
  "data-testid": "button-action"
56604
  }, /*#__PURE__*/react.createElement(ConfirmDialog, {
56605
  open: cancelChange.open,
56606
+ title: translate_translate("settings.button_action.actions.javascript.warning_modal_title"),
56607
  icon: /*#__PURE__*/react.createElement("i", {
56608
  className: "fas fa-exclamation window-icon"
56609
  }),
56622
  },
56623
  buttons: [{
56624
  value: "cancel",
56625
+ text: translate_translate("modal.changed_my_mind")
56626
  }, {
56627
  value: "confirm",
56628
+ text: translate_translate("modal.yes_please"),
56629
  variant: "contained"
56630
  }],
56631
  testId: "button-action-javascript-dialog"
56632
+ }, /*#__PURE__*/react.createElement("p", null, translate_translate("settings.button_action.actions.javascript.warning_intro")), /*#__PURE__*/react.createElement("p", null, translate_translate("settings.button_action.actions.javascript.warning_question"))), /*#__PURE__*/react.createElement(Autocomplete_Autocomplete, {
56633
  id: "button-action-selector",
56634
  "data-testid": "setting:button-action-select",
56635
  options: ButtonActionOptions,
56659
  },
56660
  getOptionLabel: function getOptionLabel(option) {
56661
  /* webpack-strip-block:removed */
56662
+ if (option.isPro) return "".concat(translate_translate(option.label), " (PRO)");
56663
+ return translate_translate(option.label);
56664
  },
56665
  getOptionDisabled: function getOptionDisabled(option) {
56666
  /* webpack-strip-block:removed */
56667
  return option.isPro;
56668
  },
56669
  groupBy: function groupBy(option) {
56670
+ return translate_translate("settings.button_action.actions.group_".concat(option.group));
56671
  },
56672
+ noOptionsText: translate_translate("utils.search_not_found"),
56673
  renderInput: function renderInput(params) {
56674
+ return /*#__PURE__*/react.createElement(esm_TextField_TextField, ButtonAction_extends({}, params, {
56675
+ label: translate_translate("settings.button_action.title"),
56676
  variant: "outlined"
56677
  }));
56678
  }
56901
  setOpenedGroup(openCollapsibleGroup ? openCollapsibleGroup : "button_general_general");
56902
  }, [openCollapsibleGroup]);
56903
  return /*#__PURE__*/react.createElement("div", null, /*#__PURE__*/react.createElement(CollapsibleGroup, {
56904
+ title: translate_translate("settings.setting_categories.general"),
56905
  opened: openedGroup === "button_general_general",
56906
  onSetIsOpened: function onSetIsOpened(val) {
56907
  return setOpenedGroup(val ? "button_general_general" : "");
56909
  "data-testid": "group:general"
56910
  }, /*#__PURE__*/react.createElement("div", {
56911
  className: "setting-group-title"
56912
+ }, translate_translate("settings.button_action.title")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(ButtonAction, {
56913
  actionType: get("type", {
56914
  returnDefault: true
56915
  }),
56920
  action: get("action")
56921
  }), /*#__PURE__*/react.createElement("div", {
56922
  className: "setting-group-title"
56923
+ }, translate_translate("settings.show_mobile_desktop.device_visibility")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(Visibility, {
56924
  mobile: get("show_mobile") == true,
56925
  desktop: get("show_desktop") == true,
56926
  onChange: function onChange(type, val) {
56927
  return set(type, val);
56928
  }
56929
  })), /*#__PURE__*/react.createElement(CollapsibleGroup, {
56930
+ title: translate_translate("settings.label.title"),
56931
  opened: openedGroup === "button_general_label",
56932
  onSetIsOpened: function onSetIsOpened(val) {
56933
  return setOpenedGroup(val ? "button_general_label" : "");
56935
  "data-testid": "group:label"
56936
  }, /*#__PURE__*/react.createElement("div", {
56937
  className: "setting-group-title"
56938
+ }, translate_translate("settings.setting_categories.label")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(Label, {
56939
  value: get("label"),
56940
  onChange: function onChange(val) {
56941
  if (val === "") return set("label", "unset");
59008
  "data-testid": "icon-frame"
59009
  }, /*#__PURE__*/react.createElement("div", {
59010
  className: "header"
59011
+ }, /*#__PURE__*/react.createElement(esm_TextField_TextField, {
59012
  value: keyword,
59013
  fullWidth: true,
59014
  variant: "outlined",
59015
  inputProps: {
59016
  "data-testid": "search-field"
59017
  },
59018
+ placeholder: translate_translate("utils.icon_selector.search_icon"),
59019
  onChange: function onChange(e) {
59020
  setKeyword(e.target.value);
59021
  }
59054
  style: {
59055
  fontFamily: "Arial, Helvetica, sans-serif"
59056
  }
59057
+ }, translate_translate("utils.icon_selector.loading"))), keyword !== "" && /*#__PURE__*/react.createElement("p", {
59058
  className: "search-results"
59059
  }, /*#__PURE__*/react.createElement("span", null, /*#__PURE__*/react.createElement(Trans, {
59060
  i18nKey: "utils.icon_selector.searching_for",
59071
  e.preventDefault();
59072
  setKeyword("");
59073
  }
59074
+ }, translate_translate("utils.icon_selector.remove_filter"))), /*#__PURE__*/react.createElement("div", {
59075
  className: "icon-list",
59076
  style: {
59077
  overflowX: "overlay"
59350
  (0,react.useEffect)(function () {
59351
  setCurrentSelectedIcon(startingValue);
59352
  }, [startingValue]);
59353
+ return /*#__PURE__*/react.createElement(esm_Dialog_Dialog, {
59354
  open: dialogOpened,
59355
  onClose: function onClose() {
59356
  return handleClose("cancel");
59359
  fullWidth: true,
59360
  "aria-labelledby": "alert-dialog-title",
59361
  "aria-describedby": "alert-dialog-description"
59362
+ }, /*#__PURE__*/react.createElement(esm_DialogTitle_DialogTitle, {
59363
  id: "alert-dialog-title"
59364
+ }, translate_translate("utils.icon_selector.title")), /*#__PURE__*/react.createElement(esm_DialogContent_DialogContent, null, /*#__PURE__*/react.createElement(DialogContentText_DialogContentText, {
59365
  id: "alert-dialog-description",
59366
  component: "div"
59367
  }, dialogOpened && /*#__PURE__*/react.createElement(IconPickerDialog_DemoFrame, {
59377
  onSelect: function onSelect(icon) {
59378
  setCurrentSelectedIcon(icon);
59379
  }
59380
+ })))), /*#__PURE__*/react.createElement(esm_DialogActions_DialogActions, null, /*#__PURE__*/react.createElement(esm_IconButton_IconButton, {
59381
  color: "primary",
59382
  onClick: function onClick() {
59383
  setCurrentSelectedIcon("unset");
59384
  handleClose("confirm", "unset");
59385
  },
59386
  "data-testid": "delete"
59387
+ }, /*#__PURE__*/react.createElement(esm_Icon_Icon, {
59388
  className: "fas fa-trash"
59389
+ })), /*#__PURE__*/react.createElement(esm_Button_Button, {
59390
  onClick: function onClick() {
59391
  return handleClose("cancel", currentSelectedIcon);
59392
  },
59393
  color: "primary"
59394
+ }, translate_translate("modal.cancel")), /*#__PURE__*/react.createElement(esm_Button_Button, {
59395
  onClick: function onClick() {
59396
  return handleClose("confirm", currentSelectedIcon);
59397
  },
59398
  color: "primary"
59399
+ }, translate_translate("common.select"))));
59400
  }
59401
  ;// CONCATENATED MODULE: ./src/js/dashboard/Utils/generateIconLibraryStylesheet.js
59402
  // Get current icon library
59476
  return generateIconLibraryStylesheet(icon_library, icon_library_version, icon_library_code);
59477
  }, [icon_library, icon_library_version, icon_library_code]);
59478
 
59479
+ var handleClick = function handleClick(e) {
59480
+ if (hoverDisabled) app.showPremiumDialog(e.currentTarget);else setDialogOpened(true);
59481
  };
59482
 
59483
  return /*#__PURE__*/react.createElement(SettingsContainer, {
59484
+ title: translate_translate("settings.icon.title"),
59485
  className: "form-icon-selector"
59486
  }, /*#__PURE__*/react.createElement("div", {
59487
  className: "selector",
59488
+ onClick: function onClick(e) {
59489
+ return handleClick(e);
59490
  }
59491
  }, /*#__PURE__*/react.createElement("div", {
59492
  className: "viewer",
59498
  }, /*#__PURE__*/react.createElement(IconPickerDialog_DemoFrame, {
59499
  head: /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("style", null, IconSelector_stylesheet), memoizedStylesheet)
59500
  }, /*#__PURE__*/react.createElement("div", {
59501
+ onClick: function onClick(e) {
59502
+ return handleClick(e);
59503
  },
59504
  style: {
59505
  height: "65px",
59510
  }
59511
  }, /*#__PURE__*/react.createElement("i", {
59512
  className: value
59513
+ })))), /*#__PURE__*/react.createElement(esm_Button_Button, {
59514
  disabled: hoverDisabled,
59515
  "data-testid": "setting:open-icon-picker",
59516
+ onClick: function onClick(e) {
59517
+ return handleClick(e);
59518
  },
59519
  color: "primary",
59520
  component: "span",
59521
  variant: "contained"
59522
+ }, translate_translate("settings.icon.select"))), /*#__PURE__*/react.createElement(IconPickerDialog, {
59523
  memoizedStylesheet: memoizedStylesheet,
59524
  onClose: function onClose(val) {
59525
  if (!!val) onChange(val);
69779
  onClick: onClick,
69780
  onHover: onSwatchHover,
69781
  title: null
69782
+ }, children == null ? /*#__PURE__*/react.createElement(esm_Icon_Icon, {
69783
  className: "fas fa-check",
69784
  style: styles.check
69785
  }) : children)));
69835
  }), swatches.length < 20 ? /*#__PURE__*/react.createElement(CustomSwatch, {
69836
  color: "#FFFFFF",
69837
  onClick: handleNewSwatch,
69838
+ title: translate_translate("settings.color_picker.new_swatch_description"),
69839
  extraProps: {
69840
  "data-testid": "new-swatch"
69841
  }
69842
+ }, /*#__PURE__*/react.createElement(esm_Icon_Icon, {
69843
  className: "fas fa-plus",
69844
  style: {
69845
  fontSize: "1rem",
70037
  }
70038
  }, /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
70039
  value: "solid"
70040
+ }, translate_translate("settings.color_picker.options.solid")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
70041
  disabled: true,
70042
  value: "linear"
70043
+ }, translate_translate("settings.color_picker.options.linear"), /*#__PURE__*/react.createElement(PremiumTag, null)), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
70044
  disabled: true,
70045
  value: "radial"
70046
+ }, translate_translate("settings.color_picker.options.radial"), /*#__PURE__*/react.createElement(PremiumTag, null)));
70047
  };
70048
 
70049
  return /*#__PURE__*/react.createElement("div", {
70286
  swatches: swatches,
70287
  setSwatches: setSwatches,
70288
  color: palette
70289
+ })), /*#__PURE__*/react.createElement(esm_Button_Button, {
70290
  className: "color-button",
70291
  variant: "contained",
70292
  size: "small",
71490
  },
71491
  value: sliderDisabled ? defaultValue : typeof sliderValue === "number" ? sliderValue : Number(sliderValue),
71492
  disabled: disabled || sliderDisabled,
71493
+ onMouseDown: function onMouseDown(e) {
71494
  if (premium) {
71495
+ app.showPremiumDialog(e.currentTarget);
71496
  return;
71497
  }
71498
 
71511
  margin: "dense",
71512
  onChange: handleInputChange,
71513
  disabled: disabled,
71514
+ onClick: function onClick(e) {
71515
+ if (premium) app.showPremiumDialog(e.currentTarget);
71516
  },
71517
  placeholder: sliderDisabled ? "".concat(defaultValue) : "",
71518
  endAdornment: inputText ? /*#__PURE__*/react.createElement(InputAdornment_InputAdornment, {
71589
  var handleChange = function handleChange(e) {
71590
  /* webpack-strip-block:removed */
71591
  if (e.target.value === "image") {
71592
+ app.showPremiumDialog(e.currentTarget, translate_translate("premium.custom_image"));
71593
  return;
71594
  }
71595
 
71606
  style: {
71607
  marginRight: 10
71608
  }
71609
+ }), translate_translate("common.off")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
71610
  value: "icon",
71611
  key: 1
71612
  }, /*#__PURE__*/react.createElement("i", {
71614
  style: {
71615
  marginRight: 10
71616
  }
71617
+ }), translate_translate("utils.icon")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
71618
  value: "image",
71619
  style: {
71620
  opacity: 0.5
71625
  style: {
71626
  marginRight: 10
71627
  }
71628
+ }), translate_translate("utils.image"), " ", /*#__PURE__*/react.createElement(PremiumTag, null))];
71629
  };
71630
 
71631
  return /*#__PURE__*/react.createElement(SettingsContainer, {
71632
+ title: translate_translate("common.type"),
71633
  className: "icon-or-image"
71634
  }, /*#__PURE__*/react.createElement(FormControl_FormControl, {
71635
  variant: "outlined",
71637
  size: "small"
71638
  }, /*#__PURE__*/react.createElement(InputLabel_InputLabel, {
71639
  ref: inputLabel
71640
+ }, translate_translate("settings.icon_or_image.label")), /*#__PURE__*/react.createElement(Select_Select, {
71641
  onChange: handleChange,
71642
  labelWidth: labelWidth,
71643
  value: value,
71685
  return /*#__PURE__*/react.createElement("div", {
71686
  className: (0,clsx_m/* default */.Z)("disable-setting ".concat(condition ? "disabled" : ""), className),
71687
  "data-testid": "disable-setting",
71688
+ onClick: function onClick(e) {
71689
  if (_onClick && condition) {
71690
+ _onClick(e);
71691
  }
71692
  },
71693
  disabled: condition
71778
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(DisableSetting, {
71779
  condition: hoverSettings === 1,
71780
  premiumTag: true,
71781
+ onClick: function onClick(e) {
71782
+ app.showPremiumDialog(e.currentTarget);
71783
  }
71784
  }, /*#__PURE__*/react.createElement(IconSelector_IconSelector, {
71785
  value: icon[0],
71788
  },
71789
  hoverDisabled: hoverSettings === 1
71790
  })), /*#__PURE__*/react.createElement(ColorPicker, {
71791
+ title: translate_translate("utils.color"),
71792
  value: color[hoverSettings],
71793
  defaultValue: get("icon_color", {
71794
  returnDefault: true,
71811
  return /*#__PURE__*/react.createElement(DisableSetting, {
71812
  condition: hoverSettings === 1,
71813
  premiumTag: true,
71814
+ onClick: function onClick(e) {
71815
+ app.showPremiumDialog(e.currentTarget);
71816
  }
71817
  }, /*#__PURE__*/react.createElement(SliderContainer, {
71818
+ title: translate_translate("settings.icon_size.title"),
71819
  value: icon_size[0],
71820
  defaultValue: get("icon_size", {
71821
  returnDefault: true,
71836
  };
71837
 
71838
  return /*#__PURE__*/react.createElement(CollapsibleGroup, IconGroup_extends({
71839
+ title: translate_translate("utils.icon"),
71840
  "data-testid": "group:icon"
71841
  }, groupProps), iconType(), get("icon_type", {
71842
  defToGroup: false,
72007
 
72008
  var setting = function setting() {
72009
  /* webpack-strip-block:removed */
72010
+ return /*#__PURE__*/react.createElement(Autocomplete_Autocomplete, {
 
 
 
 
72011
  style: {
72012
  marginBottom: 15
72013
  },
72015
  disabled: true,
72016
  size: "medium",
72017
  id: "tags-outlined",
72018
+ clearText: translate_translate("utils.clear"),
72019
+ loadingText: translate_translate("loading.loading"),
72020
  "data-testid": "font-family",
72021
  options: fontList,
72022
  filterSelectedOptions: true,
72031
  "data-testid": "font-family-select-icon"
72032
  }),
72033
  renderInput: function renderInput(params) {
72034
+ return /*#__PURE__*/react.createElement(esm_TextField_TextField, FontFamily_extends({}, params, {
72035
  variant: "outlined",
72036
+ label: translate_translate("settings.font_family.title"),
72037
+ placeholder: translate_translate("settings.font_family.placeholder"),
72038
  InputProps: FontFamily_objectSpread(FontFamily_objectSpread({}, params.InputProps), {}, {
72039
  "data-testid": "font-family-input"
72040
  }),
72041
  className: "label-font-family"
72042
  }));
72043
  }
72044
+ });
72045
  };
72046
 
72047
  return setting();
72191
  transform: "translateY(-10px)",
72192
  textAlign: "center"
72193
  }
72194
+ }, /*#__PURE__*/react.createElement(esm_IconButton_IconButton, {
72195
  color: "primary",
72196
  className: classes.iconButton,
72197
  "data-testid": "textfield-corners-pixel",
72198
  disabled: true
72199
+ }, "PX"), /*#__PURE__*/react.createElement(esm_IconButton_IconButton, {
72200
  color: "primary",
72201
  className: classes.iconButton,
72202
  "data-testid": "textfield-corners-percent",
72217
  title: title,
72218
  fullWidth: true
72219
  }, values.map(function (val, key) {
72220
+ return /*#__PURE__*/react.createElement(esm_TextField_TextField, TextFieldCorners_extends({
72221
  value: val,
72222
  className: "textfield-corners-input",
72223
  margin: "dense",
72229
  return handleChange(key, e.target.value.replace(/^0+(\.?\d+)/, "$1").replace(/[^0-9]/gm, ""));
72230
  }
72231
  }, arrayProps[key]));
72232
+ }), /*#__PURE__*/react.createElement(esm_Button_Button, {
72233
  color: "primary",
72234
  variant: linked ? "contained" : "outlined",
72235
  className: classes.button,
72250
 
72251
  function BorderRadius(props) {
72252
  return /*#__PURE__*/react.createElement(TextFieldCorners, BorderRadius_extends({
72253
+ title: translate_translate("settings.border_radius.title"),
72254
  type: "corners"
72255
  }, props));
72256
  }
72293
  style: {
72294
  display: "none"
72295
  }
72296
+ }, translate_translate("settings.label_styles.group_default")), device === "desktop" ? [/*#__PURE__*/react.createElement(MenuItem_MenuItem, {
72297
  value: "always",
72298
  key: "always"
72299
+ }, translate_translate("settings.label_styles.always")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
72300
  value: "hover",
72301
  key: "hover"
72302
+ }, translate_translate("settings.label_styles.hover")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
72303
  value: "hide",
72304
  key: "hide"
72305
+ }, translate_translate("settings.label_styles.hide"))] : [/*#__PURE__*/react.createElement(MenuItem_MenuItem, {
72306
  value: "always",
72307
  key: "always"
72308
+ }, translate_translate("settings.label_styles.always")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
72309
  value: "hide",
72310
  key: "hide"
72311
+ }, translate_translate("settings.label_styles.hide"))])), trashButton ? /*#__PURE__*/react.createElement(TrashButton, {
72312
  onClick: function onClick() {
72313
  return _onChange("unset");
72314
  },
72573
  _ref$enabled = _ref.enabled,
72574
  enabled = _ref$enabled === void 0 ? true : _ref$enabled,
72575
  _ref$title = _ref.title,
72576
+ title = _ref$title === void 0 ? translate_translate("settings.box_shadow.title") : _ref$title,
72577
  _onChange = _ref.onChange,
72578
  _ref$defaultValue = _ref.defaultValue,
72579
  defaultValue = _ref$defaultValue === void 0 ? "0px 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px 0px rgba(0, 0, 0, 0)" : _ref$defaultValue,
72744
  value = _ref4$value === void 0 ? "" : _ref4$value,
72745
  def = _ref4.def,
72746
  _onChange2 = _ref4.onChange;
72747
+ return /*#__PURE__*/react.createElement(esm_TextField_TextField, {
72748
  key: key,
72749
  value: value,
72750
  type: "number",
73107
  component: ButtonGroup_ButtonGroup,
73108
  color: "primary",
73109
  className: (0,clsx_m/* default */.Z)("position-buttons position-horizontal")
73110
+ }, /*#__PURE__*/react.createElement(esm_Button_Button, {
73111
  color: "primary",
73112
  variant: labelPosition === "right" ? "contained" : "outlined",
73113
  onClick: function onClick() {
73116
  },
73117
  "data-testid": "setting:position-label-left",
73118
  size: "small"
73119
+ }, translate_translate("settings.label_position.directions.left")), /*#__PURE__*/react.createElement(esm_Button_Button, {
73120
  color: "primary",
73121
  variant: labelPosition === "auto" || !labelPosition ? "contained" : "outlined",
73122
  onClick: function onClick() {
73125
  },
73126
  "data-testid": "setting:position-label-auto",
73127
  size: "small"
73128
+ }, translate_translate("settings.label_position.directions.auto")), /*#__PURE__*/react.createElement(esm_Button_Button, {
73129
  color: "primary",
73130
  variant: labelPosition === "left" ? "contained" : "outlined",
73131
  onClick: function onClick() {
73134
  },
73135
  "data-testid": "setting:position-label-right",
73136
  size: "small"
73137
+ }, translate_translate("settings.label_position.directions.right")))), /*#__PURE__*/react.createElement(TrashButton, {
73138
  "data-testid": "delete-label-position-value",
73139
  onClick: function onClick() {
73140
  onChange("unset");
73198
  var fontFamily = function fontFamily() {
73199
  /* webpack-strip-block:removed */
73200
  return /*#__PURE__*/react.createElement(DisableSetting, {
73201
+ premiumTag: true,
73202
+ onClick: function onClick(e) {
73203
+ return app.showPremiumDialog(e.currentTarget, translate_translate("premium.font_family"));
73204
+ }
73205
  }, /*#__PURE__*/react.createElement(FontFamily, null));
73206
  };
73207
 
73228
  /* webpack-strip-block:removed */
73229
  return /*#__PURE__*/react.createElement(DisableSetting, {
73230
  premiumTag: true,
73231
+ onClick: function onClick(e) {
73232
+ app.showPremiumDialog(e.currentTarget, translate_translate("premium.margin"), "top", "bottom");
73233
  }
73234
  }, /*#__PURE__*/react.createElement(TextFieldCorners, {
73235
+ title: translate_translate("settings.margin.title") + " (PRO)",
73236
  type: "sides"
73237
  }));
73238
  };
73241
  /* webpack-strip-block:removed */
73242
  return /*#__PURE__*/react.createElement(DisableSetting, {
73243
  premiumTag: true,
73244
+ onClick: function onClick(e) {
73245
+ app.showPremiumDialog(e.currentTarget, translate_translate("premium.padding"), "top", "bottom");
73246
  }
73247
  }, /*#__PURE__*/react.createElement(TextFieldCorners, {
73248
+ title: translate_translate("settings.padding.title") + " (PRO)",
73249
  type: "sides"
73250
  }));
73251
  };
73262
  return /*#__PURE__*/react.createElement(DisableSetting, {
73263
  condition: hoverSettings === 1,
73264
  premiumTag: true,
73265
+ onClick: function onClick(e) {
73266
+ app.showPremiumDialog(e.currentTarget);
73267
  }
73268
  }, /*#__PURE__*/react.createElement(SliderContainer, {
73269
+ title: translate_translate("settings.font_size"),
73270
  "data-testid": "styling:font_size",
73271
  value: label_font_size[0],
73272
  inputText: "px",
73291
  return /*#__PURE__*/react.createElement(DisableSetting, {
73292
  condition: hoverSettings === 1,
73293
  premiumTag: true,
73294
+ onClick: function onClick(e) {
73295
+ app.showPremiumDialog(e.currentTarget);
73296
  }
73297
  }, /*#__PURE__*/react.createElement(BorderRadius, {
73298
  defaultValue: label_border_radius_parent[0],
73354
  defToGroup: true
73355
  });
73356
  return /*#__PURE__*/react.createElement(CollapsibleGroup, LabelGroup_extends({
73357
+ title: translate_translate("settings.label.title"),
73358
  "data-testid": "group:label"
73359
  }, groupProps), /*#__PURE__*/react.createElement("div", {
73360
  className: "setting-group-title"
73365
  className: "label-device-visibility"
73366
  }, /*#__PURE__*/react.createElement("div", {
73367
  className: "setting-group-title"
73368
+ }, translate_translate("settings.label_desktop.title")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(LabelVisibility, {
73369
+ title: translate_translate("settings.show_mobile_desktop.desktop"),
73370
  device: "desktop",
73371
  value: get("show_label_desktop", {
73372
  returnDefault: true,
73377
  },
73378
  trashButton: true
73379
  }), /*#__PURE__*/react.createElement(LabelVisibility, {
73380
+ title: translate_translate("settings.show_mobile_desktop.mobile"),
73381
  device: "mobile",
73382
  value: get("show_label_mobile", {
73383
  returnDefault: true,
73389
  trashButton: true
73390
  })), /*#__PURE__*/react.createElement("div", {
73391
  className: "setting-group-title"
73392
+ }, translate_translate("settings.label_position.title")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(LabelPosition, {
73393
+ title: translate_translate("settings.label_position.description"),
73394
  value: get("horizontal_position_label"),
73395
  defaultValue: get("horizontal_position_label", {
73396
  returnDefault: true,
73423
  "data-testid": "normal_hover:hover"
73424
  })), /*#__PURE__*/react.createElement("div", {
73425
  className: "setting-group-title"
73426
+ }, translate_translate("utils.text")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(ColorPicker, {
73427
  noGradient: true,
73428
+ title: translate_translate("utils.color"),
73429
  value: label_color[hoverSettings],
73430
  defaultValue: label_color_parent[hoverSettings],
73431
  onChange: function onChange(val) {
73438
  returnDefault: true
73439
  }) ? null : /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
73440
  className: "setting-group-title"
73441
+ }, translate_translate("utils.background")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(ColorPicker, {
73442
+ title: translate_translate("utils.color"),
73443
  value: label_background_color[hoverSettings],
73444
  defaultValue: label_background_color_parent[hoverSettings],
73445
  onChange: function onChange(val) {
73506
 
73507
  if (disabled) return /*#__PURE__*/react.createElement(DisableSetting, {
73508
  premiumTag: true,
73509
+ onClick: function onClick(e) {
73510
+ return app.showPremiumDialog(e.currentTarget, translate_translate("premium.modal.list.custom_images"));
73511
  }
73512
  }, /*#__PURE__*/react.createElement(SettingsContainer, {
73513
+ title: /*#__PURE__*/react.createElement(react.Fragment, null, translate_translate("settings.background_image.title")),
73514
  fullWidth: false
73515
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
73516
  checked: false,
73525
  };
73526
 
73527
  return /*#__PURE__*/react.createElement(SettingsContainer, {
73528
+ title: translate_translate("settings.background_image.title"),
73529
  fullWidth: false
73530
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
73531
  checked: value,
73605
  /* webpack-strip-block:removed */
73606
 
73607
  return /*#__PURE__*/react.createElement(ColorPicker, {
73608
+ title: translate_translate("utils.color"),
73609
  value: getFirstColor(colors[hoverSettings]),
73610
  defaultValue: colors[0] ? getFirstColor(colors_returnValue[hoverSettings]) : getFirstColor(colors_parent[hoverSettings]),
73611
  onChange: function onChange(val) {
73680
  };
73681
 
73682
  return /*#__PURE__*/react.createElement(CollapsibleGroup, ButtonGroup_extends({
73683
+ title: translate_translate("common.button")
73684
  }, groupProps, {
73685
  "data-testid": "group:button"
73686
  }), /*#__PURE__*/react.createElement(Tabs_Tabs, {
73702
  "data-testid": "normal_hover:hover"
73703
  })), /*#__PURE__*/react.createElement("div", {
73704
  className: "setting-group-title"
73705
+ }, translate_translate("settings.setting_categories.background")), /*#__PURE__*/react.createElement("hr", null), color(), image(), /*#__PURE__*/react.createElement("div", {
73706
  className: "setting-group-title"
73707
+ }, translate_translate("settings.setting_categories.button_style")), /*#__PURE__*/react.createElement("hr", null), borderRadius(), boxShadow());
73708
  }
73709
 
73710
  /* harmony default export */ var Styling_ButtonGroup = (connect(function (state) {
73782
  setOpenedGroup(openCollapsibleGroup ? openCollapsibleGroup : "button_style_button");
73783
  }, [openCollapsibleGroup]);
73784
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(Styling_ButtonGroup, {
73785
+ title: translate_translate("common.button"),
73786
  opened: openedGroup === "button_style_button",
73787
  onSetIsOpened: function onSetIsOpened(val) {
73788
  return setOpenedGroup(val ? "button_style_button" : "");
73827
  var select = {
73828
  array: function array() {
73829
  /* webpack-strip-block:removed */
73830
+ return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(InputLabel_InputLabel, null, type === "schedule" ? translate_translate("time_schedules.current_time_schedule") : translate_translate("page_rules.current_page_rule")), /*#__PURE__*/react.createElement(Select_Select, {
73831
  inputProps: {
73832
  "data-testid": "setting:".concat(type === "schedule" ? "time-schedule" : "page-rule")
73833
  },
73834
  value: "show",
73835
+ label: type === "schedule" ? translate_translate("time_schedules.current_time_schedule") : translate_translate("page_rules.current_page_rule"),
73836
  disabled: true,
73837
  IconComponent: PremiumTag
73838
  }, /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
73839
  value: "show"
73840
+ }, translate_translate("utils.filter-visibility.".concat(type === "schedule" ? "timeschedule" : "pagerule", "_show_").concat(group ? "group" : "button")))));
73841
  },
73842
  visibility: function visibility() {
73843
  /* webpack-strip-block:removed */
73898
  "class": function _class() {
73899
  /* webpack-strip-block:removed */
73900
  return /*#__PURE__*/react.createElement(DisableSetting, {
73901
+ onClick: function onClick(e) {
73902
+ app.showPremiumDialog(e.currentTarget, translate_translate("settings.custom_class.pro_description"));
73903
  }
73904
+ }, /*#__PURE__*/react.createElement(esm_TextField_TextField, {
73905
  inputProps: {
73906
  "data-testid": "setting:custom-class"
73907
  },
73908
  variant: "outlined",
73909
+ label: translate_translate("settings.custom_class.title"),
73910
  fullWidth: true,
73911
  disabled: true,
73912
  style: {
73920
  id: function id() {
73921
  /* webpack-strip-block:removed */
73922
  return /*#__PURE__*/react.createElement(DisableSetting, {
73923
+ onClick: function onClick(e) {
73924
+ app.showPremiumDialog(e.currentTarget, translate_translate("settings.custom_id.pro_description"));
73925
  }
73926
+ }, /*#__PURE__*/react.createElement(esm_TextField_TextField, {
73927
  inputProps: {
73928
  "data-testid": "setting:custom-id"
73929
  },
73930
  variant: "outlined",
73931
+ label: translate_translate("settings.custom_id.title"),
73932
  fullWidth: true,
73933
  disabled: true,
73934
  style: {
73948
  timeSchedules: function timeSchedules() {
73949
  /* webpack-strip-block:removed */
73950
  return /*#__PURE__*/react.createElement(DisableSetting, {
73951
+ onClick: function onClick(e) {
73952
+ app.showPremiumDialog(e.currentTarget, translate_translate("time_schedules.pro_description"));
73953
  }
73954
  }, /*#__PURE__*/react.createElement(FilterSelect, {
73955
  type: "schedule"
73956
+ }), /*#__PURE__*/react.createElement(esm_Button_Button, {
73957
  startIcon: /*#__PURE__*/react.createElement("i", {
73958
  style: {
73959
  fontSize: "12px"
73963
  color: "primary",
73964
  className: "Mui-disabled",
73965
  "data-testid": "time_schedules_open_drawer"
73966
+ }, translate_translate("time_schedules.open_settings")));
73967
  },
73968
  pageRules: function pageRules() {
73969
  /* webpack-strip-block:removed */
73970
  return /*#__PURE__*/react.createElement(DisableSetting, {
73971
+ onClick: function onClick(e) {
73972
+ app.showPremiumDialog(e.currentTarget, translate_translate("page_rules.pro_description"));
73973
  }
73974
  }, /*#__PURE__*/react.createElement(FilterSelect, {
73975
  type: "rule"
73976
+ }), /*#__PURE__*/react.createElement(esm_Button_Button, {
73977
  startIcon: /*#__PURE__*/react.createElement("i", {
73978
  style: {
73979
  fontSize: "12px"
73983
  color: "primary",
73984
  className: "Mui-disabled",
73985
  "data-testid": "page_rules_open_drawer"
73986
+ }, translate_translate("page_rules.open_settings")));
73987
  }
73988
  }
73989
  };
73990
  return /*#__PURE__*/react.createElement("div", null, /*#__PURE__*/react.createElement(CollapsibleGroup, {
73991
+ title: translate_translate("settings.custom_id.title") + " & " + translate_translate("settings.custom_class.title"),
73992
  "data-testid": "group:custom-class-id",
73993
  icon: "far fa-clock",
73994
  opened: openedGroup === "customClassId",
73997
  }
73998
  }, /*#__PURE__*/react.createElement("div", {
73999
  className: "setting-group-title"
74000
+ }, translate_translate("settings.custom_class.title")), /*#__PURE__*/react.createElement("hr", null), settings.styling["class"](), /*#__PURE__*/react.createElement("div", {
74001
  className: "setting-group-title"
74002
+ }, translate_translate("settings.custom_id.title")), /*#__PURE__*/react.createElement("hr", null), settings.styling.id(), settings.styling.editor()), /*#__PURE__*/react.createElement(CollapsibleGroup, {
74003
+ title: translate_translate("time_schedules.name"),
74004
  icon: "far fa-clock",
74005
  opened: openedGroup === "timeSchedules",
74006
  "data-testid": "group:time-schedules",
74008
  return setOpenedGroup(val ? "timeSchedules" : "");
74009
  }
74010
  }, settings.filters.timeSchedules()), /*#__PURE__*/react.createElement(CollapsibleGroup, {
74011
+ title: translate_translate("page_rules.name"),
74012
  icon: "fas fa-filter",
74013
  opened: openedGroup === "pageRules",
74014
  "data-testid": "group:page-rules",
74134
  return [/*#__PURE__*/react.createElement(MenuItem_MenuItem, {
74135
  value: "default",
74136
  key: 0
74137
+ }, translate_translate("settings.menu_style.styles.default")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
74138
  value: "square",
74139
  key: 1
74140
+ }, translate_translate("settings.menu_style.styles.square")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
74141
  value: "rectangle",
74142
  key: 2
74143
+ }, translate_translate("settings.menu_style.styles.rectangle")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
74144
  value: "text",
74145
  key: 3,
74146
  style: {
74147
  opacity: 0.5
74148
  }
74149
+ }, translate_translate("settings.menu_style.styles.text"), " ", /*#__PURE__*/react.createElement(PremiumTag, null)), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
74150
  value: "text-icon",
74151
  key: 4,
74152
  style: {
74153
  opacity: 0.5
74154
  }
74155
+ }, translate_translate("settings.menu_style.styles.texticon"), " ", /*#__PURE__*/react.createElement(PremiumTag, null))];
74156
  };
74157
 
74158
  return /*#__PURE__*/react.createElement(FormControl_FormControl, {
74161
  }, /*#__PURE__*/react.createElement(InputLabel_InputLabel, {
74162
  id: "group-style",
74163
  ref: inputLabel
74164
+ }, translate_translate("common.type")), /*#__PURE__*/react.createElement(Select_Select, {
74165
  labelId: "group-style",
74166
  id: "group-style",
74167
  value: value,
74168
  onChange: function onChange(e) {
74169
  /* webpack-strip-block:removed */
74170
  if (e.target.value === "text" || e.target.value === "text-icon") {
74171
+ app.showPremiumDialog(e.currentTarget, translate_translate("premium.menu_styles." + e.target.value));
74172
  return;
74173
  }
74174
 
74210
  setOpened(value);
74211
  }, [value]);
74212
  return /*#__PURE__*/react.createElement(SettingsContainer, {
74213
+ title: translate_translate("settings.start_opened.title"),
74214
  fullWidth: false
74215
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
74216
  inputProps: {
74344
  display: "flex",
74345
  flexDirection: "column"
74346
  }
74347
+ }, /*#__PURE__*/react.createElement(esm_IconButton_IconButton, {
74348
  color: "primary",
74349
  className: classes.iconButton,
74350
  "data-testid": "setting:position-".concat(position, "-abs"),
74351
  disabled: true
74352
+ }, "PX"), /*#__PURE__*/react.createElement(esm_IconButton_IconButton, {
74353
  color: "primary",
74354
  className: classes.iconButton,
74355
  "data-testid": "setting:position-".concat(position, "-scaled"),
74358
  };
74359
 
74360
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(SettingsContainer, {
74361
+ title: translate_translate("settings.menu_position.".concat(position)),
74362
  className: "position-buttons-container"
74363
  }, /*#__PURE__*/react.createElement(Grid_Grid, {
74364
  container: true,
74373
  component: ButtonGroup_ButtonGroup,
74374
  color: "primary",
74375
  className: (0,clsx_m/* default */.Z)("position-buttons position-".concat(position))
74376
+ }, /*#__PURE__*/react.createElement(esm_Button_Button, {
74377
  color: "primary",
74378
  variant: /(top|left):\s?5%;?/i.test(positionValue) ? "contained" : "outlined",
74379
  onClick: function onClick() {
74396
  }), /*#__PURE__*/react.createElement("path", {
74397
  d: "M0 0h24v24H0z",
74398
  fill: "none"
74399
+ }))), /*#__PURE__*/react.createElement(esm_Button_Button, {
74400
  color: "primary",
74401
  variant: /(bottom|right):\s?50%;?/i.test(positionValue) ? "contained" : "outlined",
74402
  onClick: function onClick() {
74419
  }), /*#__PURE__*/react.createElement("path", {
74420
  d: "M0 0h24v24H0z",
74421
  fill: "none"
74422
+ }))), /*#__PURE__*/react.createElement(esm_Button_Button, {
74423
  color: "primary",
74424
  variant: /(bottom|right):\s?5%;?/i.test(positionValue) ? "contained" : "outlined",
74425
  onClick: function onClick() {
74448
  onClick: function onClick() {
74449
  return setAdvancedOpen(!advancedOpen);
74450
  },
74451
+ component: esm_Button_Button,
74452
  variant: "text",
74453
  color: "primary",
74454
+ endIcon: /*#__PURE__*/react.createElement(esm_Icon_Icon, {
74455
  className: "fas fa-chevron-".concat(advancedOpen ? "down" : "right")
74456
  }),
74457
  "data-testid": "setting:position-".concat(position, "-advanced"),
74458
  className: "position-advanced"
74459
+ }, translate_translate("utils.advanced")))), advancedOpen && /*#__PURE__*/react.createElement(SettingsContainer, {
74460
  title: " ",
74461
  className: "position-advanced-container"
74462
  }, /*#__PURE__*/react.createElement(Grid_Grid, {
74476
  item: true,
74477
  component: ButtonGroup_ButtonGroup,
74478
  className: "position-advanced-buttons"
74479
+ }, /*#__PURE__*/react.createElement(esm_Button_Button, {
74480
  color: "primary",
74481
  onClick: function onClick() {
74482
  return updatePosition({
74486
  variant: /top|left/i.test(positionMode) ? "contained" : "outlined",
74487
  "data-testid": "setting:position-".concat(position, "-near"),
74488
  size: "small"
74489
+ }, position === "vertical" ? translate_translate("settings.menu_position.directions.top") : translate_translate("settings.menu_position.directions.left")), /*#__PURE__*/react.createElement(esm_Button_Button, {
74490
  color: "primary",
74491
  onClick: function onClick() {
74492
  return updatePosition({
74496
  variant: /bottom|right/i.test(positionMode) ? "contained" : "outlined",
74497
  "data-testid": "setting:position-".concat(position, "-far"),
74498
  size: "small"
74499
+ }, position === "vertical" ? translate_translate("settings.menu_position.directions.bottom") : translate_translate("settings.menu_position.directions.right"))), /*#__PURE__*/react.createElement(Grid_Grid, {
74500
  item: true,
74501
  xs: 4,
74502
+ component: esm_TextField_TextField,
74503
  value: currentPosition == null ? "" : currentPosition,
74504
  variant: "outlined",
74505
  onChange: function onChange(e) {
74564
  return [/*#__PURE__*/react.createElement(MenuItem_MenuItem, {
74565
  value: "default",
74566
  key: 0
74567
+ }, translate_translate("settings.menu_style.styles.default")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
74568
  value: "faded",
74569
  key: 1
74570
+ }, translate_translate("settings.menu_style.styles.faded")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
74571
  value: "corner-circle",
74572
  key: 2
74573
+ }, translate_translate("settings.menu_style.styles.cornercircle")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
74574
  value: "building-up",
74575
  key: 3
74576
+ }, translate_translate("settings.menu_style.styles.buildingup")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
74577
  value: "pop",
74578
  key: 4
74579
+ }, translate_translate("settings.menu_style.styles.pop"))];
74580
  };
74581
 
74582
  return /*#__PURE__*/react.createElement(react.Fragment, null, visible ? /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
74583
  className: "setting-group-title"
74584
+ }, translate_translate("settings.opening_animation.title")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(FormControl_FormControl, {
74585
  variant: "outlined",
74586
  fullWidth: true
74587
  }, /*#__PURE__*/react.createElement(InputLabel_InputLabel, {
74588
  id: "group-style",
74589
  ref: inputLabel
74590
+ }, translate_translate("common.type")), /*#__PURE__*/react.createElement(Select_Select, {
74591
  labelId: "group-style",
74592
  id: "group-style",
74593
  value: value,
74594
  onChange: function onChange(e) {
74595
  /* webpack-strip-block:removed */
74596
  if (e.target.value === "text" || e.target.value === "text-icon") {
74597
+ app.showPremiumDialog(e.currentTarget, translate_translate("premium.menu_styles." + e.target.value));
74598
  return;
74599
  }
74600
 
74619
  closeOnMouseLeaveEnabled = _ref$closeOnMouseLeav === void 0 ? false : _ref$closeOnMouseLeav,
74620
  _onChange = _ref.onChange;
74621
  return /*#__PURE__*/react.createElement(SettingsContainer, {
74622
+ title: translate_translate("settings.close_on_click_outside.title"),
74623
  fullWidth: false
74624
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
74625
  inputProps: {
74643
  openOnMouseOverEnabled = _ref$openOnMouseOverE === void 0 ? false : _ref$openOnMouseOverE,
74644
  _onChange = _ref.onChange;
74645
  return /*#__PURE__*/react.createElement(SettingsContainer, {
74646
+ title: translate_translate("settings.close_on_click_inside.title"),
74647
  fullWidth: false
74648
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
74649
  inputProps: {
74669
 
74670
  /* webpack-strip-block:removed */
74671
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(SettingsContainer, {
74672
+ title: /*#__PURE__*/react.createElement("div", {
74673
+ onClick: function onClick(e) {
74674
+ return app.showPremiumDialog(e.currentTarget, null, "top", "bottom");
74675
+ },
74676
+ style: {
74677
+ cursor: "pointer"
74678
+ },
74679
+ "data-testid": "setting:open-on-hover"
74680
+ }, translate_translate("settings.open_on_mouseover.title"), /*#__PURE__*/react.createElement(PremiumTag, null)),
74681
+ fullWidth: false
74682
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
74683
  disabled: true,
 
 
 
74684
  checked: false
74685
  })));
74686
  }
74744
  setOpenedGroup(openCollapsibleGroup ? openCollapsibleGroup : "group_general_general");
74745
  }, [openCollapsibleGroup]);
74746
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(CollapsibleGroup, {
74747
+ title: translate_translate("settings.setting_categories.general"),
74748
  opened: openedGroup === "group_general_general",
74749
  onSetIsOpened: function onSetIsOpened(val) {
74750
  return setOpenedGroup(val ? "group_general_general" : "");
74752
  "data-testid": "group:general"
74753
  }, /*#__PURE__*/react.createElement("div", {
74754
  className: "setting-group-title"
74755
+ }, translate_translate("settings.label.title")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(Label, {
74756
  value: get("label"),
74757
  placeholder: "",
74758
  onChange: function onChange(val) {
74761
  }
74762
  }), /*#__PURE__*/react.createElement("div", {
74763
  className: "setting-group-title"
74764
+ }, translate_translate("settings.show_mobile_desktop.device_visibility")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(Visibility, {
74765
  mobile: get("show_mobile") == true,
74766
  desktop: get("show_desktop") == true,
74767
  onChange: function onChange(type, val) {
74768
  return set(type, val);
74769
  }
74770
  })), /*#__PURE__*/react.createElement(CollapsibleGroup, {
74771
+ title: translate_translate("settings.menu_position.title"),
74772
  opened: openedGroup === "group_general_position",
74773
  onSetIsOpened: function onSetIsOpened(val) {
74774
  return setOpenedGroup(val ? "group_general_position" : "");
74787
  return set("vertical", val);
74788
  }
74789
  })), /*#__PURE__*/react.createElement(CollapsibleGroup, {
74790
+ title: translate_translate("settings.menu_style.title"),
74791
  opened: openedGroup === "group_general_menu_settings",
74792
  onSetIsOpened: function onSetIsOpened(val) {
74793
  return setOpenedGroup(val ? "group_general_menu_settings" : "");
74794
  },
74795
  "data-testid": "group:menu_settings"
74796
  }, /*#__PURE__*/react.createElement(SettingsContainer, {
74797
+ title: translate_translate("settings.menu.title"),
74798
  fullWidth: false
74799
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
74800
  checked: get("is_menu"),
74806
  }
74807
  })), /*#__PURE__*/react.createElement("div", {
74808
  className: "setting-group-title"
74809
+ }, translate_translate("settings.menu_style.title_short")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(MenuStyle, {
74810
  value: get("menu_style"),
74811
  onChange: function onChange(val) {
74812
  set("menu_style", val);
74820
  visible: get("is_menu") == true
74821
  }), get("is_menu") === true && /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
74822
  className: "setting-group-title"
74823
+ }, translate_translate("settings.menu.title_settings")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(StartOpened, {
74824
  value: get("start_opened") == true,
74825
  onChange: function onChange(val) {
74826
  return set("start_opened", val);
74912
  }, /*#__PURE__*/react.createElement("div", {
74913
  className: "breadcrumb"
74914
  }, /*#__PURE__*/react.createElement(Tippy_Tippy, {
74915
+ content: translate_translate("bar.breadcrumb.tippy_home"),
74916
  arrow: false
74917
+ }, /*#__PURE__*/react.createElement(esm_Button_Button, {
74918
  onClick: function onClick() {
74919
  history.push("/");
74920
  },
74922
  className: "home-button"
74923
  }, /*#__PURE__*/react.createElement("span", {
74924
  className: "breadcrumb-text"
74925
+ }, translate_translate("bar.breadcrumb.home")), /*#__PURE__*/react.createElement("i", {
74926
  className: "fas fa-chevron-right"
74927
  }))), /*#__PURE__*/react.createElement(BreadcrumbSelect_BreadcrumbSelect, {
74928
  group: group
74934
  indicatorColor: "secondary",
74935
  textColor: "secondary"
74936
  }, /*#__PURE__*/react.createElement(LinkTab, {
74937
+ label: translate_translate("settings.setting_categories.general"),
74938
  id: 0,
74939
  page: "general",
74940
  "data-testid": "general-tab",
74942
  className: "fas fa-wrench"
74943
  })
74944
  }), /*#__PURE__*/react.createElement(LinkTab, {
74945
+ label: translate_translate("utils.style"),
74946
  id: 1,
74947
  page: "style",
74948
  "data-testid": "style-tab",
74950
  className: "fas fa-paint-brush"
74951
  })
74952
  }), /*#__PURE__*/react.createElement(LinkTab, {
74953
+ label: translate_translate("utils.advanced"),
74954
  id: 2,
74955
  page: "advanced",
74956
  "data-testid": "advanced-tab",
74961
  }
74962
 
74963
  /* harmony default export */ var ButtonGroupHeader_ButtonGroupHeader = (withRouter(ButtonGroupHeader));
74964
+ ;// CONCATENATED MODULE: ./src/js/dashboard/Components/Dialogs/ImagePickerDialog/ImagePickerDialog.js
74965
+ function ImagePickerDialog_slicedToArray(arr, i) { return ImagePickerDialog_arrayWithHoles(arr) || ImagePickerDialog_iterableToArrayLimit(arr, i) || ImagePickerDialog_unsupportedIterableToArray(arr, i) || ImagePickerDialog_nonIterableRest(); }
74966
+
74967
+ function ImagePickerDialog_nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
74968
+
74969
+ function ImagePickerDialog_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return ImagePickerDialog_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return ImagePickerDialog_arrayLikeToArray(o, minLen); }
74970
+
74971
+ function ImagePickerDialog_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
74972
+
74973
+ function ImagePickerDialog_iterableToArrayLimit(arr, i) { var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
74974
+
74975
+ function ImagePickerDialog_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
74976
+
74977
+
74978
+
74979
+
74980
+
74981
+ var ImagePickerDialog_validatorTimeout = setTimeout(function () {}, 0);
74982
+
74983
+ var validateImage = function validateImage(value) {
74984
+ return isURL(value, {
74985
+ protocols: ["http", "https"],
74986
+ require_tld: false,
74987
+ require_host: true,
74988
+ require_protocol: true,
74989
+ allow_fragments: false
74990
+ });
74991
+ };
74992
+
74993
+ function ImagePickerDialog(_ref) {
74994
+ var _ref$isBackground = _ref.isBackground,
74995
+ isBackground = _ref$isBackground === void 0 ? true : _ref$isBackground,
74996
+ opened = _ref.opened,
74997
+ onClose = _ref.onClose,
74998
+ startValue = _ref.startValue;
74999
+
75000
+ var _useState = useState(startValue ? startValue : ""),
75001
+ _useState2 = ImagePickerDialog_slicedToArray(_useState, 2),
75002
+ value = _useState2[0],
75003
+ setValue = _useState2[1];
75004
+
75005
+ var _useState3 = useState(),
75006
+ _useState4 = ImagePickerDialog_slicedToArray(_useState3, 2),
75007
+ hasURLError = _useState4[0],
75008
+ setHasURLError = _useState4[1];
75009
+
75010
+ var validator = function validator(val) {
75011
+ return setHasURLError(val !== "" ? !validateImage(val) : false);
75012
+ };
75013
+
75014
+ useEffect(function () {
75015
+ validator(startValue ? startValue : "");
75016
+ }, []);
75017
+
75018
+ var handleClose = function handleClose(status, value) {
75019
+ if (status === "confirm") {
75020
+ onClose(value);
75021
+ } else {
75022
+ onClose(false);
75023
+ }
75024
+ };
75025
+
75026
+ return /*#__PURE__*/React.createElement(Dialog, {
75027
+ open: opened,
75028
+ onClose: function onClose() {
75029
+ return handleClose("cancel");
75030
+ },
75031
+ fullWidth: true,
75032
+ "aria-labelledby": "image-picker-dialog-title",
75033
+ "aria-describedby": "image-picker-dialog-description"
75034
+ }, /*#__PURE__*/React.createElement(DialogTitle, {
75035
+ id: "image-picker-dialog-title"
75036
+ }, translate("settings.".concat(isBackground ? "background_image" : "icon_image_select", ".title"))), /*#__PURE__*/React.createElement(DialogContent, null, /*#__PURE__*/React.createElement(TextField, {
75037
+ variant: "outlined",
75038
+ fullWidth: true,
75039
+ value: value,
75040
+ label: translate("common.image_url"),
75041
+ placeholder: "https://example.org/path/to/image.png",
75042
+ error: hasURLError,
75043
+ onChange: function onChange(e) {
75044
+ clearInterval(ImagePickerDialog_validatorTimeout);
75045
+ var newValue = e.target.value; // Validate
75046
+
75047
+ ImagePickerDialog_validatorTimeout = setTimeout(function () {
75048
+ validator(newValue);
75049
+ }, 600); // Update value
75050
+
75051
+ setValue(newValue);
75052
+ },
75053
+ onBlur: function onBlur(e) {
75054
+ return validator(e.target.value);
75055
+ },
75056
+ helperText: translate("settings.".concat(isBackground ? "background_image" : "icon_image_select", ".description")),
75057
+ autoFocus: true,
75058
+ InputProps: {
75059
+ endAdornment: /*#__PURE__*/React.createElement(IconButton, {
75060
+ color: "primary",
75061
+ onClick: function onClick() {
75062
+ return setValue("");
75063
+ },
75064
+ "data-testid": "delete"
75065
+ }, /*#__PURE__*/React.createElement(Icon, {
75066
+ className: "fas fa-trash",
75067
+ size: "small"
75068
+ }))
75069
+ }
75070
+ })), /*#__PURE__*/React.createElement(DialogActions, null, /*#__PURE__*/React.createElement(Button, {
75071
+ onClick: function onClick() {
75072
+ return handleClose("cancel", value);
75073
+ },
75074
+ color: "primary"
75075
+ }, translate("modal.cancel")), /*#__PURE__*/React.createElement(Button, {
75076
+ onClick: function onClick() {
75077
+ return handleClose("confirm", value);
75078
+ },
75079
+ color: "primary"
75080
+ }, translate("common.select"))));
75081
+ }
75082
  ;// CONCATENATED MODULE: ./src/js/dashboard/Components/Settings/ImageSelector/ImageSelector.js
75083
  function ImageSelector_objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure undefined"); }
75084
 
75089
 
75090
 
75091
 
75092
+
75093
  function ImageSelector(_ref) {
75094
  ImageSelector_objectDestructuringEmpty(_ref);
75095
 
75096
  /* webpack-strip-block:removed */
75097
+ return /*#__PURE__*/React.createElement(React.Fragment, null);
 
 
 
 
 
75098
  }
75099
  ;// CONCATENATED MODULE: ./src/js/dashboard/Pages/Group/Tabs/Styling/IconGroup.js
75100
  function Styling_IconGroup_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
75168
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(DisableSetting, {
75169
  condition: hoverSettings === 1,
75170
  premiumTag: true,
75171
+ onClick: function onClick(e) {
75172
+ app.showPremiumDialog(e.currentTarget);
75173
  }
75174
  }, /*#__PURE__*/react.createElement(IconSelector_IconSelector, {
75175
  value: get("icon", {
75181
  set("icon", val);
75182
  }
75183
  })), /*#__PURE__*/react.createElement(ColorPicker, {
75184
+ title: translate_translate("utils.base"),
75185
  value: colors[hoverSettings],
75186
  defaultValue: defs("icon_color")[hoverSettings],
75187
  onChange: function onChange(val) {
75199
  return /*#__PURE__*/react.createElement(DisableSetting, {
75200
  condition: hoverSettings === 1,
75201
  premiumTag: true,
75202
+ onClick: function onClick(e) {
75203
+ app.showPremiumDialog(e.currentTarget);
75204
  }
75205
  }, /*#__PURE__*/react.createElement(SliderContainer, {
75206
+ title: translate_translate("settings.icon_size.title"),
75207
  value: sizes[0],
75208
  disabled: hoverSettings === 1,
75209
  "data-testid": "settingcontainer:icon-size",
75218
  };
75219
 
75220
  return /*#__PURE__*/react.createElement(CollapsibleGroup, Styling_IconGroup_extends({
75221
+ title: translate_translate("utils.icon"),
75222
  "data-testid": "group:icon"
75223
  }, groupProps), iconType(), get("icon_type", {
75224
  returnDefault: true
75337
  var color = function color() {
75338
  /* webpack-strip-block:removed */
75339
  return /*#__PURE__*/react.createElement(ColorPicker, {
75340
+ title: translate_translate("utils.color"),
75341
  value: get("background_color")[hoverSettings],
75342
  defaultValue: get("background_color", {
75343
  returnDefault: true,
75411
 
75412
  var buttonSizes = function buttonSizes() {
75413
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(SliderContainer, {
75414
+ title: translate_translate("settings.button_size.menu_button"),
75415
  value: get("group_size"),
75416
  defaultValue: def("group_size"),
75417
  "data-testid": "settingcontainer:top-level-size",
75420
  set("group_size", val);
75421
  }
75422
  }), !singleButton && /*#__PURE__*/react.createElement(SliderContainer, {
75423
+ title: translate_translate("settings.button_size.sub_button"),
75424
  value: get("button_size"),
75425
  defaultValue: def("button_size"),
75426
  "data-testid": "settingcontainer:bottom-level-size",
75448
  };
75449
 
75450
  return /*#__PURE__*/react.createElement(CollapsibleGroup, Styling_ButtonGroup_extends({
75451
+ title: translate_translate("common.button")
75452
  }, groupProps, {
75453
  "data-testid": "group:button"
75454
  }), /*#__PURE__*/react.createElement("div", {
75455
  className: "setting-group-title"
75456
+ }, translate_translate("settings.button_size.title")), /*#__PURE__*/react.createElement("hr", null), buttonSizes(), /*#__PURE__*/react.createElement(Tabs_Tabs, {
75457
  onChange: function onChange(_, val) {
75458
  return setHoverSettings(val);
75459
  },
75471
  "data-testid": "normal_hover:hover"
75472
  })), /*#__PURE__*/react.createElement("div", {
75473
  className: "setting-group-title"
75474
+ }, translate_translate("utils.background")), /*#__PURE__*/react.createElement("hr", null), color(), image(), /*#__PURE__*/react.createElement("div", {
75475
  className: "setting-group-title"
75476
+ }, translate_translate("settings.setting_categories.button_style")), /*#__PURE__*/react.createElement("hr", null), borderRadius(), hoverSettings === 0 && buttonSpacing(), boxShadow());
75477
  }
75478
 
75479
  /* harmony default export */ var Tabs_Styling_ButtonGroup = (connect(function (state) {
75570
  var fontFamily = function fontFamily() {
75571
  /* webpack-strip-block:removed */
75572
  return /*#__PURE__*/react.createElement(DisableSetting, {
75573
+ premiumTag: true,
75574
+ onClick: function onClick(e) {
75575
+ return app.showPremiumDialog(e.currentTarget, translate_translate("premium.font_family"));
75576
+ }
75577
  }, /*#__PURE__*/react.createElement(FontFamily, null));
75578
  };
75579
 
75597
 
75598
  var labelWidth = function labelWidth() {
75599
  return /*#__PURE__*/react.createElement(SettingsContainer, {
75600
+ title: translate_translate("settings.label_same_width.title"),
75601
  fullWidth: false
75602
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
75603
  onChange: function onChange(obj) {
75621
  /* webpack-strip-block:removed */
75622
  return /*#__PURE__*/react.createElement(DisableSetting, {
75623
  premiumTag: true,
75624
+ onClick: function onClick(e) {
75625
+ app.showPremiumDialog(e.currentTarget, translate_translate("premium.margin"), "top", "bottom");
75626
  }
75627
  }, /*#__PURE__*/react.createElement(TextFieldCorners, {
75628
+ title: translate_translate("settings.margin.title"),
75629
  type: "sides"
75630
  }));
75631
  };
75634
  /* webpack-strip-block:removed */
75635
  return /*#__PURE__*/react.createElement(DisableSetting, {
75636
  premiumTag: true,
75637
+ onClick: function onClick(e) {
75638
+ app.showPremiumDialog(e.currentTarget, translate_translate("premium.padding"), "top", "bottom");
75639
  }
75640
  }, /*#__PURE__*/react.createElement(TextFieldCorners, {
75641
+ title: translate_translate("settings.padding.title"),
75642
  type: "sides",
75643
+ onChange: function onChange(e) {
75644
+ app.showPremiumDialog(e.currentTarget, translate_translate("premium.padding"), "top", "bottom");
75645
  }
75646
  }));
75647
  };
75653
  return /*#__PURE__*/react.createElement(DisableSetting, {
75654
  condition: hoverSettings === 1,
75655
  premiumTag: true,
75656
+ onClick: function onClick(e) {
75657
+ app.showPremiumDialog(e.currentTarget);
75658
  }
75659
  }, /*#__PURE__*/react.createElement(SliderContainer, {
75660
+ title: translate_translate("settings.font_size"),
75661
  "data-testid": "styling:font_size",
75662
  value: label_font_size[0],
75663
  inputText: "px",
75675
  return /*#__PURE__*/react.createElement(DisableSetting, {
75676
  condition: hoverSettings === 1,
75677
  premiumTag: true,
75678
+ onClick: function onClick(e) {
75679
+ app.showPremiumDialog(e.currentTarget);
75680
  }
75681
  }, /*#__PURE__*/react.createElement(BorderRadius, {
75682
  value: label_border_radius[0],
75723
 
75724
  var setLabelInside = function setLabelInside() {
75725
  return /*#__PURE__*/react.createElement(SettingsContainer, {
75726
+ title: translate_translate("settings.label_inside.title"),
75727
  fullWidth: false
75728
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
75729
  checked: get("label_inside", {
75745
 
75746
  var setSameHeightLabels = function setSameHeightLabels() {
75747
  return /*#__PURE__*/react.createElement(SettingsContainer, {
75748
+ title: translate_translate("settings.label_same_height.title"),
75749
  fullWidth: false
75750
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
75751
  checked: get("label_same_height", {
75769
  var label_background_color = get("label_background_color");
75770
  var label_border_radius = get("label_border_radius");
75771
  return /*#__PURE__*/react.createElement(CollapsibleGroup, Styling_LabelGroup_extends({
75772
+ title: translate_translate("settings.label.title"),
75773
  "data-testid": "group:label"
75774
  }, groupProps), /*#__PURE__*/react.createElement("div", {
75775
  className: "setting-group-title"
75777
  returnDefault: true
75778
  }) ? null : /*#__PURE__*/react.createElement(react.Fragment, null, setSameHeightLabels(), labelSpacing(), /*#__PURE__*/react.createElement("div", {
75779
  className: "setting-group-title"
75780
+ }, translate_translate("settings.label_desktop.title")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(LabelVisibility, {
75781
+ title: translate_translate("settings.show_mobile_desktop.desktop"),
75782
  device: "desktop",
75783
  value: get("show_label_desktop", {
75784
  returnDefault: true
75787
  return set("show_label_desktop", val);
75788
  }
75789
  }), /*#__PURE__*/react.createElement(LabelVisibility, {
75790
+ title: translate_translate("settings.show_mobile_desktop.mobile"),
75791
  device: "mobile",
75792
  value: get("show_label_mobile", {
75793
  returnDefault: true
75797
  }
75798
  })), /*#__PURE__*/react.createElement("div", {
75799
  className: "setting-group-title"
75800
+ }, translate_translate("settings.label_position.title")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(LabelPosition, {
75801
+ title: translate_translate("settings.label_position.description"),
75802
  value: get("horizontal_position_label", {
75803
  returnDefault: true
75804
  }),
75831
  "data-testid": "normal_hover:hover"
75832
  })), /*#__PURE__*/react.createElement("div", {
75833
  className: "setting-group-title"
75834
+ }, translate_translate("utils.text")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(ColorPicker, {
75835
  noGradient: true,
75836
+ title: translate_translate("utils.color"),
75837
  value: label_color[hoverSettings],
75838
  defaultValue: defs("label_color")[hoverSettings],
75839
  onChange: function onChange(val) {
75845
  returnDefault: true
75846
  }) ? null : /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
75847
  className: "setting-group-title"
75848
+ }, translate_translate("utils.background")), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(ColorPicker, {
75849
+ title: translate_translate("utils.color"),
75850
  value: label_background_color[hoverSettings],
75851
  defaultValue: defs("label_background_color")[hoverSettings],
75852
  onChange: function onChange(val) {
75996
  }, /*#__PURE__*/react.createElement(InputLabel_InputLabel, {
75997
  id: "exit-intent-trigger-times",
75998
  ref: inputLabel
75999
+ }, translate_translate("settings.exit_intent.how_often._title")), /*#__PURE__*/react.createElement(Select_Select, {
76000
  labelId: "exit-intent-trigger-times",
76001
  id: "exit-intent-trigger-times",
76002
  value: amountOfTimes,
76012
  }
76013
  }, /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
76014
  value: "once_page"
76015
+ }, translate_translate("settings.exit_intent.how_often.once_page")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
76016
  value: "once_session"
76017
+ }, translate_translate("settings.exit_intent.how_often.once_session")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
76018
  value: "always"
76019
+ }, translate_translate("settings.exit_intent.how_often.always"))));
76020
  }
76021
  ;// CONCATENATED MODULE: ./src/js/dashboard/Components/Settings/ExitIntent/TriggerAnimation/TriggerAnimation.js
76022
  function TriggerAnimation_slicedToArray(arr, i) { return TriggerAnimation_arrayWithHoles(arr) || TriggerAnimation_iterableToArrayLimit(arr, i) || TriggerAnimation_unsupportedIterableToArray(arr, i) || TriggerAnimation_nonIterableRest(); }
76066
  return [/*#__PURE__*/react.createElement(MenuItem_MenuItem, {
76067
  value: "focused",
76068
  key: 0
76069
+ }, translate_translate("settings.exit_intent.animation.focused")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
76070
  value: "jump",
76071
  key: 1
76072
+ }, translate_translate("settings.exit_intent.animation.jump_single")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
76073
  value: "flip",
76074
  key: 2
76075
+ }, translate_translate("settings.exit_intent.animation.flip_single"))];
76076
  }
76077
 
76078
  return [/*#__PURE__*/react.createElement(MenuItem_MenuItem, {
76079
  value: "focused",
76080
  key: 0
76081
+ }, translate_translate("settings.exit_intent.animation.focused")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
76082
  value: "open_menu",
76083
  key: 1
76084
+ }, translate_translate("settings.exit_intent.animation.open_menu")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
76085
  value: "jump",
76086
  key: 2
76087
+ }, translate_translate("settings.exit_intent.animation.jump")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
76088
  value: "flip",
76089
  key: 3
76090
+ }, translate_translate("settings.exit_intent.animation.flip"))];
76091
  };
76092
 
76093
  return /*#__PURE__*/react.createElement(FormControl_FormControl, {
76100
  }, /*#__PURE__*/react.createElement(InputLabel_InputLabel, {
76101
  id: "exit-intent-trigger-animation",
76102
  ref: inputLabel
76103
+ }, translate_translate("settings.exit_intent.animation._title")), /*#__PURE__*/react.createElement(Select_Select, {
76104
  labelId: "exit-intent-trigger-animation",
76105
  id: "exit-intent-trigger-animation",
76106
  value: triggerAnimation,
76132
  var ExitIntent = function ExitIntent() {
76133
  /* webpack-strip-block:removed */
76134
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(DisableSetting, {
76135
+ onClick: function onClick(e) {
76136
+ onChange(e.currentTarget);
76137
  }
76138
+ }, /*#__PURE__*/react.createElement("p", null, translate_translate("settings.exit_intent.description")), /*#__PURE__*/react.createElement(SettingsContainer, {
76139
+ title: translate_translate("settings.exit_intent.trigger_window"),
76140
  fullWidth: false
76141
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
76142
  disabled: true
76143
  })), /*#__PURE__*/react.createElement(SettingsContainer, {
76144
+ title: translate_translate("settings.exit_intent.trigger_inactive"),
76145
  fullWidth: false
76146
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
76147
  disabled: true
76155
  icon: PremiumTag
76156
  }), /*#__PURE__*/react.createElement("p", {
76157
  dangerouslySetInnerHTML: {
76158
+ __html: translate_translate("settings.exit_intent.info")
76159
  }
76160
  })));
76161
  };
76224
  return [/*#__PURE__*/react.createElement(MenuItem_MenuItem, {
76225
  value: "none",
76226
  key: 0
76227
+ }, translate_translate("settings.menu_animation.animations.none")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
76228
  value: "hello",
76229
  key: 1
76230
+ }, translate_translate("settings.menu_animation.animations.hello")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
76231
  value: "bounce",
76232
  key: 2
76233
+ }, translate_translate("settings.menu_animation.animations.bounce")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
76234
  disabled: true,
76235
  key: 3
76236
+ }, translate_translate("settings.menu_animation.animations.pulse"), " (PRO)"), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
76237
  disabled: true,
76238
  key: 4
76239
+ }, translate_translate("settings.menu_animation.animations.jelly"), " (PRO)")];
76240
  };
76241
 
76242
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(FormControl_FormControl, {
76247
  }
76248
  }, /*#__PURE__*/react.createElement(InputLabel_InputLabel, {
76249
  id: "group-animation"
76250
+ }, translate_translate("common.type")), /*#__PURE__*/react.createElement(Select_Select, {
76251
+ label: translate_translate("common.type"),
76252
  id: "group-animation",
76253
  value: groupAnimation,
76254
  onChange: function onChange(e) {
76269
  xs: true
76270
  }, function () {
76271
  /* webpack-strip-block:removed */
76272
+ return /*#__PURE__*/react.createElement(esm_TextField_TextField, {
76273
+ label: translate_translate("settings.menu_animation.delay"),
76274
  disabled: true,
76275
  value: 5000,
76276
  size: "small",
76284
  InputLabelProps: {
76285
  shrink: true
76286
  },
76287
+ onClick: function onClick(e) {
76288
+ return app.showPremiumDialog(e.currentTarget, translate_translate("premium.add_animation_settings"));
76289
  }
76290
  });
76291
  }()), /*#__PURE__*/react.createElement(Grid_Grid, {
76293
  xs: true
76294
  }, function () {
76295
  /* webpack-strip-block:removed */
76296
+ return /*#__PURE__*/react.createElement(esm_TextField_TextField, {
76297
+ label: translate_translate("settings.menu_animation.repeat_count"),
76298
  value: 5,
76299
  disabled: true,
76300
  size: "small",
76306
  InputLabelProps: {
76307
  shrink: true
76308
  },
76309
+ onClick: function onClick(e) {
76310
+ return app.showPremiumDialog(e.currentTarget, translate_translate("premium.add_animation_settings"));
76311
  }
76312
  });
76313
  }())));
76651
  className: "advanced-scroll-timeout",
76652
  "data-testid": "timeoutScroll:free"
76653
  }, /*#__PURE__*/react.createElement(DisableSetting, {
76654
+ onClick: function onClick(e) {
76655
+ openDialogDelay("timeout", e);
76656
  }
76657
  }, /*#__PURE__*/react.createElement("div", {
76658
  className: "advanced-timeout"
76666
  value: "timeout",
76667
  name: "timeout-radio-button"
76668
  }),
76669
+ label: translate_translate("settings.timeout_scroll.timeout.title"),
76670
  className: "timeout-radio-group",
76671
  labelPlacement: "end",
76672
  value: "timeout",
76673
  name: "timeout-radio-button-label"
76674
+ }), /*#__PURE__*/react.createElement(esm_TextField_TextField, {
76675
  variant: "outlined",
76676
+ label: translate_translate("settings.timeout_scroll.timeout.milliseconds"),
76677
+ helperText: translate_translate("settings.timeout_scroll.timeout.info", {
76678
  value: 0
76679
  }),
76680
  fullWidth: true,
76684
  endAdornment: /*#__PURE__*/react.createElement(PremiumTag, null)
76685
  }
76686
  })), /*#__PURE__*/react.createElement("div", null, /*#__PURE__*/react.createElement(SettingsContainer, {
76687
+ title: translate_translate("settings.timeout_scroll.timeout.trigger_once"),
76688
  fullWidth: false
76689
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
76690
  checked: true,
76691
  disabled: true
76692
  })))), /*#__PURE__*/react.createElement("hr", null), /*#__PURE__*/react.createElement(DisableSetting, {
76693
+ onClick: function onClick(e) {
76694
+ openDialogDelay("scroll", e);
76695
  }
76696
  }, /*#__PURE__*/react.createElement("div", {
76697
  className: "advanced-scroll"
76705
  value: "scroll",
76706
  name: "scroll-radio-button"
76707
  }),
76708
+ label: translate_translate("settings.timeout_scroll.scroll.title"),
76709
  className: "scroll-radio-group",
76710
  labelPlacement: "end",
76711
  value: "scroll",
76712
  name: "scroll-radio-button-label"
76713
+ }), /*#__PURE__*/react.createElement(esm_TextField_TextField, {
76714
  variant: "outlined",
76715
+ label: translate_translate("settings.timeout_scroll.scroll.from_top"),
76716
  FormHelperTextProps: {
76717
  component: "span"
76718
  },
76724
  }
76725
  }), /*#__PURE__*/react.createElement("div", {
76726
  className: "advanced-scroll-pixel-percent"
76727
+ }, /*#__PURE__*/react.createElement(esm_Button_Button, {
76728
  disabled: true,
76729
  variant: "contained",
76730
  color: "primary",
76731
  "data-testid": "setting:scroll-percent"
76732
+ }, "%"), /*#__PURE__*/react.createElement(esm_Button_Button, {
76733
  disabled: true,
76734
  variant: "outlined",
76735
  color: "primary",
76736
  "data-testid": "setting:scroll-px"
76737
  }, "px"))), /*#__PURE__*/react.createElement("div", null, /*#__PURE__*/react.createElement(SettingsContainer, {
76738
+ title: translate_translate("settings.timeout_scroll.scroll.visibility"),
76739
  fullWidth: false
76740
  }, /*#__PURE__*/react.createElement(esm_Switch_Switch, {
76741
  checked: true,
76801
  "class": function _class() {
76802
  /* webpack-strip-block:removed */
76803
  return /*#__PURE__*/react.createElement(DisableSetting, {
76804
+ onClick: function onClick(e) {
76805
+ return app.showPremiumDialog(e.currentTarget, translate_translate("settings.custom_class.pro_description"));
76806
  }
76807
+ }, /*#__PURE__*/react.createElement(esm_TextField_TextField, {
76808
  inputProps: {
76809
  "data-testid": "setting:custom-class"
76810
  },
76811
  variant: "outlined",
76812
+ label: translate_translate("settings.custom_class.title"),
76813
  fullWidth: true,
76814
  disabled: true,
76815
  style: {
76823
  id: function id() {
76824
  /* webpack-strip-block:removed */
76825
  return /*#__PURE__*/react.createElement(DisableSetting, {
76826
+ onClick: function onClick(e) {
76827
+ app.showPremiumDialog(e.currentTarget, translate_translate("settings.custom_id.pro_description"));
76828
  }
76829
+ }, /*#__PURE__*/react.createElement(esm_TextField_TextField, {
76830
  inputProps: {
76831
  "data-testid": "setting:custom-id"
76832
  },
76833
  variant: "outlined",
76834
+ label: translate_translate("settings.custom_id.title"),
76835
  value: get("custom_id"),
76836
  fullWidth: true,
76837
  disabled: true,
76852
  timeoutScroll: function timeoutScroll() {
76853
  /* webpack-strip-block:removed */
76854
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(TimeoutScroll, {
76855
+ openDialogDelay: function openDialogDelay(val, e) {
76856
+ val === "timeout" ? app.showPremiumDialog(e.currentTarget, translate_translate("premium.show_on_timeout")) : app.showPremiumDialog(e.currentTarget, translate_translate("premium.show_on_scroll"), "top", "bottom");
76857
  }
76858
  }));
76859
  }
76862
  timeSchedules: function timeSchedules() {
76863
  /* webpack-strip-block:removed */
76864
  return /*#__PURE__*/react.createElement(DisableSetting, {
76865
+ onClick: function onClick(e) {
76866
+ app.showPremiumDialog(e.currentTarget, translate_translate("time_schedules.pro_description"));
76867
  }
76868
  }, /*#__PURE__*/react.createElement(FilterSelect, {
76869
  type: "schedule",
76870
  group: true
76871
+ }), /*#__PURE__*/react.createElement(esm_Button_Button, {
76872
  startIcon: /*#__PURE__*/react.createElement("i", {
76873
  style: {
76874
  fontSize: "12px"
76878
  color: "primary",
76879
  className: "Mui-disabled",
76880
  "data-testid": "time_schedules_open_drawer"
76881
+ }, translate_translate("time_schedules.open_settings")));
76882
  },
76883
  pageRules: function pageRules() {
76884
  /* webpack-strip-block:removed */
76885
  return /*#__PURE__*/react.createElement(DisableSetting, {
76886
+ onClick: function onClick(e) {
76887
+ app.showPremiumDialog(e.currentTarget, translate_translate("page_rules.pro_description"));
76888
  }
76889
  }, /*#__PURE__*/react.createElement(FilterSelect, {
76890
  type: "rule",
76891
  group: true
76892
+ }), /*#__PURE__*/react.createElement(esm_Button_Button, {
76893
  startIcon: /*#__PURE__*/react.createElement("i", {
76894
  style: {
76895
  fontSize: "12px"
76899
  color: "primary",
76900
  className: "Mui-disabled",
76901
  "data-testid": "page_rules_open_drawer"
76902
+ }, translate_translate("page_rules.open_settings")));
76903
  }
76904
  },
76905
  exitIntent: function exitIntent() {
76906
  /* webpack-strip-block:removed */
76907
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(ExitIntent, {
76908
+ onChange: function onChange(el) {
76909
+ return app.showPremiumDialog(el, translate_translate("settings.exit_intent.pro_description"), "top", "bottom");
76910
  }
76911
  }));
76912
  }
76913
  };
76914
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(CollapsibleGroup, {
76915
+ title: "".concat(translate_translate("settings.menu_animation.title")),
76916
  opened: openedGroup === "animation",
76917
  onSetIsOpened: function onSetIsOpened(val) {
76918
  return setOpenedGroup(val ? "animation" : "");
76932
  /* webpack-strip-block:removed */
76933
  }
76934
  })), /*#__PURE__*/react.createElement(CollapsibleGroup, {
76935
+ title: translate_translate("settings.custom_id.title") + " & " + translate_translate("settings.custom_class.title"),
76936
  "data-testid": "group:custom-class-id",
76937
  icon: "far fa-clock",
76938
  opened: openedGroup === "customIdClass",
76941
  }
76942
  }, /*#__PURE__*/react.createElement("div", {
76943
  className: "setting-group-title"
76944
+ }, translate_translate("settings.custom_class.title")), /*#__PURE__*/react.createElement("hr", null), settings.styling["class"](), /*#__PURE__*/react.createElement("div", {
76945
  className: "setting-group-title"
76946
+ }, translate_translate("settings.custom_id.title")), /*#__PURE__*/react.createElement("hr", null), settings.styling.id(), settings.styling.editor()), /*#__PURE__*/react.createElement(CollapsibleGroup, {
76947
+ title: translate_translate("time_schedules.name"),
76948
  icon: "far fa-clock",
76949
  "data-testid": "group:time-schedules",
76950
  opened: openedGroup === "timeSchedules",
76952
  return setOpenedGroup(val ? "timeSchedules" : "");
76953
  }
76954
  }, settings.filters.timeSchedules()), /*#__PURE__*/react.createElement(CollapsibleGroup, {
76955
+ title: translate_translate("page_rules.name"),
76956
  "data-testid": "group:page-rules",
76957
  icon: "fas fa-filter",
76958
  opened: openedGroup === "pageRules",
76960
  return setOpenedGroup(val ? "pageRules" : "");
76961
  }
76962
  }, settings.filters.pageRules()), /*#__PURE__*/react.createElement(CollapsibleGroup, {
76963
+ title: translate_translate("settings.button_group_window.timeout_scroll"),
76964
  icon: "fas fa-stopwatch",
76965
  "data-testid": "group:timeout-scroll",
76966
  opened: openedGroup === "timeOutScroll",
76968
  return setOpenedGroup(val ? "timeOutScroll" : "");
76969
  }
76970
  }, settings.delay.timeoutScroll()), /*#__PURE__*/react.createElement(CollapsibleGroup, {
76971
+ title: translate_translate("settings.exit_intent.title"),
76972
  icon: "fas fa-running",
76973
  "data-testid": "group:exit-intent",
76974
  opened: openedGroup === "exitIntent",
77375
  };
77376
  });
77377
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(Tippy_Tippy, {
77378
+ content: translate_translate("event_tracker.title")
77379
+ }, /*#__PURE__*/react.createElement(esm_IconButton_IconButton, {
77380
  color: "primary",
77381
  onClick: function onClick(e) {
77382
  setHasRead(true);
77403
  color: "primary"
77404
  }, /*#__PURE__*/react.createElement("i", {
77405
  className: "fas fa-info"
77406
+ }), " ", translate_translate("event_tracker.window_title"))), /*#__PURE__*/react.createElement(List_List, {
77407
  className: "events"
77408
  }, messages.length === 0 && /*#__PURE__*/react.createElement(ListItem_ListItem, null, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
77409
  primary: "No button events"
77630
  var label = function label() {
77631
  if (updating) {
77632
  if (updating === "failed") {
77633
+ return translate_translate("saving.failed");
77634
  } else if (SavingDialog_typeof(updating) === "object") {
77635
  return /*#__PURE__*/react.createElement("div", {
77636
  style: {
77648
  }
77649
  }, "Show error message..."));
77650
  } else {
77651
+ return translate_translate("saving.saving");
77652
  }
77653
  }
77654
 
77655
+ return translate_translate("saving.completed");
77656
  };
77657
 
77658
  var icon = function icon() {
77715
  className: "warning",
77716
  buttons: [{
77717
  value: "confirm",
77718
+ text: translate_translate("modal.ok"),
77719
  variant: "contained"
77720
  }],
77721
  onClose: function onClose() {
77722
  setOpenDialog(false);
77723
  }
77724
+ }, SavingDialog_typeof(updating) === "object" ? updating.message : translate_translate("modal.lost")));
77725
  }
77726
 
77727
  /* harmony default export */ var SavingDialog_SavingDialog = (connect(function (store) {
77795
  }, /*#__PURE__*/react.createElement("div", {
77796
  className: "footer-button-group-start"
77797
  }, /*#__PURE__*/react.createElement(Tippy_Tippy, {
77798
+ content: translate_translate("welcome.open_menu")
77799
+ }, /*#__PURE__*/react.createElement(esm_Button_Button, {
77800
  className: "settings-button",
77801
  onClick: function onClick() {
77802
  return openDrawer(drawers.MENU);
77803
  },
77804
+ "aria-label": isMenu ? translate_translate("utils.back_to_overview") : translate_translate("utils.open_menu"),
77805
  color: "primary"
77806
  }, /*#__PURE__*/react.createElement("i", {
77807
  className: "fas fa-cog"
77851
  alt: "Buttonizer"
77852
  }), /*#__PURE__*/react.createElement("div", {
77853
  className: "loader-text"
77854
+ }, translate_translate(loadingString), /*#__PURE__*/react.createElement("br", null), /*#__PURE__*/react.createElement("br", null), slowWebsite && /*#__PURE__*/react.createElement("div", {
77855
  className: "slow-website"
77856
+ }, /*#__PURE__*/react.createElement("small", null, translate_translate("loading.website_slow")), /*#__PURE__*/react.createElement("a", {
77857
  href: "#",
77858
  onClick: function onClick(e) {
77859
  e.preventDefault();
77860
  slowWebsite = false;
77861
  },
77862
  "data-testid": "loader-skip-button"
77863
+ }, translate_translate("loading.website_skip"))))));
77864
  }
77865
 
77866
  /* harmony default export */ var Loader_Loader = (Loader);
78175
  }
78176
  };
78177
 
78178
+ return /*#__PURE__*/react.createElement(esm_Button_Button, {
78179
  className: (0,clsx_m/* default */.Z)("buttonizer-menu-item", className),
78180
  onClick: clickAction,
78181
  "data-testid": dataTestid
78210
 
78211
 
78212
 
78213
+
78214
  var MenuDrawer_useStyles = styles_makeStyles(function () {
78215
  return MenuDrawer_defineProperty({
78216
  hideButton: {
78281
  }, /*#__PURE__*/react.createElement("img", {
78282
  src: window.buttonizer_admin.assets + "/images/logo.png",
78283
  alt: "Buttonizer logo"
78284
+ })), /*#__PURE__*/react.createElement(esm_IconButton_IconButton, {
78285
  "aria-label": "close",
78286
  color: "primary",
78287
  onClick: onClose,
78290
  }, /*#__PURE__*/react.createElement("i", {
78291
  className: "fas fa-chevron-left"
78292
  })), /*#__PURE__*/react.createElement(CollapsibleGroup, {
78293
+ title: translate_translate("common.settings"),
78294
  opened: openedGroup === "menu_settings",
78295
  onSetIsOpened: function onSetIsOpened(val) {
78296
  return setOpenedGroup(val ? "menu_settings" : "");
78300
  "data-testid": "menudrawer:settings"
78301
  }, /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78302
  title: "Google Analytics",
78303
+ description: translate_translate("settings_window.google_analytics.description"),
78304
  onClick: function onClick() {
78305
  return openDrawer(drawers.SETTINGS, drawers.SETTINGS_PAGES.analytics);
78306
  },
78307
  dataTestid: "menuitem:".concat(drawers.SETTINGS_PAGES.analytics)
78308
  }), /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78309
+ title: translate_translate("settings_window.icon_library.title"),
78310
+ description: translate_translate("settings_window.icon_library.description"),
78311
  onClick: function onClick() {
78312
  return openDrawer(drawers.SETTINGS, drawers.SETTINGS_PAGES.iconLibrary);
78313
  },
78314
  dataTestid: "menuitem:".concat(drawers.SETTINGS_PAGES.iconLibrary)
78315
  }), /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78316
+ title: translate_translate("settings_window.other_settings.title"),
78317
+ description: translate_translate("settings_window.other_settings.description"),
78318
  onClick: function onClick() {
78319
  return openDrawer(drawers.SETTINGS, drawers.SETTINGS_PAGES.preferences);
78320
  },
78321
  dataTestid: "menuitem:".concat(drawers.SETTINGS_PAGES.preferences)
78322
  }), /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78323
+ title: translate_translate("settings_window.reset.title"),
78324
+ description: translate_translate("settings_window.reset.description"),
78325
  onClick: function onClick() {
78326
  return openDrawer(drawers.SETTINGS, drawers.SETTINGS_PAGES.reset);
78327
  },
78328
  dataTestid: "menuitem:".concat(drawers.SETTINGS_PAGES.reset)
78329
  }), /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78330
+ title: translate_translate("settings_window.buttonizer_tour.title"),
78331
+ description: translate_translate("settings_window.buttonizer_tour.description"),
78332
  onClick: function onClick() {
78333
  return openDrawer(drawers.BUTTONIZER_TOUR);
78334
  },
78335
  dataTestid: "menuitem:".concat(drawers.BUTTONIZER_TOUR),
78336
  className: "menu-item buttonizer-tour"
78337
  })), /*#__PURE__*/react.createElement(CollapsibleGroup, {
78338
+ title: "".concat(translate_translate("page_rules.name"), " & ").concat(translate_translate("time_schedules.name")),
78339
  opened: openedGroup === "pageRules",
78340
  onSetIsOpened: function onSetIsOpened(val) {
78341
  return setOpenedGroup(val ? "pageRules" : "");
78342
  },
78343
  bodySpacing: false,
78344
  "data-testid": "menudrawer:rule_schedule"
78345
+ }, /*#__PURE__*/react.createElement(DisableSetting, {
78346
+ onClick: function onClick(e) {
78347
+ return app.showPremiumDialog(e.currentTarget, translate_translate("page_rules.pro_description"));
78348
+ },
78349
+ condition: app.hasPremium() === false || buttonizer_admin.is_stand_alone === false,
78350
+ premiumTag: true
78351
  }, /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78352
+ title: translate_translate("page_rules.name"),
78353
+ description: translate_translate("page_rules.menu_description"),
78354
  dataTestid: "menuitem:".concat(drawers.PAGE_RULES),
78355
  onClick: function onClick() {
78356
  /* webpack-strip-block:removed */
 
78357
  }
78358
+ })), /*#__PURE__*/react.createElement(DisableSetting, {
78359
+ onClick: function onClick(e) {
78360
+ return app.showPremiumDialog(e.currentTarget, translate_translate("time_schedules.pro_description"));
78361
+ },
78362
+ condition: app.hasPremium() === false || buttonizer_admin.is_stand_alone === false,
78363
+ premiumTag: true
78364
+ }, /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78365
+ title: translate_translate("time_schedules.name"),
78366
+ description: translate_translate("time_schedules.menu_description"),
78367
  dataTestid: "menuitem:".concat(drawers.TIME_SCHEDULES),
78368
  onClick: function onClick() {
78369
  /* webpack-strip-block:removed */
 
78370
  }
78371
+ }))), /*#__PURE__*/react.createElement(CollapsibleGroup, {
78372
+ title: translate_translate("bar.menu.support_group"),
78373
  opened: openedGroup === "menu_support",
78374
  onSetIsOpened: function onSetIsOpened(val) {
78375
  return setOpenedGroup(val ? "menu_support" : "");
78378
  "data-testid": "menudrawer:support",
78379
  className: "menu-support"
78380
  }, /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78381
+ title: translate_translate("bar.menu.knowledgebase.title"),
78382
+ description: translate_translate("bar.menu.knowledgebase.description"),
78383
  href: "https://community.buttonizer.pro/knowledgebase?referral=buttonizer-dashboard-menu",
78384
  newWindow: true,
78385
  dataTestid: "menuitem:knowledgebase"
78386
  }), /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78387
+ title: translate_translate("bar.menu.community.title"),
78388
+ description: translate_translate("bar.menu.community.description"),
78389
  href: "https://community.buttonizer.pro/?referral=buttonizer-dashboard-menu",
78390
  newWindow: true,
78391
  dataTestid: "menuitem:community",
78392
  className: "menu-item community"
78393
  }), /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78394
+ title: translate_translate("bar.menu.support.title"),
78395
+ description: translate_translate("bar.menu.support.description"),
78396
  href: "https://community.buttonizer.pro/t/support?referral=buttonizer-dashboard-menu",
78397
  newWindow: true,
78398
  dataTestid: "menuitem:support"
78399
  })), /*#__PURE__*/react.createElement(CollapsibleGroup, {
78400
+ title: translate_translate("bar.menu.account_group"),
78401
  opened: openedGroup === "account",
78402
  onSetIsOpened: function onSetIsOpened(val) {
78403
  return setOpenedGroup(val ? "account" : "");
78405
  bodySpacing: false,
78406
  "data-testid": "menudrawer:account"
78407
  }, /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78408
+ title: translate_translate("bar.menu.account.title"),
78409
+ description: translate_translate("bar.menu.account.description"),
78410
  href: buttonizer_admin.is_stand_alone ? "https://app.buttonizer.pro/account" : "".concat(buttonizer_admin.admin, "?page=Buttonizer-account"),
78411
  newWindow: true,
78412
  dataTestid: "menuitem:account"
78413
  }), /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78414
+ title: translate_translate("bar.menu.upgrade.title"),
78415
+ description: translate_translate("bar.menu.upgrade.description"),
78416
  href: buttonizer_admin.is_stand_alone ? "https://app.buttonizer.pro/upgrade" : "".concat(buttonizer_admin.admin, "?page=Buttonizer-pricing"),
78417
  newWindow: true,
78418
  dataTestid: "menuitem:upgrade"
78419
  }), /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78420
+ title: translate_translate("bar.menu.affiliation.title"),
78421
+ description: translate_translate("bar.menu.affiliation.description"),
78422
  href: buttonizer_admin.is_stand_alone ? "https://app.buttonizer.pro/affiliate" : "".concat(buttonizer_admin.admin, "?page=Buttonizer-affiliation"),
78423
  newWindow: true,
78424
  dataTestid: "menuitem:affiliation"
78425
  }), /*#__PURE__*/react.createElement(MenuItem_MenuItem_MenuItem, {
78426
  title: "Buttonizer",
78427
+ description: translate_translate("bar.menu.version", {
78428
  versionNumber: buttonizer_admin.version
78429
  }),
78430
  href: buttonizer_admin.is_stand_alone ? "https://community.buttonizer.pro/d/895" : "https://buttonizer.pro",
78432
  dataTestid: "menuitem:version"
78433
  })), /*#__PURE__*/react.createElement("div", {
78434
  className: "menu-drawer-bottom"
78435
+ }, !buttonizer_admin.is_stand_alone && /*#__PURE__*/react.createElement(esm_Button_Button, {
78436
  variant: "contained",
78437
  color: "secondary",
78438
  style: {
78443
  }),
78444
  "data-testid": "menudrawer:admin",
78445
  href: buttonizer_admin.admin_base
78446
+ }, translate_translate("bar.menu.wp_admin")), buttonizer_admin.is_stand_alone && /*#__PURE__*/react.createElement(esm_Button_Button, {
78447
  variant: "contained",
78448
  color: "secondary",
78449
  style: {
78456
  href: "https://app.buttonizer.pro"
78457
  }, "Back to the dashboard"), /*#__PURE__*/react.createElement("div", {
78458
  className: "social-media-buttons"
78459
+ }, /*#__PURE__*/react.createElement("b", null, translate_translate("bar.menu.follow")), /*#__PURE__*/react.createElement("div", {
78460
  className: "buttons-container"
78461
  }, socialMediaButtons.map(function (socialMediaButton, key) {
78462
+ return /*#__PURE__*/react.createElement(esm_IconButton_IconButton, {
78463
  key: key,
78464
  component: Link_Link,
78465
  "data-testid": "menudrawer:".concat(dlv_umd_default()(socialMediaButton, "class", "")),
78621
  className: "menu-items"
78622
  }, /*#__PURE__*/react.createElement("div", {
78623
  className: "menu-header"
78624
+ }, icon, backButton ? /*#__PURE__*/react.createElement(esm_IconButton_IconButton, {
78625
  color: "primary",
78626
  size: "small",
78627
  style: {
78633
  openDrawer(drawers.MENU, null);
78634
  },
78635
  className: "menu-back"
78636
+ }, /*#__PURE__*/react.createElement(esm_Icon_Icon, {
78637
  fontSize: "inherit",
78638
  style: {
78639
  overflow: "unset"
78656
  className: "drawer-content-header"
78657
  }, /*#__PURE__*/react.createElement("div", {
78658
  className: "title"
78659
+ }, contentTitle), rename && /*#__PURE__*/react.createElement(esm_IconButton_IconButton, {
78660
  "aria-label": "rename",
78661
  className: "rename-button",
78662
  onClick: function onClick() {
78664
  },
78665
  color: "primary",
78666
  "data-testid": "rename-splitter"
78667
+ }, /*#__PURE__*/react.createElement(esm_Icon_Icon, {
78668
  className: "fas fa-i-cursor"
78669
+ })), backButton || /*#__PURE__*/react.createElement(esm_IconButton_IconButton, {
78670
  "aria-label": "close",
78671
  className: "close-button",
78672
  onClick: function onClick() {
78673
  return closeDrawer();
78674
  },
78675
  color: "primary"
78676
+ }, /*#__PURE__*/react.createElement(esm_Icon_Icon, {
78677
  className: "fas fa-times"
78678
  })), /*#__PURE__*/react.createElement(FormDialog, {
78679
  open: dialogOpen,
78680
+ title: translate_translate("utils.rename"),
78681
+ text: translate_translate("utils.rename_to"),
78682
  defaultValue: "",
78683
  "data-testid": "drawersplitter:dialog",
78684
  clearOnConfirm: true,
78763
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
78764
  className: "description",
78765
  "data-testid": "analytics:page_description"
78766
+ }, translate_translate("settings_window.google_analytics.description")), /*#__PURE__*/react.createElement(List_List, {
78767
  "data-testid": "analytics:page_content"
78768
  }, /*#__PURE__*/react.createElement(ListItem_ListItem, {
78769
  disableGutters: true,
78770
  className: "with-secondary-action"
78771
  }, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
78772
+ primary: translate_translate("settings_window.google_analytics.enable"),
78773
+ secondary: translate_translate("settings_window.google_analytics.intro"),
78774
  onClick: function onClick() {
78775
  var val = !analyticsEnable;
78776
  setAnalyticsEnable(val);
78794
  }, "Google Analytics tracking code"), /*#__PURE__*/react.createElement(Typography_Typography, {
78795
  variant: "body2",
78796
  color: "textSecondary"
78797
+ }, translate_translate("settings_window.google_analytics.tracking_code_info")), /*#__PURE__*/react.createElement(Typography_Typography, {
78798
  variant: "body2",
78799
  color: "textSecondary",
78800
  style: {
78801
  margin: "15px 0"
78802
  }
78803
+ }, /*#__PURE__*/react.createElement("b", null, translate_translate("common.warning"), ":"), " ", translate_translate("settings_window.google_analytics.tracking_code_warning")), /*#__PURE__*/react.createElement(FormControl_FormControl, {
78804
  variant: "outlined"
78805
  }, /*#__PURE__*/react.createElement(InputLabel_InputLabel, {
78806
  htmlFor: "outlined-adornment-password"
78807
+ }, translate_translate("settings_window.google_analytics.input")), /*#__PURE__*/react.createElement(OutlinedInput_OutlinedInput, {
78808
  id: "outlined-adornment-password",
78809
  placeholder: "UA-00000000-1",
78810
  labelWidth: 70,
78817
 
78818
  _onChange("google_analytics", e.target.value);
78819
  }
78820
+ }))), /*#__PURE__*/react.createElement(esm_Button_Button, {
78821
  href: "https://community.buttonizer.pro/knowledgebase/17" //*Link to google analytics
78822
  ,
78823
  size: "small",
78830
  style: {
78831
  marginTop: 20
78832
  }
78833
+ }, translate_translate("settings_window.google_analytics.link")));
78834
  }
78835
  ;// CONCATENATED MODULE: ./src/js/dashboard/Components/Drawers/DrawerSplitter/DrawerSplitterContentTitle/DrawerSplitterContentTitle.js
78836
 
78885
 
78886
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
78887
  className: "description"
78888
+ }, translate_translate("settings_window.reset.description"), ".", " ", translate_translate("settings_window.reset.info")), /*#__PURE__*/react.createElement("div", {
78889
  className: "explaination"
78890
  }, /*#__PURE__*/react.createElement(DrawerSplitterContentTitle, {
78891
+ title: translate_translate("settings_window.reset.what_will_happen.title")
78892
+ }), /*#__PURE__*/react.createElement("p", null, translate_translate("settings_window.reset.what_will_happen.info"))), /*#__PURE__*/react.createElement("div", {
78893
  className: "explaination"
78894
  }, /*#__PURE__*/react.createElement(DrawerSplitterContentTitle, {
78895
+ title: translate_translate("settings_window.reset.why.title")
78896
+ }), /*#__PURE__*/react.createElement("p", null, translate_translate("settings_window.reset.why.info"))), /*#__PURE__*/react.createElement("div", {
78897
  className: "explaination"
78898
  }, /*#__PURE__*/react.createElement(DrawerSplitterContentTitle, {
78899
+ title: translate_translate("settings_window.reset.license.title")
78900
+ }), /*#__PURE__*/react.createElement("p", null, translate_translate("settings_window.reset.license.info")), /*#__PURE__*/react.createElement("ul", null, /*#__PURE__*/react.createElement("li", null, translate_translate("settings_window.reset.license.list.buttons")), /*#__PURE__*/react.createElement("li", null, translate_translate("settings_window.reset.license.list.groups")), /*#__PURE__*/react.createElement("li", null, translate_translate("settings_window.reset.license.list.time_schedules")), /*#__PURE__*/react.createElement("li", null, translate_translate("settings_window.reset.license.list.page_rules")), /*#__PURE__*/react.createElement("li", null, translate_translate("settings_window.reset.license.list.settings")), /*#__PURE__*/react.createElement("li", null, translate_translate("settings_window.reset.license.list.published")))), /*#__PURE__*/react.createElement("div", {
78901
  className: "explaination"
78902
  }, /*#__PURE__*/react.createElement(DrawerSplitterContentTitle, {
78903
+ title: translate_translate("settings_window.reset.default_settings.title")
78904
+ }), /*#__PURE__*/react.createElement("p", null, translate_translate("settings_window.reset.default_settings.info"))), /*#__PURE__*/react.createElement("div", {
78905
  className: "explaination"
78906
  }, /*#__PURE__*/react.createElement(DrawerSplitterContentTitle, {
78907
+ title: translate_translate("settings_window.reset.ready.title")
78908
+ }), /*#__PURE__*/react.createElement("p", null, translate_translate("settings_window.reset.ready.info")), /*#__PURE__*/react.createElement(esm_Button_Button, {
78909
  variant: "contained",
78910
  color: "secondary",
78911
  className: "button-warning",
78920
  }, "Reset"), /*#__PURE__*/react.createElement(ConfirmDialog, {
78921
  open: dialogOpened,
78922
  testId: "confirm_dialog",
78923
+ title: translate_translate("settings_window.reset.title"),
78924
  buttons: [{
78925
  value: "cancel",
78926
+ text: translate_translate("modal.changed_my_mind") + "!"
78927
  }, {
78928
  value: "close",
78929
+ text: translate_translate("modal.sure")
78930
  }],
78931
  onClose: handleClose
78932
  }, /*#__PURE__*/react.createElement("div", {
79034
  disableGutters: true,
79035
  className: "with-permissions"
79036
  }, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79037
+ primary: translate_translate("settings_window.other_settings.additional_roles.title"),
79038
+ secondary: translate_translate("settings_window.other_settings.additional_roles.info")
79039
  }), /*#__PURE__*/react.createElement(KnowledgeBaseLink, {
79040
  articleId: 507,
79041
+ setting: translate_translate("settings_window.other_settings.additional_roles.title")
79042
  }), /*#__PURE__*/react.createElement(Autocomplete_Autocomplete, {
79043
  multiple: true,
79044
  size: "small",
79048
  options: loading ? [] : store.getState().wp.data["roles"].filter(function (obj) {
79049
  return obj.id !== "guest";
79050
  }),
79051
+ loadingText: translate_translate("loading.loading"),
79052
  filterSelectedOptions: true,
79053
  getOptionLabel: function getOptionLabel(option) {
79054
  return option.name;
79083
  }));
79084
  });
79085
  },
79086
+ noOptionsText: translate_translate("utils.search_not_found"),
79087
  renderInput: function renderInput(params) {
79088
+ return /*#__PURE__*/react.createElement(esm_TextField_TextField, PermissionComponent_extends({}, params, {
79089
  variant: "outlined",
79090
+ label: translate_translate("settings_window.other_settings.additional_roles.roles"),
79091
+ placeholder: translate_translate("page_rules.select_items"),
79092
  disabled: loading,
79093
  InputProps: PermissionComponent_objectSpread(PermissionComponent_objectSpread({}, params.InputProps), {}, {
79094
  "data-testid": "pagerule:autocomplete-input",
79202
  }, [adminBar, toolTips, tips, subDomains, noAjax, canSendErrors]);
79203
  return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
79204
  className: "description"
79205
+ }, translate_translate("settings_window.other_settings.description")), /*#__PURE__*/react.createElement(List_List, null, !buttonizer_admin.is_stand_alone && /*#__PURE__*/react.createElement(ListItem_ListItem, {
79206
  disableGutters: true,
79207
  className: "with-secondary-action"
79208
  }, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79209
+ primary: translate_translate("settings_window.other_settings.admin_button.title"),
79210
+ secondary: translate_translate("settings_window.other_settings.admin_button.info"),
79211
  "data-testid": "preferences:top_bar:text",
79212
  onClick: function onClick() {
79213
  var val = !adminBarTop;
79231
  disableGutters: true,
79232
  className: "with-secondary-action"
79233
  }, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79234
+ primary: translate_translate("settings_window.other_settings.tooltips.title"),
79235
+ secondary: translate_translate("settings_window.other_settings.tooltips.info"),
79236
  "data-testid": "preferences:tooltips:text",
79237
  onClick: function onClick() {
79238
  var val = !adminTooltips;
79256
  disableGutters: true,
79257
  className: "with-secondary-action"
79258
  }, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79259
+ primary: translate_translate("settings_window.other_settings.tips.title"),
79260
+ secondary: translate_translate("settings_window.other_settings.tips.info"),
79261
  "data-testid": "preferences:tips:text",
79262
  onClick: function onClick() {
79263
  var val = !adminTips;
79281
  disableGutters: true,
79282
  className: "with-secondary-action"
79283
  }, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79284
+ primary: translate_translate("settings_window.other_settings.ajax.title"),
79285
+ secondary: translate_translate("settings_window.other_settings.ajax.info"),
79286
  "data-testid": "preferences:ajax:text",
79287
  onClick: function onClick() {
79288
  var val = !frontendNoAjax;
79306
  disableGutters: true,
79307
  className: "with-secondary-action"
79308
  }, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79309
+ primary: translate_translate("settings_window.other_settings.subdomain.title"),
79310
+ secondary: translate_translate("settings_window.other_settings.subdomain.info"),
79311
  "data-testid": "preferences:subdomains:text",
79312
  onClick: function onClick() {
79313
  var val = !adminSubdomain;
79331
  disableGutters: true,
79332
  className: "with-secondary-action"
79333
  }, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79334
+ primary: translate_translate("settings_window.other_settings.error_logging.title"),
79335
+ secondary: translate_translate("settings_window.other_settings.error_logging.info"),
79336
  "data-testid": "preferences:errors:text",
79337
  onClick: function onClick() {
79338
  var val = !sendErrors;
79356
  disableGutters: true,
79357
  className: "with-secondary-action"
79358
  }, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79359
+ primary: translate_translate("settings_window.other_settings.no_limit.title"),
79360
+ secondary: translate_translate("settings_window.other_settings.no_limit.info"),
79361
  "data-testid": "preferences:no_limit:text",
79362
  onClick: function onClick() {
79363
  var val = !disableLimit;
79381
  disableGutters: true,
79382
  className: "with-optin-action"
79383
  }, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79384
+ primary: translate_translate("settings_window.other_settings.reset_opt_in.title"),
79385
+ secondary: translate_translate("settings_window.other_settings.reset_opt_in.info")
79386
+ }), /*#__PURE__*/react.createElement(ListItemSecondaryAction_ListItemSecondaryAction, null, /*#__PURE__*/react.createElement(esm_Button_Button, {
79387
  onClick: function onClick() {
79388
  setResettingOptin(true);
79389
  apiRequest("/optin", {
79400
  });
79401
  },
79402
  disabled: resettingOptin
79403
+ }, translate_translate(resettingOptin ? "loading.loading" : "settings_window.other_settings.reset_opt_in.button")))), !buttonizer_admin.is_stand_alone && /*#__PURE__*/react.createElement(PermissionComponent_PermissionComponent, {
79404
  value: additionalPermissions,
79405
  onChange: function onChange(val) {
79406
  return _onChange("additional_permissions", val);
79425
  className: "settings-page-content"
79426
  }, /*#__PURE__*/react.createElement("div", {
79427
  className: "description"
79428
+ }, translate_translate("settings_window.icon_library.description"), ".", " ", translate_translate("settings_window.icon_library.info")), /*#__PURE__*/react.createElement(SettingsContainer, {
79429
  title: /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79430
+ primary: translate_translate("settings_window.icon_library.title"),
79431
+ secondary: translate_translate("settings_window.icon_library.info")
79432
  }),
79433
  className: "select"
79434
  }, /*#__PURE__*/react.createElement(FormControl_FormControl, {
79459
  key: "fontawesome"
79460
  }, "Font Awesome")))), /*#__PURE__*/react.createElement(SettingsContainer, {
79461
  title: /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79462
+ primary: translate_translate("settings_window.icon_library.select_version.title"),
79463
+ secondary: translate_translate("settings_window.icon_library.select_version.info")
79464
  }),
79465
  className: "select"
79466
  }, /*#__PURE__*/react.createElement(FormControl_FormControl, {
79490
  }, /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
79491
  value: "5.free",
79492
  key: "5.free"
79493
+ }, "Font Awesome 5 - " + translate_translate("settings_window.icon_library.free") + " - " + translate_translate("settings_window.icon_library.latest")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
79494
  value: "5.paid",
79495
  key: "5.paid"
79496
+ }, "Font Awesome 5 - Pro - " + translate_translate("settings_window.icon_library.latest")), /*#__PURE__*/react.createElement(MenuItem_MenuItem, {
79497
  value: "4.7.0",
79498
  key: "4.7.0"
79499
  }, "Font Awesome 4.7")))), icon_library_version === "5.paid" ? /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(SettingsContainer, {
79500
  title: /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79501
+ secondary: /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("b", null, translate_translate("settings_window.icon_library.library_license_key.info")), /*#__PURE__*/react.createElement(esm_Button_Button, {
79502
  target: "_blank",
79503
  href: "" //*Link to google analytics
79504
  ,
79507
  startIcon: /*#__PURE__*/react.createElement("i", {
79508
  className: "fas fa-info-circle"
79509
  })
79510
+ }, translate_translate("settings_window.icon_library.library_license_key.how_does_it_work")))
79511
  }),
79512
  className: "select"
79513
+ }, /*#__PURE__*/react.createElement(esm_TextField_TextField, {
79514
+ label: translate_translate("settings_window.icon_library.library_license_key.enter_integrity_code"),
79515
  inputProps: {
79516
  "data-testid": "iconlibrary:icon_library_code"
79517
  },
79524
  }))) : /*#__PURE__*/react.createElement(react.Fragment, null), /*#__PURE__*/react.createElement(List_List, null, /*#__PURE__*/react.createElement(ListItem_ListItem, {
79525
  disableGutters: true
79526
  }, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79527
+ primary: translate_translate("settings_window.icon_library.import_library.title"),
79528
+ secondary: translate_translate("settings_window.icon_library.import_library.info"),
79529
  onClick: function onClick() {
79530
  var val = !import_icon_library;
79531
 
79587
  }, [page]);
79588
  var settingMenuItems = {
79589
  analytics: {
79590
+ name: translate_translate("settings_window.google_analytics.title"),
79591
  value: drawers.SETTINGS_PAGES.analytics,
79592
  icon: "fas fa-chart-area",
79593
  page: /*#__PURE__*/react.createElement(Analytics, {
79599
  })
79600
  },
79601
  iconlibrary: {
79602
+ name: translate_translate("settings_window.icon_library.title"),
79603
  value: drawers.SETTINGS_PAGES.iconLibrary,
79604
  icon: "fas fa-user",
79605
  page: /*#__PURE__*/react.createElement(IconLibrary, {
79613
  })
79614
  },
79615
  preferences: {
79616
+ name: translate_translate("settings_window.other_settings.title"),
79617
  value: drawers.SETTINGS_PAGES.preferences,
79618
  icon: "fas fa-cog",
79619
  page: /*#__PURE__*/react.createElement(Preferences, {
79631
  })
79632
  },
79633
  reset: {
79634
+ name: translate_translate("settings_window.reset.title"),
79635
  value: drawers.SETTINGS_PAGES.reset,
79636
  icon: "fas fa-exclamation-triangle",
79637
  page: /*#__PURE__*/react.createElement(Reset, {
79656
  }, /*#__PURE__*/react.createElement("div", {
79657
  key: key,
79658
  className: "drawer-button"
79659
+ }, /*#__PURE__*/react.createElement(esm_Button_Button, {
79660
  color: isSelected ? "secondary" : "primary",
79661
  "data-testid": "settingsdialog:".concat(obj[1].value),
79662
  variant: "text",
79670
  }));
79671
  };
79672
 
79673
+ return /*#__PURE__*/react.createElement(esm_Dialog_Dialog, {
79674
  open: open,
79675
  maxWidth: "xl",
79676
  fullWidth: true,
79677
  onClose: onClose,
79678
  className: "drawer-splitter-modal"
79679
  }, /*#__PURE__*/react.createElement(DrawerSplitter, {
79680
+ title: translate_translate("common.settings"),
79681
  backButton: false,
79682
  icon: /*#__PURE__*/react.createElement("i", {
79683
  className: "fas fa-cog"
79684
  }),
79685
+ quickAction: /*#__PURE__*/react.createElement("span", null, translate_translate("settings_window.description")),
79686
  menu: menuItems(),
79687
  contentTitle: settingMenuItems[currentSetting].name
79688
  }, /*#__PURE__*/react.createElement("div", {
79723
  (0,react.useEffect)(function () {
79724
  openCollapsibleGroup ? openCollapsibleGroup : "button_group_container";
79725
  }, [openCollapsibleGroup]);
79726
+ return /*#__PURE__*/react.createElement(esm_Dialog_Dialog, {
79727
  open: open,
79728
  onClose: onClose,
79729
  className: "buttonizer-tour-options",
79730
  "data-testid": "dialog:buttonizer-tour-options-dialog"
79731
  }, /*#__PURE__*/react.createElement("div", {
79732
  className: "header"
79733
+ }, /*#__PURE__*/react.createElement(esm_DialogTitle_DialogTitle, null, /*#__PURE__*/react.createElement("i", {
79734
  className: "fas fa-globe-europe"
79735
+ }), translate_translate("settings_window.buttonizer_tour.title")), /*#__PURE__*/react.createElement(esm_IconButton_IconButton, {
79736
  onClick: onClose,
79737
  className: "skip-button",
79738
  "data-testid": "buttonizer-tour-options:close-button"
79739
  }, /*#__PURE__*/react.createElement("i", {
79740
  className: "fas fa-times"
79741
+ }))), /*#__PURE__*/react.createElement(esm_DialogContent_DialogContent, null, /*#__PURE__*/react.createElement(List_List, null, /*#__PURE__*/react.createElement(ListItem_ListItem, {
79742
  className: "list-item"
79743
  }, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79744
+ primary: translate_translate("settings_window.buttonizer_tour.interface.title"),
79745
+ secondary: translate_translate("settings_window.buttonizer_tour.interface.description")
79746
+ }), /*#__PURE__*/react.createElement(esm_Button_Button, {
79747
  variant: "contained",
79748
  color: "primary",
79749
  "data-testid": "buttonizer-tour-options:interface-tour",
79757
  }, 200);
79758
  closeDrawer();
79759
  }
79760
+ }, translate_translate("buttonizer_tour.take_tour"))), /*#__PURE__*/react.createElement(ListItem_ListItem, {
79761
  className: "list-item"
79762
  }, /*#__PURE__*/react.createElement(ListItemText_ListItemText, {
79763
+ primary: translate_translate("settings_window.buttonizer_tour.create_button.title"),
79764
+ secondary: translate_translate("settings_window.buttonizer_tour.create_button.description")
79765
+ }), /*#__PURE__*/react.createElement(esm_Button_Button, {
79766
  variant: "contained",
79767
  color: "primary",
79768
  "data-testid": "buttonizer-tour-options:create-button-tour",
79776
  }, 200);
79777
  closeDrawer();
79778
  }
79779
+ }, translate_translate("buttonizer_tour.take_tour"))))));
79780
  }
79781
 
79782
  /* harmony default export */ var SettingsDialog_ButtonizerTourOptions = (connect(function (state) {
79838
  }));
79839
  }
79840
  ;// CONCATENATED MODULE: ./src/js/dashboard/Components/Dialogs/PremiumDialog/PremiumDialog.js
 
79841
 
79842
 
79843
 
79844
 
79845
 
79846
+ var PremiumDialog = function PremiumDialog(_ref) {
79847
+ var open = _ref.open,
79848
+ currentTarget = _ref.currentTarget,
79849
+ text = _ref.text,
79850
+ _ref$anchorOriginVert = _ref.anchorOriginVertical,
79851
+ anchorOriginVertical = _ref$anchorOriginVert === void 0 ? "bottom" : _ref$anchorOriginVert,
79852
+ _ref$transformOriginV = _ref.transformOriginVertical,
79853
+ transformOriginVertical = _ref$transformOriginV === void 0 ? "top" : _ref$transformOriginV;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79854
 
79855
  var handleClose = function handleClose(status) {
79856
  if (status === "confirm") {
79857
  window.location.href = buttonizer_admin.is_stand_alone ? "https://app.buttonizer.pro/subscriptions" : buttonizer_admin.admin + "?page=Buttonizer-pricing";
79858
  return;
79859
  }
 
 
79860
  };
79861
 
79862
+ return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(Popover_Popover, {
79863
  open: open,
79864
+ onClose: function onClose() {
79865
+ app.closePremiumDialog();
79866
+ },
79867
+ anchorEl: currentTarget,
79868
+ anchorOrigin: {
79869
+ // Pop-up should sometimes appear above element and not only below it
79870
+ vertical: anchorOriginVertical,
79871
+ horizontal: "left"
79872
+ },
79873
+ transformOrigin: {
79874
+ // Pop-up should sometimes appear above element and not only below it
79875
+ vertical: transformOriginVertical,
79876
+ horizontal: "left"
79877
+ },
79878
+ className: "premium-dialog",
79879
+ "data-testid": "premium-dialog"
79880
+ }, /*#__PURE__*/react.createElement(esm_IconButton_IconButton, {
79881
+ className: "cancel-button",
79882
+ onClick: function onClick() {
79883
+ app.closePremiumDialog();
79884
+ },
79885
+ "data-testid": "premium-dialog-cancel"
79886
+ }, /*#__PURE__*/react.createElement(esm_Icon_Icon, {
79887
+ fontSize: "inherit",
79888
+ className: "fas fa-times"
79889
+ })), /*#__PURE__*/react.createElement("img", {
79890
+ src: buttonizer_admin.assets + "/images/buttonizer-logo.png",
79891
+ width: 40
79892
+ }), /*#__PURE__*/react.createElement("h2", {
79893
+ className: "title"
79894
+ }, translate_translate("premium.modal.title")), /*#__PURE__*/react.createElement("p", {
79895
+ className: "description",
79896
  "data-testid": "premium-dialog-text"
79897
+ }, text ? text : translate_translate("premium.modal.describe")), /*#__PURE__*/react.createElement("div", {
79898
+ className: "actions"
79899
+ }, /*#__PURE__*/react.createElement("button", {
79900
+ onClick: function onClick() {
79901
+ handleClose("confirm");
79902
+ },
79903
+ "data-testid": "premium-dialog-confirm"
79904
+ }, translate_translate("premium.modal.go_pro")), /*#__PURE__*/react.createElement("span", null, translate_translate("premium.modal.credentials")))));
79905
+ };
79906
+
79907
+ /* harmony default export */ var PremiumDialog_PremiumDialog = (PremiumDialog);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79908
  ;// CONCATENATED MODULE: ./node_modules/react-router-dom/esm/react-router-dom.js
79909
 
79910
 
80181
  function IframeOutbreak() {
80182
  return /*#__PURE__*/react.createElement("div", {
80183
  className: "broke-out-of-iframe"
80184
+ }, /*#__PURE__*/react.createElement("div", null, translate_translate("bar.preview.no_changes")), /*#__PURE__*/react.createElement(esm_Button_Button, {
80185
  variant: "outlined",
80186
  onClick: function onClick() {
80187
  document.getElementsByClassName("buttonizer-preview")[0].getElementsByTagName("iframe")[0].src = store.getState().misc.frameUrl;
80188
  }
80189
+ }, translate_translate("bar.preview.return")));
80190
  }
80191
  ;// CONCATENATED MODULE: ./src/js/dashboard/Components/Dialogs/SuperContributorDialog/index.js
80192
 
80213
  setSetting("welcome_super_contributor", false);
80214
  };
80215
 
80216
+ return /*#__PURE__*/react.createElement(esm_Dialog_Dialog, {
80217
  open: tour === null && welcome_super_contributor,
80218
  onClose: handleClose,
80219
  fullWidth: true,
80220
  maxWidth: "md",
80221
  "aria-labelledby": "alert-dialog-title"
80222
+ }, /*#__PURE__*/react.createElement(esm_DialogTitle_DialogTitle, {
80223
  id: "alert-dialog-title"
80224
+ }, translate_translate("welcome.title")), /*#__PURE__*/react.createElement(esm_DialogContent_DialogContent, null, /*#__PURE__*/react.createElement("img", {
80225
  src: "".concat(buttonizer_admin.assets, "/images/plugin-icon.png"),
80226
  width: 90,
80227
  align: "left",
80229
  marginRight: 20,
80230
  marginBottom: 10
80231
  }
80232
+ }), /*#__PURE__*/react.createElement(DialogContentText_DialogContentText, null, translate_translate("welcome.super-contributor"), /*#__PURE__*/react.createElement(Link_Link, {
80233
  href: "https://buttonizer.pro/super-contributor/",
80234
  target: "_blank",
80235
  rel: "noopener"
80236
+ }, translate_translate("welcome.learn-more")))), /*#__PURE__*/react.createElement(esm_DialogActions_DialogActions, null, /*#__PURE__*/react.createElement(esm_Button_Button, {
80237
  onClick: function onClick() {
80238
  return handleClose("cancel");
80239
  }
80240
+ }, translate_translate("welcome.no-thanks")), /*#__PURE__*/react.createElement(esm_Button_Button, {
80241
  onClick: function onClick() {
80242
  return handleClose("confirm");
80243
  },
80244
  color: "primary"
80245
+ }, translate_translate("welcome.yes-please"))));
80246
  }
80247
 
80248
  /* harmony default export */ var Dialogs_SuperContributorDialog = (connect(function (state) {
80273
  id: "myVideo",
80274
  autoPlay: true,
80275
  loop: true
80276
+ }), /*#__PURE__*/react.createElement("h2", null, translate_translate("buttonizer_tour.interface_tour.step_0.title")), translate_translate("buttonizer_tour.interface_tour.step_0.intro")),
80277
  tooltipClass: "videoDialog",
80278
  position: "right"
80279
  }, {
80280
  element: ".edit-button",
80281
+ title: translate_translate("buttonizer_tour.interface_tour.step_1.title"),
80282
+ intro: translate_translate("buttonizer_tour.interface_tour.step_1.intro"),
80283
  tooltipClass: "tourDialog",
80284
  position: "right"
80285
  }, // Go to next page, skip step
80286
  {
80287
  element: ".simplebar-content-wrapper",
80288
+ title: translate_translate("buttonizer_tour.interface_tour.step_2.title"),
80289
+ intro: translate_translate("buttonizer_tour.interface_tour.step_2.intro"),
80290
  tooltipClass: "centerTopDialog",
80291
  position: "right"
80292
  }, {
80293
  element: ".simplebar-content-wrapper",
80294
+ title: translate_translate("buttonizer_tour.interface_tour.step_2.title"),
80295
+ intro: translate_translate("buttonizer_tour.interface_tour.step_2.intro"),
80296
  tooltipClass: "centerTopDialog",
80297
  position: "right"
80298
  }, {
80303
  id: "myVideo",
80304
  autoPlay: true,
80305
  loop: true
80306
+ }), /*#__PURE__*/react.createElement("h2", null, translate_translate("buttonizer_tour.interface_tour.step_3.title")), translate_translate("buttonizer_tour.interface_tour.step_3.intro")),
80307
  tooltipClass: "centerVideoDialog",
80308
  position: "right"
80309
  }, {
80310
  element: ".breadcrumb-button",
80311
+ title: translate_translate("buttonizer_tour.interface_tour.step_4.title"),
80312
+ intro: translate_translate("buttonizer_tour.interface_tour.step_4.intro"),
80313
  tooltipClass: "tourDialog",
80314
  position: "right"
80315
  }, {
80316
  element: ".MuiButton-Publish",
80317
+ title: translate_translate("buttonizer_tour.interface_tour.step_5.title"),
80318
+ intro: translate_translate("buttonizer_tour.interface_tour.step_5.intro"),
80319
  tooltipClass: "centerBottomDialog",
80320
  position: "right"
80321
  }, // Go to next page, skip step
80322
  {
80323
  element: ".menu-container",
80324
+ title: translate_translate("buttonizer_tour.interface_tour.step_6.title"),
80325
+ intro: translate_translate("buttonizer_tour.interface_tour.step_6.intro"),
80326
  tooltipClass: "centerTopDialog",
80327
  position: "right"
80328
  }, {
80329
  element: ".menu-container",
80330
+ title: translate_translate("buttonizer_tour.interface_tour.step_6.title"),
80331
+ intro: translate_translate("buttonizer_tour.interface_tour.step_6.intro"),
80332
  tooltipClass: "centerTopDialog",
80333
  position: "right"
80334
  }, {
80335
  element: ".menu-settings",
80336
+ title: translate_translate("buttonizer_tour.interface_tour.step_7.title"),
80337
+ intro: translate_translate("buttonizer_tour.interface_tour.step_7.intro"),
80338
  tooltipClass: "tourDialog",
80339
  position: "right"
80340
  }, {
80341
  element: ".menu-item.buttonizer-tour",
80342
+ title: translate_translate("buttonizer_tour.interface_tour.step_8.title"),
80343
+ intro: translate_translate("buttonizer_tour.interface_tour.step_8.intro"),
80344
  tooltipClass: "tourDialog",
80345
  position: "right"
80346
  }, // Go to next page, skip step
80347
  {
80348
  element: ".menu-support",
80349
+ title: translate_translate("buttonizer_tour.interface_tour.step_9.title"),
80350
+ intro: translate_translate("buttonizer_tour.interface_tour.step_9.intro"),
80351
  tooltipClass: "tourDialog",
80352
  position: "right"
80353
  }, {
80354
  element: ".menu-support",
80355
+ title: translate_translate("buttonizer_tour.interface_tour.step_9.title"),
80356
+ intro: translate_translate("buttonizer_tour.interface_tour.step_9.intro"),
80357
  tooltipClass: "tourDialog",
80358
  position: "right"
80359
  }, {
80360
  element: ".menu-item.community",
80361
+ title: translate_translate("buttonizer_tour.final.title"),
80362
  intro: /*#__PURE__*/react.createElement(Trans, {
80363
  i18nKey: "buttonizer_tour.final.intro",
80364
  components: {
80462
  function CreateButtonTour_getTourSteps() {
80463
  return [{
80464
  element: ".button-container",
80465
+ title: translate_translate("buttonizer_tour.create_button_tour.step_0.title"),
80466
+ intro: translate_translate("buttonizer_tour.create_button_tour.step_0.intro"),
80467
  tooltipClass: "tourDialog",
80468
  position: "right"
80469
  }, {
80470
  element: ".button-actions.edit-button",
80471
+ title: translate_translate("buttonizer_tour.create_button_tour.step_1.title"),
80472
+ intro: translate_translate("buttonizer_tour.create_button_tour.step_1.intro"),
80473
  tooltipClass: "tourDialog",
80474
  position: "right"
80475
  }, // Go to next page, skip step
80476
  {
80477
  element: ".simplebar-content-wrapper",
80478
+ title: translate_translate("buttonizer_tour.create_button_tour.step_2.title"),
80479
+ intro: translate_translate("buttonizer_tour.create_button_tour.step_2.intro"),
80480
  tooltipClass: "centerTopDialog"
80481
  }, // Go to style page
80482
  {
80483
  element: ".simplebar-content-wrapper",
80484
+ title: translate_translate("buttonizer_tour.create_button_tour.step_2.title"),
80485
+ intro: translate_translate("buttonizer_tour.create_button_tour.step_2.intro"),
80486
  tooltipClass: "centerTopDialog"
80487
  }, {
80488
  element: ".button-action-type",
80489
+ title: translate_translate("buttonizer_tour.create_button_tour.step_3.title"),
80490
+ intro: translate_translate("buttonizer_tour.create_button_tour.step_3.intro"),
80491
  tooltipClass: "tourDialog",
80492
  position: "right"
80493
  }, {
80494
  element: ".open-url-in",
80495
+ title: translate_translate("buttonizer_tour.create_button_tour.step_4.title"),
80496
+ intro: translate_translate("buttonizer_tour.create_button_tour.step_4.intro"),
80497
  tooltipClass: "tourDialog",
80498
  position: "right"
80499
  }, {
80500
  element: ".desktop-mobile-visibility",
80501
+ title: translate_translate("buttonizer_tour.create_button_tour.step_5.title"),
80502
+ intro: translate_translate("buttonizer_tour.create_button_tour.step_5.intro"),
80503
  tooltipClass: "tourDialog",
80504
  position: "right"
80505
  }, // Go to next page, skip step
80506
  {
80507
  element: ".general-label-text",
80508
+ title: translate_translate("buttonizer_tour.create_button_tour.step_6.title"),
80509
+ intro: translate_translate("buttonizer_tour.create_button_tour.step_6.intro"),
80510
  tooltipClass: "tourDialog",
80511
  position: "right"
80512
  }, {
80513
  element: ".general-label-text",
80514
+ title: translate_translate("buttonizer_tour.create_button_tour.step_6.title"),
80515
+ intro: translate_translate("buttonizer_tour.create_button_tour.step_6.intro"),
80516
  tooltipClass: "tourDialog",
80517
  position: "right"
80518
  }, // Go to next page, skip step
80519
  {
80520
  element: ".simplebar-content-wrapper",
80521
+ title: translate_translate("buttonizer_tour.create_button_tour.step_7.title"),
80522
+ intro: translate_translate("buttonizer_tour.create_button_tour.step_7.intro"),
80523
  tooltipClass: "centerTopDialog"
80524
  }, {
80525
  element: ".simplebar-content-wrapper",
80526
+ title: translate_translate("buttonizer_tour.create_button_tour.step_7.title"),
80527
+ intro: translate_translate("buttonizer_tour.create_button_tour.step_7.intro"),
80528
  tooltipClass: "centerTopDialog"
80529
  }, {
80530
  element: ".normal-or-hover",
80531
+ title: translate_translate("buttonizer_tour.create_button_tour.step_8.title"),
80532
+ intro: translate_translate("buttonizer_tour.create_button_tour.step_8.intro"),
80533
  tooltipClass: "tourDialog",
80534
  position: "right"
80535
  }, {
80536
  element: ".style-background-color",
80537
+ title: translate_translate("buttonizer_tour.create_button_tour.step_9.title"),
80538
+ intro: translate_translate("buttonizer_tour.create_button_tour.step_9.intro"),
80539
  tooltipClass: "tourDialog",
80540
  position: "right"
80541
  }, {
80542
  element: ".style-border-radius",
80543
+ title: translate_translate("buttonizer_tour.create_button_tour.step_10.title"),
80544
+ intro: translate_translate("buttonizer_tour.create_button_tour.step_10.intro"),
80545
  tooltipClass: "tourDialog",
80546
  position: "right"
80547
  }, {
80548
  element: ".simplebar-content-wrapper",
80549
+ title: translate_translate("buttonizer_tour.create_button_tour.step_11.title"),
80550
+ intro: translate_translate("buttonizer_tour.create_button_tour.step_11.intro"),
80551
  tooltipClass: "tourDialog"
80552
  }, {
80553
  element: ".icon-or-image",
80554
+ title: translate_translate("buttonizer_tour.create_button_tour.step_12.title"),
80555
+ intro: translate_translate("buttonizer_tour.create_button_tour.step_12.intro"),
80556
  tooltipClass: "tourDialog",
80557
  position: "right"
80558
  }, {
80559
  element: ".form-icon-selector",
80560
+ title: translate_translate("buttonizer_tour.create_button_tour.step_13.title"),
80561
+ intro: translate_translate("buttonizer_tour.create_button_tour.step_13.intro"),
80562
  tooltipClass: "tourDialog",
80563
  position: "right"
80564
  }, {
80565
  element: ".style-icon-size",
80566
+ title: translate_translate("buttonizer_tour.create_button_tour.step_14.title"),
80567
+ intro: translate_translate("buttonizer_tour.create_button_tour.step_14.intro"),
80568
  tooltipClass: "tourDialog",
80569
  position: "right"
80570
  }, // Go to next page, skip step
80571
  {
80572
  element: ".label-device-visibility",
80573
+ title: translate_translate("buttonizer_tour.create_button_tour.step_15.title"),
80574
+ intro: translate_translate("buttonizer_tour.create_button_tour.step_15.intro"),
80575
  tooltipClass: "tourDialog",
80576
  position: "right"
80577
  }, {
80578
  element: ".label-device-visibility",
80579
+ title: translate_translate("buttonizer_tour.create_button_tour.step_15.title"),
80580
+ intro: translate_translate("buttonizer_tour.create_button_tour.step_15.intro"),
80581
  tooltipClass: "tourDialog",
80582
  position: "right"
80583
  }, {
80584
  element: ".label-position",
80585
+ title: translate_translate("buttonizer_tour.create_button_tour.step_16.title"),
80586
+ intro: translate_translate("buttonizer_tour.create_button_tour.step_16.intro"),
80587
  tooltipClass: "tourDialog",
80588
  position: "right"
80589
  }, {
80590
  element: ".label-font-family",
80591
+ title: translate_translate("buttonizer_tour.create_button_tour.step_17.title"),
80592
+ intro: translate_translate("buttonizer_tour.create_button_tour.step_17.intro"),
80593
  tooltipClass: "tourDialog",
80594
  position: "right"
80595
  }, {
80596
  element: ".style-label-margin",
80597
+ title: translate_translate("buttonizer_tour.create_button_tour.step_18.title"),
80598
+ intro: translate_translate("buttonizer_tour.create_button_tour.step_18.intro"),
80599
  tooltipClass: "tourDialog",
80600
  position: "right"
80601
  }, {
80602
  element: ".style-label-padding",
80603
+ title: translate_translate("buttonizer_tour.create_button_tour.step_19.title"),
80604
+ intro: translate_translate("buttonizer_tour.create_button_tour.step_19.intro"),
80605
  tooltipClass: "tourDialog",
80606
  position: "right"
80607
  }, {
80608
  element: ".style-label-padding",
80609
+ title: translate_translate("buttonizer_tour.final.title"),
80610
  intro: /*#__PURE__*/react.createElement(Trans, {
80611
  i18nKey: "buttonizer_tour.final.intro",
80612
  components: {
80798
  ref: ref,
80799
  options: {
80800
  showBullets: false,
80801
+ nextLabel: translate_translate("buttonizer_tour.next"),
80802
+ prevLabel: translate_translate("buttonizer_tour.previous"),
80803
+ doneLabel: translate_translate("buttonizer_tour.done"),
80804
  hidePrev: true,
80805
  showProgress: true
80806
  }
80928
  });
80929
  };
80930
 
80931
+ return /*#__PURE__*/react.createElement(esm_Dialog_Dialog, {
80932
  open: isOpened,
80933
  fullWidth: true,
80934
  "aria-labelledby": "temp-reauthenticate-dialog-title",
80935
  "aria-describedby": "temp-reauthenticate-dialog-description"
80936
+ }, /*#__PURE__*/react.createElement(esm_DialogTitle_DialogTitle, {
80937
  id: "temp-reauthenticate-dialog-title"
80938
+ }, "Reauthenticate"), /*#__PURE__*/react.createElement(esm_DialogContent_DialogContent, null, /*#__PURE__*/react.createElement(DialogContentText_DialogContentText, null, isUsingRefreshtoken ? /*#__PURE__*/react.createElement(react.Fragment, null, "Gathering information..") : /*#__PURE__*/react.createElement(react.Fragment, null, "Your editor authentication session has expired, this mostly happens after 30 minutes."))), /*#__PURE__*/react.createElement(esm_DialogActions_DialogActions, null, /*#__PURE__*/react.createElement(esm_Button_Button, {
80939
  onClick: openPopup,
80940
  disabled: isWaiting || isUsingRefreshtoken,
80941
  color: "primary"
80950
 
80951
  var updates = [[// New features (first slide)
80952
  {
80953
+ title: translate_translate("settings_window.changelog_dialog.new_features"),
80954
  info: [{
80955
+ title: translate_translate("settings_window.changelog_dialog.first_feature.title"),
80956
+ info: translate_translate("settings_window.changelog_dialog.first_feature.info")
80957
  }, {
80958
+ title: translate_translate("settings_window.changelog_dialog.second_feature.title"),
80959
+ info: translate_translate("settings_window.changelog_dialog.second_feature.info")
80960
  }, {
80961
+ title: translate_translate("settings_window.changelog_dialog.third_feature.title"),
80962
+ info: translate_translate("settings_window.changelog_dialog.third_feature.info")
80963
  }, {
80964
+ title: translate_translate("settings_window.changelog_dialog.fourth_feature.title"),
80965
+ info: translate_translate("settings_window.changelog_dialog.fourth_feature.info")
80966
  }]
80967
  } // {
80968
  // New updates & bug fixes (first slide)
81066
  setSetting("changelog_dialog_updated", parseInt(buttonizer_admin.changelog_dialog_updated));
81067
  };
81068
 
81069
+ return /*#__PURE__*/react.createElement(esm_Dialog_Dialog, {
81070
  open: !(welcome || location.pathname === "/welcome-splash") && dialogOpened,
81071
  onClose: handleClose,
81072
  fullWidth: true,
81076
  "data-testid": "dialog:changelog-dialog"
81077
  }, /*#__PURE__*/react.createElement("img", {
81078
  src: "".concat(buttonizer_admin.assets, "/images/changelog-dialog-header.png")
81079
+ }), /*#__PURE__*/react.createElement(esm_IconButton_IconButton, {
81080
  onClick: handleClose,
81081
  className: "close-down",
81082
  "data-testid": "changelog-dialog:close-down"
81083
  }, /*#__PURE__*/react.createElement("i", {
81084
  className: "fas fa-times"
81085
+ })), /*#__PURE__*/react.createElement(esm_DialogTitle_DialogTitle, null, translate_translate("settings_window.changelog_dialog.title")), /*#__PURE__*/react.createElement(esm_DialogContent_DialogContent, {
81086
  className: "content"
81087
  }, updates[currentSlide].map(function (type, key) {
81088
  return /*#__PURE__*/react.createElement("div", {
81097
  className: "info"
81098
  }, listItem.info)));
81099
  }));
81100
+ })), /*#__PURE__*/react.createElement(esm_DialogActions_DialogActions, {
81101
  className: "footer"
81102
  }, updates.length > 1 && /*#__PURE__*/react.createElement("div", {
81103
  className: "pagination"
81104
+ }, /*#__PURE__*/react.createElement(esm_IconButton_IconButton, {
81105
  className: "previous",
81106
  onClick: function onClick() {
81107
  return previousFeatureIndex();
81119
  backgroundColor: "#f08419"
81120
  } : null
81121
  });
81122
+ })), /*#__PURE__*/react.createElement(esm_IconButton_IconButton, {
81123
  className: "next",
81124
  onClick: function onClick() {
81125
  return nextFeatureIndex();
81127
  disabled: currentSlide === updates.length - 1
81128
  }, /*#__PURE__*/react.createElement("i", {
81129
  className: "fas fa-chevron-right"
81130
+ }))), /*#__PURE__*/react.createElement(esm_IconButton_IconButton, {
81131
  onClick: function onClick() {
81132
  window.open("https://community.buttonizer.pro/t/updates");
81133
  },
81134
  className: "external-link",
81135
  "data-testid": "changelog-dialog:external-link"
81136
+ }, translate_translate("settings_window.changelog_dialog.all_changelogs"), /*#__PURE__*/react.createElement("i", {
81137
  className: "fas fa-external-link-alt"
81138
  })), /*#__PURE__*/react.createElement("span", {
81139
  className: "version"
81140
+ }, translate_translate("bar.menu.version", {
81141
  versionNumber: buttonizer_admin.version
81142
  }))));
81143
  }
81235
  }, /*#__PURE__*/react.createElement(Grid_Grid, {
81236
  item: true,
81237
  xs: true
81238
+ }, /*#__PURE__*/react.createElement(esm_TextField_TextField, {
81239
  variant: "outlined",
81240
  value: currentPath,
81241
  className: "whitten",
81273
  variant: "contained",
81274
  ref: buttonRef,
81275
  "aria-label": "split button"
81276
+ }, /*#__PURE__*/react.createElement(esm_Button_Button, {
81277
  onClick: function onClick() {
81278
  return handlePageChange();
81279
  },
81321
 
81322
  if (e.data.messageType === "admin-link-redirect" && !isSnoozed) {
81323
  enqueueSnackbar( /*#__PURE__*/react.createElement(Trans, {
81324
+ i18nKey: "warnings.actions.".concat(e.data.message.type === "to-group" ? "toggle_menu_text" : "test_action_text"),
81325
  components: {
81326
  icon: /*#__PURE__*/react.createElement("span", {
81327
  className: style_module.key
81328
+ }, "SHIFT"),
81329
  mouseIcon: /*#__PURE__*/react.createElement(Mouse/* default */.Z, {
81330
  className: style_module.mouse
81331
  })
81337
  },
81338
  TransitionComponent: Grow_Grow,
81339
  preventDuplicate: true,
81340
+ key: "shift-notification-".concat(e.data.message.type === "to-group" ? "menu" : "action"),
81341
  action: function action(key) {
81342
+ return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement(esm_IconButton_IconButton, {
81343
  component: "a",
81344
  href: "https://community.buttonizer.pro/knowledgebase/960",
81345
  target: "_blank",
81350
  }
81351
  }, /*#__PURE__*/react.createElement("i", {
81352
  className: "fas fa-question-circle"
81353
+ })), /*#__PURE__*/react.createElement(esm_Button_Button, {
81354
  onClick: function onClick() {
81355
  isSnoozed = true;
81356
  closeSnackbar(key);
81357
  },
81358
+ color: "primary"
81359
+ }, translate_translate("common.snooze")));
81360
  }
81361
  });
81362
  } // Cannot preview in editor mode
81364
  enqueueSnackbar( /*#__PURE__*/react.createElement(Trans, {
81365
  i18nKey: "warnings.actions.disabled_in_editor",
81366
  values: {
81367
+ action: translate_translate(AdminNotifications_getValue(e.data.message).label)
81368
  },
81369
  components: {
81370
  bold: /*#__PURE__*/react.createElement("b", {
81390
  }, []);
81391
  return null;
81392
  }
81393
+ ;// CONCATENATED MODULE: ./src/js/dashboard/Components/Dialogs/StandaloneWarningDialog/StandaloneWarningDialog.js
81394
+
81395
+
81396
+
81397
+
81398
+ function StandaloneWarningDialog(_ref) {
81399
+ var _ref$opened = _ref.opened,
81400
+ opened = _ref$opened === void 0 ? false : _ref$opened,
81401
+ _onClose = _ref.onClose;
81402
+ return /*#__PURE__*/react.createElement(ConfirmDialog, {
81403
+ open: opened,
81404
+ title: "Conflict with Buttonizer Standalone",
81405
+ icon: /*#__PURE__*/react.createElement("i", {
81406
+ className: "fas fa-exclamation window-icon"
81407
+ }),
81408
+ maxWidth: "sm",
81409
+ buttons: [{
81410
+ value: "open_link",
81411
+ text: "Go to dashboard"
81412
+ }, {
81413
+ value: "confirm",
81414
+ text: translate_translate("modal.ok"),
81415
+ variant: "contained"
81416
+ }],
81417
+ onClose: function onClose(val) {
81418
+ if (val === "confirm") {
81419
+ _onClose();
81420
+ } else if (val === "open_link") {
81421
+ window.open("https://app.buttonizer.pro/overview");
81422
+ }
81423
+ }
81424
+ }, "We have prevented an editor crash. You have implemented", " ", /*#__PURE__*/react.createElement(Link_Link, {
81425
+ href: "https://app.buttonizer.pro/overview",
81426
+ color: "primary"
81427
+ }, "Buttonizer standalone"), " ", "on your WordPress website, that's great! However, our", " ", /*#__PURE__*/react.createElement("i", null, "Buttonizer for WordPress"), " editor currently conflicts with our", " ", /*#__PURE__*/react.createElement("i", null, "standalone script"), ".", /*#__PURE__*/react.createElement("br", null), /*#__PURE__*/react.createElement("br", null), "If you would like to continue to use the standalone version, please deactivate ", /*#__PURE__*/react.createElement("i", null, "Buttonizer for WordPress"), " and edit your buttons via your", " ", /*#__PURE__*/react.createElement(Link_Link, {
81428
+ href: "https://app.buttonizer.pro/overview",
81429
+ color: "primary"
81430
+ }, "standalone editor"), ". If you want to use this editor, remove the standalone code from your site.");
81431
+ }
81432
  ;// CONCATENATED MODULE: ./src/js/dashboard/App.js
81433
  function App_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { App_typeof = function _typeof(obj) { return typeof obj; }; } else { App_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return App_typeof(obj); }
81434
 
81435
+ function App_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
81436
+
81437
+ function App_objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { App_ownKeys(Object(source), true).forEach(function (key) { App_defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { App_ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
81438
+
81439
+ function App_defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
81440
+
81441
  function App_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
81442
 
81443
  function App_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
81476
 
81477
 
81478
 
81479
+
81480
 
81481
 
81482
 
81506
  showOutOfPreviewWarning: false,
81507
  premiumDialog: {
81508
  open: false,
81509
+ currentTarget: null,
81510
+ text: null,
81511
+ anchorOriginVertical: "bottom",
81512
+ transformOriginVertical: "top"
81513
  },
81514
  buttonizerTour: null,
81515
+ standaloneWarning: false,
81516
 
81517
  /* webpack-strip-block:removed */
81518
  sessionExpired: false,
81560
 
81561
  if (event.data.messageType === "admin-link-redirect") {
81562
  _this2.redirectFromFrontend(event.data.message);
81563
+ } // Standaone warning
81564
+
81565
+
81566
+ if (event.data.messageType === "standalone_conflict") {
81567
+ _this2.setState({
81568
+ standaloneWarning: true
81569
+ });
81570
  }
81571
  }, false);
81572
  }
81588
  var permalinkError = function permalinkError() {
81589
  return /*#__PURE__*/react.createElement(ConfirmDialog, {
81590
  open: !buttonizer_admin.permalink_structure,
81591
+ title: translate_translate("errors.permalink.title"),
81592
  icon: /*#__PURE__*/react.createElement("i", {
81593
  className: "fas fa-exclamation window-icon"
81594
  }),
81596
  className: "warning",
81597
  buttons: [{
81598
  value: "confirm",
81599
+ text: translate_translate("modal.ok_fix"),
81600
  variant: "contained"
81601
  }],
81602
  onClose: function onClose(status) {
81604
  document.location.href = buttonizer_admin.admin.replace("admin.php", "options-permalink.php");
81605
  }
81606
  }
81607
+ }, translate_translate("errors.permalink.info"));
81608
  };
81609
 
81610
  return /*#__PURE__*/react.createElement(HashRouter, null, /*#__PURE__*/react.createElement("div", {
81648
  });
81649
  }
81650
  }
81651
+ }, "Your browser does somehow not support iframes. Please try a recent version of Google Chrome, FireFox or Microsoft Edge")), /*#__PURE__*/react.createElement(Dialogs_SuperContributorDialog, {
81652
  tour: this.state.buttonizerTour
81653
  }), /*#__PURE__*/react.createElement(ChangelogDialog_ChangelogDialog, null), /*#__PURE__*/react.createElement(ButtonizerTour_ButtonizerTour, {
81654
  tour: this.state.buttonizerTour,
81655
  welcome: (this.props.welcome || document.location.hash === "#/welcome-splash") && this.props.loading.loaded
81656
+ }), /*#__PURE__*/react.createElement(PremiumDialog_PremiumDialog, {
81657
  open: this.state.premiumDialog.open,
81658
+ currentTarget: this.state.premiumDialog.currentTarget,
81659
  text: this.state.premiumDialog.text,
81660
+ anchorOriginVertical: this.state.premiumDialog.anchorOriginVertical,
81661
+ transformOriginVertical: this.state.premiumDialog.transformOriginVertical
81662
+ }), permalinkError(), javascriptError(), /*#__PURE__*/react.createElement(StandaloneWarningDialog, {
81663
+ opened: this.state.standaloneWarning,
81664
  onClose: function onClose() {
81665
+ return _this3.setState({
81666
+ standaloneWarning: false
 
 
 
 
81667
  });
81668
  }
81669
+ }), window.buttonizer_admin.is_stand_alone && /*#__PURE__*/react.createElement(SessionExpiredDialog, {
81670
  isOpened: this.state.sessionExpired
81671
+ })));
81672
  }
81673
  }, {
81674
  key: "loadFontAwesome",
81765
  }
81766
  }, {
81767
  key: "showPremiumDialog",
81768
+ value: function showPremiumDialog(currentTarget) {
81769
+ var text = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
81770
+ var anchorOriginPosition = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "bottom";
81771
+ var transformOriginPosition = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "top";
81772
  return this.setState({
81773
  premiumDialog: {
81774
  open: true,
81775
+ currentTarget: currentTarget,
81776
  text: text,
81777
+ anchorOriginVertical: anchorOriginPosition,
81778
+ transformOriginVertical: transformOriginPosition
81779
  }
81780
  });
81781
  }
81782
+ }, {
81783
+ key: "closePremiumDialog",
81784
+ value: function closePremiumDialog() {
81785
+ return this.setState({
81786
+ premiumDialog: App_objectSpread(App_objectSpread({}, this.state.premiumDialog), {}, {
81787
+ open: false
81788
+ })
81789
+ });
81790
+ }
81791
  }, {
81792
  key: "showJavascriptDialog",
81793
  value: function showJavascriptDialog() {
85912
 
85913
  if (this.state.showError) {
85914
  if (buttonizer_admin.can_send_errors != true) {
85915
+ return /*#__PURE__*/react.createElement(esm_Dialog_Dialog, {
85916
  open: this.state.dialogOpen,
85917
  maxWidth: "sm",
85918
  fullWidth: true,
85919
  "aria-labelledby": "max-width-dialog-title"
85920
+ }, /*#__PURE__*/react.createElement(esm_DialogTitle_DialogTitle, {
85921
  id: "max-width-dialog-title"
85922
+ }, translate_translate("utils.crash.title")), /*#__PURE__*/react.createElement(esm_DialogContent_DialogContent, null, /*#__PURE__*/react.createElement(DialogContentText_DialogContentText, null, translate_translate("utils.crash.no_super_intro")), /*#__PURE__*/react.createElement(DialogContentText_DialogContentText, null, translate_translate("utils.crash.no_super_additional_info"))), /*#__PURE__*/react.createElement(esm_DialogActions_DialogActions, null, /*#__PURE__*/react.createElement(esm_Button_Button, {
85923
  onClick: function onClick() {
85924
  return _this2.handleClose("community");
85925
  },
85926
  "data-testid": "buttonizer-community-btn"
85927
+ }, "Buttonizer Community"), /*#__PURE__*/react.createElement(esm_Button_Button, {
85928
  onClick: function onClick() {
85929
  return _this2.handleClose("reload");
85930
  },
85931
  disabled: this.state.disabled,
85932
  "data-testid": "no-thanks-btn"
85933
+ }, translate_translate("welcome.no-thanks")), /*#__PURE__*/react.createElement(esm_Button_Button, {
85934
  onClick: function onClick() {
85935
  return _this2.handleClose("confirm");
85936
  },
85937
  color: "primary",
85938
  disabled: this.state.disabled
85939
+ }, translate_translate("welcome.yes-please"))));
85940
  } // else
85941
 
85942
 
85949
  });
85950
  showReportDialog({
85951
  eventId: eventId,
85952
+ title: translate_translate("utils.crash.title"),
85953
+ subtitle: translate_translate("utils.crash.subtitle"),
85954
+ subtitle2: translate_translate("utils.crash.subtitle2"),
85955
+ labelClose: translate_translate("utils.crash.reload"),
85956
  onLoad: function onLoad() {
85957
  // There is no onclose callback function
85958
  // https://github.com/getsentry/sentry-javascript/issues/758
86582
 
86583
 
86584
 
86585
+
86586
  // Only include babel polyfill once.
86587
 
86588
  if (!__webpack_require__.g._babelPolyfill) {
86673
  keyMap: keyMap
86674
  }, /*#__PURE__*/react.createElement(SnackbarProvider, {
86675
  classes: {
86676
+ containerRoot: (0,clsx_m/* default */.Z)(window.buttonizer_admin.is_stand_alone && "dashboard-notifications"),
86677
+ contentRoot: "snackbar-container"
86678
  }
86679
  }, /*#__PURE__*/react.createElement(dashboard_App, null))))));
86680
  }
124895
  /******/ // startup
124896
  /******/ // Load entry module and return exports
124897
  /******/ // This entry module doesn't tell about it's top-level declarations so it can't be inlined
124898
+ /******/ var __webpack_exports__ = __webpack_require__(18671);
124899
  /******/
124900
  /******/ })()
124901
  ;
assets/dashboard.min.js CHANGED
@@ -9,7 +9,7 @@
9
  *
10
  * Buttonizer is Freemium software. The free version (build) does not contain premium functionality.
11
  *
12
- * (C) 2017-2022 Buttonizer v2.6.1
13
  *
14
  */
15
  /*!
@@ -23,9 +23,9 @@
23
  *
24
  * Buttonizer is Freemium software. The free version (build) does not contain premium functionality.
25
  *
26
- * (C) 2017-2022 Buttonizer v2.6.1
27
  *
28
- */!function(){var e,t,n={50676:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},59968:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},83614:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(50676);function o(e){if(Array.isArray(e))return(0,r.Z)(e)}},63349:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},5991:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{Z:function(){return o}})},96156:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},22122:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,{Z:function(){return r}})},41788:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(14665);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},96410:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},28970:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},62303:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},81253:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(19756);function o(e,t){if(null==e)return{};var n,o,i=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},19756:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},14665:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,{Z:function(){return r}})},28481:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59968);var o=n(82961),i=n(28970);function a(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||(0,o.Z)(e,t)||(0,i.Z)()}},78927:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(83614),o=n(96410),i=n(82961),a=n(62303);function l(e){return(0,r.Z)(e)||(0,o.Z)(e)||(0,i.Z)(e)||(0,a.Z)()}},90484:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},82961:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(50676);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},95318:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},20862:function(e,t,n){var r=n(50008).default;function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}e.exports=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var s=a?Object.getOwnPropertyDescriptor(e,l):null;s&&(s.get||s.set)?Object.defineProperty(i,l,s):i[l]=e[l]}return i.default=e,n&&n.set(e,i),i},e.exports.__esModule=!0,e.exports.default=e.exports},50008:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},70597:function(e,t,n){"use strict";var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(67294),a=(r=i)&&r.__esModule?r:{default:r};t.Z=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,i=void 0===r?24:r,l=e.height,s=void 0===l?24:l,u=e.style,c=void 0===u?{}:u,f=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:i,height:s},c)},f),a.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},43891:function(e,t,n){"use strict";var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(67294),a=(r=i)&&r.__esModule?r:{default:r};t.Z=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,i=void 0===r?24:r,l=e.height,s=void 0===l?24:l,u=e.style,c=void 0===u?{}:u,f=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:i,height:s},c)},f),a.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},62087:function(e,t,n){"use strict";var r=n(22122),o=n(81253),i=n(67294),a=(n(45697),n(86010)),l=n(14670),s=n(93871),u=i.forwardRef((function(e,t){var n=e.children,l=e.classes,u=e.className,c=e.color,f=void 0===c?"inherit":c,d=e.component,p=void 0===d?"svg":d,h=e.fontSize,m=void 0===h?"default":h,v=e.htmlColor,g=e.titleAccess,y=e.viewBox,b=void 0===y?"0 0 24 24":y,w=(0,o.Z)(e,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return i.createElement(p,(0,r.Z)({className:(0,a.Z)(l.root,u,"inherit"!==f&&l["color".concat((0,s.Z)(f))],"default"!==m&&l["fontSize".concat((0,s.Z)(m))]),focusable:"false",viewBox:b,color:v,"aria-hidden":!g||void 0,role:g?"img":void 0,ref:t},w),n,g?i.createElement("title",null,g):null)}));u.muiName="SvgIcon",t.Z=(0,l.Z)((function(e){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:e.typography.pxToRem(24),transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(35)}}}),{name:"MuiSvgIcon"})(u)},59693:function(e,t,n){"use strict";n.d(t,{mi:function(){return l},_4:function(){return u},U1:function(){return c},_j:function(){return f},$n:function(){return d}});var r=n(60288);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function i(e){if(e.type)return e;if("#"===e.charAt(0))return i(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error((0,r.Z)(3,e));var o=e.substring(t+1,e.length-1).split(",");return{type:n,values:o=o.map((function(e){return parseFloat(e)}))}}function a(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function l(e,t){var n=s(e),r=s(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function s(e){var t="hsl"===(e=i(e)).type?i(function(e){var t=(e=i(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,l=r*Math.min(o,1-o),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-l*Math.max(Math.min(t-3,9-t,1),-1)},u="rgb",c=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),a({type:u,values:c})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return s(e)>.5?f(e,t):d(e,t)}function c(e,t){return e=i(e),t=o(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,a(e)}function f(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return a(e)}function d(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return a(e)}},49277:function(e,t,n){"use strict";n.d(t,{Z:function(){return K}});var r=n(81253),o=n(35953),i=n(22122),a=["xs","sm","md","lg","xl"];function l(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,o=e.unit,l=void 0===o?"px":o,s=e.step,u=void 0===s?5:s,c=(0,r.Z)(e,["values","unit","step"]);function f(e){var t="number"==typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(l,")")}function d(e,t){var r=a.indexOf(t);return r===a.length-1?f(e):"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(l,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof n[a[r+1]]?n[a[r+1]]:t)-u/100).concat(l,")")}return(0,i.Z)({keys:a,values:n,up:f,down:function(e){var t=a.indexOf(e)+1,r=n[a[t]];return t===a.length?f("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-u/100).concat(l,")")},between:d,only:function(e){return d(e,e)},width:function(e){return n[e]}},c)}var s=n(96156);function u(e,t,n){var r;return(0,i.Z)({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,i.Z)({paddingLeft:t(2),paddingRight:t(2)},n,(0,s.Z)({},e.up("sm"),(0,i.Z)({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},(0,s.Z)(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),(0,s.Z)(r,e.up("sm"),{minHeight:64}),r)},n)}var c=n(60288),f={black:"#000",white:"#fff"},d={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},p={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},h={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},m={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},v={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},g={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},y={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},b=n(59693),w={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:f.white,default:d[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},x={text:{primary:f.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:d[800],default:"#303030"},action:{active:f.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function E(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,b.$n)(e.main,o):"dark"===t&&(e.dark=(0,b._j)(e.main,i)))}function _(e){var t=e.primary,n=void 0===t?{light:p[300],main:p[500],dark:p[700]}:t,a=e.secondary,l=void 0===a?{light:h.A200,main:h.A400,dark:h.A700}:a,s=e.error,u=void 0===s?{light:m[300],main:m[500],dark:m[700]}:s,_=e.warning,S=void 0===_?{light:v[300],main:v[500],dark:v[700]}:_,O=e.info,k=void 0===O?{light:g[300],main:g[500],dark:g[700]}:O,C=e.success,P=void 0===C?{light:y[300],main:y[500],dark:y[700]}:C,j=e.type,A=void 0===j?"light":j,T=e.contrastThreshold,I=void 0===T?3:T,R=e.tonalOffset,N=void 0===R?.2:R,D=(0,r.Z)(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function M(e){return(0,b.mi)(e,x.text.primary)>=I?x.text.primary:w.text.primary}var L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=(0,i.Z)({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error((0,c.Z)(4,t));if("string"!=typeof e.main)throw new Error((0,c.Z)(5,JSON.stringify(e.main)));return E(e,"light",n,N),E(e,"dark",r,N),e.contrastText||(e.contrastText=M(e.main)),e},F={dark:x,light:w};return(0,o.Z)((0,i.Z)({common:f,type:A,primary:L(n),secondary:L(l,"A400","A200","A700"),error:L(u),warning:L(S),info:L(k),success:L(P),grey:d,contrastThreshold:I,getContrastText:M,augmentColor:L,tonalOffset:N},F[A]),D)}function S(e){return Math.round(1e5*e)/1e5}var O={textTransform:"uppercase"};function k(e,t){var n="function"==typeof t?t(e):t,a=n.fontFamily,l=void 0===a?'"Roboto", "Helvetica", "Arial", sans-serif':a,s=n.fontSize,u=void 0===s?14:s,c=n.fontWeightLight,f=void 0===c?300:c,d=n.fontWeightRegular,p=void 0===d?400:d,h=n.fontWeightMedium,m=void 0===h?500:h,v=n.fontWeightBold,g=void 0===v?700:v,y=n.htmlFontSize,b=void 0===y?16:y,w=n.allVariants,x=n.pxToRem,E=(0,r.Z)(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var _=u/14,k=x||function(e){return"".concat(e/b*_,"rem")},C=function(e,t,n,r,o){return(0,i.Z)({fontFamily:l,fontWeight:e,fontSize:k(t),lineHeight:n},'"Roboto", "Helvetica", "Arial", sans-serif'===l?{letterSpacing:"".concat(S(r/t),"em")}:{},o,w)},P={h1:C(f,96,1.167,-1.5),h2:C(f,60,1.2,-.5),h3:C(p,48,1.167,0),h4:C(p,34,1.235,.25),h5:C(p,24,1.334,0),h6:C(m,20,1.6,.15),subtitle1:C(p,16,1.75,.15),subtitle2:C(m,14,1.57,.1),body1:C(p,16,1.5,.15),body2:C(p,14,1.43,.15),button:C(m,14,1.75,.4,O),caption:C(p,12,1.66,.4),overline:C(p,12,2.66,1,O)};return(0,o.Z)((0,i.Z)({htmlFontSize:b,pxToRem:k,round:S,fontFamily:l,fontSize:u,fontWeightLight:f,fontWeightRegular:p,fontWeightMedium:m,fontWeightBold:g},P),E,{clone:!1})}function C(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var P=["none",C(0,2,1,-1,0,1,1,0,0,1,3,0),C(0,3,1,-2,0,2,2,0,0,1,5,0),C(0,3,3,-2,0,3,4,0,0,1,8,0),C(0,2,4,-1,0,4,5,0,0,1,10,0),C(0,3,5,-1,0,5,8,0,0,1,14,0),C(0,3,5,-1,0,6,10,0,0,1,18,0),C(0,4,5,-2,0,7,10,1,0,2,16,1),C(0,5,5,-3,0,8,10,1,0,3,14,2),C(0,5,6,-3,0,9,12,1,0,3,16,2),C(0,6,6,-3,0,10,14,1,0,4,18,3),C(0,6,7,-4,0,11,15,1,0,4,20,3),C(0,7,8,-4,0,12,17,2,0,5,22,4),C(0,7,8,-4,0,13,19,2,0,5,24,4),C(0,7,9,-4,0,14,21,2,0,5,26,4),C(0,8,9,-5,0,15,22,2,0,6,28,5),C(0,8,10,-5,0,16,24,2,0,6,30,5),C(0,8,11,-5,0,17,26,2,0,6,32,5),C(0,9,11,-5,0,18,28,2,0,7,34,6),C(0,9,12,-6,0,19,29,2,0,7,36,6),C(0,10,13,-6,0,20,31,3,0,8,38,7),C(0,10,13,-6,0,21,33,3,0,8,40,7),C(0,10,14,-6,0,22,35,3,0,8,42,7),C(0,11,14,-7,0,23,36,3,0,9,44,8),C(0,11,15,-7,0,24,38,3,0,9,46,8)],j={borderRadius:4},A=n(28481),T=n(90484),I=(n(45697),{xs:0,sm:600,md:960,lg:1280,xl:1920}),R={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(I[e],"px)")}};var N=function(e,t){return t?(0,o.Z)(e,t,{clone:!1}):e};var D,M,L={m:"margin",p:"padding"},F={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},B={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},z=(D=function(e){if(e.length>2){if(!B[e])return[e];e=B[e]}var t=e.split(""),n=(0,A.Z)(t,2),r=n[0],o=n[1],i=L[r],a=F[o]||"";return Array.isArray(a)?a.map((function(e){return i+e})):[i+a]},M={},function(e){return void 0===M[e]&&(M[e]=D(e)),M[e]}),U=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function Z(e){var t=e.spacing||8;return"number"==typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"==typeof t?t:function(){}}function H(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"==typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function W(e){var t=Z(e.theme);return Object.keys(e).map((function(n){if(-1===U.indexOf(n))return null;var r=H(z(n),t),o=e[n];return function(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||R;return t.reduce((function(e,o,i){return e[r.up(r.keys[i])]=n(t[i]),e}),{})}if("object"===(0,T.Z)(t)){var o=e.theme.breakpoints||R;return Object.keys(t).reduce((function(e,r){return e[o.up(r)]=n(t[r]),e}),{})}return n(t)}(e,o,r)})).reduce(N,{})}W.propTypes={},W.filterProps=U;function G(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=Z({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return 0===n.length?t(1):1===n.length?t(n[0]):n.map((function(e){if("string"==typeof e)return e;var n=t(e);return"number"==typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return e}}),n.mui=!0,n}var V=n(43366),$=n(92781);var K=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,i=e.mixins,a=void 0===i?{}:i,s=e.palette,c=void 0===s?{}:s,f=e.spacing,d=e.typography,p=void 0===d?{}:d,h=(0,r.Z)(e,["breakpoints","mixins","palette","spacing","typography"]),m=_(c),v=l(n),g=G(f),y=(0,o.Z)({breakpoints:v,direction:"ltr",mixins:u(v,g,a),overrides:{},palette:m,props:{},shadows:P,typography:k(m,p),spacing:g,shape:j,transitions:V.ZP,zIndex:$.Z},h),b=arguments.length,w=new Array(b>1?b-1:0),x=1;x<b;x++)w[x-1]=arguments[x];return y=w.reduce((function(e,t){return(0,o.Z)(e,t)}),y)}},99700:function(e,t,n){"use strict";var r=(0,n(49277).Z)();t.Z=r},43366:function(e,t,n){"use strict";n.d(t,{x9:function(){return i}});var r=n(81253),o={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},i={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function a(e){return"".concat(Math.round(e),"ms")}t.ZP={easing:o,duration:i,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,l=void 0===n?i.standard:n,s=t.easing,u=void 0===s?o.easeInOut:s,c=t.delay,f=void 0===c?0:c;(0,r.Z)(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof l?l:a(l)," ").concat(u," ").concat("string"==typeof f?f:a(f))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}}},14670:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(22122),o=n(81253),i=n(67294),a=(n(45697),n(8679)),l=n.n(a),s=n(73914),u=n(93869),c=n(159),f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var a=t.defaultTheme,f=t.withTheme,d=void 0!==f&&f,p=t.name,h=(0,o.Z)(t,["defaultTheme","withTheme","name"]);var m=p,v=(0,s.Z)(e,(0,r.Z)({defaultTheme:a,Component:n,name:p||n.displayName,classNamePrefix:m},h)),g=i.forwardRef((function(e,t){e.classes;var l,s=e.innerRef,f=(0,o.Z)(e,["classes","innerRef"]),h=v((0,r.Z)({},n.defaultProps,e)),m=f;return("string"==typeof p||d)&&(l=(0,c.Z)()||a,p&&(m=(0,u.Z)({theme:l,name:p,props:f})),d&&!m.theme&&(m.theme=l)),i.createElement(n,(0,r.Z)({ref:s||t,classes:h},m))}));return l()(g,n),g}},d=n(99700);var p=function(e,t){return f(e,(0,r.Z)({defaultTheme:d.Z},t))}},92781:function(e,t){"use strict";t.Z={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},93871:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(60288);function o(e){if("string"!=typeof e)throw new Error((0,r.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},82568:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}}),(function(){}))}n.d(t,{Z:function(){return r}})},63786:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(22122),o=n(67294),i=n(62087);function a(e,t){var n=function(t,n){return o.createElement(i.Z,(0,r.Z)({ref:n},t),e)};return n.muiName=i.Z.muiName,o.memo(o.forwardRef(n))}},79437:function(e,t,n){"use strict";function r(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=this,l=function(){e.apply(a,o)};clearTimeout(t),t=setTimeout(l,n)}return r.clear=function(){clearTimeout(t)},r}n.d(t,{Z:function(){return r}})},28546:function(e,t,n){"use strict";n.r(t),n.d(t,{capitalize:function(){return r.Z},createChainedFunction:function(){return o.Z},createSvgIcon:function(){return i.Z},debounce:function(){return a.Z},deprecatedPropType:function(){return l},isMuiElement:function(){return s.Z},ownerDocument:function(){return u.Z},ownerWindow:function(){return c.Z},requirePropFactory:function(){return f},setRef:function(){return d.Z},unstable_useId:function(){return g.Z},unsupportedProp:function(){return p},useControlled:function(){return h.Z},useEventCallback:function(){return m.Z},useForkRef:function(){return v.Z},useIsFocusVisible:function(){return y.Z}});var r=n(93871),o=n(82568),i=n(63786),a=n(79437);function l(e,t){return function(){return null}}var s=n(83711),u=n(30626),c=n(80713);function f(e){return function(){return null}}var d=n(34236);function p(e,t,n,r,o){return null}var h=n(22775),m=n(55192),v=n(17294),g=n(95001),y=n(24896)},83711:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}},30626:function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{Z:function(){return r}})},80713:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(30626);function o(e){return(0,r.Z)(e).defaultView||window}},34236:function(e,t,n){"use strict";function r(e,t){"function"==typeof e?e(t):e&&(e.current=t)}n.d(t,{Z:function(){return r}})},95001:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(e){var t=r.useState(e),n=t[0],o=t[1],i=e||n;return r.useEffect((function(){null==n&&o("mui-".concat(Math.round(1e5*Math.random())))}),[n]),i}},22775:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(e){var t=e.controlled,n=e.default,o=(e.name,e.state,r.useRef(void 0!==t).current),i=r.useState(n),a=i[0],l=i[1];return[o?t:a,r.useCallback((function(e){o||l(e)}),[])]}},55192:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(67294),o="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function i(e){var t=r.useRef(e);return o((function(){t.current=e})),r.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}},17294:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(67294),o=n(34236);function i(e,t){return r.useMemo((function(){return null==e&&null==t?null:function(n){(0,o.Z)(e,n),(0,o.Z)(t,n)}}),[e,t])}},24896:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(67294),o=n(73935),i=!0,a=!1,l=null,s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function u(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function c(){i=!1}function f(){"hidden"===this.visibilityState&&a&&(i=!0)}function d(e){var t,n,r,o=e.target;try{return o.matches(":focus-visible")}catch(e){}return i||(n=(t=o).type,!("INPUT"!==(r=t.tagName)||!s[n]||t.readOnly)||"TEXTAREA"===r&&!t.readOnly||!!t.isContentEditable)}function p(){a=!0,window.clearTimeout(l),l=window.setTimeout((function(){a=!1}),100)}function h(){return{isFocusVisible:d,onBlurVisible:p,ref:r.useCallback((function(e){var t,n=o.findDOMNode(e);null!=n&&((t=n.ownerDocument).addEventListener("keydown",u,!0),t.addEventListener("mousedown",c,!0),t.addEventListener("pointerdown",c,!0),t.addEventListener("touchstart",c,!0),t.addEventListener("visibilitychange",f,!0))}),[])}}},78513:function(e,t,n){"use strict";var r=n(95318),o=n(20862);t.Z=void 0;var i=o(n(67294)),a=(0,r(n(2108)).default)(i.createElement("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreVert");t.Z=a},49507:function(e,t,n){"use strict";var r=n(95318),o=n(20862);t.Z=void 0;var i=o(n(67294)),a=(0,r(n(2108)).default)(i.createElement("path",{d:"M13 1.07V9h7c0-4.08-3.05-7.44-7-7.93zM4 15c0 4.42 3.58 8 8 8s8-3.58 8-8v-4H4v4zm7-13.93C7.05 1.56 4 4.92 4 9h7V1.07z"}),"Mouse");t.Z=a},2108:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(28546)},4137:function(e,t,n){"use strict";n.d(t,{NU:function(){return p},ZP:function(){return h}});var r=n(22122),o=n(81253),i=n(67294),a=(n(45697),n(17076)),l=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var s,u=n(54013),c=n(60246),f=(0,u.Ue)((0,c.Z)()),d={disableGeneration:!1,generateClassName:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,o=void 0===r?"jss":r,i=e.seed,s=void 0===i?"":i,u=""===s?"":"".concat(s,"-"),c=0,f=function(){return c+=1};return function(e,t){var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==l.indexOf(e.key))return"Mui-".concat(e.key);var i="".concat(u).concat(r,"-").concat(e.key);return t.options.theme[a.Z]&&""===s?"".concat(i,"-").concat(f()):i}return"".concat(u).concat(o).concat(f())}}(),jss:f,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},p=i.createContext(d);function h(e){var t=e.children,n=e.injectFirst,a=void 0!==n&&n,l=e.disableGeneration,f=void 0!==l&&l,d=(0,o.Z)(e,["children","injectFirst","disableGeneration"]),h=i.useContext(p),m=(0,r.Z)({},h,{disableGeneration:f},d);if(!m.jss.options.insertionPoint&&a&&"undefined"!=typeof window){if(!s){var v=document.head;s=document.createComment("mui-inject-first"),v.insertBefore(s,v.firstChild)}m.jss=(0,u.Ue)({plugins:(0,c.Z)().plugins,insertionPoint:s})}return i.createElement(p.Provider,{value:m},t)}},17076:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for;t.Z=n?Symbol.for("mui.nested"):"__THEME_NESTED__"},93869:function(e,t,n){"use strict";function r(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var o,i=t.props[n];for(o in i)void 0===r[o]&&(r[o]=i[o]);return r}n.d(t,{Z:function(){return r}})},60246:function(e,t,n){"use strict";n.d(t,{Z:function(){return Re}});var r=n(54013),o=Date.now(),i="fnValues"+o,a="fnStyle"+ ++o,l=function(){return{onCreateRule:function(e,t,n){if("function"!=typeof t)return null;var o=(0,r.JH)(e,{},n);return o[a]=t,o},onProcessStyle:function(e,t){if(i in t||a in t)return e;var n={};for(var r in e){var o=e[r];"function"==typeof o&&(delete e[r],n[r]=o)}return t[i]=n,e},onUpdate:function(e,t,n,r){var o=t,l=o[a];l&&(o.style=l(e)||{});var s=o[i];if(s)for(var u in s)o.prop(u,s[u](e),r)}}},s=n(22122),u="@global",c=function(){function e(e,t,n){for(var o in this.type="global",this.at=u,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new r.RB((0,s.Z)({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(){return this.rules.toString()},e}(),f=function(){function e(e,t,n){this.type="global",this.at=u,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=e,this.options=n;var r=e.substr("@global ".length);this.rule=n.jss.createRule(r,t,(0,s.Z)({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),d=/\s*,\s*/g;function p(e,t){for(var n=e.split(d),r="",o=0;o<n.length;o++)r+=t+" "+n[o].trim(),n[o+1]&&(r+=", ");return r}var h=function(){return{onCreateRule:function(e,t,n){if(!e)return null;if(e===u)return new c(e,t,n);if("@"===e[0]&&"@global "===e.substr(0,"@global ".length))return new f(e,t,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),!1===n.scoped&&(n.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var n=e.options,r=e.style,o=r?r[u]:null;if(o){for(var i in o)t.addRule(i,o[i],(0,s.Z)({},n,{selector:p(i,e.selector)}));delete r[u]}}(e,t),function(e,t){var n=e.options,r=e.style;for(var o in r)if("@"===o[0]&&o.substr(0,u.length)===u){var i=p(o.substr(u.length),e.selector);t.addRule(i,r[o],(0,s.Z)({},n,{selector:i})),delete r[o]}}(e,t))}}},m=/\s*,\s*/g,v=/&/g,g=/\$([\w-]+)/g;var y=function(){function e(e,t){return function(n,r){var o=e.getRule(r)||t&&t.getRule(r);return o?(o=o).selector:r}}function t(e,t){for(var n=t.split(m),r=e.split(m),o="",i=0;i<n.length;i++)for(var a=n[i],l=0;l<r.length;l++){var s=r[l];o&&(o+=", "),o+=-1!==s.indexOf("&")?s.replace(v,a):a+" "+s}return o}function n(e,t,n){if(n)return(0,s.Z)({},n,{index:n.index+1});var r=e.options.nestingLevel;r=void 0===r?1:r+1;var o=(0,s.Z)({},e.options,{nestingLevel:r,index:t.indexOf(e)+1});return delete o.name,o}return{onProcessStyle:function(r,o,i){if("style"!==o.type)return r;var a,l,u=o,c=u.options.parent;for(var f in r){var d=-1!==f.indexOf("&"),p="@"===f[0];if(d||p){if(a=n(u,c,a),d){var h=t(f,u.selector);l||(l=e(c,i)),h=h.replace(g,l),c.addRule(h,r[f],(0,s.Z)({},a,{selector:h}))}else p&&c.addRule(f,{},a).addRule(u.key,r[f],{selector:u.selector});delete r[f]}}return r}}},b=/[A-Z]/g,w=/^ms-/,x={};function E(e){return"-"+e.toLowerCase()}var _=function(e){if(x.hasOwnProperty(e))return x[e];var t=e.replace(b,E);return x[e]=w.test(t)?"-"+t:t};function S(e){var t={};for(var n in e){t[0===n.indexOf("--")?n:_(n)]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(S):t.fallbacks=S(e.fallbacks)),t}var O=function(){return{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=S(e[t]);return e}return S(e)},onChangeValue:function(e,t,n){if(0===t.indexOf("--"))return e;var r=_(t);return t===r?e:(n.prop(r,e),null)}}},k=r.HZ&&CSS?CSS.px:"px",C=r.HZ&&CSS?CSS.ms:"ms",P=r.HZ&&CSS?CSS.percent:"%";function j(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var o in e)r[o]=e[o],r[o.replace(t,n)]=e[o];return r}var A=j({"animation-delay":C,"animation-duration":C,"background-position":k,"background-position-x":k,"background-position-y":k,"background-size":k,border:k,"border-bottom":k,"border-bottom-left-radius":k,"border-bottom-right-radius":k,"border-bottom-width":k,"border-left":k,"border-left-width":k,"border-radius":k,"border-right":k,"border-right-width":k,"border-top":k,"border-top-left-radius":k,"border-top-right-radius":k,"border-top-width":k,"border-width":k,"border-block":k,"border-block-end":k,"border-block-end-width":k,"border-block-start":k,"border-block-start-width":k,"border-block-width":k,"border-inline":k,"border-inline-end":k,"border-inline-end-width":k,"border-inline-start":k,"border-inline-start-width":k,"border-inline-width":k,"border-start-start-radius":k,"border-start-end-radius":k,"border-end-start-radius":k,"border-end-end-radius":k,margin:k,"margin-bottom":k,"margin-left":k,"margin-right":k,"margin-top":k,"margin-block":k,"margin-block-end":k,"margin-block-start":k,"margin-inline":k,"margin-inline-end":k,"margin-inline-start":k,padding:k,"padding-bottom":k,"padding-left":k,"padding-right":k,"padding-top":k,"padding-block":k,"padding-block-end":k,"padding-block-start":k,"padding-inline":k,"padding-inline-end":k,"padding-inline-start":k,"mask-position-x":k,"mask-position-y":k,"mask-size":k,height:k,width:k,"min-height":k,"max-height":k,"min-width":k,"max-width":k,bottom:k,left:k,top:k,right:k,inset:k,"inset-block":k,"inset-block-end":k,"inset-block-start":k,"inset-inline":k,"inset-inline-end":k,"inset-inline-start":k,"box-shadow":k,"text-shadow":k,"column-gap":k,"column-rule":k,"column-rule-width":k,"column-width":k,"font-size":k,"font-size-delta":k,"letter-spacing":k,"text-decoration-thickness":k,"text-indent":k,"text-stroke":k,"text-stroke-width":k,"word-spacing":k,motion:k,"motion-offset":k,outline:k,"outline-offset":k,"outline-width":k,perspective:k,"perspective-origin-x":P,"perspective-origin-y":P,"transform-origin":P,"transform-origin-x":P,"transform-origin-y":P,"transform-origin-z":P,"transition-delay":C,"transition-duration":C,"vertical-align":k,"flex-basis":k,"shape-margin":k,size:k,gap:k,grid:k,"grid-gap":k,"row-gap":k,"grid-row-gap":k,"grid-column-gap":k,"grid-template-rows":k,"grid-template-columns":k,"grid-auto-rows":k,"grid-auto-columns":k,"box-shadow-x":k,"box-shadow-y":k,"box-shadow-blur":k,"box-shadow-spread":k,"font-line-height":k,"text-shadow-x":k,"text-shadow-y":k,"text-shadow-blur":k});function T(e,t,n){if(null==t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=T(e,t[r],n);else if("object"==typeof t)if("fallbacks"===e)for(var o in t)t[o]=T(o,t[o],n);else for(var i in t)t[i]=T(e+"-"+i,t[i],n);else if("number"==typeof t&&!1===isNaN(t)){var a=n[e]||A[e];return!a||0===t&&a===k?t.toString():"function"==typeof a?a(t).toString():""+t+a}return t}var I=function(e){void 0===e&&(e={});var t=j(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=T(r,e[r],t);return e},onChangeValue:function(e,n){return T(n,e,t)}}},R=n(33827),N=n(78927),D="",M="",L="",F="",B=R.Z&&"ontouchstart"in document.documentElement;if(R.Z){var z={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},U=document.createElement("p").style;for(var Z in z)if(Z+"Transform"in U){D=Z,M=z[Z];break}"Webkit"===D&&"msHyphens"in U&&(D="ms",M=z.ms,F="edge"),"Webkit"===D&&"-apple-trailing-word"in U&&(L="apple")}var H=D,W=M,G=L,V=F,$=B;var K={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===H?"-webkit-"+e:W+e)}},q={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===H?W+"print-"+e:e)}},Y=/[-\s]+(.)?/g;function J(e,t){return t?t.toUpperCase():""}function X(e){return e.replace(Y,J)}function Q(e){return X("-"+e)}var ee,te={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===H){if(X("mask-image")in t)return e;if(H+Q("mask-image")in t)return W+e}return e}},ne={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==G||$?e:W+e)}},re={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:W+e)}},oe={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:W+e)}},ie={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===H||"ms"===H&&"edge"!==V?W+e:e)}},ae={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===H||"ms"===H||"apple"===G?W+e:e)}},le={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===H?"WebkitColumn"+Q(e)in t&&W+"column-"+e:"Moz"===H&&("page"+Q(e)in t&&"page-"+e))}},se={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===H)return e;var n=e.replace("-inline","");return H+Q(n)in t&&W+n}},ue={supportedProperty:function(e,t){return X(e)in t&&e}},ce={supportedProperty:function(e,t){var n=Q(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:H+n in t?W+e:"Webkit"!==H&&"Webkit"+n in t&&"-webkit-"+e}},fe={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===H?""+W+e:e)}},de={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===H?W+"scroll-chaining":e)}},pe={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},he={supportedProperty:function(e,t){var n=pe[e];return!!n&&(H+Q(n)in t&&W+n)}},me={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},ve=Object.keys(me),ge=function(e){return W+e},ye=[K,q,te,ne,re,oe,ie,ae,le,se,ue,ce,fe,de,he,{supportedProperty:function(e,t,n){var r=n.multiple;if(ve.indexOf(e)>-1){var o=me[e];if(!Array.isArray(o))return H+Q(o)in t&&W+o;if(!r)return!1;for(var i=0;i<o.length;i++)if(!(H+Q(o[0])in t))return!1;return o.map(ge)}return!1}}],be=ye.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),we=ye.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,(0,N.Z)(t.noPrefill)),e}),[]),xe={};if(R.Z){ee=document.createElement("p");var Ee=window.getComputedStyle(document.documentElement,"");for(var _e in Ee)isNaN(_e)||(xe[Ee[_e]]=Ee[_e]);we.forEach((function(e){return delete xe[e]}))}function Se(e,t){if(void 0===t&&(t={}),!ee)return e;if(null!=xe[e])return xe[e];"transition"!==e&&"transform"!==e||(t[e]=e in ee.style);for(var n=0;n<be.length&&(xe[e]=be[n](e,ee.style,t),!xe[e]);n++);try{ee.style[e]=""}catch(e){return!1}return xe[e]}var Oe,ke={},Ce={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Pe=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function je(e,t,n){if("var"===t)return"var";if("all"===t)return"all";if("all"===n)return", all";var r=t?Se(t):", "+Se(n);return r||(t||n)}function Ae(e,t){var n=t;if(!Oe||"content"===e)return t;if("string"!=typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=ke[r])return ke[r];try{Oe.style[e]=n}catch(e){return ke[r]=!1,!1}if(Ce[e])n=n.replace(Pe,je);else if(""===Oe.style[e]&&("-ms-flex"===(n=W+n)&&(Oe.style[e]="-ms-flexbox"),Oe.style[e]=n,""===Oe.style[e]))return ke[r]=!1,!1;return Oe.style[e]="",ke[r]=n,ke[r]}R.Z&&(Oe=document.createElement("p"));var Te=function(){function e(t){for(var n in t){var o=t[n];if("fallbacks"===n&&Array.isArray(o))t[n]=o.map(e);else{var i=!1,a=Se(n);a&&a!==n&&(i=!0);var l=!1,s=Ae(a,(0,r.EK)(o));s&&s!==o&&(l=!0),(i||l)&&(i&&delete t[n],t[a||n]=s||o)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at=function(e){return"-"===e[1]||"ms"===H?e:"@"+W+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,n){return"style"!==n.type?t:e(t)},onChangeValue:function(e,t){return Ae(t,(0,r.EK)(e))||e}}};var Ie=function(){var e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length};return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},o=Object.keys(t).sort(e),i=0;i<o.length;i++)r[o[i]]=t[o[i]];return r}}};function Re(){return{plugins:[l(),h(),y(),O(),I(),"undefined"==typeof window?null:Te(),Ie()]}}},73914:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(81253),o=n(22122),i=n(67294),a=n(54013),l=n(65835),s={set:function(e,t,n,r){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(n,r)},get:function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},delete:function(e,t,n){e.get(t).delete(n)}},u=n(159),c=n(4137),f=-1e9;function d(){return f+=1}var p=n(35953);function h(e){var t="function"==typeof e;return{create:function(n,r){var i;try{i=t?e(n):e}catch(e){throw e}if(!r||!n.overrides||!n.overrides[r])return i;var a=n.overrides[r],l=(0,o.Z)({},i);return Object.keys(a).forEach((function(e){l[e]=(0,p.Z)(l[e],a[e])})),l},options:{}}}var m={};function v(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var o=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,o=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,o=!0),o&&(r.cacheClasses.value=(0,l.Z)({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function g(e,t){var n=e.state,r=e.theme,i=e.stylesOptions,u=e.stylesCreator,c=e.name;if(!i.disableGeneration){var f=s.get(i.sheetsManager,u,r);f||(f={refs:0,staticSheet:null,dynamicStyles:null},s.set(i.sheetsManager,u,r,f));var d=(0,o.Z)({},u.options,i,{theme:r,flip:"boolean"==typeof i.flip?i.flip:"rtl"===r.direction});d.generateId=d.serverGenerateClassName||d.generateClassName;var p=i.sheetsRegistry;if(0===f.refs){var h;i.sheetsCache&&(h=s.get(i.sheetsCache,u,r));var m=u.create(r,c);h||((h=i.jss.createStyleSheet(m,(0,o.Z)({link:!1},d))).attach(),i.sheetsCache&&s.set(i.sheetsCache,u,r,h)),p&&p.add(h),f.staticSheet=h,f.dynamicStyles=(0,a._$)(m)}if(f.dynamicStyles){var v=i.jss.createStyleSheet(f.dynamicStyles,(0,o.Z)({link:!0},d));v.update(t),v.attach(),n.dynamicSheet=v,n.classes=(0,l.Z)({baseClasses:f.staticSheet.classes,newClasses:v.classes}),p&&p.add(v)}else n.classes=f.staticSheet.classes;f.refs+=1}}function y(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function b(e){var t=e.state,n=e.theme,r=e.stylesOptions,o=e.stylesCreator;if(!r.disableGeneration){var i=s.get(r.sheetsManager,o,n);i.refs-=1;var a=r.sheetsRegistry;0===i.refs&&(s.delete(r.sheetsManager,o,n),r.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}function w(e,t){var n,r=i.useRef([]),o=i.useMemo((function(){return{}}),t);r.current!==o&&(r.current=o,n=e()),i.useEffect((function(){return function(){n&&n()}}),[o])}function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,a=t.classNamePrefix,l=t.Component,s=t.defaultTheme,f=void 0===s?m:s,p=(0,r.Z)(t,["name","classNamePrefix","Component","defaultTheme"]),x=h(e),E=n||a||"makeStyles";x.options={index:d(),name:n,meta:E,classNamePrefix:E};var _=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,u.Z)()||f,r=(0,o.Z)({},i.useContext(c.NU),p),a=i.useRef(),s=i.useRef();w((function(){var o={name:n,state:{},stylesCreator:x,stylesOptions:r,theme:t};return g(o,e),s.current=!1,a.current=o,function(){b(o)}}),[t,x]),i.useEffect((function(){s.current&&y(a.current,e),s.current=!0}));var d=v(a.current,e.classes,l);return d};return _}},65835:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(22122);function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;e.Component;if(!n)return t;var o=(0,r.Z)({},t);return Object.keys(n).forEach((function(e){n[e]&&(o[e]="".concat(t[e]," ").concat(n[e]))})),o}},83800:function(e,t,n){"use strict";var r=n(67294).createContext(null);t.Z=r},159:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(67294),o=n(83800);function i(){return r.useContext(o.Z)}},35953:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(22122),o=n(90484);function i(e){return e&&"object"===(0,o.Z)(e)&&e.constructor===Object}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},o=n.clone?(0,r.Z)({},e):e;return i(e)&&i(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(i(t[r])&&r in e?o[r]=a(e[r],t[r],n):o[r]=t[r])})),o}},60288:function(e,t,n){"use strict";function r(e){for(var t="https://material-ui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}n.d(t,{Z:function(){return r}})},62844:function(e,t,n){"use strict";n.d(t,{Rf:function(){return i},DM:function(){return a},en:function(){return l},jH:function(){return s},Cf:function(){return u},Db:function(){return c},EG:function(){return f},l4:function(){return d},JY:function(){return p}});var r=n(61422),o={};function i(){return(0,r.KV)()?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}function a(){var e=i(),t=e.crypto||e.msCrypto;if(void 0!==t&&t.getRandomValues){var n=new Uint16Array(8);t.getRandomValues(n),n[3]=4095&n[3]|16384,n[4]=16383&n[4]|32768;var r=function(e){for(var t=e.toString(16);t.length<4;)t="0"+t;return t};return r(n[0])+r(n[1])+r(n[2])+r(n[3])+r(n[4])+r(n[5])+r(n[6])+r(n[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function l(e){if(!e)return{};var t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};var n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],relative:t[5]+n+r}}function s(e){if(e.message)return e.message;if(e.exception&&e.exception.values&&e.exception.values[0]){var t=e.exception.values[0];return t.type&&t.value?t.type+": "+t.value:t.type||t.value||e.event_id||"<unknown>"}return e.event_id||"<unknown>"}function u(e){var t=i();if(!("console"in t))return e();var n=t.console,r={};["debug","info","warn","error","log","assert"].forEach((function(e){e in t.console&&n[e].__sentry_original__&&(r[e]=n[e],n[e]=n[e].__sentry_original__)}));var o=e();return Object.keys(r).forEach((function(e){n[e]=r[e]})),o}function c(e,t,n){e.exception=e.exception||{},e.exception.values=e.exception.values||[],e.exception.values[0]=e.exception.values[0]||{},e.exception.values[0].value=e.exception.values[0].value||t||"",e.exception.values[0].type=e.exception.values[0].type||n||"Error"}function f(e,t){void 0===t&&(t={});try{e.exception.values[0].mechanism=e.exception.values[0].mechanism||{},Object.keys(t).forEach((function(n){e.exception.values[0].mechanism[n]=t[n]}))}catch(e){}}function d(){try{return document.location.href}catch(e){return""}}function p(e,t){if(!t)return 6e4;var n=parseInt(""+t,10);if(!isNaN(n))return 1e3*n;var r=Date.parse(""+t);return isNaN(r)?6e4:r-e}},61422:function(e,t,n){"use strict";function r(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function o(e,t){return e.require(t)}n.d(t,{KV:function(){return r},l$:function(){return o}}),e=n.hmd(e)},21170:function(e,t,n){"use strict";n.d(t,{yW:function(){return s}});var r=n(62844),o=n(61422);e=n.hmd(e);var i={nowSeconds:function(){return Date.now()/1e3}};var a=(0,o.KV)()?function(){try{return(0,o.l$)(e,"perf_hooks").performance}catch(e){return}}():function(){var e=(0,r.Rf)().performance;if(e&&e.now)return{now:function(){return e.now()},timeOrigin:Date.now()-e.now()}}(),l=void 0===a?i:{nowSeconds:function(){return(a.timeOrigin+a.now())/1e3}},s=i.nowSeconds.bind(i);l.nowSeconds.bind(l),function(){var e=(0,r.Rf)().performance;if(e)e.timeOrigin?e.timeOrigin:e.timing&&e.timing.navigationStart||Date.now()}()},99601:function(e,t){"use strict";t.Z=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(2===e.length)return r(e[0],e[1])||null;var n=e.slice(1).reduce((function(e,t){return r(e,t)}),e[0]);return n||null};var n=new WeakMap;function r(e,t){if(e&&t){var r=n.get(e)||new WeakMap;n.set(e,r);var i=r.get(t)||function(n){o(e,n),o(t,n)};return r.set(t,i),i}return e||t}function o(e,t){"function"==typeof e?e(t):e.current=t}},9669:function(e,t,n){e.exports=n(51609)},55448:function(e,t,n){"use strict";var r=n(64867),o=n(36026),i=n(4372),a=n(15327),l=n(94097),s=n(84109),u=n(67985),c=n(85061);e.exports=function(e){return new Promise((function(t,n){var f=e.data,d=e.headers,p=e.responseType;r.isFormData(f)&&delete d["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var m=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";d.Authorization="Basic "+btoa(m+":"+v)}var g=l(e.baseURL,e.url);function y(){if(h){var r="getAllResponseHeaders"in h?s(h.getAllResponseHeaders()):null,i={data:p&&"text"!==p&&"json"!==p?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:r,config:e,request:h};o(t,n,i),h=null}}if(h.open(e.method.toUpperCase(),a(g,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,"onloadend"in h?h.onloadend=y:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(y)},h.onabort=function(){h&&(n(c("Request aborted",e,"ECONNABORTED",h)),h=null)},h.onerror=function(){n(c("Network Error",e,null,h)),h=null},h.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(c(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var b=(e.withCredentials||u(g))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;b&&(d[e.xsrfHeaderName]=b)}"setRequestHeader"in h&&r.forEach(d,(function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete d[t]:h.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),p&&"json"!==p&&(h.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){h&&(h.abort(),n(e),h=null)})),f||(f=null),h.send(f)}))}},51609:function(e,t,n){"use strict";var r=n(64867),o=n(91849),i=n(30321),a=n(47185);function l(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var s=l(n(45655));s.Axios=i,s.create=function(e){return l(a(s.defaults,e))},s.Cancel=n(65263),s.CancelToken=n(14972),s.isCancel=n(26502),s.all=function(e){return Promise.all(e)},s.spread=n(8713),s.isAxiosError=n(16268),e.exports=s,e.exports.default=s},65263:function(e){"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},14972:function(e,t,n){"use strict";var r=n(65263);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},26502:function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},30321:function(e,t,n){"use strict";var r=n(64867),o=n(15327),i=n(80782),a=n(13572),l=n(47185),s=n(54875),u=s.validators;function c(e){this.defaults=e,this.interceptors={request:new i,response:new i}}c.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=l(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&s.assertOptions(t,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!r){var c=[a,void 0];for(Array.prototype.unshift.apply(c,n),c=c.concat(i),o=Promise.resolve(e);c.length;)o=o.then(c.shift(),c.shift());return o}for(var f=e;n.length;){var d=n.shift(),p=n.shift();try{f=d(f)}catch(e){p(e);break}}try{o=a(f)}catch(e){return Promise.reject(e)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},c.prototype.getUri=function(e){return e=l(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,n){return this.request(l(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,n,r){return this.request(l(r||{},{method:e,url:t,data:n}))}})),e.exports=c},80782:function(e,t,n){"use strict";var r=n(64867);function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},94097:function(e,t,n){"use strict";var r=n(91793),o=n(7303);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},85061:function(e,t,n){"use strict";var r=n(80481);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},13572:function(e,t,n){"use strict";var r=n(64867),o=n(18527),i=n(26502),a=n(45655);function l(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return l(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(l(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},80481:function(e){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},47185:function(e,t,n){"use strict";var r=n(64867);e.exports=function(e,t){t=t||{};var n={},o=["url","method","data"],i=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],l=["validateStatus"];function s(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function u(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=s(void 0,e[o])):n[o]=s(e[o],t[o])}r.forEach(o,(function(e){r.isUndefined(t[e])||(n[e]=s(void 0,t[e]))})),r.forEach(i,u),r.forEach(a,(function(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=s(void 0,e[o])):n[o]=s(void 0,t[o])})),r.forEach(l,(function(r){r in t?n[r]=s(e[r],t[r]):r in e&&(n[r]=s(void 0,e[r]))}));var c=o.concat(i).concat(a).concat(l),f=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===c.indexOf(e)}));return r.forEach(f,u),n}},36026:function(e,t,n){"use strict";var r=n(85061);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},18527:function(e,t,n){"use strict";var r=n(64867),o=n(45655);e.exports=function(e,t,n){var i=this||o;return r.forEach(n,(function(n){e=n.call(i,e,t)})),e}},45655:function(e,t,n){"use strict";var r=n(64867),o=n(16016),i=n(80481),a={"Content-Type":"application/x-www-form-urlencoded"};function l(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(s=n(55448)),s),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(l(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(l(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional,n=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw i(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(a)})),e.exports=u},91849:function(e){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},15327:function(e,t,n){"use strict";var r=n(64867);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var l=e.indexOf("#");-1!==l&&(e=e.slice(0,l)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},7303:function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:function(e,t,n){"use strict";var r=n(64867);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var l=[];l.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&l.push("expires="+new Date(n).toGMTString()),r.isString(o)&&l.push("path="+o),r.isString(i)&&l.push("domain="+i),!0===a&&l.push("secure"),document.cookie=l.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},91793:function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},16268:function(e){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},67985:function(e,t,n){"use strict";var r=n(64867);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},16016:function(e,t,n){"use strict";var r=n(64867);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},84109:function(e,t,n){"use strict";var r=n(64867),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},8713:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},54875:function(e,t,n){"use strict";var r=n(20696),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var i={},a=r.version.split(".");function l(e,t){for(var n=t?t.split("."):a,r=e.split("."),o=0;o<3;o++){if(n[o]>r[o])return!0;if(n[o]<r[o])return!1}return!1}o.transitional=function(e,t,n){var o=t&&l(t);function a(e,t){return"[Axios v"+r.version+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,l){if(!1===e)throw new Error(a(r," has been removed in "+t));return o&&!i[r]&&(i[r]=!0,console.warn(a(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,l)}},e.exports={isOlderVersion:l,assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var l=e[i],s=void 0===l||a(l,i,e);if(!0!==s)throw new TypeError("option "+i+" must be "+s)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:o}},64867:function(e,t,n){"use strict";var r=n(91849),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return void 0===e}function l(e){return null!==e&&"object"==typeof e}function s(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===o.call(e)}function c(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:l,isPlainObject:s,isUndefined:a,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:u,isStream:function(e){return l(e)&&u(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:c,merge:function e(){var t={};function n(n,r){s(t[r])&&s(n)?t[r]=e(t[r],n):s(n)?t[r]=e({},n):i(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)c(arguments[r],n);return t},extend:function(e,t,n){return c(t,(function(t,o){e[o]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},20696:function(e){"use strict";e.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')},23215:function(e,t,n){"use strict";var r=n(67294),o=n(73935),i=n(67121),a=function(){return Math.random().toString(36).substring(7).split("").join(".")},l={INIT:"@@redux/INIT"+a(),REPLACE:"@@redux/REPLACE"+a(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+a()}};function s(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function u(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(u)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var o=e,a=t,c=[],f=c,d=!1;function p(){f===c&&(f=c.slice())}function h(){if(d)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return a}function m(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(d)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return p(),f.push(e),function(){if(t){if(d)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,p();var n=f.indexOf(e);f.splice(n,1),c=null}}}function v(e){if(!s(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(d)throw new Error("Reducers may not dispatch actions.");try{d=!0,a=o(a,e)}finally{d=!1}for(var t=c=f,n=0;n<t.length;n++){(0,t[n])()}return e}function g(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");o=e,v({type:l.REPLACE})}function y(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(h())}return n(),{unsubscribe:t(n)}}})[i.Z]=function(){return this},e}return v({type:l.INIT}),(r={dispatch:v,subscribe:m,getState:h,replaceReducer:g})[i.Z]=y,r}function c(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function f(e,t){return function(){return t(e.apply(this,arguments))}}function d(e,t){if("function"==typeof e)return f(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var n={};for(var r in e){var o=e[r];"function"==typeof o&&(n[r]=f(o,t))}return n}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(n,!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function g(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return m({},n,{dispatch:r=v.apply(void 0,i)(n.dispatch)})}}}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function x(e){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var E=n(46314),_=n(82492),S=n(14176),O={INIT:"INIT",ADD_MODEL:"ADD_MODEL",ADD_RELATION:"ADD_RELATION",CHANGE_RELATION:"CHANGE_RELATION",REMOVE_RELATION:"REMOVE_RELATION",GET_DATA_BEGIN:"GET_DATA_BEGIN",GET_DATA_SUCCESS:"GET_DATA_SUCCESS",GET_DATA_FAILURE:"GET_DATA_FAILURE",GET_DATA_END:"GET_DATA_END",HAS_CHANGES:"HAS_CHANGES",IS_UPDATING:"IS_UPDATING",STOP_LOADING:"STOP_LOADING",SET_SETTING_VALUE:"SET_SETTING_VALUE",SET_MISC_VALUE:"SET_MISC_VALUE",OPEN_DRAWER:"OPENING DRAWER",CLOSE_DRAWER:"CLOSING DRAWER",groups:{ADD_RECORD:"ADDING GROUP RECORD",REMOVE_RECORD:"REMOVING GROUP RECORD",SET_KEY_VALUE:"SET KEY VALUE GROUPS",SET_KEY_FORMAT:"SET FORMATTED KEY VALUE PAIRS GROUPS"},buttons:{ADD_RECORD:"ADDING BUTTON RECORD",REMOVE_RECORD:"REMOVING BUTTON RECORD",SET_KEY_VALUE:"SET KEY VALUE BUTTONS",SET_KEY_FORMAT:"SET FORMATTED KEY VALUE PAIRS BUTTONS"},timeSchedules:{ADD_RECORD:"ADDING TIME SCHEDULE",REMOVE_RECORD:"REMOVING TIME SCHEDULE",SET_KEY_VALUE:"SET KEY VALUE TIMESCHEDULES",SET_KEY_FORMAT:"SET FORMATTED KEY VALUE PAIRS TIMESCHEDULES",ADD_TIMESCHEDULE:"ADD_TIMESCHEDULE",SET_WEEKDAY:"SET_WEEKDAY",ADD_EXCLUDED_DATE:"ADD_EXCLUDED_DATE",SET_EXCLUDED_DATE:"SET_EXCLUDED_DATE",REMOVE_EXCLUDED_DATE:"REMOVE_EXCLUDED_DATE"},pageRules:{ADD_RECORD:"ADDING PAGE RULE",REMOVE_RECORD:"REMOVING PAGE RULE",SET_KEY_VALUE:"SET KEY VALUE PAGERULES",SET_KEY_FORMAT:"SET FORMATTED KEY VALUE PAIRS PAGERULES",ADD_PAGE_RULE_ROW:"ADD_PAGE_RULE_ROW",SET_PAGE_RULE_ROW:"SET_PAGE_RULE_ROW",REMOVE_PAGE_RULE_ROW:"REMOVE_PAGE_RULE_ROW"},wp:{GET_DATA_BEGIN:"GET_DATA_BEGIN_WP",GET_DATA_SUCCESS:"GET_DATA_SUCCESS_WP",GET_DATA_FAILURE:"GET_DATA_FAILURE_WP",GET_DATA_END:"GET_DATA_END_WP"},templates:{INIT:"INIT TEMPLATES",GET_DATA_BEGIN:"GET TEMPLATES DATA BEGIN",GET_DATA_FAILURE:"GET TEMPLATES DATA FAILURE",GET_DATA_END:"GET TEMPLATES DATA END",ADD_RECORD:"ADDING TEMPLATE"}},k=["monday","tuesday","wednesday","thursday","friday","saturday","sunday"],C="buttons",P="groups",j={MENU:"menu",SETTINGS:"settings",SETTINGS_PAGES:{analytics:"analytics",iconLibrary:"iconlibrary",preferences:"preferences",reset:"reset"},BUTTONIZER_TOUR:"buttonizertour",WELCOME_DIALOG:"welcome-splash",TIME_SCHEDULES:"timeschedules",PAGE_RULES:"pagerules"},A={normal_hover:{format:function(e,t){return[e,t].map((function(e){return"unset"===e||null==e?"":e})).filter((function(e,t,n){return 0===t||""!==e&&e!==n[0]})).join(";")||"unset"},parse:function(e){var t=e;if("boolean"==typeof e&&(t=String(e)),"number"==typeof e&&(t=String(e)),void 0===e)return[];if("string"!=typeof t)throw console.trace(),console.log(x(t),t),TypeError("'record[key]' val is not of type String, boolean or number");return t.split(";").map((function(e){if(e)return"true"===e||"false"!==e&&(isNaN(Number(e))?e:Number(e))})).map((function(e,t,n){return 0===t?e:e===n[0]?void 0:e}))}},fourSidesPx:{format:function(e,t,n,r){return"".concat(e,"px ").concat(t,"px ").concat(n,"px ").concat(r,"px")},parse:function(e){return e.match(/\d+/g)}},position:{format:function(e,t,n){return"".concat(e,": ").concat(n).concat(t)}}},T=["export_type","selected_page_rule","selected_schedule","id","parent","show_on_rule_trigger","show_on_schedule_trigger"],I={get buttonSettings(){var e={general:[],styling:[],advanced:[]};return Object.entries(E.button).map((function(t){_(e,y({},t[0],Object.entries(t[1]).map((function(e){return b(e,1)[0]}))))})),e},get groupSettings(){var e={general:[],styling:[],advanced:[]};return Object.entries(E.group).map((function(t){_(e,y({},t[0],Object.entries(t[1]).map((function(e){return b(e,1)[0]}))))})),e},get allSettings(){var e={general:[],styling:[],advanced:[]};return Object.entries(_({},E.button,E.group)).map((function(t){_(e,y({},t[0],Object.entries(t[1]).map((function(e){return b(e,1)[0]}))))})),e},get stylingNoGroup(){var e=this;return Object.entries(S(_({},E.button.styling,E.group.styling),(function(t,n){return e.groupSettings.styling.includes(n)&&e.buttonSettings.styling.includes(n)||n.includes("icon")}))).map((function(e){return b(e,1)[0]}))},get stylingHover(){return Object.entries(_({},E.button.styling,E.group.styling)).filter((function(e){return Array.isArray(e[1])})).map((function(e){return b(e,1)[0]}))}},R=n(9669),N=n.n(R);function D(e,t){M(),document.location.hash+="".concat(document.location.hash.match(/\/$/)?"":"/").concat(e).concat(t?"/"+t:"")}function M(){document.location.hash=document.location.hash.replace(/\/?(settings|menu|timeschedules|pagerules|buttonizertour).*$/i,"")}var L=new Map;function F(e){if(!e)return null;return"".concat(e.getDate(),"-").concat(function(e,t){for(var n=String(e);n.length<(t||2);)n="0"+n;return n}(e.getMonth()+1,2),"-").concat(e.getFullYear())}var B=function(){var e=buttonizer_admin.assets+"/templates/templates.json?buttonizer-icon-cache="+buttonizer_admin.version;return new Promise((function(t,n){L.has(e)&&t(L.get(e)),N()({url:e}).then((function(n){L.set(e,n.data),t(n.data)})).catch((function(e){return n({message:"Something went wrong",error:e})}))}))},z=n(71171),U=n.n(z);function Z(){return Array.apply(0,Array(15)).map((function(){return(e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789").charAt(Math.floor(Math.random()*e.length));var e})).join("")}var H=n(90484);function W(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var G=n(5991),V=n(63349),$=n(14665);function K(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,$.Z)(e,t)}function q(e,t){if(t&&("object"===(0,H.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,V.Z)(e)}function Y(e){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var J=n(96156),X=n(59968),Q=n(96410),ee=n(82961),te=n(28970);function ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(n),!0).forEach((function(t){(0,J.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var oe={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},ie=new(function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};W(this,e),this.init(t,n)}return(0,G.Z)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||oe,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,re(re({},{prefix:"".concat(this.prefix,":").concat(t,":")}),this.options))}}]),e}()),ae=function(){function e(){W(this,e),this.observers={}}return(0,G.Z)(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(this.observers[e]){var o=[].concat(this.observers[e]);o.forEach((function(e){e.apply(void 0,n)}))}if(this.observers["*"]){var i=[].concat(this.observers["*"]);i.forEach((function(t){t.apply(t,[e].concat(n))}))}}}]),e}();function le(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n}function se(e){return null==e?"":""+e}function ue(e,t,n){e.forEach((function(e){t[e]&&(n[e]=t[e])}))}function ce(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}for(var i="string"!=typeof t?[].concat(t):t.split(".");i.length>1;){if(o())return{};var a=r(i.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return o()?{}:{obj:e,k:r(i.shift())}}function fe(e,t,n){var r=ce(e,t,Object);r.obj[r.k]=n}function de(e,t){var n=ce(e,t),r=n.obj,o=n.k;if(r)return r[o]}function pe(e,t,n){var r=de(e,n);return void 0!==r?r:de(t,n)}function he(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):he(e[r],t[r],n):e[r]=t[r]);return e}function me(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var ve={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function ge(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return ve[e]})):e}var ye="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,be=[" ",",","?","!",";"];function we(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?we(Object(n),!0).forEach((function(t){(0,J.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):we(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ee(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Y(e);if(t){var o=Y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return q(this,n)}}function _e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),o=e,i=0;i<r.length;++i){if(!o)return;if("string"==typeof o[r[i]]&&i+1<r.length)return;if(void 0===o[r[i]]){for(var a=2,l=r.slice(i,i+a).join(n),s=o[l];void 0===s&&r.length>i+a;)a++,s=o[l=r.slice(i,i+a).join(n)];if(void 0===s)return;if(t.endsWith(l)){if("string"==typeof s)return s;if(l&&"string"==typeof s[l])return s[l]}var u=r.slice(i+a).join(n);return u?_e(s,u,n):void 0}o=o[r[i]]}return o}}var Se=function(e){K(n,e);var t=Ee(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return W(this,n),r=t.call(this),ye&&ae.call((0,V.Z)(r)),r.data=e||{},r.options=o,void 0===r.options.keySeparator&&(r.options.keySeparator="."),void 0===r.options.ignoreJSONStructure&&(r.options.ignoreJSONStructure=!0),r}return(0,G.Z)(n,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."));var l=de(this.data,a);return l||!i||"string"!=typeof n?l:_e(this.data&&this.data[e]&&this.data[e][t],n,o)}},{key:"addResource",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=this.options.keySeparator;void 0===i&&(i=".");var a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(r=t,t=(a=e.split("."))[1]),this.addNamespaces(t),fe(this.data,a,r),o.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var o in n)"string"!=typeof n[o]&&"[object Array]"!==Object.prototype.toString.apply(n[o])||this.addResource(e,t,o,n[o],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(a=e.split("."))[1]),this.addNamespaces(t);var l=de(this.data,a)||{};r?he(l,n,o):l=xe(xe({},l),n),fe(this.data,a,l),i.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?xe(xe({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((function(e){return t[e]&&Object.keys(t[e]).length>0}))}},{key:"toJSON",value:function(){return this.data}}]),n}(ae),Oe={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,o){var i=this;return e.forEach((function(e){i.processors[e]&&(t=i.processors[e].process(t,n,r,o))})),t}};function ke(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ke(Object(n),!0).forEach((function(t){(0,J.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ke(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Y(e);if(t){var o=Y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return q(this,n)}}var je={},Ae=function(e){K(n,e);var t=Pe(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return W(this,n),r=t.call(this),ye&&ae.call((0,V.Z)(r)),ue(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,(0,V.Z)(r)),r.options=o,void 0===r.options.keySeparator&&(r.options.keySeparator="."),r.logger=ie.create("translator"),r}return(0,G.Z)(n,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS||[],i=n&&e.indexOf(n)>-1,a=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||function(e,t,n){t=t||"",n=n||"";var r=be.filter((function(e){return t.indexOf(e)<0&&n.indexOf(e)<0}));if(0===r.length)return!0;var o=new RegExp("(".concat(r.map((function(e){return"?"===e?"\\?":e})).join("|"),")")),i=!o.test(e);if(!i){var a=e.indexOf(n);a>0&&!o.test(e.substring(0,a))&&(i=!0)}return i}(e,n,r));if(i&&!a){var l=e.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:e,namespaces:o};var s=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(s[0])>-1)&&(o=s.shift()),e=s.join(r)}return"string"==typeof o&&(o=[o]),{key:e,namespaces:o}}},{key:"translate",value:function(e,t,r){var o=this;if("object"!==(0,H.Z)(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,a=this.extractFromKey(e[e.length-1],t),l=a.key,s=a.namespaces,u=s[s.length-1],c=t.lng||this.language,f=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&"cimode"===c.toLowerCase()){if(f){var d=t.nsSeparator||this.options.nsSeparator;return u+d+l}return l}var p=this.resolve(e,t),h=p&&p.res,m=p&&p.usedKey||l,v=p&&p.exactUsedKey||l,g=Object.prototype.toString.apply(h),y=["[object Number]","[object Function]","[object RegExp]"],b=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,w=!this.i18nFormat||this.i18nFormat.handleAsObject,x="string"!=typeof h&&"boolean"!=typeof h&&"number"!=typeof h;if(w&&h&&x&&y.indexOf(g)<0&&("string"!=typeof b||"[object Array]"!==g)){if(!t.returnObjects&&!this.options.returnObjects)return this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,h,Ce(Ce({},t),{},{ns:s})):"key '".concat(l," (").concat(this.language,")' returned an object instead of string.");if(i){var E="[object Array]"===g,_=E?[]:{},S=E?v:m;for(var O in h)if(Object.prototype.hasOwnProperty.call(h,O)){var k="".concat(S).concat(i).concat(O);_[O]=this.translate(k,Ce(Ce({},t),{joinArrays:!1,ns:s})),_[O]===k&&(_[O]=h[O])}h=_}}else if(w&&"string"==typeof b&&"[object Array]"===g)(h=h.join(b))&&(h=this.extendTranslation(h,e,t,r));else{var C=!1,P=!1,j=void 0!==t.count&&"string"!=typeof t.count,A=n.hasDefaultValue(t),T=j?this.pluralResolver.getSuffix(c,t.count,t):"",I=t["defaultValue".concat(T)]||t.defaultValue;!this.isValidLookup(h)&&A&&(C=!0,h=I),this.isValidLookup(h)||(P=!0,h=l);var R=t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,N=R&&P?void 0:h,D=A&&I!==h&&this.options.updateMissing;if(P||C||D){if(this.logger.log(D?"updateKey":"missingKey",c,u,l,D?I:h),i){var M=this.resolve(l,Ce(Ce({},t),{},{keySeparator:!1}));M&&M.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var L=[],F=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&F&&F[0])for(var B=0;B<F.length;B++)L.push(F[B]);else"all"===this.options.saveMissingTo?L=this.languageUtils.toResolveHierarchy(t.lng||this.language):L.push(t.lng||this.language);var z=function(e,n,r){var i=A&&r!==h?r:N;o.options.missingKeyHandler?o.options.missingKeyHandler(e,u,n,i,D,t):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(e,u,n,i,D,t),o.emit("missingKey",e,u,n,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&j?L.forEach((function(e){o.pluralResolver.getSuffixes(e).forEach((function(n){z([e],l+n,t["defaultValue".concat(n)]||I)}))})):z(L,l,I))}h=this.extendTranslation(h,e,t,p,r),P&&h===l&&this.options.appendNamespaceToMissingKey&&(h="".concat(u,":").concat(l)),(P||C)&&this.options.parseMissingKeyHandler&&(h=this.options.parseMissingKeyHandler(h))}return h}},{key:"extendTranslation",value:function(e,t,n,r,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,n,r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(Ce(Ce({},n),{interpolation:Ce(Ce({},this.options.interpolation),n.interpolation)}));var a,l="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(l){var s=e.match(this.interpolator.nestingRegexp);a=s&&s.length}var u=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(u=Ce(Ce({},this.options.interpolation.defaultVariables),u)),e=this.interpolator.interpolate(e,u,n.lng||this.language,n),l){var c=e.match(this.interpolator.nestingRegexp);a<(c&&c.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return o&&o[0]===r[0]&&!n.context?(i.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):i.translate.apply(i,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var f=n.postProcess||this.options.postProcess,d="string"==typeof f?[f]:f;return null!=e&&d&&d.length&&!1!==n.applyPostProcessor&&(e=Oe.handle(d,e,t,this.options&&this.options.postProcessPassResolved?Ce({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,o,i,a=this,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!a.isValidLookup(t)){var s=a.extractFromKey(e,l),u=s.key;n=u;var c=s.namespaces;a.options.fallbackNS&&(c=c.concat(a.options.fallbackNS));var f=void 0!==l.count&&"string"!=typeof l.count,d=f&&!l.ordinal&&0===l.count&&a.pluralResolver.shouldUseIntlApi(),p=void 0!==l.context&&("string"==typeof l.context||"number"==typeof l.context)&&""!==l.context,h=l.lngs?l.lngs:a.languageUtils.toResolveHierarchy(l.lng||a.language,l.fallbackLng);c.forEach((function(e){a.isValidLookup(t)||(i=e,!je["".concat(h[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(i)&&(je["".concat(h[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(h.join(", "),'" won\'t get resolved as namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach((function(n){if(!a.isValidLookup(t)){o=n;var i,s=[u];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(s,u,n,e,l);else{var c;f&&(c=a.pluralResolver.getSuffix(n,l.count,l));if(f&&(s.push(u+c),d&&s.push(u+"_zero")),p){var h="".concat(u).concat(a.options.contextSeparator).concat(l.context);s.push(h),f&&(s.push(h+c),d&&s.push(h+"_zero"))}}for(;i=s.pop();)a.isValidLookup(t)||(r=i,t=a.getResource(n,e,i,l))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,"defaultValue".length)&&void 0!==e[t])return!0;return!1}}]),n}(ae);function Te(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Ie=function(){function e(t){W(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ie.create("languageUtils")}return(0,G.Z)(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=Te(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=Te(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=Te(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(r))return e}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),o=[],i=function(e){e&&(n.isSupportedCode(e)?o.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),r.forEach((function(e){o.indexOf(e)<0&&i(n.formatLanguageCode(e))})),o}}]),e}(),Re=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Ne={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},De=["v1","v2","v3"],Me={zero:0,one:1,two:2,few:3,many:4,other:5};function Le(){var e={};return Re.forEach((function(t){t.lngs.forEach((function(n){e[n]={numbers:t.nr,plurals:Ne[t.fc]}}))})),e}var Fe=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};W(this,e),this.languageUtils=t,this.options=n,this.logger=ie.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Le()}return(0,G.Z)(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((function(e){return"".concat(t).concat(e)}))}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((function(e,t){return Me[e]-Me[t]})).map((function(e){return"".concat(t.options.prepend).concat(e)})):r.numbers.map((function(r){return t.getSuffix(e,r,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),o=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===o?o="plural":1===o&&(o=""));var i=function(){return n.options.prepend&&o.toString()?n.options.prepend+o.toString():o.toString()};return"v1"===this.options.compatibilityJSON?1===o?"":"number"==typeof o?"_plural_".concat(o.toString()):i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!De.includes(this.options.compatibilityJSON)}}]),e}();function Be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Be(Object(n),!0).forEach((function(t){(0,J.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ue=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};W(this,e),this.logger=ie.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return(0,G.Z)(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:ge,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?me(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?me(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?me(t.nestingPrefix):t.nestingPrefixEscaped||me("$t("),this.nestingSuffix=t.nestingSuffix?me(t.nestingSuffix):t.nestingSuffixEscaped||me(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var o,i,a,l=this,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(e){return e.replace(/\$/g,"$$$$")}var c=function(e){if(e.indexOf(l.formatSeparator)<0){var o=pe(t,s,e);return l.alwaysFormat?l.format(o,void 0,n,ze(ze(ze({},r),t),{},{interpolationkey:e})):o}var i=e.split(l.formatSeparator),a=i.shift().trim(),u=i.join(l.formatSeparator).trim();return l.format(pe(t,s,a),u,n,ze(ze(ze({},r),t),{},{interpolationkey:a}))};this.resetRegExp();var f=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,d=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return u(e)}},{regex:this.regexp,safeValue:function(e){return l.escapeValue?u(l.escape(e)):u(e)}}].forEach((function(t){for(a=0;o=t.regex.exec(e);){var n=o[1].trim();if(void 0===(i=c(n)))if("function"==typeof f){var s=f(e,o,r);i="string"==typeof s?s:""}else if(r&&r.hasOwnProperty(n))i="";else{if(d){i=o[0];continue}l.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),i=""}else"string"==typeof i||l.useRawValueToEscape||(i=se(i));var u=t.safeValue(i);if(e=e.replace(o[0],u),d?(t.regex.lastIndex+=u.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++a>=l.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,o=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=ze({},i);function l(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),o="{".concat(r[1]);e=r[0],o=(o=this.interpolate(o,a)).replace(/'/g,'"');try{a=JSON.parse(o),t&&(a=ze(ze({},t),a))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(o)}return delete a.defaultValue,e}for(a.applyPostProcessor=!1,delete a.defaultValue;n=this.nestingRegexp.exec(e);){var s=[],u=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var c=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=c.shift(),s=c,u=!0}if((r=t(l.call(this,n[1].trim(),a),a))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=se(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),u&&(r=s.reduce((function(e,t){return o.format(e,t,i.lng,ze(ze({},i),{},{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function Ze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function He(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ze(Object(n),!0).forEach((function(t){(0,J.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function We(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var o=r[1].substring(0,r[1].length-1);if("currency"===t&&o.indexOf(":")<0)n.currency||(n.currency=o.trim());else if("relativetime"===t&&o.indexOf(":")<0)n.range||(n.range=o.trim());else{o.split(";").forEach((function(e){if(e){var t=function(e){return(0,X.Z)(e)||(0,Q.Z)(e)||(0,ee.Z)(e)||(0,te.Z)()}(e.split(":")),r=t[0],o=t.slice(1).join(":");"false"===o.trim()&&(n[r.trim()]=!1),"true"===o.trim()&&(n[r.trim()]=!0),isNaN(o.trim())||(n[r.trim()]=parseInt(o.trim(),10)),n[r.trim()]||(n[r.trim()]=o.trim())}}))}}return{formatName:t,formatOptions:n}}var Ge=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};W(this,e),this.logger=ie.create("formatter"),this.options=t,this.formats={number:function(e,t,n){return new Intl.NumberFormat(t,n).format(e)},currency:function(e,t,n){return new Intl.NumberFormat(t,He(He({},n),{},{style:"currency"})).format(e)},datetime:function(e,t,n){return new Intl.DateTimeFormat(t,He({},n)).format(e)},relativetime:function(e,t,n){return new Intl.RelativeTimeFormat(t,He({},n)).format(e,n.range||"day")},list:function(e,t,n){return new Intl.ListFormat(t,He({},n)).format(e)}},this.init(t)}return(0,G.Z)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=t.interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"format",value:function(e,t,n,r){var o=this;return t.split(this.formatSeparator).reduce((function(e,t){var i=We(t),a=i.formatName,l=i.formatOptions;if(o.formats[a]){var s=e;try{var u=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},c=u.locale||u.lng||r.locale||r.lng||n;s=o.formats[a](e,c,He(He(He({},l),r),u))}catch(e){o.logger.warn(e)}return s}return o.logger.warn("there was no format function for ".concat(a)),e}),e)}}]),e}();function Ve(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ve(Object(n),!0).forEach((function(t){(0,J.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ve(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ke(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Y(e);if(t){var o=Y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return q(this,n)}}var qe=function(e){K(n,e);var t=Ke(n);function n(e,r,o){var i,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return W(this,n),i=t.call(this),ye&&ae.call((0,V.Z)(i)),i.backend=e,i.store=r,i.services=o,i.languageUtils=o.languageUtils,i.options=a,i.logger=ie.create("backendConnector"),i.state={},i.queue=[],i.backend&&i.backend.init&&i.backend.init(o,a.backend,a),i}return(0,G.Z)(n,[{key:"queueLoad",value:function(e,t,n,r){var o=this,i=[],a=[],l=[],s=[];return e.forEach((function(e){var r=!0;t.forEach((function(t){var l="".concat(e,"|").concat(t);!n.reload&&o.store.hasResourceBundle(e,t)?o.state[l]=2:o.state[l]<0||(1===o.state[l]?a.indexOf(l)<0&&a.push(l):(o.state[l]=1,r=!1,a.indexOf(l)<0&&a.push(l),i.indexOf(l)<0&&i.push(l),s.indexOf(t)<0&&s.push(t)))})),r||l.push(e)})),(i.length||a.length)&&this.queue.push({pending:a,loaded:{},errors:[],callback:r}),{toLoad:i,pending:a,toLoadLanguages:l,toLoadNamespaces:s}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),o=r[0],i=r[1];t&&this.emit("failedLoading",o,i,t),n&&this.store.addResourceBundle(o,i,n),this.state[e]=t?-1:2;var a={};this.queue.forEach((function(n){!function(e,t,n,r){var o=ce(e,t,Object),i=o.obj,a=o.k;i[a]=i[a]||[],r&&(i[a]=i[a].concat(n)),r||i[a].push(n)}(n.loaded,[o],i),function(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t)}(n.pending,e),t&&n.errors.push(t),0!==n.pending.length||n.done||(Object.keys(n.loaded).forEach((function(e){a[e]||(a[e]=[]),n.loaded[e].length&&n.loaded[e].forEach((function(t){a[e].indexOf(t)<0&&a[e].push(t)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,a=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[n](e,t,(function(l,s){l&&s&&o<5?setTimeout((function(){r.read.call(r,e,t,n,o+1,2*i,a)}),i):a(l,s)})):a(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var i=this.queueLoad(e,t,r,o);if(!i.toLoad.length)return i.pending.length||o(),null;i.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),o=r[0],i=r[1];this.read(o,i,"read",void 0,void 0,(function(r,a){r&&t.logger.warn("".concat(n,"loading namespace ").concat(i," for language ").concat(o," failed"),r),!r&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(i," for language ").concat(o),a),t.loaded(e,r,a)}))}},{key:"saveMissing",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,$e($e({},i),{},{isUpdate:o})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),n}(ae);function Ye(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===(0,H.Z)(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===(0,H.Z)(e[2])||"object"===(0,H.Z)(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function Je(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xe(Object(n),!0).forEach((function(t){(0,J.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function et(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Y(e);if(t){var o=Y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return q(this,n)}}function tt(){}function nt(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((function(t){"function"==typeof e[t]&&(e[t]=e[t].bind(e))}))}var rt=function(e){K(n,e);var t=et(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(W(this,n),e=t.call(this),ye&&ae.call((0,V.Z)(e)),e.options=Je(r),e.services={},e.logger=ie,e.modules={external:[]},nt((0,V.Z)(e)),o&&!e.isInitialized&&!r.isClone){if(!e.options.initImmediate)return e.init(r,o),q(e,(0,V.Z)(e));setTimeout((function(){e.init(r,o)}),0)}return e}return(0,G.Z)(n,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(n=t,t={}),!t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));var r=Ye();function o(e){return e?"function"==typeof e?new e:e:null}if(this.options=Qe(Qe(Qe({},r),this.options),Je(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=Qe(Qe({},r.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){var i;this.modules.logger?ie.init(o(this.modules.logger),this.options):ie.init(null,this.options),this.modules.formatter?i=this.modules.formatter:"undefined"!=typeof Intl&&(i=Ge);var a=new Ie(this.options);this.store=new Se(this.options.resources,this.options);var l=this.services;l.logger=ie,l.resourceStore=this.store,l.languageUtils=a,l.pluralResolver=new Fe(a,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!i||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(l.formatter=o(i),l.formatter.init(l,this.options),this.options.interpolation.format=l.formatter.format.bind(l.formatter)),l.interpolator=new Ue(this.options),l.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},l.backendConnector=new qe(o(this.modules.backend),l.resourceStore,l,this.options),l.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))})),this.modules.languageDetector&&(l.languageDetector=o(this.modules.languageDetector),l.languageDetector.init(l,this.options.detection,this.options)),this.modules.i18nFormat&&(l.i18nFormat=o(this.modules.i18nFormat),l.i18nFormat.init&&l.i18nFormat.init(this)),this.translator=new Ae(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))})),this.modules.external.forEach((function(t){t.init&&t.init(e)}))}if(this.format=this.options.interpolation.format,n||(n=tt),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var s=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);s.length>0&&"dev"!==s[0]&&(this.options.lng=s[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");var u=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];u.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}));var c=["addResource","addResources","addResourceBundle","removeResourceBundle"];c.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var f=le(),d=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),f.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?d():setTimeout(d,0),f}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tt,r=n,o="string"==typeof e?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(o&&"cimode"===o.toLowerCase())return r();var i=[],a=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){i.indexOf(e)<0&&i.push(e)}))};if(o)a(o);else{var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.forEach((function(e){return a(e)}))}this.options.preload&&this.options.preload.forEach((function(e){return a(e)})),this.services.backendConnector.load(i,this.options.ns,r)}else r(null)}},{key:"reloadResources",value:function(e,t,n){var r=le();return e||(e=this.languages),t||(t=this.options.ns),n||(n=tt),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&Oe.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=le();this.emit("languageChanging",e);var o=function(e){if(n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t<n.languages.length;t++){var r=n.languages[t];if(!(["cimode","dev"].indexOf(r)>-1)&&n.store.hasLanguageSomeTranslations(r)){n.resolvedLanguage=r;break}}},i=function(i){e||i||!n.services.languageDetector||(i=[]);var a="string"==typeof i?i:n.services.languageUtils.getBestMatchFromCodes(i);a&&(n.language||o(a),n.translator.language||n.translator.changeLanguage(a),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(a)),n.loadResources(a,(function(e){!function(e,i){i?(o(i),n.translator.changeLanguage(i),n.isLanguageChangingTo=void 0,n.emit("languageChanged",i),n.logger.log("languageChanged",i)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,a)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(i):i(e):i(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var r=this,o=function e(t,o){var i;if("object"!==(0,H.Z)(o)){for(var a=arguments.length,l=new Array(a>2?a-2:0),s=2;s<a;s++)l[s-2]=arguments[s];i=r.options.overloadTranslationOptionHandler([t,o].concat(l))}else i=Qe({},o);i.lng=i.lng||e.lng,i.lngs=i.lngs||e.lngs,i.ns=i.ns||e.ns;var u=r.options.keySeparator||".",c=n?"".concat(n).concat(u).concat(t):t;return r.t(c,i)};return"string"==typeof e?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=n,o}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.resolvedLanguage||this.languages[0],o=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var l=n.precheck(this,a);if(void 0!==l)return l}return!!this.hasResourceBundle(r,e)||(!this.services.backendConnector.backend||!(!a(r,e)||o&&!a(i,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=le();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=le();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],o=e.filter((function(e){return r.indexOf(e)<0}));return o.length?(this.options.preload=r.concat(o),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tt,o=Qe(Qe(Qe({},this.options),t),{isClone:!0}),i=new n(o),a=["store","services","language"];return a.forEach((function(t){i[t]=e[t]})),i.services=Qe({},this.services),i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i.translator=new Ae(i.services,i.options),i.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.emit.apply(i,[e].concat(n))})),i.init(o,r),i.translator.options=i.options,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),n}(ae);(0,J.Z)(rt,"createInstance",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new rt(e,t)}));var ot=rt.createInstance();ot.createInstance=rt.createInstance;ot.createInstance,ot.init,ot.loadResources,ot.reloadResources,ot.use,ot.changeLanguage,ot.getFixedT,ot.t,ot.exists,ot.setDefaultNamespace,ot.hasLoadedNamespace,ot.loadNamespaces,ot.loadLanguages;var it=ot;function at(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return it.t(e,t)}function lt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function st(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lt(Object(n),!0).forEach((function(t){ut(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ct={resolve:null,endpoint:null,data:null};function ft(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.url=buttonizer_admin.api+e,buttonizer_admin.is_stand_alone?t.headers={Authorization:"Bearer ".concat(buttonizer_admin.auth)}:t.headers={"X-WP-Nonce":buttonizer_admin.nonce},t.withCredentials=!0,new Promise((function(o,i){N()(t).then((function(e){return o(e)})).catch((function(a){if(!n&&a.response&&401===a.response.status)return app.standAloneEvent&&app.standAloneEvent("unauthenticated"),r?void i("wait-for-auth"):void(ct={resolve:o,endpoint:e,data:t});app.standAloneEvent&&app.standAloneEvent("unauthenticated"),i(a)}))}))}function dt(){if(!ct.resolve)throw new Error(ct);return new Promise((function(e,t){ft(ct.endpoint,ct.data,!1,!0).then((function(t){ct.resolve(t),e()})).catch((function(e){return t(e)}))}))}function pt(e){var t=e,n={},r={};t.groups.map((function(e){var t=ht(e.data);t.children=[],Object.keys(e.buttons).map((function(r){var o=ht(e.buttons[r]);o.parent=t.id,n[o.id]=o,t.children.push(o.id)})),r[t.id]=t}));var o={},i={};return t.time_schedules&&t.time_schedules.map((function(e){o[e.id]={id:e.id,name:e.name||at("time_schedules.single_name"),weekdays:e.weekdays||k.map((function(e){return{opened:!0,open:"8:00",close:"17:00",weekday:e}})),start_date:e.start_date||F(new Date),end_date:e.end_date||null,dates:e.dates||[]}})),t.page_rules&&t.page_rules.map((function(e){i[e.id]={id:e.id,name:e.name||"Unnamed pagerule",type:e.type||"and",rules:e.rules||[{type:"page_title",value:""}]}})),{hasChanges:t.changes,buttons:n,groups:r,timeSchedules:o,pageRules:i,settings:t.settings,premium:t.premium,premium_code:t.premium_code,version:t.version,wordpress:t.wordpress,info:t.info,is_opt_in:t.is_opt_in,latest_tour_update:t.latest_tour_update,identifier:t.identifier?t.identifier:null,additional_permissions:t.additional_permissions,domain:t.domain}}function ht(e){return e&&void 0!==e.id?e:st(st({},e),{},{id:U()()})}function mt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{type:O.ADD_RELATION,payload:{button_id:e,group_id:t,index:n}}}function vt(e,t,n,r){return{type:O.CHANGE_RELATION,payload:{button_id:e,old_group_id:t,new_group_id:n,button_index:r}}}function gt(e,t){return{type:O.REMOVE_RELATION,payload:{button_id:e,group_id:t}}}var yt=function(e,t,n,r){return Array.isArray(r)?{type:O[e].SET_KEY_FORMAT,payload:{id:t,format:"normal_hover",key:n,values:r}}:{type:O[e].SET_KEY_VALUE,payload:{id:t,key:n,value:r}}},bt=function(e,t){return{type:O.SET_SETTING_VALUE,payload:{setting:e,value:t}}},wt=function(e,t){return{type:O.SET_MISC_VALUE,payload:{setting:e,value:t}}};function xt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{type:O[t].ADD_RECORD,payload:{record:ht(e),index:n}}}function Et(e,t){return{type:O[t].REMOVE_RECORD,payload:{model_id:e}}}function _t(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.store.getState();if(!t.groups[e].children)return null;var n=t.groups[e].children,r=t.buttons,o={};return Object.keys(r).map((function(e){n.includes(e)&&(o[e]=r[e])})),o}function St(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:co.getState();if(!e)return null;var n=t.buttons,r={};return Object.keys(n).map((function(t){e.includes(t)&&e.map((function(e,o){e===t&&(r[o]=n[t])}))})),r}function Ot(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.store.getState();return t.groups&&t.groups[e]?t.groups[e].children.length:0}function kt(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ct(e){return!!e&&!!e[mn]}function Pt(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===vn}(e)||Array.isArray(e)||!!e[hn]||!!e.constructor[hn]||Dt(e)||Mt(e))}function jt(e,t,n){void 0===n&&(n=!1),0===At(e)?(n?Object.keys:gn)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function At(e){var t=e[mn];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Dt(e)?2:Mt(e)?3:0}function Tt(e,t){return 2===At(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function It(e,t){return 2===At(e)?e.get(t):e[t]}function Rt(e,t,n){var r=At(e);2===r?e.set(t,n):3===r?(e.delete(t),e.add(n)):e[t]=n}function Nt(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function Dt(e){return cn&&e instanceof Map}function Mt(e){return fn&&e instanceof Set}function Lt(e){return e.o||e.t}function Ft(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=yn(e);delete t[mn];for(var n=gn(t),r=0;r<n.length;r++){var o=n[r],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function Bt(e,t){return void 0===t&&(t=!1),Ut(e)||Ct(e)||!Pt(e)||(At(e)>1&&(e.set=e.add=e.clear=e.delete=zt),Object.freeze(e),t&&jt(e,(function(e,t){return Bt(t,!0)}),!0)),e}function zt(){kt(2)}function Ut(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function Zt(e){var t=bn[e];return t||kt(18,e),t}function Ht(){return sn}function Wt(e,t){t&&(Zt("Patches"),e.u=[],e.s=[],e.v=t)}function Gt(e){Vt(e),e.p.forEach(Kt),e.p=null}function Vt(e){e===sn&&(sn=e.l)}function $t(e){return sn={p:[],l:sn,h:e,m:!0,_:0}}function Kt(e){var t=e[mn];0===t.i||1===t.i?t.j():t.O=!0}function qt(e,t){t._=t.p.length;var n=t.p[0],r=void 0!==e&&e!==n;return t.h.g||Zt("ES5").S(t,e,r),r?(n[mn].P&&(Gt(t),kt(4)),Pt(e)&&(e=Yt(t,e),t.l||Xt(t,e)),t.u&&Zt("Patches").M(n[mn],e,t.u,t.s)):e=Yt(t,n,[]),Gt(t),t.u&&t.v(t.u,t.s),e!==pn?e:void 0}function Yt(e,t,n){if(Ut(t))return t;var r=t[mn];if(!r)return jt(t,(function(o,i){return Jt(e,r,t,o,i,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return Xt(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=Ft(r.k):r.o;jt(3===r.i?new Set(o):o,(function(t,i){return Jt(e,r,o,t,i,n)})),Xt(e,o,!1),n&&e.u&&Zt("Patches").R(r,n,e.u,e.s)}return r.o}function Jt(e,t,n,r,o,i){if(Ct(o)){var a=Yt(e,o,i&&t&&3!==t.i&&!Tt(t.D,r)?i.concat(r):void 0);if(Rt(n,r,a),!Ct(a))return;e.m=!1}if(Pt(o)&&!Ut(o)){if(!e.h.F&&e._<1)return;Yt(e,o),t&&t.A.l||Xt(e,o)}}function Xt(e,t,n){void 0===n&&(n=!1),e.h.F&&e.m&&Bt(t,n)}function Qt(e,t){var n=e[mn];return(n?Lt(n):e)[t]}function en(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function tn(e){e.P||(e.P=!0,e.l&&tn(e.l))}function nn(e){e.o||(e.o=Ft(e.t))}function rn(e,t,n){var r=Dt(t)?Zt("MapSet").N(t,n):Mt(t)?Zt("MapSet").T(t,n):e.g?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:Ht(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=r,i=wn;n&&(o=[r],i=xn);var a=Proxy.revocable(o,i),l=a.revoke,s=a.proxy;return r.k=s,r.j=l,s}(t,n):Zt("ES5").J(t,n);return(n?n.A:Ht()).p.push(r),r}function on(e){return Ct(e)||kt(22,e),function e(t){if(!Pt(t))return t;var n,r=t[mn],o=At(t);if(r){if(!r.P&&(r.i<4||!Zt("ES5").K(r)))return r.t;r.I=!0,n=an(t,o),r.I=!1}else n=an(t,o);return jt(n,(function(t,o){r&&It(r.t,t)===o||Rt(n,t,e(o))})),3===o?new Set(n):n}(e)}function an(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Ft(e)}var ln,sn,un="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),cn="undefined"!=typeof Map,fn="undefined"!=typeof Set,dn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,pn=un?Symbol.for("immer-nothing"):((ln={})["immer-nothing"]=!0,ln),hn=un?Symbol.for("immer-draftable"):"__$immer_draftable",mn=un?Symbol.for("immer-state"):"__$immer_state",vn=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),gn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,yn=Object.getOwnPropertyDescriptors||function(e){var t={};return gn(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},bn={},wn={get:function(e,t){if(t===mn)return e;var n=Lt(e);if(!Tt(n,t))return function(e,t,n){var r,o=en(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!Pt(r)?r:r===Qt(e.t,t)?(nn(e),e.o[t]=rn(e.A.h,r,e)):r},has:function(e,t){return t in Lt(e)},ownKeys:function(e){return Reflect.ownKeys(Lt(e))},set:function(e,t,n){var r=en(Lt(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=Qt(Lt(e),t),i=null==o?void 0:o[mn];if(i&&i.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(Nt(n,o)&&(void 0!==n||Tt(e.t,t)))return!0;nn(e),tn(e)}return e.o[t]===n&&"number"!=typeof n&&(void 0!==n||t in e.o)||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==Qt(e.t,t)||t in e.t?(e.D[t]=!1,nn(e),tn(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=Lt(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){kt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){kt(12)}},xn={};jt(wn,(function(e,t){xn[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),xn.deleteProperty=function(e,t){return wn.deleteProperty.call(this,e[0],t)},xn.set=function(e,t,n){return wn.set.call(this,e[0],t,n,e[0])};var En=new(function(){function e(e){var t=this;this.g=dn,this.F=!0,this.produce=function(e,n,r){if("function"==typeof e&&"function"!=typeof n){var o=n;n=e;var i=t;return function(e){var t=this;void 0===e&&(e=o);for(var r=arguments.length,a=Array(r>1?r-1:0),l=1;l<r;l++)a[l-1]=arguments[l];return i.produce(e,(function(e){var r;return(r=n).call.apply(r,[t,e].concat(a))}))}}var a;if("function"!=typeof n&&kt(6),void 0!==r&&"function"!=typeof r&&kt(7),Pt(e)){var l=$t(t),s=rn(t,e,void 0),u=!0;try{a=n(s),u=!1}finally{u?Gt(l):Vt(l)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(e){return Wt(l,r),qt(e,l)}),(function(e){throw Gt(l),e})):(Wt(l,r),qt(a,l))}if(!e||"object"!=typeof e){if((a=n(e))===pn)return;return void 0===a&&(a=e),t.F&&Bt(a,!0),a}kt(21,e)},this.produceWithPatches=function(e,n){return"function"==typeof e?function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(o))}))}:[t.produce(e,n,(function(e,t){r=e,o=t})),r,o];var r,o},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){Pt(e)||kt(8),Ct(e)&&(e=on(e));var t=$t(this),n=rn(this,e,void 0);return n[mn].C=!0,Vt(t),n},t.finishDraft=function(e,t){var n=(e&&e[mn]).A;return Wt(n,t),qt(void 0,n)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!dn&&kt(20),this.g=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}var o=Zt("Patches").$;return Ct(e)?o(e,t):this.produce(e,(function(e){return o(e,t.slice(n+1))}))},e}()),_n=En.produce,Sn=(En.produceWithPatches.bind(En),En.setAutoFreeze.bind(En),En.setUseProxies.bind(En),En.applyPatches.bind(En),En.createDraft.bind(En),En.finishDraft.bind(En),_n);function On(e){return{type:O.HAS_CHANGES,payload:{hasChanges:e}}}function kn(e){return{type:O.IS_UPDATING,payload:{isUpdating:e}}}function Cn(){return{type:O.STOP_LOADING}}
29
  /*! *****************************************************************************
30
  Copyright (c) Microsoft Corporation.
31
 
@@ -40,7 +40,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
40
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
41
  PERFORMANCE OF THIS SOFTWARE.
42
  ***************************************************************************** */
43
- var Pn=function(e,t){return(Pn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function jn(e,t){function n(){this.constructor=e}Pn(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var An=function(){return(An=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Tn(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function In(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function Rn(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(In(arguments[t]));return e}var Nn=n(62844),Dn=n(21170),Mn=(0,Nn.Rf)(),Ln="Sentry Logger ",Fn=function(){function e(){this._enabled=!1}return e.prototype.disable=function(){this._enabled=!1},e.prototype.enable=function(){this._enabled=!0},e.prototype.log=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._enabled&&(0,Nn.Cf)((function(){Mn.console.log(Ln+"[Log]: "+e.join(" "))}))},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._enabled&&(0,Nn.Cf)((function(){Mn.console.warn(Ln+"[Warn]: "+e.join(" "))}))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._enabled&&(0,Nn.Cf)((function(){Mn.console.error(Ln+"[Error]: "+e.join(" "))}))},e}();Mn.__SENTRY__=Mn.__SENTRY__||{};var Bn,zn=Mn.__SENTRY__.logger||(Mn.__SENTRY__.logger=new Fn),Un=n(61422);function Zn(e){switch(Object.prototype.toString.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return Jn(e,Error)}}function Hn(e){return"[object ErrorEvent]"===Object.prototype.toString.call(e)}function Wn(e){return"[object DOMError]"===Object.prototype.toString.call(e)}function Gn(e){return"[object String]"===Object.prototype.toString.call(e)}function Vn(e){return null===e||"object"!=typeof e&&"function"!=typeof e}function $n(e){return"[object Object]"===Object.prototype.toString.call(e)}function Kn(e){return"undefined"!=typeof Event&&Jn(e,Event)}function qn(e){return"undefined"!=typeof Element&&Jn(e,Element)}function Yn(e){return Boolean(e&&e.then&&"function"==typeof e.then)}function Jn(e,t){try{return e instanceof t}catch(e){return!1}}!function(e){e.PENDING="PENDING",e.RESOLVED="RESOLVED",e.REJECTED="REJECTED"}(Bn||(Bn={}));var Xn,Qn=function(){function e(e){var t=this;this._state=Bn.PENDING,this._handlers=[],this._resolve=function(e){t._setResult(Bn.RESOLVED,e)},this._reject=function(e){t._setResult(Bn.REJECTED,e)},this._setResult=function(e,n){t._state===Bn.PENDING&&(Yn(n)?n.then(t._resolve,t._reject):(t._state=e,t._value=n,t._executeHandlers()))},this._attachHandler=function(e){t._handlers=t._handlers.concat(e),t._executeHandlers()},this._executeHandlers=function(){if(t._state!==Bn.PENDING){var e=t._handlers.slice();t._handlers=[],e.forEach((function(e){e.done||(t._state===Bn.RESOLVED&&e.onfulfilled&&e.onfulfilled(t._value),t._state===Bn.REJECTED&&e.onrejected&&e.onrejected(t._value),e.done=!0)}))}};try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}return e.resolve=function(t){return new e((function(e){e(t)}))},e.reject=function(t){return new e((function(e,n){n(t)}))},e.all=function(t){return new e((function(n,r){if(Array.isArray(t))if(0!==t.length){var o=t.length,i=[];t.forEach((function(t,a){e.resolve(t).then((function(e){i[a]=e,0===(o-=1)&&n(i)})).then(null,r)}))}else n([]);else r(new TypeError("Promise.all requires an array as input."))}))},e.prototype.then=function(t,n){var r=this;return new e((function(e,o){r._attachHandler({done:!1,onfulfilled:function(n){if(t)try{return void e(t(n))}catch(e){return void o(e)}else e(n)},onrejected:function(t){if(n)try{return void e(n(t))}catch(e){return void o(e)}else o(t)}})}))},e.prototype.catch=function(e){return this.then((function(e){return e}),e)},e.prototype.finally=function(t){var n=this;return new e((function(e,r){var o,i;return n.then((function(e){i=!1,o=e,t&&t()}),(function(e){i=!0,o=e,t&&t()})).then((function(){i?r(o):e(o)}))}))},e.prototype.toString=function(){return"[object SyncPromise]"},e}(),er=function(){function e(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={}}return e.clone=function(t){var n=new e;return t&&(n._breadcrumbs=Rn(t._breadcrumbs),n._tags=An({},t._tags),n._extra=An({},t._extra),n._contexts=An({},t._contexts),n._user=t._user,n._level=t._level,n._span=t._span,n._session=t._session,n._transactionName=t._transactionName,n._fingerprint=t._fingerprint,n._eventProcessors=Rn(t._eventProcessors)),n},e.prototype.addScopeListener=function(e){this._scopeListeners.push(e)},e.prototype.addEventProcessor=function(e){return this._eventProcessors.push(e),this},e.prototype.setUser=function(e){return this._user=e||{},this._session&&this._session.update({user:e}),this._notifyScopeListeners(),this},e.prototype.getUser=function(){return this._user},e.prototype.setTags=function(e){return this._tags=An(An({},this._tags),e),this._notifyScopeListeners(),this},e.prototype.setTag=function(e,t){var n;return this._tags=An(An({},this._tags),((n={})[e]=t,n)),this._notifyScopeListeners(),this},e.prototype.setExtras=function(e){return this._extra=An(An({},this._extra),e),this._notifyScopeListeners(),this},e.prototype.setExtra=function(e,t){var n;return this._extra=An(An({},this._extra),((n={})[e]=t,n)),this._notifyScopeListeners(),this},e.prototype.setFingerprint=function(e){return this._fingerprint=e,this._notifyScopeListeners(),this},e.prototype.setLevel=function(e){return this._level=e,this._notifyScopeListeners(),this},e.prototype.setTransactionName=function(e){return this._transactionName=e,this._notifyScopeListeners(),this},e.prototype.setTransaction=function(e){return this.setTransactionName(e)},e.prototype.setContext=function(e,t){var n;return null===t?delete this._contexts[e]:this._contexts=An(An({},this._contexts),((n={})[e]=t,n)),this._notifyScopeListeners(),this},e.prototype.setSpan=function(e){return this._span=e,this._notifyScopeListeners(),this},e.prototype.getSpan=function(){return this._span},e.prototype.getTransaction=function(){var e,t,n,r,o=this.getSpan();return(null===(e=o)||void 0===e?void 0:e.transaction)?null===(t=o)||void 0===t?void 0:t.transaction:(null===(r=null===(n=o)||void 0===n?void 0:n.spanRecorder)||void 0===r?void 0:r.spans[0])?o.spanRecorder.spans[0]:void 0},e.prototype.setSession=function(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this},e.prototype.getSession=function(){return this._session},e.prototype.update=function(t){if(!t)return this;if("function"==typeof t){var n=t(this);return n instanceof e?n:this}return t instanceof e?(this._tags=An(An({},this._tags),t._tags),this._extra=An(An({},this._extra),t._extra),this._contexts=An(An({},this._contexts),t._contexts),t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint)):$n(t)&&(t=t,this._tags=An(An({},this._tags),t.tags),this._extra=An(An({},this._extra),t.extra),this._contexts=An(An({},this._contexts),t.contexts),t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint)),this},e.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this},e.prototype.addBreadcrumb=function(e,t){var n=An({timestamp:(0,Dn.yW)()},e);return this._breadcrumbs=void 0!==t&&t>=0?Rn(this._breadcrumbs,[n]).slice(-t):Rn(this._breadcrumbs,[n]),this._notifyScopeListeners(),this},e.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},e.prototype.applyToEvent=function(e,t){var n;if(this._extra&&Object.keys(this._extra).length&&(e.extra=An(An({},this._extra),e.extra)),this._tags&&Object.keys(this._tags).length&&(e.tags=An(An({},this._tags),e.tags)),this._user&&Object.keys(this._user).length&&(e.user=An(An({},this._user),e.user)),this._contexts&&Object.keys(this._contexts).length&&(e.contexts=An(An({},this._contexts),e.contexts)),this._level&&(e.level=this._level),this._transactionName&&(e.transaction=this._transactionName),this._span){e.contexts=An({trace:this._span.getTraceContext()},e.contexts);var r=null===(n=this._span.transaction)||void 0===n?void 0:n.name;r&&(e.tags=An({transaction:r},e.tags))}return this._applyFingerprint(e),e.breadcrumbs=Rn(e.breadcrumbs||[],this._breadcrumbs),e.breadcrumbs=e.breadcrumbs.length>0?e.breadcrumbs:void 0,this._notifyEventProcessors(Rn(tr(),this._eventProcessors),e,t)},e.prototype._notifyEventProcessors=function(e,t,n,r){var o=this;return void 0===r&&(r=0),new Qn((function(i,a){var l=e[r];if(null===t||"function"!=typeof l)i(t);else{var s=l(An({},t),n);Yn(s)?s.then((function(t){return o._notifyEventProcessors(e,t,n,r+1).then(i)})).then(null,a):o._notifyEventProcessors(e,s,n,r+1).then(i).then(null,a)}}))},e.prototype._notifyScopeListeners=function(){var e=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((function(t){t(e)})),this._notifyingListeners=!1)},e.prototype._applyFingerprint=function(e){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],this._fingerprint&&(e.fingerprint=e.fingerprint.concat(this._fingerprint)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint},e}();function tr(){var e=(0,Nn.Rf)();return e.__SENTRY__=e.__SENTRY__||{},e.__SENTRY__.globalEventProcessors=e.__SENTRY__.globalEventProcessors||[],e.__SENTRY__.globalEventProcessors}function nr(e){tr().push(e)}function rr(e){try{for(var t=e,n=[],r=0,o=0,i=" > ".length,a=void 0;t&&r++<5&&!("html"===(a=or(t))||r>1&&o+n.length*i+a.length>=80);)n.push(a),o+=a.length,t=t.parentNode;return n.reverse().join(" > ")}catch(e){return"<unknown>"}}function or(e){var t,n,r,o,i,a=e,l=[];if(!a||!a.tagName)return"";if(l.push(a.tagName.toLowerCase()),a.id&&l.push("#"+a.id),(t=a.className)&&Gn(t))for(n=t.split(/\s+/),i=0;i<n.length;i++)l.push("."+n[i]);var s=["type","name","title","alt"];for(i=0;i<s.length;i++)r=s[i],(o=a.getAttribute(r))&&l.push("["+r+'="'+o+'"]');return l.join("")}!function(e){e.Ok="ok",e.Exited="exited",e.Crashed="crashed",e.Abnormal="abnormal"}(Xn||(Xn={}));var ir=function(){function e(){this._hasWeakSet="function"==typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}return e.prototype.memoize=function(e){if(this._hasWeakSet)return!!this._inner.has(e)||(this._inner.add(e),!1);for(var t=0;t<this._inner.length;t++){if(this._inner[t]===e)return!0}return this._inner.push(e),!1},e.prototype.unmemoize=function(e){if(this._hasWeakSet)this._inner.delete(e);else for(var t=0;t<this._inner.length;t++)if(this._inner[t]===e){this._inner.splice(t,1);break}},e}();function ar(e){try{return e&&"function"==typeof e&&e.name||"<anonymous>"}catch(e){return"<anonymous>"}}function lr(e,t){return void 0===t&&(t=0),"string"!=typeof e||0===t||e.length<=t?e:e.substr(0,t)+"..."}function sr(e,t){if(!Array.isArray(e))return"";for(var n=[],r=0;r<e.length;r++){var o=e[r];try{n.push(String(o))}catch(e){n.push("[value cannot be serialized]")}}return n.join(t)}function ur(e,t){return!!Gn(e)&&(n=t,"[object RegExp]"===Object.prototype.toString.call(n)?t.test(e):"string"==typeof t&&-1!==e.indexOf(t));var n}function cr(e,t,n){if(t in e){var r=e[t],o=n(r);if("function"==typeof o)try{o.prototype=o.prototype||{},Object.defineProperties(o,{__sentry_original__:{enumerable:!1,value:r}})}catch(e){}e[t]=o}}function fr(e){if(Zn(e)){var t=e,n={message:t.message,name:t.name,stack:t.stack};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}if(Kn(e)){var o=e,i={};i.type=o.type;try{i.target=qn(o.target)?rr(o.target):Object.prototype.toString.call(o.target)}catch(e){i.target="<unknown>"}try{i.currentTarget=qn(o.currentTarget)?rr(o.currentTarget):Object.prototype.toString.call(o.currentTarget)}catch(e){i.currentTarget="<unknown>"}for(var r in"undefined"!=typeof CustomEvent&&Jn(e,CustomEvent)&&(i.detail=o.detail),o)Object.prototype.hasOwnProperty.call(o,r)&&(i[r]=o);return i}return e}function dr(e){return function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(e))}function pr(e,t,n){void 0===t&&(t=3),void 0===n&&(n=102400);var r=vr(e,t);return dr(r)>n?pr(e,t-1,n):r}function hr(e,t){return"domain"===t&&e&&"object"==typeof e&&e._events?"[Domain]":"domainEmitter"===t?"[DomainEmitter]":void 0!==n.g&&e===n.g?"[Global]":"undefined"!=typeof window&&e===window?"[Window]":"undefined"!=typeof document&&e===document?"[Document]":$n(r=e)&&"nativeEvent"in r&&"preventDefault"in r&&"stopPropagation"in r?"[SyntheticEvent]":"number"==typeof e&&e!=e?"[NaN]":void 0===e?"[undefined]":"function"==typeof e?"[Function: "+ar(e)+"]":"symbol"==typeof e?"["+String(e)+"]":"bigint"==typeof e?"[BigInt: "+String(e)+"]":e;var r}function mr(e,t,n,r){if(void 0===n&&(n=1/0),void 0===r&&(r=new ir),0===n)return function(e){var t=Object.prototype.toString.call(e);if("string"==typeof e)return e;if("[object Object]"===t)return"[Object]";if("[object Array]"===t)return"[Array]";var n=hr(e);return Vn(n)?n:t}(t);if(null!=t&&"function"==typeof t.toJSON)return t.toJSON();var o=hr(t,e);if(Vn(o))return o;var i=fr(t),a=Array.isArray(t)?[]:{};if(r.memoize(t))return"[Circular ~]";for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&(a[l]=mr(l,i[l],n-1,r));return r.unmemoize(t),a}function vr(e,t){try{return JSON.parse(JSON.stringify(e,(function(e,n){return mr(e,n,t)})))}catch(e){return"**non-serializable**"}}function gr(e,t){void 0===t&&(t=40);var n=Object.keys(fr(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return lr(n[0],t);for(var r=n.length;r>0;r--){var o=n.slice(0,r).join(", ");if(!(o.length>t))return r===n.length?o:lr(o,t)}return""}function yr(e){var t,n;if($n(e)){var r=e,o={};try{for(var i=Tn(Object.keys(r)),a=i.next();!a.done;a=i.next()){var l=a.value;void 0!==r[l]&&(o[l]=yr(r[l]))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return o}return Array.isArray(e)?e.map(yr):e}var br=function(){function e(e){this.errors=0,this.sid=(0,Nn.DM)(),this.timestamp=Date.now(),this.started=Date.now(),this.duration=0,this.status=Xn.Ok,e&&this.update(e)}return e.prototype.update=function(e){void 0===e&&(e={}),e.user&&(e.user.ip_address&&(this.ipAddress=e.user.ip_address),e.did||(this.did=e.user.id||e.user.email||e.user.username)),this.timestamp=e.timestamp||Date.now(),e.sid&&(this.sid=32===e.sid.length?e.sid:(0,Nn.DM)()),e.did&&(this.did=""+e.did),"number"==typeof e.started&&(this.started=e.started),"number"==typeof e.duration?this.duration=e.duration:this.duration=this.timestamp-this.started,e.release&&(this.release=e.release),e.environment&&(this.environment=e.environment),e.ipAddress&&(this.ipAddress=e.ipAddress),e.userAgent&&(this.userAgent=e.userAgent),"number"==typeof e.errors&&(this.errors=e.errors),e.status&&(this.status=e.status)},e.prototype.close=function(e){e?this.update({status:e}):this.status===Xn.Ok?this.update({status:Xn.Exited}):this.update()},e.prototype.toJSON=function(){return yr({sid:""+this.sid,init:!0,started:new Date(this.started).toISOString(),timestamp:new Date(this.timestamp).toISOString(),status:this.status,errors:this.errors,did:"number"==typeof this.did||"string"==typeof this.did?""+this.did:void 0,duration:this.duration,attrs:yr({release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent})})},e}(),wr=function(){function e(e,t,n){void 0===t&&(t=new er),void 0===n&&(n=3),this._version=n,this._stack=[{}],this.getStackTop().scope=t,this.bindClient(e)}return e.prototype.isOlderThan=function(e){return this._version<e},e.prototype.bindClient=function(e){this.getStackTop().client=e,e&&e.setupIntegrations&&e.setupIntegrations()},e.prototype.pushScope=function(){var e=er.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:e}),e},e.prototype.popScope=function(){return!(this.getStack().length<=1)&&!!this.getStack().pop()},e.prototype.withScope=function(e){var t=this.pushScope();try{e(t)}finally{this.popScope()}},e.prototype.getClient=function(){return this.getStackTop().client},e.prototype.getScope=function(){return this.getStackTop().scope},e.prototype.getStack=function(){return this._stack},e.prototype.getStackTop=function(){return this._stack[this._stack.length-1]},e.prototype.captureException=function(e,t){var n=this._lastEventId=(0,Nn.DM)(),r=t;if(!t){var o=void 0;try{throw new Error("Sentry syntheticException")}catch(e){o=e}r={originalException:e,syntheticException:o}}return this._invokeClient("captureException",e,An(An({},r),{event_id:n})),n},e.prototype.captureMessage=function(e,t,n){var r=this._lastEventId=(0,Nn.DM)(),o=n;if(!n){var i=void 0;try{throw new Error(e)}catch(e){i=e}o={originalException:e,syntheticException:i}}return this._invokeClient("captureMessage",e,t,An(An({},o),{event_id:r})),r},e.prototype.captureEvent=function(e,t){var n=this._lastEventId=(0,Nn.DM)();return this._invokeClient("captureEvent",e,An(An({},t),{event_id:n})),n},e.prototype.lastEventId=function(){return this._lastEventId},e.prototype.addBreadcrumb=function(e,t){var n=this.getStackTop(),r=n.scope,o=n.client;if(r&&o){var i=o.getOptions&&o.getOptions()||{},a=i.beforeBreadcrumb,l=void 0===a?null:a,s=i.maxBreadcrumbs,u=void 0===s?100:s;if(!(u<=0)){var c=(0,Dn.yW)(),f=An({timestamp:c},e),d=l?(0,Nn.Cf)((function(){return l(f,t)})):f;null!==d&&r.addBreadcrumb(d,Math.min(u,100))}}},e.prototype.setUser=function(e){var t=this.getScope();t&&t.setUser(e)},e.prototype.setTags=function(e){var t=this.getScope();t&&t.setTags(e)},e.prototype.setExtras=function(e){var t=this.getScope();t&&t.setExtras(e)},e.prototype.setTag=function(e,t){var n=this.getScope();n&&n.setTag(e,t)},e.prototype.setExtra=function(e,t){var n=this.getScope();n&&n.setExtra(e,t)},e.prototype.setContext=function(e,t){var n=this.getScope();n&&n.setContext(e,t)},e.prototype.configureScope=function(e){var t=this.getStackTop(),n=t.scope,r=t.client;n&&r&&e(n)},e.prototype.run=function(e){var t=Er(this);try{e(this)}finally{Er(t)}},e.prototype.getIntegration=function(e){var t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(t){return zn.warn("Cannot retrieve integration "+e.id+" from the current Hub"),null}},e.prototype.startSpan=function(e){return this._callExtensionMethod("startSpan",e)},e.prototype.startTransaction=function(e,t){return this._callExtensionMethod("startTransaction",e,t)},e.prototype.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},e.prototype.startSession=function(e){this.endSession();var t=this.getStackTop(),n=t.scope,r=t.client,o=r&&r.getOptions()||{},i=o.release,a=o.environment,l=new br(An(An({release:i,environment:a},n&&{user:n.getUser()}),e));return n&&n.setSession(l),l},e.prototype.endSession=function(){var e=this.getStackTop(),t=e.scope,n=e.client;if(t){var r=t.getSession&&t.getSession();r&&(r.close(),n&&n.captureSession&&n.captureSession(r),t.setSession())}},e.prototype._invokeClient=function(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=this.getStackTop(),i=o.scope,a=o.client;a&&a[e]&&(t=a)[e].apply(t,Rn(n,[i]))},e.prototype._callExtensionMethod=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=xr(),o=r.__SENTRY__;if(o&&o.extensions&&"function"==typeof o.extensions[e])return o.extensions[e].apply(this,t);zn.warn("Extension method "+e+" couldn't be found, doing nothing.")},e}();function xr(){var e=(0,Nn.Rf)();return e.__SENTRY__=e.__SENTRY__||{extensions:{},hub:void 0},e}function Er(e){var t=xr(),n=Or(t);return kr(t,e),n}function _r(){var e=xr();return Sr(e)&&!Or(e).isOlderThan(3)||kr(e,new wr),(0,Un.KV)()?function(e){try{var t=(r=xr().__SENTRY__)&&r.extensions&&r.extensions.domain&&r.extensions.domain.active;if(!t)return Or(e);if(!Sr(t)||Or(t).isOlderThan(3)){var n=Or(e).getStackTop();kr(t,new wr(n.client,er.clone(n.scope)))}return Or(t)}catch(t){return Or(e)}var r}(e):Or(e)}function Sr(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function Or(e){return e&&e.__SENTRY__&&e.__SENTRY__.hub||(e.__SENTRY__=e.__SENTRY__||{},e.__SENTRY__.hub=new wr),e.__SENTRY__.hub}function kr(e,t){return!!e&&(e.__SENTRY__=e.__SENTRY__||{},e.__SENTRY__.hub=t,!0)}function Cr(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=_r();if(r&&r[e])return r[e].apply(r,Rn(t));throw new Error("No hub defined or "+e+" was not found on the hub, please open a bug report.")}function Pr(e,t){var n;try{throw new Error("Sentry syntheticException")}catch(e){n=e}return Cr("captureException",e,{captureContext:t,originalException:e,syntheticException:n})}function jr(e){Cr("withScope",e)}function Ar(e,t){try{document.querySelector(".buttonizer-preview iframe").contentWindow.postMessage({eventType:"buttonizer",messageType:"preview-reload",message:{force:e,newGroupId:t}},document.location.origin)}catch(e){console.log("Buttonizer tried to auto update the Buttonizer Buttons. But the message didn't came through. Well. Doesn't matter, it's just an extra function. It's nice to have."),console.error(e),Pr(e),document.querySelector(".buttonizer-preview iframe").contentWindow.location.reload()}}var Tr=n(82492),Ir=n.n(Tr),Rr=n(18446),Nr=n.n(Rr);function Dr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Mr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lr=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,r=[{key:"enqueue",value:function(e){var t=this;return new Promise((function(n,r){t.queue.push({promise:e,resolve:n,reject:r}),t.dequeue()}))}},{key:"dequeue",value:function(){var e=this;if(this.workingOnPromise)return!1;var t=this.queue.shift();if(!t)return!1;try{this.workingOnPromise=!0,co.dispatch(kn(!0)),t.promise().then((function(n){e.workingOnPromise=!1,t.resolve(n),e.dequeue()})).catch((function(n){e.workingOnPromise=!1,t.reject(n),e.dequeue()}))}catch(e){this.workingOnPromise=!1,t.reject(e),this.dequeue()}return!0}}],(n=null)&&Dr(t.prototype,n),r&&Dr(t,r),e}();Mr(Lr,"queue",[]),Mr(Lr,"workingOnPromise",!1);var Fr=n(91966),Br=n.n(Fr),zr=setTimeout((function(){})),Ur={};function Zr(){clearTimeout(zr),zr=setTimeout((function(){var e,t,n,r=Ir()({},Ur);(Ur=co.getState(),Nr()(r,{})||Nr()(Ur,{})||Nr()(r,Ur)||!r.misc.loading.loaded||!Ur.misc.loading.loaded)||(Nr()(r.buttons,Ur.buttons)&&Nr()(r.groups,Ur.groups)||Lr.enqueue(Hr((e=co.getState().groups,t=Object.values(e),n=[],t.forEach((function(e){var t=Sn(e,(function(e){delete e.children})),r=Object.values(St(e.children)),o=[];r.forEach((function(e){var t=Sn(e,(function(e){delete e.parent}));o.push(t)})),0===o.length&&(o=[{name:"Button",show_mobile:"true",show_desktop:"true"}]),n.push({data:t,buttons:o})})),n),"/buttons",!1,Br()(Object.keys(Ur.groups),Object.keys(r.groups))[0])),Nr()(r.settings,Ur.settings)||(Lr.enqueue(Hr(co.getState().settings,"/settings",!0)),r.settings.icon_library===Ur.settings.icon_library&&r.settings.icon_library_version===Ur.settings.icon_library_version&&r.settings.icon_library_code===Ur.settings.icon_library_code&&r.settings.import_icon_library===Ur.settings.import_icon_library||Lr.enqueue((function(){return new Promise((function(e){var t;null!=(t=document.querySelector(".buttonizer-preview iframe"))&&(t.contentWindow&&t.contentWindow.location?t.contentWindow.location.reload():t.src=t.src),e()}))}))))}),1500)}var Hr=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=function(e){e&&e.request?co.dispatch(kn({status:e.request.status,statusText:e.request.statusText?e.request.statusText:"Unknown",message:e.request.response?JSON.parse(e.request.response).message?JSON.parse(e.request.response).message:e.request.response:e.message})):co.dispatch(kn("failed")),console.error("Something went wrong trying to update this model: \n",e),Pr(e)};return function(){return ft(t,{method:"POST",data:{nonce:buttonizer_admin.is_stand_alone?void 0:buttonizer_admin.nonce,data:e}}).then((function(e){var t=e.data;app.setHasChanges(!0),null!==t&&"success"===t.status?(co.dispatch(kn(!1)),Ar(n,r)):o()})).catch(o)}},Wr={loading:{posts:!1,pages:!1,categories:!1,roles:!1},loaded:{posts:!1,pages:!1,categories:!1,roles:!1},data:{posts:[],pages:[],categories:[],roles:[]}};var Gr={loading:{},drawer:""};var Vr={isUpdating:!1};function $r(e){return function(e){if(Array.isArray(e))return Kr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Kr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Kr(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Kr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function qr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Yr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qr(Object(n),!0).forEach((function(t){Jr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Jr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xr(e){return function(e){if(Array.isArray(e))return Qr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Qr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qr(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var eo={buttons:{},groups:{},timeSchedules:{},settings:{},pageRules:{},_premium:!1};var to={templates:[],settings:{loading:!1,error:null,loaded:!1}};function no(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function ro(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){no(i,r,o,a,l,"next",e)}function l(e){no(i,r,o,a,l,"throw",e)}a(void 0)}))}}var oo=[O.groups.SET_KEY_VALUE,O.groups.SET_KEY_FORMAT,O.buttons.SET_KEY_VALUE,O.buttons.SET_KEY_FORMAT],io=[O.groups.ADD_RECORD,O.groups.REMOVE_RECORD,O.buttons.ADD_RECORD,O.buttons.REMOVE_RECORD,O.CHANGE_RELATION],ao={};function lo(){return(lo=ro(regeneratorRuntime.mark((function e(t){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.type,r=t.payload,-1!==oo.indexOf(n)||-1!==io.indexOf(n)){e.next=3;break}return e.abrupt("return");case 3:if(!(io.indexOf(n)>=0)){e.next=6;break}return so("full-reload-required"),e.abrupt("return");case 6:clearTimeout(ao[r.key]),ao[r.key]=setTimeout((function(){var e=r.format&&"normal_hover"===r.format?A.normal_hover.format(r.values[0],r.values[1]):r.value;so("preview-data-update",{model:n===O.groups.SET_KEY_VALUE||n===O.groups.SET_KEY_FORMAT?"group":"button",id:r.id,key:r.key,value:e})}),500);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function so(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=document.querySelector(".buttonizer-preview iframe");n&&n.contentWindow.postMessage({eventType:"buttonizer",messageType:e,message:t},document.location.origin)}var uo=u(function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}var i,a=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:l.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:l.PROBE_UNKNOWN_ACTION()}))throw new Error('Reducer "'+t+"\" returned undefined when probed with a random type. Don't try to handle "+l.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(e){i=e}return function(e,t){if(void 0===e&&(e={}),i)throw i;for(var r=!1,o={},l=0;l<a.length;l++){var s=a[l],u=n[s],f=e[s],d=u(f,t);if(void 0===d){var p=c(s,t);throw new Error(p)}o[s]=d,r=r||d!==f}return(r=r||a.length!==Object.keys(e).length)?o:e}}({saving:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Vr,t=arguments.length>1?arguments[1]:void 0;return _n(e,(function(e){Object.values(O.buttons).includes(t.type)||Object.values(O.groups).includes(t.type)||Object.values(O.pageRules).includes(t.type)||Object.values(O.timeSchedules).includes(t.type)||O.SET_SETTING_VALUE===t.type||t.type===O.IS_UPDATING&&(e.isUpdating=t.payload.isUpdating)}))},wp:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Wr,t=arguments.length>1?arguments[1]:void 0;return t.type===O.INIT?Wr:_n(e,(function(e){switch(t.type){case O.wp.GET_DATA_BEGIN:e.loading[t.payload.type]=!0;break;case O.wp.GET_DATA_END:e.loading[t.payload.type]=!1;break;case O.wp.GET_DATA_FAILURE:console.error(t.payload.error);break;case O.wp.GET_DATA_SUCCESS:e.data[t.payload.type]=t.payload.data,e.loaded[t.payload.type]=!0}}))},timeSchedules:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===O.INIT?t.payload.timeSchedules:Sn(e,(function(e){switch(t.type){case O.timeSchedules.ADD_RECORD:e[t.payload.record.id]=t.payload.record;break;case O.timeSchedules.REMOVE_RECORD:delete e[t.payload.id];break;case O.timeSchedules.SET_KEY_VALUE:e[t.payload.id][t.payload.key]=t.payload.value;break;case O.timeSchedules.SET_WEEKDAY:e[t.payload.id].weekdays[t.payload.weekdayKey][t.payload.key]=t.payload.value;break;case O.timeSchedules.ADD_EXCLUDED_DATE:e[t.payload.id].dates.push({opened:!0,open:"8:00",close:"17:00",date:F(new Date)});break;case O.timeSchedules.SET_EXCLUDED_DATE:e[t.payload.id].dates[t.payload.dateKey][t.payload.key]=t.payload.value;break;case O.timeSchedules.REMOVE_EXCLUDED_DATE:e[t.payload.id].dates.splice(t.payload.dateKey,1)}}))},pageRules:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===O.INIT?t.payload.pageRules:Sn(e,(function(e){switch(t.type){case O.pageRules.ADD_RECORD:e[t.payload.record.id]=t.payload.record;break;case O.pageRules.REMOVE_RECORD:delete e[t.payload.id];break;case O.pageRules.SET_KEY_VALUE:e[t.payload.id][t.payload.key]=t.payload.value;break;case O.pageRules.ADD_PAGE_RULE_ROW:e[t.payload.id].rules.push({type:"page_title",value:""});break;case O.pageRules.SET_PAGE_RULE_ROW:e[t.payload.id].rules[t.payload.ruleRowKey][t.payload.key]=t.payload.value;break;case O.pageRules.REMOVE_PAGE_RULE_ROW:e[t.payload.id].rules.splice(t.payload.ruleRowKey,1)}}))},groups:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(t.type===O.INIT)return t.payload.groups;if(t.type===O.groups.ADD_RECORD&&"string"!=typeof t.payload.index){var n=Yr(Yr({},e),{},Jr({},t.payload.record.id,t.payload.record)),r=Object.keys(e);return r.splice(t.payload.index,0,t.payload.record.id),r.reduce((function(e,t){return e[t]=n[t],e}),{})}return _n(e,(function(e){switch(t.type){case O.groups.ADD_RECORD:e[t.payload.record.id]=t.payload.record;break;case O.groups.REMOVE_RECORD:delete e[t.payload.model_id];break;case O.groups.SET_KEY_VALUE:if("unset"===t.payload.value){void 0!==e[t.payload.id][t.payload.key]&&delete e[t.payload.id][t.payload.key];break}e[t.payload.id][t.payload.key]=t.payload.value;break;case O.groups.SET_KEY_FORMAT:var n=A[t.payload.format];if(!n)break;var r=n.format.apply(n,$r(t.payload.values));if("unset"===r){void 0!==e[t.payload.id][t.payload.key]&&delete e[t.payload.id][t.payload.key];break}e[t.payload.id][t.payload.key]=r;break;case O.ADD_RELATION:if(e[t.payload.group_id].children=e[t.payload.group_id].children||[],"string"!=typeof t.payload.index){e[t.payload.group_id].children.splice(t.payload.index,0,t.payload.button_id);break}e[t.payload.group_id].children.push(t.payload.button_id);break;case O.CHANGE_RELATION:var o=e[t.payload.old_group_id].children.indexOf(t.payload.button_id);e[t.payload.old_group_id].children.splice(o,1),0===e[t.payload.old_group_id].children.length&&delete e[t.payload.old_group_id],e[t.payload.new_group_id].children.splice(t.payload.button_index,0,t.payload.button_id);break;case O.REMOVE_RELATION:var i=e[t.payload.group_id].children.indexOf(t.payload.button_id);e[t.payload.group_id].children.splice(i,1)}}))},buttons:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:eo,t=arguments.length>1?arguments[1]:void 0;return t.type===O.INIT?t.payload.buttons:_n(e,(function(e){switch(t.type){case O.buttons.ADD_RECORD:e[t.payload.record.id]=t.payload.record;break;case O.buttons.REMOVE_RECORD:delete e[t.payload.model_id];break;case O.buttons.SET_KEY_VALUE:if("unset"===t.payload.value){void 0!==e[t.payload.id][t.payload.key]&&delete e[t.payload.id][t.payload.key];break}e[t.payload.id][t.payload.key]=t.payload.value;break;case O.buttons.SET_KEY_FORMAT:var n=A[t.payload.format];if(!n)break;var r=n.format.apply(n,Xr(t.payload.values));if("unset"===r){void 0!==e[t.payload.id][t.payload.key]&&delete e[t.payload.id][t.payload.key];break}e[t.payload.id][t.payload.key]=r;break;case O.ADD_RELATION:e[t.payload.button_id].parent=t.payload.group_id;break;case O.CHANGE_RELATION:e[t.payload.button_id].parent=t.payload.new_group_id;break;case O.REMOVE_RELATION:e[t.payload.button_id].parent=null;break;default:return e}}))},misc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Gr,t=arguments.length>1?arguments[1]:void 0;return Sn(e,(function(e){switch(t.type){case O.INIT:var n=t.payload.wordpress?t.payload.wordpress:t.payload.info;e.frameUrl=n.base+"?buttonizer-preview=1".concat(t.payload.identifier?"&identifier=".concat(t.payload.identifier):""),e.loading.loadingIframe=!0,e.loading.showLoading=!0,e.loading.loadingString="loading.website",e.hasChanges="1"===t.payload.hasChanges,e.loading.loaded=!0,e.wordpress=t.payload.wordpress,e._premium=t.payload.premium,e.is_opt_in=t.payload.is_opt_in,e.latest_tour_update=t.payload.latest_tour_update,e.additional_permissions=t.payload.additional_permissions,e._premiumCode=t.payload.premium_code,e.domain=t.payload.info?t.payload.info.domain:null;break;case O.GET_DATA_BEGIN:e.loading.showLoading=!0,e.loading.loadingString="loading.loading";break;case O.GET_DATA_SUCCESS:e.loading.showLoading=!1,e.loading.fetchError=null,e.loading.loaded=!0;break;case O.GET_DATA_FAILURE:e.loading.showLoading=!1,e.loading.fetchError=t.payload.error,console.error(t.payload.error);break;case O.HAS_CHANGES:e.hasChanges=t.payload.hasChanges;break;case O.STOP_LOADING:e.loading.showLoading=!1,e.loading.loadingSlowWebsite=!1,e.loading.loadingIframe=!1;break;case O.SET_MISC_VALUE:e[t.payload.setting]=t.payload.value}}))},settings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===O.INIT?t.payload.settings:Sn(e,(function(e){switch(t.type){case O.SET_SETTING_VALUE:"can_send_errors"===t.payload.setting&&"undefined"!=typeof buttonizer_admin&&(buttonizer_admin.can_send_errors=t.payload.value),e[t.payload.setting]=t.payload.value}}))},templates:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:to,t=arguments.length>1?arguments[1]:void 0;return Sn(e,(function(e){switch(t.type){case O.templates.INIT:e.templates=t.payload.data,e.settings.loaded=!0;break;case O.templates.GET_DATA_BEGIN:e.settings.loading=!0;break;case O.templates.GET_DATA_FAILURE:e.settings.error=t.payload.error;break;case O.templates.GET_DATA_END:e.settings.loading=!1;break;case O.templates.ADD_RECORD:e.templates.push(t.payload.template)}}))}}),g((function(){return function(e){return function(t){return function(e){lo.apply(this,arguments)}(t),e(t)}}})));uo.add=function(e,t){return uo.dispatch(xt(e,t))},uo.subscribe(Zr);var co=uo,fo=n(81253),po=n(22122),ho=n(45697),mo=n.n(ho),vo=n(86010),go=n(14670),yo=n(59693),bo=n(17294),wo=n(55192),xo=n(24896),Eo=n(78927),_o=n(19756),So=n(41788),Oo=r.createContext(null);function ko(e,t){var n=Object.create(null);return e&&r.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,r.isValidElement)(e)?t(e):e}(e)})),n}function Co(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Po(e,t,n){var o=ko(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var l={};for(var s in t){if(o[s])for(r=0;r<o[s].length;r++){var u=o[s][r];l[o[s][r]]=n(u)}l[s]=n(s)}for(r=0;r<i.length;r++)l[i[r]]=n(i[r]);return l}(t,o);return Object.keys(i).forEach((function(a){var l=i[a];if((0,r.isValidElement)(l)){var s=a in t,u=a in o,c=t[a],f=(0,r.isValidElement)(c)&&!c.props.in;!u||s&&!f?u||!s||f?u&&s&&(0,r.isValidElement)(c)&&(i[a]=(0,r.cloneElement)(l,{onExited:n.bind(null,l),in:c.props.in,exit:Co(l,"exit",e),enter:Co(l,"enter",e)})):i[a]=(0,r.cloneElement)(l,{in:!1}):i[a]=(0,r.cloneElement)(l,{onExited:n.bind(null,l),in:!0,exit:Co(l,"exit",e),enter:Co(l,"enter",e)})}})),i}var jo=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Ao=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind((0,V.Z)(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}(0,So.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,o,i=t.children,a=t.handleExited;return{children:t.firstRender?(n=e,o=a,ko(n.children,(function(e){return(0,r.cloneElement)(e,{onExited:o.bind(null,e),in:!0,appear:Co(e,"appear",n),enter:Co(e,"enter",n),exit:Co(e,"exit",n)})}))):Po(e,i,a),firstRender:!1}},n.handleExited=function(e,t){var n=ko(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,po.Z)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,o=(0,_o.Z)(e,["component","childFactory"]),i=this.state.contextValue,a=jo(this.state.children).map(n);return delete o.appear,delete o.enter,delete o.exit,null===t?r.createElement(Oo.Provider,{value:i},a):r.createElement(Oo.Provider,{value:i},r.createElement(t,o,a))},t}(r.Component);Ao.propTypes={},Ao.defaultProps={component:"div",childFactory:function(e){return e}};var To=Ao,Io="undefined"==typeof window?r.useEffect:r.useLayoutEffect;var Ro=function(e){var t=e.classes,n=e.pulsate,o=void 0!==n&&n,i=e.rippleX,a=e.rippleY,l=e.rippleSize,s=e.in,u=e.onExited,c=void 0===u?function(){}:u,f=e.timeout,d=r.useState(!1),p=d[0],h=d[1],m=(0,vo.Z)(t.ripple,t.rippleVisible,o&&t.ripplePulsate),v={width:l,height:l,top:-l/2+a,left:-l/2+i},g=(0,vo.Z)(t.child,p&&t.childLeaving,o&&t.childPulsate),y=(0,wo.Z)(c);return Io((function(){if(!s){h(!0);var e=setTimeout(y,f);return function(){clearTimeout(e)}}}),[y,s,f]),r.createElement("span",{className:m,style:v},r.createElement("span",{className:g}))},No=r.forwardRef((function(e,t){var n=e.center,o=void 0!==n&&n,i=e.classes,a=e.className,l=(0,fo.Z)(e,["center","classes","className"]),s=r.useState([]),u=s[0],c=s[1],f=r.useRef(0),d=r.useRef(null);r.useEffect((function(){d.current&&(d.current(),d.current=null)}),[u]);var p=r.useRef(!1),h=r.useRef(null),m=r.useRef(null),v=r.useRef(null);r.useEffect((function(){return function(){clearTimeout(h.current)}}),[]);var g=r.useCallback((function(e){var t=e.pulsate,n=e.rippleX,o=e.rippleY,a=e.rippleSize,l=e.cb;c((function(e){return[].concat((0,Eo.Z)(e),[r.createElement(Ro,{key:f.current,classes:i,timeout:550,pulsate:t,rippleX:n,rippleY:o,rippleSize:a})])})),f.current+=1,d.current=l}),[i]),y=r.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t.pulsate,i=void 0!==r&&r,a=t.center,l=void 0===a?o||t.pulsate:a,s=t.fakeElement,u=void 0!==s&&s;if("mousedown"===e.type&&p.current)p.current=!1;else{"touchstart"===e.type&&(p.current=!0);var c,f,d,y=u?null:v.current,b=y?y.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(l||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(b.width/2),f=Math.round(b.height/2);else{var w=e.touches?e.touches[0]:e,x=w.clientX,E=w.clientY;c=Math.round(x-b.left),f=Math.round(E-b.top)}if(l)(d=Math.sqrt((2*Math.pow(b.width,2)+Math.pow(b.height,2))/3))%2==0&&(d+=1);else{var _=2*Math.max(Math.abs((y?y.clientWidth:0)-c),c)+2,S=2*Math.max(Math.abs((y?y.clientHeight:0)-f),f)+2;d=Math.sqrt(Math.pow(_,2)+Math.pow(S,2))}e.touches?null===m.current&&(m.current=function(){g({pulsate:i,rippleX:c,rippleY:f,rippleSize:d,cb:n})},h.current=setTimeout((function(){m.current&&(m.current(),m.current=null)}),80)):g({pulsate:i,rippleX:c,rippleY:f,rippleSize:d,cb:n})}}),[o,g]),b=r.useCallback((function(){y({},{pulsate:!0})}),[y]),w=r.useCallback((function(e,t){if(clearTimeout(h.current),"touchend"===e.type&&m.current)return e.persist(),m.current(),m.current=null,void(h.current=setTimeout((function(){w(e,t)})));m.current=null,c((function(e){return e.length>0?e.slice(1):e})),d.current=t}),[]);return r.useImperativeHandle(t,(function(){return{pulsate:b,start:y,stop:w}}),[b,y,w]),r.createElement("span",(0,po.Z)({className:(0,vo.Z)(i.root,a),ref:v},l),r.createElement(To,{component:null,exit:!0},u))})),Do=(0,go.Z)((function(e){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(e.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(e.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(r.memo(No)),Mo=r.forwardRef((function(e,t){var n=e.action,i=e.buttonRef,a=e.centerRipple,l=void 0!==a&&a,s=e.children,u=e.classes,c=e.className,f=e.component,d=void 0===f?"button":f,p=e.disabled,h=void 0!==p&&p,m=e.disableRipple,v=void 0!==m&&m,g=e.disableTouchRipple,y=void 0!==g&&g,b=e.focusRipple,w=void 0!==b&&b,x=e.focusVisibleClassName,E=e.onBlur,_=e.onClick,S=e.onFocus,O=e.onFocusVisible,k=e.onKeyDown,C=e.onKeyUp,P=e.onMouseDown,j=e.onMouseLeave,A=e.onMouseUp,T=e.onTouchEnd,I=e.onTouchMove,R=e.onTouchStart,N=e.onDragLeave,D=e.tabIndex,M=void 0===D?0:D,L=e.TouchRippleProps,F=e.type,B=void 0===F?"button":F,z=(0,fo.Z)(e,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),U=r.useRef(null);var Z=r.useRef(null),H=r.useState(!1),W=H[0],G=H[1];h&&W&&G(!1);var V=(0,xo.Z)(),$=V.isFocusVisible,K=V.onBlurVisible,q=V.ref;function Y(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y;return(0,wo.Z)((function(r){return t&&t(r),!n&&Z.current&&Z.current[e](r),!0}))}r.useImperativeHandle(n,(function(){return{focusVisible:function(){G(!0),U.current.focus()}}}),[]),r.useEffect((function(){W&&w&&!v&&Z.current.pulsate()}),[v,w,W]);var J=Y("start",P),X=Y("stop",N),Q=Y("stop",A),ee=Y("stop",(function(e){W&&e.preventDefault(),j&&j(e)})),te=Y("start",R),ne=Y("stop",T),re=Y("stop",I),oe=Y("stop",(function(e){W&&(K(e),G(!1)),E&&E(e)}),!1),ie=(0,wo.Z)((function(e){U.current||(U.current=e.currentTarget),$(e)&&(G(!0),O&&O(e)),S&&S(e)})),ae=function(){var e=o.findDOMNode(U.current);return d&&"button"!==d&&!("A"===e.tagName&&e.href)},le=r.useRef(!1),se=(0,wo.Z)((function(e){w&&!le.current&&W&&Z.current&&" "===e.key&&(le.current=!0,e.persist(),Z.current.stop(e,(function(){Z.current.start(e)}))),e.target===e.currentTarget&&ae()&&" "===e.key&&e.preventDefault(),k&&k(e),e.target===e.currentTarget&&ae()&&"Enter"===e.key&&!h&&(e.preventDefault(),_&&_(e))})),ue=(0,wo.Z)((function(e){w&&" "===e.key&&Z.current&&W&&!e.defaultPrevented&&(le.current=!1,e.persist(),Z.current.stop(e,(function(){Z.current.pulsate(e)}))),C&&C(e),_&&e.target===e.currentTarget&&ae()&&" "===e.key&&!e.defaultPrevented&&_(e)})),ce=d;"button"===ce&&z.href&&(ce="a");var fe={};"button"===ce?(fe.type=B,fe.disabled=h):("a"===ce&&z.href||(fe.role="button"),fe["aria-disabled"]=h);var de=(0,bo.Z)(i,t),pe=(0,bo.Z)(q,U),he=(0,bo.Z)(de,pe),me=r.useState(!1),ve=me[0],ge=me[1];r.useEffect((function(){ge(!0)}),[]);var ye=ve&&!v&&!h;return r.createElement(ce,(0,po.Z)({className:(0,vo.Z)(u.root,c,W&&[u.focusVisible,x],h&&u.disabled),onBlur:oe,onClick:_,onFocus:ie,onKeyDown:se,onKeyUp:ue,onMouseDown:J,onMouseLeave:ee,onMouseUp:Q,onDragLeave:X,onTouchEnd:ne,onTouchMove:re,onTouchStart:te,ref:he,tabIndex:h?-1:M},fe,z),s,ye?r.createElement(Do,(0,po.Z)({ref:Z,center:l},L)):null)})),Lo=(0,go.Z)({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(Mo),Fo=n(93871),Bo=r.forwardRef((function(e,t){var n=e.children,o=e.classes,i=e.className,a=e.color,l=void 0===a?"default":a,s=e.component,u=void 0===s?"button":s,c=e.disabled,f=void 0!==c&&c,d=e.disableElevation,p=void 0!==d&&d,h=e.disableFocusRipple,m=void 0!==h&&h,v=e.endIcon,g=e.focusVisibleClassName,y=e.fullWidth,b=void 0!==y&&y,w=e.size,x=void 0===w?"medium":w,E=e.startIcon,_=e.type,S=void 0===_?"button":_,O=e.variant,k=void 0===O?"text":O,C=(0,fo.Z)(e,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),P=E&&r.createElement("span",{className:(0,vo.Z)(o.startIcon,o["iconSize".concat((0,Fo.Z)(x))])},E),j=v&&r.createElement("span",{className:(0,vo.Z)(o.endIcon,o["iconSize".concat((0,Fo.Z)(x))])},v);return r.createElement(Lo,(0,po.Z)({className:(0,vo.Z)(o.root,o[k],i,"inherit"===l?o.colorInherit:"default"!==l&&o["".concat(k).concat((0,Fo.Z)(l))],"medium"!==x&&[o["".concat(k,"Size").concat((0,Fo.Z)(x))],o["size".concat((0,Fo.Z)(x))]],p&&o.disableElevation,f&&o.disabled,b&&o.fullWidth),component:u,disabled:f,focusRipple:!m,focusVisibleClassName:(0,vo.Z)(o.focusVisible,g),ref:t,type:S},C),r.createElement("span",{className:o.label},P,n,j))})),zo=(0,go.Z)((function(e){return{root:(0,po.Z)({},e.typography.button,{boxSizing:"border-box",minWidth:64,padding:"6px 16px",borderRadius:e.shape.borderRadius,color:e.palette.text.primary,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:(0,yo.U1)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},text:{padding:"6px 8px"},textPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:(0,yo.U1)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:(0,yo.U1)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlined:{padding:"5px 15px",border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"&$disabled":{border:"1px solid ".concat(e.palette.action.disabledBackground)}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat((0,yo.U1)(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main),backgroundColor:(0,yo.U1)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat((0,yo.U1)(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main),backgroundColor:(0,yo.U1)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{border:"1px solid ".concat(e.palette.action.disabled)}},contained:{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2],"&:hover":{backgroundColor:e.palette.grey.A100,boxShadow:e.shadows[4],"@media (hover: none)":{boxShadow:e.shadows[2],backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}},"&$focusVisible":{boxShadow:e.shadows[6]},"&:active":{boxShadow:e.shadows[8]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground}},containedPrimary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},containedSecondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},disableElevation:{boxShadow:"none","&:hover":{boxShadow:"none"},"&$focusVisible":{boxShadow:"none"},"&:active":{boxShadow:"none"},"&$disabled":{boxShadow:"none"}},focusVisible:{},disabled:{},colorInherit:{color:"inherit",borderColor:"currentColor"},textSizeSmall:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},textSizeLarge:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},outlinedSizeSmall:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},outlinedSizeLarge:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},containedSizeSmall:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},containedSizeLarge:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},sizeSmall:{},sizeLarge:{},fullWidth:{width:"100%"},startIcon:{display:"inherit",marginRight:8,marginLeft:-4,"&$iconSizeSmall":{marginLeft:-2}},endIcon:{display:"inherit",marginRight:-4,marginLeft:8,"&$iconSizeSmall":{marginRight:-2}},iconSizeSmall:{"& > *:first-child":{fontSize:18}},iconSizeMedium:{"& > *:first-child":{fontSize:20}},iconSizeLarge:{"& > *:first-child":{fontSize:22}}}}),{name:"MuiButton"})(Bo);function Uo(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function Zo(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ho(e){var t=Zo(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Wo(e){return e instanceof Zo(e).Element||e instanceof Element}function Go(e){return e instanceof Zo(e).HTMLElement||e instanceof HTMLElement}function Vo(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Zo(e).ShadowRoot||e instanceof ShadowRoot)}function $o(e){return e?(e.nodeName||"").toLowerCase():null}function Ko(e){return((Wo(e)?e.ownerDocument:e.document)||window.document).documentElement}function qo(e){return Uo(Ko(e)).left+Ho(e).scrollLeft}function Yo(e){return Zo(e).getComputedStyle(e)}function Jo(e){var t=Yo(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Xo(e,t,n){void 0===n&&(n=!1);var r=Ko(t),o=Uo(e),i=Go(t),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&(("body"!==$o(t)||Jo(r))&&(a=function(e){return e!==Zo(e)&&Go(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:Ho(e);var t}(t)),Go(t)?((l=Uo(t)).x+=t.clientLeft,l.y+=t.clientTop):r&&(l.x=qo(r))),{x:o.left+a.scrollLeft-l.x,y:o.top+a.scrollTop-l.y,width:o.width,height:o.height}}function Qo(e){var t=Uo(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function ei(e){return"html"===$o(e)?e:e.assignedSlot||e.parentNode||(Vo(e)?e.host:null)||Ko(e)}function ti(e,t){var n;void 0===t&&(t=[]);var r=function e(t){return["html","body","#document"].indexOf($o(t))>=0?t.ownerDocument.body:Go(t)&&Jo(t)?t:e(ei(t))}(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Zo(r),a=o?[i].concat(i.visualViewport||[],Jo(r)?r:[]):r,l=t.concat(a);return o?l:l.concat(ti(ei(a)))}function ni(e){return["table","td","th"].indexOf($o(e))>=0}function ri(e){return Go(e)&&"fixed"!==Yo(e).position?e.offsetParent:null}function oi(e){for(var t=Zo(e),n=ri(e);n&&ni(n)&&"static"===Yo(n).position;)n=ri(n);return n&&("html"===$o(n)||"body"===$o(n)&&"static"===Yo(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&Go(e)&&"fixed"===Yo(e).position)return null;for(var n=ei(e);Go(n)&&["html","body"].indexOf($o(n))<0;){var r=Yo(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var ii="top",ai="bottom",li="right",si="left",ui=[ii,ai,li,si],ci=ui.reduce((function(e,t){return e.concat([t+"-start",t+"-end"])}),[]),fi=[].concat(ui,["auto"]).reduce((function(e,t){return e.concat([t,t+"-start",t+"-end"])}),[]),di=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function pi(e){var t=new Map,n=new Set,r=[];return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||function e(o){n.add(o.name),[].concat(o.requires||[],o.requiresIfExists||[]).forEach((function(r){if(!n.has(r)){var o=t.get(r);o&&e(o)}})),r.push(o)}(e)})),r}function hi(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}var mi={placement:"bottom",modifiers:[],strategy:"absolute"};function vi(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function gi(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?mi:o;return function(e,t,n){void 0===n&&(n=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},mi,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],l=!1,s={state:o,setOptions:function(n){u(),o.options=Object.assign({},i,o.options,n),o.scrollParents={reference:Wo(e)?ti(e):e.contextElement?ti(e.contextElement):[],popper:ti(t)};var l=function(e){var t=pi(e);return di.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,o.options.modifiers)));return o.orderedModifiers=l.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var l=i({state:o,name:t,instance:s,options:r});a.push(l||function(){})}})),s.update()},forceUpdate:function(){if(!l){var e=o.elements,t=e.reference,n=e.popper;if(vi(t,n)){o.rects={reference:Xo(t,oi(n),"fixed"===o.options.strategy),popper:Qo(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var i=o.orderedModifiers[r],a=i.fn,u=i.options,c=void 0===u?{}:u,f=i.name;"function"==typeof a&&(o=a({state:o,options:c,name:f,instance:s})||o)}else o.reset=!1,r=-1}}},update:hi((function(){return new Promise((function(e){s.forceUpdate(),e(o)}))})),destroy:function(){u(),l=!0}};if(!vi(e,t))return s;function u(){a.forEach((function(e){return e()})),a=[]}return s.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)})),s}}var yi={passive:!0};var bi={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,l=void 0===a||a,s=Zo(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach((function(e){e.addEventListener("scroll",n.update,yi)})),l&&s.addEventListener("resize",n.update,yi),function(){i&&u.forEach((function(e){e.removeEventListener("scroll",n.update,yi)})),l&&s.removeEventListener("resize",n.update,yi)}},data:{}};function wi(e){return e.split("-")[0]}function xi(e){return e.split("-")[1]}function Ei(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function _i(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?wi(o):null,a=o?xi(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case ii:t={x:l,y:n.y-r.height};break;case ai:t={x:l,y:n.y+n.height};break;case li:t={x:n.x+n.width,y:s};break;case si:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var u=i?Ei(i):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case"start":t[u]=t[u]-(n[c]/2-r[c]/2);break;case"end":t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}var Si={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=_i({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Oi=Math.max,ki=Math.min,Ci=Math.round,Pi={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ji(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.offsets,a=e.position,l=e.gpuAcceleration,s=e.adaptive,u=e.roundOffsets,c=!0===u?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Ci(Ci(t*r)/r)||0,y:Ci(Ci(n*r)/r)||0}}(i):"function"==typeof u?u(i):i,f=c.x,d=void 0===f?0:f,p=c.y,h=void 0===p?0:p,m=i.hasOwnProperty("x"),v=i.hasOwnProperty("y"),g=si,y=ii,b=window;if(s){var w=oi(n),x="clientHeight",E="clientWidth";w===Zo(n)&&"static"!==Yo(w=Ko(n)).position&&(x="scrollHeight",E="scrollWidth"),w=w,o===ii&&(y=ai,h-=w[x]-r.height,h*=l?1:-1),o===si&&(g=li,d-=w[E]-r.width,d*=l?1:-1)}var _,S=Object.assign({position:a},s&&Pi);return l?Object.assign({},S,((_={})[y]=v?"0":"",_[g]=m?"0":"",_.transform=(b.devicePixelRatio||1)<2?"translate("+d+"px, "+h+"px)":"translate3d("+d+"px, "+h+"px, 0)",_)):Object.assign({},S,((t={})[y]=v?h+"px":"",t[g]=m?d+"px":"",t.transform="",t))}var Ai={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Go(o)&&$o(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Go(r)&&$o(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};var Ti={left:"right",right:"left",bottom:"top",top:"bottom"};function Ii(e){return e.replace(/left|right|bottom|top/g,(function(e){return Ti[e]}))}var Ri={start:"end",end:"start"};function Ni(e){return e.replace(/start|end/g,(function(e){return Ri[e]}))}function Di(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Vo(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Mi(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Li(e,t){return"viewport"===t?Mi(function(e){var t=Zo(e),n=Ko(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,l=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,l=r.offsetTop)),{width:o,height:i,x:a+qo(e),y:l}}(e)):Go(t)?function(e){var t=Uo(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Mi(function(e){var t,n=Ko(e),r=Ho(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=Oi(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Oi(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+qo(e),s=-r.scrollTop;return"rtl"===Yo(o||n).direction&&(l+=Oi(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:l,y:s}}(Ko(e)))}function Fi(e,t,n){var r="clippingParents"===t?function(e){var t=ti(ei(e)),n=["absolute","fixed"].indexOf(Yo(e).position)>=0&&Go(e)?oi(e):e;return Wo(n)?t.filter((function(e){return Wo(e)&&Di(e,n)&&"body"!==$o(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=Li(e,n);return t.top=Oi(r.top,t.top),t.right=ki(r.right,t.right),t.bottom=ki(r.bottom,t.bottom),t.left=Oi(r.left,t.left),t}),Li(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Bi(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function zi(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Ui(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,l=n.rootBoundary,s=void 0===l?"viewport":l,u=n.elementContext,c=void 0===u?"popper":u,f=n.altBoundary,d=void 0!==f&&f,p=n.padding,h=void 0===p?0:p,m=Bi("number"!=typeof h?h:zi(h,ui)),v="popper"===c?"reference":"popper",g=e.elements.reference,y=e.rects.popper,b=e.elements[d?v:c],w=Fi(Wo(b)?b:b.contextElement||Ko(e.elements.popper),a,s),x=Uo(g),E=_i({reference:x,element:y,strategy:"absolute",placement:o}),_=Mi(Object.assign({},y,E)),S="popper"===c?_:x,O={top:w.top-S.top+m.top,bottom:S.bottom-w.bottom+m.bottom,left:w.left-S.left+m.left,right:S.right-w.right+m.right},k=e.modifiersData.offset;if("popper"===c&&k){var C=k[o];Object.keys(O).forEach((function(e){var t=[li,ai].indexOf(e)>=0?1:-1,n=[ii,ai].indexOf(e)>=0?"y":"x";O[e]+=C[n]*t}))}return O}function Zi(e,t,n){return Oi(e,ki(t,n))}function Hi(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Wi(e){return[ii,li,ai,si].some((function(t){return e[t]>=0}))}var Gi=gi({defaultModifiers:[bi,Si,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,l=n.roundOffsets,s=void 0===l||l,u={placement:wi(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ji(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ji(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Ai,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=fi.reduce((function(e,n){return e[n]=function(e,t,n){var r=wi(e),o=[si,ii].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],l=i[1];return a=a||0,l=(l||0)*o,[si,li].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}(n,t.rects,i),e}),{}),l=a[t.placement],s=l.x,u=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0===a||a,s=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,v=t.options.placement,g=wi(v),y=s||(g===v||!h?[Ii(v)]:function(e){if("auto"===wi(e))return[];var t=Ii(e);return[Ni(e),t,Ni(t)]}(v)),b=[v].concat(y).reduce((function(e,n){return e.concat("auto"===wi(n)?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,u=void 0===s?fi:s,c=xi(r),f=c?l?ci:ci.filter((function(e){return xi(e)===c})):ui,d=f.filter((function(e){return u.indexOf(e)>=0}));0===d.length&&(d=f);var p=d.reduce((function(t,n){return t[n]=Ui(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[wi(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:c,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,x=t.rects.popper,E=new Map,_=!0,S=b[0],O=0;O<b.length;O++){var k=b[O],C=wi(k),P="start"===xi(k),j=[ii,ai].indexOf(C)>=0,A=j?"width":"height",T=Ui(t,{placement:k,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),I=j?P?li:si:P?ai:ii;w[A]>x[A]&&(I=Ii(I));var R=Ii(I),N=[];if(i&&N.push(T[C]<=0),l&&N.push(T[I]<=0,T[R]<=0),N.every((function(e){return e}))){S=k,_=!1;break}E.set(k,N)}if(_)for(var D=function(e){var t=b.find((function(t){var n=E.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return S=t,"break"},M=h?3:1;M>0;M--){if("break"===D(M))break}t.placement!==S&&(t.modifiersData[r]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,l=void 0!==a&&a,s=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,p=void 0===d||d,h=n.tetherOffset,m=void 0===h?0:h,v=Ui(t,{boundary:s,rootBoundary:u,padding:f,altBoundary:c}),g=wi(t.placement),y=xi(t.placement),b=!y,w=Ei(g),x="x"===w?"y":"x",E=t.modifiersData.popperOffsets,_=t.rects.reference,S=t.rects.popper,O="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,k={x:0,y:0};if(E){if(i||l){var C="y"===w?ii:si,P="y"===w?ai:li,j="y"===w?"height":"width",A=E[w],T=E[w]+v[C],I=E[w]-v[P],R=p?-S[j]/2:0,N="start"===y?_[j]:S[j],D="start"===y?-S[j]:-_[j],M=t.elements.arrow,L=p&&M?Qo(M):{width:0,height:0},F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},B=F[C],z=F[P],U=Zi(0,_[j],L[j]),Z=b?_[j]/2-R-U-B-O:N-U-B-O,H=b?-_[j]/2+R+U+z+O:D+U+z+O,W=t.elements.arrow&&oi(t.elements.arrow),G=W?"y"===w?W.clientTop||0:W.clientLeft||0:0,V=t.modifiersData.offset?t.modifiersData.offset[t.placement][w]:0,$=E[w]+Z-V-G,K=E[w]+H-V;if(i){var q=Zi(p?ki(T,$):T,A,p?Oi(I,K):I);E[w]=q,k[w]=q-A}if(l){var Y="x"===w?ii:si,J="x"===w?ai:li,X=E[x],Q=X+v[Y],ee=X-v[J],te=Zi(p?ki(Q,$):Q,X,p?Oi(ee,K):ee);E[x]=te,k[x]=te-X}}t.modifiersData[r]=k}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,l=wi(n.placement),s=Ei(l),u=[si,li].indexOf(l)>=0?"height":"width";if(i&&a){var c=function(e,t){return Bi("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:zi(e,ui))}(o.padding,n),f=Qo(i),d="y"===s?ii:si,p="y"===s?ai:li,h=n.rects.reference[u]+n.rects.reference[s]-a[s]-n.rects.popper[u],m=a[s]-n.rects.reference[s],v=oi(i),g=v?"y"===s?v.clientHeight||0:v.clientWidth||0:0,y=h/2-m/2,b=c[d],w=g-f[u]-c[p],x=g/2-f[u]/2+y,E=Zi(b,x,w),_=s;n.modifiersData[r]=((t={})[_]=E,t.centerOffset=E-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Di(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Ui(t,{elementContext:"reference"}),l=Ui(t,{altBoundary:!0}),s=Hi(a,r),u=Hi(l,o,i),c=Wi(s),f=Wi(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}}]}),Vi={passive:!0,capture:!0};function $i(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Ki(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function qi(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Yi(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function Ji(e){return[].concat(e)}function Xi(e,t){-1===e.indexOf(t)&&e.push(t)}function Qi(e){return e.split("-")[0]}function ea(e){return[].slice.call(e)}function ta(){return document.createElement("div")}function na(e){return["Element","Fragment"].some((function(t){return Ki(e,t)}))}function ra(e){return Ki(e,"MouseEvent")}function oa(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function ia(e){return na(e)?[e]:function(e){return Ki(e,"NodeList")}(e)?ea(e):Array.isArray(e)?e:ea(document.querySelectorAll(e))}function aa(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function la(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function sa(e){var t,n=Ji(e)[0];return(null==n||null==(t=n.ownerDocument)?void 0:t.body)?n.ownerDocument:document}function ua(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}var ca={isTouch:!1},fa=0;function da(){ca.isTouch||(ca.isTouch=!0,window.performance&&document.addEventListener("mousemove",pa))}function pa(){var e=performance.now();e-fa<20&&(ca.isTouch=!1,document.removeEventListener("mousemove",pa)),fa=e}function ha(){var e=document.activeElement;if(oa(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var ma="undefined"!=typeof window&&"undefined"!=typeof document?navigator.userAgent:"",va=/MSIE |Trident\//.test(ma);var ga={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},ya=Object.assign({appendTo:function(){return document.body},aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},ga,{},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),ba=Object.keys(ya);function wa(e){var t=(e.plugins||[]).reduce((function(t,n){var r=n.name,o=n.defaultValue;return r&&(t[r]=void 0!==e[r]?e[r]:o),t}),{});return Object.assign({},e,{},t)}function xa(e,t){var n=Object.assign({},t,{content:qi(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(wa(Object.assign({},ya,{plugins:t}))):ba).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},ya.aria,{},n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function Ea(e,t){e.innerHTML=t}function _a(e){var t=ta();return!0===e?t.className="tippy-arrow":(t.className="tippy-svg-arrow",na(e)?t.appendChild(e):Ea(t,e)),t}function Sa(e,t){na(t.content)?(Ea(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Ea(e,t.content):e.textContent=t.content)}function Oa(e){var t=e.firstElementChild,n=ea(t.children);return{box:t,content:n.find((function(e){return e.classList.contains("tippy-content")})),arrow:n.find((function(e){return e.classList.contains("tippy-arrow")||e.classList.contains("tippy-svg-arrow")})),backdrop:n.find((function(e){return e.classList.contains("tippy-backdrop")}))}}function ka(e){var t=ta(),n=ta();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=ta();function o(n,r){var o=Oa(t),i=o.box,a=o.content,l=o.arrow;r.theme?i.setAttribute("data-theme",r.theme):i.removeAttribute("data-theme"),"string"==typeof r.animation?i.setAttribute("data-animation",r.animation):i.removeAttribute("data-animation"),r.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?i.setAttribute("role",r.role):i.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||Sa(a,e.props),r.arrow?l?n.arrow!==r.arrow&&(i.removeChild(l),i.appendChild(_a(r.arrow))):i.appendChild(_a(r.arrow)):l&&i.removeChild(l)}return r.className="tippy-content",r.setAttribute("data-state","hidden"),Sa(r,e.props),t.appendChild(n),n.appendChild(r),o(e.props,e.props),{popper:t,onUpdate:o}}ka.$$tippy=!0;var Ca=1,Pa=[],ja=[];function Aa(e,t){var n,r,o,i,a,l,s,u,c=xa(e,Object.assign({},ya,{},wa((n=t,Object.keys(n).reduce((function(e,t){return void 0!==n[t]&&(e[t]=n[t]),e}),{}))))),f=!1,d=!1,p=!1,h=!1,m=[],v=Yi($,c.interactiveDebounce),g=Ca++,y=function(e){return e.filter((function(t,n){return e.indexOf(t)===n}))}(c.plugins),b={id:g,reference:e,popper:ta(),popperInstance:null,props:c,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(r),clearTimeout(o),cancelAnimationFrame(i)},setProps:function(t){0;if(b.state.isDestroyed)return;R("onBeforeUpdate",[b,t]),G();var n=b.props,r=xa(e,Object.assign({},b.props,{},t,{ignoreAttributes:!0}));b.props=r,W(),n.interactiveDebounce!==r.interactiveDebounce&&(M(),v=Yi($,r.interactiveDebounce));n.triggerTarget&&!r.triggerTarget?Ji(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded");D(),I(),E&&E(n,r);b.popperInstance&&(J(),Q().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));R("onAfterUpdate",[b,t])},setContent:function(e){b.setProps({content:e})},show:function(){0;var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=ca.isTouch&&!b.props.touch,o=$i(b.props.duration,0,ya.duration);if(e||t||n||r)return;if(P().hasAttribute("disabled"))return;if(R("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,C()&&(x.style.visibility="visible");I(),z(),b.state.isMounted||(x.style.transition="none");if(C()){var i=A(),a=i.box,l=i.content;aa([a,l],0)}s=function(){var e;if(b.state.isVisible&&!h){if(h=!0,x.offsetHeight,x.style.transition=b.props.moveTransition,C()&&b.props.animation){var t=A(),n=t.box,r=t.content;aa([n,r],o),la([n,r],"visible")}N(),D(),Xi(ja,b),null==(e=b.popperInstance)||e.forceUpdate(),b.state.isMounted=!0,R("onMount",[b]),b.props.animation&&C()&&function(e,t){Z(e,t)}(o,(function(){b.state.isShown=!0,R("onShown",[b])}))}},function(){var e,t=b.props.appendTo,n=P();e=b.props.interactive&&t===ya.appendTo||"parent"===t?n.parentNode:qi(t,[n]);e.contains(x)||e.appendChild(x);J(),!1}()},hide:function(){0;var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=$i(b.props.duration,1,ya.duration);if(e||t||n)return;if(R("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,h=!1,f=!1,C()&&(x.style.visibility="hidden");if(M(),U(),I(),C()){var o=A(),i=o.box,a=o.content;b.props.animation&&(aa([i,a],r),la([i,a],"hidden"))}N(),D(),b.props.animation?C()&&function(e,t){Z(e,(function(){!b.state.isVisible&&x.parentNode&&x.parentNode.contains(x)&&t()}))}(r,b.unmount):b.unmount()},hideWithInteractivity:function(e){0;j().addEventListener("mousemove",v),Xi(Pa,v),v(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){0;b.state.isVisible&&b.hide();if(!b.state.isMounted)return;X(),Q().forEach((function(e){e._tippy.unmount()})),x.parentNode&&x.parentNode.removeChild(x);ja=ja.filter((function(e){return e!==b})),b.state.isMounted=!1,R("onHidden",[b])},destroy:function(){0;if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),G(),delete e._tippy,b.state.isDestroyed=!0,R("onDestroy",[b])}};if(!c.render)return b;var w=c.render(b),x=w.popper,E=w.onUpdate;x.setAttribute("data-tippy-root",""),x.id="tippy-"+b.id,b.popper=x,e._tippy=b,x._tippy=b;var _=y.map((function(e){return e.fn(b)})),S=e.hasAttribute("aria-expanded");return W(),D(),I(),R("onCreate",[b]),c.showOnCreate&&ee(),x.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),x.addEventListener("mouseleave",(function(e){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&(j().addEventListener("mousemove",v),v(e))})),b;function O(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function k(){return"hold"===O()[0]}function C(){var e;return!!(null==(e=b.props.render)?void 0:e.$$tippy)}function P(){return u||e}function j(){var e=P().parentNode;return e?sa(e):document}function A(){return Oa(x)}function T(e){return b.state.isMounted&&!b.state.isVisible||ca.isTouch||a&&"focus"===a.type?0:$i(b.props.delay,e?0:1,ya.delay)}function I(){x.style.pointerEvents=b.props.interactive&&b.state.isVisible?"":"none",x.style.zIndex=""+b.props.zIndex}function R(e,t,n){var r;(void 0===n&&(n=!0),_.forEach((function(n){n[e]&&n[e].apply(void 0,t)})),n)&&(r=b.props)[e].apply(r,t)}function N(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=x.id;Ji(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var o=t&&t.replace(r,"").trim();o?e.setAttribute(n,o):e.removeAttribute(n)}}))}}function D(){!S&&b.props.aria.expanded&&Ji(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===P()?"true":"false"):e.removeAttribute("aria-expanded")}))}function M(){j().removeEventListener("mousemove",v),Pa=Pa.filter((function(e){return e!==v}))}function L(e){if(!(ca.isTouch&&(p||"mousedown"===e.type)||b.props.interactive&&x.contains(e.target))){if(P().contains(e.target)){if(ca.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else R("onClickOutside",[b,e]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),d=!0,setTimeout((function(){d=!1})),b.state.isMounted||U())}}function F(){p=!0}function B(){p=!1}function z(){var e=j();e.addEventListener("mousedown",L,!0),e.addEventListener("touchend",L,Vi),e.addEventListener("touchstart",B,Vi),e.addEventListener("touchmove",F,Vi)}function U(){var e=j();e.removeEventListener("mousedown",L,!0),e.removeEventListener("touchend",L,Vi),e.removeEventListener("touchstart",B,Vi),e.removeEventListener("touchmove",F,Vi)}function Z(e,t){var n=A().box;function r(e){e.target===n&&(ua(n,"remove",r),t())}if(0===e)return t();ua(n,"remove",l),ua(n,"add",r),l=r}function H(t,n,r){void 0===r&&(r=!1),Ji(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})}))}function W(){var e;k()&&(H("touchstart",V,{passive:!0}),H("touchend",K,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(H(e,V),e){case"mouseenter":H("mouseleave",K);break;case"focus":H(va?"focusout":"blur",q);break;case"focusin":H("focusout",q)}}))}function G(){m.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,o=e.options;t.removeEventListener(n,r,o)})),m=[]}function V(e){var t,n=!1;if(b.state.isEnabled&&!Y(e)&&!d){var r="focus"===(null==(t=a)?void 0:t.type);a=e,u=e.currentTarget,D(),!b.state.isVisible&&ra(e)&&Pa.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||f)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!r&&te(e)}}function $(e){var t=e.target,n=P().contains(t)||x.contains(t);"mousemove"===e.type&&n||function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,o=e.popperState,i=e.props.interactiveBorder,a=Qi(o.placement),l=o.modifiersData.offset;if(!l)return!0;var s="bottom"===a?l.top.y:0,u="top"===a?l.bottom.y:0,c="right"===a?l.left.x:0,f="left"===a?l.right.x:0,d=t.top-r+s>i,p=r-t.bottom-u>i,h=t.left-n+c>i,m=n-t.right-f>i;return d||p||h||m}))}(Q().concat(x).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:c}:null})).filter(Boolean),e)&&(M(),te(e))}function K(e){Y(e)||b.props.trigger.indexOf("click")>=0&&f||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function q(e){b.props.trigger.indexOf("focusin")<0&&e.target!==P()||b.props.interactive&&e.relatedTarget&&x.contains(e.relatedTarget)||te(e)}function Y(e){return!!ca.isTouch&&k()!==e.type.indexOf("touch")>=0}function J(){X();var t=b.props,n=t.popperOptions,r=t.placement,o=t.offset,i=t.getReferenceClientRect,a=t.moveTransition,l=C()?Oa(x).arrow:null,u=i?{getBoundingClientRect:i,contextElement:i.contextElement||P()}:e,c=[{name:"offset",options:{offset:o}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(C()){var n=A().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];C()&&l&&c.push({name:"arrow",options:{element:l,padding:3}}),c.push.apply(c,(null==n?void 0:n.modifiers)||[]),b.popperInstance=Gi(u,x,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:c}))}function X(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Q(){return ea(x.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&R("onTrigger",[b,e]),z();var t=T(!0),n=O(),o=n[0],i=n[1];ca.isTouch&&"hold"===o&&i&&(t=i),t?r=setTimeout((function(){b.show()}),t):b.show()}function te(e){if(b.clearDelayTimeouts(),R("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=T(!1);t?o=setTimeout((function(){b.state.isVisible&&b.hide()}),t):i=requestAnimationFrame((function(){b.hide()}))}}else U()}}function Ta(e,t){void 0===t&&(t={});var n=ya.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",da,Vi),window.addEventListener("blur",ha);var r=Object.assign({},t,{plugins:n}),o=ia(e).reduce((function(e,t){var n=t&&Aa(t,r);return n&&e.push(n),e}),[]);return na(e)?o[0]:o}Ta.defaultProps=ya,Ta.setDefaultProps=function(e){Object.keys(e).forEach((function(t){ya[t]=e[t]}))},Ta.currentInput=ca;Object.assign({},Ai,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});Ta.setDefaultProps({render:ka});var Ia=Ta;function Ra(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var Na="undefined"!=typeof window&&"undefined"!=typeof document;function Da(e,t){e&&("function"==typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function Ma(){return Na&&document.createElement("div")}function La(e){var t=[];return e.forEach((function(e){t.find((function(t){return function e(t,n){if(t===n)return!0;if("object"==typeof t&&null!=t&&"object"==typeof n&&null!=n){if(Object.keys(t).length!==Object.keys(n).length)return!1;for(var r in t){if(!n.hasOwnProperty(r))return!1;if(!e(t[r],n[r]))return!1}return!0}return!1}(e,t)}))||t.push(e)})),t}function Fa(e,t){var n,r;return Object.assign({},t,{popperOptions:Object.assign({},e.popperOptions,t.popperOptions,{modifiers:La([].concat((null==(n=e.popperOptions)?void 0:n.modifiers)||[],(null==(r=t.popperOptions)?void 0:r.modifiers)||[]))})})}var Ba=Na?r.useLayoutEffect:r.useEffect;function za(e){var t=(0,r.useRef)();return t.current||(t.current="function"==typeof e?e():e),t.current}function Ua(e,t,n){n.split(/\s+/).forEach((function(n){n&&e.classList[t](n)}))}var Za={name:"className",defaultValue:"",fn:function(e){var t=e.popper.firstElementChild,n=function(){var t;return!!(null==(t=e.props.render)?void 0:t.$$tippy)};function r(){e.props.className&&!n()||Ua(t,"add",e.props.className)}return{onCreate:r,onBeforeUpdate:function(){n()&&Ua(t,"remove",e.props.className)},onAfterUpdate:r}}};function Ha(e){return function(t){var n=t.children,i=t.content,a=t.visible,l=t.singleton,s=t.render,u=t.reference,c=t.disabled,f=void 0!==c&&c,d=t.ignoreAttributes,p=void 0===d||d,h=(t.__source,t.__self,Ra(t,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"])),m=void 0!==a,v=void 0!==l,g=(0,r.useState)(!1),y=g[0],b=g[1],w=(0,r.useState)({}),x=w[0],E=w[1],_=(0,r.useState)(),S=_[0],O=_[1],k=za((function(){return{container:Ma(),renders:1}})),C=Object.assign({ignoreAttributes:p},h,{content:k.container});m&&(C.trigger="manual",C.hideOnClick=!1),v&&(f=!0);var P=C,j=C.plugins||[];s&&(P=Object.assign({},C,{plugins:v?[].concat(j,[{fn:function(){return{onTrigger:function(e,t){var n=l.data.children.find((function(e){return e.instance.reference===t.currentTarget})).content;O(n)}}}}]):j,render:function(){return{popper:k.container}}}));var A=[u].concat(n?[n.type]:[]);return Ba((function(){var t=u;u&&u.hasOwnProperty("current")&&(t=u.current);var n=e(t||k.ref||Ma(),Object.assign({},P,{plugins:[Za].concat(C.plugins||[])}));return k.instance=n,f&&n.disable(),a&&n.show(),v&&l.hook({instance:n,content:i,props:P}),b(!0),function(){n.destroy(),null==l||l.cleanup(n)}}),A),Ba((function(){var e;if(1!==k.renders){var t=k.instance;t.setProps(Fa(t.props,P)),null==(e=t.popperInstance)||e.forceUpdate(),f?t.disable():t.enable(),m&&(a?t.show():t.hide()),v&&l.hook({instance:t,content:i,props:P})}else k.renders++})),Ba((function(){var e;if(s){var t=k.instance;t.setProps({popperOptions:Object.assign({},t.props.popperOptions,{modifiers:[].concat(((null==(e=t.props.popperOptions)?void 0:e.modifiers)||[]).filter((function(e){return"$$tippyReact"!==e.name})),[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,n=e.state,r=null==(t=n.modifiersData)?void 0:t.hide;x.placement===n.placement&&x.referenceHidden===(null==r?void 0:r.isReferenceHidden)&&x.escaped===(null==r?void 0:r.hasPopperEscaped)||E({placement:n.placement,referenceHidden:null==r?void 0:r.isReferenceHidden,escaped:null==r?void 0:r.hasPopperEscaped}),n.attributes.popper={}}}])})})}}),[x.placement,x.referenceHidden,x.escaped].concat(A)),r.createElement(r.Fragment,null,n?(0,r.cloneElement)(n,{ref:function(e){k.ref=e,Da(n.ref,e)}}):null,y&&(0,o.createPortal)(s?s(function(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}(x),S,k.instance):i,k.container))}}var Wa=function(e,t){return(0,r.forwardRef)((function(n,o){var i=n.children,a=Ra(n,["children"]);return r.createElement(e,Object.assign({},t,a),i?(0,r.cloneElement)(i,{ref:function(e){Da(o,e),Da(i.ref,e)}}):null)}))},Ga=Wa(Ha(Ia)),Va=r.createContext(null);var $a=function(e){e()},Ka=function(){return $a},qa={notify:function(){}};var Ya=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=qa,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=function(){var e=Ka(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=qa)},e}(),Ja="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect;var Xa=function(e){var t=e.store,n=e.context,o=e.children,i=(0,r.useMemo)((function(){var e=new Ya(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),a=(0,r.useMemo)((function(){return t.getState()}),[t]);Ja((function(){var e=i.subscription;return e.trySubscribe(),a!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[i,a]);var l=n||Va;return r.createElement(l.Provider,{value:i},o)},Qa=n(8679),el=n.n(Qa),tl=n(72973),nl=[],rl=[null,null];function ol(e,t){var n=e[1];return[t.payload,n+1]}function il(e,t,n){Ja((function(){return e.apply(void 0,t)}),n)}function al(e,t,n,r,o,i,a){e.current=r,t.current=o,n.current=!1,i.current&&(i.current=null,a())}function ll(e,t,n,r,o,i,a,l,s,u){if(e){var c=!1,f=null,d=function(){if(!c){var e,n,d=t.getState();try{e=r(d,o.current)}catch(e){n=e,f=e}n||(f=null),e===i.current?a.current||s():(i.current=e,l.current=e,a.current=!0,u({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=d,n.trySubscribe(),d();return function(){if(c=!0,n.tryUnsubscribe(),n.onStateChange=null,f)throw f}}}var sl=function(){return[null,0]};function ul(e,t){void 0===t&&(t={});var n=t,o=n.getDisplayName,i=void 0===o?function(e){return"ConnectAdvanced("+e+")"}:o,a=n.methodName,l=void 0===a?"connectAdvanced":a,s=n.renderCountProp,u=void 0===s?void 0:s,c=n.shouldHandleStateChanges,f=void 0===c||c,d=n.storeKey,p=void 0===d?"store":d,h=(n.withRef,n.forwardRef),m=void 0!==h&&h,v=n.context,g=void 0===v?Va:v,y=(0,_o.Z)(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),b=g;return function(t){var n=t.displayName||t.name||"Component",o=i(n),a=(0,po.Z)({},y,{getDisplayName:i,methodName:l,renderCountProp:u,shouldHandleStateChanges:f,storeKey:p,displayName:o,wrappedComponentName:n,WrappedComponent:t}),s=y.pure;var c=s?r.useMemo:function(e){return e()};function d(n){var o=(0,r.useMemo)((function(){var e=n.reactReduxForwardedRef,t=(0,_o.Z)(n,["reactReduxForwardedRef"]);return[n.context,e,t]}),[n]),i=o[0],l=o[1],s=o[2],u=(0,r.useMemo)((function(){return i&&i.Consumer&&(0,tl.isContextConsumer)(r.createElement(i.Consumer,null))?i:b}),[i,b]),d=(0,r.useContext)(u),p=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(d)&&Boolean(d.store);var h=p?n.store:d.store,m=(0,r.useMemo)((function(){return function(t){return e(t.dispatch,a)}(h)}),[h]),v=(0,r.useMemo)((function(){if(!f)return rl;var e=new Ya(h,p?null:d.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[h,p,d]),g=v[0],y=v[1],w=(0,r.useMemo)((function(){return p?d:(0,po.Z)({},d,{subscription:g})}),[p,d,g]),x=(0,r.useReducer)(ol,nl,sl),E=x[0][0],_=x[1];if(E&&E.error)throw E.error;var S=(0,r.useRef)(),O=(0,r.useRef)(s),k=(0,r.useRef)(),C=(0,r.useRef)(!1),P=c((function(){return k.current&&s===O.current?k.current:m(h.getState(),s)}),[h,E,s]);il(al,[O,S,C,s,P,k,y]),il(ll,[f,h,g,m,O,S,C,k,y,_],[h,g,m]);var j=(0,r.useMemo)((function(){return r.createElement(t,(0,po.Z)({},P,{ref:l}))}),[l,t,P]);return(0,r.useMemo)((function(){return f?r.createElement(u.Provider,{value:w},j):j}),[u,j,w])}var h=s?r.memo(d):d;if(h.WrappedComponent=t,h.displayName=o,m){var v=r.forwardRef((function(e,t){return r.createElement(h,(0,po.Z)({},e,{reactReduxForwardedRef:t}))}));return v.displayName=o,v.WrappedComponent=t,el()(v,t)}return el()(h,t)}}function cl(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function fl(e,t){if(cl(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!Object.prototype.hasOwnProperty.call(t,n[o])||!cl(e[n[o]],t[n[o]]))return!1;return!0}function dl(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function pl(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function hl(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=pl(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=pl(o),o=r(t,n)),o},r}}var ml=[function(e){return"function"==typeof e?hl(e):void 0},function(e){return e?void 0:dl((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?dl((function(t){return d(e,t)})):void 0}];var vl=[function(e){return"function"==typeof e?hl(e):void 0},function(e){return e?void 0:dl((function(){return{}}))}];function gl(e,t,n){return(0,po.Z)({},n,e,t)}var yl=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,a=!1;return function(t,n,l){var s=e(t,n,l);return a?o&&i(s,r)||(r=s):(a=!0,r=s),r}}}(e):void 0},function(e){return e?void 0:function(){return gl}}];function bl(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function wl(e,t,n,r,o){var i,a,l,s,u,c=o.areStatesEqual,f=o.areOwnPropsEqual,d=o.areStatePropsEqual,p=!1;function h(o,p){var h,m,v=!f(p,a),g=!c(o,i);return i=o,a=p,v&&g?(l=e(i,a),t.dependsOnOwnProps&&(s=t(r,a)),u=n(l,s,a)):v?(e.dependsOnOwnProps&&(l=e(i,a)),t.dependsOnOwnProps&&(s=t(r,a)),u=n(l,s,a)):g?(h=e(i,a),m=!d(h,l),l=h,m&&(u=n(l,s,a)),u):u}return function(o,c){return p?h(o,c):(l=e(i=o,a=c),s=t(r,a),u=n(l,s,a),p=!0,u)}}function xl(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,i=(0,_o.Z)(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,i),l=r(e,i),s=o(e,i);return(i.pure?wl:bl)(a,l,s,e,i)}function El(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function _l(e,t){return e===t}function Sl(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?ul:n,o=t.mapStateToPropsFactories,i=void 0===o?vl:o,a=t.mapDispatchToPropsFactories,l=void 0===a?ml:a,s=t.mergePropsFactories,u=void 0===s?yl:s,c=t.selectorFactory,f=void 0===c?xl:c;return function(e,t,n,o){void 0===o&&(o={});var a=o,s=a.pure,c=void 0===s||s,d=a.areStatesEqual,p=void 0===d?_l:d,h=a.areOwnPropsEqual,m=void 0===h?fl:h,v=a.areStatePropsEqual,g=void 0===v?fl:v,y=a.areMergedPropsEqual,b=void 0===y?fl:y,w=(0,_o.Z)(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),x=El(e,i,"mapStateToProps"),E=El(t,l,"mapDispatchToProps"),_=El(n,u,"mergeProps");return r(f,(0,po.Z)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:x,initMapDispatchToProps:E,initMergeProps:_,pure:c,areStatesEqual:p,areOwnPropsEqual:m,areStatePropsEqual:g,areMergedPropsEqual:b},w))}}var Ol=Sl();function kl(){return(0,r.useContext)(Va)}var Cl=function(e,t){return e===t};function Pl(e){void 0===e&&(e=Va);var t=e===Va?kl:function(){return(0,r.useContext)(e)};return function(e,n){void 0===n&&(n=Cl);var o=t(),i=function(e,t,n,o){var i,a=(0,r.useReducer)((function(e){return e+1}),0)[1],l=(0,r.useMemo)((function(){return new Ya(n,o)}),[n,o]),s=(0,r.useRef)(),u=(0,r.useRef)(),c=(0,r.useRef)(),f=(0,r.useRef)(),d=n.getState();try{if(e!==u.current||d!==c.current||s.current){var p=e(d);i=void 0!==f.current&&t(p,f.current)?f.current:p}else i=f.current}catch(e){throw s.current&&(e.message+="\nThe error may be correlated with this previous error:\n"+s.current.stack+"\n\n"),e}return Ja((function(){u.current=e,c.current=d,f.current=i,s.current=void 0})),Ja((function(){function e(){try{var e=u.current(n.getState());if(t(e,f.current))return;f.current=e}catch(e){s.current=e}a()}return l.onStateChange=e,l.trySubscribe(),e(),function(){return l.tryUnsubscribe()}}),[n,l]),i}(e,n,o.store,o.subscription);return(0,r.useDebugValue)(i),i}}var jl,Al=Pl();jl=o.unstable_batchedUpdates,$a=jl;var Tl=Ol((function(e,t){return{preference:e.settings.show_tooltips,props:t}}))((function(e){var t=e.props,n=e.arrow,o=void 0===n||n,i=e.trigger,a=void 0===i?"manual":i,l=e.preference;if(!l&&!0!==t.ignorePreference)return t.children;var s=setTimeout((function(){})),u=!1,c=!1;return r.createElement(Ga,{content:t.shiftClick?(0,vo.Z)(t.content,t.shiftClick&&" (".concat(at("utils.shift_click"),")")):t.content,hideOnClick:t.hideOnClick,theme:"material",disabled:!l&&!0!==t.ignorePreference||t.disabled,trigger:a,arrow:o,onCreate:function(e){"manual"===a&&(e.reference.addEventListener("mousemove",(function(t){u&&c&&(Math.abs(t.clientX-u)>25||Math.abs(t.clientY-c)>25)&&e.state.isShown&&e.hide(),clearTimeout(s),s=setTimeout((function(){e.show(),u=t.clientX,c=t.clientY}),500)})),e.reference.addEventListener("mouseleave",(function(){clearTimeout(s),e.hide(),u=c=!1})))}},t.children)}));n(59864);zo.styles;var Il=r.forwardRef((function(e,t){var n=e.children,o=e.classes,i=e.className,a=e.color,l=void 0===a?"default":a,s=e.component,u=void 0===s?"div":s,c=e.disabled,f=void 0!==c&&c,d=e.disableElevation,p=void 0!==d&&d,h=e.disableFocusRipple,m=void 0!==h&&h,v=e.disableRipple,g=void 0!==v&&v,y=e.fullWidth,b=void 0!==y&&y,w=e.orientation,x=void 0===w?"horizontal":w,E=e.size,_=void 0===E?"medium":E,S=e.variant,O=void 0===S?"outlined":S,k=(0,fo.Z)(e,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","fullWidth","orientation","size","variant"]),C=(0,vo.Z)(o.grouped,o["grouped".concat((0,Fo.Z)(x))],o["grouped".concat((0,Fo.Z)(O))],o["grouped".concat((0,Fo.Z)(O)).concat((0,Fo.Z)(x))],o["grouped".concat((0,Fo.Z)(O)).concat("default"!==l?(0,Fo.Z)(l):"")],f&&o.disabled);return r.createElement(u,(0,po.Z)({role:"group",className:(0,vo.Z)(o.root,i,b&&o.fullWidth,p&&o.disableElevation,"contained"===O&&o.contained,"vertical"===x&&o.vertical),ref:t},k),r.Children.map(n,(function(e){return r.isValidElement(e)?r.cloneElement(e,{className:(0,vo.Z)(C,e.props.className),color:e.props.color||l,disabled:e.props.disabled||f,disableElevation:e.props.disableElevation||p,disableFocusRipple:m,disableRipple:g,fullWidth:b,size:e.props.size||_,variant:e.props.variant||O}):null})))})),Rl=(0,go.Z)((function(e){return{root:{display:"inline-flex",borderRadius:e.shape.borderRadius},contained:{boxShadow:e.shadows[2]},disableElevation:{boxShadow:"none"},disabled:{},fullWidth:{width:"100%"},vertical:{flexDirection:"column"},grouped:{minWidth:40},groupedHorizontal:{"&:not(:first-child)":{borderTopLeftRadius:0,borderBottomLeftRadius:0},"&:not(:last-child)":{borderTopRightRadius:0,borderBottomRightRadius:0}},groupedVertical:{"&:not(:first-child)":{borderTopRightRadius:0,borderTopLeftRadius:0},"&:not(:last-child)":{borderBottomRightRadius:0,borderBottomLeftRadius:0}},groupedText:{},groupedTextHorizontal:{"&:not(:last-child)":{borderRight:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")}},groupedTextVertical:{"&:not(:last-child)":{borderBottom:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")}},groupedTextPrimary:{"&:not(:last-child)":{borderColor:(0,yo.U1)(e.palette.primary.main,.5)}},groupedTextSecondary:{"&:not(:last-child)":{borderColor:(0,yo.U1)(e.palette.secondary.main,.5)}},groupedOutlined:{},groupedOutlinedHorizontal:{"&:not(:first-child)":{marginLeft:-1},"&:not(:last-child)":{borderRightColor:"transparent"}},groupedOutlinedVertical:{"&:not(:first-child)":{marginTop:-1},"&:not(:last-child)":{borderBottomColor:"transparent"}},groupedOutlinedPrimary:{"&:hover":{borderColor:e.palette.primary.main}},groupedOutlinedSecondary:{"&:hover":{borderColor:e.palette.secondary.main}},groupedContained:{boxShadow:"none"},groupedContainedHorizontal:{"&:not(:last-child)":{borderRight:"1px solid ".concat(e.palette.grey[400]),"&$disabled":{borderRight:"1px solid ".concat(e.palette.action.disabled)}}},groupedContainedVertical:{"&:not(:last-child)":{borderBottom:"1px solid ".concat(e.palette.grey[400]),"&$disabled":{borderBottom:"1px solid ".concat(e.palette.action.disabled)}}},groupedContainedPrimary:{"&:not(:last-child)":{borderColor:e.palette.primary.dark}},groupedContainedSecondary:{"&:not(:last-child)":{borderColor:e.palette.secondary.dark}}}}),{name:"MuiButtonGroup"})(Il);function Nl(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Dl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Dl(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Dl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ml(){var e=Nl((0,r.useState)("desktop"),2),t=e[0],n=e[1];function o(e){e!==t&&(n(e),app.setDevicePreview(e))}return r.createElement("div",{className:"device-preview"},r.createElement(Rl,{color:"primary"},r.createElement(Tl,{content:at("bar.preview.desktop")},r.createElement(zo,{onClick:function(){return o("desktop")},variant:"desktop"===t?"contained":null,color:"primary","data-testid":"desktop"},r.createElement("i",{className:"fas fa-desktop"}))),r.createElement(Tl,{content:at("bar.preview.tablet")},r.createElement(zo,{onClick:function(){return o("tablet")},variant:"tablet"===t?"contained":null,color:"primary","data-testid":"tablet"},r.createElement("i",{className:"fas fa-tablet-alt"}))),r.createElement(Tl,{content:at("bar.preview.mobile")},r.createElement(zo,{onClick:function(){return o("mobile")},variant:"mobile"===t?"contained":null,color:"primary","data-testid":"mobile"},r.createElement("i",{className:"fas fa-mobile-alt"})))))}function Ll(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Fl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fl(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Bl=Ol((function(e){return{hasChanges:e.misc.hasChanges}}))((function(e){var t=e.hasChanges,n=Ll((0,r.useState)(!1),2),o=n[0],i=n[1],a=Ll((0,r.useState)(!1),2),l=a[0],s=a[1];return r.createElement(zo,{onClick:function(){return i(!0),void ft("/publish",{method:"POST",data:{nonce:buttonizer_admin.nonce}}).then((function(e){var t=e.status,n=e.message;if(i(!1),"error"===t)return app.loader.hide(),void app.error({message:n});app.setHasChanges(!1),s(!0),setTimeout((function(){s(!1)}),3e3)})).catch((function(e){e.code,i(!1)}))},disabled:o||!1===t,variant:"contained",color:"primary","data-testid":"publish-button",className:"MuiButton-Publish"},at(o?"common.publishing":l?"common.published":"common.publish"))})),zl=n(159),Ul=n(93869),Zl=n(30626),Hl=n(34236);var Wl="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;var Gl=r.forwardRef((function(e,t){var n=e.children,i=e.container,a=e.disablePortal,l=void 0!==a&&a,s=e.onRendered,u=r.useState(null),c=u[0],f=u[1],d=(0,bo.Z)(r.isValidElement(n)?n.ref:null,t);return Wl((function(){l||f(function(e){return e="function"==typeof e?e():e,o.findDOMNode(e)}(i)||document.body)}),[i,l]),Wl((function(){if(c&&!l)return(0,Hl.Z)(t,c),function(){(0,Hl.Z)(t,null)}}),[t,c,l]),Wl((function(){s&&(c||l)&&s()}),[s,c,l]),l?r.isValidElement(n)?r.cloneElement(n,{ref:d}):n:c?o.createPortal(n,c):c})),Vl=n(82568),$l=n(92781);function Kl(){var e=document.createElement("div");e.style.width="99px",e.style.height="99px",e.style.position="absolute",e.style.top="-9999px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}var ql=n(80713);function Yl(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Jl(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function Xl(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4?arguments[4]:void 0,i=[t,n].concat((0,Eo.Z)(r)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===i.indexOf(e)&&-1===a.indexOf(e.tagName)&&Yl(e,o)}))}function Ql(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function es(e,t){var n,r=[],o=[],i=e.container;if(!t.disableScrollLock){if(function(e){var t=(0,Zl.Z)(e);return t.body===e?(0,ql.Z)(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(i)){var a=Kl();r.push({value:i.style.paddingRight,key:"padding-right",el:i}),i.style["padding-right"]="".concat(Jl(i)+a,"px"),n=(0,Zl.Z)(i).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(e){o.push(e.style.paddingRight),e.style.paddingRight="".concat(Jl(e)+a,"px")}))}var l=i.parentElement,s="HTML"===l.nodeName&&"scroll"===window.getComputedStyle(l)["overflow-y"]?l:i;r.push({value:s.style.overflow,key:"overflow",el:s}),s.style.overflow="hidden"}return function(){n&&[].forEach.call(n,(function(e,t){o[t]?e.style.paddingRight=o[t]:e.style.removeProperty("padding-right")})),r.forEach((function(e){var t=e.value,n=e.el,r=e.key;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var ts=function(){function e(){W(this,e),this.modals=[],this.containers=[]}return(0,G.Z)(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&Yl(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){e.getAttribute&&"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);Xl(t,e.mountNode,e.modalRef,r,!0);var o=Ql(this.containers,(function(e){return e.container===t}));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(e,t){var n=Ql(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=es(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=Ql(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&Yl(e.modalRef,!0),Xl(r.container,e.mountNode,e.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var o=r.modals[r.modals.length-1];o.modalRef&&Yl(o.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}();var ns=function(e){var t=e.children,n=e.disableAutoFocus,i=void 0!==n&&n,a=e.disableEnforceFocus,l=void 0!==a&&a,s=e.disableRestoreFocus,u=void 0!==s&&s,c=e.getDoc,f=e.isEnabled,d=e.open,p=r.useRef(),h=r.useRef(null),m=r.useRef(null),v=r.useRef(),g=r.useRef(null),y=r.useCallback((function(e){g.current=o.findDOMNode(e)}),[]),b=(0,bo.Z)(t.ref,y),w=r.useRef();return r.useEffect((function(){w.current=d}),[d]),!w.current&&d&&"undefined"!=typeof window&&(v.current=c().activeElement),r.useEffect((function(){if(d){var e=(0,Zl.Z)(g.current);i||!g.current||g.current.contains(e.activeElement)||(g.current.hasAttribute("tabIndex")||g.current.setAttribute("tabIndex",-1),g.current.focus());var t=function(){null!==g.current&&(e.hasFocus()&&!l&&f()&&!p.current?g.current&&!g.current.contains(e.activeElement)&&g.current.focus():p.current=!1)},n=function(t){!l&&f()&&9===t.keyCode&&e.activeElement===g.current&&(p.current=!0,t.shiftKey?m.current.focus():h.current.focus())};e.addEventListener("focus",t,!0),e.addEventListener("keydown",n,!0);var r=setInterval((function(){t()}),50);return function(){clearInterval(r),e.removeEventListener("focus",t,!0),e.removeEventListener("keydown",n,!0),u||(v.current&&v.current.focus&&v.current.focus(),v.current=null)}}}),[i,l,u,f,d]),r.createElement(r.Fragment,null,r.createElement("div",{tabIndex:0,ref:h,"data-test":"sentinelStart"}),r.cloneElement(t,{ref:b}),r.createElement("div",{tabIndex:0,ref:m,"data-test":"sentinelEnd"}))},rs={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},os=r.forwardRef((function(e,t){var n=e.invisible,o=void 0!==n&&n,i=e.open,a=(0,fo.Z)(e,["invisible","open"]);return i?r.createElement("div",(0,po.Z)({"aria-hidden":!0,ref:t},a,{style:(0,po.Z)({},rs.root,o?rs.invisible:{},a.style)})):null}));var is=new ts,as=r.forwardRef((function(e,t){var n=(0,zl.Z)(),i=(0,Ul.Z)({name:"MuiModal",props:(0,po.Z)({},e),theme:n}),a=i.BackdropComponent,l=void 0===a?os:a,s=i.BackdropProps,u=i.children,c=i.closeAfterTransition,f=void 0!==c&&c,d=i.container,p=i.disableAutoFocus,h=void 0!==p&&p,m=i.disableBackdropClick,v=void 0!==m&&m,g=i.disableEnforceFocus,y=void 0!==g&&g,b=i.disableEscapeKeyDown,w=void 0!==b&&b,x=i.disablePortal,E=void 0!==x&&x,_=i.disableRestoreFocus,S=void 0!==_&&_,O=i.disableScrollLock,k=void 0!==O&&O,C=i.hideBackdrop,P=void 0!==C&&C,j=i.keepMounted,A=void 0!==j&&j,T=i.manager,I=void 0===T?is:T,R=i.onBackdropClick,N=i.onClose,D=i.onEscapeKeyDown,M=i.onRendered,L=i.open,F=(0,fo.Z)(i,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),B=r.useState(!0),z=B[0],U=B[1],Z=r.useRef({}),H=r.useRef(null),W=r.useRef(null),G=(0,bo.Z)(W,t),V=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(i),$=function(){return(0,Zl.Z)(H.current)},K=function(){return Z.current.modalRef=W.current,Z.current.mountNode=H.current,Z.current},q=function(){I.mount(K(),{disableScrollLock:k}),W.current.scrollTop=0},Y=(0,wo.Z)((function(){var e=function(e){return e="function"==typeof e?e():e,o.findDOMNode(e)}(d)||$().body;I.add(K(),e),W.current&&q()})),J=r.useCallback((function(){return I.isTopModal(K())}),[I]),X=(0,wo.Z)((function(e){H.current=e,e&&(M&&M(),L&&J()?q():Yl(W.current,!0))})),Q=r.useCallback((function(){I.remove(K())}),[I]);if(r.useEffect((function(){return function(){Q()}}),[Q]),r.useEffect((function(){L?Y():V&&f||Q()}),[L,Q,V,f,Y]),!A&&!L&&(!V||z))return null;var ee=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(n||{zIndex:$l.Z}),te={};return void 0===u.props.tabIndex&&(te.tabIndex=u.props.tabIndex||"-1"),V&&(te.onEnter=(0,Vl.Z)((function(){U(!1)}),u.props.onEnter),te.onExited=(0,Vl.Z)((function(){U(!0),f&&Q()}),u.props.onExited)),r.createElement(Gl,{ref:X,container:d,disablePortal:E},r.createElement("div",(0,po.Z)({ref:G,onKeyDown:function(e){"Escape"===e.key&&J()&&(D&&D(e),w||(e.stopPropagation(),N&&N(e,"escapeKeyDown")))},role:"presentation"},F,{style:(0,po.Z)({},ee.root,!L&&z?ee.hidden:{},F.style)}),P?null:r.createElement(l,(0,po.Z)({open:L,onClick:function(e){e.target===e.currentTarget&&(R&&R(e),!v&&N&&N(e,"backdropClick"))}},s)),r.createElement(ns,{disableEnforceFocus:y,disableAutoFocus:h,disableRestoreFocus:S,getDoc:$,isEnabled:J,open:L},r.cloneElement(u,te))))})),ls=n(28481),ss=!1,us=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o="exited",r.appearStatus="entering"):o="entered":o=t.unmountOnExit||t.mountOnEnter?"unmounted":"exited",r.state={status:o},r.nextCallback=null,r}(0,So.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&"unmounted"===t.status?{status:"exited"}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?"entering"!==n&&"entered"!==n&&(t="entering"):"entering"!==n&&"entered"!==n||(t="exiting")}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),"entering"===t?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&"exited"===this.state.status&&this.setState({status:"unmounted"})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[o.findDOMNode(this),r],a=i[0],l=i[1],s=this.getTimeouts(),u=r?s.appear:s.enter;!e&&!n||ss?this.safeSetState({status:"entered"},(function(){t.props.onEntered(a)})):(this.props.onEnter(a,l),this.safeSetState({status:"entering"},(function(){t.props.onEntering(a,l),t.onTransitionEnd(u,(function(){t.safeSetState({status:"entered"},(function(){t.props.onEntered(a,l)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:o.findDOMNode(this);t&&!ss?(this.props.onExit(r),this.safeSetState({status:"exiting"},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:"exited"},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:"exited"},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:o.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=i[0],l=i[1];this.props.addEndListener(a,l)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if("unmounted"===e)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,_o.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return r.createElement(Oo.Provider,{value:null},"function"==typeof n?n(e,o):r.cloneElement(r.Children.only(n),o))},t}(r.Component);function cs(){}us.contextType=Oo,us.propTypes={},us.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:cs,onEntering:cs,onEntered:cs,onExit:cs,onExiting:cs,onExited:cs},us.UNMOUNTED="unmounted",us.EXITED="exited",us.ENTERING="entering",us.ENTERED="entered",us.EXITING="exiting";var fs=us,ds=n(43366),ps=n(99700);function hs(){return(0,zl.Z)()||ps.Z}var ms=function(e){return e.scrollTop};function vs(e,t){var n=e.timeout,r=e.style,o=void 0===r?{}:r;return{duration:o.transitionDuration||"number"==typeof n?n:n[t.mode]||0,delay:o.transitionDelay}}var gs={entering:{opacity:1},entered:{opacity:1}},ys={enter:ds.x9.enteringScreen,exit:ds.x9.leavingScreen},bs=r.forwardRef((function(e,t){var n=e.children,o=e.disableStrictModeCompat,i=void 0!==o&&o,a=e.in,l=e.onEnter,s=e.onEntered,u=e.onEntering,c=e.onExit,f=e.onExited,d=e.onExiting,p=e.style,h=e.TransitionComponent,m=void 0===h?fs:h,v=e.timeout,g=void 0===v?ys:v,y=(0,fo.Z)(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","TransitionComponent","timeout"]),b=hs(),w=b.unstable_strictMode&&!i,x=r.useRef(null),E=(0,bo.Z)(n.ref,t),_=(0,bo.Z)(w?x:void 0,E),S=function(e){return function(t,n){if(e){var r=w?[x.current,t]:[t,n],o=(0,ls.Z)(r,2),i=o[0],a=o[1];void 0===a?e(i):e(i,a)}}},O=S(u),k=S((function(e,t){ms(e);var n=vs({style:p,timeout:g},{mode:"enter"});e.style.webkitTransition=b.transitions.create("opacity",n),e.style.transition=b.transitions.create("opacity",n),l&&l(e,t)})),C=S(s),P=S(d),j=S((function(e){var t=vs({style:p,timeout:g},{mode:"exit"});e.style.webkitTransition=b.transitions.create("opacity",t),e.style.transition=b.transitions.create("opacity",t),c&&c(e)})),A=S(f);return r.createElement(m,(0,po.Z)({appear:!0,in:a,nodeRef:w?x:void 0,onEnter:k,onEntered:C,onEntering:O,onExit:j,onExited:A,onExiting:P,timeout:g},y),(function(e,t){return r.cloneElement(n,(0,po.Z)({style:(0,po.Z)({opacity:0,visibility:"exited"!==e||a?void 0:"hidden"},gs[e],p,n.props.style),ref:_},t))}))})),ws=r.forwardRef((function(e,t){var n=e.children,o=e.classes,i=e.className,a=e.invisible,l=void 0!==a&&a,s=e.open,u=e.transitionDuration,c=e.TransitionComponent,f=void 0===c?bs:c,d=(0,fo.Z)(e,["children","classes","className","invisible","open","transitionDuration","TransitionComponent"]);return r.createElement(f,(0,po.Z)({in:s,timeout:u},d),r.createElement("div",{className:(0,vo.Z)(o.root,i,l&&o.invisible),"aria-hidden":!0,ref:t},n))})),xs=(0,go.Z)({root:{zIndex:-1,position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},{name:"MuiBackdrop"})(ws),Es=r.forwardRef((function(e,t){var n=e.classes,o=e.className,i=e.component,a=void 0===i?"div":i,l=e.square,s=void 0!==l&&l,u=e.elevation,c=void 0===u?1:u,f=e.variant,d=void 0===f?"elevation":f,p=(0,fo.Z)(e,["classes","className","component","square","elevation","variant"]);return r.createElement(a,(0,po.Z)({className:(0,vo.Z)(n.root,o,"outlined"===d?n.outlined:n["elevation".concat(c)],!s&&n.rounded),ref:t},p))})),_s=(0,go.Z)((function(e){var t={};return e.shadows.forEach((function(e,n){t["elevation".concat(n)]={boxShadow:e}})),(0,po.Z)({root:{backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},rounded:{borderRadius:e.shape.borderRadius},outlined:{border:"1px solid ".concat(e.palette.divider)}},t)}),{name:"MuiPaper"})(Es),Ss={enter:ds.x9.enteringScreen,exit:ds.x9.leavingScreen},Os=r.forwardRef((function(e,t){var n=e.BackdropProps,o=e.children,i=e.classes,a=e.className,l=e.disableBackdropClick,s=void 0!==l&&l,u=e.disableEscapeKeyDown,c=void 0!==u&&u,f=e.fullScreen,d=void 0!==f&&f,p=e.fullWidth,h=void 0!==p&&p,m=e.maxWidth,v=void 0===m?"sm":m,g=e.onBackdropClick,y=e.onClose,b=e.onEnter,w=e.onEntered,x=e.onEntering,E=e.onEscapeKeyDown,_=e.onExit,S=e.onExited,O=e.onExiting,k=e.open,C=e.PaperComponent,P=void 0===C?_s:C,j=e.PaperProps,A=void 0===j?{}:j,T=e.scroll,I=void 0===T?"paper":T,R=e.TransitionComponent,N=void 0===R?bs:R,D=e.transitionDuration,M=void 0===D?Ss:D,L=e.TransitionProps,F=e["aria-describedby"],B=e["aria-labelledby"],z=(0,fo.Z)(e,["BackdropProps","children","classes","className","disableBackdropClick","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","onEnter","onEntered","onEntering","onEscapeKeyDown","onExit","onExited","onExiting","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps","aria-describedby","aria-labelledby"]),U=r.useRef();return r.createElement(as,(0,po.Z)({className:(0,vo.Z)(i.root,a),BackdropComponent:xs,BackdropProps:(0,po.Z)({transitionDuration:M},n),closeAfterTransition:!0,disableBackdropClick:s,disableEscapeKeyDown:c,onEscapeKeyDown:E,onClose:y,open:k,ref:t},z),r.createElement(N,(0,po.Z)({appear:!0,in:k,timeout:M,onEnter:b,onEntering:x,onEntered:w,onExit:_,onExiting:O,onExited:S,role:"none presentation"},L),r.createElement("div",{className:(0,vo.Z)(i.container,i["scroll".concat((0,Fo.Z)(I))]),onMouseUp:function(e){e.target===e.currentTarget&&e.target===U.current&&(U.current=null,g&&g(e),!s&&y&&y(e,"backdropClick"))},onMouseDown:function(e){U.current=e.target}},r.createElement(P,(0,po.Z)({elevation:24,role:"dialog","aria-describedby":F,"aria-labelledby":B},A,{className:(0,vo.Z)(i.paper,i["paperScroll".concat((0,Fo.Z)(I))],i["paperWidth".concat((0,Fo.Z)(String(v)))],A.className,d&&i.paperFullScreen,h&&i.paperFullWidth)}),o))))})),ks=(0,go.Z)((function(e){return{root:{"@media print":{position:"absolute !important"}},scrollPaper:{display:"flex",justifyContent:"center",alignItems:"center"},scrollBody:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}},container:{height:"100%","@media print":{height:"auto"},outline:0},paper:{margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},paperScrollPaper:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},paperScrollBody:{display:"inline-block",verticalAlign:"middle",textAlign:"left"},paperWidthFalse:{maxWidth:"calc(100% - 64px)"},paperWidthXs:{maxWidth:Math.max(e.breakpoints.values.xs,444),"&$paperScrollBody":(0,J.Z)({},e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})},paperWidthSm:{maxWidth:e.breakpoints.values.sm,"&$paperScrollBody":(0,J.Z)({},e.breakpoints.down(e.breakpoints.values.sm+64),{maxWidth:"calc(100% - 64px)"})},paperWidthMd:{maxWidth:e.breakpoints.values.md,"&$paperScrollBody":(0,J.Z)({},e.breakpoints.down(e.breakpoints.values.md+64),{maxWidth:"calc(100% - 64px)"})},paperWidthLg:{maxWidth:e.breakpoints.values.lg,"&$paperScrollBody":(0,J.Z)({},e.breakpoints.down(e.breakpoints.values.lg+64),{maxWidth:"calc(100% - 64px)"})},paperWidthXl:{maxWidth:e.breakpoints.values.xl,"&$paperScrollBody":(0,J.Z)({},e.breakpoints.down(e.breakpoints.values.xl+64),{maxWidth:"calc(100% - 64px)"})},paperFullWidth:{width:"calc(100% - 64px)"},paperFullScreen:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,"&$paperScrollBody":{margin:0,maxWidth:"100%"}}}}),{name:"MuiDialog"})(Os),Cs={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},Ps=r.forwardRef((function(e,t){var n=e.align,o=void 0===n?"inherit":n,i=e.classes,a=e.className,l=e.color,s=void 0===l?"initial":l,u=e.component,c=e.display,f=void 0===c?"initial":c,d=e.gutterBottom,p=void 0!==d&&d,h=e.noWrap,m=void 0!==h&&h,v=e.paragraph,g=void 0!==v&&v,y=e.variant,b=void 0===y?"body1":y,w=e.variantMapping,x=void 0===w?Cs:w,E=(0,fo.Z)(e,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),_=u||(g?"p":x[b]||Cs[b])||"span";return r.createElement(_,(0,po.Z)({className:(0,vo.Z)(i.root,a,"inherit"!==b&&i[b],"initial"!==s&&i["color".concat((0,Fo.Z)(s))],m&&i.noWrap,p&&i.gutterBottom,g&&i.paragraph,"inherit"!==o&&i["align".concat((0,Fo.Z)(o))],"initial"!==f&&i["display".concat((0,Fo.Z)(f))]),ref:t},E))})),js=(0,go.Z)((function(e){return{root:{margin:0},body2:e.typography.body2,body1:e.typography.body1,caption:e.typography.caption,button:e.typography.button,h1:e.typography.h1,h2:e.typography.h2,h3:e.typography.h3,h4:e.typography.h4,h5:e.typography.h5,h6:e.typography.h6,subtitle1:e.typography.subtitle1,subtitle2:e.typography.subtitle2,overline:e.typography.overline,srOnly:{position:"absolute",height:1,width:1,overflow:"hidden"},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorTextPrimary:{color:e.palette.text.primary},colorTextSecondary:{color:e.palette.text.secondary},colorError:{color:e.palette.error.main},displayInline:{display:"inline"},displayBlock:{display:"block"}}}),{name:"MuiTypography"})(Ps),As=r.forwardRef((function(e,t){var n=e.children,o=e.classes,i=e.className,a=e.disableTypography,l=void 0!==a&&a,s=(0,fo.Z)(e,["children","classes","className","disableTypography"]);return r.createElement("div",(0,po.Z)({className:(0,vo.Z)(o.root,i),ref:t},s),l?n:r.createElement(js,{component:"h2",variant:"h6"},n))})),Ts=(0,go.Z)({root:{margin:0,padding:"16px 24px",flex:"0 0 auto"}},{name:"MuiDialogTitle"})(As),Is=r.forwardRef((function(e,t){var n=e.classes,o=e.className,i=e.dividers,a=void 0!==i&&i,l=(0,fo.Z)(e,["classes","className","dividers"]);return r.createElement("div",(0,po.Z)({className:(0,vo.Z)(n.root,o,a&&n.dividers),ref:t},l))})),Rs=(0,go.Z)((function(e){return{root:{flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"8px 24px","&:first-child":{paddingTop:20}},dividers:{padding:"16px 24px",borderTop:"1px solid ".concat(e.palette.divider),borderBottom:"1px solid ".concat(e.palette.divider)}}}),{name:"MuiDialogContent"})(Is),Ns=r.forwardRef((function(e,t){return r.createElement(js,(0,po.Z)({component:"p",variant:"body1",color:"textSecondary",ref:t},e))})),Ds=(0,go.Z)({root:{marginBottom:12}},{name:"MuiDialogContentText"})(Ns),Ms=r.forwardRef((function(e,t){var n=e.disableSpacing,o=void 0!==n&&n,i=e.classes,a=e.className,l=(0,fo.Z)(e,["disableSpacing","classes","className"]);return r.createElement("div",(0,po.Z)({className:(0,vo.Z)(i.root,a,!o&&i.spacing),ref:t},l))})),Ls=(0,go.Z)({root:{display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},spacing:{"& > :not(:first-child)":{marginLeft:8}}},{name:"MuiDialogActions"})(Ms);function Fs(){return(Fs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Bs(e){var t=e.onClose,n=e.icon,o=void 0===n?null:n,i=e.open,a=void 0!==i&&i,l=e.title,s=void 0===l?"Confirm":l,u=e.children,c=void 0===u?null:u,f=e.buttons,d=void 0===f?null:f,p=e.maxWidth,h=void 0===p?"xs":p,m=e.fullWidth,v=void 0===m||m,g=e.className,y=e.testId,b=void 0===y?null:y,w=[{value:"cancel",text:at("modal.cancel")},{value:"confirm",text:at("common.confirm")}],x=function(e){t(e)};return d||(d=w),r.createElement(ks,{open:a,onClose:x,maxWidth:h,fullWidth:v,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",className:g,"data-testid":b?"dialog:".concat(b):null},r.createElement(Ts,{id:"alert-dialog-title"},o,s),r.createElement(Rs,null,r.createElement(Ds,{id:"alert-dialog-description",component:"div"},c)),r.createElement(Ls,null,d.map((function(e,t){return r.createElement(zo,Fs({onClick:function(){return x(e.value)},color:"primary",key:t,variant:e.variant,"data-testid":b?"dialog:".concat(b,":button:").concat(e.value):null},e.props),e.text)}))))}var zs=r.forwardRef((function(e,t){var n=e.edge,o=void 0!==n&&n,i=e.children,a=e.classes,l=e.className,s=e.color,u=void 0===s?"default":s,c=e.disabled,f=void 0!==c&&c,d=e.disableFocusRipple,p=void 0!==d&&d,h=e.size,m=void 0===h?"medium":h,v=(0,fo.Z)(e,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return r.createElement(Lo,(0,po.Z)({className:(0,vo.Z)(a.root,l,"default"!==u&&a["color".concat((0,Fo.Z)(u))],f&&a.disabled,"small"===m&&a["size".concat((0,Fo.Z)(m))],{start:a.edgeStart,end:a.edgeEnd}[o]),centerRipple:!0,focusRipple:!p,disabled:f,ref:t},v),r.createElement("span",{className:a.label},i))})),Us=(0,go.Z)((function(e){return{root:{textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:12,borderRadius:"50%",overflow:"visible",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{backgroundColor:(0,yo.U1)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{backgroundColor:"transparent",color:e.palette.action.disabled}},edgeStart:{marginLeft:-12,"$sizeSmall&":{marginLeft:-3}},edgeEnd:{marginRight:-12,"$sizeSmall&":{marginRight:-3}},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:(0,yo.U1)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:(0,yo.U1)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},disabled:{},sizeSmall:{padding:3,fontSize:e.typography.pxToRem(18)},label:{width:"100%",display:"flex",alignItems:"inherit",justifyContent:"inherit"}}}),{name:"MuiIconButton"})(zs);function Zs(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Hs(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Hs(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Hs(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ws=Ol((function(e){return{hasChanges:e.misc.hasChanges}}))((function(e){var t=e.hasChanges,n=Zs((0,r.useState)(!1),2),o=n[0],i=n[1],a=Zs((0,r.useState)(!1),2),l=a[0],s=a[1];return r.createElement(r.Fragment,null,r.createElement(Tl,{content:at("revert.revert_changes")},r.createElement(Us,{onClick:function(){return i(!0)},className:"revert-button",color:"secondary",disabled:!t||l,"data-testid":"revert-button"},r.createElement("i",{className:(0,vo.Z)("fas fa-history",l&&"spin")}))),r.createElement(Bs,{open:o,title:at("revert.revert_changes"),buttons:[{text:at("modal.cancel"),value:"close"},{text:at("revert.revert_changes"),value:"revert"}],onClose:function(e){i(!1),"revert"===e&&(s(!0),ft("/revert",{method:"POST",data:{nonce:buttonizer_admin.nonce}}).then((function(e){var t=e.status,n=e.message;if("error"===t)return app.loader.hide(),void app.error({message:n});window.location.reload()})))},testId:"revert-dialog"},r.createElement("p",null,at("revert.modal.intro")),r.createElement("p",null,at("revert.modal.action"))))})),Gs=(n(57327),n(89554),n(66992),n(19601),n(41539),n(91058),n(78783),n(4129),n(33948),n(93096)),Vs=n.n(Gs),$s=n(91296),Ks=n.n($s),qs=n(20773),Ys=n.n(qs),Js=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}()}(),Xs="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,Qs=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),eu="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(Qs):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var tu=["top","right","bottom","left","width","height","size","weight"],nu="undefined"!=typeof MutationObserver,ru=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,o=0;function i(){n&&(n=!1,e()),r&&l()}function a(){eu(i)}function l(){var e=Date.now();if(n){if(e-o<2)return;r=!0}else n=!0,r=!1,setTimeout(a,t);o=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){Xs&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),nu?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){Xs&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;tu.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),ou=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},iu=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||Qs},au=du(0,0,0,0);function lu(e){return parseFloat(e)||0}function su(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+lu(e["border-"+n+"-width"])}),0)}function uu(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return au;var r=iu(e).getComputedStyle(e),o=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=lu(i)}return t}(r),i=o.left+o.right,a=o.top+o.bottom,l=lu(r.width),s=lu(r.height);if("border-box"===r.boxSizing&&(Math.round(l+i)!==t&&(l-=su(r,"left","right")+i),Math.round(s+a)!==n&&(s-=su(r,"top","bottom")+a)),!function(e){return e===iu(e).document.documentElement}(e)){var u=Math.round(l+i)-t,c=Math.round(s+a)-n;1!==Math.abs(u)&&(l-=u),1!==Math.abs(c)&&(s-=c)}return du(o.left,o.top,l,s)}var cu="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof iu(e).SVGGraphicsElement}:function(e){return e instanceof iu(e).SVGElement&&"function"==typeof e.getBBox};function fu(e){return Xs?cu(e)?function(e){var t=e.getBBox();return du(0,0,t.width,t.height)}(e):uu(e):au}function du(e,t,n,r){return{x:e,y:t,width:n,height:r}}var pu=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=du(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=fu(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),hu=function(e,t){var n=function(e){var t=e.x,n=e.y,r=e.width,o=e.height,i="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(i.prototype);return ou(a,{x:t,y:n,width:r,height:o,top:n,right:t+r,bottom:o+n,left:t}),a}(t);ou(this,{target:e,contentRect:n})},mu=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new Js,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof iu(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new pu(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof iu(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new hu(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),vu="undefined"!=typeof WeakMap?new WeakMap:new Js,gu=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=ru.getInstance(),r=new mu(t,n,this);vu.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){gu.prototype[e]=function(){var t;return(t=vu.get(this))[e].apply(t,arguments)}}));var yu=void 0!==Qs.ResizeObserver?Qs.ResizeObserver:gu,bu=n(31807),wu=n.n(bu),xu=(n(85827),n(68309),n(74916),n(4723),n(15306),null),Eu=null;function _u(){if(null===xu){if("undefined"==typeof document)return xu=0;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),xu=n}return xu}function Su(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}function Ou(e){return e&&e.ownerDocument?e.ownerDocument:document}wu()&&window.addEventListener("resize",(function(){Eu!==window.devicePixelRatio&&(Eu=window.devicePixelRatio,xu=null)}));var ku=function(){function e(t,n){var r=this;this.onScroll=function(){var e=Su(r.el);r.scrollXTicking||(e.requestAnimationFrame(r.scrollX),r.scrollXTicking=!0),r.scrollYTicking||(e.requestAnimationFrame(r.scrollY),r.scrollYTicking=!0)},this.scrollX=function(){r.axis.x.isOverflowing&&(r.showScrollbar("x"),r.positionScrollbar("x")),r.scrollXTicking=!1},this.scrollY=function(){r.axis.y.isOverflowing&&(r.showScrollbar("y"),r.positionScrollbar("y")),r.scrollYTicking=!1},this.onMouseEnter=function(){r.showScrollbar("x"),r.showScrollbar("y")},this.onMouseMove=function(e){r.mouseX=e.clientX,r.mouseY=e.clientY,(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseMoveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseMoveForAxis("y")},this.onMouseLeave=function(){r.onMouseMove.cancel(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseLeaveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseLeaveForAxis("y"),r.mouseX=-1,r.mouseY=-1},this.onWindowResize=function(){r.scrollbarWidth=r.getScrollbarWidth(),r.hideNativeScrollbar()},this.hideScrollbars=function(){r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.track.rect)||(r.axis.y.scrollbar.el.classList.remove(r.classNames.visible),r.axis.y.isVisible=!1),r.isWithinBounds(r.axis.x.track.rect)||(r.axis.x.scrollbar.el.classList.remove(r.classNames.visible),r.axis.x.isVisible=!1)},this.onPointerEvent=function(e){var t,n;r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&(t=r.isWithinBounds(r.axis.x.track.rect)),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&(n=r.isWithinBounds(r.axis.y.track.rect)),(t||n)&&(e.preventDefault(),e.stopPropagation(),"mousedown"===e.type&&(t&&(r.axis.x.scrollbar.rect=r.axis.x.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.x.scrollbar.rect)?r.onDragStart(e,"x"):r.onTrackClick(e,"x")),n&&(r.axis.y.scrollbar.rect=r.axis.y.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.scrollbar.rect)?r.onDragStart(e,"y"):r.onTrackClick(e,"y"))))},this.drag=function(t){var n=r.axis[r.draggedAxis].track,o=n.rect[r.axis[r.draggedAxis].sizeAttr],i=r.axis[r.draggedAxis].scrollbar,a=r.contentWrapperEl[r.axis[r.draggedAxis].scrollSizeAttr],l=parseInt(r.elStyles[r.axis[r.draggedAxis].sizeAttr],10);t.preventDefault(),t.stopPropagation();var s=(("y"===r.draggedAxis?t.pageY:t.pageX)-n.rect[r.axis[r.draggedAxis].offsetAttr]-r.axis[r.draggedAxis].dragOffset)/(o-i.size)*(a-l);"x"===r.draggedAxis&&(s=r.isRtl&&e.getRtlHelpers().isRtlScrollbarInverted?s-(o+i.size):s,s=r.isRtl&&e.getRtlHelpers().isRtlScrollingInverted?-s:s),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=s},this.onEndDrag=function(e){var t=Ou(r.el),n=Su(r.el);e.preventDefault(),e.stopPropagation(),r.el.classList.remove(r.classNames.dragging),t.removeEventListener("mousemove",r.drag,!0),t.removeEventListener("mouseup",r.onEndDrag,!0),r.removePreventClickId=n.setTimeout((function(){t.removeEventListener("click",r.preventClick,!0),t.removeEventListener("dblclick",r.preventClick,!0),r.removePreventClickId=null}))},this.preventClick=function(e){e.preventDefault(),e.stopPropagation()},this.el=t,this.minScrollbarWidth=20,this.options=Object.assign({},e.defaultOptions,{},n),this.classNames=Object.assign({},e.defaultOptions.classNames,{},this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,e.instances.has(this.el)||(this.recalculate=Vs()(this.recalculate.bind(this),64),this.onMouseMove=Vs()(this.onMouseMove.bind(this),64),this.hideScrollbars=Ks()(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=Ks()(this.onWindowResize.bind(this),64,{leading:!0}),e.getRtlHelpers=Ys()(e.getRtlHelpers),this.init())}e.getRtlHelpers=function(){var t=document.createElement("div");t.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>';var n=t.firstElementChild;document.body.appendChild(n);var r=n.firstElementChild;n.scrollLeft=0;var o=e.getOffset(n),i=e.getOffset(r);n.scrollLeft=999;var a=e.getOffset(r);return{isRtlScrollingInverted:o.left!==i.left&&i.left-a.left!=0,isRtlScrollbarInverted:o.left!==i.left}},e.getOffset=function(e){var t=e.getBoundingClientRect(),n=Ou(e),r=Su(e);return{top:t.top+(r.pageYOffset||n.documentElement.scrollTop),left:t.left+(r.pageXOffset||n.documentElement.scrollLeft)}};var t=e.prototype;return t.init=function(){e.instances.set(this.el,this),wu()&&(this.initDOM(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},t.initDOM=function(){var e=this;if(Array.prototype.filter.call(this.el.children,(function(t){return t.classList.contains(e.classNames.wrapper)})).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}if(!this.axis.x.track.el||!this.axis.y.track.el){var t=document.createElement("div"),n=document.createElement("div");t.classList.add(this.classNames.track),n.classList.add(this.classNames.scrollbar),t.appendChild(n),this.axis.x.track.el=t.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=t.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},t.initListeners=function(){var e=this,t=Su(this.el);this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(t){e.el.addEventListener(t,e.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(t){e.el.addEventListener(t,e.onPointerEvent,{capture:!0,passive:!0})})),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),t.addEventListener("resize",this.onWindowResize);var n=!1,r=t.ResizeObserver||yu;this.resizeObserver=new r((function(){n&&e.recalculate()})),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),t.requestAnimationFrame((function(){n=!0})),this.mutationObserver=new t.MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},t.recalculate=function(){var e=Su(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var t=this.heightAutoObserverEl.offsetHeight<=1,n=this.heightAutoObserverEl.offsetWidth<=1,r=this.contentEl.offsetWidth,o=this.contentWrapperEl.offsetWidth,i=this.elStyles.overflowX,a=this.elStyles.overflowY;this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft;var l=this.contentEl.scrollHeight,s=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=t?"auto":"100%",this.placeholderEl.style.width=n?r+"px":"auto",this.placeholderEl.style.height=l+"px";var u=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=s>r,this.axis.y.isOverflowing=l>u,this.axis.x.isOverflowing="hidden"!==i&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==a&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var c=this.axis.x.isOverflowing?this.scrollbarWidth:0,f=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&s>o-f,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&l>u-c,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},t.getScrollbarSize=function(e){if(void 0===e&&(e="y"),!this.axis[e].isOverflowing)return 0;var t,n=this.contentEl[this.axis[e].scrollSizeAttr],r=this.axis[e].track.el[this.axis[e].offsetSizeAttr],o=r/n;return t=Math.max(~~(o*r),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(t=Math.min(t,this.options.scrollbarMaxSize)),t},t.positionScrollbar=function(t){if(void 0===t&&(t="y"),this.axis[t].isOverflowing){var n=this.contentWrapperEl[this.axis[t].scrollSizeAttr],r=this.axis[t].track.el[this.axis[t].offsetSizeAttr],o=parseInt(this.elStyles[this.axis[t].sizeAttr],10),i=this.axis[t].scrollbar,a=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],l=(a="x"===t&&this.isRtl&&e.getRtlHelpers().isRtlScrollingInverted?-a:a)/(n-o),s=~~((r-i.size)*l);s="x"===t&&this.isRtl&&e.getRtlHelpers().isRtlScrollbarInverted?s+(r-i.size):s,i.el.style.transform="x"===t?"translate3d("+s+"px, 0, 0)":"translate3d(0, "+s+"px, 0)"}},t.toggleTrackVisibility=function(e){void 0===e&&(e="y");var t=this.axis[e].track.el,n=this.axis[e].scrollbar.el;this.axis[e].isOverflowing||this.axis[e].forceVisible?(t.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll"):(t.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden"),this.axis[e].isOverflowing?n.style.display="block":n.style.display="none"},t.hideNativeScrollbar=function(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},t.onMouseMoveForAxis=function(e){void 0===e&&(e="y"),this.axis[e].track.rect=this.axis[e].track.el.getBoundingClientRect(),this.axis[e].scrollbar.rect=this.axis[e].scrollbar.el.getBoundingClientRect(),this.isWithinBounds(this.axis[e].scrollbar.rect)?this.axis[e].scrollbar.el.classList.add(this.classNames.hover):this.axis[e].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[e].track.rect)?(this.showScrollbar(e),this.axis[e].track.el.classList.add(this.classNames.hover)):this.axis[e].track.el.classList.remove(this.classNames.hover)},t.onMouseLeaveForAxis=function(e){void 0===e&&(e="y"),this.axis[e].track.el.classList.remove(this.classNames.hover),this.axis[e].scrollbar.el.classList.remove(this.classNames.hover)},t.showScrollbar=function(e){void 0===e&&(e="y");var t=this.axis[e].scrollbar.el;this.axis[e].isVisible||(t.classList.add(this.classNames.visible),this.axis[e].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},t.onDragStart=function(e,t){void 0===t&&(t="y");var n=Ou(this.el),r=Su(this.el),o=this.axis[t].scrollbar,i="y"===t?e.pageY:e.pageX;this.axis[t].dragOffset=i-o.rect[this.axis[t].offsetAttr],this.draggedAxis=t,this.el.classList.add(this.classNames.dragging),n.addEventListener("mousemove",this.drag,!0),n.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(n.addEventListener("click",this.preventClick,!0),n.addEventListener("dblclick",this.preventClick,!0)):(r.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},t.onTrackClick=function(e,t){var n=this;if(void 0===t&&(t="y"),this.options.clickOnTrack){var r=Su(this.el);this.axis[t].scrollbar.rect=this.axis[t].scrollbar.el.getBoundingClientRect();var o=this.axis[t].scrollbar.rect[this.axis[t].offsetAttr],i=parseInt(this.elStyles[this.axis[t].sizeAttr],10),a=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],l=("y"===t?this.mouseY-o:this.mouseX-o)<0?-1:1,s=-1===l?a-i:a+i;!function e(){var o,i;-1===l?a>s&&(a-=n.options.clickOnTrackSpeed,n.contentWrapperEl.scrollTo(((o={})[n.axis[t].offsetAttr]=a,o)),r.requestAnimationFrame(e)):a<s&&(a+=n.options.clickOnTrackSpeed,n.contentWrapperEl.scrollTo(((i={})[n.axis[t].offsetAttr]=a,i)),r.requestAnimationFrame(e))}()}},t.getContentElement=function(){return this.contentEl},t.getScrollElement=function(){return this.contentWrapperEl},t.getScrollbarWidth=function(){try{return"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:_u()}catch(e){return _u()}},t.removeListeners=function(){var e=this,t=Su(this.el);this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach((function(t){e.el.removeEventListener(t,e.onPointerEvent,!0)})),["touchstart","touchend","touchmove"].forEach((function(t){e.el.removeEventListener(t,e.onPointerEvent,{capture:!0,passive:!0})})),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},t.unMount=function(){this.removeListeners(),e.instances.delete(this.el)},t.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},t.findChild=function(e,t){var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,(function(e){return n.call(e,t)}))[0]},e}();ku.defaultOptions={autoHide:!0,forceVisible:!1,clickOnTrack:!0,clickOnTrackSpeed:40,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},ku.instances=new WeakMap;var Cu=ku;function Pu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ju(){return(ju=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Au(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Tu(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Iu=r.forwardRef((function(e,t){var n,o=e.children,i=e.scrollableNodeProps,a=void 0===i?{}:i,l=Tu(e,["children","scrollableNodeProps"]),s=(0,r.useRef)(),u=(0,r.useRef)(),c=(0,r.useRef)(),f={},d={},p=[];return Object.keys(l).forEach((function(e){Object.prototype.hasOwnProperty.call(Cu.defaultOptions,e)?f[e]=l[e]:e.match(/data-simplebar-(.+)/)&&"data-simplebar-direction"!==e?p.push({name:e,value:l[e]}):d[e]=l[e]})),p.length&&console.warn("simplebar-react: this way of passing options is deprecated. Pass it like normal props instead:\n 'data-simplebar-auto-hide=\"false\"' —> 'autoHide=\"false\"'\n "),(0,r.useEffect)((function(){var e;return s=a.ref||s,u.current&&(n=new Cu(u.current,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Au(n,!0).forEach((function(t){Pu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Au(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},(e=p,Array.prototype.reduce.call(e,(function(e,t){var n=t.name.match(/data-simplebar-(.+)/);if(n){var r=n[1].replace(/\W+(.)/g,(function(e,t){return t.toUpperCase()}));switch(t.value){case"true":e[r]=!0;break;case"false":e[r]=!1;break;case void 0:e[r]=!0;break;default:e[r]=t.value}}return e}),{})),{},f,{},s&&{scrollableNode:s.current},{},c.current&&{contentNode:c.current})),t&&(t.current=n)),function(){n.unMount(),n=null}}),[]),r.createElement("div",ju({ref:u,"data-simplebar":!0},d),r.createElement("div",{className:"simplebar-wrapper"},r.createElement("div",{className:"simplebar-height-auto-observer-wrapper"},r.createElement("div",{className:"simplebar-height-auto-observer"})),r.createElement("div",{className:"simplebar-mask"},r.createElement("div",{className:"simplebar-offset"},"function"==typeof o?o({scrollableNodeRef:s,contentNodeRef:c}):r.createElement("div",ju({},a,{className:"simplebar-content-wrapper".concat(a.className?" ".concat(a.className):"")}),r.createElement("div",{className:"simplebar-content"},o)))),r.createElement("div",{className:"simplebar-placeholder"})),r.createElement("div",{className:"simplebar-track simplebar-horizontal"},r.createElement("div",{className:"simplebar-scrollbar"})),r.createElement("div",{className:"simplebar-track simplebar-vertical"},r.createElement("div",{className:"simplebar-scrollbar"})))}));Iu.displayName="SimpleBar",Iu.propTypes={children:mo().oneOfType([mo().node,mo().func]),scrollableNodeProps:mo().object};var Ru=Iu;function Nu(e){return"/"===e.charAt(0)}function Du(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}var Mu=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],o=t&&t.split("/")||[],i=e&&Nu(e),a=t&&Nu(t),l=i||a;if(e&&Nu(e)?o=r:r.length&&(o.pop(),o=o.concat(r)),!o.length)return"/";if(o.length){var s=o[o.length-1];n="."===s||".."===s||""===s}else n=!1;for(var u=0,c=o.length;c>=0;c--){var f=o[c];"."===f?Du(o,c):".."===f?(Du(o,c),u++):u&&(Du(o,c),u--)}if(!l)for(;u--;u)o.unshift("..");!l||""===o[0]||o[0]&&Nu(o[0])||o.unshift("");var d=o.join("/");return n&&"/"!==d.substr(-1)&&(d+="/"),d};var Lu=function(e,t){if(!e)throw new Error("Invariant failed")};function Fu(e){return"/"===e.charAt(0)?e:"/"+e}function Bu(e){return"/"===e.charAt(0)?e.substr(1):e}function zu(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function Uu(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function Zu(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function Hu(e,t,n,r){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).state=t:(void 0===(o=(0,po.Z)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(o.key=n),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=Mu(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o}function Wu(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var Gu=!("undefined"==typeof window||!window.document||!window.document.createElement);function Vu(e,t){t(window.confirm(e))}function $u(){try{return window.history.state||{}}catch(e){return{}}}function Ku(e){void 0===e&&(e={}),Gu||Lu(!1);var t=window.history,n=function(){var e=window.navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)}(),r=!(-1===window.navigator.userAgent.indexOf("Trident")),o=e,i=o.forceRefresh,a=void 0!==i&&i,l=o.getUserConfirmation,s=void 0===l?Vu:l,u=o.keyLength,c=void 0===u?6:u,f=e.basename?Uu(Fu(e.basename)):"";function d(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return f&&(i=zu(i,f)),Hu(i,r,n)}function p(){return Math.random().toString(36).substr(2,c)}var h=Wu();function m(e){(0,po.Z)(C,e),C.length=t.length,h.notifyListeners(C.location,C.action)}function v(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||b(d(e.state))}function g(){b(d($u()))}var y=!1;function b(e){if(y)y=!1,m();else{h.confirmTransitionTo(e,"POP",s,(function(t){t?m({action:"POP",location:e}):function(e){var t=C.location,n=x.indexOf(t.key);-1===n&&(n=0);var r=x.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(y=!0,_(o))}(e)}))}}var w=d($u()),x=[w.key];function E(e){return f+Zu(e)}function _(e){t.go(e)}var S=0;function O(e){1===(S+=e)&&1===e?(window.addEventListener("popstate",v),r&&window.addEventListener("hashchange",g)):0===S&&(window.removeEventListener("popstate",v),r&&window.removeEventListener("hashchange",g))}var k=!1;var C={length:t.length,action:"POP",location:w,createHref:E,push:function(e,r){var o=Hu(e,r,p(),C.location);h.confirmTransitionTo(o,"PUSH",s,(function(e){if(e){var r=E(o),i=o.key,l=o.state;if(n)if(t.pushState({key:i,state:l},null,r),a)window.location.href=r;else{var s=x.indexOf(C.location.key),u=x.slice(0,s+1);u.push(o.key),x=u,m({action:"PUSH",location:o})}else window.location.href=r}}))},replace:function(e,r){var o=Hu(e,r,p(),C.location);h.confirmTransitionTo(o,"REPLACE",s,(function(e){if(e){var r=E(o),i=o.key,l=o.state;if(n)if(t.replaceState({key:i,state:l},null,r),a)window.location.replace(r);else{var s=x.indexOf(C.location.key);-1!==s&&(x[s]=o.key),m({action:"REPLACE",location:o})}else window.location.replace(r)}}))},go:_,goBack:function(){_(-1)},goForward:function(){_(1)},block:function(e){void 0===e&&(e=!1);var t=h.setPrompt(e);return k||(O(1),k=!0),function(){return k&&(k=!1,O(-1)),t()}},listen:function(e){var t=h.appendListener(e);return O(1),function(){O(-1),t()}}};return C}var qu={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+Bu(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:Bu,decodePath:Fu},slash:{encodePath:Fu,decodePath:Fu}};function Yu(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function Ju(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function Xu(e){window.location.replace(Yu(window.location.href)+"#"+e)}function Qu(e){void 0===e&&(e={}),Gu||Lu(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),r=n.getUserConfirmation,o=void 0===r?Vu:r,i=n.hashType,a=void 0===i?"slash":i,l=e.basename?Uu(Fu(e.basename)):"",s=qu[a],u=s.encodePath,c=s.decodePath;function f(){var e=c(Ju());return l&&(e=zu(e,l)),Hu(e)}var d=Wu();function p(e){(0,po.Z)(O,e),O.length=t.length,d.notifyListeners(O.location,O.action)}var h=!1,m=null;function v(){var e=Ju(),t=u(e);if(e!==t)Xu(t);else{var n=f(),r=O.location;if(!h&&function(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash}(r,n))return;if(m===Zu(n))return;m=null,function(e){if(h)h=!1,p();else{d.confirmTransitionTo(e,"POP",o,(function(t){t?p({action:"POP",location:e}):function(e){var t=O.location,n=w.lastIndexOf(Zu(t));-1===n&&(n=0);var r=w.lastIndexOf(Zu(e));-1===r&&(r=0);var o=n-r;o&&(h=!0,x(o))}(e)}))}}(n)}}var g=Ju(),y=u(g);g!==y&&Xu(y);var b=f(),w=[Zu(b)];function x(e){t.go(e)}var E=0;function _(e){1===(E+=e)&&1===e?window.addEventListener("hashchange",v):0===E&&window.removeEventListener("hashchange",v)}var S=!1;var O={length:t.length,action:"POP",location:b,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=Yu(window.location.href)),n+"#"+u(l+Zu(e))},push:function(e,t){var n=Hu(e,void 0,void 0,O.location);d.confirmTransitionTo(n,"PUSH",o,(function(e){if(e){var t=Zu(n),r=u(l+t);if(Ju()!==r){m=t,function(e){window.location.hash=e}(r);var o=w.lastIndexOf(Zu(O.location)),i=w.slice(0,o+1);i.push(t),w=i,p({action:"PUSH",location:n})}else p()}}))},replace:function(e,t){var n=Hu(e,void 0,void 0,O.location);d.confirmTransitionTo(n,"REPLACE",o,(function(e){if(e){var t=Zu(n),r=u(l+t);Ju()!==r&&(m=t,Xu(r));var o=w.indexOf(Zu(O.location));-1!==o&&(w[o]=t),p({action:"REPLACE",location:n})}}))},go:x,goBack:function(){x(-1)},goForward:function(){x(1)},block:function(e){void 0===e&&(e=!1);var t=d.setPrompt(e);return S||(_(1),S=!0),function(){return S&&(S=!1,_(-1)),t()}},listen:function(e){var t=d.appendListener(e);return _(1),function(){_(-1),t()}}};return O}function ec(e,t,n){return Math.min(Math.max(e,t),n)}function tc(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,r=t.initialEntries,o=void 0===r?["/"]:r,i=t.initialIndex,a=void 0===i?0:i,l=t.keyLength,s=void 0===l?6:l,u=Wu();function c(e){(0,po.Z)(v,e),v.length=v.entries.length,u.notifyListeners(v.location,v.action)}function f(){return Math.random().toString(36).substr(2,s)}var d=ec(a,0,o.length-1),p=o.map((function(e){return Hu(e,void 0,"string"==typeof e?f():e.key||f())})),h=Zu;function m(e){var t=ec(v.index+e,0,v.entries.length-1),r=v.entries[t];u.confirmTransitionTo(r,"POP",n,(function(e){e?c({action:"POP",location:r,index:t}):c()}))}var v={length:p.length,action:"POP",location:p[d],index:d,entries:p,createHref:h,push:function(e,t){var r=Hu(e,t,f(),v.location);u.confirmTransitionTo(r,"PUSH",n,(function(e){if(e){var t=v.index+1,n=v.entries.slice(0);n.length>t?n.splice(t,n.length-t,r):n.push(r),c({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=Hu(e,t,f(),v.location);u.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(v.entries[v.index]=r,c({action:"REPLACE",location:r}))}))},go:m,goBack:function(){m(-1)},goForward:function(){m(1)},canGo:function(e){var t=v.index+e;return t>=0&&t<v.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return v}var nc="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};function rc(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var oc=r.createContext||function(e,t){var n,o,i="__create-react-context-"+function(){var e="__global_unique_id__";return nc[e]=(nc[e]||0)+1}()+"__",a=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=rc(t.props.value),t}(0,So.Z)(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[i]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;!function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}(r,o)?(n="function"==typeof t?t(r,o):1073741823,0!==(n|=0)&&this.emitter.set(e.value,n)):n=0}},r.render=function(){return this.props.children},n}(r.Component);a.childContextTypes=((n={})[i]=mo().object.isRequired,n);var l=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,So.Z)(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?1073741823:t},r.componentDidMount=function(){this.context[i]&&this.context[i].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?1073741823:e},r.componentWillUnmount=function(){this.context[i]&&this.context[i].off(this.onUpdate)},r.getValue=function(){return this.context[i]?this.context[i].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(r.Component);return l.contextTypes=((o={})[i]=mo().object,o),{Provider:a,Consumer:l}},ic=n(39658),ac=n.n(ic),lc=(n(50663),function(e){var t=oc();return t.displayName=e,t}("Router-History")),sc=function(e){var t=oc();return t.displayName=e,t}("Router"),uc=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}(0,So.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&this.unlisten()},n.render=function(){return r.createElement(sc.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},r.createElement(lc.Provider,{children:this.props.children||null,value:this.props.history}))},t}(r.Component);r.Component;r.Component;var cc={},fc=0;function dc(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,i=void 0!==o&&o,a=n.strict,l=void 0!==a&&a,s=n.sensitive,u=void 0!==s&&s;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=cc[n]||(cc[n]={});if(r[e])return r[e];var o=[],i={regexp:ac()(e,o,t),keys:o};return fc<1e4&&(r[e]=i,fc++),i}(n,{end:i,strict:l,sensitive:u}),o=r.regexp,a=r.keys,s=o.exec(e);if(!s)return null;var c=s[0],f=s.slice(1),d=e===c;return i&&!d?null:{path:n,url:"/"===n&&""===c?"/":c,isExact:d,params:a.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var pc=function(e){function t(){return e.apply(this,arguments)||this}return(0,So.Z)(t,e),t.prototype.render=function(){var e=this;return r.createElement(sc.Consumer,null,(function(t){t||Lu(!1);var n=e.props.location||t.location,o=e.props.computedMatch?e.props.computedMatch:e.props.path?dc(n.pathname,e.props):t.match,i=(0,po.Z)({},t,{location:n,match:o}),a=e.props,l=a.children,s=a.component,u=a.render;return Array.isArray(l)&&0===l.length&&(l=null),r.createElement(sc.Provider,{value:i},i.match?l?"function"==typeof l?l(i):l:s?r.createElement(s,i):u?u(i):null:"function"==typeof l?l(i):null)}))},t}(r.Component);function hc(e){return"/"===e.charAt(0)?e:"/"+e}function mc(e,t){if(!e)return t;var n=hc(e);return 0!==t.pathname.indexOf(n)?t:(0,po.Z)({},t,{pathname:t.pathname.substr(n.length)})}function vc(e){return"string"==typeof e?e:Zu(e)}function gc(e){return function(){Lu(!1)}}function yc(){}r.Component;var bc=function(e){function t(){return e.apply(this,arguments)||this}return(0,So.Z)(t,e),t.prototype.render=function(){var e=this;return r.createElement(sc.Consumer,null,(function(t){t||Lu(!1);var n,o,i=e.props.location||t.location;return r.Children.forEach(e.props.children,(function(e){if(null==o&&r.isValidElement(e)){n=e;var a=e.props.path||e.props.from;o=a?dc(i.pathname,(0,po.Z)({},e.props,{path:a})):t.match}})),o?r.cloneElement(n,{location:i,computedMatch:o}):null}))},t}(r.Component);function wc(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,o=(0,_o.Z)(t,["wrappedComponentRef"]);return r.createElement(sc.Consumer,null,(function(t){return t||Lu(!1),r.createElement(e,(0,po.Z)({},o,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,el()(n,e)}var xc=r.useContext;function Ec(){return xc(lc)}function _c(){return xc(sc).location}function Sc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Oc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Oc(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var kc=Ol((function(e){return{settings:e.settings}}))((function(e){var t=e.settings,n=[at("random_tips.tip_1"),at("random_tips.tip_2"),at("random_tips.tip_3"),at("random_tips.tip_4"),at("random_tips.tip_5"),at("random_tips.tip_6"),at("random_tips.tip_7"),at("random_tips.tip_8"),at("random_tips.tip_9"),at("random_tips.tip_10"),at("random_tips.tip_11"),at("random_tips.tip_12"),at("random_tips.tip_13"),at("random_tips.tip_14"),at("random_tips.tip_15"),at("random_tips.tip_16"),at("random_tips.tip_17"),at("random_tips.tip_18"),at("random_tips.tip_19"),at("random_tips.tip_20"),at("random_tips.tip_21"),at("random_tips.tip_22"),at("random_tips.tip_23")],o=Sc((0,r.useState)(0),2),i=o[0],a=o[1],l=Sc((0,r.useState)(function(e){for(var t,n,r=e.length;0!==r;)n=Math.floor(Math.random()*r),t=e[r-=1],e[r]=e[n],e[n]=t;return e}(n)),1)[0];return!0!==t.tips_enabled?r.createElement(r.Fragment,null):r.createElement("div",{className:"random-tip","data-testid":"random-tip"},r.createElement("span",{className:"buzz"},r.createElement("img",{onDoubleClick:function(){window.open("https://www.youtube.com/watch?v=dQw4w9WgXcQ")},src:buttonizer_admin.assets+"/images/ButtonizerBuzzer.svg","data-testid":"random-tip:buzzer"})),r.createElement("span",{className:"tip",style:{userSelect:"none"},onClick:function(){var e=i+1;e>=l.length&&(e=0),a(e)},"data-testid":"random-tip:new-tip"},l[i]))})),Cc=r.forwardRef((function(e,t){var n=e.classes,o=e.className,i=e.color,a=void 0===i?"inherit":i,l=e.component,s=void 0===l?"span":l,u=e.fontSize,c=void 0===u?"default":u,f=(0,fo.Z)(e,["classes","className","color","component","fontSize"]);return r.createElement(s,(0,po.Z)({className:(0,vo.Z)("material-icons",n.root,o,"inherit"!==a&&n["color".concat((0,Fo.Z)(a))],"default"!==c&&n["fontSize".concat((0,Fo.Z)(c))]),"aria-hidden":!0,ref:t},f))}));Cc.muiName="Icon";var Pc=(0,go.Z)((function(e){return{root:{userSelect:"none",fontSize:e.typography.pxToRem(24),width:"1em",height:"1em",overflow:"hidden",flexShrink:0},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(36)}}}),{name:"MuiIcon"})(Cc);function jc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ac(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jc(Object(n),!0).forEach((function(t){Tc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Tc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ic(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:co.dispatch,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=r(xt(Ac({name:at("utils.new_button"),show_mobile:!0,show_desktop:!0},e),"buttons")).payload.record;r(mt(i.id,t,n)),o&&(document.location.hash="/group/".concat(t,"/button/").concat(i.id))}function Rc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.store.getState(),n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window.store.dispatch;t.groups[e]||console.error("ID "+e+" not in store!");var r=_t(e,t);n(Et(e,"groups")),Object.keys(r).map((function(e){return n(Et(e,"buttons"))}))}function Nc(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:co.dispatch,o={name:at("utils.new_group"),show_mobile:!0,show_desktop:!0,children:[]},i=r(xt(e||o,"groups",n)).payload.record.id;t.map((function(e,t){if(0===Object.keys(e).length)return!1;Ic(e,i,t,r)}))}function Dc(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:co.dispatch,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:co.getState();if(o.groups[e]){Rc(e,o,r);var i=Object.values(o.groups).reduce((function(t,n,r){return n.id===e?r:t}),""),a=r(xt(t,"groups",i)).payload.record.id;n.map((function(e,t){if(0===Object.keys(e).length)return!1;Ic(e,a,t,r)}))}else console.error(o.groups,o.groups[e]);Zr()}function Mc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mc(Object(n),!0).forEach((function(t){Fc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Fc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bc(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:window.store.getState(),o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:window.store.dispatch;if(!r.buttons[e])throw ReferenceError("ID "+e+" not in button store!");var i=Lc(Lc({},r.buttons[e]),{},{name:r.buttons[e].name+" Copy",id:void 0},n);switch(r.buttons[e].type){case"popup_maker":i.action="popupMaker"+Z()+"Pv2";break;case"elementor_popup":i.action="elementor"+Z()+"Ev2"}delete i.id,Ic(i,t,Object.values(r.buttons).reduce((function(t,n,r){return n.id===e?r+1:t}),""),o)}var zc=n(83711);var Uc=r.createContext({}),Zc="undefined"==typeof window?r.useEffect:r.useLayoutEffect,Hc=r.forwardRef((function(e,t){var n=e.alignItems,i=void 0===n?"center":n,a=e.autoFocus,l=void 0!==a&&a,s=e.button,u=void 0!==s&&s,c=e.children,f=e.classes,d=e.className,p=e.component,h=e.ContainerComponent,m=void 0===h?"li":h,v=e.ContainerProps,g=(v=void 0===v?{}:v).className,y=(0,fo.Z)(v,["className"]),b=e.dense,w=void 0!==b&&b,x=e.disabled,E=void 0!==x&&x,_=e.disableGutters,S=void 0!==_&&_,O=e.divider,k=void 0!==O&&O,C=e.focusVisibleClassName,P=e.selected,j=void 0!==P&&P,A=(0,fo.Z)(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),T=r.useContext(Uc),I={dense:w||T.dense||!1,alignItems:i},R=r.useRef(null);Zc((function(){l&&R.current&&R.current.focus()}),[l]);var N=r.Children.toArray(c),D=N.length&&(0,zc.Z)(N[N.length-1],["ListItemSecondaryAction"]),M=r.useCallback((function(e){R.current=o.findDOMNode(e)}),[]),L=(0,bo.Z)(M,t),F=(0,po.Z)({className:(0,vo.Z)(f.root,d,I.dense&&f.dense,!S&&f.gutters,k&&f.divider,E&&f.disabled,u&&f.button,"center"!==i&&f.alignItemsFlexStart,D&&f.secondaryAction,j&&f.selected),disabled:E},A),B=p||"li";return u&&(F.component=p||"div",F.focusVisibleClassName=(0,vo.Z)(f.focusVisible,C),B=Lo),D?(B=F.component||p?B:"div","li"===m&&("li"===B?B="div":"li"===F.component&&(F.component="div")),r.createElement(Uc.Provider,{value:I},r.createElement(m,(0,po.Z)({className:(0,vo.Z)(f.container,g),ref:L},y),r.createElement(B,F,N),N.pop()))):r.createElement(Uc.Provider,{value:I},r.createElement(B,(0,po.Z)({ref:L},F),N))})),Wc=(0,go.Z)((function(e){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:e.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:e.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(e.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:48},selected:{}}}),{name:"MuiListItem"})(Hc),Gc=r.forwardRef((function(e,t){var n,o=e.classes,i=e.className,a=e.component,l=void 0===a?"li":a,s=e.disableGutters,u=void 0!==s&&s,c=e.ListItemClasses,f=e.role,d=void 0===f?"menuitem":f,p=e.selected,h=e.tabIndex,m=(0,fo.Z)(e,["classes","className","component","disableGutters","ListItemClasses","role","selected","tabIndex"]);return e.disabled||(n=void 0!==h?h:-1),r.createElement(Wc,(0,po.Z)({button:!0,role:d,tabIndex:n,component:l,selected:p,disableGutters:u,classes:(0,po.Z)({dense:o.dense},c),className:(0,vo.Z)(o.root,i,p&&o.selected,!u&&o.gutters),ref:t},m))})),Vc=(0,go.Z)((function(e){return{root:(0,po.Z)({},e.typography.body1,(0,J.Z)({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},e.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:(0,po.Z)({},e.typography.body2,{minHeight:"auto"})}}),{name:"MuiMenuItem"})(Gc),$c=r.forwardRef((function(e,t){var n=e.classes,o=e.className,i=(0,fo.Z)(e,["classes","className"]),a=r.useContext(Uc);return r.createElement("div",(0,po.Z)({className:(0,vo.Z)(n.root,o,"flex-start"===a.alignItems&&n.alignItemsFlexStart),ref:t},i))})),Kc=(0,go.Z)((function(e){return{root:{minWidth:56,color:e.palette.action.active,flexShrink:0,display:"inline-flex"},alignItemsFlexStart:{marginTop:8}}}),{name:"MuiListItemIcon"})($c);function qc(){return(qc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Yc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Jc(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Jc(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Jc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Xc(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Qc=r.forwardRef((function(e,t){var n=e.model,o=void 0===n?"group":n,i=e.deleteDisabled,a=void 0!==i&&i,l=e.size,s=void 0===l?"small":l,u=e.onClose,c=e.buttonCount,f=void 0===c?1:c,d=e.inDropdown,p=void 0!==d&&d,h=Xc(e,["model","deleteDisabled","size","onClose","buttonCount","inDropdown"]),m=Yc((0,r.useState)(!1),2),v=m[0],g=m[1],y=function(e){g(!1),"confirm"!==e||a||u()};return r.createElement(r.Fragment,null,r.createElement(Tl,{content:at("modal.remove.".concat(o,".cannot_delete")),disabled:!a,trigger:"click"},p?r.createElement("div",{ref:t},r.createElement(Tl,{content:"",disabled:a,style:{float:"right"},shiftClick:!0},r.createElement(Vc,{onClick:function(e){if(!a){if(e.shiftKey)return y("confirm");g(!0)}},disabled:a,"data-testid":"page_rule"===o?h["data-testid"]:"delete-button-".concat(o)},r.createElement(Kc,null,r.createElement(Pc,{className:"fas fa-trash-alt"})),r.createElement(js,{variant:"inherit"},at("utils.delete"))))):r.createElement("span",{tabIndex:0},r.createElement(Tl,{content:at("utils.delete"),disabled:a,style:{float:"right"},shiftClick:!0},r.createElement(Us,qc({onClick:function(e){if(!a){if(e.shiftKey)return y("confirm");g(!0)}},color:"primary",disabled:a,size:s,style:{width:"35px",height:"35px"}},h),r.createElement(Pc,{fontSize:"inherit",style:{overflow:"unset"},className:"fas fa-times"}))))),r.createElement(Bs,{open:v,title:at("modal.remove.".concat(o,a?".cannot_delete_window_title":".window_title")),buttons:a?[{value:"close",text:at("modal.close")}]:null,onClose:y,testId:"delete-button:dialog"},a?r.createElement(js,null,at("modal.remove.".concat(o,".cannot_delete"))):r.createElement(r.Fragment,null,r.createElement(js,null,at("modal.remove.".concat(o,".question"))),"group"===o&&r.createElement(js,null,at("modal.remove.group.question_multiple_buttons",{count:f})),r.createElement(js,{style:{marginTop:15}},at("modal.remove.permanent")))))})),ef=n(60288);function tf(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],r&&void 0===t[n]&&(e[n]=r[n]),e}),{})}var nf=r.createContext();function rf(){return r.useContext(nf)}var of=nf,af=n(79437);function lf(e,t){return parseInt(e[t],10)||0}var sf="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,uf={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},cf=r.forwardRef((function(e,t){var n=e.onChange,o=e.rows,i=e.rowsMax,a=e.rowsMin,l=void 0===a?1:a,s=e.style,u=e.value,c=(0,fo.Z)(e,["onChange","rows","rowsMax","rowsMin","style","value"]),f=o||l,d=r.useRef(null!=u).current,p=r.useRef(null),h=(0,bo.Z)(t,p),m=r.useRef(null),v=r.useRef(0),g=r.useState({}),y=g[0],b=g[1],w=r.useCallback((function(){var t=p.current,n=window.getComputedStyle(t),r=m.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var o=n["box-sizing"],a=lf(n,"padding-bottom")+lf(n,"padding-top"),l=lf(n,"border-bottom-width")+lf(n,"border-top-width"),s=r.scrollHeight-a;r.value="x";var u=r.scrollHeight-a,c=s;f&&(c=Math.max(Number(f)*u,c)),i&&(c=Math.min(Number(i)*u,c));var d=(c=Math.max(c,u))+("border-box"===o?a+l:0),h=Math.abs(c-s)<=1;b((function(e){return v.current<20&&(d>0&&Math.abs((e.outerHeightStyle||0)-d)>1||e.overflow!==h)?(v.current+=1,{overflow:h,outerHeightStyle:d}):e}))}),[i,f,e.placeholder]);r.useEffect((function(){var e=(0,af.Z)((function(){v.current=0,w()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[w]),sf((function(){w()})),r.useEffect((function(){v.current=0}),[u]);return r.createElement(r.Fragment,null,r.createElement("textarea",(0,po.Z)({value:u,onChange:function(e){v.current=0,d||w(),n&&n(e)},ref:h,rows:f,style:(0,po.Z)({height:y.outerHeightStyle,overflow:y.overflow?"hidden":null},s)},c)),r.createElement("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:m,tabIndex:-1,style:(0,po.Z)({},uf,s)}))}));function ff(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function df(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(ff(e.value)&&""!==e.value||t&&ff(e.defaultValue)&&""!==e.defaultValue)}var pf="undefined"==typeof window?r.useEffect:r.useLayoutEffect,hf=r.forwardRef((function(e,t){var n=e["aria-describedby"],o=e.autoComplete,i=e.autoFocus,a=e.classes,l=e.className,s=(e.color,e.defaultValue),u=e.disabled,c=e.endAdornment,f=(e.error,e.fullWidth),d=void 0!==f&&f,p=e.id,h=e.inputComponent,m=void 0===h?"input":h,v=e.inputProps,g=void 0===v?{}:v,y=e.inputRef,b=(e.margin,e.multiline),w=void 0!==b&&b,x=e.name,E=e.onBlur,_=e.onChange,S=e.onClick,O=e.onFocus,k=e.onKeyDown,C=e.onKeyUp,P=e.placeholder,j=e.readOnly,A=e.renderSuffix,T=e.rows,I=e.rowsMax,R=e.rowsMin,N=e.startAdornment,D=e.type,M=void 0===D?"text":D,L=e.value,F=(0,fo.Z)(e,["aria-describedby","autoComplete","autoFocus","classes","className","color","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","rowsMax","rowsMin","startAdornment","type","value"]),B=null!=g.value?g.value:L,z=r.useRef(null!=B).current,U=r.useRef(),Z=r.useCallback((function(e){0}),[]),H=(0,bo.Z)(g.ref,Z),W=(0,bo.Z)(y,H),G=(0,bo.Z)(U,W),V=r.useState(!1),$=V[0],K=V[1],q=rf();var Y=tf({props:e,muiFormControl:q,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});Y.focused=q?q.focused:$,r.useEffect((function(){!q&&u&&$&&(K(!1),E&&E())}),[q,u,$,E]);var J=q&&q.onFilled,X=q&&q.onEmpty,Q=r.useCallback((function(e){df(e)?J&&J():X&&X()}),[J,X]);pf((function(){z&&Q({value:B})}),[B,Q,z]);r.useEffect((function(){Q(U.current)}),[]);var ee=m,te=(0,po.Z)({},g,{ref:G});"string"!=typeof ee?te=(0,po.Z)({inputRef:G,type:M},te,{ref:null}):w?!T||I||R?(te=(0,po.Z)({rows:T,rowsMax:I},te),ee=cf):ee="textarea":te=(0,po.Z)({type:M},te);return r.useEffect((function(){q&&q.setAdornedStart(Boolean(N))}),[q,N]),r.createElement("div",(0,po.Z)({className:(0,vo.Z)(a.root,a["color".concat((0,Fo.Z)(Y.color||"primary"))],l,Y.disabled&&a.disabled,Y.error&&a.error,d&&a.fullWidth,Y.focused&&a.focused,q&&a.formControl,w&&a.multiline,N&&a.adornedStart,c&&a.adornedEnd,"dense"===Y.margin&&a.marginDense),onClick:function(e){U.current&&e.currentTarget===e.target&&U.current.focus(),S&&S(e)},ref:t},F),N,r.createElement(of.Provider,{value:null},r.createElement(ee,(0,po.Z)({"aria-invalid":Y.error,"aria-describedby":n,autoComplete:o,autoFocus:i,defaultValue:s,disabled:Y.disabled,id:p,onAnimationStart:function(e){Q("mui-auto-fill-cancel"===e.animationName?U.current:{value:"x"})},name:x,placeholder:P,readOnly:j,required:Y.required,rows:T,value:B,onKeyDown:k,onKeyUp:C},te,{className:(0,vo.Z)(a.input,g.className,Y.disabled&&a.disabled,w&&a.inputMultiline,Y.hiddenLabel&&a.inputHiddenLabel,N&&a.inputAdornedStart,c&&a.inputAdornedEnd,"search"===M&&a.inputTypeSearch,"dense"===Y.margin&&a.inputMarginDense),onBlur:function(e){E&&E(e),g.onBlur&&g.onBlur(e),q&&q.onBlur?q.onBlur(e):K(!1)},onChange:function(e){if(!z){var t=e.target||U.current;if(null==t)throw new Error((0,ef.Z)(1));Q({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];g.onChange&&g.onChange.apply(g,[e].concat(r)),_&&_.apply(void 0,[e].concat(r))},onFocus:function(e){Y.disabled?e.stopPropagation():(O&&O(e),g.onFocus&&g.onFocus(e),q&&q.onFocus?q.onFocus(e):K(!0))}}))),c,A?A((0,po.Z)({},Y,{startAdornment:N})):null)})),mf=(0,go.Z)((function(e){var t="light"===e.palette.type,n={color:"currentColor",opacity:t?.42:.5,transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},o={opacity:t?.42:.5};return{"@global":{"@keyframes mui-auto-fill":{},"@keyframes mui-auto-fill-cancel":{}},root:(0,po.Z)({},e.typography.body1,{color:e.palette.text.primary,lineHeight:"1.1876em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center","&$disabled":{color:e.palette.text.disabled,cursor:"default"}}),formControl:{},focused:{},disabled:{},adornedStart:{},adornedEnd:{},error:{},marginDense:{},multiline:{padding:"".concat(6,"px 0 ").concat(7,"px"),"&$marginDense":{paddingTop:3}},colorSecondary:{},fullWidth:{width:"100%"},input:{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"".concat(6,"px 0 ").concat(7,"px"),border:0,boxSizing:"content-box",background:"none",height:"1.1876em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{"-webkit-appearance":"none"},"label[data-shrink=false] + $formControl &":{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o},"&$disabled":{opacity:1},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},inputMarginDense:{paddingTop:3},inputMultiline:{height:"auto",resize:"none",padding:0},inputTypeSearch:{"-moz-appearance":"textfield","-webkit-appearance":"textfield"},inputAdornedStart:{},inputAdornedEnd:{},inputHiddenLabel:{}}}),{name:"MuiInputBase"})(hf),vf=r.forwardRef((function(e,t){var n=e.disableUnderline,o=e.classes,i=e.fullWidth,a=void 0!==i&&i,l=e.inputComponent,s=void 0===l?"input":l,u=e.multiline,c=void 0!==u&&u,f=e.type,d=void 0===f?"text":f,p=(0,fo.Z)(e,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return r.createElement(mf,(0,po.Z)({classes:(0,po.Z)({},o,{root:(0,vo.Z)(o.root,!n&&o.underline),underline:null}),fullWidth:a,inputComponent:s,multiline:c,ref:t,type:d},p))}));vf.muiName="Input";var gf=(0,go.Z)((function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return{root:{position:"relative"},formControl:{"label + &":{marginTop:16}},focused:{},disabled:{},colorSecondary:{"&$underline:after":{borderBottomColor:e.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(e.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(t),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:not($disabled):before":{borderBottom:"2px solid ".concat(e.palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(t)}},"&$disabled:before":{borderBottomStyle:"dotted"}},error:{},marginDense:{},multiline:{},fullWidth:{},input:{},inputMarginDense:{},inputMultiline:{},inputTypeSearch:{}}}),{name:"MuiInput"})(vf),yf=r.forwardRef((function(e,t){var n=e.disableUnderline,o=e.classes,i=e.fullWidth,a=void 0!==i&&i,l=e.inputComponent,s=void 0===l?"input":l,u=e.multiline,c=void 0!==u&&u,f=e.type,d=void 0===f?"text":f,p=(0,fo.Z)(e,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return r.createElement(mf,(0,po.Z)({classes:(0,po.Z)({},o,{root:(0,vo.Z)(o.root,!n&&o.underline),underline:null}),fullWidth:a,inputComponent:s,multiline:c,ref:t,type:d},p))}));yf.muiName="Input";var bf=(0,go.Z)((function(e){var t="light"===e.palette.type,n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)";return{root:{position:"relative",backgroundColor:r,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:t?"rgba(0, 0, 0, 0.13)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:r}},"&$focused":{backgroundColor:t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)"},"&$disabled":{backgroundColor:t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}},colorSecondary:{"&$underline:after":{borderBottomColor:e.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(e.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(n),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:before":{borderBottom:"1px solid ".concat(e.palette.text.primary)},"&$disabled:before":{borderBottomStyle:"dotted"}},focused:{},disabled:{},adornedStart:{paddingLeft:12},adornedEnd:{paddingRight:12},error:{},marginDense:{},multiline:{padding:"27px 12px 10px","&$marginDense":{paddingTop:23,paddingBottom:6}},input:{padding:"27px 12px 10px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.type?null:"#fff",caretColor:"light"===e.palette.type?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},inputMarginDense:{paddingTop:23,paddingBottom:6},inputHiddenLabel:{paddingTop:18,paddingBottom:19,"&$inputMarginDense":{paddingTop:10,paddingBottom:11}},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiFilledInput"})(yf),wf=r.forwardRef((function(e,t){e.children;var n=e.classes,o=e.className,i=e.label,a=e.labelWidth,l=e.notched,s=e.style,u=(0,fo.Z)(e,["children","classes","className","label","labelWidth","notched","style"]),c="rtl"===hs().direction?"right":"left";if(void 0!==i)return r.createElement("fieldset",(0,po.Z)({"aria-hidden":!0,className:(0,vo.Z)(n.root,o),ref:t,style:s},u),r.createElement("legend",{className:(0,vo.Z)(n.legendLabelled,l&&n.legendNotched)},i?r.createElement("span",null,i):r.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}})));var f=a>0?.75*a+8:.01;return r.createElement("fieldset",(0,po.Z)({"aria-hidden":!0,style:(0,po.Z)((0,J.Z)({},"padding".concat((0,Fo.Z)(c)),8),s),className:(0,vo.Z)(n.root,o),ref:t},u),r.createElement("legend",{className:n.legend,style:{width:l?f:.01}},r.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}})))})),xf=(0,go.Z)((function(e){return{root:{position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden"},legend:{textAlign:"left",padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})},legendLabelled:{display:"block",width:"auto",textAlign:"left",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),"& > span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},legendNotched:{maxWidth:1e3,transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}}),{name:"PrivateNotchedOutline"})(wf),Ef=r.forwardRef((function(e,t){var n=e.classes,o=e.fullWidth,i=void 0!==o&&o,a=e.inputComponent,l=void 0===a?"input":a,s=e.label,u=e.labelWidth,c=void 0===u?0:u,f=e.multiline,d=void 0!==f&&f,p=e.notched,h=e.type,m=void 0===h?"text":h,v=(0,fo.Z)(e,["classes","fullWidth","inputComponent","label","labelWidth","multiline","notched","type"]);return r.createElement(mf,(0,po.Z)({renderSuffix:function(e){return r.createElement(xf,{className:n.notchedOutline,label:s,labelWidth:c,notched:void 0!==p?p:Boolean(e.startAdornment||e.filled||e.focused)})},classes:(0,po.Z)({},n,{root:(0,vo.Z)(n.root,n.underline),notchedOutline:null}),fullWidth:i,inputComponent:l,multiline:d,ref:t,type:m},v))}));Ef.muiName="Input";var _f=(0,go.Z)((function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{root:{position:"relative",borderRadius:e.shape.borderRadius,"&:hover $notchedOutline":{borderColor:e.palette.text.primary},"@media (hover: none)":{"&:hover $notchedOutline":{borderColor:t}},"&$focused $notchedOutline":{borderColor:e.palette.primary.main,borderWidth:2},"&$error $notchedOutline":{borderColor:e.palette.error.main},"&$disabled $notchedOutline":{borderColor:e.palette.action.disabled}},colorSecondary:{"&$focused $notchedOutline":{borderColor:e.palette.secondary.main}},focused:{},disabled:{},adornedStart:{paddingLeft:14},adornedEnd:{paddingRight:14},error:{},marginDense:{},multiline:{padding:"18.5px 14px","&$marginDense":{paddingTop:10.5,paddingBottom:10.5}},notchedOutline:{borderColor:t},input:{padding:"18.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.type?null:"#fff",caretColor:"light"===e.palette.type?null:"#fff",borderRadius:"inherit"}},inputMarginDense:{paddingTop:10.5,paddingBottom:10.5},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiOutlinedInput"})(Ef);function Sf(){return r.useContext(of)}var Of=r.forwardRef((function(e,t){var n=e.children,o=e.classes,i=e.className,a=(e.color,e.component),l=void 0===a?"label":a,s=(e.disabled,e.error,e.filled,e.focused,e.required,(0,fo.Z)(e,["children","classes","className","color","component","disabled","error","filled","focused","required"])),u=tf({props:e,muiFormControl:Sf(),states:["color","required","focused","disabled","error","filled"]});return r.createElement(l,(0,po.Z)({className:(0,vo.Z)(o.root,o["color".concat((0,Fo.Z)(u.color||"primary"))],i,u.disabled&&o.disabled,u.error&&o.error,u.filled&&o.filled,u.focused&&o.focused,u.required&&o.required),ref:t},s),n,u.required&&r.createElement("span",{"aria-hidden":!0,className:(0,vo.Z)(o.asterisk,u.error&&o.error)}," ","*"))})),kf=(0,go.Z)((function(e){return{root:(0,po.Z)({color:e.palette.text.secondary},e.typography.body1,{lineHeight:1,padding:0,"&$focused":{color:e.palette.primary.main},"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}}),colorSecondary:{"&$focused":{color:e.palette.secondary.main}},focused:{},disabled:{},error:{},filled:{},required:{},asterisk:{"&$error":{color:e.palette.error.main}}}}),{name:"MuiFormLabel"})(Of),Cf=r.forwardRef((function(e,t){var n=e.classes,o=e.className,i=e.disableAnimation,a=void 0!==i&&i,l=(e.margin,e.shrink),s=(e.variant,(0,fo.Z)(e,["classes","className","disableAnimation","margin","shrink","variant"])),u=Sf(),c=l;void 0===c&&u&&(c=u.filled||u.focused||u.adornedStart);var f=tf({props:e,muiFormControl:u,states:["margin","variant"]});return r.createElement(kf,(0,po.Z)({"data-shrink":c,className:(0,vo.Z)(n.root,o,u&&n.formControl,!a&&n.animated,c&&n.shrink,"dense"===f.margin&&n.marginDense,{filled:n.filled,outlined:n.outlined}[f.variant]),classes:{focused:n.focused,disabled:n.disabled,error:n.error,required:n.required,asterisk:n.asterisk},ref:t},s))})),Pf=(0,go.Z)((function(e){return{root:{display:"block",transformOrigin:"top left"},focused:{},disabled:{},error:{},required:{},asterisk:{},formControl:{position:"absolute",left:0,top:0,transform:"translate(0, 24px) scale(1)"},marginDense:{transform:"translate(0, 21px) scale(1)"},shrink:{transform:"translate(0, 1.5px) scale(0.75)",transformOrigin:"top left"},animated:{transition:e.transitions.create(["color","transform"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},filled:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 20px) scale(1)","&$marginDense":{transform:"translate(12px, 17px) scale(1)"},"&$shrink":{transform:"translate(12px, 10px) scale(0.75)","&$marginDense":{transform:"translate(12px, 7px) scale(0.75)"}}},outlined:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 20px) scale(1)","&$marginDense":{transform:"translate(14px, 12px) scale(1)"},"&$shrink":{transform:"translate(14px, -6px) scale(0.75)"}}}}),{name:"MuiInputLabel"})(Cf),jf=r.forwardRef((function(e,t){var n=e.children,o=e.classes,i=e.className,a=e.color,l=void 0===a?"primary":a,s=e.component,u=void 0===s?"div":s,c=e.disabled,f=void 0!==c&&c,d=e.error,p=void 0!==d&&d,h=e.fullWidth,m=void 0!==h&&h,v=e.focused,g=e.hiddenLabel,y=void 0!==g&&g,b=e.margin,w=void 0===b?"none":b,x=e.required,E=void 0!==x&&x,_=e.size,S=e.variant,O=void 0===S?"standard":S,k=(0,fo.Z)(e,["children","classes","className","color","component","disabled","error","fullWidth","focused","hiddenLabel","margin","required","size","variant"]),C=r.useState((function(){var e=!1;return n&&r.Children.forEach(n,(function(t){if((0,zc.Z)(t,["Input","Select"])){var n=(0,zc.Z)(t,["Select"])?t.props.input:t;n&&n.props.startAdornment&&(e=!0)}})),e})),P=C[0],j=C[1],A=r.useState((function(){var e=!1;return n&&r.Children.forEach(n,(function(t){(0,zc.Z)(t,["Input","Select"])&&df(t.props,!0)&&(e=!0)})),e})),T=A[0],I=A[1],R=r.useState(!1),N=R[0],D=R[1],M=void 0!==v?v:N;f&&M&&D(!1);var L=r.useCallback((function(){I(!0)}),[]),F={adornedStart:P,setAdornedStart:j,color:l,disabled:f,error:p,filled:T,focused:M,fullWidth:m,hiddenLabel:y,margin:("small"===_?"dense":void 0)||w,onBlur:function(){D(!1)},onEmpty:r.useCallback((function(){I(!1)}),[]),onFilled:L,onFocus:function(){D(!0)},registerEffect:void 0,required:E,variant:O};return r.createElement(of.Provider,{value:F},r.createElement(u,(0,po.Z)({className:(0,vo.Z)(o.root,i,"none"!==w&&o["margin".concat((0,Fo.Z)(w))],m&&o.fullWidth),ref:t},k),n))})),Af=(0,go.Z)({root:{display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},marginNormal:{marginTop:16,marginBottom:8},marginDense:{marginTop:8,marginBottom:4},fullWidth:{width:"100%"}},{name:"MuiFormControl"})(jf),Tf=r.forwardRef((function(e,t){var n=e.children,o=e.classes,i=e.className,a=e.component,l=void 0===a?"p":a,s=(e.disabled,e.error,e.filled,e.focused,e.margin,e.required,e.variant,(0,fo.Z)(e,["children","classes","className","component","disabled","error","filled","focused","margin","required","variant"])),u=tf({props:e,muiFormControl:Sf(),states:["variant","margin","disabled","error","filled","focused","required"]});return r.createElement(l,(0,po.Z)({className:(0,vo.Z)(o.root,("filled"===u.variant||"outlined"===u.variant)&&o.contained,i,u.disabled&&o.disabled,u.error&&o.error,u.filled&&o.filled,u.focused&&o.focused,u.required&&o.required,"dense"===u.margin&&o.marginDense),ref:t},s)," "===n?r.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}}):n)})),If=(0,go.Z)((function(e){return{root:(0,po.Z)({color:e.palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,margin:0,"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}}),error:{},disabled:{},marginDense:{marginTop:4},contained:{marginLeft:14,marginRight:14},focused:{},filled:{},required:{}}}),{name:"MuiFormHelperText"})(Tf),Rf=n(65835);function Nf(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var Df={entering:{opacity:1,transform:Nf(1)},entered:{opacity:1,transform:"none"}},Mf=r.forwardRef((function(e,t){var n=e.children,o=e.disableStrictModeCompat,i=void 0!==o&&o,a=e.in,l=e.onEnter,s=e.onEntered,u=e.onEntering,c=e.onExit,f=e.onExited,d=e.onExiting,p=e.style,h=e.timeout,m=void 0===h?"auto":h,v=e.TransitionComponent,g=void 0===v?fs:v,y=(0,fo.Z)(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),b=r.useRef(),w=r.useRef(),x=hs(),E=x.unstable_strictMode&&!i,_=r.useRef(null),S=(0,bo.Z)(n.ref,t),O=(0,bo.Z)(E?_:void 0,S),k=function(e){return function(t,n){if(e){var r=E?[_.current,t]:[t,n],o=(0,ls.Z)(r,2),i=o[0],a=o[1];void 0===a?e(i):e(i,a)}}},C=k(u),P=k((function(e,t){ms(e);var n,r=vs({style:p,timeout:m},{mode:"enter"}),o=r.duration,i=r.delay;"auto"===m?(n=x.transitions.getAutoHeightDuration(e.clientHeight),w.current=n):n=o,e.style.transition=[x.transitions.create("opacity",{duration:n,delay:i}),x.transitions.create("transform",{duration:.666*n,delay:i})].join(","),l&&l(e,t)})),j=k(s),A=k(d),T=k((function(e){var t,n=vs({style:p,timeout:m},{mode:"exit"}),r=n.duration,o=n.delay;"auto"===m?(t=x.transitions.getAutoHeightDuration(e.clientHeight),w.current=t):t=r,e.style.transition=[x.transitions.create("opacity",{duration:t,delay:o}),x.transitions.create("transform",{duration:.666*t,delay:o||.333*t})].join(","),e.style.opacity="0",e.style.transform=Nf(.75),c&&c(e)})),I=k(f);return r.useEffect((function(){return function(){clearTimeout(b.current)}}),[]),r.createElement(g,(0,po.Z)({appear:!0,in:a,nodeRef:E?_:void 0,onEnter:P,onEntered:j,onEntering:C,onExit:T,onExited:I,onExiting:A,addEndListener:function(e,t){var n=E?e:t;"auto"===m&&(b.current=setTimeout(n,w.current||0))},timeout:"auto"===m?null:m},y),(function(e,t){return r.cloneElement(n,(0,po.Z)({style:(0,po.Z)({opacity:0,transform:Nf(.75),visibility:"exited"!==e||a?void 0:"hidden"},Df[e],p,n.props.style),ref:O},t))}))}));Mf.muiSupportAuto=!0;var Lf=Mf;function Ff(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Bf(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function zf(e){return[e.horizontal,e.vertical].map((function(e){return"number"==typeof e?"".concat(e,"px"):e})).join(" ")}function Uf(e){return"function"==typeof e?e():e}var Zf=r.forwardRef((function(e,t){var n=e.action,i=e.anchorEl,a=e.anchorOrigin,l=void 0===a?{vertical:"top",horizontal:"left"}:a,s=e.anchorPosition,u=e.anchorReference,c=void 0===u?"anchorEl":u,f=e.children,d=e.classes,p=e.className,h=e.container,m=e.elevation,v=void 0===m?8:m,g=e.getContentAnchorEl,y=e.marginThreshold,b=void 0===y?16:y,w=e.onEnter,x=e.onEntered,E=e.onEntering,_=e.onExit,S=e.onExited,O=e.onExiting,k=e.open,C=e.PaperProps,P=void 0===C?{}:C,j=e.transformOrigin,A=void 0===j?{vertical:"top",horizontal:"left"}:j,T=e.TransitionComponent,I=void 0===T?Lf:T,R=e.transitionDuration,N=void 0===R?"auto":R,D=e.TransitionProps,M=void 0===D?{}:D,L=(0,fo.Z)(e,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","className","container","elevation","getContentAnchorEl","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),F=r.useRef(),B=r.useCallback((function(e){if("anchorPosition"===c)return s;var t=Uf(i),n=(t&&1===t.nodeType?t:(0,Zl.Z)(F.current).body).getBoundingClientRect(),r=0===e?l.vertical:"center";return{top:n.top+Ff(n,r),left:n.left+Bf(n,l.horizontal)}}),[i,l.horizontal,l.vertical,s,c]),z=r.useCallback((function(e){var t=0;if(g&&"anchorEl"===c){var n=g(e);if(n&&e.contains(n)){var r=function(e,t){for(var n=t,r=0;n&&n!==e;)r+=(n=n.parentElement).scrollTop;return r}(e,n);t=n.offsetTop+n.clientHeight/2-r||0}0}return t}),[l.vertical,c,g]),U=r.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:Ff(e,A.vertical)+t,horizontal:Bf(e,A.horizontal)}}),[A.horizontal,A.vertical]),Z=r.useCallback((function(e){var t=z(e),n={width:e.offsetWidth,height:e.offsetHeight},r=U(n,t);if("none"===c)return{top:null,left:null,transformOrigin:zf(r)};var o=B(t),a=o.top-r.vertical,l=o.left-r.horizontal,s=a+n.height,u=l+n.width,f=(0,ql.Z)(Uf(i)),d=f.innerHeight-b,p=f.innerWidth-b;if(a<b){var h=a-b;a-=h,r.vertical+=h}else if(s>d){var m=s-d;a-=m,r.vertical+=m}if(l<b){var v=l-b;l-=v,r.horizontal+=v}else if(u>p){var g=u-p;l-=g,r.horizontal+=g}return{top:"".concat(Math.round(a),"px"),left:"".concat(Math.round(l),"px"),transformOrigin:zf(r)}}),[i,c,B,z,U,b]),H=r.useCallback((function(){var e=F.current;if(e){var t=Z(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[Z]),W=r.useCallback((function(e){F.current=o.findDOMNode(e)}),[]);r.useEffect((function(){k&&H()})),r.useImperativeHandle(n,(function(){return k?{updatePosition:function(){H()}}:null}),[k,H]),r.useEffect((function(){if(k){var e=(0,af.Z)((function(){H()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[k,H]);var G=N;"auto"!==N||I.muiSupportAuto||(G=void 0);var V=h||(i?(0,Zl.Z)(Uf(i)).body:void 0);return r.createElement(as,(0,po.Z)({container:V,open:k,ref:t,BackdropProps:{invisible:!0},className:(0,vo.Z)(d.root,p)},L),r.createElement(I,(0,po.Z)({appear:!0,in:k,onEnter:w,onEntered:x,onExit:_,onExited:S,onExiting:O,timeout:G},M,{onEntering:(0,Vl.Z)((function(e,t){E&&E(e,t),H()}),M.onEntering)}),r.createElement(_s,(0,po.Z)({elevation:v,ref:W},P,{className:(0,vo.Z)(d.paper,P.className)}),f)))})),Hf=(0,go.Z)({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(Zf),Wf=r.forwardRef((function(e,t){var n=e.children,o=e.classes,i=e.className,a=e.component,l=void 0===a?"ul":a,s=e.dense,u=void 0!==s&&s,c=e.disablePadding,f=void 0!==c&&c,d=e.subheader,p=(0,fo.Z)(e,["children","classes","className","component","dense","disablePadding","subheader"]),h=r.useMemo((function(){return{dense:u}}),[u]);return r.createElement(Uc.Provider,{value:h},r.createElement(l,(0,po.Z)({className:(0,vo.Z)(o.root,i,u&&o.dense,!f&&o.padding,d&&o.subheader),ref:t},p),d,n))})),Gf=(0,go.Z)({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(Wf);function Vf(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function $f(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Kf(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function qf(e,t,n,r,o,i){for(var a=!1,l=o(e,t,!!t&&n);l;){if(l===e.firstChild){if(a)return;a=!0}var s=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&Kf(l,i)&&!s)return void l.focus();l=o(e,l,n)}}var Yf="undefined"==typeof window?r.useEffect:r.useLayoutEffect,Jf=r.forwardRef((function(e,t){var n=e.actions,i=e.autoFocus,a=void 0!==i&&i,l=e.autoFocusItem,s=void 0!==l&&l,u=e.children,c=e.className,f=e.disabledItemsFocusable,d=void 0!==f&&f,p=e.disableListWrap,h=void 0!==p&&p,m=e.onKeyDown,v=e.variant,g=void 0===v?"selectedMenu":v,y=(0,fo.Z)(e,["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"]),b=r.useRef(null),w=r.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Yf((function(){a&&b.current.focus()}),[a]),r.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!b.current.style.width;if(e.clientHeight<b.current.clientHeight&&n){var r="".concat(Kl(),"px");b.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=r,b.current.style.width="calc(100% + ".concat(r,")")}return b.current}}}),[]);var x=r.useCallback((function(e){b.current=o.findDOMNode(e)}),[]),E=(0,bo.Z)(x,t),_=-1;r.Children.forEach(u,(function(e,t){r.isValidElement(e)&&(e.props.disabled||("selectedMenu"===g&&e.props.selected||-1===_)&&(_=t))}));var S=r.Children.map(u,(function(e,t){if(t===_){var n={};return s&&(n.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===g&&(n.tabIndex=0),r.cloneElement(e,n)}return e}));return r.createElement(Gf,(0,po.Z)({role:"menu",ref:E,className:c,onKeyDown:function(e){var t=b.current,n=e.key,r=(0,Zl.Z)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),qf(t,r,h,d,Vf);else if("ArrowUp"===n)e.preventDefault(),qf(t,r,h,d,$f);else if("Home"===n)e.preventDefault(),qf(t,null,h,d,Vf);else if("End"===n)e.preventDefault(),qf(t,null,h,d,$f);else if(1===n.length){var o=w.current,i=n.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);var l=r&&!o.repeating&&Kf(r,o);o.previousKeyMatched&&(l||qf(t,r,!1,d,Vf,o))?e.preventDefault():o.previousKeyMatched=!1}m&&m(e)},tabIndex:a?0:-1},y),S)})),Xf={vertical:"top",horizontal:"right"},Qf={vertical:"top",horizontal:"left"},ed=r.forwardRef((function(e,t){var n=e.autoFocus,i=void 0===n||n,a=e.children,l=e.classes,s=e.disableAutoFocusItem,u=void 0!==s&&s,c=e.MenuListProps,f=void 0===c?{}:c,d=e.onClose,p=e.onEntering,h=e.open,m=e.PaperProps,v=void 0===m?{}:m,g=e.PopoverClasses,y=e.transitionDuration,b=void 0===y?"auto":y,w=e.variant,x=void 0===w?"selectedMenu":w,E=(0,fo.Z)(e,["autoFocus","children","classes","disableAutoFocusItem","MenuListProps","onClose","onEntering","open","PaperProps","PopoverClasses","transitionDuration","variant"]),_=hs(),S=i&&!u&&h,O=r.useRef(null),k=r.useRef(null),C=-1;r.Children.map(a,(function(e,t){r.isValidElement(e)&&(e.props.disabled||("menu"!==x&&e.props.selected||-1===C)&&(C=t))}));var P=r.Children.map(a,(function(e,t){return t===C?r.cloneElement(e,{ref:function(t){k.current=o.findDOMNode(t),(0,Hl.Z)(e.ref,t)}}):e}));return r.createElement(Hf,(0,po.Z)({getContentAnchorEl:function(){return k.current},classes:g,onClose:d,onEntering:function(e,t){O.current&&O.current.adjustStyleForScrollbar(e,_),p&&p(e,t)},anchorOrigin:"rtl"===_.direction?Xf:Qf,transformOrigin:"rtl"===_.direction?Xf:Qf,PaperProps:(0,po.Z)({},v,{classes:(0,po.Z)({},v.classes,{root:l.paper})}),open:h,ref:t,transitionDuration:b},E),r.createElement(Jf,(0,po.Z)({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),d&&d(e,"tabKeyDown"))},actions:O,autoFocus:i&&(-1===C||u),autoFocusItem:S,variant:x},f,{className:(0,vo.Z)(l.list,f.className)}),P))})),td=(0,go.Z)({paper:{maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"},list:{outline:0}},{name:"MuiMenu"})(ed),nd=n(22775);function rd(e,t){return"object"===(0,H.Z)(t)&&null!==t?e===t:String(e)===String(t)}var od=r.forwardRef((function(e,t){var n=e["aria-label"],o=e.autoFocus,i=e.autoWidth,a=e.children,l=e.classes,s=e.className,u=e.defaultValue,c=e.disabled,f=e.displayEmpty,d=e.IconComponent,p=e.inputRef,h=e.labelId,m=e.MenuProps,v=void 0===m?{}:m,g=e.multiple,y=e.name,b=e.onBlur,w=e.onChange,x=e.onClose,E=e.onFocus,_=e.onOpen,S=e.open,O=e.readOnly,k=e.renderValue,C=e.SelectDisplayProps,P=void 0===C?{}:C,j=e.tabIndex,A=(e.type,e.value),T=e.variant,I=void 0===T?"standard":T,R=(0,fo.Z)(e,["aria-label","autoFocus","autoWidth","children","classes","className","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"]),N=(0,nd.Z)({controlled:A,default:u,name:"Select"}),D=(0,ls.Z)(N,2),M=D[0],L=D[1],F=r.useRef(null),B=r.useState(null),z=B[0],U=B[1],Z=r.useRef(null!=S).current,H=r.useState(),W=H[0],G=H[1],V=r.useState(!1),$=V[0],K=V[1],q=(0,bo.Z)(t,p);r.useImperativeHandle(q,(function(){return{focus:function(){z.focus()},node:F.current,value:M}}),[z,M]),r.useEffect((function(){o&&z&&z.focus()}),[o,z]),r.useEffect((function(){if(z){var e=(0,Zl.Z)(z).getElementById(h);if(e){var t=function(){getSelection().isCollapsed&&z.focus()};return e.addEventListener("click",t),function(){e.removeEventListener("click",t)}}}}),[h,z]);var Y,J,X=function(e,t){e?_&&_(t):x&&x(t),Z||(G(i?null:z.clientWidth),K(e))},Q=r.Children.toArray(a),ee=function(e){return function(t){var n;if(g||X(!1,t),g){n=Array.isArray(M)?M.slice():[];var r=M.indexOf(e.props.value);-1===r?n.push(e.props.value):n.splice(r,1)}else n=e.props.value;e.props.onClick&&e.props.onClick(t),M!==n&&(L(n),w&&(t.persist(),Object.defineProperty(t,"target",{writable:!0,value:{value:n,name:y}}),w(t,e)))}},te=null!==z&&(Z?S:$);delete R["aria-invalid"];var ne=[],re=!1;(df({value:M})||f)&&(k?Y=k(M):re=!0);var oe=Q.map((function(e){if(!r.isValidElement(e))return null;var t;if(g){if(!Array.isArray(M))throw new Error((0,ef.Z)(2));(t=M.some((function(t){return rd(t,e.props.value)})))&&re&&ne.push(e.props.children)}else(t=rd(M,e.props.value))&&re&&(J=e.props.children);return t&&!0,r.cloneElement(e,{"aria-selected":t?"true":void 0,onClick:ee(e),onKeyUp:function(t){" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));re&&(Y=g?ne.join(", "):J);var ie,ae=W;!i&&Z&&z&&(ae=z.clientWidth),ie=void 0!==j?j:c?null:0;var le=P.id||(y?"mui-component-select-".concat(y):void 0);return r.createElement(r.Fragment,null,r.createElement("div",(0,po.Z)({className:(0,vo.Z)(l.root,l.select,l.selectMenu,l[I],s,c&&l.disabled),ref:U,tabIndex:ie,role:"button","aria-disabled":c?"true":void 0,"aria-expanded":te?"true":void 0,"aria-haspopup":"listbox","aria-label":n,"aria-labelledby":[h,le].filter(Boolean).join(" ")||void 0,onKeyDown:function(e){if(!O){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),X(!0,e))}},onMouseDown:c||O?null:function(e){0===e.button&&(e.preventDefault(),z.focus(),X(!0,e))},onBlur:function(e){!te&&b&&(e.persist(),Object.defineProperty(e,"target",{writable:!0,value:{value:M,name:y}}),b(e))},onFocus:E},P,{id:le}),function(e){return null==e||"string"==typeof e&&!e.trim()}(Y)?r.createElement("span",{dangerouslySetInnerHTML:{__html:"&#8203;"}}):Y),r.createElement("input",(0,po.Z)({value:Array.isArray(M)?M.join(","):M,name:y,ref:F,"aria-hidden":!0,onChange:function(e){var t=Q.map((function(e){return e.props.value})).indexOf(e.target.value);if(-1!==t){var n=Q[t];L(n.props.value),w&&w(e,n)}},tabIndex:-1,className:l.nativeInput,autoFocus:o},R)),r.createElement(d,{className:(0,vo.Z)(l.icon,l["icon".concat((0,Fo.Z)(I))],te&&l.iconOpen,c&&l.disabled)}),r.createElement(td,(0,po.Z)({id:"menu-".concat(y||""),anchorEl:z,open:te,onClose:function(e){X(!1,e)}},v,{MenuListProps:(0,po.Z)({"aria-labelledby":h,role:"listbox",disableListWrap:!0},v.MenuListProps),PaperProps:(0,po.Z)({},v.PaperProps,{style:(0,po.Z)({minWidth:ae},null!=v.PaperProps?v.PaperProps.style:null)})}),oe))})),id=n(63786),ad=(0,id.Z)(r.createElement("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),ld=r.forwardRef((function(e,t){var n=e.classes,o=e.className,i=e.disabled,a=e.IconComponent,l=e.inputRef,s=e.variant,u=void 0===s?"standard":s,c=(0,fo.Z)(e,["classes","className","disabled","IconComponent","inputRef","variant"]);return r.createElement(r.Fragment,null,r.createElement("select",(0,po.Z)({className:(0,vo.Z)(n.root,n.select,n[u],o,i&&n.disabled),disabled:i,ref:l||t},c)),e.multiple?null:r.createElement(a,{className:(0,vo.Z)(n.icon,n["icon".concat((0,Fo.Z)(u))],i&&n.disabled)}))})),sd=function(e){return{root:{},select:{"-moz-appearance":"none","-webkit-appearance":"none",userSelect:"none",borderRadius:0,minWidth:16,cursor:"pointer","&:focus":{backgroundColor:"light"===e.palette.type?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},"&$disabled":{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:e.palette.background.paper},"&&":{paddingRight:24}},filled:{"&&":{paddingRight:32}},outlined:{borderRadius:e.shape.borderRadius,"&&":{paddingRight:32}},selectMenu:{height:"auto",minHeight:"1.1876em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},disabled:{},icon:{position:"absolute",right:0,top:"calc(50% - 12px)",pointerEvents:"none",color:e.palette.action.active,"&$disabled":{color:e.palette.action.disabled}},iconOpen:{transform:"rotate(180deg)"},iconFilled:{right:7},iconOutlined:{right:7},nativeInput:{bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%"}}},ud=r.createElement(gf,null),cd=r.forwardRef((function(e,t){var n=e.children,o=e.classes,i=e.IconComponent,a=void 0===i?ad:i,l=e.input,s=void 0===l?ud:l,u=e.inputProps,c=(e.variant,(0,fo.Z)(e,["children","classes","IconComponent","input","inputProps","variant"])),f=tf({props:e,muiFormControl:Sf(),states:["variant"]});return r.cloneElement(s,(0,po.Z)({inputComponent:ld,inputProps:(0,po.Z)({children:n,classes:o,IconComponent:a,variant:f.variant,type:void 0},u,s?s.props.inputProps:{}),ref:t},c))}));cd.muiName="Select";(0,go.Z)(sd,{name:"MuiNativeSelect"})(cd);var fd=sd,dd=r.createElement(gf,null),pd=r.createElement(bf,null),hd=r.forwardRef((function e(t,n){var o=t.autoWidth,i=void 0!==o&&o,a=t.children,l=t.classes,s=t.displayEmpty,u=void 0!==s&&s,c=t.IconComponent,f=void 0===c?ad:c,d=t.id,p=t.input,h=t.inputProps,m=t.label,v=t.labelId,g=t.labelWidth,y=void 0===g?0:g,b=t.MenuProps,w=t.multiple,x=void 0!==w&&w,E=t.native,_=void 0!==E&&E,S=t.onClose,O=t.onOpen,k=t.open,C=t.renderValue,P=t.SelectDisplayProps,j=t.variant,A=void 0===j?"standard":j,T=(0,fo.Z)(t,["autoWidth","children","classes","displayEmpty","IconComponent","id","input","inputProps","label","labelId","labelWidth","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"]),I=_?ld:od,R=tf({props:t,muiFormControl:Sf(),states:["variant"]}).variant||A,N=p||{standard:dd,outlined:r.createElement(_f,{label:m,labelWidth:y}),filled:pd}[R];return r.cloneElement(N,(0,po.Z)({inputComponent:I,inputProps:(0,po.Z)({children:a,IconComponent:f,variant:R,type:void 0,multiple:x},_?{id:d}:{autoWidth:i,displayEmpty:u,labelId:v,MenuProps:b,onClose:S,onOpen:O,open:k,renderValue:C,SelectDisplayProps:(0,po.Z)({id:d},P)},h,{classes:h?(0,Rf.Z)({baseClasses:l,newClasses:h.classes,Component:e}):l},p?p.props.inputProps:{}),ref:n},T))}));hd.muiName="Select";var md=(0,go.Z)(fd,{name:"MuiSelect"})(hd),vd={standard:gf,filled:bf,outlined:_f},gd=r.forwardRef((function(e,t){var n=e.autoComplete,o=e.autoFocus,i=void 0!==o&&o,a=e.children,l=e.classes,s=e.className,u=e.color,c=void 0===u?"primary":u,f=e.defaultValue,d=e.disabled,p=void 0!==d&&d,h=e.error,m=void 0!==h&&h,v=e.FormHelperTextProps,g=e.fullWidth,y=void 0!==g&&g,b=e.helperText,w=e.hiddenLabel,x=e.id,E=e.InputLabelProps,_=e.inputProps,S=e.InputProps,O=e.inputRef,k=e.label,C=e.multiline,P=void 0!==C&&C,j=e.name,A=e.onBlur,T=e.onChange,I=e.onFocus,R=e.placeholder,N=e.required,D=void 0!==N&&N,M=e.rows,L=e.rowsMax,F=e.select,B=void 0!==F&&F,z=e.SelectProps,U=e.type,Z=e.value,H=e.variant,W=void 0===H?"standard":H,G=(0,fo.Z)(e,["autoComplete","autoFocus","children","classes","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","hiddenLabel","id","InputLabelProps","inputProps","InputProps","inputRef","label","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","rowsMax","select","SelectProps","type","value","variant"]);var V={};if("outlined"===W&&(E&&void 0!==E.shrink&&(V.notched=E.shrink),k)){var $,K=null!==($=null==E?void 0:E.required)&&void 0!==$?$:D;V.label=r.createElement(r.Fragment,null,k,K&&" *")}B&&(z&&z.native||(V.id=void 0),V["aria-describedby"]=void 0);var q=b&&x?"".concat(x,"-helper-text"):void 0,Y=k&&x?"".concat(x,"-label"):void 0,J=vd[W],X=r.createElement(J,(0,po.Z)({"aria-describedby":q,autoComplete:n,autoFocus:i,defaultValue:f,fullWidth:y,multiline:P,name:j,rows:M,rowsMax:L,type:U,value:Z,id:x,inputRef:O,onBlur:A,onChange:T,onFocus:I,placeholder:R,inputProps:_},V,S));return r.createElement(Af,(0,po.Z)({className:(0,vo.Z)(l.root,s),disabled:p,error:m,fullWidth:y,hiddenLabel:w,ref:t,required:D,color:c,variant:W},G),k&&r.createElement(Pf,(0,po.Z)({htmlFor:x,id:Y},E),k),B?r.createElement(md,(0,po.Z)({"aria-describedby":q,id:x,labelId:Y,value:Z,input:X},z),a):X,b&&r.createElement(If,(0,po.Z)({id:q},v),b))})),yd=(0,go.Z)({root:{}},{name:"MuiTextField"})(gd),bd=n(71739),wd=n.n(bd),xd=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function Ed(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(wd()[n[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("--\x3e");return{type:"comment",comment:-1!==r?e.slice(4,r):""}}for(var o=new RegExp(xd),i=null;null!==(i=o.exec(e));)if(i[0].trim())if(i[1]){var a=i[1].trim(),l=[a,""];a.indexOf("=")>-1&&(l=a.split("=")),t.attrs[l[0]]=l[1],o.lastIndex--}else i[2]&&(t.attrs[i[2]]=i[3].trim().substring(1,i[3].length-1));return t}var _d=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,Sd=/^\s*$/,Od=Object.create(null);function kd(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(kd,"")+"</"+t.name+">";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var Cd={parse:function(e,t){t||(t={}),t.components||(t.components=Od);var n,r=[],o=[],i=-1,a=!1;if(0!==e.indexOf("<")){var l=e.indexOf("<");r.push({type:"text",content:-1===l?e:e.substring(0,l)})}return e.replace(_d,(function(l,s){if(a){if(l!=="</"+n.name+">")return;a=!1}var u,c="/"!==l.charAt(1),f=l.startsWith("\x3c!--"),d=s+l.length,p=e.charAt(d);if(f){var h=Ed(l);return i<0?(r.push(h),r):((u=o[i]).children.push(h),r)}if(c&&(i++,"tag"===(n=Ed(l)).type&&t.components[n.name]&&(n.type="component",a=!0),n.voidElement||a||!p||"<"===p||n.children.push({type:"text",content:e.slice(d,e.indexOf("<",d))}),0===i&&r.push(n),(u=o[i-1])&&u.children.push(n),o[i]=n),(!c||n.voidElement)&&(i>-1&&(n.voidElement||n.name===l.slice(2,-1))&&(i--,n=-1===i?r:o[i]),!a&&"<"!==p&&p)){u=-1===i?r:o[i].children;var m=e.indexOf("<",d),v=e.slice(d,-1===m?void 0:m);Sd.test(v)&&(v=" "),(m>-1&&i+u.length>=0||" "!==v)&&u.push({type:"text",content:v})}})),r},stringify:function(e){return e.reduce((function(e,t){return e+kd("",t)}),"")}},Pd="".replace,jd=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34);/g,Ad={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"'};function Td(e){return Ad[e]}function Id(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Rd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Id(Object(n),!0).forEach((function(t){(0,J.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Id(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Nd,Dd={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0},Md=r.createContext();!function(){function e(){W(this,e),this.usedNamespaces={}}(0,G.Z)(e,[{key:"addUsedNamespaces",value:function(e){var t=this;e.forEach((function(e){t.usedNamespaces[e]||(t.usedNamespaces[e]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}])}();function Ld(){return Nd}var Fd={type:"3rdParty",init:function(e){!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Dd=Rd(Rd({},Dd),e)}(e.options.react),function(e){Nd=e}(e)}};function Bd(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];"string"==typeof n[0]&&(n[0]="react-i18next:: ".concat(n[0])),(e=console).warn.apply(e,n)}}var zd={};function Ud(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"string"==typeof t[0]&&zd[t[0]]||("string"==typeof t[0]&&(zd[t[0]]=new Date),Bd.apply(void 0,t))}var Zd=["format"],Hd=["children","count","parent","i18nKey","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function Wd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Gd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wd(Object(n),!0).forEach((function(t){(0,J.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wd(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Vd(e,t){if(!e)return!1;var n=e.props?e.props.children:e.children;return t?n.length>0:!!n}function $d(e){return e?e&&e.children?e.children:e.props&&e.props.children:[]}function Kd(e){return Array.isArray(e)?e:[e]}function qd(e,t,n,o,i,a){if(""===t)return[];var l=o.transKeepBasicHtmlNodesFor||[],s=t&&new RegExp(l.join("|")).test(t);if(!e&&!s)return[t];var u={};!function e(t){Kd(t).forEach((function(t){"string"!=typeof t&&(Vd(t)?e($d(t)):"object"!==(0,H.Z)(t)||r.isValidElement(t)||Object.assign(u,t))}))}(e);var c=Cd.parse("<0>".concat(t,"</0>")),f=Gd(Gd({},u),i);function d(e,t,n){var o=$d(e),i=h(o,t.children,n);return function(e){return"[object Array]"===Object.prototype.toString.call(e)&&e.every((function(e){return r.isValidElement(e)}))}(o)&&0===i.length?o:i}function p(e,t,n,o,i){e.dummy&&(e.children=t),n.push(r.cloneElement(e,Gd(Gd({},e.props),{},{key:o}),i?void 0:t))}function h(t,i,u){var c=Kd(t);return Kd(i).reduce((function(t,i,m){var v,g,y,b=i.children&&i.children[0]&&i.children[0].content&&n.services.interpolator.interpolate(i.children[0].content,f,n.language);if("tag"===i.type){var w=c[parseInt(i.name,10)];!w&&1===u.length&&u[0][i.name]&&(w=u[0][i.name]),w||(w={});var x=0!==Object.keys(i.attrs).length?(v={props:i.attrs},(y=Gd({},g=w)).props=Object.assign(v.props,g.props),y):w,E=r.isValidElement(x),_=E&&Vd(i,!0)&&!i.voidElement,S=s&&"object"===(0,H.Z)(x)&&x.dummy&&!E,O="object"===(0,H.Z)(e)&&null!==e&&Object.hasOwnProperty.call(e,i.name);if("string"==typeof x){var k=n.services.interpolator.interpolate(x,f,n.language);t.push(k)}else if(Vd(x)||_){p(x,d(x,i,u),t,m)}else if(S){var C=h(c,i.children,u);t.push(r.cloneElement(x,Gd(Gd({},x.props),{},{key:m}),C))}else if(Number.isNaN(parseFloat(i.name))){if(O)p(x,d(x,i,u),t,m,i.voidElement);else if(o.transSupportBasicHtmlNodes&&l.indexOf(i.name)>-1)if(i.voidElement)t.push(r.createElement(i.name,{key:"".concat(i.name,"-").concat(m)}));else{var P=h(c,i.children,u);t.push(r.createElement(i.name,{key:"".concat(i.name,"-").concat(m)},P))}else if(i.voidElement)t.push("<".concat(i.name," />"));else{var j=h(c,i.children,u);t.push("<".concat(i.name,">").concat(j,"</").concat(i.name,">"))}}else if("object"!==(0,H.Z)(x)||E)1===i.children.length&&b?t.push(r.cloneElement(x,Gd(Gd({},x.props),{},{key:m}),b)):t.push(r.cloneElement(x,Gd(Gd({},x.props),{},{key:m})));else{var A=i.children[0]?b:null;A&&t.push(A)}}else if("text"===i.type){var T=o.transWrapTextNodes,I=a?function(e){return Pd.call(e,jd,Td)}(n.services.interpolator.interpolate(i.content,f,n.language)):n.services.interpolator.interpolate(i.content,f,n.language);T?t.push(r.createElement(T,{key:"".concat(i.name,"-").concat(m)},I)):t.push(I)}return t}),[])}return $d(h([{dummy:!0,children:e||[]}],c,Kd(e||[]))[0])}function Yd(e){var t=e.children,n=e.count,o=e.parent,i=e.i18nKey,a=e.tOptions,l=void 0===a?{}:a,s=e.values,u=e.defaults,c=e.components,f=e.ns,d=e.i18n,p=e.t,h=e.shouldUnescape,m=(0,fo.Z)(e,Hd),v=(0,r.useContext)(Md)||{},g=v.i18n,y=v.defaultNS,b=d||g||Ld();if(!b)return Ud("You will need to pass in an i18next instance by using i18nextReactModule"),t;var w=p||b.t.bind(b)||function(e){return e},x=Gd(Gd({},Dd),b.options&&b.options.react),E=f||w.ns||y||b.options&&b.options.defaultNS;E="string"==typeof E?[E]:E||["translation"];var _=u||function e(t,n){if(!t)return"";var o="",i=Kd(t),a=n.transKeepBasicHtmlNodesFor||[];return i.forEach((function(t,i){if("string"==typeof t)o+="".concat(t);else if(r.isValidElement(t)){var l=Object.keys(t.props).length,s=a.indexOf(t.type)>-1,u=t.props.children;if(!u&&s&&0===l)o+="<".concat(t.type,"/>");else if(u||s&&0===l)if(t.props.i18nIsDynamicList)o+="<".concat(i,"></").concat(i,">");else if(s&&1===l&&"string"==typeof u)o+="<".concat(t.type,">").concat(u,"</").concat(t.type,">");else{var c=e(u,n);o+="<".concat(i,">").concat(c,"</").concat(i,">")}else o+="<".concat(i,"></").concat(i,">")}else if(null===t)Bd("Trans: the passed in value is invalid - seems you passed in a null child.");else if("object"===(0,H.Z)(t)){var f=t.format,d=(0,fo.Z)(t,Zd),p=Object.keys(d);if(1===p.length){var h=f?"".concat(p[0],", ").concat(f):p[0];o+="{{".concat(h,"}}")}else Bd("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",t)}else Bd("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",t)})),o}(t,x)||x.transEmptyNodeValue||i,S=x.hashTransKey,O=i||(S?S(_):_),k=s?l.interpolation:{interpolation:Gd(Gd({},l.interpolation),{},{prefix:"#$?",suffix:"?$#"})},C=Gd(Gd(Gd(Gd({},l),{},{count:n},s),k),{},{defaultValue:_,ns:E}),P=qd(c||t,O?w(O,C):_,b,x,C,h),j=void 0!==o?o:x.defaultTransParent;return j?r.createElement(j,m,P):P}function Jd(e){var t=e.articleId,n=e.setting,o=e.size,i=void 0===o?"medium":o,a=e.tiny,l=void 0!==a&&a,s=e.style;return l?r.createElement("a",{href:"https://community.buttonizer.pro/knowledgebase/".concat(t),target:"_blank",style:s},r.createElement("i",{className:(0,vo.Z)("knowledgebase-icon",i,"fas fa-question-circle")})):r.createElement("a",{href:"https://community.buttonizer.pro/knowledgebase/".concat(t),target:"_blank",className:(0,vo.Z)("knowledgebase-link",i)},r.createElement(Yd,{i18nKey:"utils.knowledge_link",values:{setting:n},components:{bold:r.createElement("strong",null)}}))}function Xd(){return(Xd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Qd(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ep(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ep(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ep(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function tp(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function np(e){var t=e.open,n=e.buttons,o=e.onClose,i=e.text,a=e.title,l=e.defaultValue,s=e.canBeEmpty,u=void 0!==s&&s,c=e.maxWidth,f=void 0===c?"xs":c,d=e.fullWidth,p=void 0===d||d,h=e.cancelIfSameAsFirstValue,m=void 0!==h&&h,v=e.clearOnConfirm,g=void 0!==v&&v,y=e.kbLink,b=void 0===y?null:y,w=tp(e,["open","buttons","onClose","text","title","defaultValue","canBeEmpty","maxWidth","fullWidth","cancelIfSameAsFirstValue","clearOnConfirm","kbLink"]),x=[{value:"cancel",text:at("modal.cancel")},{value:"confirm",text:at("common.confirm"),focus:!0}],E=Qd(r.useState(""===l?"":l||" "),2),_=E[0],S=E[1];n||(n=x);var O=function(e){("cancel"===e||u||""!=_)&&(g&&"confirm"===e&&S(""),o(e,_))};return r.createElement(ks,Xd({open:t,maxWidth:f,fullWidth:p,onClose:function(){return O("cancel")},"aria-labelledby":"form-dialog-title"},w),r.createElement(Ts,{id:"form-dialog-title"},a),r.createElement(Rs,null,r.createElement(Ds,null,i),r.createElement(yd,{autoFocus:!0,value:_,onChange:function(e){return S(e.target.value)},margin:"dense",id:"name",fullWidth:!0,helperText:u||""!=_?null:at("modal.incorrect"),error:!u&&""==_,onKeyPress:function(e){13===e.charCode&&O(m&&l===_?"cancel":"confirm")}})),r.createElement("div",{style:b&&{display:"flex",justifyContent:"space-between",alignItems:"center ",paddingLeft:"24px"}},b&&r.createElement(Jd,{articleId:b,tiny:!0}),r.createElement(Ls,null,n.map((function(e,t){return r.createElement(zo,{onClick:function(){return O(e.value)},color:"primary",key:t},e.text)})))))}function rp(){return(rp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function op(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ip(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ip(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ip(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ap(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function lp(e){var t=e.name,n=e.onChange,o=e.size,i=void 0===o?"small":o,a=e.disabled,l=void 0!==a&&a,s=ap(e,["name","onChange","size","disabled"]),u=op((0,r.useState)(!1),2),c=u[0],f=u[1];return r.createElement(r.Fragment,null,r.createElement(Tl,{content:at("utils.duplicate"),shiftClick:!0},r.createElement(Us,rp({onClick:function(e){if(e.shiftKey)return n("".concat(t," Copy"));f(!0)},color:"primary",size:i,disabled:l,style:{width:"35px",height:"35px"}},s),r.createElement(Pc,{style:{overflow:"unset"},fontSize:"inherit",className:"far fa-copy"}))),r.createElement(np,{open:c,title:at("utils.duplicate"),text:"Name ".concat(t," duplicate:"),"data-testid":"duplicate-button:dialog",defaultValue:"".concat(t," Copy"),onClose:function(e,t){f(!1),"confirm"===e&&n(t)}}))}function sp(){return(sp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function up(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function cp(e){var t=e.size,n=void 0===t?"small":t,o=e.onClick,i=up(e,["size","onClick"]);return r.createElement(r.Fragment,null,r.createElement(Tl,{content:at("settings.settings")},r.createElement(Us,sp({onClick:function(){o()},color:"primary",size:n,style:{width:"35px",height:"35px"}},i),r.createElement(Pc,{fontSize:"inherit",style:{overflow:"unset"},className:"far fa-edit"}))))}function fp(){return(fp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function dp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return pp(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pp(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function hp(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var mp=r.forwardRef((function(e,t){var n=e.name,o=e.onChange,i=e.size,a=void 0===i?"small":i,l=e.inDropdown,s=void 0!==l&&l,u=hp(e,["name","onChange","size","inDropdown"]),c=dp((0,r.useState)(!1),2),f=c[0],d=c[1];return r.createElement(r.Fragment,null,s?r.createElement(Vc,{onClick:function(){return d(!0)},ref:t,"data-testid":"page_rule"===u.model?u["data-testid"]:"rename-button"},r.createElement(Kc,null,r.createElement(Pc,{className:"fas fa-i-cursor"})),r.createElement(js,{variant:"inherit"},at("utils.rename"))):r.createElement(Tl,{content:at("utils.rename")},r.createElement(Us,fp({size:a,onClick:function(){return d(!0)},color:"primary",style:{width:"35px",height:"35px"}},u),r.createElement(Pc,{style:{overflow:"unset",fontSize:"medium"},fontSize:"inherit",className:"fas fa-i-cursor"}))),r.createElement(np,{open:f,title:at("utils.rename"),text:at("utils.rename_to"),defaultValue:n,"data-testid":"rename-button:dialog",cancelIfSameAsFirstValue:!0,onClose:function(e,t){"confirm"===e&&o(t),d(!1)}}))})),vp=n(78513);function gp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return yp(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yp(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function bp(e){var t=e.testId,n=void 0===t?"button-group-more-actions":t,o=e.children,i=gp((0,r.useState)(null),2),a=i[0],l=i[1];return r.createElement(r.Fragment,null,r.createElement(Tl,{content:at("settings.more_actions")},r.createElement(Us,{onClick:function(e){return l(e.currentTarget)},color:"primary",size:"small",style:{width:"35px",height:"35px"},"data-testid":n},r.createElement(vp.Z,null))),r.createElement(td,{id:"group-button-extra-buttons",anchorEl:a,keepMounted:!0,open:Boolean(a),onClose:function(){return l(null)},onClick:function(){return l(null)},anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}},o))}var wp=n(26905),xp=n.n(wp);var Ep=r.forwardRef((function(e,t){var n=e.children,o=e.classes,i=e.className,a=e.disableTypography,l=void 0!==a&&a,s=e.inset,u=void 0!==s&&s,c=e.primary,f=e.primaryTypographyProps,d=e.secondary,p=e.secondaryTypographyProps,h=(0,fo.Z)(e,["children","classes","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"]),m=r.useContext(Uc).dense,v=null!=c?c:n;null==v||v.type===js||l||(v=r.createElement(js,(0,po.Z)({variant:m?"body2":"body1",className:o.primary,component:"span",display:"block"},f),v));var g=d;return null==g||g.type===js||l||(g=r.createElement(js,(0,po.Z)({variant:"body2",className:o.secondary,color:"textSecondary",display:"block"},p),g)),r.createElement("div",(0,po.Z)({className:(0,vo.Z)(o.root,i,m&&o.dense,u&&o.inset,v&&g&&o.multiline),ref:t},h),v,g)})),_p=(0,go.Z)({root:{flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},multiline:{marginTop:6,marginBottom:6},dense:{},inset:{paddingLeft:56},primary:{},secondary:{}},{name:"MuiListItemText"})(Ep);function Sp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Op(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Op(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Op(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function kp(e){var t=e.properties,n=e.type,o=void 0===n?"Button":n,i=Sp(r.useState(null),2),a=i[0],l=i[1],s=Boolean(a),u=function(e){l(e.currentTarget)},c=function(){l(null)};return r.createElement(r.Fragment,null,Object.keys(t).length>0?r.createElement(r.Fragment,null,r.createElement(zo,{onClick:u,"aria-label":"more","aria-controls":"long-menu","aria-haspopup":"true",color:"primary",variant:"text",endIcon:r.createElement(Pc,{className:"fas fa-caret-down"})},Object.keys(t).length," ",at("import_export.properties")," "),r.createElement(td,{id:"long-menu",anchorEl:a,keepMounted:!0,open:s,onClose:c,PaperProps:{style:{maxHeight:430,width:"410px"}},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},getContentAnchorEl:null},r.createElement(Gf,{subheader:r.createElement("li",null),onClick:c},Object.entries(t).map((function(e,t){var n=Sp(e,2),o=n[0],i=n[1],a=Ir()([null,null],"string"==typeof i?i.split(";"):JSON.stringify(i).split(";"));return r.createElement(Wc,{key:t,style:{display:"flex",flexWrap:"wrap"}},r.createElement(_p,{primary:o.replaceAll("_"," ")+" :",style:{minWidth:"fit-content",marginRight:"5px",textTransform:"capitalize",flex:"unset",margin:"unset"}}),r.createElement(_p,{primary:a[0],style:{margin:"0 5px",whiteSpace:"nowrap",flex:1,overflow:"hidden",borderRight:null!==a[1]&&"2px solid rgb(0 0 0 / 30%)"},primaryTypographyProps:{style:{overflow:"hidden",textOverflow:"ellipsis"}},secondary:null!==a[1]&&"Normal"}),null!==a[1]&&r.createElement(_p,{primary:a[1],style:{margin:"0 5px",whiteSpace:"nowrap",flex:1,overflow:"hidden"},primaryTypographyProps:{style:{overflow:"hidden",textOverflow:"ellipsis"}},secondary:"Hover"}))}))))):r.createElement("span",{style:{color:"red"}},"- ",o," is empty. It will not be imported"))}var Cp=n(78718),Pp=n.n(Cp),jp=n(57557),Ap=n.n(jp);function Tp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ip(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Rp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Np(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Np(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Np(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Dp(e){var t=e.type,n=void 0===t?"group":t,o=e.object,i=e.group_data,a=void 0!==i&&i,l=Rp((0,r.useState)(!1),2),s=l[0],u=l[1],c=Rp((0,r.useState)(!1),2),f=c[0],d=c[1],p=Rp((0,r.useState)(!1),2),h=p[0],m=p[1],v=Rp((0,r.useState)(!1),2),g=v[0],y=v[1],b=Pp()(a,I.stylingNoGroup)||!1,w=Al((function(e){return e})),x=function(){var e,t,r,i,a="".concat("group"===n?"Group":"Button"," - ").concat(o.name),l="button"===n?f[0]:{data:h,buttons:f};l.export_type=n,l.export_migration_version=buttonizer_admin.migration_version,e=l,t=a,r="data:text/json;charset=utf-8,"+encodeURIComponent(JSON.stringify(e)),(i=document.createElement("a")).setAttribute("href",r),i.setAttribute("download",t+".buttonizer.json"),document.body.appendChild(i),i.click(),i.remove(),u(!1),m(!1),d(!1)};return r.createElement(r.Fragment,null,r.createElement(Vc,{onClick:function(){var e="group"===n?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.store.getState();if(0===Object.keys(t.groups).length)return null;var n=xp()(t.groups,e,null);if(!n)return null;var r=Sn(n,(function(e){delete e.children,delete e.id})),o=Object.values(St(n.children)),i=[];return o.forEach((function(e){var t=Sn(e,(function(e){delete e.parent}));i.push(t)})),0===i.length&&(i=[{name:"Button",show_mobile:"true",show_desktop:"true"}]),{data:r,buttons:i}}(o.id,w):function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tp(Object(n),!0).forEach((function(t){Ip(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},o);if(Ap()(e,T),"group"===n){if(0===e.buttons.length)return alert(at("import_export.export.warning.no_buttons"));m(Ap()(e.data,T)),d(e.buttons.map((function(e){return Ap()(e,T)})))}else if("button"===n){if(0===e.length)return alert(at("import_export.export.warning.no_data"));m(!1),d([Ap()(e,T)])}u(!0)},"data-testid":"export-button"},r.createElement(Kc,null,r.createElement(Pc,{className:"fas fa-file-export"})),r.createElement(js,{variant:"inherit"},at("import_export.export.export_".concat(n)))),r.createElement(ks,{open:s,onClose:function(){y(!1),u(!1)},maxWidth:"xs",fullWidth:!0,"aria-labelledby":"import-button-dialog-title","aria-describedby":"import-button-dialog-description","data-testid":"dialog:export-dialog"},r.createElement(Ts,{id:"import-button-dialog-title"},at("import_export.export.export_".concat(n))),r.createElement(Rs,null,(h||f)&&r.createElement(r.Fragment,null,r.createElement(Ds,{component:"div"},at("import_export.export.warning.preview")),h&&r.createElement(Ds,{component:"div",key:h.id},r.createElement("i",null,at("common.group")," "),":"," ",xp()(h,"name","Unnamed"),"."," ",r.createElement(kp,{properties:h,type:"Group"})),f&&f.map((function(e,t){return r.createElement(Ds,{component:"div",key:t},r.createElement("i",null,at("common.button")," ",t+1," "),": ",xp()(e,"name","Unnamed"),".",r.createElement(kp,{properties:e}))})))),r.createElement(Ls,null,a&&"button"===n&&r.createElement(zo,{onClick:function(){return function(){var e=Ir()({},b,f[0]);d([e]),y(!0)}()},"data-testid":"export-merge",style:{marginRight:"auto"},disabled:g},at("import_export.export.merge")),r.createElement(zo,{onClick:function(){return u(!1)},color:"primary"},at("modal.cancel")),r.createElement(zo,{onClick:function(){return x()},color:"primary",disabled:"button"===n?!f:!h,"data-testid":"export-commence"},at("import_export.export.title")))))}function Mp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mp(Object(n),!0).forEach((function(t){Fp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Fp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bp(){return(Bp=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var zp=Ol((function(e){return{buttons:e.buttons,groups:e.groups,getButtonsCount:function(t){return Ot(t,e)},state:e}}),(function(e){return{set:function(){return e(yt.apply(void 0,arguments))},dispatch:e}}),(function(e,t,n){return Lp(Lp(Lp(Lp({},e),t),n),{},{removeButton:function(n){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.store.getState(),n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window.store.dispatch;if(!t.buttons[e])throw ReferenceError("ID "+e+" not in store!");n(gt(e,t.buttons[e].parent)),n(Et(e,"buttons"))}(n,e.state,t.dispatch)},duplicateButton:function(n,r,o){return Bc(n,r,o,e.state,t.dispatch)}})}))((function(e){var t=e.groupId,n=e.buttonId,o=e.buttons,i=e.groups,a=e.set,l=e.provided,s=e.currentDrag,u=e.styleDrop,c=e.getButtonsCount,f=e.removeButton,d=e.duplicateButton,p=e.openNewButtonDialog,h=o[n];if(!h||!t)return null;var m="/group/"+t+"/button/"+n,v=["default","square","rectangle","text","text-icon"];function g(e){a("buttons",n,e,!h[e])}return r.createElement("div",Bp({ref:l.innerRef},l.draggableProps,{style:u}),r.createElement("div",Bp({className:"button-container"+s},l.dragHandleProps),r.createElement("div",{className:"button-header"},r.createElement(zo,{color:"primary",style:{marginBottom:"10px"},className:"button-name",onClick:function(){return document.location.hash="#"+m}},r.createElement("span",{className:"button-name-span"},h.name)),r.createElement("div",{className:"button-actions"},r.createElement(cp,{onClick:function(){document.location.hash="#"+m},"data-testid":"edit-button",className:"button-actions edit-button"}),r.createElement(lp,{name:h.name,onChange:function(e){return d(n,t,{name:e})},"data-testid":"duplicate"}),r.createElement(bp,null,r.createElement(mp,{name:h.name,onChange:function(e){return a("buttons",n,"name",e)},"data-testid":"rename",inDropdown:!0}),r.createElement(Dp,{group_data:i[t],object:h,type:"button"}),r.createElement(Qc,{model:"button",inDropdown:!0,deleteDisabled:c(t)<=1,onClose:function(){f(n),i[t].children.length<=2&&-1===v.indexOf(i[t].menu_style)&&a(P,t,"menu_style","default")},"data-testid":"delete"})))),r.createElement("div",{className:"button-settings"},r.createElement("div",{className:"button-visibility"},r.createElement("div",{className:"button-title"},at("settings.show_mobile_desktop.title")+":"," "),r.createElement(Tl,{content:at("settings.show_mobile_desktop.toggle_mobile")},r.createElement(zo,{color:"primary",variant:h.show_mobile?"contained":"outlined",onClick:function(){return g("show_mobile")},"data-testid":"show_mobile"},r.createElement("i",{className:"fas fa-mobile-alt"}))),r.createElement(Tl,{content:at("settings.show_mobile_desktop.toggle_desktop")},r.createElement(zo,{color:"primary",variant:h.show_desktop?"contained":"outlined",onClick:function(){return g("show_desktop")},"data-testid":"show_desktop"},r.createElement("i",{className:"fas fa-desktop"})))),r.createElement("div",{className:"clear"}))),r.createElement(Tl,{content:at("utils.add_button"),shiftClick:!0,arrow:!1},r.createElement(zo,{onClick:function(e){return p(e.shiftKey)},color:"primary",variant:"text",size:"small",style:{marginBottom:"10px"},startIcon:r.createElement(Pc,{className:"fas fa-plus-circle"}),"data-testid":"new-button"},at("utils.add_button"))))}));function Up(e,t){var n=(0,r.useState)((function(){return{inputs:t,result:e()}}))[0],o=(0,r.useRef)(!0),i=(0,r.useRef)(n),a=o.current||Boolean(t&&i.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,i.current.inputs))?i.current:{inputs:t,result:e()};return(0,r.useEffect)((function(){o.current=!1,i.current=a}),[a]),a.result}var Zp=Up,Hp=function(e,t){return Up((function(){return e}),t)},Wp=function(e){var t=e.top,n=e.right,r=e.bottom,o=e.left;return{top:t,right:n,bottom:r,left:o,width:n-o,height:r-t,x:o,y:t,center:{x:(n+o)/2,y:(r+t)/2}}},Gp=function(e,t){return{top:e.top-t.top,left:e.left-t.left,bottom:e.bottom+t.bottom,right:e.right+t.right}},Vp=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},$p={top:0,right:0,bottom:0,left:0},Kp=function(e){var t=e.borderBox,n=e.margin,r=void 0===n?$p:n,o=e.border,i=void 0===o?$p:o,a=e.padding,l=void 0===a?$p:a,s=Wp(Gp(t,r)),u=Wp(Vp(t,i)),c=Wp(Vp(u,l));return{marginBox:s,borderBox:Wp(t),paddingBox:u,contentBox:c,margin:r,border:i,padding:l}},qp=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var n=Number(t);return isNaN(n)&&Lu(!1),n},Yp=function(e,t){var n,r,o=e.borderBox,i=e.border,a=e.margin,l=e.padding,s=(r=t,{top:(n=o).top+r.y,left:n.left+r.x,bottom:n.bottom+r.y,right:n.right+r.x});return Kp({borderBox:s,border:i,margin:a,padding:l})},Jp=function(e,t){return void 0===t&&(t={x:window.pageXOffset,y:window.pageYOffset}),Yp(e,t)},Xp=function(e,t){var n={top:qp(t.marginTop),right:qp(t.marginRight),bottom:qp(t.marginBottom),left:qp(t.marginLeft)},r={top:qp(t.paddingTop),right:qp(t.paddingRight),bottom:qp(t.paddingBottom),left:qp(t.paddingLeft)},o={top:qp(t.borderTopWidth),right:qp(t.borderRightWidth),bottom:qp(t.borderBottomWidth),left:qp(t.borderLeftWidth)};return Kp({borderBox:e,margin:n,padding:r,border:o})},Qp=function(e){var t=e.getBoundingClientRect(),n=window.getComputedStyle(e);return Xp(t,n)},eh=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function th(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(r=e[n],o=t[n],!(r===o||eh(r)&&eh(o)))return!1;var r,o;return!0}var nh=function(e,t){var n;void 0===t&&(t=th);var r,o=[],i=!1;return function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];return i&&n===this&&t(a,o)||(r=e.apply(this,a),i=!0,n=this,o=a),r}},rh=function(e){var t=[],n=null,r=function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];t=o,n||(n=requestAnimationFrame((function(){n=null,e.apply(void 0,t)})))};return r.cancel=function(){n&&(cancelAnimationFrame(n),n=null)},r};function oh(e,t){}oh.bind(null,"warn"),oh.bind(null,"error");function ih(){}function ah(e,t,n){var r=t.map((function(t){var r=function(e,t){return(0,po.Z)({},e,{},t)}(n,t.options);return e.addEventListener(t.eventName,t.fn,r),function(){e.removeEventListener(t.eventName,t.fn,r)}}));return function(){r.forEach((function(e){e()}))}}function lh(e){this.message=e}function sh(e,t){if(!e)throw new lh("Invariant failed")}lh.prototype.toString=function(){return this.message};var uh=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).callbacks=null,t.unbind=ih,t.onWindowError=function(e){var n=t.getCallbacks();n.isDragging()&&n.tryAbort(),e.error instanceof lh&&e.preventDefault()},t.getCallbacks=function(){if(!t.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return t.callbacks},t.setCallbacks=function(e){t.callbacks=e},t}(0,So.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.unbind=ah(window,[{eventName:"error",fn:this.onWindowError}])},n.componentDidCatch=function(e){if(!(e instanceof lh))throw e;this.setState({})},n.componentWillUnmount=function(){this.unbind()},n.render=function(){return this.props.children(this.setCallbacks)},t}(r.Component),ch=function(e){return e+1},fh=function(e,t){var n=e.droppableId===t.droppableId,r=ch(e.index),o=ch(t.index);return n?"\n You have moved the item from position "+r+"\n to position "+o+"\n ":"\n You have moved the item from position "+r+"\n in list "+e.droppableId+"\n to list "+t.droppableId+"\n in position "+o+"\n "},dh=function(e,t,n){return t.droppableId===n.droppableId?"\n The item "+e+"\n has been combined with "+n.draggableId:"\n The item "+e+"\n in list "+t.droppableId+"\n has been combined with "+n.draggableId+"\n in list "+n.droppableId+"\n "},ph=function(e){return"\n The item has returned to its starting position\n of "+ch(e.index)+"\n"},hh="\n Press space bar to start a drag.\n When dragging you can use the arrow keys to move the item around and escape to cancel.\n Some screen readers may require you to be in focus mode or to use your pass through key\n",mh=function(e){return"\n You have lifted an item in position "+ch(e.source.index)+"\n"},vh=function(e){var t=e.destination;if(t)return fh(e.source,t);var n=e.combine;return n?dh(e.draggableId,e.source,n):"You are over an area that cannot be dropped on"},gh=function(e){if("CANCEL"===e.reason)return"\n Movement cancelled.\n "+ph(e.source)+"\n ";var t=e.destination,n=e.combine;return t?"\n You have dropped the item.\n "+fh(e.source,t)+"\n ":n?"\n You have dropped the item.\n "+dh(e.draggableId,e.source,n)+"\n ":"\n The item has been dropped while not over a drop area.\n "+ph(e.source)+"\n "},yh={x:0,y:0},bh=function(e,t){return{x:e.x+t.x,y:e.y+t.y}},wh=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},xh=function(e,t){return e.x===t.x&&e.y===t.y},Eh=function(e){return{x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}},_h=function(e,t,n){var r;return void 0===n&&(n=0),(r={})[e]=t,r["x"===e?"y":"x"]=n,r},Sh=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},Oh=function(e,t){return Math.min.apply(Math,t.map((function(t){return Sh(e,t)})))},kh=function(e){return function(t){return{x:e(t.x),y:e(t.y)}}},Ch=function(e,t){return{top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}},Ph=function(e){return[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}]},jh=function(e,t){return t&&t.shouldClipSubject?function(e,t){var n=Wp({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return n.width<=0||n.height<=0?null:n}(t.pageMarginBox,e):Wp(e)},Ah=function(e){var t=e.page,n=e.withPlaceholder,r=e.axis,o=e.frame,i=function(e,t,n){var r;return n&&n.increasedBy?(0,po.Z)({},e,((r={})[t.end]=e[t.end]+n.increasedBy[t.line],r)):e}(function(e,t){return t?Ch(e,t.scroll.diff.displacement):e}(t.marginBox,o),r,n);return{page:t,withPlaceholder:n,active:jh(i,o)}},Th=function(e,t){e.frame||sh(!1);var n=e.frame,r=wh(t,n.scroll.initial),o=Eh(r),i=(0,po.Z)({},n,{scroll:{initial:n.scroll.initial,current:t,diff:{value:r,displacement:o},max:n.scroll.max}}),a=Ah({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:i});return(0,po.Z)({},e,{frame:i,subject:a})};function Ih(e){return Object.values?Object.values(e):Object.keys(e).map((function(t){return e[t]}))}function Rh(e,t){if(e.findIndex)return e.findIndex(t);for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1}function Nh(e,t){if(e.find)return e.find(t);var n=Rh(e,t);return-1!==n?e[n]:void 0}function Dh(e){return Array.prototype.slice.call(e)}var Mh=nh((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),Lh=nh((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),Fh=nh((function(e){return Ih(e)})),Bh=nh((function(e){return Ih(e)})),zh=nh((function(e,t){return Bh(t).filter((function(t){return e===t.descriptor.droppableId})).sort((function(e,t){return e.descriptor.index-t.descriptor.index}))}));function Uh(e){return e.at&&"REORDER"===e.at.type?e.at.destination:null}function Zh(e){return e.at&&"COMBINE"===e.at.type?e.at.combine:null}var Hh=nh((function(e,t){return t.filter((function(t){return t.descriptor.id!==e.descriptor.id}))})),Wh=function(e,t){return e.descriptor.droppableId===t.descriptor.id},Gh={point:yh,value:0},Vh={invisible:{},visible:{},all:[]},$h={displaced:Vh,displacedBy:Gh,at:null},Kh=function(e,t){return function(n){return e<=n&&n<=t}},qh=function(e){var t=Kh(e.top,e.bottom),n=Kh(e.left,e.right);return function(r){if(t(r.top)&&t(r.bottom)&&n(r.left)&&n(r.right))return!0;var o=t(r.top)||t(r.bottom),i=n(r.left)||n(r.right);if(o&&i)return!0;var a=r.top<e.top&&r.bottom>e.bottom,l=r.left<e.left&&r.right>e.right;return!(!a||!l)||(a&&i||l&&o)}},Yh=function(e){var t=Kh(e.top,e.bottom),n=Kh(e.left,e.right);return function(e){return t(e.top)&&t(e.bottom)&&n(e.left)&&n(e.right)}},Jh={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},Xh={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},Qh=function(e){var t=e.target,n=e.destination,r=e.viewport,o=e.withDroppableDisplacement,i=e.isVisibleThroughFrameFn,a=o?function(e,t){var n=t.frame?t.frame.scroll.diff.displacement:yh;return Ch(e,n)}(t,n):t;return function(e,t,n){return!!t.subject.active&&n(t.subject.active)(e)}(a,n,i)&&function(e,t,n){return n(t)(e)}(a,r,i)},em=function(e){return Qh((0,po.Z)({},e,{isVisibleThroughFrameFn:qh}))},tm=function(e){return Qh((0,po.Z)({},e,{isVisibleThroughFrameFn:Yh}))};function nm(e){var t=e.afterDragging,n=e.destination,r=e.displacedBy,o=e.viewport,i=e.forceShouldAnimate,a=e.last;return t.reduce((function(e,t){var l=function(e,t){var n=e.page.marginBox,r={top:t.point.y,right:0,bottom:0,left:t.point.x};return Wp(Gp(n,r))}(t,r),s=t.descriptor.id;if(e.all.push(s),!em({target:l,destination:n,viewport:o,withDroppableDisplacement:!0}))return e.invisible[t.descriptor.id]=!0,e;var u={draggableId:s,shouldAnimate:function(e,t,n){if("boolean"==typeof n)return n;if(!t)return!0;var r=t.invisible,o=t.visible;if(r[e])return!1;var i=o[e];return!i||i.shouldAnimate}(s,a,i)};return e.visible[s]=u,e}),{all:[],visible:{},invisible:{}})}function rm(e){var t=e.insideDestination,n=e.inHomeList,r=e.displacedBy,o=e.destination,i=function(e,t){if(!e.length)return 0;var n=e[e.length-1].descriptor.index;return t.inHomeList?n:n+1}(t,{inHomeList:n});return{displaced:Vh,displacedBy:r,at:{type:"REORDER",destination:{droppableId:o.descriptor.id,index:i}}}}function om(e){var t=e.draggable,n=e.insideDestination,r=e.destination,o=e.viewport,i=e.displacedBy,a=e.last,l=e.index,s=e.forceShouldAnimate,u=Wh(t,r);if(null==l)return rm({insideDestination:n,inHomeList:u,displacedBy:i,destination:r});var c=Nh(n,(function(e){return e.descriptor.index===l}));if(!c)return rm({insideDestination:n,inHomeList:u,displacedBy:i,destination:r});var f=Hh(t,n),d=n.indexOf(c);return{displaced:nm({afterDragging:f.slice(d),destination:r,displacedBy:i,last:a,viewport:o.frame,forceShouldAnimate:s}),displacedBy:i,at:{type:"REORDER",destination:{droppableId:r.descriptor.id,index:l}}}}function im(e,t){return Boolean(t.effected[e])}var am=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.draggable,o=e.draggables,i=e.destination,a=e.insideDestination,l=e.previousImpact,s=e.viewport,u=e.afterCritical,c=l.at;if(c||sh(!1),"REORDER"===c.type){var f=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.insideDestination,o=e.location;if(!r.length)return null;var i=o.index,a=t?i+1:i-1,l=r[0].descriptor.index,s=r[r.length-1].descriptor.index;return a<l||a>(n?s:s+1)?null:a}({isMovingForward:t,isInHomeList:n,location:c.destination,insideDestination:a});return null==f?null:om({draggable:r,insideDestination:a,destination:i,viewport:s,last:l.displaced,displacedBy:l.displacedBy,index:f})}var d=function(e){var t=e.isMovingForward,n=e.destination,r=e.draggables,o=e.combine,i=e.afterCritical;if(!n.isCombineEnabled)return null;var a=o.draggableId,l=r[a].descriptor.index;return im(a,i)?t?l:l-1:t?l+1:l}({isMovingForward:t,destination:i,displaced:l.displaced,draggables:o,combine:c.combine,afterCritical:u});return null==d?null:om({draggable:r,insideDestination:a,destination:i,viewport:s,last:l.displaced,displacedBy:l.displacedBy,index:d})},lm=function(e){var t=e.afterCritical,n=e.impact,r=e.draggables,o=Zh(n);o||sh(!1);var i=o.draggableId,a=r[i].page.borderBox.center,l=function(e){var t=e.displaced,n=e.afterCritical,r=e.combineWith,o=e.displacedBy,i=Boolean(t.visible[r]||t.invisible[r]);return im(r,n)?i?yh:Eh(o.point):i?o.point:yh}({displaced:n.displaced,afterCritical:t,combineWith:i,displacedBy:n.displacedBy});return bh(a,l)},sm=function(e,t){return t.margin[e.start]+t.borderBox[e.size]/2},um=function(e,t,n){return t[e.crossAxisStart]+n.margin[e.crossAxisStart]+n.borderBox[e.crossAxisSize]/2},cm=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return _h(t.line,n.marginBox[t.end]+sm(t,r),um(t,n.marginBox,r))},fm=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return _h(t.line,n.marginBox[t.start]-function(e,t){return t.margin[e.end]+t.borderBox[e.size]/2}(t,r),um(t,n.marginBox,r))},dm=function(e){var t=e.impact,n=e.draggable,r=e.draggables,o=e.droppable,i=e.afterCritical,a=zh(o.descriptor.id,r),l=n.page,s=o.axis;if(!a.length)return function(e){var t=e.axis,n=e.moveInto,r=e.isMoving;return _h(t.line,n.contentBox[t.start]+sm(t,r),um(t,n.contentBox,r))}({axis:s,moveInto:o.page,isMoving:l});var u=t.displaced,c=t.displacedBy,f=u.all[0];if(f){var d=r[f];if(im(f,i))return fm({axis:s,moveRelativeTo:d.page,isMoving:l});var p=Yp(d.page,c.point);return fm({axis:s,moveRelativeTo:p,isMoving:l})}var h=a[a.length-1];if(h.descriptor.id===n.descriptor.id)return l.borderBox.center;if(im(h.descriptor.id,i)){var m=Yp(h.page,Eh(i.displacedBy.point));return cm({axis:s,moveRelativeTo:m,isMoving:l})}return cm({axis:s,moveRelativeTo:h.page,isMoving:l})},pm=function(e,t){var n=e.frame;return n?bh(t,n.scroll.diff.displacement):t},hm=function(e){var t=function(e){var t=e.impact,n=e.draggable,r=e.droppable,o=e.draggables,i=e.afterCritical,a=n.page.borderBox.center,l=t.at;return r&&l?"REORDER"===l.type?dm({impact:t,draggable:n,draggables:o,droppable:r,afterCritical:i}):lm({impact:t,draggables:o,afterCritical:i}):a}(e),n=e.droppable;return n?pm(n,t):t},mm=function(e,t){var n=wh(t,e.scroll.initial),r=Eh(n);return{frame:Wp({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:n,displacement:r}}}};function vm(e,t){return e.map((function(e){return t[e]}))}var gm=function(e){var t=e.pageBorderBoxCenter,n=e.draggable,r=function(e,t){return bh(e.scroll.diff.displacement,t)}(e.viewport,t),o=wh(r,n.page.borderBox.center);return bh(n.client.borderBox.center,o)},ym=function(e){var t=e.draggable,n=e.destination,r=e.newPageBorderBoxCenter,o=e.viewport,i=e.withDroppableDisplacement,a=e.onlyOnMainAxis,l=void 0!==a&&a,s=wh(r,t.page.borderBox.center),u={target:Ch(t.page.borderBox,s),destination:n,withDroppableDisplacement:i,viewport:o};return l?function(e){return Qh((0,po.Z)({},e,{isVisibleThroughFrameFn:(t=e.destination.axis,function(e){var n=Kh(e.top,e.bottom),r=Kh(e.left,e.right);return function(e){return t===Jh?n(e.top)&&n(e.bottom):r(e.left)&&r(e.right)}})}));var t}(u):tm(u)},bm=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,o=e.draggables,i=e.previousImpact,a=e.viewport,l=e.previousPageBorderBoxCenter,s=e.previousClientSelection,u=e.afterCritical;if(!r.isEnabled)return null;var c=zh(r.descriptor.id,o),f=Wh(n,r),d=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,o=e.insideDestination,i=e.previousImpact;if(!r.isCombineEnabled)return null;if(!Uh(i))return null;function a(e){var t={type:"COMBINE",combine:{draggableId:e,droppableId:r.descriptor.id}};return(0,po.Z)({},i,{at:t})}var l=i.displaced.all,s=l.length?l[0]:null;if(t)return s?a(s):null;var u=Hh(n,o);if(!s)return u.length?a(u[u.length-1].descriptor.id):null;var c=Rh(u,(function(e){return e.descriptor.id===s}));-1===c&&sh(!1);var f=c-1;return f<0?null:a(u[f].descriptor.id)}({isMovingForward:t,draggable:n,destination:r,insideDestination:c,previousImpact:i})||am({isMovingForward:t,isInHomeList:f,draggable:n,draggables:o,destination:r,insideDestination:c,previousImpact:i,viewport:a,afterCritical:u});if(!d)return null;var p=hm({impact:d,draggable:n,droppable:r,draggables:o,afterCritical:u});if(ym({draggable:n,destination:r,newPageBorderBoxCenter:p,viewport:a.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:gm({pageBorderBoxCenter:p,draggable:n,viewport:a}),impact:d,scrollJumpRequest:null};var h=wh(p,l);return{clientSelection:s,impact:function(e){var t=e.impact,n=e.viewport,r=e.destination,o=e.draggables,i=e.maxScrollChange,a=mm(n,bh(n.scroll.current,i)),l=r.frame?Th(r,bh(r.frame.scroll.current,i)):r,s=t.displaced,u=nm({afterDragging:vm(s.all,o),destination:r,displacedBy:t.displacedBy,viewport:a.frame,last:s,forceShouldAnimate:!1}),c=nm({afterDragging:vm(s.all,o),destination:l,displacedBy:t.displacedBy,viewport:n.frame,last:s,forceShouldAnimate:!1}),f={},d={},p=[s,u,c];return s.all.forEach((function(e){var t=function(e,t){for(var n=0;n<t.length;n++){var r=t[n].visible[e];if(r)return r}return null}(e,p);t?d[e]=t:f[e]=!0})),(0,po.Z)({},t,{displaced:{all:s.all,invisible:f,visible:d}})}({impact:d,viewport:a,destination:r,draggables:o,maxScrollChange:h}),scrollJumpRequest:h}},wm=function(e){var t=e.subject.active;return t||sh(!1),t},xm=function(e,t){var n=e.page.borderBox.center;return im(e.descriptor.id,t)?wh(n,t.displacedBy.point):n},Em=function(e,t){var n=e.page.borderBox;return im(e.descriptor.id,t)?Ch(n,Eh(t.displacedBy.point)):n},_m=nh((function(e,t){var n=t[e.line];return{value:n,point:_h(e.line,n)}})),Sm=function(e,t){return(0,po.Z)({},e,{scroll:(0,po.Z)({},e.scroll,{max:t})})},Om=function(e,t,n){var r=e.frame;Wh(t,e)&&sh(!1),e.subject.withPlaceholder&&sh(!1);var o=_m(e.axis,t.displaceBy).point,i=function(e,t,n){var r=e.axis;if("virtual"===e.descriptor.mode)return _h(r.line,t[r.line]);var o=e.subject.page.contentBox[r.size],i=zh(e.descriptor.id,n).reduce((function(e,t){return e+t.client.marginBox[r.size]}),0)+t[r.line]-o;return i<=0?null:_h(r.line,i)}(e,o,n),a={placeholderSize:o,increasedBy:i,oldFrameMaxScroll:e.frame?e.frame.scroll.max:null};if(!r){var l=Ah({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:e.frame});return(0,po.Z)({},e,{subject:l})}var s=i?bh(r.scroll.max,i):r.scroll.max,u=Sm(r,s),c=Ah({page:e.subject.page,withPlaceholder:a,axis:e.axis,frame:u});return(0,po.Z)({},e,{subject:c,frame:u})},km=function(e){var t=e.isMovingForward,n=e.previousPageBorderBoxCenter,r=e.draggable,o=e.isOver,i=e.draggables,a=e.droppables,l=e.viewport,s=e.afterCritical,u=function(e){var t=e.isMovingForward,n=e.pageBorderBoxCenter,r=e.source,o=e.droppables,i=e.viewport,a=r.subject.active;if(!a)return null;var l=r.axis,s=Kh(a[l.start],a[l.end]),u=Fh(o).filter((function(e){return e!==r})).filter((function(e){return e.isEnabled})).filter((function(e){return Boolean(e.subject.active)})).filter((function(e){return qh(i.frame)(wm(e))})).filter((function(e){var n=wm(e);return t?a[l.crossAxisEnd]<n[l.crossAxisEnd]:n[l.crossAxisStart]<a[l.crossAxisStart]})).filter((function(e){var t=wm(e),n=Kh(t[l.start],t[l.end]);return s(t[l.start])||s(t[l.end])||n(a[l.start])||n(a[l.end])})).sort((function(e,n){var r=wm(e)[l.crossAxisStart],o=wm(n)[l.crossAxisStart];return t?r-o:o-r})).filter((function(e,t,n){return wm(e)[l.crossAxisStart]===wm(n[0])[l.crossAxisStart]}));if(!u.length)return null;if(1===u.length)return u[0];var c=u.filter((function(e){return Kh(wm(e)[l.start],wm(e)[l.end])(n[l.line])}));return 1===c.length?c[0]:c.length>1?c.sort((function(e,t){return wm(e)[l.start]-wm(t)[l.start]}))[0]:u.sort((function(e,t){var r=Oh(n,Ph(wm(e))),o=Oh(n,Ph(wm(t)));return r!==o?r-o:wm(e)[l.start]-wm(t)[l.start]}))[0]}({isMovingForward:t,pageBorderBoxCenter:n,source:o,droppables:a,viewport:l});if(!u)return null;var c=zh(u.descriptor.id,i),f=function(e){var t=e.previousPageBorderBoxCenter,n=e.moveRelativeTo,r=e.insideDestination,o=e.draggable,i=e.draggables,a=e.destination,l=e.viewport,s=e.afterCritical;if(!n){if(r.length)return null;var u={displaced:Vh,displacedBy:Gh,at:{type:"REORDER",destination:{droppableId:a.descriptor.id,index:0}}},c=hm({impact:u,draggable:o,droppable:a,draggables:i,afterCritical:s}),f=Wh(o,a)?a:Om(a,o,i);return ym({draggable:o,destination:f,newPageBorderBoxCenter:c,viewport:l.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0})?u:null}var d,p=Boolean(t[a.axis.line]<=n.page.borderBox.center[a.axis.line]),h=(d=n.descriptor.index,n.descriptor.id===o.descriptor.id||p?d:d+1),m=_m(a.axis,o.displaceBy);return om({draggable:o,insideDestination:r,destination:a,viewport:l,displacedBy:m,last:Vh,index:h})}({previousPageBorderBoxCenter:n,destination:u,draggable:r,draggables:i,moveRelativeTo:function(e){var t=e.pageBorderBoxCenter,n=e.viewport,r=e.destination,o=e.insideDestination,i=e.afterCritical;return o.filter((function(e){return tm({target:Em(e,i),destination:r,viewport:n.frame,withDroppableDisplacement:!0})})).sort((function(e,n){var o=Sh(t,pm(r,xm(e,i))),a=Sh(t,pm(r,xm(n,i)));return o<a?-1:a<o?1:e.descriptor.index-n.descriptor.index}))[0]||null}({pageBorderBoxCenter:n,viewport:l,destination:u,insideDestination:c,afterCritical:s}),insideDestination:c,viewport:l,afterCritical:s});if(!f)return null;var d=hm({impact:f,draggable:r,droppable:u,draggables:i,afterCritical:s});return{clientSelection:gm({pageBorderBoxCenter:d,draggable:r,viewport:l}),impact:f,scrollJumpRequest:null}},Cm=function(e){var t=e.at;return t?"REORDER"===t.type?t.destination.droppableId:t.combine.droppableId:null},Pm=function(e){var t=e.state,n=e.type,r=function(e,t){var n=Cm(e);return n?t[n]:null}(t.impact,t.dimensions.droppables),o=Boolean(r),i=t.dimensions.droppables[t.critical.droppable.id],a=r||i,l=a.axis.direction,s="vertical"===l&&("MOVE_UP"===n||"MOVE_DOWN"===n)||"horizontal"===l&&("MOVE_LEFT"===n||"MOVE_RIGHT"===n);if(s&&!o)return null;var u="MOVE_DOWN"===n||"MOVE_RIGHT"===n,c=t.dimensions.draggables[t.critical.draggable.id],f=t.current.page.borderBoxCenter,d=t.dimensions,p=d.draggables,h=d.droppables;return s?bm({isMovingForward:u,previousPageBorderBoxCenter:f,draggable:c,destination:a,draggables:p,viewport:t.viewport,previousClientSelection:t.current.client.selection,previousImpact:t.impact,afterCritical:t.afterCritical}):km({isMovingForward:u,previousPageBorderBoxCenter:f,draggable:c,isOver:a,draggables:p,droppables:h,viewport:t.viewport,afterCritical:t.afterCritical})};function jm(e){return"DRAGGING"===e.phase||"COLLECTING"===e.phase}function Am(e){var t=Kh(e.top,e.bottom),n=Kh(e.left,e.right);return function(e){return t(e.y)&&n(e.x)}}function Tm(e){var t=e.pageBorderBox,n=e.draggable,r=e.droppables,o=Fh(r).filter((function(e){if(!e.isEnabled)return!1;var n,r,o=e.subject.active;if(!o)return!1;if(r=o,!((n=t).left<r.right&&n.right>r.left&&n.top<r.bottom&&n.bottom>r.top))return!1;if(Am(o)(t.center))return!0;var i=e.axis,a=o.center[i.crossAxisLine],l=t[i.crossAxisStart],s=t[i.crossAxisEnd],u=Kh(o[i.crossAxisStart],o[i.crossAxisEnd]),c=u(l),f=u(s);return!c&&!f||(c?l<a:s>a)}));return o.length?1===o.length?o[0].descriptor.id:function(e){var t=e.pageBorderBox,n=e.draggable,r=e.candidates,o=n.page.borderBox.center,i=r.map((function(e){var n=e.axis,r=_h(e.axis.line,t.center[n.line],e.page.borderBox.center[n.crossAxisLine]);return{id:e.descriptor.id,distance:Sh(o,r)}})).sort((function(e,t){return t.distance-e.distance}));return i[0]?i[0].id:null}({pageBorderBox:t,draggable:n,candidates:o}):null}var Im=function(e,t){return Wp(Ch(e,t))};function Rm(e){var t=e.displaced,n=e.id;return Boolean(t.visible[n]||t.invisible[n])}var Nm=function(e){var t=e.pageOffset,n=e.draggable,r=e.draggables,o=e.droppables,i=e.previousImpact,a=e.viewport,l=e.afterCritical,s=Im(n.page.borderBox,t),u=Tm({pageBorderBox:s,draggable:n,droppables:o});if(!u)return $h;var c=o[u],f=zh(c.descriptor.id,r),d=function(e,t){var n=e.frame;return n?Im(t,n.scroll.diff.value):t}(c,s);return function(e){var t=e.draggable,n=e.pageBorderBoxWithDroppableScroll,r=e.previousImpact,o=e.destination,i=e.insideDestination,a=e.afterCritical;if(!o.isCombineEnabled)return null;var l=o.axis,s=_m(o.axis,t.displaceBy),u=s.value,c=n[l.start],f=n[l.end],d=Nh(Hh(t,i),(function(e){var t=e.descriptor.id,n=e.page.borderBox,o=n[l.size]/4,i=im(t,a),s=Rm({displaced:r.displaced,id:t});return i?s?f>n[l.start]+o&&f<n[l.end]-o:c>n[l.start]-u+o&&c<n[l.end]-u-o:s?f>n[l.start]+u+o&&f<n[l.end]+u-o:c>n[l.start]+o&&c<n[l.end]-o}));return d?{displacedBy:s,displaced:r.displaced,at:{type:"COMBINE",combine:{draggableId:d.descriptor.id,droppableId:o.descriptor.id}}}:null}({pageBorderBoxWithDroppableScroll:d,draggable:n,previousImpact:i,destination:c,insideDestination:f,afterCritical:l})||function(e){var t=e.pageBorderBoxWithDroppableScroll,n=e.draggable,r=e.destination,o=e.insideDestination,i=e.last,a=e.viewport,l=e.afterCritical,s=r.axis,u=_m(r.axis,n.displaceBy),c=u.value,f=t[s.start],d=t[s.end],p=function(e){var t=e.draggable,n=e.closest,r=e.inHomeList;return n?r&&n.descriptor.index>t.descriptor.index?n.descriptor.index-1:n.descriptor.index:null}({draggable:n,closest:Nh(Hh(n,o),(function(e){var t=e.descriptor.id,n=e.page.borderBox.center[s.line],r=im(t,l),o=Rm({displaced:i,id:t});return r?o?d<=n:f<n-c:o?d<=n+c:f<n})),inHomeList:Wh(n,r)});return om({draggable:n,insideDestination:o,destination:r,viewport:a,last:i,displacedBy:u,index:p})}({pageBorderBoxWithDroppableScroll:d,draggable:n,destination:c,insideDestination:f,last:i.displaced,viewport:a,afterCritical:l})},Dm=function(e,t){var n;return(0,po.Z)({},e,((n={})[t.descriptor.id]=t,n))},Mm=function(e){var t=e.previousImpact,n=e.impact,r=e.droppables,o=Cm(t),i=Cm(n);if(!o)return r;if(o===i)return r;var a=r[o];if(!a.subject.withPlaceholder)return r;var l=function(e){var t=e.subject.withPlaceholder;t||sh(!1);var n=e.frame;if(!n){var r=Ah({page:e.subject.page,axis:e.axis,frame:null,withPlaceholder:null});return(0,po.Z)({},e,{subject:r})}var o=t.oldFrameMaxScroll;o||sh(!1);var i=Sm(n,o),a=Ah({page:e.subject.page,axis:e.axis,frame:i,withPlaceholder:null});return(0,po.Z)({},e,{subject:a,frame:i})}(a);return Dm(r,l)},Lm=function(e){var t=e.state,n=e.clientSelection,r=e.dimensions,o=e.viewport,i=e.impact,a=e.scrollJumpRequest,l=o||t.viewport,s=r||t.dimensions,u=n||t.current.client.selection,c=wh(u,t.initial.client.selection),f={offset:c,selection:u,borderBoxCenter:bh(t.initial.client.borderBoxCenter,c)},d={selection:bh(f.selection,l.scroll.current),borderBoxCenter:bh(f.borderBoxCenter,l.scroll.current),offset:bh(f.offset,l.scroll.diff.value)},p={client:f,page:d};if("COLLECTING"===t.phase)return(0,po.Z)({phase:"COLLECTING"},t,{dimensions:s,viewport:l,current:p});var h=s.draggables[t.critical.draggable.id],m=i||Nm({pageOffset:d.offset,draggable:h,draggables:s.draggables,droppables:s.droppables,previousImpact:t.impact,viewport:l,afterCritical:t.afterCritical}),v=function(e){var t=e.draggable,n=e.draggables,r=e.droppables,o=e.previousImpact,i=e.impact,a=Mm({previousImpact:o,impact:i,droppables:r}),l=Cm(i);if(!l)return a;var s=r[l];if(Wh(t,s))return a;if(s.subject.withPlaceholder)return a;var u=Om(s,t,n);return Dm(a,u)}({draggable:h,impact:m,previousImpact:t.impact,draggables:s.draggables,droppables:s.droppables});return(0,po.Z)({},t,{current:p,dimensions:{draggables:s.draggables,droppables:v},impact:m,viewport:l,scrollJumpRequest:a||null,forceShouldAnimate:!a&&null})};var Fm=function(e){var t=e.impact,n=e.viewport,r=e.draggables,o=e.destination,i=e.forceShouldAnimate,a=t.displaced,l=nm({afterDragging:function(e,t){return e.map((function(e){return t[e]}))}(a.all,r),destination:o,displacedBy:t.displacedBy,viewport:n.frame,forceShouldAnimate:i,last:a});return(0,po.Z)({},t,{displaced:l})},Bm=function(e){var t=e.impact,n=e.draggable,r=e.droppable,o=e.draggables,i=e.viewport,a=e.afterCritical,l=hm({impact:t,draggable:n,draggables:o,droppable:r,afterCritical:a});return gm({pageBorderBoxCenter:l,draggable:n,viewport:i})},zm=function(e){var t=e.state,n=e.dimensions,r=e.viewport;"SNAP"!==t.movementMode&&sh(!1);var o=t.impact,i=r||t.viewport,a=n||t.dimensions,l=a.draggables,s=a.droppables,u=l[t.critical.draggable.id],c=Cm(o);c||sh(!1);var f=s[c],d=Fm({impact:o,viewport:i,destination:f,draggables:l}),p=Bm({impact:d,draggable:u,droppable:f,draggables:l,viewport:i,afterCritical:t.afterCritical});return Lm({impact:d,clientSelection:p,state:t,dimensions:a,viewport:i})},Um=function(e){var t=e.draggable,n=e.home,r=e.draggables,o=e.viewport,i=_m(n.axis,t.displaceBy),a=zh(n.descriptor.id,r),l=a.indexOf(t);-1===l&&sh(!1);var s,u=a.slice(l+1),c=u.reduce((function(e,t){return e[t.descriptor.id]=!0,e}),{}),f={inVirtualList:"virtual"===n.descriptor.mode,displacedBy:i,effected:c};return{impact:{displaced:nm({afterDragging:u,destination:n,displacedBy:i,last:null,viewport:o.frame,forceShouldAnimate:!1}),displacedBy:i,at:{type:"REORDER",destination:(s=t.descriptor,{index:s.index,droppableId:s.droppableId})}},afterCritical:f}},Zm=function(e){0},Hm=function(e){0},Wm=function(e){var t=e.additions,n=e.updatedDroppables,r=e.viewport,o=r.scroll.diff.value;return t.map((function(e){var t=e.descriptor.droppableId,i=function(e){var t=e.frame;return t||sh(!1),t}(n[t]).scroll.diff.value;return function(e){var t=e.draggable,n=e.offset,r=e.initialWindowScroll,o=Yp(t.client,n),i=Jp(o,r);return(0,po.Z)({},t,{placeholder:(0,po.Z)({},t.placeholder,{client:o}),client:o,page:i})}({draggable:e,offset:bh(o,i),initialWindowScroll:r.scroll.initial})}))},Gm=function(e){return"SNAP"===e.movementMode},Vm=function(e,t,n){var r=function(e,t){return{draggables:e.draggables,droppables:Dm(e.droppables,t)}}(e.dimensions,t);return!Gm(e)||n?Lm({state:e,dimensions:r}):zm({state:e,dimensions:r})};function $m(e){return e.isDragging&&"SNAP"===e.movementMode?(0,po.Z)({phase:"DRAGGING"},e,{scrollJumpRequest:null}):e}var Km={phase:"IDLE",completed:null,shouldFlush:!1},qm=function(e,t){if(void 0===e&&(e=Km),"FLUSH"===t.type)return(0,po.Z)({},Km,{shouldFlush:!0});if("INITIAL_PUBLISH"===t.type){"IDLE"!==e.phase&&sh(!1);var n=t.payload,r=n.critical,o=n.clientSelection,i=n.viewport,a=n.dimensions,l=n.movementMode,s=a.draggables[r.draggable.id],u=a.droppables[r.droppable.id],c={selection:o,borderBoxCenter:s.client.borderBox.center,offset:yh},f={client:c,page:{selection:bh(c.selection,i.scroll.initial),borderBoxCenter:bh(c.selection,i.scroll.initial),offset:bh(c.selection,i.scroll.diff.value)}},d=Fh(a.droppables).every((function(e){return!e.isFixedOnPage})),p=Um({draggable:s,home:u,draggables:a.draggables,viewport:i}),h=p.impact;return{phase:"DRAGGING",isDragging:!0,critical:r,movementMode:l,dimensions:a,initial:f,current:f,isWindowScrollAllowed:d,impact:h,afterCritical:p.afterCritical,onLiftImpact:h,viewport:i,scrollJumpRequest:null,forceShouldAnimate:null}}if("COLLECTION_STARTING"===t.type)return"COLLECTING"===e.phase||"DROP_PENDING"===e.phase?e:("DRAGGING"!==e.phase&&sh(!1),(0,po.Z)({phase:"COLLECTING"},e,{phase:"COLLECTING"}));if("PUBLISH_WHILE_DRAGGING"===t.type)return"COLLECTING"!==e.phase&&"DROP_PENDING"!==e.phase&&sh(!1),function(e){var t=e.state,n=e.published;Zm();var r=n.modified.map((function(e){var n=t.dimensions.droppables[e.droppableId];return Th(n,e.scroll)})),o=(0,po.Z)({},t.dimensions.droppables,{},Mh(r)),i=Lh(Wm({additions:n.additions,updatedDroppables:o,viewport:t.viewport})),a=(0,po.Z)({},t.dimensions.draggables,{},i);n.removals.forEach((function(e){delete a[e]}));var l={droppables:o,draggables:a},s=Cm(t.impact),u=s?l.droppables[s]:null,c=l.draggables[t.critical.draggable.id],f=l.droppables[t.critical.droppable.id],d=Um({draggable:c,home:f,draggables:a,viewport:t.viewport}),p=d.impact,h=d.afterCritical,m=u&&u.isCombineEnabled?t.impact:p,v=Nm({pageOffset:t.current.page.offset,draggable:l.draggables[t.critical.draggable.id],draggables:l.draggables,droppables:l.droppables,previousImpact:m,viewport:t.viewport,afterCritical:h});Hm();var g=(0,po.Z)({phase:"DRAGGING"},t,{phase:"DRAGGING",impact:v,onLiftImpact:p,dimensions:l,afterCritical:h,forceShouldAnimate:!1});return"COLLECTING"===t.phase?g:(0,po.Z)({phase:"DROP_PENDING"},g,{phase:"DROP_PENDING",reason:t.reason,isWaiting:!1})}({state:e,published:t.payload});if("MOVE"===t.type){if("DROP_PENDING"===e.phase)return e;jm(e)||sh(!1);var m=t.payload.client;return xh(m,e.current.client.selection)?e:Lm({state:e,clientSelection:m,impact:Gm(e)?e.impact:null})}if("UPDATE_DROPPABLE_SCROLL"===t.type){if("DROP_PENDING"===e.phase)return $m(e);if("COLLECTING"===e.phase)return $m(e);jm(e)||sh(!1);var v=t.payload,g=v.id,y=v.newScroll,b=e.dimensions.droppables[g];if(!b)return e;var w=Th(b,y);return Vm(e,w,!1)}if("UPDATE_DROPPABLE_IS_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;jm(e)||sh(!1);var x=t.payload,E=x.id,_=x.isEnabled,S=e.dimensions.droppables[E];S||sh(!1),S.isEnabled===_&&sh(!1);var O=(0,po.Z)({},S,{isEnabled:_});return Vm(e,O,!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;jm(e)||sh(!1);var k=t.payload,C=k.id,P=k.isCombineEnabled,j=e.dimensions.droppables[C];j||sh(!1),j.isCombineEnabled===P&&sh(!1);var A=(0,po.Z)({},j,{isCombineEnabled:P});return Vm(e,A,!0)}if("MOVE_BY_WINDOW_SCROLL"===t.type){if("DROP_PENDING"===e.phase||"DROP_ANIMATING"===e.phase)return e;jm(e)||sh(!1),e.isWindowScrollAllowed||sh(!1);var T=t.payload.newScroll;if(xh(e.viewport.scroll.current,T))return $m(e);var I=mm(e.viewport,T);return Gm(e)?zm({state:e,viewport:I}):Lm({state:e,viewport:I})}if("UPDATE_VIEWPORT_MAX_SCROLL"===t.type){if(!jm(e))return e;var R=t.payload.maxScroll;if(xh(R,e.viewport.scroll.max))return e;var N=(0,po.Z)({},e.viewport,{scroll:(0,po.Z)({},e.viewport.scroll,{max:R})});return(0,po.Z)({phase:"DRAGGING"},e,{viewport:N})}if("MOVE_UP"===t.type||"MOVE_DOWN"===t.type||"MOVE_LEFT"===t.type||"MOVE_RIGHT"===t.type){if("COLLECTING"===e.phase||"DROP_PENDING"===e.phase)return e;"DRAGGING"!==e.phase&&sh(!1);var D=Pm({state:e,type:t.type});return D?Lm({state:e,impact:D.impact,clientSelection:D.clientSelection,scrollJumpRequest:D.scrollJumpRequest}):e}if("DROP_PENDING"===t.type){var M=t.payload.reason;return"COLLECTING"!==e.phase&&sh(!1),(0,po.Z)({phase:"DROP_PENDING"},e,{phase:"DROP_PENDING",isWaiting:!0,reason:M})}if("DROP_ANIMATE"===t.type){var L=t.payload,F=L.completed,B=L.dropDuration,z=L.newHomeClientOffset;return"DRAGGING"!==e.phase&&"DROP_PENDING"!==e.phase&&sh(!1),{phase:"DROP_ANIMATING",completed:F,dropDuration:B,newHomeClientOffset:z,dimensions:e.dimensions}}return"DROP_COMPLETE"===t.type?{phase:"IDLE",completed:t.payload.completed,shouldFlush:!1}:e},Ym=function(e){return{type:"PUBLISH_WHILE_DRAGGING",payload:e}},Jm=function(){return{type:"COLLECTION_STARTING",payload:null}},Xm=function(e){return{type:"UPDATE_DROPPABLE_SCROLL",payload:e}},Qm=function(e){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:e}},ev=function(e){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:e}},tv=function(e){return{type:"MOVE",payload:e}},nv=function(){return{type:"MOVE_UP",payload:null}},rv=function(){return{type:"MOVE_DOWN",payload:null}},ov=function(){return{type:"MOVE_RIGHT",payload:null}},iv=function(){return{type:"MOVE_LEFT",payload:null}},av=function(e){return{type:"DROP_COMPLETE",payload:e}},lv=function(e){return{type:"DROP",payload:e}},sv=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};var uv="cubic-bezier(.2,1,.1,1)",cv={drop:0,combining:.7},fv={drop:.75},dv=.2+"s "+"cubic-bezier(0.2, 0, 0, 1)",pv={fluid:"opacity "+dv,snap:"transform "+dv+", opacity "+dv,drop:function(e){var t=e+"s "+uv;return"transform "+t+", opacity "+t},outOfTheWay:"transform "+dv,placeholder:"height "+dv+", width "+dv+", margin "+dv},hv=function(e){return xh(e,yh)?null:"translate("+e.x+"px, "+e.y+"px)"},mv=hv,vv=function(e,t){var n=hv(e);return n?t?n+" scale("+fv.drop+")":n:null},gv=.33,yv=.55,bv=yv-gv,wv=function(e){var t=e.getState,n=e.dispatch;return function(e){return function(r){if("DROP"===r.type){var o=t(),i=r.payload.reason;if("COLLECTING"!==o.phase){if("IDLE"!==o.phase){"DROP_PENDING"===o.phase&&o.isWaiting&&sh(!1),"DRAGGING"!==o.phase&&"DROP_PENDING"!==o.phase&&sh(!1);var a=o.critical,l=o.dimensions,s=l.draggables[o.critical.draggable.id],u=function(e){var t=e.draggables,n=e.reason,r=e.lastImpact,o=e.home,i=e.viewport,a=e.onLiftImpact;return r.at&&"DROP"===n?"REORDER"===r.at.type?{impact:r,didDropInsideDroppable:!0}:{impact:(0,po.Z)({},r,{displaced:Vh}),didDropInsideDroppable:!0}:{impact:Fm({draggables:t,impact:a,destination:o,viewport:i,forceShouldAnimate:!0}),didDropInsideDroppable:!1}}({reason:i,lastImpact:o.impact,afterCritical:o.afterCritical,onLiftImpact:o.onLiftImpact,home:o.dimensions.droppables[o.critical.droppable.id],viewport:o.viewport,draggables:o.dimensions.draggables}),c=u.impact,f=u.didDropInsideDroppable,d=f?Uh(c):null,p=f?Zh(c):null,h={index:a.draggable.index,droppableId:a.droppable.id},m={draggableId:s.descriptor.id,type:s.descriptor.type,source:h,reason:i,mode:o.movementMode,destination:d,combine:p},v=function(e){var t=e.impact,n=e.draggable,r=e.dimensions,o=e.viewport,i=e.afterCritical,a=r.draggables,l=r.droppables,s=Cm(t),u=s?l[s]:null,c=l[n.descriptor.droppableId],f=Bm({impact:t,draggable:n,draggables:a,afterCritical:i,droppable:u||c,viewport:o});return wh(f,n.client.borderBox.center)}({impact:c,draggable:s,dimensions:l,viewport:o.viewport,afterCritical:o.afterCritical}),g={critical:o.critical,afterCritical:o.afterCritical,result:m,impact:c};if(!xh(o.current.client.offset,v)||Boolean(m.combine)){var y=function(e){var t=e.current,n=e.destination,r=e.reason,o=Sh(t,n);if(o<=0)return gv;if(o>=1500)return yv;var i=gv+bv*(o/1500);return Number(("CANCEL"===r?.6*i:i).toFixed(2))}({current:o.current.client.offset,destination:v,reason:i});n(function(e){return{type:"DROP_ANIMATE",payload:e}}({newHomeClientOffset:v,dropDuration:y,completed:g}))}else n(av({completed:g}))}}else n(function(e){return{type:"DROP_PENDING",payload:e}}({reason:i}))}else e(r)}}},xv=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Ev(e){var t=e.onWindowScroll;var n=rh((function(){t(xv())})),r=function(e){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(t){t.target!==window&&t.target!==window.document||e()}}}(n),o=ih;function i(){return o!==ih}return{start:function(){i()&&sh(!1),o=ah(window,[r])},stop:function(){i()||sh(!1),n.cancel(),o(),o=ih},isActive:i}}var _v=function(e){var t=Ev({onWindowScroll:function(t){e.dispatch({type:"MOVE_BY_WINDOW_SCROLL",payload:{newScroll:t}})}});return function(e){return function(n){t.isActive()||"INITIAL_PUBLISH"!==n.type||t.start(),t.isActive()&&function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(n)&&t.stop(),e(n)}}},Sv=function(){var e=[];return{add:function(t){var n=setTimeout((function(){return function(t){var n=Rh(e,(function(e){return e.timerId===t}));-1===n&&sh(!1),e.splice(n,1)[0].callback()}(n)})),r={timerId:n,callback:t};e.push(r)},flush:function(){if(e.length){var t=[].concat(e);e.length=0,t.forEach((function(e){clearTimeout(e.timerId),e.callback()}))}}}},Ov=function(e,t){Zm(),t(),Hm()},kv=function(e,t){return{draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t}},Cv=function(e,t,n,r){if(e){var o=function(e){var t=!1,n=!1,r=setTimeout((function(){n=!0})),o=function(o){t||n||(t=!0,e(o),clearTimeout(r))};return o.wasCalled=function(){return t},o}(n);e(t,{announce:o}),o.wasCalled()||n(r(t))}else n(r(t))},Pv=function(e,t){var n=function(e,t){var n=Sv(),r=null,o=function(n){r||sh(!1),r=null,Ov(0,(function(){return Cv(e().onDragEnd,n,t,gh)}))};return{beforeCapture:function(t,n){r&&sh(!1),Ov(0,(function(){var r=e().onBeforeCapture;r&&r({draggableId:t,mode:n})}))},beforeStart:function(t,n){r&&sh(!1),Ov(0,(function(){var r=e().onBeforeDragStart;r&&r(kv(t,n))}))},start:function(o,i){r&&sh(!1);var a=kv(o,i);r={mode:i,lastCritical:o,lastLocation:a.source,lastCombine:null},n.add((function(){Ov(0,(function(){return Cv(e().onDragStart,a,t,mh)}))}))},update:function(o,i){var a=Uh(i),l=Zh(i);r||sh(!1);var s=!function(e,t){if(e===t)return!0;var n=e.draggable.id===t.draggable.id&&e.draggable.droppableId===t.draggable.droppableId&&e.draggable.type===t.draggable.type&&e.draggable.index===t.draggable.index,r=e.droppable.id===t.droppable.id&&e.droppable.type===t.droppable.type;return n&&r}(o,r.lastCritical);s&&(r.lastCritical=o);var u,c,f=(u=r.lastLocation,c=a,!(null==u&&null==c||null!=u&&null!=c&&u.droppableId===c.droppableId&&u.index===c.index));f&&(r.lastLocation=a);var d=!function(e,t){return null==e&&null==t||null!=e&&null!=t&&(e.draggableId===t.draggableId&&e.droppableId===t.droppableId)}(r.lastCombine,l);if(d&&(r.lastCombine=l),s||f||d){var p=(0,po.Z)({},kv(o,r.mode),{combine:l,destination:a});n.add((function(){Ov(0,(function(){return Cv(e().onDragUpdate,p,t,vh)}))}))}},flush:function(){r||sh(!1),n.flush()},drop:o,abort:function(){if(r){var e=(0,po.Z)({},kv(r.lastCritical,r.mode),{combine:null,destination:null,reason:"CANCEL"});o(e)}}}}(e,t);return function(e){return function(t){return function(r){if("BEFORE_INITIAL_CAPTURE"!==r.type){if("INITIAL_PUBLISH"===r.type){var o=r.payload.critical;return n.beforeStart(o,r.payload.movementMode),t(r),void n.start(o,r.payload.movementMode)}if("DROP_COMPLETE"===r.type){var i=r.payload.completed.result;return n.flush(),t(r),void n.drop(i)}if(t(r),"FLUSH"!==r.type){var a=e.getState();"DRAGGING"===a.phase&&n.update(a.critical,a.impact)}else n.abort()}else n.beforeCapture(r.payload.draggableId,r.payload.movementMode)}}}},jv=function(e){return function(t){return function(n){if("DROP_ANIMATION_FINISHED"===n.type){var r=e.getState();"DROP_ANIMATING"!==r.phase&&sh(!1),e.dispatch(av({completed:r.completed}))}else t(n)}}},Av=function(e){var t=null,n=null;return function(r){return function(o){if("FLUSH"!==o.type&&"DROP_COMPLETE"!==o.type&&"DROP_ANIMATION_FINISHED"!==o.type||(n&&(cancelAnimationFrame(n),n=null),t&&(t(),t=null)),r(o),"DROP_ANIMATE"===o.type){var i={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){"DROP_ANIMATING"===e.getState().phase&&e.dispatch({type:"DROP_ANIMATION_FINISHED",payload:null})}};n=requestAnimationFrame((function(){n=null,t=ah(window,[i])}))}}}},Tv=function(e){return function(t){return function(n){if(t(n),"PUBLISH_WHILE_DRAGGING"===n.type){var r=e.getState();"DROP_PENDING"===r.phase&&(r.isWaiting||e.dispatch(lv({reason:r.reason})))}}}},Iv=v,Rv=function(e){var t,n=e.dimensionMarshal,r=e.focusMarshal,o=e.styleMarshal,i=e.getResponders,a=e.announce,l=e.autoScroller;return u(qm,Iv(g((t=o,function(){return function(e){return function(n){"INITIAL_PUBLISH"===n.type&&t.dragging(),"DROP_ANIMATE"===n.type&&t.dropping(n.payload.completed.result.reason),"FLUSH"!==n.type&&"DROP_COMPLETE"!==n.type||t.resting(),e(n)}}}),function(e){return function(){return function(t){return function(n){"DROP_COMPLETE"!==n.type&&"FLUSH"!==n.type&&"DROP_ANIMATE"!==n.type||e.stopPublishing(),t(n)}}}}(n),function(e){return function(t){var n=t.getState,r=t.dispatch;return function(t){return function(o){if("LIFT"===o.type){var i=o.payload,a=i.id,l=i.clientSelection,s=i.movementMode,u=n();"DROP_ANIMATING"===u.phase&&r(av({completed:u.completed})),"IDLE"!==n().phase&&sh(!1),r({type:"FLUSH",payload:null}),r({type:"BEFORE_INITIAL_CAPTURE",payload:{draggableId:a,movementMode:s}});var c={draggableId:a,scrollOptions:{shouldPublishImmediately:"SNAP"===s}},f=e.startPublishing(c),d=f.critical,p=f.dimensions,h=f.viewport;r(function(e){return{type:"INITIAL_PUBLISH",payload:e}}({critical:d,dimensions:p,clientSelection:l,movementMode:s,viewport:h}))}else t(o)}}}}(n),wv,jv,Av,Tv,function(e){return function(t){return function(n){return function(r){if(function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(r))return e.stop(),void n(r);if("INITIAL_PUBLISH"===r.type){n(r);var o=t.getState();return"DRAGGING"!==o.phase&&sh(!1),void e.start(o)}n(r),e.scroll(t.getState())}}}}(l),_v,function(e){var t=!1;return function(){return function(n){return function(r){if("INITIAL_PUBLISH"===r.type)return t=!0,e.tryRecordFocus(r.payload.critical.draggable.id),n(r),void e.tryRestoreFocusRecorded();if(n(r),t){if("FLUSH"===r.type)return t=!1,void e.tryRestoreFocusRecorded();if("DROP_COMPLETE"===r.type){t=!1;var o=r.payload.completed.result;o.combine&&e.tryShiftRecord(o.draggableId,o.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}}(r),Pv(i,a))))};var Nv=function(e){var t=e.scrollHeight,n=e.scrollWidth,r=e.height,o=e.width,i=wh({x:n,y:t},{x:o,y:r});return{x:Math.max(0,i.x),y:Math.max(0,i.y)}},Dv=function(){var e=document.documentElement;return e||sh(!1),e},Mv=function(){var e=Dv();return Nv({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})},Lv=function(e){var t=e.critical,n=e.scrollOptions,r=e.registry;Zm();var o=function(){var e=xv(),t=Mv(),n=e.y,r=e.x,o=Dv(),i=o.clientWidth,a=o.clientHeight;return{frame:Wp({top:n,left:r,right:r+i,bottom:n+a}),scroll:{initial:e,current:e,max:t,diff:{value:yh,displacement:yh}}}}(),i=o.scroll.current,a=t.droppable,l=r.droppable.getAllByType(a.type).map((function(e){return e.callbacks.getDimensionAndWatchScroll(i,n)})),s=r.draggable.getAllByType(t.draggable.type).map((function(e){return e.getDimension(i)})),u={draggables:Lh(s),droppables:Mh(l)};return Hm(),{dimensions:u,critical:t,viewport:o}};function Fv(e,t,n){return n.descriptor.id!==t.id&&(n.descriptor.type===t.type&&"virtual"===e.droppable.getById(n.descriptor.droppableId).descriptor.mode)}var Bv,zv,Uv=function(e,t){var n=null,r=function(e){var t=e.registry,n=e.callbacks,r={additions:{},removals:{},modified:{}},o=null,i=function(){o||(n.collectionStarting(),o=requestAnimationFrame((function(){o=null,Zm();var e=r,i=e.additions,a=e.removals,l=e.modified,s=Object.keys(i).map((function(e){return t.draggable.getById(e).getDimension(yh)})).sort((function(e,t){return e.descriptor.index-t.descriptor.index})),u=Object.keys(l).map((function(e){return{droppableId:e,scroll:t.droppable.getById(e).callbacks.getScrollWhileDragging()}})),c={additions:s,removals:Object.keys(a),modified:u};r={additions:{},removals:{},modified:{}},Hm(),n.publish(c)})))};return{add:function(e){var t=e.descriptor.id;r.additions[t]=e,r.modified[e.descriptor.droppableId]=!0,r.removals[t]&&delete r.removals[t],i()},remove:function(e){var t=e.descriptor;r.removals[t.id]=!0,r.modified[t.droppableId]=!0,r.additions[t.id]&&delete r.additions[t.id],i()},stop:function(){o&&(cancelAnimationFrame(o),o=null,r={additions:{},removals:{},modified:{}})}}}({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),o=function(t){n||sh(!1);var o=n.critical.draggable;"ADDITION"===t.type&&Fv(e,o,t.value)&&r.add(t.value),"REMOVAL"===t.type&&Fv(e,o,t.value)&&r.remove(t.value)};return{updateDroppableIsEnabled:function(r,o){e.droppable.exists(r)||sh(!1),n&&t.updateDroppableIsEnabled({id:r,isEnabled:o})},updateDroppableIsCombineEnabled:function(r,o){n&&(e.droppable.exists(r)||sh(!1),t.updateDroppableIsCombineEnabled({id:r,isCombineEnabled:o}))},scrollDroppable:function(t,r){n&&e.droppable.getById(t).callbacks.scroll(r)},updateDroppableScroll:function(r,o){n&&(e.droppable.exists(r)||sh(!1),t.updateDroppableScroll({id:r,newScroll:o}))},startPublishing:function(t){n&&sh(!1);var r=e.draggable.getById(t.draggableId),i=e.droppable.getById(r.descriptor.droppableId),a={draggable:r.descriptor,droppable:i.descriptor},l=e.subscribe(o);return n={critical:a,unsubscribe:l},Lv({critical:a,registry:e,scrollOptions:t.scrollOptions})},stopPublishing:function(){if(n){r.stop();var t=n.critical.droppable;e.droppable.getAllByType(t.type).forEach((function(e){return e.callbacks.dragStopped()})),n.unsubscribe(),n=null}}}},Zv=function(e,t){return"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&(e.completed.result.draggableId!==t&&"DROP"===e.completed.result.reason)},Hv=function(e){window.scrollBy(e.x,e.y)},Wv=nh((function(e){return Fh(e).filter((function(e){return!!e.isEnabled&&!!e.frame}))})),Gv=function(e){var t=e.center,n=e.destination,r=e.droppables;if(n){var o=r[n];return o.frame?o:null}return function(e,t){return Nh(Wv(t),(function(t){return t.frame||sh(!1),Am(t.frame.pageMarginBox)(e)}))}(t,r)},Vv=.25,$v=.05,Kv=28,qv=function(e){return Math.pow(e,2)},Yv={stopDampeningAt:1200,accelerateAt:360},Jv=function(e){var t=e.startOfRange,n=e.endOfRange,r=e.current,o=n-t;return 0===o?0:(r-t)/o},Xv=Yv.accelerateAt,Qv=Yv.stopDampeningAt,eg=function(e){var t=e.distanceToEdge,n=e.thresholds,r=e.dragStartTime,o=e.shouldUseTimeDampening,i=function(e,t){if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return Kv;if(e===t.startScrollingFrom)return 1;var n=Jv({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),r=Kv*qv(1-n);return Math.ceil(r)}(t,n);return 0===i?0:o?Math.max(function(e,t){var n=t,r=Qv,o=Date.now()-n;if(o>=Qv)return e;if(o<Xv)return 1;var i=Jv({startOfRange:Xv,endOfRange:r,current:o}),a=e*qv(i);return Math.ceil(a)}(i,r),1):i},tg=function(e){var t=e.container,n=e.distanceToEdges,r=e.dragStartTime,o=e.axis,i=e.shouldUseTimeDampening,a=function(e,t){return{startScrollingFrom:e[t.size]*Vv,maxScrollValueAt:e[t.size]*$v}}(t,o);return n[o.end]<n[o.start]?eg({distanceToEdge:n[o.end],thresholds:a,dragStartTime:r,shouldUseTimeDampening:i}):-1*eg({distanceToEdge:n[o.start],thresholds:a,dragStartTime:r,shouldUseTimeDampening:i})},ng=kh((function(e){return 0===e?0:e})),rg=function(e){var t=e.dragStartTime,n=e.container,r=e.subject,o=e.center,i=e.shouldUseTimeDampening,a={top:o.y-n.top,right:n.right-o.x,bottom:n.bottom-o.y,left:o.x-n.left},l=tg({container:n,distanceToEdges:a,dragStartTime:t,axis:Jh,shouldUseTimeDampening:i}),s=tg({container:n,distanceToEdges:a,dragStartTime:t,axis:Xh,shouldUseTimeDampening:i}),u=ng({x:s,y:l});if(xh(u,yh))return null;var c=function(e){var t=e.container,n=e.subject,r=e.proposedScroll,o=n.height>t.height,i=n.width>t.width;return i||o?i&&o?null:{x:i?0:r.x,y:o?0:r.y}:r}({container:n,subject:r,proposedScroll:u});return c?xh(c,yh)?null:c:null},og=kh((function(e){return 0===e?0:e>0?1:-1})),ig=(Bv=function(e,t){return e<0?e:e>t?e-t:0},function(e){var t=e.current,n=e.max,r=e.change,o=bh(t,r),i={x:Bv(o.x,n.x),y:Bv(o.y,n.y)};return xh(i,yh)?null:i}),ag=function(e){var t=e.max,n=e.current,r=e.change,o={x:Math.max(n.x,t.x),y:Math.max(n.y,t.y)},i=og(r),a=ig({max:o,current:n,change:i});return!a||(0!==i.x&&0===a.x||0!==i.y&&0===a.y)},lg=function(e,t){return ag({current:e.scroll.current,max:e.scroll.max,change:t})},sg=function(e,t){var n=e.frame;return!!n&&ag({current:n.scroll.current,max:n.scroll.max,change:t})},ug=function(e){var t=e.state,n=e.dragStartTime,r=e.shouldUseTimeDampening,o=e.scrollWindow,i=e.scrollDroppable,a=t.current.page.borderBoxCenter,l=t.dimensions.draggables[t.critical.draggable.id].page.marginBox;if(t.isWindowScrollAllowed){var s=function(e){var t=e.viewport,n=e.subject,r=e.center,o=e.dragStartTime,i=e.shouldUseTimeDampening,a=rg({dragStartTime:o,container:t.frame,subject:n,center:r,shouldUseTimeDampening:i});return a&&lg(t,a)?a:null}({dragStartTime:n,viewport:t.viewport,subject:l,center:a,shouldUseTimeDampening:r});if(s)return void o(s)}var u=Gv({center:a,destination:Cm(t.impact),droppables:t.dimensions.droppables});if(u){var c=function(e){var t=e.droppable,n=e.subject,r=e.center,o=e.dragStartTime,i=e.shouldUseTimeDampening,a=t.frame;if(!a)return null;var l=rg({dragStartTime:o,container:a.pageMarginBox,subject:n,center:r,shouldUseTimeDampening:i});return l&&sg(t,l)?l:null}({dragStartTime:n,droppable:u,subject:l,center:a,shouldUseTimeDampening:r});c&&i(u.descriptor.id,c)}},cg=function(e){var t=e.move,n=e.scrollDroppable,r=e.scrollWindow,o=function(e,t){if(!sg(e,t))return t;var r=function(e,t){var n=e.frame;return n&&sg(e,t)?ig({current:n.scroll.current,max:n.scroll.max,change:t}):null}(e,t);if(!r)return n(e.descriptor.id,t),null;var o=wh(t,r);return n(e.descriptor.id,o),wh(t,o)},i=function(e,t,n){if(!e)return n;if(!lg(t,n))return n;var o=function(e,t){if(!lg(e,t))return null;var n=e.scroll.max,r=e.scroll.current;return ig({current:r,max:n,change:t})}(t,n);if(!o)return r(n),null;var i=wh(n,o);return r(i),wh(n,i)};return function(e){var n=e.scrollJumpRequest;if(n){var r=Cm(e.impact);r||sh(!1);var a=o(e.dimensions.droppables[r],n);if(a){var l=e.viewport,s=i(e.isWindowScrollAllowed,l,a);s&&function(e,n){var r=bh(e.current.client.selection,n);t({client:r})}(e,s)}}}},fg=function(e){var t=e.scrollDroppable,n=e.scrollWindow,r=e.move,o=function(e){var t=e.scrollWindow,n=e.scrollDroppable,r=rh(t),o=rh(n),i=null,a=function(e){i||sh(!1);var t=i,n=t.shouldUseTimeDampening,a=t.dragStartTime;ug({state:e,scrollWindow:r,scrollDroppable:o,dragStartTime:a,shouldUseTimeDampening:n})};return{start:function(e){Zm(),i&&sh(!1);var t=Date.now(),n=!1,r=function(){n=!0};ug({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:r,scrollDroppable:r}),i={dragStartTime:t,shouldUseTimeDampening:n},Hm(),n&&a(e)},stop:function(){i&&(r.cancel(),o.cancel(),i=null)},scroll:a}}({scrollWindow:n,scrollDroppable:t}),i=cg({move:r,scrollWindow:n,scrollDroppable:t});return{scroll:function(e){"DRAGGING"===e.phase&&("FLUID"!==e.movementMode?e.scrollJumpRequest&&i(e):o.scroll(e))},start:o.start,stop:o.stop}},dg={base:zv="data-rbd-drag-handle",draggableId:zv+"-draggable-id",contextId:zv+"-context-id"},pg=function(){var e="data-rbd-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),hg=function(){var e="data-rbd-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),mg={contextId:"data-rbd-scroll-container-context-id"},vg=function(e,t){return e.map((function(e){var n=e.styles[t];return n?e.selector+" { "+n+" }":""})).join(" ")},gg="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect,yg=function(){var e=document.querySelector("head");return e||sh(!1),e},bg=function(e){var t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.type="text/css",t};function wg(e,t){var n=Zp((function(){return function(e){var t,n,r=function(e){return function(t){return"["+t+'="'+e+'"]'}}(e),o=(t="\n cursor: -webkit-grab;\n cursor: grab;\n ",{selector:r(dg.contextId),styles:{always:"\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n touch-action: manipulation;\n ",resting:t,dragging:"pointer-events: none;",dropAnimating:t}}),i=[(n="\n transition: "+pv.outOfTheWay+";\n ",{selector:r(pg.contextId),styles:{dragging:n,dropAnimating:n,userCancel:n}}),o,{selector:r(hg.contextId),styles:{always:"overflow-anchor: none;"}},{selector:"body",styles:{dragging:"\n cursor: grabbing;\n cursor: -webkit-grabbing;\n user-select: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n overflow-anchor: none;\n "}}];return{always:vg(i,"always"),resting:vg(i,"resting"),dragging:vg(i,"dragging"),dropAnimating:vg(i,"dropAnimating"),userCancel:vg(i,"userCancel")}}(e)}),[e]),o=(0,r.useRef)(null),i=(0,r.useRef)(null),a=Hp(nh((function(e){var t=i.current;t||sh(!1),t.textContent=e})),[]),l=Hp((function(e){var t=o.current;t||sh(!1),t.textContent=e}),[]);gg((function(){(o.current||i.current)&&sh(!1);var r=bg(t),s=bg(t);return o.current=r,i.current=s,r.setAttribute("data-rbd-always",e),s.setAttribute("data-rbd-dynamic",e),yg().appendChild(r),yg().appendChild(s),l(n.always),a(n.resting),function(){var e=function(e){var t=e.current;t||sh(!1),yg().removeChild(t),e.current=null};e(o),e(i)}}),[t,l,a,n.always,n.resting,e]);var s=Hp((function(){return a(n.dragging)}),[a,n.dragging]),u=Hp((function(e){a("DROP"!==e?n.userCancel:n.dropAnimating)}),[a,n.dropAnimating,n.userCancel]),c=Hp((function(){i.current&&a(n.resting)}),[a,n.resting]);return Zp((function(){return{dragging:s,dropping:u,resting:c}}),[s,u,c])}var xg=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function Eg(e){return e instanceof xg(e).HTMLElement}function _g(e,t){var n="["+dg.contextId+'="'+e+'"]',r=Dh(document.querySelectorAll(n));if(!r.length)return null;var o=Nh(r,(function(e){return e.getAttribute(dg.draggableId)===t}));return o&&Eg(o)?o:null}function Sg(){var e={draggables:{},droppables:{}},t=[];function n(e){t.length&&t.forEach((function(t){return t(e)}))}function r(t){return e.draggables[t]||null}function o(t){return e.droppables[t]||null}return{draggable:{register:function(t){e.draggables[t.descriptor.id]=t,n({type:"ADDITION",value:t})},update:function(t,n){var r=e.draggables[n.descriptor.id];r&&r.uniqueId===t.uniqueId&&(delete e.draggables[n.descriptor.id],e.draggables[t.descriptor.id]=t)},unregister:function(t){var o=t.descriptor.id,i=r(o);i&&t.uniqueId===i.uniqueId&&(delete e.draggables[o],n({type:"REMOVAL",value:t}))},getById:function(e){var t=r(e);return t||sh(!1),t},findById:r,exists:function(e){return Boolean(r(e))},getAllByType:function(t){return Ih(e.draggables).filter((function(e){return e.descriptor.type===t}))}},droppable:{register:function(t){e.droppables[t.descriptor.id]=t},unregister:function(t){var n=o(t.descriptor.id);n&&t.uniqueId===n.uniqueId&&delete e.droppables[t.descriptor.id]},getById:function(e){var t=o(e);return t||sh(!1),t},findById:o,exists:function(e){return Boolean(o(e))},getAllByType:function(t){return Ih(e.droppables).filter((function(e){return e.descriptor.type===t}))}},subscribe:function(e){return t.push(e),function(){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},clean:function(){e.draggables={},e.droppables={},t.length=0}}}var Og=r.createContext(null),kg=function(){var e=document.body;return e||sh(!1),e},Cg={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"};var Pg=0,jg={separator:"::"};function Ag(e,t){return void 0===t&&(t=jg),Zp((function(){return""+e+t.separator+Pg++}),[t.separator,e])}var Tg=r.createContext(null);function Ig(e){0}function Rg(e,t){Ig()}function Ng(){Rg()}function Dg(e){var t=(0,r.useRef)(e);return(0,r.useEffect)((function(){t.current=e})),t}var Mg,Lg=((Mg={})[13]=!0,Mg[9]=!0,Mg),Fg=function(e){Lg[e.keyCode]&&e.preventDefault()},Bg=function(){var e="visibilitychange";return"undefined"==typeof document?e:Nh([e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],(function(e){return"on"+e in document}))||e}();var zg,Ug={type:"IDLE"};function Zg(e){var t=e.cancel,n=
9
  *
10
  * Buttonizer is Freemium software. The free version (build) does not contain premium functionality.
11
  *
12
+ * (C) 2017-2022 Buttonizer v2.6.2
13
  *
14
  */
15
  /*!
23
  *
24
  * Buttonizer is Freemium software. The free version (build) does not contain premium functionality.
25
  *
26
+ * (C) 2017-2022 Buttonizer v2.6.2
27
  *
28
+ */!function(){var e,t,n={50676:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},59968:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},83614:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(50676);function o(e){if(Array.isArray(e))return(0,r.Z)(e)}},63349:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},5991:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{Z:function(){return o}})},96156:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},22122:function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,{Z:function(){return r}})},41788:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(14665);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},96410:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},28970:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},62303:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},81253:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(19756);function o(e,t){if(null==e)return{};var n,o,i=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},19756:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:function(){return r}})},14665:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,{Z:function(){return r}})},28481:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59968);var o=n(82961),i=n(28970);function a(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}}(e,t)||(0,o.Z)(e,t)||(0,i.Z)()}},78927:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(83614),o=n(96410),i=n(82961),a=n(62303);function l(e){return(0,r.Z)(e)||(0,o.Z)(e)||(0,i.Z)(e)||(0,a.Z)()}},90484:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},82961:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(50676);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},95318:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},20862:function(e,t,n){var r=n(50008).default;function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}e.exports=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var i={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var s=a?Object.getOwnPropertyDescriptor(e,l):null;s&&(s.get||s.set)?Object.defineProperty(i,l,s):i[l]=e[l]}return i.default=e,n&&n.set(e,i),i},e.exports.__esModule=!0,e.exports.default=e.exports},50008:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},70597:function(e,t,n){"use strict";var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(67294),a=(r=i)&&r.__esModule?r:{default:r};t.Z=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,i=void 0===r?24:r,l=e.height,s=void 0===l?24:l,u=e.style,c=void 0===u?{}:u,f=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:i,height:s},c)},f),a.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},43891:function(e,t,n){"use strict";var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(67294),a=(r=i)&&r.__esModule?r:{default:r};t.Z=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,i=void 0===r?24:r,l=e.height,s=void 0===l?24:l,u=e.style,c=void 0===u?{}:u,f=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:i,height:s},c)},f),a.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},62087:function(e,t,n){"use strict";var r=n(22122),o=n(81253),i=n(67294),a=(n(45697),n(86010)),l=n(14670),s=n(93871),u=i.forwardRef((function(e,t){var n=e.children,l=e.classes,u=e.className,c=e.color,f=void 0===c?"inherit":c,d=e.component,p=void 0===d?"svg":d,h=e.fontSize,m=void 0===h?"default":h,v=e.htmlColor,g=e.titleAccess,y=e.viewBox,b=void 0===y?"0 0 24 24":y,w=(0,o.Z)(e,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return i.createElement(p,(0,r.Z)({className:(0,a.Z)(l.root,u,"inherit"!==f&&l["color".concat((0,s.Z)(f))],"default"!==m&&l["fontSize".concat((0,s.Z)(m))]),focusable:"false",viewBox:b,color:v,"aria-hidden":!g||void 0,role:g?"img":void 0,ref:t},w),n,g?i.createElement("title",null,g):null)}));u.muiName="SvgIcon",t.Z=(0,l.Z)((function(e){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:e.typography.pxToRem(24),transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(35)}}}),{name:"MuiSvgIcon"})(u)},59693:function(e,t,n){"use strict";n.d(t,{mi:function(){return l},_4:function(){return u},U1:function(){return c},_j:function(){return f},$n:function(){return d}});var r=n(60288);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function i(e){if(e.type)return e;if("#"===e.charAt(0))return i(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error((0,r.Z)(3,e));var o=e.substring(t+1,e.length-1).split(",");return{type:n,values:o=o.map((function(e){return parseFloat(e)}))}}function a(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function l(e,t){var n=s(e),r=s(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function s(e){var t="hsl"===(e=i(e)).type?i(function(e){var t=(e=i(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,l=r*Math.min(o,1-o),s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-l*Math.max(Math.min(t-3,9-t,1),-1)},u="rgb",c=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),a({type:u,values:c})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return s(e)>.5?f(e,t):d(e,t)}function c(e,t){return e=i(e),t=o(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,a(e)}function f(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return a(e)}function d(e,t){if(e=i(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return a(e)}},49277:function(e,t,n){"use strict";n.d(t,{Z:function(){return K}});var r=n(81253),o=n(35953),i=n(22122),a=["xs","sm","md","lg","xl"];function l(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,o=e.unit,l=void 0===o?"px":o,s=e.step,u=void 0===s?5:s,c=(0,r.Z)(e,["values","unit","step"]);function f(e){var t="number"==typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(l,")")}function d(e,t){var r=a.indexOf(t);return r===a.length-1?f(e):"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(l,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof n[a[r+1]]?n[a[r+1]]:t)-u/100).concat(l,")")}return(0,i.Z)({keys:a,values:n,up:f,down:function(e){var t=a.indexOf(e)+1,r=n[a[t]];return t===a.length?f("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-u/100).concat(l,")")},between:d,only:function(e){return d(e,e)},width:function(e){return n[e]}},c)}var s=n(96156);function u(e,t,n){var r;return(0,i.Z)({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,i.Z)({paddingLeft:t(2),paddingRight:t(2)},n,(0,s.Z)({},e.up("sm"),(0,i.Z)({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},(0,s.Z)(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),(0,s.Z)(r,e.up("sm"),{minHeight:64}),r)},n)}var c=n(60288),f={black:"#000",white:"#fff"},d={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},p={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},h={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},m={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},v={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},g={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},y={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},b=n(59693),w={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:f.white,default:d[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},x={text:{primary:f.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:d[800],default:"#303030"},action:{active:f.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function E(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,b.$n)(e.main,o):"dark"===t&&(e.dark=(0,b._j)(e.main,i)))}function _(e){var t=e.primary,n=void 0===t?{light:p[300],main:p[500],dark:p[700]}:t,a=e.secondary,l=void 0===a?{light:h.A200,main:h.A400,dark:h.A700}:a,s=e.error,u=void 0===s?{light:m[300],main:m[500],dark:m[700]}:s,_=e.warning,S=void 0===_?{light:v[300],main:v[500],dark:v[700]}:_,O=e.info,k=void 0===O?{light:g[300],main:g[500],dark:g[700]}:O,C=e.success,P=void 0===C?{light:y[300],main:y[500],dark:y[700]}:C,j=e.type,T=void 0===j?"light":j,A=e.contrastThreshold,I=void 0===A?3:A,R=e.tonalOffset,N=void 0===R?.2:R,D=(0,r.Z)(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function M(e){return(0,b.mi)(e,x.text.primary)>=I?x.text.primary:w.text.primary}var L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=(0,i.Z)({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error((0,c.Z)(4,t));if("string"!=typeof e.main)throw new Error((0,c.Z)(5,JSON.stringify(e.main)));return E(e,"light",n,N),E(e,"dark",r,N),e.contrastText||(e.contrastText=M(e.main)),e},F={dark:x,light:w};return(0,o.Z)((0,i.Z)({common:f,type:T,primary:L(n),secondary:L(l,"A400","A200","A700"),error:L(u),warning:L(S),info:L(k),success:L(P),grey:d,contrastThreshold:I,getContrastText:M,augmentColor:L,tonalOffset:N},F[T]),D)}function S(e){return Math.round(1e5*e)/1e5}var O={textTransform:"uppercase"};function k(e,t){var n="function"==typeof t?t(e):t,a=n.fontFamily,l=void 0===a?'"Roboto", "Helvetica", "Arial", sans-serif':a,s=n.fontSize,u=void 0===s?14:s,c=n.fontWeightLight,f=void 0===c?300:c,d=n.fontWeightRegular,p=void 0===d?400:d,h=n.fontWeightMedium,m=void 0===h?500:h,v=n.fontWeightBold,g=void 0===v?700:v,y=n.htmlFontSize,b=void 0===y?16:y,w=n.allVariants,x=n.pxToRem,E=(0,r.Z)(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var _=u/14,k=x||function(e){return"".concat(e/b*_,"rem")},C=function(e,t,n,r,o){return(0,i.Z)({fontFamily:l,fontWeight:e,fontSize:k(t),lineHeight:n},'"Roboto", "Helvetica", "Arial", sans-serif'===l?{letterSpacing:"".concat(S(r/t),"em")}:{},o,w)},P={h1:C(f,96,1.167,-1.5),h2:C(f,60,1.2,-.5),h3:C(p,48,1.167,0),h4:C(p,34,1.235,.25),h5:C(p,24,1.334,0),h6:C(m,20,1.6,.15),subtitle1:C(p,16,1.75,.15),subtitle2:C(m,14,1.57,.1),body1:C(p,16,1.5,.15),body2:C(p,14,1.43,.15),button:C(m,14,1.75,.4,O),caption:C(p,12,1.66,.4),overline:C(p,12,2.66,1,O)};return(0,o.Z)((0,i.Z)({htmlFontSize:b,pxToRem:k,round:S,fontFamily:l,fontSize:u,fontWeightLight:f,fontWeightRegular:p,fontWeightMedium:m,fontWeightBold:g},P),E,{clone:!1})}function C(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var P=["none",C(0,2,1,-1,0,1,1,0,0,1,3,0),C(0,3,1,-2,0,2,2,0,0,1,5,0),C(0,3,3,-2,0,3,4,0,0,1,8,0),C(0,2,4,-1,0,4,5,0,0,1,10,0),C(0,3,5,-1,0,5,8,0,0,1,14,0),C(0,3,5,-1,0,6,10,0,0,1,18,0),C(0,4,5,-2,0,7,10,1,0,2,16,1),C(0,5,5,-3,0,8,10,1,0,3,14,2),C(0,5,6,-3,0,9,12,1,0,3,16,2),C(0,6,6,-3,0,10,14,1,0,4,18,3),C(0,6,7,-4,0,11,15,1,0,4,20,3),C(0,7,8,-4,0,12,17,2,0,5,22,4),C(0,7,8,-4,0,13,19,2,0,5,24,4),C(0,7,9,-4,0,14,21,2,0,5,26,4),C(0,8,9,-5,0,15,22,2,0,6,28,5),C(0,8,10,-5,0,16,24,2,0,6,30,5),C(0,8,11,-5,0,17,26,2,0,6,32,5),C(0,9,11,-5,0,18,28,2,0,7,34,6),C(0,9,12,-6,0,19,29,2,0,7,36,6),C(0,10,13,-6,0,20,31,3,0,8,38,7),C(0,10,13,-6,0,21,33,3,0,8,40,7),C(0,10,14,-6,0,22,35,3,0,8,42,7),C(0,11,14,-7,0,23,36,3,0,9,44,8),C(0,11,15,-7,0,24,38,3,0,9,46,8)],j={borderRadius:4},T=n(28481),A=n(90484),I=(n(45697),{xs:0,sm:600,md:960,lg:1280,xl:1920}),R={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(I[e],"px)")}};var N=function(e,t){return t?(0,o.Z)(e,t,{clone:!1}):e};var D,M,L={m:"margin",p:"padding"},F={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},z={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},B=(D=function(e){if(e.length>2){if(!z[e])return[e];e=z[e]}var t=e.split(""),n=(0,T.Z)(t,2),r=n[0],o=n[1],i=L[r],a=F[o]||"";return Array.isArray(a)?a.map((function(e){return i+e})):[i+a]},M={},function(e){return void 0===M[e]&&(M[e]=D(e)),M[e]}),U=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function Z(e){var t=e.spacing||8;return"number"==typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"==typeof t?t:function(){}}function H(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"==typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function W(e){var t=Z(e.theme);return Object.keys(e).map((function(n){if(-1===U.indexOf(n))return null;var r=H(B(n),t),o=e[n];return function(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||R;return t.reduce((function(e,o,i){return e[r.up(r.keys[i])]=n(t[i]),e}),{})}if("object"===(0,A.Z)(t)){var o=e.theme.breakpoints||R;return Object.keys(t).reduce((function(e,r){return e[o.up(r)]=n(t[r]),e}),{})}return n(t)}(e,o,r)})).reduce(N,{})}W.propTypes={},W.filterProps=U;function V(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=Z({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return 0===n.length?t(1):1===n.length?t(n[0]):n.map((function(e){if("string"==typeof e)return e;var n=t(e);return"number"==typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return e}}),n.mui=!0,n}var G=n(43366),$=n(92781);var K=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,i=e.mixins,a=void 0===i?{}:i,s=e.palette,c=void 0===s?{}:s,f=e.spacing,d=e.typography,p=void 0===d?{}:d,h=(0,r.Z)(e,["breakpoints","mixins","palette","spacing","typography"]),m=_(c),v=l(n),g=V(f),y=(0,o.Z)({breakpoints:v,direction:"ltr",mixins:u(v,g,a),overrides:{},palette:m,props:{},shadows:P,typography:k(m,p),spacing:g,shape:j,transitions:G.ZP,zIndex:$.Z},h),b=arguments.length,w=new Array(b>1?b-1:0),x=1;x<b;x++)w[x-1]=arguments[x];return y=w.reduce((function(e,t){return(0,o.Z)(e,t)}),y)}},99700:function(e,t,n){"use strict";var r=(0,n(49277).Z)();t.Z=r},43366:function(e,t,n){"use strict";n.d(t,{x9:function(){return i}});var r=n(81253),o={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},i={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function a(e){return"".concat(Math.round(e),"ms")}t.ZP={easing:o,duration:i,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,l=void 0===n?i.standard:n,s=t.easing,u=void 0===s?o.easeInOut:s,c=t.delay,f=void 0===c?0:c;(0,r.Z)(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof l?l:a(l)," ").concat(u," ").concat("string"==typeof f?f:a(f))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}}},14670:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(22122),o=n(81253),i=n(67294),a=(n(45697),n(8679)),l=n.n(a),s=n(73914),u=n(93869),c=n(159),f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var a=t.defaultTheme,f=t.withTheme,d=void 0!==f&&f,p=t.name,h=(0,o.Z)(t,["defaultTheme","withTheme","name"]);var m=p,v=(0,s.Z)(e,(0,r.Z)({defaultTheme:a,Component:n,name:p||n.displayName,classNamePrefix:m},h)),g=i.forwardRef((function(e,t){e.classes;var l,s=e.innerRef,f=(0,o.Z)(e,["classes","innerRef"]),h=v((0,r.Z)({},n.defaultProps,e)),m=f;return("string"==typeof p||d)&&(l=(0,c.Z)()||a,p&&(m=(0,u.Z)({theme:l,name:p,props:f})),d&&!m.theme&&(m.theme=l)),i.createElement(n,(0,r.Z)({ref:s||t,classes:h},m))}));return l()(g,n),g}},d=n(99700);var p=function(e,t){return f(e,(0,r.Z)({defaultTheme:d.Z},t))}},92781:function(e,t){"use strict";t.Z={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},93871:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(60288);function o(e){if("string"!=typeof e)throw new Error((0,r.Z)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},82568:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}}),(function(){}))}n.d(t,{Z:function(){return r}})},63786:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(22122),o=n(67294),i=n(62087);function a(e,t){var n=function(t,n){return o.createElement(i.Z,(0,r.Z)({ref:n},t),e)};return n.muiName=i.Z.muiName,o.memo(o.forwardRef(n))}},79437:function(e,t,n){"use strict";function r(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=this,l=function(){e.apply(a,o)};clearTimeout(t),t=setTimeout(l,n)}return r.clear=function(){clearTimeout(t)},r}n.d(t,{Z:function(){return r}})},28546:function(e,t,n){"use strict";n.r(t),n.d(t,{capitalize:function(){return r.Z},createChainedFunction:function(){return o.Z},createSvgIcon:function(){return i.Z},debounce:function(){return a.Z},deprecatedPropType:function(){return l},isMuiElement:function(){return s.Z},ownerDocument:function(){return u.Z},ownerWindow:function(){return c.Z},requirePropFactory:function(){return f},setRef:function(){return d.Z},unstable_useId:function(){return g.Z},unsupportedProp:function(){return p},useControlled:function(){return h.Z},useEventCallback:function(){return m.Z},useForkRef:function(){return v.Z},useIsFocusVisible:function(){return y.Z}});var r=n(93871),o=n(82568),i=n(63786),a=n(79437);function l(e,t){return function(){return null}}var s=n(83711),u=n(30626),c=n(80713);function f(e){return function(){return null}}var d=n(34236);function p(e,t,n,r,o){return null}var h=n(22775),m=n(55192),v=n(17294),g=n(95001),y=n(24896)},83711:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}},30626:function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{Z:function(){return r}})},80713:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(30626);function o(e){return(0,r.Z)(e).defaultView||window}},34236:function(e,t,n){"use strict";function r(e,t){"function"==typeof e?e(t):e&&(e.current=t)}n.d(t,{Z:function(){return r}})},95001:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(e){var t=r.useState(e),n=t[0],o=t[1],i=e||n;return r.useEffect((function(){null==n&&o("mui-".concat(Math.round(1e5*Math.random())))}),[n]),i}},22775:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(e){var t=e.controlled,n=e.default,o=(e.name,e.state,r.useRef(void 0!==t).current),i=r.useState(n),a=i[0],l=i[1];return[o?t:a,r.useCallback((function(e){o||l(e)}),[])]}},55192:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(67294),o="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function i(e){var t=r.useRef(e);return o((function(){t.current=e})),r.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}},17294:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(67294),o=n(34236);function i(e,t){return r.useMemo((function(){return null==e&&null==t?null:function(n){(0,o.Z)(e,n),(0,o.Z)(t,n)}}),[e,t])}},24896:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(67294),o=n(73935),i=!0,a=!1,l=null,s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function u(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function c(){i=!1}function f(){"hidden"===this.visibilityState&&a&&(i=!0)}function d(e){var t,n,r,o=e.target;try{return o.matches(":focus-visible")}catch(e){}return i||(n=(t=o).type,!("INPUT"!==(r=t.tagName)||!s[n]||t.readOnly)||"TEXTAREA"===r&&!t.readOnly||!!t.isContentEditable)}function p(){a=!0,window.clearTimeout(l),l=window.setTimeout((function(){a=!1}),100)}function h(){return{isFocusVisible:d,onBlurVisible:p,ref:r.useCallback((function(e){var t,n=o.findDOMNode(e);null!=n&&((t=n.ownerDocument).addEventListener("keydown",u,!0),t.addEventListener("mousedown",c,!0),t.addEventListener("pointerdown",c,!0),t.addEventListener("touchstart",c,!0),t.addEventListener("visibilitychange",f,!0))}),[])}}},78513:function(e,t,n){"use strict";var r=n(95318),o=n(20862);t.Z=void 0;var i=o(n(67294)),a=(0,r(n(2108)).default)(i.createElement("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreVert");t.Z=a},49507:function(e,t,n){"use strict";var r=n(95318),o=n(20862);t.Z=void 0;var i=o(n(67294)),a=(0,r(n(2108)).default)(i.createElement("path",{d:"M13 1.07V9h7c0-4.08-3.05-7.44-7-7.93zM4 15c0 4.42 3.58 8 8 8s8-3.58 8-8v-4H4v4zm7-13.93C7.05 1.56 4 4.92 4 9h7V1.07z"}),"Mouse");t.Z=a},2108:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(28546)},4137:function(e,t,n){"use strict";n.d(t,{NU:function(){return p},ZP:function(){return h}});var r=n(22122),o=n(81253),i=n(67294),a=(n(45697),n(17076)),l=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var s,u=n(54013),c=n(60246),f=(0,u.Ue)((0,c.Z)()),d={disableGeneration:!1,generateClassName:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,o=void 0===r?"jss":r,i=e.seed,s=void 0===i?"":i,u=""===s?"":"".concat(s,"-"),c=0,f=function(){return c+=1};return function(e,t){var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==l.indexOf(e.key))return"Mui-".concat(e.key);var i="".concat(u).concat(r,"-").concat(e.key);return t.options.theme[a.Z]&&""===s?"".concat(i,"-").concat(f()):i}return"".concat(u).concat(o).concat(f())}}(),jss:f,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},p=i.createContext(d);function h(e){var t=e.children,n=e.injectFirst,a=void 0!==n&&n,l=e.disableGeneration,f=void 0!==l&&l,d=(0,o.Z)(e,["children","injectFirst","disableGeneration"]),h=i.useContext(p),m=(0,r.Z)({},h,{disableGeneration:f},d);if(!m.jss.options.insertionPoint&&a&&"undefined"!=typeof window){if(!s){var v=document.head;s=document.createComment("mui-inject-first"),v.insertBefore(s,v.firstChild)}m.jss=(0,u.Ue)({plugins:(0,c.Z)().plugins,insertionPoint:s})}return i.createElement(p.Provider,{value:m},t)}},17076:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for;t.Z=n?Symbol.for("mui.nested"):"__THEME_NESTED__"},93869:function(e,t,n){"use strict";function r(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var o,i=t.props[n];for(o in i)void 0===r[o]&&(r[o]=i[o]);return r}n.d(t,{Z:function(){return r}})},60246:function(e,t,n){"use strict";n.d(t,{Z:function(){return Re}});var r=n(54013),o=Date.now(),i="fnValues"+o,a="fnStyle"+ ++o,l=function(){return{onCreateRule:function(e,t,n){if("function"!=typeof t)return null;var o=(0,r.JH)(e,{},n);return o[a]=t,o},onProcessStyle:function(e,t){if(i in t||a in t)return e;var n={};for(var r in e){var o=e[r];"function"==typeof o&&(delete e[r],n[r]=o)}return t[i]=n,e},onUpdate:function(e,t,n,r){var o=t,l=o[a];l&&(o.style=l(e)||{});var s=o[i];if(s)for(var u in s)o.prop(u,s[u](e),r)}}},s=n(22122),u="@global",c=function(){function e(e,t,n){for(var o in this.type="global",this.at=u,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new r.RB((0,s.Z)({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(){return this.rules.toString()},e}(),f=function(){function e(e,t,n){this.type="global",this.at=u,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=e,this.options=n;var r=e.substr("@global ".length);this.rule=n.jss.createRule(r,t,(0,s.Z)({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),d=/\s*,\s*/g;function p(e,t){for(var n=e.split(d),r="",o=0;o<n.length;o++)r+=t+" "+n[o].trim(),n[o+1]&&(r+=", ");return r}var h=function(){return{onCreateRule:function(e,t,n){if(!e)return null;if(e===u)return new c(e,t,n);if("@"===e[0]&&"@global "===e.substr(0,"@global ".length))return new f(e,t,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),!1===n.scoped&&(n.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var n=e.options,r=e.style,o=r?r[u]:null;if(o){for(var i in o)t.addRule(i,o[i],(0,s.Z)({},n,{selector:p(i,e.selector)}));delete r[u]}}(e,t),function(e,t){var n=e.options,r=e.style;for(var o in r)if("@"===o[0]&&o.substr(0,u.length)===u){var i=p(o.substr(u.length),e.selector);t.addRule(i,r[o],(0,s.Z)({},n,{selector:i})),delete r[o]}}(e,t))}}},m=/\s*,\s*/g,v=/&/g,g=/\$([\w-]+)/g;var y=function(){function e(e,t){return function(n,r){var o=e.getRule(r)||t&&t.getRule(r);return o?(o=o).selector:r}}function t(e,t){for(var n=t.split(m),r=e.split(m),o="",i=0;i<n.length;i++)for(var a=n[i],l=0;l<r.length;l++){var s=r[l];o&&(o+=", "),o+=-1!==s.indexOf("&")?s.replace(v,a):a+" "+s}return o}function n(e,t,n){if(n)return(0,s.Z)({},n,{index:n.index+1});var r=e.options.nestingLevel;r=void 0===r?1:r+1;var o=(0,s.Z)({},e.options,{nestingLevel:r,index:t.indexOf(e)+1});return delete o.name,o}return{onProcessStyle:function(r,o,i){if("style"!==o.type)return r;var a,l,u=o,c=u.options.parent;for(var f in r){var d=-1!==f.indexOf("&"),p="@"===f[0];if(d||p){if(a=n(u,c,a),d){var h=t(f,u.selector);l||(l=e(c,i)),h=h.replace(g,l),c.addRule(h,r[f],(0,s.Z)({},a,{selector:h}))}else p&&c.addRule(f,{},a).addRule(u.key,r[f],{selector:u.selector});delete r[f]}}return r}}},b=/[A-Z]/g,w=/^ms-/,x={};function E(e){return"-"+e.toLowerCase()}var _=function(e){if(x.hasOwnProperty(e))return x[e];var t=e.replace(b,E);return x[e]=w.test(t)?"-"+t:t};function S(e){var t={};for(var n in e){t[0===n.indexOf("--")?n:_(n)]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(S):t.fallbacks=S(e.fallbacks)),t}var O=function(){return{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=S(e[t]);return e}return S(e)},onChangeValue:function(e,t,n){if(0===t.indexOf("--"))return e;var r=_(t);return t===r?e:(n.prop(r,e),null)}}},k=r.HZ&&CSS?CSS.px:"px",C=r.HZ&&CSS?CSS.ms:"ms",P=r.HZ&&CSS?CSS.percent:"%";function j(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var o in e)r[o]=e[o],r[o.replace(t,n)]=e[o];return r}var T=j({"animation-delay":C,"animation-duration":C,"background-position":k,"background-position-x":k,"background-position-y":k,"background-size":k,border:k,"border-bottom":k,"border-bottom-left-radius":k,"border-bottom-right-radius":k,"border-bottom-width":k,"border-left":k,"border-left-width":k,"border-radius":k,"border-right":k,"border-right-width":k,"border-top":k,"border-top-left-radius":k,"border-top-right-radius":k,"border-top-width":k,"border-width":k,"border-block":k,"border-block-end":k,"border-block-end-width":k,"border-block-start":k,"border-block-start-width":k,"border-block-width":k,"border-inline":k,"border-inline-end":k,"border-inline-end-width":k,"border-inline-start":k,"border-inline-start-width":k,"border-inline-width":k,"border-start-start-radius":k,"border-start-end-radius":k,"border-end-start-radius":k,"border-end-end-radius":k,margin:k,"margin-bottom":k,"margin-left":k,"margin-right":k,"margin-top":k,"margin-block":k,"margin-block-end":k,"margin-block-start":k,"margin-inline":k,"margin-inline-end":k,"margin-inline-start":k,padding:k,"padding-bottom":k,"padding-left":k,"padding-right":k,"padding-top":k,"padding-block":k,"padding-block-end":k,"padding-block-start":k,"padding-inline":k,"padding-inline-end":k,"padding-inline-start":k,"mask-position-x":k,"mask-position-y":k,"mask-size":k,height:k,width:k,"min-height":k,"max-height":k,"min-width":k,"max-width":k,bottom:k,left:k,top:k,right:k,inset:k,"inset-block":k,"inset-block-end":k,"inset-block-start":k,"inset-inline":k,"inset-inline-end":k,"inset-inline-start":k,"box-shadow":k,"text-shadow":k,"column-gap":k,"column-rule":k,"column-rule-width":k,"column-width":k,"font-size":k,"font-size-delta":k,"letter-spacing":k,"text-decoration-thickness":k,"text-indent":k,"text-stroke":k,"text-stroke-width":k,"word-spacing":k,motion:k,"motion-offset":k,outline:k,"outline-offset":k,"outline-width":k,perspective:k,"perspective-origin-x":P,"perspective-origin-y":P,"transform-origin":P,"transform-origin-x":P,"transform-origin-y":P,"transform-origin-z":P,"transition-delay":C,"transition-duration":C,"vertical-align":k,"flex-basis":k,"shape-margin":k,size:k,gap:k,grid:k,"grid-gap":k,"row-gap":k,"grid-row-gap":k,"grid-column-gap":k,"grid-template-rows":k,"grid-template-columns":k,"grid-auto-rows":k,"grid-auto-columns":k,"box-shadow-x":k,"box-shadow-y":k,"box-shadow-blur":k,"box-shadow-spread":k,"font-line-height":k,"text-shadow-x":k,"text-shadow-y":k,"text-shadow-blur":k});function A(e,t,n){if(null==t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=A(e,t[r],n);else if("object"==typeof t)if("fallbacks"===e)for(var o in t)t[o]=A(o,t[o],n);else for(var i in t)t[i]=A(e+"-"+i,t[i],n);else if("number"==typeof t&&!1===isNaN(t)){var a=n[e]||T[e];return!a||0===t&&a===k?t.toString():"function"==typeof a?a(t).toString():""+t+a}return t}var I=function(e){void 0===e&&(e={});var t=j(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=A(r,e[r],t);return e},onChangeValue:function(e,n){return A(n,e,t)}}},R=n(33827),N=n(78927),D="",M="",L="",F="",z=R.Z&&"ontouchstart"in document.documentElement;if(R.Z){var B={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},U=document.createElement("p").style;for(var Z in B)if(Z+"Transform"in U){D=Z,M=B[Z];break}"Webkit"===D&&"msHyphens"in U&&(D="ms",M=B.ms,F="edge"),"Webkit"===D&&"-apple-trailing-word"in U&&(L="apple")}var H=D,W=M,V=L,G=F,$=z;var K={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===H?"-webkit-"+e:W+e)}},q={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===H?W+"print-"+e:e)}},Y=/[-\s]+(.)?/g;function J(e,t){return t?t.toUpperCase():""}function X(e){return e.replace(Y,J)}function Q(e){return X("-"+e)}var ee,te={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===H){if(X("mask-image")in t)return e;if(H+Q("mask-image")in t)return W+e}return e}},ne={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==V||$?e:W+e)}},re={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:W+e)}},oe={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:W+e)}},ie={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===H||"ms"===H&&"edge"!==G?W+e:e)}},ae={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===H||"ms"===H||"apple"===V?W+e:e)}},le={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===H?"WebkitColumn"+Q(e)in t&&W+"column-"+e:"Moz"===H&&("page"+Q(e)in t&&"page-"+e))}},se={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===H)return e;var n=e.replace("-inline","");return H+Q(n)in t&&W+n}},ue={supportedProperty:function(e,t){return X(e)in t&&e}},ce={supportedProperty:function(e,t){var n=Q(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:H+n in t?W+e:"Webkit"!==H&&"Webkit"+n in t&&"-webkit-"+e}},fe={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===H?""+W+e:e)}},de={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===H?W+"scroll-chaining":e)}},pe={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},he={supportedProperty:function(e,t){var n=pe[e];return!!n&&(H+Q(n)in t&&W+n)}},me={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},ve=Object.keys(me),ge=function(e){return W+e},ye=[K,q,te,ne,re,oe,ie,ae,le,se,ue,ce,fe,de,he,{supportedProperty:function(e,t,n){var r=n.multiple;if(ve.indexOf(e)>-1){var o=me[e];if(!Array.isArray(o))return H+Q(o)in t&&W+o;if(!r)return!1;for(var i=0;i<o.length;i++)if(!(H+Q(o[0])in t))return!1;return o.map(ge)}return!1}}],be=ye.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),we=ye.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,(0,N.Z)(t.noPrefill)),e}),[]),xe={};if(R.Z){ee=document.createElement("p");var Ee=window.getComputedStyle(document.documentElement,"");for(var _e in Ee)isNaN(_e)||(xe[Ee[_e]]=Ee[_e]);we.forEach((function(e){return delete xe[e]}))}function Se(e,t){if(void 0===t&&(t={}),!ee)return e;if(null!=xe[e])return xe[e];"transition"!==e&&"transform"!==e||(t[e]=e in ee.style);for(var n=0;n<be.length&&(xe[e]=be[n](e,ee.style,t),!xe[e]);n++);try{ee.style[e]=""}catch(e){return!1}return xe[e]}var Oe,ke={},Ce={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Pe=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function je(e,t,n){if("var"===t)return"var";if("all"===t)return"all";if("all"===n)return", all";var r=t?Se(t):", "+Se(n);return r||(t||n)}function Te(e,t){var n=t;if(!Oe||"content"===e)return t;if("string"!=typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=ke[r])return ke[r];try{Oe.style[e]=n}catch(e){return ke[r]=!1,!1}if(Ce[e])n=n.replace(Pe,je);else if(""===Oe.style[e]&&("-ms-flex"===(n=W+n)&&(Oe.style[e]="-ms-flexbox"),Oe.style[e]=n,""===Oe.style[e]))return ke[r]=!1,!1;return Oe.style[e]="",ke[r]=n,ke[r]}R.Z&&(Oe=document.createElement("p"));var Ae=function(){function e(t){for(var n in t){var o=t[n];if("fallbacks"===n&&Array.isArray(o))t[n]=o.map(e);else{var i=!1,a=Se(n);a&&a!==n&&(i=!0);var l=!1,s=Te(a,(0,r.EK)(o));s&&s!==o&&(l=!0),(i||l)&&(i&&delete t[n],t[a||n]=s||o)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at=function(e){return"-"===e[1]||"ms"===H?e:"@"+W+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,n){return"style"!==n.type?t:e(t)},onChangeValue:function(e,t){return Te(t,(0,r.EK)(e))||e}}};var Ie=function(){var e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length};return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},o=Object.keys(t).sort(e),i=0;i<o.length;i++)r[o[i]]=t[o[i]];return r}}};function Re(){return{plugins:[l(),h(),y(),O(),I(),"undefined"==typeof window?null:Ae(),Ie()]}}},73914:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(81253),o=n(22122),i=n(67294),a=n(54013),l=n(65835),s={set:function(e,t,n,r){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(n,r)},get:function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},delete:function(e,t,n){e.get(t).delete(n)}},u=n(159),c=n(4137),f=-1e9;function d(){return f+=1}var p=n(35953);function h(e){var t="function"==typeof e;return{create:function(n,r){var i;try{i=t?e(n):e}catch(e){throw e}if(!r||!n.overrides||!n.overrides[r])return i;var a=n.overrides[r],l=(0,o.Z)({},i);return Object.keys(a).forEach((function(e){l[e]=(0,p.Z)(l[e],a[e])})),l},options:{}}}var m={};function v(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var o=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,o=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,o=!0),o&&(r.cacheClasses.value=(0,l.Z)({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function g(e,t){var n=e.state,r=e.theme,i=e.stylesOptions,u=e.stylesCreator,c=e.name;if(!i.disableGeneration){var f=s.get(i.sheetsManager,u,r);f||(f={refs:0,staticSheet:null,dynamicStyles:null},s.set(i.sheetsManager,u,r,f));var d=(0,o.Z)({},u.options,i,{theme:r,flip:"boolean"==typeof i.flip?i.flip:"rtl"===r.direction});d.generateId=d.serverGenerateClassName||d.generateClassName;var p=i.sheetsRegistry;if(0===f.refs){var h;i.sheetsCache&&(h=s.get(i.sheetsCache,u,r));var m=u.create(r,c);h||((h=i.jss.createStyleSheet(m,(0,o.Z)({link:!1},d))).attach(),i.sheetsCache&&s.set(i.sheetsCache,u,r,h)),p&&p.add(h),f.staticSheet=h,f.dynamicStyles=(0,a._$)(m)}if(f.dynamicStyles){var v=i.jss.createStyleSheet(f.dynamicStyles,(0,o.Z)({link:!0},d));v.update(t),v.attach(),n.dynamicSheet=v,n.classes=(0,l.Z)({baseClasses:f.staticSheet.classes,newClasses:v.classes}),p&&p.add(v)}else n.classes=f.staticSheet.classes;f.refs+=1}}function y(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function b(e){var t=e.state,n=e.theme,r=e.stylesOptions,o=e.stylesCreator;if(!r.disableGeneration){var i=s.get(r.sheetsManager,o,n);i.refs-=1;var a=r.sheetsRegistry;0===i.refs&&(s.delete(r.sheetsManager,o,n),r.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}function w(e,t){var n,r=i.useRef([]),o=i.useMemo((function(){return{}}),t);r.current!==o&&(r.current=o,n=e()),i.useEffect((function(){return function(){n&&n()}}),[o])}function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,a=t.classNamePrefix,l=t.Component,s=t.defaultTheme,f=void 0===s?m:s,p=(0,r.Z)(t,["name","classNamePrefix","Component","defaultTheme"]),x=h(e),E=n||a||"makeStyles";x.options={index:d(),name:n,meta:E,classNamePrefix:E};var _=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,u.Z)()||f,r=(0,o.Z)({},i.useContext(c.NU),p),a=i.useRef(),s=i.useRef();w((function(){var o={name:n,state:{},stylesCreator:x,stylesOptions:r,theme:t};return g(o,e),s.current=!1,a.current=o,function(){b(o)}}),[t,x]),i.useEffect((function(){s.current&&y(a.current,e),s.current=!0}));var d=v(a.current,e.classes,l);return d};return _}},65835:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(22122);function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;e.Component;if(!n)return t;var o=(0,r.Z)({},t);return Object.keys(n).forEach((function(e){n[e]&&(o[e]="".concat(t[e]," ").concat(n[e]))})),o}},83800:function(e,t,n){"use strict";var r=n(67294).createContext(null);t.Z=r},159:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(67294),o=n(83800);function i(){return r.useContext(o.Z)}},35953:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(22122),o=n(90484);function i(e){return e&&"object"===(0,o.Z)(e)&&e.constructor===Object}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},o=n.clone?(0,r.Z)({},e):e;return i(e)&&i(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(i(t[r])&&r in e?o[r]=a(e[r],t[r],n):o[r]=t[r])})),o}},60288:function(e,t,n){"use strict";function r(e){for(var t="https://material-ui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}n.d(t,{Z:function(){return r}})},62844:function(e,t,n){"use strict";n.d(t,{Rf:function(){return i},DM:function(){return a},en:function(){return l},jH:function(){return s},Cf:function(){return u},Db:function(){return c},EG:function(){return f},l4:function(){return d},JY:function(){return p}});var r=n(61422),o={};function i(){return(0,r.KV)()?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}function a(){var e=i(),t=e.crypto||e.msCrypto;if(void 0!==t&&t.getRandomValues){var n=new Uint16Array(8);t.getRandomValues(n),n[3]=4095&n[3]|16384,n[4]=16383&n[4]|32768;var r=function(e){for(var t=e.toString(16);t.length<4;)t="0"+t;return t};return r(n[0])+r(n[1])+r(n[2])+r(n[3])+r(n[4])+r(n[5])+r(n[6])+r(n[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function l(e){if(!e)return{};var t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};var n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],relative:t[5]+n+r}}function s(e){if(e.message)return e.message;if(e.exception&&e.exception.values&&e.exception.values[0]){var t=e.exception.values[0];return t.type&&t.value?t.type+": "+t.value:t.type||t.value||e.event_id||"<unknown>"}return e.event_id||"<unknown>"}function u(e){var t=i();if(!("console"in t))return e();var n=t.console,r={};["debug","info","warn","error","log","assert"].forEach((function(e){e in t.console&&n[e].__sentry_original__&&(r[e]=n[e],n[e]=n[e].__sentry_original__)}));var o=e();return Object.keys(r).forEach((function(e){n[e]=r[e]})),o}function c(e,t,n){e.exception=e.exception||{},e.exception.values=e.exception.values||[],e.exception.values[0]=e.exception.values[0]||{},e.exception.values[0].value=e.exception.values[0].value||t||"",e.exception.values[0].type=e.exception.values[0].type||n||"Error"}function f(e,t){void 0===t&&(t={});try{e.exception.values[0].mechanism=e.exception.values[0].mechanism||{},Object.keys(t).forEach((function(n){e.exception.values[0].mechanism[n]=t[n]}))}catch(e){}}function d(){try{return document.location.href}catch(e){return""}}function p(e,t){if(!t)return 6e4;var n=parseInt(""+t,10);if(!isNaN(n))return 1e3*n;var r=Date.parse(""+t);return isNaN(r)?6e4:r-e}},61422:function(e,t,n){"use strict";function r(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function o(e,t){return e.require(t)}n.d(t,{KV:function(){return r},l$:function(){return o}}),e=n.hmd(e)},21170:function(e,t,n){"use strict";n.d(t,{yW:function(){return s}});var r=n(62844),o=n(61422);e=n.hmd(e);var i={nowSeconds:function(){return Date.now()/1e3}};var a=(0,o.KV)()?function(){try{return(0,o.l$)(e,"perf_hooks").performance}catch(e){return}}():function(){var e=(0,r.Rf)().performance;if(e&&e.now)return{now:function(){return e.now()},timeOrigin:Date.now()-e.now()}}(),l=void 0===a?i:{nowSeconds:function(){return(a.timeOrigin+a.now())/1e3}},s=i.nowSeconds.bind(i);l.nowSeconds.bind(l),function(){var e=(0,r.Rf)().performance;if(e)e.timeOrigin?e.timeOrigin:e.timing&&e.timing.navigationStart||Date.now()}()},99601:function(e,t){"use strict";t.Z=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(2===e.length)return r(e[0],e[1])||null;var n=e.slice(1).reduce((function(e,t){return r(e,t)}),e[0]);return n||null};var n=new WeakMap;function r(e,t){if(e&&t){var r=n.get(e)||new WeakMap;n.set(e,r);var i=r.get(t)||function(n){o(e,n),o(t,n)};return r.set(t,i),i}return e||t}function o(e,t){"function"==typeof e?e(t):e.current=t}},9669:function(e,t,n){e.exports=n(51609)},55448:function(e,t,n){"use strict";var r=n(64867),o=n(36026),i=n(4372),a=n(15327),l=n(94097),s=n(84109),u=n(67985),c=n(85061);e.exports=function(e){return new Promise((function(t,n){var f=e.data,d=e.headers,p=e.responseType;r.isFormData(f)&&delete d["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var m=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";d.Authorization="Basic "+btoa(m+":"+v)}var g=l(e.baseURL,e.url);function y(){if(h){var r="getAllResponseHeaders"in h?s(h.getAllResponseHeaders()):null,i={data:p&&"text"!==p&&"json"!==p?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:r,config:e,request:h};o(t,n,i),h=null}}if(h.open(e.method.toUpperCase(),a(g,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,"onloadend"in h?h.onloadend=y:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(y)},h.onabort=function(){h&&(n(c("Request aborted",e,"ECONNABORTED",h)),h=null)},h.onerror=function(){n(c("Network Error",e,null,h)),h=null},h.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(c(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var b=(e.withCredentials||u(g))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;b&&(d[e.xsrfHeaderName]=b)}"setRequestHeader"in h&&r.forEach(d,(function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete d[t]:h.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),p&&"json"!==p&&(h.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){h&&(h.abort(),n(e),h=null)})),f||(f=null),h.send(f)}))}},51609:function(e,t,n){"use strict";var r=n(64867),o=n(91849),i=n(30321),a=n(47185);function l(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var s=l(n(45655));s.Axios=i,s.create=function(e){return l(a(s.defaults,e))},s.Cancel=n(65263),s.CancelToken=n(14972),s.isCancel=n(26502),s.all=function(e){return Promise.all(e)},s.spread=n(8713),s.isAxiosError=n(16268),e.exports=s,e.exports.default=s},65263:function(e){"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},14972:function(e,t,n){"use strict";var r=n(65263);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},26502:function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},30321:function(e,t,n){"use strict";var r=n(64867),o=n(15327),i=n(80782),a=n(13572),l=n(47185),s=n(54875),u=s.validators;function c(e){this.defaults=e,this.interceptors={request:new i,response:new i}}c.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=l(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&s.assertOptions(t,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!r){var c=[a,void 0];for(Array.prototype.unshift.apply(c,n),c=c.concat(i),o=Promise.resolve(e);c.length;)o=o.then(c.shift(),c.shift());return o}for(var f=e;n.length;){var d=n.shift(),p=n.shift();try{f=d(f)}catch(e){p(e);break}}try{o=a(f)}catch(e){return Promise.reject(e)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},c.prototype.getUri=function(e){return e=l(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,n){return this.request(l(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,n,r){return this.request(l(r||{},{method:e,url:t,data:n}))}})),e.exports=c},80782:function(e,t,n){"use strict";var r=n(64867);function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},94097:function(e,t,n){"use strict";var r=n(91793),o=n(7303);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},85061:function(e,t,n){"use strict";var r=n(80481);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},13572:function(e,t,n){"use strict";var r=n(64867),o=n(18527),i=n(26502),a=n(45655);function l(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return l(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(l(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},80481:function(e){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},47185:function(e,t,n){"use strict";var r=n(64867);e.exports=function(e,t){t=t||{};var n={},o=["url","method","data"],i=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],l=["validateStatus"];function s(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function u(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=s(void 0,e[o])):n[o]=s(e[o],t[o])}r.forEach(o,(function(e){r.isUndefined(t[e])||(n[e]=s(void 0,t[e]))})),r.forEach(i,u),r.forEach(a,(function(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=s(void 0,e[o])):n[o]=s(void 0,t[o])})),r.forEach(l,(function(r){r in t?n[r]=s(e[r],t[r]):r in e&&(n[r]=s(void 0,e[r]))}));var c=o.concat(i).concat(a).concat(l),f=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===c.indexOf(e)}));return r.forEach(f,u),n}},36026:function(e,t,n){"use strict";var r=n(85061);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},18527:function(e,t,n){"use strict";var r=n(64867),o=n(45655);e.exports=function(e,t,n){var i=this||o;return r.forEach(n,(function(n){e=n.call(i,e,t)})),e}},45655:function(e,t,n){"use strict";var r=n(64867),o=n(16016),i=n(80481),a={"Content-Type":"application/x-www-form-urlencoded"};function l(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(s=n(55448)),s),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(l(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(l(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional,n=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw i(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(a)})),e.exports=u},91849:function(e){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},15327:function(e,t,n){"use strict";var r=n(64867);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var l=e.indexOf("#");-1!==l&&(e=e.slice(0,l)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},7303:function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:function(e,t,n){"use strict";var r=n(64867);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var l=[];l.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&l.push("expires="+new Date(n).toGMTString()),r.isString(o)&&l.push("path="+o),r.isString(i)&&l.push("domain="+i),!0===a&&l.push("secure"),document.cookie=l.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},91793:function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},16268:function(e){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},67985:function(e,t,n){"use strict";var r=n(64867);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},16016:function(e,t,n){"use strict";var r=n(64867);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},84109:function(e,t,n){"use strict";var r=n(64867),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},8713:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},54875:function(e,t,n){"use strict";var r=n(20696),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var i={},a=r.version.split(".");function l(e,t){for(var n=t?t.split("."):a,r=e.split("."),o=0;o<3;o++){if(n[o]>r[o])return!0;if(n[o]<r[o])return!1}return!1}o.transitional=function(e,t,n){var o=t&&l(t);function a(e,t){return"[Axios v"+r.version+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,l){if(!1===e)throw new Error(a(r," has been removed in "+t));return o&&!i[r]&&(i[r]=!0,console.warn(a(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,l)}},e.exports={isOlderVersion:l,assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var l=e[i],s=void 0===l||a(l,i,e);if(!0!==s)throw new TypeError("option "+i+" must be "+s)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:o}},64867:function(e,t,n){"use strict";var r=n(91849),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return void 0===e}function l(e){return null!==e&&"object"==typeof e}function s(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===o.call(e)}function c(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:l,isPlainObject:s,isUndefined:a,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:u,isStream:function(e){return l(e)&&u(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:c,merge:function e(){var t={};function n(n,r){s(t[r])&&s(n)?t[r]=e(t[r],n):s(n)?t[r]=e({},n):i(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)c(arguments[r],n);return t},extend:function(e,t,n){return c(t,(function(t,o){e[o]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},20696:function(e){"use strict";e.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')},18671:function(e,t,n){"use strict";var r=n(67294),o=n(73935),i=n(67121),a=function(){return Math.random().toString(36).substring(7).split("").join(".")},l={INIT:"@@redux/INIT"+a(),REPLACE:"@@redux/REPLACE"+a(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+a()}};function s(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function u(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error("It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function.");if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(u)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var o=e,a=t,c=[],f=c,d=!1;function p(){f===c&&(f=c.slice())}function h(){if(d)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return a}function m(e){if("function"!=typeof e)throw new Error("Expected the listener to be a function.");if(d)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribelistener for more details.");var t=!0;return p(),f.push(e),function(){if(t){if(d)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribelistener for more details.");t=!1,p();var n=f.indexOf(e);f.splice(n,1),c=null}}}function v(e){if(!s(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(d)throw new Error("Reducers may not dispatch actions.");try{d=!0,a=o(a,e)}finally{d=!1}for(var t=c=f,n=0;n<t.length;n++){(0,t[n])()}return e}function g(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");o=e,v({type:l.REPLACE})}function y(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(h())}return n(),{unsubscribe:t(n)}}})[i.Z]=function(){return this},e}return v({type:l.INIT}),(r={dispatch:v,subscribe:m,getState:h,replaceReducer:g})[i.Z]=y,r}function c(e,t){var n=t&&t.type;return"Given "+(n&&'action "'+String(n)+'"'||"an action")+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function f(e,t){return function(){return t(e.apply(this,arguments))}}function d(e,t){if("function"==typeof e)return f(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');var n={};for(var r in e){var o=e[r];"function"==typeof o&&(n[r]=f(o,t))}return n}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(n,!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function g(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=t.map((function(e){return e(o)}));return m({},n,{dispatch:r=v.apply(void 0,i)(n.dispatch)})}}}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function x(e){return(x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var E=n(46314),_=n(82492),S=n(14176),O={INIT:"INIT",ADD_MODEL:"ADD_MODEL",ADD_RELATION:"ADD_RELATION",CHANGE_RELATION:"CHANGE_RELATION",REMOVE_RELATION:"REMOVE_RELATION",GET_DATA_BEGIN:"GET_DATA_BEGIN",GET_DATA_SUCCESS:"GET_DATA_SUCCESS",GET_DATA_FAILURE:"GET_DATA_FAILURE",GET_DATA_END:"GET_DATA_END",HAS_CHANGES:"HAS_CHANGES",IS_UPDATING:"IS_UPDATING",STOP_LOADING:"STOP_LOADING",SET_SETTING_VALUE:"SET_SETTING_VALUE",SET_MISC_VALUE:"SET_MISC_VALUE",OPEN_DRAWER:"OPENING DRAWER",CLOSE_DRAWER:"CLOSING DRAWER",groups:{ADD_RECORD:"ADDING GROUP RECORD",REMOVE_RECORD:"REMOVING GROUP RECORD",SET_KEY_VALUE:"SET KEY VALUE GROUPS",SET_KEY_FORMAT:"SET FORMATTED KEY VALUE PAIRS GROUPS"},buttons:{ADD_RECORD:"ADDING BUTTON RECORD",REMOVE_RECORD:"REMOVING BUTTON RECORD",SET_KEY_VALUE:"SET KEY VALUE BUTTONS",SET_KEY_FORMAT:"SET FORMATTED KEY VALUE PAIRS BUTTONS"},timeSchedules:{ADD_RECORD:"ADDING TIME SCHEDULE",REMOVE_RECORD:"REMOVING TIME SCHEDULE",SET_KEY_VALUE:"SET KEY VALUE TIMESCHEDULES",SET_KEY_FORMAT:"SET FORMATTED KEY VALUE PAIRS TIMESCHEDULES",ADD_TIMESCHEDULE:"ADD_TIMESCHEDULE",SET_WEEKDAY:"SET_WEEKDAY",ADD_EXCLUDED_DATE:"ADD_EXCLUDED_DATE",SET_EXCLUDED_DATE:"SET_EXCLUDED_DATE",REMOVE_EXCLUDED_DATE:"REMOVE_EXCLUDED_DATE"},pageRules:{ADD_RECORD:"ADDING PAGE RULE",REMOVE_RECORD:"REMOVING PAGE RULE",SET_KEY_VALUE:"SET KEY VALUE PAGERULES",SET_KEY_FORMAT:"SET FORMATTED KEY VALUE PAIRS PAGERULES",ADD_PAGE_RULE_ROW:"ADD_PAGE_RULE_ROW",SET_PAGE_RULE_ROW:"SET_PAGE_RULE_ROW",REMOVE_PAGE_RULE_ROW:"REMOVE_PAGE_RULE_ROW"},wp:{GET_DATA_BEGIN:"GET_DATA_BEGIN_WP",GET_DATA_SUCCESS:"GET_DATA_SUCCESS_WP",GET_DATA_FAILURE:"GET_DATA_FAILURE_WP",GET_DATA_END:"GET_DATA_END_WP"},templates:{INIT:"INIT TEMPLATES",GET_DATA_BEGIN:"GET TEMPLATES DATA BEGIN",GET_DATA_FAILURE:"GET TEMPLATES DATA FAILURE",GET_DATA_END:"GET TEMPLATES DATA END",ADD_RECORD:"ADDING TEMPLATE"}},k=["monday","tuesday","wednesday","thursday","friday","saturday","sunday"],C="buttons",P="groups",j={MENU:"menu",SETTINGS:"settings",SETTINGS_PAGES:{analytics:"analytics",iconLibrary:"iconlibrary",preferences:"preferences",reset:"reset"},BUTTONIZER_TOUR:"buttonizertour",WELCOME_DIALOG:"welcome-splash",TIME_SCHEDULES:"timeschedules",PAGE_RULES:"pagerules"},T={normal_hover:{format:function(e,t){return[e,t].map((function(e){return"unset"===e||null==e?"":e})).filter((function(e,t,n){return 0===t||""!==e&&e!==n[0]})).join(";")||"unset"},parse:function(e){var t=e;if("boolean"==typeof e&&(t=String(e)),"number"==typeof e&&(t=String(e)),void 0===e)return[];if("string"!=typeof t)throw console.trace(),console.log(x(t),t),TypeError("'record[key]' val is not of type String, boolean or number");return t.split(";").map((function(e){if(e)return"true"===e||"false"!==e&&(isNaN(Number(e))?e:Number(e))})).map((function(e,t,n){return 0===t?e:e===n[0]?void 0:e}))}},fourSidesPx:{format:function(e,t,n,r){return"".concat(e,"px ").concat(t,"px ").concat(n,"px ").concat(r,"px")},parse:function(e){return e.match(/\d+/g)}},position:{format:function(e,t,n){return"".concat(e,": ").concat(n).concat(t)}}},A=["export_type","selected_page_rule","selected_schedule","id","parent","show_on_rule_trigger","show_on_schedule_trigger"],I={get buttonSettings(){var e={general:[],styling:[],advanced:[]};return Object.entries(E.button).map((function(t){_(e,y({},t[0],Object.entries(t[1]).map((function(e){return b(e,1)[0]}))))})),e},get groupSettings(){var e={general:[],styling:[],advanced:[]};return Object.entries(E.group).map((function(t){_(e,y({},t[0],Object.entries(t[1]).map((function(e){return b(e,1)[0]}))))})),e},get allSettings(){var e={general:[],styling:[],advanced:[]};return Object.entries(_({},E.button,E.group)).map((function(t){_(e,y({},t[0],Object.entries(t[1]).map((function(e){return b(e,1)[0]}))))})),e},get stylingNoGroup(){var e=this;return Object.entries(S(_({},E.button.styling,E.group.styling),(function(t,n){return e.groupSettings.styling.includes(n)&&e.buttonSettings.styling.includes(n)||n.includes("icon")}))).map((function(e){return b(e,1)[0]}))},get stylingHover(){return Object.entries(_({},E.button.styling,E.group.styling)).filter((function(e){return Array.isArray(e[1])})).map((function(e){return b(e,1)[0]}))}},R=n(9669),N=n.n(R);function D(e,t){M(),document.location.hash+="".concat(document.location.hash.match(/\/$/)?"":"/").concat(e).concat(t?"/"+t:"")}function M(){document.location.hash=document.location.hash.replace(/\/?(settings|menu|timeschedules|pagerules|buttonizertour).*$/i,"")}var L=new Map;function F(e){if(!e)return null;return"".concat(e.getDate(),"-").concat(function(e,t){for(var n=String(e);n.length<(t||2);)n="0"+n;return n}(e.getMonth()+1,2),"-").concat(e.getFullYear())}var z=function(){var e=buttonizer_admin.assets+"/templates/templates.json?buttonizer-icon-cache="+buttonizer_admin.version;return new Promise((function(t,n){L.has(e)&&t(L.get(e)),N()({url:e}).then((function(n){L.set(e,n.data),t(n.data)})).catch((function(e){return n({message:"Something went wrong",error:e})}))}))},B=n(71171),U=n.n(B);function Z(){return Array.apply(0,Array(15)).map((function(){return(e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789").charAt(Math.floor(Math.random()*e.length));var e})).join("")}var H=n(90484);function W(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var V=n(5991),G=n(63349),$=n(14665);function K(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,$.Z)(e,t)}function q(e,t){if(t&&("object"===(0,H.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,G.Z)(e)}function Y(e){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var J=n(96156),X=n(59968),Q=n(96410),ee=n(82961),te=n(28970);function ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(n),!0).forEach((function(t){(0,J.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var oe={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},ie=new(function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};W(this,e),this.init(t,n)}return(0,V.Z)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||oe,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,re(re({},{prefix:"".concat(this.prefix,":").concat(t,":")}),this.options))}}]),e}()),ae=function(){function e(){W(this,e),this.observers={}}return(0,V.Z)(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e])}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(this.observers[e]){var o=[].concat(this.observers[e]);o.forEach((function(e){e.apply(void 0,n)}))}if(this.observers["*"]){var i=[].concat(this.observers["*"]);i.forEach((function(t){t.apply(t,[e].concat(n))}))}}}]),e}();function le(){var e,t,n=new Promise((function(n,r){e=n,t=r}));return n.resolve=e,n.reject=t,n}function se(e){return null==e?"":""+e}function ue(e,t,n){e.forEach((function(e){t[e]&&(n[e]=t[e])}))}function ce(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}for(var i="string"!=typeof t?[].concat(t):t.split(".");i.length>1;){if(o())return{};var a=r(i.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return o()?{}:{obj:e,k:r(i.shift())}}function fe(e,t,n){var r=ce(e,t,Object);r.obj[r.k]=n}function de(e,t){var n=ce(e,t),r=n.obj,o=n.k;if(r)return r[o]}function pe(e,t,n){var r=de(e,n);return void 0!==r?r:de(t,n)}function he(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):he(e[r],t[r],n):e[r]=t[r]);return e}function me(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var ve={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function ge(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return ve[e]})):e}var ye="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,be=[" ",",","?","!",";"];function we(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?we(Object(n),!0).forEach((function(t){(0,J.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):we(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ee(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Y(e);if(t){var o=Y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return q(this,n)}}function _e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),o=e,i=0;i<r.length;++i){if(!o)return;if("string"==typeof o[r[i]]&&i+1<r.length)return;if(void 0===o[r[i]]){for(var a=2,l=r.slice(i,i+a).join(n),s=o[l];void 0===s&&r.length>i+a;)a++,s=o[l=r.slice(i,i+a).join(n)];if(void 0===s)return;if(t.endsWith(l)){if("string"==typeof s)return s;if(l&&"string"==typeof s[l])return s[l]}var u=r.slice(i+a).join(n);return u?_e(s,u,n):void 0}o=o[r[i]]}return o}}var Se=function(e){K(n,e);var t=Ee(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return W(this,n),r=t.call(this),ye&&ae.call((0,G.Z)(r)),r.data=e||{},r.options=o,void 0===r.options.keySeparator&&(r.options.keySeparator="."),void 0===r.options.ignoreJSONStructure&&(r.options.ignoreJSONStructure=!0),r}return(0,V.Z)(n,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."));var l=de(this.data,a);return l||!i||"string"!=typeof n?l:_e(this.data&&this.data[e]&&this.data[e][t],n,o)}},{key:"addResource",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=this.options.keySeparator;void 0===i&&(i=".");var a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(r=t,t=(a=e.split("."))[1]),this.addNamespaces(t),fe(this.data,a,r),o.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var o in n)"string"!=typeof n[o]&&"[object Array]"!==Object.prototype.toString.apply(n[o])||this.addResource(e,t,o,n[o],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(a=e.split("."))[1]),this.addNamespaces(t);var l=de(this.data,a)||{};r?he(l,n,o):l=xe(xe({},l),n),fe(this.data,a,l),i.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?xe(xe({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((function(e){return t[e]&&Object.keys(t[e]).length>0}))}},{key:"toJSON",value:function(){return this.data}}]),n}(ae),Oe={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,o){var i=this;return e.forEach((function(e){i.processors[e]&&(t=i.processors[e].process(t,n,r,o))})),t}};function ke(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ke(Object(n),!0).forEach((function(t){(0,J.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ke(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Y(e);if(t){var o=Y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return q(this,n)}}var je={},Te=function(e){K(n,e);var t=Pe(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return W(this,n),r=t.call(this),ye&&ae.call((0,G.Z)(r)),ue(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,(0,G.Z)(r)),r.options=o,void 0===r.options.keySeparator&&(r.options.keySeparator="."),r.logger=ie.create("translator"),r}return(0,V.Z)(n,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS||[],i=n&&e.indexOf(n)>-1,a=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||function(e,t,n){t=t||"",n=n||"";var r=be.filter((function(e){return t.indexOf(e)<0&&n.indexOf(e)<0}));if(0===r.length)return!0;var o=new RegExp("(".concat(r.map((function(e){return"?"===e?"\\?":e})).join("|"),")")),i=!o.test(e);if(!i){var a=e.indexOf(n);a>0&&!o.test(e.substring(0,a))&&(i=!0)}return i}(e,n,r));if(i&&!a){var l=e.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:e,namespaces:o};var s=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(s[0])>-1)&&(o=s.shift()),e=s.join(r)}return"string"==typeof o&&(o=[o]),{key:e,namespaces:o}}},{key:"translate",value:function(e,t,r){var o=this;if("object"!==(0,H.Z)(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,a=this.extractFromKey(e[e.length-1],t),l=a.key,s=a.namespaces,u=s[s.length-1],c=t.lng||this.language,f=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&"cimode"===c.toLowerCase()){if(f){var d=t.nsSeparator||this.options.nsSeparator;return u+d+l}return l}var p=this.resolve(e,t),h=p&&p.res,m=p&&p.usedKey||l,v=p&&p.exactUsedKey||l,g=Object.prototype.toString.apply(h),y=["[object Number]","[object Function]","[object RegExp]"],b=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,w=!this.i18nFormat||this.i18nFormat.handleAsObject,x="string"!=typeof h&&"boolean"!=typeof h&&"number"!=typeof h;if(w&&h&&x&&y.indexOf(g)<0&&("string"!=typeof b||"[object Array]"!==g)){if(!t.returnObjects&&!this.options.returnObjects)return this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,h,Ce(Ce({},t),{},{ns:s})):"key '".concat(l," (").concat(this.language,")' returned an object instead of string.");if(i){var E="[object Array]"===g,_=E?[]:{},S=E?v:m;for(var O in h)if(Object.prototype.hasOwnProperty.call(h,O)){var k="".concat(S).concat(i).concat(O);_[O]=this.translate(k,Ce(Ce({},t),{joinArrays:!1,ns:s})),_[O]===k&&(_[O]=h[O])}h=_}}else if(w&&"string"==typeof b&&"[object Array]"===g)(h=h.join(b))&&(h=this.extendTranslation(h,e,t,r));else{var C=!1,P=!1,j=void 0!==t.count&&"string"!=typeof t.count,T=n.hasDefaultValue(t),A=j?this.pluralResolver.getSuffix(c,t.count,t):"",I=t["defaultValue".concat(A)]||t.defaultValue;!this.isValidLookup(h)&&T&&(C=!0,h=I),this.isValidLookup(h)||(P=!0,h=l);var R=t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,N=R&&P?void 0:h,D=T&&I!==h&&this.options.updateMissing;if(P||C||D){if(this.logger.log(D?"updateKey":"missingKey",c,u,l,D?I:h),i){var M=this.resolve(l,Ce(Ce({},t),{},{keySeparator:!1}));M&&M.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var L=[],F=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&F&&F[0])for(var z=0;z<F.length;z++)L.push(F[z]);else"all"===this.options.saveMissingTo?L=this.languageUtils.toResolveHierarchy(t.lng||this.language):L.push(t.lng||this.language);var B=function(e,n,r){var i=T&&r!==h?r:N;o.options.missingKeyHandler?o.options.missingKeyHandler(e,u,n,i,D,t):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(e,u,n,i,D,t),o.emit("missingKey",e,u,n,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&j?L.forEach((function(e){o.pluralResolver.getSuffixes(e).forEach((function(n){B([e],l+n,t["defaultValue".concat(n)]||I)}))})):B(L,l,I))}h=this.extendTranslation(h,e,t,p,r),P&&h===l&&this.options.appendNamespaceToMissingKey&&(h="".concat(u,":").concat(l)),(P||C)&&this.options.parseMissingKeyHandler&&(h=this.options.parseMissingKeyHandler(h))}return h}},{key:"extendTranslation",value:function(e,t,n,r,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,n,r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(Ce(Ce({},n),{interpolation:Ce(Ce({},this.options.interpolation),n.interpolation)}));var a,l="string"==typeof e&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(l){var s=e.match(this.interpolator.nestingRegexp);a=s&&s.length}var u=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(u=Ce(Ce({},this.options.interpolation.defaultVariables),u)),e=this.interpolator.interpolate(e,u,n.lng||this.language,n),l){var c=e.match(this.interpolator.nestingRegexp);a<(c&&c.length)&&(n.nest=!1)}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return o&&o[0]===r[0]&&!n.context?(i.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):i.translate.apply(i,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset()}var f=n.postProcess||this.options.postProcess,d="string"==typeof f?[f]:f;return null!=e&&d&&d.length&&!1!==n.applyPostProcessor&&(e=Oe.handle(d,e,t,this.options&&this.options.postProcessPassResolved?Ce({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,o,i,a=this,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!a.isValidLookup(t)){var s=a.extractFromKey(e,l),u=s.key;n=u;var c=s.namespaces;a.options.fallbackNS&&(c=c.concat(a.options.fallbackNS));var f=void 0!==l.count&&"string"!=typeof l.count,d=f&&!l.ordinal&&0===l.count&&a.pluralResolver.shouldUseIntlApi(),p=void 0!==l.context&&("string"==typeof l.context||"number"==typeof l.context)&&""!==l.context,h=l.lngs?l.lngs:a.languageUtils.toResolveHierarchy(l.lng||a.language,l.fallbackLng);c.forEach((function(e){a.isValidLookup(t)||(i=e,!je["".concat(h[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(i)&&(je["".concat(h[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(h.join(", "),'" won\'t get resolved as namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach((function(n){if(!a.isValidLookup(t)){o=n;var i,s=[u];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(s,u,n,e,l);else{var c;f&&(c=a.pluralResolver.getSuffix(n,l.count,l));if(f&&(s.push(u+c),d&&s.push(u+"_zero")),p){var h="".concat(u).concat(a.options.contextSeparator).concat(l.context);s.push(h),f&&(s.push(h+c),d&&s.push(h+"_zero"))}}for(;i=s.pop();)a.isValidLookup(t)||(r=i,t=a.getResource(n,e,i,l))}})))}))}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,"defaultValue".length)&&void 0!==e[t])return!0;return!1}}]),n}(ae);function Ae(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Ie=function(){function e(t){W(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ie.create("languageUtils")}return(0,V.Z)(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=Ae(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=Ae(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=Ae(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(r))return e}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),o=[],i=function(e){e&&(n.isSupportedCode(e)?o.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),r.forEach((function(e){o.indexOf(e)<0&&i(n.formatLanguageCode(e))})),o}}]),e}(),Re=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Ne={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}},De=["v1","v2","v3"],Me={zero:0,one:1,two:2,few:3,many:4,other:5};function Le(){var e={};return Re.forEach((function(t){t.lngs.forEach((function(n){e[n]={numbers:t.nr,plurals:Ne[t.fc]}}))})),e}var Fe=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};W(this,e),this.languageUtils=t,this.options=n,this.logger=ie.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Le()}return(0,V.Z)(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getRule(e,t);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,n).map((function(e){return"".concat(t).concat(e)}))}},{key:"getSuffixes",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((function(e,t){return Me[e]-Me[t]})).map((function(e){return"".concat(t.options.prepend).concat(e)})):r.numbers.map((function(r){return t.getSuffix(e,r,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.getRule(e,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(r.select(t)):this.getSuffixRetroCompatible(r,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var n=this,r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),o=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===o?o="plural":1===o&&(o=""));var i=function(){return n.options.prepend&&o.toString()?n.options.prepend+o.toString():o.toString()};return"v1"===this.options.compatibilityJSON?1===o?"":"number"==typeof o?"_plural_".concat(o.toString()):i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}},{key:"shouldUseIntlApi",value:function(){return!De.includes(this.options.compatibilityJSON)}}]),e}();function ze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ze(Object(n),!0).forEach((function(t){(0,J.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ue=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};W(this,e),this.logger=ie.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return(0,V.Z)(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:ge,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?me(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?me(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?me(t.nestingPrefix):t.nestingPrefixEscaped||me("$t("),this.nestingSuffix=t.nestingSuffix?me(t.nestingSuffix):t.nestingSuffixEscaped||me(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){var o,i,a,l=this,s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(e){return e.replace(/\$/g,"$$$$")}var c=function(e){if(e.indexOf(l.formatSeparator)<0){var o=pe(t,s,e);return l.alwaysFormat?l.format(o,void 0,n,Be(Be(Be({},r),t),{},{interpolationkey:e})):o}var i=e.split(l.formatSeparator),a=i.shift().trim(),u=i.join(l.formatSeparator).trim();return l.format(pe(t,s,a),u,n,Be(Be(Be({},r),t),{},{interpolationkey:a}))};this.resetRegExp();var f=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,d=r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return u(e)}},{regex:this.regexp,safeValue:function(e){return l.escapeValue?u(l.escape(e)):u(e)}}].forEach((function(t){for(a=0;o=t.regex.exec(e);){var n=o[1].trim();if(void 0===(i=c(n)))if("function"==typeof f){var s=f(e,o,r);i="string"==typeof s?s:""}else if(r&&r.hasOwnProperty(n))i="";else{if(d){i=o[0];continue}l.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(e)),i=""}else"string"==typeof i||l.useRawValueToEscape||(i=se(i));var u=t.safeValue(i);if(e=e.replace(o[0],u),d?(t.regex.lastIndex+=u.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++a>=l.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,o=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=Be({},i);function l(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),o="{".concat(r[1]);e=r[0],o=(o=this.interpolate(o,a)).replace(/'/g,'"');try{a=JSON.parse(o),t&&(a=Be(Be({},t),a))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(o)}return delete a.defaultValue,e}for(a.applyPostProcessor=!1,delete a.defaultValue;n=this.nestingRegexp.exec(e);){var s=[],u=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var c=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=c.shift(),s=c,u=!0}if((r=t(l.call(this,n[1].trim(),a),a))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=se(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),u&&(r=s.reduce((function(e,t){return o.format(e,t,i.lng,Be(Be({},i),{},{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}]),e}();function Ze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function He(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ze(Object(n),!0).forEach((function(t){(0,J.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function We(e){var t=e.toLowerCase().trim(),n={};if(e.indexOf("(")>-1){var r=e.split("(");t=r[0].toLowerCase().trim();var o=r[1].substring(0,r[1].length-1);if("currency"===t&&o.indexOf(":")<0)n.currency||(n.currency=o.trim());else if("relativetime"===t&&o.indexOf(":")<0)n.range||(n.range=o.trim());else{o.split(";").forEach((function(e){if(e){var t=function(e){return(0,X.Z)(e)||(0,Q.Z)(e)||(0,ee.Z)(e)||(0,te.Z)()}(e.split(":")),r=t[0],o=t.slice(1).join(":");"false"===o.trim()&&(n[r.trim()]=!1),"true"===o.trim()&&(n[r.trim()]=!0),isNaN(o.trim())||(n[r.trim()]=parseInt(o.trim(),10)),n[r.trim()]||(n[r.trim()]=o.trim())}}))}}return{formatName:t,formatOptions:n}}var Ve=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};W(this,e),this.logger=ie.create("formatter"),this.options=t,this.formats={number:function(e,t,n){return new Intl.NumberFormat(t,n).format(e)},currency:function(e,t,n){return new Intl.NumberFormat(t,He(He({},n),{},{style:"currency"})).format(e)},datetime:function(e,t,n){return new Intl.DateTimeFormat(t,He({},n)).format(e)},relativetime:function(e,t,n){return new Intl.RelativeTimeFormat(t,He({},n)).format(e,n.range||"day")},list:function(e,t,n){return new Intl.ListFormat(t,He({},n)).format(e)}},this.init(t)}return(0,V.Z)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=t.interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"format",value:function(e,t,n,r){var o=this;return t.split(this.formatSeparator).reduce((function(e,t){var i=We(t),a=i.formatName,l=i.formatOptions;if(o.formats[a]){var s=e;try{var u=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},c=u.locale||u.lng||r.locale||r.lng||n;s=o.formats[a](e,c,He(He(He({},l),r),u))}catch(e){o.logger.warn(e)}return s}return o.logger.warn("there was no format function for ".concat(a)),e}),e)}}]),e}();function Ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ge(Object(n),!0).forEach((function(t){(0,J.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ke(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Y(e);if(t){var o=Y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return q(this,n)}}var qe=function(e){K(n,e);var t=Ke(n);function n(e,r,o){var i,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return W(this,n),i=t.call(this),ye&&ae.call((0,G.Z)(i)),i.backend=e,i.store=r,i.services=o,i.languageUtils=o.languageUtils,i.options=a,i.logger=ie.create("backendConnector"),i.state={},i.queue=[],i.backend&&i.backend.init&&i.backend.init(o,a.backend,a),i}return(0,V.Z)(n,[{key:"queueLoad",value:function(e,t,n,r){var o=this,i=[],a=[],l=[],s=[];return e.forEach((function(e){var r=!0;t.forEach((function(t){var l="".concat(e,"|").concat(t);!n.reload&&o.store.hasResourceBundle(e,t)?o.state[l]=2:o.state[l]<0||(1===o.state[l]?a.indexOf(l)<0&&a.push(l):(o.state[l]=1,r=!1,a.indexOf(l)<0&&a.push(l),i.indexOf(l)<0&&i.push(l),s.indexOf(t)<0&&s.push(t)))})),r||l.push(e)})),(i.length||a.length)&&this.queue.push({pending:a,loaded:{},errors:[],callback:r}),{toLoad:i,pending:a,toLoadLanguages:l,toLoadNamespaces:s}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),o=r[0],i=r[1];t&&this.emit("failedLoading",o,i,t),n&&this.store.addResourceBundle(o,i,n),this.state[e]=t?-1:2;var a={};this.queue.forEach((function(n){!function(e,t,n,r){var o=ce(e,t,Object),i=o.obj,a=o.k;i[a]=i[a]||[],r&&(i[a]=i[a].concat(n)),r||i[a].push(n)}(n.loaded,[o],i),function(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t)}(n.pending,e),t&&n.errors.push(t),0!==n.pending.length||n.done||(Object.keys(n.loaded).forEach((function(e){a[e]||(a[e]=[]),n.loaded[e].length&&n.loaded[e].forEach((function(t){a[e].indexOf(t)<0&&a[e].push(t)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,a=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[n](e,t,(function(l,s){l&&s&&o<5?setTimeout((function(){r.read.call(r,e,t,n,o+1,2*i,a)}),i):a(l,s)})):a(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var i=this.queueLoad(e,t,r,o);if(!i.toLoad.length)return i.pending.length||o(),null;i.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),o=r[0],i=r[1];this.read(o,i,"read",void 0,void 0,(function(r,a){r&&t.logger.warn("".concat(n,"loading namespace ").concat(i," for language ").concat(o," failed"),r),!r&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(i," for language ").concat(o),a),t.loaded(e,r,a)}))}},{key:"saveMissing",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,$e($e({},i),{},{isUpdate:o})),e&&e[0]&&this.store.addResource(e[0],t,n,r))}}]),n}(ae);function Ye(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===(0,H.Z)(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===(0,H.Z)(e[2])||"object"===(0,H.Z)(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function Je(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xe(Object(n),!0).forEach((function(t){(0,J.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function et(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Y(e);if(t){var o=Y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return q(this,n)}}function tt(){}function nt(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((function(t){"function"==typeof e[t]&&(e[t]=e[t].bind(e))}))}var rt=function(e){K(n,e);var t=et(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(W(this,n),e=t.call(this),ye&&ae.call((0,G.Z)(e)),e.options=Je(r),e.services={},e.logger=ie,e.modules={external:[]},nt((0,G.Z)(e)),o&&!e.isInitialized&&!r.isClone){if(!e.options.initImmediate)return e.init(r,o),q(e,(0,G.Z)(e));setTimeout((function(){e.init(r,o)}),0)}return e}return(0,V.Z)(n,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(n=t,t={}),!t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));var r=Ye();function o(e){return e?"function"==typeof e?new e:e:null}if(this.options=Qe(Qe(Qe({},r),this.options),Je(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=Qe(Qe({},r.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){var i;this.modules.logger?ie.init(o(this.modules.logger),this.options):ie.init(null,this.options),this.modules.formatter?i=this.modules.formatter:"undefined"!=typeof Intl&&(i=Ve);var a=new Ie(this.options);this.store=new Se(this.options.resources,this.options);var l=this.services;l.logger=ie,l.resourceStore=this.store,l.languageUtils=a,l.pluralResolver=new Fe(a,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!i||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(l.formatter=o(i),l.formatter.init(l,this.options),this.options.interpolation.format=l.formatter.format.bind(l.formatter)),l.interpolator=new Ue(this.options),l.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},l.backendConnector=new qe(o(this.modules.backend),l.resourceStore,l,this.options),l.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))})),this.modules.languageDetector&&(l.languageDetector=o(this.modules.languageDetector),l.languageDetector.init(l,this.options.detection,this.options)),this.modules.i18nFormat&&(l.i18nFormat=o(this.modules.i18nFormat),l.i18nFormat.init&&l.i18nFormat.init(this)),this.translator=new Te(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r))})),this.modules.external.forEach((function(t){t.init&&t.init(e)}))}if(this.format=this.options.interpolation.format,n||(n=tt),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var s=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);s.length>0&&"dev"!==s[0]&&(this.options.lng=s[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");var u=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];u.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}));var c=["addResource","addResources","addResourceBundle","removeResourceBundle"];c.forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var f=le(),d=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),f.resolve(r),n(t,r)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?d():setTimeout(d,0),f}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tt,r=n,o="string"==typeof e?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(o&&"cimode"===o.toLowerCase())return r();var i=[],a=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){i.indexOf(e)<0&&i.push(e)}))};if(o)a(o);else{var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.forEach((function(e){return a(e)}))}this.options.preload&&this.options.preload.forEach((function(e){return a(e)})),this.services.backendConnector.load(i,this.options.ns,r)}else r(null)}},{key:"reloadResources",value:function(e,t,n){var r=le();return e||(e=this.languages),t||(t=this.options.ns),n||(n=tt),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e)})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&Oe.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=le();this.emit("languageChanging",e);var o=function(e){if(n.language=e,n.languages=n.services.languageUtils.toResolveHierarchy(e),n.resolvedLanguage=void 0,!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t<n.languages.length;t++){var r=n.languages[t];if(!(["cimode","dev"].indexOf(r)>-1)&&n.store.hasLanguageSomeTranslations(r)){n.resolvedLanguage=r;break}}},i=function(i){e||i||!n.services.languageDetector||(i=[]);var a="string"==typeof i?i:n.services.languageUtils.getBestMatchFromCodes(i);a&&(n.language||o(a),n.translator.language||n.translator.changeLanguage(a),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(a)),n.loadResources(a,(function(e){!function(e,i){i?(o(i),n.translator.changeLanguage(i),n.isLanguageChangingTo=void 0,n.emit("languageChanged",i),n.logger.log("languageChanged",i)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,a)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(i):i(e):i(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var r=this,o=function e(t,o){var i;if("object"!==(0,H.Z)(o)){for(var a=arguments.length,l=new Array(a>2?a-2:0),s=2;s<a;s++)l[s-2]=arguments[s];i=r.options.overloadTranslationOptionHandler([t,o].concat(l))}else i=Qe({},o);i.lng=i.lng||e.lng,i.lngs=i.lngs||e.lngs,i.ns=i.ns||e.ns;var u=r.options.keySeparator||".",c=n?"".concat(n).concat(u).concat(t):t;return r.t(c,i)};return"string"==typeof e?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=n,o}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var r=this.resolvedLanguage||this.languages[0],o=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===r||2===r};if(n.precheck){var l=n.precheck(this,a);if(void 0!==l)return l}return!!this.hasResourceBundle(r,e)||(!this.services.backendConnector.backend||!(!a(r,e)||o&&!a(i,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=le();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=le();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],o=e.filter((function(e){return r.indexOf(e)<0}));return o.length?(this.options.preload=r.concat(o),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:tt,o=Qe(Qe(Qe({},this.options),t),{isClone:!0}),i=new n(o),a=["store","services","language"];return a.forEach((function(t){i[t]=e[t]})),i.services=Qe({},this.services),i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i.translator=new Te(i.services,i.options),i.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.emit.apply(i,[e].concat(n))})),i.init(o,r),i.translator.options=i.options,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),n}(ae);(0,J.Z)(rt,"createInstance",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new rt(e,t)}));var ot=rt.createInstance();ot.createInstance=rt.createInstance;ot.createInstance,ot.init,ot.loadResources,ot.reloadResources,ot.use,ot.changeLanguage,ot.getFixedT,ot.t,ot.exists,ot.setDefaultNamespace,ot.hasLoadedNamespace,ot.loadNamespaces,ot.loadLanguages;var it=ot;function at(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return it.t(e,t)}function lt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function st(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lt(Object(n),!0).forEach((function(t){ut(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ct={resolve:null,endpoint:null,data:null};function ft(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.url=buttonizer_admin.api+e,buttonizer_admin.is_stand_alone?t.headers={Authorization:"Bearer ".concat(buttonizer_admin.auth)}:t.headers={"X-WP-Nonce":buttonizer_admin.nonce},t.withCredentials=!0,new Promise((function(o,i){N()(t).then((function(e){return o(e)})).catch((function(a){if(!n&&a.response&&401===a.response.status)return app.standAloneEvent&&app.standAloneEvent("unauthenticated"),r?void i("wait-for-auth"):void(ct={resolve:o,endpoint:e,data:t});app.standAloneEvent&&app.standAloneEvent("unauthenticated"),i(a)}))}))}function dt(){if(!ct.resolve)throw new Error(ct);return new Promise((function(e,t){ft(ct.endpoint,ct.data,!1,!0).then((function(t){ct.resolve(t),e()})).catch((function(e){return t(e)}))}))}function pt(e){var t=e,n={},r={};t.groups.map((function(e){var t=ht(e.data);t.children=[],Object.keys(e.buttons).map((function(r){var o=ht(e.buttons[r]);o.parent=t.id,n[o.id]=o,t.children.push(o.id)})),r[t.id]=t}));var o={},i={};return t.time_schedules&&t.time_schedules.map((function(e){o[e.id]={id:e.id,name:e.name||at("time_schedules.single_name"),weekdays:e.weekdays||k.map((function(e){return{opened:!0,open:"8:00",close:"17:00",weekday:e}})),start_date:e.start_date||F(new Date),end_date:e.end_date||null,dates:e.dates||[]}})),t.page_rules&&t.page_rules.map((function(e){i[e.id]={id:e.id,name:e.name||"Unnamed pagerule",type:e.type||"and",rules:e.rules||[{type:"page_title",value:""}]}})),{hasChanges:t.changes,buttons:n,groups:r,timeSchedules:o,pageRules:i,settings:t.settings,premium:t.premium,premium_code:t.premium_code,version:t.version,wordpress:t.wordpress,info:t.info,is_opt_in:t.is_opt_in,latest_tour_update:t.latest_tour_update,identifier:t.identifier?t.identifier:null,additional_permissions:t.additional_permissions,domain:t.domain}}function ht(e){return e&&void 0!==e.id?e:st(st({},e),{},{id:U()()})}function mt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{type:O.ADD_RELATION,payload:{button_id:e,group_id:t,index:n}}}function vt(e,t,n,r){return{type:O.CHANGE_RELATION,payload:{button_id:e,old_group_id:t,new_group_id:n,button_index:r}}}function gt(e,t){return{type:O.REMOVE_RELATION,payload:{button_id:e,group_id:t}}}var yt=function(e,t,n,r){return Array.isArray(r)?{type:O[e].SET_KEY_FORMAT,payload:{id:t,format:"normal_hover",key:n,values:r}}:{type:O[e].SET_KEY_VALUE,payload:{id:t,key:n,value:r}}},bt=function(e,t){return{type:O.SET_SETTING_VALUE,payload:{setting:e,value:t}}},wt=function(e,t){return{type:O.SET_MISC_VALUE,payload:{setting:e,value:t}}};function xt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{type:O[t].ADD_RECORD,payload:{record:ht(e),index:n}}}function Et(e,t){return{type:O[t].REMOVE_RECORD,payload:{model_id:e}}}function _t(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.store.getState();if(!t.groups[e].children)return null;var n=t.groups[e].children,r=t.buttons,o={};return Object.keys(r).map((function(e){n.includes(e)&&(o[e]=r[e])})),o}function St(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:co.getState();if(!e)return null;var n=t.buttons,r={};return Object.keys(n).map((function(t){e.includes(t)&&e.map((function(e,o){e===t&&(r[o]=n[t])}))})),r}function Ot(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.store.getState();return t.groups&&t.groups[e]?t.groups[e].children.length:0}function kt(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ct(e){return!!e&&!!e[mn]}function Pt(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===vn}(e)||Array.isArray(e)||!!e[hn]||!!e.constructor[hn]||Dt(e)||Mt(e))}function jt(e,t,n){void 0===n&&(n=!1),0===Tt(e)?(n?Object.keys:gn)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function Tt(e){var t=e[mn];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Dt(e)?2:Mt(e)?3:0}function At(e,t){return 2===Tt(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function It(e,t){return 2===Tt(e)?e.get(t):e[t]}function Rt(e,t,n){var r=Tt(e);2===r?e.set(t,n):3===r?(e.delete(t),e.add(n)):e[t]=n}function Nt(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function Dt(e){return cn&&e instanceof Map}function Mt(e){return fn&&e instanceof Set}function Lt(e){return e.o||e.t}function Ft(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=yn(e);delete t[mn];for(var n=gn(t),r=0;r<n.length;r++){var o=n[r],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function zt(e,t){return void 0===t&&(t=!1),Ut(e)||Ct(e)||!Pt(e)||(Tt(e)>1&&(e.set=e.add=e.clear=e.delete=Bt),Object.freeze(e),t&&jt(e,(function(e,t){return zt(t,!0)}),!0)),e}function Bt(){kt(2)}function Ut(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function Zt(e){var t=bn[e];return t||kt(18,e),t}function Ht(){return sn}function Wt(e,t){t&&(Zt("Patches"),e.u=[],e.s=[],e.v=t)}function Vt(e){Gt(e),e.p.forEach(Kt),e.p=null}function Gt(e){e===sn&&(sn=e.l)}function $t(e){return sn={p:[],l:sn,h:e,m:!0,_:0}}function Kt(e){var t=e[mn];0===t.i||1===t.i?t.j():t.O=!0}function qt(e,t){t._=t.p.length;var n=t.p[0],r=void 0!==e&&e!==n;return t.h.g||Zt("ES5").S(t,e,r),r?(n[mn].P&&(Vt(t),kt(4)),Pt(e)&&(e=Yt(t,e),t.l||Xt(t,e)),t.u&&Zt("Patches").M(n[mn],e,t.u,t.s)):e=Yt(t,n,[]),Vt(t),t.u&&t.v(t.u,t.s),e!==pn?e:void 0}function Yt(e,t,n){if(Ut(t))return t;var r=t[mn];if(!r)return jt(t,(function(o,i){return Jt(e,r,t,o,i,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return Xt(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=Ft(r.k):r.o;jt(3===r.i?new Set(o):o,(function(t,i){return Jt(e,r,o,t,i,n)})),Xt(e,o,!1),n&&e.u&&Zt("Patches").R(r,n,e.u,e.s)}return r.o}function Jt(e,t,n,r,o,i){if(Ct(o)){var a=Yt(e,o,i&&t&&3!==t.i&&!At(t.D,r)?i.concat(r):void 0);if(Rt(n,r,a),!Ct(a))return;e.m=!1}if(Pt(o)&&!Ut(o)){if(!e.h.F&&e._<1)return;Yt(e,o),t&&t.A.l||Xt(e,o)}}function Xt(e,t,n){void 0===n&&(n=!1),e.h.F&&e.m&&zt(t,n)}function Qt(e,t){var n=e[mn];return(n?Lt(n):e)[t]}function en(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function tn(e){e.P||(e.P=!0,e.l&&tn(e.l))}function nn(e){e.o||(e.o=Ft(e.t))}function rn(e,t,n){var r=Dt(t)?Zt("MapSet").N(t,n):Mt(t)?Zt("MapSet").T(t,n):e.g?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:Ht(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=r,i=wn;n&&(o=[r],i=xn);var a=Proxy.revocable(o,i),l=a.revoke,s=a.proxy;return r.k=s,r.j=l,s}(t,n):Zt("ES5").J(t,n);return(n?n.A:Ht()).p.push(r),r}function on(e){return Ct(e)||kt(22,e),function e(t){if(!Pt(t))return t;var n,r=t[mn],o=Tt(t);if(r){if(!r.P&&(r.i<4||!Zt("ES5").K(r)))return r.t;r.I=!0,n=an(t,o),r.I=!1}else n=an(t,o);return jt(n,(function(t,o){r&&It(r.t,t)===o||Rt(n,t,e(o))})),3===o?new Set(n):n}(e)}function an(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Ft(e)}var ln,sn,un="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),cn="undefined"!=typeof Map,fn="undefined"!=typeof Set,dn="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,pn=un?Symbol.for("immer-nothing"):((ln={})["immer-nothing"]=!0,ln),hn=un?Symbol.for("immer-draftable"):"__$immer_draftable",mn=un?Symbol.for("immer-state"):"__$immer_state",vn=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),gn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,yn=Object.getOwnPropertyDescriptors||function(e){var t={};return gn(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},bn={},wn={get:function(e,t){if(t===mn)return e;var n=Lt(e);if(!At(n,t))return function(e,t,n){var r,o=en(t,n);return o?"value"in o?o.value:null===(r=o.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!Pt(r)?r:r===Qt(e.t,t)?(nn(e),e.o[t]=rn(e.A.h,r,e)):r},has:function(e,t){return t in Lt(e)},ownKeys:function(e){return Reflect.ownKeys(Lt(e))},set:function(e,t,n){var r=en(Lt(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var o=Qt(Lt(e),t),i=null==o?void 0:o[mn];if(i&&i.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(Nt(n,o)&&(void 0!==n||At(e.t,t)))return!0;nn(e),tn(e)}return e.o[t]===n&&"number"!=typeof n&&(void 0!==n||t in e.o)||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return void 0!==Qt(e.t,t)||t in e.t?(e.D[t]=!1,nn(e),tn(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=Lt(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){kt(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){kt(12)}},xn={};jt(wn,(function(e,t){xn[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),xn.deleteProperty=function(e,t){return wn.deleteProperty.call(this,e[0],t)},xn.set=function(e,t,n){return wn.set.call(this,e[0],t,n,e[0])};var En=new(function(){function e(e){var t=this;this.g=dn,this.F=!0,this.produce=function(e,n,r){if("function"==typeof e&&"function"!=typeof n){var o=n;n=e;var i=t;return function(e){var t=this;void 0===e&&(e=o);for(var r=arguments.length,a=Array(r>1?r-1:0),l=1;l<r;l++)a[l-1]=arguments[l];return i.produce(e,(function(e){var r;return(r=n).call.apply(r,[t,e].concat(a))}))}}var a;if("function"!=typeof n&&kt(6),void 0!==r&&"function"!=typeof r&&kt(7),Pt(e)){var l=$t(t),s=rn(t,e,void 0),u=!0;try{a=n(s),u=!1}finally{u?Vt(l):Gt(l)}return"undefined"!=typeof Promise&&a instanceof Promise?a.then((function(e){return Wt(l,r),qt(e,l)}),(function(e){throw Vt(l),e})):(Wt(l,r),qt(a,l))}if(!e||"object"!=typeof e){if((a=n(e))===pn)return;return void 0===a&&(a=e),t.F&&zt(a,!0),a}kt(21,e)},this.produceWithPatches=function(e,n){return"function"==typeof e?function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(o))}))}:[t.produce(e,n,(function(e,t){r=e,o=t})),r,o];var r,o},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){Pt(e)||kt(8),Ct(e)&&(e=on(e));var t=$t(this),n=rn(this,e,void 0);return n[mn].C=!0,Gt(t),n},t.finishDraft=function(e,t){var n=(e&&e[mn]).A;return Wt(n,t),qt(void 0,n)},t.setAutoFreeze=function(e){this.F=e},t.setUseProxies=function(e){e&&!dn&&kt(20),this.g=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}var o=Zt("Patches").$;return Ct(e)?o(e,t):this.produce(e,(function(e){return o(e,t.slice(n+1))}))},e}()),_n=En.produce,Sn=(En.produceWithPatches.bind(En),En.setAutoFreeze.bind(En),En.setUseProxies.bind(En),En.applyPatches.bind(En),En.createDraft.bind(En),En.finishDraft.bind(En),_n);function On(e){return{type:O.HAS_CHANGES,payload:{hasChanges:e}}}function kn(e){return{type:O.IS_UPDATING,payload:{isUpdating:e}}}function Cn(){return{type:O.STOP_LOADING}}
29
  /*! *****************************************************************************
30
  Copyright (c) Microsoft Corporation.
31
 
40
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
41
  PERFORMANCE OF THIS SOFTWARE.
42
  ***************************************************************************** */