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

Version Description

Aug 01, 2022 = * Fix: The export option does not work properly along with the WP Debugging plugin. * Tested: WooCommerce 6.7.0 compatibility.

Download this release

Release Info

Developer rubel_miah
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.4.9
Comparing to
See all releases

Code changes from version 2.4.8 to 2.4.9

admin/views/metabox-config.php CHANGED
@@ -706,6 +706,55 @@ SP_WPCF::createSection(
706
  'subtitle' => __( 'Set a size for the image.', 'wp-carousel-free' ),
707
  'dependency' => array( 'wpcp_carousel_type|show_image', 'any|==', 'image-carousel,post-carousel,product-carousel|true', true ),
708
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
709
  array(
710
  'id' => 'wpcp_image_gray_scale',
711
  'type' => 'select',
706
  'subtitle' => __( 'Set a size for the image.', 'wp-carousel-free' ),
707
  'dependency' => array( 'wpcp_carousel_type|show_image', 'any|==', 'image-carousel,post-carousel,product-carousel|true', true ),
708
  ),
709
+ array(
710
+ 'id' => 'wpcp_image_crop_size',
711
+ 'type' => 'dimensions_advanced',
712
+ 'title' => __( 'Custom Size', 'wp-carousel-free' ),
713
+ 'class' => 'wpcp_carousel_row_pro_only',
714
+ 'subtitle' => __( 'Set width and height of the image.', 'wp-carousel-free' ),
715
+ 'chosen' => true,
716
+ 'bottom' => false,
717
+ 'left' => false,
718
+ 'color' => false,
719
+ 'top_icon' => '<i class="fa fa-arrows-h"></i>',
720
+ 'right_icon' => '<i class="fa fa-arrows-v"></i>',
721
+ 'top_placeholder' => 'width',
722
+ 'right_placeholder' => 'height',
723
+ 'styles' => array(
724
+ 'Soft-crop',
725
+ 'Hard-crop',
726
+ ),
727
+ 'default' => array(
728
+ 'top' => '600',
729
+ 'right' => '400',
730
+ 'style' => 'Soft-crop',
731
+ 'unit' => 'px',
732
+ ),
733
+ 'attributes' => array(
734
+ 'min' => 0,
735
+ ),
736
+ 'dependency' => array( 'wpcp_carousel_type|wpcp_image_sizes|show_image', 'any|==|==', 'image-carousel,post-carousel,product-carousel|custom|true', true ),
737
+ ),
738
+ array(
739
+ 'id' => 'load_2x_image',
740
+ 'class' => 'only_pro_switcher',
741
+ 'type' => 'switcher',
742
+ 'text_on' => __( 'Enabled', 'wp-carousel-free' ),
743
+ 'text_off' => __( 'Disabled', 'wp-carousel-free' ),
744
+ 'text_width' => 95,
745
+ 'title' => __(
746
+ 'Load 2x Resolution Image in Retina Display
747
+ ',
748
+ 'wp-carousel-free'
749
+ ),
750
+ 'subtitle' => __(
751
+ 'You should upload 2x sized images to show in retina display.
752
+ ',
753
+ 'wp-carousel-free'
754
+ ),
755
+ 'default' => false,
756
+ 'dependency' => array( 'wpcp_carousel_type|wpcp_image_sizes|show_image', 'any|==|==', 'image-carousel,post-carousel,product-carousel|custom|true', true ),
757
+ ),
758
  array(
759
  'id' => 'wpcp_image_gray_scale',
760
  'type' => 'select',
admin/views/sp-framework/assets/css/style.css CHANGED
@@ -986,7 +986,25 @@
986
  border-top-right-radius: 0 !important;
987
  border-bottom-right-radius: 0 !important;
988
  }
989
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
990
  /**
991
  * 03. 06. Field: button_set
992
  */
986
  border-top-right-radius: 0 !important;
987
  border-bottom-right-radius: 0 !important;
988
  }
