Brizy – Page Builder - Version 2.3.34

Version Description

  • 2022-04-20 =
  • New: Added hover Transition for elements: Accordion, ProgressBar and Tabs
  • New: Added cover image option for the Map element
  • Fixed: Cover images not displaying in Playlist element
  • Fixed: YouTube loop when you set start-end options
  • Fixed: Changed size for Image option upload field
  • Fixed: Text element blinks when changing align options
  • Fixed: Layout Carwash was changed to PRO
  • Fixed: Layout Scooter Rental was changed to PRO
  • Fixed: Active border size for element Tabs
  • Fixed: Style 3 for Tabs element
  • Fixed: Center align option for arrows in the Accordion element
  • Fixed: Cover image repeat issue
  • New: Auto install for Brizy Starter Templates
  • Fixed: Fixed attachment post type exclusion
  • Fixed: Remove attachment post type from post type list from editor config
  • Fixed: Lost global colour styling
  • Fixed: Include inline JS scripts depending on their priority
  • Fixed: Preventing directory traversal on get icon
Download this release

Release Info

Developer themefusecom
Plugin Icon 128x128 Brizy – Page Builder
Version 2.3.34
Comparing to
See all releases

Code changes from version 2.3.33 to 2.3.34

README.md CHANGED
@@ -1,9 +1,9 @@
1
  # Brizy - Page Builder
2
  Contributors: themefuse<br>
3
  Requires at least: 4.5<br>
4
- Tested up to: 5.9.1<br>
5
  Requires PHP: 5.6.20<br>
6
- Stable tag: 2.3.33<br>
7
  License: GPLv3<br>
8
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -118,6 +118,26 @@ $bodyHtml = apply_filters( 'brizy_content', $html->get_body(), Brizy_Editor_Proj
118
 
119
  ## Changelog
120
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
121
  ### 2.3.33 - 2022-03-10
122
  * New: Import and Export Saved Blocks, Popups, Layouts
123
  * New: Show progress on story when autoplay is on
1
  # Brizy - Page Builder
2
  Contributors: themefuse<br>
3
  Requires at least: 4.5<br>
4
+ Tested up to: 5.9.3<br>
5
  Requires PHP: 5.6.20<br>
6
+ Stable tag: 2.3.34<br>
7
  License: GPLv3<br>
8
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
9
 
118
 
119
  ## Changelog
120
 
121
+ ### 2.3.34 - 2022-04-20
122
+ * New: Added hover Transition for elements: Accordion, ProgressBar and Tabs
123
+ * New: Added cover image option for the Map element
124
+ * Fixed: Cover images not displaying in Playlist element
125
+ * Fixed: YouTube loop when you set start-end options
126
+ * Fixed: Changed size for Image option upload field
127
+ * Fixed: Text element blinks when changing align options
128
+ * Fixed: Layout Carwash was changed to PRO
129
+ * Fixed: Layout Scooter Rental was changed to PRO
130
+ * Fixed: Active border size for element Tabs
131
+ * Fixed: Style 3 for Tabs element
132
+ * Fixed: Center align option for arrows in the Accordion element
133
+ * Fixed: Cover image repeat issue
134
+ * New: Auto install for Brizy Starter Templates
135
+ * Fixed: Fixed attachment post type exclusion
136
+ * Fixed: Remove attachment post type from post type list from editor config
137
+ * Fixed: Lost global colour styling
138
+ * Fixed: Include inline JS scripts depending on their priority
139
+ * Fixed: Preventing directory traversal on get icon
140
+
141
  ### 2.3.33 - 2022-03-10
142
  * New: Import and Export Saved Blocks, Popups, Layouts
143
  * New: Show progress on story when autoplay is on
admin/dashboard-widget.php CHANGED
@@ -1,6 +1,5 @@
1
  <?php
2
 
3
-
4
  class Brizy_Admin_DashboardWidget extends Brizy_Admin_AbstractWidget {
5
 
6
  public static function _init() {
@@ -40,6 +39,7 @@ class Brizy_Admin_DashboardWidget extends Brizy_Admin_AbstractWidget {
40
  }
41
 
42
  public function render() {
 
43
  try {
44
  $news = $this->getNews();
45
  } catch ( Exception $e ) {
@@ -58,6 +58,10 @@ class Brizy_Admin_DashboardWidget extends Brizy_Admin_AbstractWidget {
58
  */
59
  private function getNews() {
60
 
 
 
 
 
61
  $transient_key = 'brizy_feed_news';
62
 
63
  if ( ! ( $news = get_transient( $transient_key ) ) ) {
@@ -72,30 +76,42 @@ class Brizy_Admin_DashboardWidget extends Brizy_Admin_AbstractWidget {
72
  throw new Exception( esc_html__( 'There is no body in the remote server response.', 'brizy' ) );
73
  }
74
 
75
- $dom = Brizy_Parser_Pquery::parseStr( $request['body'] );
76
- $news = [];
77
- $titles = $dom->query( '.wp-api-title' );
78
- $links = $dom->query( '.wp-api-title .brz-a' );
79
- $excerpts = $dom->query( '.wp-api-excerpt' );
80
 
81
- if ( count( $titles ) !== 5 || count( $links ) !== 5 || count( $excerpts ) !== 5 ) {
82
- throw new Exception( __( 'Parsing failed!', 'brizy' ) );
83
- }
84
 
85
- foreach ( $titles as $title ) {
86
- $news[]['title'] = $title->getInnerText();
87
- }
88
 
89
- foreach ( $links as $i => $link ) {
90
- if ( isset( $news[ $i ] ) ) {
91
- $news[ $i ]['url'] = esc_url( 'https://www.brizy.io' . $link->getAttribute( 'href' ) );
92
- }
93
- }
94
 
95
- foreach ( $excerpts as $i => $excerpt ) {
96
- if ( isset( $news[ $i ] ) ) {
97
- $news[ $i ]['excerpt'] = wp_trim_words( wp_strip_all_tags( $excerpt->getInnerText() ), 40, '...' );
 
 
 
 
98
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
  }
100
 
101
  set_transient( $transient_key, $news, 5 * DAY_IN_SECONDS );
1
  <?php
2
 
 
3
  class Brizy_Admin_DashboardWidget extends Brizy_Admin_AbstractWidget {
4
 
5
  public static function _init() {
39
  }
40
 
41
  public function render() {
42
+
43
  try {
44
  $news = $this->getNews();
45
  } catch ( Exception $e ) {
58
  */
59
  private function getNews() {
60
 
61
+ if ( ! extension_loaded( 'dom' ) || ! extension_loaded( 'libxml' ) ) {
62
+ throw new Exception( 'In order to see these news you need to activate the php dom and libxml extensions' );
63
+ }
64
+
65
  $transient_key = 'brizy_feed_news';
66
 
67
  if ( ! ( $news = get_transient( $transient_key ) ) ) {
76
  throw new Exception( esc_html__( 'There is no body in the remote server response.', 'brizy' ) );
77
  }
78
 
79
+ $news = [];
80
+ $doc = new DOMDocument();
 
 
 
81
 
82
+ libxml_use_internal_errors( true );
 
 
83
 
84
+ $doc->loadHTML( $request['body'] );
 
 
85
 
86
+ $xpath = new DOMXpath( $doc );
87
+ $items = $xpath->query( "//*[contains(@class, 'brz-posts__item')]" );
88
+
89
+ $getItem = function( $contextNode, $class ) use ( $xpath ) {
90
+ $childs = $xpath->query( ".//*[contains(@class, '{$class}')]", $contextNode );
91
 
92
+ if ( ! $childs || $childs->length === 0 ) {
93
+ throw new Exception( sprintf(
94
+ __( '%1$s failed to extract the latest news. Please contact our %2$ssupport%3$s.', 'brizy' ),
95
+ ucfirst( __bt( 'brizy', 'Brizy' ) ),
96
+ '<a href="' . apply_filters( 'brizy_support_url', Brizy_Config::getSupportUrl() ) . '">',
97
+ '</a>'
98
+ ) );
99
  }
100
+
101
+ return $childs->item( 0 );
102
+ };
103
+
104
+ foreach ( $items as $item ) {
105
+ $title = $getItem( $item, 'wp-api-title' );
106
+ $link = $getItem( $title, 'brz-a' );
107
+ $href = $link->attributes->getNamedItem( 'href' )->nodeValue;
108
+ $excerpt = $getItem( $item, 'wp-api-excerpt' );
109
+
110
+ $news[] = [
111
+ 'title' => $title->textContent,
112
+ 'url' => esc_url( 'https://www.brizy.io' . $href ),
113
+ 'excerpt' => wp_trim_words( wp_strip_all_tags( $excerpt->textContent ), 40, '...' ),
114
+ ];
115
  }
116
 
117
  set_transient( $transient_key, $news, 5 * DAY_IN_SECONDS );
admin/main.php CHANGED
@@ -59,13 +59,7 @@ class Brizy_Admin_Main {
59
 
60
  //add_filter( 'save_post', array( $this, 'save_post' ), 10, 2 );
61
 
62
- add_filter( 'wp_import_existing_post', array( $this, 'handleNewProjectPostImport' ), 10, 2 );
63
- add_filter( 'wp_import_post_meta', array( $this, 'handleNewProjectMetaImport' ), 10, 3 );
64
-
65
- add_filter( 'wp_import_posts', array( $this, 'handlePostsImport' ) );
66
-
67
  add_filter( 'save_post', array( $this, 'save_focal_point' ) );
68
-
69
  add_filter( 'admin_post_thumbnail_html', array( $this, 'addFocalPoint' ), 10, 3 );
70
  }
71
 
@@ -516,94 +510,6 @@ class Brizy_Admin_Main {
516
  exit;
517
  }
518
 
519
- public function handlePostsImport( $posts ) {
520
-
521
- $incompatibleBrizyPosts = array();
522
-
523
- foreach ( $posts as $i => $post ) {
524
- if ( ! isset( $post['postmeta'] ) ) {
525
- continue;
526
- }
527
-
528
- foreach ( $post['postmeta'] as $meta ) {
529
- if ( $meta['key'] == 'brizy-post-plugin-version' && ! Brizy_Editor_Data_ProjectMergeStrategy::checkVersionCompatibility( $meta['value'] ) ) {
530
- $incompatibleBrizyPosts[] = array(
531
- 'post_title' => $post['post_title'],
532
- 'version' => $meta['value']
533
- );
534
- unset( $posts[ $i ] );
535
- }
536
- }
537
- }
538
-
539
- if ( count( $incompatibleBrizyPosts ) ) {
540
- foreach ( $incompatibleBrizyPosts as $brizy_post ) {
541
- printf( __( 'Importing Brizy post &#8220;%s&#8221; will be skipped due to incompatible version: %s ', 'brizy' ),
542
- esc_html( $brizy_post['post_title'] ), esc_html( $brizy_post['version'] ) );
543
- echo '<br />';
544
- }
545
- }
546
-
547
- return $posts;
548
- }
549
-
550
- public function handleNewProjectPostImport( $existing, $post ) {
551
-
552
- if ( $post['post_type'] == Brizy_Editor_Project::BRIZY_PROJECT ) {
553
-
554
- $currentProject = Brizy_Editor_Project::get();
555
- $currentProjectGlobals = $currentProject->getDecodedData();
556
- $currentProjectPostId = $currentProject->getWpPost()->ID;
557
- $currentProjectStorage = Brizy_Editor_Storage_Project::instance( $currentProjectPostId );
558
-
559
- $projectMeta = null;
560
-
561
- foreach ( $post['postmeta'] as $meta ) {
562
- if ( $meta['key'] == 'brizy-project' ) {
563
- $projectMeta = maybe_unserialize( $meta['value'] );
564
- break;
565
- }
566
- }
567
-
568
- if ( ! $projectMeta ) {
569
- // force import if the project data is not found in current project.
570
- return 0;
571
- }
572
- $projectData = json_decode( base64_decode( $projectMeta['data'] ) );
573
-
574
- $mergeStrategy = Brizy_Editor_Data_ProjectMergeStrategy::getMergerInstance( $projectMeta['pluginVersion'] );
575
-
576
- $mergedData = $mergeStrategy->merge( $currentProjectGlobals, $projectData );
577
-
578
- // create project data backup
579
- $data = $currentProjectStorage->get_storage();
580
- update_post_meta( $currentProjectPostId, 'brizy-project-import-backup-' . md5( time() ), $data );
581
- //---------------------------------------------------------
582
-
583
- $currentProject->setDataAsJson( json_encode( $mergedData ) );
584
- $currentProject->saveStorage();
585
-
586
- return $currentProjectPostId;
587
- }
588
-
589
- return $existing;
590
- }
591
-
592
- /**
593
- * @param $postMeta
594
- * @param $post_id
595
- * @param $post
596
- *
597
- * @return null
598
- */
599
- public function handleNewProjectMetaImport( $postMeta, $post_id, $post ) {
600
- if ( $post['post_type'] == Brizy_Editor_Project::BRIZY_PROJECT ) {
601
- return null;
602
- }
603
-
604
- return $postMeta;
605
- }
606
-
607
  /**
608
  * Mark all post to be compiled next time
609
  */
59
 
60
  //add_filter( 'save_post', array( $this, 'save_post' ), 10, 2 );
61
 
 
 
 
 
 
62
  add_filter( 'save_post', array( $this, 'save_focal_point' ) );
 
63
  add_filter( 'admin_post_thumbnail_html', array( $this, 'addFocalPoint' ), 10, 3 );
64
  }
65
 
510
  exit;
511
  }
512
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
513
  /**
514
  * Mark all post to be compiled next time
515
  */
admin/static/css/style.css CHANGED
@@ -653,4 +653,164 @@ box-shadow: 0px 2px 0px 0px #e3e3e3;
653
  pointer-events: none;
654
  cursor: default;
655
  opacity: 0.5;
656
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
653
  pointer-events: none;
654
  cursor: default;
655
  opacity: 0.5;
656
+ }
657
+
658
+ /* Demo Import Page */
659
+
660
+ .brz-demo-filter-terms {
661
+ padding-right: 10px;
662
+ width: 230px;
663
+ }
664
+ .brz-demo-filter-terms .select2-selection__rendered {
665
+ line-height: 33px !important;
666
+ }
667
+ .brz-demo-filter-terms .select2-container .select2-selection--single {
668
+ height: 33px !important;
669
+ border: 1px solid #dadada;
670
+ }
671
+ .brz-demo-filter-terms .select2-selection__arrow {
672
+ height: 33px !important;
673
+ }
674
+ .brz-wrap-demodata .themes {
675
+ display: grid;
676
+ grid-gap: 40px 4%;
677
+ grid-template-columns: 30.6% 30.6% 30.6%;
678
+ }
679
+ .brz-wrap-demodata .themes .theme {
680
+ width: 100% !important;
681
+ margin: 0 !important;
682
+ }
683
+ @media screen and (max-width: 600px) {
684
+ .brz-wrap-demodata .themes {
685
+ display: block;
686
+ }
687
+ .brz-wrap-demodata .themes .theme {
688
+ margin-bottom: 4% !important;
689
+ }
690
+ }
691
+ @media screen and (max-width: 1120px) {
692
+ .brz-wrap-demodata .themes {
693
+ grid-gap: 40px 5%;
694
+ grid-template-columns: 47.5% 47.5%;
695
+ }
696
+ }
697
+ @media screen and (min-width: 1640px) {
698
+ .brz-wrap-demodata .themes {
699
+ grid-gap: 50px 3%;
700
+ grid-template-columns: 22.7% 22.7% 22.7% 22.7%;
701
+ }
702
+ }
703
+ @media screen and (min-width: 2000px) {
704
+ .brz-wrap-demodata .themes {
705
+ grid-gap: 65px 3%;
706
+ grid-template-columns: 17.6% 17.6% 17.6% 17.6% 17.6%;
707
+ }
708
+ }
709
+ .brz-demo-badge {
710
+ display: inline-block;
711
+ position: absolute;
712
+ top: 15px;
713
+ right: 15px;
714
+ border-radius: 5px;
715
+ padding: 2px 8px;
716
+ text-transform: uppercase;
717
+ font-size: 10px;
718
+ letter-spacing: 1px;
719
+ font-weight: normal;
720
+ }
721
+ .brz-demo-is-pro .brz-demo-badge {
722
+ background-color: #d62c64;
723
+ color: #fff;
724
+ }
725
+ .brz-demo-is-free .brz-demo-badge {
726
+ background-color: #ffffff;
727
+ color: #9094a6;
728
+ border: 1px solid #9094a6;
729
+ }
730
+ .theme:hover .brz-demo-badge {
731
+ opacity: 0.6;
732
+ }
733
+ .brz-wrap-demodata .theme-actions .brz-demo-item-gopro {
734
+ background: #d62c64;
735
+ border-color: #d62c64;
736
+ color: #fff;
737
+ }
738
+ .brz-wrap-demodata .theme-actions .brz-demo-item-gopro:hover {
739
+ background: #bc2456;
740
+ border-color: #bc2456;
741
+ }
742
+ .brz-demo-modal {
743
+ position: fixed;
744
+ left: 0;
745
+ top: 0;
746
+ width: 100%;
747
+ height: 100%;
748
+ background-color: rgba(0, 0, 0, 0.5);
749
+ opacity: 0;
750
+ transform: scale(1.1);
751
+ visibility: hidden;
752
+ transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
753
+ }
754
+ .brz-demo-modal-content {
755
+ position: absolute;
756
+ top: 50%;
757
+ left: 50%;
758
+ transform: translate(-50%, -50%);
759
+ background-color: white;
760
+ width: 700px;
761
+ height: 450px;
762
+ display: flex;
763
+ justify-content: center;
764
+ align-items: center;
765
+ }
766
+ .brz-demo-close-button:hover {
767
+ opacity: .8;
768
+ }
769
+ .brz-demo-show-modal {
770
+ opacity: 1;
771
+ transform: scale(1.0);
772
+ visibility: visible;
773
+ transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
774
+ text-align: center;
775
+ }
776
+ .brz-demo-modal-content-install-container {
777
+ display: flex;
778
+ }
779
+ .brz-demo-modal-content-install-container > div {
780
+ padding: 0 65px;
781
+ }
782
+ .brz-demo-modal-content-install-container > div:first-child {
783
+ border-right: 1px solid #E4E4E4;
784
+ }
785
+ .brz-demo-modal-content-h3,
786
+ .brz-demo-modal-content-p:not(.brz-demo-modal-content-install-notice),
787
+ .brz-demo-modal-content-button {
788
+ margin-top: 30px !important;
789
+ margin-bottom: 0;
790
+ }
791
+ .brz-demo-modal-content-h3 {
792
+ color: #03080F;
793
+ font-size: 19px;
794
+ font-weight: 600;
795
+ letter-spacing: 0;
796
+ line-height: 23px;
797
+ }
798
+ .brz-demo-modal-content-p:not(.brz-demo-modal-content-install-notice) {
799
+ color: #818A91;
800
+ font-size: 14px;
801
+ letter-spacing: 0;
802
+ line-height: 23px;
803
+ }
804
+ .brz-demo-modal-content-install-notice {
805
+ font-style: italic;
806
+ color: #C50101;
807
+ }
808
+ .brz-demo-modal-content-response {
809
+ padding: 0 200px;
810
+ }
811
+ .brz-demo-modal-content-response .spinner {
812
+ float: none;
813
+ visibility: visible;
814
+ margin-top: 30px;
815
+ }
816
+ /* End Demo Import Page */
admin/static/js/script.js CHANGED
@@ -227,10 +227,117 @@ jQuery(document).ready(function ($) {
227
  }
228
  };
229
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
230
  $( function () {
231
  BrizyGutenberg.init();
232
  BrizyFeedbackDialog.init();
233
  BrizyMaintenance.init();
 
234
  } );
235
  });
236
 
227
  }
228
  };
229
 
230
+ var DemoImport = {
231
+
232
+ registerEvents: function () {
233
+ var searchInput = $( '.js-demo-input-search' ),
234
+ selectTerm = $( '.brz-demo-filter-terms select' ),
235
+ filterLinks = $( '.brz-wrap-demodata .js-filter-link' );
236
+
237
+ if ( ! searchInput.length ) {
238
+ return;
239
+ }
240
+
241
+ filterLinks.click( function( e ) {
242
+ e.preventDefault();
243
+ filterLinks.removeClass( 'current' );
244
+ $( this ).addClass( 'current' );
245
+
246
+ if ( ! $( this ).attr( 'data-sort' ) ) {
247
+ searchInput.val( '' );
248
+ selectTerm.val( '' ).trigger( 'change' );
249
+ }
250
+
251
+ DemoImport.searchDemo();
252
+ } );
253
+
254
+ $( '.theme-screenshot, .more-details, .theme-name' ).click( function( e ) {
255
+ window.open( $( this ).closest( '.theme' ).attr( 'data-preview-link' ), '_blank' );
256
+ } );
257
+
258
+ searchInput.on('keyup change search', function() {
259
+ DemoImport.searchDemo();
260
+ });
261
+
262
+ selectTerm.select2();
263
+
264
+ selectTerm.change( function () {
265
+ DemoImport.searchDemo();
266
+ } );
267
+
268
+ $( '.load-customize' ).click( function( e ) {
269
+ e.preventDefault();
270
+ $( '.brz-demo-modal-content' ).html( $( '#brz-demo-modal-content-install' ).html() );
271
+ $( '.brz-demo-modal' ).addClass( 'brz-demo-show-modal' );
272
+ $( '.js-demo-install' ).attr( 'data-demo-id', $( this ).attr( 'data-demo-id' ) );
273
+ } );
274
+
275
+ $( document ).on( 'click', '.js-demo-data-close-modal, .brz-demo-show-modal', function( e ) {
276
+
277
+ var it = $( e.target );
278
+
279
+ if ( ( it.closest( '.brz-demo-modal-content' ).length !== 0 || ! $( '.brz-demo-modal-content-install-container' ).length ) && ! it.is( '.js-demo-data-close-modal' ) ) {
280
+ return;
281
+ }
282
+
283
+ $( '.brz-demo-modal' ).removeClass( 'brz-demo-show-modal' );
284
+ } );
285
+
286
+ $( document ).on( 'click', '.js-demo-install', function( e ) {
287
+ e.preventDefault();
288
+
289
+ $( '.brz-demo-modal-content' ).html( $( '#brz-demo-modal-content-installing' ).html() );
290
+
291
+ $.ajax( {
292
+ url: Brizy_Admin_Data.url,
293
+ type: 'POST',
294
+ data: {
295
+ 'action': 'brizy-import-demo',
296
+ 'nonce': Brizy_Admin_Data.nonce,
297
+ 'demo': $( this ).attr( 'data-demo-id' ),
298
+ 'rmContent': $( this ).attr( 'data-rm-content' )
299
+ },
300
+ success: function() {
301
+ $( '.brz-demo-modal-content' ).html( $( '#brz-demo-modal-content-success' ).html() );
302
+ },
303
+ error: function() {
304
+ $( '.brz-demo-modal-content' ).html( $( '#brz-demo-modal-content-error' ).html() );
305
+ }
306
+ } );
307
+ } );
308
+ },
309
+ searchDemo: function () {
310
+ var search = $( '.js-demo-input-search' ).val(),
311
+ searchRegex = new RegExp( search.replace(/[.*+?^${}()|[\]\\]/g, ''), 'i' ),
312
+ term = $( '.brz-demo-filter-terms select' ).val(),
313
+ filterLink = $( '.js-filter-link.current' ).attr( 'data-sort' ),
314
+ count = 0;
315
+
316
+ $( '.themes .theme' ).each( function() {
317
+ var keywords = $( this ).data( 'keywords' ),
318
+ name = $( this ).data( 'name' ),
319
+ terms = String( $( this ).data( 'terms' ) ).split(','),
320
+ matchBySearch = search === '' || searchRegex.test( keywords ) || searchRegex.test( name ),
321
+ matchByTerms = term === '' || terms.includes( term ),
322
+ matchByFilterLink = filterLink === '' || ( filterLink === 'pro' && $( this ).hasClass( 'brz-demo-is-pro' ) ) || ( filterLink === 'free' && $( this ).hasClass( 'brz-demo-is-free' ) );
323
+
324
+ if ( matchBySearch && matchByTerms && matchByFilterLink ) {
325
+ $( this ).fadeIn( 'slow' );
326
+ count++;
327
+ } else {
328
+ $( this ).fadeOut( 'slow' );
329
+ }
330
+ });
331
+
332
+ $( '.brz-wrap-demodata .count' ).text( count );
333
+ }
334
+ };
335
+
336
  $( function () {
337
  BrizyGutenberg.init();
338
  BrizyFeedbackDialog.init();
339
  BrizyMaintenance.init();
340
+ DemoImport.registerEvents();
341
  } );
342
  });
343
 
brizy.php CHANGED
@@ -5,7 +5,7 @@
5
  * Plugin URI: https://brizy.io/
6
  * Author: Brizy.io
7
  * Author URI: https://brizy.io/
8
- * Version: 2.3.33
9
  * Text Domain: brizy
10
  * License: GPLv3
11
  * Domain Path: /languages
@@ -19,10 +19,10 @@ if ( isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) && stripos( $_SERVER['HTTP_X_FO
19
 
20
  define( 'BRIZY_DEVELOPMENT', false );
21
  define( 'BRIZY_LOG', false );
22
- define( 'BRIZY_VERSION', '2.3.33' );
23
  define( 'BRIZY_MINIMUM_PRO_VERSION', '2.3.0' );
24
- define( 'BRIZY_EDITOR_VERSION', BRIZY_DEVELOPMENT ? 'dev' : '221-wp' );
25
- define( 'BRIZY_SYNC_VERSION', '221' );
26
  define( 'BRIZY_FILE', __FILE__ );
27
  define( 'BRIZY_PLUGIN_BASE', plugin_basename( BRIZY_FILE ) );
28
  define( 'BRIZY_PLUGIN_PATH', dirname( BRIZY_FILE ) );
@@ -38,6 +38,7 @@ if ( BRIZY_DEVELOPMENT ) {
38
  }
39
 
40
  add_action( 'plugins_loaded', 'brizy_load' );
 
41
  add_action( 'upgrader_process_complete', 'brizy_upgrade_completed', 10, 2 );
42
 
43
  register_activation_hook( BRIZY_FILE, 'brizy_install' );
@@ -115,4 +116,8 @@ function brizy_clean() {
115
  do_action( 'brizy-deactivated' );
116
  }
117
 
 
 
 
 
118
  new Brizy_Compatibilities_Init();
5
  * Plugin URI: https://brizy.io/
6
  * Author: Brizy.io
7
  * Author URI: https://brizy.io/
8
+ * Version: 2.3.34
9
  * Text Domain: brizy
10
  * License: GPLv3
11
  * Domain Path: /languages
19
 
20
  define( 'BRIZY_DEVELOPMENT', false );
21
  define( 'BRIZY_LOG', false );
22
+ define( 'BRIZY_VERSION', '2.3.34' );
23
  define( 'BRIZY_MINIMUM_PRO_VERSION', '2.3.0' );
24
+ define( 'BRIZY_EDITOR_VERSION', BRIZY_DEVELOPMENT ? 'dev' : '231-wp' );
25
+ define( 'BRIZY_SYNC_VERSION', '231' );
26
  define( 'BRIZY_FILE', __FILE__ );
27
  define( 'BRIZY_PLUGIN_BASE', plugin_basename( BRIZY_FILE ) );
28
  define( 'BRIZY_PLUGIN_PATH', dirname( BRIZY_FILE ) );
38
  }
39
 
40
  add_action( 'plugins_loaded', 'brizy_load' );
41
+ add_action( 'init', 'brizy_load_text_domain' );
42
  add_action( 'upgrader_process_complete', 'brizy_upgrade_completed', 10, 2 );
43
 
44
  register_activation_hook( BRIZY_FILE, 'brizy_install' );
116
  do_action( 'brizy-deactivated' );
117
  }
118
 
119
+ function brizy_load_text_domain() {
120
+ load_plugin_textdomain( 'brizy', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
121
+ }
122
+
123
  new Brizy_Compatibilities_Init();
compatibilities/brizy-pro-compatibility.php CHANGED
@@ -27,4 +27,25 @@ class Brizy_Compatibilities_BrizyProCompatibility {
27
  </div>
28
  <?php
29
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  }
27
  </div>
28
  <?php
29
  }
30
+
31
+ static public function isPro() {
32
+ if ( ! defined( 'BRIZY_PRO_VERSION' ) || ! class_exists( 'BrizyPro_Admin_License' ) ) {
33
+ return false;
34
+ }
35
+
36
+ $license = BrizyPro_Admin_License::_init();
37
+
38
+ if ( method_exists( $license, 'isValidLicense' ) ) {
39
+ if ( BrizyPro_Admin_License::_init()->isValidLicense() ) {
40
+ return true;
41
+ }
42
+ } else {
43
+ $licenseData = BrizyPro_Admin_License::_init()->getCurrentLicense();
44
+ if ( ! empty( $licenseData['key'] ) ) {
45
+ return true;
46
+ }
47
+ }
48
+
49
+ return false;
50
+ }
51
  }
compatibilities/init.php CHANGED
@@ -4,7 +4,7 @@ class Brizy_Compatibilities_Init {
4
 
5
  public function __construct() {
6
  $this->load_compatibilites();
7
- add_action( 'plugins_loaded', array( $this, 'action_plugins_loaded' ), 9 );
8
  add_action( 'after_setup_theme', [ $this, 'after_setup_theme' ] );
9
  }
10
 
@@ -126,6 +126,10 @@ class Brizy_Compatibilities_Init {
126
  if ( class_exists( 'COMPLIANZ' ) ) {
127
  new Brizy_Compatibilities_ComplianzGpdr();
128
  }
 
 
 
 
129
  }
130
 
131
  public function after_setup_theme() {
4
 
5
  public function __construct() {
6
  $this->load_compatibilites();
7
+ add_action( 'plugins_loaded', [ $this, 'action_plugins_loaded' ], 9 );
8
  add_action( 'after_setup_theme', [ $this, 'after_setup_theme' ] );
9
  }
10
 
126
  if ( class_exists( 'COMPLIANZ' ) ) {
127
  new Brizy_Compatibilities_ComplianzGpdr();
128
  }
129
+
130
+ if ( class_exists( 'WP_Import' ) ) {
131
+ new Brizy_Compatibilities_WordpressImporter();
132
+ }
133
  }
134
 
135
  public function after_setup_theme() {
compatibilities/wordpress-importer.php ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Brizy_Compatibilities_WordpressImporter {
4
+
5
+ public function __construct() {
6
+ add_filter( 'wp_import_posts', [ $this, 'handlePostsImport' ] );
7
+ add_filter( 'wp_import_existing_post', [ $this, 'handleNewProjectPostImport' ], 10, 2 );
8
+ add_filter( 'wp_import_post_meta', [ $this, 'handleNewProjectMetaImport' ], 10, 3 );
9
+ }
10
+
11
+ public function handlePostsImport( $posts ) {
12
+
13
+ $incompatibleBrizyPosts = array();
14
+
15
+ foreach ( $posts as $i => &$post ) {
16
+ if ( ! isset( $post['postmeta'] ) ) {
17
+ continue;
18
+ }
19
+
20
+ foreach ( $post['postmeta'] as $meta ) {
21
+
22
+ if ( $meta['key'] == Brizy_Editor_Constants::BRIZY_ENABLED && $meta['value'] == '1' && empty( $post['post_content'] ) ) {
23
+ $post['post_content'] = 'brz-root__container';
24
+ }
25
+
26
+ if ( $meta['key'] == 'brizy-post-plugin-version' && ! Brizy_Editor_Data_ProjectMergeStrategy::checkVersionCompatibility( $meta['value'] ) ) {
27
+ $incompatibleBrizyPosts[] = array(
28
+ 'post_title' => $post['post_title'],
29
+ 'version' => $meta['value']
30
+ );
31
+ unset( $posts[ $i ] );
32
+ }
33
+ }
34
+ }
35
+
36
+ if ( count( $incompatibleBrizyPosts ) ) {
37
+ foreach ( $incompatibleBrizyPosts as $brizy_post ) {
38
+ printf( __( 'Importing Brizy post &#8220;%s&#8221; will be skipped due to incompatible version: %s ', 'brizy' ),
39
+ esc_html( $brizy_post['post_title'] ), esc_html( $brizy_post['version'] ) );
40
+ echo '<br />';
41
+ }
42
+ }
43
+
44
+ return $posts;
45
+ }
46
+
47
+ public function handleNewProjectPostImport( $existing, $post ) {
48
+
49
+ if ( $post['post_type'] == Brizy_Editor_Project::BRIZY_PROJECT ) {
50
+
51
+ $currentProject = Brizy_Editor_Project::get();
52
+ $currentProjectGlobals = $currentProject->getDecodedData();
53
+ $currentProjectPostId = $currentProject->getWpPost()->ID;
54
+ $currentProjectStorage = Brizy_Editor_Storage_Project::instance( $currentProjectPostId );
55
+
56
+ $projectMeta = null;
57
+
58
+ foreach ( $post['postmeta'] as $meta ) {
59
+ if ( $meta['key'] == 'brizy-project' ) {
60
+ $projectMeta = maybe_unserialize( $meta['value'] );
61
+ break;
62
+ }
63
+ }
64
+
65
+ if ( ! $projectMeta ) {
66
+ return $existing;
67
+ }
68
+
69
+ $projectData = json_decode( base64_decode( $projectMeta['data'] ) );
70
+ $mergeStrategy = Brizy_Editor_Data_ProjectMergeStrategy::getMergerInstance( $projectMeta['pluginVersion'] );
71
+ $mergedData = $mergeStrategy->merge( $currentProjectGlobals, $projectData );
72
+
73
+ // create project data backup
74
+ $data = $currentProjectStorage->get_storage();
75
+ update_post_meta( $currentProjectPostId, 'brizy-project-import-backup-' . md5( time() ), $data );
76
+ //---------------------------------------------------------
77
+
78
+ $currentProject->setDataAsJson( json_encode( $mergedData ) );
79
+ $currentProject->saveStorage();
80
+
81
+ return $currentProjectPostId;
82
+ }
83
+
84
+ return $existing;
85
+ }
86
+
87
+ /**
88
+ * @param $postMeta
89
+ * @param $post_id
90
+ * @param $post
91
+ *
92
+ * @return null
93
+ */
94
+ public function handleNewProjectMetaImport( $postMeta, $post_id, $post ) {
95
+ if ( $post['post_type'] == Brizy_Editor_Project::BRIZY_PROJECT ) {
96
+ return null;
97
+ }
98
+
99
+ return $postMeta;
100
+ }
101
+ }
editor.php CHANGED
@@ -197,12 +197,14 @@ class Brizy_Editor {
197
 
198
  if ( ! class_exists( 'BrizyPro_Admin_WhiteLabel' ) || ! BrizyPro_Admin_WhiteLabel::_init()->getEnabled() ) {
199
  if ( current_user_can( 'manage_options' ) ) {
200
- add_action( 'wp_dashboard_setup', function () {
201
- Brizy_Admin_DashboardWidget::_init();
202
- } );
203
  }
204
  }
205
 
 
 
 
 
206
  add_filter( 'brizy_content', array( $this, 'brizy_content' ), 10, 3 );
207
  }
208
 
197
 
198
  if ( ! class_exists( 'BrizyPro_Admin_WhiteLabel' ) || ! BrizyPro_Admin_WhiteLabel::_init()->getEnabled() ) {
199
  if ( current_user_can( 'manage_options' ) ) {
200
+ add_action( 'wp_dashboard_setup', 'Brizy_Admin_DashboardWidget::_init' );
 
 
201
  }
202
  }
203
 
204
+ if ( ( current_user_can( 'manage_options' ) && is_admin() ) || ( defined( 'WP_CLI' ) && WP_CLI ) ) {
205
+ new Brizy_Import_Main();
206
+ }
207
+
208
  add_filter( 'brizy_content', array( $this, 'brizy_content' ), 10, 3 );
209
  }
210
 
editor/data/project-merge-strategy.php CHANGED
@@ -23,7 +23,7 @@ class Brizy_Editor_Data_ProjectMergeStrategy {
23
  * @return bool
24
  */
25
  static public function checkVersionCompatibility( $version ) {
26
- if ( version_compare( $version, '1.0.81' ) > 0 && version_compare( $version, BRIZY_VERSION ) <= 0 ) {
27
  return true;
28
  }
29
 
23
  * @return bool
24
  */
25
  static public function checkVersionCompatibility( $version ) {
26
+ if ( version_compare( $version, BRIZY_VERSION ) <= 0 ) {
27
  return true;
28
  }
29
 
editor/data/project-merge82.php CHANGED
@@ -23,27 +23,28 @@ class Brizy_Editor_Data_ProjectMerge82 implements Brizy_Editor_Data_ProjectMerge
23
 
24
  public function merge( $projectData1, $projectData2 ) {
25
 
26
- $result = $projectData1;
27
-
28
- // selected Kit
29
- $result->selectedKit = $projectData2->selectedKit;
30
 
31
- // selected Style
 
32
  $result->selectedStyle = $projectData2->selectedStyle;
33
 
34
- if ( ! isset( $result->styles ) ) {
35
- $result->styles = array();
36
- }
37
 
38
- // merge styles
39
- foreach ( $projectData2->styles as $i => $style ) {
40
- foreach ( $result->styles as $j => $resultStyle ) {
41
- if ( $style->id === $resultStyle->id ) {
42
- $result->styles[ $j ] = $style;
43
- } else {
44
- $result->styles[] = $style;
45
- }
46
  }
 
 
 
 
 
 
47
  }
48
 
49
  // extraFontStyles
23
 
24
  public function merge( $projectData1, $projectData2 ) {
25
 
26
+ if ( count( get_object_vars( $projectData1 ) ) == 0 ) {
27
+ return $projectData2;
28
+ }
 
29
 
30
+ $result = $projectData1;
31
+ $result->selectedKit = $projectData2->selectedKit;
32
  $result->selectedStyle = $projectData2->selectedStyle;
33
 
34
+ if ( empty( $result->styles ) ) {
35
+ $result->styles = $projectData2->styles;
36
+ } else {
37
 
38
+ $resultStyles = [];
39
+ foreach ( $result->styles as $style ) {
40
+ $resultStyles[ $style->id ] = $style;
 
 
 
 
 
41
  }
42
+
43
+ foreach ( $projectData2->styles as $style ) {
44
+ $resultStyles[ $style->id ] = $style;
45
+ }
46
+
47
+ $result->styles = array_values( $resultStyles );
48
  }
49
 
50
  // extraFontStyles
editor/editor/editor.php CHANGED
@@ -1,137 +1,132 @@
1
  <?php
2
 
3
- class Brizy_Editor_Editor_Editor
4
- {
5
 
6
- const COMPILE_CONTEXT = 'compile';
7
- const EDITOR_CONTEXT = 'editor';
8
 
9
  /**
10
  * @var self
11
  */
12
  static private $insance;
13
 
14
- /**
15
- * @var array
16
- */
17
- static private $config;
18
-
19
- /**
20
- * @var Brizy_Editor_Post
21
- */
22
- private $post;
23
-
24
- /**
25
- * @var Brizy_Editor_Project
26
- */
27
- private $project;
28
-
29
- /**
30
- * @var Brizy_Editor_UrlBuilder
31
- */
32
- private $urlBuilder;
33
-
34
- /**
35
- * @param Brizy_Editor_Project $project
36
- * @param Brizy_Editor_Post $post
37
- *
38
- * @return Brizy_Editor_Editor_Editor
39
- */
40
- public static function get(Brizy_Editor_Project $project, Brizy_Editor_Post $post)
41
- {
42
-
43
- $postId = $post && $post->getWpPostId() ? $post->getWpPostId() : 0;
44
- if (isset(self::$insance[$postId])) {
45
- return self::$insance[$postId];
46
- }
47
-
48
- return self::$insance[$postId] = new self($project, $post);
49
- }
50
-
51
- /**
52
- * Brizy_Editor_Editor_Editor constructor.
53
- *
54
- * @param Brizy_Editor_Project $project
55
- * @param Brizy_Editor_Post $post
56
- */
57
- public function __construct(Brizy_Editor_Project $project, Brizy_Editor_Post $post = null)
58
- {
59
- $this->post = $post;
60
- $this->project = $project;
61
- $this->urlBuilder = new Brizy_Editor_UrlBuilder($project, $post ? $post->getWpPostId() : null);
62
- }
63
-
64
- private function getMode($postType)
65
- {
66
- switch ($postType) {
67
- case Brizy_Admin_Stories_Main::CP_STORY:
68
- return 'internal_story';
69
- case Brizy_Admin_Templates::CP_TEMPLATE:
70
- return 'template';
71
- case Brizy_Admin_Popups_Main::CP_POPUP:
72
- return 'internal_popup';
73
- case 'product':
74
- case 'product_variation':
75
- return 'product';
76
- default:
77
- return 'page';
78
- }
79
- }
80
-
81
- /**
82
- * @throws Exception
83
- */
84
- public function config($context = self::COMPILE_CONTEXT)
85
- {
86
  do_action( 'brizy_create_editor_config_before' );
87
 
88
- $cachePostId = ($this->post ? $this->post->getWpPostId() : 0).'_'.$context;
89
- if (isset(self::$config[$cachePostId])) {
90
- return self::$config[$cachePostId];
91
- }
92
-
93
- global $wp_registered_sidebars;
94
-
95
- $parent_post_type = get_post_type($this->post->getWpPostId());
96
- $wp_post_id = $this->post->getWpPostId();
97
- $preview_post_link = $this->getPreviewUrl($this->post->getWpPost());
98
-
99
- $change_template_url = set_url_scheme(
100
- admin_url('admin-post.php?post=' . $this->post->getWpPostId() . '&action=_brizy_change_template')
101
- );
102
- $mode = $this->getMode($parent_post_type);
103
-
104
- $heartBeatInterval = (int)apply_filters('wp_check_post_lock_window', 150);
105
- $config = array(
106
- 'user' => array(
107
- 'role' => 'admin',
108
- 'isAuthorized' => $this->project->getMetaValue('brizy-cloud-token') !== null,
109
- 'allowScripts' => $this->isUserAllowedToAddScripts( $context )
110
- ),
111
- 'project' => array(
112
- 'id' => $this->project->getId(),
113
- 'status' => $this->getProjectStatus(),
114
- 'heartBeatInterval' => ($heartBeatInterval > 10 && $heartBeatInterval < 30 ? $heartBeatInterval : 30) * 1000,
115
- ),
116
- 'urls' => array(
117
- 'site' => home_url(),
118
- 'api' => home_url('/wp-json/v1'),
119
- 'assets' => $context == self::COMPILE_CONTEXT ? Brizy_Config::EDITOR_BUILD_RELATIVE_PATH : $this->urlBuilder->editor_build_url(),
120
- 'image' => $this->urlBuilder->external_media_url() . "",
121
- 'blockThumbnails' => $this->urlBuilder->external_asset_url('thumbs') . "",
122
- 'templateThumbnails' => $this->urlBuilder->external_asset_url('thumbs') . "",
123
- 'templateIcons' => $this->urlBuilder->proxy_url('editor/icons'),
124
- 'templateFonts' => $this->urlBuilder->external_fonts_url(),
125
- 'editorFonts' => home_url( '/' ),
126
- 'pagePreview' => $preview_post_link,
127
- 'about' => __bt('about-url', apply_filters('brizy_about_url', Brizy_Config::ABOUT_URL)),
128
- 'backToDashboard' => get_edit_post_link($wp_post_id, null),
129
- 'assetsExternal' => $this->urlBuilder->external_asset_url() . "",
130
-
131
- // wp specific
132
- 'changeTemplate' => $change_template_url,
133
- 'upgradeToPro' =>
134
- apply_filters('brizy_upgrade_to_pro_url', Brizy_Config::UPGRADE_TO_PRO_URL),
135
 
136
  'support' => Brizy_Config::getSupportUrl(),
137
  'pluginSettings' => admin_url( 'admin.php?page=' . Brizy_Admin_Settings::menu_slug() ),
@@ -149,17 +144,17 @@ class Brizy_Editor_Editor_Editor
149
  'pluginPrefix' => Brizy_Editor::prefix(),
150
  'permalink' => get_permalink( $wp_post_id ),
151
  'page' => $wp_post_id,
152
- 'postType' => get_post_type( $wp_post_id ),
153
  'featuredImage' => $this->getThumbnailData( $wp_post_id ),
154
  'templates' => $this->post->get_templates(),
155
  'plugins' => array(
156
  'dummy' => true,
157
  'woocommerce' => self::get_woocomerce_plugin_info(),
158
  ),
159
- 'hasSidebars' => count( $wp_registered_sidebars ) > 0,
160
- 'l10n' => $this->getTexts(),
161
- 'pageData' => apply_filters( 'brizy_page_data', array() ),
162
- 'availableRoles' => Brizy_Admin_Membership_Membership::roleList(),
163
  'usersCanRegister' => get_option( 'users_can_register' ),
164
  ),
165
  'mode' => $mode,
@@ -177,23 +172,23 @@ class Brizy_Editor_Editor_Editor
177
  'prefix' => Brizy_Editor::prefix(),
178
  'cloud' => $this->getCloudInfo(),
179
  'editorVersion' => BRIZY_EDITOR_VERSION,
180
- 'imageSizes' => $this->getImgSizes()
181
  );
182
 
183
- $manager = new Brizy_Editor_Accounts_ServiceAccountManager(Brizy_Editor_Project::get());
184
 
185
  $config = $this->addRecaptchaAccounts( $manager, $config, $context );
186
  $config = $this->addSocialAccounts( $manager, $config, $context );
187
  $config = $this->addWpPostTypes( $config, $context );
188
  $config = $this->addTemplateFields( $config, $mode === 'template', $wp_post_id, $context );
189
- $config = $this->getApiActions($config,$context);
190
- $config = $this->addGlobalBlocksData($config);
191
 
192
- self::$config[ $cachePostId ] = apply_filters( 'brizy_editor_config', $config, $context );
193
 
194
- do_action( 'brizy_create_editor_config_after' );
195
 
196
- return self::$config[ $cachePostId ];
197
  }
198
 
199
  /**
@@ -201,353 +196,354 @@ class Brizy_Editor_Editor_Editor
201
  *
202
  * @return string[]|WP_Post_Type[]
203
  */
204
- private function addWpPostTypes($config, $context ) {
205
- $types = get_post_types( [ 'public' => true ] );
 
 
206
  $result = [];
207
  foreach ( $types as $type ) {
 
 
 
208
  $typeObj = get_post_type_object( $type );
209
- $typeDto = [
210
- 'name'=>$typeObj->name,
211
- 'label'=>$typeObj->label,
212
  ];
213
  $result[] = $typeDto;
214
 
215
- }
216
 
217
  $config['wp']['postTypes'] = $result;
218
 
219
  return $config;
220
  }
221
 
222
- private function addGlobalBlocksData($config) {
223
-
224
- $postTaxonomies = get_post_taxonomies($wp_post_id = (int)$config['wp']['page']);
225
- $postTerms = [];
226
- foreach ($postTaxonomies as $tax) {
227
- $postTerms = array_merge($postTerms, wp_get_post_terms($wp_post_id, $tax));
228
- }
229
-
230
- $postTermsByKeys = [];
231
- foreach ($postTerms as $term) {
232
- $postTermsByKeys[$term->term_id] = $term;
233
- }
234
-
235
- $config['wp']['postTerms'] = $postTerms;
236
- $config['wp']['postTermParents'] = array_values(array_diff_key($this->getAllParents($postTermsByKeys),$postTermsByKeys));
237
- $config['wp']['postAuthor'] = (int)$this->post->getWpPost()->post_author;
238
- return $config;
239
- }
240
-
241
- /**
242
- * @return array|null
243
- */
244
- public static function get_woocomerce_plugin_info()
245
- {
246
- if (function_exists('wc') && defined('WC_PLUGIN_FILE')) {
247
- return array('version' => WooCommerce::instance()->version);
248
- }
249
-
250
- return null;
251
- }
252
-
253
- /**
254
- * @param $wp_post_id
255
- *
256
- * @return array|null
257
- */
258
- private function getThumbnailData($wp_post_id)
259
- {
260
- $post_thumbnail_id = get_post_thumbnail_id($wp_post_id);
261
- $post_thumbnail = "";
262
-
263
- if ($post_thumbnail_id) {
264
- $post_thumbnail_focal_point = get_post_meta($wp_post_id, 'brizy_attachment_focal_point', true);
265
-
266
- if (!is_array($post_thumbnail_focal_point)) {
267
- $post_thumbnail_focal_point = array('x' => "", 'y' => "");
268
- }
269
-
270
- $post_thumbnail = array(
271
- 'id' => $post_thumbnail_id,
272
- 'url' => get_the_post_thumbnail_url($wp_post_id),
273
- 'pointX' => isset($post_thumbnail_focal_point['x']) ? $post_thumbnail_focal_point['x'] : "",
274
- 'pointY' => isset($post_thumbnail_focal_point['y']) ? $post_thumbnail_focal_point['y'] : "",
275
- );
276
- }
277
-
278
- return $post_thumbnail;
279
- }
280
-
281
- private function getAllParents($terms)
282
- {
283
- $result = [];
284
- foreach ($terms as $i => $term) {
285
- foreach($this->getTermParents($term) as $aTerm) {
286
- if(!isset($result[$aTerm->term_id])) {
287
- $result[$aTerm->term_id] = $aTerm;
288
- }
289
- }
290
- }
291
- return $result;
292
- }
293
-
294
- private function getTermParents($term)
295
- {
296
- $parents = [];
297
- if ($term->parent) {
298
- $parent = get_term_by('id', $term->parent, $term->taxonomy);
299
-
300
- if ($parent) {
301
- $parents[$parent->term_id] = $parent;
302
- if ($parent->parent > 0)
303
- $parents = array_merge($parents, $this->getTermParents($parent));
304
- }
305
- }
306
-
307
- return $parents;
308
- }
309
-
310
- /**
311
- * @param $wp_post
312
- *
313
- * @return null|string
314
- * @throws Brizy_Editor_Exceptions_NotFound
315
- * @throws Brizy_Editor_Exceptions_UnsupportedPostType
316
- */
317
- private function getPreviewUrl($wp_post)
318
- {
319
-
320
- if ($wp_post->post_type == Brizy_Admin_Templates::CP_TEMPLATE) {
321
-
322
- $ruleManager = new Brizy_Admin_Rules_Manager();
323
- $rules = $ruleManager->getRules($wp_post->ID);
324
- $rule = null;
325
-
326
-
327
- if (!function_exists('addQueryStringToUrl')) {
328
- function addQueryStringToUrl($link, $query)
329
- {
330
- $parsedUrl = parse_url($link);
331
- $separator = (!isset($parsedUrl['query']) || $parsedUrl['query'] == null) ? '?' : '&';
332
- $link .= $separator . $query;
333
-
334
- return $link;
335
- }
336
- }
337
-
338
-
339
- // find first include rule
340
- foreach ($rules as $rule) {
341
- /**
342
- * @var Brizy_Admin_Rule $rule ;
343
- */
344
- if ($rule->getType() == Brizy_Admin_Rule::TYPE_INCLUDE) {
345
- break;
346
- }
347
- }
348
-
349
- if ($rule) {
350
-
351
- switch ($rule->getAppliedFor()) {
352
- case Brizy_Admin_Rule::WOO_SHOP_PAGE:
353
- if (function_exists('wc_get_page_id') && wc_get_page_id('shop')) {
354
- $wp_post = get_post(wc_get_page_id('shop'));
355
- }
356
- break;
357
- case Brizy_Admin_Rule::POSTS :
358
- $args = array(
359
- 'post_type' => $rule->getEntityType(),
360
- );
361
-
362
- if (count($rule->getEntityValues())) {
363
- $args['post__in'] = $rule->getEntityValues();
364
- }
365
-
366
- $array = get_posts($args);
367
-
368
- foreach ($array as $p) {
369
-
370
- if ($p->post_type == 'attachment') {
371
- return addQueryStringToUrl(get_attachment_link($p->ID), 'preview=1');
372
- }
373
-
374
- if (!Brizy_Editor::checkIfPostTypeIsSupported($p->ID, false) ||
375
- !Brizy_Editor_Entity::isBrizyEnabled($p->ID)) {
376
- $wp_post = $p;
377
- break;
378
- }
379
-
380
- }
381
- break;
382
- case Brizy_Admin_Rule::TAXONOMY :
383
- $args = array(
384
- 'taxonomy' => $rule->getEntityType(),
385
- 'hide_empty' => true,
386
- );
387
- if (count($rule->getEntityValues())) {
388
- $args['term_taxonomy_id'] = $rule->getEntityValues();
389
- }
390
-
391
- $array = get_terms($args);
392
-
393
- if (count($array) == 0) {
394
- break;
395
- }
396
- $term = array_pop($array);
397
- $link = get_term_link($term);
398
-
399
- return addQueryStringToUrl($link, 'preview=1');
400
- break;
401
- case Brizy_Admin_Rule::ARCHIVE :
402
- if ($rule->getEntityType()) {
403
- $link = get_post_type_archive_link($rule->getEntityType());
404
-
405
- return addQueryStringToUrl($link, 'preview=1');
406
- }
407
-
408
- $link = $this->getOneArchiveLink();
409
-
410
- return addQueryStringToUrl($link, 'preview=1');
411
- break;
412
- case Brizy_Admin_Rule::TEMPLATE :
413
-
414
- // array( 'title' => 'Author page', 'value' => 'author', 'groupValue' => Brizy_Admin_Rule::TEMPLATE ),
415
- // array( 'title' => 'Search page', 'value' => 'search', 'groupValue' => Brizy_Admin_Rule::TEMPLATE ),
416
- // array( 'title' => 'Home page', 'value' => 'front_page', 'groupValue' => Brizy_Admin_Rule::TEMPLATE ),
417
- // array( 'title' => '404 page', 'value' => '404', 'groupValue' => Brizy_Admin_Rule::TEMPLATE ),
418
- // array( 'title' => 'Archive page', 'value' => '', 'groupValue' => Brizy_Admin_Rule::ARCHIVE ),
419
- switch ($rule->getEntityType()) {
420
- case 'author':
421
- $authors = get_users();
422
- $author = array_pop($authors);
423
- $link = get_author_posts_url($author->ID);
424
-
425
- return addQueryStringToUrl($link, 'preview=1');
426
- break;
427
-
428
- case 'search':
429
- return addQueryStringToUrl(get_search_link('find-me'), 'preview=1');
430
- break;
431
- case '404':
432
- return addQueryStringToUrl(get_home_url(null, (string)time()), 'preview=1');
433
- break;
434
- case 'home_page':
435
- $get_option = get_option('page_for_posts');
436
-
437
- if ($get_option) {
438
- return addQueryStringToUrl(get_permalink($get_option), 'preview=1');
439
- }
440
- break;
441
- case 'front_page':
442
- return addQueryStringToUrl(home_url(), 'preview=1');
443
- break;
444
- }
445
-
446
- break;
447
- }
448
-
449
- }
450
- }
451
-
452
- return get_preview_post_link(
453
- $wp_post,
454
- array(
455
- 'preview_id' => $wp_post->ID,
456
- 'preview_nonce' => wp_create_nonce('post_preview_' . $wp_post->ID),
457
- )
458
- );
459
- }
460
-
461
- /**
462
- * @return array
463
- */
464
- private function get_menu_data()
465
- {
466
- $menus = wp_get_nav_menus();
467
- $menu_data = array();
468
-
469
- foreach ($menus as $menu) {
470
-
471
- $custom_menu_data = get_term_meta($menu->term_id, 'brizy_data', true);
472
-
473
- $menu_uid = get_term_meta($menu->term_id, 'brizy_uid', true);
474
- if (!$menu_uid) {
475
- $menu_uid = md5($menu->term_id . time());
476
- update_term_meta($menu->term_id, 'brizy_uid', $menu_uid);
477
- }
478
-
479
- $amenu = array(
480
- 'id' => $menu_uid,
481
- 'name' => $menu->name,
482
- 'items' => array(),
483
- );
484
-
485
- $amenu = (object)array_merge(
486
- $amenu,
487
- get_object_vars(is_object($custom_menu_data) ? $custom_menu_data : (object)array())
488
- );
489
-
490
- $menuItems = [];
491
-
492
- add_action( 'wp_get_nav_menu_items', function ( $items ) use ( &$menuItems ) {
493
- foreach ( $items as $item ) {
494
- $menuItems[ $item->ID ] = $item;
495
- }
496
- return $items;
497
- }, -1000 );
498
-
499
- $currentItems = wp_get_nav_menu_items( $menu->term_id );
500
-
501
- _wp_menu_item_classes_by_context( $menuItems );
502
-
503
- $currentItemsAssociative = [];
504
- foreach ( $currentItems as $currentItem ) {
505
- $currentItemsAssociative[ $currentItem->ID ] = $currentItem;
506
- }
507
-
508
- $menuItems = $currentItemsAssociative + $menuItems;
509
-
510
- $menu_items = $this->get_menu_tree($menuItems);
511
-
512
- if (count($menu_items) > 0) {
513
- $amenu->items = $menu_items;
514
- }
515
-
516
- $menu_data[] = $amenu;
517
- }
518
-
519
- return apply_filters('brizy_menu_data', $menu_data);
520
- }
521
-
522
- /**
523
- * @param $items
524
- * @param int $parent
525
- *
526
- * @return array
527
- */
528
- private function get_menu_tree($items, $parent = 0)
529
- {
530
- $result_items = array();
531
-
532
- foreach ($items as $item) {
533
- if ( (string) $item->menu_item_parent !== (string) $parent ) {
534
- continue;
535
- }
536
-
537
- $menu_uid = get_post_meta($item->ID, 'brizy_post_uid', true);
538
-
539
- if ( ! $menu_uid ) {
540
- $menu_uid = md5( $item->ID . time() );
541
- $update = update_post_meta( $item->ID, 'brizy_post_uid', $menu_uid );
542
 
543
- if ( ! $update ) {
544
- $menu_uid = $item->ID;
545
- }
546
- }
 
 
 
 
547
 
548
- $megaMenuItems = $this->getMegaMenuItems();
549
 
550
- $menu_data = get_post_meta($item->ID, 'brizy_data', true);
551
 
552
  $item_value = array(
553
  'id' => $menu_uid,
@@ -571,42 +567,41 @@ class Brizy_Editor_Editor_Editor
571
  'xfn' => get_post_meta( $item->ID, '_menu_item_xfn', true ),
572
  );
573
 
574
- $an_item = (object)array(
575
- 'type' => 'MenuItem',
576
- );
577
 
578
- $an_item->value = (object)array_merge(
579
- $item_value,
580
- get_object_vars(is_object($menu_data) ? $menu_data : (object)array())
581
- );
582
 
583
- $child_items = $this->get_menu_tree($items, $item->ID);
584
 
585
- $an_item->value->items = array();
586
 
587
- if (count($child_items) > 0) {
588
- $an_item->value->items = $child_items;
589
- }
590
 
591
- $result_items[] = $an_item;
592
- }
593
 
594
- return $result_items;
595
- }
596
 
597
- /**
598
- * @return array
599
- */
600
- private function getMegaMenuItems()
601
- {
602
 
603
- return array(
604
- (object)(array(
605
- 'type' => "SectionMegaMenu",
606
- 'value' => (object)array('items' => array()),
607
- )),
608
- );
609
- }
610
 
611
  /**
612
  * @param Brizy_Editor_Accounts_ServiceAccountManager $manager
@@ -614,16 +609,15 @@ class Brizy_Editor_Editor_Editor
614
  *
615
  * @return array
616
  */
617
- private function addRecaptchaAccounts( Brizy_Editor_Accounts_ServiceAccountManager $manager, array $config, $context )
618
- {
619
- $accounts = $manager->getAccountsByGroup(Brizy_Editor_Accounts_AbstractAccount::RECAPTCHA_GROUP);
620
 
621
- if (isset($accounts[0]) && $accounts[0] instanceof Brizy_Editor_Accounts_RecaptchaAccount) {
622
- $config['applications']['form']['recaptcha']['siteKey'] = $accounts[0]->getSiteKey();
623
- }
624
 
625
- return $config;
626
- }
627
 
628
  /**
629
  * @param Brizy_Editor_Accounts_ServiceAccountManager $manager
@@ -631,386 +625,378 @@ class Brizy_Editor_Editor_Editor
631
  *
632
  * @return array
633
  */
634
- private function addSocialAccounts( Brizy_Editor_Accounts_ServiceAccountManager $manager, array $config, $context )
635
- {
636
- $accounts = $manager->getAccountsByGroup(Brizy_Editor_Accounts_AbstractAccount::SOCIAL_GROUP);
637
-
638
- foreach ($accounts as $account) {
639
- if (isset($account) && $account instanceof Brizy_Editor_Accounts_SocialAccount) {
640
- $config['applications'][$account->getGroup()][] = $account->convertToOptionValue();
641
- }
642
- }
643
-
644
- return $config;
645
- }
646
-
647
- private function fileUploadMaxSize()
648
- {
649
- static $max_size = -1;
650
-
651
- if ($max_size < 0) {
652
- // Start with post_max_size.
653
- $post_max_size = $this->parseSize(ini_get('post_max_size'));
654
- if ($post_max_size > 0) {
655
- $max_size = number_format($post_max_size / 1048576, 2, '.', '');
656
- }
657
-
658
- // If upload_max_size is less, then reduce. Except if upload_max_size is
659
- // zero, which indicates no limit.
660
- $upload_max = $this->parseSize(ini_get('upload_max_filesize'));
661
- if ($upload_max > 0 && $upload_max < $max_size) {
662
- $max_size = number_format($upload_max / 1048576, 2, '.', '');
663
- }
664
- }
665
-
666
- return $max_size;
667
- }
668
-
669
- private function parseSize($size)
670
- {
671
- $unit = preg_replace('/[^bkmgtpezy]/i', '', $size); // Remove the non-unit characters from the size.
672
- $size = preg_replace('/[^0-9\.]/', '', $size); // Remove the non-numeric characters from the size.
673
- if ($unit) {
674
- // Find the position of the unit in the ordered string which is the power of magnitude to multiply a kilobyte by.
675
- return round($size * pow(1024, stripos('bkmgtpezy', $unit[0])));
676
- } else {
677
- return round($size);
678
- }
679
- }
680
-
681
- private function getOneArchiveLink($args = '')
682
- {
683
- global $wpdb, $wp_locale;
684
-
685
- $defaults = array(
686
- 'type' => 'monthly',
687
- 'limit' => '',
688
- 'order' => 'DESC',
689
- 'post_type' => 'post',
690
- 'year' => get_query_var('year'),
691
- 'monthnum' => get_query_var('monthnum'),
692
- 'day' => get_query_var('day'),
693
- 'w' => get_query_var('w'),
694
- );
695
-
696
- $r = wp_parse_args($args, $defaults);
697
-
698
- $post_type_object = get_post_type_object($r['post_type']);
699
- if (!is_post_type_viewable($post_type_object)) {
700
- return;
701
- }
702
- $r['post_type'] = $post_type_object->name;
703
-
704
- if ('' == $r['type']) {
705
- $r['type'] = 'monthly';
706
- }
707
-
708
- if (!empty($r['limit'])) {
709
- $r['limit'] = absint($r['limit']);
710
- $r['limit'] = ' LIMIT ' . $r['limit'];
711
- }
712
-
713
- $order = strtoupper($r['order']);
714
- if ($order !== 'ASC') {
715
- $order = 'DESC';
716
- }
717
-
718
- // this is what will separate dates on weekly archive links
719
- $archive_week_separator = '&#8211;';
720
-
721
- $sql_where = $wpdb->prepare("WHERE post_type = %s AND post_status = 'publish'", $r['post_type']);
722
-
723
- /**
724
- * Filters the SQL WHERE clause for retrieving archives.
725
- *
726
- * @param string $sql_where Portion of SQL query containing the WHERE clause.
727
- * @param array $r An array of default arguments.
728
- *
729
- * @since 2.2.0
730
- *
731
- */
732
- $where = apply_filters('getarchives_where', $sql_where, $r);
733
-
734
- /**
735
- * Filters the SQL JOIN clause for retrieving archives.
736
- *
737
- * @param string $sql_join Portion of SQL query containing JOIN clause.
738
- * @param array $r An array of default arguments.
739
- *
740
- * @since 2.2.0
741
- *
742
- */
743
- $join = apply_filters('getarchives_join', '', $r);
744
-
745
- $output = '';
746
-
747
- $last_changed = wp_cache_get_last_changed('posts');
748
-
749
- $limit = $r['limit'];
750
-
751
- if ('monthly' == $r['type']) {
752
- $query = "SELECT YEAR(post_date) AS `year`, MONTH(post_date) AS `month`, count(ID) as posts FROM $wpdb->posts $join $where GROUP BY YEAR(post_date), MONTH(post_date) ORDER BY post_date $order $limit";
753
- $key = md5($query);
754
- $key = "wp_get_archives:$key:$last_changed";
755
- if (!$results = wp_cache_get($key, 'posts')) {
756
- $results = $wpdb->get_results($query);
757
- wp_cache_set($key, $results, 'posts');
758
- }
759
- if ($results) {
760
- foreach ((array)$results as $result) {
761
- $url = get_month_link($result->year, $result->month);
762
- if ('post' !== $r['post_type']) {
763
- $url = add_query_arg('post_type', $r['post_type'], $url);
764
- }
765
-
766
- return $url;
767
- }
768
- }
769
- }
770
- }
771
-
772
- /**
773
- * @return string
774
- * @throws Exception
775
- */
776
- private function getTexts()
777
- {
778
- if (BRIZY_DEVELOPMENT) {
779
- $brizy_public_editor_build_texts = '\Brizy_Public_EditorBuild_Dev_Texts';
780
- } else {
781
- $version = '';
782
- foreach (explode('-', BRIZY_EDITOR_VERSION) as $tmp) {
783
- $version .= ucfirst($tmp);
784
- }
785
- $brizy_public_editor_build_texts = '\Brizy_Public_EditorBuild_' . $version . '_Texts';
786
- }
787
-
788
- if (!class_exists($brizy_public_editor_build_texts)) {
789
- if (BRIZY_DEVELOPMENT) {
790
- throw new \Exception('You must build the editor first.');
791
- } else {
792
- throw new \Exception('Unable to find class ' . $brizy_public_editor_build_texts);
793
- }
794
- }
795
-
796
- return (object)$brizy_public_editor_build_texts::get_editor_texts();
797
- }
798
 
799
  private function addTemplateFields( $config, $is_template, $wp_post_id, $context ) {
800
 
801
- $template_rules = [];
802
- if ($is_template) {
803
- $rule_manager = new Brizy_Admin_Rules_Manager();
804
- $template_rules = $rule_manager->getRules($wp_post_id);
805
- $config['template_type'] = $this->getTemplateType($template_rules);
806
- }
807
-
808
- $config['wp']['ruleMatches'] = $this->getTemplateRuleMatches($is_template, $wp_post_id, $template_rules);
809
-
810
- return $config;
811
- }
812
-
813
- /**
814
- * @param $isTemplate
815
- * @param $wpPostId
816
- * @param $templateRules
817
- *
818
- * @return array
819
- */
820
- private function getTemplateRuleMatches($isTemplate, $wpPostId, $templateRules)
821
- {
822
-
823
- $ruleMatches = array();
824
-
825
- if ($isTemplate) {
826
-
827
- foreach ($templateRules as $rule) {
828
- /**
829
- * @var Brizy_Admin_Rule $rule ;
830
- */
831
- $ruleMatches[] = array(
832
- 'type' => $rule->getType(),
833
- 'group' => $rule->getAppliedFor(),
834
- 'entityType' => $rule->getEntityType(),
835
- 'values' => $rule->getEntityValues(),
836
- );
837
- }
838
-
839
- $ruleMatches[] = array(
840
- 'type' => Brizy_Admin_Rule::TYPE_INCLUDE,
841
- 'group' => Brizy_Admin_Rule::BRIZY_TEMPLATE,
842
- 'entityType' => $this->post->getWpPost()->post_type,
843
- 'values' => array($wpPostId),
844
- );
845
-
846
- } else {
847
- $ruleMatches[] = array(
848
- 'type' => Brizy_Admin_Rule::TYPE_INCLUDE,
849
- 'group' => Brizy_Admin_Rule::POSTS,
850
- 'entityType' => $this->post->getWpPost()->post_type,
851
- 'values' => array($wpPostId),
852
- );
853
- }
854
-
855
- return $ruleMatches;
856
- }
857
-
858
-
859
- /**
860
- *
861
- * @param $template_rules
862
- */
863
- private function getTemplateType($template_rules)
864
- {
865
- foreach ($template_rules as $rule) {
866
-
867
- if ($rule->getType() != Brizy_Admin_Rule::TYPE_INCLUDE) {
868
- continue;
869
- }
870
-
871
- // single mode
872
- if ($rule->getAppliedFor() == Brizy_Admin_Rule::POSTS) {
873
- if ($rule->getEntityType() == 'product') {
874
- return 'product';
875
- } else {
876
- return 'single';
877
- }
878
- }
879
-
880
-
881
- // single mode
882
- if ($rule->getAppliedFor() == Brizy_Admin_Rule::TEMPLATE) {
883
- if (in_array($rule->getEntityType(), ['404', 'front_page'])) {
884
- return 'single';
885
- }
886
-
887
- if (in_array($rule->getEntityType(), ['search', 'author', 'home_page'])) {
888
- return 'archive';
889
- }
890
- }
891
-
892
- // archive mode
893
- if ($rule->getAppliedFor() == Brizy_Admin_Rule::TAXONOMY) {
894
- if (in_array($rule->getEntityType(), ['product_cat', 'product_tag'])) {
895
- return 'product_archive';
896
- }
897
- if (in_array($rule->getEntityType(), ['category', 'post_tag',])) {
898
- return 'archive';
899
- }
900
- }
901
-
902
- // product archive mode
903
- if (in_array($rule->getAppliedFor(), [
904
- Brizy_Admin_Rule::ARCHIVE,
905
- Brizy_Admin_Rule::DATE_ARCHIVE,
906
- Brizy_Admin_Rule::DAY_ARCHIVE,
907
- Brizy_Admin_Rule::MONTH_ARCHIVE,
908
- Brizy_Admin_Rule::YEAR_ARCHIVE,
909
- Brizy_Admin_Rule::TAXONOMY,
910
- Brizy_Admin_Rule::WOO_SHOP_PAGE
911
- ])) {
912
- if ($rule->getAppliedFor() == Brizy_Admin_Rule::WOO_SHOP_PAGE && in_array($rule->getEntityType(), [
913
- 'product',
914
- 'shop_page'
915
- ])) {
916
- return 'product_archive';
917
- } else {
918
- return 'archive';
919
- }
920
- }
921
- }
922
-
923
- return '';
924
- }
925
-
926
- /**
927
- * @return array
928
- */
929
- public function getProjectStatus()
930
- {
931
- $projectLockedBy = Brizy_Editor::get()->checkIfProjectIsLocked();
932
- $userData = WP_User::get_data_by('id', $projectLockedBy);
933
- unset($userData->user_pass);
934
- unset($userData->user_registered);
935
- unset($userData->user_status);
936
- unset($userData->user_activation_key);
937
-
938
- return [
939
- 'locked' => $projectLockedBy !== false,
940
- 'lockedBy' => $userData,
941
- ];
942
- }
943
 
944
  /**
 
 
 
 
945
  * @return array
946
  */
947
- public function getApiActions($config, $context) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
948
 
949
- $pref = Brizy_Editor::prefix();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
950
 
951
- $config['wp']['api'] = array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
952
  'hash' => wp_create_nonce( Brizy_Editor_API::nonce ),
953
  'url' => set_url_scheme( admin_url( 'admin-ajax.php' ) ),
954
 
955
- 'heartBeat' => $pref . Brizy_Editor_API::AJAX_HEARTBEAT,
956
- 'takeOver' => $pref . Brizy_Editor_API::AJAX_TAKE_OVER,
957
- 'lockProject' => $pref . Brizy_Editor_API::AJAX_LOCK_PROJECT,
958
- 'removeLock' => $pref . Brizy_Editor_API::AJAX_REMOVE_LOCK,
959
- 'getPage' => $pref . Brizy_Editor_API::AJAX_GET,
960
- 'getPostInfo' => $pref . Brizy_Editor_API::AJAX_GET_POST_INFO,
961
- 'updatePage' => $pref . Brizy_Editor_API::AJAX_UPDATE,
962
- 'getProject' => $pref . Brizy_Editor_API::AJAX_GET_PROJECT,
963
- 'setProject' => $pref . Brizy_Editor_API::AJAX_SET_PROJECT,
964
- 'setProjectMeta' => $pref . Brizy_Editor_API::AJAX_UPDATE_EDITOR_META_DATA,
965
- 'getGlobalBlockList' => $pref . Brizy_Admin_Blocks_Api::GET_GLOBAL_BLOCKS_ACTION,
966
- 'createGlobalBlock' => $pref . Brizy_Admin_Blocks_Api::CREATE_GLOBAL_BLOCK_ACTION,
967
- 'updateGlobalBlock' => $pref . Brizy_Admin_Blocks_Api::UPDATE_GLOBAL_BLOCK_ACTION,
968
- 'updateGlobalBlocks' => $pref . Brizy_Admin_Blocks_Api::UPDATE_GLOBAL_BLOCKS_ACTION,
969
- 'deleteGlobalBlock' => $pref . Brizy_Admin_Blocks_Api::DELETE_GLOBAL_BLOCK_ACTION,
970
- 'getRuleGroupList' => $pref . Brizy_Admin_Rules_Api::RULE_GROUP_LIST,
971
- 'getLayoutByUid' => $pref . Brizy_Admin_Layouts_Api::GET_LAYOUT_BY_UID_ACTION,
972
- 'getLayoutList' => $pref . Brizy_Admin_Layouts_Api::GET_LAYOUTS_ACTION,
973
- 'createLayout' => $pref . Brizy_Admin_Layouts_Api::CREATE_LAYOUT_ACTION,
974
- 'updateLayout' => $pref . Brizy_Admin_Layouts_Api::UPDATE_LAYOUT_ACTION,
975
- 'deleteLayout' => $pref . Brizy_Admin_Layouts_Api::DELETE_LAYOUT_ACTION,
976
- 'cloudSignIn' => $pref . Brizy_Admin_Cloud_Api::AJAX_SIGNIN_ACTION,
977
- 'cloudSignUp' => $pref . Brizy_Admin_Cloud_Api::AJAX_SIGNUP_ACTION,
978
- 'cloudSignOut' => $pref . Brizy_Admin_Cloud_Api::AJAX_SIGNOUT_ACTION,
979
- 'cloudSyncAllowed' => $pref . Brizy_Admin_Cloud_Api::AJAX_SYNC_ALLOWED,
980
- 'cloudResetPassword' => $pref . Brizy_Admin_Cloud_Api::AJAX_RESET_PASSWORD_ACTION,
981
- 'cloudSync' => $pref . Brizy_Admin_Cloud_Api::AJAX_TRIGGER_SYNC_ACTION,
982
- 'createRule' => $pref . Brizy_Admin_Rules_Api::CREATE_RULE_ACTION,
983
- 'createRules' => $pref . Brizy_Admin_Rules_Api::CREATE_RULES_ACTION,
984
- 'updateRules' => $pref . Brizy_Admin_Rules_Api::UPDATE_RULES_ACTION,
985
- 'deleteRule' => $pref . Brizy_Admin_Rules_Api::DELETE_RULE_ACTION,
986
- 'getRuleList' => $pref . Brizy_Admin_Rules_Api::LIST_RULE_ACTION,
987
- 'updateBlockPositions' => $pref . Brizy_Admin_Blocks_Api::UPDATE_POSITIONS_ACTION,
988
- 'getSavedBlockByUid' => $pref . Brizy_Admin_Blocks_Api::GET_SAVED_BLOCK_ACTION,
989
- 'getSavedBlockList' => $pref . Brizy_Admin_Blocks_Api::GET_SAVED_BLOCKS_ACTION,
990
- 'createSavedBlock' => $pref . Brizy_Admin_Blocks_Api::CREATE_SAVED_BLOCK_ACTION,
991
- 'updateSavedBlock' => $pref . Brizy_Admin_Blocks_Api::UPDATE_SAVED_BLOCK_ACTION,
992
- 'deleteSavedBlock' => $pref . Brizy_Admin_Blocks_Api::DELETE_SAVED_BLOCK_ACTION,
993
- 'downloadBlocks' => $pref . Brizy_Admin_Blocks_Api::DOWNLOAD_BLOCKS,
994
- 'uploadBlocks' => $pref . Brizy_Admin_Blocks_Api::UPLOAD_BLOCKS,
995
- 'downloadLayouts' => $pref . Brizy_Admin_Layouts_Api::DOWNLOAD_LAYOUTS,
996
- 'uploadLayouts' => $pref . Brizy_Admin_Layouts_Api::UPLOAD_LAYOUTS,
997
- 'media' => $pref . Brizy_Editor_API::AJAX_MEDIA,
998
- 'getMediaUid' => $pref . Brizy_Editor_API::AJAX_MEDIA_METAKEY,
999
- 'getAttachmentUid' => $pref . Brizy_Editor_API::AJAX_CREATE_ATTACHMENT_UID,
1000
- 'getServerTimeStamp' => $pref . Brizy_Editor_API::AJAX_TIMESTAMP,
1001
- 'createBlockScreenshot' => $pref . Brizy_Editor_BlockScreenshotApi::AJAX_CREATE_BLOCK_SCREENSHOT,
1002
- 'updateBlockScreenshot' => $pref . Brizy_Editor_BlockScreenshotApi::AJAX_UPDATE_BLOCK_SCREENSHOT,
1003
- 'getSidebars' => $pref . Brizy_Editor_API::AJAX_SIDEBARS,
1004
- 'shortcodeContent' => $pref . Brizy_Editor_API::AJAX_SHORTCODE_CONTENT,
1005
- 'placeholderContent' => $pref . Brizy_Editor_API::AJAX_PLACEHOLDER_CONTENT,
1006
- 'placeholdersContent' => $pref . Brizy_Editor_API::AJAX_PLACEHOLDERS_CONTENT,
1007
  'getPostTaxonomies' => $pref . Brizy_Editor_API::AJAX_GET_POST_TAXONOMIES,
1008
  'getMenus' => $pref . Brizy_Editor_API::AJAX_GET_MENU_LIST,
1009
  'getTerms' => $pref . Brizy_Editor_API::AJAX_GET_TERMS,
1010
  'getTermsBy' => $pref . Brizy_Editor_API::AJAX_GET_TERMS_BY,
1011
  'getUsers' => $pref . Brizy_Editor_API::AJAX_GET_USERS,
1012
  'getPostObjects' => $pref . Brizy_Editor_API::AJAX_GET_POST_OBJECTS, // ???
1013
- 'searchPosts' => $pref . Brizy_Editor_API::AJAX_SEARCH_POST,
1014
  'setFeaturedImage' => $pref . Brizy_Editor_API::AJAX_SET_FEATURED_IMAGE,
1015
  'setFeaturedImageFocalPoint' => $pref . Brizy_Editor_API::AJAX_SET_IMAGE_FOCAL_PT,
1016
  'removeFeaturedImage' => $pref . Brizy_Editor_API::AJAX_REMOVE_FEATURED_IMAGE,
@@ -1036,35 +1022,34 @@ class Brizy_Editor_Editor_Editor
1036
  'ruleTemplateGroupList' => $pref . Brizy_Admin_Rules_Api::RULE_TEMPLATE_GROUP_LIST,
1037
  );
1038
 
1039
- return $config;
1040
  }
1041
 
1042
- /**
1043
- * @return array
1044
- * @throws Exception
1045
- */
1046
- public function getCloudInfo()
1047
- {
1048
- // the cloud will be always initialized with the exception when the white label is enabled
1049
- // we wil return isSyncAllowed = false just in case
1050
- if (class_exists('BrizyPro_Admin_WhiteLabel') && BrizyPro_Admin_WhiteLabel::_init()->getEnabled()) {
1051
- return array(
1052
- 'isSyncAllowed' => false,
1053
- );
1054
- }
1055
 
1056
  $response = array(
1057
  'isSyncAllowed' => true,
1058
  );
1059
 
1060
- if ($this->project->getMetaValue('brizy-cloud-token') !== null) {
1061
- $cloudClient = Brizy_Admin_Cloud_Client::instance(Brizy_Editor_Project::get(), new WP_Http());
1062
- $versions = $cloudClient->getCloudEditorVersions();
1063
- $response['isSyncAllowed'] = $versions['sync'] == BRIZY_SYNC_VERSION;
1064
- }
1065
 
1066
- return $response;
1067
- }
1068
 
1069
  /**
1070
  * Do not use: $userId = get_post_meta( $this->post->getWpPostId(), '_edit_last', true );
@@ -1091,7 +1076,7 @@ class Brizy_Editor_Editor_Editor
1091
  $userCan = user_can( $userId, 'unfiltered_html' );
1092
 
1093
  return $userCan;
1094
- }
1095
 
1096
  private function getImgSizes() {
1097
 
@@ -1102,7 +1087,7 @@ class Brizy_Editor_Editor_Editor
1102
  unset( $size['crop'] );
1103
  }
1104
  $size['name'] = $name;
1105
- $sizes[] = $size;
1106
  }
1107
 
1108
  return $sizes;
1
  <?php
2
 
3
+ class Brizy_Editor_Editor_Editor {
 
4
 
5
+ const COMPILE_CONTEXT = 'compile';
6
+ const EDITOR_CONTEXT = 'editor';
7
 
8
  /**
9
  * @var self
10
  */
11
  static private $insance;
12
 
13
+ /**
14
+ * @var array
15
+ */
16
+ static private $config;
17
+
18
+ /**
19
+ * @var Brizy_Editor_Post
20
+ */
21
+ private $post;
22
+
23
+ /**
24
+ * @var Brizy_Editor_Project
25
+ */
26
+ private $project;
27
+
28
+ /**
29
+ * @var Brizy_Editor_UrlBuilder
30
+ */
31
+ private $urlBuilder;
32
+
33
+ /**
34
+ * @param Brizy_Editor_Project $project
35
+ * @param Brizy_Editor_Post $post
36
+ *
37
+ * @return Brizy_Editor_Editor_Editor
38
+ */
39
+ public static function get( Brizy_Editor_Project $project, Brizy_Editor_Post $post ) {
40
+
41
+ $postId = $post && $post->getWpPostId() ? $post->getWpPostId() : 0;
42
+ if ( isset( self::$insance[ $postId ] ) ) {
43
+ return self::$insance[ $postId ];
44
+ }
45
+
46
+ return self::$insance[ $postId ] = new self( $project, $post );
47
+ }
48
+
49
+ /**
50
+ * Brizy_Editor_Editor_Editor constructor.
51
+ *
52
+ * @param Brizy_Editor_Project $project
53
+ * @param Brizy_Editor_Post $post
54
+ */
55
+ public function __construct( Brizy_Editor_Project $project, Brizy_Editor_Post $post = null ) {
56
+ $this->post = $post;
57
+ $this->project = $project;
58
+ $this->urlBuilder = new Brizy_Editor_UrlBuilder( $project, $post ? $post->getWpPostId() : null );
59
+ }
60
+
61
+ private function getMode( $postType ) {
62
+ switch ( $postType ) {
63
+ case Brizy_Admin_Stories_Main::CP_STORY:
64
+ return 'internal_story';
65
+ case Brizy_Admin_Templates::CP_TEMPLATE:
66
+ return 'template';
67
+ case Brizy_Admin_Popups_Main::CP_POPUP:
68
+ return 'internal_popup';
69
+ case 'product':
70
+ case 'product_variation':
71
+ return 'product';
72
+ default:
73
+ return 'page';
74
+ }
75
+ }
76
+
77
+ /**
78
+ * @throws Exception
79
+ */
80
+ public function config( $context = self::COMPILE_CONTEXT ) {
 
 
 
 
81
  do_action( 'brizy_create_editor_config_before' );
82
 
83
+ $cachePostId = ( $this->post ? $this->post->getWpPostId() : 0 ) . '_' . $context;
84
+ if ( isset( self::$config[ $cachePostId ] ) ) {
85
+ return self::$config[ $cachePostId ];
86
+ }
87
+
88
+ global $wp_registered_sidebars;
89
+
90
+ $parent_post_type = get_post_type( $this->post->getWpPostId() );
91
+ $wp_post_id = $this->post->getWpPostId();
92
+ $preview_post_link = $this->getPreviewUrl( $this->post->getWpPost() );
93
+
94
+ $change_template_url = set_url_scheme(
95
+ admin_url( 'admin-post.php?post=' . $this->post->getWpPostId() . '&action=_brizy_change_template' )
96
+ );
97
+ $mode = $this->getMode( $parent_post_type );
98
+
99
+ $heartBeatInterval = (int) apply_filters( 'wp_check_post_lock_window', 150 );
100
+ $config = array(
101
+ 'user' => array(
102
+ 'role' => 'admin',
103
+ 'isAuthorized' => $this->project->getMetaValue( 'brizy-cloud-token' ) !== null,
104
+ 'allowScripts' => $this->isUserAllowedToAddScripts( $context )
105
+ ),
106
+ 'project' => array(
107
+ 'id' => $this->project->getId(),
108
+ 'status' => $this->getProjectStatus(),
109
+ 'heartBeatInterval' => ( $heartBeatInterval > 10 && $heartBeatInterval < 30 ? $heartBeatInterval : 30 ) * 1000,
110
+ ),
111
+ 'urls' => array(
112
+ 'site' => home_url(),
113
+ 'api' => home_url( '/wp-json/v1' ),
114
+ 'assets' => $context == self::COMPILE_CONTEXT ? Brizy_Config::EDITOR_BUILD_RELATIVE_PATH : $this->urlBuilder->editor_build_url(),
115
+ 'image' => $this->urlBuilder->external_media_url() . "",
116
+ 'blockThumbnails' => $this->urlBuilder->external_asset_url( 'thumbs' ) . "",
117
+ 'templateThumbnails' => $this->urlBuilder->external_asset_url( 'thumbs' ) . "",
118
+ 'templateIcons' => $this->urlBuilder->proxy_url( 'editor/icons' ),
119
+ 'templateFonts' => $this->urlBuilder->external_fonts_url(),
120
+ 'editorFonts' => home_url( '/' ),
121
+ 'pagePreview' => $preview_post_link,
122
+ 'about' => __bt( 'about-url', apply_filters( 'brizy_about_url', Brizy_Config::ABOUT_URL ) ),
123
+ 'backToDashboard' => get_edit_post_link( $wp_post_id, null ),
124
+ 'assetsExternal' => $this->urlBuilder->external_asset_url() . "",
125
+
126
+ // wp specific
127
+ 'changeTemplate' => $change_template_url,
128
+ 'upgradeToPro' =>
129
+ apply_filters( 'brizy_upgrade_to_pro_url', Brizy_Config::UPGRADE_TO_PRO_URL ),
130
 
131
  'support' => Brizy_Config::getSupportUrl(),
132
  'pluginSettings' => admin_url( 'admin.php?page=' . Brizy_Admin_Settings::menu_slug() ),
144
  'pluginPrefix' => Brizy_Editor::prefix(),
145
  'permalink' => get_permalink( $wp_post_id ),
146
  'page' => $wp_post_id,
147
+ 'postType' => get_post_type( $wp_post_id ),
148
  'featuredImage' => $this->getThumbnailData( $wp_post_id ),
149
  'templates' => $this->post->get_templates(),
150
  'plugins' => array(
151
  'dummy' => true,
152
  'woocommerce' => self::get_woocomerce_plugin_info(),
153
  ),
154
+ 'hasSidebars' => count( $wp_registered_sidebars ) > 0,
155
+ 'l10n' => $this->getTexts(),
156
+ 'pageData' => apply_filters( 'brizy_page_data', array() ),
157
+ 'availableRoles' => Brizy_Admin_Membership_Membership::roleList(),
158
  'usersCanRegister' => get_option( 'users_can_register' ),
159
  ),
160
  'mode' => $mode,
172
  'prefix' => Brizy_Editor::prefix(),
173
  'cloud' => $this->getCloudInfo(),
174
  'editorVersion' => BRIZY_EDITOR_VERSION,
175
+ 'imageSizes' => $this->getImgSizes()
176
  );
177
 
178
+ $manager = new Brizy_Editor_Accounts_ServiceAccountManager( Brizy_Editor_Project::get() );
179
 
180
  $config = $this->addRecaptchaAccounts( $manager, $config, $context );
181
  $config = $this->addSocialAccounts( $manager, $config, $context );
182
  $config = $this->addWpPostTypes( $config, $context );
183
  $config = $this->addTemplateFields( $config, $mode === 'template', $wp_post_id, $context );
184
+ $config = $this->getApiActions( $config, $context );
185
+ $config = $this->addGlobalBlocksData( $config );
186
 
187
+ self::$config[ $cachePostId ] = apply_filters( 'brizy_editor_config', $config, $context );
188
 
189
+ do_action( 'brizy_create_editor_config_after' );
190
 
191
+ return self::$config[ $cachePostId ];
192
  }
193
 
194
  /**
196
  *
197
  * @return string[]|WP_Post_Type[]
198
  */
199
+ private function addWpPostTypes( $config, $context ) {
200
+ $excludePostTypes = [ 'attachment' ];
201
+
202
+ $types = get_post_types( [ 'public' => true ] );
203
  $result = [];
204
  foreach ( $types as $type ) {
205
+ if (in_array($type,$excludePostTypes)) {
206
+ continue;
207
+ }
208
  $typeObj = get_post_type_object( $type );
209
+ $typeDto = [
210
+ 'name' => $typeObj->name,
211
+ 'label' => $typeObj->label,
212
  ];
213
  $result[] = $typeDto;
214
 
215
+ }
216
 
217
  $config['wp']['postTypes'] = $result;
218
 
219
  return $config;
220
  }
221
 
222
+ private function addGlobalBlocksData( $config ) {
223
+
224
+ $postTaxonomies = get_post_taxonomies( $wp_post_id = (int) $config['wp']['page'] );
225
+ $postTerms = [];
226
+ foreach ( $postTaxonomies as $tax ) {
227
+ $postTerms = array_merge( $postTerms, wp_get_post_terms( $wp_post_id, $tax ) );
228
+ }
229
+
230
+ $postTermsByKeys = [];
231
+ foreach ( $postTerms as $term ) {
232
+ $postTermsByKeys[ $term->term_id ] = $term;
233
+ }
234
+
235
+ $config['wp']['postTerms'] = $postTerms;
236
+ $config['wp']['postTermParents'] = array_values( array_diff_key( $this->getAllParents( $postTermsByKeys ), $postTermsByKeys ) );
237
+ $config['wp']['postAuthor'] = (int) $this->post->getWpPost()->post_author;
238
+
239
+ return $config;
240
+ }
241
+
242
+ /**
243
+ * @return array|null
244
+ */
245
+ public static function get_woocomerce_plugin_info() {
246
+ if ( function_exists( 'wc' ) && defined( 'WC_PLUGIN_FILE' ) ) {
247
+ return array( 'version' => WooCommerce::instance()->version );
248
+ }
249
+
250
+ return null;
251
+ }
252
+
253
+ /**
254
+ * @param $wp_post_id
255
+ *
256
+ * @return array|null
257
+ */
258
+ private function getThumbnailData( $wp_post_id ) {
259
+ $post_thumbnail_id = get_post_thumbnail_id( $wp_post_id );
260
+ $post_thumbnail = "";
261
+
262
+ if ( $post_thumbnail_id ) {
263
+ $post_thumbnail_focal_point = get_post_meta( $wp_post_id, 'brizy_attachment_focal_point', true );
264
+
265
+ if ( ! is_array( $post_thumbnail_focal_point ) ) {
266
+ $post_thumbnail_focal_point = array( 'x' => "", 'y' => "" );
267
+ }
268
+
269
+ $post_thumbnail = array(
270
+ 'id' => $post_thumbnail_id,
271
+ 'url' => get_the_post_thumbnail_url( $wp_post_id ),
272
+ 'pointX' => isset( $post_thumbnail_focal_point['x'] ) ? $post_thumbnail_focal_point['x'] : "",
273
+ 'pointY' => isset( $post_thumbnail_focal_point['y'] ) ? $post_thumbnail_focal_point['y'] : "",
274
+ );
275
+ }
276
+
277
+ return $post_thumbnail;
278
+ }
279
+
280
+ private function getAllParents( $terms ) {
281
+ $result = [];
282
+ foreach ( $terms as $i => $term ) {
283
+ foreach ( $this->getTermParents( $term ) as $aTerm ) {
284
+ if ( ! isset( $result[ $aTerm->term_id ] ) ) {
285
+ $result[ $aTerm->term_id ] = $aTerm;
286
+ }
287
+ }
288
+ }
289
+
290
+ return $result;
291
+ }
292
+
293
+ private function getTermParents( $term ) {
294
+ $parents = [];
295
+ if ( $term->parent ) {
296
+ $parent = get_term_by( 'id', $term->parent, $term->taxonomy );
297
+
298
+ if ( $parent ) {
299
+ $parents[ $parent->term_id ] = $parent;
300
+ if ( $parent->parent > 0 ) {
301
+ $parents = array_merge( $parents, $this->getTermParents( $parent ) );
302
+ }
303
+ }
304
+ }
305
+
306
+ return $parents;
307
+ }
308
+
309
+ /**
310
+ * @param $wp_post
311
+ *
312
+ * @return null|string
313
+ * @throws Brizy_Editor_Exceptions_NotFound
314
+ * @throws Brizy_Editor_Exceptions_UnsupportedPostType
315
+ */
316
+ private function getPreviewUrl( $wp_post ) {
317
+
318
+ if ( $wp_post->post_type == Brizy_Admin_Templates::CP_TEMPLATE ) {
319
+
320
+ $ruleManager = new Brizy_Admin_Rules_Manager();
321
+ $rules = $ruleManager->getRules( $wp_post->ID );
322
+ $rule = null;
323
+
324
+
325
+ if ( ! function_exists( 'addQueryStringToUrl' ) ) {
326
+ function addQueryStringToUrl( $link, $query ) {
327
+ $parsedUrl = parse_url( $link );
328
+ $separator = ( ! isset( $parsedUrl['query'] ) || $parsedUrl['query'] == null ) ? '?' : '&';
329
+ $link .= $separator . $query;
330
+
331
+ return $link;
332
+ }
333
+ }
334
+
335
+
336
+ // find first include rule
337
+ foreach ( $rules as $rule ) {
338
+ /**
339
+ * @var Brizy_Admin_Rule $rule ;
340
+ */
341
+ if ( $rule->getType() == Brizy_Admin_Rule::TYPE_INCLUDE ) {
342
+ break;
343
+ }
344
+ }
345
+
346
+ if ( $rule ) {
347
+
348
+ switch ( $rule->getAppliedFor() ) {
349
+ case Brizy_Admin_Rule::WOO_SHOP_PAGE:
350
+ if ( function_exists( 'wc_get_page_id' ) && wc_get_page_id( 'shop' ) ) {
351
+ $wp_post = get_post( wc_get_page_id( 'shop' ) );
352
+ }
353
+ break;
354
+ case Brizy_Admin_Rule::POSTS :
355
+ $args = array(
356
+ 'post_type' => $rule->getEntityType(),
357
+ );
358
+
359
+ if ( count( $rule->getEntityValues() ) ) {
360
+ $args['post__in'] = $rule->getEntityValues();
361
+ }
362
+
363
+ $array = get_posts( $args );
364
+
365
+ foreach ( $array as $p ) {
366
+
367
+ if ( $p->post_type == 'attachment' ) {
368
+ return addQueryStringToUrl( get_attachment_link( $p->ID ), 'preview=1' );
369
+ }
370
+
371
+ if ( ! Brizy_Editor::checkIfPostTypeIsSupported( $p->ID, false ) ||
372
+ ! Brizy_Editor_Entity::isBrizyEnabled( $p->ID ) ) {
373
+ $wp_post = $p;
374
+ break;
375
+ }
376
+
377
+ }
378
+ break;
379
+ case Brizy_Admin_Rule::TAXONOMY :
380
+ $args = array(
381
+ 'taxonomy' => $rule->getEntityType(),
382
+ 'hide_empty' => true,
383
+ );
384
+ if ( count( $rule->getEntityValues() ) ) {
385
+ $args['term_taxonomy_id'] = $rule->getEntityValues();
386
+ }
387
+
388
+ $array = get_terms( $args );
389
+
390
+ if ( count( $array ) == 0 ) {
391
+ break;
392
+ }
393
+ $term = array_pop( $array );
394
+ $link = get_term_link( $term );
395
+
396
+ return addQueryStringToUrl( $link, 'preview=1' );
397
+ break;
398
+ case Brizy_Admin_Rule::ARCHIVE :
399
+ if ( $rule->getEntityType() ) {
400
+ $link = get_post_type_archive_link( $rule->getEntityType() );
401
+
402
+ return addQueryStringToUrl( $link, 'preview=1' );
403
+ }
404
+
405
+ $link = $this->getOneArchiveLink();
406
+
407
+ return addQueryStringToUrl( $link, 'preview=1' );
408
+ break;
409
+ case Brizy_Admin_Rule::TEMPLATE :
410
+
411
+ // array( 'title' => 'Author page', 'value' => 'author', 'groupValue' => Brizy_Admin_Rule::TEMPLATE ),
412
+ // array( 'title' => 'Search page', 'value' => 'search', 'groupValue' => Brizy_Admin_Rule::TEMPLATE ),
413
+ // array( 'title' => 'Home page', 'value' => 'front_page', 'groupValue' => Brizy_Admin_Rule::TEMPLATE ),
414
+ // array( 'title' => '404 page', 'value' => '404', 'groupValue' => Brizy_Admin_Rule::TEMPLATE ),
415
+ // array( 'title' => 'Archive page', 'value' => '', 'groupValue' => Brizy_Admin_Rule::ARCHIVE ),
416
+ switch ( $rule->getEntityType() ) {
417
+ case 'author':
418
+ $authors = get_users();
419
+ $author = array_pop( $authors );
420
+ $link = get_author_posts_url( $author->ID );
421
+
422
+ return addQueryStringToUrl( $link, 'preview=1' );
423
+ break;
424
+
425
+ case 'search':
426
+ return addQueryStringToUrl( get_search_link( 'find-me' ), 'preview=1' );
427
+ break;
428
+ case '404':
429
+ return addQueryStringToUrl( get_home_url( null, (string) time() ), 'preview=1' );
430
+ break;
431
+ case 'home_page':
432
+ $get_option = get_option( 'page_for_posts' );
433
+
434
+ if ( $get_option ) {
435
+ return addQueryStringToUrl( get_permalink( $get_option ), 'preview=1' );
436
+ }
437
+ break;
438
+ case 'front_page':
439
+ return addQueryStringToUrl( home_url(), 'preview=1' );
440
+ break;
441
+ }
442
+
443
+ break;
444
+ }
445
+
446
+ }
447
+ }
448
+
449
+ return get_preview_post_link(
450
+ $wp_post,
451
+ array(
452
+ 'preview_id' => $wp_post->ID,
453
+ 'preview_nonce' => wp_create_nonce( 'post_preview_' . $wp_post->ID ),
454
+ )
455
+ );
456
+ }
457
+
458
+ /**
459
+ * @return array
460
+ */
461
+ private function get_menu_data() {
462
+ $menus = wp_get_nav_menus();
463
+ $menu_data = array();
464
+
465
+ foreach ( $menus as $menu ) {
466
+
467
+ $custom_menu_data = get_term_meta( $menu->term_id, 'brizy_data', true );
468
+
469
+ $menu_uid = get_term_meta( $menu->term_id, 'brizy_uid', true );
470
+ if ( ! $menu_uid ) {
471
+ $menu_uid = md5( $menu->term_id . time() );
472
+ update_term_meta( $menu->term_id, 'brizy_uid', $menu_uid );
473
+ }
474
+
475
+ $amenu = array(
476
+ 'id' => $menu_uid,
477
+ 'name' => $menu->name,
478
+ 'items' => array(),
479
+ );
480
+
481
+ $amenu = (object) array_merge(
482
+ $amenu,
483
+ get_object_vars( is_object( $custom_menu_data ) ? $custom_menu_data : (object) array() )
484
+ );
485
+
486
+ $menuItems = [];
487
+
488
+ add_action( 'wp_get_nav_menu_items', function ( $items ) use ( &$menuItems ) {
489
+ foreach ( $items as $item ) {
490
+ $menuItems[ $item->ID ] = $item;
491
+ }
492
+
493
+ return $items;
494
+ }, - 1000 );
495
+
496
+ $currentItems = wp_get_nav_menu_items( $menu->term_id );
497
+
498
+ _wp_menu_item_classes_by_context( $menuItems );
499
+
500
+ $currentItemsAssociative = [];
501
+ foreach ( $currentItems as $currentItem ) {
502
+ $currentItemsAssociative[ $currentItem->ID ] = $currentItem;
503
+ }
504
+
505
+ $menuItems = $currentItemsAssociative + $menuItems;
506
+
507
+ $menu_items = $this->get_menu_tree( $menuItems );
508
+
509
+ if ( count( $menu_items ) > 0 ) {
510
+ $amenu->items = $menu_items;
511
+ }
512
+
513
+ $menu_data[] = $amenu;
514
+ }
515
+
516
+ return apply_filters( 'brizy_menu_data', $menu_data );
517
+ }
518
+
519
+ /**
520
+ * @param $items
521
+ * @param int $parent
522
+ *
523
+ * @return array
524
+ */
525
+ private function get_menu_tree( $items, $parent = 0 ) {
526
+ $result_items = array();
527
+
528
+ foreach ( $items as $item ) {
529
+ if ( (string) $item->menu_item_parent !== (string) $parent ) {
530
+ continue;
531
+ }
532
+
533
+ $menu_uid = get_post_meta( $item->ID, 'brizy_post_uid', true );
 
 
 
 
 
 
 
 
534
 
535
+ if ( ! $menu_uid ) {
536
+ $menu_uid = md5( $item->ID . time() );
537
+ $update = update_post_meta( $item->ID, 'brizy_post_uid', $menu_uid );
538
+
539
+ if ( ! $update ) {
540
+ $menu_uid = $item->ID;
541
+ }
542
+ }
543
 
544
+ $megaMenuItems = $this->getMegaMenuItems();
545
 
546
+ $menu_data = get_post_meta( $item->ID, 'brizy_data', true );
547
 
548
  $item_value = array(
549
  'id' => $menu_uid,
567
  'xfn' => get_post_meta( $item->ID, '_menu_item_xfn', true ),
568
  );
569
 
570
+ $an_item = (object) array(
571
+ 'type' => 'MenuItem',
572
+ );
573
 
574
+ $an_item->value = (object) array_merge(
575
+ $item_value,
576
+ get_object_vars( is_object( $menu_data ) ? $menu_data : (object) array() )
577
+ );
578
 
579
+ $child_items = $this->get_menu_tree( $items, $item->ID );
580
 
581
+ $an_item->value->items = array();
582
 
583
+ if ( count( $child_items ) > 0 ) {
584
+ $an_item->value->items = $child_items;
585
+ }
586
 
587
+ $result_items[] = $an_item;
588
+ }
589
 
590
+ return $result_items;
591
+ }
592
 
593
+ /**
594
+ * @return array
595
+ */
596
+ private function getMegaMenuItems() {
 
597
 
598
+ return array(
599
+ (object) ( array(
600
+ 'type' => "SectionMegaMenu",
601
+ 'value' => (object) array( 'items' => array() ),
602
+ ) ),
603
+ );
604
+ }
605
 
606
  /**
607
  * @param Brizy_Editor_Accounts_ServiceAccountManager $manager
609
  *
610
  * @return array
611
  */
612
+ private function addRecaptchaAccounts( Brizy_Editor_Accounts_ServiceAccountManager $manager, array $config, $context ) {
613
+ $accounts = $manager->getAccountsByGroup( Brizy_Editor_Accounts_AbstractAccount::RECAPTCHA_GROUP );
 
614
 
615
+ if ( isset( $accounts[0] ) && $accounts[0] instanceof Brizy_Editor_Accounts_RecaptchaAccount ) {
616
+ $config['applications']['form']['recaptcha']['siteKey'] = $accounts[0]->getSiteKey();
617
+ }
618
 
619
+ return $config;
620
+ }
621
 
622
  /**
623
  * @param Brizy_Editor_Accounts_ServiceAccountManager $manager
625
  *
626
  * @return array
627
  */
628
+ private function addSocialAccounts( Brizy_Editor_Accounts_ServiceAccountManager $manager, array $config, $context ) {
629
+ $accounts = $manager->getAccountsByGroup( Brizy_Editor_Accounts_AbstractAccount::SOCIAL_GROUP );
630
+
631
+ foreach ( $accounts as $account ) {
632
+ if ( isset( $account ) && $account instanceof Brizy_Editor_Accounts_SocialAccount ) {
633
+ $config['applications'][ $account->getGroup() ][] = $account->convertToOptionValue();
634
+ }
635
+ }
636
+
637
+ return $config;
638
+ }
639
+
640
+ private function fileUploadMaxSize() {
641
+ static $max_size = - 1;
642
+
643
+ if ( $max_size < 0 ) {
644
+ // Start with post_max_size.
645
+ $post_max_size = $this->parseSize( ini_get( 'post_max_size' ) );
646
+ if ( $post_max_size > 0 ) {
647
+ $max_size = number_format( $post_max_size / 1048576, 2, '.', '' );
648
+ }
649
+
650
+ // If upload_max_size is less, then reduce. Except if upload_max_size is
651
+ // zero, which indicates no limit.
652
+ $upload_max = $this->parseSize( ini_get( 'upload_max_filesize' ) );
653
+ if ( $upload_max > 0 && $upload_max < $max_size ) {
654
+ $max_size = number_format( $upload_max / 1048576, 2, '.', '' );
655
+ }
656
+ }
657
+
658
+ return $max_size;
659
+ }
660
+
661
+ private function parseSize( $size ) {
662
+ $unit = preg_replace( '/[^bkmgtpezy]/i', '', $size ); // Remove the non-unit characters from the size.
663
+ $size = preg_replace( '/[^0-9\.]/', '', $size ); // Remove the non-numeric characters from the size.
664
+ if ( $unit ) {
665
+ // Find the position of the unit in the ordered string which is the power of magnitude to multiply a kilobyte by.
666
+ return round( $size * pow( 1024, stripos( 'bkmgtpezy', $unit[0] ) ) );
667
+ } else {
668
+ return round( $size );
669
+ }
670
+ }
671
+
672
+ private function getOneArchiveLink( $args = '' ) {
673
+ global $wpdb, $wp_locale;
674
+
675
+ $defaults = array(
676
+ 'type' => 'monthly',
677
+ 'limit' => '',
678
+ 'order' => 'DESC',
679
+ 'post_type' => 'post',
680
+ 'year' => get_query_var( 'year' ),
681
+ 'monthnum' => get_query_var( 'monthnum' ),
682
+ 'day' => get_query_var( 'day' ),
683
+ 'w' => get_query_var( 'w' ),
684
+ );
685
+
686
+ $r = wp_parse_args( $args, $defaults );
687
+
688
+ $post_type_object = get_post_type_object( $r['post_type'] );
689
+ if ( ! is_post_type_viewable( $post_type_object ) ) {
690
+ return;
691
+ }
692
+ $r['post_type'] = $post_type_object->name;
693
+
694
+ if ( '' == $r['type'] ) {
695
+ $r['type'] = 'monthly';
696
+ }
697
+
698
+ if ( ! empty( $r['limit'] ) ) {
699
+ $r['limit'] = absint( $r['limit'] );
700
+ $r['limit'] = ' LIMIT ' . $r['limit'];
701
+ }
702
+
703
+ $order = strtoupper( $r['order'] );
704
+ if ( $order !== 'ASC' ) {
705
+ $order = 'DESC';
706
+ }
707
+
708
+ // this is what will separate dates on weekly archive links
709
+ $archive_week_separator = '&#8211;';
710
+
711
+ $sql_where = $wpdb->prepare( "WHERE post_type = %s AND post_status = 'publish'", $r['post_type'] );
712
+
713
+ /**
714
+ * Filters the SQL WHERE clause for retrieving archives.
715
+ *
716
+ * @param string $sql_where Portion of SQL query containing the WHERE clause.
717
+ * @param array $r An array of default arguments.
718
+ *
719
+ * @since 2.2.0
720
+ *
721
+ */
722
+ $where = apply_filters( 'getarchives_where', $sql_where, $r );
723
+
724
+ /**
725
+ * Filters the SQL JOIN clause for retrieving archives.
726
+ *
727
+ * @param string $sql_join Portion of SQL query containing JOIN clause.
728
+ * @param array $r An array of default arguments.
729
+ *
730
+ * @since 2.2.0
731
+ *
732
+ */
733
+ $join = apply_filters( 'getarchives_join', '', $r );
734
+
735
+ $output = '';
736
+
737
+ $last_changed = wp_cache_get_last_changed( 'posts' );
738
+
739
+ $limit = $r['limit'];
740
+
741
+ if ( 'monthly' == $r['type'] ) {
742
+ $query = "SELECT YEAR(post_date) AS `year`, MONTH(post_date) AS `month`, count(ID) as posts FROM $wpdb->posts $join $where GROUP BY YEAR(post_date), MONTH(post_date) ORDER BY post_date $order $limit";
743
+ $key = md5( $query );
744
+ $key = "wp_get_archives:$key:$last_changed";
745
+ if ( ! $results = wp_cache_get( $key, 'posts' ) ) {
746
+ $results = $wpdb->get_results( $query );
747
+ wp_cache_set( $key, $results, 'posts' );
748
+ }
749
+ if ( $results ) {
750
+ foreach ( (array) $results as $result ) {
751
+ $url = get_month_link( $result->year, $result->month );
752
+ if ( 'post' !== $r['post_type'] ) {
753
+ $url = add_query_arg( 'post_type', $r['post_type'], $url );
754
+ }
755
+
756
+ return $url;
757
+ }
758
+ }
759
+ }
760
+ }
761
+
762
+ /**
763
+ * @return string
764
+ * @throws Exception
765
+ */
766
+ private function getTexts() {
767
+ if ( BRIZY_DEVELOPMENT ) {
768
+ $brizy_public_editor_build_texts = '\Brizy_Public_EditorBuild_Dev_Texts';
769
+ } else {
770
+ $version = '';
771
+ foreach ( explode( '-', BRIZY_EDITOR_VERSION ) as $tmp ) {
772
+ $version .= ucfirst( $tmp );
773
+ }
774
+ $brizy_public_editor_build_texts = '\Brizy_Public_EditorBuild_' . $version . '_Texts';
775
+ }
776
+
777
+ if ( ! class_exists( $brizy_public_editor_build_texts ) ) {
778
+ if ( BRIZY_DEVELOPMENT ) {
779
+ throw new \Exception( 'You must build the editor first.' );
780
+ } else {
781
+ throw new \Exception( 'Unable to find class ' . $brizy_public_editor_build_texts );
782
+ }
783
+ }
784
+
785
+ return (object) $brizy_public_editor_build_texts::get_editor_texts();
786
+ }
 
 
 
 
 
787
 
788
  private function addTemplateFields( $config, $is_template, $wp_post_id, $context ) {
789
 
790
+ $template_rules = [];
791
+ if ( $is_template ) {
792
+ $rule_manager = new Brizy_Admin_Rules_Manager();
793
+ $template_rules = $rule_manager->getRules( $wp_post_id );
794
+ $config['template_type'] = $this->getTemplateType( $template_rules );
795
+ }
796
+
797
+ $config['wp']['ruleMatches'] = $this->getTemplateRuleMatches( $is_template, $wp_post_id, $template_rules );
798
+
799
+ return $config;
800
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
801
 
802
  /**
803
+ * @param $isTemplate
804
+ * @param $wpPostId
805
+ * @param $templateRules
806
+ *
807
  * @return array
808
  */
809
+ private function getTemplateRuleMatches( $isTemplate, $wpPostId, $templateRules ) {
810
+
811
+ $ruleMatches = array();
812
+
813
+ if ( $isTemplate ) {
814
+
815
+ foreach ( $templateRules as $rule ) {
816
+ /**
817
+ * @var Brizy_Admin_Rule $rule ;
818
+ */
819
+ $ruleMatches[] = array(
820
+ 'type' => $rule->getType(),
821
+ 'group' => $rule->getAppliedFor(),
822
+ 'entityType' => $rule->getEntityType(),
823
+ 'values' => $rule->getEntityValues(),
824
+ );
825
+ }
826
 
827
+ $ruleMatches[] = array(
828
+ 'type' => Brizy_Admin_Rule::TYPE_INCLUDE,
829
+ 'group' => Brizy_Admin_Rule::BRIZY_TEMPLATE,
830
+ 'entityType' => $this->post->getWpPost()->post_type,
831
+ 'values' => array( $wpPostId ),
832
+ );
833
+
834
+ } else {
835
+ $ruleMatches[] = array(
836
+ 'type' => Brizy_Admin_Rule::TYPE_INCLUDE,
837
+ 'group' => Brizy_Admin_Rule::POSTS,
838
+ 'entityType' => $this->post->getWpPost()->post_type,
839
+ 'values' => array( $wpPostId ),
840
+ );
841
+ }
842
+
843
+ return $ruleMatches;
844
+ }
845
+
846
+
847
+ /**
848
+ *
849
+ * @param $template_rules
850
+ */
851
+ private function getTemplateType( $template_rules ) {
852
+ foreach ( $template_rules as $rule ) {
853
+
854
+ if ( $rule->getType() != Brizy_Admin_Rule::TYPE_INCLUDE ) {
855
+ continue;
856
+ }
857
+
858
+ // single mode
859
+ if ( $rule->getAppliedFor() == Brizy_Admin_Rule::POSTS ) {
860
+ if ( $rule->getEntityType() == 'product' ) {
861
+ return 'product';
862
+ } else {
863
+ return 'single';
864
+ }
865
+ }
866
 
867
+
868
+ // single mode
869
+ if ( $rule->getAppliedFor() == Brizy_Admin_Rule::TEMPLATE ) {
870
+ if ( in_array( $rule->getEntityType(), [ '404', 'front_page' ] ) ) {
871
+ return 'single';
872
+ }
873
+
874
+ if ( in_array( $rule->getEntityType(), [ 'search', 'author', 'home_page' ] ) ) {
875
+ return 'archive';
876
+ }
877
+ }
878
+
879
+ // archive mode
880
+ if ( $rule->getAppliedFor() == Brizy_Admin_Rule::TAXONOMY ) {
881
+ if ( in_array( $rule->getEntityType(), [ 'product_cat', 'product_tag' ] ) ) {
882
+ return 'product_archive';
883
+ }
884
+ if ( in_array( $rule->getEntityType(), [ 'category', 'post_tag', ] ) ) {
885
+ return 'archive';
886
+ }
887
+ }
888
+
889
+ // product archive mode
890
+ if ( in_array( $rule->getAppliedFor(), [
891
+ Brizy_Admin_Rule::ARCHIVE,
892
+ Brizy_Admin_Rule::DATE_ARCHIVE,
893
+ Brizy_Admin_Rule::DAY_ARCHIVE,
894
+ Brizy_Admin_Rule::MONTH_ARCHIVE,
895
+ Brizy_Admin_Rule::YEAR_ARCHIVE,
896
+ Brizy_Admin_Rule::TAXONOMY,
897
+ Brizy_Admin_Rule::WOO_SHOP_PAGE
898
+ ] ) ) {
899
+ if ( $rule->getAppliedFor() == Brizy_Admin_Rule::WOO_SHOP_PAGE && in_array( $rule->getEntityType(), [
900
+ 'product',
901
+ 'shop_page'
902
+ ] ) ) {
903
+ return 'product_archive';
904
+ } else {
905
+ return 'archive';
906
+ }
907
+ }
908
+ }
909
+
910
+ return '';
911
+ }
912
+
913
+ /**
914
+ * @return array
915
+ */
916
+ public function getProjectStatus() {
917
+ $projectLockedBy = Brizy_Editor::get()->checkIfProjectIsLocked();
918
+ $userData = WP_User::get_data_by( 'id', $projectLockedBy );
919
+ unset( $userData->user_pass );
920
+ unset( $userData->user_registered );
921
+ unset( $userData->user_status );
922
+ unset( $userData->user_activation_key );
923
+
924
+ return [
925
+ 'locked' => $projectLockedBy !== false,
926
+ 'lockedBy' => $userData,
927
+ ];
928
+ }
929
+
930
+ /**
931
+ * @return array
932
+ */
933
+ public function getApiActions( $config, $context ) {
934
+
935
+ $pref = Brizy_Editor::prefix();
936
+
937
+ $config['wp']['api'] = array(
938
  'hash' => wp_create_nonce( Brizy_Editor_API::nonce ),
939
  'url' => set_url_scheme( admin_url( 'admin-ajax.php' ) ),
940
 
941
+ 'heartBeat' => $pref . Brizy_Editor_API::AJAX_HEARTBEAT,
942
+ 'takeOver' => $pref . Brizy_Editor_API::AJAX_TAKE_OVER,
943
+ 'lockProject' => $pref . Brizy_Editor_API::AJAX_LOCK_PROJECT,
944
+ 'removeLock' => $pref . Brizy_Editor_API::AJAX_REMOVE_LOCK,
945
+ 'getPage' => $pref . Brizy_Editor_API::AJAX_GET,
946
+ 'getPostInfo' => $pref . Brizy_Editor_API::AJAX_GET_POST_INFO,
947
+ 'updatePage' => $pref . Brizy_Editor_API::AJAX_UPDATE,
948
+ 'getProject' => $pref . Brizy_Editor_API::AJAX_GET_PROJECT,
949
+ 'setProject' => $pref . Brizy_Editor_API::AJAX_SET_PROJECT,
950
+ 'setProjectMeta' => $pref . Brizy_Editor_API::AJAX_UPDATE_EDITOR_META_DATA,
951
+ 'getGlobalBlockList' => $pref . Brizy_Admin_Blocks_Api::GET_GLOBAL_BLOCKS_ACTION,
952
+ 'createGlobalBlock' => $pref . Brizy_Admin_Blocks_Api::CREATE_GLOBAL_BLOCK_ACTION,
953
+ 'updateGlobalBlock' => $pref . Brizy_Admin_Blocks_Api::UPDATE_GLOBAL_BLOCK_ACTION,
954
+ 'updateGlobalBlocks' => $pref . Brizy_Admin_Blocks_Api::UPDATE_GLOBAL_BLOCKS_ACTION,
955
+ 'deleteGlobalBlock' => $pref . Brizy_Admin_Blocks_Api::DELETE_GLOBAL_BLOCK_ACTION,
956
+ 'getRuleGroupList' => $pref . Brizy_Admin_Rules_Api::RULE_GROUP_LIST,
957
+ 'getLayoutByUid' => $pref . Brizy_Admin_Layouts_Api::GET_LAYOUT_BY_UID_ACTION,
958
+ 'getLayoutList' => $pref . Brizy_Admin_Layouts_Api::GET_LAYOUTS_ACTION,
959
+ 'createLayout' => $pref . Brizy_Admin_Layouts_Api::CREATE_LAYOUT_ACTION,
960
+ 'updateLayout' => $pref . Brizy_Admin_Layouts_Api::UPDATE_LAYOUT_ACTION,
961
+ 'deleteLayout' => $pref . Brizy_Admin_Layouts_Api::DELETE_LAYOUT_ACTION,
962
+ 'cloudSignIn' => $pref . Brizy_Admin_Cloud_Api::AJAX_SIGNIN_ACTION,
963
+ 'cloudSignUp' => $pref . Brizy_Admin_Cloud_Api::AJAX_SIGNUP_ACTION,
964
+ 'cloudSignOut' => $pref . Brizy_Admin_Cloud_Api::AJAX_SIGNOUT_ACTION,
965
+ 'cloudSyncAllowed' => $pref . Brizy_Admin_Cloud_Api::AJAX_SYNC_ALLOWED,
966
+ 'cloudResetPassword' => $pref . Brizy_Admin_Cloud_Api::AJAX_RESET_PASSWORD_ACTION,
967
+ 'cloudSync' => $pref . Brizy_Admin_Cloud_Api::AJAX_TRIGGER_SYNC_ACTION,
968
+ 'createRule' => $pref . Brizy_Admin_Rules_Api::CREATE_RULE_ACTION,
969
+ 'createRules' => $pref . Brizy_Admin_Rules_Api::CREATE_RULES_ACTION,
970
+ 'updateRules' => $pref . Brizy_Admin_Rules_Api::UPDATE_RULES_ACTION,
971
+ 'deleteRule' => $pref . Brizy_Admin_Rules_Api::DELETE_RULE_ACTION,
972
+ 'getRuleList' => $pref . Brizy_Admin_Rules_Api::LIST_RULE_ACTION,
973
+ 'updateBlockPositions' => $pref . Brizy_Admin_Blocks_Api::UPDATE_POSITIONS_ACTION,
974
+ 'getSavedBlockByUid' => $pref . Brizy_Admin_Blocks_Api::GET_SAVED_BLOCK_ACTION,
975
+ 'getSavedBlockList' => $pref . Brizy_Admin_Blocks_Api::GET_SAVED_BLOCKS_ACTION,
976
+ 'createSavedBlock' => $pref . Brizy_Admin_Blocks_Api::CREATE_SAVED_BLOCK_ACTION,
977
+ 'updateSavedBlock' => $pref . Brizy_Admin_Blocks_Api::UPDATE_SAVED_BLOCK_ACTION,
978
+ 'deleteSavedBlock' => $pref . Brizy_Admin_Blocks_Api::DELETE_SAVED_BLOCK_ACTION,
979
+ 'downloadBlocks' => $pref . Brizy_Admin_Blocks_Api::DOWNLOAD_BLOCKS,
980
+ 'uploadBlocks' => $pref . Brizy_Admin_Blocks_Api::UPLOAD_BLOCKS,
981
+ 'downloadLayouts' => $pref . Brizy_Admin_Layouts_Api::DOWNLOAD_LAYOUTS,
982
+ 'uploadLayouts' => $pref . Brizy_Admin_Layouts_Api::UPLOAD_LAYOUTS,
983
+ 'media' => $pref . Brizy_Editor_API::AJAX_MEDIA,
984
+ 'getMediaUid' => $pref . Brizy_Editor_API::AJAX_MEDIA_METAKEY,
985
+ 'getAttachmentUid' => $pref . Brizy_Editor_API::AJAX_CREATE_ATTACHMENT_UID,
986
+ 'getServerTimeStamp' => $pref . Brizy_Editor_API::AJAX_TIMESTAMP,
987
+ 'createBlockScreenshot' => $pref . Brizy_Editor_BlockScreenshotApi::AJAX_CREATE_BLOCK_SCREENSHOT,
988
+ 'updateBlockScreenshot' => $pref . Brizy_Editor_BlockScreenshotApi::AJAX_UPDATE_BLOCK_SCREENSHOT,
989
+ 'getSidebars' => $pref . Brizy_Editor_API::AJAX_SIDEBARS,
990
+ 'shortcodeContent' => $pref . Brizy_Editor_API::AJAX_SHORTCODE_CONTENT,
991
+ 'placeholderContent' => $pref . Brizy_Editor_API::AJAX_PLACEHOLDER_CONTENT,
992
+ 'placeholdersContent' => $pref . Brizy_Editor_API::AJAX_PLACEHOLDERS_CONTENT,
993
  'getPostTaxonomies' => $pref . Brizy_Editor_API::AJAX_GET_POST_TAXONOMIES,
994
  'getMenus' => $pref . Brizy_Editor_API::AJAX_GET_MENU_LIST,
995
  'getTerms' => $pref . Brizy_Editor_API::AJAX_GET_TERMS,
996
  'getTermsBy' => $pref . Brizy_Editor_API::AJAX_GET_TERMS_BY,
997
  'getUsers' => $pref . Brizy_Editor_API::AJAX_GET_USERS,
998
  'getPostObjects' => $pref . Brizy_Editor_API::AJAX_GET_POST_OBJECTS, // ???
999
+ 'searchPosts' => $pref . Brizy_Editor_API::AJAX_SEARCH_POST,
1000
  'setFeaturedImage' => $pref . Brizy_Editor_API::AJAX_SET_FEATURED_IMAGE,
1001
  'setFeaturedImageFocalPoint' => $pref . Brizy_Editor_API::AJAX_SET_IMAGE_FOCAL_PT,
1002
  'removeFeaturedImage' => $pref . Brizy_Editor_API::AJAX_REMOVE_FEATURED_IMAGE,
1022
  'ruleTemplateGroupList' => $pref . Brizy_Admin_Rules_Api::RULE_TEMPLATE_GROUP_LIST,
1023
  );
1024
 
1025
+ return $config;
1026
  }
1027
 
1028
+ /**
1029
+ * @return array
1030
+ * @throws Exception
1031
+ */
1032
+ public function getCloudInfo() {
1033
+ // the cloud will be always initialized with the exception when the white label is enabled
1034
+ // we wil return isSyncAllowed = false just in case
1035
+ if ( class_exists( 'BrizyPro_Admin_WhiteLabel' ) && BrizyPro_Admin_WhiteLabel::_init()->getEnabled() ) {
1036
+ return array(
1037
+ 'isSyncAllowed' => false,
1038
+ );
1039
+ }
 
1040
 
1041
  $response = array(
1042
  'isSyncAllowed' => true,
1043
  );
1044
 
1045
+ if ( $this->project->getMetaValue( 'brizy-cloud-token' ) !== null ) {
1046
+ $cloudClient = Brizy_Admin_Cloud_Client::instance( Brizy_Editor_Project::get(), new WP_Http() );
1047
+ $versions = $cloudClient->getCloudEditorVersions();
1048
+ $response['isSyncAllowed'] = $versions['sync'] == BRIZY_SYNC_VERSION;
1049
+ }
1050
 
1051
+ return $response;
1052
+ }
1053
 
1054
  /**
1055
  * Do not use: $userId = get_post_meta( $this->post->getWpPostId(), '_edit_last', true );
1076
  $userCan = user_can( $userId, 'unfiltered_html' );
1077
 
1078
  return $userCan;
1079
+ }
1080
 
1081
  private function getImgSizes() {
1082
 
1087
  unset( $size['crop'] );
1088
  }
1089
  $size['name'] = $name;
1090
+ $sizes[] = $size;
1091
  }
1092
 
1093
  return $sizes;
editor/post.php CHANGED
@@ -274,7 +274,7 @@ class Brizy_Editor_Post extends Brizy_Editor_Entity {
274
  if ( $noFilters ) {
275
  $content = $post->post_content;
276
  } else {
277
- $context = new Brizy_Content_Context( Brizy_Editor_Project::get(), null, $post, null );
278
  $placeholderProvider = new Brizy_Content_PlaceholderWpProvider( $context );
279
  $context->setProvider( $placeholderProvider );
280
  $extractor = new \BrizyPlaceholders\Extractor( $placeholderProvider );
274
  if ( $noFilters ) {
275
  $content = $post->post_content;
276
  } else {
277
+ $context = Brizy_Content_ContextFactory::createContext( Brizy_Editor_Project::get(), null, $post, null );
278
  $placeholderProvider = new Brizy_Content_PlaceholderWpProvider( $context );
279
  $context->setProvider( $placeholderProvider );
280
  $extractor = new \BrizyPlaceholders\Extractor( $placeholderProvider );
editor/project.php CHANGED
@@ -99,36 +99,26 @@ class Brizy_Editor_Project extends Brizy_Editor_Entity {
99
  }
100
 
101
  /**
102
- * @return Brizy_Editor_Project|mixed
 
 
 
103
  * @throws Exception
104
  */
105
- public static function get( $apost = null, $uid = null ) {
106
-
107
- $wp_post_id = $apost;
108
- if ( $apost instanceof WP_Post ) {
109
- $wp_post_id = $apost->ID;
110
- }
111
 
112
- if ( ! $wp_post_id && isset( self::$instance[ $wp_post_id ] ) ) {
113
- return self::$instance[ $wp_post_id ];
114
  }
115
 
116
  try {
117
- if ( is_null( $wp_post_id ) ) {
118
- $wp_post = self::getPost();
119
- } else {
120
- $wp_post = get_post( $wp_post_id );
121
- }
122
-
123
- if ( isset( self::$instance[ $wp_post->ID ] ) ) {
124
- return self::$instance[ $wp_post->ID ];
125
- }
126
  } catch ( Exception $e ) {
127
  Brizy_Logger::instance()->exception( $e );
128
  throw $e;
129
  }
130
 
131
- return self::$instance[ $wp_post->ID ] = new self( $wp_post );
132
  }
133
 
134
  /**
99
  }
100
 
101
  /**
102
+ * @param null $postId
103
+ * @param null $uid
104
+ *
105
+ * @return Brizy_Editor_Project|null
106
  * @throws Exception
107
  */
108
+ public static function get( $postId = null, $uid = null ) {
 
 
 
 
 
109
 
110
+ if ( self::$instance ) {
111
+ return self::$instance;
112
  }
113
 
114
  try {
115
+ $wp_post = self::getPost();
 
 
 
 
 
 
 
 
116
  } catch ( Exception $e ) {
117
  Brizy_Logger::instance()->exception( $e );
118
  throw $e;
119
  }
120
 
121
+ return self::$instance = new self( $wp_post );
122
  }
123
 
124
  /**
editor/url-builder.php CHANGED
@@ -60,6 +60,8 @@ class Brizy_Editor_UrlBuilder
60
  */
61
  public function plugin_url($path = '')
62
  {
 
 
63
  if ($path) {
64
  $path = '/' . ltrim($path, '/');
65
  }
@@ -132,6 +134,8 @@ class Brizy_Editor_UrlBuilder
132
  */
133
  public function upload_path($path = null)
134
  {
 
 
135
  if ($path) {
136
  $path = '/' . ltrim($path, '/');
137
  }
@@ -146,6 +150,8 @@ class Brizy_Editor_UrlBuilder
146
  */
147
  public function upload_url($path = null)
148
  {
 
 
149
  if ($path) {
150
  $path = "/" . ltrim($path, "/");
151
  }
@@ -160,6 +166,9 @@ class Brizy_Editor_UrlBuilder
160
  */
161
  public function brizy_upload_path($path = null)
162
  {
 
 
 
163
  if ($path) {
164
  $path = ltrim($path, '/');
165
  }
@@ -188,6 +197,8 @@ class Brizy_Editor_UrlBuilder
188
  */
189
  public function wp_upload_relative_path( $path )
190
  {
 
 
191
  $path = ltrim( $path, '/' );
192
 
193
  if ( empty( $this->upload_dir['subdir'] ) || $this->upload_dir['subdir'] == '/' ) {
@@ -204,6 +215,7 @@ class Brizy_Editor_UrlBuilder
204
  */
205
  public function brizy_upload_relative_path($path = null)
206
  {
 
207
 
208
  if ($path) {
209
  $path = ltrim($path, '/');
@@ -221,6 +233,8 @@ class Brizy_Editor_UrlBuilder
221
  public function brizy_upload_url($path = null)
222
  {
223
 
 
 
224
  if ($path) {
225
  $path = ltrim($path, "/");
226
  }
@@ -239,7 +253,6 @@ class Brizy_Editor_UrlBuilder
239
  */
240
  public function page_upload_path($path = null, $post_id = null)
241
  {
242
-
243
  if (is_null($post_id) && $this->post_id) {
244
  $post_id = (int)$this->post_id;
245
  }
@@ -272,7 +285,6 @@ class Brizy_Editor_UrlBuilder
272
  */
273
  public function page_upload_url($path = null, $post_id = null)
274
  {
275
-
276
  if (is_null($post_id) && $this->post_id) {
277
  $post_id = (int)$this->post_id;
278
  }
@@ -292,7 +304,6 @@ class Brizy_Editor_UrlBuilder
292
  */
293
  public function editor_asset_path($path = null)
294
  {
295
-
296
  if ($path) {
297
  $path = '/' . ltrim($path, '/');
298
  }
@@ -321,6 +332,8 @@ class Brizy_Editor_UrlBuilder
321
  */
322
  static public function editor_build_path($path = null)
323
  {
 
 
324
  if ($path) {
325
  $path = '/' . ltrim(
326
  str_replace(array('/', '\\'), '/', $path),
@@ -365,6 +378,8 @@ class Brizy_Editor_UrlBuilder
365
  */
366
  public function external_media_url($path = null)
367
  {
 
 
368
  if ($path) {
369
  $path = "/" . ltrim($path, "/");
370
  }
@@ -402,6 +417,7 @@ class Brizy_Editor_UrlBuilder
402
  */
403
  public function external_asset_url($path = null, $template_version = null)
404
  {
 
405
 
406
  if (is_null($template_version)) {
407
  $template_version = BRIZY_EDITOR_VERSION;
@@ -435,5 +451,14 @@ class Brizy_Editor_UrlBuilder
435
 
436
  return sprintf($url, $template_version);
437
  }
 
 
 
 
 
 
 
 
 
438
  }
439
 
60
  */
61
  public function plugin_url($path = '')
62
  {
63
+ $path = self::cleanPath($path);
64
+
65
  if ($path) {
66
  $path = '/' . ltrim($path, '/');
67
  }
134
  */
135
  public function upload_path($path = null)
136
  {
137
+ $path = self::cleanPath($path);
138
+
139
  if ($path) {
140
  $path = '/' . ltrim($path, '/');
141
  }
150
  */
151
  public function upload_url($path = null)
152
  {
153
+ $path = self::cleanPath($path);
154
+
155
  if ($path) {
156
  $path = "/" . ltrim($path, "/");
157
  }
166
  */
167
  public function brizy_upload_path($path = null)
168
  {
169
+
170
+ $path = self::cleanPath($path);
171
+
172
  if ($path) {
173
  $path = ltrim($path, '/');
174
  }
197
  */
198
  public function wp_upload_relative_path( $path )
199
  {
200
+ $path = self::cleanPath($path);
201
+
202
  $path = ltrim( $path, '/' );
203
 
204
  if ( empty( $this->upload_dir['subdir'] ) || $this->upload_dir['subdir'] == '/' ) {
215
  */
216
  public function brizy_upload_relative_path($path = null)
217
  {
218
+ $path = self::cleanPath($path);
219
 
220
  if ($path) {
221
  $path = ltrim($path, '/');
233
  public function brizy_upload_url($path = null)
234
  {
235
 
236
+ $path = self::cleanPath($path);
237
+
238
  if ($path) {
239
  $path = ltrim($path, "/");
240
  }
253
  */
254
  public function page_upload_path($path = null, $post_id = null)
255
  {
 
256
  if (is_null($post_id) && $this->post_id) {
257
  $post_id = (int)$this->post_id;
258
  }
285
  */
286
  public function page_upload_url($path = null, $post_id = null)
287
  {
 
288
  if (is_null($post_id) && $this->post_id) {
289
  $post_id = (int)$this->post_id;
290
  }
304
  */
305
  public function editor_asset_path($path = null)
306
  {
 
307
  if ($path) {
308
  $path = '/' . ltrim($path, '/');
309
  }
332
  */
333
  static public function editor_build_path($path = null)
334
  {
335
+ $path = self::cleanPath($path);
336
+
337
  if ($path) {
338
  $path = '/' . ltrim(
339
  str_replace(array('/', '\\'), '/', $path),
378
  */
379
  public function external_media_url($path = null)
380
  {
381
+ $path = self::cleanPath($path);
382
+
383
  if ($path) {
384
  $path = "/" . ltrim($path, "/");
385
  }
417
  */
418
  public function external_asset_url($path = null, $template_version = null)
419
  {
420
+ $path = self::cleanPath($path);
421
 
422
  if (is_null($template_version)) {
423
  $template_version = BRIZY_EDITOR_VERSION;
451
 
452
  return sprintf($url, $template_version);
453
  }
454
+
455
+ static public function cleanPath($path) {
456
+ $path = preg_replace("/\.?\.\//m",'',$path);
457
+ $path = preg_replace("/(\/+)\.+(\/+)/m",'$1$2',$path);
458
+ $path = preg_replace("/\.{2,}/m",'/',$path);
459
+ $path = preg_replace("/\/{2,}/m",'/',$path);
460
+
461
+ return $path;
462
+ }
463
  }
464
 
editor/zip/archiver.php CHANGED
@@ -160,27 +160,8 @@ class Brizy_Editor_Zip_Archiver implements Brizy_Editor_Zip_ArchiverInterface {
160
  $data = json_decode( $z->getFromName( $dir . '/data.json' ) );
161
  $hasPro = (bool) $data->hasPro;
162
 
163
- if ( $hasPro ) {
164
-
165
- $throw = false;
166
-
167
- if ( ! class_exists( 'BrizyPro_Admin_License' ) ) {
168
- $throw = true;
169
- } else {
170
- if ( method_exists( BrizyPro_Admin_License::_init(), 'isValidLicense' ) ) {
171
- if ( ! BrizyPro_Admin_License::_init()->isValidLicense() ) {
172
- $throw = true;
173
- }
174
- } else {
175
- if ( ! BrizyPro_Admin_License::_init()->getCurrentLicense() ) {
176
- $throw = true;
177
- }
178
- }
179
- }
180
-
181
- if ( $throw ) {
182
- throw new Exception( 'Attempt to import a PRO block in a non PRO environment.' );
183
- }
184
  }
185
 
186
  $entityClass = $data->class;
160
  $data = json_decode( $z->getFromName( $dir . '/data.json' ) );
161
  $hasPro = (bool) $data->hasPro;
162
 
163
+ if ( $hasPro && ! Brizy_Compatibilities_BrizyProCompatibility::isPro() ) {
164
+ throw new Exception( 'Attempt to import a PRO block in a non PRO environment.' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
165
  }
166
 
167
  $entityClass = $data->class;
import/cleaner.php ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php defined( 'ABSPATH' ) or die();
2
+
3
+ class Brizy_Import_Cleaner {
4
+
5
+ /**
6
+ * @var wpdb
7
+ */
8
+ private $wpdb;
9
+
10
+ /**
11
+ * @var Brizy_Editor_Project
12
+ */
13
+ private $project;
14
+
15
+ /**
16
+ * @var WP_Filesystem_Base
17
+ */
18
+ private $fileSystem;
19
+
20
+ /**
21
+ * @var Brizy_Editor_UrlBuilder
22
+ */
23
+ private $urlBuilder;
24
+
25
+ public function __construct() {
26
+ global $wpdb, $wp_filesystem;
27
+
28
+ if ( ! $wp_filesystem ) {
29
+ if ( ! function_exists( 'WP_Filesystem' ) ) {
30
+ require_once wp_normalize_path( ABSPATH . '/wp-admin/includes/file.php' );
31
+ }
32
+
33
+ WP_Filesystem();
34
+ }
35
+
36
+ $this->fileSystem = $wp_filesystem;
37
+ $this->wpdb = $wpdb;
38
+ $this->project = Brizy_Editor_Project::get();
39
+ $this->urlBuilder = new Brizy_Editor_UrlBuilder( $this->project );
40
+ }
41
+
42
+ /**
43
+ * @throws Exception
44
+ */
45
+ public function clean() {
46
+ $this->deleteFiles();
47
+ $this->cleanTables();
48
+ }
49
+
50
+ private function deleteFiles() {
51
+
52
+ $ids = $this->wpdb->get_results( "SELECT p.ID FROM {$this->wpdb->posts} p WHERE p.post_type = 'attachment'", ARRAY_N );
53
+
54
+ foreach ( $ids as $id ) {
55
+ wp_delete_attachment( $id, true );
56
+ }
57
+
58
+ $this->fileSystem->delete( $this->urlBuilder->brizy_upload_path(), true );
59
+ }
60
+
61
+ /**
62
+ * @throws Exception
63
+ */
64
+ private function cleanTables() {
65
+
66
+ $this->wpdb->query(
67
+ $this->wpdb->prepare(
68
+ "DELETE p, m, tr, tt, t, tm
69
+ FROM {$this->wpdb->posts} p
70
+ LEFT JOIN {$this->wpdb->term_relationships} tr ON p.ID = tr.object_id
71
+ LEFT JOIN {$this->wpdb->term_taxonomy} tt ON tt.term_taxonomy_id = tr.term_taxonomy_id
72
+ LEFT JOIN {$this->wpdb->terms} t ON t.term_id = tt.term_id
73
+ LEFT JOIN {$this->wpdb->termmeta} tm ON tm.term_id = t.term_id
74
+ LEFT JOIN {$this->wpdb->postmeta} m ON p.ID = m.post_id
75
+ WHERE p.post_type <> %s AND p.post_type <> %s",
76
+ Brizy_Editor_Project::BRIZY_PROJECT,
77
+ 'wp_global_styles'
78
+ )
79
+ );
80
+
81
+ $this->wpdb->query( "DELETE FROM {$this->wpdb->commentmeta}" );
82
+ $this->wpdb->query( "DELETE FROM {$this->wpdb->comments}" );
83
+
84
+ $this->project->setDataAsJson( json_encode( new stdClass() ) )->saveStorage();
85
+
86
+ $this->project->cleanClassCache();
87
+ }
88
+ }
import/extractor.php ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php defined( 'ABSPATH' ) or die();
2
+
3
+ class Brizy_Import_Extractor {
4
+
5
+ private $url;
6
+ /**
7
+ * @var WP_Filesystem_Direct
8
+ */
9
+ private $fileSystem;
10
+
11
+ public function __construct( $url ) {
12
+ global $wp_filesystem;
13
+
14
+ if ( ! $wp_filesystem ) {
15
+ if ( ! function_exists( 'WP_Filesystem' ) ) {
16
+ require_once wp_normalize_path( ABSPATH . '/wp-admin/includes/file.php' );
17
+ }
18
+
19
+ WP_Filesystem();
20
+ }
21
+
22
+ $this->fileSystem = $wp_filesystem;
23
+ $this->url = $url;
24
+ }
25
+
26
+ /**
27
+ * @throws Exception
28
+ */
29
+ public function getFiles() {
30
+ if ( ! function_exists( 'download_url' ) ) {
31
+ require_once ABSPATH . 'wp-admin/includes/file.php';
32
+ }
33
+
34
+ $tmpfname = download_url( $this->url );
35
+
36
+ if ( is_wp_error( $tmpfname ) ) {
37
+ throw new Exception( $tmpfname->get_error_message() );
38
+ }
39
+
40
+ $to = $this->getPath();
41
+
42
+ if ( $this->fileSystem->is_dir( $to ) ) {
43
+ $this->fileSystem->delete( $to, true );
44
+ }
45
+
46
+ if ( ! $this->fileSystem->mkdir( $to ) ) {
47
+ unlink( $tmpfname );
48
+ throw new Exception( 'Could not create the path: ' . $to );
49
+ }
50
+
51
+ $unzip = unzip_file( $tmpfname, $to );
52
+
53
+ unlink( $tmpfname );
54
+
55
+ if ( is_wp_error( $unzip ) ) {
56
+ $this->fileSystem->delete( $to, true );
57
+
58
+ throw new Exception( $unzip->get_error_message() );
59
+ }
60
+
61
+ return true;
62
+ }
63
+
64
+ public function getPath( $path = '' ) {
65
+ return $this->fileSystem->wp_content_dir() . 'demo' . DIRECTORY_SEPARATOR . $path;
66
+ }
67
+
68
+ public function cleanup() {
69
+ $this->fileSystem->delete( $this->getPath(), true );
70
+ }
71
+ }
import/import.php ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php defined( 'ABSPATH' ) or die();
2
+
3
+ class Brizy_Import_Import {
4
+
5
+ private $demoId;
6
+ private $provider;
7
+ private $extractor;
8
+ private $cleaner;
9
+
10
+ public function __construct( $demoId ) {
11
+ $this->demoId = $demoId;
12
+ $this->provider = new Brizy_Import_Provider();
13
+ $this->extractor = new Brizy_Import_Extractor( $this->provider->getExportUrl( $this->demoId, $this->getKey() ) );
14
+ $this->cleaner = new Brizy_Import_Cleaner();
15
+ }
16
+
17
+ /**
18
+ * @param bool $rmContent
19
+ *
20
+ * @throws Exception
21
+ */
22
+ public function import( $rmContent = false ) {
23
+
24
+ if ( ! class_exists( 'WP_Import' ) ) {
25
+ new Brizy_Compatibilities_WordpressImporter();
26
+ }
27
+
28
+ try {
29
+
30
+ if ( $rmContent ) {
31
+ $this->cleaner->clean();
32
+ }
33
+
34
+ $this->extractor->getFiles();
35
+
36
+ $parser = new Brizy_Import_Parser( $this->extractor->getPath( 'demo.xml' ) );
37
+ $data = $parser->parse();
38
+
39
+ if ( ! empty( $data['importSettings']['plugins'] ) ) {
40
+ $plugins = new Brizy_Import_Plugins( $data['importSettings']['plugins'] );
41
+ $plugins->install();
42
+ }
43
+
44
+ $importer = new Brizy_Import_Importer( $data, $this->extractor );
45
+
46
+ $importer->import();
47
+
48
+ $remap = new Brizy_Import_Remap( $importer, $data );
49
+
50
+ $remap->remapping();
51
+
52
+ } catch ( Exception $e ) {
53
+ $this->cleanup();
54
+ throw new Exception( $e->getMessage() );
55
+ }
56
+
57
+ Brizy_Editor_Post::mark_all_for_compilation();
58
+
59
+ $this->cleanup();
60
+ }
61
+
62
+ private function getKey() {
63
+ $key = '';
64
+
65
+ if ( Brizy_Compatibilities_BrizyProCompatibility::isPro() ) {
66
+ $licenseData = BrizyPro_Admin_License::_init()->getCurrentLicense();
67
+ if ( ! empty( $licenseData['key'] ) ) {
68
+ $key = $licenseData['key'];
69
+ }
70
+ }
71
+
72
+ return $key;
73
+ }
74
+
75
+ public function cleanup() {
76
+ $this->extractor->cleanup();
77
+ }
78
+ }
import/importer.php ADDED
@@ -0,0 +1,947 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php defined( 'ABSPATH' ) or die();
2
+ /**
3
+ * WordPress Importer class for managing the import process of a WXR file
4
+ *
5
+ * @package WordPress
6
+ * @subpackage Importer
7
+ */
8
+
9
+ if ( ! class_exists( 'WP_Importer' ) ) {
10
+ $class_wp_importer = ABSPATH . 'wp-admin/includes/class-wp-importer.php';
11
+ if ( file_exists( $class_wp_importer ) ) {
12
+ require $class_wp_importer;
13
+ }
14
+ }
15
+
16
+ /**
17
+ * WordPress importer class.
18
+ */
19
+ class Brizy_Import_Importer extends WP_Importer {
20
+
21
+ private $errors = [];
22
+ private $missing_menu_items = [];
23
+ private $menu_item_orphans = [];
24
+ private $post_orphans = [];
25
+ private $extractor;
26
+
27
+ /**
28
+ * @param $data
29
+ * @param Brizy_Import_Extractor $extractor
30
+ */
31
+ public function __construct( $data, $extractor ) {
32
+
33
+ if ( ! function_exists( 'post_exists' ) ) {
34
+ require_once ABSPATH . 'wp-admin/includes/post.php';
35
+ }
36
+
37
+ parent::__construct();
38
+
39
+ $this->extractor = $extractor;
40
+
41
+ $this->version = $data['version'];
42
+ $this->authors = $data['authors'];
43
+ $this->posts = $data['posts'];
44
+ $this->terms = $data['terms'];
45
+ $this->categories = $data['categories'];
46
+ $this->tags = $data['tags'];
47
+ $this->base_url = esc_url( $data['base_url'] );
48
+
49
+ wp_defer_term_counting( true );
50
+ wp_defer_comment_counting( true );
51
+ }
52
+
53
+ public function getErrors() {
54
+ return $this->errors;
55
+ }
56
+
57
+ /**
58
+ * The main controller for the actual import stage.
59
+ *
60
+ * @param string $file Path to the WXR file for importing
61
+ */
62
+ function import() {
63
+
64
+ do_action( 'import_start' );
65
+
66
+ set_time_limit(0);
67
+
68
+ add_filter( 'import_post_meta_key', array( $this, 'is_valid_meta_key' ) );
69
+ add_filter( 'http_request_timeout', array( &$this, 'bump_request_timeout' ) );
70
+
71
+ wp_suspend_cache_invalidation( true );
72
+ $this->process_categories();
73
+ $this->process_tags();
74
+ $this->process_terms();
75
+ $this->process_posts();
76
+ wp_suspend_cache_invalidation( false );
77
+
78
+ // update incorrect/missing information in the DB
79
+ $this->backfill_parents();
80
+ $this->backfill_attachment_urls();
81
+ $this->remap_featured_images();
82
+
83
+ $this->import_end();
84
+ }
85
+
86
+ /**
87
+ * Performs post-import cleanup of files and the cache
88
+ */
89
+ function import_end() {
90
+
91
+ wp_cache_flush();
92
+ foreach ( get_taxonomies() as $tax ) {
93
+ delete_option( "{$tax}_children" );
94
+ _get_term_hierarchy( $tax );
95
+ }
96
+
97
+ wp_defer_term_counting( false );
98
+ wp_defer_comment_counting( false );
99
+
100
+ do_action( 'import_end' );
101
+ }
102
+
103
+ /**
104
+ * Create new categories based on import information
105
+ *
106
+ * Doesn't create a new category if its slug already exists
107
+ */
108
+ function process_categories() {
109
+ $this->categories = apply_filters( 'wp_import_categories', $this->categories );
110
+
111
+ if ( empty( $this->categories ) )
112
+ return;
113
+
114
+ foreach ( $this->categories as $cat ) {
115
+ // if the category already exists leave it alone
116
+ $term_id = term_exists( $cat['category_nicename'], 'category' );
117
+ if ( $term_id ) {
118
+ if ( is_array($term_id) ) $term_id = $term_id['term_id'];
119
+ if ( isset($cat['term_id']) )
120
+ $this->processed_terms[intval($cat['term_id'])] = (int) $term_id;
121
+ continue;
122
+ }
123
+
124
+ $parent = empty( $cat['category_parent'] ) ? 0 : category_exists( $cat['category_parent'] );
125
+ $description = isset( $cat['category_description'] ) ? $cat['category_description'] : '';
126
+
127
+ $data = array(
128
+ 'category_nicename' => $cat['category_nicename'],
129
+ 'category_parent' => $parent,
130
+ 'cat_name' => wp_slash( $cat['cat_name'] ),
131
+ 'category_description' => wp_slash( $description ),
132
+ );
133
+
134
+ $id = wp_insert_category( $data );
135
+ if ( ! is_wp_error( $id ) && $id > 0 ) {
136
+ if ( isset($cat['term_id']) )
137
+ $this->processed_terms[intval($cat['term_id'])] = $id;
138
+ } else {
139
+ $this->errors[] = sprintf( __( 'Failed to import category %s', 'brizy' ), esc_html( $cat['category_nicename'] ) );
140
+ continue;
141
+ }
142
+
143
+ $this->process_termmeta( $cat, $id );
144
+ }
145
+
146
+ unset( $this->categories );
147
+ }
148
+
149
+ /**
150
+ * Create new post tags based on import information
151
+ *
152
+ * Doesn't create a tag if its slug already exists
153
+ */
154
+ function process_tags() {
155
+ $this->tags = apply_filters( 'wp_import_tags', $this->tags );
156
+
157
+ if ( empty( $this->tags ) )
158
+ return;
159
+
160
+ foreach ( $this->tags as $tag ) {
161
+ // if the tag already exists leave it alone
162
+ $term_id = term_exists( $tag['tag_slug'], 'post_tag' );
163
+ if ( $term_id ) {
164
+ if ( is_array($term_id) ) $term_id = $term_id['term_id'];
165
+ if ( isset($tag['term_id']) )
166
+ $this->processed_terms[intval($tag['term_id'])] = (int) $term_id;
167
+ continue;
168
+ }
169
+
170
+ $description = isset( $tag['tag_description'] ) ? $tag['tag_description'] : '';
171
+ $args = array(
172
+ 'slug' => $tag['tag_slug'],
173
+ 'description' => wp_slash( $description ),
174
+ );
175
+
176
+ $id = wp_insert_term( wp_slash( $tag['tag_name'] ), 'post_tag', $args );
177
+ if ( ! is_wp_error( $id ) ) {
178
+ if ( isset($tag['term_id']) )
179
+ $this->processed_terms[intval($tag['term_id'])] = $id['term_id'];
180
+ } else {
181
+ $this->errors[] = sprintf( __( 'Failed to import post tag %s', 'brizy' ), esc_html( $tag['tag_name'] ) );
182
+ continue;
183
+ }
184
+
185
+ $this->process_termmeta( $tag, $id['term_id'] );
186
+ }
187
+
188
+ unset( $this->tags );
189
+ }
190
+
191
+ /**
192
+ * Create new terms based on import information
193
+ *
194
+ * Doesn't create a term its slug already exists
195
+ */
196
+ function process_terms() {
197
+ $this->terms = apply_filters( 'wp_import_terms', $this->terms );
198
+
199
+ if ( empty( $this->terms ) )
200
+ return;
201
+
202
+ foreach ( $this->terms as $term ) {
203
+ // if the term already exists in the correct taxonomy leave it alone
204
+ $term_id = term_exists( $term['slug'], $term['term_taxonomy'] );
205
+ if ( $term_id ) {
206
+ if ( is_array($term_id) ) $term_id = $term_id['term_id'];
207
+ if ( isset($term['term_id']) )
208
+ $this->processed_terms[intval($term['term_id'])] = (int) $term_id;
209
+ continue;
210
+ }
211
+
212
+ if ( empty( $term['term_parent'] ) ) {
213
+ $parent = 0;
214
+ } else {
215
+ $parent = term_exists( $term['term_parent'], $term['term_taxonomy'] );
216
+ if ( is_array( $parent ) ) {
217
+ $parent = $parent['term_id'];
218
+ }
219
+ }
220
+
221
+ $description = isset( $term['term_description'] ) ? $term['term_description'] : '';
222
+ $args = array(
223
+ 'slug' => $term['slug'],
224
+ 'description' => wp_slash( $description ),
225
+ 'parent' => (int) $parent
226
+ );
227
+
228
+ $id = wp_insert_term( wp_slash( $term['term_name'] ), $term['term_taxonomy'], $args );
229
+ if ( ! is_wp_error( $id ) ) {
230
+ if ( isset($term['term_id']) )
231
+ $this->processed_terms[intval($term['term_id'])] = $id['term_id'];
232
+ } else {
233
+ $this->errors[] = sprintf( __( 'Failed to import %s %s', 'brizy' ), esc_html( $term['term_taxonomy'] ), esc_html( $term['term_name'] ) );
234
+ continue;
235
+ }
236
+
237
+ $this->process_termmeta( $term, $id['term_id'] );
238
+ }
239
+
240
+ unset( $this->terms );
241
+ }
242
+
243
+ /**
244
+ * Add metadata to imported term.
245
+ *
246
+ * @since 0.6.2
247
+ *
248
+ * @param array $term Term data from WXR import.
249
+ * @param int $term_id ID of the newly created term.
250
+ */
251
+ protected function process_termmeta( $term, $term_id ) {
252
+ if ( ! function_exists( 'add_term_meta' ) ) {
253
+ return;
254
+ }
255
+
256
+ if ( ! isset( $term['termmeta'] ) ) {
257
+ $term['termmeta'] = array();
258
+ }
259
+
260
+ /**
261
+ * Filters the metadata attached to an imported term.
262
+ *
263
+ * @since 0.6.2
264
+ *
265
+ * @param array $termmeta Array of term meta.
266
+ * @param int $term_id ID of the newly created term.
267
+ * @param array $term Term data from the WXR import.
268
+ */
269
+ $term['termmeta'] = apply_filters( 'wp_import_term_meta', $term['termmeta'], $term_id, $term );
270
+
271
+ if ( empty( $term['termmeta'] ) ) {
272
+ return;
273
+ }
274
+
275
+ foreach ( $term['termmeta'] as $meta ) {
276
+ /**
277
+ * Filters the meta key for an imported piece of term meta.
278
+ *
279
+ * @since 0.6.2
280
+ *
281
+ * @param string $meta_key Meta key.
282
+ * @param int $term_id ID of the newly created term.
283
+ * @param array $term Term data from the WXR import.
284
+ */
285
+ $key = apply_filters( 'import_term_meta_key', $meta['key'], $term_id, $term );
286
+ if ( ! $key ) {
287
+ continue;
288
+ }
289
+
290
+ // Export gets meta straight from the DB so could have a serialized string
291
+ $value = maybe_unserialize( $meta['value'] );
292
+
293
+ add_term_meta( $term_id, wp_slash( $key ), wp_slash_strings_only( $value ) );
294
+
295
+ /**
296
+ * Fires after term meta is imported.
297
+ *
298
+ * @since 0.6.2
299
+ *
300
+ * @param int $term_id ID of the newly created term.
301
+ * @param string $key Meta key.
302
+ * @param mixed $value Meta value.
303
+ */
304
+ do_action( 'import_term_meta', $term_id, $key, $value );
305
+ }
306
+ }
307
+
308
+ /**
309
+ * Create new posts based on import information
310
+ *
311
+ * Posts marked as having a parent which doesn't exist will become top level items.
312
+ * Doesn't create a new post if: the post type doesn't exist, the given post ID
313
+ * is already noted as imported or a post with the same title and date already exists.
314
+ * Note that new/updated terms, comments and meta are imported for the last of the above.
315
+ */
316
+ function process_posts() {
317
+ $this->posts = apply_filters( 'wp_import_posts', $this->posts );
318
+
319
+ foreach ( $this->posts as $post ) {
320
+ $post = apply_filters( 'wp_import_post_data_raw', $post );
321
+
322
+ if ( ! post_type_exists( $post['post_type'] ) ) {
323
+ $this->errors[] = sprintf( __( 'Failed to import &#8220;%s&#8221;: Invalid post type %s', 'brizy' ),
324
+ esc_html( $post['post_title'] ), esc_html( $post['post_type'] ) );
325
+ do_action( 'wp_import_post_exists', $post );
326
+ continue;
327
+ }
328
+
329
+ if ( isset( $this->processed_posts[$post['post_id']] ) && ! empty( $post['post_id'] ) )
330
+ continue;
331
+
332
+ if ( $post['status'] == 'auto-draft' )
333
+ continue;
334
+
335
+ if ( 'nav_menu_item' == $post['post_type'] ) {
336
+ $this->process_menu_item( $post );
337
+ continue;
338
+ }
339
+
340
+ $post_type_object = get_post_type_object( $post['post_type'] );
341
+
342
+ $post_exists = post_exists( $post['post_title'], '', $post['post_date'] );
343
+
344
+ /**
345
+ * Filter ID of the existing post corresponding to post currently importing.
346
+ *
347
+ * Return 0 to force the post to be imported. Filter the ID to be something else
348
+ * to override which existing post is mapped to the imported post.
349
+ *
350
+ * @see post_exists()
351
+ * @since 0.6.2
352
+ *
353
+ * @param int $post_exists Post ID, or 0 if post did not exist.
354
+ * @param array $post The post array to be inserted.
355
+ */
356
+ $post_exists = apply_filters( 'wp_import_existing_post', $post_exists, $post );
357
+
358
+ if ( $post_exists && get_post_type( $post_exists ) == $post['post_type'] ) {
359
+ $comment_post_ID = $post_id = $post_exists;
360
+ $this->processed_posts[ intval( $post['post_id'] ) ] = intval( $post_exists );
361
+ } else {
362
+ $post_parent = (int) $post['post_parent'];
363
+ if ( $post_parent ) {
364
+ // if we already know the parent, map it to the new local ID
365
+ if ( isset( $this->processed_posts[$post_parent] ) ) {
366
+ $post_parent = $this->processed_posts[$post_parent];
367
+ // otherwise record the parent for later
368
+ } else {
369
+ $this->post_orphans[intval($post['post_id'])] = $post_parent;
370
+ $post_parent = 0;
371
+ }
372
+ }
373
+
374
+ // map the post author
375
+ $author = sanitize_user( $post['post_author'], true );
376
+ if ( isset( $this->author_mapping[$author] ) )
377
+ $author = $this->author_mapping[$author];
378
+ else
379
+ $author = (int) get_current_user_id();
380
+
381
+ $postdata = array(
382
+ 'import_id' => $post['post_id'], 'post_author' => $author, 'post_date' => $post['post_date'],
383
+ 'post_date_gmt' => $post['post_date_gmt'], 'post_content' => $post['post_content'],
384
+ 'post_excerpt' => $post['post_excerpt'], 'post_title' => $post['post_title'],
385
+ 'post_status' => $post['status'], 'post_name' => $post['post_name'],
386
+ 'comment_status' => $post['comment_status'], 'ping_status' => $post['ping_status'],
387
+ 'guid' => $post['guid'], 'post_parent' => $post_parent, 'menu_order' => $post['menu_order'],
388
+ 'post_type' => $post['post_type'], 'post_password' => $post['post_password']
389
+ );
390
+
391
+ $original_post_ID = $post['post_id'];
392
+ $postdata = apply_filters( 'wp_import_post_data_processed', $postdata, $post );
393
+
394
+ $postdata = wp_slash( $postdata );
395
+
396
+ if ( 'attachment' == $postdata['post_type'] ) {
397
+ $remote_url = ! empty($post['attachment_url']) ? $post['attachment_url'] : $post['guid'];
398
+
399
+ // try to use _wp_attached file for upload folder placement to ensure the same location as the export site
400
+ // e.g. location is 2003/05/image.jpg but the attachment post_date is 2010/09, see media_handle_upload()
401
+ $postdata['upload_date'] = $post['post_date'];
402
+ if ( isset( $post['postmeta'] ) ) {
403
+ foreach( $post['postmeta'] as $meta ) {
404
+ if ( $meta['key'] == '_wp_attached_file' ) {
405
+ if ( preg_match( '%^[0-9]{4}/[0-9]{2}%', $meta['value'], $matches ) )
406
+ $postdata['upload_date'] = $matches[0];
407
+ break;
408
+ }
409
+ }
410
+ }
411
+
412
+ $comment_post_ID = $post_id = $this->process_attachment( $postdata, $remote_url );
413
+ } else {
414
+ $comment_post_ID = $post_id = wp_insert_post( $postdata, true );
415
+ do_action( 'wp_import_insert_post', $post_id, $original_post_ID, $postdata, $post );
416
+ }
417
+
418
+ if ( is_wp_error( $post_id ) ) {
419
+ $this->errors[] = sprintf(
420
+ __( 'Failed to import %s "%s". Error: %s', 'brizy' ),
421
+ $post_type_object->labels->singular_name,
422
+ esc_html( $post['post_title'] ),
423
+ $post_id->get_error_message()
424
+ );
425
+
426
+ continue;
427
+ }
428
+
429
+ if ( $post['is_sticky'] == 1 )
430
+ stick_post( $post_id );
431
+ }
432
+
433
+ // map pre-import ID to local ID
434
+ $this->processed_posts[intval($post['post_id'])] = (int) $post_id;
435
+
436
+ if ( ! isset( $post['terms'] ) )
437
+ $post['terms'] = array();
438
+
439
+ $post['terms'] = apply_filters( 'wp_import_post_terms', $post['terms'], $post_id, $post );
440
+
441
+ // add categories, tags and other terms
442
+ if ( ! empty( $post['terms'] ) ) {
443
+ $terms_to_set = array();
444
+ foreach ( $post['terms'] as $term ) {
445
+ // back compat with WXR 1.0 map 'tag' to 'post_tag'
446
+ $taxonomy = ( 'tag' == $term['domain'] ) ? 'post_tag' : $term['domain'];
447
+ $term_exists = term_exists( $term['slug'], $taxonomy );
448
+ $term_id = is_array( $term_exists ) ? $term_exists['term_id'] : $term_exists;
449
+ if ( ! $term_id ) {
450
+ $t = wp_insert_term( $term['name'], $taxonomy, array( 'slug' => $term['slug'] ) );
451
+ if ( ! is_wp_error( $t ) ) {
452
+ $term_id = $t['term_id'];
453
+ do_action( 'wp_import_insert_term', $t, $term, $post_id, $post );
454
+ } else {
455
+ $this->errors[] = sprintf(
456
+ __( 'Failed to import %s %s. Error: %s', 'brizy' ),
457
+ esc_html( $taxonomy ),
458
+ esc_html( $term['name'] ),
459
+ $t->get_error_message()
460
+ );
461
+
462
+ do_action( 'wp_import_insert_term_failed', $t, $term, $post_id, $post );
463
+ continue;
464
+ }
465
+ }
466
+ $terms_to_set[$taxonomy][] = intval( $term_id );
467
+ }
468
+
469
+ foreach ( $terms_to_set as $tax => $ids ) {
470
+ $tt_ids = wp_set_post_terms( $post_id, $ids, $tax );
471
+ do_action( 'wp_import_set_post_terms', $tt_ids, $ids, $tax, $post_id, $post );
472
+ }
473
+ unset( $post['terms'], $terms_to_set );
474
+ }
475
+
476
+ if ( ! isset( $post['comments'] ) )
477
+ $post['comments'] = array();
478
+
479
+ $post['comments'] = apply_filters( 'wp_import_post_comments', $post['comments'], $post_id, $post );
480
+
481
+ // add/update comments
482
+ if ( ! empty( $post['comments'] ) ) {
483
+ $num_comments = 0;
484
+ $inserted_comments = array();
485
+ foreach ( $post['comments'] as $comment ) {
486
+ $comment_id = $comment['comment_id'];
487
+ $newcomments[$comment_id]['comment_post_ID'] = $comment_post_ID;
488
+ $newcomments[$comment_id]['comment_author'] = $comment['comment_author'];
489
+ $newcomments[$comment_id]['comment_author_email'] = $comment['comment_author_email'];
490
+ $newcomments[$comment_id]['comment_author_IP'] = $comment['comment_author_IP'];
491
+ $newcomments[$comment_id]['comment_author_url'] = $comment['comment_author_url'];
492
+ $newcomments[$comment_id]['comment_date'] = $comment['comment_date'];
493
+ $newcomments[$comment_id]['comment_date_gmt'] = $comment['comment_date_gmt'];
494
+ $newcomments[$comment_id]['comment_content'] = $comment['comment_content'];
495
+ $newcomments[$comment_id]['comment_approved'] = $comment['comment_approved'];
496
+ $newcomments[$comment_id]['comment_type'] = $comment['comment_type'];
497
+ $newcomments[$comment_id]['comment_parent'] = $comment['comment_parent'];
498
+ $newcomments[$comment_id]['commentmeta'] = isset( $comment['commentmeta'] ) ? $comment['commentmeta'] : array();
499
+ if ( isset( $this->processed_authors[$comment['comment_user_id']] ) )
500
+ $newcomments[$comment_id]['user_id'] = $this->processed_authors[$comment['comment_user_id']];
501
+ }
502
+ ksort( $newcomments );
503
+
504
+ foreach ( $newcomments as $key => $comment ) {
505
+ // if this is a new post we can skip the comment_exists() check
506
+ if ( ! $post_exists || ! comment_exists( $comment['comment_author'], $comment['comment_date'] ) ) {
507
+ if ( isset( $inserted_comments[$comment['comment_parent']] ) ) {
508
+ $comment['comment_parent'] = $inserted_comments[ $comment['comment_parent'] ];
509
+ }
510
+
511
+ $comment_data = wp_slash( $comment );
512
+ unset( $comment_data['commentmeta'] ); // Handled separately, wp_insert_comment() also expects `comment_meta`.
513
+ $comment_data = wp_filter_comment( $comment_data );
514
+
515
+ $inserted_comments[ $key ] = wp_insert_comment( $comment_data );
516
+
517
+ do_action( 'wp_import_insert_comment', $inserted_comments[ $key ], $comment, $comment_post_ID, $post );
518
+
519
+ foreach( $comment['commentmeta'] as $meta ) {
520
+ $value = maybe_unserialize( $meta['value'] );
521
+
522
+ add_comment_meta( $inserted_comments[ $key ], wp_slash( $meta['key'] ), wp_slash_strings_only( $value ) );
523
+ }
524
+
525
+ $num_comments++;
526
+ }
527
+ }
528
+ unset( $newcomments, $inserted_comments, $post['comments'] );
529
+ }
530
+
531
+ if ( ! isset( $post['postmeta'] ) )
532
+ $post['postmeta'] = array();
533
+
534
+ $post['postmeta'] = apply_filters( 'wp_import_post_meta', $post['postmeta'], $post_id, $post );
535
+
536
+ // add/update post meta
537
+ if ( ! empty( $post['postmeta'] ) ) {
538
+ foreach ( $post['postmeta'] as $meta ) {
539
+ $key = apply_filters( 'import_post_meta_key', $meta['key'], $post_id, $post );
540
+ $value = false;
541
+
542
+ if ( '_edit_last' == $key ) {
543
+ if ( isset( $this->processed_authors[intval($meta['value'])] ) )
544
+ $value = $this->processed_authors[intval($meta['value'])];
545
+ else
546
+ $key = false;
547
+ }
548
+
549
+ if ( $key ) {
550
+ // export gets meta straight from the DB so could have a serialized string
551
+ if ( ! $value ) {
552
+ $value = maybe_unserialize( $meta['value'] );
553
+ }
554
+
555
+ add_post_meta( $post_id, wp_slash( $key ), wp_slash_strings_only( $value ) );
556
+
557
+ do_action( 'import_post_meta', $post_id, $key, $value );
558
+
559
+ // if the post has a featured image, take note of this in case of remap
560
+ if ( '_thumbnail_id' == $key )
561
+ $this->featured_images[$post_id] = (int) $value;
562
+ }
563
+ }
564
+ }
565
+ }
566
+
567
+ unset( $this->posts );
568
+ }
569
+
570
+ /**
571
+ * Attempt to create a new menu item from import data
572
+ *
573
+ * Fails for draft, orphaned menu items and those without an associated nav_menu
574
+ * or an invalid nav_menu term. If the post type or term object which the menu item
575
+ * represents doesn't exist then the menu item will not be imported (waits until the
576
+ * end of the import to retry again before discarding).
577
+ *
578
+ * @param array $item Menu item details from WXR file
579
+ */
580
+ function process_menu_item( $item ) {
581
+ // skip draft, orphaned menu items
582
+ if ( 'draft' == $item['status'] )
583
+ return;
584
+
585
+ $menu_slug = false;
586
+ if ( isset($item['terms']) ) {
587
+ // loop through terms, assume first nav_menu term is correct menu
588
+ foreach ( $item['terms'] as $term ) {
589
+ if ( 'nav_menu' == $term['domain'] ) {
590
+ $menu_slug = $term['slug'];
591
+ break;
592
+ }
593
+ }
594
+ }
595
+
596
+ // no nav_menu term associated with this menu item
597
+ if ( ! $menu_slug ) {
598
+ $this->errors[] = __( 'Menu item skipped due to missing menu slug.', 'brizy' );
599
+ return;
600
+ }
601
+
602
+ $menu_id = term_exists( $menu_slug, 'nav_menu' );
603
+ if ( ! $menu_id ) {
604
+ $this->errors[] = sprintf( __( 'Menu item skipped due to invalid menu slug: %s', 'brizy' ), esc_html( $menu_slug ) );
605
+ return;
606
+ } else {
607
+ $menu_id = is_array( $menu_id ) ? $menu_id['term_id'] : $menu_id;
608
+ }
609
+
610
+ foreach ( $item['postmeta'] as $meta )
611
+ ${$meta['key']} = $meta['value'];
612
+
613
+ if ( 'taxonomy' == $_menu_item_type && isset( $this->processed_terms[intval($_menu_item_object_id)] ) ) {
614
+ $_menu_item_object_id = $this->processed_terms[intval($_menu_item_object_id)];
615
+ } else if ( 'post_type' == $_menu_item_type && isset( $this->processed_posts[intval($_menu_item_object_id)] ) ) {
616
+ $_menu_item_object_id = $this->processed_posts[intval($_menu_item_object_id)];
617
+ } else if ( 'custom' != $_menu_item_type ) {
618
+ // associated object is missing or not imported yet, we'll retry later
619
+ $this->missing_menu_items[] = $item;
620
+ return;
621
+ }
622
+
623
+ if ( isset( $this->processed_menu_items[intval($_menu_item_menu_item_parent)] ) ) {
624
+ $_menu_item_menu_item_parent = $this->processed_menu_items[intval($_menu_item_menu_item_parent)];
625
+ } else if ( $_menu_item_menu_item_parent ) {
626
+ $this->menu_item_orphans[intval($item['post_id'])] = (int) $_menu_item_menu_item_parent;
627
+ $_menu_item_menu_item_parent = 0;
628
+ }
629
+
630
+ // wp_update_nav_menu_item expects CSS classes as a space separated string
631
+ $_menu_item_classes = maybe_unserialize( $_menu_item_classes );
632
+ if ( is_array( $_menu_item_classes ) )
633
+ $_menu_item_classes = implode( ' ', $_menu_item_classes );
634
+
635
+ $args = array(
636
+ 'menu-item-object-id' => $_menu_item_object_id,
637
+ 'menu-item-object' => $_menu_item_object,
638
+ 'menu-item-parent-id' => $_menu_item_menu_item_parent,
639
+ 'menu-item-position' => intval( $item['menu_order'] ),
640
+ 'menu-item-type' => $_menu_item_type,
641
+ 'menu-item-title' => $item['post_title'],
642
+ 'menu-item-url' => $_menu_item_url,
643
+ 'menu-item-description' => $item['post_content'],
644
+ 'menu-item-attr-title' => $item['post_excerpt'],
645
+ 'menu-item-target' => $_menu_item_target,
646
+ 'menu-item-classes' => $_menu_item_classes,
647
+ 'menu-item-xfn' => $_menu_item_xfn,
648
+ 'menu-item-status' => $item['status']
649
+ );
650
+
651
+ $id = wp_update_nav_menu_item( $menu_id, 0, $args );
652
+ if ( $id && ! is_wp_error( $id ) )
653
+ $this->processed_menu_items[intval($item['post_id'])] = (int) $id;
654
+ }
655
+
656
+ /**
657
+ * If fetching attachments is enabled then attempt to create a new attachment
658
+ *
659
+ * @param array $post Attachment post details from WXR
660
+ * @param string $url URL to fetch attachment from
661
+ * @return int|WP_Error Post ID on success, WP_Error otherwise
662
+ */
663
+ function process_attachment( $post, $url ) {
664
+ // if the URL is absolute, but does not contain address, then upload it assuming base_site_url
665
+ if ( preg_match( '|^/[\w\W]+$|', $url ) )
666
+ $url = rtrim( $this->base_url, '/' ) . $url;
667
+
668
+ $upload = $this->fetch_remote_file( $url, $post );
669
+ if ( is_wp_error( $upload ) )
670
+ return $upload;
671
+
672
+ if ( $info = wp_check_filetype( $upload['file'] ) )
673
+ $post['post_mime_type'] = $info['type'];
674
+ else
675
+ return new WP_Error( 'attachment_processing_error', __('Invalid file type', 'brizy') );
676
+
677
+ $post['guid'] = $upload['url'];
678
+
679
+ // as per wp-admin/includes/upload.php
680
+ $post_id = wp_insert_attachment( $post, $upload['file'] );
681
+ wp_update_attachment_metadata( $post_id, wp_generate_attachment_metadata( $post_id, $upload['file'] ) );
682
+
683
+ // remap resized image URLs, works by stripping the extension and remapping the URL stub.
684
+ if ( preg_match( '!^image/!', $info['type'] ) ) {
685
+ $parts = pathinfo( $url );
686
+ $name = basename( $parts['basename'], ".{$parts['extension']}" ); // PATHINFO_FILENAME in PHP 5.2
687
+
688
+ $parts_new = pathinfo( $upload['url'] );
689
+ $name_new = basename( $parts_new['basename'], ".{$parts_new['extension']}" );
690
+
691
+ $this->url_remap[$parts['dirname'] . '/' . $name] = $parts_new['dirname'] . '/' . $name_new;
692
+ }
693
+
694
+ return $post_id;
695
+ }
696
+
697
+ /**
698
+ * Attempt to download a remote file attachment
699
+ *
700
+ * @param string $url URL of item to fetch
701
+ * @param array $post Attachment details
702
+ * @return array|WP_Error Local file location details on success, WP_Error otherwise
703
+ */
704
+ function fetch_remote_file( $url, $post ) {
705
+
706
+ $file_name = basename( parse_url( $url, PHP_URL_PATH ) );
707
+ $tmp_file_name = $this->extractor->getPath( $file_name );
708
+ $uploads = wp_upload_dir();
709
+
710
+ // Move the file to the uploads' dir.
711
+ $file_name = wp_unique_filename( $uploads['path'], $file_name );
712
+ $new_file = $uploads['path'] . "/$file_name";
713
+ $move_new_file = copy( $tmp_file_name, $new_file );
714
+
715
+ if ( ! $move_new_file ) {
716
+ return new WP_Error( 'import_file_error', __( 'The uploaded file could not be moved', 'brizy' ) );
717
+ }
718
+
719
+ // Set correct file permissions.
720
+ $stat = stat( dirname( $new_file ) );
721
+ $perms = $stat['mode'] & 0000666;
722
+ chmod( $new_file, $perms );
723
+
724
+ $wp_filetype = wp_check_filetype_and_ext( $tmp_file_name, $file_name );
725
+
726
+ $upload = array(
727
+ 'file' => $new_file,
728
+ 'url' => $uploads['url'] . "/$file_name",
729
+ 'type' => $wp_filetype['type'],
730
+ 'error' => false,
731
+ );
732
+
733
+ // keep track of the old and new urls so we can substitute them later
734
+ $this->url_remap[$url] = $upload['url'];
735
+ $this->url_remap[$post['guid']] = $upload['url']; // r13735, really needed?
736
+
737
+ return $upload;
738
+ }
739
+
740
+ /**
741
+ * Attempt to associate posts and menu items with previously missing parents
742
+ *
743
+ * An imported post's parent may not have been imported when it was first created
744
+ * so try again. Similarly for child menu items and menu items which were missing
745
+ * the object (e.g. post) they represent in the menu
746
+ */
747
+ function backfill_parents() {
748
+ global $wpdb;
749
+
750
+ // find parents for post orphans
751
+ foreach ( $this->post_orphans as $child_id => $parent_id ) {
752
+ $local_child_id = $local_parent_id = false;
753
+ if ( isset( $this->processed_posts[$child_id] ) )
754
+ $local_child_id = $this->processed_posts[$child_id];
755
+ if ( isset( $this->processed_posts[$parent_id] ) )
756
+ $local_parent_id = $this->processed_posts[$parent_id];
757
+
758
+ if ( $local_child_id && $local_parent_id ) {
759
+ $wpdb->update( $wpdb->posts, array( 'post_parent' => $local_parent_id ), array( 'ID' => $local_child_id ), '%d', '%d' );
760
+ clean_post_cache( $local_child_id );
761
+ }
762
+ }
763
+
764
+ // all other posts/terms are imported, retry menu items with missing associated object
765
+ $missing_menu_items = $this->missing_menu_items;
766
+ foreach ( $missing_menu_items as $item )
767
+ $this->process_menu_item( $item );
768
+
769
+ // find parents for menu item orphans
770
+ foreach ( $this->menu_item_orphans as $child_id => $parent_id ) {
771
+ $local_child_id = $local_parent_id = 0;
772
+ if ( isset( $this->processed_menu_items[$child_id] ) )
773
+ $local_child_id = $this->processed_menu_items[$child_id];
774
+ if ( isset( $this->processed_menu_items[$parent_id] ) )
775
+ $local_parent_id = $this->processed_menu_items[$parent_id];
776
+
777
+ if ( $local_child_id && $local_parent_id )
778
+ update_post_meta( $local_child_id, '_menu_item_menu_item_parent', (int) $local_parent_id );
779
+ }
780
+ }
781
+
782
+ /**
783
+ * Use stored mapping information to update old attachment URLs
784
+ */
785
+ function backfill_attachment_urls() {
786
+ global $wpdb;
787
+ // make sure we do the longest urls first, in case one is a substring of another
788
+ uksort( $this->url_remap, array(&$this, 'cmpr_strlen') );
789
+
790
+ foreach ( $this->url_remap as $from_url => $to_url ) {
791
+ // remap urls in post_content
792
+ $wpdb->query( $wpdb->prepare("UPDATE {$wpdb->posts} SET post_content = REPLACE(post_content, %s, %s)", $from_url, $to_url) );
793
+ // remap enclosure urls
794
+ $result = $wpdb->query( $wpdb->prepare("UPDATE {$wpdb->postmeta} SET meta_value = REPLACE(meta_value, %s, %s) WHERE meta_key='enclosure'", $from_url, $to_url) );
795
+ }
796
+ }
797
+
798
+ /**
799
+ * Update _thumbnail_id meta to new, imported attachment IDs
800
+ */
801
+ function remap_featured_images() {
802
+ // cycle through posts that have a featured image
803
+ foreach ( $this->featured_images as $post_id => $value ) {
804
+ if ( isset( $this->processed_posts[$value] ) ) {
805
+ $new_id = $this->processed_posts[$value];
806
+ // only update if there's a difference
807
+ if ( $new_id != $value )
808
+ update_post_meta( $post_id, '_thumbnail_id', $new_id );
809
+ }
810
+ }
811
+ }
812
+
813
+ /**
814
+ * Decide if the given meta key maps to information we will want to import
815
+ *
816
+ * @param string $key The meta key to check
817
+ * @return string|bool The key if we do want to import, false if not
818
+ */
819
+ function is_valid_meta_key( $key ) {
820
+ // skip attachment metadata since we'll regenerate it from scratch
821
+ // skip _edit_lock as not relevant for import
822
+ if ( in_array( $key, array( '_wp_attached_file', '_wp_attachment_metadata', '_edit_lock' ) ) )
823
+ return false;
824
+ return $key;
825
+ }
826
+
827
+ /**
828
+ * Decide what the maximum file size for downloaded attachments is.
829
+ * Default is 0 (unlimited), can be filtered via import_attachment_size_limit
830
+ *
831
+ * @return int Maximum attachment file size to import
832
+ */
833
+ function max_attachment_size() {
834
+ return apply_filters( 'import_attachment_size_limit', 0 );
835
+ }
836
+
837
+ /**
838
+ * Added to http_request_timeout filter to force timeout at 60 seconds during import
839
+ * @return int 60
840
+ */
841
+ function bump_request_timeout( $val ) {
842
+ return 60;
843
+ }
844
+
845
+ // return the difference in length between two strings
846
+ function cmpr_strlen( $a, $b ) {
847
+ return strlen($b) - strlen($a);
848
+ }
849
+
850
+ /**
851
+ * Parses filename from a Content-Disposition header value.
852
+ *
853
+ * As per RFC6266:
854
+ *
855
+ * content-disposition = "Content-Disposition" ":"
856
+ * disposition-type *( ";" disposition-parm )
857
+ *
858
+ * disposition-type = "inline" | "attachment" | disp-ext-type
859
+ * ; case-insensitive
860
+ * disp-ext-type = token
861
+ *
862
+ * disposition-parm = filename-parm | disp-ext-parm
863
+ *
864
+ * filename-parm = "filename" "=" value
865
+ * | "filename*" "=" ext-value
866
+ *
867
+ * disp-ext-parm = token "=" value
868
+ * | ext-token "=" ext-value
869
+ * ext-token = <the characters in token, followed by "*">
870
+ *
871
+ * @since 0.7.0
872
+ *
873
+ * @see WP_REST_Attachments_Controller::get_filename_from_disposition()
874
+ *
875
+ * @link http://tools.ietf.org/html/rfc2388
876
+ * @link http://tools.ietf.org/html/rfc6266
877
+ *
878
+ * @param string[] $disposition_header List of Content-Disposition header values.
879
+ * @return string|null Filename if available, or null if not found.
880
+ */
881
+ protected static function get_filename_from_disposition( $disposition_header ) {
882
+ // Get the filename.
883
+ $filename = null;
884
+
885
+ foreach ( $disposition_header as $value ) {
886
+ $value = trim( $value );
887
+
888
+ if ( strpos( $value, ';' ) === false ) {
889
+ continue;
890
+ }
891
+
892
+ list( $type, $attr_parts ) = explode( ';', $value, 2 );
893
+
894
+ $attr_parts = explode( ';', $attr_parts );
895
+ $attributes = array();
896
+
897
+ foreach ( $attr_parts as $part ) {
898
+ if ( strpos( $part, '=' ) === false ) {
899
+ continue;
900
+ }
901
+
902
+ list( $key, $value ) = explode( '=', $part, 2 );
903
+
904
+ $attributes[ trim( $key ) ] = trim( $value );
905
+ }
906
+
907
+ if ( empty( $attributes['filename'] ) ) {
908
+ continue;
909
+ }
910
+
911
+ $filename = trim( $attributes['filename'] );
912
+
913
+ // Unquote quoted filename, but after trimming.
914
+ if ( substr( $filename, 0, 1 ) === '"' && substr( $filename, -1, 1 ) === '"' ) {
915
+ $filename = substr( $filename, 1, -1 );
916
+ }
917
+ }
918
+
919
+ return $filename;
920
+ }
921
+
922
+ /**
923
+ * Retrieves file extension by mime type.
924
+ *
925
+ * @since 0.7.0
926
+ *
927
+ * @param string $mime_type Mime type to search extension for.
928
+ * @return string|null File extension if available, or null if not found.
929
+ */
930
+ protected static function get_file_extension_by_mime_type( $mime_type ) {
931
+ static $map = null;
932
+
933
+ if ( is_array( $map ) ) {
934
+ return isset( $map[ $mime_type ] ) ? $map[ $mime_type ] : null;
935
+ }
936
+
937
+ $mime_types = wp_get_mime_types();
938
+ $map = array_flip( $mime_types );
939
+
940
+ // Some types have multiple extensions, use only the first one.
941
+ foreach ( $map as $type => $extensions ) {
942
+ $map[ $type ] = strtok( $extensions, '|' );
943
+ }
944
+
945
+ return isset( $map[ $mime_type ] ) ? $map[ $mime_type ] : null;
946
+ }
947
+ }
import/main.php ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php defined( 'ABSPATH' ) or die();
2
+
3
+ class Brizy_Import_Main {
4
+
5
+ private $provider;
6
+
7
+ public function __construct() {
8
+
9
+ $this->provider = new Brizy_Import_Provider();
10
+
11
+ if ( defined( 'WP_CLI' ) && WP_CLI ) {
12
+ WP_CLI::add_command( 'brizy demo', Brizy_Import_WpCli::class );
13
+ } else {
14
+ add_action( 'admin_menu', [ $this, 'addSubmenuPageTemplates' ], 11 );
15
+ add_action( 'wp_ajax_brizy-import-demo', [ $this, 'ajaxImportDemo' ] );
16
+ add_action( 'admin_enqueue_scripts', [ $this, 'adminEnqueueScripts' ] );
17
+ }
18
+ }
19
+
20
+ public function addSubmenuPageTemplates() {
21
+
22
+ if ( is_network_admin() ) {
23
+ return;
24
+ }
25
+
26
+ add_filter( 'screen_options_show_screen', function ( $display ) {
27
+ return isset( $_GET['page'] ) && $_GET['page'] == 'starter-templates' ? false : $display;
28
+ } );
29
+
30
+ add_submenu_page(
31
+ Brizy_Admin_Settings::menu_slug(),
32
+ __( 'Starter Templates', 'brizy' ),
33
+ __( 'Starter Templates', 'brizy' ),
34
+ 'manage_options',
35
+ 'starter-templates',
36
+ [ $this, 'renderTemplatesPage' ],
37
+ 6
38
+ );
39
+ }
40
+
41
+ public function renderTemplatesPage() {
42
+
43
+ $args = [
44
+ 'l10n' => [
45
+ 'all' => __( 'All', 'brizy' ),
46
+ 'livePreview' => __( 'Live Preview', 'brizy' ),
47
+ 'install' => __( 'Install', 'brizy' ),
48
+ 'free' => __( 'Free', 'brizy' ),
49
+ 'pro' => __( 'Pro', 'brizy' ),
50
+ 'search' => __( 'Search', 'brizy' ),
51
+ 'allCategories' => __( 'All Categories', 'brizy' ),
52
+ 'goPro' => __( 'Go Pro', 'brizy' ),
53
+ 't1' => __( 'Something went wrong', 'brizy' ),
54
+ 't2' => __( 'Bad news, your starter template was not installed. Something went wrong and we couldn’t do it. Please contact us.', 'brizy' ),
55
+ 't3' => __( 'Ok', 'brizy' ),
56
+ 't4' => __( 'Template Successfully Installed', 'brizy' ),
57
+ 't5' => __( 'Good news, your starter template was successfully installed. Time to build your amaizing website fast & easy!', 'brizy' ),
58
+ 't6' => __( 'Thank You!', 'brizy' ),
59
+ 't7' => __( 'Installing Starter Template', 'brizy' ),
60
+ 't8' => __( 'Please don’t close this window until the installation is finished. This might take up to a couple of minutes (five min, usually less).', 'brizy' ),
61
+ 't9' => __( 'Keep existing content', 'brizy' ),
62
+ 't10' => sprintf( __( 'Choose this option if you want to keep your current content. If you are using %s, some of the global options might overlap.', 'brizy' ), __bt( 'brizy', 'Brizy' ) ),
63
+ 't11' => __( 'Install Template', 'brizy' ),
64
+ 't12' => __( 'Delete existing content', 'brizy' ),
65
+ 't13' => __( 'Choose this option if you want to start fresh and delete your current content. A backup is advisable, there is no turning back from this.', 'brizy' ),
66
+ 't14' => __( 'Deletes your current content', 'brizy' ),
67
+ ],
68
+ 'supportUrl' => Brizy_Config::SUPPORT_URL,
69
+ 'goProUrl' => Brizy_Config::GO_PRO_DASHBOARD_URL,
70
+ 'isPro' => Brizy_Compatibilities_BrizyProCompatibility::isPro(),
71
+ ];
72
+
73
+ try {
74
+ $args = array_merge( $args, $this->provider->getAllDemos() );
75
+ $args['count'] = count( $args['demos'] );
76
+
77
+ $twig = Brizy_TwigEngine::instance( BRIZY_PLUGIN_PATH . '/import/views' );
78
+ echo $twig->render('starter-templates.html.twig', $args);
79
+ } catch ( Exception $e ) {
80
+ echo $e->getMessage();
81
+ }
82
+ }
83
+
84
+ public function ajaxImportDemo() {
85
+ check_ajax_referer( 'brizy-admin-nonce', 'nonce' );
86
+
87
+ if ( empty( $_POST['demo'] ) || ! is_numeric( $_POST['demo'] ) ) {
88
+ wp_send_json_error( __( 'Invalid demo id. Please contact our support.', 'brizy' ), '500' );
89
+ }
90
+
91
+ $import = new Brizy_Import_Import( $_POST['demo'] );
92
+
93
+ try {
94
+ $import->import( (bool) $_POST['rmContent'] );
95
+ } catch (Exception $e) {
96
+ wp_send_json_error( $e->getMessage(), '500' );
97
+ }
98
+
99
+ wp_send_json_success( __( 'Template imported successfully.', 'brizy' ) );
100
+ }
101
+
102
+ public function adminEnqueueScripts() {
103
+
104
+ if ( ! isset( $_GET['page'] ) || $_GET['page'] != 'starter-templates' ) {
105
+ return;
106
+ }
107
+
108
+ $urlBuilder = new Brizy_Editor_UrlBuilder();
109
+
110
+ wp_enqueue_style(
111
+ 'demo-import-select2',
112
+ $urlBuilder->plugin_url('vendor/select2/select2/dist/css/select2.min.css'),
113
+ [],
114
+ true
115
+ );
116
+
117
+ wp_enqueue_script(
118
+ 'demo-import-select2',
119
+ $urlBuilder->plugin_url( 'vendor/select2/select2/dist/js/select2.full.min.js' ),
120
+ [ 'jquery' ]
121
+ );
122
+ }
123
+ }
import/parser.php ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php defined( 'ABSPATH' ) or die();
2
+ /**
3
+ * WordPress Importer class for managing parsing of WXR files.
4
+ */
5
+ class Brizy_Import_Parser {
6
+
7
+ private $file;
8
+
9
+ public function __construct( $file ) {
10
+ $this->file = $file;
11
+ }
12
+
13
+ /**
14
+ * @throws Exception
15
+ */
16
+ function parse() {
17
+ // Attempt to use proper XML parsers first
18
+ if ( extension_loaded( 'simplexml' ) ) {
19
+ $parser = new Brizy_Import_Parsers_Simplexml();
20
+ $result = $parser->parse( $this->file );
21
+
22
+ // If SimpleXML succeeds or this is an invalid WXR file then return the results
23
+ if ( ! is_wp_error( $result ) || 'SimpleXML_parse_error' != $result->get_error_code() ) {
24
+ return $result;
25
+ }
26
+
27
+ } else if ( extension_loaded( 'xml' ) ) {
28
+ $parser = new Brizy_Import_Parsers_Xml;
29
+ $result = $parser->parse( $this->file );
30
+
31
+ // If XMLParser succeeds or this is an invalid WXR file then return the results
32
+ if ( ! is_wp_error( $result ) ) {
33
+ return $result;
34
+ }
35
+ }
36
+
37
+ $errors = [];
38
+
39
+ // We have a malformed XML file, so display the error and fallthrough to regex
40
+ if ( isset( $result ) ) {
41
+
42
+ if ( 'SimpleXML_parse_error' == $result->get_error_code() ) {
43
+ foreach ( $result->get_error_data() as $error ) {
44
+ $errors[] = $error->line . ':' . $error->column . ' ' . esc_html( $error->message );
45
+ }
46
+ } else if ( 'XML_parse_error' == $result->get_error_code() ) {
47
+ $error = $result->get_error_data();
48
+ $errors[] = $error[0] . ':' . $error[1] . ' ' . esc_html( $error[2] );
49
+ }
50
+
51
+ $errors[] = __( 'Details are shown above. The importer will now try again with a different parser...', 'brizy' );
52
+ }
53
+
54
+ // use regular expressions if nothing else available or this is bad XML
55
+ $parser = new Brizy_Import_Parsers_Regex;
56
+ $data = $parser->parse( $this->file );
57
+
58
+ if ( is_wp_error( $data ) ) {
59
+ throw new Exception( $data->get_error_message() );
60
+ }
61
+
62
+ return $data;
63
+ }
64
+ }
import/parsers/regex.php ADDED
@@ -0,0 +1,340 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php defined( 'ABSPATH' ) or die();
2
+ /**
3
+ * WordPress eXtended RSS file parser implementations
4
+ */
5
+
6
+ /**
7
+ * WXR Parser that uses regular expressions. Fallback for installs without an XML parser.
8
+ */
9
+ class Brizy_Import_Parsers_Regex {
10
+ var $authors = array();
11
+ var $posts = array();
12
+ var $categories = array();
13
+ var $tags = array();
14
+ var $terms = array();
15
+ var $base_url = '';
16
+ var $base_blog_url = '';
17
+ var $importSettings = [];
18
+
19
+ function __construct() {
20
+ $this->has_gzip = is_callable( 'gzopen' );
21
+ }
22
+
23
+ function parse( $file ) {
24
+ $wxr_version = $in_multiline = false;
25
+
26
+ $multiline_content = '';
27
+
28
+ $multiline_tags = array(
29
+ 'item' => array( 'posts', array( $this, 'process_post' ) ),
30
+ 'wp:category' => array( 'categories', array( $this, 'process_category' ) ),
31
+ 'wp:tag' => array( 'tags', array( $this, 'process_tag' ) ),
32
+ 'wp:term' => array( 'terms', array( $this, 'process_term' ) ),
33
+ 'importSettings' => [ 'importSettings', [ $this, 'processImportSettings' ] ]
34
+ );
35
+
36
+ $fp = $this->fopen( $file, 'r' );
37
+ if ( $fp ) {
38
+ while ( ! $this->feof( $fp ) ) {
39
+ $importline = rtrim( $this->fgets( $fp ) );
40
+
41
+ if ( ! $wxr_version && preg_match( '|<wp:wxr_version>(\d+\.\d+)</wp:wxr_version>|', $importline, $version ) )
42
+ $wxr_version = $version[1];
43
+
44
+ if ( false !== strpos( $importline, '<wp:base_site_url>' ) ) {
45
+ preg_match( '|<wp:base_site_url>(.*?)</wp:base_site_url>|is', $importline, $url );
46
+ $this->base_url = $url[1];
47
+ continue;
48
+ }
49
+
50
+ if ( false !== strpos( $importline, '<wp:base_blog_url>' ) ) {
51
+ preg_match( '|<wp:base_blog_url>(.*?)</wp:base_blog_url>|is', $importline, $blog_url );
52
+ $this->base_blog_url = $blog_url[1];
53
+ continue;
54
+ } else {
55
+ $this->base_blog_url = $this->base_url;
56
+ }
57
+
58
+ if ( false !== strpos( $importline, '<wp:author>' ) ) {
59
+ preg_match( '|<wp:author>(.*?)</wp:author>|is', $importline, $author );
60
+ $a = $this->process_author( $author[1] );
61
+ $this->authors[$a['author_login']] = $a;
62
+ continue;
63
+ }
64
+
65
+ foreach ( $multiline_tags as $tag => $handler ) {
66
+ // Handle multi-line tags on a singular line
67
+ if ( preg_match( '|<' . $tag . '>(.*?)</' . $tag . '>|is', $importline, $matches ) ) {
68
+ $this->{$handler[0]}[] = call_user_func( $handler[1], $matches[1] );
69
+
70
+ } elseif ( false !== ( $pos = strpos( $importline, "<$tag>" ) ) ) {
71
+ // Take note of any content after the opening tag
72
+ $multiline_content = trim( substr( $importline, $pos + strlen( $tag ) + 2 ) );
73
+
74
+ // We don't want to have this line added to `$is_multiline` below.
75
+ $importline = '';
76
+ $in_multiline = $tag;
77
+
78
+ } elseif ( false !== ( $pos = strpos( $importline, "</$tag>" ) ) ) {
79
+ $in_multiline = false;
80
+ $multiline_content .= trim( substr( $importline, 0, $pos ) );
81
+
82
+ $this->{$handler[0]}[] = call_user_func( $handler[1], $multiline_content );
83
+ }
84
+ }
85
+
86
+ if ( $in_multiline && $importline ) {
87
+ $multiline_content .= $importline . "\n";
88
+ }
89
+ }
90
+
91
+ $this->fclose($fp);
92
+ }
93
+
94
+ if ( ! $wxr_version )
95
+ return new WP_Error( 'WXR_parse_error', __( 'This does not appear to be a WXR file, missing/invalid WXR version number', 'brizy' ) );
96
+
97
+ return [
98
+ 'authors' => $this->authors,
99
+ 'posts' => $this->posts,
100
+ 'categories' => $this->categories,
101
+ 'tags' => $this->tags,
102
+ 'terms' => $this->terms,
103
+ 'base_url' => $this->base_url,
104
+ 'base_blog_url' => $this->base_blog_url,
105
+ 'version' => $wxr_version,
106
+ 'importSettings' => $this->importSettings[0]
107
+ ];
108
+ }
109
+
110
+ function get_tag( $string, $tag ) {
111
+ preg_match( "|<$tag.*?>(.*?)</$tag>|is", $string, $return );
112
+ if ( isset( $return[1] ) ) {
113
+ if ( substr( $return[1], 0, 9 ) == '<![CDATA[' ) {
114
+ if ( strpos( $return[1], ']]]]><![CDATA[>' ) !== false ) {
115
+ preg_match_all( '|<!\[CDATA\[(.*?)\]\]>|s', $return[1], $matches );
116
+ $return = '';
117
+ foreach( $matches[1] as $match )
118
+ $return .= $match;
119
+ } else {
120
+ $return = preg_replace( '|^<!\[CDATA\[(.*)\]\]>$|s', '$1', $return[1] );
121
+ }
122
+ } else {
123
+ $return = $return[1];
124
+ }
125
+ } else {
126
+ $return = '';
127
+ }
128
+ return $return;
129
+ }
130
+
131
+ function process_category( $c ) {
132
+ $term = array(
133
+ 'term_id' => $this->get_tag( $c, 'wp:term_id' ),
134
+ 'cat_name' => $this->get_tag( $c, 'wp:cat_name' ),
135
+ 'category_nicename' => $this->get_tag( $c, 'wp:category_nicename' ),
136
+ 'category_parent' => $this->get_tag( $c, 'wp:category_parent' ),
137
+ 'category_description' => $this->get_tag( $c, 'wp:category_description' ),
138
+ );
139
+
140
+ $term_meta = $this->process_meta( $c, 'wp:termmeta' );
141
+ if ( ! empty( $term_meta ) ) {
142
+ $term['termmeta'] = $term_meta;
143
+ }
144
+
145
+ return $term;
146
+ }
147
+
148
+ function process_tag( $t ) {
149
+ $term = array(
150
+ 'term_id' => $this->get_tag( $t, 'wp:term_id' ),
151
+ 'tag_name' => $this->get_tag( $t, 'wp:tag_name' ),
152
+ 'tag_slug' => $this->get_tag( $t, 'wp:tag_slug' ),
153
+ 'tag_description' => $this->get_tag( $t, 'wp:tag_description' ),
154
+ );
155
+
156
+ $term_meta = $this->process_meta( $t, 'wp:termmeta' );
157
+ if ( ! empty( $term_meta ) ) {
158
+ $term['termmeta'] = $term_meta;
159
+ }
160
+
161
+ return $term;
162
+ }
163
+
164
+ function process_term( $t ) {
165
+ $term = array(
166
+ 'term_id' => $this->get_tag( $t, 'wp:term_id' ),
167
+ 'term_taxonomy' => $this->get_tag( $t, 'wp:term_taxonomy' ),
168
+ 'slug' => $this->get_tag( $t, 'wp:term_slug' ),
169
+ 'term_parent' => $this->get_tag( $t, 'wp:term_parent' ),
170
+ 'term_name' => $this->get_tag( $t, 'wp:term_name' ),
171
+ 'term_description' => $this->get_tag( $t, 'wp:term_description' ),
172
+ );
173
+
174
+ $term_meta = $this->process_meta( $t, 'wp:termmeta' );
175
+ if ( ! empty( $term_meta ) ) {
176
+ $term['termmeta'] = $term_meta;
177
+ }
178
+
179
+ return $term;
180
+ }
181
+
182
+ function process_meta( $string, $tag ) {
183
+ $parsed_meta = array();
184
+
185
+ preg_match_all( "|<$tag>(.+?)</$tag>|is", $string, $meta );
186
+
187
+ if ( ! isset( $meta[1] ) ) {
188
+ return $parsed_meta;
189
+ }
190
+
191
+ foreach ( $meta[1] as $m ) {
192
+ $parsed_meta[] = array(
193
+ 'key' => $this->get_tag( $m, 'wp:meta_key' ),
194
+ 'value' => $this->get_tag( $m, 'wp:meta_value' ),
195
+ );
196
+ }
197
+
198
+ return $parsed_meta;
199
+ }
200
+
201
+ function process_author( $a ) {
202
+ return array(
203
+ 'author_id' => $this->get_tag( $a, 'wp:author_id' ),
204
+ 'author_login' => $this->get_tag( $a, 'wp:author_login' ),
205
+ 'author_email' => $this->get_tag( $a, 'wp:author_email' ),
206
+ 'author_display_name' => $this->get_tag( $a, 'wp:author_display_name' ),
207
+ 'author_first_name' => $this->get_tag( $a, 'wp:author_first_name' ),
208
+ 'author_last_name' => $this->get_tag( $a, 'wp:author_last_name' ),
209
+ );
210
+ }
211
+
212
+ function process_post( $post ) {
213
+ $post_id = $this->get_tag( $post, 'wp:post_id' );
214
+ $post_title = $this->get_tag( $post, 'title' );
215
+ $post_date = $this->get_tag( $post, 'wp:post_date' );
216
+ $post_date_gmt = $this->get_tag( $post, 'wp:post_date_gmt' );
217
+ $comment_status = $this->get_tag( $post, 'wp:comment_status' );
218
+ $ping_status = $this->get_tag( $post, 'wp:ping_status' );
219
+ $status = $this->get_tag( $post, 'wp:status' );
220
+ $post_name = $this->get_tag( $post, 'wp:post_name' );
221
+ $post_parent = $this->get_tag( $post, 'wp:post_parent' );
222
+ $menu_order = $this->get_tag( $post, 'wp:menu_order' );
223
+ $post_type = $this->get_tag( $post, 'wp:post_type' );
224
+ $post_password = $this->get_tag( $post, 'wp:post_password' );
225
+ $is_sticky = $this->get_tag( $post, 'wp:is_sticky' );
226
+ $guid = $this->get_tag( $post, 'guid' );
227
+ $post_author = $this->get_tag( $post, 'dc:creator' );
228
+
229
+ $post_excerpt = $this->get_tag( $post, 'excerpt:encoded' );
230
+ $post_excerpt = preg_replace_callback( '|<(/?[A-Z]+)|', array( &$this, '_normalize_tag' ), $post_excerpt );
231
+ $post_excerpt = str_replace( '<br>', '<br />', $post_excerpt );
232
+ $post_excerpt = str_replace( '<hr>', '<hr />', $post_excerpt );
233
+
234
+ $post_content = $this->get_tag( $post, 'content:encoded' );
235
+ $post_content = preg_replace_callback( '|<(/?[A-Z]+)|', array( &$this, '_normalize_tag' ), $post_content );
236
+ $post_content = str_replace( '<br>', '<br />', $post_content );
237
+ $post_content = str_replace( '<hr>', '<hr />', $post_content );
238
+
239
+ $postdata = compact( 'post_id', 'post_author', 'post_date', 'post_date_gmt', 'post_content', 'post_excerpt',
240
+ 'post_title', 'status', 'post_name', 'comment_status', 'ping_status', 'guid', 'post_parent',
241
+ 'menu_order', 'post_type', 'post_password', 'is_sticky'
242
+ );
243
+
244
+ $attachment_url = $this->get_tag( $post, 'wp:attachment_url' );
245
+ if ( $attachment_url )
246
+ $postdata['attachment_url'] = $attachment_url;
247
+
248
+ preg_match_all( '|<category domain="([^"]+?)" nicename="([^"]+?)">(.+?)</category>|is', $post, $terms, PREG_SET_ORDER );
249
+ foreach ( $terms as $t ) {
250
+ $post_terms[] = array(
251
+ 'slug' => $t[2],
252
+ 'domain' => $t[1],
253
+ 'name' => str_replace( array( '<![CDATA[', ']]>' ), '', $t[3] ),
254
+ );
255
+ }
256
+ if ( ! empty( $post_terms ) ) $postdata['terms'] = $post_terms;
257
+
258
+ preg_match_all( '|<wp:comment>(.+?)</wp:comment>|is', $post, $comments );
259
+ $comments = $comments[1];
260
+ if ( $comments ) {
261
+ foreach ( $comments as $comment ) {
262
+ $post_comments[] = array(
263
+ 'comment_id' => $this->get_tag( $comment, 'wp:comment_id' ),
264
+ 'comment_author' => $this->get_tag( $comment, 'wp:comment_author' ),
265
+ 'comment_author_email' => $this->get_tag( $comment, 'wp:comment_author_email' ),
266
+ 'comment_author_IP' => $this->get_tag( $comment, 'wp:comment_author_IP' ),
267
+ 'comment_author_url' => $this->get_tag( $comment, 'wp:comment_author_url' ),
268
+ 'comment_date' => $this->get_tag( $comment, 'wp:comment_date' ),
269
+ 'comment_date_gmt' => $this->get_tag( $comment, 'wp:comment_date_gmt' ),
270
+ 'comment_content' => $this->get_tag( $comment, 'wp:comment_content' ),
271
+ 'comment_approved' => $this->get_tag( $comment, 'wp:comment_approved' ),
272
+ 'comment_type' => $this->get_tag( $comment, 'wp:comment_type' ),
273
+ 'comment_parent' => $this->get_tag( $comment, 'wp:comment_parent' ),
274
+ 'comment_user_id' => $this->get_tag( $comment, 'wp:comment_user_id' ),
275
+ 'commentmeta' => $this->process_meta( $comment, 'wp:commentmeta' ),
276
+ );
277
+ }
278
+ }
279
+ if ( ! empty( $post_comments ) ) {
280
+ $postdata['comments'] = $post_comments;
281
+ }
282
+
283
+ $post_meta = $this->process_meta( $post, 'wp:postmeta' );
284
+ if ( ! empty( $post_meta ) ) {
285
+ $postdata['postmeta'] = $post_meta;
286
+ }
287
+
288
+ return $postdata;
289
+ }
290
+
291
+ public function processImportSettings( $settings ) {
292
+
293
+ $importSettings = [ 'home' => $this->get_tag( $settings, 'home' ) ];
294
+
295
+ preg_match_all( '|<plugins>(.+?)</plugins>|is', $settings, $plugins );
296
+
297
+ $plugins = $plugins[1];
298
+
299
+ if ( $plugins ) {
300
+ foreach ( $plugins as $plugin ) {
301
+ $importSettings['plugins'][] = [
302
+ 'name' => $this->get_tag( $plugin, 'name' ),
303
+ 'file' => $this->get_tag( $plugin, 'file' ),
304
+ 'version' => $this->get_tag( $plugin, 'version' ),
305
+ 'sourceType' => $this->get_tag( $plugin, 'sourceType' )
306
+ ];
307
+ }
308
+ }
309
+
310
+ return $importSettings;
311
+ }
312
+
313
+ function _normalize_tag( $matches ) {
314
+ return '<' . strtolower( $matches[1] );
315
+ }
316
+
317
+ function fopen( $filename, $mode = 'r' ) {
318
+ if ( $this->has_gzip )
319
+ return gzopen( $filename, $mode );
320
+ return fopen( $filename, $mode );
321
+ }
322
+
323
+ function feof( $fp ) {
324
+ if ( $this->has_gzip )
325
+ return gzeof( $fp );
326
+ return feof( $fp );
327
+ }
328
+
329
+ function fgets( $fp, $len = 8192 ) {
330
+ if ( $this->has_gzip )
331
+ return gzgets( $fp, $len );
332
+ return fgets( $fp, $len );
333
+ }
334
+
335
+ function fclose( $fp ) {
336
+ if ( $this->has_gzip )
337
+ return gzclose( $fp );
338
+ return fclose( $fp );
339
+ }
340
+ }
import/parsers/simplexml.php ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php defined( 'ABSPATH' ) or die();
2
+ /**
3
+ * WordPress eXtended RSS file parser implementations
4
+ */
5
+
6
+ /**
7
+ * WXR Parser that makes use of the SimpleXML PHP extension.
8
+ */
9
+ class Brizy_Import_Parsers_Simplexml {
10
+ function parse( $file ) {
11
+ $authors = $posts = $categories = $tags = $terms = $importSettings = array();
12
+
13
+ $internal_errors = libxml_use_internal_errors(true);
14
+
15
+ $dom = new DOMDocument;
16
+ $old_value = null;
17
+ if ( function_exists( 'libxml_disable_entity_loader' ) ) {
18
+ $old_value = libxml_disable_entity_loader( true );
19
+ }
20
+ $success = $dom->loadXML( file_get_contents( $file ) );
21
+ if ( ! is_null( $old_value ) ) {
22
+ libxml_disable_entity_loader( $old_value );
23
+ }
24
+
25
+ if ( ! $success || isset( $dom->doctype ) ) {
26
+ return new WP_Error( 'SimpleXML_parse_error', __( 'There was an error when reading this WXR file', 'brizy' ), libxml_get_errors() );
27
+ }
28
+
29
+ $xml = simplexml_import_dom( $dom );
30
+ unset( $dom );
31
+
32
+ // halt if loading produces an error
33
+ if ( ! $xml )
34
+ return new WP_Error( 'SimpleXML_parse_error', __( 'There was an error when reading this WXR file', 'brizy' ), libxml_get_errors() );
35
+
36
+ $wxr_version = $xml->xpath('/rss/channel/wp:wxr_version');
37
+ if ( ! $wxr_version )
38
+ return new WP_Error( 'WXR_parse_error', __( 'This does not appear to be a WXR file, missing/invalid WXR version number', 'brizy' ) );
39
+
40
+ $wxr_version = (string) trim( $wxr_version[0] );
41
+ // confirm that we are dealing with the correct file format
42
+ if ( ! preg_match( '/^\d+\.\d+$/', $wxr_version ) )
43
+ return new WP_Error( 'WXR_parse_error', __( 'This does not appear to be a WXR file, missing/invalid WXR version number', 'brizy' ) );
44
+
45
+ $base_url = $xml->xpath('/rss/channel/wp:base_site_url');
46
+ $base_url = (string) trim( isset( $base_url[0] ) ? $base_url[0] : '' );
47
+
48
+
49
+ $base_blog_url = $xml->xpath('/rss/channel/wp:base_blog_url');
50
+ if ( $base_blog_url ) {
51
+ $base_blog_url = (string) trim( $base_blog_url[0] );
52
+ } else {
53
+ $base_blog_url = $base_url;
54
+ }
55
+
56
+ $namespaces = $xml->getDocNamespaces();
57
+ if ( ! isset( $namespaces['wp'] ) )
58
+ $namespaces['wp'] = 'http://wordpress.org/export/1.1/';
59
+ if ( ! isset( $namespaces['excerpt'] ) )
60
+ $namespaces['excerpt'] = 'http://wordpress.org/export/1.1/excerpt/';
61
+
62
+ // grab authors
63
+ foreach ( $xml->xpath('/rss/channel/wp:author') as $author_arr ) {
64
+ $a = $author_arr->children( $namespaces['wp'] );
65
+ $login = (string) $a->author_login;
66
+ $authors[$login] = array(
67
+ 'author_id' => (int) $a->author_id,
68
+ 'author_login' => $login,
69
+ 'author_email' => (string) $a->author_email,
70
+ 'author_display_name' => (string) $a->author_display_name,
71
+ 'author_first_name' => (string) $a->author_first_name,
72
+ 'author_last_name' => (string) $a->author_last_name
73
+ );
74
+ }
75
+
76
+ // grab cats, tags and terms
77
+ foreach ( $xml->xpath('/rss/channel/wp:category') as $term_arr ) {
78
+ $t = $term_arr->children( $namespaces['wp'] );
79
+ $category = array(
80
+ 'term_id' => (int) $t->term_id,
81
+ 'category_nicename' => (string) $t->category_nicename,
82
+ 'category_parent' => (string) $t->category_parent,
83
+ 'cat_name' => (string) $t->cat_name,
84
+ 'category_description' => (string) $t->category_description
85
+ );
86
+
87
+ foreach ( $t->termmeta as $meta ) {
88
+ $category['termmeta'][] = array(
89
+ 'key' => (string) $meta->meta_key,
90
+ 'value' => (string) $meta->meta_value
91
+ );
92
+ }
93
+
94
+ $categories[] = $category;
95
+ }
96
+
97
+ foreach ( $xml->xpath('/rss/channel/wp:tag') as $term_arr ) {
98
+ $t = $term_arr->children( $namespaces['wp'] );
99
+ $tag = array(
100
+ 'term_id' => (int) $t->term_id,
101
+ 'tag_slug' => (string) $t->tag_slug,
102
+ 'tag_name' => (string) $t->tag_name,
103
+ 'tag_description' => (string) $t->tag_description
104
+ );
105
+
106
+ foreach ( $t->termmeta as $meta ) {
107
+ $tag['termmeta'][] = array(
108
+ 'key' => (string) $meta->meta_key,
109
+ 'value' => (string) $meta->meta_value
110
+ );
111
+ }
112
+
113
+ $tags[] = $tag;
114
+ }
115
+
116
+ foreach ( $xml->xpath('/rss/channel/wp:term') as $term_arr ) {
117
+ $t = $term_arr->children( $namespaces['wp'] );
118
+ $term = array(
119
+ 'term_id' => (int) $t->term_id,
120
+ 'term_taxonomy' => (string) $t->term_taxonomy,
121
+ 'slug' => (string) $t->term_slug,
122
+ 'term_parent' => (string) $t->term_parent,
123
+ 'term_name' => (string) $t->term_name,
124
+ 'term_description' => (string) $t->term_description
125
+ );
126
+
127
+ foreach ( $t->termmeta as $meta ) {
128
+ $term['termmeta'][] = array(
129
+ 'key' => (string) $meta->meta_key,
130
+ 'value' => (string) $meta->meta_value
131
+ );
132
+ }
133
+
134
+ $terms[] = $term;
135
+ }
136
+
137
+ // grab posts
138
+ foreach ( $xml->channel->item as $item ) {
139
+ $post = array(
140
+ 'post_title' => (string) $item->title,
141
+ 'guid' => (string) $item->guid,
142
+ );
143
+
144
+ $dc = $item->children( 'http://purl.org/dc/elements/1.1/' );
145
+ $post['post_author'] = (string) $dc->creator;
146
+
147
+ $content = $item->children( 'http://purl.org/rss/1.0/modules/content/' );
148
+ $excerpt = $item->children( $namespaces['excerpt'] );
149
+ $post['post_content'] = (string) $content->encoded;
150
+ $post['post_excerpt'] = (string) $excerpt->encoded;
151
+
152
+ $wp = $item->children( $namespaces['wp'] );
153
+ $post['post_id'] = (int) $wp->post_id;
154
+ $post['post_date'] = (string) $wp->post_date;
155
+ $post['post_date_gmt'] = (string) $wp->post_date_gmt;
156
+ $post['comment_status'] = (string) $wp->comment_status;
157
+ $post['ping_status'] = (string) $wp->ping_status;
158
+ $post['post_name'] = (string) $wp->post_name;
159
+ $post['status'] = (string) $wp->status;
160
+ $post['post_parent'] = (int) $wp->post_parent;
161
+ $post['menu_order'] = (int) $wp->menu_order;
162
+ $post['post_type'] = (string) $wp->post_type;
163
+ $post['post_password'] = (string) $wp->post_password;
164
+ $post['is_sticky'] = (int) $wp->is_sticky;
165
+
166
+ if ( isset($wp->attachment_url) )
167
+ $post['attachment_url'] = (string) $wp->attachment_url;
168
+
169
+ foreach ( $item->category as $c ) {
170
+ $att = $c->attributes();
171
+ if ( isset( $att['nicename'] ) )
172
+ $post['terms'][] = array(
173
+ 'name' => (string) $c,
174
+ 'slug' => (string) $att['nicename'],
175
+ 'domain' => (string) $att['domain']
176
+ );
177
+ }
178
+
179
+ foreach ( $wp->postmeta as $meta ) {
180
+ $post['postmeta'][] = array(
181
+ 'key' => (string) $meta->meta_key,
182
+ 'value' => (string) $meta->meta_value
183
+ );
184
+ }
185
+
186
+ foreach ( $wp->comment as $comment ) {
187
+ $meta = array();
188
+ if ( isset( $comment->commentmeta ) ) {
189
+ foreach ( $comment->commentmeta as $m ) {
190
+ $meta[] = array(
191
+ 'key' => (string) $m->meta_key,
192
+ 'value' => (string) $m->meta_value
193
+ );
194
+ }
195
+ }
196
+
197
+ $post['comments'][] = array(
198
+ 'comment_id' => (int) $comment->comment_id,
199
+ 'comment_author' => (string) $comment->comment_author,
200
+ 'comment_author_email' => (string) $comment->comment_author_email,
201
+ 'comment_author_IP' => (string) $comment->comment_author_IP,
202
+ 'comment_author_url' => (string) $comment->comment_author_url,
203
+ 'comment_date' => (string) $comment->comment_date,
204
+ 'comment_date_gmt' => (string) $comment->comment_date_gmt,
205
+ 'comment_content' => (string) $comment->comment_content,
206
+ 'comment_approved' => (string) $comment->comment_approved,
207
+ 'comment_type' => (string) $comment->comment_type,
208
+ 'comment_parent' => (string) $comment->comment_parent,
209
+ 'comment_user_id' => (int) $comment->comment_user_id,
210
+ 'commentmeta' => $meta,
211
+ );
212
+ }
213
+
214
+ $posts[] = $post;
215
+ }
216
+
217
+ if ( isset( $xml->channel->importSettings ) ) {
218
+ $importSettings = (array)$xml->channel->importSettings;
219
+
220
+ if ( ! empty( $importSettings['plugins'] ) ) {
221
+ $importSettings['plugins'] = array_map( function( $plugin ) {
222
+ return (array) $plugin;
223
+ }, $importSettings['plugins'] );
224
+ }
225
+ }
226
+
227
+ return [
228
+ 'authors' => $authors,
229
+ 'posts' => $posts,
230
+ 'categories' => $categories,
231
+ 'tags' => $tags,
232
+ 'terms' => $terms,
233
+ 'base_url' => $base_url,
234
+ 'base_blog_url' => $base_blog_url,
235
+ 'version' => $wxr_version,
236
+ 'importSettings' => $importSettings
237
+ ];
238
+ }
239
+ }
import/parsers/xml.php ADDED
@@ -0,0 +1,229 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php defined( 'ABSPATH' ) or die();
2
+ /**
3
+ * WordPress eXtended RSS file parser implementations
4
+ */
5
+
6
+ /**
7
+ * WXR Parser that makes use of the XML Parser PHP extension.
8
+ */
9
+ class Brizy_Import_Parsers_Xml {
10
+ var $wp_tags = array(
11
+ 'wp:post_id', 'wp:post_date', 'wp:post_date_gmt', 'wp:comment_status', 'wp:ping_status', 'wp:attachment_url',
12
+ 'wp:status', 'wp:post_name', 'wp:post_parent', 'wp:menu_order', 'wp:post_type', 'wp:post_password',
13
+ 'wp:is_sticky', 'wp:term_id', 'wp:category_nicename', 'wp:category_parent', 'wp:cat_name', 'wp:category_description',
14
+ 'wp:tag_slug', 'wp:tag_name', 'wp:tag_description', 'wp:term_taxonomy', 'wp:term_parent',
15
+ 'wp:term_name', 'wp:term_description', 'wp:author_id', 'wp:author_login', 'wp:author_email', 'wp:author_display_name',
16
+ 'wp:author_first_name', 'wp:author_last_name'
17
+ );
18
+ var $wp_sub_tags = array(
19
+ 'wp:comment_id', 'wp:comment_author', 'wp:comment_author_email', 'wp:comment_author_url',
20
+ 'wp:comment_author_IP', 'wp:comment_date', 'wp:comment_date_gmt', 'wp:comment_content',
21
+ 'wp:comment_approved', 'wp:comment_type', 'wp:comment_parent', 'wp:comment_user_id'
22
+ );
23
+
24
+ function parse( $file ) {
25
+ $this->wxr_version = false;
26
+ $this->in_post = false;
27
+ $this->cdata = false;
28
+ $this->data = false;
29
+ $this->sub_data = false;
30
+ $this->in_tag = false;
31
+ $this->in_sub_tag = false;
32
+ $this->inImportSettings = false;
33
+ $this->inPlugins = false;
34
+
35
+ $this->authors = [];
36
+ $this->posts = [];
37
+ $this->term = [];
38
+ $this->category = [];
39
+ $this->tag = [];
40
+ $this->importSettings = [];
41
+
42
+ $xml = xml_parser_create( 'UTF-8' );
43
+ xml_parser_set_option( $xml, XML_OPTION_SKIP_WHITE, 1 );
44
+ xml_parser_set_option( $xml, XML_OPTION_CASE_FOLDING, 0 );
45
+ xml_set_object( $xml, $this );
46
+ xml_set_character_data_handler( $xml, 'cdata' );
47
+ xml_set_element_handler( $xml, 'tag_open', 'tag_close' );
48
+
49
+ if ( ! xml_parse( $xml, file_get_contents( $file ), true ) ) {
50
+ $current_line = xml_get_current_line_number( $xml );
51
+ $current_column = xml_get_current_column_number( $xml );
52
+ $error_code = xml_get_error_code( $xml );
53
+ $error_string = xml_error_string( $error_code );
54
+
55
+ return new WP_Error(
56
+ 'XML_parse_error',
57
+ sprintf(
58
+ 'There was an error when reading this WXR file. Line %d, column %d, error: %s',
59
+ $current_line,
60
+ $current_column,
61
+ $error_string
62
+ )
63
+ );
64
+ }
65
+
66
+ xml_parser_free( $xml );
67
+
68
+ if ( ! preg_match( '/^\d+\.\d+$/', $this->wxr_version ) ) {
69
+ return new WP_Error( 'WXR_parse_error', __( 'This does not appear to be a WXR file, missing/invalid WXR version number', 'brizy' ) );
70
+ }
71
+
72
+ return [
73
+ 'authors' => $this->authors,
74
+ 'posts' => $this->posts,
75
+ 'categories' => $this->category,
76
+ 'tags' => $this->tag,
77
+ 'terms' => $this->term,
78
+ 'base_url' => $this->base_url,
79
+ 'base_blog_url' => $this->base_blog_url,
80
+ 'version' => $this->wxr_version,
81
+ 'importSettings' => $this->importSettings,
82
+ ];
83
+ }
84
+
85
+ function tag_open( $parse, $tag, $attr ) {
86
+ if ( in_array( $tag, $this->wp_tags ) ) {
87
+ $this->in_tag = substr( $tag, 3 );
88
+ return;
89
+ }
90
+
91
+ if ( in_array( $tag, $this->wp_sub_tags ) ) {
92
+ $this->in_sub_tag = substr( $tag, 3 );
93
+ return;
94
+ }
95
+
96
+ switch ( $tag ) {
97
+ case 'category':
98
+ if ( isset($attr['domain'], $attr['nicename']) ) {
99
+ $this->sub_data['domain'] = $attr['domain'];
100
+ $this->sub_data['slug'] = $attr['nicename'];
101
+ }
102
+ break;
103
+ case 'item': $this->in_post = true;
104
+ case 'title': if ( $this->in_post ) $this->in_tag = 'post_title'; break;
105
+ case 'guid': $this->in_tag = 'guid'; break;
106
+ case 'dc:creator': $this->in_tag = 'post_author'; break;
107
+ case 'content:encoded': $this->in_tag = 'post_content'; break;
108
+ case 'excerpt:encoded': $this->in_tag = 'post_excerpt'; break;
109
+
110
+ case 'wp:term_slug': $this->in_tag = 'slug'; break;
111
+ case 'wp:meta_key': $this->in_sub_tag = 'key'; break;
112
+ case 'wp:meta_value': $this->in_sub_tag = 'value'; break;
113
+
114
+ case 'importSettings':
115
+ $this->inImportSettings = true;
116
+ break;
117
+ case 'plugins':
118
+ $this->inPlugins = true;
119
+ break;
120
+ default:
121
+ if ( $this->inImportSettings ) {
122
+ $this->in_tag = $tag;
123
+ }
124
+
125
+ break;
126
+
127
+ }
128
+ }
129
+
130
+ function cdata( $parser, $cdata ) {
131
+ if ( ! trim( $cdata ) )
132
+ return;
133
+
134
+ if ( false !== $this->in_tag || false !== $this->in_sub_tag ) {
135
+ $this->cdata .= $cdata;
136
+ } else {
137
+ $this->cdata .= trim( $cdata );
138
+ }
139
+ }
140
+
141
+ function tag_close( $parser, $tag ) {
142
+ switch ( $tag ) {
143
+ case 'wp:comment':
144
+ unset( $this->sub_data['key'], $this->sub_data['value'] ); // remove meta sub_data
145
+ if ( ! empty( $this->sub_data ) )
146
+ $this->data['comments'][] = $this->sub_data;
147
+ $this->sub_data = false;
148
+ break;
149
+ case 'wp:commentmeta':
150
+ $this->sub_data['commentmeta'][] = array(
151
+ 'key' => $this->sub_data['key'],
152
+ 'value' => $this->sub_data['value']
153
+ );
154
+ break;
155
+ case 'category':
156
+ if ( ! empty( $this->sub_data ) ) {
157
+ $this->sub_data['name'] = $this->cdata;
158
+ $this->data['terms'][] = $this->sub_data;
159
+ }
160
+ $this->sub_data = false;
161
+ break;
162
+ case 'wp:postmeta':
163
+ if ( ! empty( $this->sub_data ) )
164
+ $this->data['postmeta'][] = $this->sub_data;
165
+ $this->sub_data = false;
166
+ break;
167
+ case 'item':
168
+ $this->posts[] = $this->data;
169
+ $this->data = false;
170
+ break;
171
+ case 'wp:category':
172
+ case 'wp:tag':
173
+ case 'wp:term':
174
+ $n = substr( $tag, 3 );
175
+ array_push( $this->$n, $this->data );
176
+ $this->data = false;
177
+ break;
178
+ case 'wp:termmeta':
179
+ if ( ! empty( $this->sub_data ) ) {
180
+ $this->data['termmeta'][] = $this->sub_data;
181
+ }
182
+ $this->sub_data = false;
183
+ break;
184
+ case 'wp:author':
185
+ if ( ! empty($this->data['author_login']) )
186
+ $this->authors[$this->data['author_login']] = $this->data;
187
+ $this->data = false;
188
+ break;
189
+ case 'wp:base_site_url':
190
+ $this->base_url = $this->cdata;
191
+ if ( ! isset( $this->base_blog_url ) ) {
192
+ $this->base_blog_url = $this->cdata;
193
+ }
194
+ break;
195
+ case 'wp:base_blog_url':
196
+ $this->base_blog_url = $this->cdata;
197
+ break;
198
+ case 'wp:wxr_version':
199
+ $this->wxr_version = $this->cdata;
200
+ break;
201
+ case 'importSettings':
202
+ $this->importSettings = $this->data;
203
+ $this->data = false;
204
+ $this-> inImportSettings = false;
205
+ break;
206
+ case 'plugins':
207
+ $this->data['plugins'][] = $this->sub_data;
208
+ $this->sub_data = false;
209
+ $this->inPlugins = false;
210
+ break;
211
+ default:
212
+
213
+ $value = ! empty( $this->cdata ) ? $this->cdata : '';
214
+
215
+ if ( $this->inPlugins ) {
216
+ $this->sub_data[$this->in_tag] = $value;
217
+ $this->in_tag = false;
218
+ }else if ( $this->in_sub_tag ) {
219
+ $this->sub_data[$this->in_sub_tag] = $value;
220
+ $this->in_sub_tag = false;
221
+ } else if ( $this->in_tag ) {
222
+ $this->data[$this->in_tag] = $value;
223
+ $this->in_tag = false;
224
+ }
225
+ }
226
+
227
+ $this->cdata = false;
228
+ }
229
+ }
import/plugins.php ADDED
@@ -0,0 +1,191 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Brizy_Import_Plugins {
4
+ private $plugins;
5
+ private $skin;
6
+
7
+ /**
8
+ * $plugins = [
9
+ * [
10
+ * 'name' => 'Plugin Name',
11
+ * 'file' => 'folder/plugin-name',
12
+ * 'version' => '2.2.10',
13
+ * 'sourceType' => 'repo'
14
+ * ]
15
+ * ...
16
+ * ];
17
+ *
18
+ * @param $plugins
19
+ */
20
+ public function __construct( $plugins ) {
21
+
22
+ if ( ! function_exists( 'is_plugin_active' ) ) {
23
+ require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
24
+ }
25
+
26
+ if ( ! function_exists( 'request_filesystem_credentials' ) ) {
27
+ require_once ABSPATH . '/wp-admin/includes/file.php';
28
+ }
29
+
30
+ $this->plugins = array_map( function( $plugin ) {
31
+ $parts = explode( '/', $plugin['file'] );
32
+ $plugin['slug'] = $parts[0];
33
+ return $plugin;
34
+ }, $plugins );
35
+
36
+ $this->skin = new Brizy_Import_UpgraderSkin();
37
+ }
38
+
39
+ /**
40
+ * @throws Exception
41
+ */
42
+ public function install() {
43
+
44
+ if ( ! class_exists( 'Plugin_Upgrader', false ) ) {
45
+ require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
46
+ }
47
+
48
+ wp_cache_flush();
49
+
50
+ foreach ( $this->plugins as $plugin ) {
51
+
52
+ $file = $plugin['file'];
53
+
54
+ if ( is_plugin_active( $file ) ) {
55
+ $this->upgrade( $plugin );
56
+ } elseif( array_key_exists( $file, get_plugins() ) ) {
57
+ $this->upgrade( $plugin );
58
+ $this->activate( $file );
59
+ } else {
60
+ $upgrader = new Plugin_Upgrader( $this->skin );
61
+ $result = $upgrader->install( $this->getDownloadUrl( $plugin ) );
62
+
63
+ if ( is_wp_error( $result ) ) {
64
+ throw new Exception( $result->get_error_message() );
65
+ }
66
+
67
+ $this->activate( $file );
68
+ }
69
+ }
70
+ }
71
+
72
+ /**
73
+ * @throws Exception
74
+ */
75
+ private function upgrade( $plugin ) {
76
+
77
+ $file = $plugin['file'];
78
+ $pluginData = get_plugins()[ $file ];
79
+
80
+ if ( version_compare( $plugin['version'], $pluginData['Version'], '>' ) ) {
81
+ $to_inject = [
82
+ $file => array_merge( $this->getPluginField( $plugin['slug'] ), [ 'source' => $this->getDownloadUrl( $plugin ) ] )
83
+ ];
84
+
85
+ $this->injectUpdateInfo( $to_inject );
86
+
87
+ $upgrader = new Plugin_Upgrader( $this->skin );
88
+ $result = $upgrader->upgrade( $file );
89
+
90
+ if ( is_wp_error( $result ) ) {
91
+ throw new Exception( $result->get_error_message() );
92
+ }
93
+ }
94
+ }
95
+
96
+ /**
97
+ * @throws Exception
98
+ */
99
+ private function activate( $file ) {
100
+
101
+ $activate = activate_plugin( $file, '', false, true );
102
+
103
+ if ( is_wp_error( $activate ) ) {
104
+ throw new Exception( $activate->get_error_message() );
105
+ }
106
+ }
107
+
108
+ /**
109
+ * Try to grab information from WordPress API.
110
+ *
111
+ * @param string $slug Plugin slug.
112
+ * @param string $field field name.
113
+ *
114
+ * @return mixed value of $field from the response object, DomainException on failure.
115
+ * @throws Exception
116
+ */
117
+ private function getPluginField( $slug, $field = '' ) {
118
+
119
+ static $apis = [];
120
+
121
+ if ( ! isset( $apis[ $slug ] ) ) {
122
+
123
+ if ( ! function_exists( 'plugins_api' ) ) {
124
+ require_once ABSPATH . 'wp-admin/includes/plugin-install.php';
125
+ }
126
+
127
+ $api = plugins_api( 'plugin_information', [ 'slug' => $slug, 'fields' => [ 'sections' => false ] ] );
128
+
129
+ if ( is_wp_error( $api ) ) {
130
+ throw new Exception( $api->get_error_message() );
131
+ } else {
132
+ $apis[ $slug ] = $api;
133
+ }
134
+ }
135
+
136
+ return $field ? $apis[ $slug ]->{$field} : $apis[ $slug ];
137
+ }
138
+
139
+ /**
140
+ * Inject information into the 'update_plugins' site transient as WP checks that before running an update.
141
+ *
142
+ * @param array $plugins The plugin information for the plugins which are to be updated.
143
+ */
144
+ private function injectUpdateInfo( $plugins ) {
145
+ $repo_updates = get_site_transient( 'update_plugins' );
146
+
147
+ if ( ! is_object( $repo_updates ) ) {
148
+ $repo_updates = new stdClass;
149
+ }
150
+
151
+ foreach ( $plugins as $file => $plugin ) {
152
+
153
+ if ( empty( $repo_updates->response[ $file ] ) ) {
154
+ $repo_updates->response[ $file ] = new stdClass;
155
+ }
156
+
157
+ // We only really need to set package, but let's do all we can in case WP changes something.
158
+ $repo_updates->response[ $file ]->slug = $plugin['slug'];
159
+ $repo_updates->response[ $file ]->plugin = $file;
160
+ $repo_updates->response[ $file ]->new_version = $plugin['version'];
161
+ $repo_updates->response[ $file ]->package = $plugin['source'];
162
+
163
+ if ( empty( $repo_updates->response[ $file ]->url ) && ! empty( $plugin['external_url'] ) ) {
164
+ $repo_updates->response[ $file ]->url = $plugin['external_url'];
165
+ }
166
+ }
167
+
168
+ set_site_transient( 'update_plugins', $repo_updates );
169
+ }
170
+
171
+ /**
172
+ * Retrieve the download URL for a package.
173
+ *
174
+ * @param array $plugin Plugin data.
175
+ *
176
+ * @return string Plugin download URL or path to local file or empty string if undetermined.
177
+ * @throws Exception
178
+ */
179
+ private function getDownloadUrl( $plugin ) {
180
+ $dl_source = '';
181
+
182
+ switch ( $plugin['sourceType'] ) {
183
+ case 'repo':
184
+ return $this->getPluginField( $plugin['slug'], 'download_link' );
185
+ case 'external':
186
+ return $plugin['source'];
187
+ }
188
+
189
+ return $dl_source;
190
+ }
191
+ }
import/provider.php ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php defined( 'ABSPATH' ) or die();
2
+
3
+ class Brizy_Import_Provider {
4
+
5
+ private $mainSite;
6
+
7
+ public function __construct() {
8
+ $this->mainSite = 'https://websitebuilder-demo.net/wp-json/demos/v1/';
9
+ }
10
+
11
+ /**
12
+ * @throws Exception
13
+ * @return array
14
+ */
15
+ public function getAllDemos() {
16
+ $request = wp_remote_get( $this->mainSite . 'demos', [
17
+ 'headers' => [
18
+ 'content-type' => 'application/json'
19
+ ],
20
+ ] );
21
+
22
+ if ( is_wp_error( $request ) ) {
23
+ throw new Exception( $request->get_error_message() );
24
+ }
25
+
26
+ if ( 200 !== wp_remote_retrieve_response_code( $request ) ) {
27
+ throw new Exception( ( empty( $request['response']['message'] ) ? 'Invalid response code returned by server demo provider' : $request['response']['message'] ) );
28
+ }
29
+
30
+ $demos = json_decode( wp_remote_retrieve_body( $request ), true );
31
+
32
+ if ( json_last_error() ) {
33
+ throw new Exception( 'Json Decode Error: ' . json_last_error() );
34
+ }
35
+
36
+ if ( empty( $demos ) ) {
37
+ throw new Exception( 'No templates found' );
38
+ }
39
+
40
+ return $demos;
41
+ }
42
+
43
+ public function getExportUrl( $demo, $key ) {
44
+ return add_query_arg( [ 'id' => $demo, 'key' => $key ], $this->mainSite . 'export' );
45
+ }
46
+ }
import/remap.php ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php defined( 'ABSPATH' ) or die();
2
+
3
+ class Brizy_Import_Remap {
4
+
5
+ private $importer;
6
+ private $args;
7
+
8
+ public function __construct( Brizy_Import_Importer $importer, array $args ) {
9
+ $this->importer = $importer;
10
+ $this->args = $args;
11
+ }
12
+
13
+ public function remapping() {
14
+ $this->setHome();
15
+ }
16
+
17
+ private function setHome() {
18
+ if ( empty( $this->args['importSettings']['home'] ) ) {
19
+ return;
20
+ }
21
+
22
+ $homeId = $this->args['importSettings']['home'];
23
+
24
+ if ( empty( $this->importer->processed_posts[ $homeId ] ) ) {
25
+ return;
26
+ }
27
+
28
+ update_option( 'show_on_front', 'page' );
29
+
30
+ update_option( 'page_on_front', $this->importer->processed_posts[ $homeId ] );
31
+ }
32
+ }
import/upgrader-skin.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php defined( 'ABSPATH' ) or die();
2
+
3
+ if ( ! class_exists( 'WP_Upgrader_Skin' ) ) {
4
+ require ABSPATH . 'wp-admin/includes/class-wp-upgrader-skin.php';
5
+ }
6
+
7
+ class Brizy_Import_UpgraderSkin extends WP_Upgrader_Skin {
8
+
9
+ public function header()
10
+ {
11
+ // just keep it quiet
12
+ }
13
+
14
+ public function footer()
15
+ {
16
+ // just keep it quiet
17
+ }
18
+
19
+ public function feedback( $string, ...$args )
20
+ {
21
+ // just keep it quiet
22
+ }
23
+ }
import/views/starter-templates.html.twig ADDED
@@ -0,0 +1,167 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="wrap brz-wrap-demodata">
2
+ <div class="wp-filter" style="padding-left: 20px;">
3
+ <div class="filter-count">
4
+ <span class="count theme-count">{{ count }}</span>
5
+ </div>
6
+ <ul class="filter-links">
7
+ <li><a href="#" data-sort="" class="current js-filter-link">{{ l10n.all }}</a></li>
8
+ <li><a href="#" data-sort="free" class="js-filter-link">{{ l10n.free }}</a></li>
9
+ <li><a href="#" data-sort="pro" class="js-filter-link">{{ l10n.pro }}</a></li>
10
+ <li>
11
+ <div class="brz-demo-filter-terms">
12
+ <select class="select2">
13
+ <option value="">{{ l10n.allCategories }}</option>
14
+ {% for term in terms %}
15
+ <option value="{{ term.id }}">{{ term.name }}</option>
16
+ {% endfor %}
17
+ </select>
18
+ </div>
19
+ </li>
20
+ </ul>
21
+ <form class="search-form">
22
+ <label class="screen-reader-text" for="wp-filter-search-input">{{ l10n.search }}</label>
23
+ <input placeholder="{{ l10n.search }}..." type="search" aria-describedby="live-search-desc" id="wp-filter-search-input" class="wp-filter-search js-demo-input-search">
24
+ </form>
25
+ </div>
26
+ <div class="theme-browser content-filterable rendered">
27
+ <div class="themes wp-clearfix">
28
+ {% for demo in demos %}
29
+ <div class="theme {{ demo.pro ? 'brz-demo-is-pro' : 'brz-demo-is-free' }}" data-terms="{{ demo.terms|join(',') }}" data-keywords="{{ demo.keywords }}" data-name="{{ demo.name }}" data-preview-link="{{ demo.url }}">
30
+ <div class="theme-screenshot" style="height: 400px">
31
+ <img src="{{ demo.photo }}" loading=lazy>
32
+ </div>
33
+ <span class="brz-demo-badge">
34
+ {{ demo.pro ? l10n.pro : l10n.free }}
35
+ </span>
36
+ <span class="more-details">{{ l10n.livePreview }}</span>
37
+ <div class="theme-id-container">
38
+ <h3 class="theme-name">{{ demo.name }}</h3>
39
+ <div class="theme-actions">
40
+ {% set cannot = demo.pro and not isPro %}
41
+ <a class="button load-customize{{ cannot ? ' brz-demo-item-gopro' : '' }}" href="{{ cannot ? goProUrl : '#' }}" target="_blank" data-demo-id="{{ demo.id }}">
42
+ {{ cannot ? l10n.goPro : l10n.install }}
43
+ </a>
44
+ </div>
45
+ </div>
46
+ </div>
47
+ {% endfor %}
48
+ </div>
49
+ </div>
50
+
51
+ <div class="brz-demo-modal">
52
+ <div class="brz-demo-modal-content"></div>
53
+ </div>
54
+
55
+ <script id="brz-demo-modal-content-error" type="text/template">
56
+ <div class="brz-demo-modal-content-response">
57
+ <svg width="60px" height="60px" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
58
+ <g id="WP-Starter-Templates" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
59
+ <g id="Error" transform="translate(-904.000000, -315.000000)" stroke="#DB352D" stroke-width="2">
60
+ <g id="Group" transform="translate(786.000000, 316.000000)">
61
+ <g id="c-warning" transform="translate(119.000000, 0.000000)">
62
+ <circle id="Oval" cx="29" cy="29" r="29"></circle>
63
+ <line x1="29" y1="11" x2="29" y2="36" id="Path"></line>
64
+ <circle id="Oval" cx="29" cy="44" r="1"></circle>
65
+ </g>
66
+ </g>
67
+ </g>
68
+ </g>
69
+ </svg>
70
+ <h3 class="brz-demo-modal-content-h3">{{ l10n.t1 }}</h3>
71
+ <p class="brz-demo-modal-content-p">{{ l10n.t2 }}</p>
72
+ <button class="button button-primary js-demo-data-close-modal brz-demo-modal-content-button">{{ l10n.t3 }}</button>
73
+ </div>
74
+ </script>
75
+
76
+ <script id="brz-demo-modal-content-success" type="text/template">
77
+ <div class="brz-demo-modal-content-response">
78
+ <svg width="58px" height="56px" viewBox="0 0 58 56" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
79
+ <g id="WP-Starter-Templates" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
80
+ <g id="Success" transform="translate(-905.000000, -317.000000)" stroke="#3CAA1A" stroke-width="2">
81
+ <g id="Group" transform="translate(786.000000, 318.000000)">
82
+ <g id="n-check" transform="translate(120.000000, 0.000000)">
83
+ <path d="M50,18 C51.3,21.1 52,24.5 52,28 C52,42.4 40.4,54 26,54 C11.6,54 0,42.4 0,28 C0,13.6 11.6,2 26,2 C31.1,2 35.9,3.5 39.9,6" id="Path"></path>
84
+ <polyline id="Path" points="16 20 26 30 56 0"></polyline>
85
+ </g>
86
+ </g>
87
+ </g>
88
+ </g>
89
+ </svg>
90
+ <h3 class="brz-demo-modal-content-h3">{{ l10n.t4 }}</h3>
91
+ <p class="brz-demo-modal-content-p">{{ l10n.t5 }}</p>
92
+ <button class="button button-primary js-demo-data-close-modal brz-demo-modal-content-button">{{ l10n.t6 }}</button>
93
+ </div>
94
+ </script>
95
+
96
+ <script id="brz-demo-modal-content-installing" type="text/template">
97
+ <div class="brz-demo-modal-content-response">
98
+ <svg width="62px" height="60px" viewBox="0 0 62 60" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
99
+ <g id="WP-Starter-Templates" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
100
+ <g id="Installing" transform="translate(-902.000000, -320.000000)" stroke="#206FB0" stroke-width="2">
101
+ <g id="Group" transform="translate(786.000000, 321.000000)">
102
+ <g id="cloud-data-download" transform="translate(117.000000, 0.000000)">
103
+ <polyline id="Path" points="41.0000518 46.9989411 30.0000518 57.9989411 19.0000518 46.9989411"></polyline>
104
+ <line x1="30.0000518" y1="24.9989411" x2="30.0000518" y2="57.9989411" id="Path"></line>
105
+ <path d="M38.0000518,39.9989411 L50.0000518,39.9989411 C55.688949,39.458409 60.0261741,34.6677186 60.0003153,28.9532586 C59.9742244,23.2387987 55.5936278,18.4877348 49.9000518,17.9989411 C48.9564307,8.51539049 41.444875,1.01918085 31.9594144,0.0949564839 C22.4739538,-0.829267882 13.6566207,5.07592182 10.9000518,14.1989411 C4.60861295,15.1960874 -0.0178494505,20.6289974 3.55271368e-15,26.9989411 C0.0131558114,33.7925848 5.22915965,39.4432557 12.0000518,39.9989411 L22.0000518,39.9989411" id="Path"></path>
106
+ </g>
107
+ </g>
108
+ </g>
109
+ </g>
110
+ </svg>
111
+ <h3 class="brz-demo-modal-content-h3">{{ l10n.t7 }}</h3>
112
+ <p class="brz-demo-modal-content-p">{{ l10n.t8 }}</p>
113
+ <span class="spinner"></span>
114
+ </div>
115
+ </script>
116
+
117
+ <script id="brz-demo-modal-content-install" type="text/template">
118
+ <div class="brz-demo-modal-content-install-container">
119
+ <div>
120
+ <svg width="56px" height="56px" viewBox="0 0 56 56" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
121
+ <g id="WP-Starter-Templates" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
122
+ <g id="Keep/Delete" transform="translate(-733.000000, -306.000000)" stroke="#2270B1" stroke-width="2">
123
+ <g id="Group-3" transform="translate(657.000000, 307.000000)">
124
+ <g id="Group-2" transform="translate(77.000000, 0.000000)">
125
+ <polyline id="Path" points="35 6 35 18 7 18 7 6"></polyline>
126
+ <line x1="27" y1="6" x2="27" y2="12" id="Path"></line>
127
+ <polyline id="Path" points="7 48 7 33 44 33 44 48"></polyline>
128
+ <path d="M49,54 L5,54 C2.23857625,54 0,51.7614237 0,49 L0,5 C0,2.23857625 2.23857625,0 5,0 L40,0 L54,14 L54,49 C54,51.7614237 51.7614237,54 49,54 Z" id="Path"></path>
129
+ </g>
130
+ </g>
131
+ </g>
132
+ </g>
133
+ </svg>
134
+ <h3 class="brz-demo-modal-content-h3">{{ l10n.t9 }}</h3>
135
+ <p class="brz-demo-modal-content-p">{{ l10n.t10 }}</p>
136
+ <button class="button button-primary js-demo-install brz-demo-modal-content-button" data-rm-content="0">
137
+ {{ l10n.t11 }}
138
+ </button>
139
+ </div>
140
+ <div>
141
+ <svg width="58px" height="60px" viewBox="0 0 58 60" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
142
+ <g id="WP-Starter-Templates" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
143
+ <g id="Keep/Delete" transform="translate(-1078.000000, -306.000000)" stroke="#2270B1" stroke-width="2">
144
+ <g id="Group-4" transform="translate(995.000000, 307.000000)">
145
+ <g id="Group" transform="translate(84.000000, 0.000000)">
146
+ <path d="M50,16 L50,53 C50,55.7614237 47.7614237,58 45,58 L11,58 C8.23857625,58 6,55.7614237 6,53 L6,16" id="Path"></path>
147
+ <line x1="28" y1="24" x2="28" y2="46" id="Path"></line>
148
+ <line x1="18" y1="24" x2="18" y2="46" id="Path"></line>
149
+ <line x1="38" y1="24" x2="38" y2="46" id="Path"></line>
150
+ <polyline id="Path" points="18 10 18 0 38 0 38 10"></polyline>
151
+ <line x1="56" y1="10" x2="0" y2="10" id="Path"></line>
152
+ </g>
153
+ </g>
154
+ </g>
155
+ </g>
156
+ </svg>
157
+ <h3 class="brz-demo-modal-content-h3">{{ l10n.t12 }}</h3>
158
+ <p class="brz-demo-modal-content-p">{{ l10n.t13 }}</p>
159
+ <button class="button button-primary js-demo-install brz-demo-modal-content-button" data-rm-content="1">{{ l10n.t11 }}</button>
160
+ <p class="brz-demo-modal-content-install-notice">({{ l10n.t14 }})</p>
161
+ </div>
162
+ </div>
163
+ </script>
164
+
165
+ </div>
166
+
167
+
import/wp-cli.php ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php defined( 'ABSPATH' ) or die();
2
+
3
+ class Brizy_Import_WpCli extends WP_CLI_Command {
4
+ /**
5
+ * Import a Demo
6
+ *
7
+ * ## OPTIONS
8
+ *
9
+ * <id>
10
+ * : The id of the demo to import.
11
+ *
12
+ * ## EXAMPLES
13
+ *
14
+ * 1. wp brizy demo import 33
15
+ * - This will import the whole demo with the id 33.
16
+ *
17
+ * @param array $args
18
+ * @param array $assoc_args
19
+ *
20
+ * @throws \WP_CLI\ExitException
21
+ */
22
+ public function import( array $args, array $assoc_args ) {
23
+
24
+ if ( empty( $args[0] ) ) {
25
+ WP_CLI::error( 'Please specify the id off the demo to import' );
26
+ }
27
+
28
+ WP_CLI::log( 'Demo import started...' );
29
+
30
+ $import = new Brizy_Import_Import( $args[0] );
31
+
32
+ try {
33
+ $import->import();
34
+ WP_CLI::success( 'Demo imported successfully' );
35
+ } catch ( Exception $e ) {
36
+ WP_CLI::error( $e->getMessage() );
37
+ }
38
+ }
39
+ }
languages/brizy.pot CHANGED
@@ -2,14 +2,13 @@
2
  # This file is distributed under the GPLv3.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Brizy 2.3.31\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/brizy\n"
7
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2022-03-04T07:17:54+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.6.0\n"
15
  "X-Domain: brizy\n"
@@ -120,13 +119,13 @@ msgid "Leads details"
120
  msgstr ""
121
 
122
  #: admin/form-entries.php:62
123
- #: public/editor-build/220-wp/texts.php:220
124
  msgid "Date"
125
  msgstr ""
126
 
127
  #: admin/form-entries.php:121
128
- #: admin/form-entries.php:329
129
- #: admin/form-entries.php:341
130
  msgid "Leads"
131
  msgstr ""
132
 
@@ -142,62 +141,62 @@ msgstr ""
142
  msgid "Export to .csv"
143
  msgstr ""
144
 
145
- #: admin/form-entries.php:320
146
  msgctxt "post type general name"
147
  msgid "Leads"
148
  msgstr ""
149
 
150
- #: admin/form-entries.php:321
151
  msgctxt "post type singular name"
152
  msgid "Lead"
153
  msgstr ""
154
 
155
- #: admin/form-entries.php:322
156
  msgctxt "admin menu"
157
  msgid "Leads"
158
  msgstr ""
159
 
160
- #: admin/form-entries.php:323
161
  msgctxt "add new on admin bar"
162
  msgid "Lead"
163
  msgstr ""
164
 
165
- #: admin/form-entries.php:324
166
  #: admin/popups/main.php:115
167
- #: admin/templates.php:245
168
- #: public/editor-build/220-wp/texts.php:47
169
  msgid "Add New"
170
  msgstr ""
171
 
172
- #: admin/form-entries.php:325
173
  msgid "Add New Lead"
174
  msgstr ""
175
 
176
- #: admin/form-entries.php:326
177
  msgid "New Lead"
178
  msgstr ""
179
 
180
- #: admin/form-entries.php:327
181
  msgid "Edit Lead"
182
  msgstr ""
183
 
184
- #: admin/form-entries.php:328
185
  msgid "View Lead"
186
  msgstr ""
187
 
188
- #: admin/form-entries.php:330
189
  msgid "Search Leads"
190
  msgstr ""
191
 
192
- #: admin/form-entries.php:331
193
  msgid "Parent Leads:"
194
  msgstr ""
195
 
196
- #: admin/form-entries.php:332
197
  msgid "No Leads found."
198
  msgstr ""
199
 
200
- #: admin/form-entries.php:333
201
  msgid "No Leads found in Trash."
202
  msgstr ""
203
 
@@ -208,7 +207,7 @@ msgstr ""
208
  #: admin/main.php:248
209
  #: admin/settings.php:107
210
  #: admin/settings.php:108
211
- #: public/editor-build/220-wp/texts.php:689
212
  msgid "Settings"
213
  msgstr ""
214
 
@@ -238,7 +237,7 @@ msgid "Importing Brizy post &#8220;%s&#8221; will be skipped due to incompatible
238
  msgstr ""
239
 
240
  #: admin/membership/membership.php:64
241
- #: editor/post.php:586
242
  msgid "Default"
243
  msgstr ""
244
 
@@ -302,7 +301,7 @@ msgstr ""
302
 
303
  #: admin/popups/main.php:120
304
  #: admin/popups/main.php:134
305
- #: public/editor-build/220-wp/texts.php:563
306
  msgid "Popups"
307
  msgstr ""
308
 
@@ -396,7 +395,7 @@ msgid "View Story"
396
  msgstr ""
397
 
398
  #: admin/stories/main.php:48
399
- #: public/editor-build/220-wp/texts.php:751
400
  msgid "Stories"
401
  msgstr ""
402
 
@@ -417,102 +416,102 @@ msgid "No Stories found in Trash."
417
  msgstr ""
418
 
419
  #: admin/stories/main.php:60
420
- #: public/editor-build/220-wp/texts.php:902
421
  msgid "stories"
422
  msgstr ""
423
 
424
- #: admin/templates.php:125
425
  msgid "Single"
426
  msgstr ""
427
 
428
- #: admin/templates.php:126
429
- #: public/editor-build/220-wp/texts.php:76
430
  msgid "Archive"
431
  msgstr ""
432
 
433
- #: admin/templates.php:131
434
- #: public/editor-build/220-wp/texts.php:585
435
  msgid "Product"
436
  msgstr ""
437
 
438
- #: admin/templates.php:132
439
  msgid "Product Archive"
440
  msgstr ""
441
 
442
- #: admin/templates.php:241
443
  msgctxt "post type general name"
444
  msgid "Templates"
445
  msgstr ""
446
 
447
- #: admin/templates.php:242
448
  msgctxt "post type singular name"
449
  msgid "Template"
450
  msgstr ""
451
 
452
- #: admin/templates.php:243
453
  msgctxt "admin menu"
454
  msgid "Templates"
455
  msgstr ""
456
 
457
- #: admin/templates.php:244
458
  msgctxt "add new on admin bar"
459
  msgid "Template"
460
  msgstr ""
461
 
462
- #: admin/templates.php:246
463
  msgid "Add New Template"
464
  msgstr ""
465
 
466
- #: admin/templates.php:247
467
  msgid "New Template"
468
  msgstr ""
469
 
470
- #: admin/templates.php:248
471
  msgid "Edit Template"
472
  msgstr ""
473
 
474
- #: admin/templates.php:249
475
  msgid "View Template"
476
  msgstr ""
477
 
478
- #: admin/templates.php:250
479
  msgid "Templates"
480
  msgstr ""
481
 
482
- #: admin/templates.php:251
483
  msgid "Search Templates"
484
  msgstr ""
485
 
486
- #: admin/templates.php:252
487
  msgid "Parent Templates:"
488
  msgstr ""
489
 
490
- #: admin/templates.php:253
491
  msgid "No Templates found."
492
  msgstr ""
493
 
494
- #: admin/templates.php:254
495
  msgid "No Templates found in Trash."
496
  msgstr ""
497
 
498
- #: admin/templates.php:263
499
  msgid "templates"
500
  msgstr ""
501
 
502
- #: admin/templates.php:292
503
  msgid "Display Conditions"
504
  msgstr ""
505
 
506
- #: admin/templates.php:344
507
  msgid "Unable to show the rule box."
508
  msgstr ""
509
 
510
- #: admin/templates.php:899
511
  msgid "Unable to get the rule validator for this post type."
512
  msgstr ""
513
 
514
- #: admin/templates.php:906
515
- #: admin/templates.php:927
516
  msgid "Invalid data version."
517
  msgstr ""
518
 
@@ -538,7 +537,7 @@ msgid "Recently Edited"
538
  msgstr ""
539
 
540
  #: admin/views/dashboard.php:12
541
- #: public/editor-build/220-wp/texts.php:116
542
  msgid "Blog"
543
  msgstr ""
544
 
@@ -581,12 +580,12 @@ msgid "Who Can Access"
581
  msgstr ""
582
 
583
  #: admin/views/settings/maintenance.php:27
584
- #: public/editor-build/220-wp/texts.php:210
585
  msgid "Custom"
586
  msgstr ""
587
 
588
  #: admin/views/settings/maintenance.php:33
589
- #: public/editor-build/220-wp/texts.php:645
590
  msgid "Roles"
591
  msgstr ""
592
 
@@ -653,3551 +652,3551 @@ msgstr ""
653
  msgid "Edit Page"
654
  msgstr ""
655
 
656
- #: public/editor-build/220-wp/texts.php:6
657
  msgid " Display Conditions"
658
  msgstr ""
659
 
660
- #: public/editor-build/220-wp/texts.php:7
661
  msgid "%s Selected"
662
  msgstr ""
663
 
664
- #: public/editor-build/220-wp/texts.php:8
665
  msgid "+ 10:00 (Sydney, Melbourne)"
666
  msgstr ""
667
 
668
- #: public/editor-build/220-wp/texts.php:9
669
  msgid "+ 11:00 (Ponape)"
670
  msgstr ""
671
 
672
- #: public/editor-build/220-wp/texts.php:10
673
  msgid "+ 12:00 (Auckland)"
674
  msgstr ""
675
 
676
- #: public/editor-build/220-wp/texts.php:11
677
  msgid "+ 1:00 (Berlin, Paris)"
678
  msgstr ""
679
 
680
- #: public/editor-build/220-wp/texts.php:12
681
  msgid "+ 2:00 (Athens, Istanbul)"
682
  msgstr ""
683
 
684
- #: public/editor-build/220-wp/texts.php:13
685
  msgid "+ 3:00 (Moscow, Baghdad)"
686
  msgstr ""
687
 
688
- #: public/editor-build/220-wp/texts.php:14
689
  msgid "+ 4:00 (Dubai, Baku)"
690
  msgstr ""
691
 
692
- #: public/editor-build/220-wp/texts.php:15
693
  msgid "+ 5:00 (Yekaterinburg)"
694
  msgstr ""
695
 
696
- #: public/editor-build/220-wp/texts.php:16
697
  msgid "+ 6:00 (Nur-Sultan)"
698
  msgstr ""
699
 
700
- #: public/editor-build/220-wp/texts.php:17
701
  msgid "+ 7:00 (Bangkok, Jakarta)"
702
  msgstr ""
703
 
704
- #: public/editor-build/220-wp/texts.php:18
705
  msgid "+ 8:00 (Singapore, Beijing)"
706
  msgstr ""
707
 
708
- #: public/editor-build/220-wp/texts.php:19
709
  msgid "+ 9:00 (Tokyo, Seoul)"
710
  msgstr ""
711
 
712
- #: public/editor-build/220-wp/texts.php:20
713
  msgid "- 10:00 (Honolulu, Papeete)"
714
  msgstr ""
715
 
716
- #: public/editor-build/220-wp/texts.php:21
717
  msgid "- 11:00 (Niue)"
718
  msgstr ""
719
 
720
- #: public/editor-build/220-wp/texts.php:22
721
  msgid "- 1:00 (Cape Verde)"
722
  msgstr ""
723
 
724
- #: public/editor-build/220-wp/texts.php:23
725
  msgid "- 2:00 (Noronha)"
726
  msgstr ""
727
 
728
- #: public/editor-build/220-wp/texts.php:24
729
  msgid "- 3:00 (Brasilia, Santiago)"
730
  msgstr ""
731
 
732
- #: public/editor-build/220-wp/texts.php:25
733
  msgid "- 4:00 (Halifax, Manaus)"
734
  msgstr ""
735
 
736
- #: public/editor-build/220-wp/texts.php:26
737
  msgid "- 5:00 (New York, Miami)"
738
  msgstr ""
739
 
740
- #: public/editor-build/220-wp/texts.php:27
741
  msgid "- 6:00 (Chicago, Dallas)"
742
  msgstr ""
743
 
744
- #: public/editor-build/220-wp/texts.php:28
745
  msgid "- 7:00 (Denver, Phoenix)"
746
  msgstr ""
747
 
748
- #: public/editor-build/220-wp/texts.php:29
749
  msgid "- 8:00 (Los Angeles)"
750
  msgstr ""
751
 
752
- #: public/editor-build/220-wp/texts.php:30
753
  msgid "- 9:00 (Anchorage)"
754
  msgstr ""
755
 
756
- #: public/editor-build/220-wp/texts.php:31
757
  msgid "00:00 (London, Dublin)"
758
  msgstr ""
759
 
760
- #: public/editor-build/220-wp/texts.php:32
761
  msgid "? (%s)"
762
  msgstr ""
763
 
764
- #: public/editor-build/220-wp/texts.php:33
765
  msgid "ADD FONT VARIATION"
766
  msgstr ""
767
 
768
- #: public/editor-build/220-wp/texts.php:34
769
  msgid "ADD GOOGLE FONT"
770
  msgstr ""
771
 
772
- #: public/editor-build/220-wp/texts.php:35
773
  msgid "APPS"
774
  msgstr ""
775
 
776
- #: public/editor-build/220-wp/texts.php:36
777
  msgid "About us"
778
  msgstr ""
779
 
780
- #: public/editor-build/220-wp/texts.php:37
781
  msgid "Access your Library in any WP install by connecting your Account"
782
  msgstr ""
783
 
784
- #: public/editor-build/220-wp/texts.php:38
785
  msgid "Accordion"
786
  msgstr ""
787
 
788
- #: public/editor-build/220-wp/texts.php:39
789
  msgid "Accordion Items"
790
  msgstr ""
791
 
792
- #: public/editor-build/220-wp/texts.php:40
793
  msgid "Accordion Tags"
794
  msgstr ""
795
 
796
- #: public/editor-build/220-wp/texts.php:41
797
  msgid "Accounts are empty. Please connect a new account and try again."
798
  msgstr ""
799
 
800
- #: public/editor-build/220-wp/texts.php:42
801
  msgid "Action"
802
  msgstr ""
803
 
804
- #: public/editor-build/220-wp/texts.php:43
805
  msgid "Activate Tab"
806
  msgstr ""
807
 
808
- #: public/editor-build/220-wp/texts.php:44
809
  msgid "Active"
810
  msgstr ""
811
 
812
- #: public/editor-build/220-wp/texts.php:45
813
  msgid "Add Elements"
814
  msgstr ""
815
 
816
- #: public/editor-build/220-wp/texts.php:46
817
  msgid "Add Font"
818
  msgstr ""
819
 
820
- #: public/editor-build/220-wp/texts.php:48
821
  msgid "Add New Block / Layout"
822
  msgstr ""
823
 
824
- #: public/editor-build/220-wp/texts.php:49
825
  msgid "Add New Column"
826
  msgstr ""
827
 
828
- #: public/editor-build/220-wp/texts.php:50
829
  msgid "Add New Font"
830
  msgstr ""
831
 
832
- #: public/editor-build/220-wp/texts.php:51
833
  msgid "Add Shopify Elements"
834
  msgstr ""
835
 
836
- #: public/editor-build/220-wp/texts.php:52
837
  msgid "Add To Cart"
838
  msgstr ""
839
 
840
- #: public/editor-build/220-wp/texts.php:53
841
  msgid "Add To Cart Input"
842
  msgstr ""
843
 
844
- #: public/editor-build/220-wp/texts.php:54
845
  msgid "Add a new block"
846
  msgstr ""
847
 
848
- #: public/editor-build/220-wp/texts.php:55
849
  msgid "Add new display condition"
850
  msgstr ""
851
 
852
- #: public/editor-build/220-wp/texts.php:56
853
  msgid "Add new font variation"
854
  msgstr ""
855
 
856
- #: public/editor-build/220-wp/texts.php:57
857
  msgid "Add new option"
858
  msgstr ""
859
 
860
- #: public/editor-build/220-wp/texts.php:58
861
  msgid "Add new trigger condition"
862
  msgstr ""
863
 
864
- #: public/editor-build/220-wp/texts.php:59
865
  msgid "Add to Cart"
866
  msgstr ""
867
 
868
- #: public/editor-build/220-wp/texts.php:60
869
  msgid "Add to cart"
870
  msgstr ""
871
 
872
- #: public/editor-build/220-wp/texts.php:61
873
  msgid "Additionals"
874
  msgstr ""
875
 
876
- #: public/editor-build/220-wp/texts.php:62
877
  msgid "Address"
878
  msgstr ""
879
 
880
- #: public/editor-build/220-wp/texts.php:63
881
  msgid "Advanced"
882
  msgstr ""
883
 
884
- #: public/editor-build/220-wp/texts.php:64
885
  msgid "Align"
886
  msgstr ""
887
 
888
- #: public/editor-build/220-wp/texts.php:65
889
  msgid "Aligned Left"
890
  msgstr ""
891
 
892
- #: public/editor-build/220-wp/texts.php:66
893
  msgid "Aligned Right"
894
  msgstr ""
895
 
896
- #: public/editor-build/220-wp/texts.php:67
897
  msgid "All"
898
  msgstr ""
899
 
900
- #: public/editor-build/220-wp/texts.php:68
901
  msgid "All Categories"
902
  msgstr ""
903
 
904
- #: public/editor-build/220-wp/texts.php:69
905
  msgid "All fields cannot be empty"
906
  msgstr ""
907
 
908
- #: public/editor-build/220-wp/texts.php:70
909
  msgid "All fields marked with an asterisk ( * ) must be completed."
910
  msgstr ""
911
 
912
- #: public/editor-build/220-wp/texts.php:71
913
  msgid "All fields marked with an asterisk ( * ) must be mapped."
914
  msgstr ""
915
 
916
- #: public/editor-build/220-wp/texts.php:72
917
  msgid "Allowed File Types"
918
  msgstr ""
919
 
920
- #: public/editor-build/220-wp/texts.php:73
921
  msgid "Alt Title"
922
  msgstr ""
923
 
924
- #: public/editor-build/220-wp/texts.php:74
925
  msgid "An error happened while trying to display this element"
926
  msgstr ""
927
 
928
- #: public/editor-build/220-wp/texts.php:75
929
  msgid "Animated"
930
  msgstr ""
931
 
932
- #: public/editor-build/220-wp/texts.php:77
933
  msgid "Archives"
934
  msgstr ""
935
 
936
- #: public/editor-build/220-wp/texts.php:78
937
  msgid "Are you want to delete account"
938
  msgstr ""
939
 
940
- #: public/editor-build/220-wp/texts.php:79
941
  msgid "Arrangement"
942
  msgstr ""
943
 
944
- #: public/editor-build/220-wp/texts.php:80
945
  msgid "Arrows"
946
  msgstr ""
947
 
948
- #: public/editor-build/220-wp/texts.php:81
949
  msgid "Arrows Spacing"
950
  msgstr ""
951
 
952
- #: public/editor-build/220-wp/texts.php:82
953
  msgid "Article"
954
  msgstr ""
955
 
956
- #: public/editor-build/220-wp/texts.php:83
957
  msgid "Asc"
958
  msgstr ""
959
 
960
- #: public/editor-build/220-wp/texts.php:84
961
  msgid "Aside"
962
  msgstr ""
963
 
964
- #: public/editor-build/220-wp/texts.php:85
965
  msgid "Attributes"
966
  msgstr ""
967
 
968
- #: public/editor-build/220-wp/texts.php:86
969
  msgid "Audio"
970
  msgstr ""
971
 
972
- #: public/editor-build/220-wp/texts.php:87
973
  msgid "Authentication"
974
  msgstr ""
975
 
976
- #: public/editor-build/220-wp/texts.php:88
977
  msgid "Author"
978
  msgstr ""
979
 
980
- #: public/editor-build/220-wp/texts.php:89
981
  msgid "Auto"
982
  msgstr ""
983
 
984
- #: public/editor-build/220-wp/texts.php:90
985
  msgid "Auto Play"
986
  msgstr ""
987
 
988
- #: public/editor-build/220-wp/texts.php:91
989
  msgid "Auto play"
990
  msgstr ""
991
 
992
- #: public/editor-build/220-wp/texts.php:92
993
  msgid "Auto-Draft"
994
  msgstr ""
995
 
996
- #: public/editor-build/220-wp/texts.php:93
997
  msgid "AutoPlay"
998
  msgstr ""
999
 
1000
- #: public/editor-build/220-wp/texts.php:94
1001
  msgid "Automotive"
1002
  msgstr ""
1003
 
1004
- #: public/editor-build/220-wp/texts.php:95
1005
  msgid "Autoplay"
1006
  msgstr ""
1007
 
1008
- #: public/editor-build/220-wp/texts.php:96
1009
  msgid "Avatar"
1010
  msgstr ""
1011
 
1012
- #: public/editor-build/220-wp/texts.php:97
1013
  msgid "Back"
1014
  msgstr ""
1015
 
1016
- #: public/editor-build/220-wp/texts.php:98
1017
  msgid "Back to Layouts"
1018
  msgstr ""
1019
 
1020
- #: public/editor-build/220-wp/texts.php:99
1021
  msgid "Back to Login"
1022
  msgstr ""
1023
 
1024
- #: public/editor-build/220-wp/texts.php:100
1025
  msgid "Back to Stories"
1026
  msgstr ""
1027
 
1028
- #: public/editor-build/220-wp/texts.php:101
1029
  msgid "Background"
1030
  msgstr ""
1031
 
1032
- #: public/editor-build/220-wp/texts.php:102
1033
  msgid "Bar"
1034
  msgstr ""
1035
 
1036
- #: public/editor-build/220-wp/texts.php:103
1037
  msgid "Bcc"
1038
  msgstr ""
1039
 
1040
- #: public/editor-build/220-wp/texts.php:104
1041
  msgid "Between"
1042
  msgstr ""
1043
 
1044
- #: public/editor-build/220-wp/texts.php:105
1045
  msgid "Bg"
1046
  msgstr ""
1047
 
1048
- #: public/editor-build/220-wp/texts.php:106
1049
  msgid "Bg Size"
1050
  msgstr ""
1051
 
1052
- #: public/editor-build/220-wp/texts.php:107
1053
  msgid "Bg Star"
1054
  msgstr ""
1055
 
1056
- #: public/editor-build/220-wp/texts.php:108
1057
  msgid "Black"
1058
  msgstr ""
1059
 
1060
- #: public/editor-build/220-wp/texts.php:109
1061
  msgid "Blank"
1062
  msgstr ""
1063
 
1064
- #: public/editor-build/220-wp/texts.php:110
1065
  msgid "Block"
1066
  msgstr ""
1067
 
1068
- #: public/editor-build/220-wp/texts.php:111
1069
  msgid "Block Name"
1070
  msgstr ""
1071
 
1072
- #: public/editor-build/220-wp/texts.php:112
1073
  msgid "Block conditions are available only in PRO"
1074
  msgstr ""
1075
 
1076
- #: public/editor-build/220-wp/texts.php:113
1077
  msgid "Block is synchronized"
1078
  msgstr ""
1079
 
1080
- #: public/editor-build/220-wp/texts.php:114
1081
  msgid "Block will be synchronized"
1082
  msgstr ""
1083
 
1084
- #: public/editor-build/220-wp/texts.php:115
1085
  msgid "Blocks"
1086
  msgstr ""
1087
 
1088
- #: public/editor-build/220-wp/texts.php:117
1089
  msgid "Bold"
1090
  msgstr ""
1091
 
1092
- #: public/editor-build/220-wp/texts.php:118
1093
  msgid "Border"
1094
  msgstr ""
1095
 
1096
- #: public/editor-build/220-wp/texts.php:119
1097
  msgid "Bottom"
1098
  msgstr ""
1099
 
1100
- #: public/editor-build/220-wp/texts.php:120
1101
  msgid "Bounce"
1102
  msgstr ""
1103
 
1104
- #: public/editor-build/220-wp/texts.php:121
1105
  msgid "BounceIn"
1106
  msgstr ""
1107
 
1108
- #: public/editor-build/220-wp/texts.php:122
1109
  msgid "BounceInDown"
1110
  msgstr ""
1111
 
1112
- #: public/editor-build/220-wp/texts.php:123
1113
  msgid "BounceInLeft"
1114
  msgstr ""
1115
 
1116
- #: public/editor-build/220-wp/texts.php:124
1117
  msgid "BounceInRight"
1118
  msgstr ""
1119
 
1120
- #: public/editor-build/220-wp/texts.php:125
1121
  msgid "BounceInUp"
1122
  msgstr ""
1123
 
1124
- #: public/editor-build/220-wp/texts.php:126
1125
  msgid "Boxed"
1126
  msgstr ""
1127
 
1128
- #: public/editor-build/220-wp/texts.php:127
1129
  msgid "Branding"
1130
  msgstr ""
1131
 
1132
- #: public/editor-build/220-wp/texts.php:128
1133
  msgid "Breadcrumbs"
1134
  msgstr ""
1135
 
1136
- #: public/editor-build/220-wp/texts.php:129
1137
  msgid "Btn Bg"
1138
  msgstr ""
1139
 
1140
- #: public/editor-build/220-wp/texts.php:130
1141
  msgid "Btn Color"
1142
  msgstr ""
1143
 
1144
- #: public/editor-build/220-wp/texts.php:131
1145
  msgid "Bub."
1146
  msgstr ""
1147
 
1148
- #: public/editor-build/220-wp/texts.php:132
1149
  msgid "Bub. Bg"
1150
  msgstr ""
1151
 
1152
- #: public/editor-build/220-wp/texts.php:133
1153
  msgid "Bubble"
1154
  msgstr ""
1155
 
1156
- #: public/editor-build/220-wp/texts.php:134
1157
  msgid "Business"
1158
  msgstr ""
1159
 
1160
- #: public/editor-build/220-wp/texts.php:135
1161
  msgid "Business Hour"
1162
  msgstr ""
1163
 
1164
- #: public/editor-build/220-wp/texts.php:136
1165
  msgid "Button"
1166
  msgstr ""
1167
 
1168
- #: public/editor-build/220-wp/texts.php:137
1169
  msgid "Button Size"
1170
  msgstr ""
1171
 
1172
- #: public/editor-build/220-wp/texts.php:138
1173
  msgid "Buttons"
1174
  msgstr ""
1175
 
1176
- #: public/editor-build/220-wp/texts.php:139
1177
  msgid "CMS"
1178
  msgstr ""
1179
 
1180
- #: public/editor-build/220-wp/texts.php:140
1181
  msgid "CREATE LIST"
1182
  msgstr ""
1183
 
1184
- #: public/editor-build/220-wp/texts.php:141
1185
  msgid "CSS Class"
1186
  msgstr ""
1187
 
1188
- #: public/editor-build/220-wp/texts.php:142
1189
  msgid "CSS ID"
1190
  msgstr ""
1191
 
1192
- #: public/editor-build/220-wp/texts.php:143
1193
  msgid "CTA"
1194
  msgstr ""
1195
 
1196
- #: public/editor-build/220-wp/texts.php:144
1197
  msgid "Cancel"
1198
  msgstr ""
1199
 
1200
- #: public/editor-build/220-wp/texts.php:145
1201
  msgid "Capitalize"
1202
  msgstr ""
1203
 
1204
- #: public/editor-build/220-wp/texts.php:146
1205
  msgid "Captions"
1206
  msgstr ""
1207
 
1208
- #: public/editor-build/220-wp/texts.php:147
1209
  msgid "Carousel"
1210
  msgstr ""
1211
 
1212
- #: public/editor-build/220-wp/texts.php:148
1213
  msgid "Cart"
1214
  msgstr ""
1215
 
1216
- #: public/editor-build/220-wp/texts.php:149
1217
  msgid "Cart Items"
1218
  msgstr ""
1219
 
1220
- #: public/editor-build/220-wp/texts.php:150
1221
  msgid "Cart Settings"
1222
  msgstr ""
1223
 
1224
- #: public/editor-build/220-wp/texts.php:151
1225
  msgid "Categories"
1226
  msgstr ""
1227
 
1228
- #: public/editor-build/220-wp/texts.php:152
1229
  msgid "Categories Count"
1230
  msgstr ""
1231
 
1232
- #: public/editor-build/220-wp/texts.php:153
1233
  msgid "Categories Pagination"
1234
  msgstr ""
1235
 
1236
- #: public/editor-build/220-wp/texts.php:154
1237
  msgid "Categories Tags"
1238
  msgstr ""
1239
 
1240
- #: public/editor-build/220-wp/texts.php:155
1241
  msgid "Category"
1242
  msgstr ""
1243
 
1244
- #: public/editor-build/220-wp/texts.php:156
1245
  msgid "Cc"
1246
  msgstr ""
1247
 
1248
- #: public/editor-build/220-wp/texts.php:157
1249
  msgid "Check your email address"
1250
  msgstr ""
1251
 
1252
- #: public/editor-build/220-wp/texts.php:158
1253
  msgid "Checkbox"
1254
  msgstr ""
1255
 
1256
- #: public/editor-build/220-wp/texts.php:159
1257
  msgid "Checkout"
1258
  msgstr ""
1259
 
1260
- #: public/editor-build/220-wp/texts.php:160
1261
  msgid "Children"
1262
  msgstr ""
1263
 
1264
- #: public/editor-build/220-wp/texts.php:161
1265
  msgid "Circle"
1266
  msgstr ""
1267
 
1268
- #: public/editor-build/220-wp/texts.php:162
1269
  msgid "Classic"
1270
  msgstr ""
1271
 
1272
- #: public/editor-build/220-wp/texts.php:163
1273
  msgid "Clear"
1274
  msgstr ""
1275
 
1276
- #: public/editor-build/220-wp/texts.php:164
1277
  msgid "Clear Layout"
1278
  msgstr ""
1279
 
1280
- #: public/editor-build/220-wp/texts.php:165
1281
  msgid "Click Outside to Close"
1282
  msgstr ""
1283
 
1284
- #: public/editor-build/220-wp/texts.php:166
1285
  msgid "Close"
1286
  msgstr ""
1287
 
1288
- #: public/editor-build/220-wp/texts.php:167
1289
  msgid "Close Popup"
1290
  msgstr ""
1291
 
1292
- #: public/editor-build/220-wp/texts.php:168
1293
  msgid "Cloud"
1294
  msgstr ""
1295
 
1296
- #: public/editor-build/220-wp/texts.php:169
1297
  msgid "Collapsible"
1298
  msgstr ""
1299
 
1300
- #: public/editor-build/220-wp/texts.php:170
1301
  msgid "Color"
1302
  msgstr ""
1303
 
1304
- #: public/editor-build/220-wp/texts.php:171
1305
  msgid "Colors"
1306
  msgstr ""
1307
 
1308
- #: public/editor-build/220-wp/texts.php:172
1309
  msgid "Column"
1310
  msgstr ""
1311
 
1312
- #: public/editor-build/220-wp/texts.php:173
1313
  msgid "Columns"
1314
  msgstr ""
1315
 
1316
- #: public/editor-build/220-wp/texts.php:174
1317
  msgid "Comment"
1318
  msgstr ""
1319
 
1320
- #: public/editor-build/220-wp/texts.php:175
1321
  msgid "Comment Count"
1322
  msgstr ""
1323
 
1324
- #: public/editor-build/220-wp/texts.php:176
1325
  msgid "Comments"
1326
  msgstr ""
1327
 
1328
- #: public/editor-build/220-wp/texts.php:177
1329
  msgid "Conditions"
1330
  msgstr ""
1331
 
1332
- #: public/editor-build/220-wp/texts.php:178
1333
  msgid "Connect"
1334
  msgstr ""
1335
 
1336
- #: public/editor-build/220-wp/texts.php:179
1337
  msgid "Connect a new account"
1338
  msgstr ""
1339
 
1340
- #: public/editor-build/220-wp/texts.php:180
1341
  msgid "Contact"
1342
  msgstr ""
1343
 
1344
- #: public/editor-build/220-wp/texts.php:181
1345
  msgid "Content"
1346
  msgstr ""
1347
 
1348
- #: public/editor-build/220-wp/texts.php:182
1349
  msgid "Content Gap"
1350
  msgstr ""
1351
 
1352
- #: public/editor-build/220-wp/texts.php:183
1353
  msgid "Context"
1354
  msgstr ""
1355
 
1356
- #: public/editor-build/220-wp/texts.php:184
1357
  msgid "Context Type"
1358
  msgstr ""
1359
 
1360
- #: public/editor-build/220-wp/texts.php:185
1361
  msgid "Continue"
1362
  msgstr ""
1363
 
1364
- #: public/editor-build/220-wp/texts.php:186
1365
  msgid "Controls"
1366
  msgstr ""
1367
 
1368
- #: public/editor-build/220-wp/texts.php:187
1369
  msgid "Copy"
1370
  msgstr ""
1371
 
1372
- #: public/editor-build/220-wp/texts.php:188
1373
  msgid "Corner"
1374
  msgstr ""
1375
 
1376
- #: public/editor-build/220-wp/texts.php:189
1377
  msgid "Could not Create Global Block"
1378
  msgstr ""
1379
 
1380
- #: public/editor-build/220-wp/texts.php:190
1381
  msgid "Could not Create Global Popup"
1382
  msgstr ""
1383
 
1384
- #: public/editor-build/220-wp/texts.php:191
1385
  msgid "Could not Create Saved Block"
1386
  msgstr ""
1387
 
1388
- #: public/editor-build/220-wp/texts.php:192
1389
  msgid "Could not Create Saved Popup"
1390
  msgstr ""
1391
 
1392
- #: public/editor-build/220-wp/texts.php:193
1393
  msgid "Could not download Saved Layout"
1394
  msgstr ""
1395
 
1396
- #: public/editor-build/220-wp/texts.php:194
1397
  msgid "Could not download Saved Popup"
1398
  msgstr ""
1399
 
1400
- #: public/editor-build/220-wp/texts.php:195
1401
  msgid "Could not download Saved block"
1402
  msgstr ""
1403
 
1404
- #: public/editor-build/220-wp/texts.php:196
1405
  msgid "Could not find"
1406
  msgstr ""
1407
 
1408
- #: public/editor-build/220-wp/texts.php:197
1409
  msgid "Could not publish or save page"
1410
  msgstr ""
1411
 
1412
- #: public/editor-build/220-wp/texts.php:198
1413
  msgid "Could not save layout"
1414
  msgstr ""
1415
 
1416
- #: public/editor-build/220-wp/texts.php:199
1417
  msgid "Could not switch to draft"
1418
  msgstr ""
1419
 
1420
- #: public/editor-build/220-wp/texts.php:200
1421
  msgid "Count"
1422
  msgstr ""
1423
 
1424
- #: public/editor-build/220-wp/texts.php:201
1425
  msgid "Countdown"
1426
  msgstr ""
1427
 
1428
- #: public/editor-build/220-wp/texts.php:202
1429
  msgid "Counter"
1430
  msgstr ""
1431
 
1432
- #: public/editor-build/220-wp/texts.php:203
1433
  msgid "Cover"
1434
  msgstr ""
1435
 
1436
- #: public/editor-build/220-wp/texts.php:204
1437
  msgid "Create"
1438
  msgstr ""
1439
 
1440
- #: public/editor-build/220-wp/texts.php:205
1441
  msgid "Create Account & Connect"
1442
  msgstr ""
1443
 
1444
- #: public/editor-build/220-wp/texts.php:206
1445
  msgid "Create a menu"
1446
  msgstr ""
1447
 
1448
- #: public/editor-build/220-wp/texts.php:207
1449
  msgid "Create a new list"
1450
  msgstr ""
1451
 
1452
- #: public/editor-build/220-wp/texts.php:208
1453
  msgid "Create your own"
1454
  msgstr ""
1455
 
1456
- #: public/editor-build/220-wp/texts.php:209
1457
  msgid "Current Page"
1458
  msgstr ""
1459
 
1460
- #: public/editor-build/220-wp/texts.php:211
1461
  msgid "Custom Attributes"
1462
  msgstr ""
1463
 
1464
- #: public/editor-build/220-wp/texts.php:212
1465
  msgid "Custom Attributes asd"
1466
  msgstr ""
1467
 
1468
- #: public/editor-build/220-wp/texts.php:213
1469
  msgid "Custom CSS"
1470
  msgstr ""
1471
 
1472
- #: public/editor-build/220-wp/texts.php:214
1473
  msgid "Custom Page"
1474
  msgstr ""
1475
 
1476
- #: public/editor-build/220-wp/texts.php:215
1477
  msgid "Custom Text"
1478
  msgstr ""
1479
 
1480
- #: public/editor-build/220-wp/texts.php:216
1481
  msgid "Custom Video"
1482
  msgstr ""
1483
 
1484
- #: public/editor-build/220-wp/texts.php:217
1485
  msgid "DELETE"
1486
  msgstr ""
1487
 
1488
- #: public/editor-build/220-wp/texts.php:218
1489
  msgid "DIV"
1490
  msgstr ""
1491
 
1492
- #: public/editor-build/220-wp/texts.php:219
1493
  msgid "Dark"
1494
  msgstr ""
1495
 
1496
- #: public/editor-build/220-wp/texts.php:221
1497
  msgid "Days"
1498
  msgstr ""
1499
 
1500
- #: public/editor-build/220-wp/texts.php:222
1501
  msgid "Default Roles"
1502
  msgstr ""
1503
 
1504
- #: public/editor-build/220-wp/texts.php:223
1505
  msgid "Delay"
1506
  msgstr ""
1507
 
1508
- #: public/editor-build/220-wp/texts.php:224
1509
  msgid "Delete"
1510
  msgstr ""
1511
 
1512
- #: public/editor-build/220-wp/texts.php:225
1513
  msgid "Desc"
1514
  msgstr ""
1515
 
1516
- #: public/editor-build/220-wp/texts.php:226
1517
  msgid "Description"
1518
  msgstr ""
1519
 
1520
- #: public/editor-build/220-wp/texts.php:227
1521
  msgid "Deselected the “Verify the origin of reCAPTCHA solutions” checkbox within your Google account."
1522
  msgstr ""
1523
 
1524
- #: public/editor-build/220-wp/texts.php:228
1525
  msgid "Desktop"
1526
  msgstr ""
1527
 
1528
- #: public/editor-build/220-wp/texts.php:229
1529
  msgid "Diamond"
1530
  msgstr ""
1531
 
1532
- #: public/editor-build/220-wp/texts.php:230
1533
  msgid "Disable on Mobile"
1534
  msgstr ""
1535
 
1536
- #: public/editor-build/220-wp/texts.php:231
1537
  msgid "Disable on Tablet"
1538
  msgstr ""
1539
 
1540
- #: public/editor-build/220-wp/texts.php:232
1541
  msgid "Disconnect"
1542
  msgstr ""
1543
 
1544
- #: public/editor-build/220-wp/texts.php:233
1545
  msgid "Display Close Button"
1546
  msgstr ""
1547
 
1548
- #: public/editor-build/220-wp/texts.php:234
1549
  msgid "Disqus"
1550
  msgstr ""
1551
 
1552
- #: public/editor-build/220-wp/texts.php:235
1553
  msgid "Div"
1554
  msgstr ""
1555
 
1556
- #: public/editor-build/220-wp/texts.php:236
1557
  msgid "Dividers"
1558
  msgstr ""
1559
 
1560
- #: public/editor-build/220-wp/texts.php:237
1561
  msgid "Don't have items"
1562
  msgstr ""
1563
 
1564
- #: public/editor-build/220-wp/texts.php:238
1565
  msgid "Don't have tags"
1566
  msgstr ""
1567
 
1568
- #: public/editor-build/220-wp/texts.php:239
1569
  msgid "Done"
1570
  msgstr ""
1571
 
1572
- #: public/editor-build/220-wp/texts.php:240
1573
  msgid "Done, your library was synced"
1574
  msgstr ""
1575
 
1576
- #: public/editor-build/220-wp/texts.php:241
1577
  msgid "Dots"
1578
  msgstr ""
1579
 
1580
- #: public/editor-build/220-wp/texts.php:242
1581
  msgid "Download this block"
1582
  msgstr ""
1583
 
1584
- #: public/editor-build/220-wp/texts.php:243
1585
  msgid "Draft"
1586
  msgstr ""
1587
 
1588
- #: public/editor-build/220-wp/texts.php:244
1589
  msgid "Drag to reorder"
1590
  msgstr ""
1591
 
1592
- #: public/editor-build/220-wp/texts.php:245
1593
  msgid "Drawer Position"
1594
  msgstr ""
1595
 
1596
- #: public/editor-build/220-wp/texts.php:246
1597
  msgid "Duplicate"
1598
  msgstr ""
1599
 
1600
- #: public/editor-build/220-wp/texts.php:247
1601
  msgid "Duplicate Account"
1602
  msgstr ""
1603
 
1604
- #: public/editor-build/220-wp/texts.php:248
1605
  msgid "Duration"
1606
  msgstr ""
1607
 
1608
- #: public/editor-build/220-wp/texts.php:249
1609
  msgid "Dutch"
1610
  msgstr ""
1611
 
1612
- #: public/editor-build/220-wp/texts.php:250
1613
  msgid "Dynamic Content"
1614
  msgstr ""
1615
 
1616
- #: public/editor-build/220-wp/texts.php:251
1617
  msgid "EOT File"
1618
  msgstr ""
1619
 
1620
- #: public/editor-build/220-wp/texts.php:252
1621
  msgid "Edit"
1622
  msgstr ""
1623
 
1624
- #: public/editor-build/220-wp/texts.php:253
1625
  msgid "Editable Text"
1626
  msgstr ""
1627
 
1628
- #: public/editor-build/220-wp/texts.php:254
1629
  msgid "Education"
1630
  msgstr ""
1631
 
1632
- #: public/editor-build/220-wp/texts.php:255
1633
  msgid "Elements"
1634
  msgstr ""
1635
 
1636
- #: public/editor-build/220-wp/texts.php:256
1637
  msgid "Email"
1638
  msgstr ""
1639
 
1640
- #: public/editor-build/220-wp/texts.php:257
1641
  msgid "Email To"
1642
  msgstr ""
1643
 
1644
- #: public/editor-build/220-wp/texts.php:258
1645
  msgid "Email confirmation to join the list"
1646
  msgstr ""
1647
 
1648
- #: public/editor-build/220-wp/texts.php:259
1649
  msgid "Email to recover password cannot be empty"
1650
  msgstr ""
1651
 
1652
- #: public/editor-build/220-wp/texts.php:260
1653
  msgid "Embed"
1654
  msgstr ""
1655
 
1656
- #: public/editor-build/220-wp/texts.php:261
1657
  msgid "Enable Tags"
1658
  msgstr ""
1659
 
1660
- #: public/editor-build/220-wp/texts.php:262
1661
  msgid "Enable on Mobile"
1662
  msgstr ""
1663
 
1664
- #: public/editor-build/220-wp/texts.php:263
1665
  msgid "Enable on Tablet"
1666
  msgstr ""
1667
 
1668
- #: public/editor-build/220-wp/texts.php:264
1669
  msgid "Enable tags"
1670
  msgstr ""
1671
 
1672
- #: public/editor-build/220-wp/texts.php:265
1673
  msgid "Encryption"
1674
  msgstr ""
1675
 
1676
- #: public/editor-build/220-wp/texts.php:266
1677
  msgid "End"
1678
  msgstr ""
1679
 
1680
- #: public/editor-build/220-wp/texts.php:267
1681
  msgid "English"
1682
  msgstr ""
1683
 
1684
- #: public/editor-build/220-wp/texts.php:268
1685
  msgid "Enter address"
1686
  msgstr ""
1687
 
1688
- #: public/editor-build/220-wp/texts.php:269
1689
  msgid "Enter the allowed file types, separated by a comma (jpg, gif, pdf, etc)."
1690
  msgstr ""
1691
 
1692
- #: public/editor-build/220-wp/texts.php:270
1693
  msgid "Entrance Animation"
1694
  msgstr ""
1695
 
1696
- #: public/editor-build/220-wp/texts.php:271
1697
  msgid "Error"
1698
  msgstr ""
1699
 
1700
- #: public/editor-build/220-wp/texts.php:272
1701
  msgid "Established a stable internet connection"
1702
  msgstr ""
1703
 
1704
- #: public/editor-build/220-wp/texts.php:273
1705
  msgid "Events"
1706
  msgstr ""
1707
 
1708
- #: public/editor-build/220-wp/texts.php:274
1709
  msgid "Excerpt"
1710
  msgstr ""
1711
 
1712
- #: public/editor-build/220-wp/texts.php:275
1713
  msgid "Exclude"
1714
  msgstr ""
1715
 
1716
- #: public/editor-build/220-wp/texts.php:276
1717
  msgid "Exclude By"
1718
  msgstr ""
1719
 
1720
- #: public/editor-build/220-wp/texts.php:277
1721
  msgid "Export All Blocks"
1722
  msgstr ""
1723
 
1724
- #: public/editor-build/220-wp/texts.php:278
1725
  msgid "Export All Layouts"
1726
  msgstr ""
1727
 
1728
- #: public/editor-build/220-wp/texts.php:279
1729
  msgid "Export All Popups"
1730
  msgstr ""
1731
 
1732
- #: public/editor-build/220-wp/texts.php:280
1733
  msgid "Extra Bold"
1734
  msgstr ""
1735
 
1736
- #: public/editor-build/220-wp/texts.php:281
1737
  msgid "Extra Light"
1738
  msgstr ""
1739
 
1740
- #: public/editor-build/220-wp/texts.php:282
1741
  msgid "FIELDS"
1742
  msgstr ""
1743
 
1744
- #: public/editor-build/220-wp/texts.php:283
1745
  msgid "FONT VARIATION"
1746
  msgstr ""
1747
 
1748
- #: public/editor-build/220-wp/texts.php:284
1749
  msgid "FORM FIELDS"
1750
  msgstr ""
1751
 
1752
- #: public/editor-build/220-wp/texts.php:285
1753
  msgid "Facebook"
1754
  msgstr ""
1755
 
1756
- #: public/editor-build/220-wp/texts.php:286
1757
  msgid "Facebook Button"
1758
  msgstr ""
1759
 
1760
- #: public/editor-build/220-wp/texts.php:287
1761
  msgid "Facebook Embed"
1762
  msgstr ""
1763
 
1764
- #: public/editor-build/220-wp/texts.php:288
1765
  msgid "Facebook Group"
1766
  msgstr ""
1767
 
1768
- #: public/editor-build/220-wp/texts.php:289
1769
  msgid "Facebook Page"
1770
  msgstr ""
1771
 
1772
- #: public/editor-build/220-wp/texts.php:290
1773
  msgid "FadeIn"
1774
  msgstr ""
1775
 
1776
- #: public/editor-build/220-wp/texts.php:291
1777
  msgid "FadeInDown"
1778
  msgstr ""
1779
 
1780
- #: public/editor-build/220-wp/texts.php:292
1781
  msgid "FadeInDownBig"
1782
  msgstr ""
1783
 
1784
- #: public/editor-build/220-wp/texts.php:293
1785
  msgid "FadeInLeft"
1786
  msgstr ""
1787
 
1788
- #: public/editor-build/220-wp/texts.php:294
1789
  msgid "FadeInLeftBig"
1790
  msgstr ""
1791
 
1792
- #: public/editor-build/220-wp/texts.php:295
1793
  msgid "FadeInRight"
1794
  msgstr ""
1795
 
1796
- #: public/editor-build/220-wp/texts.php:296
1797
  msgid "FadeInRightBig"
1798
  msgstr ""
1799
 
1800
- #: public/editor-build/220-wp/texts.php:297
1801
  msgid "FadeInUp"
1802
  msgstr ""
1803
 
1804
- #: public/editor-build/220-wp/texts.php:298
1805
  msgid "FadeInUpBig"
1806
  msgstr ""
1807
 
1808
- #: public/editor-build/220-wp/texts.php:299
1809
  msgid "Failed to fetch api data"
1810
  msgstr ""
1811
 
1812
- #: public/editor-build/220-wp/texts.php:300
1813
  msgid "Failed to reset password"
1814
  msgstr ""
1815
 
1816
- #: public/editor-build/220-wp/texts.php:301
1817
  msgid "Failed to update page"
1818
  msgstr ""
1819
 
1820
- #: public/editor-build/220-wp/texts.php:302
1821
  msgid "Failed to upload file. Please upload a valid JPG, PNG, SVG or GIF image."
1822
  msgstr ""
1823
 
1824
- #: public/editor-build/220-wp/texts.php:303
1825
  msgid "Featured Image"
1826
  msgstr ""
1827
 
1828
- #: public/editor-build/220-wp/texts.php:304
1829
  msgid "Features"
1830
  msgstr ""
1831
 
1832
- #: public/editor-build/220-wp/texts.php:305
1833
  msgid "Field"
1834
  msgstr ""
1835
 
1836
- #: public/editor-build/220-wp/texts.php:306
1837
  msgid "Field Type"
1838
  msgstr ""
1839
 
1840
- #: public/editor-build/220-wp/texts.php:307
1841
  msgid "Fields are empty"
1842
  msgstr ""
1843
 
1844
- #: public/editor-build/220-wp/texts.php:308
1845
  msgid "Fields are empty. Please add fields and try again."
1846
  msgstr ""
1847
 
1848
- #: public/editor-build/220-wp/texts.php:309
1849
  msgid "File"
1850
  msgstr ""
1851
 
1852
- #: public/editor-build/220-wp/texts.php:310
1853
  msgid "Fill"
1854
  msgstr ""
1855
 
1856
- #: public/editor-build/220-wp/texts.php:311
1857
  msgid "Filter"
1858
  msgstr ""
1859
 
1860
- #: public/editor-build/220-wp/texts.php:312
1861
  msgid "Filter By"
1862
  msgstr ""
1863
 
1864
- #: public/editor-build/220-wp/texts.php:313
1865
  msgid "Filters"
1866
  msgstr ""
1867
 
1868
- #: public/editor-build/220-wp/texts.php:314
1869
  msgid "First Name"
1870
  msgstr ""
1871
 
1872
- #: public/editor-build/220-wp/texts.php:315
1873
  msgid "Fixed"
1874
  msgstr ""
1875
 
1876
- #: public/editor-build/220-wp/texts.php:316
1877
  msgid "Flash"
1878
  msgstr ""
1879
 
1880
- #: public/editor-build/220-wp/texts.php:317
1881
  msgid "Flip"
1882
  msgstr ""
1883
 
1884
- #: public/editor-build/220-wp/texts.php:318
1885
  msgid "FlipInX"
1886
  msgstr ""
1887
 
1888
- #: public/editor-build/220-wp/texts.php:319
1889
  msgid "FlipInY"
1890
  msgstr ""
1891
 
1892
- #: public/editor-build/220-wp/texts.php:320
1893
  msgid "Follow"
1894
  msgstr ""
1895
 
1896
- #: public/editor-build/220-wp/texts.php:321
1897
  msgid "Followers"
1898
  msgstr ""
1899
 
1900
- #: public/editor-build/220-wp/texts.php:322
1901
  msgid "Font Family"
1902
  msgstr ""
1903
 
1904
- #: public/editor-build/220-wp/texts.php:323
1905
  msgid "Font Name is Required"
1906
  msgstr ""
1907
 
1908
- #: public/editor-build/220-wp/texts.php:324
1909
  msgid "Font name"
1910
  msgstr ""
1911
 
1912
- #: public/editor-build/220-wp/texts.php:325
1913
  msgid "Font weight"
1914
  msgstr ""
1915
 
1916
- #: public/editor-build/220-wp/texts.php:326
1917
  msgid "Fonts"
1918
  msgstr ""
1919
 
1920
- #: public/editor-build/220-wp/texts.php:327
1921
  msgid "Food"
1922
  msgstr ""
1923
 
1924
- #: public/editor-build/220-wp/texts.php:328
1925
  msgid "Footer"
1926
  msgstr ""
1927
 
1928
- #: public/editor-build/220-wp/texts.php:329
1929
  msgid "Footers"
1930
  msgstr ""
1931
 
1932
- #: public/editor-build/220-wp/texts.php:330
1933
  msgid "Form"
1934
  msgstr ""
1935
 
1936
- #: public/editor-build/220-wp/texts.php:331
1937
  msgid "Form Fields"
1938
  msgstr ""
1939
 
1940
- #: public/editor-build/220-wp/texts.php:332
1941
  msgid "Form Labels"
1942
  msgstr ""
1943
 
1944
- #: public/editor-build/220-wp/texts.php:333
1945
  msgid "Form Select Dropdowns"
1946
  msgstr ""
1947
 
1948
- #: public/editor-build/220-wp/texts.php:334
1949
  msgid "Form Submit"
1950
  msgstr ""
1951
 
1952
- #: public/editor-build/220-wp/texts.php:335
1953
  msgid "Forms"
1954
  msgstr ""
1955
 
1956
- #: public/editor-build/220-wp/texts.php:336
1957
  msgid "Free"
1958
  msgstr ""
1959
 
1960
- #: public/editor-build/220-wp/texts.php:337
1961
  msgid "French"
1962
  msgstr ""
1963
 
1964
- #: public/editor-build/220-wp/texts.php:338
1965
  msgid "From Email"
1966
  msgstr ""
1967
 
1968
- #: public/editor-build/220-wp/texts.php:339
1969
  msgid "From Name"
1970
  msgstr ""
1971
 
1972
- #: public/editor-build/220-wp/texts.php:340
1973
  msgid "Full"
1974
  msgstr ""
1975
 
1976
- #: public/editor-build/220-wp/texts.php:341
1977
  msgid "Full Height"
1978
  msgstr ""
1979
 
1980
- #: public/editor-build/220-wp/texts.php:342
1981
  msgid "Full Screen"
1982
  msgstr ""
1983
 
1984
- #: public/editor-build/220-wp/texts.php:343
1985
  msgid "Full name"
1986
  msgstr ""
1987
 
1988
- #: public/editor-build/220-wp/texts.php:344
1989
  msgid "Future"
1990
  msgstr ""
1991
 
1992
- #: public/editor-build/220-wp/texts.php:345
1993
  msgid "Gallery"
1994
  msgstr ""
1995
 
1996
- #: public/editor-build/220-wp/texts.php:346
1997
  msgid "Gallery Tags"
1998
  msgstr ""
1999
 
2000
- #: public/editor-build/220-wp/texts.php:347
2001
  msgid "Gaming"
2002
  msgstr ""
2003
 
2004
- #: public/editor-build/220-wp/texts.php:348
2005
  msgid "Gap Above"
2006
  msgstr ""
2007
 
2008
- #: public/editor-build/220-wp/texts.php:349
2009
  msgid "Gap Below"
2010
  msgstr ""
2011
 
2012
- #: public/editor-build/220-wp/texts.php:350
2013
  msgid "German"
2014
  msgstr ""
2015
 
2016
- #: public/editor-build/220-wp/texts.php:351
2017
  msgid "Get a PRO plan"
2018
  msgstr ""
2019
 
2020
- #: public/editor-build/220-wp/texts.php:352
2021
  msgid "Global Blocks"
2022
  msgstr ""
2023
 
2024
- #: public/editor-build/220-wp/texts.php:353
2025
  msgid "Global Popups"
2026
  msgstr ""
2027
 
2028
- #: public/editor-build/220-wp/texts.php:354
2029
  msgid "Go Back"
2030
  msgstr ""
2031
 
2032
- #: public/editor-build/220-wp/texts.php:355
2033
  msgid "Go to"
2034
  msgstr ""
2035
 
2036
- #: public/editor-build/220-wp/texts.php:356
2037
  msgid "Go to Dashboard"
2038
  msgstr ""
2039
 
2040
- #: public/editor-build/220-wp/texts.php:357
2041
  msgid "Gradient"
2042
  msgstr ""
2043
 
2044
- #: public/editor-build/220-wp/texts.php:358
2045
  msgid "Group"
2046
  msgstr ""
2047
 
2048
- #: public/editor-build/220-wp/texts.php:359
2049
  msgid "H1"
2050
  msgstr ""
2051
 
2052
- #: public/editor-build/220-wp/texts.php:360
2053
  msgid "H2"
2054
  msgstr ""
2055
 
2056
- #: public/editor-build/220-wp/texts.php:361
2057
  msgid "H3"
2058
  msgstr ""
2059
 
2060
- #: public/editor-build/220-wp/texts.php:362
2061
  msgid "H4"
2062
  msgstr ""
2063
 
2064
- #: public/editor-build/220-wp/texts.php:363
2065
  msgid "H5"
2066
  msgstr ""
2067
 
2068
- #: public/editor-build/220-wp/texts.php:364
2069
  msgid "H6"
2070
  msgstr ""
2071
 
2072
- #: public/editor-build/220-wp/texts.php:365
2073
  msgid "HTML Tag"
2074
  msgstr ""
2075
 
2076
- #: public/editor-build/220-wp/texts.php:366
2077
  msgid "Handle"
2078
  msgstr ""
2079
 
2080
- #: public/editor-build/220-wp/texts.php:367
2081
  msgid "Head"
2082
  msgstr ""
2083
 
2084
- #: public/editor-build/220-wp/texts.php:368
2085
  msgid "Header"
2086
  msgstr ""
2087
 
2088
- #: public/editor-build/220-wp/texts.php:369
2089
  msgid "Health / Beauty"
2090
  msgstr ""
2091
 
2092
- #: public/editor-build/220-wp/texts.php:370
2093
  msgid "Heavy"
2094
  msgstr ""
2095
 
2096
- #: public/editor-build/220-wp/texts.php:371
2097
  msgid "Height"
2098
  msgstr ""
2099
 
2100
- #: public/editor-build/220-wp/texts.php:372
2101
  msgid "Hero"
2102
  msgstr ""
2103
 
2104
- #: public/editor-build/220-wp/texts.php:373
2105
  msgid "Hidden"
2106
  msgstr ""
2107
 
2108
- #: public/editor-build/220-wp/texts.php:374
2109
  msgid "Hide"
2110
  msgstr ""
2111
 
2112
- #: public/editor-build/220-wp/texts.php:375
2113
  msgid "Hide Cover Photo"
2114
  msgstr ""
2115
 
2116
- #: public/editor-build/220-wp/texts.php:376
2117
  msgid "Hide Hidden Elements"
2118
  msgstr ""
2119
 
2120
- #: public/editor-build/220-wp/texts.php:377
2121
  msgid "Horizontal Align"
2122
  msgstr ""
2123
 
2124
- #: public/editor-build/220-wp/texts.php:378
2125
  msgid "Horizontal Offset"
2126
  msgstr ""
2127
 
2128
- #: public/editor-build/220-wp/texts.php:379
2129
  msgid "Host"
2130
  msgstr ""
2131
 
2132
- #: public/editor-build/220-wp/texts.php:380
2133
  msgid "Hour"
2134
  msgstr ""
2135
 
2136
- #: public/editor-build/220-wp/texts.php:381
2137
  msgid "Hours"
2138
  msgstr ""
2139
 
2140
- #: public/editor-build/220-wp/texts.php:382
2141
  msgid "Hover"
2142
  msgstr ""
2143
 
2144
- #: public/editor-build/220-wp/texts.php:383
2145
  msgid "Hover Transition"
2146
  msgstr ""
2147
 
2148
- #: public/editor-build/220-wp/texts.php:384
2149
  msgid "ID"
2150
  msgstr ""
2151
 
2152
- #: public/editor-build/220-wp/texts.php:385
2153
  msgid "Icon"
2154
  msgstr ""
2155
 
2156
- #: public/editor-build/220-wp/texts.php:386
2157
  msgid "Icon Box"
2158
  msgstr ""
2159
 
2160
- #: public/editor-build/220-wp/texts.php:387
2161
  msgid "Icons"
2162
  msgstr ""
2163
 
2164
- #: public/editor-build/220-wp/texts.php:388
2165
  msgid "If you need to increase max upload size please contact your hosting."
2166
  msgstr ""
2167
 
2168
- #: public/editor-build/220-wp/texts.php:389
2169
  msgid "Image"
2170
  msgstr ""
2171
 
2172
- #: public/editor-build/220-wp/texts.php:390
2173
  msgid "Image Test"
2174
  msgstr ""
2175
 
2176
- #: public/editor-build/220-wp/texts.php:391
2177
  msgid "Image file is too large."
2178
  msgstr ""
2179
 
2180
- #: public/editor-build/220-wp/texts.php:392
2181
  msgid "Import New Block"
2182
  msgstr ""
2183
 
2184
- #: public/editor-build/220-wp/texts.php:393
2185
  msgid "Import New Layout"
2186
  msgstr ""
2187
 
2188
- #: public/editor-build/220-wp/texts.php:394
2189
  msgid "Import New Popup"
2190
  msgstr ""
2191
 
2192
- #: public/editor-build/220-wp/texts.php:395
2193
  msgid "Import This Layout"
2194
  msgstr ""
2195
 
2196
- #: public/editor-build/220-wp/texts.php:396
2197
  msgid "Import This Story"
2198
  msgstr ""
2199
 
2200
- #: public/editor-build/220-wp/texts.php:397
2201
  msgid "Include"
2202
  msgstr ""
2203
 
2204
- #: public/editor-build/220-wp/texts.php:398
2205
  msgid "Include By"
2206
  msgstr ""
2207
 
2208
- #: public/editor-build/220-wp/texts.php:399
2209
  msgid "Include Full Post"
2210
  msgstr ""
2211
 
2212
- #: public/editor-build/220-wp/texts.php:400
2213
  msgid "Include Share Button"
2214
  msgstr ""
2215
 
2216
- #: public/editor-build/220-wp/texts.php:401
2217
  msgid "Incorrect"
2218
  msgstr ""
2219
 
2220
- #: public/editor-build/220-wp/texts.php:402
2221
  msgid "Incorrect username or password"
2222
  msgstr ""
2223
 
2224
- #: public/editor-build/220-wp/texts.php:403
2225
  msgid "Info"
2226
  msgstr ""
2227
 
2228
- #: public/editor-build/220-wp/texts.php:404
2229
  msgid "Inherit"
2230
  msgstr ""
2231
 
2232
- #: public/editor-build/220-wp/texts.php:405
2233
  msgid "Inline"
2234
  msgstr ""
2235
 
2236
- #: public/editor-build/220-wp/texts.php:406
2237
  msgid "Input"
2238
  msgstr ""
2239
 
2240
- #: public/editor-build/220-wp/texts.php:407
2241
  msgid "Inputted a valid site key"
2242
  msgstr ""
2243
 
2244
- #: public/editor-build/220-wp/texts.php:408
2245
  msgid "Inset"
2246
  msgstr ""
2247
 
2248
- #: public/editor-build/220-wp/texts.php:409
2249
  msgid "Intro"
2250
  msgstr ""
2251
 
2252
- #: public/editor-build/220-wp/texts.php:410
2253
  msgid "Invalid api data"
2254
  msgstr ""
2255
 
2256
- #: public/editor-build/220-wp/texts.php:411
2257
  msgid "It's a sample"
2258
  msgstr ""
2259
 
2260
- #: public/editor-build/220-wp/texts.php:412
2261
  msgid "Italian"
2262
  msgstr ""
2263
 
2264
- #: public/editor-build/220-wp/texts.php:413
2265
  msgid "Italic"
2266
  msgstr ""
2267
 
2268
- #: public/editor-build/220-wp/texts.php:414
2269
  msgid "Item"
2270
  msgstr ""
2271
 
2272
- #: public/editor-build/220-wp/texts.php:415
2273
  msgid "JackInTheBox"
2274
  msgstr ""
2275
 
2276
- #: public/editor-build/220-wp/texts.php:416
2277
  msgid "Jello"
2278
  msgstr ""
2279
 
2280
- #: public/editor-build/220-wp/texts.php:417
2281
  msgid "Keyboard Shortcuts"
2282
  msgstr ""
2283
 
2284
- #: public/editor-build/220-wp/texts.php:418
2285
  msgid "Label"
2286
  msgstr ""
2287
 
2288
- #: public/editor-build/220-wp/texts.php:419
2289
  msgid "Language"
2290
  msgstr ""
2291
 
2292
- #: public/editor-build/220-wp/texts.php:420
2293
  msgid "Last Name"
2294
  msgstr ""
2295
 
2296
- #: public/editor-build/220-wp/texts.php:421
2297
  msgid "Lateral"
2298
  msgstr ""
2299
 
2300
- #: public/editor-build/220-wp/texts.php:422
2301
  msgid "Layout"
2302
  msgstr ""
2303
 
2304
- #: public/editor-build/220-wp/texts.php:423
2305
  msgid "Layouts"
2306
  msgstr ""
2307
 
2308
- #: public/editor-build/220-wp/texts.php:424
2309
  msgid "Left"
2310
  msgstr ""
2311
 
2312
- #: public/editor-build/220-wp/texts.php:425
2313
  msgid "Letter Sp."
2314
  msgstr ""
2315
 
2316
- #: public/editor-build/220-wp/texts.php:426
2317
  msgid "Light"
2318
  msgstr ""
2319
 
2320
- #: public/editor-build/220-wp/texts.php:427
2321
  msgid "LightSpeedIn"
2322
  msgstr ""
2323
 
2324
- #: public/editor-build/220-wp/texts.php:428
2325
  msgid "Like"
2326
  msgstr ""
2327
 
2328
- #: public/editor-build/220-wp/texts.php:429
2329
  msgid "Line"
2330
  msgstr ""
2331
 
2332
- #: public/editor-build/220-wp/texts.php:430
2333
  msgid "Line Hgt."
2334
  msgstr ""
2335
 
2336
- #: public/editor-build/220-wp/texts.php:431
2337
  msgid "Linear"
2338
  msgstr ""
2339
 
2340
- #: public/editor-build/220-wp/texts.php:432
2341
  msgid "Link"
2342
  msgstr ""
2343
 
2344
- #: public/editor-build/220-wp/texts.php:433
2345
  msgid "Link to"
2346
  msgstr ""
2347
 
2348
- #: public/editor-build/220-wp/texts.php:434
2349
  msgid "Links"
2350
  msgstr ""
2351
 
2352
- #: public/editor-build/220-wp/texts.php:435
2353
  msgid "List"
2354
  msgstr ""
2355
 
2356
- #: public/editor-build/220-wp/texts.php:436
2357
  msgid "List are not created please connect the support"
2358
  msgstr ""
2359
 
2360
- #: public/editor-build/220-wp/texts.php:437
2361
  msgid "Lists are empty. Please add a new list and try again."
2362
  msgstr ""
2363
 
2364
- #: public/editor-build/220-wp/texts.php:438
2365
  msgid "Loading..."
2366
  msgstr ""
2367
 
2368
- #: public/editor-build/220-wp/texts.php:439
2369
  msgid "Locked"
2370
  msgstr ""
2371
 
2372
- #: public/editor-build/220-wp/texts.php:440
2373
  msgid "Login"
2374
  msgstr ""
2375
 
2376
- #: public/editor-build/220-wp/texts.php:441
2377
  msgid "Login Submit"
2378
  msgstr ""
2379
 
2380
- #: public/editor-build/220-wp/texts.php:442
2381
  msgid "Logout"
2382
  msgstr ""
2383
 
2384
- #: public/editor-build/220-wp/texts.php:443
2385
  msgid "Loop"
2386
  msgstr ""
2387
 
2388
- #: public/editor-build/220-wp/texts.php:444
2389
  msgid "Lost Password"
2390
  msgstr ""
2391
 
2392
- #: public/editor-build/220-wp/texts.php:445
2393
  msgid "Lottie"
2394
  msgstr ""
2395
 
2396
- #: public/editor-build/220-wp/texts.php:446
2397
  msgid "Lottie File"
2398
  msgstr ""
2399
 
2400
- #: public/editor-build/220-wp/texts.php:447
2401
  msgid "Lottie Link"
2402
  msgstr ""
2403
 
2404
- #: public/editor-build/220-wp/texts.php:448
2405
  msgid "Main"
2406
  msgstr ""
2407
 
2408
- #: public/editor-build/220-wp/texts.php:449
2409
  msgid "Make it Global"
2410
  msgstr ""
2411
 
2412
- #: public/editor-build/220-wp/texts.php:450
2413
  msgid "Make it Hamburger"
2414
  msgstr ""
2415
 
2416
- #: public/editor-build/220-wp/texts.php:451
2417
  msgid "Make it Nofollow"
2418
  msgstr ""
2419
 
2420
- #: public/editor-build/220-wp/texts.php:452
2421
  msgid "Make it a Slider"
2422
  msgstr ""
2423
 
2424
- #: public/editor-build/220-wp/texts.php:453
2425
  msgid "Manual"
2426
  msgstr ""
2427
 
2428
- #: public/editor-build/220-wp/texts.php:454
2429
  msgid "Map"
2430
  msgstr ""
2431
 
2432
- #: public/editor-build/220-wp/texts.php:455
2433
  msgid "Margin"
2434
  msgstr ""
2435
 
2436
- #: public/editor-build/220-wp/texts.php:456
2437
  msgid "Mask"
2438
  msgstr ""
2439
 
2440
- #: public/editor-build/220-wp/texts.php:457
2441
  msgid "Max"
2442
  msgstr ""
2443
 
2444
- #: public/editor-build/220-wp/texts.php:458
2445
  msgid "Max Date"
2446
  msgstr ""
2447
 
2448
- #: public/editor-build/220-wp/texts.php:459
2449
  msgid "Max Time"
2450
  msgstr ""
2451
 
2452
- #: public/editor-build/220-wp/texts.php:460
2453
  msgid "Max. File Size"
2454
  msgstr ""
2455
 
2456
- #: public/editor-build/220-wp/texts.php:461
2457
  msgid "Medium"
2458
  msgstr ""
2459
 
2460
- #: public/editor-build/220-wp/texts.php:462
2461
  msgid "Mega Menu"
2462
  msgstr ""
2463
 
2464
- #: public/editor-build/220-wp/texts.php:463
2465
  msgid "Membership"
2466
  msgstr ""
2467
 
2468
- #: public/editor-build/220-wp/texts.php:464
2469
  msgid "Mention"
2470
  msgstr ""
2471
 
2472
- #: public/editor-build/220-wp/texts.php:465
2473
  msgid "Menu"
2474
  msgstr ""
2475
 
2476
- #: public/editor-build/220-wp/texts.php:466
2477
  msgid "Menu Items"
2478
  msgstr ""
2479
 
2480
- #: public/editor-build/220-wp/texts.php:467
2481
  msgid "Menu Order"
2482
  msgstr ""
2483
 
2484
- #: public/editor-build/220-wp/texts.php:468
2485
  msgid "Menu order"
2486
  msgstr ""
2487
 
2488
- #: public/editor-build/220-wp/texts.php:469
2489
  msgid "Message"
2490
  msgstr ""
2491
 
2492
- #: public/editor-build/220-wp/texts.php:470
2493
  msgid "Message not sent"
2494
  msgstr ""
2495
 
2496
- #: public/editor-build/220-wp/texts.php:471
2497
  msgid "Message sent"
2498
  msgstr ""
2499
 
2500
- #: public/editor-build/220-wp/texts.php:472
2501
  msgid "Messages"
2502
  msgstr ""
2503
 
2504
- #: public/editor-build/220-wp/texts.php:473
2505
  msgid "Meta"
2506
  msgstr ""
2507
 
2508
- #: public/editor-build/220-wp/texts.php:474
2509
  msgid "Meta Data"
2510
  msgstr ""
2511
 
2512
- #: public/editor-build/220-wp/texts.php:475
2513
  msgid "Meta Key"
2514
  msgstr ""
2515
 
2516
- #: public/editor-build/220-wp/texts.php:476
2517
  msgid "Meta Value"
2518
  msgstr ""
2519
 
2520
- #: public/editor-build/220-wp/texts.php:477
2521
  msgid "Min"
2522
  msgstr ""
2523
 
2524
- #: public/editor-build/220-wp/texts.php:478
2525
  msgid "Min Date"
2526
  msgstr ""
2527
 
2528
- #: public/editor-build/220-wp/texts.php:479
2529
  msgid "Min Time"
2530
  msgstr ""
2531
 
2532
- #: public/editor-build/220-wp/texts.php:480
2533
  msgid "Minimal"
2534
  msgstr ""
2535
 
2536
- #: public/editor-build/220-wp/texts.php:481
2537
  msgid "Minutes"
2538
  msgstr ""
2539
 
2540
- #: public/editor-build/220-wp/texts.php:482
2541
  msgid "Missing Element"
2542
  msgstr ""
2543
 
2544
- #: public/editor-build/220-wp/texts.php:483
2545
  msgid "Mobile"
2546
  msgstr ""
2547
 
2548
- #: public/editor-build/220-wp/texts.php:484
2549
  msgid "Mobile view"
2550
  msgstr ""
2551
 
2552
- #: public/editor-build/220-wp/texts.php:485
2553
  msgid "Modified"
2554
  msgstr ""
2555
 
2556
- #: public/editor-build/220-wp/texts.php:486
2557
  msgid "More"
2558
  msgstr ""
2559
 
2560
- #: public/editor-build/220-wp/texts.php:487
2561
  msgid "More Settings"
2562
  msgstr ""
2563
 
2564
- #: public/editor-build/220-wp/texts.php:488
2565
  msgid "Move left"
2566
  msgstr ""
2567
 
2568
- #: public/editor-build/220-wp/texts.php:489
2569
  msgid "Move right"
2570
  msgstr ""
2571
 
2572
- #: public/editor-build/220-wp/texts.php:490
2573
  msgid "Multiple Selection"
2574
  msgstr ""
2575
 
2576
- #: public/editor-build/220-wp/texts.php:491
2577
  msgid "Muted"
2578
  msgstr ""
2579
 
2580
- #: public/editor-build/220-wp/texts.php:492
2581
  msgid "My Account"
2582
  msgstr ""
2583
 
2584
- #: public/editor-build/220-wp/texts.php:493
2585
  msgid "N/A"
2586
  msgstr ""
2587
 
2588
- #: public/editor-build/220-wp/texts.php:494
2589
  msgid "Name"
2590
  msgstr ""
2591
 
2592
- #: public/editor-build/220-wp/texts.php:495
2593
  msgid "Native HTML5"
2594
  msgstr ""
2595
 
2596
- #: public/editor-build/220-wp/texts.php:496
2597
  msgid "Nav"
2598
  msgstr ""
2599
 
2600
- #: public/editor-build/220-wp/texts.php:497
2601
  msgid "Navigation"
2602
  msgstr ""
2603
 
2604
- #: public/editor-build/220-wp/texts.php:498
2605
  msgid "Need help"
2606
  msgstr ""
2607
 
2608
- #: public/editor-build/220-wp/texts.php:499
2609
  msgid "New Style #%s"
2610
  msgstr ""
2611
 
2612
- #: public/editor-build/220-wp/texts.php:500
2613
  msgid "No matches found"
2614
  msgstr ""
2615
 
2616
- #: public/editor-build/220-wp/texts.php:501
2617
  msgid "No results"
2618
  msgstr ""
2619
 
2620
- #: public/editor-build/220-wp/texts.php:502
2621
  msgid "Non Profit"
2622
  msgstr ""
2623
 
2624
- #: public/editor-build/220-wp/texts.php:503
2625
  msgid "None"
2626
  msgstr ""
2627
 
2628
- #: public/editor-build/220-wp/texts.php:504
2629
  msgid "Normal"
2630
  msgstr ""
2631
 
2632
- #: public/editor-build/220-wp/texts.php:505
2633
  msgid "Not Required"
2634
  msgstr ""
2635
 
2636
- #: public/editor-build/220-wp/texts.php:506
2637
  msgid "Nothing Found"
2638
  msgstr ""
2639
 
2640
- #: public/editor-build/220-wp/texts.php:507
2641
  msgid "Nothing here yet, make a global block first."
2642
  msgstr ""
2643
 
2644
- #: public/editor-build/220-wp/texts.php:508
2645
  msgid "Nothing here yet, make a global popup first."
2646
  msgstr ""
2647
 
2648
- #: public/editor-build/220-wp/texts.php:509
2649
  msgid "Nothing here yet, save a block first."
2650
  msgstr ""
2651
 
2652
- #: public/editor-build/220-wp/texts.php:510
2653
  msgid "Nothing here yet, save a layout first."
2654
  msgstr ""
2655
 
2656
- #: public/editor-build/220-wp/texts.php:511
2657
  msgid "Nothing here yet, save a popup first."
2658
  msgstr ""
2659
 
2660
- #: public/editor-build/220-wp/texts.php:512
2661
  msgid "Nothing here, please refine your search."
2662
  msgstr ""
2663
 
2664
- #: public/editor-build/220-wp/texts.php:513
2665
  msgid "Nr"
2666
  msgstr ""
2667
 
2668
- #: public/editor-build/220-wp/texts.php:514
2669
  msgid "Number"
2670
  msgstr ""
2671
 
2672
- #: public/editor-build/220-wp/texts.php:515
2673
  msgid "Number of posts"
2674
  msgstr ""
2675
 
2676
- #: public/editor-build/220-wp/texts.php:516
2677
  msgid "Offset"
2678
  msgstr ""
2679
 
2680
- #: public/editor-build/220-wp/texts.php:517
2681
  msgid "On Click"
2682
  msgstr ""
2683
 
2684
- #: public/editor-build/220-wp/texts.php:518
2685
  msgid "On Hover"
2686
  msgstr ""
2687
 
2688
- #: public/editor-build/220-wp/texts.php:519
2689
  msgid "One Page"
2690
  msgstr ""
2691
 
2692
- #: public/editor-build/220-wp/texts.php:520
2693
  msgid "Open In New Tab"
2694
  msgstr ""
2695
 
2696
- #: public/editor-build/220-wp/texts.php:521
2697
  msgid "Open in Lightbox"
2698
  msgstr ""
2699
 
2700
- #: public/editor-build/220-wp/texts.php:522
2701
  msgid "Order"
2702
  msgstr ""
2703
 
2704
- #: public/editor-build/220-wp/texts.php:523
2705
  msgid "Order By"
2706
  msgstr ""
2707
 
2708
- #: public/editor-build/220-wp/texts.php:524
2709
  msgid "Order Tracking"
2710
  msgstr ""
2711
 
2712
- #: public/editor-build/220-wp/texts.php:525
2713
  msgid "Orientation"
2714
  msgstr ""
2715
 
2716
- #: public/editor-build/220-wp/texts.php:526
2717
  msgid "Outline"
2718
  msgstr ""
2719
 
2720
- #: public/editor-build/220-wp/texts.php:527
2721
  msgid "Outset"
2722
  msgstr ""
2723
 
2724
- #: public/editor-build/220-wp/texts.php:528
2725
  msgid "Overlay"
2726
  msgstr ""
2727
 
2728
- #: public/editor-build/220-wp/texts.php:529
2729
  msgid "Overlay "
2730
  msgstr ""
2731
 
2732
- #: public/editor-build/220-wp/texts.php:530
2733
  msgid "P"
2734
  msgstr ""
2735
 
2736
- #: public/editor-build/220-wp/texts.php:531
2737
  msgid "PRE"
2738
  msgstr ""
2739
 
2740
- #: public/editor-build/220-wp/texts.php:532
2741
  msgid "Padding"
2742
  msgstr ""
2743
 
2744
- #: public/editor-build/220-wp/texts.php:533
2745
  msgid "Page"
2746
  msgstr ""
2747
 
2748
- #: public/editor-build/220-wp/texts.php:534
2749
  msgid "Page Layout"
2750
  msgstr ""
2751
 
2752
- #: public/editor-build/220-wp/texts.php:535
2753
  msgid "Page Template"
2754
  msgstr ""
2755
 
2756
- #: public/editor-build/220-wp/texts.php:536
2757
  msgid "Page Title"
2758
  msgstr ""
2759
 
2760
- #: public/editor-build/220-wp/texts.php:537
2761
  msgid "Page title"
2762
  msgstr ""
2763
 
2764
- #: public/editor-build/220-wp/texts.php:538
2765
  msgid "Pages"
2766
  msgstr ""
2767
 
2768
- #: public/editor-build/220-wp/texts.php:539
2769
  msgid "Pagination"
2770
  msgstr ""
2771
 
2772
- #: public/editor-build/220-wp/texts.php:540
2773
  msgid "Paragraph"
2774
  msgstr ""
2775
 
2776
- #: public/editor-build/220-wp/texts.php:541
2777
  msgid "Parallax"
2778
  msgstr ""
2779
 
2780
- #: public/editor-build/220-wp/texts.php:542
2781
  msgid "Parent"
2782
  msgstr ""
2783
 
2784
- #: public/editor-build/220-wp/texts.php:543
2785
  msgid "Password"
2786
  msgstr ""
2787
 
2788
- #: public/editor-build/220-wp/texts.php:544
2789
  msgid "Password and confirm password is not the same"
2790
  msgstr ""
2791
 
2792
- #: public/editor-build/220-wp/texts.php:545
2793
  msgid "Paste"
2794
  msgstr ""
2795
 
2796
- #: public/editor-build/220-wp/texts.php:546
2797
  msgid "Paste Style"
2798
  msgstr ""
2799
 
2800
- #: public/editor-build/220-wp/texts.php:547
2801
  msgid "Paste Styles"
2802
  msgstr ""
2803
 
2804
- #: public/editor-build/220-wp/texts.php:548
2805
  msgid "Paste your WordPress shortcode here ..."
2806
  msgstr ""
2807
 
2808
- #: public/editor-build/220-wp/texts.php:549
2809
  msgid "Paste your code here..."
2810
  msgstr ""
2811
 
2812
- #: public/editor-build/220-wp/texts.php:550
2813
  msgid "Pending"
2814
  msgstr ""
2815
 
2816
- #: public/editor-build/220-wp/texts.php:551
2817
  msgid "Percent"
2818
  msgstr ""
2819
 
2820
- #: public/editor-build/220-wp/texts.php:552
2821
  msgid "Percentage"
2822
  msgstr ""
2823
 
2824
- #: public/editor-build/220-wp/texts.php:553
2825
  msgid "Phone Number"
2826
  msgstr ""
2827
 
2828
- #: public/editor-build/220-wp/texts.php:554
2829
  msgid "Placeholder"
2830
  msgstr ""
2831
 
2832
- #: public/editor-build/220-wp/texts.php:555
2833
  msgid "Plain"
2834
  msgstr ""
2835
 
2836
- #: public/editor-build/220-wp/texts.php:556
2837
  msgid "Play"
2838
  msgstr ""
2839
 
2840
- #: public/editor-build/220-wp/texts.php:557
2841
  msgid "Playlist"
2842
  msgstr ""
2843
 
2844
- #: public/editor-build/220-wp/texts.php:558
2845
  msgid "Playlist Items"
2846
  msgstr ""
2847
 
2848
- #: public/editor-build/220-wp/texts.php:559
2849
  msgid "Plugin Settings"
2850
  msgstr ""
2851
 
2852
- #: public/editor-build/220-wp/texts.php:560
2853
  msgid "Popularity"
2854
  msgstr ""
2855
 
2856
- #: public/editor-build/220-wp/texts.php:561
2857
  msgid "Popup"
2858
  msgstr ""
2859
 
2860
- #: public/editor-build/220-wp/texts.php:562
2861
  msgid "Popup Close Icon"
2862
  msgstr ""
2863
 
2864
- #: public/editor-build/220-wp/texts.php:564
2865
  msgid "Port"
2866
  msgstr ""
2867
 
2868
- #: public/editor-build/220-wp/texts.php:565
2869
  msgid "Portfolio"
2870
  msgstr ""
2871
 
2872
- #: public/editor-build/220-wp/texts.php:566
2873
  msgid "Position"
2874
  msgstr ""
2875
 
2876
- #: public/editor-build/220-wp/texts.php:567
2877
  msgid "Post"
2878
  msgstr ""
2879
 
2880
- #: public/editor-build/220-wp/texts.php:568
2881
  msgid "Post Content"
2882
  msgstr ""
2883
 
2884
- #: public/editor-build/220-wp/texts.php:569
2885
  msgid "Post Excerpt"
2886
  msgstr ""
2887
 
2888
- #: public/editor-build/220-wp/texts.php:570
2889
  msgid "Post Info"
2890
  msgstr ""
2891
 
2892
- #: public/editor-build/220-wp/texts.php:571
2893
  msgid "Post Navigation"
2894
  msgstr ""
2895
 
2896
- #: public/editor-build/220-wp/texts.php:572
2897
  msgid "Post Title"
2898
  msgstr ""
2899
 
2900
- #: public/editor-build/220-wp/texts.php:573
2901
  msgid "Post Type"
2902
  msgstr ""
2903
 
2904
- #: public/editor-build/220-wp/texts.php:574
2905
  msgid "Post info"
2906
  msgstr ""
2907
 
2908
- #: public/editor-build/220-wp/texts.php:575
2909
  msgid "Posts"
2910
  msgstr ""
2911
 
2912
- #: public/editor-build/220-wp/texts.php:576
2913
  msgid "Posts Pagination"
2914
  msgstr ""
2915
 
2916
- #: public/editor-build/220-wp/texts.php:577
2917
  msgid "Posts Tags"
2918
  msgstr ""
2919
 
2920
- #: public/editor-build/220-wp/texts.php:578
2921
  msgid "Prefix"
2922
  msgstr ""
2923
 
2924
- #: public/editor-build/220-wp/texts.php:579
2925
  msgid "Press the button above to add blocks"
2926
  msgstr ""
2927
 
2928
- #: public/editor-build/220-wp/texts.php:580
2929
  msgid "Press the button above to add popup"
2930
  msgstr ""
2931
 
2932
- #: public/editor-build/220-wp/texts.php:581
2933
  msgid "Press the button to add blocks"
2934
  msgstr ""
2935
 
2936
- #: public/editor-build/220-wp/texts.php:582
2937
  msgid "Price"
2938
  msgstr ""
2939
 
2940
- #: public/editor-build/220-wp/texts.php:583
2941
  msgid "Pricing"
2942
  msgstr ""
2943
 
2944
- #: public/editor-build/220-wp/texts.php:584
2945
  msgid "Private"
2946
  msgstr ""
2947
 
2948
- #: public/editor-build/220-wp/texts.php:586
2949
  msgid "Product Attributes"
2950
  msgstr ""
2951
 
2952
- #: public/editor-build/220-wp/texts.php:587
2953
  msgid "Product Breadcrumbs"
2954
  msgstr ""
2955
 
2956
- #: public/editor-build/220-wp/texts.php:588
2957
  msgid "Product Content"
2958
  msgstr ""
2959
 
2960
- #: public/editor-build/220-wp/texts.php:589
2961
  msgid "Product Excerpt"
2962
  msgstr ""
2963
 
2964
- #: public/editor-build/220-wp/texts.php:590
2965
  msgid "Product Gallery"
2966
  msgstr ""
2967
 
2968
- #: public/editor-build/220-wp/texts.php:591
2969
  msgid "Product ID"
2970
  msgstr ""
2971
 
2972
- #: public/editor-build/220-wp/texts.php:592
2973
  msgid "Product ID or SKU"
2974
  msgstr ""
2975
 
2976
- #: public/editor-build/220-wp/texts.php:593
2977
  msgid "Product Meta"
2978
  msgstr ""
2979
 
2980
- #: public/editor-build/220-wp/texts.php:594
2981
  msgid "Product Price"
2982
  msgstr ""
2983
 
2984
- #: public/editor-build/220-wp/texts.php:595
2985
  msgid "Product Rating"
2986
  msgstr ""
2987
 
2988
- #: public/editor-build/220-wp/texts.php:596
2989
  msgid "Product Sku"
2990
  msgstr ""
2991
 
2992
- #: public/editor-build/220-wp/texts.php:597
2993
  msgid "Product Stock"
2994
  msgstr ""
2995
 
2996
- #: public/editor-build/220-wp/texts.php:598
2997
  msgid "Product Thumbnail"
2998
  msgstr ""
2999
 
3000
- #: public/editor-build/220-wp/texts.php:599
3001
  msgid "Product Title"
3002
  msgstr ""
3003
 
3004
- #: public/editor-build/220-wp/texts.php:600
3005
  msgid "Products"
3006
  msgstr ""
3007
 
3008
- #: public/editor-build/220-wp/texts.php:601
3009
  msgid "Products Count"
3010
  msgstr ""
3011
 
3012
- #: public/editor-build/220-wp/texts.php:602
3013
  msgid "Products Pagination"
3014
  msgstr ""
3015
 
3016
- #: public/editor-build/220-wp/texts.php:603
3017
  msgid "Products Tags"
3018
  msgstr ""
3019
 
3020
- #: public/editor-build/220-wp/texts.php:604
3021
  msgid "Progress"
3022
  msgstr ""
3023
 
3024
- #: public/editor-build/220-wp/texts.php:605
3025
  msgid "Protected Form"
3026
  msgstr ""
3027
 
3028
- #: public/editor-build/220-wp/texts.php:606
3029
  msgid "Protected Page"
3030
  msgstr ""
3031
 
3032
- #: public/editor-build/220-wp/texts.php:607
3033
  msgid "Publish"
3034
  msgstr ""
3035
 
3036
- #: public/editor-build/220-wp/texts.php:608
3037
  msgid "Publish Page"
3038
  msgstr ""
3039
 
3040
- #: public/editor-build/220-wp/texts.php:609
3041
  msgid "Pulse"
3042
  msgstr ""
3043
 
3044
- #: public/editor-build/220-wp/texts.php:610
3045
  msgid "Quantity"
3046
  msgstr ""
3047
 
3048
- #: public/editor-build/220-wp/texts.php:611
3049
  msgid "Query"
3050
  msgstr ""
3051
 
3052
- #: public/editor-build/220-wp/texts.php:612
3053
  msgid "Radial"
3054
  msgstr ""
3055
 
3056
- #: public/editor-build/220-wp/texts.php:613
3057
  msgid "Radio"
3058
  msgstr ""
3059
 
3060
- #: public/editor-build/220-wp/texts.php:614
3061
  msgid "Random"
3062
  msgstr ""
3063
 
3064
- #: public/editor-build/220-wp/texts.php:615
3065
  msgid "Rating"
3066
  msgstr ""
3067
 
3068
- #: public/editor-build/220-wp/texts.php:616
3069
  msgid "Ratio"
3070
  msgstr ""
3071
 
3072
- #: public/editor-build/220-wp/texts.php:617
3073
  msgid "ReCAPTCHA"
3074
  msgstr ""
3075
 
3076
- #: public/editor-build/220-wp/texts.php:618
3077
  msgid "Real-Estate"
3078
  msgstr ""
3079
 
3080
- #: public/editor-build/220-wp/texts.php:619
3081
  msgid "Recommend"
3082
  msgstr ""
3083
 
3084
- #: public/editor-build/220-wp/texts.php:620
3085
  msgid "Redirect"
3086
  msgstr ""
3087
 
3088
- #: public/editor-build/220-wp/texts.php:621
3089
  msgid "Redirect After Login"
3090
  msgstr ""
3091
 
3092
- #: public/editor-build/220-wp/texts.php:622
3093
  msgid "Redirect After Logout"
3094
  msgstr ""
3095
 
3096
- #: public/editor-build/220-wp/texts.php:623
3097
  msgid "Redo"
3098
  msgstr ""
3099
 
3100
- #: public/editor-build/220-wp/texts.php:624
3101
  msgid "Refresh"
3102
  msgstr ""
3103
 
3104
- #: public/editor-build/220-wp/texts.php:625
3105
  msgid "Register"
3106
  msgstr ""
3107
 
3108
- #: public/editor-build/220-wp/texts.php:626
3109
  msgid "Register Info"
3110
  msgstr ""
3111
 
3112
- #: public/editor-build/220-wp/texts.php:627
3113
  msgid "Related Products"
3114
  msgstr ""
3115
 
3116
- #: public/editor-build/220-wp/texts.php:628
3117
  msgid "Related Products Pagination"
3118
  msgstr ""
3119
 
3120
- #: public/editor-build/220-wp/texts.php:629
3121
  msgid "Related Products Tags"
3122
  msgstr ""
3123
 
3124
- #: public/editor-build/220-wp/texts.php:630
3125
  msgid "Religion"
3126
  msgstr ""
3127
 
3128
- #: public/editor-build/220-wp/texts.php:631
3129
  msgid "Remember me"
3130
  msgstr ""
3131
 
3132
- #: public/editor-build/220-wp/texts.php:632
3133
  msgid "Renderer"
3134
  msgstr ""
3135
 
3136
- #: public/editor-build/220-wp/texts.php:633
3137
  msgid "Reorder Blocks"
3138
  msgstr ""
3139
 
3140
- #: public/editor-build/220-wp/texts.php:634
3141
  msgid "Repair"
3142
  msgstr ""
3143
 
3144
- #: public/editor-build/220-wp/texts.php:635
3145
  msgid "Replace global styling"
3146
  msgstr ""
3147
 
3148
- #: public/editor-build/220-wp/texts.php:636
3149
  msgid "Reply"
3150
  msgstr ""
3151
 
3152
- #: public/editor-build/220-wp/texts.php:637
3153
  msgid "Reply-To"
3154
  msgstr ""
3155
 
3156
- #: public/editor-build/220-wp/texts.php:638
3157
  msgid "Required"
3158
  msgstr ""
3159
 
3160
- #: public/editor-build/220-wp/texts.php:639
3161
  msgid "Reset Password"
3162
  msgstr ""
3163
 
3164
- #: public/editor-build/220-wp/texts.php:640
3165
  msgid "Responsive Zoom In / Out"
3166
  msgstr ""
3167
 
3168
- #: public/editor-build/220-wp/texts.php:641
3169
  msgid "Reverse"
3170
  msgstr ""
3171
 
3172
- #: public/editor-build/220-wp/texts.php:642
3173
  msgid "Reverse Columns"
3174
  msgstr ""
3175
 
3176
- #: public/editor-build/220-wp/texts.php:643
3177
  msgid "Review"
3178
  msgstr ""
3179
 
3180
- #: public/editor-build/220-wp/texts.php:644
3181
  msgid "Right"
3182
  msgstr ""
3183
 
3184
- #: public/editor-build/220-wp/texts.php:646
3185
  msgid "RollIn"
3186
  msgstr ""
3187
 
3188
- #: public/editor-build/220-wp/texts.php:647
3189
  msgid "Rotate"
3190
  msgstr ""
3191
 
3192
- #: public/editor-build/220-wp/texts.php:648
3193
  msgid "RotateIn"
3194
  msgstr ""
3195
 
3196
- #: public/editor-build/220-wp/texts.php:649
3197
  msgid "RotateInDownLeft"
3198
  msgstr ""
3199
 
3200
- #: public/editor-build/220-wp/texts.php:650
3201
  msgid "RotateInDownRight"
3202
  msgstr ""
3203
 
3204
- #: public/editor-build/220-wp/texts.php:651
3205
  msgid "RotateInUpLeft"
3206
  msgstr ""
3207
 
3208
- #: public/editor-build/220-wp/texts.php:652
3209
  msgid "RotateInUpRight"
3210
  msgstr ""
3211
 
3212
- #: public/editor-build/220-wp/texts.php:653
3213
  msgid "Round"
3214
  msgstr ""
3215
 
3216
- #: public/editor-build/220-wp/texts.php:654
3217
  msgid "Row"
3218
  msgstr ""
3219
 
3220
- #: public/editor-build/220-wp/texts.php:655
3221
  msgid "Rows"
3222
  msgstr ""
3223
 
3224
- #: public/editor-build/220-wp/texts.php:656
3225
  msgid "RubberBand"
3226
  msgstr ""
3227
 
3228
- #: public/editor-build/220-wp/texts.php:657
3229
  msgid "Russian"
3230
  msgstr ""
3231
 
3232
- #: public/editor-build/220-wp/texts.php:658
3233
  msgid "SELECT ACCOUNT"
3234
  msgstr ""
3235
 
3236
- #: public/editor-build/220-wp/texts.php:659
3237
  msgid "SELECT FOR WHAT TEMPLATE IS USED"
3238
  msgstr ""
3239
 
3240
- #: public/editor-build/220-wp/texts.php:660
3241
  msgid "SELECT LIST"
3242
  msgstr ""
3243
 
3244
- #: public/editor-build/220-wp/texts.php:661
3245
  msgid "SPAN"
3246
  msgstr ""
3247
 
3248
- #: public/editor-build/220-wp/texts.php:662
3249
  msgid "START BUILDING YOUR PAGE"
3250
  msgstr ""
3251
 
3252
- #: public/editor-build/220-wp/texts.php:663
3253
  msgid "START BUILDING YOUR POPUP"
3254
  msgstr ""
3255
 
3256
- #: public/editor-build/220-wp/texts.php:664
3257
  msgid "SWITCH TO DESKTOP"
3258
  msgstr ""
3259
 
3260
- #: public/editor-build/220-wp/texts.php:665
3261
  msgid "Sale"
3262
  msgstr ""
3263
 
3264
- #: public/editor-build/220-wp/texts.php:666
3265
  msgid "Same Page"
3266
  msgstr ""
3267
 
3268
- #: public/editor-build/220-wp/texts.php:667
3269
  msgid "Save"
3270
  msgstr ""
3271
 
3272
- #: public/editor-build/220-wp/texts.php:668
3273
  msgid "Save Draft"
3274
  msgstr ""
3275
 
3276
- #: public/editor-build/220-wp/texts.php:669
3277
  msgid "Save Draft / Update Page"
3278
  msgstr ""
3279
 
3280
- #: public/editor-build/220-wp/texts.php:670
3281
  msgid "Save Layout"
3282
  msgstr ""
3283
 
3284
- #: public/editor-build/220-wp/texts.php:671
3285
  msgid "Saved"
3286
  msgstr ""
3287
 
3288
- #: public/editor-build/220-wp/texts.php:672
3289
  msgid "Saved Library is syncing to your Account"
3290
  msgstr ""
3291
 
3292
- #: public/editor-build/220-wp/texts.php:673
3293
  msgid "Saved Popups"
3294
  msgstr ""
3295
 
3296
- #: public/editor-build/220-wp/texts.php:674
3297
  msgid "Saving"
3298
  msgstr ""
3299
 
3300
- #: public/editor-build/220-wp/texts.php:675
3301
  msgid "Scroll Page Behind"
3302
  msgstr ""
3303
 
3304
- #: public/editor-build/220-wp/texts.php:676
3305
  msgid "Search"
3306
  msgstr ""
3307
 
3308
- #: public/editor-build/220-wp/texts.php:677
3309
  msgid "Search element"
3310
  msgstr ""
3311
 
3312
- #: public/editor-build/220-wp/texts.php:678
3313
  msgid "Searching..."
3314
  msgstr ""
3315
 
3316
- #: public/editor-build/220-wp/texts.php:679
3317
  msgid "Seconds"
3318
  msgstr ""
3319
 
3320
- #: public/editor-build/220-wp/texts.php:680
3321
  msgid "Section"
3322
  msgstr ""
3323
 
3324
- #: public/editor-build/220-wp/texts.php:681
3325
  msgid "Select"
3326
  msgstr ""
3327
 
3328
- #: public/editor-build/220-wp/texts.php:682
3329
  msgid "Select Parent Element"
3330
  msgstr ""
3331
 
3332
- #: public/editor-build/220-wp/texts.php:683
3333
  msgid "Select a Menu"
3334
  msgstr ""
3335
 
3336
- #: public/editor-build/220-wp/texts.php:684
3337
  msgid "Select a menu from the element options"
3338
  msgstr ""
3339
 
3340
- #: public/editor-build/220-wp/texts.php:685
3341
  msgid "Select an element on the page to display more settings"
3342
  msgstr ""
3343
 
3344
- #: public/editor-build/220-wp/texts.php:686
3345
  msgid "Select tags"
3346
  msgstr ""
3347
 
3348
- #: public/editor-build/220-wp/texts.php:687
3349
  msgid "Semi Bold"
3350
  msgstr ""
3351
 
3352
- #: public/editor-build/220-wp/texts.php:688
3353
  msgid "Separator"
3354
  msgstr ""
3355
 
3356
- #: public/editor-build/220-wp/texts.php:690
3357
  msgid "Shadow"
3358
  msgstr ""
3359
 
3360
- #: public/editor-build/220-wp/texts.php:691
3361
  msgid "Shake"
3362
  msgstr ""
3363
 
3364
- #: public/editor-build/220-wp/texts.php:692
3365
  msgid "Shape"
3366
  msgstr ""
3367
 
3368
- #: public/editor-build/220-wp/texts.php:693
3369
  msgid "Shop Cart"
3370
  msgstr ""
3371
 
3372
- #: public/editor-build/220-wp/texts.php:694
3373
  msgid "Shop Categories"
3374
  msgstr ""
3375
 
3376
- #: public/editor-build/220-wp/texts.php:695
3377
  msgid "Shop Pages"
3378
  msgstr ""
3379
 
3380
- #: public/editor-build/220-wp/texts.php:696
3381
  msgid "Shop Products"
3382
  msgstr ""
3383
 
3384
- #: public/editor-build/220-wp/texts.php:697
3385
  msgid "Shortcode"
3386
  msgstr ""
3387
 
3388
- #: public/editor-build/220-wp/texts.php:698
3389
  msgid "Shortcuts"
3390
  msgstr ""
3391
 
3392
- #: public/editor-build/220-wp/texts.php:699
3393
  msgid "Shortname"
3394
  msgstr ""
3395
 
3396
- #: public/editor-build/220-wp/texts.php:700
3397
  msgid "Show Button Counter"
3398
  msgstr ""
3399
 
3400
- #: public/editor-build/220-wp/texts.php:701
3401
  msgid "Show Friend's Faces"
3402
  msgstr ""
3403
 
3404
- #: public/editor-build/220-wp/texts.php:702
3405
  msgid "Show Friends' Faces"
3406
  msgstr ""
3407
 
3408
- #: public/editor-build/220-wp/texts.php:703
3409
  msgid "Show Hidden Elements"
3410
  msgstr ""
3411
 
3412
- #: public/editor-build/220-wp/texts.php:704
3413
  msgid "Show Meta Data"
3414
  msgstr ""
3415
 
3416
- #: public/editor-build/220-wp/texts.php:705
3417
  msgid "Show Social Context"
3418
  msgstr ""
3419
 
3420
- #: public/editor-build/220-wp/texts.php:706
3421
  msgid "Show message"
3422
  msgstr ""
3423
 
3424
- #: public/editor-build/220-wp/texts.php:707
3425
  msgid "Show on Desktop"
3426
  msgstr ""
3427
 
3428
- #: public/editor-build/220-wp/texts.php:708
3429
  msgid "Show to"
3430
  msgstr ""
3431
 
3432
- #: public/editor-build/220-wp/texts.php:709
3433
  msgid "Sidebar"
3434
  msgstr ""
3435
 
3436
- #: public/editor-build/220-wp/texts.php:710
3437
  msgid "SignUp"
3438
  msgstr ""
3439
 
3440
- #: public/editor-build/220-wp/texts.php:711
3441
  msgid "Size"
3442
  msgstr ""
3443
 
3444
- #: public/editor-build/220-wp/texts.php:712
3445
  msgid "Skin"
3446
  msgstr ""
3447
 
3448
- #: public/editor-build/220-wp/texts.php:713
3449
  msgid "Skin 1"
3450
  msgstr ""
3451
 
3452
- #: public/editor-build/220-wp/texts.php:714
3453
  msgid "Skin 2"
3454
  msgstr ""
3455
 
3456
- #: public/editor-build/220-wp/texts.php:715
3457
  msgid "Skin 3"
3458
  msgstr ""
3459
 
3460
- #: public/editor-build/220-wp/texts.php:716
3461
  msgid "Skin 4"
3462
  msgstr ""
3463
 
3464
- #: public/editor-build/220-wp/texts.php:717
3465
  msgid "Skip"
3466
  msgstr ""
3467
 
3468
- #: public/editor-build/220-wp/texts.php:718
3469
  msgid "Sku"
3470
  msgstr ""
3471
 
3472
- #: public/editor-build/220-wp/texts.php:719
3473
  msgid "Slide"
3474
  msgstr ""
3475
 
3476
- #: public/editor-build/220-wp/texts.php:720
3477
  msgid "SlideInDown"
3478
  msgstr ""
3479
 
3480
- #: public/editor-build/220-wp/texts.php:721
3481
  msgid "SlideInLeft"
3482
  msgstr ""
3483
 
3484
- #: public/editor-build/220-wp/texts.php:722
3485
  msgid "SlideInRight"
3486
  msgstr ""
3487
 
3488
- #: public/editor-build/220-wp/texts.php:723
3489
  msgid "SlideInUp"
3490
  msgstr ""
3491
 
3492
- #: public/editor-build/220-wp/texts.php:724
3493
  msgid "Slider"
3494
  msgstr ""
3495
 
3496
- #: public/editor-build/220-wp/texts.php:725
3497
  msgid "Slides"
3498
  msgstr ""
3499
 
3500
- #: public/editor-build/220-wp/texts.php:726
3501
  msgid "Slug"
3502
  msgstr ""
3503
 
3504
- #: public/editor-build/220-wp/texts.php:727
3505
  msgid "Solid"
3506
  msgstr ""
3507
 
3508
- #: public/editor-build/220-wp/texts.php:728
3509
  msgid "Some integrations are available only in PRO"
3510
  msgstr ""
3511
 
3512
- #: public/editor-build/220-wp/texts.php:729
3513
  msgid "Something went wrong"
3514
  msgstr ""
3515
 
3516
- #: public/editor-build/220-wp/texts.php:730
3517
  msgid "SoundCloud"
3518
  msgstr ""
3519
 
3520
- #: public/editor-build/220-wp/texts.php:731
3521
  msgid "SoundCloud Link"
3522
  msgstr ""
3523
 
3524
- #: public/editor-build/220-wp/texts.php:732
3525
  msgid "Source"
3526
  msgstr ""
3527
 
3528
- #: public/editor-build/220-wp/texts.php:733
3529
  msgid "Source ID"
3530
  msgstr ""
3531
 
3532
- #: public/editor-build/220-wp/texts.php:734
3533
  msgid "Source Type"
3534
  msgstr ""
3535
 
3536
- #: public/editor-build/220-wp/texts.php:735
3537
  msgid "Spacer"
3538
  msgstr ""
3539
 
3540
- #: public/editor-build/220-wp/texts.php:736
3541
  msgid "Spacing"
3542
  msgstr ""
3543
 
3544
- #: public/editor-build/220-wp/texts.php:737
3545
  msgid "Span"
3546
  msgstr ""
3547
 
3548
- #: public/editor-build/220-wp/texts.php:738
3549
  msgid "Spanish"
3550
  msgstr ""
3551
 
3552
- #: public/editor-build/220-wp/texts.php:739
3553
  msgid "Specify a start time (in seconds)"
3554
  msgstr ""
3555
 
3556
- #: public/editor-build/220-wp/texts.php:740
3557
  msgid "Specify an end time (in seconds)"
3558
  msgstr ""
3559
 
3560
- #: public/editor-build/220-wp/texts.php:741
3561
  msgid "Speed"
3562
  msgstr ""
3563
 
3564
- #: public/editor-build/220-wp/texts.php:742
3565
  msgid "Sport"
3566
  msgstr ""
3567
 
3568
- #: public/editor-build/220-wp/texts.php:743
3569
  msgid "Square"
3570
  msgstr ""
3571
 
3572
- #: public/editor-build/220-wp/texts.php:744
3573
  msgid "Stars"
3574
  msgstr ""
3575
 
3576
- #: public/editor-build/220-wp/texts.php:745
3577
  msgid "Stars Bg"
3578
  msgstr ""
3579
 
3580
- #: public/editor-build/220-wp/texts.php:746
3581
  msgid "Start"
3582
  msgstr ""
3583
 
3584
- #: public/editor-build/220-wp/texts.php:747
3585
  msgid "Static"
3586
  msgstr ""
3587
 
3588
- #: public/editor-build/220-wp/texts.php:748
3589
  msgid "Status"
3590
  msgstr ""
3591
 
3592
- #: public/editor-build/220-wp/texts.php:749
3593
  msgid "Sticky"
3594
  msgstr ""
3595
 
3596
- #: public/editor-build/220-wp/texts.php:750
3597
  msgid "Stock"
3598
  msgstr ""
3599
 
3600
- #: public/editor-build/220-wp/texts.php:752
3601
  msgid "Story"
3602
  msgstr ""
3603
 
3604
- #: public/editor-build/220-wp/texts.php:753
3605
  msgid "Strike"
3606
  msgstr ""
3607
 
3608
- #: public/editor-build/220-wp/texts.php:754
3609
  msgid "Style"
3610
  msgstr ""
3611
 
3612
- #: public/editor-build/220-wp/texts.php:755
3613
  msgid "Styles"
3614
  msgstr ""
3615
 
3616
- #: public/editor-build/220-wp/texts.php:756
3617
  msgid "Styling"
3618
  msgstr ""
3619
 
3620
- #: public/editor-build/220-wp/texts.php:757
3621
  msgid "Sub Title"
3622
  msgstr ""
3623
 
3624
- #: public/editor-build/220-wp/texts.php:758
3625
  msgid "Subject"
3626
  msgstr ""
3627
 
3628
- #: public/editor-build/220-wp/texts.php:759
3629
  msgid "Subtotal"
3630
  msgstr ""
3631
 
3632
- #: public/editor-build/220-wp/texts.php:760
3633
  msgid "Success"
3634
  msgstr ""
3635
 
3636
- #: public/editor-build/220-wp/texts.php:761
3637
  msgid "Suffix"
3638
  msgstr ""
3639
 
3640
- #: public/editor-build/220-wp/texts.php:762
3641
  msgid "Support"
3642
  msgstr ""
3643
 
3644
- #: public/editor-build/220-wp/texts.php:763
3645
  msgid "Swing"
3646
  msgstr ""
3647
 
3648
- #: public/editor-build/220-wp/texts.php:764
3649
  msgid "Switch to Draft"
3650
  msgstr ""
3651
 
3652
- #: public/editor-build/220-wp/texts.php:765
3653
  msgid "Switch to desktop to add blocks"
3654
  msgstr ""
3655
 
3656
- #: public/editor-build/220-wp/texts.php:766
3657
  msgid "Switch to desktop to add popup"
3658
  msgstr ""
3659
 
3660
- #: public/editor-build/220-wp/texts.php:767
3661
  msgid "Switcher"
3662
  msgstr ""
3663
 
3664
- #: public/editor-build/220-wp/texts.php:768
3665
  msgid "Switcher Tabs"
3666
  msgstr ""
3667
 
3668
- #: public/editor-build/220-wp/texts.php:769
3669
  msgid "Sync Now"
3670
  msgstr ""
3671
 
3672
- #: public/editor-build/220-wp/texts.php:770
3673
  msgid "TTF File"
3674
  msgstr ""
3675
 
3676
- #: public/editor-build/220-wp/texts.php:771
3677
  msgid "Tab"
3678
  msgstr ""
3679
 
3680
- #: public/editor-build/220-wp/texts.php:772
3681
  msgid "Table"
3682
  msgstr ""
3683
 
3684
- #: public/editor-build/220-wp/texts.php:773
3685
  msgid "Table Head"
3686
  msgstr ""
3687
 
3688
- #: public/editor-build/220-wp/texts.php:774
3689
  msgid "Table Sidebar"
3690
  msgstr ""
3691
 
3692
- #: public/editor-build/220-wp/texts.php:775
3693
  msgid "Tablet"
3694
  msgstr ""
3695
 
3696
- #: public/editor-build/220-wp/texts.php:776
3697
  msgid "Tabs"
3698
  msgstr ""
3699
 
3700
- #: public/editor-build/220-wp/texts.php:777
3701
  msgid "Tabs Items"
3702
  msgstr ""
3703
 
3704
- #: public/editor-build/220-wp/texts.php:778
3705
  msgid "Tada"
3706
  msgstr ""
3707
 
3708
- #: public/editor-build/220-wp/texts.php:779
3709
  msgid "Tags"
3710
  msgstr ""
3711
 
3712
- #: public/editor-build/220-wp/texts.php:780
3713
  msgid "Tail"
3714
  msgstr ""
3715
 
3716
- #: public/editor-build/220-wp/texts.php:781
3717
  msgid "Take over"
3718
  msgstr ""
3719
 
3720
- #: public/editor-build/220-wp/texts.php:782
3721
  msgid "Take over failed please refresh the page"
3722
  msgstr ""
3723
 
3724
- #: public/editor-build/220-wp/texts.php:783
3725
  msgid "Target URL"
3726
  msgstr ""
3727
 
3728
- #: public/editor-build/220-wp/texts.php:784
3729
  msgid "Team"
3730
  msgstr ""
3731
 
3732
- #: public/editor-build/220-wp/texts.php:785
3733
  msgid "Tel"
3734
  msgstr ""
3735
 
3736
- #: public/editor-build/220-wp/texts.php:786
3737
  msgid "Testimonials"
3738
  msgstr ""
3739
 
3740
- #: public/editor-build/220-wp/texts.php:787
3741
  msgid "Text"
3742
  msgstr ""
3743
 
3744
- #: public/editor-build/220-wp/texts.php:788
3745
  msgid "The element you have selected doesn't have more settings"
3746
  msgstr ""
3747
 
3748
- #: public/editor-build/220-wp/texts.php:789
3749
  msgid "The email address format is not valid"
3750
  msgstr ""
3751
 
3752
- #: public/editor-build/220-wp/texts.php:790
3753
  msgid "The integration is not responding, please try again or verify the account credentials"
3754
  msgstr ""
3755
 
3756
- #: public/editor-build/220-wp/texts.php:791
3757
  msgid "Theme"
3758
  msgstr ""
3759
 
3760
- #: public/editor-build/220-wp/texts.php:792
3761
  msgid "There are no choices"
3762
  msgstr ""
3763
 
3764
- #: public/editor-build/220-wp/texts.php:793
3765
  msgid "Thin"
3766
  msgstr ""
3767
 
3768
- #: public/editor-build/220-wp/texts.php:794
3769
  msgid "This is Lottie .json URL. Get more from LottieFiles.com."
3770
  msgstr ""
3771
 
3772
- #: public/editor-build/220-wp/texts.php:795
3773
  msgid "This page needs a refresh. You’ve probably updated this page (or another page) in a different tab or browser."
3774
  msgstr ""
3775
 
3776
- #: public/editor-build/220-wp/texts.php:796
3777
  msgid "Thumbs"
3778
  msgstr ""
3779
 
3780
- #: public/editor-build/220-wp/texts.php:797
3781
  msgid "Time"
3782
  msgstr ""
3783
 
3784
- #: public/editor-build/220-wp/texts.php:798
3785
  msgid "Time Zone"
3786
  msgstr ""
3787
 
3788
- #: public/editor-build/220-wp/texts.php:799
3789
  msgid "Timeline"
3790
  msgstr ""
3791
 
3792
- #: public/editor-build/220-wp/texts.php:800
3793
  msgid "Timeline Items"
3794
  msgstr ""
3795
 
3796
- #: public/editor-build/220-wp/texts.php:801
3797
  msgid "Timeline Labels"
3798
  msgstr ""
3799
 
3800
- #: public/editor-build/220-wp/texts.php:802
3801
  msgid "Timer"
3802
  msgstr ""
3803
 
3804
- #: public/editor-build/220-wp/texts.php:803
3805
  msgid "Tip: Use these shortcodes to populate your template"
3806
  msgstr ""
3807
 
3808
- #: public/editor-build/220-wp/texts.php:804
3809
  msgid "Tip: You can browse the Google font library"
3810
  msgstr ""
3811
 
3812
- #: public/editor-build/220-wp/texts.php:805
3813
  msgid "Title"
3814
  msgstr ""
3815
 
3816
- #: public/editor-build/220-wp/texts.php:806
3817
  msgid "Titles"
3818
  msgstr ""
3819
 
3820
- #: public/editor-build/220-wp/texts.php:807
3821
  msgid "To Dashboard"
3822
  msgstr ""
3823
 
3824
- #: public/editor-build/220-wp/texts.php:808
3825
  msgid "Toggle Menu"
3826
  msgstr ""
3827
 
3828
- #: public/editor-build/220-wp/texts.php:809
3829
  msgid "Top"
3830
  msgstr ""
3831
 
3832
- #: public/editor-build/220-wp/texts.php:810
3833
  msgid "Total"
3834
  msgstr ""
3835
 
3836
- #: public/editor-build/220-wp/texts.php:811
3837
  msgid "Trash"
3838
  msgstr ""
3839
 
3840
- #: public/editor-build/220-wp/texts.php:812
3841
  msgid "Travel"
3842
  msgstr ""
3843
 
3844
- #: public/editor-build/220-wp/texts.php:813
3845
  msgid "Trigger Popup Only Once"
3846
  msgstr ""
3847
 
3848
- #: public/editor-build/220-wp/texts.php:814
3849
  msgid "Triggers"
3850
  msgstr ""
3851
 
3852
- #: public/editor-build/220-wp/texts.php:815
3853
  msgid "Try Again"
3854
  msgstr ""
3855
 
3856
- #: public/editor-build/220-wp/texts.php:816
3857
  msgid "Tweet"
3858
  msgstr ""
3859
 
3860
- #: public/editor-build/220-wp/texts.php:817
3861
  msgid "Twitter"
3862
  msgstr ""
3863
 
3864
- #: public/editor-build/220-wp/texts.php:818
3865
  msgid "Type"
3866
  msgstr ""
3867
 
3868
- #: public/editor-build/220-wp/texts.php:819
3869
  msgid "Type to Search ..."
3870
  msgstr ""
3871
 
3872
- #: public/editor-build/220-wp/texts.php:820
3873
  msgid "Type to search"
3874
  msgstr ""
3875
 
3876
- #: public/editor-build/220-wp/texts.php:821
3877
  msgid "Typography"
3878
  msgstr ""
3879
 
3880
- #: public/editor-build/220-wp/texts.php:822
3881
  msgid "UPLOAD"
3882
  msgstr ""
3883
 
3884
- #: public/editor-build/220-wp/texts.php:823
3885
  msgid "UPLOAD FONT"
3886
  msgstr ""
3887
 
3888
- #: public/editor-build/220-wp/texts.php:824
3889
  msgid "URL"
3890
  msgstr ""
3891
 
3892
- #: public/editor-build/220-wp/texts.php:825
3893
  msgid "USE CUSTOM TEMPLATE"
3894
  msgstr ""
3895
 
3896
- #: public/editor-build/220-wp/texts.php:826
3897
  msgid "Unable to insert block. Please try again or contact support"
3898
  msgstr ""
3899
 
3900
- #: public/editor-build/220-wp/texts.php:827
3901
  msgid "Unable to insert layout. Please try again or contact support"
3902
  msgstr ""
3903
 
3904
- #: public/editor-build/220-wp/texts.php:828
3905
  msgid "Unable to insert popup. Please try again or contact support"
3906
  msgstr ""
3907
 
3908
- #: public/editor-build/220-wp/texts.php:829
3909
  msgid "Underline"
3910
  msgstr ""
3911
 
3912
- #: public/editor-build/220-wp/texts.php:830
3913
  msgid "Undo"
3914
  msgstr ""
3915
 
3916
- #: public/editor-build/220-wp/texts.php:831
3917
  msgid "Unlocked"
3918
  msgstr ""
3919
 
3920
- #: public/editor-build/220-wp/texts.php:832
3921
  msgid "Unsuccessful sync"
3922
  msgstr ""
3923
 
3924
- #: public/editor-build/220-wp/texts.php:833
3925
  msgid "Update"
3926
  msgstr ""
3927
 
3928
- #: public/editor-build/220-wp/texts.php:834
3929
  msgid "Upgrade to PRO to use this block"
3930
  msgstr ""
3931
 
3932
- #: public/editor-build/220-wp/texts.php:835
3933
  msgid "Upgrade to PRO to use this element"
3934
  msgstr ""
3935
 
3936
- #: public/editor-build/220-wp/texts.php:836
3937
  msgid "Upgrade to PRO to use this integration"
3938
  msgstr ""
3939
 
3940
- #: public/editor-build/220-wp/texts.php:837
3941
  msgid "Upgrade to PRO to use this layout"
3942
  msgstr ""
3943
 
3944
- #: public/editor-build/220-wp/texts.php:838
3945
  msgid "Upgrade to PRO to use this story"
3946
  msgstr ""
3947
 
3948
- #: public/editor-build/220-wp/texts.php:839
3949
  msgid "Upgrade to Pro"
3950
  msgstr ""
3951
 
3952
- #: public/editor-build/220-wp/texts.php:840
3953
  msgid "Upsell"
3954
  msgstr ""
3955
 
3956
- #: public/editor-build/220-wp/texts.php:841
3957
  msgid "Upsell Pagination"
3958
  msgstr ""
3959
 
3960
- #: public/editor-build/220-wp/texts.php:842
3961
  msgid "Upsell Tags"
3962
  msgstr ""
3963
 
3964
- #: public/editor-build/220-wp/texts.php:843
3965
  msgid "Url"
3966
  msgstr ""
3967
 
3968
- #: public/editor-build/220-wp/texts.php:844
3969
  msgid "Use Small Header"
3970
  msgstr ""
3971
 
3972
- #: public/editor-build/220-wp/texts.php:845
3973
  msgid "Username"
3974
  msgstr ""
3975
 
3976
- #: public/editor-build/220-wp/texts.php:846
3977
  msgid "Users"
3978
  msgstr ""
3979
 
3980
- #: public/editor-build/220-wp/texts.php:847
3981
  msgid "Value"
3982
  msgstr ""
3983
 
3984
- #: public/editor-build/220-wp/texts.php:848
3985
  msgid "Values"
3986
  msgstr ""
3987
 
3988
- #: public/editor-build/220-wp/texts.php:849
3989
  msgid "Variations"
3990
  msgstr ""
3991
 
3992
- #: public/editor-build/220-wp/texts.php:850
3993
  msgid "Verification process failed, please make sure you have done the following three things and try again in a few minutes."
3994
  msgstr ""
3995
 
3996
- #: public/editor-build/220-wp/texts.php:851
3997
  msgid "Vertical"
3998
  msgstr ""
3999
 
4000
- #: public/editor-build/220-wp/texts.php:852
4001
  msgid "Vertical Align"
4002
  msgstr ""
4003
 
4004
- #: public/editor-build/220-wp/texts.php:853
4005
  msgid "Vertical Offset"
4006
  msgstr ""
4007
 
4008
- #: public/editor-build/220-wp/texts.php:854
4009
  msgid "Video"
4010
  msgstr ""
4011
 
4012
- #: public/editor-build/220-wp/texts.php:855
4013
  msgid "View as"
4014
  msgstr ""
4015
 
4016
- #: public/editor-build/220-wp/texts.php:856
4017
  msgid "Vimeo"
4018
  msgstr ""
4019
 
4020
- #: public/editor-build/220-wp/texts.php:857
4021
  msgid "Volume"
4022
  msgstr ""
4023
 
4024
- #: public/editor-build/220-wp/texts.php:858
4025
  msgid "WHAT WILL TRIGGER THE POPUP TO OPEN"
4026
  msgstr ""
4027
 
4028
- #: public/editor-build/220-wp/texts.php:859
4029
  msgid "WHERE DO YOU WANT TO DISPLAY IT?"
4030
  msgstr ""
4031
 
4032
- #: public/editor-build/220-wp/texts.php:860
4033
  msgid "WOFF File"
4034
  msgstr ""
4035
 
4036
- #: public/editor-build/220-wp/texts.php:861
4037
  msgid "WOFF2 File"
4038
  msgstr ""
4039
 
4040
- #: public/editor-build/220-wp/texts.php:862
4041
  msgid "WOOCart"
4042
  msgstr ""
4043
 
4044
- #: public/editor-build/220-wp/texts.php:863
4045
  msgid "WOORating"
4046
  msgstr ""
4047
 
4048
- #: public/editor-build/220-wp/texts.php:864
4049
  msgid "Weight"
4050
  msgstr ""
4051
 
4052
- #: public/editor-build/220-wp/texts.php:865
4053
  msgid "When Finished"
4054
  msgstr ""
4055
 
4056
- #: public/editor-build/220-wp/texts.php:866
4057
  msgid "Width"
4058
  msgstr ""
4059
 
4060
- #: public/editor-build/220-wp/texts.php:867
4061
  msgid "Wobble"
4062
  msgstr ""
4063
 
4064
- #: public/editor-build/220-wp/texts.php:868
4065
  msgid "Woo Product"
4066
  msgstr ""
4067
 
4068
- #: public/editor-build/220-wp/texts.php:869
4069
  msgid "WordPress"
4070
  msgstr ""
4071
 
4072
- #: public/editor-build/220-wp/texts.php:870
4073
  msgid "YOUR PAGE IS READY TO PUBLISH!"
4074
  msgstr ""
4075
 
4076
- #: public/editor-build/220-wp/texts.php:871
4077
  msgid "You can"
4078
  msgstr ""
4079
 
4080
- #: public/editor-build/220-wp/texts.php:872
4081
  msgid "You can't add it again"
4082
  msgstr ""
4083
 
4084
- #: public/editor-build/220-wp/texts.php:873
4085
  msgid "You can’t make changes"
4086
  msgstr ""
4087
 
4088
- #: public/editor-build/220-wp/texts.php:874
4089
  msgid "You have successfully connect the form with"
4090
  msgstr ""
4091
 
4092
- #: public/editor-build/220-wp/texts.php:875
4093
  msgid "You must be have one font added"
4094
  msgstr ""
4095
 
4096
- #: public/editor-build/220-wp/texts.php:876
4097
  msgid "You must be have one selected item"
4098
  msgstr ""
4099
 
4100
- #: public/editor-build/220-wp/texts.php:877
4101
  msgid "You must specify a title"
4102
  msgstr ""
4103
 
4104
- #: public/editor-build/220-wp/texts.php:878
4105
  msgid "YouTube or Vimeo"
4106
  msgstr ""
4107
 
4108
- #: public/editor-build/220-wp/texts.php:879
4109
  msgid "Your Plugin version is incompatible with Account version, please update plugin"
4110
  msgstr ""
4111
 
4112
- #: public/editor-build/220-wp/texts.php:880
4113
  msgid "Your block was saved without screenshot, browser is not compatible"
4114
  msgstr ""
4115
 
4116
- #: public/editor-build/220-wp/texts.php:881
4117
  msgid "Your link is not correct"
4118
  msgstr ""
4119
 
4120
- #: public/editor-build/220-wp/texts.php:882
4121
  msgid "Youtube"
4122
  msgstr ""
4123
 
4124
- #: public/editor-build/220-wp/texts.php:883
4125
  msgid "Z-index"
4126
  msgstr ""
4127
 
4128
- #: public/editor-build/220-wp/texts.php:884
4129
  msgid "Zoom"
4130
  msgstr ""
4131
 
4132
- #: public/editor-build/220-wp/texts.php:885
4133
  msgid "ZoomIn"
4134
  msgstr ""
4135
 
4136
- #: public/editor-build/220-wp/texts.php:886
4137
  msgid "ZoomInDown"
4138
  msgstr ""
4139
 
4140
- #: public/editor-build/220-wp/texts.php:887
4141
  msgid "ZoomInLeft"
4142
  msgstr ""
4143
 
4144
- #: public/editor-build/220-wp/texts.php:888
4145
  msgid "ZoomInRight"
4146
  msgstr ""
4147
 
4148
- #: public/editor-build/220-wp/texts.php:889
4149
  msgid "ZoomInUp"
4150
  msgstr ""
4151
 
4152
- #: public/editor-build/220-wp/texts.php:890
4153
  msgid "block-name"
4154
  msgstr ""
4155
 
4156
- #: public/editor-build/220-wp/texts.php:891
4157
  msgid "component"
4158
  msgstr ""
4159
 
4160
- #: public/editor-build/220-wp/texts.php:892
4161
  msgid "here"
4162
  msgstr ""
4163
 
4164
- #: public/editor-build/220-wp/texts.php:893
4165
  msgid "in your WordPress admin"
4166
  msgstr ""
4167
 
4168
- #: public/editor-build/220-wp/texts.php:894
4169
  msgid "is already editing project"
4170
  msgstr ""
4171
 
4172
- #: public/editor-build/220-wp/texts.php:895
4173
  msgid "is currently working on this page. Do you want to take over"
4174
  msgstr ""
4175
 
4176
- #: public/editor-build/220-wp/texts.php:896
4177
  msgid "layout"
4178
  msgstr ""
4179
 
4180
- #: public/editor-build/220-wp/texts.php:897
4181
  msgid "layouts"
4182
  msgstr ""
4183
 
4184
- #: public/editor-build/220-wp/texts.php:898
4185
  msgid "open an issue"
4186
  msgstr ""
4187
 
4188
- #: public/editor-build/220-wp/texts.php:899
4189
  msgid "or"
4190
  msgstr ""
4191
 
4192
- #: public/editor-build/220-wp/texts.php:900
4193
  msgid "remove this element"
4194
  msgstr ""
4195
 
4196
- #: public/editor-build/220-wp/texts.php:901
4197
  msgid "required"
4198
  msgstr ""
4199
 
4200
- #: public/editor-build/220-wp/texts.php:903
4201
  msgid "story"
4202
  msgstr ""
4203
 
2
  # This file is distributed under the GPLv3.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Brizy 2.3.33\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/brizy\n"
 
7
  "Language-Team: LANGUAGE <LL@li.org>\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "POT-Creation-Date: 2022-03-16T08:55:00+00:00\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "X-Generator: WP-CLI 2.6.0\n"
14
  "X-Domain: brizy\n"
119
  msgstr ""
120
 
121
  #: admin/form-entries.php:62
122
+ #: public/editor-build/221-wp/texts.php:220
123
  msgid "Date"
124
  msgstr ""
125
 
126
  #: admin/form-entries.php:121
127
+ #: admin/form-entries.php:336
128
+ #: admin/form-entries.php:348
129
  msgid "Leads"
130
  msgstr ""
131
 
141
  msgid "Export to .csv"
142
  msgstr ""
143
 
144
+ #: admin/form-entries.php:327
145
  msgctxt "post type general name"
146
  msgid "Leads"
147
  msgstr ""
148
 
149
+ #: admin/form-entries.php:328
150
  msgctxt "post type singular name"
151
  msgid "Lead"
152
  msgstr ""
153
 
154
+ #: admin/form-entries.php:329
155
  msgctxt "admin menu"
156
  msgid "Leads"
157
  msgstr ""
158
 
159
+ #: admin/form-entries.php:330
160
  msgctxt "add new on admin bar"
161
  msgid "Lead"
162
  msgstr ""
163
 
164
+ #: admin/form-entries.php:331
165
  #: admin/popups/main.php:115
166
+ #: admin/templates.php:247
167
+ #: public/editor-build/221-wp/texts.php:47
168
  msgid "Add New"
169
  msgstr ""
170
 
171
+ #: admin/form-entries.php:332
172
  msgid "Add New Lead"
173
  msgstr ""
174
 
175
+ #: admin/form-entries.php:333
176
  msgid "New Lead"
177
  msgstr ""
178
 
179
+ #: admin/form-entries.php:334
180
  msgid "Edit Lead"
181
  msgstr ""
182
 
183
+ #: admin/form-entries.php:335
184
  msgid "View Lead"
185
  msgstr ""
186
 
187
+ #: admin/form-entries.php:337
188
  msgid "Search Leads"
189
  msgstr ""
190
 
191
+ #: admin/form-entries.php:338
192
  msgid "Parent Leads:"
193
  msgstr ""
194
 
195
+ #: admin/form-entries.php:339
196
  msgid "No Leads found."
197
  msgstr ""
198
 
199
+ #: admin/form-entries.php:340
200
  msgid "No Leads found in Trash."
201
  msgstr ""
202
 
207
  #: admin/main.php:248
208
  #: admin/settings.php:107
209
  #: admin/settings.php:108
210
+ #: public/editor-build/221-wp/texts.php:689
211
  msgid "Settings"
212
  msgstr ""
213
 
237
  msgstr ""
238
 
239
  #: admin/membership/membership.php:64
240
+ #: editor/post.php:592
241
  msgid "Default"
242
  msgstr ""
243
 
301
 
302
  #: admin/popups/main.php:120
303
  #: admin/popups/main.php:134
304
+ #: public/editor-build/221-wp/texts.php:563
305
  msgid "Popups"
306
  msgstr ""
307
 
395
  msgstr ""
396
 
397
  #: admin/stories/main.php:48
398
+ #: public/editor-build/221-wp/texts.php:751
399
  msgid "Stories"
400
  msgstr ""
401
 
416
  msgstr ""
417
 
418
  #: admin/stories/main.php:60
419
+ #: public/editor-build/221-wp/texts.php:902
420
  msgid "stories"
421
  msgstr ""
422
 
423
+ #: admin/templates.php:127
424
  msgid "Single"
425
  msgstr ""
426
 
427
+ #: admin/templates.php:128
428
+ #: public/editor-build/221-wp/texts.php:76
429
  msgid "Archive"
430
  msgstr ""
431
 
432
+ #: admin/templates.php:133
433
+ #: public/editor-build/221-wp/texts.php:585
434
  msgid "Product"
435
  msgstr ""
436
 
437
+ #: admin/templates.php:134
438
  msgid "Product Archive"
439
  msgstr ""
440
 
441
+ #: admin/templates.php:243
442
  msgctxt "post type general name"
443
  msgid "Templates"
444
  msgstr ""
445
 
446
+ #: admin/templates.php:244
447
  msgctxt "post type singular name"
448
  msgid "Template"
449
  msgstr ""
450
 
451
+ #: admin/templates.php:245
452
  msgctxt "admin menu"
453
  msgid "Templates"
454
  msgstr ""
455
 
456
+ #: admin/templates.php:246
457
  msgctxt "add new on admin bar"
458
  msgid "Template"
459
  msgstr ""
460
 
461
+ #: admin/templates.php:248
462
  msgid "Add New Template"
463
  msgstr ""
464
 
465
+ #: admin/templates.php:249
466
  msgid "New Template"
467
  msgstr ""
468
 
469
+ #: admin/templates.php:250
470
  msgid "Edit Template"
471
  msgstr ""
472
 
473
+ #: admin/templates.php:251
474
  msgid "View Template"
475
  msgstr ""
476
 
477
+ #: admin/templates.php:252
478
  msgid "Templates"
479
  msgstr ""
480
 
481
+ #: admin/templates.php:253
482
  msgid "Search Templates"
483
  msgstr ""
484
 
485
+ #: admin/templates.php:254
486
  msgid "Parent Templates:"
487
  msgstr ""
488
 
489
+ #: admin/templates.php:255
490
  msgid "No Templates found."
491
  msgstr ""
492
 
493
+ #: admin/templates.php:256
494
  msgid "No Templates found in Trash."
495
  msgstr ""
496
 
497
+ #: admin/templates.php:265
498
  msgid "templates"
499
  msgstr ""
500
 
501
+ #: admin/templates.php:294
502
  msgid "Display Conditions"
503
  msgstr ""
504
 
505
+ #: admin/templates.php:346
506
  msgid "Unable to show the rule box."
507
  msgstr ""
508
 
509
+ #: admin/templates.php:903
510
  msgid "Unable to get the rule validator for this post type."
511
  msgstr ""
512
 
513
+ #: admin/templates.php:910
514
+ #: admin/templates.php:931
515
  msgid "Invalid data version."
516
  msgstr ""
517
 
537
  msgstr ""
538
 
539
  #: admin/views/dashboard.php:12
540
+ #: public/editor-build/221-wp/texts.php:116
541
  msgid "Blog"
542
  msgstr ""
543
 
580
  msgstr ""
581
 
582
  #: admin/views/settings/maintenance.php:27
583
+ #: public/editor-build/221-wp/texts.php:210
584
  msgid "Custom"
585
  msgstr ""
586
 
587
  #: admin/views/settings/maintenance.php:33
588
+ #: public/editor-build/221-wp/texts.php:645
589
  msgid "Roles"
590
  msgstr ""
591
 
652
  msgid "Edit Page"
653
  msgstr ""
654
 
655
+ #: public/editor-build/221-wp/texts.php:6
656
  msgid " Display Conditions"
657
  msgstr ""
658
 
659
+ #: public/editor-build/221-wp/texts.php:7
660
  msgid "%s Selected"
661
  msgstr ""
662
 
663
+ #: public/editor-build/221-wp/texts.php:8
664
  msgid "+ 10:00 (Sydney, Melbourne)"
665
  msgstr ""
666
 
667
+ #: public/editor-build/221-wp/texts.php:9
668
  msgid "+ 11:00 (Ponape)"
669
  msgstr ""
670
 
671
+ #: public/editor-build/221-wp/texts.php:10
672
  msgid "+ 12:00 (Auckland)"
673
  msgstr ""
674
 
675
+ #: public/editor-build/221-wp/texts.php:11
676
  msgid "+ 1:00 (Berlin, Paris)"
677
  msgstr ""
678
 
679
+ #: public/editor-build/221-wp/texts.php:12
680
  msgid "+ 2:00 (Athens, Istanbul)"
681
  msgstr ""
682
 
683
+ #: public/editor-build/221-wp/texts.php:13
684
  msgid "+ 3:00 (Moscow, Baghdad)"
685
  msgstr ""
686
 
687
+ #: public/editor-build/221-wp/texts.php:14
688
  msgid "+ 4:00 (Dubai, Baku)"
689
  msgstr ""
690
 
691
+ #: public/editor-build/221-wp/texts.php:15
692
  msgid "+ 5:00 (Yekaterinburg)"
693
  msgstr ""
694
 
695
+ #: public/editor-build/221-wp/texts.php:16
696
  msgid "+ 6:00 (Nur-Sultan)"
697
  msgstr ""
698
 
699
+ #: public/editor-build/221-wp/texts.php:17
700
  msgid "+ 7:00 (Bangkok, Jakarta)"
701
  msgstr ""
702
 
703
+ #: public/editor-build/221-wp/texts.php:18
704
  msgid "+ 8:00 (Singapore, Beijing)"
705
  msgstr ""
706
 
707
+ #: public/editor-build/221-wp/texts.php:19
708
  msgid "+ 9:00 (Tokyo, Seoul)"
709
  msgstr ""
710
 
711
+ #: public/editor-build/221-wp/texts.php:20
712
  msgid "- 10:00 (Honolulu, Papeete)"
713
  msgstr ""
714
 
715
+ #: public/editor-build/221-wp/texts.php:21
716
  msgid "- 11:00 (Niue)"
717
  msgstr ""
718
 
719
+ #: public/editor-build/221-wp/texts.php:22
720
  msgid "- 1:00 (Cape Verde)"
721
  msgstr ""
722
 
723
+ #: public/editor-build/221-wp/texts.php:23
724
  msgid "- 2:00 (Noronha)"
725
  msgstr ""
726
 
727
+ #: public/editor-build/221-wp/texts.php:24
728
  msgid "- 3:00 (Brasilia, Santiago)"
729
  msgstr ""
730
 
731
+ #: public/editor-build/221-wp/texts.php:25
732
  msgid "- 4:00 (Halifax, Manaus)"
733
  msgstr ""
734
 
735
+ #: public/editor-build/221-wp/texts.php:26
736
  msgid "- 5:00 (New York, Miami)"
737
  msgstr ""
738
 
739
+ #: public/editor-build/221-wp/texts.php:27
740
  msgid "- 6:00 (Chicago, Dallas)"
741
  msgstr ""
742
 
743
+ #: public/editor-build/221-wp/texts.php:28
744
  msgid "- 7:00 (Denver, Phoenix)"
745
  msgstr ""
746
 
747
+ #: public/editor-build/221-wp/texts.php:29
748
  msgid "- 8:00 (Los Angeles)"
749
  msgstr ""
750
 
751
+ #: public/editor-build/221-wp/texts.php:30
752
  msgid "- 9:00 (Anchorage)"
753
  msgstr ""
754
 
755
+ #: public/editor-build/221-wp/texts.php:31
756
  msgid "00:00 (London, Dublin)"
757
  msgstr ""
758
 
759
+ #: public/editor-build/221-wp/texts.php:32
760
  msgid "? (%s)"
761
  msgstr ""
762
 
763
+ #: public/editor-build/221-wp/texts.php:33
764
  msgid "ADD FONT VARIATION"
765
  msgstr ""
766
 
767
+ #: public/editor-build/221-wp/texts.php:34
768
  msgid "ADD GOOGLE FONT"
769
  msgstr ""
770
 
771
+ #: public/editor-build/221-wp/texts.php:35
772
  msgid "APPS"
773
  msgstr ""
774
 
775
+ #: public/editor-build/221-wp/texts.php:36
776
  msgid "About us"
777
  msgstr ""
778
 
779
+ #: public/editor-build/221-wp/texts.php:37
780
  msgid "Access your Library in any WP install by connecting your Account"
781
  msgstr ""
782
 
783
+ #: public/editor-build/221-wp/texts.php:38
784
  msgid "Accordion"
785
  msgstr ""
786
 
787
+ #: public/editor-build/221-wp/texts.php:39
788
  msgid "Accordion Items"
789
  msgstr ""
790
 
791
+ #: public/editor-build/221-wp/texts.php:40
792
  msgid "Accordion Tags"
793
  msgstr ""
794
 
795
+ #: public/editor-build/221-wp/texts.php:41
796
  msgid "Accounts are empty. Please connect a new account and try again."
797
  msgstr ""
798
 
799
+ #: public/editor-build/221-wp/texts.php:42
800
  msgid "Action"
801
  msgstr ""
802
 
803
+ #: public/editor-build/221-wp/texts.php:43
804
  msgid "Activate Tab"
805
  msgstr ""
806
 
807
+ #: public/editor-build/221-wp/texts.php:44
808
  msgid "Active"
809
  msgstr ""
810
 
811
+ #: public/editor-build/221-wp/texts.php:45
812
  msgid "Add Elements"
813
  msgstr ""
814
 
815
+ #: public/editor-build/221-wp/texts.php:46
816
  msgid "Add Font"
817
  msgstr ""
818
 
819
+ #: public/editor-build/221-wp/texts.php:48
820
  msgid "Add New Block / Layout"
821
  msgstr ""
822
 
823
+ #: public/editor-build/221-wp/texts.php:49
824
  msgid "Add New Column"
825
  msgstr ""
826
 
827
+ #: public/editor-build/221-wp/texts.php:50
828
  msgid "Add New Font"
829
  msgstr ""
830
 
831
+ #: public/editor-build/221-wp/texts.php:51
832
  msgid "Add Shopify Elements"
833
  msgstr ""
834
 
835
+ #: public/editor-build/221-wp/texts.php:52
836
  msgid "Add To Cart"
837
  msgstr ""
838
 
839
+ #: public/editor-build/221-wp/texts.php:53
840
  msgid "Add To Cart Input"
841
  msgstr ""
842
 
843
+ #: public/editor-build/221-wp/texts.php:54
844
  msgid "Add a new block"
845
  msgstr ""
846
 
847
+ #: public/editor-build/221-wp/texts.php:55
848
  msgid "Add new display condition"
849
  msgstr ""
850
 
851
+ #: public/editor-build/221-wp/texts.php:56
852
  msgid "Add new font variation"
853
  msgstr ""
854
 
855
+ #: public/editor-build/221-wp/texts.php:57
856
  msgid "Add new option"
857
  msgstr ""
858
 
859
+ #: public/editor-build/221-wp/texts.php:58
860
  msgid "Add new trigger condition"
861
  msgstr ""
862
 
863
+ #: public/editor-build/221-wp/texts.php:59
864
  msgid "Add to Cart"
865
  msgstr ""
866
 
867
+ #: public/editor-build/221-wp/texts.php:60
868
  msgid "Add to cart"
869
  msgstr ""
870
 
871
+ #: public/editor-build/221-wp/texts.php:61
872
  msgid "Additionals"
873
  msgstr ""
874
 
875
+ #: public/editor-build/221-wp/texts.php:62
876
  msgid "Address"
877
  msgstr ""
878
 
879
+ #: public/editor-build/221-wp/texts.php:63
880
  msgid "Advanced"
881
  msgstr ""
882
 
883
+ #: public/editor-build/221-wp/texts.php:64
884
  msgid "Align"
885
  msgstr ""
886
 
887
+ #: public/editor-build/221-wp/texts.php:65
888
  msgid "Aligned Left"
889
  msgstr ""
890
 
891
+ #: public/editor-build/221-wp/texts.php:66
892
  msgid "Aligned Right"
893
  msgstr ""
894
 
895
+ #: public/editor-build/221-wp/texts.php:67
896
  msgid "All"
897
  msgstr ""
898
 
899
+ #: public/editor-build/221-wp/texts.php:68
900
  msgid "All Categories"
901
  msgstr ""
902
 
903
+ #: public/editor-build/221-wp/texts.php:69
904
  msgid "All fields cannot be empty"
905
  msgstr ""
906
 
907
+ #: public/editor-build/221-wp/texts.php:70
908
  msgid "All fields marked with an asterisk ( * ) must be completed."
909
  msgstr ""
910
 
911
+ #: public/editor-build/221-wp/texts.php:71
912
  msgid "All fields marked with an asterisk ( * ) must be mapped."
913
  msgstr ""
914
 
915
+ #: public/editor-build/221-wp/texts.php:72
916
  msgid "Allowed File Types"
917
  msgstr ""
918
 
919
+ #: public/editor-build/221-wp/texts.php:73
920
  msgid "Alt Title"
921
  msgstr ""
922
 
923
+ #: public/editor-build/221-wp/texts.php:74
924
  msgid "An error happened while trying to display this element"
925
  msgstr ""
926
 
927
+ #: public/editor-build/221-wp/texts.php:75
928
  msgid "Animated"
929
  msgstr ""
930
 
931
+ #: public/editor-build/221-wp/texts.php:77
932
  msgid "Archives"
933
  msgstr ""
934
 
935
+ #: public/editor-build/221-wp/texts.php:78
936
  msgid "Are you want to delete account"
937
  msgstr ""
938
 
939
+ #: public/editor-build/221-wp/texts.php:79
940
  msgid "Arrangement"
941
  msgstr ""
942
 
943
+ #: public/editor-build/221-wp/texts.php:80
944
  msgid "Arrows"
945
  msgstr ""
946
 
947
+ #: public/editor-build/221-wp/texts.php:81
948
  msgid "Arrows Spacing"
949
  msgstr ""
950
 
951
+ #: public/editor-build/221-wp/texts.php:82
952
  msgid "Article"
953
  msgstr ""
954
 
955
+ #: public/editor-build/221-wp/texts.php:83
956
  msgid "Asc"
957
  msgstr ""
958
 
959
+ #: public/editor-build/221-wp/texts.php:84
960
  msgid "Aside"
961
  msgstr ""
962
 
963
+ #: public/editor-build/221-wp/texts.php:85
964
  msgid "Attributes"
965
  msgstr ""
966
 
967
+ #: public/editor-build/221-wp/texts.php:86
968
  msgid "Audio"
969
  msgstr ""
970
 
971
+ #: public/editor-build/221-wp/texts.php:87
972
  msgid "Authentication"
973
  msgstr ""
974
 
975
+ #: public/editor-build/221-wp/texts.php:88
976
  msgid "Author"
977
  msgstr ""
978
 
979
+ #: public/editor-build/221-wp/texts.php:89
980
  msgid "Auto"
981
  msgstr ""
982
 
983
+ #: public/editor-build/221-wp/texts.php:90
984
  msgid "Auto Play"
985
  msgstr ""
986
 
987
+ #: public/editor-build/221-wp/texts.php:91
988
  msgid "Auto play"
989
  msgstr ""
990
 
991
+ #: public/editor-build/221-wp/texts.php:92
992
  msgid "Auto-Draft"
993
  msgstr ""
994
 
995
+ #: public/editor-build/221-wp/texts.php:93
996
  msgid "AutoPlay"
997
  msgstr ""
998
 
999
+ #: public/editor-build/221-wp/texts.php:94
1000
  msgid "Automotive"
1001
  msgstr ""
1002
 
1003
+ #: public/editor-build/221-wp/texts.php:95
1004
  msgid "Autoplay"
1005
  msgstr ""
1006
 
1007
+ #: public/editor-build/221-wp/texts.php:96
1008
  msgid "Avatar"
1009
  msgstr ""
1010
 
1011
+ #: public/editor-build/221-wp/texts.php:97
1012
  msgid "Back"
1013
  msgstr ""
1014
 
1015
+ #: public/editor-build/221-wp/texts.php:98
1016
  msgid "Back to Layouts"
1017
  msgstr ""
1018
 
1019
+ #: public/editor-build/221-wp/texts.php:99
1020
  msgid "Back to Login"
1021
  msgstr ""
1022
 
1023
+ #: public/editor-build/221-wp/texts.php:100
1024
  msgid "Back to Stories"
1025
  msgstr ""
1026
 
1027
+ #: public/editor-build/221-wp/texts.php:101
1028
  msgid "Background"
1029
  msgstr ""
1030
 
1031
+ #: public/editor-build/221-wp/texts.php:102
1032
  msgid "Bar"
1033
  msgstr ""
1034
 
1035
+ #: public/editor-build/221-wp/texts.php:103
1036
  msgid "Bcc"
1037
  msgstr ""
1038
 
1039
+ #: public/editor-build/221-wp/texts.php:104
1040
  msgid "Between"
1041
  msgstr ""
1042
 
1043
+ #: public/editor-build/221-wp/texts.php:105
1044
  msgid "Bg"
1045
  msgstr ""
1046
 
1047
+ #: public/editor-build/221-wp/texts.php:106
1048
  msgid "Bg Size"
1049
  msgstr ""
1050
 
1051
+ #: public/editor-build/221-wp/texts.php:107
1052
  msgid "Bg Star"
1053
  msgstr ""
1054
 
1055
+ #: public/editor-build/221-wp/texts.php:108
1056
  msgid "Black"
1057
  msgstr ""
1058
 
1059
+ #: public/editor-build/221-wp/texts.php:109
1060
  msgid "Blank"
1061
  msgstr ""
1062
 
1063
+ #: public/editor-build/221-wp/texts.php:110
1064
  msgid "Block"
1065
  msgstr ""
1066
 
1067
+ #: public/editor-build/221-wp/texts.php:111
1068
  msgid "Block Name"
1069
  msgstr ""
1070
 
1071
+ #: public/editor-build/221-wp/texts.php:112
1072
  msgid "Block conditions are available only in PRO"
1073
  msgstr ""
1074
 
1075
+ #: public/editor-build/221-wp/texts.php:113
1076
  msgid "Block is synchronized"
1077
  msgstr ""
1078
 
1079
+ #: public/editor-build/221-wp/texts.php:114
1080
  msgid "Block will be synchronized"
1081
  msgstr ""
1082
 
1083
+ #: public/editor-build/221-wp/texts.php:115
1084
  msgid "Blocks"
1085
  msgstr ""
1086
 
1087
+ #: public/editor-build/221-wp/texts.php:117
1088
  msgid "Bold"
1089
  msgstr ""
1090
 
1091
+ #: public/editor-build/221-wp/texts.php:118
1092
  msgid "Border"
1093
  msgstr ""
1094
 
1095
+ #: public/editor-build/221-wp/texts.php:119
1096
  msgid "Bottom"
1097
  msgstr ""
1098
 
1099
+ #: public/editor-build/221-wp/texts.php:120
1100
  msgid "Bounce"
1101
  msgstr ""
1102
 
1103
+ #: public/editor-build/221-wp/texts.php:121
1104
  msgid "BounceIn"
1105
  msgstr ""
1106
 
1107
+ #: public/editor-build/221-wp/texts.php:122
1108
  msgid "BounceInDown"
1109
  msgstr ""
1110
 
1111
+ #: public/editor-build/221-wp/texts.php:123
1112
  msgid "BounceInLeft"
1113
  msgstr ""
1114
 
1115
+ #: public/editor-build/221-wp/texts.php:124
1116
  msgid "BounceInRight"
1117
  msgstr ""
1118
 
1119
+ #: public/editor-build/221-wp/texts.php:125
1120
  msgid "BounceInUp"
1121
  msgstr ""
1122
 
1123
+ #: public/editor-build/221-wp/texts.php:126
1124
  msgid "Boxed"
1125
  msgstr ""
1126
 
1127
+ #: public/editor-build/221-wp/texts.php:127
1128
  msgid "Branding"
1129
  msgstr ""
1130
 
1131
+ #: public/editor-build/221-wp/texts.php:128
1132
  msgid "Breadcrumbs"
1133
  msgstr ""
1134
 
1135
+ #: public/editor-build/221-wp/texts.php:129
1136
  msgid "Btn Bg"
1137
  msgstr ""
1138
 
1139
+ #: public/editor-build/221-wp/texts.php:130
1140
  msgid "Btn Color"
1141
  msgstr ""
1142
 
1143
+ #: public/editor-build/221-wp/texts.php:131
1144
  msgid "Bub."
1145
  msgstr ""
1146
 
1147
+ #: public/editor-build/221-wp/texts.php:132
1148
  msgid "Bub. Bg"
1149
  msgstr ""
1150
 
1151
+ #: public/editor-build/221-wp/texts.php:133
1152
  msgid "Bubble"
1153
  msgstr ""
1154
 
1155
+ #: public/editor-build/221-wp/texts.php:134
1156
  msgid "Business"
1157
  msgstr ""
1158
 
1159
+ #: public/editor-build/221-wp/texts.php:135
1160
  msgid "Business Hour"
1161
  msgstr ""
1162
 
1163
+ #: public/editor-build/221-wp/texts.php:136
1164
  msgid "Button"
1165
  msgstr ""
1166
 
1167
+ #: public/editor-build/221-wp/texts.php:137
1168
  msgid "Button Size"
1169
  msgstr ""
1170
 
1171
+ #: public/editor-build/221-wp/texts.php:138
1172
  msgid "Buttons"
1173
  msgstr ""
1174
 
1175
+ #: public/editor-build/221-wp/texts.php:139
1176
  msgid "CMS"
1177
  msgstr ""
1178
 
1179
+ #: public/editor-build/221-wp/texts.php:140
1180
  msgid "CREATE LIST"
1181
  msgstr ""
1182
 
1183
+ #: public/editor-build/221-wp/texts.php:141
1184
  msgid "CSS Class"
1185
  msgstr ""
1186
 
1187
+ #: public/editor-build/221-wp/texts.php:142
1188
  msgid "CSS ID"
1189
  msgstr ""
1190
 
1191
+ #: public/editor-build/221-wp/texts.php:143
1192
  msgid "CTA"
1193
  msgstr ""
1194
 
1195
+ #: public/editor-build/221-wp/texts.php:144
1196
  msgid "Cancel"
1197
  msgstr ""
1198
 
1199
+ #: public/editor-build/221-wp/texts.php:145
1200
  msgid "Capitalize"
1201
  msgstr ""
1202
 
1203
+ #: public/editor-build/221-wp/texts.php:146
1204
  msgid "Captions"
1205
  msgstr ""
1206
 
1207
+ #: public/editor-build/221-wp/texts.php:147
1208
  msgid "Carousel"
1209
  msgstr ""
1210
 
1211
+ #: public/editor-build/221-wp/texts.php:148
1212
  msgid "Cart"
1213
  msgstr ""
1214
 
1215
+ #: public/editor-build/221-wp/texts.php:149
1216
  msgid "Cart Items"
1217
  msgstr ""
1218
 
1219
+ #: public/editor-build/221-wp/texts.php:150
1220
  msgid "Cart Settings"
1221
  msgstr ""
1222
 
1223
+ #: public/editor-build/221-wp/texts.php:151
1224
  msgid "Categories"
1225
  msgstr ""
1226
 
1227
+ #: public/editor-build/221-wp/texts.php:152
1228
  msgid "Categories Count"
1229
  msgstr ""
1230
 
1231
+ #: public/editor-build/221-wp/texts.php:153
1232
  msgid "Categories Pagination"
1233
  msgstr ""
1234
 
1235
+ #: public/editor-build/221-wp/texts.php:154
1236
  msgid "Categories Tags"
1237
  msgstr ""
1238
 
1239
+ #: public/editor-build/221-wp/texts.php:155
1240
  msgid "Category"
1241
  msgstr ""
1242
 
1243
+ #: public/editor-build/221-wp/texts.php:156
1244
  msgid "Cc"
1245
  msgstr ""
1246
 
1247
+ #: public/editor-build/221-wp/texts.php:157
1248
  msgid "Check your email address"
1249
  msgstr ""
1250
 
1251
+ #: public/editor-build/221-wp/texts.php:158
1252
  msgid "Checkbox"
1253
  msgstr ""
1254
 
1255
+ #: public/editor-build/221-wp/texts.php:159
1256
  msgid "Checkout"
1257
  msgstr ""
1258
 
1259
+ #: public/editor-build/221-wp/texts.php:160
1260
  msgid "Children"
1261
  msgstr ""
1262
 
1263
+ #: public/editor-build/221-wp/texts.php:161
1264
  msgid "Circle"
1265
  msgstr ""
1266
 
1267
+ #: public/editor-build/221-wp/texts.php:162
1268
  msgid "Classic"
1269
  msgstr ""
1270
 
1271
+ #: public/editor-build/221-wp/texts.php:163
1272
  msgid "Clear"
1273
  msgstr ""
1274
 
1275
+ #: public/editor-build/221-wp/texts.php:164
1276
  msgid "Clear Layout"
1277
  msgstr ""
1278
 
1279
+ #: public/editor-build/221-wp/texts.php:165
1280
  msgid "Click Outside to Close"
1281
  msgstr ""
1282
 
1283
+ #: public/editor-build/221-wp/texts.php:166
1284
  msgid "Close"
1285
  msgstr ""
1286
 
1287
+ #: public/editor-build/221-wp/texts.php:167
1288
  msgid "Close Popup"
1289
  msgstr ""
1290
 
1291
+ #: public/editor-build/221-wp/texts.php:168
1292
  msgid "Cloud"
1293
  msgstr ""
1294
 
1295
+ #: public/editor-build/221-wp/texts.php:169
1296
  msgid "Collapsible"
1297
  msgstr ""
1298
 
1299
+ #: public/editor-build/221-wp/texts.php:170
1300
  msgid "Color"
1301
  msgstr ""
1302
 
1303
+ #: public/editor-build/221-wp/texts.php:171
1304
  msgid "Colors"
1305
  msgstr ""
1306
 
1307
+ #: public/editor-build/221-wp/texts.php:172
1308
  msgid "Column"
1309
  msgstr ""
1310
 
1311
+ #: public/editor-build/221-wp/texts.php:173
1312
  msgid "Columns"
1313
  msgstr ""
1314
 
1315
+ #: public/editor-build/221-wp/texts.php:174
1316
  msgid "Comment"
1317
  msgstr ""
1318
 
1319
+ #: public/editor-build/221-wp/texts.php:175
1320
  msgid "Comment Count"
1321
  msgstr ""
1322
 
1323
+ #: public/editor-build/221-wp/texts.php:176
1324
  msgid "Comments"
1325
  msgstr ""
1326
 
1327
+ #: public/editor-build/221-wp/texts.php:177
1328
  msgid "Conditions"
1329
  msgstr ""
1330
 
1331
+ #: public/editor-build/221-wp/texts.php:178
1332
  msgid "Connect"
1333
  msgstr ""
1334
 
1335
+ #: public/editor-build/221-wp/texts.php:179
1336
  msgid "Connect a new account"
1337
  msgstr ""
1338
 
1339
+ #: public/editor-build/221-wp/texts.php:180
1340
  msgid "Contact"
1341
  msgstr ""
1342
 
1343
+ #: public/editor-build/221-wp/texts.php:181
1344
  msgid "Content"
1345
  msgstr ""
1346
 
1347
+ #: public/editor-build/221-wp/texts.php:182
1348
  msgid "Content Gap"
1349
  msgstr ""
1350
 
1351
+ #: public/editor-build/221-wp/texts.php:183
1352
  msgid "Context"
1353
  msgstr ""
1354
 
1355
+ #: public/editor-build/221-wp/texts.php:184
1356
  msgid "Context Type"
1357
  msgstr ""
1358
 
1359
+ #: public/editor-build/221-wp/texts.php:185
1360
  msgid "Continue"
1361
  msgstr ""
1362
 
1363
+ #: public/editor-build/221-wp/texts.php:186
1364
  msgid "Controls"
1365
  msgstr ""
1366
 
1367
+ #: public/editor-build/221-wp/texts.php:187
1368
  msgid "Copy"
1369
  msgstr ""
1370
 
1371
+ #: public/editor-build/221-wp/texts.php:188
1372
  msgid "Corner"
1373
  msgstr ""
1374
 
1375
+ #: public/editor-build/221-wp/texts.php:189
1376
  msgid "Could not Create Global Block"
1377
  msgstr ""
1378
 
1379
+ #: public/editor-build/221-wp/texts.php:190
1380
  msgid "Could not Create Global Popup"
1381
  msgstr ""
1382
 
1383
+ #: public/editor-build/221-wp/texts.php:191
1384
  msgid "Could not Create Saved Block"
1385
  msgstr ""
1386
 
1387
+ #: public/editor-build/221-wp/texts.php:192
1388
  msgid "Could not Create Saved Popup"
1389
  msgstr ""
1390
 
1391
+ #: public/editor-build/221-wp/texts.php:193
1392
  msgid "Could not download Saved Layout"
1393
  msgstr ""
1394
 
1395
+ #: public/editor-build/221-wp/texts.php:194
1396
  msgid "Could not download Saved Popup"
1397
  msgstr ""
1398
 
1399
+ #: public/editor-build/221-wp/texts.php:195
1400
  msgid "Could not download Saved block"
1401
  msgstr ""
1402
 
1403
+ #: public/editor-build/221-wp/texts.php:196
1404
  msgid "Could not find"
1405
  msgstr ""
1406
 
1407
+ #: public/editor-build/221-wp/texts.php:197
1408
  msgid "Could not publish or save page"
1409
  msgstr ""
1410
 
1411
+ #: public/editor-build/221-wp/texts.php:198
1412
  msgid "Could not save layout"
1413
  msgstr ""
1414
 
1415
+ #: public/editor-build/221-wp/texts.php:199
1416
  msgid "Could not switch to draft"
1417
  msgstr ""
1418
 
1419
+ #: public/editor-build/221-wp/texts.php:200
1420
  msgid "Count"
1421
  msgstr ""
1422
 
1423
+ #: public/editor-build/221-wp/texts.php:201
1424
  msgid "Countdown"
1425
  msgstr ""
1426
 
1427
+ #: public/editor-build/221-wp/texts.php:202
1428
  msgid "Counter"
1429
  msgstr ""
1430
 
1431
+ #: public/editor-build/221-wp/texts.php:203
1432
  msgid "Cover"
1433
  msgstr ""
1434
 
1435
+ #: public/editor-build/221-wp/texts.php:204
1436
  msgid "Create"
1437
  msgstr ""
1438
 
1439
+ #: public/editor-build/221-wp/texts.php:205
1440
  msgid "Create Account & Connect"
1441
  msgstr ""
1442
 
1443
+ #: public/editor-build/221-wp/texts.php:206
1444
  msgid "Create a menu"
1445
  msgstr ""
1446
 
1447
+ #: public/editor-build/221-wp/texts.php:207
1448
  msgid "Create a new list"
1449
  msgstr ""
1450
 
1451
+ #: public/editor-build/221-wp/texts.php:208
1452
  msgid "Create your own"
1453
  msgstr ""
1454
 
1455
+ #: public/editor-build/221-wp/texts.php:209
1456
  msgid "Current Page"
1457
  msgstr ""
1458
 
1459
+ #: public/editor-build/221-wp/texts.php:211
1460
  msgid "Custom Attributes"
1461
  msgstr ""
1462
 
1463
+ #: public/editor-build/221-wp/texts.php:212
1464
  msgid "Custom Attributes asd"
1465
  msgstr ""
1466
 
1467
+ #: public/editor-build/221-wp/texts.php:213
1468
  msgid "Custom CSS"
1469
  msgstr ""
1470
 
1471
+ #: public/editor-build/221-wp/texts.php:214
1472
  msgid "Custom Page"
1473
  msgstr ""
1474
 
1475
+ #: public/editor-build/221-wp/texts.php:215
1476
  msgid "Custom Text"
1477
  msgstr ""
1478
 
1479
+ #: public/editor-build/221-wp/texts.php:216
1480
  msgid "Custom Video"
1481
  msgstr ""
1482
 
1483
+ #: public/editor-build/221-wp/texts.php:217
1484
  msgid "DELETE"
1485
  msgstr ""
1486
 
1487
+ #: public/editor-build/221-wp/texts.php:218
1488
  msgid "DIV"
1489
  msgstr ""
1490
 
1491
+ #: public/editor-build/221-wp/texts.php:219
1492
  msgid "Dark"
1493
  msgstr ""
1494
 
1495
+ #: public/editor-build/221-wp/texts.php:221
1496
  msgid "Days"
1497
  msgstr ""
1498
 
1499
+ #: public/editor-build/221-wp/texts.php:222
1500
  msgid "Default Roles"
1501
  msgstr ""
1502
 
1503
+ #: public/editor-build/221-wp/texts.php:223
1504
  msgid "Delay"
1505
  msgstr ""
1506
 
1507
+ #: public/editor-build/221-wp/texts.php:224
1508
  msgid "Delete"
1509
  msgstr ""
1510
 
1511
+ #: public/editor-build/221-wp/texts.php:225
1512
  msgid "Desc"
1513
  msgstr ""
1514
 
1515
+ #: public/editor-build/221-wp/texts.php:226
1516
  msgid "Description"
1517
  msgstr ""
1518
 
1519
+ #: public/editor-build/221-wp/texts.php:227
1520
  msgid "Deselected the “Verify the origin of reCAPTCHA solutions” checkbox within your Google account."
1521
  msgstr ""
1522
 
1523
+ #: public/editor-build/221-wp/texts.php:228
1524
  msgid "Desktop"
1525
  msgstr ""
1526
 
1527
+ #: public/editor-build/221-wp/texts.php:229
1528
  msgid "Diamond"
1529
  msgstr ""
1530
 
1531
+ #: public/editor-build/221-wp/texts.php:230
1532
  msgid "Disable on Mobile"
1533
  msgstr ""
1534
 
1535
+ #: public/editor-build/221-wp/texts.php:231
1536
  msgid "Disable on Tablet"
1537
  msgstr ""
1538
 
1539
+ #: public/editor-build/221-wp/texts.php:232
1540
  msgid "Disconnect"
1541
  msgstr ""
1542
 
1543
+ #: public/editor-build/221-wp/texts.php:233
1544
  msgid "Display Close Button"
1545
  msgstr ""
1546
 
1547
+ #: public/editor-build/221-wp/texts.php:234
1548
  msgid "Disqus"
1549
  msgstr ""
1550
 
1551
+ #: public/editor-build/221-wp/texts.php:235
1552
  msgid "Div"
1553
  msgstr ""
1554
 
1555
+ #: public/editor-build/221-wp/texts.php:236
1556
  msgid "Dividers"
1557
  msgstr ""
1558
 
1559
+ #: public/editor-build/221-wp/texts.php:237
1560
  msgid "Don't have items"
1561
  msgstr ""
1562
 
1563
+ #: public/editor-build/221-wp/texts.php:238
1564
  msgid "Don't have tags"
1565
  msgstr ""
1566
 
1567
+ #: public/editor-build/221-wp/texts.php:239
1568
  msgid "Done"
1569
  msgstr ""
1570
 
1571
+ #: public/editor-build/221-wp/texts.php:240
1572
  msgid "Done, your library was synced"
1573
  msgstr ""
1574
 
1575
+ #: public/editor-build/221-wp/texts.php:241
1576
  msgid "Dots"
1577
  msgstr ""
1578
 
1579
+ #: public/editor-build/221-wp/texts.php:242
1580
  msgid "Download this block"
1581
  msgstr ""
1582
 
1583
+ #: public/editor-build/221-wp/texts.php:243
1584
  msgid "Draft"
1585
  msgstr ""
1586
 
1587
+ #: public/editor-build/221-wp/texts.php:244
1588
  msgid "Drag to reorder"
1589
  msgstr ""
1590
 
1591
+ #: public/editor-build/221-wp/texts.php:245
1592
  msgid "Drawer Position"
1593
  msgstr ""
1594
 
1595
+ #: public/editor-build/221-wp/texts.php:246
1596
  msgid "Duplicate"
1597
  msgstr ""
1598
 
1599
+ #: public/editor-build/221-wp/texts.php:247
1600
  msgid "Duplicate Account"
1601
  msgstr ""
1602
 
1603
+ #: public/editor-build/221-wp/texts.php:248
1604
  msgid "Duration"
1605
  msgstr ""
1606
 
1607
+ #: public/editor-build/221-wp/texts.php:249
1608
  msgid "Dutch"
1609
  msgstr ""
1610
 
1611
+ #: public/editor-build/221-wp/texts.php:250
1612
  msgid "Dynamic Content"
1613
  msgstr ""
1614
 
1615
+ #: public/editor-build/221-wp/texts.php:251
1616
  msgid "EOT File"
1617
  msgstr ""
1618
 
1619
+ #: public/editor-build/221-wp/texts.php:252
1620
  msgid "Edit"
1621
  msgstr ""
1622
 
1623
+ #: public/editor-build/221-wp/texts.php:253
1624
  msgid "Editable Text"
1625
  msgstr ""
1626
 
1627
+ #: public/editor-build/221-wp/texts.php:254
1628
  msgid "Education"
1629
  msgstr ""
1630
 
1631
+ #: public/editor-build/221-wp/texts.php:255
1632
  msgid "Elements"
1633
  msgstr ""
1634
 
1635
+ #: public/editor-build/221-wp/texts.php:256
1636
  msgid "Email"
1637
  msgstr ""
1638
 
1639
+ #: public/editor-build/221-wp/texts.php:257
1640
  msgid "Email To"
1641
  msgstr ""
1642
 
1643
+ #: public/editor-build/221-wp/texts.php:258
1644
  msgid "Email confirmation to join the list"
1645
  msgstr ""
1646
 
1647
+ #: public/editor-build/221-wp/texts.php:259
1648
  msgid "Email to recover password cannot be empty"
1649
  msgstr ""
1650
 
1651
+ #: public/editor-build/221-wp/texts.php:260
1652
  msgid "Embed"
1653
  msgstr ""
1654
 
1655
+ #: public/editor-build/221-wp/texts.php:261
1656
  msgid "Enable Tags"
1657
  msgstr ""
1658
 
1659
+ #: public/editor-build/221-wp/texts.php:262
1660
  msgid "Enable on Mobile"
1661
  msgstr ""
1662
 
1663
+ #: public/editor-build/221-wp/texts.php:263
1664
  msgid "Enable on Tablet"
1665
  msgstr ""
1666
 
1667
+ #: public/editor-build/221-wp/texts.php:264
1668
  msgid "Enable tags"
1669
  msgstr ""
1670
 
1671
+ #: public/editor-build/221-wp/texts.php:265
1672
  msgid "Encryption"
1673
  msgstr ""
1674
 
1675
+ #: public/editor-build/221-wp/texts.php:266
1676
  msgid "End"
1677
  msgstr ""
1678
 
1679
+ #: public/editor-build/221-wp/texts.php:267
1680
  msgid "English"
1681
  msgstr ""
1682
 
1683
+ #: public/editor-build/221-wp/texts.php:268
1684
  msgid "Enter address"
1685
  msgstr ""
1686
 
1687
+ #: public/editor-build/221-wp/texts.php:269
1688
  msgid "Enter the allowed file types, separated by a comma (jpg, gif, pdf, etc)."
1689
  msgstr ""
1690
 
1691
+ #: public/editor-build/221-wp/texts.php:270
1692
  msgid "Entrance Animation"
1693
  msgstr ""
1694
 
1695
+ #: public/editor-build/221-wp/texts.php:271
1696
  msgid "Error"
1697
  msgstr ""
1698
 
1699
+ #: public/editor-build/221-wp/texts.php:272
1700
  msgid "Established a stable internet connection"
1701
  msgstr ""
1702
 
1703
+ #: public/editor-build/221-wp/texts.php:273
1704
  msgid "Events"
1705
  msgstr ""
1706
 
1707
+ #: public/editor-build/221-wp/texts.php:274
1708
  msgid "Excerpt"
1709
  msgstr ""
1710
 
1711
+ #: public/editor-build/221-wp/texts.php:275
1712
  msgid "Exclude"
1713
  msgstr ""
1714
 
1715
+ #: public/editor-build/221-wp/texts.php:276
1716
  msgid "Exclude By"
1717
  msgstr ""
1718
 
1719
+ #: public/editor-build/221-wp/texts.php:277
1720
  msgid "Export All Blocks"
1721
  msgstr ""
1722
 
1723
+ #: public/editor-build/221-wp/texts.php:278
1724
  msgid "Export All Layouts"
1725
  msgstr ""
1726
 
1727
+ #: public/editor-build/221-wp/texts.php:279
1728
  msgid "Export All Popups"
1729
  msgstr ""
1730
 
1731
+ #: public/editor-build/221-wp/texts.php:280
1732
  msgid "Extra Bold"
1733
  msgstr ""
1734
 
1735
+ #: public/editor-build/221-wp/texts.php:281
1736
  msgid "Extra Light"
1737
  msgstr ""
1738
 
1739
+ #: public/editor-build/221-wp/texts.php:282
1740
  msgid "FIELDS"
1741
  msgstr ""
1742
 
1743
+ #: public/editor-build/221-wp/texts.php:283
1744
  msgid "FONT VARIATION"
1745
  msgstr ""
1746
 
1747
+ #: public/editor-build/221-wp/texts.php:284
1748
  msgid "FORM FIELDS"
1749
  msgstr ""
1750
 
1751
+ #: public/editor-build/221-wp/texts.php:285
1752
  msgid "Facebook"
1753
  msgstr ""
1754
 
1755
+ #: public/editor-build/221-wp/texts.php:286
1756
  msgid "Facebook Button"
1757
  msgstr ""
1758
 
1759
+ #: public/editor-build/221-wp/texts.php:287
1760
  msgid "Facebook Embed"
1761
  msgstr ""
1762
 
1763
+ #: public/editor-build/221-wp/texts.php:288
1764
  msgid "Facebook Group"
1765
  msgstr ""
1766
 
1767
+ #: public/editor-build/221-wp/texts.php:289
1768
  msgid "Facebook Page"
1769
  msgstr ""
1770
 
1771
+ #: public/editor-build/221-wp/texts.php:290
1772
  msgid "FadeIn"
1773
  msgstr ""
1774
 
1775
+ #: public/editor-build/221-wp/texts.php:291
1776
  msgid "FadeInDown"
1777
  msgstr ""
1778
 
1779
+ #: public/editor-build/221-wp/texts.php:292
1780
  msgid "FadeInDownBig"
1781
  msgstr ""
1782
 
1783
+ #: public/editor-build/221-wp/texts.php:293
1784
  msgid "FadeInLeft"
1785
  msgstr ""
1786
 
1787
+ #: public/editor-build/221-wp/texts.php:294
1788
  msgid "FadeInLeftBig"
1789
  msgstr ""
1790
 
1791
+ #: public/editor-build/221-wp/texts.php:295
1792
  msgid "FadeInRight"
1793
  msgstr ""
1794
 
1795
+ #: public/editor-build/221-wp/texts.php:296
1796
  msgid "FadeInRightBig"
1797
  msgstr ""
1798
 
1799
+ #: public/editor-build/221-wp/texts.php:297
1800
  msgid "FadeInUp"
1801
  msgstr ""
1802
 
1803
+ #: public/editor-build/221-wp/texts.php:298
1804
  msgid "FadeInUpBig"
1805
  msgstr ""
1806
 
1807
+ #: public/editor-build/221-wp/texts.php:299
1808
  msgid "Failed to fetch api data"
1809
  msgstr ""
1810
 
1811
+ #: public/editor-build/221-wp/texts.php:300
1812
  msgid "Failed to reset password"
1813
  msgstr ""
1814
 
1815
+ #: public/editor-build/221-wp/texts.php:301
1816
  msgid "Failed to update page"
1817
  msgstr ""
1818
 
1819
+ #: public/editor-build/221-wp/texts.php:302
1820
  msgid "Failed to upload file. Please upload a valid JPG, PNG, SVG or GIF image."
1821
  msgstr ""
1822
 
1823
+ #: public/editor-build/221-wp/texts.php:303
1824
  msgid "Featured Image"
1825
  msgstr ""
1826
 
1827
+ #: public/editor-build/221-wp/texts.php:304
1828
  msgid "Features"
1829
  msgstr ""
1830
 
1831
+ #: public/editor-build/221-wp/texts.php:305
1832
  msgid "Field"
1833
  msgstr ""
1834
 
1835
+ #: public/editor-build/221-wp/texts.php:306
1836
  msgid "Field Type"
1837
  msgstr ""
1838
 
1839
+ #: public/editor-build/221-wp/texts.php:307
1840
  msgid "Fields are empty"
1841
  msgstr ""
1842
 
1843
+ #: public/editor-build/221-wp/texts.php:308
1844
  msgid "Fields are empty. Please add fields and try again."
1845
  msgstr ""
1846
 
1847
+ #: public/editor-build/221-wp/texts.php:309
1848
  msgid "File"
1849
  msgstr ""
1850
 
1851
+ #: public/editor-build/221-wp/texts.php:310
1852
  msgid "Fill"
1853
  msgstr ""
1854
 
1855
+ #: public/editor-build/221-wp/texts.php:311
1856
  msgid "Filter"
1857
  msgstr ""
1858
 
1859
+ #: public/editor-build/221-wp/texts.php:312
1860
  msgid "Filter By"
1861
  msgstr ""
1862
 
1863
+ #: public/editor-build/221-wp/texts.php:313
1864
  msgid "Filters"
1865
  msgstr ""
1866
 
1867
+ #: public/editor-build/221-wp/texts.php:314
1868
  msgid "First Name"
1869
  msgstr ""
1870
 
1871
+ #: public/editor-build/221-wp/texts.php:315
1872
  msgid "Fixed"
1873
  msgstr ""
1874
 
1875
+ #: public/editor-build/221-wp/texts.php:316
1876
  msgid "Flash"
1877
  msgstr ""
1878
 
1879
+ #: public/editor-build/221-wp/texts.php:317
1880
  msgid "Flip"
1881
  msgstr ""
1882
 
1883
+ #: public/editor-build/221-wp/texts.php:318
1884
  msgid "FlipInX"
1885
  msgstr ""
1886
 
1887
+ #: public/editor-build/221-wp/texts.php:319
1888
  msgid "FlipInY"
1889
  msgstr ""
1890
 
1891
+ #: public/editor-build/221-wp/texts.php:320
1892
  msgid "Follow"
1893
  msgstr ""
1894
 
1895
+ #: public/editor-build/221-wp/texts.php:321
1896
  msgid "Followers"
1897
  msgstr ""
1898
 
1899
+ #: public/editor-build/221-wp/texts.php:322
1900
  msgid "Font Family"
1901
  msgstr ""
1902
 
1903
+ #: public/editor-build/221-wp/texts.php:323
1904
  msgid "Font Name is Required"
1905
  msgstr ""
1906
 
1907
+ #: public/editor-build/221-wp/texts.php:324
1908
  msgid "Font name"
1909
  msgstr ""
1910
 
1911
+ #: public/editor-build/221-wp/texts.php:325
1912
  msgid "Font weight"
1913
  msgstr ""
1914
 
1915
+ #: public/editor-build/221-wp/texts.php:326
1916
  msgid "Fonts"
1917
  msgstr ""
1918
 
1919
+ #: public/editor-build/221-wp/texts.php:327
1920
  msgid "Food"
1921
  msgstr ""
1922
 
1923
+ #: public/editor-build/221-wp/texts.php:328
1924
  msgid "Footer"
1925
  msgstr ""
1926
 
1927
+ #: public/editor-build/221-wp/texts.php:329
1928
  msgid "Footers"
1929
  msgstr ""
1930
 
1931
+ #: public/editor-build/221-wp/texts.php:330
1932
  msgid "Form"
1933
  msgstr ""
1934
 
1935
+ #: public/editor-build/221-wp/texts.php:331
1936
  msgid "Form Fields"
1937
  msgstr ""
1938
 
1939
+ #: public/editor-build/221-wp/texts.php:332
1940
  msgid "Form Labels"
1941
  msgstr ""
1942
 
1943
+ #: public/editor-build/221-wp/texts.php:333
1944
  msgid "Form Select Dropdowns"
1945
  msgstr ""
1946
 
1947
+ #: public/editor-build/221-wp/texts.php:334
1948
  msgid "Form Submit"
1949
  msgstr ""
1950
 
1951
+ #: public/editor-build/221-wp/texts.php:335
1952
  msgid "Forms"
1953
  msgstr ""
1954
 
1955
+ #: public/editor-build/221-wp/texts.php:336
1956
  msgid "Free"
1957
  msgstr ""
1958
 
1959
+ #: public/editor-build/221-wp/texts.php:337
1960
  msgid "French"
1961
  msgstr ""
1962
 
1963
+ #: public/editor-build/221-wp/texts.php:338
1964
  msgid "From Email"
1965
  msgstr ""
1966
 
1967
+ #: public/editor-build/221-wp/texts.php:339
1968
  msgid "From Name"
1969
  msgstr ""
1970
 
1971
+ #: public/editor-build/221-wp/texts.php:340
1972
  msgid "Full"
1973
  msgstr ""
1974
 
1975
+ #: public/editor-build/221-wp/texts.php:341
1976
  msgid "Full Height"
1977
  msgstr ""
1978
 
1979
+ #: public/editor-build/221-wp/texts.php:342
1980
  msgid "Full Screen"
1981
  msgstr ""
1982
 
1983
+ #: public/editor-build/221-wp/texts.php:343
1984
  msgid "Full name"
1985
  msgstr ""
1986
 
1987
+ #: public/editor-build/221-wp/texts.php:344
1988
  msgid "Future"
1989
  msgstr ""
1990
 
1991
+ #: public/editor-build/221-wp/texts.php:345
1992
  msgid "Gallery"
1993
  msgstr ""
1994
 
1995
+ #: public/editor-build/221-wp/texts.php:346
1996
  msgid "Gallery Tags"
1997
  msgstr ""
1998
 
1999
+ #: public/editor-build/221-wp/texts.php:347
2000
  msgid "Gaming"
2001
  msgstr ""
2002
 
2003
+ #: public/editor-build/221-wp/texts.php:348
2004
  msgid "Gap Above"
2005
  msgstr ""
2006
 
2007
+ #: public/editor-build/221-wp/texts.php:349
2008
  msgid "Gap Below"
2009
  msgstr ""
2010
 
2011
+ #: public/editor-build/221-wp/texts.php:350
2012
  msgid "German"
2013
  msgstr ""
2014
 
2015
+ #: public/editor-build/221-wp/texts.php:351
2016
  msgid "Get a PRO plan"
2017
  msgstr ""
2018
 
2019
+ #: public/editor-build/221-wp/texts.php:352
2020
  msgid "Global Blocks"
2021
  msgstr ""
2022
 
2023
+ #: public/editor-build/221-wp/texts.php:353
2024
  msgid "Global Popups"
2025
  msgstr ""
2026
 
2027
+ #: public/editor-build/221-wp/texts.php:354
2028
  msgid "Go Back"
2029
  msgstr ""
2030
 
2031
+ #: public/editor-build/221-wp/texts.php:355
2032
  msgid "Go to"
2033
  msgstr ""
2034
 
2035
+ #: public/editor-build/221-wp/texts.php:356
2036
  msgid "Go to Dashboard"
2037
  msgstr ""
2038
 
2039
+ #: public/editor-build/221-wp/texts.php:357
2040
  msgid "Gradient"
2041
  msgstr ""
2042
 
2043
+ #: public/editor-build/221-wp/texts.php:358
2044
  msgid "Group"
2045
  msgstr ""
2046
 
2047
+ #: public/editor-build/221-wp/texts.php:359
2048
  msgid "H1"
2049
  msgstr ""
2050
 
2051
+ #: public/editor-build/221-wp/texts.php:360
2052
  msgid "H2"
2053
  msgstr ""
2054
 
2055
+ #: public/editor-build/221-wp/texts.php:361
2056
  msgid "H3"
2057
  msgstr ""
2058
 
2059
+ #: public/editor-build/221-wp/texts.php:362
2060
  msgid "H4"
2061
  msgstr ""
2062
 
2063
+ #: public/editor-build/221-wp/texts.php:363
2064
  msgid "H5"
2065
  msgstr ""
2066
 
2067
+ #: public/editor-build/221-wp/texts.php:364
2068
  msgid "H6"
2069
  msgstr ""
2070
 
2071
+ #: public/editor-build/221-wp/texts.php:365
2072
  msgid "HTML Tag"
2073
  msgstr ""
2074
 
2075
+ #: public/editor-build/221-wp/texts.php:366
2076
  msgid "Handle"
2077
  msgstr ""
2078
 
2079
+ #: public/editor-build/221-wp/texts.php:367
2080
  msgid "Head"
2081
  msgstr ""
2082
 
2083
+ #: public/editor-build/221-wp/texts.php:368
2084
  msgid "Header"
2085
  msgstr ""
2086
 
2087
+ #: public/editor-build/221-wp/texts.php:369
2088
  msgid "Health / Beauty"
2089
  msgstr ""
2090
 
2091
+ #: public/editor-build/221-wp/texts.php:370
2092
  msgid "Heavy"
2093
  msgstr ""
2094
 
2095
+ #: public/editor-build/221-wp/texts.php:371
2096
  msgid "Height"
2097
  msgstr ""
2098
 
2099
+ #: public/editor-build/221-wp/texts.php:372
2100
  msgid "Hero"
2101
  msgstr ""
2102
 
2103
+ #: public/editor-build/221-wp/texts.php:373
2104
  msgid "Hidden"
2105
  msgstr ""
2106
 
2107
+ #: public/editor-build/221-wp/texts.php:374
2108
  msgid "Hide"
2109
  msgstr ""
2110
 
2111
+ #: public/editor-build/221-wp/texts.php:375
2112
  msgid "Hide Cover Photo"
2113
  msgstr ""
2114
 
2115
+ #: public/editor-build/221-wp/texts.php:376
2116
  msgid "Hide Hidden Elements"
2117
  msgstr ""
2118
 
2119
+ #: public/editor-build/221-wp/texts.php:377
2120
  msgid "Horizontal Align"
2121
  msgstr ""
2122
 
2123
+ #: public/editor-build/221-wp/texts.php:378
2124
  msgid "Horizontal Offset"
2125
  msgstr ""
2126
 
2127
+ #: public/editor-build/221-wp/texts.php:379
2128
  msgid "Host"
2129
  msgstr ""
2130
 
2131
+ #: public/editor-build/221-wp/texts.php:380
2132
  msgid "Hour"
2133
  msgstr ""
2134
 
2135
+ #: public/editor-build/221-wp/texts.php:381
2136
  msgid "Hours"
2137
  msgstr ""
2138
 
2139
+ #: public/editor-build/221-wp/texts.php:382
2140
  msgid "Hover"
2141
  msgstr ""
2142
 
2143
+ #: public/editor-build/221-wp/texts.php:383
2144
  msgid "Hover Transition"
2145
  msgstr ""
2146
 
2147
+ #: public/editor-build/221-wp/texts.php:384
2148
  msgid "ID"
2149
  msgstr ""
2150
 
2151
+ #: public/editor-build/221-wp/texts.php:385
2152
  msgid "Icon"
2153
  msgstr ""
2154
 
2155
+ #: public/editor-build/221-wp/texts.php:386
2156
  msgid "Icon Box"
2157
  msgstr ""
2158
 
2159
+ #: public/editor-build/221-wp/texts.php:387
2160
  msgid "Icons"
2161
  msgstr ""
2162
 
2163
+ #: public/editor-build/221-wp/texts.php:388
2164
  msgid "If you need to increase max upload size please contact your hosting."
2165
  msgstr ""
2166
 
2167
+ #: public/editor-build/221-wp/texts.php:389
2168
  msgid "Image"
2169
  msgstr ""
2170
 
2171
+ #: public/editor-build/221-wp/texts.php:390
2172
  msgid "Image Test"
2173
  msgstr ""
2174
 
2175
+ #: public/editor-build/221-wp/texts.php:391
2176
  msgid "Image file is too large."
2177
  msgstr ""
2178
 
2179
+ #: public/editor-build/221-wp/texts.php:392
2180
  msgid "Import New Block"
2181
  msgstr ""
2182
 
2183
+ #: public/editor-build/221-wp/texts.php:393
2184
  msgid "Import New Layout"
2185
  msgstr ""
2186
 
2187
+ #: public/editor-build/221-wp/texts.php:394
2188
  msgid "Import New Popup"
2189
  msgstr ""
2190
 
2191
+ #: public/editor-build/221-wp/texts.php:395
2192
  msgid "Import This Layout"
2193
  msgstr ""
2194
 
2195
+ #: public/editor-build/221-wp/texts.php:396
2196
  msgid "Import This Story"
2197
  msgstr ""
2198
 
2199
+ #: public/editor-build/221-wp/texts.php:397
2200
  msgid "Include"
2201
  msgstr ""
2202
 
2203
+ #: public/editor-build/221-wp/texts.php:398
2204
  msgid "Include By"
2205
  msgstr ""
2206
 
2207
+ #: public/editor-build/221-wp/texts.php:399
2208
  msgid "Include Full Post"
2209
  msgstr ""
2210
 
2211
+ #: public/editor-build/221-wp/texts.php:400
2212
  msgid "Include Share Button"
2213
  msgstr ""
2214
 
2215
+ #: public/editor-build/221-wp/texts.php:401
2216
  msgid "Incorrect"
2217
  msgstr ""
2218
 
2219
+ #: public/editor-build/221-wp/texts.php:402
2220
  msgid "Incorrect username or password"
2221
  msgstr ""
2222
 
2223
+ #: public/editor-build/221-wp/texts.php:403
2224
  msgid "Info"
2225
  msgstr ""
2226
 
2227
+ #: public/editor-build/221-wp/texts.php:404
2228
  msgid "Inherit"
2229
  msgstr ""
2230
 
2231
+ #: public/editor-build/221-wp/texts.php:405
2232
  msgid "Inline"
2233
  msgstr ""
2234
 
2235
+ #: public/editor-build/221-wp/texts.php:406
2236
  msgid "Input"
2237
  msgstr ""
2238
 
2239
+ #: public/editor-build/221-wp/texts.php:407
2240
  msgid "Inputted a valid site key"
2241
  msgstr ""
2242
 
2243
+ #: public/editor-build/221-wp/texts.php:408
2244
  msgid "Inset"
2245
  msgstr ""
2246
 
2247
+ #: public/editor-build/221-wp/texts.php:409
2248
  msgid "Intro"
2249
  msgstr ""
2250
 
2251
+ #: public/editor-build/221-wp/texts.php:410
2252
  msgid "Invalid api data"
2253
  msgstr ""
2254
 
2255
+ #: public/editor-build/221-wp/texts.php:411
2256
  msgid "It's a sample"
2257
  msgstr ""
2258
 
2259
+ #: public/editor-build/221-wp/texts.php:412
2260
  msgid "Italian"
2261
  msgstr ""
2262
 
2263
+ #: public/editor-build/221-wp/texts.php:413
2264
  msgid "Italic"
2265
  msgstr ""
2266
 
2267
+ #: public/editor-build/221-wp/texts.php:414
2268
  msgid "Item"
2269
  msgstr ""
2270
 
2271
+ #: public/editor-build/221-wp/texts.php:415
2272
  msgid "JackInTheBox"
2273
  msgstr ""
2274
 
2275
+ #: public/editor-build/221-wp/texts.php:416
2276
  msgid "Jello"
2277
  msgstr ""
2278
 
2279
+ #: public/editor-build/221-wp/texts.php:417
2280
  msgid "Keyboard Shortcuts"
2281
  msgstr ""
2282
 
2283
+ #: public/editor-build/221-wp/texts.php:418
2284
  msgid "Label"
2285
  msgstr ""
2286
 
2287
+ #: public/editor-build/221-wp/texts.php:419
2288
  msgid "Language"
2289
  msgstr ""
2290
 
2291
+ #: public/editor-build/221-wp/texts.php:420
2292
  msgid "Last Name"
2293
  msgstr ""
2294
 
2295
+ #: public/editor-build/221-wp/texts.php:421
2296
  msgid "Lateral"
2297
  msgstr ""
2298
 
2299
+ #: public/editor-build/221-wp/texts.php:422
2300
  msgid "Layout"
2301
  msgstr ""
2302
 
2303
+ #: public/editor-build/221-wp/texts.php:423
2304
  msgid "Layouts"
2305
  msgstr ""
2306
 
2307
+ #: public/editor-build/221-wp/texts.php:424
2308
  msgid "Left"
2309
  msgstr ""
2310
 
2311
+ #: public/editor-build/221-wp/texts.php:425
2312
  msgid "Letter Sp."
2313
  msgstr ""
2314
 
2315
+ #: public/editor-build/221-wp/texts.php:426
2316
  msgid "Light"
2317
  msgstr ""
2318
 
2319
+ #: public/editor-build/221-wp/texts.php:427
2320
  msgid "LightSpeedIn"
2321
  msgstr ""
2322
 
2323
+ #: public/editor-build/221-wp/texts.php:428
2324
  msgid "Like"
2325
  msgstr ""
2326
 
2327
+ #: public/editor-build/221-wp/texts.php:429
2328
  msgid "Line"
2329
  msgstr ""
2330
 
2331
+ #: public/editor-build/221-wp/texts.php:430
2332
  msgid "Line Hgt."
2333
  msgstr ""
2334
 
2335
+ #: public/editor-build/221-wp/texts.php:431
2336
  msgid "Linear"
2337
  msgstr ""
2338
 
2339
+ #: public/editor-build/221-wp/texts.php:432
2340
  msgid "Link"
2341
  msgstr ""
2342
 
2343
+ #: public/editor-build/221-wp/texts.php:433
2344
  msgid "Link to"
2345
  msgstr ""
2346
 
2347
+ #: public/editor-build/221-wp/texts.php:434
2348
  msgid "Links"
2349
  msgstr ""
2350
 
2351
+ #: public/editor-build/221-wp/texts.php:435
2352
  msgid "List"
2353
  msgstr ""
2354
 
2355
+ #: public/editor-build/221-wp/texts.php:436
2356
  msgid "List are not created please connect the support"
2357
  msgstr ""
2358
 
2359
+ #: public/editor-build/221-wp/texts.php:437
2360
  msgid "Lists are empty. Please add a new list and try again."
2361
  msgstr ""
2362
 
2363
+ #: public/editor-build/221-wp/texts.php:438
2364
  msgid "Loading..."
2365
  msgstr ""
2366
 
2367
+ #: public/editor-build/221-wp/texts.php:439
2368
  msgid "Locked"
2369
  msgstr ""
2370
 
2371
+ #: public/editor-build/221-wp/texts.php:440
2372
  msgid "Login"
2373
  msgstr ""
2374
 
2375
+ #: public/editor-build/221-wp/texts.php:441
2376
  msgid "Login Submit"
2377
  msgstr ""
2378
 
2379
+ #: public/editor-build/221-wp/texts.php:442
2380
  msgid "Logout"
2381
  msgstr ""
2382
 
2383
+ #: public/editor-build/221-wp/texts.php:443
2384
  msgid "Loop"
2385
  msgstr ""
2386
 
2387
+ #: public/editor-build/221-wp/texts.php:444
2388
  msgid "Lost Password"
2389
  msgstr ""
2390
 
2391
+ #: public/editor-build/221-wp/texts.php:445
2392
  msgid "Lottie"
2393
  msgstr ""
2394
 
2395
+ #: public/editor-build/221-wp/texts.php:446
2396
  msgid "Lottie File"
2397
  msgstr ""
2398
 
2399
+ #: public/editor-build/221-wp/texts.php:447
2400
  msgid "Lottie Link"
2401
  msgstr ""
2402
 
2403
+ #: public/editor-build/221-wp/texts.php:448
2404
  msgid "Main"
2405
  msgstr ""
2406
 
2407
+ #: public/editor-build/221-wp/texts.php:449
2408
  msgid "Make it Global"
2409
  msgstr ""
2410
 
2411
+ #: public/editor-build/221-wp/texts.php:450
2412
  msgid "Make it Hamburger"
2413
  msgstr ""
2414
 
2415
+ #: public/editor-build/221-wp/texts.php:451
2416
  msgid "Make it Nofollow"
2417
  msgstr ""
2418
 
2419
+ #: public/editor-build/221-wp/texts.php:452
2420
  msgid "Make it a Slider"
2421
  msgstr ""
2422
 
2423
+ #: public/editor-build/221-wp/texts.php:453
2424
  msgid "Manual"
2425
  msgstr ""
2426
 
2427
+ #: public/editor-build/221-wp/texts.php:454
2428
  msgid "Map"
2429
  msgstr ""
2430
 
2431
+ #: public/editor-build/221-wp/texts.php:455
2432
  msgid "Margin"
2433
  msgstr ""
2434
 
2435
+ #: public/editor-build/221-wp/texts.php:456
2436
  msgid "Mask"
2437
  msgstr ""
2438
 
2439
+ #: public/editor-build/221-wp/texts.php:457
2440
  msgid "Max"
2441
  msgstr ""
2442
 
2443
+ #: public/editor-build/221-wp/texts.php:458
2444
  msgid "Max Date"
2445
  msgstr ""
2446
 
2447
+ #: public/editor-build/221-wp/texts.php:459
2448
  msgid "Max Time"
2449
  msgstr ""
2450
 
2451
+ #: public/editor-build/221-wp/texts.php:460
2452
  msgid "Max. File Size"
2453
  msgstr ""
2454
 
2455
+ #: public/editor-build/221-wp/texts.php:461
2456
  msgid "Medium"
2457
  msgstr ""
2458
 
2459
+ #: public/editor-build/221-wp/texts.php:462
2460
  msgid "Mega Menu"
2461
  msgstr ""
2462
 
2463
+ #: public/editor-build/221-wp/texts.php:463
2464
  msgid "Membership"
2465
  msgstr ""
2466
 
2467
+ #: public/editor-build/221-wp/texts.php:464
2468
  msgid "Mention"
2469
  msgstr ""
2470
 
2471
+ #: public/editor-build/221-wp/texts.php:465
2472
  msgid "Menu"
2473
  msgstr ""
2474
 
2475
+ #: public/editor-build/221-wp/texts.php:466
2476
  msgid "Menu Items"
2477
  msgstr ""
2478
 
2479
+ #: public/editor-build/221-wp/texts.php:467
2480
  msgid "Menu Order"
2481
  msgstr ""
2482
 
2483
+ #: public/editor-build/221-wp/texts.php:468
2484
  msgid "Menu order"
2485
  msgstr ""
2486
 
2487
+ #: public/editor-build/221-wp/texts.php:469
2488
  msgid "Message"
2489
  msgstr ""
2490
 
2491
+ #: public/editor-build/221-wp/texts.php:470
2492
  msgid "Message not sent"
2493
  msgstr ""
2494
 
2495
+ #: public/editor-build/221-wp/texts.php:471
2496
  msgid "Message sent"
2497
  msgstr ""
2498
 
2499
+ #: public/editor-build/221-wp/texts.php:472
2500
  msgid "Messages"
2501
  msgstr ""
2502
 
2503
+ #: public/editor-build/221-wp/texts.php:473
2504
  msgid "Meta"
2505
  msgstr ""
2506
 
2507
+ #: public/editor-build/221-wp/texts.php:474
2508
  msgid "Meta Data"
2509
  msgstr ""
2510
 
2511
+ #: public/editor-build/221-wp/texts.php:475
2512
  msgid "Meta Key"
2513
  msgstr ""
2514
 
2515
+ #: public/editor-build/221-wp/texts.php:476
2516
  msgid "Meta Value"
2517
  msgstr ""
2518
 
2519
+ #: public/editor-build/221-wp/texts.php:477
2520
  msgid "Min"
2521
  msgstr ""
2522
 
2523
+ #: public/editor-build/221-wp/texts.php:478
2524
  msgid "Min Date"
2525
  msgstr ""
2526
 
2527
+ #: public/editor-build/221-wp/texts.php:479
2528
  msgid "Min Time"
2529
  msgstr ""
2530
 
2531
+ #: public/editor-build/221-wp/texts.php:480
2532
  msgid "Minimal"
2533
  msgstr ""
2534
 
2535
+ #: public/editor-build/221-wp/texts.php:481
2536
  msgid "Minutes"
2537
  msgstr ""
2538
 
2539
+ #: public/editor-build/221-wp/texts.php:482
2540
  msgid "Missing Element"
2541
  msgstr ""
2542
 
2543
+ #: public/editor-build/221-wp/texts.php:483
2544
  msgid "Mobile"
2545
  msgstr ""
2546
 
2547
+ #: public/editor-build/221-wp/texts.php:484
2548
  msgid "Mobile view"
2549
  msgstr ""
2550
 
2551
+ #: public/editor-build/221-wp/texts.php:485
2552
  msgid "Modified"
2553
  msgstr ""
2554
 
2555
+ #: public/editor-build/221-wp/texts.php:486
2556
  msgid "More"
2557
  msgstr ""
2558
 
2559
+ #: public/editor-build/221-wp/texts.php:487
2560
  msgid "More Settings"
2561
  msgstr ""
2562
 
2563
+ #: public/editor-build/221-wp/texts.php:488
2564
  msgid "Move left"
2565
  msgstr ""
2566
 
2567
+ #: public/editor-build/221-wp/texts.php:489
2568
  msgid "Move right"
2569
  msgstr ""
2570
 
2571
+ #: public/editor-build/221-wp/texts.php:490
2572
  msgid "Multiple Selection"
2573
  msgstr ""
2574
 
2575
+ #: public/editor-build/221-wp/texts.php:491
2576
  msgid "Muted"
2577
  msgstr ""
2578
 
2579
+ #: public/editor-build/221-wp/texts.php:492
2580
  msgid "My Account"
2581
  msgstr ""
2582
 
2583
+ #: public/editor-build/221-wp/texts.php:493
2584
  msgid "N/A"
2585
  msgstr ""
2586
 
2587
+ #: public/editor-build/221-wp/texts.php:494
2588
  msgid "Name"
2589
  msgstr ""
2590
 
2591
+ #: public/editor-build/221-wp/texts.php:495
2592
  msgid "Native HTML5"
2593
  msgstr ""
2594
 
2595
+ #: public/editor-build/221-wp/texts.php:496
2596
  msgid "Nav"
2597
  msgstr ""
2598
 
2599
+ #: public/editor-build/221-wp/texts.php:497
2600
  msgid "Navigation"
2601
  msgstr ""
2602
 
2603
+ #: public/editor-build/221-wp/texts.php:498
2604
  msgid "Need help"
2605
  msgstr ""
2606
 
2607
+ #: public/editor-build/221-wp/texts.php:499
2608
  msgid "New Style #%s"
2609
  msgstr ""
2610
 
2611
+ #: public/editor-build/221-wp/texts.php:500
2612
  msgid "No matches found"
2613
  msgstr ""
2614
 
2615
+ #: public/editor-build/221-wp/texts.php:501
2616
  msgid "No results"
2617
  msgstr ""
2618
 
2619
+ #: public/editor-build/221-wp/texts.php:502
2620
  msgid "Non Profit"
2621
  msgstr ""
2622
 
2623
+ #: public/editor-build/221-wp/texts.php:503
2624
  msgid "None"
2625
  msgstr ""
2626
 
2627
+ #: public/editor-build/221-wp/texts.php:504
2628
  msgid "Normal"
2629
  msgstr ""
2630
 
2631
+ #: public/editor-build/221-wp/texts.php:505
2632
  msgid "Not Required"
2633
  msgstr ""
2634
 
2635
+ #: public/editor-build/221-wp/texts.php:506
2636
  msgid "Nothing Found"
2637
  msgstr ""
2638
 
2639
+ #: public/editor-build/221-wp/texts.php:507
2640
  msgid "Nothing here yet, make a global block first."
2641
  msgstr ""
2642
 
2643
+ #: public/editor-build/221-wp/texts.php:508
2644
  msgid "Nothing here yet, make a global popup first."
2645
  msgstr ""
2646
 
2647
+ #: public/editor-build/221-wp/texts.php:509
2648
  msgid "Nothing here yet, save a block first."
2649
  msgstr ""
2650
 
2651
+ #: public/editor-build/221-wp/texts.php:510
2652
  msgid "Nothing here yet, save a layout first."
2653
  msgstr ""
2654
 
2655
+ #: public/editor-build/221-wp/texts.php:511
2656
  msgid "Nothing here yet, save a popup first."
2657
  msgstr ""
2658
 
2659
+ #: public/editor-build/221-wp/texts.php:512
2660
  msgid "Nothing here, please refine your search."
2661
  msgstr ""
2662
 
2663
+ #: public/editor-build/221-wp/texts.php:513
2664
  msgid "Nr"
2665
  msgstr ""
2666
 
2667
+ #: public/editor-build/221-wp/texts.php:514
2668
  msgid "Number"
2669
  msgstr ""
2670
 
2671
+ #: public/editor-build/221-wp/texts.php:515
2672
  msgid "Number of posts"
2673
  msgstr ""
2674
 
2675
+ #: public/editor-build/221-wp/texts.php:516
2676
  msgid "Offset"
2677
  msgstr ""
2678
 
2679
+ #: public/editor-build/221-wp/texts.php:517
2680
  msgid "On Click"
2681
  msgstr ""
2682
 
2683
+ #: public/editor-build/221-wp/texts.php:518
2684
  msgid "On Hover"
2685
  msgstr ""
2686
 
2687
+ #: public/editor-build/221-wp/texts.php:519
2688
  msgid "One Page"
2689
  msgstr ""
2690
 
2691
+ #: public/editor-build/221-wp/texts.php:520
2692
  msgid "Open In New Tab"
2693
  msgstr ""
2694
 
2695
+ #: public/editor-build/221-wp/texts.php:521
2696
  msgid "Open in Lightbox"
2697
  msgstr ""
2698
 
2699
+ #: public/editor-build/221-wp/texts.php:522
2700
  msgid "Order"
2701
  msgstr ""
2702
 
2703
+ #: public/editor-build/221-wp/texts.php:523
2704
  msgid "Order By"
2705
  msgstr ""
2706
 
2707
+ #: public/editor-build/221-wp/texts.php:524
2708
  msgid "Order Tracking"
2709
  msgstr ""
2710
 
2711
+ #: public/editor-build/221-wp/texts.php:525
2712
  msgid "Orientation"
2713
  msgstr ""
2714
 
2715
+ #: public/editor-build/221-wp/texts.php:526
2716
  msgid "Outline"
2717
  msgstr ""
2718
 
2719
+ #: public/editor-build/221-wp/texts.php:527
2720
  msgid "Outset"
2721
  msgstr ""
2722
 
2723
+ #: public/editor-build/221-wp/texts.php:528
2724
  msgid "Overlay"
2725
  msgstr ""
2726
 
2727
+ #: public/editor-build/221-wp/texts.php:529
2728
  msgid "Overlay "
2729
  msgstr ""
2730
 
2731
+ #: public/editor-build/221-wp/texts.php:530
2732
  msgid "P"
2733
  msgstr ""
2734
 
2735
+ #: public/editor-build/221-wp/texts.php:531
2736
  msgid "PRE"
2737
  msgstr ""
2738
 
2739
+ #: public/editor-build/221-wp/texts.php:532
2740
  msgid "Padding"
2741
  msgstr ""
2742
 
2743
+ #: public/editor-build/221-wp/texts.php:533
2744
  msgid "Page"
2745
  msgstr ""
2746
 
2747
+ #: public/editor-build/221-wp/texts.php:534
2748
  msgid "Page Layout"
2749
  msgstr ""
2750
 
2751
+ #: public/editor-build/221-wp/texts.php:535
2752
  msgid "Page Template"
2753
  msgstr ""
2754
 
2755
+ #: public/editor-build/221-wp/texts.php:536
2756
  msgid "Page Title"
2757
  msgstr ""
2758
 
2759
+ #: public/editor-build/221-wp/texts.php:537
2760
  msgid "Page title"
2761
  msgstr ""
2762
 
2763
+ #: public/editor-build/221-wp/texts.php:538
2764
  msgid "Pages"
2765
  msgstr ""
2766
 
2767
+ #: public/editor-build/221-wp/texts.php:539
2768
  msgid "Pagination"
2769
  msgstr ""
2770
 
2771
+ #: public/editor-build/221-wp/texts.php:540
2772
  msgid "Paragraph"
2773
  msgstr ""
2774
 
2775
+ #: public/editor-build/221-wp/texts.php:541
2776
  msgid "Parallax"
2777
  msgstr ""
2778
 
2779
+ #: public/editor-build/221-wp/texts.php:542
2780
  msgid "Parent"
2781
  msgstr ""
2782
 
2783
+ #: public/editor-build/221-wp/texts.php:543
2784
  msgid "Password"
2785
  msgstr ""
2786
 
2787
+ #: public/editor-build/221-wp/texts.php:544
2788
  msgid "Password and confirm password is not the same"
2789
  msgstr ""
2790
 
2791
+ #: public/editor-build/221-wp/texts.php:545
2792
  msgid "Paste"
2793
  msgstr ""
2794
 
2795
+ #: public/editor-build/221-wp/texts.php:546
2796
  msgid "Paste Style"
2797
  msgstr ""
2798
 
2799
+ #: public/editor-build/221-wp/texts.php:547
2800
  msgid "Paste Styles"
2801
  msgstr ""
2802
 
2803
+ #: public/editor-build/221-wp/texts.php:548
2804
  msgid "Paste your WordPress shortcode here ..."
2805
  msgstr ""
2806
 
2807
+ #: public/editor-build/221-wp/texts.php:549
2808
  msgid "Paste your code here..."
2809
  msgstr ""
2810
 
2811
+ #: public/editor-build/221-wp/texts.php:550
2812
  msgid "Pending"
2813
  msgstr ""
2814
 
2815
+ #: public/editor-build/221-wp/texts.php:551
2816
  msgid "Percent"
2817
  msgstr ""
2818
 
2819
+ #: public/editor-build/221-wp/texts.php:552
2820
  msgid "Percentage"
2821
  msgstr ""
2822
 
2823
+ #: public/editor-build/221-wp/texts.php:553
2824
  msgid "Phone Number"
2825
  msgstr ""
2826
 
2827
+ #: public/editor-build/221-wp/texts.php:554
2828
  msgid "Placeholder"
2829
  msgstr ""
2830
 
2831
+ #: public/editor-build/221-wp/texts.php:555
2832
  msgid "Plain"
2833
  msgstr ""
2834
 
2835
+ #: public/editor-build/221-wp/texts.php:556
2836
  msgid "Play"
2837
  msgstr ""
2838
 
2839
+ #: public/editor-build/221-wp/texts.php:557
2840
  msgid "Playlist"
2841
  msgstr ""
2842
 
2843
+ #: public/editor-build/221-wp/texts.php:558
2844
  msgid "Playlist Items"
2845
  msgstr ""
2846
 
2847
+ #: public/editor-build/221-wp/texts.php:559
2848
  msgid "Plugin Settings"
2849
  msgstr ""
2850
 
2851
+ #: public/editor-build/221-wp/texts.php:560
2852
  msgid "Popularity"
2853
  msgstr ""
2854
 
2855
+ #: public/editor-build/221-wp/texts.php:561
2856
  msgid "Popup"
2857
  msgstr ""
2858
 
2859
+ #: public/editor-build/221-wp/texts.php:562
2860
  msgid "Popup Close Icon"
2861
  msgstr ""
2862
 
2863
+ #: public/editor-build/221-wp/texts.php:564
2864
  msgid "Port"
2865
  msgstr ""
2866
 
2867
+ #: public/editor-build/221-wp/texts.php:565
2868
  msgid "Portfolio"
2869
  msgstr ""
2870
 
2871
+ #: public/editor-build/221-wp/texts.php:566
2872
  msgid "Position"
2873
  msgstr ""
2874
 
2875
+ #: public/editor-build/221-wp/texts.php:567
2876
  msgid "Post"
2877
  msgstr ""
2878
 
2879
+ #: public/editor-build/221-wp/texts.php:568
2880
  msgid "Post Content"
2881
  msgstr ""
2882
 
2883
+ #: public/editor-build/221-wp/texts.php:569
2884
  msgid "Post Excerpt"
2885
  msgstr ""
2886
 
2887
+ #: public/editor-build/221-wp/texts.php:570
2888
  msgid "Post Info"
2889
  msgstr ""
2890
 
2891
+ #: public/editor-build/221-wp/texts.php:571
2892
  msgid "Post Navigation"
2893
  msgstr ""
2894
 
2895
+ #: public/editor-build/221-wp/texts.php:572
2896
  msgid "Post Title"
2897
  msgstr ""
2898
 
2899
+ #: public/editor-build/221-wp/texts.php:573
2900
  msgid "Post Type"
2901
  msgstr ""
2902
 
2903
+ #: public/editor-build/221-wp/texts.php:574
2904
  msgid "Post info"
2905
  msgstr ""
2906
 
2907
+ #: public/editor-build/221-wp/texts.php:575
2908
  msgid "Posts"
2909
  msgstr ""
2910
 
2911
+ #: public/editor-build/221-wp/texts.php:576
2912
  msgid "Posts Pagination"
2913
  msgstr ""
2914
 
2915
+ #: public/editor-build/221-wp/texts.php:577
2916
  msgid "Posts Tags"
2917
  msgstr ""
2918
 
2919
+ #: public/editor-build/221-wp/texts.php:578
2920
  msgid "Prefix"
2921
  msgstr ""
2922
 
2923
+ #: public/editor-build/221-wp/texts.php:579
2924
  msgid "Press the button above to add blocks"
2925
  msgstr ""
2926
 
2927
+ #: public/editor-build/221-wp/texts.php:580
2928
  msgid "Press the button above to add popup"
2929
  msgstr ""
2930
 
2931
+ #: public/editor-build/221-wp/texts.php:581
2932
  msgid "Press the button to add blocks"
2933
  msgstr ""
2934
 
2935
+ #: public/editor-build/221-wp/texts.php:582
2936
  msgid "Price"
2937
  msgstr ""
2938
 
2939
+ #: public/editor-build/221-wp/texts.php:583
2940
  msgid "Pricing"
2941
  msgstr ""
2942
 
2943
+ #: public/editor-build/221-wp/texts.php:584
2944
  msgid "Private"
2945
  msgstr ""
2946
 
2947
+ #: public/editor-build/221-wp/texts.php:586
2948
  msgid "Product Attributes"
2949
  msgstr ""
2950
 
2951
+ #: public/editor-build/221-wp/texts.php:587
2952
  msgid "Product Breadcrumbs"
2953
  msgstr ""
2954
 
2955
+ #: public/editor-build/221-wp/texts.php:588
2956
  msgid "Product Content"
2957
  msgstr ""
2958
 
2959
+ #: public/editor-build/221-wp/texts.php:589
2960
  msgid "Product Excerpt"
2961
  msgstr ""
2962
 
2963
+ #: public/editor-build/221-wp/texts.php:590
2964
  msgid "Product Gallery"
2965
  msgstr ""
2966
 
2967
+ #: public/editor-build/221-wp/texts.php:591
2968
  msgid "Product ID"
2969
  msgstr ""
2970
 
2971
+ #: public/editor-build/221-wp/texts.php:592
2972
  msgid "Product ID or SKU"
2973
  msgstr ""
2974
 
2975
+ #: public/editor-build/221-wp/texts.php:593
2976
  msgid "Product Meta"
2977
  msgstr ""
2978
 
2979
+ #: public/editor-build/221-wp/texts.php:594
2980
  msgid "Product Price"
2981
  msgstr ""
2982
 
2983
+ #: public/editor-build/221-wp/texts.php:595
2984
  msgid "Product Rating"
2985
  msgstr ""
2986
 
2987
+ #: public/editor-build/221-wp/texts.php:596
2988
  msgid "Product Sku"
2989
  msgstr ""
2990
 
2991
+ #: public/editor-build/221-wp/texts.php:597
2992
  msgid "Product Stock"
2993
  msgstr ""
2994
 
2995
+ #: public/editor-build/221-wp/texts.php:598
2996
  msgid "Product Thumbnail"
2997
  msgstr ""
2998
 
2999
+ #: public/editor-build/221-wp/texts.php:599
3000
  msgid "Product Title"
3001
  msgstr ""
3002
 
3003
+ #: public/editor-build/221-wp/texts.php:600
3004
  msgid "Products"
3005
  msgstr ""
3006
 
3007
+ #: public/editor-build/221-wp/texts.php:601
3008
  msgid "Products Count"
3009
  msgstr ""
3010
 
3011
+ #: public/editor-build/221-wp/texts.php:602
3012
  msgid "Products Pagination"
3013
  msgstr ""
3014
 
3015
+ #: public/editor-build/221-wp/texts.php:603
3016
  msgid "Products Tags"
3017
  msgstr ""
3018
 
3019
+ #: public/editor-build/221-wp/texts.php:604
3020
  msgid "Progress"
3021
  msgstr ""
3022
 
3023
+ #: public/editor-build/221-wp/texts.php:605
3024
  msgid "Protected Form"
3025
  msgstr ""
3026
 
3027
+ #: public/editor-build/221-wp/texts.php:606
3028
  msgid "Protected Page"
3029
  msgstr ""
3030
 
3031
+ #: public/editor-build/221-wp/texts.php:607
3032
  msgid "Publish"
3033
  msgstr ""
3034
 
3035
+ #: public/editor-build/221-wp/texts.php:608
3036
  msgid "Publish Page"
3037
  msgstr ""
3038
 
3039
+ #: public/editor-build/221-wp/texts.php:609
3040
  msgid "Pulse"
3041
  msgstr ""
3042
 
3043
+ #: public/editor-build/221-wp/texts.php:610
3044
  msgid "Quantity"
3045
  msgstr ""
3046
 
3047
+ #: public/editor-build/221-wp/texts.php:611
3048
  msgid "Query"
3049
  msgstr ""
3050
 
3051
+ #: public/editor-build/221-wp/texts.php:612
3052
  msgid "Radial"
3053
  msgstr ""
3054
 
3055
+ #: public/editor-build/221-wp/texts.php:613
3056
  msgid "Radio"
3057
  msgstr ""
3058
 
3059
+ #: public/editor-build/221-wp/texts.php:614
3060
  msgid "Random"
3061
  msgstr ""
3062
 
3063
+ #: public/editor-build/221-wp/texts.php:615
3064
  msgid "Rating"
3065
  msgstr ""
3066
 
3067
+ #: public/editor-build/221-wp/texts.php:616
3068
  msgid "Ratio"
3069
  msgstr ""
3070
 
3071
+ #: public/editor-build/221-wp/texts.php:617
3072
  msgid "ReCAPTCHA"
3073
  msgstr ""
3074
 
3075
+ #: public/editor-build/221-wp/texts.php:618
3076
  msgid "Real-Estate"
3077
  msgstr ""
3078
 
3079
+ #: public/editor-build/221-wp/texts.php:619
3080
  msgid "Recommend"
3081
  msgstr ""
3082
 
3083
+ #: public/editor-build/221-wp/texts.php:620
3084
  msgid "Redirect"
3085
  msgstr ""
3086
 
3087
+ #: public/editor-build/221-wp/texts.php:621
3088
  msgid "Redirect After Login"
3089
  msgstr ""
3090
 
3091
+ #: public/editor-build/221-wp/texts.php:622
3092
  msgid "Redirect After Logout"
3093
  msgstr ""
3094
 
3095
+ #: public/editor-build/221-wp/texts.php:623
3096
  msgid "Redo"
3097
  msgstr ""
3098
 
3099
+ #: public/editor-build/221-wp/texts.php:624
3100
  msgid "Refresh"
3101
  msgstr ""
3102
 
3103
+ #: public/editor-build/221-wp/texts.php:625
3104
  msgid "Register"
3105
  msgstr ""
3106
 
3107
+ #: public/editor-build/221-wp/texts.php:626
3108
  msgid "Register Info"
3109
  msgstr ""
3110
 
3111
+ #: public/editor-build/221-wp/texts.php:627
3112
  msgid "Related Products"
3113
  msgstr ""
3114
 
3115
+ #: public/editor-build/221-wp/texts.php:628
3116
  msgid "Related Products Pagination"
3117
  msgstr ""
3118
 
3119
+ #: public/editor-build/221-wp/texts.php:629
3120
  msgid "Related Products Tags"
3121
  msgstr ""
3122
 
3123
+ #: public/editor-build/221-wp/texts.php:630
3124
  msgid "Religion"
3125
  msgstr ""
3126
 
3127
+ #: public/editor-build/221-wp/texts.php:631
3128
  msgid "Remember me"
3129
  msgstr ""
3130
 
3131
+ #: public/editor-build/221-wp/texts.php:632
3132
  msgid "Renderer"
3133
  msgstr ""
3134
 
3135
+ #: public/editor-build/221-wp/texts.php:633
3136
  msgid "Reorder Blocks"
3137
  msgstr ""
3138
 
3139
+ #: public/editor-build/221-wp/texts.php:634
3140
  msgid "Repair"
3141
  msgstr ""
3142
 
3143
+ #: public/editor-build/221-wp/texts.php:635
3144
  msgid "Replace global styling"
3145
  msgstr ""
3146
 
3147
+ #: public/editor-build/221-wp/texts.php:636
3148
  msgid "Reply"
3149
  msgstr ""
3150
 
3151
+ #: public/editor-build/221-wp/texts.php:637
3152
  msgid "Reply-To"
3153
  msgstr ""
3154
 
3155
+ #: public/editor-build/221-wp/texts.php:638
3156
  msgid "Required"
3157
  msgstr ""
3158
 
3159
+ #: public/editor-build/221-wp/texts.php:639
3160
  msgid "Reset Password"
3161
  msgstr ""
3162
 
3163
+ #: public/editor-build/221-wp/texts.php:640
3164
  msgid "Responsive Zoom In / Out"
3165
  msgstr ""
3166
 
3167
+ #: public/editor-build/221-wp/texts.php:641
3168
  msgid "Reverse"
3169
  msgstr ""
3170
 
3171
+ #: public/editor-build/221-wp/texts.php:642
3172
  msgid "Reverse Columns"
3173
  msgstr ""
3174
 
3175
+ #: public/editor-build/221-wp/texts.php:643
3176
  msgid "Review"
3177
  msgstr ""
3178
 
3179
+ #: public/editor-build/221-wp/texts.php:644
3180
  msgid "Right"
3181
  msgstr ""
3182
 
3183
+ #: public/editor-build/221-wp/texts.php:646
3184
  msgid "RollIn"
3185
  msgstr ""
3186
 
3187
+ #: public/editor-build/221-wp/texts.php:647
3188
  msgid "Rotate"
3189
  msgstr ""
3190
 
3191
+ #: public/editor-build/221-wp/texts.php:648
3192
  msgid "RotateIn"
3193
  msgstr ""
3194
 
3195
+ #: public/editor-build/221-wp/texts.php:649
3196
  msgid "RotateInDownLeft"
3197
  msgstr ""
3198
 
3199
+ #: public/editor-build/221-wp/texts.php:650
3200
  msgid "RotateInDownRight"
3201
  msgstr ""
3202
 
3203
+ #: public/editor-build/221-wp/texts.php:651
3204
  msgid "RotateInUpLeft"
3205
  msgstr ""
3206
 
3207
+ #: public/editor-build/221-wp/texts.php:652
3208
  msgid "RotateInUpRight"
3209
  msgstr ""
3210
 
3211
+ #: public/editor-build/221-wp/texts.php:653
3212
  msgid "Round"
3213
  msgstr ""
3214
 
3215
+ #: public/editor-build/221-wp/texts.php:654
3216
  msgid "Row"
3217
  msgstr ""
3218
 
3219
+ #: public/editor-build/221-wp/texts.php:655
3220
  msgid "Rows"
3221
  msgstr ""
3222
 
3223
+ #: public/editor-build/221-wp/texts.php:656
3224
  msgid "RubberBand"
3225
  msgstr ""
3226
 
3227
+ #: public/editor-build/221-wp/texts.php:657
3228
  msgid "Russian"
3229
  msgstr ""
3230
 
3231
+ #: public/editor-build/221-wp/texts.php:658
3232
  msgid "SELECT ACCOUNT"
3233
  msgstr ""
3234
 
3235
+ #: public/editor-build/221-wp/texts.php:659
3236
  msgid "SELECT FOR WHAT TEMPLATE IS USED"
3237
  msgstr ""
3238
 
3239
+ #: public/editor-build/221-wp/texts.php:660
3240
  msgid "SELECT LIST"
3241
  msgstr ""
3242
 
3243
+ #: public/editor-build/221-wp/texts.php:661
3244
  msgid "SPAN"
3245
  msgstr ""
3246
 
3247
+ #: public/editor-build/221-wp/texts.php:662
3248
  msgid "START BUILDING YOUR PAGE"
3249
  msgstr ""
3250
 
3251
+ #: public/editor-build/221-wp/texts.php:663
3252
  msgid "START BUILDING YOUR POPUP"
3253
  msgstr ""
3254
 
3255
+ #: public/editor-build/221-wp/texts.php:664
3256
  msgid "SWITCH TO DESKTOP"
3257
  msgstr ""
3258
 
3259
+ #: public/editor-build/221-wp/texts.php:665
3260
  msgid "Sale"
3261
  msgstr ""
3262
 
3263
+ #: public/editor-build/221-wp/texts.php:666
3264
  msgid "Same Page"
3265
  msgstr ""
3266
 
3267
+ #: public/editor-build/221-wp/texts.php:667
3268
  msgid "Save"
3269
  msgstr ""
3270
 
3271
+ #: public/editor-build/221-wp/texts.php:668
3272
  msgid "Save Draft"
3273
  msgstr ""
3274
 
3275
+ #: public/editor-build/221-wp/texts.php:669
3276
  msgid "Save Draft / Update Page"
3277
  msgstr ""
3278
 
3279
+ #: public/editor-build/221-wp/texts.php:670
3280
  msgid "Save Layout"
3281
  msgstr ""
3282
 
3283
+ #: public/editor-build/221-wp/texts.php:671
3284
  msgid "Saved"
3285
  msgstr ""
3286
 
3287
+ #: public/editor-build/221-wp/texts.php:672
3288
  msgid "Saved Library is syncing to your Account"
3289
  msgstr ""
3290
 
3291
+ #: public/editor-build/221-wp/texts.php:673
3292
  msgid "Saved Popups"
3293
  msgstr ""
3294
 
3295
+ #: public/editor-build/221-wp/texts.php:674
3296
  msgid "Saving"
3297
  msgstr ""
3298
 
3299
+ #: public/editor-build/221-wp/texts.php:675
3300
  msgid "Scroll Page Behind"
3301
  msgstr ""
3302
 
3303
+ #: public/editor-build/221-wp/texts.php:676
3304
  msgid "Search"
3305
  msgstr ""
3306
 
3307
+ #: public/editor-build/221-wp/texts.php:677
3308
  msgid "Search element"
3309
  msgstr ""
3310
 
3311
+ #: public/editor-build/221-wp/texts.php:678
3312
  msgid "Searching..."
3313
  msgstr ""
3314
 
3315
+ #: public/editor-build/221-wp/texts.php:679
3316
  msgid "Seconds"
3317
  msgstr ""
3318
 
3319
+ #: public/editor-build/221-wp/texts.php:680
3320
  msgid "Section"
3321
  msgstr ""
3322
 
3323
+ #: public/editor-build/221-wp/texts.php:681
3324
  msgid "Select"
3325
  msgstr ""
3326
 
3327
+ #: public/editor-build/221-wp/texts.php:682
3328
  msgid "Select Parent Element"
3329
  msgstr ""
3330
 
3331
+ #: public/editor-build/221-wp/texts.php:683
3332
  msgid "Select a Menu"
3333
  msgstr ""
3334
 
3335
+ #: public/editor-build/221-wp/texts.php:684
3336
  msgid "Select a menu from the element options"
3337
  msgstr ""
3338
 
3339
+ #: public/editor-build/221-wp/texts.php:685
3340
  msgid "Select an element on the page to display more settings"
3341
  msgstr ""
3342
 
3343
+ #: public/editor-build/221-wp/texts.php:686
3344
  msgid "Select tags"
3345
  msgstr ""
3346
 
3347
+ #: public/editor-build/221-wp/texts.php:687
3348
  msgid "Semi Bold"
3349
  msgstr ""
3350
 
3351
+ #: public/editor-build/221-wp/texts.php:688
3352
  msgid "Separator"
3353
  msgstr ""
3354
 
3355
+ #: public/editor-build/221-wp/texts.php:690
3356
  msgid "Shadow"
3357
  msgstr ""
3358
 
3359
+ #: public/editor-build/221-wp/texts.php:691
3360
  msgid "Shake"
3361
  msgstr ""
3362
 
3363
+ #: public/editor-build/221-wp/texts.php:692
3364
  msgid "Shape"
3365
  msgstr ""
3366
 
3367
+ #: public/editor-build/221-wp/texts.php:693
3368
  msgid "Shop Cart"
3369
  msgstr ""
3370
 
3371
+ #: public/editor-build/221-wp/texts.php:694
3372
  msgid "Shop Categories"
3373
  msgstr ""
3374
 
3375
+ #: public/editor-build/221-wp/texts.php:695
3376
  msgid "Shop Pages"
3377
  msgstr ""
3378
 
3379
+ #: public/editor-build/221-wp/texts.php:696
3380
  msgid "Shop Products"
3381
  msgstr ""
3382
 
3383
+ #: public/editor-build/221-wp/texts.php:697
3384
  msgid "Shortcode"
3385
  msgstr ""
3386
 
3387
+ #: public/editor-build/221-wp/texts.php:698
3388
  msgid "Shortcuts"
3389
  msgstr ""
3390
 
3391
+ #: public/editor-build/221-wp/texts.php:699
3392
  msgid "Shortname"
3393
  msgstr ""
3394
 
3395
+ #: public/editor-build/221-wp/texts.php:700
3396
  msgid "Show Button Counter"
3397
  msgstr ""
3398
 
3399
+ #: public/editor-build/221-wp/texts.php:701
3400
  msgid "Show Friend's Faces"
3401
  msgstr ""
3402
 
3403
+ #: public/editor-build/221-wp/texts.php:702
3404
  msgid "Show Friends' Faces"
3405
  msgstr ""
3406
 
3407
+ #: public/editor-build/221-wp/texts.php:703
3408
  msgid "Show Hidden Elements"
3409
  msgstr ""
3410
 
3411
+ #: public/editor-build/221-wp/texts.php:704
3412
  msgid "Show Meta Data"
3413
  msgstr ""
3414
 
3415
+ #: public/editor-build/221-wp/texts.php:705
3416
  msgid "Show Social Context"
3417
  msgstr ""
3418
 
3419
+ #: public/editor-build/221-wp/texts.php:706
3420
  msgid "Show message"
3421
  msgstr ""
3422
 
3423
+ #: public/editor-build/221-wp/texts.php:707
3424
  msgid "Show on Desktop"
3425
  msgstr ""
3426
 
3427
+ #: public/editor-build/221-wp/texts.php:708
3428
  msgid "Show to"
3429
  msgstr ""
3430
 
3431
+ #: public/editor-build/221-wp/texts.php:709
3432
  msgid "Sidebar"
3433
  msgstr ""
3434
 
3435
+ #: public/editor-build/221-wp/texts.php:710
3436
  msgid "SignUp"
3437
  msgstr ""
3438
 
3439
+ #: public/editor-build/221-wp/texts.php:711
3440
  msgid "Size"
3441
  msgstr ""
3442
 
3443
+ #: public/editor-build/221-wp/texts.php:712
3444
  msgid "Skin"
3445
  msgstr ""
3446
 
3447
+ #: public/editor-build/221-wp/texts.php:713
3448
  msgid "Skin 1"
3449
  msgstr ""
3450
 
3451
+ #: public/editor-build/221-wp/texts.php:714
3452
  msgid "Skin 2"
3453
  msgstr ""
3454
 
3455
+ #: public/editor-build/221-wp/texts.php:715
3456
  msgid "Skin 3"
3457
  msgstr ""
3458
 
3459
+ #: public/editor-build/221-wp/texts.php:716
3460
  msgid "Skin 4"
3461
  msgstr ""
3462
 
3463
+ #: public/editor-build/221-wp/texts.php:717
3464
  msgid "Skip"
3465
  msgstr ""
3466
 
3467
+ #: public/editor-build/221-wp/texts.php:718
3468
  msgid "Sku"
3469
  msgstr ""
3470
 
3471
+ #: public/editor-build/221-wp/texts.php:719
3472
  msgid "Slide"
3473
  msgstr ""
3474
 
3475
+ #: public/editor-build/221-wp/texts.php:720
3476
  msgid "SlideInDown"
3477
  msgstr ""
3478
 
3479
+ #: public/editor-build/221-wp/texts.php:721
3480
  msgid "SlideInLeft"
3481
  msgstr ""
3482
 
3483
+ #: public/editor-build/221-wp/texts.php:722
3484
  msgid "SlideInRight"
3485
  msgstr ""
3486
 
3487
+ #: public/editor-build/221-wp/texts.php:723
3488
  msgid "SlideInUp"
3489
  msgstr ""
3490
 
3491
+ #: public/editor-build/221-wp/texts.php:724
3492
  msgid "Slider"
3493
  msgstr ""
3494
 
3495
+ #: public/editor-build/221-wp/texts.php:725
3496
  msgid "Slides"
3497
  msgstr ""
3498
 
3499
+ #: public/editor-build/221-wp/texts.php:726
3500
  msgid "Slug"
3501
  msgstr ""
3502
 
3503
+ #: public/editor-build/221-wp/texts.php:727
3504
  msgid "Solid"
3505
  msgstr ""
3506
 
3507
+ #: public/editor-build/221-wp/texts.php:728
3508
  msgid "Some integrations are available only in PRO"
3509
  msgstr ""
3510
 
3511
+ #: public/editor-build/221-wp/texts.php:729
3512
  msgid "Something went wrong"
3513
  msgstr ""
3514
 
3515
+ #: public/editor-build/221-wp/texts.php:730
3516
  msgid "SoundCloud"
3517
  msgstr ""
3518
 
3519
+ #: public/editor-build/221-wp/texts.php:731
3520
  msgid "SoundCloud Link"
3521
  msgstr ""
3522
 
3523
+ #: public/editor-build/221-wp/texts.php:732
3524
  msgid "Source"
3525
  msgstr ""
3526
 
3527
+ #: public/editor-build/221-wp/texts.php:733
3528
  msgid "Source ID"
3529
  msgstr ""
3530
 
3531
+ #: public/editor-build/221-wp/texts.php:734
3532
  msgid "Source Type"
3533
  msgstr ""
3534
 
3535
+ #: public/editor-build/221-wp/texts.php:735
3536
  msgid "Spacer"
3537
  msgstr ""
3538
 
3539
+ #: public/editor-build/221-wp/texts.php:736
3540
  msgid "Spacing"
3541
  msgstr ""
3542
 
3543
+ #: public/editor-build/221-wp/texts.php:737
3544
  msgid "Span"
3545
  msgstr ""
3546
 
3547
+ #: public/editor-build/221-wp/texts.php:738
3548
  msgid "Spanish"
3549
  msgstr ""
3550
 
3551
+ #: public/editor-build/221-wp/texts.php:739
3552
  msgid "Specify a start time (in seconds)"
3553
  msgstr ""
3554
 
3555
+ #: public/editor-build/221-wp/texts.php:740
3556
  msgid "Specify an end time (in seconds)"
3557
  msgstr ""
3558
 
3559
+ #: public/editor-build/221-wp/texts.php:741
3560
  msgid "Speed"
3561
  msgstr ""
3562
 
3563
+ #: public/editor-build/221-wp/texts.php:742
3564
  msgid "Sport"
3565
  msgstr ""
3566
 
3567
+ #: public/editor-build/221-wp/texts.php:743
3568
  msgid "Square"
3569
  msgstr ""
3570
 
3571
+ #: public/editor-build/221-wp/texts.php:744
3572
  msgid "Stars"
3573
  msgstr ""
3574
 
3575
+ #: public/editor-build/221-wp/texts.php:745
3576
  msgid "Stars Bg"
3577
  msgstr ""
3578
 
3579
+ #: public/editor-build/221-wp/texts.php:746
3580
  msgid "Start"
3581
  msgstr ""
3582
 
3583
+ #: public/editor-build/221-wp/texts.php:747
3584
  msgid "Static"
3585
  msgstr ""
3586
 
3587
+ #: public/editor-build/221-wp/texts.php:748
3588
  msgid "Status"
3589
  msgstr ""
3590
 
3591
+ #: public/editor-build/221-wp/texts.php:749
3592
  msgid "Sticky"
3593
  msgstr ""
3594
 
3595
+ #: public/editor-build/221-wp/texts.php:750
3596
  msgid "Stock"
3597
  msgstr ""
3598
 
3599
+ #: public/editor-build/221-wp/texts.php:752
3600
  msgid "Story"
3601
  msgstr ""
3602
 
3603
+ #: public/editor-build/221-wp/texts.php:753
3604
  msgid "Strike"
3605
  msgstr ""
3606
 
3607
+ #: public/editor-build/221-wp/texts.php:754
3608
  msgid "Style"
3609
  msgstr ""
3610
 
3611
+ #: public/editor-build/221-wp/texts.php:755
3612
  msgid "Styles"
3613
  msgstr ""
3614
 
3615
+ #: public/editor-build/221-wp/texts.php:756
3616
  msgid "Styling"
3617
  msgstr ""
3618
 
3619
+ #: public/editor-build/221-wp/texts.php:757
3620
  msgid "Sub Title"
3621
  msgstr ""
3622
 
3623
+ #: public/editor-build/221-wp/texts.php:758
3624
  msgid "Subject"
3625
  msgstr ""
3626
 
3627
+ #: public/editor-build/221-wp/texts.php:759
3628
  msgid "Subtotal"
3629
  msgstr ""
3630
 
3631
+ #: public/editor-build/221-wp/texts.php:760
3632
  msgid "Success"
3633
  msgstr ""
3634
 
3635
+ #: public/editor-build/221-wp/texts.php:761
3636
  msgid "Suffix"
3637
  msgstr ""
3638
 
3639
+ #: public/editor-build/221-wp/texts.php:762
3640
  msgid "Support"
3641
  msgstr ""
3642
 
3643
+ #: public/editor-build/221-wp/texts.php:763
3644
  msgid "Swing"
3645
  msgstr ""
3646
 
3647
+ #: public/editor-build/221-wp/texts.php:764
3648
  msgid "Switch to Draft"
3649
  msgstr ""
3650
 
3651
+ #: public/editor-build/221-wp/texts.php:765
3652
  msgid "Switch to desktop to add blocks"
3653
  msgstr ""
3654
 
3655
+ #: public/editor-build/221-wp/texts.php:766
3656
  msgid "Switch to desktop to add popup"
3657
  msgstr ""
3658
 
3659
+ #: public/editor-build/221-wp/texts.php:767
3660
  msgid "Switcher"
3661
  msgstr ""
3662
 
3663
+ #: public/editor-build/221-wp/texts.php:768
3664
  msgid "Switcher Tabs"
3665
  msgstr ""
3666
 
3667
+ #: public/editor-build/221-wp/texts.php:769
3668
  msgid "Sync Now"
3669
  msgstr ""
3670
 
3671
+ #: public/editor-build/221-wp/texts.php:770
3672
  msgid "TTF File"
3673
  msgstr ""
3674
 
3675
+ #: public/editor-build/221-wp/texts.php:771
3676
  msgid "Tab"
3677
  msgstr ""
3678
 
3679
+ #: public/editor-build/221-wp/texts.php:772
3680
  msgid "Table"
3681
  msgstr ""
3682
 
3683
+ #: public/editor-build/221-wp/texts.php:773
3684
  msgid "Table Head"
3685
  msgstr ""
3686
 
3687
+ #: public/editor-build/221-wp/texts.php:774
3688
  msgid "Table Sidebar"
3689
  msgstr ""
3690
 
3691
+ #: public/editor-build/221-wp/texts.php:775
3692
  msgid "Tablet"
3693
  msgstr ""
3694
 
3695
+ #: public/editor-build/221-wp/texts.php:776
3696
  msgid "Tabs"
3697
  msgstr ""
3698
 
3699
+ #: public/editor-build/221-wp/texts.php:777
3700
  msgid "Tabs Items"
3701
  msgstr ""
3702
 
3703
+ #: public/editor-build/221-wp/texts.php:778
3704
  msgid "Tada"
3705
  msgstr ""
3706
 
3707
+ #: public/editor-build/221-wp/texts.php:779
3708
  msgid "Tags"
3709
  msgstr ""
3710
 
3711
+ #: public/editor-build/221-wp/texts.php:780
3712
  msgid "Tail"
3713
  msgstr ""
3714
 
3715
+ #: public/editor-build/221-wp/texts.php:781
3716
  msgid "Take over"
3717
  msgstr ""
3718
 
3719
+ #: public/editor-build/221-wp/texts.php:782
3720
  msgid "Take over failed please refresh the page"
3721
  msgstr ""
3722
 
3723
+ #: public/editor-build/221-wp/texts.php:783
3724
  msgid "Target URL"
3725
  msgstr ""
3726
 
3727
+ #: public/editor-build/221-wp/texts.php:784
3728
  msgid "Team"
3729
  msgstr ""
3730
 
3731
+ #: public/editor-build/221-wp/texts.php:785
3732
  msgid "Tel"
3733
  msgstr ""
3734
 
3735
+ #: public/editor-build/221-wp/texts.php:786
3736
  msgid "Testimonials"
3737
  msgstr ""
3738
 
3739
+ #: public/editor-build/221-wp/texts.php:787
3740
  msgid "Text"
3741
  msgstr ""
3742
 
3743
+ #: public/editor-build/221-wp/texts.php:788
3744
  msgid "The element you have selected doesn't have more settings"
3745
  msgstr ""
3746
 
3747
+ #: public/editor-build/221-wp/texts.php:789
3748
  msgid "The email address format is not valid"
3749
  msgstr ""
3750
 
3751
+ #: public/editor-build/221-wp/texts.php:790
3752
  msgid "The integration is not responding, please try again or verify the account credentials"
3753
  msgstr ""
3754
 
3755
+ #: public/editor-build/221-wp/texts.php:791
3756
  msgid "Theme"
3757
  msgstr ""
3758
 
3759
+ #: public/editor-build/221-wp/texts.php:792
3760
  msgid "There are no choices"
3761
  msgstr ""
3762
 
3763
+ #: public/editor-build/221-wp/texts.php:793
3764
  msgid "Thin"
3765
  msgstr ""
3766
 
3767
+ #: public/editor-build/221-wp/texts.php:794
3768
  msgid "This is Lottie .json URL. Get more from LottieFiles.com."
3769
  msgstr ""
3770
 
3771
+ #: public/editor-build/221-wp/texts.php:795
3772
  msgid "This page needs a refresh. You’ve probably updated this page (or another page) in a different tab or browser."
3773
  msgstr ""
3774
 
3775
+ #: public/editor-build/221-wp/texts.php:796
3776
  msgid "Thumbs"
3777
  msgstr ""
3778
 
3779
+ #: public/editor-build/221-wp/texts.php:797
3780
  msgid "Time"
3781
  msgstr ""
3782
 
3783
+ #: public/editor-build/221-wp/texts.php:798
3784
  msgid "Time Zone"
3785
  msgstr ""
3786
 
3787
+ #: public/editor-build/221-wp/texts.php:799
3788
  msgid "Timeline"
3789
  msgstr ""
3790
 
3791
+ #: public/editor-build/221-wp/texts.php:800
3792
  msgid "Timeline Items"
3793
  msgstr ""
3794
 
3795
+ #: public/editor-build/221-wp/texts.php:801
3796
  msgid "Timeline Labels"
3797
  msgstr ""
3798
 
3799
+ #: public/editor-build/221-wp/texts.php:802
3800
  msgid "Timer"
3801
  msgstr ""
3802
 
3803
+ #: public/editor-build/221-wp/texts.php:803
3804
  msgid "Tip: Use these shortcodes to populate your template"
3805
  msgstr ""
3806
 
3807
+ #: public/editor-build/221-wp/texts.php:804
3808
  msgid "Tip: You can browse the Google font library"
3809
  msgstr ""
3810
 
3811
+ #: public/editor-build/221-wp/texts.php:805
3812
  msgid "Title"
3813
  msgstr ""
3814
 
3815
+ #: public/editor-build/221-wp/texts.php:806
3816
  msgid "Titles"
3817
  msgstr ""
3818
 
3819
+ #: public/editor-build/221-wp/texts.php:807
3820
  msgid "To Dashboard"
3821
  msgstr ""
3822
 
3823
+ #: public/editor-build/221-wp/texts.php:808
3824
  msgid "Toggle Menu"
3825
  msgstr ""
3826
 
3827
+ #: public/editor-build/221-wp/texts.php:809
3828
  msgid "Top"
3829
  msgstr ""
3830
 
3831
+ #: public/editor-build/221-wp/texts.php:810
3832
  msgid "Total"
3833
  msgstr ""
3834
 
3835
+ #: public/editor-build/221-wp/texts.php:811
3836
  msgid "Trash"
3837
  msgstr ""
3838
 
3839
+ #: public/editor-build/221-wp/texts.php:812
3840
  msgid "Travel"
3841
  msgstr ""
3842
 
3843
+ #: public/editor-build/221-wp/texts.php:813
3844
  msgid "Trigger Popup Only Once"
3845
  msgstr ""
3846
 
3847
+ #: public/editor-build/221-wp/texts.php:814
3848
  msgid "Triggers"
3849
  msgstr ""
3850
 
3851
+ #: public/editor-build/221-wp/texts.php:815
3852
  msgid "Try Again"
3853
  msgstr ""
3854
 
3855
+ #: public/editor-build/221-wp/texts.php:816
3856
  msgid "Tweet"
3857
  msgstr ""
3858
 
3859
+ #: public/editor-build/221-wp/texts.php:817
3860
  msgid "Twitter"
3861
  msgstr ""
3862
 
3863
+ #: public/editor-build/221-wp/texts.php:818
3864
  msgid "Type"
3865
  msgstr ""
3866
 
3867
+ #: public/editor-build/221-wp/texts.php:819
3868
  msgid "Type to Search ..."
3869
  msgstr ""
3870
 
3871
+ #: public/editor-build/221-wp/texts.php:820
3872
  msgid "Type to search"
3873
  msgstr ""
3874
 
3875
+ #: public/editor-build/221-wp/texts.php:821
3876
  msgid "Typography"
3877
  msgstr ""
3878
 
3879
+ #: public/editor-build/221-wp/texts.php:822
3880
  msgid "UPLOAD"
3881
  msgstr ""
3882
 
3883
+ #: public/editor-build/221-wp/texts.php:823
3884
  msgid "UPLOAD FONT"
3885
  msgstr ""
3886
 
3887
+ #: public/editor-build/221-wp/texts.php:824
3888
  msgid "URL"
3889
  msgstr ""
3890
 
3891
+ #: public/editor-build/221-wp/texts.php:825
3892
  msgid "USE CUSTOM TEMPLATE"
3893
  msgstr ""
3894
 
3895
+ #: public/editor-build/221-wp/texts.php:826
3896
  msgid "Unable to insert block. Please try again or contact support"
3897
  msgstr ""
3898
 
3899
+ #: public/editor-build/221-wp/texts.php:827
3900
  msgid "Unable to insert layout. Please try again or contact support"
3901
  msgstr ""
3902
 
3903
+ #: public/editor-build/221-wp/texts.php:828
3904
  msgid "Unable to insert popup. Please try again or contact support"
3905
  msgstr ""
3906
 
3907
+ #: public/editor-build/221-wp/texts.php:829
3908
  msgid "Underline"
3909
  msgstr ""
3910
 
3911
+ #: public/editor-build/221-wp/texts.php:830
3912
  msgid "Undo"
3913
  msgstr ""
3914
 
3915
+ #: public/editor-build/221-wp/texts.php:831
3916
  msgid "Unlocked"
3917
  msgstr ""
3918
 
3919
+ #: public/editor-build/221-wp/texts.php:832
3920
  msgid "Unsuccessful sync"
3921
  msgstr ""
3922
 
3923
+ #: public/editor-build/221-wp/texts.php:833
3924
  msgid "Update"
3925
  msgstr ""
3926
 
3927
+ #: public/editor-build/221-wp/texts.php:834
3928
  msgid "Upgrade to PRO to use this block"
3929
  msgstr ""
3930
 
3931
+ #: public/editor-build/221-wp/texts.php:835
3932
  msgid "Upgrade to PRO to use this element"
3933
  msgstr ""
3934
 
3935
+ #: public/editor-build/221-wp/texts.php:836
3936
  msgid "Upgrade to PRO to use this integration"
3937
  msgstr ""
3938
 
3939
+ #: public/editor-build/221-wp/texts.php:837
3940
  msgid "Upgrade to PRO to use this layout"
3941
  msgstr ""
3942
 
3943
+ #: public/editor-build/221-wp/texts.php:838
3944
  msgid "Upgrade to PRO to use this story"
3945
  msgstr ""
3946
 
3947
+ #: public/editor-build/221-wp/texts.php:839
3948
  msgid "Upgrade to Pro"
3949
  msgstr ""
3950
 
3951
+ #: public/editor-build/221-wp/texts.php:840
3952
  msgid "Upsell"
3953
  msgstr ""
3954
 
3955
+ #: public/editor-build/221-wp/texts.php:841
3956
  msgid "Upsell Pagination"
3957
  msgstr ""
3958
 
3959
+ #: public/editor-build/221-wp/texts.php:842
3960
  msgid "Upsell Tags"
3961
  msgstr ""
3962
 
3963
+ #: public/editor-build/221-wp/texts.php:843
3964
  msgid "Url"
3965
  msgstr ""
3966
 
3967
+ #: public/editor-build/221-wp/texts.php:844
3968
  msgid "Use Small Header"
3969
  msgstr ""
3970
 
3971
+ #: public/editor-build/221-wp/texts.php:845
3972
  msgid "Username"
3973
  msgstr ""
3974
 
3975
+ #: public/editor-build/221-wp/texts.php:846
3976
  msgid "Users"
3977
  msgstr ""
3978
 
3979
+ #: public/editor-build/221-wp/texts.php:847
3980
  msgid "Value"
3981
  msgstr ""
3982
 
3983
+ #: public/editor-build/221-wp/texts.php:848
3984
  msgid "Values"
3985
  msgstr ""
3986
 
3987
+ #: public/editor-build/221-wp/texts.php:849
3988
  msgid "Variations"
3989
  msgstr ""
3990
 
3991
+ #: public/editor-build/221-wp/texts.php:850
3992
  msgid "Verification process failed, please make sure you have done the following three things and try again in a few minutes."
3993
  msgstr ""
3994
 
3995
+ #: public/editor-build/221-wp/texts.php:851
3996
  msgid "Vertical"
3997
  msgstr ""
3998
 
3999
+ #: public/editor-build/221-wp/texts.php:852
4000
  msgid "Vertical Align"
4001
  msgstr ""
4002
 
4003
+ #: public/editor-build/221-wp/texts.php:853
4004
  msgid "Vertical Offset"
4005
  msgstr ""
4006
 
4007
+ #: public/editor-build/221-wp/texts.php:854
4008
  msgid "Video"
4009
  msgstr ""
4010
 
4011
+ #: public/editor-build/221-wp/texts.php:855
4012
  msgid "View as"
4013
  msgstr ""
4014
 
4015
+ #: public/editor-build/221-wp/texts.php:856
4016
  msgid "Vimeo"
4017
  msgstr ""
4018
 
4019
+ #: public/editor-build/221-wp/texts.php:857
4020
  msgid "Volume"
4021
  msgstr ""
4022
 
4023
+ #: public/editor-build/221-wp/texts.php:858
4024
  msgid "WHAT WILL TRIGGER THE POPUP TO OPEN"
4025
  msgstr ""
4026
 
4027
+ #: public/editor-build/221-wp/texts.php:859
4028
  msgid "WHERE DO YOU WANT TO DISPLAY IT?"
4029
  msgstr ""
4030
 
4031
+ #: public/editor-build/221-wp/texts.php:860
4032
  msgid "WOFF File"
4033
  msgstr ""
4034
 
4035
+ #: public/editor-build/221-wp/texts.php:861
4036
  msgid "WOFF2 File"
4037
  msgstr ""
4038
 
4039
+ #: public/editor-build/221-wp/texts.php:862
4040
  msgid "WOOCart"
4041
  msgstr ""
4042
 
4043
+ #: public/editor-build/221-wp/texts.php:863
4044
  msgid "WOORating"
4045
  msgstr ""
4046
 
4047
+ #: public/editor-build/221-wp/texts.php:864
4048
  msgid "Weight"
4049
  msgstr ""
4050
 
4051
+ #: public/editor-build/221-wp/texts.php:865
4052
  msgid "When Finished"
4053
  msgstr ""
4054
 
4055
+ #: public/editor-build/221-wp/texts.php:866
4056
  msgid "Width"
4057
  msgstr ""
4058
 
4059
+ #: public/editor-build/221-wp/texts.php:867
4060
  msgid "Wobble"
4061
  msgstr ""
4062
 
4063
+ #: public/editor-build/221-wp/texts.php:868
4064
  msgid "Woo Product"
4065
  msgstr ""
4066
 
4067
+ #: public/editor-build/221-wp/texts.php:869
4068
  msgid "WordPress"
4069
  msgstr ""
4070
 
4071
+ #: public/editor-build/221-wp/texts.php:870
4072
  msgid "YOUR PAGE IS READY TO PUBLISH!"
4073
  msgstr ""
4074
 
4075
+ #: public/editor-build/221-wp/texts.php:871
4076
  msgid "You can"
4077
  msgstr ""
4078
 
4079
+ #: public/editor-build/221-wp/texts.php:872
4080
  msgid "You can't add it again"
4081
  msgstr ""
4082
 
4083
+ #: public/editor-build/221-wp/texts.php:873
4084
  msgid "You can’t make changes"
4085
  msgstr ""
4086
 
4087
+ #: public/editor-build/221-wp/texts.php:874
4088
  msgid "You have successfully connect the form with"
4089
  msgstr ""
4090
 
4091
+ #: public/editor-build/221-wp/texts.php:875
4092
  msgid "You must be have one font added"
4093
  msgstr ""
4094
 
4095
+ #: public/editor-build/221-wp/texts.php:876
4096
  msgid "You must be have one selected item"
4097
  msgstr ""
4098
 
4099
+ #: public/editor-build/221-wp/texts.php:877
4100
  msgid "You must specify a title"
4101
  msgstr ""
4102
 
4103
+ #: public/editor-build/221-wp/texts.php:878
4104
  msgid "YouTube or Vimeo"
4105
  msgstr ""
4106
 
4107
+ #: public/editor-build/221-wp/texts.php:879
4108
  msgid "Your Plugin version is incompatible with Account version, please update plugin"
4109
  msgstr ""
4110
 
4111
+ #: public/editor-build/221-wp/texts.php:880
4112
  msgid "Your block was saved without screenshot, browser is not compatible"
4113
  msgstr ""
4114
 
4115
+ #: public/editor-build/221-wp/texts.php:881
4116
  msgid "Your link is not correct"
4117
  msgstr ""
4118
 
4119
+ #: public/editor-build/221-wp/texts.php:882
4120
  msgid "Youtube"
4121
  msgstr ""
4122
 
4123
+ #: public/editor-build/221-wp/texts.php:883
4124
  msgid "Z-index"
4125
  msgstr ""
4126
 
4127
+ #: public/editor-build/221-wp/texts.php:884
4128
  msgid "Zoom"
4129
  msgstr ""
4130
 
4131
+ #: public/editor-build/221-wp/texts.php:885
4132
  msgid "ZoomIn"
4133
  msgstr ""
4134
 
4135
+ #: public/editor-build/221-wp/texts.php:886
4136
  msgid "ZoomInDown"
4137
  msgstr ""
4138
 
4139
+ #: public/editor-build/221-wp/texts.php:887
4140
  msgid "ZoomInLeft"
4141
  msgstr ""
4142
 
4143
+ #: public/editor-build/221-wp/texts.php:888
4144
  msgid "ZoomInRight"
4145
  msgstr ""
4146
 
4147
+ #: public/editor-build/221-wp/texts.php:889
4148
  msgid "ZoomInUp"
4149
  msgstr ""
4150
 
4151
+ #: public/editor-build/221-wp/texts.php:890
4152
  msgid "block-name"
4153
  msgstr ""
4154
 
4155
+ #: public/editor-build/221-wp/texts.php:891
4156
  msgid "component"
4157
  msgstr ""
4158
 
4159
+ #: public/editor-build/221-wp/texts.php:892
4160
  msgid "here"
4161
  msgstr ""
4162
 
4163
+ #: public/editor-build/221-wp/texts.php:893
4164
  msgid "in your WordPress admin"
4165
  msgstr ""
4166
 
4167
+ #: public/editor-build/221-wp/texts.php:894
4168
  msgid "is already editing project"
4169
  msgstr ""
4170
 
4171
+ #: public/editor-build/221-wp/texts.php:895
4172
  msgid "is currently working on this page. Do you want to take over"
4173
  msgstr ""
4174
 
4175
+ #: public/editor-build/221-wp/texts.php:896
4176
  msgid "layout"
4177
  msgstr ""
4178
 
4179
+ #: public/editor-build/221-wp/texts.php:897
4180
  msgid "layouts"
4181
  msgstr ""
4182
 
4183
+ #: public/editor-build/221-wp/texts.php:898
4184
  msgid "open an issue"
4185
  msgstr ""
4186
 
4187
+ #: public/editor-build/221-wp/texts.php:899
4188
  msgid "or"
4189
  msgstr ""
4190
 
4191
+ #: public/editor-build/221-wp/texts.php:900
4192
  msgid "remove this element"
4193
  msgstr ""
4194
 
4195
+ #: public/editor-build/221-wp/texts.php:901
4196
  msgid "required"
4197
  msgstr ""
4198
 
4199
+ #: public/editor-build/221-wp/texts.php:903
4200
  msgid "story"
4201
  msgstr ""
4202
 
public/asset-enqueue-manager.php CHANGED
@@ -5,12 +5,13 @@ use BrizyMerge\Assets\Asset;
5
  use BrizyMerge\Assets\AssetGroup;
6
 
7
  class Brizy_Public_AssetEnqueueManager {
8
- private $posts = [];
9
  private $scripts = [];
10
- private $styles = [];
11
- private $enqueued = [];
12
- private $mainJsHandle = null;
13
- private $mainCssHandle = null;
 
14
  private $urlBuilder;
15
 
16
  /**
@@ -136,13 +137,37 @@ class Brizy_Public_AssetEnqueueManager {
136
  $others = array_merge($others,$_others);
137
  }
138
 
139
- $assetAggregator = new AssetAggregator( array_merge( $ours, $others ) );
140
- $this->styles = $assetAggregator->getAssetList();
141
- $this->mainCssHandle = $this->getMainFileHandle( 'styles' );
 
 
 
 
 
 
 
 
 
 
 
142
 
143
  foreach ( $this->styles as $asset ) {
144
- if ( $asset->getType() == Asset::TYPE_INLINE || $asset->getType() == Asset::TYPE_FILE ) {
145
- $this->enqueueStyleAsset( $asset );
 
 
 
 
 
 
 
 
 
 
 
 
 
146
  }
147
  }
148
  }
@@ -168,20 +193,69 @@ class Brizy_Public_AssetEnqueueManager {
168
  $others = array_merge($others,$_others);
169
  }
170
 
171
- $assetAggregator = new AssetAggregator( array_merge( $ours, $others ) );
172
- $this->scripts = $assetAggregator->getAssetList();
173
- $this->mainJsHandle = $this->getMainFileHandle( 'scripts' );
 
 
 
 
 
 
 
 
 
 
 
174
 
175
  foreach ( $this->scripts as $asset ) {
176
- if ( $asset->getType() == Asset::TYPE_INLINE || $asset->getType() == Asset::TYPE_FILE ) {
177
- $this->enqueueScriptAsset( $asset );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
178
  }
179
  }
180
  }
181
 
182
  public function addScriptAttributes( $tag, $handle ) {
183
- if ( isset( $this->enqueued[ $handle ] ) ) {
184
- $attrs = $this->getAttributes( $this->enqueued[ $handle ] );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
185
  $tag = str_replace( 'src=', $attrs . ' src=', $tag );
186
  }
187
 
@@ -189,8 +263,8 @@ class Brizy_Public_AssetEnqueueManager {
189
  }
190
 
191
  public function addStyleAttributes( $tag, $handle ) {
192
- if ( isset( $this->enqueued[ $handle ] ) ) {
193
- $attrs = $this->getAttributes( $this->enqueued[ $handle ] );
194
  $tag = str_replace( 'href=', $attrs . ' href=', $tag );
195
  }
196
 
@@ -209,36 +283,6 @@ class Brizy_Public_AssetEnqueueManager {
209
  return $content;
210
  }
211
 
212
- private function enqueueStyleAsset( Asset $asset ) {
213
- $handle = $this->getHandle( $asset, 'css' );
214
- switch ( $asset->getType() ) {
215
- case Asset::TYPE_INLINE:
216
- wp_add_inline_style( $this->mainCssHandle, $asset->getContent() );
217
- $this->enqueued[ $handle ] = $asset;
218
- break;
219
- case Asset::TYPE_FILE:
220
- wp_register_style( $handle, $this->getAssetUrl( $asset ), [], apply_filters( 'brizy_asset_version', BRIZY_VERSION, $asset ) );
221
- wp_enqueue_style( $handle );
222
- $this->enqueued[ $handle ] = $asset;
223
- break;
224
- }
225
- }
226
-
227
- private function enqueueScriptAsset( Asset $asset ) {
228
- $handle = $this->getHandle( $asset, 'js' );
229
- switch ( $asset->getType() ) {
230
- case Asset::TYPE_INLINE:
231
- wp_add_inline_script( $this->mainJsHandle, $asset->getContent() );
232
- $this->enqueued[ $handle ] = $asset;
233
- break;
234
- case Asset::TYPE_FILE:
235
- wp_register_script( $handle, $this->getAssetUrl( $asset ), [], apply_filters( 'brizy_asset_version', BRIZY_VERSION, $asset ), true );
236
- wp_enqueue_script( $handle );
237
- $this->enqueued[ $handle ] = $asset;
238
- break;
239
- }
240
- }
241
-
242
  private function getAssetUrl( Asset $asset ) {
243
 
244
  if ( strpos( $asset->getUrl(), '://' ) ) {
@@ -261,8 +305,8 @@ class Brizy_Public_AssetEnqueueManager {
261
  *
262
  * @return string
263
  */
264
- private function getHandle( Asset $asset, $type) {
265
- return Brizy_Editor::prefix() . '-asset-' . $asset->getName() . '-' . $asset->getScore() . '-' . $type;
266
  }
267
 
268
  private function replacePlaceholders( AssetGroup $ag, $post, $context ) {
@@ -301,22 +345,4 @@ class Brizy_Public_AssetEnqueueManager {
301
 
302
  return $asset;
303
  }
304
-
305
- private function getMainFileHandle( $type ) {
306
-
307
- if ( ! $this->{$type} ) {
308
- return null;
309
- }
310
-
311
- $handle = null;
312
-
313
- foreach ( $this->{$type} as $asset ) {
314
- if ( $asset->getName() == 'main' ) {
315
- $handle = $this->getHandle( $asset, ( $type == 'scripts' ? 'js' : 'css' ) );
316
- break;
317
- }
318
- }
319
-
320
- return $handle;
321
- }
322
  }
5
  use BrizyMerge\Assets\AssetGroup;
6
 
7
  class Brizy_Public_AssetEnqueueManager {
8
+ private $posts = [];
9
  private $scripts = [];
10
+ private $styles = [];
11
+
12
+ /**
13
+ * @var Brizy_Editor_UrlBuilder
14
+ */
15
  private $urlBuilder;
16
 
17
  /**
137
  $others = array_merge($others,$_others);
138
  }
139
 
140
+ $assetAggregator = new AssetAggregator( array_merge( $ours, $others ) );
141
+
142
+ foreach ( $assetAggregator->getAssetList() as $asset ) {
143
+ $this->styles[ $this->getHandle( $asset ) ] = $asset;
144
+ }
145
+
146
+ $registered = [];
147
+ foreach ( $this->styles as $handle => $asset ) {
148
+ if ( $asset->getType() == Asset::TYPE_FILE ) {
149
+ wp_register_style( $handle, $this->getAssetUrl( $asset ), [], apply_filters( 'brizy_asset_version', BRIZY_VERSION, $asset ) );
150
+ wp_enqueue_style( $handle );
151
+ $registered[] = $asset;
152
+ }
153
+ }
154
 
155
  foreach ( $this->styles as $asset ) {
156
+ if ( $asset->getType() == Asset::TYPE_INLINE ) {
157
+
158
+ $parentHandle = null;
159
+
160
+ foreach ( $registered as $registeredAsset ) {
161
+ if ( $registeredAsset->getScore() <= $asset->getScore() ) {
162
+ $parentHandle = $this->getHandle( $registeredAsset );
163
+ }
164
+ }
165
+
166
+ if ( ! $parentHandle ) {
167
+ $parentHandle = $this->getHandle( $registered[0] );
168
+ }
169
+
170
+ wp_add_inline_style( $parentHandle, $asset->getContent() );
171
  }
172
  }
173
  }
193
  $others = array_merge($others,$_others);
194
  }
195
 
196
+ $assetAggregator = new AssetAggregator( array_merge( $ours, $others ) );
197
+
198
+ foreach ( $assetAggregator->getAssetList() as $asset ) {
199
+ $this->scripts[ $this->getHandle( $asset ) ] = $asset;
200
+ }
201
+
202
+ $registered = [];
203
+ foreach ( $this->scripts as $handle => $asset ) {
204
+ if ( $asset->getType() == Asset::TYPE_FILE ) {
205
+ wp_register_script( $handle, $this->getAssetUrl( $asset ), [], apply_filters( 'brizy_asset_version', BRIZY_VERSION, $asset ), true );
206
+ wp_enqueue_script( $handle );
207
+ $registered[] = $asset;
208
+ }
209
+ }
210
 
211
  foreach ( $this->scripts as $asset ) {
212
+ if ( $asset->getType() == Asset::TYPE_INLINE ) {
213
+
214
+ $parentHandle = null;
215
+ $position = 'after';
216
+
217
+ foreach ( $registered as $registeredAsset ) {
218
+ if ( $registeredAsset->getScore() < $asset->getScore() ) {
219
+ $parentHandle = $this->getHandle( $registeredAsset );
220
+ } else if ( $registeredAsset->getScore() == $asset->getScore() ) {
221
+ $parentHandle = $this->getHandle( $registeredAsset );
222
+ $position = 'before';
223
+ break;
224
+ }
225
+ }
226
+
227
+ if ( ! $parentHandle ) {
228
+ $parentHandle = $this->getHandle( $registered[0] );
229
+ $position = 'before';
230
+ }
231
+
232
+ wp_add_inline_script( $parentHandle, $asset->getContent(), $position );
233
  }
234
  }
235
  }
236
 
237
  public function addScriptAttributes( $tag, $handle ) {
238
+ if ( isset( $this->scripts[ $handle ] ) ) {
239
+
240
+ $beforeId = $handle . '-js-before';
241
+ $afterId = $handle . '-js-after';
242
+
243
+ if ( strpos( $tag, $beforeId ) || strpos( $tag, $afterId ) ) {
244
+ $position = array_search( $handle, array_keys( $this->scripts ) );
245
+ $values = array_values( $this->scripts );
246
+
247
+ if ( strpos( $tag, $beforeId ) && isset( $values[ $position - 1 ] ) ) {
248
+ $attrs = $this->getAttributes( $values[ $position - 1 ] );
249
+ $tag = str_replace( "id='{$beforeId}'", "{$attrs} id='{$beforeId}'", $tag );
250
+ }
251
+
252
+ if ( strpos( $tag, $afterId ) && isset( $values[ $position + 1 ] ) ) {
253
+ $attrs = $this->getAttributes( $values[ $position + 1 ] );
254
+ $tag = str_replace( "id='{$afterId}'", "{$attrs} id='{$afterId}'", $tag );
255
+ }
256
+ }
257
+
258
+ $attrs = $this->getAttributes( $this->scripts[ $handle ] );
259
  $tag = str_replace( 'src=', $attrs . ' src=', $tag );
260
  }
261
 
263
  }
264
 
265
  public function addStyleAttributes( $tag, $handle ) {
266
+ if ( isset( $this->styles[ $handle ] ) ) {
267
+ $attrs = $this->getAttributes( $this->styles[ $handle ] );
268
  $tag = str_replace( 'href=', $attrs . ' href=', $tag );
269
  }
270
 
283
  return $content;
284
  }
285
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
286
  private function getAssetUrl( Asset $asset ) {
287
 
288
  if ( strpos( $asset->getUrl(), '://' ) ) {
305
  *
306
  * @return string
307
  */
308
+ private function getHandle( Asset $asset ) {
309
+ return Brizy_Editor::prefix() . '-asset-' . $asset->getName() . '-' . $asset->getScore();
310
  }
311
 
312
  private function replacePlaceholders( AssetGroup $ag, $post, $context ) {
345
 
346
  return $asset;
347
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
348
  }
public/asset-proxy.php CHANGED
@@ -34,26 +34,20 @@ class Brizy_Public_AssetProxy extends Brizy_Public_AbstractProxy {
34
  $this->urlBuilder->set_post_id( $postId );
35
  }
36
 
37
- $endpoint_value = $wp_query->query_vars[ $endpoint ];
38
-
39
- // clean endpoint value
40
- $asset_path = "/" . ltrim( $endpoint_value, "/" );
41
- $asset_path = str_replace(['../','./','/.'],'',$asset_path);
42
  $asset_url = $this->urlBuilder->external_asset_url( $asset_path );
43
 
44
- if(strpos($asset_path,'/editor/')!==0) {
45
- return;
46
  }
47
 
48
- $new_path = $this->urlBuilder->page_upload_path( "/assets".str_replace( '/editor', '', $asset_path ) );
49
 
50
  if ( ! file_exists( $new_path ) ) {
51
  $store_result = $this->store_file( $asset_url, $new_path );
52
 
53
  if ( ! $store_result ) {
54
- global $wp_query;
55
  $wp_query->set_404();
56
-
57
  return;
58
  }
59
  }
34
  $this->urlBuilder->set_post_id( $postId );
35
  }
36
 
37
+ $asset_path = '/' . ltrim( urldecode( $wp_query->query_vars[ $endpoint ] ), '/' );
 
 
 
 
38
  $asset_url = $this->urlBuilder->external_asset_url( $asset_path );
39
 
40
+ if ( strpos( $asset_path, '..' ) !== false ) {
41
+ wp_die( 'Forbidden', 'Forbidden', [ 'response' => 403 ] );
42
  }
43
 
44
+ $new_path = $this->urlBuilder->page_upload_path( "/assets" . str_replace( '/editor', '', $asset_path ) );
45
 
46
  if ( ! file_exists( $new_path ) ) {
47
  $store_result = $this->store_file( $asset_url, $new_path );
48
 
49
  if ( ! $store_result ) {
 
50
  $wp_query->set_404();
 
51
  return;
52
  }
53
  }
public/editor-build/221-wp/editor/js/editor.js DELETED
@@ -1 +0,0 @@
1
- !function(e){function t(t){for(var n,i,l=t[0],s=t[1],c=t[2],u=0,p=[];u<l.length;u++)i=l[u],Object.prototype.hasOwnProperty.call(a,i)&&a[i]&&p.push(a[i][0]),a[i]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n]);for(d&&d(t);p.length;)p.shift()();return r.push.apply(r,c||[]),o()}function o(){for(var e,t=0;t<r.length;t++){for(var o=r[t],n=!0,l=1;l<o.length;l++){var s=o[l];0!==a[s]&&(n=!1)}n&&(r.splice(t--,1),e=i(i.s=o[0]))}return e}var n={},a={0:0},r=[];function i(t){if(n[t])return n[t].exports;var o=n[t]={i:t,l:!1,exports:{}};return e[t].call(o.exports,o,o.exports,i),o.l=!0,o.exports}i.e=function(e){var t=[],o=a[e];if(0!==o)if(o)t.push(o[2]);else{var n=new Promise((function(t,n){o=a[e]=[t,n]}));t.push(o[2]=n);var r,l=document.createElement("script");l.charset="utf-8",l.timeout=120,i.nc&&l.setAttribute("nonce",i.nc),l.src=function(e){return i.p+""+({}[e]||e)+".js"}(e);var s=new Error;r=function(t){l.onerror=l.onload=null,clearTimeout(c);var o=a[e];if(0!==o){if(o){var n=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;s.message="Loading chunk "+e+" failed.\n("+n+": "+r+")",s.name="ChunkLoadError",s.type=n,s.request=r,o[1](s)}a[e]=void 0}};var c=setTimeout((function(){r({type:"timeout",target:l})}),12e4);l.onerror=l.onload=r,document.head.appendChild(l)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,o){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(o,n,function(t){return e[t]}.bind(null,n));return o},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e};var l=window.webpackJsonp=window.webpackJsonp||[],s=l.push.bind(l);l.push=t,l=l.slice();for(var c=0;c<l.length;c++)t(l[c]);var d=s;r.push([684,1]),o()}([,function(e,t,o){"use strict";var n=o(279);o.d(t,"a",(function(){return n.a}))},,function(e,t,o){"use strict";o.r(t),o.d(t,"saveOnChanges",(function(){return c})),o.d(t,"defaultValueKey",(function(){return i.a})),o.d(t,"defaultValueValue",(function(){return i.b})),o.d(t,"deviceStateValueByKey",(function(){return i.c})),o.d(t,"makeKeyByStateDevice",(function(){return i.e})),o.d(t,"onChangeBgImage",(function(){return v})),o.d(t,"onChangeBgImageBgOpacity",(function(){return f})),o.d(t,"onChangeBgImageDependencies",(function(){return y})),o.d(t,"onChangeBgImageColumnAndRowSyncMobile",(function(){return O})),o.d(t,"onChangeBorderStyle2",(function(){return C})),o.d(t,"onChangeElementBorderStyleDependencies2",(function(){return j})),o.d(t,"onChangeContainerBorderStyleDependencies2",(function(){return P})),o.d(t,"onChangeBorderColorHexAndOpacity2",(function(){return B})),o.d(t,"onChangeBorderColorHexAndOpacityPalette2",(function(){return w})),o.d(t,"onChangeElementBorderColorHexAndOpacityDependencies2",(function(){return T})),o.d(t,"onChangeContainerBorderColorHexAndOpacityDependencies2",(function(){return z})),o.d(t,"onChangeBorderColorHexAndOpacityColumnAndRowSyncTablet2",(function(){return E})),o.d(t,"onChangeBorderColorHexAndOpacityColumnAndRowSyncMobile2",(function(){return k})),o.d(t,"onChangeBorderColorPalette2",(function(){return H})),o.d(t,"onChangeBorderColorPaletteOpacity2",(function(){return F})),o.d(t,"onChangeBorderWidthType2",(function(){return _})),o.d(t,"onChangeBorderWidthGrouped2",(function(){return R})),o.d(t,"onChangeBorderWidthGroupedDependencies2",(function(){return L})),o.d(t,"onChangeBorderWidthUngrouped2",(function(){return M})),o.d(t,"onChangeBorderWidthUngroupedDependencies2",(function(){return W})),o.d(t,"onChangeBorderRadiusGrouped",(function(){return V})),o.d(t,"onChangeBorderRadiusGroupedDependencies",(function(){return D})),o.d(t,"onChangeBorderRadiusUngrouped",(function(){return $})),o.d(t,"onChangeBorderRadiusUngroupedDependencies",(function(){return G})),o.d(t,"onChangeColorHexAndOpacity",(function(){return U})),o.d(t,"onChangeColorHexAndOpacityPalette",(function(){return K})),o.d(t,"onChangeColorPalette",(function(){return Y})),o.d(t,"onChangeColorPaletteOpacity",(function(){return q})),o.d(t,"onChangeBgColorType2",(function(){return Z})),o.d(t,"onChangeGradientRange2",(function(){return J})),o.d(t,"onChangeBgColorHexAndOpacity2",(function(){return Q})),o.d(t,"onChangeBgColorHexAndOpacityPalette2",(function(){return ee})),o.d(t,"onChangeBgColorHexAndOpacityDependencies2",(function(){return te})),o.d(t,"onChangeBgColorHexAndOpacityColumnAndRowSyncMobile2",(function(){return oe})),o.d(t,"onChangeBgColorPalette2",(function(){return ne})),o.d(t,"onChangeBgColorPaletteOpacity2",(function(){return ae})),o.d(t,"onChangeBoxShadowHexAndOpacity2",(function(){return se})),o.d(t,"onChangeBoxShadowHexAndOpacityPalette2",(function(){return ce})),o.d(t,"onChangeBoxShadowHexAndOpacityDependencies2",(function(){return de})),o.d(t,"onChangeBoxShadowPalette2",(function(){return ue})),o.d(t,"onChangeBoxShadowPaletteOpacity2",(function(){return pe})),o.d(t,"onChangeBoxShadowType2",(function(){return ie})),o.d(t,"onChangeBoxShadowTypeDependencies2",(function(){return le})),o.d(t,"onChangeBoxShadowFields2",(function(){return be})),o.d(t,"onChangeBoxShadowFieldsDependencies2",(function(){return me})),o.d(t,"onChangeBoxShadowOpacity2",(function(){return he})),o.d(t,"onChangeTextShadowType",(function(){return ge})),o.d(t,"onChangeTextShadowHexAndOpacity",(function(){return ve})),o.d(t,"onChangeTextShadowHexAndOpacityPalette",(function(){return fe})),o.d(t,"onChangeTextShadowPalette",(function(){return ye})),o.d(t,"onChangeTextShadowPaletteOpacity",(function(){return Oe})),o.d(t,"onChangeTextShadowFields",(function(){return Se})),o.d(t,"onChangePaddingGrouped",(function(){return Pe})),o.d(t,"onChangePaddingUngrouped",(function(){return Be})),o.d(t,"onChangeMarginGrouped",(function(){return ze})),o.d(t,"onChangeMarginUngrouped",(function(){return Ee})),o.d(t,"onChangeElementSectionBoxShadowHexAndOpacityDependencies",(function(){return ke})),o.d(t,"onChangeElementRichTextBgColorType2",(function(){return He})),o.d(t,"onChangeElementProgressBarBg2ColorHexAndOpacity",(function(){return Fe})),o.d(t,"onChangeElementProgressBarBg2ColorHexAndOpacityPalette",(function(){return _e})),o.d(t,"onChangeElementProgressBarBg2ColorHexAndOpacityDependencies",(function(){return Re})),o.d(t,"onChangeElementProgressBarBg2ColorPalette",(function(){return Le})),o.d(t,"onChangeElementProgressBarBg2ColorPaletteOpacity",(function(){return Me})),o.d(t,"onChangeElementIconBorderColorHex2",(function(){return Ie})),o.d(t,"onChangeElementIconBorderColorPalette2",(function(){return Ne})),o.d(t,"onChangeElementIconBorderColorFields2",(function(){return Ae})),o.d(t,"onChangeElementIconBorderHoverColorHex2",(function(){return Ve})),o.d(t,"onChangeElementIconBorderHoverColorPalette2",(function(){return De})),o.d(t,"onChangeElementIconBorderHoverColorFields2",(function(){return $e})),o.d(t,"onChangeElementButtonBorderColorHex2",(function(){return Ue})),o.d(t,"onChangeElementButtonBorderColorPalette2",(function(){return Ke})),o.d(t,"onChangeElementButtonBorderColorFields2",(function(){return Ye})),o.d(t,"onChangeElementButtonBorderHoverColorHex2",(function(){return qe})),o.d(t,"onChangeElementButtonBorderHoverColorPalette2",(function(){return Xe})),o.d(t,"onChangeElementButtonBorderHoverColorFields2",(function(){return Ze})),o.d(t,"onChangeBgColorHexButton2",(function(){return Je})),o.d(t,"onChangeBgColorPaletteButton2",(function(){return Qe})),o.d(t,"onChangeBgColorFieldsButton2",(function(){return et})),o.d(t,"onChangeHoverBgColorHexButton2",(function(){return tt})),o.d(t,"onChangeHoverBgColorPaletteButton2",(function(){return ot})),o.d(t,"onChangeHoverBgColorFieldsButton2",(function(){return nt})),o.d(t,"onChangeColorHexButtonIcon2",(function(){return at})),o.d(t,"onChangeColorPaletteButtonIcon2",(function(){return rt})),o.d(t,"onChangeColorFieldsButtonIcon2",(function(){return it})),o.d(t,"onChangeHoverColorHexButtonIcon2",(function(){return lt})),o.d(t,"onChangeHoverColorPaletteButtonIcon2",(function(){return st})),o.d(t,"onChangeHoverColorFieldsButtonIcon2",(function(){return ct})),o.d(t,"onChangeMenuColorHex2",(function(){return dt})),o.d(t,"onChangeMenuColorPalette2",(function(){return ut})),o.d(t,"onChangeMenuColorFields2",(function(){return pt})),o.d(t,"onChangeMenuHoverColorHex2",(function(){return bt})),o.d(t,"onChangeMenuHoverColorPalette2",(function(){return mt})),o.d(t,"onChangeMenuHoverColorFields2",(function(){return ht})),o.d(t,"onChangeActiveColorHexSubMenu2",(function(){return Jt})),o.d(t,"onChangeActiveColorPaletteSubMenu2",(function(){return Qt})),o.d(t,"onChangeActiveColorFieldsSubMenu2",(function(){return eo})),o.d(t,"onChangeBgActiveColorHexSubMenu2",(function(){return to})),o.d(t,"onChangeBgActiveColorPaletteSubMenu2",(function(){return oo})),o.d(t,"onChangeBgActiveColorFieldsSubMenu2",(function(){return no})),o.d(t,"onChangeColorHexMMenu2",(function(){return gt})),o.d(t,"onChangeColorPaletteMMenu2",(function(){return vt})),o.d(t,"onChangeColorFieldsMMenu2",(function(){return ft})),o.d(t,"onChangeHoverColorHexMMenu2",(function(){return yt})),o.d(t,"onChangeHoverColorPaletteMMenu2",(function(){return Ot})),o.d(t,"onChangeHoverColorFieldsMMenu2",(function(){return St})),o.d(t,"onChangeColorHexSubMenu2",(function(){return xt})),o.d(t,"onChangeColorPaletteSubMenu2",(function(){return Ct})),o.d(t,"onChangeColorFieldsSubMenu2",(function(){return jt})),o.d(t,"onChangeHoverColorHexSubMenu2",(function(){return Pt})),o.d(t,"onChangeHoverColorPaletteSubMenu2",(function(){return Bt})),o.d(t,"onChangeHoverColorFieldsSubMenu2",(function(){return wt})),o.d(t,"onChangeColorHexIconMenu2",(function(){return Tt})),o.d(t,"onChangeColorPaletteIconMenu2",(function(){return zt})),o.d(t,"onChangeColorFieldsIconMenu2",(function(){return Et})),o.d(t,"onChangeTabletColorHexIconMMenu2",(function(){return kt})),o.d(t,"onChangeTabletColorPaletteIconMMenu2",(function(){return Ht})),o.d(t,"onChangeTabletColorFieldsIconMMenu2",(function(){return Ft})),o.d(t,"onChangeMobileColorHexIconMMenu2",(function(){return _t})),o.d(t,"onChangeMobileColorPaletteIconMMenu2",(function(){return Rt})),o.d(t,"onChangeMobileColorFieldsIconMMenu2",(function(){return Lt})),o.d(t,"onChangeActiveColorHexMMenu2",(function(){return ao})),o.d(t,"onChangeActiveColorPaletteMMenu2",(function(){return ro})),o.d(t,"onChangeActiveColorFieldsMMenu2",(function(){return io})),o.d(t,"onChangeBgColorHexMMenu2",(function(){return Mt})),o.d(t,"onChangeBgColorPaletteMMenu2",(function(){return Wt})),o.d(t,"onChangeBgColorFieldsMMenu2",(function(){return It})),o.d(t,"onChangeBgColorHexSubMenu2",(function(){return Nt})),o.d(t,"onChangeBgColorPaletteSubMenu2",(function(){return At})),o.d(t,"onChangeBgColorFieldsSubMenu2",(function(){return Vt})),o.d(t,"onChangeBgHoverColorHexSubMenu2",(function(){return Dt})),o.d(t,"onChangeBgHoverColorPaletteSubMenu2",(function(){return $t})),o.d(t,"onChangeBgHoverColorFieldsSubMenu2",(function(){return Gt})),o.d(t,"onChangeBorderColorHexMMenu2",(function(){return Ut})),o.d(t,"onChangeBorderColorPaletteMMenu2",(function(){return Kt})),o.d(t,"onChangeBorderColorFieldsMMenu2",(function(){return Yt})),o.d(t,"onChangeBorderColorHexSubMenu2",(function(){return qt})),o.d(t,"onChangeBorderColorPaletteSubMenu2",(function(){return Xt})),o.d(t,"onChangeBorderColorFieldsSubMenu2",(function(){return Zt})),o.d(t,"onChangeTypography",(function(){return uo})),o.d(t,"onChangeTypographyTablet",(function(){return po})),o.d(t,"onChangeTypographyMobile",(function(){return bo})),o.d(t,"tabletSyncOnChange",(function(){return i.g})),o.d(t,"mobileSyncOnChange",(function(){return i.f})),o.d(t,"keySyncOnChange",(function(){return i.d})),o.d(t,"validateKeyByProperty",(function(){return i.h})),o.d(t,"onChangeTypography2",(function(){return vo}));var n={};o.r(n),o.d(n,"saveOnChanges",(function(){return c})),o.d(n,"defaultValueKey",(function(){return i.a})),o.d(n,"defaultValueValue",(function(){return i.b})),o.d(n,"deviceStateValueByKey",(function(){return i.c})),o.d(n,"makeKeyByStateDevice",(function(){return i.e})),o.d(n,"onChangeBgImage",(function(){return v})),o.d(n,"onChangeBgImageBgOpacity",(function(){return f})),o.d(n,"onChangeBgImageDependencies",(function(){return y})),o.d(n,"onChangeBgImageColumnAndRowSyncMobile",(function(){return O})),o.d(n,"onChangeBorderStyle2",(function(){return C})),o.d(n,"onChangeElementBorderStyleDependencies2",(function(){return j})),o.d(n,"onChangeContainerBorderStyleDependencies2",(function(){return P})),o.d(n,"onChangeBorderColorHexAndOpacity2",(function(){return B})),o.d(n,"onChangeBorderColorHexAndOpacityPalette2",(function(){return w})),o.d(n,"onChangeElementBorderColorHexAndOpacityDependencies2",(function(){return T})),o.d(n,"onChangeContainerBorderColorHexAndOpacityDependencies2",(function(){return z})),o.d(n,"onChangeBorderColorHexAndOpacityColumnAndRowSyncTablet2",(function(){return E})),o.d(n,"onChangeBorderColorHexAndOpacityColumnAndRowSyncMobile2",(function(){return k})),o.d(n,"onChangeBorderColorPalette2",(function(){return H})),o.d(n,"onChangeBorderColorPaletteOpacity2",(function(){return F})),o.d(n,"onChangeBorderWidthType2",(function(){return _})),o.d(n,"onChangeBorderWidthGrouped2",(function(){return R})),o.d(n,"onChangeBorderWidthGroupedDependencies2",(function(){return L})),o.d(n,"onChangeBorderWidthUngrouped2",(function(){return M})),o.d(n,"onChangeBorderWidthUngroupedDependencies2",(function(){return W})),o.d(n,"onChangeBorderRadiusGrouped",(function(){return V})),o.d(n,"onChangeBorderRadiusGroupedDependencies",(function(){return D})),o.d(n,"onChangeBorderRadiusUngrouped",(function(){return $})),o.d(n,"onChangeBorderRadiusUngroupedDependencies",(function(){return G})),o.d(n,"onChangeColorHexAndOpacity",(function(){return U})),o.d(n,"onChangeColorHexAndOpacityPalette",(function(){return K})),o.d(n,"onChangeColorPalette",(function(){return Y})),o.d(n,"onChangeColorPaletteOpacity",(function(){return q})),o.d(n,"onChangeBgColorType2",(function(){return Z})),o.d(n,"onChangeGradientRange2",(function(){return J})),o.d(n,"onChangeBgColorHexAndOpacity2",(function(){return Q})),o.d(n,"onChangeBgColorHexAndOpacityPalette2",(function(){return ee})),o.d(n,"onChangeBgColorHexAndOpacityDependencies2",(function(){return te})),o.d(n,"onChangeBgColorHexAndOpacityColumnAndRowSyncMobile2",(function(){return oe})),o.d(n,"onChangeBgColorPalette2",(function(){return ne})),o.d(n,"onChangeBgColorPaletteOpacity2",(function(){return ae})),o.d(n,"onChangeBoxShadowHexAndOpacity2",(function(){return se})),o.d(n,"onChangeBoxShadowHexAndOpacityPalette2",(function(){return ce})),o.d(n,"onChangeBoxShadowHexAndOpacityDependencies2",(function(){return de})),o.d(n,"onChangeBoxShadowPalette2",(function(){return ue})),o.d(n,"onChangeBoxShadowPaletteOpacity2",(function(){return pe})),o.d(n,"onChangeBoxShadowType2",(function(){return ie})),o.d(n,"onChangeBoxShadowTypeDependencies2",(function(){return le})),o.d(n,"onChangeBoxShadowFields2",(function(){return be})),o.d(n,"onChangeBoxShadowFieldsDependencies2",(function(){return me})),o.d(n,"onChangeBoxShadowOpacity2",(function(){return he})),o.d(n,"onChangeTextShadowType",(function(){return ge})),o.d(n,"onChangeTextShadowHexAndOpacity",(function(){return ve})),o.d(n,"onChangeTextShadowHexAndOpacityPalette",(function(){return fe})),o.d(n,"onChangeTextShadowPalette",(function(){return ye})),o.d(n,"onChangeTextShadowPaletteOpacity",(function(){return Oe})),o.d(n,"onChangeTextShadowFields",(function(){return Se})),o.d(n,"onChangePaddingGrouped",(function(){return Pe})),o.d(n,"onChangePaddingUngrouped",(function(){return Be})),o.d(n,"onChangeMarginGrouped",(function(){return ze})),o.d(n,"onChangeMarginUngrouped",(function(){return Ee})),o.d(n,"onChangeElementSectionBoxShadowHexAndOpacityDependencies",(function(){return ke})),o.d(n,"onChangeElementRichTextBgColorType2",(function(){return He})),o.d(n,"onChangeElementProgressBarBg2ColorHexAndOpacity",(function(){return Fe})),o.d(n,"onChangeElementProgressBarBg2ColorHexAndOpacityPalette",(function(){return _e})),o.d(n,"onChangeElementProgressBarBg2ColorHexAndOpacityDependencies",(function(){return Re})),o.d(n,"onChangeElementProgressBarBg2ColorPalette",(function(){return Le})),o.d(n,"onChangeElementProgressBarBg2ColorPaletteOpacity",(function(){return Me})),o.d(n,"onChangeElementIconBorderColorHex2",(function(){return Ie})),o.d(n,"onChangeElementIconBorderColorPalette2",(function(){return Ne})),o.d(n,"onChangeElementIconBorderColorFields2",(function(){return Ae})),o.d(n,"onChangeElementIconBorderHoverColorHex2",(function(){return Ve})),o.d(n,"onChangeElementIconBorderHoverColorPalette2",(function(){return De})),o.d(n,"onChangeElementIconBorderHoverColorFields2",(function(){return $e})),o.d(n,"onChangeElementButtonBorderColorHex2",(function(){return Ue})),o.d(n,"onChangeElementButtonBorderColorPalette2",(function(){return Ke})),o.d(n,"onChangeElementButtonBorderColorFields2",(function(){return Ye})),o.d(n,"onChangeElementButtonBorderHoverColorHex2",(function(){return qe})),o.d(n,"onChangeElementButtonBorderHoverColorPalette2",(function(){return Xe})),o.d(n,"onChangeElementButtonBorderHoverColorFields2",(function(){return Ze})),o.d(n,"onChangeBgColorHexButton2",(function(){return Je})),o.d(n,"onChangeBgColorPaletteButton2",(function(){return Qe})),o.d(n,"onChangeBgColorFieldsButton2",(function(){return et})),o.d(n,"onChangeHoverBgColorHexButton2",(function(){return tt})),o.d(n,"onChangeHoverBgColorPaletteButton2",(function(){return ot})),o.d(n,"onChangeHoverBgColorFieldsButton2",(function(){return nt})),o.d(n,"onChangeColorHexButtonIcon2",(function(){return at})),o.d(n,"onChangeColorPaletteButtonIcon2",(function(){return rt})),o.d(n,"onChangeColorFieldsButtonIcon2",(function(){return it})),o.d(n,"onChangeHoverColorHexButtonIcon2",(function(){return lt})),o.d(n,"onChangeHoverColorPaletteButtonIcon2",(function(){return st})),o.d(n,"onChangeHoverColorFieldsButtonIcon2",(function(){return ct})),o.d(n,"onChangeMenuColorHex2",(function(){return dt})),o.d(n,"onChangeMenuColorPalette2",(function(){return ut})),o.d(n,"onChangeMenuColorFields2",(function(){return pt})),o.d(n,"onChangeMenuHoverColorHex2",(function(){return bt})),o.d(n,"onChangeMenuHoverColorPalette2",(function(){return mt})),o.d(n,"onChangeMenuHoverColorFields2",(function(){return ht})),o.d(n,"onChangeActiveColorHexSubMenu2",(function(){return Jt})),o.d(n,"onChangeActiveColorPaletteSubMenu2",(function(){return Qt})),o.d(n,"onChangeActiveColorFieldsSubMenu2",(function(){return eo})),o.d(n,"onChangeBgActiveColorHexSubMenu2",(function(){return to})),o.d(n,"onChangeBgActiveColorPaletteSubMenu2",(function(){return oo})),o.d(n,"onChangeBgActiveColorFieldsSubMenu2",(function(){return no})),o.d(n,"onChangeColorHexMMenu2",(function(){return gt})),o.d(n,"onChangeColorPaletteMMenu2",(function(){return vt})),o.d(n,"onChangeColorFieldsMMenu2",(function(){return ft})),o.d(n,"onChangeHoverColorHexMMenu2",(function(){return yt})),o.d(n,"onChangeHoverColorPaletteMMenu2",(function(){return Ot})),o.d(n,"onChangeHoverColorFieldsMMenu2",(function(){return St})),o.d(n,"onChangeColorHexSubMenu2",(function(){return xt})),o.d(n,"onChangeColorPaletteSubMenu2",(function(){return Ct})),o.d(n,"onChangeColorFieldsSubMenu2",(function(){return jt})),o.d(n,"onChangeHoverColorHexSubMenu2",(function(){return Pt})),o.d(n,"onChangeHoverColorPaletteSubMenu2",(function(){return Bt})),o.d(n,"onChangeHoverColorFieldsSubMenu2",(function(){return wt})),o.d(n,"onChangeColorHexIconMenu2",(function(){return Tt})),o.d(n,"onChangeColorPaletteIconMenu2",(function(){return zt})),o.d(n,"onChangeColorFieldsIconMenu2",(function(){return Et})),o.d(n,"onChangeTabletColorHexIconMMenu2",(function(){return kt})),o.d(n,"onChangeTabletColorPaletteIconMMenu2",(function(){return Ht})),o.d(n,"onChangeTabletColorFieldsIconMMenu2",(function(){return Ft})),o.d(n,"onChangeMobileColorHexIconMMenu2",(function(){return _t})),o.d(n,"onChangeMobileColorPaletteIconMMenu2",(function(){return Rt})),o.d(n,"onChangeMobileColorFieldsIconMMenu2",(function(){return Lt})),o.d(n,"onChangeActiveColorHexMMenu2",(function(){return ao})),o.d(n,"onChangeActiveColorPaletteMMenu2",(function(){return ro})),o.d(n,"onChangeActiveColorFieldsMMenu2",(function(){return io})),o.d(n,"onChangeBgColorHexMMenu2",(function(){return Mt})),o.d(n,"onChangeBgColorPaletteMMenu2",(function(){return Wt})),o.d(n,"onChangeBgColorFieldsMMenu2",(function(){return It})),o.d(n,"onChangeBgColorHexSubMenu2",(function(){return Nt})),o.d(n,"onChangeBgColorPaletteSubMenu2",(function(){return At})),o.d(n,"onChangeBgColorFieldsSubMenu2",(function(){return Vt})),o.d(n,"onChangeBgHoverColorHexSubMenu2",(function(){return Dt})),o.d(n,"onChangeBgHoverColorPaletteSubMenu2",(function(){return $t})),o.d(n,"onChangeBgHoverColorFieldsSubMenu2",(function(){return Gt})),o.d(n,"onChangeBorderColorHexMMenu2",(function(){return Ut})),o.d(n,"onChangeBorderColorPaletteMMenu2",(function(){return Kt})),o.d(n,"onChangeBorderColorFieldsMMenu2",(function(){return Yt})),o.d(n,"onChangeBorderColorHexSubMenu2",(function(){return qt})),o.d(n,"onChangeBorderColorPaletteSubMenu2",(function(){return Xt})),o.d(n,"onChangeBorderColorFieldsSubMenu2",(function(){return Zt})),o.d(n,"onChangeTypography",(function(){return uo})),o.d(n,"onChangeTypographyTablet",(function(){return po})),o.d(n,"onChangeTypographyMobile",(function(){return bo})),o.d(n,"tabletSyncOnChange",(function(){return i.g})),o.d(n,"mobileSyncOnChange",(function(){return i.f})),o.d(n,"keySyncOnChange",(function(){return i.d})),o.d(n,"validateKeyByProperty",(function(){return i.h})),o.d(n,"onChangeTypography2",(function(){return vo}));var a=o(2),r=o(9),i=o(27);function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function s(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?l(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):l(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function c(e){return e.onChange.reduce((t,o)=>{const a=n[o](e);return Object.assign(t,a)},{})}function d({v:e,device:t,state:o,me:n,childs:a,value:l,dragEnd:c=!0,tempZero:d=!1}){const u=e=>Object(i.a)({key:e,device:t,state:o});let p={};var b;return b=n,(Object(i.b)({v:e,key:b,device:t,state:o})!==l||c)&&(p=s(s({[u(n)]:l},a?a.reduce((e,t)=>(e[u(t)]=l,e),{}):{}),c&&(d||!d&&0!==l&&""!==l)?s({[u("temp"+Object(r.c)(n))]:l},a?a.reduce((e,t)=>(e[u("temp"+Object(r.c)(t))]=l,e),{}):{}):{})),p}function u({v:e,device:t,state:o,me:n,childs:a,current:l,value:c,dragEnd:d=!0,tempZero:u=!1}){const p=e=>Object(i.a)({key:e,device:t,state:o});let b={};var m;return m=l,(Object(i.b)({v:e,key:m,device:t,state:o})!==c||d)&&(b=s(s({[p(l)]:c},d&&(u||!u&&0!==c&&""!==c)?{[p("temp"+Object(r.c)(l))]:c}:{}),a.filter(e=>e!==l).every(t=>e[t]===c)?s({[p(n)]:c},d&&(u||!u&&0!==c&&""!==c)?{[p("temp"+Object(r.c)(n))]:c}:{}):{})),b}function p({v:e,device:t,state:o,parent:n,childs:a,value:l,sliderDragEnd:c=!0,temp:d=!1,tempZero:u=!1}){const p=s({[Object(i.a)({key:n,device:t,state:o})]:l},a.reduce((e,n)=>(e[Object(i.a)({key:n,device:t,state:o})]=l,e),{})),b=d&&!u?s({[Object(i.a)({key:"temp"+Object(r.c)(n),device:t,state:o})]:l>0&&c?l:Object(i.b)({v:e,key:"temp"+Object(r.c)(n),device:t,state:o})},a.reduce((n,a)=>(n[Object(i.a)({key:"temp"+Object(r.c)(a),device:t,state:o})]=l>0&&c?l:Object(i.b)({v:e,key:"temp"+Object(r.c)(a),device:t,state:o}),n),{})):d?s({[Object(i.a)({key:"temp"+Object(r.c)(n),device:t,state:o})]:l},a.reduce((e,n)=>(e[Object(i.a)({key:"temp"+Object(r.c)(n),device:t,state:o})]=l,e),{})):{};return Object.assign(p,b)}function b({v:e,device:t,state:o,parent:n,childs:a,current:l,value:s,temp:c=!1,tempZero:d=!1}){const u=a.filter(e=>e!==l).every(t=>e[t]===s)?s:Object(i.b)({v:e,key:n,device:t,state:o}),p=a.filter(e=>e!==l).every(t=>e[t]===s)?s:s>0?Object(i.b)({v:e,key:"temp"+Object(r.c)(n),device:t,state:o}):Object(i.b)({v:e,key:n,device:t,state:o});return c&&d?{[Object(i.a)({key:n,device:t,state:o})]:u,[Object(i.a)({key:"temp"+Object(r.c)(n),device:t,state:o})]:p}:{[Object(i.a)({key:n,device:t,state:o})]:u}}function m({v:e,device:t,state:o,childs:n,current:a,value:l,temp:c=!1}){return c?s({[Object(i.a)({key:a,device:t,state:o})]:l,[Object(i.a)({key:"temp"+Object(r.c)(a),device:t,state:o})]:l},n.filter(e=>e!==a).reduce((n,a)=>(n[Object(i.a)({key:"temp"+Object(r.c)(a),device:t,state:o})]=0===e[a]?0:Object(i.b)({v:e,key:"temp"+Object(r.c)(a),device:t,state:o}),n),{})):{[Object(i.a)({key:a,device:t,state:o})]:l}}function h({v:e,device:t="desktop",state:o="normal",value:n,dependencies:a}){const l=n=>Object(i.b)({v:e,key:n,device:t,state:o});return Object.entries(a).reduce((a,[s,c])=>{const d=!(0!==n&&""!==n||void 0===c.nullValue||!(c.nullValue.length>0&&c.nullValue.every(t=>""===e[t]||0===e[t])||0===c.nullValue.length)),u=!(0===n||""===n||0!==l(s)&&""!==l(s)&&"off"!==l("boxShadow")||!(c.tempValue.length>0&&c.tempValue.every(t=>""===e[t]||0===e[t])||0===c.tempValue.length)),p=null===l(s)||void 0===l(s);return p&&console.log("onChange "+s+" "+l(s)),p||(a[(e=>Object(i.a)({key:e,device:t,state:o}))(s)]=d?"string"===c.type?"":0:l(u?"temp"+Object(r.c)(s):s)),Object.assign(a,c.childs.reduce((a,l)=>(null===e[Object(i.a)({key:l,device:t,state:o})]||void 0===e[Object(i.a)({key:l,device:t,state:o})]||(a[Object(i.a)({key:l,device:t,state:o})]=0!==n&&""!==n||void 0===c.nullValue||!(c.nullValue.length>0&&c.nullValue.every(t=>""===e[t]||0===e[t])||0===c.nullValue.length)?(n>0||""!==n)&&c.childs.every(n=>0===Object(i.b)({v:e,key:"temp"+Object(r.c)(n),device:t,state:o}))?Object(i.b)({v:e,key:"temp"+Object(r.c)(s),device:t,state:o}):(n>0||""!==n)&&(c.tempValue.length>0&&c.tempValue.every(t=>""===e[t]||0===e[t])||0===c.tempValue.length)?Object(i.b)({v:e,key:"temp"+Object(r.c)(l),device:t,state:o}):Object(i.b)({v:e,key:l,device:t,state:o}):"string"===c.type?"":0),a),{}),c.childs.reduce((a,l)=>(null===e[Object(i.a)({key:"temp"+Object(r.c)(l),device:t,state:o})]||void 0===e[Object(i.a)({key:"temp"+Object(r.c)(l),device:t,state:o})]||(a[Object(i.a)({key:"temp"+Object(r.c)(l),device:t,state:o})]=(n>0||""!==n)&&c.childs.every(n=>0===Object(i.b)({v:e,key:"temp"+Object(r.c)(n),device:t,state:o}))?Object(i.b)({v:e,key:s,device:t,state:o}):Object(i.b)({v:e,key:"temp"+Object(r.c)(l),device:t,state:o})),a),{})),a},{})}function g({v:e,device:t,state:o,childs:n,current:a,value:l,dependencies:s}){return Object.entries(s).reduce((s,[c,d])=>(null===e[c]||(s[Object(i.a)({key:c,device:t,state:o})]=(0===l||""===l)&&(n.length>0&&n.filter(e=>e!==a).every(t=>0===e[t])||0===n.length)&&void 0!==d.nullValue&&(d.nullValue.length>0&&d.nullValue.every(t=>""===e[t]||0===e[t])||0===d.nullValue.length)?"string"===d.type?"":0:(l>0||""!==l)&&(d.tempValue.length>0&&d.tempValue.every(t=>""===e[t]||0===e[t])||0===d.tempValue.length)?Object(i.b)({v:e,key:"temp"+Object(r.c)(c),device:t,state:o}):Object(i.b)({v:e,key:c,device:t,state:o})),Object.assign(s,d.childs.reduce((s,c)=>{var u,p;return null===e[c]||(s[Object(i.a)({key:c,device:t,state:o})]=(0===l||""===l)&&(n.length>0&&n.filter(e=>e!==a).every(t=>0===e[t])||0===n.length)&&((null===(u=d.nullValue)||void 0===u?void 0:u.length)>0&&d.nullValue.every(t=>""===e[t]||0===e[t])||0===(null===(p=d.nullValue)||void 0===p?void 0:p.length))?"string"===d.type?"":0:(l>0||""!==l)&&0===d.tempValue.length?Object(i.b)({v:e,key:"temp"+Object(r.c)(c),device:t,state:o}):Object(i.b)({v:e,key:c,device:t,state:o})),s},{})),s),{})}function v({device:e,state:t,width:o,height:n,extension:a,src:r,x:l,y:s,population:c,isChanged:d}){return"image"===d?{[Object(i.a)({key:"bgImageWidth",device:e,state:t})]:o,[Object(i.a)({key:"bgImageHeight",device:e,state:t})]:n,[Object(i.a)({key:"bgImageExtension",device:e,state:t})]:a,[Object(i.a)({key:"bgImageSrc",device:e,state:t})]:r}:"population"===d?{[Object(i.a)({key:"bgPopulation",device:e,state:t})]:c}:{[Object(i.a)({key:"bgPositionX",device:e,state:t})]:l,[Object(i.a)({key:"bgPositionY",device:e,state:t})]:s}}function f({v:e,device:t,state:o,src:n,isChanged:a}){const r=""!==n&&1===Object(i.b)({v:e,key:"bgColorOpacity",device:t,state:o})?.9:Object(i.b)({v:e,key:"bgColorOpacity",device:t,state:o}),l=""!==n&&1===Object(i.b)({v:e,key:"bgColorOpacity",device:t,state:o})?.9:Object(i.b)({v:e,key:"tempBgColorOpacity",device:t,state:o});return"image"===a?{[Object(i.a)({key:"bgColorOpacity",device:t,state:o})]:r,[Object(i.a)({key:"tempBgColorOpacity",device:t,state:o})]:l}:{}}function y({v:e,device:t,state:o,src:n}){return h({v:e,device:t,state:o,value:n,dependencies:{borderRadius:{childs:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],nullValue:["bgColorOpacity","borderColorOpacity"],tempValue:[]}}})}function O({v:e,device:t,src:o}){return"desktop"===t||"mobile"===t?{mobilePaddingRight:o?e.tempMobilePaddingRight:0,mobilePaddingLeft:o?e.tempMobilePaddingLeft:0}:{}}function S(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function x(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?S(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):S(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function C({v:e,device:t,state:o,borderStyle:n,prefix:a=""}){const l=e=>Object(i.a)({key:e,device:t,state:o}),s=Object(r.b)(a,"border"),c=Object(r.b)(s,"style"),d=Object(r.b)("temp",c);return{[l(c)]:n,[l(d)]:""!==n?n:(u=d,Object(i.b)({v:e,key:u,device:t,state:o}))};var u}function j({v:e,device:t,state:o,borderStyle:n,prefix:a=""}){const i=Object(r.b)(a,"border");return h({v:e,device:t,state:o,value:n,dependencies:{[Object(r.b)(i,"colorOpacity")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(i,"colorPalette")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(i,"width")]:{childs:[Object(r.b)(i,"topWidth"),Object(r.b)(i,"rightWidth"),Object(r.b)(i,"bottomWidth"),Object(r.b)(i,"leftWidth")],nullValue:[],tempValue:[]}}})}function P({v:e,device:t,state:o,borderStyle:n}){return h({v:e,device:t,state:o,value:n,dependencies:{borderColorOpacity:{childs:[],nullValue:[],tempValue:[]},borderColorPalette:{childs:[],nullValue:[],tempValue:[]},borderWidth:{childs:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],nullValue:[],tempValue:[]},borderRadius:{childs:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],nullValue:["bgColorOpacity","bgImageSrc"],tempValue:[]}}})}function B({v:e,device:t,state:o,hex:n,opacity:a,prefix:l="",isChanged:s="hex",opacityDragEnd:c=!1}){const d=e=>Object(i.a)({key:e,device:t,state:o}),u=Object(r.b)(l,"border"),p=Object(r.b)(u,"colorHex"),b=Object(r.b)(u,"colorOpacity"),m=Object(r.b)("temp",b),h=(a=I({v:e,device:t,state:o,opacity:a,prefix:l,isChanged:s}))>0&&c?a:(g=m,Object(i.b)({v:e,key:g,device:t,state:o}));var g;return{[d(p)]:n,[d(b)]:a,[d(m)]:h}}function w({v:e,device:t,state:o,opacity:n,prefix:a="",isChanged:l="hex"}){const s=e=>Object(i.a)({key:e,device:t,state:o}),c=n=>Object(i.b)({v:e,key:n,device:t,state:o}),d=Object(r.b)(a,"border"),u=Object(r.b)(d,"colorPalette"),p=Object(r.b)("temp",u);n=I({v:e,device:t,state:o,opacity:n,prefix:a,isChanged:l});const b="hex"===l||0===n?"":c(n>0?p:u),m="hex"===l?"":c(p);return{[s(u)]:b,[s(p)]:m}}function T({v:e,device:t,state:o,opacity:n,isChanged:a,prefix:i=""}){const l=Object(r.b)(i,"border"),s={[Object(r.b)(l,"style")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(l,"width")]:{childs:[Object(r.b)(l,"topWidth"),Object(r.b)(l,"rightWidth"),Object(r.b)(l,"bottomWidth"),Object(r.b)(l,"leftWidth")],nullValue:[],tempValue:[]}};return h({v:e,device:t,state:o,value:n=I({v:e,device:t,state:o,opacity:n,prefix:i,isChanged:a}),dependencies:s})}function z({v:e,device:t,state:o,opacity:n,isChanged:a}){return h({v:e,device:t,state:o,value:n=I({v:e,device:t,state:o,opacity:n,isChanged:a}),dependencies:{borderStyle:{childs:[],nullValue:[],tempValue:[]},borderWidth:{childs:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],nullValue:[],tempValue:[]},borderRadius:{childs:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],nullValue:["bgColorOpacity","bgImageSrc"],tempValue:[]}}})}function E({v:e,device:t,opacity:o,isChanged:n}){if("desktop"===t||"tablet"===t){return{tabletPaddingRight:0===(o=I({v:e,device:t,opacity:o,isChanged:n}))?0:"hex"===n||o>0?e.tempTabletPaddingRight:e.tabletPaddingRight,tabletPaddingLeft:0===o?0:"hex"===n||o>0?e.tempTabletPaddingLeft:e.tabletPaddingLeft}}return{}}function k({v:e,device:t,opacity:o,isChanged:n}){if("desktop"===t||"mobile"===t){return{mobilePaddingRight:0===(o=I({v:e,device:t,opacity:o,isChanged:n}))?0:"hex"===n||o>0?e.tempMobilePaddingRight:e.mobilePaddingRight,mobilePaddingLeft:0===o?0:"hex"===n||o>0?e.tempMobilePaddingLeft:e.mobilePaddingLeft}}return{}}function H({device:e,state:t,palette:o,prefix:n=""}){const a=o=>Object(i.a)({key:o,device:e,state:t}),l=Object(r.b)(n,"border"),s=Object(r.b)(l,"colorPalette"),c=Object(r.b)("temp",s);return{[a(s)]:o,[a(c)]:o}}function F({v:e,device:t,state:o,opacity:n,isChanged:a,prefix:l=""}){const s=Object(r.b)(l,"border"),c=Object(r.b)(s,"colorOpacity");return n=I({v:e,device:t,state:o,opacity:n,prefix:l,isChanged:a}),{[(d=c,Object(i.a)({key:d,device:t,state:o}))]:n};var d}function _({device:e,state:t,type:o,prefix:n=""}){const a=Object(r.b)(n,"border"),l=Object(r.b)(a,"widthType");return{[(s=l,Object(i.a)({key:s,device:e,state:t}))]:o};var s}function R({v:e,device:t,state:o,value:n,sliderDragEnd:a,prefix:i=""}){const l=Object(r.b)(i,"border");return p({v:e,device:t,state:o,parent:Object(r.b)(l,"width"),childs:[Object(r.b)(l,"topWidth"),Object(r.b)(l,"rightWidth"),Object(r.b)(l,"bottomWidth"),Object(r.b)(l,"leftWidth")],value:n,sliderDragEnd:a,temp:!0,tempZero:!1})}function L({v:e,device:t,state:o,value:n,prefix:a=""}){const i=Object(r.b)(a,"border"),l=Object(r.b)(i,"style"),s=Object(r.b)(i,"radius"),c=Object(r.b)(i,"colorOpacity"),d=Object(r.b)(i,"colorPalette");return h({v:e,device:t,state:o,value:n,dependencies:{[l]:{childs:[],nullValue:[],tempValue:[]},[s]:{childs:[Object(r.b)(i,"topLeftRadius"),Object(r.b)(i,"topRightRadius"),Object(r.b)(i,"bottomLeftRadius"),Object(r.b)(i,"bottomRightRadius")],nullValue:["bgColorOpacity","bgImageSrc"],tempValue:[]},[c]:{childs:[],nullValue:[],tempValue:[]},[d]:{childs:[],nullValue:[],tempValue:[]}}})}function M({v:e,device:t,state:o,current:n,value:a,prefix:i=""}){const l=Object(r.b)(i,"border"),s=Object(r.b)(l,"width"),c=[Object(r.b)(l,"topWidth"),Object(r.b)(l,"rightWidth"),Object(r.b)(l,"bottomWidth"),Object(r.b)(l,"leftWidth")];return x(x({},m({v:e,device:t,state:o,childs:c,current:n,value:a,temp:!0})),b({v:e,device:t,state:o,parent:s,childs:c,current:n,value:a,temp:!0}))}function W({v:e,device:t,state:o,current:n,value:a,prefix:i=""}){const l=Object(r.b)(i,"border"),s=Object(r.b)(l,"width"),c=[Object(r.b)(l,"topWidth"),Object(r.b)(l,"rightWidth"),Object(r.b)(l,"bottomWidth"),Object(r.b)(l,"leftWidth")],d=Object(r.b)(l,"style"),u=Object(r.b)(l,"radius"),p=Object(r.b)(l,"colorOpacity"),b=Object(r.b)(l,"colorPalette");return g({v:e,device:t,state:o,parent:s,childs:c,current:n,value:a,dependencies:{[d]:{childs:[],nullValue:[],tempValue:[]},[u]:{childs:[Object(r.b)(l,"topLeftRadius"),Object(r.b)(l,"topRightRadius"),Object(r.b)(l,"bottomLeftRadius"),Object(r.b)(l,"bottomRightRadius")],nullValue:["bgColorOpacity","bgImageSrc"],tempValue:[]},[p]:{childs:[],nullValue:[],tempValue:[]},[b]:{childs:[],nullValue:[],tempValue:[]}}})}function I({v:e,device:t,state:o,prefix:n="",opacity:a,isChanged:l="hex"}){const s=n=>Object(i.b)({v:e,key:n,device:t,state:o}),c=Object(r.b)(n,"border"),d=Object(r.b)(c,"colorOpacity"),u=Object(r.b)("temp",d);return"hex"!==l&&"palette"!==l||0!==s(d)?void 0===a?s(d):a:s(u)}function N(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function A(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?N(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):N(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function V({v:e,device:t,state:o,value:n,sliderDragEnd:a,prefix:i=""}){return p({v:e,device:t,state:o,parent:Object(r.b)(i,"borderRadius"),childs:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"].map(e=>Object(r.b)(i,e)),value:n,sliderDragEnd:a,temp:!0,tempZero:!0})}function D({v:e,device:t,state:o,value:n,prefix:a=""}){return h({v:e,device:t,state:o,value:n,tempZero:!0,dependencies:{borderStyle:{childs:[],tempValue:["bgColorOpacity","bgImageSrc"]},borderWidth:{childs:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"].map(e=>Object(r.b)(a,e)),tempValue:["bgColorOpacity","bgImageSrc"]},borderColorOpacity:{childs:[],tempValue:["bgColorOpacity","bgImageSrc"]},borderColorPalette:{childs:[],tempValue:["bgColorOpacity","bgImageSrc"]}}})}function $({v:e,device:t,state:o,value:n,current:a,prefix:i=""}){const l=Object(r.b)(i,a),s=Object(r.b)(i,"borderRadius"),c=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"].map(e=>Object(r.b)(i,e));return A(A({},m({v:e,device:t,childs:c,state:o,current:l,value:n,temp:!0})),b({v:e,device:t,state:o,parent:s,childs:c,current:l,value:n,temp:!0,tempZero:!0}))}function G({v:e,device:t,state:o,value:n,current:a,prefix:i=""}){const l=Object(r.b)(i,a);return A({},g({v:e,device:t,state:o,parent:Object(r.b)(i,"borderRadius"),childs:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"].map(e=>Object(r.b)(i,e)),current:l,value:n,dependencies:{borderStyle:{childs:[],tempValue:["bgColorOpacity","bgImageSrc"]},borderWidth:{childs:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"].map(e=>Object(r.b)(i,e)),tempValue:["bgColorOpacity","bgImageSrc"]},borderColorOpacity:{childs:[],tempValue:["bgColorOpacity","bgImageSrc"]},borderColorPalette:{childs:[],tempValue:["bgColorOpacity","bgImageSrc"]}}}))}function U({v:e,device:t,state:o,prefix:n="color",hex:a,opacity:l,isChanged:s="hex",opacityDragEnd:c=!1}){const d=e=>Object(i.a)({key:e,device:t,state:o}),u="temp"+Object(r.c)(n),p=(l=X({v:e,device:t,state:o,prefix:n,opacity:l,isChanged:s}))>0&&c?l:(b=Object(r.b)(u,"opacity"),Object(i.b)({v:e,key:b,device:t,state:o}));var b;return{[d(Object(r.b)(n,"hex"))]:a,[d(Object(r.b)(n,"opacity"))]:l,[d(Object(r.b)(u,"opacity"))]:p}}function K({v:e,device:t,state:o,prefix:n="color",opacity:a,isChanged:l="hex"}){const s=e=>Object(i.a)({key:e,device:t,state:o}),c=n=>Object(i.b)({v:e,key:n,device:t,state:o}),d="temp"+Object(r.c)(n);a=X({v:e,device:t,state:o,prefix:n,opacity:a,isChanged:l});const u="hex"===l||0===a?"":c(a>0?Object(r.b)(d,"palette"):Object(r.b)(n,"palette")),p="hex"===l?"":c(Object(r.b)(d,"palette"));return{[s(Object(r.b)(n,"palette"))]:u,[s(Object(r.b)(d,"palette"))]:p}}function Y({device:e,state:t,prefix:o="color",palette:n}){const a=o=>Object(i.a)({key:o,device:e,state:t}),l="temp"+Object(r.c)(o);return{[a(Object(r.b)(o,"palette"))]:n,[a(Object(r.b)(l,"palette"))]:n}}function q({v:e,device:t,state:o,prefix:n="color",opacity:a,isChanged:l="hex"}){return a=X({v:e,device:t,state:o,prefix:n,opacity:a,isChanged:l}),{[(s=Object(r.b)(n,"opacity"),Object(i.a)({key:s,device:t,state:o}))]:a};var s}function X({v:e,device:t,state:o,prefix:n="color",opacity:a,isChanged:l="hex"}){const s=n=>Object(i.b)({v:e,key:n,device:t,state:o}),c="temp"+Object(r.c)(n);return"hex"===l&&0===s(Object(r.b)(n,"opacity"))?s(Object(r.b)(c,"opacity")):void 0===a?s(Object(r.b)(n,"opacity")):a}function Z({v:e,device:t,state:o,bgColorType:n}){const a=e=>Object(i.a)({key:e,device:t,state:o});return{[a("bgColorType")]:n,[a("gradientActivePointer")]:"solid"===n?"startPointer":(r="gradientActivePointer",Object(i.b)({v:e,key:r,device:t,state:o}))};var r}function J({device:e,state:t,startPointer:o,finishPointer:n,activePointer:a}){const r=o=>Object(i.a)({key:o,device:e,state:t});return{[r("gradientStartPointer")]:o,[r("gradientFinishPointer")]:n,[r("gradientActivePointer")]:a}}function Q({v:e,device:t,state:o,prefix:n,hex:a,opacity:l,isChanged:s="hex",opacityDragEnd:c=!1}){const d=e=>Object(i.a)({key:e,device:t,state:o}),u="temp"+Object(r.c)(n),p=(l=re({v:e,device:t,state:o,prefix:n,opacity:l,isChanged:s}))>0&&c?l:(b=Object(r.b)(u,"colorOpacity"),Object(i.b)({v:e,key:b,device:t,state:o}));var b;return{[d(Object(r.b)(n,"colorHex"))]:a,[d(Object(r.b)(n,"colorOpacity"))]:l,[d(Object(r.b)(u,"colorOpacity"))]:p}}function ee({v:e,device:t,state:o,prefix:n,opacity:a,isChanged:l="hex"}){const s=e=>Object(i.a)({key:e,device:t,state:o}),c=n=>Object(i.b)({v:e,key:n,device:t,state:o}),d="temp"+Object(r.c)(n);a=re({v:e,device:t,state:o,prefix:n,opacity:a,isChanged:l});const u="hex"===l||0===a?"":c(a>0?Object(r.b)(d,"colorPalette"):Object(r.b)(n,"colorPalette")),p="hex"===l?"":c(Object(r.b)(d,"colorPalette"));return{[s(Object(r.b)(n,"colorPalette"))]:u,[s(Object(r.b)(d,"colorPalette"))]:p}}function te({v:e,device:t,state:o,prefix:n,opacity:a,isChanged:r="hex"}){return h({v:e,device:t,state:o,value:a=re({v:e,device:t,state:o,prefix:n,opacity:a,isChanged:r}),dependencies:{borderRadius:{childs:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],nullValue:["bgImageSrc","borderColorOpacity"],tempValue:[]}}})}function oe({v:e,device:t,prefix:o,opacity:n,isChanged:a="hex"}){if("desktop"===t||"mobile"===t){return{mobilePaddingRight:0===(n=re({v:e,device:t,prefix:o,opacity:n,isChanged:a}))?0:"hex"===a||n>0?e.tempMobilePaddingRight:e.mobilePaddingRight,mobilePaddingLeft:0===n?0:"hex"===a||n>0?e.tempMobilePaddingLeft:e.mobilePaddingLeft}}return{}}function ne({device:e,state:t,prefix:o,palette:n}){const a=o=>Object(i.a)({key:o,device:e,state:t}),l="temp"+Object(r.c)(o);return{[a(Object(r.b)(o,"colorPalette"))]:n,[a(Object(r.b)(l,"colorPalette"))]:n}}function ae({v:e,device:t,state:o,prefix:n,opacity:a,isChanged:l="hex"}){return a=re({v:e,device:t,state:o,prefix:n,opacity:a,isChanged:l}),{[(s=Object(r.b)(n,"colorOpacity"),Object(i.a)({key:s,device:t,state:o}))]:a};var s}function re({v:e,device:t,state:o,prefix:n,opacity:a,isChanged:l="hex"}){const s=n=>Object(i.b)({v:e,key:n,device:t,state:o}),c="temp"+Object(r.c)(n);return"hex"!==l&&"palette"!==l||0!==s(Object(r.b)(n,"colorOpacity"))||1!==s(Object(r.b)(c,"colorOpacity"))||""===s("bgImageSrc")?"hex"!==l&&"palette"!==l||0!==s(Object(r.b)(n,"colorOpacity"))?void 0===a?s(Object(r.b)(n,"colorOpacity")):a:s(Object(r.b)(c,"colorOpacity")):.9}function ie({v:e,device:t,state:o,boxShadowType:n,prefix:a=""}){const l=e=>Object(i.a)({key:e,device:t,state:o}),s=Object(r.b)(a,"boxShadow"),c=Object(r.b)("temp",s);return{[l(s)]:n,[l(c)]:""!==n?n:(d=c,Object(i.b)({v:e,key:d,device:t,state:o}))};var d}function le({v:e,device:t,state:o,boxShadowType:n,prefix:a=""}){const i=Object(r.b)(a,"boxShadow");return h({v:e,device:t,state:o,value:n,dependencies:{[Object(r.b)(i,"colorOpacity")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(i,"colorPalette")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(i,"blur")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(i,"spread")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(i,"vertical")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(i,"horizontal")]:{childs:[],nullValue:[],tempValue:[]}}})}function se({v:e,device:t,state:o,hex:n,opacity:a,prefix:l="",isChanged:s="hex",opacityDragEnd:c=!1}){const d=e=>Object(i.a)({key:e,device:t,state:o}),u=Object(r.b)(l,"boxShadow"),p=Object(r.b)(u,"colorHex"),b=Object(r.b)(u,"colorOpacity"),m=Object(r.b)("temp",b),h=(a=he({v:e,device:t,state:o,opacity:a,prefix:l,isChanged:s}))>0&&c?a:(g=m,Object(i.b)({v:e,key:g,device:t,state:o}));var g;return{[d(p)]:n,[d(b)]:a,[d(m)]:h}}function ce({v:e,device:t,state:o,opacity:n,prefix:a="",isChanged:l="hex"}){const s=e=>Object(i.a)({key:e,device:t,state:o}),c=n=>Object(i.b)({v:e,key:n,device:t,state:o}),d=Object(r.b)(a,"boxShadow"),u=Object(r.b)(d,"colorPalette"),p=Object(r.b)("temp",u);n=he({v:e,device:t,state:o,opacity:n,isChanged:l});const b="hex"===l||0===n?"":c(n>0?p:u),m="hex"===l?"":c(p);return{[s(u)]:b,[s(p)]:m}}function de({v:e,device:t,state:o,opacity:n,isChanged:a,prefix:i=""}){const l=Object(r.b)(i,"boxShadow"),s={[l]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(l,"blur")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(l,"spread")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(l,"vertical")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(l,"horizontal")]:{childs:[],nullValue:[],tempValue:[]}};return h({v:e,device:t,state:o,value:n=he({v:e,device:t,state:o,opacity:n,prefix:i,isChanged:a}),dependencies:s})}function ue({device:e,state:t,palette:o,prefix:n=""}){const a=o=>Object(i.a)({key:o,device:e,state:t}),l=Object(r.b)(n,"boxShadow"),s=Object(r.b)(l,"colorPalette"),c=Object(r.b)("temp",s);return{[a(s)]:o,[a(c)]:o}}function pe({v:e,device:t,state:o,opacity:n,isChanged:a,prefix:l=""}){const s=Object(r.b)(l,"boxShadow"),c=Object(r.b)(s,"colorOpacity");return n=he({v:e,device:t,state:o,opacity:n,prefix:l,isChanged:a}),{[(d=c,Object(i.a)({key:d,device:t,state:o}))]:n};var d}function be({device:e,state:t,boxShadowBlur:o=0,boxShadowSpread:n=0,boxShadowVertical:a=0,boxShadowHorizontal:l=0,prefix:s=""}){const c=o=>Object(i.a)({key:o,device:e,state:t}),d=Object(r.b)(s,"boxShadow"),u=Object(r.b)(d,"blur"),p=Object(r.b)(d,"spread"),b=Object(r.b)(d,"vertical"),m=Object(r.b)(d,"horizontal"),h=Object(r.b)("temp",u),g=Object(r.b)("temp",p),v=Object(r.b)("temp",b),f=Object(r.b)("temp",m);return{[c(u)]:o,[c(h)]:o,[c(p)]:n,[c(g)]:n,[c(b)]:a,[c(v)]:a,[c(m)]:l,[c(f)]:l}}function me({v:e,device:t,state:o,boxShadowBlur:n=0,boxShadowSpread:a=0,boxShadowVertical:i=0,boxShadowHorizontal:l=0,prefix:s=""}){const c=Math.max(n,a,i,l),d=Object(r.b)(s,"boxShadow");return h({v:e,device:t,state:o,value:c,dependencies:{[d]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(d,"colorOpacity")]:{childs:[],nullValue:[],tempValue:[]},[Object(r.b)(d,"colorPalette")]:{childs:[],nullValue:[],tempValue:[]}}})}function he({v:e,device:t,state:o,prefix:n="",opacity:a,isChanged:l="hex"}){const s=n=>Object(i.b)({v:e,key:n,device:t,state:o}),c=Object(r.b)(n,"boxShadow"),d=Object(r.b)(c,"colorOpacity"),u=Object(r.b)("temp",d);return"hex"!==l&&"palette"!==l||0!==s(d)?void 0===a?s(d):a:s(u)}function ge({v:e,device:t,state:o,textShadowType:n,prefix:a=""}){const l=e=>Object(i.a)({key:e,device:t,state:o}),s=Object(r.b)(a,"textShadow"),c=Object(r.b)("temp",s);return{[l(s)]:n,[l(c)]:""!==n?n:(d=c,Object(i.b)({v:e,key:d,device:t,state:o}))};var d}function ve({v:e,device:t,state:o,hex:n,opacity:a,prefix:l="",isChanged:s="hex",opacityDragEnd:c=!1}){const d=e=>Object(i.a)({key:e,device:t,state:o}),u=Object(r.b)(l,"textShadow"),p=Object(r.b)(u,"colorHex"),b=Object(r.b)(u,"colorOpacity"),m=Object(r.b)("temp",b),h=(a=xe({v:e,device:t,state:o,opacity:a,prefix:l,isChanged:s}))>0&&c?a:(g=m,Object(i.b)({v:e,key:g,device:t,state:o}));var g;return{[d(u)]:"shadow",[d(p)]:n,[d(b)]:a,[d(m)]:h}}function fe({v:e,device:t,state:o,opacity:n,prefix:a="",isChanged:l="hex"}){const s=e=>Object(i.a)({key:e,device:t,state:o}),c=n=>Object(i.b)({v:e,key:n,device:t,state:o}),d=Object(r.b)(a,"textShadow"),u=Object(r.b)(d,"colorPalette"),p=Object(r.b)("temp",u);n=xe({v:e,device:t,state:o,opacity:n,isChanged:l});const b="hex"===l||0===n?"":c(n>0?p:u),m="hex"===l?"":c(p);return{[s(d)]:"shadow",[s(u)]:b,[s(p)]:m}}function ye({device:e,state:t,palette:o,prefix:n=""}){const a=o=>Object(i.a)({key:o,device:e,state:t}),l=Object(r.b)(n,"textShadow"),s=Object(r.b)(l,"colorPalette"),c=Object(r.b)("temp",s);return{[a(l)]:"shadow",[a(s)]:o,[a(c)]:o}}function Oe({v:e,device:t,state:o,opacity:n,isChanged:a,prefix:l=""}){const s=e=>Object(i.a)({key:e,device:t,state:o}),c=Object(r.b)(l,"textShadow"),d=Object(r.b)(c,"colorOpacity");return n=xe({v:e,device:t,state:o,opacity:n,prefix:l,isChanged:a}),{[s(c)]:"shadow",[s(d)]:n}}function Se({device:e,state:t,textShadowBlur:o=0,textShadowVertical:n=0,textShadowHorizontal:a=0,prefix:l=""}){const s=o=>Object(i.a)({key:o,device:e,state:t}),c=Object(r.b)(l,"textShadow"),d=Object(r.b)(c,"blur"),u=Object(r.b)(c,"vertical"),p=Object(r.b)(c,"horizontal"),b=Object(r.b)("temp",d),m=Object(r.b)("temp",u),h=Object(r.b)("temp",p);return{[s(c)]:"shadow",[s(d)]:o,[s(b)]:o,[s(u)]:n,[s(m)]:n,[s(p)]:a,[s(h)]:a}}function xe({v:e,device:t,state:o,prefix:n="",opacity:a,isChanged:l="hex"}){const s=n=>Object(i.b)({v:e,key:n,device:t,state:o}),c=Object(r.b)(n,"textShadow"),d=Object(r.b)(c,"colorOpacity"),u=Object(r.b)("temp",d);return"hex"!==l&&"palette"!==l||0!==s(d)?void 0===a?s(d):a:s(u)}function Ce(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function je(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ce(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ce(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Pe({v:e,device:t,state:o,me:n="padding",childs:a,value:i,suffix:l,sliderDragEnd:s,prefix:c=""}){const u=[],p=[],b=Object(r.b)(c,n);return a.forEach(e=>{const t=Object(r.b)(c,e);u.push(t),p.push(Object(r.b)(t,"suffix"))}),je(je({},d({v:e,device:t,state:o,me:b+"Suffix",childs:p,value:l,dragEnd:s})),d({v:e,device:t,state:o,childs:u,value:i,me:b,dragEnd:s}))}function Be({v:e,device:t,state:o,value:n,suffix:a,sliderDragEnd:i,childs:l,current:s,me:c="padding",prefix:d=""}){const p=[],b=[],m=Object(r.b)(d,c),h=Object(r.b)(d,s);return l.forEach(e=>{const t=Object(r.b)(d,e);p.push(t),b.push(Object(r.b)(t,"suffix"))}),je(je({},u({v:e,device:t,state:o,me:m+"Suffix",childs:b,current:h+"Suffix",value:a,dragEnd:i})),u({v:e,device:t,state:o,childs:p,current:h,value:n,me:m,dragEnd:i}))}function we(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Te(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?we(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):we(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function ze({v:e,device:t,state:o,value:n,suffix:a}){const r=["marginTop","marginRight","marginBottom","marginLeft"],i=[];for(var l=0;l<r.length;l++)i[l]=r[l]+"Suffix";return Te(Te({},p({v:e,device:t,state:o,parent:"marginSuffix",childs:i,value:a})),p({v:e,device:t,state:o,parent:"margin",childs:r,value:n}))}function Ee({v:e,device:t,state:o,current:n,value:a,suffix:r}){const l=["marginTop","marginRight","marginBottom","marginLeft"],s=[];for(var c=0;c<l.length;c++)s[c]=l[c]+"Suffix";return Te(Te(Te({[""+Object(i.a)({key:n+"Suffix",device:t,state:o})]:r},m({v:e,device:t,state:o,childs:l,current:n,value:a})),b({v:e,device:t,state:o,parent:"margin",childs:l,current:n,value:a})),b({v:e,device:t,state:o,parent:"marginSuffix",childs:s,current:n+"Suffix",value:r}))}function ke({v:e,device:t,state:o,opacity:n,isChanged:a="hex"}){return h({v:e,device:t,state:o,value:n=function({v:e,device:t,state:o,opacity:n,isChanged:a}){return"hex"===a&&0===Object(i.b)({v:e,key:"boxShadowColorOpacity",device:t,state:o})?Object(i.b)({v:e,key:"tempBoxShadowColorOpacity",device:t,state:o}):void 0===n?Object(i.b)({v:e,key:"boxShadowColorOpacity",device:t,state:o}):n}({v:e,device:t,state:o,opacity:n,isChanged:a}),dependencies:{boxShadowBlur:{childs:[],nullValue:[],tempValue:[]},boxShadowVertical:{childs:[],nullValue:[],tempValue:[]}}})}function He({v:e,device:t,state:o,colorType:n}){const a=e=>Object(i.a)({key:e,device:t,state:o});return{[a("colorType")]:n,[a("gradientActivePointer")]:"solid"===n?"startPointer":(r="gradientActivePointer",Object(i.b)({v:e,key:r,device:t,state:o}))};var r}function Fe({v:e,device:t,state:o,hex:n,opacity:a,isChanged:r="hex",opacityDragEnd:l=!1}){const s=(a=We({v:e,device:t,state:o,opacity:a,isChanged:r}))>0&&l?a:Object(i.b)({v:e,key:"tempBg2ColorOpacity",device:t,state:o});return{[Object(i.a)({key:"bg2ColorHex",device:t,state:o})]:n,[Object(i.a)({key:"bg2ColorOpacity",device:t,state:o})]:a,[Object(i.a)({key:"tempBg2ColorOpacity",device:t,state:o})]:s}}function _e({v:e,device:t,state:o,opacity:n,isChanged:a="hex"}){n=We({v:e,device:t,state:o,opacity:n,isChanged:a});const r="hex"===a||0===n?"":n>0?Object(i.b)({v:e,key:"tempBg2ColorPalette",device:t,state:o}):Object(i.b)({v:e,key:"bg2ColorPalette",device:t,state:o}),l="hex"===a?"":Object(i.b)({v:e,key:"tempBg2ColorPalette",device:t,state:o});return{[Object(i.a)({key:"bg2ColorPalette",device:t,state:o})]:r,[Object(i.a)({key:"tempBg2ColorPalette",device:t,state:o})]:l}}function Re({v:e,device:t,state:o,opacity:n,isChanged:a="hex"}){return h({v:e,device:t,state:o,value:n=We({v:e,device:t,state:o,opacity:n,isChanged:a}),dependencies:{borderRadius:{childs:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],nullValue:["bg2ImageSrc","borderColorOpacity"],tempValue:[]}}})}function Le({device:e,state:t,palette:o}){return{[Object(i.a)({key:"bg2ColorPalette",device:e,state:t})]:o,[Object(i.a)({key:"tempBg2ColorPalette",device:e,state:t})]:o}}function Me({v:e,device:t,state:o,opacity:n,isChanged:a="hex"}){return n=We({v:e,device:t,state:o,opacity:n,isChanged:a}),{[Object(i.a)({key:"bg2ColorOpacity",device:t,state:o})]:n}}function We({v:e,device:t,state:o,opacity:n,isChanged:a}){return"hex"===a&&0===Object(i.b)({v:e,key:"bg2ColorOpacity",device:t,state:o})&&1===Object(i.b)({v:e,key:"tempBg2ColorOpacity",device:t,state:o})&&""!==Object(i.b)({v:e,key:"bg2ImageSrc",device:t,state:o})?.9:"hex"===a&&0===Object(i.b)({v:e,key:"bg2ColorOpacity",device:t,state:o})?Object(i.b)({v:e,key:"tempBg2ColorOpacity",device:t,state:o}):void 0===n?Object(i.b)({v:e,key:"bg2ColorOpacity",device:t,state:o}):n}function Ie({v:e,hex:t,opacity:o,isChanged:n="hex"}){return{borderColorHex:t,borderColorOpacity:o=t!==e.borderColorHex&&0===e.borderColorOpacity?e.tempBorderColorOpacity:o,borderColorPalette:"hex"===n?"":e.borderColorPalette,tempBorderColorOpacity:o>0?o:e.tempBorderColorOpacity,tempBorderColorPalette:"hex"===n?"":e.tempBorderColorPalette,padding:0===o&&0===e.bgColorOpacity?0:o>0?e.tempPadding:e.padding,borderRadiusType:0===o&&0===e.bgColorOpacity?"":o>0?e.tempBorderRadiusType:e.borderRadiusType,fillType:0===o&&0===e.bgColorOpacity?"default":o>0&&0===e.bgColorOpacity?"outline":e.fillType,borderWidth:0===o?0:o>0?e.tempBorderWidth:e.borderWidth,bgColorOpacity:o>0&&e.bgColorOpacity>0?e.tempBgColorOpacity:e.bgColorOpacity,hoverBgColorHex:e.bgColorHex===e.hoverBgColorHex?t:e.hoverBgColorHex,hoverBgColorOpacity:0===o&&0===e.bgColorOpacity?0:e.bgColorOpacity===e.hoverBgColorOpacity?o:e.hoverBgColorOpacity}}function Ne({v:e,palette:t}){return{borderColorPalette:t,tempBorderColorPalette:t,borderColorOpacity:0===e.borderColorOpacity?e.tempBorderColorOpacity:e.borderColorOpacity,padding:e.tempPadding,borderRadiusType:e.tempBorderRadiusType,fillType:0===e.bgColorOpacity?"outline":e.bgColorOpacity>0?"filled":e.fillType,borderWidth:e.tempBorderWidth}}function Ae({v:e,hex:t,opacity:o,isChanged:n}){return{borderColorPalette:"hex"===n?"":e.borderColorPalette,borderColorHex:t,borderColorOpacity:o}}function Ve({v:e,hex:t,opacity:o,isChanged:n="hex"}){return{hoverBorderColorHex:t,hoverBorderColorOpacity:t!==e.hoverBorderColorHex&&0==e.hoverBorderColorOpacity?e.tempHoverBorderColorOpacity:o,hoverBorderColorPalette:"hex"===n?"":e.hoverBorderColorPalette}}function De({v:e,palette:t}){return{hoverBorderColorPalette:t,hoverBorderColorOpacity:0===e.hoverBorderColorOpacity?e.tempHoverBorderColorOpacity:e.hoverBorderColorOpacity}}function $e({v:e,hex:t,opacity:o,isChanged:n}){return{hoverBorderColorPalette:"hex"===n?"":e.hoverBorderColorPalette,hoverBorderColorHex:t,hoverBorderColorOpacity:o}}var Ge=o(17);function Ue({v:e,hex:t,opacity:o,isChanged:n="hex",opacityDragEnd:a=!1}){return{borderColorHex:t,borderColorOpacity:o=t!==e.borderColorHex&&0===e.borderColorOpacity?e.tempBorderColorOpacity:o,tempBorderColorOpacity:o>0&&a?o:e.tempBorderColorOpacity,borderColorPalette:"hex"===n?"":e.borderColorPalette,tempBorderColorPalette:"hex"===n?"":e.tempBorderColorPalette,paddingRL:0===o&&0===e.bgColorOpacity?0:o>0&&!Ge.d?e.tempPaddingRL:e.paddingRL,paddingRight:0===o&&0===e.bgColorOpacity?0:o>0&&!Ge.d?e.tempPaddingRight:e.paddingRight,paddingLeft:0===o&&0===e.bgColorOpacity?0:o>0&&!Ge.d?e.tempPaddingLeft:e.paddingRight,paddingTB:0!==o||0!==e.bgColorOpacity||Ge.d?e.paddingTB:e.tempPaddingTB,paddingTop:0!==o||0!==e.bgColorOpacity||Ge.d?e.paddingTop:e.tempPaddingTop,paddingBottom:0!==o||0!==e.bgColorOpacity||Ge.d?e.paddingBottom:e.tempPaddingBottom,fillType:0===o&&0===e.bgColorOpacity?"default":o>0&&0===e.bgColorOpacity?"outline":e.fillType,borderRadiusType:0===o&&0===e.bgColorOpacity?"":o>0?e.tempBorderRadiusType:e.borderRadiusType,borderWidth:0===o?0:o>0?e.tempBorderWidth:e.borderWidth,bgColorOpacity:o>0&&e.bgColorOpacity>0?e.tempBgColorOpacity:e.bgColorOpacity,hoverBgColorHex:e.bgColorHex===e.hoverBgColorHex?t:e.hoverBgColorHex,hoverBgColorOpacity:0===o&&0===e.bgColorOpacity?0:e.bgColorOpacity===e.hoverBgColorOpacity?o:e.hoverBgColorOpacity}}function Ke({v:e,palette:t}){return{borderColorPalette:t,tempBorderColorPalette:t,borderColorOpacity:0===e.borderColorOpacity?e.tempBorderColorOpacity:e.borderColorOpacity,borderRadiusType:e.tempBorderRadiusType,fillType:0===e.bgColorOpacity?"outline":e.bgColorOpacity>0?"filled":e.fillType,borderWidth:e.tempBorderWidth}}function Ye({v:e,hex:t,opacity:o,isChanged:n="hex"}){return{borderColorPalette:"hex"===n?"":e.borderColorPalette,borderColorHex:t,borderColorOpacity:o}}function qe({v:e,hex:t,opacity:o,isChanged:n="hex"}){return{hoverBorderColorHex:t,hoverBorderColorOpacity:t!==e.hoverBorderColorHex&&0==e.hoverBorderColorOpacity?e.tempHoverBorderColorOpacity:o,hoverBorderColorPalette:"hex"===n?"":e.hoverBorderColorPalette}}function Xe({v:e,palette:t}){return{hoverBorderColorPalette:t,hoverBorderColorOpacity:0===e.hoverBorderColorOpacity?e.tempHoverBorderColorOpacity:e.hoverBorderColorOpacity}}function Ze({v:e,hex:t,opacity:o,isChanged:n="hex"}){return{hoverBorderColorPalette:"hex"===n?"":e.hoverBorderColorPalette,hoverBorderColorHex:t,hoverBorderColorOpacity:o}}function Je({v:e,hex:t,opacity:o,isChanged:n="hex",opacityDragEnd:a=!1}){return{bgColorHex:t,bgColorOpacity:o=t!==e.bgColorHex&&0===e.bgColorOpacity?e.tempBgColorOpacity:o,bgColorPalette:"hex"===n?"":e.bgColorPalette,tempBgColorPalette:"hex"===n?"":e.tempBgColorPalette,tempBgColorOpacity:o>0&&a?o:e.tempBgColorOpacity,borderRadiusType:0===o&&0===e.borderColorOpacity?"":o>0?e.tempBorderRadiusType:e.borderRadiusType,fillType:0===o&&0===e.borderColorOpacity?"default":0===o&&e.borderColorOpacity>0?"outline":o>0?"filled":e.fillType,borderWidth:0===o&&0===e.borderColorOpacity?0:e.borderWidth,borderColorHex:""!==e.bgColorPalette&&e.bgColorPalette===e.borderColorPalette&&"filled"===e.fillType||""===e.bgColorPalette&&e.bgColorHex===e.borderColorHex&&"filled"===e.fillType?t:e.borderColorHex,borderColorPalette:""!==e.bgColorPalette&&e.bgColorPalette===e.borderColorPalette&&"filled"===e.fillType?"":e.borderColorPalette,tempBorderColorPalette:""!==e.bgColorPalette&&e.bgColorPalette===e.borderColorPalette&&"filled"===e.fillType?"":e.tempBorderColorPalette,borderColorOpacity:""===e.bgColorPalette&&e.bgColorHex===e.borderColorHex&&e.bgColorOpacity===e.tempBorderColorOpacity&&"filled"===e.fillType||0===o&&0===e.borderColorOpacity?0:e.borderColorOpacity,hoverBgColorOpacity:0===o&&0===e.borderColorOpacity?0:o>0?e.tempHoverBgColorOpacity:e.hoverBgColorOpacity,hoverBorderColorHex:e.borderColorHex===e.hoverBorderColorHex?t:e.hoverBorderColorHex,hoverBorderColorOpacity:0===o&&0===e.bgColorOpacity?0:e.hoverBorderColorOpacity}}function Qe({v:e,palette:t}){return{bgColorPalette:t,tempBgColorPalette:t,bgColorOpacity:0===e.bgColorOpacity?e.tempBgColorOpacity:e.bgColorOpacity,borderRadiusType:e.tempBorderRadiusType,fillType:"filled",borderColorPalette:""!==e.bgColorPalette&&e.bgColorPalette===e.borderColorPalette&&"filled"===e.fillType||""===e.bgColorPalette&&e.bgColorHex===e.borderColorHex&&"filled"===e.fillType?t:e.borderColorPalette,tempBorderColorPalette:""!==e.bgColorPalette&&e.bgColorPalette===e.borderColorPalette&&"filled"===e.fillType||""===e.bgColorPalette&&e.bgColorHex===e.borderColorHex&&"filled"===e.fillType?t:e.borderColorPalette,hoverBgColorOpacity:e.tempHoverBgColorOpacity}}function et({v:e,hex:t,opacity:o,isChanged:n="hex"}){return"startPointer"===e.gradientActivePointer?{bgColorPalette:"hex"===n?"":e.bgColorPalette,tempBgColorPalette:"hex"===n?"":e.tempBgColorPalette,bgColorHex:t,bgColorOpacity:o}:{gradientColorPalette:"hex"===n?"":e.gradientColorPalette,tempGradientColorPalette:"hex"===n?"":e.tempGradientColorPalette,gradientColorHex:t,gradientColorOpacity:o}}function tt({v:e,hex:t,opacity:o,isChanged:n="hex",opacityDragEnd:a=!1}){return{hoverBgColorHex:t,hoverBgColorOpacity:o=t!==e.hoverBgColorHex&&0===e.hoverBgColorOpacity?e.tempHoverBgColorOpacity:o,tempHoverBgColorOpacity:o>0&&a?o:e.tempHoverBgColorOpacity,hoverBgColorPalette:"hex"===n?"":e.hoverBgColorPalette,tempHoverBgColorPalette:"hex"===n?"":e.tempHoverBgColorPalette,hoverBorderColorHex:""!==e.hoverBgColorPalette&&e.hoverBgColorPalette===e.hoverBorderColorPalette&&"filled"===e.fillType||""===e.hoverBgColorPalette&&e.hoverBgColorHex===e.hoverBorderColorHex&&"filled"===e.fillType?t:e.hoverBorderColorHex,hoverBorderColorPalette:""!==e.hoverBgColorPalette&&e.hoverBgColorPalette===e.hoverBorderColorPalette&&"filled"===e.fillType?"":e.hoverBorderColorPalette,tempHoverBorderColorPalette:""!==e.hoverBgColorPalette&&e.hoverBgColorPalette===e.hoverBorderColorPalette&&"filled"===e.fillType?"":e.tempHoverBorderColorPalette,hoverBorderColorOpacity:""===e.hoverBgColorPalette&&e.hoverBgColorHex===e.hoverBorderColorHex&&e.hoverBgColorOpacity===e.tempHoverBorderColorOpacity&&"filled"===e.fillType?0:e.hoverBorderColorOpacity}}function ot({v:e,palette:t}){return{hoverBgColorPalette:t,hoverBgColorOpacity:0===e.hoverBgColorOpacity?e.tempHoverBgColorOpacity:e.hoverBgColorOpacity,hoverBorderColorPalette:""!==e.hoverBgColorPalette&&e.hoverBgColorPalette===e.hoverBorderColorPalette&&"filled"===e.fillType||""===e.hoverBgColorPalette&&e.hoverBgColorHex===e.hoverBorderColorHex&&"filled"===e.fillType?t:e.hoverBorderColorPalette,tempHoverBorderColorPalette:""!==e.hoverBgColorPalette&&e.hoverBgColorPalette===e.hoverBorderColorPalette&&"filled"===e.fillType||""===e.hoverBgColorPalette&&e.hoverBgColorHex===e.hoverBorderColorHex&&"filled"===e.fillType?t:e.hoverBorderColorPalette}}function nt({v:e,hex:t,opacity:o,isChanged:n="hex"}){return"startPointer"===e.hoverGradientActivePointer?{hoverBgColorPalette:"hex"===n?"":e.hoverBgColorPalette,tempHoverBgColorPalette:"hex"===n?"":e.tempHoverBgColorPalette,hoverBgColorHex:t,hoverBgColorOpacity:o}:{hoverGradientColorPalette:"hex"===n?"":e.hoverGradientColorPalette,tempHoverGradientColorPalette:"hex"===n?"":e.tempHoverGradientColorPalette,hoverGradientColorHex:t,hoverGradientColorOpacity:o}}function at({v:e,hex:t,opacity:o,isChanged:n,opacityDragEnd:a}){return{colorHex:t,colorOpacity:o=t!==e.colorHex&&0==e.colorOpacity?e.tempColorOpacity:o,colorPalette:"hex"===n?"":e.colorPalette,tempColorOpacity:o>0&&a?o:e.tempColorOpacity,hoverColorHex:e.colorHex===e.hoverColorHex?t:e.hoverColorHex,hoverColorOpacity:e.colorOpacity===e.hoverColorOpacity?o:e.hoverColorOpacity}}function rt({v:e,palette:t}){return{colorPalette:t,colorOpacity:0===e.colorOpacity?e.tempColorOpacity:e.colorOpacity}}function it({v:e,hex:t,opacity:o,isChanged:n="hex"}){return{colorPalette:"hex"===n?"":e.colorPalette,colorHex:t,colorOpacity:o}}function lt({v:e,hex:t,opacity:o,isChanged:n="hex"}){return{hoverColorHex:t,hoverColorOpacity:t!==e.hoverColorHex&&0==e.hoverColorOpacity?e.tempHoverColorOpacity:o,hoverColorPalette:"hex"===n?"":e.hoverColorPalette}}function st({v:e,palette:t}){return{hoverColorPalette:t,hoverColorOpacity:0===e.hoverColorOpacity?e.tempHoverColorOpacity:e.hoverColorOpacity}}function ct({v:e,hex:t,opacity:o,isChanged:n="hex"}){return{hoverColorPalette:"hex"===n?"":e.hoverColorPalette,hoverColorHex:t,hoverColorOpacity:o}}function dt({v:e,hex:t,opacity:o,isChanged:n,opacityDragEnd:a}){return{colorHex:t,colorOpacity:o=t!==e.colorHex&&0===e.colorOpacity?e.tempColorOpacity:o,colorPalette:"hex"===n?"":e.colorPalette,tempColorOpacity:o>0&&a?o:e.tempColorOpacity,hoverColorHex:e.colorHex===e.hoverColorHex?t:e.hoverColorHex,hoverColorOpacity:e.colorOpacity===e.hoverColorOpacity?o:e.hoverColorOpacity}}function ut({v:e,palette:t}){return{colorPalette:t,colorOpacity:0===e.colorOpacity?e.tempColorOpacity:e.colorOpacity,hoverColorPalette:e.colorPalette===e.hoverColorPalette?t:e.hoverColorPalette}}function pt({v:e,hex:t,opacity:o,isChanged:n}){return{colorPalette:"hex"===n?"":e.colorPalette,colorHex:t,colorOpacity:o,hoverColorHex:e.colorHex===e.hoverColorHex?t:e.hoverColorHex,hoverColorOpacity:e.colorOpacity===e.hoverColorOpacity?o:e.hoverColorOpacity}}function bt({v:e,hex:t,opacity:o,isChanged:n}){return o=t!==e.colorHex&&0===e.colorOpacity?e.tempColorOpacity:o,{hoverColorHex:t,hoverColorOpacity:t!==e.hoverColorHex&&0===e.hoverColorOpacity?e.tempHoverColorOpacity:o,hoverColorPalette:"hex"===n?"":e.hoverColorPalette}}function mt({v:e,palette:t}){return{hoverColorPalette:t,hoverColorOpacity:0===e.hoverColorOpacity?e.tempHoverColorOpacity:e.hoverColorOpacity}}function ht({v:e,hex:t,opacity:o,isChanged:n}){return{hoverColorPalette:"hex"===n?"":e.hoverColorPalette,hoverColorHex:t,hoverColorOpacity:o}}function gt({v:e,hex:t,opacity:o,isChanged:n,opacityDragEnd:a}){return{mMenuColorHex:t,mMenuColorOpacity:o=t!==e.mMenuColorHex&&0==e.mMenuColorOpacity?e.mMenuTempColorOpacity:o,mMenuColorPalette:"hex"===n?"":e.mMenuColorPalette,mMenuTempColorOpacity:o>0&&a?o:e.mMenuTempColorOpacity,mMenuHoverColorHex:e.mMenuColorHex===e.mMenuHoverColorHex?t:e.mMenuHoverColorHex,mMenuHoverColorOpacity:e.mMenuColorOpacity===e.mMenuHoverColorOpacity?o:e.mMenuHoverColorOpacity}}function vt({v:e,palette:t}){return{mMenuColorPalette:t,mMenuColorOpacity:0===e.mMenuColorOpacity?e.mMenuTempColorOpacity:e.mMenuColorOpacity}}function ft({v:e,hex:t,opacity:o,isChanged:n}){return{mMenuColorPalette:"hex"===n?"":e.mMenuColorPalette,mMenuColorHex:t,mMenuColorOpacity:o}}function yt({v:e,hex:t,opacity:o,isChanged:n}){return{mMenuHoverColorHex:t,mMenuHoverColorOpacity:t!==e.mMenuHoverColorHex&&0==e.mMenuHoverColorOpacity?e.mMenuTempHoverColorOpacity:o,mMenuHoverColorPalette:"hex"===n?"":e.mMenuHoverColorPalette}}function Ot({v:e,palette:t}){return{mMenuHoverColorPalette:t,mMenuHoverColorOpacity:0===e.mMenuHoverColorOpacity?e.mMenuTempHoverColorOpacity:e.mMenuHoverColorOpacity}}function St({v:e,hex:t,opacity:o,isChanged:n}){return{mMenuHoverColorPalette:"hex"===n?"":e.mMenuHoverColorPalette,mMenuHoverColorHex:t,mMenuHoverColorOpacity:o}}function xt({v:e,hex:t,opacity:o,isChanged:n,opacityDragEnd:a}){return{subMenuColorHex:t,subMenuColorOpacity:o=t!==e.subMenuColorHex&&0===e.subMenuColorOpacity?e.subMenuTempColorOpacity:o,subMenuColorPalette:"hex"===n?"":e.subMenuColorPalette,subMenuTempColorOpacity:o>0&&a?o:e.subMenuTempColorOpacity,subMenuHoverColorHex:e.subMenuColorHex===e.subMenuHoverColorHex?t:e.subMenuHoverColorHex,subMenuHoverColorOpacity:e.subMenuColorOpacity===e.subMenuHoverColorOpacity?o:e.subMenuHoverColorOpacity,mMenuColorHex:e.subMenuColorHex===e.mMenuColorHex?t:e.mMenuColorHex,mMenuColorOpacity:e.subMenuColorOpacity===e.mMenuColorOpacity?o:e.mMenuColorOpacity,mMenuHoverColorHex:e.subMenuColorHex===e.mMenuHoverColorHex?t:e.mMenuHoverColorHex,mMenuHoverColorOpacity:e.subMenuColorOpacity===e.mMenuHoverColorOpacity?o:e.mMenuHoverColorOpacity}}function Ct({v:e,palette:t}){return{subMenuColorPalette:t,subMenuColorOpacity:0===e.subMenuColorOpacity?e.subMenuTempColorOpacity:e.subMenuColorOpacity,subMenuHoverColorPalette:e.subMenuColorPalette===e.subMenuHoverColorPalette?t:e.subMenuHoverColorPalette,mMenuColorPalette:e.subMenuColorPalette===e.mMenuColorPalette?t:e.mMenuColorPalette,mMenuHoverColorPalette:e.subMenuColorPalette===e.mMenuHoverColorPalette?t:e.mMenuHoverColorPalette}}function jt({v:e,hex:t,opacity:o,isChanged:n}){return{subMenuColorPalette:"hex"===n?"":e.subMenuColorPalette,subMenuColorHex:t,subMenuColorOpacity:o,subMenuHoverColorHex:e.subMenuColorHex===e.subMenuHoverColorHex?t:e.subMenuHoverColorHex,subMenuHoverColorOpacity:e.subMenuColorOpacity===e.subMenuHoverColorOpacity?t:e.subMenuHoverColorOpacity,mMenuColorHex:e.subMenuColorHex===e.mMenuColorHex?t:e.mMenuBgColorHex,mMenuColorOpacity:e.subMenuColorOpacity===e.mMenuColorOpacity?o:e.mMenuColorOpacity,mMenuHoverColorHex:e.subMenuColorHex===e.mMenuHoverColorHex?t:e.mMenuHoverColorHex,mMenuHoverColorOpacity:e.subMenuColorOpacity===e.mMenuHoverColorOpacity?o:e.mMenuHoverColorOpacity}}function Pt({v:e,hex:t,opacity:o,isChanged:n}){return{subMenuHoverColorHex:t,subMenuHoverColorOpacity:t!==e.subMenuHoverColorHex&&0===e.subMenuHoverColorOpacity?e.subMenuTempHoverColorOpacity:o,subMenuHoverColorPalette:"hex"===n?"":e.subMenuHoverColorPalette,mMenuHoverColorHex:e.subMenuHoverColorHex===e.mMenuHoverColorHex?t:e.mMenuHoverColorHex,mMenuHoverColorOpacity:e.subMenuHoverColorOpacity===e.mMenuHoverColorOpacity?o:e.mMenuHoverColorOpacity}}function Bt({v:e,palette:t}){return{subMenuHoverColorPalette:t,subMenuHoverColorOpacity:0===e.subMenuHoverColorOpacity?e.subMenuTempHoverColorOpacity:e.subMenuHoverColorOpacity,mMenuHoverColorPalette:e.subMenuHoverColorPalette===e.mMenuHoverColorPalette?t:e.mMenuHoverColorPalette}}function wt({v:e,hex:t,opacity:o,isChanged:n}){return{subMenuHoverColorPalette:"hex"===n?"":e.subMenuHoverColorPalette,subMenuHoverColorHex:t,subMenuHoverColorOpacity:o,mMenuHoverColorHex:e.subMenuHoverColorHex===e.mMenuHoverColorHex?t:e.mMenuHoverColorHex,mMenuHoverColorOpacity:e.subMenuHoverColorOpacity===e.mMenuHoverColorOpacity?o:e.mMenuHoverColorOpacity}}function Tt({v:e,hex:t,opacity:o,isChanged:n}){return{mMenuIconColorHex:t,mMenuIconColorOpacity:t!==e.mMenuIconColorHex&&0===e.mMenuIconColorOpacity?e.mMenuTempIconColorOpacity:o,mMenuIconColorPalette:"hex"===n?"":e.mMenuIconColorPalette}}function zt({v:e,palette:t}){return{mMenuIconColorPalette:t,mMenuIconColorHex:"",mMenuIconColorOpacity:0===e.mMenuIconColorOpacity?e.mMenuTempIconColorOpacity:e.mMenuIconColorOpacity}}function Et({v:e,hex:t,opacity:o,isChanged:n}){const a=t!==e.mMenuIconColorHex&&0===e.mMenuIconColorOpacity?e.mMenuTempIconColorOpacity:o;return{mMenuIconColorPalette:"hex"===n?"":e.mMenuIconColorPalette,mMenuIconColorHex:t,mMenuIconColorOpacity:a}}function kt({v:e,hex:t,opacity:o,isChanged:n}){return{tabletMMenuIconColorHex:t,tabletMMenuIconColorOpacity:t!==e.tabletMMenuIconColorHex&&0===e.tabletMMenuIconColorOpacity?e.mMenuTempIconColorOpacity:o,tabletMMenuIconColorPalette:"hex"===n?"":e.tabletMMenuIconColorPalette}}function Ht({v:e,palette:t}){return{tabletMMenuIconColorPalette:t,tabletMMenuIconColorHex:"",tabletMMenuIconColorOpacity:0===e.tabletMMenuIconColorOpacity?e.mMenuTempIconColorOpacity:e.tabletMMenuIconColorOpacity}}function Ft({v:e,hex:t,opacity:o,isChanged:n}){const a=t!==e.tabletMMenuIconColorHex&&0===e.tabletMMenuIconColorOpacity?e.mMenuTempIconColorOpacity:o;return{tabletMMenuIconColorPalette:"hex"===n?"":e.tabletMMenuIconColorPalette,tabletMMenuIconColorHex:t,tabletMMenuIconColorOpacity:a}}function _t({v:e,hex:t,opacity:o,isChanged:n}){return{mobileMMenuIconColorHex:t,mobileMMenuIconColorOpacity:t!==e.mobileMMenuIconColorHex&&0===e.mobileMMenuIconColorOpacity?e.mMenuTempIconColorOpacity:o,mobileMMenuIconColorPalette:"hex"===n?"":e.mobileMMenuIconColorPalette}}function Rt({v:e,palette:t}){return{mobileMMenuIconColorPalette:t,mobileMMenuIconColorHex:"",mobileMMenuIconColorOpacity:0===e.mobileMMenuIconColorOpacity?e.mMenuTempIconColorOpacity:e.mobileMMenuIconColorOpacity}}function Lt({v:e,hex:t,opacity:o,isChanged:n}){const a=t!==e.mobileMMenuIconColorHex&&0===e.mobileMMenuIconColorOpacity?e.mMenuTempIconColorOpacity:o;return{mobileMMenuIconColorPalette:"hex"===n?"":e.mobileMMenuIconColorPalette,mobileMMenuIconColorHex:t,mobileMMenuIconColorOpacity:a}}function Mt({v:e,hex:t,opacity:o,isChanged:n,opacityDragEnd:a}){return{mMenuBgColorHex:t,mMenuBgColorOpacity:o=t!==e.mMenuBgColorHex&&0==e.mMenuBgColorOpacity?e.mMenuTempBgColorOpacity:o,mMenuBgColorPalette:"hex"===n?"":e.mMenuBgColorPalette,mMenuTempBgColorOpacity:o>0&&a?o:e.mMenuTempBgColorOpacity}}function Wt({v:e,palette:t}){return{mMenuBgColorPalette:t,mMenuBgColorOpacity:0===e.mMenuBgColorOpacity?e.mMenuTempBgColorOpacity:e.mMenuBgColorOpacity}}function It({v:e,hex:t,opacity:o,isChanged:n}){return{mMenuBgColorPalette:"hex"===n?"":e.mMenuBgColorPalette,mMenuBgColorHex:t,mMenuBgColorOpacity:o}}function Nt({v:e,hex:t,opacity:o,isChanged:n,opacityDragEnd:a=!1}){return{subMenuBgColorHex:t,subMenuBgColorOpacity:o=t!==e.subMenuBgColorHex&&0===e.subMenuBgColorOpacity?e.subMenuTempBgColorOpacity:o,subMenuBgColorPalette:"hex"===n?"":e.subMenuBgColorPalette,subMenuTempBgColorOpacity:o>0&&a?o:e.subMenuTempBgColorOpacity,subMenuHoverBgColorHex:e.subMenuBgColorHex===e.subMenuHoverBgColorHex?t:e.subMenuHoverBgColorHex,subMenuHoverBgColorOpacity:e.subMenuBgColorOpacity===e.subMenuHoverBgColorOpacity?t:e.subMenuHoverBgColorOpacity,mMenuBgColorHex:e.subMenuBgColorHex===e.mMenuBgColorHex?t:e.mMenuBgColorHex,mMenuBgColorOpacity:e.subMenuBgColorOpacity===e.mMenuBgColorOpacity?o:e.mMenuBgColorOpacity}}function At({v:e,palette:t}){return{subMenuBgColorPalette:t,subMenuBgColorOpacity:0===e.subMenuBgColorOpacity?e.subMenuTempBgColorOpacity:e.subMenuBgColorOpacity,subMenuHoverBgColorPalette:e.subMenuBgColorPalette===e.subMenuHoverBgColorPalette?t:e.subMenuHoverBgColorPalette,mMenuBgColorPalette:e.subMenuBgColorPalette===e.mMenuBgColorPalette?t:e.mMenuBgColorPalette}}function Vt({v:e,hex:t,opacity:o,isChanged:n}){return{subMenuBgColorPalette:"hex"===n?"":e.subMenuBgColorPalette,subMenuBgColorHex:t,subMenuBgColorOpacity:o,subMenuHoverBgColorHex:e.subMenuBgColorHex===e.subMenuHoverBgColorHex?t:e.subMenuHoverBgColorHex,subMenuHoverBgColorOpacity:e.subMenuBgColorOpacity===e.subMenuHoverBgColorOpacity?t:e.subMenuHoverBgColorOpacity,mMenuBgColorHex:e.subMenuBgColorHex===e.mMenuBgColorHex?t:e.mMenuBgColorHex,mMenuBgColorOpacity:e.subMenuBgColorOpacity===e.mMenuBgColorOpacity?o:e.mMenuBgColorOpacity}}function Dt({v:e,hex:t,opacity:o,isChanged:n}){return{subMenuHoverBgColorHex:t,subMenuHoverBgColorOpacity:t!==e.subMenuHoverBgColorHex&&0===e.subMenuHoverBgColorOpacity?e.subMenuTempHoverBgColorOpacity:o,subMenuHoverBgColorPalette:"hex"===n?"":e.subMenuHoverBgColorPalette}}function $t({v:e,palette:t}){return{subMenuHoverBgColorPalette:t,subMenuHoverBgColorOpacity:0===e.subMenuHoverBgColorOpacity?e.subMenuTempHoverBgColorOpacity:e.subMenuHoverBgColorOpacity}}function Gt({v:e,hex:t,opacity:o,isChanged:n}){return{subMenuHoverBgColorPalette:"hex"===n?"":e.subMenuHoverBgColorPalette,subMenuHoverBgColorHex:t,subMenuHoverBgColorOpacity:o}}function Ut({v:e,hex:t,opacity:o,isChanged:n,opacityDragEnd:a}){return{mMenuBorderColorHex:t,mMenuBorderColorOpacity:o=t!==e.mMenuBorderColorHex&&0==e.mMenuBorderColorOpacity?e.mMenuTempBorderColorOpacity:o,mMenuBorderColorPalette:"hex"===n?"":e.mMenuBorderColorPalette,mMenuTempBorderColorOpacity:o>0&&a?o:e.mMenuTempBorderColorOpacity}}function Kt({v:e,palette:t}){return{mMenuBorderColorPalette:t,mMenuBorderColorOpacity:0===e.mMenuBorderColorOpacity?e.mMenuTempBorderColorOpacity:e.mMenuBorderColorOpacity}}function Yt({v:e,hex:t,opacity:o,isChanged:n}){return{mMenuBorderColorPalette:"hex"===n?"":e.mMenuBorderColorPalette,mMenuBorderColorHex:t,mMenuBorderColorOpacity:o}}function qt({v:e,hex:t,opacity:o,isChanged:n,opacityDragEnd:a}){return{subMenuBorderColorHex:t,subMenuBorderColorOpacity:o=t!==e.subMenuBorderColorHex&&0===e.subMenuBorderColorOpacity?e.subMenuTempBorderColorOpacity:o,subMenuBorderColorPalette:"hex"===n?"":e.subMenuBorderColorPalette,subMenuTempBorderColorOpacity:o>0&&a?o:e.subMenuTempBorderColorOpacity,mMenuBorderColorHex:e.subMenuBorderColorHex===e.mMenuBorderColorHex?t:e.mMenuBorderColorHex,mMenuBorderColorOpacity:e.subMenuBorderColorOpacity===e.mMenuBorderColorOpacity?o:e.mMenuBorderColorOpacity}}function Xt({v:e,palette:t}){return{subMenuBorderColorPalette:t,subMenuBorderColorOpacity:0===e.subMenuBorderColorOpacity?e.subMenuTempBorderColorOpacity:e.subMenuBorderColorOpacity,mMenuBorderColorPalette:e.subMenuBorderColorPalette===e.mMenuBorderColorPalette?t:e.mMenuBorderColorPalette}}function Zt({v:e,hex:t,opacity:o,isChanged:n}){return{subMenuBorderColorPalette:"hex"===n?"":e.subMenuBorderColorPalette,subMenuBorderColorHex:t,subMenuBorderColorOpacity:o,mMenuBorderColorHex:e.subMenuBorderColorHex===e.mMenuBorderColorHex?t:e.mMenuBorderColorHex,mMenuBorderColorOpacity:e.subMenuBorderColorOpacity===e.mMenuBorderColorOpacity?o:e.mMenuBorderColorOpacity}}function Jt({v:e,hex:t,opacity:o,isChanged:n}){return{activeSubMenuColorHex:t,activeSubMenuColorOpacity:t!==e.activeSubMenuColorHex&&0===e.activeSubMenuColorOpacity?e.tempActiveSubMenuColorOpacity:o,activeSubMenuColorPalette:"hex"===n?"":e.activeSubMenuColorPalette,activeMMenuColorHex:e.activeSubMenuColorHex===e.activeMMenuColorHex?t:e.activeMMenuColorHex,activeMMenuColorOpacity:e.activeSubMenuColorOpacity===e.activeMMenuColorOpacity?o:e.activeMMenuColorOpacity}}function Qt({v:e,palette:t}){return{activeSubMenuColorPalette:t,activeSubMenuColorOpacity:0===e.activeSubMenuColorOpacity?e.tempActiveSubMenuColorOpacity:e.activeSubMenuColorOpacity,activeMMenuColorPalette:e.activeSubMenuColorPalette===e.activeMMenuColorPalette?t:e.activeMMenuColorPalette}}function eo({v:e,hex:t,opacity:o,isChanged:n}){return{activeSubMenuColorPalette:"hex"===n?"":e.activeSubMenuColorPalette,activeSubMenuColorHex:t,activeSubMenuColorOpacity:o,activeMMenuColorHex:e.activeSubMenuColorHex===e.activeMMenuColorHex?t:e.activeMMenuColorHex,activeMMenuColorOpacity:e.activeSubMenuColorOpacity===e.activeMMenuColorOpacity?o:e.activeMMenuColorOpacity}}function to({v:e,hex:t,opacity:o,isChanged:n}){return{activeSubMenuBgColorHex:t,activeSubMenuBgColorOpacity:t!==e.activeSubMenuBgColorHex&&0===e.activeSubMenuBgColorOpacity?e.tempActiveSubMenuBgColorOpacity:o,activeSubMenuBgColorPalette:"hex"===n?"":e.activeSubMenuBgColorPalette}}function oo({v:e,palette:t}){return{activeSubMenuBgColorPalette:t,activeSubMenuBgColorOpacity:0===e.activeSubMenuBgColorOpacity?e.tempActiveSubMenuBgColorOpacity:e.activeSubMenuBgColorOpacity}}function no({v:e,hex:t,opacity:o,isChanged:n}){return{activeSubMenuBgColorPalette:"hex"===n?"":e.activeSubMenuBgColorPalette,activeSubMenuBgColorHex:t,activeSubMenuBgColorOpacity:o}}function ao({v:e,hex:t,opacity:o,isChanged:n}){return{activeMMenuColorHex:t,activeMMenuColorOpacity:t!==e.activeMMenuColorHex&&0==e.activeMMenuColorOpacity?e.tempActiveMMenuHoverColorOpacity:o,activeMMenuColorPalette:"hex"===n?"":e.activeMMenuColorPalette}}function ro({v:e,palette:t}){return{activeMMenuColorPalette:t,activeMMenuColorOpacity:0===e.activeMMenuColorOpacity?e.tempActiveMMenuHoverColorOpacity:e.activeMMenuColorOpacity}}function io({v:e,hex:t,opacity:o,isChanged:n}){return{activeMMenuColorPalette:"hex"===n?"":e.activeMMenuColorPalette,activeMMenuColorHex:t,activeMMenuColorOpacity:o}}var lo=o(44);function so(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function co(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?so(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):so(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function uo(e,t){const{fontSize:o,fontFamily:n,fontFamilyType:a,lineHeight:r,letterSpacing:i,fontWeight:l}=""===t.fontStyle?t:Object(lo.e)(t.fontStyle);return co({fontSize:o,fontFamily:n,fontFamilyType:a,lineHeight:r,letterSpacing:i,fontWeight:l,fontStyle:""},e)}function po(e,t){const{tabletFontSize:o,tabletLineHeight:n,tabletLetterSpacing:a,tabletFontWeight:r}=""===t.tabletFontStyle?t:Object(lo.e)(t.tabletFontStyle);return co({tabletFontSize:o,tabletLineHeight:n,tabletLetterSpacing:a,tabletFontWeight:r,tabletFontStyle:""},e)}function bo(e,t){const{mobileFontSize:o,mobileLineHeight:n,mobileLetterSpacing:a,mobileFontWeight:r}=""===t.mobileFontStyle?t:Object(lo.e)(t.mobileFontStyle);return co({mobileFontSize:o,mobileLineHeight:n,mobileLetterSpacing:a,mobileFontWeight:r,mobileFontStyle:""},e)}var mo=o(13);function ho(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function go(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ho(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ho(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function vo({v:e,prefix:t="",current:o,value:n,weights:a,type:l,device:s,state:c}){const d=Object(i.a)({key:Object(r.b)(t,"fontStyle"),device:s,state:c}),u=Object(i.a)({key:Object(r.b)(t,"fontFamily"),device:s,state:c}),p=Object(i.a)({key:Object(r.b)(t,"fontFamilyType"),device:s,state:c}),b=Object(i.a)({key:Object(r.b)(t,"fontSize"),device:s,state:c}),m=Object(i.a)({key:Object(r.b)(t,"lineHeight"),device:s,state:c}),h=Object(i.a)({key:Object(r.b)(t,"letterSpacing"),device:s,state:c}),g=Object(i.a)({key:Object(r.b)(t,"fontWeight"),device:s,state:c}),v=Object(mo.e)("fontFamilyType",Object(i.b)({v:e,key:Object(r.b)(t,"fontFamilyType"),device:s,state:c}),Object(i.b)({v:e,key:Object(r.b)(t,"fontStyle"),device:s,state:c})),f=Object(mo.e)("fontFamily",Object(i.b)({v:e,key:Object(r.b)(t,"fontFamily"),device:s,state:c}),Object(i.b)({v:e,key:Object(r.b)(t,"fontStyle"),device:s,state:c})),y=Object(mo.e)("fontSize",Object(i.b)({v:e,key:Object(r.b)(t,"fontSize"),device:s,state:c}),Object(i.b)({v:e,key:Object(r.b)(t,"fontStyle"),device:s,state:c})),O=Object(mo.e)("lineHeight",Object(i.b)({v:e,key:Object(r.b)(t,"lineHeight"),device:s,state:c}),Object(i.b)({v:e,key:Object(r.b)(t,"fontStyle"),device:s,state:c})),S=Object(mo.e)("letterSpacing",Object(i.b)({v:e,key:Object(r.b)(t,"letterSpacing"),device:s,state:c}),Object(i.b)({v:e,key:Object(r.b)(t,"fontStyle"),device:s,state:c})),x=Object(mo.e)("fontWeight",Object(i.b)({v:e,key:Object(r.b)(t,"fontWeight"),device:s,state:c}),Object(i.b)({v:e,key:Object(r.b)(t,"fontStyle"),device:s,state:c}));return go(go(go(go(go({[d]:""},o===u?{[u]:n,[p]:l}:{[u]:f,[p]:v}),o===b?{[b]:n}:{[b]:y}),o===m?{[m]:n}:{[m]:O}),o===h?{[h]:n}:{[h]:S}),o===g?{[g]:n}:o===u?{[g]:Object(lo.l)(x,a)}:{[g]:x})}},,function(e,t,o){"use strict";function n({v:e}){const{tabsState:t}=e;return"tabHover"===t?"hover":"normal"}o.d(t,"ae",(function(){return n})),o.d(t,"wd",(function(){return r})),o.d(t,"k",(function(){return c})),o.d(t,"l",(function(){return d})),o.d(t,"m",(function(){return u})),o.d(t,"g",(function(){return p})),o.d(t,"p",(function(){return h})),o.d(t,"o",(function(){return g})),o.d(t,"q",(function(){return v})),o.d(t,"r",(function(){return S})),o.d(t,"n",(function(){return x})),o.d(t,"t",(function(){return C})),o.d(t,"s",(function(){return j})),o.d(t,"u",(function(){return P})),o.d(t,"B",(function(){return B})),o.d(t,"h",(function(){return T})),o.d(t,"i",(function(){return z})),o.d(t,"j",(function(){return E})),o.d(t,"gd",(function(){return H})),o.d(t,"b",(function(){return F})),o.d(t,"a",(function(){return _})),o.d(t,"c",(function(){return R})),o.d(t,"Ed",(function(){return L})),o.d(t,"Cd",(function(){return M})),o.d(t,"Zd",(function(){return W.f})),o.d(t,"Vd",(function(){return W.b})),o.d(t,"Wd",(function(){return W.c})),o.d(t,"Ud",(function(){return W.a})),o.d(t,"Xd",(function(){return W.d})),o.d(t,"Yd",(function(){return W.e})),o.d(t,"Pb",(function(){return I})),o.d(t,"Ob",(function(){return N})),o.d(t,"Tb",(function(){return A})),o.d(t,"Qb",(function(){return V})),o.d(t,"Rb",(function(){return D})),o.d(t,"Sb",(function(){return $})),o.d(t,"zd",(function(){return G})),o.d(t,"xd",(function(){return U})),o.d(t,"Ad",(function(){return K})),o.d(t,"yd",(function(){return Y})),o.d(t,"Bd",(function(){return q})),o.d(t,"qd",(function(){return X})),o.d(t,"pd",(function(){return Z})),o.d(t,"nd",(function(){return J})),o.d(t,"od",(function(){return Q})),o.d(t,"td",(function(){return ee})),o.d(t,"rd",(function(){return te})),o.d(t,"ud",(function(){return oe})),o.d(t,"sd",(function(){return ne})),o.d(t,"vd",(function(){return ae})),o.d(t,"md",(function(){return re})),o.d(t,"ld",(function(){return ie})),o.d(t,"jd",(function(){return le})),o.d(t,"kd",(function(){return se})),o.d(t,"z",(function(){return de})),o.d(t,"w",(function(){return ue})),o.d(t,"x",(function(){return pe})),o.d(t,"A",(function(){return be})),o.d(t,"v",(function(){return me})),o.d(t,"y",(function(){return he})),o.d(t,"ee",(function(){return ve})),o.d(t,"ce",(function(){return fe})),o.d(t,"de",(function(){return ye})),o.d(t,"fe",(function(){return Oe})),o.d(t,"be",(function(){return Se})),o.d(t,"Qd",(function(){return Ce})),o.d(t,"Pd",(function(){return je})),o.d(t,"Md",(function(){return Pe})),o.d(t,"Nd",(function(){return Be})),o.d(t,"Ld",(function(){return we})),o.d(t,"Od",(function(){return Te})),o.d(t,"Kd",(function(){return ze})),o.d(t,"Jd",(function(){return Ee})),o.d(t,"Gd",(function(){return ke})),o.d(t,"Hd",(function(){return He})),o.d(t,"Fd",(function(){return Fe})),o.d(t,"Id",(function(){return _e})),o.d(t,"Rd",(function(){return Re})),o.d(t,"Sd",(function(){return Le})),o.d(t,"te",(function(){return Ne})),o.d(t,"ne",(function(){return Ve})),o.d(t,"oe",(function(){return De})),o.d(t,"pe",(function(){return $e})),o.d(t,"se",(function(){return Ge})),o.d(t,"qe",(function(){return Ue})),o.d(t,"re",(function(){return Ke})),o.d(t,"ge",(function(){return Ye})),o.d(t,"he",(function(){return qe})),o.d(t,"ie",(function(){return Xe})),o.d(t,"le",(function(){return Ze})),o.d(t,"je",(function(){return Je})),o.d(t,"ke",(function(){return Qe})),o.d(t,"cd",(function(){return et})),o.d(t,"ed",(function(){return tt})),o.d(t,"fd",(function(){return ot})),o.d(t,"dd",(function(){return nt})),o.d(t,"id",(function(){return rt})),o.d(t,"hd",(function(){return it})),o.d(t,"Dd",(function(){return lt})),o.d(t,"Y",(function(){return st})),o.d(t,"W",(function(){return ct})),o.d(t,"X",(function(){return dt})),o.d(t,"Lb",(function(){return ut})),o.d(t,"me",(function(){return pt})),o.d(t,"bb",(function(){return bt})),o.d(t,"db",(function(){return mt})),o.d(t,"cb",(function(){return ht})),o.d(t,"fb",(function(){return gt})),o.d(t,"gb",(function(){return vt})),o.d(t,"hb",(function(){return ft})),o.d(t,"kb",(function(){return yt})),o.d(t,"lb",(function(){return Ot})),o.d(t,"jb",(function(){return St})),o.d(t,"Dc",(function(){return xt})),o.d(t,"zc",(function(){return Ct})),o.d(t,"pc",(function(){return jt})),o.d(t,"wc",(function(){return Pt})),o.d(t,"uc",(function(){return Bt})),o.d(t,"vc",(function(){return wt})),o.d(t,"xc",(function(){return Tt})),o.d(t,"Bc",(function(){return zt})),o.d(t,"Ac",(function(){return Et})),o.d(t,"yc",(function(){return kt})),o.d(t,"Td",(function(){return Ht})),o.d(t,"Cc",(function(){return Ft})),o.d(t,"tc",(function(){return _t})),o.d(t,"sc",(function(){return Rt})),o.d(t,"rc",(function(){return Lt})),o.d(t,"qc",(function(){return Mt})),o.d(t,"sb",(function(){return Wt})),o.d(t,"R",(function(){return It})),o.d(t,"U",(function(){return Nt})),o.d(t,"V",(function(){return At})),o.d(t,"S",(function(){return Vt})),o.d(t,"T",(function(){return Dt})),o.d(t,"ib",(function(){return $t})),o.d(t,"O",(function(){return Gt})),o.d(t,"P",(function(){return Ut})),o.d(t,"J",(function(){return Kt})),o.d(t,"C",(function(){return to})),o.d(t,"I",(function(){return oo})),o.d(t,"G",(function(){return Yt})),o.d(t,"H",(function(){return qt})),o.d(t,"K",(function(){return Xt})),o.d(t,"L",(function(){return Zt})),o.d(t,"F",(function(){return Jt})),o.d(t,"D",(function(){return Qt})),o.d(t,"E",(function(){return eo})),o.d(t,"Q",(function(){return no})),o.d(t,"M",(function(){return ao})),o.d(t,"N",(function(){return ro})),o.d(t,"Kb",(function(){return io})),o.d(t,"Ib",(function(){return lo})),o.d(t,"Jb",(function(){return so})),o.d(t,"eb",(function(){return co})),o.d(t,"Vc",(function(){return uo})),o.d(t,"Wc",(function(){return po})),o.d(t,"Fc",(function(){return bo})),o.d(t,"Ec",(function(){return mo})),o.d(t,"Gc",(function(){return ho})),o.d(t,"nc",(function(){return go})),o.d(t,"oc",(function(){return vo})),o.d(t,"lc",(function(){return fo})),o.d(t,"mc",(function(){return yo})),o.d(t,"gc",(function(){return Oo})),o.d(t,"hc",(function(){return So})),o.d(t,"fc",(function(){return xo})),o.d(t,"jc",(function(){return Co})),o.d(t,"kc",(function(){return jo})),o.d(t,"ic",(function(){return Po})),o.d(t,"Z",(function(){return Bo})),o.d(t,"ab",(function(){return wo})),o.d(t,"Ub",(function(){return To})),o.d(t,"Wb",(function(){return Eo})),o.d(t,"Vb",(function(){return zo})),o.d(t,"Nb",(function(){return ko})),o.d(t,"Mb",(function(){return Ho})),o.d(t,"bd",(function(){return Fo})),o.d(t,"Zc",(function(){return _o})),o.d(t,"Yc",(function(){return Ro})),o.d(t,"Xc",(function(){return Lo})),o.d(t,"ad",(function(){return Mo})),o.d(t,"Sc",(function(){return Wo})),o.d(t,"Jc",(function(){return Io})),o.d(t,"Hc",(function(){return No})),o.d(t,"Ic",(function(){return Ao})),o.d(t,"Oc",(function(){return Vo})),o.d(t,"Pc",(function(){return Do})),o.d(t,"Qc",(function(){return $o})),o.d(t,"Rc",(function(){return Go})),o.d(t,"Mc",(function(){return Uo})),o.d(t,"Lc",(function(){return Ko})),o.d(t,"Nc",(function(){return Yo})),o.d(t,"Kc",(function(){return qo})),o.d(t,"Ab",(function(){return Xo})),o.d(t,"Cb",(function(){return Zo})),o.d(t,"Bb",(function(){return Jo})),o.d(t,"Db",(function(){return Qo})),o.d(t,"Eb",(function(){return en})),o.d(t,"mb",(function(){return tn})),o.d(t,"rb",(function(){return on})),o.d(t,"ob",(function(){return an})),o.d(t,"qb",(function(){return nn})),o.d(t,"pb",(function(){return rn})),o.d(t,"nb",(function(){return ln})),o.d(t,"Fb",(function(){return sn})),o.d(t,"Hb",(function(){return cn})),o.d(t,"Gb",(function(){return dn})),o.d(t,"yb",(function(){return un})),o.d(t,"zb",(function(){return pn})),o.d(t,"wb",(function(){return bn})),o.d(t,"tb",(function(){return mn})),o.d(t,"ub",(function(){return hn})),o.d(t,"vb",(function(){return gn})),o.d(t,"xb",(function(){return vn})),o.d(t,"ec",(function(){return fn})),o.d(t,"Xb",(function(){return jn})),o.d(t,"Yb",(function(){return Pn})),o.d(t,"Zb",(function(){return Cn})),o.d(t,"ac",(function(){return xn})),o.d(t,"bc",(function(){return On})),o.d(t,"cc",(function(){return yn})),o.d(t,"dc",(function(){return Sn})),o.d(t,"f",(function(){return Bn})),o.d(t,"e",(function(){return wn})),o.d(t,"d",(function(){return Tn})),o.d(t,"Uc",(function(){return zn})),o.d(t,"Tc",(function(){return En}));var a=o(3);function r({v:e,device:t}){return Object(a.defaultValueValue)({v:e,key:"media",device:t})}var i=o(71),l=o(51);const s=e=>"svg"===e;function c({v:e,device:t,state:o}){const n=Object(i.i)({v:e,state:o}),r=Object(a.defaultValueValue)({v:e,key:"media",device:t,state:o}),c=Object(a.defaultValueValue)({v:e,key:"bgImageSrc",device:t,state:o}),d=Object(a.defaultValueValue)({v:e,key:"bgImageExtension",device:t,state:o}),u=Object(a.defaultValueValue)({v:e,key:"bgPopulation",device:t,state:o}),p=Object(a.defaultValueValue)({v:e,key:"media",device:t,state:"hover"}),b=Object(a.defaultValueValue)({v:e,key:"bgImageSrc",device:t,state:"hover"}),m=Object(a.defaultValueValue)({v:e,key:"bgImageExtension",device:t,state:"hover"}),h=Object(a.defaultValueValue)({v:e,key:"bgPopulation",device:t,state:"hover"}),g="image"===p&&""!==b&&""===h?`url(${s(m)?Object(l.g)(b):Object(l.d)(b)})`:"none",v="image"===r&&""!==c&&""===u?`url(${s(d)?Object(l.g)(c):Object(l.d)(c)})`:"none";return"hover"===n?g:v}function d({v:e,device:t,state:o}){const n=Object(i.i)({v:e,state:o}),r=Object(a.defaultValueValue)({v:e,key:"bgPopulation",device:t,state:o}),l=Object(a.defaultValueValue)({v:e,key:"bgPositionX",device:t,state:o}),s=Object(a.defaultValueValue)({v:e,key:"bgPopulation",device:t,state:"hover"}),c=Object(a.defaultValueValue)({v:e,key:"bgPositionX",device:t,state:"hover"});return"hover"===n&&""===s?c+"%":""===r?l+"%":0}function u({v:e,device:t,state:o}){const n=Object(i.i)({v:e,state:o}),r=Object(a.defaultValueValue)({v:e,key:"bgPopulation",device:t,state:o}),l=Object(a.defaultValueValue)({v:e,key:"bgPositionY",device:t,state:o}),s=Object(a.defaultValueValue)({v:e,key:"bgPopulation",device:t,state:"hover"}),c=Object(a.defaultValueValue)({v:e,key:"bgPositionY",device:t,state:"hover"});return"hover"===n&&""===s?c+"%":""===r?l+"%":0}function p({v:e,isSlider:t}){const{bgAttachment:o}=e;return{none:"scroll",fixed:"fixed",animated:"scroll"}[t?"none":o]}var b=o(9);const m=(e,t)=>"hover"===Object(i.i)({v:e,state:t})?"hover":t;function h({v:e,device:t,state:o,prefix:n=""}){o=m(e,o);const r=Object(b.b)(n,"borderRadius");return i=Object(b.b)(r,"type"),Object(a.defaultValueValue)({v:e,key:i,device:t,state:o});var i}function g({v:e,device:t,state:o,prefix:n=""}){o=m(e,o);return r=Object(b.b)(n,"borderRadius"),Object(a.defaultValueValue)({v:e,key:r,device:t,state:o});var r}function v({v:e,device:t,state:o,prefix:n="",current:r="topLeft"}){o=m(e,o);const i=Object(b.b)(n,"border");return l=Object(b.b)(i,r+"Radius"),Object(a.defaultValueValue)({v:e,key:l,device:t,state:o});var l}var f=o(16),y=o(13);const O=(e,t)=>"hover"===Object(i.i)({v:e,state:t})?"hover":t;function S({v:e,device:t,state:o,prefix:n=""}){o=O(e,o);const r=Object(b.b)(n,"border");return i=Object(b.b)(r,"style"),Object(a.defaultValueValue)({v:e,key:i,device:t,state:o});var i}function x({v:e,device:t,state:o,prefix:n=""}){o=O(e,o);const r=n=>Object(a.defaultValueValue)({v:e,key:n,device:t,state:o}),i=Object(b.b)(n,"border"),l=Object(b.b)(i,"colorHex"),s=Object(b.b)(i,"colorOpacity"),c=Object(b.b)(i,"colorPalette"),{hex:d}=Object(y.d)(r(l),r(c));return Object(f.c)(d,r(s))}function C({v:e,device:t,state:o,prefix:n=""}){o=O(e,o);const r=Object(b.b)(n,"border");return i=Object(b.b)(r,"widthType"),Object(a.defaultValueValue)({v:e,key:i,device:t,state:o});var i}function j({v:e,device:t,state:o,prefix:n=""}){o=O(e,o);const r=Object(b.b)(n,"border");return i=Object(b.b)(r,"width"),Object(a.defaultValueValue)({v:e,key:i,device:t,state:o});var i}function P({v:e,device:t,state:o,prefix:n="",current:r="top"}){o=O(e,o);const i=Object(b.b)(n,"border"),l=Object(b.b)(i,r+"Width");return s=l,Object(a.defaultValueValue)({v:e,key:s,device:t,state:o});var s}function B({v:e,device:t,state:o,prefix:n="color"}){o=((e,t)=>"hover"===Object(i.i)({v:e,state:t})?"hover":t)(e,o);const r=n=>Object(a.defaultValueValue)({v:e,key:n,device:t,state:o}),{hex:l}=Object(y.d)(r(Object(b.b)(n,"hex")),r(Object(b.b)(n,"palette")));return Object(f.c)(l,r(Object(b.b)(n,"opacity")))}const w=(e,t)=>"hover"===Object(i.i)({v:e,state:t})?"hover":t;function T({v:e,device:t,state:o,prefix:n="bg"}){o=w(e,o);const r=n=>Object(a.defaultValueValue)({v:e,key:n,device:t,state:o}),{hex:i}=Object(y.d)(r(Object(b.b)(n,"colorHex")),r(Object(b.b)(n,"colorPalette")));return Object(f.c)(i,r(Object(b.b)(n,"colorOpacity")))}function z({v:e,device:t,state:o,prefix:n="bg"}){o=w(e,o);const r=n=>Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});return Object(y.d)(r(Object(b.b)(n,"colorHex")),r(Object(b.b)(n,"colorPalette"))).hex}function E({v:e,device:t,state:o}){o=k(e,o);const n=n=>Object(a.defaultValueValue)({v:e,key:n,device:t,state:o}),r=n("bgColorType"),i=n("gradientType"),{hex:l}=Object(y.d)(n("bgColorHex"),n("bgColorPalette")),{hex:s}=Object(y.d)(n("gradientColorHex"),n("gradientColorPalette")),c=n("bgColorOpacity"),d=n("gradientColorOpacity"),u=n("gradientStartPointer"),p=n("gradientFinishPointer"),b=n("gradientLinearDegree"),m=n("gradientRadialDegree");return"gradient"===r?"linear"===i?`linear-gradient(${b}deg, ${Object(f.c)(l,c)} ${u}%, ${Object(f.c)(s,d)} ${p}%)`:`radial-gradient(circle ${m}px, ${Object(f.c)(l,c)} ${u}%, ${Object(f.c)(s,d)} ${p}%)`:"none"}const k=(e,t)=>"hover"===Object(i.i)({v:e,state:t})?"hover":t;function H({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"hoverTransition",device:t,state:o})}function F({v:e,device:t,state:o,prefix:n=""}){const r=(i=Object(b.b)(n,"verticalAlign"),Object(a.defaultValueValue)({v:e,key:i,device:t,state:o}));var i;return void 0===r?r:{top:"flex-start",center:"center",bottom:"flex-end"}[r]}function _({v:e,device:t,state:o}){const n=Object(a.defaultValueValue)({v:e,key:"horizontalAlign",device:t,state:o});return void 0===n?n:{left:"flex-start",center:"center",right:"flex-end"}[n]}function R({v:e,device:t,state:o,prefix:n=""}){return r=Object(b.b)(n,"horizontalAlign"),Object(a.defaultValueValue)({v:e,key:r,device:t,state:o});var r}function L({v:e,device:t}){return Object(a.defaultValueValue)({v:e,key:"reverseColumns",device:t})}function M({v:e,device:t}){return Object(a.defaultValueValue)({v:e,key:"reverseColumns",device:t})}var W=o(157);function I({v:e,device:t,state:o}){return n="containerType",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function N({v:e,device:t,state:o}){return n="containerSize",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function A({v:e}){const{slider:t}=e;return t}function V({v:e,device:t}){return Object(a.defaultValueValue)({v:e,key:"fullHeight",device:t})}function D({v:e,device:t}){return Object(a.defaultValueValue)({v:e,key:"sectionHeight",device:t})}function $({v:e,device:t}){return Object(a.defaultValueValue)({v:e,key:"sectionHeightSuffix",device:t})}function G({v:e,device:t,state:o,prefix:n=""}){const r=Object(b.b)(n,"padding");return i=Object(b.b)(r,"type"),Object(a.defaultValueValue)({v:e,key:i,device:t,state:o});var i}function U({v:e,device:t,state:o,prefix:n=""}){return r=Object(b.b)(n,"padding"),Object(a.defaultValueValue)({v:e,key:r,device:t,state:o});var r}function K({v:e,device:t,state:o,prefix:n="",current:r="paddingTop"}){return i=Object(b.b)(n,r),Object(a.defaultValueValue)({v:e,key:i,device:t,state:o});var i}function Y({v:e,device:t,state:o,prefix:n=""}){const r=Object(b.b)(n,"padding");return i=Object(b.b)(r,"suffix"),Object(a.defaultValueValue)({v:e,key:i,device:t,state:o});var i}function q({v:e,device:t,state:o,prefix:n="",current:r="paddingTopSuffix"}){return i=Object(b.b)(n,r),Object(a.defaultValueValue)({v:e,key:i,device:t,state:o});var i}function X({v:e,device:t}){return Object(a.defaultValueValue)({v:e,key:"itemPaddingTop",device:t})+"px"}function Z({v:e,device:t}){return parseFloat(Object(a.defaultValueValue)({v:e,key:"itemPaddingRight",device:t})/2)+"px"}function J({v:e,device:t}){return Object(a.defaultValueValue)({v:e,key:"itemPaddingBottom",device:t})+"px"}function Q({v:e,device:t}){return parseFloat(Object(a.defaultValueValue)({v:e,key:"itemPaddingLeft",device:t})/2)+"px"}function ee({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"marginType",device:t,state:o})}function te({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"margin",device:t,state:o})}function oe({v:e,device:t,state:o,current:n}){return Object(a.defaultValueValue)({v:e,key:n,device:t,state:o})}function ne({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"marginSuffix",device:t,state:o})}function ae({v:e,device:t,state:o,current:n}){return Object(a.defaultValueValue)({v:e,key:n,device:t,state:o})}function re({v:e,device:t}){return-Object(a.defaultValueValue)({v:e,key:"itemPaddingTop",device:t})+"px"}function ie({v:e,device:t}){return parseFloat(-Object(a.defaultValueValue)({v:e,key:"itemPaddingRight",device:t})/2)+"px"}function le({v:e,device:t}){return-Object(a.defaultValueValue)({v:e,key:"itemPaddingBottom",device:t})+"px"}function se({v:e,device:t}){return parseFloat(-Object(a.defaultValueValue)({v:e,key:"itemPaddingLeft",device:t})/2)+"px"}const ce=(e,t)=>"hover"===Object(i.i)({v:e,state:t})?"hover":t;function de({v:e,device:t,state:o,prefix:n=""}){o=ce(e,o);return r=Object(b.b)(n,"boxShadow"),Object(a.defaultValueValue)({v:e,key:r,device:t,state:o});var r}function ue({v:e,device:t,state:o,prefix:n=""}){o=ce(e,o);const r=n=>Object(a.defaultValueValue)({v:e,key:n,device:t,state:o}),i=Object(b.b)(n,"boxShadow"),l=Object(b.b)(i,"colorHex"),s=Object(b.b)(i,"colorOpacity"),c=Object(b.b)(i,"colorPalette"),{hex:d}=Object(y.d)(r(l),r(c));return Object(f.c)(d,r(s))}function pe({v:e,device:t,state:o,prefix:n=""}){o=ce(e,o);const r=Object(b.b)(n,"boxShadow");return i=Object(b.b)(r,"horizontal"),Object(a.defaultValueValue)({v:e,key:i,device:t,state:o});var i}function be({v:e,device:t,state:o,prefix:n=""}){o=ce(e,o);const r=Object(b.b)(n,"boxShadow");return i=Object(b.b)(r,"vertical"),Object(a.defaultValueValue)({v:e,key:i,device:t,state:o});var i}function me({v:e,device:t,state:o,prefix:n=""}){o=ce(e,o);const r=Object(b.b)(n,"boxShadow");return i=Object(b.b)(r,"blur"),Object(a.defaultValueValue)({v:e,key:i,device:t,state:o});var i}function he({v:e,device:t,state:o,prefix:n=""}){o=ce(e,o);const r=Object(b.b)(n,"boxShadow");return i=Object(b.b)(r,"spread"),Object(a.defaultValueValue)({v:e,key:i,device:t,state:o});var i}const ge=(e,t)=>"hover"===Object(i.i)({v:e,state:t})?"hover":t;function ve({v:e,device:t,state:o,prefix:n=""}){o=ge(e,o);return r=Object(b.b)(n,"textShadow"),Object(a.defaultValueValue)({v:e,key:r,device:t,state:o});var r}function fe({v:e,device:t,state:o,prefix:n=""}){o=ge(e,o);const r=n=>Object(a.defaultValueValue)({v:e,key:n,device:t,state:o}),i=Object(b.b)(n,"textShadow"),l=Object(b.b)(i,"colorHex"),s=Object(b.b)(i,"colorOpacity"),c=Object(b.b)(i,"colorPalette"),{hex:d}=Object(y.d)(r(l),r(c));return Object(f.c)(d,r(s))}function ye({v:e,device:t,state:o,prefix:n=""}){o=ge(e,o);const r=Object(b.b)(n,"textShadow");return i=Object(b.b)(r,"horizontal"),Object(a.defaultValueValue)({v:e,key:i,device:t,state:o});var i}function Oe({v:e,device:t,state:o,prefix:n=""}){o=ge(e,o);const r=Object(b.b)(n,"textShadow");return i=Object(b.b)(r,"vertical"),Object(a.defaultValueValue)({v:e,key:i,device:t,state:o});var i}function Se({v:e,device:t,state:o,prefix:n=""}){o=ge(e,o);const r=Object(b.b)(n,"textShadow");return i=Object(b.b)(r,"blur"),Object(a.defaultValueValue)({v:e,key:i,device:t,state:o});var i}var xe=o(165);function Ce({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"shapeTopType",device:t,state:o})}function je({v:e,device:t,state:o}){const{hex:n}=Object(y.d)(Object(a.defaultValueValue)({v:e,key:"shapeTopColorHex",device:t,state:o}),Object(a.defaultValueValue)({v:e,key:"shapeTopColorPalette",device:t,state:o})),r=Object(a.defaultValueValue)({v:e,key:"shapeTopColorOpacity",device:t,state:o}),i=Object(a.defaultValueValue)({v:e,key:"shapeTopType",device:t,state:o});return Object(xe.b)(i,Object(f.c)(n,r))}function Pe({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"shapeTopHeight",device:t,state:o})}function Be({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"shapeTopHeightSuffix",device:t,state:o})}function we({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"shapeTopHorizontal",device:t,state:o})}function Te({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"shapeTopIndex",device:t,state:o})}function ze({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"shapeBottomType",device:t,state:o})}function Ee({v:e,device:t,state:o}){const{hex:n}=Object(y.d)(Object(a.defaultValueValue)({v:e,key:"shapeBottomColorHex",device:t,state:o}),Object(a.defaultValueValue)({v:e,key:"shapeBottomColorPalette",device:t,state:o})),r=Object(a.defaultValueValue)({v:e,key:"shapeBottomColorOpacity",device:t,state:o}),i=Object(a.defaultValueValue)({v:e,key:"shapeBottomType",device:t,state:o});return Object(xe.b)(i,Object(f.c)(n,r))}function ke({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"shapeBottomHeight",device:t,state:o})}function He({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"shapeBottomHeightSuffix",device:t,state:o})}function Fe({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"shapeBottomHorizontal",device:t,state:o})}function _e({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"shapeBottomIndex",device:t,state:o})}function Re({v:e,device:t,state:o}){let n;return n="desktop"===t?function({v:e}){const t=e.showOnDesktop;return"on"===t||void 0===t?"":"blur(3px)"}({v:e,device:t,state:o}):"tablet"===t?function({v:e}){const t=e.showOnTablet;return"on"===t||void 0===t?"":"blur(3px)"}({v:e,device:t,state:o}):function({v:e}){const t=e.showOnMobile;return"on"===t||void 0===t?"":"blur(3px)"}({v:e,device:t,state:o}),n}function Le({v:e,device:t,state:o}){let n;return n="desktop"===t?function({v:e}){const t=e.showOnDesktop;return"on"===t||void 0===t?1:.9}({v:e,device:t,state:o}):"tablet"===t?function({v:e}){const t=e.showOnTablet;return"on"===t||void 0===t?1:.9}({v:e,device:t,state:o}):function({v:e}){const t=e.showOnMobile;return"on"===t||void 0===t?1:.9}({v:e,device:t,state:o}),n}var Me=o(2),We=o(29);function Ie(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ne(e){return We.b((t="zIndex",Object(a.defaultValueValue)(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ie(Object(o),!0).forEach((function(t){Object(Me.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ie(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({key:t},e))));var t}var Ae=o(44);function Ve({v:e}){const{fontFamily:t,fontFamilyType:o}=e;return void 0===t?t:Object(Ae.d)({family:t,type:o}).family}function De({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"fontSize",device:t,state:o})}function $e({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"fontSizeSuffix",device:t,state:o})}function Ge({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"lineHeight",device:t,state:o})}function Ue({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"fontWeight",device:t,state:o})}function Ke({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"letterSpacing",device:t,state:o})}function Ye({v:e,device:t,state:o,prefix:n=""}){const r=n=>Object(a.defaultValueValue)({v:e,key:n,device:t,state:o}),i=Object(b.b)(n,"fontFamily"),l=Object(b.b)(n,"fontFamilyType"),s=Object(b.b)(n,"fontStyle"),c=Object(y.e)("fontFamily",e[i],r(s)),d=Object(y.e)("fontFamilyType",e[l],r(s));return Object(Ae.d)({type:d,family:c}).family}function qe({v:e,device:t,state:o,prefix:n=""}){const r=n=>Object(a.defaultValueValue)({v:e,key:n,device:t,state:o}),i=Object(b.b)(n,"fontSize"),l=Object(b.b)(n,"fontStyle");return Object(y.e)((s="fontSize",Object(a.defaultValueKey)({key:s,device:t,state:o})),r(i),r(l));var s}function Xe({v:e,device:t,state:o,prefix:n=""}){const r=n=>Object(a.defaultValueValue)({v:e,key:n,device:t,state:o}),i=Object(b.b)(n,"fontSizeSuffix"),l=Object(b.b)(n,"fontStyle");return Object(y.e)((s="fontSizeSuffix",Object(a.defaultValueKey)({key:s,device:t,state:o})),r(i),r(l));var s}function Ze({v:e,device:t,state:o,prefix:n=""}){const r=n=>Object(a.defaultValueValue)({v:e,key:n,device:t,state:o}),i=Object(b.b)(n,"lineHeight"),l=Object(b.b)(n,"fontStyle");return Object(y.e)((s="lineHeight",Object(a.defaultValueKey)({key:s,device:t,state:o})),r(i),r(l));var s}function Je({v:e,device:t,state:o,prefix:n=""}){const r=n=>Object(a.defaultValueValue)({v:e,key:n,device:t,state:o}),i=Object(b.b)(n,"fontWeight"),l=Object(b.b)(n,"fontStyle");return Object(y.e)((s="fontWeight",Object(a.defaultValueKey)({key:s,device:t,state:o})),r(i),r(l));var s}function Qe({v:e,device:t,state:o,prefix:n=""}){const r=n=>Object(a.defaultValueValue)({v:e,key:n,device:t,state:o}),i=Object(b.b)(n,"letterSpacing"),l=Object(b.b)(n,"fontStyle");return Object(y.e)((s="letterSpacing",Object(a.defaultValueKey)({key:s,device:t,state:o})),r(i),r(l));var s}function et({v:e,device:t,state:o,prefix:n=""}){o=at(e,o);return r=Object(b.b)(n,"brightness"),Object(a.defaultValueValue)({v:e,key:r,device:t,state:o});var r}function tt({v:e,device:t,state:o,prefix:n=""}){o=at(e,o);return r=Object(b.b)(n,"hue"),Object(a.defaultValueValue)({v:e,key:r,device:t,state:o});var r}function ot({v:e,device:t,state:o,prefix:n=""}){o=at(e,o);return r=Object(b.b)(n,"saturation"),Object(a.defaultValueValue)({v:e,key:r,device:t,state:o});var r}function nt({v:e,device:t,state:o,prefix:n=""}){o=at(e,o);return r=Object(b.b)(n,"contrast"),Object(a.defaultValueValue)({v:e,key:r,device:t,state:o});var r}const at=(e,t)=>"hover"===Object(i.i)({v:e,state:t})?"hover":t;function rt({v:e,device:t,state:o}){return n="iconSpacing",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function it({v:e,device:t,state:o}){return n="iconCustomSize",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function lt({v:e,device:t}){return Object(a.defaultValueValue)({v:e,key:"reverseColumns",device:t})}function st({v:e,device:t}){return Object(a.defaultValueValue)({v:e,key:"columnsHeightStyle",device:t})}function ct({v:e,device:t}){return Object(a.defaultValueValue)({v:e,key:"columnsHeight",device:t})}function dt({v:e,device:t}){return Object(a.defaultValueValue)({v:e,key:"columnsHeightSuffix",device:t})}function ut({v:e,device:t,state:o}){return n="percentage",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function pt({v:e,device:t,state:o}){const n=Object(y.e)(Object(a.defaultValueKey)({key:"fontSize",device:t,state:o}),Object(a.defaultValueValue)({v:e,key:"fontSize",device:t,state:o}),Object(a.defaultValueValue)({v:e,key:"fontStyle",device:t,state:o}));return`calc(${n}px - ${(e=>e<=24?20:e>24&&e<=32?40:60)(n)}%)`}function bt({v:e,device:t}){return Object(a.defaultValueValue)({v:e,key:"spacing",device:t})+"px"}function mt({v:e,device:t,state:o,prefix:n="strokeColor"}){return B({v:e,device:t,state:o,prefix:n})}function ht({v:e,device:t,state:o,prefix:n="fillColor"}){return B({v:e,device:t,state:o,prefix:n})}function gt({v:e}){const{iconPosition:t}=e;return"right"===t?"row-reverse":"row"}function vt({v:e,device:t}){const{iconPosition:o}=e;return"right"===o?(n="iconSpacing",Object(a.defaultValueValue)({v:e,key:n,device:t}))+"px":"auto";var n}function ft({v:e,device:t}){const{iconPosition:o}=e;return"left"===o?(n="iconSpacing",Object(a.defaultValueValue)({v:e,key:n,device:t}))+"px":"auto";var n}function yt({v:e,device:t}){return Object(a.defaultValueValue)({v:e,key:"gridColumn",device:t})}function Ot({v:e,device:t}){return Object(a.defaultValueValue)({v:e,key:"spacing",device:t})}function St({v:e,device:t}){return Object(a.defaultValueValue)({v:e,key:"filterStyle",device:t})}function xt({v:e,device:t,state:o}){const n=Object(a.defaultValueValue)({v:e,key:"ratio",device:t,state:o});return void 0===n?n:{"1:1":"100%","2:1":"50%","2:3":"150%","3:4":"125%","3:2":"66.67%","4:3":"75%","9:16":"177.78%","16:9":"56.25%","21:9":"42.86%"}[n]}function Ct({v:e,device:t,state:o}){const n=Object(a.defaultValueValue)({v:e,key:"iconSize",device:t,state:o}),r=Math.round(.35*n);return void 0===n?n:r}function jt({v:e,device:t,state:o}){const n=Object(a.defaultValueValue)({v:e,key:"ratio",device:t,state:o});return void 0===n?n:"4:3"===n?"#000":"transparent"}function Pt({v:e,device:t,state:o}){var n;const r=n=>Object(a.defaultValueValue)({v:e,key:n,device:t,state:o}),i=r("coverImageSrc"),s=r("coverImageExtension"),c=null!==(n=r("coverSizeType"))&&void 0!==n?n:"custom";if(void 0!==i)return""===i?"none":(e=>"svg"===e)(s)?`url(${Object(l.g)(i)})`:"custom"===c?`url(${Object(l.d)(i)})`:`url(${Object(l.c)(i,c)})`}function Bt({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"coverPositionX",device:t,state:o})}function wt({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"coverPositionY",device:t,state:o})}function Tt({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"coverZoom",device:t,state:o})}function zt({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"iconSizeWidth",device:t,state:o})}function Et({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"iconSizeHeight",device:t,state:o})}function kt({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"controlsIconCustomSize",device:t,state:o})}function Ht({v:e,device:t,state:o,prefix:n=""}){return r=Object(b.b)(n,"widthSidebar"),Object(a.defaultValueValue)({v:e,key:r,device:t,state:o});var r}function Ft({v:e,device:t,state:o,prefix:n=""}){return r=Object(b.b)(n,"widthImage"),Object(a.defaultValueValue)({v:e,key:r,device:t,state:o});var r}function _t({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"boxShadowColorOpacity",device:t,state:o})}function Rt({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"boxShadowColorHex",device:t,state:o})}function Lt({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"borderColorOpacity",device:t,state:o})}function Mt({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"borderColorHex",device:t,state:o})}function Wt({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"iconCustomSize",device:t,state:o})}function It({v:e,device:t,state:o}){const n=Object(a.defaultValueValue)({v:e,key:"tempBorderRadiusType",device:t,state:o}),r=Object(a.defaultValueValue)({v:e,key:"borderRadius",device:t,state:o});return void 0===n||"hover"===o?void 0:"rounded"===n?500:r}function Nt({v:e,device:t,state:o}){const n=Object(a.defaultValueValue)({v:e,key:"iconPosition",device:t,state:o});return void 0===n?void 0:n}function At({v:e,device:t,state:o}){const n=Nt({v:e,device:t,state:o});return void 0===n?void 0:"left"===n?"row nowrap":"row-reverse nowrap"}function Vt({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"iconCustomSize",device:t,state:o})}function Dt({v:e,device:t,state:o}){const n=Nt({v:e,device:t,state:o}),r=Object(a.defaultValueValue)({v:e,key:"iconSpacing",device:t,state:o});return void 0===n||void 0===r?void 0:r}function $t({v:e,device:t,state:o}){const n=Object(a.defaultValueValue)({v:e,key:"iconCustomSize",device:t,state:o}),r=Object(a.defaultValueValue)({v:e,key:"iconType",device:t,state:o});return void 0===r||void 0===n?void 0:"outline"===r&&n<=24?1:"outline"===r&&n>24&&n<=32?1.1:"outline"===r&&n>32&&n<=48?1.4:"outline"===r&&n>48&&n<=64?2.3:"outline"===r&&n>64?3:0}function Gt({v:e,device:t,state:o}){return n="width",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Ut({v:e,device:t,state:o}){return n="widthSuffix",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Kt({v:e,device:t,state:o}){return"on"===(n="showCloseButton",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o}))?"block":"none";var n}function Yt({v:e,device:t,state:o}){return n="closeHorizontalPosition",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function qt({v:e,device:t,state:o}){return n="closeHorizontalPositionSuffix",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Xt({v:e,device:t,state:o}){return n="closeVerticalPosition",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Zt({v:e,device:t,state:o}){return n="closeVerticalPositionSuffix",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Jt({v:e,device:t,state:o}){return n="closeCustomSize",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Qt({v:e,device:t,state:o}){return n="closeBgSize",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function eo({v:e,device:t,state:o}){return n="closeBorderRadius",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function to({v:e,device:t,state:o}){return n="closeAlign",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function oo({v:e,device:t,state:o}){return n="closePosition",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function no({v:e,device:t,state:o}){return n="columnsHeightStyle",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function ao({v:e,device:t,state:o}){return n="columnsHeight",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function ro({v:e,device:t,state:o}){return n="columnsHeightSuffix",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function io({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"spacing",device:t,state:o})}function lo({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"showPost",device:t,state:o})}function so({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"showSeparation",device:t,state:o})}function co({v:e,device:t,state:o,prefix:n=""}){return r=Object(b.b)(n,"columns"),Object(a.defaultValueValue)({v:e,key:r,device:t,state:o});var r}function uo({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"column",device:t,state:o})}function po({v:e,device:t,state:o}){return Object(a.defaultValueValue)({v:e,key:"spacing",device:t,state:o})}function bo({v:e,device:t,state:o}){return n="spacing",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function mo({v:e,device:t,state:o}){return n="between",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function ho({v:e,device:t,state:o}){return n="style",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function go({v:e,device:t,state:o}){return n="width",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function vo({v:e,device:t,state:o}){return n="widthSuffix",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function fo({v:e,device:t,state:o}){return n="tabsCount",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function yo({v:e,device:t,state:o}){return n="verticalMode",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Oo({v:e,device:t,state:o}){return n="customSize",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function So({v:e,device:t,state:o}){return n="iconPadding",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function xo({v:e,device:t,state:o}){return n="enableText",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Co({v:e,device:t,state:o}){return n="spacing",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function jo({v:e,device:t,state:o}){return n="timelineStyle",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Po({v:e,device:t,state:o}){return n="verticalMode",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Bo({v:e,device:t,state:o="normal"}){return Object(a.defaultValueValue)({v:e,key:"logoSize",device:t,state:o})}function wo({v:e,device:t,state:o="normal"}){return Object(a.defaultValueValue)({v:e,key:"skin",device:t,state:o})}function To({v:e,device:t,state:o}){return n="navStyle2Size",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function zo({v:e,device:t,state:o}){return n="spacing",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Eo({v:e,device:t,state:o}){return n="navStyle1Width",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function ko({v:e,device:t,state:o}){return n="openButtonWidth",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Ho({v:e,device:t,state:o}){return n="openButtonHeight",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Fo({v:e,device:t}){return Object(a.defaultValueValue)({v:e,key:"large",device:t})}function _o({v:e,device:t,state:o}){return n="elementType",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Ro({v:e,device:t,state:o}){return n="topSpacing",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Lo({v:e,device:t,state:o}){return n="rightSpacing",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Mo({v:e,device:t,state:o}){return n="ratingSize",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Wo({v:e,device:t,state:o}){return n="subtotal",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Io({v:e,device:t,state:o}){return n="purchases",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function No({v:e,device:t,state:o}){return n="buttonDirection",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Ao({v:e,device:t,state:o}){return n="buttonSpacing",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Vo({v:e,device:t,state:o}){return n="cartHorizontalAlign",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Do({v:e,device:t,state:o}){return n="cartVerticalAlign",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function $o({v:e,device:t,state:o}){return n="sidebarWidth",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Go({v:e,device:t,state:o}){return n="sidebarWidthSuffix",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Uo({v:e,device:t,state:o}){return n="sidebarHeightStyle",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Ko({v:e,device:t,state:o}){return n="sidebarHeight",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Yo({v:e,device:t,state:o}){return n="sidebarHeightSuffix",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function qo({v:e,device:t,state:o}){return n="purchasesType",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Xo({v:e,device:t,state:o}){return n="iconPosition",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Zo({v:e,device:t,state:o}){return n="iconSpacing",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Jo({v:e,device:t,state:o}){return n="iconSize",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Qo({v:e,device:t,state:o}){return n="verticalMode",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function en({v:e,device:t,state:o}){return n="menuSize",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function tn({v:e,device:t,state:o}){return n="mMenu",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function on({v:e,device:t,state:o}){return n="mMenuSize",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function nn({v:e,device:t,state:o}){return n="mMenuIconSpacing",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function an({v:e,device:t,state:o}){return n="mMenuIconPosition",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function rn({v:e,device:t,state:o}){return n="mMenuIconSize",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function ln({v:e,device:t,state:o}){const n=n=>Object(a.defaultValueValue)({v:e,key:n,device:t,state:o}),{hex:r}=Object(y.d)(n("mMenuHoverColorHex"),n("mMenuHoverColorPalette"));return Object(f.c)(r,n("mMenuHoverColorOpacity"))}function sn({v:e,device:t,state:o}){return n="subMenuIconPosition",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function cn({v:e,device:t,state:o}){return n="subMenuIconSpacing",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function dn({v:e,device:t,state:o}){return n="subMenuIconSize",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function un({v:e,device:t,state:o}){return n="megaMenuWidth",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function pn({v:e,device:t,state:o}){return n="megaMenuWidthSuffix",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function bn({v:e,device:t,state:o}){return n="megaMenuOffsetTop",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function mn({v:e,device:t,state:o}){return n="sectionHeight",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function hn({v:e,device:t,state:o}){return n="sectionHeightStyle",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function gn({v:e,device:t,state:o}){return n="sectionHeightSuffix",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function vn({v:e,device:t,state:o}){return n="megaMenuPlacement",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function fn({v:e,device:t,state:o}){return n="width",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function yn({v:e,device:t,state:o}){return n="iconCustomSize",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function On({v:e,device:t,state:o}){return n="iconPosition",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Sn({v:e,device:t,state:o}){return n="iconSpacing",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function xn({v:e,device:t,state:o}){return n="horizontalAlign",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Cn({v:e,device:t,state:o}){return n="columns",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function jn({v:e,device:t,state:o}){return n="tableAside",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Pn({v:e,device:t,state:o}){return n="asideWidth",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Bn({v:e,device:t,state:o}){return n="animationName",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function wn({v:e,device:t,state:o}){return n="animationDuration",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function Tn({v:e,device:t,state:o}){return n="animationDelay",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function zn({v:e,device:t,state:o}){return n="spacing",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function En({v:e,device:t,state:o}){return n="betweenThumbnail",Object(a.defaultValueValue)({v:e,key:n,device:t,state:o});var n}},function(e,t,o){"use strict";o.d(t,"c",(function(){return a})),o.d(t,"b",(function(){return r})),o.d(t,"a",(function(){return i})),o.d(t,"f",(function(){return l})),o.d(t,"d",(function(){return c})),o.d(t,"e",(function(){return d})),o.d(t,"g",(function(){return u}));var n=o(24);const a="normal",r="hover",i="active",l=()=>[a,r,i],s=e=>{const t=n.a.read(e);if(void 0===t)return;const o="tabNormal"===t?a:"tabHover"===t?r:t;return l().includes(o)?o:void 0},c=a,d=e=>{var t;return null!==(t=s(e))&&void 0!==t?t:c},u=e=>{switch(e){case a:return"tabNormal";case r:return"tabHover";default:return e}}},,,function(e,t,o){"use strict";o.d(t,"h",(function(){return n})),o.d(t,"f",(function(){return a})),o.d(t,"c",(function(){return r})),o.d(t,"b",(function(){return i})),o.d(t,"a",(function(){return l})),o.d(t,"g",(function(){return s})),o.d(t,"e",(function(){return c})),o.d(t,"d",(function(){return d}));o(76);const n=(e,t)=>"string"==typeof e?e:t,a=(e,t)=>n(e)||t,r=e=>e&&e[0].toUpperCase()+e.slice(1),i=(e,t)=>""===e?t:e+r(t),l=e=>e.reduce(i,""),s=(e,...t)=>{let o=0;return e.replace(/%s/g,()=>t[o++])},c=e=>encodeURIComponent(JSON.stringify(e)),d=e=>JSON.parse(decodeURIComponent(e))},function(e,t,o){"use strict";o.r(t),o.d(t,"renderStyles",(function(){return b})),o.d(t,"parseOutputCss",(function(){return h})),o.d(t,"css",(function(){return v})),o.d(t,"css1",(function(){return f})),o.d(t,"clearCache",(function(){return y})),o.d(t,"tmpCSSFromCache",(function(){return O})),o.d(t,"replacePlaceholders",(function(){return S})),o.d(t,"cssStyleSizeWidthPercent",(function(){return H})),o.d(t,"cssStyleSizeWidthPx",(function(){return F})),o.d(t,"cssStyleSizeMaxWidthPercent",(function(){return R})),o.d(t,"cssStyleSizeWidthStoryOnly",(function(){return _})),o.d(t,"cssStyleSizeHeightPx",(function(){return L})),o.d(t,"cssStyleSizeMinHeightPx",(function(){return M})),o.d(t,"cssStyleSizeMaxWidthSize",(function(){return W})),o.d(t,"cssStyleSizeSizePercent",(function(){return I})),o.d(t,"cssStyleSizeMaxWidthContainer",(function(){return V})),o.d(t,"cssStyleSizeTextSpacing",(function(){return $})),o.d(t,"cssStyleSizeSpacing",(function(){return D})),o.d(t,"cssStyleSizeHeightPxOnly",(function(){return G})),o.d(t,"cssStyleSizeHeightPercentOnly",(function(){return U})),o.d(t,"cssStyleSizeSize",(function(){return N})),o.d(t,"cssStyleSizeWidth",(function(){return A})),o.d(t,"cssStyleElementLineBorder",(function(){return K})),o.d(t,"cssStyleTypographyElementCountdownLabelFontSize",(function(){return ae})),o.d(t,"cssStyleNumberTypography2FontFamily",(function(){return le})),o.d(t,"cssStyleNumberTypography2FontSize",(function(){return se})),o.d(t,"cssStyleNumberTypography2LetterSpacing",(function(){return ue})),o.d(t,"cssStyleNumberTypography2FontWeight",(function(){return de})),o.d(t,"cssStyleNumberTypography2LineHeight",(function(){return ce})),o.d(t,"cssStyleTitleTypography2FontFamily",(function(){return pe})),o.d(t,"cssStyleTitleTypography2FontSize",(function(){return be})),o.d(t,"cssStyleTitleTypography2LetterSpacing",(function(){return ge})),o.d(t,"cssStyleTitleTypography2FontWeight",(function(){return he})),o.d(t,"cssStyleTitleTypography2LineHeight",(function(){return me})),o.d(t,"cssStyleMessageTypography2FontFamily",(function(){return ve})),o.d(t,"cssStyleMessageTypography2FontSize",(function(){return fe})),o.d(t,"cssStyleMessageTypography2LetterSpacing",(function(){return Se})),o.d(t,"cssStyleMessageTypography2FontWeight",(function(){return Oe})),o.d(t,"cssStyleMessageTypography2LineHeight",(function(){return ye})),o.d(t,"cssStyleElementCountDown2NumberColor",(function(){return xe})),o.d(t,"cssStyleElementCountDown2TitleColor",(function(){return Ce})),o.d(t,"cssStyleElementCountDown2MessageColor",(function(){return je})),o.d(t,"cssStyleElementCountDown2SpacingLeft",(function(){return re})),o.d(t,"cssStyleElementCountDown2SpacingRight",(function(){return ie})),o.d(t,"cssStyleElementCountDown2HoverTransitionProperty",(function(){return Pe})),o.d(t,"cssStyleElementCounterChartEnd",(function(){return Be})),o.d(t,"cssStyleElementCounterChartWidth",(function(){return we})),o.d(t,"cssStyleElementCounterFillColor",(function(){return Te})),o.d(t,"cssStyleElementCounterStrokeColor",(function(){return ze})),o.d(t,"cssStyleElementCounterTransitionHoverProperty",(function(){return Ee})),o.d(t,"cssStyleElementIconBoxFlexDirection",(function(){return ke})),o.d(t,"cssStyleElementIconBoxMarginRight",(function(){return He})),o.d(t,"cssStyleElementIconBoxMarginLeft",(function(){return Fe})),o.d(t,"cssStyleElementProtectedPageAutocompleteColor",(function(){return _e})),o.d(t,"cssStyleElementProtectedPagePropertyHoverTransition",(function(){return Re})),o.d(t,"cssStyleElementProtectedPageInputWidth",(function(){return Le})),o.d(t,"cssStyleElementProtectedPageInputSpacing",(function(){return Me})),o.d(t,"cssStyleElementProtectedPageInputHeight",(function(){return We})),o.d(t,"cssStyleBorder",(function(){return Ie})),o.d(t,"cssStyleBorderTransparentColor",(function(){return Ne})),o.d(t,"cssStyleElementImageGallery3FontFamily",(function(){return tt})),o.d(t,"cssStyleElementImageGallery3FontSize",(function(){return ot})),o.d(t,"cssStyleElementImageGallery3LineHeight",(function(){return nt})),o.d(t,"cssStyleElementImageGallery3FontWeight",(function(){return at})),o.d(t,"cssStyleElementImageGallery3LetterSpacing",(function(){return rt})),o.d(t,"cssStyleElementImageGalleryWidth",(function(){return Ve})),o.d(t,"cssStyleElementImageGalleryMargin",(function(){return De})),o.d(t,"cssStyleElementImageGalleryItemWidth",(function(){return $e})),o.d(t,"cssStyleElementImageGalleryItemPadding",(function(){return Ge})),o.d(t,"cssStyleElementImageGalleryFilterSpacing",(function(){return Ue})),o.d(t,"cssStyleElementImageGalleryFilterAfterSpacing",(function(){return Ke})),o.d(t,"cssStyleElementImageGalleryFilterHorizontalAlign",(function(){return Ye})),o.d(t,"cssStyleElementImageGalleryPaddingFourFields",(function(){return qe})),o.d(t,"cssStyleElementImageGalleryBorderRadius",(function(){return et})),o.d(t,"cssStyleElementImageGalleryFilterColor",(function(){return Xe})),o.d(t,"cssStyleElementImageGalleryFilterBgColor",(function(){return Ze})),o.d(t,"cssStyleElementImageGalleryFilterBoxShadow",(function(){return Je})),o.d(t,"cssStyleElementImageGalleryFilterBorder",(function(){return Qe})),o.d(t,"cssStyleElementImageGalleryFilterActiveColor",(function(){return it})),o.d(t,"cssStyleElementImageGalleryFilterActiveBgColor",(function(){return lt})),o.d(t,"cssStyleElementImageGalleryFilterActiveBorder",(function(){return st})),o.d(t,"cssStyleElementImageGalleryFilterActiveShadow",(function(){return ct})),o.d(t,"cssStyleBorderRadius",(function(){return Ae})),o.d(t,"cssStyleBgColor",(function(){return dt})),o.d(t,"cssStyleBgColorHex",(function(){return ut})),o.d(t,"cssStyleBg2Color",(function(){return pt})),o.d(t,"cssStyleBgGradient",(function(){return bt})),o.d(t,"cssStyleBgImage",(function(){return mt})),o.d(t,"cssStyleBgImageHover",(function(){return ht})),o.d(t,"cssStyleBgMediaImage",(function(){return gt})),o.d(t,"cssStyleBgImagePosition",(function(){return vt})),o.d(t,"cssStyleBgImageAttachment",(function(){return ft})),o.d(t,"cssStyleBgMediaMap",(function(){return yt})),o.d(t,"cssStyleBgMediaVideo",(function(){return Ot})),o.d(t,"cssStyleColor",(function(){return St})),o.d(t,"cssStyleLabelColor",(function(){return xt})),o.d(t,"cssStyleBoxShadow",(function(){return jt})),o.d(t,"cssStyleBoxShadowSuffixForGlamour",(function(){return Ct})),o.d(t,"cssStyleBoxShadowSection",(function(){return Pt})),o.d(t,"cssStyleTextShadow",(function(){return Bt})),o.d(t,"cssStyleShapeTopType",(function(){return wt})),o.d(t,"cssStyleShapeTopHeight",(function(){return Tt})),o.d(t,"cssStyleShapeTopFlip",(function(){return zt})),o.d(t,"cssStyleShapeTopIndex",(function(){return Et})),o.d(t,"cssStyleShapeBottomType",(function(){return kt})),o.d(t,"cssStyleShapeBottomHeight",(function(){return Ht})),o.d(t,"cssStyleShapeBottomFlip",(function(){return Ft})),o.d(t,"cssStyleShapeBottomIndex",(function(){return _t})),o.d(t,"cssStyleHoverTransition",(function(){return Rt})),o.d(t,"cssStylePropertyHoverTransition",(function(){return Lt})),o.d(t,"cssStyleTypographyFontFamily",(function(){return Mt})),o.d(t,"cssStyleTypographyFontSize",(function(){return Wt})),o.d(t,"cssStyleTypographyLineHeight",(function(){return It})),o.d(t,"cssStyleTypographyFontWeight",(function(){return Nt})),o.d(t,"cssStyleTypographyLetterSpacing",(function(){return At})),o.d(t,"cssStyleTypography2FontFamily",(function(){return Y})),o.d(t,"cssStyleTypography2FontSize",(function(){return q})),o.d(t,"cssStyleTypography2LineHeight",(function(){return X})),o.d(t,"cssStyleTypography2FontWeight",(function(){return Z})),o.d(t,"cssStyleTypography2LetterSpacing",(function(){return J})),o.d(t,"cssStyleTypography3FontFamily",(function(){return Q})),o.d(t,"cssStyleTypography3FontSize",(function(){return ee})),o.d(t,"cssStyleTypography3LineHeight",(function(){return te})),o.d(t,"cssStyleTypography3FontWeight",(function(){return oe})),o.d(t,"cssStyleTypography3LetterSpacing",(function(){return ne})),o.d(t,"cssStyleElementProgressBarPadding",(function(){return Vt})),o.d(t,"cssStyleSizeProgressBarMaxWidthPercent",(function(){return Dt})),o.d(t,"cssStyleElementProgressBarPropertyHoverTransition",(function(){return $t})),o.d(t,"cssStyleElementRichTextMartinTop",(function(){return Zt})),o.d(t,"cssStyleElementRichTextMartinBottom",(function(){return Jt})),o.d(t,"cssStyleElementRichTextGradient",(function(){return Qt})),o.d(t,"cssStyleElementRichTextFontSize",(function(){return eo})),o.d(t,"cssStyleElementRichTextBgImage",(function(){return to})),o.d(t,"cssStyleElementRichTextFontFamily",(function(){return oo})),o.d(t,"cssStyleElementRichTextColor",(function(){return no})),o.d(t,"cssStyleElementButtonBorderRadius",(function(){return ao})),o.d(t,"cssStyleElementButtonIconPosition",(function(){return ro})),o.d(t,"cssStyleElementButtonIconFontSize",(function(){return io})),o.d(t,"cssStyleElementButtonIconMargin",(function(){return lo})),o.d(t,"cssStyleElementIconStrokeWidth",(function(){return so})),o.d(t,"cssStyleElementButtonPropertyHoverTransition",(function(){return co})),o.d(t,"cssStyleElementButtonPropertyContentAlign",(function(){return uo})),o.d(t,"cssStyleElementFacebookButtonPropertyHoverTransition",(function(){return po})),o.d(t,"cssStyleElementFacebookCommentsPropertyHoverTransition",(function(){return bo})),o.d(t,"cssStyleElementFacebookEmbedPropertyHoverTransition",(function(){return mo})),o.d(t,"cssStyleElementFacebookGroupPropertyHoverTransition",(function(){return ho})),o.d(t,"cssStyleElementFacebookPagePropertyHoverTransition",(function(){return go})),o.d(t,"cssStyleElementMapPropertyHoverTransition",(function(){return vo})),o.d(t,"cssStyleElementMapPropertyPositionFixed",(function(){return fo})),o.d(t,"cssStyleElementSoundCloudPropertyHoverTransition",(function(){return yo})),o.d(t,"cssStyleContainerPopup2ContainerWidth",(function(){return Oo})),o.d(t,"cssStyleContainerPopup2CloseState",(function(){return So})),o.d(t,"cssStyleContainerPopup2ClosePosition",(function(){return wo})),o.d(t,"cssStyleContainerPopup2CloseFontSize",(function(){return Co})),o.d(t,"cssStyleContainerPopup2CloseBgSize",(function(){return jo})),o.d(t,"cssStyleContainerPopup2CloseBorderRadius",(function(){return Po})),o.d(t,"cssStyleContainerPopup2CloseColor",(function(){return xo})),o.d(t,"cssStyleContainerPopup2CloseBgColor",(function(){return Bo})),o.d(t,"cssStyleContainerPopup2RowFlexVerticalAlign",(function(){return To})),o.d(t,"cssStyleContainerPopup2CustomHeight",(function(){return zo})),o.d(t,"cssStyleContainerPopup2CustomHeightOverflow",(function(){return Eo})),o.d(t,"cssStyleContainerPopup2Custom2Height100",(function(){return ko})),o.d(t,"cssStyleContainerPopup2Custom2MaxHeight100",(function(){return Ho})),o.d(t,"cssStyleZIndex",(function(){return Fo})),o.d(t,"cssStyleZIndexStory",(function(){return _o})),o.d(t,"cssStyleFlexVerticalAlign",(function(){return Ro})),o.d(t,"cssStyleFlexColumnVerticalAlign",(function(){return Io})),o.d(t,"cssStyleFlexHorizontalAlign",(function(){return Lo})),o.d(t,"cssStyleContentAlign",(function(){return Mo})),o.d(t,"cssStyleMarginAlign",(function(){return Wo})),o.d(t,"cssStyleExcerptAlign",(function(){return No})),o.d(t,"cssStyleFlexColumn",(function(){return Ao})),o.d(t,"cssStylePadding",(function(){return Ko})),o.d(t,"cssStylePaddingFourFields",(function(){return Vo})),o.d(t,"cssStylePaddingPreview",(function(){return Do})),o.d(t,"cssStylePaddingTopForEditorResizer",(function(){return $o})),o.d(t,"cssStylePaddingBottomForEditorResizer",(function(){return Go})),o.d(t,"cssStylePaddingRightLeftForEditor",(function(){return Uo})),o.d(t,"cssStyleItemPadding",(function(){return Yo})),o.d(t,"cssStyleMargin",(function(){return qo})),o.d(t,"cssStyleItemMargin",(function(){return Xo})),o.d(t,"cssStyleDisplayFlex",(function(){return Zo})),o.d(t,"cssStyleDisplayInlineFlex",(function(){return Jo})),o.d(t,"cssStyleDisplayBlock",(function(){return Qo})),o.d(t,"cssStyleVisible",(function(){return en})),o.d(t,"cssStyleVisibleEditorDisplayNoneOrFlex",(function(){return tn})),o.d(t,"cssStyleVisibleEditorDisplayNoneOrBlock",(function(){return nn})),o.d(t,"cssStyleVisibleEditorDisplayNoneOrInlineFlex",(function(){return on})),o.d(t,"cssStyleVisibleMode",(function(){return an})),o.d(t,"cssStyleShowMembershipBlock",(function(){return ln})),o.d(t,"cssStyleShowMembershipFlex",(function(){return sn})),o.d(t,"cssStyleFilter",(function(){return dn})),o.d(t,"cssStyleFilterSuffixForGlamour",(function(){return cn})),o.d(t,"cssStyleElementVideoPaddingRatio",(function(){return un})),o.d(t,"cssStyleElementVideoFilter",(function(){return pn})),o.d(t,"cssStyleElementVideoIframeFix",(function(){return mn})),o.d(t,"cssStyleElementVideoBgSize",(function(){return bn})),o.d(t,"cssStyleElementVideoIconFontSize",(function(){return hn})),o.d(t,"cssStyleElementVideoIconWidth",(function(){return gn})),o.d(t,"cssStyleElementVideoIconHeight",(function(){return vn})),o.d(t,"cssStyleElementVideoControlsIconFontSize",(function(){return jn})),o.d(t,"cssStyleElementVideoBgColorRatio",(function(){return fn})),o.d(t,"cssStyleElementVideoCoverSrc",(function(){return yn})),o.d(t,"cssStyleElementVideoCoverPosition",(function(){return On})),o.d(t,"cssStyleElementVideoPropertyHoverTransition",(function(){return Sn})),o.d(t,"cssStyleVideoControlsBgColor",(function(){return xn})),o.d(t,"cssStyleVideoIconControls",(function(){return Cn})),o.d(t,"cssStyleElementVideoPlaylistSubTitleVideoTypography2FontFamily",(function(){return Pn})),o.d(t,"cssStyleElementVideoPlaylistSubTitleVideoTypography2FontSize",(function(){return Bn})),o.d(t,"cssStyleElementVideoPlaylistSubTitleVideoTypography2LineHeight",(function(){return wn})),o.d(t,"cssStyleElementVideoPlaylistSubTitleVideoTypography2FontWeight",(function(){return Tn})),o.d(t,"cssStyleElementVideoPlaylistSubTitleVideoTypography2LetterSpacing",(function(){return zn})),o.d(t,"cssStyleElementVideoPlaylistBorderItem",(function(){return Hn})),o.d(t,"cssStyleElementVideoPlaylistGridItemWidth",(function(){return _n})),o.d(t,"cssStyleSizeWidthPixel",(function(){return En})),o.d(t,"cssStyleElementVideoPlaylistImageSize",(function(){return kn})),o.d(t,"cssStyleSizeWidthVideoBlock",(function(){return Fn})),o.d(t,"cssStyleBgIconCoverColor",(function(){return Mn})),o.d(t,"cssStyleCoverIconColor",(function(){return Rn})),o.d(t,"cssStyleCoverSubTitleColor",(function(){return Ln})),o.d(t,"cssStyleElementVideoPlaylistItemActiveBg",(function(){return Wn})),o.d(t,"cssStyleElementVideoPlaylistBorderItemActive",(function(){return In})),o.d(t,"cssStyleElementVideoPlaylistItemActiveColor",(function(){return Nn})),o.d(t,"cssStyleElementVideoPlaylistItemSubtitleActiveColor",(function(){return An})),o.d(t,"cssStyleElementMediaIconFontSize",(function(){return Vn})),o.d(t,"cssStyleElementMediaPadding",(function(){return Dn})),o.d(t,"cssStyleRowMinHeight",(function(){return $n})),o.d(t,"cssStyleRowReverseColumn",(function(){return Gn})),o.d(t,"cssStylePosition",(function(){return Jn})),o.d(t,"cssStylePositionMode",(function(){return Qn})),o.d(t,"cssStyleCustomPosition",(function(){return ea})),o.d(t,"cssStyleCustomWidth",(function(){return ta})),o.d(t,"cssStyleOffset",(function(){return oa})),o.d(t,"cssStyleIconSpacing",(function(){return na})),o.d(t,"cssStyleIconSize",(function(){return aa})),o.d(t,"cssStyleSectionMaxWidth",(function(){return la})),o.d(t,"cssStyleSectionSliderHeight",(function(){return sa})),o.d(t,"cssStyleSectionColorDots",(function(){return ca})),o.d(t,"cssStyleSectionColorArrows",(function(){return da})),o.d(t,"cssStyleSectionPropertyHoverTransition",(function(){return ua})),o.d(t,"cssStyleSectionToolbarOffset",(function(){return pa})),o.d(t,"cssStyleSectionHeightStyle",(function(){return ba})),o.d(t,"cssStyleSectionPaddingsForEditorResize",(function(){return ma})),o.d(t,"cssStyleSectionPopupContainerWrap",(function(){return ha})),o.d(t,"cssStyleElementBreadcrumbsArrowSize",(function(){return ga})),o.d(t,"cssStyleElementBreadcrumbsColorActive",(function(){return va})),o.d(t,"cssStyleElementBreadcrumbsColorArrows",(function(){return fa})),o.d(t,"cssStyleElementForm2FlexBasisPercent",(function(){return ya})),o.d(t,"cssStyleElementForm2SubmitWidth",(function(){return Oa})),o.d(t,"cssStyleElementForm2InputHeight",(function(){return Sa})),o.d(t,"cssStyleElementForm2FieldsLineHeight",(function(){return Pa})),o.d(t,"cssStyleElementForm2FieldsLabelFontFamily",(function(){return Ba})),o.d(t,"cssStyleElementForm2FieldsLabelFontSize",(function(){return wa})),o.d(t,"cssStyleElementForm2FieldsLabelFontWeight",(function(){return za})),o.d(t,"cssStyleElementForm2FieldsLabelLetterSpacing",(function(){return Ea})),o.d(t,"cssStyleElementForm2FieldsLabelAlign",(function(){return xa})),o.d(t,"cssStyleElementForm2FieldsLabelLineHeight",(function(){return Ta})),o.d(t,"cssStyleElementForm2FieldsLabelPadding",(function(){return ka})),o.d(t,"cssStyleElementForm2Margin",(function(){return Ca})),o.d(t,"cssStyleElementForm2Padding",(function(){return ja})),o.d(t,"cssStyleElementForm2FieldsBorderRequired",(function(){return Na})),o.d(t,"cssStyleElementForm2FieldsCheckboxColor",(function(){return Ha})),o.d(t,"cssStyleElementForm2FieldsCheckboxFontFamily",(function(){return Fa})),o.d(t,"cssStyleElementForm2FieldsCheckboxFontSize",(function(){return _a})),o.d(t,"cssStyleElementForm2FieldsCheckboxFontWeight",(function(){return Ra})),o.d(t,"cssStyleElementForm2FieldsCheckboxLetterSpacing",(function(){return La})),o.d(t,"cssStyleElementForm2FieldsCheckboxLineHeight",(function(){return Ma})),o.d(t,"cssStyleElementForm2FieldsSelectColor",(function(){return Wa})),o.d(t,"cssStyleElementForm2FieldsSelectBgColor",(function(){return Ia})),o.d(t,"cssStyleElementForm2FieldsSelectChoiceBgColor",(function(){return Aa})),o.d(t,"cssStyleElementForm2FieldsSelectBorder",(function(){return Va})),o.d(t,"cssStyleElementForm2FieldsSelectBorderRadius",(function(){return Da})),o.d(t,"cssStyleElementForm2FieldsSelectBoxShadow",(function(){return $a})),o.d(t,"cssStyleElementForm2FieldColumns",(function(){return Ga})),o.d(t,"cssStyleElementForm2StoryButtonHeight",(function(){return Ua})),o.d(t,"cssStyleElementLoginFormMargin",(function(){return Ka})),o.d(t,"cssStyleElementLoginFieldPadding",(function(){return Ya})),o.d(t,"cssStyleElementLoginLostPasswordColor",(function(){return er})),o.d(t,"cssStyleElementLoginLostPasswordAlign",(function(){return tr})),o.d(t,"cssStyleElementLoginRememberMeAlign",(function(){return or})),o.d(t,"cssStyleElementLoginLostPasswordTypography2FontFamily",(function(){return qa})),o.d(t,"cssStyleElementLoginLostPasswordTypography2FontSize",(function(){return Xa})),o.d(t,"cssStyleElementLoginLostPasswordTypography2FontWeight",(function(){return Ja})),o.d(t,"cssStyleElementLoginLostPasswordTypography2LetterSpacing",(function(){return Qa})),o.d(t,"cssStyleElementLoginLostPasswordTypography2LineHeight",(function(){return Za})),o.d(t,"cssStyleElementLoginAutorizedAlign",(function(){return nr})),o.d(t,"cssStyleElementLoginTextTypography2FontFamily",(function(){return ar})),o.d(t,"cssStyleElementLoginTextTypography2FontSize",(function(){return rr})),o.d(t,"cssStyleElementLoginTextTypography2LineHeight",(function(){return ir})),o.d(t,"cssStyleElementLoginTextTypography2FontWeight",(function(){return lr})),o.d(t,"cssStyleElementLoginTextTypography2LetterSpacing",(function(){return sr})),o.d(t,"cssStyleElementLoginTextColor",(function(){return cr})),o.d(t,"cssStyleElementLoginLinkColor",(function(){return dr})),o.d(t,"cssStyleElementLoginRegisterInfoTypography2FontFamily",(function(){return ur})),o.d(t,"cssStyleElementLoginRegisterInfoTypography2FontSize",(function(){return pr})),o.d(t,"cssStyleElementLoginRegisterInfoTypography2LineHeight",(function(){return br})),o.d(t,"cssStyleElementLoginRegisterInfoTypography2FontWeight",(function(){return mr})),o.d(t,"cssStyleElementLoginRegisterInfoTypography2LetterSpacing",(function(){return hr})),o.d(t,"cssStyleElementRegisterInfoColor",(function(){return gr})),o.d(t,"cssStyleElementRegisterInfoAlign",(function(){return vr})),o.d(t,"cssStyleElementLoginRegisterLinkTypography2FontFamily",(function(){return fr})),o.d(t,"cssStyleElementLoginRegisterLinkTypography2FontSize",(function(){return yr})),o.d(t,"cssStyleElementLoginRegisterLinkTypography2LineHeight",(function(){return Or})),o.d(t,"cssStyleElementLoginRegisterLinkTypography2FontWeight",(function(){return Sr})),o.d(t,"cssStyleElementLoginRegisterLinkTypography2LetterSpacing",(function(){return xr})),o.d(t,"cssStyleElementLoginRegisterLinkColor",(function(){return Cr})),o.d(t,"cssStyleElementLoginRegisterLinkAlign",(function(){return jr})),o.d(t,"cssStyleElementLoginLoginLinkTypography2FontFamily",(function(){return Pr})),o.d(t,"cssStyleElementLoginLoginLinkTypography2FontSize",(function(){return Br})),o.d(t,"cssStyleElementLoginLoginLinkTypography2LineHeight",(function(){return wr})),o.d(t,"cssStyleElementLoginLoginLinkTypography2FontWeight",(function(){return Tr})),o.d(t,"cssStyleElementLoginLoginLinkTypography2LetterSpacing",(function(){return zr})),o.d(t,"cssStyleElementLoginLoginLinkColor",(function(){return Er})),o.d(t,"cssStyleElementLoginLoginLinkAlign",(function(){return kr})),o.d(t,"cssStyleElementPostInfoColorText",(function(){return Fr})),o.d(t,"cssStyleElementPostInfoColorIcons",(function(){return Hr})),o.d(t,"cssStyleElementPostInfoSpacing",(function(){return _r})),o.d(t,"cssStyleElementPostNavigation2TitleFontFamily",(function(){return Rr})),o.d(t,"cssStyleElementPostNavigation2TitleFontSize",(function(){return Lr})),o.d(t,"cssStyleElementPostNavigation2TitleLineHeight",(function(){return Mr})),o.d(t,"cssStyleElementPostNavigation2TitleFontWeight",(function(){return Wr})),o.d(t,"cssStyleElementPostNavigation2TitleLetterSpacing",(function(){return Ir})),o.d(t,"cssStyleElementPostNavigation2PostFontFamily",(function(){return Nr})),o.d(t,"cssStyleElementPostNavigation2PostFontSize",(function(){return Ar})),o.d(t,"cssStyleElementPostNavigation2PostLineHeight",(function(){return Vr})),o.d(t,"cssStyleElementPostNavigation2PostFontWeight",(function(){return Dr})),o.d(t,"cssStyleElementPostNavigation2PostLetterSpacing",(function(){return $r})),o.d(t,"cssStyleElementPostNavigationColorTitle",(function(){return Gr})),o.d(t,"cssStyleElementPostNavigationColorPost",(function(){return Ur})),o.d(t,"cssStyleElementPostNavigationSpacing",(function(){return Kr})),o.d(t,"cssStyleElementPostNavigationSeparationHeight",(function(){return Yr})),o.d(t,"cssStyleElementPostNavigationShowSeparation",(function(){return qr})),o.d(t,"cssStyleElementStarRatingRatingColor",(function(){return Xr})),o.d(t,"cssStyleElementStarRatingRatingBackgroundColor",(function(){return Zr})),o.d(t,"cssStyleElementStarRatingPropertyHoverTransition",(function(){return ei})),o.d(t,"cssStyleElementStarRatingTextSpacing",(function(){return oi})),o.d(t,"cssStyleElementStarRatingStyle2Background",(function(){return Jr})),o.d(t,"cssStyleElementStarRatingStyle2BorderRadius",(function(){return Qr})),o.d(t,"cssStyleElementStarRatingDirection",(function(){return ti})),o.d(t,"cssStyleElementTimelineTabContentArrowColor",(function(){return Ni})),o.d(t,"cssStyleElementTimelineTabContentArrowCustomColor",(function(){return Ai})),o.d(t,"cssStyleElementTimelineTabContentArrowCustomColor1",(function(){return Vi})),o.d(t,"cssStyleElementTimelineBeforeDisplay",(function(){return Ci})),o.d(t,"cssStyleElementTimelineCustomLineOdd",(function(){return ki})),o.d(t,"cssStyleElementTimelineVerticalTab",(function(){return el})),o.d(t,"cssStyleElementTimelineVerticalLastTab",(function(){return tl})),o.d(t,"cssStyleElementTimelineTabsVerticalContent",(function(){return Qi})),o.d(t,"cssStyleElementTimelineTabsVerticalNavIcon",(function(){return Ji})),o.d(t,"cssStyleElementTimelineTabsHorizontalStyle3",(function(){return Zi})),o.d(t,"cssStyleElementTimelineTabHorizontalStyle3Odd",(function(){return Xi})),o.d(t,"cssStyleElementTimelineTabCustomStyle",(function(){return qi})),o.d(t,"cssStyleElementTimelineContentBeforeStyle3",(function(){return Ui})),o.d(t,"cssStyleElementTimelineVerticalTabBeforeNone",(function(){return ol})),o.d(t,"cssStyleElementTimelineVerticalTabBeforeStyle3",(function(){return nl})),o.d(t,"cssStyleElementTimelineNavTitleStyle3",(function(){return Yi})),o.d(t,"cssStyleElementTimelineTab",(function(){return $i})),o.d(t,"cssStyleElementTimelineTabs",(function(){return Di})),o.d(t,"cssStyleElementTimelineTabContentBefore",(function(){return Gi})),o.d(t,"cssStyleElementTimelineNavTitleSpacing",(function(){return Ki})),o.d(t,"cssStyleElementTimelineWidth",(function(){return Ii})),o.d(t,"cssStyleElementTimelineIconSize",(function(){return si})),o.d(t,"cssStyleElementTimelineIconWidth",(function(){return di})),o.d(t,"cssStyleElementTimelineIconHeight",(function(){return ui})),o.d(t,"cssStyleElementTimelineIconBorderRadius",(function(){return fi})),o.d(t,"cssStyleElementTimelineNavTitleWidth",(function(){return pi})),o.d(t,"cssStyleElementTimelineLineBgColor",(function(){return mi})),o.d(t,"cssStyleElementTimelineLineTop",(function(){return hi})),o.d(t,"cssStyleElementTimelineArrowBorder",(function(){return vi})),o.d(t,"cssStyleElementTimelineVerticalCustomTabPositionOdd",(function(){return Ri})),o.d(t,"cssStyleElementTimelineContentSpacing",(function(){return gi})),o.d(t,"cssStyleElementTimelineVerticalCustomContentSpacing",(function(){return Wi})),o.d(t,"cssStyleElementTimelinePaddingForIcon",(function(){return ci})),o.d(t,"cssStyleElementTimelineNavTitleVisible",(function(){return bi})),o.d(t,"cssStyleElementTimelineVerticalPosition",(function(){return yi})),o.d(t,"cssStyleElementTimelineLineWidthHeightBefore",(function(){return Oi})),o.d(t,"cssStyleElementTimelineLineWidthHeightAfter",(function(){return Si})),o.d(t,"cssStyleElementTimelineVerticalLinePosition",(function(){return xi})),o.d(t,"cssStyleElementTimelineVerticalLineTopPosition",(function(){return ji})),o.d(t,"cssStyleElementTimelineVerticalLineBottomPosition",(function(){return Pi})),o.d(t,"cssStyleElementTimelineCustomTabWidth",(function(){return Bi})),o.d(t,"cssStyleElementTimelineCustomLastTabWidth",(function(){return wi})),o.d(t,"cssStyleElementTimelineVerticalInvertPosition",(function(){return Ti})),o.d(t,"cssStyleElementTimelineVerticalInvertLinePosition",(function(){return zi})),o.d(t,"cssStyleElementTimelineCustomLineTop",(function(){return Ei})),o.d(t,"cssStyleElementTimelineCustomContentSpacing",(function(){return Hi})),o.d(t,"cssStyleElementTimelineCustomContentBottomSpacing",(function(){return Fi})),o.d(t,"cssStyleElementTimelineVerticalCustomTabPosition",(function(){return _i})),o.d(t,"cssStyleElementTimelineVerticalCustomPosition",(function(){return Li})),o.d(t,"cssStyleElementTimelineVerticalStyle3ArrowPosition",(function(){return Mi})),o.d(t,"cssStyleElementSwitcherNavSpacing",(function(){return ll})),o.d(t,"cssStyleElementSwitcherNavBeforeBg",(function(){return il})),o.d(t,"cssStyleElementSwitcherActiveTextColor",(function(){return sl})),o.d(t,"cssStyleElementSwitcherNav2Width",(function(){return al})),o.d(t,"cssStyleElementSwitcherNav2Height",(function(){return rl})),o.d(t,"cssStyleElementSwitcherWidth",(function(){return cl})),o.d(t,"cssStyleElementWPPostContentH1Color",(function(){return dl})),o.d(t,"cssStyleElementWPPostContentH2Color",(function(){return ul})),o.d(t,"cssStyleElementWPPostContentH3Color",(function(){return pl})),o.d(t,"cssStyleElementWPPostContentH4Color",(function(){return bl})),o.d(t,"cssStyleElementWPPostContentH5Color",(function(){return ml})),o.d(t,"cssStyleElementWPPostContentH6Color",(function(){return hl})),o.d(t,"cssStyleElementWPPostContentParagraphColor",(function(){return gl})),o.d(t,"cssStyleElementWPPostContentTypography2ParagraphFontFamily",(function(){return vl})),o.d(t,"cssStyleElementWPPostContentTypography2ParagraphFontSize",(function(){return fl})),o.d(t,"cssStyleElementWPPostContentTypography2ParagraphLineHeight",(function(){return yl})),o.d(t,"cssStyleElementWPPostContentTypography2ParagraphFontWeight",(function(){return Ol})),o.d(t,"cssStyleElementWPPostContentTypography2ParagraphLetterSpacing",(function(){return Sl})),o.d(t,"cssStyleElementWPPostContentTypography2H1FontFamily",(function(){return xl})),o.d(t,"cssStyleElementWPPostContentTypography2H1FontSize",(function(){return Cl})),o.d(t,"cssStyleElementWPPostContentTypography2H1LineHeight",(function(){return jl})),o.d(t,"cssStyleElementWPPostContentTypography2H1FontWeight",(function(){return Pl})),o.d(t,"cssStyleElementWPPostContentTypography2H1LetterSpacing",(function(){return Bl})),o.d(t,"cssStyleElementWPPostContentTypography2H2FontFamily",(function(){return wl})),o.d(t,"cssStyleElementWPPostContentTypography2H2FontSize",(function(){return Tl})),o.d(t,"cssStyleElementWPPostContentTypography2H2LineHeight",(function(){return zl})),o.d(t,"cssStyleElementWPPostContentTypography2H2FontWeight",(function(){return El})),o.d(t,"cssStyleElementWPPostContentTypography2H2LetterSpacing",(function(){return kl})),o.d(t,"cssStyleElementWPPostContentTypography2H3FontFamily",(function(){return Hl})),o.d(t,"cssStyleElementWPPostContentTypography2H3FontSize",(function(){return Fl})),o.d(t,"cssStyleElementWPPostContentTypography2H3LineHeight",(function(){return _l})),o.d(t,"cssStyleElementWPPostContentTypography2H3FontWeight",(function(){return Rl})),o.d(t,"cssStyleElementWPPostContentTypography2H3LetterSpacing",(function(){return Ll})),o.d(t,"cssStyleElementWPPostContentTypography2H4FontFamily",(function(){return Ml})),o.d(t,"cssStyleElementWPPostContentTypography2H4FontSize",(function(){return Wl})),o.d(t,"cssStyleElementWPPostContentTypography2H4LineHeight",(function(){return Il})),o.d(t,"cssStyleElementWPPostContentTypography2H4FontWeight",(function(){return Nl})),o.d(t,"cssStyleElementWPPostContentTypography2H4LetterSpacing",(function(){return Al})),o.d(t,"cssStyleElementWPPostContentTypography2H5FontFamily",(function(){return Vl})),o.d(t,"cssStyleElementWPPostContentTypography2H5FontSize",(function(){return Dl})),o.d(t,"cssStyleElementWPPostContentTypography2H5LineHeight",(function(){return $l})),o.d(t,"cssStyleElementWPPostContentTypography2H5FontWeight",(function(){return Gl})),o.d(t,"cssStyleElementWPPostContentTypography2H5LetterSpacing",(function(){return Ul})),o.d(t,"cssStyleElementWPPostContentTypography2H6FontFamily",(function(){return Kl})),o.d(t,"cssStyleElementWPPostContentTypography2H6FontSize",(function(){return Yl})),o.d(t,"cssStyleElementWPPostContentTypography2H6LineHeight",(function(){return ql})),o.d(t,"cssStyleElementWPPostContentTypography2H6FontWeight",(function(){return Xl})),o.d(t,"cssStyleElementWPPostContentTypography2H6LetterSpacing",(function(){return Zl})),o.d(t,"cssStyleElementWPPostContentFontWeightInherit",(function(){return Jl})),o.d(t,"cssStyleElementWOOPriceColorSale",(function(){return Ql})),o.d(t,"cssStyleElementWOOPriceSaleFontFamily",(function(){return es})),o.d(t,"cssStyleElementWOOPriceSaleFontSize",(function(){return ts})),o.d(t,"cssStyleElementWOOPriceSaleLineHeight",(function(){return os})),o.d(t,"cssStyleElementWOOPriceSaleFontWeight",(function(){return ns})),o.d(t,"cssStyleElementWOOPriceSaleLetterSpacing",(function(){return as})),o.d(t,"cssStyleElementWOOPriceColumn",(function(){return rs})),o.d(t,"cssStyleElementWOOPriceSpacingFirst",(function(){return is})),o.d(t,"cssStyleElementWOOPriceSpacingLast",(function(){return ls})),o.d(t,"cssStyleElementWOOAdditionalTitleFontFamily",(function(){return ss})),o.d(t,"cssStyleElementWOOAdditionalTitleFontSize",(function(){return cs})),o.d(t,"cssStyleElementWOOAdditionalTitleLineHeight",(function(){return ds})),o.d(t,"cssStyleElementWOOAdditionalTitleFontWeight",(function(){return us})),o.d(t,"cssStyleElementWOOAdditionalTitleLetterSpacing",(function(){return ps})),o.d(t,"cssStyleElementWOOAdditionalTitleColor",(function(){return bs})),o.d(t,"cssStyleElementWOOAdditionalTitleSpacing",(function(){return ms})),o.d(t,"cssStyleElementWOOAttributesAttributesFontFamily",(function(){return hs})),o.d(t,"cssStyleElementWOOAttributesAttributesFontSize",(function(){return gs})),o.d(t,"cssStyleElementWOOAttributesAttributesLineHeight",(function(){return vs})),o.d(t,"cssStyleElementWOOAttributesAttributesFontWeight",(function(){return fs})),o.d(t,"cssStyleElementWOOAttributesAttributesLetterSpacing",(function(){return ys})),o.d(t,"cssStyleElementWOOAttributesSpacing",(function(){return Os})),o.d(t,"cssStyleElementWOOAttributesAttributeColor",(function(){return Ss})),o.d(t,"cssStyleElementWOOAttributesBorder",(function(){return xs})),o.d(t,"cssStyleElementWOOAttributesLastElementBorder",(function(){return Cs})),o.d(t,"cssStyleElementPostsItemWidth",(function(){return Ps})),o.d(t,"cssStyleElementPostsItemSpacing",(function(){return Bs})),o.d(t,"cssStyleElementPostsPaginationSpacing",(function(){return ws})),o.d(t,"cssStyleElementPostsPaginationFontFamily",(function(){return Ts})),o.d(t,"cssStyleElementPostsPaginationFontSize",(function(){return zs})),o.d(t,"cssStyleElementPostsPaginationLineHeight",(function(){return Es})),o.d(t,"cssStyleElementPostsPaginationFontWeight",(function(){return ks})),o.d(t,"cssStyleElementPostsPaginationLetterSpacing",(function(){return Hs})),o.d(t,"cssStyleElementPostsPaginationColor",(function(){return Fs})),o.d(t,"cssStyleElementPostsPaginationBgColor",(function(){return _s})),o.d(t,"cssStyleElementPostsPaginationBorder",(function(){return Rs})),o.d(t,"cssStyleElementPostsPaginationActiveColor",(function(){return Ls})),o.d(t,"cssStyleElementPostsPaginationActiveBgColor",(function(){return Ms})),o.d(t,"cssStyleElementPostsPaginationActiveBorder",(function(){return Ws})),o.d(t,"cssStyleElementPostsPaginationBorderRadius",(function(){return Is})),o.d(t,"cssStyleElementPostsFilterDisplay",(function(){return Ns})),o.d(t,"cssStyleElementPostsFilterHorizontalAlign",(function(){return As})),o.d(t,"cssStyleElementPostsFilterSpacing",(function(){return Vs})),o.d(t,"cssStyleElementPostsFilterAfterSpacing",(function(){return Ds})),o.d(t,"cssStyleElementPostsFilterFontFamily",(function(){return $s})),o.d(t,"cssStyleElementPostsFilterFontSize",(function(){return Gs})),o.d(t,"cssStyleElementPostsFilterLineHeight",(function(){return Us})),o.d(t,"cssStyleElementPostsFilterFontWeight",(function(){return Ks})),o.d(t,"cssStyleElementPostsFilterLetterSpacing",(function(){return Ys})),o.d(t,"cssStyleElementPostsFilterColor",(function(){return qs})),o.d(t,"cssStyleElementPostsFilterBgColor",(function(){return Xs})),o.d(t,"cssStyleElementPostsFilterBorder",(function(){return Zs})),o.d(t,"cssStyleElementPostsFilterBorderRadius",(function(){return Js})),o.d(t,"cssStyleElementPostsFilterShadow",(function(){return Qs})),o.d(t,"cssStyleElementPostsFilterPaddingFourFields",(function(){return ec})),o.d(t,"cssStyleElementPostsFilterActiveColor",(function(){return tc})),o.d(t,"cssStyleElementPostsFilterActiveBgColor",(function(){return oc})),o.d(t,"cssStyleElementPostsFilterActiveBorder",(function(){return nc})),o.d(t,"cssStyleElementPostsFilterActiveShadow",(function(){return ac})),o.d(t,"cssStyleElementPostsHoverTransition",(function(){return rc})),o.d(t,"cssStyleElementAccordion3FontFamily",(function(){return Bc})),o.d(t,"cssStyleElementAccordion3FontSize",(function(){return wc})),o.d(t,"cssStyleElementAccordion3LineHeight",(function(){return Tc})),o.d(t,"cssStyleElementAccordion3FontWeight",(function(){return zc})),o.d(t,"cssStyleElementAccordion3LetterSpacing",(function(){return Ec})),o.d(t,"cssStyleElementAccordionFilterColor",(function(){return lc})),o.d(t,"cssStyleElementAccordionFilterBgColor",(function(){return pc})),o.d(t,"cssStyleElementAccordionFilterBorder",(function(){return bc})),o.d(t,"cssStyleElementAccordionFilterBorderRadius",(function(){return mc})),o.d(t,"cssStyleElementAccordionFilterShadow",(function(){return hc})),o.d(t,"cssStyleElementAccordionMarginTop",(function(){return gc})),o.d(t,"cssStyleElementAccordionSpacing",(function(){return vc})),o.d(t,"cssStyleElementAccordionFilterSpacing",(function(){return fc})),o.d(t,"cssStyleElementAccordionFilterAfterSpacing",(function(){return yc})),o.d(t,"cssStyleElementAccordionNavAlign",(function(){return Oc})),o.d(t,"cssStyleElementAccordionNavTextAlign",(function(){return Sc})),o.d(t,"cssStyleElementAccordionNavIconSpacing",(function(){return xc})),o.d(t,"cssStyleElementAccordionNavIconSize",(function(){return Cc})),o.d(t,"cssStyleElementAccordionFilterHorizontalAlign",(function(){return jc})),o.d(t,"cssStyleElementAccordionFilterPaddingFourFields",(function(){return Pc})),o.d(t,"cssStyleElementAccordionFilterActiveColor",(function(){return sc})),o.d(t,"cssStyleElementAccordionFilterActiveBgColor",(function(){return cc})),o.d(t,"cssStyleElementAccordionFilterActiveBorder",(function(){return dc})),o.d(t,"cssStyleElementAccordionFilterActiveShadow",(function(){return uc})),o.d(t,"cssStyleElementAccordionActiveColor",(function(){return kc})),o.d(t,"cssStyleElementAccordionActiveBgColor",(function(){return Hc})),o.d(t,"cssStyleElementAccordionActiveBorder",(function(){return Fc})),o.d(t,"cssStyleElementAccordionActiveShadow",(function(){return _c})),o.d(t,"cssStyleElementAccordionAnimDuration",(function(){return Rc})),o.d(t,"cssStyleElementAccordionPropertyHoverTransition",(function(){return Lc})),o.d(t,"cssStyleElementTabsBtnSpacing",(function(){return Mc})),o.d(t,"cssStyleElementTabsBtnIconSize",(function(){return Wc})),o.d(t,"cssStyleElementTabsBtnActiveBorderBottomColor",(function(){return Ic})),o.d(t,"cssStyleElementTabsBtnActiveBorderRightColor",(function(){return Nc})),o.d(t,"cssStyleElementTabsBtnActiveBorderLeftColor",(function(){return Ac})),o.d(t,"cssStyleElementTabsActiveBeforeAfterColor",(function(){return Vc})),o.d(t,"cssStyleElementTabsActiveBeforeHeight",(function(){return Dc})),o.d(t,"cssStyleElementTabsActiveBeforeWidth",(function(){return $c})),o.d(t,"cssStyleElementTabsBeforeAfterRightWidth",(function(){return Gc})),o.d(t,"cssStyleElementTabsBeforeAfterLeftWidth",(function(){return Uc})),o.d(t,"cssStyleElementTabsBorderMobileWidth",(function(){return Kc})),o.d(t,"cssStyleElementTabsEmptyContent",(function(){return Yc})),o.d(t,"cssStyleElementTabsBtnIconPosition",(function(){return qc})),o.d(t,"cssStyleElementTabsBtnIconJustifyContent",(function(){return Xc})),o.d(t,"cssStyleElementTabsBeforeAfterTop",(function(){return Zc})),o.d(t,"cssStyleElementTabsBeforeAfterBottom",(function(){return Jc})),o.d(t,"cssStyleElementTabsAfterSpacing",(function(){return Qc})),o.d(t,"cssStyleElementTabsSpacing",(function(){return td})),o.d(t,"cssStyleElementTabsAfterSpacingVertical",(function(){return ed})),o.d(t,"cssStyleElementTabsNavAlign",(function(){return od})),o.d(t,"cssStyleElementTabsNavBorderBottom",(function(){return ad})),o.d(t,"cssStyleElementTabsNavStyle3Before",(function(){return rd})),o.d(t,"cssStyleElementTabsPadding",(function(){return nd})),o.d(t,"cssStyleElementTabsActiveColor",(function(){return id})),o.d(t,"cssStyleElementTabsActiveBgColor",(function(){return ld})),o.d(t,"cssStyleElementTabsActiveBorder",(function(){return cd})),o.d(t,"cssStyleElementTabsActiveShadow",(function(){return sd})),o.d(t,"cssStyleElementTabsContentBgColor",(function(){return dd})),o.d(t,"cssStyleElementTabsContentBorder",(function(){return ud})),o.d(t,"cssStyleElementTabsContentShadow",(function(){return pd})),o.d(t,"cssStyleElementCommentsNameFontFamily",(function(){return bd})),o.d(t,"cssStyleElementCommentsNameFontSize",(function(){return md})),o.d(t,"cssStyleElementCommentsNameLineHeight",(function(){return hd})),o.d(t,"cssStyleElementCommentsNameFontWeight",(function(){return gd})),o.d(t,"cssStyleElementCommentsNameLetterSpacing",(function(){return vd})),o.d(t,"cssStyleElementCommentsDateFontFamily",(function(){return Cd})),o.d(t,"cssStyleElementCommentsDateFontSize",(function(){return jd})),o.d(t,"cssStyleElementCommentsDateLineHeight",(function(){return Pd})),o.d(t,"cssStyleElementCommentsDateFontWeight",(function(){return Bd})),o.d(t,"cssStyleElementCommentsDateLetterSpacing",(function(){return wd})),o.d(t,"cssStyleElementCommentsCommentFontFamily",(function(){return fd})),o.d(t,"cssStyleElementCommentsCommentFontSize",(function(){return yd})),o.d(t,"cssStyleElementCommentsCommentLineHeight",(function(){return Od})),o.d(t,"cssStyleElementCommentsCommentFontWeight",(function(){return Sd})),o.d(t,"cssStyleElementCommentsCommentLetterSpacing",(function(){return xd})),o.d(t,"cssStyleElementCommentsReplyFontFamily",(function(){return Td})),o.d(t,"cssStyleElementCommentsReplyFontSize",(function(){return zd})),o.d(t,"cssStyleElementCommentsReplyLineHeight",(function(){return Ed})),o.d(t,"cssStyleElementCommentsReplyFontWeight",(function(){return kd})),o.d(t,"cssStyleElementCommentsReplyLetterSpacing",(function(){return Hd})),o.d(t,"cssStyleElementCommentsPostButtonFontFamily",(function(){return Fd})),o.d(t,"cssStyleElementCommentsPostButtonFontSize",(function(){return _d})),o.d(t,"cssStyleElementCommentsPostButtonLineHeight",(function(){return Rd})),o.d(t,"cssStyleElementCommentsPostButtonFontWeight",(function(){return Ld})),o.d(t,"cssStyleElementCommentsPostButtonLetterSpacing",(function(){return Md})),o.d(t,"cssStyleElementCommentsLogoSize",(function(){return Wd})),o.d(t,"cssStyleElementCommentsWidthContainer",(function(){return Id})),o.d(t,"cssStyleElementCommentsPostButtonColor",(function(){return Nd})),o.d(t,"cssStyleElementCommentsPostButtonBg",(function(){return Ad})),o.d(t,"cssStyleElementCommentsColorLink",(function(){return Vd})),o.d(t,"cssStyleElementCommentsNameColor",(function(){return Dd})),o.d(t,"cssStyleElementCommentsCommentsColor",(function(){return $d})),o.d(t,"cssStyleElementCommentsChildMargin",(function(){return Gd})),o.d(t,"cssStyleElementCommentsStarsColor",(function(){return Ud})),o.d(t,"cssStyleElementCommentsStarsBgColor",(function(){return Kd})),o.d(t,"cssStyleElementCommentsStarsSize",(function(){return Yd})),o.d(t,"cssStyleElementSearchAutocompleteColor",(function(){return qd})),o.d(t,"cssStyleElementSearchMinWidth",(function(){return Xd})),o.d(t,"cssStyleElementSearchMinHeight",(function(){return Zd})),o.d(t,"cssStyleElementSearchPropertyHoverTransition",(function(){return Jd})),o.d(t,"cssStyleElementSearchLineHeight",(function(){return Qd})),o.d(t,"cssStyleElementWOOProductMetaType",(function(){return eu})),o.d(t,"cssStyleElementWOOProductMetaCategoryFontFamily",(function(){return tu})),o.d(t,"cssStyleElementWOOProductMetaCategoryFontSize",(function(){return ou})),o.d(t,"cssStyleElementWOOProductMetaCategoryLineHeight",(function(){return nu})),o.d(t,"cssStyleElementWOOProductMetaCategoryFontWeight",(function(){return au})),o.d(t,"cssStyleElementWOOProductMetaCategoryLetterSpacing",(function(){return ru})),o.d(t,"cssStyleElementWOOProductMetaValueFontFamily",(function(){return iu})),o.d(t,"cssStyleElementWOOProductMetaValueFontSize",(function(){return lu})),o.d(t,"cssStyleElementWOOProductMetaValueLineHeight",(function(){return su})),o.d(t,"cssStyleElementWOOProductMetaValueFontWeight",(function(){return cu})),o.d(t,"cssStyleElementWOOProductMetaValueLetterSpacing",(function(){return du})),o.d(t,"cssStyleElementWOOProductMetaTopSpacing",(function(){return uu})),o.d(t,"cssStyleElementWOOProductMetaRightSpacing",(function(){return pu})),o.d(t,"cssStyleElementWOOProductMetaRightSpacingInline",(function(){return bu})),o.d(t,"cssStyleElementWOOProductMetaCategoryColor",(function(){return mu})),o.d(t,"cssStyleElementWOOProductMetaValueColor",(function(){return hu})),o.d(t,"cssStyleElementWOOProductMetaDividers",(function(){return gu})),o.d(t,"cssStyleElementWOORatingSize",(function(){return vu})),o.d(t,"cssStyleElementWOORatingTextColor",(function(){return fu})),o.d(t,"cssStyleElementWOORatingSpacing",(function(){return yu})),o.d(t,"cssStyleElementWOORatingBgStarColor",(function(){return Ou})),o.d(t,"cssStyleElementWOOCartIconColor",(function(){return Su})),o.d(t,"cssStyleElementWOOCartSubtotalDisabled",(function(){return xu})),o.d(t,"cssStyleElementWOOCartPurchasesDisabled",(function(){return Cu})),o.d(t,"cssStyleElementWOOCartTransitionProperty",(function(){return ju})),o.d(t,"cssStyleElementWOOCartPurchasesColor",(function(){return Pu})),o.d(t,"cssStyleElementWOOCartPurchasesFontFamily",(function(){return Bu})),o.d(t,"cssStyleElementWOOCartPurchasesFontSize",(function(){return wu})),o.d(t,"cssStyleElementWOOCartPurchasesLineHeight",(function(){return Tu})),o.d(t,"cssStyleElementWOOCartPurchasesFontWeight",(function(){return zu})),o.d(t,"cssStyleElementWOOCartPurchasesLetterSpacing",(function(){return Eu})),o.d(t,"cssStyleElementWOOCartTitleFontFamily",(function(){return ku})),o.d(t,"cssStyleElementWOOCartTitleFontSize",(function(){return Hu})),o.d(t,"cssStyleElementWOOCartTitleLineHeight",(function(){return Fu})),o.d(t,"cssStyleElementWOOCartTitleFontWeight",(function(){return _u})),o.d(t,"cssStyleElementWOOCartTitleLetterSpacing",(function(){return Ru})),o.d(t,"cssStyleElementWOOCartCostFontFamily",(function(){return Lu})),o.d(t,"cssStyleElementWOOCartCostFontSize",(function(){return Mu})),o.d(t,"cssStyleElementWOOCartCostLineHeight",(function(){return Wu})),o.d(t,"cssStyleElementWOOCartCostFontWeight",(function(){return Iu})),o.d(t,"cssStyleElementWOOCartCostLetterSpacing",(function(){return Nu})),o.d(t,"cssStyleElementWOOCartSubtotalFontFamily",(function(){return Au})),o.d(t,"cssStyleElementWOOCartSubtotalFontSize",(function(){return Vu})),o.d(t,"cssStyleElementWOOCartSubtotalLineHeight",(function(){return Du})),o.d(t,"cssStyleElementWOOCartSubtotalFontWeight",(function(){return $u})),o.d(t,"cssStyleElementWOOCartSubtotalLetterSpacing",(function(){return Gu})),o.d(t,"cssStyleElementWOOCartButtonFontFamily",(function(){return Uu})),o.d(t,"cssStyleElementWOOCartButtonFontSize",(function(){return Ku})),o.d(t,"cssStyleElementWOOCartButtonLineHeight",(function(){return Yu})),o.d(t,"cssStyleElementWOOCartButtonFontWeight",(function(){return qu})),o.d(t,"cssStyleElementWOOCartButtonLetterSpacing",(function(){return Xu})),o.d(t,"cssStyleElementWOOCartTitleColor",(function(){return Zu})),o.d(t,"cssStyleElementWOOCartCostColor",(function(){return Ju})),o.d(t,"cssStyleElementWOOCartSubtotalColor",(function(){return Qu})),o.d(t,"cssStyleElementWOOCartButtonColor",(function(){return ep})),o.d(t,"cssStyleElementWOOCartButtonBgColor",(function(){return tp})),o.d(t,"cssStyleElementWOOCartButtonDirection",(function(){return op})),o.d(t,"cssStyleElementWOOCartButtonSpacing",(function(){return np})),o.d(t,"cssStyleElementWOOCartButtonBorderRadius",(function(){return ap})),o.d(t,"cssStyleElementWOOCartSidebarHorizontalAlign",(function(){return rp})),o.d(t,"cssStyleElementWOOCartSidebarVerticalAlign",(function(){return ip})),o.d(t,"cssStyleElementWOOCartSidebarWidth",(function(){return lp})),o.d(t,"cssStyleElementWOOCartSidebarHeight",(function(){return sp})),o.d(t,"cssStyleElementWOOCartBubbleColor",(function(){return cp})),o.d(t,"cssStyleElementWOOCartBubbleBg",(function(){return dp})),o.d(t,"cssStyleWrapperCustomHeight",(function(){return pp})),o.d(t,"cssStyleWrapperContainerFlex",(function(){return hp})),o.d(t,"cssStyleWrapperFixedFlex",(function(){return bp})),o.d(t,"cssStyleWrapperBorderFlex",(function(){return mp})),o.d(t,"cssStyleWrapperContainerSize",(function(){return gp})),o.d(t,"cssStyleElementMenuAlign",(function(){return vp})),o.d(t,"cssStyleElementMenuMode",(function(){return Cp})),o.d(t,"cssStyleElementMenuSize",(function(){return jp})),o.d(t,"cssStyleElementMenuDropdown",(function(){return xb})),o.d(t,"cssStyleElementMenuDropdownOpened",(function(){return jb})),o.d(t,"cssStyleElementMenuInnerDropdown",(function(){return Cb})),o.d(t,"cssStyleElementMenuDropdownInnerOpened",(function(){return Pb})),o.d(t,"cssStyleElementMenuDropdownArrow",(function(){return Bb})),o.d(t,"cssStyleElementMenuShow",(function(){return xp})),o.d(t,"cssStyleElementMenuShowIcon",(function(){return Sp})),o.d(t,"cssStyleElementMenuIconPosition",(function(){return fp})),o.d(t,"cssStyleElementMenuIconSpacing",(function(){return yp})),o.d(t,"cssStyleElementMenuIconSize",(function(){return Op})),o.d(t,"cssStyleElementMenuBgColor",(function(){return Pp})),o.d(t,"cssStyleElementMenuLinkBgColor",(function(){return Bp})),o.d(t,"cssStyleElementMenuPadding",(function(){return Tp})),o.d(t,"cssStyleElementMenuActiveColor",(function(){return zp})),o.d(t,"cssStyleElementMenuActiveBgColor",(function(){return kp})),o.d(t,"cssStyleElementMenuActiveLinkBgColor",(function(){return Ep})),o.d(t,"cssStyleElementMenuActiveBorder",(function(){return Hp})),o.d(t,"cssStyleElementMenuCurrentColor",(function(){return Fp})),o.d(t,"cssStyleElementMenuCurrentLinkBgColor",(function(){return Rp})),o.d(t,"cssStyleElementMenuCurrentBgColor",(function(){return _p})),o.d(t,"cssStyleElementMenuCurrentBorder",(function(){return Lp})),o.d(t,"cssStyleElementMenuBorder",(function(){return wp})),o.d(t,"cssStyleElementMMenuFontFamily",(function(){return Wp})),o.d(t,"cssStyleElementMMenuFontSize",(function(){return Ip})),o.d(t,"cssStyleElementMMenuLineHeight",(function(){return Np})),o.d(t,"cssStyleElementMMenuFontWeight",(function(){return Ap})),o.d(t,"cssStyleElementMMenuLetterSpacing",(function(){return Vp})),o.d(t,"cssStyleElementMMenuColor",(function(){return Dp})),o.d(t,"cssStyleElementMMenuHoverColor",(function(){return $p})),o.d(t,"cssStyleElementMMenuActiveColor",(function(){return Gp})),o.d(t,"cssStyleElementMMenuBorderColor",(function(){return Up})),o.d(t,"cssStyleElementMMenuBackgroundColor",(function(){return Kp})),o.d(t,"cssStyleElementMMenuItemHorizontalAlign",(function(){return Yp})),o.d(t,"cssStyleElementMMenuIconColor",(function(){return qp})),o.d(t,"cssStyleElementMMenuSize",(function(){return Mp})),o.d(t,"cssStyleElementMMenuIconPosition",(function(){return Jp})),o.d(t,"cssStyleElementMMenuIconSpacing",(function(){return Xp})),o.d(t,"cssStyleElementMMenuIconSize",(function(){return Zp})),o.d(t,"cssStyleElementMMenuBtnNext",(function(){return Qp})),o.d(t,"cssStyleElementMMenuListViewMargin",(function(){return eb})),o.d(t,"cssStyleElementMMenuItemPadding",(function(){return tb})),o.d(t,"cssStyleElementMMenuItemPaddingTopZero",(function(){return ob})),o.d(t,"cssStyleElementMMenuItemPaddingBottomZero",(function(){return nb})),o.d(t,"cssStyleElementMMenuPadding",(function(){return ab})),o.d(t,"cssStyleElementMenuSubMenuFontFamily",(function(){return rb})),o.d(t,"cssStyleElementMenuSubMenuFontSize",(function(){return ib})),o.d(t,"cssStyleElementMenuSubMenuLineHeight",(function(){return lb})),o.d(t,"cssStyleElementMenuSubMenuFontWeight",(function(){return sb})),o.d(t,"cssStyleElementMenuSubMenuLetterSpacing",(function(){return cb})),o.d(t,"cssStyleElementMenuSubMenuColor",(function(){return db})),o.d(t,"cssStyleElementMenuSubMenuHoverColor",(function(){return ub})),o.d(t,"cssStyleElementMenuSubMenuIconPosition",(function(){return pb})),o.d(t,"cssStyleElementMenuSubMenuIconSpacing",(function(){return bb})),o.d(t,"cssStyleElementMenuSubMenuIconSize",(function(){return mb})),o.d(t,"cssStyleElementMenuSubMenuBgColor",(function(){return hb})),o.d(t,"cssStyleElementMenuSubMenuHoverBgColor",(function(){return gb})),o.d(t,"cssStyleElementMenuSubMenuBorderColor",(function(){return vb})),o.d(t,"cssStyleElementMenuSubMenuBorderBottom",(function(){return fb})),o.d(t,"cssStyleElementMenuSubMenuCurrentColor",(function(){return yb})),o.d(t,"cssStyleElementMenuSubMenuCurrentBgColor",(function(){return Ob})),o.d(t,"cssStyleElementMenuSubMenuCurrentBoxShadow",(function(){return Sb})),o.d(t,"cssStyleMenuDropdownPosition",(function(){return wb})),o.d(t,"cssStyleMenuDropdownPositionLeft",(function(){return Tb})),o.d(t,"cssStyleMenuDropdownPositionRight",(function(){return zb})),o.d(t,"cssStyleMenuFirstDropdownPosition",(function(){return Eb})),o.d(t,"cssStyleMenuFirstDropdownPositionLeft",(function(){return kb})),o.d(t,"cssStyleMenuFirstDropdownPositionRight",(function(){return Hb})),o.d(t,"cssStyleElementMegaMenuWidth",(function(){return Fb})),o.d(t,"cssStyleElementMegaMenuOffsetTop",(function(){return _b})),o.d(t,"cssStyleElementMegaMenuOpened",(function(){return Lb})),o.d(t,"cssStyleElementMegaMenuHeight",(function(){return Rb})),o.d(t,"cssStyleElementTableWidth",(function(){return Mb})),o.d(t,"cssStyleElementTableIconSize",(function(){return Wb})),o.d(t,"cssStyleElementTableSpacing",(function(){return Ib})),o.d(t,"cssStyleElementTableBtnIconPosition",(function(){return Nb})),o.d(t,"cssStyleElementTableCustomFlexHorizontalAlign",(function(){return Ab})),o.d(t,"cssStyleElementTableCustomTextHorizontalAlign",(function(){return Vb})),o.d(t,"cssStyleElementTableAsideWidth",(function(){return Db})),o.d(t,"cssStyleElementTableEvenBgColor",(function(){return $b})),o.d(t,"cssStyleElementTableEvenColor",(function(){return Gb})),o.d(t,"cssStyleTablePadding",(function(){return Ub})),o.d(t,"cssStyleElementMenuSimpleItemPadding",(function(){return Kb})),o.d(t,"cssStyleElementMenuSimpleColorBars",(function(){return Yb})),o.d(t,"cssStyleElementMenuSimpleWidth",(function(){return qb})),o.d(t,"cssStyleElementMenuSimpleActiveColor",(function(){return Xb})),o.d(t,"cssStyleElementImageMaxWidthPreview",(function(){return em})),o.d(t,"cssStyleElementImageHeightPreview",(function(){return tm})),o.d(t,"cssStyleElementImageSizePreview",(function(){return dm})),o.d(t,"cssStyleElementImageMaxWidthEditor",(function(){return om})),o.d(t,"cssStyleElementImageHeightEditor",(function(){return nm})),o.d(t,"cssStyleElementImageWidthWrapper",(function(){return am})),o.d(t,"cssStyleElementImageHeightWrapper",(function(){return rm})),o.d(t,"cssStyleElementImagePosition",(function(){return im})),o.d(t,"cssStyleElementImageMarginLeft",(function(){return lm})),o.d(t,"cssStyleElementImageMarginTop",(function(){return sm})),o.d(t,"cssStyleElementImagePictureSizePreview",(function(){return cm})),o.d(t,"cssStyleElementImageTransitionProperty",(function(){return um})),o.d(t,"cssStyleElementImageFilter",(function(){return pm})),o.d(t,"cssStyleAnimation",(function(){return bm})),o.d(t,"cssStyleAnimationDuration",(function(){return mm})),o.d(t,"cssStyleAnimationDelay",(function(){return hm})),o.d(t,"cssStyleRotate",(function(){return fm})),o.d(t,"cssStyleStoryFristSlideProgress",(function(){return xm})),o.d(t,"cssStyleStoryProgress",(function(){return Sm})),o.d(t,"cssStyleElementWOOAddToCartSize",(function(){return Cm})),o.d(t,"cssStyleElementWOOAddToCartSpacing",(function(){return Pm})),o.d(t,"cssStyleElementWOOAddToCartInputSize",(function(){return Bm})),o.d(t,"cssStyleElementWOOAddToCartInputPosition",(function(){return wm})),o.d(t,"cssStyleElementWOOAddToCartInputFontFamily",(function(){return zm})),o.d(t,"cssStyleElementWOOAddToCartInputFontSize",(function(){return Em})),o.d(t,"cssStyleElementWOOAddToCartInputLineHeight",(function(){return km})),o.d(t,"cssStyleElementWOOAddToCartInputFontWeight",(function(){return Hm})),o.d(t,"cssStyleElementWOOAddToCartInputLetterSpacing",(function(){return Fm})),o.d(t,"cssStyleElementWOOAddToCartInputAlign",(function(){return Tm})),o.d(t,"cssStyleElementWOOAddToCartInputColor",(function(){return _m})),o.d(t,"cssStyleElementWOOAddToCartInputBg",(function(){return oh})),o.d(t,"cssStyleElementWOOAddToCartInputBorder",(function(){return ah})),o.d(t,"cssStyleElementWOOAddToCartInputRadius",(function(){return jm})),o.d(t,"cssStyleElementWOOAddToCartInputBoxShadow",(function(){return rh})),o.d(t,"cssStyleElementWOOAddToCartButtonColor",(function(){return Rm})),o.d(t,"cssStyleElementWOOAddToCartLabelFontFamily",(function(){return Lm})),o.d(t,"cssStyleElementWOOAddToCartLabelFontSize",(function(){return Mm})),o.d(t,"cssStyleElementWOOAddToCartLabelLineHeight",(function(){return Wm})),o.d(t,"cssStyleElementWOOAddToCartLabelFontWeight",(function(){return Im})),o.d(t,"cssStyleElementWOOAddToCartLabelLetterSpacing",(function(){return Nm})),o.d(t,"cssStyleElementWOOAddToCartValueFontFamily",(function(){return Am})),o.d(t,"cssStyleElementWOOAddToCartValueFontSize",(function(){return Vm}));o.d(t,"cssStyleElementWOOAddToCartValueLineHeight",(function(){return Dm})),o.d(t,"cssStyleElementWOOAddToCartValueFontWeight",(function(){return $m})),o.d(t,"cssStyleElementWOOAddToCartValueLetterSpacing",(function(){return Gm})),o.d(t,"cssStyleElementWOOAddToCartLabelColor",(function(){return Um})),o.d(t,"cssStyleElementWOOAddToCartValueColor",(function(){return Km})),o.d(t,"cssStyleElementWOOAddToCartClearFontFamily",(function(){return Ym})),o.d(t,"cssStyleElementWOOAddToCartClearFontSize",(function(){return qm})),o.d(t,"cssStyleElementWOOAddToCartClearLineHeight",(function(){return Xm})),o.d(t,"cssStyleElementWOOAddToCartClearFontWeight",(function(){return Zm})),o.d(t,"cssStyleElementWOOAddToCartClearLetterSpacing",(function(){return Jm})),o.d(t,"cssStyleElementWOOAddToCartClearColor",(function(){return Qm})),o.d(t,"cssStyleElementWOOAddToCartTableMargin",(function(){return eh})),o.d(t,"cssStyleElementWOOAddToCartTableBorder",(function(){return th})),o.d(t,"cssStyleElementWOOAddToCartTableBg",(function(){return nh})),o.d(t,"cssStyleElementWOOAddToCartTableBoxShadow",(function(){return ih})),o.d(t,"cssStyleElementWOOAddToCartBorder",(function(){return lh})),o.d(t,"cssStyleElementWOOAddToCartBorderRadius",(function(){return sh})),o.d(t,"cssStyleElementWOOGalleryBorderRadiusThumbnail",(function(){return dh})),o.d(t,"cssStyleElementWOOGalleryBorderThumbnail",(function(){return ch})),o.d(t,"cssStyleElementWOOGalleryBoxShadowThumbnail",(function(){return uh})),o.d(t,"cssStyleElementWOOGallerySpacing",(function(){return ph})),o.d(t,"cssStyleElementWOOGalleryParentSize",(function(){return bh})),o.d(t,"cssStyleElementWOOGalleryBetweenThumbnail",(function(){return mh})),o.d(t,"cssStyleElementWOOGalleryThumbnailSize",(function(){return hh})),o.d(t,"cssStyleElementWOOGalleryChildStyle",(function(){return gh})),o.d(t,"cssStyleElementWOOGallerySpacingStyleLeftRigth",(function(){return vh})),o.d(t,"cssStyleElementWOOGalleryZoomReposition",(function(){return fh})),o.d(t,"cssStyleElementTitleTextShadow",(function(){return Oh})),o.d(t,"cssStyleElementShopifyQuantityLineHeight",(function(){return Sh})),o.d(t,"cssStyleElementShopifyQuantityInputWidth",(function(){return xh})),o.d(t,"cssStyleElementShopifyAddToCartSize",(function(){return jh})),o.d(t,"cssStyleElementShopifyAddToCartPropertyHoverTransition",(function(){return Ph})),o.d(t,"cssStyleElementShopifyAddToCartBorderRadius",(function(){return Bh})),o.d(t,"cssStyleElementShopifyAddToCartBorderBorder",(function(){return wh})),o.d(t,"cssStyleElementShopifyAddToCartButtonColor",(function(){return Th}));var n={};o.r(n),o.d(n,"renderStyles",(function(){return b})),o.d(n,"parseOutputCss",(function(){return h})),o.d(n,"css",(function(){return v})),o.d(n,"css1",(function(){return f})),o.d(n,"clearCache",(function(){return y})),o.d(n,"tmpCSSFromCache",(function(){return O})),o.d(n,"replacePlaceholders",(function(){return S})),o.d(n,"cssStyleSizeWidthPercent",(function(){return H})),o.d(n,"cssStyleSizeWidthPx",(function(){return F})),o.d(n,"cssStyleSizeMaxWidthPercent",(function(){return R})),o.d(n,"cssStyleSizeWidthStoryOnly",(function(){return _})),o.d(n,"cssStyleSizeHeightPx",(function(){return L})),o.d(n,"cssStyleSizeMinHeightPx",(function(){return M})),o.d(n,"cssStyleSizeMaxWidthSize",(function(){return W})),o.d(n,"cssStyleSizeSizePercent",(function(){return I})),o.d(n,"cssStyleSizeMaxWidthContainer",(function(){return V})),o.d(n,"cssStyleSizeTextSpacing",(function(){return $})),o.d(n,"cssStyleSizeSpacing",(function(){return D})),o.d(n,"cssStyleSizeHeightPxOnly",(function(){return G})),o.d(n,"cssStyleSizeHeightPercentOnly",(function(){return U})),o.d(n,"cssStyleSizeSize",(function(){return N})),o.d(n,"cssStyleSizeWidth",(function(){return A})),o.d(n,"cssStyleElementLineBorder",(function(){return K})),o.d(n,"cssStyleTypographyElementCountdownLabelFontSize",(function(){return ae})),o.d(n,"cssStyleNumberTypography2FontFamily",(function(){return le})),o.d(n,"cssStyleNumberTypography2FontSize",(function(){return se})),o.d(n,"cssStyleNumberTypography2LetterSpacing",(function(){return ue})),o.d(n,"cssStyleNumberTypography2FontWeight",(function(){return de})),o.d(n,"cssStyleNumberTypography2LineHeight",(function(){return ce})),o.d(n,"cssStyleTitleTypography2FontFamily",(function(){return pe})),o.d(n,"cssStyleTitleTypography2FontSize",(function(){return be})),o.d(n,"cssStyleTitleTypography2LetterSpacing",(function(){return ge})),o.d(n,"cssStyleTitleTypography2FontWeight",(function(){return he})),o.d(n,"cssStyleTitleTypography2LineHeight",(function(){return me})),o.d(n,"cssStyleMessageTypography2FontFamily",(function(){return ve})),o.d(n,"cssStyleMessageTypography2FontSize",(function(){return fe})),o.d(n,"cssStyleMessageTypography2LetterSpacing",(function(){return Se})),o.d(n,"cssStyleMessageTypography2FontWeight",(function(){return Oe})),o.d(n,"cssStyleMessageTypography2LineHeight",(function(){return ye})),o.d(n,"cssStyleElementCountDown2NumberColor",(function(){return xe})),o.d(n,"cssStyleElementCountDown2TitleColor",(function(){return Ce})),o.d(n,"cssStyleElementCountDown2MessageColor",(function(){return je})),o.d(n,"cssStyleElementCountDown2SpacingLeft",(function(){return re})),o.d(n,"cssStyleElementCountDown2SpacingRight",(function(){return ie})),o.d(n,"cssStyleElementCountDown2HoverTransitionProperty",(function(){return Pe})),o.d(n,"cssStyleElementCounterChartEnd",(function(){return Be})),o.d(n,"cssStyleElementCounterChartWidth",(function(){return we})),o.d(n,"cssStyleElementCounterFillColor",(function(){return Te})),o.d(n,"cssStyleElementCounterStrokeColor",(function(){return ze})),o.d(n,"cssStyleElementCounterTransitionHoverProperty",(function(){return Ee})),o.d(n,"cssStyleElementIconBoxFlexDirection",(function(){return ke})),o.d(n,"cssStyleElementIconBoxMarginRight",(function(){return He})),o.d(n,"cssStyleElementIconBoxMarginLeft",(function(){return Fe})),o.d(n,"cssStyleElementProtectedPageAutocompleteColor",(function(){return _e})),o.d(n,"cssStyleElementProtectedPagePropertyHoverTransition",(function(){return Re})),o.d(n,"cssStyleElementProtectedPageInputWidth",(function(){return Le})),o.d(n,"cssStyleElementProtectedPageInputSpacing",(function(){return Me})),o.d(n,"cssStyleElementProtectedPageInputHeight",(function(){return We})),o.d(n,"cssStyleBorder",(function(){return Ie})),o.d(n,"cssStyleBorderTransparentColor",(function(){return Ne})),o.d(n,"cssStyleElementImageGallery3FontFamily",(function(){return tt})),o.d(n,"cssStyleElementImageGallery3FontSize",(function(){return ot})),o.d(n,"cssStyleElementImageGallery3LineHeight",(function(){return nt})),o.d(n,"cssStyleElementImageGallery3FontWeight",(function(){return at})),o.d(n,"cssStyleElementImageGallery3LetterSpacing",(function(){return rt})),o.d(n,"cssStyleElementImageGalleryWidth",(function(){return Ve})),o.d(n,"cssStyleElementImageGalleryMargin",(function(){return De})),o.d(n,"cssStyleElementImageGalleryItemWidth",(function(){return $e})),o.d(n,"cssStyleElementImageGalleryItemPadding",(function(){return Ge})),o.d(n,"cssStyleElementImageGalleryFilterSpacing",(function(){return Ue})),o.d(n,"cssStyleElementImageGalleryFilterAfterSpacing",(function(){return Ke})),o.d(n,"cssStyleElementImageGalleryFilterHorizontalAlign",(function(){return Ye})),o.d(n,"cssStyleElementImageGalleryPaddingFourFields",(function(){return qe})),o.d(n,"cssStyleElementImageGalleryBorderRadius",(function(){return et})),o.d(n,"cssStyleElementImageGalleryFilterColor",(function(){return Xe})),o.d(n,"cssStyleElementImageGalleryFilterBgColor",(function(){return Ze})),o.d(n,"cssStyleElementImageGalleryFilterBoxShadow",(function(){return Je})),o.d(n,"cssStyleElementImageGalleryFilterBorder",(function(){return Qe})),o.d(n,"cssStyleElementImageGalleryFilterActiveColor",(function(){return it})),o.d(n,"cssStyleElementImageGalleryFilterActiveBgColor",(function(){return lt})),o.d(n,"cssStyleElementImageGalleryFilterActiveBorder",(function(){return st})),o.d(n,"cssStyleElementImageGalleryFilterActiveShadow",(function(){return ct})),o.d(n,"cssStyleBorderRadius",(function(){return Ae})),o.d(n,"cssStyleBgColor",(function(){return dt})),o.d(n,"cssStyleBgColorHex",(function(){return ut})),o.d(n,"cssStyleBg2Color",(function(){return pt})),o.d(n,"cssStyleBgGradient",(function(){return bt})),o.d(n,"cssStyleBgImage",(function(){return mt})),o.d(n,"cssStyleBgImageHover",(function(){return ht})),o.d(n,"cssStyleBgMediaImage",(function(){return gt})),o.d(n,"cssStyleBgImagePosition",(function(){return vt})),o.d(n,"cssStyleBgImageAttachment",(function(){return ft})),o.d(n,"cssStyleBgMediaMap",(function(){return yt})),o.d(n,"cssStyleBgMediaVideo",(function(){return Ot})),o.d(n,"cssStyleColor",(function(){return St})),o.d(n,"cssStyleLabelColor",(function(){return xt})),o.d(n,"cssStyleBoxShadow",(function(){return jt})),o.d(n,"cssStyleBoxShadowSuffixForGlamour",(function(){return Ct})),o.d(n,"cssStyleBoxShadowSection",(function(){return Pt})),o.d(n,"cssStyleTextShadow",(function(){return Bt})),o.d(n,"cssStyleShapeTopType",(function(){return wt})),o.d(n,"cssStyleShapeTopHeight",(function(){return Tt})),o.d(n,"cssStyleShapeTopFlip",(function(){return zt})),o.d(n,"cssStyleShapeTopIndex",(function(){return Et})),o.d(n,"cssStyleShapeBottomType",(function(){return kt})),o.d(n,"cssStyleShapeBottomHeight",(function(){return Ht})),o.d(n,"cssStyleShapeBottomFlip",(function(){return Ft})),o.d(n,"cssStyleShapeBottomIndex",(function(){return _t})),o.d(n,"cssStyleHoverTransition",(function(){return Rt})),o.d(n,"cssStylePropertyHoverTransition",(function(){return Lt})),o.d(n,"cssStyleTypographyFontFamily",(function(){return Mt})),o.d(n,"cssStyleTypographyFontSize",(function(){return Wt})),o.d(n,"cssStyleTypographyLineHeight",(function(){return It})),o.d(n,"cssStyleTypographyFontWeight",(function(){return Nt})),o.d(n,"cssStyleTypographyLetterSpacing",(function(){return At})),o.d(n,"cssStyleTypography2FontFamily",(function(){return Y})),o.d(n,"cssStyleTypography2FontSize",(function(){return q})),o.d(n,"cssStyleTypography2LineHeight",(function(){return X})),o.d(n,"cssStyleTypography2FontWeight",(function(){return Z})),o.d(n,"cssStyleTypography2LetterSpacing",(function(){return J})),o.d(n,"cssStyleTypography3FontFamily",(function(){return Q})),o.d(n,"cssStyleTypography3FontSize",(function(){return ee})),o.d(n,"cssStyleTypography3LineHeight",(function(){return te})),o.d(n,"cssStyleTypography3FontWeight",(function(){return oe})),o.d(n,"cssStyleTypography3LetterSpacing",(function(){return ne})),o.d(n,"cssStyleElementProgressBarPadding",(function(){return Vt})),o.d(n,"cssStyleSizeProgressBarMaxWidthPercent",(function(){return Dt})),o.d(n,"cssStyleElementProgressBarPropertyHoverTransition",(function(){return $t})),o.d(n,"cssStyleElementRichTextMartinTop",(function(){return Zt})),o.d(n,"cssStyleElementRichTextMartinBottom",(function(){return Jt})),o.d(n,"cssStyleElementRichTextGradient",(function(){return Qt})),o.d(n,"cssStyleElementRichTextFontSize",(function(){return eo})),o.d(n,"cssStyleElementRichTextBgImage",(function(){return to})),o.d(n,"cssStyleElementRichTextFontFamily",(function(){return oo})),o.d(n,"cssStyleElementRichTextColor",(function(){return no})),o.d(n,"cssStyleElementButtonBorderRadius",(function(){return ao})),o.d(n,"cssStyleElementButtonIconPosition",(function(){return ro})),o.d(n,"cssStyleElementButtonIconFontSize",(function(){return io})),o.d(n,"cssStyleElementButtonIconMargin",(function(){return lo})),o.d(n,"cssStyleElementIconStrokeWidth",(function(){return so})),o.d(n,"cssStyleElementButtonPropertyHoverTransition",(function(){return co})),o.d(n,"cssStyleElementButtonPropertyContentAlign",(function(){return uo})),o.d(n,"cssStyleElementFacebookButtonPropertyHoverTransition",(function(){return po})),o.d(n,"cssStyleElementFacebookCommentsPropertyHoverTransition",(function(){return bo})),o.d(n,"cssStyleElementFacebookEmbedPropertyHoverTransition",(function(){return mo})),o.d(n,"cssStyleElementFacebookGroupPropertyHoverTransition",(function(){return ho})),o.d(n,"cssStyleElementFacebookPagePropertyHoverTransition",(function(){return go})),o.d(n,"cssStyleElementMapPropertyHoverTransition",(function(){return vo})),o.d(n,"cssStyleElementMapPropertyPositionFixed",(function(){return fo})),o.d(n,"cssStyleElementSoundCloudPropertyHoverTransition",(function(){return yo})),o.d(n,"cssStyleContainerPopup2ContainerWidth",(function(){return Oo})),o.d(n,"cssStyleContainerPopup2CloseState",(function(){return So})),o.d(n,"cssStyleContainerPopup2ClosePosition",(function(){return wo})),o.d(n,"cssStyleContainerPopup2CloseFontSize",(function(){return Co})),o.d(n,"cssStyleContainerPopup2CloseBgSize",(function(){return jo})),o.d(n,"cssStyleContainerPopup2CloseBorderRadius",(function(){return Po})),o.d(n,"cssStyleContainerPopup2CloseColor",(function(){return xo})),o.d(n,"cssStyleContainerPopup2CloseBgColor",(function(){return Bo})),o.d(n,"cssStyleContainerPopup2RowFlexVerticalAlign",(function(){return To})),o.d(n,"cssStyleContainerPopup2CustomHeight",(function(){return zo})),o.d(n,"cssStyleContainerPopup2CustomHeightOverflow",(function(){return Eo})),o.d(n,"cssStyleContainerPopup2Custom2Height100",(function(){return ko})),o.d(n,"cssStyleContainerPopup2Custom2MaxHeight100",(function(){return Ho})),o.d(n,"cssStyleZIndex",(function(){return Fo})),o.d(n,"cssStyleZIndexStory",(function(){return _o})),o.d(n,"cssStyleFlexVerticalAlign",(function(){return Ro})),o.d(n,"cssStyleFlexColumnVerticalAlign",(function(){return Io})),o.d(n,"cssStyleFlexHorizontalAlign",(function(){return Lo})),o.d(n,"cssStyleContentAlign",(function(){return Mo})),o.d(n,"cssStyleMarginAlign",(function(){return Wo})),o.d(n,"cssStyleExcerptAlign",(function(){return No})),o.d(n,"cssStyleFlexColumn",(function(){return Ao})),o.d(n,"cssStylePadding",(function(){return Ko})),o.d(n,"cssStylePaddingFourFields",(function(){return Vo})),o.d(n,"cssStylePaddingPreview",(function(){return Do})),o.d(n,"cssStylePaddingTopForEditorResizer",(function(){return $o})),o.d(n,"cssStylePaddingBottomForEditorResizer",(function(){return Go})),o.d(n,"cssStylePaddingRightLeftForEditor",(function(){return Uo})),o.d(n,"cssStyleItemPadding",(function(){return Yo})),o.d(n,"cssStyleMargin",(function(){return qo})),o.d(n,"cssStyleItemMargin",(function(){return Xo})),o.d(n,"cssStyleDisplayFlex",(function(){return Zo})),o.d(n,"cssStyleDisplayInlineFlex",(function(){return Jo})),o.d(n,"cssStyleDisplayBlock",(function(){return Qo})),o.d(n,"cssStyleVisible",(function(){return en})),o.d(n,"cssStyleVisibleEditorDisplayNoneOrFlex",(function(){return tn})),o.d(n,"cssStyleVisibleEditorDisplayNoneOrBlock",(function(){return nn})),o.d(n,"cssStyleVisibleEditorDisplayNoneOrInlineFlex",(function(){return on})),o.d(n,"cssStyleVisibleMode",(function(){return an})),o.d(n,"cssStyleShowMembershipBlock",(function(){return ln})),o.d(n,"cssStyleShowMembershipFlex",(function(){return sn})),o.d(n,"cssStyleFilter",(function(){return dn})),o.d(n,"cssStyleFilterSuffixForGlamour",(function(){return cn})),o.d(n,"cssStyleElementVideoPaddingRatio",(function(){return un})),o.d(n,"cssStyleElementVideoFilter",(function(){return pn})),o.d(n,"cssStyleElementVideoIframeFix",(function(){return mn})),o.d(n,"cssStyleElementVideoBgSize",(function(){return bn})),o.d(n,"cssStyleElementVideoIconFontSize",(function(){return hn})),o.d(n,"cssStyleElementVideoIconWidth",(function(){return gn})),o.d(n,"cssStyleElementVideoIconHeight",(function(){return vn})),o.d(n,"cssStyleElementVideoControlsIconFontSize",(function(){return jn})),o.d(n,"cssStyleElementVideoBgColorRatio",(function(){return fn})),o.d(n,"cssStyleElementVideoCoverSrc",(function(){return yn})),o.d(n,"cssStyleElementVideoCoverPosition",(function(){return On})),o.d(n,"cssStyleElementVideoPropertyHoverTransition",(function(){return Sn})),o.d(n,"cssStyleVideoControlsBgColor",(function(){return xn})),o.d(n,"cssStyleVideoIconControls",(function(){return Cn})),o.d(n,"cssStyleElementVideoPlaylistSubTitleVideoTypography2FontFamily",(function(){return Pn})),o.d(n,"cssStyleElementVideoPlaylistSubTitleVideoTypography2FontSize",(function(){return Bn})),o.d(n,"cssStyleElementVideoPlaylistSubTitleVideoTypography2LineHeight",(function(){return wn})),o.d(n,"cssStyleElementVideoPlaylistSubTitleVideoTypography2FontWeight",(function(){return Tn})),o.d(n,"cssStyleElementVideoPlaylistSubTitleVideoTypography2LetterSpacing",(function(){return zn})),o.d(n,"cssStyleElementVideoPlaylistBorderItem",(function(){return Hn})),o.d(n,"cssStyleElementVideoPlaylistGridItemWidth",(function(){return _n})),o.d(n,"cssStyleSizeWidthPixel",(function(){return En})),o.d(n,"cssStyleElementVideoPlaylistImageSize",(function(){return kn})),o.d(n,"cssStyleSizeWidthVideoBlock",(function(){return Fn})),o.d(n,"cssStyleBgIconCoverColor",(function(){return Mn})),o.d(n,"cssStyleCoverIconColor",(function(){return Rn})),o.d(n,"cssStyleCoverSubTitleColor",(function(){return Ln})),o.d(n,"cssStyleElementVideoPlaylistItemActiveBg",(function(){return Wn})),o.d(n,"cssStyleElementVideoPlaylistBorderItemActive",(function(){return In})),o.d(n,"cssStyleElementVideoPlaylistItemActiveColor",(function(){return Nn})),o.d(n,"cssStyleElementVideoPlaylistItemSubtitleActiveColor",(function(){return An})),o.d(n,"cssStyleElementMediaIconFontSize",(function(){return Vn})),o.d(n,"cssStyleElementMediaPadding",(function(){return Dn})),o.d(n,"cssStyleRowMinHeight",(function(){return $n})),o.d(n,"cssStyleRowReverseColumn",(function(){return Gn})),o.d(n,"cssStylePosition",(function(){return Jn})),o.d(n,"cssStylePositionMode",(function(){return Qn})),o.d(n,"cssStyleCustomPosition",(function(){return ea})),o.d(n,"cssStyleCustomWidth",(function(){return ta})),o.d(n,"cssStyleOffset",(function(){return oa})),o.d(n,"cssStyleIconSpacing",(function(){return na})),o.d(n,"cssStyleIconSize",(function(){return aa})),o.d(n,"cssStyleSectionMaxWidth",(function(){return la})),o.d(n,"cssStyleSectionSliderHeight",(function(){return sa})),o.d(n,"cssStyleSectionColorDots",(function(){return ca})),o.d(n,"cssStyleSectionColorArrows",(function(){return da})),o.d(n,"cssStyleSectionPropertyHoverTransition",(function(){return ua})),o.d(n,"cssStyleSectionToolbarOffset",(function(){return pa})),o.d(n,"cssStyleSectionHeightStyle",(function(){return ba})),o.d(n,"cssStyleSectionPaddingsForEditorResize",(function(){return ma})),o.d(n,"cssStyleSectionPopupContainerWrap",(function(){return ha})),o.d(n,"cssStyleElementBreadcrumbsArrowSize",(function(){return ga})),o.d(n,"cssStyleElementBreadcrumbsColorActive",(function(){return va})),o.d(n,"cssStyleElementBreadcrumbsColorArrows",(function(){return fa})),o.d(n,"cssStyleElementForm2FlexBasisPercent",(function(){return ya})),o.d(n,"cssStyleElementForm2SubmitWidth",(function(){return Oa})),o.d(n,"cssStyleElementForm2InputHeight",(function(){return Sa})),o.d(n,"cssStyleElementForm2FieldsLineHeight",(function(){return Pa})),o.d(n,"cssStyleElementForm2FieldsLabelFontFamily",(function(){return Ba})),o.d(n,"cssStyleElementForm2FieldsLabelFontSize",(function(){return wa})),o.d(n,"cssStyleElementForm2FieldsLabelFontWeight",(function(){return za})),o.d(n,"cssStyleElementForm2FieldsLabelLetterSpacing",(function(){return Ea})),o.d(n,"cssStyleElementForm2FieldsLabelAlign",(function(){return xa})),o.d(n,"cssStyleElementForm2FieldsLabelLineHeight",(function(){return Ta})),o.d(n,"cssStyleElementForm2FieldsLabelPadding",(function(){return ka})),o.d(n,"cssStyleElementForm2Margin",(function(){return Ca})),o.d(n,"cssStyleElementForm2Padding",(function(){return ja})),o.d(n,"cssStyleElementForm2FieldsBorderRequired",(function(){return Na})),o.d(n,"cssStyleElementForm2FieldsCheckboxColor",(function(){return Ha})),o.d(n,"cssStyleElementForm2FieldsCheckboxFontFamily",(function(){return Fa})),o.d(n,"cssStyleElementForm2FieldsCheckboxFontSize",(function(){return _a})),o.d(n,"cssStyleElementForm2FieldsCheckboxFontWeight",(function(){return Ra})),o.d(n,"cssStyleElementForm2FieldsCheckboxLetterSpacing",(function(){return La})),o.d(n,"cssStyleElementForm2FieldsCheckboxLineHeight",(function(){return Ma})),o.d(n,"cssStyleElementForm2FieldsSelectColor",(function(){return Wa})),o.d(n,"cssStyleElementForm2FieldsSelectBgColor",(function(){return Ia})),o.d(n,"cssStyleElementForm2FieldsSelectChoiceBgColor",(function(){return Aa})),o.d(n,"cssStyleElementForm2FieldsSelectBorder",(function(){return Va})),o.d(n,"cssStyleElementForm2FieldsSelectBorderRadius",(function(){return Da})),o.d(n,"cssStyleElementForm2FieldsSelectBoxShadow",(function(){return $a})),o.d(n,"cssStyleElementForm2FieldColumns",(function(){return Ga})),o.d(n,"cssStyleElementForm2StoryButtonHeight",(function(){return Ua})),o.d(n,"cssStyleElementLoginFormMargin",(function(){return Ka})),o.d(n,"cssStyleElementLoginFieldPadding",(function(){return Ya})),o.d(n,"cssStyleElementLoginLostPasswordColor",(function(){return er})),o.d(n,"cssStyleElementLoginLostPasswordAlign",(function(){return tr})),o.d(n,"cssStyleElementLoginRememberMeAlign",(function(){return or})),o.d(n,"cssStyleElementLoginLostPasswordTypography2FontFamily",(function(){return qa})),o.d(n,"cssStyleElementLoginLostPasswordTypography2FontSize",(function(){return Xa})),o.d(n,"cssStyleElementLoginLostPasswordTypography2FontWeight",(function(){return Ja})),o.d(n,"cssStyleElementLoginLostPasswordTypography2LetterSpacing",(function(){return Qa})),o.d(n,"cssStyleElementLoginLostPasswordTypography2LineHeight",(function(){return Za})),o.d(n,"cssStyleElementLoginAutorizedAlign",(function(){return nr})),o.d(n,"cssStyleElementLoginTextTypography2FontFamily",(function(){return ar})),o.d(n,"cssStyleElementLoginTextTypography2FontSize",(function(){return rr})),o.d(n,"cssStyleElementLoginTextTypography2LineHeight",(function(){return ir})),o.d(n,"cssStyleElementLoginTextTypography2FontWeight",(function(){return lr})),o.d(n,"cssStyleElementLoginTextTypography2LetterSpacing",(function(){return sr})),o.d(n,"cssStyleElementLoginTextColor",(function(){return cr})),o.d(n,"cssStyleElementLoginLinkColor",(function(){return dr})),o.d(n,"cssStyleElementLoginRegisterInfoTypography2FontFamily",(function(){return ur})),o.d(n,"cssStyleElementLoginRegisterInfoTypography2FontSize",(function(){return pr})),o.d(n,"cssStyleElementLoginRegisterInfoTypography2LineHeight",(function(){return br})),o.d(n,"cssStyleElementLoginRegisterInfoTypography2FontWeight",(function(){return mr})),o.d(n,"cssStyleElementLoginRegisterInfoTypography2LetterSpacing",(function(){return hr})),o.d(n,"cssStyleElementRegisterInfoColor",(function(){return gr})),o.d(n,"cssStyleElementRegisterInfoAlign",(function(){return vr})),o.d(n,"cssStyleElementLoginRegisterLinkTypography2FontFamily",(function(){return fr})),o.d(n,"cssStyleElementLoginRegisterLinkTypography2FontSize",(function(){return yr})),o.d(n,"cssStyleElementLoginRegisterLinkTypography2LineHeight",(function(){return Or})),o.d(n,"cssStyleElementLoginRegisterLinkTypography2FontWeight",(function(){return Sr})),o.d(n,"cssStyleElementLoginRegisterLinkTypography2LetterSpacing",(function(){return xr})),o.d(n,"cssStyleElementLoginRegisterLinkColor",(function(){return Cr})),o.d(n,"cssStyleElementLoginRegisterLinkAlign",(function(){return jr})),o.d(n,"cssStyleElementLoginLoginLinkTypography2FontFamily",(function(){return Pr})),o.d(n,"cssStyleElementLoginLoginLinkTypography2FontSize",(function(){return Br})),o.d(n,"cssStyleElementLoginLoginLinkTypography2LineHeight",(function(){return wr})),o.d(n,"cssStyleElementLoginLoginLinkTypography2FontWeight",(function(){return Tr})),o.d(n,"cssStyleElementLoginLoginLinkTypography2LetterSpacing",(function(){return zr})),o.d(n,"cssStyleElementLoginLoginLinkColor",(function(){return Er})),o.d(n,"cssStyleElementLoginLoginLinkAlign",(function(){return kr})),o.d(n,"cssStyleElementPostInfoColorText",(function(){return Fr})),o.d(n,"cssStyleElementPostInfoColorIcons",(function(){return Hr})),o.d(n,"cssStyleElementPostInfoSpacing",(function(){return _r})),o.d(n,"cssStyleElementPostNavigation2TitleFontFamily",(function(){return Rr})),o.d(n,"cssStyleElementPostNavigation2TitleFontSize",(function(){return Lr})),o.d(n,"cssStyleElementPostNavigation2TitleLineHeight",(function(){return Mr})),o.d(n,"cssStyleElementPostNavigation2TitleFontWeight",(function(){return Wr})),o.d(n,"cssStyleElementPostNavigation2TitleLetterSpacing",(function(){return Ir})),o.d(n,"cssStyleElementPostNavigation2PostFontFamily",(function(){return Nr})),o.d(n,"cssStyleElementPostNavigation2PostFontSize",(function(){return Ar})),o.d(n,"cssStyleElementPostNavigation2PostLineHeight",(function(){return Vr})),o.d(n,"cssStyleElementPostNavigation2PostFontWeight",(function(){return Dr})),o.d(n,"cssStyleElementPostNavigation2PostLetterSpacing",(function(){return $r})),o.d(n,"cssStyleElementPostNavigationColorTitle",(function(){return Gr})),o.d(n,"cssStyleElementPostNavigationColorPost",(function(){return Ur})),o.d(n,"cssStyleElementPostNavigationSpacing",(function(){return Kr})),o.d(n,"cssStyleElementPostNavigationSeparationHeight",(function(){return Yr})),o.d(n,"cssStyleElementPostNavigationShowSeparation",(function(){return qr})),o.d(n,"cssStyleElementStarRatingRatingColor",(function(){return Xr})),o.d(n,"cssStyleElementStarRatingRatingBackgroundColor",(function(){return Zr})),o.d(n,"cssStyleElementStarRatingPropertyHoverTransition",(function(){return ei})),o.d(n,"cssStyleElementStarRatingTextSpacing",(function(){return oi})),o.d(n,"cssStyleElementStarRatingStyle2Background",(function(){return Jr})),o.d(n,"cssStyleElementStarRatingStyle2BorderRadius",(function(){return Qr})),o.d(n,"cssStyleElementStarRatingDirection",(function(){return ti})),o.d(n,"cssStyleElementTimelineTabContentArrowColor",(function(){return Ni})),o.d(n,"cssStyleElementTimelineTabContentArrowCustomColor",(function(){return Ai})),o.d(n,"cssStyleElementTimelineTabContentArrowCustomColor1",(function(){return Vi})),o.d(n,"cssStyleElementTimelineBeforeDisplay",(function(){return Ci})),o.d(n,"cssStyleElementTimelineCustomLineOdd",(function(){return ki})),o.d(n,"cssStyleElementTimelineVerticalTab",(function(){return el})),o.d(n,"cssStyleElementTimelineVerticalLastTab",(function(){return tl})),o.d(n,"cssStyleElementTimelineTabsVerticalContent",(function(){return Qi})),o.d(n,"cssStyleElementTimelineTabsVerticalNavIcon",(function(){return Ji})),o.d(n,"cssStyleElementTimelineTabsHorizontalStyle3",(function(){return Zi})),o.d(n,"cssStyleElementTimelineTabHorizontalStyle3Odd",(function(){return Xi})),o.d(n,"cssStyleElementTimelineTabCustomStyle",(function(){return qi})),o.d(n,"cssStyleElementTimelineContentBeforeStyle3",(function(){return Ui})),o.d(n,"cssStyleElementTimelineVerticalTabBeforeNone",(function(){return ol})),o.d(n,"cssStyleElementTimelineVerticalTabBeforeStyle3",(function(){return nl})),o.d(n,"cssStyleElementTimelineNavTitleStyle3",(function(){return Yi})),o.d(n,"cssStyleElementTimelineTab",(function(){return $i})),o.d(n,"cssStyleElementTimelineTabs",(function(){return Di})),o.d(n,"cssStyleElementTimelineTabContentBefore",(function(){return Gi})),o.d(n,"cssStyleElementTimelineNavTitleSpacing",(function(){return Ki})),o.d(n,"cssStyleElementTimelineWidth",(function(){return Ii})),o.d(n,"cssStyleElementTimelineIconSize",(function(){return si})),o.d(n,"cssStyleElementTimelineIconWidth",(function(){return di})),o.d(n,"cssStyleElementTimelineIconHeight",(function(){return ui})),o.d(n,"cssStyleElementTimelineIconBorderRadius",(function(){return fi})),o.d(n,"cssStyleElementTimelineNavTitleWidth",(function(){return pi})),o.d(n,"cssStyleElementTimelineLineBgColor",(function(){return mi})),o.d(n,"cssStyleElementTimelineLineTop",(function(){return hi})),o.d(n,"cssStyleElementTimelineArrowBorder",(function(){return vi})),o.d(n,"cssStyleElementTimelineVerticalCustomTabPositionOdd",(function(){return Ri})),o.d(n,"cssStyleElementTimelineContentSpacing",(function(){return gi})),o.d(n,"cssStyleElementTimelineVerticalCustomContentSpacing",(function(){return Wi})),o.d(n,"cssStyleElementTimelinePaddingForIcon",(function(){return ci})),o.d(n,"cssStyleElementTimelineNavTitleVisible",(function(){return bi})),o.d(n,"cssStyleElementTimelineVerticalPosition",(function(){return yi})),o.d(n,"cssStyleElementTimelineLineWidthHeightBefore",(function(){return Oi})),o.d(n,"cssStyleElementTimelineLineWidthHeightAfter",(function(){return Si})),o.d(n,"cssStyleElementTimelineVerticalLinePosition",(function(){return xi})),o.d(n,"cssStyleElementTimelineVerticalLineTopPosition",(function(){return ji})),o.d(n,"cssStyleElementTimelineVerticalLineBottomPosition",(function(){return Pi})),o.d(n,"cssStyleElementTimelineCustomTabWidth",(function(){return Bi})),o.d(n,"cssStyleElementTimelineCustomLastTabWidth",(function(){return wi})),o.d(n,"cssStyleElementTimelineVerticalInvertPosition",(function(){return Ti})),o.d(n,"cssStyleElementTimelineVerticalInvertLinePosition",(function(){return zi})),o.d(n,"cssStyleElementTimelineCustomLineTop",(function(){return Ei})),o.d(n,"cssStyleElementTimelineCustomContentSpacing",(function(){return Hi})),o.d(n,"cssStyleElementTimelineCustomContentBottomSpacing",(function(){return Fi})),o.d(n,"cssStyleElementTimelineVerticalCustomTabPosition",(function(){return _i})),o.d(n,"cssStyleElementTimelineVerticalCustomPosition",(function(){return Li})),o.d(n,"cssStyleElementTimelineVerticalStyle3ArrowPosition",(function(){return Mi})),o.d(n,"cssStyleElementSwitcherNavSpacing",(function(){return ll})),o.d(n,"cssStyleElementSwitcherNavBeforeBg",(function(){return il})),o.d(n,"cssStyleElementSwitcherActiveTextColor",(function(){return sl})),o.d(n,"cssStyleElementSwitcherNav2Width",(function(){return al})),o.d(n,"cssStyleElementSwitcherNav2Height",(function(){return rl})),o.d(n,"cssStyleElementSwitcherWidth",(function(){return cl})),o.d(n,"cssStyleElementWPPostContentH1Color",(function(){return dl})),o.d(n,"cssStyleElementWPPostContentH2Color",(function(){return ul})),o.d(n,"cssStyleElementWPPostContentH3Color",(function(){return pl})),o.d(n,"cssStyleElementWPPostContentH4Color",(function(){return bl})),o.d(n,"cssStyleElementWPPostContentH5Color",(function(){return ml})),o.d(n,"cssStyleElementWPPostContentH6Color",(function(){return hl})),o.d(n,"cssStyleElementWPPostContentParagraphColor",(function(){return gl})),o.d(n,"cssStyleElementWPPostContentTypography2ParagraphFontFamily",(function(){return vl})),o.d(n,"cssStyleElementWPPostContentTypography2ParagraphFontSize",(function(){return fl})),o.d(n,"cssStyleElementWPPostContentTypography2ParagraphLineHeight",(function(){return yl})),o.d(n,"cssStyleElementWPPostContentTypography2ParagraphFontWeight",(function(){return Ol})),o.d(n,"cssStyleElementWPPostContentTypography2ParagraphLetterSpacing",(function(){return Sl})),o.d(n,"cssStyleElementWPPostContentTypography2H1FontFamily",(function(){return xl})),o.d(n,"cssStyleElementWPPostContentTypography2H1FontSize",(function(){return Cl})),o.d(n,"cssStyleElementWPPostContentTypography2H1LineHeight",(function(){return jl})),o.d(n,"cssStyleElementWPPostContentTypography2H1FontWeight",(function(){return Pl})),o.d(n,"cssStyleElementWPPostContentTypography2H1LetterSpacing",(function(){return Bl})),o.d(n,"cssStyleElementWPPostContentTypography2H2FontFamily",(function(){return wl})),o.d(n,"cssStyleElementWPPostContentTypography2H2FontSize",(function(){return Tl})),o.d(n,"cssStyleElementWPPostContentTypography2H2LineHeight",(function(){return zl})),o.d(n,"cssStyleElementWPPostContentTypography2H2FontWeight",(function(){return El})),o.d(n,"cssStyleElementWPPostContentTypography2H2LetterSpacing",(function(){return kl})),o.d(n,"cssStyleElementWPPostContentTypography2H3FontFamily",(function(){return Hl})),o.d(n,"cssStyleElementWPPostContentTypography2H3FontSize",(function(){return Fl})),o.d(n,"cssStyleElementWPPostContentTypography2H3LineHeight",(function(){return _l})),o.d(n,"cssStyleElementWPPostContentTypography2H3FontWeight",(function(){return Rl})),o.d(n,"cssStyleElementWPPostContentTypography2H3LetterSpacing",(function(){return Ll})),o.d(n,"cssStyleElementWPPostContentTypography2H4FontFamily",(function(){return Ml})),o.d(n,"cssStyleElementWPPostContentTypography2H4FontSize",(function(){return Wl})),o.d(n,"cssStyleElementWPPostContentTypography2H4LineHeight",(function(){return Il})),o.d(n,"cssStyleElementWPPostContentTypography2H4FontWeight",(function(){return Nl})),o.d(n,"cssStyleElementWPPostContentTypography2H4LetterSpacing",(function(){return Al})),o.d(n,"cssStyleElementWPPostContentTypography2H5FontFamily",(function(){return Vl})),o.d(n,"cssStyleElementWPPostContentTypography2H5FontSize",(function(){return Dl})),o.d(n,"cssStyleElementWPPostContentTypography2H5LineHeight",(function(){return $l})),o.d(n,"cssStyleElementWPPostContentTypography2H5FontWeight",(function(){return Gl})),o.d(n,"cssStyleElementWPPostContentTypography2H5LetterSpacing",(function(){return Ul})),o.d(n,"cssStyleElementWPPostContentTypography2H6FontFamily",(function(){return Kl})),o.d(n,"cssStyleElementWPPostContentTypography2H6FontSize",(function(){return Yl})),o.d(n,"cssStyleElementWPPostContentTypography2H6LineHeight",(function(){return ql})),o.d(n,"cssStyleElementWPPostContentTypography2H6FontWeight",(function(){return Xl})),o.d(n,"cssStyleElementWPPostContentTypography2H6LetterSpacing",(function(){return Zl})),o.d(n,"cssStyleElementWPPostContentFontWeightInherit",(function(){return Jl})),o.d(n,"cssStyleElementWOOPriceColorSale",(function(){return Ql})),o.d(n,"cssStyleElementWOOPriceSaleFontFamily",(function(){return es})),o.d(n,"cssStyleElementWOOPriceSaleFontSize",(function(){return ts})),o.d(n,"cssStyleElementWOOPriceSaleLineHeight",(function(){return os})),o.d(n,"cssStyleElementWOOPriceSaleFontWeight",(function(){return ns})),o.d(n,"cssStyleElementWOOPriceSaleLetterSpacing",(function(){return as})),o.d(n,"cssStyleElementWOOPriceColumn",(function(){return rs})),o.d(n,"cssStyleElementWOOPriceSpacingFirst",(function(){return is})),o.d(n,"cssStyleElementWOOPriceSpacingLast",(function(){return ls})),o.d(n,"cssStyleElementWOOAdditionalTitleFontFamily",(function(){return ss})),o.d(n,"cssStyleElementWOOAdditionalTitleFontSize",(function(){return cs})),o.d(n,"cssStyleElementWOOAdditionalTitleLineHeight",(function(){return ds})),o.d(n,"cssStyleElementWOOAdditionalTitleFontWeight",(function(){return us})),o.d(n,"cssStyleElementWOOAdditionalTitleLetterSpacing",(function(){return ps})),o.d(n,"cssStyleElementWOOAdditionalTitleColor",(function(){return bs})),o.d(n,"cssStyleElementWOOAdditionalTitleSpacing",(function(){return ms})),o.d(n,"cssStyleElementWOOAttributesAttributesFontFamily",(function(){return hs})),o.d(n,"cssStyleElementWOOAttributesAttributesFontSize",(function(){return gs})),o.d(n,"cssStyleElementWOOAttributesAttributesLineHeight",(function(){return vs})),o.d(n,"cssStyleElementWOOAttributesAttributesFontWeight",(function(){return fs})),o.d(n,"cssStyleElementWOOAttributesAttributesLetterSpacing",(function(){return ys})),o.d(n,"cssStyleElementWOOAttributesSpacing",(function(){return Os})),o.d(n,"cssStyleElementWOOAttributesAttributeColor",(function(){return Ss})),o.d(n,"cssStyleElementWOOAttributesBorder",(function(){return xs})),o.d(n,"cssStyleElementWOOAttributesLastElementBorder",(function(){return Cs})),o.d(n,"cssStyleElementPostsItemWidth",(function(){return Ps})),o.d(n,"cssStyleElementPostsItemSpacing",(function(){return Bs})),o.d(n,"cssStyleElementPostsPaginationSpacing",(function(){return ws})),o.d(n,"cssStyleElementPostsPaginationFontFamily",(function(){return Ts})),o.d(n,"cssStyleElementPostsPaginationFontSize",(function(){return zs})),o.d(n,"cssStyleElementPostsPaginationLineHeight",(function(){return Es})),o.d(n,"cssStyleElementPostsPaginationFontWeight",(function(){return ks})),o.d(n,"cssStyleElementPostsPaginationLetterSpacing",(function(){return Hs})),o.d(n,"cssStyleElementPostsPaginationColor",(function(){return Fs})),o.d(n,"cssStyleElementPostsPaginationBgColor",(function(){return _s})),o.d(n,"cssStyleElementPostsPaginationBorder",(function(){return Rs})),o.d(n,"cssStyleElementPostsPaginationActiveColor",(function(){return Ls})),o.d(n,"cssStyleElementPostsPaginationActiveBgColor",(function(){return Ms})),o.d(n,"cssStyleElementPostsPaginationActiveBorder",(function(){return Ws})),o.d(n,"cssStyleElementPostsPaginationBorderRadius",(function(){return Is})),o.d(n,"cssStyleElementPostsFilterDisplay",(function(){return Ns})),o.d(n,"cssStyleElementPostsFilterHorizontalAlign",(function(){return As})),o.d(n,"cssStyleElementPostsFilterSpacing",(function(){return Vs})),o.d(n,"cssStyleElementPostsFilterAfterSpacing",(function(){return Ds})),o.d(n,"cssStyleElementPostsFilterFontFamily",(function(){return $s})),o.d(n,"cssStyleElementPostsFilterFontSize",(function(){return Gs})),o.d(n,"cssStyleElementPostsFilterLineHeight",(function(){return Us})),o.d(n,"cssStyleElementPostsFilterFontWeight",(function(){return Ks})),o.d(n,"cssStyleElementPostsFilterLetterSpacing",(function(){return Ys})),o.d(n,"cssStyleElementPostsFilterColor",(function(){return qs})),o.d(n,"cssStyleElementPostsFilterBgColor",(function(){return Xs})),o.d(n,"cssStyleElementPostsFilterBorder",(function(){return Zs})),o.d(n,"cssStyleElementPostsFilterBorderRadius",(function(){return Js})),o.d(n,"cssStyleElementPostsFilterShadow",(function(){return Qs})),o.d(n,"cssStyleElementPostsFilterPaddingFourFields",(function(){return ec})),o.d(n,"cssStyleElementPostsFilterActiveColor",(function(){return tc})),o.d(n,"cssStyleElementPostsFilterActiveBgColor",(function(){return oc})),o.d(n,"cssStyleElementPostsFilterActiveBorder",(function(){return nc})),o.d(n,"cssStyleElementPostsFilterActiveShadow",(function(){return ac})),o.d(n,"cssStyleElementPostsHoverTransition",(function(){return rc})),o.d(n,"cssStyleElementAccordion3FontFamily",(function(){return Bc})),o.d(n,"cssStyleElementAccordion3FontSize",(function(){return wc})),o.d(n,"cssStyleElementAccordion3LineHeight",(function(){return Tc})),o.d(n,"cssStyleElementAccordion3FontWeight",(function(){return zc})),o.d(n,"cssStyleElementAccordion3LetterSpacing",(function(){return Ec})),o.d(n,"cssStyleElementAccordionFilterColor",(function(){return lc})),o.d(n,"cssStyleElementAccordionFilterBgColor",(function(){return pc})),o.d(n,"cssStyleElementAccordionFilterBorder",(function(){return bc})),o.d(n,"cssStyleElementAccordionFilterBorderRadius",(function(){return mc})),o.d(n,"cssStyleElementAccordionFilterShadow",(function(){return hc})),o.d(n,"cssStyleElementAccordionMarginTop",(function(){return gc})),o.d(n,"cssStyleElementAccordionSpacing",(function(){return vc})),o.d(n,"cssStyleElementAccordionFilterSpacing",(function(){return fc})),o.d(n,"cssStyleElementAccordionFilterAfterSpacing",(function(){return yc})),o.d(n,"cssStyleElementAccordionNavAlign",(function(){return Oc})),o.d(n,"cssStyleElementAccordionNavTextAlign",(function(){return Sc})),o.d(n,"cssStyleElementAccordionNavIconSpacing",(function(){return xc})),o.d(n,"cssStyleElementAccordionNavIconSize",(function(){return Cc})),o.d(n,"cssStyleElementAccordionFilterHorizontalAlign",(function(){return jc})),o.d(n,"cssStyleElementAccordionFilterPaddingFourFields",(function(){return Pc})),o.d(n,"cssStyleElementAccordionFilterActiveColor",(function(){return sc})),o.d(n,"cssStyleElementAccordionFilterActiveBgColor",(function(){return cc})),o.d(n,"cssStyleElementAccordionFilterActiveBorder",(function(){return dc})),o.d(n,"cssStyleElementAccordionFilterActiveShadow",(function(){return uc})),o.d(n,"cssStyleElementAccordionActiveColor",(function(){return kc})),o.d(n,"cssStyleElementAccordionActiveBgColor",(function(){return Hc})),o.d(n,"cssStyleElementAccordionActiveBorder",(function(){return Fc})),o.d(n,"cssStyleElementAccordionActiveShadow",(function(){return _c})),o.d(n,"cssStyleElementAccordionAnimDuration",(function(){return Rc})),o.d(n,"cssStyleElementAccordionPropertyHoverTransition",(function(){return Lc})),o.d(n,"cssStyleElementTabsBtnSpacing",(function(){return Mc})),o.d(n,"cssStyleElementTabsBtnIconSize",(function(){return Wc})),o.d(n,"cssStyleElementTabsBtnActiveBorderBottomColor",(function(){return Ic})),o.d(n,"cssStyleElementTabsBtnActiveBorderRightColor",(function(){return Nc})),o.d(n,"cssStyleElementTabsBtnActiveBorderLeftColor",(function(){return Ac})),o.d(n,"cssStyleElementTabsActiveBeforeAfterColor",(function(){return Vc})),o.d(n,"cssStyleElementTabsActiveBeforeHeight",(function(){return Dc})),o.d(n,"cssStyleElementTabsActiveBeforeWidth",(function(){return $c})),o.d(n,"cssStyleElementTabsBeforeAfterRightWidth",(function(){return Gc})),o.d(n,"cssStyleElementTabsBeforeAfterLeftWidth",(function(){return Uc})),o.d(n,"cssStyleElementTabsBorderMobileWidth",(function(){return Kc})),o.d(n,"cssStyleElementTabsEmptyContent",(function(){return Yc})),o.d(n,"cssStyleElementTabsBtnIconPosition",(function(){return qc})),o.d(n,"cssStyleElementTabsBtnIconJustifyContent",(function(){return Xc})),o.d(n,"cssStyleElementTabsBeforeAfterTop",(function(){return Zc})),o.d(n,"cssStyleElementTabsBeforeAfterBottom",(function(){return Jc})),o.d(n,"cssStyleElementTabsAfterSpacing",(function(){return Qc})),o.d(n,"cssStyleElementTabsSpacing",(function(){return td})),o.d(n,"cssStyleElementTabsAfterSpacingVertical",(function(){return ed})),o.d(n,"cssStyleElementTabsNavAlign",(function(){return od})),o.d(n,"cssStyleElementTabsNavBorderBottom",(function(){return ad})),o.d(n,"cssStyleElementTabsNavStyle3Before",(function(){return rd})),o.d(n,"cssStyleElementTabsPadding",(function(){return nd})),o.d(n,"cssStyleElementTabsActiveColor",(function(){return id})),o.d(n,"cssStyleElementTabsActiveBgColor",(function(){return ld})),o.d(n,"cssStyleElementTabsActiveBorder",(function(){return cd})),o.d(n,"cssStyleElementTabsActiveShadow",(function(){return sd})),o.d(n,"cssStyleElementTabsContentBgColor",(function(){return dd})),o.d(n,"cssStyleElementTabsContentBorder",(function(){return ud})),o.d(n,"cssStyleElementTabsContentShadow",(function(){return pd})),o.d(n,"cssStyleElementCommentsNameFontFamily",(function(){return bd})),o.d(n,"cssStyleElementCommentsNameFontSize",(function(){return md})),o.d(n,"cssStyleElementCommentsNameLineHeight",(function(){return hd})),o.d(n,"cssStyleElementCommentsNameFontWeight",(function(){return gd})),o.d(n,"cssStyleElementCommentsNameLetterSpacing",(function(){return vd})),o.d(n,"cssStyleElementCommentsDateFontFamily",(function(){return Cd})),o.d(n,"cssStyleElementCommentsDateFontSize",(function(){return jd})),o.d(n,"cssStyleElementCommentsDateLineHeight",(function(){return Pd})),o.d(n,"cssStyleElementCommentsDateFontWeight",(function(){return Bd})),o.d(n,"cssStyleElementCommentsDateLetterSpacing",(function(){return wd})),o.d(n,"cssStyleElementCommentsCommentFontFamily",(function(){return fd})),o.d(n,"cssStyleElementCommentsCommentFontSize",(function(){return yd})),o.d(n,"cssStyleElementCommentsCommentLineHeight",(function(){return Od})),o.d(n,"cssStyleElementCommentsCommentFontWeight",(function(){return Sd})),o.d(n,"cssStyleElementCommentsCommentLetterSpacing",(function(){return xd})),o.d(n,"cssStyleElementCommentsReplyFontFamily",(function(){return Td})),o.d(n,"cssStyleElementCommentsReplyFontSize",(function(){return zd})),o.d(n,"cssStyleElementCommentsReplyLineHeight",(function(){return Ed})),o.d(n,"cssStyleElementCommentsReplyFontWeight",(function(){return kd})),o.d(n,"cssStyleElementCommentsReplyLetterSpacing",(function(){return Hd})),o.d(n,"cssStyleElementCommentsPostButtonFontFamily",(function(){return Fd})),o.d(n,"cssStyleElementCommentsPostButtonFontSize",(function(){return _d})),o.d(n,"cssStyleElementCommentsPostButtonLineHeight",(function(){return Rd})),o.d(n,"cssStyleElementCommentsPostButtonFontWeight",(function(){return Ld})),o.d(n,"cssStyleElementCommentsPostButtonLetterSpacing",(function(){return Md})),o.d(n,"cssStyleElementCommentsLogoSize",(function(){return Wd})),o.d(n,"cssStyleElementCommentsWidthContainer",(function(){return Id})),o.d(n,"cssStyleElementCommentsPostButtonColor",(function(){return Nd})),o.d(n,"cssStyleElementCommentsPostButtonBg",(function(){return Ad})),o.d(n,"cssStyleElementCommentsColorLink",(function(){return Vd})),o.d(n,"cssStyleElementCommentsNameColor",(function(){return Dd})),o.d(n,"cssStyleElementCommentsCommentsColor",(function(){return $d})),o.d(n,"cssStyleElementCommentsChildMargin",(function(){return Gd})),o.d(n,"cssStyleElementCommentsStarsColor",(function(){return Ud})),o.d(n,"cssStyleElementCommentsStarsBgColor",(function(){return Kd})),o.d(n,"cssStyleElementCommentsStarsSize",(function(){return Yd})),o.d(n,"cssStyleElementSearchAutocompleteColor",(function(){return qd})),o.d(n,"cssStyleElementSearchMinWidth",(function(){return Xd})),o.d(n,"cssStyleElementSearchMinHeight",(function(){return Zd})),o.d(n,"cssStyleElementSearchPropertyHoverTransition",(function(){return Jd})),o.d(n,"cssStyleElementSearchLineHeight",(function(){return Qd})),o.d(n,"cssStyleElementWOOProductMetaType",(function(){return eu})),o.d(n,"cssStyleElementWOOProductMetaCategoryFontFamily",(function(){return tu})),o.d(n,"cssStyleElementWOOProductMetaCategoryFontSize",(function(){return ou})),o.d(n,"cssStyleElementWOOProductMetaCategoryLineHeight",(function(){return nu})),o.d(n,"cssStyleElementWOOProductMetaCategoryFontWeight",(function(){return au})),o.d(n,"cssStyleElementWOOProductMetaCategoryLetterSpacing",(function(){return ru})),o.d(n,"cssStyleElementWOOProductMetaValueFontFamily",(function(){return iu})),o.d(n,"cssStyleElementWOOProductMetaValueFontSize",(function(){return lu})),o.d(n,"cssStyleElementWOOProductMetaValueLineHeight",(function(){return su})),o.d(n,"cssStyleElementWOOProductMetaValueFontWeight",(function(){return cu})),o.d(n,"cssStyleElementWOOProductMetaValueLetterSpacing",(function(){return du})),o.d(n,"cssStyleElementWOOProductMetaTopSpacing",(function(){return uu})),o.d(n,"cssStyleElementWOOProductMetaRightSpacing",(function(){return pu})),o.d(n,"cssStyleElementWOOProductMetaRightSpacingInline",(function(){return bu})),o.d(n,"cssStyleElementWOOProductMetaCategoryColor",(function(){return mu})),o.d(n,"cssStyleElementWOOProductMetaValueColor",(function(){return hu})),o.d(n,"cssStyleElementWOOProductMetaDividers",(function(){return gu})),o.d(n,"cssStyleElementWOORatingSize",(function(){return vu})),o.d(n,"cssStyleElementWOORatingTextColor",(function(){return fu})),o.d(n,"cssStyleElementWOORatingSpacing",(function(){return yu})),o.d(n,"cssStyleElementWOORatingBgStarColor",(function(){return Ou})),o.d(n,"cssStyleElementWOOCartIconColor",(function(){return Su})),o.d(n,"cssStyleElementWOOCartSubtotalDisabled",(function(){return xu})),o.d(n,"cssStyleElementWOOCartPurchasesDisabled",(function(){return Cu})),o.d(n,"cssStyleElementWOOCartTransitionProperty",(function(){return ju})),o.d(n,"cssStyleElementWOOCartPurchasesColor",(function(){return Pu})),o.d(n,"cssStyleElementWOOCartPurchasesFontFamily",(function(){return Bu})),o.d(n,"cssStyleElementWOOCartPurchasesFontSize",(function(){return wu})),o.d(n,"cssStyleElementWOOCartPurchasesLineHeight",(function(){return Tu})),o.d(n,"cssStyleElementWOOCartPurchasesFontWeight",(function(){return zu})),o.d(n,"cssStyleElementWOOCartPurchasesLetterSpacing",(function(){return Eu})),o.d(n,"cssStyleElementWOOCartTitleFontFamily",(function(){return ku})),o.d(n,"cssStyleElementWOOCartTitleFontSize",(function(){return Hu})),o.d(n,"cssStyleElementWOOCartTitleLineHeight",(function(){return Fu})),o.d(n,"cssStyleElementWOOCartTitleFontWeight",(function(){return _u})),o.d(n,"cssStyleElementWOOCartTitleLetterSpacing",(function(){return Ru})),o.d(n,"cssStyleElementWOOCartCostFontFamily",(function(){return Lu})),o.d(n,"cssStyleElementWOOCartCostFontSize",(function(){return Mu})),o.d(n,"cssStyleElementWOOCartCostLineHeight",(function(){return Wu})),o.d(n,"cssStyleElementWOOCartCostFontWeight",(function(){return Iu})),o.d(n,"cssStyleElementWOOCartCostLetterSpacing",(function(){return Nu})),o.d(n,"cssStyleElementWOOCartSubtotalFontFamily",(function(){return Au})),o.d(n,"cssStyleElementWOOCartSubtotalFontSize",(function(){return Vu})),o.d(n,"cssStyleElementWOOCartSubtotalLineHeight",(function(){return Du})),o.d(n,"cssStyleElementWOOCartSubtotalFontWeight",(function(){return $u})),o.d(n,"cssStyleElementWOOCartSubtotalLetterSpacing",(function(){return Gu})),o.d(n,"cssStyleElementWOOCartButtonFontFamily",(function(){return Uu})),o.d(n,"cssStyleElementWOOCartButtonFontSize",(function(){return Ku})),o.d(n,"cssStyleElementWOOCartButtonLineHeight",(function(){return Yu})),o.d(n,"cssStyleElementWOOCartButtonFontWeight",(function(){return qu})),o.d(n,"cssStyleElementWOOCartButtonLetterSpacing",(function(){return Xu})),o.d(n,"cssStyleElementWOOCartTitleColor",(function(){return Zu})),o.d(n,"cssStyleElementWOOCartCostColor",(function(){return Ju})),o.d(n,"cssStyleElementWOOCartSubtotalColor",(function(){return Qu})),o.d(n,"cssStyleElementWOOCartButtonColor",(function(){return ep})),o.d(n,"cssStyleElementWOOCartButtonBgColor",(function(){return tp})),o.d(n,"cssStyleElementWOOCartButtonDirection",(function(){return op})),o.d(n,"cssStyleElementWOOCartButtonSpacing",(function(){return np})),o.d(n,"cssStyleElementWOOCartButtonBorderRadius",(function(){return ap})),o.d(n,"cssStyleElementWOOCartSidebarHorizontalAlign",(function(){return rp})),o.d(n,"cssStyleElementWOOCartSidebarVerticalAlign",(function(){return ip})),o.d(n,"cssStyleElementWOOCartSidebarWidth",(function(){return lp})),o.d(n,"cssStyleElementWOOCartSidebarHeight",(function(){return sp})),o.d(n,"cssStyleElementWOOCartBubbleColor",(function(){return cp})),o.d(n,"cssStyleElementWOOCartBubbleBg",(function(){return dp})),o.d(n,"cssStyleWrapperCustomHeight",(function(){return pp})),o.d(n,"cssStyleWrapperContainerFlex",(function(){return hp})),o.d(n,"cssStyleWrapperFixedFlex",(function(){return bp})),o.d(n,"cssStyleWrapperBorderFlex",(function(){return mp})),o.d(n,"cssStyleWrapperContainerSize",(function(){return gp})),o.d(n,"cssStyleElementMenuAlign",(function(){return vp})),o.d(n,"cssStyleElementMenuMode",(function(){return Cp})),o.d(n,"cssStyleElementMenuSize",(function(){return jp})),o.d(n,"cssStyleElementMenuDropdown",(function(){return xb})),o.d(n,"cssStyleElementMenuDropdownOpened",(function(){return jb})),o.d(n,"cssStyleElementMenuInnerDropdown",(function(){return Cb})),o.d(n,"cssStyleElementMenuDropdownInnerOpened",(function(){return Pb})),o.d(n,"cssStyleElementMenuDropdownArrow",(function(){return Bb})),o.d(n,"cssStyleElementMenuShow",(function(){return xp})),o.d(n,"cssStyleElementMenuShowIcon",(function(){return Sp})),o.d(n,"cssStyleElementMenuIconPosition",(function(){return fp})),o.d(n,"cssStyleElementMenuIconSpacing",(function(){return yp})),o.d(n,"cssStyleElementMenuIconSize",(function(){return Op})),o.d(n,"cssStyleElementMenuBgColor",(function(){return Pp})),o.d(n,"cssStyleElementMenuLinkBgColor",(function(){return Bp})),o.d(n,"cssStyleElementMenuPadding",(function(){return Tp})),o.d(n,"cssStyleElementMenuActiveColor",(function(){return zp})),o.d(n,"cssStyleElementMenuActiveBgColor",(function(){return kp})),o.d(n,"cssStyleElementMenuActiveLinkBgColor",(function(){return Ep})),o.d(n,"cssStyleElementMenuActiveBorder",(function(){return Hp})),o.d(n,"cssStyleElementMenuCurrentColor",(function(){return Fp})),o.d(n,"cssStyleElementMenuCurrentLinkBgColor",(function(){return Rp})),o.d(n,"cssStyleElementMenuCurrentBgColor",(function(){return _p})),o.d(n,"cssStyleElementMenuCurrentBorder",(function(){return Lp})),o.d(n,"cssStyleElementMenuBorder",(function(){return wp})),o.d(n,"cssStyleElementMMenuFontFamily",(function(){return Wp})),o.d(n,"cssStyleElementMMenuFontSize",(function(){return Ip})),o.d(n,"cssStyleElementMMenuLineHeight",(function(){return Np})),o.d(n,"cssStyleElementMMenuFontWeight",(function(){return Ap})),o.d(n,"cssStyleElementMMenuLetterSpacing",(function(){return Vp})),o.d(n,"cssStyleElementMMenuColor",(function(){return Dp})),o.d(n,"cssStyleElementMMenuHoverColor",(function(){return $p})),o.d(n,"cssStyleElementMMenuActiveColor",(function(){return Gp})),o.d(n,"cssStyleElementMMenuBorderColor",(function(){return Up})),o.d(n,"cssStyleElementMMenuBackgroundColor",(function(){return Kp})),o.d(n,"cssStyleElementMMenuItemHorizontalAlign",(function(){return Yp})),o.d(n,"cssStyleElementMMenuIconColor",(function(){return qp})),o.d(n,"cssStyleElementMMenuSize",(function(){return Mp})),o.d(n,"cssStyleElementMMenuIconPosition",(function(){return Jp})),o.d(n,"cssStyleElementMMenuIconSpacing",(function(){return Xp})),o.d(n,"cssStyleElementMMenuIconSize",(function(){return Zp})),o.d(n,"cssStyleElementMMenuBtnNext",(function(){return Qp})),o.d(n,"cssStyleElementMMenuListViewMargin",(function(){return eb})),o.d(n,"cssStyleElementMMenuItemPadding",(function(){return tb})),o.d(n,"cssStyleElementMMenuItemPaddingTopZero",(function(){return ob})),o.d(n,"cssStyleElementMMenuItemPaddingBottomZero",(function(){return nb})),o.d(n,"cssStyleElementMMenuPadding",(function(){return ab})),o.d(n,"cssStyleElementMenuSubMenuFontFamily",(function(){return rb})),o.d(n,"cssStyleElementMenuSubMenuFontSize",(function(){return ib})),o.d(n,"cssStyleElementMenuSubMenuLineHeight",(function(){return lb})),o.d(n,"cssStyleElementMenuSubMenuFontWeight",(function(){return sb})),o.d(n,"cssStyleElementMenuSubMenuLetterSpacing",(function(){return cb})),o.d(n,"cssStyleElementMenuSubMenuColor",(function(){return db})),o.d(n,"cssStyleElementMenuSubMenuHoverColor",(function(){return ub})),o.d(n,"cssStyleElementMenuSubMenuIconPosition",(function(){return pb})),o.d(n,"cssStyleElementMenuSubMenuIconSpacing",(function(){return bb})),o.d(n,"cssStyleElementMenuSubMenuIconSize",(function(){return mb})),o.d(n,"cssStyleElementMenuSubMenuBgColor",(function(){return hb})),o.d(n,"cssStyleElementMenuSubMenuHoverBgColor",(function(){return gb})),o.d(n,"cssStyleElementMenuSubMenuBorderColor",(function(){return vb})),o.d(n,"cssStyleElementMenuSubMenuBorderBottom",(function(){return fb})),o.d(n,"cssStyleElementMenuSubMenuCurrentColor",(function(){return yb})),o.d(n,"cssStyleElementMenuSubMenuCurrentBgColor",(function(){return Ob})),o.d(n,"cssStyleElementMenuSubMenuCurrentBoxShadow",(function(){return Sb})),o.d(n,"cssStyleMenuDropdownPosition",(function(){return wb})),o.d(n,"cssStyleMenuDropdownPositionLeft",(function(){return Tb})),o.d(n,"cssStyleMenuDropdownPositionRight",(function(){return zb})),o.d(n,"cssStyleMenuFirstDropdownPosition",(function(){return Eb})),o.d(n,"cssStyleMenuFirstDropdownPositionLeft",(function(){return kb})),o.d(n,"cssStyleMenuFirstDropdownPositionRight",(function(){return Hb})),o.d(n,"cssStyleElementMegaMenuWidth",(function(){return Fb})),o.d(n,"cssStyleElementMegaMenuOffsetTop",(function(){return _b})),o.d(n,"cssStyleElementMegaMenuOpened",(function(){return Lb})),o.d(n,"cssStyleElementMegaMenuHeight",(function(){return Rb})),o.d(n,"cssStyleElementTableWidth",(function(){return Mb})),o.d(n,"cssStyleElementTableIconSize",(function(){return Wb})),o.d(n,"cssStyleElementTableSpacing",(function(){return Ib})),o.d(n,"cssStyleElementTableBtnIconPosition",(function(){return Nb})),o.d(n,"cssStyleElementTableCustomFlexHorizontalAlign",(function(){return Ab})),o.d(n,"cssStyleElementTableCustomTextHorizontalAlign",(function(){return Vb})),o.d(n,"cssStyleElementTableAsideWidth",(function(){return Db})),o.d(n,"cssStyleElementTableEvenBgColor",(function(){return $b})),o.d(n,"cssStyleElementTableEvenColor",(function(){return Gb})),o.d(n,"cssStyleTablePadding",(function(){return Ub})),o.d(n,"cssStyleElementMenuSimpleItemPadding",(function(){return Kb})),o.d(n,"cssStyleElementMenuSimpleColorBars",(function(){return Yb})),o.d(n,"cssStyleElementMenuSimpleWidth",(function(){return qb})),o.d(n,"cssStyleElementMenuSimpleActiveColor",(function(){return Xb})),o.d(n,"cssStyleElementImageMaxWidthPreview",(function(){return em})),o.d(n,"cssStyleElementImageHeightPreview",(function(){return tm})),o.d(n,"cssStyleElementImageSizePreview",(function(){return dm})),o.d(n,"cssStyleElementImageMaxWidthEditor",(function(){return om})),o.d(n,"cssStyleElementImageHeightEditor",(function(){return nm})),o.d(n,"cssStyleElementImageWidthWrapper",(function(){return am})),o.d(n,"cssStyleElementImageHeightWrapper",(function(){return rm})),o.d(n,"cssStyleElementImagePosition",(function(){return im})),o.d(n,"cssStyleElementImageMarginLeft",(function(){return lm})),o.d(n,"cssStyleElementImageMarginTop",(function(){return sm})),o.d(n,"cssStyleElementImagePictureSizePreview",(function(){return cm})),o.d(n,"cssStyleElementImageTransitionProperty",(function(){return um})),o.d(n,"cssStyleElementImageFilter",(function(){return pm})),o.d(n,"cssStyleAnimation",(function(){return bm})),o.d(n,"cssStyleAnimationDuration",(function(){return mm})),o.d(n,"cssStyleAnimationDelay",(function(){return hm})),o.d(n,"cssStyleRotate",(function(){return fm})),o.d(n,"cssStyleStoryFristSlideProgress",(function(){return xm})),o.d(n,"cssStyleStoryProgress",(function(){return Sm})),o.d(n,"cssStyleElementWOOAddToCartSize",(function(){return Cm})),o.d(n,"cssStyleElementWOOAddToCartSpacing",(function(){return Pm})),o.d(n,"cssStyleElementWOOAddToCartInputSize",(function(){return Bm})),o.d(n,"cssStyleElementWOOAddToCartInputPosition",(function(){return wm})),o.d(n,"cssStyleElementWOOAddToCartInputFontFamily",(function(){return zm})),o.d(n,"cssStyleElementWOOAddToCartInputFontSize",(function(){return Em})),o.d(n,"cssStyleElementWOOAddToCartInputLineHeight",(function(){return km})),o.d(n,"cssStyleElementWOOAddToCartInputFontWeight",(function(){return Hm})),o.d(n,"cssStyleElementWOOAddToCartInputLetterSpacing",(function(){return Fm})),o.d(n,"cssStyleElementWOOAddToCartInputAlign",(function(){return Tm})),o.d(n,"cssStyleElementWOOAddToCartInputColor",(function(){return _m})),o.d(n,"cssStyleElementWOOAddToCartInputBg",(function(){return oh})),o.d(n,"cssStyleElementWOOAddToCartInputBorder",(function(){return ah})),o.d(n,"cssStyleElementWOOAddToCartInputRadius",(function(){return jm})),o.d(n,"cssStyleElementWOOAddToCartInputBoxShadow",(function(){return rh})),o.d(n,"cssStyleElementWOOAddToCartButtonColor",(function(){return Rm})),o.d(n,"cssStyleElementWOOAddToCartLabelFontFamily",(function(){return Lm})),o.d(n,"cssStyleElementWOOAddToCartLabelFontSize",(function(){return Mm})),o.d(n,"cssStyleElementWOOAddToCartLabelLineHeight",(function(){return Wm})),o.d(n,"cssStyleElementWOOAddToCartLabelFontWeight",(function(){return Im})),o.d(n,"cssStyleElementWOOAddToCartLabelLetterSpacing",(function(){return Nm})),o.d(n,"cssStyleElementWOOAddToCartValueFontFamily",(function(){return Am})),o.d(n,"cssStyleElementWOOAddToCartValueFontSize",(function(){return Vm}));o.d(n,"cssStyleElementWOOAddToCartValueLineHeight",(function(){return Dm})),o.d(n,"cssStyleElementWOOAddToCartValueFontWeight",(function(){return $m})),o.d(n,"cssStyleElementWOOAddToCartValueLetterSpacing",(function(){return Gm})),o.d(n,"cssStyleElementWOOAddToCartLabelColor",(function(){return Um})),o.d(n,"cssStyleElementWOOAddToCartValueColor",(function(){return Km})),o.d(n,"cssStyleElementWOOAddToCartClearFontFamily",(function(){return Ym})),o.d(n,"cssStyleElementWOOAddToCartClearFontSize",(function(){return qm})),o.d(n,"cssStyleElementWOOAddToCartClearLineHeight",(function(){return Xm})),o.d(n,"cssStyleElementWOOAddToCartClearFontWeight",(function(){return Zm})),o.d(n,"cssStyleElementWOOAddToCartClearLetterSpacing",(function(){return Jm})),o.d(n,"cssStyleElementWOOAddToCartClearColor",(function(){return Qm})),o.d(n,"cssStyleElementWOOAddToCartTableMargin",(function(){return eh})),o.d(n,"cssStyleElementWOOAddToCartTableBorder",(function(){return th})),o.d(n,"cssStyleElementWOOAddToCartTableBg",(function(){return nh})),o.d(n,"cssStyleElementWOOAddToCartTableBoxShadow",(function(){return ih})),o.d(n,"cssStyleElementWOOAddToCartBorder",(function(){return lh})),o.d(n,"cssStyleElementWOOAddToCartBorderRadius",(function(){return sh})),o.d(n,"cssStyleElementWOOGalleryBorderRadiusThumbnail",(function(){return dh})),o.d(n,"cssStyleElementWOOGalleryBorderThumbnail",(function(){return ch})),o.d(n,"cssStyleElementWOOGalleryBoxShadowThumbnail",(function(){return uh})),o.d(n,"cssStyleElementWOOGallerySpacing",(function(){return ph})),o.d(n,"cssStyleElementWOOGalleryParentSize",(function(){return bh})),o.d(n,"cssStyleElementWOOGalleryBetweenThumbnail",(function(){return mh})),o.d(n,"cssStyleElementWOOGalleryThumbnailSize",(function(){return hh})),o.d(n,"cssStyleElementWOOGalleryChildStyle",(function(){return gh})),o.d(n,"cssStyleElementWOOGallerySpacingStyleLeftRigth",(function(){return vh})),o.d(n,"cssStyleElementWOOGalleryZoomReposition",(function(){return fh})),o.d(n,"cssStyleElementTitleTextShadow",(function(){return Oh})),o.d(n,"cssStyleElementShopifyQuantityLineHeight",(function(){return Sh})),o.d(n,"cssStyleElementShopifyQuantityInputWidth",(function(){return xh})),o.d(n,"cssStyleElementShopifyAddToCartSize",(function(){return jh})),o.d(n,"cssStyleElementShopifyAddToCartPropertyHoverTransition",(function(){return Ph})),o.d(n,"cssStyleElementShopifyAddToCartBorderRadius",(function(){return Bh})),o.d(n,"cssStyleElementShopifyAddToCartBorderBorder",(function(){return wh})),o.d(n,"cssStyleElementShopifyAddToCartButtonColor",(function(){return Th}));o(76);var a=o(65);function r(e){return function(e,t){let o=1540483477,n=t^e.length,a=e.length,r=0;for(;a>=4;){let t=i(e,r);t=s(t,o),t^=t>>>24,t=s(t,o),n=s(n,o),n^=t,r+=4,a-=4}switch(a){case 3:n^=l(e,r),n^=e.charCodeAt(r+2)<<16,n=s(n,o);break;case 2:n^=l(e,r),n=s(n,o);break;case 1:n^=e.charCodeAt(r),n=s(n,o)}return n^=n>>>13,n=s(n,o),n^=n>>>15,n>>>0}(e).toString(36)}function i(e,t){return e.charCodeAt(t++)+(e.charCodeAt(t++)<<8)+(e.charCodeAt(t++)<<16)+(e.charCodeAt(t)<<24)}function l(e,t){return e.charCodeAt(t++)+(e.charCodeAt(t++)<<8)}function s(e,t){return(65535&(e|=0))*(t|=0)+(((e>>>16)*t&65535)<<16)|0}var c=o(17);const d=c.d?{desktop:1500}:{desktop:1500,tablet:991,mobile:767},u=c.d?{normal:"normal"}:{normal:"normal",hover:"hover"};let p={};function b({v:e,vs:t,vd:o,styles:a,props:r}){if(o){const{defaultCSS:i,rulesCSS:l,customCSS:s}=function({v:e,vs:t,vd:o,styles:a,props:r}){let i="",l="",s="",c={},b={},h={},v="";Object.entries(d).forEach((function([d,p]){Object.entries(u).forEach((function([u,p]){"desktop"!==d&&"normal"!==u||Object.entries(a).forEach((function([a,p]){Object.entries(p).forEach((function([p,m]){m.forEach((function(p){const m=p.split("|||");v=2===m.length?m[1]:"";const f=m[0];if(!n[f])throw`The style function ${f} is missing`;i=n[f]({v:e,device:d,state:u,mode:v,props:r}),c=g({legacy:c,out:i,styleKey:a,state:u,currentStyle:p}),l=n[f]({v:t,device:d,state:u,mode:v,props:r}),b=g({legacy:b,out:l,styleKey:a,state:u,currentStyle:p}),s=n[f]({v:o,device:d,state:u,mode:v,props:r}),h=g({legacy:h,out:s,styleKey:a,state:u,currentStyle:p})}))}))}))}))}));const f=m({v:void 0,styles:a,legacy:h});p=h;const y=m({v:t,styles:a,legacy:b});p=b;const O=m({v:e,styles:a,legacy:c});return{defaultCSS:f,rulesCSS:y,customCSS:O}}({v:e,vs:t,vd:o,styles:a,props:r});return[i,l,s]}throw new Error("this should not happen. we must have accidentally omitted some element")}function m({v:e,styles:t,legacy:o}){let n="",a="",r="",i="",l="",s=0,c="",b="";return Object.entries(d).forEach((function([d,m],h,g){Object.entries(u).forEach((function([u,h]){o[u]&&(r="",i="",Object.entries(o[u]).forEach((function([l,c]){let d;n="",a="",Object.entries(c).forEach((function([r,i]){let c=i[s];e&&JSON.stringify(p[u][l][r])===JSON.stringify(o[u][l][r])&&(c=""),n+=t[l].standart&&-1!==t[l].standart.indexOf(r)&&""!==c&&void 0!==c?c:"",a+=t[l].interval&&-1!==t[l].interval.indexOf(r)&&""!==c&&void 0!==c?c:""})),d="normal"===u?l.replace(":hover","")+"{":l+"{",""!==n&&(r+=d+n+"}"),""!==a&&(i+=d+a+"}")}))),""!==r&&(c="desktop"===d&&"hover"===u?`@media(min-width:${g[s+1][1]}px){`:"desktop"===d?"":s===g.length-1?`@media(max-width:${m}px){`:`@media(max-width:${g[s][1]}px) and (min-width:${g[s+1][1]+1}px){`,l+=c+r+(""!==c?"}":"")),""!==i&&(b=g.length>1?0===s?`@media(min-width:${g[s+1][1]}px){`:s===g.length-1?`@media(max-width:${m}px){`:`@media(max-width:${g[s][1]}px) and (min-width:${g[s+1][1]+1}px){`:"",l+=b+i+(""!==b?"}":""))})),s++})),l}function h(e,t){let o=e;const n=new RegExp(t+"{(.+?)}");let a={};if(d.mobile){const t=/@media\(max-width:767px\)\{(.+?\})\}/,i=e.match(t)[1];a.mobile=r(i.match(n)[1].split(";")),o=o.replace(t,"")}if(d.tablet){const t=/@media\(max-width:991px\) and \(min-width:768px\){(.+?\})\}/,i=e.match(t)[1];a.tablet=r(i.match(n)[1].split(";")),o=o.replace(t,"")}return a.desktop=r(o.match(n)[1].split(";")),a;function r(e){return e.reduce((e,t)=>{const[o,n]=t.split(":");return o&&n&&(e[o]=n),e},{})}}function g({legacy:e,out:t,styleKey:o,state:n,currentStyle:a}){return"hover"===n&&e.normal&&e.normal[o]&&e.normal[o][a]&&(t=e.normal[o][a][0]===t?"":t),e[n]?e[n][o]?e[n][o][a]?e[n][o][a].push(t):e[n][o][a]=[t]:e[n][o]={[a]:[t]}:e[n]={[o]:{[a]:[t]}},e}function v(e,t,[o,n,i]){let l,s,c;if(o)if(l=C.get(e),l){const{node:e,className:t,cssText:n}=l,a=S(o,t);a!==n&&(v.isServer||(e.childNodes[0].nodeValue=a),l.cssText=a)}else{const t="brz-css-"+Object(a.a)(5),n=S(o,t);let r;v.isServer||(r=document.createElement("style"),r.appendChild(document.createTextNode("")),r.childNodes[0].nodeValue=n,x("default",r)),l={node:r,className:t,cssText:n},j.default.push(l),C.set(e,l)}if(n){const e=r(n);if(s=C.get(e),!s){const t="brz-css-"+Object(a.a)(5),o=S(n,t);let r;v.isServer||(r=document.createElement("style"),r.appendChild(document.createTextNode("")),r.childNodes[0].nodeValue=o,x("rules",r)),s={node:r,className:t,cssText:o},j.rules.push(s),C.set(e,s)}}if(i)if(c=C.get(t),c){const{node:e,className:t,cssText:o}=c,n=S(i,t);n!==o&&(v.isServer||(e.childNodes[0].nodeValue=n),c.cssText=n)}else{const e="brz-css-"+Object(a.a)(5),o=S(i,e);let n;v.isServer||(n=document.createElement("style"),n.appendChild(document.createTextNode("")),n.childNodes[0].nodeValue=o,x("custom",n)),c={node:n,className:e,cssText:o},j.custom.push(c),C.set(t,c)}return[...l?[l.className]:[],...s?[s.className]:[],...c?[c.className]:[]].join(" ")}function f(e,t,o=S){let n;if(n=C.get(e),n){const{node:a,className:r,cssText:i}=n,l=o(t,r);l!==i&&(v.isServer||(a.childNodes[0].nodeValue=l),n={node:a,className:r,cssText:l},C.set(e,n))}else{const r="brz-css-"+Object(a.a)(5),i=o(t,r);let l;v.isServer||(l=document.createElement("style"),l.appendChild(document.createTextNode("")),l.childNodes[0].nodeValue=i,x("custom",l)),n={node:l,className:r,cssText:i},j.custom.push(n),C.set(e,n)}return{className:n.className,cssText:n.cssText,clean(){const t=C.get(e);document.head.removeChild(t.node),C.delete(e)}}}function y(){for(const[e]of C)C.clear(e)}function O(){let e="";for(const t of["default","rules","custom"])for(const{cssText:o}of j[t])e+=o,e+="\n";return e}function S(e,t){return e.replace(/&&/gm,"."+t)}function x(e,t){const o=j.default,n=j.rules,a=j.custom;let r;switch(e){case"default":r=o.length>0?o[o.length-1].node:null;break;case"rules":r=n.length>0?n[n.length-1].node:o.length>0?o[o.length-1].node:null;break;case"custom":r=a.length>0?a[a.length-1].node:n.length>0?n[n.length-1].node:o.length>0?o[o.length-1].node:null;break;default:throw new Error("invalid tujur css node type: "+e)}r?r.insertAdjacentElement("afterend",t):document.head.appendChild(t)}const C=new Map,j={default:[],rules:[],custom:[]};var P=o(2),B=o(5),w=o(31),T=o(24),z=o(3);function E(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function k(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?E(Object(o),!0).forEach((function(t){Object(P.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):E(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function H(e){const t=Object(B.Zd)(e);return void 0===t?"":`width:${t}%;`}function F(e){const t=Object(B.Zd)(e);return void 0===t?"":`width:${t}px;`}function _(e){const t=Object(B.Zd)(e);return c.d&&void 0!==t?`width:${t}%;`:""}function R(e){const t=Object(B.Zd)(e);return void 0===t?"":`max-width:${t}%;`}function L(e){var t;return null!==(t=Object(w.c)(e=>`height:${e}px;`,Object(B.Vd)(e)))&&void 0!==t?t:""}function M(e){var t;return null!==(t=Object(w.c)(e=>`min-height:${e}px;`,Object(B.Vd)(e)))&&void 0!==t?t:""}function W(e){const t=Object(B.Wd)(e),o=T.d(Object(z.defaultValueValue)(k({key:"sizeSuffix"},e)))||"%";return void 0===t?"":`max-width:${t}${o};`}function I(e){const t=Object(B.Wd)(e);return void 0===t?"":`width:${t}%;`}function N(e){const t=Object(B.Wd)(e),o=T.d(Object(z.defaultValueValue)(k({key:"sizeSuffix"},e)));return void 0!==t&&o?`width:${t}${o};`:""}function A(e){const t=Object(B.Zd)(e),o=T.d(Object(z.defaultValueValue)(k({key:"widthSuffix"},e)));return void 0===t?"":`width:${t}${o||"%"};`}function V(e){const t=Object(B.Ud)(e);return"desktop"===e.device?`max-width: ${t}%;`:""}function D(e){var t;return null!==(t=Object(w.c)(e=>`margin-right: ${e}px;`,Object(B.Xd)(e)))&&void 0!==t?t:""}function $(e){var t;return null!==(t=Object(w.c)(e=>`margin-right: ${e}px;`,Object(B.Yd)(e)))&&void 0!==t?t:""}function G(e){var t;const o=T.d(Object(z.defaultValueValue)(k({key:"heightSuffix"},e)));return"px"===o?null!==(t=Object(w.c)(e=>`height:${e}${o};`,Object(B.Vd)(e)))&&void 0!==t?t:"":"%"===o?"height: unset;":""}function U(e){var t;const o=T.d(Object(z.defaultValueValue)(k({key:"heightSuffix"},e)));return"%"===o?null!==(t=Object(w.c)(e=>`content: ""; display:block; width: 0; padding-top:${e}${o};`,Object(B.Vd)(e)))&&void 0!==t?t:"":"px"===o?"height: unset;":""}function K({v:e,device:t,state:o}){const n=Object(B.u)({v:e,device:t,state:o,current:"top"}),a=Object(B.r)({v:e,device:t,state:o}),r=Object(B.n)({v:e,device:t,state:o});return void 0===n?"":`border-top:${n}px ${a} ${r};`}function Y({v:e,device:t,prefix:o=""}){return`font-family:${Object(B.ge)({v:e,device:t,prefix:o})};`}function q({v:e,device:t,prefix:o=""}){return`font-size:${Object(B.he)({v:e,device:t,prefix:o})}${Object(B.ie)({v:e,device:t,prefix:o})||"px"};`}function X({v:e,device:t,prefix:o=""}){return`line-height:${Object(B.le)({v:e,device:t,prefix:o})};`}function Z({v:e,device:t,prefix:o=""}){return`font-weight:${Object(B.je)({v:e,device:t,prefix:o})};`}function J({v:e,device:t,prefix:o=""}){return`letter-spacing:${Object(B.ke)({v:e,device:t,prefix:o})}px;`}function Q({v:e,device:t}){return Y({v:e,device:t,prefix:"typography"})}function ee({v:e,device:t}){return q({v:e,device:t,prefix:"typography"})}function te({v:e,device:t}){return X({v:e,device:t,prefix:"typography"})}function oe({v:e,device:t}){return Z({v:e,device:t,prefix:"typography"})}function ne({v:e,device:t}){return J({v:e,device:t,prefix:"typography"})}function ae({v:e,device:t}){return`font-size:${Object(B.me)({v:e,device:t})};`}function re({v:e,device:t}){return`margin-left:${Object(B.bb)({v:e,device:t})};`}function ie({v:e,device:t}){return`margin-right:${Object(B.bb)({v:e,device:t})};`}function le({v:e,device:t}){return Y({v:e,device:t,prefix:"number"})}function se({v:e,device:t}){return q({v:e,device:t,prefix:"number"})}function ce({v:e,device:t}){return X({v:e,device:t,prefix:"number"})}function de({v:e,device:t}){return Z({v:e,device:t,prefix:"number"})}function ue({v:e,device:t}){return J({v:e,device:t,prefix:"number"})}function pe({v:e,device:t}){return Y({v:e,device:t,prefix:"title"})}function be({v:e,device:t}){return q({v:e,device:t,prefix:"title"})}function me({v:e,device:t}){return X({v:e,device:t,prefix:"title"})}function he({v:e,device:t}){return Z({v:e,device:t,prefix:"title"})}function ge({v:e,device:t}){return J({v:e,device:t,prefix:"title"})}function ve({v:e,device:t}){return Y({v:e,device:t,prefix:"message"})}function fe({v:e,device:t}){return q({v:e,device:t,prefix:"message"})}function ye({v:e,device:t}){return X({v:e,device:t,prefix:"message"})}function Oe({v:e,device:t}){return Z({v:e,device:t,prefix:"message"})}function Se({v:e,device:t}){return J({v:e,device:t,prefix:"message"})}function xe({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"numberColor"})}function Ce({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"titleColor"})}function je({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"messageColor"})}function Pe(){return"transition-property: color, background-color, border, box-shadow;"}function Be({v:e}){return`stroke-dasharray: calc(${e.end} + 0.5) 100;`}function we({v:e}){return`stroke-width: ${e.strokeWidth} !important;`}function Te({v:e,device:t,state:o,prefix:n="fillColor"}){const a=Object(B.cb)({v:e,device:t,state:o,prefix:n});return void 0===a?"":`fill:${a};`}function ze({v:e,device:t,state:o,prefix:n="strokeColor"}){const a=Object(B.db)({v:e,device:t,state:o,prefix:n});return void 0===a?"":`stroke:${a};`}function Ee(){return"transition-property: color, fill, stroke;"}function ke({v:e,device:t,state:o}){return`flex-direction:${Object(B.fb)({v:e,device:t,state:o})};`}function He({v:e,device:t,state:o}){return`margin-right:${Object(B.hb)({v:e,device:t,state:o})};`}function Fe({v:e,device:t,state:o}){return`margin-left:${Object(B.gb)({v:e,device:t,state:o})};`}function _e({v:e,device:t,state:o,prefix:n}){const a=Object(B.B)({v:e,device:t,state:o,prefix:n});return void 0===a?"":`-webkit-text-fill-color:${a} !important;`}function Re(){return"transition-property:background-color,color,border,box-shadow;"}function Le({v:e,device:t}){var o;return`width: ${o="inputWidth",Object(z.defaultValueValue)({v:e,key:o,device:t})}%;`}function Me({v:e,device:t}){var o;return`grid-gap: ${o="inputSpacing",Object(z.defaultValueValue)({v:e,key:o,device:t})}px;`}function We({v:e,device:t}){var o;return`padding: ${o="inputHeight",Object(z.defaultValueValue)({v:e,key:o,device:t})}px;`}function Ie({v:e,device:t,state:o,prefix:n="",borderColor:a="color"}){let r="",i=0,l=0,s=0,c=0,d=Object(B.t)({v:e,device:t,state:o,prefix:n}),u="",p=0,b=0,m=0,h=0,g=!1,v="",f="";const y=Object(B.r)({v:e,device:t,state:o,prefix:n});if(a="transparent"===a?"transparent":Object(B.n)({v:e,device:t,state:o,prefix:n}),"grouped"===d){const a=Object(B.s)({v:e,device:t,state:o,prefix:n});i=a,l=a,s=a,c=a}else i=Object(B.u)({v:e,device:t,state:o,prefix:n,current:"top"}),l=Object(B.u)({v:e,device:t,state:o,prefix:n,current:"right"}),s=Object(B.u)({v:e,device:t,state:o,prefix:n,current:"bottom"}),c=Object(B.u)({v:e,device:t,state:o,prefix:n,current:"left"});if("normal"===o){if(v=Object(B.r)({v:e,device:t,prefix:n,state:"hover"}),f="transparent"===a?"transparent":Object(B.n)({v:e,device:t,prefix:n,state:"hover"}),u=Object(B.t)({v:e,device:t,prefix:n,state:"hover"}),"grouped"===u){const o=Object(B.s)({v:e,device:t,state:"hover"});p=o,b=o,m=o,h=o}else p=Object(B.u)({v:e,device:t,prefix:n,state:"hover",current:"top"}),b=Object(B.u)({v:e,device:t,prefix:n,state:"hover",current:"right"}),m=Object(B.u)({v:e,device:t,prefix:n,state:"hover",current:"bottom"}),h=Object(B.u)({v:e,device:t,prefix:n,state:"hover",current:"left"});g=(p>0||b>0||m>0||h>0)&&""!==v}return r=void 0===i||void 0===l||void 0===s||void 0===c||void 0===y||void 0===a?"":i===l&&i===s&&i===c&&i>0&&""!==y?`border:${i}px ${y} ${a};`:(i>0||l>0||s>0||c>0)&&""!==y?`border-width:${i}px ${l}px ${s}px ${c}px;border-style:${y};border-color:${a};`:(i===l&&i===s&&i===c&&0===i||""===y)&&g?`border:0px ${v} ${f};`:`border:0px solid ${a};`,r}function Ne({v:e,device:t,state:o,prefix:n="",borderColor:a="transparent"}){return Ie({v:e,device:t,state:o,prefix:n,borderColor:a})}function Ae({v:e,device:t,state:o,prefix:n=""}){let a=0,r=0,i=0,l=0;if("ungrouped"!==Object(B.p)({v:e,device:t,state:o,prefix:n})){const s=Object(B.o)({v:e,device:t,state:o,prefix:n});a=s,r=s,i=s,l=s}else a=Object(B.q)({v:e,device:t,state:o,prefix:n,current:"topLeft"}),r=Object(B.q)({v:e,device:t,state:o,prefix:n,current:"topRight"}),i=Object(B.q)({v:e,device:t,state:o,prefix:n,current:"bottomLeft"}),l=Object(B.q)({v:e,device:t,state:o,prefix:n,current:"bottomRight"});return void 0===a?"":a===r&&a===i&&a===l&&a>0?`border-radius: ${a}px;`:a>0||r>0||i>0||l>0?`border-radius:${a}px ${r}px ${l}px ${i}px;`:"border-radius:0;"}function Ve({v:e,device:t,state:o}){return`width:calc(100% + ${Object(B.lb)({v:e,device:t,state:o})}px);`}function De({v:e,device:t,state:o}){return`margin:-${Object(B.lb)({v:e,device:t,state:o})/2}px;`}function $e({v:e,device:t,state:o}){const n=Object(B.kb)({v:e,device:t,state:o});return`width:${n>1?100/n:100}%;`}function Ge({v:e,device:t,state:o}){return`padding:${Object(B.lb)({v:e,device:t,state:o})/2}px;`}function Ue({v:e,device:t,state:o}){const n=(a="filterSpacing",Object(z.defaultValueValue)({v:e,key:a,device:t,state:o}));var a;return`margin: 1px ${n}px 0 ${n}px;`}function Ke({v:e,device:t,state:o}){var n;return`margin-bottom:${n="afterFilterSpacing",Object(z.defaultValueValue)({v:e,key:n,device:t,state:o})}px;`}function Ye({v:e,device:t,state:o}){const n=Object(B.jb)({v:e,device:t,state:o}),a=Object(B.c)({v:e,device:t,state:o,prefix:"filter"});switch(n){case"style-2":return"center"===a?"":"left"===a?"margin-right: auto;":"margin-left: auto;";default:{const e={left:"flex-start",center:"center",right:"flex-end"};return`justify-content:${void 0===a?a:e[a]};`}}}function qe({v:e,device:t,state:o}){return Vo({v:e,device:t,state:o,prefix:"filter"})}function Xe({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"filterColor"})}function Ze({v:e,device:t,state:o}){return dt({v:e,device:t,state:o,prefix:"filterBg"})}function Je({v:e,device:t,state:o}){return jt({v:e,device:t,state:o,prefix:"filter"})}function Qe({v:e,device:t,state:o}){return Ie({v:e,device:t,state:o,prefix:"filter"})}function et({v:e,device:t,state:o}){return Ae({v:e,device:t,state:o,prefix:"filter"})}function tt({v:e,device:t}){return Y({v:e,device:t,prefix:"filter"})}function ot({v:e,device:t}){return q({v:e,device:t,prefix:"filter"})}function nt({v:e,device:t}){return X({v:e,device:t,prefix:"filter"})}function at({v:e,device:t}){return Z({v:e,device:t,prefix:"filter"})}function rt({v:e,device:t}){return J({v:e,device:t,prefix:"filter"})}function it({v:e,device:t}){return St({v:e,device:t,state:"active",prefix:"filterColor"})}function lt({v:e,device:t}){return dt({v:e,device:t,state:"active",prefix:"filterBg"})}function st({v:e,device:t}){return Ie({v:e,device:t,state:"active",prefix:"filter"})}function ct({v:e,device:t}){return jt({v:e,device:t,state:"active",prefix:"filter"})}function dt({v:e,device:t,state:o,prefix:n="bg"}){const a=Object(B.h)({v:e,device:t,state:o,prefix:n}),r=Object(B.j)({v:e,device:t,state:o});return void 0===a||"none"!==r?"background-color:transparent;":`background-color:${a};`}function ut({v:e,device:t,state:o,prefix:n="bg"}){const a=Object(B.i)({v:e,device:t,state:o,prefix:n});return void 0===a?"":`background-color:${a};`}function pt({v:e,device:t,state:o}){return dt({v:e,device:t,state:o,prefix:"bg2"})}function bt({v:e,device:t,state:o}){return`background-image:${Object(B.j)({v:e,device:t,state:o})};`}function mt({v:e,device:t,state:o}){return`background-image:${Object(B.k)({v:e,device:t,state:o})};`}function ht({v:e,device:t}){const o=Object(B.k)({v:e,device:t,state:"hover"});return o?`content: "";background-image:${o};`:""}function gt({v:e,device:t}){return"image"===Object(B.wd)({v:e,device:t})?"display: block;":"display: none;"}function vt({v:e,device:t,state:o}){const n=Object(B.k)({v:e,device:t,state:o}),a=Object(B.l)({v:e,device:t,state:o}),r=Object(B.m)({v:e,device:t,state:o});return"none"===n?"":`background-position:${a} ${r};`}function ft({v:e,device:t,props:o}){const{isSlider:n}=o.meta.section,a=Object(B.g)({v:e,isSlider:n});return"desktop"!==t||void 0===a?"":`background-attachment:${a};`}function yt({v:e,device:t}){return`display: ${"map"===Object(B.wd)({v:e,device:t})?"block":"none"};`}function Ot({v:e,device:t}){return`display: ${"video"===Object(B.wd)({v:e,device:t})?"block":"none"};`}function St({v:e,device:t,state:o,prefix:n}){const a=Object(B.B)({v:e,device:t,state:o,prefix:n});return void 0===a?"":`color:${a};`}function xt({v:e,device:t,state:o}){const n=Object(B.B)({v:e,device:t,state:o,prefix:"labelColor"});return void 0===n?"":`color:${n};`}function Ct({v:e,device:t,state:o,prefix:n=""}){const a=Object(B.z)({v:e,device:t,state:o,prefix:n}),r=Object(B.w)({v:e,device:t,state:o,prefix:n}),i=Object(B.v)({v:e,device:t,state:o,prefix:n}),l=Object(B.y)({v:e,device:t,state:o,prefix:n}),s="inset"===a?-1*Object(B.x)({v:e,device:t,state:o,prefix:n}):Object(B.x)({v:e,device:t,state:o,prefix:n}),c="inset"===a?-1*Object(B.A)({v:e,device:t,state:o,prefix:n}):Object(B.A)({v:e,device:t,state:o,prefix:n});if(""===a||"off"===a||0===s&&0===c&&0===i&&0===l)return"";return`${"inset"===a?"inset ":""}${s}px ${c}px ${i}px ${l}px ${r};`}function jt({v:e,device:t,state:o,prefix:n=""}){const a=Ct({v:e,device:t,state:o,prefix:n});return""===a?"":`box-shadow:${a};`}function Pt({v:e,device:t,state:o,prefix:n=""}){const a=Object(B.z)({v:e,device:t,state:o,prefix:n}),r=Object(B.A)({v:e,device:t,state:o,prefix:n}),i=Object(B.v)({v:e,device:t,state:o,prefix:n}),l=Object(B.w)({v:e,device:t,state:o,prefix:n}),s=r<0?-i:i;return""===a||"off"===a||0===r&&0===i?"":0===r?`box-shadow:inset 0 ${r+s}px ${i}px -${i}px ${l}, inset 0 -${r+s}px ${i}px -${i}px ${l};display: block;`:`box-shadow:inset 0 ${r+s}px ${i}px -${i}px ${l}, inset 0 0 0 0 ${l};display: block;`}function Bt({v:e,device:t,state:o,prefix:n=""}){const a=function({v:e,device:t,state:o,prefix:n=""}){const a=Object(B.ee)({v:e,device:t,state:o,prefix:n}),r=Object(B.ce)({v:e,device:t,state:o,prefix:n}),i=Object(B.be)({v:e,device:t,state:o,prefix:n}),l="inset"===a?-1*Object(B.de)({v:e,device:t,state:o,prefix:n}):Object(B.de)({v:e,device:t,state:o,prefix:n}),s="inset"===a?-1*Object(B.fe)({v:e,device:t,state:o,prefix:n}):Object(B.fe)({v:e,device:t,state:o,prefix:n});return""===a||"off"===a||0===l&&0===s&&0===i?"":`${"inset"===a?"inset ":""}${l}px ${s}px ${i}px ${r};`}({v:e,device:t,state:o,prefix:n});return""===a?"":`text-shadow:${a};`}function wt({v:e,device:t,state:o}){const n=Object(B.Qd)({v:e,device:t,state:o}),a=Object(B.Pd)({v:e,device:t,state:o});return void 0===n?"":"none"===n?"background-image: none;":`background-image: url(${a});`}function Tt({v:e,device:t,state:o}){const n=Object(B.Md)({v:e,device:t,state:o}),a=Object(B.Nd)({v:e,device:t,state:o});return`background-size: 100% ${n}${a}; height: ${n}${a};`}function zt({v:e,device:t,state:o}){return`transform: ${"on"===Object(B.Ld)({v:e,device:t,state:o})?"rotateX(0deg) rotateY(-180deg)":"rotateX(0deg) rotateY(0deg)"};`}function Et({v:e,device:t,state:o}){return`z-index: ${Object(B.Od)({v:e,device:t,state:o})};`}function kt({v:e,device:t,state:o}){const n=Object(B.Kd)({v:e,device:t,state:o}),a=Object(B.Jd)({v:e,device:t,state:o});return void 0===n?"":"none"===n?"background-image: none;":`background-image: url(${a});`}function Ht({v:e,device:t,state:o}){const n=Object(B.Gd)({v:e,device:t,state:o}),a=Object(B.Hd)({v:e,device:t,state:o});return`background-size: 100% ${n}${a}; height: ${n}${a};`}function Ft({v:e,device:t,state:o}){return`transform: ${"on"===Object(B.Fd)({v:e,device:t,state:o})?"rotateX(-180deg) rotateY(0deg)":"rotateX(-180deg) rotateY(-180deg)"};`}function _t({v:e,device:t,state:o}){return`z-index: ${Object(B.Id)({v:e,device:t,state:o})};`}function Rt({v:e,device:t,state:o}){const n=Object(B.gd)({v:e,device:t,state:o});return void 0===n?"":`transition-duration:0.${n}s;`}function Lt(){return"transition-property: filter, box-shadow, background, border-radius, border-color;"}function Mt({v:e,device:t,state:o}){const n=Object(B.ne)({v:e,device:t,state:o});return void 0===n?"":`font-family:${n};`}function Wt({v:e,device:t,state:o}){const n=Object(B.oe)({v:e,device:t,state:o}),a=Object(B.pe)({v:e,device:t,state:o});return void 0===n?"":`font-size:${n}${a||"px"};`}function It({v:e,device:t,state:o}){const n=Object(B.se)({v:e,device:t,state:o});return void 0===n?"":`line-height:${n};`}function Nt({v:e,device:t,state:o}){const n=Object(B.qe)({v:e,device:t,state:o});return void 0===n?"":`font-weight:${n};`}function At({v:e,device:t,state:o}){const n=Object(B.re)({v:e,device:t,state:o});return void 0===n?"":`letter-spacing:${n}px;`}function Vt({v:e,device:t,state:o}){const n=Object(B.Ad)({v:e,device:t,state:o,current:"paddingTop"}),a=Object(B.Ad)({v:e,device:t,state:o,current:"paddingRight"});return void 0===n&&void 0===a?"":`padding:${n}px ${a}px;`}function Dt({v:e,device:t,state:o}){const n=Object(B.Lb)({v:e,device:t,state:o});return void 0===n?"":`max-width:${n}%;`}function $t(){return"transition-property: color, box-shadow, background, border;"}var Gt=o(9),Ut=o(16),Kt=o(13),Yt=o(44);function qt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Xt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?qt(Object(o),!0).forEach((function(t){Object(P.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):qt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Zt(e){const t=function({v:e,device:t,state:o}){return n="marginTop",Object(z.defaultValueValue)({v:e,key:n,device:t,state:o});var n}(e);return void 0===t?"":`margin-top:${t}px !important;`}function Jt(e){const t=function({v:e,device:t,state:o}){return n="marginBottom",Object(z.defaultValueValue)({v:e,key:n,device:t,state:o});var n}(e);return void 0===t?"":`margin-bottom:${t}px !important;`}function Qt({v:e,device:t,state:o}){const n=["background-image:"+function({v:e,device:t,state:o="normal"}){const n=n=>Object(z.defaultValueValue)({v:e,key:n,device:t,state:o}),a=n("colorType"),r=n("gradientType"),{hex:i}=Object(Kt.d)(n("colorHex"),n("colorPalette")),{hex:l}=Object(Kt.d)(n("gradientColorHex"),n("gradientColorPalette")),s=n("colorOpacity"),c=n("gradientColorOpacity"),d=n("gradientStartPointer"),u=n("gradientFinishPointer"),p=n("gradientLinearDegree"),b=n("gradientRadialDegree");return"gradient"===a?"linear"===r?`linear-gradient(${p}deg, ${Object(Ut.c)(i,s)} ${d}%, ${Object(Ut.c)(l,c)} ${u}%)`:`radial-gradient(circle ${b}px, ${Object(Ut.c)(i,s)} ${d}%, ${Object(Ut.c)(l,c)} ${u}%)`:"none"}({v:e,device:t,state:o}),"background-clip: text","-webkit-background-clip: text","color: transparent !important"];return"gradient"===e.colorType?n.join(";")+";":""}function eo(e){return c.d?`font-size:${.23*Object(B.he)(Xt(Xt({},e),{},{prefix:"typography"}))}%;`:ee(e)}function to({v:e,device:t,state:o}){const n=Object(B.k)({v:e,device:t,state:o}),a={"background-clip":"text","-webkit-background-clip":"text",color:"transparent!important","caret-color":"#000","background-position":`${function({v:e,device:t,state:o}){return n="bgPositionX",Object(z.defaultValueValue)({v:e,key:n,device:t,state:o});var n}({v:e,device:t,state:o})}% ${function({v:e,device:t,state:o}){return n="bgPositionY",Object(z.defaultValueValue)({v:e,key:n,device:t,state:o});var n}({v:e,device:t,state:o})}%`,"background-image":n};return"none"===n?"":Object.entries(a).map(([e,t])=>`${e}: ${t}`).join(";")+";"}function oo({v:e,device:t,prefix:o="typography",state:n}){return`font-family:${function({v:e,device:t,state:o,prefix:n=""}){const a=n=>Object(z.defaultValueValue)({v:e,key:n,device:t,state:o}),r=Object(Gt.b)(n,"fontFamily"),i=Object(Gt.b)(n,"fontFamilyType"),l=Object(Gt.b)(n,"fontStyle"),s=Object(Kt.e)("fontFamily",e[r],a(l)),c=Object(Kt.e)("fontFamilyType",e[i],a(l));if(s)return Object(Yt.d)({type:c,family:s}).family}({v:e,device:t,prefix:o,state:n})} !important;`}function no({v:e,device:t,state:o}){var n;const a=((e,t)=>"hover"===Object(B.ae)({v:e,state:t})?"hover":t)(e,o),r=o=>Object(z.defaultValueValue)({v:e,key:o,device:t,state:a}),{hex:i}=Object(Kt.d)(r(Object(Gt.b)("color","hex")),r("block-colorPalette")),l=null!==(n=Object(Ut.c)(i,r(Object(Gt.b)("color","opacity"))))&&void 0!==n?n:"";return void 0===l?"":`color:${l};`}function ao({v:e,device:t,state:o}){const n=Object(B.R)({v:e,device:t,state:o});return void 0===n?"":`border-radius:${n}px;`}function ro({v:e,device:t,state:o}){const n=Object(B.V)({v:e,device:t,state:o});return void 0===n?"":`flex-flow:${n};`}function io({v:e,device:t,state:o}){const n=Object(B.S)({v:e,device:t,state:o});return void 0===n?"":`font-size:${n}px;`}function lo({v:e,device:t,state:o}){const n=Object(B.U)({v:e,device:t,state:o}),a=Object(B.T)({v:e,device:t,state:o});return void 0===n||void 0===a?"":"left"===n?`margin-right:${a}px;margin-left:0;`:`margin-left:${a}px;margin-right:0;`}function so({v:e,device:t,state:o}){const n=Object(B.ib)({v:e,device:t,state:o});return void 0===n?"":`stroke-width:${n};`}function co(){return"transition-property: color, box-shadow, background, border-color;"}function uo(){return"align-items: center; justify-content: center;"}function po(){return"transition-property:box-shadow;"}function bo(){return"transition-property:color,border,box-shadow;"}function mo(){return"transition-property:border, box-shadow;"}function ho(){return"transition-property:box-shadow;"}function go(){return"transition-property:box-shadow;"}function vo(){return"transition-property:filter, box-shadow, border-radius, border;"}function fo({v:e,device:t,state:o}){return["fixed","absolute"].includes(Object(z.defaultValueValue)({v:e,key:"elementPosition",device:t,state:o}))?"height: unset":""}function yo(){return"transition-property: box-shadow, border, border-radius;"}function Oo({v:e,device:t,state:o}){const n=Object(B.O)({v:e,device:t,state:o}),a=Object(B.P)({v:e,device:t,state:o});return void 0===n?"":`width:${n}${a};`}function So({v:e,device:t,state:o}){const n=Object(B.J)({v:e,device:t,state:o});return void 0===n?"":`display:${n};`}function xo({v:e,device:t,state:o}){const n=Object(B.B)({v:e,device:t,state:o,prefix:"closeColor"});return void 0===n?"":`color:${n};`}function Co({v:e,device:t,state:o}){const n=Object(B.F)({v:e,device:t,state:o}),a=Object(B.D)({v:e,device:t,state:o});return void 0===n||void 0===a?"":`font-size:${n+2*a}px;`}function jo({v:e,device:t,state:o}){const n=Object(B.D)({v:e,device:t,state:o});return void 0===n?"":`padding:${n}px;`}function Po({v:e,device:t,state:o}){const n=Object(B.E)({v:e,device:t,state:o});return void 0===n?"":`border-radius:${n}px;`}function Bo({v:e,device:t,state:o}){const n=Object(B.h)({v:e,device:t,prefix:"closeBg",state:o});return void 0===n?"":`background-color:${n};`}function wo({v:e,device:t,state:o}){const n=Object(B.C)({v:e,device:t,state:o}),a=Object(B.G)({v:e,device:t,state:o}),r=Object(B.H)({v:e,device:t,state:o}),i=Object(B.K)({v:e,device:t,state:o}),l=Object(B.L)({v:e,device:t,state:o}),s=Object(B.F)({v:e,device:t,state:o}),c=Object(B.D)({v:e,device:t,state:o}),d=Object(B.I)({v:e,device:t,state:o}),u=`${"outside"===d?-i-s-2*c:i}${l}`,p=`${"outside"===d?-a-s-2*c:a}${r}`;switch(n){case"topLeft":return`top:${u};left:${p};right:auto;bottom:auto;`;case"topRight":return`top:${u};right:${p};left:auto;bottom:auto;`;case"bottomLeft":return`bottom:${u};left:${p};right:auto;top:auto;`;case"bottomRight":return`bottom:${u};right:${p};left:auto;top:auto;`}}function To({v:e,device:t,state:o}){const n=Object(B.b)({v:e,device:t,state:o,prefix:"popupRow"});return void 0===n?"":`align-items:${n};`}function zo({v:e,device:t,state:o}){const n=Object(B.Q)({v:e,device:t,state:o}),a=Object(B.M)({v:e,device:t,state:o}),r=Object(B.N)({v:e,device:t,state:o});return"custom2"===n?`height: ${a}${r};`:""}function Eo({v:e,device:t,state:o}){return"custom2"===Object(B.Q)({v:e,device:t,state:o})?"max-height: 100%; overflow-x: hidden; overflow-y: auto;":""}function ko({v:e,device:t,state:o}){return"custom2"===Object(B.Q)({v:e,device:t,state:o})?"height: 100%;":""}function Ho({v:e,device:t,state:o}){return"custom2"===Object(B.Q)({v:e,device:t,state:o})?"max-height: 100%;":""}function Fo({v:e,device:t,state:o}){const n=Object(B.te)({v:e,device:t,state:o}),a="relative"===(r="elementPosition",Object(z.defaultValueValue)({v:e,key:r,device:t,state:o}));var r;return 0===n&&a?"z-index: auto;":`z-index: ${n+(a?0:11)};`}function _o({v:e,device:t,state:o}){return`z-index: ${Object(B.te)({v:e,device:t,state:o})+1};`}function Ro({v:e,device:t,state:o}){const n=Object(B.b)({v:e,device:t,state:o});return void 0===n?"":`align-items:${n};`}function Lo({v:e,device:t,state:o}){const n=Object(B.a)({v:e,device:t,state:o});return void 0===n?"":`justify-content:${n};`}function Mo({v:e,device:t,state:o}){const n=Object(B.c)({v:e,device:t,state:o,prefix:"content"});return void 0===n?"":`text-align:${n};`}function Wo({v:e,device:t,state:o,prefix:n=""}){const a=Object(B.c)({v:e,device:t,state:o,prefix:n});return void 0===a?"":{left:"margin-right: auto; margin-left: 0;",center:"margin-left: auto; margin-right: auto;",right:"margin-left: auto; margin-right: 0;"}[a]}function Io({v:e,device:t,state:o}){const n=Object(B.b)({v:e,device:t,state:o});return void 0===n?"":`justify-content:${n};`}function No({v:e,device:t,state:o}){const n=Object(B.c)({v:e,device:t,state:o,prefix:"excerpt"});return void 0===n?"":`text-align:${n};`}function Ao({v:e,device:t,state:o}){const n=Object(B.Zd)({v:e,device:t,state:o});return n>0?`flex:1 1 ${n}%;`:""}function Vo({v:e,device:t,state:o,prefix:n=""}){const a=Ko({v:e,device:t,state:o,prefix:n}),r=a.paddingTop===a.paddingRight&&a.paddingTop===a.paddingBottom&&a.paddingTop===a.paddingLeft&&a.paddingTop>0;return 0===a.paddingTop&&0===a.paddingRight&&0===a.paddingBottom&&0===a.paddingLeft?"padding:0;":r?`padding:${a.paddingTop}${a.paddingTopSuffix};`:`padding:${a.paddingTop}${a.paddingTopSuffix} ${a.paddingRight}${a.paddingRightSuffix} ${a.paddingBottom}${a.paddingBottomSuffix} ${a.paddingLeft}${a.paddingLeftSuffix};`}function Do({v:e,device:t,state:o}){0}function $o({v:e,device:t,state:o}){{let n="";const a=Ko({v:e,device:t,state:o});return n=`height:${a.paddingTop}${a.paddingTopSuffix};`,n}}function Go({v:e,device:t,state:o}){{let n="";const a=Ko({v:e,device:t,state:o});return n=`height:${a.paddingBottom}${a.paddingBottomSuffix};`,n}}function Uo({v:e,device:t,state:o}){{let n="";const a=Ko({v:e,device:t,state:o});return n=`padding-right:${a.paddingRight}${a.paddingRightSuffix};padding-left:${a.paddingLeft}${a.paddingLeftSuffix};`,n}}function Ko({v:e,device:t,state:o,prefix:n=""}){let a=0,r=0,i=0,l=0,s="px",c="px",d="px",u="px";if("grouped"===Object(B.zd)({v:e,device:t,state:o,prefix:n})){const p=Object(B.xd)({v:e,device:t,state:o,prefix:n}),b=Object(B.yd)({v:e,device:t,state:o,prefix:n});a=p,r=p,i=p,l=p,s=b,c=b,d=b,u=b}else a=Object(B.Ad)({v:e,device:t,state:o,prefix:n,current:"paddingTop"}),r=Object(B.Ad)({v:e,device:t,state:o,prefix:n,current:"paddingRight"}),i=Object(B.Ad)({v:e,device:t,state:o,prefix:n,current:"paddingBottom"}),l=Object(B.Ad)({v:e,device:t,state:o,prefix:n,current:"paddingLeft"}),s=Object(B.Bd)({v:e,device:t,state:o,prefix:n,current:"paddingTopSuffix"}),c=Object(B.Bd)({v:e,device:t,state:o,prefix:n,current:"paddingRightSuffix"}),d=Object(B.Bd)({v:e,device:t,state:o,prefix:n,current:"paddingBottomSuffix"}),u=Object(B.Bd)({v:e,device:t,state:o,prefix:n,current:"paddingLeftSuffix"});return{paddingTop:a,paddingRight:r,paddingBottom:i,paddingLeft:l,paddingTopSuffix:s,paddingRightSuffix:c,paddingBottomSuffix:d,paddingLeftSuffix:u}}function Yo({v:e,device:t,state:o}){return`padding:${Object(B.qd)({v:e,device:t,state:o})} ${Object(B.pd)({v:e,device:t,state:o})} ${Object(B.nd)({v:e,device:t,state:o})} ${Object(B.od)({v:e,device:t,state:o})};`}function qo({v:e,device:t,state:o}){let n="",a="",r=0,i=0,l=0,s=0,c="",d="",u="",p="";a=Object(B.td)({v:e,device:t,state:o}),"grouped"===a?(s=Object(B.ud)({v:e,device:t,state:o,current:"marginLeft"}),"auto"===s?(r=l=Object(B.rd)({v:e,device:t,state:o}),s=i="auto",c=u=Object(B.sd)({v:e,device:t,state:o})):(r=i=l=s=Object(B.rd)({v:e,device:t,state:o}),c=d=u=p=Object(B.sd)({v:e,device:t,state:o}))):(r=Object(B.ud)({v:e,device:t,state:o,current:"marginTop"}),i=Object(B.ud)({v:e,device:t,state:o,current:"marginRight"}),l=Object(B.ud)({v:e,device:t,state:o,current:"marginBottom"}),s=Object(B.ud)({v:e,device:t,state:o,current:"marginLeft"}),c=Object(B.vd)({v:e,device:t,state:o,current:"marginTopSuffix"}),d=Object(B.vd)({v:e,device:t,state:o,current:"marginRightSuffix"}),u=Object(B.vd)({v:e,device:t,state:o,current:"marginBottomSuffix"}),p=Object(B.vd)({v:e,device:t,state:o,current:"marginLeftSuffix"}));return n=void 0===r?"":r===i&&r===l&&r===s&&0!==r?`margin:${r}${c};`:0!==r||0!==i||0!==l||0!==s?`margin:${r}${c} ${i}${d} ${l}${u} ${s}${p};`:"margin:0;",n}function Xo({v:e,device:t,state:o}){return`margin:${Object(B.md)({v:e,device:t,state:o})} ${Object(B.ld)({v:e,device:t,state:o})} ${Object(B.jd)({v:e,device:t,state:o})} ${Object(B.kd)({v:e,device:t,state:o})};`}function Zo(){return"display:flex;"}function Jo(){return"display:inline-flex;"}function Qo(){return"display:block;"}function en({v:e,device:t,state:o}){let n="";{const a=Object(B.Rd)({v:e,device:t,state:o}),r=Object(B.Sd)({v:e,device:t,state:o});n=""!==a?`filter:${a};opacity:${r};`:""}return n}function tn({v:e,device:t,state:o,mode:n="editor"}){const a=Object(B.Rd)({v:e,device:t,state:o});return"editor"===n&&""!==a?"display:var(--elements-visibility, flex);":""}function on({v:e,device:t,state:o,mode:n="editor"}){const a=Object(B.Rd)({v:e,device:t,state:o});return"editor"===n&&""!==a?"display:var(--elements-visibility, inline-flex);":""}function nn({v:e,device:t,state:o,mode:n="editor"}){const a=Object(B.Rd)({v:e,device:t,state:o});return"editor"===n&&""!==a?"display:var(--elements-visibility, block);":""}function an({v:e,device:t,state:o,mode:n="editor"}){const a=en({v:e,device:t,state:o});return"editor"===n?a:""}function rn(e,t){const{membership:o,membershipRoles:n}=e,a=JSON.parse(n||"[]");if("off"===o||0===a.length)return"";return`display: var(${"--role-default-"+t} ${a.map(e=>`, var(--role-${e}-${t}`).join("").replace(/\//g,"")}, none${")".repeat(a.length+1)};`}function ln({v:e}){return rn(e,"block")}function sn({v:e}){return rn(e,"flex")}function cn({v:e,device:t,state:o,prefix:n=""}){const a=Object(B.cd)({v:e,device:t,state:o,prefix:n}),r=Object(B.ed)({v:e,device:t,state:o,prefix:n}),i=Object(B.fd)({v:e,device:t,state:o,prefix:n}),l=Object(B.dd)({v:e,device:t,state:o,prefix:n});return 100===a&&0===r&&100===i&&100===l?"":`brightness(${a}%) hue-rotate(${r}deg) saturate(${i}%) contrast(${l}%)`}function dn({v:e,device:t,state:o,prefix:n=""}){const a=cn({v:e,device:t,state:o,prefix:n});return""===a?"":`filter:${a};`}function un({v:e,device:t,state:o}){const n=Object(B.Dc)({v:e,device:t,state:o});return void 0===n?"":`padding-top:${n};`}function pn({v:e,device:t,state:o}){const n=Object(B.cd)({v:e,device:t,state:o}),a=Object(B.ed)({v:e,device:t,state:o}),r=Object(B.fd)({v:e,device:t,state:o}),i=Object(B.dd)({v:e,device:t,state:o});return void 0===n&&void 0===a&&void 0===r&&void 0===i?"":`filter:brightness(${n}%) hue-rotate(${a}deg) saturate(${r}%) contrast(${i}%);`}function bn({v:e,device:t,state:o}){const n=Object(B.xc)({v:e,device:t,state:o});return void 0===n?"":`background-size:${n}%;`}function mn({v:e,device:t,state:o}){const n=Object(B.tc)({v:e,device:t,state:o}),a=Object(B.rc)({v:e,device:t,state:o}),r=Object(B.sc)({v:e,device:t,state:o}),i=Object(B.qc)({v:e,device:t,state:o});return a>0?`background-color:${Object(Ut.c)(i,a)};`:n>0?`background-color:${Object(Ut.c)(r,n)};`:"background-color:transparent;"}function hn({v:e,device:t,state:o}){const n=Object(B.zc)({v:e,device:t,state:o});return void 0===n?"":`font-size:${n}px;`}function gn({v:e,device:t,state:o}){const n=Object(B.Bc)({v:e,device:t,state:o});return void 0===n?"":`width:${n}px;`}function vn({v:e,device:t,state:o}){const n=Object(B.Ac)({v:e,device:t,state:o});return void 0===n?"":`height:${n}px;`}function fn({v:e,device:t,state:o}){const n=Object(B.pc)({v:e,device:t,state:o});return void 0===n?"":`background-color:${n};`}function yn({v:e,device:t,state:o}){const n=Object(B.wc)({v:e,device:t,state:o});return n?`background-image:${n};`:""}function On({v:e,device:t,state:o}){const n=Object(B.uc)({v:e,device:t,state:o}),a=Object(B.vc)({v:e,device:t,state:o});return void 0===n&&void 0===a?"":`background-position:${n}% ${a}%;`}function Sn(){return"transition-property: box-shadow, border, border-radius, background-color, color, transform;"}function xn({v:e,device:t,state:o}){return dt({v:e,device:t,state:o,prefix:"controlsBg"})}function Cn({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"iconControlsColor"})}function jn({v:e,device:t,state:o}){const n=Object(B.yc)({v:e,device:t,state:o});return void 0===n?"":`font-size:${n}px;`}function Pn({v:e,device:t}){return Y({v:e,device:t,prefix:"subTitle"})}function Bn({v:e,device:t}){return q({v:e,device:t,prefix:"subTitle"})}function wn({v:e,device:t}){return X({v:e,device:t,prefix:"subTitle"})}function Tn({v:e,device:t}){return Z({v:e,device:t,prefix:"subTitle"})}function zn({v:e,device:t}){return J({v:e,device:t,prefix:"subTitle"})}function En({v:e,device:t,state:o}){const n=Object(B.Td)({v:e,device:t,state:o});return void 0===n?"":`width:${n}px;`}function kn({v:e,device:t,state:o}){const n=Object(B.Cc)({v:e,device:t,state:o});return void 0===n?"":`max-width:${n}px; flex: 1 1 ${n}px;`}function Hn({v:e,device:t,state:o}){return Ie({v:e,device:t,state:o,prefix:"item"})}function Fn({v:e,device:t,state:o}){const n=Object(B.Td)({v:e,device:t,state:o});return void 0===n?"":`width: calc(100% - ${n}px);`}function _n({v:e,device:t}){const o=Object(z.defaultValueValue)({v:e,key:"gridColumn",device:t}),n=o>1?100/o:100;return`max-width:${n}%; flex: 0 0 ${n}%;`}function Rn({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"iconColor"})}function Ln({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"subTitleColor"})}function Mn({v:e,device:t,state:o}){return dt({v:e,device:t,state:o,prefix:"iconBg"})}function Wn({v:e,device:t}){return dt({v:e,device:t,state:"active",prefix:"bg"})}function In({v:e,device:t}){return Ie({v:e,device:t,state:"active",prefix:"item"})}function Nn({v:e,device:t}){return St({v:e,device:t,state:"active",prefix:"color"})}function An({v:e,device:t}){return St({v:e,device:t,state:"active",prefix:"subTitleColor"})}function Vn({v:e,device:t,state:o}){const n=Object(B.sb)({v:e,device:t,state:o});return void 0===n?"":`font-size:${n}px;`}function Dn({v:e,device:t,state:o}){const n=Object(B.Ad)({v:e,device:t,state:o,current:"paddingTop"}),a=Object(B.Ad)({v:e,device:t,state:o,current:"paddingRight"});return void 0===n&&void 0===a?"":`padding:${n}px ${a}px;`}function $n({v:e,device:t}){const o=Object(B.Y)({v:e,device:t});return`min-height: ${"custom"===o?`${Object(B.W)({v:e,device:t})}${Object(B.X)({v:e,device:t})}`:"fullHeight"===o?"100vh":"auto"};`}function Gn({v:e,device:t,state:o}){const n="on"===Object(B.Dd)({v:e,device:t,state:o})?"row-reverse":"row",a="on"===Object(B.Ed)({v:e,device:t})?"wrap-reverse":"wrap",r="on"===Object(B.Cd)({v:e,device:t})?"flex-end":"flex-start";return"desktop"!==t?`flex-direction:${n};flex-wrap:${a};justify-content:${r};`:""}var Un=o(29),Kn=o(168),Yn=o(284),qn=o(285);function Xn(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Zn(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Xn(Object(o),!0).forEach((function(t){Object(P.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Xn(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Jn(e){return Object(B.te)(e)?"position:relative;":"position:static;"}function Qn(){return"position:relative;"}function ea(e){const t=Kn.a((o="elementPosition",Object(z.defaultValueValue)(Zn({key:o},e))));var o;return void 0===t?"":`position:${t};`}function ta(e){const t=t=>Object(z.defaultValueValue)(Zn({key:t},e)),o=t("elementPosition"),n=Un.b(t("width")),a=T.d(t("widthSuffix"));return void 0!==n&&a&&"relative"!==o?`width:${n}${a};`:""}function oa(e){var t,o;const n=t=>Object(z.defaultValueValue)(Zn({key:t},e)),a=Kn.a(n("elementPosition"));if(!a||"relative"===a)return"";const r=Yn.a(n("offsetYAlignment")),i=Un.b(n("offsetY")),l=null!==(t=T.d(n("offsetYSuffix")))&&void 0!==t?t:"px",s=qn.a(n("offsetXAlignment")),c=Un.b(n("offsetX")),d=null!==(o=T.d(n("offsetXSuffix")))&&void 0!==o?o:"px",u=r?{top:"unset",bottom:"unset",[r]:`${i}${l}`}:{},p=s?{right:"unset",left:"unset",[s]:`${c}${d}`}:{};return Object.entries(Zn(Zn({},u),p)).map(([e,t])=>t?`${e}: ${t};`:"").join("")}function na({v:e,device:t,state:o}){return`margin-right: ${Object(B.id)({v:e,device:t,state:o})}px;`}function aa({v:e,device:t,state:o}){const n=Object(B.hd)({v:e,device:t,state:o});return void 0===n?"":`font-size:${n}px;`}var ra=o(30);const ia=e=>void 0!==e;function la({v:e,device:t,state:o}){const n=Object(B.Pb)({v:e,device:t,state:o}),a=Object(B.Ob)({v:e,device:t,state:o});let r=`calc(${a/100} * var(--brz-section-container-max-width, 1170px));`;return t!==ra.c&&t!==ra.b||(r=a+"%"),"boxed"===n?"max-width: "+r:"max-width: 100%;"}function sa({v:e}){const t="on"===Object(B.Tb)({v:e})?"height":"min-height",o="on"===Object(B.Qb)({v:e})?"100vh":"100%";return ia(o)?`${t}: ${o};`:""}function ca({v:e,device:t,state:o,prefix:n="sliderDotsColor"}){const a=Object(B.B)({v:e,device:t,state:o,prefix:n});return ia(a)?`color: ${a};`:""}function da({v:e,device:t,state:o,prefix:n="sliderArrowsColor"}){const a=Object(B.B)({v:e,device:t,state:o,prefix:n});return ia(a)?`color: ${a};`:""}function ua(){return"transition-property: filter, background, border, border-radius;"}function pa({v:e,device:t,state:o}){let n,a;if("grouped"===Object(B.td)({v:e,device:t,state:o})?(n=Object(B.rd)({v:e,device:t,state:o}),a=Object(B.sd)({v:e,device:t,state:o})):(n=Object(B.ud)({v:e,device:t,state:o,current:"marginTop"}),a=Object(B.vd)({v:e,device:t,state:o,current:"marginTopSuffix"})),!ia(n))return"";if(n<0){let t=42-n;if("%"===a){const o=document.querySelector(`[data-uid="${e._id}"]`);if(o){t=42+o.getBoundingClientRect().width/100*-n}}return`grid-template-rows: minmax(calc(100% - 42px), ${t}px) 42px;`}return"grid-template-rows: minmax(calc(100% - 42px), 42px) 42px;"}function ba({v:e,device:t}){const o=Object(B.Qb)({v:e,device:t});return`min-height: ${"custom"===o?`${Object(B.Rb)({v:e,device:t})}${Object(B.Sb)({v:e,device:t})}`:"on"===o?"100vh":"auto"};`}function ma({v:e,device:t,state:o}){{const{paddingLeft:n,paddingLeftSuffix:a,paddingRight:r,paddingRightSuffix:i}=Ko({v:e,device:t,state:o}),l=`${n}${a}`,s=`${r}${i}`;return`margin-left: -${l}; margin-right: -${s}; width: calc(100% + ${s} + ${l});`}}function ha(){return"max-width: 1170px; height: 100%;"}function ga({v:e,device:t,state:o}){return`font-size: ${Object(B.he)({v:e,device:t,state:o})/2}px;`}function va({v:e,device:t,state:o,prefix:n="activeColor"}){return`color: ${Object(B.B)({v:e,device:t,state:o,prefix:n})};`}function fa({v:e,device:t,state:o,prefix:n="arrowsColor"}){return`color: ${Object(B.B)({v:e,device:t,state:o,prefix:n})};`}function ya({v:e,device:t,state:o}){const n=Object(B.Zd)({v:e,device:t,state:o});return void 0===n?"":`flex-basis:${n}%;`}function Oa({v:e,device:t,state:o}){const n=Object(B.Zd)({v:e,device:t,state:o,prefix:"submit"});return void 0===n?"":`max-width:${n}%;flex-basis:${n}%;`}function Sa({v:e,device:t,state:o}){const n=(a="type",Object(z.defaultValueValue)({v:e,key:a,device:t,state:o}));var a;const r=Object(B.Vd)({v:e,device:t,state:o});return void 0===r||void 0===n?"":"Paragraph"===n?`height:${r}px!important;`:"height:auto;"}function xa({v:e,device:t,state:o}){const n=Object(B.c)({v:e,device:t,state:o,prefix:"label"});return void 0===n?"":`text-align:${n};`}function Ca({v:e,device:t,state:o}){const{paddingTop:n,paddingRight:a,paddingBottom:r,paddingLeft:i}=Ko({v:e,device:t,state:o});return void 0===n||void 0===a||void 0===r||void 0===i||c.d?"":`margin:-${n}px -${a/2}px\n -${r}px -${i/2}px;`}function ja({v:e,device:t,state:o}){const{paddingTop:n,paddingRight:a,paddingBottom:r,paddingLeft:i,paddingTopSuffix:l,paddingRightSuffix:s,paddingBottomSuffix:d,paddingLeftSuffix:u}=Ko({v:e,device:t,state:o});return void 0===n||void 0===a||void 0===r||void 0===i?"":c.d?`padding:0 0 ${r}${d} 0;`:`padding:${n}${l}\n ${a/2}${s}\n ${r}${d}\n ${i/2}${u};`}function Pa({v:e,device:t,state:o}){const n=Object(B.le)({v:e,device:t}),a=Object(B.he)({v:e,device:t}),{paddingTop:r,paddingBottom:i}=Ko({v:e,device:t,state:o}),l=function({v:e,device:t,state:o,prefix:n=""}){let a=0,r=0;if("grouped"===Object(B.t)({v:e,device:t,state:o,prefix:n})){const i=Object(B.s)({v:e,device:t,state:o,prefix:n});a=i,r=i}else a=Object(B.u)({v:e,device:t,state:o,prefix:n,current:"top"}),r=Object(B.u)({v:e,device:t,state:o,prefix:n,current:"bottom"});return a+r}({v:e,device:t,state:o});return`min-height:${Math.round(a*n*10)/10+r+i+l}px;`}function Ba({v:e,device:t}){return Y({v:e,device:t,prefix:"label"})}function wa({v:e,device:t}){return q({v:e,device:t,prefix:"label"})}function Ta({v:e,device:t}){return X({v:e,device:t,prefix:"label"})}function za({v:e,device:t}){return Z({v:e,device:t,prefix:"label"})}function Ea({v:e,device:t}){return J({v:e,device:t,prefix:"label"})}function ka({v:e,device:t,state:o}){return Vo({v:e,device:t,state:o,prefix:"label"})}function Ha({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"checkboxColor"})}function Fa({v:e,device:t}){return Y({v:e,device:t,prefix:"checkbox"})}function _a({v:e,device:t}){return q({v:e,device:t,prefix:"checkbox"})}function Ra({v:e,device:t}){return X({v:e,device:t,prefix:"checkbox"})}function La({v:e,device:t}){return Z({v:e,device:t,prefix:"checkbox"})}function Ma({v:e,device:t}){return J({v:e,device:t,prefix:"checkbox"})}function Wa({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"selectColor"})}function Ia({v:e,device:t,state:o}){return dt({v:e,device:t,state:o,prefix:"selectBg"})}function Na({v:e,device:t,state:o}){const n=Object(B.s)({v:e,device:t,state:o});return void 0===n||0===n?"border: 2px solid #f00":"border-color: #f00"}function Aa({v:e,device:t,state:o}){const n=Object(B.i)({v:e,device:t,state:o,prefix:"selectBg"});return void 0===n?"":`background-color:${Object(Ut.c)(n,.2)};`}function Va({v:e,device:t,state:o}){const n=Object(B.u)({v:e,device:t,state:o,prefix:"select",current:"top"}),a=Object(B.r)({v:e,device:t,state:o,prefix:"select"}),r=Object(B.n)({v:e,device:t,state:o,prefix:"select"});return void 0===n?"":`border :${n}px ${a} ${r};`}function Da({v:e,device:t,state:o}){return Ae({v:e,device:t,state:o,prefix:"select"})}function $a({v:e,device:t,state:o}){return jt({v:e,device:t,state:o,prefix:"select"})}function Ga({v:e,device:t,state:o}){const n=Object(B.eb)({v:e,device:t,state:o});return void 0===n?"":`flex-basis:${100/n}%;`}function Ua({v:e}){return`content: ""; padding-top: ${e.submitHeight}%;`}function Ka({v:e,device:t,state:o}){const{paddingTop:n,paddingRight:a,paddingBottom:r,paddingLeft:i}=Ko({v:e,device:t,state:o,prefix:"field"});return void 0===n||void 0===a||void 0===r||void 0===i?"":`margin:-${n}px -${a/2}px\n -${r}px -${i/2}px;`}function Ya({v:e,device:t,state:o}){const{paddingTop:n,paddingRight:a,paddingBottom:r,paddingLeft:i,paddingTopSuffix:l,paddingRightSuffix:s,paddingBottomSuffix:c,paddingLeftSuffix:d}=Ko({v:e,device:t,state:o,prefix:"field"});return void 0===n||void 0===a||void 0===r||void 0===i?"":`padding:${n}${l}\n ${a/2}${s}\n ${r}${c}\n ${i/2}${d};`}function qa({v:e,device:t}){return Y({v:e,device:t,prefix:"lost"})}function Xa({v:e,device:t}){return q({v:e,device:t,prefix:"lost"})}function Za({v:e,device:t}){return X({v:e,device:t,prefix:"lost"})}function Ja({v:e,device:t}){return Z({v:e,device:t,prefix:"lost"})}function Qa({v:e,device:t}){return J({v:e,device:t,prefix:"lost"})}function er({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"lostColor"})}function tr({v:e,device:t,state:o}){const n=Object(B.c)({v:e,device:t,state:o,prefix:"lost"});return void 0===n?"":`text-align:${n};`}function or({v:e,device:t,state:o}){const n=(a="rememberMeHorizontalAlign",Object(z.defaultValueValue)({v:e,key:a,device:t,state:o}));var a;return`justify-content: ${void 0===n?n:{left:"flex-start",center:"center",right:"flex-end"}[n]};`}function nr({v:e,device:t,state:o}){const n=Object(B.c)({v:e,device:t,state:o,prefix:"autorized"});return void 0===n?"":`text-align:${n};`}function ar({v:e,device:t}){return Y({v:e,device:t,prefix:"text"})}function rr({v:e,device:t}){return q({v:e,device:t,prefix:"text"})}function ir({v:e,device:t}){return X({v:e,device:t,prefix:"text"})}function lr({v:e,device:t}){return Z({v:e,device:t,prefix:"text"})}function sr({v:e,device:t}){return J({v:e,device:t,prefix:"text"})}function cr({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"textColor"})}function dr({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"linkColor"})}function ur({v:e,device:t}){return Y({v:e,device:t,prefix:"registerInfo"})}function pr({v:e,device:t}){return q({v:e,device:t,prefix:"registerInfo"})}function br({v:e,device:t}){return X({v:e,device:t,prefix:"registerInfo"})}function mr({v:e,device:t}){return Z({v:e,device:t,prefix:"registerInfo"})}function hr({v:e,device:t}){return J({v:e,device:t,prefix:"registerInfo"})}function gr({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"registerInfoColor"})}function vr({v:e,device:t,state:o}){const n=Object(B.c)({v:e,device:t,state:o,prefix:"registerInfo"});return void 0===n?"":`text-align:${n};`}function fr({v:e,device:t}){return Y({v:e,device:t,prefix:"registerLink"})}function yr({v:e,device:t}){return q({v:e,device:t,prefix:"registerLink"})}function Or({v:e,device:t}){return X({v:e,device:t,prefix:"registerLink"})}function Sr({v:e,device:t}){return Z({v:e,device:t,prefix:"registerLink"})}function xr({v:e,device:t}){return J({v:e,device:t,prefix:"registerLink"})}function Cr({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"registerLinkColor"})}function jr({v:e,device:t,state:o}){const n=Object(B.c)({v:e,device:t,state:o,prefix:"registerLink"});return void 0===n?"":`text-align:${n};`}function Pr({v:e,device:t}){return Y({v:e,device:t,prefix:"loginLink"})}function Br({v:e,device:t}){return q({v:e,device:t,prefix:"loginLink"})}function wr({v:e,device:t}){return X({v:e,device:t,prefix:"loginLink"})}function Tr({v:e,device:t}){return Z({v:e,device:t,prefix:"loginLink"})}function zr({v:e,device:t}){return J({v:e,device:t,prefix:"loginLink"})}function Er({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"loginLinkColor"})}function kr({v:e,device:t,state:o}){const n=Object(B.c)({v:e,device:t,state:o,prefix:"loginLink"});return void 0===n?"":`text-align:${n};`}function Hr({v:e,device:t,state:o,prefix:n="iconsColor"}){return`color: ${Object(B.B)({v:e,device:t,state:o,prefix:n})};`}function Fr({v:e,device:t,state:o,prefix:n="textColor"}){return`color: ${Object(B.B)({v:e,device:t,state:o,prefix:n})};`}function _r({v:e,device:t,state:o}){return"inline"===Object(B.bd)({v:e,device:t})?`margin-right: ${Object(B.Yd)({v:e,device:t,state:o})}px;`:`margin-top: ${Object(B.Yd)({v:e,device:t,state:o})}px;`}function Rr({v:e,device:t}){return"desktop"===t?`font-family:${Object(B.ge)({v:e,device:t,prefix:"titleTypography"})};`:""}function Lr({v:e,device:t}){return`font-size:${Object(B.he)({v:e,device:t,prefix:"titleTypography"})}px;`}function Mr({v:e,device:t}){return`line-height:${Object(B.le)({v:e,device:t,prefix:"titleTypography"})};`}function Wr({v:e,device:t}){return`font-weight:${Object(B.je)({v:e,device:t,prefix:"titleTypography"})};`}function Ir({v:e,device:t}){return`letter-spacing:${Object(B.ke)({v:e,device:t,prefix:"titleTypography"})}px;`}function Nr({v:e,device:t}){return"desktop"===t?`font-family:${Object(B.ge)({v:e,device:t,prefix:"postTypography"})};`:""}function Ar({v:e,device:t}){return`font-size:${Object(B.he)({v:e,device:t,prefix:"postTypography"})}px;`}function Vr({v:e,device:t}){return`line-height:${Object(B.le)({v:e,device:t,prefix:"postTypography"})};`}function Dr({v:e,device:t}){return`font-weight:${Object(B.je)({v:e,device:t,prefix:"postTypography"})};`}function $r({v:e,device:t}){return`letter-spacing:${Object(B.ke)({v:e,device:t,prefix:"postTypography"})}px;`}function Gr({v:e,device:t,state:o}){const n=Object(B.B)({v:e,device:t,prefix:"titleColor",state:o});return void 0===n?"":`color:${n};`}function Ur({v:e,device:t,state:o}){const n=Object(B.B)({v:e,device:t,prefix:"postColor",state:o});return void 0===n?"":`color:${n};`}function Kr({v:e,device:t,state:o}){const n=Object(B.Kb)({v:e,device:t,state:o}),a=Object(B.Ib)({v:e,device:t,state:o});return void 0===n?"":"off"===a?"margin-bottom: 0;":`margin-bottom:${n}px`}function Yr({v:e,device:t,state:o}){const n=Object(B.Vd)({v:e,device:t,state:o});return void 0===n?"":`height:${n}%;`}function qr({v:e,device:t,state:o}){const n=Object(B.Jb)({v:e,device:t,state:o});return void 0===n||"off"!==n?"":"content: none;"}function Xr({v:e,device:t,state:o,prefix:n="ratingColor"}){return`color: ${Object(B.B)({v:e,device:t,state:o,prefix:n})};`}function Zr({v:e,device:t,state:o,prefix:n="ratingBackgroundColor"}){return`color: ${Object(B.B)({v:e,device:t,state:o,prefix:n})};`}function Jr({v:e,device:t,state:o,prefix:n="bgColor"}){return`background-color: ${Object(B.B)({v:e,device:t,state:o,prefix:n})};`}function Qr({v:e,device:t}){return`border-radius: ${o="borderRadius",Object(z.defaultValueValue)({v:e,key:o,device:t})}px;`;var o}function ei(){return"transition-property: color;"}function ti({v:e,device:t}){var o;return"on"===(o="label",Object(z.defaultValueValue)({key:o,v:e,device:t}))?"display: flex; flex-direction: row;":"display: flex; flex-direction: row-reverse;"}function oi({v:e,device:t}){const o=o=>Object(z.defaultValueValue)({key:o,v:e,device:t}),n=o("spacing"),a=o("label"),r=o("ratingStyle");switch(a){case"on":return`margin-right: ${n}px;`;case"on-right":return"style-2"===r?`margin-right: ${n}px; margin-left: 0;`:`margin-left: ${n}px; margin-right: 0;`;case"off":return"margin: 0;"}}function ni({v:e,device:t,prefix:o}){const n=Object(B.s)({v:e,device:t,prefix:o});return Object(B.gc)({v:e,device:t,prefix:o})+2*Object(B.hc)({v:e,device:t,prefix:o})+2*n}function ai({v:e,device:t,state:o,prefix:n}){return ni({v:e,device:t,state:o,prefix:n})/2}function ri({v:e,device:t,prefix:o}){return"on"===Object(B.fc)({v:e,device:t,prefix:o})}function ii({v:e,device:t,prefix:o}){const n=Object(B.he)({v:e,device:t,prefix:"typography"}),a=Object(B.le)({v:e,device:t,prefix:"typography"});return ri({v:e,device:t,prefix:o})?n*a:0}function li({v:e,device:t,prefix:o}){return ri({v:e,device:t,prefix:o})?116:0}function si({v:e,device:t,prefix:o}){return`font-size: ${Object(B.gc)({v:e,device:t,prefix:o})}px;`}function ci({v:e,device:t,prefix:o}){return`padding: ${Object(B.hc)({v:e,device:t,prefix:o})}px;`}function di({v:e,prefix:t}){return`width: ${ni({v:e,prefix:t})}px;`}function ui({v:e,prefix:t}){return`height: ${ni({v:e,prefix:t})}px;`}function pi({v:e,prefix:t}){return`width: ${ni({v:e,prefix:t})+60}px;`}function bi({v:e}){return ri({v:e})?"display: block;":"display: none;"}function mi({v:e,device:t,state:o}){const n=Object(B.n)({v:e,device:t,prefix:"line"}),a=Object(B.ic)({v:e,device:t,state:o}),r=o=>Object(z.defaultValueValue)({v:e,key:o,device:t}),i=r("lineBorderStyle"),l=r("lineBorderWidth");return"off"===a?`border-top: ${n} ${l}px ${i};`:`border-left: ${n} ${l}px ${i};border-top:0;`}function hi({v:e,device:t,state:o}){const n=Object(B.kc)({v:e,device:t,state:o}),a=Object(B.ic)({v:e,device:t,state:o}),r=Object(B.s)({v:e,prefix:"line"}),i=ai({v:e}),l=ii({v:e,device:t}),s=ai({v:e}),c=Object(B.s)({v:e,device:t}),d=Object(B.gc)({v:e,device:t})+2*Object(B.hc)({v:e,device:t})+2*c+20,u=i+l-r/2;if("off"===a)switch(n){case"style-1":return`top: ${u}px; bottom:auto; left: ${d}px;`;case"style-2":return`bottom: ${u}px; top:auto; left: ${d}px;`;case"style-3":return`top: calc( ${u}px + 50%); bottom:auto; left: ${d}px;`}else if("on"===a)switch(n){case"style-1":case"style-2":case"style-3":return`top: calc( ${s}px + 50%);`}}function gi({v:e,device:t,prefix:o}){const n=Object(B.jc)({v:e,device:t,prefix:o}),a=Object(B.ic)({v:e,device:t}),r=Object(B.kc)({v:e,device:t});if("off"===a)switch(r){case"style-1":return`margin: ${n}px 10px 0 10px;`;case"style-2":return`margin: 0 10px ${n}px 10px;`;case"style-3":return`margin: ${n}px 10px 0 10px;`}else if("on"===a)switch(r){case"style-1":return`margin: 0 0 0 ${n}px;`;case"style-2":return`margin: 0 ${n}px 0 0;`;case"style-3":return`margin: 0 0 0 ${n}px;`}}function vi({v:e,device:t,prefix:o}){return`border: ${Object(B.s)({v:e,device:t,prefix:o})}px solid ${Object(B.n)({v:e,device:t,prefix:o})};`}function fi({v:e,device:t,state:o,prefix:n}){return`border-radius: ${Object(B.o)({v:e,device:t,state:o,prefix:n})}px;`}function yi({v:e,device:t,state:o,prefix:n}){const a=ai({v:e,prefix:n}),r=li({v:e})+a,i=Object(B.ic)({v:e,device:t,state:o}),l=Object(B.kc)({v:e,device:t,state:o});if("on"===i)switch(l){case"style-1":return`left: calc(50% - ${r}px); right: auto;`;case"style-2":return`right: calc(50% - ${r}px); left: auto;`}else if("off"===i)return"left: auto; right: auto;"}function Oi({v:e,device:t,state:o,prefix:n}){const a=ai({v:e,device:t,prefix:n}),r=ni({v:e,device:t,prefix:n}),i=Object(B.s)({v:e,device:t,prefix:"line"}),l=Object(B.ic)({v:e,device:t,state:o});return"on"===l?`height: calc(50% - (${a}px)); width: ${i}px;`:"off"===l?`width: calc(100% - ${r}px); height: ${i}px;`:void 0}function Si({v:e,device:t,state:o,prefix:n}){const a=ai({v:e,device:t,prefix:n}),r=ni({v:e,device:t,prefix:n}),i=Object(B.s)({v:e,device:t,prefix:"line"}),l=Object(B.ic)({v:e,device:t,state:o}),s=(c="lineBorderStyle",Object(z.defaultValueValue)({v:e,key:c,device:t}));var c;return"on"===l?`height: calc(${"dashed"===s||"dotted"===s?100-i:100}px + (50% - ${a}px)); width: ${i}px; left: ${i}px;`:"off"===l?`width: calc(100% - ${r}px); height: ${i}px;`:void 0}function xi({v:e,device:t,state:o,prefix:n}){const a=Object(B.s)({v:e,device:t,prefix:"line"}),r=ai({v:e,device:t,prefix:n}),i=li({v:e,device:t})+r-a/2,l=Object(B.ic)({v:e,device:t,state:o}),s=Object(B.kc)({v:e,device:t,state:o});if("on"===l)switch(s){case"style-1":return`left: ${i}px; bottom: calc( ${r}px + 50%);`;case"style-2":return`right: ${i}px; bottom: calc( ${r}px + 50%); left:unset;`;case"style-3":return`left: ${i}px; bottom: calc( ${r}px + 50%);`}}function Ci({v:e,device:t,state:o}){const n=Object(B.ic)({v:e,device:t,state:o});return"on"===n?"display: block;":"off"===n?"display: none;":void 0}function ji({v:e,device:t,state:o,prefix:n}){const a=ai({v:e,prefix:n});if("on"===Object(B.ic)({v:e,device:t,state:o}))return`top: calc( ${a}px + 50%);`}function Pi({v:e,device:t,state:o,prefix:n}){const a=ai({v:e,prefix:n}),r=Object(B.ic)({v:e,device:t,state:o}),i=Object(B.kc)({v:e,device:t,state:o});if("on"===r&&("style-1"===i||"style-2"===i||"style-3"===i))return`bottom: calc( ${a}px + 50%);`}function Bi({v:e,device:t,prefix:o}){const n=Object(B.lc)({v:e,device:t,prefix:o});if("off"===Object(B.ic)({v:e,device:t,prefix:o})){const e=100/n;return`width: ${e}%; min-width: ${e}%;`}return"width: auto; min-width: auto;"}function wi({v:e,device:t,prefix:o}){const n=100/Object(B.lc)({v:e,device:t,prefix:o});return`width: calc(${n}% - 30px); min-width: calc(${n}% - 30px);`}function Ti({v:e,device:t,state:o,prefix:n}){const a=ai({v:e,prefix:n}),r=li({v:e})+a,i=Object(B.ic)({v:e,device:t,state:o}),l=Object(B.kc)({v:e,device:t,state:o});if("on"===i&&"style-2"===l)return`right: calc(50% - ${r}px);`}function zi({v:e,device:t,state:o,prefix:n}){const a=Object(B.s)({v:e,device:t,prefix:"line"}),r=ai({v:e,prefix:n}),i=li({v:e})+r-a/2,l=Object(B.ic)({v:e,device:t,state:o}),s=Object(B.kc)({v:e,device:t,state:o});if("on"===l&&"style-2"===s)return`right: ${i}px;`}function Ei({v:e,device:t}){const o=Object(B.ic)({v:e,device:t}),n=Object(B.kc)({v:e,device:t}),a=Object(B.s)({v:e,device:t,prefix:"line"}),r=ai({v:e,device:t}),i=ii({v:e,device:t}),l=Object(B.s)({v:e,device:t}),s=Object(B.gc)({v:e,device:t}),c=Object(B.hc)({v:e,device:t}),d=ai({v:e,device:t});var u;const p=li({v:e,device:t})+d-a/2,b=s+2*c+2*l+20,m=r+i+(u="textSpacing",Object(z.defaultValueValue)({v:e,key:u,device:t}))-a/2;if("off"===o)switch(n){case"style-1":return`bottom:auto; right: auto; top: ${m}px; left: ${b}px;`;case"style-2":return`bottom: ${m}px; top:auto; right: auto; left: ${b}px;`;case"style-3":return`bottom: ${r}px; top: unset; right: auto; left: ${b}px;`}else if("on"===o)switch(n){case"style-1":return`left: ${p}px; top: calc(50% + ${r}px);`;case"style-2":return`right: ${p}px; left: auto; top: calc(50% + ${r}px);`;case"style-3":return`left: ${p}px; top: calc(50% + ${r}px);`}}function ki({v:e,device:t}){const o=Object(B.ic)({v:e,device:t}),n=Object(B.kc)({v:e,device:t}),a=Object(B.s)({v:e,prefix:"line"}),r=ai({v:e,device:t}),i=ii({v:e,device:t}),l=ai({v:e,device:t}),s=Object(B.s)({v:e,device:t}),c=Object(B.gc)({v:e,device:t}),d=Object(B.hc)({v:e,device:t});var u;const p=li({v:e})+l-a/2,b=c+2*d+2*s+20,m=r+i+(u="textSpacing",Object(z.defaultValueValue)({v:e,key:u,device:t}))-a/2;if("off"===o)switch(n){case"style-1":return`top: ${m}px; bottom:auto; right: auto; left: ${b}px;`;case"style-2":return`bottom: ${m}px; top:auto; right: auto; left: ${b}px;`;case"style-3":return`top: ${r}px; bottom: unset; right: auto; left: ${b}px;`}else if("on"===o)switch(n){case"style-1":return`top: calc( ${l}px + 50%); left: ${p}px;`;case"style-2":return`top: calc( ${l}px + 50%); right: ${p}px; left: auto;`;case"style-3":return`top: calc( ${l}px + 50%); left: ${p}px;`}}function Hi({v:e,device:t,prefix:o}){const n=Object(B.jc)({v:e,device:t,prefix:o}),a=Object(B.ic)({v:e,device:t}),r=Object(B.kc)({v:e,device:t});if("off"===a){switch(r){case"style-1":return`margin: ${n}px 10px 0 10px;`;case"style-2":case"style-3":return`margin: 0 10px ${n}px 10px;`}return`margin: 0 10px ${n}px 10px;`}if("on"===a)switch(r){case"style-1":return`margin: 0 0 0 ${n}px;`;case"style-2":case"style-3":return`margin: 0 ${n}px 0 0;`}}function Fi({v:e,device:t,prefix:o}){const n=Object(B.jc)({v:e,device:t,prefix:o}),a=Object(B.ic)({v:e,device:t}),r=Object(B.kc)({v:e,device:t});if("off"===a&&"style-3"===r)return`margin: ${n}px 10px 0 10px;`}function _i({v:e,device:t,prefix:o}){const n=ai({v:e,prefix:o}),a=li({v:e})+n,r=Object(B.ic)({v:e,device:t}),i=Object(B.kc)({v:e,device:t});if("on"===r)switch(i){case"style-1":return`left: calc(50% - ${a}px);`;case"style-2":case"style-3":return`right: calc(50% - ${a}px); left: auto;`}else if("off"===r)switch(i){case"style-1":case"style-2":case"style-3":return"right: auto; left: auto;"}}function Ri({v:e,device:t,prefix:o}){const n=ai({v:e,prefix:o}),a=li({v:e})+n,r=Object(B.ic)({v:e,device:t}),i=Object(B.kc)({v:e,device:t});if("on"===r)switch(i){case"style-1":return`left: calc(50% - ${a}px);`;case"style-2":return"left:auto;";case"style-3":return`left: calc(50% - ${a}px);`}else if("off"===r)switch(i){case"style-1":return"left: auto;";case"style-2":return"left:auto;";case"style-3":return"left: auto;"}}function Li({v:e,device:t,prefix:o}){const n=Object(B.s)({v:e,device:t,prefix:"line"}),a=ai({v:e,prefix:o}),r=li({v:e})+a-n/2,i=Object(B.ic)({v:e,device:t}),l=Object(B.kc)({v:e,device:t});if("off"===i)switch(l){case"style-1":case"style-2":case"style-3":return""}else if("on"===i)switch(l){case"style-1":return`right: auto; left: ${r}px;`;case"style-2":return`right: ${r}px; left: auto;`;case"style-3":return`right: ${r}px; left: unset;`}}function Mi({v:e,device:t,prefix:o}){const n=Object(B.jc)({v:e,device:t,prefix:o}),a=ni({v:e,prefix:o}),r=li({v:e}),i=r+a+n-7,l=Object(B.ic)({v:e,device:t}),s=Object(B.kc)({v:e,device:t}),c=ai({v:e,device:t}),d=r+a+n-7;if("off"===l)switch(s){case"style-1":return`bottom: auto; top: 0; left: ${c}px;`;case"style-2":case"style-3":return`bottom: -15px; top: unset;left: ${c}px;`}else if("on"===l)switch(s){case"style-1":return`bottom: auto; left: ${d}px; top: 50%;`;case"style-2":case"style-3":return`right: ${i}px; left: unset; top: 50%;`}}function Wi({v:e,device:t,prefix:o}){const n=Object(B.jc)({v:e,device:t,prefix:o}),a=Object(B.ic)({v:e,device:t}),r=Object(B.kc)({v:e,device:t});if("on"===a&&"style-3"===r)return`margin: 0 ${n}px 0 0;`}function Ii({v:e,device:t,state:o}){const n=Object(B.nc)({v:e,device:t,state:o}),a=Object(B.oc)({v:e,device:t,state:o});return void 0===n?"":`min-width:${n}${a}; width:${n}${a};`}function Ni({v:e,device:t}){const o=Object(B.ic)({v:e,device:t}),n=Object(B.kc)({v:e,device:t});if("off"===o)switch(n){case"style-1":return"border-right: transparent ; border-bottom: transparent ; border-left: inherit ; border-top: inherit ;";case"style-2":return"border-left: transparent ; border-top: transparent ; border-right: inherit ; border-bottom: inherit ;"}else if("on"===o)switch(n){case"style-1":return"border-top: transparent ; border-right: transparent ; border-left: inherit ; border-bottom: inherit ;";case"style-2":return"border-left: transparent ; border-bottom: transparent ; border-right: inherit ; border-top: inherit ;"}}function Ai({v:e,device:t}){const o=Object(B.ic)({v:e,device:t}),n=Object(B.kc)({v:e,device:t});return"off"===o&&"style-3"===n?"border-left: transparent ; border-top: transparent ; border-right: inherit ; border-bottom: inherit;":"on"===o&&"style-3"===n?"border-left: transparent; border-bottom: transparent; border-right: inherit; border-top: inherit;":void 0}function Vi({v:e,device:t}){const o=Object(B.ic)({v:e,device:t}),n=Object(B.kc)({v:e,device:t});if("on"===o&&"style-3"===n)return"border-right: transparent; border-top: transparent; border-left: inherit; border-bottom: inherit;"}function Di({v:e,device:t}){const o=Object(B.ic)({v:e,device:t});return"off"===o?"flex: 1 1 auto; flex-direction: row; width: 100%; display: flex; overflow-x: auto; overflow-y: hidden; padding-bottom: 30px;":"on"===o?"display: flex; flex-direction: column; max-width: 100%; overflow-x: unset; overflow-y: unset; padding-bottom: unset; align-items: normal;":void 0}function $i({v:e,device:t}){const o=Object(B.ic)({v:e,device:t}),n=Object(B.kc)({v:e,device:t});if("off"===o)switch(n){case"style-1":return"display: flex; align-items: normal; flex-direction: column;";case"style-2":return"display: flex; align-items: normal; flex-direction: column-reverse;";case"style-3":return"display: flex; align-items: normal; flex-direction: column;"}else if("on"===o)switch(n){case"style-1":return"display: flex; align-items: center; flex-direction: row;";case"style-2":return"display: flex; align-items: center; flex-direction: row-reverse;";case"style-3":return"display: flex; align-items: center; flex-direction: row;"}}function Gi({v:e,device:t}){const o=Object(B.ic)({v:e,device:t}),n=Object(B.kc)({v:e,device:t}),a=Object(B.jc)({v:e,device:t}),r=li({v:e,device:t}),i=ni({v:e,device:t}),l=ai({v:e,device:t}),s=r+i+a-7;if("off"===o)switch(n){case"style-1":return`bottom: auto; top: 0; left: ${l}px;`;case"style-2":return`bottom: -15px; top: unset;left: ${l}px;`;case"style-3":return`bottom: -15px; top: unset; left: ${l}px;`}else if("on"===o)switch(n){case"style-1":return`bottom: auto; left: ${s}px; top: 50%;`;case"style-2":return`bottom: -15px; right: ${s}px; left: unset; top: 50%;`;case"style-3":return`bottom: -15px; left: ${s}px; top: 50%;`}}function Ui({v:e,device:t}){const o=Object(B.ic)({v:e,device:t}),n=Object(B.kc)({v:e,device:t});return"off"===o&&"style-3"===n?"bottom: unset;":"off"===o&&"style-2"===n?"bottom: -15px;":void 0}function Ki({v:e,device:t}){const o=Object(B.ic)({v:e,device:t}),n=Object(B.kc)({v:e,device:t}),a=(r="textSpacing",Object(z.defaultValueValue)({v:e,key:r,device:t}));var r;if("off"===o)switch(n){case"style-1":return`position: relative; margin-bottom: ${a}px; left: -10px; top: auto; transform: none;`;case"style-2":return`position: relative; margin-top: ${a}px; left: -10px; top: auto; transform: none;`;case"style-3":return`position: absolute; margin-top: auto; margin-bottom: auto; top: ${-a}px; left: -10px; transform: translateY(-100%);`}else if("on"===o)switch(n){case"style-1":return`position: relative; margin: 0; left: ${-a}px; top: auto; transform: none;`;case"style-2":return`position: relative; margin: 0; top: auto; left: ${a}px; transform: none;`;case"style-3":return`position: relative; margin: 0; left: ${-a}px; top: auto; transform: none;`}}function Yi({v:e,device:t}){const o=Object(B.ic)({v:e,device:t}),n=Object(B.kc)({v:e,device:t}),a=(r="textSpacing",Object(z.defaultValueValue)({v:e,key:r,device:t}));var r;if("off"===o)switch(n){case"style-1":case"style-2":return"position: relative; left: -10px; bottom: auto; transform: none;";case"style-3":return`position: absolute; bottom: ${-a}px; top: auto; left: -10px; transform: translateY(100%);`}else if("on"===o)switch(n){case"style-1":return`position: relative; left: ${-a}px; bottom: auto; transform: none;`;case"style-2":return`position: relative; bottom: auto; left: ${a}px; transform: none;`;case"style-3":return`position: relative; left: ${a}px; bottom: auto; transform: none;`}}function qi({v:e,device:t}){const o=Object(B.ic)({v:e,device:t}),n=Object(B.kc)({v:e,device:t});if("off"===o)switch(n){case"style-1":return"flex-direction: column;";case"style-2":case"style-3":return"flex-direction: column-reverse;"}else if("on"===o)switch(n){case"style-1":return"flex-direction: row;";case"style-2":case"style-3":return"flex-direction: row-reverse;"}}function Xi({v:e,device:t}){const o=Object(B.ic)({v:e,device:t}),n=Object(B.kc)({v:e,device:t});if("on"===o)switch(n){case"style-1":return"flex-direction: row;";case"style-2":return"flex-direction: row-reverse;";case"style-3":return"flex-direction: row;"}else if("off"===o)switch(n){case"style-1":return"flex-direction: column;";case"style-2":return"flex-direction: column-reverse;";case"style-3":return"flex-direction: column;"}}function Zi({v:e,device:t}){const o=Object(B.ic)({v:e,device:t}),n=Object(B.kc)({v:e,device:t});if("off"===o&&"style-3"===n)return"align-items: baseline;"}function Ji({v:e,device:t}){const o=Object(B.ic)({v:e,device:t});return"on"===o?" margin-left: 0; line-height: 0; z-index: 1;":"off"===o?"margin-left: 20px":void 0}function Qi({v:e,device:t}){const o=Object(B.ic)({v:e,device:t});return"on"===o?"position: static;":"off"===o?"position: relative;":void 0}function el({v:e,device:t}){const o=Object(B.ic)({v:e,device:t});return"on"===o?"margin-bottom: 100px;":"off"===o?"margin-bottom: 0;":void 0}function tl({v:e,device:t}){if("on"===Object(B.ic)({v:e,device:t}))return"margin-bottom: 0;"}function ol({v:e,device:t}){if("on"===Object(B.ic)({v:e,device:t}))return"display: none;"}function nl({v:e,device:t}){const o=Object(B.ic)({v:e,device:t}),n=Object(B.kc)({v:e,device:t});if("on"===o&&"style-3"===n)return"display: none;"}function al({v:e,device:t,state:o}){return`width: ${2*Object(B.Ub)({v:e,device:t,state:o})}px;`}function rl({v:e,device:t,state:o}){return`height: ${Object(B.Ub)({v:e,device:t,state:o})}px;`}function il({v:e,device:t}){return dt({v:e,device:t,state:"active",prefix:"bg"})}function ll({v:e,device:t,state:o}){return`margin-bottom:${Object(B.Vb)({v:e,device:t,state:o})}px;`}function sl({v:e,device:t}){return St({v:e,device:t,state:"active",prefix:"color"})}function cl({v:e,device:t,state:o}){return`width: ${Object(B.Wb)({v:e,device:t,state:o})}px`}function dl({v:e,device:t,state:o}){const n=Object(B.B)({v:e,device:t,prefix:"h1Color",state:o});return void 0===n?"":`color:${n};`}function ul({v:e,device:t,state:o}){const n=Object(B.B)({v:e,device:t,prefix:"h2Color",state:o});return void 0===n?"":`color:${n};`}function pl({v:e,device:t,state:o}){const n=Object(B.B)({v:e,device:t,prefix:"h3Color",state:o});return void 0===n?"":`color:${n};`}function bl({v:e,device:t,state:o}){const n=Object(B.B)({v:e,device:t,prefix:"h4Color",state:o});return void 0===n?"":`color:${n};`}function ml({v:e,device:t,state:o}){const n=Object(B.B)({v:e,device:t,prefix:"h5Color",state:o});return void 0===n?"":`color:${n};`}function hl({v:e,device:t,state:o}){const n=Object(B.B)({v:e,device:t,prefix:"h6Color",state:o});return void 0===n?"":`color:${n};`}function gl({v:e,device:t,state:o}){const n=Object(B.B)({v:e,device:t,prefix:"paragraphColor",state:o});return void 0===n?"":`color:${n};`}function vl({v:e,device:t}){return"desktop"===t?`font-family:${Object(B.ge)({v:e,device:t,prefix:"paragraph"})};`:""}function fl({v:e,device:t}){return`font-size:${Object(B.he)({v:e,device:t,prefix:"paragraph"})}px;`}function yl({v:e,device:t}){return`line-height:${Object(B.le)({v:e,device:t,prefix:"paragraph"})};`}function Ol({v:e,device:t}){return`font-weight:${Object(B.je)({v:e,device:t,prefix:"paragraph"})};`}function Sl({v:e,device:t}){return`letter-spacing:${Object(B.ke)({v:e,device:t,prefix:"paragraph"})}px;`}function xl({v:e,device:t}){return"desktop"===t?`font-family:${Object(B.ge)({v:e,device:t,prefix:"h1"})};`:""}function Cl({v:e,device:t}){return`font-size:${Object(B.he)({v:e,device:t,prefix:"h1"})}px;`}function jl({v:e,device:t}){return`line-height:${Object(B.le)({v:e,device:t,prefix:"h1"})};`}function Pl({v:e,device:t}){return`font-weight:${Object(B.je)({v:e,device:t,prefix:"h1"})};`}function Bl({v:e,device:t}){return`letter-spacing:${Object(B.ke)({v:e,device:t,prefix:"h1"})}px;`}function wl({v:e,device:t}){return"desktop"===t?`font-family:${Object(B.ge)({v:e,device:t,prefix:"h2"})};`:""}function Tl({v:e,device:t}){return`font-size:${Object(B.he)({v:e,device:t,prefix:"h2"})}px;`}function zl({v:e,device:t}){return`line-height:${Object(B.le)({v:e,device:t,prefix:"h2"})};`}function El({v:e,device:t}){return`font-weight:${Object(B.je)({v:e,device:t,prefix:"h2"})};`}function kl({v:e,device:t}){return`letter-spacing:${Object(B.ke)({v:e,device:t,prefix:"h2"})}px;`}function Hl({v:e,device:t}){return"desktop"===t?`font-family:${Object(B.ge)({v:e,device:t,prefix:"h3"})};`:""}function Fl({v:e,device:t}){return`font-size:${Object(B.he)({v:e,device:t,prefix:"h3"})}px;`}function _l({v:e,device:t}){return`line-height:${Object(B.le)({v:e,device:t,prefix:"h3"})};`}function Rl({v:e,device:t}){return`font-weight:${Object(B.je)({v:e,device:t,prefix:"h3"})};`}function Ll({v:e,device:t}){return`letter-spacing:${Object(B.ke)({v:e,device:t,prefix:"h3"})}px;`}function Ml({v:e,device:t}){return"desktop"===t?`font-family:${Object(B.ge)({v:e,device:t,prefix:"h4"})};`:""}function Wl({v:e,device:t}){return`font-size:${Object(B.he)({v:e,device:t,prefix:"h4"})}px;`}function Il({v:e,device:t}){return`line-height:${Object(B.le)({v:e,device:t,prefix:"h4"})};`}function Nl({v:e,device:t}){return`font-weight:${Object(B.je)({v:e,device:t,prefix:"h4"})};`}function Al({v:e,device:t}){return`letter-spacing:${Object(B.ke)({v:e,device:t,prefix:"h4"})}px;`}function Vl({v:e,device:t}){return"desktop"===t?`font-family:${Object(B.ge)({v:e,device:t,prefix:"h5"})};`:""}function Dl({v:e,device:t}){return`font-size:${Object(B.he)({v:e,device:t,prefix:"h5"})}px;`}function $l({v:e,device:t}){return`line-height:${Object(B.le)({v:e,device:t,prefix:"h5"})};`}function Gl({v:e,device:t}){return`font-weight:${Object(B.je)({v:e,device:t,prefix:"h5"})};`}function Ul({v:e,device:t}){return`letter-spacing:${Object(B.ke)({v:e,device:t,prefix:"h5"})}px;`}function Kl({v:e,device:t}){return"desktop"===t?`font-family:${Object(B.ge)({v:e,device:t,prefix:"h6"})};`:""}function Yl({v:e,device:t}){return`font-size:${Object(B.he)({v:e,device:t,prefix:"h6"})}px;`}function ql({v:e,device:t}){return`line-height:${Object(B.le)({v:e,device:t,prefix:"h6"})};`}function Xl({v:e,device:t}){return`font-weight:${Object(B.je)({v:e,device:t,prefix:"h6"})};`}function Zl({v:e,device:t}){return`letter-spacing:${Object(B.ke)({v:e,device:t,prefix:"h6"})}px;`}function Jl(){return"font-weight: inherit;"}function Ql({v:e,device:t,state:o,prefix:n="saleColor"}){const a=Object(B.B)({v:e,device:t,state:o,prefix:n});return void 0===a?"":`color:${a};`}function es({v:e,device:t,prefix:o="sale"}){return"desktop"===t?`font-family:${Object(B.ge)({v:e,device:t,prefix:o})};`:""}function ts({v:e,device:t,prefix:o="sale"}){return`font-size:${Object(B.he)({v:e,device:t,prefix:o})}px;`}function os({v:e,device:t,prefix:o="sale"}){return`line-height:${Object(B.le)({v:e,device:t,prefix:o})};`}function ns({v:e,device:t,prefix:o="sale"}){return`font-weight:${Object(B.je)({v:e,device:t,prefix:o})};`}function as({v:e,device:t,prefix:o="sale"}){return`letter-spacing:${Object(B.ke)({v:e,device:t,prefix:o})}px;`}function rs({v:e,device:t,state:o}){const n="on"===Object(B.Vc)({v:e,device:t,state:o})?"column":"row";return void 0===n?"":`flex-direction: ${n};`}function is({v:e,device:t,state:o}){const n=Object(B.Vc)({v:e,device:t,state:o}),a=Object(B.Wc)({v:e,device:t,state:o})/2;return void 0===a?"":"on"===n?`margin: 0 0 ${a}px 0;`:`margin: 0 ${a}px 0 0;`}function ls({v:e,device:t,state:o}){const n=Object(B.Vc)({v:e,device:t,state:o}),a=Object(B.Wc)({v:e,device:t,state:o})/2;return void 0===a?"":"on"===n?`margin: ${a}px 0 0 0;`:`margin: 0 0 0 ${a}px;`}function ss({v:e,device:t}){return Y({v:e,device:t,prefix:"title"})}function cs({v:e,device:t}){return q({v:e,device:t,prefix:"title"})}function ds({v:e,device:t}){return X({v:e,device:t,prefix:"title"})}function us({v:e,device:t}){return Z({v:e,device:t,prefix:"title"})}function ps({v:e,device:t}){return J({v:e,device:t,prefix:"title"})}function bs({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"titleColor"})}function ms({v:e,device:t}){return`padding-bottom: ${o="titleSpacing",Object(z.defaultValueValue)({v:e,key:o,device:t})}px;`;var o}function hs({v:e,device:t}){return Y({v:e,device:t,prefix:"attributes"})}function gs({v:e,device:t}){return q({v:e,device:t,prefix:"attributes"})}function vs({v:e,device:t}){return X({v:e,device:t,prefix:"attributes"})}function fs({v:e,device:t}){return Z({v:e,device:t,prefix:"attributes"})}function ys({v:e,device:t}){return J({v:e,device:t,prefix:"attributes"})}function Os({v:e,device:t,state:o}){const n=Object(B.Fc)({v:e,device:t,state:o}),a=Object(B.Ec)({v:e,device:t,state:o});return null==n||null==a?"":`padding: ${a}px ${n}px;`}function Ss({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"attributeColor"})}function xs({v:e,device:t,state:o}){const n=Object(B.u)({v:e,device:t,state:o,current:"top"}),a=Object(B.r)({v:e,device:t,state:o}),r=Object(B.n)({v:e,device:t,state:o}),i=Object(B.Gc)({v:e,device:t,state:o}),l=(e,t)=>"table"===e?t:0;return void 0===n?"":`border-top: ${l(i,n)}px; border-right: ${l(i,n)}px; border-bottom: ${n}px; border-left: ${l(i,n)}px; border-style: ${a}; border-color: ${r};`}function Cs({v:e,device:t,state:o}){return"table"===Object(B.Gc)({v:e,device:t,state:o})?"":"border-bottom-width: 0;"}var js=o(6);function Ps({v:e,device:t,state:o}){const n=Object(z.defaultValueValue)({v:e,key:"gridColumn",device:t,state:o});return`width:${n>1?100/n:100}%;`}function Bs({v:e,device:t}){return`padding: ${o="padding",Object(z.defaultValueValue)({v:e,key:o,device:t})}px;`;var o}function ws({v:e,device:t,state:o}){return`margin-top: ${Object(z.defaultValueValue)({v:e,key:"paginationSpacing",device:t,state:o})}px;`}function Ts({v:e,device:t,state:o}){return Y({v:e,device:t,state:o,prefix:"pagination"})}function zs({v:e,device:t,state:o}){return q({v:e,device:t,state:o,prefix:"pagination"})}function Es({v:e,device:t,state:o}){return X({v:e,device:t,state:o,prefix:"pagination"})}function ks({v:e,device:t,state:o}){return Z({v:e,device:t,state:o,prefix:"pagination"})}function Hs({v:e,device:t,state:o}){return J({v:e,device:t,state:o,prefix:"pagination"})}function Fs({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"paginationColor"})}function _s({v:e,device:t,state:o}){return dt({v:e,device:t,state:o,prefix:"paginationBg"})}function Rs({v:e,device:t,state:o}){return Ie({v:e,device:t,state:o,prefix:"pagination"})}function Ls({v:e,device:t}){return St({v:e,device:t,state:js.a,prefix:"paginationColor"})}function Ms({v:e,device:t}){return dt({v:e,device:t,state:js.a,prefix:"paginationBg"})}function Ws({v:e,device:t}){return Ie({v:e,device:t,state:js.a,prefix:"pagination"})}function Is({v:e,device:t,state:o}){return Ae({v:e,device:t,state:o,prefix:"pagination"})}function Ns({v:e,device:t,state:o}){return"off"===Object(z.defaultValueValue)({v:e,key:"filter",device:t,state:o})?"display:none;":"display: flex;"}function As({v:e,device:t,state:o}){const n=Object(B.c)({v:e,device:t,state:o,prefix:"filter"});return`justify-content:${void 0===n?n:{left:"flex-start",center:"center",right:"flex-end"}[n]};`}function Vs({v:e,device:t,state:o}){const n=Object(z.defaultValueValue)({v:e,key:"filterSpacing",device:t,state:o});return`margin: 1px ${n}px 0 ${n}px;`}function Ds({v:e,device:t,state:o}){return`margin-bottom: ${Object(z.defaultValueValue)({v:e,key:"afterFilterSpacing",device:t,state:o})}px;`}function $s({v:e,device:t,state:o}){return Y({v:e,device:t,state:o,prefix:"filter"})}function Gs({v:e,device:t,state:o}){return q({v:e,device:t,state:o,prefix:"filter"})}function Us({v:e,device:t,state:o}){return X({v:e,device:t,state:o,prefix:"filter"})}function Ks({v:e,device:t,state:o}){return Z({v:e,device:t,state:o,prefix:"filter"})}function Ys({v:e,device:t,state:o}){return J({v:e,device:t,state:o,prefix:"filter"})}function qs({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"filterColor"})}function Xs({v:e,device:t,state:o}){return dt({v:e,device:t,state:o,prefix:"filterBg"})}function Zs({v:e,device:t,state:o}){return Ie({v:e,device:t,state:o,prefix:"filter"})}function Js({v:e,device:t,state:o}){return Ae({v:e,device:t,state:o,prefix:"filter"})}function Qs({v:e,device:t,state:o}){return jt({v:e,device:t,state:o,prefix:"filter"})}function ec({v:e,device:t,state:o}){return Vo({v:e,device:t,state:o,prefix:"filter"})}function tc({v:e,device:t}){return St({v:e,device:t,state:js.a,prefix:"filterColor"})}function oc({v:e,device:t}){return dt({v:e,device:t,state:js.a,prefix:"filterBg"})}function nc({v:e,device:t}){return Ie({v:e,device:t,state:js.a,prefix:"filter"})}function ac({v:e,device:t}){return jt({v:e,device:t,state:js.a,prefix:"filter"})}function rc(){return"transition-property: color, box-shadow, background, border;"}function ic({v:e,device:t,state:o}){return n="horizontalAlign",Object(z.defaultValueValue)({v:e,key:n,device:t,state:o});var n}function lc({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"filterColor"})}function sc({v:e,device:t}){return St({v:e,device:t,state:"active",prefix:"filterColor"})}function cc({v:e,device:t}){return dt({v:e,device:t,state:"active",prefix:"filterBg"})}function dc({v:e,device:t}){return Ie({v:e,device:t,state:"active",prefix:"filter"})}function uc({v:e,device:t}){return jt({v:e,device:t,state:"active",prefix:"filter"})}function pc({v:e,device:t,state:o}){return dt({v:e,device:t,state:o,prefix:"filterBg"})}function bc({v:e,device:t,state:o}){return Ie({v:e,device:t,state:o,prefix:"filter"})}function mc({v:e,device:t,state:o}){return Ae({v:e,device:t,state:o,prefix:"filter"})}function hc({v:e,device:t,state:o}){return jt({v:e,device:t,state:o,prefix:"filter"})}function gc({v:e,device:t,state:o}){return`margin-top: -${Object(B.u)({v:e,device:t,state:o})}px `}function vc({v:e,device:t,state:o}){return`margin-bottom: ${function({v:e,device:t,state:o}){return n="spacing",Object(z.defaultValueValue)({v:e,key:n,device:t,state:o});var n}({v:e,device:t,state:o})}px `}function fc({v:e,device:t,state:o}){const n=function({v:e,device:t,state:o}){return n="filterSpacing",Object(z.defaultValueValue)({v:e,key:n,device:t,state:o});var n}({v:e,device:t,state:o});return`margin: 1px ${n}px 0 ${n}px;`}function yc({v:e,device:t,state:o}){return`margin-bottom:${function({v:e,device:t,state:o}){return n="afterFilterSpacing",Object(z.defaultValueValue)({v:e,key:n,device:t,state:o});var n}({v:e,device:t,state:o})}px;`}function Oc({v:e,device:t,state:o}){const n=ic({v:e,device:t,state:o});return"right"===n?"flex-direction: row-reverse;":"center"===n?"justify-content: center;":""}function Sc({v:e,device:t,state:o}){return`text-align: ${ic({v:e,device:t,state:o})};`}function xc({v:e,device:t,state:o}){return"right"===ic({v:e,device:t,state:o})?"margin: 0 10px 0 0;":"margin: 0 0 0 10px;"}function Cc({v:e,device:t}){return`font-size: ${.75*Object(B.he)({v:e,device:t})}px;`}function jc({v:e,device:t,state:o}){const n=Object(B.c)({v:e,device:t,state:o,prefix:"filter"});return`justify-content:${void 0===n?n:{left:"flex-start",center:"center",right:"flex-end"}[n]};`}function Pc({v:e,device:t,state:o}){return Vo({v:e,device:t,state:o,prefix:"filter"})}function Bc({v:e,device:t}){return Y({v:e,device:t,prefix:"filter"})}function wc({v:e,device:t}){return q({v:e,device:t,prefix:"filter"})}function Tc({v:e,device:t}){return X({v:e,device:t,prefix:"filter"})}function zc({v:e,device:t}){return Z({v:e,device:t,prefix:"filter"})}function Ec({v:e,device:t}){return J({v:e,device:t,prefix:"filter"})}function kc({v:e,device:t}){return St({v:e,device:t,state:"active",prefix:"color"})}function Hc({v:e,device:t}){return dt({v:e,device:t,state:"active",prefix:"bg"})}function Fc({v:e,device:t}){return Ie({v:e,device:t,state:"active"})}function _c({v:e,device:t}){return jt({v:e,device:t,state:"active"})}function Rc({v:e}){return`transition: height ${e.animDuration}s ease-out;`}function Lc(){return"transition-property: color, box-shadow, background, border;"}function Mc({v:e,device:t,state:o}){const n=n=>Object(z.defaultValueValue)({v:e,key:n,device:t,state:o}),a=n("iconPosition"),r=n("iconSpacing");switch(a){case"left":return`margin: 0 ${r}px 0 0;`;case"right":return`margin: 0 0 0 ${r}px;`;case"top":return`margin: 0 0 ${r}px 0;`;case"bottom":return`margin: ${r}px 0 0 0;`}}function Wc({v:e,device:t,state:o}){var n;return`font-size: ${n="iconCustomSize",Object(z.defaultValueValue)({v:e,key:n,device:t,state:o})}px;`}function Ic({v:e}){return`border-bottom-color: ${Object(B.h)({v:e,state:js.a,prefix:"bg"})};`}function Nc({v:e}){return`border-right-color: ${Object(B.h)({v:e,state:js.a,prefix:"bg"})};`}function Ac({v:e}){return`border-left-color: ${Object(B.h)({v:e,state:js.a,prefix:"bg"})};`}function Vc({v:e}){var t;return`background-color: ${t="borderColorHex",Object(z.defaultValueValue)({v:e,key:t})}; z-index: 1;`}function Dc({v:e,device:t,state:o}){return`height: ${Object(B.s)({v:e,device:t,state:o})}px;`}function $c({v:e,device:t,state:o}){return`width: ${Object(B.s)({v:e,device:t,state:o})}px;`}function Gc({v:e,device:t,state:o}){return`right: calc(-100vw + ${Object(B.s)({v:e,device:t,state:o})}px);`}function Uc({v:e,device:t,state:o}){return`left: calc(-100vw + ${Object(B.s)({v:e,device:t,state:o})}px);`}function Kc({v:e,device:t,state:o}){return`border-width: 0 0 ${Object(B.s)({v:e,device:t,state:o})}px 0;`}function Yc({v:e}){return 0===e.items.length?"border-top: 1px solid transparent; margin-top: -1px;":""}function qc({v:e,device:t,state:o}){var n;switch(n="iconPosition",Object(z.defaultValueValue)({v:e,key:n,device:t,state:o})){case"left":return"flex-direction: row;";case"right":return"flex-direction: row-reverse;";case"top":return"flex-direction: column;";case"bottom":return"flex-direction: column-reverse;"}}function Xc({v:e,device:t,state:o}){var n;return`justify-content: ${"left"===(n="iconPosition",Object(z.defaultValueValue)({v:e,key:n,device:t,state:o}))?"flex-start":"flex-end"};`}function Zc({v:e,device:t,state:o}){var n;return`top: calc(100% - ${n="borderWidth",Object(z.defaultValueValue)({v:e,key:n,device:t,state:o})}px);`}function Jc({v:e,device:t,state:o}){var n;return`bottom: calc(100% - ${n="borderWidth",Object(z.defaultValueValue)({v:e,key:n,device:t,state:o})}px);`}function Qc({v:e,device:t,state:o}){var n;return`margin-bottom: ${n="spacingAfter",Object(z.defaultValueValue)({v:e,key:n,device:t,state:o})}px;`}function ed({v:e,device:t,state:o}){const n=n=>Object(z.defaultValueValue)({v:e,key:n,device:t,state:o}),a=n("spacingAfter");return"left"===n("verticalAlign")?`margin: 0 ${a}px 0 0;`:`margin: 0 0 0 ${a}px;`}function td({v:e,device:t,state:o}){const n=n=>Object(z.defaultValueValue)({v:e,key:n,device:t,state:o}),a=n("spacing");return"off"===n("verticalMode")?`margin: 0 ${a}px 0 0;`:`margin: 0 0 ${a}px 0;`}function od({v:e,device:t,state:o}){const n=(a="horizontalAlign",Object(z.defaultValueValue)({v:e,key:a,device:t,state:o}));var a;return"justify"===n?"flex-grow: 1;":`justify-content:${{left:"flex-start",center:"center",right:"flex-end"}[n]};`}function nd({v:e,device:t,state:o}){var n;return"style-3"!==(n="navStyle",Object(z.defaultValueValue)({v:e,key:n,device:t,state:o}))?Vo({v:e,device:t,state:o}):""}function ad({v:e,device:t,state:o}){const n=n=>Object(z.defaultValueValue)({v:e,key:n,device:t,state:o}),a=n("verticalMode"),r=n("verticalAlign"),i=Object(B.n)({v:e,device:t,state:o});let l=Object(B.s)({v:e,device:t,state:o});if("off"===a)return 0===l&&(l=1),`content: ""; width: 100vw; height: ${l}px; background-color: ${i}; position: absolute; top: auto; bottom: 0; z-index: 1;`;if("on"===a){if("left"===r)return`content: ""; width: ${l}px; height: 100vh; background-color: ${i}; top: auto; left: auto; right: 0; `;if("right"===r)return`content: ""; width: ${l}px; height: 100vh; background-color: ${i}; top: auto; left: 0; right: auto; `}}function rd({v:e,device:t,state:o}){const n=n=>Object(z.defaultValueValue)({v:e,key:n,device:t,state:o}),a=n("verticalMode"),r=n("verticalAlign"),i=Object(B.n)({v:e,device:t,state:js.a}),l=Object(B.s)({v:e,device:t,state:js.a});if("off"===a)return`content: ""; width: 100%; height: ${l}px; background-color: ${i}; position: absolute; bottom: 0; left: 0; z-index: 2;`;if("on"===a){if("left"===r)return`content: ""; width: ${l}px; height: 100%; background-color: ${i}; position: absolute; right: 0; left: auto; z-index: 2;`;if("right"===r)return`content: ""; width: ${l}px; height: 100%; background-color: ${i}; position: absolute; right: auto; left: 0; z-index: 2;`}}function id({v:e}){return St({v:e,state:js.a,prefix:"color"})}function ld({v:e}){return dt({v:e,state:js.a,prefix:"bg"})}function sd({v:e}){return jt({v:e,state:js.a})}function cd({v:e}){return`border: ${Object(B.s)({v:e,state:"normal"})}px ${Object(B.r)({v:e,state:"normal"})} ${Object(B.n)({v:e,state:js.a})};`}function dd({v:e,device:t,state:o}){var n;return 0===(n="contentBgColorOpacity",Object(z.defaultValueValue)({v:e,key:n,device:t,state:o}))?"":dt({v:e,device:t,state:o,prefix:"contentBg"})}function ud({v:e,device:t,state:o}){var n;return 0===(n="contentBorderColorOpacity",Object(z.defaultValueValue)({v:e,key:n,device:t,state:o}))?"":Ie({v:e,device:t,state:o,prefix:"content"})}function pd({v:e,device:t,state:o,prefix:n="content"}){return jt({v:e,device:t,state:o,prefix:n})}function bd({v:e,device:t,prefix:o="name"}){return"desktop"===t?`font-family:${Object(B.ge)({v:e,device:t,prefix:o})};`:""}function md({v:e,device:t,prefix:o="name"}){return`font-size:${Object(B.he)({v:e,device:t,prefix:o})}px;`}function hd({v:e,device:t,prefix:o="name"}){return`line-height:${Object(B.le)({v:e,device:t,prefix:o})};`}function gd({v:e,device:t,prefix:o="name"}){return`font-weight:${Object(B.je)({v:e,device:t,prefix:o})};`}function vd({v:e,device:t,prefix:o="name"}){return`letter-spacing:${Object(B.ke)({v:e,device:t,prefix:o})}px;`}function fd({v:e,device:t,prefix:o="comment"}){return"desktop"===t?`font-family:${Object(B.ge)({v:e,device:t,prefix:o})};`:""}function yd({v:e,device:t,prefix:o="comment"}){return`font-size:${Object(B.he)({v:e,device:t,prefix:o})}px;`}function Od({v:e,device:t,prefix:o="comment"}){return`line-height:${Object(B.le)({v:e,device:t,prefix:o})};`}function Sd({v:e,device:t,prefix:o="comment"}){return`font-weight:${Object(B.je)({v:e,device:t,prefix:o})};`}function xd({v:e,device:t,prefix:o="comment"}){return`letter-spacing:${Object(B.ke)({v:e,device:t,prefix:o})}px;`}function Cd({v:e,device:t,prefix:o="date"}){return"desktop"===t?`font-family:${Object(B.ge)({v:e,device:t,prefix:o})};`:""}function jd({v:e,device:t,prefix:o="date"}){return`font-size:${Object(B.he)({v:e,device:t,prefix:o})}px;`}function Pd({v:e,device:t,prefix:o="date"}){return`line-height:${Object(B.le)({v:e,device:t,prefix:o})};`}function Bd({v:e,device:t,prefix:o="date"}){return`font-weight:${Object(B.je)({v:e,device:t,prefix:o})};`}function wd({v:e,device:t,prefix:o="date"}){return`letter-spacing:${Object(B.ke)({v:e,device:t,prefix:o})}px;`}function Td({v:e,device:t,prefix:o="reply"}){return"desktop"===t?`font-family:${Object(B.ge)({v:e,device:t,prefix:o})} !important;`:""}function zd({v:e,device:t,prefix:o="reply"}){return`font-size:${Object(B.he)({v:e,device:t,prefix:o})}px !important;`}function Ed({v:e,device:t,prefix:o="reply"}){return`line-height:${Object(B.le)({v:e,device:t,prefix:o})} !important;`}function kd({v:e,device:t,prefix:o="reply"}){return`font-weight:${Object(B.je)({v:e,device:t,prefix:o})} !important;`}function Hd({v:e,device:t,prefix:o="reply"}){return`letter-spacing:${Object(B.ke)({v:e,device:t,prefix:o})}px !important;`}function Fd({v:e,device:t,prefix:o="postButton"}){return"desktop"===t?`font-family:${Object(B.ge)({v:e,device:t,prefix:o})} !important;`:""}function _d({v:e,device:t,prefix:o="postButton"}){return`font-size:${Object(B.he)({v:e,device:t,prefix:o})}px !important;`}function Rd({v:e,device:t,prefix:o="postButton"}){return`line-height:${Object(B.le)({v:e,device:t,prefix:o})} !important;`}function Ld({v:e,device:t,prefix:o="postButton"}){return`font-weight:${Object(B.je)({v:e,device:t,prefix:o})} !important;`}function Md({v:e,device:t,prefix:o="postButton"}){return`letter-spacing:${Object(B.ke)({v:e,device:t,prefix:o})}px !important;`}function Wd({v:e,device:t,state:o="normal"}){const n=Object(B.Z)({v:e,device:t,state:o});return`width: ${n}px !important; height: ${n}px;`}function Id({v:e,device:t,state:o="normal"}){return`width: calc(100% - ${Object(B.Z)({v:e,device:t,state:o})+("skin3"===Object(B.ab)({v:e,device:t,state:o})?25:10)}px);`}function Nd({v:e,device:t,state:o,prefix:n="postButtonColor"}){const a=Object(B.B)({v:e,device:t,state:o,prefix:n});return void 0===a?"":`color:${a};`}function Ad({v:e,device:t,state:o,prefix:n="postButtonBg"}){return dt({v:e,device:t,state:o,prefix:n})}function Vd({v:e,device:t,state:o="normal",prefix:n="postButtonBg"}){const a=Object(B.h)({v:e,device:t,state:o,prefix:n});return void 0===a?"":`color:${a} !important;`}function Dd({v:e,device:t,state:o,prefix:n="nameColor"}){const a=Object(B.B)({v:e,device:t,state:o,prefix:n});return void 0===a?"":`color:${a};`}function $d({v:e,device:t,state:o,prefix:n="commentsColor"}){const a=Object(B.B)({v:e,device:t,state:o,prefix:n});return void 0===a?"":`color:${a};`}function Gd({v:e,device:t,state:o="normal"}){return`margin-left:${Object(B.Z)({v:e,device:t,state:o})+("skin3"===Object(B.ab)({v:e,device:t,state:o})?25:10)}px;`}function Ud({v:e,device:t,state:o,prefix:n="starsColor"}){const a=Object(B.B)({v:e,device:t,state:o,prefix:n});return void 0===a?"":`color:${a};`}function Kd({v:e,device:t,state:o,prefix:n="starsBgColor"}){const a=Object(B.B)({v:e,device:t,state:o,prefix:n});return void 0===a?"":`color:${a};`}function Yd({v:e,device:t,state:o}){const n=n=>Object(z.defaultValueValue)({v:e,key:n,device:t,state:o});return`font-size:${n("starsSize")}${n("starsSizeSuffix")};`}function qd({v:e,device:t,state:o,prefix:n}){const a=Object(B.B)({v:e,device:t,state:o,prefix:n});return void 0===a?"":`-webkit-text-fill-color:${a};`}function Xd({v:e,device:t,state:o}){const n=Object(B.Nb)({v:e,device:t,state:o});return void 0===n?"":`min-width: ${n}px;`}function Zd({v:e,device:t,state:o}){const n=Object(B.Mb)({v:e,device:t,state:o});return void 0===n?"":`min-height: ${n}px;`}function Jd(){return"transition-property:background-color,color,border,box-shadow;"}function Qd({v:e,device:t}){const o=Object(B.he)({v:e,device:t,prefix:"typography"}),n=Object(B.le)({v:e,device:t,prefix:"typography"});return void 0===o||void 0===n?"":`height: ${o*n}px;`}function eu({v:e,device:t,state:o}){let n="column"===Object(B.Zc)({v:e,device:t,state:o})?"column":"row";return void 0===n?"":`flex-direction: ${n};`}function tu({v:e,device:t,prefix:o="category"}){return"desktop"===t?`font-family:${Object(B.ge)({v:e,device:t,prefix:o})};`:""}function ou({v:e,device:t,prefix:o="category"}){return`font-size:${Object(B.he)({v:e,device:t,prefix:o})}px;`}function nu({v:e,device:t,prefix:o="category"}){return`line-height:${Object(B.le)({v:e,device:t,prefix:o})};`}function au({v:e,device:t,prefix:o="category"}){return`font-weight:${Object(B.je)({v:e,device:t,prefix:o})};`}function ru({v:e,device:t,prefix:o="category"}){return`letter-spacing:${Object(B.ke)({v:e,device:t,prefix:o})}px;`}function iu({v:e,device:t,prefix:o="value"}){return"desktop"===t?`font-family:${Object(B.ge)({v:e,device:t,prefix:o})};`:""}function lu({v:e,device:t,prefix:o="value"}){return`font-size:${Object(B.he)({v:e,device:t,prefix:o})}px;`}function su({v:e,device:t,prefix:o="value"}){return`line-height:${Object(B.le)({v:e,device:t,prefix:o})};`}function cu({v:e,device:t,prefix:o="value"}){return`font-weight:${Object(B.je)({v:e,device:t,prefix:o})};`}function du({v:e,device:t,prefix:o="value"}){return`letter-spacing:${Object(B.ke)({v:e,device:t,prefix:o})}px;`}function uu({v:e,device:t,state:o}){const n=Object(B.Yc)({v:e,device:t,state:o}),a=Object(B.Zc)({v:e,device:t,state:o});return void 0===n?"":"inline"===a?"padding-top: 0px;":`padding-top: ${n/2}px; padding-bottom: ${n/2}px;`}function pu({v:e,device:t,state:o}){const n=Object(B.Xc)({v:e,device:t,state:o}),a=Object(B.Zc)({v:e,device:t,state:o});return void 0===n?"":"inline"===a?"padding-left: 10px;":`padding-left: ${n}px;`}function bu({v:e,device:t,state:o}){const n=Object(B.Xc)({v:e,device:t,state:o}),a=Object(B.Zc)({v:e,device:t,state:o});return void 0===n?"":"inline"===a?`margin-right: ${n}px;`:"margin-right: 0;"}function mu({v:e,device:t,prefix:o="categoryColor",state:n}){const a=Object(B.B)({v:e,device:t,prefix:o,state:n});return void 0===a?"":`color:${a};`}function hu({v:e,device:t,prefix:o="valueColor",state:n}){const a=Object(B.B)({v:e,device:t,prefix:o,state:n});return void 0===a?"":`color:${a};`}function gu({v:e,device:t,state:o}){const n=Object(B.Zc)({v:e,device:t,state:o}),a=Object(B.B)({v:e,device:t,state:o,prefix:"dividersColor"});return void 0===a?"":"inline"===n?"border-top: 0;":`border-top: 1px solid ${a};`}function vu({v:e,device:t,state:o}){return`font-size: ${Object(B.ad)({v:e,device:t,state:o})}px;`}function fu({v:e,device:t,state:o,prefix:n="textColor"}){return`color: ${Object(B.B)({v:e,device:t,state:o,prefix:n})};`}function yu({v:e,device:t,state:o}){return`margin-left: ${Object(B.Xd)({v:e,device:t,state:o})}px;`}function Ou({v:e,device:t,state:o,prefix:n="bgStarColor"}){return`color: ${Object(B.B)({v:e,device:t,state:o,prefix:n})};`}function Su({v:e,device:t,state:o,prefix:n="iconColor"}){return St({v:e,device:t,state:o,prefix:n})}function xu({v:e,device:t,state:o}){const n=Object(B.Sc)({v:e,device:t,state:o});return void 0===n||"on"===n?"":"display: none;"}function Cu({v:e,device:t,state:o}){const n=Object(B.Jc)({v:e,device:t,state:o});return void 0===n||"off"===n?"":"content: attr(data-counter);"}function ju(){return"transition-property: background-color,color,border;"}function Pu({v:e,device:t,state:o,prefix:n="purchasesColor"}){return St({v:e,device:t,state:o,prefix:n})}function Bu({v:e,device:t,prefix:o="purchases"}){return Y({v:e,device:t,prefix:o})}function wu({v:e,device:t,prefix:o="purchases"}){return q({v:e,device:t,prefix:o})}function Tu({v:e,device:t,prefix:o="purchases"}){return X({v:e,device:t,prefix:o})}function zu({v:e,device:t,prefix:o="purchases"}){return Z({v:e,device:t,prefix:o})}function Eu({v:e,device:t,prefix:o="purchases"}){return J({v:e,device:t,prefix:o})}function ku({v:e,device:t,prefix:o="title"}){return Y({v:e,device:t,prefix:o})}function Hu({v:e,device:t,prefix:o="title"}){return q({v:e,device:t,prefix:o})}function Fu({v:e,device:t,prefix:o="title"}){return X({v:e,device:t,prefix:o})}function _u({v:e,device:t,prefix:o="title"}){return Z({v:e,device:t,prefix:o})}function Ru({v:e,device:t,prefix:o="title"}){return J({v:e,device:t,prefix:o})}function Lu({v:e,device:t,prefix:o="cost"}){return Y({v:e,device:t,prefix:o})}function Mu({v:e,device:t,prefix:o="cost"}){return q({v:e,device:t,prefix:o})}function Wu({v:e,device:t,prefix:o="cost"}){return X({v:e,device:t,prefix:o})}function Iu({v:e,device:t,prefix:o="cost"}){return Z({v:e,device:t,prefix:o})}function Nu({v:e,device:t,prefix:o="cost"}){return J({v:e,device:t,prefix:o})}function Au({v:e,device:t,prefix:o="subtotal"}){return Y({v:e,device:t,prefix:o})}function Vu({v:e,device:t,prefix:o="subtotal"}){return q({v:e,device:t,prefix:o})}function Du({v:e,device:t,prefix:o="subtotal"}){return X({v:e,device:t,prefix:o})}function $u({v:e,device:t,prefix:o="subtotal"}){return Z({v:e,device:t,prefix:o})}function Gu({v:e,device:t,prefix:o="subtotal"}){return J({v:e,device:t,prefix:o})}function Uu({v:e,device:t,prefix:o="button"}){return Y({v:e,device:t,prefix:o})}function Ku({v:e,device:t,prefix:o="button"}){return q({v:e,device:t,prefix:o})}function Yu({v:e,device:t,prefix:o="button"}){return X({v:e,device:t,prefix:o})}function qu({v:e,device:t,prefix:o="button"}){return Z({v:e,device:t,prefix:o})}function Xu({v:e,device:t,prefix:o="button"}){return J({v:e,device:t,prefix:o})}function Zu({v:e,device:t,state:o,prefix:n="titleColor"}){return St({v:e,device:t,state:o,prefix:n})}function Ju({v:e,device:t,state:o,prefix:n="costColor"}){return St({v:e,device:t,state:o,prefix:n})}function Qu({v:e,device:t,state:o,prefix:n="subtotalColor"}){return St({v:e,device:t,state:o,prefix:n})}function ep({v:e,device:t,state:o,prefix:n="buttonColor"}){return St({v:e,device:t,state:o,prefix:n})}function tp({v:e,device:t,state:o,prefix:n="buttonBg"}){return dt({v:e,device:t,state:o,prefix:n})}function op({v:e,device:t,state:o}){const n="inline"===Object(B.Hc)({v:e,device:t,state:o})?"row":"column";return void 0===n?"":`flex-direction: ${n};`}function np({v:e,device:t,state:o}){const n=Object(B.Hc)({v:e,device:t,state:o}),a=Object(B.Ic)({v:e,device:t,state:o});return void 0===a?"":"inline"===n?`width: calc(50% - ${a/2}px);`:`width: 100%; margin-bottom: ${a}px;`}function ap({v:e,device:t,state:o}){return Ae({v:e,device:t,state:o,prefix:"button"})}function rp({v:e,device:t,state:o}){const n=Object(B.Oc)({v:e,device:t,state:o});return null==n?"":{left:"left: 0; margin-right: auto; margin-left: 0;",center:"left: 0; right: 0; margin-left: auto; margin-right: auto;",right:"right: 0; margin-right: 0; margin-left: auto;"}[n]}function ip({v:e,device:t,state:o}){const n={top:"top: 0; margin-top: 0; margin-bottom: auto;",center:"auto"===Object(B.Mc)({v:e,device:t,state:o})?"top: 50%; margin-top: auto; margin-bottom: auto; transform: translate(0, -50%);":"top: 0; bottom: 0; margin-top: auto; margin-bottom: auto;",bottom:"top: auto; bottom: 0; margin-top: auto; margin-bottom: 0;"},a=Object(B.Pc)({v:e,device:t,state:o});return null==a?"":n[a]}function lp({v:e,device:t,state:o}){const n=Object(B.Qc)({v:e,device:t,state:o}),a=Object(B.Rc)({v:e,device:t,state:o});return null==n&&null==a?"":`width: ${n}${a};`}function sp({v:e,device:t,state:o}){const n=Object(B.Mc)({v:e,device:t,state:o}),a=Object(B.Lc)({v:e,device:t,state:o}),r=Object(B.Nc)({v:e,device:t,state:o});return null==a&&null==r?"":`height:${{auto:"auto",custom:`${a}${r}`,fullHeight:"100vh"}[n]};`}function cp({v:e,device:t,state:o,prefix:n="bubbleColor"}){return St({v:e,device:t,state:o,prefix:n})}function dp({v:e,device:t,state:o,prefix:n="bubbleBg"}){return"bubble"!==Object(B.Kc)({v:e,device:t,state:o})?"background-color: transparent;":ut({v:e,device:t,state:o,prefix:n})}var up=o(40);function pp({v:e,device:t,state:o}){var n;const a=n=>Object(z.defaultValueValue)({v:e,key:n,device:t,state:o});if("relative"===(null!==(n=a("elementPosition"))&&void 0!==n?n:"relative"))return"";const r=Object(up.h)(Un.a.read(a("height"))),i=a("heightSuffix");return r&&i?`content: ""; width: 0; padding-top:${r}${i} !important;`:""}function bp({v:e,device:t,state:o}){var n;var a;return"relative"===(null!==(a="elementPosition",n=Object(z.defaultValueValue)({v:e,key:a,device:t,state:o}))&&void 0!==n?n:"relative")?"":"align-items: stretch;"}function mp({v:e,device:t,state:o,mode:n}){var a;if("editor"!==n)return"";var r;return"relative"===(null!==(a=Kn.a((r="elementPosition",Object(z.defaultValueValue)({v:e,key:r,device:t,state:o}))))&&void 0!==a?a:"relative")?"":"display: flex; flex: 1 1 auto;"}const hp=({v:e,device:t,state:o})=>{var n;var a;return"relative"===(null!==(n=Kn.a((a="elementPosition",Object(z.defaultValueValue)({v:e,key:a,device:t,state:o}))))&&void 0!==n?n:"relative")?"":"display: flex; width: 100%"},gp=({v:e,device:t,state:o})=>{var n;var a;return"relative"===(null!==(n=Kn.a((a="elementPosition",Object(z.defaultValueValue)({v:e,key:a,device:t,state:o}))))&&void 0!==n?n:"relative")?"":"width: 100%"};function vp({v:e,device:t,state:o}){const n=Object(B.Db)({v:e,device:t,state:o}),a=Object(B.mb)({v:e,device:t,state:o});if("horizontal"===n||"on"===a)return Lo({v:e,device:t,state:o});return`text-align: ${Object(B.c)({v:e,device:t,state:o})};`}function fp({v:e,device:t,state:o}){return"right"===Object(B.Ab)({v:e,device:t,state:o})?"flex-flow: row-reverse nowrap; justify-content: flex-end;":"flex-flow: row nowrap;"}function yp({v:e,device:t,state:o}){const n=Object(B.Ab)({v:e,device:t,state:o}),a=Object(B.Cb)({v:e,device:t,state:o});switch(n){case"left":return`margin:0 ${a}px 0 0;`;case"right":return`margin:0 0 0 ${a}px;`}}function Op({v:e,device:t,state:o}){return`font-size: ${Object(B.Bb)({v:e,device:t,state:o})}px;`}function Sp({v:e,device:t,state:o}){return`display: ${"on"===Object(B.mb)({v:e,device:t,state:o})?"flex":"none"};`}function xp({v:e,device:t,state:o}){return`display: ${"on"===Object(B.mb)({v:e,device:t,state:o})?"none":"flex"};`}function Cp({v:e,device:t,state:o}){return"horizontal"===Object(B.Db)({v:e,device:t,state:o})?"display: flex; flex-wrap: wrap; justify-content: inherit; align-items: center;":"display: inline-block;"}function jp({v:e,device:t,state:o}){if("vertical"===Object(B.Db)({v:e,device:t,state:o})){return`max-width: ${Object(B.Eb)({v:e,device:t,state:o})}%; width: 100%;`}return"max-width: none;"}function Pp({v:e,device:t,state:o}){return"vertical"===Object(B.Db)({v:e,device:t,state:o})?dt({v:e,device:t,state:o,prefix:"menuBg"}):"background-color: transparent;"}function Bp({v:e,device:t,state:o}){return"horizontal"===Object(B.Db)({v:e,device:t,state:o})?dt({v:e,device:t,state:o,prefix:"menuBg"}):"background-color: transparent;"}function wp({v:e,device:t,state:o}){return Ie({v:e,device:t,state:o,prefix:"menu"})}function Tp({v:e,device:t,state:o}){return Vo({v:e,device:t,state:o,prefix:"menu"})}function zp({v:e,device:t}){return St({v:e,device:t,state:"hover"})}function Ep({v:e,device:t,state:o}){return"horizontal"===Object(B.Db)({v:e,device:t,state:o})?dt({v:e,device:t,state:"hover",prefix:"menuBg"}):"background-color: transparent;"}function kp({v:e,device:t}){return dt({v:e,device:t,state:"hover",prefix:"menuBg"})}function Hp({v:e,device:t}){return Ie({v:e,device:t,state:"hover",prefix:"menu"})}function Fp({v:e,device:t}){return St({v:e,device:t,state:"active"})}function _p({v:e,device:t}){return dt({v:e,device:t,state:js.a,prefix:"menuBg"})}function Rp({v:e,device:t,state:o}){return"horizontal"===Object(B.Db)({v:e,device:t,state:o})?dt({v:e,device:t,state:js.a,prefix:"menuBg"}):"background-color: transparent;"}function Lp({v:e,device:t}){return Ie({v:e,device:t,state:js.a,prefix:"menu"})}function Mp({v:e,device:t,state:o}){return`font-size: ${Object(B.rb)({v:e,device:t,state:o})}px;`}function Wp({v:e,device:t}){return Y({v:e,device:t,prefix:"mMenu"})}function Ip({v:e,device:t}){return q({v:e,device:t,prefix:"mMenu"})}function Np({v:e,device:t}){return X({v:e,device:t,prefix:"mMenu"})}function Ap({v:e,device:t}){return Z({v:e,device:t,prefix:"mMenu"})}function Vp({v:e,device:t}){return J({v:e,device:t,prefix:"mMenu"})}function Dp({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"mMenuColor"})}function $p({v:e,device:t}){return`color: ${Object(B.nb)({v:e,device:t})};`}function Gp({v:e,device:t}){return St({v:e,device:t,state:"active",prefix:"mMenuColor"})}function Up({v:e,device:t,state:o}){return`border-color: ${Object(B.n)({v:e,device:t,state:o,prefix:"mMenu"})};`}function Kp({v:e,device:t,state:o}){return`background-color: ${Object(B.h)({v:e,device:t,state:o,prefix:"mMenuBg"})};`}function Yp({v:e,device:t,state:o}){const n=Object(B.c)({v:e,device:t,state:o,prefix:"mMenuItem"});return`justify-content: ${("left"===Object(B.ob)({v:e,device:t,state:o})?{left:"flex-start",center:"center",right:"flex-end"}:{left:"flex-end",center:"center",right:"flex-start"})[n]};`}function qp({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"mMenuIconColor"})}function Xp({v:e,device:t,state:o}){const n=Object(B.ob)({v:e,device:t,state:o}),a=Object(B.qb)({v:e,device:t,state:o});switch(n){case"left":return`margin:0 ${a}px 0 0;`;case"right":return`margin:0 0 0 ${a}px;`}}function Zp({v:e,device:t,state:o}){return`font-size: ${Object(B.pb)({v:e,device:t,state:o})}px;`}function Jp({v:e,device:t,state:o}){return"right"===Object(B.ob)({v:e,device:t,state:o})?"flex-flow: row-reverse nowrap;":"flex-flow: row nowrap;"}function Qp({v:e,device:t}){const o=Object(B.le)({v:e,device:t,prefix:"mMenu"}),n=Object(B.he)({v:e,device:t,prefix:"mMenu"}),{paddingTop:a,paddingTopSuffix:r,paddingBottom:i,paddingBottomSuffix:l,paddingRight:s,paddingRightSuffix:c}=Ko({v:e,device:t,prefix:"mMenu"});return`${`height: calc(${Math.round(o*n*10)/10}px + ${`${a}${r}`} + ${`${i}${l}`})`}; padding-right: ${s}${c};`}function eb({v:e,device:t}){if("vertical"===Object(B.Db)({v:e,device:t}))return"margin: 0;";return`margin: ${Object(B.md)({v:e,device:t})} ${Object(B.ld)({v:e,device:t})} ${Object(B.jd)({v:e,device:t})} ${Object(B.kd)({v:e,device:t})};`}function tb({v:e,device:t,state:o}){const n=Object(B.Db)({v:e,device:t,state:o}),a=Object(B.qd)({v:e,device:t}),r=Object(B.pd)({v:e,device:t}),i=Object(B.nd)({v:e,device:t}),l=Object(B.od)({v:e,device:t});return"horizontal"===n?`padding-top:${a}; padding-bottom:${i}; margin-right:${r}; margin-left:${l};`:`margin-top:${r}; margin-bottom:${l}; margin-right:0; margin-left:0;`}function ob({v:e,device:t,state:o}){return"horizontal"===Object(B.Db)({v:e,device:t,state:o})?"":"margin-top: 0;"}function nb({v:e,device:t,state:o}){return"horizontal"===Object(B.Db)({v:e,device:t,state:o})?"":"margin-bottom: 0;"}function ab({v:e,device:t,state:o}){return Vo({v:e,device:t,state:o,prefix:"mMenu"})}function rb({v:e,device:t}){return Y({v:e,device:t,prefix:"subMenu"})}function ib({v:e,device:t}){return q({v:e,device:t,prefix:"subMenu"})}function lb({v:e,device:t}){return X({v:e,device:t,prefix:"subMenu"})}function sb({v:e,device:t}){return Z({v:e,device:t,prefix:"subMenu"})}function cb({v:e,device:t}){return J({v:e,device:t,prefix:"subMenu"})}function db({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"subMenuColor"})}function ub({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"subMenuHoverColor"})}function pb({v:e,device:t,state:o}){return"right"===Object(B.Fb)({v:e,device:t,state:o})?"flex-flow: row-reverse nowrap; justify-content: flex-end;":"flex-flow: row nowrap;"}function bb({v:e,device:t,state:o}){const n=Object(B.Fb)({v:e,device:t,state:o}),a=Object(B.Hb)({v:e,device:t,state:o});switch(n){case"left":return`margin:0 ${a}px 0 0;`;case"right":return`margin:0 0 0 ${a}px;`}}function mb({v:e,device:t,state:o}){return`font-size: ${Object(B.Gb)({v:e,device:t,state:o})}px;`}function hb({v:e,device:t,state:o}){return`background-color: ${Object(B.h)({v:e,device:t,state:o,prefix:"subMenuBg"})};`}function gb({v:e,device:t,state:o}){return`background-color: ${Object(B.h)({v:e,device:t,state:o,prefix:"subMenuHoverBg"})};`}function vb({v:e,device:t,state:o}){return`border-color: ${Object(B.B)({v:e,device:t,state:o,prefix:"subMenuColor"})};`}function fb({v:e,device:t,state:o}){const n=Object(B.n)({v:e,device:t,state:o,prefix:"subMenu"}),a=Object(B.r)({v:e,device:t,state:o,prefix:"subMenu"});return`border-bottom: ${Object(B.s)({v:e,device:t,state:o,prefix:"subMenu"})}px ${a} ${n};`}function yb({v:e,device:t}){return St({v:e,device:t,state:"active",prefix:"subMenuColor"})}function Ob({v:e,device:t}){return`background-color: ${Object(B.h)({v:e,device:t,state:js.a,prefix:"subMenuBg"})};`}function Sb({v:e,device:t}){return jt({v:e,device:t,state:"active"})}function xb({v:e,device:t,state:o}){if("vertical"===Object(B.Db)({v:e,device:t,state:o})&&(t===ra.c||t===ra.b))return"position: relative;top: auto; left: auto; transform: translate(0, 0); height: 0; overflow: hidden;"}function Cb({v:e,device:t,state:o}){if("horizontal"===Object(B.Db)({v:e,device:t,state:o})&&(t===ra.c||t===ra.b))return"position: relative;top: auto; left: auto; transform: translate(0, 0); height: 0; overflow: hidden;"}function jb({v:e,device:t,state:o}){if("vertical"===Object(B.Db)({v:e,device:t,state:o})&&(t===ra.c||t===ra.b))return"height: auto; width: 100%; left: auto; right: auto;"}function Pb({v:e,device:t,state:o}){if("horizontal"===Object(B.Db)({v:e,device:t,state:o})&&(t===ra.c||t===ra.b))return"height: auto; width: 100%; left: auto; right: auto;"}function Bb({device:e}){if(e===ra.c||e===ra.b)return"border-right-style: solid; border-left-style: none;"}function wb(){return"position: absolute; top: 0; width: 305px;"}function Tb({device:e}){return e!==ra.a?"":"right: calc(100% + 5px);"}function zb({device:e}){return e!==ra.a?"":"left: calc(100% + 5px);"}function Eb({v:e,device:t,state:o}){return"horizontal"===Object(B.Db)({v:e,device:t,state:o})?"top: calc(100% + 5px); width: 300px;":"top: 0; width: 300px;"}function kb({v:e,device:t,state:o}){return"horizontal"===Object(B.Db)({v:e,device:t,state:o})?"right: 0;":"right: calc(100% + 5px);"}function Hb({v:e,device:t,state:o}){return"horizontal"===Object(B.Db)({v:e,device:t,state:o})?"left: 0;":"left: calc(100% + 5px);"}function Fb({v:e,device:t,state:o}){if("vertical"===Object(B.Db)({v:e,device:t,state:o})||t===ra.b){return`max-width: ${Object(B.yb)({v:e,device:t,state:o})}${Object(B.zb)({v:e,device:t,state:o})};`}return"max-width: 100%;"}function _b({v:e,device:t,state:o}){return`padding: ${Object(B.wb)({v:e,device:t,state:o})}px;`}function Rb({v:e,device:t,state:o}){if("custom"===Object(B.ub)({v:e,device:t,state:o})){return`min-height: ${Object(B.tb)({v:e,device:t,state:o})}${Object(B.vb)({v:e,device:t,state:o})};`}return"min-height: auto;"}function Lb({v:e,device:t,state:o}){return"vertical"===Object(B.Db)({v:e,device:t,state:o})||t===ra.b?"display: block":"display: none;"}function Mb({v:e,device:t,state:o}){return`width: ${Object(B.ec)({v:e,device:t,state:o})}%;`}function Wb({v:e,device:t,state:o}){return`font-size: ${Object(B.cc)({v:e,device:t,state:o})}px;`}function Ib({v:e,device:t,state:o}){const n=Object(B.bc)({v:e,device:t,state:o}),a=Object(B.dc)({v:e,device:t,state:o});return"left"===n?`margin: auto ${a}px auto 0;`:`margin: auto 0 auto ${a}px;`}function Nb({v:e,device:t,state:o}){return`flex-direction: ${"left"===Object(B.bc)({v:e,device:t,state:o})?"row":"row-reverse"};`}function Ab({v:e,device:t,state:o}){const n=Object(B.ac)({v:e,device:t,state:o});return"left"===Object(B.bc)({v:e,device:t,state:o})||"center"===n?`justify-content: ${{left:"flex-start",center:"center",right:"flex-end"}[n]};`:"left"===n?"justify-content: flex-end;":"right"===n?"justify-content: flex-start;":void 0}function Vb({v:e,device:t,state:o}){return`text-align: ${Object(B.ac)({v:e,device:t,state:o})};`}function Db({v:e,device:t,state:o}){if("on"===Object(B.Xb)({v:e,device:t,state:o})){return`width: ${Object(B.Yb)({v:e,device:t,state:o})}px;`}return`width: calc(100% / ${Object(B.Zb)({v:e,device:t,state:o})});`}function $b({v:e,device:t}){return`background-color: ${Object(B.h)({v:e,device:t,state:"active",prefix:"bg"})};`}function Gb({v:e,device:t}){return`color: ${Object(B.B)({v:e,device:t,state:"active",prefix:"color"})};`}function Ub({v:e,device:t,state:o,prefix:n="table"}){return Vo({v:e,device:t,state:o,prefix:n})}function Kb({v:e,device:t}){return`margin-right: ${o="itemPadding",Object(z.defaultValueValue)({v:e,key:o,device:t})}px;`;var o}function Yb({v:e,device:t,state:o}){const n=Object(B.B)({v:e,device:t,state:o});return`color: ${n}; background-color: ${n};`}function qb({v:e}){return e.menuName?"width: auto":"width: 100%"}function Xb({v:e,device:t}){return St({v:e,device:t,state:"active",prefix:"color"})}var Zb=o(52);const Jb=e=>"absolute"===e.elementPosition||"fixed"===e.elementPosition,Qb=(e,t)=>{const o=o=>Object(z.defaultValueValue)({v:e,key:o,device:t}),n=o("imageExtension"),a=o("imagePopulation");return(Object(Zb.k)(n)||Object(Zb.h)(n))&&!a};function em({v:e,device:t,props:o={}}){const n=o=>Object(z.defaultValueValue)({v:e,key:o,device:t}),a=Object(Zb.f)(e,t),r=n("size"),{width:i}=o.wrapperSizes[t],l=o.props.meta[t+"W"];if(Object(w.a)(i)||Object(w.a)(l))return"";if("custom"===a||Qb(e,t)){if("%"===n("widthSuffix")){const t=Math.round(Math.abs(100*i/l));return`${Jb(e)?"width":"max-width"}: ${t}%;`}return`max-width: ${n("width")}px;`}return`max-width: ${r}%;`}function tm({device:e,props:t={}}){const{height:o}=t.wrapperSizes[e];return null==o?"":"height: auto;"}function om({v:e,device:t,props:o={}}){const n=Object(Zb.f)(e,t),a=(r="size",Object(z.defaultValueValue)({v:e,key:r,device:t}));var r;const{width:i}=o[t];return Object(w.a)(i)?"":"custom"===n||Qb(e,t)?`${Jb(e)?"width":"max-width"}: ${i}px;`:Object(w.a)(a)?`max-width: ${i}px;`:`max-width: ${a}%;`}function nm({v:e,device:t,props:o={}}){if("custom"===Object(Zb.f)(e,t)||Qb(e,t)){const{height:e}=o[t];return Object(w.a)(e)?"":`height: ${e}px;`}return"height: auto;"}function am({v:e,device:t,props:o={}}){if("custom"===Object(Zb.f)(e,t)||Qb(e,t)){const{width:e}=o[t];return Object(w.a)(e)?"":`width: ${e}px;`}return"width: 100%;"}function rm({v:e,device:t,props:o={}}){if("custom"===Object(Zb.f)(e,t)||Qb(e,t)){const{height:e}=o[t];return Object(w.a)(e)?"":`height: ${e}px;`}const n=(a="imageSrc",Object(z.defaultValueValue)({v:e,device:t,key:a}));var a;const{width:r,height:i}=o[t];if(n||Object(w.a)(r)||Object(w.a)(i))return"height: auto;";return`height: auto;padding-top: ${Object(up.e)(i/r*100,4)}%;`}function im({v:e,device:t}){return"custom"===Object(Zb.f)(e,t)||Qb(e,t)?"position: absolute;":"position: static;"}function lm({v:e,device:t,props:o={}}){const{marginLeft:n}=o[t];if(Object(w.a)(n))return"";return"custom"===Object(Zb.f)(e,t)||Qb(e,t)?`margin-left: ${n}px;`:"margin-left: auto;"}function sm({v:e,device:t,props:o={}}){const{marginTop:n}=o[t];if(Object(w.a)(n))return"";return"custom"===Object(Zb.f)(e,t)||Qb(e,t)?`margin-top: ${n}px;`:"margin-top: auto;"}function cm({v:e,device:t,props:o}){const n=Object(Zb.f)(e,t),a=(r="imageSrc",Object(z.defaultValueValue)({v:e,device:t,key:r}));var r;if("custom"===n||!a||Qb(e,t)){const{width:e,height:n}=o[t];if(Object(w.a)(e)&&Object(w.a)(n))return"";return`padding-top: ${Object(up.e)(n/e*100,4)}%;`}return"padding-top: 0;"}function dm(){return"width: 100%;"}function um(){return"transition-property: border, box-shadow, filter;"}function pm({v:e,device:t,state:o,prefix:n="image"}){return dn({v:e,device:t,state:o,prefix:n})}function bm({v:e,device:t,state:o}){const n=Object(B.f)({v:e,device:t,state:o});return void 0===n?"":`animation-name:${n};`}function mm({v:e,device:t,state:o}){const n=Object(B.e)({v:e,device:t,state:o});return void 0===n?"":`animation-duration:${n}ms;`}function hm({v:e,device:t,state:o}){const n=Object(B.d)({v:e,device:t,state:o});return void 0===n?"":`animation-delay:${n}ms;`}const gm=Object(w.d)(e=>Object(up.b)(-359,359,e)?e:void 0,Un.a.read);function vm(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const fm=e=>{var t;const o=gm(Object(z.defaultValueValue)(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?vm(Object(o),!0).forEach((function(t){Object(P.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):vm(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({key:"rotate"},e)));return null!==(t=Object(w.c)(e=>(e=>Object.entries(e).reduce((e,[t,o])=>e+`${t}(${o})`,"transform: ")+";")({rotate:e+"deg"}),o))&&void 0!==t?t:""};var ym=o(93),Om=o(55);function Sm({v:e}){var t,o;const{sliderAutoPlay:n,sliderAutoPlaySpeed:a,sliderAutoPlaySpeedSuffix:r}=e;if("off"===n)return"";const i=null!==(t=ym.a(a))&&void 0!==t?t:0,l=null!==(o=Om.a(r))&&void 0!==o?o:"px";return`animation:storyProgress ${Number(i)+.3}${l} linear forwards;`}function xm({v:e}){var t,o;const{sliderAutoPlay:n,sliderLoop:a,sliderAutoPlaySpeed:r,sliderAutoPlaySpeedSuffix:i}=e;if("off"===n||"on"===a)return"";return`animation:storyProgress ${null!==(t=ym.a(r))&&void 0!==t?t:0}${null!==(o=Om.a(i))&&void 0!==o?o:"px"} linear forwards;`}function Cm({v:e,device:t}){const o=Object(B.Zd)({v:e,device:t}),n=Object(B.Vd)({v:e,device:t});return void 0===o||void 0===n?"":`padding: ${n}px ${o}px;`}function jm({v:e,device:t}){return Ae({v:e,device:t,prefix:"input"})}function Pm({v:e,device:t}){const o=o=>Object(z.defaultValueValue)({v:e,key:o,device:t}),n=o("inputPosition"),a=o("spacing");return void 0===a||void 0===n?"":{left:`margin: 0 ${a}px 0 0;`,right:`margin: 0 0 0 ${a}px;`,top:`margin: 0 0 ${a}px 0;`,bottom:`margin: ${a}px 0 0 0;`}[n]}function Bm({v:e,device:t}){const o=o=>Object(z.defaultValueValue)({v:e,key:o,device:t}),n=o("inputPosition"),a=o("inputWidth"),r="left"===n||"right"===n?"px":o("inputWidthSuffix"),i=o("inputHeight");return void 0===a||void 0===i?"":`width: ${a}${r}; height: ${i}px;`}function wm({v:e,device:t}){var o;return`flex-direction: ${{left:"row",right:"row-reverse",top:"column",bottom:"column-reverse"}[(o="inputPosition",Object(z.defaultValueValue)({v:e,key:o,device:t}))]};`}function Tm({v:e,device:t}){const o=o=>Object(z.defaultValueValue)({v:e,key:o,device:t}),n=o("inputPosition"),a=o("inputVerticalAlign"),r=o("inputHorizontalAlign");return`align-items: ${{top:"flex-start",right:"flex-end",center:"center",bottom:"flex-end",left:"flex-start"}["left"===n||"right"===n?a:r]};`}function zm({v:e,device:t}){return Y({v:e,device:t,prefix:"input"})}function Em({v:e,device:t}){return q({v:e,device:t,prefix:"input"})}function km({v:e,device:t}){return X({v:e,device:t,prefix:"input"})}function Hm({v:e,device:t}){return Z({v:e,device:t,prefix:"input"})}function Fm({v:e,device:t}){return J({v:e,device:t,prefix:"input"})}function _m({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"inputColor"})}function Rm({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"buttonColor"})}function Lm({v:e,device:t}){return Y({v:e,device:t,prefix:"label"})}function Mm({v:e,device:t}){return q({v:e,device:t,prefix:"label"})}function Wm({v:e,device:t}){return X({v:e,device:t,prefix:"label"})}function Im({v:e,device:t}){return Z({v:e,device:t,prefix:"label"})}function Nm({v:e,device:t}){return J({v:e,device:t,prefix:"label"})}function Am({v:e,device:t}){return Y({v:e,device:t,prefix:"value"})}function Vm({v:e,device:t}){return q({v:e,device:t,prefix:"value"})}function Dm({v:e,device:t}){return X({v:e,device:t,prefix:"value"})}function $m({v:e,device:t}){return Z({v:e,device:t,prefix:"value"})}function Gm({v:e,device:t}){return J({v:e,device:t,prefix:"value"})}function Um({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"labelColor"})}function Km({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"valueColor"})}function Ym({v:e,device:t}){return Y({v:e,device:t,prefix:"clear"})}function qm({v:e,device:t}){return q({v:e,device:t,prefix:"clear"})}function Xm({v:e,device:t}){return X({v:e,device:t,prefix:"clear"})}function Zm({v:e,device:t}){return Z({v:e,device:t,prefix:"clear"})}function Jm({v:e,device:t}){return J({v:e,device:t,prefix:"clear"})}function Qm({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"clearColor"})}function eh({v:e}){return`margin-bottom: ${e.tableSpacing}px;`}function th({v:e}){const t=Object(B.s)({v:e,prefix:"table"}),o=Object(B.r)({v:e,prefix:"table"}),n=Object(B.n)({v:e,prefix:"table"});return void 0===t?"":`border:${t}px ${o} ${n};`}function oh({v:e,device:t,state:o}){return`background-color: ${Object(B.B)({v:e,device:t,state:o,prefix:"inputBgColor"})};`}function nh({v:e,device:t,state:o}){return`background-color: ${Object(B.B)({v:e,device:t,state:o,prefix:"tableBgColor"})};`}function ah({v:e,device:t,state:o}){return Ie({v:e,device:t,prefix:"input",state:o})}function rh({v:e,device:t,state:o}){return jt({v:e,device:t,prefix:"input",state:o})}function ih({v:e,device:t,state:o}){return jt({v:e,device:t,prefix:"table",state:o})}function lh({v:e,device:t}){return Ie({v:e,device:t,prefix:"button"})}function sh({v:e,device:t}){return Ae({v:e,device:t,prefix:"button"})}function ch({v:e,device:t,state:o}){const n=Object(B.s)({v:e,device:t,state:o,prefix:"thumbnail"}),a=Object(B.r)({v:e,device:t,state:o,prefix:"thumbnail"}),r=Object(B.n)({v:e,device:t,state:o,prefix:"thumbnail"});return void 0===n?"":`border:${n}px ${a} ${r};`}function dh({v:e,device:t,state:o}){return Ae({v:e,device:t,state:o,prefix:"thumbnail"})}function uh({v:e,device:t,state:o}){return jt({v:e,device:t,prefix:"thumbnail",state:o})}function ph({v:e,device:t,state:o}){const n=Object(B.Uc)({v:e,device:t,state:o});return void 0!==n||null!==n?"bottom"===e.thumbStyle?`margin-top: ${n}px;`:"margin-top: 0;":""}function bh({v:e,device:t,state:o}){const n=Object(B.Tc)({v:e,device:t,state:o}),a=Object(B.Uc)({v:e,device:t,state:o});return void 0!==n||null!==n?"bottom"===e.thumbStyle?`margin-bottom: -${n}px;`:"top"===e.thumbStyle?`margin-bottom: ${-1*(n-a)}px;`:"margin-bottom: 0;":""}function mh({v:e,device:t,state:o}){const n=Object(B.Tc)({v:e,device:t,state:o});return void 0!==n||null!==n?("left"===e.thumbStyle||e.thumbStyle,`margin: 0 ${n}px ${n}px 0;`):""}function hh({v:e,device:t,state:o}){const n=Object(B.Tc)({v:e,device:t,state:o}),a="left"===e.thumbStyle||"right"===e.thumbStyle?e.thumbPerRowRL:e.thumbPerRowTB;return(void 0!==n||null!==n)&&`width: calc(${100/a}% - ${n*(a-1)/a}px);`}function gh({v:e,device:t,state:o}){const n=n=>Object(z.defaultValueValue)({v:e,key:n,device:t,state:o});return"left"===e.thumbStyle||"right"===e.thumbStyle?`min-width: ${n("thumbWidth")}${n("thumbWidthSuffix")}; width: ${n("thumbWidth")}${n("thumbWidthSuffix")};`:""}function vh({v:e,device:t,state:o}){const n=Object(B.Uc)({v:e,device:t,state:o});return"left"===e.thumbStyle?`margin-right: ${n}px;`:"right"===e.thumbStyle?`margin-left: ${n}px;`:"margin-right:0; margin-left:0;"}function fh({v:e}){return"right"===e.thumbStyle?"left: 1rem; right: auto;":"top"===e.thumbStyle?"bottom: 1rem; top: auto;":""}var yh=o(71);function Oh({v:e,device:t,state:o,prefix:n="text"}){o=((e,t)=>"hover"===Object(yh.i)({v:e,state:t})?"hover":t)(e,o);const a=n=>Object(z.defaultValueValue)({v:e,key:n,device:t,state:o}),{hex:r}=Object(Kt.d)(a(Object(Gt.b)(n,"shadowColorHex")),a(Object(Gt.b)(n,"shadowColorPalette"))),i=Object(Ut.c)(r,a(Object(Gt.b)(n,"shadowColorOpacity"))),l=a(Object(Gt.b)(n,"shadowBlur"));return`text-shadow:${a(Object(Gt.b)(n,"shadowHorizontal"))}px ${a(Object(Gt.b)(n,"shadowVertical"))}px ${l}px ${i};`}function Sh({v:e}){const t=ym.a(e.lineHeight);return void 0===t?"":`line-height:${t};`}function xh({v:e}){const t=ym.a(e.width),o=Object(z.defaultValueValue)({v:e,key:"widthSuffix"});return void 0===t?"":`width:${t}${o};`}var Ch=o(157);function jh({v:e,device:t,state:o}){const n=Object(Ch.f)({v:e,device:t,state:o}),a=Object(Ch.b)({v:e,device:t,state:o});return void 0===n||void 0===a?"":`padding: ${a}px ${n}px;`}function Ph(){return"transition-property: color, box-shadow, background, border;"}function Bh({v:e,device:t,state:o}){return Ae({v:e,device:t,state:o})}function wh({v:e,device:t,state:o}){return Ie({v:e,device:t,prefix:"button",state:o})}function Th({v:e,device:t,state:o}){return St({v:e,device:t,state:o,prefix:"buttonColor"})}},function(e,t,o){"use strict";o.d(t,"a",(function(){return nt})),o.d(t,"d",(function(){return s})),o.d(t,"g",(function(){return p})),o.d(t,"m",(function(){return v})),o.d(t,"n",(function(){return f})),o.d(t,"Z",(function(){return y})),o.d(t,"X",(function(){return O})),o.d(t,"Y",(function(){return S})),o.d(t,"b",(function(){return j})),o.d(t,"c",(function(){return P})),o.d(t,"e",(function(){return z})),o.d(t,"f",(function(){return E})),o.d(t,"i",(function(){return k})),o.d(t,"h",(function(){return H})),o.d(t,"j",(function(){return R})),o.d(t,"l",(function(){return L})),o.d(t,"k",(function(){return M})),o.d(t,"rb",(function(){return N})),o.d(t,"tb",(function(){return A})),o.d(t,"sb",(function(){return V})),o.d(t,"cb",(function(){return D})),o.d(t,"db",(function(){return U})),o.d(t,"qb",(function(){return $})),o.d(t,"eb",(function(){return K})),o.d(t,"fb",(function(){return Y})),o.d(t,"gb",(function(){return q})),o.d(t,"hb",(function(){return G})),o.d(t,"jb",(function(){return J})),o.d(t,"kb",(function(){return Q})),o.d(t,"ib",(function(){return re})),o.d(t,"pb",(function(){return ie})),o.d(t,"p",(function(){return le})),o.d(t,"o",(function(){return se})),o.d(t,"S",(function(){return de})),o.d(t,"V",(function(){return ue})),o.d(t,"W",(function(){return pe})),o.d(t,"T",(function(){return be})),o.d(t,"U",(function(){return me})),o.d(t,"q",(function(){return he})),o.d(t,"u",(function(){return ye})),o.d(t,"w",(function(){return ge})),o.d(t,"v",(function(){return ve})),o.d(t,"t",(function(){return fe})),o.d(t,"s",(function(){return Oe})),o.d(t,"r",(function(){return Se})),o.d(t,"C",(function(){return xe})),o.d(t,"L",(function(){return we})),o.d(t,"N",(function(){return Te})),o.d(t,"M",(function(){return Ee})),o.d(t,"R",(function(){return He})),o.d(t,"Q",(function(){return ke})),o.d(t,"D",(function(){return Fe})),o.d(t,"O",(function(){return _e})),o.d(t,"B",(function(){return Re})),o.d(t,"ab",(function(){return Le})),o.d(t,"bb",(function(){return Me})),o.d(t,"H",(function(){return Ae})),o.d(t,"E",(function(){return Ve})),o.d(t,"G",(function(){return De})),o.d(t,"F",(function(){return $e})),o.d(t,"I",(function(){return Ge})),o.d(t,"ob",(function(){return Ue})),o.d(t,"nb",(function(){return Ke})),o.d(t,"mb",(function(){return Ye})),o.d(t,"lb",(function(){return qe})),o.d(t,"y",(function(){return Xe})),o.d(t,"x",(function(){return Ze})),o.d(t,"J",(function(){return Je})),o.d(t,"K",(function(){return Qe})),o.d(t,"A",(function(){return et})),o.d(t,"z",(function(){return tt})),o.d(t,"P",(function(){return ot}));var n=o(2),a=o(1),r=o(3),i=o(13),l=o(46);function s({v:e,device:t,devices:o="all",state:n,states:i,disabled:l=!1}){const s=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n});return{id:(c="bgVideo",Object(r.defaultValueKey)({key:c,device:t,state:n})),label:Object(a.a)("URL"),type:"input",inputType:"video",placeholder:Object(a.a)("YouTube or Vimeo"),disabled:l,devices:o,states:i,value:{value:s("bgVideo")},onChange:({value:e})=>({bgVideo:e,bgColorOpacity:""!==e&&1===s("bgColorOpacity")?.8:s("bgColorOpacity"),tempBgColorOpacity:""!==e&&1===s("bgColorOpacity")?.8:s("tempBgColorOpacity")})};var c}var c=o(9);function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function u(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function p({v:e,device:t,devices:o="all",state:n,onChangeGrouped:i,onChangeUngrouped:l,prefix:s="",position:d=65}){const u=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}),p=Object(c.b)(s,"borderRadiusType");return{id:"borderRadiusGroup",type:"group-dev",devices:o,position:d,options:[{id:p,label:Object(a.a)("Corner"),type:"radioGroup-dev",choices:[{value:"grouped",icon:"nc-corners-all"},{value:"ungrouped",icon:"nc-corners-individual"}]},b({v:e,device:t,state:n,prefix:s,disabled:"grouped"!==u(p),onChange:i}),...m({v:e,device:t,state:n,prefix:s,disabled:"ungrouped"!==u(p),onChange:l})]}}function b({v:e,device:t,state:o,onChange:n,disabled:a=!1,prefix:i=""}){const l=Object(c.b)(i,"borderRadius");return{id:(s=l,Object(r.defaultValueKey)({key:s,device:t,state:o})),type:"slider",disabled:a,slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))(l)},onChange:({value:a},{sliderDragEnd:l})=>{const s=u(u({},{v:e,device:t,state:o,prefix:i,onChange:n}),{value:a,sliderDragEnd:l});return Object(r.saveOnChanges)(s)}};var s}function m({v:e,device:t,state:o,onChange:n,disabled:a=!1,prefix:i=""}){const l=e=>Object(r.defaultValueKey)({key:e,device:t,state:o}),s=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),d=Object(c.b)(i,"borderTopLeftRadius"),p=Object(c.b)(i,"borderTopRightRadius"),b=Object(c.b)(i,"borderBottomRightRadius"),m=Object(c.b)(i,"borderBottomLeftRadius");return[{id:l(d),icon:"nc-corners-top-left",type:"slider",disabled:a,slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:s(d)},onChange:({value:a},{sliderDragEnd:l})=>{const s=u(u({},{v:e,device:t,state:o,prefix:i,onChange:n}),{current:"borderTopLeftRadius",value:a,sliderDragEnd:l});return Object(r.saveOnChanges)(s)}},{id:l(p),icon:"nc-corners-top-right",type:"slider",disabled:a,slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:s(p)},onChange:({value:a},{sliderDragEnd:l})=>{const s=u(u({},{v:e,device:t,state:o,prefix:i,onChange:n}),{current:"borderTopRightRadius",value:a,sliderDragEnd:l});return Object(r.saveOnChanges)(s)}},{id:l(b),icon:"nc-corners-bottom-right",type:"slider",disabled:a,slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:s(b)},onChange:({value:a},{sliderDragEnd:l})=>{const s=u(u({},{v:e,device:t,state:o,prefix:i,onChange:n}),{current:"borderBottomRightRadius",value:a,sliderDragEnd:l});return Object(r.saveOnChanges)(s)}},{id:l(m),icon:"nc-corners-bottom-left",type:"slider",disabled:a,slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:s(m)},onChange:({value:a},{sliderDragEnd:l})=>{const s=u(u({},{v:e,device:t,state:o,prefix:i,onChange:n}),{current:"borderBottomLeftRadius",value:a,sliderDragEnd:l});return Object(r.saveOnChanges)(s)}}]}function h(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?h(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):h(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function v({v:e,device:t,state:o,states:n,disabled:a=!1,prefix:l="color",devices:s="all",onChangeHex:d,onChangePalette:u}){const p=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),{hex:b}=Object(i.d)(p(Object(c.b)(l,"hex")),p(Object(c.b)(l,"palette")));return{id:(m=l,Object(r.defaultValueKey)({key:m,device:t,state:o})),type:"colorPicker2",disabled:a,devices:s,states:n,select:{show:!1},value:{hex:b,opacity:p(Object(c.b)(l,"opacity")),palette:p(Object(c.b)(l,"palette"))},onChange:({hex:n,opacity:a,palette:i,isChanged:s,opacityDragEnd:c})=>{const p=g(g({},{v:e,device:t,state:o,prefix:l,onChange:d}),{hex:n,opacity:a,isChanged:s,opacityDragEnd:c}),b=g(g({},{v:e,device:t,state:o,prefix:l,onChange:u}),{opacity:a,palette:i});return"hex"===s||"opacity"===s?Object(r.saveOnChanges)(p):Object(r.saveOnChanges)(b)}};var m}function f({v:e,device:t,state:o,disabled:n=!1,states:a,devices:l="all",prefix:s="color",onChange:d}){const u=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),{hex:p}=Object(i.d)(u(Object(c.b)(s,"hex")),u(Object(c.b)(s,"palette")));return{id:(b=Object(c.b)(s,"field"),Object(r.defaultValueKey)({key:b,device:t,state:o})),type:"colorFields",devices:l,disabled:n,states:a,value:{hex:p,opacity:u(Object(c.b)(s,"opacity"))},onChange:({hex:n})=>{const a=g(g({},{v:e,device:t,state:o,prefix:s,onChange:d}),{hex:n});return Object(r.saveOnChanges)(a)}};var b}function y({v:e,device:t,state:o,states:n,devices:i="all",className:l,disabled:s}){return{id:(c="gradientType",Object(r.defaultValueKey)({key:c,device:t,state:o})),type:"select",devices:i,states:n,disabled:s,className:l,choices:[{title:Object(a.a)("Linear"),value:"linear"},{title:Object(a.a)("Radial"),value:"radial"}],value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("gradientType")};var c}function O({v:e,device:t,state:o,states:n,devices:a="all",disabled:i}){return{id:(l="gradientLinearDegree",Object(r.defaultValueKey)({key:l,device:t,state:o})),type:"inputNumber",className:"brz-ed-grid__gradient__size",devices:a,states:n,disabled:i,min:0,max:360,value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("gradientLinearDegree")};var l}function S({v:e,device:t,state:o,states:n,devices:a="all",disabled:i}){return{id:(l="gradientRadialDegree",Object(r.defaultValueKey)({key:l,device:t,state:o})),type:"inputNumber",className:"brz-ed-grid__gradient__degree",devices:a,states:n,disabled:i,min:0,max:1e3,value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("gradientRadialDegree")};var l}function x(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function C(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?x(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):x(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function j({v:e,device:t,state:o,states:n,devices:l="all",disabled:s=!1,prefix:d="bg",showSelect:u=!0,onChangeType:p,onChangeHex:b,onChangePalette:m,onChangeGradientHex:h,onChangeGradientPalette:g,onChangeGradient:v}){const f=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),y=f(Object(c.b)(d,"colorType")),{hex:O}=Object(i.d)(f(Object(c.b)(d,"colorHex")),f(Object(c.b)(d,"colorPalette"))),{hex:S}=Object(i.d)(f("gradientColorHex"),f("gradientColorPalette")),x=f("gradientActivePointer");return{id:(j=Object(c.b)(d,"color"),Object(r.defaultValueKey)({key:j,device:t,state:o})),type:"colorPicker2",disabled:s,devices:l,states:n,select:{show:u,choices:[{title:Object(a.a)("Solid"),value:"solid"},{title:Object(a.a)("Gradient"),value:"gradient"}]},gradient:{show:"gradient"===y},value:{hex:O,opacity:f(Object(c.b)(d,"colorOpacity")),palette:f(Object(c.b)(d,"colorPalette")),select:y,gradientColorHex:S,gradientColorOpacity:f("gradientColorOpacity"),gradientColorPalette:f("gradientColorPalette"),startPointer:f("gradientStartPointer"),finishPointer:f("gradientFinishPointer"),activePointer:x},onChange:({hex:n,opacity:a,palette:i,select:l,opacityDragEnd:s,startPointer:u,finishPointer:f,activePointer:O,isChanged:S})=>{const x=C(C({},{v:e,device:t,state:o,prefix:d,onChange:p}),{[Object(c.b)(d,"colorType")]:l}),j=C(C({},{v:e,device:t,state:o,prefix:"startPointer"===O||"solid"===y?d:"gradient",onChange:"startPointer"===O||"solid"===y?b:h}),{hex:n,opacity:a,isChanged:S,opacityDragEnd:s}),P=C(C({},{v:e,device:t,state:o,prefix:"startPointer"===O||"solid"===y?d:"gradient",onChange:"startPointer"===O||"solid"===y?m:g}),{opacity:a,palette:i}),B=C(C({},{v:e,device:t,state:o,prefix:d,onChange:v}),{startPointer:u,finishPointer:f,activePointer:O});return"select"===S?Object(r.saveOnChanges)(x):"hex"===S||"opacity"===S?Object(r.saveOnChanges)(j):"palette"===S?Object(r.saveOnChanges)(P):Object(r.saveOnChanges)(B)}};var j}function P({v:e,device:t,state:o,states:n,devices:a="all",prefix:l="bg",className:s="",disabled:d=!1,onChange:u}){const p=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),{hex:b}=Object(i.d)(p(Object(c.b)(l,"colorHex")),p(Object(c.b)(l,"colorPalette")));return{id:(m=Object(c.b)(l,"colorField"),Object(r.defaultValueKey)({key:m,device:t,state:o})),type:"colorFields",devices:a,states:n,disabled:d,className:s,value:{hex:b,opacity:p(Object(c.b)(l,"colorOpacity"))},onChange:({hex:n})=>{const a=C(C({},{v:e,device:t,state:o,prefix:l,onChange:u}),{hex:n});return Object(r.saveOnChanges)(a)}};var m}var B=o(36);function w(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function T(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?w(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):w(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function z({v:e,device:t,state:o,states:n,onChangeStyle:l,onChangeHex:s,onChangePalette:d,devices:u="all",prefix:p="",showSelect:b=!0,choices:m=[{title:Object(a.a)("None"),value:""},{value:"solid",icon:"nc-solid"},{value:"dashed",icon:"nc-dashed"},{value:"dotted",icon:"nc-dotted"}]}){const h=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),g=Object(c.b)(p,"border"),v=Object(c.b)(g,"color"),f=Object(c.b)(g,"colorHex"),y=Object(c.b)(g,"colorOpacity"),O=Object(c.b)(g,"colorPalette"),S=Object(c.b)(g,"style"),{hex:x}=Object(i.d)(h(f),h(O));return{devices:u,id:(C=v,Object(r.defaultValueKey)({key:C,device:t,state:o})),type:"colorPicker2",states:n,select:{show:b,choices:m},value:{hex:x,opacity:h(y),palette:h(O),select:h(S)},onChange:({hex:n,opacity:a,palette:i,select:c,isChanged:u,opacityDragEnd:b})=>{const m=T(T({},{v:e,device:t,state:o,prefix:p,onChange:l}),{borderStyle:c,isChanged:u}),h=T(T({},{v:e,device:t,state:o,prefix:p,onChange:s}),{hex:n,opacity:a,isChanged:u,opacityDragEnd:b}),g=T(T({},{v:e,device:t,state:o,prefix:p,onChange:d}),{opacity:a,palette:i});return"select"===u?Object(r.saveOnChanges)(m):"hex"===u||"opacity"===u?Object(r.saveOnChanges)(h):Object(r.saveOnChanges)(g)}};var C}function E({v:e,device:t,state:o,states:n,onChange:a,devices:l="all",prefix:s=""}){const d=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),u=Object(c.b)(s,"border"),p=Object(c.b)(u,"colorHex"),b=Object(c.b)(u,"colorOpacity"),m=Object(c.b)(u,"colorPalette"),{hex:h}=Object(i.d)(d(p),d(m));return{devices:l,id:(g=Object(c.b)(u,"colorField"),Object(r.defaultValueKey)({key:g,device:t,state:o})),type:"colorFields",states:n,value:{hex:h,opacity:d(b)},onChange:({hex:n})=>{const i=T(T({},{v:e,device:t,state:o,prefix:s,onChange:a}),{hex:n});return Object(r.saveOnChanges)(i)}};var g}function k({v:e,device:t,state:o,onChange:n,devices:i="all",prefix:l=""}){const s=Object(c.b)(l,"border"),d=Object(c.b)(s,"width");return{devices:i,id:(u=d,Object(r.defaultValueKey)({key:u,device:t,state:o})),label:Object(a.a)("Size"),type:"inputNumber",min:0,max:360,value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))(d),onChange:a=>{const i=T(T({},{v:e,device:t,state:o,prefix:l,onChange:n}),{value:a});return Object(r.saveOnChanges)(i)}};var u}function H({v:e,device:t,state:o,states:n,onChangeType:i,onChangeGrouped:l,onChangeUngrouped:s,devices:d="all",prefix:u=""}){const p=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),b=Object(c.b)(u,"border"),m=Object(c.b)(b,"width"),h=Object(c.b)(m,"type"),g=Object(c.b)(b,"topWidth"),v=Object(c.b)(b,"rightWidth"),f=Object(c.b)(b,"bottomWidth"),y=Object(c.b)(b,"leftWidth"),O={grouped:[m],ungrouped:[g,v,f,y]};return{devices:d,id:(S=m,Object(r.defaultValueKey)({key:S,device:t,state:o})),type:"multiInputPicker",states:n,label:"grouped"===p(h)&&Object(a.a)("Size"),value:{type:p(h),grouped:[p(m)],ungrouped:[p(g),p(v),p(f),p(y)]},onChange:n=>{let{type:a,isChanged:c,isChangedIndex:d}=n,p=Object(B.a)(n,["type","isChanged","isChangedIndex"]);const b=T(T({},{v:e,device:t,state:o,prefix:u,onChange:i}),{type:a}),m=T(T({},{v:e,device:t,state:o,prefix:u,onChange:"grouped"===a?l:s}),{current:O[a][d],value:p[a][d]});return"type"===c?Object(r.saveOnChanges)(b):Object(r.saveOnChanges)(m)}};var S}function F(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function _(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?F(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):F(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function R({v:e,device:t,disabled:o=!1,state:n,states:l,onChangeType:s,onChangeHex:d,onChangePalette:u,prefix:p="",devices:b="all",choices:m="all"}){const h=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}),g=Object(c.b)(p,"boxShadow"),v=Object(c.b)(g,"colorHex"),f=Object(c.b)(g,"colorOpacity"),y=Object(c.b)(g,"colorPalette"),{hex:O}=Object(i.d)(h(v),h(y)),S=[{title:Object(a.a)("None"),value:""},{title:Object(a.a)("Inset"),value:"inset"},{title:Object(a.a)("Outset"),value:"on"}],x=[{title:Object(a.a)("None"),value:""},{title:Object(a.a)("Inset"),value:"inset"}],C=[{title:Object(a.a)("None"),value:""},{title:Object(a.a)("Outset"),value:"on"}];return{devices:b,states:l,disabled:o,id:(j=g,Object(r.defaultValueKey)({key:j,device:t,state:n})),type:"colorPicker2",select:{choices:"all"===m?S:"inset"===m?x:C},value:{hex:O,opacity:h(f),palette:h(y),select:h(g)},onChange:({hex:o,opacity:a,palette:i,select:l,isChanged:c,opacityDragEnd:b})=>{const m=_(_({},{v:e,device:t,state:n,prefix:p,onChange:s}),{boxShadowType:l,isChanged:c}),h=_(_({},{v:e,device:t,state:n,prefix:p,onChange:d}),{hex:o,opacity:a,isChanged:c,opacityDragEnd:b}),g=_(_({},{v:e,device:t,state:n,prefix:p,onChange:u}),{opacity:a,palette:i});return"select"===c?Object(r.saveOnChanges)(m):"hex"===c||"opacity"===c?Object(r.saveOnChanges)(h):Object(r.saveOnChanges)(g)}};var j}function L({v:e,device:t,disabled:o=!1,state:n,states:a,onChange:l,prefix:s="",devices:d="all"}){const u=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}),p=Object(c.b)(s,"boxShadow"),b=Object(c.b)(p,"field"),m=Object(c.b)(p,"colorHex"),h=Object(c.b)(p,"colorPalette"),g=Object(c.b)(p,"colorOpacity"),{hex:v}=Object(i.d)(u(m),u(h));return{devices:d,disabled:o,id:(f=b,Object(r.defaultValueKey)({key:f,device:t,state:n})),type:"colorFields",states:a,value:{hex:v,opacity:u(g)},onChange:({hex:o})=>{const a=_(_({},{v:e,device:t,state:n,prefix:s,onChange:l}),{hex:o});return Object(r.saveOnChanges)(a)}};var f}function M({v:e,device:t,disabled:o=!1,state:n,states:a,onChange:i,prefix:l="",devices:s="all"}){const d=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}),u=Object(c.b)(l,"boxShadow"),p=Object(c.b)(u,"fields"),b=Object(c.b)(u,"blur"),m=Object(c.b)(u,"spread"),h=Object(c.b)(u,"vertical"),g=Object(c.b)(u,"horizontal");return{devices:s,disabled:o,states:a,id:(v=p,Object(r.defaultValueKey)({key:v,device:t,state:n})),type:"multiInput",config:{defaultIcon:["nc-shadow"],icons:["nc-blur","nc-size","nc-vertical","nc-horizontal"]},value:[d(b),d(m),d(h),d(g)],onChange:([o,a,s,c])=>{const d=_(_({},{v:e,device:t,state:n,prefix:l,onChange:i}),{boxShadowBlur:o,boxShadowSpread:a,boxShadowVertical:s,boxShadowHorizontal:c});return Object(r.saveOnChanges)(d)}};var v}function W(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function I(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?W(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):W(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function N({v:e,device:t,disabled:o=!1,state:n,states:l,onChangeType:s,onChangeHex:d,onChangePalette:u,prefix:p="",devices:b="all"}){const m=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}),h=Object(c.b)(p,"textShadow"),g=Object(c.b)(h,"colorHex"),v=Object(c.b)(h,"colorOpacity"),f=Object(c.b)(h,"colorPalette"),{hex:y}=Object(i.d)(m(g),m(f));return{devices:b,states:l,disabled:o,id:(O=h,Object(r.defaultValueKey)({key:O,device:t,state:n})),type:"colorPicker2",select:{show:!0,choices:[{title:Object(a.a)("Shadow"),value:"on"},{title:Object(a.a)("None"),value:""}]},value:{hex:y,opacity:m(v),palette:m(f),select:m(h)},onChange:({hex:o,opacity:a,palette:i,select:l,isChanged:c,opacityDragEnd:b})=>{const m=I(I({},{v:e,device:t,state:n,prefix:p,onChange:s}),{textShadowType:l,isChanged:c}),h=I(I({},{v:e,device:t,state:n,prefix:p,onChange:d}),{hex:o,opacity:a,isChanged:c,opacityDragEnd:b}),g=I(I({},{v:e,device:t,state:n,prefix:p,onChange:u}),{opacity:a,palette:i});return"select"===c?Object(r.saveOnChanges)(m):"hex"===c||"opacity"===c?Object(r.saveOnChanges)(h):Object(r.saveOnChanges)(g)}};var O}function A({v:e,device:t,disabled:o=!1,state:n,states:a,onChange:l,prefix:s="",devices:d="all"}){const u=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}),p=Object(c.b)(s,"textShadow"),b=Object(c.b)(p,"field"),m=Object(c.b)(p,"colorHex"),h=Object(c.b)(p,"colorPalette"),g=Object(c.b)(p,"colorOpacity"),{hex:v}=Object(i.d)(u(m),u(h));return{devices:d,disabled:o,id:(f=b,Object(r.defaultValueKey)({key:f,device:t,state:n})),type:"colorFields",states:a,value:{hex:v,opacity:u(g)},onChange:({hex:o})=>{const a=I(I({},{v:e,device:t,state:n,prefix:s,onChange:l}),{hex:o});return Object(r.saveOnChanges)(a)}};var f}function V({v:e,device:t,disabled:o=!1,state:n,states:a,onChange:i,prefix:l="",devices:s="all"}){const d=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}),u=Object(c.b)(l,"textShadow"),p=Object(c.b)(u,"fields"),b=Object(c.b)(u,"blur"),m=Object(c.b)(u,"vertical"),h=Object(c.b)(u,"horizontal");return{devices:s,disabled:o,states:a,id:(g=p,Object(r.defaultValueKey)({key:g,device:t,state:n})),type:"multiInput",config:{defaultIcon:["nc-shadow"],icons:["nc-blur","nc-vertical","nc-horizontal"]},value:[d(b),d(m),d(h)],onChange:([o,a,s])=>{const c=I(I({},{v:e,device:t,state:n,prefix:l,onChange:i}),{textShadowBlur:o,textShadowVertical:a,textShadowHorizontal:s});return Object(r.saveOnChanges)(c)}};var g}function D({v:e,device:t,state:o,devices:n="all",disabled:i=!1}){return{id:(l="linkAnchor",Object(r.defaultValueKey)({key:l,device:t,state:o})),label:Object(a.a)("Block"),type:"blockThumbnail",devices:n,disabled:i,value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("linkAnchor")};var l}function $({disabled:e=!1,devices:t="all"}){return{id:"linkToSlide",type:"number-dev",label:Object(a.a)("Slide"),disabled:e,devices:t,config:{min:1,max:1e6}}}function G({v:e,device:t,state:o,disabled:n=!1,devices:i="all"}){return{id:Object(r.defaultValueKey)({key:"linkUpload",device:t,state:o}),label:Object(a.a)("File"),type:"fileUpload",disabled:n,devices:i,value:Object(r.defaultValueValue)({v:e,key:"linkUpload",device:t,state:o})}}function U({v:e,config:t,devices:o="all"}){const n=Object(i.c)(t,l.a.link);return{id:"linkExternal",type:"input",devices:o,label:Object(a.a)("Link to"),placeholder:"http://",population:{show:n.length>0,choices:n},value:{value:e.linkExternal,population:e.linkPopulation},onChange:({value:e,population:t},{changed:o})=>({linkExternal:e,linkPopulation:t,linkExternalType:"value"===o||""===t?"linkExternal":"linkPopulation"})}}function K({v:e,device:t,state:o,devices:n="all"}){return{id:(i="linkExternalBlank",Object(r.defaultValueKey)({key:i,device:t,state:o})),type:"switch",label:Object(a.a)("Open In New Tab"),devices:n,value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("linkExternalBlank")};var i}function Y({v:e,device:t,state:o,devices:n="all"}){return{id:(i="linkExternalRel",Object(r.defaultValueKey)({key:i,device:t,state:o})),type:"switch",label:Object(a.a)("Make it Nofollow"),devices:n,value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("linkExternalRel")};var i}function q({v:e,device:t,state:o,canDelete:n=!0,disabled:i=!1,component:l,devices:s="all"}){const c=e=>Object(r.defaultValueKey)({key:e,device:t,state:o}),d=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o});return{id:c("linkPopup"),type:"promptAddPopup",label:Object(a.a)("Popup"),canDelete:n,disabled:i,popupKey:`${l.getId()}_${d("linkPopup")}`,devices:s,value:{value:d("linkPopup"),popups:d("popups")},onChange:({value:e,popups:t})=>({[c("linkPopup")]:e,[c("popups")]:t})}}function X(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Z(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?X(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):X(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function J({v:e,device:t,state:o,devices:n,position:a,prefix:r="",disabled:i=!1}){return ee({v:e,device:t,state:o,devices:n,position:a,prefix:r,disabled:i})}function Q({v:e,device:t,state:o,devices:n,position:a,prefix:r="",disabled:i=!1}){return ee({v:e,device:t,state:o,devices:n,position:a,prefix:r,disabled:i,suffixChoices:[{title:"px",value:"px"}]})}function ee({v:e,device:t,state:o,prefix:n="",devices:i="all",disabled:l=!1,position:s=50,childs:d=["paddingTop","paddingRight","paddingBottom","paddingLeft"],suffixChoices:u=[{title:"px",value:"px"},{title:"%",value:"%"}]}){const p=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),b=Object(c.b)(n,"padding"),m=Object(c.b)(b,"type");return{id:b,type:"group-dev",devices:i,position:s,disabled:l,options:[{id:m,label:Object(a.a)("Padding"),type:"radioGroup-dev",choices:[{value:"grouped",icon:"nc-styling-all"},{value:"ungrouped",icon:"nc-styling-individual"}]},te({v:e,device:t,state:o,childs:d,suffixChoices:u,prefix:n,disabled:"grouped"!==p(m),onChange:["onChangePaddingGrouped"]}),...oe({v:e,device:t,state:o,childs:d,suffixChoices:u,prefix:n,disabled:"ungrouped"!==p(m),onChange:["onChangePaddingUngrouped"]})]}}function te({v:e,device:t,state:o,childs:n,suffixChoices:a,onChange:i,disabled:l=!1,prefix:s=""}){const d=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),u=Object(c.b)(s,"padding"),p=Object(c.b)(u,"suffix");return{id:(b=u,Object(r.defaultValueKey)({key:b,device:t,state:o})),type:"slider",disabled:l,slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:a},value:{value:d(u),suffix:d(p)},onChange:({value:a,suffix:l},{sliderDragEnd:c})=>{const d=Z(Z({},{v:e,device:t,state:o,childs:n,onChange:i,prefix:s}),{value:a,suffix:l,sliderDragEnd:c});return Object(r.saveOnChanges)(d)}};var b}function oe({v:e,device:t,state:o,childs:n,suffixChoices:a,onChange:i,disabled:l=!1,prefix:s=""}){const d=e=>Object(r.defaultValueKey)({key:e,device:t,state:o}),u=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),p=Object(c.b)(s,"paddingTop"),b=Object(c.b)(p,"suffix"),m=Object(c.b)(s,"paddingRight"),h=Object(c.b)(m,"suffix"),g=Object(c.b)(s,"paddingBottom"),v=Object(c.b)(g,"suffix"),f=Object(c.b)(s,"paddingLeft"),y=Object(c.b)(f,"suffix");return[{id:d(p),icon:"nc-styling-top",type:"slider",disabled:l,slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:a},value:{value:u(p),suffix:u(b)},onChange:({value:a,suffix:l},{sliderDragEnd:c})=>{const d=Z(Z({},{v:e,device:t,state:o,childs:n,onChange:i,prefix:s}),{current:"paddingTop",value:a,suffix:l,sliderDragEnd:c});return Object(r.saveOnChanges)(d)}},n.includes("paddingRight")?{id:d(m),icon:"nc-styling-right",type:"slider",disabled:l,slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:a},value:{value:u(m),suffix:u(h)},onChange:({value:a,suffix:l},{sliderDragEnd:c})=>{const d=Z(Z({},{v:e,device:t,state:o,childs:n,onChange:i,prefix:s}),{current:"paddingRight",value:a,suffix:l,sliderDragEnd:c});return Object(r.saveOnChanges)(d)}}:{},{id:d(g),icon:"nc-styling-bottom",type:"slider",disabled:l,slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:a},value:{value:u(g),suffix:u(v)},onChange:({value:a,suffix:l},{sliderDragEnd:c})=>{const d=Z(Z({},{v:e,device:t,state:o,childs:n,onChange:i,prefix:s}),{current:"paddingBottom",value:a,suffix:l,sliderDragEnd:c});return Object(r.saveOnChanges)(d)}},n.includes("paddingLeft")?{id:d(f),icon:"nc-styling-left",type:"slider",disabled:l,slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:a},value:{value:u(f),suffix:u(y)},onChange:({value:a,suffix:l},{sliderDragEnd:c})=>{const d=Z(Z({},{v:e,device:t,state:o,childs:n,onChange:i,prefix:s}),{current:"paddingLeft",value:a,suffix:l,sliderDragEnd:c});return Object(r.saveOnChanges)(d)}}:{}]}function ne(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ae(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ne(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function re({v:e,device:t,state:o,devices:n="all",disabled:i=!1,position:l=60,marginType:s,onChangeGrouped:c,onChangeUngrouped:d}){const u=e=>Object(r.defaultValueKey)({key:e,device:t,state:o}),p=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o});return{id:"margin",type:"group-dev",position:l,devices:n,disabled:i,options:[{id:"marginType",label:Object(a.a)("Margin"),type:"radioGroup-dev",choices:[{value:"grouped",icon:"nc-styling-all"},{value:"ungrouped",icon:"nc-styling-individual"}]},{id:u("margin"),type:"slider",disabled:"grouped"!==p("marginType"),slider:{min:-100,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:p("margin"),suffix:p("marginSuffix")},onChange:({value:n,suffix:a})=>{const i=ae(ae({},{v:e,device:t,state:o,marginType:s,onChange:c}),{value:n,suffix:a});return Object(r.saveOnChanges)(i)}},{id:u("marginTop"),icon:"nc-styling-top",type:"slider",disabled:"ungrouped"!==p("marginType"),slider:{min:-100,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:p("marginTop"),suffix:p("marginTopSuffix")},onChange:({value:n,suffix:a})=>{const i=ae(ae({},{v:e,device:t,state:o,onChange:d}),{current:"marginTop",value:n,suffix:a});return Object(r.saveOnChanges)(i)}},{id:u("marginRight"),icon:"nc-styling-right",type:"slider",disabled:"ungrouped"!==p("marginType"),slider:{min:-100,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:p("marginRight"),suffix:p("marginRightSuffix")},onChange:({value:n,suffix:a})=>{const i=ae(ae({},{v:e,device:t,state:o,onChange:d}),{current:"marginRight",value:n,suffix:a});return Object(r.saveOnChanges)(i)}},{id:u("marginBottom"),icon:"nc-styling-bottom",type:"slider",disabled:"ungrouped"!==p("marginType"),slider:{min:-100,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:p("marginBottom"),suffix:p("marginBottomSuffix")},onChange:({value:n,suffix:a})=>{const i=ae(ae({},{v:e,device:t,state:o,onChange:d}),{current:"marginBottom",value:n,suffix:a});return Object(r.saveOnChanges)(i)}},{id:u("marginLeft"),icon:"nc-styling-left",type:"slider",disabled:"ungrouped"!==p("marginType"),slider:{min:-100,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:p("marginLeft"),suffix:p("marginLeftSuffix")},onChange:({value:n,suffix:a})=>{const i=ae(ae({},{v:e,device:t,state:o,onChange:d}),{current:"marginLeft",value:n,suffix:a});return Object(r.saveOnChanges)(i)}}]}}function ie({v:e,device:t,devices:o="all",position:n=10,closeTooltip:r=!0}){return"tablet"===t?function({v:e,position:t=10,devices:o="all",closeTooltip:n=!0}){return{id:"showOnTablet",type:"toggle",devices:o,position:t,closeTooltip:n,choices:[{icon:"nc-eye-17",title:Object(a.a)("Disable on Tablet"),value:"on"},{icon:"nc-eye-ban-18",title:Object(a.a)("Enable on Tablet"),value:"off"}],value:e.showOnTablet}}({v:e,position:n,devices:o,closeTooltip:r}):"mobile"===t?function({v:e,position:t=10,devices:o="all",closeTooltip:n=!0}){return{id:"showOnMobile",type:"toggle",devices:o,position:t,closeTooltip:n,choices:[{icon:"nc-eye-17",title:Object(a.a)("Disable on Mobile"),value:"on"},{icon:"nc-eye-ban-18",title:Object(a.a)("Enable on Mobile"),value:"off"}],value:e.showOnMobile}}({v:e,position:n,devices:o,closeTooltip:r}):{}}function le({v:e,position:t=40,device:o,state:n,devices:i="all",population:l}){const s=e=>Object(r.defaultValueKey)({key:e,device:o,state:n}),c=t=>Object(r.defaultValueValue)({v:e,key:t,device:o,state:n});return{id:s("customClassName"),label:Object(a.a)("CSS Class"),position:t,display:"block",type:"input",devices:i,helper:!0,helperContent:"\n<span>Add your custom class without the .dot, example: my-class</span>",population:{show:l.length>0,choices:l},value:{value:c("customClassName"),population:c("cssClassPopulation")},onChange:({value:e,population:t})=>({[s("customClassName")]:e,[s("cssClassPopulation")]:t})}}function se({v:e,device:t,state:o,devices:n="all",position:i=45}){return{id:(l="customCSS",Object(r.defaultValueKey)({key:l,device:t,state:o})),type:"codeMirror",label:Object(a.a)("Custom CSS"),position:i,display:"block",devices:n,helper:!0,helperContent:'\n<p class="brz-p">You can use the following selectors to create targeted CSS.</p>\n<p class="brz-p">\n <span class="brz-span brz-ed-tooltip__overlay-code">element</span> {...}\n <br class="brz-br">\n <span class="brz-span brz-ed-tooltip__overlay-code">element .child-element</span> {...}\n</p>',placeholder:"element { CSS goes here }",value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("customCSS")};var l}var ce=o(175);function de({v:e,position:t=60,device:o,state:n,choices:i=Object(ce.a)(),devices:l="all"}){const s=e=>Object(r.defaultValueKey)({key:e,device:o,state:n}),c=t=>Object(r.defaultValueValue)({v:e,key:t,device:o,state:n});return{id:"animation",type:"group-dev",position:t,devices:l,options:[{id:s("animationName"),label:Object(a.a)("Entrance Animation"),type:"select",choices:i,value:"initial"===c("animationName")?c("tempAnimationName"):c("animationName"),onChange:e=>({[s("animationName")]:e,[s("tempAnimationName")]:e})},{id:s("animationDuration"),label:Object(a.a)("Duration"),type:"slider",disabled:"none"===c("animationName")&&"initial"!==c("animationName"),slider:{min:0,max:5,step:.1},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"s",value:"s"}]},value:{value:c("animationDuration")/1e3},onChange:({value:e},{sliderDragEnd:t})=>({[s("animationName")]:t?c("tempAnimationName"):"initial",[s("animationDuration")]:1e3*e})},{id:s("animationDelay"),label:Object(a.a)("Delay"),type:"slider",disabled:"none"===c("animationName")&&"initial"!==c("animationName"),slider:{min:0,max:5,step:.1},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"s",value:"s"}]},value:{value:c("animationDelay")/1e3},onChange:({value:e},{sliderDragEnd:t})=>({[s("animationName")]:t?c("tempAnimationName"):"initial",[s("animationDelay")]:1e3*e})}]}}function ue({v:e,device:t,prefix:o="",devices:n="all",state:a,states:i}){return{id:Object(r.defaultValueKey)({key:Object(c.b)(o,"hue"),device:t,state:a}),icon:"nc-hue",className:"brz-ed-option__slider--hue",type:"slider",devices:n,states:i,slider:{min:0,max:360},input:{show:!0,min:0,max:360},suffix:{show:!0,choices:[{title:"deg",value:"deg"}]},value:{value:Object(r.defaultValueValue)({v:e,key:Object(c.b)(o,"hue"),device:t,state:a})},onChange:({value:n})=>({[Object(r.defaultValueKey)({v:e,key:Object(c.b)(o,"hue"),device:t,state:a})]:n})}}function pe({v:e,device:t,prefix:o="",devices:n="all",state:a,states:i}){return{id:Object(r.defaultValueKey)({key:Object(c.b)(o,"saturation"),device:t,state:a}),icon:"nc-saturation",className:"brz-ed-option__slider--saturation",type:"slider",devices:n,states:i,slider:{min:0,max:200},input:{show:!0,min:0,max:200},suffix:{show:!0,choices:[{title:"%",value:"%"}]},value:{value:Object(r.defaultValueValue)({v:e,key:Object(c.b)(o,"saturation"),device:t,state:a})},onChange:({value:e})=>({[Object(r.defaultValueKey)({key:Object(c.b)(o,"saturation"),device:t,state:a})]:e})}}function be({v:e,device:t,prefix:o="",devices:n="all",state:a,states:i}){return{id:Object(r.defaultValueKey)({key:Object(c.b)(o,"brightness"),device:t,state:a}),icon:"nc-brightness",className:"brz-ed-option__slider--brightness",type:"slider",devices:n,states:i,slider:{min:10,max:200},input:{show:!0,min:0,max:200},suffix:{show:!0,choices:[{title:"%",value:"%"}]},value:{value:Object(r.defaultValueValue)({v:e,key:Object(c.b)(o,"brightness"),device:t,state:a})},onChange:({value:e})=>({[Object(r.defaultValueKey)({key:Object(c.b)(o,"brightness"),device:t,state:a})]:e})}}function me({v:e,device:t,prefix:o="",devices:n="all",state:a,states:i}){return{id:Object(r.defaultValueKey)({key:Object(c.b)(o,"contrast"),device:t,state:a}),icon:"nc-contrast",className:"brz-ed-option__slider--contrast",type:"slider",devices:n,states:i,slider:{min:0,max:200},input:{show:!0,min:0,max:200},suffix:{show:!0,choices:[{title:"%",value:"%"}]},value:{value:Object(r.defaultValueValue)({v:e,key:Object(c.b)(o,"contrast"),device:t,state:a})},onChange:({value:e})=>({[Object(r.defaultValueKey)({key:Object(c.b)(o,"contrast"),device:t,state:a})]:e})}}function he({device:e,devices:t="all",state:o}){return{id:Object(r.defaultValueKey)({key:"advancedSettings",device:e,state:o}),type:"advancedSettings",devices:t,disabled:!0}}function ge({devices:e="all"}){return{id:"toolbarSettings",type:"popover-dev",devices:e,disabled:!0}}function ve({devices:e="responsive"}){return{id:"showOnTablet",type:"toggle",disabled:!0,devices:e}}function fe({devices:e="responsive"}){return{id:"showOnMobile",type:"toggle",disabled:!0,devices:e}}function ye({device:e}){let t;return t="tablet"===e?ve({}):"mobile"===e?fe({}):{},t}function Oe({prefix:e="",devices:t="all"}){return{devices:t,id:Object(c.b)(e,"padding"),type:"group-dev",disabled:!0}}function Se({devices:e="all"}){return{devices:e,id:"margin",type:"group-dev",disabled:!0}}function xe({v:e,device:t,devices:o="all",state:n,states:i}){const l=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n});return{id:(s="media",Object(r.defaultValueKey)({key:s,device:t,state:n})),label:Object(a.a)("Type"),type:"radioGroup",devices:o,states:i,choices:[{value:"image",icon:"nc-media-image"},{value:"map",icon:"nc-media-map"}],value:"video"===l("media")?"image":l("media")};var s}var Ce=o(15),je=o(42);function Pe(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Be(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Pe(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Pe(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function we({v:e,device:t,state:o,onChange:n}){const a=Object(r.defaultValueValue)({v:e,key:"boxShadowBlur",device:t,state:o}),i=Object(r.defaultValueValue)({v:e,key:"boxShadowVertical",device:t,state:o});return{id:Object(r.defaultValueKey)({key:"boxShadow",device:t,state:o}),type:"multiInput",config:{defaultIcon:["nc-shadow"],icons:["nc-blur","nc-vertical"]},value:[a,i],onChange:([a,i])=>{const l=Be(Be({},{v:e,device:t,state:o,onChange:n}),{boxShadowBlur:a,boxShadowVertical:i});return Object(r.saveOnChanges)(l)}}}function Te({device:e,component:t,state:o,blockType:n,position:i=90,disabled:l=!1,devices:s="all"}){return{devices:s,position:i,blockType:n,id:(c="makeItSaved",Object(r.defaultValueKey)({key:c,device:e,state:o})),type:"savedBlock",icon:"nc-save-section",disabled:l,title:Object(a.a)("Save"),tooltipContent:Object(a.a)("Saved"),value:{blockId:t.getId()}};var c}const ze=(e,t)=>{if(e&&"popup"===t)return e.split("_")[0]};function Ee({device:e,component:t,state:o,blockType:n,devices:i="all"}){const l=t.getId(),s=Ce.a.getAll(),c=Object(je.b)(s)&&Object(je.f)(s);return{devices:i,blockType:n,id:(d="makeItGlobal",Object(r.defaultValueKey)({key:d,device:e,state:o})),label:Object(a.a)("Make it Global"),type:"globalBlock",disabled:c,value:{_id:l,parentId:ze(t.props.instanceKey,n)}};var d}function ke({v:e,device:t,devices:o="all",disabled:n=!1,state:i}){const l=e=>Object(r.defaultValueKey)({key:e,device:t,state:i});return{id:l("iconSize"),label:Object(a.a)("Play"),type:"slider",devices:o,disabled:n,roles:["admin"],slider:{min:50,max:200},input:{show:!0,min:50,max:200},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:(s="iconSize",Object(r.defaultValueValue)({v:e,key:s,device:t,state:i}))},onChange:({value:e})=>({[l("iconSize")]:e,[l("iconSizeWidth")]:e,[l("iconSizeHeight")]:e})};var s}function He({v:e,device:t,state:o,devices:n="all",disabled:i=!1}){return{id:(l="custom",Object(r.defaultValueKey)({key:l,device:t,state:o})),label:Object(a.a)("File"),type:"fileUpload",acceptedExtensions:["video/*"],devices:n,disabled:i,value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("custom")};var l}function Fe({v:e,device:t,devices:o="all",disabled:n=!1,state:i}){const l=e=>Object(r.defaultValueKey)({key:e,device:t,state:i}),s=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:i});return{id:l("type"),label:Object(a.a)("Style"),type:"radioGroup",disabled:n,devices:o,choices:[{value:"simple",icon:"nc-counter-style-1"},{value:"radial",icon:"nc-counter-style-2"},{value:"empty",icon:"nc-counter-style-3"},{value:"pie",icon:"nc-counter-style-4"}],value:s("type"),onChange:e=>({[l("type")]:e,[l("start")]:"simple"!==s("type")?s("start"):0})}}function _e({v:e,device:t,devices:o="all",disabled:n=!1,state:i}){const l=e=>Object(r.defaultValueKey)({key:e,device:t,state:i}),s=o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:i});return{id:l("style"),label:Object(a.a)("Style"),type:"radioGroup",devices:o,disabled:n,choices:[{value:"basic",icon:"nc-sndcloud-style-1"},{value:"artwork",icon:"nc-sndcloud-style-2"}],value:s("style"),onChange:e=>({[l("style")]:e,[l("showArtwork")]:"basic"===e?"off":"on",[l("height")]:s("basic"===e?"mediumHeight":"artwork"===e?"largeHeight":"height")})}}function Re({v:e,device:t,devices:o="all",state:n,position:i=350}){return{id:Object(r.defaultValueKey)({key:"itemPadding",device:t,state:n}),type:"slider",label:Object(a.a)("Spacing"),roles:["admin"],devices:o,position:i,slider:{min:0,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},disabled:1===e.items.length,value:{value:Object(r.defaultValueValue)({v:e,key:"itemPadding",device:t,state:n})},onChange:({value:e})=>({[Object(r.defaultValueKey)({key:"itemPadding",device:t,state:n})]:e,[Object(r.defaultValueKey)({key:"itemPaddingRight",device:t,state:n})]:e,[Object(r.defaultValueKey)({key:"itemPaddingLeft",device:t,state:n})]:e})}}function Le({v:e,config:t,inGallery:o,device:n,state:s,devices:c="all"}){const d=t=>Object(r.defaultValueValue)({v:e,key:t,device:n,state:s}),u=Object(i.c)(t,l.a.link);return{id:(p="linkExternal",Object(r.defaultValueKey)({key:p,device:n,state:s})),type:"input",label:Object(a.a)("Link to"),placeholder:"http://",devices:c,population:{show:u.length>0&&!o,choices:u},value:{population:d("linkPopulation"),value:d("linkExternal")},onChange:({value:e,population:t},{changed:o})=>({linkExternal:e,linkPopulation:t,linkExternalType:"value"===o||""===t?"linkExternal":"linkPopulation"})};var p}function Me({devices:e="all",gallery:t,enableTags:o}){const{inGallery:n=!1}=t||{};return{label:"Tags",id:"tags",type:"inputText-dev",helper:{enabled:!0,content:"Enter the tags, separated by a comma (art, sport, nature, etc).",position:"top-end"},placeholder:"art, nature, etc.",devices:e,disabled:!n||!o}}o(17),o(44),o(134);var We=o(7);function Ie(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ne(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ie(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ie(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Ae({v:e,device:t,state:o,devices:n="all"}){const i=e=>Object(r.defaultValueKey)({key:e,device:t,state:o});return{devices:n,id:i("padding"),type:"slider",label:Object(a.a)("Spacing"),slider:{min:0,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:(l="padding",Object(r.defaultValueValue)({v:e,key:l,device:t,state:o}))},onChange:({value:e})=>({[i("padding")]:e,[i("paddingRight")]:e,[i("paddingBottom")]:e,[i("paddingLeft")]:e})};var l}function Ve({v:e,device:t,state:o,devices:n="all"}){const a=We.default.pluck(e.items[0].value.items,"value");return{devices:n,id:(i="apps",Object(r.defaultValueKey)({key:i,device:t,state:o})),type:"formApps",icon:"nc-extensions-2",value:{id:e._id,fields:a}};var i}function De({v:e,device:t,state:o,devices:n="all"}){const i=e=>Object(r.defaultValueKey)({key:e,device:t,state:o}),l=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),s={small:l("sizeSmallPadding"),medium:l("sizeMediumPadding"),large:l("sizeLargePadding")};return{devices:n,id:i("size"),label:Object(a.a)("Size"),type:"radioGroup",position:17,choices:[{icon:"nc-small",value:"small"},{icon:"nc-medium",value:"medium"},{icon:"nc-large",value:"large"}],value:l("size"),onChange:e=>({[i("size")]:e,[i("paddingTop")]:s[e],[i("paddingRight")]:s[e]+10,[i("paddingBottom")]:s[e],[i("paddingLeft")]:s[e]+10})}}function $e({v:e,device:t,state:o,onChange:n,devices:i="all"}){return{devices:i,id:(l="borderRadius",Object(r.defaultValueKey)({key:l,device:t,state:o})),label:Object(a.a)("Corner"),type:"slider",slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("borderRadius")},onChange:({value:a},{sliderDragEnd:i})=>{const l=Ne(Ne({},{v:e,device:t,state:o,onChange:n}),{value:a,sliderDragEnd:i});return Object(r.saveOnChanges)(l)}};var l}function Ge({v:e,device:t,state:o,prefix:n="field",devices:i="all"}){const l=e=>Object(r.defaultValueKey)({key:e,device:t,state:o});return{devices:i,id:l(Object(c.b)(n,"padding")),type:"slider",label:Object(a.a)("Spacing"),slider:{min:0,max:100},input:{show:!0},suffix:{show:!0,choices:[{title:"px",value:"px"}]},value:{value:(s=Object(c.b)(n,"padding"),Object(r.defaultValueValue)({v:e,key:s,device:t,state:o}))},onChange:({value:e})=>({[l(Object(c.b)(n,"padding"))]:e,[l(Object(c.b)(n,"paddingRight"))]:e,[l(Object(c.b)(n,"paddingBottom"))]:e,[l(Object(c.b)(n,"paddingLeft"))]:e})};var s}function Ue({v:e,device:t,devices:o="all",state:n}){return{id:(l="shapeTopType",Object(r.defaultValueKey)({key:l,device:t,state:n})),label:Object(a.a)("Type"),type:"select",devices:o,className:"brz-control__select-option--icon",choices:Object(i.f)(),value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}))("shapeTopType")};var l}function Ke({v:e,device:t,devices:o="all",disabled:n=!1,state:i}){const l=e=>Object(r.defaultValueKey)({key:e,device:t,state:i});return{id:l("shapeTopFlip"),label:Object(a.a)("Flip"),type:"checkGroup",disabled:n,devices:o,choices:[{value:"shapeTopHorizontal",icon:"nc-flip-horizontal"}],value:{shapeTopHorizontal:"on"===(s="shapeTopHorizontal",Object(r.defaultValueValue)({v:e,key:s,device:t,state:i}))},onChange:({shapeTopHorizontal:e})=>({[l("shapeTopHorizontal")]:e?"on":"off"})};var s}function Ye({v:e,device:t,devices:o="all",state:n}){return{id:(l="shapeBottomType",Object(r.defaultValueKey)({key:l,device:t,state:n})),label:Object(a.a)("Type"),type:"select",devices:o,className:"brz-control__select-option--icon brz-control__select-option--icon--bottom",choices:Object(i.f)(),value:(o=>Object(r.defaultValueValue)({v:e,key:o,device:t,state:n}))("shapeBottomType")};var l}function qe({v:e,device:t,devices:o="all",disabled:n=!1,state:i}){const l=e=>Object(r.defaultValueKey)({key:e,device:t,state:i});return{id:l("shapeBottomFlip"),label:Object(a.a)("Flip"),type:"checkGroup",devices:o,disabled:n,choices:[{value:"shapeBottomHorizontal",icon:"nc-flip-horizontal"}],value:{shapeBottomHorizontal:"on"===(s="shapeBottomHorizontal",Object(r.defaultValueValue)({v:e,key:s,device:t,state:i}))},onChange:({shapeBottomHorizontal:e})=>({[l("shapeBottomHorizontal")]:e?"on":"off"})};var s}function Xe({v:e,device:t,state:o,devices:n="all",disabled:i=!1}){return{id:(l="audio",Object(r.defaultValueKey)({key:l,device:t,state:o})),label:Object(a.a)("File"),type:"fileUpload",acceptedExtensions:[".mp3",".ogg",".wav"],devices:n,disabled:i,value:(n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}))("audio")};var l}function Ze({v:e,device:t,state:o,devices:n="all",disabled:i=!1}){const l=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),s=e=>Object(r.defaultValueKey)({key:e,device:t,state:o});return{id:s("iconSize"),label:Object(a.a)("Icons"),type:"radioGroup",disabled:i,devices:n,choices:[{value:"small",icon:"nc-16"},{value:"medium",icon:"nc-24"},{value:"large",icon:"nc-32"},{value:"custom",icon:"nc-more"}],value:l("iconSize"),onChange:e=>({[s("iconSize")]:e,iconCustomSize:l("small"===e?"smallIconSize":"medium"===e?"mediumIconSize":"large"===e?"largeIconSize":"iconCustomSize")})}}function Je({v:e,device:t,devices:o="all",state:n}){const i="desktop"===t?6:Math.min(e.gridColumn*e.gridRow,6);return{id:Object(r.defaultValueKey)({key:"gridColumn",device:t,state:n}),type:"slider",label:Object(a.a)("Columns"),devices:o,className:"brz-ed-option__slider--skin-dev",slider:{min:1,max:i,step:1},input:{show:!0,min:1,max:i,step:1},value:{value:Object(r.defaultValueValue)({v:e,key:"gridColumn",device:t,state:n}),suffix:null},onChange:({value:o})=>{const a=Object(r.defaultValueKey)({key:"gridColumn",device:t,state:n}),i={[a]:o,[a+"Suffix"]:""};if("desktop"===t){const t=Number(o)*Number(e.gridRow);t<e.tabletGridColumn&&(i.tabletGridColumn=t),t<e.mobileGridColumn&&(i.mobileGridColumn=t)}return i}}}function Qe({v:e,device:t,devices:o="all",state:n}){return{id:Object(r.defaultValueKey)({key:"gridRow",device:t,state:n}),type:"slider",label:Object(a.a)("Rows"),devices:o,className:"brz-ed-option__slider--skin-dev",slider:{min:1,max:15,step:1},input:{show:!0,min:1,max:50,step:1},value:{value:Object(r.defaultValueValue)({v:e,key:"gridRow",device:t,state:n}),suffix:null},onChange:({value:o})=>{const a=Object(r.defaultValueKey)({key:"gridRow",device:t,state:n}),i={[a]:o,[a+"Suffix"]:""};if("desktop"===t){const t=Number(o)*Number(e.gridColumn);t<e.tabletGridColumn&&(i.tabletGridColumn=t),t<e.mobileGridColumn&&(i.mobileGridColumn=t)}return i}}}function et({v:e,device:t,state:o,choices:n=[],disabled:i=!1,devices:l="all"}){const s=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),c=e=>Object(r.defaultValueKey)({key:e,device:t,state:o});return{id:c("taxonomy"),label:Object(a.a)("Categories"),disabled:i,devices:l,type:"select",choices:n,value:`${s("taxonomy")}|${s("taxonomyId")}`,onChange:e=>{const[t,o]=e.split("|");return{[c("taxonomy")]:t,[c("taxonomyId")]:o}}}}function tt({v:e,device:t,state:o,disabled:n=!1,devices:i="all"}){const l=n=>Object(r.defaultValueValue)({v:e,key:n,device:t,state:o}),s=e=>Object(r.defaultValueKey)({key:e,device:t,state:o});return{id:"sliderPaddingType",type:"group-dev",disabled:n,devices:i,position:50,options:[{id:"sliderPaddingType",label:Object(a.a)("Padding"),type:"radioGroup-dev",choices:[{value:"grouped",icon:"nc-styling-all"},{value:"ungrouped",icon:"nc-styling-individual"}]},{id:s("sliderPadding"),type:"slider",disabled:"grouped"!==l("sliderPaddingType"),slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:l("sliderPadding"),suffix:l("sliderPaddingSuffix")},onChange:({value:e,suffix:t})=>({[s("sliderPadding")]:e,[s("sliderPaddingSuffix")]:t,[s("sliderPaddingTop")]:e,[s("sliderPaddingRight")]:e,[s("sliderPaddingBottom")]:e,[s("sliderPaddingLeft")]:e})},{id:s("sliderPaddingTop"),icon:"nc-styling-top",type:"slider",disabled:"ungrouped"!==l("sliderPaddingType"),slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:l("sliderPaddingTop"),suffix:l("sliderPaddingTopSuffix")},onChange:({value:e,suffix:t})=>({[s("sliderPaddingTop")]:e,[s("sliderPaddingTopSuffix")]:t,[s("sliderPadding")]:e===l("sliderPaddingRight")&&e===l("sliderPaddingLeft")&&e===l("sliderPaddingBottom")?e:l("sliderPadding")})},{id:s("sliderPaddingRight"),icon:"nc-styling-right",type:"slider",disabled:"ungrouped"!==l("sliderPaddingType"),slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:l("sliderPaddingRight"),suffix:l("sliderPaddingRightSuffix")},onChange:({value:e,suffix:t})=>({[s("sliderPaddingRight")]:e,[s("sliderPaddingRightSuffix")]:t,[s("sliderPadding")]:e===l("sliderPaddingTop")&&e===l("sliderPaddingLeft")&&e===l("sliderPaddingBottom")?e:l("sliderPadding")})},{id:s("sliderPaddingBottom"),icon:"nc-styling-bottom",type:"slider",disabled:"ungrouped"!==l("sliderPaddingType"),slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:l("sliderPaddingBottom"),suffix:l("sliderPaddingBottomSuffix")},onChange:({value:e,suffix:t})=>({[s("sliderPaddingBottom")]:e,[s("sliderPaddingBottomSuffix")]:t,[s("sliderPadding")]:e===l("sliderPaddingRight")&&e===l("sliderPaddingLeft")&&e===l("sliderPaddingTop")?e:l("sliderPadding")})},{id:s("sliderPaddingLeft"),icon:"nc-styling-left",type:"slider",disabled:"ungrouped"!==l("sliderPaddingType"),slider:{min:0,max:100},input:{show:!0,min:0},suffix:{show:!0,choices:[{title:"px",value:"px"},{title:"%",value:"%"}]},value:{value:l("sliderPaddingLeft"),suffix:l("sliderPaddingLeftSuffix")},onChange:({value:e,suffix:t})=>({[s("sliderPaddingLeft")]:e,[s("sliderPaddingLeftSuffix")]:t,[s("sliderPadding")]:e===l("sliderPaddingRight")&&e===l("sliderPaddingTop")&&e===l("sliderPaddingBottom")?e:l("sliderPadding")})}]}}function ot({v:e,device:t,devices:o="all",state:n}){const i=e=>Object(r.defaultValueKey)({key:e,device:t,state:n});return{id:i("twitter"),label:Object(a.a)("Twitter"),type:"select",devices:o,choices:[{title:Object(a.a)("Embed"),value:"embed"},{title:Object(a.a)("Button"),value:"button"}],value:(l="twitter",Object(r.defaultValueValue)({v:e,key:l,device:t,state:n})),onChange:e=>({[i("twitter")]:e,[i("twitterType")]:"embed"===e?"embed":"followButton"})};var l}function nt({title:e}){return{title:e,getItems:()=>[]}}},,function(e,t,o){"use strict";o.d(t,"d",(function(){return a})),o.d(t,"e",(function(){return i})),o.d(t,"a",(function(){return l.a})),o.d(t,"c",(function(){return u})),o.d(t,"b",(function(){return b})),o.d(t,"f",(function(){return m})),o.d(t,"g",(function(){return g})),o.d(t,"h",(function(){return v})),o.d(t,"i",(function(){return f})),o.d(t,"j",(function(){return y}));var n=o(16);function a(e,t){if(t){e=Object(n.a)(t).hex}return{hex:e}}var r=o(44);function i(e,t,o){if(o){const t=Object(r.e)(o);if(t)return t[e]}return t}var l=o(175),s=o(7);const c=e=>(e=>"optgroup"in e)(e)?{title:e.label,optgroup:e.optgroup.map(c)}:{title:e.label,value:e.alias||e.placeholder},d=e=>s.default.flatten(s.default.values(e),!0).map(c),u=(e,t)=>{if(!e)return[];const o=d(e[t]),n=[],{reference:a,multiReference:r}=e;return[...null!=a?a:[],...null!=r?r:[]].forEach(({title:e,dynamicContent:o})=>{const a=d(o[t]);a.length&&n.push({optgroup:a,title:e})}),[...o,...n]};var p=o(61);const b=(e,t,o)=>{const n=Object(p.a)(e,e=>e.placeholder===o||e.alias===o);if(null!=n&&n.obj)return n.obj},m=()=>[{title:"None",value:"none"},{icon:{className:"brz-ed-shape--1"},value:"1"},{icon:{className:"brz-ed-shape--2"},value:"2"},{icon:{className:"brz-ed-shape--3"},value:"3"},{icon:{className:"brz-ed-shape--4"},value:"4"},{icon:{className:"brz-ed-shape--5"},value:"5"},{icon:{className:"brz-ed-shape--6"},value:"6"},{icon:{className:"brz-ed-shape--7"},value:"7"},{icon:{className:"brz-ed-shape--8"},value:"8"},{icon:{className:"brz-ed-shape--9"},value:"9"},{icon:{className:"brz-ed-shape--10"},value:"10"},{icon:{className:"brz-ed-shape--11"},value:"11"},{icon:{className:"brz-ed-shape--12"},value:"12"},{icon:{className:"brz-ed-shape--13"},value:"13"},{icon:{className:"brz-ed-shape--14"},value:"14"},{icon:{className:"brz-ed-shape--15"},value:"15"},{icon:{className:"brz-ed-shape--16"},value:"16"},{icon:{className:"brz-ed-shape--17"},value:"17"},{icon:{className:"brz-ed-shape--18"},value:"18"},{icon:{className:"brz-ed-shape--19"},value:"19"},{icon:{className:"brz-ed-shape--20"},value:"20"},{icon:{className:"brz-ed-shape--21"},value:"21"},{icon:{className:"brz-ed-shape--22"},value:"22"},{icon:{className:"brz-ed-shape--23"},value:"23"},{icon:{className:"brz-ed-shape--24"},value:"24"},{icon:{className:"brz-ed-shape--25"},value:"25"},{icon:{className:"brz-ed-shape--26"},value:"26"},{icon:{className:"brz-ed-shape--27"},value:"27"},{icon:{className:"brz-ed-shape--28"},value:"28"},{icon:{className:"brz-ed-shape--29"},value:"29"},{icon:{className:"brz-ed-shape--30"},value:"30"},{icon:{className:"brz-ed-shape--31"},value:"31"},{icon:{className:"brz-ed-shape--32"},value:"32"},{icon:{className:"brz-ed-shape--33"},value:"33"},{icon:{className:"brz-ed-shape--34"},value:"34"},{icon:{className:"brz-ed-shape--35"},value:"35"},{icon:{className:"brz-ed-shape--36"},value:"36"},{icon:{className:"brz-ed-shape--37"},value:"37"},{icon:{className:"brz-ed-shape--38"},value:"38"},{icon:{className:"brz-ed-shape--39"},value:"39"},{icon:{className:"brz-ed-shape--40"},value:"40"},{icon:{className:"brz-ed-shape--41"},value:"41"},{icon:{className:"brz-ed-shape--42"},value:"42"}];var h=o(15);const g=(e=h.a.getAll().taxonomies)=>e?e.map(e=>{const{id:t="",label:o="",name:n="",terms:a=[]}=e;return t||o||n?a&&a.length?{title:o,optgroup:a.map(e=>({title:e.name,value:`${n}|${e.id}`}))}:{title:o,value:`${n}|${t}`}:{title:"-",value:""}}):[{title:"-",value:""}],v=(e="")=>{const t=h.a.getAll().taxonomies.filter(t=>{const{name:o}=t;return"products"===e?o.indexOf("product")>-1:"posts"===e?o.indexOf("product")<0:t});return g(t)},f=()=>{const e=h.a.getAll().postTypesTaxs;return e?e.map(e=>({value:e.name,title:e.label})):[{title:"-",value:""}]},y=e=>{const t=h.a.getAll().postTypesTaxs;return e&&t?t.filter(t=>t.taxonomies&&t.taxonomies.length&&t.name===e).reduce((e,t)=>{if(t.taxonomies){const o=t.taxonomies.map(e=>({value:e.id,title:e.name}));return e.concat(o)}return e},[]):[{title:"-",value:""}]}},function(e,t,o){"use strict";o.d(t,"a",(function(){return d}));var n=o(0),a=o.n(n),r=o(7),i=o(4),l=o.n(i),s=o(165);const c=(e,t)=>{const{className:o="",icon:n="nc-circle-add",style:i={},onClick:c=r.default.noop}=e,d=l()("brz-icon-svg brz-ed-icon-svg",o);return a.a.createElement("svg",{ref:t,className:d,onClick:c,style:i},a.a.createElement("use",{xlinkHref:Object(s.a)(n)}))},d=a.a.forwardRef(c);t.b=d},function(e,t,o){"use strict";var n=o(114);let a={};t.a={init(e){a=e},load(e){a=Object(n.a)(a,e)},get:e=>a[e],getAll:()=>a}},function(e,t,o){"use strict";o.d(t,"d",(function(){return c})),o.d(t,"c",(function(){return d})),o.d(t,"b",(function(){return i})),o.d(t,"a",(function(){return l})),o.d(t,"e",(function(){return s}));o(76);var n=o(92),a=o(26),r=o(19);function i(){return Object(r.h)(Object(a.b)().getState()).colorPalette}function l(e){return i().find(t=>t.id===e)}const s=(e,t)=>e.map(({id:e,hex:o})=>{let n=".brz-cp-"+e.toLowerCase(),a=".brz-bcp-"+e.toLowerCase();return"function"==typeof t&&(n=t(n),a=t(a)),`.brz ${n}, .brz ${a}{color: ${o};}`}).join("");const c=e=>Object(n.c)(null!=e?e:"");function d(e,t){if(c(e)){e=e.replace("#",""),t=isNaN(t)?1:t;return`rgba(${parseInt(e.substring(0,2),16)}, ${parseInt(e.substring(2,4),16)}, ${parseInt(e.substring(4,6),16)}, ${t})`}}},function(e,t,o){"use strict";o.d(t,"n",(function(){return l})),o.d(t,"p",(function(){return h})),o.d(t,"h",(function(){return p})),o.d(t,"g",(function(){return m})),o.d(t,"i",(function(){return b})),o.d(t,"q",(function(){return v.a})),o.d(t,"j",(function(){return O})),o.d(t,"f",(function(){return y})),o.d(t,"o",(function(){return R})),o.d(t,"m",(function(){return N})),o.d(t,"l",(function(){return I})),o.d(t,"e",(function(){return B})),o.d(t,"c",(function(){return w})),o.d(t,"a",(function(){return T})),o.d(t,"b",(function(){return z})),o.d(t,"d",(function(){return P})),o.d(t,"k",(function(){return E}));var n=o(61),a=o(74),r=o(65);const i=(e,t,o,n)=>{if("type"===e&&null!=a.a.getComponent(t)){if(o.value=o.value||{},void 0!==o.value._id&&n.keepExistingIds)return;if("GlobalBlock"===o.type)return;o.value._id=Object(r.a)()}};function l(e,t={}){const o=JSON.parse(JSON.stringify(e));return Object(n.e)(o,i,t),o}var s=o(2),c=o(25);function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function u(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){Object(s.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function p(e,t,o){let n=e.findIndex(e=>e===t),a="increase"===o?++n:--n;return a===e.length?a=0:a<0&&(a=e.length-1),e[a]}function b(e,t,o){return m(e,t,e=>{if(e.type){const{defaultValue:t}=a.a.getComponent(e.type)||{};return!(!t||!t.style)&&t.style[o]}})}function m(e,t,o){const n=[...e];let a=[];for(let r=0;r<=e.length;r++){const e=Object(c.getIn)(t,n),r=o(e);if(r||null===r)return{value:e,path:n};a.unshift(n.pop())}return{value:null,path:null}}function h(e,t=0,o=0){const n=function(e){const{defaultValue:t}=a.a.getComponent(e.type);return t.style}(e);let r=Object(c.setIn)(e,["value"],g(e.value,n));if(o++,e.value.items&&o<=t){const n=e.value.items.map((e,n)=>{let a={};return r.value&&r.value.items&&r.value.items[n]&&(a=r.value.items[n]),h(u(u({},e),{},{value:u(u({},a.value),e.value)}),t,o)});r=Object(c.setIn)(r,["value","items"],n)}return r}const g=(e,t={})=>Object.entries(t).reduce((o,[n,a])=>(o[n]=n in e?e[n]:a,o[n]="items"===n?e.items.map((e,o)=>u(u({},e),{},{value:u(u({},g(e.value,t.items[o].value)),e.value)})):n in e?e[n]:a,o),{});var v=o(220),f=o(194);const y=(e,t,o=t+1)=>{if(!e[t])throw new Error("Can't clone invalid item at index "+t);return Object(f.a)(e,o,e[t])},O=(e,t,o)=>o.reduce((e,o,n)=>{const a=l(Object(v.a)(o));return Object(c.insert)(e,t+n,a)},e);var S=o(15);const x=()=>S.a.get("mode")||"page",C="internal_story"===x(),j="external_story"===x(),P=C||j,B="template"===x(),w="internal_popup"===x(),T="external_popup"===x(),z=w||T,E=e=>"internal_popup"===e||"external_popup"===e;var k=o(43),H=o(29),F=o(26),_=o(19);function R(e,t=5){const o=e.value.items[0].value,n=o._styles;let{offsetX:a=0,offsetY:r=0}=o;const i=Object(_.G)(Object(F.b)().getState());if(!(H.a.read(a)&&H.a.read(r))&&n&&i){const e=n.reduce((e,t)=>i[t]?Object.assign(e,i[t]):e,{offsetX:0,offsetY:0});a=e.offsetX,r=e.offsetY}return Object(k.a)(e,e=>{e.value.items[0].value.offsetX=a+t,e.value.items[0].value.offsetY=r+t})}function L(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function M(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?L(Object(o),!0).forEach((function(t){Object(s.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):L(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function W(e,t){const o=t(e);let n;for(let r in e)if(e.hasOwnProperty(r)&&"object"==typeof e[r]&&null!==e[r]){const i=W(o[r],t);var a;if(i!==e[r])n=null!==(a=n)&&void 0!==a?a:{},n[r]=i}return n?function(e,t){if(Array.isArray(t)){let o,n=!1;for(const a in e){if(!e.hasOwnProperty(a))continue;const r=Number(a);r>=0&&r<=t.length-1&&(n||(o=t.slice(0),n=!0),o[a]=e[a])}return o||t}return M(M({},t),e)}(n,o):o}const I=e=>Object(n.b)(["type","value"],e),N=(e,t)=>W(t,t=>I(t)?e(t):t)},function(e,t,o){"use strict";o.d(t,"a",(function(){return I})),o.d(t,"b",(function(){return b})),o.d(t,"d",(function(){return N})),o.d(t,"e",(function(){return A}));var n=o(12),a=o(2),r=o(0),i=o.n(r),l=o(41),s=o.n(l),c=o(91),d=o(59),u=o(7);const p=i.a.createContext(void 0),b=({children:e,position:t,onEscape:o})=>{const n=Object(r.useContext)(p),a=Object(r.useMemo)(()=>u.default.defaults({position:t,onEscape:o},n),[t,o,n]);return i.a.createElement(p.Provider,{value:a},e)};var m=o(78),h=o(223);const g=({data:e,toolbar:t})=>i.a.createElement("div",{className:"brz-ed-toolbar__item"},i.a.createElement(h.a,{className:"brz-ed-toolbar__option",data:e,toolbar:t,location:"toolbar"}));function v(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function f(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?v(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):v(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class y extends i.a.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{itemsRenderer:void 0}),Object(a.a)(this,"containerRef",i.a.createRef()),Object(a.a)(this,"arrowRef",i.a.createRef()),Object(a.a)(this,"setItemsRenderer",e=>{this.setState({itemsRenderer:e},this.props.onContentChange)}),Object(a.a)(this,"resetItemsRenderer",()=>{this.setState({itemsRenderer:void 0},this.props.onContentChange)}),Object(a.a)(this,"renderItems",e=>{const{position:t,containerRef:o}=this.props,n=e.map((n,a)=>i.a.createElement(g,{key:n.id,data:n,toolbar:f(f({},this),{},{toolbarRef:null!=o?o:this.containerRef,toolbarCSSPosition:t,toolbarItemIndex:a+1,toolbarItemsLength:e.length})}));return i.a.createElement("div",{className:"brz-ed-toolbar__items brz-d-xs-flex brz-align-items-center"},n)})}render(){const{containerRef:e,arrowRef:t,arrow:o,items:n,onClick:a,onMouseEnter:r,onMouseLeave:l}=this.props,{itemsRenderer:s}=this.state,c=Object(m.b)(n);return c.length?i.a.createElement("div",{ref:null!=e?e:this.containerRef,className:"brz-ed-toolbar",onClick:a,onMouseEnter:r,onMouseLeave:l},void 0!==s?s(c):this.renderItems(c),o&&i.a.createElement("div",{ref:null!=t?t:this.arrowRef,className:"brz-ed-arrow brz-ed-arrow--top-center brz-ed-toolbar__arrow"})):null}}Object(a.a)(y,"defaultProps",{arrow:!0,items:[]});var O=o(40),S=o(198);class x extends i.a.Component{constructor(...e){super(...e),Object(a.a)(this,"toolbarItemsContainerRef",i.a.createRef()),Object(a.a)(this,"toolbarItemsArrowRef",i.a.createRef()),Object(a.a)(this,"reposition",()=>{const{node:e,offsetTop:t,offsetBottom:o,offsetLeft:n,position:a}=this.props,r=this.toolbarItemsContainerRef.current,i=this.toolbarItemsArrowRef.current,l=e.ownerDocument.defaultView,s=document.documentElement.clientWidth;if(!r)return;const c=r.getBoundingClientRect(),d=e.getBoundingClientRect();let u,p;const b="fixed"===a?0:l.scrollY;b+d.top-(c.height+300)>=l.scrollY?(u=!1,p=b+d.top-c.height-Number(t),Object(S.b)("above")):(u=!0,p=b+d.top+d.height+Number(o),Object(S.b)("below"));const m=d.left+d.width/2-c.width/2+Number(n),h=e.ownerDocument.defaultView===l.parent?58:0,g=s-c.width,v=Object(O.a)(m,h,g),f=m-v;r.style.top=p+"px",r.style.left=v+"px","fixed"===a&&(r.style.position="fixed"),r.classList.add("brz-ed-animated","brz-ed-animated--fadeInDown"),u?r.classList.add("brz-ed-toolbar--bottom"):r.classList.remove("brz-ed-toolbar--bottom"),i&&(c.width/2-Math.abs(f)<23?i.classList.add("brz-hidden"):i.classList.remove("brz-hidden"),u?(i.classList.remove("brz-ed-arrow--top-center"),i.classList.add("brz-ed-arrow--bottom-center")):(i.classList.remove("brz-ed-arrow--bottom-center"),i.classList.add("brz-ed-arrow--top-center")),i.style.left=`calc(50% + ${f}px)`)})}componentDidMount(){this.reposition()}componentDidUpdate(){this.props.repositionOnUpdates&&this.reposition()}render(){return i.a.createElement(y,Object(n.a)({},this.props,{containerRef:this.toolbarItemsContainerRef,arrowRef:this.toolbarItemsArrowRef,arrow:!0,onContentChange:this.reposition}))}}Object(a.a)(x,"defaultProps",{offsetTop:14,offsetBottom:14,offsetLeft:0});var C=o(207);const j=({getItems:e,getTitle:t})=>e?(Object(r.useEffect)(()=>{C.b&&C.b.setItems(e,t)}),Object(r.useEffect)(()=>()=>{C.b&&C.b.clearItems()},[]),null):null;let P=null,B=null;const w={getActive:()=>B,setActive(e){this.unsetActive(),B=e},unsetIfActive(e){e===B&&(P=e,B=null,P.handleMonitorDeactivationRequest())},unsetActive(){null!==B&&(P=B,B=null,P.handleMonitorDeactivationRequest())},activateLastActive(){P&&P.handleMonitorActivationRequest()}};var T=o(69);function z(e,t,o){let n=o.target;for(;n&&n!==e;){if(n.matches(t))return n;n=n.parentElement}return n}function E(e,t,o){if(e.matches(t)&&Object(T.g)(o.clientX,o.clientY,e.getBoundingClientRect()))return e;const n=e.querySelectorAll(t);for(let e=0;e<n.length;e++){const t=n[e];if(t&&Object(T.g)(o.clientX,o.clientY,t.getBoundingClientRect()))return t}return null}function k(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function H(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?k(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):k(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const F=new Map;class _ extends i.a.Component{constructor(...e){super(...e),Object(a.a)(this,"context",void 0),Object(a.a)(this,"state",{opened:!1}),Object(a.a)(this,"node",null),Object(a.a)(this,"selectorNode",null),Object(a.a)(this,"makeComponentUnControlled",()=>{null!==this.node&&this.node.removeEventListener("click",this.handleNodeClick)}),Object(a.a)(this,"makeComponentControlled",()=>{null!==this.node&&this.node.addEventListener("click",this.handleNodeClick,!1)}),Object(a.a)(this,"handleNodeClick",e=>{if(null!==this.node&&!e.brzToolbarHandled)if(void 0===this.props.selector){if(w.getActive()===this)return;e.brzToolbarHandled=!0,this.show()}else{const t=("dom-tree"===this.props.selectorSearchStrategy?z:E)(this.node,this.props.selector,e);t?(e.brzToolbarHandled=!0,!1===this.state.opened?(this.selectorNode=t,this.show()):t!==this.selectorNode&&this.hide(()=>{this.selectorNode=t,this.show()})):this.hide()}}),Object(a.a)(this,"handleClick",e=>{e.stopPropagation();const{onClick:t}=this.props;t&&t(e)}),Object(a.a)(this,"handleMouseEnter",e=>{e.stopPropagation();const{onMouseEnter:t}=this.props;if(t&&t(e),null!==this.node){const e=new CustomEvent("brz.toolbar.mouseenter",{bubbles:!0});this.node.dispatchEvent(e)}}),Object(a.a)(this,"handleMouseLeave",e=>{e.stopPropagation();const{onMouseLeave:t}=this.props;if(void 0!==t&&t(e),this.node){const e=new CustomEvent("brz.toolbar.mouseleave",{bubbles:!0});this.node.dispatchEvent(e)}}),Object(a.a)(this,"handleEscape",()=>{const e=this.props,t=H(H({},this.context),e);t.onEscape?t.onEscape():this.hide()}),Object(a.a)(this,"handleClickOutside",()=>{w.unsetActive()}),Object(a.a)(this,"clickOutsideException",e=>{try{const t=s.a.findDOMNode(this);return null!==t&&t.contains(e)}catch(e){return!1}}),Object(a.a)(this,"getOutSideExceptions",()=>[".brz-ed-sidebar__right",".brz-ed-tooltip__content-portal",".brz-ed-fixed",".brz-ed-box__resizer--point",".media-modal",".media-modal-backdrop",this.clickOutsideException])}componentDidMount(){if(this.node=s.a.findDOMNode(this),null!==this.node&&null!==this.node.ownerDocument){if(!F.get(this.node.ownerDocument)){const e=this.node.ownerDocument.createElement("div");e.id="brz-toolbar-portal",this.node.ownerDocument.body.appendChild(e),F.set(this.node.ownerDocument,e)}this.props.manualControl||this.makeComponentControlled()}}componentDidUpdate({manualControl:e=!1}){e!==this.props.manualControl&&(!0===e?this.makeComponentControlled():this.makeComponentUnControlled())}componentWillUnmount(){w.unsetIfActive(this),this.node=null,this.selectorNode=null}handleMonitorActivationRequest(){this.show()}handleMonitorDeactivationRequest(){this.hide()}show(){if(!this.state.opened){const{onBeforeOpen:e,onOpen:t}=this.props;w.setActive(this),e&&e(),this.setState({opened:!0},()=>{if(t&&t(),null!==this.node){const e=new CustomEvent("brz.toolbar.open",{bubbles:!0});this.node.dispatchEvent(e)}})}}hide(e){if(this.state.opened){const{onBeforeClose:t,onClose:o}=this.props;t&&t(),this.setState({opened:!1},()=>{if(o&&o(),null!==this.node){const e=new CustomEvent("brz.toolbar.close",{bubbles:!0});this.node.dispatchEvent(e)}null==e||e()})}}renderToolbar(){var e;if(null===this.node)return;if(null===this.node.ownerDocument)return;const t=this.props.getItems();if(!t||0===t.length)return;const o=this.props,a=this.context,r=this.node.ownerDocument,l=F.get(r);return l&&s.a.createPortal(i.a.createElement(i.a.Fragment,null,i.a.createElement(c.a,{exceptions:this.getOutSideExceptions(),onClickOutside:this.handleClickOutside},i.a.createElement(x,Object(n.a)({},a,o,{items:t,node:null!==(e=this.selectorNode)&&void 0!==e?e:this.node,onClick:this.handleClick,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave}))),o.getSidebarItems&&i.a.createElement(j,{getItems:o.getSidebarItems,getTitle:o.getSidebarTitle}),i.a.createElement(d.a,{id:"key-helper-toolbar-escape",keyNames:["esc"],onKeyUp:this.handleEscape})),l)}render(){const{children:e}=this.props,{opened:t}=this.state;return i.a.createElement(i.a.Fragment,null,e,t&&this.renderToolbar())}}Object(a.a)(_,"contextType",p),Object(a.a)(_,"defaultProps",{manualControl:!1});var R=o(4),L=o.n(R),M=o(125),W=o(14);class I extends i.a.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{opened:!1}),Object(a.a)(this,"onClickOutside",()=>{this.close()}),Object(a.a)(this,"handleClick",()=>{!this.state.opened?this.open():this.close()}),Object(a.a)(this,"handleEscape",()=>{this.close()})}componentWillUnmount(){w.unsetIfActive(this)}getClickOutSideExceptions(){return[".brz-ed-collapsible__toolbar",".brz-ed-sidebar__right",".brz-ed-tooltip__content-portal",".brz-ed-popup-integrations",".brz-ed-popup-authorization",".media-modal",".media-modal-backdrop"]}handleMonitorActivationRequest(){this.open()}handleMonitorDeactivationRequest(){this.close()}open(){if(this.state.opened)return;Object(S.b)("below");const{onBeforeOpen:e,onOpen:t}=this.props;w.setActive(this),e&&e(),this.setState({opened:!0},()=>{t&&t()})}close(){if(!this.state.opened)return;const{onBeforeClose:e,onClose:t}=this.props;w.unsetIfActive(this),e&&e(),this.setState({opened:!1},()=>{t&&t()})}renderBadge(){const{membership:e,global:t}=this.props;return e||t?i.a.createElement(M.CSSTransition,{key:"badge",timeout:0},i.a.createElement("div",{className:"brz-ed-collapsible__badge"},t&&i.a.createElement(W.b,{icon:"nc-global"}),e&&i.a.createElement(W.b,{icon:"nc-user"}))):null}renderIcon(){return i.a.createElement(M.CSSTransition,{key:"icon",classNames:"fadeCollapsibleIcon",timeout:200},i.a.createElement("div",{className:"brz-ed-collapsible__icon",onClick:this.handleClick},i.a.createElement(W.b,{icon:"nc-settings"})))}renderToolbar(){const{getItems:e,animation:t}=this.props,o="leftToRight"===t?"animation-left-right":"animation-right-left",n=e();return i.a.createElement(M.CSSTransition,{key:"toolbar",classNames:o,timeout:200},i.a.createElement("div",{className:"brz-ed-collapsible__toolbar"},i.a.createElement(y,{items:n,arrow:!1})))}render(){const{className:e,getSidebarItems:t,getSidebarTitle:o}=this.props,{opened:n}=this.state,a=L()("brz-ed-collapsible",{"brz-ed-collapsible--opened":n},e);return i.a.createElement(i.a.Fragment,null,i.a.createElement(c.a,{onClickOutside:this.onClickOutside,exceptions:this.getClickOutSideExceptions()},i.a.createElement(M.TransitionGroup,{className:a},this.renderBadge(),n?this.renderToolbar():this.renderIcon())),n&&t&&i.a.createElement(j,{getItems:t,getTitle:o}),n&&i.a.createElement(d.a,{keyNames:["esc"],id:"key-helper-toolbar-escape",onKeyUp:this.handleEscape}))}}Object(a.a)(I,"defaultProps",{animation:"leftToRight",global:!1,membership:!1});t.c=_;const N=()=>w.unsetActive(),A=()=>w.activateLastActive()},function(e,t,o){"use strict";o.d(t,"C",(function(){return u.e})),o.d(t,"a",(function(){return u.a})),o.d(t,"L",(function(){return u.g})),o.d(t,"m",(function(){return u.c})),o.d(t,"l",(function(){return u.b})),o.d(t,"O",(function(){return u.h})),o.d(t,"J",(function(){return u.f})),o.d(t,"P",(function(){return u.i})),o.d(t,"s",(function(){return u.d})),o.d(t,"H",(function(){return m})),o.d(t,"r",(function(){return h})),o.d(t,"e",(function(){return g})),o.d(t,"b",(function(){return v})),o.d(t,"d",(function(){return f})),o.d(t,"E",(function(){return y})),o.d(t,"K",(function(){return O})),o.d(t,"h",(function(){return S})),o.d(t,"k",(function(){return x})),o.d(t,"j",(function(){return C})),o.d(t,"N",(function(){return P})),o.d(t,"M",(function(){return B})),o.d(t,"F",(function(){return w})),o.d(t,"i",(function(){return T})),o.d(t,"I",(function(){return z})),o.d(t,"g",(function(){return E})),o.d(t,"c",(function(){return k})),o.d(t,"q",(function(){return F})),o.d(t,"o",(function(){return _})),o.d(t,"n",(function(){return R})),o.d(t,"p",(function(){return L})),o.d(t,"G",(function(){return M})),o.d(t,"f",(function(){return W})),o.d(t,"z",(function(){return I})),o.d(t,"y",(function(){return N})),o.d(t,"D",(function(){return A})),o.d(t,"A",(function(){return V})),o.d(t,"B",(function(){return D})),o.d(t,"x",(function(){return $})),o.d(t,"t",(function(){return G})),o.d(t,"u",(function(){return U})),o.d(t,"w",(function(){return K})),o.d(t,"v",(function(){return Y}));var n=o(2),a=o(81),r=o(43),i={"wrapper--iconText":{showToolbar:"on"},"wrapper--form2":{showToolbar:"on"},"wrapper--login":{showToolbar:"on"},"wrapper--reset--psw":{showToolbar:"on"},"wrapper--tabs":{showToolbar:"on"},"wrapper--timeline":{showToolbar:"on"},"wrapper--table":{showToolbar:"on"},"wrapper--protected-page":{showToolbar:"on"},"wrapper--accordion":{showToolbar:"on"},"wrapper--imageGallery":{showToolbar:"on"},"wrapper--menu":{showToolbar:"on"},"wrapper--video-playlist":{showToolbar:"on"},"wrapper--switcher":{showToolbar:"on"},"wrapper--spacer":{marginTop:0,marginBottom:0,tabletMarginTop:0,tabletMarginBottom:0,mobileMarginTop:0,mobileMarginBottom:0},"wrapper--carousel":{showToolbar:"on"},"wrapper--posts":{showToolbar:"on",paddingType:"ungrouped",paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},"column--carousel":{width:100},"richText--carousel":{text:"<p class='brz-tp-paragraph brz-text-lg-center'><span class='brz-cp-color7'>The point of using dummy text for your paragraph is that it has a more-or-less normal distribution of letters. making it look like readable English.</span></p>"},"hide-row-borders":{showToolbar:"off"},"padding-0":{padding:0},submit:{type:"submit"},search:{type:"search"},"image--dynamic":{imagePopulation:"{{brizy_dc_img_featured_image}}"},"button--dynamic":{linkExternalType:"linkPopulation",linkPopulation:"{{brizy_dc_url_post}}",text:"READ MORE",borderRadius:2,borderWidth:2,fontSize:11,paddingBottom:11,paddingLeft:26,paddingRL:26,paddingRight:26,paddingTB:11,paddingTop:11,size:"small",tempPaddingBottom:11,tempPaddingLeft:26,tempPaddingRL:26,tempPaddingRight:26,tempPaddingTB:11,tempPaddingTop:11,mobileBorderRadius:2,mobilePaddingBottom:11,mobilePaddingLeft:26,mobilePaddingRight:26,mobilePaddingTop:11,mobileSize:"small"},"richText-title--dynamic":{text:"<p class='brz-text-lg-center brz-tp-heading4'><span class='brz-cp-color2'><span class='text-population' data-population='brizy_dc_post_title'>#Post Title</span>&nbsp;</span></p>"},"richText-desc--dynamic":{text:"<p class='brz-text-lg-center brz-tp-paragraph'><span class='brz-cp-color7'><span class='text-population' data-population='brizy_dc_post_excerpt'>#Post Excerpt</span></span></p>"},"wrapper--facebookComments":{showToolbar:"on"},"story-map":{size:90,height:70,heightSuffix:"%",elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:31,offsetYSuffix:"%",offsetYAlignment:"top"},"story-progressBar":{width:90,elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:48,offsetYSuffix:"%",offsetYAlignment:"top"},"story-line":{width:90,elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:49,offsetYSuffix:"%",offsetYAlignment:"top"},"story-countdown2":{width:90,height:10,heightSuffix:"%",elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:45,offsetYSuffix:"%",offsetYAlignment:"top"},"story-counter":{width:50,elementPosition:"fixed",offsetX:39,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:45,offsetYSuffix:"%",offsetYAlignment:"top"},"story-embedCode":{width:90,elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:33,offsetYSuffix:"%",offsetYAlignment:"top"},"story-image":{width:90,height:70,elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:36,offsetYSuffix:"%",offsetYAlignment:"top"},"story-starRating":{elementPosition:"fixed",offsetX:33,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:49,offsetYSuffix:"%",offsetYAlignment:"top"},"story-icon":{elementPosition:"fixed",customSize:20,offsetX:40,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:44,offsetYSuffix:"%",offsetYAlignment:"top",customSizeSuffix:"%",hoverColorHex:null,hoverColorOpacity:null,hoverColorPalette:null,tempHoverColorOpacity:null,tempHoverColorPalette:null,hoverGradientActivePointer:null,hoverGradientStartPointer:null,hoverGradientFinishPointer:null,hoverGradientType:null,hoverGradientLinearDegree:null,hoverGradientRadialDegree:null,hoverBgColorType:null,hoverBgColorHex:null,hoverBgColorOpacity:null,hoverBgColorPalette:null,tempHoverBgColorOpacity:null,tempHoverBgColorPalette:null,hoverGradientColorHex:null,hoverGradientColorOpacity:null,hoverGradientColorPalette:null,tempHoverGradientColorOpacity:null,tempHoverGradientColorPalette:null,hoverBorderColorHex:null,hoverBorderColorOpacity:null,hoverBorderColorPalette:null,tempHoverBorderColorOpacity:null,tempHoverBorderColorPalette:null},"story-video":{size:90,elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:34,offsetYSuffix:"%",offsetYAlignment:"top"},"story-richText":{width:90,elementPosition:"fixed",offsetX:5,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:46,offsetYSuffix:"%",offsetYAlignment:"top"},"story-button":{paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,elementPosition:"fixed",offsetX:30,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:46,offsetYSuffix:"%",offsetYAlignment:"top",width:40,widthSuffix:"%",height:30,heightSuffix:"%"},"wrapper--story-form2":{showToolbar:"on"},"story-form2":{width:80,widthSuffix:"%",elementPosition:"fixed",offsetX:10,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:20,offsetYSuffix:"%",offsetYAlignment:"top"},"story-lottie":{width:60,widthSuffix:"%",elementPosition:"fixed",offsetX:20,offsetXSuffix:"%",offsetXAlignment:"left",offsetY:34,offsetYSuffix:"%",offsetYAlignment:"top"},"posts--column":{width:100},"postTitle-posts":{fontStyle:"custom",fontSize:20,tabletFontStyle:"custom",tabletFontSize:16,mobileFontStyle:"custom",mobileFontSize:16,contentHorizontalAlign:"center"},"postExcerpt-posts":{contentHorizontalAlign:"center"},"posts-archive":{pagination:"on"},"posts-productArchive":{pagination:"on"}},l=o(61),s=o(17),c=o(62),d=o(96),u=o(94);function p(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function b(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?p(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):p(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const m=e=>e.screenshots||{},h=e=>e.globalBlocks||{},g=e=>e.changedGBIds||{},v=e=>e.blocksData||{},f=e=>e.blocksOrder||[],y=e=>e.project||{},O=e=>e.styles||[],S=e=>e.currentStyle,x=e=>e.error,C=Object(a.createSelector)(y,e=>e.data.disabledElements||[]),j=Object(a.createSelector)(u.e,e=>e.data||{}),P=(Object(a.createSelector)(u.e,e=>e.slug),Object(a.createSelector)(j,e=>e.triggers||[])),B=Object(a.createSelector)(j,e=>e.triggers?e.triggers.length:null),w=Object(a.createSelector)(j,e=>Number.isInteger(e.rulesAmount)?e.rulesAmount:null),T=Object(a.createSelector)(u.h,e=>e.deviceMode),z=Object(a.createSelector)(u.h,e=>e.showHiddenElements),E=Object(a.createSelector)(u.h,e=>e.currentRole),k=Object(a.createSelector)(f,h,(e,t)=>{const{top:o,bottom:n}=Object(d.j)(e,t);return e.filter(e=>!o.includes(e)&&!n.includes(e))}),H=Object(a.createSelector)(h,v,(e,t)=>Object.entries(e).reduce((e,[o,n])=>{if(!t[o])return e;return"SectionPopup"===t[o].type||"SectionPopup2"===t[o].type||(e[o]=n),e},{})),F=Object(a.createSelector)(u.e,h,f,H,(e,t,o,n)=>{const a=o.filter(o=>!t[o]||Object(c.c)(t[o],e));return Object(d.i)(a,n)}),_=Object(a.createSelector)(h,v,m,(e,t,o)=>Object(l.d)(Object.entries(e).map(e=>{const[n,a]=e,i=t[n],s=o[n];return[n,Object(r.a)(a,e=>{e.data=b(b({},e.data),i),s&&(Object.assign(e.data.value,s),Object.assign(e.meta,s)),Object(l.f)(e.data.value,e=>{e.type&&"GlobalBlock"!==e.type&&e.value&&e.value._id&&o[e.value._id]&&(e.meta=e.meta||{},Object.assign(e.value,o[e.value._id]),Object.assign(e.meta,o[e.value._id]))})})]}))),R=Object(a.createSelector)(h,v,(e,t)=>Object(l.d)(Object.entries(e).map(e=>{const[o,n]=e,a=t[o];if(!a)return e;return[o,Object(r.a)(n,e=>{e.data=a})]}))),L=Object(a.createSelector)(u.e,f,h,(e,t,o)=>t.reduce((t,n)=>(o[n]&&Object(c.c)(o[n],e)&&(t[n]=o[n]),t),{})),M=Object(a.createSelector)(S,u.b,(e,t)=>{const{colorPalette:o,fontStyles:n}=e,a=n.concat(t),r=o.reduce((e,t)=>b(b({},e),{},{[t.id+"__color"]:{colorHex:t.hex},[t.id+"__hoverColor"]:{hoverColorHex:t.hex},[t.id+"__bg"]:{bgColorHex:t.hex},[t.id+"__hoverBg"]:{hoverBgColorHex:t.hex},[t.id+"__gradient"]:{gradientColorHex:t.hex},[t.id+"__hoverGradient"]:{hoverGradientColorHex:t.hex},[t.id+"__bg2"]:{bg2ColorHex:t.hex},[t.id+"__border"]:{borderColorHex:t.hex},[t.id+"__hoverBorder"]:{hoverBorderColorHex:t.hex},[t.id+"__arrowsColor"]:{sliderArrowsColorHex:t.hex},[t.id+"__dotsColor"]:{sliderDotsColorHex:t.hex},[t.id+"__boxShadow"]:{boxShadowColorHex:t.hex},[t.id+"__shapeTopColor"]:{shapeTopColorHex:t.hex},[t.id+"__shapeBottomColor"]:{shapeBottomColorHex:t.hex},[t.id+"__paginationColor"]:{paginationColorHex:t.hex},[t.id+"__tabletBg"]:{tabletBgColorHex:t.hex},[t.id+"__tabletBorder"]:{tabletBorderColorHex:t.hex},[t.id+"__mobileBg"]:{mobileBgColorHex:t.hex},[t.id+"__mobileBorder"]:{mobileBorderColorHex:t.hex},[t.id+"__subMenuColor"]:{subMenuColorHex:t.hex},[t.id+"__subMenuHoverColor"]:{subMenuHoverColorHex:t.hex},[t.id+"__subMenuBgColor"]:{subMenuBgColorHex:t.hex},[t.id+"__subMenuHoverBgColor"]:{subMenuHoverBgColorHex:t.hex},[t.id+"__subMenuBorderColor"]:{subMenuBorderColorHex:t.hex},[t.id+"__mMenuColor"]:{mMenuColorHex:t.hex},[t.id+"__mMenuHoverColor"]:{mMenuHoverColorHex:t.hex},[t.id+"__mMenuBgColor"]:{mMenuBgColorHex:t.hex},[t.id+"__mMenuBorderColor"]:{mMenuBorderColorHex:t.hex},[t.id+"__mMenuIconColor"]:{mMenuIconColorHex:t.hex},[t.id+"__tabletMMenuIconColor"]:{tabletMMenuIconColorHex:t.hex},[t.id+"__mobileMMenuIconColor"]:{mobileMMenuIconColorHex:t.hex},[t.id+"__labelColor"]:{labelColorHex:t.hex},[t.id+"__checkboxColor"]:{checkboxColorHex:t.hex},[t.id+"__selectColor"]:{selectColorHex:t.hex},[t.id+"__hoverSelectColor"]:{hoverSelectColorHex:t.hex},[t.id+"__selectBg"]:{selectBgColorHex:t.hex},[t.id+"__hoverSelectBg"]:{hoverSelectBgColorHex:t.hex},[t.id+"__selectBorderColor"]:{selectBorderColorHex:t.hex},[t.id+"__hoverSelectBorderColor"]:{hoverSelectBorderColorHex:t.hex},[t.id+"__selectBoxShadow"]:{selectBoxShadowColorHex:t.hex},[t.id+"__hoverSelectBoxShadow"]:{hoverSelectBoxShadowColorHex:t.hex}}),{}),l=a.reduce((e,t)=>{var o,n,a,r,i,l,s,c,d;return b(b({},e),{},{[t.id+"__fsDesktop"]:{fontFamily:t.fontFamily,fontFamilyType:t.fontFamilyType,fontSize:t.fontSize,fontSizeSuffix:null!==(o=t.fontSizeSuffix)&&void 0!==o?o:"px",fontWeight:t.fontWeight,lineHeight:t.lineHeight,letterSpacing:t.letterSpacing},[t.id+"__fsTablet"]:{tabletFontSize:t.tabletFontSize,tabletFontSizeSuffix:null!==(n=t.tabletFontSizeSuffix)&&void 0!==n?n:"px",tabletFontWeight:t.tabletFontWeight,tabletLineHeight:t.tabletLineHeight,tabletLetterSpacing:t.tabletLetterSpacing},[t.id+"__fsMobile"]:{mobileFontSize:t.mobileFontSize,mobileFontSizeSuffix:null!==(a=t.mobileFontSizeSuffix)&&void 0!==a?a:"px",mobileFontWeight:t.mobileFontWeight,mobileLineHeight:t.mobileLineHeight,mobileLetterSpacing:t.mobileLetterSpacing},[t.id+"__subMenuFsDesktop"]:{subMenuFontFamily:t.fontFamily,subMenuFontFamilyType:t.fontFamilyType,subMenuFontSize:t.fontSize,subMenuFontSizeSuffix:null!==(r=t.fontSizeSuffix)&&void 0!==r?r:"px",subMenuFontWeight:t.fontWeight,subMenuLineHeight:t.lineHeight,subMenuLetterSpacing:t.letterSpacing},[t.id+"__subMenuFsTablet"]:{tabletSubMenuFontSize:t.tabletFontSize,tabletSubMenuFontSizeSuffix:null!==(i=t.tabletFontSizeSuffix)&&void 0!==i?i:"px",tabletSubMenuFontWeight:t.tabletFontWeight,tabletSubMenuLineHeight:t.tabletLineHeight,tabletSubMenuLetterSpacing:t.tabletLetterSpacing},[t.id+"__subMenuFsMobile"]:{mobileSubMenuFontSize:t.mobileFontSize,mobileSubMenuFontSizeSuffix:null!==(l=t.mobileFontSizeSuffix)&&void 0!==l?l:"px",mobileSubMenuFontWeight:t.mobileFontWeight,mobileSubMenuLineHeight:t.mobileLineHeight,mobileSubMenuLetterSpacing:t.mobileLetterSpacing},[t.id+"__mMenuFsDesktop"]:{mMenuFontFamily:t.fontFamily,mMenuFontFamilyType:t.fontFamilyType,mMenuFontSize:t.fontSize,mMenuFontSizeSuffix:null!==(s=t.fontSizeSuffix)&&void 0!==s?s:"px",mMenuFontWeight:t.fontWeight,mMenuLineHeight:t.lineHeight,mMenuLetterSpacing:t.letterSpacing},[t.id+"__mMenuFsTablet"]:{tabletMMenuFontSize:t.tabletFontSize,tabletMMenuFontSizeSuffix:null!==(c=t.tabletFontSizeSuffix)&&void 0!==c?c:"px",tabletMMenuFontWeight:t.tabletFontWeight,tabletMMenuLineHeight:t.tabletLineHeight,tabletMMenuLetterSpacing:t.tabletLetterSpacing},[t.id+"__mMenuFsMobile"]:{mobileMMenuFontSize:t.mobileFontSize,mobileMMenuFontSizeSuffix:null!==(d=t.mobileFontSizeSuffix)&&void 0!==d?d:"px",mobileMMenuFontWeight:t.mobileFontWeight,mobileMMenuLineHeight:t.mobileLineHeight,mobileMMenuLetterSpacing:t.mobileLetterSpacing}})},{});return b(b(b({},i),r),l)}),W=Object(a.createSelector)(e=>e.copiedElement,R,(e,t)=>Object(r.a)(e,e=>{Object(l.f)(e,e=>{if(e.type&&"GlobalBlock"===e.type&&e.value){const{_id:o}=e.value;t[o]&&Object.assign(e,t[o].data)}})})),I=Object(a.createSelector)(f,h,v,(e,t,o)=>{const n=Object.keys(t);return e.map(e=>n.includes(e)?{type:"GlobalBlock",value:{_id:e}}:o[e])}),N=Object(a.createSelector)(k,h,v,(e,t,o)=>{const n=Object.keys(t);return e.map(e=>n.includes(e)?{type:"GlobalBlock",value:{_id:e}}:o[e])}),A=Object(a.createSelector)(y,u.c,O,e=>e.currentStyleId,S,u.b,(e,t,o,n,a,i)=>Object(r.a)(e,e=>{e.data.fonts=t,e.data.styles=o,e.data.selectedStyle=n,e.data.extraFontStyles=i;for(let t=0;t<e.data.styles.length;t++)e.data.styles[t].id===a.id&&(e.data.styles[t]=a)})),V=Object(a.createSelector)(j,I,(e,t)=>Object(r.a)(e,e=>{e.items=t})),D=Object(a.createSelector)(V,R,(e,t)=>{return o=e,Object(s.m)(e=>{if("GlobalBlock"===e.type){const{_id:o}=e.value;if(t[o]&&t[o].data)return t[o].data}return e},o);var o}),$=Object(a.createSelector)(D,e=>e.items||[]),G=(Object(a.createSelector)($,e=>{const t=[];return Object(l.f)(e,e=>{e.popups&&t.push(...e.popups)}),t}),Object(a.createSelector)(u.e,N,m,(e,t,o)=>Object(r.a)(e,e=>{e.data.items=t,Object.keys(o).length>0&&Object(l.f)(e,e=>{e.type&&"GlobalBlock"!==e.type&&e.value&&e.value._id&&o[e.value._id]&&Object.assign(e.value,o[e.value._id])})}))),U=Object(a.createSelector)(u.e,I,m,(e,t,o)=>Object(r.a)(e,e=>{e.data.items=t,Object.keys(o).length>0&&Object(l.f)(e,e=>{e.type&&"GlobalBlock"!==e.type&&e.value&&e.value._id&&o[e.value._id]&&Object.assign(e.value,o[e.value._id])})})),K=Object(a.createSelector)(I,m,(e,t)=>Object(r.a)(e,e=>{Object.keys(t).length>0&&Object(l.f)(e,e=>{e.type&&"GlobalBlock"!==e.type&&e.value&&e.value._id&&t[e.value._id]&&Object.assign(e.value,t[e.value._id])})})),Y=Object(a.createSelector)(u.e,I,h,m,(e,t,o,n)=>{const a=t.filter(t=>{if("GlobalBlock"===t.type){var n;const{_id:a}=t.value;if(null!==(n=o[a])&&void 0!==n&&n.data)return Object(c.c)(o[a],e)}return!0});return Object(r.a)(a,e=>{Object.keys(n).length>0&&Object(l.f)(e,e=>{e.type&&"GlobalBlock"!==e.type&&e.value&&e.value._id&&n[e.value._id]&&Object.assign(e.value,n[e.value._id])})})})},function(e,t,o){"use strict";(function(e){var n=o(36),a=o(2),r=o(0),i=o.n(r),l=o(7),s=o(4),c=o.n(s),d=o(130),u=o(65),p=o(26),b=o(19),m=o(126),h=o(177),g=o(27),v=o(6),f=o(30),y=o(140),O=o(204),S=o(554),x=o(55),C=o(103),j=o(555),P=o(226),B=o(97),w=o(556);function T(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function z(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?T(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):T(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class E extends i.a.Component{constructor(...e){super(...e),Object(a.a)(this,"_defaultValueProcessedCache",void 0),Object(a.a)(this,"_dc",{}),Object(a.a)(this,"childToolbarExtend",void 0),Object(a.a)(this,"bindPatchValue",e=>this.patchValue(e)),Object(a.a)(this,"makeWrapperProps",e=>{var t;const o=null!==(t=this.props.wrapperExtend)&&void 0!==t?t:{},n=c()(o.className,e.className),a=z(z({},o.attributes||{}),e.attributes||{});return z(z(z(z({},o),e),{},{className:n,attributes:a,id:this.getId(),componentId:this.constructor.componentId,meta:this.props.meta},this.getValue2()),{},{onChange:this.bindPatchValue,ref:t=>{Object(C.a)(t,o.ref||null),Object(C.a)(t,e.ref||null)}})})}static get componentId(){throw new Error(this.name+" must implement `static get componentId()`")}getComponentId(){return this.constructor.componentId}optionalSCU(e){const t=this.props;if(t.dbValue!==e.dbValue)return!0;if(t.reduxState.currentStyleId!==e.reduxState.currentStyleId)return!0;if(t.reduxState.currentStyle!==e.reduxState.currentStyle)return!0;if(t.reduxState.extraFontStyles!==e.reduxState.extraFontStyles)return!0;if(t.reduxState.fonts!==e.reduxState.fonts)return!0;if(t.reduxState.copiedElement!==e.reduxState.copiedElement)return!0;const o=t.path||[],n=e.path||[];if(o.length!==n.length)return!0;for(let e=0,t=o.length;e<t;e++)if(o[e]!==n[e])return!0;return!1}getId(){return this.props._id||x.a(this.getDBValue()._id)||(()=>{throw new Error("This should never happen. An initialized component must have a preset id")})()}getPath(){return this.props.path||[]}getReduxState(){return this.props.reduxState}getReduxDispatch(){return this.props.reduxDispatch}getDefaultValue(){const e=this.getDefaultValueProcessed().defaultValueFlat;return this.props.defaultValue?z(z({},e),this.props.defaultValue):e}getDefaultValueProcessed(){if(this._defaultValueProcessedCache)return this._defaultValueProcessedCache;const e=this.constructor.defaultValue,t=Object(y.b)(e),o=Object.keys(t).reduce((e,t)=>(Object(B.c)(t)&&e.push(Object(B.a)(t)),e),[]);return this._defaultValueProcessedCache={defaultValueFlat:t,dynamicContentKeys:o},this._defaultValueProcessedCache}getDBValue(){return this.props.dbValue}getStylesValue(){const{_styles:e}=this.getDBValue()||{},t=Object(b.G)(this.getReduxState());return e&&t?e.reduce((e,o)=>t[o]?Object.assign(e,t[o]):e,{}):null}getDCValue(e){var t;const o=this.getDefaultValueProcessed().dynamicContentKeys,n=[];for(const t of o){const o=Object(B.e)(e,t);o.hasDC&&n.push(o)}const a=this.getDCValueHook(n,e);if(null===(t=this._dc.pendingDCObjIncomplete)||void 0===t||t.abortGetComplete(),this._dc.pendingDCObjIncomplete=void 0,0===a.length)return this._dc.keys=void 0,this._dc.lastCache=void 0,{};{const e=Object(w.a)(a,this.context);if("complete"===e.type)return this._dc.keys=e.details,this._dc.lastCache=e.value,e.value;{this._dc.pendingDCObjIncomplete=e,this._dc.keys=e.details,e.getComplete().then(()=>{this.forceUpdate()}).catch(()=>{});const t={};let o=!1;if(this._dc.lastCache)for(const e of a)e.key in this._dc.lastCache&&(t[e.key]=this._dc.lastCache[e.key],o=!0);return o?z(z({},e.partialValue),t):e.partialValue}}}getDCValueHook(e,t){return e}getValue(){return this.getValue2().v}getValue2(){const e=this.getDefaultValue(),t=this.getStylesValue(),o=this.getDBValue(),n=z(z(z({},e),t),o);return{v:this.constructor.experimentalDynamicContent?Object.assign(n,this.getDCValue(n)):n,vs:z(z({},e),t),vd:e}}patchValue(e,t={}){const o=z(z({},this.getDBValue()),e);this.handleValueChange(o,z(z({},t),{},{patch:e}))}validateValue(e){const t=this.getDefaultValue(),o=Object.keys(e).filter(e=>{const o=e in t,n="_"===e[0]||["tabsState"].includes(e),a=["tabsCurrentElement"].includes(e);return!o&&!n&&!a});o.length&&console.error(`${this.constructor.componentId} element\n\nKeys not in defaultValue:\n${JSON.stringify(o,null,2)}\n \nTried to update with:\n${JSON.stringify(e,(e,t)=>Array.isArray(t)?"[...]":t,2)}`)}handleValueChange(e,t){this.props.onChange(e,t)}selfDestruct(){this.props.onChange(null,{intent:"remove_all"})}makeSubcomponentProps(e){let{bindWithKey:t}=e,o=Object(n.a)(e,["bindWithKey"]);const a=this.getDefaultValue(),r=this.getDBValue();return z(z({},o),{},{_id:`${this.getId()}-${t}`,path:[...this.getPath(),t],defaultValue:a&&a[t],dbValue:r&&r[t],reduxState:this.getReduxState(),reduxDispatch:this.getReduxDispatch(),onChange:(e,o)=>this.patchValue({[t]:e},o)})}makeContextMenuProps(e,t={}){const o=this.getComponentId(),n=this.getValue();return z({id:Object(u.a)(3),componentId:o,items:e.getItems(n,this)},t)}makeToolbarPropsFromConfig(t,o,n={}){const{onToolbarOpen:a,onToolbarClose:r,onToolbarEnter:i,onToolbarLeave:l}=this.props,{allowExtendFromParent:s,parentItemsFilter:c,allowExtendFromChild:u,allowExtendFromThirdParty:h,thirdPartyExtendId:g=this.getComponentId(),allowSidebarExtendFromParent:f,allowSidebarExtendFromChild:O,allowSidebarExtendFromThirdParty:S,sidebarThirdPartyExtendId:x=g}=Object(y.d)(n);return{getItems:(e=Object(b.i)(Object(p.b)().getState()))=>{var o;const n="getItemsFor"+(([e,...t],o=!1)=>e.toUpperCase()+(o?t.join("").toLowerCase():t.join("")))(e,!0);const a=t[n],r=this.getValue(),i=v.e(r.tabsState);let l=this.bindToolbarItems(r,e,i,null!==(o=null==a?void 0:a(r,this))&&void 0!==o?o:[]);if(s&&this.props.toolbarExtend){const{getItems:t}=this.props.toolbarExtend;let o=t(e);"function"==typeof c&&(o=c(o)),l=Object(d.b)(l,o)}if(u&&this.childToolbarExtend){const{getItems:t}=this.childToolbarExtend,o=t(e);l=Object(d.b)(o,l)}if(h){const t=Object(m.b)("toolbarItemsExtend_"+g,null);if(null!=t&&t[n]){const o=this.bindToolbarItems(r,e,i,t[n](r,this));l=Object(d.b)(l,o)}}return l},getSidebarItems:(e=Object(b.i)(Object(p.b)().getState()))=>{var t,n;const a=this.getValue(),r=v.e(a.tabsState);let i=this.bindToolbarItems(a,e,r,(null==o||null===(t=o.getItems)||void 0===t?void 0:t.call(o,{v:a,component:this,device:e,state:r,context:this.context}))||[]);if(f&&null!==(n=this.props.toolbarExtend)&&void 0!==n&&n.getSidebarItems){const{getSidebarItems:t}=this.props.toolbarExtend,o=t(e);i=Object(d.b)(i,o)}if(O&&this.childToolbarExtend){const{getSidebarItems:t}=this.childToolbarExtend,o=t(e);i=Object(d.b)(o,i)}if(S){const t=Object(m.b)("sidebarItemsExtend_"+x,null);if(null!=t&&t.getItems){const o=this.bindToolbarItems(a,e,r,t.getItems({v:a,component:this,device:e,state:r}));i=Object(d.b)(i,o)}}return i},getSidebarTitle:()=>{let e=null==o?void 0:o.title;if("function"==typeof e){e=e({v:this.getValue()})}if(f&&this.props.toolbarExtend){const{getSidebarTitle:t}=this.props.toolbarExtend;e=t()||e}if(O&&this.childToolbarExtend){const{getSidebarTitle:t}=this.childToolbarExtend;e=t()||e}return e||""},onBeforeOpen:()=>{e.Brizy.activeEditorComponent=this},onBeforeClose:()=>{e.Brizy.activeEditorComponent=null},onOpen:a,onClose:r,onMouseEnter:i,onMouseLeave:l}}bindToolbarItems(e,t,o,n){return Object(d.c)(n=>{const{id:a,type:r,onChange:i}=n,s=e=>this.patchValue({tabsState:e});f.d===t&&(n=Object(h.a)(j.a,o,s,n));const c=Object(y.c)(r),d=n.dependencies||l.default.identity;return c&&(n.value=Object(O.b)(r)(n=>Object(g.b)({v:e,key:Object(y.a)(a,n),device:t,state:o}))),n.onChange=(e,a)=>{const r=c?Object(g.a)({key:n.id,device:Object(y.e)(t,n),state:Object(y.f)(o,n)}):n.id,l=c?d(Object(y.g)(r,e)):i?i(e,a):((e,t)=>void 0!==t?{[e]:t}:null)(r,e);l&&this.patchValue(l)},n},Object(d.c)(S.a,n))}makeToolbarPropsFromConfig2(t,o,n={}){const{onToolbarOpen:a,onToolbarClose:r,onToolbarEnter:i,onToolbarLeave:l}=this.props,{allowExtendFromParent:s,parentItemsFilter:c,parentExtendProp:u="toolbarExtend",allowExtendFromChild:h,allowExtendFromThirdParty:g,thirdPartyExtendId:f=this.getComponentId(),allowSidebarExtendFromParent:O,allowSidebarExtendFromChild:S,allowSidebarExtendFromThirdParty:x,sidebarThirdPartyExtendId:C=f}=Object(y.d)(n);return{getItems:(e=Object(b.i)(Object(p.b)().getState()))=>{var o;const n=this.getValue(),a=v.e(n.tabsState);let r=this.bindToolbarItems(n,e,a,null!==(o=null==t?void 0:t.getItems({v:n,component:this,device:e,state:a,context:this.context}))&&void 0!==o?o:[]);if(s&&this.props[u]){const{getItems:t}=this.props[u];let o=t(e);"function"==typeof c&&(o=c(o)),r=Object(d.b)(r,o)}if(h&&this.childToolbarExtend){const{getItems:t}=this.childToolbarExtend,o=t(e);r=Object(d.b)(o,r)}if(g){const t=Object(m.b)("toolbarItemsExtend_"+f,null);if(null!=t&&t.getItems){const o=this.bindToolbarItems(n,e,a,t.getItems({v:n,component:this,device:e,state:a,context:this.context}));r=Object(d.b)(r,o)}}return r},getSidebarItems:(e=Object(b.i)(Object(p.b)().getState()))=>{var t,n;const a=this.getValue(),r=v.e(a.tabsState);let i=this.bindToolbarItems(a,e,r,(null==o||null===(t=o.getItems)||void 0===t?void 0:t.call(o,{v:a,component:this,device:e,state:r,context:this.context}))||[]);if(O&&null!==(n=this.props[u])&&void 0!==n&&n.getSidebarItems){const{getSidebarItems:t}=this.props[u],o=t(e);i=Object(d.b)(i,o)}if(S&&this.childToolbarExtend){const{getSidebarItems:t}=this.childToolbarExtend,o=t(e);i=Object(d.b)(o,i)}if(x){const t=Object(m.b)("sidebarItemsExtend_"+C,null);if(null!=t&&t.getItems){const o=this.bindToolbarItems(a,e,r,t.getItems({v:a,component:this,device:e,state:r,context:this.context}));i=Object(d.b)(i,o)}}return i},getSidebarTitle:()=>{let e=null==o?void 0:o.title;if("function"==typeof e){e=e({v:this.getValue()})}if(O&&this.props.toolbarExtend){const{getSidebarTitle:t}=this.props.toolbarExtend;e=t()||e}if(S&&this.childToolbarExtend){const{getSidebarTitle:t}=this.childToolbarExtend;e=t()||e}return e||""},onBeforeOpen:()=>{e.Brizy.activeEditorComponent=this},onBeforeClose:()=>{e.Brizy.activeEditorComponent=null},onOpen:a,onClose:r,onMouseEnter:i,onMouseLeave:l}}render(){const{v:e,vs:t,vd:o}=this.getValue2();return this.renderForEdit(e,t,o)}renderForEdit(e,t,o){throw"renderForEdit: Not Implemented"}renderForView(e,t,o){return this.renderForEdit(e,t,o)}applyRulesToValue(e,t){const o=t.filter(Boolean);if(0===o.length)return e;const n=this.getRulesValue(o);return l.default.defaults(n,e)}getRulesValue(e){const t=Object(b.G)(this.getReduxState());if(t)return e.reduce((e,o)=>{let n;switch(typeof o){case"object":{const{rule:e,mapper:a}=o;n=t[e]&&a(t[e]);break}case"string":n=t[o];break;default:throw new Error("Invalid rule type")}return n?Object.assign(e,n):e},{})}}Object(a.a)(E,"defaultProps",{onToolbarOpen:l.default.noop,onToolbarClose:l.default.noop,onToolbarEnter:l.default.noop,onToolbarLeave:l.default.noop}),Object(a.a)(E,"defaultValue",{}),Object(a.a)(E,"experimentalDynamicContent",!1),Object(a.a)(E,"contextType",P.a),t.a=E}).call(this,o(105))},function(e,t,o){"use strict";o.d(t,"K",(function(){return $})),o.d(t,"H",(function(){return G})),o.d(t,"x",(function(){return U})),o.d(t,"cb",(function(){return K})),o.d(t,"a",(function(){return Y})),o.d(t,"J",(function(){return q})),o.d(t,"s",(function(){return X})),o.d(t,"ab",(function(){return Z})),o.d(t,"bb",(function(){return J})),o.d(t,"y",(function(){return Q})),o.d(t,"o",(function(){return ee})),o.d(t,"c",(function(){return te})),o.d(t,"X",(function(){return oe})),o.d(t,"Y",(function(){return ne})),o.d(t,"Z",(function(){return ae})),o.d(t,"q",(function(){return re})),o.d(t,"V",(function(){return ie})),o.d(t,"W",(function(){return le})),o.d(t,"I",(function(){return se})),o.d(t,"D",(function(){return ce})),o.d(t,"S",(function(){return de})),o.d(t,"r",(function(){return ue})),o.d(t,"G",(function(){return pe})),o.d(t,"h",(function(){return be})),o.d(t,"u",(function(){return me})),o.d(t,"p",(function(){return he})),o.d(t,"M",(function(){return ge})),o.d(t,"L",(function(){return ve})),o.d(t,"n",(function(){return ye})),o.d(t,"b",(function(){return Oe})),o.d(t,"T",(function(){return Se})),o.d(t,"A",(function(){return xe})),o.d(t,"z",(function(){return Ce})),o.d(t,"d",(function(){return je})),o.d(t,"f",(function(){return Pe})),o.d(t,"fb",(function(){return Be})),o.d(t,"hb",(function(){return we})),o.d(t,"C",(function(){return Te})),o.d(t,"B",(function(){return ze})),o.d(t,"e",(function(){return Ee})),o.d(t,"g",(function(){return ke})),o.d(t,"gb",(function(){return He})),o.d(t,"i",(function(){return Fe})),o.d(t,"E",(function(){return _e})),o.d(t,"F",(function(){return Re})),o.d(t,"w",(function(){return Le})),o.d(t,"v",(function(){return Me})),o.d(t,"l",(function(){return We})),o.d(t,"j",(function(){return Ie}));o(76),o(238);var n=o(36),a=o(2),r=o(47),i=o.n(r),l=o(295),s=o.n(l),c=o(15),d=o(45),u=o(38),p=o(82);function b(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function m(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?b(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):b(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const h=e=>{let t;if(!e.data)throw new p.h("Project data should exist");try{t=JSON.parse(e.data)}catch(t){throw new p.h("Failed to parse project data "+e.data)}return m(m({},e),{},{data:t})},g=e=>{let t,o,n,a,r;if(!e.data)throw new p.b("globalBlock data should exist");try{t=JSON.parse(e.data)}catch(t){throw new p.b("Failed to parse globalBlock data "+e.data)}if(e.meta)try{o=JSON.parse(e.meta)}catch(e){o={}}else o={};if(e.rules)try{n=u.q?e.rules:JSON.parse(e.rules)}catch(e){throw new p.b("globalBlock rules are wrong")}else n=[];if(e.position)try{a=u.q?e.position:JSON.parse(e.position)}catch(e){throw new p.b("globalBlock position are wrong")}else a={};return r=e.status?e.status:"publish",m(m({},e),{},{data:t,meta:o,position:a,status:r,rules:n})},v=e=>{const t=JSON.stringify(e.data),o=JSON.stringify(e.meta),n=JSON.stringify(e.rules);return m(m({},e),{},{data:t,meta:o,rules:n})};var f=o(98),y=o(118);const O=({models:e,globalBlocks:t})=>{const o=new Set;return Object(f.e)(e,{Component({type:e,value:t}){const n=Object(y.a)(e).content||{};Object.entries(n.images||{}).forEach(([e,n])=>{const a=t[e]||n;a&&o.add(a)})},GlobalBlock({value:{_id:e}}){const n=t&&t[e];n&&O({models:n}).forEach(e=>{o.add(e)})}}),[...o]};var S=o(112),x=o(79),C=o(55),j=o(93),P=o(48),B=o(150),w=o(137),T=o(31),z=o(53);function E(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function k(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?E(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):E(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const H=e=>{let t,o;if(!e.data)throw new p.i("savedBlock data should exist");try{t=JSON.parse(e.data)}catch(t){throw new p.i("Failed to parse savedBlock data "+e.data)}if(e.meta)try{o=JSON.parse(e.meta)}catch(e){o={}}else o={};return k(k({},e),{},{data:t,meta:o})},F=e=>{let t,o;if(!e.data)throw new p.j("savedLayout data should exist");try{t=JSON.parse(e.data)}catch(t){throw new p.j("Failed to parse savedLayout data "+e.data)}if(e.meta)try{o=JSON.parse(e.meta)}catch(e){o={}}else o={};return k(k({},e),{},{data:t,meta:o})},_=e=>{const t=JSON.stringify(e.data),o=JSON.stringify(e.meta);return k(k({},e),{},{data:t,meta:o})},R=e=>{let t;if(e.meta)try{t=JSON.parse(e.meta)}catch(e){t={}}else t={};return k(k({},e),{},{meta:t})},L=e=>{const{data:t,meta:o}=e,{extraFontStyles:n}=o,a=Object(f.b)({models:t}),r=O({models:t}),i=Object(f.d)(n),l=Object(f.c)({models:t}),s=new Set;return[...a,...i].forEach(({family:e,type:t})=>{"upload"===t&&s.add(e)}),JSON.stringify({images:r,uploads:l,fonts:[...s]})},M=e=>{const t=Object(x.a)(P.c,Object(d.c)({_kind:()=>"wp",id:Object(x.a)(P.d("id"),C.a),data:Object(S.a)(P.d("data"),w.a,P.c,Object(T.f)({items:[]})),dataVersion:Object(S.a)(P.d("dataVersion"),j.a,Object(T.f)(0)),slug:Object(S.a)(P.d("slug"),C.a,Object(T.f)("")),title:Object(S.a)(P.d("title"),C.a,Object(T.f)("")),status:Object(S.a)(P.d("status"),B.a(["draft","publish"]),Object(T.f)("draft")),is_index:Object(S.a)(P.d("is_index"),B.a([!0,!1]),Object(T.f)(!1)),template:Object(S.a)(P.d("template"),C.a,Object(T.f)("")),url:Object(S.a)(P.d("url"),C.a,Object(T.f)(""))}))(e);if(void 0===t)throw new p.g("Failed to parse page");return t};function W(e){return k(k({},e),{},{data:JSON.stringify(e.data)})}Object(z.parse)({id:Object(x.a)(Object(P.d)("id"),C.a),title:Object(x.a)(Object(P.d)("title"),C.a,Object(T.f)("")),type:Object(x.a)(Object(P.d)("type"),C.a)}),Object(z.parse)({id:Object(x.a)(Object(P.d)("id"),C.a),title:Object(x.a)(Object(P.d)("title"),C.a,Object(T.f)("")),type:Object(x.a)(Object(P.d)("type"),C.a)}),Object(z.parse)({id:Object(x.a)(Object(P.d)("id"),C.a),title:Object(x.a)(Object(P.d)("title"),C.a,Object(T.f)(""))});function I(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function N(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?I(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):I(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const A=c.a.get("wp").api.url;function V(e,t){const{hash:o,url:n}=c.a.get("wp").api,a=c.a.get("editorVersion"),r=N(N({},t),{},{action:e,hash:o,version:a});return new s.a((e,t)=>i.a.post(n,r).done(e).fail(e=>t(e.responseText)))}function D(e){const{hash:t,url:o}=c.a.get("wp").api,a=c.a.get("editorVersion"),{data:r}=e,l=Object(n.a)(e,["data"]);return new s.a((e,n)=>{i.a.ajax(N(N({url:o},l),{},{data:"object"==typeof r&&null!==r?N(N({},r),{},{hash:t,version:a}):r,onbeforeunload:()=>"You have unsaved data.",failedAttempts:0,success(t){this.failedAttempts=0,window.onbeforeunload=null,e(t)},error(e){const{status:t,responseJSON:o}=e;0===t?(this.failedAttempts++,window.onbeforeunload=this.onbeforeunload,this.failedAttempts<=5&&setTimeout(()=>i.a.ajax(this),5e3*this.failedAttempts)):n(o)}}))})}function $(e,t={}){return fetch(e,t)}function G(e=650){return new s.a(t=>{setTimeout(()=>{t(!0)},e)})}function U(){const{getProject:e}=c.a.get("wp").api;return D({type:"POST",dataType:"json",data:{action:e}}).then(({data:e})=>e).then(h)}function K(e,t={}){const{setProject:o}=c.a.get("wp").api,{is_autosave:n=1}=t,{data:a,dataVersion:r}=(e=>{let t=JSON.stringify(e.data);return m(m({},e),{},{data:t})})(e);return D({type:"POST",dataType:"json",data:{data:a,dataVersion:r,is_autosave:n,action:o}})}function Y(){const{url:e,hash:t,lockProject:o}=c.a.get("wp").api,n=c.a.get("editorVersion");return $(e,{method:"POST",body:new URLSearchParams({version:n,hash:t,action:o})}).then(e=>e.json()).then(e=>{if(e.success)return e.data;throw e})}function q(){const{removeLock:e}=c.a.get("wp").api,t=c.a.get("editorVersion"),o=new URL(A);return o.searchParams.append("action",e),o.searchParams.append("version",t),navigator.sendBeacon(""+o)}function X(e){return function(){const e=c.a.get("wp").api;return D({type:"POST",dataType:"json",data:{id:c.a.get("wp").page,action:e.getPage}}).then(({data:e})=>e.map(M))}().then(t=>t.find(t=>t.id===e))}function Z(e,t={}){const{updatePage:o}=c.a.get("wp").api,{is_autosave:n=1}=t;return D({type:"POST",dataType:"json",data:N(N({action:o},W(e)),{},{is_autosave:n})})}function J(e){const{api:{updateRules:t,hash:o,url:n},page:a}=c.a.get("wp"),{rules:r,dataVersion:i}=e;return $(`${n}?action=${t}&hash=${o}&post=${a}&version=${c.a.get("editorVersion")}&dataVersion=${i}`,{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/json"},body:JSON.stringify(r)})}function Q(){const{api:{getRuleList:e,hash:t,url:o},page:n}=c.a.get("wp"),a=c.a.get("editorVersion");return $(o,{method:"POST",body:new URLSearchParams({action:e,post:n,version:a,hash:t})}).then(e=>e.json()).then(({data:e})=>e)}function ee(){const{getGlobalBlockList:e}=c.a.get("wp").api;return D({type:"POST",dataType:"json",data:{action:e}}).then(({data:e})=>e.map(g).reduce((e,{uid:t,data:o,status:n,rules:a,position:r,meta:i})=>(e[t]={data:o,status:n,meta:i,rules:a,position:r,id:t},e),{}))}function te(e){const{createGlobalBlock:t}=c.a.get("wp").api,o=e.data.value._id,{data:n,rules:a,meta:r}=v(e);return D({type:"POST",dataType:"json",data:{uid:o,status:"draft",data:n,rules:a,meta:r,media:L(e),action:t}})}function oe(e,t,o={}){const{updateGlobalBlock:n}=c.a.get("wp").api,{is_autosave:a=1}=o,{data:r,rules:i,meta:l,status:s}=v(t);return D({type:"POST",dataType:"json",data:{uid:e,status:s,data:r,rules:i,is_autosave:a,meta:l,action:n}})}function ne(e,t={}){const{updateGlobalBlocks:o}=c.a.get("wp").api,{is_autosave:n=1}=t,a=Object.entries(e).reduce((e,[t,o])=>{const{data:n,position:a,rules:r,meta:i,status:l}=v(o);return e.uid.push(t),e.status.push(l),e.data.push(null!=n?n:""),e.position.push(JSON.stringify(a)),e.rules.push(r),e.meta.push(i),e},{uid:[],status:[],data:[],position:[],rules:[],meta:[]});return D({type:"POST",dataType:"json",data:{uid:a.uid,status:a.status,data:a.data,position:a.position,rules:a.rules,is_autosave:n,meta:a.meta,action:o}})}function ae(e,t={}){const{updateBlockPositions:o,hash:n,url:a}=c.a.get("wp").api,r=c.a.get("editorVersion"),{is_autosave:i=1}=t;return D({type:"POST",url:`${a}?action=${o}&hash=${n}&is_autosave=${i}&version=${r}`,dataType:"json",contentType:"application/json",data:JSON.stringify(e)})}function re(e){const{api:t,page:o}=c.a.get("wp"),n={post_id:o,attachment_id:e};return V(t.getMediaUid,n).then(({data:e})=>e)}function ie(e,t){return V(c.a.get("wp").api.setFeaturedImage,{post:e,attachmentId:t})}function le(e,t,o,n){return V(c.a.get("wp").api.setFeaturedImageFocalPoint,{post:e,attachmentId:t,pointX:o,pointY:n})}function se(e){return V(c.a.get("wp").api.removeFeaturedImage,{post:e})}function ce(){return V(c.a.get("wp").api.getSidebars,{}).then(({data:e})=>e)}function de(e){return V(c.a.get("wp").api.shortcodeContent,{shortcode:e}).then(({data:e})=>e)}function ue(){return V(c.a.get("wp").api.getMenus,{}).then(({data:e})=>e)}function pe(){return V(c.a.get("wp").api.getFonts,{}).then(({data:e})=>e)}function be(e){const t={attachment_id:e};return V(c.a.get("wp").api.getAttachmentUid,t).then(({data:e})=>e)}function me(e){return V(c.a.get("wp").api.getPostObjects,{postType:e}).then(({data:e})=>e)}function he(){return V(c.a.get("wp").api.getRuleGroupList,{context:"popup-rules"}).then(({data:e})=>e)}function ge(){const{url:e,hash:t,heartBeat:o}=c.a.get("wp").api,n=c.a.get("editorVersion");return $(e,{method:"POST",body:new URLSearchParams({action:o,version:n,hash:t})}).then(e=>e.json()).then(e=>{if(e.success)return e.data;throw e})}function ve(){const{url:e,hash:t,takeOver:o}=c.a.get("wp").api,n=c.a.get("editorVersion");return $(e,{method:"POST",body:new URLSearchParams({action:o,version:n,hash:t})}).then(e=>e.json()).then(e=>{if(e.success)return e.data;throw e})}var fe=o(176);const ye=async({placeholders:e,signal:t})=>{const{api:{url:o,hash:n,placeholdersContent:a}}=c.a.get("wp"),r=c.a.get("editorVersion"),i=new URLSearchParams({hash:n,version:r,action:a});for(const[t,o]of Object.entries(e))if(o)for(const e of o)i.append(`p[${t}][]`,e);const l=await $(o,{method:"POST",body:i,signal:t});if(!l.ok)throw new Error("fetch dynamic content error");const{data:s}=await l.json();if(void 0===s||void 0===s.placeholders)throw new Error("fetch dynamic content error");const d=P.e(fe.a(C.a))(s.placeholders);if(void 0===d)throw new Error("fetch dynamic content error");return d},Oe=({base64:e,blockType:t})=>{const{page:o,api:{url:n,hash:a,createBlockScreenshot:r}}=c.a.get("wp"),i=c.a.get("editorVersion"),l=e.replace(/data:image\/.+;base64,/,"");return $(n,{method:"POST",body:new URLSearchParams({action:r,post:o,version:i,hash:a,block_type:t,ibsf:l})}).then(e=>e.json()).then(e=>{if(e.success)return e.data;throw e})},Se=({id:e,base64:t,blockType:o})=>{const{page:n,api:{url:a,hash:r,updateBlockScreenshot:i}}=c.a.get("wp"),l=c.a.get("editorVersion"),s=t.replace(/data:image\/.+;base64,/,"");return $(a,{method:"POST",body:new URLSearchParams({action:i,post:n,version:l,hash:r,block_type:o,id:e,ibsf:s})}).then(e=>e.json()).then(e=>{if(e.success)return e.data;throw e})},xe=()=>{const{getSavedBlockList:e}=c.a.get("wp").api;return D({type:"POST",dataType:"json",data:{action:e,fields:["uid","meta","synchronized","synchronizable"]}}).then(({data:e})=>e.map(R))},Ce=e=>{const{getSavedBlockByUid:t}=c.a.get("wp").api;return D({type:"POST",dataType:"json",data:{uid:e,action:t}}).then(({data:e})=>H(e))},je=e=>{const{createSavedBlock:t}=c.a.get("wp").api,{uid:o,data:n,dataVersion:a,meta:r}=_(e);return D({type:"POST",dataType:"json",data:{uid:o,data:n,meta:r,media:L(e),dataVersion:a,action:t}})},Pe=e=>{const{deleteSavedBlock:t}=c.a.get("wp").api;return D({type:"POST",dataType:"json",data:{uid:e,action:t}})},Be=async e=>{const t=c.a.getAll(),{api:{url:o,hash:n,uploadBlocks:a}}=t.wp,r=t.editorVersion,i=new FormData;for(const t of e)i.append("files[]",t);i.append("version",r),i.append("hash",n),i.append("action",a);const l=await $(o,{method:"POST",body:i}),s=await l.json();if(s.success&&s.data.errors&&s.data.success)return{errors:s.data.errors,success:s.data.success.map(H)};throw s},we=async e=>{const t=c.a.getAll(),{api:{url:o,hash:n,uploadBlocks:a}}=t.wp,r=t.editorVersion,i=new FormData;for(const t of e)i.append("files[]",t);i.append("version",r),i.append("hash",n),i.append("action",a);const l=await $(o,{method:"POST",body:i}),s=await l.json();if(s.success&&s.data.errors&&s.data.success)return{errors:s.data.errors,success:s.data.success.map(H)};throw s},Te=()=>{const{getLayoutList:e}=c.a.get("wp").api;return D({type:"POST",dataType:"json",data:{action:e,fields:["uid","meta","synchronized","synchronizable"]}}).then(({data:e})=>e.map(R))},ze=e=>{const{getLayoutByUid:t}=c.a.get("wp").api;return D({type:"POST",dataType:"json",data:{uid:e,action:t}}).then(({data:e})=>F(e))},Ee=e=>{const{createLayout:t}=c.a.get("wp").api,{data:o,dataVersion:n,uid:a,meta:r}=_(e);return D({type:"POST",dataType:"json",data:{uid:a,data:o,meta:r,media:L(e),dataVersion:n,action:t}})},ke=e=>{const{deleteLayout:t}=c.a.get("wp").api;return D({type:"POST",dataType:"json",data:{uid:e,action:t}})},He=async e=>{const t=c.a.getAll(),{api:{url:o,hash:n,uploadBlocks:a}}=t.wp,r=t.editorVersion,i=new FormData;for(const t of e)i.append("files[]",t);i.append("version",r),i.append("hash",n),i.append("action",a);const l=await $(o,{method:"POST",body:i}),s=await l.json();if(s.success&&s.data.errors&&s.data.success)return{errors:s.data.errors,success:s.data.success.map(F)};throw s},Fe=async({include:e=[],search:t="",abortSignal:o}={})=>{const{api:{url:n,hash:a,getUsers:r}}=c.a.get("wp"),i=c.a.get("editorVersion"),l=new URLSearchParams({hash:a,version:i,action:r});""!==t&&l.append("search",t);for(const t of e)l.append("include[]",t);const s=await $(n,{method:"POST",body:l,signal:o}),d=await s.json();if(d.success)return d.data;throw d},_e=async e=>{const{url:t,hash:o,getTerms:n}=c.a.get("wp").api,a=c.a.get("editorVersion");return $(t,{method:"POST",body:new URLSearchParams({hash:o,version:a,taxonomy:e,action:n})}).then(e=>e.json()).then(({data:e})=>e)},Re=async({include:e=[],search:t="",abortSignal:o}={})=>{const{api:{url:n,hash:a,getTermsBy:r}}=c.a.get("wp"),i=c.a.get("editorVersion"),l=new URLSearchParams({hash:a,version:i,action:r});""!==t&&l.append("search",t);for(let t=0;t<e.length;t++){const[o,n]=e[t];l.append("taxonomy[]",o),l.append("include[]",n)}const s=await $(n,{method:"POST",body:l,signal:o}),d=await s.json();if(d.success)return d.data;throw d},Le=async({include:e,search:t="",postType:o,excludePostType:n,abortSignal:a}={})=>{const{api:{url:r,hash:i,searchPosts:l}}=c.a.get("wp"),s=c.a.get("editorVersion"),d=new URLSearchParams({hash:i,version:s,action:l});if(""!==t&&d.append("search",t),void 0!==e)for(const t of e)d.append("include[]",t);if(void 0!==o)for(const e of o)d.append("post_type[]",e);if(void 0!==n)for(const e of n)d.append("exclude_post_type[]",e);const u=await $(r,{method:"POST",body:d,signal:a}),p=await u.json();if(p.success)return p.data;throw p},Me=async({taxonomy:e,abortSignal:t})=>{const{url:o,hash:n,getPostTaxonomies:a}=c.a.get("wp").api,r=c.a.get("editorVersion");return $(o,{method:"POST",body:new URLSearchParams({hash:n,version:r,post_type:e,action:a}),signal:t}).then(e=>e.json()).then(({data:e})=>e).catch(e=>[])},We=async()=>{const e=c.a.getAll().wp.postTypes;return Promise.resolve(e)},Ie=async e=>{const t=c.a.getAll(),{wp:o,editorVersion:n}=t,{url:a,hash:r,getPostObjects:i}=o.api;return await $(a,{method:"POST",body:new URLSearchParams({hash:r,version:n,postType:e,action:i})}).then(e=>e.json()).then(e=>{if(null==e||!e.data)throw"Something went wrong";return e.data}).catch(e=>[])}},function(e,t,o){"use strict";o.d(t,"b",(function(){return r}));var n=o(112);o.d(t,"c",(function(){return n.a}));var a=o(79);function r(e){return t=>e(t)?t:void 0}o.d(t,"a",(function(){return a.a}))},function(e,t,o){"use strict";o.d(t,"a",(function(){return u}));o(76);var n=o(36),a=o(2),r=o(0),i=o.n(r),l=o(41),s=o.n(l);let c={};function d(e){return Object.entries(e).reduce((e,[t,o])=>e+=o.replace(/element/g,`[data-custom-id=${t}]`),"")}class u extends i.a.Component{componentWillUnmount(){const{selectorName:e}=this.props;delete c[e]}componentDidMount(){this.updateCSS()}updateCSS(){const{selectorName:e,css:t}=this.props,o=s.a.findDOMNode(this);if(c[e]===t)return;t?(o.setAttribute("data-custom-id",e),c[e]=t):(o.removeAttribute("data-custom-id",e),delete c[e]);let n=document.getElementById("custom-css");n?n.innerHTML=d(c):(n=document.createElement("style"),n.id="custom-css",n.innerHTML=d(c),document.head.appendChild(n))}componentDidUpdate(){this.updateCSS()}renderForEdit(){const e=this.props,{selectorName:t,css:o,children:a}=e,r=Object(n.a)(e,["selectorName","css","children"]);return i.a.cloneElement(i.a.Children.only(a),r)}renderForView(){const{selectorName:e,css:t,children:o}=this.props;return i.a.createElement("div",{"data-custom-id":e,"data-custom-css":d({[e]:t})},i.a.Children.only(o))}render(){return this.renderForEdit()}}Object(a.a)(u,"defaultProps",{selectorName:"",css:""})},function(e,t,o){"use strict";o.d(t,"d",(function(){return a})),o.d(t,"b",(function(){return i})),o.d(t,"c",(function(){return l})),o.d(t,"a",(function(){return s}));var n=o(31);const a=e=>{switch(typeof e){case"string":return e;case"number":return e.toString();default:return}};r=a;var r;const i="",l=e=>{var t;return null!==(t=a(e))&&void 0!==t?t:""},s={read:a,empty:i,append:(e,t)=>e+t,concat:e=>e.join(""),eq:function(e,t){return e===t}}},,function(e,t,o){"use strict";o.d(t,"a",(function(){return I})),o.d(t,"b",(function(){return N}));var n=o(231),a=o(539),r=o(2),i=o(43),l=o(350),s=o(19),c=o(61),d=o(82),u=o(116);function p(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function b(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?p(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):p(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function m(e,t){return b(b({},e),{},{history:{currSnapshot:t.getCurrentSnapshot(),prevSnapshot:t.getPreviousSnapshot(),canUndo:t.canUndo(),canRedo:t.canRedo()}})}var h=o(17),g=o(131);var v=o(25),f=o(62);function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function O(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var S=o(7);function x(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function C(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?x(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):x(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}Object(i.c)(!1);var j=o(32),P=o(28);function B(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function w(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?B(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):B(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const T={deviceMode:"desktop",leftSidebar:{isOpen:!1,drawerContentType:void 0},rightSidebar:{isOpen:!1,lock:void 0,alignment:"right"},showHiddenElements:!1,currentRole:"default"};var z=o(104);function E(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function k(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?E(Object(o),!0).forEach((function(t){Object(r.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):E(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const H={value:{},path:[]};const F=e=>e.type&&e.value&&e.value._id&&e.value._thumbnailSrc;function _(e){const t={};return Object(c.f)(e,e=>{if(F(e)){const o=e.value;t[e.value._id]={_thumbnailSrc:o._thumbnailSrc,_thumbnailWidth:o._thumbnailWidth,_thumbnailHeight:o._thumbnailHeight,_thumbnailTime:o._thumbnailTime}}}),t}var R,L,M=function(e,t){const o=new u.a;return function(n,a){switch(a.type){case u.c:case u.b:{const e=a.type===u.c?o.canUndo():o.canRedo(),t=a.type===u.c?o.undo:o.redo;return e?(t.call(o),m(b(b({},n),o.getCurrentSnapshot()),o)):"object"==typeof(i=n).history&&null!==i.history&&Object(c.b)(["currSnapshot","prevSnapshot","canUndo","canRedo"],i.history)?n:m(b(b({},n),o.getCurrentSnapshot()),o)}default:{const i=e(n,a);if(!a.type.includes("@@redux/INIT")){var r;t.onBeforeUpdate&&t.onBeforeUpdate(n,a,o);const e=function(e,t){return t.reduce((t,o)=>(t[o]=e[o],t),{})}(i,t.keysToTrack);o.update(e,{replacePresent:Boolean(null==a||null===(r=a.meta)||void 0===r?void 0:r.historyReplacePresent)})}return m(i,o)}}var i}}((R={authorized:(e,t)=>{switch(t.type){case"HYDRATE":{const{authorized:e}=t.payload;return e}case"UPDATE_AUTHORIZATION":return t.payload;default:return e}},syncAllowed:(e,t)=>{switch(t.type){case"HYDRATE":{const{syncAllowed:e}=t.payload;return e}case"UPDATE_SYNC_ALLOWED":return t.payload;default:return e}},blocksData:(e={},t,o)=>{switch(t.type){case"HYDRATE":{var n;const{page:e,globalBlocks:o}=t.payload,a=(null===(n=e.data)||void 0===n?void 0:n.items)||[];if(h.d&&0===a.length)return{ecupxjcqmrpxjdimoebbkbnotrlufkfokjvr:{type:"Story",value:{_styles:["story"],items:[{type:"StoryItem",value:{_styles:["story-item"],items:[],_id:"dfmwxzkwbiaezltvsxhdinhplvimzenkiqto"}}],_id:"ecupxjcqmrpxjdimoebbkbnotrlufkfokjvr"},blockId:"StoryDefault"}};const r=a.reduce((e,t)=>{const{_id:o,globalBlockId:n}=t.value;return e[n||o]=t,e},{}),l=Object.entries(o).reduce((e,[t,o])=>(e[t]=Object(i.a)(o.data,e=>{e.value._id=t}),e),{});return Object(i.a)(O(O({},r),l),e=>{Object(c.f)(e,e=>{if(e.type&&"GlobalBlock"===e.type){const{globalBlockId:t}=e.value;t&&(e.value._id=t,delete e.value.globalBlockId)}})})}case"IMPORT_STORY":{const{blocks:n}=t.payload,{insertIndex:a}=t.meta,r=Object(s.d)(o)[0],i=Object(h.j)(e[r].value.items,a,n);return Object(v.setIn)(e,[r,"value","items"],i)}case"ADD_BLOCK":{const{block:o}=t.payload;return O(O({},e),{},{[o.value._id]:o})}case"MAKE_POPUP_TO_GLOBAL_BLOCK":{const{data:o}=t.payload,n=Object(h.m)(e=>e.value._id===o.value._id?{blockId:e.blockId,type:"GlobalBlock",value:{_id:o.value._id}}:e,e);return Object(i.a)(n,e=>{e[o.value._id]=o})}case"MAKE_GLOBAL_BLOCK_TO_POPUP":{const{block:o,fromBlockId:n,parentId:a}=t.payload;if(h.b)return O(O({},e),{},{[o.value._id]:o});const r=e=>e.value._id===n?o:e,i=e=>Object(h.l)(e)?Object(c.c)(i,r(e)):Object(c.c)(i,e),l=e=>!!Object(h.l)(e)&&e.value._id===a,s=e=>l(e)?i(e):Object(c.c)(s,e);return s(e)}case"MAKE_GLOBAL_TO_NORMAL_BLOCK":{const{block:o}=t.payload;return O(O({},e),{},{[o.value._id]:o})}case"MAKE_NORMAL_TO_GLOBAL_BLOCK":{const{data:o}=t.payload;return Object(i.a)(e,e=>{e[o.value._id]=o})}case"DELETE_GLOBAL_BLOCK":{const{id:o}=t.payload;return Object(i.a)(e,e=>{e[o].deleted=!0})}case"REMOVE_BLOCK":{const{index:n}=t.payload,a=Object(s.r)(o),r=Object.keys(a),l=Object(s.d)(o)[n];return r.includes(l)?e:Object(i.a)(e,e=>{delete e[l]})}case"REMOVE_BLOCKS":{const t=Object(s.d)(o),n=Object(s.r)(o),a=Object.keys(n),r=t.filter(e=>!a.includes(e));return Object(i.a)(e,e=>{r.forEach(t=>{delete e[t]})})}case"UPDATE_GLOBAL_BLOCK":{const{id:o,data:n}=t.payload;return null===n.value?e:O(O({},e),{},{[o]:n})}case"IMPORT_TEMPLATE":case"UPDATE_BLOCKS":{const{blocks:o}=t.payload,n=o.reduce((e,t)=>("GlobalBlock"===t.type||(e[t.value._id]=t),e),{});return O(O({},e),n)}default:return e}},blocksThumbnailSizes:function(e={},t){switch(t.type){case j.h:return t.payload.blocksThumbnailSizes;default:return e}},copiedElement:function(e=H,t){switch(t.type){case j.d:return k(k({},e),t.value);default:return e}},currentStyle:function(e={},t,o){switch(t.type){case j.h:{const{project:e}=t.payload;return e.data.styles.find(t=>t.id===e.data.selectedStyle)}case j.t:return t.payload;case j.u:{const e=t.payload;return o.styles.find(({id:t})=>t===e)}case P.b:case j.j:{const{currentStyleId:n,styles:a}=t.payload,r=[...null!=a?a:[],...o.styles];return n?r.find(e=>e.id===n):e}default:return e}},currentStyleId:function(e="",t){switch(t.type){case j.h:{const{project:e}=t.payload;return e.data.selectedStyle}case j.u:return t.payload;case P.b:case j.j:{const{currentStyleId:o}=t.payload;return o||e}default:return e}},error:function(e=null,t){switch(t.type){case j.h:{const{projectStatus:o}=t.payload;return o.locked?{code:d.f,data:o}:e}case j.w:return t.payload;default:return e}},extraFontStyles:(e=[],t)=>{switch(t.type){case"HYDRATE":{const{project:e}=t.payload;return e.data.extraFontStyles}case"UPDATE_EXTRA_FONT_STYLES":return t.payload;case"IMPORT_TEMPLATE":case"ADD_BLOCK":case"ADD_GLOBAL_BLOCK":{const{extraFontStyles:o}=t.payload;return o&&0!==o.length?[...e,...o]:e}default:return e}},fonts:function(e={},t){switch(t.type){case j.h:{const{fonts:e}=t.payload;return e}case j.b:case j.e:{const o=t.payload;return o&&0!==o.length?k(k({},e),o):e}case P.b:case j.j:case j.i:case j.a:case j.c:{const{fonts:o}=t.payload;return o&&0!==o.length?Object(i.a)(e,e=>{o.forEach(({type:t,fonts:o})=>{e[t]=e[t]||{data:[]},e[t].data.push(...o)})}):e}default:return e}},globalBlocks:(e={},t,o)=>{switch(t.type){case"HYDRATE":{const{globalBlocks:e,page:{data:{items:o=[]}}}=t.payload,n=o.filter(e=>{var t;return null==e||null===(t=e.value)||void 0===t?void 0:t.globalBlockId}).map(e=>{var t;return null==e||null===(t=e.value)||void 0===t?void 0:t.globalBlockId});return Object.entries(e).reduce((e,[o,a])=>(n.includes(o)&&!Object(f.k)(a.data)?e[o]=Object(i.a)(a,e=>{e.rules=Object(f.d)(a,!0,t.payload.page).rules,e.data.value._id=o}):e[o]=a,e),{})}case"ADD_BLOCK":return e;case"ADD_GLOBAL_BLOCK":{const{_id:n}=t.payload.block.value;return Object(f.k)(e[n].data)?e:C(C({},e),{},{[n]:Object(f.d)(e[n],!0,null==o?void 0:o.page)})}case"MAKE_POPUP_TO_GLOBAL_BLOCK":case"MAKE_NORMAL_TO_GLOBAL_BLOCK":{const{data:o,status:n,meta:a,rules:r,position:l}=t.payload;return Object(i.a)(e,e=>{e[o.value._id]={meta:a,data:o,status:n,rules:r,position:l}})}case"UPDATE_GLOBAL_BLOCK":{const{id:n,data:a}=t.payload;if(null===a.value&&!Object(f.k)(e[n].data)){const t=Object(f.d)(e[n],!1,null==o?void 0:o.page);return C(C({},e),{},{[n]:t})}return e}case"REMOVE_BLOCK":{const{index:n}=t.payload,a=Object(s.d)(o),r=Object.keys(e),i=a[n];if(r.includes(a[n])&&!Object(f.k)(e[i].data)){const t=Object(f.d)(e[i],!1,null==o?void 0:o.page);return C(C({},e),{},{[i]:t})}return e}case"MAKE_GLOBAL_TO_NORMAL_BLOCK":{const{fromBlockId:n}=t.payload,a=Object(f.d)(e[n],!1,null==o?void 0:o.page);return C(C({},e),{},{[n]:a})}case"REORDER_BLOCKS":{const{oldIndex:n,newIndex:a}=t.payload,r=Object(s.d)(o),i=Object.keys(e);if(i.includes(r[n])){const t=r[n],l=Object(v.insert)(Object(v.removeAt)(r,n),a,t),c=r[n],d=Object(f.g)(r,n,i),u=Object(f.g)(l,a,i);if("center"===d&&("top"===u||"bottom"===u)&&!Object(f.f)(Object(s.c)(o),e,null==o?void 0:o.page).includes(c)){const t=Object(f.d)(e[c],!0,null==o?void 0:o.page);return C(C({},e),{},{[c]:t})}}return e}case"REMOVE_BLOCKS":{const t=Object(s.d)(o),n=Object(s.c)(o),a=S.default.difference(t,n);return Object(i.a)(e,e=>{a.forEach(t=>{Object(f.k)(e[t].data)||(e[t]=Object(f.d)(e[t],!1,null==o?void 0:o.page))})})}case"UPDATE_BLOCKS":{const{blocks:n}=t.payload,a=Object(s.d)(o),r=n.map(e=>e.value._id),l=S.default.difference(a,r);return Object(i.a)(e,e=>{l.forEach(t=>{e[t]&&!Object(f.k)(e[t].data)&&(e[t]=Object(f.d)(e[t],!1,null==o?void 0:o.page))})})}case"UPDATE_GB_RULES":{const{id:o,rules:n}=t.payload;return Object(i.a)(e,e=>{e[o].rules=n})}case"DELETE_GLOBAL_BLOCK":{const{id:o}=t.payload;return Object(i.a)(e,e=>{e[o].data.deleted=!0})}case"PUBLISH":{const e=Object(s.o)(o),t=Object(s.p)(o),n=Object(s.q)(o);return Object.entries(e).reduce((e,[o,a])=>(e[o]=Object(i.a)(a,e=>{e.position=n[o]||null;const r="SectionPopup"===a.data.type||"SectionPopup2"===a.data.type;(t[o]||r)&&(e.status="publish")}),e),{})}default:return e}},changedGBIds:(e=[],t,o)=>{switch(t.type){case j.c:{const{_id:o}=t.payload.block.value;return[...e,o]}case j.n:case j.m:{const{_id:o}=t.payload.data.value;return[...e,o]}case j.k:case j.l:{const{fromBlockId:o}=t.payload;return e.includes(o)?e:[...e,o]}case j.o:{const{index:n}=t.payload,a=Object(s.d)(o)[n];return e.filter(e=>e!==a)}case j.p:{const t=Object(s.p)(o),n=Object.keys(t);return e.filter(e=>!n.includes(e))}case j.y:{const{id:o}=t.payload;return e.includes(o)?e:[...e,o]}case P.a:return[];default:return e}},page:(e,t,o)=>{switch(t.type){case"HYDRATE":{const{page:e}=t.payload;return e}case"PUBLISH":{const{status:e}=t.payload,n=h.b?Object(s.u)(o):Object(s.t)(o);return Object(i.a)(n,t=>{t.status=e,t.dataVersion=t.dataVersion+1})}case"UPDATE_TRIGGERS":{const{data:o}=t.payload;return Object(i.a)(e,e=>{e.data.triggers=o,e.dataVersion=e.dataVersion+1})}case"UPDATE_POPUP_RULES":return Object(i.a)(e,e=>{e.data.rulesAmount=t.payload.rules.length,e.dataVersion=e.dataVersion+1});case"UPDATE_PAGE_LAYOUT":return Object(g.a)(e)?Object(i.a)(e,e=>{e.layout.value=t.payload.layout,e.dataVersion=e.dataVersion+1}):e;case"UPDATE_PAGE_TITLE":return Object(g.a)(e)?Object(i.a)(e,e=>{e.title=t.payload,e.dataVersion=e.dataVersion+1}):e;default:return e}},blocksOrder:(e=[],t)=>{switch(t.type){case"HYDRATE":{var o;const e=(null===(o=t.payload.page.data)||void 0===o?void 0:o.items)||[];if(h.d&&0===e.length)return["ecupxjcqmrpxjdimoebbkbnotrlufkfokjvr"];const n=e.map(e=>e.value.globalBlockId||e.value._id);return Object(f.e)(n,t.payload.globalBlocks,t.payload.page)}case"ADD_GLOBAL_BLOCK":case"ADD_BLOCK":{const{block:o}=t.payload,{insertIndex:n}=t.meta,{_id:a}=o.value;return e.includes(a)?e:Object(v.insert)(e,n,o.value._id)}case"REMOVE_BLOCK":{const{index:o}=t.payload;return Object(v.removeAt)(e,o)}case"REMOVE_BLOCKS":return[];case"MAKE_GLOBAL_BLOCK_TO_POPUP":if(h.b){const{block:o,fromBlockId:n}=t.payload;return Object(v.replaceAt)(e,e.findIndex(e=>e===n),o.value._id)}return e;case"MAKE_GLOBAL_TO_NORMAL_BLOCK":{const{block:o,fromBlockId:n}=t.payload;return Object(v.replaceAt)(e,e.findIndex(e=>e===n),o.value._id)}case"REORDER_BLOCKS":{const{oldIndex:o,newIndex:n}=t.payload,a=e[o];return Object(v.insert)(Object(v.removeAt)(e,o),n,a)}case"IMPORT_TEMPLATE":{const{blocks:o}=t.payload,{insertIndex:n}=t.meta,a=o.map(e=>e.value._id);return Object(v.insert)(e,n,a)}case"UPDATE_BLOCKS":{const{blocks:e}=t.payload;return e.map(e=>e.value._id)}case"UPDATE_GLOBAL_BLOCK":{const{id:o,data:n}=t.payload;return null===n.value?e.filter(e=>e!==o):e}default:return e}},project:function(e={},t,o){switch(t.type){case j.h:{const{project:e}=t.payload;return e}case P.c:{const t=Object(l.a)(e),n=Object(l.a)(Object(s.D)(o));return t.equals(n)?e:Object(i.a)(Object(s.D)(o),e=>{e.dataVersion=e.dataVersion+1})}case j.v:{const o=t.payload;return Object(i.a)(e,e=>{e.data.disabledElements=o,e.dataVersion=e.dataVersion+1})}case j.i:{const{selectedKit:o}=t.payload;return Object(i.a)(e,e=>{e.data.selectedKit=o,e.dataVersion=e.dataVersion+1})}case j.s:{const o=t.payload;return Object(i.a)(e,e=>{e.data.selectedKit=o,e.dataVersion=e.dataVersion+1})}case P.b:case j.j:{const{styles:o,fonts:n}=t.payload;return null!=o&&o.length||null!=n&&n.length?Object(i.a)(e,e=>{e.dataVersion=e.dataVersion+1}):e}case j.b:case j.e:return Object(i.a)(e,e=>{e.dataVersion=e.dataVersion+1});default:return e}},styles:function(e=[],t){switch(t.type){case j.h:{const{project:e}=t.payload;return e.data.styles}case P.b:case j.j:case j.i:{const{styles:o}=t.payload;return o?[...e,...o]:e}default:return e}},ui:function(e=T,t){switch(t.type){case"UPDATE_UI":{const{key:o,value:n}=t,a=w(w({},e),{},{[o]:n});return"deviceMode"===o&&"manual"!==a.rightSidebar.lock&&("desktop"!==n?a.rightSidebar=w(w({},a.rightSidebar),{},{isOpen:!0,lock:"auto"}):a.rightSidebar.isOpen&&(a.rightSidebar=w(w({},a.rightSidebar),{},{isOpen:!1,lock:void 0}))),a}default:return e}},storeWasChanged:(e,t)=>{switch(t.type){case"HYDRATE":return z.a.unchanged;case"ADD_BLOCK":case"REMOVE_BLOCK":case"REORDER_BLOCKS":case"UPDATE_BLOCKS":case"UPDATE_GLOBAL_BLOCK":case"UPDATE_CURRENT_STYLE_ID":case"UPDATE_CURRENT_STYLE":case"UPDATE_EXTRA_FONT_STYLES":case"IMPORT_TEMPLATE":case"UNDO":case"REDO":return z.a.changed;case"PUBLISH":return z.a.pending;case"STORE_WAS_CHANGED":return t.payload;case"UPDATE_ERROR":return z.a.unchanged;default:return e}}},L={screenshots:function(e={},t,o,n){switch(t.type){case j.h:case P.c:{const e=_(n.page.data),t={};for(const[e,o]of Object.entries(n.globalBlocks)){const n=o.data;if(F(n)){const o=n.value;t[e]={_thumbnailSrc:o._thumbnailSrc,_thumbnailWidth:o._thumbnailWidth,_thumbnailHeight:o._thumbnailHeight,_thumbnailTime:o._thumbnailTime}}Object.assign(t,_(n.value))}return k(k(k({},e),t),{},{_published:k(k({},e),t)})}case j.A:{const{payload:{blockId:o,data:n}}=t;return Object(i.a)(e,e=>{e[o]=n})}case j.m:{const{data:{value:{_id:o}},meta:n}=t.payload,a={_thumbnailSrc:n._thumbnailSrc,_thumbnailWidth:n._thumbnailWidth,_thumbnailHeight:n._thumbnailHeight,_thumbnailTime:n._thumbnailTime};return Object(i.a)(e,e=>{e[o]=a,e._published[o]=a})}default:return e}}},(e={},t)=>{const o={};return Object.entries(R).reduce((o,[n,a])=>(o[n]=a(e[n],t,e),o),o),Object.entries(L).reduce((o,[n,a])=>(o[n]=a(e[n],t,e,o),o),o),o}),{keysToTrack:["blocksOrder","blocksData","currentStyleId","currentStyle","extraFontStyles","globalBlocksUpdates","storeWasChanged"],onBeforeUpdate:(e,t,o)=>{if(t.type===j.x||t.type===j.o||t.type===j.p){const n=Object(s.d)(e),a=Object(s.r)(e);(t.type===j.p?n:[t.payload.id]).forEach(e=>{if(n.includes(e)&&a[e]){const t=o.getSnapshots();o.replaceSnapshots(t.map(t=>(null!=t&&t.blocksOrder&&(t.blocksOrder=t.blocksOrder.filter(t=>t!==e)),t)))}})}}});let W;function I({middleware:e=[]}={}){if(W)throw new Error("store is already created");return W=Object(n.d)(M,Object(n.c)(a.reduxBatch,Object(n.a)(...e))),W}function N(){if(!W)throw new Error("store is not yet created");return W}},function(e,t,o){"use strict";o.d(t,"g",(function(){return p})),o.d(t,"f",(function(){return b})),o.d(t,"d",(function(){return m})),o.d(t,"a",(function(){return h})),o.d(t,"b",(function(){return v})),o.d(t,"c",(function(){return y})),o.d(t,"h",(function(){return O})),o.d(t,"e",(function(){return S}));var n=o(2),a=o(31),r=o(7),i=o(9),l=o(30),s=o(6);function c(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function d(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?c(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):c(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function u(e,t,o){const n=e+(String(o).charAt(0).toUpperCase()+String(o).substr(1));return Object(a.f)(t[o],t[n])}function p(e,t){return u("tablet",e,t)}function b(e,t){return u("mobile",e,t)}function m(e,t){return Object(a.f)(e,t)}function h({key:e,device:t="desktop",state:o="normal"}){const n="temp"===e.substr(0,4)?"temp":"",a=n.length>0?e.substr(4):e;return Object(i.a)([n,g({key:a,device:t,state:o})])}function g({key:e,device:t,state:o}){const n=s.e(o),a=l.g(t),r=n===s.d?"":n,c=a===l.d?"":a;return Object(i.a)([r,c,e])}function v({v:e,key:t,device:o="desktop",state:n="normal"}){const r=h({key:t,device:o,state:n}),i=h({key:t,device:l.d,state:n}),c=h({key:t,device:l.d,state:s.d});return Object(a.f)(e[c],Object(a.f)(e[i],e[r]))}const f=Object(r.memoize)(()=>l.h.reduce((e,t)=>{const o=s.f().reduce((e,o)=>(e.push({device:t,state:o}),e),[]);return e.concat(o)},[]));function y(e,t){return f().reduce((o,n)=>o||v(d({v:e,key:t},n)),"")}function O(e,t,o){return f().some(n=>{const a=v(d({v:e,key:t},n));return a&&a!==o})}function S(e,t){return f().map(e=>h(d({key:t},e)))}},function(e,t,o){"use strict";o.d(t,"b",(function(){return p})),o.d(t,"c",(function(){return b})),o.d(t,"a",(function(){return m})),o.d(t,"d",(function(){return h})),o.d(t,"u",(function(){return s})),o.d(t,"p",(function(){return c})),o.d(t,"n",(function(){return g})),o.d(t,"m",(function(){return v})),o.d(t,"o",(function(){return f})),o.d(t,"l",(function(){return y})),o.d(t,"z",(function(){return O})),o.d(t,"f",(function(){return S})),o.d(t,"x",(function(){return x})),o.d(t,"F",(function(){return C})),o.d(t,"D",(function(){return j})),o.d(t,"w",(function(){return P})),o.d(t,"i",(function(){return B})),o.d(t,"B",(function(){return w})),o.d(t,"A",(function(){return T})),o.d(t,"e",(function(){return z})),o.d(t,"g",(function(){return E})),o.d(t,"h",(function(){return k})),o.d(t,"y",(function(){return H})),o.d(t,"q",(function(){return F})),o.d(t,"r",(function(){return _})),o.d(t,"s",(function(){return R})),o.d(t,"j",(function(){return L})),o.d(t,"k",(function(){return M})),o.d(t,"t",(function(){return W})),o.d(t,"v",(function(){return I})),o.d(t,"E",(function(){return N})),o.d(t,"C",(function(){return A}));var n=o(2),a=o(7),r=o(25),i=o(65),l=o(19);function s(){return{type:"UNDO"}}function c(){return{type:"REDO"}}function d(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function u(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?d(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const p="IMPORT_STORY",b="PUBLISH",m="FETCH_PAGE_SUCCESS",h="UPDATE_EXTRA_FONT_STYLES";function g(e){return{type:"MAKE_NORMAL_TO_GLOBAL_BLOCK",payload:e}}function v({fromBlockId:e,block:t}){return{type:"MAKE_GLOBAL_TO_NORMAL_BLOCK",payload:{fromBlockId:e,block:t}}}function f(e){return{type:"MAKE_POPUP_TO_GLOBAL_BLOCK",payload:e}}function y({fromBlockId:e,parentId:t,block:o}){return{type:"MAKE_GLOBAL_BLOCK_TO_POPUP",payload:{fromBlockId:e,parentId:t,block:o}}}function O({id:e,data:t,meta:o}){return{type:"UPDATE_GLOBAL_BLOCK",payload:{id:e,data:t},meta:u({is_autosave:1},o)}}const S=e=>(t,o)=>{const n=Object(l.m)(o()),s=e.reduce((e,t)=>{var o;const{type:r,fonts:l}=t,s=(null===(o=n[r])||void 0===o?void 0:o.data)||[],[c,d]=a.default.partition(l,e=>Object.prototype.hasOwnProperty.call(e,"deleted")),p=d.map(e=>u(u({},e),{},{brizyId:Object(i.a)()}));return u(u({},e),{},{[r]:{data:s.map(e=>c.find(({brizyId:t})=>e.brizyId===t)||e).concat(p)}})},{});return t({type:"ADD_FONTS",payload:Object(r.mergeDeep)(n,s)})},x=e=>({type:"UPDATE_EXTRA_FONT_STYLES",payload:e});function C(e,t){return{type:"UPDATE_UI",key:e,value:t}}const j=e=>({type:"STORE_WAS_CHANGED",payload:e});function P({blocks:e,meta:t={}}){return{type:"UPDATE_BLOCKS",payload:{blocks:e},meta:u({is_autosave:1},t)}}const B=()=>({type:m}),w=e=>t=>new Promise((o,n)=>{t({type:"PUBLISH",payload:{status:e},meta:{onSuccess:o,onError:n}})}),T=e=>({type:"UPDATE_PAGE_LAYOUT",payload:{layout:e}});function z(e,t={insertIndex:0}){return{type:"ADD_BLOCK",payload:e,meta:t}}function E(e,t={insertIndex:0}){return{type:"ADD_GLOBAL_BLOCK",payload:e,meta:t}}function k({id:e}){return{type:"DELETE_GLOBAL_BLOCK",payload:{id:e}}}function H({data:e,meta:t}){return{type:"UPDATE_GB_RULES",payload:e,meta:t}}function F({index:e,id:t}){return{type:"REMOVE_BLOCK",payload:{index:e,id:t}}}function _(){return{type:"REMOVE_BLOCKS"}}function R(e){return{type:"REORDER_BLOCKS",payload:e}}function L(e,t={insertIndex:0}){return{type:p,payload:e,meta:t}}function M(e,t={insertIndex:0}){return{meta:t,type:"IMPORT_TEMPLATE",payload:e}}function W(e){return C("deviceMode",e)}function I(e){return{type:"UPDATE_AUTHORIZATION",payload:e}}function N(e){return{type:"UPDATE_SYNC_ALLOWED",payload:e}}function A(e){return{type:"UPDATE_PAGE_TITLE",payload:e}}},function(e,t,o){"use strict";o.d(t,"b",(function(){return n})),o.d(t,"a",(function(){return a}));const n=e=>{if(""===e||"number"!=typeof e&&"string"!=typeof e)return;const t=Number(e);return isNaN(t)?void 0:t},a={read:n}},function(e,t,o){"use strict";o.d(t,"a",(function(){return n})),o.d(t,"c",(function(){return a})),o.d(t,"b",(function(){return r})),o.d(t,"h",(function(){return i})),o.d(t,"d",(function(){return s})),o.d(t,"g",(function(){return c})),o.d(t,"f",(function(){return d})),o.d(t,"e",(function(){return u}));const n="desktop",a="tablet",r="mobile",i=["desktop","tablet","mobile"],l=e=>i.includes(e)?e:void 0,s="desktop",c=e=>{var t;return null!==(t=l(e))&&void 0!==t?t:s},d=e=>[a,r].includes(e),u=e=>[n].includes(e)},function(e,t,o){"use strict";o.d(t,"g",(function(){return a})),o.d(t,"a",(function(){return r})),o.d(t,"f",(function(){return i})),o.d(t,"h",(function(){return l})),o.d(t,"e",(function(){return s})),o.d(t,"c",(function(){return c})),o.d(t,"d",(function(){return d})),o.d(t,"b",(function(){return u}));var n=o(7);function a(e,t){return void 0===e?t:e}const r=e=>null==e||"number"==typeof e&&Number.isNaN(e);function i(...e){return 1===e.length?t=>r(t)?e[0]:t:r(e[1])?e[0]:e[1]}const l=e=>t=>{if(r(t))throw new Error(e);return t};function s(e,t,o){return r(t)||t===e?o:t}function c(e,t){if(!r(t))return e(t)}function d(...e){return t=>Object(n.foldr)(e,(e,t)=>r(e)?void 0:t(e),t)}const u=e=>!r(e)},function(e,t,o){"use strict";o.d(t,"h",(function(){return s})),o.d(t,"g",(function(){return c})),o.d(t,"r",(function(){return d})),o.d(t,"o",(function(){return u})),o.d(t,"p",(function(){return p})),o.d(t,"q",(function(){return b})),o.d(t,"m",(function(){return m})),o.d(t,"n",(function(){return h})),o.d(t,"k",(function(){return g})),o.d(t,"y",(function(){return v})),o.d(t,"f",(function(){return f})),o.d(t,"z",(function(){return y})),o.d(t,"C",(function(){return O})),o.d(t,"d",(function(){return S})),o.d(t,"j",(function(){return x})),o.d(t,"i",(function(){return C})),o.d(t,"s",(function(){return j})),o.d(t,"u",(function(){return P})),o.d(t,"t",(function(){return B})),o.d(t,"b",(function(){return w})),o.d(t,"e",(function(){return T})),o.d(t,"A",(function(){return z})),o.d(t,"v",(function(){return E})),o.d(t,"x",(function(){return k})),o.d(t,"B",(function(){return H})),o.d(t,"c",(function(){return F})),o.d(t,"l",(function(){return _})),o.d(t,"a",(function(){return R})),o.d(t,"w",(function(){return L})),o.d(t,"F",(function(){return M})),o.d(t,"E",(function(){return W})),o.d(t,"K",(function(){return I})),o.d(t,"J",(function(){return N})),o.d(t,"I",(function(){return A})),o.d(t,"D",(function(){return V})),o.d(t,"N",(function(){return D})),o.d(t,"G",(function(){return $})),o.d(t,"H",(function(){return G})),o.d(t,"L",(function(){return U})),o.d(t,"P",(function(){return K})),o.d(t,"O",(function(){return Y})),o.d(t,"M",(function(){return q}));var n=o(2),a=o(25),r=o(19);function i(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function l(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?i(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):i(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const s="HYDRATE",c="EDITOR_RENDERED",d="UPDATE_BLOCKS",u="REMOVE_BLOCK",p="REMOVE_BLOCKS",b="REORDER_BLOCKS",m="MAKE_NORMAL_TO_GLOBAL_BLOCK",h="MAKE_POPUP_TO_GLOBAL_BLOCK",g="MAKE_GLOBAL_BLOCK_TO_POPUP",v="UPDATE_GLOBAL_BLOCK",f="DELETE_GLOBAL_BLOCK",y="UPDATE_POPUP_RULES",O="UPDATE_UI",S="COPY_ELEMENT",x="IMPORT_TEMPLATE",C="IMPORT_KIT",j="UPDATE_CURRENT_KIT_ID",P="UPDATE_CURRENT_STYLE_ID",B="UPDATE_CURRENT_STYLE",w="ADD_FONTS",T="DELETE_FONTS",z="UPDATE_SCREENSHOT",E="UPDATE_DISABLED_ELEMENTS",k="UPDATE_GB_RULES",H="UPDATE_TRIGGERS",F="ADD_GLOBAL_BLOCK",_="MAKE_GLOBAL_TO_NORMAL_BLOCK",R="ADD_BLOCK",L="UPDATE_ERROR";function M({project:e,projectStatus:t,fonts:o,page:n,globalBlocks:a,blocksThumbnailSizes:r,authorized:i,syncAllowed:l}){return{type:s,payload:{project:e,projectStatus:t,fonts:o,page:n,globalBlocks:a,blocksThumbnailSizes:r,authorized:i,syncAllowed:l}}}function W(){return{type:c}}function I(e){return{type:P,payload:e}}function N(e){return{type:B,payload:e}}function A(e){return{type:j,payload:e}}function V({type:e,fonts:t}){return(o,n)=>{const i=Object(r.m)(n()),s=i[e]&&i[e].data||[],c={[""+e]:{data:s.map(e=>t.some(({brizyId:t})=>t===e.brizyId)?l(l({},e),{},{deleted:!0}):e)}};return o({type:T,payload:Object(a.mergeDeep)(i,c)})}}function D({data:e,meta:t}){return{type:y,payload:e,meta:t}}function $(e){return{type:C,payload:e}}function G(e){return{type:S,value:e}}function U(e){return{type:E,payload:e}}function K(e,t){return{type:H,payload:{data:e},meta:t}}function Y({blockId:e,data:t,meta:o}){return{type:z,payload:{blockId:e,data:t},meta:o}}function q(e){return{type:L,payload:e}}},,function(e,t,o){"use strict";(function(e){o.d(t,"a",(function(){return P}));var n=o(12),a=o(2),r=o(0),i=o.n(r),l=o(114),s=o(25),c=o(43),d=o(74),u=o(15),p=o(26),b=o(19),m=o(17),h=o(32),g=o(20),v=o(558),f=o(163),y=o(86);function O(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function S(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?O(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):O(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const x=u.a.get("menuData"),C=(e,t)=>Object(l.a)((e=>Array.isArray(e)?[]:{})(e),e,t);function j(e,t,o){const n=e.slice();return t.forEach((function(t,a){if(void 0===n[a]){const e=!1!==o.clone&&o.isMergeableObject(t);n[a]=e?C(t,o):t}else o.isMergeableObject(t)?n[a]=Object(l.a)(e[a],t,o):-1===e.indexOf(t)&&n.push(t)})),n}class P extends g.a{constructor(...e){super(...e),Object(a.a)(this,"handleKeyDown",(e,{keyName:t,id:o})=>{e.preventDefault();const n=this.getValue(),a=n.findIndex(({value:{_id:e}})=>e===o);switch(t){case"alt+N":case"ctrl+N":case"cmd+N":case"right_cmd+N":return void this.addColumn(a+1);case"alt+D":case"ctrl+D":case"cmd+D":case"right_cmd+D":return void("StoryWrapper"===n[a].type?this.insertItem(a+1,Object(m.o)(n[a])):this.cloneItem(a));case"alt+C":case"ctrl+C":case"cmd+C":case"right_cmd+C":return void this.copy(a);case"alt+V":case"ctrl+V":case"cmd+V":case"right_cmd+V":return void("StoryWrapper"===n[a].type?this.paste(a,e=>{const{offsetX:t=0,offsetY:o=0}=n[a].value.items[0].value;let r=Object(s.setIn)(e,["value","items",0,"value","offsetX"],t);return r=Object(s.setIn)(r,["value","items",0,"value","offsetY"],o),Object(m.o)(r)}):this.paste(a));case"alt+shift+V":case"ctrl+shift+V":case"cmd+shift+V":case"right_cmd+shift+V":case"shift+alt+V":case"shift+ctrl+V":case"shift+cmd+V":case"shift+right_cmd+V":return void this.pasteStyles(a);case"ctrl+right":case"cmd+right":case"right_cmd+right":return void this.changeHorizontalAlign(a,"increase");case"ctrl+left":case"cmd+left":case"right_cmd+left":return void this.changeHorizontalAlign(a,"decrease");case"ctrl+up":case"cmd+up":case"right_cmd+up":case"alt+up":return void this.changeVerticalAlign(a,"decrease");case"ctrl+down":case"cmd+down":case"right_cmd+down":case"alt+down":return void this.changeVerticalAlign(a,"increase");case"alt+del":case"del":case"cmd+backspace":case"cmd+del":case"right_cmd+backspace":case"right_cmd+del":return void this.removeItem(a)}}),Object(a.a)(this,"renderItem",(e,t,o)=>{const{sliceStartIndex:n,sliceEndIndex:a}=P.defaultProps,{sliceStartIndex:r=n,sliceEndIndex:i=a}=this.props;if(t>=r&&t<i){const n=e.value._id,a=this.renderItemData(e,n,t,o);return this.renderItemWrapper(a,n,t,e,o)}return null}),Object(a.a)(this,"getCurrentCopiedElement",()=>{const{path:e,value:t}=Object(b.f)(Object(p.b)().getState());return t?Object(s.getIn)(B(t),e):null})}insertItem(e,t){const o=Object(m.q)(t),n=Object(m.n)(o),a=this.getDBValue()||[],r=Object(s.insert)(a,e,n);this.handleValueChange(r,{arrayOperation:"insert"})}insertItemsBatch(e,t){const o=this.getDBValue()||[],n=t.reduce((t,o,n)=>{const a=Object(m.q)(o),r=Object(m.n)(a);return Object(s.insert)(t,e+n,r)},o);this.handleValueChange(n,{arrayOperation:"insert_bulk"})}updateItem(e,t,o={}){const n=this.getDBValue(),a=Object(s.setIn)(n,[e,"value"],t);this.handleValueChange(a,Object.assign(o,{arrayOperation:"itemChange"}))}removeItem(e){const t=this.getDBValue()||[],o=Object(s.removeAt)(t,e);this.handleValueChange(o,{arrayOperation:"remove"})}replaceItem(e,t,o){const n=Object(m.q)(t,{exclude:["_id"]}),a=Object(m.n)(n,o.idOptions),r=this.getDBValue()||[],i=Object(s.replaceAt)(r,e,a);this.handleValueChange(i,{arrayOperation:"replace",itemIndex:e,oldValue:r})}cloneItem(e,t=e+1){const o=this.getDBValue()||[];if(!o[e])throw new Error("Can't clone invalid item at index "+e);this.insertItem(t,o[e])}reorderItem(e,t){const o=this.getDBValue()||[];this.handleValueChange(Object(y.e)(e,t,o),{arrayOperation:"moveItem"})}getDefaultValue(){return this.props.defaultValue||[]}getValue(){return this.getDBValue()||this.getDefaultValue()}getValue2(){const e=this.getDefaultValue();return{v:this.getDBValue()||e}}validateValue(){}getItemProps(e,t,o){const{itemProps:n}=P.defaultProps,{itemProps:a=n}=this.props;return"function"==typeof a?a(e,t,o):a}renderItemData(e,t,o,a){const{type:r,value:l}=e,s=d.a.getComponent(r),c=this.getDefaultValue(),u=this.getItemProps(e,o,a),p=[...this.getPath(),o,"value"],b=c[o]&&c[o].value,m=l,h=(e,t={})=>{const{intent:n}=t;switch(n){case"replace_all":this.replaceItem(o,e,t);break;case"remove_all":this.removeItem(o,t);break;default:this.updateItem(o,e,t)}};if(s)return i.a.createElement(v.a,{key:t,onRemove:()=>this.removeItem(o)},i.a.createElement(s,Object(n.a)({},u,{path:p,defaultValue:b,dbValue:m,reduxState:this.getReduxState(),reduxDispatch:this.getReduxDispatch(),onChange:h})));{const e=d.a.getNotFoundComponent();return i.a.createElement(e,Object(n.a)({},u,{key:t,path:p,defaultValue:b,dbValue:m,reduxState:this.getReduxState(),reduxDispatch:this.getReduxDispatch(),onChange:h,componentId:r}))}}renderItemWrapper(e,t,o,n,a){return e}renderItemsContainer(e){return e}renderForEdit(e){const t=e.map(this.renderItem);return this.renderItemsContainer(t,e)}changeVerticalAlign(t,o){const n=this.getValue(),a=Object(b.B)(Object(p.b)().getState()),r=e.Brizy.activeEditorComponent.getPath(),{path:i,value:{type:l,value:c}}=Object(m.i)(r,a,"verticalAlign");if(c){const e=["top","center","bottom"],{defaultValue:{style:{verticalAlign:a}}}=d.a.getComponent(l),r=c.verticalAlign||a||"top",u=Object(m.h)(e,r,o),p=this.getPath(),b=i.reduce((e,t,o)=>(void 0===p[o]&&e.push(i[o]),e),[]),h=Object(s.setIn)(n,[...b,"value"],S(S({},c),{},{verticalAlign:u}));this.updateItem(t,h[t].value)}}changeHorizontalAlign(t,o){const n=this.getValue(),a=e.Brizy.activeEditorComponent.getPath(),r=Object(p.b)().getState(),i=Object(b.B)(r),{deviceMode:l}=r.ui,c="desktop"===l?"horizontalAlign":l+"HorizontalAlign",{path:u,value:{type:h,value:g}}=Object(m.i)(a,i,c);if(g){const e=["left","center","right"],{defaultValue:{style:a}}=d.a.getComponent(h),r=g[c]||a[c]||"left",i=Object(m.h)(e,r,o),l=this.getPath(),p=u.reduce((e,t,o)=>(void 0===l[o]&&e.push(u[o]),e),[]),b=Object(s.setIn)(n,[...p,"value"],S(S({},g),{},{[c]:i}));this.updateItem(t,b[t].value)}}copy(e){const t=this.getReduxDispatch(),o=[...this.getPath(),e],n=B(Object(b.A)(this.getReduxState()));t(Object(h.H)({value:n,path:o}))}paste(e,t=(e=>e)){const o=this.getValue()[e],{path:n,value:a}=Object(b.f)(Object(p.b)().getState());if(!a)return;const{value:r}=Object(m.g)(n,B(a),"Cloneable"===o.type||"Wrapper"===o.type?({type:e})=>"Cloneable"===e||"Wrapper"===e:({type:e})=>e===o.type);r&&this.insertItem(e+1,t(r))}pasteStyles(e){const{path:t,value:o}=Object(b.f)(Object(p.b)().getState());if(!o)return;const n=this.getValue()[e],a=this.getCurrentCopiedElement();let r=0;if(a&&("Wrapper"===a.type&&"Wrapper"===n.type||"StoryWrapper"===a.type&&"StoryWrapper"===n.type)){if(a.value.items[0].type!==n.value.items[0].type)return;r=1,"Form"===a.value.items[0].type||"IconText"===a.value.items[0].type?r=3:"ImageGallery"===a.value.items[0].type&&(r=2)}const{value:i}=Object(m.g)(t,B(o),({type:e})=>e===n.type);if(i){const t=Object(m.p)(i,r),o=Object(l.a)(n,t,{arrayMerge:j});this.updateItem(e,o.value)}}}function B(e){return Object(m.m)(e=>{const{type:t,value:o}=e;if("Menu"===t){const{menuSelected:t,symbols:n={}}=o,a=t||x[0].id,r=x.find(e=>e.id===a)||{};return Object(c.b)(e,e=>{e.value.items=Object(f.d)(r.items||[],n)})}return e},e)}Object(a.a)(P,"defaultProps",{itemProps:{},sliceStartIndex:0,sliceEndIndex:1/0})}).call(this,o(105))},function(e,t,o){"use strict";o.d(t,"a",(function(){return P}));var n=o(2),a=o(0),r=o.n(a),i=o(7),l=o(4),s=o.n(l),c=o(83),d=o(200),u=o(18),p=o(3),b=o(75),m=o(6),h=o(19),g=o(26),v=o(10);var f=o(65),y=o(103),O=o(139);function S(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function x(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?S(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):S(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const C=Object(f.a)(7);function j({children:e,className:t,component:o,attributes:n={},animationClass:a,renderContent:l=i.identity,v:f,vs:S,vd:j,componentId:P,id:B,onChange:w,meta:{sectionPopup:T,sectionPopup2:z}},E){const k="absolute"===f.elementPosition||"fixed"===f.elementPosition,H=s()(t,null==n?void 0:n.className,k&&Object(v.css)(`${P}-${B}-${C}`,`${B}-${C}`,function(e,t,o){return Object(v.renderStyles)({v:e,vs:t,vd:o,styles:{".brz &&:hover":{interval:["cssStyleOffset"]}}})}(f,S,j)));if(k){var F,_,R,L;const t=m.e(f.tabsState),i=Object(h.i)(Object(g.b)().getState()),v=e=>Object(p.defaultValueValue)({v:f,key:e,device:i,state:t}),S=({x:e,y:t})=>{const o=m.e(f.tabsState),n=Object(h.i)(Object(g.b)().getState()),a=(e,t)=>({[Object(p.defaultValueKey)({key:e,device:n,state:o})]:t});w(b.h(a,e,b.i(a,t,{})))},C=()=>({width:O.b,height:O.a});return r.a.createElement(d.a,{hAlign:null!==(F=b.a(v))&&void 0!==F?F:"left",vAlign:null!==(_=b.e(v))&&void 0!==_?_:"top",xSuffix:null!==(R=b.c(v))&&void 0!==R?R:"px",ySuffix:null!==(L=b.g(v))&&void 0!==L?L:"px",getValue:()=>{var e,t;return{x:null!==(e=b.b(v))&&void 0!==e?e:0,y:null!==(t=b.f(v))&&void 0!==t?t:0}},getContainerSizes:C,onStart:u.d,onChange:S},(t,i)=>r.a.createElement(c.a,{component:null!=o?o:"div",componentProps:x(x({},n),{},{className:s()(H,i)}),animationClass:a,ref:e=>{Object(y.a)(e,t),Object(y.a)(e,E)}},l(e)))}return r.a.createElement(c.a,{iterationCount:null===!1&&(T||z?1/0:1),component:null!=o?o:"div",componentProps:x(x({},n),{},{className:H}),animationClass:a,ref:E},l(e))}const P=Object(a.forwardRef)(j)},,,function(e,t,o){"use strict";o.d(t,"g",(function(){return u})),o.d(t,"h",(function(){return p})),o.d(t,"q",(function(){return b})),o.d(t,"c",(function(){return m})),o.d(t,"d",(function(){return h})),o.d(t,"f",(function(){return g})),o.d(t,"e",(function(){return v})),o.d(t,"n",(function(){return f})),o.d(t,"a",(function(){return y})),o.d(t,"j",(function(){return O})),o.d(t,"o",(function(){return S})),o.d(t,"b",(function(){return x})),o.d(t,"k",(function(){return C})),o.d(t,"i",(function(){return j})),o.d(t,"l",(function(){return P})),o.d(t,"p",(function(){return w})),o.d(t,"m",(function(){return T}));var n,a=o(53),r=o(15),i=o(42),l=o(102);const s=r.a.getAll(),c=Object(a.match)([l.a,e=>e.template_type],[i.b,Object(a.match)([i.a,e=>e.templateType],[i.f,()=>{}])]),d=(e,t)=>{const o=c(e);return""===o||o===t},u=(n=s.mode,Object(l.a)(s)&&"post"===s.wp.postType),p=!!s.pro,b=Object(l.a)(s),m=Object(i.b)(s),h=Object(i.b)(s)&&Object(i.a)(s),g="page"===s.mode,v=Object(i.b)(s)&&Object(i.a)(s)&&Object(i.e)(s),f=(Object(i.b)(s)&&Object(i.a)(s)&&Object(i.c)(s),"single"===s.mode),y="archive"===s.mode,O="product"===s.mode,S=d(s,"single"),x=d(s,"archive"),C=d(s,"product"),j=d(s,"product_archive"),P=Object(i.b)(s)&&Object(i.a)(s)&&("isProtected"in(B=s).page&&B.page.isProtected);var B;const w=Object(i.b)(s)&&"customers"===s.page.provider,T=Object(i.b)(s)&&s.page.isResetPassPage},function(e,t,o){"use strict";var n=o(2),a=o(0),r=o.n(a),i=o(8),l=o.n(i),s=o(7),c=o(4),d=o.n(c);class u extends r.a.Component{getClassName(){return d()("brz-control__select-option",{active:this.props.active,disabled:this.props.disabled})}render(){const{title:e,disabled:t,onClick:o,value:n,children:a}=this.props,i=t?()=>{}:o;return r.a.createElement("div",{className:this.getClassName(),title:e,"data-value":n,onClick:i},a)}}Object(n.a)(u,"propTypes",{active:l.a.bool,title:l.a.string,disabled:l.a.bool,value:l.a.oneOfType([l.a.string,l.a.number]),onClick:l.a.func}),Object(n.a)(u,"defaultProps",{active:!1,title:"",disabled:!1,value:"",onClick:s.default.noop}),t.a=u},function(e,t,o){"use strict";function n(e,t,o){return e<t?t:e>o?o:e}function a(e,t){return+(Math.round(Number(e+"e+"+t))+"e-"+t)}o.d(t,"a",(function(){return n})),o.d(t,"e",(function(){return a})),o.d(t,"c",(function(){return r})),o.d(t,"d",(function(){return i})),o.d(t,"g",(function(){return l})),o.d(t,"f",(function(){return s})),o.d(t,"h",(function(){return c})),o.d(t,"b",(function(){return d}));const r=e=>"number"==typeof e,i=e=>{switch(typeof e){case"number":return isFinite(e);case"string":return!isNaN(parseFloat(e))&&isFinite(Number(e))}return!1},l=(e,t)=>"number"==typeof e?e:t,s=(e,t)=>"number"==typeof e&&e>=0?e:t,c=(e,t)=>"number"==typeof e&&e>0?e:t,d=(e,t,o)=>o>=e&&o<=t},,function(e,t,o){"use strict";o.d(t,"a",(function(){return n})),o.d(t,"f",(function(){return a})),o.d(t,"e",(function(){return r})),o.d(t,"c",(function(){return i})),o.d(t,"b",(function(){return l})),o.d(t,"d",(function(){return s}));const n=e=>"cms"===e.platform,a=e=>"shopify"===e.platform,r=e=>"customers"===e.page.provider,i=e=>"collections"===e.page.provider,l=e=>!1,s=e=>"collectionType"in e},,function(e,t,o){"use strict";o.d(t,"d",(function(){return l})),o.d(t,"i",(function(){return s})),o.d(t,"c",(function(){return c})),o.d(t,"j",(function(){return u})),o.d(t,"k",(function(){return d})),o.d(t,"f",(function(){return p})),o.d(t,"e",(function(){return b})),o.d(t,"u",(function(){return v})),o.d(t,"l",(function(){return y})),o.d(t,"m",(function(){return f})),o.d(t,"o",(function(){return x})),o.d(t,"p",(function(){return C})),o.d(t,"h",(function(){return P})),o.d(t,"b",(function(){return M})),o.d(t,"g",(function(){return L})),o.d(t,"a",(function(){return _})),o.d(t,"t",(function(){return R})),o.d(t,"r",(function(){return W})),o.d(t,"s",(function(){return I})),o.d(t,"q",(function(){return N})),o.d(t,"n",(function(){return A}));var n=o(7),a=o(26),r=o(19),i=o(94);const l=({type:e,family:t})=>{const o=R(Object(i.i)(Object(a.b)().getState())),n=_(o[e],t,e);if(n)return M[e](n);const r=c();return M[r.group](r.font)},s=(e,t)=>Object.entries(e).reduce((e,o)=>{const[n,{data:a=[]}]=o,r=a.find(e=>t===M[n](e).id);return r?{group:n,font:r}:e},null),c=n.default.memoize(()=>{const e=Object(a.b)().getState(),{font:t}=Object(r.E)(e).data,{config:o}=Object(r.m)(e);return{group:"config",font:_(o.data,t)}});function d(){const{config:e={},blocks:t={},google:o={},upload:n={}}=Object(i.i)(Object(a.b)().getState());return{config:e.data||[],blocks:t.data||[],google:o.data||[],upload:n.data||[]}}function u(){return Object.values(d()).reduce((e,t)=>[...e,...t],[])}function p({includeDeleted:e=!1}={}){const t=Object(a.b)().getState(),{fontStyles:o}=Object(r.h)(t),n=[...o,...Object(r.l)(t)];return e?n:n.filter(e=>!0!==e.deleted)}function b(e){return p({includeDeleted:!0}).find(t=>t.id===e)}var m=o(117),h=o(1);const g=e=>{switch(e){case m.a.THIN:return Object(h.a)("Thin");case m.a.EXTRA_LIGHT:return Object(h.a)("Extra Light");case m.a.LIGHT:return Object(h.a)("Light");case m.a.NORMAL:return Object(h.a)("Normal");case m.a.MEDIUM:return Object(h.a)("Medium");case m.a.SEMI_BOLD:return Object(h.a)("Semi Bold");case m.a.BOLD:return Object(h.a)("Bold");case m.a.EXTRA_BOLD:return Object(h.a)("Extra Bold");case m.a.BLACK:return Object(h.a)("Black")}},v=m.d.reduce((e,t)=>(e[t]=g(t),e),{});function f({type:e,family:t}){if(e&&t){const{weights:o}=l({type:e,family:t});return o.map(e=>({title:g(e),value:e}))}return[{title:g(m.b),value:m.b}]}function y(e,t){return t.includes(Number(e))?e:m.b}o(76);var O=o(15),S=o(110);const x=e=>`https://fonts.googleapis.com/css?family=${e.reduce((e,t)=>{const o=t.family.replace(/\s/g,"+"),n=t.variants.join();return""===e?`${o}:${n}`:`${e}|${o}:${n}`},"")}&subset=arabic,bengali,cyrillic,cyrillic-ext,devanagari,greek,greek-ext,gujarati,hebrew,khmer,korean,latin-ext,tamil,telugu,thai,vietnamese&display=swap`,C=e=>{var t;const o=O.a.get("urls").editorFonts,n=null!==(t=O.a.get("prefix"))&&void 0!==t?t:"brizy",a=Object(S.b)({[n+"-font"]:e.reduce((e,{id:t,weights:o})=>{const n=o.join();return""===e?`${t}:${n}`:`${e}|${t}:${n}`},"")});return Object(S.c)(o)?`${o}&${a}`:`${o}?${a}`};o(36);var j=o(57);const P=async()=>await(async e=>{const t=await fetch(e),{items:o}=await t.json();return o})(Object(j.a)("googleFonts.json"));var B=o(2),w=o(43),T=o(65),z=o(21);function E(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function k(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?E(Object(o),!0).forEach((function(t){Object(B.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):E(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const H=e=>e.reduce((e,t)=>{const o=parseInt(t);return isNaN(o)||e.includes(o)?e:[...e,o]},[400]),F=e=>e.toLowerCase().replace(/\s+/g,"_"),_=(e=[],t="",o="google")=>"upload"===o?e.find(({id:e})=>e===t):e.find(({family:e})=>F(e)===t),R=e=>Object.entries(e).reduce((e,t)=>{const[o,{data:n}]=t;return k(k({},e),{},"upload"===o?{upload:n}:{google:[...e.google||[],...n]})},{}),L=e=>{const{family:t,category:o,variants:n,brizyId:a,deleted:r}=e;return k(k({id:F(t),title:t,family:`${t}, ${o}`,weights:H(n)},a&&{brizyId:a}),r&&{deleted:r})},M={config:L,google:L,blocks:L,upload:e=>{const{id:t,family:o,weights:n,brizyId:a,deleted:r}=e;return k(k({id:t,title:o,family:`'${t}'`,weights:H(n)},a&&{brizyId:a}),r&&{deleted:r})}},W=async e=>{if(0===e.length)return[];const t=new Map,o=e=>k({brizyId:Object(T.a)()},e),[n,a]=await Promise.all([P(),Object(z.G)()]);return e.forEach(({type:e,family:r})=>{if("google"===e){const e=_(n,r);if(e){const n=t.get("blocks")||[];t.set("blocks",[...n,o(e)])}}if("upload"===e){const e=_(a,r,"upload");if(e){const n=t.get("upload")||[];t.set("upload",[...n,o(e)])}}if("unknowns"===e){const e=_(a,r,"upload");if(e){const n=t.get("upload")||[];t.set("upload",[...n,o(e)])}else{const e=_(n,r);if(e){const n=t.get("blocks")||[];t.set("blocks",[...n,o(e)])}}}}),Object.values([...t]).reduce((e,t)=>{const[o,n]=t;return[...e,{type:o,fonts:n}]},[])},I=e=>Object(w.a)(e,e=>{e.map(({fontStyles:e})=>N(e))}),N=e=>Object(w.a)(e,e=>{e.map(e=>{e.fontSizeSuffix||(e.fontSizeSuffix="px"),e.tabletFontSizeSuffix||(e.tabletFontSizeSuffix="px"),e.mobileFontSizeSuffix||(e.mobileFontSizeSuffix="px")})});function A({group:e,font:t}){const o=M[e],{family:n}=o(t);return`.brz .brz-root__container,.brz .brz-popup2,.brz .brz-popup {font-family:${n}!important;}`}},function(e,t,o){"use strict";o.d(t,"a",(function(){return l})),o.d(t,"c",(function(){return s})),o.d(t,"b",(function(){return c}));var n=o(31);const a=e=>"optional"===e.__type,r=(e,t)=>{switch(e.__type){case"optional":case"strict":return e.fn(t);default:return e(t)}};function i(e,t){const o={};for(const i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;const l=r(e[i],t);if(!a(e[i])&&Object(n.a)(l))return;o[i]=l}return o}const l=e=>({__type:"optional",fn:e});function s(e,t){return void 0===t?t=>i(e,t):i(e,t)}function c(e,t){return void 0===t?t=>i(e,t):i(e,t)}},function(e,t,o){"use strict";let n;o.d(t,"a",(function(){return n})),function(e){e.image="image",e.link="link",e.richText="richText",e.reference="reference",e.multiReference="multiReference"}(n||(n={}))},function(e,t){e.exports=jQuery},function(e,t,o){"use strict";o.d(t,"b",(function(){return n})),o.d(t,"a",(function(){return a})),o.d(t,"c",(function(){return r})),o.d(t,"e",(function(){return i})),o.d(t,"d",(function(){return l}));const n=e=>"object"==typeof e&&null!==e,a=(e,t)=>e in t,r=e=>{if(n(e))return e},i=e=>t=>{const o=(e=>{if(n(e))return e})(t);if(void 0!==o){const t={};for(const[n,a]of Object.entries(o)){const o=e(a);if(void 0===o)return;t[n]=o}return t}},l=e=>t=>a(e,t)?t[e]:void 0},function(e,t,o){"use strict";o.d(t,"a",(function(){return u}));var n=o(12),a=o(2),r=o(0),i=o.n(r),l=o(4),s=o.n(l),c=o(165),d=o(547);class u extends i.a.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{icon:null}),Object(a.a)(this,"isUnmounted",!1)}componentDidMount(){const{name:e,type:t}=this.props;this.getSvg(t,e)}componentWillReceiveProps({name:e,type:t}){const{name:o,type:n}=this.props;o===e&&n===t||this.getSvg(t,e)}shouldComponentUpdate({name:e,type:t,className:o},{icon:n}){const{name:a,type:r,className:i}=this.props,{icon:l}=this.state;return l!==n||a!==e||r!==t||i!==o}componentWillUnmount(){this.isUnmounted=!0}fetchIcon(e,t){const o=Object(c.c)(e,t),n=new Headers({"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"});return fetch(o,{headers:n,method:"GET"}).then(e=>e.text())}async getSvg(e,t){const o=await this.fetchIcon(e,t);this.isUnmounted||this.setState({icon:Object(d.responseToSvg)(o)})}getSvgContent(e){if(e){const t=(new DOMParser).parseFromString(e,"text/html").body.firstChild||{innerHTML:null,attributes:{}},o=t.attributes,n=t.innerHTML;let a={};const r={"xmlns:xlink":"xmlnsXlink","xml:space":"xmlSpace"};for(let e=0;e<o.length;e++){let{name:t,value:n}=o[e];r[t]&&(t=r[t]),a[t]=n}return{attr:a,innerHtml:n}}return{innerHtml:null,attr:{}}}renderForEdit(){const{className:e}=this.props,t=s()("brz-icon-svg",e),{innerHtml:o,attr:a}=this.getSvgContent(this.state.icon);return o&&i.a.createElement("svg",Object(n.a)({},a,{className:t,dangerouslySetInnerHTML:{__html:o}}))}renderForView(){const{className:e,type:t,name:o}=this.props,n=s()("brz-icon-svg",e);return i.a.createElement("svg",{className:n,"data-type":t,"data-name":o})}render(){return this.renderForEdit()}}Object(a.a)(u,"defaultProps",{className:"",name:"",type:""})},function(e,t,o){"use strict";var n=o(12),a=o(2),r=o(0),i=o.n(r),l=o(7),s=o(4),c=o.n(s),d=o(99),u=o(14),p=(o(49),o(91)),b=o(109);function m(e,t,o,n){const a=t*o,r=t*n,i=e*t;return Math.max(a,Math.min(r,i))}class h extends i.a.Component{constructor(...e){super(...e),Object(a.a)(this,"state",{isOpen:!1,currentValue:this.props.defaultValue,position:"bottom-left"}),Object(a.a)(this,"onClickOutside",()=>{this.state.isOpen&&this.setState({isOpen:!1})}),Object(a.a)(this,"handleItemClick",e=>{this.setState({isOpen:!1,currentValue:e}),this.props.onChange(e)}),Object(a.a)(this,"handleContentRef",e=>{this.content=e}),Object(a.a)(this,"handleDropdownNode",e=>{this.dropdown=e}),Object(a.a)(this,"handleLabelClick",()=>{this.setState({isOpen:!this.state.isOpen},()=>{this.state.isOpen&&this.reposition()})})}componentDidMount(){this.props.inPortal||this.reposition()}componentWillReceiveProps(e){this.state.defaultValue!==e.defaultValue&&this.setState({currentValue:e.defaultValue})}getScrollPaneStyle(){const{children:e}=this.props,t=i.a.Children.count(e);let o=0;i.a.Children.forEach(e,e=>{const{items:t}=e.props;t&&t.length&&(o+=t.length)});return{height:m(t+o,this.props.itemHeight,this.props.minItems,this.props.maxItems)}}reposition(){this.dropdown&&(this.isRepositioning=!0,this.dropdown.style.setProperty("opacity",1),this.setState({position:"bottom-left"},()=>{const{bottom:e,right:t}=this.dropdown.getBoundingClientRect(),o=e>=window.innerHeight?"top":"bottom",n=t>=window.innerWidth?"right":"left";this.setState({position:`${o}-${n}`},()=>{this.isRepositioning=!1})}))}renderLabel(){const{labelType:e}=this.props;switch(e){case"icon":return this.renderLabelIcon();case"input":return this.renderLabelInput();default:throw new Error("Invalid label type "+e)}}renderLabelIcon(){return i.a.createElement(u.b,{icon:this.props.labelIcon})}renderLabelInput(){const{children:e}=this.props,{currentValue:t}=this.state;let o;i.a.Children.forEach(e,e=>{const{items:n}=e.props;if(!o)if(n&&n.length){const n=i.a.Children.toArray(e.props.items);o=n.find(e=>e.props.value===t)}else e.props.value===t&&(o=e)});const n=i.a.createElement(u.b,{icon:"nc-stre-down",className:"brz-control__select--arrow"});return i.a.createElement(i.a.Fragment,null,o||this.findFirstItem(),n)}renderItems(e=this.props.children){const{currentValue:t}=this.state;return i.a.Children.map(e,(e,o)=>{const{value:n,disabled:a,items:r}=e.props;return r&&r.length?i.a.cloneElement(e,{key:o,items:this.renderItems(r)}):i.a.cloneElement(e,{key:o,active:n===t,onClick:a?null:()=>this.handleItemClick(n)})})}renderDropDown(){const{inPortal:e,className:t}=this.props;if(this.state.isOpen&&!e)return i.a.createElement("div",{className:"brz-control__select-options",style:{opacity:0},ref:this.handleDropdownNode},i.a.createElement(d.a,{className:"brz-ed-scroll-pane",style:this.getScrollPaneStyle()},this.renderItems()));if(this.state.isOpen&&e){const{top:e,left:o,height:n,width:a}=this.content.getBoundingClientRect(),{scrollLeft:r}=this.content.ownerDocument.documentElement,l=c()("brz-control__portal-select brz-control__select",t),s={top:e+n+3,left:o+r,width:a};return i.a.createElement(b.a,{node:this.content.ownerDocument.body,className:l},i.a.createElement("div",{className:"brz-control__select-options",style:s},i.a.createElement(d.a,{className:"brz-ed-scroll-pane",style:this.getScrollPaneStyle()},this.renderItems())))}}render(){const{className:e,labelType:t,currentValue:o,inputAttributes:a,clickOutsideExceptions:r}=this.props,{position:l,isOpen:s}=this.state,d=c()("brz-control__select","brz-control__select--"+l,e,{opened:s}),u=[...r,".brz-control__portal-select"];return i.a.createElement(p.a,{exceptions:u,onClickOutside:this.onClickOutside},i.a.createElement("div",{className:d,ref:this.handleContentRef},i.a.createElement("div",{className:"brz-control__select-current brz-control__select-current__"+t,onClick:this.handleLabelClick},this.renderLabel()),this.renderDropDown(),i.a.createElement("input",Object(n.a)({type:"hidden",value:o},a))))}findFirstItem(e=this.props.children){let t;return i.a.Children.forEach(e,e=>{const{items:o}=e.props;t||(t=o&&o.length?this.findFirstItem(o):e)}),t}}Object(a.a)(h,"defaultProps",{defaultValue:"",inputAttributes:{},labelType:"input",labelIcon:"nc-menu",minItems:1,maxItems:5,itemHeight:38,arrowIcon:"nc-arrow-down",inPortal:!1,clickOutsideExceptions:[],onChange:l.default.noop}),t.a=h},function(e,t,o){"use strict";function n(e){return new Promise((function(t,o){const n=new Image;n.onload=function(){t(this)},n.onabort=function(){o(`preloadImage("${e}") onabort`)},n.onerror=function(){o(`preloadImage("${e}") onerror`)},n.src=e}))}o.d(t,"f",(function(){return n})),o.d(t,"h",(function(){return l})),o.d(t,"d",(function(){return p})),o.d(t,"g",(function(){return b})),o.d(t,"b",(function(){return g})),o.d(t,"e",(function(){return h})),o.d(t,"a",(function(){return v})),o.d(t,"c",(function(){return m}));o(76);var a=o(7),r=o(21);const i={acceptedExtensions:["jpeg","jpg","png","gif"],onBase64:e=>{},onUpload:e=>{},onError:e=>console.log("uploadImage default onError",e)};function l(e,t){const{acceptedExtensions:o,onBase64:n,onUpload:l,onError:c}=a.default.extend({},i,t);Promise.resolve(e).then(e=>{const t=e.name.split(".").pop();if(!(t&&a.default.some(o,e=>e===t.toLowerCase())))throw{status:406,message:"Extension is not accepted"};return e}).then(s).then(e=>{n(e);const t=e.replace(/data:image\/.+;base64,/,"");return Object(r.uploadImage)({base64:t})}).then(l).catch(c)}function s(e){return new Promise((function(t,o){const n=new FileReader;n.onload=function(e){t(e.target.result)},n.onerror=function(){o("Error read file.")},n.onabort=function(){o("Abort read file.")},n.readAsDataURL(e)}))}var c=o(15),d=o(97),u=o(110);function p(e,t={iW:5e3,iH:"any"}){var o;if(Object(u.a)(e)||Object(d.d)(e))return e;if(!e)return null;const n=c.a.getAll(),r=null!==(o=n.prefix)&&void 0!==o?o:"brizy",i=n.urls.site,l=Object(u.c)(i)?i+"&":i+"/?",s=(e=>{const t=a.default.mapObject(e,e=>"number"==typeof e?Math.round(e):e);return Object(u.b)(t)})(t);return`${l}${Object(u.b)({[r+"_media"]:e,[r+"_crop"]:s})}`}function b(e){if(!e)return null;const t=c.a.getAll(),{customFile:o}=t.urls;return`${o}${e}`}function m(e,t){var o;const n=c.a.getAll(),a=n.urls.site,r=Object(u.c)(a)?a+"&":a+"/?",i=null!==(o=n.prefix)&&void 0!==o?o:"brizy";return`${r}${Object(u.b)({[i+"_media"]:e,[i+"_crop"]:t})}`}function h(e,t,o){const n=e>t?e/o:t/o;return{width:Math.round(e/n),height:Math.round(t/n)}}function g(e,t={cW:5e3,cH:0}){const{cW:o,cH:n}=t;if(!e||"number"!=typeof o||"number"!=typeof n)throw new Error("Invalid arguments");return`{{${e.replace(/{{|}}/g,"")} cW='${o}' cH='${n}'}}`}function v(e=""){return e.split(".").pop().toLowerCase()}},function(e,t,o){"use strict";o.d(t,"d",(function(){return u})),o.d(t,"c",(function(){return p})),o.d(t,"b",(function(){return b})),o.d(t,"a",(function(){return m})),o.d(t,"k",(function(){return h})),o.d(t,"h",(function(){return g})),o.d(t,"j",(function(){return v})),o.d(t,"i",(function(){return f})),o.d(t,"g",(function(){return y})),o.d(t,"e",(function(){return O})),o.d(t,"f",(function(){return S}));var n=o(15),a=o(24),r=o(40),i=o(3),l=o(97),s=o(31);const c=1440,d=960,u=(e,t)=>{const o=e.imageWidth||c,n=e.imageHeight||d,a=t/(o/n);let i=Object(r.a)(e.width||t,0,t),l=e.height||a;if("%"===e.widthSuffix&&(i=e.width*t/100),"%"===e.heightSuffix){const t=i/(o/n);l=e.height*t/100}return{width:Object(r.e)(i,2),height:Object(r.e)(l,2)}},p=(e,t)=>{if(e.width>t){const o=t/e.width;return{width:Object(r.a)(e.width,0,t),height:Object(r.e)(e.height*o,2)}}return{width:e.width,height:e.height}},b=(e,t)=>{const o=e.imageWidth||c,n=e.imageHeight||d,a=e.size*t/100,i=a/(o/n),l=e.size*i/100;return{width:Object(r.e)(a,2),height:Object(r.e)(l,2)}},m=(e,t,o=!1)=>{const n=u(e,t);let a=1,i=1;e.imageWidth/n.width<e.imageHeight/n.height?i=Object(r.e)(n.width/e.imageWidth,8):a=Object(r.e)(n.height/e.imageHeight,8);const l=Object(r.e)(e.imageWidth*(e.zoom/100)*i*a,2),s=Object(r.e)(e.imageHeight*(e.zoom/100)*i*a,2),c={imgWidth:l,imgHeight:s,imgMarginWidth:l-Object(r.e)(n.width*(e.zoom/100),2),imgMarginHeight:s-Object(r.e)(n.height*(e.zoom/100),2),wrapperWidth:n.width,wrapperHeight:n.height,positionX:e.positionX,positionY:e.positionY},d=((e,t)=>{let o,n;const a=e.positionX,r=e.positionY,i=e.imgWidth-e.wrapperWidth,l=e.imgHeight-e.wrapperHeight,s=a*e.imgWidth/100,c=r*e.imgHeight/100;return o=s-e.wrapperWidth/2,n=c-e.wrapperHeight/2,e.imgWidth>e.wrapperWidth?(o<0&&(o=0),o>i&&(o=i)):o=t?0:i/2,e.imgHeight>e.wrapperHeight?(n<0&&(n=0),n>l&&(n=l)):n=t?0:l/2,{left:-o,top:-n}})(c,o);return{width:Object(r.e)(c.imgWidth,2),height:Object(r.e)(c.imgHeight,2),marginLeft:Object(r.e)(d.left,2),marginTop:Object(r.e)(d.top,2)}},h=e=>"svg"===e,g=e=>"gif"===e,v=e=>"object"==typeof e&&"width"in e&&"height"in e,f=e=>"original"===e,y=e=>"custom"===e,O=e=>{if("custom"===e)return"custom";const t=n.a.getAll(),{imageSizes:o}=t,a=null==o?void 0:o.find(({name:t})=>t===e);if(void 0!==a&&!Object(s.a)(a.height)&&!Object(s.a)(a.width)){const{width:e,height:t}=a;return{width:e,height:t,widthSuffix:"px",heightSuffix:"px"}}return"original"},S=(e,t)=>{if(e.imagePopulation){var o;const t=Object(l.g)(e.imagePopulation);if(void 0!==(null==t||null===(o=t.attr)||void 0===o?void 0:o.size)){var n;const e=null!==(n=a.d(t.attr.size))&&void 0!==n?n:"custom";return e.trim().length>0?e:"custom"}return"custom"}return Object(i.defaultValueValue)({v:e,device:t,key:"sizeType"})}},,function(e,t,o){"use strict";o.d(t,"b",(function(){return n})),o.d(t,"c",(function(){return a})),o.d(t,"f",(function(){return r})),o.d(t,"e",(function(){return i})),o.d(t,"a",(function(){return l})),o.d(t,"d",(function(){return s}));const n=1170,a=1920,r=768,i=430,l=60,s=440},function(e,t,o){"use strict";o.d(t,"a",(function(){return n}));const n=e=>{switch(typeof e){case"string":return e;case"number":return isNaN(e)?void 0:e.toString();default:return}}},,function(e,t,o){"use strict";o.d(t,"a",(function(){return a}));var n=o(15);function a(e){return n.a.get("urls").assets+"/"+e}},function(e,t,o){"use strict";o.d(t,"a",(function(){return s})),o.d(t,"c",(function(){return d})),o.d(t,"b",(function(){return l}));var n=o(2),a=o(0),r=o.n(a),i=o(15);const l=()=>i.a.get("user").role;class s extends a.Component{render(){const{allow:e,children:t,component:o,render:n,fallbackComponent:a,fallbackRender:i}=this.props;if(e.includes(l())){if(t)return t;if(o)return r.a.createElement(o,null);if(n)return n()}else{if(a)return r.a.createElement(a,null);if(i)return i()}return null}}Object(n.a)(s,"defaultProps",{allow:[]});var c=o(12);const d=({component:e,fallbackComponent:t,allow:o=[],render:n,fallbackRender:a})=>{function i(i,s){if(o.includes(l())){if(e)return r.a.createElement(e,Object(c.a)({},i,{ref:s}));if(n)return n(i)}else{if(t)return r.a.createElement(t,Object(c.a)({},i,{ref:s}));if(a)return a(i)}return null}return i.displayName=`RolesHOC(${e.displayName||e.name})`,r.a.forwardRef(i)}},function(e,t,o){"use strict";(function(e){var n=o(36),a=o(2),r=o(0),i=o.n(r),l=o(25),s=o(43),c=o(15),d=o(26),u=o(58),p=o(17),b=o(19),m=o(677),h=o(163);function g(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const v=c.a.get("menuData"),f={duplicate:["ctrl+D","cmd+D","right_cmd+D"],copy:["ctrl+C","cmd+C","right_cmd+C"],paste:["ctrl+V","cmd+V","right_cmd+V"],pasteStyles:["ctrl+shift+V","shift+ctrl+V","cmd+shift+V","shift+cmd+V","right_cmd+shift+V","shift+right_cmd+V"],delete:["del","cmd+backspace","cmd+del","right_cmd+backspace","right_cmd+del"],horizontalAlign:["ctrl+right","ctrl+left","cmd+right","cmd+left","right_cmd+right","right_cmd+left"],verticalAlign:["ctrl+up","ctrl+down","cmd+up","cmd+down","right_cmd+up","right_cmd+down"]},y=i.a.createContext({});class O extends i.a.Component{constructor(...e){super(...e),Object(a.a)(this,"contextValue",{getParentContextMenuItems:this.getItems}),Object(a.a)(this,"getItems",()=>{let e=this.props,{children:t,shortcutsTypes:o=[],keyNames:r=[]}=e,i=Object(n.a)(e,["children","shortcutsTypes","keyNames"]);const{getParentContextMenuItems:l}=this.context;let s=function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?g(Object(o),!0).forEach((function(t){Object(a.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):g(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({onKeyUp:()=>{},onKeyDown:()=>{},keyNames:[...(c=o,c.reduce((e,t)=>(f[t]&&(e=[...e,...f[t]]),e),[])),...r]},i);var c;return s=l?[s,...l()]:[s],s})}handleFilterItems(t){if(t.length&&t[0].id.startsWith("key-helper")){const e=t.find(e=>"key-helper-toolbar-escape"===e.id);return e?[e]:t}const o=e.Brizy.activeEditorComponent;if(!o)return[];const n=o.getPath(),a=Object(d.b)().getState(),r=Object(b.B)(a),i=Object(b.f)(a),s=[...n],c=S(r);if(f.paste.includes(t[0].keyName)){const{value:e}=Object(p.g)(n,c,({type:e})=>"Wrapper"===e||"Cloneable"===e);if(e&&i.value){const{value:o}=Object(p.g)(i.path,S(i.value),({type:e})=>"Wrapper"===e||"Cloneable"===e);if(o&&("Cloneable"===o.type||"Cloneable"===e.type)&&o.value.items[0].type!==e.value.items[0].type){const o=t.find(({id:t})=>t===e.value._id);return o?[o]:[]}}}let u=[];for(let e=0;e<=n.length;e++){const e=Object(l.getIn)(c,s);if(e){const o=t.find(({id:t})=>t===e._id);if(o)return[o]}u.unshift(s.pop())}return[]}shouldShortCutHandle(e,{keyName:t}){const o=f.delete.includes(t),n=f.paste.includes(t),a=f.copy.includes(t),r=o||n||a,i=e.target.closest("[contenteditable=true]")||e.target.closest("input")||e.target.closest("textarea");return!(e.target.closest([".brz-ed-sidebar__right","#brz-toolbar-portal",".brz-ed-tooltip__content-portal",".brz-ed-popup-integrations"].join(","))||i&&r)}render(){const{children:e,id:t}=this.props,o=this.getItems();return i.a.createElement(y.Provider,{value:this.contextValue},e,i.a.createElement(m.a,{items:o,id:t,shouldKeyDownHandle:this.shouldShortCutHandle,shouldKeyUpHandle:this.shouldShortCutHandle,filterItems:this.handleFilterItems}))}}function S(e){return Object(p.m)(e=>{const{type:t,value:o}=e;if("Menu"===t){const{menuSelected:t,symbols:n={}}=o,a=t||v[0].id,r=v.find(e=>e.id===a)||{};return Object(s.b)(e,e=>{e.value.items=Object(h.d)(r.items||[],n)})}return e},e)}Object(a.a)(O,"contextType",y),t.a=Object(u.c)({allow:["admin"],component:O,fallbackComponent:({children:e})=>e||null})}).call(this,o(105))},function(e,t,o){"use strict";o.d(t,"a",(function(){return w}));var n=o(2),a=o(0),r=o.n(a),i=o(41),l=o.n(i),s=o(8),c=o.n(s),d=o(180),u=o(58),p=o(12);class b extends r.a.Component{render(){const{helperText:e,title:t,onChange:o,inactive:n,meta:a}=this.props;return r.a.createElement(d.Item,{onClick:o,disabled:n},r.a.createElement("span",{className:"react-contexify__item--title"},t),r.a.createElement("span",{className:"react-contexify__item--placeholder"},e(a)))}}Object(n.a)(b,"defaultProps",{title:"",helperText:()=>"",inactive:!1,onChange:()=>{}});var m=o(14);function h(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?h(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):h(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class v extends r.a.Component{render(){const{title:e,icon:t,items:o,meta:n}=this.props,a=g(g({},n),{},{depth:n.depth+1});return 0===n.depth&&0===n.index?r.a.createElement(r.a.Fragment,null,r.a.createElement(d.Item,{key:"title",className:"react-contexify--title"},t&&r.a.createElement(m.b,{icon:t})," ",e),r.a.createElement(P,{data:o,meta:g(g({},a),{},{isInSubMenu:!1})})):r.a.createElement(d.Submenu,{className:"react-contexify__item__submenu",label:e,hoverDelay:0,arrow:""},r.a.createElement(P,{data:o,meta:g(g({},a),{},{isInSubMenu:!0})}))}}Object(n.a)(v,"defaultProps",{title:"",icon:"",items:[]});var f={button:b,group:v};function y(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function O(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?y(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):y(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function S(e,t){const o=[...e];for(var n=0;n<t.length;n++){let r=!1;for(var a=0;a<e.length;a++)t[n].id===e[a].id&&t[n].type===e[a].type&&t[n].items&&e[a].items&&(r=!0,o[a]=O(O(O({},t[n]),e[a]),{},{items:S(e[a].items,t[n].items)}));r||o.push(t[n])}return o}function x(e,t){return e.filter((e,o)=>"function"==typeof e.disabled?!e.disabled(e,O(O({},t),{},{isInSubMenu:!(0===t.depth&&0===o)})):!e.disabled)}function C(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function j(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?C(Object(o),!0).forEach((function(t){Object(n.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):C(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class P extends r.a.Component{render(){const{data:e,meta:t}=this.props;return x(e,t).map((e,o)=>{const n=f[e.type],a=o,i=j(j({},t),{},{index:o});return r.a.createElement(n,Object(p.a)({},e,{key:a,meta:i}))})}}Object(n.a)(P,"defaultProps",{meta:{}});class B extends r.a.Component{constructor(...e){super(...e),Object(n.a)(this,"getItems",()=>this.props.items)}getChildContext(){return{getParentContextMenuExtendItems:this.getItems}}render(){const{children:e}=this.props;return e}}Object(n.a)(B,"childContextTypes",{getParentContextMenuExtendItems:c.a.func});var w=Object(u.c)({allow:["admin"],component:B,fallbackComponent:({children:e})=>e});class T extends a.Component{constructor(...e){super(...e),Object(n.a)(this,"handleContextMenu",e=>{e.nativeEvent=e,this.props.onContextMenu(e)})}componentDidMount(){l.a.findDOMNode(this).addEventListener("contextmenu",this.handleContextMenu)}componentWillUnmount(){l.a.findDOMNode(this).removeEventListener("contextmenu",this.handleContextMenu)}render(){return this.props.children}}class z extends a.Component{constructor(...e){super(...e),Object(n.a)(this,"getItems",()=>{let{componentId:e,items:t}=this.props;const{getParentContextMenuExtendItems:o,getParentContextMenuItems:n}=this.context;return t=[e,o?S(t,o()):t],t=n?[t,...n()]:[t],t}),Object(n.a)(this,"renderProvider",e=>r.a.createElement(T,e,this.props.children))}getChildContext(){return{getParentContextMenuItems:this.getItems}}squashItems(e){return e.reduce((e,[t,o])=>{var n,a;return e.componentIdMap[t]||(e.componentIdMap[t]=!0,e.items=(n=e.items,a=o,[...n,...a])),e},{componentIdMap:{},items:[]}).items}render(){const{id:e,children:t}=this.props,o=this.squashItems(this.getItems()),n={depth:0};return 0===x(o,n).length?t:r.a.createElement(r.a.Fragment,null,r.a.createElement(d.ContextMenuProvider,{id:e,render:this.renderProvider},t),l.a.createPortal(r.a.createElement(d.ContextMenu,{id:e},r.a.createElement(P,{data:o,meta:n})),document.body))}}Object(n.a)(z,"defaultProps",{id:"",items:[]}),Object(n.a)(z,"contextTypes",{getParentContextMenuExtendItems:c.a.func,getParentContextMenuItems:c.a.func}),Object(n.a)(z,"childContextTypes",{getParentContextMenuItems:c.a.func});t.b=Object(u.c)({allow:["admin"],component:z,fallbackComponent:({children:e})=>e})},function(e,t,o){"use strict";o.d(t,"a",(function(){return a})),o.d(t,"e",(function(){return r})),o.d(t,"f",(function(){return i})),o.d(t,"d",(function(){return l})),o.d(t,"c",(function(){return s})),o.d(t,"b",(function(){return c})),o.d(t,"g",(function(){return d}));var n=o(7);const a=(e,t,o=[])=>{if(t(e))return{obj:e,path:o};for(let n in e)if(e.hasOwnProperty(n)&&"object"==typeof e[n]&&null!==e[n]){const{obj:r,path:i}=a(e[n],t,[...o,n]);if(r)return{obj:r,path:i}}return{obj:null,path:null}},r=(e,t,...o)=>{for(let n in e)e.hasOwnProperty(n)&&(e[n]&&"object"==typeof e[n]&&r(e[n],t,...o),t(n,e[n],e,...o))},i=(e,t)=>{for(let o in e)e.hasOwnProperty(o)&&e[o]&&"object"==typeof e[o]&&i(e[o],t);t(e)};function l(e){return e.reduce((e,[t,o])=>(e[t]=o,e),{})}const s=(e,t)=>Array.isArray(t)?t.map(e):t&&"object"==typeof t?n.default.mapObject(t,e):t,c=(e,t)=>!(!t||!e.every(e=>t.hasOwnProperty(e))),d=e=>null!==e&&"object"==typeof e?e:{}},function(e,t,o){"use strict";o.d(t,"a",(function(){return i})),o.d(t,"b",(function(){return h})),o.d(t,"e",(function(){return C})),o.d(t,"i",(function(){return j})),o.d(t,"f",(function(){return f.b})),o.d(t,"c",(function(){return f.a})),o.d(t,"k",(function(){return P.a})),o.d(t,"g",(function(){return B.g})),o.d(t,"j",(function(){return B.h})),o.d(t,"d",(function(){return B.f})),o.d(t,"h",(function(){return w}));var n=o(15),a=o(57);function r(){return Object(a.a)("editor/img/block-placeholder.jpg")}function i(e){if(!e)return r();const t=n.a.get("urls").blockThumbnails;return t?`${t}/${e.id}.jpg`:Object(a.a)(`thumbs/${e.id}.jpg`)}var l=o(2),s=o(7),c=o(43),d=o(26),u=o(110),p=o(19);function b(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function m(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?b(Object(o),!0).forEach((function(t){Object(l.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):b(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const h=(e,t={})=>{const o=function(e,t){"GlobalBlock"===e.type&&(e=Object(p.o)(Object(d.b)().getState())[e.value._id].data);if(!0===t.searchScreenshotInStoreFirst){const t=Object(p.H)(Object(d.b)().getState());t[e.value._id]&&(e=Object(c.a)(e,o=>{o.meta=m(m({},o.meta),t[e.value._id])}))}const{_thumbnailSrc:o,_thumbnailWidth:n,_thumbnailHeight:a}=g(e);if(o&&n&&a){return{url:s.default.compose(v,g)(e),width:n,height:a}}return null}(e,t);let i;if(o)i=o;else{const{blocksThumbnailSizes:t}=Object(d.b)().getState(),o=t[e.blockId];if(o){const t=n.a.get("urls").blockThumbnails;i={url:t?`${t}/${e.blockId}.jpg`:Object(a.a)(`thumbs/${e.blockId}.jpg`),width:o[0],height:o[1]}}else i={url:r(),width:500,height:200}}return i},g=e=>e.meta||e.value||{};function v({_thumbnailSrc:e,_thumbnailTime:t}){var o;const a=n.a.get("urls").site,r=n.a.get("wp").page,i=null!==(o=n.a.get("prefix"))&&void 0!==o?o:"brizy",l=Object(u.b)({[i+"_post"]:r,[i+"_block_screenshot"]:e,t:t||Date.now()});return Object(u.c)(a)?`${a}&${l}`:`${a}?${l}`}var f=o(147),y=o(17);function O(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function S(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?O(Object(o),!0).forEach((function(t){Object(l.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):O(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const x=(e,t,o)=>e.filter(e=>{var n,a;return(null===(n=t[e])||void 0===n||null===(a=n.position)||void 0===a?void 0:a.align)===o&&"publish"===t[e].status}).sort((e,n)=>t[e].position[o]-t[n].position[o]),C=(e,t,o)=>{if(y.b||y.d)return e;const n=Object(f.b)(e,t,o),a=x(n,t,"top"),r=x(n,t,"bottom");return[...a,...e,...r]};function j(e,t){var o;const n=((null===(o=e.data)||void 0===o?void 0:o.items)||[]).reduce((e,t)=>("GlobalBlock"!==t.type&&(e[t.value._id]={data:t}),e),{}),a=Object.keys(n),r=C(a,t,e),i=S(S({},n),t);return r.map(e=>i[e].data)}var P=o(275),B=o(96);const w=(e,t)=>{const o=n.a.get("urls").assetsExternal;switch(e){case"popups":return`${o}/popups/resolves/${t}.json`;case"stories":return`${o}/stories/resolves/${t}.json`;case"templates":return`${o}/templates/resolves/${t}.json`;default:return`${o}/kits/resolves/${t}.json`}}},function(e,t,o){"use strict";o.d(t,"c",(function(){return r})),o.d(t,"b",(function(){return i})),o.d(t,"d",(function(){return l})),o.d(t,"a",(function(){return s}));var n,a=o(22);!function(e){e.positive="positive"}(n||(n={}));const r=e=>e>=0,i=Object(a.b)(r),l=e=>e,s=0},,function(e,t,o){"use strict";o.d(t,"a",(function(){return r}));var n=o(538),a=o.n(n);const r=(e=36)=>a()("abcdefghijklmnopqrstuvwxyz",e)},function(e,t,o){"use strict";o.d(t,"a",(function(){return g}));var n=o(2),a=o(0),r=o.n(a),i=o(7),l=o(4),s=o.n(l),c=o(1);const d=13,u=66,p=73,b=85,m=89,h=90;class g extends a.Component{constructor(...e){super(...e),Object(n.a)(this,"contentRef",r.a.createRef()),Object(n.a)(this,"unmounted",!1),Object(n.a)(this,"lastNotifiedValue",void 0),Object(n.a)(this,"handleClick",e=>{e.preventDefault();const t=this.contentRef.current;null==t||t.classList.add("brz-ed-dd-cancel")}),Object(n.a)(this,"handleKeyDown",e=>{const t=e.which,o=e.metaKey||e.ctrlKey;t!==d&&(!o||t!==u&&t!==p&&t!==b)&&(!o||t!==h&&t!==m)||e.preventDefault()}),Object(n.a)(this,"handleInput",e=>{this.notifyChange(e.currentTarget.textContent||"")}),Object(n.a)(this,"notifyChange",i.default.debounce(e=>{this.unmounted||(this.lastNotifiedValue=e,this.props.onChange(e))},1e3)),Object(n.a)(this,"handleBlur",()=>{var e;null===(e=this.contentRef.current)||void 0===e||e.classList.remove("brz-ed-dd-cancel")}),Object(n.a)(this,"handlePaste",e=>{e.preventDefault();const t=e.clipboardData.getData("text/plain");document.execCommand("insertHTML",!1,t)})}shouldComponentUpdate(e){return void 0!==this.lastNotifiedValue&&this.lastNotifiedValue!==e.value||this.props.tagName!==e.tagName||this.props.className!==e.className}componentDidUpdate(){this.lastNotifiedValue=this.props.value;const e=this.contentRef.current;var t;e&&e.textContent!==this.lastNotifiedValue&&(e.textContent=null!==(t=this.lastNotifiedValue)&&void 0!==t?t:"")}componentWillUnmount(){this.unmounted=!0}render(){const{tagName:e,value:t,className:o}=this.props,n=s()(o,"brz-"+e,"brz-text__editor");return r.a.createElement(e,{ref:this.contentRef,className:n,contentEditable:!0,dangerouslySetInnerHTML:{__html:t},onClick:this.handleClick,onKeyDown:this.handleKeyDown,onPaste:this.handlePaste,onInput:this.handleInput,onBlur:this.handleBlur})}}Object(n.a)(g,"defaultProps",{value:Object(c.a)("Editable Text"),tagName:"span",className:""})},,,function(e,t,o){"use strict";o.d(t,"f",(function(){return n})),o.d(t,"c",(function(){return a})),o.d(t,"d",(function(){return r})),o.d(t,"e",(function(){return i})),o.d(t,"a",(function(){return l})),o.d(t,"k",(function(){return s})),o.d(t,"h",(function(){return c})),o.d(t,"i",(function(){return d})),o.d(t,"g",(function(){return u})),o.d(t,"j",(function(){return p})),o.d(t,"l",(function(){return b})),o.d(t,"b",(function(){return m}));const n={start:["mousedown"],move:["mousemove"],end:["mouseup"]};function a(e,t){let o=e;for(;o;){if(t(o))return o;o=o.parentElement}}function r(e){let t=e,o=0;for(;t=t.parentElement;)o++;return o}function i(e){const t=e.parentElement;return t?Array.from(t.children).indexOf(e):-1}function l(e,...t){t.filter(String).forEach(t=>e.classList.add(t))}function s(e,...t){t.forEach(t=>e.classList.remove(t))}function c(e,t,o,n){const a=o-e,r=n-t;return Math.sqrt(a*a+r*r)}function d(e,t,o,n){const a=t<n,r=e<o;return{isAbove:a,isBelow:!a,isLeft:r,isRight:!r}}function u(e,t,o){return e>=o.left&&e<=o.right&&t>=o.top&&t<=o.bottom}function p(e){return{x:e.left+.5*(e.right-e.left),y:e.top+.5*(e.bottom-e.top)}}function b(e,t,o="all"){const n="all"===o||"top-bottom"===o,a="all"===o||"left-right"===o;return{top:n?e.top+t:e.top,bottom:n?e.bottom-t:e.bottom,left:a?e.left+t:e.left,right:a?e.right-t:e.right}}function m(e,t,o){return e<t?t:e>o?o:e}},function(e,t,o){"use strict";var n={};o.r(n),o.d(n,"facebook",(function(){return Mt}));var a={};o.r(a),o.d(a,"email",(function(){return Va})),o.d(a,"wordpress",(function(){return $a})),o.d(a,"mailchimp",(function(){return Ua})),o.d(a,"sendinblue",(function(){return Ya})),o.d(a,"zapier",(function(){return Xa})),o.d(a,"campaignmonitor",(function(){return Ja})),o.d(a,"convertkit",(function(){return er})),o.d(a,"activecampaign",(function(){return or})),o.d(a,"getresponse",(function(){return ar})),o.d(a,"mailjet",(function(){return ir})),o.d(a,"egoi",(function(){return sr})),o.d(a,"hubspot",(function(){return dr})),o.d(a,"mailerlite",(function(){return pr})),o.d(a,"drip",(function(){return mr})),o.d(a,"smtp",(function(){return gr})),o.d(a,"gmail_smtp",(function(){return fr})),o.d(a,"mailgun",(function(){return Or})),o.d(a,"madmimi",(function(){return xr})),o.d(a,"constantcontact",(function(){return jr})),o.d(a,"aweber",(function(){return Br})),o.d(a,"salesforce",(function(){return Tr})),o.d(a,"sendgrid",(function(){return Er})),o.d(a,"recaptcha",(function(){return Hr}));var r={};o.r(r),o.d(r,"google",(function(){return di})),o.d(r,"uploader",(function(){return Bi}));var i=o(2),l=o(0),s=o.n(l),c=o(43),d=o(280);const u={};class p extends d.EventEmitter{addChangeListener(e,t){this.on(e,t)}removeChangeListener(e,t){this.removeListener(e,t)}get(e){return u[e]}set(e,t){u[e]=t,this.emit(e,t)}}const b=new p;b.setMaxListeners(1/0);var m=b,h=(o(76),o(4)),g=o.n(h),v=o(7),f=o(15),y=o(119),O=o(50),S=o(39),x=o(36),C=o(12),j=o(678),P=o(64),B=o.n(P);function w(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function T(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?w(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):w(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const z=({onScroll:e,forwardedRef:t,style:o,children:n})=>{const a=Object(l.useCallback)(e=>{t(e?e.view:null)},[]);return s.a.createElement(B.a,{ref:a,style:T(T({},o),{},{overflow:"hidden"}),onScroll:e},n)},E=Object(l.forwardRef)((e,t)=>s.a.createElement(z,Object(C.a)({},e,{forwardedRef:t})));E.displayName="CustomScrollbarsVirtualList";const k=e=>{const t=Object(l.forwardRef)((t,o)=>{let{style:n}=t,a=Object(x.a)(t,["style"]);return s.a.createElement("div",Object(C.a)({ref:o,style:T(T({},n),{},{paddingLeft:e,paddingTop:e,marginBottom:e})},a))});return t.displayName="InnerElement",t};var H=e=>{const{height:t,width:o,columnCount:n,columnWidth:a,rowCount:r,rowHeight:i,initialScrollTop:l,renderItem:c,style:d={},gutter:u=0}=e;return s.a.createElement(j.a,{height:t,width:o,columnCount:n,columnWidth:a+u,rowCount:r,rowHeight:i+u,style:d,initialScrollTop:l,outerElementType:E,innerElementType:k(u)},c)},F=o(14);function _(e,t){switch(t.type){case"wait":if("delay"===e.status)return{status:"waiting"};break;case"resolve":if("delay"===e.status||"waiting"===e.status)return{status:"resolved",value:t.value};break;case"reject":if("delay"===e.status||"waiting"===e.status)return{status:"rejected",reason:t.reason}}return e}function R({getPromise:e,renderResolved:t,renderRejected:o,renderWaiting:n,delayMs:a=0}){const r=a&&a>0,[i,s]=Object(l.useReducer)(_,{status:r?"delay":"waiting"});return Object(l.useEffect)(()=>{let t,o=!1;return r&&(t=window.setTimeout(()=>{o||s({type:"wait"})},a)),e().then(e=>{o||(clearTimeout(t),s({type:"resolve",value:e}))}).catch(e=>{o||(clearTimeout(t),s({type:"reject",reason:e}))}),()=>{o=!0}},[]),"waiting"===i.status&&n?n():"resolved"===i.status?t(i.value):"rejected"===i.status&&o?o(i.reason):null}var L=o(560);const M=[{id:1,title:"Animals/Nature"},{id:2,title:"Arrows"},{id:3,title:"Business/Finance"},{id:4,title:"Clothes/Accessories"},{id:5,title:"Design/Development"},{id:6,title:"Emoticons"},{id:7,title:"Energy/Environment"},{id:8,title:"Files/Folders"},{id:10,title:"Food"},{id:11,title:"Home/Buildings"},{id:12,title:"Healthcare/Medical"},{id:13,title:"Holidays"},{id:14,title:"Loaders"},{id:15,title:"Maps/Location"},{id:16,title:"Multimedia"},{id:18,title:"School/Education"},{id:19,title:"Shopping"},{id:20,title:"Social Media"},{id:21,title:"Sport"},{id:22,title:"Technology"},{id:23,title:"Text Editing"},{id:24,title:"Touch Gestures"},{id:25,title:"Transportation"},{id:26,title:"Travel"},{id:27,title:"User Interface"},{id:28,title:"Users"},{id:29,title:"Weather"}],W=[{title:"Accessibility",id:1},{title:"Alert",id:2},{title:"Animals",id:3},{title:"Arrows",id:4},{title:"Audio & Video",id:5},{title:"Automotive",id:6},{title:"Autumn",id:7},{title:"Beverage",id:8},{title:"Buildings",id:9},{title:"Business",id:10},{title:"Camping",id:11},{title:"Charity",id:12},{title:"Chat",id:13},{title:"Chess",id:14},{title:"Childhood",id:15},{title:"Clothing",id:16},{title:"Code",id:17},{title:"Communication",id:18},{title:"Computers",id:19},{title:"Construction",id:20},{title:"Currency",id:21},{title:"Date & Time",id:22},{title:"Design",id:23},{title:"Editors",id:24},{title:"Education",id:25},{title:"Emoji",id:26},{title:"Energy",id:27},{title:"Files",id:28},{title:"Finance",id:29},{title:"Fitness",id:30},{title:"Food",id:31},{title:"Fruits & Vegetables",id:32},{title:"Games",id:33},{title:"Tabletop Gaming",id:34},{title:"Genders",id:35},{title:"Halloween",id:36},{title:"Hands",id:37},{title:"Health",id:38},{title:"Holiday",id:39},{title:"Hotel",id:40},{title:"Household",id:41},{title:"Images",id:42},{title:"Interfaces",id:43},{title:"Logistics",id:44},{title:"Maps",id:45},{title:"Maritime",id:46},{title:"Marketing",id:47},{title:"Mathematics",id:48},{title:"Medical",id:49},{title:"Moving",id:50},{title:"Music",id:51},{title:"Objects",id:52},{title:"Payments & Shopping",id:53},{title:"Pharmacy",id:54},{title:"Political",id:55},{title:"Religion",id:56},{title:"Science",id:57},{title:"Science Fiction",id:58},{title:"Security",id:59},{title:"Shapes",id:60},{title:"Shopping",id:61},{title:"Social",id:62},{title:"Spinners",id:63},{title:"Sports",id:64},{title:"Spring",id:65},{title:"Status",id:66},{title:"Summer",id:67},{title:"Toggle",id:68},{title:"Travel",id:69},{title:"Users & People",id:70},{title:"Vehicles",id:71},{title:"Weather",id:72},{title:"Winter",id:73},{title:"Writing",id:74}],I=[{id:2,name:"fa",title:"FA",icon:"nc-full-cube"}],N=[{id:0,name:"outline",title:"Outline",icon:"nc-cube"},{id:1,name:"glyph",title:"Glyph",icon:"nc-full-cube"}];var A=o(38),V=o(86),D=o(31),$=o(29);const G=Object(D.d)(e=>e>=0&&e<=2?e:void 0,Math.round,$.b);var U=o(24);const K=e=>{if(null===e||"object"!=typeof e)return;const t=U.d(e.title),o=U.d(e.name),n=G(e.type);if(void 0===t||void 0===o||void 0===n)return;const a=U.d(e.family);return{title:t,name:o,type:n,cat:Object(V.i)(e.cat).map($.b).filter(Boolean),family:a}},Y=e=>Object(V.i)(null==e?void 0:e.default).map(K).filter(Boolean),q=e=>{switch(e){case 0:return o.e(5).then(o.t.bind(null,946,3)).then(Y);case 1:return o.e(4).then(o.t.bind(null,947,3)).then(Y);case 2:return o.e(3).then(o.t.bind(null,948,3)).then(Y)}},X=()=>A.q?A.h?[...N,...I]:I:N,Z=e=>{var t;switch(e.type){case 0:case 1:{const t=X()[e.type].name;return`nc-${t} nc-${t}-${e.name}`}case 2:return`${null!==(t=e.family)&&void 0!==t?t:"fa"} fa-${e.name}`}},J=e=>{switch(e){case 0:case 1:return M;case 2:return W}};function Q(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ee(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Q(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const te=X(),oe=te.reduce((e,{id:t,name:o})=>(e[t]=o,e),{});class ne extends l.Component{constructor(...e){var t;super(...e),Object(i.a)(this,"state",{typeId:(null!==(t=te.find(e=>e.name===this.props.type))&&void 0!==t?t:te[0]).id,categoryId:"*",search:""}),Object(i.a)(this,"containerRef",s.a.createRef()),Object(i.a)(this,"onIconClick",e=>{this.props.onClose(),setTimeout(()=>{this.props.onChange(e)},0)})}componentDidUpdate(){if(this.containerRef.current){const{templateFonts:e}=f.a.get("urls");Object(L.a)(this.containerRef.current,e)}}renderTabs(){const e=te.map(e=>s.a.createElement("div",{key:e.id,className:g()("brz-ed-popup-tab-item",{active:e.id===this.state.typeId}),onClick:()=>this.setState({typeId:e.id})},s.a.createElement("div",{className:"brz-ed-popup-tab-icon"},s.a.createElement(F.b,{icon:e.icon})),s.a.createElement("div",{className:"brz-ed-popup-tab-name"},e.title)));return s.a.createElement("div",{className:"brz-ed-popup-header"},s.a.createElement("div",{className:"brz-ed-popup-header__tabs"},e),s.a.createElement("div",{className:"brz-ed-popup-btn-close",onClick:this.props.onClose}))}renderFilters(){const{categoryId:e,search:t,typeId:o}=this.state,n=[{id:"*",name:"all",title:"All Categories"},...J(o)];return s.a.createElement(s.a.Fragment,null,s.a.createElement("div",{className:"brz-ed-popup__categories"},s.a.createElement(O.a,{className:"brz-ed-popup__select brz-ed-popup__select--block-categories brz-ed-popup-control__select--light",defaultValue:e,maxItems:10,itemHeight:30,onChange:e=>this.setState({categoryId:e})},n.map(({id:e,title:t})=>s.a.createElement(S.a,{key:e,value:e},t)))),s.a.createElement("div",{className:"brz-ed-popup__search"},s.a.createElement("input",{type:"text",className:"brz-input brz-ed-popup__input",placeholder:"Enter Search Keyword",onChange:e=>this.setState({search:e.target.value}),value:t}),s.a.createElement("div",{className:g()("brz-ed-popup__search--icon",{active:t.length>0})},s.a.createElement(F.b,{icon:"nc-search"}))))}filterIcons(e){const{typeId:t,categoryId:o,search:n}=this.state,a=new RegExp(n.replace(/[.*+?^${}()|[\]\\]/g,""),"i");return e.filter(({type:e,cat:r,title:i})=>t===e&&("*"===o||r.includes(o))&&(""===n||a.test(i)))}render(){const{name:e,type:t,opened:o,onClose:n}=this.props;return s.a.createElement(y.a,{opened:o,onClose:n},s.a.createElement("div",{ref:this.containerRef,className:"brz-ed-popup-wrapper"},this.renderTabs(),s.a.createElement("div",{className:"brz-ed-popup-content brz-ed-popup-pane brz-ed-popup-icons"},s.a.createElement("div",{className:"brz-ed-popup-body"},s.a.createElement("div",{className:"brz-ed-popup__head--search brz-d-xs-flex brz-align-items-center brz-justify-content-xs-center"},this.renderFilters()),s.a.createElement("div",{className:"brz brz-ed-popup-icons__grid"},s.a.createElement(R,{getPromise:()=>{return e=X().map(e=>e.id),Promise.all(e.map(q)).then(V.a);var e},renderResolved:o=>{const n=this.filterIcons(o);return s.a.createElement(ae,{icons:n,value:{name:e,type:t},onChange:this.onIconClick})},renderWaiting:()=>s.a.createElement(re,null),delayMs:1e3}))))))}}function ae({icons:e,value:t,onChange:o}){const[n,a]=Object(l.useState)(null),r=Object(l.useRef)(null),i=e.findIndex(e=>e.name===t.name),c=Math.floor(e.length/8)+1,d=Math.floor(i/8),u=0===d?0:d-1;if(Object(l.useEffect)(()=>{if(r.current){const{width:e,height:t}=r.current.getBoundingClientRect();a({width:e,height:t})}},[]),!n)return s.a.createElement("div",{style:{height:"100%"},ref:r},s.a.createElement(re,null));const{width:p,height:b}=n,m=74*u;return s.a.createElement(H,{width:p,height:b,columnCount:8,columnWidth:68,rowCount:c,rowHeight:68,gutter:6,initialScrollTop:m,renderItem:({rowIndex:n,columnIndex:a,style:r})=>{const i=e[8*n+a];if(!i)return null;const{type:l,name:c}={type:oe[i.type],name:i.name},d=g()("brz-ed-popup-icons__grid__item",{active:l===t.type&&c===t.name});return s.a.createElement("div",{style:ee(ee({},r),{},{left:r.left+6,top:r.top+6,width:r.width-6,height:r.height-6}),className:d,onClick:()=>{o({type:l,name:c})}},s.a.createElement("i",{className:g()(["brz-font-icon",Z(i)])}))}})}function re(){return s.a.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center",alignItems:"center",color:"#828b92",fontSize:"35px"}},s.a.createElement(F.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}))}Object(i.a)(ne,"defaultProps",{name:"nc-star",type:"outline",onChange:v.default.noop});var ie=o(1);function le(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function se(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?le(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):le(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class ce extends l.Component{constructor(e){super(e),Object(i.a)(this,"handleLoading",e=>{this.setState({loading:e})});const{currentTab:t,tabs:o}=this.props;this.state={loading:!0,currentTab:t,tabs:o}}handleTabChange(e){this.state.loading&&this.props.blockTabsWhenLoading||this.setState({currentTab:e})}handleTabUpdate(e,t){const{tabs:o}=this.state,n=o.map(o=>o.id===e?se(se({},o),t):o);this.setState({tabs:n})}renderHeader(){const{currentTab:e,tabs:t}=this.state,{onClose:o}=this.props,n=t.map(t=>{const{id:o,icon:n,img:a,title:r}=t,i=g()("brz-ed-popup-tab-item",{active:o===e});return s.a.createElement("div",{key:o,className:i,onClick:()=>this.handleTabChange(o)},n&&s.a.createElement("div",{className:"brz-ed-popup-tab-icon"},s.a.createElement(F.b,{icon:n})),a?s.a.createElement("div",{className:"brz-ed-popup-tab-image"},s.a.createElement("img",{className:"brz-img",src:a,alt:r})):s.a.createElement("div",{className:"brz-ed-popup-tab-name"},r))});return s.a.createElement("div",{className:"brz-ed-popup-header"},s.a.createElement("div",{className:"brz-ed-popup-header__tabs"},n),s.a.createElement("div",{className:"brz-ed-popup-btn-close",onClick:o}))}renderCurrentTab(){const{tabs:e,loading:t,currentTab:o}=this.state;return e.reduce((e,{id:n,component:a})=>n===o?[s.a.createElement(a,Object(C.a)({},this.props,{key:n,loading:t,onLoading:this.handleLoading,onTabUpdate:e=>{this.handleTabUpdate(n,e)}}))]:e,[])}renderTabs(){const{tabs:e,loading:t,currentTab:o}=this.state;return e.map(({id:e,component:n})=>{const a=g()("brz-ed-popup-integration-"+e,{"brz-hidden":e!==o});return s.a.createElement(n,Object(C.a)({},this.props,{key:e,loading:t,className:a,onTabUpdate:t=>{this.handleTabUpdate(e,t)}}))})}render(){const{opened:e,onClose:t}=this.props;return s.a.createElement(y.a,{className:"brz-ed-popup-integrations",opened:e,onClose:t},s.a.createElement("div",{className:"brz-ed-popup-wrapper"},this.renderHeader(),s.a.createElement("div",{className:"brz-ed-popup-content"},this.state.loading?this.renderCurrentTab():this.renderTabs())))}}Object(i.a)(ce,"defaultProps",{value:{},opened:!1,tabs:[],currentTab:"",blockTabsWhenLoading:!0,onClose:v.noop});var de=ce,ue=o(57),pe=o(21);const be=e=>{const{message:t,type:o="success",className:n}=e,a=g()("brz-ed-alert",n,{["brz-ed-alert-"+o]:o});return s.a.createElement("div",{className:a},s.a.createElement("span",{className:"brz-span"},t))},me=s.a.createContext({app:{},connectedApps:[],stages:[],stage:"",oldStage:"",onChange:(e,t)=>{},onChangeNext:v.noop,onChangePrev:v.noop,onConnectApp:v.noop,onDisconnectApp:v.noop,onChangeProgress:v.noop,onError:v.noop}),he=({className:e})=>s.a.createElement("div",{className:g()("brz-ed-popup-content--loading",e)},s.a.createElement(F.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}));class ge extends l.Component{render(){const{stage:e,apps:t,children:o,onClose:n}=this.props;return s.a.Children.map(o,o=>e===o.props.num&&s.a.cloneElement(o,{apps:t,onClose:n}))}}Object(i.a)(ge,"defaultProps",{stage:"",apps:[]});var ve=e=>{const{stage:t,children:o}=e;return s.a.createElement("div",{className:"brz-ed-popup-integrations__progress"},s.a.Children.map(o,e=>e&&s.a.cloneElement(e,{stage:t})))};class fe extends l.Component{render(){const{stage:e,apps:t,children:o}=this.props;return s.a.Children.map(o,o=>o&&s.a.cloneElement(o,{stage:e,apps:t}))}}Object(i.a)(fe,"defaultProps",{stage:"",apps:[]}),Object(i.a)(fe,"Steps",ge),Object(i.a)(fe,"Step",e=>{let{render:t}=e;return t(Object(x.a)(e,["render"]))}),Object(i.a)(fe,"Progress",ve),Object(i.a)(fe,"Stage",({stage:e,num:t,text:o,img:n})=>{const a=g()("brz-ed-popup-integrations__progress-stage",{"brz-ed-popup-integrations__progress-stage--active":t===e});return s.a.createElement("div",{className:a},s.a.createElement("span",{className:"brz-span"},n&&s.a.createElement("img",{className:"brz-img",src:n,alt:"Logo"}),o))});var ye=fe;class Oe extends l.Component{render(){const{apps:e,render:t}=this.props;return s.a.createElement("div",{className:"brz-ed-popup-integrations__apps brz-d-xs-flex brz-flex-xs-wrap"},e.map((e,o)=>t(e,o)))}}Object(i.a)(Oe,"defaultProps",{apps:[],render:v.default.noop});var Se=o(72),xe=o(201);const{upgradeToPro:Ce}=f.a.get("urls");class je extends l.Component{constructor(...e){super(...e),Object(i.a)(this,"state",{tooltipOpen:!1}),Object(i.a)(this,"iconRef",s.a.createRef()),Object(i.a)(this,"handleTooltipOpen",()=>{this.setState({tooltipOpen:!0})}),Object(i.a)(this,"handleTooltipClose",()=>{this.setState({tooltipOpen:!1})})}renderPro(){const{img:e,title:t}=this.props,o=g()("brz-ed-popup-integrations__app-logo",this.state.tooltipOpen&&"brz-ed-popup-integrations__app-logo--open");return s.a.createElement("div",{className:"brz-ed-popup-integrations__app brz-ed-popup-integrations__app--pro"},s.a.createElement(Se.b,{overlayClassName:"brz-ed-tooltip--delay-2",size:"small",offset:"5",openOnClick:!1,nodeRef:this.iconRef,overlay:s.a.createElement(xe.a,{text:Object(ie.a)("Upgrade to PRO to use this integration"),url:Ce}),onOpen:this.handleTooltipOpen,onClose:this.handleTooltipClose},s.a.createElement("div",{className:o},s.a.createElement("img",{className:"brz-img",src:e,alt:t}),s.a.createElement("span",{ref:this.iconRef,className:"brz-span brz-ed-popup-integrations__app-icon brz-ed-popup-integrations__app-icon--pro"},s.a.createElement(F.b,{icon:"nc-lock"})),s.a.createElement("p",{className:"brz-p brz-ed-badge brz-ed-badge--pro"},"pro")),s.a.createElement("div",{className:"brz-ed-popup-integrations__app-title"},t)))}renderFree(){const{img:e,title:t,loading:o,active:n,onClick:a}=this.props,r=g()("brz-ed-popup-integrations__app",n&&"brz-ed-popup-integrations__app--connected",o&&"brz-ed-popup-integrations__app--loading");return s.a.createElement("div",{className:r,onClick:a},s.a.createElement("div",{className:"brz-ed-popup-integrations__app-logo"},s.a.createElement("img",{className:"brz-img",src:e,alt:t}),n&&!o&&s.a.createElement("span",{className:"brz-span brz-ed-popup-integrations__app-icon"},s.a.createElement(F.b,{icon:"nc-check-small"})),o&&s.a.createElement("span",{className:"brz-span brz-ed-popup-integrations__app-icon"},s.a.createElement(F.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}))),s.a.createElement("div",{className:"brz-ed-popup-integrations__app-title"},t))}render(){return!A.h&&this.props.pro?this.renderPro():this.renderFree()}}Object(i.a)(je,"defaultProps",{img:"",pro:!1,shortTitle:"",loading:!1,active:!1,onClick:v.default.noop});const Pe=f.a.get("urls");class Be extends l.Component{constructor(...e){super(...e),Object(i.a)(this,"state",{loadingApp:"",onConnectApp:v.default.noop})}componentDidUpdate(e){this.props.error!==e.error&&this.state.loadingApp&&this.setState({loadingApp:""})}handleChangeApp(e){const{onConnectApp:t}=this.context;t(e),this.setState({loadingApp:e.id})}renderError(){return s.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},s.a.createElement("span",{className:"brz-span"},this.props.error))}renderProException(){return s.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-pro brz-mb-lg-0"},s.a.createElement("span",{className:"brz-span"},Object(ie.a)("Some integrations are available only in PRO")),s.a.createElement("a",{className:"brz-ed-btn brz-ed-btn-width-2 brz-ed-btn-sm brz-ed-btn-icon brz-ed-btn-icon--left brz-ed-btn-rounded brz-ed-btn-pro",rel:"noopener noreferrer",href:Pe.upgradeToPro,target:"_blank"},s.a.createElement(F.b,{icon:"nc-lock"}),Object(ie.a)("Get a PRO plan")))}render(){const{apps:e,height:t,proExceptions:o,error:n}=this.props,{connectedApps:a}=this.context,{loadingApp:r}=this.state;return s.a.createElement(B.a,{style:{height:t}},n&&this.renderError(),o&&this.renderProException(),s.a.createElement(Oe,{apps:e,render:e=>s.a.createElement(je,Object(C.a)({},e,{key:e.id,loading:r===e.id,active:a.includes(e.id),onClick:()=>{this.handleChangeApp(e)}}))}))}}Object(i.a)(Be,"contextType",me),Object(i.a)(Be,"defaultProps",{apps:[],height:"100%",proExceptions:!1,error:null});var we=Be;class Te extends l.Component{constructor(...e){super(...e),Object(i.a)(this,"state",{loading:!0,showProgress:!0,connectedApp:"",connectedApps:[],stage:this.props.stage,stages:this.props.stages,oldStage:"",data:{},error:null,appError:null}),Object(i.a)(this,"appsData",[]),Object(i.a)(this,"appsComponent",{}),Object(i.a)(this,"proExceptions",!1),Object(i.a)(this,"handleConnectApp",async e=>{const{id:t,stages:o}=e;this.setState(Object(c.a)(n=>{n.stages=o,n.connectedApp=t,n.data[t]=e}),()=>{this.handleNext()})}),Object(i.a)(this,"handleDisconnectApp",e=>{const{stage:t,stages:o}=this.props;this.setState(Object(c.a)(n=>{const a=n.connectedApps;n.stage=t,n.stages=o,n.connectedApps=a.filter(t=>t!==e)}))}),Object(i.a)(this,"handleProgress",e=>{this.setState(e)}),Object(i.a)(this,"handleChange",(e,t)=>{this.setState(Object(c.a)(o=>{o.data[e].data=t}))}),Object(i.a)(this,"handleNext",async e=>{const{stages:t,stage:o}=this.state,n=t.findIndex(({type:e})=>e===o)+1,a=e||t[n].type,r=this.getComponent(a);let i=!1;if(r&&"function"==typeof r.onBeforeLoad){const e=t[n+1].type,o={onChangeNext:t=>{const o=t||e;i=!0,this.handleNext(o)}};await r.onBeforeLoad(this.getContextValue(),o)}i||this.setState({stage:a,oldStage:o})}),Object(i.a)(this,"handlePrev",e=>{this.setState(Object(c.a)(t=>{if("appList"===e){const{stage:e,stages:o}=this.props;t.stage=e,t.stages=o,t.connectedApp=""}else{var o;const{stage:n,stages:a}=t,r=a.findIndex(({type:e})=>e===n)-1;t.stage=e||(null===(o=a[r])||void 0===o?void 0:o.type)||"",t.oldStage=n,t.connectedApp=-1===r?"":t.connectedApp}}))}),Object(i.a)(this,"handleError",e=>{this.setState({error:e})})}getContextValue(){const{connectedApp:e,connectedApps:t,data:o,stages:n,stage:a,oldStage:r}=this.state;return{app:o[e]||{},connectedApps:t,stages:n,stage:a,oldStage:r,onChange:this.handleChange,onChangeNext:this.handleNext,onChangePrev:this.handlePrev,onConnectApp:this.handleConnectApp,onDisconnectApp:this.handleDisconnectApp,onChangeProgress:this.handleProgress,onError:this.handleError}}getConnectedApps(e){const{connectedApps:t}=this.state;return Array.isArray(e)?e.reduce((e,t)=>t.completed?[...e,t.id]:e,t):t}getComponent(e){return this.appsComponent[this.state.connectedApp][e]}renderLoading(){return s.a.createElement(he,null)}renderError(){return this.state.error&&s.a.createElement(be,{message:this.state.error})}renderApps(){const{error:e,appError:t}=this.state;return s.a.createElement(s.a.Fragment,null,e&&s.a.createElement(be,{message:e}),s.a.createElement(we,{apps:this.appsData,proExceptions:this.proExceptions,error:t}))}renderSteps(){var e;const{showProgress:t,stage:o,stages:n,connectedApp:a,data:r}=this.state,i=t&&!(null!==(e=n.find(e=>e.type===o))&&void 0!==e&&e.hideProgress),l=n.reduce((e,t,o,n)=>{const i={num:t.type};return o===n.findIndex(e=>e.title)?i.img=r[a].img:i.text=t.title,t.title?[...e,s.a.createElement(ye.Stage,Object(C.a)({key:o},i))]:e},[]);return s.a.createElement(me.Provider,{value:this.getContextValue()},s.a.createElement(ye,{stage:o},i&&l.length>0&&s.a.createElement(ye.Progress,null,l),s.a.createElement(ye.Steps,{onClose:this.props.onClose},n.map((e,t)=>{const o=this.getComponent(e.type);return s.a.createElement(ye.Step,{key:t,num:e.type,render:e=>o&&s.a.createElement(o,Object(C.a)({},e,{apps:this.appsData}))})}))))}renderContent(){const{stage:e,stages:t}=this.state;return s.a.createElement(me.Provider,{value:this.getContextValue()},""!==e&&t.length?this.renderSteps():this.renderApps())}render(){const e=g()("brz-ed-popup-integration",this.props.className);return s.a.createElement("div",{className:e},this.state.loading?s.a.createElement(he,null):this.renderContent())}}Object(i.a)(Te,"defaultProps",{className:"",tab:{},stage:"",stages:[],onLoading:v.default.noop,onTabUpdate:v.default.noop,onClose:v.default.noop});var ze=Te;o(238);function Ee(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ke(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ee(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ee(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const He=(e,t={})=>{let o=new URL(e);return Object.entries(t).forEach(([e,t])=>{o.searchParams.append(e,t)}),o},Fe=e=>e.json().then(t=>ke(ke({},t),{},{status:e.status,ok:e.ok,data:t.data||null})).then(_e).catch(()=>{throw{status:500,data:"Server Error"}}),_e=e=>{if(e.success)return e;{const{data:t}=e;return ke(ke({},e),{},{status:t.code||e.status})}},Re=(e,t,o,n)=>{let a=e&&JSON.parse(e)||[];const r=t&&t.length||0;let i=t.filter(e=>e.required).length;!a.some(({target:e})=>"email"===e)&&o.some(({type:e})=>e&&"email"===e.toLowerCase())&&(a=((e,t)=>{const o=t.find(({type:e})=>e&&"email"===e.toLowerCase());return e.push({sourceId:o._id,sourceTitle:o.label,target:"email"}),e})(a,o),i--);let l=0,s=0;return o.map(({_id:e,label:o})=>{const c=a.find(({sourceId:t})=>t===e);let d=null;return c&&c.target&&"_auto_generate"!==c.target?d=c.target:(Le(r+s,n)||s<i?(d=Me(t,a,l),l++):d="_auto_generate",s++),{sourceId:e,sourceTitle:o,target:d}})},Le=(e,t)=>t&&e>=t.maxFields,Me=(e,t,o)=>{const n=v.default.pluck(e,"slug"),a=v.default.pluck(t,"target");return v.default.difference(n,a)[o]},We=(e,t,o="select")=>{if("select"===o){const o=v.default.pluck(e.filter(e=>e.required),"slug"),n=v.default.pluck(t,"target");return!v.default.difference(o,n).length}if("input"===o)return 0===t.filter(e=>""===e.target).length},Ie=e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(e).toLowerCase());function Ne(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const Ae=e=>{const{api:t}=f.a.get("wp"),o=f.a.get("editorVersion"),n=He(t.url,function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ne(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ne(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({action:t.getAccounts,hash:t.hash,version:o},e||{}));return Object(pe.K)(n,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(Fe).then(e=>e)},Ve=e=>{const{api:t}=f.a.get("wp"),o=f.a.get("editorVersion"),n=He(t.url,{action:t.deleteAccount,hash:t.hash,version:o,id:e});return Object(pe.K)(n,{method:"DELETE",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(Fe).then(e=>e)};var De=o(135),$e=o(196);const Ge=e=>{const{className:t,size:o=1,color:n="gray",type:a="button",rightIcon:r,leftIcon:i,loading:l,disabled:c,children:d,href:u,target:p,onClick:b}=e,m=g()("brz-button brz-ed-btn","brz-ed-btn-sm brz-ed-btn-rounded",t,l?"brz-ed-btn--loading":"brz-ed-btn-icon","brz-ed-btn-width-"+o,"brz-ed-btn-"+n,{"brz-ed-btn-icon--left":i},{"brz-ed-btn-icon--right":r},{"brz-ed-btn--disabled":c}),h=l?s.a.createElement(F.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}):s.a.createElement(s.a.Fragment,null,i&&s.a.createElement(F.b,{icon:i}),d,r&&s.a.createElement(F.b,{icon:r}));return"button"===a?s.a.createElement("button",{className:m,onClick:b},h):s.a.createElement("a",{href:u,target:p,className:m,onClick:b},h)};class Ue extends l.Component{renderOptions(){const{active:e,data:{accounts:t,usedAccount:o,completed:n},disconnectLoading:a,onActive:r,onDisconnect:i}=this.props,l=t.map(({name:e,id:t})=>s.a.createElement($e.a,{value:t,key:t},e||"Account "+t,t===o&&n&&s.a.createElement("div",{title:"Disconnect",className:"brz-ed-popup-integrations--delete",onClick:i},s.a.createElement(F.b,{icon:a?"nc-circle-02":"nc-connection",className:a?"brz-ed-animated--spin":""}))));return s.a.createElement(B.a,{autoHeight:!0,autoHeightMax:"100%",style:{height:"auto"}},s.a.createElement(De.b,{className:"brz-ed-popup-integrations-option__radio",name:"list",defaultValue:e,onChange:r},l))}renderError(){const{error:e,data:{accounts:t}}=this.props;return s.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},s.a.createElement("span",{className:"brz-span"},0===t.length&&Object(ie.a)("Accounts are empty. Please connect a new account and try again."),e))}render(){const{data:{accounts:e},error:t,nextLoading:o,prevLoading:n,connectLoading:a,onConnect:r,onPrev:i,onNext:l}=this.props,c=e.length>0;return s.a.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__account"},s.a.createElement("div",{className:"brz-ed-popup-integrations-step__head"},s.a.createElement("p",{className:"brz-p"},s.a.createElement("strong",{className:"brz-strong"},Object(ie.a)("SELECT ACCOUNT")))),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__body"},(!c||t)&&this.renderError(),c&&this.renderOptions(),s.a.createElement("div",{className:"brz-ed-popup-integrations-new__option",onClick:r},s.a.createElement(F.b,{icon:a?"nc-circle-02":"nc-add",className:a?"brz-ed-animated--spin":""}),Object(ie.a)("Connect a new account")),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},s.a.createElement(Ge,{size:3,leftIcon:"nc-arrow-left",loading:n,onClick:i},Object(ie.a)("Back")),s.a.createElement(Ge,{color:"teal",rightIcon:"nc-arrow-right",loading:o,onClick:l},Object(ie.a)("Continue")))))}}Object(i.a)(Ue,"defaultProps",{id:"",title:"",shortTitle:"",description:"",img:"",form:{},data:{},active:"",nextLoading:!1,prevLoading:!1,connectLoading:!1,disconnectLoading:!1,onActive:v.default.noop,onPrev:v.default.noop,onNext:v.default.noop,onConnect:v.default.noop,onDisconnect:v.default.noop});var Ke=Ue;var Ye=e=>{const{title:t="",value:o="",icon:n="",type:a="text",required:r=!1,loading:i=!1,onChange:l=v.noop,onKeyDown:c=v.noop,onClickIcon:d=v.noop}=e;return s.a.createElement("div",{className:"brz-input__placeholder"},s.a.createElement("label",{className:"brz-label"},s.a.createElement("input",{required:!0,className:"brz-input",name:t,type:a,value:o,onChange:l,onKeyDown:c}),s.a.createElement("p",{className:"brz-p"},s.a.createElement("strong",{className:"brz-strong"},t,r&&s.a.createElement("span",{className:"brz-span"},"(",Object(ie.a)("required"),")")))),n&&s.a.createElement("div",{className:"brz-input__placeholder-icon"},i?s.a.createElement(F.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}):s.a.createElement(F.b,{icon:n,onClick:d})))};class qe extends l.Component{constructor(...e){super(...e),Object(i.a)(this,"handleKeyDown",e=>{13===e.which&&this.props.onNext()})}renderError(){return s.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},s.a.createElement("span",{className:"brz-span"},this.props.error))}renderInputs(){const{data:e,onChange:t}=this.props;return e.map((e,o)=>{const{title:n,name:a,value:r}=e;return s.a.createElement(Ye,{key:o,title:n,name:a,required:!0,value:r,onChange:({target:e})=>{t(e.value,a)},onKeyDonw:this.handleKeyDown})})}render(){const{img:e,title:t,descriptions:o,error:n,nextLoading:a,prevLoading:r,onNext:i,onPrev:l,docsUrl:c}=this.props;return s.a.createElement("div",{className:"brz-ed-popup-integrations__connect"},s.a.createElement("div",{className:"brz-ed-popup-integrations__connect-head"},s.a.createElement("img",{className:"brz-img",src:e,title:t,alt:t}),s.a.createElement("p",{className:"brz-p"},o),s.a.createElement("p",{className:"brz-p brz-ed-popup-integrations__connect-info"},s.a.createElement("a",{className:"brz-a",href:c,target:"_blank",rel:"noreferrer"},Object(ie.a)("Need help"),"?"))),s.a.createElement("div",{className:"brz-ed-popup-integrations__connect-body"},n&&this.renderError(),this.renderInputs(),null!==a&&s.a.createElement(Ge,{color:"teal",loading:a,onClick:i},Object(ie.a)("Connect")),null!==r&&s.a.createElement(Ge,{color:"default",loading:r,onClick:l},Object(ie.a)("Cancel"))))}}Object(i.a)(qe,"defaultProps",{img:"",title:"",descriptions:"",data:[{title:"",name:"",value:""}],nextLoading:null,prevLoading:null,error:null,onNext:v.default.noop,onPrev:v.default.noop});var Xe=qe;class Ze extends l.Component{renderError(){return s.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},s.a.createElement("span",{className:"brz-span"},this.props.error))}render(){const{title:e,img:t,descriptions:o,error:n,nextLoading:a,prevLoading:r,onNext:i,onPrev:l}=this.props,c=null!==a&&null!==r;return s.a.createElement("div",{className:"brz-ed-popup-integrations__connect"},s.a.createElement("div",{className:"brz-ed-popup-integrations__connect-head"},s.a.createElement("img",{className:"brz-img",src:t,alt:e}),s.a.createElement("p",{className:"brz-p"},o)),s.a.createElement("div",{className:"brz-ed-popup-integrations__connect-body"},n&&this.renderError(),c&&s.a.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==a&&s.a.createElement(Ge,{color:"red",loading:a,onClick:i},Object(ie.a)("Disconnect")),null!==r&&s.a.createElement(Ge,{color:"default",loading:r,onClick:l},Object(ie.a)("Cancel")))))}}Object(i.a)(Ze,"defaultProps",{title:"",descriptions:"",nextLoading:null,prevLoading:null,error:null,onNext:v.default.noop,onPrev:v.default.noop});var Je=Ze,Qe=o(53),et=o(158),tt=o(25),ot=o(294),nt=o(293),at=o(936),rt=o(943),it=o(281),lt=o(109),st=o(99);function ct(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function dt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ct(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ct(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const ut=(e,t,o,n)=>{const a=t*o,r=t*n,i=e*t;return Math.max(a,Math.min(r,i))};class pt extends l.Component{constructor(...e){super(...e),Object(i.a)(this,"state",{inputValue:""}),Object(i.a)(this,"selectRef",s.a.createRef()),Object(i.a)(this,"inputRef",s.a.createRef()),Object(i.a)(this,"handleChange",(e,t)=>{const{multiple:o,value:n,onChange:a}=this.props;if(o){if(t.isOpen||this.setState({inputValue:""}),e.hasOwnProperty("value")){const t=Array.isArray(n)?n:[];a(Object(tt.addLast)(t,e.value))}}else e&&(this.setState({inputValue:e.value}),a(e))}),Object(i.a)(this,"handleInputChange",e=>{this.setState({inputValue:e.target.value})}),Object(i.a)(this,"handleRemoveTag",e=>{const{value:t,onChange:o}=this.props;o(Object(tt.removeAt)(t,e))}),Object(i.a)(this,"handleInputKeyDown",e=>{const{value:t,multiple:o,onChange:n}=this.props;o&&8===e.keyCode&&!this.state.inputValue&&n(Object(tt.removeLast)(t))})}itemToString(e){return e?e.label:""}renderTags(e){return Array.isArray(e)?e.map((e,t)=>s.a.createElement("div",{key:t,className:"brz-control__select2-tag"},e,s.a.createElement(F.b,{icon:"nc-trash",onClick:()=>{this.handleRemoveTag(t)}}))):null}renderInput(e){const{multiple:t,selectedItem:o,isOpen:n,toggleMenu:a,inputProps:r}=e,i=t?"brz-control__select2-value-container-tag":"brz-control__select2-value-container";return s.a.createElement(at.a,null,({ref:e})=>s.a.createElement("div",{ref:e,className:i,onClick:()=>{a(),!n&&this.inputRef.current.focus()}},t&&this.renderTags(o),s.a.createElement("input",Object(C.a)({},r,{className:"brz-input brz-control__select2-value"}))))}renderDropdown(e){const{className:t,options:o,value:n,multiple:a,placement:r,fixed:i,itemHeight:l,minItems:c,maxItems:d,isOpen:u,inputValue:p,highlightedIndex:b,selectedItem:m,getItemProps:h,getMenuProps:v}=e;if(!u)return;const f=Array.isArray(n)&&a?o.filter(e=>n.every(t=>t!==e.value)):o,y=this.selectRef.current,O=y.getBoundingClientRect().width,S=y.ownerDocument.body,x=g()("brz-ed-select2-portal",t),j=new nt.a(f,["value"]);return s.a.createElement(lt.a,{node:S,className:x},s.a.createElement(rt.a,{placement:r,positionFixed:i},({ref:e,style:t,placement:o})=>{const n=j.search(p).map((e,t)=>s.a.createElement("li",Object(C.a)({key:e.value},h({index:t,item:e}),{className:g()("brz-li brz-control__select2-option",{"brz-control__select2-option--active":m===e||b===t})}),e.value));return s.a.createElement("div",{ref:e,style:dt(dt({},t),{},{width:O}),className:"brz-control__select2-menu","data-placement":o},s.a.createElement(st.a,{style:{height:ut(n.length,l,c,d)},className:"brz-control__select2-scroll-pane brz-ed-scroll--small"},s.a.createElement("ul",Object(C.a)({},v(),{className:"brz-ul"}),n.length>0?n:s.a.createElement("li",{className:"brz-li brz-control__select2-option"},Object(ie.a)("Nothing Found")))))}))}render(){const{className:e,placeholder:t,multiple:o,value:n}=this.props,{inputValue:a}=this.state,r=g()("brz-control__select2-container",e);return s.a.createElement("div",{ref:this.selectRef,className:r},s.a.createElement(it.a,null,s.a.createElement(ot.a,{initialSelectedItem:n,selectedItem:n,onChange:this.handleChange,itemToString:this.itemToString},({getInputProps:e,getItemProps:n,getMenuProps:r,isOpen:i,highlightedIndex:l,selectedItem:c,toggleMenu:d})=>s.a.createElement("div",{className:"brz-control__select2"},this.renderInput({inputProps:e({ref:this.inputRef,placeholder:t,value:a,onKeyDown:this.handleInputKeyDown,onChange:this.handleInputChange}),multiple:o,selectedItem:c,isOpen:i,toggleMenu:d}),this.renderDropdown(dt(dt({},this.props),{},{inputValue:a,isOpen:i,highlightedIndex:l,selectedItem:c,getMenuProps:r,getItemProps:n}))))))}}Object(i.a)(pt,"defaultProps",{className:"",value:null,options:[{label:"Test",value:"test"}],placement:"bottom",placeholder:"",fixed:!1,minItems:1,maxItems:5,itemHeight:30,multiple:!1,onChange:v.default.noop});var bt=pt;const mt=e=>void 0===e.type,ht=e=>"select"===e.type,gt=e=>"switch"===e.type,vt=e=>"search"===e.type;class ft extends l.Component{constructor(...e){super(...e),Object(i.a)(this,"renderSelect",({name:e,value:t,choices:o})=>{const n=o.map(({title:e,name:t},o)=>s.a.createElement(S.a,{key:`${t}-${o}`,value:t},e));return s.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-select"},s.a.createElement(O.a,{className:"brz-control__select--white",maxItems:"6",itemHeight:"30",inPortal:!0,defaultValue:t,onChange:t=>{this.props.onActive(e,t)}},n))}),Object(i.a)(this,"renderInput",({name:e,value:t})=>s.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-input"},s.a.createElement("input",{className:"brz-input",required:!0,type:"password"===e?"password":"text",value:t,onChange:t=>{this.props.onActive(e,t.target.value)}}))),Object(i.a)(this,"renderSwitch",({name:e,value:t})=>s.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-input"},s.a.createElement(et.a,{className:"brz-ed-control__switch--light",defaultValue:t,onChange:t=>{this.props.onActive(e,t)}}))),Object(i.a)(this,"renderSearch",({name:e,multiple:t,value:o,choices:n})=>{const a=Boolean(o)&&t?o.split(","):o;return s.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-select"},s.a.createElement(bt,{className:"brz-control__select2--light",multiple:t,value:a,options:n,onChange:o=>{this.props.onActive(e,t?o.join(","):o.value)}}))}),Object(i.a)(this,"renderOption",Object(Qe.match)([mt,this.renderInput],[ht,this.renderSelect],[vt,this.renderSearch],[gt,this.renderSwitch]))}renderHead(){const{headTitle:e,headDescription:t}=this.props;if(e&&t)return s.a.createElement("div",{className:"brz-ed-popup-integrations-step__head"},e&&s.a.createElement("p",{className:"brz-p"},s.a.createElement("strong",{className:"brz-strong"},e)),t&&s.a.createElement("p",{className:"brz-p"},s.a.createElement("strong",{className:"brz-strong"},t)))}renderOptions(){const e=this.props.data.map((e,t)=>{const{title:o,required:n,helper:a}=e;return s.a.createElement("div",{key:t,className:"brz-ed-popup-integrations-step__fields-option"},s.a.createElement("div",{className:"brz-d-xs-flex brz-align-items-xs-center"},s.a.createElement("p",{className:"brz-p"},o,n&&s.a.createElement("strong",{className:"brz-strong brz--required"},"*")),a&&s.a.createElement(Se.b,{className:"brz-ed-popup-integrations-fields__tooltip",openOnClick:!1,inPortal:!0,overlay:s.a.createElement("div",{className:"brz-ed-popup-integrations-fields__info",dangerouslySetInnerHTML:{__html:a}})},s.a.createElement(F.b,{icon:"nc-alert-circle-que"}))),this.renderOption(e))});return s.a.createElement(B.a,{autoHeight:!0,autoHeightMax:"100%",style:{height:"auto"}},e)}render(){const{description:e,error:t,prevLoading:o,nextLoading:n,onPrev:a,onNext:r}=this.props;return s.a.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__fields"},this.renderHead(),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__body"},t&&s.a.createElement(be,{message:t,type:"error"}),this.renderOptions(),e&&s.a.createElement("p",{className:"brz-p brz-ed-popup-integrations__description"},e),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==o&&s.a.createElement(Ge,{size:3,leftIcon:"nc-arrow-left",loading:o,onClick:a},Object(ie.a)("Back")),null!==n&&s.a.createElement(Ge,{color:"teal",rightIcon:"nc-arrow-right",loading:n,onClick:r},Object(ie.a)("Continue")))))}}Object(i.a)(ft,"defaultProps",{id:"",headTitle:"",headDescription:"",description:"",data:[],nextLoading:null,prevLoading:null,onPrev:v.default.noop,onNext:v.default.noop,onActive:v.default.noop});class yt extends l.Component{renderSelect(e,t){const{formFields:o,fields:n,restrictions:a,onActive:r}=this.props,i=v.default.pluck(o,"target");let l=n.filter(e=>-1===i.indexOf(e.slug)||e.slug===t);const c=n.length+(o.length-v.default.without(i,"_auto_generate").length);(!Le(c,a)||t&&"_auto_generate"===t)&&l.unshift({name:"Auto Generate",required:!1,slug:"_auto_generate"});const d=l.map(({required:e,name:t,slug:o})=>s.a.createElement(S.a,{key:o,value:o},s.a.createElement("span",{className:"brz-span"},t),e&&s.a.createElement("strong",{className:"brz-strong brz--required"},"*")));return s.a.createElement(O.a,{defaultValue:t,className:"brz-control__select--white",maxItems:"6",itemHeight:"30",inPortal:!0,onChange:t=>{r(e,t)}},d)}renderOptions(){const e=this.props.formFields.map(({sourceTitle:e,target:t,sourceId:o})=>s.a.createElement("div",{key:o,className:"brz-ed-popup-integrations-step__fields-option"},s.a.createElement("p",{className:"brz-p"},e),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-select"},this.renderSelect(o,t))));return s.a.createElement(B.a,{autoHeight:!0,autoHeightMax:"100%",style:{height:"auto"}},e)}renderError(){return s.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},s.a.createElement("span",{className:"brz-span"},this.props.error))}renderErrorEmpty(){return s.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},s.a.createElement("span",{className:"brz-span"},Object(ie.a)("Fields are empty. Please add fields and try again.")))}render(){const{title:e,error:t,formFields:o,prevLoading:n,nextLoading:a,onPrev:r,onNext:i}=this.props;return s.a.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__fields"},s.a.createElement("div",{className:"brz-ed-popup-integrations-step__head"},s.a.createElement("p",{className:"brz-p"},s.a.createElement("strong",{className:"brz-strong"},Object(ie.a)("FORM FIELDS"))),s.a.createElement("p",{className:"brz-p"},s.a.createElement("strong",{className:"brz-strong"},e," ",Object(ie.a)("FIELDS")))),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__body"},t&&this.renderError(),o.length?this.renderOptions():this.renderErrorEmpty(),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==n&&s.a.createElement(Ge,{size:3,leftIcon:"nc-arrow-left",loading:n,onClick:r},Object(ie.a)("Back")),null!==a&&s.a.createElement(Ge,{color:"teal",rightIcon:"nc-arrow-right",loading:a,onClick:i},Object(ie.a)("Continue")))))}}Object(i.a)(yt,"defaultProps",{id:"",title:"",shortTitle:"",description:"",img:"",fields:[],formFields:[],restrictions:{},error:null,nextLoading:null,prevLoading:null,onActive:v.default.noop,onPrev:v.default.noop,onNext:v.default.noop});var Ot=yt;class St extends l.Component{constructor(...e){super(...e),Object(i.a)(this,"handleConfirmation",e=>{this.props.onConfirm("true"===e)})}renderError(){return s.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},s.a.createElement("span",{className:"brz-span"},this.props.error))}renderList(){const{active:e,lists:t,onActive:o}=this.props,n=t.map(({name:e,id:t})=>s.a.createElement($e.a,{value:t,key:t},e||"List "+t));return s.a.createElement(B.a,{autoHeight:!0,autoHeightMax:"100%",style:{height:"auto"}},s.a.createElement(De.b,{className:"brz-ed-popup-integrations-option__radio",name:"list",defaultValue:e,onChange:o},n))}renderConfirmation(){const{confirmationNeeded:e}=this.props;return s.a.createElement("div",{className:"brz-ed-popup-integrations__confirmation"},s.a.createElement("p",{className:"brz-p"},Object(ie.a)("Email confirmation to join the list")),s.a.createElement(O.a,{defaultValue:e?"true":"false",className:"brz-control__select--white",maxItems:"6",itemHeight:"30",onChange:this.handleConfirmation},s.a.createElement(S.a,{value:"false"},Object(ie.a)("Not Required")),s.a.createElement(S.a,{value:"true"},Object(ie.a)("Required"))))}renderCreateList(){const{createLoading:e,onCreateList:t}=this.props;return s.a.createElement("div",{className:"brz-ed-popup-integrations-new__option",onClick:t},s.a.createElement(F.b,{icon:e?"nc-circle-02":"nc-add",className:e?"brz-ed-animated--spin":""}),Object(ie.a)("Create a new list"))}renderProList(){return s.a.createElement(De.b,{className:"brz-ed-popup-integrations-option__radio",name:"proList",defaultValue:"none"},s.a.createElement($e.a,{value:"none"},Object(ie.a)("None")))}render(){const{listPro:e,lists:t,listsCreate:o,hasConfirmation:n,error:a,nextLoading:r,prevLoading:i,onPrev:l,onNext:c}=this.props,d=t.length>0,u=o&&o.length>0;return s.a.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__lists"},s.a.createElement("div",{className:"brz-ed-popup-integrations-step__head"},s.a.createElement("p",{className:"brz-p"},s.a.createElement("strong",{className:"brz-strong"},Object(ie.a)("SELECT LIST")))),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__body"},a&&this.renderError(),d&&this.renderList(),e&&this.renderProList(),u&&this.renderCreateList(),n&&this.renderConfirmation(),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==i&&s.a.createElement(Ge,{size:3,leftIcon:"nc-arrow-left",loading:i,onClick:l},Object(ie.a)("Back")),null!==r&&s.a.createElement(Ge,{size:d||e?1:3,color:d||e?"teal":"gray",rightIcon:"nc-arrow-right",loading:r,onClick:d||e?c:null},Object(ie.a)("Continue")))))}}Object(i.a)(St,"defaultProps",{id:"",title:"",shortTitle:"",description:"",img:"",active:"",listPro:!1,lists:[],listsCreate:[],apiKeyValue:{},hasConfirmation:!1,createLoading:!1,confirmationNeeded:!1,nextLoading:null,prevLoading:null,error:null,onActive:v.default.noop,onConfirm:v.default.noop,onCreateList:v.default.noop,onPrev:v.default.noop,onNext:v.default.noop});var xt=St;class Ct extends l.Component{render(){const{title:e,onNext:t}=this.props;return s.a.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__done"},s.a.createElement("div",{className:"brz-ed-popup-integrations-step__done-icon"},s.a.createElement(F.b,{icon:"nc-check-light"})),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__done-content"},s.a.createElement("p",{className:"brz-p"},Object(ie.a)("You have successfully connect the form with")," ",e)),s.a.createElement(Ge,{color:"teal",onClick:t},Object(ie.a)("Done")))}}Object(i.a)(Ct,"defaultProps",{title:"",onNext:v.default.noop});var jt=Ct;async function Pt(e){try{return await(t=e,fetch("https://graph.facebook.com/"+t).then(({status:e})=>200===e))}catch(e){return!1}var t}function Bt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function wt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Bt(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Bt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Tt=[{name:"appid",title:"App ID"}];class zt extends l.Component{constructor(e,t){super(e),Object(i.a)(this,"handleChange",(e,t)=>{this.setState(({apiKeyValue:o})=>({apiKeyValue:wt(wt({},o),{},{[""+t]:e.trim()})}))}),Object(i.a)(this,"handleConnect",async()=>{const{app:e,onChangeNext:t}=this.context,{apiKeyValue:o}=this.state,n=Object.values(o);if(this.setState({nextLoading:!0,error:null}),n.some(e=>!e))await Object(pe.H)(),this.setState({error:"Fields are empty",nextLoading:!1});else{const{data:a,group:r,id:i}=e,[l]=n;if(!await Pt(l))return void this.setState({isValidate:!1,error:"Your AppId is no valid, re check and try again",nextLoading:!1});if(a&&a.id){const{status:e}=await Ve(a.id);200!==e&&this.setState({nextLoading:!1,error:Object(ie.a)("Something went wrong")})}const{status:s}=await(e=>{const{api:t}=f.a.get("wp"),o=f.a.get("editorVersion"),n=He(t.url,{action:t.addAccount,hash:t.hash,version:o});return Object(pe.K)(n,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(e)}).then(Fe).then(e=>e)})(wt({service:i,group:r},o));200!==s?this.setState({nextLoading:!1,error:Object(ie.a)("Something went wrong")}):t()}}),Object(i.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0}),await Object(pe.H)(),this.context.onChangePrev()});const{app:{data:o}}=t;this.state={apiKeyValue:o||this.getDefaultValue(),nextLoading:!1,prevLoading:!1,error:null}}static async onBeforeLoad(e,t){e.app.data&&t.onChangeNext("disconnect")}getDefaultValue(){return Tt.reduce((e,{name:t})=>wt(wt({},e),{},{[""+t]:""}),{})}render(){const{app:e}=this.context,{apiKeyValue:t,nextLoading:o,prevLoading:n,error:a}=this.state,r=Tt.map(({title:e,name:o})=>({title:e,name:o,value:t[o]}));return s.a.createElement(Xe,Object(C.a)({},e,{data:r,nextLoading:o,prevLoading:n,error:a,onChange:this.handleChange,onNext:this.handleConnect,onPrev:this.handlePrev}))}}Object(i.a)(zt,"contextType",me);var Et=zt;class kt extends l.Component{constructor(e){super(e),Object(i.a)(this,"handleNext",async()=>{const{app:e,onChange:t,onDisconnectApp:o}=this.context;this.setState({nextLoading:!0,error:null});const{status:n}=await Ve(e.data.id);200===n?(o(e.id),t(e.id,null)):this.setState({nextLoading:!1,error:Object(ie.a)("Something went wrong")})}),Object(i.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0,error:null}),await Object(pe.H)(),this.context.onChangePrev("appList")}),this.state={nextLoading:!1,prevLoading:!1,error:null}}render(){const{nextLoading:e,prevLoading:t,error:o}=this.state;return s.a.createElement(Je,Object(C.a)({},this.context.app,{descriptions:Object(ie.a)("Are you want to delete account")+" ?",nextLoading:e,prevLoading:t,error:o,onPrev:this.handlePrev,onNext:this.handleNext}))}}Object(i.a)(kt,"contextType",me);var Ht=kt;class Ft extends l.Component{constructor(...e){super(...e),Object(i.a)(this,"handleClose",()=>{this.props.onClose()})}render(){const{app:e}=this.context;return s.a.createElement(jt,Object(C.a)({},e,{onNext:this.handleClose}))}}Object(i.a)(Ft,"contextType",me);var _t=Ft;class Rt{}Object(i.a)(Rt,"connect",void 0),Object(i.a)(Rt,"account",void 0),Object(i.a)(Rt,"fields",void 0),Object(i.a)(Rt,"list",void 0),Object(i.a)(Rt,"done",void 0);class Lt extends Rt{}Object(i.a)(Lt,"connect",Et),Object(i.a)(Lt,"disconnect",Ht),Object(i.a)(Lt,"done",_t);var Mt=Lt;var Wt=class extends ze{constructor(...e){super(...e),Object(i.a)(this,"appsData",[]),Object(i.a)(this,"appsComponent",n),Object(i.a)(this,"handleConnectApp",async e=>{const t=e.id,{stages:o}=this.appsData[0];await Object(pe.H)(),this.setState(Object(c.a)(n=>{n.stages=o,n.connectedApp=t,Object.assign(n.data[t],e)}),()=>{this.handleNext()})})}async componentDidMount(){const e=Object(ue.a)("integrations.json"),t=await fetch(e),o=await t.json();this.appsData=o.facebook,await this.getData()}async getData(){const{group:e,service:t}=this.props,{status:o,data:n}=await Ae({group:e,services:t});if(n&&n.length>0&&200===o){const e=n[0],{services:t}=e;this.setState(Object(c.a)(o=>{o.data[t]={data:e},o.loading=!1,o.connectedApps=[t]}))}else this.setState({loading:!1})}};const It=[{id:"app",title:Object(ie.a)("APPS"),icon:"nc-extensions-2",component:Wt}];class Nt extends l.Component{render(){const{service:e,group:t,opened:o,onClose:n}=this.props;return s.a.createElement(de,{currentTab:"app",service:e,group:t,opened:o,tabs:It,onClose:n})}}Object(i.a)(Nt,"defaultProps",{service:"facebook",group:"social",opened:!1,onClose:v.noop});var At=Nt,Vt=o(41),Dt=o.n(Vt),$t=o(80),Gt=o(9);function Ut(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Kt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ut(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ut(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class Yt extends s.a.Component{constructor(...e){super(...e),Object(i.a)(this,"state",{currentFilter:this.props.defaultFilter}),Object(i.a)(this,"setFilter",e=>{this.setState(t=>({currentFilter:Kt(Kt({},t.currentFilter),e)}))})}render(){const{filterFn:e,data:t,children:o}=this.props,{currentFilter:n}=this.state;return o(t.filter(t=>e(t,n)),n,this.setFilter)}}function qt(e){const{className:t="",title:o="",separator:n=!1,children:a}=e,r=g()("brz-ed-popup-two-sidebar",t);return s.a.createElement("div",{className:r},o&&s.a.createElement("div",{className:"brz-ed-popup-two-sidebar-title"},o),n&&s.a.createElement("div",{className:"brz-ed-popup-two-sidebar-separator"},o),a)}function Xt(e){const{lists:t=[],counters:o={},value:n="",onChange:a=(()=>{})}=e;return t.map(({id:e,title:t,icon:r})=>null!=o[e]&&s.a.createElement("div",{key:e,title:Object(ie.a)(t),className:g()("brz-ed-popup-two-sidebar-list",{"brz-ed-popup-two-sidebar-list-active":e===n}),onClick:()=>a(e)},r&&s.a.createElement("span",{className:"brz-span brz-ed-popup-two-sidebar-list__span-icon"},s.a.createElement(F.b,{icon:r})),s.a.createElement("span",{className:"brz-span brz-ed-popup-two-sidebar-list__span-text"},t),s.a.createElement("span",{className:"brz-span brz-ed-popup-two-sidebar-list__span-new"},"new"),s.a.createElement("span",{className:"brz-span brz-ed-popup-two-sidebar-list__span-quantity"},o[e])))}function Zt(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Jt(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Zt(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Zt(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Qt(e){const{className:t,children:o}=e,n=g()("brz-ed-popup-two-body__sidebar",t),a=e=>{let{style:t}=e,o=Object(x.a)(e,["style"]);return s.a.createElement("div",Object(C.a)({},o,{style:Jt(Jt({},t),{},{borderRadius:"inherit",backgroundColor:"rgba(129, 138, 145, 0.5)"})}))};return s.a.createElement("div",{className:n},s.a.createElement(B.a,{renderThumbHorizontal:a,renderThumbVertical:a},s.a.createElement("div",{className:"brz-ed-popup-two-sidebar-body"},o)))}class eo extends s.a.Component{constructor(...e){super(...e),Object(i.a)(this,"handleInputChange",e=>{this.props.onChange(e.target.value)})}render(){const{className:e,value:t}=this.props,o=g()("brz-ed-popup-two-search",e);return s.a.createElement("div",{className:o},s.a.createElement("input",{type:"text",className:"brz-input brz-ed-popup-two__input",placeholder:Object(ie.a)("Type to search"),value:t,onChange:this.handleInputChange}),s.a.createElement("div",{className:"brz-ed-popup-two-search-icon"},s.a.createElement(F.b,{icon:"nc-search"})))}}Object(i.a)(eo,"defaultProps",{className:"",value:"",onChange:v.default.noop});var to=o(8),oo=o.n(to),no=o(37),ao=o(51);let ro=new Map,io=null;class lo extends l.Component{constructor(...e){super(...e),Object(i.a)(this,"state",{imageFetched:!1,showSpinner:!1}),Object(i.a)(this,"content",s.a.createRef()),Object(i.a)(this,"handleIntersection",e=>{e.forEach(({isIntersecting:e,target:t})=>{if(e){const e=ro.get(t);if(!e)return;const o=e.props.src;Object(ao.f)(o).then(()=>{io&&io.unobserve(t),e.mounted&&e.setState({imageFetched:!0,showSpinner:!1},e.props.onImageLoaded())})}})})}componentDidMount(){const e=this.content.current;if(this.mounted=!0,null===io){const{observerRootSelector:t,observerRootMargin:o,observerThreshold:n}=this.props,a={root:e.ownerDocument.querySelector(t),rootMargin:o,threshold:n};io=new e.ownerDocument.defaultView.IntersectionObserver(this.handleIntersection,a),io.POLL_INTERVAL=200}io.observe(e),ro.set(e,this),setTimeout(()=>{this.mounted&&!this.state.imageFetched&&this.setState({showSpinner:!0})},this.props.spinnerDelay)}componentWillUnmount(){const e=this.content.current;this.mounted=!1,io.unobserve(e),ro.delete(e),0===ro.size&&(io.disconnect(),io=null)}render(){const{width:e,height:t,src:o,style:n}=this.props,{imageFetched:a,showSpinner:r}=this.state,i=Math.round(t/e*100*10)/10;return s.a.createElement("div",{ref:this.content,className:"brz-observer__image",style:{paddingTop:i+"%"}},r&&s.a.createElement("div",{className:"brz-ed-option__block-thumbnail-loading"},s.a.createElement(F.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})),a&&s.a.createElement("img",{className:"brz-img",style:n,src:o,alt:"lazyLoad Image"}))}}Object(i.a)(lo,"defaultProps",{width:100,height:100,src:"",observerRootSelector:null,observerRootMargin:"0px",observerThreshold:[0],spinnerDelay:250,style:{},onImageLoaded:v.default.noop});var so=o(19),co=o(17),uo=o(73),po=o(110),bo=o(102);function mo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}const ho=e=>"BLOCK"===e,go=e=>"POPUP"===e,vo=e=>"LAYOUT"===e,fo=(e,t)=>t?e+":1":e+":0",yo=(e,t,o)=>{const n=f.a.getAll(),{editorVersion:a}=n;if(Object(bo.a)(n)){const{url:r,hash:i,downloadBlocks:l,downloadLayouts:s}=n.wp.api,c=Object(Qe.match)([ho,()=>l],[vo,()=>s],[go,()=>l]),d=Object(po.b)({hash:i,uid:fo(t,o),version:a,action:c(e),type:e.toLowerCase()});return Object(po.c)(r)?`${r}&${d}`:`${r}?${d}`}const r=n.urls.api+"/zip_template/export",l=Object(po.b)(function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?mo(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):mo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}({id:t,version:a,type:e.toLowerCase(),pro:o?"1":"0"},{}));return Object(po.c)(r)?`${r}&${l}`:`${r}?${l}`},Oo=e=>"object"!=typeof e?Object(ie.a)("Something went wrong"):(e=>"data"in e)(e)?e.data:(e=>"errors"in e&&Array.isArray(e.errors))(e)?e.errors[0].message:Object(ie.a)("Something went wrong");var So=o(290),xo=o(61);const Co=e=>{var t,o;const n=null!==(t=e.component.resolve)&&void 0!==t?t:{};return{id:e.component.id,resolve:null!==(o=Object(tt.getIn)(n,["value","items",0]))&&void 0!==o?o:{}}},jo=["WPFeaturedImage"],Po=["SectionPopup2","SectionPopup","SectionFooter","SectionHeader"],Bo=({models:e,globalBlocks:t})=>{const o=Object.values(So.a).reduce((e,t)=>e.concat(t),[]).filter(e=>e.pro).map(Co),{obj:n}=Object(xo.a)(e,e=>{const n=String(e.type);if("GlobalBlock"===n&&t){const o=Object(tt.getIn)(e,["value","_id"]);if(o&&t[o])return Bo({models:t[o],globalBlocks:t})}return!!Po.includes(n)||o.find(({resolve:e,id:t})=>{const o=e.type===n;return(!o||!jo.includes(t))&&o})});return Object(co.l)(n)},wo=e=>{const t=Object(Qe.match)([ho,()=>Object(ie.a)("Could not download Saved block")],[vo,()=>Object(ie.a)("Could not download Saved Layout")],[go,()=>Object(ie.a)("Could not download Saved Popup")]);uo.a.error(t(e),{toastContainer:window.parent.document.body})},To=e=>{const{id:t,type:o}=e,[n,a]=Object(l.useState)(!1),r=Object(l.useRef)(null),[i,c]=Object(l.useState)(void 0),d=Object(l.useCallback)(async()=>{a(!0),c(void 0);const e=Object(Qe.match)([ho,()=>Object(pe.z)(t)],[vo,()=>Object(pe.B)(t)],[go,()=>Object(pe.z)(t)]);try{const{data:n}=await e(o);if(r.current){const e=Bo({models:n}),r=yo(o,t,e);c(r),a(!1)}}catch(e){0,r.current&&(a(!1),wo(o))}},[t,o,r]),u=Object(l.useCallback)(()=>{wo(o),c(void 0)},[o,i]);return s.a.createElement("div",{ref:r,title:Object(ie.a)("Download this block"),className:"brz-ed-popup-two-block-download",onClick:n?void 0:d},i&&s.a.createElement("iframe",{src:i,hidden:!0,onLoad:u}),n?s.a.createElement(F.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}):s.a.createElement(F.b,{icon:"nc-down"}))},{upgradeToPro:zo}=f.a.get("urls"),Eo={animationName:"fadeIn",animationFillMode:"both",animationDelay:"200ms",animationDuration:"200ms"};class ko extends l.Component{constructor(...e){super(...e),Object(i.a)(this,"state",{tooltipOpen:!1}),Object(i.a)(this,"iconRef",s.a.createRef()),Object(i.a)(this,"handleTooltipOpen",()=>{this.setState({tooltipOpen:!0})}),Object(i.a)(this,"handleTooltipClose",()=>{this.setState({tooltipOpen:!1})}),Object(i.a)(this,"handleClick",()=>{const{data:e,onAdd:t}=this.props;e.loading||e.inactive||t(e)}),Object(i.a)(this,"handleRemove",()=>{const{data:e,onRemove:t}=this.props;t(e)}),Object(i.a)(this,"handleSync",()=>{const{data:e,onSync:t}=this.props;t(e)})}renderBlank(){var e,t;const{data:{pro:o}}=this.props,n=!A.h&&o,a=null!==(e=null===(t=this.props.data)||void 0===t?void 0:t.blankTitle)&&void 0!==e?e:Object(ie.a)("Create your own"),r=g()("brz-ed-popup-two-block-item","brz-ed-popup-two-block__blank","brz-ed-popup-two-block__blank-first",{"brz-ed-popup-two-block__blank--pro":n});return n?s.a.createElement(Se.b,{overlayClassName:"brz-ed-tooltip--delay-1",size:"small",offset:"5",openOnClick:!1,nodeRef:this.iconRef,overlay:s.a.createElement(xe.a,{text:Object(ie.a)("Upgrade to PRO to use this block"),url:zo}),onOpen:this.handleTooltipOpen,onClose:this.handleTooltipClose},s.a.createElement("div",{className:r},s.a.createElement("p",{ref:this.iconRef,className:"brz-p brz-d-xs-flex brz-align-items-xs-center"},s.a.createElement(F.b,{icon:"nc-lock"})," ",a),s.a.createElement("p",{className:"brz-p brz-ed-badge brz-ed-badge--pro"},"pro"))):s.a.createElement("div",{onClick:this.handleClick,className:r},s.a.createElement("div",{className:"brz-ed-container-trigger brz-ed-container-trigger--small"}),s.a.createElement("p",{className:"brz-p"},a))}renderPro(){const{animation:e,isLayout:t,data:{thumbnailSrc:o,thumbnailWidth:n,thumbnailHeight:a},onImageLoaded:r}=this.props,{width:i,height:l}=Object(ao.e)(n,a,292),c=g()("brz-figure brz-ed-popup-two-block-item",this.state.tooltipOpen&&"brz-ed-popup-two-block-item--active"),d=s.a.createElement(s.a.Fragment,null,s.a.createElement(lo,{observerRootSelector:".brz-ed-popup-two-blocks-body",style:e?Eo:{},src:o,width:i,height:l,onImageLoaded:r}),s.a.createElement("p",{className:"brz-p brz-ed-badge brz-ed-badge--pro"},"pro"));return t?s.a.createElement("figure",{className:c,onClick:this.handleClick},d):s.a.createElement(Se.b,{overlayClassName:"brz-ed-tooltip--delay-1",size:"small",offset:"5",openOnClick:!1,nodeRef:this.iconRef,overlay:s.a.createElement(xe.a,{text:Object(ie.a)("Upgrade to PRO to use this block"),url:zo}),onOpen:this.handleTooltipOpen,onClose:this.handleTooltipClose},s.a.createElement("figure",{className:c},d,s.a.createElement("span",{ref:this.iconRef,className:"brz-ed-popup-two-block__span-lock"},s.a.createElement(F.b,{icon:"nc-lock"}))))}renderFree(){const{animation:e,data:{thumbnailSrc:t,thumbnailWidth:o,thumbnailHeight:n},onImageLoaded:a}=this.props,{width:r,height:i}=Object(ao.e)(o,n,292);return s.a.createElement("figure",{className:"brz-figure brz-ed-popup-two-block-item",onClick:this.handleClick},s.a.createElement(lo,{observerRootSelector:".brz-ed-popup-two-blocks-body",style:e?Eo:{},src:t,width:r,height:i,onImageLoaded:a}))}renderRemoveIcon(){return s.a.createElement("div",{className:"brz-ed-badge__delete brz-ed-popup-two-block-remove",onClick:this.handleRemove},s.a.createElement(F.b,{icon:"nc-trash"}))}renderSyncIcon(){const{isAuthorized:e,data:{synchronizable:t,synchronized:o}}=this.props;if(t&&e){const e=g()("brz-ed-popup-two-block-sync",{"brz-ed-popup-two-block-sync--uploaded":o}),t=o?Object(ie.a)("Block is synchronized"):Object(ie.a)("Block will be synchronized");return s.a.createElement("div",{title:t,className:e,onClick:this.handleSync},s.a.createElement(F.b,{icon:o?"nc-check-circle-on":"nc-reverse-glyph"}))}}renderLoading(){return s.a.createElement("div",{className:"brz-ed-popup-two-block--loading"},s.a.createElement(F.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}))}renderDownloadIcon(){const{uid:e,type:t}=this.props.data;return s.a.createElement(To,{id:e,type:t})}render(){const{isLayout:e,showSync:t,showDownload:o,data:{blank:n,showRemoveIcon:a,pro:r,loading:i,inactive:l,renderWrapper:c}}=this.props,d=!A.h&&r,u=n&&"blank"===n,p=g()("brz-ed-popup-two-block",co.d&&"brz-ed-popup-two-block-stories",d&&"brz-ed-popup-two-block--pro",e&&"brz-ed-popup-two-block--layout",l&&"inactive");let b;return u?b=this.renderBlank():(b=d?this.renderPro():this.renderFree(),c&&(b=c(b))),s.a.createElement("div",{className:p},b,a&&this.renderRemoveIcon(),i&&this.renderLoading(),(t||o)&&!u&&s.a.createElement("div",{className:"brz-ed-popup-two-block__bottom-control"},o&&this.renderDownloadIcon(),t&&this.renderSyncIcon()))}}Object(i.a)(ko,"defaultProps",{showRemoveIcon:!1,data:{},animation:!1,isLayout:!1,isAuthorized:!1,onAdd:v.default.noop,onRemove:v.default.noop,onImageLoaded:v.default.noop}),Object(i.a)(ko,"propTypes",{showRemoveIcon:oo.a.bool,blockData:oo.a.object,animation:oo.a.bool,isLayout:oo.a.bool,isAuthorized:oo.a.bool,showSync:oo.a.bool,showDownload:oo.a.bool,onAdd:oo.a.func,onRemove:oo.a.func,onImageLoaded:oo.a.func,onSync:oo.a.func});class Ho extends l.Component{constructor(...e){super(...e),Object(i.a)(this,"state",{thumbnailLoaded:!1}),Object(i.a)(this,"handleLoaded",()=>{this.setState({thumbnailLoaded:!0})})}render(){const e=this.props,{data:{name:t,pages:o,color:n}}=e,a=Object(x.a)(e,["data"]),{thumbnailLoaded:r}=this.state,i=g()("brz-ed-popup-two-block-info",co.d&&"brz-ed-popup-two-block-info-stories");return s.a.createElement("div",{className:i,style:r?Eo:{}},s.a.createElement(ko,Object(C.a)({},a,{data:this.props.data,isLayout:!0,onImageLoaded:this.handleLoaded})),r&&o.length>1&&s.a.createElement("span",{className:"brz-ed-popup-two-block-info-color",style:{backgroundColor:n}},s.a.createElement("span",{className:"brz-ed-popup-two-block-info-color-opacity",style:{backgroundColor:n}})),s.a.createElement("div",{className:"brz-ed-popup-two-block-info-downline"},s.a.createElement("div",{className:"brz-ed-popup-two-block-info-title"},t),s.a.createElement("div",{className:"brz-ed-popup-two-block-info-title"},o.length," ",o.length>1?co.d?Object(ie.a)("stories"):Object(ie.a)("layouts"):co.d?Object(ie.a)("story"):Object(ie.a)("layout"))))}}const Fo=e=>({isAuthorized:"connected"===Object(so.a)(e)}),_o=Object(no.b)(Fo)(Ho);var Ro=Object(no.b)(Fo)(ko);class Lo extends l.Component{constructor(...e){super(...e),Object(i.a)(this,"state",{currentColumns:this.props.columns}),Object(i.a)(this,"handleResize",()=>{const e=window.innerWidth,{responsive:t,columns:o}=this.props;if(t&&t.length){const n=t.reduce((t,o)=>o.breakpoint>e&&(void 0===t.breakpoint||t.breakpoint>o.breakpoint)?o:t,{});this.setState({currentColumns:n.settings&&n.settings.columns||o})}})}componentDidMount(){this.handleResize(),window.addEventListener("resize",this.handleResize)}componentWillUnmount(){window.removeEventListener("resize",this.handleResize)}render(){const{data:e,showSync:t,showDownload:o,onThumbnailAdd:n,onThumbnailRemove:a,ThumbnailComponent:r}=this.props,{currentColumns:i}=this.state,l=[];for(let e=0;e<i;e++)l.push([]);const c=g()("brz-ed-popup-two-blocks__grid__column",co.d&&"brz-ed-popup-two-blocks__grid__column-stories"),d=e.reduce((e,l,c)=>{const d=s.a.createElement(r,{key:l.uid||c,animation:!0,showSync:t,showDownload:o,data:l,onAdd:n,onRemove:a});return e[c%i].push(d),e},l).map((e,t)=>s.a.createElement("div",{key:t,className:c,style:{width:100/i+"%",flexBasis:100/i+"%"}},e));return s.a.createElement("div",{className:"brz-ed-popup-two-blocks__grid"},d)}}function Mo(e){const t=f.a.get("urls").templateThumbnails;return t?`${t}/${e.id}.jpg`:Object(ue.a)(`thumbs/${e.id}.jpg`)}Object(i.a)(Lo,"defaultProps",{columns:co.d?5:4,responsive:[{breakpoint:1460,settings:{columns:co.d?4:3}},{breakpoint:1200,settings:{columns:3}}],ThumbnailComponent:Ro});class Wo extends l.Component{constructor(...e){super(...e),Object(i.a)(this,"state",{imageFetched:!1,showSpinner:!1}),Object(i.a)(this,"mounted",!1)}componentDidMount(){const{src:e,spinnerDelay:t}=this.props;this.mounted=!0,Object(ao.f)(e).then(()=>{this.setState({imageFetched:!0,showSpinner:!1})}),setTimeout(()=>{this.mounted&&!this.state.imageFetched&&this.setState({showSpinner:!0})},t)}render(){const{imageFetched:e,showSpinner:t}=this.state,{className:o,src:n,style:a}=this.props,r=g()("brz-img",o);return s.a.createElement(l.Fragment,null,e&&s.a.createElement("img",{className:r,src:n,style:a}),t&&s.a.createElement(F.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}))}}Object(i.a)(Wo,"defaultProps",{className:"",src:"",style:{},spinnerDelay:250});var Io=o(98),No=o(44),Ao=o(62);function Vo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Do(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Vo(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Vo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const $o=f.a.get("urls"),Go={animationName:"fadeIn",animationFillMode:"both",animationDelay:"200ms",animationDuration:"200ms"},Uo=Object(no.b)(e=>({projectStyles:Object(so.K)(e),projectFonts:Object(so.m)(e)}));class Ko extends l.Component{constructor(...e){super(...e),Object(i.a)(this,"state",{active:this.props.data.pages[0].id,thumbnailHeight:0,transition:0,previewPointer:"none",replaceStyle:!1}),Object(i.a)(this,"thumbnailDetails",s.a.createRef()),Object(i.a)(this,"timeoutId",void 0),Object(i.a)(this,"handleUpdateThumbnail",()=>{var e,t;this.setState({thumbnailHeight:null!==(e=null===(t=this.thumbnailDetails.current)||void 0===t?void 0:t.clientHeight)&&void 0!==e?e:0})}),Object(i.a)(this,"handleBack",()=>{this.props.onBack()}),Object(i.a)(this,"handleThumbnailAdd",async()=>{var e,t;const{type:o,data:n,projectFonts:a,onAddBlocks:r,onClose:i}=this.props,{active:l,replaceStyle:s}=this.state,c=await fetch(Object(Ao.h)(o,l)),{blocks:d}=await c.json(),u=Object(Io.b)({models:d});let p;if(!this.hasStyleInProject()){p=Object(No.s)(n.styles);const e=Object(V.b)(p,({fontStyles:e})=>e),t=Object(Io.d)(e);u.push(...t)}r({blocks:d,styles:p,fonts:await Object(No.r)(Object(Io.a)(u,a)),currentStyleId:s?null===(e=n.styles)||void 0===e||null===(t=e[0])||void 0===t?void 0:t.id:void 0}),i()}),Object(i.a)(this,"handleReplaceStyling",()=>{this.setState({replaceStyle:!this.state.replaceStyle})})}getTransition(e){return e/500}hasStyleInProject(){const{projectStyles:e,data:{styles:t}}=this.props;return e.find(({id:e})=>null==t?void 0:t.some(({id:t})=>t===e))}componentDidMount(){this.handleUpdateThumbnail(),window.addEventListener("resize",this.handleUpdateThumbnail);const e=setTimeout(()=>{this.setState({previewPointer:"auto"})},200);this.timeoutId=$.b(e)}componentWillUnmount(){window.removeEventListener("resize",this.handleUpdateThumbnail),clearTimeout(this.timeoutId)}renderSlotLeft(e){const{HeaderSlotLeft:t}=this.props;return t?s.a.createElement(t,null,e):e}render(){var e;const{type:t,data:{name:o,pages:n,styles:a=[],pro:r}}=this.props,{active:i,thumbnailHeight:l,previewPointer:c,replaceStyle:d}=this.state,u="stories"===t,p=n.find(({id:e})=>e===i),b=Mo(p),m=n.map((e,t)=>{const o=g()("brz-ed-popup-two-details-page-select",u&&"brz-ed-popup-two-details-page-select-stories",{"brz-ed-popup-two-details-page-select-active-block":e.id===i}),n=Mo(e);return s.a.createElement("div",{key:t,className:o,onClick:()=>{this.setState({active:e.id})}},s.a.createElement(Wo,{src:n,style:Go}),s.a.createElement("div",{className:"brz-ed-popup-two-details-page-select-active"},e.title))}),h=!A.h&&r,v=g()("brz-ed-popup-two-details-preview",u&&"brz-ed-popup-two-details-preview-stories"),f=g()("brz-ed-popup-two-details-right",u&&"brz-ed-popup-two-details-right-stories"),y=g()("brz-ed-popup-two-body__content brz-ed-popup-two-blocks__grid brz-ed-popup-two-details",u&&"brz-ed-popup-two-details-stories");return s.a.createElement(s.a.Fragment,null,this.renderSlotLeft(s.a.createElement("div",{className:"brz-ed-popup-two-header__search brz-ed-popup-two-header__search--hidden"})),s.a.createElement("div",{className:y},s.a.createElement("div",{className:"brz-ed-popup-two-details-left"},s.a.createElement("div",{className:"brz-ed-popup-two-details-back",onClick:this.handleBack},s.a.createElement(F.b,{icon:"nc-arrow-left",className:"brz-ed-popup-two-details-back-icon"}),u?Object(ie.a)("Back to Stories"):Object(ie.a)("Back to Layouts")),s.a.createElement("div",{ref:this.thumbnailDetails,className:v,style:{"--thumbnailHeight":l+"px","--previewPointer":""+c}},u?s.a.createElement(Wo,{className:"brz-ed-popup-two-details-preview-img brz-ed-popup-two-details-preview-img-stories",src:b}):s.a.createElement(Wo,{className:"brz-ed-popup-two-details-preview-img",src:b,style:Do(Do({},Go),{},{"--transitionPreview":`transform ${this.getTransition(null!==(e=null==p?void 0:p.thumbnailHeight)&&void 0!==e?e:0)}s linear`})}))),s.a.createElement("div",{className:f},s.a.createElement("div",{className:"brz-ed-popup-two-details-title"},s.a.createElement("h2",{className:"brz-ed-popup-two-details-title-name"},o),s.a.createElement("div",{className:"brz-ed-popup-two-details-title-count"},n.length," ",n.length>1?u?Object(ie.a)("stories"):Object(ie.a)("layouts"):u?Object(ie.a)("story"):Object(ie.a)("layout"))),s.a.createElement("div",{className:"brz-ed-popup-two-details-page"},s.a.createElement(B.a,null,m))),s.a.createElement("div",{className:"brz-ed-popup-two-details-footer"},s.a.createElement("div",{className:"brz-ed-popup-two-details-footer-grid"},s.a.createElement("div",{className:"brz-ed-popup-two-details-footer-render"},s.a.createElement("div",{className:"brz-ed-popup-two-details-footer-radio"},h?s.a.createElement("div",{className:"brz-ed-popup-two-details-footer-radio-button brz-ed-popup-two-details-footer-radio-button--pro"},u?Object(ie.a)("Upgrade to PRO to use this story"):Object(ie.a)("Upgrade to PRO to use this layout")):a.length>0&&s.a.createElement("div",{className:"brz-ed-popup-two-details-footer-radio-button",onClick:this.handleReplaceStyling},s.a.createElement(F.b,{icon:d?"nc-check":"nc-uncheck",className:"brz-ed-popup-two-details-footer-radio-icon"}),Object(ie.a)("Replace global styling"))),h?s.a.createElement("a",{className:"brz-ed-btn brz-ed-btn-width-2 brz-ed-btn-sm brz-ed-btn-icon brz-ed-btn-icon--left brz-ed-btn-rounded brz-ed-btn-pro",href:$o.upgradeToPro,rel:"noopener noreferrer",target:"_blank"},s.a.createElement(F.b,{icon:"nc-lock"}),Object(ie.a)("Get a PRO plan")):s.a.createElement("div",{className:"brz-ed-popup-two-details-footer-render-button",onClick:this.handleThumbnailAdd},u?Object(ie.a)("Import This Story"):Object(ie.a)("Import This Layout")))))))}}Object(i.a)(Ko,"defaultProps",{type:"templates",data:{name:"",color:"",cat:[],pages:[],pro:!1,keywords:""},onClose:v.default.noop,onAddBlocks:v.default.noop,onBack:v.default.noop});var Yo=Uo(Ko);function qo(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Xo(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?qo(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):qo(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Zo={category:"*",search:""};class Jo extends l.Component{constructor(...e){super(...e),Object(i.a)(this,"state",{data:void 0,detailsData:void 0}),Object(i.a)(this,"filterFn",(e,t)=>{var o;const n=new RegExp(null===(o=t.search)||void 0===o?void 0:o.replace(/[.*+?^${}()|[\]\\]/g,""),"i"),a="*"===t.category||e.cat.includes(Number(t.category)),r=""===t.search||n.test(e.keywords)||n.test(e.name);return a&&r}),Object(i.a)(this,"handleThumbnailAdd",e=>{this.setState({detailsData:e})}),Object(i.a)(this,"handleBlankThumbnailAdd",async e=>{const{onAddBlocks:t,onClose:o}=this.props;t({blocks:[Xo(Xo({},await this.getBlockResolve(e.id)),{},{blockId:e.id})],fonts:[]}),o()}),Object(i.a)(this,"renderThumbnail",e=>{let{data:t}=e,o=Object(x.a)(e,["data"]);const{type:n}=this.props;return"stories"===n&&t.blank?s.a.createElement(Ro,Object(C.a)({},o,{data:t.pages[0],onAdd:this.handleBlankThumbnailAdd})):s.a.createElement(_o,Object(C.a)({data:t},o))})}async componentDidMount(){const e=await this.getData();this.setState({data:e})}async getData(){const e=Object(ue.a)(this.props.type+"/meta.json"),t=await fetch(e);return await t.json()}getLayoutData(e){return(e=>"stories"in e)(e)?e.stories:e.templates}async getBlockResolve(e){const t=Object(Ao.h)(this.props.type,e),o=await fetch(t);return await o.json()}renderSlotLeft(e){const{HeaderSlotLeft:t}=this.props;return t?s.a.createElement(t,null,e):e}renderLoading(){const{showSidebar:e,showSearch:t}=this.props;return s.a.createElement(s.a.Fragment,null,t&&this.renderSlotLeft(s.a.createElement(eo,{className:"brz-ed-popup-two-header__search"})),e&&s.a.createElement("div",{className:"brz-ed-popup-two-body__sidebar"},s.a.createElement("div",{className:"brz-ed-popup-two-sidebar-body"})),s.a.createElement("div",{className:"brz-ed-popup-two-body__content brz-ed-popup-two-body__content--loading"},s.a.createElement(F.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})))}renderList(e){const{showSidebar:t,showSearch:o}=this.props,n=this.getLayoutData(e),a=n.map(e=>Xo(Xo(Xo({},e),e.pages[0]),{},{thumbnailSrc:Mo(e.pages[0])})),r={};for(let e=0;e<n.length;e++){const t=n[e].cat;for(let e=0;e<t.length;e++){const o=t[e];r["*"]=n.length,void 0===r[o]?r[o]=1:r[o]++}}const i=[{id:"*",title:Object(ie.a)("All Categories")}].concat(e.categories).filter(({hidden:e})=>!0!==e);return s.a.createElement(Yt,{data:a,filterFn:this.filterFn,defaultFilter:Zo},(e,n,a)=>s.a.createElement(s.a.Fragment,null,o&&this.renderSlotLeft(s.a.createElement(eo,{className:"brz-ed-popup-two-header__search",value:n.search,onChange:e=>a({search:e})})),t&&s.a.createElement(Qt,null,s.a.createElement(qt,{title:"CATEGORIES"},s.a.createElement(Xt,{lists:i,value:n.category,counters:r,onChange:e=>a({category:e})}))),s.a.createElement("div",{className:"brz-ed-popup-two-body__content brz-ed-popup-two-blocks-body-layouts"},s.a.createElement(B.a,null,e.length>0?s.a.createElement(Lo,{data:e,ThumbnailComponent:this.renderThumbnail,onThumbnailAdd:this.handleThumbnailAdd}):s.a.createElement("div",{className:"brz-ed-popup-two-blocks__grid brz-ed-popup-two-blocks__grid-clear"},s.a.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},Object(ie.a)("Nothing here, please refine your search.")))))))}renderDetails(e){const{type:t,onAddBlocks:o,onClose:n,HeaderSlotLeft:a}=this.props;return s.a.createElement(Yo,{type:t,data:e,HeaderSlotLeft:a,onAddBlocks:o,onBack:()=>{this.setState({detailsData:void 0})},onClose:n})}render(){const{data:e,detailsData:t}=this.state;return e?t?this.renderDetails(t):this.renderList(e):this.renderLoading()}}Object(i.a)(Jo,"defaultProps",{type:"templates",showSidebar:!0,showSearch:!0,onAddBlocks:v.default.noop,onClose:v.default.noop,onNext:v.default.noop});var Qo=o(32);let en={type:0,category:"*",search:""};class tn extends l.Component{constructor(...e){super(...e),Object(i.a)(this,"filterData",(e,t)=>{const o=t.type===e.type,n="*"===t.category||e.cat.includes(Number(t.category)),a=""===t.search||new RegExp(t.search.replace(/[.*+?^${}()|[\]\\]/g,""),"i").test(e.keywords);return o&&n&&a})}getTypesCounters(){const{blocks:e,types:t}=this.props,o=t.reduce((e,{id:t})=>Object.assign(e,{[t]:0}),{});return e.forEach(({type:e})=>{o[e]++}),o}getCategoriesCounter(e){let{blocks:t,types:o,showType:n}=this.props,a=t.length;return n&&o.length&&(t=t.filter(t=>t.type===e),a=t.length),t.reduce((e,{cat:t})=>(t.forEach(t=>{e[t]?Object.assign(e,{[t]:++e[t]}):Object.assign(e,{[t]:1})}),e),{"*":a})}renderLoading(){const{showSidebar:e,showSearch:t,HeaderSlotLeft:o}=this.props;return s.a.createElement(s.a.Fragment,null,t&&s.a.createElement(o,null,s.a.createElement(eo,{className:"brz-ed-popup-two-header__search"})),e&&s.a.createElement("div",{className:"brz-ed-popup-two-body__sidebar"},s.a.createElement("div",{className:"brz-ed-popup-two-sidebar-body"})),s.a.createElement("div",{className:"brz-ed-popup-two-body__content brz-ed-popup-two-body__content--loading"},s.a.createElement(F.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})))}render(){const{loading:e,kits:t,blocks:o,types:n,categories:a,selectedKit:r,showSearch:i,showSidebar:l,HeaderSlotLeft:c,onChangeKit:d,onChange:u}=this.props;if(e)return this.renderLoading();const p=t.filter(({id:e})=>e!==r).length>0,b=n.length>0,m=a.length>0;return s.a.createElement(Yt,{data:o,filterFn:this.filterData,defaultFilter:en},(e,o,h)=>(en.type=o.type,s.a.createElement(s.a.Fragment,null,i&&s.a.createElement(c,null,s.a.createElement(eo,{className:"brz-ed-popup-two-header__search",value:o.search,onChange:e=>h({search:e})})),l&&s.a.createElement(Qt,null,p&&s.a.createElement(qt,{title:"BLOCKS"},s.a.createElement(O.a,{defaultValue:r,className:"brz-control__select--dark brz-control__select--full-width",maxItems:"6",itemHeight:"30",onChange:d},t.map(({id:e,name:t},o)=>s.a.createElement(S.a,{key:o,value:e},t)))),b&&s.a.createElement(qt,{title:"STYLES"},s.a.createElement(Xt,{lists:n,counters:this.getTypesCounters(),value:o.type,onChange:e=>h({type:e})})),m&&s.a.createElement(qt,{title:"CATEGORIES"},s.a.createElement(Xt,{lists:a,counters:this.getCategoriesCounter(o.type),value:o.category,onChange:e=>h({category:e})}))),s.a.createElement("div",{className:"brz-ed-popup-two-body__content"},s.a.createElement(B.a,null,e.length>0?s.a.createElement(Lo,{data:e,onThumbnailAdd:u}):s.a.createElement("div",{className:"brz-ed-popup-two-blocks__grid brz-ed-popup-two-blocks__grid-clear"},s.a.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},Object(ie.a)("Nothing here, please refine your search."))))))))}}Object(i.a)(tn,"defaultProps",{showSidebar:!0,showSearch:!0,loading:!1,kits:[],styles:[],types:[],categories:[],blocks:[],HeaderSlotLeft:v.default.noop,onAddBlocks:v.default.noop,onClose:v.default.noop,onChange:v.default.noop,onChangeKit:v.default.noop});var on=tn;function nn(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function an(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?nn(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):nn(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class rn extends l.Component{constructor(...e){super(...e),Object(i.a)(this,"state",{kits:[],loading:!0,styles:[],types:[],categories:[],blocks:[]}),Object(i.a)(this,"mounted",!1),Object(i.a)(this,"handleThumbnailAdd",async e=>{const{projectFonts:t,onAddBlocks:o,onClose:n}=this.props,a=an(an({},await this.getBlockResolve(e.id)),{},{blockId:e.id}),r=Object(Io.a)(Object(Io.b)({models:a}),t);o({block:a,fonts:await Object(No.r)(r)}),n()}),Object(i.a)(this,"handleImportKit",async e=>{const{selectedKit:t,projectFonts:o,projectStyles:n,dispatch:a}=this.props,{kits:r}=this.state;if(t===e)return;const i=this.getKitData(r,e),{styles:l}=i;if(this.setState(i),l.some(({id:e})=>!n.some(({id:t})=>t===e))){const t=l.reduce((e,{fontStyles:t})=>e.concat(Object(Io.d)(t)),[]),n=await Object(No.r)(Object(Io.a)(t,o));a(Object(Qo.G)({selectedKit:e,styles:l?Object(No.s)(l):void 0,fonts:n}))}else a(Object(Qo.I)(e))})}async getMeta(){const{type:e}=this.props;if("popup"===e){const e=await fetch(Object(ue.a)("popups/meta.json"));return await e.json()}{const e=await fetch(Object(ue.a)("kits/meta.json"));return await e.json()}}async getBlockResolve(e){const{type:t}=this.props;if("popup"===t){const t=await fetch(Object(Ao.h)("popups",e));return await t.json()}{const t=await fetch(Object(Ao.h)("kits",e));return await t.json()}}getKitData(e,t=this.props.selectedKit){const o=e.find(({id:e})=>e===t),{categories:n,blocks:a,styles:r,types:i}=o,l=[{id:"*",title:Object(ie.a)("All Categories")},...n],s=a.map(e=>an(an({},e),{},{thumbnailSrc:Object(Ao.a)(e)}));return{kits:e,styles:r,types:i,categories:l.filter(({hidden:e})=>!0!==e),blocks:s}}getPopupData({blocks:e,categories:t=[],types:o=[]}){const n=[{id:"*",title:Object(ie.a)("All Categories")},...t];return{types:o,blocks:e.map(e=>an(an({},e),{},{pro:(!co.a||"blank"!==e.blank)&&e.pro,thumbnailSrc:Object(Ao.a)(e)})),categories:n.filter(({hidden:e})=>!0!==e)}}async componentDidMount(){this.mounted=!0;const e=await this.getMeta();if(this.mounted){const t="normal"===this.props.type?this.getKitData(e):this.getPopupData(e);this.setState(an(an({},t),{},{loading:!1}))}}componentWillUnmount(){this.mounted=!1}render(){const{kits:e,types:t,blocks:o,categories:n,loading:a}=this.state,{showSearch:r,showSidebar:i,selectedKit:l,HeaderSlotLeft:c}=this.props;return s.a.createElement(on,{loading:a,selectedKit:l,kits:e,blocks:o,categories:n,types:t,showSearch:r,showSidebar:i,HeaderSlotLeft:c,onChangeKit:this.handleImportKit,onChange:this.handleThumbnailAdd})}}Object(i.a)(rn,"defaultProps",{showSidebar:!0,showSearch:!0,showType:!0,showCategories:!0,type:"normal",HeaderSlotLeft:v.default.noop(),onAddBlocks:v.default.noop,onClose:v.default.noop});var ln=Object(no.b)(e=>({selectedKit:Object(so.E)(e).data.selectedKit,projectFonts:Object(so.m)(e),projectStyles:Object(so.K)(e)}),e=>({dispatch:e}))(rn),sn=o(28);class cn extends l.Component{constructor(...e){super(...e),Object(i.a)(this,"state",{search:""}),Object(i.a)(this,"handleThumbnailAdd",async e=>{const{globalBlocks:t,projectFonts:o,onAddBlocks:n,onClose:a}=this.props,{resolve:r}=e,i=Object(Io.a)(Object(Io.b)({models:r,globalBlocks:t}),o);n({block:r,fonts:await Object(No.r)(i)}),a()}),Object(i.a)(this,"handleThumbnailRemove",e=>{const{dispatch:t}=this.props,{id:o}=e;t(Object(sn.h)({id:o}))})}getBlocks(){const{type:e,globalBlocks:t}=this.props;return Object.values(t).filter(({data:t,meta:o={}})=>!t.deleted&&o.type===e)}renderThumbnails(e){const{HeaderSlotLeft:t,showSearch:o}=this.props;return s.a.createElement(l.Fragment,null,o&&s.a.createElement(t,null,s.a.createElement(eo,{className:"brz-ed-popup-two-header__search",value:this.state.search,onChange:e=>this.setState({search:e})})),s.a.createElement("div",{className:"brz-ed-popup-two-body__content"},s.a.createElement(B.a,null,s.a.createElement(Lo,{data:e,onThumbnailAdd:this.handleThumbnailAdd,onThumbnailRemove:this.handleThumbnailRemove}))))}renderEmpty(){const{HeaderSlotLeft:e,showSearch:t,type:o}=this.props;let n,a=Object(ie.a)("Nothing here yet, make a global block first.");switch(o){case"popup":n=co.b?"editor/img/global_condition_popups_toolbar.gif":"editor/img/global_popups_toolbar.gif",a=Object(ie.a)("Nothing here yet, make a global popup first.");break;default:n="editor/img/global_toolbar.gif"}return s.a.createElement(l.Fragment,null,t&&s.a.createElement(e,null,s.a.createElement(eo,{className:"brz-ed-popup-two-header__search",value:this.state.search,onChange:e=>this.setState({search:e})})),s.a.createElement("div",{className:"brz-ed-popup-two-body__content brz-flex-xs-column"},s.a.createElement("div",{className:"brz-ed-popup-two-blocks__grid brz-ed-popup-two-blocks__grid-clear"},""!==this.state.search?s.a.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},Object(ie.a)("Nothing here, please refine your search.")):s.a.createElement(l.Fragment,null,s.a.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},a),s.a.createElement("img",{src:`${Object(ue.a)(n)}?${Math.random()}`,className:"brz-ed-popup-two-blocks__grid-clear-image-global",alt:"Global"})))))}renderProInfo(){return s.a.createElement("div",{className:"brz-ed-tooltip-content__pro"},s.a.createElement("p",{className:"brz-p brz-ed-tooltip-content__pro-title"},Object(ie.a)("You can't add it again")))}renderThumbnailTooltip(e){return s.a.createElement(Se.b,{className:"brz-ed-global-tooltip",overlayClassName:"brz-ed-tooltip--delay-1",size:"small",offset:"5",openOnClick:!1,overlay:this.renderProInfo()},e)}render(){const{globalBlocksInPage:e}=this.props,t=this.getBlocks();if(0===t.length)return this.renderEmpty();const o=t.map(t=>{const{url:o,width:n,height:a}=Object(Ao.b)(t.data),{type:r,value:{_id:i}}=t.data,l=!co.b&&"SectionPopup"!==r&&"SectionPopup2"!==r&&e[i];return{id:i,thumbnailSrc:o,thumbnailWidth:n,thumbnailHeight:a,showRemoveIcon:!0,renderWrapper:e=>l?this.renderThumbnailTooltip(e):e,inactive:l,resolve:{type:"GlobalBlock",value:{_id:i}}}},[]);return this.renderThumbnails(o)}}Object(i.a)(cn,"defaultProps",{type:"normal",showSearch:!0,onAddBlocks:v.default.noop,onClose:v.default.noop,HeaderSlotLeft:v.default.noop}),Object(i.a)(cn,"propTypes",{type:oo.a.oneOf(["normal","popup"]),showSearch:oo.a.bool,showSidebar:oo.a.bool,onAddBlocks:oo.a.func,onClose:oo.a.func,HeaderSlotLeft:oo.a.func});var dn=Object(no.b)(e=>({globalBlocks:Object(so.o)(e),globalBlocksInPage:Object(so.p)(e),projectFonts:Object(so.m)(e)}),e=>({dispatch:e}))(cn);const un=()=>{const{hash:e,url:t,cloudSync:o}=f.a.get("wp").api,n=f.a.get("editorVersion"),a=He(t,{hash:e,version:n,action:o});return new Promise((e,t)=>{Object(pe.K)(a,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(Fe).then(o=>{const{status:n,data:a}=o;if(!n||n>=400)throw o;{const{synchronized:n}=a;0===n?e(o):un().then(e).catch(t)}}).catch(t)})},pn=()=>{const{hash:e,url:t,cloudSyncAllowed:o}=f.a.get("wp").api,n=f.a.get("editorVersion"),a=He(t,{hash:e,version:n,action:o});return Object(pe.K)(a,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(Fe).then(e=>e)},bn=()=>{const[e,t]=Object(l.useState)(!1),[o,n]=Object(l.useState)(!1),[a,r]=Object(l.useState)(void 0);return Object(l.useEffect)(()=>{o&&(()=>{const{hash:e,url:t,cloudSignOut:o}=f.a.get("wp").api,n=f.a.get("editorVersion"),a=He(t,{hash:e,version:n,action:o});return Object(pe.K)(a,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(Fe).then(e=>e)})().then(e=>{!e.status||e.status>=400?(r(e),uo.a.error(Object(ie.a)("Something went wrong"),{toastContainer:window.parent.document.body})):(n(!1),t(!0))}).catch(e=>{n(!1),r(e),uo.a.error(Object(ie.a)("Something went wrong"),{toastContainer:window.parent.document.body})})},[o]),Object(l.useEffect)(()=>{e&&t(!1)},[e]),{isDisconnect:e,error:a,loading:o,setDisconnect:()=>{n(!0)}}};var mn=o(164);const hn={updateAuthorization:sn.v};var gn=Object(no.b)(e=>({isAuthorized:"connected"===Object(so.a)(e),syncAllowed:Object(so.L)(e)}),hn)(e=>{const{isAuthorized:t,syncAllowed:o,onSuccessSync:n,updateAuthorization:a}=e,{isSync:r,setSync:i,loading:c}=(()=>{const[e,t]=Object(l.useState)(!1),[o,n]=Object(l.useState)(!1),[a,r]=Object(l.useState)(void 0);return Object(l.useEffect)(()=>{o&&un().then(e=>{!e.status||e.status>=400?(r(e),uo.a.error(Object(ie.a)("Unsuccessful sync"),{toastContainer:window.parent.document.body})):(n(!1),t(!0),uo.a.success(Object(ie.a)("Done, your library was synced"),{toastContainer:window.parent.document.body}))}).catch(e=>{n(!1),r(e),uo.a.error(Object(ie.a)("Unsuccessful sync"),{toastContainer:window.parent.document.body})})},[o]),{isSync:e,error:a,loading:o,setSync:()=>{n(!0)}}})(),{isDisconnect:d,setDisconnect:u,loading:p}=bn();return Object(l.useEffect)(()=>{r&&n&&n()},[r]),Object(l.useEffect)(()=>{d&&(a("disconnect"),Object(mn.b)("disconnect"))},[d]),s.a.createElement("div",{className:"brz-ed-popup-two__cloud"},s.a.createElement("p",{className:"brz-p"},t?Object(ie.a)("Saved Library is syncing to your Account"):Object(ie.a)("Access your Library in any WP install by connecting your Account")),s.a.createElement("div",{className:"brz-ed-popup-two__cloud-icon"},s.a.createElement("div",{className:"brz-d-inline-block brz-p-relative"},s.a.createElement(F.b,{icon:"nc-upload"}),t&&s.a.createElement("div",{className:"brz-ed-popup-two__cloud-icon--connect"},s.a.createElement(F.b,{icon:"nc-check-circle-white"})))),s.a.createElement(Ge,{className:"brz-ed-popup-two__cloud-button",size:4,color:t?"gray":"teal",loading:p,onClick:()=>{t?u():Ds.open({mode:"stack",prompt:"authorization",props:{}})}},t?Object(ie.a)("Disconnect"):Object(ie.a)("Connect")),t&&o&&s.a.createElement(Ge,{className:"brz-ed-popup-two__cloud-button-sync",size:4,color:"teal",loading:c,onClick:()=>{i()}},Object(ie.a)("Sync Now")),!o&&s.a.createElement("p",{className:"brz-p"},Object(ie.a)("Your Plugin version is incompatible with Account version, please update plugin")))});const vn=e=>{const{alignX:t="top",alignY:o="left",className:n,children:a}=e,r=g()("brz-ed-popup-two__footer",n,{["brz-ed-popup-two__footer--x-"+t]:t,["brz-ed-popup-two__footer--y-"+o]:o});return s.a.createElement("div",{className:r},a)};function fn(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function yn(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?fn(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):fn(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const On={flex:1};class Sn extends l.Component{constructor(...e){var t,o;super(...e),Object(i.a)(this,"importRef",s.a.createRef()),Object(i.a)(this,"currentFilter",{type:null!==(t=null===(o=this.props.types[0])||void 0===o?void 0:o.id)&&void 0!==t?t:"BLOCK",search:""}),Object(i.a)(this,"getDefaultFilter",v.default.memoize(e=>({type:e.length?e[0].id:"BLOCK",search:""}))),Object(i.a)(this,"getTypesCounters",()=>{const{items:e,types:t}=this.props,o=t.reduce((e,{id:t})=>yn(yn({},e),{},{[t]:0}),{});return e.forEach(({type:e})=>{o[e]++}),o}),Object(i.a)(this,"filterData",(e,t)=>{const o=t.type===e.type,n=""===t.search||new RegExp(t.search.replace(/[.*+?^${}()|[\]\\]/g,""),"i").test(e.keywords||"");return o&&n}),Object(i.a)(this,"handleImport",e=>{const{types:t,onImport:o}=this.props,n=e.target.files;if(null!=n&&n.length&&"function"==typeof o){const e=this.getActiveType(t),a=this.importRef.current;o(n,e),a&&(a.value="")}}),Object(i.a)(this,"handleExport",()=>{const{items:e,types:t,onExport:o}=this.props;if("function"==typeof o){const n=this.getActiveType(t);o(e.filter(e=>this.filterData(e,this.currentFilter)).map(e=>e.uid),n)}})}getActiveType(e){return this.currentFilter.type||e[0].id}renderLoading(){return s.a.createElement("div",{className:"brz-ed-popup-two-body__content brz-ed-popup-two-body__content--loading"},s.a.createElement(F.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}))}renderEmpty(){const{type:e,types:t,search:o,onImport:n}=this.props,a=this.getActiveType(t),r={width:"LAYOUT"===a?"524px":"322px"};let i="editor/img/save_toolbar.gif",l=Object(ie.a)("Nothing here yet, save a block first.");const c="function"==typeof n;return"popup"===e&&(i="editor/img/save_popups_toolbar.gif",l=Object(ie.a)("Nothing here yet, save a popup first.")),"LAYOUT"===a&&(l=Object(ie.a)("Nothing here yet, save a layout first."),i="editor/img/save_layout.gif"),s.a.createElement("div",{className:"brz-ed-popup-two-body__content brz-flex-xs-column"},s.a.createElement("div",{className:"brz-ed-popup-two-blocks__grid brz-ed-popup-two-blocks__grid-clear"},""!==o?s.a.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},Object(ie.a)("Nothing here, please refine your search.")):s.a.createElement(s.a.Fragment,null,s.a.createElement("p",{className:"brz-ed-popup-two-blocks__grid-clear-text"},l),s.a.createElement("img",{key:a,style:r,src:Object(ue.a)(i),className:"brz-ed-popup-two-blocks__grid-clear-image-saved",alt:"Saved"}))),c&&s.a.createElement(vn,{alignX:"middle",alignY:"middle"},this.renderImport()))}renderItems(e){const{thumbnailSync:t,thumbnailDownload:o,onChange:n,onDelete:a,onExport:r,onImport:i}=this.props,l="function"==typeof i,c="function"==typeof r,d=l||c;return s.a.createElement("div",{className:"brz-ed-popup-two-body__content brz-flex-xs-column"},s.a.createElement(B.a,{style:On},s.a.createElement(Lo,{showSync:t,showDownload:o,data:e,onThumbnailAdd:n,onThumbnailRemove:a})),d&&s.a.createElement(vn,{alignX:"middle",alignY:"middle"},c&&this.renderExport(),l&&this.renderImport()))}renderImport(){const{importLoading:e,types:t}=this.props,o=this.getActiveType(t),n=g()("brz-label brz-ed-popup-two-body__content--import",{"brz-pointer-events-none":e}),a="POPUP"===o?Object(ie.a)("Import New Popup"):"BLOCK"===o?Object(ie.a)("Import New Block"):Object(ie.a)("Import New Layout");return s.a.createElement("label",{className:n},s.a.createElement(Ge,{type:"link",color:"teal",loading:e,size:2},a),s.a.createElement("input",{ref:this.importRef,hidden:!0,className:"brz-input",type:"file",accept:"zip,application/octet-stream,application/zip,application/x-zip,application/x-zip-compressed",onChange:this.handleImport}))}renderExport(){const{exportLoading:e,types:t}=this.props,o=this.getActiveType(t),n="POPUP"===o?Object(ie.a)("Export All Popups"):"BLOCK"===o?Object(ie.a)("Export All Blocks"):Object(ie.a)("Export All Layouts");return s.a.createElement(Ge,{color:"gray",loading:e,size:2,onClick:this.handleExport},n)}render(){const{loading:e,items:t,types:o,showSearch:n,sidebarSync:a,HeaderSlotLeft:r,onSuccessSync:i}=this.props;return s.a.createElement(Yt,{data:t,filterFn:this.filterData,defaultFilter:this.getDefaultFilter(o)},(t,l,c)=>s.a.createElement(s.a.Fragment,null,n&&s.a.createElement(r,null,s.a.createElement(eo,{className:"brz-ed-popup-two-header__search",value:l.search,onChange:e=>{c({search:e}),this.currentFilter.search=e}})),s.a.createElement(Qt,null,s.a.createElement(qt,{title:"LIBRARY"},s.a.createElement(Xt,{lists:o,counters:this.getTypesCounters(),value:l.type,onChange:e=>{c({type:e}),this.currentFilter.type=e}})),a&&s.a.createElement(qt,{separator:!0},s.a.createElement(gn,{onSuccessSync:i}))),e?this.renderLoading():0===t.length?this.renderEmpty():this.renderItems(t)))}}Object(i.a)(Sn,"defaultProps",{type:"normal",showSearch:!0,sidebarSync:!0,search:"",loading:!1,items:[],types:[],HeaderSlotLeft:l.Component,onChange:v.default.noop,onDelete:v.default.noop,onSuccessSync:v.default.noop});var xn=Sn,Cn=o(197);const jn=e=>"items"in e.data,Pn=e=>"value"in e.data&&"normal"===e.meta.type,Bn=e=>"value"in e.data&&"popup"===e.meta.type;var wn=o(42);function Tn(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function zn(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Tn(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Tn(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class En extends l.Component{constructor(...e){var t;super(...e),Object(i.a)(this,"state",{search:"",blocks:[],loading:!0,importLoading:!1,exportLoading:!1,types:(t=this.props.type,"normal"===t?[{id:"BLOCK",title:Object(ie.a)("Blocks"),icon:"nc-blocks"},{id:"LAYOUT",title:Object(ie.a)("Layouts"),icon:"nc-pages"}]:[{id:"POPUP",title:Object(ie.a)("Popups"),icon:"nc-blocks"}])}),Object(i.a)(this,"unMount",!1),Object(i.a)(this,"withImportExport",!0),Object(i.a)(this,"updateBlocks",async()=>{const e="normal"===this.props.type?await this.getBlocks():await this.getPopups();this.unMount||this.setState({blocks:e})}),Object(i.a)(this,"handleAddItems",({type:e,uid:t})=>{switch(this.handleLoadingBlock(t,!0),e){case"BLOCK":this.handleAddBlock(t).catch(()=>{var e;this.handleLoadingBlock(t,!1);const{getParentNode:o}=this.props,n=null===(e=(o&&o()||document).ownerDocument)||void 0===e?void 0:e.body;uo.a.error(Object(ie.a)("Unable to insert block. Please try again or contact support"),{toastContainer:n})});break;case"POPUP":this.handleAddPopup(t).catch(()=>{var e;this.handleLoadingBlock(t,!1);const{getParentNode:o}=this.props,n=null===(e=(o&&o()||document).ownerDocument)||void 0===e?void 0:e.body;uo.a.error(Object(ie.a)("Unable to insert popup. Please try again or contact support"),{toastContainer:n})});break;case"LAYOUT":this.handleAddLayout(t).catch(()=>{var e;this.handleLoadingBlock(t,!1);const{getParentNode:o}=this.props,n=null===(e=(o&&o()||document).ownerDocument)||void 0===e?void 0:e.body;uo.a.error(Object(ie.a)("Unable to insert layout. Please try again or contact support"),{toastContainer:n})})}}),Object(i.a)(this,"handleDeleteItem",({type:e,uid:t})=>{switch(e){case"BLOCK":case"POPUP":Object(pe.f)(t);break;case"LAYOUT":Object(pe.g)(t)}this.setState(({blocks:e})=>({blocks:e.filter(e=>e.uid!==t)}))}),Object(i.a)(this,"handleImport",async(e,t)=>{this.setState({importLoading:!0});const o=Object(Qe.match)([ho,()=>Object(pe.fb)(e)],[go,()=>Object(pe.hb)(e)],[vo,()=>Object(pe.gb)(e)]);try{const e=await o(t);e.success.length&&(await this.updateBlocks(),((e,t)=>{const o={toastContainer:window.parent.document.body,hideAfter:5};e.success.forEach(e=>{switch(t){case"BLOCK":jn(e)&&uo.a.error("Your .zip contains layouts. We imported them in the Saved Layouts library",o),Bn(e)&&uo.a.error("Your .zip contains popups blocks. We imported them in the Saved Popups library",o);break;case"POPUP":jn(e)&&uo.a.error("Your .zip contains layouts. We imported them in the Saved Layouts library",o),Pn(e)&&uo.a.error("Your .zip contains regular blocks. We imported them in the Saved Blocks library",o);break;case"LAYOUT":Pn(e)&&uo.a.error("Your .zip contains regular blocks. We imported them in the Saved Blocks library",o),Bn(e)&&uo.a.error("Your .zip contains popups blocks. We imported them in the Saved Popups library",o)}})})(e,t)),this.unMount||(this.setState({importLoading:!1}),e.errors.forEach(({message:e})=>{uo.a.error(e,{toastContainer:window.parent.document.body})}))}catch(e){0,this.unMount||this.setState({importLoading:!1},()=>{const t=Oo(e);uo.a.error(t,{toastContainer:window.parent.document.body})})}})}async componentDidMount(){const e=f.a.getAll(),t="normal"===this.props.type?await this.getBlocks():await this.getPopups();Object(wn.b)(e)&&(this.withImportExport=!e.user.isGuest),this.unMount||this.setState({blocks:t,loading:!1})}componentDidUpdate(e){e.isAuthorized!==this.props.isAuthorized&&this.updateBlocks()}componentWillUnmount(){this.unMount=!0}async getBlocks(){const e=(await Object(pe.A)()).filter(({meta:e})=>"normal"===(null==e?void 0:e.type)),t=await Object(pe.C)();return[...e.map(e=>zn(zn({},this.makeThumbsData(e)),{},{uid:e.uid,type:"BLOCK",synchronized:e.synchronized||!1,synchronizable:e.synchronizable||!1})),...t.map(e=>zn(zn({},this.makeThumbsData(e)),{},{uid:e.uid,type:"LAYOUT",synchronized:e.synchronized||!1,synchronizable:e.synchronizable||!1}))]}async getAssets(e){const{projectFonts:t,projectExtraFontStyles:o}=this.props,{extraFontStyles:n=[]}=e.meta||{},a=Object(Io.b)({models:e}),r=Object(Io.d)(n),i=await Object(No.r)(Object(Io.a)([...a,...r],t)),l=n.filter(({id:e})=>!o.some(t=>t.id===e));return{fonts:i,extraFontStyles:Object(No.q)(l)}}async getPopups(){return(await Object(pe.A)()).filter(({meta:e})=>"popup"===(null==e?void 0:e.type)).map(e=>zn(zn({},this.makeThumbsData(e)),{},{uid:e.uid,type:"POPUP",synchronized:e.synchronized||!1,synchronizable:e.synchronizable||!1}))}async handleAddLayout(e){const{onAddBlocks:t,onClose:o}=this.props,{data:n,meta:a}=await Object(pe.B)(e),{fonts:r,extraFontStyles:i}=await this.getAssets({data:n,meta:a});this.unMount||(t({fonts:r,extraFontStyles:i,blocks:n.items}),o())}async handleAddBlock(e){const{onAddBlocks:t,onClose:o}=this.props,{data:n,meta:a}=await Object(pe.z)(e),{fonts:r,extraFontStyles:i}=await this.getAssets({data:n,meta:a});this.unMount||(t({fonts:r,extraFontStyles:i,blocks:[n]}),o())}async handleAddPopup(e){const{onAddBlocks:t,onClose:o}=this.props,{data:n,meta:a}=await Object(pe.z)(e),{fonts:r,extraFontStyles:i}=await this.getAssets({data:n,meta:a});this.unMount||(t({fonts:r,extraFontStyles:i,blocks:[n]}),o())}handleLoadingBlock(e,t){this.setState(Object(c.a)(o=>{o.blocks.forEach((n,a)=>{n.uid==e&&(o.blocks[a].loading=t)})}))}makeThumbsData(e){const{url:t,width:o,height:n}=Object(Ao.b)(e);return{thumbnailSrc:t,thumbnailWidth:o,thumbnailHeight:n,showRemoveIcon:!0!==e.isCloudEntity,loading:!1}}render(){const{loading:e,blocks:t,types:o,search:n,importLoading:a,exportLoading:r}=this.state,{type:i,HeaderSlotLeft:l,showSearch:c}=this.props,d=Object(Cn.b)();return s.a.createElement(xn,{type:i,loading:e,items:t,types:o,showSearch:c,sidebarSync:!d,thumbnailSync:A.q,thumbnailDownload:this.withImportExport,search:n,importLoading:a,exportLoading:r,HeaderSlotLeft:l,onSuccessSync:this.updateBlocks,onChange:this.handleAddItems,onDelete:this.handleDeleteItem,onImport:this.withImportExport?this.handleImport:void 0})}}Object(i.a)(En,"defaultProps",{type:"normal",showSearch:!0,projectFonts:{},projectExtraFontStyles:[],isAuthorized:!1,onAddBlocks:v.default.noop,onClose:v.default.noop,HeaderSlotLeft:l.Component,getParentNode:()=>null});var kn=Object(no.b)(e=>({projectFonts:Object(so.m)(e),projectExtraFontStyles:Object(so.l)(e),isAuthorized:"connected"===Object(so.a)(e)}))(En);const Hn=[{id:"template",title:co.d?Object(ie.a)("Stories"):Object(ie.a)("Layouts"),icon:"nc-pages",renderTab:e=>s.a.createElement(Jo,Object(C.a)({},e,{type:co.d?"stories":"templates"}))},{id:"blocks",title:co.b?Object(ie.a)("Popups"):Object(ie.a)("Blocks"),icon:"nc-blocks",renderTab:e=>s.a.createElement(ln,e)},{id:"saved",title:co.b?Object(ie.a)("Saved Popups"):Object(ie.a)("Saved"),icon:"nc-save-section",renderTab:e=>s.a.createElement(kn,e)},{id:"global",title:co.b?Object(ie.a)("Global Popups"):Object(ie.a)("Global Blocks"),icon:"nc-global",renderTab:e=>s.a.createElement(dn,e)}];class Fn extends l.Component{constructor(...e){super(...e),Object(i.a)(this,"state",{currentTab:this.props.activeTab||"blocks"}),Object(i.a)(this,"wrapper",s.a.createRef()),Object(i.a)(this,"mounted",!1),Object(i.a)(this,"getWrapper",()=>this.wrapper.current),Object(i.a)(this,"handleChange",e=>{const{currentTab:t}=this.state,{onChangeBlocks:o,onChangeGlobal:n,onChangeSaved:a,onChangeTemplate:r}=this.props;switch(t){case"blocks":null==o||o(e);break;case"template":null==r||r(e);break;case"saved":null==a||a(e);break;case"global":null==n||n(e)}}),Object(i.a)(this,"handleClose",()=>{var e,t;this.mounted&&(null===(e=(t=this.props).onClose)||void 0===e||e.call(t))})}componentDidMount(){this.mounted=!0}componentWillUnmount(){this.mounted=!1}hasSearch(e){return!!Object($t.a)(e+"Search",this.props)}hasSidebar(e){return!!Object($t.a)(e+"Sidebar",this.props)}handleTabChange(e){this.setState({currentTab:e})}renderTabs(){const{currentTab:e}=this.state,t=Hn.filter(({id:e})=>{const t="show"+Object(Gt.c)(e);return!!Object($t.a)(t,this.props)}).map(t=>{const o=g()("brz-ed-popup-two-tab-item",{"brz-ed-popup-two-tab-item-active":t.id===e});return s.a.createElement("div",{key:t.id,className:o,onClick:()=>{this.handleTabChange(t.id)}},s.a.createElement("div",{className:"brz-ed-popup-two-tab-icon"},s.a.createElement(F.b,{icon:t.icon})),s.a.createElement("div",{className:"brz-ed-popup-two-tab-name"},t.title))});return s.a.createElement("div",{className:"brz-ed-popup-two-header"},s.a.createElement("div",{id:"brz-ed-popup-header-left-slot"}),s.a.createElement("div",{className:"brz-ed-popup-two-header__tabs"},t),s.a.createElement("div",{id:"brz-ed-popup-header-right-slot"}),s.a.createElement("div",{className:"brz-ed-popup-two-btn-close",onClick:this.props.onClose}))}renderContent(){const{currentTab:e}=this.state,{renderTab:t}=Hn.find(({id:t})=>t===e)||Hn[0];return t({HeaderSlotLeft:e=>s.a.createElement(_n,Object(C.a)({},e,{slot:"left"})),type:this.props.type,onClose:this.handleClose,showSearch:this.hasSearch(e),showSidebar:this.hasSidebar(e),onAddBlocks:this.handleChange,getParentNode:this.getWrapper})}render(){return s.a.createElement(y.a,{opened:this.props.opened,onClose:this.handleClose},s.a.createElement("div",{ref:this.wrapper,className:"brz-ed-popup-two-wrapper brz-ed-popup-two-blocks"},this.renderTabs(),s.a.createElement("div",{className:"brz-ed-popup-two-body"},this.renderContent())))}}Object(i.a)(Fn,"defaultProps",{activeTab:"blocks",type:"normal",opened:!1,showTemplate:!0,showBlocks:!0,showSaved:!0,showGlobal:!0,templateSidebar:!0,blocksSidebar:!0,savedSidebar:!0,globalSidebar:!0,templateSearch:!0,blocksSearch:!0,savedSearch:!0,globalSearch:!0,onChangeBlocks:v.default.noop,onChangeTemplate:v.default.noop,onChangeSaved:v.default.noop,onChangeGlobal:v.default.noop,onClose:v.default.noop});class _n extends l.Component{constructor(...e){super(...e),Object(i.a)(this,"state",{isMounted:!1}),Object(i.a)(this,"headerSlotNode",null)}componentDidMount(){this.headerSlotNode=window.parent.document.querySelector(`#brz-ed-popup-header-${this.props.slot}-slot`),this.setState({isMounted:!0})}render(){return this.state.isMounted&&this.headerSlotNode&&Dt.a.createPortal(this.props.children,this.headerSlotNode)}}Object(i.a)(_n,"defaultProps",{slot:"left"});var Rn=Fn;const Ln=({formId:e})=>{const{api:t}=f.a.get("wp"),o=f.a.get("editorVersion"),n=He(t.url,{formId:e,action:t.getForm,hash:t.hash,version:o});return Object(pe.K)(n,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(Fe).then(e=>e)},Mn=({formId:e})=>{const{api:t}=f.a.get("wp"),o=f.a.get("editorVersion"),n=He(t.url,{action:t.createForm,hash:t.hash,version:o});return Object(pe.K)(n,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify({id:e})}).then(Fe).then(e=>e)},Wn=({formId:e,id:t})=>{const{api:o}=f.a.get("wp"),n=f.a.get("editorVersion"),a=He(o.url,{action:o.getIntegration,hash:o.hash,version:n,formId:e,integration:t});return Object(pe.K)(a,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(Fe).then(e=>e)},In=({formId:e,id:t})=>{const{api:o}=f.a.get("wp"),n=f.a.get("editorVersion"),a=He(o.url,{action:o.createIntegration,hash:o.hash,version:n,formId:e});return Object(pe.K)(a,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify({id:t})}).then(Fe).then(e=>e)},Nn=e=>{let{formId:t}=e,o=Object(x.a)(e,["formId"]);const{api:n}=f.a.get("wp"),a=f.a.get("editorVersion"),r=He(n.url,{action:n.updateIntegration,hash:n.hash,version:a,formId:t}),i=v.default.pick(o,["id","usedAccount","fieldsMap","usedList","confirmationNeeded","usedFolder","completed"]);return Object(pe.K)(r,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(i)}).then(Fe).then(e=>e)};function An(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Vn(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?An(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):An(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Dn=(e,t)=>{const o=t.map(e=>e.title).join(" & ");switch(e.code){case 401:return`${Object(ie.a)("Incorrect")} ${o}`;case 400:return Object(ie.a)("Duplicate Account");default:return Object(ie.a)("Something went wrong")}};class $n extends l.Component{constructor(e,t){super(e),Object(i.a)(this,"handleChange",(e,t)=>{this.setState(o=>({apiKeyValue:Vn(Vn({},o.apiKeyValue),{},{[""+t]:e.trim()})}))}),Object(i.a)(this,"handleConnect",async()=>{const{app:{id:e,data:t},formId:o,onChange:n,onChangeProgress:a,onChangeNext:r}=this.context,{apiKeyValue:i}=this.state,l=Object.values(i);if(this.setState({nextLoading:!0,error:null}),l.some(e=>!e))await Object(pe.H)(),this.setState({error:Object(ie.a)("Fields are empty"),nextLoading:!1});else{const{status:l,data:s}=await(({formId:e,id:t,data:o})=>{const{api:n}=f.a.get("wp"),a=f.a.get("editorVersion"),r=He(n.url,{action:n.authenticateIntegration,hash:n.hash,version:a,formId:e,integration:t});return Object(pe.K)(r,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(o)}).then(Fe).then(e=>e)})(Vn(Vn({},t),{},{formId:o,data:i}));if(200!==l)this.setState({nextLoading:!1,error:Dn(s,t.accountApiKeys)});else{const o=t.accounts||[];n(e,Vn(Vn({},t),{},{accounts:[...o,s]})),a({showProgress:!0}),r()}}}),Object(i.a)(this,"handlePrev",async()=>{const{oldStage:e,onChangeNext:t,onChangePrev:o,onChangeProgress:n}=this.context;this.setState({error:null,prevLoading:!0}),await Object(pe.H)(),n({showProgress:!0}),"account"===e?t("account"):o()});const{data:{accountApiKeys:o}}=t.app,n=o.reduce((e,{name:t})=>Vn(Vn({},e),{},{[""+t]:""}),{});this.state={apiKeyValue:n,nextLoading:!1,prevLoading:!1,error:null}}static async onBeforeLoad(e,t){const{formId:o,app:{id:n,data:a},onChange:r,onChangeProgress:i,onError:l}=e;let{status:s,data:c}=await(({formId:e,id:t})=>{const{api:o}=f.a.get("wp"),n=f.a.get("editorVersion"),a=He(o.url,{action:o.getAccountProperties,hash:o.hash,version:n,formId:e,integration:t});return Object(pe.K)(a,{method:"GET",headers:{"Content-Type":"application/json; charset=utf-8"}}).then(Fe).then(e=>e)})({id:n,formId:o});(!s||s>=400)&&(c=[],l("Something went wrong")),r(n,Vn(Vn({},a),{},{accountApiKeys:c})),a.usedAccount||a.accounts&&a.accounts.length?t.onChangeNext():i({showProgress:!1})}render(){const{app:e}=this.context,{apiKeyValue:t,error:o,nextLoading:n,prevLoading:a}=this.state,r=e.data.accountApiKeys.map(({title:e,name:o})=>({title:e,name:o,value:t[o]}));return s.a.createElement(Xe,Object(C.a)({},e,{data:r,error:o,nextLoading:n,prevLoading:a,onPrev:this.handlePrev,onNext:this.handleConnect,onChange:this.handleChange}))}}Object(i.a)($n,"contextType",me);var Gn=$n;function Un(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Kn(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Un(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Un(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class Yn extends l.Component{constructor(e,t){super(e),Object(i.a)(this,"handleActive",e=>{this.setState({active:e})}),Object(i.a)(this,"handleConnect",async()=>{const{onChangeProgress:e,onChangePrev:t}=this.context;this.setState({connectLoading:!0}),await Object(pe.H)(),e({showProgress:!1}),t("connect")}),Object(i.a)(this,"handleDisconnect",async()=>{const{app:{id:e,data:t},formId:o,onChange:n,onDisconnectApp:a,onChangeProgress:r}=this.context;this.setState({nextLoading:!0,error:null});const{status:i,data:l}=await Nn(Kn(Kn({},t),{},{formId:o,usedAccount:null}));200!==i?this.setState({nextLoading:!1,error:Object(ie.a)("Something went wrong")}):(this.setState({mode:"account",nextLoading:!1}),n(e,Kn(Kn({},t),l)),r({showProgress:!0}),a(e))}),Object(i.a)(this,"handleAccountMode",async()=>{this.setState({prevLoading:!0,error:null}),await Object(pe.H)(),this.context.onChangeProgress({showProgress:!0}),this.setState({mode:"account",prevLoading:!1})}),Object(i.a)(this,"handleDisconnectMode",async()=>{this.setState({disconnectLoading:!0,error:null}),await Object(pe.H)(),this.context.onChangeProgress({showProgress:!1}),this.setState({mode:"disconnect",disconnectLoading:!1})}),Object(i.a)(this,"handleNext",async()=>{const{app:{id:e,data:t},formId:o,onChange:n,onChangeNext:a}=this.context,{active:r}=this.state;if(this.setState({nextLoading:!0,error:null}),r!==t.usedAccount){const{status:i,data:l}=await Nn(Kn(Kn({},t),{},{formId:o,usedAccount:r}));200!==i?this.setState({nextLoading:!1,error:Object(ie.a)("Something went wrong")}):(n(e,Kn(Kn({},t),l)),a())}else await Object(pe.H)(),a()}),Object(i.a)(this,"handlePrev",async()=>{const{onChangePrev:e}=this.context;this.setState({prevLoading:!0}),await Object(pe.H)(),e("appList")}),this.state={active:this.getActiveAccount(t.app.data),mode:"account",nextLoading:!1,prevLoading:!1,connectLoading:!1,disconnectLoading:!1}}getActiveAccount(e){const t=e.accounts.length?e.accounts[0].id:"";return e.usedAccount||t}render(){const{app:e}=this.context;return"account"===this.state.mode?s.a.createElement(Ke,Object(C.a)({},e,this.state,{onActive:this.handleActive,onConnect:this.handleConnect,onDisconnect:this.handleDisconnectMode,onConfirm:this.handleConfirm,onPrev:this.handlePrev,onNext:this.handleNext})):s.a.createElement(Je,Object(C.a)({},e,this.state,{descriptions:`Subscribers are automatically synced to your ${e.title} list`,onPrev:this.handleAccountMode,onNext:this.handleDisconnect}))}}Object(i.a)(Yn,"contextType",me);var qn=Yn;function Xn(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Zn(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Xn(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Xn(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class Jn extends l.Component{constructor(e,t){super(e),Object(i.a)(this,"handleActive",e=>{this.setState({active:e})}),Object(i.a)(this,"handleNext",async()=>{const{app:{id:e,data:t},formId:o,onChange:n,onChangeNext:a}=this.context,{active:r}=this.state;if(this.setState({nextLoading:!0,error:null}),r!==t.usedFolder){const{status:i,data:l}=await Nn(Zn(Zn({},t),{},{formId:o,usedFolder:r}));200!==i?this.setState({nextLoading:!1,error:Object(ie.a)("Something went wrong")}):(n(e,Zn(Zn({},t),l)),a())}else await Object(pe.H)(),a()}),Object(i.a)(this,"handlePrev",async e=>{this.setState({prevLoading:!0,error:null}),await Object(pe.H)(),e&&"string"==typeof e?this.context.onChangePrev(e):this.context.onChangePrev()}),this.state={active:this.getActiveClient(t.app.data),nextLoading:!1,prevLoading:!1}}getActiveClient(e){const{usedFolder:t,folders:o}=e,n=o.length?o[0].id:"";return t||n}render(){const{app:e}=this.context,{folders:t,accountPro:o}=e.data;return s.a.createElement(xt,Object(C.a)({},this.state,{listPro:o,lists:t,onActive:this.handleActive,onPrev:this.handlePrev,onNext:this.handleNext}))}}Object(i.a)(Jn,"contextType",me);var Qn=Jn;function ea(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ta(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ea(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ea(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class oa extends l.Component{constructor(e,t){super(e),Object(i.a)(this,"handleActive",(e,t)=>{const{formFields:o}=this.state,n=o.findIndex(({sourceId:t})=>t===e);this.setState({formFields:Object(tt.replaceAt)(o,n,ta(ta({},o[n]),{},{target:t}))})}),Object(i.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0,error:null}),await Object(pe.H)(),this.context.onChangePrev()}),Object(i.a)(this,"handleNext",async()=>{const{app:{id:e,data:t},formId:o,onChange:n,onChangeNext:a}=this.context,{formFields:r}=this.state;if(this.setState({nextLoading:!0,error:null}),We(t.fields,r,"select")){const{status:i,data:l}=await Nn(ta(ta({},t),{},{formId:o,fieldsMap:JSON.stringify(r),completed:!0}));200!==i?this.setState({nextLoading:!1,error:Object(ie.a)("Something went wrong")}):(n(e,ta(ta({},t),l)),a())}else await Object(pe.H)(),this.setState({error:Object(ie.a)("All fields marked with an asterisk ( * ) must be mapped."),nextLoading:!1})});const{app:{data:{fieldsMap:o,fields:n},restrictions:a},formFields:r}=t;this.state={formFields:Re(o,n,r,a),prevLoading:!1,nextLoading:!1,error:null}}render(){const{app:e}=this.context,{formFields:t,error:o,nextLoading:n,prevLoading:a}=this.state;return s.a.createElement(Ot,Object(C.a)({},e,e.data,{formFields:t,error:o,nextLoading:n,prevLoading:a,onActive:this.handleActive,onPrev:this.handlePrev,onNext:this.handleNext}))}}Object(i.a)(oa,"contextType",me);var na=oa;function aa(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ra(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?aa(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):aa(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class ia extends l.Component{constructor(e,t){super(e),Object(i.a)(this,"handleActive",(e,t)=>{const{formFields:o}=this.state,n=o.findIndex(({sourceId:t})=>t===e);this.setState({formFields:Object(tt.replaceAt)(o,n,ra(ra({},o[n]),{},{target:t}))})}),Object(i.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0,error:null}),await Object(pe.H)(),this.context.onChangePrev()}),Object(i.a)(this,"handleNext",async()=>{const{app:{id:e,data:t},formId:o,onChange:n,onChangeNext:a}=this.context,{formFields:r}=this.state;if(this.setState({error:null,nextLoading:!0}),We(t.fields,r,"input")){const{status:i,data:l}=await Nn(ra(ra({},t),{},{formId:o,fieldsMap:JSON.stringify(r),completed:!0}));200!==i?this.setState({nextLoading:!1,error:Object(ie.a)("Something went wrong")}):(n(e,ra(ra({},t),l)),a())}else await Object(pe.H)(),this.setState({error:Object(ie.a)("All fields cannot be empty"),nextLoading:!1})});const{app:{data:o,restrictions:n},formFields:a}=t,{fieldsMap:r,fields:l}=o||{};this.state={formFields:Re(r,l,a,n),prevLoading:!1,nextLoading:!1}}static async onBeforeLoad(e){const{app:{id:t,data:o},onChange:n}=e;n(t,ra(ra({},o),{},{fields:[]}))}render(){const{app:{title:e}}=this.context,{formFields:t,error:o,nextLoading:n,prevLoading:a}=this.state,r=t.map(({sourceTitle:e,sourceId:t,target:o})=>({title:e,name:t,value:"_auto_generate"===o?e:o}));return s.a.createElement(ft,{headTitle:Object(ie.a)("FORM FIELDS"),headDescription:`${e} ${Object(ie.a)("FIELDS")}`,data:r,error:o,nextLoading:n,prevLoading:a,onActive:this.handleActive,onPrev:this.handlePrev,onNext:this.handleNext})}}Object(i.a)(ia,"contextType",me);var la=ia;function sa(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ca(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?sa(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):sa(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class da extends l.Component{constructor(e){super(e),Object(i.a)(this,"handleChange",(e,t)=>{this.setState(({apiKeyValue:o})=>({apiKeyValue:ca(ca({},o),{},{[""+e]:t})}))}),Object(i.a)(this,"handleNext",async()=>{const{app:{id:e,data:t},formId:o,apiKeys:n,onChange:a,onChangeNext:r}=this.props,{apiKeyValue:i}=this.state;if(this.setState({nextLoading:!0,error:null}),n.find(({required:e,name:t})=>e&&!i[t]))await Object(pe.H)(),this.setState({error:Object(ie.a)("All fields marked with an asterisk ( * ) must be completed."),nextLoading:!1});else{const{status:n,data:l}=await(e=>{let{formId:t}=e,o=Object(x.a)(e,["formId"]);const{api:n}=f.a.get("wp"),a=f.a.get("editorVersion"),r=He(n.url,{action:n.updateIntegration,hash:n.hash,version:a,formId:t});return Object(pe.K)(r,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(o)}).then(Fe).then(e=>e)})(ca(ca(ca({},t),i),{},{formId:o,completed:!0}));200!==n?this.setState({nextLoading:!1,error:Object(ie.a)("Something went wrong")}):(a(e,ca(ca({},t),l)),r())}}),Object(i.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0}),await Object(pe.H)(),this.props.onChangePrev()}),this.state={apiKeyValue:this.getDefaultValue(),prevLoading:!1,nextLoading:!1,error:null}}getDefaultValue(){const{app:{data:e},apiKeys:t}=this.props;return t.reduce((t,{name:o})=>ca(ca({},t),{},{[""+o]:e[o]||""}),{})}render(){const{app:e,apiKeys:t}=this.props,{apiKeyValue:o,error:n,prevLoading:a,nextLoading:r}=this.state,i=t.map(e=>ca(ca({},e),{},{value:o[e.name]}));return s.a.createElement(ft,Object(C.a)({},e,{data:i,error:n,prevLoading:a,nextLoading:r,onActive:this.handleChange,onPrev:this.handlePrev,onNext:this.handleNext}))}}var ua=da;const pa=[{name:"emailTo",title:Object(ie.a)("Email To"),required:!0,helper:'<p class="brz-p">If you need to have multiple emails you can separate them by commas:</p>\n <p class="brz-p"><span class="brz-span">me@email.com,</span> <span class="brz-span">hi@email.com</span></p>'},{name:"subject",title:Object(ie.a)("Subject")},{name:"fromEmail",title:Object(ie.a)("From Email")},{name:"fromName",title:Object(ie.a)("From Name")},{name:"replayTo",title:Object(ie.a)("Reply-To")},{name:"cc",title:Object(ie.a)("Cc")},{name:"bcc",title:Object(ie.a)("Bcc")},{name:"metaData",title:Object(ie.a)("Meta Data"),type:"search",multiple:!0,choices:[{label:"Time",value:"time"},{label:"Page URL",value:"pageUrl"},{label:"User Agent",value:"userAgent"},{label:"Remote IP",value:"remoteIp"},{label:"Credit",value:"credit"}]}];class ba extends l.Component{render(){return s.a.createElement(ua,Object(C.a)({},this.context,{apiKeys:pa,onClose:this.props.onClose}))}}Object(i.a)(ba,"contextType",me);var ma=ba;class ha extends l.Component{renderError(){return s.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},s.a.createElement("span",{className:"brz-span"},this.props.error))}renderInput({name:e}){const{apiKeyValue:t,onChange:o}=this.props;return s.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-input"},s.a.createElement("input",{className:"brz-input",value:t[e],onChange:t=>{o(e,t.target.value)}}))}renderSelect({name:e,choices:t}){const{apiKeyValue:o,onChange:n}=this.props,a=o[e],r=(a?t:[{id:"",name:"Please Select Folder"},...t]).map((e,t)=>{const{id:o,name:n}=e;return s.a.createElement(S.a,{key:t,value:o},n)});return s.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-select"},s.a.createElement(O.a,{defaultValue:a,className:"brz-control__select--white",maxItems:"6",itemHeight:"30",inPortal:!0,onChange:t=>{n(e,t)}},r))}renderTextarea({name:e}){const{apiKeyValue:t,onChange:o}=this.props;return s.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-input"},s.a.createElement("textarea",{className:"brz-textarea",value:t[e],onChange:t=>{o(e,t.target.value)}}))}renderApiKeys(){const e=this.props.listsCreate.map((e,t)=>{const{title:o,type:n}=e;return s.a.createElement("div",{key:t,className:"brz-ed-popup-integrations-step__fields-option"},s.a.createElement("p",{className:"brz-p"},o),this["render"+Object(Gt.c)(n)](e))});return s.a.createElement(st.a,{style:{maxHeight:255},className:"brz-ed-scroll-pane brz-ed-popup-integrations__scroll-pane"},e)}render(){const{listsCreate:e,nextLoading:t,prevLoading:o,error:n,onPrev:a,onNext:r}=this.props;return s.a.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__lists-create"},n&&this.renderError(),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__head"},s.a.createElement("p",{className:"brz-p"},s.a.createElement("strong",{className:"brz-strong"},Object(ie.a)("CREATE LIST")))),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__body"},e.length>0&&this.renderApiKeys(),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},s.a.createElement(Ge,{size:3,leftIcon:"nc-arrow-left",loading:o,onClick:a},Object(ie.a)("Back")),s.a.createElement(Ge,{color:"teal",loading:t,onClick:r},Object(ie.a)("Create")))))}}function ga(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function va(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ga(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ga(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}Object(i.a)(ha,"defaultProps",{id:"",title:"",shortTitle:"",description:"",img:"",form:{},listsCreate:[],apiKeyValue:{},nextLoading:!1,prevLoading:!1,onPrev:v.default.noop,onNext:v.default.noop,onChange:v.default.noop});const fa=(e,t)=>{if("server"===e)return Object(ie.a)("List are not created please connect the support");const{data:{accountPro:o,lists:n},title:a}=t;return o?`Please upgrade your ${a} account to access your lists`:0===n.length?Object(ie.a)("Lists are empty. Please add a new list and try again."):void 0};class ya extends l.Component{constructor(e,t){super(e),Object(i.a)(this,"handleActive",e=>{this.setState({active:e})}),Object(i.a)(this,"handleKeysChange",(e,t)=>{this.setState(o=>({apiKeyValue:va(va({},o.apiKeyValue),{},{[""+e]:t})}))}),Object(i.a)(this,"handleConfirm",async e=>{const{app:{id:t,data:o},formId:n,onChange:a}=this.context,{status:r,data:i}=await Nn(va(va({},o),{},{formId:n,confirmationNeeded:e}));200!==r?this.setState({error:Object(ie.a)("Something went wrong")}):a(t,va(va({},o),i))}),Object(i.a)(this,"handleCreateMode",async()=>{this.setState({createLoading:!0}),await Object(pe.H)(),this.setState({mode:"create",createLoading:!1,error:null})}),Object(i.a)(this,"handleViewMode",async()=>{this.setState({prevLoading:!0,error:null}),await Object(pe.H)(),this.setState({prevLoading:!1,mode:"view"})}),Object(i.a)(this,"handleCreateList",async()=>{const{app:{id:e,data:t},formId:o,onChange:n}=this.context,{apiKeyValue:a}=this.state,r=Object.values(a);if(this.setState({nextLoading:!0,error:null}),r.some(e=>!e))await Object(pe.H)(),this.setState({nextLoading:!1,error:Object(ie.a)("All fields cannot be empty")});else{const{status:r,data:i}=await(({formId:e,id:t,data:o})=>{const{api:n}=f.a.get("wp"),a=f.a.get("editorVersion"),r=He(n.url,{action:n.createIntegrationGroup,hash:n.hash,version:a,formId:e,integration:t});return Object(pe.K)(r,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify(o)}).then(Fe).then(e=>e)})({formId:o,id:t.id,data:a,usedAccount:t.usedAccount});200!==r?this.setState({nextLoading:!1,error:fa("server")}):(n(e,va(va({},t),{},{lists:[...t.lists,i]})),this.setState({active:i.id,apiKeyValue:this.getApiKeyValue(t),mode:"view",nextLoading:!1,error:null}))}}),Object(i.a)(this,"handleNext",async()=>{const{app:{id:e,data:t},formId:o,onChange:n,onChangeNext:a}=this.context,{active:r}=this.state;if(this.setState({nextLoading:!0,error:null}),r!==t.usedList){const{status:i,data:l}=await Nn(va(va({},t),{},{formId:o,usedList:r}));200!==i?this.setState({nextLoading:!1,error:Object(ie.a)("Something went wrong")}):(n(e,va(va({},t),l)),a())}else await Object(pe.H)(),a()}),Object(i.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0,error:null}),await Object(pe.H)(),this.context.onChangePrev()});const{data:o}=t.app;this.state={active:this.getActiveList(o),apiKeyValue:this.getApiKeyValue(o),mode:"view",error:fa("application",t.app),createLoading:!1,prevLoading:!1,nextLoading:!1}}static async onBeforeLoad(e){const{app:{id:t,data:o},onChange:n}=e;n(t,va(va({},o),{},{accountPro:!Array.isArray(o.lists)}))}getActiveList(e){const t=e.lists.find(({id:t})=>t===e.usedList)||{},o=e.lists.length?e.lists[0].id:"";return t.id||o}getApiKeyValue({listProperties:e}){return Array.isArray(e)?e.reduce((e,{name:t})=>va(va({},e),{},{[""+t]:""}),{}):[]}render(){const{app:e}=this.context,{lists:t,listProperties:o,hasConfirmation:n,accountPro:a,confirmationNeeded:r}=e.data;return"view"===this.state.mode?s.a.createElement(xt,Object(C.a)({},this.state,{lists:t,listsCreate:o,listPro:a,hasConfirmation:n,confirmationNeeded:r,onActive:this.handleActive,onConfirm:this.handleConfirm,onCreateList:this.handleCreateMode,onPrev:this.handlePrev,onNext:this.handleNext})):s.a.createElement(ha,Object(C.a)({},this.state,{listsCreate:o,onChange:this.handleKeysChange,onPrev:this.handleViewMode,onNext:this.handleCreateList}))}}Object(i.a)(ya,"contextType",me);var Oa=ya;class Sa extends l.Component{constructor(...e){super(...e),Object(i.a)(this,"handleClose",()=>{this.props.onClose()})}render(){const{app:e}=this.context;return s.a.createElement(jt,Object(C.a)({},e,{onNext:this.handleClose}))}}Object(i.a)(Sa,"contextType",me);var xa=Sa;const Ca=[{name:"emailTo",title:Object(ie.a)("Email To"),required:!0,helper:'<p class="brz-p">If you need to have multiple emails you can separate them by commas:</p>\n <p class="brz-p"><span class="brz-span">me@email.com,</span> <span class="brz-span">hi@email.com</span></p>'},{name:"subject",title:Object(ie.a)("Subject")},{name:"fromEmail",title:Object(ie.a)("From Email")},{name:"fromName",title:Object(ie.a)("From Name")},{name:"replayTo",title:Object(ie.a)("Reply-To")},{name:"cc",title:Object(ie.a)("Cc")},{name:"bcc",title:Object(ie.a)("Bcc")},{name:"metaData",title:Object(ie.a)("Meta Data"),type:"search",multiple:!0,choices:[{title:"Time",value:"time"},{title:"Page URL",value:"pageUrl"},{title:"User Agent",value:"userAgent"},{title:"Remote IP",value:"remoteIp"},{title:"Credit",value:"credit"}]},{name:"host",title:Object(ie.a)("Host"),required:!0},{name:"port",title:Object(ie.a)("Port"),required:!0},{name:"authentication",title:Object(ie.a)("Authentication"),type:"switch"},{name:"username",title:Object(ie.a)("Username"),required:!0},{name:"password",title:Object(ie.a)("Password"),required:!0},{name:"encryption",title:Object(ie.a)("Encryption"),type:"select",choices:[{title:"SSL",name:"ssl"},{title:"TLS",name:"tls"}]}];class ja extends l.Component{render(){return s.a.createElement(ua,Object(C.a)({},this.props,this.context,{apiKeys:Ca}))}}Object(i.a)(ja,"contextType",me);var Pa=ja;const Ba=[{name:"emailTo",title:Object(ie.a)("Email To"),required:!0,helper:'<p class="brz-p">If you need to have multiple emails you can separate them by commas:</p>\n <p class="brz-p"><span class="brz-span">me@email.com,</span> <span class="brz-span">hi@email.com</span></p>'},{name:"subject",title:Object(ie.a)("Subject")},{name:"fromEmail",title:Object(ie.a)("From Email")},{name:"fromName",title:Object(ie.a)("From Name")},{name:"replayTo",title:Object(ie.a)("Reply-To")},{name:"cc",title:Object(ie.a)("Cc")},{name:"bcc",title:Object(ie.a)("Bcc")},{name:"metaData",title:Object(ie.a)("Meta Data"),type:"search",multiple:!0,choices:[{title:"TIME",value:"time"},{title:"Page URL",value:"pageUrl"},{title:"User Agent",value:"userAgent"},{title:"Remote IP",value:"remoteIp"},{title:"Credit",value:"credit"}]},{name:"username",title:Object(ie.a)("Username"),required:!0},{name:"password",title:Object(ie.a)("Password"),required:!0}];class wa extends l.Component{render(){return s.a.createElement(ua,Object(C.a)({},this.props,this.context,{apiKeys:Ba}))}}Object(i.a)(wa,"contextType",me);var Ta=wa;class za extends l.Component{constructor(...e){super(...e),Object(i.a)(this,"handleConfirmation",e=>{this.props.onChangeConfirmation(e.target.checked)}),Object(i.a)(this,"handleKeyDown",e=>{const{confirmed:t,onNext:o}=this.props;13===e.which&&t&&o()})}renderError(){return s.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},this.props.error)}renderValidationError(){return s.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error brz-ed-popup-recaptcha-validation-error"},s.a.createElement("p",{className:"brz-p"},Object(ie.a)("Verification process failed, please make sure you have done the following three things and try again in a few minutes.")),s.a.createElement("p",{className:"brz-p"},"1. ",Object(ie.a)("Inputted a valid site key"),". "),s.a.createElement("p",{className:"brz-p"},"2.",Object(ie.a)("Deselected the “Verify the origin of reCAPTCHA solutions” checkbox within your Google account.")),s.a.createElement("p",{className:"brz-p"},"3. ",Object(ie.a)("Established a stable internet connection"),"."))}renderItems(){const{data:e,onChange:t}=this.props;return e.map((e,o)=>{const{title:n,name:a,value:r}=e;return s.a.createElement(Ye,{key:o,title:n,value:r,required:!0,onChange:e=>{t(e.target.value,a)}})})}renderDescriptions(){return s.a.createElement("div",{className:"brz-ed-popup-recaptcha__confirmation"},s.a.createElement("label",{className:"brz-label"},s.a.createElement("input",{className:"brz-input",type:"checkbox",value:this.props.confirmed,onChange:this.handleConfirmation}),'I have deselected "Verify the origins of reCAPTCHA solu-',s.a.createElement("br",{className:"brz-br"}),'tions and clicked "Save Changes" under "Key Settings >',s.a.createElement("br",{className:"brz-br"}),'Advanced Settings" in my Google reCAPTCHA page'))}render(){const{title:e,img:t,validated:o,confirmed:n,error:a,nextLoading:r,prevLoading:i,onRetry:l,onNext:c,onPrev:d}=this.props;return s.a.createElement(st.a,{className:"brz-ed-popup-integrations-apps__scroll-pane",style:{height:"100%"}},s.a.createElement("div",{className:"brz-ed-popup-recaptcha__connect"},s.a.createElement("div",{className:"brz-ed-popup-recaptcha__container"},s.a.createElement("div",{className:"brz-ed-popup-integrations__connect-head"},s.a.createElement("img",{className:"brz-img",src:t,alt:e}),o?this.renderDescriptions():this.renderValidationError(),a&&this.renderError()),s.a.createElement("div",{className:"brz-ed-popup-integrations__connect-body"},this.renderItems(),o?s.a.createElement(Ge,{color:"teal",loading:r,disabled:!n,onClick:c},Object(ie.a)("Connect")):s.a.createElement(Ge,{color:"teal",loading:r,onClick:l},Object(ie.a)("Try Again")),s.a.createElement(Ge,{color:"default",loading:i,onClick:d},Object(ie.a)("Cancel"))))))}}Object(i.a)(za,"defaultProps",{id:"",title:"",img:"",confirmed:!1,error:!1,nextLoading:!1,prevLoading:!1,onChange:v.default.noop,onChangeConfirmation:v.default.noop,onNext:v.default.noop,onPrev:v.default.noop});var Ea=za;function ka(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ha(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ka(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ka(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}async function Fa(e){try{return await function(e){const t=window.parent,o=function(e){const t=e.document.body,o=document.createElement("div");return o.setAttribute("class","brz-ed-recaptcha brz-hidden"),t.append(o),o}(t),n=function(e){const t=e.document.body,o=document.createElement("script");return o.setAttribute("src","https://www.google.com/recaptcha/api.js?onload=onloadRecaptchaCallback&render=explicit"),o.setAttribute("async","async"),o.setAttribute("defer","defer"),t.append(o),o}(t);return new Promise((a,r)=>{n.onload=()=>{const i=t.parent.grecaptcha;t.onloadRecaptchaCallback=()=>{const t=i.render(o,{sitekey:e.sitekey,size:"invisible",callback:async t=>{const{status:r}=await(({group:e,service:t,secretkey:o,sitekey:n,response:a})=>{const{api:r}=f.a.get("wp"),i=f.a.get("editorVersion"),l=He(r.url,{action:r.addAccount,hash:r.hash,version:i,secretkey:o,response:a});return Object(pe.K)(l,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify({group:e,service:t,sitekey:n,secretkey:o})}).then(Fe).then(e=>e)})(Ha(Ha({group:"recaptcha",service:"recaptcha"},e),{},{response:t}));o.remove(),n.remove(),a(200===r)},"error-callback":()=>{o.remove(),n.remove(),r(!1)}});i.reset(t),i.execute(t)}}})}(e)}catch(e){return e}}function _a(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ra(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?_a(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):_a(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const La=[{name:"sitekey",title:"Site Key"},{name:"secretkey",title:"Secret Key"}];class Ma extends l.Component{constructor(e,t){super(e),Object(i.a)(this,"handleChange",(e,t)=>{this.setState(({apiKeyValue:o})=>({apiKeyValue:Ra(Ra({},o),{},{[""+t]:e.trim()})}))}),Object(i.a)(this,"handleConfirmation",e=>{this.setState({confirmed:e})}),Object(i.a)(this,"handleNext",async()=>{const{app:e,onChangeNext:t}=this.context,{apiKeyValue:o}=this.state,n=Object.values(o);if(this.setState({nextLoading:!0,error:null}),n.some(e=>!e))await Object(pe.H)(),this.setState({error:"Fields are empty",nextLoading:!1});else{const{data:n}=e;if(n){const{status:e}=await Ve(n.id);200!==e&&this.setState({nextLoading:!1,error:Object(ie.a)("Something went wrong")})}await Fa(o)?t():this.setState({nextLoading:!1,validated:!1})}}),Object(i.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0}),await Object(pe.H)(),this.context.onChangePrev()});const{app:{data:o}}=t;this.state={apiKeyValue:o||this.getDefaultValue(),validated:!0,confirmed:!1,prevLoading:!1,nextLoading:!1,error:null}}static async onBeforeLoad(e,t){e.app.data&&t.onChangeNext("disconnect")}getDefaultValue(){return La.reduce((e,{name:t})=>Ra(Ra({},e),{},{[""+t]:""}),{})}render(){const{apiKeyValue:e,nextLoading:t,prevLoading:o,confirmed:n,error:a,validated:r}=this.state,i=La.map(({title:t,name:o})=>({title:t,name:o,value:e[o]}));return s.a.createElement(Ea,Object(C.a)({},this.context.app,{data:i,validated:r,confirmed:n,nextLoading:t,prevLoading:o,error:a,onChange:this.handleChange,onChangeConfirmation:this.handleConfirmation,onNext:this.handleNext,onRetry:this.handleNext,onPrev:this.handlePrev}))}}Object(i.a)(Ma,"contextType",me);var Wa=Ma;class Ia extends l.Component{constructor(e){super(e),Object(i.a)(this,"handleNext",async()=>{const{app:e,onChange:t,onDisconnectApp:o}=this.context;this.setState({nextLoading:!0,error:null});const{status:n}=await Ve(e.data.id);n<400?(o(e.id),t(e.id,null)):this.setState({nextLoading:!1,error:Object(ie.a)("Something went wrong")})}),Object(i.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0,error:null}),await Object(pe.H)(),this.context.onChangePrev("appList")}),this.state={nextLoading:!1,prevLoading:!1,error:null}}render(){const{nextLoading:e,prevLoading:t,error:o}=this.state;return s.a.createElement(Je,Object(C.a)({},this.context.app,{descriptions:Object(ie.a)("Are you want to delete account")+" ?",nextLoading:e,prevLoading:t,error:o,onPrev:this.handlePrev,onNext:this.handleNext}))}}Object(i.a)(Ia,"contextType",me);var Na=Ia;class Aa extends Rt{}Object(i.a)(Aa,"fields",ma),Object(i.a)(Aa,"done",xa);var Va=Aa;class Da extends Rt{}Object(i.a)(Da,"fields",ma),Object(i.a)(Da,"done",xa);var $a=Da;class Ga extends Rt{}Object(i.a)(Ga,"connect",Gn),Object(i.a)(Ga,"account",qn),Object(i.a)(Ga,"fields",na),Object(i.a)(Ga,"list",Oa),Object(i.a)(Ga,"done",xa);var Ua=Ga;class Ka extends Rt{}Object(i.a)(Ka,"connect",Gn),Object(i.a)(Ka,"account",qn),Object(i.a)(Ka,"client",Qn),Object(i.a)(Ka,"fields",na),Object(i.a)(Ka,"list",Oa),Object(i.a)(Ka,"done",xa);var Ya=Ka;class qa extends Rt{}Object(i.a)(qa,"connect",Gn),Object(i.a)(qa,"account",qn),Object(i.a)(qa,"fields",la),Object(i.a)(qa,"done",xa);var Xa=qa;class Za extends Rt{}Object(i.a)(Za,"connect",Gn),Object(i.a)(Za,"account",qn),Object(i.a)(Za,"client",Qn),Object(i.a)(Za,"fields",na),Object(i.a)(Za,"list",Oa),Object(i.a)(Za,"done",xa);var Ja=Za;class Qa extends Rt{}Object(i.a)(Qa,"connect",Gn),Object(i.a)(Qa,"account",qn),Object(i.a)(Qa,"fields",na),Object(i.a)(Qa,"list",Oa),Object(i.a)(Qa,"done",xa);var er=Qa;class tr extends Rt{}Object(i.a)(tr,"connect",Gn),Object(i.a)(tr,"account",qn),Object(i.a)(tr,"fields",na),Object(i.a)(tr,"list",Oa),Object(i.a)(tr,"done",xa);var or=tr;class nr extends Rt{}Object(i.a)(nr,"connect",Gn),Object(i.a)(nr,"account",qn),Object(i.a)(nr,"fields",na),Object(i.a)(nr,"list",Oa),Object(i.a)(nr,"done",xa);var ar=nr;class rr extends Rt{}Object(i.a)(rr,"connect",Gn),Object(i.a)(rr,"account",qn),Object(i.a)(rr,"fields",na),Object(i.a)(rr,"list",Oa),Object(i.a)(rr,"done",xa);var ir=rr;class lr extends Rt{}Object(i.a)(lr,"connect",Gn),Object(i.a)(lr,"account",qn),Object(i.a)(lr,"fields",na),Object(i.a)(lr,"list",Oa),Object(i.a)(lr,"done",xa);var sr=lr;class cr extends Rt{}Object(i.a)(cr,"connect",Gn),Object(i.a)(cr,"account",qn),Object(i.a)(cr,"list",Oa),Object(i.a)(cr,"fields",na),Object(i.a)(cr,"done",xa);var dr=cr;class ur extends Rt{}Object(i.a)(ur,"connect",Gn),Object(i.a)(ur,"account",qn),Object(i.a)(ur,"fields",na),Object(i.a)(ur,"list",Oa),Object(i.a)(ur,"done",xa);var pr=ur;class br extends Rt{}Object(i.a)(br,"connect",Gn),Object(i.a)(br,"account",qn),Object(i.a)(br,"fields",na),Object(i.a)(br,"done",xa);var mr=br;class hr extends Rt{}Object(i.a)(hr,"fields",Pa),Object(i.a)(hr,"done",xa);var gr=hr;class vr extends Rt{}Object(i.a)(vr,"fields",Ta),Object(i.a)(vr,"done",xa);var fr=vr;class yr extends Rt{}Object(i.a)(yr,"connect",Gn),Object(i.a)(yr,"account",qn),Object(i.a)(yr,"fields",na),Object(i.a)(yr,"list",Oa),Object(i.a)(yr,"done",xa);var Or=yr;class Sr extends Rt{}Object(i.a)(Sr,"connect",Gn),Object(i.a)(Sr,"account",qn),Object(i.a)(Sr,"list",Oa),Object(i.a)(Sr,"fields",na),Object(i.a)(Sr,"done",xa);var xr=Sr;class Cr extends Rt{}Object(i.a)(Cr,"connect",Gn),Object(i.a)(Cr,"account",qn),Object(i.a)(Cr,"fields",na),Object(i.a)(Cr,"list",Oa),Object(i.a)(Cr,"done",xa);var jr=Cr;class Pr extends Rt{}Object(i.a)(Pr,"connect",Gn),Object(i.a)(Pr,"account",qn),Object(i.a)(Pr,"fields",na),Object(i.a)(Pr,"list",Oa),Object(i.a)(Pr,"done",xa);var Br=Pr;class wr extends Rt{}Object(i.a)(wr,"connect",Gn),Object(i.a)(wr,"account",qn),Object(i.a)(wr,"fields",na),Object(i.a)(wr,"list",Oa),Object(i.a)(wr,"done",xa);var Tr=wr;class zr extends Rt{}Object(i.a)(zr,"connect",Gn),Object(i.a)(zr,"account",qn),Object(i.a)(zr,"fields",na),Object(i.a)(zr,"list",Oa),Object(i.a)(zr,"done",xa);var Er=zr;class kr extends Rt{}Object(i.a)(kr,"connect",Wa),Object(i.a)(kr,"done",xa),Object(i.a)(kr,"disconnect",Na);var Hr=kr;function Fr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function _r(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Fr(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Fr(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Rr=f.a.get("pro");var Lr=class extends ze{constructor(...e){super(...e),Object(i.a)(this,"appsData",[]),Object(i.a)(this,"appsComponent",a),Object(i.a)(this,"proExceptions",!Rr),Object(i.a)(this,"handleConnectApp",async e=>{const{id:t,stages:o}=e,{formId:n}=this.props;let{status:a,data:r}=await Wn({formId:n,id:t});if(200!==a){if(404!==a)return void this.setState({appError:Object(ie.a)("The integration is not responding, please try again or verify the account credentials")});if(({status:a,data:r}=await In({formId:n,id:t})),200!==a)return void this.setState({appError:Object(ie.a)("The integration is not responding, please try again or verify the account credentials")})}this.setState(Object(c.a)(n=>{n.appError=null,n.stages=o,n.connectedApp=t,n.data[t]=e,n.data[t].data=r}),()=>{this.handleNext()})})}async componentDidMount(){const e=Object(ue.a)("integrations.json"),t=await fetch(e),{services:o}=await t.json();this.appsData=o,await this.getData()}async getData(){const{formId:e}=this.props,{status:t,data:o}=await Ln({formId:e});if(200!==t)if(404===t){const{status:t}=await Mn({formId:e});t>=400?this.setState({error:Object(ie.a)("Something went wrong")}):this.setState({loading:!1})}else this.setState({error:Object(ie.a)("Something went wrong")});else o&&this.setState({connectedApps:this.getConnectedApps(o.integrations),loading:!1})}getContextValue(){const{formId:e,formFields:t}=this.props;return _r(_r({},super.getContextValue()),{},{formId:e,formFields:t})}},Mr=o(283);function Wr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ir(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Wr(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Wr(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var Nr=class extends ze{constructor(...e){super(...e),Object(i.a)(this,"state",{loading:!0,showProgress:!0,connectedApp:"",connectedApps:[],stage:this.props.stage,stages:this.props.stages,oldStage:"",data:{},error:null,appError:null,emailTemplate:"",hasEmailTemplate:!1,textCopied:""}),Object(i.a)(this,"appsData",[]),Object(i.a)(this,"appsComponent",a),Object(i.a)(this,"proExceptions",!A.h),Object(i.a)(this,"updateForm",v.default.debounce(()=>{(({formId:e,hasEmailTemplate:t,emailTemplate:o})=>{const{api:n}=f.a.get("wp"),a=f.a.get("editorVersion"),r=He(n.url,{formId:e,action:n.updateForm,hash:n.hash,version:a});Object(pe.K)(r,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},body:JSON.stringify({hasEmailTemplate:t,emailTemplate:o})}).then(Fe).then(e=>e)})({formId:this.props.formId,hasEmailTemplate:this.state.hasEmailTemplate,emailTemplate:this.state.emailTemplate})},1e3)),Object(i.a)(this,"handleConnectApp",async e=>{const t=e.id,{formId:o}=this.props,{stages:n=[]}=this.appsData.find(e=>e.id===t)||{};let{status:a,data:r}=await((...e)=>Wn(...e))({formId:o,id:t});if(200!==a){if(404!==a)return void this.setState({error:Object(ie.a)("Something went wrong")});{const{status:e,data:n}=await((...e)=>In(...e))({formId:o,id:t});if(200!==e)return void this.setState({error:Object(ie.a)("Something went wrong")});r=n}}this.setState(Object(c.a)(o=>{o.stages=n,o.connectedApp=t,o.data[t]=Object.assign(e,{data:r})}),()=>{this.handleNext()})}),Object(i.a)(this,"handleHtmlChange",e=>{this.setState({emailTemplate:e},this.updateForm)}),Object(i.a)(this,"handleEnableHtml",e=>{this.setState({hasEmailTemplate:e}),!1===e&&this.state.emailTemplate&&this.setState({emailTemplate:""},this.updateForm)})}async componentDidMount(){const e=Object(ue.a)("integrations.json"),t=await fetch(e),o=await t.json();A.q?this.appsData=o.wpEmail:this.appsData=o.cloudEmail,await this.getData()}async getData(){const{formId:e,onLoading:t}=this.props,{status:o,data:n}=await Ln({formId:e});if(200!==o)if(404===o){const{status:t,data:o}=await Mn({formId:e});t>=400||!o?this.setState({error:Object(ie.a)("Something went wrong")}):this.setState({connectedApps:this.getConnectedApps(o.integrations),loading:!1})}else this.setState({error:Object(ie.a)("Something went wrong")});else n&&this.setState({connectedApps:this.getConnectedApps(n.integrations),emailTemplate:n.emailTemplate||"",hasEmailTemplate:n.hasEmailTemplate,loading:!1});t(!1)}getContextValue(){const{formId:e,formFields:t}=this.props;return Ir(Ir({},super.getContextValue()),{},{formId:e,formFields:t})}handleCopyToClipboard(e){(e=>{const t=document.createElement("textarea");t.value=e,document.body.appendChild(t),t.focus(),t.select();try{document.execCommand("copy")}catch(e){console.error("Fallback: Oops, unable to copy",e)}document.body.removeChild(t)})(`{{${e}}}`),this.setState({textCopied:e},()=>{setTimeout(()=>{this.setState({textCopied:void 0})},800)})}renderFormInfo(){return s.a.createElement("div",{className:"brz-ed-popup-integration-email__info"},this.props.formFields.map((e,t)=>s.a.createElement("p",{key:t,title:"Click to copy",className:"brz-p",onClick:()=>{this.handleCopyToClipboard(e.label)}},s.a.createElement("span",{className:"brz-span brz-"},`{{${e.label}}}`),s.a.createElement(F.b,{icon:"nc-duplicate"}),this.state.textCopied===e.label&&s.a.createElement("span",{className:"brz-span brz-ed-animated brz-ed-animated--fadeIn"},"Copied"))))}renderApps(){const{error:e,emailTemplate:t,hasEmailTemplate:o}=this.state,n=g()("brz-ed-popup-integration-email__template",{"brz-ed-popup-integration-email__template--open":o});return s.a.createElement(s.a.Fragment,null,e&&super.renderError(),s.a.createElement(we,{apps:this.appsData,proExceptions:this.proExceptions}),!this.proExceptions&&s.a.createElement("div",{className:n},s.a.createElement("div",{className:"brz-ed-popup-integration-email__template-head"},s.a.createElement("p",{className:"brz-p"},s.a.createElement("strong",{className:"brz-strong"},Object(ie.a)("USE CUSTOM TEMPLATE"))),s.a.createElement(et.a,{className:"brz-ed-control__switch--light",defaultValue:o,onChange:this.handleEnableHtml})),s.a.createElement("div",{className:"brz-ed-popup-integration-email__template-body"},s.a.createElement(Mr.a,{className:"brz-ed-popup-integration-email__codemirror",value:t,onChange:this.handleHtmlChange,language:"xml",theme:"idea"}),s.a.createElement("div",{className:"brz-d-xs-flex brz-align-items-xs-center"},s.a.createElement("p",{className:"brz-p"},Object(ie.a)("Tip: Use these shortcodes to populate your template")),s.a.createElement(Se.b,{className:"brz-ed-popup-integration-email__tooltip",size:"small",openOnClick:!1,closeDelay:600,overlay:this.renderFormInfo()},s.a.createElement(F.b,{icon:"nc-alert-circle-que"}))))))}};function Ar(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Vr(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ar(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ar(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var Dr=class extends ze{constructor(...e){super(...e),Object(i.a)(this,"appsData",[]),Object(i.a)(this,"appsComponent",a),Object(i.a)(this,"handleConnectApp",async e=>{const t=e.id;await Object(pe.H)(),this.setState(Object(c.a)(o=>{const n=o.data[t]||{};o.connectedApp=t,o.stages=e.stages,o.data[t]=Vr(Vr({},n),e)}),()=>{this.handleNext()})})}async componentDidMount(){const e=Object(ue.a)("integrations.json"),t=await fetch(e),{recaptcha:o}=await t.json(),{status:n,data:a}=await Ae({group:"recaptcha",services:"recaptcha"});this.appsData=o,200===n&&a&&a.length>0?this.setState(Object(c.a)(e=>{e.data={recaptcha:{data:a[0]}},e.connectedApps=this.getConnectedApps(a),e.loading=!1})):this.setState({loading:!1})}getConnectedApps(e){return e.reduce((e,t)=>this.appsData.find(({id:e})=>e===t.group)?[...e,t.group]:e,[...this.state.connectedApps])}};const $r=[{id:"email",title:Object(ie.a)("Email"),icon:"nc-email",component:Nr},{id:"service",title:Object(ie.a)("APPS"),icon:"nc-extensions-2",component:Lr},{id:"recaptcha",title:Object(ie.a)("ReCAPTCHA"),icon:"nc-captcha",component:Dr}];class Gr extends l.Component{render(){const{formId:e,formFields:t,opened:o,onClose:n}=this.props;return s.a.createElement(de,{currentTab:"email",formId:e,formFields:t,opened:o,tabs:$r,onClose:n})}}Object(i.a)(Gr,"defaultProps",{formId:"",formFields:[],opened:!1,onClose:v.default.noop});var Ur=Gr,Kr=o(88);class Yr extends l.Component{render(){const{opened:e,onClose:t}=this.props,o="MacOS"===Object(Kr.a)(),n=o?`${Object(ue.a)("editor/img/mac-keyboard1x.png")} 1x , ${Object(ue.a)("editor/img/mac-keyboard2x.png")} 2x`:`${Object(ue.a)("editor/img/pc-keyboard1x.png")} 1x , ${Object(ue.a)("editor/img/pc-keyboard2x.png")} 2x`;return s.a.createElement(y.a,{id:"key-helper",className:"brz-ed-hotkeys-overlay",opened:e,onClose:t},s.a.createElement("div",{className:"brz-ed-hotkeys-wrapper"},s.a.createElement(F.b,{icon:"nc-close-popup",className:"brz-ed-hotkeys-btn-close",onClick:t}),s.a.createElement("div",{className:"brz-ed-hotkeys-label"},Object(ie.a)("Keyboard Shortcuts")),s.a.createElement("div",{className:"brz-ed-hotkeys-image-container"},s.a.createElement("picture",null,s.a.createElement("img",{className:"brz-ed-hotkeys-image",srcSet:n}))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container"},s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column"},s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + C":"Ctrl + C"),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ie.a)("Copy"))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + V":"Ctrl + V"),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ie.a)("Paste"))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + shift + V":"Ctrl + Shift + V"),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ie.a)("Paste Style"))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + D":"Ctrl + D"),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ie.a)("Duplicate"))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + delete":"Delete"),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ie.a)("Delete"))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd +":"Ctrl +",s.a.createElement(F.b,{className:"brz-ed-hotkeys-icons",icon:"nc-arrow"}),s.a.createElement("span",{className:"divider"}," / "),s.a.createElement(F.b,{className:"brz-ed-hotkeys-icons brz-ed-deg180",icon:"nc-arrow"})),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ie.a)("Horizontal Align"))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd +":"Ctrl +",s.a.createElement(F.b,{className:"brz-ed-hotkeys-icons brz-ed-deg90",icon:"nc-arrow"}),s.a.createElement("span",{className:"divider"}," / "),s.a.createElement(F.b,{className:"brz-ed-hotkeys-icons brz-ed-deg270",icon:"nc-arrow"})),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ie.a)("Vertical Align")))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column"},s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + Z":"Ctrl + Z"),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ie.a)("Undo"))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + shift + Z":"Ctrl + Shift + Z"),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ie.a)("Redo"))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + S":"Ctrl + S"),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ie.a)("Save Draft / Update Page"))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd +":"Ctrl +",s.a.createElement(F.b,{className:"brz-ed-hotkeys-icons",icon:"nc-plus2"}),s.a.createElement("span",{className:"divider"}," / "),s.a.createElement(F.b,{className:"brz-ed-hotkeys-icons",icon:"nc-minus"})),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ie.a)("Responsive Zoom In / Out"))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd +":"Ctrl +",s.a.createElement(F.b,{className:"brz-ed-hotkeys-icons",icon:"nc-alert-circle-que"})),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ie.a)("Shortcuts"))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"cmd + shift + A":"Ctrl + Shift + A"),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ie.a)("Add New Block / Layout"))),s.a.createElement("div",{className:"brz-ed-hotkeys-combination-container-column-list"},s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label"},o?"esc":"Esc"),s.a.createElement("span",{className:"brz-ed-hotkeys-combination-container-column-label-2"},Object(ie.a)("Select Parent Element")))))))}}Object(i.a)(Yr,"defaultProps",{opened:!1,onClose:v.noop});var qr=o(94);function Xr(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Zr(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Xr(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Xr(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Jr=(e,t)=>{const o=e.family.toUpperCase(),n=t.family.toUpperCase();return o<n?-1:o>n?1:0};class Qr extends l.Component{constructor(...e){super(...e),Object(i.a)(this,"state",{loadingApp:""})}async handleDeleteFont(e,t){this.setState({loadingApp:t.brizyId}),"upload"===e?await(e=>{const{api:t}=f.a.get("wp"),o=f.a.get("editorVersion"),n=He(t.url,{action:t.deleteFont,hash:t.hash,version:o,id:e});return Object(pe.K)(n,{method:"POST"}).then(Fe).then(e=>e)})(t.id):await Object(pe.H)(),this.setState({loadingApp:""}),this.props.deleteFont({type:e,fonts:[t]})}getSortedFonts(e){return Object.entries(e).map(([e,{data:t}])=>t.map(t=>Zr(Zr({},t),{},{fontGroupType:e}))).reduce((e,t)=>e.concat(t),[]).sort(Jr)}render(){const{defaultFont:e,fonts:t}=this.props,{loadingApp:o}=this.state;return s.a.createElement(B.a,null,s.a.createElement("div",{className:"brz-ed-popup-fonts__lists brz-d-xs-flex brz-flex-xs-wrap"},this.getSortedFonts(t).map(t=>{let{fontGroupType:n}=t,a=Object(x.a)(t,["fontGroupType"]);const{id:r,brizyId:i,title:l,family:c}=No.b[n](a),d=e===r,u=o===i;return s.a.createElement("div",{key:i,className:"brz-ed-popup-fonts__item"},s.a.createElement("div",{className:"brz-ed-popup-fonts__item-logo",style:{fontFamily:c}},"Aa",!d&&!u&&s.a.createElement("div",{className:"brz-ed-badge__delete brz-ed-popup-fonts__delete",onClick:()=>{this.handleDeleteFont(n,a)}},s.a.createElement(F.b,{icon:"nc-trash"}))),s.a.createElement("div",{className:"brz-ed-popup-fonts__item-title"},l),u&&s.a.createElement("span",{className:"brz-span brz-ed-popup-integrations__app-icon"},s.a.createElement(F.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})))})))}}Object(i.a)(Qr,"defaultProps",{fonts:{},defaultFont:"",deleteFont:v.default.noop,onClose:v.default.noop});const ei={deleteFont:Qo.D};var ti=Object(no.b)(e=>({fonts:Object(qr.i)(e),defaultFont:Object(so.E)(e).data.font}),ei)(Qr);function oi(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ni(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?oi(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):oi(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class ai extends l.Component{constructor(e){super(e),Object(i.a)(this,"handleAddNewFont",(e,t)=>{this.setState({selectedFont:t})}),Object(i.a)(this,"handleNext",async()=>{const{selectedFont:e}=this.state,{app:{data:{fonts:t}},onChangeNext:o}=this.context,n=t.find(({family:t})=>t===e);if(this.setState({nextLoading:!0,error:null}),await Object(pe.H)(),n){const e=Object(No.i)(this.props.fonts,Object(No.g)(n).id);e?this.props.addFonts([{type:e.group,fonts:[ni(ni({},e.font),{},{deleted:!1})]}]):this.props.addFonts([{type:"google",fonts:[n]}]),o()}else this.setState({error:`Font ${e} not found, please try again`,nextLoading:!1})}),Object(i.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0}),await Object(pe.H)(),this.context.onChangePrev()});const{config:t,blocks:o={},google:n={}}=this.props.fonts;this.usedFonts=[...t.data||[],...n.data||[],...o.data||[]],this.state={selectedFont:"",nextLoading:!1,prevLoading:!1,error:null}}static async onBeforeLoad(e){const{app:{id:t,data:o},onChange:n}=e,a=await Object(No.h)();n(t,ni(ni({},o),{},{fonts:a}))}render(){const{app:e}=this.context,{selectedFont:t,prevLoading:o,nextLoading:n,error:a}=this.state,r=e.data.fonts.filter(e=>{const{id:t}=Object(No.g)(e);return!this.usedFonts.some(e=>{const{id:o,deleted:n}=Object(No.g)(e);return!0!==n&&o===t})}).map(e=>({value:e.family,label:e.family})),i=[{title:Object(ie.a)("Font name"),type:"search",choices:r,value:t}],c=s.a.createElement(l.Fragment,null,Object(ie.a)("Tip: You can browse the Google font library")," ",s.a.createElement("a",{className:"brz-a",href:"https://fonts.google.com",target:"_blank",rel:"noopener noreferrer"},Object(ie.a)("here")),".");return s.a.createElement(ft,Object(C.a)({},e,{data:i,headTitle:Object(ie.a)("ADD GOOGLE FONT"),description:c,prevLoading:o,nextLoading:n,error:a,onActive:this.handleAddNewFont,onPrev:this.handlePrev,onNext:this.handleNext}))}}Object(i.a)(ai,"contextType",me);const ri={addFonts:sn.f};var ii=Object(no.b)(e=>({fonts:Object(so.m)(e)}),ri)(ai);class li extends l.Component{constructor(...e){super(...e),Object(i.a)(this,"handleClose",()=>{this.props.onClose()})}render(){const{app:e}=this.context;return s.a.createElement(jt,Object(C.a)({},e,{onNext:this.handleClose}))}}Object(i.a)(li,"contextType",me);var si=li;class ci extends Rt{}Object(i.a)(ci,"connect",ii),Object(i.a)(ci,"done",si);var di=ci;function ui(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function pi(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ui(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ui(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class bi extends l.Component{constructor(e){super(e),Object(i.a)(this,"handleChange",(e,t)=>{t.length<=17&&this.setState({fontName:t})}),Object(i.a)(this,"handleNext",async()=>{const{fontName:e}=this.state,{app:{id:t,data:o={}},onChange:n,onChangeNext:a}=this.context;this.setState({nextLoading:!0}),await Object(pe.H)(),e.trim()?(n(t,pi(pi({},o),{},{fontName:e})),a()):this.setState({nextLoading:!1,error:Object(ie.a)("Font Name is Required")})}),Object(i.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0}),await Object(pe.H)(),this.context.onChangePrev()}),this.state={fontName:"",nextLoading:!1,prevLoading:!1,error:null}}render(){const{app:e}=this.context,{fontName:t,prevLoading:o,nextLoading:n,error:a}=this.state,r=[{title:Object(ie.a)("Font name"),value:t}];return s.a.createElement(ft,Object(C.a)({},e,{headTitle:Object(ie.a)("UPLOAD FONT"),data:r,error:a,prevLoading:o,nextLoading:n,onActive:this.handleChange,onNext:this.handleNext,onPrev:this.handlePrev}))}}Object(i.a)(bi,"contextType",me);var mi=bi,hi=o(65);class gi extends l.Component{renderError(){return s.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},s.a.createElement("span",{className:"brz-span"},this.props.error))}renderSelect({name:e,value:t,choices:o}){const n=o.map(({title:e,name:t})=>s.a.createElement(S.a,{key:t,value:t},e));return s.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-select"},s.a.createElement(O.a,{className:"brz-control__select--white",maxItems:"6",itemHeight:"30",inPortal:!0,defaultValue:t,onChange:t=>{this.props.onActive(e,t)}},n))}renderUpload({name:e,value:t,accept:o}){return s.a.createElement("div",{className:"brz-ed-popup-integrations-step__fields-upload"},t?s.a.createElement(l.Fragment,null,s.a.createElement("span",{className:"brz-span"},t.name),s.a.createElement("button",{className:"brz-button brz-ed-btn brz-ed-btn-xs brz-ed-btn-gray brz-ed-btn-red--hover brz-ed-btn-rounded brz-fw-700",onClick:()=>{this.props.onActive(e,"")}}," ",Object(ie.a)("DELETE")," ")):s.a.createElement("label",{className:"brz-label brz-ed-btn brz-ed-btn-xs brz-ed-btn-gray brz-ed-btn-teal--hover brz-ed-btn-rounded brz-fw-700",htmlFor:e},s.a.createElement("input",{id:e,className:"brz-input brz-hidden",type:"file",accept:o,onChange:({target:t})=>{this.props.onActive(e,t.files[0])}}),Object(ie.a)("UPLOAD")))}renderOptions(){const e=this.props.data.map((e,t)=>{const{title:o,type:n,helper:a}=e;return s.a.createElement("div",{key:t,className:"brz-ed-popup-integrations-step__fields-option"},s.a.createElement("div",{className:"brz-d-xs-flex brz-align-items-xs-center"},s.a.createElement("p",{className:"brz-p"},o),a&&s.a.createElement(Se.b,{className:"brz-ed-popup-integrations-fields__tooltip",openOnClick:!1,inPortal:!0,overlay:s.a.createElement("div",{className:"brz-ed-popup-integrations-fields__info",dangerouslySetInnerHTML:{__html:a}})},s.a.createElement(F.b,{icon:"nc-alert-circle-que"}))),"select"===n&&this.renderSelect(e),"upload"===n&&this.renderUpload(e))});return s.a.createElement(st.a,{style:{maxHeight:255},className:"brz-ed-popup-integrations__scroll-pane"},e)}render(){const{error:e,prevLoading:t,nextLoading:o,onPrev:n,onNext:a}=this.props;return s.a.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__fields"},e&&this.renderError(),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__head"},s.a.createElement("p",{className:"brz-p"},s.a.createElement("strong",{className:"brz-strong"},Object(ie.a)("ADD FONT VARIATION")))),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__body"},this.renderOptions(),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==t&&s.a.createElement(Ge,{size:3,leftIcon:"nc-arrow-left",loading:t,onClick:n},Object(ie.a)("Back")),null!==o&&s.a.createElement(Ge,{color:"teal",loading:o,onClick:a},Object(ie.a)("Add Font")))))}}Object(i.a)(gi,"defaultProps",{data:[{title:"",value:"",name:"",helper:null}],nextLoading:null,prevLoading:null,onPrev:v.default.noop,onNext:v.default.noop,onActive:v.default.noop});var vi=gi;class fi extends l.Component{renderError(){return s.a.createElement("div",{className:"brz-ed-alert brz-ed-alert-error"},s.a.createElement("span",{className:"brz-span"},this.props.error))}renderOptions(){const{data:e,onActive:t}=this.props,o=e.map((e,o)=>{const{id:n,title:a,type:r}=e;return s.a.createElement("div",{key:o,className:"brz-ed-popup-integrations-step__fields-option brz-ed-popup-integrations-step__fields-option--big"},s.a.createElement("p",{className:"brz-p brz-ed-popup-integration__font-name"},a),s.a.createElement("p",{className:"brz-p",style:{fontWeight:n,flexBasis:"60%"}},r),s.a.createElement("div",{title:"Disconnect",className:"brz-ed-popup-integrations--delete",onClick:()=>{t(n)}},s.a.createElement(F.b,{icon:"nc-trash"})))});return s.a.createElement(st.a,{style:{maxHeight:255},className:"brz-ed-popup-integrations__scroll-pane"},o)}render(){const{error:e,prevLoading:t,nextLoading:o,createLoading:n,onPrev:a,onNext:r,onCreate:i}=this.props;return s.a.createElement("div",{className:"brz-ed-popup-integrations-step brz-ed-popup-integrations-step__fields"},e&&this.renderError(),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__head"},s.a.createElement("p",{className:"brz-p"},s.a.createElement("strong",{className:"brz-strong"},Object(ie.a)("FONT VARIATION")))),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__body"},this.renderOptions(),s.a.createElement("div",{className:"brz-ed-popup-integrations-new__option",onClick:i},s.a.createElement(F.b,{icon:n?"nc-circle-02":"nc-add",className:n?"brz-ed-animated--spin":""}),Object(ie.a)("Add new font variation")),s.a.createElement("div",{className:"brz-ed-popup-integrations-step__buttons"},null!==t&&s.a.createElement(Ge,{size:3,leftIcon:"nc-arrow-left",loading:t,onClick:a},Object(ie.a)("Back")),null!==o&&s.a.createElement(Ge,{color:"teal",loading:o,onClick:r},Object(ie.a)("Continue")))))}}Object(i.a)(fi,"defaultProps",{data:[{title:"",value:"",name:""}],nextLoading:null,prevLoading:null,createLoading:!1,onPrev:v.default.noop,onNext:v.default.noop,onActive:v.default.noop,onCreate:v.default.noop});var yi=fi;function Oi(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Si(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Oi(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Oi(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const xi=v.default.memoize(e=>Object.entries(e).map(([e,t])=>({title:t,name:e})));class Ci extends l.Component{constructor(...e){super(...e),Object(i.a)(this,"state",{mode:"add",keyValue:this.getDefaultData(),nextLoading:!1,prevLoading:!1,addLoading:!1,error:null}),Object(i.a)(this,"handleChangeAddMode",async()=>{this.setState({addLoading:!0}),await Object(pe.H)(),this.setState({mode:"add",addLoading:!1})}),Object(i.a)(this,"handleUploadFonts",(e,t)=>{this.setState(({keyValue:o})=>({error:null,keyValue:Si(Si({},o),{},{[""+e]:t})}))}),Object(i.a)(this,"handleAddFonts",async()=>{const{app:{id:e,data:t},onChange:o}=this.context,n=this.state.keyValue,{weight:a}=n,r=Object(x.a)(n,["weight"]);if(this.setState({nextLoading:!0,error:null}),await Object(pe.H)(),!Object.values(r).some(e=>Boolean(e)))return void this.setState({nextLoading:!1,error:Object(ie.a)("You must be have one font added")});let i=new Set([...t.weights||[],Number(a)]);o(e,Object.assign({},t,{weights:[...i],files:Si(Si({},t.files||[]),{},{[a]:r})})),this.setState({mode:"edit",keyValue:this.getDefaultData(),nextLoading:!1})}),Object(i.a)(this,"handleRemoveFonts",e=>{const{app:{id:t,data:o},onChange:n}=this.context;n(t,Object.assign({},o,{weights:v.default.without(o.weights,e),files:v.default.omit(o.files,e)}))}),Object(i.a)(this,"handleNext",async()=>{const{app:{data:{files:e,fontName:t}},onChangeNext:o}=this.context;this.setState({nextLoading:!0});const{status:n,data:a}=await(({id:e,name:t,files:o})=>{const{api:n}=f.a.get("wp"),a=f.a.get("editorVersion"),r=He(n.url,{action:n.createFont,hash:n.hash,version:a}),i=new FormData;return i.append("id",e),i.append("family",t),Object.entries(o).forEach(([e,t])=>{Object.entries(t).forEach(([t,o])=>{o&&i.append(`fonts[${e}][${t}]`,o,o.name)})}),Object(pe.K)(r,{method:"POST",body:i}).then(Fe).then(e=>e)})({id:Object(hi.a)(),name:t,files:e});200!==n?this.setState({nextLoading:!1,error:Object(ie.a)("Something went wrong")}):(this.props.dispatch(Object(sn.f)([{type:"upload",fonts:[a]}])),o())}),Object(i.a)(this,"handlePrev",async()=>{this.setState({prevLoading:!0}),await Object(pe.H)(),this.context.onChangePrev()})}getDefaultData(){return{weight:"400",ttf:"",eot:"",woff:"",woff2:""}}getAddData(){const{weight:e,ttf:t,eot:o,woff:n,woff2:a}=this.state.keyValue;return[{title:Object(ie.a)("Font weight"),name:"weight",type:"select",value:e,choices:xi(No.u)},{title:Object(ie.a)("TTF File"),name:"ttf",value:t,type:"upload",accept:".ttf",helper:"The Web Open Font Format (TTF) is a format used in web pages by modern browsers."},{title:Object(ie.a)("EOT File"),name:"eot",value:o,type:"upload",accept:".eot",helper:"The Web Open Font Format (EOT) is a format used in web pages by modern browsers."},{title:Object(ie.a)("WOFF File"),name:"woff",value:n,type:"upload",accept:".woff",helper:"The Web Open Font Format (WOFF) is a format used in web pages by modern browsers."},{title:Object(ie.a)("WOFF2 File"),name:"woff2",value:a,type:"upload",accept:".woff2",helper:"The Web Open Font Format (WOFF2) is a format used in web pages by modern browsers."}]}getEditData(){const{data:{fontName:e,weights:t}}=this.context.app;return t.map(t=>({id:t,title:e,type:No.u[t]}))}render(){const{mode:e,nextLoading:t,prevLoading:o,addLoading:n,error:a}=this.state;return"add"===e?s.a.createElement(vi,{data:this.getAddData(),error:a,nextLoading:t,prevLoading:o,onNext:this.handleAddFonts,onPrev:this.handlePrev,onActive:this.handleUploadFonts}):s.a.createElement(yi,{data:this.getEditData(),error:a,nextLoading:t,prevLoading:o,createLoading:n,onNext:this.handleNext,onPrev:this.handlePrev,onCreate:this.handleChangeAddMode,onActive:this.handleRemoveFonts})}}Object(i.a)(Ci,"contextType",me);var ji=Object(no.b)()(Ci);class Pi extends Rt{}Object(i.a)(Pi,"upload",mi),Object(i.a)(Pi,"variation",ji),Object(i.a)(Pi,"done",si);var Bi=Pi;const wi=f.a.get("pro");var Ti=class extends ze{constructor(...e){super(...e),Object(i.a)(this,"appsData",[]),Object(i.a)(this,"appsComponent",r),Object(i.a)(this,"proExceptions",!wi),Object(i.a)(this,"handleConnectApp",async e=>{const t=e.id,{stages:o=[]}=this.appsData.find(e=>e.id===t)||{};await Object(pe.H)(),this.setState(Object(c.a)(n=>{n.stages=o,n.connectedApp=t,n.data[t]=e}),()=>{this.handleNext()})})}async componentDidMount(){const e=Object(ue.a)("integrations.json"),t=await fetch(e),{fonts:o}=await t.json();this.appsData=o,this.setState({loading:!1})}};const zi=[{id:"upload",title:Object(ie.a)("Add New"),icon:"nc-add",component:Ti},{id:"fonts",title:Object(ie.a)("Fonts"),icon:"nc-font",component:ti}];class Ei extends l.Component{render(){const{opened:e,onClose:t}=this.props;return s.a.createElement(de,{opened:e,tabs:zi,currentTab:"upload",blockTabsWhenLoading:!1,onClose:t})}}Object(i.a)(Ei,"defaultProps",{opened:!1,onClose:v.noop});var ki=Ei;var Hi=e=>s.a.createElement("div",{className:"brz-ed-popup-conditions__buttons"},s.a.createElement("button",{className:"brz-button brz-button__cancel",onClick:e.onClose},Object(ie.a)("Cancel")),s.a.createElement("button",{className:"brz-button brz-button__save",onClick:e.onChange},e.loading?s.a.createElement(F.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"}):Object(ie.a)("Save")));function Fi({showTypeButton:e=!0,active:t,children:o,onChange:n,onRemove:a}){const r=t?"include":"exclude",i=t?s.a.createElement(F.b,{icon:"nc-include"}):s.a.createElement(F.b,{icon:"nc-none"}),l=g()("brz-ed-popup-conditions__type","brz-ed-popup-conditions__type-"+r);return s.a.createElement("div",{className:"brz-ed-popup-conditions__condition brz-d-xs-flex"},e&&s.a.createElement("div",{className:l,onClick:()=>n({active:!t})},s.a.createElement("span",{className:"brz-ed-popup-conditions__type-text"},i,Object(Gt.c)(r))),s.a.createElement("div",{className:"brz-ed-popup-conditions__select brz-d-xs-flex"},o),s.a.createElement("div",{className:"brz-ed-popup-conditions__remove",onClick:a},s.a.createElement(F.b,{icon:"nc-trash"})))}var _i=o(142),Ri=o(96);function Li(e,{appliedFor:t,entityType:o}){return e.findIndex(({groupValue:e,value:n})=>e===t&&n===o)}function Mi(e){return e.filter((function(t,o){return e.findIndex(({appliedFor:e,entityType:o,entityValues:n})=>e===t.appliedFor&&o===t.entityType&&v.default.isEqual(n,t.entityValues))>=o})).map(e=>{let{id:t}=e;return Object(x.a)(e,["id"])})}class Wi extends s.a.Component{renderGroupOptions(e){return[{title:"All",groupValue:"",value:""},...e].map(({title:e,value:t,groupValue:o,disabled:n})=>s.a.createElement(S.a,{key:"key-"+t,value:`${o}|${t}`,disabled:n},e))}renderTypeOptions(e){return[{title:"All",value:""},...e].map(e=>e.items?s.a.createElement(_i.a,{key:e.value,title:e.title,items:e.items.map(t)},s.a.createElement("span",{className:"brz-span"},e.title)):t(e));function t({title:e,value:t}){return s.a.createElement(S.a,{key:t,value:String(t)},e)}}render(){const{rulesList:e,rule:t,onGroupChange:o,onTypeChange:n}=this.props,a=e[Li(e,t)];return s.a.createElement("div",{className:"brz-ed-popup-conditions__select brz-d-xs-flex"},s.a.createElement(O.a,{className:"brz-control__select--light",maxItems:6,itemHeight:30,defaultValue:`${t.appliedFor}|${t.entityType}`,onChange:o},this.renderGroupOptions(e)),a&&a.items&&s.a.createElement(O.a,{defaultValue:String(t.entityValues[0]),className:"brz-control__select--light",maxItems:6,itemHeight:30,onChange:n},this.renderTypeOptions(a.items)))}}Object(i.a)(Wi,"defaultProps",{rulesList:[],rule:{},onGroupChange:v.default.noop,onTypeChange:v.default.noop});var Ii=Wi;function Ni(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ai(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ni(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ni(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}class Vi extends s.a.Component{constructor(...e){super(...e),Object(i.a)(this,"handleRemove",e=>{this.props.onChange(Object(tt.removeAt)(this.props.rules,e))}),Object(i.a)(this,"handleVisibilityTypeChange",(e,t)=>{t=t?1:2;const o=Object(tt.setIn)(this.props.rules,[e,"type"],Number(t));this.props.onChange(o)}),Object(i.a)(this,"handleGroupChange",(e,t)=>{const{rules:o}=this.props;let[n,a]=e.split("|");const r=Ai(Ai({},o[t]),{},{entityType:a,appliedFor:""===n||null===n?null:Number(n),entityValues:[]});this.props.onChange(Object(tt.setIn)(o,[t],r))}),Object(i.a)(this,"handleTypeChange",(e,t)=>{const{rules:o}=this.props,n=e?[e]:[];this.props.onChange(Object(tt.setIn)(o,[t,"entityValues"],n))})}render(){const{rules:e,rulesList:t}=this.props;return e.map((e,o)=>{let{type:n}=e,a=Object(x.a)(e,["type"]);const r=1===n;return s.a.createElement(Fi,{key:o,active:r,index:o,onChange:()=>this.handleVisibilityTypeChange(o,!r),onRemove:()=>this.handleRemove(o)},s.a.createElement(Ii,{rule:a,rulesList:t,onGroupChange:e=>this.handleGroupChange(e,o),onTypeChange:e=>this.handleTypeChange(e,o)}))})}}Object(i.a)(Vi,"defaultProps",{rules:[],rulesList:[],onChange:v.default.noop});var Di=Vi;function $i(e){const[t,o]=Object(l.useState)([]),[n,a]=Object(l.useState)(!0);return Object(l.useEffect)(()=>{!async function(){a(!0);const e=(await Object(pe.p)()||[]).map(({items:e})=>e).flat();a(!1),o(e)}()},[]),Object(l.useEffect)(()=>{null!==e&&t.length&&async function(){const n=function(e){return e.reduce((e,t)=>(e.find(({appliedFor:e,entityType:o})=>e===t.appliedFor&&o===t.entityType)||e.push(t),e),[])}(e);let a=t;n.forEach(async n=>{const r=Li(t,n),i=n.appliedFor,l=t[r]&&t[r].items;if([Ri.c,Ri.a,Ri.d].includes(i)&&!l){let t=[];switch(i){case Ri.c:case Ri.d:{const{posts:e}=await Object(pe.u)(n.entityType);t=e.map(({ID:e,title:t})=>({title:t,value:e}));break}case Ri.a:t=(await Object(pe.E)(n.entityType)).map(({name:e,term_id:t})=>({title:e,value:t}));break}a=Object(tt.setIn)(a,[r,"items"],t),o(function(e,t){if(!t.length)return t;let o=t;return e.forEach(e=>{const n=Li(t,e);if(-1!==n)if(e.appliedFor!==Ri.c&&e.appliedFor!==Ri.a)o=Object(tt.setIn)(o,[n,"disabled"],!0);else{const{items:t}=o[n];if(t&&e.entityValues.length){const a=t.findIndex(({value:t})=>e.entityValues.includes(t));-1!==a&&(o=Object(tt.setIn)(o,[n,"items",a,"disabled"],!0))}}}),o}(e,a))}})}()},[e,t]),[n,t]}var Gi=e=>{const{value:t=[],asyncGetValue:o,onClose:n=v.noop,onChange:a=v.noop}=e,[r,i]=Object(l.useState)(t),[c,d]=Object(l.useState)(!1),[u,p]=Object(l.useState)(null),[b,m]=$i(r),h=Object(no.d)(so.C);return Object(l.useEffect)(()=>{o&&async function(e){let t=await e();A.c&&!t?t=[{type:1,appliedFor:null,entityType:"",entityValues:[]}]:t||(t=[]),i(t)}(o)},[]),s.a.createElement(s.a.Fragment,null,b?s.a.createElement("div",{className:"brz-ed-popup-conditions__spin"},s.a.createElement(F.b,{icon:"nc-circle-02",className:"brz-ed-animated--spin"})):s.a.createElement(st.a,{style:{overflow:"hidden",height:"350px"},className:"brz-ed-scroll--medium brz-ed-scroll--new-dark"},null!==r&&s.a.createElement(Di,{rules:r,rulesList:m,onChange:function(e){A.h&&i(e)}}),s.a.createElement("div",{className:"brz-ed-popup-conditions__add-condition",onClick:function(){if(A.h){const e=f.a.getAll(),t={type:1,appliedFor:Ri.c,entityType:"page",entityValues:[]};Object(wn.d)(h)&&(t.entityType=h.collectionType.id),Object(wn.b)(e)&&Object(wn.a)(e)&&Object(wn.e)(e)&&(t.entityType=Ri.b),co.b&&(t.appliedFor=null,t.entityType=""),i([...r,t])}}},s.a.createElement(F.b,{icon:"nc-add"})," ",Object(ie.a)("Add new display condition"))),u&&s.a.createElement("div",{className:"error"},u),s.a.createElement(Hi,{loading:c,onChange:function(){A.h&&(d(!0),p(null),a({data:{rules:Mi(r)},meta:{syncSuccess:()=>d(!1),syncFail:e=>{var t,o;d(!1),p(null!==(t=null===(o=e.responseJSON)||void 0===o?void 0:o.data.message)&&void 0!==t?t:Object(ie.a)("Something went wrong"))}}}))},onClose:n}))};function Ui(e){const{className:t,type:o="text",placeholder:n="",value:a="",onChange:r=(()=>{})}=e,i=g()("brz-input",t);return s.a.createElement("div",{className:"brz-control__select"},s.a.createElement("input",{className:i,type:o,placeholder:n,value:a,onChange:({target:{value:e}})=>r(e)}))}function Ki(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Yi(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Ki(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Ki(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function qi(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Xi(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?qi(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):qi(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function Zi(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ji(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?Zi(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Zi(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const Qi={search_engines:"Any Search Engine",bing:"Bing",yandex:"Yandex",yahoo:"Yahoo",baidu:"Baidu","so.com":"So.com","360.cn":"360.cn",aol:"AOL",duckduckgo:"DuckDuckGo","ask.com":"Ask.com","mail.ru":"Mail.ru",sogou:"Sogou"},el={social_networks:"Any Social Networks",facebook:"Facebook",pinterest:"Pinterest",twitter:"Twitter",linkedin:"LinkedIn"},tl={external:"External Links",internal:"Internal Links"};function ol(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function nl(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ol(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ol(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function al(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function rl(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?al(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):al(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}o(322);function il(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ll(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?il(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):il(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function sl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function cl(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?sl(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):sl(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function dl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function ul(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?dl(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):dl(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function pl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function bl(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?pl(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):pl(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function ml(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function hl(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ml(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ml(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}const gl={android:"Android",bada:"Bada",blackberry:"BlackBerry OS",chromeOs:"Chrome OS",firefoxOs:"Firefox OS",ios:"IOS",linux:"Linux",mac:"Mac OS",windows:"Windows"};function vl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function fl(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?vl(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):vl(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function yl(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function Ol(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?yl(Object(o),!0).forEach((function(t){Object(i.a)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):yl(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var Sl=[{id:"pageLoad",title:"On Page Load",type:"number",placeholder:"After (sec)",Component:Ui},{id:"scrolling",title:"On Scroll",defaultValue:{value:"down",within:"",toElement:""},duplicatesAmount:1/0,Component:function(e){const{value:t="",onChange:o=(()=>{})}=e;return s.a.createElement(s.a.Fragment,null,s.a.createElement(O.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.value,onChange:e=>o(Yi(Yi({},t),{},{value:e}))},s.a.createElement(S.a,{key:"down",value:"down"},"Down"),s.a.createElement(S.a,{key:"up",value:"up"},"Up"),s.a.createElement(S.a,{key:"toElement",value:"toElement"},"To element")),"down"===t.value&&s.a.createElement("div",{className:"brz-control__select"},s.a.createElement("input",{className:"brz-input",type:"number",placeholder:"% of page height",value:t.within,onChange:({target:{value:e}})=>o(Yi(Yi({},t),{},{within:e}))})),"toElement"===t.value&&s.a.createElement("div",{className:"brz-control__select"},s.a.createElement("input",{className:"brz-input",type:"text",placeholder:".my-class",value:t.toElement||"",onChange:({target:{value:e}})=>o(Yi(Yi({},t),{},{toElement:e}))})))}},{id:"click",title:"On Click",type:"number",placeholder:"clicks",Component:Ui},{id:"inactivity",title:"After Inactivity",type:"number",placeholder:"After (sec)",Component:Ui},{id:"exitIntent",title:"On Page Exit Intent",defaultValue:!0},{id:"showing",title:"Show After X",defaultValue:{value:"views",type:"equals",views:5,sessions:3},duplicatesAmount:2,Component:function(e){const{value:t="",onChange:o=(()=>{})}=e;return s.a.createElement(s.a.Fragment,null,s.a.createElement(O.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.value,onChange:e=>o(Xi(Xi({},t),{},{value:e}))},s.a.createElement(S.a,{key:"views",value:"views"},"viewed pages"),s.a.createElement(S.a,{key:"sessions",value:"sessions"},"Sessions")),s.a.createElement(O.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o(Xi(Xi({},t),{},{type:e}))},s.a.createElement(S.a,{key:"is fewer",value:"is fewer"},"is fewer than"),s.a.createElement(S.a,{key:"equals",value:"equals"},"equals"),s.a.createElement(S.a,{key:"is more",value:"is more"},"is more than")),s.a.createElement("div",{className:"brz-control__select"},s.a.createElement("input",{className:"brz-input",type:"number",placeholder:"Number of",value:t[t.value],onChange:({target:{value:e}})=>o(Xi(Xi({},t),{},{[t.value]:e}))})))}},{id:"referrer",title:"Arriving From",defaultValue:{type:"is",value:"show",url:"",source:"search_engines"},duplicatesAmount:1/0,Component:function(e){const{value:t="",onChange:o=(()=>{})}=e;return s.a.createElement(s.a.Fragment,null,s.a.createElement(O.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.value,onChange:e=>o(Ji(Ji({},t),{},{value:e}))},s.a.createElement(S.a,{key:"show",value:"show"},"Show"),s.a.createElement(S.a,{key:"hide",value:"hide"},"Hide"),s.a.createElement(S.a,{key:"regex",value:"regex"},"Regex"),s.a.createElement(S.a,{key:"source",value:"source"},"Source")),"source"===t.value?[s.a.createElement(O.a,{key:"type",className:"brz-control__select--light",itemHeight:30,defaultValue:t.type,onChange:e=>o(Ji(Ji({},t),{},{type:e}))},s.a.createElement(S.a,{key:"is",value:"is"},"is"),s.a.createElement(S.a,{key:"is not",value:"is not"},"is not")),s.a.createElement(O.a,{className:"brz-control__select--light",key:"source",itemHeight:30,defaultValue:t.source,onChange:e=>o(Ji(Ji({},t),{},{source:e}))},s.a.createElement(_i.a,{key:"Organic",title:"Organic",items:n(Qi)},s.a.createElement("span",{className:"brz-span"},"Organic")),s.a.createElement(_i.a,{key:"Social Networks",title:"Social Networks",items:n(el)},s.a.createElement("span",{className:"brz-span"},"Networks")),s.a.createElement(_i.a,{key:"Other",title:"Other",items:n(tl)},s.a.createElement("span",{className:"brz-span"},"Other")))]:s.a.createElement("div",{className:"brz-control__select"},s.a.createElement("input",{className:"brz-input",type:"text",placeholder:"URL",value:t.url,onChange:({target:{value:e}})=>o(Ji(Ji({},t),{},{url:e}))})));function n(e){return Object.entries(e).map(([e,t])=>s.a.createElement(S.a,{key:e,value:e},t))}}},{id:"loggedIn",title:"Hide for logged in users",defaultValue:{value:"all",user:void 0},duplicatesAmount:1/0,Component:function(e){const{value:t={},onChange:o=(()=>{})}=e,{availableRoles:n}=f.a.get("wp");let a=null;return"custom"===t.value&&(a=Array.isArray(n)&&n.length?s.a.createElement(O.a,{className:"brz-control__select--light",itemHeight:30,defaultValue:t.user,on