Carousel, Slider, Gallery by WP Carousel – Image Carousel & Photo Gallery, Post Carousel & Post Grid, Product Carousel & Product Grid for WooCommerce - Version 2.3.3

Version Description

Nov 04, 2021 = * Fix: Image alt text issue. * Improved: Settings page "Save Changes" and "Reset Tab" button. * Improved: Backed shortcode panel options. * Removed: "Reset All" button.

Download this release

Release Info

Developer shapedplugin
Plugin Icon 128x128 Carousel, Slider, Gallery by WP Carousel – Image Carousel & Photo Gallery, Post Carousel & Post Grid, Product Carousel & Product Grid for WooCommerce
Version 2.3.3
Comparing to
See all releases

Code changes from version 2.3.2 to 2.3.3

admin/views/metabox-config.php CHANGED
@@ -351,11 +351,14 @@ SP_WPCF::createSection(
351
  'default' => 'horizontal',
352
  ),
353
  array(
354
- 'id' => 'wpcp_carousel_auto_play',
355
- 'type' => 'switcher',
356
- 'title' => __( 'AutoPlay', 'wp-carousel-free' ),
357
- 'subtitle' => __( 'On/Off auto play.', 'wp-carousel-free' ),
358
- 'default' => true,
 
 
 
359
  ),