989
+ .wpcf-field-dimensions_advanced.wpcp_carousel_row_pro_only{
990
+ pointer-events: none;
991
+ opacity: .7;
992
+ }
993
+ .wpcf-field-dimensions_advanced.wpcp_carousel_row_pro_only .wpcf-fieldset .wpcf--inputs {
994
+ position: relative;
995
+ }
996
+ .wpcf-field-dimensions_advanced.wpcp_carousel_row_pro_only .wpcf-fieldset .wpcf--inputs::after {
997
+ position: absolute;
998
+ content: "PRO";
999
+ background-color: #d4d4d4;
1000
+ padding: 2px 4px;
1001
+ font-size: 8px;
1002
+ border-radius: 2px;
1003
+ height: 11px;
1004
+ margin-left: 5px;
1005
+ margin-top: 7px;
1006
+ right: -20px;
1007
+ }
1008
  /**
1009
  * 03. 06. Field: button_set
1010
  */
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-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-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-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;height:30px;box-shadow:none}.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-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-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 strong{color:#444}.wpcf-notice a{text-decoration:none}.wpcf-notice a:hover{text-decoration:underline}.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-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;font-style:italic}.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;font-weight:500;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;font-weight:500;margin-top:5px}.wpcf-field-image_select .wpcf--image img{color:#7b8898;margin-right:0;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;vertical-align:middle}.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:2px;border-radius:0 1px 0 0}.wpcf-field.wpcf-field-switcher.only_pro_switcher .sp_wpcp--switcher{background:#cbcfd0;pointer-events:none}.wpcf-field-image_select.wpcp_grid_mode .wpcf--image img{width:60px;outline:solid 2px transparent;outline-offset:-2px}.wpcf-field-image_select.wpcp_grid_mode .wpcf--active img{outline-color:#1ea4b0}.wpcf-field-image_select.wpcp_grid_mode figure:before,.wpcf-field-image_select.wpcp_layout figure:before{content:'';width:0}.only_pro_switcher,.pro_only_field,.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}#sp_wpcp_shortcode_options{border-top-color:#f1f1f1}#sp_wpcp_shortcode_options .wpcf-nav ul li{margin-bottom:-1px}#sp_wpcp_shortcode_options .wpcf-nav.wpcf-nav-metabox{border-right-color:#f1f1f1;border-right-color:#f1f1f1;background:#f1f1f1;margin-right:-2px}#sp_wpcp_shortcode_options .wpcf-content{border-top:1px solid #e5e5e5;box-shadow:0 -1px 1px rgba(0,0,0,.04)}.post-type-sp_wp_carousel #sp__wpcf-show-preview{position:fixed;right:144px;bottom:30px;z-index:1001;width:155px;text-align:center;padding:10px 0;background:#54b154;color:#fff;border-radius:3px;text-decoration:none;display:block;font-weight:500;text-transform:uppercase;letter-spacing:.2px;margin:0;box-sizing:border-box;border-color:#44a944;overflow:hidden}#sp_wpcf_live_preview.postbox .handle-order-higher,#sp_wpcf_live_preview.postbox .handle-order-lower{display:none}#sp-wpcf-preview-box{overflow-x:auto;padding:0 20px;resize:vertical;width:auto;height:auto;min-height:200px}#wpcf-section-sp_wpcf_live_preview_0{display:block}
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-dimensions_advanced.wpcp_carousel_row_pro_only{pointer-events:none;opacity:.7}.wpcf-field-dimensions_advanced.wpcp_carousel_row_pro_only .wpcf-fieldset .wpcf--inputs{position:relative}.wpcf-field-dimensions_advanced.wpcp_carousel_row_pro_only .wpcf-fieldset .wpcf--inputs::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}.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-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-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;height:30px;box-shadow:none}.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-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-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 strong{color:#444}.wpcf-notice a{text-decoration:none}.wpcf-notice a:hover{text-decoration:underline}.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-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;font-style:italic}.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;font-weight:500;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;font-weight:500;margin-top:5px}.wpcf-field-image_select .wpcf--image img{color:#7b8898;margin-right:0;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;vertical-align:middle}.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:2px;border-radius:0 1px 0 0}.wpcf-field.wpcf-field-switcher.only_pro_switcher .sp_wpcp--switcher{background:#cbcfd0;pointer-events:none}.wpcf-field-image_select.wpcp_grid_mode .wpcf--image img{width:60px;outline:solid 2px transparent;outline-offset:-2px}.wpcf-field-image_select.wpcp_grid_mode .wpcf--active img{outline-color:#1ea4b0}.wpcf-field-image_select.wpcp_grid_mode figure:before,.wpcf-field-image_select.wpcp_layout figure:before{content:'';width:0}.only_pro_switcher,.pro_only_field,.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}#sp_wpcp_shortcode_options{border-top-color:#f1f1f1}#sp_wpcp_shortcode_options .wpcf-nav ul li{margin-bottom:-1px}#sp_wpcp_shortcode_options .wpcf-nav.wpcf-nav-metabox{border-right-color:#f1f1f1;border-right-color:#f1f1f1;background:#f1f1f1;margin-right:-2px}#sp_wpcp_shortcode_options .wpcf-content{border-top:1px solid #e5e5e5;box-shadow:0 -1px 1px rgba(0,0,0,.04)}.post-type-sp_wp_carousel #sp__wpcf-show-preview{position:fixed;right:144px;bottom:30px;z-index:1001;width:155px;text-align:center;padding:10px 0;background:#54b154;color:#fff;border-radius:3px;text-decoration:none;display:block;font-weight:500;text-transform:uppercase;letter-spacing:.2px;margin:0;box-sizing:border-box;border-color:#44a944;overflow:hidden}#sp_wpcf_live_preview.postbox .handle-order-higher,#sp_wpcf_live_preview.postbox .handle-order-lower{display:none}#sp-wpcf-preview-box{overflow-x:auto;padding:0 20px;resize:vertical;width:auto;height:auto;min-height:200px}#wpcf-section-sp_wpcf_live_preview_0{display:block}
admin/views/sp-framework/assets/js/main.js CHANGED
@@ -2326,11 +2326,20 @@
2326
  $export_type = $(this).find('input:checked').val();
2327
  });
