Page Builder: Live Composer – drag and drop website builder (visual front end site editor) - Version 1.0.8.2

Version Description

  • May 21st 2016 =

  • Module Options: New Max-Width setting in the IMAGE module added.

  • Code Improvements: New Live Composer automatically deacitvate Live and Previous generation of the plugin.

  • Code Improvements: When save process fails, errors are more informative now.

  • Code Improvements: Removed all the custom fonts from Module defaults.

  • Bug Fixed: Fixed problems when styling options do not apply after.

  • Bug Fixed: Fixed infinite loop when full content displayed on posts archive listing.

Download this release

Release Info

Developer LiveComposer
Plugin Icon 128x128 Page Builder: Live Composer – drag and drop website builder (visual front end site editor)
Version 1.0.8.2
Comparing to
See all releases

Code changes from version 1.0.8.1 to 1.0.8.2

css/builder.main.css CHANGED
@@ -74,7 +74,8 @@ body {
74
 
75
  .dslca-header {
76
  position: absolute;
77
- /* z-index: 999999; */
 
78
  min-height: 38px;
79
  bottom: 100%;
80
  left: 0;
74
 
75
  .dslca-header {
76
  position: absolute;
77
+ z-index: 100;
78
+ /* keep LC styling panel Confirm/Cancel buttons on the top */
79
  min-height: 38px;
80
  bottom: 100%;
81
  left: 0;
css/main.css CHANGED
@@ -65,7 +65,7 @@ body.admin-bar #dslc-header.dslc-header-pos-absolute {
65
  cursor: pointer;
66
  display: block;
67
  font-size: 11px;
68
- font-family: "Open Sans";
69
  font-weight: 900;
70
  line-height: 1;
71
  padding: 11px 12px;
@@ -461,7 +461,7 @@ body.rtl .dslc-last-col {
461
  position: relative;
462
  font-size: 14px;
463
  line-height: 25px;
464
- font-family: "Open Sans";
465
  }
466
 
467
  .dslc-notification .dslc-icon {
@@ -502,7 +502,7 @@ body.rtl .dslc-last-col {
502
  float: left;
503
  font-size: 17px;
504
  font-weight: 400;
505
- font-family: "Oswald";
506
  line-height: 1;
507
  margin: 0;
508
  padding: 0;
@@ -522,7 +522,7 @@ body.rtl .dslc-last-col {
522
  display: block;
523
  padding-left: 15px;
524
  border-left: 1px dotted #4f4f4f;
525
- font-family: "Open Sans";
526
  font-weight: 600;
527
  line-height: 1;
528
  text-decoration: none;
@@ -661,7 +661,7 @@ body.rtl .dslc-last-col {
661
  display: inline-block;
662
  font-size: 11px;
663
  font-weight: bold;
664
- font-family: "Open Sans";
665
  line-height: 1;
666
  padding: 12px;
667
  margin-right: 10px;
65
  cursor: pointer;
66
  display: block;
67
  font-size: 11px;
68
+ font-family: '';
69
  font-weight: 900;
70
  line-height: 1;
71
  padding: 11px 12px;
461
  position: relative;
462
  font-size: 14px;
463
  line-height: 25px;
464
+ font-family: '';
465
  }
466
 
467
  .dslc-notification .dslc-icon {
502
  float: left;
503
  font-size: 17px;
504
  font-weight: 400;
505
+ font-family: '';
506
  line-height: 1;
507
  margin: 0;
508
  padding: 0;
522
  display: block;
523
  padding-left: 15px;
524
  border-left: 1px dotted #4f4f4f;
525
+ font-family: '';
526
  font-weight: 600;
527
  line-height: 1;
528
  text-decoration: none;
661
  display: inline-block;
662
  font-size: 11px;
663
  font-weight: bold;
664
+ font-family: '';
665
  line-height: 1;
666
  padding: 12px;
667
  margin-right: 10px;
css/main.min.css CHANGED
@@ -1 +1 @@
1
- .dslc-clear,.dslc-clearfix:after,.dslc-first-col,.dslc-module-heading:after{clear:both}#dslc-content blockquote p:last-child{margin-bottom:0!important}#dslc-header{position:relative}#dslc-header.dslc-header-pos-absolute{position:absolute;top:0;left:0;right:0;z-index:999999}#dslc-header.dslc-header-pos-fixed{position:fixed;top:0;left:0;right:0;z-index:999999}body.admin-bar #dslc-header.dslc-header-pos-absolute,body.admin-bar #dslc-header.dslc-header-pos-fixed{top:32px}#dslc-footer{position:relative}#dslc-footer.dslc-footer-pos-absolute{position:absolute;bottom:0;left:0;right:0;z-index:999999}#dslc-footer.dslc-footer-pos-fixed{position:fixed;bottom:0;left:0;right:0;z-index:999999}#dslc-header.dslca-header-low-z-index,.dslca-drag-in-progress #dslc-header{z-index:0}#dslc-content{position:relative}.dslca-activate-composer-hook,.dslca-container .dslca-close-composer-hook,.dslca-container .dslca-hide-composer-hook,.dslca-container .dslca-show-composer-hook{background:#e55f5f;border-radius:3px;bottom:4px;color:#fff;cursor:pointer;display:block;font-size:11px;font-family:"Open Sans";font-weight:900;line-height:1;padding:11px 12px;text-transform:uppercase;text-decoration:none;white-space:nowrap;float:left;margin-left:5px}.dslca-container .dslca-hide-composer-hook{background:#06b2ac}.dslca-container .dslca-show-composer-hook{background:#9268a9;display:none}.dslca-activate-composer-hook:hover,.dslca-activate-composer-hook:visited,.dslca-close-composer-hook:hover,.dslca-close-composer-hook:visited{color:#fff}.dslca-activate-composer-hook{background:#54c13f;color:#fff;position:fixed;z-index:99999;right:5px;bottom:5px}.dslca-activate-composer-hook.dslca-position-left{right:auto;left:5px}.dslca-activate-composer-hook .dslca-icon,.dslca-container .dslca-close-composer-hook .dslca-icon,.dslca-container .dslca-hide-composer-hook .dslca-icon,.dslca-container .dslca-show-composer-hook .dslca-icon{color:rgba(255,255,255,.66);margin-right:5px}.dslc-modules-section{border:0 solid transparent;position:relative}.dslc-modules-section.dslc-init-parallax{background-attachment:fixed}.dslc-modules-section-wrapper{max-width:100%;margin:0 auto}.dslc-modules-section.dslc-full .dslc-modules-section-wrapper{width:100%}.dslc-module-front{position:relative}.dslc-col{display:block;float:left;margin-right:2.12766%}body.rtl .dslc-col{float:right;margin-left:2.12766%;margin-right:0}.dslc-1-col{width:6.38297%}.dslc-2-col{width:14.89361%}.dslc-3-col{width:23.40425%}.dslc-4-col{width:31.91489%}.dslc-5-col{width:40.42553%}.dslc-6-col{width:48.93617%}.dslc-7-col{width:57.4468%}.dslc-8-col{width:65.95744%}.dslc-9-col{width:74.46808%}.dslc-10-col{width:82.97872%}.dslc-11-col{width:91.48936%}.dslc-12-col{width:100%}.dslc-last-col{margin-right:0}body.rtl .dslc-last-col{margin-left:0}.dslc-no-columns-spacing .dslc-col{margin:0}.dslc-no-columns-spacing .dslc-1-col{width:8.33333%}.dslc-no-columns-spacing .dslc-2-col{width:16.66666%}.dslc-no-columns-spacing .dslc-3-col{width:25%}.dslc-no-columns-spacing .dslc-4-col{width:33.33333%}.dslc-no-columns-spacing .dslc-5-col{width:41.66666%}.dslc-no-columns-spacing .dslc-6-col{width:50%}.dslc-no-columns-spacing .dslc-7-col{width:58.33333%}.dslc-no-columns-spacing .dslc-8-col{width:66.66666%}.dslc-no-columns-spacing .dslc-9-col{width:75%}.dslc-no-columns-spacing .dslc-10-col{width:83.33333%}.dslc-no-columns-spacing .dslc-11-col{width:91.66666%}.dslc-no-columns-spacing .dslc-12-col,.dslc-no-columns-spacing .dslc-carousel .dslc-col,.dslc-no-columns-spacing .dslc-carousel .dslc-first-col,.dslc-no-columns-spacing .dslc-carousel .dslc-last-col{width:100%}.dslc-clearfix:after,.dslc-clearfix:before,.dslc-module-heading:after,.dslc-module-heading:before{content:" ";display:table}.dslc-fl{float:left}.dslc-fr{float:right}.dslc-no-float{float:none!important}.dslc-posts{overflow:hidden}.dslc-carousel .dslc-col,.dslc-carousel .dslc-first-col,.dslc-carousel .dslc-last-col{float:none;clear:none;margin:0}.dslc-carousel-item{width:auto}.dslc-carousel-nav{float:right}.dslc-carousel-nav-inner{display:block}.dslc-carousel-nav-next,.dslc-carousel-nav-prev{background:#c9c9c9;border:0 solid transparent;border-radius:3px;display:inline-block;height:23px;position:relative;width:23px;text-decoration:none;vertical-align:bottom}.dslc-carousel-nav-prev{margin-right:7px}.dslc-carousel-nav-next span,.dslc-carousel-nav-prev span{color:#fff;font-size:10px;position:absolute;left:0;right:0;text-align:center;font-weight:400}#dslc-content .dslc-carousel .owl-pagination .owl-page span{margin:0;filter:Alpha(Opacity=100);opacity:1}#dslc-content .dslc-slider{padding-bottom:1px;opacity:0;max-height:10px}#dslc-content .dslc-slider img{max-width:100%}#dslc-content .dslc-slider .owl-pagination .owl-page span{margin:0;filter:Alpha(Opacity=100);opacity:1}.dslc-carousel{opacity:0;max-height:100px}@keyframes dslcSpin{0%{-webkit-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes dslcSpin{0%{-moz-transform:rotate(0);transform:rotate(0)}100%{-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dslcSpin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-ms-keyframes "dslcSpin"{0%{-ms-transform:rotate(0);transform:rotate(0)}100%{-ms-transform:rotate(360deg);transform:rotate(360deg)}}@-o-keyframes dslcSpin{0%{-o-transform:rotate(0);transform:rotate(0)}100%{-o-transform:rotate(360deg);transform:rotate(360deg)}}.dslc-loader{position:relative;width:20px;height:20px;border:2px solid #0cf;border-radius:50%;-webkit-animation:dslcSpin .75s infinite linear;-moz-animation:dslcSpin .75s infinite linear;-ms-animation:dslcSpin .75s infinite linear;-o-animation:dslcSpin .75s infinite linear;animation:dslcSpin .75s infinite linear;margin-left:48%}.dslc-loader::after,.dslc-loader::before{left:-2px;top:-2px;display:none;position:absolute;content:'';width:inherit;height:inherit;border:inherit;border-radius:inherit}.dslc-loader,.dslc-loader::before{display:inline-block;border-color:#0cf transparent transparent}.dslc-loader::before{-webkit-animation:dslcSpin 1.5s infinite ease;-moz-animation:dslcSpin 1.5s infinite ease;-ms-animation:dslcSpin 1.5s infinite ease;-o-animation:dslcSpin 1.5s infinite ease;animation:dslcSpin 1.5s infinite ease}.dslc-notification{background:#fff;border:1px solid #e8e8e8;border-radius:3px;color:#979797;margin-bottom:20px;padding:15px;position:relative;font-size:14px;line-height:25px;font-family:"Open Sans"}.dslc-notification.dslc-green,.dslc-notification.dslc-red,.dslc-notification.dslc-yellow{color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.14)}.dslc-notification .dslc-icon{cursor:pointer;position:absolute;right:14px;top:21px}.dslc-notification.dslc-red{background:#f65757;border-color:#e43737}.dslc-notification.dslc-yellow{background:#fac841;border-color:#eab72e}.dslc-notification.dslc-green{background:#8ccb25;border-color:#77b01a}#dslc-content .dslc-module-heading{overflow:hidden;position:relative}.dslc-init-topleft,.dslc-init-topright{position:absolute!important;top:0!important;bottom:auto!important}#dslc-content .dslc-module-heading h2{display:block;float:left;font-size:17px;font-weight:400;font-family:Oswald;line-height:1;margin:0 15px 0 0;padding:0}#dslc-content .dslc-module-heading-view-all{display:block;float:left;font-size:11px;line-height:1;margin:3px 20px 3px 0}#dslc-content .dslc-module-heading-view-all a{display:block;padding-left:15px;border-left:1px dotted #4f4f4f;font-family:"Open Sans";font-weight:600;line-height:1;text-decoration:none}.dslc-masonry-item{margin-bottom:30px;margin-right:0}.dslc-masonry-item-animate{-webkit-transition:all .5s ease-in-out;-moz-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;-ms-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.dslc-post-separator{clear:both;height:1px;margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid #ededed}.dslc-pagination{border:0 solid transparent;overflow:hidden;margin-top:30px}.dslc-pagination ul{margin:0;padding:0}.dslc-pagination li{display:inline-block;margin:0 10px 0 0;padding:0}.dslc-pagination li:last-child{margin-right:0!important}.dslc-pagination-load-more .dslc-icon,.dslc-post-filter{margin-right:10px}.dslc-pagination li a{background:#eee;border:0 solid transparent;color:#000;display:block;line-height:1;padding:10px;text-decoration:none}.dslc-pagination li.current a{background:#000;color:#fff}.dslc-pagination li.dslc-pagination-load-more{width:auto;display:block}.dslc-pagination li.dslc-pagination-load-more.dslc-inactive a{cursor:default}.dslc-load-more-temp{display:none}.dslc-init-center{visibility:hidden}.dslc-init-topleft{left:0!important;right:auto!important}.dslc-init-topright{right:0!important;left:auto!important}.dslc-init-bottomleft,.dslc-init-bottomright{position:absolute!important;bottom:0!important;top:auto!important}.dslc-init-bottomleft{left:0!important;right:auto!important}.dslc-init-bottomright{right:0!important;left:auto!important}.dslc-post-filters{overflow:hidden;font-size:0}.dslc-post-filter{background:#fff;border:1px solid #e8e8e8;border-radius:3px;color:#979797;cursor:pointer;display:inline-block;font-size:11px;font-weight:700;font-family:"Open Sans";line-height:1;padding:12px}#dslc-content .dslc-bg-video .mejs-controls,.dslc-res-big .dslc-hide-on-desktop,.dslc-res-phone .dslc-hide-on-phone,.dslc-res-smaller-monitor .dslc-hide-on-desktop,.dslc-res-tablet .dslc-hide-on-tablet{display:none!important}.dslc-post-filter.dslc-active{color:#ff4e01}.dslc-post-filter:last-child{margin-right:0!important}#dslc-content .dslc-bg-video{background:0 0;position:absolute;left:0;right:0;bottom:0;top:0;opacity:0}#dslc-content .dslc-bg-video.dslc-force-show{opacity:1}#dslc-content .dslc-bg-video .mejs-container{background:0 0;position:absolute;left:0;right:0;bottom:0;top:0;width:100%!important;height:auto!important;overflow:hidden}#dslc-content .dslc-bg-video video{min-width:100%;height:auto!important;min-height:100%}#dslc-content .dslc-bg-video-overlay{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0;background:#000}.dslc-trigger-lightbox-gallery{cursor:pointer}body.dslc-res-phone .dslc-col{width:100%;margin:0 0 30px;min-width:0}body.dslc-res-phone .dslc-module-front.dslc-col{margin-bottom:0}@media only screen and (min-device-width :768px) and (max-device-width :1024px){.dslc-modules-section.dslc-init-parallax{background-attachment:scroll!important;background-position:0 0!important}}@media only screen and (max-width:767px){.dslc-modules-section.dslc-init-parallax{background-attachment:scroll!important;background-position:0 0!important}}body.dslca-enabled.dslc-res-tablet #dslc-content{max-width:768px;margin:0 auto}body.dslca-enabled.dslc-res-phone #dslc-content{max-width:480px;margin:0 auto}@keyframes dslcFadeIn{to{opacity:1}}@keyframes dslcSlideUp{to{transform:translateY(0)}}@keyframes dslcSlideDown{to{transform:translateY(0)}}@keyframes dslcSlideRight{to{transform:translateX(0)}}@keyframes dslcSlideLeft{to{transform:translateX(0)}}@keyframes dslcSlideUpFadeIn{to{transform:translateY(0);opacity:1}}@keyframes dslcSlideDownFadeIn{to{transform:translateY(0);opacity:1}}@keyframes dslcSlideRightFadeIn{to{transform:translateX(0);opacity:1}}@keyframes dslcSlideLeftFadeIn{to{transform:translateX(0);opacity:1}}@media only screen and (min-width:768px){@-webkit-keyframes dslcFadeIn{to{opacity:1}}@-moz-keyframes dslcFadeIn{to{opacity:1}}.dslc-in-viewport-anim-dslcFadeIn.dslc-in-viewport-check{opacity:0}@-webkit-keyframes dslcSlideUp{to{-webkit-transform:translateY(0)}}@-moz-keyframes dslcSlideUp{to{-moz-transform:translateY(0)}}.dslc-in-viewport-anim-dslcSlideUp.dslc-in-viewport-check{-webkit-transform:translateY(100px);-moz-transform:translateY(100px);transform:translateY(100px)}@-webkit-keyframes dslcSlideDown{to{-webkit-transform:translateY(0)}}@-moz-keyframes dslcSlideDown{to{-moz-transform:translateY(0)}}.dslc-in-viewport-anim-dslcSlideDown.dslc-in-viewport-check{-webkit-transform:translateY(-100px);-moz-transform:translateY(-100px);transform:translateY(-100px)}@-webkit-keyframes dslcSlideRight{to{-webkit-transform:translateX(0)}}@-moz-keyframes dslcSlideRight{to{-moz-transform:translateX(0)}}.dslc-in-viewport-anim-dslcSlideRight.dslc-in-viewport-check{-webkit-transform:translateX(-100px);-moz-transform:translateX(-100px);transform:translateX(-100px)}@-webkit-keyframes dslcSlideLeft{to{-webkit-transform:translateX(0)}}@-moz-keyframes dslcSlideLeft{to{-moz-transform:translateX(0)}}.dslc-in-viewport-anim-dslcSlideLeft.dslc-in-viewport-check{-webkit-transform:translateX(100px);-moz-transform:translateX(100px);transform:translateX(100px)}@-webkit-keyframes dslcSlideUpFadeIn{to{-webkit-transform:translateY(0);opacity:1}}@-moz-keyframes dslcSlideUpFadeIn{to{-moz-transform:translateY(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideUpFadeIn.dslc-in-viewport-check{-webkit-transform:translateY(100px);-moz-transform:translateY(100px);transform:translateY(100px);opacity:0}@-webkit-keyframes dslcSlideDownFadeIn{to{-webkit-transform:translateY(0);opacity:1}}@-moz-keyframes dslcSlideDownFadeIn{to{-moz-transform:translateY(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideDownFadeIn.dslc-in-viewport-check{-webkit-transform:translateY(-100px);-moz-transform:translateY(-100px);transform:translateY(-100px);opacity:0}@-webkit-keyframes dslcSlideRightFadeIn{to{-webkit-transform:translateX(0);opacity:1}}@-moz-keyframes dslcSlideRightFadeIn{to{-moz-transform:translateX(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideRightFadeIn.dslc-in-viewport-check{-webkit-transform:translateX(-100px);-moz-transform:translateX(-100px);transform:translateX(-100px);opacity:0}@-webkit-keyframes dslcSlideLeftFadeIn{to{-webkit-transform:translateX(0);opacity:1}}@-moz-keyframes dslcSlideLeftFadeIn{to{-moz-transform:translateX(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideLeftFadeIn.dslc-in-viewport-check{-webkit-transform:translateX(100px);-moz-transform:translateX(100px);transform:translateX(100px);opacity:0}}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-post-thumb .dslc-on-hover-anim-target{opacity:1!important;-webkit-transform:translateY(0)!important;-moz-transform:translateY(0)!important;transform:translateY(0)!important;-webkit-transform:translateX(0)!important;-moz-transform:translateX(0)!important;transform:translateX(0)!important}.dslc-anim-dslcFadeIn,.dslc-anim-dslcSlideDownFadeIn,.dslc-anim-dslcSlideLeftFadeIn,.dslc-anim-dslcSlideRightFadeIn,.dslc-anim-dslcSlideUpFadeIn{opacity:0}.dslc-on-hover-anim:hover .dslc-anim-dslcFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDownFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeftFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRightFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUpFadeIn{opacity:1}.dslc-anim-dslcSlideDown,.dslc-anim-dslcSlideDownFadeIn{-webkit-transform:translateY(-100%);-moz-transform:translateY(-100%);transform:translateY(-100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDown,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDownFadeIn{-webkit-transform:translateY(0);-moz-transform:translateY(0);transform:translateY(0)}.dslc-anim-dslcSlideUp,.dslc-anim-dslcSlideUpFadeIn{-webkit-transform:translateY(100%);-moz-transform:translateY(100%);transform:translateY(100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUp,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUpFadeIn{-webkit-transform:translateY(0);-moz-transform:translateY(0);transform:translateY(0)}.dslc-anim-dslcSlideRight,.dslc-anim-dslcSlideRightFadeIn{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRight,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRightFadeIn{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0)}.dslc-anim-dslcSlideLeft,.dslc-anim-dslcSlideLeftFadeIn{-webkit-transform:translateX(100%);-moz-transform:translateX(100%);transform:translateX(100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeft,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeftFadeIn{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0)}.dslc-anim-none{opacity:0;-webkit-transition:all 0s ease-out!important}.dslc-on-hover-anim:hover .dslc-anim-none{opacity:1}.dslca-enabled.dslc-res-big .dslc-hide-on-desktop,.dslca-enabled.dslc-res-smaller-monitor .dslc-hide-on-desktop{display:block!important}.dslca-composer-hidden.dslc-res-big .dslc-hide-on-desktop,.dslca-composer-hidden.dslc-res-smaller-monitor .dslc-hide-on-desktop{display:none!important}
1
+ .dslc-clear,.dslc-clearfix:after,.dslc-first-col,.dslc-module-heading:after{clear:both}#dslc-content .dslc-module-heading h2,#dslc-content .dslc-module-heading-view-all a,.dslc-notification,.dslc-post-filter{font-family:''}#dslc-content blockquote p:last-child{margin-bottom:0!important}#dslc-header{position:relative}#dslc-header.dslc-header-pos-absolute{position:absolute;top:0;left:0;right:0;z-index:999999}#dslc-header.dslc-header-pos-fixed{position:fixed;top:0;left:0;right:0;z-index:999999}body.admin-bar #dslc-header.dslc-header-pos-absolute,body.admin-bar #dslc-header.dslc-header-pos-fixed{top:32px}#dslc-footer{position:relative}#dslc-footer.dslc-footer-pos-absolute{position:absolute;bottom:0;left:0;right:0;z-index:999999}#dslc-footer.dslc-footer-pos-fixed{position:fixed;bottom:0;left:0;right:0;z-index:999999}#dslc-header.dslca-header-low-z-index,.dslca-drag-in-progress #dslc-header{z-index:0}#dslc-content{position:relative}.dslca-activate-composer-hook,.dslca-container .dslca-close-composer-hook,.dslca-container .dslca-hide-composer-hook,.dslca-container .dslca-show-composer-hook{background:#e55f5f;border-radius:3px;bottom:4px;color:#fff;cursor:pointer;display:block;font-size:11px;font-family:'';font-weight:900;line-height:1;padding:11px 12px;text-transform:uppercase;text-decoration:none;white-space:nowrap;float:left;margin-left:5px}.dslca-container .dslca-hide-composer-hook{background:#06b2ac}.dslca-container .dslca-show-composer-hook{background:#9268a9;display:none}.dslca-activate-composer-hook:hover,.dslca-activate-composer-hook:visited,.dslca-close-composer-hook:hover,.dslca-close-composer-hook:visited{color:#fff}.dslca-activate-composer-hook{background:#54c13f;color:#fff;position:fixed;z-index:99999;right:5px;bottom:5px}.dslca-activate-composer-hook.dslca-position-left{right:auto;left:5px}.dslca-activate-composer-hook .dslca-icon,.dslca-container .dslca-close-composer-hook .dslca-icon,.dslca-container .dslca-hide-composer-hook .dslca-icon,.dslca-container .dslca-show-composer-hook .dslca-icon{color:rgba(255,255,255,.66);margin-right:5px}.dslc-modules-section{border:0 solid transparent;position:relative}.dslc-modules-section.dslc-init-parallax{background-attachment:fixed}.dslc-modules-section-wrapper{max-width:100%;margin:0 auto}.dslc-modules-section.dslc-full .dslc-modules-section-wrapper{width:100%}.dslc-module-front{position:relative}.dslc-col{display:block;float:left;margin-right:2.12766%}body.rtl .dslc-col{float:right;margin-left:2.12766%;margin-right:0}.dslc-1-col{width:6.38297%}.dslc-2-col{width:14.89361%}.dslc-3-col{width:23.40425%}.dslc-4-col{width:31.91489%}.dslc-5-col{width:40.42553%}.dslc-6-col{width:48.93617%}.dslc-7-col{width:57.4468%}.dslc-8-col{width:65.95744%}.dslc-9-col{width:74.46808%}.dslc-10-col{width:82.97872%}.dslc-11-col{width:91.48936%}.dslc-12-col{width:100%}.dslc-last-col{margin-right:0}body.rtl .dslc-last-col{margin-left:0}.dslc-no-columns-spacing .dslc-col{margin:0}.dslc-no-columns-spacing .dslc-1-col{width:8.33333%}.dslc-no-columns-spacing .dslc-2-col{width:16.66666%}.dslc-no-columns-spacing .dslc-3-col{width:25%}.dslc-no-columns-spacing .dslc-4-col{width:33.33333%}.dslc-no-columns-spacing .dslc-5-col{width:41.66666%}.dslc-no-columns-spacing .dslc-6-col{width:50%}.dslc-no-columns-spacing .dslc-7-col{width:58.33333%}.dslc-no-columns-spacing .dslc-8-col{width:66.66666%}.dslc-no-columns-spacing .dslc-9-col{width:75%}.dslc-no-columns-spacing .dslc-10-col{width:83.33333%}.dslc-no-columns-spacing .dslc-11-col{width:91.66666%}.dslc-no-columns-spacing .dslc-12-col,.dslc-no-columns-spacing .dslc-carousel .dslc-col,.dslc-no-columns-spacing .dslc-carousel .dslc-first-col,.dslc-no-columns-spacing .dslc-carousel .dslc-last-col{width:100%}.dslc-clearfix:after,.dslc-clearfix:before,.dslc-module-heading:after,.dslc-module-heading:before{content:" ";display:table}.dslc-fl{float:left}.dslc-fr{float:right}.dslc-no-float{float:none!important}.dslc-posts{overflow:hidden}.dslc-carousel .dslc-col,.dslc-carousel .dslc-first-col,.dslc-carousel .dslc-last-col{float:none;clear:none;margin:0}.dslc-carousel-item{width:auto}.dslc-carousel-nav{float:right}.dslc-carousel-nav-inner{display:block}.dslc-carousel-nav-next,.dslc-carousel-nav-prev{background:#c9c9c9;border:0 solid transparent;border-radius:3px;display:inline-block;height:23px;position:relative;width:23px;text-decoration:none;vertical-align:bottom}.dslc-carousel-nav-prev{margin-right:7px}.dslc-carousel-nav-next span,.dslc-carousel-nav-prev span{color:#fff;font-size:10px;position:absolute;left:0;right:0;text-align:center;font-weight:400}#dslc-content .dslc-carousel .owl-pagination .owl-page span{margin:0;filter:Alpha(Opacity=100);opacity:1}#dslc-content .dslc-slider{padding-bottom:1px;opacity:0;max-height:10px}#dslc-content .dslc-slider img{max-width:100%}#dslc-content .dslc-slider .owl-pagination .owl-page span{margin:0;filter:Alpha(Opacity=100);opacity:1}.dslc-carousel{opacity:0;max-height:100px}@keyframes dslcSpin{0%{-webkit-transform:rotate(0);-moz-transform:rotate(0);-o-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-o-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes dslcSpin{0%{-moz-transform:rotate(0);transform:rotate(0)}100%{-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dslcSpin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-ms-keyframes "dslcSpin"{0%{-ms-transform:rotate(0);transform:rotate(0)}100%{-ms-transform:rotate(360deg);transform:rotate(360deg)}}@-o-keyframes dslcSpin{0%{-o-transform:rotate(0);transform:rotate(0)}100%{-o-transform:rotate(360deg);transform:rotate(360deg)}}.dslc-loader{position:relative;width:20px;height:20px;border:2px solid #0cf;border-radius:50%;-webkit-animation:dslcSpin .75s infinite linear;-moz-animation:dslcSpin .75s infinite linear;-ms-animation:dslcSpin .75s infinite linear;-o-animation:dslcSpin .75s infinite linear;animation:dslcSpin .75s infinite linear;margin-left:48%}.dslc-loader::after,.dslc-loader::before{left:-2px;top:-2px;display:none;position:absolute;content:'';width:inherit;height:inherit;border:inherit;border-radius:inherit}.dslc-loader,.dslc-loader::before{display:inline-block;border-color:#0cf transparent transparent}.dslc-loader::before{-webkit-animation:dslcSpin 1.5s infinite ease;-moz-animation:dslcSpin 1.5s infinite ease;-ms-animation:dslcSpin 1.5s infinite ease;-o-animation:dslcSpin 1.5s infinite ease;animation:dslcSpin 1.5s infinite ease}.dslc-notification{background:#fff;border:1px solid #e8e8e8;border-radius:3px;color:#979797;margin-bottom:20px;padding:15px;position:relative;font-size:14px;line-height:25px}.dslc-notification.dslc-green,.dslc-notification.dslc-red,.dslc-notification.dslc-yellow{color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.14)}.dslc-notification .dslc-icon{cursor:pointer;position:absolute;right:14px;top:21px}.dslc-notification.dslc-red{background:#f65757;border-color:#e43737}.dslc-notification.dslc-yellow{background:#fac841;border-color:#eab72e}.dslc-notification.dslc-green{background:#8ccb25;border-color:#77b01a}#dslc-content .dslc-module-heading{overflow:hidden;position:relative}.dslc-init-topleft,.dslc-init-topright{position:absolute!important;top:0!important;bottom:auto!important}#dslc-content .dslc-module-heading h2{display:block;float:left;font-size:17px;font-weight:400;line-height:1;margin:0 15px 0 0;padding:0}#dslc-content .dslc-module-heading-view-all{display:block;float:left;font-size:11px;line-height:1;margin:3px 20px 3px 0}#dslc-content .dslc-module-heading-view-all a{display:block;padding-left:15px;border-left:1px dotted #4f4f4f;font-weight:600;line-height:1;text-decoration:none}.dslc-masonry-item{margin-bottom:30px;margin-right:0}.dslc-masonry-item-animate{-webkit-transition:all .5s ease-in-out;-moz-transition:all .5s ease-in-out;-o-transition:all .5s ease-in-out;-ms-transition:all .5s ease-in-out;transition:all .5s ease-in-out}.dslc-post-separator{clear:both;height:1px;margin-bottom:15px;padding-bottom:15px;border-bottom:1px solid #ededed}.dslc-pagination{border:0 solid transparent;overflow:hidden;margin-top:30px}.dslc-pagination ul{margin:0;padding:0}.dslc-pagination li{display:inline-block;margin:0 10px 0 0;padding:0}.dslc-pagination li:last-child{margin-right:0!important}.dslc-pagination-load-more .dslc-icon,.dslc-post-filter{margin-right:10px}.dslc-pagination li a{background:#eee;border:0 solid transparent;color:#000;display:block;line-height:1;padding:10px;text-decoration:none}.dslc-pagination li.current a{background:#000;color:#fff}.dslc-pagination li.dslc-pagination-load-more{width:auto;display:block}.dslc-pagination li.dslc-pagination-load-more.dslc-inactive a{cursor:default}.dslc-load-more-temp{display:none}.dslc-init-center{visibility:hidden}.dslc-init-topleft{left:0!important;right:auto!important}.dslc-init-topright{right:0!important;left:auto!important}.dslc-init-bottomleft,.dslc-init-bottomright{position:absolute!important;bottom:0!important;top:auto!important}.dslc-init-bottomleft{left:0!important;right:auto!important}.dslc-init-bottomright{right:0!important;left:auto!important}.dslc-post-filters{overflow:hidden;font-size:0}.dslc-post-filter{background:#fff;border:1px solid #e8e8e8;border-radius:3px;color:#979797;cursor:pointer;display:inline-block;font-size:11px;font-weight:700;line-height:1;padding:12px}#dslc-content .dslc-bg-video .mejs-controls,.dslc-res-big .dslc-hide-on-desktop,.dslc-res-phone .dslc-hide-on-phone,.dslc-res-smaller-monitor .dslc-hide-on-desktop,.dslc-res-tablet .dslc-hide-on-tablet{display:none!important}.dslc-post-filter.dslc-active{color:#ff4e01}.dslc-post-filter:last-child{margin-right:0!important}#dslc-content .dslc-bg-video{background:0 0;position:absolute;left:0;right:0;bottom:0;top:0;opacity:0}#dslc-content .dslc-bg-video.dslc-force-show{opacity:1}#dslc-content .dslc-bg-video .mejs-container{background:0 0;position:absolute;left:0;right:0;bottom:0;top:0;width:100%!important;height:auto!important;overflow:hidden}#dslc-content .dslc-bg-video video{min-width:100%;height:auto!important;min-height:100%}#dslc-content .dslc-bg-video-overlay{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0;background:#000}.dslc-trigger-lightbox-gallery{cursor:pointer}body.dslc-res-phone .dslc-col{width:100%;margin:0 0 30px;min-width:0}body.dslc-res-phone .dslc-module-front.dslc-col{margin-bottom:0}@media only screen and (min-device-width :768px) and (max-device-width :1024px){.dslc-modules-section.dslc-init-parallax{background-attachment:scroll!important;background-position:0 0!important}}@media only screen and (max-width:767px){.dslc-modules-section.dslc-init-parallax{background-attachment:scroll!important;background-position:0 0!important}}body.dslca-enabled.dslc-res-tablet #dslc-content{max-width:768px;margin:0 auto}body.dslca-enabled.dslc-res-phone #dslc-content{max-width:480px;margin:0 auto}@keyframes dslcFadeIn{to{opacity:1}}@keyframes dslcSlideUp{to{transform:translateY(0)}}@keyframes dslcSlideDown{to{transform:translateY(0)}}@keyframes dslcSlideRight{to{transform:translateX(0)}}@keyframes dslcSlideLeft{to{transform:translateX(0)}}@keyframes dslcSlideUpFadeIn{to{transform:translateY(0);opacity:1}}@keyframes dslcSlideDownFadeIn{to{transform:translateY(0);opacity:1}}@keyframes dslcSlideRightFadeIn{to{transform:translateX(0);opacity:1}}@keyframes dslcSlideLeftFadeIn{to{transform:translateX(0);opacity:1}}@media only screen and (min-width:768px){@-webkit-keyframes dslcFadeIn{to{opacity:1}}@-moz-keyframes dslcFadeIn{to{opacity:1}}.dslc-in-viewport-anim-dslcFadeIn.dslc-in-viewport-check{opacity:0}@-webkit-keyframes dslcSlideUp{to{-webkit-transform:translateY(0)}}@-moz-keyframes dslcSlideUp{to{-moz-transform:translateY(0)}}.dslc-in-viewport-anim-dslcSlideUp.dslc-in-viewport-check{-webkit-transform:translateY(100px);-moz-transform:translateY(100px);transform:translateY(100px)}@-webkit-keyframes dslcSlideDown{to{-webkit-transform:translateY(0)}}@-moz-keyframes dslcSlideDown{to{-moz-transform:translateY(0)}}.dslc-in-viewport-anim-dslcSlideDown.dslc-in-viewport-check{-webkit-transform:translateY(-100px);-moz-transform:translateY(-100px);transform:translateY(-100px)}@-webkit-keyframes dslcSlideRight{to{-webkit-transform:translateX(0)}}@-moz-keyframes dslcSlideRight{to{-moz-transform:translateX(0)}}.dslc-in-viewport-anim-dslcSlideRight.dslc-in-viewport-check{-webkit-transform:translateX(-100px);-moz-transform:translateX(-100px);transform:translateX(-100px)}@-webkit-keyframes dslcSlideLeft{to{-webkit-transform:translateX(0)}}@-moz-keyframes dslcSlideLeft{to{-moz-transform:translateX(0)}}.dslc-in-viewport-anim-dslcSlideLeft.dslc-in-viewport-check{-webkit-transform:translateX(100px);-moz-transform:translateX(100px);transform:translateX(100px)}@-webkit-keyframes dslcSlideUpFadeIn{to{-webkit-transform:translateY(0);opacity:1}}@-moz-keyframes dslcSlideUpFadeIn{to{-moz-transform:translateY(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideUpFadeIn.dslc-in-viewport-check{-webkit-transform:translateY(100px);-moz-transform:translateY(100px);transform:translateY(100px);opacity:0}@-webkit-keyframes dslcSlideDownFadeIn{to{-webkit-transform:translateY(0);opacity:1}}@-moz-keyframes dslcSlideDownFadeIn{to{-moz-transform:translateY(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideDownFadeIn.dslc-in-viewport-check{-webkit-transform:translateY(-100px);-moz-transform:translateY(-100px);transform:translateY(-100px);opacity:0}@-webkit-keyframes dslcSlideRightFadeIn{to{-webkit-transform:translateX(0);opacity:1}}@-moz-keyframes dslcSlideRightFadeIn{to{-moz-transform:translateX(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideRightFadeIn.dslc-in-viewport-check{-webkit-transform:translateX(-100px);-moz-transform:translateX(-100px);transform:translateX(-100px);opacity:0}@-webkit-keyframes dslcSlideLeftFadeIn{to{-webkit-transform:translateX(0);opacity:1}}@-moz-keyframes dslcSlideLeftFadeIn{to{-moz-transform:translateX(0);opacity:1}}.dslc-in-viewport-anim-dslcSlideLeftFadeIn.dslc-in-viewport-check{-webkit-transform:translateX(100px);-moz-transform:translateX(100px);transform:translateX(100px);opacity:0}}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-post-thumb .dslc-on-hover-anim-target{opacity:1!important;-webkit-transform:translateY(0)!important;-moz-transform:translateY(0)!important;transform:translateY(0)!important;-webkit-transform:translateX(0)!important;-moz-transform:translateX(0)!important;transform:translateX(0)!important}.dslc-anim-dslcFadeIn,.dslc-anim-dslcSlideDownFadeIn,.dslc-anim-dslcSlideLeftFadeIn,.dslc-anim-dslcSlideRightFadeIn,.dslc-anim-dslcSlideUpFadeIn{opacity:0}.dslc-on-hover-anim:hover .dslc-anim-dslcFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDownFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeftFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRightFadeIn,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUpFadeIn{opacity:1}.dslc-anim-dslcSlideDown,.dslc-anim-dslcSlideDownFadeIn{-webkit-transform:translateY(-100%);-moz-transform:translateY(-100%);transform:translateY(-100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDown,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideDownFadeIn{-webkit-transform:translateY(0);-moz-transform:translateY(0);transform:translateY(0)}.dslc-anim-dslcSlideUp,.dslc-anim-dslcSlideUpFadeIn{-webkit-transform:translateY(100%);-moz-transform:translateY(100%);transform:translateY(100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUp,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideUpFadeIn{-webkit-transform:translateY(0);-moz-transform:translateY(0);transform:translateY(0)}.dslc-anim-dslcSlideRight,.dslc-anim-dslcSlideRightFadeIn{-webkit-transform:translateX(-100%);-moz-transform:translateX(-100%);transform:translateX(-100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRight,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideRightFadeIn{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0)}.dslc-anim-dslcSlideLeft,.dslc-anim-dslcSlideLeftFadeIn{-webkit-transform:translateX(100%);-moz-transform:translateX(100%);transform:translateX(100%)}.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeft,.dslc-on-hover-anim:hover .dslc-anim-dslcSlideLeftFadeIn{-webkit-transform:translateX(0);-moz-transform:translateX(0);transform:translateX(0)}.dslc-anim-none{opacity:0;-webkit-transition:all 0s ease-out!important}.dslc-on-hover-anim:hover .dslc-anim-none{opacity:1}.dslca-enabled.dslc-res-big .dslc-hide-on-desktop,.dslca-enabled.dslc-res-smaller-monitor .dslc-hide-on-desktop{display:block!important}.dslca-composer-hidden.dslc-res-big .dslc-hide-on-desktop,.dslca-composer-hidden.dslc-res-smaller-monitor .dslc-hide-on-desktop{display:none!important}
css/modules.css CHANGED
@@ -3,7 +3,7 @@
3
  */
4
 
5
  #dslc-content .dslc-cpt-post {
6
-
7
  }
8
 
9
  #dslc-content .dslc-cpt-post-main {
@@ -54,7 +54,7 @@
54
  }
55
 
56
  #dslc-content .dslc-cpt-post-thumb:hover .dslc-cpt-post-main {
57
-
58
  }
59
 
60
  body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-cpt-post-thumb .dslc-cpt-post-main {
@@ -89,7 +89,7 @@
89
  }
90
 
91
  #dslc-content .dslc-cpt-post-title h2 {
92
- font-family: "Open Sans";
93
  font-weight: 600;
94
  font-size: 15px;
95
  line-height: 26px;
@@ -138,7 +138,7 @@
138
  overflow: hidden;
139
  }
140
 
141
- /**
142
  * BLOG MODULE
143
  */
144
 
@@ -147,7 +147,7 @@
147
  }
148
 
149
  #dslc-content .dslc-blog-post {
150
-
151
  }
152
 
153
  #dslc-content .dslc-blog-post-main {
@@ -186,7 +186,7 @@
186
  top: 0;
187
  left: 0;
188
  bottom: 0;
189
- right: 0;
190
  }
191
 
192
  #dslc-content .dslc-blog-post-thumb .dslc-blog-post-main.dslc-blog-post-main-visible {
@@ -198,7 +198,7 @@
198
  }
199
 
200
  #dslc-content .dslc-blog-post-thumb:hover .dslc-blog-post-main {
201
-
202
  }
203
 
204
  body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-blog-post-thumb .dslc-blog-post-main {
@@ -246,7 +246,7 @@
246
  }
247
 
248
  #dslc-content .dslc-blog-post-title h2 {
249
- font-family: "Open Sans";
250
  font-weight: 600;
251
  font-size: 15px;
252
  line-height: 26px;
@@ -281,7 +281,7 @@
281
  * Horizontal Orientation
282
  */
283
 
284
- #dslc-content .dslc-posts-orientation-horizontal {
285
 
286
  }
287
 
@@ -305,7 +305,7 @@
305
  }
306
 
307
  #dslc-content .dslc-download {
308
-
309
  }
310
 
311
  #dslc-content .dslc-download-thumb {
@@ -350,7 +350,7 @@
350
  }
351
 
352
  #dslc-content .dslc-download-thumb:hover .dslc-download-main {
353
-
354
  }
355
 
356
  body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-download-thumb .dslc-download-main {
@@ -432,7 +432,7 @@
432
  }
433
 
434
  #dslc-content .dslc-gallery {
435
-
436
  }
437
 
438
  #dslc-content .dslc-gallery-thumb {
@@ -491,7 +491,7 @@
491
  color: #fff;
492
  display: block;
493
  font-size: 25px;
494
- font-family: "Oswald";
495
  font-weight: 200;
496
  line-height: 1;
497
  margin-bottom: 8px;
@@ -501,7 +501,7 @@
501
  color: #7d7d7d;
502
  display: block;
503
  font-size: 11px;
504
- font-family: "Brawler";
505
  line-height: 1;
506
  }
507
 
@@ -522,7 +522,7 @@
522
  }
523
 
524
  #dslc-content .dslc-gallery-thumb:hover .dslc-gallery-main {
525
-
526
  }
527
 
528
  body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-gallery-thumb .dslc-gallery-main {
@@ -539,8 +539,8 @@
539
  }
540
 
541
  #dslc-content .dslc-gallery-title h2 {
542
- font-family: "Brawler";
543
- font-size: 11px;
544
  line-height: 1;
545
  margin: 0;
546
  padding: 0;
@@ -583,25 +583,25 @@
583
  * INFOBOX MODULE
584
  */
585
 
586
- .dslc-info-box {
587
  text-align: center;
588
- border: 0px solid transparent;
589
  -webkit-transition: all 0.2s ease-in-out;
590
  -moz-transition: all 0.2s ease-in-out;
591
  transition: all 0.2s ease-in-out;
592
  }
593
 
594
  .dslc-info-box-main-wrap {
595
-
596
  }
597
 
598
- .dslc-info-box-image {
599
  margin-bottom: 25px;
600
  position: relative;
601
  font-size: 0;
602
  }
603
 
604
- .dslc-info-box-image-link {
605
  position: absolute;
606
  top: 0;
607
  left: 0;
@@ -609,39 +609,39 @@
609
  bottom: 0;
610
  }
611
 
612
- .dslc-info-box-icon-pos-aside .dslc-info-box-main {
613
  overflow: hidden;
614
  }
615
 
616
- .dslc-info-box-icon-pos-aside .dslc-info-box-image {
617
  float: left;
618
  margin-right: 20px;
619
  }
620
 
621
- .dslc-info-box-image-inner {
622
  display: inline-block;
623
  position: relative;
624
  border: 0px solid transparent;
625
  }
626
 
627
- .dslc-info-box-image-inner .dslc-icon {
628
  color: #fff;
629
  line-height: 1;
630
  font-size: 40px;
631
  position: absolute;
632
  }
633
 
634
- .dslc-info-box-image-alt-inner img {
635
  -webkit-transition: all 0.2s ease-in-out;
636
  -moz-transition: all 0.2s ease-in-out;
637
  transition: all 0.2s ease-in-out;
638
  }
639
 
640
- .dslc-info-box-title {
641
  margin-bottom: 25px;
642
  }
643
 
644
- .dslc-info-box-title h4 {
645
  font-size: 17px;
646
  line-height: 1;
647
  margin: 0;
@@ -649,41 +649,41 @@
649
  font-weight: 400;
650
  }
651
 
652
- .dslc-info-box-title h4 a {
653
  color: inherit;
654
  text-decoration: none;
655
  }
656
 
657
- .dslc-info-box-content {
658
  margin-bottom: 25px;
659
  }
660
 
661
- .dslc-info-box-button {
662
  font-size: 0;
663
  }
664
 
665
- .dslc-info-box-button a {
666
  display: inline-block;
667
  line-height: 1;
668
  text-decoration: none;
669
  }
670
 
671
- .dslc-info-box-button-aside {
672
  float: right;
673
  }
674
 
675
  /**
676
  * PARTNERS MODULE
677
  */
678
-
679
  #dslc-content .dslc-partner {
680
-
681
- }
682
 
 
 
683
  #dslc-content .dslc-partner .dslc-partner-thumb {
684
- border: 1px solid #ebebeb;
685
- padding: 50px 0;
686
- text-align: center;
687
  position: relative;
688
  line-height: 0;
689
  }
@@ -691,7 +691,7 @@
691
  #dslc-content .dslc-partner .dslc-partner-thumb a {
692
  display: inline-block;
693
  max-width: 100%;
694
- }
695
 
696
  #dslc-content .dslc-partner .dslc-partner-thumb img {
697
  border-radius: 0;
@@ -729,36 +729,37 @@
729
  opacity: 1;
730
  }
731
 
 
732
  #dslc-content .dslc-partner .dslc-partner-main {
733
- border: 0px solid transparent;
734
  }
735
-
736
- #dslc-content .dslc-partner .dslc-partner-title {
737
  margin-bottom: 10px;
738
  }
739
 
740
- #dslc-content .dslc-partner .dslc-partner-title h2 {
741
- color: #222;
742
- font-family: "Oswald";
743
- font-weight: bold;
744
- font-size: 14px;
745
- line-height: 1;
746
  margin: 0;
747
  padding: 0;
748
  }
749
 
750
- #dslc-content .dslc-partner .dslc-partner-title h2 a {
751
  display: block;
752
  color: inherit;
753
  text-decoration: none;
754
  }
755
 
756
  #dslc-content .dslc-partner .dslc-partner-excerpt {
757
- color: #444;
758
- font-family: "Open Sans";
759
- font-weight: 400;
760
- font-size: 12px;
761
- line-height: 22px;
762
  }
763
 
764
 
@@ -767,26 +768,26 @@
767
  */
768
 
769
  #dslc-content .dslc-project {
770
-
771
  }
772
 
773
- #dslc-content .dslc-projects .dslc-project-thumb {
774
  margin-bottom: 24px;
775
  position: relative;
776
  line-height: 0;
777
  }
778
 
779
- #dslc-content .dslc-projects .dslc-project-thumb-inner {
780
  border: 0 solid transparent;
781
  overflow: hidden;
782
  }
783
 
784
- #dslc-content .dslc-projects .dslc-project-thumb a {
785
  display: inline-block;
786
  max-width: 100%;
787
  }
788
 
789
- #dslc-content .dslc-projects .dslc-project-thumb img {
790
  border-radius: 0;
791
  -moz-box-shadow: none;
792
  -webkit-box-shadow:none;
@@ -796,7 +797,7 @@
796
  height: auto;
797
  }
798
 
799
- #dslc-content .dslc-projects .dslc-project-thumb .dslc-project-main {
800
  position: absolute;
801
  top: 0;
802
  left: 0;
@@ -804,33 +805,33 @@
804
  right: 0;
805
  }
806
 
807
- #dslc-content .dslc-projects .dslc-project-thumb .dslc-project-main.dslc-project-main-visible {
808
  opacity: 1 !important;
809
  }
810
 
811
- #dslc-content .dslc-projects .dslc-project-thumb .dslc-project-main .dslc-init-center {
812
  position: relative;
813
  }
814
 
815
- #dslc-content .dslc-projects .dslc-project-thumb:hover .dslc-project-main {
816
-
817
  }
818
 
819
  body.dslca-enabled #dslc-content .dslc-projects .dslc-post:first-child .dslc-project-thumb .dslc-project-main {
820
  opacity: 1;
821
  }
822
 
823
- #dslc-content .dslc-projects .dslc-project-main {
824
- border: 0px solid transparent;
825
  }
826
 
827
- #dslc-content .dslc-projects .dslc-project-title {
828
  margin-bottom: 10px;
829
  }
830
 
831
- #dslc-content .dslc-projects .dslc-project-title h2 {
832
- color: #000;
833
- font-family: "Open Sans";
834
  font-weight: bold;
835
  font-size: 12px;
836
  line-height: 1;
@@ -838,14 +839,14 @@
838
  padding: 0;
839
  }
840
 
841
- #dslc-content .dslc-projects .dslc-project-title h2 a {
842
  display: block;
843
  color: inherit;
844
  text-decoration: none;
845
  }
846
 
847
- #dslc-content .dslc-projects .dslc-project-cats {
848
- font-family: "Droid Serif";
849
  font-size: 10px;
850
  font-style: italic;
851
  line-height: 1;
@@ -855,7 +856,7 @@
855
  margin-bottom: 22px;
856
  font-size: 13px;
857
  line-height: 22px;
858
- border-top: 0px solid #000;
859
  }
860
 
861
  #dslc-content .dslc-project-read-more {
@@ -886,7 +887,7 @@
886
  }
887
 
888
  .dslc-module-DSLC_Separator {
889
-
890
  }
891
 
892
  .dslc-separator.dslc-separator-style-solid {
@@ -894,7 +895,7 @@
894
  }
895
 
896
  .dslc-separator.dslc-separator-style-dashed {
897
- border-bottom: 1px dashed #ededed;
898
  }
899
 
900
  .dslc-separator.dslc-separator-style-dotted {
@@ -904,23 +905,22 @@
904
  /**
905
  * STAFF MODULE
906
  */
907
-
908
- #dslc-content .dslc-staff {
909
-
910
- }
911
-
912
  #dslc-content .dslc-staff-member {
913
  text-align: center;
914
  }
 
915
 
916
  #dslc-content .dslc-staff-member-thumb {
917
  position: relative;
918
  line-height: 0;
919
  }
920
-
921
  #dslc-content .dslc-staff-member-thumb {
922
  border: 0 solid transparent;
923
  }
 
924
 
925
  #dslc-content .dslc-staff-member-thumb a {
926
  display: inline-block;
@@ -928,7 +928,7 @@
928
  }
929
 
930
  #dslc-content .dslc-staff-member-thumb img {
931
- border-radius: 0;
932
  -moz-box-shadow: none;
933
  -webkit-box-shadow:none;
934
  box-shadow: none;
@@ -953,13 +953,12 @@
953
  position: relative;
954
  }
955
 
956
- #dslc-content .dslc-staff-member-thumb:hover .dslc-staff-member-main {
957
-
958
- }
959
 
960
  body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-staff-member-thumb .dslc-staff-member-main {
961
  opacity: 1;
962
  }
 
 
963
 
964
  #dslc-content .dslc-staff-member-social {
965
  background: #40bde6;
@@ -969,12 +968,15 @@
969
  margin-bottom: 25px;
970
  }
971
 
 
972
  #dslc-content .dslc-staff-member-social a {
973
- color: #fff;
 
974
  margin: 0 6px;
975
- font-size: 13px;
976
  text-decoration: none;
977
  }
 
 
978
 
979
  #dslc-content .dslc-staff-member-main {
980
  border: 0px solid transparent;
@@ -983,23 +985,29 @@
983
  #dslc-content .dslc-staff-member-title {
984
  margin-bottom: 23px;
985
  }
 
 
986
 
987
  #dslc-content .dslc-staff-member-title h2 {
 
988
  color: #323232;
989
  font-size: 15px;
990
  font-family: "Open Sans";
991
  font-weight: 600;
992
  line-height: 1;
 
993
  margin: 0;
994
  padding: 0;
995
  }
996
 
 
997
  #dslc-content .dslc-staff-member-title h2 a {
998
  display: block;
999
  text-decoration: none;
1000
  color: inherit;
1001
  }
1002
-
 
1003
  #dslc-content .dslc-staff-member-position {
1004
  border: 1px solid #e5e5e5;
1005
  font-size: 12px;
@@ -1010,9 +1018,9 @@
1010
  }
1011
 
1012
  #dslc-content .dslc-staff-member-excerpt {
1013
-
1014
- }
1015
 
 
 
1016
  /**
1017
  * TABS MODULE
1018
  */
@@ -1063,7 +1071,7 @@
1063
 
1064
  #dslc-content .dslc-tabs-nav-hook.dslc-active {
1065
  background: #fff;
1066
-
1067
  }
1068
 
1069
  #dslc-content .dslc-tabs-content {
@@ -1151,7 +1159,7 @@
1151
  }
1152
 
1153
  #dslc-content .dslc-testimonial {
1154
-
1155
  }
1156
 
1157
  #dslc-content .dslc-testimonial-main {
@@ -1280,7 +1288,7 @@
1280
  }
1281
 
1282
  #dslc-content .dslc-product {
1283
-
1284
  }
1285
 
1286
  #dslc-content .dslc-product-thumb {
@@ -1316,7 +1324,7 @@
1316
  display: block;
1317
  font-weight: 400;
1318
  font-size: 25px;
1319
- font-family: "Oswald";
1320
  left: 35%;
1321
  line-height: 1;
1322
  position: absolute;
@@ -1373,7 +1381,7 @@
1373
  }
1374
 
1375
  #dslc-content .dslc-products .dslc-product-thumb:hover .dslc-product-main {
1376
-
1377
  }
1378
 
1379
  body.dslca-enabled #dslc-content .dslc-products .dslc-post:first-child .dslc-product-thumb .dslc-product-main {
@@ -1397,8 +1405,8 @@
1397
  float: left;
1398
  font-size: 20px;
1399
  line-height: 1;
1400
- font-family: "Oswald";
1401
- }
1402
 
1403
  #dslc-content .dslc-product-price-secondary ins {
1404
  text-decoration: none;
@@ -1408,7 +1416,7 @@
1408
  #dslc-content .dslc-product-title h2 {
1409
  clear: none;
1410
  font-size: 11px;
1411
- font-family: "Brawler";
1412
  line-height: 1;
1413
  vertical-align: middle;
1414
  margin: 0;
@@ -1567,7 +1575,7 @@
1567
  }
1568
 
1569
  #dslc-content .dslc-tp-gallery-slider-arrows {
1570
-
1571
  }
1572
 
1573
  /**
@@ -1647,7 +1655,7 @@
1647
 
1648
  #dslc-content ul.dslc-staff-social .dslc-icon {
1649
  line-height: 1;
1650
- position: absolute;
1651
  }
1652
 
1653
  #dslc-content ul.dslc-staff-social .dslc-social-label {
@@ -1666,7 +1674,7 @@
1666
  border-radius: 3px;
1667
  color: #fff;
1668
  }
1669
-
1670
  .dslc-notification-box-has-timeout {
1671
  display: none;
1672
  }
@@ -1709,7 +1717,7 @@
1709
  overflow: hidden;
1710
  }
1711
 
1712
- #dslc-content .dslc-button a {
1713
  display: inline-block;
1714
  text-decoration: none;
1715
  line-height: 1;
@@ -1790,11 +1798,11 @@
1790
  margin-left: 50px;
1791
  }
1792
 
1793
- .dslc-res-phone .dslc-comment .dslc-comment {
1794
  margin-left: 0;
1795
  }
1796
 
1797
- .dslc-res-phone .dslc-comment .children {
1798
  margin-left: 0;
1799
  padding-left: 0;
1800
  }
@@ -1802,7 +1810,7 @@
1802
  .dslc-tp-comment-form {
1803
  border: 0 solid transparent;
1804
  }
1805
-
1806
  .dslc-tp-comment-form input[type="text"] {
1807
  line-height: 1;
1808
  }
@@ -1837,44 +1845,51 @@
1837
 
1838
  }
1839
 
1840
- .dslc-image img {
 
 
 
 
 
1841
  max-width: 100%;
1842
  display: inline-block;
1843
  vertical-align: middle;
 
 
1844
  }
1845
 
1846
  /**
1847
  * Progress Bar
1848
  */
1849
 
1850
- .dslc-progress-bar {
1851
  border: 0 solid transparent;
1852
  }
1853
 
1854
- .dslc-progress-bar-label {
1855
  margin: 0;
1856
  padding: 0;
1857
  line-height: 1;
1858
  }
1859
 
1860
- .dslc-progress-bar-loader {
1861
  background: #666;
1862
  display: block;
1863
  height: 18px;
1864
  }
1865
 
1866
- .dslc-progress-bar-loader-inner {
1867
  display: block;
1868
  float: left;
1869
  overflow: hidden;
1870
  white-space: nowrap;
1871
  }
1872
 
1873
- .dslc-progress-bar-animated .dslc-progress-bar-loader-inner {
1874
  opacity: 0;
1875
  }
1876
 
1877
- .dslca-enabled .dslc-progress-bar-animated .dslc-progress-bar-loader-inner {
1878
  opacity: 1;
1879
  }
1880
 
@@ -1882,39 +1897,39 @@
1882
  * Accordion
1883
  */
1884
 
1885
- .dslc-accordion {
1886
  border: 0 solid transparent;
1887
  }
1888
 
1889
- .dslc-accordion-item {
1890
-
1891
  }
1892
 
1893
- .dslc-accordion-item:first-child {
1894
  margin-top: 0 !important;
1895
  }
1896
 
1897
- .dslc-accordion-header {
1898
  border: 0 solid transparent;
1899
  display: block;
1900
  font-size: 11px;
1901
- font-family: "Open Sans";
1902
  font-weight: bold;
1903
  font-size: 11px;
1904
  line-height: 1;
1905
  position: relative;
1906
  }
1907
 
1908
- .dslc-accordion-title {
1909
  border: 0 solid transparent;
1910
  display: block;
1911
  }
1912
 
1913
- .dslc-accordion-hook {
1914
  cursor: pointer;
1915
  }
1916
 
1917
- .dslc-accordion-toggle {
1918
  display: block;
1919
  position: absolute;
1920
  left: 0;
@@ -1922,16 +1937,16 @@
1922
  bottom: 0;
1923
  }
1924
 
1925
- .dslc-accordion-content {
1926
  position: relative;
1927
  border: 0 solid transparent;
1928
  }
1929
 
1930
- .dslca-add-accordion {
1931
  text-align: center;
1932
  }
1933
 
1934
- .dslca-add-accordion-hook {
1935
  background: #78CA4F;
1936
  border-radius: 50%;
1937
  color: #fff;
@@ -1946,117 +1961,117 @@
1946
  margin-top: 10px;
1947
  }
1948
 
1949
- .dslca-add-accordion-hook .dslca-icon {
1950
  position: absolute;
1951
  line-height: 1;
1952
  top: 5px;
1953
  right: 6px;
1954
  }
1955
-
1956
- .dslca-accordion-action-hooks {
1957
  position: absolute;
1958
  right: 14px;
1959
  top: 14px;
1960
  }
1961
 
1962
- .dslca-move-up-accordion-hook,
1963
- .dslca-move-down-accordion-hook {
1964
  color: #5890e5;
1965
  }
1966
 
1967
- .dslca-move-up-accordion-hook:hover,
1968
- .dslca-move-down-accordion-hook:hover {
1969
  color: #3b6fbe;
1970
  }
1971
 
1972
- .dslca-delete-accordion-hook {
1973
  color: #E55F5F;
1974
  cursor: pointer;
1975
  display: inline-block;
1976
  font-size: 12px;
1977
  margin-left: 10px;
1978
  line-height: 1;
1979
- vertical-align: top;
1980
  }
1981
 
1982
- /**
1983
  * Icon
1984
  */
1985
 
1986
- .dslc-icon-module {
1987
  position: relative;
1988
  display: inline-block;
1989
  }
1990
 
1991
- .dslc-icon-module .dslc-icon {
1992
-
1993
  }
1994
 
1995
  /**
1996
  * Navigation
1997
  */
1998
 
1999
- .dslc-navigation {
2000
  z-index: 99998;
2001
  position: relative;
2002
  text-align: right;
2003
  font-size: 0;
2004
  }
2005
 
2006
- .dslc-navigation-inner {
2007
  display: inline-block;
2008
  }
2009
 
2010
- .dslc-navigation .menu {
2011
  list-style: none;
2012
  margin: 0;
2013
  padding: 0;
2014
  }
2015
 
2016
  /* Top level menu li */
2017
- .dslc-navigation .menu > li {
2018
  display: inline-block;
2019
  position: relative;
2020
  z-index: 99998;
2021
  }
2022
 
2023
  /* Top level horizontal menu li */
2024
- .dslc-navigation.dslc-navigation-orientation-horizontal .menu > li {
2025
  margin-top: 0 !important
2026
  }
2027
 
2028
  /* Top level vertical menu li */
2029
- .dslc-navigation.dslc-navigation-orientation-vertical .menu > li {
2030
  display: block;
2031
  margin-left: 0 !important;
2032
  }
2033
 
2034
  /* Top level first menu li */
2035
- .dslc-navigation .menu > li:first-child {
2036
  margin-left: 0 !important;
2037
  }
2038
 
2039
  /* Top level vertical menu li */
2040
- .dslc-navigation.dslc-navigation-orientation-vertical .menu > li:first-child {
2041
  margin-top: 0 !important;
2042
  }
2043
 
2044
  /* Top level menu a */
2045
- .dslc-navigation .menu > li > a {
2046
  display: inline-block;
2047
  text-decoration: none;
2048
  vertical-align: middle;
2049
  }
2050
 
2051
  /* Nav arrow ( submenu indicator ) */
2052
- .dslc-navigation-arrow {
2053
  display: inline-block;
2054
  margin-left: 5px;
2055
  vertical-align: middle;
2056
  }
2057
 
2058
  /* Inner level menu ul */
2059
- .dslc-navigation .menu ul {
2060
  border-style: solid;
2061
  display: none;
2062
  list-style-type: none;
@@ -2068,56 +2083,56 @@
2068
  }
2069
 
2070
  /* Left position menu */
2071
- .dslc-navigation.dslc-navigation-sub-position-left .menu ul {
2072
  left: 0;
2073
  right: auto;
2074
  }
2075
 
2076
  /* Right position menu */
2077
- .dslc-navigation.dslc-navigation-sub-position-right .menu ul {
2078
  right: 0;
2079
  left: auto;
2080
  }
2081
 
2082
  /* Center position menu */
2083
- .dslc-navigation.dslc-navigation-sub-position-center .menu ul {
2084
  left: auto;
2085
  right: auto;
2086
  }
2087
 
2088
  /* Inner level vertical menu ul */
2089
- .dslc-navigation-orientation-vertical .menu ul {
2090
  top: 0;
2091
  left: 100%;
2092
  }
2093
 
2094
  /* Inner level menu inverted */
2095
- .dslc-navigation .menu ul.dslc-navigation-invert-subnav {
2096
  left: auto;
2097
  right: 0;
2098
  }
2099
 
2100
  /* Inner level menu li */
2101
- .dslc-navigation .menu ul li {
2102
  display: block;
2103
  white-space: nowrap;
2104
  margin: 0;
2105
  }
2106
 
2107
  /* Inner level menu a */
2108
- .dslc-navigation .menu ul li a {
2109
  display: block;
2110
  line-height: 1;
2111
  text-decoration: none;
2112
  }
2113
 
2114
  /* Inner level menu last item a */
2115
- .dslc-navigation .menu ul li:last-child a {
2116
  border-bottom: 0 !important;
2117
  }
2118
 
2119
  /* Inner level nav arrow ( submenu indicator ) */
2120
- .dslc-navigation .dt-icon.dt-subnav-arrow {
2121
  display: none;
2122
  color: #bfbfbf;
2123
  font-size: 8px;
@@ -2129,25 +2144,25 @@
2129
  }
2130
 
2131
  /* Inner level nav arrow current menu item */
2132
- .dslc-navigation li.current-menu-item .dt-icon.dt-subnav-arrow {
2133
  color: #878787;
2134
  }
2135
 
2136
  /* Second Level menu ul */
2137
- .dslc-navigation .menu ul ul {
2138
  left: 100%;
2139
  margin-left: -10px;
2140
  top: -1px;
2141
  }
2142
 
2143
  /* Second level menu inverted */
2144
- .dslc-navigation .menu ul ul.dslc-navigation-invert-subnav {
2145
  left: auto;
2146
  right: 100%;
2147
  }
2148
 
2149
  /* Inner level menu show */
2150
- .dslc-navigation .menu li:hover > ul {
2151
  display: block;
2152
  }
2153
 
@@ -2155,13 +2170,13 @@
2155
  * Mobile Navigation
2156
  */
2157
 
2158
- .dslc-mobile-navigation {
2159
  position: relative;
2160
  text-align: right;
2161
  display: none;
2162
  }
2163
 
2164
- .dslc-mobile-navigation select {
2165
  cursor: pointer;
2166
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
2167
  opacity: 0;
@@ -2175,19 +2190,19 @@
2175
  width: 100%;
2176
  }
2177
 
2178
- .dslc-mobile-navigation-hook {
2179
  color: #555;
2180
  font-size: 24px;
2181
  line-height: 22px;
2182
  }
2183
 
2184
- .dslc-res-tablet .dslc-mobile-navigation.dslc-navigation-res-t-enabled,
2185
- .dslc-res-phone .dslc-mobile-navigation.dslc-navigation-res-p-enabled {
2186
  display: block;
2187
  }
2188
 
2189
- .dslc-res-tablet .dslc-navigation.dslc-navigation-res-t-enabled,
2190
- .dslc-res-phone .dslc-navigation.dslc-navigation-res-p-enabled {
2191
  display: none;
2192
  }
2193
 
@@ -2212,7 +2227,7 @@ body.dslc-res-phone .dslc-post-main-inner-link-cover {
2212
  .dslc-posts-social-share {
2213
  line-height: 1;
2214
  }
2215
-
2216
  .dslc-posts-social-share a:last-child {
2217
  margin-right: 0 !important;
2218
  }
3
  */
4
 
5
  #dslc-content .dslc-cpt-post {
6
+
7
  }
8
 
9
  #dslc-content .dslc-cpt-post-main {
54
  }
55
 
56
  #dslc-content .dslc-cpt-post-thumb:hover .dslc-cpt-post-main {
57
+
58
  }
59
 
60
  body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-cpt-post-thumb .dslc-cpt-post-main {
89
  }
90
 
91
  #dslc-content .dslc-cpt-post-title h2 {
92
+ font-family: '';
93
  font-weight: 600;
94
  font-size: 15px;
95
  line-height: 26px;
138
  overflow: hidden;
139
  }
140
 
141
+ /**
142
  * BLOG MODULE
143
  */
144
 
147
  }
148
 
149
  #dslc-content .dslc-blog-post {
150
+
151
  }
152
 
153
  #dslc-content .dslc-blog-post-main {
186
  top: 0;
187
  left: 0;
188
  bottom: 0;
189
+ right: 0;
190
  }
191
 
192
  #dslc-content .dslc-blog-post-thumb .dslc-blog-post-main.dslc-blog-post-main-visible {
198
  }
199
 
200
  #dslc-content .dslc-blog-post-thumb:hover .dslc-blog-post-main {
201
+
202
  }
203
 
204
  body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-blog-post-thumb .dslc-blog-post-main {
246
  }
247
 
248
  #dslc-content .dslc-blog-post-title h2 {
249
+ font-family: '';
250
  font-weight: 600;
251
  font-size: 15px;
252
  line-height: 26px;
281
  * Horizontal Orientation
282
  */
283
 
284
+ #dslc-content .dslc-posts-orientation-horizontal {
285
 
286
  }
287
 
305
  }
306
 
307
  #dslc-content .dslc-download {
308
+
309
  }
310
 
311
  #dslc-content .dslc-download-thumb {
350
  }
351
 
352
  #dslc-content .dslc-download-thumb:hover .dslc-download-main {
353
+
354
  }
355
 
356
  body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-download-thumb .dslc-download-main {
432
  }
433
 
434
  #dslc-content .dslc-gallery {
435
+
436
  }
437
 
438
  #dslc-content .dslc-gallery-thumb {
491
  color: #fff;
492
  display: block;
493
  font-size: 25px;
494
+ font-family: '';
495
  font-weight: 200;
496
  line-height: 1;
497
  margin-bottom: 8px;
501
  color: #7d7d7d;
502
  display: block;
503
  font-size: 11px;
504
+ font-family: '';
505
  line-height: 1;
506
  }
507
 
522
  }
523
 
524
  #dslc-content .dslc-gallery-thumb:hover .dslc-gallery-main {
525
+
526
  }
527
 
528
  body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-gallery-thumb .dslc-gallery-main {
539
  }
540
 
541
  #dslc-content .dslc-gallery-title h2 {
542
+ font-family: '';
543
+ font-size: 11px;
544
  line-height: 1;
545
  margin: 0;
546
  padding: 0;
583
  * INFOBOX MODULE
584
  */
585
 
586
+ #dslc-content .dslc-info-box {
587
  text-align: center;
588
+ border: 0px solid transparent;
589
  -webkit-transition: all 0.2s ease-in-out;
590
  -moz-transition: all 0.2s ease-in-out;
591
  transition: all 0.2s ease-in-out;
592
  }
593
 
594
  .dslc-info-box-main-wrap {
595
+
596
  }
597
 
598
+ #dslc-content .dslc-info-box-image {
599
  margin-bottom: 25px;
600
  position: relative;
601
  font-size: 0;
602
  }
603
 
604
+ #dslc-content .dslc-info-box-image-link {
605
  position: absolute;
606
  top: 0;
607
  left: 0;
609
  bottom: 0;
610
  }
611
 
612
+ #dslc-content .dslc-info-box-icon-pos-aside .dslc-info-box-main {
613
  overflow: hidden;
614
  }
615
 
616
+ #dslc-content .dslc-info-box-icon-pos-aside .dslc-info-box-image {
617
  float: left;
618
  margin-right: 20px;
619
  }
620
 
621
+ #dslc-content .dslc-info-box-image-inner {
622
  display: inline-block;
623
  position: relative;
624
  border: 0px solid transparent;
625
  }
626
 
627
+ #dslc-content .dslc-info-box-image-inner .dslc-icon {
628
  color: #fff;
629
  line-height: 1;
630
  font-size: 40px;
631
  position: absolute;
632
  }
633
 
634
+ #dslc-content .dslc-info-box-image-alt-inner img {
635
  -webkit-transition: all 0.2s ease-in-out;
636
  -moz-transition: all 0.2s ease-in-out;
637
  transition: all 0.2s ease-in-out;
638
  }
639
 
640
+ #dslc-content .dslc-info-box-title {
641
  margin-bottom: 25px;
642
  }
643
 
644
+ #dslc-content .dslc-info-box-title h4 {
645
  font-size: 17px;
646
  line-height: 1;
647
  margin: 0;
649
  font-weight: 400;
650
  }
651
 
652
+ #dslc-content .dslc-info-box-title h4 a {
653
  color: inherit;
654
  text-decoration: none;
655
  }
656
 
657
+ #dslc-content .dslc-info-box-content {
658
  margin-bottom: 25px;
659
  }
660
 
661
+ #dslc-content .dslc-info-box-button {
662
  font-size: 0;
663
  }
664
 
665
+ #dslc-content .dslc-info-box-button a {
666
  display: inline-block;
667
  line-height: 1;
668
  text-decoration: none;
669
  }
670
 
671
+ #dslc-content .dslc-info-box-button-aside {
672
  float: right;
673
  }
674
 
675
  /**
676
  * PARTNERS MODULE
677
  */
678
+ /*
679
  #dslc-content .dslc-partner {
 
 
680
 
681
+ }
682
+ */
683
  #dslc-content .dslc-partner .dslc-partner-thumb {
684
+ /*border: 1px solid #ebebeb;*/
685
+ /*padding: 50px 0;*/
686
+ /*text-align: center;*/
687
  position: relative;
688
  line-height: 0;
689
  }
691
  #dslc-content .dslc-partner .dslc-partner-thumb a {
692
  display: inline-block;
693
  max-width: 100%;
694
+ }
695
 
696
  #dslc-content .dslc-partner .dslc-partner-thumb img {
697
  border-radius: 0;
729
  opacity: 1;
730
  }
731
 
732
+ /*
733
  #dslc-content .dslc-partner .dslc-partner-main {
734
+ border: 0px solid transparent;
735
  }
736
+ */
737
+ #dslc-content .dslc-partner-title {
738
  margin-bottom: 10px;
739
  }
740
 
741
+ #dslc-content .dslc-partner-title h2 {
742
+ /*color: #222;*/
743
+ /*font-family: '';*/
744
+ /*font-weight: bold;*/
745
+ /*font-size: 14px;*/
746
+ /*line-height: 1;*/
747
  margin: 0;
748
  padding: 0;
749
  }
750
 
751
+ #dslc-content .dslc-partner-title h2 a {
752
  display: block;
753
  color: inherit;
754
  text-decoration: none;
755
  }
756
 
757
  #dslc-content .dslc-partner .dslc-partner-excerpt {
758
+ /*color: #444;*/
759
+ /*font-family: "Open Sans";*/
760
+ /*font-weight: 400;*/
761
+ /*font-size: 12px;*/
762
+ /*line-height: 22px;*/
763
  }
764
 
765
 
768
  */
769
 
770
  #dslc-content .dslc-project {
771
+
772
  }
773
 
774
+ #dslc-content .dslc-project-thumb {
775
  margin-bottom: 24px;
776
  position: relative;
777
  line-height: 0;
778
  }
779
 
780
+ #dslc-content .dslc-project-thumb-inner {
781
  border: 0 solid transparent;
782
  overflow: hidden;
783
  }
784
 
785
+ #dslc-content .dslc-project-thumb a {
786
  display: inline-block;
787
  max-width: 100%;
788
  }
789
 
790
+ #dslc-content .dslc-project-thumb img {
791
  border-radius: 0;
792
  -moz-box-shadow: none;
793
  -webkit-box-shadow:none;
797
  height: auto;
798
  }
799
 
800
+ #dslc-content .dslc-project-thumb .dslc-project-main {
801
  position: absolute;
802
  top: 0;
803
  left: 0;
805
  right: 0;
806
  }
807
 
808
+ #dslc-content .dslc-project-thumb .dslc-project-main.dslc-project-main-visible {
809
  opacity: 1 !important;
810
  }
811
 
812
+ #dslc-content .dslc-project-thumb .dslc-project-main .dslc-init-center {
813
  position: relative;
814
  }
815
 
816
+ #dslc-content .dslc-project-thumb:hover .dslc-project-main {
817
+
818
  }
819
 
820
  body.dslca-enabled #dslc-content .dslc-projects .dslc-post:first-child .dslc-project-thumb .dslc-project-main {
821
  opacity: 1;
822
  }
823
 
824
+ #dslc-content .dslc-project-main {
825
+ border: 0px solid transparent;
826
  }
827
 
828
+ #dslc-content .dslc-project-title {
829
  margin-bottom: 10px;
830
  }
831
 
832
+ #dslc-content .dslc-project-title h2 {
833
+ /*color: #000;*/
834
+ /*font-family: "Open Sans";*/
835
  font-weight: bold;
836
  font-size: 12px;
837
  line-height: 1;
839
  padding: 0;
840
  }
841
 
842
+ #dslc-content .dslc-project-title h2 a {
843
  display: block;
844
  color: inherit;
845
  text-decoration: none;
846
  }
847
 
848
+ #dslc-content .dslc-project-cats {
849
+ font-family: '';
850
  font-size: 10px;
851
  font-style: italic;
852
  line-height: 1;
856
  margin-bottom: 22px;
857
  font-size: 13px;
858
  line-height: 22px;
859
+ border-top: 0px solid #000;
860
  }
861
 
862
  #dslc-content .dslc-project-read-more {
887
  }
888
 
889
  .dslc-module-DSLC_Separator {
890
+
891
  }
892
 
893
  .dslc-separator.dslc-separator-style-solid {
895
  }
896
 
897
  .dslc-separator.dslc-separator-style-dashed {
898
+ border-bottom: 1px dashed #ededed;
899
  }
900
 
901
  .dslc-separator.dslc-separator-style-dotted {
905
  /**
906
  * STAFF MODULE
907
  */
908
+ /*
909
+ already in module defaults
 
 
 
910
  #dslc-content .dslc-staff-member {
911
  text-align: center;
912
  }
913
+ */
914
 
915
  #dslc-content .dslc-staff-member-thumb {
916
  position: relative;
917
  line-height: 0;
918
  }
919
+ /*
920
  #dslc-content .dslc-staff-member-thumb {
921
  border: 0 solid transparent;
922
  }
923
+ */
924
 
925
  #dslc-content .dslc-staff-member-thumb a {
926
  display: inline-block;
928
  }
929
 
930
  #dslc-content .dslc-staff-member-thumb img {
931
+ /*border-radius: 0;*/
932
  -moz-box-shadow: none;
933
  -webkit-box-shadow:none;
934
  box-shadow: none;
953
  position: relative;
954
  }
955
 
 
 
 
956
 
957
  body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-staff-member-thumb .dslc-staff-member-main {
958
  opacity: 1;
959
  }
960
+ /*
961
+ – all properties are already in the module defaults
962
 
963
  #dslc-content .dslc-staff-member-social {
964
  background: #40bde6;
968
  margin-bottom: 25px;
969
  }
970
 
971
+ */
972
  #dslc-content .dslc-staff-member-social a {
973
+ /*color: #fff;
974
+ font-size: 13px; – already in the module defaults */
975
  margin: 0 6px;
 
976
  text-decoration: none;
977
  }
978
+ /*
979
+ – already in the module defaults
980
 
981
  #dslc-content .dslc-staff-member-main {
982
  border: 0px solid transparent;
985
  #dslc-content .dslc-staff-member-title {
986
  margin-bottom: 23px;
987
  }
988
+ */
989
+
990
 
991
  #dslc-content .dslc-staff-member-title h2 {
992
+ /*
993
  color: #323232;
994
  font-size: 15px;
995
  font-family: "Open Sans";
996
  font-weight: 600;
997
  line-height: 1;
998
+ */
999
  margin: 0;
1000
  padding: 0;
1001
  }
1002
 
1003
+
1004
  #dslc-content .dslc-staff-member-title h2 a {
1005
  display: block;
1006
  text-decoration: none;
1007
  color: inherit;
1008
  }
1009
+ /*
1010
+ – already in the module defaults
1011
  #dslc-content .dslc-staff-member-position {
1012
  border: 1px solid #e5e5e5;
1013
  font-size: 12px;
1018
  }
1019
 
1020
  #dslc-content .dslc-staff-member-excerpt {
 
 
1021
 
1022
+ }
1023
+ */
1024
  /**
1025
  * TABS MODULE
1026
  */
1071
 
1072
  #dslc-content .dslc-tabs-nav-hook.dslc-active {
1073
  background: #fff;
1074
+
1075
  }
1076
 
1077
  #dslc-content .dslc-tabs-content {
1159
  }
1160
 
1161
  #dslc-content .dslc-testimonial {
1162
+
1163
  }
1164
 
1165
  #dslc-content .dslc-testimonial-main {
1288
  }
1289
 
1290
  #dslc-content .dslc-product {
1291
+
1292
  }
1293
 
1294
  #dslc-content .dslc-product-thumb {
1324
  display: block;
1325
  font-weight: 400;
1326
  font-size: 25px;
1327
+ font-family: '';
1328
  left: 35%;
1329
  line-height: 1;
1330
  position: absolute;
1381
  }
1382
 
1383
  #dslc-content .dslc-products .dslc-product-thumb:hover .dslc-product-main {
1384
+
1385
  }
1386
 
1387
  body.dslca-enabled #dslc-content .dslc-products .dslc-post:first-child .dslc-product-thumb .dslc-product-main {
1405
  float: left;
1406
  font-size: 20px;
1407
  line-height: 1;
1408
+ font-family: '';
1409
+ }
1410
 
1411
  #dslc-content .dslc-product-price-secondary ins {
1412
  text-decoration: none;
1416
  #dslc-content .dslc-product-title h2 {
1417
  clear: none;
1418
  font-size: 11px;
1419
+ font-family: '';
1420
  line-height: 1;
1421
  vertical-align: middle;
1422
  margin: 0;
1575
  }
1576
 
1577
  #dslc-content .dslc-tp-gallery-slider-arrows {
1578
+
1579
  }
1580
 
1581
  /**
1655
 
1656
  #dslc-content ul.dslc-staff-social .dslc-icon {
1657
  line-height: 1;
1658
+ position: absolute;
1659
  }
1660
 
1661
  #dslc-content ul.dslc-staff-social .dslc-social-label {
1674
  border-radius: 3px;
1675
  color: #fff;
1676
  }
1677
+
1678
  .dslc-notification-box-has-timeout {
1679
  display: none;
1680
  }
1717
  overflow: hidden;
1718
  }
1719
 
1720
+ #dslc-content .dslc-button a {
1721
  display: inline-block;
1722
  text-decoration: none;
1723
  line-height: 1;
1798
  margin-left: 50px;
1799
  }
1800
 
1801
+ body.dslc-res-phone .dslc-comment .dslc-comment {
1802
  margin-left: 0;
1803
  }
1804
 
1805
+ body.dslc-res-phone .dslc-comment .children {
1806
  margin-left: 0;
1807
  padding-left: 0;
1808
  }
1810
  .dslc-tp-comment-form {
1811
  border: 0 solid transparent;
1812
  }
1813
+
1814
  .dslc-tp-comment-form input[type="text"] {
1815
  line-height: 1;
1816
  }
1845
 
1846
  }
1847
 
1848
+ #dslc-content .dslc-image,
1849
+ #dslc-content .dslc-image > a {
1850
+ display: inline-block;
1851
+ }
1852
+
1853
+ #dslc-content .dslc-image img {
1854
  max-width: 100%;
1855
  display: inline-block;
1856
  vertical-align: middle;
1857
+ box-shadow: none;
1858
+ border-radius: none;
1859
  }
1860
 
1861
  /**
1862
  * Progress Bar
1863
  */
1864
 
1865
+ #dslc-content .dslc-progress-bar {
1866
  border: 0 solid transparent;
1867
  }
1868
 
1869
+ #dslc-content .dslc-progress-bar-label {
1870
  margin: 0;
1871
  padding: 0;
1872
  line-height: 1;
1873
  }
1874
 
1875
+ #dslc-content .dslc-progress-bar-loader {
1876
  background: #666;
1877
  display: block;
1878
  height: 18px;
1879
  }
1880
 
1881
+ #dslc-content .dslc-progress-bar-loader-inner {
1882
  display: block;
1883
  float: left;
1884
  overflow: hidden;
1885
  white-space: nowrap;
1886
  }
1887
 
1888
+ #dslc-content .dslc-progress-bar-animated .dslc-progress-bar-loader-inner {
1889
  opacity: 0;
1890
  }
1891
 
1892
+ #dslc-content .dslca-enabled .dslc-progress-bar-animated .dslc-progress-bar-loader-inner {
1893
  opacity: 1;
1894
  }
1895
 
1897
  * Accordion
1898
  */
1899
 
1900
+ #dslc-content .dslc-accordion {
1901
  border: 0 solid transparent;
1902
  }
1903
 
1904
+ #dslc-content .dslc-accordion-item {
1905
+
1906
  }
1907
 
1908
+ #dslc-content .dslc-accordion-item:first-child {
1909
  margin-top: 0 !important;
1910
  }
1911
 
1912
+ #dslc-content .dslc-accordion-header {
1913
  border: 0 solid transparent;
1914
  display: block;
1915
  font-size: 11px;
1916
+ font-family: '';
1917
  font-weight: bold;
1918
  font-size: 11px;
1919
  line-height: 1;
1920
  position: relative;
1921
  }
1922
 
1923
+ #dslc-content .dslc-accordion-title {
1924
  border: 0 solid transparent;
1925
  display: block;
1926
  }
1927
 
1928
+ #dslc-content .dslc-accordion-hook {
1929
  cursor: pointer;
1930
  }
1931
 
1932
+ #dslc-content .dslc-accordion-toggle {
1933
  display: block;
1934
  position: absolute;
1935
  left: 0;
1937
  bottom: 0;
1938
  }
1939
 
1940
+ #dslc-content .dslc-accordion-content {
1941
  position: relative;
1942
  border: 0 solid transparent;
1943
  }
1944
 
1945
+ #dslc-content .dslca-add-accordion {
1946
  text-align: center;
1947
  }
1948
 
1949
+ #dslc-content .dslca-add-accordion-hook {
1950
  background: #78CA4F;
1951
  border-radius: 50%;
1952
  color: #fff;
1961
  margin-top: 10px;
1962
  }
1963
 
1964
+ #dslc-content .dslca-add-accordion-hook .dslca-icon {
1965
  position: absolute;
1966
  line-height: 1;
1967
  top: 5px;
1968
  right: 6px;
1969
  }
1970
+
1971
+ #dslc-content .dslca-accordion-action-hooks {
1972
  position: absolute;
1973
  right: 14px;
1974
  top: 14px;
1975
  }
1976
 
1977
+ #dslc-content .dslca-move-up-accordion-hook,
1978
+ #dslc-content .dslca-move-down-accordion-hook {
1979
  color: #5890e5;
1980
  }
1981
 
1982
+ #dslc-content .dslca-move-up-accordion-hook:hover,
1983
+ #dslc-content .dslca-move-down-accordion-hook:hover {
1984
  color: #3b6fbe;
1985
  }
1986
 
1987
+ #dslc-content .dslca-delete-accordion-hook {
1988
  color: #E55F5F;
1989
  cursor: pointer;
1990
  display: inline-block;
1991
  font-size: 12px;
1992
  margin-left: 10px;
1993
  line-height: 1;
1994
+ vertical-align: top;
1995
  }
1996
 
1997
+ /**
1998
  * Icon
1999
  */
2000
 
2001
+ #dslc-content .dslc-icon-module {
2002
  position: relative;
2003
  display: inline-block;
2004
  }
2005
 
2006
+ #dslc-content .dslc-icon-module .dslc-icon {
2007
+
2008
  }
2009
 
2010
  /**
2011
  * Navigation
2012
  */
2013
 
2014
+ #dslc-content .dslc-navigation {
2015
  z-index: 99998;
2016
  position: relative;
2017
  text-align: right;
2018
  font-size: 0;
2019
  }
2020
 
2021
+ #dslc-content .dslc-navigation-inner {
2022
  display: inline-block;
2023
  }
2024
 
2025
+ #dslc-content .dslc-navigation .menu {
2026
  list-style: none;
2027
  margin: 0;
2028
  padding: 0;
2029
  }
2030
 
2031
  /* Top level menu li */
2032
+ #dslc-content .dslc-navigation .menu > li {
2033
  display: inline-block;
2034
  position: relative;
2035
  z-index: 99998;
2036
  }
2037
 
2038
  /* Top level horizontal menu li */
2039
+ #dslc-content .dslc-navigation.dslc-navigation-orientation-horizontal .menu > li {
2040
  margin-top: 0 !important
2041
  }
2042
 
2043
  /* Top level vertical menu li */
2044
+ #dslc-content .dslc-navigation.dslc-navigation-orientation-vertical .menu > li {
2045
  display: block;
2046
  margin-left: 0 !important;
2047
  }
2048
 
2049
  /* Top level first menu li */
2050
+ #dslc-content .dslc-navigation .menu > li:first-child {
2051
  margin-left: 0 !important;
2052
  }
2053
 
2054
  /* Top level vertical menu li */
2055
+ #dslc-content .dslc-navigation.dslc-navigation-orientation-vertical .menu > li:first-child {
2056
  margin-top: 0 !important;
2057
  }
2058
 
2059
  /* Top level menu a */
2060
+ #dslc-content .dslc-navigation .menu > li > a {
2061
  display: inline-block;
2062
  text-decoration: none;
2063
  vertical-align: middle;
2064
  }
2065
 
2066
  /* Nav arrow ( submenu indicator ) */
2067
+ #dslc-content .dslc-navigation-arrow {
2068
  display: inline-block;
2069
  margin-left: 5px;
2070
  vertical-align: middle;
2071
  }
2072
 
2073
  /* Inner level menu ul */
2074
+ #dslc-content .dslc-navigation .menu ul {
2075
  border-style: solid;
2076
  display: none;
2077
  list-style-type: none;
2083
  }
2084
 
2085
  /* Left position menu */
2086
+ #dslc-content .dslc-navigation.dslc-navigation-sub-position-left .menu ul {
2087
  left: 0;
2088
  right: auto;
2089
  }
2090
 
2091
  /* Right position menu */
2092
+ #dslc-content .dslc-navigation.dslc-navigation-sub-position-right .menu ul {
2093
  right: 0;
2094
  left: auto;
2095
  }
2096
 
2097
  /* Center position menu */
2098
+ #dslc-content .dslc-navigation.dslc-navigation-sub-position-center .menu ul {
2099
  left: auto;
2100
  right: auto;
2101
  }
2102
 
2103
  /* Inner level vertical menu ul */
2104
+ #dslc-content .dslc-navigation-orientation-vertical .menu ul {
2105
  top: 0;
2106
  left: 100%;
2107
  }
2108
 
2109
  /* Inner level menu inverted */
2110
+ #dslc-content .dslc-navigation .menu ul.dslc-navigation-invert-subnav {
2111
  left: auto;
2112
  right: 0;
2113
  }
2114
 
2115
  /* Inner level menu li */
2116
+ #dslc-content .dslc-navigation .menu ul li {
2117
  display: block;
2118
  white-space: nowrap;
2119
  margin: 0;
2120
  }
2121
 
2122
  /* Inner level menu a */
2123
+ #dslc-content .dslc-navigation .menu ul li a {
2124
  display: block;
2125
  line-height: 1;
2126
  text-decoration: none;
2127
  }
2128
 
2129
  /* Inner level menu last item a */
2130
+ #dslc-content .dslc-navigation .menu ul li:last-child a {
2131
  border-bottom: 0 !important;
2132
  }
2133
 
2134
  /* Inner level nav arrow ( submenu indicator ) */
2135
+ #dslc-content .dslc-navigation .dt-icon.dt-subnav-arrow {
2136
  display: none;
2137
  color: #bfbfbf;
2138
  font-size: 8px;
2144
  }
2145
 
2146
  /* Inner level nav arrow current menu item */
2147
+ #dslc-content .dslc-navigation li.current-menu-item .dt-icon.dt-subnav-arrow {
2148
  color: #878787;
2149
  }
2150
 
2151
  /* Second Level menu ul */
2152
+ #dslc-content .dslc-navigation .menu ul ul {
2153
  left: 100%;
2154
  margin-left: -10px;
2155
  top: -1px;
2156
  }
2157
 
2158
  /* Second level menu inverted */
2159
+ #dslc-content .dslc-navigation .menu ul ul.dslc-navigation-invert-subnav {
2160
  left: auto;
2161
  right: 100%;
2162
  }
2163
 
2164
  /* Inner level menu show */
2165
+ #dslc-content .dslc-navigation .menu li:hover > ul {
2166
  display: block;
2167
  }
2168
 
2170
  * Mobile Navigation
2171
  */
2172
 
2173
+ #dslc-content .dslc-mobile-navigation {
2174
  position: relative;
2175
  text-align: right;
2176
  display: none;
2177
  }
2178
 
2179
+ #dslc-content .dslc-mobile-navigation select {
2180
  cursor: pointer;
2181
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
2182
  opacity: 0;
2190
  width: 100%;
2191
  }
2192
 
2193
+ #dslc-content .dslc-mobile-navigation-hook {
2194
  color: #555;
2195
  font-size: 24px;
2196
  line-height: 22px;
2197
  }
2198
 
2199
+ body.dslc-res-tablet .dslc-mobile-navigation.dslc-navigation-res-t-enabled,
2200
+ body.dslc-res-phone .dslc-mobile-navigation.dslc-navigation-res-p-enabled {
2201
  display: block;
2202
  }
2203
 
2204
+ body.dslc-res-tablet .dslc-navigation.dslc-navigation-res-t-enabled,
2205
+ body.dslc-res-phone .dslc-navigation.dslc-navigation-res-p-enabled {
2206
  display: none;
2207
  }
2208
 
2227
  .dslc-posts-social-share {
2228
  line-height: 1;
2229
  }
2230
+
2231
  .dslc-posts-social-share a:last-child {
2232
  margin-right: 0 !important;
2233
  }
css/modules.min.css CHANGED
@@ -1 +1 @@
1
- #dslc-content .dslc-cpt-post-main{border:0 solid transparent}#dslc-content .dslc-cpt-post-thumb{margin-bottom:20px;overflow:hidden;position:relative;line-height:0}#dslc-content .dslc-cpt-post-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-cpt-post-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-cpt-post-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-cpt-post-thumb .dslc-cpt-post-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-cpt-post-thumb .dslc-cpt-post-main.dslc-cpt-post-main-visible{opacity:1!important}#dslc-content .dslc-cpt-post-thumb .dslc-cpt-post-main .dslc-init-center{position:relative}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-cpt-post-thumb .dslc-cpt-post-main{opacity:1}#dslc-content .dslc-cpt-post-meta{border:1px solid #e5e5e5;border-left:0;border-right:0;margin-bottom:20px;overflow:hidden;padding:13px 0;font-size:11px;line-height:1}#dslc-content .dslc-cpt-post-meta-author{float:left}#dslc-content .dslc-cpt-post-meta-author a{text-decoration:none}#dslc-content .dslc-cpt-post-meta-date{float:right}#dslc-content .dslc-cpt-post-title{margin-bottom:13px}#dslc-content .dslc-cpt-post-title h2{font-family:"Open Sans";font-weight:600;font-size:15px;line-height:26px;margin:0;padding:0}#dslc-content .dslc-cpt-post-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-cpt-post-excerpt{margin-bottom:22px;font-size:13px;line-height:22px}#dslc-content .dslc-cpt-post-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}#dslc-content .dslc-cpt-posts-orientation-horizontal .dslc-cpt-post-thumb{float:left;margin-right:20px;width:200px}#dslc-content .dslc-cpt-posts-orientation-horizontal .dslc-cpt-post-main,.dslc-post-thumb{overflow:hidden}#dslc-content .dslc-blog-post-main{border:0 solid transparent}#dslc-content .dslc-blog-post-thumb{margin-bottom:20px;overflow:hidden;position:relative;line-height:0}#dslc-content .dslc-blog-post-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-blog-post-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-blog-post-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-blog-post-thumb .dslc-blog-post-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-blog-post-thumb .dslc-blog-post-main.dslc-blog-post-main-visible{opacity:1!important}#dslc-content .dslc-blog-post-thumb .dslc-blog-post-main .dslc-init-center{position:relative}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-blog-post-thumb .dslc-blog-post-main{opacity:1}#dslc-content .dslc-blog-post-meta{border:1px solid #e5e5e5;border-left:0;border-right:0;margin-bottom:20px;overflow:hidden;padding:13px 0;font-size:11px;line-height:1}#dslc-content .dslc-blog-post-meta-author{float:left}#dslc-content .dslc-blog-post-meta-avatar{margin-right:10px;width:30px;display:inline-block}#dslc-content .dslc-blog-post-meta-avatar img{vertical-align:middle;width:100%;height:auto;border-radius:50%}#dslc-content .dslc-blog-post-meta-author a{text-decoration:none}#dslc-content .dslc-blog-post-meta-date{float:right}#dslc-content .dslc-blog-post-title{margin-bottom:13px}#dslc-content .dslc-blog-post-title h2{font-family:"Open Sans";font-weight:600;font-size:15px;line-height:26px;margin:0;padding:0}#dslc-content .dslc-blog-post-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-blog-post-excerpt{margin-bottom:22px;font-size:13px;line-height:22px}#dslc-content .dslc-blog-post-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}#dslc-content .dslc-posts-orientation-horizontal .dslc-post-thumb{float:left;margin-right:20px;width:200px}#dslc-content .dslc-posts-orientation-horizontal .dslc-post-main{overflow:hidden}#dslc-content .dslc-download-thumb{position:relative;line-height:0}#dslc-content .dslc-download-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-download-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-download-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-download-download a,#dslc-content .dslc-download-main{border:0 solid transparent;text-align:center}#dslc-content .dslc-download-thumb .dslc-download-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-download-thumb .dslc-download-main.dslc-download-main-visible{opacity:1!important}#dslc-content .dslc-download-thumb .dslc-download-main .dslc-init-center{position:relative}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-download-thumb .dslc-download-main{opacity:1}#dslc-content .dslc-download-title{margin-bottom:13px}#dslc-content .dslc-download-title h2{font-size:15px;line-height:1.7;margin:0;padding:0}#dslc-content .dslc-download-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-download-tags{border:1px solid #e5e5e5;border-width:1px 0;font-size:12px;padding:8px 0;line-height:1;margin-bottom:22px}#dslc-content .dslc-download-excerpt{margin-bottom:22px;font-size:13px;line-height:22px;font-weight:400}#dslc-content .dslc-download-download{margin-bottom:10px}#dslc-content .dslc-download-download a{background:#ff4e01;border-radius:3px;color:#fff;display:block;font-size:13px;font-weight:700;line-height:1;padding:15px 0;text-decoration:none}#dslc-content .dslc-download-download .dslc-icon{margin-right:10px}#dslc-content .dslc-download-info{font-size:10px;font-style:italic}#dslc-content .dslc-gallery-thumb{position:relative;line-height:0}#dslc-content .dslc-gallery-thumb-inner{border:0 solid transparent;position:relative;overflow:hidden}#dslc-content .dslc-gallery-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-gallery-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;display:block;box-shadow:none;max-width:100%;height:auto}#dslc-content .dslc-gallery-images-count{background:0 0;border:0 solid transparent;border-radius:50%;position:absolute;top:40%;left:35%;text-align:center;text-decoration:none}#dslc-content .dslc-gallery-images-count-bg{background:0 0;border:0 solid transparent;position:absolute;top:0;left:0;right:0;bottom:0}#dslc-content .dslc-gallery-images-count-main{position:relative}#dslc-content .dslc-gallery-images-count-num{color:#fff;display:block;font-size:25px;font-family:Oswald;font-weight:200;line-height:1;margin-bottom:8px}#dslc-content .dslc-gallery-images-count-txt{color:#7d7d7d;display:block;font-size:11px;font-family:Brawler;line-height:1}#dslc-content .dslc-gallery-thumb .dslc-gallery-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-gallery-thumb .dslc-gallery-main.dslc-gallery-main-visible{opacity:1!important}#dslc-content .dslc-gallery-thumb .dslc-gallery-main .dslc-init-center{position:relative}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-gallery-thumb .dslc-gallery-main{opacity:1}#dslc-content .dslc-gallery-main{border:0 solid transparent;text-align:center}#dslc-content .dslc-gallery-title{margin-bottom:15px}#dslc-content .dslc-gallery-title h2{font-family:Brawler;font-size:11px;line-height:1;margin:0;padding:0}#dslc-content .dslc-gallery-title h2 a{display:block;color:#7d7d7d;text-decoration:none}#dslc-content .dslc-gallery-sep{display:block;height:1px;border-bottom:1px solid #4a4a4a;margin-bottom:15px}#dslc-content .dslc-gallery-excerpt{font-size:12px;border-width:1px 0 0}#dslc-content .dslc-gallery-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}#dslc-content .dslc-gallery .dslc-lightbox-gallery{display:none}.dslc-info-box{text-align:center;border:0 solid transparent;-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.dslc-info-box-image{margin-bottom:25px;position:relative;font-size:0}.dslc-info-box-image-link{position:absolute;top:0;left:0;right:0;bottom:0}.dslc-info-box-icon-pos-aside .dslc-info-box-main{overflow:hidden}.dslc-info-box-icon-pos-aside .dslc-info-box-image{float:left;margin-right:20px}.dslc-info-box-image-inner{display:inline-block;position:relative;border:0 solid transparent}.dslc-info-box-image-inner .dslc-icon{color:#fff;line-height:1;font-size:40px;position:absolute}.dslc-info-box-image-alt-inner img{-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.dslc-info-box-title{margin-bottom:25px}.dslc-info-box-title h4{font-size:17px;line-height:1;margin:0;padding:0;font-weight:400}.dslc-info-box-title h4 a{color:inherit;text-decoration:none}.dslc-info-box-content{margin-bottom:25px}.dslc-info-box-button{font-size:0}.dslc-info-box-button a{display:inline-block;line-height:1;text-decoration:none}.dslc-info-box-button-aside{float:right}#dslc-content .dslc-partner .dslc-partner-thumb{border:1px solid #ebebeb;padding:50px 0;text-align:center;position:relative;line-height:0}#dslc-content .dslc-partner .dslc-partner-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-partner .dslc-partner-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:inline-block;vertical-align:bottom;width:auto;max-width:100%;height:auto}#dslc-content .dslc-partner-thumb .dslc-partner-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-partner-thumb .dslc-partner-main.dslc-partner-main-visible{opacity:1!important}#dslc-content .dslc-partner-thumb .dslc-partner-main .dslc-init-center{position:relative}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-partner-thumb .dslc-partner-main{opacity:1}#dslc-content .dslc-partner .dslc-partner-main{border:0 solid transparent}#dslc-content .dslc-partner .dslc-partner-title{margin-bottom:10px}#dslc-content .dslc-partner .dslc-partner-title h2{color:#222;font-family:Oswald;font-weight:700;font-size:14px;line-height:1;margin:0;padding:0}#dslc-content .dslc-partner .dslc-partner-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-partner .dslc-partner-excerpt{color:#444;font-family:"Open Sans";font-weight:400;font-size:12px;line-height:22px}#dslc-content .dslc-projects .dslc-project-thumb{margin-bottom:24px;position:relative;line-height:0}#dslc-content .dslc-projects .dslc-project-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-projects .dslc-project-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-projects .dslc-project-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-projects .dslc-project-thumb .dslc-project-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-projects .dslc-project-thumb .dslc-project-main.dslc-project-main-visible{opacity:1!important}#dslc-content .dslc-projects .dslc-project-thumb .dslc-project-main .dslc-init-center{position:relative}body.dslca-enabled #dslc-content .dslc-projects .dslc-post:first-child .dslc-project-thumb .dslc-project-main{opacity:1}#dslc-content .dslc-projects .dslc-project-main{border:0 solid transparent}#dslc-content .dslc-projects .dslc-project-title{margin-bottom:10px}#dslc-content .dslc-projects .dslc-project-title h2{color:#000;font-family:"Open Sans";font-weight:700;font-size:12px;line-height:1;margin:0;padding:0}#dslc-content .dslc-projects .dslc-project-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-projects .dslc-project-cats{font-family:"Droid Serif";font-size:10px;font-style:italic;line-height:1}#dslc-content .dslc-project-excerpt{margin-bottom:22px;font-size:13px;line-height:22px;border-top:0 solid #000}#dslc-content .dslc-project-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}.dslc-separator-wrapper{padding-bottom:1px}.dslc-separator{clear:both;height:1px;padding-bottom:25px;margin-bottom:25px;width:100%}.dslc-separator.dslc-separator-style-solid{border-bottom:1px solid #ededed}.dslc-separator.dslc-separator-style-dashed{border-bottom:1px dashed #ededed}.dslc-separator.dslc-separator-style-dotted{border-bottom:1px dotted #ededed}#dslc-content .dslc-staff-member{text-align:center}#dslc-content .dslc-staff-member-thumb{position:relative;line-height:0;border:0 solid transparent}#dslc-content .dslc-staff-member-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-staff-member-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-staff-member-thumb .dslc-staff-member-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-staff-member-thumb .dslc-staff-member-main.dslc-staff-member-main-visible{opacity:1!important}#dslc-content .dslc-staff-member-thumb .dslc-staff-member-main .dslc-init-center{position:relative}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-staff-member-thumb .dslc-staff-member-main{opacity:1}#dslc-content .dslc-staff-member-social{background:#40bde6;border:0 solid transparent;border-radius:0 0 3px 3px;padding:12px 0;margin-bottom:25px}#dslc-content .dslc-staff-member-social a{color:#fff;margin:0 6px;font-size:13px;text-decoration:none}#dslc-content .dslc-staff-member-main{border:0 solid transparent}#dslc-content .dslc-staff-member-title{margin-bottom:23px}#dslc-content .dslc-staff-member-title h2{color:#323232;font-size:15px;font-family:"Open Sans";font-weight:600;line-height:1;margin:0;padding:0}#dslc-content .dslc-staff-member-title h2 a{display:block;text-decoration:none;color:inherit}#dslc-content .dslc-staff-member-position{border:1px solid #e5e5e5;font-size:12px;font-weight:600;font-style:italic;line-height:1;margin-bottom:20px}#dslc-content .dslc-tabs-nav-pos-aside .dslc-tabs-nav{float:left;margin-bottom:0!important}#dslc-content .dslc-tabs-nav-pos-above .dslc-tabs-nav{margin-right:0!important}#dslc-content .dslc-tabs-nav-hook{background:#fbfbfb;border:1px solid #e8e8e8;border-bottom:1px solid #e8e8e8;border-radius:3px 3px 0 0;bottom:-1px;cursor:pointer;display:inline-block;padding:10px;position:relative;line-height:1;margin-left:-1px}#dslc-content .dslc-tabs-nav-pos-aside .dslc-tabs-nav-hook{display:block;margin-left:0!important}#dslc-content .dslc-tabs-nav-pos-above .dslc-tabs-nav-hook{margin-bottom:0!important}#dslc-content .dslc-tabs-nav-hook:first-child{margin-left:0!important}#dslc-content .dslc-tabs-nav-hook.dslc-active{background:#fff}#dslc-content .dslc-tabs-content{background:#fff;border:1px solid #e8e8e8;border-radius:0 3px 3px}#dslc-content .dslc-tabs-nav-pos-aside .dslc-tabs-content{overflow:hidden}#dslc-content .dslc-tabs-tab-content{padding:35px;display:none;position:relative}#dslc-content .dslc-tabs-tab-content.dslc-active{display:block}.dslca-add-new-tab-hook,.dslca-delete-tab-hook{display:inline-block;margin-left:10px;cursor:pointer}.dslca-add-new-tab-hook{background:#78CA4F;border-radius:50%;color:#fff;font-size:11px;height:20px;text-align:center;line-height:22px;margin-top:8px;width:20px;position:relative}.dslca-add-new-tab-hook .dslca-icon{position:absolute;line-height:1;top:5px;right:6px}.dslca-delete-tab-hook{color:#E55F5F;font-size:12px;line-height:1;vertical-align:top}.dslc-tabs-content .dslc-tabs-nav-hook{display:none!important}body.dslc-res-phone .dslc-tabs-nav{display:none}body.dslc-res-phone .dslc-tabs-tab-content{display:block!important}body.dslc-res-phone .dslc-tabs-content .dslc-tabs-nav-hook{display:block!important;float:none!important;margin-bottom:20px}#dslc-content .dslc-testimonials{border:0 solid transparent}#dslc-content .dslc-testimonial-main{border:0 solid transparent;border-radius:4px;padding:25px;overflow:hidden}#dslc-content .dslc-widget-wrap,#dslc-content .dslc-widgets-wrap,.dslc-text-module-content{border:0 solid transparent}#dslc-content .dslc-testimonial-quote{border-bottom:0 solid transparent}#dslc-content .dslc-testimonial-author-pos-outside-left{float:left}#dslc-content .dslc-testimonial-author-pos-outside-right{float:right}#dslc-content .dslc-testimonial-author-avatar{border:0 solid transparent;float:left}#dslc-content .dslc-testimonial-author-avatar img{display:block;height:auto}#dslc-content .dslc-testimonial-author-main{overflow:hidden;float:left}#dslc-content .dslc-testimonial-author-name{line-height:1}#dslc-content .dslc-testimonial-author-position{line-height:1.1}#dslc-content .dslc-widget{margin-bottom:30px;width:100%}#dslc-content .dslc-widget:last-child{margin-bottom:0!important}#dslc-content .dslc-widget-title{font-size:15px;font-weight:600;border-bottom:1px solid #e5e5e5;margin-bottom:10px;padding-bottom:10px;line-height:1}#dslc-content .dslc-widget-title-inner{display:block}#dslc-content .dslc-widgets-2-col .dslc-col{width:14.89361%}#dslc-content .dslc-widgets-3-col .dslc-col{width:23.40425%}#dslc-content .dslc-widgets-4-col .dslc-col{width:31.91489%}#dslc-content .dslc-widgets-5-col .dslc-col{width:40.42553%}#dslc-content .dslc-widgets-6-col .dslc-col{width:48.93617%}#dslc-content .dslc-widgets-7-col .dslc-col{width:57.4468%}#dslc-content .dslc-widgets-8-col .dslc-col{width:65.95744%}#dslc-content .dslc-widgets-9-col .dslc-col{width:74.46808%}#dslc-content .dslc-widgets-10-col .dslc-col{width:82.97872%}#dslc-content .dslc-widgets-11-col .dslc-col{width:91.48936%}#dslc-content .dslc-widgets-12-col .dslc-col{width:100%;margin-right:0}#dslc-content .dslc-widgets-2-col .dslc-col:nth-child(6n),#dslc-content .dslc-widgets-3-col .dslc-col:nth-child(4n),#dslc-content .dslc-widgets-4-col .dslc-col:nth-child(3n),#dslc-content .dslc-widgets-6-col .dslc-col:nth-child(2n){margin-right:0}#dslc-content .dslc-widget li{border-style:solid}#dslc-content .dslc-product-thumb{position:relative;line-height:0}#dslc-content .dslc-product-thumb-inner{bottom:0 solid transparent;overflow:hidden}#dslc-content .dslc-product-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-product-thumb img{-moz-box-shadow:none;-webkit-box-shadow:none;display:block;border-radius:3px 3px 0 0;box-shadow:none;max-width:100%;height:auto}#dslc-content .dslc-product-thumb .dslc-product-price{background:0 0;color:#fff;display:block;font-weight:400;font-size:25px;font-family:Oswald;left:35%;line-height:1;position:absolute;top:40%;text-decoration:none;text-align:center}#dslc-content .dslc-product-thumb .dslc-product-price .from,#dslc-content .dslc-product-thumb .dslc-product-price del{display:none}#dslc-content .dslc-product-price-bg{background:0 0;border:0 solid transparent;position:absolute;top:0;left:0;right:0;bottom:0}#dslc-content .dslc-product-price-main{position:relative}#dslc-content .dslc-product-thumb .dslc-product-price ins{text-decoration:none;background:0 0}#dslc-content .dslc-product-thumb .dslc-product-price .amount{vertical-align:middle}#dslc-content .dslc-products .dslc-product-thumb .dslc-product-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-products .dslc-product-thumb .dslc-product-main.dslc-product-main-visible{opacity:1!important}#dslc-content .dslc-products .dslc-product-thumb .dslc-product-main .dslc-init-center{position:relative}body.dslca-enabled #dslc-content .dslc-products .dslc-post:first-child .dslc-product-thumb .dslc-product-main{opacity:1}#dslc-content .dslc-product-main{background:#1d1d1d;border-radius:0 0 3px 3px;padding:20px;text-align:center;border:0 solid transparent}#dslc-content .dslc-product-title{margin-bottom:15px}#dslc-content .dslc-product-price-secondary{color:#fff;float:left;font-size:20px;line-height:1;font-family:Oswald}#dslc-content .dslc-product-price-secondary ins{text-decoration:none;background:0 0}#dslc-content .dslc-product-title h2{clear:none;font-size:11px;font-family:Brawler;line-height:1;vertical-align:middle;margin:0;padding:0}#dslc-content .dslc-product-title h2 a{display:block;color:#7d7d7d;text-decoration:none}#dslc-content .dslc-product-excerpt{border-bottom:0 solid transparent}#dslc-content .dslc-product-sep{display:block;border-bottom:1px solid #4a4a4a;height:1px;margin-bottom:15px}#dslc-content .dslc-product-extra .dslc-product-add-to-cart{color:#8d8d8d;font-size:12px;line-height:1;text-decoration:none;float:left}#dslc-content .dslc-product-extra .dslc-product-details{color:#8d8d8d;font-size:12px;text-decoration:none;line-height:1;float:right}#dslc-content .dslc-product-extra .dslc-icon{margin-right:5px}#dslc-content .dslc-tp-content,#dslc-content .dslc-tp-meta,#dslc-content .dslc-tp-title,#dslc-content .dslc-tp-title h1{border:0 solid transparent}#dslc-content .dslc-tp-meta ul{margin:0;list-style-type:none;font-size:0}#dslc-content .dslc-tp-meta-horizontal li{display:inline-block;margin-top:0!important;margin-bottom:0!important;list-style-type:none}#dslc-content .dslc-tp-meta-horizontal li:first-child{margin-left:0!important}#dslc-content .dslc-tp-meta-horizontal li:last-child{margin-right:0!important}#dslc-content .dslc-tp-meta-vertical li{margin-left:0!important;margin-right:0!important}#dslc-content .dslc-tp-meta-vertical li:first-child{margin-top:0!important}#dslc-content .dslc-tp-meta-vertical li:last-child{margin-bottom:0!important}#dslc-content .dslc-tp-meta-avatar{margin-right:10px;width:30px;display:inline-block}#dslc-content .dslc-tp-meta-avatar img{vertical-align:middle;width:100%;border-radius:50%}#dslc-content .dslc-tp-download-button a,#dslc-content .dslc-tp-gallery-slider,#dslc-content .dslc-tp-gallery-slider-main,#dslc-content .dslc-tp-gallery-slider-nav{border:0 solid transparent}#dslc-content .dslc-tp-download-button a{display:block;line-height:1;text-decoration:none;text-align:center}#dslc-content .dslc-tp-thumbnail{bottom:0 solid transparent;overflow:hidden}#dslc-content .dslc-tp-thumbnail img{display:inline-block;vertical-align:middle;max-width:100%;height:auto}#dslc-content .dslc-tp-gallery-slider-main li{overflow:hidden}#dslc-content .dslc-tp-gallery-slider-nav li{margin-right:10px;padding:5px;border:1px solid red;cursor:pointer;opacity:.7}#dslc-content .dslc-tp-gallery-slider-nav li.flex-active-slide{opacity:1}#dslc-content ul.dslc-social{margin:0;padding:0;list-style-type:none;font-size:0;line-height:1}#dslc-content ul.dslc-social li{margin:0 10px 0 0;padding:0;line-height:1;display:inline-block;overflow:hidden}#dslc-content ul.dslc-social a.dslc-social-icon{border:0 solid transparent;display:block;background:#40bde6;text-decoration:none;color:#fff;width:30px;height:30px;border-radius:15px;text-align:center;font-size:15px;position:relative;float:left}#dslc-content ul.dslc-social .dslc-icon{line-height:1;position:absolute}#dslc-content ul.dslc-social .dslc-social-label{float:left;display:block}#dslc-content ul.dslc-staff-social{margin:0;padding:0;list-style-type:none;font-size:0;line-height:1}#dslc-content ul.dslc-staff-social li{margin:0;padding:0;line-height:1;display:inline-block;overflow:hidden}#dslc-content ul.dslc-staff-social a{border:0 solid transparent;display:block;text-decoration:none;text-align:center;position:relative;float:left}#dslc-content ul.dslc-staff-social .dslc-icon{line-height:1;position:absolute}#dslc-content ul.dslc-staff-social .dslc-social-label{float:left;display:block}#dslc-content .dslc-notification-box{background:#f65757;padding:15px;border:1px solid #e43737;border-radius:3px;color:#fff}.dslc-notification-box-has-timeout{display:none}body.dslca-enabled .dslc-notification-box-has-timeout{display:block}#dslc-content .dslc-notification-box-content p:last-child{margin-bottom:0}#dslc-content .dslc-notification-box-close{position:absolute;right:15px;top:20px;cursor:pointer;background:#fff;color:#f65757;border-radius:50%;width:15px;height:15px}.dslc-comment,.dslc-tp-comments{border:0 solid transparent}#dslc-content .dslc-notification-box-close .dslc-icon{color:#f65757;position:absolute;font-size:12px}#dslc-content .dslc-button{overflow:hidden}#dslc-content .dslc-button a{display:inline-block;text-decoration:none;line-height:1}.dslc-tp-comments li,.dslc-tp-comments ol,.dslc-tp-comments ul{list-style-type:none}.dslc-tp-comments ol{margin-left:0}.dslc-comment{margin:0}.dslc-comment-inner{border:1px solid #ddd;padding:10px;margin-bottom:20px}.dslc-comment-info{margin-bottom:10px;border-bottom:1px solid #ddd}.dslc-accordion,.dslc-accordion-content,.dslc-accordion-header,.dslc-accordion-title,.dslc-progress-bar,.dslc-tp-comment-form,.dslc-tp-comment-form input,.dslc-tp-comment-form textarea{border:0 solid transparent}.dslc-comment-meta{float:left;margin:0}.dslc-comment-meta-author{display:inline-block;margin-right:15px;line-height:1}.dslc-comment-author-avatar{margin-right:5px}.dslc-comment-author-avatar img{vertical-align:middle}.dslc-comment-meta-date{display:inline-block;line-height:1}.dslc-comment-reply{float:right}.dslc-comment-reply a{text-decoration:none}.dslc-comment .dslc-comment{margin-left:50px}.dslc-res-phone .dslc-comment .dslc-comment{margin-left:0}.dslc-res-phone .dslc-comment .children{margin-left:0;padding-left:0}.dslc-tp-comment-form input[type=text]{line-height:1}.dslc-tp-comment-form textarea{width:100%;height:130px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.dslc-tp-comment-form .logged-in-as{margin-bottom:15px}.dslc-tp-comment-form #submit{cursor:pointer}.dslc-image img{max-width:100%;display:inline-block;vertical-align:middle}.dslc-progress-bar-label{margin:0;padding:0;line-height:1}.dslc-progress-bar-loader{background:#666;display:block;height:18px}.dslc-progress-bar-loader-inner{display:block;float:left;overflow:hidden;white-space:nowrap}.dslc-progress-bar-animated .dslc-progress-bar-loader-inner{opacity:0}.dslca-enabled .dslc-progress-bar-animated .dslc-progress-bar-loader-inner{opacity:1}.dslc-accordion-item:first-child{margin-top:0!important}.dslc-accordion-header{display:block;font-family:"Open Sans";font-weight:700;font-size:11px;line-height:1;position:relative}.dslc-accordion-title{display:block}.dslc-accordion-hook{cursor:pointer}.dslc-accordion-toggle{display:block;position:absolute;left:0;top:0;bottom:0}.dslc-accordion-content{position:relative}.dslca-add-accordion{text-align:center}.dslca-add-accordion-hook{background:#78CA4F;border-radius:50%;color:#fff;cursor:pointer;display:inline-block;font-size:12px;height:20px;text-align:center;line-height:22px;width:20px;position:relative;margin-top:10px}.dslca-add-accordion-hook .dslca-icon{position:absolute;line-height:1;top:5px;right:6px}.dslca-accordion-action-hooks{position:absolute;right:14px;top:14px}.dslca-move-down-accordion-hook,.dslca-move-up-accordion-hook{color:#5890e5}.dslca-move-down-accordion-hook:hover,.dslca-move-up-accordion-hook:hover{color:#3b6fbe}.dslca-delete-accordion-hook{color:#E55F5F;cursor:pointer;display:inline-block;font-size:12px;margin-left:10px;line-height:1;vertical-align:top}.dslc-icon-module{position:relative;display:inline-block}.dslc-navigation{z-index:99998;position:relative;text-align:right;font-size:0}.dslc-navigation-inner{display:inline-block}.dslc-navigation .menu{list-style:none;margin:0;padding:0}.dslc-navigation.dslc-navigation-orientation-horizontal .menu>li,.dslc-navigation.dslc-navigation-orientation-vertical .menu>li:first-child{margin-top:0!important}.dslc-navigation .menu>li{display:inline-block;position:relative;z-index:99998}.dslc-navigation.dslc-navigation-orientation-vertical .menu>li{display:block;margin-left:0!important}.dslc-navigation .menu>li:first-child{margin-left:0!important}.dslc-navigation .menu>li>a{display:inline-block;text-decoration:none;vertical-align:middle}.dslc-navigation-arrow{display:inline-block;margin-left:5px;vertical-align:middle}.dslc-navigation .menu ul{border-style:solid;display:none;list-style-type:none;margin:0;opacity:0;position:absolute;top:100%;left:-28px}.dslc-navigation.dslc-navigation-sub-position-left .menu ul{left:0;right:auto}.dslc-navigation.dslc-navigation-sub-position-right .menu ul{right:0;left:auto}.dslc-navigation.dslc-navigation-sub-position-center .menu ul{left:auto;right:auto}.dslc-navigation-orientation-vertical .menu ul{top:0;left:100%}.dslc-navigation .menu ul.dslc-navigation-invert-subnav{left:auto;right:0}.dslc-navigation .menu ul li{display:block;white-space:nowrap;margin:0}.dslc-navigation .menu ul li a{display:block;line-height:1;text-decoration:none}.dslc-navigation .menu ul li:last-child a{border-bottom:0!important}.dslc-navigation .dt-icon.dt-subnav-arrow{display:none;color:#bfbfbf;font-size:8px;margin-left:10px;vertical-align:middle;position:relative;top:-3px;margin-right:0}.dslc-navigation li.current-menu-item .dt-icon.dt-subnav-arrow{color:#878787}.dslc-navigation .menu ul ul{left:100%;margin-left:-10px;top:-1px}.dslc-navigation .menu ul ul.dslc-navigation-invert-subnav{left:auto;right:100%}.dslc-navigation .menu li:hover>ul{display:block}.dslc-mobile-navigation{position:relative;text-align:right;display:none}.dslc-mobile-navigation select{cursor:pointer;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";opacity:0;position:absolute;right:0;top:0;padding-top:0;padding-bottom:0;z-index:10;height:38px;width:100%}.dslc-mobile-navigation-hook{color:#555;font-size:24px;line-height:22px}.dslc-res-phone .dslc-mobile-navigation.dslc-navigation-res-p-enabled,.dslc-res-tablet .dslc-mobile-navigation.dslc-navigation-res-t-enabled{display:block}.dslc-res-phone .dslc-navigation.dslc-navigation-res-p-enabled,.dslc-res-tablet .dslc-navigation.dslc-navigation-res-t-enabled{display:none}.dslc-post-main-inner-link-cover{display:none;position:absolute;top:0;left:0;right:0;bottom:0}body.dslc-res-phone .dslc-post-main-inner-link-cover,body.dslc-res-tablet .dslc-post-main-inner-link-cover{display:block}.dslc-posts-social-share{line-height:1}.dslc-posts-social-share a:last-child{margin-right:0!important}.dslc-posts-social-share-count{display:inline-block;border-style:solid}
1
+ #dslc-content .dslc-cpt-post-main{border:0 solid transparent}#dslc-content .dslc-cpt-post-thumb{margin-bottom:20px;overflow:hidden;position:relative;line-height:0}#dslc-content .dslc-cpt-post-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-cpt-post-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-cpt-post-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-cpt-post-thumb .dslc-cpt-post-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-cpt-post-thumb .dslc-cpt-post-main.dslc-cpt-post-main-visible{opacity:1!important}#dslc-content .dslc-cpt-post-thumb .dslc-cpt-post-main .dslc-init-center{position:relative}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-cpt-post-thumb .dslc-cpt-post-main{opacity:1}#dslc-content .dslc-cpt-post-meta{border:1px solid #e5e5e5;border-left:0;border-right:0;margin-bottom:20px;overflow:hidden;padding:13px 0;font-size:11px;line-height:1}#dslc-content .dslc-cpt-post-meta-author{float:left}#dslc-content .dslc-cpt-post-meta-author a{text-decoration:none}#dslc-content .dslc-cpt-post-meta-date{float:right}#dslc-content .dslc-cpt-post-title{margin-bottom:13px}#dslc-content .dslc-cpt-post-title h2{font-family:'';font-weight:600;font-size:15px;line-height:26px;margin:0;padding:0}#dslc-content .dslc-cpt-post-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-cpt-post-excerpt{margin-bottom:22px;font-size:13px;line-height:22px}#dslc-content .dslc-cpt-post-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}#dslc-content .dslc-cpt-posts-orientation-horizontal .dslc-cpt-post-thumb{float:left;margin-right:20px;width:200px}#dslc-content .dslc-cpt-posts-orientation-horizontal .dslc-cpt-post-main,.dslc-post-thumb{overflow:hidden}#dslc-content .dslc-blog-post-main{border:0 solid transparent}#dslc-content .dslc-blog-post-thumb{margin-bottom:20px;overflow:hidden;position:relative;line-height:0}#dslc-content .dslc-blog-post-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-blog-post-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-blog-post-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-blog-post-thumb .dslc-blog-post-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-blog-post-thumb .dslc-blog-post-main.dslc-blog-post-main-visible{opacity:1!important}#dslc-content .dslc-blog-post-thumb .dslc-blog-post-main .dslc-init-center{position:relative}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-blog-post-thumb .dslc-blog-post-main{opacity:1}#dslc-content .dslc-blog-post-meta{border:1px solid #e5e5e5;border-left:0;border-right:0;margin-bottom:20px;overflow:hidden;padding:13px 0;font-size:11px;line-height:1}#dslc-content .dslc-blog-post-meta-author{float:left}#dslc-content .dslc-blog-post-meta-avatar{margin-right:10px;width:30px;display:inline-block}#dslc-content .dslc-blog-post-meta-avatar img{vertical-align:middle;width:100%;height:auto;border-radius:50%}#dslc-content .dslc-blog-post-meta-author a{text-decoration:none}#dslc-content .dslc-blog-post-meta-date{float:right}#dslc-content .dslc-blog-post-title{margin-bottom:13px}#dslc-content .dslc-blog-post-title h2{font-family:'';font-weight:600;font-size:15px;line-height:26px;margin:0;padding:0}#dslc-content .dslc-blog-post-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-blog-post-excerpt{margin-bottom:22px;font-size:13px;line-height:22px}#dslc-content .dslc-blog-post-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}#dslc-content .dslc-posts-orientation-horizontal .dslc-post-thumb{float:left;margin-right:20px;width:200px}#dslc-content .dslc-posts-orientation-horizontal .dslc-post-main{overflow:hidden}#dslc-content .dslc-download-thumb{position:relative;line-height:0}#dslc-content .dslc-download-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-download-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-download-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-download-download a,#dslc-content .dslc-download-main{border:0 solid transparent;text-align:center}#dslc-content .dslc-download-thumb .dslc-download-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-download-thumb .dslc-download-main.dslc-download-main-visible{opacity:1!important}#dslc-content .dslc-download-thumb .dslc-download-main .dslc-init-center{position:relative}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-download-thumb .dslc-download-main{opacity:1}#dslc-content .dslc-download-title{margin-bottom:13px}#dslc-content .dslc-download-title h2{font-size:15px;line-height:1.7;margin:0;padding:0}#dslc-content .dslc-download-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-download-tags{border:1px solid #e5e5e5;border-width:1px 0;font-size:12px;padding:8px 0;line-height:1;margin-bottom:22px}#dslc-content .dslc-download-excerpt{margin-bottom:22px;font-size:13px;line-height:22px;font-weight:400}#dslc-content .dslc-download-download{margin-bottom:10px}#dslc-content .dslc-download-download a{background:#ff4e01;border-radius:3px;color:#fff;display:block;font-size:13px;font-weight:700;line-height:1;padding:15px 0;text-decoration:none}#dslc-content .dslc-download-download .dslc-icon{margin-right:10px}#dslc-content .dslc-download-info{font-size:10px;font-style:italic}#dslc-content .dslc-gallery-thumb{position:relative;line-height:0}#dslc-content .dslc-gallery-thumb-inner{border:0 solid transparent;position:relative;overflow:hidden}#dslc-content .dslc-gallery-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-gallery-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;display:block;box-shadow:none;max-width:100%;height:auto}#dslc-content .dslc-gallery-images-count{background:0 0;border:0 solid transparent;border-radius:50%;position:absolute;top:40%;left:35%;text-align:center;text-decoration:none}#dslc-content .dslc-gallery-images-count-bg{background:0 0;border:0 solid transparent;position:absolute;top:0;left:0;right:0;bottom:0}#dslc-content .dslc-gallery-images-count-main{position:relative}#dslc-content .dslc-gallery-images-count-num{color:#fff;display:block;font-size:25px;font-family:'';font-weight:200;line-height:1;margin-bottom:8px}#dslc-content .dslc-gallery-images-count-txt{color:#7d7d7d;display:block;font-size:11px;font-family:'';line-height:1}#dslc-content .dslc-gallery-thumb .dslc-gallery-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-gallery-thumb .dslc-gallery-main.dslc-gallery-main-visible{opacity:1!important}#dslc-content .dslc-gallery-thumb .dslc-gallery-main .dslc-init-center{position:relative}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-gallery-thumb .dslc-gallery-main{opacity:1}#dslc-content .dslc-gallery-main{border:0 solid transparent;text-align:center}#dslc-content .dslc-gallery-title{margin-bottom:15px}#dslc-content .dslc-gallery-title h2{font-family:'';font-size:11px;line-height:1;margin:0;padding:0}#dslc-content .dslc-gallery-title h2 a{display:block;color:#7d7d7d;text-decoration:none}#dslc-content .dslc-gallery-sep{display:block;height:1px;border-bottom:1px solid #4a4a4a;margin-bottom:15px}#dslc-content .dslc-gallery-excerpt{font-size:12px;border-width:1px 0 0}#dslc-content .dslc-gallery-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}#dslc-content .dslc-gallery .dslc-lightbox-gallery{display:none}#dslc-content .dslc-info-box{text-align:center;border:0 solid transparent;-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;transition:all .2s ease-in-out}#dslc-content .dslc-info-box-image{margin-bottom:25px;position:relative;font-size:0}#dslc-content .dslc-info-box-image-link{position:absolute;top:0;left:0;right:0;bottom:0}#dslc-content .dslc-info-box-icon-pos-aside .dslc-info-box-main{overflow:hidden}#dslc-content .dslc-info-box-icon-pos-aside .dslc-info-box-image{float:left;margin-right:20px}#dslc-content .dslc-info-box-image-inner{display:inline-block;position:relative;border:0 solid transparent}#dslc-content .dslc-info-box-image-inner .dslc-icon{color:#fff;line-height:1;font-size:40px;position:absolute}#dslc-content .dslc-info-box-image-alt-inner img{-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;transition:all .2s ease-in-out}#dslc-content .dslc-info-box-title{margin-bottom:25px}#dslc-content .dslc-info-box-title h4{font-size:17px;line-height:1;margin:0;padding:0;font-weight:400}#dslc-content .dslc-info-box-title h4 a{color:inherit;text-decoration:none}#dslc-content .dslc-info-box-content{margin-bottom:25px}#dslc-content .dslc-info-box-button{font-size:0}#dslc-content .dslc-info-box-button a{display:inline-block;line-height:1;text-decoration:none}#dslc-content .dslc-info-box-button-aside{float:right}#dslc-content .dslc-partner .dslc-partner-thumb{position:relative;line-height:0}#dslc-content .dslc-partner .dslc-partner-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-partner .dslc-partner-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:inline-block;vertical-align:bottom;width:auto;max-width:100%;height:auto}#dslc-content .dslc-partner-thumb .dslc-partner-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-partner-thumb .dslc-partner-main.dslc-partner-main-visible{opacity:1!important}#dslc-content .dslc-partner-thumb .dslc-partner-main .dslc-init-center{position:relative}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-partner-thumb .dslc-partner-main{opacity:1}#dslc-content .dslc-partner-title{margin-bottom:10px}#dslc-content .dslc-partner-title h2{margin:0;padding:0}#dslc-content .dslc-partner-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-project-thumb{margin-bottom:24px;position:relative;line-height:0}#dslc-content .dslc-project-thumb-inner{border:0 solid transparent;overflow:hidden}#dslc-content .dslc-project-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-project-thumb img{border-radius:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-project-thumb .dslc-project-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-project-thumb .dslc-project-main.dslc-project-main-visible{opacity:1!important}#dslc-content .dslc-project-thumb .dslc-project-main .dslc-init-center{position:relative}body.dslca-enabled #dslc-content .dslc-projects .dslc-post:first-child .dslc-project-thumb .dslc-project-main{opacity:1}#dslc-content .dslc-project-main{border:0 solid transparent}#dslc-content .dslc-project-title{margin-bottom:10px}#dslc-content .dslc-project-title h2{font-weight:700;font-size:12px;line-height:1;margin:0;padding:0}#dslc-content .dslc-project-title h2 a{display:block;color:inherit;text-decoration:none}#dslc-content .dslc-project-cats{font-family:'';font-size:10px;font-style:italic;line-height:1}#dslc-content .dslc-project-excerpt{margin-bottom:22px;font-size:13px;line-height:22px;border-top:0 solid #000}#dslc-content .dslc-project-read-more a{display:inline-block;line-height:1;text-decoration:none;border:0 solid transparent}.dslc-separator-wrapper{padding-bottom:1px}.dslc-separator{clear:both;height:1px;padding-bottom:25px;margin-bottom:25px;width:100%}.dslc-separator.dslc-separator-style-solid{border-bottom:1px solid #ededed}.dslc-separator.dslc-separator-style-dashed{border-bottom:1px dashed #ededed}.dslc-separator.dslc-separator-style-dotted{border-bottom:1px dotted #ededed}#dslc-content .dslc-staff-member-thumb{position:relative;line-height:0}#dslc-content .dslc-staff-member-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-staff-member-thumb img{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;display:block;max-width:100%;height:auto}#dslc-content .dslc-staff-member-thumb .dslc-staff-member-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-staff-member-thumb .dslc-staff-member-main.dslc-staff-member-main-visible{opacity:1!important}#dslc-content .dslc-staff-member-thumb .dslc-staff-member-main .dslc-init-center{position:relative}body.dslca-enabled #dslc-content .dslc-post:first-child .dslc-staff-member-thumb .dslc-staff-member-main{opacity:1}#dslc-content .dslc-staff-member-social a{margin:0 6px;text-decoration:none}#dslc-content .dslc-staff-member-title h2{margin:0;padding:0}#dslc-content .dslc-staff-member-title h2 a{display:block;text-decoration:none;color:inherit}#dslc-content .dslc-tabs-nav-pos-aside .dslc-tabs-nav{float:left;margin-bottom:0!important}#dslc-content .dslc-tabs-nav-pos-above .dslc-tabs-nav{margin-right:0!important}#dslc-content .dslc-tabs-nav-hook{background:#fbfbfb;border:1px solid #e8e8e8;border-bottom:1px solid #e8e8e8;border-radius:3px 3px 0 0;bottom:-1px;cursor:pointer;display:inline-block;padding:10px;position:relative;line-height:1;margin-left:-1px}#dslc-content .dslc-tabs-nav-pos-aside .dslc-tabs-nav-hook{display:block;margin-left:0!important}#dslc-content .dslc-tabs-nav-pos-above .dslc-tabs-nav-hook{margin-bottom:0!important}#dslc-content .dslc-tabs-nav-hook:first-child{margin-left:0!important}#dslc-content .dslc-tabs-nav-hook.dslc-active{background:#fff}#dslc-content .dslc-tabs-content{background:#fff;border:1px solid #e8e8e8;border-radius:0 3px 3px}#dslc-content .dslc-tabs-nav-pos-aside .dslc-tabs-content{overflow:hidden}#dslc-content .dslc-tabs-tab-content{padding:35px;display:none;position:relative}#dslc-content .dslc-tabs-tab-content.dslc-active{display:block}.dslca-add-new-tab-hook,.dslca-delete-tab-hook{display:inline-block;margin-left:10px;cursor:pointer}.dslca-add-new-tab-hook{background:#78CA4F;border-radius:50%;color:#fff;font-size:11px;height:20px;text-align:center;line-height:22px;margin-top:8px;width:20px;position:relative}.dslca-add-new-tab-hook .dslca-icon{position:absolute;line-height:1;top:5px;right:6px}.dslca-delete-tab-hook{color:#E55F5F;font-size:12px;line-height:1;vertical-align:top}.dslc-tabs-content .dslc-tabs-nav-hook{display:none!important}body.dslc-res-phone .dslc-tabs-nav{display:none}body.dslc-res-phone .dslc-tabs-tab-content{display:block!important}body.dslc-res-phone .dslc-tabs-content .dslc-tabs-nav-hook{display:block!important;float:none!important;margin-bottom:20px}#dslc-content .dslc-testimonials{border:0 solid transparent}#dslc-content .dslc-testimonial-main{border:0 solid transparent;border-radius:4px;padding:25px;overflow:hidden}#dslc-content .dslc-widget-wrap,#dslc-content .dslc-widgets-wrap,.dslc-text-module-content{border:0 solid transparent}#dslc-content .dslc-testimonial-quote{border-bottom:0 solid transparent}#dslc-content .dslc-testimonial-author-pos-outside-left{float:left}#dslc-content .dslc-testimonial-author-pos-outside-right{float:right}#dslc-content .dslc-testimonial-author-avatar{border:0 solid transparent;float:left}#dslc-content .dslc-testimonial-author-avatar img{display:block;height:auto}#dslc-content .dslc-testimonial-author-main{overflow:hidden;float:left}#dslc-content .dslc-testimonial-author-name{line-height:1}#dslc-content .dslc-testimonial-author-position{line-height:1.1}#dslc-content .dslc-widget{margin-bottom:30px;width:100%}#dslc-content .dslc-widget:last-child{margin-bottom:0!important}#dslc-content .dslc-widget-title{font-size:15px;font-weight:600;border-bottom:1px solid #e5e5e5;margin-bottom:10px;padding-bottom:10px;line-height:1}#dslc-content .dslc-widget-title-inner{display:block}#dslc-content .dslc-widgets-2-col .dslc-col{width:14.89361%}#dslc-content .dslc-widgets-3-col .dslc-col{width:23.40425%}#dslc-content .dslc-widgets-4-col .dslc-col{width:31.91489%}#dslc-content .dslc-widgets-5-col .dslc-col{width:40.42553%}#dslc-content .dslc-widgets-6-col .dslc-col{width:48.93617%}#dslc-content .dslc-widgets-7-col .dslc-col{width:57.4468%}#dslc-content .dslc-widgets-8-col .dslc-col{width:65.95744%}#dslc-content .dslc-widgets-9-col .dslc-col{width:74.46808%}#dslc-content .dslc-widgets-10-col .dslc-col{width:82.97872%}#dslc-content .dslc-widgets-11-col .dslc-col{width:91.48936%}#dslc-content .dslc-widgets-12-col .dslc-col{width:100%;margin-right:0}#dslc-content .dslc-widgets-2-col .dslc-col:nth-child(6n),#dslc-content .dslc-widgets-3-col .dslc-col:nth-child(4n),#dslc-content .dslc-widgets-4-col .dslc-col:nth-child(3n),#dslc-content .dslc-widgets-6-col .dslc-col:nth-child(2n){margin-right:0}#dslc-content .dslc-widget li{border-style:solid}#dslc-content .dslc-product-thumb{position:relative;line-height:0}#dslc-content .dslc-product-thumb-inner{bottom:0 solid transparent;overflow:hidden}#dslc-content .dslc-product-thumb a{display:inline-block;max-width:100%}#dslc-content .dslc-product-thumb img{-moz-box-shadow:none;-webkit-box-shadow:none;display:block;border-radius:3px 3px 0 0;box-shadow:none;max-width:100%;height:auto}#dslc-content .dslc-product-thumb .dslc-product-price{background:0 0;color:#fff;display:block;font-weight:400;font-size:25px;font-family:'';left:35%;line-height:1;position:absolute;top:40%;text-decoration:none;text-align:center}#dslc-content .dslc-product-thumb .dslc-product-price .from,#dslc-content .dslc-product-thumb .dslc-product-price del{display:none}#dslc-content .dslc-product-price-bg{background:0 0;border:0 solid transparent;position:absolute;top:0;left:0;right:0;bottom:0}#dslc-content .dslc-product-price-main{position:relative}#dslc-content .dslc-product-thumb .dslc-product-price ins{text-decoration:none;background:0 0}#dslc-content .dslc-product-thumb .dslc-product-price .amount{vertical-align:middle}#dslc-content .dslc-products .dslc-product-thumb .dslc-product-main{position:absolute;top:0;left:0;bottom:0;right:0}#dslc-content .dslc-products .dslc-product-thumb .dslc-product-main.dslc-product-main-visible{opacity:1!important}#dslc-content .dslc-products .dslc-product-thumb .dslc-product-main .dslc-init-center{position:relative}body.dslca-enabled #dslc-content .dslc-products .dslc-post:first-child .dslc-product-thumb .dslc-product-main{opacity:1}#dslc-content .dslc-product-main{background:#1d1d1d;border-radius:0 0 3px 3px;padding:20px;text-align:center;border:0 solid transparent}#dslc-content .dslc-product-title{margin-bottom:15px}#dslc-content .dslc-product-price-secondary{color:#fff;float:left;font-size:20px;line-height:1;font-family:''}#dslc-content .dslc-product-price-secondary ins{text-decoration:none;background:0 0}#dslc-content .dslc-product-title h2{clear:none;font-size:11px;font-family:'';line-height:1;vertical-align:middle;margin:0;padding:0}#dslc-content .dslc-product-title h2 a{display:block;color:#7d7d7d;text-decoration:none}#dslc-content .dslc-product-excerpt{border-bottom:0 solid transparent}#dslc-content .dslc-product-sep{display:block;border-bottom:1px solid #4a4a4a;height:1px;margin-bottom:15px}#dslc-content .dslc-product-extra .dslc-product-add-to-cart{color:#8d8d8d;font-size:12px;line-height:1;text-decoration:none;float:left}#dslc-content .dslc-product-extra .dslc-product-details{color:#8d8d8d;font-size:12px;text-decoration:none;line-height:1;float:right}#dslc-content .dslc-product-extra .dslc-icon{margin-right:5px}#dslc-content .dslc-tp-content,#dslc-content .dslc-tp-meta,#dslc-content .dslc-tp-title,#dslc-content .dslc-tp-title h1{border:0 solid transparent}#dslc-content .dslc-tp-meta ul{margin:0;list-style-type:none;font-size:0}#dslc-content .dslc-tp-meta-horizontal li{display:inline-block;margin-top:0!important;margin-bottom:0!important;list-style-type:none}#dslc-content .dslc-tp-meta-horizontal li:first-child{margin-left:0!important}#dslc-content .dslc-tp-meta-horizontal li:last-child{margin-right:0!important}#dslc-content .dslc-tp-meta-vertical li{margin-left:0!important;margin-right:0!important}#dslc-content .dslc-tp-meta-vertical li:first-child{margin-top:0!important}#dslc-content .dslc-tp-meta-vertical li:last-child{margin-bottom:0!important}#dslc-content .dslc-tp-meta-avatar{margin-right:10px;width:30px;display:inline-block}#dslc-content .dslc-tp-meta-avatar img{vertical-align:middle;width:100%;border-radius:50%}#dslc-content .dslc-tp-download-button a,#dslc-content .dslc-tp-gallery-slider,#dslc-content .dslc-tp-gallery-slider-main,#dslc-content .dslc-tp-gallery-slider-nav{border:0 solid transparent}#dslc-content .dslc-tp-download-button a{display:block;line-height:1;text-decoration:none;text-align:center}#dslc-content .dslc-tp-thumbnail{bottom:0 solid transparent;overflow:hidden}#dslc-content .dslc-tp-thumbnail img{display:inline-block;vertical-align:middle;max-width:100%;height:auto}#dslc-content .dslc-tp-gallery-slider-main li{overflow:hidden}#dslc-content .dslc-tp-gallery-slider-nav li{margin-right:10px;padding:5px;border:1px solid red;cursor:pointer;opacity:.7}#dslc-content .dslc-tp-gallery-slider-nav li.flex-active-slide{opacity:1}#dslc-content ul.dslc-social{margin:0;padding:0;list-style-type:none;font-size:0;line-height:1}#dslc-content ul.dslc-social li{margin:0 10px 0 0;padding:0;line-height:1;display:inline-block;overflow:hidden}#dslc-content ul.dslc-social a.dslc-social-icon{border:0 solid transparent;display:block;background:#40bde6;text-decoration:none;color:#fff;width:30px;height:30px;border-radius:15px;text-align:center;font-size:15px;position:relative;float:left}#dslc-content ul.dslc-social .dslc-icon{line-height:1;position:absolute}#dslc-content ul.dslc-social .dslc-social-label{float:left;display:block}#dslc-content ul.dslc-staff-social{margin:0;padding:0;list-style-type:none;font-size:0;line-height:1}#dslc-content ul.dslc-staff-social li{margin:0;padding:0;line-height:1;display:inline-block;overflow:hidden}#dslc-content ul.dslc-staff-social a{border:0 solid transparent;display:block;text-decoration:none;text-align:center;position:relative;float:left}#dslc-content ul.dslc-staff-social .dslc-icon{line-height:1;position:absolute}#dslc-content ul.dslc-staff-social .dslc-social-label{float:left;display:block}#dslc-content .dslc-notification-box{background:#f65757;padding:15px;border:1px solid #e43737;border-radius:3px;color:#fff}.dslc-notification-box-has-timeout{display:none}body.dslca-enabled .dslc-notification-box-has-timeout{display:block}#dslc-content .dslc-notification-box-content p:last-child{margin-bottom:0}#dslc-content .dslc-notification-box-close{position:absolute;right:15px;top:20px;cursor:pointer;background:#fff;color:#f65757;border-radius:50%;width:15px;height:15px}.dslc-comment,.dslc-tp-comments{border:0 solid transparent}#dslc-content .dslc-notification-box-close .dslc-icon{color:#f65757;position:absolute;font-size:12px}#dslc-content .dslc-button{overflow:hidden}#dslc-content .dslc-button a{display:inline-block;text-decoration:none;line-height:1}.dslc-tp-comments li,.dslc-tp-comments ol,.dslc-tp-comments ul{list-style-type:none}.dslc-tp-comments ol{margin-left:0}.dslc-comment{margin:0}.dslc-comment-inner{border:1px solid #ddd;padding:10px;margin-bottom:20px}.dslc-comment-info{margin-bottom:10px;border-bottom:1px solid #ddd}.dslc-tp-comment-form,.dslc-tp-comment-form input,.dslc-tp-comment-form textarea{border:0 solid transparent}.dslc-comment-meta{float:left;margin:0}.dslc-comment-meta-author{display:inline-block;margin-right:15px;line-height:1}.dslc-comment-author-avatar{margin-right:5px}.dslc-comment-author-avatar img{vertical-align:middle}.dslc-comment-meta-date{display:inline-block;line-height:1}.dslc-comment-reply{float:right}.dslc-comment-reply a{text-decoration:none}.dslc-comment .dslc-comment{margin-left:50px}body.dslc-res-phone .dslc-comment .dslc-comment{margin-left:0}body.dslc-res-phone .dslc-comment .children{margin-left:0;padding-left:0}.dslc-tp-comment-form input[type=text]{line-height:1}.dslc-tp-comment-form textarea{width:100%;height:130px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.dslc-tp-comment-form .logged-in-as{margin-bottom:15px}.dslc-tp-comment-form #submit{cursor:pointer}#dslc-content .dslc-image,#dslc-content .dslc-image>a{display:inline-block}#dslc-content .dslc-image img{max-width:100%;display:inline-block;vertical-align:middle;box-shadow:none;border-radius:none}#dslc-content .dslc-accordion,#dslc-content .dslc-accordion-header,#dslc-content .dslc-accordion-title,#dslc-content .dslc-progress-bar{border:0 solid transparent}#dslc-content .dslc-progress-bar-label{margin:0;padding:0;line-height:1}#dslc-content .dslc-progress-bar-loader{background:#666;display:block;height:18px}#dslc-content .dslc-progress-bar-loader-inner{display:block;float:left;overflow:hidden;white-space:nowrap}#dslc-content .dslc-progress-bar-animated .dslc-progress-bar-loader-inner{opacity:0}#dslc-content .dslca-enabled .dslc-progress-bar-animated .dslc-progress-bar-loader-inner{opacity:1}#dslc-content .dslc-accordion-item:first-child{margin-top:0!important}#dslc-content .dslc-accordion-header{display:block;font-family:'';font-weight:700;font-size:11px;line-height:1;position:relative}#dslc-content .dslc-accordion-title{display:block}#dslc-content .dslc-accordion-hook{cursor:pointer}#dslc-content .dslc-accordion-toggle{display:block;position:absolute;left:0;top:0;bottom:0}#dslc-content .dslc-accordion-content{position:relative;border:0 solid transparent}#dslc-content .dslca-add-accordion{text-align:center}#dslc-content .dslca-add-accordion-hook{background:#78CA4F;border-radius:50%;color:#fff;cursor:pointer;display:inline-block;font-size:12px;height:20px;text-align:center;line-height:22px;width:20px;position:relative;margin-top:10px}#dslc-content .dslca-add-accordion-hook .dslca-icon{position:absolute;line-height:1;top:5px;right:6px}#dslc-content .dslca-accordion-action-hooks{position:absolute;right:14px;top:14px}#dslc-content .dslca-move-down-accordion-hook,#dslc-content .dslca-move-up-accordion-hook{color:#5890e5}#dslc-content .dslca-move-down-accordion-hook:hover,#dslc-content .dslca-move-up-accordion-hook:hover{color:#3b6fbe}#dslc-content .dslca-delete-accordion-hook{color:#E55F5F;cursor:pointer;display:inline-block;font-size:12px;margin-left:10px;line-height:1;vertical-align:top}#dslc-content .dslc-icon-module{position:relative;display:inline-block}#dslc-content .dslc-navigation{z-index:99998;position:relative;text-align:right;font-size:0}#dslc-content .dslc-navigation-inner{display:inline-block}#dslc-content .dslc-navigation .menu{list-style:none;margin:0;padding:0}#dslc-content .dslc-navigation.dslc-navigation-orientation-horizontal .menu>li,#dslc-content .dslc-navigation.dslc-navigation-orientation-vertical .menu>li:first-child{margin-top:0!important}#dslc-content .dslc-navigation .menu>li{display:inline-block;position:relative;z-index:99998}#dslc-content .dslc-navigation.dslc-navigation-orientation-vertical .menu>li{display:block;margin-left:0!important}#dslc-content .dslc-navigation .menu>li:first-child{margin-left:0!important}#dslc-content .dslc-navigation .menu>li>a{display:inline-block;text-decoration:none;vertical-align:middle}#dslc-content .dslc-navigation-arrow{display:inline-block;margin-left:5px;vertical-align:middle}#dslc-content .dslc-navigation .menu ul{border-style:solid;display:none;list-style-type:none;margin:0;opacity:0;position:absolute;top:100%;left:-28px}#dslc-content .dslc-navigation.dslc-navigation-sub-position-left .menu ul{left:0;right:auto}#dslc-content .dslc-navigation.dslc-navigation-sub-position-right .menu ul{right:0;left:auto}#dslc-content .dslc-navigation.dslc-navigation-sub-position-center .menu ul{left:auto;right:auto}#dslc-content .dslc-navigation-orientation-vertical .menu ul{top:0;left:100%}#dslc-content .dslc-navigation .menu ul.dslc-navigation-invert-subnav{left:auto;right:0}#dslc-content .dslc-navigation .menu ul li{display:block;white-space:nowrap;margin:0}#dslc-content .dslc-navigation .menu ul li a{display:block;line-height:1;text-decoration:none}#dslc-content .dslc-navigation .menu ul li:last-child a{border-bottom:0!important}#dslc-content .dslc-navigation .dt-icon.dt-subnav-arrow{display:none;color:#bfbfbf;font-size:8px;margin-left:10px;vertical-align:middle;position:relative;top:-3px;margin-right:0}#dslc-content .dslc-navigation li.current-menu-item .dt-icon.dt-subnav-arrow{color:#878787}#dslc-content .dslc-navigation .menu ul ul{left:100%;margin-left:-10px;top:-1px}#dslc-content .dslc-navigation .menu ul ul.dslc-navigation-invert-subnav{left:auto;right:100%}#dslc-content .dslc-navigation .menu li:hover>ul{display:block}#dslc-content .dslc-mobile-navigation{position:relative;text-align:right;display:none}#dslc-content .dslc-mobile-navigation select{cursor:pointer;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";opacity:0;position:absolute;right:0;top:0;padding-top:0;padding-bottom:0;z-index:10;height:38px;width:100%}#dslc-content .dslc-mobile-navigation-hook{color:#555;font-size:24px;line-height:22px}body.dslc-res-phone .dslc-mobile-navigation.dslc-navigation-res-p-enabled,body.dslc-res-tablet .dslc-mobile-navigation.dslc-navigation-res-t-enabled{display:block}body.dslc-res-phone .dslc-navigation.dslc-navigation-res-p-enabled,body.dslc-res-tablet .dslc-navigation.dslc-navigation-res-t-enabled{display:none}.dslc-post-main-inner-link-cover{display:none;position:absolute;top:0;left:0;right:0;bottom:0}body.dslc-res-phone .dslc-post-main-inner-link-cover,body.dslc-res-tablet .dslc-post-main-inner-link-cover{display:block}.dslc-posts-social-share{line-height:1}.dslc-posts-social-share a:last-child{margin-right:0!important}.dslc-posts-social-share-count{display:inline-block;border-style:solid}
ds-live-composer.php CHANGED
@@ -1,22 +1,41 @@
1
  <?php
2
- /*
3
- Plugin Name: Page Builder: Live Composer - drag and drop website builder (visual front end site editor)
4
- Plugin URI: https://www.livecomposerplugin.com
5
- Description: Front-end page builder for WordPress with drag and drop editing. Build PRO responsive websites and landing pages. Visually customize any page element.
6
- Author: Live Composer Team
7
- Version: 1.0.8.1
8
- Author URI: https://livecomposerplugin.com
9
- License: GPL2
10
- License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
- Text Domain: live-composer-page-builder
12
- Domain Path: /lang
13
- */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
 
15
  /**
16
  * Constants
17
  */
18
 
19
- define( 'DS_LIVE_COMPOSER_VER', '1.0.8.1' );
20
 
21
  define( 'DS_LIVE_COMPOSER_SHORTNAME', __( 'Live Composer', 'live-composer-page-builder' ) );
22
  define( 'DS_LIVE_COMPOSER_BASENAME', plugin_basename( __FILE__ ) );
@@ -29,6 +48,7 @@
29
  define( 'DSLC_ST_FRAMEWORK_ABS', DS_LIVE_COMPOSER_ABS . '/includes/single-templates-framework' );
30
  define( 'DSLC_ROW_SYSTEM_ABS', DS_LIVE_COMPOSER_ABS . '/includes/row-system' );
31
 
 
32
  $dslc_var_image_option_bckp = array();
33
  $dslc_var_row_options = array();
34
 
@@ -56,7 +76,7 @@
56
  $dslc_css_fonts = '';
57
  $dslc_css_style = '';
58
  $dslc_googlefonts_array = array();
59
- $dslc_all_googlefonts_array = array("ABeeZee", "Abel", "Abril Fatface", "Aclonica", "Acme", "Actor", "Adamina", "Advent Pro", "Aguafina Script", "Akronim", "Aladin", "Aldrich", "Alef", "Alegreya", "Alegreya SC", "Alex Brush", "Alfa Slab One", "Alice", "Alike", "Alike Angular", "Allan", "Allerta", "Allerta Stencil", "Allura", "Almendra", "Almendra Display", "Almendra SC", "Amarante", "Amaranth", "Amatic SC", "Amethysta", "Anaheim", "Andada", "Andika", "Annie Use Your Telescope", "Anonymous Pro", "Antic", "Antic Didone", "Antic Slab", "Anton", "Arapey", "Arbutus", "Arbutus Slab", "Architects Daughter", "Archivo Black", "Archivo Narrow", "Arimo", "Arizonia", "Armata", "Artifika", "Arvo", "Asap", "Asset", "Astloch", "Asul", "Atomic Age", "Aubrey", "Audiowide", "Autour One", "Average", "Average Sans", "Averia Gruesa Libre", "Averia Libre", "Averia Sans Libre", "Averia Serif Libre", "Bad Script", "Balthazar", "Bangers", "Basic", "Baumans", "Belgrano", "Belleza", "BenchNine", "Bentham", "Berkshire Swash", "Bevan", "Bigelow Rules", "Bigshot One", "Bilbo", "Bilbo Swash Caps", "Bitter", "Black Ops One", "Bonbon", "Boogaloo", "Bowlby One", "Bowlby One SC", "Brawler", "Bree Serif", "Bubblegum Sans", "Bubbler One", "Buda", "Buenard", "Butcherman", "Butterfly Kids", "Cabin", "Cabin Condensed", "Cabin Sketch", "Caesar Dressing", "Cagliostro", "Calligraffitti", "Cambo", "Candal", "Cantarell", "Cantata One", "Cantora One", "Capriola", "Cardo", "Carme", "Carrois Gothic", "Carrois Gothic SC", "Carter One", "Caudex", "Cedarville Cursive", "Ceviche One", "Changa One", "Chango", "Chau Philomene One", "Chela One", "Chelsea Market", "Cherry Cream Soda", "Cherry Swash", "Chewy", "Chicle", "Chivo", "Cinzel", "Cinzel Decorative", "Clicker Script", "Coda", "Coda Caption", "Codystar", "Combo", "Comfortaa", "Coming Soon", "Concert One", "Condiment", "Contrail One", "Convergence", "Cookie", "Copse", "Corben", "Courgette", "Cousine", "Coustard", "Covered By Your Grace", "Crafty Girls", "Creepster", "Crete Round", "Crimson Text", "Croissant One", "Crushed", "Cuprum", "Cutive", "Cutive Mono", "Damion", "Dancing Script", "Dawning of a New Day", "Days One", "Delius", "Delius Swash Caps", "Delius Unicase", "Della Respira", "Denk One", "Devonshire", "Didact Gothic", "Diplomata", "Diplomata SC", "Domine", "Donegal One", "Doppio One", "Dorsa", "Dosis", "Dr Sugiyama", "Droid Sans", "Droid Sans Mono", "Droid Serif", "Duru Sans", "Dynalight", "Eagle Lake", "Eater", "EB Garamond", "Economica", "Electrolize", "Elsie", "Elsie Swash Caps", "Emblema One", "Emilys Candy", "Engagement", "Englebert", "Enriqueta", "Erica One", "Esteban", "Euphoria Script", "Ewert", "Exo", "Expletus Sans", "Fanwood Text", "Fascinate", "Fascinate Inline", "Faster One", "Fauna One", "Federant", "Federo", "Felipa", "Fenix", "Finger Paint", "Fjalla One", "Fjord One", "Flamenco", "Flavors", "Fondamento", "Fontdiner Swanky", "Forum", "Francois One", "Freckle Face", "Fredericka the Great", "Fredoka One", "Fresca", "Frijole", "Fruktur", "Fugaz One", "Gabriela", "Gafata", "Galdeano", "Galindo", "Gentium Basic", "Gentium Book Basic", "Geo", "Geostar", "Geostar Fill", "Germania One", "GFS Didot", "GFS Neohellenic", "Gilda Display", "Give You Glory", "Glass Antiqua", "Glegoo", "Gloria Hallelujah", "Goblin One", "Gochi Hand", "Gorditas", "Goudy Bookletter 1911", "Graduate", "Grand Hotel", "Gravitas One", "Great Vibes", "Griffy", "Gruppo", "Gudea", "Habibi", "Hammersmith One", "Hanalei", "Hanalei Fill", "Handlee", "Happy Monkey", "Headland One", "Henny Penny", "Herr Von Muellerhoff", "Holtwood One SC", "Homemade Apple", "Homenaje", "Iceberg", "Iceland", "IM Fell Double Pica", "IM Fell Double Pica SC", "IM Fell DW Pica", "IM Fell DW Pica SC", "IM Fell English", "IM Fell English SC", "IM Fell French Canon", "IM Fell French Canon SC", "IM Fell Great Primer", "IM Fell Great Primer SC", "Imprima", "Inconsolata", "Inder", "Indie Flower", "Inika", "Irish Grover", "Istok Web", "Italiana", "Italianno", "Jacques Francois", "Jacques Francois Shadow", "Jim Nightshade", "Jockey One", "Jolly Lodger", "Josefin Sans", "Josefin Slab", "Joti One", "Judson", "Julee", "Julius Sans One", "Junge", "Jura", "Just Another Hand", "Just Me Again Down Here", "Kameron", "Karla", "Kaushan Script", "Kavoon", "Keania One", "Kelly Slab", "Kenia", "Kite One", "Knewave", "Kotta One", "Kranky", "Kreon", "Kristi", "Krona One", "La Belle Aurore", "Lancelot", "Lato", "League Script", "Leckerli One", "Ledger", "Lekton", "Lemon", "Libre Baskerville", "Life Savers", "Lilita One", "Lily Script One", "Limelight", "Linden Hill", "Lobster", "Lobster Two", "Londrina Outline", "Londrina Shadow", "Londrina Sketch", "Londrina Solid", "Lora", "Love Ya Like A Sister", "Loved by the King", "Lovers Quarrel", "Luckiest Guy", "Lusitana", "Lustria", "Macondo", "Macondo Swash Caps", "Magra", "Maiden Orange", "Mako", "Marcellus", "Marcellus SC", "Marck Script", "Margarine", "Marko One", "Marmelad", "Marvel", "Mate", "Mate SC", "Maven Pro", "McLaren", "Meddon", "MedievalSharp", "Medula One", "Megrim", "Meie Script", "Merienda", "Merienda One", "Merriweather", "Merriweather Sans", "Metal Mania", "Metamorphous", "Metrophobic", "Michroma", "Milonga", "Miltonian", "Miltonian Tattoo", "Miniver", "Miss Fajardose", "Modern Antiqua", "Molengo", "Molle", "Monda", "Monofett", "Monoton", "Monsieur La Doulaise", "Montaga", "Montez", "Montserrat", "Montserrat Alternates", "Montserrat Subrayada", "Mountains of Christmas", "Mouse Memoirs", "Mr Bedfort", "Mr Dafoe", "Mr De Haviland", "Mrs Saint Delafield", "Mrs Sheppards", "Muli", "Mystery Quest", "Neucha", "Neuton", "New Rocker", "News Cycle", "Niconne", "Nixie One", "Nobile", "Norican", "Nosifer", "Nothing You Could Do", "Noticia Text", "Noto Sans", "Noto Serif", "Nova Cut", "Nova Flat", "Nova Mono", "Nova Oval", "Nova Round", "Nova Script", "Nova Slim", "Nova Square", "Numans", "Nunito", "Offside", "Old Standard TT", "Oldenburg", "Oleo Script", "Oleo Script Swash Caps", "Open Sans", "Open Sans Condensed", "Oranienbaum", "Orbitron", "Oregano", "Orienta", "Original Surfer", "Oswald", "Over the Rainbow", "Overlock", "Overlock SC", "Ovo", "Oxygen", "Oxygen Mono", "Pacifico", "Paprika", "Parisienne", "Passero One", "Passion One", "Pathway Gothic One", "Patrick Hand", "Patrick Hand SC", "Patua One", "Paytone One", "Peralta", "Permanent Marker", "Petit Formal Script", "Petrona", "Philosopher", "Piedra", "Pinyon Script", "Pirata One", "Plaster", "Play", "Playball", "Playfair Display", "Playfair Display SC", "Podkova", "Poiret One", "Poller One", "Poly", "Pompiere", "Poppins", "Pontano Sans", "Port Lligat Sans", "Port Lligat Slab", "Prata", "Press Start 2P", "Princess Sofia", "Prociono", "Prosto One", "PT Mono", "PT Sans", "PT Sans Caption", "PT Sans Narrow", "PT Serif", "PT Serif Caption", "Puritan", "Purple Purse", "Quando", "Quantico", "Quattrocento", "Quattrocento Sans", "Questrial", "Quicksand", "Quintessential", "Qwigley", "Racing Sans One", "Radley", "Raleway", "Raleway Dots", "Rambla", "Rammetto One", "Ranchers", "Rancho", "Rationale", "Redressed", "Reenie Beanie", "Revalia", "Ribeye", "Ribeye Marrow", "Righteous", "Risque", "Roboto", "Roboto Condensed", "Roboto Slab", "Rochester", "Rock Salt", "Rokkitt", "Romanesco", "Ropa Sans", "Rosario", "Rosarivo", "Rouge Script", "Ruda", "Rufina", "Ruge Boogie", "Ruluko", "Rum Raisin", "Ruslan Display", "Russo One", "Ruthie", "Rye", "Sacramento", "Sail", "Salsa", "Sanchez", "Sancreek", "Sansita One", "Sarina", "Satisfy", "Scada", "Schoolbell", "Seaweed Script", "Sevillana", "Seymour One", "Shadows Into Light", "Shadows Into Light Two", "Shanti", "Share", "Share Tech", "Share Tech Mono", "Shojumaru", "Short Stack", "Sigmar One", "Signika", "Signika Negative", "Simonetta", "Sintony", "Sirin Stencil", "Six Caps", "Skranji", "Slackey", "Smokum", "Smythe", "Sniglet", "Snippet", "Snowburst One", "Sofadi One", "Sofia", "Sonsie One", "Sorts Mill Goudy", "Source Code Pro", "Source Sans Pro", "Special Elite", "Spicy Rice", "Spinnaker", "Spirax", "Squada One", "Stalemate", "Stalinist One", "Stardos Stencil", "Stint Ultra Condensed", "Stint Ultra Expanded", "Stoke", "Strait", "Sue Ellen Francisco", "Sunshiney", "Supermercado One", "Swanky and Moo Moo", "Syncopate", "Tangerine", "Tauri", "Telex", "Tenor Sans", "Text Me One", "The Girl Next Door", "Tienne", "Tinos", "Titan One", "Titillium Web", "Trade Winds", "Trocchi", "Trochut", "Trykker", "Tulpen One", "Ubuntu", "Ubuntu Condensed", "Ubuntu Mono", "Ultra", "Uncial Antiqua", "Underdog", "Unica One", "UnifrakturCook", "UnifrakturMaguntia", "Unkempt", "Unlock", "Unna", "Vampiro One", "Varela", "Varela Round", "Vast Shadow", "Vibur", "Vidaloka", "Viga", "Voces", "Volkhov", "Vollkorn", "Voltaire", "VT323", "Waiting for the Sunrise", "Wallpoet", "Walter Turncoat", "Warnes", "Wellfleet", "Wendy One", "Wire One", "Yanone Kaffeesatz", "Yellowtail", "Yeseva One", "Yesteryear", "Zeyada");
60
  $dslc_should_filter = true;
61
 
62
  /**
@@ -80,23 +100,6 @@
80
  include DS_LIVE_COMPOSER_ABS . '/includes/post-templates.php';
81
  include DS_LIVE_COMPOSER_ABS . '/includes/other.php';
82
 
83
- /**
84
- * Tutorials disabled by default
85
- *
86
- * Use the next call to activate tutorilas form your theme
87
- * add_filter( 'dslc_tutorials', '__return_true' );
88
- *
89
- * @since 1.0.7
90
- */
91
-
92
- add_action( 'after_setup_theme', 'dslc_tutorials_load' );
93
- function dslc_tutorials_load() {
94
- $dslc_tutorials = false;
95
- if ( apply_filters( 'dslc_tutorials', $dslc_tutorials ) ) {
96
- include DS_LIVE_COMPOSER_ABS . '/includes/tutorials/tutorial.php';
97
- }
98
- }
99
-
100
  $cap_page = dslc_get_option( 'lc_min_capability_page', 'dslc_plugin_options_access_control' );
101
  if ( ! $cap_page ) $cap_page = 'publish_posts';
102
  define( 'DS_LIVE_COMPOSER_CAPABILITY', $cap_page );
@@ -144,33 +147,76 @@
144
  include DS_LIVE_COMPOSER_ABS . '/modules/navigation/module.php';
145
 
146
  /**
147
- * Activation Hook
 
 
 
 
 
148
  */
149
 
150
- function dslc_on_activation() {
151
-
152
- set_transient( '_dslc_activation_redirect_1', true, 60 );
153
-
154
- } register_activation_hook( __FILE__, 'dslc_on_activation' );
 
 
155
 
156
- add_action( 'admin_init', 'dslc_welcome' );
157
- function dslc_welcome() {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
158
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
159
  // Make Welcome screen optional for the theme developers
160
  $show_welcome_screen = true;
161
- if ( apply_filters( 'dslc_show_welcome_screen', $show_welcome_screen ) )
162
- return;
163
-
164
- // Bail if no activation redirect
165
- if ( ! get_transient( '_dslc_activation_redirect_1' ) )
166
  return;
167
 
168
- // Delete the redirect transient
169
- delete_transient( '_dslc_activation_redirect_1' );
170
-
171
  // Bail if activating from network, or bulk
172
- if ( is_network_admin() || isset( $_GET['activate-multi'] ) )
173
  return;
174
 
175
- wp_safe_redirect( admin_url( 'admin.php?page=dslc_getting_started' ) ); exit;
176
- }
 
 
 
 
1
  <?php
2
+ /**
3
+ * Plugin Name: Page Builder: Live Composer - drag and drop website builder (visual front end site editor)
4
+ * Plugin URI: https://www.livecomposerplugin.com
5
+ * Description: Front-end page builder for WordPress with drag and drop editing. Build PRO responsive websites and landing pages. Visually customize any page element.
6
+ * Author: Live Composer Team
7
+ * Version: 1.0.8.2
8
+ * Author URI: https://livecomposerplugin.com
9
+ * License: GPL2
10
+ * License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
+ * Text Domain: live-composer-page-builder
12
+ * Domain Path: /lang
13
+ *
14
+ * Live Composer is free software: you can redistribute it and/or modify
15
+ * it under the terms of the GNU General Public License as published by
16
+ * the Free Software Foundation, either version 2 of the License, or
17
+ * any later version.
18
+ *
19
+ * Live Composer is distributed in the hope that it will be useful,
20
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
+ * GNU General Public License for more details.
23
+ *
24
+ * You should have received a copy of the GNU General Public License
25
+ * along with Live Composer. If not, see <http://www.gnu.org/licenses/>.
26
+ */
27
+
28
+ // Exit if accessed directly.
29
+ if ( ! defined( 'ABSPATH' ) ) exit;
30
+
31
+ // Do not allow different versions of Live Composer to run at the same time
32
+ if ( ! defined( 'DS_LIVE_COMPOSER_VER' ) ):
33
 
34
  /**
35
  * Constants
36
  */
37
 
38
+ define( 'DS_LIVE_COMPOSER_VER', '1.0.8.2' );
39
 
40
  define( 'DS_LIVE_COMPOSER_SHORTNAME', __( 'Live Composer', 'live-composer-page-builder' ) );
41
  define( 'DS_LIVE_COMPOSER_BASENAME', plugin_basename( __FILE__ ) );
48
  define( 'DSLC_ST_FRAMEWORK_ABS', DS_LIVE_COMPOSER_ABS . '/includes/single-templates-framework' );
49
  define( 'DSLC_ROW_SYSTEM_ABS', DS_LIVE_COMPOSER_ABS . '/includes/row-system' );
50
 
51
+
52
  $dslc_var_image_option_bckp = array();
53
  $dslc_var_row_options = array();
54
 
76
  $dslc_css_fonts = '';
77
  $dslc_css_style = '';
78
  $dslc_googlefonts_array = array();
79
+ $dslc_all_googlefonts_array = array( "ABeeZee", "Abel", "Abril Fatface", "Aclonica", "Acme", "Actor", "Adamina", "Advent Pro", "Aguafina Script", "Akronim", "Aladin", "Aldrich", "Alef", "Alegreya", "Alegreya SC", "Alex Brush", "Alfa Slab One", "Alice", "Alike", "Alike Angular", "Allan", "Allerta", "Allerta Stencil", "Allura", "Almendra", "Almendra Display", "Almendra SC", "Amarante", "Amaranth", "Amatic SC", "Amethysta", "Anaheim", "Andada", "Andika", "Annie Use Your Telescope", "Anonymous Pro", "Antic", "Antic Didone", "Antic Slab", "Anton", "Arapey", "Arbutus", "Arbutus Slab", "Architects Daughter", "Archivo Black", "Archivo Narrow", "Arimo", "Arizonia", "Armata", "Artifika", "Arvo", "Asap", "Asset", "Astloch", "Asul", "Atomic Age", "Aubrey", "Audiowide", "Autour One", "Average", "Average Sans", "Averia Gruesa Libre", "Averia Libre", "Averia Sans Libre", "Averia Serif Libre", "Bad Script", "Balthazar", "Bangers", "Basic", "Baumans", "Belgrano", "Belleza", "BenchNine", "Bentham", "Berkshire Swash", "Bevan", "Bigelow Rules", "Bigshot One", "Bilbo", "Bilbo Swash Caps", "Bitter", "Black Ops One", "Bonbon", "Boogaloo", "Bowlby One", "Bowlby One SC", "Brawler", "Bree Serif", "Bubblegum Sans", "Bubbler One", "Buda", "Buenard", "Butcherman", "Butterfly Kids", "Cabin", "Cabin Condensed", "Cabin Sketch", "Caesar Dressing", "Cagliostro", "Calligraffitti", "Cambo", "Candal", "Cantarell", "Cantata One", "Cantora One", "Capriola", "Cardo", "Carme", "Carrois Gothic", "Carrois Gothic SC", "Carter One", "Caudex", "Cedarville Cursive", "Ceviche One", "Changa One", "Chango", "Chau Philomene One", "Chela One", "Chelsea Market", "Cherry Cream Soda", "Cherry Swash", "Chewy", "Chicle", "Chivo", "Cinzel", "Cinzel Decorative", "Clicker Script", "Coda", "Coda Caption", "Codystar", "Combo", "Comfortaa", "Coming Soon", "Concert One", "Condiment", "Contrail One", "Convergence", "Cookie", "Copse", "Corben", "Courgette", "Cousine", "Coustard", "Covered By Your Grace", "Crafty Girls", "Creepster", "Crete Round", "Crimson Text", "Croissant One", "Crushed", "Cuprum", "Cutive", "Cutive Mono", "Damion", "Dancing Script", "Dawning of a New Day", "Days One", "Delius", "Delius Swash Caps", "Delius Unicase", "Della Respira", "Denk One", "Devonshire", "Didact Gothic", "Diplomata", "Diplomata SC", "Domine", "Donegal One", "Doppio One", "Dorsa", "Dosis", "Dr Sugiyama", "Droid Sans", "Droid Sans Mono", "Droid Serif", "Duru Sans", "Dynalight", "Eagle Lake", "Eater", "EB Garamond", "Economica", "Electrolize", "Elsie", "Elsie Swash Caps", "Emblema One", "Emilys Candy", "Engagement", "Englebert", "Enriqueta", "Erica One", "Esteban", "Euphoria Script", "Ewert", "Exo", "Expletus Sans", "Fanwood Text", "Fascinate", "Fascinate Inline", "Faster One", "Fauna One", "Federant", "Federo", "Felipa", "Fenix", "Finger Paint", "Fjalla One", "Fjord One", "Flamenco", "Flavors", "Fondamento", "Fontdiner Swanky", "Forum", "Francois One", "Freckle Face", "Fredericka the Great", "Fredoka One", "Fresca", "Frijole", "Fruktur", "Fugaz One", "Gabriela", "Gafata", "Galdeano", "Galindo", "Gentium Basic", "Gentium Book Basic", "Geo", "Geostar", "Geostar Fill", "Germania One", "GFS Didot", "GFS Neohellenic", "Gilda Display", "Give You Glory", "Glass Antiqua", "Glegoo", "Gloria Hallelujah", "Goblin One", "Gochi Hand", "Gorditas", "Goudy Bookletter 1911", "Graduate", "Grand Hotel", "Gravitas One", "Great Vibes", "Griffy", "Gruppo", "Gudea", "Habibi", "Hammersmith One", "Hanalei", "Hanalei Fill", "Handlee", "Happy Monkey", "Headland One", "Henny Penny", "Herr Von Muellerhoff", "Holtwood One SC", "Homemade Apple", "Homenaje", "Iceberg", "Iceland", "IM Fell Double Pica", "IM Fell Double Pica SC", "IM Fell DW Pica", "IM Fell DW Pica SC", "IM Fell English", "IM Fell English SC", "IM Fell French Canon", "IM Fell French Canon SC", "IM Fell Great Primer", "IM Fell Great Primer SC", "Imprima", "Inconsolata", "Inder", "Indie Flower", "Inika", "Irish Grover", "Istok Web", "Italiana", "Italianno", "Jacques Francois", "Jacques Francois Shadow", "Jim Nightshade", "Jockey One", "Jolly Lodger", "Josefin Sans", "Josefin Slab", "Joti One", "Judson", "Julee", "Julius Sans One", "Junge", "Jura", "Just Another Hand", "Just Me Again Down Here", "Kameron", "Karla", "Kaushan Script", "Kavoon", "Keania One", "Kelly Slab", "Kenia", "Kite One", "Knewave", "Kotta One", "Kranky", "Kreon", "Kristi", "Krona One", "La Belle Aurore", "Lancelot", "Lato", "League Script", "Leckerli One", "Ledger", "Lekton", "Lemon", "Libre Baskerville", "Life Savers", "Lilita One", "Lily Script One", "Limelight", "Linden Hill", "Lobster", "Lobster Two", "Londrina Outline", "Londrina Shadow", "Londrina Sketch", "Londrina Solid", "Lora", "Love Ya Like A Sister", "Loved by the King", "Lovers Quarrel", "Luckiest Guy", "Lusitana", "Lustria", "Macondo", "Macondo Swash Caps", "Magra", "Maiden Orange", "Mako", "Marcellus", "Marcellus SC", "Marck Script", "Margarine", "Marko One", "Marmelad", "Marvel", "Mate", "Mate SC", "Maven Pro", "McLaren", "Meddon", "MedievalSharp", "Medula One", "Megrim", "Meie Script", "Merienda", "Merienda One", "Merriweather", "Merriweather Sans", "Metal Mania", "Metamorphous", "Metrophobic", "Michroma", "Milonga", "Miltonian", "Miltonian Tattoo", "Miniver", "Miss Fajardose", "Modern Antiqua", "Molengo", "Molle", "Monda", "Monofett", "Monoton", "Monsieur La Doulaise", "Montaga", "Montez", "Montserrat", "Montserrat Alternates", "Montserrat Subrayada", "Mountains of Christmas", "Mouse Memoirs", "Mr Bedfort", "Mr Dafoe", "Mr De Haviland", "Mrs Saint Delafield", "Mrs Sheppards", "Muli", "Mystery Quest", "Neucha", "Neuton", "New Rocker", "News Cycle", "Niconne", "Nixie One", "Nobile", "Norican", "Nosifer", "Nothing You Could Do", "Noticia Text", "Noto Sans", "Noto Serif", "Nova Cut", "Nova Flat", "Nova Mono", "Nova Oval", "Nova Round", "Nova Script", "Nova Slim", "Nova Square", "Numans", "Nunito", "Offside", "Old Standard TT", "Oldenburg", "Oleo Script", "Oleo Script Swash Caps", "Open Sans", "Open Sans Condensed", "Oranienbaum", "Orbitron", "Oregano", "Orienta", "Original Surfer", "Oswald", "Over the Rainbow", "Overlock", "Overlock SC", "Ovo", "Oxygen", "Oxygen Mono", "Pacifico", "Paprika", "Parisienne", "Passero One", "Passion One", "Pathway Gothic One", "Patrick Hand", "Patrick Hand SC", "Patua One", "Paytone One", "Peralta", "Permanent Marker", "Petit Formal Script", "Petrona", "Philosopher", "Piedra", "Pinyon Script", "Pirata One", "Plaster", "Play", "Playball", "Playfair Display", "Playfair Display SC", "Podkova", "Poiret One", "Poller One", "Poly", "Pompiere", "Poppins", "Pontano Sans", "Port Lligat Sans", "Port Lligat Slab", "Prata", "Press Start 2P", "Princess Sofia", "Prociono", "Prosto One", "PT Mono", "PT Sans", "PT Sans Caption", "PT Sans Narrow", "PT Serif", "PT Serif Caption", "Puritan", "Purple Purse", "Quando", "Quantico", "Quattrocento", "Quattrocento Sans", "Questrial", "Quicksand", "Quintessential", "Qwigley", "Racing Sans One", "Radley", "Raleway", "Raleway Dots", "Rambla", "Rammetto One", "Ranchers", "Rancho", "Rationale", "Redressed", "Reenie Beanie", "Revalia", "Ribeye", "Ribeye Marrow", "Righteous", "Risque", "Roboto", "Roboto Condensed", "Roboto Slab", "Rochester", "Rock Salt", "Rokkitt", "Romanesco", "Ropa Sans", "Rosario", "Rosarivo", "Rouge Script", "Ruda", "Rufina", "Ruge Boogie", "Ruluko", "Rum Raisin", "Ruslan Display", "Russo One", "Ruthie", "Rye", "Sacramento", "Sail", "Salsa", "Sanchez", "Sancreek", "Sansita One", "Sarina", "Satisfy", "Scada", "Schoolbell", "Seaweed Script", "Sevillana", "Seymour One", "Shadows Into Light", "Shadows Into Light Two", "Shanti", "Share", "Share Tech", "Share Tech Mono", "Shojumaru", "Short Stack", "Sigmar One", "Signika", "Signika Negative", "Simonetta", "Sintony", "Sirin Stencil", "Six Caps", "Skranji", "Slackey", "Smokum", "Smythe", "Sniglet", "Snippet", "Snowburst One", "Sofadi One", "Sofia", "Sonsie One", "Sorts Mill Goudy", "Source Code Pro", "Source Sans Pro", "Special Elite", "Spicy Rice", "Spinnaker", "Spirax", "Squada One", "Stalemate", "Stalinist One", "Stardos Stencil", "Stint Ultra Condensed", "Stint Ultra Expanded", "Stoke", "Strait", "Sue Ellen Francisco", "Sunshiney", "Supermercado One", "Swanky and Moo Moo", "Syncopate", "Tangerine", "Tauri", "Telex", "Tenor Sans", "Text Me One", "The Girl Next Door", "Tienne", "Tinos", "Titan One", "Titillium Web", "Trade Winds", "Trocchi", "Trochut", "Trykker", "Tulpen One", "Ubuntu", "Ubuntu Condensed", "Ubuntu Mono", "Ultra", "Uncial Antiqua", "Underdog", "Unica One", "UnifrakturCook", "UnifrakturMaguntia", "Unkempt", "Unlock", "Unna", "Vampiro One", "Varela", "Varela Round", "Vast Shadow", "Vibur", "Vidaloka", "Viga", "Voces", "Volkhov", "Vollkorn", "Voltaire", "VT323", "Waiting for the Sunrise", "Wallpoet", "Walter Turncoat", "Warnes", "Wellfleet", "Wendy One", "Wire One", "Yanone Kaffeesatz", "Yellowtail", "Yeseva One", "Yesteryear", "Zeyada" );
80
  $dslc_should_filter = true;
81
 
82
  /**
100
  include DS_LIVE_COMPOSER_ABS . '/includes/post-templates.php';
101
  include DS_LIVE_COMPOSER_ABS . '/includes/other.php';
102
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
  $cap_page = dslc_get_option( 'lc_min_capability_page', 'dslc_plugin_options_access_control' );
104
  if ( ! $cap_page ) $cap_page = 'publish_posts';
105
  define( 'DS_LIVE_COMPOSER_CAPABILITY', $cap_page );
147
  include DS_LIVE_COMPOSER_ABS . '/modules/navigation/module.php';
148
 
149
  /**
150
+ * Tutorials disabled by default
151
+ *
152
+ * Use the next call to activate tutorials form your theme
153
+ * add_filter( 'dslc_tutorials', '__return_true' );
154
+ *
155
+ * @since 1.0.7
156
  */
157
 
158
+ add_action( 'after_setup_theme', 'dslc_tutorials_load' );
159
+ function dslc_tutorials_load() {
160
+ $dslc_tutorials = false;
161
+ if ( apply_filters( 'dslc_tutorials', $dslc_tutorials ) ) {
162
+ include DS_LIVE_COMPOSER_ABS . '/includes/tutorials/tutorial.php';
163
+ }
164
+ }
165
 
166
+ endif; // ! defined( 'DS_LIVE_COMPOSER_VER' )
167
+
168
+ /**
169
+ * On plugin activation check if there is lite version
170
+ * or previous generation of the plugin installed.
171
+ * If found, disable these "unwanted" versions of LC.
172
+ *
173
+ * @return void
174
+ */
175
+ function dslc_disable_old_plugin() {
176
+
177
+ if ( stristr( __FILE__ , 'live-composer-page-builder/') ) {
178
+
179
+ /**
180
+ * Deactivate the old version of Live Composer.
181
+ * New version is live-composer-page-builder/ds-live-composer.php
182
+ */
183
+ $old_lc = 'ds-live-composer/ds-live-composer.php';
184
+ if ( is_plugin_active( $old_lc ) ) {
185
+ deactivate_plugins( $old_lc );
186
+ }
187
 
188
+ /* Deactivate lite version of the Live Composer */
189
+ $lc_lite = 'live-composer-lite/lite-ds-live-composer.php';
190
+ if ( is_plugin_active( $lc_lite ) ) {
191
+ deactivate_plugins( $lc_lite );
192
+ }
193
+ }
194
+ }
195
+ register_activation_hook( __FILE__, 'dslc_disable_old_plugin' );
196
+
197
+ /**
198
+ * Function redirects to the 'Welcome Screen' on plugin activation.
199
+ * Theme developers we have 'dslc_show_welcome_screen' filter for you
200
+ * to make it possible to disable this behavior from the theme.
201
+ *
202
+ * @param string $plugin full path to the plugin that WP just activated
203
+ * @return void
204
+ */
205
+ function lc_welcome( $plugin ) {
206
+
207
+ if ( $plugin == plugin_basename( __FILE__ ) ) {
208
  // Make Welcome screen optional for the theme developers
209
  $show_welcome_screen = true;
210
+ if ( ! apply_filters( 'dslc_show_welcome_screen', $show_welcome_screen ) )
 
 
 
 
211
  return;
212
 
 
 
 
213
  // Bail if activating from network, or bulk
214
+ if ( is_network_admin() || isset( $_GET['activate-multi'] ) || isset( $_GET['tgmpa-activate'] ) )
215
  return;
216
 
217
+ wp_safe_redirect( admin_url( 'admin.php?page=dslc_plugin_options#dslc-top' ) );
218
+ exit; // ! important to keep this exit line
219
+ }
220
+
221
+ }
222
+ add_action( 'activated_plugin', 'lc_welcome' );
includes/class.module.php CHANGED
@@ -407,7 +407,7 @@ class DSLC_Module {
407
  array(
408
  'label' => 'Font Family',
409
  'id' => 'css_filter_font_family',
410
- 'std' => 'Open Sans',
411
  'type' => 'font',
412
  'refresh_on_change' => false,
413
  'affect_on_change_el' => '.dslc-post-filter',
@@ -669,7 +669,7 @@ class DSLC_Module {
669
  array(
670
  'label' => 'Title - Font Family',
671
  'id' => 'css_main_heading_font_family',
672
- 'std' => 'Oswald',
673
  'type' => 'font',
674
  'refresh_on_change' => false,
675
  'affect_on_change_el' => '.dslc-module-heading h2',
@@ -757,7 +757,7 @@ class DSLC_Module {
757
  array(
758
  'label' => 'Link - Font Family',
759
  'id' => 'css_main_heading_link_font_family',
760
- 'std' => 'Open Sans',
761
  'type' => 'font',
762
  'refresh_on_change' => false,
763
  'affect_on_change_el' => '.dslc-module-heading-view-all a',
@@ -1523,7 +1523,7 @@ class DSLC_Module {
1523
  array(
1524
  'label' => 'Item - Font Family',
1525
  'id' => 'css_pag_item_font_family',
1526
- 'std' => 'Open Sans',
1527
  'type' => 'font',
1528
  'refresh_on_change' => false,
1529
  'affect_on_change_el' => '.dslc-pagination li a',
407
  array(
408
  'label' => 'Font Family',
409
  'id' => 'css_filter_font_family',
410
+ 'std' => '',
411
  'type' => 'font',
412
  'refresh_on_change' => false,
413
  'affect_on_change_el' => '.dslc-post-filter',
669
  array(
670
  'label' => 'Title - Font Family',
671
  'id' => 'css_main_heading_font_family',
672
+ 'std' => '',
673
  'type' => 'font',
674
  'refresh_on_change' => false,
675
  'affect_on_change_el' => '.dslc-module-heading h2',
757
  array(
758
  'label' => 'Link - Font Family',
759
  'id' => 'css_main_heading_link_font_family',
760
+ 'std' => '',
761
  'type' => 'font',
762
  'refresh_on_change' => false,
763
  'affect_on_change_el' => '.dslc-module-heading-view-all a',
1523
  array(
1524
  'label' => 'Item - Font Family',
1525
  'id' => 'css_pag_item_font_family',
1526
+ 'std' => '',
1527
  'type' => 'font',
1528
  'refresh_on_change' => false,
1529
  'affect_on_change_el' => '.dslc-pagination li a',
includes/display-functions.php CHANGED
@@ -588,7 +588,7 @@ function dslc_filter_content( $content ) {
588
  // 2) Proceed if in a WordPress loop ( https://codex.wordpress.org/Function_Reference/in_the_loop )
589
  // 3) Proceed if global var $dslc_should_filter is true
590
  // Irrelevant of the other 3 proceed if archives, search or 404 page
591
- if ( ( $currID == $realID && in_the_loop() && $dslc_should_filter ) || is_archive() || is_author() || is_search() || is_404() ) {
592
 
593
  // Variables that are used throughout the function
594
  $composer_wrapper_before = '';
588
  // 2) Proceed if in a WordPress loop ( https://codex.wordpress.org/Function_Reference/in_the_loop )
589
  // 3) Proceed if global var $dslc_should_filter is true
590
  // Irrelevant of the other 3 proceed if archives, search or 404 page
591
+ if ( ( $currID == $realID && in_the_loop() && $dslc_should_filter ) || ( is_archive() && $dslc_should_filter ) || is_author() || is_search() || is_404() ) {
592
 
593
  // Variables that are used throughout the function
594
  $composer_wrapper_before = '';
includes/functions.php CHANGED
@@ -336,8 +336,8 @@ function dslc_generate_custom_css( $options_arr, $settings, $restart = false ) {
336
  $do_css_output = false;
337
  $css_output_el = ''; // var for temporary output of current el
338
 
339
- $do_css_output_border = false;
340
- $css_output_el_border = ''; // process border CSS properties separately
341
 
342
  $do_css_output_background = false;
343
  $css_output_el_background = ''; // process background CSS properties separately
@@ -357,29 +357,19 @@ function dslc_generate_custom_css( $options_arr, $settings, $restart = false ) {
357
  // Basic CSS rule name validation
358
  if ( $value != '' && $value != 'url(" ")' && ! preg_match( "/([\[\];<>]+)/", $value ) && preg_match( "/([-a-z@]{3,60})/", $rule ) ) {
359
 
360
- // Output all the border properties only if border-width has been set
361
- if ( $rule == 'border-width' && $value != '' && $value != '0px' && $value != '0' ) {
362
- $do_css_output_border = true;
363
- }
364
- // Make no sense to output this property
365
- if ( $rule == 'border-style' && $value == 'none none none none' ) {
366
- $do_css_output_border = false;
367
- }
368
- // Shorten border-style properties
369
- if ( $rule == 'border-style' && $value == 'solid solid solid solid' ) {
370
- $value = 'solid';
371
- }
372
  // Output all the background properties only if background-image is set
373
  if ( $rule == 'background-image' ) {
374
  $do_css_output_background = true;
375
  }
376
 
 
377
  $css_output_rule .= $rule . ':' . $value . $important_append . ';';
378
 
379
- if ( stristr( $rule, 'border' ) && ! stristr( $rule, '-radius' ) ) {
380
- $css_output_el_border .= $css_output_rule;
381
- } elseif ( stristr( $rule, 'background-' ) && $rule != 'background-color' ) {
382
  $css_output_el_background .= $css_output_rule;
 
 
383
  } else {
384
  $css_output_el .= $css_output_rule;
385
  }
@@ -388,10 +378,11 @@ function dslc_generate_custom_css( $options_arr, $settings, $restart = false ) {
388
  }
389
 
390
  }
391
-
392
  if ( $do_css_output_border ) {
393
  $css_output_el .= $css_output_el_border;
394
  }
 
395
 
396
  if ( $do_css_output_background ) {
397
  $css_output_el .= $css_output_el_background;
336
  $do_css_output = false;
337
  $css_output_el = ''; // var for temporary output of current el
338
 
339
+ // $do_css_output_border = false;
340
+ // $css_output_el_border = ''; // process border CSS properties separately
341
 
342
  $do_css_output_background = false;
343
  $css_output_el_background = ''; // process background CSS properties separately
357
  // Basic CSS rule name validation
358
  if ( $value != '' && $value != 'url(" ")' && ! preg_match( "/([\[\];<>]+)/", $value ) && preg_match( "/([-a-z@]{3,60})/", $rule ) ) {
359
 
360
+
 
 
 
 
 
 
 
 
 
 
 
361
  // Output all the background properties only if background-image is set
362
  if ( $rule == 'background-image' ) {
363
  $do_css_output_background = true;
364
  }
365
 
366
+
367
  $css_output_rule .= $rule . ':' . $value . $important_append . ';';
368
 
369
+ if ( stristr( $rule, 'background-' ) && $rule != 'background-color' ) {
 
 
370
  $css_output_el_background .= $css_output_rule;
371
+ } elseif ( $rule == 'max-width' && ( $value == '0px' || $value == '0' || $value == '1400px' ) ) { // min-width = 0 is empty
372
+ $css_output_el .= '';
373
  } else {
374
  $css_output_el .= $css_output_rule;
375
  }
378
  }
379
 
380
  }
381
+ /*
382
  if ( $do_css_output_border ) {
383
  $css_output_el .= $css_output_el_border;
384
  }
385
+ */
386
 
387
  if ( $do_css_output_background ) {
388
  $css_output_el .= $css_output_el_background;
js/builder.main.js CHANGED
@@ -112,9 +112,9 @@ var dslcDebug = false;
112
  // Get vars
113
  var sectionTitle = jQuery(section).data('title'),
114
  newColor = jQuery(section).data('bg');
115
-
116
  // Hide ( animate ) the container
117
- jQuery('.dslca-container').css({ bottom: -500 });
118
 
119
  // Change the section color
120
  jQuery('.dslca-sections').animate({ backgroundColor : newColor }, 200);
@@ -127,7 +127,7 @@ var dslcDebug = false;
127
  if ( section == '.dslca-modules-section-edit' ) { dslc_row_edit_scrollbar_init(); }
128
 
129
  // Change "currently editing"
130
- if ( section == '.dslca-module-edit' ) {
131
  jQuery('.dslca-currently-editing')
132
  .show()
133
  .css( 'background-color', newColor )
@@ -171,8 +171,8 @@ var dslcDebug = false;
171
  if ( dslcDebug ) console.log( 'dslc_generate_filters' );
172
 
173
  // Vars
174
- var el, filters = [], filtersHTML = '<span data-origin="">ALL</span>', els = jQuery('.dslca-section:visible .dslca-origin');
175
-
176
  // Go through each and generate the filters
177
  els.each(function(){
178
  el = jQuery(this);
@@ -190,7 +190,7 @@ var dslcDebug = false;
190
  * UI - GENERAL - Origin Filter
191
  */
192
 
193
- function dslc_filter_origin( origin, section ) {
194
 
195
  if ( dslcDebug ) console.log( 'dslc_filter_origin' );
196
 
@@ -206,7 +206,7 @@ var dslcDebug = false;
206
  }
207
 
208
  /**
209
- * UI - General - Initiate Drag and Drop Functonality
210
  */
211
 
212
  function dslc_drag_and_drop() {
@@ -241,11 +241,11 @@ var dslcDebug = false;
241
  tolerance : 'pointer',
242
  cursorAt: { bottom: 10 },
243
  axis: 'y',
244
- scroll: true,
245
  scrollSensitivity: 200,
246
  scrollSpeed : 10,
247
  sort: function() {
248
- jQuery( this ).removeClass( "ui-state-default" );
249
  },
250
  update: function (e, ui) {
251
  dslc_generate_code();
@@ -271,7 +271,7 @@ var dslcDebug = false;
271
  placeholder: 'dslca-modules-area-placeholder',
272
  cursorAt: { top: 0, left: 0 },
273
  tolerance : 'intersect',
274
- scroll: true,
275
  scrollSensitivity: 100,
276
  scrollSpeed : 15,
277
  sort: function() {
@@ -290,9 +290,9 @@ var dslcDebug = false;
290
  jQuery(this).removeClass('dslc-modules-section-not-empty').addClass('dslc-modules-section-empty');
291
  }
292
  });
293
-
294
 
295
- },
 
296
  update: function (e, ui) {
297
  dslc_generate_code();
298
  dslc_show_publish_button();
@@ -329,7 +329,7 @@ var dslcDebug = false;
329
  drop: function( event, ui ) {
330
  var modulesSection = jQuery(this).find('.dslc-modules-section-inner');
331
  var moduleID = ui.draggable.data( 'id' );
332
- if ( moduleID == 'DSLC_M_A' ) {
333
  dslc_modules_area_add( modulesSection );
334
  }
335
  }
@@ -345,8 +345,8 @@ var dslcDebug = false;
345
  modulesArea = jQuery(this);
346
  moduleID = ui.draggable.data( 'id' );
347
 
348
- if ( moduleID == 'DSLC_M_A' || jQuery('body').hasClass('dslca-module-drop-in-progress') || modulesArea.closest('#dslc-header').length || modulesArea.closest('#dslc-footer').length ) {
349
-
350
  // nothing
351
 
352
  } else {
@@ -395,7 +395,7 @@ var dslcDebug = false;
395
  // "Show" modules area management
396
  jQuery('.dslca-modules-area-manage', modulesArea).css ({ visibility : 'visible' });
397
 
398
- // Show publish
399
  jQuery('.dslca-save-composer-hook').css({ 'visibility' : 'visible' });
400
  jQuery('.dslca-save-draft-composer-hook').css({ 'visibility' : 'visible' });
401
 
@@ -441,19 +441,19 @@ var dslcDebug = false;
441
  placeholder: 'dslca-module-placeholder',
442
  cursorAt: { top: 50, left : 30 },
443
  tolerance : 'pointer',
444
- scroll: true,
445
  scrollSensitivity: 100,
446
  scrollSpeed : 15,
447
  start: function(e, ui) {
448
 
449
  ui.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">' + ui.item.find('.dslc-sortable-helper-icon').data('title') + '</span></span>');
450
-
451
  if ( ! jQuery(ui.item).hasClass('dslc-12-col') ) {
452
  ui.placeholder.width(ui.item.width() - 10)
453
  } else {
454
  ui.placeholder.width(ui.item.width()).css({ margin : 0 });
455
  }
456
-
457
  jQuery('body').removeClass('dslca-drag-not-in-progress').addClass('dslca-drag-in-progress');
458
 
459
  if ( jQuery('.dslc-module-front', this).length < 2 ) {
@@ -468,7 +468,7 @@ var dslcDebug = false;
468
  '-webkit-animation-duration' : '0.6s',
469
  padding : 0
470
  }).animate({ padding : '35px 0' }, 300, function(){
471
-
472
  });
473
 
474
  }
@@ -479,7 +479,7 @@ var dslcDebug = false;
479
  sort: function(e, ui) {
480
 
481
  /* Gets added unintentionally by droppable interacting with sortable */
482
- jQuery( this ).removeClass( "ui-state-default" );
483
 
484
  },
485
  update: function (e, ui) {
@@ -503,7 +503,7 @@ var dslcDebug = false;
503
  */
504
 
505
  function dslc_option_changed() { dslc_show_publish_button(); }
506
- function dslc_module_dragdrop_init() { dslc_drag_and_drop(); }
507
 
508
  /**
509
  * UI - GENERAL - Document Ready
@@ -585,7 +585,7 @@ var dslcDebug = false;
585
  e.preventDefault();
586
  dslc_show_section( '.dslca-modules' );
587
 
588
- });
589
 
590
  /**
591
  * Hook - Section Show - Dynamic
@@ -715,7 +715,7 @@ var dslcDebug = false;
715
  scrollerItem = jQuery(this);
716
 
717
  // Increment width ( for complete width of all )
718
- startingWidth += scrollerItem.outerWidth();
719
 
720
  // If current item makes the width count over the max visible
721
  if ( startingWidth > scrollerWidth ) {
@@ -742,7 +742,7 @@ var dslcDebug = false;
742
  }
743
 
744
  /**
745
- * SCROLLER - Scroll To Specific Item
746
  */
747
 
748
  function dslc_scroller_go_to( scrollerItemIndex, scroller ) {
@@ -776,7 +776,7 @@ var dslcDebug = false;
776
  scrollerInner.css({ left : scrollerNewOffset });
777
 
778
  // If offset less than 0
779
- } else {
780
 
781
  // Animate to beggining
782
  scrollerInner.css({ left : 0 });
@@ -824,10 +824,10 @@ var dslcDebug = false;
824
 
825
  // Vars
826
  var scrollerCurr = scroller.data('current');
827
-
828
  // Two places after current
829
  var scrollerNew = scroller.find('.dslca-scroller-item:eq(' + scrollerCurr + ')').nextAll('.dslca-scroller-item:visible').eq(1).index();
830
-
831
  // One place after current
832
  var scrollerNewAlt = scroller.find('.dslca-scroller-item:eq(' + scrollerCurr + ')').nextAll('.dslca-scroller-item:visible').eq(0).index();
833
 
@@ -867,7 +867,7 @@ var dslcDebug = false;
867
  dslc_scroller_next( $(this).closest('.dslca-section').find('.dslca-section-scroller') );
868
 
869
  });
870
-
871
  });
872
 
873
  /**
@@ -923,9 +923,9 @@ var dslcDebug = false;
923
 
924
  if ( ! jQuery('body').hasClass('dslca-composer-hidden' ) ) {
925
 
926
- if ( jQuery(this).height() < 190 )
927
  jQuery('.dslca-module-manage', this).addClass('dslca-horizontal');
928
- else
929
  jQuery('.dslca-module-manage', this).removeClass('dslca-horizontal');
930
 
931
  }
@@ -937,8 +937,8 @@ var dslcDebug = false;
937
  jQuery(this).find('.dslca-change-width-module-options').hide();
938
 
939
  }
940
-
941
- // Hide "width change opts"
942
  jQuery(this).find('.dslca-module-manage').removeClass('dslca-module-manage-change-width-active');
943
 
944
  });
@@ -953,9 +953,9 @@ var dslcDebug = false;
953
 
954
  jQuery('#dslc-header').addClass('dslca-header-low-z-index');
955
 
956
- if ( jQuery(this).height() < 130 )
957
  jQuery('.dslca-modules-area-manage', this).addClass('dslca-horizontal');
958
- else
959
  jQuery('.dslca-modules-area-manage', this).removeClass('dslca-horizontal');
960
 
961
  }
@@ -970,7 +970,7 @@ var dslcDebug = false;
970
 
971
  }
972
 
973
- });
974
 
975
  }
976
 
@@ -1102,7 +1102,7 @@ var dslcDebug = false;
1102
  }
1103
 
1104
  });
1105
-
1106
  });
1107
 
1108
 
@@ -1118,7 +1118,7 @@ var dslcDebug = false;
1118
  function dslc_js_confirm( dslcID, dslcContent, dslcTarget ) {
1119
 
1120
  if ( dslcDebug ) console.log( 'dslc_js_confirm' );
1121
-
1122
  // Add "active" class
1123
  jQuery('.dslca-prompt-modal').addClass('dslca-prompt-modal-active');
1124
 
@@ -1138,7 +1138,7 @@ var dslcDebug = false;
1138
  jQuery('.dslca-prompt-modal-content').css({ top : '55%' }).animate({
1139
  top : '50%'
1140
  }, 400);
1141
-
1142
  }
1143
 
1144
  function dslc_js_confirm_close() {
@@ -1160,7 +1160,7 @@ var dslcDebug = false;
1160
  jQuery('.dslca-prompt-modal-content').animate({
1161
  top : '55%'
1162
  }, 400);
1163
-
1164
  }
1165
 
1166
  /**
@@ -1170,7 +1170,7 @@ var dslcDebug = false;
1170
  jQuery(document).ready(function($){
1171
 
1172
  $(document).on( 'click', '.dslca-prompt-modal-cancel-hook', function(e){
1173
-
1174
  e.preventDefault();
1175
 
1176
  var dslcAction = jQuery('.dslca-prompt-modal').data('id');
@@ -1200,7 +1200,7 @@ var dslcDebug = false;
1200
  var dslcAction = jQuery('.dslca-prompt-modal').data('id');
1201
  var dslcTarget = jQuery('.dslca-prompt-modal').data('target');
1202
  var closeAtEnd = true;
1203
-
1204
  if ( dslcAction == 'edit_in_progress' ) {
1205
 
1206
  dslc_module_options_confirm_changes( function(){
@@ -1249,7 +1249,7 @@ var dslcDebug = false;
1249
 
1250
  $(window).on( 'keydown', function(e) {
1251
 
1252
- // Enter ( confirm )
1253
  if( e.which == 13 ) {
1254
  if ( $('.dslca-prompt-modal-active').length ) {
1255
  $('.dslca-prompt-modal-confirm-hook').trigger('click');
@@ -1303,7 +1303,7 @@ var dslcDebug = false;
1303
  dslc : 'active'
1304
  },
1305
  function( response ) {
1306
-
1307
  // Append new row
1308
  jQuery( response.output ).appendTo('#dslc-main');
1309
 
@@ -1330,9 +1330,9 @@ var dslcDebug = false;
1330
 
1331
  // If the row is being edited
1332
  if ( row.find('.dslca-module-being-edited') ) {
1333
-
1334
  // Hide the filter hooks
1335
- jQuery('.dslca-header .dslca-options-filter-hook').hide();
1336
 
1337
  // Hide the save/cancel actions
1338
  jQuery('.dslca-module-edit-actions').hide();
@@ -1377,7 +1377,7 @@ var dslcDebug = false;
1377
  jQuery('.dslca-row-options-filter-hook[data-section="styling"]').trigger('click');
1378
 
1379
  // Hide the filter hooks
1380
- jQuery('.dslca-header .dslca-options-filter-hook').hide();
1381
 
1382
  // Hide the save/cancel actions
1383
  jQuery('.dslca-module-edit-actions').hide();
@@ -1489,13 +1489,13 @@ var dslcDebug = false;
1489
 
1490
  if ( dslcDebug ) console.log( 'dslc_row_edit_colorpicker_init' );
1491
 
1492
- var dslcField,
1493
- dslcFieldID,
1494
- dslcEl,
1495
- dslcModulesSection,
1496
- dslcVal,
1497
- dslcRule,
1498
- dslcSetting,
1499
  dslcTargetEl,
1500
  dslcCurrColor;
1501
 
@@ -1539,10 +1539,10 @@ var dslcDebug = false;
1539
  showPalette: true,
1540
  palette: dslcColorPallete,
1541
  move: function( color ) {
1542
-
1543
  dslcField = jQuery(this);
1544
  dslcFieldID = dslcField.data('id');
1545
-
1546
  if ( color == null )
1547
  dslcVal = 'transparent';
1548
  else
@@ -1564,15 +1564,15 @@ var dslcDebug = false;
1564
 
1565
  },
1566
  change: function( color ) {
1567
-
1568
  dslcField = jQuery(this);
1569
  dslcFieldID = dslcField.data('id');
1570
-
1571
  if ( color == null )
1572
  dslcVal = 'transparent';
1573
  else
1574
  dslcVal = color.toRgbString();
1575
-
1576
  // Update pallete local storage
1577
  if ( localStorage['dslcColorpickerPalleteStorage'] == undefined ) {
1578
  var newStorage = [ dslcVal ];
@@ -1639,7 +1639,7 @@ var dslcDebug = false;
1639
  max : dslcSliderMax,
1640
  step: dslcSliderIncr,
1641
  value: dslcSliderInput.val(),
1642
- slide: function(event, ui) {
1643
 
1644
  dslcSliderVal = ui.value + dslcSliderExt;
1645
  dslcSliderInput.val( dslcSliderVal );
@@ -1687,7 +1687,7 @@ var dslcDebug = false;
1687
  dslcSliderVal = ui.value;
1688
 
1689
  dslcSliderTooltip.show();
1690
-
1691
  // Tooltip
1692
  dslcSliderTooltip.text( dslcSliderVal );
1693
  dslcSliderHandle = dslcSlider.find('.ui-slider-handle');
@@ -1714,7 +1714,7 @@ var dslcDebug = false;
1714
 
1715
  jQuery('.dslca-modules-section-edit-option').each(function(){
1716
  dslcWidth += jQuery(this).outerWidth(true) + 1;
1717
- });
1718
 
1719
  if ( dslcWidth > jQuery( '.dslca-modules-section-edit-options' ).width() ) {
1720
  jQuery('.dslca-modules-section-edit-options-wrapper').width( dslcWidth );
@@ -1872,7 +1872,7 @@ var dslcDebug = false;
1872
  jQuery('.dslca-module-being-edited').removeClass('dslca-module-being-edited');
1873
 
1874
  // Get new ID
1875
- dslcModuleID = response.output;
1876
 
1877
  // Apply new ID and append "being-edited" class
1878
  dslcModule.data( 'module-id', dslcModuleID ).attr( 'id', 'dslc-module-' + dslcModuleID ).addClass('dslca-module-being-edited');
@@ -1899,7 +1899,7 @@ var dslcDebug = false;
1899
  * Row - Import
1900
  */
1901
 
1902
- function dslc_row_import( rowCode ) {
1903
 
1904
  if ( dslcDebug ) console.log( 'dslc_row_import' );
1905
 
@@ -1913,7 +1913,7 @@ var dslcDebug = false;
1913
  dslc_modules_section_code : rowCode
1914
  },
1915
  function( response ) {
1916
-
1917
  // Close the import popup/modal
1918
  dslc_js_confirm_close();
1919
 
@@ -1998,7 +1998,7 @@ var dslcDebug = false;
1998
 
1999
  // If not disabled ( disabling used for tutorial )
2000
  if ( ! $(this).hasClass('dslca-action-disabled') ) {
2001
-
2002
  // If a module is being edited
2003
  if ( jQuery('.dslca-module-being-edited.dslca-module-change-made').length ) {
2004
 
@@ -2009,11 +2009,11 @@ var dslcDebug = false;
2009
  } else if ( jQuery('.dslca-modules-section-being-edited.dslca-modules-section-change-made').length ) {
2010
 
2011
  // Ask to confirm or cancel
2012
- dslc_js_confirm( 'edit_in_progress', '<span class="dslca-prompt-modal-title">' + DSLCString.str_row_curr_edit_title + '</span><span class="dslca-prompt-modal-descr">' + DSLCString.str_row_curr_edit_descr + '</span>', jQuery(this) );
2013
 
2014
  // All good to proceed
2015
  } else {
2016
-
2017
  // Trigger the function to edit
2018
  dslc_row_edit( $(this).closest('.dslc-modules-section') );
2019
 
@@ -2021,7 +2021,7 @@ var dslcDebug = false;
2021
 
2022
  }
2023
 
2024
- });
2025
 
2026
  /**
2027
  * Hook - Confirm Row Changes
@@ -2054,7 +2054,7 @@ var dslcDebug = false;
2054
  $(document).on( 'click', '.dslca-copy-modules-section-hook', function() {
2055
 
2056
  if ( ! $(this).hasClass('dslca-action-disabled') ) {
2057
- dslc_row_copy( $(this).closest('.dslc-modules-section') );
2058
  }
2059
 
2060
  });
@@ -2140,7 +2140,7 @@ var dslcDebug = false;
2140
  dslc : 'active'
2141
  },
2142
  function( response ) {
2143
-
2144
  // Loading Animation
2145
  jQuery('.dslca-modules-area-loading .dslca-module-loading-inner', row.closest('.dslc-modules-section') ).stop().animate({
2146
  width : '100%'
@@ -2148,7 +2148,7 @@ var dslcDebug = false;
2148
  row.css({ paddingBottom : 0 });
2149
  jQuery(this).closest('.dslca-modules-area-loading').hide();
2150
  });
2151
-
2152
  // Handle adding after animation done
2153
  setTimeout( function(){
2154
 
@@ -2183,7 +2183,7 @@ var dslcDebug = false;
2183
 
2184
  }
2185
 
2186
- /**
2187
  * AREAS - Delete
2188
  */
2189
 
@@ -2197,16 +2197,16 @@ var dslcDebug = false;
2197
 
2198
  // Add a class to the area so we know it's being deleted
2199
  area.addClass('dslca-modules-area-being-deleted');
2200
-
2201
  // If it's the last area in the row add a new one after deletion
2202
  if ( modulesSection.find('.dslc-modules-area').length < 2 )
2203
  dslcAddNew = true;
2204
 
2205
  // If a module in the area is being edited
2206
  if ( area.find('.dslca-module-being-edited').length ) {
2207
-
2208
  // Hide the filter hooks
2209
- jQuery('.dslca-header .dslca-options-filter-hook').hide();
2210
 
2211
  // Hide the save/cancel actions
2212
  jQuery('.dslca-module-edit-actions').hide();
@@ -2274,13 +2274,13 @@ var dslcDebug = false;
2274
  dslcModulesAreaCloned.find('.dslca-modules-area-manage').trigger('mouseleave');
2275
 
2276
  // Apply correct data size and get rid of animations
2277
- dslcModulesAreaCloned.data('size', area.data('size') ).find('.dslc-module-front').css({
2278
  '-webkit-animation-name' : 'none',
2279
  '-moz-animation-name' : 'none',
2280
  'animation-name' : 'none',
2281
  'animation-duration' : '0',
2282
  '-webkit-animation-duration' : '0',
2283
- opacity : 0
2284
 
2285
  // Go through each module in the area
2286
  }).each(function(){
@@ -2300,7 +2300,7 @@ var dslcDebug = false;
2300
  jQuery('.dslca-module-being-edited').removeClass('dslca-module-being-edited');
2301
 
2302
  // Store the new ID
2303
- dslcModuleID = response.output;
2304
 
2305
  // Apply the new ID and add being edited class
2306
  dslcModule.data( 'module-id', dslcModuleID ).attr( 'id', 'dslc-module-' + dslcModuleID ).addClass('dslca-module-being-edited');
@@ -2428,16 +2428,16 @@ var dslcDebug = false;
2428
  e.preventDefault();
2429
 
2430
  if ( ! $(this).hasClass('dslca-action-disabled') ) {
2431
-
2432
  // Is visible
2433
  if ( $('.dslca-change-width-modules-area-options:visible', this).length ) {
2434
-
2435
  // Hide
2436
  $('.dslca-change-width-modules-area-options', this).hide();
2437
 
2438
  // Is hidden
2439
  } else {
2440
-
2441
  // Set active
2442
  $('.dslca-change-width-modules-area-options .dslca-active-width').removeClass('dslca-active-width');
2443
  var currSize = $(this).closest('.dslc-modules-area').data('size');
@@ -2447,11 +2447,11 @@ var dslcDebug = false;
2447
  $('.dslca-change-width-modules-area-options', this).show();
2448
 
2449
  }
2450
-
2451
  }
2452
 
2453
  });
2454
-
2455
 
2456
  });
2457
 
@@ -2555,13 +2555,13 @@ var dslcDebug = false;
2555
  dslcModuleID = response.output;
2556
 
2557
  // Duplicate the module and append it to the same area
2558
- module.clone().appendTo( module.closest( '.dslc-modules-area' ) ).css({
2559
  '-webkit-animation-name' : 'none',
2560
  '-moz-animation-name' : 'none',
2561
  'animation-name' : 'none',
2562
  'animation-duration' : '0',
2563
  '-webkit-animation-duration' : '0',
2564
- opacity : 0
2565
  }).data( 'module-id', dslcModuleID ).attr( 'id', 'dslc-module-' + dslcModuleID ).addClass('dslca-module-being-edited');
2566
 
2567
  // Reload module
@@ -2604,7 +2604,7 @@ var dslcDebug = false;
2604
  jQuery('.dslca-module-being-edited').removeClass('dslca-module-being-edited');
2605
  });
2606
 
2607
- }
2608
 
2609
  /**
2610
  * MODULES - Show module options
@@ -2618,7 +2618,7 @@ var dslcDebug = false;
2618
  var dslcModule = jQuery('.dslca-module-being-edited'),
2619
  dslcModuleOptions = jQuery( '.dslca-module-options-front textarea', dslcModule ),
2620
  dslcDefaultSection = jQuery('.dslca-header').data('default-section');
2621
-
2622
  // Settings array
2623
  var dslcSettings = {};
2624
  dslcSettings['action'] = 'dslc-ajax-display-module-options';
@@ -2645,12 +2645,12 @@ var dslcDebug = false;
2645
 
2646
  // AJAX call to get options HTML
2647
  jQuery.post(
2648
- DSLCAjax.ajaxurl,
2649
  dslcSettings,
2650
  function( response ) {
2651
-
2652
  // Hide the publish button
2653
- jQuery('.dslca-save-composer-hook').css({ 'visibility' : 'hidden' });
2654
  jQuery('.dslca-save-draft-composer-hook').css({ 'visibility' : 'hidden' });
2655
 
2656
  // Show edit section
@@ -2713,17 +2713,17 @@ var dslcDebug = false;
2713
 
2714
  if ( dslcDebug ) console.log( 'dslc_module_options_scrollbar' );
2715
 
2716
- var dslcWidth = 0;
2717
 
2718
  jQuery('.dslca-module-edit-option:visible').each(function(){
2719
  dslcWidth += jQuery(this).outerWidth(true) + 1;
2720
- });
2721
 
2722
  if ( dslcWidth > jQuery( '.dslca-module-edit-options' ).width() ) {
2723
  jQuery('.dslca-module-edit-options-wrapper').width( dslcWidth );
2724
  } else {
2725
  jQuery('.dslca-module-edit-options-wrapper').width( 'auto' );
2726
- }
2727
 
2728
  if ( ! jQuery('body').hasClass('rtl') ) {
2729
 
@@ -2732,7 +2732,7 @@ var dslcDebug = false;
2732
  scroller.reinitialise();
2733
  }
2734
 
2735
- }
2736
 
2737
  }
2738
 
@@ -2878,7 +2878,7 @@ var dslcDebug = false;
2878
  dslcElAuthorName = true,
2879
  dslcElAuthorPos = true;
2880
 
2881
-
2882
  // Is heading selected?
2883
  if ( ! jQuery('.dslca-module-edit-field[value="main_heading"]').is(':checked') )
2884
  dslcHeading = false;
@@ -2893,12 +2893,12 @@ var dslcDebug = false;
2893
 
2894
  // Are circles selected?
2895
  if ( ! jQuery('.dslca-module-edit-field[value="circles"]').is(':checked') )
2896
- dslcCarCircles = false;
2897
 
2898
  // Is it a carousel?
2899
  if ( jQuery('.dslca-module-edit-field[data-id="type"]').val() != 'carousel' ) {
2900
  dslcCarArrows = false;
2901
- dslcCarCircles = false;
2902
  }
2903
 
2904
  // Is pagination enabled?
@@ -3006,7 +3006,7 @@ var dslcDebug = false;
3006
  dslcElAuthorPos = false;
3007
  }
3008
 
3009
-
3010
  // Show/Hide Heading
3011
  if ( dslcHeading )
3012
  jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').show();
@@ -3210,7 +3210,7 @@ var dslcDebug = false;
3210
  if ( jQuery('.dslca-module-being-edited').hasClass('dslc-module-DSLC_Sliders') ) {
3211
 
3212
  jQuery('.dslca-module-being-edited').removeClass('dslca-module-being-edited');
3213
-
3214
  // If not slider module
3215
  } else {
3216
 
@@ -3226,7 +3226,7 @@ var dslcDebug = false;
3226
  // Remove classes so we know saving finished
3227
  jQuery('.dslca-module-being-edited').removeClass('dslca-module-being-edited');
3228
  jQuery('body').removeClass('dslca-module-saving-in-progress');
3229
-
3230
  // Clean up options container
3231
  if ( ! jQuery('body').hasClass('rtl') ) {
3232
  jQuery('.dslca-module-edit-options-inner .jspPane').html('');
@@ -3246,7 +3246,7 @@ var dslcDebug = false;
3246
  dslc_show_section('.dslca-modules');
3247
 
3248
  // Hide the filter hooks
3249
- jQuery('.dslca-header .dslca-options-filter-hook').hide();
3250
 
3251
  // Hide the save/cancel actions
3252
  jQuery('.dslca-module-edit-actions').hide();
@@ -3261,7 +3261,7 @@ var dslcDebug = false;
3261
  }
3262
 
3263
  /**
3264
- * MODULES - Cancel module options changes
3265
  */
3266
 
3267
  function dslc_module_options_cancel_changes( callback ) {
@@ -3299,7 +3299,7 @@ var dslcDebug = false;
3299
  dslc_show_section('.dslca-modules');
3300
 
3301
  // Hide the filter hooks
3302
- jQuery('.dslca-header .dslca-options-filter-hook').hide();
3303
 
3304
  // Hide the save/cancel actions
3305
  jQuery('.dslca-module-edit-actions').hide();
@@ -3352,7 +3352,7 @@ var dslcDebug = false;
3352
  if ( dslcTtipLeft < 0 ) {
3353
  dslcTtipArrLeft = ( dslcTtipWidth / 2 ) + dslcTtipLeft + 'px';
3354
  dslcTtipLeft = 0;
3355
- }
3356
 
3357
  jQuery('.dslca-module-edit-field-ttip').show().css({
3358
  top : dslcOffset.top - dslcTtipHeight - 20,
@@ -3387,7 +3387,7 @@ var dslcDebug = false;
3387
  if ( dslcTtipLeft < 0 ) {
3388
  dslcTtipArrLeft = ( dslcTtipWidth / 2 ) + dslcTtipLeft + 'px';
3389
  dslcTtipLeft = 0;
3390
- }
3391
 
3392
  jQuery('.dslca-module-edit-field-icon-ttip').show().css({
3393
  top : dslcOffset.top - dslcTtipHeight - 20,
@@ -3420,7 +3420,7 @@ var dslcDebug = false;
3420
  var dslcField = jQuery( '.dslca-module-edit-field-font', dslcOption );
3421
  var dslcCurrIndex = dslcAllFontsArray.indexOf( dslcField.val() );
3422
  var dslcNewIndex = dslcCurrIndex + 1;
3423
-
3424
  jQuery('.dslca-module-edit-field-font-suggest', dslcOption).text('');
3425
 
3426
  dslcField.val( dslcAllFontsArray[dslcNewIndex] ).trigger('change');
@@ -3449,7 +3449,7 @@ var dslcDebug = false;
3449
  if ( dslcNewIndex < 0 ) {
3450
  dslcNewIndex = dslcAllFontsArray.length - 1
3451
  }
3452
-
3453
  dslcField.val( dslcAllFontsArray[dslcNewIndex] ).trigger('change');
3454
 
3455
  jQuery(this).addClass('dslca-font-loading').find('.dslca-icon').removeClass('dslc-icon-chevron-left').addClass('dslc-icon-refresh dslc-icon-spin');
@@ -3484,25 +3484,25 @@ var dslcDebug = false;
3484
  var dslcFontsAmount = dslcAllFontsArray.length;
3485
  var i = 0;
3486
  do {
3487
-
3488
  if (re.test(dslcAllFontsArray[i])) {
3489
  if ( ! dslcMatchingFont ) {
3490
  var dslcMatchingFont = dslcAllFontsArray[i];
3491
  }
3492
  }
3493
-
3494
  i++; } while (i < dslcFontsAmount);
3495
 
3496
  if ( ! dslcMatchingFont ) {
3497
  dslcFont = dslcVal;
3498
- jQuery('.dslca-module-edit-field-font-suggest', dslcOption).hide();
3499
  } else {
3500
  dslcFont = dslcMatchingFont;
3501
  jQuery('.dslca-module-edit-field-font-suggest', dslcOption).show();
3502
  }
3503
 
3504
  jQuery('.dslca-module-edit-field-font-suggest', dslcOption).text( dslcFont );
3505
-
3506
  if ( dslcFont.length )
3507
  dslcField.val( dslcFont.substring( 0 , dslcField.val().length ) );
3508
 
@@ -3652,7 +3652,7 @@ var dslcDebug = false;
3652
  otherOpt = jQuery(this).closest('.dslca-module-edit-option-text-align-wrapper').find('.dslca-module-edit-option-text-align-hook'),
3653
  newVal = newOpt.data('val'),
3654
  realOpt = jQuery(this).closest('.dslca-module-edit-option-text-align-wrapper').siblings('input.dslca-module-edit-field');
3655
-
3656
  otherOpt.removeClass('dslca-active');
3657
  newOpt.addClass('dslca-active');
3658
 
@@ -3709,8 +3709,8 @@ var dslcDebug = false;
3709
  boxShadowSpread = boxShadowWrapper.find('.dslca-module-edit-option-box-shadow-spread').val(),
3710
  boxShadowColor = boxShadowWrapper.find('.dslca-module-edit-option-box-shadow-color').val(),
3711
  boxShadowInset = boxShadowWrapper.find('.dslca-module-edit-option-box-shadow-inset').is(':checked');
3712
-
3713
- if ( boxShadowInset ) { boxShadowInset = ' inset'; } else { boxShadowInset = ''; }
3714
 
3715
  var boxShadowVal = boxShadowHor + 'px ' + boxShadowVer + 'px ' + boxShadowBlur + 'px ' + boxShadowSpread + 'px ' + boxShadowColor + boxShadowInset;
3716
 
@@ -3768,7 +3768,7 @@ var dslcDebug = false;
3768
  showPalette: true,
3769
  palette: dslcColorPallete,
3770
  move: function( color ) {
3771
-
3772
  // The option field
3773
  dslcColorField = jQuery(this);
3774
 
@@ -3872,7 +3872,7 @@ var dslcDebug = false;
3872
  chooseText: '',
3873
  preferredFormat: 'rgb',
3874
  move: function( color ) {
3875
-
3876
  // The option field
3877
  dslcColorField = jQuery(this);
3878
 
@@ -3969,7 +3969,7 @@ var dslcDebug = false;
3969
  showPalette: true,
3970
  palette: dslcColorPallete,
3971
  move: function( color ) {
3972
-
3973
  // The option field
3974
  dslcColorField = jQuery(this);
3975
 
@@ -4072,7 +4072,7 @@ var dslcDebug = false;
4072
  dslcAffectOnChangeRules;
4073
 
4074
  dslcSlider = jQuery(this);
4075
- dslcSliderInput = dslcSlider.siblings('.dslca-module-edit-field');
4076
 
4077
  dslcSliderTooltip = dslcSlider.closest('.dslca-module-edit-option-slider').find('.dslca-module-edit-field-slider-tooltip');
4078
 
@@ -4081,7 +4081,7 @@ var dslcDebug = false;
4081
  max : dslcSliderInput.data('max'),
4082
  step: dslcSliderInput.data('increment'),
4083
  value: dslcSliderInput.val(),
4084
- slide: function(event, ui) {
4085
 
4086
  dslcSliderExt = dslcSliderInput.data('ext');
4087
  dslcSliderVal = ui.value + dslcSliderExt;
@@ -4125,7 +4125,7 @@ var dslcDebug = false;
4125
  start: function( event, ui ) {
4126
 
4127
  dslcSliderTooltip.show();
4128
-
4129
  // Tooltip
4130
  dslcSliderTooltip.text( dslcSliderVal );
4131
  dslcSliderTooltipOffset = ui.handle.style.left;
@@ -4157,7 +4157,7 @@ var dslcDebug = false;
4157
  dslc_post_id : jQuery('.dslca-container').data('post-id')
4158
  },
4159
  function( response ) {
4160
-
4161
  callback(response);
4162
 
4163
  }
@@ -4192,7 +4192,7 @@ var dslcDebug = false;
4192
  dslcSettings['dslc_module_id'] = dslcModuleID;
4193
  dslcSettings['dslc_module_instance_id'] = dslcModuleInstanceID;
4194
  dslcSettings['dslc_post_id'] = jQuery('.dslca-container').data('post-id');
4195
-
4196
  if ( dslcModule.hasClass('dslca-preload-preset') )
4197
  dslcSettings['dslc_preload_preset'] = 'enabled';
4198
  else
@@ -4222,7 +4222,7 @@ var dslcDebug = false;
4222
  dslcModule.remove();
4223
  dslc_generate_code();
4224
  dslc_show_publish_button();
4225
-
4226
  dslc_carousel();
4227
  dslc_masonry( jQuery('.dslca-module-being-edited') );
4228
  jQuery( '.dslca-module-being-edited img' ).load( function(){
@@ -4300,7 +4300,7 @@ var dslcDebug = false;
4300
  dslcModule.remove();
4301
  dslc_generate_code();
4302
  dslc_show_publish_button();
4303
-
4304
  dslc_carousel();
4305
  dslc_masonry( jQuery('.dslca-module-being-edited') );
4306
  jQuery( '.dslca-module-being-edited img' ).load( function(){
@@ -4433,7 +4433,7 @@ var dslcDebug = false;
4433
 
4434
  e.preventDefault();
4435
 
4436
- // If composer not hidden
4437
  if ( ! $('body').hasClass( 'dslca-composer-hidden' ) ) {
4438
 
4439
  // If another module being edited and has changes
@@ -4453,7 +4453,7 @@ var dslcDebug = false;
4453
  if ( $('.dslca-modules-section-being-edited').length ) {
4454
  $('.dslca-module-edit-cancel').trigger('click');
4455
  }
4456
-
4457
  // Vars
4458
  var dslcModule = $(this).closest('.dslc-module-front'),
4459
  dslcModuleID = dslcModule.data('dslc-module-id'),
@@ -4472,7 +4472,7 @@ var dslcDebug = false;
4472
 
4473
  }
4474
 
4475
- });
4476
 
4477
  /**
4478
  * Hook - Tab Switch
@@ -4575,7 +4575,7 @@ var dslcDebug = false;
4575
  if ( dslcTtipLeft < 0 ) {
4576
  dslcTtipArrLeft = ( dslcTtipWidth / 2 ) + dslcTtipLeft + 'px';
4577
  dslcTtipLeft = 0;
4578
- }
4579
 
4580
  jQuery('.dslca-module-edit-field-icon-switch-sets').show().css({
4581
  top : dslcOffset.top - dslcTtipHeight - 20,
@@ -4668,7 +4668,7 @@ var dslcDebug = false;
4668
  dslc_template_id : template
4669
  },
4670
  function( response ) {
4671
-
4672
  // Apply the template's HTML
4673
  jQuery('#dslc-main').html( response.output );
4674
 
@@ -4709,7 +4709,7 @@ var dslcDebug = false;
4709
  dslc_template_code : jQuery('#dslca-import-code').val()
4710
  },
4711
  function( response ) {
4712
-
4713
  // Apply the template's HTML
4714
  jQuery('#dslc-main').html( response.output );
4715
 
@@ -4737,7 +4737,7 @@ var dslcDebug = false;
4737
  * TEMPLATES - SAVE
4738
  */
4739
 
4740
- function dslc_template_save() {
4741
 
4742
  if ( dslcDebug ) console.log( 'dslc_save_template' );
4743
 
@@ -4752,7 +4752,7 @@ var dslcDebug = false;
4752
  dslc_template_title : jQuery('#dslca-save-template-title').val()
4753
  },
4754
  function( response ) {
4755
-
4756
  // Hide the modal
4757
  dslc_hide_modal( '', '.dslca-modal-templates-save' );
4758
 
@@ -4780,7 +4780,7 @@ var dslcDebug = false;
4780
  dslc_template_id : template
4781
  },
4782
  function( response ) {
4783
-
4784
  // Remove template from the template listing
4785
  jQuery('.dslca-template[data-id="' + template + '"]').fadeOut(200, function(){
4786
  jQuery(this).remove();
@@ -4810,7 +4810,7 @@ var dslcDebug = false;
4810
  /**
4811
  * Hook - Load Template
4812
  */
4813
-
4814
  $(document).on( 'click', '.dslca-template', function(){
4815
 
4816
  dslc_template_load( jQuery(this).data('id') );
@@ -4820,7 +4820,7 @@ var dslcDebug = false;
4820
  /**
4821
  * Hook - Import Template
4822
  */
4823
-
4824
  $('.dslca-template-import-form').submit(function(e){
4825
 
4826
  e.preventDefault();
@@ -4842,14 +4842,14 @@ var dslcDebug = false;
4842
  /**
4843
  * Hook - Delete Template
4844
  */
4845
-
4846
  $(document).on( 'click', '.dslca-delete-template-hook', function(e){
4847
 
4848
  e.stopPropagation();
4849
  dslc_template_delete( $(this).data('id') );
4850
 
4851
  });
4852
-
4853
  });
4854
 
4855
 
@@ -4863,7 +4863,7 @@ var dslcDebug = false;
4863
  * - dslc_generate_section_code ( Generate LC data for a specific row/section )
4864
  *
4865
  ***********************************/
4866
-
4867
  /**
4868
  * CODE GENERATION - Save Page Changes
4869
  */
@@ -4898,21 +4898,21 @@ var dslcDebug = false;
4898
  timeout: 10000
4899
  }).done(function( response ) {
4900
 
4901
- // On success hide the publish button
4902
  if ( response.status == 'success' ) {
4903
  jQuery('.dslca-save-composer').fadeOut(250);
4904
  jQuery('.dslca-save-draft-composer').fadeOut(250);
4905
  // On fail show an alert message
4906
  } else {
4907
- alert( 'Something went wrong, please try to save again.' );
4908
  }
4909
 
4910
  }).fail(function( response ) {
4911
 
4912
  if ( response.statusText == 'timeout' ) {
4913
- alert( 'The request timed out after 10 seconds. Please try again.' );
4914
  } else {
4915
- alert( 'Something went wrong. Please try again.' );
4916
  }
4917
 
4918
  }).always(function( reseponse ) {
@@ -4960,7 +4960,7 @@ var dslcDebug = false;
4960
  // Replace the loading animation with a check icon
4961
  jQuery('.dslca-save-draft-composer .dslca-icon').removeClass('dslc-icon-spin dslc-icon-spinner').addClass('dslc-icon-save')
4962
 
4963
- // On success hide the publish button
4964
  if ( response.status == 'success' ) {
4965
  jQuery('.dslca-save-draft-composer').fadeOut(250);
4966
 
@@ -4968,7 +4968,7 @@ var dslcDebug = false;
4968
  } else {
4969
  alert( 'Something went wrong, please try to save again.' );
4970
  }
4971
-
4972
  // Remove the class previously added so we know saving is finished
4973
  jQuery('body').removeClass('dslca-saving-in-progress');
4974
 
@@ -5005,7 +5005,7 @@ var dslcDebug = false;
5005
  * Go through module areas (empty or not empty)
5006
  */
5007
 
5008
- jQuery('#dslc-main .dslc-modules-area').each(function(){
5009
 
5010
  if ( jQuery('.dslc-module-front', this).length ) {
5011
  jQuery(this).removeClass('dslc-modules-area-empty').addClass('dslc-modules-area-not-empty');
@@ -5027,8 +5027,8 @@ var dslcDebug = false;
5027
  /**
5028
  * Go through module sections (empty or not empty)
5029
  */
5030
-
5031
- jQuery('#dslc-main .dslc-modules-section').each(function(){
5032
 
5033
  if ( jQuery('.dslc-modules-area', this).length ) {
5034
  jQuery(this).removeClass('dslc-modules-section-empty').addClass('dslc-modules-section-not-empty');
@@ -5105,7 +5105,7 @@ var dslcDebug = false;
5105
  // If area column counter same as current area size
5106
  if ( currPerRowA == modulesAreaSize ) {
5107
  // Set shortcode's "first" attribute to yes
5108
- modulesAreaFirstState = 'yes';
5109
  }
5110
 
5111
  // Open the modules area ( area ) shortcode
@@ -5155,14 +5155,14 @@ var dslcDebug = false;
5155
  if ( currPerRow == maxPerRow ) {
5156
 
5157
  // Set shorcode's "first" state to "yes"
5158
- moduleFirstState = 'yes';
5159
 
5160
  // Add classes for current and next module
5161
  jQuery(this).addClass('dslc-last-col').next('.dslc-module-front').addClass('dslc-first-col');
5162
 
5163
  // Resest modules column counter
5164
  currPerRow = 0;
5165
- }
5166
 
5167
  // Get module's LC data
5168
  moduleCode = jQuery(this).find('.dslca-module-code').val();
@@ -5171,17 +5171,17 @@ var dslcDebug = false;
5171
  composerCode = composerCode + '[dslc_module last="' + moduleLastState + '"]' + moduleCode + '[/dslc_module] ';
5172
 
5173
  });
5174
-
5175
  // Close area shortcode
5176
  composerCode = composerCode + '[/dslc_modules_area] ';
5177
 
5178
  });
5179
-
5180
  // Close row ( section ) shortcode
5181
  composerCode = composerCode + '[/dslc_modules_section] ';
5182
 
5183
  });
5184
-
5185
  // Apply the new code values to the setting containers
5186
  jQuery('#dslca-code').val(composerCode);
5187
  jQuery('#dslca-export-code').val(composerCode);
@@ -5245,7 +5245,7 @@ var dslcDebug = false;
5245
  }
5246
 
5247
  if ( currPerRowA == modulesAreaSize ) {
5248
- modulesAreaFirstState = 'yes';
5249
  }
5250
 
5251
  composerCode = composerCode + '[dslc_modules_area last="' + modulesAreaLastState + '" first="' + modulesAreaFirstState + '" size="' + modulesAreaSize + '"] ';
@@ -5259,7 +5259,7 @@ var dslcDebug = false;
5259
  if ( currPerRow == modulesAreaSize ) {
5260
  jQuery(this).addClass('dslc-last-col').next('.dslc-module-front').addClass('dslc-first-col');
5261
  currPerRow = 0;
5262
- }
5263
 
5264
  moduleCode = jQuery(this).find('.dslca-module-code').val();
5265
  composerCode = composerCode + '[dslc_module]' + moduleCode + '[/dslc_module] ';
@@ -5309,7 +5309,7 @@ var dslcDebug = false;
5309
  }
5310
 
5311
  });
5312
-
5313
  });
5314
 
5315
 
@@ -5375,13 +5375,13 @@ var dslcDebug = false;
5375
  */
5376
 
5377
  $(document).on( 'keypress', '.dslca-module-edit-field[name="css_save_preset"]', function(e){
5378
-
5379
  // Enter Key Pressed
5380
  if ( e.which == 13 ) {
5381
 
5382
  // Vars
5383
  var presetName = $(this).val(),
5384
- presetID = presetName.toLowerCase().replace(/\s/g, '-');
5385
 
5386
  // Add class to body that a new preset is added
5387
  $('body').addClass('dslca-new-preset-added');
@@ -5403,7 +5403,7 @@ var dslcDebug = false;
5403
  $(document).on( 'change', '.dslca-module-edit-field[name="css_load_preset"]', function(e){
5404
  $('.dslca-module-being-edited').addClass('dslca-preload-preset');
5405
  });
5406
-
5407
  });
5408
 
5409
 
@@ -5499,11 +5499,11 @@ var dslcDebug = false;
5499
 
5500
  if ( dslcDebug ) console.log( 'dslca_draggable_calc_center' );
5501
 
5502
- jQuery( ".dslc-modules-section-inner" ).sortable( "option", "cursorAt", { top: dslcArea.outerHeight() / 2, left: dslcArea.outerWidth() / 2 } );
5503
 
5504
  }
5505
 
5506
- /**
5507
  * Other - Generate code of editable content
5508
  */
5509
 
@@ -5513,8 +5513,8 @@ var dslcDebug = false;
5513
 
5514
  var dslcModule, dslcContent, dslcFieldID;
5515
 
5516
- dslcModule = dslcField.closest('.dslc-module-front');
5517
- dslcContent = dslcField.html().trim().replace(/<textarea/g, '<lctextarea').replace(/<\/textarea/g, '</lctextarea');
5518
  dslcFieldID = dslcField.data('id');
5519
 
5520
  jQuery('.dslca-module-option-front[data-id="' + dslcFieldID + '"]', dslcModule).val( dslcContent );
@@ -5540,7 +5540,7 @@ var dslcDebug = false;
5540
  var code = dslc_dm_get_defaults( module );
5541
 
5542
  // Generate modal's text
5543
- var message = '<span class="dslca-prompt-modal-title">Module Defaults</span>'
5544
  + '<span class="dslca-prompt-modal-descr">The code bellow is used to alter the defaults.</span>'
5545
  + '<textarea></textarea><br><br>';
5546
 
@@ -5572,7 +5572,7 @@ var dslcDebug = false;
5572
  var doPrevent = false;
5573
  if (event.keyCode === 8) {
5574
  var d = event.srcElement || event.target;
5575
- if ((d.tagName.toUpperCase() === 'INPUT' && (d.type.toUpperCase() === 'TEXT' || d.type.toUpperCase() === 'PASSWORD' || d.type.toUpperCase() === 'FILE'))
5576
  || d.tagName.toUpperCase() === 'TEXTAREA' || $(d).hasClass('dslca-editable-content') || $(d).hasClass('dslc-tabs-nav-hook-title') || $(d).hasClass('dslc-accordion-title') ) {
5577
  doPrevent = d.readOnly || d.disabled;
5578
  } else {
@@ -5600,12 +5600,12 @@ var dslcDebug = false;
5600
  });
5601
 
5602
  /**
5603
- * Hook - Refresh Module
5604
  */
5605
 
5606
  $(document).on( 'click', '.dslca-refresh-module-hook', function(e){
5607
 
5608
- $(this).css({
5609
  '-webkit-animation-name' : 'dslcRotate',
5610
  '-moz-animation-name' : 'dslcRotate',
5611
  'animation-name' : 'dslcRotate',
@@ -5627,7 +5627,7 @@ var dslcDebug = false;
5627
  window.onbeforeunload = function () { return; };
5628
 
5629
  /*********************************
5630
- *
5631
  * = PENDING CLEANUP
5632
  *
5633
  *********************************/
@@ -5729,7 +5729,7 @@ var dslcDebug = false;
5729
 
5730
  /* Show On */
5731
  if ( dslcField.data('id') == 'show_on' ) {
5732
-
5733
  console.log( checkboxesVal );
5734
 
5735
  if ( checkboxesVal.indexOf( 'desktop' ) !== -1 ) {
@@ -5753,7 +5753,7 @@ var dslcDebug = false;
5753
  }
5754
 
5755
  } else if ( ( dslcFieldID == 'bg_image_attachment' && dslcVal == 'parallax' ) || dslcFieldID == 'type' ) {
5756
-
5757
  if ( dslcFieldID == 'bg_image_attachment' ) {
5758
  dslcEl.addClass( 'dslc-init-parallax' );
5759
  dslc_parallax();
@@ -5822,7 +5822,7 @@ var dslcDebug = false;
5822
  // Editable Content
5823
 
5824
  jQuery(document).on('blur', '.dslca-editable-content', function() {
5825
-
5826
  if ( ! jQuery('body').hasClass( 'dslca-composer-hidden' ) && jQuery(this).data('type') == 'simple' ) {
5827
 
5828
  dslc_editable_content_gen_code( jQuery(this) );
@@ -5843,7 +5843,7 @@ var dslcDebug = false;
5843
 
5844
  dslc_editable_content_gen_code( jQuery(this) );
5845
 
5846
- }, 1);
5847
 
5848
  }
5849
 
@@ -5870,7 +5870,7 @@ var dslcDebug = false;
5870
  if ( jQuery(this).data('type') == 'simple' ) {
5871
  jQuery(this).closest('.dslc-module-front').addClass('dslca-module-change-made');
5872
  }
5873
-
5874
  });
5875
 
5876
 
@@ -5924,7 +5924,7 @@ var dslcDebug = false;
5924
  });
5925
 
5926
  } else if ( dslcOption.hasClass('dslca-module-edit-option-radio') ) {
5927
- var dslcOptionValue = $('.dslca-module-edit-field:checked', dslcOption).val();
5928
  } else {
5929
 
5930
  var dslcOptionValue = dslcOption.val();
@@ -5978,8 +5978,8 @@ var dslcDebug = false;
5978
  if ( dslcOption.val().length && dslcGoogleFontsArray.indexOf( dslcOption.val() ) !== -1 ) {
5979
 
5980
  WebFont.load({
5981
- google: {
5982
- families: [ dslcFontsToLoad ]
5983
  },
5984
  active : function(familyName, fvd) {
5985
  if ( jQuery( '.dslca-font-loading' ).closest('.dslca-module-edit-field-font-next').length )
@@ -5996,8 +5996,8 @@ var dslcDebug = false;
5996
  }
5997
  }
5998
  );
5999
-
6000
- } else {
6001
 
6002
  setTimeout( function(){
6003
 
@@ -6058,12 +6058,12 @@ var dslcDebug = false;
6058
  */
6059
 
6060
  jQuery( '.dslca-module-option-front[data-id="' + dslcOptionID + '"]', dslcModule ).val( dslcAffectOnChangeValOrig );
6061
-
6062
  }
6063
 
6064
  });
6065
 
6066
-
6067
  // Preview Module Opt Change - Numeric
6068
 
6069
  $(document).on( 'keyup, blur', '.dslca-module-edit-field-numeric', function(){
@@ -6102,12 +6102,12 @@ var dslcDebug = false;
6102
  */
6103
 
6104
  jQuery( '.dslca-module-option-front[data-id="' + dslcOptionID + '"]', dslcModule ).val( dslcAffectOnChangeValOrig );
6105
-
6106
  }
6107
 
6108
  });
6109
 
6110
-
6111
  //Preview Module Section Opt Change - Numeric
6112
 
6113
  $(document).on( 'keyup', '.dslca-modules-section-edit-field-numeric', function(){
@@ -6141,7 +6141,7 @@ var dslcDebug = false;
6141
  */
6142
 
6143
  jQuery( '.dslca-modules-section-settings input[data-id="' + dslcOptionID + '"]', dslcModulesSection ).val( dslcAffectOnChangeValOrig );
6144
-
6145
  });
6146
 
6147
  });
@@ -6181,9 +6181,9 @@ var dslcDebug = false;
6181
  });
6182
 
6183
  // When an image is selected, run a callback.
6184
- file_frame.on( 'select', function() {
6185
 
6186
- var attachment = file_frame.state().get('selection').first().toJSON();
6187
  field.val( attachment.id ).data( 'dslca-img-url', attachment.url ).trigger('change');
6188
  hook.hide();
6189
  removeHook.show();
@@ -6225,7 +6225,7 @@ var dslcDebug = false;
6225
 
6226
  var editable = $(this).parent().siblings('.dslca-editable-content');
6227
  var module = editable.closest('.dslc-module-front');
6228
-
6229
  if ( module.hasClass('dslc-module-handle-like-accordion') ) {
6230
 
6231
  dslc_accordion_generate_code( module.find('.dslc-accordion') );
@@ -6235,7 +6235,7 @@ var dslcDebug = false;
6235
  var content = full_content_arr[key_value].trim().replace(/<lctextarea/g, '<textarea').replace(/<\/lctextarea/g, '</textarea');
6236
 
6237
  } else if ( module.hasClass('dslc-module-handle-like-tabs') ) {
6238
-
6239
  dslc_tabs_generate_code( module.find('.dslc-tabs') );
6240
  var full_content = module.find( '.dslca-module-option-front[data-id="tabs_content"]' ).val();
6241
  var full_content_arr = full_content.split('(dslc_sep)');
@@ -6282,7 +6282,7 @@ var dslcDebug = false;
6282
 
6283
  if ( $('#wp-dslcawpeditor-wrap').hasClass('tmce-active') ) {
6284
  var editor = tinymce.get( 'dslcawpeditor' );
6285
- var content = editor.getContent();
6286
  } else {
6287
  var content = $('#dslcawpeditor').val();
6288
  }
112
  // Get vars
113
  var sectionTitle = jQuery(section).data('title'),
114
  newColor = jQuery(section).data('bg');
115
+
116
  // Hide ( animate ) the container
117
+ jQuery('.dslca-container').css({ bottom: -500 });
118
 
119
  // Change the section color
120
  jQuery('.dslca-sections').animate({ backgroundColor : newColor }, 200);
127
  if ( section == '.dslca-modules-section-edit' ) { dslc_row_edit_scrollbar_init(); }
128
 
129
  // Change "currently editing"
130
+ if ( section == '.dslca-module-edit' ) {
131
  jQuery('.dslca-currently-editing')
132
  .show()
133
  .css( 'background-color', newColor )
171
  if ( dslcDebug ) console.log( 'dslc_generate_filters' );
172
 
173
  // Vars
174
+ var el, filters = [], filtersHTML = '<span data-origin="">ALL</span>', els = jQuery('.dslca-section:visible .dslca-origin');
175
+
176
  // Go through each and generate the filters
177
  els.each(function(){
178
  el = jQuery(this);
190
  * UI - GENERAL - Origin Filter
191
  */
192
 
193
+ function dslc_filter_origin( origin, section ) {
194
 
195
  if ( dslcDebug ) console.log( 'dslc_filter_origin' );
196
 
206
  }
207
 
208
  /**
209
+ * UI - General - Initiate Drag and Drop Functonality
210
  */
211
 
212
  function dslc_drag_and_drop() {
241
  tolerance : 'pointer',
242
  cursorAt: { bottom: 10 },
243
  axis: 'y',
244
+ scroll: true,
245
  scrollSensitivity: 200,
246
  scrollSpeed : 10,
247
  sort: function() {
248
+ jQuery( this ).removeClass( "ui-state-default" );
249
  },
250
  update: function (e, ui) {
251
  dslc_generate_code();
271
  placeholder: 'dslca-modules-area-placeholder',
272
  cursorAt: { top: 0, left: 0 },
273
  tolerance : 'intersect',
274
+ scroll: true,
275
  scrollSensitivity: 100,
276
  scrollSpeed : 15,
277
  sort: function() {
290
  jQuery(this).removeClass('dslc-modules-section-not-empty').addClass('dslc-modules-section-empty');
291
  }
292
  });
 
293
 
294
+
295
+ },
296
  update: function (e, ui) {
297
  dslc_generate_code();
298
  dslc_show_publish_button();
329
  drop: function( event, ui ) {
330
  var modulesSection = jQuery(this).find('.dslc-modules-section-inner');
331
  var moduleID = ui.draggable.data( 'id' );
332
+ if ( moduleID == 'DSLC_M_A' ) {
333
  dslc_modules_area_add( modulesSection );
334
  }
335
  }
345
  modulesArea = jQuery(this);
346
  moduleID = ui.draggable.data( 'id' );
347
 
348
+ if ( moduleID == 'DSLC_M_A' || jQuery('body').hasClass('dslca-module-drop-in-progress') || modulesArea.closest('#dslc-header').length || modulesArea.closest('#dslc-footer').length ) {
349
+
350
  // nothing
351
 
352
  } else {
395
  // "Show" modules area management
396
  jQuery('.dslca-modules-area-manage', modulesArea).css ({ visibility : 'visible' });
397
 
398
+ // Show publish
399
  jQuery('.dslca-save-composer-hook').css({ 'visibility' : 'visible' });
400
  jQuery('.dslca-save-draft-composer-hook').css({ 'visibility' : 'visible' });
401
 
441
  placeholder: 'dslca-module-placeholder',
442
  cursorAt: { top: 50, left : 30 },
443
  tolerance : 'pointer',
444
+ scroll: true,
445
  scrollSensitivity: 100,
446
  scrollSpeed : 15,
447
  start: function(e, ui) {
448
 
449
  ui.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">' + ui.item.find('.dslc-sortable-helper-icon').data('title') + '</span></span>');
450
+
451
  if ( ! jQuery(ui.item).hasClass('dslc-12-col') ) {
452
  ui.placeholder.width(ui.item.width() - 10)
453
  } else {
454
  ui.placeholder.width(ui.item.width()).css({ margin : 0 });
455
  }
456
+
457
  jQuery('body').removeClass('dslca-drag-not-in-progress').addClass('dslca-drag-in-progress');
458
 
459
  if ( jQuery('.dslc-module-front', this).length < 2 ) {
468
  '-webkit-animation-duration' : '0.6s',
469
  padding : 0
470
  }).animate({ padding : '35px 0' }, 300, function(){
471
+
472
  });
473
 
474
  }
479
  sort: function(e, ui) {
480
 
481
  /* Gets added unintentionally by droppable interacting with sortable */
482
+ jQuery( this ).removeClass( "ui-state-default" );
483
 
484
  },
485
  update: function (e, ui) {
503
  */
504
 
505
  function dslc_option_changed() { dslc_show_publish_button(); }
506
+ function dslc_module_dragdrop_init() { dslc_drag_and_drop(); }
507
 
508
  /**
509
  * UI - GENERAL - Document Ready
585
  e.preventDefault();
586
  dslc_show_section( '.dslca-modules' );
587
 
588
+ });
589
 
590
  /**
591
  * Hook - Section Show - Dynamic
715
  scrollerItem = jQuery(this);
716
 
717
  // Increment width ( for complete width of all )
718
+ startingWidth += scrollerItem.outerWidth();
719
 
720
  // If current item makes the width count over the max visible
721
  if ( startingWidth > scrollerWidth ) {
742
  }
743
 
744
  /**
745
+ * SCROLLER - Scroll To Specific Item
746
  */
747
 
748
  function dslc_scroller_go_to( scrollerItemIndex, scroller ) {
776
  scrollerInner.css({ left : scrollerNewOffset });
777
 
778
  // If offset less than 0
779
+ } else {
780
 
781
  // Animate to beggining
782
  scrollerInner.css({ left : 0 });
824
 
825
  // Vars
826
  var scrollerCurr = scroller.data('current');
827
+
828
  // Two places after current
829
  var scrollerNew = scroller.find('.dslca-scroller-item:eq(' + scrollerCurr + ')').nextAll('.dslca-scroller-item:visible').eq(1).index();
830
+
831
  // One place after current
832
  var scrollerNewAlt = scroller.find('.dslca-scroller-item:eq(' + scrollerCurr + ')').nextAll('.dslca-scroller-item:visible').eq(0).index();
833
 
867
  dslc_scroller_next( $(this).closest('.dslca-section').find('.dslca-section-scroller') );
868
 
869
  });
870
+
871
  });
872
 
873
  /**
923
 
924
  if ( ! jQuery('body').hasClass('dslca-composer-hidden' ) ) {
925
 
926
+ if ( jQuery(this).height() < 190 )
927
  jQuery('.dslca-module-manage', this).addClass('dslca-horizontal');
928
+ else
929
  jQuery('.dslca-module-manage', this).removeClass('dslca-horizontal');
930
 
931
  }
937
  jQuery(this).find('.dslca-change-width-module-options').hide();
938
 
939
  }
940
+
941
+ // Hide "width change opts"
942
  jQuery(this).find('.dslca-module-manage').removeClass('dslca-module-manage-change-width-active');
943
 
944
  });
953
 
954
  jQuery('#dslc-header').addClass('dslca-header-low-z-index');
955
 
956
+ if ( jQuery(this).height() < 130 )
957
  jQuery('.dslca-modules-area-manage', this).addClass('dslca-horizontal');
958
+ else
959
  jQuery('.dslca-modules-area-manage', this).removeClass('dslca-horizontal');
960
 
961
  }
970
 
971
  }
972
 
973
+ });
974
 
975
  }
976
 
1102
  }
1103
 
1104
  });
1105
+
1106
  });
1107
 
1108
 
1118
  function dslc_js_confirm( dslcID, dslcContent, dslcTarget ) {
1119
 
1120
  if ( dslcDebug ) console.log( 'dslc_js_confirm' );
1121
+
1122
  // Add "active" class
1123
  jQuery('.dslca-prompt-modal').addClass('dslca-prompt-modal-active');
1124
 
1138
  jQuery('.dslca-prompt-modal-content').css({ top : '55%' }).animate({
1139
  top : '50%'
1140
  }, 400);
1141
+
1142
  }
1143
 
1144
  function dslc_js_confirm_close() {
1160
  jQuery('.dslca-prompt-modal-content').animate({
1161
  top : '55%'
1162
  }, 400);
1163
+
1164
  }
1165
 
1166
  /**
1170
  jQuery(document).ready(function($){
1171
 
1172
  $(document).on( 'click', '.dslca-prompt-modal-cancel-hook', function(e){
1173
+
1174
  e.preventDefault();
1175
 
1176
  var dslcAction = jQuery('.dslca-prompt-modal').data('id');
1200
  var dslcAction = jQuery('.dslca-prompt-modal').data('id');
1201
  var dslcTarget = jQuery('.dslca-prompt-modal').data('target');
1202
  var closeAtEnd = true;
1203
+
1204
  if ( dslcAction == 'edit_in_progress' ) {
1205
 
1206
  dslc_module_options_confirm_changes( function(){
1249
 
1250
  $(window).on( 'keydown', function(e) {
1251
 
1252
+ // Enter ( confirm )
1253
  if( e.which == 13 ) {
1254
  if ( $('.dslca-prompt-modal-active').length ) {
1255
  $('.dslca-prompt-modal-confirm-hook').trigger('click');
1303
  dslc : 'active'
1304
  },
1305
  function( response ) {
1306
+
1307
  // Append new row
1308
  jQuery( response.output ).appendTo('#dslc-main');
1309
 
1330
 
1331
  // If the row is being edited
1332
  if ( row.find('.dslca-module-being-edited') ) {
1333
+
1334
  // Hide the filter hooks
1335
+ jQuery('.dslca-header .dslca-options-filter-hook').hide();
1336
 
1337
  // Hide the save/cancel actions
1338
  jQuery('.dslca-module-edit-actions').hide();
1377
  jQuery('.dslca-row-options-filter-hook[data-section="styling"]').trigger('click');
1378
 
1379
  // Hide the filter hooks
1380
+ jQuery('.dslca-header .dslca-options-filter-hook').hide();
1381
 
1382
  // Hide the save/cancel actions
1383
  jQuery('.dslca-module-edit-actions').hide();
1489
 
1490
  if ( dslcDebug ) console.log( 'dslc_row_edit_colorpicker_init' );
1491
 
1492
+ var dslcField,
1493
+ dslcFieldID,
1494
+ dslcEl,
1495
+ dslcModulesSection,
1496
+ dslcVal,
1497
+ dslcRule,
1498
+ dslcSetting,
1499
  dslcTargetEl,
1500
  dslcCurrColor;
1501
 
1539
  showPalette: true,
1540
  palette: dslcColorPallete,
1541
  move: function( color ) {
1542
+
1543
  dslcField = jQuery(this);
1544
  dslcFieldID = dslcField.data('id');
1545
+
1546
  if ( color == null )
1547
  dslcVal = 'transparent';
1548
  else
1564
 
1565
  },
1566
  change: function( color ) {
1567
+
1568
  dslcField = jQuery(this);
1569
  dslcFieldID = dslcField.data('id');
1570
+
1571
  if ( color == null )
1572
  dslcVal = 'transparent';
1573
  else
1574
  dslcVal = color.toRgbString();
1575
+
1576
  // Update pallete local storage
1577
  if ( localStorage['dslcColorpickerPalleteStorage'] == undefined ) {
1578
  var newStorage = [ dslcVal ];
1639
  max : dslcSliderMax,
1640
  step: dslcSliderIncr,
1641
  value: dslcSliderInput.val(),
1642
+ slide: function(event, ui) {
1643
 
1644
  dslcSliderVal = ui.value + dslcSliderExt;
1645
  dslcSliderInput.val( dslcSliderVal );
1687
  dslcSliderVal = ui.value;
1688
 
1689
  dslcSliderTooltip.show();
1690
+
1691
  // Tooltip
1692
  dslcSliderTooltip.text( dslcSliderVal );
1693
  dslcSliderHandle = dslcSlider.find('.ui-slider-handle');
1714
 
1715
  jQuery('.dslca-modules-section-edit-option').each(function(){
1716
  dslcWidth += jQuery(this).outerWidth(true) + 1;
1717
+ });
1718
 
1719
  if ( dslcWidth > jQuery( '.dslca-modules-section-edit-options' ).width() ) {
1720
  jQuery('.dslca-modules-section-edit-options-wrapper').width( dslcWidth );
1872
  jQuery('.dslca-module-being-edited').removeClass('dslca-module-being-edited');
1873
 
1874
  // Get new ID
1875
+ dslcModuleID = response.output;
1876
 
1877
  // Apply new ID and append "being-edited" class
1878
  dslcModule.data( 'module-id', dslcModuleID ).attr( 'id', 'dslc-module-' + dslcModuleID ).addClass('dslca-module-being-edited');
1899
  * Row - Import
1900
  */
1901
 
1902
+ function dslc_row_import( rowCode ) {
1903
 
1904
  if ( dslcDebug ) console.log( 'dslc_row_import' );
1905
 
1913
  dslc_modules_section_code : rowCode
1914
  },
1915
  function( response ) {
1916
+
1917
  // Close the import popup/modal
1918
  dslc_js_confirm_close();
1919
 
1998
 
1999
  // If not disabled ( disabling used for tutorial )
2000
  if ( ! $(this).hasClass('dslca-action-disabled') ) {
2001
+
2002
  // If a module is being edited
2003
  if ( jQuery('.dslca-module-being-edited.dslca-module-change-made').length ) {
2004
 
2009
  } else if ( jQuery('.dslca-modules-section-being-edited.dslca-modules-section-change-made').length ) {
2010
 
2011
  // Ask to confirm or cancel
2012
+ dslc_js_confirm( 'edit_in_progress', '<span class="dslca-prompt-modal-title">' + DSLCString.str_row_curr_edit_title + '</span><span class="dslca-prompt-modal-descr">' + DSLCString.str_row_curr_edit_descr + '</span>', jQuery(this) );
2013
 
2014
  // All good to proceed
2015
  } else {
2016
+
2017
  // Trigger the function to edit
2018
  dslc_row_edit( $(this).closest('.dslc-modules-section') );
2019
 
2021
 
2022
  }
2023
 
2024
+ });
2025
 
2026
  /**
2027
  * Hook - Confirm Row Changes
2054
  $(document).on( 'click', '.dslca-copy-modules-section-hook', function() {
2055
 
2056
  if ( ! $(this).hasClass('dslca-action-disabled') ) {
2057
+ dslc_row_copy( $(this).closest('.dslc-modules-section') );
2058
  }
2059
 
2060
  });
2140
  dslc : 'active'
2141
  },
2142
  function( response ) {
2143
+
2144
  // Loading Animation
2145
  jQuery('.dslca-modules-area-loading .dslca-module-loading-inner', row.closest('.dslc-modules-section') ).stop().animate({
2146
  width : '100%'
2148
  row.css({ paddingBottom : 0 });
2149
  jQuery(this).closest('.dslca-modules-area-loading').hide();
2150
  });
2151
+
2152
  // Handle adding after animation done
2153
  setTimeout( function(){
2154
 
2183
 
2184
  }
2185
 
2186
+ /**
2187
  * AREAS - Delete
2188
  */
2189
 
2197
 
2198
  // Add a class to the area so we know it's being deleted
2199
  area.addClass('dslca-modules-area-being-deleted');
2200
+
2201
  // If it's the last area in the row add a new one after deletion
2202
  if ( modulesSection.find('.dslc-modules-area').length < 2 )
2203
  dslcAddNew = true;
2204
 
2205
  // If a module in the area is being edited
2206
  if ( area.find('.dslca-module-being-edited').length ) {
2207
+
2208
  // Hide the filter hooks
2209
+ jQuery('.dslca-header .dslca-options-filter-hook').hide();
2210
 
2211
  // Hide the save/cancel actions
2212
  jQuery('.dslca-module-edit-actions').hide();
2274
  dslcModulesAreaCloned.find('.dslca-modules-area-manage').trigger('mouseleave');
2275
 
2276
  // Apply correct data size and get rid of animations
2277
+ dslcModulesAreaCloned.data('size', area.data('size') ).find('.dslc-module-front').css({
2278
  '-webkit-animation-name' : 'none',
2279
  '-moz-animation-name' : 'none',
2280
  'animation-name' : 'none',
2281
  'animation-duration' : '0',
2282
  '-webkit-animation-duration' : '0',
2283
+ opacity : 0
2284
 
2285
  // Go through each module in the area
2286
  }).each(function(){
2300
  jQuery('.dslca-module-being-edited').removeClass('dslca-module-being-edited');
2301
 
2302
  // Store the new ID
2303
+ dslcModuleID = response.output;
2304
 
2305
  // Apply the new ID and add being edited class
2306
  dslcModule.data( 'module-id', dslcModuleID ).attr( 'id', 'dslc-module-' + dslcModuleID ).addClass('dslca-module-being-edited');
2428
  e.preventDefault();
2429
 
2430
  if ( ! $(this).hasClass('dslca-action-disabled') ) {
2431
+
2432
  // Is visible
2433
  if ( $('.dslca-change-width-modules-area-options:visible', this).length ) {
2434
+
2435
  // Hide
2436
  $('.dslca-change-width-modules-area-options', this).hide();
2437
 
2438
  // Is hidden
2439
  } else {
2440
+
2441
  // Set active
2442
  $('.dslca-change-width-modules-area-options .dslca-active-width').removeClass('dslca-active-width');
2443
  var currSize = $(this).closest('.dslc-modules-area').data('size');
2447
  $('.dslca-change-width-modules-area-options', this).show();
2448
 
2449
  }
2450
+
2451
  }
2452
 
2453
  });
2454
+
2455
 
2456
  });
2457
 
2555
  dslcModuleID = response.output;
2556
 
2557
  // Duplicate the module and append it to the same area
2558
+ module.clone().appendTo( module.closest( '.dslc-modules-area' ) ).css({
2559
  '-webkit-animation-name' : 'none',
2560
  '-moz-animation-name' : 'none',
2561
  'animation-name' : 'none',
2562
  'animation-duration' : '0',
2563
  '-webkit-animation-duration' : '0',
2564
+ opacity : 0
2565
  }).data( 'module-id', dslcModuleID ).attr( 'id', 'dslc-module-' + dslcModuleID ).addClass('dslca-module-being-edited');
2566
 
2567
  // Reload module
2604
  jQuery('.dslca-module-being-edited').removeClass('dslca-module-being-edited');
2605
  });
2606
 
2607
+ }
2608
 
2609
  /**
2610
  * MODULES - Show module options
2618
  var dslcModule = jQuery('.dslca-module-being-edited'),
2619
  dslcModuleOptions = jQuery( '.dslca-module-options-front textarea', dslcModule ),
2620
  dslcDefaultSection = jQuery('.dslca-header').data('default-section');
2621
+
2622
  // Settings array
2623
  var dslcSettings = {};
2624
  dslcSettings['action'] = 'dslc-ajax-display-module-options';
2645
 
2646
  // AJAX call to get options HTML
2647
  jQuery.post(
2648
+ DSLCAjax.ajaxurl,
2649
  dslcSettings,
2650
  function( response ) {
2651
+
2652
  // Hide the publish button
2653
+ jQuery('.dslca-save-composer-hook').css({ 'visibility' : 'hidden' });
2654
  jQuery('.dslca-save-draft-composer-hook').css({ 'visibility' : 'hidden' });
2655
 
2656
  // Show edit section
2713
 
2714
  if ( dslcDebug ) console.log( 'dslc_module_options_scrollbar' );
2715
 
2716
+ var dslcWidth = 0;
2717
 
2718
  jQuery('.dslca-module-edit-option:visible').each(function(){
2719
  dslcWidth += jQuery(this).outerWidth(true) + 1;
2720
+ });
2721
 
2722
  if ( dslcWidth > jQuery( '.dslca-module-edit-options' ).width() ) {
2723
  jQuery('.dslca-module-edit-options-wrapper').width( dslcWidth );
2724
  } else {
2725
  jQuery('.dslca-module-edit-options-wrapper').width( 'auto' );
2726
+ }
2727
 
2728
  if ( ! jQuery('body').hasClass('rtl') ) {
2729
 
2732
  scroller.reinitialise();
2733
  }
2734
 
2735
+ }
2736
 
2737
  }
2738
 
2878
  dslcElAuthorName = true,
2879
  dslcElAuthorPos = true;
2880
 
2881
+
2882
  // Is heading selected?
2883
  if ( ! jQuery('.dslca-module-edit-field[value="main_heading"]').is(':checked') )
2884
  dslcHeading = false;
2893
 
2894
  // Are circles selected?
2895
  if ( ! jQuery('.dslca-module-edit-field[value="circles"]').is(':checked') )
2896
+ dslcCarCircles = false;
2897
 
2898
  // Is it a carousel?
2899
  if ( jQuery('.dslca-module-edit-field[data-id="type"]').val() != 'carousel' ) {
2900
  dslcCarArrows = false;
2901
+ dslcCarCircles = false;
2902
  }
2903
 
2904
  // Is pagination enabled?
3006
  dslcElAuthorPos = false;
3007
  }
3008
 
3009
+
3010
  // Show/Hide Heading
3011
  if ( dslcHeading )
3012
  jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').show();
3210
  if ( jQuery('.dslca-module-being-edited').hasClass('dslc-module-DSLC_Sliders') ) {
3211
 
3212
  jQuery('.dslca-module-being-edited').removeClass('dslca-module-being-edited');
3213
+
3214
  // If not slider module
3215
  } else {
3216
 
3226
  // Remove classes so we know saving finished
3227
  jQuery('.dslca-module-being-edited').removeClass('dslca-module-being-edited');
3228
  jQuery('body').removeClass('dslca-module-saving-in-progress');
3229
+
3230
  // Clean up options container
3231
  if ( ! jQuery('body').hasClass('rtl') ) {
3232
  jQuery('.dslca-module-edit-options-inner .jspPane').html('');
3246
  dslc_show_section('.dslca-modules');
3247
 
3248
  // Hide the filter hooks
3249
+ jQuery('.dslca-header .dslca-options-filter-hook').hide();
3250
 
3251
  // Hide the save/cancel actions
3252
  jQuery('.dslca-module-edit-actions').hide();
3261
  }
3262
 
3263
  /**
3264
+ * MODULES - Cancel module options changes
3265
  */
3266
 
3267
  function dslc_module_options_cancel_changes( callback ) {
3299
  dslc_show_section('.dslca-modules');
3300
 
3301
  // Hide the filter hooks
3302
+ jQuery('.dslca-header .dslca-options-filter-hook').hide();
3303
 
3304
  // Hide the save/cancel actions
3305
  jQuery('.dslca-module-edit-actions').hide();
3352
  if ( dslcTtipLeft < 0 ) {
3353
  dslcTtipArrLeft = ( dslcTtipWidth / 2 ) + dslcTtipLeft + 'px';
3354
  dslcTtipLeft = 0;
3355
+ }
3356
 
3357
  jQuery('.dslca-module-edit-field-ttip').show().css({
3358
  top : dslcOffset.top - dslcTtipHeight - 20,
3387
  if ( dslcTtipLeft < 0 ) {
3388
  dslcTtipArrLeft = ( dslcTtipWidth / 2 ) + dslcTtipLeft + 'px';
3389
  dslcTtipLeft = 0;
3390
+ }
3391
 
3392
  jQuery('.dslca-module-edit-field-icon-ttip').show().css({
3393
  top : dslcOffset.top - dslcTtipHeight - 20,
3420
  var dslcField = jQuery( '.dslca-module-edit-field-font', dslcOption );
3421
  var dslcCurrIndex = dslcAllFontsArray.indexOf( dslcField.val() );
3422
  var dslcNewIndex = dslcCurrIndex + 1;
3423
+
3424
  jQuery('.dslca-module-edit-field-font-suggest', dslcOption).text('');
3425
 
3426
  dslcField.val( dslcAllFontsArray[dslcNewIndex] ).trigger('change');
3449
  if ( dslcNewIndex < 0 ) {
3450
  dslcNewIndex = dslcAllFontsArray.length - 1
3451
  }
3452
+
3453
  dslcField.val( dslcAllFontsArray[dslcNewIndex] ).trigger('change');
3454
 
3455
  jQuery(this).addClass('dslca-font-loading').find('.dslca-icon').removeClass('dslc-icon-chevron-left').addClass('dslc-icon-refresh dslc-icon-spin');
3484
  var dslcFontsAmount = dslcAllFontsArray.length;
3485
  var i = 0;
3486
  do {
3487
+
3488
  if (re.test(dslcAllFontsArray[i])) {
3489
  if ( ! dslcMatchingFont ) {
3490
  var dslcMatchingFont = dslcAllFontsArray[i];
3491
  }
3492
  }
3493
+
3494
  i++; } while (i < dslcFontsAmount);
3495
 
3496
  if ( ! dslcMatchingFont ) {
3497
  dslcFont = dslcVal;
3498
+ jQuery('.dslca-module-edit-field-font-suggest', dslcOption).hide();
3499
  } else {
3500
  dslcFont = dslcMatchingFont;
3501
  jQuery('.dslca-module-edit-field-font-suggest', dslcOption).show();
3502
  }
3503
 
3504
  jQuery('.dslca-module-edit-field-font-suggest', dslcOption).text( dslcFont );
3505
+
3506
  if ( dslcFont.length )
3507
  dslcField.val( dslcFont.substring( 0 , dslcField.val().length ) );
3508
 
3652
  otherOpt = jQuery(this).closest('.dslca-module-edit-option-text-align-wrapper').find('.dslca-module-edit-option-text-align-hook'),
3653
  newVal = newOpt.data('val'),
3654
  realOpt = jQuery(this).closest('.dslca-module-edit-option-text-align-wrapper').siblings('input.dslca-module-edit-field');
3655
+
3656
  otherOpt.removeClass('dslca-active');
3657
  newOpt.addClass('dslca-active');
3658
 
3709
  boxShadowSpread = boxShadowWrapper.find('.dslca-module-edit-option-box-shadow-spread').val(),
3710
  boxShadowColor = boxShadowWrapper.find('.dslca-module-edit-option-box-shadow-color').val(),
3711
  boxShadowInset = boxShadowWrapper.find('.dslca-module-edit-option-box-shadow-inset').is(':checked');
3712
+
3713
+ if ( boxShadowInset ) { boxShadowInset = ' inset'; } else { boxShadowInset = ''; }
3714
 
3715
  var boxShadowVal = boxShadowHor + 'px ' + boxShadowVer + 'px ' + boxShadowBlur + 'px ' + boxShadowSpread + 'px ' + boxShadowColor + boxShadowInset;
3716
 
3768
  showPalette: true,
3769
  palette: dslcColorPallete,
3770
  move: function( color ) {
3771
+
3772
  // The option field
3773
  dslcColorField = jQuery(this);
3774
 
3872
  chooseText: '',
3873
  preferredFormat: 'rgb',
3874
  move: function( color ) {
3875
+
3876
  // The option field
3877
  dslcColorField = jQuery(this);
3878
 
3969
  showPalette: true,
3970
  palette: dslcColorPallete,
3971
  move: function( color ) {
3972
+
3973
  // The option field
3974
  dslcColorField = jQuery(this);
3975
 
4072
  dslcAffectOnChangeRules;
4073
 
4074
  dslcSlider = jQuery(this);
4075
+ dslcSliderInput = dslcSlider.siblings('.dslca-module-edit-field');
4076
 
4077
  dslcSliderTooltip = dslcSlider.closest('.dslca-module-edit-option-slider').find('.dslca-module-edit-field-slider-tooltip');
4078
 
4081
  max : dslcSliderInput.data('max'),
4082
  step: dslcSliderInput.data('increment'),
4083
  value: dslcSliderInput.val(),
4084
+ slide: function(event, ui) {
4085
 
4086
  dslcSliderExt = dslcSliderInput.data('ext');
4087
  dslcSliderVal = ui.value + dslcSliderExt;
4125
  start: function( event, ui ) {
4126
 
4127
  dslcSliderTooltip.show();
4128
+
4129
  // Tooltip
4130
  dslcSliderTooltip.text( dslcSliderVal );
4131
  dslcSliderTooltipOffset = ui.handle.style.left;
4157
  dslc_post_id : jQuery('.dslca-container').data('post-id')
4158
  },
4159
  function( response ) {
4160
+
4161
  callback(response);
4162
 
4163
  }
4192
  dslcSettings['dslc_module_id'] = dslcModuleID;
4193
  dslcSettings['dslc_module_instance_id'] = dslcModuleInstanceID;
4194
  dslcSettings['dslc_post_id'] = jQuery('.dslca-container').data('post-id');
4195
+
4196
  if ( dslcModule.hasClass('dslca-preload-preset') )
4197
  dslcSettings['dslc_preload_preset'] = 'enabled';
4198
  else
4222
  dslcModule.remove();
4223
  dslc_generate_code();
4224
  dslc_show_publish_button();
4225
+
4226
  dslc_carousel();
4227
  dslc_masonry( jQuery('.dslca-module-being-edited') );
4228
  jQuery( '.dslca-module-being-edited img' ).load( function(){
4300
  dslcModule.remove();
4301
  dslc_generate_code();
4302
  dslc_show_publish_button();
4303
+
4304
  dslc_carousel();
4305
  dslc_masonry( jQuery('.dslca-module-being-edited') );
4306
  jQuery( '.dslca-module-being-edited img' ).load( function(){
4433
 
4434
  e.preventDefault();
4435
 
4436
+ // If composer not hidden
4437
  if ( ! $('body').hasClass( 'dslca-composer-hidden' ) ) {
4438
 
4439
  // If another module being edited and has changes
4453
  if ( $('.dslca-modules-section-being-edited').length ) {
4454
  $('.dslca-module-edit-cancel').trigger('click');
4455
  }
4456
+
4457
  // Vars
4458
  var dslcModule = $(this).closest('.dslc-module-front'),
4459
  dslcModuleID = dslcModule.data('dslc-module-id'),
4472
 
4473
  }
4474
 
4475
+ });
4476
 
4477
  /**
4478
  * Hook - Tab Switch
4575
  if ( dslcTtipLeft < 0 ) {
4576
  dslcTtipArrLeft = ( dslcTtipWidth / 2 ) + dslcTtipLeft + 'px';
4577
  dslcTtipLeft = 0;
4578
+ }
4579
 
4580
  jQuery('.dslca-module-edit-field-icon-switch-sets').show().css({
4581
  top : dslcOffset.top - dslcTtipHeight - 20,
4668
  dslc_template_id : template
4669
  },
4670
  function( response ) {
4671
+
4672
  // Apply the template's HTML
4673
  jQuery('#dslc-main').html( response.output );
4674
 
4709
  dslc_template_code : jQuery('#dslca-import-code').val()
4710
  },
4711
  function( response ) {
4712
+
4713
  // Apply the template's HTML
4714
  jQuery('#dslc-main').html( response.output );
4715
 
4737
  * TEMPLATES - SAVE
4738
  */
4739
 
4740
+ function dslc_template_save() {
4741
 
4742
  if ( dslcDebug ) console.log( 'dslc_save_template' );
4743
 
4752
  dslc_template_title : jQuery('#dslca-save-template-title').val()
4753
  },
4754
  function( response ) {
4755
+
4756
  // Hide the modal
4757
  dslc_hide_modal( '', '.dslca-modal-templates-save' );
4758
 
4780
  dslc_template_id : template
4781
  },
4782
  function( response ) {
4783
+
4784
  // Remove template from the template listing
4785
  jQuery('.dslca-template[data-id="' + template + '"]').fadeOut(200, function(){
4786
  jQuery(this).remove();
4810
  /**
4811
  * Hook - Load Template
4812
  */
4813
+
4814
  $(document).on( 'click', '.dslca-template', function(){
4815
 
4816
  dslc_template_load( jQuery(this).data('id') );
4820
  /**
4821
  * Hook - Import Template
4822
  */
4823
+
4824
  $('.dslca-template-import-form').submit(function(e){
4825
 
4826
  e.preventDefault();
4842
  /**
4843
  * Hook - Delete Template
4844
  */
4845
+
4846
  $(document).on( 'click', '.dslca-delete-template-hook', function(e){
4847
 
4848
  e.stopPropagation();
4849
  dslc_template_delete( $(this).data('id') );
4850
 
4851
  });
4852
+
4853
  });
4854
 
4855
 
4863
  * - dslc_generate_section_code ( Generate LC data for a specific row/section )
4864
  *
4865
  ***********************************/
4866
+
4867
  /**
4868
  * CODE GENERATION - Save Page Changes
4869
  */
4898
  timeout: 10000
4899
  }).done(function( response ) {
4900
 
4901
+ // On success hide the publish button
4902
  if ( response.status == 'success' ) {
4903
  jQuery('.dslca-save-composer').fadeOut(250);
4904
  jQuery('.dslca-save-draft-composer').fadeOut(250);
4905
  // On fail show an alert message
4906
  } else {
4907
+ alert( 'Something went wrong, please try to save again. Are you sure to make any changes? Error Code: ' + response.status);
4908
  }
4909
 
4910
  }).fail(function( response ) {
4911
 
4912
  if ( response.statusText == 'timeout' ) {
4913
+ alert( 'The request timed out after 10 seconds. Server do not respond in time. Please try again.' );
4914
  } else {
4915
+ alert( 'Something went wrong. Please try again. Error Code: ' + response.statusText );
4916
  }
4917
 
4918
  }).always(function( reseponse ) {
4960
  // Replace the loading animation with a check icon
4961
  jQuery('.dslca-save-draft-composer .dslca-icon').removeClass('dslc-icon-spin dslc-icon-spinner').addClass('dslc-icon-save')
4962
 
4963
+ // On success hide the publish button
4964
  if ( response.status == 'success' ) {
4965
  jQuery('.dslca-save-draft-composer').fadeOut(250);
4966
 
4968
  } else {
4969
  alert( 'Something went wrong, please try to save again.' );
4970
  }
4971
+
4972
  // Remove the class previously added so we know saving is finished
4973
  jQuery('body').removeClass('dslca-saving-in-progress');
4974
 
5005
  * Go through module areas (empty or not empty)
5006
  */
5007
 
5008
+ jQuery('#dslc-main .dslc-modules-area').each(function(){
5009
 
5010
  if ( jQuery('.dslc-module-front', this).length ) {
5011
  jQuery(this).removeClass('dslc-modules-area-empty').addClass('dslc-modules-area-not-empty');
5027
  /**
5028
  * Go through module sections (empty or not empty)
5029
  */
5030
+
5031
+ jQuery('#dslc-main .dslc-modules-section').each(function(){
5032
 
5033
  if ( jQuery('.dslc-modules-area', this).length ) {
5034
  jQuery(this).removeClass('dslc-modules-section-empty').addClass('dslc-modules-section-not-empty');
5105
  // If area column counter same as current area size
5106
  if ( currPerRowA == modulesAreaSize ) {
5107
  // Set shortcode's "first" attribute to yes
5108
+ modulesAreaFirstState = 'yes';
5109
  }
5110
 
5111
  // Open the modules area ( area ) shortcode
5155
  if ( currPerRow == maxPerRow ) {
5156
 
5157
  // Set shorcode's "first" state to "yes"
5158
+ moduleFirstState = 'yes';
5159
 
5160
  // Add classes for current and next module
5161
  jQuery(this).addClass('dslc-last-col').next('.dslc-module-front').addClass('dslc-first-col');
5162
 
5163
  // Resest modules column counter
5164
  currPerRow = 0;
5165
+ }
5166
 
5167
  // Get module's LC data
5168
  moduleCode = jQuery(this).find('.dslca-module-code').val();
5171
  composerCode = composerCode + '[dslc_module last="' + moduleLastState + '"]' + moduleCode + '[/dslc_module] ';
5172
 
5173
  });
5174
+
5175
  // Close area shortcode
5176
  composerCode = composerCode + '[/dslc_modules_area] ';
5177
 
5178
  });
5179
+
5180
  // Close row ( section ) shortcode
5181
  composerCode = composerCode + '[/dslc_modules_section] ';
5182
 
5183
  });
5184
+
5185
  // Apply the new code values to the setting containers
5186
  jQuery('#dslca-code').val(composerCode);
5187
  jQuery('#dslca-export-code').val(composerCode);
5245
  }
5246
 
5247
  if ( currPerRowA == modulesAreaSize ) {
5248
+ modulesAreaFirstState = 'yes';
5249
  }
5250
 
5251
  composerCode = composerCode + '[dslc_modules_area last="' + modulesAreaLastState + '" first="' + modulesAreaFirstState + '" size="' + modulesAreaSize + '"] ';
5259
  if ( currPerRow == modulesAreaSize ) {
5260
  jQuery(this).addClass('dslc-last-col').next('.dslc-module-front').addClass('dslc-first-col');
5261
  currPerRow = 0;
5262
+ }
5263
 
5264
  moduleCode = jQuery(this).find('.dslca-module-code').val();
5265
  composerCode = composerCode + '[dslc_module]' + moduleCode + '[/dslc_module] ';
5309
  }
5310
 
5311
  });
5312
+
5313
  });
5314
 
5315
 
5375
  */
5376
 
5377
  $(document).on( 'keypress', '.dslca-module-edit-field[name="css_save_preset"]', function(e){
5378
+
5379
  // Enter Key Pressed
5380
  if ( e.which == 13 ) {
5381
 
5382
  // Vars
5383
  var presetName = $(this).val(),
5384
+ presetID = presetName.toLowerCase().replace(/\s/g, '-');
5385
 
5386
  // Add class to body that a new preset is added
5387
  $('body').addClass('dslca-new-preset-added');
5403
  $(document).on( 'change', '.dslca-module-edit-field[name="css_load_preset"]', function(e){
5404
  $('.dslca-module-being-edited').addClass('dslca-preload-preset');
5405
  });
5406
+
5407
  });
5408
 
5409
 
5499
 
5500
  if ( dslcDebug ) console.log( 'dslca_draggable_calc_center' );
5501
 
5502
+ jQuery( ".dslc-modules-section-inner" ).sortable( "option", "cursorAt", { top: dslcArea.outerHeight() / 2, left: dslcArea.outerWidth() / 2 } );
5503
 
5504
  }
5505
 
5506
+ /**
5507
  * Other - Generate code of editable content
5508
  */
5509
 
5513
 
5514
  var dslcModule, dslcContent, dslcFieldID;
5515
 
5516
+ dslcModule = dslcField.closest('.dslc-module-front');
5517
+ dslcContent = dslcField.html().trim().replace(/<textarea/g, '<lctextarea').replace(/<\/textarea/g, '</lctextarea');
5518
  dslcFieldID = dslcField.data('id');
5519
 
5520
  jQuery('.dslca-module-option-front[data-id="' + dslcFieldID + '"]', dslcModule).val( dslcContent );
5540
  var code = dslc_dm_get_defaults( module );
5541
 
5542
  // Generate modal's text
5543
+ var message = '<span class="dslca-prompt-modal-title">Module Defaults</span>'
5544
  + '<span class="dslca-prompt-modal-descr">The code bellow is used to alter the defaults.</span>'
5545
  + '<textarea></textarea><br><br>';
5546
 
5572
  var doPrevent = false;
5573
  if (event.keyCode === 8) {
5574
  var d = event.srcElement || event.target;
5575
+ if ((d.tagName.toUpperCase() === 'INPUT' && (d.type.toUpperCase() === 'TEXT' || d.type.toUpperCase() === 'PASSWORD' || d.type.toUpperCase() === 'FILE'))
5576
  || d.tagName.toUpperCase() === 'TEXTAREA' || $(d).hasClass('dslca-editable-content') || $(d).hasClass('dslc-tabs-nav-hook-title') || $(d).hasClass('dslc-accordion-title') ) {
5577
  doPrevent = d.readOnly || d.disabled;
5578
  } else {
5600
  });
5601
 
5602
  /**
5603
+ * Hook - Refresh Module
5604
  */
5605
 
5606
  $(document).on( 'click', '.dslca-refresh-module-hook', function(e){
5607
 
5608
+ $(this).css({
5609
  '-webkit-animation-name' : 'dslcRotate',
5610
  '-moz-animation-name' : 'dslcRotate',
5611
  'animation-name' : 'dslcRotate',
5627
  window.onbeforeunload = function () { return; };
5628
 
5629
  /*********************************
5630
+ *
5631
  * = PENDING CLEANUP
5632
  *
5633
  *********************************/
5729
 
5730
  /* Show On */
5731
  if ( dslcField.data('id') == 'show_on' ) {
5732
+
5733
  console.log( checkboxesVal );
5734
 
5735
  if ( checkboxesVal.indexOf( 'desktop' ) !== -1 ) {
5753
  }
5754
 
5755
  } else if ( ( dslcFieldID == 'bg_image_attachment' && dslcVal == 'parallax' ) || dslcFieldID == 'type' ) {
5756
+
5757
  if ( dslcFieldID == 'bg_image_attachment' ) {
5758
  dslcEl.addClass( 'dslc-init-parallax' );
5759
  dslc_parallax();
5822
  // Editable Content
5823
 
5824
  jQuery(document).on('blur', '.dslca-editable-content', function() {
5825
+
5826
  if ( ! jQuery('body').hasClass( 'dslca-composer-hidden' ) && jQuery(this).data('type') == 'simple' ) {
5827
 
5828
  dslc_editable_content_gen_code( jQuery(this) );
5843
 
5844
  dslc_editable_content_gen_code( jQuery(this) );
5845
 
5846
+ }, 1);
5847
 
5848
  }
5849
 
5870
  if ( jQuery(this).data('type') == 'simple' ) {
5871
  jQuery(this).closest('.dslc-module-front').addClass('dslca-module-change-made');
5872
  }
5873
+
5874
  });
5875
 
5876
 
5924
  });
5925
 
5926
  } else if ( dslcOption.hasClass('dslca-module-edit-option-radio') ) {
5927
+ var dslcOptionValue = $('.dslca-module-edit-field:checked', dslcOption).val();
5928
  } else {
5929
 
5930
  var dslcOptionValue = dslcOption.val();
5978
  if ( dslcOption.val().length && dslcGoogleFontsArray.indexOf( dslcOption.val() ) !== -1 ) {
5979
 
5980
  WebFont.load({
5981
+ google: {
5982
+ families: [ dslcFontsToLoad ]
5983
  },
5984
  active : function(familyName, fvd) {
5985
  if ( jQuery( '.dslca-font-loading' ).closest('.dslca-module-edit-field-font-next').length )
5996
  }
5997
  }
5998
  );
5999
+
6000
+ } else {
6001
 
6002
  setTimeout( function(){
6003
 
6058
  */
6059
 
6060
  jQuery( '.dslca-module-option-front[data-id="' + dslcOptionID + '"]', dslcModule ).val( dslcAffectOnChangeValOrig );
6061
+
6062
  }
6063
 
6064
  });
6065
 
6066
+
6067
  // Preview Module Opt Change - Numeric
6068
 
6069
  $(document).on( 'keyup, blur', '.dslca-module-edit-field-numeric', function(){
6102
  */
6103
 
6104
  jQuery( '.dslca-module-option-front[data-id="' + dslcOptionID + '"]', dslcModule ).val( dslcAffectOnChangeValOrig );
6105
+
6106
  }
6107
 
6108
  });
6109
 
6110
+
6111
  //Preview Module Section Opt Change - Numeric
6112
 
6113
  $(document).on( 'keyup', '.dslca-modules-section-edit-field-numeric', function(){
6141
  */
6142
 
6143
  jQuery( '.dslca-modules-section-settings input[data-id="' + dslcOptionID + '"]', dslcModulesSection ).val( dslcAffectOnChangeValOrig );
6144
+
6145
  });
6146
 
6147
  });
6181
  });
6182
 
6183
  // When an image is selected, run a callback.
6184
+ file_frame.on( 'select', function() {
6185
 
6186
+ var attachment = file_frame.state().get('selection').first().toJSON();
6187
  field.val( attachment.id ).data( 'dslca-img-url', attachment.url ).trigger('change');
6188
  hook.hide();
6189
  removeHook.show();
6225
 
6226
  var editable = $(this).parent().siblings('.dslca-editable-content');
6227
  var module = editable.closest('.dslc-module-front');
6228
+
6229
  if ( module.hasClass('dslc-module-handle-like-accordion') ) {
6230
 
6231
  dslc_accordion_generate_code( module.find('.dslc-accordion') );
6235
  var content = full_content_arr[key_value].trim().replace(/<lctextarea/g, '<textarea').replace(/<\/lctextarea/g, '</textarea');
6236
 
6237
  } else if ( module.hasClass('dslc-module-handle-like-tabs') ) {
6238
+
6239
  dslc_tabs_generate_code( module.find('.dslc-tabs') );
6240
  var full_content = module.find( '.dslca-module-option-front[data-id="tabs_content"]' ).val();
6241
  var full_content_arr = full_content.split('(dslc_sep)');
6282
 
6283
  if ( $('#wp-dslcawpeditor-wrap').hasClass('tmce-active') ) {
6284
  var editor = tinymce.get( 'dslcawpeditor' );
6285
+ var content = editor.getContent();
6286
  } else {
6287
  var content = $('#dslcawpeditor').val();
6288
  }
js/builder.main.min.js CHANGED
@@ -1,4 +1,4 @@
1
  "use strict";function dslc_hide_composer(){dslcDebug&&console.log("dslc_hide_composer"),jQuery(".dslca-hide-composer-hook").hide(),jQuery(".dslca-show-composer-hook").show(),jQuery("body").addClass("dslca-composer-hidden"),jQuery(".dslca-container").css({bottom:-1*jQuery(".dslca-container").outerHeight()}),jQuery(".dslca-header").hide()}function dslc_show_composer(){dslcDebug&&console.log("dslc_show_composer"),jQuery(".dslca-show-composer-hook").hide(),jQuery(".dslca-hide-composer-hook").show(),jQuery("body").removeClass("dslca-composer-hidden"),jQuery(".dslca-container").css({bottom:0}),jQuery(".dslca-header").show()}function dslc_show_publish_button(){dslcDebug&&console.log("dslc_show_publish_button"),jQuery(".dslca-save-composer").show().addClass("dslca-init-animation"),jQuery(".dslca-save-draft-composer").show().addClass("dslca-init-animation")}function dslc_show_section(a){dslcDebug&&console.log("dslc_show_section"),jQuery("body").addClass("dslca-anim-in-progress");var c=(jQuery(a).data("title"),jQuery(a).data("bg"));jQuery(".dslca-container").css({bottom:-500}),jQuery(".dslca-sections").animate({backgroundColor:c},200),jQuery(".dslca-section").hide(),jQuery(a).show(),".dslca-modules-section-edit"==a&&dslc_row_edit_scrollbar_init(),".dslca-module-edit"==a?jQuery(".dslca-currently-editing").show().css("background-color",c).find("strong").text(jQuery(".dslca-module-being-edited").attr("title")+" module"):".dslca-modules-section-edit"==a?jQuery(".dslca-currently-editing").show().css("background-color","#e5855f").find("strong").text("Row"):jQuery(".dslca-currently-editing").hide().find("strong").text(""),dslc_module_options_tab_filter(),".dslca-module-edit"!=a&&dslc_scroller_init(),setTimeout(function(){jQuery(".dslca-container").css({bottom:0})},300),jQuery("body").removeClass("dslca-anim-in-progress")}function dslc_generate_filters(){dslcDebug&&console.log("dslc_generate_filters");var a,b=[],c='<span data-origin="">ALL</span>',d=jQuery(".dslca-section:visible .dslca-origin");d.each(function(){a=jQuery(this),-1==jQuery.inArray(a.data("origin"),b)&&(b.push(a.data("origin")),c+='<span data-origin="'+a.data("origin")+'">'+a.data("origin").replace("_"," ")+"</span>")}),jQuery(".dslca-section:visible .dslca-section-title-filter-options").html(c).css("background",jQuery(".dslca-section:visible").data("bg"))}function dslc_filter_origin(a,b){dslcDebug&&console.log("dslc_filter_origin"),jQuery(".dslca-origin",b).hide(),jQuery('.dslca-origin[data-origin="'+a+'"]',b).show(),""==a&&jQuery(".dslca-origin",b).show(),dslc_scroller_init()}function dslc_drag_and_drop(){dslcDebug&&console.log("dslc_drag_and_drop");var b,c,d;jQuery(".dslca-modules .dslca-module").draggable({scroll:!1,appendTo:"body",helper:"clone",cursor:"default",cursorAt:{top:50,left:30},containment:"body",start:function(a,b){jQuery("body").removeClass("dslca-new-module-drag-not-in-progress").addClass("dslca-new-module-drag-in-progress"),jQuery("#dslc-header").addClass("dslca-header-low-z-index")},stop:function(a,b){jQuery("body").removeClass("dslca-new-module-drag-in-progress").addClass("dslca-new-module-drag-not-in-progress"),jQuery("#dslc-header").removeClass("dslca-header-low-z-index")}}),jQuery(".dslc-content").sortable({items:".dslc-modules-section",handle:'.dslca-move-modules-section-hook:not(".dslca-action-disabled")',placeholder:"dslca-modules-section-placeholder",tolerance:"pointer",cursorAt:{bottom:10},axis:"y",scroll:!0,scrollSensitivity:200,scrollSpeed:10,sort:function(){jQuery(this).removeClass("ui-state-default")},update:function(a,b){dslc_generate_code(),dslc_show_publish_button()},start:function(a,b){jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress"),b.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">'+DSLCString.str_row_helper_text+"</span></span>"),jQuery(".dslc-content").sortable("refreshPositions")},stop:function(a,b){jQuery("body").removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress"),jQuery(".dslca-anim-opacity-drop").removeClass("dslca-anim-opacity-drop"),jQuery(".dslc-modules-section").css({overflow:"visible","max-height":"none"})}}),jQuery(".dslc-modules-section-inner").sortable({connectWith:".dslc-modules-section-inner",items:".dslc-modules-area",handle:'.dslca-move-modules-area-hook:not(".dslca-action-disabled")',placeholder:"dslca-modules-area-placeholder",cursorAt:{top:0,left:0},tolerance:"intersect",scroll:!0,scrollSensitivity:100,scrollSpeed:15,sort:function(){jQuery(this).removeClass("ui-state-default")},over:function(a,b){var c=b.placeholder.closest(".dslc-modules-section");jQuery(c).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty"),c.siblings(".dslc-modules-section").each(function(){jQuery(".dslc-modules-area:not(.ui-sortable-helper)",jQuery(this)).length?jQuery(this).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty"):jQuery(this).removeClass("dslc-modules-section-not-empty").addClass("dslc-modules-section-empty")})},update:function(a,b){dslc_generate_code(),dslc_show_publish_button()},start:function(a,b){b.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">'+DSLCString.str_area_helper_text+"</span></span>"),jQuery(b.item).hasClass("dslc-12-col")?b.placeholder.width(b.item.width()).css({margin:0}):b.placeholder.width(b.item.width()-10),jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress dslca-modules-area-drag-in-progress"),jQuery(".dslc-modules-section-inner").sortable("refreshPositions")},stop:function(a,b){jQuery("body").removeClass("dslca-drag-in-progress dslca-modules-area-drag-in-progress").addClass("dslca-drag-not-in-progress"),jQuery(".dslca-anim-opacity-drop").removeClass("dslca-anim-opacity-drop")},change:function(a,b){}}),jQuery(".dslc-modules-section").droppable({drop:function(a,b){var c=jQuery(this).find(".dslc-modules-section-inner"),d=b.draggable.data("id");"DSLC_M_A"==d&&dslc_modules_area_add(c)}}),jQuery(".dslc-modules-area").droppable({activeClass:"dslca-ui-state-default",hoverClass:"dslca-ui-state-hover",accept:":not(.ui-sortable-helper)",drop:function(a,e){if(b=jQuery(this),c=e.draggable.data("id"),"DSLC_M_A"==c||jQuery("body").hasClass("dslca-module-drop-in-progress")||b.closest("#dslc-header").length||b.closest("#dslc-footer").length);else{jQuery("body").addClass("dslca-anim-in-progress dslca-module-drop-in-progress"),b.hasClass("dslc-modules-area-not-empty")&&b.animate({paddingBottom:50},150),dslc_module_output_default(c,function(a){d=a.output,jQuery(".dslca-module-loading-inner",b).stop().animate({width:"100%"},300,"linear",function(){b.css({paddingBottom:0}),jQuery(".dslca-module-loading",b).hide();var a=jQuery(d).appendTo(b);a.css({"-webkit-animation-name":"dslcBounceIn","-moz-animation-name":"dslcBounceIn","animation-name":"dslcBounceIn","animation-duration":"0.6s","-webkit-animation-duration":"0.6s"}),setTimeout(function(){dslc_init_square(),dslc_center(),dslc_masonry(a),jQuery("body").removeClass("dslca-anim-in-progress dslca-module-drop-in-progress")},700),jQuery(".dslca-no-content-primary",b).css({opacity:1}),jQuery(".dslca-modules-area-manage",b).css({visibility:"visible"}),jQuery(".dslca-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"}),dslc_carousel(),dslc_tabs(),dslc_init_accordion(),dslc_init_square(),dslc_center(),dslc_generate_code(),dslc_show_publish_button()})}),jQuery(".dslca-module-loading",b).show(),jQuery(".dslca-no-content-primary",b).css({opacity:0}),jQuery(".dslca-modules-area-manage",b).css({visibility:"hidden"});var f=100*Math.floor(51*Math.random()+50);jQuery(".dslca-module-loading-inner",b).css({width:0}).animate({width:"100%"},f,"linear")}}}).sortable({connectWith:".dslc-modules-area",items:".dslc-module-front",handle:'.dslca-move-module-hook:not(".dslca-action-disabled")',placeholder:"dslca-module-placeholder",cursorAt:{top:50,left:30},tolerance:"pointer",scroll:!0,scrollSensitivity:100,scrollSpeed:15,start:function(a,b){b.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">'+b.item.find(".dslc-sortable-helper-icon").data("title")+"</span></span>"),jQuery(b.item).hasClass("dslc-12-col")?b.placeholder.width(b.item.width()).css({margin:0}):b.placeholder.width(b.item.width()-10),jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress"),jQuery(".dslc-module-front",this).length<2&&(jQuery(this).removeClass("dslc-modules-area-not-empty").addClass("dslc-modules-area-empty"),jQuery(".dslca-no-content:not(:visible)",this).show().css({"-webkit-animation-name":"dslcBounceIn","-moz-animation-name":"dslcBounceIn","animation-name":"dslcBounceIn","animation-duration":"0.6s","-webkit-animation-duration":"0.6s",padding:0}).animate({padding:"35px 0"},300,function(){})),jQuery(".dslc-modules-area").sortable("refreshPositions")},sort:function(a,b){jQuery(this).removeClass("ui-state-default")},update:function(a,b){dslc_show_publish_button()},stop:function(a,b){dslc_generate_code(),jQuery("body").removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress"),jQuery(".dslca-anim-opacity-drop").removeClass("dslca-anim-opacity-drop"),b.item.trigger("mouseleave")},change:function(a,b){}})}function dslc_option_changed(){dslc_show_publish_button()}function dslc_module_dragdrop_init(){dslc_drag_and_drop()}function dslc_scroller_init(){dslcDebug&&console.log("dslc_scroller_init");var a=jQuery(".dslca-section-scroller");a.length&&a.each(function(){var a,b=jQuery(this),c=jQuery(".dslca-section-scroller-inner",b),d=c.position(),e=jQuery(".dslca-section-scroller-content",b),f=jQuery(".dslca-scroller-item:visible",b),g=0,h=b.width()+-1*d.left;e.width();jQuery(".dslca-section-scroller-item-last",b).removeClass("dslca-section-scroller-item-last"),f.each(function(){a=jQuery(this),g+=a.outerWidth(),g>h&&jQuery(".dslca-section-scroller-item-last",b).length<1&&(a.addClass("dslca-section-scroller-item-last"),b.data("current",a.prev(".dslca-scroller-item:visible").index()))})})}function dslc_scroller_go_to(a,b){dslcDebug&&console.log("dslc_scroller_go_to");var c=jQuery(".dslca-section-scroller-inner",b),d=jQuery(".dslca-section-scroller-content",b),f=(jQuery(".dslca-scroller-item",b),jQuery(".dslca-scroller-item:eq("+a+")",b));if(f.length){var g=b.width(),i=(d.width(),f.position()),j=g-(i.left+f.outerWidth());0>j?(b.data("current",a),c.css({left:j})):c.css({left:0})}}function dslc_scroller_prev(a){dslcDebug&&console.log("dslc_scroller_prev");var b=a.data("current"),c=a.find(".dslca-scroller-item:eq("+b+")").prevAll(".dslca-scroller-item:visible").eq(1).index(),d=a.find(".dslca-scroller-item:eq("+b+")").prevAll(".dslca-scroller-item:visible").eq(0).index();-1!==c?dslc_scroller_go_to(c,a):-1!==d&&dslc_scroller_go_to(d,a)}function dslc_scroller_next(a){dslcDebug&&console.log("dslc_scroller_next");var b=a.data("current"),c=a.find(".dslca-scroller-item:eq("+b+")").nextAll(".dslca-scroller-item:visible").eq(1).index(),d=a.find(".dslca-scroller-item:eq("+b+")").nextAll(".dslca-scroller-item:visible").eq(0).index();-1!==c?dslc_scroller_go_to(c,a):-1!==d&&dslc_scroller_go_to(d,a)}function dslc_ui_animations(){dslcDebug&&console.log("dslc_ui_animations"),jQuery(document).on("mouseenter",".dslca-modules-area-manage",function(){jQuery(this).closest(".dslc-modules-area").addClass("dslca-options-hovered"),dslca_draggable_calc_center(jQuery(this).closest(".dslc-modules-area"))}).on("mouseleave",".dslca-modules-area-manage",function(){jQuery(this).closest(".dslc-modules-area").removeClass("dslca-options-hovered")}),jQuery(document).on("mouseenter",".dslca-drag-not-in-progress .dslc-module-front",function(a){jQuery("body").hasClass("dslca-composer-hidden")||(jQuery(this).height()<190?jQuery(".dslca-module-manage",this).addClass("dslca-horizontal"):jQuery(".dslca-module-manage",this).removeClass("dslca-horizontal"))}).on("mouseleave",".dslca-drag-not-in-progress .dslc-module-front",function(a){jQuery("body").hasClass("dslca-composer-hidden")||jQuery(this).find(".dslca-change-width-module-options").hide(),jQuery(this).find(".dslca-module-manage").removeClass("dslca-module-manage-change-width-active")}),jQuery(document).on("mouseenter",".dslca-drag-not-in-progress .dslc-modules-area",function(a){jQuery(this);jQuery("body").hasClass("dslca-composer-hidden")||(jQuery("#dslc-header").addClass("dslca-header-low-z-index"),jQuery(this).height()<130?jQuery(".dslca-modules-area-manage",this).addClass("dslca-horizontal"):jQuery(".dslca-modules-area-manage",this).removeClass("dslca-horizontal"))}).on("mouseleave",".dslca-drag-not-in-progress .dslc-modules-area",function(a){jQuery(this);jQuery("body").hasClass("dslca-composer-hidden")||jQuery("#dslc-header").removeClass("dslca-header-low-z-index")})}function dslc_show_modal(a,b){dslcDebug&&console.log("dslc_show_modal"),dslc_hide_modal("",jQuery(".dslca-modal:visible"));var b=jQuery(b),c=jQuery(a).position(),d=b.outerWidth()/2-a.outerWidth()/2,e=c.left-d;b.css({left:e}).show(),b.addClass("dslca-modal-open")}function dslc_hide_modal(a,b){dslcDebug&&console.log("dslc_hide_modal");var b=jQuery(b);b.hide(),b.removeClass("dslca-modal-open")}function dslc_js_confirm(a,b,c){dslcDebug&&console.log("dslc_js_confirm"),jQuery(".dslca-prompt-modal").addClass("dslca-prompt-modal-active"),jQuery(".dslca-prompt-modal").data("id",a),jQuery(".dslca-prompt-modal").data("target",c),jQuery(".dslca-prompt-modal-msg").html(b),jQuery(".dslca-prompt-modal").css({opacity:0}).show().animate({opacity:1},400),jQuery(".dslca-prompt-modal-content").css({top:"55%"}).animate({top:"50%"},400)}function dslc_js_confirm_close(){dslcDebug&&console.log("dslc_js_confirm_close"),jQuery(".dslca-prompt-modal").removeClass("dslca-prompt-modal-active"),jQuery(".dslca-prompt-modal").animate({opacity:0},400,function(){jQuery(this).hide(),jQuery(".dslca-prompt-modal-cancel-hook").show(),jQuery(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>'+DSLCString.str_confirm)}),jQuery(".dslca-prompt-modal-content").animate({top:"55%"},400)}function dslc_row_add(a){dslcDebug&&console.log("dslc_row_add"),a="undefined"!=typeof a?a:!1,jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-modules-section",dslc:"active"},function(b){jQuery(b.output).appendTo("#dslc-main"),dslc_drag_and_drop(),dslc_generate_code(),dslc_show_publish_button(),a&&a()})}function dslc_row_delete(a){dslcDebug&&console.log("dslc_row_delete"),a.find(".dslca-module-being-edited")&&(jQuery(".dslca-header .dslca-options-filter-hook").hide(),jQuery(".dslca-module-edit-actions").hide(),jQuery(".dslca-header .dslca-go-to-section-hook").show(),dslc_show_section(".dslca-modules")),a.trigger("mouseleave").remove(),dslc_generate_code(),dslc_show_publish_button()}function dslc_row_edit(a){dslcDebug&&console.log("dslc_row_edit");jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),jQuery(".dslca-modules-section-being-edited").removeClass("dslca-modules-section-being-edited").removeClass("dslca-modules-section-change-made"),a.addClass("dslca-modules-section-being-edited"),jQuery(".dslca-header .dslca-go-to-section-hook").hide(),jQuery('.dslca-row-options-filter-hook[data-section="styling"], .dslca-row-options-filter-hook[data-section="responsive"]').show(),jQuery('.dslca-row-options-filter-hook[data-section="styling"]').trigger("click"),jQuery(".dslca-header .dslca-options-filter-hook").hide(),jQuery(".dslca-module-edit-actions").hide(),jQuery(".dslca-row-edit-actions").show(),jQuery(".dslca-modules-section-edit-field").each(function(){if("border-top"==jQuery(this).data("id"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]').val().indexOf("top")>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty"));else if("border-right"==jQuery(this).data("id"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]').val().indexOf("right")>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty"));else if("border-bottom"==jQuery(this).data("id"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]').val().indexOf("bottom")>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty"));else if("border-left"==jQuery(this).data("id"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]').val().indexOf("left")>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty"));else if(jQuery(this).hasClass("dslca-modules-section-edit-field-checkbox"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="'+jQuery(this).data("id")+'"]').val().indexOf(jQuery(this).data("val"))>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty"));else if(jQuery(this).val(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="'+jQuery(this).data("id")+'"]').val()),jQuery(this).hasClass("dslca-modules-section-edit-field-colorpicker")){var a=jQuery(this);jQuery(this).closest(".dslca-modules-section-edit-option").find(".sp-preview-inner").removeClass("sp-clear-display").css({"background-color":a.val()})}}),jQuery(".dslca-modules-section-edit-field-upload").each(function(){var a=jQuery(this).closest(".dslca-modules-section-edit-option");jQuery(this).val()&&"disabled"!==jQuery(this).val()?(jQuery(".dslca-modules-section-edit-field-image-add-hook",a).hide(),jQuery(".dslca-modules-section-edit-field-image-remove-hook",a).show()):(jQuery(".dslca-modules-section-edit-field-image-remove-hook",a).hide(),jQuery(".dslca-modules-section-edit-field-image-add-hook",a).show())}),dslc_row_edit_slider_init(),dslc_show_section(".dslca-modules-section-edit"),jQuery(".dslca-save-composer-hook").css({visibility:"hidden"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"hidden"})}function dslc_row_edit_colorpicker_init(){dslcDebug&&console.log("dslc_row_edit_colorpicker_init");var a,b,c,e,f,g,h,i,k,l,j=[];if(j[0]=[],j[1]=[],j[2]=[],j[3]=[],void 0==localStorage.dslcColorpickerPalleteStorage);else for(k=JSON.parse(localStorage.dslcColorpickerPalleteStorage),l=0;l<k.length;l++){var m=Math.floor(l/3);4>m&&j[m].push(k[l])}jQuery(".dslca-modules-section-edit-field-colorpicker").each(function(){i=jQuery(this).val(),jQuery(this).spectrum({color:i,showInput:!0,allowEmpty:!0,showAlpha:!0,clickoutFiresChange:!0,cancelText:"",chooseText:"",preferredFormat:"rgb",showPalette:!0,palette:j,move:function(d){a=jQuery(this),b=a.data("id"),e=null==d?"transparent":d.toRgbString(),f=a.data("css-rule"),c=jQuery(".dslca-modules-section-being-edited"),h=c,g=jQuery('.dslca-modules-section-settings input[data-id="'+b+'"]',c),c.addClass("dslca-modules-section-change-made"),a.data("css-element")&&(h=jQuery(a.data("css-element"),c)),h.css(f,e),g.val(e)},change:function(c){if(a=jQuery(this),b=a.data("id"),e=null==c?"transparent":c.toRgbString(),void 0==localStorage.dslcColorpickerPalleteStorage){var d=[e];localStorage.dslcColorpickerPalleteStorage=JSON.stringify(d)}else{var d=JSON.parse(localStorage.dslcColorpickerPalleteStorage);-1==d.indexOf(e)&&d.unshift(e),localStorage.dslcColorpickerPalleteStorage=JSON.stringify(d)}},show:function(a){jQuery("body").addClass("dslca-disable-selection"),jQuery(this).spectrum("set",jQuery(this).val())},hide:function(){jQuery("body").removeClass("dslca-disable-selection")}})})}function dslc_row_edit_slider_init(){dslcDebug&&console.log("dslc_row_edit_slider_init"),jQuery(".dslca-modules-section-edit-field-slider").each(function(){var a,c,d,e,f,g,h,i,k,l,n,m="",o=0,p=300,q=1;a=jQuery(this),c=a.siblings(".dslca-modules-section-edit-field"),g=a.siblings(".dslca-modules-section-edit-field-slider-tooltip"),a.data("min")&&(o=a.data("min")),a.data("max")&&(p=a.data("max")),a.data("incr")&&(q=a.data("incr")),a.data("ext")&&(m=a.data("ext")),a.slider({min:o,max:p,step:q,value:c.val(),slide:function(b,j){d=j.value+m,c.val(d),f=jQuery(".dslca-modules-section-being-edited"),c.data("css-element")&&(f=jQuery(c.data("css-element"),f)),e=c.data("css-rule").replace(/ /g,""),n=e.split(",");for(var o=0;o<n.length;o++)jQuery(f).css(n[o],d);k=jQuery(".dslca-modules-section-being-edited"),l=c.data("id"),jQuery('.dslca-modules-section-settings input[data-id="'+l+'"]',k).val(j.value),k.addClass("dslca-modules-section-change-made"),g.text(d),i=a.find(".ui-slider-handle"),h=i[0].style.left,g.css({left:h})},stop:function(a,b){g.hide();var c=jQuery(window).scrollTop();dslc_masonry(),jQuery(window).scrollTop(c)},start:function(b,c){d=c.value,g.show(),g.text(d),i=a.find(".ui-slider-handle"),h=i[0].style.left,g.css({left:h})}})})}function dslc_row_edit_scrollbar_init(){dslcDebug&&console.log("dslc_row_edit_scrollbar_init");var a=0;jQuery(".dslca-modules-section-edit-option").each(function(){a+=jQuery(this).outerWidth(!0)+1}),a>jQuery(".dslca-modules-section-edit-options").width()?jQuery(".dslca-modules-section-edit-options-wrapper").width(a):jQuery(".dslca-modules-section-edit-options-wrapper").width("auto"),jQuery("body").hasClass("rtl")||(jQuery(".dslca-modules-section-edit-options-inner").data("jsp")&&jQuery(".dslca-modules-section-edit-options-inner").data("jsp").destroy(),jQuery(".dslca-modules-section-edit-options-inner").jScrollPane())}function dslc_row_edit_cancel(a){dslcDebug&&console.log("dslc_row_cancel_changes"),a="undefined"!=typeof a?a:!1,jQuery(".dslca-modules-section-being-edited .dslca-modules-section-settings input").each(function(){jQuery(this).val(jQuery(this).data("def")),jQuery('.dslca-modules-section-edit-field[data-id="'+jQuery(this).data("id")+'"]').val(jQuery(this).data("def")).trigger("change")}),dslc_show_section(".dslca-modules"),jQuery(".dslca-row-edit-actions").hide(),jQuery(".dslca-row-options-filter-hook").hide(),jQuery(".dslca-header .dslca-go-to-section-hook").show(),jQuery(".dslca-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"}),jQuery(".dslca-modules-section-being-edited").removeClass("dslca-modules-section-being-edited dslca-modules-section-change-made"),a&&a(),jQuery(".dslca-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"})}function dslc_row_edit_confirm(a){dslcDebug&&console.log("dslc_confirm_row_changes"),a="undefined"!=typeof a?a:!1,jQuery(".dslca-modules-section-being-edited .dslca-modules-section-settings input").each(function(){jQuery(this).data("def",jQuery(this).val())}),dslc_show_section(".dslca-modules"),jQuery(".dslca-row-edit-actions").hide(),jQuery(".dslca-row-options-filter-hook").hide(),jQuery(".dslca-header .dslca-go-to-section-hook").show(),jQuery(".dslca-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"}),jQuery(".dslca-modules-section-being-edited").removeClass("dslca-modules-section-being-edited dslca-modules-section-change-made"),dslc_generate_code(),dslc_show_publish_button(),a&&a(),jQuery(".dslca-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"})}function dslc_row_copy(a){dslcDebug&&console.log("dslc_row_copy");var b,c,d;c=a.clone().appendTo("#dslc-main"),c.find(".dslc-modules-area").each(function(){var b=jQuery(this).index();jQuery(this).data("size",a.find(".dslc-modules-area:eq( "+b+" )").data("size"))}),c.find(".dslc-module-front").css({"-webkit-animation-name":"none","-moz-animation-name":"none","animation-name":"none","animation-duration":"0","-webkit-animation-duration":"0",opacity:0}).each(function(){d=jQuery(this),jQuery.ajax({type:"POST",method:"POST",url:DSLCAjax.ajaxurl,data:{action:"dslc-ajax-get-new-module-id"},async:!1}).done(function(a){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),b=a.output,d.data("module-id",b).attr("id","dslc-module-"+b).addClass("dslca-module-being-edited"),dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited").animate({opacity:1},300)})})}),dslc_drag_and_drop(),dslc_generate_code(),dslc_show_publish_button()}function dslc_row_import(a){dslcDebug&&console.log("dslc_row_import"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-import-modules-section",dslc:"active",dslc_modules_section_code:a},function(a){dslc_js_confirm_close(),jQuery("#dslc-main").append(a.output),dslc_bg_video(),dslc_carousel(),dslc_masonry(jQuery("#dslc-main").find(".dslc-modules-section:last-child")),dslc_drag_and_drop(),dslc_show_publish_button(),dslc_generate_code()})}function dslc_add_modules_section(){dslc_row_add()}function dslc_delete_modules_section(a){dslc_row_delete(a)}function dslc_edit_modules_section(a){dslc_row_edit(a)}function dslc_edit_modules_section_colorpicker(){dslc_row_edit_colorpicker_init()}function dslc_edit_modules_section_slider(){dslc_row_edit_slider_init()}function dslc_edit_modules_section_scroller(){dslc_row_edit_scrollbar_init()}function dslc_copy_modules_section(a){dslc_row_copy(a)}function dslc_import_modules_section(a){dslc_row_import(a)}function dslc_modules_area_add(a){dslcDebug&&console.log("dslc_add_modules_area"),jQuery("body").addClass("dslca-anim-in-progress"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-modules-area",dslc:"active"},function(b){jQuery(".dslca-modules-area-loading .dslca-module-loading-inner",a.closest(".dslc-modules-section")).stop().animate({width:"100%"},200,"linear",function(){a.css({paddingBottom:0}),jQuery(this).closest(".dslca-modules-area-loading").hide()}),setTimeout(function(){jQuery(b.output).appendTo(a).css({height:0}).animate({height:99},300,function(){jQuery(this).css({height:"auto"})}).addClass("dslca-init-animation"),dslc_drag_and_drop(),dslc_generate_code(),dslc_show_publish_button(),jQuery("body").removeClass("dslca-anim-in-progress")},250)});var b=100*Math.floor(51*Math.random()+50);a.animate({paddingBottom:50},150),jQuery(".dslca-modules-area-loading",a.closest(".dslc-modules-section")).show(),jQuery(".dslca-modules-area-loading .dslca-module-loading-inner",a.closest(".dslc-modules-section")).css({width:0}).animate({width:"100%"},b,"linear")}function dslc_modules_area_delete(a){dslcDebug&&console.log("dslc_delete_modules_area");var b=a.closest(".dslc-modules-section").find(".dslc-modules-section-inner"),c=!1;a.addClass("dslca-modules-area-being-deleted"),b.find(".dslc-modules-area").length<2&&(c=!0),a.find(".dslca-module-being-edited").length&&(jQuery(".dslca-header .dslca-options-filter-hook").hide(),jQuery(".dslca-module-edit-actions").hide(),jQuery(".dslca-header .dslca-go-to-section-hook").show(),dslc_show_section(".dslca-modules")),setTimeout(function(){a.remove(),dslc_generate_code(),dslc_show_publish_button(),c&&dslc_modules_area_add(b)},900),a.css({"-webkit-animation-name":"dslcBounceOut","-moz-animation-name":"dslcBounceOut","animation-name":"dslcBounceOut","animation-duration":"0.6s","-webkit-animation-duration":"0.6s",overflow:"hidden"}).animate({opacity:0},600).animate({height:0,marginBottom:0},300,function(){a.remove(),dslc_generate_code(),dslc_show_publish_button()})}function dslc_modules_area_copy(a){dslcDebug&&console.log("dslc_copy_modules_area");var b,c=a.closest(".dslc-modules-section").find(".dslc-modules-section-inner"),d=a.clone().appendTo(c);d.find(".dslca-modules-area-manage").trigger("mouseleave"),d.data("size",a.data("size")).find(".dslc-module-front").css({"-webkit-animation-name":"none","-moz-animation-name":"none","animation-name":"none","animation-duration":"0","-webkit-animation-duration":"0",opacity:0}).each(function(){var a=jQuery(this);jQuery.ajax({type:"POST",method:"POST",url:DSLCAjax.ajaxurl,data:{action:"dslc-ajax-get-new-module-id"},async:!1}).done(function(c){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),b=c.output,a.data("module-id",b).attr("id","dslc-module-"+b).addClass("dslca-module-being-edited"),dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited").animate({opacity:1},300)})})}),dslc_drag_and_drop(),dslc_generate_code(),dslc_show_publish_button()}function dslc_modules_area_width_set(a,b){dslcDebug&&console.log("dslc_modules_area_width_set");var c="dslc-"+b+"-col";a.removeClass("dslc-1-col dslc-2-col dslc-3-col dslc-4-col dslc-5-col dslc-6-col dslc-7-col dslc-8-col dslc-9-col dslc-10-col dslc-11-col dslc-12-col").addClass(c).data("size",b),dslc_init_square(),dslc_center(),dslc_generate_code(),dslc_show_publish_button(),dslc_masonry()}function dslc_add_modules_area(a){dslc_modules_area_add(a)}function dslc_delete_modules_area(a){dslc_modules_area_delete(a)}function dslc_copy_modules_area(a){dslc_modules_area_copy(a)}function dslc_module_delete(a){dslcDebug&&console.log("dslc_delete_module"),a.addClass("dslca-module-being-deleted"),a.hasClass("dslca-module-being-edited")&&dslc_show_section(".dslca-modules"),setTimeout(function(){a.remove(),dslc_generate_code(),dslc_show_publish_button()},1e3),a.css({"-webkit-animation-name":"dslcBounceOut2","-moz-animation-name":"dslcBounceOut2","animation-name":"dslcBounceOut2","animation-duration":"0.6s","-webkit-animation-duration":"0.6s"}).animate({opacity:0},500,function(){a.css({marginBottom:0}).animate({height:0},400,"easeOutQuart")})}function dslc_module_copy(a){dslcDebug&&console.log("dslc_copy_module");var b;jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-get-new-module-id"},function(c){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),b=c.output,a.clone().appendTo(a.closest(".dslc-modules-area")).css({"-webkit-animation-name":"none","-moz-animation-name":"none","animation-name":"none","animation-duration":"0","-webkit-animation-duration":"0",opacity:0}).data("module-id",b).attr("id","dslc-module-"+b).addClass("dslca-module-being-edited"),dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited").css({opacity:0}).removeClass("dslca-module-being-edited").animate({opacity:1},300)})})}function dslc_module_width_set(a,b){dslcDebug&&console.log("dslc_module_width_set");var c="dslc-"+b+"-col";a.removeClass("dslc-1-col dslc-2-col dslc-3-col dslc-4-col dslc-5-col dslc-6-col dslc-7-col dslc-8-col dslc-9-col dslc-10-col dslc-11-col dslc-12-col").addClass(c).data("dslc-module-size",b).addClass("dslca-module-being-edited"),
2
  jQuery('.dslca-module-option-front[data-id="dslc_m_size"]',a).val(b),dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited")})}function dslc_module_options_show(a){dslcDebug&&console.log("dslc_module_options_show");var b=jQuery(".dslca-module-being-edited"),c=jQuery(".dslca-module-options-front textarea",b),d=jQuery(".dslca-header").data("default-section"),e={};e.action="dslc-ajax-display-module-options",e.dslc="active",e.dslc_module_id=a,e.dslc_post_id=jQuery(".dslca-container").data("data-post-id"),c.each(function(){var a=jQuery(this),b=a.data("id"),c=a.val();e[b]=c}),jQuery(".dslca-wp-editor-actions").hide(),jQuery(".dslca-wp-editor-notification").show(),jQuery.post(DSLCAjax.ajaxurl,e,function(a){jQuery(".dslca-save-composer-hook").css({visibility:"hidden"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"hidden"}),dslc_show_section(".dslca-module-edit"),jQuery("body").hasClass("rtl")?jQuery(".dslca-module-edit-options-inner").html(a.output):jQuery(".dslca-module-edit-options-inner .jspPane").html(a.output),jQuery(".dslca-module-edit-options-tabs").html(a.output_tabs),jQuery(".dslca-header .dslca-options-filter-hook").show(),jQuery('.dslca-module-edit-option[data-section="'+d+'"]').length?(jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+d+'"]').show(),jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+d+'"]').trigger("click")):(jQuery(".dslca-header .dslca-options-filter-hook:first").hide(),jQuery(".dslca-header .dslca-options-filter-hook:first").next(".dslca-options-filter-hook").trigger("click")),jQuery(".dslca-module-edit-actions").show(),jQuery(".dslca-wp-editor-notification").hide(),jQuery(".dslca-wp-editor-actions").show(),jQuery(".dslca-header .dslca-go-to-section-hook").hide(),jQuery(".dslca-row-edit-actions").hide(),dslc_module_options_color(),dslc_modules_options_box_shadow_color(),dslc_modules_options_text_shadow_color(),dslc_module_options_numeric();var b=jQuery(".dslca-module-options-front",".dslca-module-being-edited").children().clone();jQuery(".dslca-module-options-front-backup").html("").append(b)})}function dslc_module_options_scrollbar(){dslcDebug&&console.log("dslc_module_options_scrollbar");var a=0;if(jQuery(".dslca-module-edit-option:visible").each(function(){a+=jQuery(this).outerWidth(!0)+1}),a>jQuery(".dslca-module-edit-options").width()?jQuery(".dslca-module-edit-options-wrapper").width(a):jQuery(".dslca-module-edit-options-wrapper").width("auto"),!jQuery("body").hasClass("rtl")&&jQuery(".dslca-module-edit-options-inner").data("jsp")){var b=jQuery(".dslca-module-edit-options-inner").data("jsp");b.reinitialise()}}function dslc_module_options_section_filter(a){dslcDebug&&console.log("dslc_module_options_section_filter"),jQuery(".dslca-module-edit-option").hide(),jQuery('.dslca-module-edit-option[data-section="'+a+'"]').show(),dslc_module_options_tab_filter()}function dslc_module_options_tab_filter(a){dslcDebug&&console.log("dslc_module_options_tab_filter");var b=jQuery(".dslca-options-filter-hook.dslca-active").data("section");a="undefined"!=typeof a?a:jQuery('.dslca-module-edit-options-tab-hook[data-section="'+b+'"]:first');var c=a.data("id");jQuery(".dslca-module-edit-options-tab-hook").removeClass("dslca-active"),a.addClass("dslca-active"),jQuery(".dslca-module-edit-options-tabs").show(),jQuery(".dslca-module-edit-options-tab-hook").hide(),jQuery('.dslca-module-edit-options-tab-hook[data-section="'+b+'"]').show(),c&&(jQuery(".dslca-module-edit-option").hide(),jQuery('.dslca-module-edit-option[data-tab="'+c+'"]').show(),dslc_module_options_scrollbar(),dslc_module_options_hideshow_tabs(),jQuery(".dslca-module-edit-options-tab-hook:visible").length<2?jQuery(".dslca-module-edit-options-tabs").hide():jQuery(".dslca-module-edit-options-tabs").show(),c==DSLCString.str_res_tablet+"_responsive"&&(jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet"),jQuery("body").addClass("dslc-res-tablet")),c==DSLCString.str_res_phone+"_responsive"&&(jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet"),jQuery("body").addClass("dslc-res-phone")),(c==DSLCString.str_res_tablet+"_responsive"||c==DSLCString.str_res_phone+"_responsive")&&(jQuery(".dslca-container-loader").show(),dslc_module_output_altered(function(){jQuery(".dslca-container-loader").hide()})))}function dslc_module_options_hideshow_tabs(){dslcDebug&&console.log("dslc_module_options_hideshow_tabs");var a=jQuery(".dslca-options-filter-hook.dslca-active").data("section");if("styling"==a){var c=(jQuery(".dslca-module-edit"),!0),d=!0,e=!0,f=!0,g=!0,h=!0,i=!0,j=!0,k=!0,l=!0,m=!0,n=!0,o=!0,p=!0,q=!0,r=!0,s=!0,t=!0,u=!0,v=!0,w=!0,x=!0,y=!0,z=!0,A=!0;jQuery('.dslca-module-edit-field[value="main_heading"]').is(":checked")||(c=!1),jQuery('.dslca-module-edit-field[value="filters"]').is(":checked")||(d=!1),jQuery('.dslca-module-edit-field[value="arrows"]').is(":checked")||(e=!1),jQuery('.dslca-module-edit-field[value="circles"]').is(":checked")||(f=!1),"carousel"!=jQuery('.dslca-module-edit-field[data-id="type"]').val()&&(e=!1,f=!1),"disabled"==jQuery('.dslca-module-edit-field[data-id="pagination_type"]').val()&&(g=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="thumbnail"]').is(":checked")||(h=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="title"]').is(":checked")&&(i=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="excerpt"]').is(":checked")||(j=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="meta"]').is(":checked")||(k=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="button"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="button"]').is(":checked")&&(l=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="categories"]').is(":checked")||(m=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="separator"]').is(":checked")||(o=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="count"]').is(":checked")||(n=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="tags"]').is(":checked")||(p=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="social"]').is(":checked")||(q=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="position"]').is(":checked")||(r=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').is(":checked")&&(s=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').is(":checked")&&(t=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="price"]').is(":checked")||(u=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="price_2"]').is(":checked")||(v=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="addtocart"]').is(":checked")||(w=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="details"]').is(":checked")||(x=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="quote"]').is(":checked")||(y=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_name"]').is(":checked")||(z=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_position"]').is(":checked")||(A=!1),c?jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').hide(),d?jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').hide(),e?jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_arrows_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_arrows_styling"]').hide(),f?jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_circles_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_circles_styling"]').hide(),g?jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').hide(),h?jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').hide(),i?jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').hide(),j?jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').hide(),k?jQuery('.dslca-module-edit-options-tab-hook[data-id="meta_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="meta_styling"]').hide(),l?jQuery('.dslca-module-edit-options-tab-hook[data-id="button_styling"], .dslca-module-edit-options-tab-hook[data-id="primary_button_styling"], .dslca-module-edit-options-tab-hook[data-id="secondary_button_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="button_styling"], .dslca-module-edit-options-tab-hook[data-id="primary_button_styling"], .dslca-module-edit-options-tab-hook[data-id="secondary_button_styling"]').hide(),m?jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').hide(),o?jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').hide(),n?jQuery('.dslca-module-edit-options-tab-hook[data-id="count_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="count_styling"]').hide(),p?jQuery('.dslca-module-edit-options-tab-hook[data-id="tags_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="tags_styling"]').hide(),r?jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').hide(),q?jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').hide(),s?jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').hide(),t?jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').hide(),u?jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').hide(),v?jQuery('.dslca-module-edit-options-tab-hook[data-id="price_secondary_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="price_secondary_styling"]').hide(),w||x?jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').hide(),y?jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').hide(),z?jQuery('.dslca-module-edit-options-tab-hook[data-id="author_name_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="author_name_styling"]').hide(),A?jQuery('.dslca-module-edit-options-tab-hook[data-id="author_position_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="author_position_styling"]').hide()}if(jQuery('.dslca-options-filter-hook[data-section="styling"]').hasClass("dslca-active")){if("DSLC_Text_Simple"==jQuery(".dslca-module-being-edited").data("dslc-module-id")||"DSLC_TP_Content"==jQuery(".dslca-module-being-edited").data("dslc-module-id")||"DSLC_Html"==jQuery(".dslca-module-being-edited").data("dslc-module-id")){var B=jQuery('.dslca-module-edit-option[data-id="css_custom"]'),C=B.find("select").val();"enabled"==C?(jQuery('.dslca-module-edit-option[data-section="styling"]').css({visibility:"visible"}),jQuery(".dslca-module-edit-options-tabs").show()):(jQuery('.dslca-module-edit-option[data-section="styling"]').css({visibility:"hidden"}),jQuery(".dslca-module-edit-options-tabs").hide(),B.css({visibility:"visible"}))}}else jQuery(".dslca-module-edit-options-tabs").show();"disabled"==jQuery('select.dslca-module-edit-field[data-id="css_res_t"]').val()?jQuery('.dslca-module-edit-option[data-id*="css_res_t"]').css("visibility","hidden"):jQuery('.dslca-module-edit-option[data-id*="css_res_t"]').css("visibility","visible"),"disabled"==jQuery('select.dslca-module-edit-field[data-id="css_res_p"]').val()?jQuery('.dslca-module-edit-option[data-id*="css_res_p"]').css("visibility","hidden"):jQuery('.dslca-module-edit-option[data-id*="css_res_p"]').css("visibility","visible"),jQuery('.dslca-module-edit-option[data-id="css_res_p"], .dslca-module-edit-option[data-id="css_res_t"]').css("visibility","visible")}function dslc_module_options_confirm_changes(a){dslcDebug&&console.log("dslc_module_options_confirm_changes"),a="undefined"!=typeof a?a:!1,jQuery(".dslca-module-being-edited").hasClass("dslc-module-DSLC_Sliders")?jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"):(jQuery("body").addClass("dslca-module-saving-in-progress"),dslc_module_output_altered(function(){dslc_update_preset(),jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),jQuery("body").removeClass("dslca-module-saving-in-progress"),jQuery("body").hasClass("rtl")?jQuery(".dslca-module-edit-options-inner").html(""):jQuery(".dslca-module-edit-options-inner .jspPane").html(""),jQuery(".dslca-module-edit-options-tabs").html(""),a&&a()})),dslc_show_section(".dslca-modules"),jQuery(".dslca-header .dslca-options-filter-hook").hide(),jQuery(".dslca-module-edit-actions").hide(),jQuery(".dslca-header .dslca-go-to-section-hook").show(),jQuery(".dslca-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"})}function dslc_module_options_cancel_changes(a){dslcDebug&&console.log("dslc_module_options_cancel_changes"),a="undefined"!=typeof a?a:!1;var b=jQuery(".dslca-module-being-edited"),c=jQuery(".dslca-module-options-front-backup").children().clone();jQuery(".dslca-module-options-front",b).html("").append(c),dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),jQuery("body").hasClass("rtl")?jQuery(".dslca-module-edit-options-inner").html(""):jQuery(".dslca-module-edit-options-inner .jspPane").html(""),jQuery(".dslca-module-edit-options-tabs").html(""),a&&a()}),dslc_show_section(".dslca-modules"),jQuery(".dslca-header .dslca-options-filter-hook").hide(),jQuery(".dslca-module-edit-actions").hide(),jQuery(".dslca-header .dslca-go-to-section-hook").show(),jQuery(".dslca-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"})}function dslc_module_options_tooltip(){jQuery(document).on("click",".dslca-module-edit-field-ttip-close",function(){jQuery(".dslca-module-edit-field-ttip, .dslca-module-edit-field-icon-ttip").hide()}),jQuery(document).on("click",".dslca-module-edit-field-ttip-hook",function(){var a=jQuery(".dslca-module-edit-field-ttip"),b=a.find(".dslca-module-edit-field-ttip-inner"),c=jQuery(this),d=c.closest(".dslca-module-edit-option").find(".dslca-module-edit-field-ttip-content").html();if(a.is(":visible"))jQuery(".dslca-module-edit-field-ttip").hide();else{b.html(d);var e=c.offset(),f=a.outerHeight(),g=a.outerWidth(),h=e.left-g/2+6,i="50%";0>h&&(i=g/2+h+"px",h=0),jQuery(".dslca-module-edit-field-ttip").show().css({top:e.top-f-20,left:h}),jQuery("head").append(jQuery("<style>.dslca-module-edit-field-ttip:after, .dslca-module-edit-field-ttip:before { left: "+i+" }</style>"))}}),jQuery(document).on("click",".dslca-module-edit-field-icon-ttip-hook",function(){var a=jQuery(".dslca-module-edit-field-icon-ttip"),b=jQuery(this);if(a.is(":visible"))jQuery(".dslca-module-edit-field-icon-ttip").hide();else{var c=b.offset(),d=a.outerHeight(),e=a.outerWidth(),f=c.left-e/2+6,g="50%";0>f&&(g=e/2+f+"px",f=0),jQuery(".dslca-module-edit-field-icon-ttip").show().css({top:c.top-d-20,left:f}),jQuery("head").append(jQuery("<style>.dslca-module-edit-field-icon-ttip:after, .dslca-module-edit-field-icon-ttip:before { left: "+g+" }</style>"))}})}function dslc_module_options_font(){jQuery(document).on("click",".dslca-module-edit-field-font-next",function(a){if(a.preventDefault(),!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var b=jQuery(this).closest(".dslca-module-edit-option-font"),c=jQuery(".dslca-module-edit-field-font",b),d=dslcAllFontsArray.indexOf(c.val()),e=d+1;jQuery(".dslca-module-edit-field-font-suggest",b).text(""),c.val(dslcAllFontsArray[e]).trigger("change"),jQuery(this).addClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-chevron-right").addClass("dslc-icon-refresh dslc-icon-spin")}}),jQuery(document).on("click",".dslca-module-edit-field-font-prev",function(a){if(a.preventDefault(),!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var b=jQuery(this).closest(".dslca-module-edit-option-font"),c=jQuery(".dslca-module-edit-field-font",b),d=dslcAllFontsArray.indexOf(c.val()),e=d-1;jQuery(".dslca-module-edit-field-font-suggest",b).text(""),0>e&&(e=dslcAllFontsArray.length-1),c.val(dslcAllFontsArray[e]).trigger("change"),jQuery(this).addClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-chevron-left").addClass("dslc-icon-refresh dslc-icon-spin")}}),jQuery(document).on("keyup",".dslca-module-edit-field-font",function(a){var b,c,d,f,e=!1;if(b=jQuery(this),c=b.closest(".dslca-module-edit-option"),38==a.which&&jQuery(".dslca-module-edit-field-font-prev",c).click(),40==a.which&&jQuery(".dslca-module-edit-field-font-next",c).click(),13!=a.which&&38!=a.which&&40!=a.which){d=b.val();var h=new RegExp("^"+d,"i"),i=dslcAllFontsArray.length,j=0;do{if(h.test(dslcAllFontsArray[j])&&!e)var e=dslcAllFontsArray[j];j++}while(i>j);e?(f=e,jQuery(".dslca-module-edit-field-font-suggest",c).show()):(f=d,jQuery(".dslca-module-edit-field-font-suggest",c).hide()),jQuery(".dslca-module-edit-field-font-suggest",c).text(f),f.length&&b.val(f.substring(0,b.val().length))}}),jQuery(document).on("keypress",".dslca-module-edit-field-font",function(a){if(13==a.which){a.preventDefault();var b,c;b=jQuery(this),c=b.closest(".dslca-module-edit-option"),jQuery(this).val(jQuery(".dslca-module-edit-field-font-suggest",c).text()).trigger("change"),jQuery(".dslca-module-edit-field-font-suggest",c).text("")}})}function dslc_list_icon(a,b){var c=jQuery(a).closest(".dslca-module-edit-option-icon"),d=jQuery(".dslca-module-edit-field-icon",c),e=dslcIconsCurrentSet.indexOf(d.val());if("previous"==b)var f=e-1;else var f=e+1;jQuery(".dslca-module-edit-field-icon-suggest",c).text(""),0>f&&(f=dslcIconsCurrentSet.length-1),d.val(dslcIconsCurrentSet[f]).trigger("change")}function dslc_module_options_icon(){jQuery(document).on("keyup",".dslca-module-edit-field-icon",function(a){var b,c,d,e,f;b=jQuery(this),c=b.closest(".dslca-module-edit-option"),38==a.which&&dslc_list_icon(b,"previous"),40==a.which&&dslc_list_icon(b,"next"),13!=a.which&&38!=a.which&&40!=a.which&&(d=b.val().toLowerCase(),b.val(d),e=jQuery.grep(dslcIconsCurrentSet,function(a,b){return 0==a.indexOf(d)}),f=e[0],jQuery(".dslca-module-edit-field-icon-suggest",c).text(f))}),jQuery(document).on("keypress",".dslca-module-edit-field-icon",function(a){if(13==a.which){a.preventDefault();var b,c;b=jQuery(this),c=b.closest(".dslca-module-edit-option"),jQuery(this).val(jQuery(".dslca-module-edit-field-icon-suggest",c).text()).trigger("change"),jQuery(".dslca-module-edit-field-icon-suggest",c).text("")}})}function dslc_module_options_icon_returnid(){jQuery(document).on("click",'.dslca-open-modal-hook[data-modal^=".dslc-list-icons"]',function(a){jQuery(this).closest(".dslca-module-edit-option-icon").find("input").addClass("icon-modal-active")}),jQuery(document).on("click",".dslca-modal-icons .icon-item",function(a){var b=jQuery(this).find(".icon-item_name").text();jQuery("input.icon-modal-active").val(b).change(),dslc_hide_modal("",jQuery(".dslca-modal:visible"))})}function dslc_module_options_text_align(){jQuery(document).on("click",".dslca-module-edit-option-text-align-hook",function(){var a=jQuery(this),b=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").find(".dslca-module-edit-option-text-align-hook"),c=a.data("val"),d=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").siblings("input.dslca-module-edit-field");b.removeClass("dslca-active"),a.addClass("dslca-active"),d.val(c).trigger("change")})}function dslc_module_options_checkbox(){jQuery(document).on("click",".dslca-module-edit-option-checkbox-hook, .dslca-modules-section-edit-option-checkbox-hook",function(){var a=jQuery(this),b=a.siblings('input[type="checkbox"]');b.prop("checked")?(b.prop("checked",!1),a.find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")):(b.prop("checked",!0),a.find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")),b.change()})}function dslc_module_options_box_shadow(){dslcDebug&&console.log("dslc_module_options_box_shadow"),jQuery(document).on("change",".dslca-module-edit-option-box-shadow-hor, .dslca-module-edit-option-box-shadow-ver, .dslca-module-edit-option-box-shadow-blur, .dslca-module-edit-option-box-shadow-spread, .dslca-module-edit-option-box-shadow-color, .dslca-module-edit-option-box-shadow-inset",function(){var a=jQuery(this).closest(".dslca-module-edit-option"),b=a.find(".dslca-module-edit-field"),c=a.find(".dslca-module-edit-option-box-shadow-hor").val(),d=a.find(".dslca-module-edit-option-box-shadow-ver").val(),e=a.find(".dslca-module-edit-option-box-shadow-blur").val(),f=a.find(".dslca-module-edit-option-box-shadow-spread").val(),g=a.find(".dslca-module-edit-option-box-shadow-color").val(),h=a.find(".dslca-module-edit-option-box-shadow-inset").is(":checked");h=h?" inset":"";var i=c+"px "+d+"px "+e+"px "+f+"px "+g+h;b.val(i).trigger("change")})}function dslc_modules_options_box_shadow_color(){var b,c,a=[];if(a[0]=[],a[1]=[],a[2]=[],a[3]=[],void 0==localStorage.dslcColorpickerPalleteStorage);else for(b=JSON.parse(localStorage.dslcColorpickerPalleteStorage),c=0;c<b.length;c++){var d=Math.floor(c/3);4>d&&a[d].push(b[c])}jQuery(".dslca-module-edit-option-box-shadow-color").each(function(){var d,e,b=jQuery(this),c=b.val();jQuery(this).spectrum({color:c,showInput:!0,allowEmpty:!0,showAlpha:!0,clickoutFiresChange:!0,cancelText:"",chooseText:"",preferredFormat:"rgb",showPalette:!0,palette:a,move:function(a){d=jQuery(this),e=null==a?"transparent":a.toRgbString().replace(/ /g,""),d.val(e).trigger("change")},change:function(a){if(d=jQuery(this),e=null==a?"transparent":a.toRgbString().replace(/ /g,""),d.val(e).trigger("change"),void 0==localStorage.dslcColorpickerPalleteStorage){var b=[e];localStorage.dslcColorpickerPalleteStorage=JSON.stringify(b)}else{var b=JSON.parse(localStorage.dslcColorpickerPalleteStorage);-1==b.indexOf(e)&&b.unshift(e),localStorage.dslcColorpickerPalleteStorage=JSON.stringify(b)}},show:function(a){jQuery("body").addClass("dslca-disable-selection")},hide:function(){jQuery("body").removeClass("dslca-disable-selection")}})})}function dslc_module_options_text_shadow(){dslcDebug&&console.log("dslc_module_options_text_shadow"),jQuery(document).on("change",".dslca-module-edit-option-text-shadow-hor, .dslca-module-edit-option-text-shadow-ver, .dslca-module-edit-option-text-shadow-blur, .dslca-module-edit-option-text-shadow-color",function(){var a=jQuery(this).closest(".dslca-module-edit-option"),b=a.find(".dslca-module-edit-field"),c=a.find(".dslca-module-edit-option-text-shadow-hor").val(),d=a.find(".dslca-module-edit-option-text-shadow-ver").val(),e=a.find(".dslca-module-edit-option-text-shadow-blur").val(),f=a.find(".dslca-module-edit-option-text-shadow-color").val(),g=c+"px "+d+"px "+e+"px "+f;b.val(g).trigger("change")})}function dslc_modules_options_text_shadow_color(){jQuery(".dslca-module-edit-option-text-shadow-color").each(function(){var c,d,a=jQuery(this),b=a.val();jQuery(this).spectrum({color:b,showInput:!0,allowEmpty:!0,showAlpha:!0,clickoutFiresChange:!0,cancelText:"",chooseText:"",preferredFormat:"rgb",move:function(a){c=jQuery(this),d=null==a?"transparent":a.toRgbString().replace(/ /g,""),c.val(d).trigger("change")},change:function(a){c=jQuery(this),d=null==a?"transparent":a.toRgbString().replace(/ /g,""),c.val(d).trigger("change")},show:function(a){jQuery("body").addClass("dslca-disable-selection")},hide:function(){jQuery("body").removeClass("dslca-disable-selection")}})})}function dslc_module_options_color(){dslcDebug&&console.log("dslc_module_options_color");var a,b,c,d,e,f,g,i,j,h=[];if(h[0]=[],h[1]=[],h[2]=[],h[3]=[],void 0==localStorage.dslcColorpickerPalleteStorage);else for(i=JSON.parse(localStorage.dslcColorpickerPalleteStorage),j=0;j<i.length;j++){var k=Math.floor(j/3);4>k&&h[k].push(i[j])}jQuery(".dslca-module-edit-field-colorpicker").each(function(){g=jQuery(this).val(),jQuery(this).spectrum({color:g,showInput:!0,allowEmpty:!0,showAlpha:!0,clickoutFiresChange:!0,cancelText:"",chooseText:"",preferredFormat:"rgb",showPalette:!0,palette:h,move:function(g){a=jQuery(this),d=null==g?"transparent":g.toRgbString(),a.val(d),b=a.data("affect-on-change-el"),c=a.data("affect-on-change-rule"),jQuery(b,".dslca-module-being-edited").css(c,d),e=jQuery(".dslca-module-being-edited"),f=a.data("id"),jQuery('.dslca-module-option-front[data-id="'+f+'"]',e).val(d),e.addClass("dslca-module-change-made")},change:function(g){if(a=jQuery(this),d=null==g?"transparent":g.toRgbString(),a.val(d),b=a.data("affect-on-change-el"),c=a.data("affect-on-change-rule"),jQuery(b,".dslca-module-being-edited").css(c,d),e=jQuery(".dslca-module-being-edited"),f=a.data("id"),jQuery('.dslca-module-option-front[data-id="'+f+'"]',e).val(d),e.addClass("dslca-module-change-made"),void 0==localStorage.dslcColorpickerPalleteStorage){var h=[d];localStorage.dslcColorpickerPalleteStorage=JSON.stringify(h)}else{var h=JSON.parse(localStorage.dslcColorpickerPalleteStorage);-1==h.indexOf(d)&&h.unshift(d),localStorage.dslcColorpickerPalleteStorage=JSON.stringify(h)}},show:function(a){jQuery("body").addClass("dslca-disable-selection")},hide:function(){jQuery("body").removeClass("dslca-disable-selection")}})}),jQuery(".dslca-sp-revert").click(function(){var a=jQuery(".sp-replacer.sp-active").closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("default");jQuery(this).closest(".sp-container").find(".sp-input").val(a).trigger("change")})}function dslc_module_options_numeric(){dslcDebug&&console.log("dslc_module_options_numeric"),jQuery(".dslca-module-edit-field-slider").each(function(){var a,c,d,e,f,g,h,j,k,l,m;a=jQuery(this),c=a.siblings(".dslca-module-edit-field"),g=a.closest(".dslca-module-edit-option-slider").find(".dslca-module-edit-field-slider-tooltip"),a.slider({min:c.data("min"),max:c.data("max"),step:c.data("increment"),value:c.val(),slide:function(b,i){l=c.data("ext"),d=i.value+l,c.val(d),f=c.data("affect-on-change-el"),e=c.data("affect-on-change-rule").replace(/ /g,""),m=e.split(",");for(var n=0;n<m.length;n++)jQuery(f,".dslca-module-being-edited").css(m[n],d);j=jQuery(".dslca-module-being-edited"),k=c.data("id"),jQuery('.dslca-module-option-front[data-id="'+k+'"]',j).val(i.value),j.addClass("dslca-module-change-made"),g.text(d);var o=a.find(".ui-slider-handle");h=o[0].style.left,g.css({left:h}),dslc_masonry(j),dslc_init_square(),dslc_center(),dslc_init_square(j)},stop:function(a,b){g.hide()},start:function(a,b){g.show(),g.text(d),h=b.handle.style.left,g.css({left:h})}})})}function dslc_module_output_default(a,b){dslcDebug&&console.log("dslc_module_output_default"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-module",dslc:"active",dslc_module_id:a,dslc_post_id:jQuery(".dslca-container").data("post-id")},function(a){b(a)})}function dslc_module_output_altered(a){dslcDebug&&console.log("dslc_module_output_altered"),a="undefined"!=typeof a?a:!1;var b=jQuery(".dslca-module-being-edited"),c=b.data("dslc-module-id"),d=jQuery(".dslca-module-options-front textarea",b),e=b.data("module-id"),f={};f.action="dslc-ajax-add-module",f.dslc="active",f.dslc_module_id=c,f.dslc_module_instance_id=e,f.dslc_post_id=jQuery(".dslca-container").data("post-id"),b.hasClass("dslca-preload-preset")?f.dslc_preload_preset="enabled":f.dslc_preload_preset="disabled",b.removeClass("dslca-preload-preset"),d.each(function(){var a=jQuery(this),b=a.data("id"),c=a.val();f[b]=c}),jQuery.post(DSLCAjax.ajaxurl,f,function(c){b.after(c.output).next().addClass("dslca-module-being-edited"),b.remove(),dslc_generate_code(),dslc_show_publish_button(),dslc_carousel(),dslc_masonry(jQuery(".dslca-module-being-edited")),jQuery(".dslca-module-being-edited img").load(function(){dslc_masonry(jQuery(".dslca-module-being-edited")),dslc_center()}),dslc_tabs(),dslc_init_accordion(),dslc_init_square(),dslc_center(),a&&a(c)})}function dslc_module_output_reload(a,b){dslcDebug&&console.log("dslc_module_output_reload"),b="undefined"!=typeof b?b:!1;var c=a.data("dslc-module-id"),d=jQuery(".dslca-module-options-front textarea",a),e=a.data("module-id"),f={};f.action="dslc-ajax-add-module",f.dslc="active",f.dslc_module_id=c,f.dslc_module_instance_id=e,f.dslc_post_id=jQuery(".dslca-container").data("post-id"),f.dslc_preload_preset="enabled",a.removeClass("dslca-preload-preset"),d.each(function(){var a=jQuery(this),b=a.data("id"),c=a.val();f[b]=c}),a.append('<div class="dslca-module-reloading"><span class="dslca-icon dslc-icon-spin dslc-icon-refresh"></span></div>'),jQuery.post(DSLCAjax.ajaxurl,f,function(c){a.after(c.output).next().addClass("dslca-module-being-edited"),a.remove(),dslc_generate_code(),dslc_show_publish_button(),dslc_carousel(),dslc_masonry(jQuery(".dslca-module-being-edited")),jQuery(".dslca-module-being-edited img").load(function(){dslc_masonry(jQuery(".dslca-module-being-edited")),dslc_center()}),dslc_tabs(),dslc_init_accordion(),dslc_init_square(),dslc_center(),b&&b(c),jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited")})}function dslc_delete_module(a){dslc_module_delete(a)}function dslc_copy_module(a){dslc_module_copy(a)}function dslc_display_module_options(a){dslc_module_options_show(a)}function dslc_filter_module_options(a){dslc_module_options_section_filter(a)}function dslc_show_module_options_tab(a){dslc_module_options_tab_filter(a)}function dslc_confirm_changes(a){dslc_module_options_confirm_changes(a)}function dslc_cancel_changes(a){dslc_module_options_cancel_changes(a)}function dslc_init_colorpicker(){dslc_module_options_color()}function dslc_init_options_slider(){dslc_module_options_numeric()}function dslc_init_options_scrollbar(){dslc_module_options_scrollbar()}function dslc_module_edit_options_hideshow_tabs(){dslc_module_options_hideshow_tabs()}function dslc_get_module_output(a,b){dslc_module_output_default(a,b)}function dslc_preview_change(a){dslc_module_output_altered(a)}function dslc_reload_module(a,b){dslc_module_output_reload(a,b)}function dslc_template_load(a){dslcDebug&&console.log("dslc_load_template");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-load-template",dslc:"active",dslc_template_id:a},function(a){jQuery("#dslc-main").html(a.output),dslc_carousel(),dslc_drag_and_drop(),dslc_show_publish_button(),dslc_generate_code()})}function dslc_template_import(){dslcDebug&&console.log("dslc_import_template");jQuery(".dslca-modal-templates-import .dslca-modal-title").css({
3
- opacity:0}),jQuery(".dslca-modal-templates-import .dslca-loading").show(),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-import-template",dslc:"active",dslc_template_code:jQuery("#dslca-import-code").val()},function(a){jQuery("#dslc-main").html(a.output),jQuery(".dslca-modal-templates-import .dslca-loading").hide(),jQuery(".dslca-modal-templates-import .dslca-modal-title").css({opacity:1}),dslc_hide_modal("",".dslca-modal-templates-import"),dslc_bg_video(),dslc_center(),dslc_drag_and_drop(),dslc_show_publish_button(),dslc_generate_code()})}function dslc_template_save(){dslcDebug&&console.log("dslc_save_template"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-template",dslc:"active",dslc_template_code:jQuery("#dslca-code").val(),dslc_template_title:jQuery("#dslca-save-template-title").val()},function(a){dslc_hide_modal("",".dslca-modal-templates-save")})}function dslc_template_delete(a){dslcDebug&&console.log("dslc_delete_template"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-delete-template",dslc:"active",dslc_template_id:a},function(b){jQuery('.dslca-template[data-id="'+a+'"]').fadeOut(200,function(){jQuery(this).remove()})})}function dslc_load_template(a){dslc_template_load(a)}function dslc_import_template(){dslc_template_import()}function dslc_save_template(){dslc_template_save()}function dslc_delete_template(a){dslc_template_delete(a)}function dslc_save_composer(){dslcDebug&&console.log("dslc_save_composer");var a=jQuery("#dslca-code").val(),b=jQuery("#dslca-content-for-search").val(),c=jQuery(".dslca-container").data("post-id");jQuery("body").addClass("dslca-saving-in-progress"),jQuery(".dslca-save-composer .dslca-icon").removeClass("dslc-icon-ok").addClass("dslc-icon-spin dslc-icon-spinner"),jQuery.ajax({method:"POST",type:"POST",url:DSLCAjax.ajaxurl,data:{action:"dslc-ajax-save-composer",dslc:"active",dslc_post_id:c,dslc_code:a,dslc_content_for_search:b},timeout:1e4}).done(function(a){"success"==a.status?(jQuery(".dslca-save-composer").fadeOut(250),jQuery(".dslca-save-draft-composer").fadeOut(250)):alert("Something went wrong, please try to save again.")}).fail(function(a){"timeout"==a.statusText?alert("The request timed out after 10 seconds. Please try again."):alert("Something went wrong. Please try again.")}).always(function(a){jQuery(".dslca-save-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-ok"),jQuery("body").removeClass("dslca-saving-in-progress")})}function dslc_save_draft_composer(){dslcDebug&&console.log("dslc_save_draft_composer");var a=jQuery("#dslca-code").val(),b=jQuery(".dslca-container").data("post-id");jQuery("body").addClass("dslca-saving-in-progress"),jQuery(".dslca-save-draft-composer .dslca-icon").removeClass("dslc-icon-ok").addClass("dslc-icon-spin dslc-icon-spinner"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-draft-composer",dslc:"active",dslc_post_id:b,dslc_code:a},function(a){jQuery(".dslca-save-draft-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-save"),"success"==a.status?jQuery(".dslca-save-draft-composer").fadeOut(250):alert("Something went wrong, please try to save again."),jQuery("body").removeClass("dslca-saving-in-progress")})}function dslc_generate_code(){dslcDebug&&console.log("dslc_generate_code");var a,b,h,i,j,k,l,c="",d=12,e=12,f=0,g=0,m="";jQuery("#dslc-main .dslc-modules-area").each(function(){jQuery(".dslc-module-front",this).length?(jQuery(this).removeClass("dslc-modules-area-empty").addClass("dslc-modules-area-not-empty"),jQuery(".dslca-no-content",this).hide()):(jQuery(this).removeClass("dslc-modules-area-not-empty").addClass("dslc-modules-area-empty"),jQuery(".dslca-no-content:not(:visible)",this).show().css({"-webkit-animation-name":"dslcBounceIn","-moz-animation-name":"dslcBounceIn","animation-name":"dslcBounceIn","animation-duration":"0.6s","-webkit-animation-duration":"0.6s",padding:0}).animate({padding:"35px 0"},300))}),jQuery("#dslc-main .dslc-modules-section").each(function(){jQuery(".dslc-modules-area",this).length?jQuery(this).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty"):jQuery(this).removeClass("dslc-modules-section-not-empty").addClass("dslc-modules-section-empty")}),jQuery("#dslc-main .dslc-modules-area.dslc-last-col, .dslc-modules-area.dslc-first-col").removeClass("dslc-last-col dslc-first-col"),jQuery("#dslc-main .dslc-module-front.dslc-last-col, .dslc-module-front.dslc-first-col").removeClass("dslc-last-col dslc-first-col"),jQuery("#dslc-main .dslc-modules-section").each(function(){g=0,l=jQuery(this),m="",jQuery(".dslca-modules-section-settings input",l).each(function(){m=m+jQuery(this).data("id")+'="'+jQuery(this).val()+'" '}),c=c+"[dslc_modules_section "+m+"] ",jQuery(".dslc-modules-area",l).each(function(){i=jQuery(this),h=parseInt(i.data("size")),j="no",k="no",g+=h,g==e?(jQuery(this).addClass("dslc-last-col").next(".dslc-modules-area").addClass("dslc-first-col"),g=0,j="yes"):g>e&&(jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"),g=h,k="yes"),g==h&&(k="yes"),c=c+'[dslc_modules_area last="'+j+'" first="'+k+'" size="'+h+'"] ',jQuery(".dslc-module-front",i).each(function(){b=parseInt(jQuery(this).data("dslc-module-size"));var e="no",g="no";f+=b,f==d?(jQuery(this).addClass("dslc-last-col").next(".dslc-module-front").addClass("dslc-first-col"),f=0,e="yes"):f>d&&(jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"),f=b,g="yes"),f==d&&(g="yes",jQuery(this).addClass("dslc-last-col").next(".dslc-module-front").addClass("dslc-first-col"),f=0),a=jQuery(this).find(".dslca-module-code").val(),c=c+'[dslc_module last="'+e+'"]'+a+"[/dslc_module] "}),c+="[/dslc_modules_area] "}),c+="[/dslc_modules_section] "}),jQuery("#dslca-code").val(c),jQuery("#dslca-export-code").val(c),dslca_gen_content_for_search()}function dslc_generate_section_code(a){dslcDebug&&console.log("dslc_generate_section_code");var b,c,i,j,k,l,m,d="",f=12,g=0,h=0,n="";h=0;var m=a;return jQuery(".dslca-modules-section-settings input",m).each(function(){n=n+jQuery(this).data("id")+'="'+jQuery(this).val()+'" '}),d=d+"[dslc_modules_section "+n+"] ",jQuery(".dslc-modules-area",m).each(function(){j=jQuery(this),i=parseInt(j.data("size")),k="no",l="no",h+=i,h==f?(jQuery(this).addClass("dslc-last-col").next(".dslc-modules-area").addClass("dslc-first-col"),h=0,k="yes"):h>f&&(jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"),h=i,l="yes"),h==i&&(l="yes"),d=d+'[dslc_modules_area last="'+k+'" first="'+l+'" size="'+i+'"] ',jQuery(".dslc-module-front",j).each(function(){c=parseInt(jQuery(this).data("dslc-module-size")),g+=c,g==i&&(jQuery(this).addClass("dslc-last-col").next(".dslc-module-front").addClass("dslc-first-col"),g=0),b=jQuery(this).find(".dslca-module-code").val(),d=d+"[dslc_module]"+b+"[/dslc_module] "}),d+="[/dslc_modules_area] "}),d+="[/dslc_modules_section] "}function dslc_update_preset(){dslcDebug&&console.log("dslc_update_preset");var a=jQuery(".dslca-module-being-edited"),b=a.find('.dslca-module-option-front[data-id="css_load_preset"]').val(),c=a.find(".dslca-module-code").val(),d=a.data("dslc-module-id");"none"!==b&&jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-preset",dslc_preset_name:b,dslc_preset_code:c,dslc_module_id:d},function(b){jQuery(".dslc-module-front:not(#"+a.attr("id")+')[data-dslc-module-id="'+a.data("dslc-module-id")+'"][data-dslc-preset="'+a.data("dslc-preset")+'"]').each(function(){dslc_module_output_reload(jQuery(this))})})}function dslc_dm_get_defaults(a){dslcDebug&&console.log("dslc_dm_get_defaults");var b=a.find(".dslca-module-code").val();jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-dm-module-defaults",dslc:"active",dslc_modules_options:b},function(a){jQuery(".dslca-prompt-modal textarea").val(a.output)})}function dslca_gen_content_for_search(){dslcDebug&&console.log("dslca_gen_content_for_search");var a=document.getElementById("dslca-content-for-search"),b=a.value,c="",d=document.querySelectorAll("#dslc-main .dslc-module-front [data-exportable-content]");Array.prototype.forEach.call(d,function(a,b){var d;if(""!==a.getAttribute("data-exportable-content")){var e=a.getAttribute("data-exportable-content");d="<"+e+">"+a.innerHTML+"</"+e+">"}else d=a.innerHTML;null!==d&&(c+=d.replace(/\s+/g," ").trim()+"\n")}),a.value=c,b!==c&&dslc_show_publish_button()}function dslca_draggable_calc_center(a){dslcDebug&&console.log("dslca_draggable_calc_center"),jQuery(".dslc-modules-section-inner").sortable("option","cursorAt",{top:a.outerHeight()/2,left:a.outerWidth()/2})}function dslc_editable_content_gen_code(a){dslcDebug&&console.log("dslc_editable_content_gen_code");var b,c,d;b=a.closest(".dslc-module-front"),c=a.html().trim().replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea"),d=a.data("id"),jQuery('.dslca-module-option-front[data-id="'+d+'"]',b).val(c),dslc_show_publish_button()}var dslcRegularFontsArray=DSLCFonts.regular,dslcGoogleFontsArray=DSLCFonts.google,dslcAllFontsArray=dslcRegularFontsArray.concat(dslcGoogleFontsArray),dslcIconsCurrentSet=DSLCIcons.fontawesome,dslcDebug=!1;jQuery(document).ready(function(a){jQuery("body").hasClass("rtl")||jQuery(".dslca-module-edit-options-inner").jScrollPane(),a("body").addClass("dslca-enabled dslca-drag-not-in-progress"),a(".dslca-invisible-overlay").hide(),a(".dslca-section").eq(0).show(),dslc_drag_and_drop(),dslc_generate_code(),a(document).on("click",".dslca-currently-editing",function(){var d,b=!1,c=!1;a(".dslca-module-being-edited").length?(b=a(".dslca-module-being-edited"),d="#5890e5"):a(".dslca-modules-section-being-edited").length&&(b=a(".dslca-modules-section-being-edited"),d="#eabba9"),b&&(c=b.offset().top-100,0>c&&(c=0),a("html, body").animate({scrollTop:c},300,function(){b.animate({"outline-color":d},70,function(){b.animate({"outline-color":"transparent"},70,function(){b.animate({"outline-color":d},70,function(){b.animate({"outline-color":"transparent"},70,function(){b.removeAttr("style")})})})})}))}),a(document).on("click",".dslca-hide-composer-hook",function(){dslc_hide_composer()}),a(document).on("click",".dslca-show-composer-hook",function(){dslc_show_composer()}),a(document).on("click",".dslca-go-to-modules-hook",function(a){a.preventDefault(),dslc_show_section(".dslca-modules")}),a(document).on("click",".dslca-go-to-section-hook",function(b){b.preventDefault();var c=a(this).data("section");dslc_show_section(c),a(this).addClass("dslca-active").siblings(".dslca-go-to-section-hook").removeClass("dslca-active")}),a(document).on("click",".dslca-close-composer-hook",function(b){b.preventDefault(),a("body").hasClass("dslca-saving-in-progress")||dslc_js_confirm("disable_lc",'<span class="dslca-prompt-modal-title">'+DSLCString.str_exit_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_exit_descr+"</span>",a(this).attr("href"))}),a(document).on("click",".dslca-submit",function(){jQuery(this).closest("form").submit()}),a(document).on("click",".dslca-section-title",function(b){b.stopPropagation(),a(".dslca-section-title-filter",this).length&&(dslc_generate_filters(),a(".dslca-section-title-filter-options").slideToggle(300))}),a(document).on("click",".dslca-section-title-filter-options span",function(b){b.stopPropagation();var c=a(this).data("origin"),d=a(this).closest(".dslca-section");d.hasClass("dslca-templates-load")?a(".dslca-section-title-filter-curr",d).text(a(this).text()+" TEMPLATES"):a(".dslca-section-title-filter-curr",d).text(a(this).text()+" MODULES"),a(".dslca-section-scroller-inner").css({left:0}),dslc_filter_origin(c,d)})}),jQuery(document).ready(function(a){a(document).on("click",".dslca-section-scroller-prev",function(b){b.preventDefault(),dslc_scroller_prev(a(this).closest(".dslca-section").find(".dslca-section-scroller"))}),a(document).on("click",".dslca-section-scroller-next",function(b){b.preventDefault(),dslc_scroller_next(a(this).closest(".dslca-section").find(".dslca-section-scroller"))})}),jQuery(window).load(function(){dslc_scroller_init(),jQuery(window).resize(function(){dslc_scroller_init()})}),jQuery(document).ready(function(){dslc_ui_animations()}),jQuery(document).mouseup(function(a){var b=jQuery(".dslca-modal-open");b.is(a.target)||0!==b.has(a.target).length||b.hide()}),jQuery(document).ready(function(a){a(document).on("click",".dslca-open-modal-hook",function(){var b=a(this).data("modal");dslc_show_modal(a(this),b)}),a(document).on("click",".dslca-close-modal-hook",function(){if(!a(this).hasClass("dslca-action-disabled")){var b=a(this).data("modal");dslc_hide_modal(a(this),b)}})}),jQuery(document).ready(function(a){a(document).on("click",".dslca-prompt-modal-cancel-hook",function(a){a.preventDefault();var b=jQuery(".dslca-prompt-modal").data("id"),c=jQuery(".dslca-prompt-modal").data("target");"edit_in_progress"==b&&dslc_module_options_cancel_changes(function(){c.trigger("click")}),dslc_js_confirm_close(),jQuery(".dslca-prompt-modal").data("id","")}),a(document).on("click",".dslca-prompt-modal-confirm-hook",function(b){b.preventDefault();var c=jQuery(".dslca-prompt-modal").data("id"),d=jQuery(".dslca-prompt-modal").data("target"),e=!0;if("edit_in_progress"==c)dslc_module_options_confirm_changes(function(){d.trigger("click")});else if("disable_lc"==c)window.location=d;else if("delete_module"==c){var f=d.closest(".dslc-module-front");dslc_delete_module(f)}else if("delete_modules_area"==c){var g=d.closest(".dslc-modules-area");dslc_modules_area_delete(g)}else"delete_modules_section"==c?dslc_row_delete(d.closest(".dslc-modules-section")):"export_modules_section"==c||"import_modules_section"==c&&(dslc_row_import(a(".dslca-prompt-modal textarea").val()),a(".dslca-prompt-modal-confirm-hook span").css({opacity:0}),a(".dslca-prompt-modal-confirm-hook .dslca-loading").show(),e=!1);e&&dslc_js_confirm_close(),jQuery(".dslca-prompt-modal").data("id","")}),a(window).on("keydown",function(b){13==b.which?a(".dslca-prompt-modal-active").length&&a(".dslca-prompt-modal-confirm-hook").trigger("click"):27==b.which&&a(".dslca-prompt-modal-active").length&&a(".dslca-prompt-modal-cancel-hook").trigger("click")})}),jQuery(document).ready(function(a){dslc_row_edit_colorpicker_init(),dslc_row_edit_slider_init(),a("#dslc-main .dslc-modules-section").length||a("#dslca-tut-page").length||dslc_row_add(),a(document).on("click",".dslca-add-modules-section-hook",function(){var b=a(this);a(this).hasClass("dslca-action-disabled")||(b.find(".dslca-icon").removeClass("dslc-icon-align-justify").addClass("dslc-icon-spinner dslc-icon-spin"),dslc_row_add(function(){b.find(".dslca-icon").removeClass("dslc-icon-spinner dslc-icon-spin").addClass("dslc-icon-align-justify")}))}),a(document).on("click",".dslca-edit-modules-section-hook",function(){a(this).hasClass("dslca-action-disabled")||(jQuery(".dslca-module-being-edited.dslca-module-change-made").length?dslc_js_confirm("edit_in_progress",'<span class="dslca-prompt-modal-title">'+DSLCString.str_module_curr_edit_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_module_curr_edit_descr+"</span>",jQuery(this)):jQuery(".dslca-modules-section-being-edited.dslca-modules-section-change-made").length?dslc_js_confirm("edit_in_progress",'<span class="dslca-prompt-modal-title">'+DSLCString.str_row_curr_edit_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_row_curr_edit_descr+"</span>",jQuery(this)):dslc_row_edit(a(this).closest(".dslc-modules-section")))}),a(document).on("click",".dslca-row-edit-save",function(){dslc_row_edit_confirm(),a(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active"),dslc_responsive_classes(!0)}),a(document).on("click",".dslca-row-edit-cancel",function(){dslc_row_edit_cancel(),a(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active"),dslc_responsive_classes(!0)}),a(document).on("click",".dslca-copy-modules-section-hook",function(){a(this).hasClass("dslca-action-disabled")||dslc_row_copy(a(this).closest(".dslc-modules-section"))}),a(document).on("click",".dslca-import-modules-section-hook",function(b){b.preventDefault(),a(this).hasClass("dslca-action-disabled")||(a(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span><span>'+DSLCString.str_import+'</span><div class="dslca-loading followingBallsGWrap"><div class="followingBallsG_1 followingBallsG"></div><div class="followingBallsG_2 followingBallsG"></div><div class="followingBallsG_3 followingBallsG"></div><div class="followingBallsG_4 followingBallsG"></div></div>'),dslc_js_confirm("import_modules_section",'<span class="dslca-prompt-modal-title">'+DSLCString.str_import_row_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_import_row_descr+" <br><br><textarea></textarea></span>",a(this)))}),a(document).on("click",".dslca-delete-modules-section-hook",function(b){b.preventDefault(),a(this).hasClass("dslca-action-disabled")||dslc_js_confirm("delete_modules_section",'<span class="dslca-prompt-modal-title">'+DSLCString.str_del_row_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_del_row_descr+"</span>",a(this))}),a(document).on("click",".dslca-export-modules-section-hook",function(b){b.preventDefault(),a(this).hasClass("dslca-action-disabled")||(a(".dslca-prompt-modal-cancel-hook").hide(),a(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>'+DSLCString.str_ok),dslc_js_confirm("export_modules_section",'<span class="dslca-prompt-modal-title">'+DSLCString.str_export_row_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_export_row_descr+" <br><br><textarea></textarea></span>",a(this)),a(".dslca-prompt-modal textarea").val(dslc_generate_section_code(a(this).closest(".dslc-modules-section"))))})}),jQuery(document).ready(function(a){a(document).on("click",".dslca-add-modules-area-hook",function(a){a.preventDefault(),dslc_modules_area_add(jQuery(this).closest(".dslc-modules-section").find(".dslc-modules-section-inner"))}),a(document).on("click",".dslca-delete-modules-area-hook",function(b){b.preventDefault(),a(this).hasClass("dslca-action-disabled")||dslc_js_confirm("delete_modules_area",'<span class="dslca-prompt-modal-title">'+DSLCString.str_del_area_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_del_area_descr+"</span>",a(this))}),a(document).on("click",".dslca-copy-modules-area-hook",function(b){if(b.preventDefault(),!a(this).hasClass("dslca-action-disabled")){var c=a(this).closest(".dslc-modules-area");dslc_copy_modules_area(c)}}),a(document).on("click",".dslca-change-width-modules-area-options span",function(){a(this).hasClass("dslca-action-disabled")||dslc_modules_area_width_set(jQuery(this).closest(".dslc-modules-area"),jQuery(this).data("size"))}),a(document).on("click",".dslca-change-width-modules-area-hook",function(b){if(b.preventDefault(),!a(this).hasClass("dslca-action-disabled"))if(a(".dslca-change-width-modules-area-options:visible",this).length)a(".dslca-change-width-modules-area-options",this).hide();else{a(".dslca-change-width-modules-area-options .dslca-active-width").removeClass("dslca-active-width");var c=a(this).closest(".dslc-modules-area").data("size");a('.dslca-change-width-modules-area-options span[data-size="'+c+'"]').addClass("dslca-active-width"),a(".dslca-change-width-modules-area-options",this).show()}})}),jQuery(document).ready(function(a){dslc_module_options_tooltip(),dslc_module_options_font(),dslc_module_options_icon(),dslc_module_options_icon_returnid(),dslc_module_options_text_align(),dslc_module_options_checkbox(),dslc_module_options_box_shadow(),dslc_module_options_text_shadow(),a(".dslca-module-edit-form").submit(function(a){a.preventDefault(),dslc_module_output_altered()}),a(document).on("click",".dslca-copy-module-hook",function(b){b.preventDefault(),a(this).hasClass("dslca-action-disabled")||dslc_module_copy(a(this).closest(".dslc-module-front"))}),a(document).on("click",".dslca-delete-module-hook",function(b){b.preventDefault(),a(this).hasClass("dslca-action-disabled")||dslc_js_confirm("delete_module",'<span class="dslca-prompt-modal-title">'+DSLCString.str_del_module_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_del_module_descr+"</span>",a(this))}),a(document).on("click",".dslca-change-width-module-hook",function(b){b.preventDefault(),a(this).hasClass("dslca-action-disabled")||(a(".dslca-change-width-module-options",this).toggle(),a(this).closest(".dslca-module-manage").toggleClass("dslca-module-manage-change-width-active"))}),a(document).on("click",".dslca-change-width-module-options span",function(){dslc_module_width_set(jQuery(this).closest(".dslc-module-front"),jQuery(this).data("size"))}),a(document).on("click",".dslca-module-edit-hook",function(b){if(b.preventDefault(),!a("body").hasClass("dslca-composer-hidden"))if(a(".dslca-module-being-edited.dslca-module-change-made").length)dslc_js_confirm("edit_in_progress",'<span class="dslca-prompt-modal-title">'+DSLCString.str_module_curr_edit_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_module_curr_edit_descr+"</span>",a(this));else if(a(".dslca-modules-section-being-edited.dslca-modules-section-change-made").length)dslc_js_confirm("edit_in_progress",'<span class="dslca-prompt-modal-title">'+DSLCString.str_row_curr_edit_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_row_curr_edit_descr+"</span>",a(this));else{a(".dslca-modules-section-being-edited").length&&a(".dslca-module-edit-cancel").trigger("click");var c=a(this).closest(".dslc-module-front"),d=c.data("dslc-module-id");c.find(".dslca-module-code").val();a(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),c.addClass("dslca-module-being-edited"),dslc_module_options_show(d)}}),a(document).on("click",".dslca-module-edit-options-tab-hook",function(){dslc_module_options_tab_filter(a(this))}),a(document).on("click",".dslca-options-filter-hook",function(b){var c=jQuery(".dslca-options-filter-hook.dslca-active").data("section");a(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active"),a(this).addClass("dslca-active"),dslc_module_options_section_filter(jQuery(this).data("section")),"responsive"==c&&(jQuery(".dslca-container-loader").show(),dslc_responsive_classes(),dslc_module_output_altered(function(){jQuery(".dslca-container-loader").hide()}))}),a(document).on("click",".dslca-module-edit-save",function(){dslc_module_options_confirm_changes(),a(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active"),dslc_responsive_classes(!0)}),a(document).on("click",".dslca-module-edit-cancel",function(){dslc_module_options_cancel_changes(),a(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active"),dslc_responsive_classes(!0)}),jQuery(document).on("click",".dslca-module-edit-field-icon-switch-set",function(){var a=jQuery(".dslca-module-edit-field-icon-switch-sets"),b=jQuery(this);if(jQuery(".dslca-module-edit-field-icon-switch-set.dslca-active").removeClass("dslca-active"),b.addClass("dslca-active"),a.is(":visible"))jQuery(".dslca-module-edit-field-icon-switch-sets").hide();else{var c=b.find(".dslca-module-edit-field-icon-curr-set").text();jQuery(".dslca-module-edit-field-icon-switch-sets span.dslca-active").removeClass("dslca-active"),jQuery('.dslca-module-edit-field-icon-switch-sets span[data-set="'+c+'"]').addClass("dslca-active");var d=b.offset(),e=a.outerHeight(),f=a.outerWidth(),g=d.left-f/2+6,h="50%";0>g&&(h=f/2+g+"px",g=0),jQuery(".dslca-module-edit-field-icon-switch-sets").show().css({top:d.top-e-20,left:g}),jQuery("head").append(jQuery("<style>.dslca-module-edit-field-icon-switch-sets:after, .dslca-module-edit-field-icon-switch-sets:before { left: "+h+" }</style>"))}}),jQuery(document).on("click",".dslca-module-edit-field-icon-switch-sets span",function(){var b=a(this).data("set");dslcIconsCurrentSet=DSLCIcons[b],a('.dslca-open-modal-hook[data-modal^=".dslc-list-icons"]').data("modal",".dslc-list-icons-"+b),a(this).addClass("dslca-active").siblings(".dslca-active").removeClass("dslca-active"),a(".dslca-module-edit-field-icon-switch-set.dslca-active .dslca-module-edit-field-icon-curr-set").text(b),a(".dslca-module-edit-field-icon-switch-set.dslca-active").closest(".dslca-module-edit-option").find(".dslca-module-edit-field-icon-next").trigger("click"),a(".dslca-module-edit-field-icon-switch-sets").hide()}),jQuery(document).on("mouseenter",".dslca-module-edit-option-icon",function(){var b=a(this).find(".dslca-module-edit-field-icon-curr-set").text();dslcIconsCurrentSet=DSLCIcons[b],a('.dslca-open-modal-hook[data-modal^=".dslc-list-icons"]').data("modal",".dslc-list-icons-"+b)})}),jQuery(document).ready(function(a){a(document).on("click",".dslca-template",function(){dslc_template_load(jQuery(this).data("id"))}),a(".dslca-template-import-form").submit(function(a){a.preventDefault(),dslc_template_import()}),a(".dslca-template-save-form").submit(function(a){a.preventDefault(),dslc_template_save()}),a(document).on("click",".dslca-delete-template-hook",function(b){b.stopPropagation(),dslc_template_delete(a(this).data("id"))})}),jQuery(document).ready(function(a){a(document).on("click",".dslca-save-composer-hook",function(){a("body").hasClass("dslca-module-saving-in-progress")||a("body").hasClass("dslca-saving-in-progress")||dslc_save_composer()}),a(document).on("click",".dslca-save-draft-composer-hook",function(){a("body").hasClass("dslca-module-saving-in-progress")||a("body").hasClass("dslca-saving-in-progress")||dslc_save_draft_composer()})}),jQuery(document).ready(function(a){a(document).on("keypress",'.dslca-module-edit-field[name="css_save_preset"]',function(b){if(13==b.which){var c=a(this).val(),d=c.toLowerCase().replace(/\s/g,"-");a("body").addClass("dslca-new-preset-added"),a('.dslca-module-edit-field[name="css_load_preset"]').append('<option value="'+d+'">'+d+"</option>").val(d).trigger("change"),a(this).val("")}}),a(document).on("change",'.dslca-module-edit-field[name="css_load_preset"]',function(b){a(".dslca-module-being-edited").addClass("dslca-preload-preset")})}),jQuery(document).ready(function(a){a(document).on("click",".dslca-module-get-defaults-hook",function(){var b=jQuery(this).closest(".dslc-module-front"),d=(dslc_dm_get_defaults(b),'<span class="dslca-prompt-modal-title">Module Defaults</span><span class="dslca-prompt-modal-descr">The code bellow is used to alter the defaults.</span><textarea></textarea><br><br>');a(".dslca-prompt-modal-cancel-hook").hide(),a(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>OK'),dslc_js_confirm("dev_mode_get_default",d,b)}),a(document).on("click","a:not(.dslca-link)",function(a){a.preventDefault()}),a(document).unbind("keydown").bind("keydown",function(b){var c=!1;if(8===b.keyCode){var d=b.srcElement||b.target;c="INPUT"===d.tagName.toUpperCase()&&("TEXT"===d.type.toUpperCase()||"PASSWORD"===d.type.toUpperCase()||"FILE"===d.type.toUpperCase())||"TEXTAREA"===d.tagName.toUpperCase()||a(d).hasClass("dslca-editable-content")||a(d).hasClass("dslc-tabs-nav-hook-title")||a(d).hasClass("dslc-accordion-title")?d.readOnly||d.disabled:!0}c&&b.preventDefault()}),a(document).on("keydown",function(a){116==(a.which||a.keyCode)&&(jQuery(".dslca-save-composer-hook").is(":visible")||jQuery(".dslca-module-edit-save").is(":visible"))&&(a.preventDefault(),dslc_js_confirm("disable_lc",'<span class="dslca-prompt-modal-title">'+DSLCString.str_refresh_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_refresh_descr+"</span>",document.URL))}),a(document).on("click",".dslca-refresh-module-hook",function(b){a(this).css({"-webkit-animation-name":"dslcRotate","-moz-animation-name":"dslcRotate","animation-name":"dslcRotate","animation-duration":"0.6s","-webkit-animation-duration":"0.6s","animation-iteration-count":"infinite","-webkit-animation-iteration-count":"infinite"}),a(this).closest(".dslc-module-front").addClass("dslca-module-being-edited"),dslc_module_output_altered(function(){a(".dslca-module-being-edited").removeClass("dslca-module-being-edited")})})}),window.onbeforeunload=function(){},jQuery(document).ready(function(a){a(document).on("change",".dslca-modules-section-edit-field",function(){var b,c,d,f,g,h,i,j;if(b=a(this),c=b.data("id"),f=b.val(),g=f,h=b.data("css-rule"),d=a(".dslca-modules-section-being-edited"),j=d,i=a('.dslca-modules-section-settings input[data-id="'+c+'"]',d),d.addClass("dslca-modules-section-change-made"),b.hasClass("dslca-modules-section-edit-field-upload")&&f&&f.length&&(f=b.data("dslca-img-url")),"background-image"==h&&(f='url("'+f+'")',dslc_bg_video()),"bg_image_attachment"==c&&d.removeClass("dslc-init-parallax"),"border-top"==c||"border-right"==c||"border-bottom"==c||"border-left"==c){var l=a('.dslca-modules-section-settings input[data-id="border_style"]').val();i=a('.dslca-modules-section-settings input[data-id="border"]',d),g="";var m=b.closest(".dslca-modules-section-edit-option-checkbox-wrapper");m.find(".dslca-modules-section-edit-field-checkbox").each(function(){a(this).is(":checked")&&("border-top"==a(this).data("id")?g+="top ":"border-right"==a(this).data("id")?g+="right ":"border-bottom"==a(this).data("id")?g+="bottom ":"border-left"==a(this).data("id")&&(g+="left "))}),b.is(":checked")?"border-top"==b.data("id")?d.css({"border-top-style":l}):"border-right"==b.data("id")?d.css({"border-right-style":l}):"border-bottom"==b.data("id")?d.css({"border-bottom-style":l}):"border-left"==b.data("id")&&d.css({"border-left-style":l}):"border-top"==b.data("id")?d.css({"border-top-style":"hidden"}):"border-right"==b.data("id")?d.css({"border-right-style":"hidden"}):"border-bottom"==b.data("id")?d.css({"border-bottom-style":"hidden"}):"border-left"==b.data("id")&&d.css({"border-left-style":"hidden"})}else if(b.hasClass("dslca-modules-section-edit-field-checkbox")){var n=a(this).closest(".dslca-modules-section-edit-option-checkbox-wrapper").find(".dslca-modules-section-edit-field-checkbox"),o="";n.each(function(){a(this).prop("checked")&&(o+=a(this).data("val")+" ")});var g=o;"show_on"==b.data("id")&&(console.log(o),-1!==o.indexOf("desktop")?a(".dslca-modules-section-being-edited").removeClass("dslc-hide-on-desktop"):a(".dslca-modules-section-being-edited").addClass("dslc-hide-on-desktop"),-1!==o.indexOf("tablet")?a(".dslca-modules-section-being-edited").removeClass("dslc-hide-on-tablet"):a(".dslca-modules-section-being-edited").addClass("dslc-hide-on-tablet"),-1!==o.indexOf("phone")?a(".dslca-modules-section-being-edited").removeClass("dslc-hide-on-phone"):a(".dslca-modules-section-being-edited").addClass("dslc-hide-on-phone"))}else if("bg_image_attachment"==c&&"parallax"==f||"type"==c)"bg_image_attachment"==c?(d.addClass("dslc-init-parallax"),dslc_parallax()):"type"==c&&("full"==f?d.addClass("dslc-full"):d.removeClass("dslc-full"),dslc_masonry());else if("columns_spacing"==c)"nospacing"==f?d.addClass("dslc-no-columns-spacing"):d.removeClass("dslc-no-columns-spacing");else if("custom_class"==c);else if("custom_id"==c);else if("bg_video"==c){if(jQuery(".dslc-bg-video video",d).remove(),f&&f.length){var p=f;p=p.replace(".webm",""),p=p.replace(".mp4",""),jQuery(".dslc-bg-video-inner",d).html('<video><source type="video/mp4" src="'+p+'.mp4" /><source type="video/webm" src="'+p+'.webm" /></video>'),dslc_bg_video()}}else if("bg_image_thumb"==c)if("enabled"==g){if(jQuery("#dslca-post-data-thumb").length){var q="url('"+jQuery("#dslca-post-data-thumb").val()+"')";j.css(h,q)}}else"disabled"==g&&j.css(h,"none");else b.data("css-element")&&(j=jQuery(b.data("css-element"),d)),j.css(h,f);i.val(g),dslc_generate_code(),dslc_show_publish_button()}),jQuery(document).on("blur",".dslca-editable-content",function(){jQuery("body").hasClass("dslca-composer-hidden")||"simple"!=jQuery(this).data("type")||dslc_editable_content_gen_code(jQuery(this))}).on("paste",".dslca-editable-content",function(){if(!jQuery("body").hasClass("dslca-composer-hidden")&&"simple"==jQuery(this).data("type")){
4
- var a=jQuery(this);setTimeout(function(){"simple"==a.data("type")&&a.html(a.text()),dslc_editable_content_gen_code(jQuery(this))},1)}}).on("focus",".dslca-editable-content",function(){"simple"==jQuery(this).data("type")&&(jQuery("body").hasClass("dslca-composer-hidden")?a(this).trigger("blur"):jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click"))}).on("keyup",".dslca-editable-content",function(){"simple"==jQuery(this).data("type")&&jQuery(this).closest(".dslc-module-front").addClass("dslca-module-change-made")}),a(document).on("blur",".dslc-editable-area",function(b){var c=a(this).closest(".dslc-module-front"),d=a(this).data("dslc-option-id"),e=a(this).html();jQuery('.dslca-module-options-front textarea[data-id="'+d+'"]',c).val(e),dslc_module_output_altered()}),a(document).on("change",".dslca-module-edit-field",function(){dslc_module_options_hideshow_tabs();var b="",c="",d=a(this),e=d.data("id"),f=d.closest(".dslca-module-edit-option"),g=a(".dslca-module-being-edited"),h=g.data("dslc-module-id");jQuery(".dslca-module-options-front textarea",g);if(g.addClass("dslca-module-change-made"),"active"==jQuery(this).closest(".dslca-module-edit-option").data("refresh-on-change")){if(f.find(".dslca-module-edit-option-checkbox-wrapper").length){var j=a('input[type="checkbox"]',f);j.each(function(){a(this).prop("checked")&&(b=b+a(this).val()+" ")})}else if(d.hasClass("dslca-module-edit-option-radio"))var b=a(".dslca-module-edit-field:checked",d).val();else{var b=d.val();if("orientation"==e&&"horizontal"==b){var k=jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field-slider");k.slider({value:40}).slider("option","slide")(null,{value:k.slider("value")})}else if("orientation"==e&&"vertical"==b){var k=jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field-slider");k.slider({value:100}).slider("option","slide")(null,{value:k.slider("value")})}}jQuery('.dslca-module-options-front textarea[data-id="'+e+'"]',g).val(b),jQuery(".dslca-container-loader").show(),dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited").addClass("dslca-module-change-made"),"css_load_preset"!=e||jQuery("body").hasClass("dslca-new-preset-added")?jQuery(".dslca-container-loader").hide():(dslc_module_options_show(h),jQuery(".dslca-container-loader").hide()),jQuery("body").removeClass("dslca-new-preset-added")})}else{if(d.hasClass("dslca-module-edit-field-font")){var l=d.val();l+=":400,100,200,300,500,600,700,800,900";var m=d.data("affect-on-change-el"),n=d.data("affect-on-change-rule"),o=d.val(),p=o;d.val().length&&-1!==dslcGoogleFontsArray.indexOf(d.val())?WebFont.load({google:{families:[l]},active:function(a,b){jQuery(".dslca-font-loading").closest(".dslca-module-edit-field-font-next").length?jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-right"):jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left"),jQuery(m,".dslca-module-being-edited").css(n,o)},inactive:function(a,b){jQuery(".dslca-font-loading").closest(".dslca-module-edit-field-font-next").length?jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-right"):jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left")}}):setTimeout(function(){jQuery(".dslca-font-loading.dslca-module-edit-field-font-next").length?jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-right"):jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left"),jQuery(m,".dslca-module-being-edited").css(n,o)},100)}else if(d.hasClass("dslca-module-edit-field-checkbox")){var j=a('input[type="checkbox"]',f);j.each(function(){a(this).prop("checked")?(b+="solid ",c=c+a(this).val()+" "):b+="none "})}if(!d.hasClass("dslca-module-edit-field-font")){var m=d.data("affect-on-change-el"),n=d.data("affect-on-change-rule"),o=d.val(),p=o;d.hasClass("dslca-module-edit-field-checkbox")&&(o=b,p=c),d.hasClass("dslca-module-edit-field-image")&&(o='url("'+o+'")'),o.length<1&&("background-color"==n||"background"==n)&&(o="transparent"),jQuery(m,".dslca-module-being-edited").css(n,o)}jQuery('.dslca-module-option-front[data-id="'+e+'"]',g).val(p)}}),a(document).on("keyup, blur",".dslca-module-edit-field-numeric",function(){var m,c=a(this),d=c.data("id"),f=(c.closest(".dslca-module-edit-option"),a(".dslca-module-being-edited")),i=(f.data("dslc-module-id"),jQuery(".dslca-module-options-front textarea",f),c.data("affect-on-change-el")),j=c.data("affect-on-change-rule"),k=c.val(),l=k+c.data("ext");if(f.addClass("dslca-module-change-made"),"active"!=jQuery(this).closest(".dslca-module-edit-option").data("refresh-on-change")){m=j.replace(/ /g,"").split(",");for(var n=0;n<m.length;n++)jQuery(i,".dslca-module-being-edited").css(m[n],l);jQuery('.dslca-module-option-front[data-id="'+d+'"]',f).val(k)}}),a(document).on("keyup",".dslca-modules-section-edit-field-numeric",function(){var j,c=a(this),d=c.data("id"),f=(c.closest(".dslca-modules-section-edit-option"),a(".dslca-modules-section-being-edited")),g=c.data("css-rule"),h=c.val(),i=h+c.data("ext");f.addClass("dslca-modules-section-change-made"),j=g.replace(/ /g,"").split(",");for(var k=0;k<j.length;k++)f.css(j[k],i);jQuery('.dslca-modules-section-settings input[data-id="'+d+'"]',f).val(h)})}),jQuery(document).ready(function(a){var b;jQuery(document).on("click",".dslca-module-edit-field-image-add-hook, .dslca-modules-section-edit-field-image-add-hook",function(){var a=jQuery(this);if(a.hasClass("dslca-module-edit-field-image-add-hook"))var c=a.siblings(".dslca-module-edit-field-image"),d=a.siblings(".dslca-module-edit-field-image-remove-hook");else var c=a.siblings(".dslca-modules-section-edit-field-upload"),d=a.siblings(".dslca-modules-section-edit-field-image-remove-hook");var e=!1;b=wp.media.frames.file_frame=wp.media({title:"Choose Image",button:{text:"Confirm"},multiple:e}),b.on("select",function(){var e=b.state().get("selection").first().toJSON();c.val(e.id).data("dslca-img-url",e.url).trigger("change"),a.hide(),d.show()}),b.open()}),jQuery(document).on("click",".dslca-module-edit-field-image-remove-hook, .dslca-modules-section-edit-field-image-remove-hook",function(){var a=jQuery(this);if(a.hasClass("dslca-module-edit-field-image-remove-hook"))var b=a.siblings(".dslca-module-edit-field-image"),c=a.siblings(".dslca-module-edit-field-image-add-hook");else var b=a.siblings(".dslca-modules-section-edit-field-upload"),c=a.siblings(".dslca-modules-section-edit-field-image-add-hook");b.val("").trigger("change"),a.hide(),c.show()}),a(document).on("click",".dslca-wysiwyg-actions-edit-hook",function(){var b=a(this).parent().siblings(".dslca-editable-content"),c=b.closest(".dslc-module-front");if(c.hasClass("dslc-module-handle-like-accordion")){dslc_accordion_generate_code(c.find(".dslc-accordion"));var d=c.find('.dslca-module-option-front[data-id="accordion_content"]').val(),e=d.split("(dslc_sep)"),f=b.closest(".dslc-accordion-item").index(),g=e[f].trim().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")}else if(c.hasClass("dslc-module-handle-like-tabs")){dslc_tabs_generate_code(c.find(".dslc-tabs"));var d=c.find('.dslca-module-option-front[data-id="tabs_content"]').val(),e=d.split("(dslc_sep)"),f=b.closest(".dslc-tabs-tab-content").index(),g=e[f].trim().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")}else var g=c.find('.dslca-module-option-front[data-id="'+b.data("id")+'"]').val().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea");if("undefined"!=typeof tinymce){var h=tinymce.get("dslcawpeditor");a("#wp-dslcawpeditor-wrap").hasClass("tmce-active")?h.setContent(g,{format:"html"}):jQuery("textarea#dslcawpeditor").val(g),c.hasClass("dslca-module-being-edited")||c.find(".dslca-module-edit-hook").trigger("click"),a(".dslca-wp-editor").show(),b.addClass("dslca-wysiwyg-active"),a("#dslcawpeditor_ifr, #dslcawpeditor").css({height:a(".dslca-wp-editor").height()-350})}}),a(document).on("click",".dslca-wp-editor-save-hook",function(){var b=a(".dslca-wysiwyg-active").closest(".dslc-module-front");if("undefined"!=typeof tinymce){if(a("#wp-dslcawpeditor-wrap").hasClass("tmce-active"))var c=tinymce.get("dslcawpeditor"),d=c.getContent();else var d=a("#dslcawpeditor").val();if(a(".dslca-wp-editor").hide(),a(".dslca-wysiwyg-active").html(d),b.hasClass("dslc-module-handle-like-accordion")){a(".dslca-wysiwyg-active").siblings(".dslca-accordion-plain-content").val(d);var e=b.find(".dslc-accordion");dslc_accordion_generate_code(e)}else if(b.hasClass("dslc-module-handle-like-tabs")){a(".dslca-wysiwyg-active").siblings(".dslca-tab-plain-content").val(d);var f=b.find(".dslc-tabs");dslc_tabs_generate_code(f)}dslc_editable_content_gen_code(a(".dslca-wysiwyg-active")),a(".dslca-wysiwyg-active").removeClass("dslca-wysiwyg-active")}}),a(document).on("click",".dslca-wp-editor-cancel-hook",function(){a(".dslca-wp-editor").hide(),a(".dslca-wysiwyg-active").removeClass("dslca-wysiwyg-active")})});
1
  "use strict";function dslc_hide_composer(){dslcDebug&&console.log("dslc_hide_composer"),jQuery(".dslca-hide-composer-hook").hide(),jQuery(".dslca-show-composer-hook").show(),jQuery("body").addClass("dslca-composer-hidden"),jQuery(".dslca-container").css({bottom:-1*jQuery(".dslca-container").outerHeight()}),jQuery(".dslca-header").hide()}function dslc_show_composer(){dslcDebug&&console.log("dslc_show_composer"),jQuery(".dslca-show-composer-hook").hide(),jQuery(".dslca-hide-composer-hook").show(),jQuery("body").removeClass("dslca-composer-hidden"),jQuery(".dslca-container").css({bottom:0}),jQuery(".dslca-header").show()}function dslc_show_publish_button(){dslcDebug&&console.log("dslc_show_publish_button"),jQuery(".dslca-save-composer").show().addClass("dslca-init-animation"),jQuery(".dslca-save-draft-composer").show().addClass("dslca-init-animation")}function dslc_show_section(a){dslcDebug&&console.log("dslc_show_section"),jQuery("body").addClass("dslca-anim-in-progress");var c=(jQuery(a).data("title"),jQuery(a).data("bg"));jQuery(".dslca-container").css({bottom:-500}),jQuery(".dslca-sections").animate({backgroundColor:c},200),jQuery(".dslca-section").hide(),jQuery(a).show(),".dslca-modules-section-edit"==a&&dslc_row_edit_scrollbar_init(),".dslca-module-edit"==a?jQuery(".dslca-currently-editing").show().css("background-color",c).find("strong").text(jQuery(".dslca-module-being-edited").attr("title")+" module"):".dslca-modules-section-edit"==a?jQuery(".dslca-currently-editing").show().css("background-color","#e5855f").find("strong").text("Row"):jQuery(".dslca-currently-editing").hide().find("strong").text(""),dslc_module_options_tab_filter(),".dslca-module-edit"!=a&&dslc_scroller_init(),setTimeout(function(){jQuery(".dslca-container").css({bottom:0})},300),jQuery("body").removeClass("dslca-anim-in-progress")}function dslc_generate_filters(){dslcDebug&&console.log("dslc_generate_filters");var a,b=[],c='<span data-origin="">ALL</span>',d=jQuery(".dslca-section:visible .dslca-origin");d.each(function(){a=jQuery(this),-1==jQuery.inArray(a.data("origin"),b)&&(b.push(a.data("origin")),c+='<span data-origin="'+a.data("origin")+'">'+a.data("origin").replace("_"," ")+"</span>")}),jQuery(".dslca-section:visible .dslca-section-title-filter-options").html(c).css("background",jQuery(".dslca-section:visible").data("bg"))}function dslc_filter_origin(a,b){dslcDebug&&console.log("dslc_filter_origin"),jQuery(".dslca-origin",b).hide(),jQuery('.dslca-origin[data-origin="'+a+'"]',b).show(),""==a&&jQuery(".dslca-origin",b).show(),dslc_scroller_init()}function dslc_drag_and_drop(){dslcDebug&&console.log("dslc_drag_and_drop");var b,c,d;jQuery(".dslca-modules .dslca-module").draggable({scroll:!1,appendTo:"body",helper:"clone",cursor:"default",cursorAt:{top:50,left:30},containment:"body",start:function(a,b){jQuery("body").removeClass("dslca-new-module-drag-not-in-progress").addClass("dslca-new-module-drag-in-progress"),jQuery("#dslc-header").addClass("dslca-header-low-z-index")},stop:function(a,b){jQuery("body").removeClass("dslca-new-module-drag-in-progress").addClass("dslca-new-module-drag-not-in-progress"),jQuery("#dslc-header").removeClass("dslca-header-low-z-index")}}),jQuery(".dslc-content").sortable({items:".dslc-modules-section",handle:'.dslca-move-modules-section-hook:not(".dslca-action-disabled")',placeholder:"dslca-modules-section-placeholder",tolerance:"pointer",cursorAt:{bottom:10},axis:"y",scroll:!0,scrollSensitivity:200,scrollSpeed:10,sort:function(){jQuery(this).removeClass("ui-state-default")},update:function(a,b){dslc_generate_code(),dslc_show_publish_button()},start:function(a,b){jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress"),b.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">'+DSLCString.str_row_helper_text+"</span></span>"),jQuery(".dslc-content").sortable("refreshPositions")},stop:function(a,b){jQuery("body").removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress"),jQuery(".dslca-anim-opacity-drop").removeClass("dslca-anim-opacity-drop"),jQuery(".dslc-modules-section").css({overflow:"visible","max-height":"none"})}}),jQuery(".dslc-modules-section-inner").sortable({connectWith:".dslc-modules-section-inner",items:".dslc-modules-area",handle:'.dslca-move-modules-area-hook:not(".dslca-action-disabled")',placeholder:"dslca-modules-area-placeholder",cursorAt:{top:0,left:0},tolerance:"intersect",scroll:!0,scrollSensitivity:100,scrollSpeed:15,sort:function(){jQuery(this).removeClass("ui-state-default")},over:function(a,b){var c=b.placeholder.closest(".dslc-modules-section");jQuery(c).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty"),c.siblings(".dslc-modules-section").each(function(){jQuery(".dslc-modules-area:not(.ui-sortable-helper)",jQuery(this)).length?jQuery(this).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty"):jQuery(this).removeClass("dslc-modules-section-not-empty").addClass("dslc-modules-section-empty")})},update:function(a,b){dslc_generate_code(),dslc_show_publish_button()},start:function(a,b){b.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">'+DSLCString.str_area_helper_text+"</span></span>"),jQuery(b.item).hasClass("dslc-12-col")?b.placeholder.width(b.item.width()).css({margin:0}):b.placeholder.width(b.item.width()-10),jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress dslca-modules-area-drag-in-progress"),jQuery(".dslc-modules-section-inner").sortable("refreshPositions")},stop:function(a,b){jQuery("body").removeClass("dslca-drag-in-progress dslca-modules-area-drag-in-progress").addClass("dslca-drag-not-in-progress"),jQuery(".dslca-anim-opacity-drop").removeClass("dslca-anim-opacity-drop")},change:function(a,b){}}),jQuery(".dslc-modules-section").droppable({drop:function(a,b){var c=jQuery(this).find(".dslc-modules-section-inner"),d=b.draggable.data("id");"DSLC_M_A"==d&&dslc_modules_area_add(c)}}),jQuery(".dslc-modules-area").droppable({activeClass:"dslca-ui-state-default",hoverClass:"dslca-ui-state-hover",accept:":not(.ui-sortable-helper)",drop:function(a,e){if(b=jQuery(this),c=e.draggable.data("id"),"DSLC_M_A"==c||jQuery("body").hasClass("dslca-module-drop-in-progress")||b.closest("#dslc-header").length||b.closest("#dslc-footer").length);else{jQuery("body").addClass("dslca-anim-in-progress dslca-module-drop-in-progress"),b.hasClass("dslc-modules-area-not-empty")&&b.animate({paddingBottom:50},150),dslc_module_output_default(c,function(a){d=a.output,jQuery(".dslca-module-loading-inner",b).stop().animate({width:"100%"},300,"linear",function(){b.css({paddingBottom:0}),jQuery(".dslca-module-loading",b).hide();var a=jQuery(d).appendTo(b);a.css({"-webkit-animation-name":"dslcBounceIn","-moz-animation-name":"dslcBounceIn","animation-name":"dslcBounceIn","animation-duration":"0.6s","-webkit-animation-duration":"0.6s"}),setTimeout(function(){dslc_init_square(),dslc_center(),dslc_masonry(a),jQuery("body").removeClass("dslca-anim-in-progress dslca-module-drop-in-progress")},700),jQuery(".dslca-no-content-primary",b).css({opacity:1}),jQuery(".dslca-modules-area-manage",b).css({visibility:"visible"}),jQuery(".dslca-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"}),dslc_carousel(),dslc_tabs(),dslc_init_accordion(),dslc_init_square(),dslc_center(),dslc_generate_code(),dslc_show_publish_button()})}),jQuery(".dslca-module-loading",b).show(),jQuery(".dslca-no-content-primary",b).css({opacity:0}),jQuery(".dslca-modules-area-manage",b).css({visibility:"hidden"});var f=100*Math.floor(51*Math.random()+50);jQuery(".dslca-module-loading-inner",b).css({width:0}).animate({width:"100%"},f,"linear")}}}).sortable({connectWith:".dslc-modules-area",items:".dslc-module-front",handle:'.dslca-move-module-hook:not(".dslca-action-disabled")',placeholder:"dslca-module-placeholder",cursorAt:{top:50,left:30},tolerance:"pointer",scroll:!0,scrollSensitivity:100,scrollSpeed:15,start:function(a,b){b.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">'+b.item.find(".dslc-sortable-helper-icon").data("title")+"</span></span>"),jQuery(b.item).hasClass("dslc-12-col")?b.placeholder.width(b.item.width()).css({margin:0}):b.placeholder.width(b.item.width()-10),jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress"),jQuery(".dslc-module-front",this).length<2&&(jQuery(this).removeClass("dslc-modules-area-not-empty").addClass("dslc-modules-area-empty"),jQuery(".dslca-no-content:not(:visible)",this).show().css({"-webkit-animation-name":"dslcBounceIn","-moz-animation-name":"dslcBounceIn","animation-name":"dslcBounceIn","animation-duration":"0.6s","-webkit-animation-duration":"0.6s",padding:0}).animate({padding:"35px 0"},300,function(){})),jQuery(".dslc-modules-area").sortable("refreshPositions")},sort:function(a,b){jQuery(this).removeClass("ui-state-default")},update:function(a,b){dslc_show_publish_button()},stop:function(a,b){dslc_generate_code(),jQuery("body").removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress"),jQuery(".dslca-anim-opacity-drop").removeClass("dslca-anim-opacity-drop"),b.item.trigger("mouseleave")},change:function(a,b){}})}function dslc_option_changed(){dslc_show_publish_button()}function dslc_module_dragdrop_init(){dslc_drag_and_drop()}function dslc_scroller_init(){dslcDebug&&console.log("dslc_scroller_init");var a=jQuery(".dslca-section-scroller");a.length&&a.each(function(){var a,b=jQuery(this),c=jQuery(".dslca-section-scroller-inner",b),d=c.position(),e=jQuery(".dslca-section-scroller-content",b),f=jQuery(".dslca-scroller-item:visible",b),g=0,h=b.width()+-1*d.left;e.width();jQuery(".dslca-section-scroller-item-last",b).removeClass("dslca-section-scroller-item-last"),f.each(function(){a=jQuery(this),g+=a.outerWidth(),g>h&&jQuery(".dslca-section-scroller-item-last",b).length<1&&(a.addClass("dslca-section-scroller-item-last"),b.data("current",a.prev(".dslca-scroller-item:visible").index()))})})}function dslc_scroller_go_to(a,b){dslcDebug&&console.log("dslc_scroller_go_to");var c=jQuery(".dslca-section-scroller-inner",b),d=jQuery(".dslca-section-scroller-content",b),f=(jQuery(".dslca-scroller-item",b),jQuery(".dslca-scroller-item:eq("+a+")",b));if(f.length){var g=b.width(),i=(d.width(),f.position()),j=g-(i.left+f.outerWidth());0>j?(b.data("current",a),c.css({left:j})):c.css({left:0})}}function dslc_scroller_prev(a){dslcDebug&&console.log("dslc_scroller_prev");var b=a.data("current"),c=a.find(".dslca-scroller-item:eq("+b+")").prevAll(".dslca-scroller-item:visible").eq(1).index(),d=a.find(".dslca-scroller-item:eq("+b+")").prevAll(".dslca-scroller-item:visible").eq(0).index();-1!==c?dslc_scroller_go_to(c,a):-1!==d&&dslc_scroller_go_to(d,a)}function dslc_scroller_next(a){dslcDebug&&console.log("dslc_scroller_next");var b=a.data("current"),c=a.find(".dslca-scroller-item:eq("+b+")").nextAll(".dslca-scroller-item:visible").eq(1).index(),d=a.find(".dslca-scroller-item:eq("+b+")").nextAll(".dslca-scroller-item:visible").eq(0).index();-1!==c?dslc_scroller_go_to(c,a):-1!==d&&dslc_scroller_go_to(d,a)}function dslc_ui_animations(){dslcDebug&&console.log("dslc_ui_animations"),jQuery(document).on("mouseenter",".dslca-modules-area-manage",function(){jQuery(this).closest(".dslc-modules-area").addClass("dslca-options-hovered"),dslca_draggable_calc_center(jQuery(this).closest(".dslc-modules-area"))}).on("mouseleave",".dslca-modules-area-manage",function(){jQuery(this).closest(".dslc-modules-area").removeClass("dslca-options-hovered")}),jQuery(document).on("mouseenter",".dslca-drag-not-in-progress .dslc-module-front",function(a){jQuery("body").hasClass("dslca-composer-hidden")||(jQuery(this).height()<190?jQuery(".dslca-module-manage",this).addClass("dslca-horizontal"):jQuery(".dslca-module-manage",this).removeClass("dslca-horizontal"))}).on("mouseleave",".dslca-drag-not-in-progress .dslc-module-front",function(a){jQuery("body").hasClass("dslca-composer-hidden")||jQuery(this).find(".dslca-change-width-module-options").hide(),jQuery(this).find(".dslca-module-manage").removeClass("dslca-module-manage-change-width-active")}),jQuery(document).on("mouseenter",".dslca-drag-not-in-progress .dslc-modules-area",function(a){jQuery(this);jQuery("body").hasClass("dslca-composer-hidden")||(jQuery("#dslc-header").addClass("dslca-header-low-z-index"),jQuery(this).height()<130?jQuery(".dslca-modules-area-manage",this).addClass("dslca-horizontal"):jQuery(".dslca-modules-area-manage",this).removeClass("dslca-horizontal"))}).on("mouseleave",".dslca-drag-not-in-progress .dslc-modules-area",function(a){jQuery(this);jQuery("body").hasClass("dslca-composer-hidden")||jQuery("#dslc-header").removeClass("dslca-header-low-z-index")})}function dslc_show_modal(a,b){dslcDebug&&console.log("dslc_show_modal"),dslc_hide_modal("",jQuery(".dslca-modal:visible"));var b=jQuery(b),c=jQuery(a).position(),d=b.outerWidth()/2-a.outerWidth()/2,e=c.left-d;b.css({left:e}).show(),b.addClass("dslca-modal-open")}function dslc_hide_modal(a,b){dslcDebug&&console.log("dslc_hide_modal");var b=jQuery(b);b.hide(),b.removeClass("dslca-modal-open")}function dslc_js_confirm(a,b,c){dslcDebug&&console.log("dslc_js_confirm"),jQuery(".dslca-prompt-modal").addClass("dslca-prompt-modal-active"),jQuery(".dslca-prompt-modal").data("id",a),jQuery(".dslca-prompt-modal").data("target",c),jQuery(".dslca-prompt-modal-msg").html(b),jQuery(".dslca-prompt-modal").css({opacity:0}).show().animate({opacity:1},400),jQuery(".dslca-prompt-modal-content").css({top:"55%"}).animate({top:"50%"},400)}function dslc_js_confirm_close(){dslcDebug&&console.log("dslc_js_confirm_close"),jQuery(".dslca-prompt-modal").removeClass("dslca-prompt-modal-active"),jQuery(".dslca-prompt-modal").animate({opacity:0},400,function(){jQuery(this).hide(),jQuery(".dslca-prompt-modal-cancel-hook").show(),jQuery(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>'+DSLCString.str_confirm)}),jQuery(".dslca-prompt-modal-content").animate({top:"55%"},400)}function dslc_row_add(a){dslcDebug&&console.log("dslc_row_add"),a="undefined"!=typeof a?a:!1,jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-modules-section",dslc:"active"},function(b){jQuery(b.output).appendTo("#dslc-main"),dslc_drag_and_drop(),dslc_generate_code(),dslc_show_publish_button(),a&&a()})}function dslc_row_delete(a){dslcDebug&&console.log("dslc_row_delete"),a.find(".dslca-module-being-edited")&&(jQuery(".dslca-header .dslca-options-filter-hook").hide(),jQuery(".dslca-module-edit-actions").hide(),jQuery(".dslca-header .dslca-go-to-section-hook").show(),dslc_show_section(".dslca-modules")),a.trigger("mouseleave").remove(),dslc_generate_code(),dslc_show_publish_button()}function dslc_row_edit(a){dslcDebug&&console.log("dslc_row_edit");jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),jQuery(".dslca-modules-section-being-edited").removeClass("dslca-modules-section-being-edited").removeClass("dslca-modules-section-change-made"),a.addClass("dslca-modules-section-being-edited"),jQuery(".dslca-header .dslca-go-to-section-hook").hide(),jQuery('.dslca-row-options-filter-hook[data-section="styling"], .dslca-row-options-filter-hook[data-section="responsive"]').show(),jQuery('.dslca-row-options-filter-hook[data-section="styling"]').trigger("click"),jQuery(".dslca-header .dslca-options-filter-hook").hide(),jQuery(".dslca-module-edit-actions").hide(),jQuery(".dslca-row-edit-actions").show(),jQuery(".dslca-modules-section-edit-field").each(function(){if("border-top"==jQuery(this).data("id"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]').val().indexOf("top")>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty"));else if("border-right"==jQuery(this).data("id"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]').val().indexOf("right")>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty"));else if("border-bottom"==jQuery(this).data("id"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]').val().indexOf("bottom")>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty"));else if("border-left"==jQuery(this).data("id"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]').val().indexOf("left")>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty"));else if(jQuery(this).hasClass("dslca-modules-section-edit-field-checkbox"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="'+jQuery(this).data("id")+'"]').val().indexOf(jQuery(this).data("val"))>=0?(jQuery(this).prop("checked",!0),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")):(jQuery(this).prop("checked",!1),jQuery(this).siblings(".dslca-modules-section-edit-option-checkbox-hook").find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty"));else if(jQuery(this).val(jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="'+jQuery(this).data("id")+'"]').val()),jQuery(this).hasClass("dslca-modules-section-edit-field-colorpicker")){var a=jQuery(this);jQuery(this).closest(".dslca-modules-section-edit-option").find(".sp-preview-inner").removeClass("sp-clear-display").css({"background-color":a.val()})}}),jQuery(".dslca-modules-section-edit-field-upload").each(function(){var a=jQuery(this).closest(".dslca-modules-section-edit-option");jQuery(this).val()&&"disabled"!==jQuery(this).val()?(jQuery(".dslca-modules-section-edit-field-image-add-hook",a).hide(),jQuery(".dslca-modules-section-edit-field-image-remove-hook",a).show()):(jQuery(".dslca-modules-section-edit-field-image-remove-hook",a).hide(),jQuery(".dslca-modules-section-edit-field-image-add-hook",a).show())}),dslc_row_edit_slider_init(),dslc_show_section(".dslca-modules-section-edit"),jQuery(".dslca-save-composer-hook").css({visibility:"hidden"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"hidden"})}function dslc_row_edit_colorpicker_init(){dslcDebug&&console.log("dslc_row_edit_colorpicker_init");var a,b,c,e,f,g,h,i,k,l,j=[];if(j[0]=[],j[1]=[],j[2]=[],j[3]=[],void 0==localStorage.dslcColorpickerPalleteStorage);else for(k=JSON.parse(localStorage.dslcColorpickerPalleteStorage),l=0;l<k.length;l++){var m=Math.floor(l/3);4>m&&j[m].push(k[l])}jQuery(".dslca-modules-section-edit-field-colorpicker").each(function(){i=jQuery(this).val(),jQuery(this).spectrum({color:i,showInput:!0,allowEmpty:!0,showAlpha:!0,clickoutFiresChange:!0,cancelText:"",chooseText:"",preferredFormat:"rgb",showPalette:!0,palette:j,move:function(d){a=jQuery(this),b=a.data("id"),e=null==d?"transparent":d.toRgbString(),f=a.data("css-rule"),c=jQuery(".dslca-modules-section-being-edited"),h=c,g=jQuery('.dslca-modules-section-settings input[data-id="'+b+'"]',c),c.addClass("dslca-modules-section-change-made"),a.data("css-element")&&(h=jQuery(a.data("css-element"),c)),h.css(f,e),g.val(e)},change:function(c){if(a=jQuery(this),b=a.data("id"),e=null==c?"transparent":c.toRgbString(),void 0==localStorage.dslcColorpickerPalleteStorage){var d=[e];localStorage.dslcColorpickerPalleteStorage=JSON.stringify(d)}else{var d=JSON.parse(localStorage.dslcColorpickerPalleteStorage);-1==d.indexOf(e)&&d.unshift(e),localStorage.dslcColorpickerPalleteStorage=JSON.stringify(d)}},show:function(a){jQuery("body").addClass("dslca-disable-selection"),jQuery(this).spectrum("set",jQuery(this).val())},hide:function(){jQuery("body").removeClass("dslca-disable-selection")}})})}function dslc_row_edit_slider_init(){dslcDebug&&console.log("dslc_row_edit_slider_init"),jQuery(".dslca-modules-section-edit-field-slider").each(function(){var a,c,d,e,f,g,h,i,k,l,n,m="",o=0,p=300,q=1;a=jQuery(this),c=a.siblings(".dslca-modules-section-edit-field"),g=a.siblings(".dslca-modules-section-edit-field-slider-tooltip"),a.data("min")&&(o=a.data("min")),a.data("max")&&(p=a.data("max")),a.data("incr")&&(q=a.data("incr")),a.data("ext")&&(m=a.data("ext")),a.slider({min:o,max:p,step:q,value:c.val(),slide:function(b,j){d=j.value+m,c.val(d),f=jQuery(".dslca-modules-section-being-edited"),c.data("css-element")&&(f=jQuery(c.data("css-element"),f)),e=c.data("css-rule").replace(/ /g,""),n=e.split(",");for(var o=0;o<n.length;o++)jQuery(f).css(n[o],d);k=jQuery(".dslca-modules-section-being-edited"),l=c.data("id"),jQuery('.dslca-modules-section-settings input[data-id="'+l+'"]',k).val(j.value),k.addClass("dslca-modules-section-change-made"),g.text(d),i=a.find(".ui-slider-handle"),h=i[0].style.left,g.css({left:h})},stop:function(a,b){g.hide();var c=jQuery(window).scrollTop();dslc_masonry(),jQuery(window).scrollTop(c)},start:function(b,c){d=c.value,g.show(),g.text(d),i=a.find(".ui-slider-handle"),h=i[0].style.left,g.css({left:h})}})})}function dslc_row_edit_scrollbar_init(){dslcDebug&&console.log("dslc_row_edit_scrollbar_init");var a=0;jQuery(".dslca-modules-section-edit-option").each(function(){a+=jQuery(this).outerWidth(!0)+1}),a>jQuery(".dslca-modules-section-edit-options").width()?jQuery(".dslca-modules-section-edit-options-wrapper").width(a):jQuery(".dslca-modules-section-edit-options-wrapper").width("auto"),jQuery("body").hasClass("rtl")||(jQuery(".dslca-modules-section-edit-options-inner").data("jsp")&&jQuery(".dslca-modules-section-edit-options-inner").data("jsp").destroy(),jQuery(".dslca-modules-section-edit-options-inner").jScrollPane())}function dslc_row_edit_cancel(a){dslcDebug&&console.log("dslc_row_cancel_changes"),a="undefined"!=typeof a?a:!1,jQuery(".dslca-modules-section-being-edited .dslca-modules-section-settings input").each(function(){jQuery(this).val(jQuery(this).data("def")),jQuery('.dslca-modules-section-edit-field[data-id="'+jQuery(this).data("id")+'"]').val(jQuery(this).data("def")).trigger("change")}),dslc_show_section(".dslca-modules"),jQuery(".dslca-row-edit-actions").hide(),jQuery(".dslca-row-options-filter-hook").hide(),jQuery(".dslca-header .dslca-go-to-section-hook").show(),jQuery(".dslca-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"}),jQuery(".dslca-modules-section-being-edited").removeClass("dslca-modules-section-being-edited dslca-modules-section-change-made"),a&&a(),jQuery(".dslca-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"})}function dslc_row_edit_confirm(a){dslcDebug&&console.log("dslc_confirm_row_changes"),a="undefined"!=typeof a?a:!1,jQuery(".dslca-modules-section-being-edited .dslca-modules-section-settings input").each(function(){jQuery(this).data("def",jQuery(this).val())}),dslc_show_section(".dslca-modules"),jQuery(".dslca-row-edit-actions").hide(),jQuery(".dslca-row-options-filter-hook").hide(),jQuery(".dslca-header .dslca-go-to-section-hook").show(),jQuery(".dslca-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"}),jQuery(".dslca-modules-section-being-edited").removeClass("dslca-modules-section-being-edited dslca-modules-section-change-made"),dslc_generate_code(),dslc_show_publish_button(),a&&a(),jQuery(".dslca-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"})}function dslc_row_copy(a){dslcDebug&&console.log("dslc_row_copy");var b,c,d;c=a.clone().appendTo("#dslc-main"),c.find(".dslc-modules-area").each(function(){var b=jQuery(this).index();jQuery(this).data("size",a.find(".dslc-modules-area:eq( "+b+" )").data("size"))}),c.find(".dslc-module-front").css({"-webkit-animation-name":"none","-moz-animation-name":"none","animation-name":"none","animation-duration":"0","-webkit-animation-duration":"0",opacity:0}).each(function(){d=jQuery(this),jQuery.ajax({type:"POST",method:"POST",url:DSLCAjax.ajaxurl,data:{action:"dslc-ajax-get-new-module-id"},async:!1}).done(function(a){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),b=a.output,d.data("module-id",b).attr("id","dslc-module-"+b).addClass("dslca-module-being-edited"),dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited").animate({opacity:1},300)})})}),dslc_drag_and_drop(),dslc_generate_code(),dslc_show_publish_button()}function dslc_row_import(a){dslcDebug&&console.log("dslc_row_import"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-import-modules-section",dslc:"active",dslc_modules_section_code:a},function(a){dslc_js_confirm_close(),jQuery("#dslc-main").append(a.output),dslc_bg_video(),dslc_carousel(),dslc_masonry(jQuery("#dslc-main").find(".dslc-modules-section:last-child")),dslc_drag_and_drop(),dslc_show_publish_button(),dslc_generate_code()})}function dslc_add_modules_section(){dslc_row_add()}function dslc_delete_modules_section(a){dslc_row_delete(a)}function dslc_edit_modules_section(a){dslc_row_edit(a)}function dslc_edit_modules_section_colorpicker(){dslc_row_edit_colorpicker_init()}function dslc_edit_modules_section_slider(){dslc_row_edit_slider_init()}function dslc_edit_modules_section_scroller(){dslc_row_edit_scrollbar_init()}function dslc_copy_modules_section(a){dslc_row_copy(a)}function dslc_import_modules_section(a){dslc_row_import(a)}function dslc_modules_area_add(a){dslcDebug&&console.log("dslc_add_modules_area"),jQuery("body").addClass("dslca-anim-in-progress"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-modules-area",dslc:"active"},function(b){jQuery(".dslca-modules-area-loading .dslca-module-loading-inner",a.closest(".dslc-modules-section")).stop().animate({width:"100%"},200,"linear",function(){a.css({paddingBottom:0}),jQuery(this).closest(".dslca-modules-area-loading").hide()}),setTimeout(function(){jQuery(b.output).appendTo(a).css({height:0}).animate({height:99},300,function(){jQuery(this).css({height:"auto"})}).addClass("dslca-init-animation"),dslc_drag_and_drop(),dslc_generate_code(),dslc_show_publish_button(),jQuery("body").removeClass("dslca-anim-in-progress")},250)});var b=100*Math.floor(51*Math.random()+50);a.animate({paddingBottom:50},150),jQuery(".dslca-modules-area-loading",a.closest(".dslc-modules-section")).show(),jQuery(".dslca-modules-area-loading .dslca-module-loading-inner",a.closest(".dslc-modules-section")).css({width:0}).animate({width:"100%"},b,"linear")}function dslc_modules_area_delete(a){dslcDebug&&console.log("dslc_delete_modules_area");var b=a.closest(".dslc-modules-section").find(".dslc-modules-section-inner"),c=!1;a.addClass("dslca-modules-area-being-deleted"),b.find(".dslc-modules-area").length<2&&(c=!0),a.find(".dslca-module-being-edited").length&&(jQuery(".dslca-header .dslca-options-filter-hook").hide(),jQuery(".dslca-module-edit-actions").hide(),jQuery(".dslca-header .dslca-go-to-section-hook").show(),dslc_show_section(".dslca-modules")),setTimeout(function(){a.remove(),dslc_generate_code(),dslc_show_publish_button(),c&&dslc_modules_area_add(b)},900),a.css({"-webkit-animation-name":"dslcBounceOut","-moz-animation-name":"dslcBounceOut","animation-name":"dslcBounceOut","animation-duration":"0.6s","-webkit-animation-duration":"0.6s",overflow:"hidden"}).animate({opacity:0},600).animate({height:0,marginBottom:0},300,function(){a.remove(),dslc_generate_code(),dslc_show_publish_button()})}function dslc_modules_area_copy(a){dslcDebug&&console.log("dslc_copy_modules_area");var b,c=a.closest(".dslc-modules-section").find(".dslc-modules-section-inner"),d=a.clone().appendTo(c);d.find(".dslca-modules-area-manage").trigger("mouseleave"),d.data("size",a.data("size")).find(".dslc-module-front").css({"-webkit-animation-name":"none","-moz-animation-name":"none","animation-name":"none","animation-duration":"0","-webkit-animation-duration":"0",opacity:0}).each(function(){var a=jQuery(this);jQuery.ajax({type:"POST",method:"POST",url:DSLCAjax.ajaxurl,data:{action:"dslc-ajax-get-new-module-id"},async:!1}).done(function(c){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),b=c.output,a.data("module-id",b).attr("id","dslc-module-"+b).addClass("dslca-module-being-edited"),dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited").animate({opacity:1},300)})})}),dslc_drag_and_drop(),dslc_generate_code(),dslc_show_publish_button()}function dslc_modules_area_width_set(a,b){dslcDebug&&console.log("dslc_modules_area_width_set");var c="dslc-"+b+"-col";a.removeClass("dslc-1-col dslc-2-col dslc-3-col dslc-4-col dslc-5-col dslc-6-col dslc-7-col dslc-8-col dslc-9-col dslc-10-col dslc-11-col dslc-12-col").addClass(c).data("size",b),dslc_init_square(),dslc_center(),dslc_generate_code(),dslc_show_publish_button(),dslc_masonry()}function dslc_add_modules_area(a){dslc_modules_area_add(a)}function dslc_delete_modules_area(a){dslc_modules_area_delete(a)}function dslc_copy_modules_area(a){dslc_modules_area_copy(a)}function dslc_module_delete(a){dslcDebug&&console.log("dslc_delete_module"),a.addClass("dslca-module-being-deleted"),a.hasClass("dslca-module-being-edited")&&dslc_show_section(".dslca-modules"),setTimeout(function(){a.remove(),dslc_generate_code(),dslc_show_publish_button()},1e3),a.css({"-webkit-animation-name":"dslcBounceOut2","-moz-animation-name":"dslcBounceOut2","animation-name":"dslcBounceOut2","animation-duration":"0.6s","-webkit-animation-duration":"0.6s"}).animate({opacity:0},500,function(){a.css({marginBottom:0}).animate({height:0},400,"easeOutQuart")})}function dslc_module_copy(a){dslcDebug&&console.log("dslc_copy_module");var b;jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-get-new-module-id"},function(c){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),b=c.output,a.clone().appendTo(a.closest(".dslc-modules-area")).css({"-webkit-animation-name":"none","-moz-animation-name":"none","animation-name":"none","animation-duration":"0","-webkit-animation-duration":"0",opacity:0}).data("module-id",b).attr("id","dslc-module-"+b).addClass("dslca-module-being-edited"),dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited").css({opacity:0}).removeClass("dslca-module-being-edited").animate({opacity:1},300)})})}function dslc_module_width_set(a,b){dslcDebug&&console.log("dslc_module_width_set");var c="dslc-"+b+"-col";a.removeClass("dslc-1-col dslc-2-col dslc-3-col dslc-4-col dslc-5-col dslc-6-col dslc-7-col dslc-8-col dslc-9-col dslc-10-col dslc-11-col dslc-12-col").addClass(c).data("dslc-module-size",b).addClass("dslca-module-being-edited"),
2
  jQuery('.dslca-module-option-front[data-id="dslc_m_size"]',a).val(b),dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited")})}function dslc_module_options_show(a){dslcDebug&&console.log("dslc_module_options_show");var b=jQuery(".dslca-module-being-edited"),c=jQuery(".dslca-module-options-front textarea",b),d=jQuery(".dslca-header").data("default-section"),e={};e.action="dslc-ajax-display-module-options",e.dslc="active",e.dslc_module_id=a,e.dslc_post_id=jQuery(".dslca-container").data("data-post-id"),c.each(function(){var a=jQuery(this),b=a.data("id"),c=a.val();e[b]=c}),jQuery(".dslca-wp-editor-actions").hide(),jQuery(".dslca-wp-editor-notification").show(),jQuery.post(DSLCAjax.ajaxurl,e,function(a){jQuery(".dslca-save-composer-hook").css({visibility:"hidden"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"hidden"}),dslc_show_section(".dslca-module-edit"),jQuery("body").hasClass("rtl")?jQuery(".dslca-module-edit-options-inner").html(a.output):jQuery(".dslca-module-edit-options-inner .jspPane").html(a.output),jQuery(".dslca-module-edit-options-tabs").html(a.output_tabs),jQuery(".dslca-header .dslca-options-filter-hook").show(),jQuery('.dslca-module-edit-option[data-section="'+d+'"]').length?(jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+d+'"]').show(),jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+d+'"]').trigger("click")):(jQuery(".dslca-header .dslca-options-filter-hook:first").hide(),jQuery(".dslca-header .dslca-options-filter-hook:first").next(".dslca-options-filter-hook").trigger("click")),jQuery(".dslca-module-edit-actions").show(),jQuery(".dslca-wp-editor-notification").hide(),jQuery(".dslca-wp-editor-actions").show(),jQuery(".dslca-header .dslca-go-to-section-hook").hide(),jQuery(".dslca-row-edit-actions").hide(),dslc_module_options_color(),dslc_modules_options_box_shadow_color(),dslc_modules_options_text_shadow_color(),dslc_module_options_numeric();var b=jQuery(".dslca-module-options-front",".dslca-module-being-edited").children().clone();jQuery(".dslca-module-options-front-backup").html("").append(b)})}function dslc_module_options_scrollbar(){dslcDebug&&console.log("dslc_module_options_scrollbar");var a=0;if(jQuery(".dslca-module-edit-option:visible").each(function(){a+=jQuery(this).outerWidth(!0)+1}),a>jQuery(".dslca-module-edit-options").width()?jQuery(".dslca-module-edit-options-wrapper").width(a):jQuery(".dslca-module-edit-options-wrapper").width("auto"),!jQuery("body").hasClass("rtl")&&jQuery(".dslca-module-edit-options-inner").data("jsp")){var b=jQuery(".dslca-module-edit-options-inner").data("jsp");b.reinitialise()}}function dslc_module_options_section_filter(a){dslcDebug&&console.log("dslc_module_options_section_filter"),jQuery(".dslca-module-edit-option").hide(),jQuery('.dslca-module-edit-option[data-section="'+a+'"]').show(),dslc_module_options_tab_filter()}function dslc_module_options_tab_filter(a){dslcDebug&&console.log("dslc_module_options_tab_filter");var b=jQuery(".dslca-options-filter-hook.dslca-active").data("section");a="undefined"!=typeof a?a:jQuery('.dslca-module-edit-options-tab-hook[data-section="'+b+'"]:first');var c=a.data("id");jQuery(".dslca-module-edit-options-tab-hook").removeClass("dslca-active"),a.addClass("dslca-active"),jQuery(".dslca-module-edit-options-tabs").show(),jQuery(".dslca-module-edit-options-tab-hook").hide(),jQuery('.dslca-module-edit-options-tab-hook[data-section="'+b+'"]').show(),c&&(jQuery(".dslca-module-edit-option").hide(),jQuery('.dslca-module-edit-option[data-tab="'+c+'"]').show(),dslc_module_options_scrollbar(),dslc_module_options_hideshow_tabs(),jQuery(".dslca-module-edit-options-tab-hook:visible").length<2?jQuery(".dslca-module-edit-options-tabs").hide():jQuery(".dslca-module-edit-options-tabs").show(),c==DSLCString.str_res_tablet+"_responsive"&&(jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet"),jQuery("body").addClass("dslc-res-tablet")),c==DSLCString.str_res_phone+"_responsive"&&(jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet"),jQuery("body").addClass("dslc-res-phone")),(c==DSLCString.str_res_tablet+"_responsive"||c==DSLCString.str_res_phone+"_responsive")&&(jQuery(".dslca-container-loader").show(),dslc_module_output_altered(function(){jQuery(".dslca-container-loader").hide()})))}function dslc_module_options_hideshow_tabs(){dslcDebug&&console.log("dslc_module_options_hideshow_tabs");var a=jQuery(".dslca-options-filter-hook.dslca-active").data("section");if("styling"==a){var c=(jQuery(".dslca-module-edit"),!0),d=!0,e=!0,f=!0,g=!0,h=!0,i=!0,j=!0,k=!0,l=!0,m=!0,n=!0,o=!0,p=!0,q=!0,r=!0,s=!0,t=!0,u=!0,v=!0,w=!0,x=!0,y=!0,z=!0,A=!0;jQuery('.dslca-module-edit-field[value="main_heading"]').is(":checked")||(c=!1),jQuery('.dslca-module-edit-field[value="filters"]').is(":checked")||(d=!1),jQuery('.dslca-module-edit-field[value="arrows"]').is(":checked")||(e=!1),jQuery('.dslca-module-edit-field[value="circles"]').is(":checked")||(f=!1),"carousel"!=jQuery('.dslca-module-edit-field[data-id="type"]').val()&&(e=!1,f=!1),"disabled"==jQuery('.dslca-module-edit-field[data-id="pagination_type"]').val()&&(g=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="thumbnail"]').is(":checked")||(h=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="title"]').is(":checked")&&(i=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="excerpt"]').is(":checked")||(j=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="meta"]').is(":checked")||(k=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="button"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="button"]').is(":checked")&&(l=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="categories"]').is(":checked")||(m=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="separator"]').is(":checked")||(o=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="count"]').is(":checked")||(n=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="tags"]').is(":checked")||(p=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="social"]').is(":checked")||(q=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="position"]').is(":checked")||(r=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').is(":checked")&&(s=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').is(":checked")&&(t=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="price"]').is(":checked")||(u=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="price_2"]').is(":checked")||(v=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="addtocart"]').is(":checked")||(w=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="details"]').is(":checked")||(x=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="quote"]').is(":checked")||(y=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_name"]').is(":checked")||(z=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_position"]').is(":checked")||(A=!1),c?jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').hide(),d?jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').hide(),e?jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_arrows_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_arrows_styling"]').hide(),f?jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_circles_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="carousel_circles_styling"]').hide(),g?jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').hide(),h?jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').hide(),i?jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').hide(),j?jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').hide(),k?jQuery('.dslca-module-edit-options-tab-hook[data-id="meta_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="meta_styling"]').hide(),l?jQuery('.dslca-module-edit-options-tab-hook[data-id="button_styling"], .dslca-module-edit-options-tab-hook[data-id="primary_button_styling"], .dslca-module-edit-options-tab-hook[data-id="secondary_button_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="button_styling"], .dslca-module-edit-options-tab-hook[data-id="primary_button_styling"], .dslca-module-edit-options-tab-hook[data-id="secondary_button_styling"]').hide(),m?jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').hide(),o?jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').hide(),n?jQuery('.dslca-module-edit-options-tab-hook[data-id="count_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="count_styling"]').hide(),p?jQuery('.dslca-module-edit-options-tab-hook[data-id="tags_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="tags_styling"]').hide(),r?jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').hide(),q?jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').hide(),s?jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').hide(),t?jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').hide(),u?jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').hide(),v?jQuery('.dslca-module-edit-options-tab-hook[data-id="price_secondary_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="price_secondary_styling"]').hide(),w||x?jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').hide(),y?jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').hide(),z?jQuery('.dslca-module-edit-options-tab-hook[data-id="author_name_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="author_name_styling"]').hide(),A?jQuery('.dslca-module-edit-options-tab-hook[data-id="author_position_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="author_position_styling"]').hide()}if(jQuery('.dslca-options-filter-hook[data-section="styling"]').hasClass("dslca-active")){if("DSLC_Text_Simple"==jQuery(".dslca-module-being-edited").data("dslc-module-id")||"DSLC_TP_Content"==jQuery(".dslca-module-being-edited").data("dslc-module-id")||"DSLC_Html"==jQuery(".dslca-module-being-edited").data("dslc-module-id")){var B=jQuery('.dslca-module-edit-option[data-id="css_custom"]'),C=B.find("select").val();"enabled"==C?(jQuery('.dslca-module-edit-option[data-section="styling"]').css({visibility:"visible"}),jQuery(".dslca-module-edit-options-tabs").show()):(jQuery('.dslca-module-edit-option[data-section="styling"]').css({visibility:"hidden"}),jQuery(".dslca-module-edit-options-tabs").hide(),B.css({visibility:"visible"}))}}else jQuery(".dslca-module-edit-options-tabs").show();"disabled"==jQuery('select.dslca-module-edit-field[data-id="css_res_t"]').val()?jQuery('.dslca-module-edit-option[data-id*="css_res_t"]').css("visibility","hidden"):jQuery('.dslca-module-edit-option[data-id*="css_res_t"]').css("visibility","visible"),"disabled"==jQuery('select.dslca-module-edit-field[data-id="css_res_p"]').val()?jQuery('.dslca-module-edit-option[data-id*="css_res_p"]').css("visibility","hidden"):jQuery('.dslca-module-edit-option[data-id*="css_res_p"]').css("visibility","visible"),jQuery('.dslca-module-edit-option[data-id="css_res_p"], .dslca-module-edit-option[data-id="css_res_t"]').css("visibility","visible")}function dslc_module_options_confirm_changes(a){dslcDebug&&console.log("dslc_module_options_confirm_changes"),a="undefined"!=typeof a?a:!1,jQuery(".dslca-module-being-edited").hasClass("dslc-module-DSLC_Sliders")?jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"):(jQuery("body").addClass("dslca-module-saving-in-progress"),dslc_module_output_altered(function(){dslc_update_preset(),jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),jQuery("body").removeClass("dslca-module-saving-in-progress"),jQuery("body").hasClass("rtl")?jQuery(".dslca-module-edit-options-inner").html(""):jQuery(".dslca-module-edit-options-inner .jspPane").html(""),jQuery(".dslca-module-edit-options-tabs").html(""),a&&a()})),dslc_show_section(".dslca-modules"),jQuery(".dslca-header .dslca-options-filter-hook").hide(),jQuery(".dslca-module-edit-actions").hide(),jQuery(".dslca-header .dslca-go-to-section-hook").show(),jQuery(".dslca-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"})}function dslc_module_options_cancel_changes(a){dslcDebug&&console.log("dslc_module_options_cancel_changes"),a="undefined"!=typeof a?a:!1;var b=jQuery(".dslca-module-being-edited"),c=jQuery(".dslca-module-options-front-backup").children().clone();jQuery(".dslca-module-options-front",b).html("").append(c),dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),jQuery("body").hasClass("rtl")?jQuery(".dslca-module-edit-options-inner").html(""):jQuery(".dslca-module-edit-options-inner .jspPane").html(""),jQuery(".dslca-module-edit-options-tabs").html(""),a&&a()}),dslc_show_section(".dslca-modules"),jQuery(".dslca-header .dslca-options-filter-hook").hide(),jQuery(".dslca-module-edit-actions").hide(),jQuery(".dslca-header .dslca-go-to-section-hook").show(),jQuery(".dslca-save-composer-hook").css({visibility:"visible"}),jQuery(".dslca-save-draft-composer-hook").css({visibility:"visible"})}function dslc_module_options_tooltip(){jQuery(document).on("click",".dslca-module-edit-field-ttip-close",function(){jQuery(".dslca-module-edit-field-ttip, .dslca-module-edit-field-icon-ttip").hide()}),jQuery(document).on("click",".dslca-module-edit-field-ttip-hook",function(){var a=jQuery(".dslca-module-edit-field-ttip"),b=a.find(".dslca-module-edit-field-ttip-inner"),c=jQuery(this),d=c.closest(".dslca-module-edit-option").find(".dslca-module-edit-field-ttip-content").html();if(a.is(":visible"))jQuery(".dslca-module-edit-field-ttip").hide();else{b.html(d);var e=c.offset(),f=a.outerHeight(),g=a.outerWidth(),h=e.left-g/2+6,i="50%";0>h&&(i=g/2+h+"px",h=0),jQuery(".dslca-module-edit-field-ttip").show().css({top:e.top-f-20,left:h}),jQuery("head").append(jQuery("<style>.dslca-module-edit-field-ttip:after, .dslca-module-edit-field-ttip:before { left: "+i+" }</style>"))}}),jQuery(document).on("click",".dslca-module-edit-field-icon-ttip-hook",function(){var a=jQuery(".dslca-module-edit-field-icon-ttip"),b=jQuery(this);if(a.is(":visible"))jQuery(".dslca-module-edit-field-icon-ttip").hide();else{var c=b.offset(),d=a.outerHeight(),e=a.outerWidth(),f=c.left-e/2+6,g="50%";0>f&&(g=e/2+f+"px",f=0),jQuery(".dslca-module-edit-field-icon-ttip").show().css({top:c.top-d-20,left:f}),jQuery("head").append(jQuery("<style>.dslca-module-edit-field-icon-ttip:after, .dslca-module-edit-field-icon-ttip:before { left: "+g+" }</style>"))}})}function dslc_module_options_font(){jQuery(document).on("click",".dslca-module-edit-field-font-next",function(a){if(a.preventDefault(),!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var b=jQuery(this).closest(".dslca-module-edit-option-font"),c=jQuery(".dslca-module-edit-field-font",b),d=dslcAllFontsArray.indexOf(c.val()),e=d+1;jQuery(".dslca-module-edit-field-font-suggest",b).text(""),c.val(dslcAllFontsArray[e]).trigger("change"),jQuery(this).addClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-chevron-right").addClass("dslc-icon-refresh dslc-icon-spin")}}),jQuery(document).on("click",".dslca-module-edit-field-font-prev",function(a){if(a.preventDefault(),!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var b=jQuery(this).closest(".dslca-module-edit-option-font"),c=jQuery(".dslca-module-edit-field-font",b),d=dslcAllFontsArray.indexOf(c.val()),e=d-1;jQuery(".dslca-module-edit-field-font-suggest",b).text(""),0>e&&(e=dslcAllFontsArray.length-1),c.val(dslcAllFontsArray[e]).trigger("change"),jQuery(this).addClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-chevron-left").addClass("dslc-icon-refresh dslc-icon-spin")}}),jQuery(document).on("keyup",".dslca-module-edit-field-font",function(a){var b,c,d,f,e=!1;if(b=jQuery(this),c=b.closest(".dslca-module-edit-option"),38==a.which&&jQuery(".dslca-module-edit-field-font-prev",c).click(),40==a.which&&jQuery(".dslca-module-edit-field-font-next",c).click(),13!=a.which&&38!=a.which&&40!=a.which){d=b.val();var h=new RegExp("^"+d,"i"),i=dslcAllFontsArray.length,j=0;do{if(h.test(dslcAllFontsArray[j])&&!e)var e=dslcAllFontsArray[j];j++}while(i>j);e?(f=e,jQuery(".dslca-module-edit-field-font-suggest",c).show()):(f=d,jQuery(".dslca-module-edit-field-font-suggest",c).hide()),jQuery(".dslca-module-edit-field-font-suggest",c).text(f),f.length&&b.val(f.substring(0,b.val().length))}}),jQuery(document).on("keypress",".dslca-module-edit-field-font",function(a){if(13==a.which){a.preventDefault();var b,c;b=jQuery(this),c=b.closest(".dslca-module-edit-option"),jQuery(this).val(jQuery(".dslca-module-edit-field-font-suggest",c).text()).trigger("change"),jQuery(".dslca-module-edit-field-font-suggest",c).text("")}})}function dslc_list_icon(a,b){var c=jQuery(a).closest(".dslca-module-edit-option-icon"),d=jQuery(".dslca-module-edit-field-icon",c),e=dslcIconsCurrentSet.indexOf(d.val());if("previous"==b)var f=e-1;else var f=e+1;jQuery(".dslca-module-edit-field-icon-suggest",c).text(""),0>f&&(f=dslcIconsCurrentSet.length-1),d.val(dslcIconsCurrentSet[f]).trigger("change")}function dslc_module_options_icon(){jQuery(document).on("keyup",".dslca-module-edit-field-icon",function(a){var b,c,d,e,f;b=jQuery(this),c=b.closest(".dslca-module-edit-option"),38==a.which&&dslc_list_icon(b,"previous"),40==a.which&&dslc_list_icon(b,"next"),13!=a.which&&38!=a.which&&40!=a.which&&(d=b.val().toLowerCase(),b.val(d),e=jQuery.grep(dslcIconsCurrentSet,function(a,b){return 0==a.indexOf(d)}),f=e[0],jQuery(".dslca-module-edit-field-icon-suggest",c).text(f))}),jQuery(document).on("keypress",".dslca-module-edit-field-icon",function(a){if(13==a.which){a.preventDefault();var b,c;b=jQuery(this),c=b.closest(".dslca-module-edit-option"),jQuery(this).val(jQuery(".dslca-module-edit-field-icon-suggest",c).text()).trigger("change"),jQuery(".dslca-module-edit-field-icon-suggest",c).text("")}})}function dslc_module_options_icon_returnid(){jQuery(document).on("click",'.dslca-open-modal-hook[data-modal^=".dslc-list-icons"]',function(a){jQuery(this).closest(".dslca-module-edit-option-icon").find("input").addClass("icon-modal-active")}),jQuery(document).on("click",".dslca-modal-icons .icon-item",function(a){var b=jQuery(this).find(".icon-item_name").text();jQuery("input.icon-modal-active").val(b).change(),dslc_hide_modal("",jQuery(".dslca-modal:visible"))})}function dslc_module_options_text_align(){jQuery(document).on("click",".dslca-module-edit-option-text-align-hook",function(){var a=jQuery(this),b=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").find(".dslca-module-edit-option-text-align-hook"),c=a.data("val"),d=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").siblings("input.dslca-module-edit-field");b.removeClass("dslca-active"),a.addClass("dslca-active"),d.val(c).trigger("change")})}function dslc_module_options_checkbox(){jQuery(document).on("click",".dslca-module-edit-option-checkbox-hook, .dslca-modules-section-edit-option-checkbox-hook",function(){var a=jQuery(this),b=a.siblings('input[type="checkbox"]');b.prop("checked")?(b.prop("checked",!1),a.find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")):(b.prop("checked",!0),a.find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")),b.change()})}function dslc_module_options_box_shadow(){dslcDebug&&console.log("dslc_module_options_box_shadow"),jQuery(document).on("change",".dslca-module-edit-option-box-shadow-hor, .dslca-module-edit-option-box-shadow-ver, .dslca-module-edit-option-box-shadow-blur, .dslca-module-edit-option-box-shadow-spread, .dslca-module-edit-option-box-shadow-color, .dslca-module-edit-option-box-shadow-inset",function(){var a=jQuery(this).closest(".dslca-module-edit-option"),b=a.find(".dslca-module-edit-field"),c=a.find(".dslca-module-edit-option-box-shadow-hor").val(),d=a.find(".dslca-module-edit-option-box-shadow-ver").val(),e=a.find(".dslca-module-edit-option-box-shadow-blur").val(),f=a.find(".dslca-module-edit-option-box-shadow-spread").val(),g=a.find(".dslca-module-edit-option-box-shadow-color").val(),h=a.find(".dslca-module-edit-option-box-shadow-inset").is(":checked");h=h?" inset":"";var i=c+"px "+d+"px "+e+"px "+f+"px "+g+h;b.val(i).trigger("change")})}function dslc_modules_options_box_shadow_color(){var b,c,a=[];if(a[0]=[],a[1]=[],a[2]=[],a[3]=[],void 0==localStorage.dslcColorpickerPalleteStorage);else for(b=JSON.parse(localStorage.dslcColorpickerPalleteStorage),c=0;c<b.length;c++){var d=Math.floor(c/3);4>d&&a[d].push(b[c])}jQuery(".dslca-module-edit-option-box-shadow-color").each(function(){var d,e,b=jQuery(this),c=b.val();jQuery(this).spectrum({color:c,showInput:!0,allowEmpty:!0,showAlpha:!0,clickoutFiresChange:!0,cancelText:"",chooseText:"",preferredFormat:"rgb",showPalette:!0,palette:a,move:function(a){d=jQuery(this),e=null==a?"transparent":a.toRgbString().replace(/ /g,""),d.val(e).trigger("change")},change:function(a){if(d=jQuery(this),e=null==a?"transparent":a.toRgbString().replace(/ /g,""),d.val(e).trigger("change"),void 0==localStorage.dslcColorpickerPalleteStorage){var b=[e];localStorage.dslcColorpickerPalleteStorage=JSON.stringify(b)}else{var b=JSON.parse(localStorage.dslcColorpickerPalleteStorage);-1==b.indexOf(e)&&b.unshift(e),localStorage.dslcColorpickerPalleteStorage=JSON.stringify(b)}},show:function(a){jQuery("body").addClass("dslca-disable-selection")},hide:function(){jQuery("body").removeClass("dslca-disable-selection")}})})}function dslc_module_options_text_shadow(){dslcDebug&&console.log("dslc_module_options_text_shadow"),jQuery(document).on("change",".dslca-module-edit-option-text-shadow-hor, .dslca-module-edit-option-text-shadow-ver, .dslca-module-edit-option-text-shadow-blur, .dslca-module-edit-option-text-shadow-color",function(){var a=jQuery(this).closest(".dslca-module-edit-option"),b=a.find(".dslca-module-edit-field"),c=a.find(".dslca-module-edit-option-text-shadow-hor").val(),d=a.find(".dslca-module-edit-option-text-shadow-ver").val(),e=a.find(".dslca-module-edit-option-text-shadow-blur").val(),f=a.find(".dslca-module-edit-option-text-shadow-color").val(),g=c+"px "+d+"px "+e+"px "+f;b.val(g).trigger("change")})}function dslc_modules_options_text_shadow_color(){jQuery(".dslca-module-edit-option-text-shadow-color").each(function(){var c,d,a=jQuery(this),b=a.val();jQuery(this).spectrum({color:b,showInput:!0,allowEmpty:!0,showAlpha:!0,clickoutFiresChange:!0,cancelText:"",chooseText:"",preferredFormat:"rgb",move:function(a){c=jQuery(this),d=null==a?"transparent":a.toRgbString().replace(/ /g,""),c.val(d).trigger("change")},change:function(a){c=jQuery(this),d=null==a?"transparent":a.toRgbString().replace(/ /g,""),c.val(d).trigger("change")},show:function(a){jQuery("body").addClass("dslca-disable-selection")},hide:function(){jQuery("body").removeClass("dslca-disable-selection")}})})}function dslc_module_options_color(){dslcDebug&&console.log("dslc_module_options_color");var a,b,c,d,e,f,g,i,j,h=[];if(h[0]=[],h[1]=[],h[2]=[],h[3]=[],void 0==localStorage.dslcColorpickerPalleteStorage);else for(i=JSON.parse(localStorage.dslcColorpickerPalleteStorage),j=0;j<i.length;j++){var k=Math.floor(j/3);4>k&&h[k].push(i[j])}jQuery(".dslca-module-edit-field-colorpicker").each(function(){g=jQuery(this).val(),jQuery(this).spectrum({color:g,showInput:!0,allowEmpty:!0,showAlpha:!0,clickoutFiresChange:!0,cancelText:"",chooseText:"",preferredFormat:"rgb",showPalette:!0,palette:h,move:function(g){a=jQuery(this),d=null==g?"transparent":g.toRgbString(),a.val(d),b=a.data("affect-on-change-el"),c=a.data("affect-on-change-rule"),jQuery(b,".dslca-module-being-edited").css(c,d),e=jQuery(".dslca-module-being-edited"),f=a.data("id"),jQuery('.dslca-module-option-front[data-id="'+f+'"]',e).val(d),e.addClass("dslca-module-change-made")},change:function(g){if(a=jQuery(this),d=null==g?"transparent":g.toRgbString(),a.val(d),b=a.data("affect-on-change-el"),c=a.data("affect-on-change-rule"),jQuery(b,".dslca-module-being-edited").css(c,d),e=jQuery(".dslca-module-being-edited"),f=a.data("id"),jQuery('.dslca-module-option-front[data-id="'+f+'"]',e).val(d),e.addClass("dslca-module-change-made"),void 0==localStorage.dslcColorpickerPalleteStorage){var h=[d];localStorage.dslcColorpickerPalleteStorage=JSON.stringify(h)}else{var h=JSON.parse(localStorage.dslcColorpickerPalleteStorage);-1==h.indexOf(d)&&h.unshift(d),localStorage.dslcColorpickerPalleteStorage=JSON.stringify(h)}},show:function(a){jQuery("body").addClass("dslca-disable-selection")},hide:function(){jQuery("body").removeClass("dslca-disable-selection")}})}),jQuery(".dslca-sp-revert").click(function(){var a=jQuery(".sp-replacer.sp-active").closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("default");jQuery(this).closest(".sp-container").find(".sp-input").val(a).trigger("change")})}function dslc_module_options_numeric(){dslcDebug&&console.log("dslc_module_options_numeric"),jQuery(".dslca-module-edit-field-slider").each(function(){var a,c,d,e,f,g,h,j,k,l,m;a=jQuery(this),c=a.siblings(".dslca-module-edit-field"),g=a.closest(".dslca-module-edit-option-slider").find(".dslca-module-edit-field-slider-tooltip"),a.slider({min:c.data("min"),max:c.data("max"),step:c.data("increment"),value:c.val(),slide:function(b,i){l=c.data("ext"),d=i.value+l,c.val(d),f=c.data("affect-on-change-el"),e=c.data("affect-on-change-rule").replace(/ /g,""),m=e.split(",");for(var n=0;n<m.length;n++)jQuery(f,".dslca-module-being-edited").css(m[n],d);j=jQuery(".dslca-module-being-edited"),k=c.data("id"),jQuery('.dslca-module-option-front[data-id="'+k+'"]',j).val(i.value),j.addClass("dslca-module-change-made"),g.text(d);var o=a.find(".ui-slider-handle");h=o[0].style.left,g.css({left:h}),dslc_masonry(j),dslc_init_square(),dslc_center(),dslc_init_square(j)},stop:function(a,b){g.hide()},start:function(a,b){g.show(),g.text(d),h=b.handle.style.left,g.css({left:h})}})})}function dslc_module_output_default(a,b){dslcDebug&&console.log("dslc_module_output_default"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-module",dslc:"active",dslc_module_id:a,dslc_post_id:jQuery(".dslca-container").data("post-id")},function(a){b(a)})}function dslc_module_output_altered(a){dslcDebug&&console.log("dslc_module_output_altered"),a="undefined"!=typeof a?a:!1;var b=jQuery(".dslca-module-being-edited"),c=b.data("dslc-module-id"),d=jQuery(".dslca-module-options-front textarea",b),e=b.data("module-id"),f={};f.action="dslc-ajax-add-module",f.dslc="active",f.dslc_module_id=c,f.dslc_module_instance_id=e,f.dslc_post_id=jQuery(".dslca-container").data("post-id"),b.hasClass("dslca-preload-preset")?f.dslc_preload_preset="enabled":f.dslc_preload_preset="disabled",b.removeClass("dslca-preload-preset"),d.each(function(){var a=jQuery(this),b=a.data("id"),c=a.val();f[b]=c}),jQuery.post(DSLCAjax.ajaxurl,f,function(c){b.after(c.output).next().addClass("dslca-module-being-edited"),b.remove(),dslc_generate_code(),dslc_show_publish_button(),dslc_carousel(),dslc_masonry(jQuery(".dslca-module-being-edited")),jQuery(".dslca-module-being-edited img").load(function(){dslc_masonry(jQuery(".dslca-module-being-edited")),dslc_center()}),dslc_tabs(),dslc_init_accordion(),dslc_init_square(),dslc_center(),a&&a(c)})}function dslc_module_output_reload(a,b){dslcDebug&&console.log("dslc_module_output_reload"),b="undefined"!=typeof b?b:!1;var c=a.data("dslc-module-id"),d=jQuery(".dslca-module-options-front textarea",a),e=a.data("module-id"),f={};f.action="dslc-ajax-add-module",f.dslc="active",f.dslc_module_id=c,f.dslc_module_instance_id=e,f.dslc_post_id=jQuery(".dslca-container").data("post-id"),f.dslc_preload_preset="enabled",a.removeClass("dslca-preload-preset"),d.each(function(){var a=jQuery(this),b=a.data("id"),c=a.val();f[b]=c}),a.append('<div class="dslca-module-reloading"><span class="dslca-icon dslc-icon-spin dslc-icon-refresh"></span></div>'),jQuery.post(DSLCAjax.ajaxurl,f,function(c){a.after(c.output).next().addClass("dslca-module-being-edited"),a.remove(),dslc_generate_code(),dslc_show_publish_button(),dslc_carousel(),dslc_masonry(jQuery(".dslca-module-being-edited")),jQuery(".dslca-module-being-edited img").load(function(){dslc_masonry(jQuery(".dslca-module-being-edited")),dslc_center()}),dslc_tabs(),dslc_init_accordion(),dslc_init_square(),dslc_center(),b&&b(c),jQuery(".dslca-module-being-edited").removeClass("dslca-module-being-edited")})}function dslc_delete_module(a){dslc_module_delete(a)}function dslc_copy_module(a){dslc_module_copy(a)}function dslc_display_module_options(a){dslc_module_options_show(a)}function dslc_filter_module_options(a){dslc_module_options_section_filter(a)}function dslc_show_module_options_tab(a){dslc_module_options_tab_filter(a)}function dslc_confirm_changes(a){dslc_module_options_confirm_changes(a)}function dslc_cancel_changes(a){dslc_module_options_cancel_changes(a)}function dslc_init_colorpicker(){dslc_module_options_color()}function dslc_init_options_slider(){dslc_module_options_numeric()}function dslc_init_options_scrollbar(){dslc_module_options_scrollbar()}function dslc_module_edit_options_hideshow_tabs(){dslc_module_options_hideshow_tabs()}function dslc_get_module_output(a,b){dslc_module_output_default(a,b)}function dslc_preview_change(a){dslc_module_output_altered(a)}function dslc_reload_module(a,b){dslc_module_output_reload(a,b)}function dslc_template_load(a){dslcDebug&&console.log("dslc_load_template");jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-load-template",dslc:"active",dslc_template_id:a},function(a){jQuery("#dslc-main").html(a.output),dslc_carousel(),dslc_drag_and_drop(),dslc_show_publish_button(),dslc_generate_code()})}function dslc_template_import(){dslcDebug&&console.log("dslc_import_template");jQuery(".dslca-modal-templates-import .dslca-modal-title").css({
3
+ opacity:0}),jQuery(".dslca-modal-templates-import .dslca-loading").show(),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-import-template",dslc:"active",dslc_template_code:jQuery("#dslca-import-code").val()},function(a){jQuery("#dslc-main").html(a.output),jQuery(".dslca-modal-templates-import .dslca-loading").hide(),jQuery(".dslca-modal-templates-import .dslca-modal-title").css({opacity:1}),dslc_hide_modal("",".dslca-modal-templates-import"),dslc_bg_video(),dslc_center(),dslc_drag_and_drop(),dslc_show_publish_button(),dslc_generate_code()})}function dslc_template_save(){dslcDebug&&console.log("dslc_save_template"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-template",dslc:"active",dslc_template_code:jQuery("#dslca-code").val(),dslc_template_title:jQuery("#dslca-save-template-title").val()},function(a){dslc_hide_modal("",".dslca-modal-templates-save")})}function dslc_template_delete(a){dslcDebug&&console.log("dslc_delete_template"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-delete-template",dslc:"active",dslc_template_id:a},function(b){jQuery('.dslca-template[data-id="'+a+'"]').fadeOut(200,function(){jQuery(this).remove()})})}function dslc_load_template(a){dslc_template_load(a)}function dslc_import_template(){dslc_template_import()}function dslc_save_template(){dslc_template_save()}function dslc_delete_template(a){dslc_template_delete(a)}function dslc_save_composer(){dslcDebug&&console.log("dslc_save_composer");var a=jQuery("#dslca-code").val(),b=jQuery("#dslca-content-for-search").val(),c=jQuery(".dslca-container").data("post-id");jQuery("body").addClass("dslca-saving-in-progress"),jQuery(".dslca-save-composer .dslca-icon").removeClass("dslc-icon-ok").addClass("dslc-icon-spin dslc-icon-spinner"),jQuery.ajax({method:"POST",type:"POST",url:DSLCAjax.ajaxurl,data:{action:"dslc-ajax-save-composer",dslc:"active",dslc_post_id:c,dslc_code:a,dslc_content_for_search:b},timeout:1e4}).done(function(a){"success"==a.status?(jQuery(".dslca-save-composer").fadeOut(250),jQuery(".dslca-save-draft-composer").fadeOut(250)):alert("Something went wrong, please try to save again. Are you sure to make any changes? Error Code: "+a.status)}).fail(function(a){"timeout"==a.statusText?alert("The request timed out after 10 seconds. Server do not respond in time. Please try again."):alert("Something went wrong. Please try again. Error Code: "+a.statusText)}).always(function(a){jQuery(".dslca-save-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-ok"),jQuery("body").removeClass("dslca-saving-in-progress")})}function dslc_save_draft_composer(){dslcDebug&&console.log("dslc_save_draft_composer");var a=jQuery("#dslca-code").val(),b=jQuery(".dslca-container").data("post-id");jQuery("body").addClass("dslca-saving-in-progress"),jQuery(".dslca-save-draft-composer .dslca-icon").removeClass("dslc-icon-ok").addClass("dslc-icon-spin dslc-icon-spinner"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-draft-composer",dslc:"active",dslc_post_id:b,dslc_code:a},function(a){jQuery(".dslca-save-draft-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-save"),"success"==a.status?jQuery(".dslca-save-draft-composer").fadeOut(250):alert("Something went wrong, please try to save again."),jQuery("body").removeClass("dslca-saving-in-progress")})}function dslc_generate_code(){dslcDebug&&console.log("dslc_generate_code");var a,b,h,i,j,k,l,c="",d=12,e=12,f=0,g=0,m="";jQuery("#dslc-main .dslc-modules-area").each(function(){jQuery(".dslc-module-front",this).length?(jQuery(this).removeClass("dslc-modules-area-empty").addClass("dslc-modules-area-not-empty"),jQuery(".dslca-no-content",this).hide()):(jQuery(this).removeClass("dslc-modules-area-not-empty").addClass("dslc-modules-area-empty"),jQuery(".dslca-no-content:not(:visible)",this).show().css({"-webkit-animation-name":"dslcBounceIn","-moz-animation-name":"dslcBounceIn","animation-name":"dslcBounceIn","animation-duration":"0.6s","-webkit-animation-duration":"0.6s",padding:0}).animate({padding:"35px 0"},300))}),jQuery("#dslc-main .dslc-modules-section").each(function(){jQuery(".dslc-modules-area",this).length?jQuery(this).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty"):jQuery(this).removeClass("dslc-modules-section-not-empty").addClass("dslc-modules-section-empty")}),jQuery("#dslc-main .dslc-modules-area.dslc-last-col, .dslc-modules-area.dslc-first-col").removeClass("dslc-last-col dslc-first-col"),jQuery("#dslc-main .dslc-module-front.dslc-last-col, .dslc-module-front.dslc-first-col").removeClass("dslc-last-col dslc-first-col"),jQuery("#dslc-main .dslc-modules-section").each(function(){g=0,l=jQuery(this),m="",jQuery(".dslca-modules-section-settings input",l).each(function(){m=m+jQuery(this).data("id")+'="'+jQuery(this).val()+'" '}),c=c+"[dslc_modules_section "+m+"] ",jQuery(".dslc-modules-area",l).each(function(){i=jQuery(this),h=parseInt(i.data("size")),j="no",k="no",g+=h,g==e?(jQuery(this).addClass("dslc-last-col").next(".dslc-modules-area").addClass("dslc-first-col"),g=0,j="yes"):g>e&&(jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"),g=h,k="yes"),g==h&&(k="yes"),c=c+'[dslc_modules_area last="'+j+'" first="'+k+'" size="'+h+'"] ',jQuery(".dslc-module-front",i).each(function(){b=parseInt(jQuery(this).data("dslc-module-size"));var e="no",g="no";f+=b,f==d?(jQuery(this).addClass("dslc-last-col").next(".dslc-module-front").addClass("dslc-first-col"),f=0,e="yes"):f>d&&(jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"),f=b,g="yes"),f==d&&(g="yes",jQuery(this).addClass("dslc-last-col").next(".dslc-module-front").addClass("dslc-first-col"),f=0),a=jQuery(this).find(".dslca-module-code").val(),c=c+'[dslc_module last="'+e+'"]'+a+"[/dslc_module] "}),c+="[/dslc_modules_area] "}),c+="[/dslc_modules_section] "}),jQuery("#dslca-code").val(c),jQuery("#dslca-export-code").val(c),dslca_gen_content_for_search()}function dslc_generate_section_code(a){dslcDebug&&console.log("dslc_generate_section_code");var b,c,i,j,k,l,m,d="",f=12,g=0,h=0,n="";h=0;var m=a;return jQuery(".dslca-modules-section-settings input",m).each(function(){n=n+jQuery(this).data("id")+'="'+jQuery(this).val()+'" '}),d=d+"[dslc_modules_section "+n+"] ",jQuery(".dslc-modules-area",m).each(function(){j=jQuery(this),i=parseInt(j.data("size")),k="no",l="no",h+=i,h==f?(jQuery(this).addClass("dslc-last-col").next(".dslc-modules-area").addClass("dslc-first-col"),h=0,k="yes"):h>f&&(jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"),h=i,l="yes"),h==i&&(l="yes"),d=d+'[dslc_modules_area last="'+k+'" first="'+l+'" size="'+i+'"] ',jQuery(".dslc-module-front",j).each(function(){c=parseInt(jQuery(this).data("dslc-module-size")),g+=c,g==i&&(jQuery(this).addClass("dslc-last-col").next(".dslc-module-front").addClass("dslc-first-col"),g=0),b=jQuery(this).find(".dslca-module-code").val(),d=d+"[dslc_module]"+b+"[/dslc_module] "}),d+="[/dslc_modules_area] "}),d+="[/dslc_modules_section] "}function dslc_update_preset(){dslcDebug&&console.log("dslc_update_preset");var a=jQuery(".dslca-module-being-edited"),b=a.find('.dslca-module-option-front[data-id="css_load_preset"]').val(),c=a.find(".dslca-module-code").val(),d=a.data("dslc-module-id");"none"!==b&&jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-preset",dslc_preset_name:b,dslc_preset_code:c,dslc_module_id:d},function(b){jQuery(".dslc-module-front:not(#"+a.attr("id")+')[data-dslc-module-id="'+a.data("dslc-module-id")+'"][data-dslc-preset="'+a.data("dslc-preset")+'"]').each(function(){dslc_module_output_reload(jQuery(this))})})}function dslc_dm_get_defaults(a){dslcDebug&&console.log("dslc_dm_get_defaults");var b=a.find(".dslca-module-code").val();jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-dm-module-defaults",dslc:"active",dslc_modules_options:b},function(a){jQuery(".dslca-prompt-modal textarea").val(a.output)})}function dslca_gen_content_for_search(){dslcDebug&&console.log("dslca_gen_content_for_search");var a=document.getElementById("dslca-content-for-search"),b=a.value,c="",d=document.querySelectorAll("#dslc-main .dslc-module-front [data-exportable-content]");Array.prototype.forEach.call(d,function(a,b){var d;if(""!==a.getAttribute("data-exportable-content")){var e=a.getAttribute("data-exportable-content");d="<"+e+">"+a.innerHTML+"</"+e+">"}else d=a.innerHTML;null!==d&&(c+=d.replace(/\s+/g," ").trim()+"\n")}),a.value=c,b!==c&&dslc_show_publish_button()}function dslca_draggable_calc_center(a){dslcDebug&&console.log("dslca_draggable_calc_center"),jQuery(".dslc-modules-section-inner").sortable("option","cursorAt",{top:a.outerHeight()/2,left:a.outerWidth()/2})}function dslc_editable_content_gen_code(a){dslcDebug&&console.log("dslc_editable_content_gen_code");var b,c,d;b=a.closest(".dslc-module-front"),c=a.html().trim().replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea"),d=a.data("id"),jQuery('.dslca-module-option-front[data-id="'+d+'"]',b).val(c),dslc_show_publish_button()}var dslcRegularFontsArray=DSLCFonts.regular,dslcGoogleFontsArray=DSLCFonts.google,dslcAllFontsArray=dslcRegularFontsArray.concat(dslcGoogleFontsArray),dslcIconsCurrentSet=DSLCIcons.fontawesome,dslcDebug=!1;jQuery(document).ready(function(a){jQuery("body").hasClass("rtl")||jQuery(".dslca-module-edit-options-inner").jScrollPane(),a("body").addClass("dslca-enabled dslca-drag-not-in-progress"),a(".dslca-invisible-overlay").hide(),a(".dslca-section").eq(0).show(),dslc_drag_and_drop(),dslc_generate_code(),a(document).on("click",".dslca-currently-editing",function(){var d,b=!1,c=!1;a(".dslca-module-being-edited").length?(b=a(".dslca-module-being-edited"),d="#5890e5"):a(".dslca-modules-section-being-edited").length&&(b=a(".dslca-modules-section-being-edited"),d="#eabba9"),b&&(c=b.offset().top-100,0>c&&(c=0),a("html, body").animate({scrollTop:c},300,function(){b.animate({"outline-color":d},70,function(){b.animate({"outline-color":"transparent"},70,function(){b.animate({"outline-color":d},70,function(){b.animate({"outline-color":"transparent"},70,function(){b.removeAttr("style")})})})})}))}),a(document).on("click",".dslca-hide-composer-hook",function(){dslc_hide_composer()}),a(document).on("click",".dslca-show-composer-hook",function(){dslc_show_composer()}),a(document).on("click",".dslca-go-to-modules-hook",function(a){a.preventDefault(),dslc_show_section(".dslca-modules")}),a(document).on("click",".dslca-go-to-section-hook",function(b){b.preventDefault();var c=a(this).data("section");dslc_show_section(c),a(this).addClass("dslca-active").siblings(".dslca-go-to-section-hook").removeClass("dslca-active")}),a(document).on("click",".dslca-close-composer-hook",function(b){b.preventDefault(),a("body").hasClass("dslca-saving-in-progress")||dslc_js_confirm("disable_lc",'<span class="dslca-prompt-modal-title">'+DSLCString.str_exit_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_exit_descr+"</span>",a(this).attr("href"))}),a(document).on("click",".dslca-submit",function(){jQuery(this).closest("form").submit()}),a(document).on("click",".dslca-section-title",function(b){b.stopPropagation(),a(".dslca-section-title-filter",this).length&&(dslc_generate_filters(),a(".dslca-section-title-filter-options").slideToggle(300))}),a(document).on("click",".dslca-section-title-filter-options span",function(b){b.stopPropagation();var c=a(this).data("origin"),d=a(this).closest(".dslca-section");d.hasClass("dslca-templates-load")?a(".dslca-section-title-filter-curr",d).text(a(this).text()+" TEMPLATES"):a(".dslca-section-title-filter-curr",d).text(a(this).text()+" MODULES"),a(".dslca-section-scroller-inner").css({left:0}),dslc_filter_origin(c,d)})}),jQuery(document).ready(function(a){a(document).on("click",".dslca-section-scroller-prev",function(b){b.preventDefault(),dslc_scroller_prev(a(this).closest(".dslca-section").find(".dslca-section-scroller"))}),a(document).on("click",".dslca-section-scroller-next",function(b){b.preventDefault(),dslc_scroller_next(a(this).closest(".dslca-section").find(".dslca-section-scroller"))})}),jQuery(window).load(function(){dslc_scroller_init(),jQuery(window).resize(function(){dslc_scroller_init()})}),jQuery(document).ready(function(){dslc_ui_animations()}),jQuery(document).mouseup(function(a){var b=jQuery(".dslca-modal-open");b.is(a.target)||0!==b.has(a.target).length||b.hide()}),jQuery(document).ready(function(a){a(document).on("click",".dslca-open-modal-hook",function(){var b=a(this).data("modal");dslc_show_modal(a(this),b)}),a(document).on("click",".dslca-close-modal-hook",function(){if(!a(this).hasClass("dslca-action-disabled")){var b=a(this).data("modal");dslc_hide_modal(a(this),b)}})}),jQuery(document).ready(function(a){a(document).on("click",".dslca-prompt-modal-cancel-hook",function(a){a.preventDefault();var b=jQuery(".dslca-prompt-modal").data("id"),c=jQuery(".dslca-prompt-modal").data("target");"edit_in_progress"==b&&dslc_module_options_cancel_changes(function(){c.trigger("click")}),dslc_js_confirm_close(),jQuery(".dslca-prompt-modal").data("id","")}),a(document).on("click",".dslca-prompt-modal-confirm-hook",function(b){b.preventDefault();var c=jQuery(".dslca-prompt-modal").data("id"),d=jQuery(".dslca-prompt-modal").data("target"),e=!0;if("edit_in_progress"==c)dslc_module_options_confirm_changes(function(){d.trigger("click")});else if("disable_lc"==c)window.location=d;else if("delete_module"==c){var f=d.closest(".dslc-module-front");dslc_delete_module(f)}else if("delete_modules_area"==c){var g=d.closest(".dslc-modules-area");dslc_modules_area_delete(g)}else"delete_modules_section"==c?dslc_row_delete(d.closest(".dslc-modules-section")):"export_modules_section"==c||"import_modules_section"==c&&(dslc_row_import(a(".dslca-prompt-modal textarea").val()),a(".dslca-prompt-modal-confirm-hook span").css({opacity:0}),a(".dslca-prompt-modal-confirm-hook .dslca-loading").show(),e=!1);e&&dslc_js_confirm_close(),jQuery(".dslca-prompt-modal").data("id","")}),a(window).on("keydown",function(b){13==b.which?a(".dslca-prompt-modal-active").length&&a(".dslca-prompt-modal-confirm-hook").trigger("click"):27==b.which&&a(".dslca-prompt-modal-active").length&&a(".dslca-prompt-modal-cancel-hook").trigger("click")})}),jQuery(document).ready(function(a){dslc_row_edit_colorpicker_init(),dslc_row_edit_slider_init(),a("#dslc-main .dslc-modules-section").length||a("#dslca-tut-page").length||dslc_row_add(),a(document).on("click",".dslca-add-modules-section-hook",function(){var b=a(this);a(this).hasClass("dslca-action-disabled")||(b.find(".dslca-icon").removeClass("dslc-icon-align-justify").addClass("dslc-icon-spinner dslc-icon-spin"),dslc_row_add(function(){b.find(".dslca-icon").removeClass("dslc-icon-spinner dslc-icon-spin").addClass("dslc-icon-align-justify")}))}),a(document).on("click",".dslca-edit-modules-section-hook",function(){a(this).hasClass("dslca-action-disabled")||(jQuery(".dslca-module-being-edited.dslca-module-change-made").length?dslc_js_confirm("edit_in_progress",'<span class="dslca-prompt-modal-title">'+DSLCString.str_module_curr_edit_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_module_curr_edit_descr+"</span>",jQuery(this)):jQuery(".dslca-modules-section-being-edited.dslca-modules-section-change-made").length?dslc_js_confirm("edit_in_progress",'<span class="dslca-prompt-modal-title">'+DSLCString.str_row_curr_edit_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_row_curr_edit_descr+"</span>",jQuery(this)):dslc_row_edit(a(this).closest(".dslc-modules-section")))}),a(document).on("click",".dslca-row-edit-save",function(){dslc_row_edit_confirm(),a(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active"),dslc_responsive_classes(!0)}),a(document).on("click",".dslca-row-edit-cancel",function(){dslc_row_edit_cancel(),a(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active"),dslc_responsive_classes(!0)}),a(document).on("click",".dslca-copy-modules-section-hook",function(){a(this).hasClass("dslca-action-disabled")||dslc_row_copy(a(this).closest(".dslc-modules-section"))}),a(document).on("click",".dslca-import-modules-section-hook",function(b){b.preventDefault(),a(this).hasClass("dslca-action-disabled")||(a(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span><span>'+DSLCString.str_import+'</span><div class="dslca-loading followingBallsGWrap"><div class="followingBallsG_1 followingBallsG"></div><div class="followingBallsG_2 followingBallsG"></div><div class="followingBallsG_3 followingBallsG"></div><div class="followingBallsG_4 followingBallsG"></div></div>'),dslc_js_confirm("import_modules_section",'<span class="dslca-prompt-modal-title">'+DSLCString.str_import_row_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_import_row_descr+" <br><br><textarea></textarea></span>",a(this)))}),a(document).on("click",".dslca-delete-modules-section-hook",function(b){b.preventDefault(),a(this).hasClass("dslca-action-disabled")||dslc_js_confirm("delete_modules_section",'<span class="dslca-prompt-modal-title">'+DSLCString.str_del_row_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_del_row_descr+"</span>",a(this))}),a(document).on("click",".dslca-export-modules-section-hook",function(b){b.preventDefault(),a(this).hasClass("dslca-action-disabled")||(a(".dslca-prompt-modal-cancel-hook").hide(),a(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>'+DSLCString.str_ok),dslc_js_confirm("export_modules_section",'<span class="dslca-prompt-modal-title">'+DSLCString.str_export_row_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_export_row_descr+" <br><br><textarea></textarea></span>",a(this)),a(".dslca-prompt-modal textarea").val(dslc_generate_section_code(a(this).closest(".dslc-modules-section"))))})}),jQuery(document).ready(function(a){a(document).on("click",".dslca-add-modules-area-hook",function(a){a.preventDefault(),dslc_modules_area_add(jQuery(this).closest(".dslc-modules-section").find(".dslc-modules-section-inner"))}),a(document).on("click",".dslca-delete-modules-area-hook",function(b){b.preventDefault(),a(this).hasClass("dslca-action-disabled")||dslc_js_confirm("delete_modules_area",'<span class="dslca-prompt-modal-title">'+DSLCString.str_del_area_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_del_area_descr+"</span>",a(this))}),a(document).on("click",".dslca-copy-modules-area-hook",function(b){if(b.preventDefault(),!a(this).hasClass("dslca-action-disabled")){var c=a(this).closest(".dslc-modules-area");dslc_copy_modules_area(c)}}),a(document).on("click",".dslca-change-width-modules-area-options span",function(){a(this).hasClass("dslca-action-disabled")||dslc_modules_area_width_set(jQuery(this).closest(".dslc-modules-area"),jQuery(this).data("size"))}),a(document).on("click",".dslca-change-width-modules-area-hook",function(b){if(b.preventDefault(),!a(this).hasClass("dslca-action-disabled"))if(a(".dslca-change-width-modules-area-options:visible",this).length)a(".dslca-change-width-modules-area-options",this).hide();else{a(".dslca-change-width-modules-area-options .dslca-active-width").removeClass("dslca-active-width");var c=a(this).closest(".dslc-modules-area").data("size");a('.dslca-change-width-modules-area-options span[data-size="'+c+'"]').addClass("dslca-active-width"),a(".dslca-change-width-modules-area-options",this).show()}})}),jQuery(document).ready(function(a){dslc_module_options_tooltip(),dslc_module_options_font(),dslc_module_options_icon(),dslc_module_options_icon_returnid(),dslc_module_options_text_align(),dslc_module_options_checkbox(),dslc_module_options_box_shadow(),dslc_module_options_text_shadow(),a(".dslca-module-edit-form").submit(function(a){a.preventDefault(),dslc_module_output_altered()}),a(document).on("click",".dslca-copy-module-hook",function(b){b.preventDefault(),a(this).hasClass("dslca-action-disabled")||dslc_module_copy(a(this).closest(".dslc-module-front"))}),a(document).on("click",".dslca-delete-module-hook",function(b){b.preventDefault(),a(this).hasClass("dslca-action-disabled")||dslc_js_confirm("delete_module",'<span class="dslca-prompt-modal-title">'+DSLCString.str_del_module_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_del_module_descr+"</span>",a(this))}),a(document).on("click",".dslca-change-width-module-hook",function(b){b.preventDefault(),a(this).hasClass("dslca-action-disabled")||(a(".dslca-change-width-module-options",this).toggle(),a(this).closest(".dslca-module-manage").toggleClass("dslca-module-manage-change-width-active"))}),a(document).on("click",".dslca-change-width-module-options span",function(){dslc_module_width_set(jQuery(this).closest(".dslc-module-front"),jQuery(this).data("size"))}),a(document).on("click",".dslca-module-edit-hook",function(b){if(b.preventDefault(),!a("body").hasClass("dslca-composer-hidden"))if(a(".dslca-module-being-edited.dslca-module-change-made").length)dslc_js_confirm("edit_in_progress",'<span class="dslca-prompt-modal-title">'+DSLCString.str_module_curr_edit_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_module_curr_edit_descr+"</span>",a(this));else if(a(".dslca-modules-section-being-edited.dslca-modules-section-change-made").length)dslc_js_confirm("edit_in_progress",'<span class="dslca-prompt-modal-title">'+DSLCString.str_row_curr_edit_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_row_curr_edit_descr+"</span>",a(this));else{a(".dslca-modules-section-being-edited").length&&a(".dslca-module-edit-cancel").trigger("click");var c=a(this).closest(".dslc-module-front"),d=c.data("dslc-module-id");c.find(".dslca-module-code").val();a(".dslca-module-being-edited").removeClass("dslca-module-being-edited"),c.addClass("dslca-module-being-edited"),dslc_module_options_show(d)}}),a(document).on("click",".dslca-module-edit-options-tab-hook",function(){dslc_module_options_tab_filter(a(this))}),a(document).on("click",".dslca-options-filter-hook",function(b){var c=jQuery(".dslca-options-filter-hook.dslca-active").data("section");a(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active"),a(this).addClass("dslca-active"),dslc_module_options_section_filter(jQuery(this).data("section")),"responsive"==c&&(jQuery(".dslca-container-loader").show(),dslc_responsive_classes(),dslc_module_output_altered(function(){jQuery(".dslca-container-loader").hide()}))}),a(document).on("click",".dslca-module-edit-save",function(){dslc_module_options_confirm_changes(),a(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active"),dslc_responsive_classes(!0)}),a(document).on("click",".dslca-module-edit-cancel",function(){dslc_module_options_cancel_changes(),a(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active"),dslc_responsive_classes(!0)}),jQuery(document).on("click",".dslca-module-edit-field-icon-switch-set",function(){var a=jQuery(".dslca-module-edit-field-icon-switch-sets"),b=jQuery(this);if(jQuery(".dslca-module-edit-field-icon-switch-set.dslca-active").removeClass("dslca-active"),b.addClass("dslca-active"),a.is(":visible"))jQuery(".dslca-module-edit-field-icon-switch-sets").hide();else{var c=b.find(".dslca-module-edit-field-icon-curr-set").text();jQuery(".dslca-module-edit-field-icon-switch-sets span.dslca-active").removeClass("dslca-active"),jQuery('.dslca-module-edit-field-icon-switch-sets span[data-set="'+c+'"]').addClass("dslca-active");var d=b.offset(),e=a.outerHeight(),f=a.outerWidth(),g=d.left-f/2+6,h="50%";0>g&&(h=f/2+g+"px",g=0),jQuery(".dslca-module-edit-field-icon-switch-sets").show().css({top:d.top-e-20,left:g}),jQuery("head").append(jQuery("<style>.dslca-module-edit-field-icon-switch-sets:after, .dslca-module-edit-field-icon-switch-sets:before { left: "+h+" }</style>"))}}),jQuery(document).on("click",".dslca-module-edit-field-icon-switch-sets span",function(){var b=a(this).data("set");dslcIconsCurrentSet=DSLCIcons[b],a('.dslca-open-modal-hook[data-modal^=".dslc-list-icons"]').data("modal",".dslc-list-icons-"+b),a(this).addClass("dslca-active").siblings(".dslca-active").removeClass("dslca-active"),a(".dslca-module-edit-field-icon-switch-set.dslca-active .dslca-module-edit-field-icon-curr-set").text(b),a(".dslca-module-edit-field-icon-switch-set.dslca-active").closest(".dslca-module-edit-option").find(".dslca-module-edit-field-icon-next").trigger("click"),a(".dslca-module-edit-field-icon-switch-sets").hide()}),jQuery(document).on("mouseenter",".dslca-module-edit-option-icon",function(){var b=a(this).find(".dslca-module-edit-field-icon-curr-set").text();dslcIconsCurrentSet=DSLCIcons[b],a('.dslca-open-modal-hook[data-modal^=".dslc-list-icons"]').data("modal",".dslc-list-icons-"+b)})}),jQuery(document).ready(function(a){a(document).on("click",".dslca-template",function(){dslc_template_load(jQuery(this).data("id"))}),a(".dslca-template-import-form").submit(function(a){a.preventDefault(),dslc_template_import()}),a(".dslca-template-save-form").submit(function(a){a.preventDefault(),dslc_template_save()}),a(document).on("click",".dslca-delete-template-hook",function(b){b.stopPropagation(),dslc_template_delete(a(this).data("id"))})}),jQuery(document).ready(function(a){a(document).on("click",".dslca-save-composer-hook",function(){a("body").hasClass("dslca-module-saving-in-progress")||a("body").hasClass("dslca-saving-in-progress")||dslc_save_composer()}),a(document).on("click",".dslca-save-draft-composer-hook",function(){a("body").hasClass("dslca-module-saving-in-progress")||a("body").hasClass("dslca-saving-in-progress")||dslc_save_draft_composer()})}),jQuery(document).ready(function(a){a(document).on("keypress",'.dslca-module-edit-field[name="css_save_preset"]',function(b){if(13==b.which){var c=a(this).val(),d=c.toLowerCase().replace(/\s/g,"-");a("body").addClass("dslca-new-preset-added"),a('.dslca-module-edit-field[name="css_load_preset"]').append('<option value="'+d+'">'+d+"</option>").val(d).trigger("change"),a(this).val("")}}),a(document).on("change",'.dslca-module-edit-field[name="css_load_preset"]',function(b){a(".dslca-module-being-edited").addClass("dslca-preload-preset")})}),jQuery(document).ready(function(a){a(document).on("click",".dslca-module-get-defaults-hook",function(){var b=jQuery(this).closest(".dslc-module-front"),d=(dslc_dm_get_defaults(b),'<span class="dslca-prompt-modal-title">Module Defaults</span><span class="dslca-prompt-modal-descr">The code bellow is used to alter the defaults.</span><textarea></textarea><br><br>');a(".dslca-prompt-modal-cancel-hook").hide(),a(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>OK'),dslc_js_confirm("dev_mode_get_default",d,b)}),a(document).on("click","a:not(.dslca-link)",function(a){a.preventDefault()}),a(document).unbind("keydown").bind("keydown",function(b){var c=!1;if(8===b.keyCode){var d=b.srcElement||b.target;c="INPUT"===d.tagName.toUpperCase()&&("TEXT"===d.type.toUpperCase()||"PASSWORD"===d.type.toUpperCase()||"FILE"===d.type.toUpperCase())||"TEXTAREA"===d.tagName.toUpperCase()||a(d).hasClass("dslca-editable-content")||a(d).hasClass("dslc-tabs-nav-hook-title")||a(d).hasClass("dslc-accordion-title")?d.readOnly||d.disabled:!0}c&&b.preventDefault()}),a(document).on("keydown",function(a){116==(a.which||a.keyCode)&&(jQuery(".dslca-save-composer-hook").is(":visible")||jQuery(".dslca-module-edit-save").is(":visible"))&&(a.preventDefault(),dslc_js_confirm("disable_lc",'<span class="dslca-prompt-modal-title">'+DSLCString.str_refresh_title+'</span><span class="dslca-prompt-modal-descr">'+DSLCString.str_refresh_descr+"</span>",document.URL))}),a(document).on("click",".dslca-refresh-module-hook",function(b){a(this).css({"-webkit-animation-name":"dslcRotate","-moz-animation-name":"dslcRotate","animation-name":"dslcRotate","animation-duration":"0.6s","-webkit-animation-duration":"0.6s","animation-iteration-count":"infinite","-webkit-animation-iteration-count":"infinite"}),a(this).closest(".dslc-module-front").addClass("dslca-module-being-edited"),dslc_module_output_altered(function(){a(".dslca-module-being-edited").removeClass("dslca-module-being-edited")})})}),window.onbeforeunload=function(){},jQuery(document).ready(function(a){a(document).on("change",".dslca-modules-section-edit-field",function(){var b,c,d,f,g,h,i,j;if(b=a(this),c=b.data("id"),f=b.val(),g=f,h=b.data("css-rule"),d=a(".dslca-modules-section-being-edited"),j=d,i=a('.dslca-modules-section-settings input[data-id="'+c+'"]',d),d.addClass("dslca-modules-section-change-made"),b.hasClass("dslca-modules-section-edit-field-upload")&&f&&f.length&&(f=b.data("dslca-img-url")),"background-image"==h&&(f='url("'+f+'")',dslc_bg_video()),"bg_image_attachment"==c&&d.removeClass("dslc-init-parallax"),"border-top"==c||"border-right"==c||"border-bottom"==c||"border-left"==c){var l=a('.dslca-modules-section-settings input[data-id="border_style"]').val();i=a('.dslca-modules-section-settings input[data-id="border"]',d),g="";var m=b.closest(".dslca-modules-section-edit-option-checkbox-wrapper");m.find(".dslca-modules-section-edit-field-checkbox").each(function(){a(this).is(":checked")&&("border-top"==a(this).data("id")?g+="top ":"border-right"==a(this).data("id")?g+="right ":"border-bottom"==a(this).data("id")?g+="bottom ":"border-left"==a(this).data("id")&&(g+="left "))}),b.is(":checked")?"border-top"==b.data("id")?d.css({"border-top-style":l}):"border-right"==b.data("id")?d.css({"border-right-style":l}):"border-bottom"==b.data("id")?d.css({"border-bottom-style":l}):"border-left"==b.data("id")&&d.css({"border-left-style":l}):"border-top"==b.data("id")?d.css({"border-top-style":"hidden"}):"border-right"==b.data("id")?d.css({"border-right-style":"hidden"}):"border-bottom"==b.data("id")?d.css({"border-bottom-style":"hidden"}):"border-left"==b.data("id")&&d.css({"border-left-style":"hidden"})}else if(b.hasClass("dslca-modules-section-edit-field-checkbox")){var n=a(this).closest(".dslca-modules-section-edit-option-checkbox-wrapper").find(".dslca-modules-section-edit-field-checkbox"),o="";n.each(function(){a(this).prop("checked")&&(o+=a(this).data("val")+" ")});var g=o;"show_on"==b.data("id")&&(console.log(o),-1!==o.indexOf("desktop")?a(".dslca-modules-section-being-edited").removeClass("dslc-hide-on-desktop"):a(".dslca-modules-section-being-edited").addClass("dslc-hide-on-desktop"),-1!==o.indexOf("tablet")?a(".dslca-modules-section-being-edited").removeClass("dslc-hide-on-tablet"):a(".dslca-modules-section-being-edited").addClass("dslc-hide-on-tablet"),-1!==o.indexOf("phone")?a(".dslca-modules-section-being-edited").removeClass("dslc-hide-on-phone"):a(".dslca-modules-section-being-edited").addClass("dslc-hide-on-phone"))}else if("bg_image_attachment"==c&&"parallax"==f||"type"==c)"bg_image_attachment"==c?(d.addClass("dslc-init-parallax"),dslc_parallax()):"type"==c&&("full"==f?d.addClass("dslc-full"):d.removeClass("dslc-full"),dslc_masonry());else if("columns_spacing"==c)"nospacing"==f?d.addClass("dslc-no-columns-spacing"):d.removeClass("dslc-no-columns-spacing");else if("custom_class"==c);else if("custom_id"==c);else if("bg_video"==c){if(jQuery(".dslc-bg-video video",d).remove(),f&&f.length){var p=f;p=p.replace(".webm",""),p=p.replace(".mp4",""),jQuery(".dslc-bg-video-inner",d).html('<video><source type="video/mp4" src="'+p+'.mp4" /><source type="video/webm" src="'+p+'.webm" /></video>'),dslc_bg_video()}}else if("bg_image_thumb"==c)if("enabled"==g){if(jQuery("#dslca-post-data-thumb").length){var q="url('"+jQuery("#dslca-post-data-thumb").val()+"')";j.css(h,q)}}else"disabled"==g&&j.css(h,"none");else b.data("css-element")&&(j=jQuery(b.data("css-element"),d)),j.css(h,f);i.val(g),dslc_generate_code(),dslc_show_publish_button()}),jQuery(document).on("blur",".dslca-editable-content",function(){jQuery("body").hasClass("dslca-composer-hidden")||"simple"!=jQuery(this).data("type")||dslc_editable_content_gen_code(jQuery(this))}).on("paste",".dslca-editable-content",function(){
4
+ if(!jQuery("body").hasClass("dslca-composer-hidden")&&"simple"==jQuery(this).data("type")){var a=jQuery(this);setTimeout(function(){"simple"==a.data("type")&&a.html(a.text()),dslc_editable_content_gen_code(jQuery(this))},1)}}).on("focus",".dslca-editable-content",function(){"simple"==jQuery(this).data("type")&&(jQuery("body").hasClass("dslca-composer-hidden")?a(this).trigger("blur"):jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click"))}).on("keyup",".dslca-editable-content",function(){"simple"==jQuery(this).data("type")&&jQuery(this).closest(".dslc-module-front").addClass("dslca-module-change-made")}),a(document).on("blur",".dslc-editable-area",function(b){var c=a(this).closest(".dslc-module-front"),d=a(this).data("dslc-option-id"),e=a(this).html();jQuery('.dslca-module-options-front textarea[data-id="'+d+'"]',c).val(e),dslc_module_output_altered()}),a(document).on("change",".dslca-module-edit-field",function(){dslc_module_options_hideshow_tabs();var b="",c="",d=a(this),e=d.data("id"),f=d.closest(".dslca-module-edit-option"),g=a(".dslca-module-being-edited"),h=g.data("dslc-module-id");jQuery(".dslca-module-options-front textarea",g);if(g.addClass("dslca-module-change-made"),"active"==jQuery(this).closest(".dslca-module-edit-option").data("refresh-on-change")){if(f.find(".dslca-module-edit-option-checkbox-wrapper").length){var j=a('input[type="checkbox"]',f);j.each(function(){a(this).prop("checked")&&(b=b+a(this).val()+" ")})}else if(d.hasClass("dslca-module-edit-option-radio"))var b=a(".dslca-module-edit-field:checked",d).val();else{var b=d.val();if("orientation"==e&&"horizontal"==b){var k=jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field-slider");k.slider({value:40}).slider("option","slide")(null,{value:k.slider("value")})}else if("orientation"==e&&"vertical"==b){var k=jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field-slider");k.slider({value:100}).slider("option","slide")(null,{value:k.slider("value")})}}jQuery('.dslca-module-options-front textarea[data-id="'+e+'"]',g).val(b),jQuery(".dslca-container-loader").show(),dslc_module_output_altered(function(){jQuery(".dslca-module-being-edited").addClass("dslca-module-change-made"),"css_load_preset"!=e||jQuery("body").hasClass("dslca-new-preset-added")?jQuery(".dslca-container-loader").hide():(dslc_module_options_show(h),jQuery(".dslca-container-loader").hide()),jQuery("body").removeClass("dslca-new-preset-added")})}else{if(d.hasClass("dslca-module-edit-field-font")){var l=d.val();l+=":400,100,200,300,500,600,700,800,900";var m=d.data("affect-on-change-el"),n=d.data("affect-on-change-rule"),o=d.val(),p=o;d.val().length&&-1!==dslcGoogleFontsArray.indexOf(d.val())?WebFont.load({google:{families:[l]},active:function(a,b){jQuery(".dslca-font-loading").closest(".dslca-module-edit-field-font-next").length?jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-right"):jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left"),jQuery(m,".dslca-module-being-edited").css(n,o)},inactive:function(a,b){jQuery(".dslca-font-loading").closest(".dslca-module-edit-field-font-next").length?jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-right"):jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left")}}):setTimeout(function(){jQuery(".dslca-font-loading.dslca-module-edit-field-font-next").length?jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-right"):jQuery(".dslca-font-loading").removeClass("dslca-font-loading").find(".dslca-icon").removeClass("dslc-icon-spin").addClass("dslc-icon-chevron-left"),jQuery(m,".dslca-module-being-edited").css(n,o)},100)}else if(d.hasClass("dslca-module-edit-field-checkbox")){var j=a('input[type="checkbox"]',f);j.each(function(){a(this).prop("checked")?(b+="solid ",c=c+a(this).val()+" "):b+="none "})}if(!d.hasClass("dslca-module-edit-field-font")){var m=d.data("affect-on-change-el"),n=d.data("affect-on-change-rule"),o=d.val(),p=o;d.hasClass("dslca-module-edit-field-checkbox")&&(o=b,p=c),d.hasClass("dslca-module-edit-field-image")&&(o='url("'+o+'")'),o.length<1&&("background-color"==n||"background"==n)&&(o="transparent"),jQuery(m,".dslca-module-being-edited").css(n,o)}jQuery('.dslca-module-option-front[data-id="'+e+'"]',g).val(p)}}),a(document).on("keyup, blur",".dslca-module-edit-field-numeric",function(){var m,c=a(this),d=c.data("id"),f=(c.closest(".dslca-module-edit-option"),a(".dslca-module-being-edited")),i=(f.data("dslc-module-id"),jQuery(".dslca-module-options-front textarea",f),c.data("affect-on-change-el")),j=c.data("affect-on-change-rule"),k=c.val(),l=k+c.data("ext");if(f.addClass("dslca-module-change-made"),"active"!=jQuery(this).closest(".dslca-module-edit-option").data("refresh-on-change")){m=j.replace(/ /g,"").split(",");for(var n=0;n<m.length;n++)jQuery(i,".dslca-module-being-edited").css(m[n],l);jQuery('.dslca-module-option-front[data-id="'+d+'"]',f).val(k)}}),a(document).on("keyup",".dslca-modules-section-edit-field-numeric",function(){var j,c=a(this),d=c.data("id"),f=(c.closest(".dslca-modules-section-edit-option"),a(".dslca-modules-section-being-edited")),g=c.data("css-rule"),h=c.val(),i=h+c.data("ext");f.addClass("dslca-modules-section-change-made"),j=g.replace(/ /g,"").split(",");for(var k=0;k<j.length;k++)f.css(j[k],i);jQuery('.dslca-modules-section-settings input[data-id="'+d+'"]',f).val(h)})}),jQuery(document).ready(function(a){var b;jQuery(document).on("click",".dslca-module-edit-field-image-add-hook, .dslca-modules-section-edit-field-image-add-hook",function(){var a=jQuery(this);if(a.hasClass("dslca-module-edit-field-image-add-hook"))var c=a.siblings(".dslca-module-edit-field-image"),d=a.siblings(".dslca-module-edit-field-image-remove-hook");else var c=a.siblings(".dslca-modules-section-edit-field-upload"),d=a.siblings(".dslca-modules-section-edit-field-image-remove-hook");var e=!1;b=wp.media.frames.file_frame=wp.media({title:"Choose Image",button:{text:"Confirm"},multiple:e}),b.on("select",function(){var e=b.state().get("selection").first().toJSON();c.val(e.id).data("dslca-img-url",e.url).trigger("change"),a.hide(),d.show()}),b.open()}),jQuery(document).on("click",".dslca-module-edit-field-image-remove-hook, .dslca-modules-section-edit-field-image-remove-hook",function(){var a=jQuery(this);if(a.hasClass("dslca-module-edit-field-image-remove-hook"))var b=a.siblings(".dslca-module-edit-field-image"),c=a.siblings(".dslca-module-edit-field-image-add-hook");else var b=a.siblings(".dslca-modules-section-edit-field-upload"),c=a.siblings(".dslca-modules-section-edit-field-image-add-hook");b.val("").trigger("change"),a.hide(),c.show()}),a(document).on("click",".dslca-wysiwyg-actions-edit-hook",function(){var b=a(this).parent().siblings(".dslca-editable-content"),c=b.closest(".dslc-module-front");if(c.hasClass("dslc-module-handle-like-accordion")){dslc_accordion_generate_code(c.find(".dslc-accordion"));var d=c.find('.dslca-module-option-front[data-id="accordion_content"]').val(),e=d.split("(dslc_sep)"),f=b.closest(".dslc-accordion-item").index(),g=e[f].trim().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")}else if(c.hasClass("dslc-module-handle-like-tabs")){dslc_tabs_generate_code(c.find(".dslc-tabs"));var d=c.find('.dslca-module-option-front[data-id="tabs_content"]').val(),e=d.split("(dslc_sep)"),f=b.closest(".dslc-tabs-tab-content").index(),g=e[f].trim().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")}else var g=c.find('.dslca-module-option-front[data-id="'+b.data("id")+'"]').val().replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea");if("undefined"!=typeof tinymce){var h=tinymce.get("dslcawpeditor");a("#wp-dslcawpeditor-wrap").hasClass("tmce-active")?h.setContent(g,{format:"html"}):jQuery("textarea#dslcawpeditor").val(g),c.hasClass("dslca-module-being-edited")||c.find(".dslca-module-edit-hook").trigger("click"),a(".dslca-wp-editor").show(),b.addClass("dslca-wysiwyg-active"),a("#dslcawpeditor_ifr, #dslcawpeditor").css({height:a(".dslca-wp-editor").height()-350})}}),a(document).on("click",".dslca-wp-editor-save-hook",function(){var b=a(".dslca-wysiwyg-active").closest(".dslc-module-front");if("undefined"!=typeof tinymce){if(a("#wp-dslcawpeditor-wrap").hasClass("tmce-active"))var c=tinymce.get("dslcawpeditor"),d=c.getContent();else var d=a("#dslcawpeditor").val();if(a(".dslca-wp-editor").hide(),a(".dslca-wysiwyg-active").html(d),b.hasClass("dslc-module-handle-like-accordion")){a(".dslca-wysiwyg-active").siblings(".dslca-accordion-plain-content").val(d);var e=b.find(".dslc-accordion");dslc_accordion_generate_code(e)}else if(b.hasClass("dslc-module-handle-like-tabs")){a(".dslca-wysiwyg-active").siblings(".dslca-tab-plain-content").val(d);var f=b.find(".dslc-tabs");dslc_tabs_generate_code(f)}dslc_editable_content_gen_code(a(".dslca-wysiwyg-active")),a(".dslca-wysiwyg-active").removeClass("dslca-wysiwyg-active")}}),a(document).on("click",".dslca-wp-editor-cancel-hook",function(){a(".dslca-wp-editor").hide(),a(".dslca-wysiwyg-active").removeClass("dslca-wysiwyg-active")})});
modules/blog/module.php CHANGED
@@ -3033,7 +3033,16 @@ class DSLC_Blog extends DSLC_Module {
3033
 
3034
  <div class="dslc-blog-post-excerpt">
3035
  <?php if ( $options['excerpt_or_content'] == 'content' ) : ?>
3036
- <?php the_content(); ?>
 
 
 
 
 
 
 
 
 
3037
  <?php else : ?>
3038
  <?php
3039
  if ( $options['excerpt_length'] > 0 ) {
@@ -3125,7 +3134,16 @@ class DSLC_Blog extends DSLC_Module {
3125
 
3126
  <div class="dslc-blog-post-excerpt">
3127
  <?php if ( $options['excerpt_or_content'] == 'content' ) : ?>
3128
- <?php the_content(); ?>
 
 
 
 
 
 
 
 
 
3129
  <?php else : ?>
3130
  <?php
3131
  if ( $options['excerpt_length'] > 0 ) {
3033
 
3034
  <div class="dslc-blog-post-excerpt">
3035
  <?php if ( $options['excerpt_or_content'] == 'content' ) : ?>
3036
+ <?php
3037
+ // Disable LC content filering in this case
3038
+ // to prevent infitie loop on custon archive listing
3039
+ global $dslc_should_filter;
3040
+ $dslc_should_filter = false;
3041
+
3042
+ the_content();
3043
+
3044
+ $dslc_should_filter = true;
3045
+ ?>
3046
  <?php else : ?>
3047
  <?php
3048
  if ( $options['excerpt_length'] > 0 ) {
3134
 
3135
  <div class="dslc-blog-post-excerpt">
3136
  <?php if ( $options['excerpt_or_content'] == 'content' ) : ?>
3137
+ <?php
3138
+ // Disable LC content filering in this case
3139
+ // to prevent infitie loop on custon archive listing
3140
+ global $dslc_should_filter;
3141
+ $dslc_should_filter = false;
3142
+
3143
+ the_content();
3144
+
3145
+ $dslc_should_filter = true;
3146
+ ?>
3147
  <?php else : ?>
3148
  <?php
3149
  if ( $options['excerpt_length'] > 0 ) {
modules/image/module.php CHANGED
@@ -16,10 +16,10 @@ class DSLC_Image extends DSLC_Module {
16
 
17
  }
18
 
19
- function options() {
20
 
21
  $dslc_options = array(
22
-
23
  array(
24
  'label' => __( 'Show On', 'live-composer-page-builder' ),
25
  'id' => 'css_show_on',
@@ -131,14 +131,14 @@ class DSLC_Image extends DSLC_Module {
131
  'std' => '',
132
  'type' => 'text',
133
  ),
134
-
135
  array(
136
  'label' => __( 'Image - TITLE attribute', 'live-composer-page-builder' ),
137
  'id' => 'image_title',
138
  'std' => '',
139
  'type' => 'text',
140
  ),
141
-
142
 
143
  /**
144
  * Styling
@@ -150,7 +150,7 @@ class DSLC_Image extends DSLC_Module {
150
  'std' => 'center',
151
  'type' => 'text_align',
152
  'refresh_on_change' => false,
153
- 'affect_on_change_el' => '.dslc-image',
154
  'affect_on_change_rule' => 'text-align',
155
  'section' => 'styling',
156
  ),
@@ -237,10 +237,24 @@ class DSLC_Image extends DSLC_Module {
237
  'min' => -150,
238
  'max' => 150
239
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
240
  array(
241
  'label' => __( 'Minimum Height', 'live-composer-page-builder' ),
242
  'id' => 'css_min_height',
243
- 'std' => '0',
244
  'type' => 'slider',
245
  'refresh_on_change' => false,
246
  'affect_on_change_el' => '.dslc-image',
@@ -350,7 +364,7 @@ class DSLC_Image extends DSLC_Module {
350
  array(
351
  'label' => __( 'Font Family', 'live-composer-page-builder' ),
352
  'id' => 'css_ct_font_family',
353
- 'std' => 'Open Sans',
354
  'type' => 'font',
355
  'refresh_on_change' => false,
356
  'affect_on_change_el' => '.dslc-image-caption',
@@ -382,7 +396,7 @@ class DSLC_Image extends DSLC_Module {
382
  'ext' => 'px',
383
  'tab' => __( 'custom text', 'live-composer-page-builder' ),
384
  ),
385
-
386
  /**
387
  * Responsive Tablet
388
  */
@@ -405,6 +419,35 @@ class DSLC_Image extends DSLC_Module {
405
  'section' => 'responsive',
406
  'tab' => __( 'tablet', 'live-composer-page-builder' ),
407
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
408
  array(
409
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
410
  'id' => 'css_res_t_margin_bottom',
@@ -500,6 +543,35 @@ class DSLC_Image extends DSLC_Module {
500
  'section' => 'responsive',
501
  'tab' => __( 'phone', 'live-composer-page-builder' ),
502
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
503
  array(
504
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
505
  'id' => 'css_res_p_margin_bottom',
@@ -610,10 +682,10 @@ class DSLC_Image extends DSLC_Module {
610
  $anchor_class .= 'dslc-lightbox-image ';
611
  $anchor_href = $options['link_lb_image'];
612
  }
613
-
614
 
615
- ?>
616
 
 
 
617
  <div class="dslc-image"<?php if ( $dslc_is_admin ) echo ' data-exportable-content'; ?>>
618
 
619
  <?php if ( empty( $options['image'] ) && empty( $options['image_url'] ) ) : ?>
@@ -678,7 +750,7 @@ class DSLC_Image extends DSLC_Module {
678
  <?php endif; ?>
679
 
680
  </div><!-- .dslc-image -->
681
-
682
  <?php
683
 
684
  /* Module output ends here */
16
 
17
  }
18
 
19
+ function options() {
20
 
21
  $dslc_options = array(
22
+
23
  array(
24
  'label' => __( 'Show On', 'live-composer-page-builder' ),
25
  'id' => 'css_show_on',
131
  'std' => '',
132
  'type' => 'text',
133
  ),
134
+
135
  array(
136
  'label' => __( 'Image - TITLE attribute', 'live-composer-page-builder' ),
137
  'id' => 'image_title',
138
  'std' => '',
139
  'type' => 'text',
140
  ),
141
+
142
 
143
  /**
144
  * Styling
150
  'std' => 'center',
151
  'type' => 'text_align',
152
  'refresh_on_change' => false,
153
+ 'affect_on_change_el' => '.dslc-image-container',
154
  'affect_on_change_rule' => 'text-align',
155
  'section' => 'styling',
156
  ),
237
  'min' => -150,
238
  'max' => 150
239
  ),
240
+ array(
241
+ 'label' => __( 'Max Width', 'live-composer-page-builder' ),
242
+ 'id' => 'css_max_width',
243
+ 'std' => '',
244
+ 'type' => 'slider',
245
+ 'refresh_on_change' => false,
246
+ 'affect_on_change_el' => '.dslc-image',
247
+ 'affect_on_change_rule' => 'max-width',
248
+ 'section' => 'styling',
249
+ 'ext' => 'px',
250
+ 'min' => 0,
251
+ 'max' => 1400,
252
+ 'increment' => 5
253
+ ),
254
  array(
255
  'label' => __( 'Minimum Height', 'live-composer-page-builder' ),
256
  'id' => 'css_min_height',
257
+ 'std' => '',
258
  'type' => 'slider',
259
  'refresh_on_change' => false,
260
  'affect_on_change_el' => '.dslc-image',
364
  array(
365
  'label' => __( 'Font Family', 'live-composer-page-builder' ),
366
  'id' => 'css_ct_font_family',
367
+ 'std' => '',
368
  'type' => 'font',
369
  'refresh_on_change' => false,
370
  'affect_on_change_el' => '.dslc-image-caption',
396
  'ext' => 'px',
397
  'tab' => __( 'custom text', 'live-composer-page-builder' ),
398
  ),
399
+
400
  /**
401
  * Responsive Tablet
402
  */
419
  'section' => 'responsive',
420
  'tab' => __( 'tablet', 'live-composer-page-builder' ),
421
  ),
422
+
423
+ array(
424
+ 'label' => __( 'Align', 'live-composer-page-builder' ),
425
+ 'id' => 'css_res_t_align',
426
+ 'std' => 'center',
427
+ 'type' => 'text_align',
428
+ 'refresh_on_change' => false,
429
+ 'affect_on_change_el' => '.dslc-image-container',
430
+ 'affect_on_change_rule' => 'text-align',
431
+ 'section' => 'responsive',
432
+ 'tab' => __( 'tablet', 'live-composer-page-builder' ),
433
+ ),
434
+
435
+ array(
436
+ 'label' => __( 'Max Width', 'live-composer-page-builder' ),
437
+ 'id' => 'css_res_t_max_width',
438
+ 'std' => '',
439
+ 'type' => 'slider',
440
+ 'refresh_on_change' => false,
441
+ 'affect_on_change_el' => '.dslc-image',
442
+ 'affect_on_change_rule' => 'max-width',
443
+ 'section' => 'responsive',
444
+ 'tab' => __( 'tablet', 'live-composer-page-builder' ),
445
+ 'ext' => 'px',
446
+ 'min' => 0,
447
+ 'max' => 1400,
448
+ 'increment' => 5
449
+ ),
450
+
451
  array(
452
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
453
  'id' => 'css_res_t_margin_bottom',
543
  'section' => 'responsive',
544
  'tab' => __( 'phone', 'live-composer-page-builder' ),
545
  ),
546
+
547
+ array(
548
+ 'label' => __( 'Align', 'live-composer-page-builder' ),
549
+ 'id' => 'css_res_p__align',
550
+ 'std' => 'center',
551
+ 'type' => 'text_align',
552
+ 'refresh_on_change' => false,
553
+ 'affect_on_change_el' => '.dslc-image-container',
554
+ 'affect_on_change_rule' => 'text-align',
555
+ 'section' => 'responsive',
556
+ 'tab' => __( 'phone', 'live-composer-page-builder' ),
557
+ ),
558
+
559
+ array(
560
+ 'label' => __( 'Max Width', 'live-composer-page-builder' ),
561
+ 'id' => 'css_res_p_max_width',
562
+ 'std' => '',
563
+ 'type' => 'slider',
564
+ 'refresh_on_change' => false,
565
+ 'affect_on_change_el' => '.dslc-image',
566
+ 'affect_on_change_rule' => 'max-width',
567
+ 'section' => 'responsive',
568
+ 'tab' => __( 'phone', 'live-composer-page-builder' ),
569
+ 'ext' => 'px',
570
+ 'min' => 0,
571
+ 'max' => 1400,
572
+ 'increment' => 5
573
+ ),
574
+
575
  array(
576
  'label' => __( 'Margin Bottom', 'live-composer-page-builder' ),
577
  'id' => 'css_res_p_margin_bottom',
682
  $anchor_class .= 'dslc-lightbox-image ';
683
  $anchor_href = $options['link_lb_image'];
684
  }
 
685
 
 
686
 
687
+ ?>
688
+ <div class="dslc-image-container">
689
  <div class="dslc-image"<?php if ( $dslc_is_admin ) echo ' data-exportable-content'; ?>>
690
 
691
  <?php if ( empty( $options['image'] ) && empty( $options['image_url'] ) ) : ?>
750
  <?php endif; ?>
751
 
752
  </div><!-- .dslc-image -->
753
+ </div>
754
  <?php
755
 
756
  /* Module output ends here */
modules/partners/module.php CHANGED
@@ -542,7 +542,7 @@ class DSLC_Partners extends DSLC_Module {
542
  array(
543
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
544
  'id' => 'css_thumbnail_padding_vertical',
545
- 'std' => '36',
546
  'type' => 'slider',
547
  'refresh_on_change' => false,
548
  'affect_on_change_el' => '.dslc-partner-thumb',
@@ -869,7 +869,7 @@ class DSLC_Partners extends DSLC_Module {
869
  array(
870
  'label' => __( 'Font Family', 'live-composer-page-builder' ),
871
  'id' => 'css_title_font_family',
872
- 'std' => 'Lato',
873
  'type' => 'font',
874
  'refresh_on_change' => false,
875
  'affect_on_change_el' => '.dslc-partner-title h2,.dslc-partner-title h2 a',
@@ -994,7 +994,7 @@ class DSLC_Partners extends DSLC_Module {
994
  array(
995
  'label' => __( 'Font Family', 'live-composer-page-builder' ),
996
  'id' => 'css_excerpt_font_family',
997
- 'std' => 'Lato',
998
  'type' => 'font',
999
  'refresh_on_change' => false,
1000
  'affect_on_change_el' => '.dslc-partner-excerpt',
@@ -1074,7 +1074,7 @@ class DSLC_Partners extends DSLC_Module {
1074
  array(
1075
  'label' => __( 'Thumbnail - Padding Vertical', 'live-composer-page-builder' ),
1076
  'id' => 'css_res_t_thumbnail_padding_vertical',
1077
- 'std' => '36',
1078
  'type' => 'slider',
1079
  'refresh_on_change' => false,
1080
  'affect_on_change_el' => '.dslc-partner-thumb',
@@ -1219,7 +1219,7 @@ class DSLC_Partners extends DSLC_Module {
1219
  array(
1220
  'label' => __( 'Thumbnail - Padding Vertical', 'live-composer-page-builder' ),
1221
  'id' => 'css_res_p_thumbnail_padding_vertical',
1222
- 'std' => '36',
1223
  'type' => 'slider',
1224
  'refresh_on_change' => false,
1225
  'affect_on_change_el' => '.dslc-partner-thumb',
542
  array(
543
  'label' => __( 'Padding Vertical', 'live-composer-page-builder' ),
544
  'id' => 'css_thumbnail_padding_vertical',
545
+ 'std' => '0',
546
  'type' => 'slider',
547
  'refresh_on_change' => false,
548
  'affect_on_change_el' => '.dslc-partner-thumb',
869
  array(
870
  'label' => __( 'Font Family', 'live-composer-page-builder' ),
871
  'id' => 'css_title_font_family',
872
+ 'std' => '',
873
  'type' => 'font',
874
  'refresh_on_change' => false,
875
  'affect_on_change_el' => '.dslc-partner-title h2,.dslc-partner-title h2 a',
994
  array(
995
  'label' => __( 'Font Family', 'live-composer-page-builder' ),
996
  'id' => 'css_excerpt_font_family',
997
+ 'std' => '',
998
  'type' => 'font',
999
  'refresh_on_change' => false,
1000
  'affect_on_change_el' => '.dslc-partner-excerpt',
1074
  array(
1075
  'label' => __( 'Thumbnail - Padding Vertical', 'live-composer-page-builder' ),
1076
  'id' => 'css_res_t_thumbnail_padding_vertical',
1077
+ 'std' => '0',
1078
  'type' => 'slider',
1079
  'refresh_on_change' => false,
1080
  'affect_on_change_el' => '.dslc-partner-thumb',
1219
  array(
1220
  'label' => __( 'Thumbnail - Padding Vertical', 'live-composer-page-builder' ),
1221
  'id' => 'css_res_p_thumbnail_padding_vertical',
1222
+ 'std' => '0',
1223
  'type' => 'slider',
1224
  'refresh_on_change' => false,
1225
  'affect_on_change_el' => '.dslc-partner-thumb',
modules/posts/module.php CHANGED
@@ -2609,7 +2609,16 @@ class DSLC_Posts extends DSLC_Module {
2609
 
2610
  <div class="dslc-cpt-post-excerpt">
2611
  <?php if ( $options['excerpt_or_content'] == 'content' ) : ?>
2612
- <?php the_content(); ?>
 
 
 
 
 
 
 
 
 
2613
  <?php else : ?>
2614
  <?php
2615
  if ( $options['excerpt_length'] > 0 ) {
@@ -2698,7 +2707,16 @@ class DSLC_Posts extends DSLC_Module {
2698
 
2699
  <div class="dslc-cpt-post-excerpt">
2700
  <?php if ( $options['excerpt_or_content'] == 'content' ) : ?>
2701
- <?php the_content(); ?>
 
 
 
 
 
 
 
 
 
2702
  <?php else : ?>
2703
  <?php
2704
  if ( $options['excerpt_length'] > 0 ) {
2609
 
2610
  <div class="dslc-cpt-post-excerpt">
2611
  <?php if ( $options['excerpt_or_content'] == 'content' ) : ?>
2612
+ <?php
2613
+ // Disable LC content filering in this case
2614
+ // to prevent infitie loop on custon archive listing
2615
+ global $dslc_should_filter;
2616
+ $dslc_should_filter = false;
2617
+
2618
+ the_content();
2619
+
2620
+ $dslc_should_filter = true;
2621
+ ?>
2622
  <?php else : ?>
2623
  <?php
2624
  if ( $options['excerpt_length'] > 0 ) {
2707
 
2708
  <div class="dslc-cpt-post-excerpt">
2709
  <?php if ( $options['excerpt_or_content'] == 'content' ) : ?>
2710
+ <?php
2711
+ // Disable LC content filering in this case
2712
+ // to prevent infitie loop on custon archive listing
2713
+ global $dslc_should_filter;
2714
+ $dslc_should_filter = false;
2715
+
2716
+ the_content();
2717
+
2718
+ $dslc_should_filter = true;
2719
+ ?>
2720
  <?php else : ?>
2721
  <?php
2722
  if ( $options['excerpt_length'] > 0 ) {
modules/projects/module.php CHANGED
@@ -539,7 +539,7 @@ class DSLC_Projects extends DSLC_Module {
539
  'std' => '4',
540
  'type' => 'slider',
541
  'refresh_on_change' => false,
542
- 'affect_on_change_el' => '.dslc-project-thumb-inner, .dslc-project-thumb img',
543
  'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius',
544
  'section' => 'styling',
545
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
@@ -551,7 +551,7 @@ class DSLC_Projects extends DSLC_Module {
551
  'std' => '0',
552
  'type' => 'slider',
553
  'refresh_on_change' => false,
554
- 'affect_on_change_el' => '.dslc-project-thumb-inner, .dslc-project-thumb img',
555
  'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius',
556
  'section' => 'styling',
557
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
@@ -911,7 +911,7 @@ class DSLC_Projects extends DSLC_Module {
911
  array(
912
  'label' => __( 'Font Family', 'live-composer-page-builder' ),
913
  'id' => 'css_title_font_family',
914
- 'std' => 'Open Sans',
915
  'type' => 'font',
916
  'refresh_on_change' => false,
917
  'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a',
@@ -1018,7 +1018,7 @@ class DSLC_Projects extends DSLC_Module {
1018
  array(
1019
  'label' => __( 'Font Family', 'live-composer-page-builder' ),
1020
  'id' => 'css_cats_font_family',
1021
- 'std' => 'Droid Serif',
1022
  'type' => 'font',
1023
  'refresh_on_change' => false,
1024
  'affect_on_change_el' => '.dslc-project-cats',
@@ -1183,7 +1183,7 @@ class DSLC_Projects extends DSLC_Module {
1183
  array(
1184
  'label' => __( 'Font Family', 'live-composer-page-builder' ),
1185
  'id' => 'css_excerpt_font_family',
1186
- 'std' => 'Open Sans',
1187
  'type' => 'font',
1188
  'refresh_on_change' => false,
1189
  'affect_on_change_el' => '.dslc-project-excerpt',
@@ -1367,7 +1367,7 @@ class DSLC_Projects extends DSLC_Module {
1367
  array(
1368
  'label' => __( 'Font Family', 'live-composer-page-builder' ),
1369
  'id' => 'css_button_font_family',
1370
- 'std' => 'Open Sans',
1371
  'type' => 'font',
1372
  'refresh_on_change' => false,
1373
  'affect_on_change_el' => '.dslc-project-read-more a',
539
  'std' => '4',
540
  'type' => 'slider',
541
  'refresh_on_change' => false,
542
+ 'affect_on_change_el' => '.dslc-project-thumb-inner, .dslc-project-thumb, .dslc-project-thumb img',
543
  'affect_on_change_rule' => 'border-top-left-radius,border-top-right-radius',
544
  'section' => 'styling',
545
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
551
  'std' => '0',
552
  'type' => 'slider',
553
  'refresh_on_change' => false,
554
+ 'affect_on_change_el' => '.dslc-project-thumb-inner, .dslc-project-thumb, .dslc-project-thumb img',
555
  'affect_on_change_rule' => 'border-bottom-left-radius,border-bottom-right-radius',
556
  'section' => 'styling',
557
  'tab' => __( 'Thumbnail', 'live-composer-page-builder' ),
911
  array(
912
  'label' => __( 'Font Family', 'live-composer-page-builder' ),
913
  'id' => 'css_title_font_family',
914
+ 'std' => '',
915
  'type' => 'font',
916
  'refresh_on_change' => false,
917
  'affect_on_change_el' => '.dslc-project-title h2,.dslc-project-title h2 a',
1018
  array(
1019
  'label' => __( 'Font Family', 'live-composer-page-builder' ),
1020
  'id' => 'css_cats_font_family',
1021
+ 'std' => '',
1022
  'type' => 'font',
1023
  'refresh_on_change' => false,
1024
  'affect_on_change_el' => '.dslc-project-cats',
1183
  array(
1184
  'label' => __( 'Font Family', 'live-composer-page-builder' ),
1185
  'id' => 'css_excerpt_font_family',
1186
+ 'std' => '',
1187
  'type' => 'font',
1188
  'refresh_on_change' => false,
1189
  'affect_on_change_el' => '.dslc-project-excerpt',
1367
  array(
1368
  'label' => __( 'Font Family', 'live-composer-page-builder' ),
1369
  'id' => 'css_button_font_family',
1370
+ 'std' => '',
1371
  'type' => 'font',
1372
  'refresh_on_change' => false,
1373
  'affect_on_change_el' => '.dslc-project-read-more a',
modules/staff/module.php CHANGED
@@ -1025,7 +1025,7 @@ class DSLC_Staff extends DSLC_Module {
1025
  array(
1026
  'label' => __( 'Font Family', 'live-composer-page-builder' ),
1027
  'id' => 'css_title_font_family',
1028
- 'std' => 'Lato',
1029
  'type' => 'font',
1030
  'refresh_on_change' => false,
1031
  'affect_on_change_el' => '.dslc-staff-member-title h2',
@@ -1109,7 +1109,7 @@ class DSLC_Staff extends DSLC_Module {
1109
  'type' => 'slider',
1110
  'refresh_on_change' => false,
1111
  'affect_on_change_el' => '.dslc-staff-member-position',
1112
- 'affect_on_change_rule' => 'border-top-width,border-bottom-width',
1113
  'section' => 'styling',
1114
  'ext' => 'px',
1115
  'tab' => __( 'Position', 'live-composer-page-builder' ),
@@ -1184,7 +1184,7 @@ class DSLC_Staff extends DSLC_Module {
1184
  array(
1185
  'label' => __( 'Font Family', 'live-composer-page-builder' ),
1186
  'id' => 'css_position_font_family',
1187
- 'std' => 'Bitter',
1188
  'type' => 'font',
1189
  'refresh_on_change' => false,
1190
  'affect_on_change_el' => '.dslc-staff-member-position',
@@ -1301,7 +1301,7 @@ class DSLC_Staff extends DSLC_Module {
1301
  array(
1302
  'label' => __( 'Font Family', 'live-composer-page-builder' ),
1303
  'id' => 'css_excerpt_font_family',
1304
- 'std' => 'Lato',
1305
  'type' => 'font',
1306
  'refresh_on_change' => false,
1307
  'affect_on_change_el' => '.dslc-staff-member-excerpt',
1025
  array(
1026
  'label' => __( 'Font Family', 'live-composer-page-builder' ),
1027
  'id' => 'css_title_font_family',
1028
+ 'std' => '',
1029
  'type' => 'font',
1030
  'refresh_on_change' => false,
1031
  'affect_on_change_el' => '.dslc-staff-member-title h2',
1109
  'type' => 'slider',
1110
  'refresh_on_change' => false,
1111
  'affect_on_change_el' => '.dslc-staff-member-position',
1112
+ 'affect_on_change_rule' => 'border-width',
1113
  'section' => 'styling',
1114
  'ext' => 'px',
1115
  'tab' => __( 'Position', 'live-composer-page-builder' ),
1184
  array(
1185
  'label' => __( 'Font Family', 'live-composer-page-builder' ),
1186
  'id' => 'css_position_font_family',
1187
+ 'std' => '',
1188
  'type' => 'font',
1189
  'refresh_on_change' => false,
1190
  'affect_on_change_el' => '.dslc-staff-member-position',
1301
  array(
1302
  'label' => __( 'Font Family', 'live-composer-page-builder' ),
1303
  'id' => 'css_excerpt_font_family',
1304
+ 'std' => '',
1305
  'type' => 'font',
1306
  'refresh_on_change' => false,
1307
  'affect_on_change_el' => '.dslc-staff-member-excerpt',
readme.txt CHANGED
@@ -124,6 +124,16 @@ The Page Builder Sandwich available on WordPress.org is a light version of Page
124
 
125
  == Changelog ==
126
 
 
 
 
 
 
 
 
 
 
 
127
  = 1.0.8.1 - May 14th 2016 =
128
 
129
  * Module Options: HTML/SHORTCODE module now has an Error-Proof mode. Use it when the complex shortcode or JS code break the Live Composer page editing functionality.
124
 
125
  == Changelog ==
126
 
127
+ = 1.0.8.2 - May 21st 2016 =
128
+
129
+ * Module Options: New Max-Width setting in the IMAGE module added.
130
+ * Code Improvements: New Live Composer automatically deacitvate Live and Previous generation of the plugin.
131
+ * Code Improvements: When save process fails, errors are more informative now.
132
+ * Code Improvements: Removed all the custom fonts from Module defaults.
133
+ * Bug Fixed: Fixed problems when styling options do not apply after.
134
+ * Bug Fixed: Fixed infinite loop when full content displayed on posts archive listing.
135
+
136
+
137
  = 1.0.8.1 - May 14th 2016 =
138
 
139
  * Module Options: HTML/SHORTCODE module now has an Error-Proof mode. Use it when the complex shortcode or JS code break the Live Composer page editing functionality.