360
  array(
361
  'id' => 'carousel_auto_play_speed',
@@ -403,15 +406,21 @@ SP_WPCF::createSection(
403
  'id' => 'carousel_pause_on_hover',
404
  'type' => 'switcher',
405
  'title' => __( 'Pause on Hover', 'wp-carousel-free' ),
406
- 'subtitle' => __( 'On/Off carousel pause on hover.', 'wp-carousel-free' ),
407
  'default' => true,
 
 
 
408
  'dependency' => array( 'wpcp_carousel_auto_play', '==', 'true', true ),
409
  ),
410
  array(
411
  'id' => 'carousel_infinite',
412
  'type' => 'switcher',
413
  'title' => __( 'Infinite Loop', 'wp-carousel-free' ),
414
- 'subtitle' => __( 'On/Off infinite loop mode.', 'wp-carousel-free' ),
 
 
 
415
  'default' => true,
416
  ),
417
  array(
351
  'default' => 'horizontal',
352
  ),
353
  array(
354
+ 'id' => 'wpcp_carousel_auto_play',
355
+ 'type' => 'switcher',
356
+ 'title' => __( 'AutoPlay', 'wp-carousel-free' ),
357
+ 'subtitle' => __( 'Enable/Disable auto play.', 'wp-carousel-free' ),
358
+ 'text_on' => __( 'Enabled', 'wp-carousel-free' ),
359
+ 'text_off' => __( 'Disabled', 'wp-carousel-free' ),
360
+ 'text_width' => 95,
361
+ 'default' => true,
362
  ),
363
  array(
364
  'id' => 'carousel_auto_play_speed',
406
  'id' => 'carousel_pause_on_hover',
407
  'type' => 'switcher',
408
  'title' => __( 'Pause on Hover', 'wp-carousel-free' ),
409
+ 'subtitle' => __( 'Enable/Disable carousel pause on hover.', 'wp-carousel-free' ),
410
  'default' => true,
411
+ 'text_on' => __( 'Enabled', 'wp-carousel-free' ),
412
+ 'text_off' => __( 'Disabled', 'wp-carousel-free' ),
413
+ 'text_width' => 95,
414
  'dependency' => array( 'wpcp_carousel_auto_play', '==', 'true', true ),
415
  ),
416
  array(
417
  'id' => 'carousel_infinite',
418
  'type' => 'switcher',
419
  'title' => __( 'Infinite Loop', 'wp-carousel-free' ),
420
+ 'subtitle' => __( 'Enable/Disable infinite loop mode.', 'wp-carousel-free' ),
421
+ 'text_on' => __( 'Enabled', 'wp-carousel-free' ),
422
+ 'text_off' => __( 'Disabled', 'wp-carousel-free' ),
423
+ 'text_width' => 95,
424
  'default' => true,
425
  ),
426
  array(
admin/views/option-config.php CHANGED
@@ -26,7 +26,7 @@ SP_WPCF::createOptions(
26
  'menu_type' => 'submenu',
27
  'ajax_save' => true,
28
  'save_defaults' => true,
29
- 'show_reset_all' => true,
30
  'framework_title' => __( 'Settings', 'wp-carousel-free' ),
31
  'framework_class' => 'sp-wpcp-options',
32
  'theme' => 'light',
26
  'menu_type' => 'submenu',
27
  'ajax_save' => true,
28
  'save_defaults' => true,
29
+ 'show_reset_all' => false,
30
  'framework_title' => __( 'Settings', 'wp-carousel-free' ),
31
  'framework_class' => 'sp-wpcp-options',
32
  'theme' => 'light',
admin/views/sp-framework/assets/css/style.css CHANGED
@@ -400,7 +400,6 @@ transition: opacity 0.2s;
400
  box-shadow: none;
401
  }
402
 
403
- .wpcf-saving .wpcf-buttons,
404
  .wpcf-saving .wpcf-content {
405
  cursor: default;
406
  pointer-events: none;
@@ -3125,6 +3124,7 @@ Advanced Typography Field*/
3125
  border-radius: 4px;
3126
  padding: 0px 16px;
3127
  font-size: 13px;
 
3128
  margin-left: 8px;
3129
  text-transform: uppercase;
3130
  -webkit-transition: all 0.4s;
@@ -3135,25 +3135,32 @@ Advanced Typography Field*/
3135
  }
3136
  .wpcf.wpcf-options .wpcf-header-inner input.button-primary {
3137
  /* box-shadow: 0 3px 0 #369ec7; */
3138
- background-color: #02cc7b;
 
3139
  color: #ffffff;
 
 
3140
  }
3141
  .wpcf.wpcf-options .wpcf-header-inner input.button-primary:hover {
3142
  /* box-shadow: 0 3px 0 #1784af; */
3143
- background-color: #02bb71;
3144
  }
3145
  .wpcf.wpcf-options .wpcf-header-inner input.wpcf-reset-section {
3146
  /* box-shadow: 0 3px 0 #666666; */
3147
- background-color: #77777c;
3148
  color: #ffffff;
3149
  margin-left: 8px;
3150
  }
3151
  .wpcf.wpcf-options .wpcf-header-inner input.wpcf-reset-section:hover {
3152
  /* box-shadow: 0 3px 0 #4a4949; */
3153
- background-color: #616169;
3154
  color: #ffffff;
3155
  }
3156
-
 
 
 
 
3157
  .wpcf.wpcf-options .wpcf-nav ul li a {
3158
  background: #efefef;
3159
  color: #000;
400
  box-shadow: none;
401
  }
402
 
 
403
  .wpcf-saving .wpcf-content {
404
  cursor: default;
405
  pointer-events: none;
3124
  border-radius: 4px;
3125
  padding: 0px 16px;
3126
  font-size: 13px;
3127
+ font-weight: 500;
3128
  margin-left: 8px;
3129
  text-transform: uppercase;
3130
  -webkit-transition: all 0.4s;
3135
  }
3136
  .wpcf.wpcf-options .wpcf-header-inner input.button-primary {
3137
  /* box-shadow: 0 3px 0 #369ec7; */
3138
+ background-color: #c5c5c6;
3139
+ border-color: transparent;
3140
  color: #ffffff;
3141
+ width: 140px;
3142
+ pointer-events: none;
3143
  }
3144
  .wpcf.wpcf-options .wpcf-header-inner input.button-primary:hover {
3145
  /* box-shadow: 0 3px 0 #1784af; */
3146
+ background-color: #00b647 !important;
3147
  }
3148
  .wpcf.wpcf-options .wpcf-header-inner input.wpcf-reset-section {
3149
  /* box-shadow: 0 3px 0 #666666; */
3150
+ background-color: #cd3c3c!important;
3151
  color: #ffffff;
3152
  margin-left: 8px;
3153
  }
3154
  .wpcf.wpcf-options .wpcf-header-inner input.wpcf-reset-section:hover {
3155
  /* box-shadow: 0 3px 0 #4a4949; */
3156
+ background-color: #c03635!important;
3157
  color: #ffffff;
3158
  }
3159
+ .wpcf.wpcf-options .wpcf-header-inner .button.wpcf-save-ajax[disabled] {
3160
+ background-color: #02cc7b !important;
3161
+ color: #ffffff !important;
3162
+ border: none;
3163
+ }
3164
  .wpcf.wpcf-options .wpcf-nav ul li a {
3165
  background: #efefef;
3166
  color: #000;
admin/views/sp-framework/assets/css/style.min.css CHANGED
@@ -1 +1 @@
1
- .wpcf{position:relative}.wpcf label{padding:0;margin:0;display:inline-block}.wpcf-ab-icon{top:2px}#screen-meta-links+.wpcf-options{margin-top:40px}.wpcf-options{margin-top:20px;margin-right:20px}.wpcf-header{position:relative}.wpcf-header-inner{padding:25px;transition:box-shadow .3s ease}.wpcf-header-inner h1 svg{float:left;height:26px;width:28px;margin-right:8px;padding-top:6px}.wpcf-header-inner h1{float:left;margin:0;font-size:22px;color:#444;font-weight:600;line-height:35px}.wpcf-header-inner h1 small{font-size:11px;font-weight:500}.wpcf-sticky .wpcf-header-inner{position:fixed;z-index:99;top:32px;box-shadow:0 5px 10px rgba(0,0,0,.1)}.wpcf-buttons{float:right}.wpcf-buttons .button{margin:0 2px;line-height:26px}.wpcf-buttons .button:focus{outline:0!important;box-shadow:none!important}.wpcf-buttons .wpcf-save{min-width:72px}.wpcf-header-left{float:left}.wpcf-header-right{float:right}.wpcf-nav:not(.wpcf-nav-inline){display:block;position:relative;z-index:10;float:left}.wpcf-nav ul{clear:left;margin:0;list-style-type:none}.wpcf-nav ul li{margin-bottom:0}.wpcf-nav ul li a{font-size:13px;position:relative;display:block;padding:14px 12px;text-decoration:none;transition-property:color,background;transition-duration:.2s;transition-timing-function:ease}.wpcf-nav .fa{width:20px;margin-right:5px;font-size:14px;text-align:center}.wpcf-nav ul li a:focus{outline:0;box-shadow:none}.wpcf-nav ul li .wpcf-arrow:after{content:"\f054";display:inline-block;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:9px;line-height:1;position:absolute;right:10px;top:50%;margin-top:-4px}.wpcf-nav ul li.wpcf-tab-expanded .wpcf-arrow:after{transform:rotate(90deg)}#wpcf_shortcode_options .wpcf-theme-light .wpcf-nav ul li .wpcf-active i,.sp-wpcf-options.wpcf-theme-light .wpcf-nav ul li .wpcf-active i{color:#178087}.wpcf-nav ul li.wpcf-tab-expanded ul{display:block}.wpcf-nav ul ul{display:none;position:relative}.wpcf-nav ul ul li a{font-size:12px;padding:12px 14px 12px 24px}.wpcf-nav .wpcf-tab-icon{width:20px;margin-right:5px;font-size:13px;text-align:center}.wpcf-nav .wpcf-label-error{margin-left:4px;vertical-align:top}.wpcf-nav-normal{width:235px}.wpcf-nav-normal+.wpcf-content{margin-left:235px}.wpcf-nav-inline ul li{display:inline-block;vertical-align:top}.wpcf-nav-background{position:absolute;top:0;left:0;bottom:0;z-index:9;width:235px}.wpcf-wrapper{position:relative}.wpcf-content{background-color:#fff;background-color:#fff;-moz-transition:opacity .2s;-o-transition:opacity .2s;-webkit-transition:opacity .2s;transition:opacity .2s}.wpcf-sections{float:left;width:100%}.wpcf-section-title{display:none;padding:20px 30px;background-color:#f5f5f5;border-top:1px solid #eee;border-bottom:1px solid #eee}.wpcf-section-title h3{margin:0;padding:0;font-size:13px;font-weight:700;text-transform:uppercase}.wpcf-section-title .wpcf-section-icon{margin-right:5px}.wpcf-footer{padding:20px;font-size:11px}.wpcf-copyright{float:left;margin-top:5px}.wpcf-search-all .wpcf-nav,.wpcf-search-all .wpcf-nav-background,.wpcf-show-all .wpcf-nav,.wpcf-show-all .wpcf-nav-background{display:none}.wpcf-search-all .wpcf-content,.wpcf-show-all .wpcf-content{margin-left:0}.wpcf-search-all .wpcf-section,.wpcf-search-all .wpcf-section-title,.wpcf-show-all .wpcf-section-title{display:block!important}.wpcf-search-all .wpcf-section-title{display:none!important}.wpcf-expand-all{float:left;padding:0 8px;margin-right:4px;z-index:1;font-size:13px;line-height:30px;cursor:pointer;user-select:none;border-radius:2px;transition:all .2s}.wpcf-expand-all span{font-size:11px;vertical-align:middle}.wpcf-search{float:left}.wpcf-search input{margin:0 2px 0 0;border:none;font-size:12px;line-height:30px;min-height:30px;text-align:inherit;padding:0 10px;border-radius:2px;box-shadow:none}.wpcf-search input:focus{box-shadow:none}.wpcf-saving .wpcf-buttons,.wpcf-saving .wpcf-content{cursor:default;pointer-events:none;opacity:.5}.wpcf-metabox{margin:-6px -12px -12px -12px}.wpcf-metabox .wpcf-field{padding:20px}.wpcf-metabox .wpcf-section-title{padding:20px}.block-editor-page .wpcf-metabox{margin:-6px -14px -14px -14px}.block-editor-editor-skeleton__content .wpcf-metabox{border-left:1px solid #e2e4e7;border-right:1px solid #e2e4e7}.wpcf-sections-reset{float:left;width:100%;text-align:right;border-top:1px solid #eee}.wpcf-sections-reset .wpcf-button-cancel,.wpcf-sections-reset input{display:none}.wpcf-sections-reset label{padding:10px}.wpcf-sections-reset span{-webkit-user-select:none;user-select:none}.wpcf-sections-reset input:checked~.wpcf-button-reset{display:none}.wpcf-sections-reset input:checked~.wpcf-button-cancel{display:inline-block}#side-sortables .wpcf-section-title{padding:12px}#side-sortables .wpcf-field{padding:10px 15px}#side-sortables .wpcf-field .wpcf-title{float:none;width:100%;margin-bottom:6px}#side-sortables .wpcf-field .wpcf-fieldset{float:none;width:100%}#side-sortables .wpcf-field-text input{width:100%}#side-sortables .wpcf-notice{padding:10px 15px}.wpcf-comment-metabox{margin:-6px -12px -12px -12px}.wpcf-comment-metabox .wpcf-field{padding:20px}.wpcf-comment-metabox .wpcf-section-title{padding:20px}.wpcf-tooltip{position:absolute;z-index:5000001;font-size:12px;line-height:1.4;text-align:center;text-decoration:none;padding:6px 12px;max-width:200px;color:#fff;background-color:#000;background-color:rgba(0,0,0,.85);border-radius:4px}.wpcf-theme-dark .wpcf-header-inner{background-color:#050505}.wpcf-theme-dark .wpcf-header-inner h1{color:#fff}.wpcf-theme-dark .wpcf-header-inner h1 small{color:#555}.wpcf-theme-dark .wpcf-expand-all{color:#999;background-color:#222}.wpcf-theme-dark .wpcf-expand-all:hover{color:#fff;background-color:#333}.wpcf-theme-dark .wpcf-search input{color:#fff;background-color:#222}.wpcf-theme-dark .wpcf-search:focus{background-color:#444}.wpcf-theme-dark .wpcf-search::-webkit-input-placeholder{color:#666}.wpcf-theme-dark .wpcf-nav ul li a{color:#999;border-color:#2f2f2f;background-color:#222}.wpcf-theme-dark .wpcf-nav ul li a:hover{color:#fff}.wpcf-theme-dark .wpcf-nav ul li .wpcf-active i{color:#178087}.wpcf-theme-dark .wpcf-nav ul li .wpcf-active{color:#fff;background-color:#111}.wpcf-theme-dark .wpcf-nav ul ul li a{border-color:#2f2f2f;background-color:#191919}.wpcf-theme-dark .wpcf-nav ul ul li .wpcf-active{background-color:#101010}.wpcf-theme-dark .wpcf-nav ul ul:before{background-color:rgba(34,34,34,.75)}.wpcf-theme-dark .wpcf-nav>ul>li:last-child>a{border:none}.wpcf-theme-dark .wpcf-nav-normal ul li a{border-bottom-width:1px;border-bottom-style:solid}.wpcf-theme-dark .wpcf-nav-normal ul li .wpcf-active:after{content:" ";position:absolute;right:0;top:50%;height:0;width:0;pointer-events:none;border:solid transparent;border-right-color:#fff;border-width:4px;margin-top:-4px}.wpcf-theme-dark .wpcf-nav-inline{background-color:#222}.wpcf-theme-dark .wpcf-nav-inline ul li a{text-align:center;border-right-width:1px;border-right-style:solid}.wpcf-theme-dark .wpcf-nav-inline ul li .wpcf-active:after{content:" ";position:absolute;left:50%;bottom:0;height:0;width:0;pointer-events:none;border:solid transparent;border-bottom-color:#fff;border-width:4px;margin-left:-4px}.wpcf-theme-dark .wpcf-nav-background{background-color:#222}.wpcf-theme-dark .wpcf-footer{color:#555;background-color:#050505}.wpcf-theme-light .wpcf-container{border:1px solid #ccd0d4;box-shadow:0 0 15 rgba(0,0,0,.04)}.wpcf-theme-light .wpcf-header-inner{background-color:#f2f2f2;border-bottom:1px solid #cecece;padding:22px 28px}.wpcf-theme-light .wpcf-header-inner h1 small{color:#999}.wpcf-theme-light .wpcf-expand-all{color:#999;background-color:#eee}.wpcf-theme-light .wpcf-expand-all:hover{color:#555}.wpcf-theme-light .wpcf-search input{color:#555;background-color:#eee}.wpcf-theme-light .wpcf-search input::-webkit-input-placeholder{color:#999}.wpcf-theme-light .wpcf-nav ul li a{background-color:#178087;border-top:1px solid #178087;border-right:1px solid #e2e2e1;border-bottom:1px solid #ddd;color:#fff;font-size:13px;font-weight:600;line-height:1.4;padding:14px 15px;text-transform:uppercase}.wpcf-theme-light .wpcf-nav ul li .wpcf-active{color:#000;background-color:#fff}.wpcf-theme-light .wpcf-nav ul ul li a{background-color:#eee}.wpcf-theme-light .wpcf-nav-normal>ul{margin-right:-1px;margin-bottom:-1px}.wpcf-theme-light .wpcf-nav-normal>ul li a{border-bottom:1px solid #ccd0d4;border-right:1px solid #ccd0d4}.wpcf-theme-light .wpcf-nav-normal>ul li .wpcf-active{border-right-color:#fff}.wpcf-theme-light .wpcf-nav-inline{background-color:#f5f5f5;border-bottom:1px solid #ccd0d4}.wpcf-theme-light .wpcf-nav-inline>ul{margin-bottom:-1px;margin-right:-1px}.wpcf-theme-light .wpcf-nav-inline>ul li a{text-align:center;border-bottom:1px solid #ccd0d4}.wpcf-theme-light .wpcf-nav-inline>ul li .wpcf-active i{color:#178087}.wpcf-theme-light .wpcf-nav-inline>ul li .wpcf-active{border-bottom:1px solid #fff;border-top:1px solid #178087;box-shadow:0 3px 0 0 #178087 inset;border-bottom-color:#fff}.wpcf-theme-light .wpcf-nav-inline>ul ul{display:none!important}.wpcf-theme-light .wpcf-nav-inline .wpcf-arrow:after{display:none}.wpcf-theme-light .wpcf-nav-background{background-color:#f5f5f5;border-right:1px solid #ccd0d4}.wpcf-theme-light .wpcf-footer{color:#555;border-top:1px solid #ccd0d4;background-color:#f5f5f5;background:linear-gradient(#fafafa,#f5f5f5)}.wpcf-field{position:relative;padding:30px}.wpcf-field p:first-child{margin-top:0}.wpcf-field p:last-child{margin-bottom:0}.wpcf-field:after,.wpcf-field:before{content:" ";display:table}.wpcf-field:after{clear:both}.wpcf-field h4{margin-top:0}.wpcf-field .wpcf-title{position:relative;width:20%;float:left}.wpcf-field .wpcf-title h4{margin:0;color:#23282d}.wpcf-field .wpcf-fieldset{float:right;width:calc(80% - 20px)}.wpcf-pseudo-field{padding:0 5px 0 0!important;display:inline-block}.wpcf-pseudo-field+.wpcf-pseudo-field{border:0}.wpcf-pseudo-field pre{display:none}.wpcf-field.wpcf-field-background .wpcf--preview{font-size:16px;line-height:20px;padding:20px;color:#222;border:1px solid #eee;background-color:#fff;height:150px;border-radius:2.5px;user-select:none;-webkit-user-select:none;transition:background-color .2s,border-color .2s}.wpcf-field.wpcf-field-background .wpcf--block-preview{cursor:pointer;position:relative;overflow:hidden;margin-top:10px;width:100%}.wpcf-field.wpcf-field-background .wpcf--black-background{border-color:#000;background-color:#000}.wpcf-field.wpcf-field-background .wpcf--toggle{position:absolute;top:5px;right:10px;color:#999}.wpcf-field-border .wpcf--inputs,.wpcf-field-column .wpcf--inputs,.wpcf-field-dimensions .wpcf--inputs,.wpcf-field-dimensions_advanced .wpcf--inputs,.wpcf-field-spacing .wpcf--inputs{float:left;display:flex;flex-wrap:wrap}.wpcf-field-border .wpcf--input,.wpcf-field-column .wpcf--input,.wpcf-field-dimensions .wpcf--input,.wpcf-field-dimensions_advanced .wpcf--input,.wpcf-field-spacing .wpcf--input{display:flex;padding-right:6px;padding-bottom:4px;box-sizing:border-box}.wpcf-field-border .wpcf--input select,.wpcf-field-column .wpcf--input select,.wpcf-field-dimensions .wpcf--input select,.wpcf-field-dimensions_advanced .wpcf--input select,.wpcf-field-spacing .wpcf--input select{margin:0}.wpcf-field-border .wpcf--input input,.wpcf-field-column .wpcf--input input,.wpcf-field-dimensions .wpcf--input input,.wpcf-field-dimensions_advanced .wpcf--input input,.wpcf-field-spacing .wpcf--input input{position:relative;z-index:1;margin:0;width:65px;max-width:100%;text-align:center;padding:0}.wpcf-field-border .wpcf--color,.wpcf-field-column .wpcf--color,.wpcf-field-dimensions .wpcf--color,.wpcf-field-dimensions_advanced .wpcf--color,.wpcf-field-spacing .wpcf--color{float:left}.wpcf-field-border .wpcf--label,.wpcf-field-column .wpcf--label,.wpcf-field-dimensions .wpcf--label,.wpcf-field-dimensions_advanced .wpcf--label,.wpcf-field-spacing .wpcf--label{display:flex;flex-direction:column;justify-content:center;user-select:none;min-width:20px;max-width:100%;padding:0 4px;font-size:12px;text-align:center;color:#555;border:1px solid #7b776c;background-color:#f5f5f5}.wpcf-field-border .wpcf--icon,.wpcf-field-column .wpcf--icon,.wpcf-field-dimensions .wpcf--icon,.wpcf-field-dimensions_advanced .wpcf--icon,.wpcf-field-spacing .wpcf--icon{border-right:0;border-radius:4px 0 0 4px}.wpcf-field-border .wpcf--icon+input,.wpcf-field-column .wpcf--icon+input,.wpcf-field-dimensions .wpcf--icon+input,.wpcf-field-dimensions_advanced .wpcf--icon+input,.wpcf-field-spacing .wpcf--icon+input{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.wpcf-field-border .wpcf--unit,.wpcf-field-column .wpcf--unit,.wpcf-field-dimensions .wpcf--unit,.wpcf-field-dimensions_advanced .wpcf--unit,.wpcf-field-spacing .wpcf--unit{border-left:0;border-radius:0 4px 4px 0}.wpcf-field-border .wpcf--is-unit,.wpcf-field-column .wpcf--is-unit,.wpcf-field-dimensions .wpcf--is-unit,.wpcf-field-dimensions_advanced .wpcf--is-unit,.wpcf-field-spacing .wpcf--is-unit{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.wpcf-field-button_set .wpcf--buttons{display:inline-block}.wpcf-field-button_set .wpcf--button{position:relative;z-index:1;float:left;cursor:pointer;padding:7px 14px;min-width:16px;text-align:center;color:#555;border:1px solid #ccc;background-color:#f7f7f7;user-select:none;box-shadow:0 1px 0 rgba(0,0,0,.1)}.wpcf-field-button_set .wpcf--button:first-child{border-radius:4px 0 0 4px}.wpcf-field-button_set .wpcf--button:last-child{border-radius:0 4px 4px 0}.wpcf-field-button_set .wpcf--button:not(:first-child){margin-left:-1px}.wpcf-field-button_set .wpcf--button:hover{background-color:#eee}.wpcf-field-button_set .wpcf--active,.wpcf-field-button_set .wpcf--active:hover{z-index:2;color:#fff;border-color:#006799;background-color:#0085ba}.wpcf-field-button_set input{display:none}.wpcf-field-checkbox ul,.wpcf-field-radio ul{margin:0;padding:0;list-style-type:none;overflow-y:auto;max-height:305px}.wpcf-field-checkbox ul li,.wpcf-field-radio ul li{margin-bottom:6px}.wpcf-field-checkbox ul ul,.wpcf-field-radio ul ul{max-height:none}.wpcf-field-checkbox ul ul li,.wpcf-field-radio ul ul li{margin-left:8px}.wpcf-field-checkbox ul ul li:first-child,.wpcf-field-radio ul ul li:first-child{margin-left:0}.wpcf-field-checkbox input,.wpcf-field-radio input{margin:0 1px}.wpcf-field-checkbox .wpcf--inline-list li,.wpcf-field-radio .wpcf--inline-list li{display:inline-block;margin-right:15px}.wpcf-field-checkbox .wpcf--text,.wpcf-field-radio .wpcf--text{margin-left:5px;vertical-align:middle}.wpcf-field-checkbox .wpcf-checker,.wpcf-field-radio .wpcf-checker{cursor:pointer}.wpcf-field-code_editor .CodeMirror{width:100%;height:400px}.wpcf-field-code_editor .cm-s-default{border:1px solid #ccd0d4}.wpcf-field-code_editor textarea{width:100%;height:400px}.wpcf-field-color>input{opacity:.75;width:115px;max-width:100%}.wpcf-field-color .button.wp-picker-clear{padding:0 8px;margin-left:6px;line-height:2.54545455;min-height:30px}.wpcf-field-color_group .wpcf--left{float:left;margin-right:10px;margin-bottom:5px}.wpcf-field-color_group .wpcf--title{color:#999;margin-bottom:5px}.wpcf-field-gallery input{display:none}.wpcf-field-gallery ul{margin:0;padding:0;list-style-type:none}.wpcf-field-gallery ul.sp-gallery-images li{display:inline-block;position:relative;padding:4px;margin:0 5px 10px 0;border:1px solid #ccc;background-color:#f9f9f9;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:0 1px 0 rgba(0,0,0,.08);-webkit-box-shadow:0 1px 0 rgba(0,0,0,.08);box-shadow:0 1px 0 rgba(0,0,0,.08)}.wpcf-field-gallery ul.sp-gallery-images li img{max-height:100px;display:inline-block;vertical-align:middle}.wpcf-field-gallery .button,.wpcf-field-gallery .button:focus,.wpcf-field-gallery .button:hover{margin-right:5px;margin-bottom:5px;width:110px;height:110px;text-align:center;line-height:15px;color:#fff;border:none;border-radius:2px;display:flex;justify-content:center;flex-direction:column;font-weight:600}.wpcf-field-gallery .button-primary.wpcf-button{background:#4eb631;box-shadow:none;text-shadow:none}.wpcf-field-gallery .button.wpcf-edit-gallery{background:#6a7885}.wpcf-field-gallery .button i{font-size:24px;margin-bottom:10px}.wpcf-field-gallery a,.wpcf-field-gallery ul.sp-gallery-images li{display:inline-block;padding:4px;border:1px solid #ccc;margin:0 5px 10px 0;background-color:#f9f9f9;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:0 1px 0 rgba(0,0,0,.08);-webkit-box-shadow:0 1px 0 rgb(0 0 0 / 8%);box-shadow:0 1px 0 rgb(0 0 0 / 8%)}.wpcf-field-gallery ul li img{max-height:100px;display:inline-block;vertical-align:middle}.wpcf-field-gallery a,.wpcf-field-gallery li{float:left}.wpcf-field-icon_select .wpcf--icon,.wpcf-field-image_select .wpcf--image{display:inline-block;margin:0 5px 5px 0}.wpcf-field-icon_select .wpcf--inline-list .wpcf--icon,.wpcf-field-image_select .wpcf--inline-list .wpcf--image{display:inline-block}.wpcf-field-icon_select figure,.wpcf-field-image_select figure{cursor:pointer;position:relative;display:inline-block;max-width:100%;margin:0;vertical-align:bottom;border:2px solid transparent;background-color:#fff;user-select:none;transition:all .2s}.wpcf-field-icon_select figure:before,.wpcf-field-image_select figure:before{position:absolute;top:0;left:0;text-align:center;font-size:10px;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;content:"\f00c";width:16px;height:16px;line-height:14px;opacity:0;color:#fff;background-color:#222;transition:opacity .2s}.wpcf-field-icon_select label,.wpcf-field-image_select label{display:inline-block;margin:5px}.wpcf-field-icon_select figure{padding:8px 10px;font-size:20px;line-height:20px}.wpcf-field-icon_select .wpcf--active figure{border-color:#52b3d9;opacity:1}.wpcf-field-icon_select .wpcf--active figure:before,.wpcf-field-image_select .wpcf--active figure:before{opacity:1}.wpcf-field-icon_select figure,.wpcf-field-image_select img{max-width:100%;height:auto;vertical-align:top}.wpcf-field-icon_select input,.wpcf-field-image_select input{display:none}.wpcf-field-media .wpcf--placeholder{display:flex;align-items:flex-start}.wpcf-field-media .wpcf--placeholder input{width:100%;margin:0}.wpcf-field-media .button{margin-left:5px}.wpcf-field-media .hidden+.button{margin-left:0}.wpcf-field-media .wpcf--preview{position:relative}.wpcf-field-select .wpcf-fieldset{min-height:30px}.wpcf-field-select .wpcf-chosen{display:none}.wpcf-field-select select{max-width:100%;margin:0;float:left}.wpcf-field-select .wpcf-hide-select{display:none!important}.wpcf-field-slider .wpcf--wrap{display:flex;align-items:center}.wpcf-field-slider .wpcf--input{display:flex}.wpcf-field-slider .wpcf--unit{display:flex;justify-content:center;flex-direction:column;user-select:none;padding:0 6px;font-size:11px;line-height:1;border-radius:0 4px 4px 0;color:#555;border:1px solid #7e8993;border-left:0;background-color:#f5f5f5}.wpcf-field-slider .wpcf-slider-ui{margin-right:15px}.wpcf-field-slider input[type=number]{position:relative;z-index:1;margin:0;width:50px;text-align:center}.wpcf-field-slider .wpcf--is-unit{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.wpcf-field-slider .ui-slider{position:relative;width:100%;height:3px;border:none;background:#ddd;border-radius:2px}.wpcf-field-slider .ui-slider-range{height:3px;border:none;background:#333;border-radius:2px}.wpcf-field-slider .ui-slider-handle{position:absolute;width:16px;height:16px;top:-7px;margin-left:-8px;border:none;background:#333;border-radius:2px}.wpcf-field-slider .ui-slider-handle:hover,.wpcf-field-slider .ui-state-active{cursor:pointer;background:#111}.wpcf-field-spinner .wpcf--spin{display:flex;float:left}.wpcf-field-spinner .ui-spinner{display:flex}.wpcf-field-spinner .ui-button{display:flex;flex-direction:column;justify-content:center;text-align:center;min-width:20px;padding:0 4px;color:#555;border:1px solid #7e8993;background-color:#f5f5f5}.wpcf-field-spinner .ui-spinner-button{cursor:pointer}.wpcf-field-spinner .ui-spinner-button:hover{background-color:#e7e7e7}.wpcf-field-spinner .ui-spinner-button:active{background-color:#ddd}.wpcf-field-spinner .ui-spinner-button:before{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:14px;line-height:14px}.wpcf-field-spinner .ui-spinner-down{order:1;border-right:0;border-radius:4px 0 0 4px}.wpcf-field-spinner .ui-spinner-down:before{content:"\f0d9"}.wpcf-field-spinner .ui-spinner-input{order:2}.wpcf-field-spinner .wpcf--unit{order:3;border-left:0;user-select:none}.wpcf-field-spinner .ui-spinner-up{order:4;border-left:0;border-radius:0 4px 4px 0}.wpcf-field-spinner .ui-spinner-up:before{content:"\f0da"}.wpcf-field-spinner input{position:relative;z-index:1;width:50px;text-align:center;margin:0;padding:0 8px;border-radius:0}.wpcf-field-spinner .ui-button-icon,.wpcf-field-spinner .ui-button-icon-space,.wpcf-field-spinner .ui-button-text{display:none}.wpcf-field-switcher .wpcf--switcher{float:left;cursor:pointer;position:relative;width:60px;height:26px;padding:0;margin:0;overflow:hidden;border-radius:4px;background-color:#ed6f6f;user-select:none;-webkit-user-select:none}.wpcf-field-switcher .wpcf--ball{position:absolute;top:4px;left:4px;width:24px;height:18px;background-color:#fff;border-radius:4px;transition:all .1s;box-shadow:1px 1px 1px rgba(0,0,0,.15)}.wpcf-field-switcher .wpcf--off,.wpcf-field-switcher .wpcf--on{position:absolute;top:0;left:0;right:0;font-size:11px;line-height:26px;font-weight:500;font-style:normal;text-align:center;text-transform:uppercase;color:#fff;padding-right:28px;opacity:0;transition:all .1s}.wpcf-field-switcher .wpcf--off{padding-right:0;padding-left:28px;opacity:1}.wpcf-field-switcher .wpcf--active{background:#4fb845}.wpcf-field-switcher .wpcf--active .wpcf--on{opacity:1}.wpcf-field-switcher .wpcf--active .wpcf--off{opacity:0}.wpcf-field-switcher .wpcf--active .wpcf--ball{left:100%;margin-left:-28px}.wpcf-field-switcher .wpcf--label{float:left;margin-top:4px;margin-left:8px;font-weight:400;color:#999}.wpcf-field-text input{width:340px;margin:0;min-height:36px;float:left}.wpcf-field-textarea textarea{width:100%;max-width:100%;min-height:125px}.wpcf-field-textarea .wpcf-shortcode-button{margin-bottom:10px;margin-right:5px}.wpcf-field-typography select,.wpcf-field-typography textarea{margin:0;min-width:100%;max-width:100%}.wpcf-field-typography .wpcf--title{color:#777;margin:0 0 2px 0;font-size:12px}.wpcf-field-typography .wpcf--title small{vertical-align:top}.wpcf-field-typography .wpcf--blocks{display:flex;flex-wrap:wrap}.wpcf-field-typography .wpcf--block.wpcf--block-font-color{overflow:hidden;float:left}.wpcf-field-typography .wpcf--block{flex:1;max-width:100%;padding-right:6px;padding-bottom:6px}.wpcf-field-typography .wpcf--input{margin:0;min-width:100%}.wpcf-field-typography .wpcf--input-wrap{position:relative}.wpcf-field-typography .wpcf--unit{position:absolute;z-index:1;right:4px;top:4px;bottom:4px;padding:2px 6px;color:#666;font-size:11px;line-height:1;border-radius:2px;background:#eee;user-select:none;display:flex;justify-content:center;flex-direction:column}.wpcf-field-background .wpcf--preview,.wpcf-field-typography .wpcf--preview{font-size:16px;line-height:20px;padding:20px;color:#222;border:1px solid #eee;background-color:#fff;border-radius:2.5px;user-select:none;-webkit-user-select:none;transition:background-color .2s,border-color .2s}.wpcf-field-background .wpcf--block-preview,.wpcf-field-typography .wpcf--block-preview{cursor:pointer;position:relative;overflow:hidden;margin-top:10px;width:100%}.wpcf-field-typography .wpcf--black-background{border-color:#000;background-color:#000}.wpcf-field-typography .wpcf--toggle{position:absolute;top:5px;right:10px;color:#999}.wpcf-field-typography .wpcf--block-extra-styles{margin-top:5px}.wpcf-field-heading{font-size:1.5em;font-weight:700;color:#23282d;background-color:#f5f5f5}.wpcf-field-subheading{font-size:14px;font-weight:700;padding-top:17px;padding-bottom:17px;color:#23282d;background-color:#f7f7f7}.wpcf-field-submessage{padding:0!important;border:0!important}.wpcf-field-submessage+.wpcf-field{border-top:0!important}.wpcf-submessage{font-size:12px;padding:17px 30px;border-top:1px solid transparent;border-bottom:1px solid transparent}.wpcf-submessage-success{color:#3c763d;border-color:#d6e9c6;background-color:#dff0d8}.wpcf-submessage-info{color:#31708f;border-color:#bce8f1;background-color:#d9edf7}.wpcf-submessage-warning{color:#8a6d3b;border-color:#faebcc;background-color:#fcf8e3}.wpcf-submessage-danger{color:#a94442;border-color:#ebccd1;background-color:#f2dede}.wpcf-submessage-normal{color:#23282d;border-color:#eee;background-color:#f7f7f7}.wpcf-field-notice{background-color:transparent}.wpcf-notice{color:#999;font-style:italic;font-size:13px;padding:12px 12px 12px 0!important;border:none!important}.wpcf-notice-success{border-color:#46b450}.wpcf-notice-info{border-color:#339fd4}.wpcf-notice-warning{border-color:#ffbc00}.wpcf-notice-danger{border-color:#dc3232}.wpcf-notice-normal{border-color:#222}.wpcf-field.wpcf-field-notice.pro_notice{padding-top:0}.wpcf-field-number input{width:70px;margin:0;height:36px;line-height:34px;padding-left:12px;min-height:36px}.wpcf-field-number .wpcf--wrap{position:relative;float:left;width:100px}.wpcf-field-number .wpcf--unit{position:absolute;z-index:1;left:75px;top:4px;bottom:4px;padding:2px 6px;color:#666;font-size:11px;line-height:1;border-radius:2px;background:#eee;user-select:none;display:flex;justify-content:center;flex-direction:column}.wpcf-help{position:static;cursor:help;font-size:14px;color:#aaa;width:15px;line-height:28px;padding-left:5px;float:left}.wpcf-help .wpcf-help-text{display:none}.wpcf--preview{max-width:100%}.wpcf-image-preview{display:inline-flex;align-items:center;justify-content:center;flex-direction:column;position:relative;padding:6px;max-width:120px;max-height:120px;min-width:40px;min-height:40px;margin-bottom:10px;text-align:center;border-radius:2px;border:1px solid #ccc;background-color:#f9f9f9;box-shadow:0 1px 0 rgba(0,0,0,.08)}.wpcf-image-preview i{cursor:pointer;position:absolute;z-index:1;right:4px;top:4px;font-size:14px;width:22px;height:22px;line-height:22px;text-align:center;text-decoration:none;color:#fff;background-color:#d33;opacity:.75;border-radius:2px;transition:all .2s}.wpcf-image-preview i:hover{opacity:1}.wpcf-image-preview i:focus{box-shadow:none}.wpcf-image-preview span{position:relative;overflow:hidden;display:flex;height:100%;width:100%}.wpcf-image-preview img{max-width:100%;height:auto;object-fit:contain}.wpcf-field-custom .wpcf-field{padding:0}.wpcf-field .chosen-container-single .chosen-single{height:28px;line-height:26px}.wpcf-field .chosen-container-single .chosen-single abbr{top:0;right:20px;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:12px;height:100%;width:18px;color:#aaa;text-align:center;background:0 0}.wpcf-field .chosen-container-single .chosen-single abbr:before{content:"\f00d"}.wpcf-field .chosen-container-single .chosen-single abbr:hover{color:#555}.wpcf-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:12px;height:100%;width:18px;color:#aaa;text-align:center;background:0 0}.wpcf-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:before{content:"\f00d";display:inline-block;padding-top:3px}.wpcf-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{color:#555}.wpcf-field .chosen-container-single .chosen-single div b{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:14px;color:#aaa;background:0 0}.wpcf-field .chosen-container-single .chosen-single div b:before{content:"\f107"}.wpcf-field .chosen-container-single .chosen-single div b:hover{color:#555}.wpcf-field .chosen-container-multi .chosen-choices li.search-choice-placeholder{border:1px dashed #aaa;margin:3px 5px 3px 0}.wpcf-field .chosen-container-multi .ui-sortable li.search-choice span{cursor:move}.wpcf-field .chosen-container-active.chosen-with-drop .chosen-single div b:before{content:"\f106"}.wpcf-field .chosen-container-single .chosen-single-with-deselect span{margin-right:40px}.wpcf-field .chosen-container-single .chosen-search input[type=text]{background:0 0}.wpcf-field .chosen-container-single .chosen-search:before{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:11px;content:"\f002";position:absolute;right:12px;top:10px;color:#aaa}.wpcf-field .wp-picker-container{display:inline-block}.wpcf-field .wp-picker-container .wp-color-result.button{margin-bottom:0}.wpcf-field .wpcf--transparent-wrap{display:none;position:relative;top:-1px;width:235px;padding:9px 10px;border:1px solid #dfdfdf;border-top:none;background-color:#fff}.wpcf-field .wp-picker-active .wpcf--transparent-wrap{display:block}.wpcf-field .wpcf--transparent-slider{position:absolute;width:190px;margin-left:2px;height:18px}.wpcf-field .wpcf--transparent-slider .ui-slider-handle{position:absolute;top:-3px;bottom:-3px;z-index:5;border-color:#aaa;border-style:solid;border-width:4px 3px;width:10px;height:16px;margin:0 -5px;background:0 0;cursor:ew-resize;opacity:.9;border-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.2)}.wpcf-field .wpcf--transparent-slider .ui-slider-handle:before{content:" ";position:absolute;left:-2px;right:-2px;top:-3px;bottom:-3px;border:2px solid #fff;border-radius:3px}.wpcf-field .wpcf--transparent-offset{height:18px;width:200px;background:url(../images/checkerboard.png) repeat-y center left scroll #fff;border-radius:2px;box-shadow:inset 0 0 5px rgba(0,0,0,.4)}.wpcf-field .wpcf--transparent-text{position:absolute;top:12px;right:10px;width:30px;font-size:12px;line-height:12px;text-align:center;color:#999}.wpcf-field .wpcf--transparent-button{cursor:pointer;user-select:none;margin-top:10px;font-size:11px;text-align:center;border-radius:2px;padding:3px 7px;box-shadow:0 1px 0 rgba(0,0,0,.1);letter-spacing:.2px;color:#777;border:1px solid #ccc;background-color:#f7f7f7;transition:background-color .2s,border-color .2s,color .2s}.wpcf-field .wpcf--transparent-active .wp-color-result{background-image:url(../images/checkerboard.png);background-size:135px;background-position:center left;background-color:transparent!important}.wpcf-field .wpcf--transparent-active .wpcf--transparent-button{color:#fff;border-color:#3ea032;background-color:#4fb845}.wpcf-field .wpcf--transparent-active .fa:before{content:"\f205"}.wpcf-nav-menu-options{clear:both;float:left;width:100%}.wpcf-nav-menu-options>.wpcf-fields{margin-left:-10px;margin-top:10px;margin-bottom:10px;border-top:1px solid #eee;border-bottom:1px solid #eee}.wpcf-nav-menu-options>.wpcf-fields>.wpcf-field{padding:12px 14px 12px 12px}.wpcf-nav-menu-options>.wpcf-fields>.wpcf-field .wpcf-title{float:none;width:100%;margin-bottom:5px}.wpcf-nav-menu-options>.wpcf-fields>.wpcf-field .wpcf-fieldset{float:none;width:100%}.wpcf-nav-menu-options .wpcf-field-text input{width:100%}.wpcf-nav-menu-options .wpcf-field-notice .wpcf-notice{padding:15px}.wpcf-nav-menu-title{padding:12px 14px 12px 12px;background-color:#f5f5f5;border-top:1px solid #eee;border-bottom:1px solid #eee}.wpcf-nav-menu-title:first-child{border-top:0}.wpcf-nav-menu-title h4{margin:0;padding:0;color:#23282d}.wpcf-nav-menu-icon{margin-right:5px}.wpcf-subtitle-text{margin-top:6px;font-weight:400;color:#999;font-style:italic}.wpcf-desc-text{clear:both;float:left;width:100%;margin-top:6px;font-weight:400;color:#999}.wpcf-error-text{margin-top:6px;color:#d02c21}.wpcf-before-text{margin-bottom:6px}.wpcf-after-text{margin-top:6px}.wpcf-metabox-hide{display:none!important}.wpcf-metabox-show{display:block!important}.wpcf-depend-hidden.wpcf-depend-on{display:none}.wpcf-depend-visible.wpcf-depend-on{display:block;opacity:.75;filter:grayscale(1);user-select:none;border-top:1px solid #eee}.wpcf-depend-visible.wpcf-depend-on .clear:before{content:"";left:0;top:0;right:0;bottom:0;position:absolute;background-color:#eee;opacity:.25;z-index:10}.wpcf-warning-primary{color:#fff!important;border-color:#dc3545!important;background:#dc3545!important}.wpcf-warning-primary:focus,.wpcf-warning-primary:hover{border-color:#bd2130!important;background:#bd2130!important}.wpcf-warning-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #bd2130!important}.wpcf-warning-primary:active{border-color:#bd2130!important;background:#bd2130!important}.wpcf-form-result{display:none;padding:12px;margin:0 0 15px 0;background-color:#fff;border-left:4px solid #555;-moz-box-shadow:0 1px 1px rgba(0,0,0,.1);-webkit-box-shadow:0 1px 1px rgb(0 0 0 / 10%);box-shadow:0 1px 1px rgb(0 0 0 / 10%)}.wpcf-form-show{display:block}.wpcf-form-success{border-left-color:#46b450}.wpcf-form-warning{border-left-color:#faebcc}.wpcf-label-error{position:relative;top:-2px;display:inline-block;font-size:10px;line-height:10px;height:10px;width:10px;padding:1px;font-style:normal;text-align:center;color:#fff;vertical-align:middle;background-color:#e10000;border-radius:2px}.wpcf-no-option{padding:30px}.wpcf-field-spinner .wpcf-input-number{-moz-appearance:textfield}.wpcf-field-spinner .wpcf-input-number::-webkit-inner-spin-button,.wpcf-field-spinner .wpcf-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.wpcf-fa5-shims .wpcf .fab,.wpcf-fa5-shims .wpcf .far,.wpcf-fa5-shims .wpcf .fas{font-family:FontAwesome;font-style:normal}@media only screen and (max-width:1200px){.wpcf-metabox .wpcf-field .wpcf-title{float:none;width:100%;margin-bottom:10px}.wpcf-metabox .wpcf-field .wpcf-fieldset{float:none;width:100%}}@media only screen and (max-width:782px){.wpcf-header-inner{text-align:center}.wpcf-header-inner h1{width:100%;margin-bottom:10px}.wpcf-form-result{float:none;margin-right:0;margin-bottom:10px}.wpcf-header-left,.wpcf-header-right,.wpcf-search{width:100%}.wpcf-search{text-align:center;margin-bottom:15px}.wpcf-footer{text-align:center}.wpcf-buttons{float:none}.wpcf-copyright{float:none;margin-top:10px}.wpcf-expand-all,.wpcf-nav,.wpcf-nav-background,.wpcf-reset-section{display:none!important}.wpcf-nav-normal+.wpcf-content{margin-left:0}.wpcf-section,.wpcf-section-title{display:block!important}.wpcf-field .wpcf-title{float:none;width:100%;margin-bottom:10px}.wpcf-field .wpcf-fieldset{float:none;width:100%}.wpcf-field-color .button.wp-picker-clear{padding:0 8px;line-height:2.14285714;min-height:32px}.wpcf-modal-inner{width:350px;height:400px}.wpcf-modal-content{height:237px}.wpcf-icon-dialog .wpcf-modal-inner{width:305px;height:380px}.wpcf-icon-dialog .wpcf-modal-content{height:267px}.wpcf-modal-icon .wpcf-modal-inner{width:330px;height:385px}.wpcf-modal-icon .wpcf-modal-content{height:252px}.wpcf-profile-options>.wpcf-field>.wpcf-title,.wpcf-taxonomy-edit-fields>.wpcf-field>.wpcf-title{float:none;width:100%;margin-bottom:10px}.wpcf-profile-options>.wpcf-field>.wpcf-fieldset,.wpcf-taxonomy-edit-fields>.wpcf-field>.wpcf-fieldset{float:none;width:100%}.wpcf-nav-menu-options>.wpcf-fields{margin-left:-10px;margin-right:-10px}.wpcf-nav-menu-options>.wpcf-fields>.wpcf-field{padding:10px}}.chosen-container{position:relative;vertical-align:middle;font-size:13px;user-select:none;max-width:390px;float:left}.chosen-container *{box-sizing:border-box}.chosen-container .chosen-drop{position:absolute;top:100%;z-index:1010;max-width:390px;width:100%;border:1px solid #aaa;border-top:0;background-color:#fff;box-shadow:0 4px 5px rgba(0,0,0,.15);clip:rect(0,0,0,0);clip-path:inset(100% 100%)}.chosen-container.chosen-with-drop .chosen-drop{clip:auto;clip-path:none}.chosen-container a{cursor:pointer}.chosen-container .chosen-single .group-name,.chosen-container .search-choice .group-name{margin-right:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:400;color:#999}.chosen-container .chosen-single .group-name:after,.chosen-container .search-choice .group-name:after{content:":";padding-left:2px;vertical-align:top}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:25px;border:1px solid #aaa;border-radius:5px;background-color:#fff;background:linear-gradient(#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-clip:padding-box;box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px}.chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;font-size:1px}.chosen-container-single .chosen-single div{position:absolute;top:0;right:0;display:block;width:18px;height:100%}.chosen-container-single .chosen-single div b{display:block;width:100%;height:100%}.chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type=text]{margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #aaa;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 4px 4px;background-clip:padding-box}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;clip:rect(0,0,0,0);clip-path:inset(100% 100%)}.chosen-container .chosen-results{color:#444;position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;word-wrap:break-word;-webkit-touch-callout:none}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#3875d7;background-image:linear-gradient(#3875d7 20%,#2a62bc 90%);color:#fff}.chosen-container .chosen-results li.no-results{color:#777;display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.chosen-container-multi .chosen-choices{position:relative;overflow:hidden;margin:0;padding:0 5px;max-width:390px;width:100%;height:auto;border:1px solid #aaa;background-color:#fff;background-image:linear-gradient(#eee 1%,#fff 15%);cursor:text}.chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-field input[type=text]{margin:1px 0;padding:0;outline:0;border:0!important;background:0 0!important;box-shadow:none;color:#999;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0;width:25px;height:25px;min-height:25px}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 5px 3px 0;padding:3px 20px 3px 6px;border:1px solid #aaa;max-width:100%;border-radius:3px;background-color:#eee;background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-size:100% 19px;background-repeat:repeat-x;background-clip:padding-box;box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);color:#333;line-height:13px;cursor:default}.chosen-container-multi .chosen-choices li.search-choice span{word-wrap:break-word;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:0;right:0;display:block;width:12px;height:12px;font-size:1px}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);color:#666}.chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #aaa;border-bottom-right-radius:0;border-bottom-left-radius:0;background-image:linear-gradient(#eee 20%,#fff 80%);box-shadow:0 1px 0 #fff inset}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:none;background:0 0}.chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#222!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type=text]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:none}.chosen-rtl .chosen-search input[type=text]{padding:4px 5px 4px 20px;direction:rtl}.text-center{text-align:center}.sp-after-text{padding-left:5px}.sp-wqvpro-framework .wpcf-nav-inline.wpcf-nav{position:inherit;float:none;width:100%;background:#f1f1f1;-webkit-box-shadow:inset 3px -1px 1px -1px rgba(0,0,0,.04);-moz-box-shadow:inset 3px -1px 1px -1px rgba(0,0,0,.04);box-shadow:inset 3px -1px 1px -1px rgba(0,0,0,.04)}.wpcf-theme-light .wpcf-nav-inline{border-bottom:0}.wpcf.wpcf-options .wpcf-nav ul li{margin-bottom:-1px}.wpcf.wpcf-options .wpcf-nav-background{width:235px;background-color:#e3e3e3}.wpcf.wpcf-options .wpcf-nav ul li a{font-size:13px;padding:16px 15px;line-height:1.4;border-bottom:2px solid #cecece;color:#fff;text-transform:uppercase;font-weight:600;margin-bottom:-1px}.wpcf.wpcf-options .wpcf-nav ul li.wpcf-tab-expanded a{color:#000}.wpcf.wpcf-options .wpcf-nav ul li.wpcf-tab-expanded a i{color:#4498be}.wpcf.wpcf-options .wpcf-nav ul li :after{display:none}.sp-field-button-set label input{display:none}.sp-field-button-set label span{background:linear-gradient(to bottom,#fff,#eee);padding:9px 17px;margin:0;vertical-align:middle;border:solid 1px #ccc;border-radius:0;cursor:pointer;border-right:none}.sp-field-button-set label input~span:hover{background:#fff}.sp-field-button-set label:first-child span{border-radius:4px 0 0 4px}.sp-field-button-set label:last-child span{border-radius:0 4px 4px 0;border-right:solid 1px #ccc}.sp-field-button-set label input:checked~span{background:linear-gradient(to bottom,#51ccfb,#058cbf);color:#fff;cursor:default;box-shadow:none}.wpcf-field-slider input{display:inline-block;width:42px;background:#fff}.wpcf-field-slider input[type=slider]:before{width:35px;height:35px;display:block;background:red;content:"%";position:absolute;right:0;top:0;float:right;margin-right:-20px;color:#fff}.wpcf--wrap{display:inline-block;margin:0 20px 0 0;width:50%;vertical-align:super}.wpcf-field-slider .ui-slider{position:relative;width:100%;height:8px;background:#f8f8f8;border:1px solid #e2e2e2;border-radius:2px}.wpcf-field-slider .ui-slider-range{background:#ddd;height:8px}.wpcf-field-slider .ui-slider-handle{height:16px;width:16px;background:#22aade;position:absolute;top:-4px;border-radius:2px;cursor:pointer}@media (min-width:1400px){.sp-metabox-framework .wpcf--wrap,.wpcf.wpcf-options .wpcf--wrap{width:35%}}div.sp-wqvpro-help .feature-section .sp-wqvpro-feature{background-color:#fff;padding:20px 20px;border:1px solid #ddd}div.sp-wqvpro-help .feature-section .sp-wqvpro-feature h3{font-size:16px;margin-top:18px}div.sp-wqvpro-help .feature-section i.sp-font{font-size:30px;display:block;color:#994294}div.sp-wqvpro-help.about-wrap h1{font-size:2.6em}div.sp-wqvpro-help .headline-feature.feature-video iframe{position:absolute;top:0;left:0;width:100%;height:100%}.about-wrap .plugin-section .three-col .col{background:#fff}.about-wrap .plugin-section .three-col .col .sp-wqvpro-plugin{border:1px solid #ddd}.about-wrap .plugin-section .three-col .col .sp-wqvpro-plugin .sp-wqvpro-plugin-content{padding-left:20px;padding-right:20px;padding-bottom:20px}.about-wrap .plugin-section .three-col .col .sp-wqvpro-plugin .sp-wqvpro-plugin-content h3{margin-top:20px;margin-bottom:8px;font-weight:500}.about-wrap .plugin-section .three-col .col .sp-wqvpro-plugin .sp-wqvpro-plugin-content p{margin-top:0}.about-wrap .plugin-section .sp-plugin-section-title h2{font-size:2.2em;color:#32373c;font-weight:400}.about-wrap .plugin-section .sp-plugin-section-title h4{font-weight:400;text-align:center;font-size:18px;color:#555d66;margin-top:15px;margin-bottom:40px}.sp-divider{width:100%;display:block;height:10px}.wpcf.wpcf-options .sp-font-preview{width:45%;padding:10px;border:1px solid #e6e6e6;color:#7b7b7b;margin-top:20px;background-color:#fff;font-size:16px}.wpcf_margin_field .sp-font-bottom,.wpcf_margin_field .sp-font-left,.wpcf_margin_field .sp-font-right,.wpcf_margin_field .sp-font-top{margin-right:30px}.wpcf_margin_field .sp-font-bottom:before,.wpcf_margin_field .sp-font-left:before,.wpcf_margin_field .sp-font-right:before,.wpcf_margin_field .sp-font-top:before{content:"px";position:absolute;top:19px;right:-20px;height:34px;width:29px;line-height:34px;text-align:center;background-color:#f5f5f5;display:block;border:1px solid #ddd;border-left:none}.wpcf.wpcf-options .sp-content .sp-section-title{background-color:#994294}.wpcf-field-carousel_type .wpcf--image{cursor:pointer;position:relative;display:inline-block;max-width:100%;margin:0 5px 5px 0;vertical-align:bottom;border:2px solid transparent;background-color:#fff;user-select:none;-webkit-user-select:none;-moz-transition:all .2s;-o-transition:all .2s;-webkit-transition:all .2s;transition:all .2s}.wpcf-field-image_select .wpcf--image:before{position:absolute;top:0;left:0;text-align:center;font-size:11px;font-family:FontAwesome;content:"\f00c";width:15px;height:15px;line-height:15px;opacity:0;color:#fff;background-color:#1ea4b0;transition:opacity .2s}.wpcf-field-image_select img{vertical-align:top}.wpcf-field-carousel_type input,.wpcf-field-image_select input{display:none}.wpcf-field-carousel_type .wpcf--image{background:#e8ecef;color:#7b8898;border:solid 3px #e8ecef;border-radius:2px;cursor:pointer;text-align:center;width:120px;height:80px;box-shadow:inset 0 0 0 3px #fff}.wpcf-field-carousel_type i{font-size:30px;width:32px;height:30px;margin-top:15px}.wpcf-field-carousel_type p{margin-top:5px;font-weight:500}.wpcf-field-carousel_type .wpcf--image.wpcf--active{border-color:#1ea4b0}.wpcf.wpcf-options .sp-field-sorter .sp-modules{width:100%}.wpcf.wpcf-options .wpcf-header-inner input{text-shadow:0 0 0;border:0;border-radius:0;height:38px;border-radius:4px;padding:0 16px;font-size:13px;margin-left:8px;text-transform:uppercase;-webkit-transition:all .4s;-moz-transition:all .4s;-ms-transition:all .4s;-o-transition:all .4s;transition:all .4s}.wpcf.wpcf-options .wpcf-header-inner input.button-primary{background-color:#02cc7b;color:#fff}.wpcf.wpcf-options .wpcf-header-inner input.button-primary:hover{background-color:#02bb71}.wpcf.wpcf-options .wpcf-header-inner input.wpcf-reset-section{background-color:#77777c;color:#fff;margin-left:8px}.wpcf.wpcf-options .wpcf-header-inner input.wpcf-reset-section:hover{background-color:#616169;color:#fff}.wpcf.wpcf-options .wpcf-nav ul li a{background:#efefef;color:#000;border-bottom:2px solid #cecece;padding:15px 15px;border-right:0;border-top:1px solid transparent;border-right:1px solid #cecece}.wpcf.wpcf-options .wpcf-nav ul li:last-child a{border-bottom:1px solid #cecece}.wpcf.wpcf-options .wpcf-nav ul li.wpcf-tab-expanded a{background-color:#fff;background-color:#fff;border-right:1px solid #fff;border-top:1px solid #fff;box-shadow:3px 0 0 0 #178087 inset}.wpcf.wpcf-options .wpcf-nav ul ul:before{background-color:transparent}.wpcf.wpcf-options .wpcf-nav ul ul{border-bottom:1px solid #cecece}.wpcf.wpcf-options .wpcf-nav ul ul li a{background-color:#f8fdff;padding:13px 15px 13px 24px}@media only screen and (max-width:782px){.wpcf.wpcf-options .wpcf-header-inner h1{float:none}}#wpcf_shortcode_options{border-top-color:#f1f1f1}#wpcf_shortcode_options .wpcf-nav ul li{margin-bottom:-1px}#wpcf_shortcode_options .wpcf-nav.wpcf-nav-metabox{border-right-color:#f1f1f1;border-right-color:#f1f1f1;background:#f1f1f1;margin-right:-2px}#wpcf_shortcode_options .wpcf-content{border-top:1px solid #e5e5e5;box-shadow:0 -1px 1px rgba(0,0,0,.04)}.wpcf-field.wpcf-field-carousel_type{padding-bottom:0}#sp_wpcp_upload_options .wpcf-field-carousel_type .wpcf-title,#sp_wpcp_upload_options .wpcf-field-gallery .wpcf-title,.wpcf-video-description .wpcf-title,.wpcf-video-field-wrapper>.wpcf-title,.wpcf_carousel_content_bg .wpcf-title,.wpcf_carousel_content_wrapper .wpcf-title{width:100%}#sp_wpcp_upload_options .wpcf-field-carousel_type .wpcf-fieldset,#sp_wpcp_upload_options .wpcf-field-gallery .wpcf-fieldset,.wpcf-video-description .wpcf-fieldset,.wpcf-video-field-wrapper>.wpcf-fieldset,.wpcf_carousel_content_bg .wpcf-fieldset,.wpcf_carousel_content_wrapper .wpcf-fieldset{margin-top:30px;margin-left:0;float:none;width:auto}.wpcf-field.wpcf-field-select.wpcf_taxonomy_operator .wpcf-fieldset,.wpcf-field.wpcf-field-select.wpcf_taxonomy_terms .wpcf-fieldset,.wpcf-field.wpcf-field-spinner .wpcf-fieldset,.wpcf-field.wpcf-field-switcher .wpcf-fieldset{position:relative}#sp_wpcp_display_shortcode .handlediv,#sp_wpcp_display_shortcode .hndle,#sp_wpcp_display_shortcode .postbox-header,#sp_wpcp_shortcode_options .handlediv,#sp_wpcp_shortcode_options .hndle,#sp_wpcp_shortcode_options .postbox-header,#sp_wpcp_upload_options .handlediv,#sp_wpcp_upload_options .hndle,#sp_wpcp_upload_options .postbox-header{display:none}#wpcf-section-sp_wpcp_display_shortcode_0,#wpcf-section-sp_wpcp_upload_options_0{display:block}.wpcf-field-icon_select figure:before,.wpcf-field-image_select figure:before{color:#fff;background-color:#1ea4b0}.wpcf-field-image_select .wpcf--active img{outline-color:#1ea4b0}.wpcf-field-image_select figure .sp-carousel-type{text-align:center;margin-bottom:0}.wpcf-field-image_select .wpcf--image img{color:#7b8898;margin-right:10px;outline:solid 3px transparent;border-radius:2px;cursor:pointer;text-align:center;width:80px;outline-offset:-3px}.wpcf-field-image_select .wpcf--image.wpcf--active img{outline-color:#1ea4b0}#sp_wpcp_upload_options .wpcp-admin-header{background-color:#157592;background:linear-gradient(-45deg,#22afba,#157592);padding:20px 26px;overflow:hidden;height:33px}#sp_wpcp_upload_options .wpcp-admin-header .support{margin-left:16px;float:right}#sp_wpcp_upload_options .wpcp-admin-header .support a{color:#fff;text-decoration:none;line-height:35px;font-size:15px;font-weight:500}#sp_wpcp_upload_options .wpcp-admin-header img{max-width:200px}.wpcf-field.wpcf-field-spinner .wpcf-help{left:110px}.wpcf-field-text.wpcf-field .wpcf-fieldset{position:relative}.wpcf-field-text.wpcf-field .wpcf-help{left:345px}.wpcf-field.wpcf-field-column .wpcf-help{position:static;top:auto;transform:translateY(0);padding:0;float:left}#sp_wpcp_display_shortcode .wpcf-field.wpcf-field-shortcode.wpcp-admin-footer{display:flex;padding:0;flex-wrap:wrap}.wpcf-field-shortcode.wpcp-admin-footer .wpcf-shortcode-selectable{background-color:rgba(82,179,217,.11);padding:10px 15px 10px 33px;display:inline-block;-webkit-touch-callout:all;-webkit-user-select:all;-khtml-user-select:all;-moz-user-select:all;-ms-user-select:all;user-select:all;border:1px solid rgba(82,179,217,.2);border-radius:2px;cursor:pointer;background-image:url(../images/copy.svg);background-size:16px;background-position:8px center;background-repeat:no-repeat}.wpcf-field-shortcode.wpcp-admin-footer .sptp-copy-btn{width:16px;margin-left:13px;position:absolute;top:50%;margin-top:-8px}#wpcf-section-sp_wpcp_display_shortcode_1 .wpcf-field{display:flex;padding:0;flex-wrap:wrap}.wpcf-field-shortcode.wpcp-admin-footer .wpcf-scode-wrap:first-of-type{border-right:1px solid #ddd}.wpcf-field-shortcode.wpcp-admin-footer .wpcf-scode-wrap{padding-top:22px;padding-bottom:22px;text-align:center;width:49%}.wpcf-field-shortcode.wpcp-admin-footer .wpcf-sc-title{font-weight:500;font-size:14px!important;padding-top:0!important;color:#4c5158;margin-right:5px}@media only screen and (max-width:990px){.wpcf-field-shortcode.wpcp-admin-footer .wpcf-scode-wrap:first-of-type{border-right:none;border-bottom:1px solid #ddd}.wpcf-field-shortcode.wpcp-admin-footer .wpcf-scode-wrap{width:100%}}.wpcf-field.wpcf-field-checkbox .wpcf-help{display:inline-block;float:none}.wpcf-field.wpcf-field-button_set.wpcp_export{margin-top:0;padding-top:0}.wpcf-field-button_set.wpcp_export .wpcf--button:hover,.wpcf-field.wpcf-field-custom_import.wpcp_import button:hover{background:#135e96;border-color:#135e96;color:#fff}.wpcf-field-button_set.wpcp_export .wpcf--button,.wpcf-field.wpcf-field-custom_import.wpcp_import button{background:#2271b1;border-color:#2271b1;color:#fff;text-decoration:none;text-shadow:none;display:inline-block;text-decoration:none;font-size:13px;line-height:2.15384615;min-height:30px;margin:0;padding:0 10px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box}.sp-lcp-options .wpcf-field-select .wpcf-fieldset{position:relative}.wpcf-field.wpcf-field-custom_import.wpcp_import .wpcf-fieldset{position:relative}.wpcf-field.wpcf-field-custom_import.wpcp_import p{padding-bottom:0;margin-bottom:1px}.wpcf-field.wpcf-field-custom_import.wpcp_import button{margin-top:10px;padding-bottom:0}.wpcf-field.wpcf-field-custom_import.wpcp_import .wpcf-help{cursor:help;position:absolute;top:80%;transform:translateY(-50%);padding:5px;font-size:14px;color:#aaa;width:15px;left:64px}.wpcf-field.wpcf-field-select.wpcp_post_ids .chosen-container .chosen-drop{max-width:400px}.wpcf-field.wpcf-field-select.wpcp_post_ids{padding-top:0}.wpcf-options .wpcf-header-inner h1.export-import img{height:24px;height:24px;float:left;width:28px;margin-right:8px;padding-top:6px}.wpcf-options.wpcp_tools .wpcf-nav-options li:nth-child(1) a{background-image:url(../images/export-icon.svg)}.wpcf-options.wpcp_tools .wpcf-nav-options li:nth-child(2) a{background-image:url(../images/import.svg)}.wpcf-options.wpcp_tools .wpcf-nav-options li:nth-child(1) a.wpcf-active{background-image:url(../images/file-export-icon1.svg)}.wpcf-options.wpcp_tools .wpcf-nav-options li:nth-child(2) a.wpcf-active{background-image:url(../images/file-import-icon1.svg)}.wpcf-options.wpcp_tools .wpcf-nav-options ul li a{padding:15px 30px;background-size:14px;background-position:10px center;background-repeat:no-repeat}.wpcf-field-upload input{width:50%}.carousel_video_source_id .wpcf-help{position:static}.wpcf-field-carousel_type .wpcf--image:nth-child(4),.wpcf-field-carousel_type .wpcf--image:nth-child(5),.wpcf-field-carousel_type .wpcf--image:nth-child(6){pointer-events:none}.wpcf-field-carousel_type .wpcf--image{position:relative}.wpcf-field-carousel_type .wpcf--image label strong{position:absolute;top:3px;right:3px;background:#cbd6df;padding:0 5px;font-size:10px}.wpcf-field-button_set .wpcf--button.wpcf-pro-only,.wpcf-field-image_select .wpcf--image.wpcf-pro-only{color:rgba(85,85,85,.6)!important;pointer-events:none;position:relative}.wpcf-field-button_set .wpcf--button.wpcf-pro-only{background-color:rgba(247,247,247,.4)!important}.wpcf-field.wpcf-field-switcher.only_pro_switcher .wpcf--ball::after{content:"PRO";position:relative;text-align:center;width:24px;float:right;font-weight:600;font-size:8px;color:#a5a5a5;opacity:1;line-height:18px}.wpcf-field.wpcf-field-switcher.only_pro_switcher .wpcf--switcher{background:#cbcfd0;pointer-events:none}.wpcf-field-button_set .wpcf--button.wpcf-pro-only:after,.wpcf-field-image_select .wpcf--image.wpcf-pro-only:after{position:absolute;top:0;right:0;color:#a5a5a5;background-color:#e0e0e0;font-weight:500;padding:0 4px;content:"PRO";text-align:center;font-size:8px;line-height:11px;opacity:1}.wpcf-field-image_select .wpcf--image.wpcf-pro-only:after{top:2px;right:12px;border-radius:0 1px 0 0}.wpcf-field.wpcf-field-switcher.only_pro_switcher .sp_wpcp--switcher{background:#cbcfd0;pointer-events:none}.wpcf-field-column.wpcp_carousel_row_pro_only{opacity:.7;pointer-events:none}.wpcf-field-column.wpcp_carousel_row_pro_only .wpcf--inputs .wpcf--input:nth-child(5){position:relative}.wpcf-field-column.wpcp_carousel_row_pro_only .wpcf--inputs .wpcf--input:nth-child(5)::after{position:absolute;content:"PRO";background-color:#d4d4d4;padding:2px 4px;font-size:8px;border-radius:2px;height:11px;margin-left:5px;margin-top:7px;right:-20px}
1
+ .wpcf{position:relative}.wpcf label{padding:0;margin:0;display:inline-block}.wpcf-ab-icon{top:2px}#screen-meta-links+.wpcf-options{margin-top:40px}.wpcf-options{margin-top:20px;margin-right:20px}.wpcf-header{position:relative}.wpcf-header-inner{padding:25px;transition:box-shadow .3s ease}.wpcf-header-inner h1 svg{float:left;height:26px;width:28px;margin-right:8px;padding-top:6px}.wpcf-header-inner h1{float:left;margin:0;font-size:22px;color:#444;font-weight:600;line-height:35px}.wpcf-header-inner h1 small{font-size:11px;font-weight:500}.wpcf-sticky .wpcf-header-inner{position:fixed;z-index:99;top:32px;box-shadow:0 5px 10px rgba(0,0,0,.1)}.wpcf-buttons{float:right}.wpcf-buttons .button{margin:0 2px;line-height:26px}.wpcf-buttons .button:focus{outline:0!important;box-shadow:none!important}.wpcf-buttons .wpcf-save{min-width:72px}.wpcf-header-left{float:left}.wpcf-header-right{float:right}.wpcf-nav:not(.wpcf-nav-inline){display:block;position:relative;z-index:10;float:left}.wpcf-nav ul{clear:left;margin:0;list-style-type:none}.wpcf-nav ul li{margin-bottom:0}.wpcf-nav ul li a{font-size:13px;position:relative;display:block;padding:14px 12px;text-decoration:none;transition-property:color,background;transition-duration:.2s;transition-timing-function:ease}.wpcf-nav .fa{width:20px;margin-right:5px;font-size:14px;text-align:center}.wpcf-nav ul li a:focus{outline:0;box-shadow:none}.wpcf-nav ul li .wpcf-arrow:after{content:"\f054";display:inline-block;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:9px;line-height:1;position:absolute;right:10px;top:50%;margin-top:-4px}.wpcf-nav ul li.wpcf-tab-expanded .wpcf-arrow:after{transform:rotate(90deg)}#wpcf_shortcode_options .wpcf-theme-light .wpcf-nav ul li .wpcf-active i,.sp-wpcf-options.wpcf-theme-light .wpcf-nav ul li .wpcf-active i{color:#178087}.wpcf-nav ul li.wpcf-tab-expanded ul{display:block}.wpcf-nav ul ul{display:none;position:relative}.wpcf-nav ul ul li a{font-size:12px;padding:12px 14px 12px 24px}.wpcf-nav .wpcf-tab-icon{width:20px;margin-right:5px;font-size:13px;text-align:center}.wpcf-nav .wpcf-label-error{margin-left:4px;vertical-align:top}.wpcf-nav-normal{width:235px}.wpcf-nav-normal+.wpcf-content{margin-left:235px}.wpcf-nav-inline ul li{display:inline-block;vertical-align:top}.wpcf-nav-background{position:absolute;top:0;left:0;bottom:0;z-index:9;width:235px}.wpcf-wrapper{position:relative}.wpcf-content{background-color:#fff;background-color:#fff;-moz-transition:opacity .2s;-o-transition:opacity .2s;-webkit-transition:opacity .2s;transition:opacity .2s}.wpcf-sections{float:left;width:100%}.wpcf-section-title{display:none;padding:20px 30px;background-color:#f5f5f5;border-top:1px solid #eee;border-bottom:1px solid #eee}.wpcf-section-title h3{margin:0;padding:0;font-size:13px;font-weight:700;text-transform:uppercase}.wpcf-section-title .wpcf-section-icon{margin-right:5px}.wpcf-footer{padding:20px;font-size:11px}.wpcf-copyright{float:left;margin-top:5px}.wpcf-search-all .wpcf-nav,.wpcf-search-all .wpcf-nav-background,.wpcf-show-all .wpcf-nav,.wpcf-show-all .wpcf-nav-background{display:none}.wpcf-search-all .wpcf-content,.wpcf-show-all .wpcf-content{margin-left:0}.wpcf-search-all .wpcf-section,.wpcf-search-all .wpcf-section-title,.wpcf-show-all .wpcf-section-title{display:block!important}.wpcf-search-all .wpcf-section-title{display:none!important}.wpcf-expand-all{float:left;padding:0 8px;margin-right:4px;z-index:1;font-size:13px;line-height:30px;cursor:pointer;user-select:none;border-radius:2px;transition:all .2s}.wpcf-expand-all span{font-size:11px;vertical-align:middle}.wpcf-search{float:left}.wpcf-search input{margin:0 2px 0 0;border:none;font-size:12px;line-height:30px;min-height:30px;text-align:inherit;padding:0 10px;border-radius:2px;box-shadow:none}.wpcf-search input:focus{box-shadow:none}.wpcf-saving .wpcf-content{cursor:default;pointer-events:none;opacity:.5}.wpcf-metabox{margin:-6px -12px -12px -12px}.wpcf-metabox .wpcf-field{padding:20px}.wpcf-metabox .wpcf-section-title{padding:20px}.block-editor-page .wpcf-metabox{margin:-6px -14px -14px -14px}.block-editor-editor-skeleton__content .wpcf-metabox{border-left:1px solid #e2e4e7;border-right:1px solid #e2e4e7}.wpcf-sections-reset{float:left;width:100%;text-align:right;border-top:1px solid #eee}.wpcf-sections-reset .wpcf-button-cancel,.wpcf-sections-reset input{display:none}.wpcf-sections-reset label{padding:10px}.wpcf-sections-reset span{-webkit-user-select:none;user-select:none}.wpcf-sections-reset input:checked~.wpcf-button-reset{display:none}.wpcf-sections-reset input:checked~.wpcf-button-cancel{display:inline-block}#side-sortables .wpcf-section-title{padding:12px}#side-sortables .wpcf-field{padding:10px 15px}#side-sortables .wpcf-field .wpcf-title{float:none;width:100%;margin-bottom:6px}#side-sortables .wpcf-field .wpcf-fieldset{float:none;width:100%}#side-sortables .wpcf-field-text input{width:100%}#side-sortables .wpcf-notice{padding:10px 15px}.wpcf-comment-metabox{margin:-6px -12px -12px -12px}.wpcf-comment-metabox .wpcf-field{padding:20px}.wpcf-comment-metabox .wpcf-section-title{padding:20px}.wpcf-tooltip{position:absolute;z-index:5000001;font-size:12px;line-height:1.4;text-align:center;text-decoration:none;padding:6px 12px;max-width:200px;color:#fff;background-color:#000;background-color:rgba(0,0,0,.85);border-radius:4px}.wpcf-theme-dark .wpcf-header-inner{background-color:#050505}.wpcf-theme-dark .wpcf-header-inner h1{color:#fff}.wpcf-theme-dark .wpcf-header-inner h1 small{color:#555}.wpcf-theme-dark .wpcf-expand-all{color:#999;background-color:#222}.wpcf-theme-dark .wpcf-expand-all:hover{color:#fff;background-color:#333}.wpcf-theme-dark .wpcf-search input{color:#fff;background-color:#222}.wpcf-theme-dark .wpcf-search:focus{background-color:#444}.wpcf-theme-dark .wpcf-search::-webkit-input-placeholder{color:#666}.wpcf-theme-dark .wpcf-nav ul li a{color:#999;border-color:#2f2f2f;background-color:#222}.wpcf-theme-dark .wpcf-nav ul li a:hover{color:#fff}.wpcf-theme-dark .wpcf-nav ul li .wpcf-active i{color:#178087}.wpcf-theme-dark .wpcf-nav ul li .wpcf-active{color:#fff;background-color:#111}.wpcf-theme-dark .wpcf-nav ul ul li a{border-color:#2f2f2f;background-color:#191919}.wpcf-theme-dark .wpcf-nav ul ul li .wpcf-active{background-color:#101010}.wpcf-theme-dark .wpcf-nav ul ul:before{background-color:rgba(34,34,34,.75)}.wpcf-theme-dark .wpcf-nav>ul>li:last-child>a{border:none}.wpcf-theme-dark .wpcf-nav-normal ul li a{border-bottom-width:1px;border-bottom-style:solid}.wpcf-theme-dark .wpcf-nav-normal ul li .wpcf-active:after{content:" ";position:absolute;right:0;top:50%;height:0;width:0;pointer-events:none;border:solid transparent;border-right-color:#fff;border-width:4px;margin-top:-4px}.wpcf-theme-dark .wpcf-nav-inline{background-color:#222}.wpcf-theme-dark .wpcf-nav-inline ul li a{text-align:center;border-right-width:1px;border-right-style:solid}.wpcf-theme-dark .wpcf-nav-inline ul li .wpcf-active:after{content:" ";position:absolute;left:50%;bottom:0;height:0;width:0;pointer-events:none;border:solid transparent;border-bottom-color:#fff;border-width:4px;margin-left:-4px}.wpcf-theme-dark .wpcf-nav-background{background-color:#222}.wpcf-theme-dark .wpcf-footer{color:#555;background-color:#050505}.wpcf-theme-light .wpcf-container{border:1px solid #ccd0d4;box-shadow:0 0 15 rgba(0,0,0,.04)}.wpcf-theme-light .wpcf-header-inner{background-color:#f2f2f2;border-bottom:1px solid #cecece;padding:22px 28px}.wpcf-theme-light .wpcf-header-inner h1 small{color:#999}.wpcf-theme-light .wpcf-expand-all{color:#999;background-color:#eee}.wpcf-theme-light .wpcf-expand-all:hover{color:#555}.wpcf-theme-light .wpcf-search input{color:#555;background-color:#eee}.wpcf-theme-light .wpcf-search input::-webkit-input-placeholder{color:#999}.wpcf-theme-light .wpcf-nav ul li a{background-color:#178087;border-top:1px solid #178087;border-right:1px solid #e2e2e1;border-bottom:1px solid #ddd;color:#fff;font-size:13px;font-weight:600;line-height:1.4;padding:14px 15px;text-transform:uppercase}.wpcf-theme-light .wpcf-nav ul li .wpcf-active{color:#000;background-color:#fff}.wpcf-theme-light .wpcf-nav ul ul li a{background-color:#eee}.wpcf-theme-light .wpcf-nav-normal>ul{margin-right:-1px;margin-bottom:-1px}.wpcf-theme-light .wpcf-nav-normal>ul li a{border-bottom:1px solid #ccd0d4;border-right:1px solid #ccd0d4}.wpcf-theme-light .wpcf-nav-normal>ul li .wpcf-active{border-right-color:#fff}.wpcf-theme-light .wpcf-nav-inline{background-color:#f5f5f5;border-bottom:1px solid #ccd0d4}.wpcf-theme-light .wpcf-nav-inline>ul{margin-bottom:-1px;margin-right:-1px}.wpcf-theme-light .wpcf-nav-inline>ul li a{text-align:center;border-bottom:1px solid #ccd0d4}.wpcf-theme-light .wpcf-nav-inline>ul li .wpcf-active i{color:#178087}.wpcf-theme-light .wpcf-nav-inline>ul li .wpcf-active{border-bottom:1px solid #fff;border-top:1px solid #178087;box-shadow:0 3px 0 0 #178087 inset;border-bottom-color:#fff}.wpcf-theme-light .wpcf-nav-inline>ul ul{display:none!important}.wpcf-theme-light .wpcf-nav-inline .wpcf-arrow:after{display:none}.wpcf-theme-light .wpcf-nav-background{background-color:#f5f5f5;border-right:1px solid #ccd0d4}.wpcf-theme-light .wpcf-footer{color:#555;border-top:1px solid #ccd0d4;background-color:#f5f5f5;background:linear-gradient(#fafafa,#f5f5f5)}.wpcf-field{position:relative;padding:30px}.wpcf-field p:first-child{margin-top:0}.wpcf-field p:last-child{margin-bottom:0}.wpcf-field:after,.wpcf-field:before{content:" ";display:table}.wpcf-field:after{clear:both}.wpcf-field h4{margin-top:0}.wpcf-field .wpcf-title{position:relative;width:20%;float:left}.wpcf-field .wpcf-title h4{margin:0;color:#23282d}.wpcf-field .wpcf-fieldset{float:right;width:calc(80% - 20px)}.wpcf-pseudo-field{padding:0 5px 0 0!important;display:inline-block}.wpcf-pseudo-field+.wpcf-pseudo-field{border:0}.wpcf-pseudo-field pre{display:none}.wpcf-field.wpcf-field-background .wpcf--preview{font-size:16px;line-height:20px;padding:20px;color:#222;border:1px solid #eee;background-color:#fff;height:150px;border-radius:2.5px;user-select:none;-webkit-user-select:none;transition:background-color .2s,border-color .2s}.wpcf-field.wpcf-field-background .wpcf--block-preview{cursor:pointer;position:relative;overflow:hidden;margin-top:10px;width:100%}.wpcf-field.wpcf-field-background .wpcf--black-background{border-color:#000;background-color:#000}.wpcf-field.wpcf-field-background .wpcf--toggle{position:absolute;top:5px;right:10px;color:#999}.wpcf-field-border .wpcf--inputs,.wpcf-field-column .wpcf--inputs,.wpcf-field-dimensions .wpcf--inputs,.wpcf-field-dimensions_advanced .wpcf--inputs,.wpcf-field-spacing .wpcf--inputs{float:left;display:flex;flex-wrap:wrap}.wpcf-field-border .wpcf--input,.wpcf-field-column .wpcf--input,.wpcf-field-dimensions .wpcf--input,.wpcf-field-dimensions_advanced .wpcf--input,.wpcf-field-spacing .wpcf--input{display:flex;padding-right:6px;padding-bottom:4px;box-sizing:border-box}.wpcf-field-border .wpcf--input select,.wpcf-field-column .wpcf--input select,.wpcf-field-dimensions .wpcf--input select,.wpcf-field-dimensions_advanced .wpcf--input select,.wpcf-field-spacing .wpcf--input select{margin:0}.wpcf-field-border .wpcf--input input,.wpcf-field-column .wpcf--input input,.wpcf-field-dimensions .wpcf--input input,.wpcf-field-dimensions_advanced .wpcf--input input,.wpcf-field-spacing .wpcf--input input{position:relative;z-index:1;margin:0;width:65px;max-width:100%;text-align:center;padding:0}.wpcf-field-border .wpcf--color,.wpcf-field-column .wpcf--color,.wpcf-field-dimensions .wpcf--color,.wpcf-field-dimensions_advanced .wpcf--color,.wpcf-field-spacing .wpcf--color{float:left}.wpcf-field-border .wpcf--label,.wpcf-field-column .wpcf--label,.wpcf-field-dimensions .wpcf--label,.wpcf-field-dimensions_advanced .wpcf--label,.wpcf-field-spacing .wpcf--label{display:flex;flex-direction:column;justify-content:center;user-select:none;min-width:20px;max-width:100%;padding:0 4px;font-size:12px;text-align:center;color:#555;border:1px solid #7b776c;background-color:#f5f5f5}.wpcf-field-border .wpcf--icon,.wpcf-field-column .wpcf--icon,.wpcf-field-dimensions .wpcf--icon,.wpcf-field-dimensions_advanced .wpcf--icon,.wpcf-field-spacing .wpcf--icon{border-right:0;border-radius:4px 0 0 4px}.wpcf-field-border .wpcf--icon+input,.wpcf-field-column .wpcf--icon+input,.wpcf-field-dimensions .wpcf--icon+input,.wpcf-field-dimensions_advanced .wpcf--icon+input,.wpcf-field-spacing .wpcf--icon+input{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.wpcf-field-border .wpcf--unit,.wpcf-field-column .wpcf--unit,.wpcf-field-dimensions .wpcf--unit,.wpcf-field-dimensions_advanced .wpcf--unit,.wpcf-field-spacing .wpcf--unit{border-left:0;border-radius:0 4px 4px 0}.wpcf-field-border .wpcf--is-unit,.wpcf-field-column .wpcf--is-unit,.wpcf-field-dimensions .wpcf--is-unit,.wpcf-field-dimensions_advanced .wpcf--is-unit,.wpcf-field-spacing .wpcf--is-unit{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.wpcf-field-button_set .wpcf--buttons{display:inline-block}.wpcf-field-button_set .wpcf--button{position:relative;z-index:1;float:left;cursor:pointer;padding:7px 14px;min-width:16px;text-align:center;color:#555;border:1px solid #ccc;background-color:#f7f7f7;user-select:none;box-shadow:0 1px 0 rgba(0,0,0,.1)}.wpcf-field-button_set .wpcf--button:first-child{border-radius:4px 0 0 4px}.wpcf-field-button_set .wpcf--button:last-child{border-radius:0 4px 4px 0}.wpcf-field-button_set .wpcf--button:not(:first-child){margin-left:-1px}.wpcf-field-button_set .wpcf--button:hover{background-color:#eee}.wpcf-field-button_set .wpcf--active,.wpcf-field-button_set .wpcf--active:hover{z-index:2;color:#fff;border-color:#006799;background-color:#0085ba}.wpcf-field-button_set input{display:none}.wpcf-field-checkbox ul,.wpcf-field-radio ul{margin:0;padding:0;list-style-type:none;overflow-y:auto;max-height:305px}.wpcf-field-checkbox ul li,.wpcf-field-radio ul li{margin-bottom:6px}.wpcf-field-checkbox ul ul,.wpcf-field-radio ul ul{max-height:none}.wpcf-field-checkbox ul ul li,.wpcf-field-radio ul ul li{margin-left:8px}.wpcf-field-checkbox ul ul li:first-child,.wpcf-field-radio ul ul li:first-child{margin-left:0}.wpcf-field-checkbox input,.wpcf-field-radio input{margin:0 1px}.wpcf-field-checkbox .wpcf--inline-list li,.wpcf-field-radio .wpcf--inline-list li{display:inline-block;margin-right:15px}.wpcf-field-checkbox .wpcf--text,.wpcf-field-radio .wpcf--text{margin-left:5px;vertical-align:middle}.wpcf-field-checkbox .wpcf-checker,.wpcf-field-radio .wpcf-checker{cursor:pointer}.wpcf-field-code_editor .CodeMirror{width:100%;height:400px}.wpcf-field-code_editor .cm-s-default{border:1px solid #ccd0d4}.wpcf-field-code_editor textarea{width:100%;height:400px}.wpcf-field-color>input{opacity:.75;width:115px;max-width:100%}.wpcf-field-color .button.wp-picker-clear{padding:0 8px;margin-left:6px;line-height:2.54545455;min-height:30px}.wpcf-field-color_group .wpcf--left{float:left;margin-right:10px;margin-bottom:5px}.wpcf-field-color_group .wpcf--title{color:#999;margin-bottom:5px}.wpcf-field-gallery input{display:none}.wpcf-field-gallery ul{margin:0;padding:0;list-style-type:none}.wpcf-field-gallery ul.sp-gallery-images li{display:inline-block;position:relative;padding:4px;margin:0 5px 10px 0;border:1px solid #ccc;background-color:#f9f9f9;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:0 1px 0 rgba(0,0,0,.08);-webkit-box-shadow:0 1px 0 rgba(0,0,0,.08);box-shadow:0 1px 0 rgba(0,0,0,.08)}.wpcf-field-gallery ul.sp-gallery-images li img{max-height:100px;display:inline-block;vertical-align:middle}.wpcf-field-gallery .button,.wpcf-field-gallery .button:focus,.wpcf-field-gallery .button:hover{margin-right:5px;margin-bottom:5px;width:110px;height:110px;text-align:center;line-height:15px;color:#fff;border:none;border-radius:2px;display:flex;justify-content:center;flex-direction:column;font-weight:600}.wpcf-field-gallery .button-primary.wpcf-button{background:#4eb631;box-shadow:none;text-shadow:none}.wpcf-field-gallery .button.wpcf-edit-gallery{background:#6a7885}.wpcf-field-gallery .button i{font-size:24px;margin-bottom:10px}.wpcf-field-gallery a,.wpcf-field-gallery ul.sp-gallery-images li{display:inline-block;padding:4px;border:1px solid #ccc;margin:0 5px 10px 0;background-color:#f9f9f9;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;-moz-box-shadow:0 1px 0 rgba(0,0,0,.08);-webkit-box-shadow:0 1px 0 rgb(0 0 0 / 8%);box-shadow:0 1px 0 rgb(0 0 0 / 8%)}.wpcf-field-gallery ul li img{max-height:100px;display:inline-block;vertical-align:middle}.wpcf-field-gallery a,.wpcf-field-gallery li{float:left}.wpcf-field-icon_select .wpcf--icon,.wpcf-field-image_select .wpcf--image{display:inline-block;margin:0 5px 5px 0}.wpcf-field-icon_select .wpcf--inline-list .wpcf--icon,.wpcf-field-image_select .wpcf--inline-list .wpcf--image{display:inline-block}.wpcf-field-icon_select figure,.wpcf-field-image_select figure{cursor:pointer;position:relative;display:inline-block;max-width:100%;margin:0;vertical-align:bottom;border:2px solid transparent;background-color:#fff;user-select:none;transition:all .2s}.wpcf-field-icon_select figure:before,.wpcf-field-image_select figure:before{position:absolute;top:0;left:0;text-align:center;font-size:10px;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;content:"\f00c";width:16px;height:16px;line-height:14px;opacity:0;color:#fff;background-color:#222;transition:opacity .2s}.wpcf-field-icon_select label,.wpcf-field-image_select label{display:inline-block;margin:5px}.wpcf-field-icon_select figure{padding:8px 10px;font-size:20px;line-height:20px}.wpcf-field-icon_select .wpcf--active figure{border-color:#52b3d9;opacity:1}.wpcf-field-icon_select .wpcf--active figure:before,.wpcf-field-image_select .wpcf--active figure:before{opacity:1}.wpcf-field-icon_select figure,.wpcf-field-image_select img{max-width:100%;height:auto;vertical-align:top}.wpcf-field-icon_select input,.wpcf-field-image_select input{display:none}.wpcf-field-media .wpcf--placeholder{display:flex;align-items:flex-start}.wpcf-field-media .wpcf--placeholder input{width:100%;margin:0}.wpcf-field-media .button{margin-left:5px}.wpcf-field-media .hidden+.button{margin-left:0}.wpcf-field-media .wpcf--preview{position:relative}.wpcf-field-select .wpcf-fieldset{min-height:30px}.wpcf-field-select .wpcf-chosen{display:none}.wpcf-field-select select{max-width:100%;margin:0;float:left}.wpcf-field-select .wpcf-hide-select{display:none!important}.wpcf-field-slider .wpcf--wrap{display:flex;align-items:center}.wpcf-field-slider .wpcf--input{display:flex}.wpcf-field-slider .wpcf--unit{display:flex;justify-content:center;flex-direction:column;user-select:none;padding:0 6px;font-size:11px;line-height:1;border-radius:0 4px 4px 0;color:#555;border:1px solid #7e8993;border-left:0;background-color:#f5f5f5}.wpcf-field-slider .wpcf-slider-ui{margin-right:15px}.wpcf-field-slider input[type=number]{position:relative;z-index:1;margin:0;width:50px;text-align:center}.wpcf-field-slider .wpcf--is-unit{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.wpcf-field-slider .ui-slider{position:relative;width:100%;height:3px;border:none;background:#ddd;border-radius:2px}.wpcf-field-slider .ui-slider-range{height:3px;border:none;background:#333;border-radius:2px}.wpcf-field-slider .ui-slider-handle{position:absolute;width:16px;height:16px;top:-7px;margin-left:-8px;border:none;background:#333;border-radius:2px}.wpcf-field-slider .ui-slider-handle:hover,.wpcf-field-slider .ui-state-active{cursor:pointer;background:#111}.wpcf-field-spinner .wpcf--spin{display:flex;float:left}.wpcf-field-spinner .ui-spinner{display:flex}.wpcf-field-spinner .ui-button{display:flex;flex-direction:column;justify-content:center;text-align:center;min-width:20px;padding:0 4px;color:#555;border:1px solid #7e8993;background-color:#f5f5f5}.wpcf-field-spinner .ui-spinner-button{cursor:pointer}.wpcf-field-spinner .ui-spinner-button:hover{background-color:#e7e7e7}.wpcf-field-spinner .ui-spinner-button:active{background-color:#ddd}.wpcf-field-spinner .ui-spinner-button:before{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:14px;line-height:14px}.wpcf-field-spinner .ui-spinner-down{order:1;border-right:0;border-radius:4px 0 0 4px}.wpcf-field-spinner .ui-spinner-down:before{content:"\f0d9"}.wpcf-field-spinner .ui-spinner-input{order:2}.wpcf-field-spinner .wpcf--unit{order:3;border-left:0;user-select:none}.wpcf-field-spinner .ui-spinner-up{order:4;border-left:0;border-radius:0 4px 4px 0}.wpcf-field-spinner .ui-spinner-up:before{content:"\f0da"}.wpcf-field-spinner input{position:relative;z-index:1;width:50px;text-align:center;margin:0;padding:0 8px;border-radius:0}.wpcf-field-spinner .ui-button-icon,.wpcf-field-spinner .ui-button-icon-space,.wpcf-field-spinner .ui-button-text{display:none}.wpcf-field-switcher .wpcf--switcher{float:left;cursor:pointer;position:relative;width:60px;height:26px;padding:0;margin:0;overflow:hidden;border-radius:4px;background-color:#ed6f6f;user-select:none;-webkit-user-select:none}.wpcf-field-switcher .wpcf--ball{position:absolute;top:4px;left:4px;width:24px;height:18px;background-color:#fff;border-radius:4px;transition:all .1s;box-shadow:1px 1px 1px rgba(0,0,0,.15)}.wpcf-field-switcher .wpcf--off,.wpcf-field-switcher .wpcf--on{position:absolute;top:0;left:0;right:0;font-size:11px;line-height:26px;font-weight:500;font-style:normal;text-align:center;text-transform:uppercase;color:#fff;padding-right:28px;opacity:0;transition:all .1s}.wpcf-field-switcher .wpcf--off{padding-right:0;padding-left:28px;opacity:1}.wpcf-field-switcher .wpcf--active{background:#4fb845}.wpcf-field-switcher .wpcf--active .wpcf--on{opacity:1}.wpcf-field-switcher .wpcf--active .wpcf--off{opacity:0}.wpcf-field-switcher .wpcf--active .wpcf--ball{left:100%;margin-left:-28px}.wpcf-field-switcher .wpcf--label{float:left;margin-top:4px;margin-left:8px;font-weight:400;color:#999}.wpcf-field-text input{width:340px;margin:0;min-height:36px;float:left}.wpcf-field-textarea textarea{width:100%;max-width:100%;min-height:125px}.wpcf-field-textarea .wpcf-shortcode-button{margin-bottom:10px;margin-right:5px}.wpcf-field-typography select,.wpcf-field-typography textarea{margin:0;min-width:100%;max-width:100%}.wpcf-field-typography .wpcf--title{color:#777;margin:0 0 2px 0;font-size:12px}.wpcf-field-typography .wpcf--title small{vertical-align:top}.wpcf-field-typography .wpcf--blocks{display:flex;flex-wrap:wrap}.wpcf-field-typography .wpcf--block.wpcf--block-font-color{overflow:hidden;float:left}.wpcf-field-typography .wpcf--block{flex:1;max-width:100%;padding-right:6px;padding-bottom:6px}.wpcf-field-typography .wpcf--input{margin:0;min-width:100%}.wpcf-field-typography .wpcf--input-wrap{position:relative}.wpcf-field-typography .wpcf--unit{position:absolute;z-index:1;right:4px;top:4px;bottom:4px;padding:2px 6px;color:#666;font-size:11px;line-height:1;border-radius:2px;background:#eee;user-select:none;display:flex;justify-content:center;flex-direction:column}.wpcf-field-background .wpcf--preview,.wpcf-field-typography .wpcf--preview{font-size:16px;line-height:20px;padding:20px;color:#222;border:1px solid #eee;background-color:#fff;border-radius:2.5px;user-select:none;-webkit-user-select:none;transition:background-color .2s,border-color .2s}.wpcf-field-background .wpcf--block-preview,.wpcf-field-typography .wpcf--block-preview{cursor:pointer;position:relative;overflow:hidden;margin-top:10px;width:100%}.wpcf-field-typography .wpcf--black-background{border-color:#000;background-color:#000}.wpcf-field-typography .wpcf--toggle{position:absolute;top:5px;right:10px;color:#999}.wpcf-field-typography .wpcf--block-extra-styles{margin-top:5px}.wpcf-field-heading{font-size:1.5em;font-weight:700;color:#23282d;background-color:#f5f5f5}.wpcf-field-subheading{font-size:14px;font-weight:700;padding-top:17px;padding-bottom:17px;color:#23282d;background-color:#f7f7f7}.wpcf-field-submessage{padding:0!important;border:0!important}.wpcf-field-submessage+.wpcf-field{border-top:0!important}.wpcf-submessage{font-size:12px;padding:17px 30px;border-top:1px solid transparent;border-bottom:1px solid transparent}.wpcf-submessage-success{color:#3c763d;border-color:#d6e9c6;background-color:#dff0d8}.wpcf-submessage-info{color:#31708f;border-color:#bce8f1;background-color:#d9edf7}.wpcf-submessage-warning{color:#8a6d3b;border-color:#faebcc;background-color:#fcf8e3}.wpcf-submessage-danger{color:#a94442;border-color:#ebccd1;background-color:#f2dede}.wpcf-submessage-normal{color:#23282d;border-color:#eee;background-color:#f7f7f7}.wpcf-field-notice{background-color:transparent}.wpcf-notice{color:#999;font-style:italic;font-size:13px;padding:12px 12px 12px 0!important;border:none!important}.wpcf-notice-success{border-color:#46b450}.wpcf-notice-info{border-color:#339fd4}.wpcf-notice-warning{border-color:#ffbc00}.wpcf-notice-danger{border-color:#dc3232}.wpcf-notice-normal{border-color:#222}.wpcf-field.wpcf-field-notice.pro_notice{padding-top:0}.wpcf-field-number input{width:70px;margin:0;height:36px;line-height:34px;padding-left:12px;min-height:36px}.wpcf-field-number .wpcf--wrap{position:relative;float:left;width:100px}.wpcf-field-number .wpcf--unit{position:absolute;z-index:1;left:75px;top:4px;bottom:4px;padding:2px 6px;color:#666;font-size:11px;line-height:1;border-radius:2px;background:#eee;user-select:none;display:flex;justify-content:center;flex-direction:column}.wpcf-help{position:static;cursor:help;font-size:14px;color:#aaa;width:15px;line-height:28px;padding-left:5px;float:left}.wpcf-help .wpcf-help-text{display:none}.wpcf--preview{max-width:100%}.wpcf-image-preview{display:inline-flex;align-items:center;justify-content:center;flex-direction:column;position:relative;padding:6px;max-width:120px;max-height:120px;min-width:40px;min-height:40px;margin-bottom:10px;text-align:center;border-radius:2px;border:1px solid #ccc;background-color:#f9f9f9;box-shadow:0 1px 0 rgba(0,0,0,.08)}.wpcf-image-preview i{cursor:pointer;position:absolute;z-index:1;right:4px;top:4px;font-size:14px;width:22px;height:22px;line-height:22px;text-align:center;text-decoration:none;color:#fff;background-color:#d33;opacity:.75;border-radius:2px;transition:all .2s}.wpcf-image-preview i:hover{opacity:1}.wpcf-image-preview i:focus{box-shadow:none}.wpcf-image-preview span{position:relative;overflow:hidden;display:flex;height:100%;width:100%}.wpcf-image-preview img{max-width:100%;height:auto;object-fit:contain}.wpcf-field-custom .wpcf-field{padding:0}.wpcf-field .chosen-container-single .chosen-single{height:28px;line-height:26px}.wpcf-field .chosen-container-single .chosen-single abbr{top:0;right:20px;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:12px;height:100%;width:18px;color:#aaa;text-align:center;background:0 0}.wpcf-field .chosen-container-single .chosen-single abbr:before{content:"\f00d"}.wpcf-field .chosen-container-single .chosen-single abbr:hover{color:#555}.wpcf-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:12px;height:100%;width:18px;color:#aaa;text-align:center;background:0 0}.wpcf-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:before{content:"\f00d";display:inline-block;padding-top:3px}.wpcf-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{color:#555}.wpcf-field .chosen-container-single .chosen-single div b{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:14px;color:#aaa;background:0 0}.wpcf-field .chosen-container-single .chosen-single div b:before{content:"\f107"}.wpcf-field .chosen-container-single .chosen-single div b:hover{color:#555}.wpcf-field .chosen-container-multi .chosen-choices li.search-choice-placeholder{border:1px dashed #aaa;margin:3px 5px 3px 0}.wpcf-field .chosen-container-multi .ui-sortable li.search-choice span{cursor:move}.wpcf-field .chosen-container-active.chosen-with-drop .chosen-single div b:before{content:"\f106"}.wpcf-field .chosen-container-single .chosen-single-with-deselect span{margin-right:40px}.wpcf-field .chosen-container-single .chosen-search input[type=text]{background:0 0}.wpcf-field .chosen-container-single .chosen-search:before{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:11px;content:"\f002";position:absolute;right:12px;top:10px;color:#aaa}.wpcf-field .wp-picker-container{display:inline-block}.wpcf-field .wp-picker-container .wp-color-result.button{margin-bottom:0}.wpcf-field .wpcf--transparent-wrap{display:none;position:relative;top:-1px;width:235px;padding:9px 10px;border:1px solid #dfdfdf;border-top:none;background-color:#fff}.wpcf-field .wp-picker-active .wpcf--transparent-wrap{display:block}.wpcf-field .wpcf--transparent-slider{position:absolute;width:190px;margin-left:2px;height:18px}.wpcf-field .wpcf--transparent-slider .ui-slider-handle{position:absolute;top:-3px;bottom:-3px;z-index:5;border-color:#aaa;border-style:solid;border-width:4px 3px;width:10px;height:16px;margin:0 -5px;background:0 0;cursor:ew-resize;opacity:.9;border-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.2)}.wpcf-field .wpcf--transparent-slider .ui-slider-handle:before{content:" ";position:absolute;left:-2px;right:-2px;top:-3px;bottom:-3px;border:2px solid #fff;border-radius:3px}.wpcf-field .wpcf--transparent-offset{height:18px;width:200px;background:url(../images/checkerboard.png) repeat-y center left scroll #fff;border-radius:2px;box-shadow:inset 0 0 5px rgba(0,0,0,.4)}.wpcf-field .wpcf--transparent-text{position:absolute;top:12px;right:10px;width:30px;font-size:12px;line-height:12px;text-align:center;color:#999}.wpcf-field .wpcf--transparent-button{cursor:pointer;user-select:none;margin-top:10px;font-size:11px;text-align:center;border-radius:2px;padding:3px 7px;box-shadow:0 1px 0 rgba(0,0,0,.1);letter-spacing:.2px;color:#777;border:1px solid #ccc;background-color:#f7f7f7;transition:background-color .2s,border-color .2s,color .2s}.wpcf-field .wpcf--transparent-active .wp-color-result{background-image:url(../images/checkerboard.png);background-size:135px;background-position:center left;background-color:transparent!important}.wpcf-field .wpcf--transparent-active .wpcf--transparent-button{color:#fff;border-color:#3ea032;background-color:#4fb845}.wpcf-field .wpcf--transparent-active .fa:before{content:"\f205"}.wpcf-nav-menu-options{clear:both;float:left;width:100%}.wpcf-nav-menu-options>.wpcf-fields{margin-left:-10px;margin-top:10px;margin-bottom:10px;border-top:1px solid #eee;border-bottom:1px solid #eee}.wpcf-nav-menu-options>.wpcf-fields>.wpcf-field{padding:12px 14px 12px 12px}.wpcf-nav-menu-options>.wpcf-fields>.wpcf-field .wpcf-title{float:none;width:100%;margin-bottom:5px}.wpcf-nav-menu-options>.wpcf-fields>.wpcf-field .wpcf-fieldset{float:none;width:100%}.wpcf-nav-menu-options .wpcf-field-text input{width:100%}.wpcf-nav-menu-options .wpcf-field-notice .wpcf-notice{padding:15px}.wpcf-nav-menu-title{padding:12px 14px 12px 12px;background-color:#f5f5f5;border-top:1px solid #eee;border-bottom:1px solid #eee}.wpcf-nav-menu-title:first-child{border-top:0}.wpcf-nav-menu-title h4{margin:0;padding:0;color:#23282d}.wpcf-nav-menu-icon{margin-right:5px}.wpcf-subtitle-text{margin-top:6px;font-weight:400;color:#999;font-style:italic}.wpcf-desc-text{clear:both;float:left;width:100%;margin-top:6px;font-weight:400;color:#999}.wpcf-error-text{margin-top:6px;color:#d02c21}.wpcf-before-text{margin-bottom:6px}.wpcf-after-text{margin-top:6px}.wpcf-metabox-hide{display:none!important}.wpcf-metabox-show{display:block!important}.wpcf-depend-hidden.wpcf-depend-on{display:none}.wpcf-depend-visible.wpcf-depend-on{display:block;opacity:.75;filter:grayscale(1);user-select:none;border-top:1px solid #eee}.wpcf-depend-visible.wpcf-depend-on .clear:before{content:"";left:0;top:0;right:0;bottom:0;position:absolute;background-color:#eee;opacity:.25;z-index:10}.wpcf-warning-primary{color:#fff!important;border-color:#dc3545!important;background:#dc3545!important}.wpcf-warning-primary:focus,.wpcf-warning-primary:hover{border-color:#bd2130!important;background:#bd2130!important}.wpcf-warning-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #bd2130!important}.wpcf-warning-primary:active{border-color:#bd2130!important;background:#bd2130!important}.wpcf-form-result{display:none;padding:12px;margin:0 0 15px 0;background-color:#fff;border-left:4px solid #555;-moz-box-shadow:0 1px 1px rgba(0,0,0,.1);-webkit-box-shadow:0 1px 1px rgb(0 0 0 / 10%);box-shadow:0 1px 1px rgb(0 0 0 / 10%)}.wpcf-form-show{display:block}.wpcf-form-success{border-left-color:#46b450}.wpcf-form-warning{border-left-color:#faebcc}.wpcf-label-error{position:relative;top:-2px;display:inline-block;font-size:10px;line-height:10px;height:10px;width:10px;padding:1px;font-style:normal;text-align:center;color:#fff;vertical-align:middle;background-color:#e10000;border-radius:2px}.wpcf-no-option{padding:30px}.wpcf-field-spinner .wpcf-input-number{-moz-appearance:textfield}.wpcf-field-spinner .wpcf-input-number::-webkit-inner-spin-button,.wpcf-field-spinner .wpcf-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.wpcf-fa5-shims .wpcf .fab,.wpcf-fa5-shims .wpcf .far,.wpcf-fa5-shims .wpcf .fas{font-family:FontAwesome;font-style:normal}@media only screen and (max-width:1200px){.wpcf-metabox .wpcf-field .wpcf-title{float:none;width:100%;margin-bottom:10px}.wpcf-metabox .wpcf-field .wpcf-fieldset{float:none;width:100%}}@media only screen and (max-width:782px){.wpcf-header-inner{text-align:center}.wpcf-header-inner h1{width:100%;margin-bottom:10px}.wpcf-form-result{float:none;margin-right:0;margin-bottom:10px}.wpcf-header-left,.wpcf-header-right,.wpcf-search{width:100%}.wpcf-search{text-align:center;margin-bottom:15px}.wpcf-footer{text-align:center}.wpcf-buttons{float:none}.wpcf-copyright{float:none;margin-top:10px}.wpcf-expand-all,.wpcf-nav,.wpcf-nav-background,.wpcf-reset-section{display:none!important}.wpcf-nav-normal+.wpcf-content{margin-left:0}.wpcf-section,.wpcf-section-title{display:block!important}.wpcf-field .wpcf-title{float:none;width:100%;margin-bottom:10px}.wpcf-field .wpcf-fieldset{float:none;width:100%}.wpcf-field-color .button.wp-picker-clear{padding:0 8px;line-height:2.14285714;min-height:32px}.wpcf-modal-inner{width:350px;height:400px}.wpcf-modal-content{height:237px}.wpcf-icon-dialog .wpcf-modal-inner{width:305px;height:380px}.wpcf-icon-dialog .wpcf-modal-content{height:267px}.wpcf-modal-icon .wpcf-modal-inner{width:330px;height:385px}.wpcf-modal-icon .wpcf-modal-content{height:252px}.wpcf-profile-options>.wpcf-field>.wpcf-title,.wpcf-taxonomy-edit-fields>.wpcf-field>.wpcf-title{float:none;width:100%;margin-bottom:10px}.wpcf-profile-options>.wpcf-field>.wpcf-fieldset,.wpcf-taxonomy-edit-fields>.wpcf-field>.wpcf-fieldset{float:none;width:100%}.wpcf-nav-menu-options>.wpcf-fields{margin-left:-10px;margin-right:-10px}.wpcf-nav-menu-options>.wpcf-fields>.wpcf-field{padding:10px}}.chosen-container{position:relative;vertical-align:middle;font-size:13px;user-select:none;max-width:390px;float:left}.chosen-container *{box-sizing:border-box}.chosen-container .chosen-drop{position:absolute;top:100%;z-index:1010;max-width:390px;width:100%;border:1px solid #aaa;border-top:0;background-color:#fff;box-shadow:0 4px 5px rgba(0,0,0,.15);clip:rect(0,0,0,0);clip-path:inset(100% 100%)}.chosen-container.chosen-with-drop .chosen-drop{clip:auto;clip-path:none}.chosen-container a{cursor:pointer}.chosen-container .chosen-single .group-name,.chosen-container .search-choice .group-name{margin-right:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:400;color:#999}.chosen-container .chosen-single .group-name:after,.chosen-container .search-choice .group-name:after{content:":";padding-left:2px;vertical-align:top}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:25px;border:1px solid #aaa;border-radius:5px;background-color:#fff;background:linear-gradient(#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-clip:padding-box;box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px}.chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;font-size:1px}.chosen-container-single .chosen-single div{position:absolute;top:0;right:0;display:block;width:18px;height:100%}.chosen-container-single .chosen-single div b{display:block;width:100%;height:100%}.chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type=text]{margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #aaa;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 4px 4px;background-clip:padding-box}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;clip:rect(0,0,0,0);clip-path:inset(100% 100%)}.chosen-container .chosen-results{color:#444;position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;word-wrap:break-word;-webkit-touch-callout:none}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#3875d7;background-image:linear-gradient(#3875d7 20%,#2a62bc 90%);color:#fff}.chosen-container .chosen-results li.no-results{color:#777;display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.chosen-container-multi .chosen-choices{position:relative;overflow:hidden;margin:0;padding:0 5px;max-width:390px;width:100%;height:auto;border:1px solid #aaa;background-color:#fff;background-image:linear-gradient(#eee 1%,#fff 15%);cursor:text}.chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-field input[type=text]{margin:1px 0;padding:0;outline:0;border:0!important;background:0 0!important;box-shadow:none;color:#999;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0;width:25px;height:25px;min-height:25px}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 5px 3px 0;padding:3px 20px 3px 6px;border:1px solid #aaa;max-width:100%;border-radius:3px;background-color:#eee;background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-size:100% 19px;background-repeat:repeat-x;background-clip:padding-box;box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);color:#333;line-height:13px;cursor:default}.chosen-container-multi .chosen-choices li.search-choice span{word-wrap:break-word;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:0;right:0;display:block;width:12px;height:12px;font-size:1px}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);color:#666}.chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #aaa;border-bottom-right-radius:0;border-bottom-left-radius:0;background-image:linear-gradient(#eee 20%,#fff 80%);box-shadow:0 1px 0 #fff inset}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:none;background:0 0}.chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#222!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type=text]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:none}.chosen-rtl .chosen-search input[type=text]{padding:4px 5px 4px 20px;direction:rtl}.text-center{text-align:center}.sp-after-text{padding-left:5px}.sp-wqvpro-framework .wpcf-nav-inline.wpcf-nav{position:inherit;float:none;width:100%;background:#f1f1f1;-webkit-box-shadow:inset 3px -1px 1px -1px rgba(0,0,0,.04);-moz-box-shadow:inset 3px -1px 1px -1px rgba(0,0,0,.04);box-shadow:inset 3px -1px 1px -1px rgba(0,0,0,.04)}.wpcf-theme-light .wpcf-nav-inline{border-bottom:0}.wpcf.wpcf-options .wpcf-nav ul li{margin-bottom:-1px}.wpcf.wpcf-options .wpcf-nav-background{width:235px;background-color:#e3e3e3}.wpcf.wpcf-options .wpcf-nav ul li a{font-size:13px;padding:16px 15px;line-height:1.4;border-bottom:2px solid #cecece;color:#fff;text-transform:uppercase;font-weight:600;margin-bottom:-1px}.wpcf.wpcf-options .wpcf-nav ul li.wpcf-tab-expanded a{color:#000}.wpcf.wpcf-options .wpcf-nav ul li.wpcf-tab-expanded a i{color:#4498be}.wpcf.wpcf-options .wpcf-nav ul li :after{display:none}.sp-field-button-set label input{display:none}.sp-field-button-set label span{background:linear-gradient(to bottom,#fff,#eee);padding:9px 17px;margin:0;vertical-align:middle;border:solid 1px #ccc;border-radius:0;cursor:pointer;border-right:none}.sp-field-button-set label input~span:hover{background:#fff}.sp-field-button-set label:first-child span{border-radius:4px 0 0 4px}.sp-field-button-set label:last-child span{border-radius:0 4px 4px 0;border-right:solid 1px #ccc}.sp-field-button-set label input:checked~span{background:linear-gradient(to bottom,#51ccfb,#058cbf);color:#fff;cursor:default;box-shadow:none}.wpcf-field-slider input{display:inline-block;width:42px;background:#fff}.wpcf-field-slider input[type=slider]:before{width:35px;height:35px;display:block;background:red;content:"%";position:absolute;right:0;top:0;float:right;margin-right:-20px;color:#fff}.wpcf--wrap{display:inline-block;margin:0 20px 0 0;width:50%;vertical-align:super}.wpcf-field-slider .ui-slider{position:relative;width:100%;height:8px;background:#f8f8f8;border:1px solid #e2e2e2;border-radius:2px}.wpcf-field-slider .ui-slider-range{background:#ddd;height:8px}.wpcf-field-slider .ui-slider-handle{height:16px;width:16px;background:#22aade;position:absolute;top:-4px;border-radius:2px;cursor:pointer}@media (min-width:1400px){.sp-metabox-framework .wpcf--wrap,.wpcf.wpcf-options .wpcf--wrap{width:35%}}div.sp-wqvpro-help .feature-section .sp-wqvpro-feature{background-color:#fff;padding:20px 20px;border:1px solid #ddd}div.sp-wqvpro-help .feature-section .sp-wqvpro-feature h3{font-size:16px;margin-top:18px}div.sp-wqvpro-help .feature-section i.sp-font{font-size:30px;display:block;color:#994294}div.sp-wqvpro-help.about-wrap h1{font-size:2.6em}div.sp-wqvpro-help .headline-feature.feature-video iframe{position:absolute;top:0;left:0;width:100%;height:100%}.about-wrap .plugin-section .three-col .col{background:#fff}.about-wrap .plugin-section .three-col .col .sp-wqvpro-plugin{border:1px solid #ddd}.about-wrap .plugin-section .three-col .col .sp-wqvpro-plugin .sp-wqvpro-plugin-content{padding-left:20px;padding-right:20px;padding-bottom:20px}.about-wrap .plugin-section .three-col .col .sp-wqvpro-plugin .sp-wqvpro-plugin-content h3{margin-top:20px;margin-bottom:8px;font-weight:500}.about-wrap .plugin-section .three-col .col .sp-wqvpro-plugin .sp-wqvpro-plugin-content p{margin-top:0}.about-wrap .plugin-section .sp-plugin-section-title h2{font-size:2.2em;color:#32373c;font-weight:400}.about-wrap .plugin-section .sp-plugin-section-title h4{font-weight:400;text-align:center;font-size:18px;color:#555d66;margin-top:15px;margin-bottom:40px}.sp-divider{width:100%;display:block;height:10px}.wpcf.wpcf-options .sp-font-preview{width:45%;padding:10px;border:1px solid #e6e6e6;color:#7b7b7b;margin-top:20px;background-color:#fff;font-size:16px}.wpcf_margin_field .sp-font-bottom,.wpcf_margin_field .sp-font-left,.wpcf_margin_field .sp-font-right,.wpcf_margin_field .sp-font-top{margin-right:30px}.wpcf_margin_field .sp-font-bottom:before,.wpcf_margin_field .sp-font-left:before,.wpcf_margin_field .sp-font-right:before,.wpcf_margin_field .sp-font-top:before{content:"px";position:absolute;top:19px;right:-20px;height:34px;width:29px;line-height:34px;text-align:center;background-color:#f5f5f5;display:block;border:1px solid #ddd;border-left:none}.wpcf.wpcf-options .sp-content .sp-section-title{background-color:#994294}.wpcf-field-carousel_type .wpcf--image{cursor:pointer;position:relative;display:inline-block;max-width:100%;margin:0 5px 5px 0;vertical-align:bottom;border:2px solid transparent;background-color:#fff;user-select:none;-webkit-user-select:none;-moz-transition:all .2s;-o-transition:all .2s;-webkit-transition:all .2s;transition:all .2s}.wpcf-field-image_select .wpcf--image:before{position:absolute;top:0;left:0;text-align:center;font-size:11px;font-family:FontAwesome;content:"\f00c";width:15px;height:15px;line-height:15px;opacity:0;color:#fff;background-color:#1ea4b0;transition:opacity .2s}.wpcf-field-image_select img{vertical-align:top}.wpcf-field-carousel_type input,.wpcf-field-image_select input{display:none}.wpcf-field-carousel_type .wpcf--image{background:#e8ecef;color:#7b8898;border:solid 3px #e8ecef;border-radius:2px;cursor:pointer;text-align:center;width:120px;height:80px;box-shadow:inset 0 0 0 3px #fff}.wpcf-field-carousel_type i{font-size:30px;width:32px;height:30px;margin-top:15px}.wpcf-field-carousel_type p{margin-top:5px;font-weight:500}.wpcf-field-carousel_type .wpcf--image.wpcf--active{border-color:#1ea4b0}.wpcf.wpcf-options .sp-field-sorter .sp-modules{width:100%}.wpcf.wpcf-options .wpcf-header-inner input{text-shadow:0 0 0;border:0;border-radius:0;height:38px;border-radius:4px;padding:0 16px;font-size:13px;font-weight:500;margin-left:8px;text-transform:uppercase;-webkit-transition:all .4s;-moz-transition:all .4s;-ms-transition:all .4s;-o-transition:all .4s;transition:all .4s}.wpcf.wpcf-options .wpcf-header-inner input.button-primary{background-color:#c5c5c6;border-color:transparent;color:#fff;width:140px;pointer-events:none}.wpcf.wpcf-options .wpcf-header-inner input.button-primary:hover{background-color:#00b647!important}.wpcf.wpcf-options .wpcf-header-inner input.wpcf-reset-section{background-color:#cd3c3c!important;color:#fff;margin-left:8px}.wpcf.wpcf-options .wpcf-header-inner input.wpcf-reset-section:hover{background-color:#c03635!important;color:#fff}.wpcf.wpcf-options .wpcf-header-inner .button.wpcf-save-ajax[disabled]{background-color:#02cc7b!important;color:#fff!important;border:none}.wpcf.wpcf-options .wpcf-nav ul li a{background:#efefef;color:#000;border-bottom:2px solid #cecece;padding:15px 15px;border-right:0;border-top:1px solid transparent;border-right:1px solid #cecece}.wpcf.wpcf-options .wpcf-nav ul li:last-child a{border-bottom:1px solid #cecece}.wpcf.wpcf-options .wpcf-nav ul li.wpcf-tab-expanded a{background-color:#fff;background-color:#fff;border-right:1px solid #fff;border-top:1px solid #fff;box-shadow:3px 0 0 0 #178087 inset}.wpcf.wpcf-options .wpcf-nav ul ul:before{background-color:transparent}.wpcf.wpcf-options .wpcf-nav ul ul{border-bottom:1px solid #cecece}.wpcf.wpcf-options .wpcf-nav ul ul li a{background-color:#f8fdff;padding:13px 15px 13px 24px}@media only screen and (max-width:782px){.wpcf.wpcf-options .wpcf-header-inner h1{float:none}}#wpcf_shortcode_options{border-top-color:#f1f1f1}#wpcf_shortcode_options .wpcf-nav ul li{margin-bottom:-1px}#wpcf_shortcode_options .wpcf-nav.wpcf-nav-metabox{border-right-color:#f1f1f1;border-right-color:#f1f1f1;background:#f1f1f1;margin-right:-2px}#wpcf_shortcode_options .wpcf-content{border-top:1px solid #e5e5e5;box-shadow:0 -1px 1px rgba(0,0,0,.04)}.wpcf-field.wpcf-field-carousel_type{padding-bottom:0}#sp_wpcp_upload_options .wpcf-field-carousel_type .wpcf-title,#sp_wpcp_upload_options .wpcf-field-gallery .wpcf-title,.wpcf-video-description .wpcf-title,.wpcf-video-field-wrapper>.wpcf-title,.wpcf_carousel_content_bg .wpcf-title,.wpcf_carousel_content_wrapper .wpcf-title{width:100%}#sp_wpcp_upload_options .wpcf-field-carousel_type .wpcf-fieldset,#sp_wpcp_upload_options .wpcf-field-gallery .wpcf-fieldset,.wpcf-video-description .wpcf-fieldset,.wpcf-video-field-wrapper>.wpcf-fieldset,.wpcf_carousel_content_bg .wpcf-fieldset,.wpcf_carousel_content_wrapper .wpcf-fieldset{margin-top:30px;margin-left:0;float:none;width:auto}.wpcf-field.wpcf-field-select.wpcf_taxonomy_operator .wpcf-fieldset,.wpcf-field.wpcf-field-select.wpcf_taxonomy_terms .wpcf-fieldset,.wpcf-field.wpcf-field-spinner .wpcf-fieldset,.wpcf-field.wpcf-field-switcher .wpcf-fieldset{position:relative}#sp_wpcp_display_shortcode .handlediv,#sp_wpcp_display_shortcode .hndle,#sp_wpcp_display_shortcode .postbox-header,#sp_wpcp_shortcode_options .handlediv,#sp_wpcp_shortcode_options .hndle,#sp_wpcp_shortcode_options .postbox-header,#sp_wpcp_upload_options .handlediv,#sp_wpcp_upload_options .hndle,#sp_wpcp_upload_options .postbox-header{display:none}#wpcf-section-sp_wpcp_display_shortcode_0,#wpcf-section-sp_wpcp_upload_options_0{display:block}.wpcf-field-icon_select figure:before,.wpcf-field-image_select figure:before{color:#fff;background-color:#1ea4b0}.wpcf-field-image_select .wpcf--active img{outline-color:#1ea4b0}.wpcf-field-image_select figure .sp-carousel-type{text-align:center;margin-bottom:0}.wpcf-field-image_select .wpcf--image img{color:#7b8898;margin-right:10px;outline:solid 3px transparent;border-radius:2px;cursor:pointer;text-align:center;width:80px;outline-offset:-3px}.wpcf-field-image_select .wpcf--image.wpcf--active img{outline-color:#1ea4b0}#sp_wpcp_upload_options .wpcp-admin-header{background-color:#157592;background:linear-gradient(-45deg,#22afba,#157592);padding:20px 26px;overflow:hidden;height:33px}#sp_wpcp_upload_options .wpcp-admin-header .support{margin-left:16px;float:right}#sp_wpcp_upload_options .wpcp-admin-header .support a{color:#fff;text-decoration:none;line-height:35px;font-size:15px;font-weight:500}#sp_wpcp_upload_options .wpcp-admin-header img{max-width:200px}.wpcf-field.wpcf-field-spinner .wpcf-help{left:110px}.wpcf-field-text.wpcf-field .wpcf-fieldset{position:relative}.wpcf-field-text.wpcf-field .wpcf-help{left:345px}.wpcf-field.wpcf-field-column .wpcf-help{position:static;top:auto;transform:translateY(0);padding:0;float:left}#sp_wpcp_display_shortcode .wpcf-field.wpcf-field-shortcode.wpcp-admin-footer{display:flex;padding:0;flex-wrap:wrap}.wpcf-field-shortcode.wpcp-admin-footer .wpcf-shortcode-selectable{background-color:rgba(82,179,217,.11);padding:10px 15px 10px 33px;display:inline-block;-webkit-touch-callout:all;-webkit-user-select:all;-khtml-user-select:all;-moz-user-select:all;-ms-user-select:all;user-select:all;border:1px solid rgba(82,179,217,.2);border-radius:2px;cursor:pointer;background-image:url(../images/copy.svg);background-size:16px;background-position:8px center;background-repeat:no-repeat}.wpcf-field-shortcode.wpcp-admin-footer .sptp-copy-btn{width:16px;margin-left:13px;position:absolute;top:50%;margin-top:-8px}#wpcf-section-sp_wpcp_display_shortcode_1 .wpcf-field{display:flex;padding:0;flex-wrap:wrap}.wpcf-field-shortcode.wpcp-admin-footer .wpcf-scode-wrap:first-of-type{border-right:1px solid #ddd}.wpcf-field-shortcode.wpcp-admin-footer .wpcf-scode-wrap{padding-top:22px;padding-bottom:22px;text-align:center;width:49%}.wpcf-field-shortcode.wpcp-admin-footer .wpcf-sc-title{font-weight:500;font-size:14px!important;padding-top:0!important;color:#4c5158;margin-right:5px}@media only screen and (max-width:990px){.wpcf-field-shortcode.wpcp-admin-footer .wpcf-scode-wrap:first-of-type{border-right:none;border-bottom:1px solid #ddd}.wpcf-field-shortcode.wpcp-admin-footer .wpcf-scode-wrap{width:100%}}.wpcf-field.wpcf-field-checkbox .wpcf-help{display:inline-block;float:none}.wpcf-field.wpcf-field-button_set.wpcp_export{margin-top:0;padding-top:0}.wpcf-field-button_set.wpcp_export .wpcf--button:hover,.wpcf-field.wpcf-field-custom_import.wpcp_import button:hover{background:#135e96;border-color:#135e96;color:#fff}.wpcf-field-button_set.wpcp_export .wpcf--button,.wpcf-field.wpcf-field-custom_import.wpcp_import button{background:#2271b1;border-color:#2271b1;color:#fff;text-decoration:none;text-shadow:none;display:inline-block;text-decoration:none;font-size:13px;line-height:2.15384615;min-height:30px;margin:0;padding:0 10px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box}.sp-lcp-options .wpcf-field-select .wpcf-fieldset{position:relative}.wpcf-field.wpcf-field-custom_import.wpcp_import .wpcf-fieldset{position:relative}.wpcf-field.wpcf-field-custom_import.wpcp_import p{padding-bottom:0;margin-bottom:1px}.wpcf-field.wpcf-field-custom_import.wpcp_import button{margin-top:10px;padding-bottom:0}.wpcf-field.wpcf-field-custom_import.wpcp_import .wpcf-help{cursor:help;position:absolute;top:80%;transform:translateY(-50%);padding:5px;font-size:14px;color:#aaa;width:15px;left:64px}.wpcf-field.wpcf-field-select.wpcp_post_ids .chosen-container .chosen-drop{max-width:400px}.wpcf-field.wpcf-field-select.wpcp_post_ids{padding-top:0}.wpcf-options .wpcf-header-inner h1.export-import img{height:24px;height:24px;float:left;width:28px;margin-right:8px;padding-top:6px}.wpcf-options.wpcp_tools .wpcf-nav-options li:nth-child(1) a{background-image:url(../images/export-icon.svg)}.wpcf-options.wpcp_tools .wpcf-nav-options li:nth-child(2) a{background-image:url(../images/import.svg)}.wpcf-options.wpcp_tools .wpcf-nav-options li:nth-child(1) a.wpcf-active{background-image:url(../images/file-export-icon1.svg)}.wpcf-options.wpcp_tools .wpcf-nav-options li:nth-child(2) a.wpcf-active{background-image:url(../images/file-import-icon1.svg)}.wpcf-options.wpcp_tools .wpcf-nav-options ul li a{padding:15px 30px;background-size:14px;background-position:10px center;background-repeat:no-repeat}.wpcf-field-upload input{width:50%}.carousel_video_source_id .wpcf-help{position:static}.wpcf-field-carousel_type .wpcf--image:nth-child(4),.wpcf-field-carousel_type .wpcf--image:nth-child(5),.wpcf-field-carousel_type .wpcf--image:nth-child(6){pointer-events:none}.wpcf-field-carousel_type .wpcf--image{position:relative}.wpcf-field-carousel_type .wpcf--image label strong{position:absolute;top:3px;right:3px;background:#cbd6df;padding:0 5px;font-size:10px}.wpcf-field-button_set .wpcf--button.wpcf-pro-only,.wpcf-field-image_select .wpcf--image.wpcf-pro-only{color:rgba(85,85,85,.6)!important;pointer-events:none;position:relative}.wpcf-field-button_set .wpcf--button.wpcf-pro-only{background-color:rgba(247,247,247,.4)!important}.wpcf-field.wpcf-field-switcher.only_pro_switcher .wpcf--ball::after{content:"PRO";position:relative;text-align:center;width:24px;float:right;font-weight:600;font-size:8px;color:#a5a5a5;opacity:1;line-height:18px}.wpcf-field.wpcf-field-switcher.only_pro_switcher .wpcf--switcher{background:#cbcfd0;pointer-events:none}.wpcf-field-button_set .wpcf--button.wpcf-pro-only:after,.wpcf-field-image_select .wpcf--image.wpcf-pro-only:after{position:absolute;top:0;right:0;color:#a5a5a5;background-color:#e0e0e0;font-weight:500;padding:0 4px;content:"PRO";text-align:center;font-size:8px;line-height:11px;opacity:1}.wpcf-field-image_select .wpcf--image.wpcf-pro-only:after{top:2px;right:12px;border-radius:0 1px 0 0}.wpcf-field.wpcf-field-switcher.only_pro_switcher .sp_wpcp--switcher{background:#cbcfd0;pointer-events:none}.wpcf-field-column.wpcp_carousel_row_pro_only{opacity:.7;pointer-events:none}.wpcf-field-column.wpcp_carousel_row_pro_only .wpcf--inputs .wpcf--input:nth-child(5){position:relative}.wpcf-field-column.wpcp_carousel_row_pro_only .wpcf--inputs .wpcf--input:nth-child(5)::after{position:absolute;content:"PRO";background-color:#d4d4d4;padding:2px 4px;font-size:8px;border-radius:2px;height:11px;margin-left:5px;margin-top:7px;right:-20px}
admin/views/sp-framework/assets/js/main.js CHANGED
@@ -2629,4 +2629,14 @@
2629
 
2630
  });
2631
 
 
 
 
 
 
 
 
 
 
 
2632
  })(jQuery, window, document);