2328
 
 
 
 
 
 
 
 
 
 
 
2329
  $('.wpcp_export .wpcf--button').click(function (event) {
2330
  event.preventDefault();
2331
 
2332
  var $shortcode_ids = $('.wpcp_post_ids select').val();
2333
- console.log($shortcode_ids);
2334
  var $ex_nonce = $('#wpcf_options_noncesp_wpcf_tools').val();
2335
  var selected_shortcode = $export_type === 'selected_shortcodes' ? $shortcode_ids : 'all_shortcodes';
2336
  if ($export_type === 'all_shortcodes' || $export_type === 'selected_shortcodes') {
@@ -2348,10 +2357,14 @@
2348
  $.post(ajaxurl, data, function (resp) {
2349
  if (resp) {
2350
  // Convert JSON Array to string.
2351
- var json = JSON.stringify(resp);
 
 
 
 
 
2352
  // Convert JSON string to BLOB.
2353
- json = [json];
2354
- var blob = new Blob(json);
2355
  var link = document.createElement('a');
2356
  var wpcp_time = $.now();
2357
  link.href = window.URL.createObjectURL(blob);
@@ -2371,6 +2384,7 @@
2371
  $('.wpcp_import button.import').click(function (event) {
2372
  event.preventDefault();
2373
  var wpcp_shortcodes = $('#import').prop('files')[0];
 
2374
  if ($('#import').val() != '') {
2375
  var $im_nonce = $('#wpcf_options_noncesp_wpcf_tools').val();
2376
  var reader = new FileReader();
2326
  $export_type = $(this).find('input:checked').val();
2327
  });
2328
 
2329
+ // Check If the string is a valid JSON string.
2330
+ function isValidJSONString(str) {
2331
+ try {
2332
+ JSON.parse(str);
2333
+ } catch (e) {
2334
+ return false;
2335
+ }
2336
+ return true;
2337
+ }
2338
+
2339
  $('.wpcp_export .wpcf--button').click(function (event) {
2340
  event.preventDefault();
2341
 
2342
  var $shortcode_ids = $('.wpcp_post_ids select').val();
 
2343
  var $ex_nonce = $('#wpcf_options_noncesp_wpcf_tools').val();
2344
  var selected_shortcode = $export_type === 'selected_shortcodes' ? $shortcode_ids : 'all_shortcodes';
2345
  if ($export_type === 'all_shortcodes' || $export_type === 'selected_shortcodes') {
2357
  $.post(ajaxurl, data, function (resp) {
2358
  if (resp) {
2359
  // Convert JSON Array to string.
2360
+ if (isValidJSONString(resp)) {
2361
+ var json = JSON.stringify(JSON.parse(resp));
2362
+ } else {
2363
+ var json = JSON.stringify(resp);
2364
+ }
2365
+
2366
  // Convert JSON string to BLOB.
2367
+ var blob = new Blob([json], { type: 'application/json' });
 
2368
  var link = document.createElement('a');
2369
  var wpcp_time = $.now();
2370
  link.href = window.URL.createObjectURL(blob);
2384
  $('.wpcp_import button.import').click(function (event) {
2385
  event.preventDefault();
2386
  var wpcp_shortcodes = $('#import').prop('files')[0];
2387
+ console.log(wpcp_shortcodes);
2388
  if ($('#import').val() != '') {
2389
  var $im_nonce = $('#wpcf_options_noncesp_wpcf_tools').val();
2390
  var reader = new FileReader();
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_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_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)}))},$.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-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-image_select").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)})),$('.wpcp_post_pagination_type label:contains("Pro")').css({"pointer-events":"none",color:"rgba(85,85,85,.6)!important"});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)})),"gallery"==$('.wpcp_layout input[name="sp_wpcp_shortcode_options[wpcp_layout]"]:checked').val()?$(".wpcf-nav-metabox li:nth-child(4)").hide():$(".wpcf-nav-metabox li:nth-child(4)").show(),$(".wpcf-field-image_select.wpcp_layout").on("change",(function(){"gallery"==$('.wpcp_layout input[name="sp_wpcp_shortcode_options[wpcp_layout]"]:checked').val()?$(".wpcf-nav-metabox li:nth-child(4)").hide():$(".wpcf-nav-metabox li:nth-child(4)").show()}))})),$(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")})),$(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")}));var preview_box=$("#sp-wpcf-preview-box"),preview_display=$("#sp_wpcf_live_preview").hide();$(document).on("click","#sp__wpcf-show-preview:contains(Hide)",(function(e){var _this;e.preventDefault(),$(this).html('<i class="fa fa-eye" aria-hidden="true"></i> Show Preview'),preview_box.html(""),preview_display.hide()})),$(document).on("click","#sp__wpcf-show-preview:not(:contains(Hide))",(function(e){e.preventDefault();var previewJS=wpcf_vars.previewJS,_data=$("form#post").serialize(),_this=$(this),data={action:"sp_wpcf_preview_meta_box",data:_data,ajax_nonce:$("#wpcf_metabox_noncesp_wpcf_live_preview").val()};$.ajax({type:"POST",url:ajaxurl,data:data,error:function(response){console.log(response)},success:function(response){preview_display.show(),preview_box.html(response),$.getScript(previewJS,(function(){_this.html('<i class="fa fa-eye-slash" aria-hidden="true"></i> Hide Preview'),$(document).on("keyup change",".post-type-sp_wp_carousel",(function(e){e.preventDefault(),_this.html('<i class="fa fa-refresh" aria-hidden="true"></i> Update Preview')})),$("html, body").animate({scrollTop:preview_display.offset().top-50},"slow")})),$(".wpcp-carousel-preloader").animate({opacity:1},600).hide();var carousel_id=$(".wpcp-carousel-section.wpcp-preloader").attr("id");$("#"+carousel_id).animate({opacity:1},600),$(".wpcpro-post-pagination-number").click((function(e){e.preventDefault(),e.stopPropagation(),$(".spwpc-pagination-not-work").animate({opacity:1,bottom:25},300),setTimeout((function(){jQuery(".spwpc-pagination-not-work").animate({opacity:0},200),jQuery(".spwpc-pagination-not-work").animate({bottom:0},0)}),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_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_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)}))},$.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-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-image_select").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)})),$('.wpcp_post_pagination_type label:contains("Pro")').css({"pointer-events":"none",color:"rgba(85,85,85,.6)!important"});var $export_type=$(".wpcp_what_export").find("input:checked").val();function isValidJSONString(str){try{JSON.parse(str)}catch(e){return!1}return!0}$(".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(),$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){if(isValidJSONString(resp))var json=JSON.stringify(JSON.parse(resp));else var json=JSON.stringify(resp);var blob=new Blob([json],{type:"application/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(console.log(wpcp_shortcodes),""!=$("#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)})),"gallery"==$('.wpcp_layout input[name="sp_wpcp_shortcode_options[wpcp_layout]"]:checked').val()?$(".wpcf-nav-metabox li:nth-child(4)").hide():$(".wpcf-nav-metabox li:nth-child(4)").show(),$(".wpcf-field-image_select.wpcp_layout").on("change",(function(){"gallery"==$('.wpcp_layout input[name="sp_wpcp_shortcode_options[wpcp_layout]"]:checked').val()?$(".wpcf-nav-metabox li:nth-child(4)").hide():$(".wpcf-nav-metabox li:nth-child(4)").show()}))})),$(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")})),$(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")}));var preview_box=$("#sp-wpcf-preview-box"),preview_display=$("#sp_wpcf_live_preview").hide();$(document).on("click","#sp__wpcf-show-preview:contains(Hide)",(function(e){var _this;e.preventDefault(),$(this).html('<i class="fa fa-eye" aria-hidden="true"></i> Show Preview'),preview_box.html(""),preview_display.hide()})),$(document).on("click","#sp__wpcf-show-preview:not(:contains(Hide))",(function(e){e.preventDefault();var previewJS=wpcf_vars.previewJS,_data=$("form#post").serialize(),_this=$(this),data={action:"sp_wpcf_preview_meta_box",data:_data,ajax_nonce:$("#wpcf_metabox_noncesp_wpcf_live_preview").val()};$.ajax({type:"POST",url:ajaxurl,data:data,error:function(response){console.log(response)},success:function(response){preview_display.show(),preview_box.html(response),$.getScript(previewJS,(function(){_this.html('<i class="fa fa-eye-slash" aria-hidden="true"></i> Hide Preview'),$(document).on("keyup change",".post-type-sp_wp_carousel",(function(e){e.preventDefault(),_this.html('<i class="fa fa-refresh" aria-hidden="true"></i> Update Preview')})),$("html, body").animate({scrollTop:preview_display.offset().top-50},"slow")})),$(".wpcp-carousel-preloader").animate({opacity:1},600).hide();var carousel_id=$(".wpcp-carousel-section.wpcp-preloader").attr("id");$("#"+carousel_id).animate({opacity:1},600),$(".wpcpro-post-pagination-number").click((function(e){e.preventDefault(),e.stopPropagation(),$(".spwpc-pagination-not-work").animate({opacity:1,bottom:25},300),setTimeout((function(){jQuery(".spwpc-pagination-not-work").animate({opacity:0},200),jQuery(".spwpc-pagination-not-work").animate({bottom:0},0)}),3e3)}))}})}))}(jQuery,window,document);
admin/views/sp-framework/classes/setup.class.php CHANGED
@@ -347,6 +347,7 @@ if ( ! class_exists( 'SP_WPCF' ) ) {
347
  'color',
348
  'color_group',
349
  'custom_import',
 
350
  'column',
351
  'gallery',
352
  'heading',
347
  'color',
348
  'color_group',
349
  'custom_import',
350
+ 'dimensions_advanced',
351
  'column',
352
  'gallery',
353
  'heading',
admin/views/sp-framework/fields/dimensions_advanced/dimensions_advanced.php ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Framework background field.
4
+ *
5
+ * @link https://shapedplugin.com
6
+ * @since 3.0.0
7
+ *
8
+ * @package WP Carousel
9
+ * @subpackage WP_Carousel_free/admin/views
10
+ */
11
+
12
+ if ( ! defined( 'ABSPATH' ) ) {
13
+ die;
14
+ } // Cannot access directly.
15
+
16
+ if ( ! class_exists( 'SP_WPCF_Field_dimensions_advanced' ) ) {
17
+
18
+ /**
19
+ * The Advanced Dimensions field class.
20
+ *
21
+ * @since 3.5
22
+ */
23
+ class SP_WPCF_Field_dimensions_advanced extends SP_WPCF_Fields {
24
+
25
+ /**
26
+ * Advanced Dimensions field constructor.
27
+ *
28
+ * @param array $field The field type.
29
+ * @param string $value The values of the field.
30
+ * @param string $unique The unique ID for the field.
31
+ * @param string $where To where show the output CSS.
32
+ * @param string $parent The parent args.
33
+ */
34
+ public function __construct( $field, $value = '', $unique = '', $where = '', $parent = '' ) {
35
+ parent::__construct( $field, $value, $unique, $where, $parent );
36
+ }
37
+
38
+ /**
39
+ * Render
40
+ *
41
+ * @return void
42
+ */
43
+ public function render() {
44
+
45
+ $args = wp_parse_args(
46
+ $this->field,
47
+ array(
48
+ 'top_icon' => '<i class="fa fa-long-arrow-up"></i>',
49
+ 'right_icon' => '<i class="fa fa-long-arrow-right"></i>',
50
+ 'left_icon' => '<i class="fa fa-long-arrow-left"></i>',
51
+ 'bottom_icon' => '<i class="fa fa-long-arrow-down"></i>',
52
+ 'all_icon' => '<i class="fa fa-arrows"></i>',
53
+ 'top_placeholder' => esc_html__( 'top', 'wp-carousel-free' ),
54
+ 'right_placeholder' => esc_html__( 'right', 'wp-carousel-free' ),
55
+ 'bottom_placeholder' => esc_html__( 'bottom', 'wp-carousel-free' ),
56
+ 'left_placeholder' => esc_html__( 'left', 'wp-carousel-free' ),
57
+ 'all_placeholder' => esc_html__( 'all', 'wp-carousel-free' ),
58
+ 'top' => true,
59
+ 'left' => true,
60
+ 'bottom' => true,
61
+ 'right' => true,
62
+ 'all' => false,
63
+ 'color' => true,
64
+ 'style' => true,
65
+ 'styles' => array( 'Soft-crop', 'Hard-crop' ),
66
+ 'unit' => 'px',
67
+ 'min' => '0',
68
+ )
69
+ );
70
+
71
+ $default_value = array(
72
+ 'top' => '',
73
+ 'right' => '',
74
+ 'bottom' => '',
75
+ 'left' => '',
76
+ 'color' => '',
77
+ 'style' => 'solid',
78
+ 'all' => '',
79
+ 'min' => '',
80
+ );
81
+
82
+ $border_props = array(
83
+ 'solid' => esc_html__( 'Solid', 'wp-carousel-free' ),
84
+ 'dashed' => esc_html__( 'Dashed', 'wp-carousel-free' ),
85
+ 'dotted' => esc_html__( 'Dotted', 'wp-carousel-free' ),
86
+ 'double' => esc_html__( 'Double', 'wp-carousel-free' ),
87
+ 'inset' => esc_html__( 'Inset', 'wp-carousel-free' ),
88
+ 'outset' => esc_html__( 'Outset', 'wp-carousel-free' ),
89
+ 'groove' => esc_html__( 'Groove', 'wp-carousel-free' ),
90
+ 'ridge' => esc_html__( 'ridge', 'wp-carousel-free' ),
91
+ 'none' => esc_html__( 'None', 'wp-carousel-free' ),
92
+ );
93
+
94
+ $default_value = ( ! empty( $this->field['default'] ) ) ? wp_parse_args( $this->field['default'], $default_value ) : $default_value;
95
+ $unit = ! empty( $args['unit'] ) ? $args['unit'] : '';
96
+ $is_unit = ( ! empty( $unit ) ) ? ' wpcf--is-unit' : '';
97
+ $value = wp_parse_args( $this->value, $default_value );
98
+
99
+ echo wp_kses_post( $this->field_before() );
100
+
101
+ echo '<div class="wpcf--inputs" data-depend-id="' . esc_attr( $this->field['id'] ) . '">';
102
+ $min = ( isset( $args['min'] ) ) ? ' min="' . $args['min'] . '"' : '';
103
+ if ( ! empty( $args['all'] ) ) {
104
+
105
+ $placeholder = ( ! empty( $args['all_placeholder'] ) ) ? ' placeholder="' . $args['all_placeholder'] . '"' : '';
106
+ echo '<div class="wpcf--input wpcf--input">';
107
+ echo ( ! empty( $args['all_icon'] ) ) ? '<span class="wpcf--label wpcf--icon">' . wp_kses_post( $args['all_icon'] ) . '</span>' : '';
108
+ echo '<input type="number" name="' . esc_attr( $this->field_name( '[all]' ) ) . '" value="' . esc_attr( $value['all'] ) . '"' . wp_kses_post( $placeholder . $min ) . ' class="wpcf-number' . esc_attr( $is_unit ) . '" />';
109
+ echo ( ! empty( $args['unit'] ) ) ? '<span class="wpcf--label wpcf--unit">' . esc_html( $args['unit'] ) . '</span>' : '';
110
+ echo '</div>';
111
+
112
+ } else {
113
+
114
+ $properties = array();
115
+
116
+ foreach ( array( 'top', 'right', 'bottom', 'left' ) as $prop ) {
117
+ if ( ! empty( $args[ $prop ] ) ) {
118
+ $properties[] = $prop;
119
+ }
120
+ }
121
+
122
+ $properties = ( array( 'right', 'left' ) === $properties ) ? array_reverse( $properties ) : $properties;
123
+
124
+ foreach ( $properties as $property ) {
125
+
126
+ $placeholder = ( ! empty( $args[ $property . '_placeholder' ] ) ) ? ' placeholder="' . $args[ $property . '_placeholder' ] . '"' : '';
127
+
128
+ echo '<div class="wpcf--input wpcf--input">';
129
+ echo ( ! empty( $args[ $property . '_icon' ] ) ) ? '<span class="wpcf--label wpcf--icon">' . wp_kses_post( $args[ $property . '_icon' ] ) . '</span>' : '';
130
+ echo '<input type="number" name="' . esc_attr( $this->field_name( '[' . $property . ']' ) ) . '" value="' . esc_attr( $value[ $property ] ) . '"' . wp_kses_post( $placeholder . $min ) . ' class="wpcf-number' . esc_attr( $is_unit ) . '" />';
131
+ echo ( ! empty( $args['unit'] ) ) ? '<span class="wpcf--label wpcf--unit">' . esc_html( $args['unit'] ) . '</span>' : '';
132
+ echo '</div>';
133
+
134
+ }
135
+ }
136
+
137
+ if ( ! empty( $args['style'] ) ) {
138
+ echo '<div class="wpcf--input wpcf--input">';
139
+ echo '<select name="' . esc_attr( $this->field_name( '[style]' ) ) . '">';
140
+ foreach ( $args['styles'] as $style_prop ) {
141
+ $selected = ( $value['style'] === $style_prop ) ? ' selected' : '';
142
+ echo '<option value="' . esc_attr( $style_prop ) . '"' . esc_attr( $selected ) . '>' . esc_html( $style_prop ) . '</option>';
143
+ }
144
+ echo '</select>';
145
+ echo '</div>';
146
+ }
147
+
148
+ if ( ! empty( $args['color'] ) ) {
149
+ $default_color_attr = ( ! empty( $default_value['color'] ) ) ? ' data-default-color="' . $default_value['color'] . '"' : '';
150
+ echo '<div class="wpcf--input wpcf-field-color">';
151
+ echo '<input type="text" name="' . esc_attr( $this->field_name( '[color]' ) ) . '" value="' . esc_attr( $value['color'] ) . '" class="wpcf-color"' . wp_kses_post( $default_color_attr ) . ' />';
152
+ echo '</div>';
153
+ }
154
+
155
+ echo '</div>';
156
+ echo '<div class="clear"></div>';
157
+
158
+ echo wp_kses_post( $this->field_after() );
159
+
160
+ }
161
+ }
162
+ }
admin/views/sp-framework/fields/image_sizes/image_sizes.php CHANGED
@@ -125,7 +125,8 @@ if ( ! class_exists( 'SP_WPCF_Field_image_sizes' ) ) {
125
  echo '<option value="' . esc_attr( $option_key ) . '" ' . esc_attr( $selected ) . '>' . esc_html( $option ) . '</option>';
126
  }
127
  }
128
- echo '<option disabled value="custom">Set custom size (Pro)</option>';
 
129
 
130
  echo '</select>';
131
 
125
  echo '<option value="' . esc_attr( $option_key ) . '" ' . esc_attr( $selected ) . '>' . esc_html( $option ) . '</option>';
126
  }
127
  }
128
+ $custom_selected = ( in_array( 'custom', $this->value, true ) ) ? ' selected' : '';
129
+ echo '<option ' . esc_attr( $custom_selected ) . ' value="custom">Set custom size</option>';
130
 
131
  echo '</select>';
132
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: shapedplugin, khalilu, shamimmiashuhagh, rubel_miah
3
  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: 6.0
7
- Stable tag: 2.4.8
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -327,6 +327,10 @@ Thank you!
327
 
328
  == Changelog ==
329
 
 
 
 
 
330
  = 2.4.8 – Jun 11, 2022 =
331
  * Improved: Move Gutenberg assets to the assets folder from src.
332
  * Fix: The premium page warnings.
3
  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: 6.0.1
7
+ Stable tag: 2.4.9
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
327
 
328
  == Changelog ==
329
 
330
+ = 2.4.9 – Aug 01, 2022 =
331
+ * Fix: The export option does not work properly along with the WP Debugging plugin.
332
+ * Tested: WooCommerce 6.7.0 compatibility.
333
+
334
  = 2.4.8 – Jun 11, 2022 =
335
  * Improved: Move Gutenberg assets to the assets folder from src.
336
  * Fix: The premium page warnings.
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.4.8
13
  * Author: ShapedPlugin
14
  * Author URI: https://shapedplugin.com/
15
  * License: GPL-2.0+
@@ -17,7 +17,7 @@
17
  * Text Domain: wp-carousel-free
18
  * Domain Path: /languages
19
  * WC requires at least: 4.0
20
- * WC tested up to: 6.4.1
21
  */
22
 
23
  // If this file is called directly, abort.
@@ -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.4.8';
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.4.9
13
  * Author: ShapedPlugin
14
  * Author URI: https://shapedplugin.com/
15
  * License: GPL-2.0+
17
  * Text Domain: wp-carousel-free
18
  * Domain Path: /languages
19
  * WC requires at least: 4.0
20
+ * WC tested up to: 6.7.0
21
  */
22
 
23
  // If this file is called directly, abort.
119
  */
120
  public function setup() {
121
  $this->plugin_name = 'wp-carousel-free';
122
+ $this->version = '2.4.9';
123
  $this->define_constants();
124
  $this->includes();
125
  $this->load_dependencies();