2629
 
2630
  });
2631
 
2632
+ $(document).on('keyup change', '.sp_wp_carousel_page_wpcp_settings #wpcf-form', function (e) {
2633
+ e.preventDefault();
2634
+ var $button = $(this).find('.wpcf-save');
2635
+ $button.css({"background-color": "#00C263", "pointer-events": "initial"}).val('Save Settings');
2636
+ });
2637
+ $('.sp_wp_carousel_page_wpcp_settings .wpcf-save').click(function(e) {
2638
+ e.preventDefault();
2639
+ $(this).css({"background-color": "#C5C5C6","pointer-events": "none"}).val('Changes Saved');
2640
+ })
2641
+
2642
  })(jQuery, window, document);
admin/views/sp-framework/assets/js/main.min.js CHANGED
@@ -1 +1 @@
1
- !function($,window,document,undefined){"use strict";var SP_WPCF=SP_WPCF||{};SP_WPCF.funcs={},SP_WPCF.vars={onloaded:!1,$body:$("body"),$window:$(window),$document:$(document),$form_warning:null,is_confirm:!1,form_modified:!1,code_themes:[],is_rtl:$("body").hasClass("rtl")},SP_WPCF.helper={uid:function(prefix){return(prefix||"")+Math.random().toString(36).substr(2,9)},preg_quote:function(str){return(str+"").replace(/(\[|\])/g,"\\$1")},name_nested_replace:function($selector,field_id){var checks=[],regex=new RegExp(SP_WPCF.helper.preg_quote(field_id+"[\\d+]"),"g");$selector.find(":radio").each((function(){(this.checked||this.orginal_checked)&&(this.orginal_checked=!0)})),$selector.each((function(index){$(this).find(":input").each((function(){this.name=this.name.replace(regex,field_id+"["+index+"]"),this.orginal_checked&&(this.checked=!0)}))}))},debounce:function(callback,threshold,immediate){var timeout;return function(){var context=this,args=arguments,later=function(){timeout=null,immediate||callback.apply(context,args)},callNow=immediate&&!timeout;clearTimeout(timeout),timeout=setTimeout(later,threshold),callNow&&callback.apply(context,args)}},get_cookie:function(name){var e,b,cookie=document.cookie,p=name+"=";if(cookie){if(-1===(b=cookie.indexOf("; "+p))){if(0!==(b=cookie.indexOf(p)))return null}else b+=2;return-1===(e=cookie.indexOf(";",b))&&(e=cookie.length),decodeURIComponent(cookie.substring(b+p.length,e))}},set_cookie:function(name,value,expires,path,domain,secure){var d=new Date;"object"==typeof expires&&expires.toGMTString?expires=expires.toGMTString():parseInt(expires,10)?(d.setTime(d.getTime()+1e3*parseInt(expires,10)),expires=d.toGMTString()):expires="",document.cookie=name+"="+encodeURIComponent(value)+(expires?"; expires="+expires:"")+(path?"; path="+path:"")+(domain?"; domain="+domain:"")+(secure?"; secure":"")}},$.fn.wpcf_clone=function(){for(var base=$.fn.clone.apply(this,arguments),clone=this.find("select").add(this.filter("select")),cloned=base.find("select").add(base.filter("select")),i=0;i<clone.length;++i)for(var j=0;j<clone[i].options.length;++j)!0===clone[i].options[j].selected&&(cloned[i].options[j].selected=!0);return this.find(":radio").each((function(){this.orginal_checked=this.checked})),base},$.fn.wpcf_expand_all=function(){return this.each((function(){$(this).on("click",(function(e){e.preventDefault(),$(".wpcf-wrapper").toggleClass("wpcf-show-all"),$(".wpcf-section").wpcf_reload_script(),$(this).find(".fa").toggleClass("fa-indent").toggleClass("fa-outdent")}))}))},$.fn.wpcf_nav_options=function(){return this.each((function(){var $nav=$(this),$window=$(window),$wpwrap=$("#wpwrap"),$links=$nav.find("a"),$last;$window.on("hashchange wpcf.hashchange",(function(){var hash=window.location.hash.replace("#tab=",""),slug=hash||$links.first().attr("href").replace("#tab=",""),$link=$('[data-tab-id="'+slug+'"]');if($link.length){$link.closest(".wpcf-tab-item").addClass("wpcf-tab-expanded").siblings().removeClass("wpcf-tab-expanded"),$link.next().is("ul")&&(slug=($link=$link.next().find("li").first().find("a")).data("tab-id")),$links.removeClass("wpcf-active"),$link.addClass("wpcf-active"),$last&&$last.addClass("hidden");var $section=$('[data-section-id="'+slug+'"]');$section.removeClass("hidden"),$section.wpcf_reload_script(),$(".wpcf-section-id").val($section.index()+1),$last=$section,$wpwrap.hasClass("wp-responsive-open")&&($("html, body").animate({scrollTop:$section.offset().top-50},200),$wpwrap.removeClass("wp-responsive-open"))}})).trigger("wpcf.hashchange")}))},$.fn.wpcf_nav_metabox=function(){return this.each((function(){var $nav=$(this),$links=$nav.find("a"),unique_id=$nav.data("unique"),post_id=$("#post_ID").val()||"global",$last_section,$last_link;$links.on("click",(function(e){e.preventDefault();var $link=$(this),section_id=$link.data("section");void 0!==$last_link&&$last_link.removeClass("wpcf-active"),void 0!==$last_section&&$last_section.addClass("hidden"),$link.addClass("wpcf-active");var $section=$("#wpcf-section-"+section_id);$section.removeClass("hidden"),$section.wpcf_reload_script(),SP_WPCF.helper.set_cookie("wpcf-last-metabox-tab-"+post_id+"-"+unique_id,section_id),$last_section=$section,$last_link=$link}));var get_cookie=SP_WPCF.helper.get_cookie("wpcf-last-metabox-tab-"+post_id+"-"+unique_id);get_cookie?$nav.find('a[data-section="'+get_cookie+'"]').trigger("click"):$links.first("a").trigger("click")}))},$.fn.wpcf_page_templates=function(){this.length&&$(document).on("change",".editor-page-attributes__template select, #page_template",(function(){var maybe_value=$(this).val()||"default";$(".wpcf-page-templates").removeClass("wpcf-metabox-show").addClass("wpcf-metabox-hide"),$(".wpcf-page-"+maybe_value.toLowerCase().replace(/[^a-zA-Z0-9]+/g,"-")).removeClass("wpcf-metabox-hide").addClass("wpcf-metabox-show")}))},$.fn.wpcf_post_formats=function(){this.length&&$(document).on("change",'.editor-post-format select, #formatdiv input[name="post_format"]',(function(){var maybe_value=$(this).val()||"default";maybe_value="0"===maybe_value?"default":maybe_value,$(".wpcf-post-formats").removeClass("wpcf-metabox-show").addClass("wpcf-metabox-hide"),$(".wpcf-post-format-"+maybe_value).removeClass("wpcf-metabox-hide").addClass("wpcf-metabox-show")}))},$.fn.wpcf_search=function(){return this.each((function(){var $this,$input;$(this).find("input").on("change keyup",(function(){var value=$(this).val(),$wrapper=$(".wpcf-wrapper"),$section,$fields=$wrapper.find(".wpcf-section").find("> .wpcf-field:not(.wpcf-depend-on)"),$titles=$fields.find("> .wpcf-title, .wpcf-search-tags");value.length>3?($fields.addClass("wpcf-metabox-hide"),$wrapper.addClass("wpcf-search-all"),$titles.each((function(){var $title=$(this);if($title.text().match(new RegExp(".*?"+value+".*?","i"))){var $field=$title.closest(".wpcf-field");$field.removeClass("wpcf-metabox-hide"),$field.parent().wpcf_reload_script()}}))):($fields.removeClass("wpcf-metabox-hide"),$wrapper.removeClass("wpcf-search-all"))}))}))},$.fn.wpcf_sticky=function(){return this.each((function(){var $this=$(this),$window=$(window),$inner=$this.find(".wpcf-header-inner"),padding=parseInt($inner.css("padding-left"))+parseInt($inner.css("padding-right")),offset=32,scrollTop=0,lastTop=0,ticking=!1,stickyUpdate=function(){var offsetTop=$this.offset().top,stickyTop=Math.max(32,offsetTop-scrollTop),winWidth=$window.innerWidth();stickyTop<=32&&winWidth>782?($inner.css({width:$this.outerWidth()-padding}),$this.css({height:$this.outerHeight()}).addClass("wpcf-sticky")):($inner.removeAttr("style"),$this.removeAttr("style").removeClass("wpcf-sticky"))},requestTick=function(){ticking||requestAnimationFrame((function(){stickyUpdate(),ticking=!1})),ticking=!0},onSticky=function(){scrollTop=$window.scrollTop(),requestTick()};$window.on("scroll resize",onSticky),onSticky()}))},$.fn.wpcf_dependency=function(){return this.each((function(){var $this=$(this),$fields=$this.children("[data-controller]");if($fields.length){var normal_ruleset=$.wpcf_deps.createRuleset(),global_ruleset=$.wpcf_deps.createRuleset(),normal_depends=[],global_depends=[];$fields.each((function(){var $field=$(this),controllers=$field.data("controller").split("|"),conditions=$field.data("condition").split("|"),values=$field.data("value").toString().split("|"),is_global=!!$field.data("depend-global"),ruleset=is_global?global_ruleset:normal_ruleset;$.each(controllers,(function(index,depend_id){var value=values[index]||"",condition=conditions[index]||conditions[0];(ruleset=ruleset.createRule('[data-depend-id="'+depend_id+'"]',condition,value)).include($field),is_global?global_depends.push(depend_id):normal_depends.push(depend_id)}))})),normal_depends.length&&$.wpcf_deps.enable($this,normal_ruleset,normal_depends),global_depends.length&&$.wpcf_deps.enable(SP_WPCF.vars.$body,global_ruleset,global_depends)}}))},$.fn.wpcf_field_code_editor=function(){return this.each((function(){if("function"==typeof CodeMirror){var $this=$(this),$textarea=$this.find("textarea"),$inited=$this.find(".CodeMirror"),data_editor=$textarea.data("editor");$inited.length&&$inited.remove();var interval=setInterval((function(){if($this.is(":visible")){var code_editor=CodeMirror.fromTextArea($textarea[0],data_editor);if("default"!==data_editor.theme&&-1===SP_WPCF.vars.code_themes.indexOf(data_editor.theme)){var $cssLink=$("<link>");$("#wpcf-codemirror-css").after($cssLink),$cssLink.attr({rel:"stylesheet",id:"wpcf-codemirror-"+data_editor.theme+"-css",href:data_editor.cdnURL+"/theme/"+data_editor.theme+".min.css",type:"text/css",media:"all"}),SP_WPCF.vars.code_themes.push(data_editor.theme)}CodeMirror.modeURL=data_editor.cdnURL+"/mode/%N/%N.min.js",CodeMirror.autoLoadMode(code_editor,data_editor.mode),code_editor.on("change",(function(editor,event){$textarea.val(code_editor.getValue()).trigger("change")})),clearInterval(interval)}}))}}))},$.fn.wpcf_field_gallery=function(){return this.each((function(){var $this=$(this),$edit=$this.find(".wpcf-edit-gallery"),$clear=$this.find(".wpcf-clear-gallery"),$list=$this.find("ul.sp-gallery-images"),$input=$this.find("input"),$img=$this.find("img"),wp_media_frame;$this.on("click",".wpcf-button, .wpcf-edit-gallery",(function(e){var $el=$(this),ids=$input.val(),what=$el.hasClass("wpcf-edit-gallery")?"edit":"add",state="add"!==what||ids.length?"gallery-edit":"gallery";e.preventDefault(),void 0!==window.wp&&window.wp.media&&window.wp.media.gallery&&("gallery"===state?(wp_media_frame=window.wp.media({library:{type:"image"},frame:"post",state:"gallery",multiple:!0})).open():(wp_media_frame=window.wp.media.gallery.edit('[gallery ids="'+ids+'"]'),"add"===what&&wp_media_frame.setState("gallery-library")),wp_media_frame.on("update",(function(selection){$list.empty();var selectedIds=selection.models.map((function(attachment){var item=attachment.toJSON(),thumb=item.sizes&&item.sizes.thumbnail&&item.sizes.thumbnail.url?item.sizes.thumbnail.url:item.url;return $list.append('<li><img src="'+thumb+'"></li>'),item.id}));$input.val(selectedIds.join(",")).trigger("change"),$clear.removeClass("hidden"),$edit.removeClass("hidden")})))})),$clear.on("click",(function(e){e.preventDefault(),$list.empty(),$input.val("").trigger("change"),$clear.addClass("hidden"),$edit.addClass("hidden")}))}))},$.fn.wpcf_field_media=function(){return this.each((function(){var $this=$(this),$upload_button=$this.find(".wpcf--button"),$remove_button=$this.find(".wpcf--remove"),$library=$upload_button.data("library")&&$upload_button.data("library").split(",")||"",$auto_attributes=!!$this.hasClass("wpcf-assign-field-background")&&$this.closest(".wpcf-field-background").find(".wpcf--auto-attributes"),wp_media_frame;$upload_button.on("click",(function(e){e.preventDefault(),void 0!==window.wp&&window.wp.media&&window.wp.media.gallery&&(wp_media_frame?wp_media_frame.open():((wp_media_frame=window.wp.media({library:{type:$library}})).on("select",(function(){var thumbnail,attributes=wp_media_frame.state().get("selection").first().attributes,preview_size=$upload_button.data("preview-size")||"thumbnail";$library.length&&-1===$library.indexOf(attributes.subtype)&&-1===$library.indexOf(attributes.type)||($this.find(".wpcf--id").val(attributes.id),$this.find(".wpcf--width").val(attributes.width),$this.find(".wpcf--height").val(attributes.height),$this.find(".wpcf--alt").val(attributes.alt),$this.find(".wpcf--title").val(attributes.title),$this.find(".wpcf--description").val(attributes.description),thumbnail=void 0!==attributes.sizes&&void 0!==attributes.sizes.thumbnail&&"thumbnail"===preview_size?attributes.sizes.thumbnail.url:void 0!==attributes.sizes&&void 0!==attributes.sizes.full?attributes.sizes.full.url:"image"===attributes.type?attributes.url:attributes.icon,console.log(attributes),$auto_attributes&&$auto_attributes.removeClass("wpcf--attributes-hidden"),$remove_button.removeClass("hidden"),$this.find(".wpcf--preview").removeClass("hidden"),$this.find(".wpcf--src").attr("src",thumbnail),$this.find(".wpcf--thumbnail").val(thumbnail),$this.find(".wpcf--url").val(attributes.url).trigger("change"))})),wp_media_frame.open()))})),$remove_button.on("click",(function(e){e.preventDefault(),$auto_attributes&&$auto_attributes.addClass("wpcf--attributes-hidden"),$remove_button.addClass("hidden"),$this.find("input").val(""),$this.find(".wpcf--preview").addClass("hidden"),$this.find(".wpcf--url").trigger("change")}))}))},$.fn.wpcf_field_slider=function(){return this.each((function(){var $this=$(this),$input=$this.find("input"),$slider=$this.find(".wpcf-slider-ui"),data=$input.data(),value=$input.val()||0;$slider.hasClass("ui-slider")&&$slider.empty(),$slider.slider({range:"min",value:value,min:data.min||0,max:data.max||100,step:data.step||1,slide:function(e,o){$input.val(o.value).trigger("change")}}),$input.on("keyup",(function(){$slider.slider("value",$input.val())}))}))},$.fn.wpcf_field_spinner=function(){return this.each((function(){var $this=$(this),$input=$this.find("input"),$inited=$this.find(".ui-button"),data=$input.data();$inited.length&&$inited.remove(),$input.spinner({min:data.min||0,max:data.max||100,step:data.step||1,create:function(event,ui){data.unit&&$input.after('<span class="ui-button wpcf--unit">'+data.unit+"</span>")},spin:function(event,ui){$input.val(ui.value).trigger("change")}})}))},$.fn.wpcf_field_switcher=function(){return this.each((function(){var $switcher=$(this).find(".wpcf--switcher");$switcher.on("click",(function(){var value=0,$input=$switcher.find("input");$switcher.hasClass("wpcf--active")?$switcher.removeClass("wpcf--active"):(value=1,$switcher.addClass("wpcf--active")),$input.val(value).trigger("change")}))}))},$.fn.wpcf_field_typography=function(){return this.each((function(){var base=this,$this=$(this),loaded_fonts=[],webfonts=wpcf_typography_json.webfonts,googlestyles=wpcf_typography_json.googlestyles,defaultstyles=wpcf_typography_json.defaultstyles;base.sanitize_subset=function(subset){return subset=(subset=subset.replace("-ext"," Extended")).charAt(0).toUpperCase()+subset.slice(1)},base.sanitize_style=function(style){return googlestyles[style]?googlestyles[style]:style},base.load_google_font=function(font_family,weight,style){font_family&&"object"==typeof WebFont&&(weight=weight?weight.replace("normal",""):"",style=style?style.replace("normal",""):"",(weight||style)&&(font_family=font_family+":"+weight+style),-1===loaded_fonts.indexOf(font_family)&&WebFont.load({google:{families:[font_family]}}),loaded_fonts.push(font_family))},base.append_select_options=function($select,options,condition,type,is_multi){$select.find("option").not(":first").remove();var opts="";$.each(options,(function(key,value){var selected,name=value;selected=is_multi?condition&&-1!==condition.indexOf(value)?" selected":"":condition&&condition===value?" selected":"","subset"===type?name=base.sanitize_subset(value):"style"===type&&(name=base.sanitize_style(value)),opts+='<option value="'+value+'"'+selected+">"+name+"</option>"})),$select.append(opts).trigger("wpcf.change").trigger("chosen:updated")},base.init=function(){var selected_styles=[],$typography=$this.find(".wpcf--typography"),$type=$this.find(".wpcf--type"),$styles=$this.find(".wpcf--block-font-style"),unit=$typography.data("unit"),line_height_unit=$typography.data("line-height-unit"),exclude_fonts=$typography.data("exclude")?$typography.data("exclude").split(","):[],$chosen_selects;$this.find(".wpcf--chosen").length&&$this.find("select").each((function(){var $chosen_select=$(this),$chosen_inited=$chosen_select.parent().find(".chosen-container");$chosen_inited.length&&$chosen_inited.remove(),$chosen_select.chosen({allow_single_deselect:!0,disable_search_threshold:15,width:"100%"})}));var $font_family_select=$this.find(".wpcf--font-family"),first_font_family=$font_family_select.val();$font_family_select.find("option").not(":first-child").remove();var opts="";$.each(webfonts,(function(type,group){exclude_fonts&&-1!==exclude_fonts.indexOf(type)||(opts+='<optgroup label="'+group.label+'">',$.each(group.fonts,(function(key,value){var selected;opts+='<option value="'+(value="object"==typeof value?key:value)+'" data-type="'+type+'"'+(value===first_font_family?" selected":"")+">"+value+"</option>"})),opts+="</optgroup>")})),$font_family_select.append(opts).trigger("chosen:updated");var $font_style_block=$this.find(".wpcf--block-font-style");if($font_style_block.length){var $font_style_select=$this.find(".wpcf--font-style-select"),first_style_value=$font_style_select.val()?$font_style_select.val().replace(/normal/g,""):"";$font_style_select.on("change wpcf.change",(function(event){var style_value=$font_style_select.val();!style_value&&selected_styles&&-1===selected_styles.indexOf("normal")&&(style_value=selected_styles[0]);var font_normal=style_value&&"italic"!==style_value&&"normal"===style_value?"normal":"",font_weight=style_value&&"italic"!==style_value&&"normal"!==style_value?style_value.replace("italic",""):font_normal,font_style=style_value&&"italic"===style_value.substr(-6)?"italic":"";$this.find(".wpcf--font-weight").val(font_weight),$this.find(".wpcf--font-style").val(font_style)}));var $extra_font_style_block=$this.find(".wpcf--block-extra-styles");if($extra_font_style_block.length)var $extra_font_style_select=$this.find(".wpcf--extra-styles"),first_extra_style_value=$extra_font_style_select.val()}var $subset_block=$this.find(".wpcf--block-subset");if($subset_block.length)var $subset_select=$this.find(".wpcf--subset"),first_subset_select_value=$subset_select.val(),subset_multi_select=$subset_select.data("multiple")||!1;var $backup_font_family_block=$this.find(".wpcf--block-backup-font-family");$font_family_select.on("change wpcf.change",(function(event){$subset_block.length&&$subset_block.addClass("hidden"),$extra_font_style_block.length&&$extra_font_style_block.addClass("hidden"),$backup_font_family_block.length&&$backup_font_family_block.addClass("hidden");var $selected=$font_family_select.find(":selected"),value=$selected.val(),type=$selected.data("type");if(type&&value){if("google"!==type&&"custom"!==type||!$backup_font_family_block.length||$backup_font_family_block.removeClass("hidden"),$font_style_block.length){var styles=defaultstyles;"google"===type&&webfonts[type].fonts[value][0]?styles=webfonts[type].fonts[value][0]:"custom"===type&&webfonts[type].fonts[value]&&(styles=webfonts[type].fonts[value]),selected_styles=styles;var set_auto_style=-1!==styles.indexOf("normal")?"normal":styles[0],set_style_value=first_style_value&&-1!==styles.indexOf(first_style_value)?first_style_value:set_auto_style;base.append_select_options($font_style_select,styles,set_style_value,"style"),first_style_value=!1,$font_style_block.removeClass("hidden"),"google"===type&&$extra_font_style_block.length&&styles.length>1&&(base.append_select_options($extra_font_style_select,styles,first_extra_style_value,"style",!0),first_extra_style_value=!1,$extra_font_style_block.removeClass("hidden"))}if("google"===type&&$subset_block.length&&webfonts[type].fonts[value][1]){var subsets=webfonts[type].fonts[value][1],set_auto_subset=subsets.length<2&&"latin"!==subsets[0]?subsets[0]:"",set_subset_value=first_subset_select_value&&-1!==subsets.indexOf(first_subset_select_value)?first_subset_select_value:set_auto_subset;set_subset_value=subset_multi_select&&first_subset_select_value?first_subset_select_value:set_subset_value,base.append_select_options($subset_select,subsets,set_subset_value,"subset",subset_multi_select),first_subset_select_value=!1,$subset_block.removeClass("hidden")}}else $styles.find(":input").val(""),$subset_block.length&&($subset_select.find("option").not(":first-child").remove(),$subset_select.trigger("chosen:updated")),$font_style_block.length&&($font_style_select.find("option").not(":first-child").remove(),$font_style_select.trigger("chosen:updated"));$type.val(type)})).trigger("wpcf.change");var $preview_block=$this.find(".wpcf--block-preview");if($preview_block.length){var $preview=$this.find(".wpcf--preview");$this.on("change",SP_WPCF.helper.debounce((function(event){$preview_block.removeClass("hidden");var font_family=$font_family_select.val(),font_weight=$this.find(".wpcf--font-weight").val(),font_style=$this.find(".wpcf--font-style").val(),font_size=$this.find(".wpcf--font-size").val(),font_variant=$this.find(".wpcf--font-variant").val(),line_height=$this.find(".wpcf--line-height").val(),text_align=$this.find(".wpcf--text-align").val(),text_transform=$this.find(".wpcf--text-transform").val(),text_decoration=$this.find(".wpcf--text-decoration").val(),text_color=$this.find(".wpcf--color").val(),word_spacing=$this.find(".wpcf--word-spacing").val(),letter_spacing=$this.find(".wpcf--letter-spacing").val(),custom_style=$this.find(".wpcf--custom-style").val(),type;"google"===$this.find(".wpcf--type").val()&&base.load_google_font(font_family,font_weight,font_style);var properties={};font_family&&(properties.fontFamily=font_family),font_weight&&(properties.fontWeight=font_weight),font_style&&(properties.fontStyle=font_style),font_variant&&(properties.fontVariant=font_variant),font_size&&(properties.fontSize=font_size+unit),line_height&&(properties.lineHeight=line_height+line_height_unit),letter_spacing&&(properties.letterSpacing=letter_spacing+unit),word_spacing&&(properties.wordSpacing=word_spacing+unit),text_align&&(properties.textAlign=text_align),text_transform&&(properties.textTransform=text_transform),text_decoration&&(properties.textDecoration=text_decoration),text_color&&(properties.color=text_color),$preview.removeAttr("style"),custom_style&&$preview.attr("style",custom_style),$preview.css(properties)}),100)),$preview_block.on("click",(function(){$preview.toggleClass("wpcf--black-background");var $toggle=$preview_block.find(".wpcf--toggle");$toggle.hasClass("fa-toggle-off")?$toggle.removeClass("fa-toggle-off").addClass("fa-toggle-on"):$toggle.removeClass("fa-toggle-on").addClass("fa-toggle-off")})),$preview_block.hasClass("hidden")||$this.trigger("change")}},base.init()}))},$.fn.wpcf_field_wp_editor=function(){return this.each((function(){if(void 0!==window.wp.editor&&void 0!==window.tinyMCEPreInit&&void 0!==window.tinyMCEPreInit.mceInit.wpcf_wp_editor){var $this=$(this),$editor=$this.find(".wpcf-wp-editor"),$textarea=$this.find("textarea"),$has_wp_editor;($this.find(".wp-editor-wrap").length||$this.find(".mce-container").length)&&($editor.empty(),$editor.append($textarea),$textarea.css("display",""));var uid=SP_WPCF.helper.uid("wpcf-editor-");$textarea.attr("id",uid);var default_editor_settings={tinymce:window.tinyMCEPreInit.mceInit.wpcf_wp_editor,quicktags:window.tinyMCEPreInit.qtInit.wpcf_wp_editor},field_editor_settings=$editor.data("editor-settings"),wpEditor=wp.oldEditor?wp.oldEditor:wp.editor;wpEditor&&wpEditor.hasOwnProperty("autop")&&(wp.editor.autop=wpEditor.autop,wp.editor.removep=wpEditor.removep,wp.editor.initialize=wpEditor.initialize);var editor_on_change=function(editor){editor.on("change keyup",(function(){var value=field_editor_settings.wpautop?editor.getContent():wp.editor.removep(editor.getContent());$textarea.val(value).trigger("change")}))};default_editor_settings.tinymce=$.extend({},default_editor_settings.tinymce,{selector:"#"+uid,setup:editor_on_change}),!1===field_editor_settings.tinymce&&(default_editor_settings.tinymce=!1,$editor.addClass("wpcf-no-tinymce")),!1===field_editor_settings.quicktags&&(default_editor_settings.quicktags=!1,$editor.addClass("wpcf-no-quicktags"));var interval=setInterval((function(){$this.is(":visible")&&(window.wp.editor.initialize(uid,default_editor_settings),clearInterval(interval))}));if(field_editor_settings.media_buttons&&window.wpcf_media_buttons){var $editor_buttons=$editor.find(".wp-media-buttons");if($editor_buttons.length)$editor_buttons.find(".wpcf-shortcode-button").data("editor-id",uid);else{var $media_buttons=$(window.wpcf_media_buttons);$media_buttons.find(".wpcf-shortcode-button").data("editor-id",uid),$editor.prepend($media_buttons)}}}}))},$.fn.wpcf_confirm=function(){return this.each((function(){$(this).on("click",(function(e){var confirm_text=$(this).data("confirm")||window.wpcf_vars.i18n.confirm,confirm_answer;if(!confirm(confirm_text))return e.preventDefault(),!1;SP_WPCF.vars.is_confirm=!0,SP_WPCF.vars.form_modified=!1}))}))},$.fn.serializeObject=function(){var obj={};return $.each(this.serializeArray(),(function(i,o){var n=o.name,v=o.value;obj[n]=void 0===obj[n]?v:$.isArray(obj[n])?obj[n].concat(v):[obj[n],v]})),obj},$.fn.wpcf_save=function(){return this.each((function(){var $this=$(this),$buttons=$(".wpcf-save"),$panel=$(".wpcf-options"),flooding=!1,timeout;$this.on("click",(function(e){if(!flooding){var $text=$this.data("save"),$value=$this.val();$buttons.attr("value",$text),$this.hasClass("wpcf-save-ajax")?(e.preventDefault(),$panel.addClass("wpcf-saving"),$buttons.prop("disabled",!0),window.wp.ajax.post("wpcf_"+$panel.data("unique")+"_ajax_save",{data:$("#wpcf-form").serializeJSONSP_WPCF()}).done((function(response){if($(".wpcf-error").remove(),Object.keys(response.errors).length){var error_icon='<i class="wpcf-label-error wpcf-error">!</i>';$.each(response.errors,(function(key,error_message){var $field=$('[data-depend-id="'+key+'"]'),$link=$('a[href="#tab='+$field.closest(".wpcf-section").data("section-id")+'"]'),$tab=$link.closest(".wpcf-tab-item");$field.closest(".wpcf-fieldset").append('<p class="wpcf-error wpcf-error-text">'+error_message+"</p>"),$link.find(".wpcf-error").length||$link.append(error_icon),$tab.find(".wpcf-arrow .wpcf-error").length||$tab.find(".wpcf-arrow").append(error_icon)}))}$panel.removeClass("wpcf-saving"),$buttons.prop("disabled",!1).attr("value",$value),flooding=!1,SP_WPCF.vars.form_modified=!1,SP_WPCF.vars.$form_warning.hide(),clearTimeout(timeout);var $result_success=$(".wpcf-form-success");$result_success.empty().append(response.notice).fadeIn("fast",(function(){timeout=setTimeout((function(){$result_success.fadeOut("fast")}),1e3)}))})).fail((function(response){alert(response.error)}))):SP_WPCF.vars.form_modified=!1}flooding=!0}))}))},$.fn.wpcf_options=function(){return this.each((function(){var $this=$(this),$content=$this.find(".wpcf-content"),$form_success=$this.find(".wpcf-form-success"),$form_warning=$this.find(".wpcf-form-warning"),$save_button=$this.find(".wpcf-header .wpcf-save");SP_WPCF.vars.$form_warning=$form_warning,$form_warning.length&&(window.onbeforeunload=function(){return!!SP_WPCF.vars.form_modified||void 0},$content.on("change keypress",":input",(function(){SP_WPCF.vars.form_modified||($form_success.hide(),$form_warning.fadeIn("fast"),SP_WPCF.vars.form_modified=!0)}))),$form_success.hasClass("wpcf-form-show")&&setTimeout((function(){$form_success.fadeOut("fast")}),1e3),$(document).keydown((function(event){if((event.ctrlKey||event.metaKey)&&83===event.which)return $save_button.trigger("click"),event.preventDefault(),!1}))}))},$.fn.wpcf_taxonomy=function(){return this.each((function(){var $this=$(this),$form=$this.parents("form");if("addtag"===$form.attr("id")){var $submit=$form.find("#submit"),$cloned=$this.find(".wpcf-field").wpcf_clone();$submit.on("click",(function(){$form.find(".form-required").hasClass("form-invalid")||($this.data("inited",!1),$this.empty(),$this.html($cloned),$cloned=$cloned.wpcf_clone(),$this.wpcf_reload_script())}))}}))},$.fn.wpcf_shortcode=function(){var base=this;return base.shortcode_parse=function(serialize,key){var shortcode="";return $.each(serialize,(function(shortcode_key,shortcode_values){shortcode+="["+(key=key||shortcode_key),$.each(shortcode_values,(function(shortcode_tag,shortcode_value){"content"===shortcode_tag?(shortcode+="]",shortcode+=shortcode_value,shortcode+="[/"+key):shortcode+=base.shortcode_tags(shortcode_tag,shortcode_value)})),shortcode+="]"})),shortcode},base.shortcode_tags=function(shortcode_tag,shortcode_value){var shortcode="";return""!==shortcode_value&&("object"!=typeof shortcode_value||$.isArray(shortcode_value)?shortcode+=" "+shortcode_tag.replace("-","_")+'="'+shortcode_value.toString()+'"':$.each(shortcode_value,(function(sub_shortcode_tag,sub_shortcode_value){switch(sub_shortcode_tag){case"background-image":sub_shortcode_value=sub_shortcode_value.url?sub_shortcode_value.url:""}""!==sub_shortcode_value&&(shortcode+=" "+sub_shortcode_tag.replace("-","_")+'="'+sub_shortcode_value.toString()+'"')}))),shortcode},base.insertAtChars=function(_this,currentValue){var obj=void 0!==_this[0].name?_this[0]:_this;return obj.value.length&&void 0!==obj.selectionStart?(obj.focus(),obj.value.substring(0,obj.selectionStart)+currentValue+obj.value.substring(obj.selectionEnd,obj.value.length)):(obj.focus(),currentValue)},base.send_to_editor=function(html,editor_id){var tinymce_editor;if("undefined"!=typeof tinymce&&(tinymce_editor=tinymce.get(editor_id)),tinymce_editor&&!tinymce_editor.isHidden())tinymce_editor.execCommand("mceInsertContent",!1,html);else{var $editor=$("#"+editor_id);$editor.val(base.insertAtChars($editor,html)).trigger("change")}},this.each((function(){var $modal=$(this),$load=$modal.find(".wpcf-modal-load"),$content=$modal.find(".wpcf-modal-content"),$insert=$modal.find(".wpcf-modal-insert"),$loading=$modal.find(".wpcf-modal-loading"),$select=$modal.find("select"),modal_id=$modal.data("modal-id"),nonce=$modal.data("nonce"),editor_id,target_id,gutenberg_id,sc_key,sc_name,sc_view,sc_group,$cloned,$button;$(document).on("click",'.wpcf-shortcode-button[data-modal-id="'+modal_id+'"]',(function(e){e.preventDefault(),$button=$(this),editor_id=$button.data("editor-id")||!1,target_id=$button.data("target-id")||!1,gutenberg_id=$button.data("gutenberg-id")||!1,$modal.removeClass("hidden"),$modal.hasClass("wpcf-shortcode-single")&&void 0===sc_name&&$select.trigger("change")})),$select.on("change",(function(){var $option=$(this),$selected=$option.find(":selected");sc_key=$option.val(),sc_name=$selected.data("shortcode"),sc_view=$selected.data("view")||"normal",sc_group=$selected.data("group")||sc_name,$load.empty(),sc_key?($loading.show(),window.wp.ajax.post("wpcf-get-shortcode-"+modal_id,{shortcode_key:sc_key,nonce:nonce}).done((function(response){$loading.hide();var $appended=$(response.content).appendTo($load);$insert.parent().removeClass("hidden"),$cloned=$appended.find(".wpcf--repeat-shortcode").wpcf_clone(),$appended.wpcf_reload_script(),$appended.find(".wpcf-fields").wpcf_reload_script()}))):$insert.parent().addClass("hidden")})),$insert.on("click",(function(e){if(e.preventDefault(),!$insert.prop("disabled")&&!$insert.attr("disabled")){var shortcode="",serialize=$modal.find(".wpcf-field:not(.wpcf-depend-on)").find(":input:not(.ignore)").serializeObjectSP_WPCF();switch(sc_view){case"contents":var contentsObj=sc_name?serialize[sc_name]:serialize;$.each(contentsObj,(function(sc_key,sc_value){var sc_tag=sc_name||sc_key;shortcode+="["+sc_tag+"]"+sc_value+"[/"+sc_tag+"]"}));break;case"group":shortcode+="["+sc_name,$.each(serialize[sc_name],(function(sc_key,sc_value){shortcode+=base.shortcode_tags(sc_key,sc_value)})),shortcode+="]",shortcode+=base.shortcode_parse(serialize[sc_group],sc_group),shortcode+="[/"+sc_name+"]";break;case"repeater":shortcode+=base.shortcode_parse(serialize[sc_group],sc_group);break;default:shortcode+=base.shortcode_parse(serialize)}if(shortcode=""===shortcode?"["+sc_name+"]":shortcode,gutenberg_id){var content=window.wpcf_gutenberg_props.attributes.hasOwnProperty("shortcode")?window.wpcf_gutenberg_props.attributes.shortcode:"";window.wpcf_gutenberg_props.setAttributes({shortcode:content+shortcode})}else if(editor_id)base.send_to_editor(shortcode,editor_id);else{var $textarea=target_id?$(target_id):$button.parent().find("textarea");$textarea.val(base.insertAtChars($textarea,shortcode)).trigger("change")}$modal.addClass("hidden")}})),$modal.on("click",".wpcf--repeat-button",(function(e){e.preventDefault();var $repeatable=$modal.find(".wpcf--repeatable"),$new_clone=$cloned.wpcf_clone(),$remove_btn=$new_clone.find(".wpcf-repeat-remove"),$appended=$new_clone.appendTo($repeatable);$new_clone.find(".wpcf-fields").wpcf_reload_script(),SP_WPCF.helper.name_nested_replace($modal.find(".wpcf--repeat-shortcode"),sc_group),$remove_btn.on("click",(function(){$new_clone.remove(),SP_WPCF.helper.name_nested_replace($modal.find(".wpcf--repeat-shortcode"),sc_group)}))})),$modal.on("click",".wpcf-modal-close, .wpcf-modal-overlay",(function(){$modal.addClass("hidden")}))}))},"function"==typeof Color&&(Color.prototype.toString=function(){if(this._alpha<1)return this.toCSS("rgba",this._alpha).replace(/\s+/g,"");var hex=parseInt(this._color,10).toString(16);if(this.error)return"";if(hex.length<6)for(var i=6-hex.length-1;i>=0;i--)hex="0"+hex;return"#"+hex}),SP_WPCF.funcs.parse_color=function(color){var value=color.replace(/\s+/g,""),trans=-1!==value.indexOf("rgba")?parseFloat(100*value.replace(/^.*,(.+)\)/,"$1")):100,rgba;return{value:value,transparent:trans,rgba:trans<100}},$.fn.wpcf_color=function(){return this.each((function(){var $input=$(this),picker_color=SP_WPCF.funcs.parse_color($input.val()),palette_color=!window.wpcf_vars.color_palette.length||window.wpcf_vars.color_palette,$container;$input.hasClass("wp-color-picker")&&$input.closest(".wp-picker-container").after($input).remove(),$input.wpColorPicker({palettes:palette_color,change:function(event,ui){var ui_color_value=ui.color.toString();$container.removeClass("wpcf--transparent-active"),$container.find(".wpcf--transparent-offset").css("background-color",ui_color_value),$input.val(ui_color_value).trigger("change")},create:function(){$container=$input.closest(".wp-picker-container");var a8cIris=$input.data("a8cIris"),$transparent_wrap=$('<div class="wpcf--transparent-wrap"><div class="wpcf--transparent-slider"></div><div class="wpcf--transparent-offset"></div><div class="wpcf--transparent-text"></div><div class="wpcf--transparent-button">transparent <i class="fa fa-toggle-off"></i></div></div>').appendTo($container.find(".wp-picker-holder")),$transparent_slider=$transparent_wrap.find(".wpcf--transparent-slider"),$transparent_text=$transparent_wrap.find(".wpcf--transparent-text"),$transparent_offset=$transparent_wrap.find(".wpcf--transparent-offset"),$transparent_button=$transparent_wrap.find(".wpcf--transparent-button");"transparent"===$input.val()&&$container.addClass("wpcf--transparent-active"),$transparent_button.on("click",(function(){"transparent"!==$input.val()?($input.val("transparent").trigger("change").removeClass("iris-error"),$container.addClass("wpcf--transparent-active")):($input.val(a8cIris._color.toString()).trigger("change"),$container.removeClass("wpcf--transparent-active"))})),$transparent_slider.slider({value:picker_color.transparent,step:1,min:0,max:100,slide:function(event,ui){var slide_value=parseFloat(ui.value/100);a8cIris._color._alpha=slide_value,$input.wpColorPicker("color",a8cIris._color.toString()),$transparent_text.text(1===slide_value||0===slide_value?"":slide_value)},create:function(){var slide_value=parseFloat(picker_color.transparent/100),text_value=slide_value<1?slide_value:"";$transparent_text.text(text_value),$transparent_offset.css("background-color",picker_color.value),$container.on("click",".wp-picker-clear",(function(){a8cIris._color._alpha=1,$transparent_text.text(""),$transparent_slider.slider("option","value",100),$container.removeClass("wpcf--transparent-active"),$input.trigger("change")})),$container.on("click",".wp-picker-default",(function(){var default_color=SP_WPCF.funcs.parse_color($input.data("default-color")),default_value=parseFloat(default_color.transparent/100),default_text=default_value<1?default_value:"";a8cIris._color._alpha=default_value,$transparent_text.text(default_text),$transparent_slider.slider("option","value",default_color.transparent),"transparent"===default_color.value&&($input.removeClass("iris-error"),$container.addClass("wpcf--transparent-active"))}))}})}})}))},$.fn.wpcf_chosen=function(){return this.each((function(){var $this=$(this),$inited=$this.parent().find(".chosen-container"),is_sortable=$this.hasClass("wpcf-chosen-sortable")||!1,is_ajax=$this.hasClass("wpcf-chosen-ajax")||!1,is_multiple=$this.attr("multiple")||!1,set_width=is_multiple?"100%":"auto",set_options=$.extend({allow_single_deselect:!0,disable_search_threshold:10,width:set_width,no_results_text:window.wpcf_vars.i18n.no_results_text},$this.data("chosen-settings"));if($inited.length&&$inited.remove(),is_ajax){var set_ajax_options=$.extend({data:{type:"post",nonce:""},allow_single_deselect:!0,disable_search_threshold:-1,width:"100%",min_length:3,type_delay:500,typing_text:window.wpcf_vars.i18n.typing_text,searching_text:window.wpcf_vars.i18n.searching_text,no_results_text:window.wpcf_vars.i18n.no_results_text},$this.data("chosen-settings"));$this.SP_WPCFAjaxChosen(set_ajax_options)}else $this.chosen(set_options);if(is_multiple){var $hidden_select=$this.parent().find(".wpcf-hide-select"),$hidden_value=$hidden_select.val()||[];$this.on("change",(function(obj,result){result&&result.selected?$hidden_select.append('<option value="'+result.selected+'" selected="selected">'+result.selected+"</option>"):result&&result.deselected&&$hidden_select.find('option[value="'+result.deselected+'"]').remove(),void 0!==window.wp.customize&&0===$hidden_select.children().length&&$hidden_select.data("customize-setting-link")&&window.wp.customize.control($hidden_select.data("customize-setting-link")).setting.set(""),$hidden_select.trigger("change")})),$this.SP_WPCFChosenOrder($hidden_value,!0)}if(is_sortable){var $chosen_container,$chosen_choices=$this.parent().find(".chosen-container").find(".chosen-choices");$chosen_choices.bind("mousedown",(function(event){$(event.target).is("span")&&event.stopPropagation()})),$chosen_choices.sortable({items:"li:not(.search-field)",helper:"orginal",cursor:"move",placeholder:"search-choice-placeholder",start:function(e,ui){ui.placeholder.width(ui.item.innerWidth()),ui.placeholder.height(ui.item.innerHeight())},update:function(e,ui){var select_options="",chosen_object=$this.data("chosen"),$prev_select=$this.parent().find(".wpcf-hide-select");$chosen_choices.find(".search-choice-close").each((function(){var option_array_index=$(this).data("option-array-index");$.each(chosen_object.results_data,(function(index,data){data.array_index===option_array_index&&(select_options+='<option value="'+data.value+'" selected>'+data.value+"</option>")}))})),$prev_select.children().remove(),$prev_select.append(select_options),$prev_select.trigger("change")}})}}))},$.fn.wpcf_checkbox=function(){return this.each((function(){var $this=$(this),$input=$this.find(".wpcf--input"),$checkbox=$this.find(".wpcf--checkbox");$checkbox.on("click",(function(){$input.val(Number($checkbox.prop("checked"))).trigger("change")}))}))},$.fn.wpcf_siblings=function(){return this.each((function(){var $this=$(this),$siblings=$this.find(".wpcf--sibling"),multiple=$this.data("multiple")||!1;$siblings.on("click",(function(){var $sibling=$(this);multiple?$sibling.hasClass("wpcf--active")?($sibling.removeClass("wpcf--active"),$sibling.find("input").prop("checked",!1).trigger("change")):($sibling.addClass("wpcf--active"),$sibling.find("input").prop("checked",!0).trigger("change")):($this.find("input").prop("checked",!1),$sibling.find("input").prop("checked",!0).trigger("change"),$sibling.addClass("wpcf--active").siblings().removeClass("wpcf--active"))}))}))},$.fn.wpcf_help=function(){return this.each((function(){var $this=$(this),$tooltip,offset_left;$this.on({mouseenter:function(){$tooltip=$('<div class="wpcf-tooltip"></div>').html($this.find(".wpcf-help-text").html()).appendTo("body"),SP_WPCF.vars.is_rtl,offset_left=$this.offset().left+24,$tooltip.css({top:$this.offset().top-($tooltip.outerHeight()/2-14),left:offset_left})},mouseleave:function(){void 0!==$tooltip&&$tooltip.remove()}})}))},$.fn.wpcf_customizer_refresh=function(){return this.each((function(){var $this=$(this),$complex=$this.closest(".wpcf-customize-complex");if($complex.length){var unique_id=$complex.data("unique-id");if(void 0===unique_id)return;var $input=$complex.find(":input"),option_id=$complex.data("option-id"),obj=$input.serializeObjectSP_WPCF(),data=!$.isEmptyObject(obj)&&obj[unique_id]&&obj[unique_id][option_id]?obj[unique_id][option_id]:"",control=window.wp.customize.control(unique_id+"["+option_id+"]");control.setting._value=null,control.setting.set(data)}else $this.find(":input").first().trigger("change");$(document).trigger("wpcf-customizer-refresh",$this)}))},SP_WPCF.vars.$window.on("resize wpcf.resize",SP_WPCF.helper.debounce((function(event){var window_width;(navigator.userAgent.indexOf("AppleWebKit/")>-1?SP_WPCF.vars.$window.width():window.innerWidth)<=782&&!SP_WPCF.vars.onloaded&&($(".wpcf-section").wpcf_reload_script(),SP_WPCF.vars.onloaded=!0)}),200)).trigger("wpcf.resize"),$.fn.wpcf_widgets=function(){this.length&&($(document).on("widget-added widget-updated",(function(event,$widget){$widget.find(".wpcf-fields").wpcf_reload_script()})),$(".widgets-sortables, .control-section-sidebar").on("sortstop",(function(event,ui){ui.item.find(".wpcf-fields").wpcf_reload_script_retry()})),$(document).on("click",".widget-top",(function(event){$(this).parent().find(".wpcf-fields").wpcf_reload_script()})))},$.fn.wpcf_nav_menu=function(){return this.each((function(){var $navmenu=$(this);$navmenu.on("click","a.item-edit",(function(){$(this).closest("li.menu-item").find(".wpcf-fields").wpcf_reload_script()})),$navmenu.on("sortstop",(function(event,ui){ui.item.find(".wpcf-fields").wpcf_reload_script_retry()}))}))},$.fn.wpcf_reload_script_retry=function(){return this.each((function(){var $this=$(this);$this.data("inited")&&$this.children(".wpcf-field-wp_editor").wpcf_field_wp_editor()}))},$.fn.wpcf_reload_script=function(options){var settings=$.extend({dependency:!0},options);return this.each((function(){var $this=$(this);$this.data("inited")||($this.children(".wpcf-field-code_editor").wpcf_field_code_editor(),$this.children(".wpcf-field-gallery").wpcf_field_gallery(),$this.children(".wpcf-field-media").wpcf_field_media(),$this.children(".wpcf-field-slider").wpcf_field_slider(),$this.children(".wpcf-field-spinner").wpcf_field_spinner(),$this.children(".wpcf-field-switcher").wpcf_field_switcher(),$this.children(".wpcf-field-typography").wpcf_field_typography(),$this.children(".wpcf-field-border").find(".wpcf-color").wpcf_color(),$this.children(".wpcf-field-color").find(".wpcf-color").wpcf_color(),$this.children(".wpcf-field-color_group").find(".wpcf-color").wpcf_color(),$this.children(".wpcf-field-typography").find(".wpcf-color").wpcf_color(),$this.children(".wpcf-field-select").find(".wpcf-chosen").wpcf_chosen(),$this.children(".wpcf-field-checkbox").find(".wpcf-checkbox").wpcf_checkbox(),$this.children(".wpcf-field-button_set").find(".wpcf-siblings").wpcf_siblings(),$this.children(".wpcf-field-carousel_type").find(".wpcf-siblings").wpcf_siblings(),$this.children(".wpcf-field").find(".wpcf-help").wpcf_help(),settings.dependency&&$this.wpcf_dependency(),$this.data("inited",!0),$(document).trigger("wpcf-reload-script",$this))}))},$(document).ready((function(){function wpcf_copyToClipboard(element){var $temp=$("<input>");$("body").append($temp),$temp.val($(element).text()).select(),document.execCommand("copy"),$temp.remove()}function wpcf_SelectText(element){var r=document.createRange(),w=element.get(0);r.selectNodeContents(w);var sel=window.getSelection();sel.removeAllRanges(),sel.addRange(r)}$(".wpcf-save").wpcf_save(),$(".wpcf-options").wpcf_options(),$(".wpcf-sticky-header").wpcf_sticky(),$(".wpcf-nav-options").wpcf_nav_options(),$(".wpcf-nav-metabox").wpcf_nav_metabox(),$(".wpcf-taxonomy").wpcf_taxonomy(),$(".wpcf-page-templates").wpcf_page_templates(),$(".wpcf-post-formats").wpcf_post_formats(),$(".wpcf-shortcode").wpcf_shortcode(),$(".wpcf-search").wpcf_search(),$(".wpcf-confirm").wpcf_confirm(),$(".wpcf-expand-all").wpcf_expand_all(),$(".wpcf-onload").wpcf_reload_script(),$(".widget").wpcf_widgets(),$("#menu-to-edit").wpcf_nav_menu(),$(".wpcf-shortcode-selectable").click((function(e){e.preventDefault(),wpcf_copyToClipboard($(this)),wpcf_SelectText($(this)),$(this).focus().select(),jQuery(".spwpc-after-copy-text").animate({opacity:1,bottom:25},300),setTimeout((function(){jQuery(".spwpc-after-copy-text").animate({opacity:0},200),jQuery(".spwpc-after-copy-text").animate({bottom:0},0)}),2e3)})),$(".post-type-sp_wp_carousel .shortcode.column-shortcode input").click((function(e){var copyText;e.preventDefault(),$(this).select(),document.execCommand("copy"),jQuery(".spwpc-after-copy-text").animate({opacity:1,bottom:25},300),setTimeout((function(){jQuery(".spwpc-after-copy-text").animate({opacity:0},200),jQuery(".spwpc-after-copy-text").animate({bottom:0},0)}),2e3)}));var $export_type=$(".wpcp_what_export").find("input:checked").val();$(".wpcp_what_export").on("change",(function(){$export_type=$(this).find("input:checked").val()})),$(".wpcp_export .wpcf--button").click((function(event){event.preventDefault();var $shortcode_ids=$(".wpcp_post_ids select").val();console.log($shortcode_ids);var $ex_nonce=$("#wpcf_options_noncesp_wpcf_tools").val(),selected_shortcode;if("all_shortcodes"===$export_type||"selected_shortcodes"===$export_type)var data={action:"wpcp_export_shortcodes",wpcf_ids:"selected_shortcodes"===$export_type?$shortcode_ids:"all_shortcodes",nonce:$ex_nonce};else $(".wpcf-form-result.wpcf-form-success").text("No carousel selected.").show(),setTimeout((function(){$(".wpcf-form-result.wpcf-form-success").hide().text("")}),3e3);$.post(ajaxurl,data,(function(resp){if(resp){var json=JSON.stringify(resp);json=[json];var blob=new Blob(json),link=document.createElement("a"),wpcp_time=$.now();link.href=window.URL.createObjectURL(blob),link.download="wp-carousel-export-"+wpcp_time+".json",link.click(),$(".wpcf-form-result.wpcf-form-success").text("Exported successfully!").show(),setTimeout((function(){$(".wpcf-form-result.wpcf-form-success").hide().text(""),$(".wpcp_post_ids select").val("").trigger("chosen:updated")}),3e3)}}))})),$(".wpcp_import button.import").click((function(event){event.preventDefault();var wpcp_shortcodes=$("#import").prop("files")[0];if(""!=$("#import").val()){var $im_nonce=$("#wpcf_options_noncesp_wpcf_tools").val(),reader=new FileReader;reader.readAsText(wpcp_shortcodes),reader.onload=function(event){var jsonObj=JSON.stringify(event.target.result);$.ajax({url:ajaxurl,type:"POST",data:{shortcode:jsonObj,action:"wpcp_import_shortcodes",nonce:$im_nonce},success:function(resp){$(".wpcf-form-result.wpcf-form-success").text("Imported successfully!").show(),setTimeout((function(){$(".wpcf-form-result.wpcf-form-success").hide().text(""),$("#import").val(""),window.location.replace($("#wpcf_shortcode_link_redirect").attr("href"))}),2e3)}})}}else $(".wpcf-form-result.wpcf-form-success").text("No exported json file chosen.").show(),setTimeout((function(){$(".wpcf-form-result.wpcf-form-success").hide().text("")}),3e3)}))}))}(jQuery,window,document);
1
+ !function($,window,document,undefined){"use strict";var SP_WPCF=SP_WPCF||{};SP_WPCF.funcs={},SP_WPCF.vars={onloaded:!1,$body:$("body"),$window:$(window),$document:$(document),$form_warning:null,is_confirm:!1,form_modified:!1,code_themes:[],is_rtl:$("body").hasClass("rtl")},SP_WPCF.helper={uid:function(prefix){return(prefix||"")+Math.random().toString(36).substr(2,9)},preg_quote:function(str){return(str+"").replace(/(\[|\])/g,"\\$1")},name_nested_replace:function($selector,field_id){var checks=[],regex=new RegExp(SP_WPCF.helper.preg_quote(field_id+"[\\d+]"),"g");$selector.find(":radio").each((function(){(this.checked||this.orginal_checked)&&(this.orginal_checked=!0)})),$selector.each((function(index){$(this).find(":input").each((function(){this.name=this.name.replace(regex,field_id+"["+index+"]"),this.orginal_checked&&(this.checked=!0)}))}))},debounce:function(callback,threshold,immediate){var timeout;return function(){var context=this,args=arguments,later=function(){timeout=null,immediate||callback.apply(context,args)},callNow=immediate&&!timeout;clearTimeout(timeout),timeout=setTimeout(later,threshold),callNow&&callback.apply(context,args)}},get_cookie:function(name){var e,b,cookie=document.cookie,p=name+"=";if(cookie){if(-1===(b=cookie.indexOf("; "+p))){if(0!==(b=cookie.indexOf(p)))return null}else b+=2;return-1===(e=cookie.indexOf(";",b))&&(e=cookie.length),decodeURIComponent(cookie.substring(b+p.length,e))}},set_cookie:function(name,value,expires,path,domain,secure){var d=new Date;"object"==typeof expires&&expires.toGMTString?expires=expires.toGMTString():parseInt(expires,10)?(d.setTime(d.getTime()+1e3*parseInt(expires,10)),expires=d.toGMTString()):expires="",document.cookie=name+"="+encodeURIComponent(value)+(expires?"; expires="+expires:"")+(path?"; path="+path:"")+(domain?"; domain="+domain:"")+(secure?"; secure":"")}},$.fn.wpcf_clone=function(){for(var base=$.fn.clone.apply(this,arguments),clone=this.find("select").add(this.filter("select")),cloned=base.find("select").add(base.filter("select")),i=0;i<clone.length;++i)for(var j=0;j<clone[i].options.length;++j)!0===clone[i].options[j].selected&&(cloned[i].options[j].selected=!0);return this.find(":radio").each((function(){this.orginal_checked=this.checked})),base},$.fn.wpcf_expand_all=function(){return this.each((function(){$(this).on("click",(function(e){e.preventDefault(),$(".wpcf-wrapper").toggleClass("wpcf-show-all"),$(".wpcf-section").wpcf_reload_script(),$(this).find(".fa").toggleClass("fa-indent").toggleClass("fa-outdent")}))}))},$.fn.wpcf_nav_options=function(){return this.each((function(){var $nav=$(this),$window=$(window),$wpwrap=$("#wpwrap"),$links=$nav.find("a"),$last;$window.on("hashchange wpcf.hashchange",(function(){var hash=window.location.hash.replace("#tab=",""),slug=hash||$links.first().attr("href").replace("#tab=",""),$link=$('[data-tab-id="'+slug+'"]');if($link.length){$link.closest(".wpcf-tab-item").addClass("wpcf-tab-expanded").siblings().removeClass("wpcf-tab-expanded"),$link.next().is("ul")&&(slug=($link=$link.next().find("li").first().find("a")).data("tab-id")),$links.removeClass("wpcf-active"),$link.addClass("wpcf-active"),$last&&$last.addClass("hidden");var $section=$('[data-section-id="'+slug+'"]');$section.removeClass("hidden"),$section.wpcf_reload_script(),$(".wpcf-section-id").val($section.index()+1),$last=$section,$wpwrap.hasClass("wp-responsive-open")&&($("html, body").animate({scrollTop:$section.offset().top-50},200),$wpwrap.removeClass("wp-responsive-open"))}})).trigger("wpcf.hashchange")}))},$.fn.wpcf_nav_metabox=function(){return this.each((function(){var $nav=$(this),$links=$nav.find("a"),unique_id=$nav.data("unique"),post_id=$("#post_ID").val()||"global",$last_section,$last_link;$links.on("click",(function(e){e.preventDefault();var $link=$(this),section_id=$link.data("section");void 0!==$last_link&&$last_link.removeClass("wpcf-active"),void 0!==$last_section&&$last_section.addClass("hidden"),$link.addClass("wpcf-active");var $section=$("#wpcf-section-"+section_id);$section.removeClass("hidden"),$section.wpcf_reload_script(),SP_WPCF.helper.set_cookie("wpcf-last-metabox-tab-"+post_id+"-"+unique_id,section_id),$last_section=$section,$last_link=$link}));var get_cookie=SP_WPCF.helper.get_cookie("wpcf-last-metabox-tab-"+post_id+"-"+unique_id);get_cookie?$nav.find('a[data-section="'+get_cookie+'"]').trigger("click"):$links.first("a").trigger("click")}))},$.fn.wpcf_page_templates=function(){this.length&&$(document).on("change",".editor-page-attributes__template select, #page_template",(function(){var maybe_value=$(this).val()||"default";$(".wpcf-page-templates").removeClass("wpcf-metabox-show").addClass("wpcf-metabox-hide"),$(".wpcf-page-"+maybe_value.toLowerCase().replace(/[^a-zA-Z0-9]+/g,"-")).removeClass("wpcf-metabox-hide").addClass("wpcf-metabox-show")}))},$.fn.wpcf_post_formats=function(){this.length&&$(document).on("change",'.editor-post-format select, #formatdiv input[name="post_format"]',(function(){var maybe_value=$(this).val()||"default";maybe_value="0"===maybe_value?"default":maybe_value,$(".wpcf-post-formats").removeClass("wpcf-metabox-show").addClass("wpcf-metabox-hide"),$(".wpcf-post-format-"+maybe_value).removeClass("wpcf-metabox-hide").addClass("wpcf-metabox-show")}))},$.fn.wpcf_search=function(){return this.each((function(){var $this,$input;$(this).find("input").on("change keyup",(function(){var value=$(this).val(),$wrapper=$(".wpcf-wrapper"),$section,$fields=$wrapper.find(".wpcf-section").find("> .wpcf-field:not(.wpcf-depend-on)"),$titles=$fields.find("> .wpcf-title, .wpcf-search-tags");value.length>3?($fields.addClass("wpcf-metabox-hide"),$wrapper.addClass("wpcf-search-all"),$titles.each((function(){var $title=$(this);if($title.text().match(new RegExp(".*?"+value+".*?","i"))){var $field=$title.closest(".wpcf-field");$field.removeClass("wpcf-metabox-hide"),$field.parent().wpcf_reload_script()}}))):($fields.removeClass("wpcf-metabox-hide"),$wrapper.removeClass("wpcf-search-all"))}))}))},$.fn.wpcf_sticky=function(){return this.each((function(){var $this=$(this),$window=$(window),$inner=$this.find(".wpcf-header-inner"),padding=parseInt($inner.css("padding-left"))+parseInt($inner.css("padding-right")),offset=32,scrollTop=0,lastTop=0,ticking=!1,stickyUpdate=function(){var offsetTop=$this.offset().top,stickyTop=Math.max(32,offsetTop-scrollTop),winWidth=$window.innerWidth();stickyTop<=32&&winWidth>782?($inner.css({width:$this.outerWidth()-padding}),$this.css({height:$this.outerHeight()}).addClass("wpcf-sticky")):($inner.removeAttr("style"),$this.removeAttr("style").removeClass("wpcf-sticky"))},requestTick=function(){ticking||requestAnimationFrame((function(){stickyUpdate(),ticking=!1})),ticking=!0},onSticky=function(){scrollTop=$window.scrollTop(),requestTick()};$window.on("scroll resize",onSticky),onSticky()}))},$.fn.wpcf_dependency=function(){return this.each((function(){var $this=$(this),$fields=$this.children("[data-controller]");if($fields.length){var normal_ruleset=$.wpcf_deps.createRuleset(),global_ruleset=$.wpcf_deps.createRuleset(),normal_depends=[],global_depends=[];$fields.each((function(){var $field=$(this),controllers=$field.data("controller").split("|"),conditions=$field.data("condition").split("|"),values=$field.data("value").toString().split("|"),is_global=!!$field.data("depend-global"),ruleset=is_global?global_ruleset:normal_ruleset;$.each(controllers,(function(index,depend_id){var value=values[index]||"",condition=conditions[index]||conditions[0];(ruleset=ruleset.createRule('[data-depend-id="'+depend_id+'"]',condition,value)).include($field),is_global?global_depends.push(depend_id):normal_depends.push(depend_id)}))})),normal_depends.length&&$.wpcf_deps.enable($this,normal_ruleset,normal_depends),global_depends.length&&$.wpcf_deps.enable(SP_WPCF.vars.$body,global_ruleset,global_depends)}}))},$.fn.wpcf_field_code_editor=function(){return this.each((function(){if("function"==typeof CodeMirror){var $this=$(this),$textarea=$this.find("textarea"),$inited=$this.find(".CodeMirror"),data_editor=$textarea.data("editor");$inited.length&&$inited.remove();var interval=setInterval((function(){if($this.is(":visible")){var code_editor=CodeMirror.fromTextArea($textarea[0],data_editor);if("default"!==data_editor.theme&&-1===SP_WPCF.vars.code_themes.indexOf(data_editor.theme)){var $cssLink=$("<link>");$("#wpcf-codemirror-css").after($cssLink),$cssLink.attr({rel:"stylesheet",id:"wpcf-codemirror-"+data_editor.theme+"-css",href:data_editor.cdnURL+"/theme/"+data_editor.theme+".min.css",type:"text/css",media:"all"}),SP_WPCF.vars.code_themes.push(data_editor.theme)}CodeMirror.modeURL=data_editor.cdnURL+"/mode/%N/%N.min.js",CodeMirror.autoLoadMode(code_editor,data_editor.mode),code_editor.on("change",(function(editor,event){$textarea.val(code_editor.getValue()).trigger("change")})),clearInterval(interval)}}))}}))},$.fn.wpcf_field_gallery=function(){return this.each((function(){var $this=$(this),$edit=$this.find(".wpcf-edit-gallery"),$clear=$this.find(".wpcf-clear-gallery"),$list=$this.find("ul.sp-gallery-images"),$input=$this.find("input"),$img=$this.find("img"),wp_media_frame;$this.on("click",".wpcf-button, .wpcf-edit-gallery",(function(e){var $el=$(this),ids=$input.val(),what=$el.hasClass("wpcf-edit-gallery")?"edit":"add",state="add"!==what||ids.length?"gallery-edit":"gallery";e.preventDefault(),void 0!==window.wp&&window.wp.media&&window.wp.media.gallery&&("gallery"===state?(wp_media_frame=window.wp.media({library:{type:"image"},frame:"post",state:"gallery",multiple:!0})).open():(wp_media_frame=window.wp.media.gallery.edit('[gallery ids="'+ids+'"]'),"add"===what&&wp_media_frame.setState("gallery-library")),wp_media_frame.on("update",(function(selection){$list.empty();var selectedIds=selection.models.map((function(attachment){var item=attachment.toJSON(),thumb=item.sizes&&item.sizes.thumbnail&&item.sizes.thumbnail.url?item.sizes.thumbnail.url:item.url;return $list.append('<li><img src="'+thumb+'"></li>'),item.id}));$input.val(selectedIds.join(",")).trigger("change"),$clear.removeClass("hidden"),$edit.removeClass("hidden")})))})),$clear.on("click",(function(e){e.preventDefault(),$list.empty(),$input.val("").trigger("change"),$clear.addClass("hidden"),$edit.addClass("hidden")}))}))},$.fn.wpcf_field_media=function(){return this.each((function(){var $this=$(this),$upload_button=$this.find(".wpcf--button"),$remove_button=$this.find(".wpcf--remove"),$library=$upload_button.data("library")&&$upload_button.data("library").split(",")||"",$auto_attributes=!!$this.hasClass("wpcf-assign-field-background")&&$this.closest(".wpcf-field-background").find(".wpcf--auto-attributes"),wp_media_frame;$upload_button.on("click",(function(e){e.preventDefault(),void 0!==window.wp&&window.wp.media&&window.wp.media.gallery&&(wp_media_frame?wp_media_frame.open():((wp_media_frame=window.wp.media({library:{type:$library}})).on("select",(function(){var thumbnail,attributes=wp_media_frame.state().get("selection").first().attributes,preview_size=$upload_button.data("preview-size")||"thumbnail";$library.length&&-1===$library.indexOf(attributes.subtype)&&-1===$library.indexOf(attributes.type)||($this.find(".wpcf--id").val(attributes.id),$this.find(".wpcf--width").val(attributes.width),$this.find(".wpcf--height").val(attributes.height),$this.find(".wpcf--alt").val(attributes.alt),$this.find(".wpcf--title").val(attributes.title),$this.find(".wpcf--description").val(attributes.description),thumbnail=void 0!==attributes.sizes&&void 0!==attributes.sizes.thumbnail&&"thumbnail"===preview_size?attributes.sizes.thumbnail.url:void 0!==attributes.sizes&&void 0!==attributes.sizes.full?attributes.sizes.full.url:"image"===attributes.type?attributes.url:attributes.icon,console.log(attributes),$auto_attributes&&$auto_attributes.removeClass("wpcf--attributes-hidden"),$remove_button.removeClass("hidden"),$this.find(".wpcf--preview").removeClass("hidden"),$this.find(".wpcf--src").attr("src",thumbnail),$this.find(".wpcf--thumbnail").val(thumbnail),$this.find(".wpcf--url").val(attributes.url).trigger("change"))})),wp_media_frame.open()))})),$remove_button.on("click",(function(e){e.preventDefault(),$auto_attributes&&$auto_attributes.addClass("wpcf--attributes-hidden"),$remove_button.addClass("hidden"),$this.find("input").val(""),$this.find(".wpcf--preview").addClass("hidden"),$this.find(".wpcf--url").trigger("change")}))}))},$.fn.wpcf_field_slider=function(){return this.each((function(){var $this=$(this),$input=$this.find("input"),$slider=$this.find(".wpcf-slider-ui"),data=$input.data(),value=$input.val()||0;$slider.hasClass("ui-slider")&&$slider.empty(),$slider.slider({range:"min",value:value,min:data.min||0,max:data.max||100,step:data.step||1,slide:function(e,o){$input.val(o.value).trigger("change")}}),$input.on("keyup",(function(){$slider.slider("value",$input.val())}))}))},$.fn.wpcf_field_spinner=function(){return this.each((function(){var $this=$(this),$input=$this.find("input"),$inited=$this.find(".ui-button"),data=$input.data();$inited.length&&$inited.remove(),$input.spinner({min:data.min||0,max:data.max||100,step:data.step||1,create:function(event,ui){data.unit&&$input.after('<span class="ui-button wpcf--unit">'+data.unit+"</span>")},spin:function(event,ui){$input.val(ui.value).trigger("change")}})}))},$.fn.wpcf_field_switcher=function(){return this.each((function(){var $switcher=$(this).find(".wpcf--switcher");$switcher.on("click",(function(){var value=0,$input=$switcher.find("input");$switcher.hasClass("wpcf--active")?$switcher.removeClass("wpcf--active"):(value=1,$switcher.addClass("wpcf--active")),$input.val(value).trigger("change")}))}))},$.fn.wpcf_field_typography=function(){return this.each((function(){var base=this,$this=$(this),loaded_fonts=[],webfonts=wpcf_typography_json.webfonts,googlestyles=wpcf_typography_json.googlestyles,defaultstyles=wpcf_typography_json.defaultstyles;base.sanitize_subset=function(subset){return subset=(subset=subset.replace("-ext"," Extended")).charAt(0).toUpperCase()+subset.slice(1)},base.sanitize_style=function(style){return googlestyles[style]?googlestyles[style]:style},base.load_google_font=function(font_family,weight,style){font_family&&"object"==typeof WebFont&&(weight=weight?weight.replace("normal",""):"",style=style?style.replace("normal",""):"",(weight||style)&&(font_family=font_family+":"+weight+style),-1===loaded_fonts.indexOf(font_family)&&WebFont.load({google:{families:[font_family]}}),loaded_fonts.push(font_family))},base.append_select_options=function($select,options,condition,type,is_multi){$select.find("option").not(":first").remove();var opts="";$.each(options,(function(key,value){var selected,name=value;selected=is_multi?condition&&-1!==condition.indexOf(value)?" selected":"":condition&&condition===value?" selected":"","subset"===type?name=base.sanitize_subset(value):"style"===type&&(name=base.sanitize_style(value)),opts+='<option value="'+value+'"'+selected+">"+name+"</option>"})),$select.append(opts).trigger("wpcf.change").trigger("chosen:updated")},base.init=function(){var selected_styles=[],$typography=$this.find(".wpcf--typography"),$type=$this.find(".wpcf--type"),$styles=$this.find(".wpcf--block-font-style"),unit=$typography.data("unit"),line_height_unit=$typography.data("line-height-unit"),exclude_fonts=$typography.data("exclude")?$typography.data("exclude").split(","):[],$chosen_selects;$this.find(".wpcf--chosen").length&&$this.find("select").each((function(){var $chosen_select=$(this),$chosen_inited=$chosen_select.parent().find(".chosen-container");$chosen_inited.length&&$chosen_inited.remove(),$chosen_select.chosen({allow_single_deselect:!0,disable_search_threshold:15,width:"100%"})}));var $font_family_select=$this.find(".wpcf--font-family"),first_font_family=$font_family_select.val();$font_family_select.find("option").not(":first-child").remove();var opts="";$.each(webfonts,(function(type,group){exclude_fonts&&-1!==exclude_fonts.indexOf(type)||(opts+='<optgroup label="'+group.label+'">',$.each(group.fonts,(function(key,value){var selected;opts+='<option value="'+(value="object"==typeof value?key:value)+'" data-type="'+type+'"'+(value===first_font_family?" selected":"")+">"+value+"</option>"})),opts+="</optgroup>")})),$font_family_select.append(opts).trigger("chosen:updated");var $font_style_block=$this.find(".wpcf--block-font-style");if($font_style_block.length){var $font_style_select=$this.find(".wpcf--font-style-select"),first_style_value=$font_style_select.val()?$font_style_select.val().replace(/normal/g,""):"";$font_style_select.on("change wpcf.change",(function(event){var style_value=$font_style_select.val();!style_value&&selected_styles&&-1===selected_styles.indexOf("normal")&&(style_value=selected_styles[0]);var font_normal=style_value&&"italic"!==style_value&&"normal"===style_value?"normal":"",font_weight=style_value&&"italic"!==style_value&&"normal"!==style_value?style_value.replace("italic",""):font_normal,font_style=style_value&&"italic"===style_value.substr(-6)?"italic":"";$this.find(".wpcf--font-weight").val(font_weight),$this.find(".wpcf--font-style").val(font_style)}));var $extra_font_style_block=$this.find(".wpcf--block-extra-styles");if($extra_font_style_block.length)var $extra_font_style_select=$this.find(".wpcf--extra-styles"),first_extra_style_value=$extra_font_style_select.val()}var $subset_block=$this.find(".wpcf--block-subset");if($subset_block.length)var $subset_select=$this.find(".wpcf--subset"),first_subset_select_value=$subset_select.val(),subset_multi_select=$subset_select.data("multiple")||!1;var $backup_font_family_block=$this.find(".wpcf--block-backup-font-family");$font_family_select.on("change wpcf.change",(function(event){$subset_block.length&&$subset_block.addClass("hidden"),$extra_font_style_block.length&&$extra_font_style_block.addClass("hidden"),$backup_font_family_block.length&&$backup_font_family_block.addClass("hidden");var $selected=$font_family_select.find(":selected"),value=$selected.val(),type=$selected.data("type");if(type&&value){if("google"!==type&&"custom"!==type||!$backup_font_family_block.length||$backup_font_family_block.removeClass("hidden"),$font_style_block.length){var styles=defaultstyles;"google"===type&&webfonts[type].fonts[value][0]?styles=webfonts[type].fonts[value][0]:"custom"===type&&webfonts[type].fonts[value]&&(styles=webfonts[type].fonts[value]),selected_styles=styles;var set_auto_style=-1!==styles.indexOf("normal")?"normal":styles[0],set_style_value=first_style_value&&-1!==styles.indexOf(first_style_value)?first_style_value:set_auto_style;base.append_select_options($font_style_select,styles,set_style_value,"style"),first_style_value=!1,$font_style_block.removeClass("hidden"),"google"===type&&$extra_font_style_block.length&&styles.length>1&&(base.append_select_options($extra_font_style_select,styles,first_extra_style_value,"style",!0),first_extra_style_value=!1,$extra_font_style_block.removeClass("hidden"))}if("google"===type&&$subset_block.length&&webfonts[type].fonts[value][1]){var subsets=webfonts[type].fonts[value][1],set_auto_subset=subsets.length<2&&"latin"!==subsets[0]?subsets[0]:"",set_subset_value=first_subset_select_value&&-1!==subsets.indexOf(first_subset_select_value)?first_subset_select_value:set_auto_subset;set_subset_value=subset_multi_select&&first_subset_select_value?first_subset_select_value:set_subset_value,base.append_select_options($subset_select,subsets,set_subset_value,"subset",subset_multi_select),first_subset_select_value=!1,$subset_block.removeClass("hidden")}}else $styles.find(":input").val(""),$subset_block.length&&($subset_select.find("option").not(":first-child").remove(),$subset_select.trigger("chosen:updated")),$font_style_block.length&&($font_style_select.find("option").not(":first-child").remove(),$font_style_select.trigger("chosen:updated"));$type.val(type)})).trigger("wpcf.change");var $preview_block=$this.find(".wpcf--block-preview");if($preview_block.length){var $preview=$this.find(".wpcf--preview");$this.on("change",SP_WPCF.helper.debounce((function(event){$preview_block.removeClass("hidden");var font_family=$font_family_select.val(),font_weight=$this.find(".wpcf--font-weight").val(),font_style=$this.find(".wpcf--font-style").val(),font_size=$this.find(".wpcf--font-size").val(),font_variant=$this.find(".wpcf--font-variant").val(),line_height=$this.find(".wpcf--line-height").val(),text_align=$this.find(".wpcf--text-align").val(),text_transform=$this.find(".wpcf--text-transform").val(),text_decoration=$this.find(".wpcf--text-decoration").val(),text_color=$this.find(".wpcf--color").val(),word_spacing=$this.find(".wpcf--word-spacing").val(),letter_spacing=$this.find(".wpcf--letter-spacing").val(),custom_style=$this.find(".wpcf--custom-style").val(),type;"google"===$this.find(".wpcf--type").val()&&base.load_google_font(font_family,font_weight,font_style);var properties={};font_family&&(properties.fontFamily=font_family),font_weight&&(properties.fontWeight=font_weight),font_style&&(properties.fontStyle=font_style),font_variant&&(properties.fontVariant=font_variant),font_size&&(properties.fontSize=font_size+unit),line_height&&(properties.lineHeight=line_height+line_height_unit),letter_spacing&&(properties.letterSpacing=letter_spacing+unit),word_spacing&&(properties.wordSpacing=word_spacing+unit),text_align&&(properties.textAlign=text_align),text_transform&&(properties.textTransform=text_transform),text_decoration&&(properties.textDecoration=text_decoration),text_color&&(properties.color=text_color),$preview.removeAttr("style"),custom_style&&$preview.attr("style",custom_style),$preview.css(properties)}),100)),$preview_block.on("click",(function(){$preview.toggleClass("wpcf--black-background");var $toggle=$preview_block.find(".wpcf--toggle");$toggle.hasClass("fa-toggle-off")?$toggle.removeClass("fa-toggle-off").addClass("fa-toggle-on"):$toggle.removeClass("fa-toggle-on").addClass("fa-toggle-off")})),$preview_block.hasClass("hidden")||$this.trigger("change")}},base.init()}))},$.fn.wpcf_field_wp_editor=function(){return this.each((function(){if(void 0!==window.wp.editor&&void 0!==window.tinyMCEPreInit&&void 0!==window.tinyMCEPreInit.mceInit.wpcf_wp_editor){var $this=$(this),$editor=$this.find(".wpcf-wp-editor"),$textarea=$this.find("textarea"),$has_wp_editor;($this.find(".wp-editor-wrap").length||$this.find(".mce-container").length)&&($editor.empty(),$editor.append($textarea),$textarea.css("display",""));var uid=SP_WPCF.helper.uid("wpcf-editor-");$textarea.attr("id",uid);var default_editor_settings={tinymce:window.tinyMCEPreInit.mceInit.wpcf_wp_editor,quicktags:window.tinyMCEPreInit.qtInit.wpcf_wp_editor},field_editor_settings=$editor.data("editor-settings"),wpEditor=wp.oldEditor?wp.oldEditor:wp.editor;wpEditor&&wpEditor.hasOwnProperty("autop")&&(wp.editor.autop=wpEditor.autop,wp.editor.removep=wpEditor.removep,wp.editor.initialize=wpEditor.initialize);var editor_on_change=function(editor){editor.on("change keyup",(function(){var value=field_editor_settings.wpautop?editor.getContent():wp.editor.removep(editor.getContent());$textarea.val(value).trigger("change")}))};default_editor_settings.tinymce=$.extend({},default_editor_settings.tinymce,{selector:"#"+uid,setup:editor_on_change}),!1===field_editor_settings.tinymce&&(default_editor_settings.tinymce=!1,$editor.addClass("wpcf-no-tinymce")),!1===field_editor_settings.quicktags&&(default_editor_settings.quicktags=!1,$editor.addClass("wpcf-no-quicktags"));var interval=setInterval((function(){$this.is(":visible")&&(window.wp.editor.initialize(uid,default_editor_settings),clearInterval(interval))}));if(field_editor_settings.media_buttons&&window.wpcf_media_buttons){var $editor_buttons=$editor.find(".wp-media-buttons");if($editor_buttons.length)$editor_buttons.find(".wpcf-shortcode-button").data("editor-id",uid);else{var $media_buttons=$(window.wpcf_media_buttons);$media_buttons.find(".wpcf-shortcode-button").data("editor-id",uid),$editor.prepend($media_buttons)}}}}))},$.fn.wpcf_confirm=function(){return this.each((function(){$(this).on("click",(function(e){var confirm_text=$(this).data("confirm")||window.wpcf_vars.i18n.confirm,confirm_answer;if(!confirm(confirm_text))return e.preventDefault(),!1;SP_WPCF.vars.is_confirm=!0,SP_WPCF.vars.form_modified=!1}))}))},$.fn.serializeObject=function(){var obj={};return $.each(this.serializeArray(),(function(i,o){var n=o.name,v=o.value;obj[n]=void 0===obj[n]?v:$.isArray(obj[n])?obj[n].concat(v):[obj[n],v]})),obj},$.fn.wpcf_save=function(){return this.each((function(){var $this=$(this),$buttons=$(".wpcf-save"),$panel=$(".wpcf-options"),flooding=!1,timeout;$this.on("click",(function(e){if(!flooding){var $text=$this.data("save"),$value=$this.val();$buttons.attr("value",$text),$this.hasClass("wpcf-save-ajax")?(e.preventDefault(),$panel.addClass("wpcf-saving"),$buttons.prop("disabled",!0),window.wp.ajax.post("wpcf_"+$panel.data("unique")+"_ajax_save",{data:$("#wpcf-form").serializeJSONSP_WPCF()}).done((function(response){if($(".wpcf-error").remove(),Object.keys(response.errors).length){var error_icon='<i class="wpcf-label-error wpcf-error">!</i>';$.each(response.errors,(function(key,error_message){var $field=$('[data-depend-id="'+key+'"]'),$link=$('a[href="#tab='+$field.closest(".wpcf-section").data("section-id")+'"]'),$tab=$link.closest(".wpcf-tab-item");$field.closest(".wpcf-fieldset").append('<p class="wpcf-error wpcf-error-text">'+error_message+"</p>"),$link.find(".wpcf-error").length||$link.append(error_icon),$tab.find(".wpcf-arrow .wpcf-error").length||$tab.find(".wpcf-arrow").append(error_icon)}))}$panel.removeClass("wpcf-saving"),$buttons.prop("disabled",!1).attr("value",$value),flooding=!1,SP_WPCF.vars.form_modified=!1,SP_WPCF.vars.$form_warning.hide(),clearTimeout(timeout);var $result_success=$(".wpcf-form-success");$result_success.empty().append(response.notice).fadeIn("fast",(function(){timeout=setTimeout((function(){$result_success.fadeOut("fast")}),1e3)}))})).fail((function(response){alert(response.error)}))):SP_WPCF.vars.form_modified=!1}flooding=!0}))}))},$.fn.wpcf_options=function(){return this.each((function(){var $this=$(this),$content=$this.find(".wpcf-content"),$form_success=$this.find(".wpcf-form-success"),$form_warning=$this.find(".wpcf-form-warning"),$save_button=$this.find(".wpcf-header .wpcf-save");SP_WPCF.vars.$form_warning=$form_warning,$form_warning.length&&(window.onbeforeunload=function(){return!!SP_WPCF.vars.form_modified||void 0},$content.on("change keypress",":input",(function(){SP_WPCF.vars.form_modified||($form_success.hide(),$form_warning.fadeIn("fast"),SP_WPCF.vars.form_modified=!0)}))),$form_success.hasClass("wpcf-form-show")&&setTimeout((function(){$form_success.fadeOut("fast")}),1e3),$(document).keydown((function(event){if((event.ctrlKey||event.metaKey)&&83===event.which)return $save_button.trigger("click"),event.preventDefault(),!1}))}))},$.fn.wpcf_taxonomy=function(){return this.each((function(){var $this=$(this),$form=$this.parents("form");if("addtag"===$form.attr("id")){var $submit=$form.find("#submit"),$cloned=$this.find(".wpcf-field").wpcf_clone();$submit.on("click",(function(){$form.find(".form-required").hasClass("form-invalid")||($this.data("inited",!1),$this.empty(),$this.html($cloned),$cloned=$cloned.wpcf_clone(),$this.wpcf_reload_script())}))}}))},$.fn.wpcf_shortcode=function(){var base=this;return base.shortcode_parse=function(serialize,key){var shortcode="";return $.each(serialize,(function(shortcode_key,shortcode_values){shortcode+="["+(key=key||shortcode_key),$.each(shortcode_values,(function(shortcode_tag,shortcode_value){"content"===shortcode_tag?(shortcode+="]",shortcode+=shortcode_value,shortcode+="[/"+key):shortcode+=base.shortcode_tags(shortcode_tag,shortcode_value)})),shortcode+="]"})),shortcode},base.shortcode_tags=function(shortcode_tag,shortcode_value){var shortcode="";return""!==shortcode_value&&("object"!=typeof shortcode_value||$.isArray(shortcode_value)?shortcode+=" "+shortcode_tag.replace("-","_")+'="'+shortcode_value.toString()+'"':$.each(shortcode_value,(function(sub_shortcode_tag,sub_shortcode_value){switch(sub_shortcode_tag){case"background-image":sub_shortcode_value=sub_shortcode_value.url?sub_shortcode_value.url:""}""!==sub_shortcode_value&&(shortcode+=" "+sub_shortcode_tag.replace("-","_")+'="'+sub_shortcode_value.toString()+'"')}))),shortcode},base.insertAtChars=function(_this,currentValue){var obj=void 0!==_this[0].name?_this[0]:_this;return obj.value.length&&void 0!==obj.selectionStart?(obj.focus(),obj.value.substring(0,obj.selectionStart)+currentValue+obj.value.substring(obj.selectionEnd,obj.value.length)):(obj.focus(),currentValue)},base.send_to_editor=function(html,editor_id){var tinymce_editor;if("undefined"!=typeof tinymce&&(tinymce_editor=tinymce.get(editor_id)),tinymce_editor&&!tinymce_editor.isHidden())tinymce_editor.execCommand("mceInsertContent",!1,html);else{var $editor=$("#"+editor_id);$editor.val(base.insertAtChars($editor,html)).trigger("change")}},this.each((function(){var $modal=$(this),$load=$modal.find(".wpcf-modal-load"),$content=$modal.find(".wpcf-modal-content"),$insert=$modal.find(".wpcf-modal-insert"),$loading=$modal.find(".wpcf-modal-loading"),$select=$modal.find("select"),modal_id=$modal.data("modal-id"),nonce=$modal.data("nonce"),editor_id,target_id,gutenberg_id,sc_key,sc_name,sc_view,sc_group,$cloned,$button;$(document).on("click",'.wpcf-shortcode-button[data-modal-id="'+modal_id+'"]',(function(e){e.preventDefault(),$button=$(this),editor_id=$button.data("editor-id")||!1,target_id=$button.data("target-id")||!1,gutenberg_id=$button.data("gutenberg-id")||!1,$modal.removeClass("hidden"),$modal.hasClass("wpcf-shortcode-single")&&void 0===sc_name&&$select.trigger("change")})),$select.on("change",(function(){var $option=$(this),$selected=$option.find(":selected");sc_key=$option.val(),sc_name=$selected.data("shortcode"),sc_view=$selected.data("view")||"normal",sc_group=$selected.data("group")||sc_name,$load.empty(),sc_key?($loading.show(),window.wp.ajax.post("wpcf-get-shortcode-"+modal_id,{shortcode_key:sc_key,nonce:nonce}).done((function(response){$loading.hide();var $appended=$(response.content).appendTo($load);$insert.parent().removeClass("hidden"),$cloned=$appended.find(".wpcf--repeat-shortcode").wpcf_clone(),$appended.wpcf_reload_script(),$appended.find(".wpcf-fields").wpcf_reload_script()}))):$insert.parent().addClass("hidden")})),$insert.on("click",(function(e){if(e.preventDefault(),!$insert.prop("disabled")&&!$insert.attr("disabled")){var shortcode="",serialize=$modal.find(".wpcf-field:not(.wpcf-depend-on)").find(":input:not(.ignore)").serializeObjectSP_WPCF();switch(sc_view){case"contents":var contentsObj=sc_name?serialize[sc_name]:serialize;$.each(contentsObj,(function(sc_key,sc_value){var sc_tag=sc_name||sc_key;shortcode+="["+sc_tag+"]"+sc_value+"[/"+sc_tag+"]"}));break;case"group":shortcode+="["+sc_name,$.each(serialize[sc_name],(function(sc_key,sc_value){shortcode+=base.shortcode_tags(sc_key,sc_value)})),shortcode+="]",shortcode+=base.shortcode_parse(serialize[sc_group],sc_group),shortcode+="[/"+sc_name+"]";break;case"repeater":shortcode+=base.shortcode_parse(serialize[sc_group],sc_group);break;default:shortcode+=base.shortcode_parse(serialize)}if(shortcode=""===shortcode?"["+sc_name+"]":shortcode,gutenberg_id){var content=window.wpcf_gutenberg_props.attributes.hasOwnProperty("shortcode")?window.wpcf_gutenberg_props.attributes.shortcode:"";window.wpcf_gutenberg_props.setAttributes({shortcode:content+shortcode})}else if(editor_id)base.send_to_editor(shortcode,editor_id);else{var $textarea=target_id?$(target_id):$button.parent().find("textarea");$textarea.val(base.insertAtChars($textarea,shortcode)).trigger("change")}$modal.addClass("hidden")}})),$modal.on("click",".wpcf--repeat-button",(function(e){e.preventDefault();var $repeatable=$modal.find(".wpcf--repeatable"),$new_clone=$cloned.wpcf_clone(),$remove_btn=$new_clone.find(".wpcf-repeat-remove"),$appended=$new_clone.appendTo($repeatable);$new_clone.find(".wpcf-fields").wpcf_reload_script(),SP_WPCF.helper.name_nested_replace($modal.find(".wpcf--repeat-shortcode"),sc_group),$remove_btn.on("click",(function(){$new_clone.remove(),SP_WPCF.helper.name_nested_replace($modal.find(".wpcf--repeat-shortcode"),sc_group)}))})),$modal.on("click",".wpcf-modal-close, .wpcf-modal-overlay",(function(){$modal.addClass("hidden")}))}))},"function"==typeof Color&&(Color.prototype.toString=function(){if(this._alpha<1)return this.toCSS("rgba",this._alpha).replace(/\s+/g,"");var hex=parseInt(this._color,10).toString(16);if(this.error)return"";if(hex.length<6)for(var i=6-hex.length-1;i>=0;i--)hex="0"+hex;return"#"+hex}),SP_WPCF.funcs.parse_color=function(color){var value=color.replace(/\s+/g,""),trans=-1!==value.indexOf("rgba")?parseFloat(100*value.replace(/^.*,(.+)\)/,"$1")):100,rgba;return{value:value,transparent:trans,rgba:trans<100}},$.fn.wpcf_color=function(){return this.each((function(){var $input=$(this),picker_color=SP_WPCF.funcs.parse_color($input.val()),palette_color=!window.wpcf_vars.color_palette.length||window.wpcf_vars.color_palette,$container;$input.hasClass("wp-color-picker")&&$input.closest(".wp-picker-container").after($input).remove(),$input.wpColorPicker({palettes:palette_color,change:function(event,ui){var ui_color_value=ui.color.toString();$container.removeClass("wpcf--transparent-active"),$container.find(".wpcf--transparent-offset").css("background-color",ui_color_value),$input.val(ui_color_value).trigger("change")},create:function(){$container=$input.closest(".wp-picker-container");var a8cIris=$input.data("a8cIris"),$transparent_wrap=$('<div class="wpcf--transparent-wrap"><div class="wpcf--transparent-slider"></div><div class="wpcf--transparent-offset"></div><div class="wpcf--transparent-text"></div><div class="wpcf--transparent-button">transparent <i class="fa fa-toggle-off"></i></div></div>').appendTo($container.find(".wp-picker-holder")),$transparent_slider=$transparent_wrap.find(".wpcf--transparent-slider"),$transparent_text=$transparent_wrap.find(".wpcf--transparent-text"),$transparent_offset=$transparent_wrap.find(".wpcf--transparent-offset"),$transparent_button=$transparent_wrap.find(".wpcf--transparent-button");"transparent"===$input.val()&&$container.addClass("wpcf--transparent-active"),$transparent_button.on("click",(function(){"transparent"!==$input.val()?($input.val("transparent").trigger("change").removeClass("iris-error"),$container.addClass("wpcf--transparent-active")):($input.val(a8cIris._color.toString()).trigger("change"),$container.removeClass("wpcf--transparent-active"))})),$transparent_slider.slider({value:picker_color.transparent,step:1,min:0,max:100,slide:function(event,ui){var slide_value=parseFloat(ui.value/100);a8cIris._color._alpha=slide_value,$input.wpColorPicker("color",a8cIris._color.toString()),$transparent_text.text(1===slide_value||0===slide_value?"":slide_value)},create:function(){var slide_value=parseFloat(picker_color.transparent/100),text_value=slide_value<1?slide_value:"";$transparent_text.text(text_value),$transparent_offset.css("background-color",picker_color.value),$container.on("click",".wp-picker-clear",(function(){a8cIris._color._alpha=1,$transparent_text.text(""),$transparent_slider.slider("option","value",100),$container.removeClass("wpcf--transparent-active"),$input.trigger("change")})),$container.on("click",".wp-picker-default",(function(){var default_color=SP_WPCF.funcs.parse_color($input.data("default-color")),default_value=parseFloat(default_color.transparent/100),default_text=default_value<1?default_value:"";a8cIris._color._alpha=default_value,$transparent_text.text(default_text),$transparent_slider.slider("option","value",default_color.transparent),"transparent"===default_color.value&&($input.removeClass("iris-error"),$container.addClass("wpcf--transparent-active"))}))}})}})}))},$.fn.wpcf_chosen=function(){return this.each((function(){var $this=$(this),$inited=$this.parent().find(".chosen-container"),is_sortable=$this.hasClass("wpcf-chosen-sortable")||!1,is_ajax=$this.hasClass("wpcf-chosen-ajax")||!1,is_multiple=$this.attr("multiple")||!1,set_width=is_multiple?"100%":"auto",set_options=$.extend({allow_single_deselect:!0,disable_search_threshold:10,width:set_width,no_results_text:window.wpcf_vars.i18n.no_results_text},$this.data("chosen-settings"));if($inited.length&&$inited.remove(),is_ajax){var set_ajax_options=$.extend({data:{type:"post",nonce:""},allow_single_deselect:!0,disable_search_threshold:-1,width:"100%",min_length:3,type_delay:500,typing_text:window.wpcf_vars.i18n.typing_text,searching_text:window.wpcf_vars.i18n.searching_text,no_results_text:window.wpcf_vars.i18n.no_results_text},$this.data("chosen-settings"));$this.SP_WPCFAjaxChosen(set_ajax_options)}else $this.chosen(set_options);if(is_multiple){var $hidden_select=$this.parent().find(".wpcf-hide-select"),$hidden_value=$hidden_select.val()||[];$this.on("change",(function(obj,result){result&&result.selected?$hidden_select.append('<option value="'+result.selected+'" selected="selected">'+result.selected+"</option>"):result&&result.deselected&&$hidden_select.find('option[value="'+result.deselected+'"]').remove(),void 0!==window.wp.customize&&0===$hidden_select.children().length&&$hidden_select.data("customize-setting-link")&&window.wp.customize.control($hidden_select.data("customize-setting-link")).setting.set(""),$hidden_select.trigger("change")})),$this.SP_WPCFChosenOrder($hidden_value,!0)}if(is_sortable){var $chosen_container,$chosen_choices=$this.parent().find(".chosen-container").find(".chosen-choices");$chosen_choices.bind("mousedown",(function(event){$(event.target).is("span")&&event.stopPropagation()})),$chosen_choices.sortable({items:"li:not(.search-field)",helper:"orginal",cursor:"move",placeholder:"search-choice-placeholder",start:function(e,ui){ui.placeholder.width(ui.item.innerWidth()),ui.placeholder.height(ui.item.innerHeight())},update:function(e,ui){var select_options="",chosen_object=$this.data("chosen"),$prev_select=$this.parent().find(".wpcf-hide-select");$chosen_choices.find(".search-choice-close").each((function(){var option_array_index=$(this).data("option-array-index");$.each(chosen_object.results_data,(function(index,data){data.array_index===option_array_index&&(select_options+='<option value="'+data.value+'" selected>'+data.value+"</option>")}))})),$prev_select.children().remove(),$prev_select.append(select_options),$prev_select.trigger("change")}})}}))},$.fn.wpcf_checkbox=function(){return this.each((function(){var $this=$(this),$input=$this.find(".wpcf--input"),$checkbox=$this.find(".wpcf--checkbox");$checkbox.on("click",(function(){$input.val(Number($checkbox.prop("checked"))).trigger("change")}))}))},$.fn.wpcf_siblings=function(){return this.each((function(){var $this=$(this),$siblings=$this.find(".wpcf--sibling"),multiple=$this.data("multiple")||!1;$siblings.on("click",(function(){var $sibling=$(this);multiple?$sibling.hasClass("wpcf--active")?($sibling.removeClass("wpcf--active"),$sibling.find("input").prop("checked",!1).trigger("change")):($sibling.addClass("wpcf--active"),$sibling.find("input").prop("checked",!0).trigger("change")):($this.find("input").prop("checked",!1),$sibling.find("input").prop("checked",!0).trigger("change"),$sibling.addClass("wpcf--active").siblings().removeClass("wpcf--active"))}))}))},$.fn.wpcf_help=function(){return this.each((function(){var $this=$(this),$tooltip,offset_left;$this.on({mouseenter:function(){$tooltip=$('<div class="wpcf-tooltip"></div>').html($this.find(".wpcf-help-text").html()).appendTo("body"),SP_WPCF.vars.is_rtl,offset_left=$this.offset().left+24,$tooltip.css({top:$this.offset().top-($tooltip.outerHeight()/2-14),left:offset_left})},mouseleave:function(){void 0!==$tooltip&&$tooltip.remove()}})}))},$.fn.wpcf_customizer_refresh=function(){return this.each((function(){var $this=$(this),$complex=$this.closest(".wpcf-customize-complex");if($complex.length){var unique_id=$complex.data("unique-id");if(void 0===unique_id)return;var $input=$complex.find(":input"),option_id=$complex.data("option-id"),obj=$input.serializeObjectSP_WPCF(),data=!$.isEmptyObject(obj)&&obj[unique_id]&&obj[unique_id][option_id]?obj[unique_id][option_id]:"",control=window.wp.customize.control(unique_id+"["+option_id+"]");control.setting._value=null,control.setting.set(data)}else $this.find(":input").first().trigger("change");$(document).trigger("wpcf-customizer-refresh",$this)}))},SP_WPCF.vars.$window.on("resize wpcf.resize",SP_WPCF.helper.debounce((function(event){var window_width;(navigator.userAgent.indexOf("AppleWebKit/")>-1?SP_WPCF.vars.$window.width():window.innerWidth)<=782&&!SP_WPCF.vars.onloaded&&($(".wpcf-section").wpcf_reload_script(),SP_WPCF.vars.onloaded=!0)}),200)).trigger("wpcf.resize"),$.fn.wpcf_widgets=function(){this.length&&($(document).on("widget-added widget-updated",(function(event,$widget){$widget.find(".wpcf-fields").wpcf_reload_script()})),$(".widgets-sortables, .control-section-sidebar").on("sortstop",(function(event,ui){ui.item.find(".wpcf-fields").wpcf_reload_script_retry()})),$(document).on("click",".widget-top",(function(event){$(this).parent().find(".wpcf-fields").wpcf_reload_script()})))},$.fn.wpcf_nav_menu=function(){return this.each((function(){var $navmenu=$(this);$navmenu.on("click","a.item-edit",(function(){$(this).closest("li.menu-item").find(".wpcf-fields").wpcf_reload_script()})),$navmenu.on("sortstop",(function(event,ui){ui.item.find(".wpcf-fields").wpcf_reload_script_retry()}))}))},$.fn.wpcf_reload_script_retry=function(){return this.each((function(){var $this=$(this);$this.data("inited")&&$this.children(".wpcf-field-wp_editor").wpcf_field_wp_editor()}))},$.fn.wpcf_reload_script=function(options){var settings=$.extend({dependency:!0},options);return this.each((function(){var $this=$(this);$this.data("inited")||($this.children(".wpcf-field-code_editor").wpcf_field_code_editor(),$this.children(".wpcf-field-gallery").wpcf_field_gallery(),$this.children(".wpcf-field-media").wpcf_field_media(),$this.children(".wpcf-field-slider").wpcf_field_slider(),$this.children(".wpcf-field-spinner").wpcf_field_spinner(),$this.children(".wpcf-field-switcher").wpcf_field_switcher(),$this.children(".wpcf-field-typography").wpcf_field_typography(),$this.children(".wpcf-field-border").find(".wpcf-color").wpcf_color(),$this.children(".wpcf-field-color").find(".wpcf-color").wpcf_color(),$this.children(".wpcf-field-color_group").find(".wpcf-color").wpcf_color(),$this.children(".wpcf-field-typography").find(".wpcf-color").wpcf_color(),$this.children(".wpcf-field-select").find(".wpcf-chosen").wpcf_chosen(),$this.children(".wpcf-field-checkbox").find(".wpcf-checkbox").wpcf_checkbox(),$this.children(".wpcf-field-button_set").find(".wpcf-siblings").wpcf_siblings(),$this.children(".wpcf-field-carousel_type").find(".wpcf-siblings").wpcf_siblings(),$this.children(".wpcf-field").find(".wpcf-help").wpcf_help(),settings.dependency&&$this.wpcf_dependency(),$this.data("inited",!0),$(document).trigger("wpcf-reload-script",$this))}))},$(document).ready((function(){function wpcf_copyToClipboard(element){var $temp=$("<input>");$("body").append($temp),$temp.val($(element).text()).select(),document.execCommand("copy"),$temp.remove()}function wpcf_SelectText(element){var r=document.createRange(),w=element.get(0);r.selectNodeContents(w);var sel=window.getSelection();sel.removeAllRanges(),sel.addRange(r)}$(".wpcf-save").wpcf_save(),$(".wpcf-options").wpcf_options(),$(".wpcf-sticky-header").wpcf_sticky(),$(".wpcf-nav-options").wpcf_nav_options(),$(".wpcf-nav-metabox").wpcf_nav_metabox(),$(".wpcf-taxonomy").wpcf_taxonomy(),$(".wpcf-page-templates").wpcf_page_templates(),$(".wpcf-post-formats").wpcf_post_formats(),$(".wpcf-shortcode").wpcf_shortcode(),$(".wpcf-search").wpcf_search(),$(".wpcf-confirm").wpcf_confirm(),$(".wpcf-expand-all").wpcf_expand_all(),$(".wpcf-onload").wpcf_reload_script(),$(".widget").wpcf_widgets(),$("#menu-to-edit").wpcf_nav_menu(),$(".wpcf-shortcode-selectable").click((function(e){e.preventDefault(),wpcf_copyToClipboard($(this)),wpcf_SelectText($(this)),$(this).focus().select(),jQuery(".spwpc-after-copy-text").animate({opacity:1,bottom:25},300),setTimeout((function(){jQuery(".spwpc-after-copy-text").animate({opacity:0},200),jQuery(".spwpc-after-copy-text").animate({bottom:0},0)}),2e3)})),$(".post-type-sp_wp_carousel .shortcode.column-shortcode input").click((function(e){var copyText;e.preventDefault(),$(this).select(),document.execCommand("copy"),jQuery(".spwpc-after-copy-text").animate({opacity:1,bottom:25},300),setTimeout((function(){jQuery(".spwpc-after-copy-text").animate({opacity:0},200),jQuery(".spwpc-after-copy-text").animate({bottom:0},0)}),2e3)}));var $export_type=$(".wpcp_what_export").find("input:checked").val();$(".wpcp_what_export").on("change",(function(){$export_type=$(this).find("input:checked").val()})),$(".wpcp_export .wpcf--button").click((function(event){event.preventDefault();var $shortcode_ids=$(".wpcp_post_ids select").val();console.log($shortcode_ids);var $ex_nonce=$("#wpcf_options_noncesp_wpcf_tools").val(),selected_shortcode;if("all_shortcodes"===$export_type||"selected_shortcodes"===$export_type)var data={action:"wpcp_export_shortcodes",wpcf_ids:"selected_shortcodes"===$export_type?$shortcode_ids:"all_shortcodes",nonce:$ex_nonce};else $(".wpcf-form-result.wpcf-form-success").text("No carousel selected.").show(),setTimeout((function(){$(".wpcf-form-result.wpcf-form-success").hide().text("")}),3e3);$.post(ajaxurl,data,(function(resp){if(resp){var json=JSON.stringify(resp);json=[json];var blob=new Blob(json),link=document.createElement("a"),wpcp_time=$.now();link.href=window.URL.createObjectURL(blob),link.download="wp-carousel-export-"+wpcp_time+".json",link.click(),$(".wpcf-form-result.wpcf-form-success").text("Exported successfully!").show(),setTimeout((function(){$(".wpcf-form-result.wpcf-form-success").hide().text(""),$(".wpcp_post_ids select").val("").trigger("chosen:updated")}),3e3)}}))})),$(".wpcp_import button.import").click((function(event){event.preventDefault();var wpcp_shortcodes=$("#import").prop("files")[0];if(""!=$("#import").val()){var $im_nonce=$("#wpcf_options_noncesp_wpcf_tools").val(),reader=new FileReader;reader.readAsText(wpcp_shortcodes),reader.onload=function(event){var jsonObj=JSON.stringify(event.target.result);$.ajax({url:ajaxurl,type:"POST",data:{shortcode:jsonObj,action:"wpcp_import_shortcodes",nonce:$im_nonce},success:function(resp){$(".wpcf-form-result.wpcf-form-success").text("Imported successfully!").show(),setTimeout((function(){$(".wpcf-form-result.wpcf-form-success").hide().text(""),$("#import").val(""),window.location.replace($("#wpcf_shortcode_link_redirect").attr("href"))}),2e3)}})}}else $(".wpcf-form-result.wpcf-form-success").text("No exported json file chosen.").show(),setTimeout((function(){$(".wpcf-form-result.wpcf-form-success").hide().text("")}),3e3)}))})),$(document).on("keyup change",".sp_wp_carousel_page_wpcp_settings #wpcf-form",(function(e){var $button;e.preventDefault(),$(this).find(".wpcf-save").css({"background-color":"#00C263","pointer-events":"initial"}).val("Save Settings")})),$(".sp_wp_carousel_page_wpcp_settings .wpcf-save").click((function(e){e.preventDefault(),$(this).css({"background-color":"#C5C5C6","pointer-events":"none"}).val("Changes Saved")}))}(jQuery,window,document);
admin/views/sp-framework/classes/admin-options.class.php CHANGED
@@ -691,9 +691,9 @@ if ( ! class_exists( 'SP_WPCF_Options' ) ) {
691
  echo '<div class="wpcf wpcf-options' . esc_attr( $theme . $class . $wrapper_class ) . '" data-slug="' . esc_attr( $this->args['menu_slug'] ) . '" data-unique="' . esc_attr( $this->unique ) . '">';
692
  $notice_class = ( ! empty( $this->notice ) ) ? 'wpcf-form-show' : '';
693
  $notice_text = ( ! empty( $this->notice ) ) ? $this->notice : '';
694
- echo '<div class="wpcf-form-result wpcf-form-success ' . esc_attr( $notice_class ) . '">' . wp_kses_post( $notice_text ) . '</div>';
695
 
696
- // echo ( $this->args['show_form_warning'] ) ? '<div class="wpcf-form-result wpcf-form-warning">' . esc_html__( 'You have unsaved changes, save your changes!', 'wp-carousel-free' ) . '</div>' : '';
697
 
698
  echo '<div class="wpcf-container">';
699
 
@@ -728,8 +728,8 @@ if ( ! class_exists( 'SP_WPCF_Options' ) ) {
728
  echo ( $this->args['show_search'] ) ? '<div class="wpcf-search"><input type="text" name="wpcf-search" placeholder="' . esc_html__( 'Search...', 'wp-carousel-free' ) . '" autocomplete="off" /></div>' : '';
729
  if ( $show_buttons ) {
730
  echo '<div class="wpcf-buttons">';
731
- echo '<input type="submit" name="' . esc_attr( $this->unique ) . '[_nonce][save]" class="button button-primary wpcf-top-save wpcf-save' . esc_attr( $ajax_class ) . '" value="' . esc_html__( 'Save', 'wp-carousel-free' ) . '" data-save="' . esc_html__( 'Saving...', 'wp-carousel-free' ) . '">';
732
- echo ( $this->args['show_reset_section'] ) ? '<input type="submit" name="wpcf_transient[reset_section]" class="button button-secondary wpcf-reset-section wpcf-confirm" value="' . esc_html__( 'Reset Section', 'wp-carousel-free' ) . '" data-confirm="' . esc_html__( 'Are you sure to reset this section options?', 'wp-carousel-free' ) . '">' : '';
733
  echo ( $this->args['show_reset_all'] ) ? '<input type="submit" name="wpcf_transient[reset]" class="button wpcf-warning-primary wpcf-reset-all wpcf-confirm" value="' . ( ( $this->args['show_reset_section'] ) ? esc_html__( 'Reset All', 'wp-carousel-free' ) : esc_html__( 'Reset', 'wp-carousel-free' ) ) . '" data-confirm="' . esc_html__( 'Are you sure you want to reset all settings to default values?', 'wp-carousel-free' ) . '">' : '';
734
  echo '</div>';
735
  }
691
  echo '<div class="wpcf wpcf-options' . esc_attr( $theme . $class . $wrapper_class ) . '" data-slug="' . esc_attr( $this->args['menu_slug'] ) . '" data-unique="' . esc_attr( $this->unique ) . '">';
692
  $notice_class = ( ! empty( $this->notice ) ) ? 'wpcf-form-show' : '';
693
  $notice_text = ( ! empty( $this->notice ) ) ? $this->notice : '';
694
+ // echo '<div class="wpcf-form-result wpcf-form-success ' . esc_attr( $notice_class ) . '">' . wp_kses_post( $notice_text ) . '</div>';.
695
 
696
+ // echo ( $this->args['show_form_warning'] ) ? '<div class="wpcf-form-result wpcf-form-warning">' . esc_html__( 'You have unsaved changes, save your changes!', 'wp-carousel-free' ) . '</div>' : '';.
697
 
698
  echo '<div class="wpcf-container">';
699
 
728
  echo ( $this->args['show_search'] ) ? '<div class="wpcf-search"><input type="text" name="wpcf-search" placeholder="' . esc_html__( 'Search...', 'wp-carousel-free' ) . '" autocomplete="off" /></div>' : '';
729
  if ( $show_buttons ) {
730
  echo '<div class="wpcf-buttons">';
731
+ echo '<input type="submit" name="' . esc_attr( $this->unique ) . '[_nonce][save]" class="button button-primary wpcf-top-save wpcf-save' . esc_attr( $ajax_class ) . '" value="' . esc_html__( 'Save Settings', 'wp-carousel-free' ) . '" data-save="' . esc_html__( 'Saving...', 'wp-carousel-free' ) . '">';
732
+ echo ( $this->args['show_reset_section'] ) ? '<input type="submit" name="wpcf_transient[reset_section]" class="button button-secondary wpcf-reset-section wpcf-confirm" value="' . esc_html__( 'Reset Tab', 'wp-carousel-free' ) . '" data-confirm="' . esc_html__( 'Are you sure to reset all the settings of this tab?', 'wp-carousel-free' ) . '">' : '';
733
  echo ( $this->args['show_reset_all'] ) ? '<input type="submit" name="wpcf_transient[reset]" class="button wpcf-warning-primary wpcf-reset-all wpcf-confirm" value="' . ( ( $this->args['show_reset_section'] ) ? esc_html__( 'Reset All', 'wp-carousel-free' ) : esc_html__( 'Reset', 'wp-carousel-free' ) ) . '" data-confirm="' . esc_html__( 'Are you sure you want to reset all settings to default values?', 'wp-carousel-free' ) . '">' : '';
734
  echo '</div>';
735
  }
public/templates/post-carousel.php CHANGED
@@ -48,9 +48,9 @@ $show_post_author = $shortcode_data['wpcp_post_author_show'];
48
  $image_title_attr = ( 'true' === $show_image_title_attr ) ? $the_image_title_attr : '';
49
 
50
  if ( 'false' !== $lazy_load_image ) {
51
- $post_thumb = sprintf( '<img class="wcp-lazy" data-lazy="%1$s" src="%2$s"%3$s alt="%4$s" width="%5$s" height="%6$s">', $image_url[0], $lazy_load_img, $image_title_attr, $image_alt_title, $image_url[1], $image_url[2] );
52
  } else {
53
- $post_thumb = sprintf( '<img class="skip-lazy" src="%1$s"%2$s alt="%3$s" width="%4$s" height="%5$s">', $image_url[0], $image_title_attr, $image_alt_title, $image_url[1], $image_url[2] );
54
  }
55
 
56
  $image = sprintf( '<div class="wpcp-slide-image"><a href="%2$s">%1$s</a></div>', $post_thumb, get_the_permalink() );
48
  $image_title_attr = ( 'true' === $show_image_title_attr ) ? $the_image_title_attr : '';
49
 
50
  if ( 'false' !== $lazy_load_image ) {
51
+ $post_thumb = sprintf( '<img class="wcp-lazy" data-lazy="%1$s" src="%2$s"%3$s alt="%4$s" width="%5$s" height="%6$s">', $image_url[0], $lazy_load_img, $image_title_attr, $image_alt_text, $image_url[1], $image_url[2] );
52
  } else {
53
+ $post_thumb = sprintf( '<img class="skip-lazy" src="%1$s"%2$s alt="%3$s" width="%4$s" height="%5$s">', $image_url[0], $image_title_attr, $image_alt_text, $image_url[1], $image_url[2] );
54
  }
55
 
56
  $image = sprintf( '<div class="wpcp-slide-image"><a href="%2$s">%1$s</a></div>', $post_thumb, get_the_permalink() );
public/templates/product-carousel.php CHANGED
@@ -64,9 +64,9 @@ $show_product_cart = $shortcode_data['wpcp_product_cart'];
64
  if ( ! empty( $image_url[0] ) && $show_slide_image ) {
65
 
66
  if ( 'false' !== $lazy_load_image ) {
67
- $wpcp_product_thumb = sprintf( '<img class="wcp-lazy" data-lazy="%1$s" src="%2$s"%3$s alt="%4$s" width="%5$s" height="%6$s">', $image_url[0], $lazy_load_img, $image_title_attr, $image_alt_title, $image_url[1], $image_url[2] );
68
  } else {
69
- $wpcp_product_thumb = sprintf( '<img class="skip-lazy" src="%1$s"%2$s alt="%3$s" width="%4$s" height="%5$s">', $image_url[0], $image_title_attr, $image_alt_title, $image_url[1], $image_url[2] );
70
  }
71
 
72
  $wpcp_product_image = sprintf( '<div class="wpcp-slide-image"><a href="%1$s">%2$s</a></div>', get_the_permalink(), $wpcp_product_thumb );
64
  if ( ! empty( $image_url[0] ) && $show_slide_image ) {
65
 
66
  if ( 'false' !== $lazy_load_image ) {
67
+ $wpcp_product_thumb = sprintf( '<img class="wcp-lazy" data-lazy="%1$s" src="%2$s"%3$s alt="%4$s" width="%5$s" height="%6$s">', $image_url[0], $lazy_load_img, $image_title_attr, $product_thumb_alt_text, $image_url[1], $image_url[2] );
68
  } else {
69
+ $wpcp_product_thumb = sprintf( '<img class="skip-lazy" src="%1$s"%2$s alt="%3$s" width="%4$s" height="%5$s">', $image_url[0], $image_title_attr, $product_thumb_alt_text, $image_url[1], $image_url[2] );
70
  }
71
 
72
  $wpcp_product_image = sprintf( '<div class="wpcp-slide-image"><a href="%1$s">%2$s</a></div>', get_the_permalink(), $wpcp_product_thumb );
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://shapedplugin.com/donate
4
  Tags: wordpress carousel, best carousel plugin, image carousel, image slider, post carousel, custom post carousel, custom taxonomy carousel, woocommerce product carousel, content carousel, video carousel, video slider, video lightbox, youtube carousel, video gallery, carousel, slider, responsive slider, responsive carousel, carousel slider, ticker carousel, center mode carousel, slide anything, image gallery, image lightbox, wordpress image gallery, photo gallery, gallery slider, wordpress gallery plugin, gallery, post slider, vimeo slider, self hosted video carousel, content slider, wordpress slider, featured content slider, html slider, horizontal carousel slider, posts content slider, product carousel, woocommerce slider, woocommerce product slider
5
  Requires at least: 4.5
6
  Tested up to: 5.8.1
7
- Stable tag: 2.3.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -327,6 +327,12 @@ Thank you!
327
 
328
  == Changelog ==
329
 
 
 
 
 
 
 
330
  = 2.3.2 – Oct 14, 2021 =
331
  * New: Responsive breakpoints added.
332
 
4
  Tags: wordpress carousel, best carousel plugin, image carousel, image slider, post carousel, custom post carousel, custom taxonomy carousel, woocommerce product carousel, content carousel, video carousel, video slider, video lightbox, youtube carousel, video gallery, carousel, slider, responsive slider, responsive carousel, carousel slider, ticker carousel, center mode carousel, slide anything, image gallery, image lightbox, wordpress image gallery, photo gallery, gallery slider, wordpress gallery plugin, gallery, post slider, vimeo slider, self hosted video carousel, content slider, wordpress slider, featured content slider, html slider, horizontal carousel slider, posts content slider, product carousel, woocommerce slider, woocommerce product slider
5
  Requires at least: 4.5
6
  Tested up to: 5.8.1
7
+ Stable tag: 2.3.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
327
 
328
  == Changelog ==
329
 
330
+ = 2.3.3 – Nov 04, 2021 =
331
+ * Fix: Image alt text issue.
332
+ * Improved: Settings page "Save Changes" and "Reset Tab" button.
333
+ * Improved: Backed shortcode panel options.
334
+ * Removed: "Reset All" button.
335
+
336
  = 2.3.2 – Oct 14, 2021 =
337
  * New: Responsive breakpoints added.
338
 
wp-carousel-free.php CHANGED
@@ -9,7 +9,7 @@
9
  * Plugin Name: WordPress Carousel
10
  * Plugin URI: https://shapedplugin.com/plugin/wordpress-carousel-pro/?ref=1
11
  * Description: The Most Powerful and User-friendly WordPress Carousel Plugin. Create beautiful carousels in minutes using Images, Posts, WooCommerce Products etc.
12
- * Version: 2.3.2
13
  * Author: ShapedPlugin
14
  * Author URI: https://shapedplugin.com/
15
  * License: GPL-2.0+
@@ -119,7 +119,7 @@ class SP_WP_Carousel_Free {
119
  */
120
  public function setup() {
121
  $this->plugin_name = 'wp-carousel-free';
122
- $this->version = '2.3.2';
123
  $this->define_constants();
124
  $this->includes();
125
  $this->load_dependencies();
9
  * Plugin Name: WordPress Carousel
10
  * Plugin URI: https://shapedplugin.com/plugin/wordpress-carousel-pro/?ref=1
11
  * Description: The Most Powerful and User-friendly WordPress Carousel Plugin. Create beautiful carousels in minutes using Images, Posts, WooCommerce Products etc.
12
+ * Version: 2.3.3
13
  * Author: ShapedPlugin
14
  * Author URI: https://shapedplugin.com/
15
  * License: GPL-2.0+
119
  */
120
  public function setup() {
121
  $this->plugin_name = 'wp-carousel-free';
122
+ $this->version = '2.3.3';
123
  $this->define_constants();
124
  $this->includes();
125
  $this->load_dependencies();