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

Version Description

  • Jan 14 2020 =
  • Fixed flickering sections in the header on mobile
  • Fixed unresponsive font family selector
  • Fixed visual appearance of the license field
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.5.5
Comparing to
See all releases

Code changes from version 1.5.4 to 1.5.5

css/dist/builder.min.css CHANGED
@@ -1 +1 @@
1
- html{top:-32px;position:relative}#wpwrap{overflow:hidden}body{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body.toplevel_page_livecomposer_editor{background:#464646}body div.mce-inline-toolbar-grp.mce-arrow-up{margin-top:48px}.inline-editor,.inline-editor *,.dslca-editable-content,.dslca-editable-content *,div[contenteditable="true"],span[contenteditable="true"],a[contenteditable="true"],h1[contenteditable="true"],h2[contenteditable="true"],h3[contenteditable="true"],h4[contenteditable="true"],h5[contenteditable="true"],h6[contenteditable="true"]{-webkit-touch-callout:text;-webkit-user-select:text;-khtml-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}body .inline-editor:hover,body .inline-editor:hover *,body .dslca-editable-content:hover,body .dslca-editable-content:hover *{cursor:text}div:hover,span>span:hover,div>span:hover{cursor:default}body a{text-decoration:none}body a:focus{color:inherit;box-shadow:none}.feather{width:24px;height:24px;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}#dslc-preview-error{text-align:center;padding:160px 0 0;text-transform:uppercase;letter-spacing:2px}.dslc-module-heading:before,.dslc-module-heading:after,.dslc-clearfix:before,.dslc-clearfix:after{content:" ";display:table}.dslc-module-heading:after,.dslc-clearfix:after{clear:both}.dslc-module-heading,.dslc-clearfix{*zoom:1}.dslc-fl{float:left}.dslc-fr{float:right}.dslc-clear{clear:both}.dslc-no-float{float:none !important}.dslca-container *{padding:0;margin:0;border:none;outline:0}.dslca-disable-selection{-ms-user-select:none !important;-moz-user-select:-moz-none !important;-khtml-user-select:none !important;-webkit-user-select:none !important;user-select:none !important}.dslca-container p{margin-bottom:20px}.dslca-container input[type="text"],.dslca-container input[type="number"],.dslca-container select,.dslca-container textarea{background:rgba(255,255,255,0.1);border:0;color:#fff;padding:7px 10px;font-size:12px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.dslca-container .dslca-module-edit-option-slider input[type="number"]{padding-right:30px}.dslca-container input[type="text"],.dslca-container input[type="email"],.dslca-container input[type="number"]{height:auto}.dslca-container select,.dslca-modules-section-edit-option select{line-height:12px;padding:6px 10px;min-height:32px;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;background:url(../../images/dropdown-arrow.png) 90% 55%/7px no-repeat #6c9fed}.dslca-modules-section-edit-option-select .dslca-icon,.dslca-module-edit-option-select .dslca-icon{position:absolute;right:30px;top:77px;cursor:pointer}.dslca-container input[type="submit"]{background:#6ba253;border:0;color:#fff;cursor:pointer;padding:8px 10px;line-height:17px}.dslca-container{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;font-size:13px;bottom:0;color:#fff;left:0;position:fixed;right:0;z-index:99999;-webkit-transition:bottom 0.3s;-moz-transition:bottom 0.3s;transition:bottom 0.3s}.dslca-container,.dslca-container *,.dslca-container *::after,.dslca-container *::before,.dslca-module-manage,.dslca-module-manage *,.dslca-module-manage *::after,.dslca-module-manage *::before{box-sizing:border-box}.dslca-show-js-error-hook{padding:10px;bottom:-1px;display:inline-block;color:rgba(199,199,199,0.64) !important;visibility:hidden;float:left}.dslca-show-js-error-hook:hover{color:#ff4040}.dslca-show-js-error-hook .dslca-icon{color:#ff4040;margin-right:5px;margin-left:8px}#dslca-js-errors-report{display:none}.dslca-error-report{display:block;overflow:scroll;text-align:left;white-space:nowrap;font-size:12px;max-height:120px;-webkit-touch-callout:text;-webkit-user-select:text;-khtml-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.dslca-error-report:hover{cursor:text}.dslca-editable-content>p:only-child{margin-bottom:0 !important}.dslca-header{position:absolute;min-height:38px;bottom:100%;left:0}.dslca-header .dslca-currently-editing{display:block;position:absolute;bottom:45px;left:5px;background-color:rgba(71,70,70,0.49);color:rgba(255,255,255,0.5);padding:6px 10px;border-radius:3px;font-weight:400;font-size:10px;line-height:1;display:none;white-space:nowrap;letter-spacing:0.4px;text-transform:uppercase;cursor:pointer}.dslca-header .dslca-currently-editing .dslca-icon{margin-right:5px}.dslca-header .dslca-currently-editing strong{color:#fff}.dslca-header .dslca-go-to-section-hook,.dslca-header .dslca-options-filter-hook,.dslca-header .dslca-row-options-filter-hook,.dslca-pseudo-header .dslca-pseudo-options-filter-hook{bottom:0;background:#313131;border-radius:3px 3px 0 0;color:#adadad;cursor:pointer;display:block;float:left;font-size:13px;font-weight:600;line-height:1;padding:13px 15px;position:relative}.dslca-header .dslca-options-filter-hook,.dslca-pseudo-options-filter-hook,.dslca-header .dslca-row-pseudo-options-filter-hook{display:none;margin-right:3px}.dslca-header .dslca-go-to-section-hook.dslca-active,.dslca-header .dslca-options-filter-hook.dslca-active,.dslca-header .dslca-row-options-filter-hook.dslca-active,.dslca-pseudo-header .dslca-pseudo-options-filter-hook.dslca-active{border-top-color:#4777c2;background:#3b6fbe;color:#fff;cursor:default}.dslca-header .dslca-options-filter-hook .dslca-icon,.dslca-header .dslca-row-options-filter-hook .dslca-icon,.dslca-pseudo-header .dslca-pseudo-options-filter-hook .dslca-icon{margin-right:4px}.dslca-header .dslca-options-filter-hook.dslca-active,.dslca-header .dslca-row-options-filter-hook.dslca-active,.dslca-pseudo-header .dslca-pseudo-options-filter-hook.dslca-active{background:#5890e5}.dslca-header .dslca-go-to-section-templates.dslca-active{border-top-color:#bf7671;background:#a94640}.dslca-header .dslca-go-to-section-hook .dslca-icon{font-weight:normal}.dslca-module-edit-actions,.dslca-row-edit-actions,.dslca-pseudo-module-edit-actions{display:none;float:left;margin-left:4px;margin-top:1px}.dslca-prompt-modal-cancel-hook,.dslca-prompt-modal-confirm-hook,.dslca-module-edit-save,.dslca-pseudo-module-edit-save,.dslca-row-edit-save,.dslca-module-edit-cancel,.dslca-pseudo-module-edit-cancel,.dslca-row-edit-cancel,.dslca-wp-editor-save-hook,.dslca-wp-editor-cancel-hook{background:#78ca4f;border-radius:3px;color:#fff !important;cursor:pointer;display:inline-block;font-size:13px;font-weight:600;line-height:1;padding:10px 12px;margin-right:6px;text-decoration:none}.dslca-module-edit-cancel,.dslca-row-edit-cancel,.dslca-wp-editor-cancel-hook,.dslca-prompt-modal-cancel-hook,.dslca-pseudo-module-edit-cancel{background:#e55f5f}.dslca-module-edit-save:hover,.dslca-row-edit-save:hover,.dslca-wp-editor-save-hook:hover,.dslca-prompt-modal-confirm-hook:hover,.dslca-pseudo-module-edit-save:hover{background:#91dc1e;color:#fff}.dslca-module-edit-cancel:hover,.dslca-row-edit-cancel:hover,.dslca-wp-editor-cancel-hook:hover,.dslca-prompt-modal-cancel-hook:hover,.dslca-pseudo-module-edit-cancel:hover{background:#f27562;color:#fff}.dslca-actions,.dslca-pseudo-actions{position:absolute;bottom:100%;right:0;padding-bottom:5px;padding-right:5px}.dslca-module-saving-in-progress .dslca-actions .dslca-save-composer-helptext,.dslca-module-saving-in-progress .dslca-actions .dslca-save-draft-composer-helptext,.dslca-module-saving-in-progress .dslca-actions .dslca-save-composer-icon,.dslca-module-saving-in-progress .dslca-actions .dslca-save-draft-composer-icon{opacity:.5;cursor:wait !important}.dslca-sections{background:#4A7AC3;box-sizing:border-box}.dslca-section.dslca-module-edit,.dslca-pseudo-section,.dslca-section.dslca-modules-section-edit{background:#5890e5}.dslca-section.dslca-templates{background:#ca564f}.dslca-modal.dslca-modal-templates-save,.dslca-modal.dslca-modal-templates-export,.dslca-modal.dslca-modal-templates-import,.dslca-section.dslca-templates-load{background:#ca564f}.dslca-section{display:none;position:relative}.dslca-section-back{display:block;float:left;width:32px;line-height:74px;text-align:center;color:#fff}.dslca-section-back:hover{background:#e25c54;color:#fff}.dslca-section-title{display:block;float:left;background:#3b6fbe;color:#fff;font-size:17px;line-height:1;padding:28px 25px}.dslca-section-title:hover,.dslca-section-title:hover *{cursor:pointer}.dslca-templates .dslca-section-title,.dslca-templates-load .dslca-section-title,.dslca-templates-save .dslca-section-title{background:#a94640}.dslca-section-title-filter{position:relative;cursor:pointer}.dslca-section-title-filter .dslca-icon{color:rgba(255,255,255,0.5);margin-left:10px;vertical-align:top}.dslca-section-title-filter-options{background:#5890E5;border-radius:3px 3px 0 0;bottom:35px;display:none;min-width:100px;left:-10px;position:absolute;z-index:999999;box-shadow:0 2px 8px 0 rgba(0,0,0,0.21)}.dslca-section-title-filter-options a{display:block;cursor:pointer;margin:1px 0 0;padding:10px 13px;border-top:1px solid rgba(0,0,0,0.09);font-size:13px;white-space:nowrap;color:#fff}.dslca-section-title-filter-options a:hover{background:#5890E5}.dslca-section.dslca-templates-load .dslca-section-title-filter-options{background:#CA564F}.dslca-section.dslca-templates-load .dslca-section-title-filter-options a:hover{background:#e25c54}.dslca-sections .dslca-exclude{display:none}.dslca-subsection{display:none}.dslca-module-non-active{opacity:0.5 !important}.dslca-module{color:#fff;display:inline-block;font-weight:400;line-height:1;padding:2px 12px 9px 12px;background:#5890e5;margin:4px 2px;box-shadow:0 1px 3px 0 rgba(0,0,0,0.15),-1px 1px 0px 0 rgba(255,255,255,0.05) inset;border-radius:2px;text-align:center;min-width:70px;transition:transform 0.05s linear 0.01s;z-index:1;position:relative}.dslca-module[data-id="DSLC_Separator"],.dslca-module[data-id="DSLC_Notification"],.dslca-module[data-id="DSLC_Sliders"],.dslca-module[data-id="DSLC_Staff"]{margin-right:14px}.dslca-module[data-id="DSLC_M_A"]{margin-left:5px;margin-right:14px;background:#b2b7bc;box-shadow:none}.dslca-module[data-id="DSLC_M_A"] .dslca-icon{color:#fff}.dslca-module[data-id="DSLC_M_A"]:hover{background:#BDC3C9}.dslca-module:hover{background:#6b9ff1;box-shadow:-2px 4px 3px 0 rgba(0,0,0,0.19),-1px 1px 0 0 rgba(255,255,255,0.05) inset;transform:translate(1px, -2px)}div.dslca-module:hover,div.dslca-module:hover *{color:#fff;cursor:grab;cursor:-webkit-grab}div.dslca-module.dslca-module-dragging{position:relative;opacity:1}.dslc-module-front.dslca-module-dragging{box-shadow:none !important}.dslc-module-front.dslca-module-ghost,.dslc-modules-section-dnd.dslca-sections-ghost{background:rgba(229,163,88,0.4) !important}div.dslca-module.dslca-module-dragging *,div.dslca-module.dslca-module-dragging,div.dslca-module.dslca-module-dragging:hover,div.dslca-module.dslca-module-dragging:hover *,div.dslca-sections-dragging *,div.dslca-sections-dragging,div.dslca-sections-dragging:hover *,div.dslca-sections-dragging:hover{cursor:grabbing;cursor:-webkit-grabbing}.dslca-manage-action.dslca-move-modules-section-hook:hover,.dslca-manage-action.dslca-move-modules-section-hook:hover *,.dslca-manage-action.dslca-move-modules-area-hook:hover,.dslca-manage-action.dslca-move-modules-area-hook:hover *,.dslca-manage-action.dslca-move-module-hook:hover,.dslca-manage-action.dslca-move-module-hook:hover *{cursor:grab;cursor:-webkit-grab}.dslca-module .dslca-icon{color:#AECEF9;vertical-align:top;font-size:20px;display:block;line-height:41px;text-align:center;text-shadow:0px 1px rgba(0,0,0,0.05)}.dslca-module.ui-draggable-dragging .dslca-icon{margin-right:0}.dslca-module-edit{position:relative}.dslca-modules-section-edit-options,.dslca-module-edit-options,.dslca-pseudo-module-edit-options{padding:16px 15px 5px 15px;min-height:58px;transform:translate(0, 0)}.dslca-modules-section-edit-option,.dslca-module-edit-option,.dslca-pseudo-module-edit-option,.dslca-section-edit-option{display:table-cell;padding-bottom:40px;padding-left:15px;padding-right:15px;padding-top:40px;min-width:180px;position:relative}.dslca-module-control-group,.dslca-section-control-group{padding:4px}.dslca-module-control-group>.controls-group-inner,.dslca-section-control-group>.controls-group-inner{padding-left:15px;padding-right:15px;padding-top:0;padding-bottom:0;min-width:180px;border:1px solid rgba(0,0,0,0.1);border-radius:3px;position:relative}.dslca-module-control-group>.controls-group-inner>.dslca-module-edit-label,.dslca-section-control-group>.controls-group-inner>.dslca-section-edit-label{position:absolute;background:rgba(76,129,207,0.4);padding:6px 11px;left:0;border-radius:2px 2px 0 0;width:100%;text-transform:uppercase;letter-spacing:1px;font-size:75%;border-bottom:1px solid #4C81CF}.dslca-module-control-group>.controls-group-inner>.dslca-module-edit-label .dslc-control-toggle{display:none}.dslca-module-edit-option-hidden{display:none !important}.dslca-module-edit-option input[type="text"],.dslca-module-edit-option input[type="email"],.dslca-module-edit-option input[type="number"],.dslca-module-edit-option textarea,.dslca-module-edit-option select,.dslca-module-edit-option input[type="text"]:focus,.dslca-module-edit-option input[type="email"]:focus,.dslca-module-edit-option input[type="number"]:focus,.dslca-module-edit-option textarea:focus,.dslca-module-edit-option select:focus,.dslca-pseudo-module-edit-field{background-color:#6c9fed;border:1px solid #447bce;border-radius:3px;width:100%;min-width:140px;height:auto}.dslca-module-edit-option-text,.dslca-pseudo-module-edit-option{width:235px}.dslca-module-edit-option-checkbox{white-space:nowrap}.dslca-module-edit-option-textarea{width:500px}.dslca-module-edit-label,.dslca-pseudo-module-edit-label,.dslca-modules-section-edit-label{color:#fff;display:block;font-weight:400;font-size:13px;line-height:1;margin-bottom:10px;padding-right:40px;white-space:nowrap;position:relative}.dslca-module-edit-field-font{min-width:140px}.dslca-module-edit-field-font-wrapper,.dslca-module-edit-field-icon-wrapper{display:table-cell;padding-right:5px;position:relative}.dslca-module-edit-field-font,.dslca-module-edit-field-icon{vertical-align:middle}.dslca-options-iconbutton{background:#3b6fbe none repeat scroll 0 0;border:1px solid #3565ad;border-radius:3px;cursor:pointer;display:table-cell;height:32px;text-align:center;vertical-align:middle;padding:0 10px}.dslca-options-iconbutton.dslca-module-edit-field-font-prev{border-top-right-radius:0;border-bottom-right-radius:0}.dslca-options-iconbutton.dslca-module-edit-field-font-next{border-top-left-radius:0;border-bottom-left-radius:0;border-left-width:0}.dslca-options-iconbutton .dslca-icon{color:#8db6f3;font-size:12px;line-height:30px}.dslca-module-edit-field-font-suggest,.dslca-module-edit-field-icon-suggest{color:#fff;color:rgba(255,255,255,0.5);position:absolute;left:11px;top:0;line-height:32px;font-size:13px}.dslca-module-edit-option-checkbox{width:auto}.dslca-module-edit-option-checkbox input[type="checkbox"]{display:none}.dslca-module-edit-option-checkbox-wrapper{display:table-cell;background:#3b6fbe;border-radius:3px;border:1px solid #3565ad;padding:0 10px}.dslca-module-edit-option-checkbox-single{padding:6px 8px;display:table-cell}.dslca-module-edit-option-checkbox-hook{cursor:pointer;font-size:13px;font-weight:400}.dslca-module-edit-option-checkbox-hook .dslca-icon{margin-right:10px}.dslca-module-edit-option-radio{width:auto}.dslca-module-edit-option-radio input[type="radio"]{vertical-align:bottom}.dslca-module-edit-option-radio-wrapper{background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:0 10px}.dslca-module-edit-option-radio-single{margin:6px;display:inline-block;font-size:12px;font-weight:400}.dslca-module-edit-option-box_shadow,.dslca-module-edit-option-text_shadow{width:auto}.dslca-module-edit-option-box-shadow-wrapper,.dslca-module-edit-option-text-shadow-wrapper{display:table-cell;background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:2px 10px;font-size:0}.dslca-module-edit-option-box-shadow-single,.dslca-module-edit-option-text-shadow-single{display:table-cell;width:auto;line-height:1;vertical-align:middle;white-space:nowrap;padding-left:20px;position:relative}.dslca-module-edit-option-box-shadow-single:first-child,.dslca-module-edit-option-text-shadow-single:first-child{padding-left:0}.dslca-module-edit-option-box-shadow-single span,.dslca-module-edit-option-text-shadow-single span{font-size:12px;margin-right:10px;vertical-align:middle}.dslca-module-edit-option-box-shadow-single span.wp-picker-input-wrap,.dslca-module-edit-option-text-shadow-single span.wp-picker-input-wrap{margin-right:0}.dslca-module-edit-option-box-shadow-single input[type="number"],.dslca-module-edit-option-text-shadow-single input[type="number"],.dslca-module-edit-option-box-shadow-single input[type="text"],.dslca-module-edit-option-text-shadow-single input[type="text"],.dslca-module-edit-option-box-shadow-single input[type="number"]:focus,.dslca-module-edit-option-text-shadow-single input[type="number"]:focus,.dslca-module-edit-option-box-shadow-single input[type="text"]:focus,.dslca-module-edit-option-text-shadow-single input[type="text"]:focus{width:60px;min-width:auto;padding:3px 7px;vertical-align:middle}.dslca-module-edit-option-box-shadow-single input[type="text"].dslca-module-edit-option-box-shadow-color,.dslca-module-edit-option-text-shadow-single input[type="text"].dslca-module-edit-option-text-shadow-color{width:100px}.dslca-module-edit-option-box-shadow-single input[type="checkbox"]{display:none}.dslca-module-edit-option-box-shadow-single .dslca-module-edit-option-checkbox-hook{margin-right:0}.dslca-module-edit-option-box-shadow-single .dslca-module-edit-option-checkbox-hook .dslca-icon{margin-left:10px;margin-right:0;font-size:13px;font-weight:normal}.dslca-module-edit-option-text-align{width:auto}.dslca-module-edit-option-text-align input[type="checkbox"]{display:none}.dslca-module-edit-option-text-align-wrapper{background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:0 10px;font-size:0;display:table-cell}.dslca-module-edit-option-text-align-single{display:table-cell;font-size:14px;text-align:center;line-height:1;vertical-align:middle;padding:5px 12px}.dslca-module-edit-option-text-align-hook{cursor:pointer;opacity:0.6;line-height:20px}.dslca-module-edit-option-text-align-hook:hover{opacity:0.8}.dslca-module-edit-option-text-align-hook.dslca-active{opacity:1}.dslca-container:not([data-current-section=responsive]) .dslca-clear-responsive-options{display:none}.dslca-module-edit-options-tab-hook,.dslca-pseudo-module-edit-options-tab-hook,.dslca-clear-responsive-options{color:#fff;cursor:pointer;font-size:12px;font-weight:600;letter-spacing:0.5px;text-transform:uppercase;padding:6px 10px;border-radius:3px;float:left}.dslca-module-edit-options-tab-hook.dslca-active,.dslca-module-edit-options-tab-hook.dslca-active:hover{background:rgba(0,0,0,0.11);box-shadow:-1px 1px 1px 0 rgba(0,0,0,0.22) inset}.dslca-module-edit-options-tab-hook:hover,.dslca-pseudo-module-edit-options-tab-hook:hover,.dslca-clear-responsive-options:hover{background:rgba(169,239,255,0.17);color:#fff}.dslca-module-edit-options-tab-hook[data-id="animation_styling"],.dslca-module-edit-options-tab-hook[data-id="presets_styling"],.dslca-clear-responsive-options{float:right}.dslca-clear-styling-button{border:1px solid rgba(255,255,255,0.4);border-radius:4px;display:inline-block !important;float:right;font-weight:bold;padding:4px 6px;position:absolute;right:0;top:15px;color:#a0c0f0;cursor:pointer;font-size:11px;font-weight:900;margin-right:18px}.dslca-clear-styling-button:hover{color:#fff}.dslca-modules-section-edit{position:relative}.dslca-modules-section-edit-option-hidden{display:none !important}.dslca-modules-section-edit-option input[type="text"],.dslca-modules-section-edit-option input[type="email"],.dslca-modules-section-edit-option input[type="number"],.dslca-modules-section-edit-option textarea,.dslca-modules-section-edit-option select{background-color:#6c9fed;border:1px solid #447bce;width:100%;height:auto}.dslca-modules-section-edit-option-text{width:235px}.dslca-modules-section-edit-option-textarea{width:500px}.dslca-modules-section-edit-option-checkbox{width:auto}.dslca-modules-section-edit-option-checkbox input[type="checkbox"]{display:none}.dslca-modules-section-edit-option-checkbox-wrapper{background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:0 10px}.dslca-modules-section-edit-option-checkbox-single{margin:6px;display:table-cell;white-space:nowrap;padding:8px}.dslca-modules-section-edit-option-checkbox-hook{cursor:pointer;font-size:12px;font-weight:400}.dslca-modules-section-edit-option-checkbox-hook .dslca-icon{margin-right:10px}.dslca-modules-section-settings{display:none}.dslca-templates{position:relative}.dslca-template,.dslca-templates .dslca-go-to-section-hook,.dslca-templates .dslca-open-modal-hook{border-right:1px solid rgba(0,0,0,0.12);color:#fff;cursor:pointer;display:block;float:left;font-size:15px;line-height:1;padding:29px 29px 27px 29px}.dslca-templates .dslca-go-to-section-hook:hover,.dslca-templates .dslca-open-modal-hook:hover,.dslca-template:hover{background:#e25c54;color:#fff}.dslca-templates .dslca-go-to-section-hook .dslca-icon,.dslca-templates .dslca-open-modal-hook .dslca-icon{color:rgba(255,255,255,0.5);margin-right:9px;vertical-align:top;line-height:14px}.dslca-templates-load{border-top:1px solid #d8827d}.dslca-template-origin-user{padding-right:50px}.dslca-template .dslca-delete-template-hook{background:rgba(0,0,0,0.2);border-radius:3px;display:inline-block;margin-top:-6px;margin-left:7px;padding:5px 7px;cursor:pointer}.dslca-template-save-form input[type="text"]{background:#fff;border:1px solid #d9dcdf;border-radius:3px;color:#bfbfbf;display:block;margin-bottom:15px;width:224px}#dslca-import-code{background:#fff;border:1px solid #d9dcdf;border-radius:3px;color:#bfbfbf;display:block;height:150px;margin-bottom:15px;overflow:hidden;width:224px}#dslca-export-code{background:#fff;border:1px solid #d9dcdf;border-radius:3px;color:#bfbfbf;display:block;height:150px;margin-bottom:15px;overflow:hidden;width:224px}.dslca-template-export-form .dslca-close-modal-hook{display:block;width:auto}.dslca-switch{background:#1783bc;border-radius:50%;bottom:-50px;cursor:pointer;height:100px;left:45%;position:fixed;width:100px}.dslca-submit{background:#4cc12d;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:14px;font-weight:bold;line-height:34px;position:relative;text-align:center;width:110px}.dslca-submit-secondary{background:#5890e5;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:14px;font-weight:bold;line-height:34px;text-align:center;width:110px}.dslca-cancel{background:#e55f5f;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:14px;font-weight:bold;line-height:34px;text-align:center;width:110px}.dslca-module-reloading{position:absolute;left:0;top:0;right:0;bottom:0;background:rgba(255,255,255,0.8);color:#5890e5}.dslca-module-reloading .dslca-icon{font-size:20px;position:absolute;top:50%;left:50%;margin-left:-10px}.dslca-module-placeholder,.dslca-modules-section-placeholder{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif}.dslca-module-placeholder{position:relative;background:#5890e5;height:40px;float:left}.dslca-placeholder-help-text{position:absolute;left:0;bottom:0;right:0;text-align:center}.dslca-placeholder-help-text-inner{background:#5890e5;border-radius:3px 3px 0 0;color:#fff;font-size:12px;font-weight:400;letter-spacing:.5px;display:inline-block;padding:5px 10px}.dslc-modules-area.dslc-modules-area-empty{margin-bottom:20px;min-height:138px;box-shadow:0 0 0 2px rgba(173,175,179,0.4);text-align:center;vertical-align:middle}.dslc-modules-area.dslc-modules-area-empty:last-child{margin-bottom:0px}.dslc-modules-area-empty::after{content:"Drop modules here";display:inline-block;opacity:1;color:rgba(173,175,179,0.4);left:0;right:0;top:50%;margin-top:-10px;position:absolute;font-size:15px;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif}.dslc-module-front{position:relative;min-height:30px}.dslc-module-front:hover{z-index:999999}body.module-editing-in-progress .dslc-module-front:not(.dslca-module-being-edited),body.section-editing-in-progress .dslc-modules-section:not(.dslca-modules-section-being-edited){cursor:default !important}.dslc-module-front:hover,.dslc-module-front:hover *{cursor:pointer}.dslc-modules-area:hover{box-shadow:0 0 0 2px #adafb3 inset}.dslc-modules-area:hover .dslc-module-front:hover{box-shadow:0 0 0 2px #4f8ff1 inset}.dslc-module-front.dslca-module-dragging{animation:none !important}.dslc-modules-area.dslca-options-hovered .dslc-module-front{box-shadow:0 0 0 0 transparent}.dslc-control-toggle{cursor:pointer;font-size:15px;opacity:0.5;position:absolute;right:0}.dslc-control-toggle:hover{opacity:1}.dslca-option-off{opacity:.5}.dslc-control-toggle:before{content:"\f205"}.dslca-option-off .dslc-control-toggle:before{content:"\f204"}.dslc-modules-area{outline:0}.dslc-modules-area-empty.dslc-modules-area.dslca-options-hovered{box-shadow:0 0 0 2px rgba(173,175,179,0.4)}.dslc-modules-area.dslca-options-hovered{box-shadow:0 0 0 2px rgba(173,175,179,0.4)}.dslc-modules-area-empty.dslca-options-hovered{outline:none !important}.dslc-module-front.ui-sortable-helper{background:#5890e5;border-radius:3px;height:0 !important;width:0 !important;overflow:hidden;opacity:1 !important;cursor:move;padding:0 !important;border:0 !important;outline:none !important}.dslc-module-front.ui-sortable-helper *{opacity:0}.dslc-module-front .dslc-sortable-helper-icon{display:none;position:absolute;left:25px;top:25px;color:rgba(255,255,255,0.5)}.dslc-module-front.ui-sortable-helper .dslc-sortable-helper-icon{display:block;opacity:1}.dslc-modules-area.ui-sortable-helper{cursor:move;border:0 !important;outline:0 !important}.dslc-modules-area.ui-sortable-helper *{opacity:0}.dslc-modules-section.ui-sortable-helper{max-height:0px !important;width:100% !important;overflow:hidden !important;opacity:0 !important;padding:0 !important;outline:0 !important;border:0 !important}.dslca-save-composer,.dslca-save-draft-composer{background:#313131;border-radius:3px 6px 6px 3px;cursor:pointer;font-size:13px;float:left;line-height:1;opacity:0;display:none;padding:10px 12px;padding-right:43px;text-decoration:none;position:relative;margin-right:6px}.dslca-save-composer-helptext{color:#adadad;white-space:nowrap}.dslca-save-composer .dslca-save-composer-icon,.dslca-save-draft-composer .dslca-save-draft-composer-icon{background:#78ca4f;bottom:0;border-radius:0 3px 3px 0;border-top:1px solid #b8e3a2;cursor:pointer;color:#fff;display:block;position:absolute;right:0;top:0;text-align:center;width:30px}.dslca-save-composer .dslca-save-composer-icon .dslca-icon{color:#fff;margin:0;position:relative;top:10px}.dslca-save-draft-composer-helptext{color:#adadad;white-space:nowrap}.dslca-save-draft-composer .dslca-save-draft-composer-icon .dslca-icon{color:#fff;margin:0;position:relative;top:10px}.dslca-no-content{position:absolute;display:none;border:2px dashed #5890e5;padding:35px 10px;width:100%;text-align:center}.dslc-modules-area-empty .dslca-no-content{display:block}.dslca-no-content .dslca-icon{margin-right:10px}.dslc-modules-area.dslc-2-col .dslca-no-content-help-text,.dslc-modules-area.dslc-1-col .dslca-no-content-help-text{display:none}.dslc-modules-area.dslc-2-col .dslca-icon,.dslc-modules-area.dslc-1-col .dslca-icon{margin-right:0}.dslca-templates-actions{background:rgba(0,0,0,0.3);position:absolute;bottom:0;left:0;right:0}div.dslca-add-modules-section{text-align:center;margin-top:30px;width:80%;max-width:620px;margin-left:auto;margin-right:auto;margin-bottom:180px;overflow:hidden;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif}.dslca-add-modules-section-hook,.dslca-import-modules-section-hook{background:#e5855f !important;border-radius:3px;color:#fff !important;cursor:pointer;display:block;font-size:15px !important;float:left;line-height:1 !important;padding:14px 0;text-decoration:none !important;width:70% !important;box-shadow:none !important}.dslca-add-modules-section-hook:hover,.dslca-import-modules-section-hook:hover{background:#FF9162 !important;color:#fff !important}.dslca-add-modules-section .dslca-icon,.dslca-import-modules-section .dslca-icon{margin-right:10px;color:rgba(255,255,255,0.5) !important}.dslca-import-modules-section-hook{float:right;width:28% !important}.dslc-modules-section{position:relative}.dslc-modules-section:hover{box-shadow:0 0 0 2px #EF7C5B inset}.dslc-modules-section.dslca-change-width-active{z-index:100}body .dslca-cmd{display:none}body.key-press-cmd .dslca-cmd-hide{display:none}body.key-press-cmd .dslca-cmd,body.key-press-cmd .dslca-cmd.dslca-manage-action{display:flex}.dslca-manage-action{display:flex;align-items:center;justify-content:center;color:#fff;background-color:#ED7C5F;text-decoration:none;font-size:14px;line-height:15px;text-align:center;min-width:30px;margin-right:-2px;position:relative}.dslca-manage-action:before{content:"";position:absolute;left:0;top:0;display:block;bottom:0;right:0}.dslca-module-manage-inner .dslca-manage-action{background-color:#5291EE}.dslca-manage-action svg{max-width:15px}.dslca-icon{vertical-align:middle}.dslca-manage-action:first-child{border-radius:3px 0 0 0}.dslca-manage-action:last-child{border-radius:0 3px 0 0}.dslca-modules-section-manage{bottom:0;left:0;right:0;height:30px;visibility:hidden;padding-right:0;position:absolute;z-index:999999;width:20%;margin:0 auto;text-align:center}.dslca-modules-section-manage:hover{z-index:100000}.dslc-modules-section:hover .dslca-modules-section-manage{visibility:visible !important}.dslca-modules-section-manage-inner,.dslca-module-manage-inner{display:flex;justify-content:center;vertical-align:middle;border-radius:3px;line-height:1;position:relative;z-index:99999;height:30px;opacity:0;cursor:pointer}.dslca-modules-section-manage-inner{border-bottom-right-radius:0;border-bottom-left-radius:0}.dslca-modules-section-manage .dslca-manage-action:hover{background:#db6a3a}.dslca-module-manage-inner .dslca-manage-action:hover{background:#507FC9}.dslca-modules-section-placeholder{position:relative;background:#E5855F;height:2px;width:100%;margin:10px 0}.dslca-modules-section-placeholder .dslca-placeholder-help-text-inner{background:#E5855F}.dslca-add-modules-area-hook{background:#5fb7e5;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:11px;font-weight:bold;line-height:1;margin-right:7px;padding:7px 10px;text-decoration:none;vertical-align:middle}.dslca-add-modules-area-hook:hover{color:#fff}.dslca-add-modules-area-hook .dslca-icon{margin-right:5px;color:rgba(255,255,255,0.5);position:relative;top:1px}.dslc-modules-area{position:relative}.dslca-modules-area-drag-in-progress .dslc-modules-area{margin-right:1% !important;clear:none}.dslca-modules-area-manage{visibility:hidden;opacity:0.5;-webkit-transition:opacity 0.2s ease-in-out;-moz-transition:opacity 0.2s ease-in-out;transition:opacity 0.2s ease-in-out}.dslc-modules-area:hover .dslca-modules-area-manage{visibility:visible;opacity:0.5}.dslc-modules-section.dslc-full:hover .dslc-modules-area:hover .dslca-modules-area-manage{z-index:9999999}.dslc-modules-area .dslca-modules-area-manage:hover{opacity:1}.dslca-modules-area-manage{bottom:0;position:absolute;left:-28px;top:0;margin-right:0px;text-align:center;z-index:999999}.dslca-modules-area-manage.dslca-horizontal{top:50%}.dslc-modules-section.dslc-full .dslca-modules-area-manage{right:auto;left:0;margin-right:0}.dslca-modules-area-manage-inner{display:flex;flex-flow:column;border-radius:3px 0 0 3px;border-right-width:0;margin-top:10px;position:relative;z-index:99999}.dslca-horizontal .dslca-modules-area-manage-inner{margin-top:-47px}.dslc-modules-section.dslc-full .dslca-modules-area-manage-inner{border-radius:0 3px 3px 0}.dslca-modules-area-manage .dslca-manage-action{color:#fff;background-color:#b2b7bc;display:block;text-decoration:none;line-height:1px;text-align:center;margin:0;padding:1px 7px;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif}.dslca-modules-area-manage-inner .dslca-manage-action:first-child{margin-left:0;margin-top:0;padding-top:6px;border-radius:3px 0 0 0}.dslca-modules-area-manage .dslca-manage-action:last-child{padding-bottom:6px;border-radius:0 0 3px 3px}#dslc-content .dslca-modules-area-manage .dslca-manage-action:hover{color:#fff;background:#a4a5a9}#dslc-content .dslca-modules-area-manage .dslca-change-width-modules-area-hook{position:relative}#dslc-content .dslca-modules-area-manage .dslca-icon{font-size:12px}.dslca-change-width-modules-area-options,.dslca-change-width-module-options,.dslca-change-vertial-align-module-area-options{background:#fff;border:1px solid #d9dcdf;border-radius:3px;display:none;padding:7px;position:absolute;top:-6px;left:25px;z-index:99999;width:122px}.dslca-change-vertial-align-module-area-options{padding:12px;padding-top:18px}.dslca-change-width-module-hook:hover>.dslca-change-width-module-options,.dslca-change-width-modules-area-hook:hover>.dslca-change-width-modules-area-options,.dslca-change-vertial-align-module-area-hook:hover>.dslca-change-vertial-align-module-area-options{display:block}.dslca-change-width-module-options{top:24px;left:0;border-top-right-radius:0;border-top-left-radius:0;border-top:none;padding-bottom:18px}.dslca-change-width-modules-area-options:after,.dslca-change-width-modules-area-options:before{right:100%;top:18px;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.dslca-change-width-modules-area-options:after{border-color:rgba(255,255,255,0);border-right-color:#fff;border-width:10px;margin-top:-10px}.dslca-change-width-modules-area-options:before{border-color:rgba(205,205,205,0);border-right-color:#cdcdcd;border-width:11px;margin-top:-11px}.dslca-change-width-modules-area-options span,.dslca-change-width-module-options span{background:#4785db;border-radius:3px;display:inline-block;font-size:13px;font-weight:400;line-height:24px;max-width:44px;margin:1px;text-align:center;width:44px}.dslca-change-width-modules-area-options span:hover,.dslca-change-width-module-options span:hover{background:#6B9FF1}.dslca-change-width-modules-area-options span:first-child,.dslca-change-width-module-options span:first-child,.dslca-change-vertial-align-module-area-options span:first-child{background:none;color:#5e636a;display:inline-block;font-size:13px;margin-bottom:5px;max-width:none;width:auto}.dslca-change-vertial-align-module-area-options span:first-child{margin-bottom:16px}.dslc-modules-area.dslc-1-col .dslca-change-width-modules-area-options span[data-size="1"],.dslc-modules-area.dslc-2-col .dslca-change-width-modules-area-options span[data-size="2"],.dslc-modules-area.dslc-3-col .dslca-change-width-modules-area-options span[data-size="3"],.dslc-modules-area.dslc-4-col .dslca-change-width-modules-area-options span[data-size="4"],.dslc-modules-area.dslc-5-col .dslca-change-width-modules-area-options span[data-size="5"],.dslc-modules-area.dslc-6-col .dslca-change-width-modules-area-options span[data-size="6"],.dslc-modules-area.dslc-7-col .dslca-change-width-modules-area-options span[data-size="7"],.dslc-modules-area.dslc-8-col .dslca-change-width-modules-area-options span[data-size="8"],.dslc-modules-area.dslc-9-col .dslca-change-width-modules-area-options span[data-size="9"],.dslc-modules-area.dslc-10-col .dslca-change-width-modules-area-options span[data-size="10"],.dslc-modules-area.dslc-11-col .dslca-change-width-modules-area-options span[data-size="11"],.dslc-modules-area.dslc-12-col .dslca-change-width-modules-area-options span[data-size="12"],.dslc-module-front.dslc-1-col .dslca-change-width-module-options span[data-size="1"],.dslc-module-front.dslc-2-col .dslca-change-width-module-options span[data-size="2"],.dslc-module-front.dslc-3-col .dslca-change-width-module-options span[data-size="3"],.dslc-module-front.dslc-4-col .dslca-change-width-module-options span[data-size="4"],.dslc-module-front.dslc-5-col .dslca-change-width-module-options span[data-size="5"],.dslc-module-front.dslc-6-col .dslca-change-width-module-options span[data-size="6"],.dslc-module-front.dslc-7-col .dslca-change-width-module-options span[data-size="7"],.dslc-module-front.dslc-8-col .dslca-change-width-module-options span[data-size="8"],.dslc-module-front.dslc-9-col .dslca-change-width-module-options span[data-size="9"],.dslc-module-front.dslc-10-col .dslca-change-width-module-options span[data-size="10"],.dslc-module-front.dslc-11-col .dslca-change-width-module-options span[data-size="11"],.dslc-module-front.dslc-12-col .dslca-change-width-module-options span[data-size="12"]{background:#3B6FBE;box-shadow:1px 1px 3px rgba(0,0,0,0.28) inset;cursor:default}.dslc-popup-option{display:block;width:100%;background:#4785db;border-radius:3px;font-size:13px;font-weight:400;line-height:24px;margin:1px;text-align:left;cursor:default}.dslc-modules-area-empty .dslca-modules-area-manage{top:12px;bottom:auto}.dslc-modules-area-empty .dslca-modules-area-manage-inner{margin-top:0}.dslca-modules-area-placeholder{position:relative;background:#5890e5;height:2px;margin:10px;float:left}body.rtl .dslca-modules-area-placeholder{float:right}.dslca-module-manage{display:block;position:absolute;left:50%;margin-left:-77px;top:0;text-align:center;z-index:99999;line-height:1}#dslc-content .dslc-small-height-module .dslca-module-manage{top:-28px}#dslc-content .dslc-small-height-module .dslca-module-manage .dslca-module-manage-hook:first-child{border-radius:3px 0 0 3px}#dslc-content .dslc-small-height-module .dslca-module-manage .dslca-module-manage-hook:last-child{border-radius:0 3px 3px 0}.dslca-module-manage-inner{background:#5890e5}.dslca-module-manage-inner.dslca-dev-mode{background:#444;border-color:#333}#dslc-content .dslc-modules-area.dslc-1-col .dslca-module-manage .dslca-module-manage-hook,#dslc-content .dslc-modules-area.dslc-2-col .dslca-module-manage .dslca-module-manage-hook{margin-right:-2px}#dslc-content .dslca-module-manage .dslca-module-manage-hook:first-child{margin-top:0;border-radius:0 0 0 3px}#dslc-content .dslca-module-manage .dslca-module-manage-hook:last-child{margin-right:0 !important;border-radius:0 0 3px 0}#dslc-content .dslca-module-manage .dslca-module-manage-hook:hover{color:#fff}.dslca-section-scroller{position:relative;height:74px;margin-right:80px;overflow:hidden}.dslca-section-scroller-inner{position:absolute;top:0;left:0;bottom:0;width:999999px;text-align:left;-webkit-transition:left 0.3s ease-in-out;-moz-transition:left 0.3s ease-in-out;transition:left 0.3s ease-in-out}.dslca-section-scroller-content{display:inline-block;padding-right:80px}.dslca-section-scroller-fade{background:-moz-linear-gradient(left, rgba(88,144,229,0) 0%, #4674b9 100%);background:-webkit-gradient(linear, left top, right top, color-stop(0%, rgba(88,144,229,0)), color-stop(100%, #4674b9));background:-webkit-linear-gradient(left, rgba(88,144,229,0) 0%, #4674b9 100%);background:-o-linear-gradient(left, rgba(88,144,229,0) 0%, #4674b9 100%);background:-ms-linear-gradient(left, rgba(88,144,229,0) 0%, #4674b9 100%);background:linear-gradient(to right, rgba(88,144,229,0) 0%, #4674b9 100%);filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#00004799', endColorstr='#5890e5',GradientType=1 );position:absolute;right:80px;width:20px;bottom:0;top:0;z-index:1}.dslca-section-scroller-nav{position:absolute;right:0;top:0;bottom:0;overflow:hidden;width:80px;font-size:30px}.dslca-section-scroller-nav>a{cursor:pointer;display:flex;justify-content:center;align-items:center;width:40px;position:absolute;left:0;top:0;bottom:0;text-decoration:none;outline:none !important;background:rgba(0,0,0,0.2)}.dslca-section-scroller-nav>a:hover{background:rgba(0,0,0,0.15)}.dslca-section-scroller-nav>a:active{background:rgba(0,0,0,0.25)}.dslca-section-scroller-nav .dslca-section-scroller-next{left:auto;right:0}.dslca-section-scroller-prev .dslca-icon,.dslca-section-scroller-next .dslca-icon{color:#fff}.dslca-modal{background:#fff;border-radius:3px;color:#444;display:none;padding:14px 17px;position:absolute;bottom:55px;-moz-box-shadow:0 1px 6px rgba(0,0,0,0.2);-webkit-box-shadow:0 1px 6px rgba(0,0,0,0.2);box-shadow:0 1px 6px rgba(0,0,0,0.2);z-index:9999991}.dslca-modal:after{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.dslca-modal:after{border-color:rgba(255,255,255,0);border-top-color:#ffffff;border-width:7px;left:50%;margin-left:-7px}.dslca-prompt-modal-msg textarea{width:100%;min-height:80px;padding:5px;line-height:1.6em;font-size:13px;color:#848484}.dslca-prompt-modal{background:rgba(255,255,255,0.8);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999999;height:100%}.dslca-prompt-modal-content{background:#fff;border-radius:3px;top:50%;position:relative;width:400px;margin:0 auto;margin-top:-123px;padding:40px;-moz-box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);-webkit-box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12)}.dslca-prompt-modal-msg{text-align:center}.dslca-prompt-modal-title{color:#424242;display:block;font-family:"Lato";font-size:16px;font-weight:bold;line-height:1;margin-bottom:22px}.dslca-prompt-modal-descr{color:#8a8a8a;display:block;font-family:"Lato";font-size:13px;font-weight:normal;line-height:22px;margin-bottom:22px}.dslca-prompt-modal-actions{text-align:center}.dslca-prompt-modal-confirm-hook{margin-right:7px}.dslca-prompt-modal-actions .dslc-icon{color:rgba(255,255,255,0.5);margin-right:6px}.dslca-prompt-modal{background:rgba(255,255,255,0.8);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999999;height:100%}.dslca-prompt-modal-content{background:#fff;border-radius:3px;top:50%;position:relative;width:400px;margin:0 auto;margin-top:-123px;padding:30px 20px;-moz-box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);-webkit-box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12)}.dslca-prompt-modal-msg{text-align:center}.dslca-prompt-modal-title{color:#424242;display:block;font-size:16px;font-weight:bold;line-height:1;margin-bottom:22px}.dslca-prompt-modal-descr{color:#8a8a8a;display:block;font-size:13px;font-weight:normal;line-height:22px;margin-bottom:22px}.dslca-prompt-modal-descr textarea{width:100%;min-height:80px;padding:5px;font-size:11px}.dslca-prompt-modal-actions{text-align:center}.dslca-prompt-modal-actions .dslc-icon{color:rgba(255,255,255,0.5);margin-right:6px}.dslca-module-options-front,.dslca-accordion-plain-content,.dslca-tab-plain-content{display:none}.dslca-module-options-front-backup{display:none}.dslca-module-edit-option-size,#dslca-code,#dslca-content-for-search,.dslca-module-code,.dslca-section-code{display:none !important}#dslca-wysiwyg{position:absolute;top:0;left:-110%;z-index:99999;height:200px;padding-bottom:60px}#dslcawysiwyg{overflow:hidden;height:100px}#wp-dslcawysiwyg-editor-container{height:82%}#dslc-content .dslc-module-front.dslca-module-wysiwyg-active{opacity:0;min-height:200px}#dslca-wysiwyg-actions{bottom:0;position:absolute;color:#fff;left:0;line-height:1;right:0;text-align:right}#dslca-wysiwyg-actions-save-hook{background:#5bd63b;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:12px;font-weight:bold;line-height:1;padding:13px 10px;position:relative;text-align:center}#dslca-wysiwyg-actions-cancel-hook{background:#e55858;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:12px;font-weight:bold;line-height:1;padding:13px 10px;position:relative;text-align:center}#dslc-content .dslca-wysiwyg-actions-edit{position:absolute;top:0;right:0;overflow:hidden}.dslca-enabled.dslca-composer-hidden #dslc-content .dslca-wysiwyg-actions-edit{display:none}#dslc-content .dslca-wysiwyg-actions-edit-hook{background:#5593EB;color:#fff;cursor:pointer;display:block;font-size:12px;line-height:1;font-weight:bold;position:relative;padding:7px 10px;border-radius:0 0 0 3px;letter-spacing:0}#dslc-content .dslca-wysiwyg-actions-edit-hook:hover{background:#5080C9;z-index:99999}body.dslca-enabled .ui-widget-overlay,body.dslca-enabled .ui-dialog,body.dslca-enabled #mceModalBlocker,body.dslca-enabled #wp-link-backdrop,body.dslca-enabled #mce-modal-block{z-index:99999999 !important}body.dslca-enabled .clearlooks2,body.dslca-enabled #menu_dslcawpeditor_dslcawpeditor_formatselect_menu,body.dslca-enabled #dslcawpeditor_forecolor_menu,body.dslca-enabled #wp-link-wrap,body.dslca-enabled .mce-menu,body.dslca-enabled .mce-panel{z-index:999999991 !important}body.dslca-enabled .mce_fullscreen{display:none}@keyframes "dslcBounceIn"{0%{-webkit-transform:scale(0);-moz-transform:scale(0);transform:scale(0);opacity:0}70%{-webkit-transform:scale(1.05);-moz-transform:scale(1.05);transform:scale(1.05)}90%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}100%{opacity:1}}@-moz-keyframes dslcBounceIn{0%{-moz-transform:scale(0);transform:scale(0);filter:alpha(opacity=0);opacity:0}70%{-moz-transform:scale(1.05);transform:scale(1.05)}90%{-moz-transform:scale(1);transform:scale(1)}100%{filter:alpha(opacity=100);opacity:1}}@-webkit-keyframes "dslcBounceIn"{0%{-webkit-transform:scale(0);transform:scale(0);filter:alpha(opacity=0);opacity:0}70%{-webkit-transform:scale(1.05);transform:scale(1.05)}90%{-webkit-transform:scale(1);transform:scale(1)}100%{filter:alpha(opacity=100);opacity:1}}@keyframes "dslcBounceOut"{0%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(0.9);-moz-transform:scale(0.9);transform:scale(0.9)}}@-moz-keyframes dslcBounceOut{0%{-moz-transform:scale(1);transform:scale(1)}100%{-moz-transform:scale(0.9);transform:scale(0.9)}}@-webkit-keyframes "dslcBounceOut"{0%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(0.9);transform:scale(0.9)}}@keyframes "dslcBounceOut2"{0%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}30%{-webkit-transform:scale(1.01);-moz-transform:scale(1.01);transform:scale(1.01)}100%{-webkit-transform:scale(0.9);-moz-transform:scale(0.9);transform:scale(0.9)}}@-moz-keyframes dslcBounceOut2{0%{-moz-transform:scale(1);transform:scale(1)}30%{-moz-transform:scale(1.01);transform:scale(1.01)}100%{-moz-transform:scale(0.9);transform:scale(0.9)}}@-webkit-keyframes "dslcBounceOut2"{0%{-webkit-transform:scale(1);transform:scale(1)}30%{-webkit-transform:scale(1.01);transform:scale(1.01)}100%{-webkit-transform:scale(0.9);transform:scale(0.9)}}@keyframes "dslcOpacityDrop"{0%{opacity:1}100%{opacity:0.7}}@-moz-keyframes dslcOpacityDrop{0%{opacity:1}100%{opacity:0.7}}@-webkit-keyframes "dslcOpacityDrop"{0%{opacity:1}100%{opacity:0.7}}@keyframes "dslcRotate"{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes dslcRotate{0%{-moz-transform:rotate(0deg);transform:rotate(0deg)}100%{-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes "dslcRotate"{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.dslca-save-composer.dslca-init-animation,.dslca-save-draft-composer.dslca-init-animation,.dslc-modules-area.dslca-init-animation{display:block;opacity:1;-webkit-animation-name:dslcBounceIn;-moz-animation-name:dslcBounceIn;animation-name:dslcBounceIn;animation-duration:0.6s;-webkit-animation-duration:0.6s}.dslc-editable-content:focus,.dslc-editable-content.dslc-pen{outline:1px dashed rgba(0,0,0,0.2)}span.dslca-manage-action,span.dslca-manage-action:hover,span.dslca-manage-action:hover *{cursor:pointer}.dslca-module-being-edited .dslca-module-manage{display:none !important}.dslc-notification .dslca-refresh-module-hook{right:35px}.dslca-container .dslca-module-edit-option-slider,.dslca-container .dslca-modules-section-edit-option-slider{position:relative}.dslca-modules-edit-field-slider{display:none}.dslca-container .dslca-module-edit-field-slider,.dslca-container .dslca-modules-section-edit-field-slider{background:#6c9fed;border-radius:5px;position:absolute;height:5px;left:15px;right:15px;margin-top:15px}.dslca-container .dslca-module-edit-field-slider .ui-slider-handle,.dslca-container .dslca-modules-section-edit-field-slider .ui-slider-handle{background:#3b6fbe;border:1px solid #3565ad;border-radius:50%;top:-6px;position:absolute;width:15px;height:15px;margin-left:-7px;cursor:ew-resize}.dslca-module-edit-field-numeric-wrap,.dslca-modules-section-edit-field-numeric-wrap{position:relative}.dslca-module-edit-field-numeric-ext,.dslca-modules-section-edit-field-numeric-ext{position:absolute;color:rgba(255,255,255,0.8);font-size:12px;right:15px;top:50%;margin-top:-5px;line-height:1}.dslca-module-edit-option-slider .dslca-module-edit-field-numeric-ext{right:10px;top:14px}.dslca-separator-empty{height:1px;line-height:0;border-bottom:1px solid rgba(0,0,0,0.06);text-align:center;position:absolute;top:50%;left:0;right:0}.dslca-separator-empty span{background:#fff;border-radius:3px;color:#a0a0a0;display:inline-block;font-size:10px;line-height:1;padding:3px 6px;position:relative;top:-7px}.dslca-wp-editor{background:rgba(0,0,0,0.7);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999999}.dslca-wp-editor-inner{background:#fff;position:fixed;top:30px;left:30px;right:30px;bottom:30px;padding:50px}.dslca-wp-editor-notification{margin-top:30px}.dslca-wp-editor-actions{margin-top:30px}#wp-dslcawpeditor-editor-container{border:1px solid #ddd}.dslca-invisible-overlay{display:block;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99998}.dslca-disable-selection .dslca-invisible-overlay{display:block}.dslca-loading-modal{background:rgba(0,0,0,0.75);position:fixed;top:0;left:0;right:0;bottom:200px;z-index:999999}.dslca-loading-modal-content{position:relative;top:200px;width:580px;margin:0 auto}.dslca-loading-modal-msg{background:#fff;border-radius:3px;color:#707070;font-size:14px;font-weight:400;line-height:1.5;padding:35px 25px;text-align:center;margin-bottom:10px;-moz-box-shadow:0 0 7px #000;-webkit-box-shadow:0 0 7px #000;box-shadow:0 0 7px #000}.dslca-loading-modal-actions{text-align:right}.dslca-loading-modal-cancel-hook,.dslca-loading-modal-confirm-hook{background:#e55f5f;border-radius:3px;cursor:pointer;color:#fff;display:inline-block;font-size:14px;font-weight:bold;line-height:1;padding:13px 15px}.dslca-loading-modal-confirm-hook{background:#4cc12d;margin-right:7px}.dslca-module-edit-field-ttip-content{display:none}.dslca-module-edit-field-icon-ttip-hook,.dslca-module-edit-field-ttip-hook{background:#3b6fbe;color:#5890e5;cursor:pointer;border-radius:50%;position:relative;display:inline-block;width:13px;height:13px;margin-left:10px;vertical-align:bottom}.dslca-module-edit-field-icon-ttip-hook .dslca-icon,.dslca-module-edit-field-ttip-hook .dslca-icon{position:absolute;left:5px;font-weight:normal;font-size:10px;top:1px}.dslca-module-edit-field-icon-ttip,.dslca-module-edit-field-ttip{background:#fff;color:#8a8a8a;font-family:'Opens Sans', sans-serif;font-size:13px;line-height:1.4;display:none;border-radius:3px;padding:20px 25px;border:1px solid rgba(0,0,0,0.12);position:absolute;-moz-box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);-webkit-box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);text-align:center;z-index:999999}.dslca-module-edit-field-icon-ttip a,.dslca-module-edit-field-ttip a{color:#5890e5;font-weight:bold;text-decoration:none}.dslca-module-edit-field-icon-ttip:after,.dslca-module-edit-field-icon-ttip:before,.dslca-module-edit-field-ttip:after,.dslca-module-edit-field-ttip:before{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.dslca-module-edit-field-icon-ttip:after,.dslca-module-edit-field-ttip:after{border-color:rgba(255,255,255,0);border-top-color:#fff;border-width:8px;left:50%;margin-left:-8px}.dslca-module-edit-field-icon-ttip:before,.dslca-module-edit-field-ttip:before{border-color:rgba(224,224,224,0);border-top-color:#d2d2d2;border-width:9px;left:50%;margin-left:-9px}.dslca-module-edit-field-ttip-close{cursor:pointer;position:absolute;background:#e55f5f;top:-9px;right:-9px;width:18px;line-height:18px;border-radius:18px;color:#fff;font-size:11px}.dslca-modules-section-edit-option-upload,.dslca-module-edit-option-image{min-width:auto}.dslca-modules-section-edit-field-image-add-hook,.dslca-modules-section-edit-field-image-remove-hook,.dslca-module-edit-field-image-add-hook,.dslca-module-edit-field-image-remove-hook,.dslca-module-edit-field-button-hook{background:#3b6fbe;border:1px solid #3565ad;border-radius:3px;color:#a0c0f0;cursor:pointer !important;display:inline-block;font-size:12px;font-weight:400;padding:9px 12px;line-height:1;white-space:nowrap}.dslca-modules-section-edit-field-image-add-hook .dslca-icon,.dslca-modules-section-edit-field-image-remove-hook .dslca-icon,.dslca-module-edit-field-image-add-hook .dslca-icon,.dslca-module-edit-field-image-remove-hook .dslca-icon{margin-right:7px}#dslc-header,#dslc-footer{position:relative}.dslc-hf-block-overlay{display:flex;justify-content:center;align-items:center;flex-direction:column;position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(88,144,229,0.9);z-index:99999;text-align:center;opacity:0;-webkit-transition:opacity 0.2s ease-in-out;-moz-transition:opacity 0.2s ease-in-out;transition:opacity 0.2s ease-in-out}.dslc-hf-block-overlay:hover{opacity:1}.dslc-hf-block-overlay-button,.dslc-hf-block-overlay-text{display:inline-block;color:#fff;font-size:20px;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;text-decoration:none}.dslc-hf-block-overlay-text{font-size:13px;opacity:.5;margin-top:5px}.dslc-hf-block-overlay-button{padding:40px 90px}.dslc-hf-block-overlay-button:hover{color:#fff;cursor:pointer}body.dslca-composer-hidden .dslc-module-front,body.dslca-composer-hidden .dslc-modules-area,body.dslca-composer-hidden .dslc-modules-section{box-shadow:none !important;border:none !important}body.dslca-composer-hidden .dslca-module-manage,body.dslca-composer-hidden .dslca-modules-area-manage,body.dslca-composer-hidden .dslc-modules-section .dslca-modules-section-manage,.dslca-composer-hidden .dslc-modules-section:hover .dslca-modules-section-manage,.dslca-composer-hidden .dslca-add-modules-section,body.dslca-composer-hidden .dslc-hf-block-overlay{display:none !important}.dslca-loading{position:absolute;top:15px;left:25px;display:none}.followingBallsGWrap{width:64px;height:5px}.followingBallsG{background-color:rgba(255,255,255,0.5);position:absolute;top:0;left:0;width:5px;height:5px;-moz-border-radius:3px;-moz-animation-name:bounce_followingBallsG;-moz-animation-duration:2.3s;-moz-animation-iteration-count:infinite;-moz-animation-direction:linear;-webkit-border-radius:3px;-webkit-animation-name:bounce_followingBallsG;-webkit-animation-duration:2.3s;-webkit-animation-iteration-count:infinite;-webkit-animation-direction:linear;-ms-border-radius:3px;-ms-animation-name:bounce_followingBallsG;-ms-animation-duration:2.3s;-ms-animation-iteration-count:infinite;-ms-animation-direction:linear;-o-border-radius:3px;-o-animation-name:bounce_followingBallsG;-o-animation-duration:2.3s;-o-animation-iteration-count:infinite;-o-animation-direction:linear;border-radius:3px;animation-name:bounce_followingBallsG;animation-duration:2.3s;animation-iteration-count:infinite;animation-direction:linear}.followingBallsG_1{-moz-animation-delay:0s;-webkit-animation-delay:0s;-ms-animation-delay:0s;-o-animation-delay:0s;animation-delay:0s}.followingBallsG_2{-moz-animation-delay:0.23s;-webkit-animation-delay:0.23s;-ms-animation-delay:0.23s;-o-animation-delay:0.23s;animation-delay:0.23s}.followingBallsG_3{-moz-animation-delay:0.46s;-webkit-animation-delay:0.46s;-ms-animation-delay:0.46s;-o-animation-delay:0.46s;animation-delay:0.46s}.followingBallsG_4{-moz-animation-delay:0.69s;-webkit-animation-delay:0.69s;-ms-animation-delay:0.69s;-o-animation-delay:0.69s;animation-delay:0.69s}@-moz-keyframes bounce_followingBallsG{0%{left:0px;background-color:rgba(255,255,255,0.5)}50%{left:59px;background-color:rgba(0,0,0,0)}100%{left:0px;background-color:rgba(255,255,255,0.5)}}@-webkit-keyframes bounce_followingBallsG{0%{left:0px;background-color:rgba(255,255,255,0.5)}50%{left:59px;background-color:rgba(0,0,0,0)}100%{left:0px;background-color:rgba(255,255,255,0.5)}}@-ms-keyframes bounce_followingBallsG{0%{left:0px;background-color:rgba(255,255,255,0.5)}50%{left:59px;background-color:rgba(0,0,0,0)}100%{left:0px;background-color:rgba(255,255,255,0.5)}}@-o-keyframes bounce_followingBallsG{0%{left:0px;background-color:rgba(255,255,255,0.5)}50%{left:59px;background-color:rgba(0,0,0,0)}100%{left:0px;background-color:rgba(255,255,255,0.5)}}@keyframes bounce_followingBallsG{0%{left:0px;background-color:rgba(255,255,255,0.5)}50%{left:59px;background-color:rgba(0,0,0,0)}100%{left:0px;background-color:rgba(255,255,255,0.5)}}.dslca-container-loader{position:absolute;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,0.2);display:none}.dslca-container-loader-inner{position:absolute;top:10px;left:15px}body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Excerpt"],body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Meta"],body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Downloads_Button"],body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Gallery_Slider"],body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Project_Slider"],body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Staff_Social"]{display:none !important}.dslca-module.dslca-origin[data-display-module="true"]{display:inline-block}.dslca-module.dslca-origin[data-display-module="false"]{display:none}.dslca-module.dslca-exclude{display:none}.media-modal{z-index:999999999 !important}.media-modal-backdrop{z-index:999999998 !important}.dslca-container .dslca-close-composer-hook,.dslca-pseudo-panel .dslca-pseudo-close-composer-hook,.dslca-container .dslca-activate-composer-hook,.dslca-container .dslca-hide-composer-hook,.dslca-container .dslca-show-composer-hook,.dslca-pseudo-panel .dslca-pseudo-hide-composer-hook{background:#e55f5f;border-radius:3px;bottom:4px;color:#fff;cursor:pointer;display:block;font-size:12px;font-weight:400;letter-spacing:.5px;line-height:1;padding:11px 12px;text-decoration:none;white-space:nowrap;float:left;margin-left:5px}.dslca-activate-composer-hook{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif}.dslca-container .dslca-close-composer-hook:hover{background:#f27562}.dslca-container .dslca-hide-composer-hook,.dslca-pseudo-panel .dslca-pseudo-hide-composer-hook{background:#06b2ac}.dslca-container .dslca-show-composer-hook{background:#9268a9}.dslca-close-composer-hook:hover,.dslca-activate-composer-hook:hover,.dslca-activate-composer-hook:visited,.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:hover{background:#40D71F}.dslca-activate-composer-hook.dslca-position-left{right:auto;left:5px}.dslca-container .dslca-show-composer-hook{display:none}.dslca-container .dslca-close-composer-hook .dslca-icon,.dslca-pseudo-close-composer-hook .dslca-icon,.dslca-activate-composer-hook .dslca-icon,.dslca-container .dslca-hide-composer-hook .dslca-icon,.dslca-pseudo-hide-composer-hook .dslca-icon,.dslca-container .dslca-show-composer-hook .dslca-icon{color:rgba(255,255,255,0.66);margin-right:5px}body.rtl .dslca-templates .dslca-go-to-section-hook .dslca-icon,body.rtl .dslca-templates .dslca-open-modal-hook .dslca-icon{margin-right:0;margin-left:9px}body.rtl .dslca-section-title-filter .dslca-icon{margin-left:0;margin-right:10px}body.rtl .dslca-container .dslca-close-composer-hook .dslca-icon,body.rtl .dslca-activate-composer-hook .dslca-icon,body.rtl .dslca-container .dslca-hide-composer-hook .dslca-icon,body.rtl .dslca-container .dslca-show-composer-hook .dslca-icon{margin-right:0;margin-left:5px}body.rtl .dslca-module .dslca-icon{margin-right:0;margin-left:11px}body.rtl .dslca-header .dslca-options-filter-hook .dslca-icon{margin-right:0;margin-left:4px}body.rtl .dslca-prompt-modal-actions .dslc-icon{margin-right:0;margin-left:6px}body.rtl .dslca-module-edit-option-checkbox-hook .dslca-icon{margin-right:0;margin-left:10px}body.rtl .dslca-module-edit-options-inner,body.rtl .dslca-modules-section-edit-options-inner{overflow-x:scroll}body.rtl .dslca-module-edit-option,body.rtl .dslca-modules-section-edit-option{float:right}body.rtl .dslca-no-content .dslca-icon{margin-right:0;margin-left:10px}body.rtl .dslca-module-edit-options-wrapper{display:block}.dslca-modules-section-edit-options-wrapper,.dslca-module-edit-options-wrapper,.dslca-pseudo-module-edit-options-wrapper{display:table-cell;padding:0}.dslca-modules-section-edit-options-inner,.dslca-module-edit-options-inner{overflow-x:scroll;padding-top:4px}.dslca-styling-presets{position:absolute;top:0;right:0;margin-right:15px;margin-top:15px}.dslca-drag-not-in-progress .dslc-modules-section .dslca-modules-section-manage-inner{-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.dslca-drag-not-in-progress .dslc-modules-section:hover .dslca-modules-section-manage-inner{opacity:1}.dslca-composer-hidden .dslc-modules-section:hover .dslca-modules-section-manage-inner{opacity:0}.dslca-drag-not-in-progress #dslc-content .dslc-module-front .dslca-module-manage-inner:hover,.dslca-drag-not-in-progress #dslc-content .dslc-module-front:hover .dslca-module-manage-inner,.dslca-drag-not-in-progress #dslc-content .dslc-module-front:hover .dslca-wysiwyg-actions-edit{opacity:1}.dslca-drag-not-in-progress .dslc-module-front .dslca-wysiwyg-actions-edit,.dslca-drag-not-in-progress .dslc-modules-area .dslca-modules-area-manage-inner{opacity:0}.dslca-drag-not-in-progress .dslc-modules-area .dslca-modules-area-manage-inner:hover,.dslca-drag-not-in-progress .dslc-modules-area:hover .dslca-modules-area-manage-inner{opacity:1}.dslca-modal.dslca-modal-icons{width:70%;position:fixed;padding:0;overflow:scroll;top:2%;left:50% !important;visibility:visible;transform:translate(-50%, 0%);z-index:100001}.dslca-prompt-modal-custom{background:rgba(255,255,255,0.8);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:100000;height:100%}.dslca-modal-icons .modal-content{height:100%}.dslca-modal-icons .dslc-icons-grid{list-style:none;margin:0;padding:0;text-align:left}.dslca-modal-icons .icon-item{display:inline-block;width:12.4%;min-height:120px;padding:0;margin:0 0 0 -1px;vertical-align:top;text-align:center;border-left:1px solid rgba(155,155,155,0.05);border-bottom:1px solid rgba(155,155,155,0.05)}.dslca-modal-icons .icon-item:hover{-webkit-box-shadow:0 1px 5px 0px rgba(68,68,68,0.52);-moz-box-shadow:0 1px 5px 0px rgba(68,68,68,0.52);box-shadow:0 1px 5px 0px rgba(68,68,68,0.52);cursor:pointer}.dslca-modal-icons .icon-item:active{-webkit-box-shadow:0 1px 5px 0px #5890e5 inset;-moz-box-shadow:0 1px 5px 0px #5890e5 inset;box-shadow:0 1px 5px 0px #5890e5 inset}.dslca-modal-icons .icon-item_icon{display:inline-block;width:100%;padding:28px 0 16px;font-size:24px;opacity:.7}.dslca-modal-icons .icon-item:hover .icon-item_icon{opacity:1}.dslca-modal-icons .icon-item_name{opacity:.35;display:inline-block;font-size:12px;line-height:1.25;padding:5px 8px 12px}.dslca-modal-icons .set-heading{text-transform:uppercase;padding:30px;text-align:center;letter-spacing:6px;font-size:16px;font-weight:300;line-height:1.25}body.dslca-enabled.dslc-res-tablet #page-builder-preview-area,body.dslca-enabled.dslc-res-phone #page-builder-preview-area{display:block;margin:0 auto;position:relative;border:14px solid black;border-top-width:60px;border-radius:16px;top:40px}body.dslca-enabled.dslc-res-phone #page-builder-preview-area{width:480px;max-width:767px}body.dslca-enabled.dslc-res-tablet #page-builder-preview-area{width:768px;min-width:768px;max-width:1024px}body.dslca-enabled.dslc-res-phone #page-builder-frame,body.dslca-enabled.dslc-res-tablet #page-builder-frame{display:block;position:relative}html.dslc-responsive-preview{background:#61666A}#page-builder-preview-area.ui-resizable-resizing .ui-resizable-e{width:100%}#page-builder-preview-area .ui-resizable-e{cursor:e-resize;height:100%;right:-14px;width:14px;top:0}#page-builder-preview-area .ui-resizable-handle{display:block;font-size:0.1px;position:absolute}.dslca-modules-section-edit-field-colorpicker,.dslca-module-edit-field-colorpicker{display:block !important;cursor:pointer;position:relative;z-index:1}.dslca-module-edit-option-box-shadow-color,.dslca-module-edit-option-text-shadow-color{display:inline-block !important;cursor:pointer;position:relative;z-index:1;width:auto}body .sp-palette-container{border-right:1px solid #3e3e3e}body .sp-palette .sp-thumb-el{border:medium none;height:25px;margin:1px;width:25px}.dslca-pseudo-panel{position:relative;bottom:0px;left:0;position:fixed;right:0;z-index:99999;-webkit-transition:bottom 0.3s;-moz-transition:bottom 0.3s;transition:bottom 0.3s}.dslca-pseudo-header{position:absolute;z-index:100;min-height:38px;bottom:100%;left:0}.dslca-pseudo-module-edit-label{width:80px;background:#6c9fed;border-radius:3px}.dslca-pseudo-module-edit-field{border:0px;width:100%;height:33px}.dslca-pseudo-module-edit-option{opacity:0;transition:opacity .3s 0s ease-in}.dslca-pseudo-module-edit-option:nth-child(2){transition-delay:.15s}.dslca-pseudo-module-edit-option:nth-child(3){transition-delay:.25s}.dslca-pseudo-module-edit-option:nth-child(4){transition-delay:.5s}.dslca-pseudo-module-edit-option:nth-child(5){transition-delay:.75s}.dslca-pseudo-panel.show .dslca-pseudo-module-edit-option{opacity:1}.lc-shake-effect.active{animation:shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;transform:translate3d(0, 0, 0);backface-visibility:hidden;perspective:1000px}@keyframes shake{10%,90%{transform:translate3d(-1px, 0, 0)}20%,80%{transform:translate3d(2px, 0, 0)}30%,50%,70%{transform:translate3d(-4px, 0, 0)}40%,60%{transform:translate3d(4px, 0, 0)}}body.dslca-new-module-drag-in-progress .lc-scroll-top-area,body.dslca-drag-in-progress .lc-scroll-top-area{position:fixed;top:0px;z-index:99999;left:0px;width:100%;height:80px}body.dslca-drag-in-progress .lc-scroll-bottom-area,body.dslca-new-module-drag-in-progress .lc-scroll-bottom-area{position:fixed;bottom:0px;left:0px;z-index:99999;width:100%;height:140px}div#scroller-stopper{position:absolute;bottom:-33px;left:0px;width:100%;height:83px}.dslca-module-edit-option-checkbox-hook .dslca-icon:hover,.dslc-control-toggle:hover,.dslca-prompt-modal-cancel-hook:hover,.dslca-module-edit-field-ttip-hook:hover,.dslca-module-edit-field-ttip-hook .dslca-icon,.dslca-module-edit-field-ttip-close,.dslca-module-edit-field-ttip-close .dslc-icon,.dslca-module-edit-option-text-align-hook .dslca-icon,.dslca-modules-section-edit-field-image-add-hook:hover,.dslca-modules-section-edit-field-image-add-hook .dslca-icon:hover,.dslca-modules-section-edit-field-image-remove-hook:hover,.dslca-modules-section-edit-field-image-remove-hook .dslca-icon:hover,.dslca-row-edit-save:hover,.dslca-row-edit-cancel:hover,.dslca-modules-section-edit-option-checkbox-hook .dslca-icon,.dslca-module-edit-field-icon-ttip-hook:hover,.dslca-module-edit-field-icon-ttip-hook .dslca-icon,.dslca-options-iconbutton:hover,.dslca-options-iconbutton .dslca-icon,.dslca-modules-section-edit-field-ttip-hook:hover,.dslca-modules-section-edit-field-ttip-hook .dslca-icon,.dslca-modules-section-edit-field-ttip-close,.dslca-modules-section-edit-field-ttip-close .dslc-icon{cursor:pointer}.mce-tinymce .mce-btn button:hover{background:#e3e3e3 !important;border-color:#ccc !important}.dslca-module-edit-label .dslc-delete-preset{cursor:pointer;position:absolute;right:0;opacity:0.5}.dslca-module-edit-label .dslc-delete-preset:hover{opacity:1}.dslca-module-edit-label .dslc-delete-preset.dslc-delete-preset-hide{display:none}.lc-template-loader{display:block;width:100%;height:100%;position:fixed;top:0;left:0;background:#fefefe;z-index:100000}.lc-loader{position:absolute;top:50%;left:50%;margin:-110px 0 0 -60px;font-size:10px;z-index:100001}@keyframes lds-spinner{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes lds-spinner{0%{opacity:1}100%{opacity:0}}.lds-spinner{position:relative}.lds-spinner div{left:94px;top:48px;position:absolute;-webkit-animation:lds-spinner linear 1s infinite;animation:lds-spinner linear 1s infinite;background:#8cd0e5;width:12px;height:24px;border-radius:40%;-webkit-transform-origin:6px 52px;transform-origin:6px 52px}.lds-spinner div:nth-child(1){-webkit-transform:rotate(0deg);transform:rotate(0deg);-webkit-animation-delay:-0.916666666666667s;animation-delay:-0.916666666666667s}.lds-spinner div:nth-child(2){-webkit-transform:rotate(30deg);transform:rotate(30deg);-webkit-animation-delay:-0.833333333333333s;animation-delay:-0.833333333333333s}.lds-spinner div:nth-child(3){-webkit-transform:rotate(60deg);transform:rotate(60deg);-webkit-animation-delay:-0.75s;animation-delay:-0.75s}.lds-spinner div:nth-child(4){-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-animation-delay:-0.666666666666667s;animation-delay:-0.666666666666667s}.lds-spinner div:nth-child(5){-webkit-transform:rotate(120deg);transform:rotate(120deg);-webkit-animation-delay:-0.583333333333333s;animation-delay:-0.583333333333333s}.lds-spinner div:nth-child(6){-webkit-transform:rotate(150deg);transform:rotate(150deg);-webkit-animation-delay:-0.5s;animation-delay:-0.5s}.lds-spinner div:nth-child(7){-webkit-transform:rotate(180deg);transform:rotate(180deg);-webkit-animation-delay:-0.416666666666667s;animation-delay:-0.416666666666667s}.lds-spinner div:nth-child(8){-webkit-transform:rotate(210deg);transform:rotate(210deg);-webkit-animation-delay:-0.333333333333333s;animation-delay:-0.333333333333333s}.lds-spinner div:nth-child(9){-webkit-transform:rotate(240deg);transform:rotate(240deg);-webkit-animation-delay:-0.25s;animation-delay:-0.25s}.lds-spinner div:nth-child(10){-webkit-transform:rotate(270deg);transform:rotate(270deg);-webkit-animation-delay:-0.166666666666667s;animation-delay:-0.166666666666667s}.lds-spinner div:nth-child(11){-webkit-transform:rotate(300deg);transform:rotate(300deg);-webkit-animation-delay:-0.083333333333333s;animation-delay:-0.083333333333333s}.lds-spinner div:nth-child(12){-webkit-transform:rotate(330deg);transform:rotate(330deg);-webkit-animation-delay:0s;animation-delay:0s}.lds-spinner{width:100px !important;height:100px !important;-webkit-transform:translate(-50px, -50px) scale(0.5) translate(50px, 50px);transform:translate(-50px, -50px) scale(0.5) translate(50px, 50px)}body em{font-style:italic}
1
+ html{top:-32px;position:relative}#wpwrap{overflow:hidden}body{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body.toplevel_page_livecomposer_editor{background:#464646}body div.mce-inline-toolbar-grp.mce-arrow-up{margin-top:48px}.inline-editor,.inline-editor *,.dslca-editable-content,.dslca-editable-content *,div[contenteditable="true"],span[contenteditable="true"],a[contenteditable="true"],h1[contenteditable="true"],h2[contenteditable="true"],h3[contenteditable="true"],h4[contenteditable="true"],h5[contenteditable="true"],h6[contenteditable="true"]{-webkit-touch-callout:text;-webkit-user-select:text;-khtml-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}body .inline-editor:hover,body .inline-editor:hover *,body .dslca-editable-content:hover,body .dslca-editable-content:hover *{cursor:text}div:hover,span>span:hover,div>span:hover{cursor:default}body a{text-decoration:none}body a:focus{color:inherit;box-shadow:none}.feather{width:24px;height:24px;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;fill:none}#dslc-preview-error{text-align:center;padding:160px 0 0;text-transform:uppercase;letter-spacing:2px}.dslc-module-heading:before,.dslc-module-heading:after,.dslc-clearfix:before,.dslc-clearfix:after{content:" ";display:table}.dslc-module-heading:after,.dslc-clearfix:after{clear:both}.dslc-module-heading,.dslc-clearfix{*zoom:1}.dslc-fl{float:left}.dslc-fr{float:right}.dslc-clear{clear:both}.dslc-no-float{float:none !important}.dslca-container *{padding:0;margin:0;border:none;outline:0}.dslca-disable-selection{-ms-user-select:none !important;-moz-user-select:-moz-none !important;-khtml-user-select:none !important;-webkit-user-select:none !important;user-select:none !important}.dslca-container p{margin-bottom:20px}.dslca-container input[type="text"],.dslca-container input[type="number"],.dslca-container select,.dslca-container textarea{background:rgba(255,255,255,0.1);border:0;color:#fff;padding:7px 10px;font-size:12px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.dslca-container .dslca-module-edit-option-slider input[type="number"]{padding-right:30px}.dslca-container input[type="text"],.dslca-container input[type="email"],.dslca-container input[type="number"]{height:auto}.dslca-container select,.dslca-modules-section-edit-option select{line-height:12px;padding:6px 10px;min-height:32px;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;background:url(../../images/dropdown-arrow.png) 90% 55%/7px no-repeat #6c9fed}.dslca-modules-section-edit-option-select .dslca-icon,.dslca-module-edit-option-select .dslca-icon{position:absolute;right:30px;top:77px;cursor:pointer}.dslca-container input[type="submit"]{background:#6ba253;border:0;color:#fff;cursor:pointer;padding:8px 10px;line-height:17px}.dslca-container{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;font-size:13px;bottom:0;color:#fff;left:0;position:fixed;right:0;z-index:99999;-webkit-transition:bottom 0.3s;-moz-transition:bottom 0.3s;transition:bottom 0.3s}.dslca-container,.dslca-container *,.dslca-container *::after,.dslca-container *::before,.dslca-module-manage,.dslca-module-manage *,.dslca-module-manage *::after,.dslca-module-manage *::before{box-sizing:border-box}.dslca-show-js-error-hook{padding:10px;bottom:-1px;display:inline-block;color:rgba(199,199,199,0.64) !important;visibility:hidden;float:left}.dslca-show-js-error-hook:hover{color:#ff4040}.dslca-show-js-error-hook .dslca-icon{color:#ff4040;margin-right:5px;margin-left:8px}#dslca-js-errors-report{display:none}.dslca-error-report{display:block;overflow:scroll;text-align:left;white-space:nowrap;font-size:12px;max-height:120px;-webkit-touch-callout:text;-webkit-user-select:text;-khtml-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.dslca-error-report:hover{cursor:text}.dslca-editable-content>p:only-child{margin-bottom:0 !important}.dslca-header{position:absolute;min-height:38px;bottom:100%;left:0}.dslca-header .dslca-currently-editing{display:block;position:absolute;bottom:45px;left:5px;background-color:rgba(71,70,70,0.49);color:rgba(255,255,255,0.5);padding:6px 10px;border-radius:3px;font-weight:400;font-size:10px;line-height:1;display:none;white-space:nowrap;letter-spacing:0.4px;text-transform:uppercase;cursor:pointer}.dslca-header .dslca-currently-editing .dslca-icon{margin-right:5px}.dslca-header .dslca-currently-editing strong{color:#fff}.dslca-header .dslca-go-to-section-hook,.dslca-header .dslca-options-filter-hook,.dslca-header .dslca-row-options-filter-hook,.dslca-pseudo-header .dslca-pseudo-options-filter-hook{bottom:0;background:#313131;border-radius:3px 3px 0 0;color:#adadad;cursor:pointer;display:block;float:left;font-size:13px;font-weight:600;line-height:1;padding:13px 15px;position:relative}.dslca-header .dslca-options-filter-hook,.dslca-pseudo-options-filter-hook,.dslca-header .dslca-row-pseudo-options-filter-hook{display:none;margin-right:3px}.dslca-header .dslca-go-to-section-hook.dslca-active,.dslca-header .dslca-options-filter-hook.dslca-active,.dslca-header .dslca-row-options-filter-hook.dslca-active,.dslca-pseudo-header .dslca-pseudo-options-filter-hook.dslca-active{border-top-color:#4777c2;background:#3b6fbe;color:#fff;cursor:default}.dslca-header .dslca-options-filter-hook .dslca-icon,.dslca-header .dslca-row-options-filter-hook .dslca-icon,.dslca-pseudo-header .dslca-pseudo-options-filter-hook .dslca-icon{margin-right:4px}.dslca-header .dslca-options-filter-hook.dslca-active,.dslca-header .dslca-row-options-filter-hook.dslca-active,.dslca-pseudo-header .dslca-pseudo-options-filter-hook.dslca-active{background:#5890e5}.dslca-header .dslca-go-to-section-templates.dslca-active{border-top-color:#bf7671;background:#a94640}.dslca-header .dslca-go-to-section-hook .dslca-icon{font-weight:normal}.dslca-module-edit-actions,.dslca-row-edit-actions,.dslca-pseudo-module-edit-actions{display:none;float:left;margin-left:4px;margin-top:1px}.dslca-prompt-modal-cancel-hook,.dslca-prompt-modal-confirm-hook,.dslca-module-edit-save,.dslca-pseudo-module-edit-save,.dslca-row-edit-save,.dslca-module-edit-cancel,.dslca-pseudo-module-edit-cancel,.dslca-row-edit-cancel,.dslca-wp-editor-save-hook,.dslca-wp-editor-cancel-hook{background:#78ca4f;border-radius:3px;color:#fff !important;cursor:pointer;display:inline-block;font-size:13px;font-weight:600;line-height:1;padding:10px 12px;margin-right:6px;text-decoration:none}.dslca-module-edit-cancel,.dslca-row-edit-cancel,.dslca-wp-editor-cancel-hook,.dslca-prompt-modal-cancel-hook,.dslca-pseudo-module-edit-cancel{background:#e55f5f}.dslca-module-edit-save:hover,.dslca-row-edit-save:hover,.dslca-wp-editor-save-hook:hover,.dslca-prompt-modal-confirm-hook:hover,.dslca-pseudo-module-edit-save:hover{background:#91dc1e;color:#fff}.dslca-module-edit-cancel:hover,.dslca-row-edit-cancel:hover,.dslca-wp-editor-cancel-hook:hover,.dslca-prompt-modal-cancel-hook:hover,.dslca-pseudo-module-edit-cancel:hover{background:#f27562;color:#fff}.dslca-actions,.dslca-pseudo-actions{position:absolute;bottom:100%;right:0;padding-bottom:5px;padding-right:5px}.dslca-module-saving-in-progress .dslca-actions .dslca-save-composer-helptext,.dslca-module-saving-in-progress .dslca-actions .dslca-save-draft-composer-helptext,.dslca-module-saving-in-progress .dslca-actions .dslca-save-composer-icon,.dslca-module-saving-in-progress .dslca-actions .dslca-save-draft-composer-icon{opacity:.5;cursor:wait !important}.dslca-sections{background:#4A7AC3;box-sizing:border-box}.dslca-section.dslca-module-edit,.dslca-pseudo-section,.dslca-section.dslca-modules-section-edit{background:#5890e5}.dslca-section.dslca-templates{background:#ca564f}.dslca-modal.dslca-modal-templates-save,.dslca-modal.dslca-modal-templates-export,.dslca-modal.dslca-modal-templates-import,.dslca-section.dslca-templates-load{background:#ca564f}.dslca-section{display:none;position:relative}.dslca-section-back{display:block;float:left;width:32px;line-height:74px;text-align:center;color:#fff}.dslca-section-back:hover{background:#e25c54;color:#fff}.dslca-section-title{display:block;float:left;background:#3b6fbe;color:#fff;font-size:17px;line-height:1;padding:28px 25px}.dslca-section-title:hover,.dslca-section-title:hover *{cursor:pointer}.dslca-templates .dslca-section-title,.dslca-templates-load .dslca-section-title,.dslca-templates-save .dslca-section-title{background:#a94640}.dslca-section-title-filter{position:relative;cursor:pointer}.dslca-section-title-filter .dslca-icon{color:rgba(255,255,255,0.5);margin-left:10px;vertical-align:top}.dslca-section-title-filter-options{background:#5890E5;border-radius:3px 3px 0 0;bottom:35px;display:none;min-width:100px;left:-10px;position:absolute;z-index:999999;box-shadow:0 2px 8px 0 rgba(0,0,0,0.21)}.dslca-section-title-filter-options a{display:block;cursor:pointer;margin:1px 0 0;padding:10px 13px;border-top:1px solid rgba(0,0,0,0.09);font-size:13px;white-space:nowrap;color:#fff}.dslca-section-title-filter-options a:hover{background:#5890E5}.dslca-section.dslca-templates-load .dslca-section-title-filter-options{background:#CA564F}.dslca-section.dslca-templates-load .dslca-section-title-filter-options a:hover{background:#e25c54}.dslca-sections .dslca-exclude{display:none}.dslca-subsection{display:none}.dslca-module-non-active{opacity:0.5 !important}.dslca-module{color:#fff;display:inline-block;font-weight:400;line-height:1;padding:2px 12px 9px 12px;background:#5890e5;margin:4px 2px;box-shadow:0 1px 3px 0 rgba(0,0,0,0.15),-1px 1px 0px 0 rgba(255,255,255,0.05) inset;border-radius:2px;text-align:center;min-width:70px;transition:transform 0.05s linear 0.01s;z-index:1;position:relative}.dslca-module[data-id="DSLC_Separator"],.dslca-module[data-id="DSLC_Notification"],.dslca-module[data-id="DSLC_Sliders"],.dslca-module[data-id="DSLC_Staff"]{margin-right:14px}.dslca-module[data-id="DSLC_M_A"]{margin-left:5px;margin-right:14px;background:#b2b7bc;box-shadow:none}.dslca-module[data-id="DSLC_M_A"] .dslca-icon{color:#fff}.dslca-module[data-id="DSLC_M_A"]:hover{background:#BDC3C9}.dslca-module:hover{background:#6b9ff1;box-shadow:-2px 4px 3px 0 rgba(0,0,0,0.19),-1px 1px 0 0 rgba(255,255,255,0.05) inset;transform:translate(1px, -2px)}div.dslca-module:hover,div.dslca-module:hover *{color:#fff;cursor:grab;cursor:-webkit-grab}div.dslca-module.dslca-module-dragging{position:relative;opacity:1}.dslc-module-front.dslca-module-dragging{box-shadow:none !important}.dslc-module-front.dslca-module-ghost,.dslc-modules-section-dnd.dslca-sections-ghost{background:rgba(229,163,88,0.4) !important}div.dslca-module.dslca-module-dragging *,div.dslca-module.dslca-module-dragging,div.dslca-module.dslca-module-dragging:hover,div.dslca-module.dslca-module-dragging:hover *,div.dslca-sections-dragging *,div.dslca-sections-dragging,div.dslca-sections-dragging:hover *,div.dslca-sections-dragging:hover{cursor:grabbing;cursor:-webkit-grabbing}.dslca-manage-action.dslca-move-modules-section-hook:hover,.dslca-manage-action.dslca-move-modules-section-hook:hover *,.dslca-manage-action.dslca-move-modules-area-hook:hover,.dslca-manage-action.dslca-move-modules-area-hook:hover *,.dslca-manage-action.dslca-move-module-hook:hover,.dslca-manage-action.dslca-move-module-hook:hover *{cursor:grab;cursor:-webkit-grab}.dslca-module .dslca-icon{color:#AECEF9;vertical-align:top;font-size:20px;display:block;line-height:41px;text-align:center;text-shadow:0px 1px rgba(0,0,0,0.05)}.dslca-module.ui-draggable-dragging .dslca-icon{margin-right:0}.dslca-module-edit{position:relative}.dslca-modules-section-edit-options,.dslca-module-edit-options,.dslca-pseudo-module-edit-options{padding:16px 15px 5px 15px;min-height:58px;transform:translate(0, 0)}.dslca-modules-section-edit-option,.dslca-module-edit-option,.dslca-pseudo-module-edit-option,.dslca-section-edit-option{display:table-cell;padding-bottom:40px;padding-left:15px;padding-right:15px;padding-top:40px;min-width:180px;position:relative}.dslca-module-control-group,.dslca-section-control-group{padding:4px}.dslca-module-control-group>.controls-group-inner,.dslca-section-control-group>.controls-group-inner{padding-left:15px;padding-right:15px;padding-top:0;padding-bottom:0;min-width:180px;border:1px solid rgba(0,0,0,0.1);border-radius:3px;position:relative}.dslca-module-control-group>.controls-group-inner>.dslca-module-edit-label,.dslca-section-control-group>.controls-group-inner>.dslca-section-edit-label{position:absolute;background:rgba(76,129,207,0.4);padding:6px 11px;left:0;border-radius:2px 2px 0 0;width:100%;text-transform:uppercase;letter-spacing:1px;font-size:75%;border-bottom:1px solid #4C81CF}.dslca-module-control-group>.controls-group-inner>.dslca-module-edit-label .dslc-control-toggle{display:none}.dslca-module-edit-option-hidden{display:none !important}.dslca-module-edit-option input[type="text"],.dslca-module-edit-option input[type="email"],.dslca-module-edit-option input[type="number"],.dslca-module-edit-option textarea,.dslca-module-edit-option select,.dslca-module-edit-option input[type="text"]:focus,.dslca-module-edit-option input[type="email"]:focus,.dslca-module-edit-option input[type="number"]:focus,.dslca-module-edit-option textarea:focus,.dslca-module-edit-option select:focus,.dslca-pseudo-module-edit-field{background-color:#6c9fed;border:1px solid #447bce;border-radius:3px;width:100%;min-width:140px;height:auto}.dslca-module-edit-option-text,.dslca-pseudo-module-edit-option{width:235px}.dslca-module-edit-option-checkbox{white-space:nowrap}.dslca-module-edit-option-textarea{width:500px}.dslca-module-edit-label,.dslca-pseudo-module-edit-label,.dslca-modules-section-edit-label{color:#fff;display:block;font-weight:400;font-size:13px;line-height:1;margin-bottom:10px;padding-right:40px;white-space:nowrap;position:relative}.dslca-module-edit-field-font{min-width:140px}.dslca-module-edit-field-font-wrapper,.dslca-module-edit-field-icon-wrapper{display:table-cell;padding-right:5px;position:relative}.dslca-module-edit-field-font,.dslca-module-edit-field-icon{vertical-align:middle}.dslca-options-iconbutton{background:#3b6fbe none repeat scroll 0 0;border:1px solid #3565ad;border-radius:3px;cursor:pointer;display:table-cell;height:32px;text-align:center;vertical-align:middle;padding:0 10px}.dslca-options-iconbutton.dslca-module-edit-field-font-prev{border-top-right-radius:0;border-bottom-right-radius:0}.dslca-options-iconbutton.dslca-module-edit-field-font-next{border-top-left-radius:0;border-bottom-left-radius:0;border-left-width:0}.dslca-options-iconbutton .dslca-icon{color:#8db6f3;font-size:12px;line-height:30px}.dslca-module-edit-field-font-suggest,.dslca-module-edit-field-icon-suggest{color:rgba(255,255,255,0.5);position:absolute;left:11px;top:0;line-height:2;font-size:12px;vertical-align:middle;padding:8px 0}.dslca-module-edit-option-checkbox{width:auto}.dslca-module-edit-option-checkbox input[type="checkbox"]{display:none}.dslca-module-edit-option-checkbox-wrapper{display:table-cell;background:#3b6fbe;border-radius:3px;border:1px solid #3565ad;padding:0 10px}.dslca-module-edit-option-checkbox-single{padding:6px 8px;display:table-cell}.dslca-module-edit-option-checkbox-hook{cursor:pointer;font-size:13px;font-weight:400}.dslca-module-edit-option-checkbox-hook .dslca-icon{margin-right:10px}.dslca-module-edit-option-radio{width:auto}.dslca-module-edit-option-radio input[type="radio"]{vertical-align:bottom}.dslca-module-edit-option-radio-wrapper{background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:0 10px}.dslca-module-edit-option-radio-single{margin:6px;display:inline-block;font-size:12px;font-weight:400}.dslca-module-edit-option-box_shadow,.dslca-module-edit-option-text_shadow{width:auto}.dslca-module-edit-option-box-shadow-wrapper,.dslca-module-edit-option-text-shadow-wrapper{display:table-cell;background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:2px 10px;font-size:0}.dslca-module-edit-option-box-shadow-single,.dslca-module-edit-option-text-shadow-single{display:table-cell;width:auto;line-height:1;vertical-align:middle;white-space:nowrap;padding-left:20px;position:relative}.dslca-module-edit-option-box-shadow-single:first-child,.dslca-module-edit-option-text-shadow-single:first-child{padding-left:0}.dslca-module-edit-option-box-shadow-single span,.dslca-module-edit-option-text-shadow-single span{font-size:12px;margin-right:10px;vertical-align:middle}.dslca-module-edit-option-box-shadow-single span.wp-picker-input-wrap,.dslca-module-edit-option-text-shadow-single span.wp-picker-input-wrap{margin-right:0}.dslca-module-edit-option-box-shadow-single input[type="number"],.dslca-module-edit-option-text-shadow-single input[type="number"],.dslca-module-edit-option-box-shadow-single input[type="text"],.dslca-module-edit-option-text-shadow-single input[type="text"],.dslca-module-edit-option-box-shadow-single input[type="number"]:focus,.dslca-module-edit-option-text-shadow-single input[type="number"]:focus,.dslca-module-edit-option-box-shadow-single input[type="text"]:focus,.dslca-module-edit-option-text-shadow-single input[type="text"]:focus{width:60px;min-width:auto;padding:3px 7px;vertical-align:middle}.dslca-module-edit-option-box-shadow-single input[type="text"].dslca-module-edit-option-box-shadow-color,.dslca-module-edit-option-text-shadow-single input[type="text"].dslca-module-edit-option-text-shadow-color{width:100px}.dslca-module-edit-option-box-shadow-single input[type="checkbox"]{display:none}.dslca-module-edit-option-box-shadow-single .dslca-module-edit-option-checkbox-hook{margin-right:0}.dslca-module-edit-option-box-shadow-single .dslca-module-edit-option-checkbox-hook .dslca-icon{margin-left:10px;margin-right:0;font-size:13px;font-weight:normal}.dslca-module-edit-option-text-align{width:auto}.dslca-module-edit-option-text-align input[type="checkbox"]{display:none}.dslca-module-edit-option-text-align-wrapper{background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:0 10px;font-size:0;display:table-cell}.dslca-module-edit-option-text-align-single{display:table-cell;font-size:14px;text-align:center;line-height:1;vertical-align:middle;padding:5px 12px}.dslca-module-edit-option-text-align-hook{cursor:pointer;opacity:0.6;line-height:20px}.dslca-module-edit-option-text-align-hook:hover{opacity:0.8}.dslca-module-edit-option-text-align-hook.dslca-active{opacity:1}.dslca-container:not([data-current-section=responsive]) .dslca-clear-responsive-options{display:none}.dslca-module-edit-options-tab-hook,.dslca-pseudo-module-edit-options-tab-hook,.dslca-clear-responsive-options{color:#fff;cursor:pointer;font-size:12px;font-weight:600;letter-spacing:0.5px;text-transform:uppercase;padding:6px 10px;border-radius:3px;float:left}.dslca-module-edit-options-tab-hook.dslca-active,.dslca-module-edit-options-tab-hook.dslca-active:hover{background:rgba(0,0,0,0.11);box-shadow:-1px 1px 1px 0 rgba(0,0,0,0.22) inset}.dslca-module-edit-options-tab-hook:hover,.dslca-pseudo-module-edit-options-tab-hook:hover,.dslca-clear-responsive-options:hover{background:rgba(169,239,255,0.17);color:#fff}.dslca-module-edit-options-tab-hook[data-id="animation_styling"],.dslca-module-edit-options-tab-hook[data-id="presets_styling"],.dslca-clear-responsive-options{float:right}.dslca-clear-styling-button{border:1px solid rgba(255,255,255,0.4);border-radius:4px;display:inline-block !important;float:right;font-weight:bold;padding:4px 6px;position:absolute;right:0;top:15px;color:#a0c0f0;cursor:pointer;font-size:11px;font-weight:900;margin-right:18px}.dslca-clear-styling-button:hover{color:#fff}.dslca-modules-section-edit{position:relative}.dslca-modules-section-edit-option-hidden{display:none !important}.dslca-modules-section-edit-option input[type="text"],.dslca-modules-section-edit-option input[type="email"],.dslca-modules-section-edit-option input[type="number"],.dslca-modules-section-edit-option textarea,.dslca-modules-section-edit-option select{background-color:#6c9fed;border:1px solid #447bce;width:100%;height:auto}.dslca-modules-section-edit-option-text{width:235px}.dslca-modules-section-edit-option-textarea{width:500px}.dslca-modules-section-edit-option-checkbox{width:auto}.dslca-modules-section-edit-option-checkbox input[type="checkbox"]{display:none}.dslca-modules-section-edit-option-checkbox-wrapper{background:#3b6fbe;border-radius:4px;border:1px solid #3565ad;padding:0 10px}.dslca-modules-section-edit-option-checkbox-single{margin:6px;display:table-cell;white-space:nowrap;padding:8px}.dslca-modules-section-edit-option-checkbox-hook{cursor:pointer;font-size:12px;font-weight:400}.dslca-modules-section-edit-option-checkbox-hook .dslca-icon{margin-right:10px}.dslca-modules-section-settings{display:none}.dslca-templates{position:relative}.dslca-template,.dslca-templates .dslca-go-to-section-hook,.dslca-templates .dslca-open-modal-hook{border-right:1px solid rgba(0,0,0,0.12);color:#fff;cursor:pointer;display:block;float:left;font-size:15px;line-height:1;padding:29px 29px 27px 29px}.dslca-templates .dslca-go-to-section-hook:hover,.dslca-templates .dslca-open-modal-hook:hover,.dslca-template:hover{background:#e25c54;color:#fff}.dslca-templates .dslca-go-to-section-hook .dslca-icon,.dslca-templates .dslca-open-modal-hook .dslca-icon{color:rgba(255,255,255,0.5);margin-right:9px;vertical-align:top;line-height:14px}.dslca-templates-load{border-top:1px solid #d8827d}.dslca-template-origin-user{padding-right:50px}.dslca-template .dslca-delete-template-hook{background:rgba(0,0,0,0.2);border-radius:3px;display:inline-block;margin-top:-6px;margin-left:7px;padding:5px 7px;cursor:pointer}.dslca-template-save-form input[type="text"]{background:#fff;border:1px solid #d9dcdf;border-radius:3px;color:#bfbfbf;display:block;margin-bottom:15px;width:224px}#dslca-import-code{background:#fff;border:1px solid #d9dcdf;border-radius:3px;color:#bfbfbf;display:block;height:150px;margin-bottom:15px;overflow:hidden;width:224px}#dslca-export-code{background:#fff;border:1px solid #d9dcdf;border-radius:3px;color:#bfbfbf;display:block;height:150px;margin-bottom:15px;overflow:hidden;width:224px}.dslca-template-export-form .dslca-close-modal-hook{display:block;width:auto}.dslca-switch{background:#1783bc;border-radius:50%;bottom:-50px;cursor:pointer;height:100px;left:45%;position:fixed;width:100px}.dslca-submit{background:#4cc12d;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:14px;font-weight:bold;line-height:34px;position:relative;text-align:center;width:110px}.dslca-submit-secondary{background:#5890e5;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:14px;font-weight:bold;line-height:34px;text-align:center;width:110px}.dslca-cancel{background:#e55f5f;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:14px;font-weight:bold;line-height:34px;text-align:center;width:110px}.dslca-module-reloading{position:absolute;left:0;top:0;right:0;bottom:0;background:rgba(255,255,255,0.8);color:#5890e5}.dslca-module-reloading .dslca-icon{font-size:20px;position:absolute;top:50%;left:50%;margin-left:-10px}.dslca-module-placeholder,.dslca-modules-section-placeholder{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif}.dslca-module-placeholder{position:relative;background:#5890e5;height:40px;float:left}.dslca-placeholder-help-text{position:absolute;left:0;bottom:0;right:0;text-align:center}.dslca-placeholder-help-text-inner{background:#5890e5;border-radius:3px 3px 0 0;color:#fff;font-size:12px;font-weight:400;letter-spacing:.5px;display:inline-block;padding:5px 10px}.dslc-modules-area.dslc-modules-area-empty{margin-bottom:20px;min-height:138px;box-shadow:0 0 0 2px rgba(173,175,179,0.4);text-align:center;vertical-align:middle}.dslc-modules-area.dslc-modules-area-empty:last-child{margin-bottom:0px}.dslc-modules-area-empty::after{content:"Drop modules here";display:inline-block;opacity:1;color:rgba(173,175,179,0.4);left:0;right:0;top:50%;margin-top:-10px;position:absolute;font-size:15px;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif}.dslc-module-front{position:relative;min-height:30px}.dslc-module-front:hover{z-index:999999}body.module-editing-in-progress .dslc-module-front:not(.dslca-module-being-edited),body.section-editing-in-progress .dslc-modules-section:not(.dslca-modules-section-being-edited){cursor:default !important}.dslc-module-front:hover,.dslc-module-front:hover *{cursor:pointer}.dslc-modules-area:hover{box-shadow:0 0 0 2px #adafb3 inset}.dslc-modules-area:hover .dslc-module-front:hover{box-shadow:0 0 0 2px #4f8ff1 inset}.dslc-module-front.dslca-module-dragging{animation:none !important}.dslc-modules-area.dslca-options-hovered .dslc-module-front{box-shadow:0 0 0 0 transparent}.dslc-control-toggle{cursor:pointer;font-size:15px;opacity:0.5;position:absolute;right:0}.dslc-control-toggle:hover{opacity:1}.dslca-option-off{opacity:.5}.dslc-control-toggle:before{content:"\f205"}.dslca-option-off .dslc-control-toggle:before{content:"\f204"}.dslc-modules-area{outline:0}.dslc-modules-area-empty.dslc-modules-area.dslca-options-hovered{box-shadow:0 0 0 2px rgba(173,175,179,0.4)}.dslc-modules-area.dslca-options-hovered{box-shadow:0 0 0 2px rgba(173,175,179,0.4)}.dslc-modules-area-empty.dslca-options-hovered{outline:none !important}.dslc-module-front.ui-sortable-helper{background:#5890e5;border-radius:3px;height:0 !important;width:0 !important;overflow:hidden;opacity:1 !important;cursor:move;padding:0 !important;border:0 !important;outline:none !important}.dslc-module-front.ui-sortable-helper *{opacity:0}.dslc-module-front .dslc-sortable-helper-icon{display:none;position:absolute;left:25px;top:25px;color:rgba(255,255,255,0.5)}.dslc-module-front.ui-sortable-helper .dslc-sortable-helper-icon{display:block;opacity:1}.dslc-modules-area.ui-sortable-helper{cursor:move;border:0 !important;outline:0 !important}.dslc-modules-area.ui-sortable-helper *{opacity:0}.dslc-modules-section.ui-sortable-helper{max-height:0px !important;width:100% !important;overflow:hidden !important;opacity:0 !important;padding:0 !important;outline:0 !important;border:0 !important}.dslca-save-composer,.dslca-save-draft-composer{background:#313131;border-radius:3px 6px 6px 3px;cursor:pointer;font-size:13px;float:left;line-height:1;opacity:0;display:none;padding:10px 12px;padding-right:43px;text-decoration:none;position:relative;margin-right:6px}.dslca-save-composer-helptext{color:#adadad;white-space:nowrap}.dslca-save-composer .dslca-save-composer-icon,.dslca-save-draft-composer .dslca-save-draft-composer-icon{background:#78ca4f;bottom:0;border-radius:0 3px 3px 0;border-top:1px solid #b8e3a2;cursor:pointer;color:#fff;display:block;position:absolute;right:0;top:0;text-align:center;width:30px}.dslca-save-composer .dslca-save-composer-icon .dslca-icon{color:#fff;margin:0;position:relative;top:10px}.dslca-save-draft-composer-helptext{color:#adadad;white-space:nowrap}.dslca-save-draft-composer .dslca-save-draft-composer-icon .dslca-icon{color:#fff;margin:0;position:relative;top:10px}.dslca-no-content{position:absolute;display:none;border:2px dashed #5890e5;padding:35px 10px;width:100%;text-align:center}.dslc-modules-area-empty .dslca-no-content{display:block}.dslca-no-content .dslca-icon{margin-right:10px}.dslc-modules-area.dslc-2-col .dslca-no-content-help-text,.dslc-modules-area.dslc-1-col .dslca-no-content-help-text{display:none}.dslc-modules-area.dslc-2-col .dslca-icon,.dslc-modules-area.dslc-1-col .dslca-icon{margin-right:0}.dslca-templates-actions{background:rgba(0,0,0,0.3);position:absolute;bottom:0;left:0;right:0}div.dslca-add-modules-section{text-align:center;margin-top:30px;width:80%;max-width:620px;margin-left:auto;margin-right:auto;margin-bottom:180px;overflow:hidden;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif}.dslca-add-modules-section-hook,.dslca-import-modules-section-hook{background:#e5855f !important;border-radius:3px;color:#fff !important;cursor:pointer;display:block;font-size:15px !important;float:left;line-height:1 !important;padding:14px 0;text-decoration:none !important;width:70% !important;box-shadow:none !important}.dslca-add-modules-section-hook:hover,.dslca-import-modules-section-hook:hover{background:#FF9162 !important;color:#fff !important}.dslca-add-modules-section .dslca-icon,.dslca-import-modules-section .dslca-icon{margin-right:10px;color:rgba(255,255,255,0.5) !important}.dslca-import-modules-section-hook{float:right;width:28% !important}.dslc-modules-section{position:relative}.dslc-modules-section:hover{box-shadow:0 0 0 2px #EF7C5B inset}.dslc-modules-section.dslca-change-width-active{z-index:100}body .dslca-cmd{display:none}body.key-press-cmd .dslca-cmd-hide{display:none}body.key-press-cmd .dslca-cmd,body.key-press-cmd .dslca-cmd.dslca-manage-action{display:flex}.dslca-manage-action{display:flex;align-items:center;justify-content:center;color:#fff;background-color:#ED7C5F;text-decoration:none;font-size:14px;line-height:15px;text-align:center;min-width:30px;margin-right:-2px;position:relative}.dslca-manage-action:before{content:"";position:absolute;left:0;top:0;display:block;bottom:0;right:0}.dslca-module-manage-inner .dslca-manage-action{background-color:#5291EE}.dslca-manage-action svg{max-width:15px}.dslca-icon{vertical-align:middle}.dslca-manage-action:first-child{border-radius:3px 0 0 0}.dslca-manage-action:last-child{border-radius:0 3px 0 0}.dslca-modules-section-manage{bottom:0;left:0;right:0;height:30px;visibility:hidden;padding-right:0;position:absolute;z-index:999999;width:20%;margin:0 auto;text-align:center}.dslca-modules-section-manage:hover{z-index:100000}.dslc-modules-section:hover .dslca-modules-section-manage{visibility:visible !important}.dslca-modules-section-manage-inner,.dslca-module-manage-inner{display:flex;justify-content:center;vertical-align:middle;border-radius:3px;line-height:1;position:relative;z-index:99999;height:30px;opacity:0;cursor:pointer}.dslca-modules-section-manage-inner{border-bottom-right-radius:0;border-bottom-left-radius:0}.dslca-modules-section-manage .dslca-manage-action:hover{background:#db6a3a}.dslca-module-manage-inner .dslca-manage-action:hover{background:#507FC9}.dslca-modules-section-placeholder{position:relative;background:#E5855F;height:2px;width:100%;margin:10px 0}.dslca-modules-section-placeholder .dslca-placeholder-help-text-inner{background:#E5855F}.dslca-add-modules-area-hook{background:#5fb7e5;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:11px;font-weight:bold;line-height:1;margin-right:7px;padding:7px 10px;text-decoration:none;vertical-align:middle}.dslca-add-modules-area-hook:hover{color:#fff}.dslca-add-modules-area-hook .dslca-icon{margin-right:5px;color:rgba(255,255,255,0.5);position:relative;top:1px}.dslc-modules-area{position:relative}.dslca-modules-area-drag-in-progress .dslc-modules-area{margin-right:1% !important;clear:none}.dslca-modules-area-manage{visibility:hidden;opacity:0.5;-webkit-transition:opacity 0.2s ease-in-out;-moz-transition:opacity 0.2s ease-in-out;transition:opacity 0.2s ease-in-out}.dslc-modules-area:hover .dslca-modules-area-manage{visibility:visible;opacity:0.5}.dslc-modules-section.dslc-full:hover .dslc-modules-area:hover .dslca-modules-area-manage{z-index:9999999}.dslc-modules-area .dslca-modules-area-manage:hover{opacity:1}.dslca-modules-area-manage{bottom:0;position:absolute;left:-28px;top:0;margin-right:0px;text-align:center;z-index:999999}.dslca-modules-area-manage.dslca-horizontal{top:50%}.dslc-modules-section.dslc-full .dslca-modules-area-manage{right:auto;left:0;margin-right:0}.dslca-modules-area-manage-inner{display:flex;flex-flow:column;border-radius:3px 0 0 3px;border-right-width:0;margin-top:10px;position:relative;z-index:99999}.dslca-horizontal .dslca-modules-area-manage-inner{margin-top:-47px}.dslc-modules-section.dslc-full .dslca-modules-area-manage-inner{border-radius:0 3px 3px 0}.dslca-modules-area-manage .dslca-manage-action{color:#fff;background-color:#b2b7bc;display:block;text-decoration:none;line-height:1px;text-align:center;margin:0;padding:1px 7px;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif}.dslca-modules-area-manage-inner .dslca-manage-action:first-child{margin-left:0;margin-top:0;padding-top:6px;border-radius:3px 0 0 0}.dslca-modules-area-manage .dslca-manage-action:last-child{padding-bottom:6px;border-radius:0 0 3px 3px}#dslc-content .dslca-modules-area-manage .dslca-manage-action:hover{color:#fff;background:#a4a5a9}#dslc-content .dslca-modules-area-manage .dslca-change-width-modules-area-hook{position:relative}#dslc-content .dslca-modules-area-manage .dslca-icon{font-size:12px}.dslca-change-width-modules-area-options,.dslca-change-width-module-options,.dslca-change-vertial-align-module-area-options{background:#fff;border:1px solid #d9dcdf;border-radius:3px;display:none;padding:7px;position:absolute;top:-6px;left:25px;z-index:99999;width:122px}.dslca-change-vertial-align-module-area-options{padding:12px;padding-top:18px}.dslca-change-width-module-hook:hover>.dslca-change-width-module-options,.dslca-change-width-modules-area-hook:hover>.dslca-change-width-modules-area-options,.dslca-change-vertial-align-module-area-hook:hover>.dslca-change-vertial-align-module-area-options{display:block}.dslca-change-width-module-options{top:24px;left:0;border-top-right-radius:0;border-top-left-radius:0;border-top:none;padding-bottom:18px}.dslca-change-width-modules-area-options:after,.dslca-change-width-modules-area-options:before{right:100%;top:18px;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.dslca-change-width-modules-area-options:after{border-color:rgba(255,255,255,0);border-right-color:#fff;border-width:10px;margin-top:-10px}.dslca-change-width-modules-area-options:before{border-color:rgba(205,205,205,0);border-right-color:#cdcdcd;border-width:11px;margin-top:-11px}.dslca-change-width-modules-area-options span,.dslca-change-width-module-options span{background:#4785db;border-radius:3px;display:inline-block;font-size:13px;font-weight:400;line-height:24px;max-width:44px;margin:1px;text-align:center;width:44px}.dslca-change-width-modules-area-options span:hover,.dslca-change-width-module-options span:hover{background:#6B9FF1}.dslca-change-width-modules-area-options span:first-child,.dslca-change-width-module-options span:first-child,.dslca-change-vertial-align-module-area-options span:first-child{background:none;color:#5e636a;display:inline-block;font-size:13px;margin-bottom:5px;max-width:none;width:auto}.dslca-change-vertial-align-module-area-options span:first-child{margin-bottom:16px}.dslc-modules-area.dslc-1-col .dslca-change-width-modules-area-options span[data-size="1"],.dslc-modules-area.dslc-2-col .dslca-change-width-modules-area-options span[data-size="2"],.dslc-modules-area.dslc-3-col .dslca-change-width-modules-area-options span[data-size="3"],.dslc-modules-area.dslc-4-col .dslca-change-width-modules-area-options span[data-size="4"],.dslc-modules-area.dslc-5-col .dslca-change-width-modules-area-options span[data-size="5"],.dslc-modules-area.dslc-6-col .dslca-change-width-modules-area-options span[data-size="6"],.dslc-modules-area.dslc-7-col .dslca-change-width-modules-area-options span[data-size="7"],.dslc-modules-area.dslc-8-col .dslca-change-width-modules-area-options span[data-size="8"],.dslc-modules-area.dslc-9-col .dslca-change-width-modules-area-options span[data-size="9"],.dslc-modules-area.dslc-10-col .dslca-change-width-modules-area-options span[data-size="10"],.dslc-modules-area.dslc-11-col .dslca-change-width-modules-area-options span[data-size="11"],.dslc-modules-area.dslc-12-col .dslca-change-width-modules-area-options span[data-size="12"],.dslc-module-front.dslc-1-col .dslca-change-width-module-options span[data-size="1"],.dslc-module-front.dslc-2-col .dslca-change-width-module-options span[data-size="2"],.dslc-module-front.dslc-3-col .dslca-change-width-module-options span[data-size="3"],.dslc-module-front.dslc-4-col .dslca-change-width-module-options span[data-size="4"],.dslc-module-front.dslc-5-col .dslca-change-width-module-options span[data-size="5"],.dslc-module-front.dslc-6-col .dslca-change-width-module-options span[data-size="6"],.dslc-module-front.dslc-7-col .dslca-change-width-module-options span[data-size="7"],.dslc-module-front.dslc-8-col .dslca-change-width-module-options span[data-size="8"],.dslc-module-front.dslc-9-col .dslca-change-width-module-options span[data-size="9"],.dslc-module-front.dslc-10-col .dslca-change-width-module-options span[data-size="10"],.dslc-module-front.dslc-11-col .dslca-change-width-module-options span[data-size="11"],.dslc-module-front.dslc-12-col .dslca-change-width-module-options span[data-size="12"]{background:#3B6FBE;box-shadow:1px 1px 3px rgba(0,0,0,0.28) inset;cursor:default}.dslc-popup-option{display:block;width:100%;background:#4785db;border-radius:3px;font-size:13px;font-weight:400;line-height:24px;margin:1px;text-align:left;cursor:default}.dslc-modules-area-empty .dslca-modules-area-manage{top:12px;bottom:auto}.dslc-modules-area-empty .dslca-modules-area-manage-inner{margin-top:0}.dslca-modules-area-placeholder{position:relative;background:#5890e5;height:2px;margin:10px;float:left}body.rtl .dslca-modules-area-placeholder{float:right}.dslca-module-manage{display:block;position:absolute;left:50%;margin-left:-77px;top:0;text-align:center;z-index:99999;line-height:1}#dslc-content .dslc-small-height-module .dslca-module-manage{top:-28px}#dslc-content .dslc-small-height-module .dslca-module-manage .dslca-module-manage-hook:first-child{border-radius:3px 0 0 3px}#dslc-content .dslc-small-height-module .dslca-module-manage .dslca-module-manage-hook:last-child{border-radius:0 3px 3px 0}.dslca-module-manage-inner{background:#5890e5}.dslca-module-manage-inner.dslca-dev-mode{background:#444;border-color:#333}#dslc-content .dslc-modules-area.dslc-1-col .dslca-module-manage .dslca-module-manage-hook,#dslc-content .dslc-modules-area.dslc-2-col .dslca-module-manage .dslca-module-manage-hook{margin-right:-2px}#dslc-content .dslca-module-manage .dslca-module-manage-hook:first-child{margin-top:0;border-radius:0 0 0 3px}#dslc-content .dslca-module-manage .dslca-module-manage-hook:last-child{margin-right:0 !important;border-radius:0 0 3px 0}#dslc-content .dslca-module-manage .dslca-module-manage-hook:hover{color:#fff}.dslca-section-scroller{position:relative;height:74px;margin-right:80px;overflow:hidden}.dslca-section-scroller-inner{position:absolute;top:0;left:0;bottom:0;width:999999px;text-align:left;-webkit-transition:left 0.3s ease-in-out;-moz-transition:left 0.3s ease-in-out;transition:left 0.3s ease-in-out}.dslca-section-scroller-content{display:inline-block;padding-right:80px}.dslca-section-scroller-fade{background:-moz-linear-gradient(left, rgba(88,144,229,0) 0%, #4674b9 100%);background:-webkit-gradient(linear, left top, right top, color-stop(0%, rgba(88,144,229,0)), color-stop(100%, #4674b9));background:-webkit-linear-gradient(left, rgba(88,144,229,0) 0%, #4674b9 100%);background:-o-linear-gradient(left, rgba(88,144,229,0) 0%, #4674b9 100%);background:-ms-linear-gradient(left, rgba(88,144,229,0) 0%, #4674b9 100%);background:linear-gradient(to right, rgba(88,144,229,0) 0%, #4674b9 100%);filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#00004799', endColorstr='#5890e5',GradientType=1 );position:absolute;right:80px;width:20px;bottom:0;top:0;z-index:1}.dslca-section-scroller-nav{position:absolute;right:0;top:0;bottom:0;overflow:hidden;width:80px;font-size:30px}.dslca-section-scroller-nav>a{cursor:pointer;display:flex;justify-content:center;align-items:center;width:40px;position:absolute;left:0;top:0;bottom:0;text-decoration:none;outline:none !important;background:rgba(0,0,0,0.2)}.dslca-section-scroller-nav>a:hover{background:rgba(0,0,0,0.15)}.dslca-section-scroller-nav>a:active{background:rgba(0,0,0,0.25)}.dslca-section-scroller-nav .dslca-section-scroller-next{left:auto;right:0}.dslca-section-scroller-prev .dslca-icon,.dslca-section-scroller-next .dslca-icon{color:#fff}.dslca-modal{background:#fff;border-radius:3px;color:#444;display:none;padding:14px 17px;position:absolute;bottom:55px;-moz-box-shadow:0 1px 6px rgba(0,0,0,0.2);-webkit-box-shadow:0 1px 6px rgba(0,0,0,0.2);box-shadow:0 1px 6px rgba(0,0,0,0.2);z-index:9999991}.dslca-modal:after{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.dslca-modal:after{border-color:rgba(255,255,255,0);border-top-color:#ffffff;border-width:7px;left:50%;margin-left:-7px}.dslca-prompt-modal-msg textarea{width:100%;min-height:80px;padding:5px;line-height:1.6em;font-size:13px;color:#848484}.dslca-prompt-modal{background:rgba(255,255,255,0.8);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999999;height:100%}.dslca-prompt-modal-content{background:#fff;border-radius:3px;top:50%;position:relative;width:400px;margin:0 auto;margin-top:-123px;padding:40px;-moz-box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);-webkit-box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12)}.dslca-prompt-modal-msg{text-align:center}.dslca-prompt-modal-title{color:#424242;display:block;font-family:"Lato";font-size:16px;font-weight:bold;line-height:1;margin-bottom:22px}.dslca-prompt-modal-descr{color:#8a8a8a;display:block;font-family:"Lato";font-size:13px;font-weight:normal;line-height:22px;margin-bottom:22px}.dslca-prompt-modal-actions{text-align:center}.dslca-prompt-modal-confirm-hook{margin-right:7px}.dslca-prompt-modal-actions .dslc-icon{color:rgba(255,255,255,0.5);margin-right:6px}.dslca-prompt-modal{background:rgba(255,255,255,0.8);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999999;height:100%}.dslca-prompt-modal-content{background:#fff;border-radius:3px;top:50%;position:relative;width:400px;margin:0 auto;margin-top:-123px;padding:30px 20px;-moz-box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);-webkit-box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12)}.dslca-prompt-modal-msg{text-align:center}.dslca-prompt-modal-title{color:#424242;display:block;font-size:16px;font-weight:bold;line-height:1;margin-bottom:22px}.dslca-prompt-modal-descr{color:#8a8a8a;display:block;font-size:13px;font-weight:normal;line-height:22px;margin-bottom:22px}.dslca-prompt-modal-descr textarea{width:100%;min-height:80px;padding:5px;font-size:11px}.dslca-prompt-modal-actions{text-align:center}.dslca-prompt-modal-actions .dslc-icon{color:rgba(255,255,255,0.5);margin-right:6px}.dslca-module-options-front,.dslca-accordion-plain-content,.dslca-tab-plain-content{display:none}.dslca-module-options-front-backup{display:none}.dslca-module-edit-option-size,#dslca-code,#dslca-content-for-search,.dslca-module-code,.dslca-section-code{display:none !important}#dslca-wysiwyg{position:absolute;top:0;left:-110%;z-index:99999;height:200px;padding-bottom:60px}#dslcawysiwyg{overflow:hidden;height:100px}#wp-dslcawysiwyg-editor-container{height:82%}#dslc-content .dslc-module-front.dslca-module-wysiwyg-active{opacity:0;min-height:200px}#dslca-wysiwyg-actions{bottom:0;position:absolute;color:#fff;left:0;line-height:1;right:0;text-align:right}#dslca-wysiwyg-actions-save-hook{background:#5bd63b;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:12px;font-weight:bold;line-height:1;padding:13px 10px;position:relative;text-align:center}#dslca-wysiwyg-actions-cancel-hook{background:#e55858;border-radius:3px;color:#fff;cursor:pointer;display:inline-block;font-size:12px;font-weight:bold;line-height:1;padding:13px 10px;position:relative;text-align:center}#dslc-content .dslca-wysiwyg-actions-edit{position:absolute;top:0;right:0;overflow:hidden}.dslca-enabled.dslca-composer-hidden #dslc-content .dslca-wysiwyg-actions-edit{display:none}#dslc-content .dslca-wysiwyg-actions-edit-hook{background:#5593EB;color:#fff;cursor:pointer;display:block;font-size:12px;line-height:1;font-weight:bold;position:relative;padding:7px 10px;border-radius:0 0 0 3px;letter-spacing:0}#dslc-content .dslca-wysiwyg-actions-edit-hook:hover{background:#5080C9;z-index:99999}body.dslca-enabled .ui-widget-overlay,body.dslca-enabled .ui-dialog,body.dslca-enabled #mceModalBlocker,body.dslca-enabled #wp-link-backdrop,body.dslca-enabled #mce-modal-block{z-index:99999999 !important}body.dslca-enabled .clearlooks2,body.dslca-enabled #menu_dslcawpeditor_dslcawpeditor_formatselect_menu,body.dslca-enabled #dslcawpeditor_forecolor_menu,body.dslca-enabled #wp-link-wrap,body.dslca-enabled .mce-menu,body.dslca-enabled .mce-panel{z-index:999999991 !important}body.dslca-enabled .mce_fullscreen{display:none}@keyframes "dslcBounceIn"{0%{-webkit-transform:scale(0);-moz-transform:scale(0);transform:scale(0);opacity:0}70%{-webkit-transform:scale(1.05);-moz-transform:scale(1.05);transform:scale(1.05)}90%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}100%{opacity:1}}@-moz-keyframes dslcBounceIn{0%{-moz-transform:scale(0);transform:scale(0);filter:alpha(opacity=0);opacity:0}70%{-moz-transform:scale(1.05);transform:scale(1.05)}90%{-moz-transform:scale(1);transform:scale(1)}100%{filter:alpha(opacity=100);opacity:1}}@-webkit-keyframes "dslcBounceIn"{0%{-webkit-transform:scale(0);transform:scale(0);filter:alpha(opacity=0);opacity:0}70%{-webkit-transform:scale(1.05);transform:scale(1.05)}90%{-webkit-transform:scale(1);transform:scale(1)}100%{filter:alpha(opacity=100);opacity:1}}@keyframes "dslcBounceOut"{0%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(0.9);-moz-transform:scale(0.9);transform:scale(0.9)}}@-moz-keyframes dslcBounceOut{0%{-moz-transform:scale(1);transform:scale(1)}100%{-moz-transform:scale(0.9);transform:scale(0.9)}}@-webkit-keyframes "dslcBounceOut"{0%{-webkit-transform:scale(1);transform:scale(1)}100%{-webkit-transform:scale(0.9);transform:scale(0.9)}}@keyframes "dslcBounceOut2"{0%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}30%{-webkit-transform:scale(1.01);-moz-transform:scale(1.01);transform:scale(1.01)}100%{-webkit-transform:scale(0.9);-moz-transform:scale(0.9);transform:scale(0.9)}}@-moz-keyframes dslcBounceOut2{0%{-moz-transform:scale(1);transform:scale(1)}30%{-moz-transform:scale(1.01);transform:scale(1.01)}100%{-moz-transform:scale(0.9);transform:scale(0.9)}}@-webkit-keyframes "dslcBounceOut2"{0%{-webkit-transform:scale(1);transform:scale(1)}30%{-webkit-transform:scale(1.01);transform:scale(1.01)}100%{-webkit-transform:scale(0.9);transform:scale(0.9)}}@keyframes "dslcOpacityDrop"{0%{opacity:1}100%{opacity:0.7}}@-moz-keyframes dslcOpacityDrop{0%{opacity:1}100%{opacity:0.7}}@-webkit-keyframes "dslcOpacityDrop"{0%{opacity:1}100%{opacity:0.7}}@keyframes "dslcRotate"{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes dslcRotate{0%{-moz-transform:rotate(0deg);transform:rotate(0deg)}100%{-moz-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes "dslcRotate"{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.dslca-save-composer.dslca-init-animation,.dslca-save-draft-composer.dslca-init-animation,.dslc-modules-area.dslca-init-animation{display:block;opacity:1;-webkit-animation-name:dslcBounceIn;-moz-animation-name:dslcBounceIn;animation-name:dslcBounceIn;animation-duration:0.6s;-webkit-animation-duration:0.6s}.dslc-editable-content:focus,.dslc-editable-content.dslc-pen{outline:1px dashed rgba(0,0,0,0.2)}span.dslca-manage-action,span.dslca-manage-action:hover,span.dslca-manage-action:hover *{cursor:pointer}.dslca-module-being-edited .dslca-module-manage{display:none !important}.dslc-notification .dslca-refresh-module-hook{right:35px}.dslca-container .dslca-module-edit-option-slider,.dslca-container .dslca-modules-section-edit-option-slider{position:relative}.dslca-modules-edit-field-slider{display:none}.dslca-container .dslca-module-edit-field-slider,.dslca-container .dslca-modules-section-edit-field-slider{background:#6c9fed;border-radius:5px;position:absolute;height:5px;left:15px;right:15px;margin-top:15px}.dslca-container .dslca-module-edit-field-slider .ui-slider-handle,.dslca-container .dslca-modules-section-edit-field-slider .ui-slider-handle{background:#3b6fbe;border:1px solid #3565ad;border-radius:50%;top:-6px;position:absolute;width:15px;height:15px;margin-left:-7px;cursor:ew-resize}.dslca-module-edit-field-numeric-wrap,.dslca-modules-section-edit-field-numeric-wrap{position:relative}.dslca-module-edit-field-numeric-ext,.dslca-modules-section-edit-field-numeric-ext{position:absolute;color:rgba(255,255,255,0.8);font-size:12px;right:15px;top:50%;margin-top:-5px;line-height:1}.dslca-module-edit-option-slider .dslca-module-edit-field-numeric-ext{right:10px;top:14px}.dslca-separator-empty{height:1px;line-height:0;border-bottom:1px solid rgba(0,0,0,0.06);text-align:center;position:absolute;top:50%;left:0;right:0}.dslca-separator-empty span{background:#fff;border-radius:3px;color:#a0a0a0;display:inline-block;font-size:10px;line-height:1;padding:3px 6px;position:relative;top:-7px}.dslca-wp-editor{background:rgba(0,0,0,0.7);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99999999}.dslca-wp-editor-inner{background:#fff;position:fixed;top:30px;left:30px;right:30px;bottom:30px;padding:50px}.dslca-wp-editor-notification{margin-top:30px}.dslca-wp-editor-actions{margin-top:30px}#wp-dslcawpeditor-editor-container{border:1px solid #ddd}.dslca-invisible-overlay{display:block;position:fixed;top:0;left:0;right:0;bottom:0;z-index:99998}.dslca-disable-selection .dslca-invisible-overlay{display:block}.dslca-loading-modal{background:rgba(0,0,0,0.75);position:fixed;top:0;left:0;right:0;bottom:200px;z-index:999999}.dslca-loading-modal-content{position:relative;top:200px;width:580px;margin:0 auto}.dslca-loading-modal-msg{background:#fff;border-radius:3px;color:#707070;font-size:14px;font-weight:400;line-height:1.5;padding:35px 25px;text-align:center;margin-bottom:10px;-moz-box-shadow:0 0 7px #000;-webkit-box-shadow:0 0 7px #000;box-shadow:0 0 7px #000}.dslca-loading-modal-actions{text-align:right}.dslca-loading-modal-cancel-hook,.dslca-loading-modal-confirm-hook{background:#e55f5f;border-radius:3px;cursor:pointer;color:#fff;display:inline-block;font-size:14px;font-weight:bold;line-height:1;padding:13px 15px}.dslca-loading-modal-confirm-hook{background:#4cc12d;margin-right:7px}.dslca-module-edit-field-ttip-content{display:none}.dslca-module-edit-field-icon-ttip-hook,.dslca-module-edit-field-ttip-hook{background:#3b6fbe;color:#5890e5;cursor:pointer;border-radius:50%;position:relative;display:inline-block;width:13px;height:13px;margin-left:10px;vertical-align:bottom}.dslca-module-edit-field-icon-ttip-hook .dslca-icon,.dslca-module-edit-field-ttip-hook .dslca-icon{position:absolute;left:5px;font-weight:normal;font-size:10px;top:1px}.dslca-module-edit-field-icon-ttip,.dslca-module-edit-field-ttip{background:#fff;color:#8a8a8a;font-family:'Opens Sans', sans-serif;font-size:13px;line-height:1.4;display:none;border-radius:3px;padding:20px 25px;border:1px solid rgba(0,0,0,0.12);position:absolute;-moz-box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);-webkit-box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);box-shadow:0 2px 2px rgba(0,0,0,0.04),0 0 7px rgba(0,0,0,0.12);text-align:center;z-index:999999}.dslca-module-edit-field-icon-ttip a,.dslca-module-edit-field-ttip a{color:#5890e5;font-weight:bold;text-decoration:none}.dslca-module-edit-field-icon-ttip:after,.dslca-module-edit-field-icon-ttip:before,.dslca-module-edit-field-ttip:after,.dslca-module-edit-field-ttip:before{top:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.dslca-module-edit-field-icon-ttip:after,.dslca-module-edit-field-ttip:after{border-color:rgba(255,255,255,0);border-top-color:#fff;border-width:8px;left:50%;margin-left:-8px}.dslca-module-edit-field-icon-ttip:before,.dslca-module-edit-field-ttip:before{border-color:rgba(224,224,224,0);border-top-color:#d2d2d2;border-width:9px;left:50%;margin-left:-9px}.dslca-module-edit-field-ttip-close{cursor:pointer;position:absolute;background:#e55f5f;top:-9px;right:-9px;width:18px;line-height:18px;border-radius:18px;color:#fff;font-size:11px}.dslca-modules-section-edit-option-upload,.dslca-module-edit-option-image{min-width:auto}.dslca-modules-section-edit-field-image-add-hook,.dslca-modules-section-edit-field-image-remove-hook,.dslca-module-edit-field-image-add-hook,.dslca-module-edit-field-image-remove-hook,.dslca-module-edit-field-button-hook{background:#3b6fbe;border:1px solid #3565ad;border-radius:3px;color:#a0c0f0;cursor:pointer !important;display:inline-block;font-size:12px;font-weight:400;padding:9px 12px;line-height:1;white-space:nowrap}.dslca-modules-section-edit-field-image-add-hook .dslca-icon,.dslca-modules-section-edit-field-image-remove-hook .dslca-icon,.dslca-module-edit-field-image-add-hook .dslca-icon,.dslca-module-edit-field-image-remove-hook .dslca-icon{margin-right:7px}#dslc-header,#dslc-footer{position:relative}.dslc-hf-block-overlay{display:flex;justify-content:center;align-items:center;flex-direction:column;position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(88,144,229,0.9);z-index:99999;text-align:center;opacity:0;-webkit-transition:opacity 0.2s ease-in-out;-moz-transition:opacity 0.2s ease-in-out;transition:opacity 0.2s ease-in-out}.dslc-hf-block-overlay:hover{opacity:1}.dslc-hf-block-overlay-button,.dslc-hf-block-overlay-text{display:inline-block;color:#fff;font-size:20px;font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;text-decoration:none}.dslc-hf-block-overlay-text{font-size:13px;opacity:.5;margin-top:5px}.dslc-hf-block-overlay-button{padding:40px 90px}.dslc-hf-block-overlay-button:hover{color:#fff;cursor:pointer}body.dslca-composer-hidden .dslc-module-front,body.dslca-composer-hidden .dslc-modules-area,body.dslca-composer-hidden .dslc-modules-section{box-shadow:none !important;border:none !important}body.dslca-composer-hidden .dslca-module-manage,body.dslca-composer-hidden .dslca-modules-area-manage,body.dslca-composer-hidden .dslc-modules-section .dslca-modules-section-manage,.dslca-composer-hidden .dslc-modules-section:hover .dslca-modules-section-manage,.dslca-composer-hidden .dslca-add-modules-section,body.dslca-composer-hidden .dslc-hf-block-overlay{display:none !important}.dslca-loading{position:absolute;top:15px;left:25px;display:none}.followingBallsGWrap{width:64px;height:5px}.followingBallsG{background-color:rgba(255,255,255,0.5);position:absolute;top:0;left:0;width:5px;height:5px;-moz-border-radius:3px;-moz-animation-name:bounce_followingBallsG;-moz-animation-duration:2.3s;-moz-animation-iteration-count:infinite;-moz-animation-direction:linear;-webkit-border-radius:3px;-webkit-animation-name:bounce_followingBallsG;-webkit-animation-duration:2.3s;-webkit-animation-iteration-count:infinite;-webkit-animation-direction:linear;-ms-border-radius:3px;-ms-animation-name:bounce_followingBallsG;-ms-animation-duration:2.3s;-ms-animation-iteration-count:infinite;-ms-animation-direction:linear;-o-border-radius:3px;-o-animation-name:bounce_followingBallsG;-o-animation-duration:2.3s;-o-animation-iteration-count:infinite;-o-animation-direction:linear;border-radius:3px;animation-name:bounce_followingBallsG;animation-duration:2.3s;animation-iteration-count:infinite;animation-direction:linear}.followingBallsG_1{-moz-animation-delay:0s;-webkit-animation-delay:0s;-ms-animation-delay:0s;-o-animation-delay:0s;animation-delay:0s}.followingBallsG_2{-moz-animation-delay:0.23s;-webkit-animation-delay:0.23s;-ms-animation-delay:0.23s;-o-animation-delay:0.23s;animation-delay:0.23s}.followingBallsG_3{-moz-animation-delay:0.46s;-webkit-animation-delay:0.46s;-ms-animation-delay:0.46s;-o-animation-delay:0.46s;animation-delay:0.46s}.followingBallsG_4{-moz-animation-delay:0.69s;-webkit-animation-delay:0.69s;-ms-animation-delay:0.69s;-o-animation-delay:0.69s;animation-delay:0.69s}@-moz-keyframes bounce_followingBallsG{0%{left:0px;background-color:rgba(255,255,255,0.5)}50%{left:59px;background-color:rgba(0,0,0,0)}100%{left:0px;background-color:rgba(255,255,255,0.5)}}@-webkit-keyframes bounce_followingBallsG{0%{left:0px;background-color:rgba(255,255,255,0.5)}50%{left:59px;background-color:rgba(0,0,0,0)}100%{left:0px;background-color:rgba(255,255,255,0.5)}}@-ms-keyframes bounce_followingBallsG{0%{left:0px;background-color:rgba(255,255,255,0.5)}50%{left:59px;background-color:rgba(0,0,0,0)}100%{left:0px;background-color:rgba(255,255,255,0.5)}}@-o-keyframes bounce_followingBallsG{0%{left:0px;background-color:rgba(255,255,255,0.5)}50%{left:59px;background-color:rgba(0,0,0,0)}100%{left:0px;background-color:rgba(255,255,255,0.5)}}@keyframes bounce_followingBallsG{0%{left:0px;background-color:rgba(255,255,255,0.5)}50%{left:59px;background-color:rgba(0,0,0,0)}100%{left:0px;background-color:rgba(255,255,255,0.5)}}.dslca-container-loader{position:absolute;left:0;top:0;right:0;bottom:0;background:rgba(0,0,0,0.2);display:none}.dslca-container-loader-inner{position:absolute;top:10px;left:15px}body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Excerpt"],body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Meta"],body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Downloads_Button"],body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Gallery_Slider"],body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Project_Slider"],body.page .dslca-module.dslca-origin-single[data-id="DSLC_TP_Staff_Social"]{display:none !important}.dslca-module.dslca-origin[data-display-module="true"]{display:inline-block}.dslca-module.dslca-origin[data-display-module="false"]{display:none}.dslca-module.dslca-exclude{display:none}.media-modal{z-index:999999999 !important}.media-modal-backdrop{z-index:999999998 !important}.dslca-container .dslca-close-composer-hook,.dslca-pseudo-panel .dslca-pseudo-close-composer-hook,.dslca-container .dslca-activate-composer-hook,.dslca-container .dslca-hide-composer-hook,.dslca-container .dslca-show-composer-hook,.dslca-pseudo-panel .dslca-pseudo-hide-composer-hook{background:#e55f5f;border-radius:3px;bottom:4px;color:#fff;cursor:pointer;display:block;font-size:12px;font-weight:400;letter-spacing:.5px;line-height:1;padding:11px 12px;text-decoration:none;white-space:nowrap;float:left;margin-left:5px}.dslca-activate-composer-hook{font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif}.dslca-container .dslca-close-composer-hook:hover{background:#f27562}.dslca-container .dslca-hide-composer-hook,.dslca-pseudo-panel .dslca-pseudo-hide-composer-hook{background:#06b2ac}.dslca-container .dslca-show-composer-hook{background:#9268a9}.dslca-close-composer-hook:hover,.dslca-activate-composer-hook:hover,.dslca-activate-composer-hook:visited,.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:hover{background:#40D71F}.dslca-activate-composer-hook.dslca-position-left{right:auto;left:5px}.dslca-container .dslca-show-composer-hook{display:none}.dslca-container .dslca-close-composer-hook .dslca-icon,.dslca-pseudo-close-composer-hook .dslca-icon,.dslca-activate-composer-hook .dslca-icon,.dslca-container .dslca-hide-composer-hook .dslca-icon,.dslca-pseudo-hide-composer-hook .dslca-icon,.dslca-container .dslca-show-composer-hook .dslca-icon{color:rgba(255,255,255,0.66);margin-right:5px}body.rtl .dslca-templates .dslca-go-to-section-hook .dslca-icon,body.rtl .dslca-templates .dslca-open-modal-hook .dslca-icon{margin-right:0;margin-left:9px}body.rtl .dslca-section-title-filter .dslca-icon{margin-left:0;margin-right:10px}body.rtl .dslca-container .dslca-close-composer-hook .dslca-icon,body.rtl .dslca-activate-composer-hook .dslca-icon,body.rtl .dslca-container .dslca-hide-composer-hook .dslca-icon,body.rtl .dslca-container .dslca-show-composer-hook .dslca-icon{margin-right:0;margin-left:5px}body.rtl .dslca-module .dslca-icon{margin-right:0;margin-left:11px}body.rtl .dslca-header .dslca-options-filter-hook .dslca-icon{margin-right:0;margin-left:4px}body.rtl .dslca-prompt-modal-actions .dslc-icon{margin-right:0;margin-left:6px}body.rtl .dslca-module-edit-option-checkbox-hook .dslca-icon{margin-right:0;margin-left:10px}body.rtl .dslca-module-edit-options-inner,body.rtl .dslca-modules-section-edit-options-inner{overflow-x:scroll}body.rtl .dslca-module-edit-option,body.rtl .dslca-modules-section-edit-option{float:right}body.rtl .dslca-no-content .dslca-icon{margin-right:0;margin-left:10px}body.rtl .dslca-module-edit-options-wrapper{display:block}.dslca-modules-section-edit-options-wrapper,.dslca-module-edit-options-wrapper,.dslca-pseudo-module-edit-options-wrapper{display:table-cell;padding:0}.dslca-modules-section-edit-options-inner,.dslca-module-edit-options-inner{overflow-x:scroll;padding-top:4px}.dslca-styling-presets{position:absolute;top:0;right:0;margin-right:15px;margin-top:15px}.dslca-drag-not-in-progress .dslc-modules-section .dslca-modules-section-manage-inner{-webkit-transition:all 0.2s ease-in-out;-moz-transition:all 0.2s ease-in-out;transition:all 0.2s ease-in-out}.dslca-drag-not-in-progress .dslc-modules-section:hover .dslca-modules-section-manage-inner{opacity:1}.dslca-composer-hidden .dslc-modules-section:hover .dslca-modules-section-manage-inner{opacity:0}.dslca-drag-not-in-progress #dslc-content .dslc-module-front .dslca-module-manage-inner:hover,.dslca-drag-not-in-progress #dslc-content .dslc-module-front:hover .dslca-module-manage-inner,.dslca-drag-not-in-progress #dslc-content .dslc-module-front:hover .dslca-wysiwyg-actions-edit{opacity:1}.dslca-drag-not-in-progress .dslc-module-front .dslca-wysiwyg-actions-edit,.dslca-drag-not-in-progress .dslc-modules-area .dslca-modules-area-manage-inner{opacity:0}.dslca-drag-not-in-progress .dslc-modules-area .dslca-modules-area-manage-inner:hover,.dslca-drag-not-in-progress .dslc-modules-area:hover .dslca-modules-area-manage-inner{opacity:1}.dslca-modal.dslca-modal-icons{width:70%;position:fixed;padding:0;overflow:scroll;top:2%;left:50% !important;visibility:visible;transform:translate(-50%, 0%);z-index:100001}.dslca-prompt-modal-custom{background:rgba(255,255,255,0.8);display:none;position:fixed;top:0;left:0;right:0;bottom:0;z-index:100000;height:100%}.dslca-modal-icons .modal-content{height:100%}.dslca-modal-icons .dslc-icons-grid{list-style:none;margin:0;padding:0;text-align:left}.dslca-modal-icons .icon-item{display:inline-block;width:12.4%;min-height:120px;padding:0;margin:0 0 0 -1px;vertical-align:top;text-align:center;border-left:1px solid rgba(155,155,155,0.05);border-bottom:1px solid rgba(155,155,155,0.05)}.dslca-modal-icons .icon-item:hover{-webkit-box-shadow:0 1px 5px 0px rgba(68,68,68,0.52);-moz-box-shadow:0 1px 5px 0px rgba(68,68,68,0.52);box-shadow:0 1px 5px 0px rgba(68,68,68,0.52);cursor:pointer}.dslca-modal-icons .icon-item:active{-webkit-box-shadow:0 1px 5px 0px #5890e5 inset;-moz-box-shadow:0 1px 5px 0px #5890e5 inset;box-shadow:0 1px 5px 0px #5890e5 inset}.dslca-modal-icons .icon-item_icon{display:inline-block;width:100%;padding:28px 0 16px;font-size:24px;opacity:.7}.dslca-modal-icons .icon-item:hover .icon-item_icon{opacity:1}.dslca-modal-icons .icon-item_name{opacity:.35;display:inline-block;font-size:12px;line-height:1.25;padding:5px 8px 12px}.dslca-modal-icons .set-heading{text-transform:uppercase;padding:30px;text-align:center;letter-spacing:6px;font-size:16px;font-weight:300;line-height:1.25}body.dslca-enabled.dslc-res-tablet #page-builder-preview-area,body.dslca-enabled.dslc-res-phone #page-builder-preview-area{display:block;margin:0 auto;position:relative;border:14px solid black;border-top-width:60px;border-radius:16px;top:40px}body.dslca-enabled.dslc-res-phone #page-builder-preview-area{width:480px;max-width:767px}body.dslca-enabled.dslc-res-tablet #page-builder-preview-area{width:768px;min-width:768px;max-width:1024px}body.dslca-enabled.dslc-res-phone #page-builder-frame,body.dslca-enabled.dslc-res-tablet #page-builder-frame{display:block;position:relative}html.dslc-responsive-preview{background:#61666A}#page-builder-preview-area.ui-resizable-resizing .ui-resizable-e{width:100%}#page-builder-preview-area .ui-resizable-e{cursor:e-resize;height:100%;right:-14px;width:14px;top:0}#page-builder-preview-area .ui-resizable-handle{display:block;font-size:0.1px;position:absolute}.dslca-modules-section-edit-field-colorpicker,.dslca-module-edit-field-colorpicker{display:block !important;cursor:pointer;position:relative;z-index:1}.dslca-module-edit-option-box-shadow-color,.dslca-module-edit-option-text-shadow-color{display:inline-block !important;cursor:pointer;position:relative;z-index:1;width:auto}body .sp-palette-container{border-right:1px solid #3e3e3e}body .sp-palette .sp-thumb-el{border:medium none;height:25px;margin:1px;width:25px}.dslca-pseudo-panel{position:relative;bottom:0px;left:0;position:fixed;right:0;z-index:99999;-webkit-transition:bottom 0.3s;-moz-transition:bottom 0.3s;transition:bottom 0.3s}.dslca-pseudo-header{position:absolute;z-index:100;min-height:38px;bottom:100%;left:0}.dslca-pseudo-module-edit-label{width:80px;background:#6c9fed;border-radius:3px}.dslca-pseudo-module-edit-field{border:0px;width:100%;height:33px}.dslca-pseudo-module-edit-option{opacity:0;transition:opacity .3s 0s ease-in}.dslca-pseudo-module-edit-option:nth-child(2){transition-delay:.15s}.dslca-pseudo-module-edit-option:nth-child(3){transition-delay:.25s}.dslca-pseudo-module-edit-option:nth-child(4){transition-delay:.5s}.dslca-pseudo-module-edit-option:nth-child(5){transition-delay:.75s}.dslca-pseudo-panel.show .dslca-pseudo-module-edit-option{opacity:1}.lc-shake-effect.active{animation:shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;transform:translate3d(0, 0, 0);backface-visibility:hidden;perspective:1000px}@keyframes shake{10%,90%{transform:translate3d(-1px, 0, 0)}20%,80%{transform:translate3d(2px, 0, 0)}30%,50%,70%{transform:translate3d(-4px, 0, 0)}40%,60%{transform:translate3d(4px, 0, 0)}}body.dslca-new-module-drag-in-progress .lc-scroll-top-area,body.dslca-drag-in-progress .lc-scroll-top-area{position:fixed;top:0px;z-index:99999;left:0px;width:100%;height:80px}body.dslca-drag-in-progress .lc-scroll-bottom-area,body.dslca-new-module-drag-in-progress .lc-scroll-bottom-area{position:fixed;bottom:0px;left:0px;z-index:99999;width:100%;height:140px}div#scroller-stopper{position:absolute;bottom:-33px;left:0px;width:100%;height:83px}.dslca-module-edit-option-checkbox-hook .dslca-icon:hover,.dslc-control-toggle:hover,.dslca-prompt-modal-cancel-hook:hover,.dslca-module-edit-field-ttip-hook:hover,.dslca-module-edit-field-ttip-hook .dslca-icon,.dslca-module-edit-field-ttip-close,.dslca-module-edit-field-ttip-close .dslc-icon,.dslca-module-edit-option-text-align-hook .dslca-icon,.dslca-modules-section-edit-field-image-add-hook:hover,.dslca-modules-section-edit-field-image-add-hook .dslca-icon:hover,.dslca-modules-section-edit-field-image-remove-hook:hover,.dslca-modules-section-edit-field-image-remove-hook .dslca-icon:hover,.dslca-row-edit-save:hover,.dslca-row-edit-cancel:hover,.dslca-modules-section-edit-option-checkbox-hook .dslca-icon,.dslca-module-edit-field-icon-ttip-hook:hover,.dslca-module-edit-field-icon-ttip-hook .dslca-icon,.dslca-options-iconbutton:hover,.dslca-options-iconbutton .dslca-icon,.dslca-modules-section-edit-field-ttip-hook:hover,.dslca-modules-section-edit-field-ttip-hook .dslca-icon,.dslca-modules-section-edit-field-ttip-close,.dslca-modules-section-edit-field-ttip-close .dslc-icon{cursor:pointer}.mce-tinymce .mce-btn button:hover{background:#e3e3e3 !important;border-color:#ccc !important}.dslca-module-edit-label .dslc-delete-preset{cursor:pointer;position:absolute;right:0;opacity:0.5}.dslca-module-edit-label .dslc-delete-preset:hover{opacity:1}.dslca-module-edit-label .dslc-delete-preset.dslc-delete-preset-hide{display:none}.lc-template-loader{display:block;width:100%;height:100%;position:fixed;top:0;left:0;background:#fefefe;z-index:100000}.lc-loader{position:absolute;top:50%;left:50%;margin:-110px 0 0 -60px;font-size:10px;z-index:100001}@keyframes lds-spinner{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes lds-spinner{0%{opacity:1}100%{opacity:0}}.lds-spinner{position:relative}.lds-spinner div{left:94px;top:48px;position:absolute;-webkit-animation:lds-spinner linear 1s infinite;animation:lds-spinner linear 1s infinite;background:#8cd0e5;width:12px;height:24px;border-radius:40%;-webkit-transform-origin:6px 52px;transform-origin:6px 52px}.lds-spinner div:nth-child(1){-webkit-transform:rotate(0deg);transform:rotate(0deg);-webkit-animation-delay:-0.916666666666667s;animation-delay:-0.916666666666667s}.lds-spinner div:nth-child(2){-webkit-transform:rotate(30deg);transform:rotate(30deg);-webkit-animation-delay:-0.833333333333333s;animation-delay:-0.833333333333333s}.lds-spinner div:nth-child(3){-webkit-transform:rotate(60deg);transform:rotate(60deg);-webkit-animation-delay:-0.75s;animation-delay:-0.75s}.lds-spinner div:nth-child(4){-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-animation-delay:-0.666666666666667s;animation-delay:-0.666666666666667s}.lds-spinner div:nth-child(5){-webkit-transform:rotate(120deg);transform:rotate(120deg);-webkit-animation-delay:-0.583333333333333s;animation-delay:-0.583333333333333s}.lds-spinner div:nth-child(6){-webkit-transform:rotate(150deg);transform:rotate(150deg);-webkit-animation-delay:-0.5s;animation-delay:-0.5s}.lds-spinner div:nth-child(7){-webkit-transform:rotate(180deg);transform:rotate(180deg);-webkit-animation-delay:-0.416666666666667s;animation-delay:-0.416666666666667s}.lds-spinner div:nth-child(8){-webkit-transform:rotate(210deg);transform:rotate(210deg);-webkit-animation-delay:-0.333333333333333s;animation-delay:-0.333333333333333s}.lds-spinner div:nth-child(9){-webkit-transform:rotate(240deg);transform:rotate(240deg);-webkit-animation-delay:-0.25s;animation-delay:-0.25s}.lds-spinner div:nth-child(10){-webkit-transform:rotate(270deg);transform:rotate(270deg);-webkit-animation-delay:-0.166666666666667s;animation-delay:-0.166666666666667s}.lds-spinner div:nth-child(11){-webkit-transform:rotate(300deg);transform:rotate(300deg);-webkit-animation-delay:-0.083333333333333s;animation-delay:-0.083333333333333s}.lds-spinner div:nth-child(12){-webkit-transform:rotate(330deg);transform:rotate(330deg);-webkit-animation-delay:0s;animation-delay:0s}.lds-spinner{width:100px !important;height:100px !important;-webkit-transform:translate(-50px, -50px) scale(0.5) translate(50px, 50px);transform:translate(-50px, -50px) scale(0.5) translate(50px, 50px)}body em{font-style:italic}
css/src/builder/index.css CHANGED
@@ -906,14 +906,14 @@ body a:focus {
906
 
907
  .dslca-module-edit-field-font-suggest,
908
  .dslca-module-edit-field-icon-suggest {
909
- color: #fff;
910
  color: rgba( 255, 255, 255, 0.5 );
911
  position: absolute;
912
  left: 11px;
913
  top: 0;
914
- line-height: 32px;
915
- /* font-family: "Open Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; */
916
- font-size: 13px;
 
917
  }
918
 
919
 
906
 
907
  .dslca-module-edit-field-font-suggest,
908
  .dslca-module-edit-field-icon-suggest {
 
909
  color: rgba( 255, 255, 255, 0.5 );
910
  position: absolute;
911
  left: 11px;
912
  top: 0;
913
+ line-height: 2;
914
+ font-size: 12px;
915
+ vertical-align: middle;
916
+ padding: 8px 0;
917
  }
918
 
919
 
ds-live-composer.php CHANGED
@@ -4,7 +4,7 @@
4
  * Plugin URI: https://www.livecomposerplugin.com
5
  * Description: Page builder for WordPress with drag and drop header/footer editing.
6
  * Author: Live Composer Team
7
- * Version: 1.5.4
8
  * Author URI: https://livecomposerplugin.com
9
  * License: GPL3
10
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -41,7 +41,7 @@ if ( ! defined( 'DS_LIVE_COMPOSER_VER' ) && version_compare( PHP_VERSION, '5.3.0
41
  * Constants
42
  */
43
 
44
- define( 'DS_LIVE_COMPOSER_VER', '1.5.4' );
45
 
46
  define( 'DS_LIVE_COMPOSER_SHORTNAME', __( 'Live Composer', 'live-composer-page-builder' ) );
47
  define( 'DS_LIVE_COMPOSER_BASENAME', plugin_basename( __FILE__ ) );
4
  * Plugin URI: https://www.livecomposerplugin.com
5
  * Description: Page builder for WordPress with drag and drop header/footer editing.
6
  * Author: Live Composer Team
7
+ * Version: 1.5.5
8
  * Author URI: https://livecomposerplugin.com
9
  * License: GPL3
10
  * License URI: https://www.gnu.org/licenses/gpl-2.0.html
41
  * Constants
42
  */
43
 
44
+ define( 'DS_LIVE_COMPOSER_VER', '1.5.5' );
45
 
46
  define( 'DS_LIVE_COMPOSER_SHORTNAME', __( 'Live Composer', 'live-composer-page-builder' ) );
47
  define( 'DS_LIVE_COMPOSER_BASENAME', plugin_basename( __FILE__ ) );
includes/plugin-options-framework/css/main.css CHANGED
@@ -1126,10 +1126,11 @@ display: inline-block;
1126
  opacity: .7;
1127
  }
1128
 
1129
- .lc-license-field {
1130
  display: block;
1131
- padding: 13px 10px 13px 38px;
1132
  font-size: 15px;
 
1133
  border-radius: 3px;
1134
  max-width: 100%;
1135
  min-width: 340px;
1126
  opacity: .7;
1127
  }
1128
 
1129
+ input[type="text"].lc-license-field {
1130
  display: block;
1131
+ padding: 17px 10px 17px 38px;
1132
  font-size: 15px;
1133
+ line-height: 1;
1134
  border-radius: 3px;
1135
  max-width: 100%;
1136
  min-width: 340px;
includes/single-templates-framework/inc/filters.php CHANGED
@@ -295,8 +295,7 @@ function dslc_tp_update_archive_templates_option( $post_id ) {
295
  $dslc_template_for = $_POST['dslc_template_for'];
296
  }*/
297
 
298
- $dslc_metadata = get_post_meta( $post_id, 'dslc_template_for' );
299
- $dslc_template_for = $dslc_metadata;
300
 
301
  // List of options that should have single template only (no alternative designs).
302
  // Like: Search results, 404 page, Author listing, Archive pages, etc.
@@ -348,12 +347,12 @@ function dslc_tp_update_archive_templates_option( $post_id ) {
348
  // put the setting in plugin options table
349
  // and make sure we have only one LC template
350
  // for this option selected LC templates section.
351
- /* if ( stristr( $value, '_archive' ) || in_array( $value, $option_require_single_template ) ) {
352
  // Put template post ID into plugin options.
353
  $plugin_options[ $value ] = $post_id;
354
  // Make sure we have only one LC template for this option.
355
  dslc_tp_remove_template_from_meta( $value, $post_id );
356
- } */
357
  }
358
 
359
  update_option( 'dslc_plugin_options', $plugin_options );
295
  $dslc_template_for = $_POST['dslc_template_for'];
296
  }*/
297
 
298
+ $dslc_template_for = get_post_meta( $post_id, 'dslc_template_for' );
 
299
 
300
  // List of options that should have single template only (no alternative designs).
301
  // Like: Search results, 404 page, Author listing, Archive pages, etc.
347
  // put the setting in plugin options table
348
  // and make sure we have only one LC template
349
  // for this option selected LC templates section.
350
+ if ( stristr( $value, '_archive' ) || in_array( $value, $option_require_single_template ) ) {
351
  // Put template post ID into plugin options.
352
  $plugin_options[ $value ] = $post_id;
353
  // Make sure we have only one LC template for this option.
354
  dslc_tp_remove_template_from_meta( $value, $post_id );
355
+ }
356
  }
357
 
358
  update_option( 'dslc_plugin_options', $plugin_options );
js/dist/client_frontend.min.js CHANGED
@@ -1,2 +1,2 @@
1
- !function(e){var s={};function t(o){if(s[o])return s[o].exports;var a=s[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,t),a.l=!0,a.exports}t.m=e,t.c=s,t.d=function(e,s,o){t.o(e,s)||Object.defineProperty(e,s,{enumerable:!0,get:o})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,s){if(1&s&&(e=t(e)),8&s)return e;if(4&s&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&s&&"string"!=typeof e)for(var a in e)t.d(o,a,function(s){return e[s]}.bind(null,a));return o},t.n=function(e){var s=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(s,"a",s),s},t.o=function(e,s){return Object.prototype.hasOwnProperty.call(e,s)},t.p="",t(t.s=2)}({2:function(e,s,t){window.dslc_responsive_classes=function(e){void 0===e&&(e=!1);var s=jQuery(window).width(),t=jQuery("body");1!=e&&(t.hasClass("dslc-res-disabled")||jQuery('.dslca-module-edit-options-tab-hook.dslca-active[data-section="responsive"]').length)||(t.removeClass("dslc-res-phone dslc-res-tablet dslc-res-smaller-monitor dslc-res-big"),s>=1024&&s<1280?t.addClass("dslc-res-smaller-monitor"):s>=768&&s<1024?t.addClass("dslc-res-tablet"):s<768?t.addClass("dslc-res-phone"):t.addClass("dslc-res-big"))},window.dslc_init_accordion=function(){jQuery(".dslc-accordion").each((function(){var e=jQuery(this),s=e.data("open")-1,t=jQuery(".dslc-accordion-item:eq("+s+")",e),o=t.siblings(".dslc-accordion-item"),a=jQuery(".dslc-accordion-item",e);s>=0?(t.addClass("dslc-active"),o.addClass("dslc-inactive"),jQuery(".dslc-accordion-content",o).hide(),jQuery("body").hasClass("dslca-enabled")||o.find(".dslca-icon").removeClass("dslc-icon-minus").addClass("dslc-icon-plus")):(a.addClass("dslc-inactive"),jQuery(".dslc-accordion-content",a).hide(),jQuery("body").hasClass("dslca-enabled")||a.find(".dslca-icon").removeClass("dslc-icon-minus").addClass("dslc-icon-plus"))}))},window.dslc_init_lightbox=function(){var e;jQuery(".dslc-lightbox-image").each((function(){e="image",(jQuery(this).attr("href").indexOf("youtube.com")>=0||jQuery(this).attr("href").indexOf("vimeo.com")>=0)&&(e="iframe"),jQuery(this).magnificPopup({type:e})})),jQuery(".dslc-lightbox-gallery").each((function(){jQuery(this).magnificPopup({delegate:"a",type:"image",gallery:{enabled:!0},image:{titleSrc:function(e){var s="";return void 0!==e.el.attr("data-caption")&&(s="<small>"+e.el.attr("data-caption")+"</small>"),e.el.attr("title")+s}}})}))},window.dslc_carousel=function(){jQuery(".dslc-carousel, .dslc-slider").each((function(e){var s,t,o,a,c;s=jQuery(this),(t=s.closest(".dslc-module-front")).imagesLoaded((function(){if(t.closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing"))var e=0;else e=t.width()/100*2.12766/2;s.hasClass("dslc-carousel")&&(s.find(".dslc-col").css({"margin-left":e,"margin-right":e}),s.css({"margin-left":-1*e,width:s.width()+2*e})),o={items:4,pagination:!0,singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:!1,stopOnHover:!1,lazyLoad:!1,lazyFollow:!0,autoHeight:!1,mouseDrag:!0,touchDrag:!0,addClassActive:!0,transitionStyle:"fade",scrollPerPage:!0},a={items:s.data("columns"),pagination:s.data("pagination"),itemsScaleUp:s.data("scale-up"),slideSpeed:s.data("slide-speed"),paginationSpeed:s.data("pagination-speed"),rewindSpeed:s.data("rewind-speed"),autoPlay:s.data("autoplay"),stopOnHover:s.data("stop-on-hover"),lazyLoad:s.data("lazy-load"),lazyFollow:s.data("lazy-follow"),autoHeight:s.data("flexible-height"),mouseDrag:s.data("mouse-drag"),touchDrag:s.data("touch-drag"),addClassActive:s.data("active-class"),transitionStyle:s.data("animation"),scrollPerPage:s.data("scroll-per-page")},c=jQuery.extend({},o,a),(s.hasClass("dslc-slider")||1==c.items)&&(c.singleItem=!0),0==c.autoPlay&&(c.autoPlay=!1),s.owlCarousel({items:c.items,pagination:c.pagination,singleItem:c.singleItem,itemsScaleUp:c.itemsScaleUp,slideSpeed:c.slideSpeed,paginationSpeed:c.paginationSpeed,rewindSpeed:c.rewindSpeed,autoPlay:c.autoPlay,stopOnHover:c.stopOnHover,lazyLoad:c.lazyLoad,lazyFollow:c.lazyFollow,mouseDrag:c.mouseDrag,touchDrag:c.touchDrag,scrollPerPage:c.scrollPerPage,transitionStyle:c.transitionStyle,autoHeight:c.autoHeight,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsMobile:[766,1],afterInit:function(){s.prev(".dslc-loader").remove(),s.css({opacity:1,maxHeight:"none"})},afterAction:function(){var e=this.owl.visibleItems;s.find(".dslc-carousel-item-visible").removeClass("dslc-carousel-item-visible"),s.find(".owl-item").filter((function(s){return e.indexOf(s)>-1})).addClass("dslc-carousel-item-visible")}}),jQuery(".dslc-carousel-nav-next",t).click((function(e){e.preventDefault(),s.data("owlCarousel").next()})),jQuery(".dslc-carousel-nav-prev",t).click((function(e){e.preventDefault(),s.data("owlCarousel").prev()}))}))}))},window.dslc_carousel_responsive=function(){jQuery(".dslc-carousel").each((function(){var e,s;if(s=(e=jQuery(this)).closest(".dslc-module-front"),e.css({"margin-left":0,width:"auto"}),s.closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing"))var t=0;else t=s.width()/100*2.12766/2;e.hasClass("dslc-carousel")&&(e.find(".dslc-col").css({"margin-left":t,"margin-right":t}),e.css({"margin-left":-1*t,width:e.width()+2*t}))}))},window.dslc_bg_video=function(){jQuery(".dslc-bg-video").each((function(){jQuery(this).find("video").length||jQuery(this).css({opacity:1})})),jQuery(".dslc-bg-video video").mediaelementplayer({loop:!0,pauseOtherPlayers:!1,success:function(e,s){e.addEventListener("loadeddata",(function(e){jQuery(s).closest(".dslc-bg-video").animate({opacity:1},400)})),e.play()}})},window.dslc_parallax=function(){jQuery(".dslc-init-parallax").each((function(){var e=jQuery(this);e.imagesLoaded({background:!0},(function(){var s=e.css("background-position").split(" ")[0]+" "+-1*(window.pageYOffset-e.offset().top)/4+"px";e.css({backgroundPosition:s})}))})),window.onscroll=function(){jQuery(".dslc-init-parallax").each((function(){var e=jQuery(this).css("background-position").split(" ")[0]+" "+-1*(window.pageYOffset-jQuery(this).offset().top)/4+"px";jQuery(this).css({backgroundPosition:e})}))}},window.dslc_masonry=function(e,s){e=void 0!==e?e:jQuery("body"),s=void 0!==s&&s,jQuery(".dslc-init-masonry",e).each((function(){var e,t,o,a;e=jQuery(this).find(".dslc-posts-inner").length?jQuery(this).find(".dslc-posts-inner"):jQuery(this),t=".dslc-masonry-item",jQuery(t,e).width(),o=jQuery(e).width(),a=jQuery(this).closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing")?0:o/100*2.05,e.data("masonry")?jQuery(e).imagesLoaded((function(){jQuery(e).masonry("destroy").masonry({gutter:a,itemSelector:t}),jQuery(e).find(".dslc-post:not(.dslc-masonry-item)").hide(),s&&jQuery(t,e).css({scale:"0.2"}).animate({scale:"1"},500)})):(jQuery(t).css({marginRight:0}),jQuery(e).imagesLoaded((function(){jQuery(e).masonry({gutter:a,itemSelector:t})})))}))},window.dslc_tabs_generate_code=function(e){var s=e.closest(".dslc-module-front");dslcTabsNav=jQuery(".dslc-tabs-nav",e),dslcTabsContent=jQuery(".dslc-tabs-content",e),dslcTabContent=jQuery(".dslc-tabs-tab-content",e);var t="",o="",a=0,c=0;jQuery(".dslc-tabs-nav-hook",dslcTabsNav).each((function(){++a>1&&(t+=" (dslc_sep) "),t+=jQuery(this).find(".dslc-tabs-nav-hook-title").text()})),dslcTabContent.each((function(){++c>1&&(o+=" (dslc_sep) "),o+=jQuery(this).find(".dslca-tab-plain-content").val()})),o=o.replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea"),jQuery('.dslca-module-option-front[data-id="tabs_nav"]',s).val(t),jQuery('.dslca-module-option-front[data-id="tabs_content"]',s).val(o),parent.LiveComposer.Builder.Actions.optionsChanged()},window.dslc_accordion_generate_code=function(e){var s=e.closest(".dslc-module-front"),t=0,o="",a="";jQuery(".dslc-accordion-item",e).each((function(){++t>1&&(o+=" (dslc_sep) ",a+=" (dslc_sep) "),o+=jQuery(this).find(".dslc-accordion-title").text(),a+=jQuery(this).find(".dslc-accordion-content").find(".dslca-accordion-plain-content").val()})),a=a.replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea"),jQuery('.dslca-module-option-front[data-id="accordion_nav"]',s).val(o),jQuery('.dslca-module-option-front[data-id="accordion_content"]',s).val(a),parent.LiveComposer.Builder.Actions.optionsChanged()},window.dslc_tabs=function(){var e,s;jQuery(".dslc-tabs").each((function(){e=jQuery(this),s=jQuery(".dslc-tabs-nav",e),jQuery(".dslc-tabs-content",e),jQuery(".dslc-tabs-tab-content",e).eq(0).addClass("dslc-active"),jQuery(".dslc-tabs-nav-hook",s).eq(0).addClass("dslc-active")}))},jQuery(document).on("click",".dslca-add-new-tab-hook",(function(e){return function(e){var s=jQuery(e.target).closest(".dslc-tabs"),t=jQuery(".dslc-tabs-nav .dslc-tabs-nav-hook:last",s),o=jQuery(".dslc-tabs-tab-content:last",s),a=jQuery(".dslc-tabs-nav .dslc-tabs-nav-hook",s).length;t.after('<span class="dslc-tabs-nav-hook"><span class="dslc-tabs-nav-hook-title" contenteditable="true">Click to edit title</span><span class="dslca-delete-tab-hook"><span class="dslca-icon dslc-icon-remove"></span></span></span>'),o.after('<div class="dslc-tabs-tab-content"><div class="dslca-editable-content" data-edit-id="'+a+'" data-id="'+a+'">This is just placeholder text.</div><textarea class="dslca-tab-plain-content" data-edit-id="'+a+'" data-id="'+a+'">This is just placeholder text.</textarea><div class="dslca-wysiwyg-actions-edit"><span class="dslca-wysiwyg-actions-edit-hook" data-event="wysiwyg-edit" data-id-to-edit="'+a+'">Open in WP Editor</span></div></div>'),jQuery(".dslc-tabs-nav-hook:last",s).click(),dslc_tabs_generate_code(s),jQuery(s[0]).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(s[0]).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}(e)})),jQuery(document).on("click",".dslca-delete-tab-hook",(function(e){return function(e){console.log("dslc_on_tab_delete");var s=jQuery(e.target).closest(".dslc-tabs"),t=jQuery(e.target).closest(".dslc-tabs-nav-hook"),o=t.index(),a=jQuery(".dslc-tabs-tab-content",s).eq(o);jQuery(".dslc-tabs-nav .dslc-tabs-nav-hook",s).length>1&&(t.remove(),a.remove(),jQuery(".dslc-tabs-tab-content.dslc-active",s).length||jQuery(".dslc-tabs-nav-hook:first",s).trigger("click"),dslc_tabs_generate_code(s)),jQuery(s[0]).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(s[0]).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click"),e.stopPropagation()}(e)})),jQuery(document).on("click",".dslc-tabs-nav-hook",(function(e){return function(e){dslcTabs=jQuery(e.target).closest(".dslc-tabs"),dslcTabsNav=jQuery(".dslc-tabs-nav",dslcTabs),dslcTabsContent=jQuery(".dslc-tabs-content",dslcTabs),dslcTabContent=jQuery(".dslc-tabs-tab-content",dslcTabs),dslcTabIndex=jQuery(e.currentTarget).index(),jQuery(".dslc-tabs-nav-hook.dslc-active",dslcTabs).removeClass("dslc-active"),jQuery(e.currentTarget).addClass("dslc-active"),jQuery(".dslc-tabs-tab-content.dslc-active",dslcTabs).length?jQuery(".dslc-tabs-tab-content.dslc-active",dslcTabs).animate({opacity:0},250,(function(){jQuery(this).removeClass("dslc-active"),dslcTabContent.eq(dslcTabIndex).css({opacity:0}).addClass("dslc-active").show().animate({opacity:1},250)})):dslcTabContent.eq(dslcTabIndex).css({opacity:0}).addClass("dslc-active").show().animate({opacity:1},250)}(e)})),jQuery(document).on("blur paste",".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]",(function(e){dslc_tabs_generate_code(jQuery(this).closest(".dslc-tabs"))})).on("focus",".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]",(function(e){jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")})),window.dslc_download_count_increment=function(e){jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-download-count-increment",dslc_post_id:e},(function(e){}))},window.dslc_check_viewport=function(){!!document.documentMode?jQuery(".dslc-in-viewport-check").css("opacity",1):jQuery(".dslc-in-viewport-check:in-viewport:not(.dslc-in-viewport)").each((function(){var e=jQuery(this),s=e.data("dslc-anim"),t=parseInt(e.data("dslc-anim-duration"))/1e3+"s";jQuery(window).width()<768&&(t="0s");var o=parseInt(e.data("dslc-anim-delay")),a=s+" "+t+" "+e.data("dslc-anim-easing")+" forwards";jQuery(this).addClass("dslc-in-viewport"),o>0?setTimeout((function(){e.css({"-webkit-animation":a,"-moz-animation":a,animation:a})}),o):jQuery(this).css({"-webkit-animation":a,"-moz-animation":a,animation:a})}))},window.dslc_el_anim_hover=function(){jQuery(".dslc-on-hover-anim-target").each((function(){var e="all "+parseInt(jQuery(this).data("dslc-anim-speed"))/1e3+"s ease-out";jQuery(this).css({"-webkit-transition":e,"-moz-transition":e,transition:e})}))},window.dslc_check_progress_bar_viewport=function(){jQuery(".dslc-progress-bar-animated:in-viewport:not(.dslc-progress-bar-in-viewport)").each((function(){var e=jQuery(this),s=e.find(".dslc-progress-bar-loader-inner"),t=s.data("amount")+"%",o=s.data("speed");e.addClass("dslc-progress-bar-in-viewport"),s.css({width:0,opacity:1}).animate({width:t},o)}))},window.dslc_validate_comment_form=function(e){var s=e.find("#author"),t=e.find("#email"),o=(e.find("#url"),e.find("#comment")),a=!0;return s.length&&0==s.val().length?(s.css({borderColor:"#e55f5f"}),a=!1):s.attr("style",""),!t.length||0!=t.val().length&&-1!==t.val().indexOf("@")?t.attr("style",""):(t.css({borderColor:"#e55f5f"}),a=!1),0==o.val().length?(o.css({borderColor:"#e55f5f"}),a=!1):o.attr("style",""),a},window.dslc_social_share=function(e,s,t){var o,a,c="status=no,height="+s+",width="+e+",resizable=yes,left="+(o=window.screen.width/2-(e/2+10))+",top="+(a=window.screen.height/2-(s/2+50))+",screenX="+o+",screenY="+a+",toolbar=no,menubar=no,scrollbars=no,location=no,directories=no";return location.href,document.title,window.open(t,"sharer",c),!1},window.dslc_sticky_row=function(){if(jQuery("body .dslc-modules-section").hasClass("dslc-sticky-row")&&!jQuery("body").hasClass("dslca-enabled")){var e=jQuery("body .dslc-modules-section.dslc-sticky-row"),s=jQuery(".dslc-sticky-row");s.each((function(e,t){jQuery(s).eq(e).outerHeight();jQuery(t).wrap('<div class="dslc-modules-section-placeholder"></div>').parent().height(jQuery(t).outerHeight())}));(e=jQuery("body .dslc-modules-section.dslc-sticky-row")).offset().top;jQuery("#wpadminbar").length&&jQuery("#wpadminbar").height(),jQuery(window).scroll((function(){var s=jQuery(".dslc-sticky-row"),t=jQuery(this).scrollTop();t>=0?s.each((function(e,o){var a=jQuery(s).eq(e),c=a.offset().top,i=a.outerHeight();jQuery("#wpadminbar").length&&(c-=jQuery("#wpadminbar").height());var n=o.isFixed&&t<=o.exTop,d=c<=t,l="",r=0;if(n)positon="relative",r=0,o.isFixed=!1,o.classList.remove("dslc-sticky-section-fixed"),jQuery(o).closest(".dslc-modules-section-placeholder").height(jQuery(o).outerHeight());else if(d){if(l="fixed",0<e)for(var u=0;u<e;u++)r+=jQuery(s).eq(u).outerHeight();t+=i,o.isFixed||(o.isFixed=!0,o.exTop=c),jQuery("#wpadminbar").length&&(r+=32),o.classList.add("dslc-sticky-section-fixed"),jQuery(o).closest(".dslc-modules-section-placeholder").height(jQuery(o).outerHeight())}jQuery(o).css({position:l,top:r+"px"})})):(e.removeClass("dslc-sticky-section-fixed"),s.css({position:"relative",top:"0px"}))}))}},jQuery(document).ready((function(e){var s,t,o,a,c;if(document.querySelector("meta[name=viewport]").setAttribute("content","width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"),dslc_el_anim_hover(),dslc_bg_video(),dslc_tabs(),jQuery(document).on("click",".dslc-pagination-load-more a",(function(e){if(e.preventDefault(),jQuery(this).parent().hasClass("dslc-active")){var s=jQuery(this),t=jQuery(this).closest(".dslc-module-front"),o=t.find(".dslc-pagination"),a=t.find(".dslc-posts-inner"),c=t.attr("id"),i=s.attr("href"),n=t.find(".dslc-load-more-temp");s.find(".dslc-icon").addClass("dslc-icon-spin"),n.load(i+" #"+c,(function(){a.append('<div class="dslc-post-separator"></div>'),a.append(n.find(".dslc-posts-inner").html()),t.find(".dslc-pagination").html(n.find(".dslc-pagination").html()),o.replaceWith(n.find(".dslc-pagination")),n.html(""),a.imagesLoaded((function(){t.find(".dslc-init-masonry").length&&t.find(".dslc-init-masonry .dslc-posts-inner").masonry("reloadItems").masonry()}))}))}})),jQuery(".dslc-tp-comment-form form").submit((function(e){dslc_validate_comment_form(jQuery(this))||e.preventDefault()})),jQuery(".dslc-mobile-navigation select").change((function(){window.location=jQuery(this).val()})),jQuery(document).on("click",".dslc-notification-close",(function(e){jQuery(this).closest(".dslc-notification").slideUp(200,(function(){jQuery(this).remove()}))})),jQuery(document).on("click",".dslc-post-filter",(function(){var e=jQuery(this),s=e.closest(".dslc-module-front").find(".dslc-posts"),t=e.closest(".dslc-module-front"),o=e.data("filter-id"),a=jQuery(),c=jQuery();"show-all"===o?(a=s.closest(".dslc-module-front").find(".dslc-post"),c=jQuery()):(a=s.closest(".dslc-module-front").find('.dslc-post[data-cats*="'+o+'"]'),c=s.closest(".dslc-module-front").find('.dslc-post:not([data-cats*="'+o+'"])')),e.removeClass("dslc-inactive").addClass("dslc-active").siblings(".dslc-active").removeClass("dslc-active").addClass("dslc-inactive"),s.hasClass("dslc-init-grid")?(a.stop().animate({opacity:1},300),c.stop().animate({opacity:.3},300)):(c.removeClass("dslc-masonry-item dslc-masonry-item-animate").css({visibility:"hidden"}),a.addClass("dslc-masonry-item dslc-masonry-item-animate").css({visibility:"visible"}).show(),dslc_masonry(t,!0))})),jQuery(document).on("click",".dslc-download-count-hook",(function(e){dslc_download_count_increment(jQuery(this).data("post-id"))})),jQuery(".dslc-notification-box-has-timeout").each((function(){var e=jQuery(this);nTimeout="none",moduleID=e.closest(".dslc-module-front").data("module-id"),cookieID="nBox"+moduleID,e.data("notification-timeout")&&null==Cookies.get(cookieID)&&e.show()})),jQuery(document).on("click",".dslc-notification-box-close",(function(){var e=jQuery(this).closest(".dslc-notification-box"),s="none",t="nBox"+e.closest(".dslc-module-front").data("module-id");e.data("notification-timeout")&&(s=e.data("notification-timeout")),"none"!==s&&Cookies.set(t,"closed",{expires:s}),e.animate({opacity:0},400,(function(){jQuery(this).remove()}))})),dslc_init_lightbox(),dslc_init_accordion(),jQuery(document).on("click",".dslc-accordion-hook",(function(){var e=jQuery(this).closest(".dslc-accordion-item"),s=e.siblings(".dslc-accordion-item");e.hasClass("dslc-active")?(jQuery("body").hasClass("dslca-enabled")||(e.find(".dslca-icon").hasClass("dslc-icon-minus")?e.find(".dslca-icon").removeClass("dslc-icon-minus").addClass("dslc-icon-plus"):e.find(".dslca-icon").removeClass("dslc-icon-plus").addClass("dslc-icon-minus")),s=e):(e.removeClass("dslc-inactive").addClass("dslc-active"),jQuery("body").hasClass("dslca-enabled")||(e.find(".dslca-icon").hasClass("dslc-icon-minus")?e.find(".dslca-icon").removeClass("dslc-icon-minus").addClass("dslc-icon-plus"):(e.find(".dslca-icon").removeClass("dslc-icon-plus").addClass("dslc-icon-minus"),s.find(".dslca-icon").removeClass("dslc-icon-minus").addClass("dslc-icon-plus")))),s.removeClass("dslc-active").addClass("dslc-inactive"),jQuery(".dslc-accordion-content",e).slideDown(300),jQuery(".dslc-accordion-content",s).slideUp(300)})),jQuery(document).on("click",".dslca-add-accordion-hook",(function(){var e=jQuery(this).closest(".dslc-accordion"),s=jQuery(".dslc-accordion-item:last",e),t=s.clone().insertAfter(s);numberOfTabs=jQuery(".dslc-accordion-item",e).length,jQuery(".dslc-accordion-title",t).html("CLICK TO EDIT"),jQuery(".dslc-accordion-content",t).html('<div class="dslca-editable-content" data-edit-id="'+numberOfTabs+'">Placeholder content, click to edit. Lorem ipsum dolor sit amet, consectetur tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div><textarea class="dslca-accordion-plain-content"></textarea><div class="dslca-wysiwyg-actions-edit"><span class="dslca-wysiwyg-actions-edit-hook" data-event="wysiwyg-edit" data-id-to-edit="'+numberOfTabs+'">Edit Content</span></div>'),jQuery(".dslc-accordion-hook",t).click(),dslc_accordion_generate_code(e),jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")})),jQuery(document).on("click",".dslca-delete-accordion-hook",(function(e){var s=jQuery(this).closest(".dslc-accordion"),t=jQuery(this).closest(".dslc-accordion-item");jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click"),jQuery(".dslc-accordion-item",s).length>1?(t.remove(),jQuery(".dslc-accordion-item.dslc-active",s).length||jQuery(".dslc-accordion-hook:first",s).trigger("click"),dslc_accordion_generate_code(s)):alert("You can not delete the last remaining accordion item."),e.stopPropagation()})),jQuery(document).on("click",".dslca-move-up-accordion-hook, .dslca-move-down-accordion-hook",(function(e){var s=jQuery(this).closest(".dslc-accordion"),t=jQuery(this).closest(".dslc-accordion-item"),o=t.next(".dslc-accordion-item"),a=t.prev(".dslc-accordion-item");jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click"),jQuery(this).hasClass("dslca-move-down-accordion-hook")?(t.insertAfter(o),dslc_accordion_generate_code(s)):(t.insertBefore(a),dslc_accordion_generate_code(s)),e.stopPropagation()})),jQuery(document).on("blur paste keyup",".dslc-accordion-title[contenteditable], .dslc-accordion-content[contenteditable]",(function(){dslc_accordion_generate_code(jQuery(this).closest(".dslc-accordion"))})).on("focus",".dslc-accordion-title[contenteditable], .dslc-accordion-content[contenteditable]",(function(){jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")})),jQuery(document).on("click",".dslc-trigger-lightbox-gallery",(function(e){if(e.preventDefault(),jQuery(this).closest(".dslc-post").length)jQuery(this).closest(".dslc-post").find(".dslc-lightbox-gallery a:first-child").trigger("click");else if(jQuery(this).closest(".dslc-col")){var s=jQuery(this).closest(".dslc-col").index();jQuery(this).closest(".dslc-module-front").find(".dslc-lightbox-gallery a:eq("+s+")").trigger("click")}else jQuery(this).closest(".dslc-module-front").find(".dslc-lightbox-gallery a:first-child").trigger("click")})),jQuery("#dslc-header").hasClass("dslc-header-extra-padding")&&!jQuery("body").hasClass("dslca-enabled")){var i=jQuery("#dslc-header").height();jQuery("#dslc-main .dslc-modules-section:first-child").css({paddingTop:i})}(dslc_check_viewport(),dslc_check_progress_bar_viewport(),jQuery(document).on("scroll",(function(){dslc_check_viewport(),dslc_check_progress_bar_viewport()})),jQuery("#dslc-footer").hasClass("dslc-footer-pos-relative"))&&(s=jQuery("body").height(),t=jQuery("#dslc-footer"),o=jQuery(t).height(),a=jQuery("#dslc-content"),c="100vh",jQuery("#wpadminbar").length&&(c="96.7vh"),s<jQuery(window).height()&&(jQuery(t).css({position:"absolute",bottom:"0",width:"100%"}),jQuery(a).css({"min-height":c,"padding-bottom":o+"px"})))})),jQuery(document).ready((function(e){dslc_responsive_classes(),dslc_carousel(),dslc_masonry(),dslc_parallax(),dslc_init_lightbox(),dslc_sticky_row()})),jQuery(window).resize((function(){dslc_responsive_classes(),dslc_carousel_responsive()}))}});
2
  //# sourceMappingURL=client_frontend.min.js.map
1
+ !function(e){var s={};function t(o){if(s[o])return s[o].exports;var a=s[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,t),a.l=!0,a.exports}t.m=e,t.c=s,t.d=function(e,s,o){t.o(e,s)||Object.defineProperty(e,s,{enumerable:!0,get:o})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,s){if(1&s&&(e=t(e)),8&s)return e;if(4&s&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&s&&"string"!=typeof e)for(var a in e)t.d(o,a,function(s){return e[s]}.bind(null,a));return o},t.n=function(e){var s=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(s,"a",s),s},t.o=function(e,s){return Object.prototype.hasOwnProperty.call(e,s)},t.p="",t(t.s=2)}({2:function(e,s,t){window.dslc_responsive_classes=function(e){void 0===e&&(e=!1);var s=jQuery(window).width(),t=jQuery("body");1!=e&&(t.hasClass("dslc-res-disabled")||jQuery('.dslca-module-edit-options-tab-hook.dslca-active[data-section="responsive"]').length)||(t.removeClass("dslc-res-phone dslc-res-tablet dslc-res-smaller-monitor dslc-res-big"),s>=1024&&s<1280?t.addClass("dslc-res-smaller-monitor"):s>=768&&s<1024?t.addClass("dslc-res-tablet"):s<768?t.addClass("dslc-res-phone"):t.addClass("dslc-res-big"))},window.dslc_init_accordion=function(){jQuery(".dslc-accordion").each((function(){var e=jQuery(this),s=e.data("open")-1,t=jQuery(".dslc-accordion-item:eq("+s+")",e),o=t.siblings(".dslc-accordion-item"),a=jQuery(".dslc-accordion-item",e);s>=0?(t.addClass("dslc-active"),o.addClass("dslc-inactive"),jQuery(".dslc-accordion-content",o).hide(),jQuery("body").hasClass("dslca-enabled")||o.find(".dslca-icon").removeClass("dslc-icon-minus").addClass("dslc-icon-plus")):(a.addClass("dslc-inactive"),jQuery(".dslc-accordion-content",a).hide(),jQuery("body").hasClass("dslca-enabled")||a.find(".dslca-icon").removeClass("dslc-icon-minus").addClass("dslc-icon-plus"))}))},window.dslc_init_lightbox=function(){var e;jQuery(".dslc-lightbox-image").each((function(){e="image",(jQuery(this).attr("href").indexOf("youtube.com")>=0||jQuery(this).attr("href").indexOf("vimeo.com")>=0)&&(e="iframe"),jQuery(this).magnificPopup({type:e})})),jQuery(".dslc-lightbox-gallery").each((function(){jQuery(this).magnificPopup({delegate:"a",type:"image",gallery:{enabled:!0},image:{titleSrc:function(e){var s="";return void 0!==e.el.attr("data-caption")&&(s="<small>"+e.el.attr("data-caption")+"</small>"),e.el.attr("title")+s}}})}))},window.dslc_carousel=function(){jQuery(".dslc-carousel, .dslc-slider").each((function(e){var s,t,o,a,c;s=jQuery(this),(t=s.closest(".dslc-module-front")).imagesLoaded((function(){if(t.closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing"))var e=0;else e=t.width()/100*2.12766/2;s.hasClass("dslc-carousel")&&(s.find(".dslc-col").css({"margin-left":e,"margin-right":e}),s.css({"margin-left":-1*e,width:s.width()+2*e})),o={items:4,pagination:!0,singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:!1,stopOnHover:!1,lazyLoad:!1,lazyFollow:!0,autoHeight:!1,mouseDrag:!0,touchDrag:!0,addClassActive:!0,transitionStyle:"fade",scrollPerPage:!0},a={items:s.data("columns"),pagination:s.data("pagination"),itemsScaleUp:s.data("scale-up"),slideSpeed:s.data("slide-speed"),paginationSpeed:s.data("pagination-speed"),rewindSpeed:s.data("rewind-speed"),autoPlay:s.data("autoplay"),stopOnHover:s.data("stop-on-hover"),lazyLoad:s.data("lazy-load"),lazyFollow:s.data("lazy-follow"),autoHeight:s.data("flexible-height"),mouseDrag:s.data("mouse-drag"),touchDrag:s.data("touch-drag"),addClassActive:s.data("active-class"),transitionStyle:s.data("animation"),scrollPerPage:s.data("scroll-per-page")},c=jQuery.extend({},o,a),(s.hasClass("dslc-slider")||1==c.items)&&(c.singleItem=!0),0==c.autoPlay&&(c.autoPlay=!1),s.owlCarousel({items:c.items,pagination:c.pagination,singleItem:c.singleItem,itemsScaleUp:c.itemsScaleUp,slideSpeed:c.slideSpeed,paginationSpeed:c.paginationSpeed,rewindSpeed:c.rewindSpeed,autoPlay:c.autoPlay,stopOnHover:c.stopOnHover,lazyLoad:c.lazyLoad,lazyFollow:c.lazyFollow,mouseDrag:c.mouseDrag,touchDrag:c.touchDrag,scrollPerPage:c.scrollPerPage,transitionStyle:c.transitionStyle,autoHeight:c.autoHeight,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsMobile:[766,1],afterInit:function(){s.prev(".dslc-loader").remove(),s.css({opacity:1,maxHeight:"none"})},afterAction:function(){var e=this.owl.visibleItems;s.find(".dslc-carousel-item-visible").removeClass("dslc-carousel-item-visible"),s.find(".owl-item").filter((function(s){return e.indexOf(s)>-1})).addClass("dslc-carousel-item-visible")}}),jQuery(".dslc-carousel-nav-next",t).click((function(e){e.preventDefault(),s.data("owlCarousel").next()})),jQuery(".dslc-carousel-nav-prev",t).click((function(e){e.preventDefault(),s.data("owlCarousel").prev()}))}))}))},window.dslc_carousel_responsive=function(){jQuery(".dslc-carousel").each((function(){var e,s;if(s=(e=jQuery(this)).closest(".dslc-module-front"),e.css({"margin-left":0,width:"auto"}),s.closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing"))var t=0;else t=s.width()/100*2.12766/2;e.hasClass("dslc-carousel")&&(e.find(".dslc-col").css({"margin-left":t,"margin-right":t}),e.css({"margin-left":-1*t,width:e.width()+2*t}))}))},window.dslc_bg_video=function(){jQuery(".dslc-bg-video").each((function(){jQuery(this).find("video").length||jQuery(this).css({opacity:1})})),jQuery(".dslc-bg-video video").mediaelementplayer({loop:!0,pauseOtherPlayers:!1,success:function(e,s){e.addEventListener("loadeddata",(function(e){jQuery(s).closest(".dslc-bg-video").animate({opacity:1},400)})),e.play()}})},window.dslc_parallax=function(){jQuery(".dslc-init-parallax").each((function(){var e=jQuery(this);e.imagesLoaded({background:!0},(function(){var s=e.css("background-position").split(" ")[0]+" "+-1*(window.pageYOffset-e.offset().top)/4+"px";e.css({backgroundPosition:s})}))})),window.onscroll=function(){jQuery(".dslc-init-parallax").each((function(){var e=jQuery(this).css("background-position").split(" ")[0]+" "+-1*(window.pageYOffset-jQuery(this).offset().top)/4+"px";jQuery(this).css({backgroundPosition:e})}))}},window.dslc_masonry=function(e,s){e=void 0!==e?e:jQuery("body"),s=void 0!==s&&s,jQuery(".dslc-init-masonry",e).each((function(){var e,t,o,a;e=jQuery(this).find(".dslc-posts-inner").length?jQuery(this).find(".dslc-posts-inner"):jQuery(this),t=".dslc-masonry-item",jQuery(t,e).width(),o=jQuery(e).width(),a=jQuery(this).closest(".dslc-modules-section").hasClass("dslc-no-columns-spacing")?0:o/100*2.05,e.data("masonry")?jQuery(e).imagesLoaded((function(){jQuery(e).masonry("destroy").masonry({gutter:a,itemSelector:t}),jQuery(e).find(".dslc-post:not(.dslc-masonry-item)").hide(),s&&jQuery(t,e).css({scale:"0.2"}).animate({scale:"1"},500)})):(jQuery(t).css({marginRight:0}),jQuery(e).imagesLoaded((function(){jQuery(e).masonry({gutter:a,itemSelector:t})})))}))},window.dslc_tabs_generate_code=function(e){var s=e.closest(".dslc-module-front");dslcTabsNav=jQuery(".dslc-tabs-nav",e),dslcTabsContent=jQuery(".dslc-tabs-content",e),dslcTabContent=jQuery(".dslc-tabs-tab-content",e);var t="",o="",a=0,c=0;jQuery(".dslc-tabs-nav-hook",dslcTabsNav).each((function(){++a>1&&(t+=" (dslc_sep) "),t+=jQuery(this).find(".dslc-tabs-nav-hook-title").text()})),dslcTabContent.each((function(){++c>1&&(o+=" (dslc_sep) "),o+=jQuery(this).find(".dslca-tab-plain-content").val()})),o=o.replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea"),jQuery('.dslca-module-option-front[data-id="tabs_nav"]',s).val(t),jQuery('.dslca-module-option-front[data-id="tabs_content"]',s).val(o),parent.LiveComposer.Builder.Actions.optionsChanged()},window.dslc_accordion_generate_code=function(e){var s=e.closest(".dslc-module-front"),t=0,o="",a="";jQuery(".dslc-accordion-item",e).each((function(){++t>1&&(o+=" (dslc_sep) ",a+=" (dslc_sep) "),o+=jQuery(this).find(".dslc-accordion-title").text(),a+=jQuery(this).find(".dslc-accordion-content").find(".dslca-accordion-plain-content").val()})),a=a.replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea"),jQuery('.dslca-module-option-front[data-id="accordion_nav"]',s).val(o),jQuery('.dslca-module-option-front[data-id="accordion_content"]',s).val(a),parent.LiveComposer.Builder.Actions.optionsChanged()},window.dslc_tabs=function(){var e,s;jQuery(".dslc-tabs").each((function(){e=jQuery(this),s=jQuery(".dslc-tabs-nav",e),jQuery(".dslc-tabs-content",e),jQuery(".dslc-tabs-tab-content",e).eq(0).addClass("dslc-active"),jQuery(".dslc-tabs-nav-hook",s).eq(0).addClass("dslc-active")}))},jQuery(document).on("click",".dslca-add-new-tab-hook",(function(e){return function(e){var s=jQuery(e.target).closest(".dslc-tabs"),t=jQuery(".dslc-tabs-nav .dslc-tabs-nav-hook:last",s),o=jQuery(".dslc-tabs-tab-content:last",s),a=jQuery(".dslc-tabs-nav .dslc-tabs-nav-hook",s).length;t.after('<span class="dslc-tabs-nav-hook"><span class="dslc-tabs-nav-hook-title" contenteditable="true">Click to edit title</span><span class="dslca-delete-tab-hook"><span class="dslca-icon dslc-icon-remove"></span></span></span>'),o.after('<div class="dslc-tabs-tab-content"><div class="dslca-editable-content" data-edit-id="'+a+'" data-id="'+a+'">This is just placeholder text.</div><textarea class="dslca-tab-plain-content" data-edit-id="'+a+'" data-id="'+a+'">This is just placeholder text.</textarea><div class="dslca-wysiwyg-actions-edit"><span class="dslca-wysiwyg-actions-edit-hook" data-event="wysiwyg-edit" data-id-to-edit="'+a+'">Open in WP Editor</span></div></div>'),jQuery(".dslc-tabs-nav-hook:last",s).click(),dslc_tabs_generate_code(s),jQuery(s[0]).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(s[0]).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")}(e)})),jQuery(document).on("click",".dslca-delete-tab-hook",(function(e){return function(e){console.log("dslc_on_tab_delete");var s=jQuery(e.target).closest(".dslc-tabs"),t=jQuery(e.target).closest(".dslc-tabs-nav-hook"),o=t.index(),a=jQuery(".dslc-tabs-tab-content",s).eq(o);jQuery(".dslc-tabs-nav .dslc-tabs-nav-hook",s).length>1&&(t.remove(),a.remove(),jQuery(".dslc-tabs-tab-content.dslc-active",s).length||jQuery(".dslc-tabs-nav-hook:first",s).trigger("click"),dslc_tabs_generate_code(s)),jQuery(s[0]).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(s[0]).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click"),e.stopPropagation()}(e)})),jQuery(document).on("click",".dslc-tabs-nav-hook",(function(e){return function(e){dslcTabs=jQuery(e.target).closest(".dslc-tabs"),dslcTabsNav=jQuery(".dslc-tabs-nav",dslcTabs),dslcTabsContent=jQuery(".dslc-tabs-content",dslcTabs),dslcTabContent=jQuery(".dslc-tabs-tab-content",dslcTabs),dslcTabIndex=jQuery(e.currentTarget).index(),jQuery(".dslc-tabs-nav-hook.dslc-active",dslcTabs).removeClass("dslc-active"),jQuery(e.currentTarget).addClass("dslc-active"),jQuery(".dslc-tabs-tab-content.dslc-active",dslcTabs).length?jQuery(".dslc-tabs-tab-content.dslc-active",dslcTabs).animate({opacity:0},250,(function(){jQuery(this).removeClass("dslc-active"),dslcTabContent.eq(dslcTabIndex).css({opacity:0}).addClass("dslc-active").show().animate({opacity:1},250)})):dslcTabContent.eq(dslcTabIndex).css({opacity:0}).addClass("dslc-active").show().animate({opacity:1},250)}(e)})),jQuery(document).on("blur paste",".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]",(function(e){dslc_tabs_generate_code(jQuery(this).closest(".dslc-tabs"))})).on("focus",".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]",(function(e){jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")})),window.dslc_download_count_increment=function(e){jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-download-count-increment",dslc_post_id:e},(function(e){}))},window.dslc_check_viewport=function(){!!document.documentMode?jQuery(".dslc-in-viewport-check").css("opacity",1):jQuery(".dslc-in-viewport-check:in-viewport:not(.dslc-in-viewport)").each((function(){var e=jQuery(this),s=e.data("dslc-anim"),t=parseInt(e.data("dslc-anim-duration"))/1e3+"s";jQuery(window).width()<768&&(t="0s");var o=parseInt(e.data("dslc-anim-delay")),a=s+" "+t+" "+e.data("dslc-anim-easing")+" forwards";jQuery(this).addClass("dslc-in-viewport"),o>0?setTimeout((function(){e.css({"-webkit-animation":a,"-moz-animation":a,animation:a})}),o):jQuery(this).css({"-webkit-animation":a,"-moz-animation":a,animation:a})}))},window.dslc_el_anim_hover=function(){jQuery(".dslc-on-hover-anim-target").each((function(){var e="all "+parseInt(jQuery(this).data("dslc-anim-speed"))/1e3+"s ease-out";jQuery(this).css({"-webkit-transition":e,"-moz-transition":e,transition:e})}))},window.dslc_check_progress_bar_viewport=function(){jQuery(".dslc-progress-bar-animated:in-viewport:not(.dslc-progress-bar-in-viewport)").each((function(){var e=jQuery(this),s=e.find(".dslc-progress-bar-loader-inner"),t=s.data("amount")+"%",o=s.data("speed");e.addClass("dslc-progress-bar-in-viewport"),s.css({width:0,opacity:1}).animate({width:t},o)}))},window.dslc_validate_comment_form=function(e){var s=e.find("#author"),t=e.find("#email"),o=(e.find("#url"),e.find("#comment")),a=!0;return s.length&&0==s.val().length?(s.css({borderColor:"#e55f5f"}),a=!1):s.attr("style",""),!t.length||0!=t.val().length&&-1!==t.val().indexOf("@")?t.attr("style",""):(t.css({borderColor:"#e55f5f"}),a=!1),0==o.val().length?(o.css({borderColor:"#e55f5f"}),a=!1):o.attr("style",""),a},window.dslc_social_share=function(e,s,t){var o,a,c="status=no,height="+s+",width="+e+",resizable=yes,left="+(o=window.screen.width/2-(e/2+10))+",top="+(a=window.screen.height/2-(s/2+50))+",screenX="+o+",screenY="+a+",toolbar=no,menubar=no,scrollbars=no,location=no,directories=no";return location.href,document.title,window.open(t,"sharer",c),!1},window.dslc_sticky_row=function(){if(jQuery("body .dslc-modules-section").hasClass("dslc-sticky-row")&&!jQuery("body").hasClass("dslca-enabled")){var e=jQuery("body .dslc-modules-section.dslc-sticky-row"),s=jQuery(".dslc-sticky-row");s.each((function(e,t){jQuery(s).eq(e).outerHeight();jQuery(t).wrap('<div class="dslc-modules-section-placeholder"></div>').parent().height(jQuery(t).outerHeight())}));(e=jQuery("body .dslc-modules-section.dslc-sticky-row")).offset().top;jQuery("#wpadminbar").length&&jQuery("#wpadminbar").height();var t=jQuery(".dslc-sticky-row");document.addEventListener("scroll",(function(s){var o=window.scrollY;(o<50||o%10==0)&&(o>=0?t.each((function(e,s){var a=jQuery(t).eq(e),c=a.offset().top,i=a.outerHeight();jQuery("#wpadminbar").length&&(c-=jQuery("#wpadminbar").height());var d=o<=s.exTop,n=c<=o,l="fixed",r=0;if(d)l="relative",r=0,s.isFixed=!1,s.classList.remove("dslc-sticky-section-fixed"),jQuery(s).closest(".dslc-modules-section-placeholder").height(jQuery(s).outerHeight());else if(n){if(l="fixed",0<e)for(var u=0;u<e;u++)r+=jQuery(t).eq(u).outerHeight();o+=i,s.isFixed||(s.isFixed=!0,s.exTop=c),jQuery("#wpadminbar").length&&(r+=32),s.classList.add("dslc-sticky-section-fixed"),jQuery(s).closest(".dslc-modules-section-placeholder").height(jQuery(s).outerHeight())}jQuery(s).css({position:l,top:r+"px"})})):(e.removeClass("dslc-sticky-section-fixed"),t.css({position:"relative",top:"0px"})))}),{capture:!1,passive:!0})}},jQuery(document).ready((function(e){var s,t,o,a,c;if(document.querySelector("meta[name=viewport]").setAttribute("content","width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"),dslc_el_anim_hover(),dslc_bg_video(),dslc_tabs(),jQuery(document).on("click",".dslc-pagination-load-more a",(function(e){if(e.preventDefault(),jQuery(this).parent().hasClass("dslc-active")){var s=jQuery(this),t=jQuery(this).closest(".dslc-module-front"),o=t.find(".dslc-pagination"),a=t.find(".dslc-posts-inner"),c=t.attr("id"),i=s.attr("href"),d=t.find(".dslc-load-more-temp");s.find(".dslc-icon").addClass("dslc-icon-spin"),d.load(i+" #"+c,(function(){a.append('<div class="dslc-post-separator"></div>'),a.append(d.find(".dslc-posts-inner").html()),t.find(".dslc-pagination").html(d.find(".dslc-pagination").html()),o.replaceWith(d.find(".dslc-pagination")),d.html(""),a.imagesLoaded((function(){t.find(".dslc-init-masonry").length&&t.find(".dslc-init-masonry .dslc-posts-inner").masonry("reloadItems").masonry()}))}))}})),jQuery(".dslc-tp-comment-form form").submit((function(e){dslc_validate_comment_form(jQuery(this))||e.preventDefault()})),jQuery(".dslc-mobile-navigation select").change((function(){window.location=jQuery(this).val()})),jQuery(document).on("click",".dslc-notification-close",(function(e){jQuery(this).closest(".dslc-notification").slideUp(200,(function(){jQuery(this).remove()}))})),jQuery(document).on("click",".dslc-post-filter",(function(){var e=jQuery(this),s=e.closest(".dslc-module-front").find(".dslc-posts"),t=e.closest(".dslc-module-front"),o=e.data("filter-id"),a=jQuery(),c=jQuery();"show-all"===o?(a=s.closest(".dslc-module-front").find(".dslc-post"),c=jQuery()):(a=s.closest(".dslc-module-front").find('.dslc-post[data-cats*="'+o+'"]'),c=s.closest(".dslc-module-front").find('.dslc-post:not([data-cats*="'+o+'"])')),e.removeClass("dslc-inactive").addClass("dslc-active").siblings(".dslc-active").removeClass("dslc-active").addClass("dslc-inactive"),s.hasClass("dslc-init-grid")?(a.stop().animate({opacity:1},300),c.stop().animate({opacity:.3},300)):(c.removeClass("dslc-masonry-item dslc-masonry-item-animate").css({visibility:"hidden"}),a.addClass("dslc-masonry-item dslc-masonry-item-animate").css({visibility:"visible"}).show(),dslc_masonry(t,!0))})),jQuery(document).on("click",".dslc-download-count-hook",(function(e){dslc_download_count_increment(jQuery(this).data("post-id"))})),jQuery(".dslc-notification-box-has-timeout").each((function(){var e=jQuery(this);nTimeout="none",moduleID=e.closest(".dslc-module-front").data("module-id"),cookieID="nBox"+moduleID,e.data("notification-timeout")&&null==Cookies.get(cookieID)&&e.show()})),jQuery(document).on("click",".dslc-notification-box-close",(function(){var e=jQuery(this).closest(".dslc-notification-box"),s="none",t="nBox"+e.closest(".dslc-module-front").data("module-id");e.data("notification-timeout")&&(s=e.data("notification-timeout")),"none"!==s&&Cookies.set(t,"closed",{expires:s}),e.animate({opacity:0},400,(function(){jQuery(this).remove()}))})),dslc_init_lightbox(),dslc_init_accordion(),jQuery(document).on("click",".dslc-accordion-hook",(function(){var e=jQuery(this).closest(".dslc-accordion-item"),s=e.siblings(".dslc-accordion-item");e.hasClass("dslc-active")?(jQuery("body").hasClass("dslca-enabled")||(e.find(".dslca-icon").hasClass("dslc-icon-minus")?e.find(".dslca-icon").removeClass("dslc-icon-minus").addClass("dslc-icon-plus"):e.find(".dslca-icon").removeClass("dslc-icon-plus").addClass("dslc-icon-minus")),s=e):(e.removeClass("dslc-inactive").addClass("dslc-active"),jQuery("body").hasClass("dslca-enabled")||(e.find(".dslca-icon").hasClass("dslc-icon-minus")?e.find(".dslca-icon").removeClass("dslc-icon-minus").addClass("dslc-icon-plus"):(e.find(".dslca-icon").removeClass("dslc-icon-plus").addClass("dslc-icon-minus"),s.find(".dslca-icon").removeClass("dslc-icon-minus").addClass("dslc-icon-plus")))),s.removeClass("dslc-active").addClass("dslc-inactive"),jQuery(".dslc-accordion-content",e).slideDown(300),jQuery(".dslc-accordion-content",s).slideUp(300)})),jQuery(document).on("click",".dslca-add-accordion-hook",(function(){var e=jQuery(this).closest(".dslc-accordion"),s=jQuery(".dslc-accordion-item:last",e),t=s.clone().insertAfter(s);numberOfTabs=jQuery(".dslc-accordion-item",e).length,jQuery(".dslc-accordion-title",t).html("CLICK TO EDIT"),jQuery(".dslc-accordion-content",t).html('<div class="dslca-editable-content" data-edit-id="'+numberOfTabs+'">Placeholder content, click to edit. Lorem ipsum dolor sit amet, consectetur tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div><textarea class="dslca-accordion-plain-content"></textarea><div class="dslca-wysiwyg-actions-edit"><span class="dslca-wysiwyg-actions-edit-hook" data-event="wysiwyg-edit" data-id-to-edit="'+numberOfTabs+'">Edit Content</span></div>'),jQuery(".dslc-accordion-hook",t).click(),dslc_accordion_generate_code(e),jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")})),jQuery(document).on("click",".dslca-delete-accordion-hook",(function(e){var s=jQuery(this).closest(".dslc-accordion"),t=jQuery(this).closest(".dslc-accordion-item");jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click"),jQuery(".dslc-accordion-item",s).length>1?(t.remove(),jQuery(".dslc-accordion-item.dslc-active",s).length||jQuery(".dslc-accordion-hook:first",s).trigger("click"),dslc_accordion_generate_code(s)):alert("You can not delete the last remaining accordion item."),e.stopPropagation()})),jQuery(document).on("click",".dslca-move-up-accordion-hook, .dslca-move-down-accordion-hook",(function(e){var s=jQuery(this).closest(".dslc-accordion"),t=jQuery(this).closest(".dslc-accordion-item"),o=t.next(".dslc-accordion-item"),a=t.prev(".dslc-accordion-item");jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click"),jQuery(this).hasClass("dslca-move-down-accordion-hook")?(t.insertAfter(o),dslc_accordion_generate_code(s)):(t.insertBefore(a),dslc_accordion_generate_code(s)),e.stopPropagation()})),jQuery(document).on("blur paste keyup",".dslc-accordion-title[contenteditable], .dslc-accordion-content[contenteditable]",(function(){dslc_accordion_generate_code(jQuery(this).closest(".dslc-accordion"))})).on("focus",".dslc-accordion-title[contenteditable], .dslc-accordion-content[contenteditable]",(function(){jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")||jQuery(this).closest(".dslc-module-front").find(".dslca-module-edit-hook").trigger("click")})),jQuery(document).on("click",".dslc-trigger-lightbox-gallery",(function(e){if(e.preventDefault(),jQuery(this).closest(".dslc-post").length)jQuery(this).closest(".dslc-post").find(".dslc-lightbox-gallery a:first-child").trigger("click");else if(jQuery(this).closest(".dslc-col")){var s=jQuery(this).closest(".dslc-col").index();jQuery(this).closest(".dslc-module-front").find(".dslc-lightbox-gallery a:eq("+s+")").trigger("click")}else jQuery(this).closest(".dslc-module-front").find(".dslc-lightbox-gallery a:first-child").trigger("click")})),jQuery("#dslc-header").hasClass("dslc-header-extra-padding")&&!jQuery("body").hasClass("dslca-enabled")){var i=jQuery("#dslc-header").height();jQuery("#dslc-main .dslc-modules-section:first-child").css({paddingTop:i})}(dslc_check_viewport(),dslc_check_progress_bar_viewport(),jQuery(document).on("scroll",(function(){dslc_check_viewport(),dslc_check_progress_bar_viewport()})),jQuery("#dslc-footer").hasClass("dslc-footer-pos-relative"))&&(s=jQuery("body").height(),t=jQuery("#dslc-footer"),o=jQuery(t).height(),a=jQuery("#dslc-content"),c="100vh",jQuery("#wpadminbar").length&&(c="96.7vh"),s<jQuery(window).height()&&(jQuery(t).css({position:"absolute",bottom:"0",width:"100%"}),jQuery(a).css({"min-height":c,"padding-bottom":o+"px"})))})),jQuery(document).ready((function(e){dslc_responsive_classes(),dslc_carousel(),dslc_masonry(),dslc_parallax(),dslc_init_lightbox(),window.dslc_sticky_row()})),jQuery(window).resize((function(){dslc_responsive_classes(),dslc_carousel_responsive()}))}});
2
  //# sourceMappingURL=client_frontend.min.js.map
js/dist/client_frontend.min.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"client_frontend.min.js","sources":["webpack:///client_frontend.min.js"],"sourcesContent":["!function(e){var s={};function t(o){if(s[o])return s[o].exports;var a=s[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,t),a.l=!0,a.exports}t.m=e,t.c=s,t.d=function(e,s,o){t.o(e,s)||Object.defineProperty(e,s,{enumerable:!0,get:o})},t.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},t.t=function(e,s){if(1&s&&(e=t(e)),8&s)return e;if(4&s&&\"object\"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,\"default\",{enumerable:!0,value:e}),2&s&&\"string\"!=typeof e)for(var a in e)t.d(o,a,function(s){return e[s]}.bind(null,a));return o},t.n=function(e){var s=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(s,\"a\",s),s},t.o=function(e,s){return Object.prototype.hasOwnProperty.call(e,s)},t.p=\"\",t(t.s=2)}({2:function(e,s,t){window.dslc_responsive_classes=function(e){void 0===e&&(e=!1);var s=jQuery(window).width(),t=jQuery(\"body\");1!=e&&(t.hasClass(\"dslc-res-disabled\")||jQuery('.dslca-module-edit-options-tab-hook.dslca-active[data-section=\"responsive\"]').length)||(t.removeClass(\"dslc-res-phone dslc-res-tablet dslc-res-smaller-monitor dslc-res-big\"),s>=1024&&s<1280?t.addClass(\"dslc-res-smaller-monitor\"):s>=768&&s<1024?t.addClass(\"dslc-res-tablet\"):s<768?t.addClass(\"dslc-res-phone\"):t.addClass(\"dslc-res-big\"))},window.dslc_init_accordion=function(){jQuery(\".dslc-accordion\").each((function(){var e=jQuery(this),s=e.data(\"open\")-1,t=jQuery(\".dslc-accordion-item:eq(\"+s+\")\",e),o=t.siblings(\".dslc-accordion-item\"),a=jQuery(\".dslc-accordion-item\",e);s>=0?(t.addClass(\"dslc-active\"),o.addClass(\"dslc-inactive\"),jQuery(\".dslc-accordion-content\",o).hide(),jQuery(\"body\").hasClass(\"dslca-enabled\")||o.find(\".dslca-icon\").removeClass(\"dslc-icon-minus\").addClass(\"dslc-icon-plus\")):(a.addClass(\"dslc-inactive\"),jQuery(\".dslc-accordion-content\",a).hide(),jQuery(\"body\").hasClass(\"dslca-enabled\")||a.find(\".dslca-icon\").removeClass(\"dslc-icon-minus\").addClass(\"dslc-icon-plus\"))}))},window.dslc_init_lightbox=function(){var e;jQuery(\".dslc-lightbox-image\").each((function(){e=\"image\",(jQuery(this).attr(\"href\").indexOf(\"youtube.com\")>=0||jQuery(this).attr(\"href\").indexOf(\"vimeo.com\")>=0)&&(e=\"iframe\"),jQuery(this).magnificPopup({type:e})})),jQuery(\".dslc-lightbox-gallery\").each((function(){jQuery(this).magnificPopup({delegate:\"a\",type:\"image\",gallery:{enabled:!0},image:{titleSrc:function(e){var s=\"\";return void 0!==e.el.attr(\"data-caption\")&&(s=\"<small>\"+e.el.attr(\"data-caption\")+\"</small>\"),e.el.attr(\"title\")+s}}})}))},window.dslc_carousel=function(){jQuery(\".dslc-carousel, .dslc-slider\").each((function(e){var s,t,o,a,c;s=jQuery(this),(t=s.closest(\".dslc-module-front\")).imagesLoaded((function(){if(t.closest(\".dslc-modules-section\").hasClass(\"dslc-no-columns-spacing\"))var e=0;else e=t.width()/100*2.12766/2;s.hasClass(\"dslc-carousel\")&&(s.find(\".dslc-col\").css({\"margin-left\":e,\"margin-right\":e}),s.css({\"margin-left\":-1*e,width:s.width()+2*e})),o={items:4,pagination:!0,singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:!1,stopOnHover:!1,lazyLoad:!1,lazyFollow:!0,autoHeight:!1,mouseDrag:!0,touchDrag:!0,addClassActive:!0,transitionStyle:\"fade\",scrollPerPage:!0},a={items:s.data(\"columns\"),pagination:s.data(\"pagination\"),itemsScaleUp:s.data(\"scale-up\"),slideSpeed:s.data(\"slide-speed\"),paginationSpeed:s.data(\"pagination-speed\"),rewindSpeed:s.data(\"rewind-speed\"),autoPlay:s.data(\"autoplay\"),stopOnHover:s.data(\"stop-on-hover\"),lazyLoad:s.data(\"lazy-load\"),lazyFollow:s.data(\"lazy-follow\"),autoHeight:s.data(\"flexible-height\"),mouseDrag:s.data(\"mouse-drag\"),touchDrag:s.data(\"touch-drag\"),addClassActive:s.data(\"active-class\"),transitionStyle:s.data(\"animation\"),scrollPerPage:s.data(\"scroll-per-page\")},c=jQuery.extend({},o,a),(s.hasClass(\"dslc-slider\")||1==c.items)&&(c.singleItem=!0),0==c.autoPlay&&(c.autoPlay=!1),s.owlCarousel({items:c.items,pagination:c.pagination,singleItem:c.singleItem,itemsScaleUp:c.itemsScaleUp,slideSpeed:c.slideSpeed,paginationSpeed:c.paginationSpeed,rewindSpeed:c.rewindSpeed,autoPlay:c.autoPlay,stopOnHover:c.stopOnHover,lazyLoad:c.lazyLoad,lazyFollow:c.lazyFollow,mouseDrag:c.mouseDrag,touchDrag:c.touchDrag,scrollPerPage:c.scrollPerPage,transitionStyle:c.transitionStyle,autoHeight:c.autoHeight,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsMobile:[766,1],afterInit:function(){s.prev(\".dslc-loader\").remove(),s.css({opacity:1,maxHeight:\"none\"})},afterAction:function(){var e=this.owl.visibleItems;s.find(\".dslc-carousel-item-visible\").removeClass(\"dslc-carousel-item-visible\"),s.find(\".owl-item\").filter((function(s){return e.indexOf(s)>-1})).addClass(\"dslc-carousel-item-visible\")}}),jQuery(\".dslc-carousel-nav-next\",t).click((function(e){e.preventDefault(),s.data(\"owlCarousel\").next()})),jQuery(\".dslc-carousel-nav-prev\",t).click((function(e){e.preventDefault(),s.data(\"owlCarousel\").prev()}))}))}))},window.dslc_carousel_responsive=function(){jQuery(\".dslc-carousel\").each((function(){var e,s;if(s=(e=jQuery(this)).closest(\".dslc-module-front\"),e.css({\"margin-left\":0,width:\"auto\"}),s.closest(\".dslc-modules-section\").hasClass(\"dslc-no-columns-spacing\"))var t=0;else t=s.width()/100*2.12766/2;e.hasClass(\"dslc-carousel\")&&(e.find(\".dslc-col\").css({\"margin-left\":t,\"margin-right\":t}),e.css({\"margin-left\":-1*t,width:e.width()+2*t}))}))},window.dslc_bg_video=function(){jQuery(\".dslc-bg-video\").each((function(){jQuery(this).find(\"video\").length||jQuery(this).css({opacity:1})})),jQuery(\".dslc-bg-video video\").mediaelementplayer({loop:!0,pauseOtherPlayers:!1,success:function(e,s){e.addEventListener(\"loadeddata\",(function(e){jQuery(s).closest(\".dslc-bg-video\").animate({opacity:1},400)})),e.play()}})},window.dslc_parallax=function(){jQuery(\".dslc-init-parallax\").each((function(){var e=jQuery(this);e.imagesLoaded({background:!0},(function(){var s=e.css(\"background-position\").split(\" \")[0]+\" \"+-1*(window.pageYOffset-e.offset().top)/4+\"px\";e.css({backgroundPosition:s})}))})),window.onscroll=function(){jQuery(\".dslc-init-parallax\").each((function(){var e=jQuery(this).css(\"background-position\").split(\" \")[0]+\" \"+-1*(window.pageYOffset-jQuery(this).offset().top)/4+\"px\";jQuery(this).css({backgroundPosition:e})}))}},window.dslc_masonry=function(e,s){e=void 0!==e?e:jQuery(\"body\"),s=void 0!==s&&s,jQuery(\".dslc-init-masonry\",e).each((function(){var e,t,o,a;e=jQuery(this).find(\".dslc-posts-inner\").length?jQuery(this).find(\".dslc-posts-inner\"):jQuery(this),t=\".dslc-masonry-item\",jQuery(t,e).width(),o=jQuery(e).width(),a=jQuery(this).closest(\".dslc-modules-section\").hasClass(\"dslc-no-columns-spacing\")?0:o/100*2.05,e.data(\"masonry\")?jQuery(e).imagesLoaded((function(){jQuery(e).masonry(\"destroy\").masonry({gutter:a,itemSelector:t}),jQuery(e).find(\".dslc-post:not(.dslc-masonry-item)\").hide(),s&&jQuery(t,e).css({scale:\"0.2\"}).animate({scale:\"1\"},500)})):(jQuery(t).css({marginRight:0}),jQuery(e).imagesLoaded((function(){jQuery(e).masonry({gutter:a,itemSelector:t})})))}))},window.dslc_tabs_generate_code=function(e){var s=e.closest(\".dslc-module-front\");dslcTabsNav=jQuery(\".dslc-tabs-nav\",e),dslcTabsContent=jQuery(\".dslc-tabs-content\",e),dslcTabContent=jQuery(\".dslc-tabs-tab-content\",e);var t=\"\",o=\"\",a=0,c=0;jQuery(\".dslc-tabs-nav-hook\",dslcTabsNav).each((function(){++a>1&&(t+=\" (dslc_sep) \"),t+=jQuery(this).find(\".dslc-tabs-nav-hook-title\").text()})),dslcTabContent.each((function(){++c>1&&(o+=\" (dslc_sep) \"),o+=jQuery(this).find(\".dslca-tab-plain-content\").val()})),o=o.replace(/<textarea/g,\"<lctextarea\").replace(/<\\/textarea/g,\"</lctextarea\"),jQuery('.dslca-module-option-front[data-id=\"tabs_nav\"]',s).val(t),jQuery('.dslca-module-option-front[data-id=\"tabs_content\"]',s).val(o),parent.LiveComposer.Builder.Actions.optionsChanged()},window.dslc_accordion_generate_code=function(e){var s=e.closest(\".dslc-module-front\"),t=0,o=\"\",a=\"\";jQuery(\".dslc-accordion-item\",e).each((function(){++t>1&&(o+=\" (dslc_sep) \",a+=\" (dslc_sep) \"),o+=jQuery(this).find(\".dslc-accordion-title\").text(),a+=jQuery(this).find(\".dslc-accordion-content\").find(\".dslca-accordion-plain-content\").val()})),a=a.replace(/<textarea/g,\"<lctextarea\").replace(/<\\/textarea/g,\"</lctextarea\"),jQuery('.dslca-module-option-front[data-id=\"accordion_nav\"]',s).val(o),jQuery('.dslca-module-option-front[data-id=\"accordion_content\"]',s).val(a),parent.LiveComposer.Builder.Actions.optionsChanged()},window.dslc_tabs=function(){var e,s;jQuery(\".dslc-tabs\").each((function(){e=jQuery(this),s=jQuery(\".dslc-tabs-nav\",e),jQuery(\".dslc-tabs-content\",e),jQuery(\".dslc-tabs-tab-content\",e).eq(0).addClass(\"dslc-active\"),jQuery(\".dslc-tabs-nav-hook\",s).eq(0).addClass(\"dslc-active\")}))},jQuery(document).on(\"click\",\".dslca-add-new-tab-hook\",(function(e){return function(e){var s=jQuery(e.target).closest(\".dslc-tabs\"),t=jQuery(\".dslc-tabs-nav .dslc-tabs-nav-hook:last\",s),o=jQuery(\".dslc-tabs-tab-content:last\",s),a=jQuery(\".dslc-tabs-nav .dslc-tabs-nav-hook\",s).length;t.after('<span class=\"dslc-tabs-nav-hook\"><span class=\"dslc-tabs-nav-hook-title\" contenteditable=\"true\">Click to edit title</span><span class=\"dslca-delete-tab-hook\"><span class=\"dslca-icon dslc-icon-remove\"></span></span></span>'),o.after('<div class=\"dslc-tabs-tab-content\"><div class=\"dslca-editable-content\" data-edit-id=\"'+a+'\" data-id=\"'+a+'\">This is just placeholder text.</div><textarea class=\"dslca-tab-plain-content\" data-edit-id=\"'+a+'\" data-id=\"'+a+'\">This is just placeholder text.</textarea><div class=\"dslca-wysiwyg-actions-edit\"><span class=\"dslca-wysiwyg-actions-edit-hook\" data-event=\"wysiwyg-edit\" data-id-to-edit=\"'+a+'\">Open in WP Editor</span></div></div>'),jQuery(\".dslc-tabs-nav-hook:last\",s).click(),dslc_tabs_generate_code(s),jQuery(s[0]).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(s[0]).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\")}(e)})),jQuery(document).on(\"click\",\".dslca-delete-tab-hook\",(function(e){return function(e){console.log(\"dslc_on_tab_delete\");var s=jQuery(e.target).closest(\".dslc-tabs\"),t=jQuery(e.target).closest(\".dslc-tabs-nav-hook\"),o=t.index(),a=jQuery(\".dslc-tabs-tab-content\",s).eq(o);jQuery(\".dslc-tabs-nav .dslc-tabs-nav-hook\",s).length>1&&(t.remove(),a.remove(),jQuery(\".dslc-tabs-tab-content.dslc-active\",s).length||jQuery(\".dslc-tabs-nav-hook:first\",s).trigger(\"click\"),dslc_tabs_generate_code(s)),jQuery(s[0]).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(s[0]).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\"),e.stopPropagation()}(e)})),jQuery(document).on(\"click\",\".dslc-tabs-nav-hook\",(function(e){return function(e){dslcTabs=jQuery(e.target).closest(\".dslc-tabs\"),dslcTabsNav=jQuery(\".dslc-tabs-nav\",dslcTabs),dslcTabsContent=jQuery(\".dslc-tabs-content\",dslcTabs),dslcTabContent=jQuery(\".dslc-tabs-tab-content\",dslcTabs),dslcTabIndex=jQuery(e.currentTarget).index(),jQuery(\".dslc-tabs-nav-hook.dslc-active\",dslcTabs).removeClass(\"dslc-active\"),jQuery(e.currentTarget).addClass(\"dslc-active\"),jQuery(\".dslc-tabs-tab-content.dslc-active\",dslcTabs).length?jQuery(\".dslc-tabs-tab-content.dslc-active\",dslcTabs).animate({opacity:0},250,(function(){jQuery(this).removeClass(\"dslc-active\"),dslcTabContent.eq(dslcTabIndex).css({opacity:0}).addClass(\"dslc-active\").show().animate({opacity:1},250)})):dslcTabContent.eq(dslcTabIndex).css({opacity:0}).addClass(\"dslc-active\").show().animate({opacity:1},250)}(e)})),jQuery(document).on(\"blur paste\",\".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]\",(function(e){dslc_tabs_generate_code(jQuery(this).closest(\".dslc-tabs\"))})).on(\"focus\",\".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]\",(function(e){jQuery(this).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(this).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\")})),window.dslc_download_count_increment=function(e){jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-download-count-increment\",dslc_post_id:e},(function(e){}))},window.dslc_check_viewport=function(){!!document.documentMode?jQuery(\".dslc-in-viewport-check\").css(\"opacity\",1):jQuery(\".dslc-in-viewport-check:in-viewport:not(.dslc-in-viewport)\").each((function(){var e=jQuery(this),s=e.data(\"dslc-anim\"),t=parseInt(e.data(\"dslc-anim-duration\"))/1e3+\"s\";jQuery(window).width()<768&&(t=\"0s\");var o=parseInt(e.data(\"dslc-anim-delay\")),a=s+\" \"+t+\" \"+e.data(\"dslc-anim-easing\")+\" forwards\";jQuery(this).addClass(\"dslc-in-viewport\"),o>0?setTimeout((function(){e.css({\"-webkit-animation\":a,\"-moz-animation\":a,animation:a})}),o):jQuery(this).css({\"-webkit-animation\":a,\"-moz-animation\":a,animation:a})}))},window.dslc_el_anim_hover=function(){jQuery(\".dslc-on-hover-anim-target\").each((function(){var e=\"all \"+parseInt(jQuery(this).data(\"dslc-anim-speed\"))/1e3+\"s ease-out\";jQuery(this).css({\"-webkit-transition\":e,\"-moz-transition\":e,transition:e})}))},window.dslc_check_progress_bar_viewport=function(){jQuery(\".dslc-progress-bar-animated:in-viewport:not(.dslc-progress-bar-in-viewport)\").each((function(){var e=jQuery(this),s=e.find(\".dslc-progress-bar-loader-inner\"),t=s.data(\"amount\")+\"%\",o=s.data(\"speed\");e.addClass(\"dslc-progress-bar-in-viewport\"),s.css({width:0,opacity:1}).animate({width:t},o)}))},window.dslc_validate_comment_form=function(e){var s=e.find(\"#author\"),t=e.find(\"#email\"),o=(e.find(\"#url\"),e.find(\"#comment\")),a=!0;return s.length&&0==s.val().length?(s.css({borderColor:\"#e55f5f\"}),a=!1):s.attr(\"style\",\"\"),!t.length||0!=t.val().length&&-1!==t.val().indexOf(\"@\")?t.attr(\"style\",\"\"):(t.css({borderColor:\"#e55f5f\"}),a=!1),0==o.val().length?(o.css({borderColor:\"#e55f5f\"}),a=!1):o.attr(\"style\",\"\"),a},window.dslc_social_share=function(e,s,t){var o,a,c=\"status=no,height=\"+s+\",width=\"+e+\",resizable=yes,left=\"+(o=window.screen.width/2-(e/2+10))+\",top=\"+(a=window.screen.height/2-(s/2+50))+\",screenX=\"+o+\",screenY=\"+a+\",toolbar=no,menubar=no,scrollbars=no,location=no,directories=no\";return location.href,document.title,window.open(t,\"sharer\",c),!1},window.dslc_sticky_row=function(){if(jQuery(\"body .dslc-modules-section\").hasClass(\"dslc-sticky-row\")&&!jQuery(\"body\").hasClass(\"dslca-enabled\")){var e=jQuery(\"body .dslc-modules-section.dslc-sticky-row\"),s=jQuery(\".dslc-sticky-row\");s.each((function(e,t){jQuery(s).eq(e).outerHeight();jQuery(t).wrap('<div class=\"dslc-modules-section-placeholder\"></div>').parent().height(jQuery(t).outerHeight())}));(e=jQuery(\"body .dslc-modules-section.dslc-sticky-row\")).offset().top;jQuery(\"#wpadminbar\").length&&jQuery(\"#wpadminbar\").height(),jQuery(window).scroll((function(){var s=jQuery(\".dslc-sticky-row\"),t=jQuery(this).scrollTop();t>=0?s.each((function(e,o){var a=jQuery(s).eq(e),c=a.offset().top,i=a.outerHeight();jQuery(\"#wpadminbar\").length&&(c-=jQuery(\"#wpadminbar\").height());var n=o.isFixed&&t<=o.exTop,d=c<=t,l=\"\",r=0;if(n)positon=\"relative\",r=0,o.isFixed=!1,o.classList.remove(\"dslc-sticky-section-fixed\"),jQuery(o).closest(\".dslc-modules-section-placeholder\").height(jQuery(o).outerHeight());else if(d){if(l=\"fixed\",0<e)for(var u=0;u<e;u++)r+=jQuery(s).eq(u).outerHeight();t+=i,o.isFixed||(o.isFixed=!0,o.exTop=c),jQuery(\"#wpadminbar\").length&&(r+=32),o.classList.add(\"dslc-sticky-section-fixed\"),jQuery(o).closest(\".dslc-modules-section-placeholder\").height(jQuery(o).outerHeight())}jQuery(o).css({position:l,top:r+\"px\"})})):(e.removeClass(\"dslc-sticky-section-fixed\"),s.css({position:\"relative\",top:\"0px\"}))}))}},jQuery(document).ready((function(e){var s,t,o,a,c;if(document.querySelector(\"meta[name=viewport]\").setAttribute(\"content\",\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0\"),dslc_el_anim_hover(),dslc_bg_video(),dslc_tabs(),jQuery(document).on(\"click\",\".dslc-pagination-load-more a\",(function(e){if(e.preventDefault(),jQuery(this).parent().hasClass(\"dslc-active\")){var s=jQuery(this),t=jQuery(this).closest(\".dslc-module-front\"),o=t.find(\".dslc-pagination\"),a=t.find(\".dslc-posts-inner\"),c=t.attr(\"id\"),i=s.attr(\"href\"),n=t.find(\".dslc-load-more-temp\");s.find(\".dslc-icon\").addClass(\"dslc-icon-spin\"),n.load(i+\" #\"+c,(function(){a.append('<div class=\"dslc-post-separator\"></div>'),a.append(n.find(\".dslc-posts-inner\").html()),t.find(\".dslc-pagination\").html(n.find(\".dslc-pagination\").html()),o.replaceWith(n.find(\".dslc-pagination\")),n.html(\"\"),a.imagesLoaded((function(){t.find(\".dslc-init-masonry\").length&&t.find(\".dslc-init-masonry .dslc-posts-inner\").masonry(\"reloadItems\").masonry()}))}))}})),jQuery(\".dslc-tp-comment-form form\").submit((function(e){dslc_validate_comment_form(jQuery(this))||e.preventDefault()})),jQuery(\".dslc-mobile-navigation select\").change((function(){window.location=jQuery(this).val()})),jQuery(document).on(\"click\",\".dslc-notification-close\",(function(e){jQuery(this).closest(\".dslc-notification\").slideUp(200,(function(){jQuery(this).remove()}))})),jQuery(document).on(\"click\",\".dslc-post-filter\",(function(){var e=jQuery(this),s=e.closest(\".dslc-module-front\").find(\".dslc-posts\"),t=e.closest(\".dslc-module-front\"),o=e.data(\"filter-id\"),a=jQuery(),c=jQuery();\"show-all\"===o?(a=s.closest(\".dslc-module-front\").find(\".dslc-post\"),c=jQuery()):(a=s.closest(\".dslc-module-front\").find('.dslc-post[data-cats*=\"'+o+'\"]'),c=s.closest(\".dslc-module-front\").find('.dslc-post:not([data-cats*=\"'+o+'\"])')),e.removeClass(\"dslc-inactive\").addClass(\"dslc-active\").siblings(\".dslc-active\").removeClass(\"dslc-active\").addClass(\"dslc-inactive\"),s.hasClass(\"dslc-init-grid\")?(a.stop().animate({opacity:1},300),c.stop().animate({opacity:.3},300)):(c.removeClass(\"dslc-masonry-item dslc-masonry-item-animate\").css({visibility:\"hidden\"}),a.addClass(\"dslc-masonry-item dslc-masonry-item-animate\").css({visibility:\"visible\"}).show(),dslc_masonry(t,!0))})),jQuery(document).on(\"click\",\".dslc-download-count-hook\",(function(e){dslc_download_count_increment(jQuery(this).data(\"post-id\"))})),jQuery(\".dslc-notification-box-has-timeout\").each((function(){var e=jQuery(this);nTimeout=\"none\",moduleID=e.closest(\".dslc-module-front\").data(\"module-id\"),cookieID=\"nBox\"+moduleID,e.data(\"notification-timeout\")&&null==Cookies.get(cookieID)&&e.show()})),jQuery(document).on(\"click\",\".dslc-notification-box-close\",(function(){var e=jQuery(this).closest(\".dslc-notification-box\"),s=\"none\",t=\"nBox\"+e.closest(\".dslc-module-front\").data(\"module-id\");e.data(\"notification-timeout\")&&(s=e.data(\"notification-timeout\")),\"none\"!==s&&Cookies.set(t,\"closed\",{expires:s}),e.animate({opacity:0},400,(function(){jQuery(this).remove()}))})),dslc_init_lightbox(),dslc_init_accordion(),jQuery(document).on(\"click\",\".dslc-accordion-hook\",(function(){var e=jQuery(this).closest(\".dslc-accordion-item\"),s=e.siblings(\".dslc-accordion-item\");e.hasClass(\"dslc-active\")?(jQuery(\"body\").hasClass(\"dslca-enabled\")||(e.find(\".dslca-icon\").hasClass(\"dslc-icon-minus\")?e.find(\".dslca-icon\").removeClass(\"dslc-icon-minus\").addClass(\"dslc-icon-plus\"):e.find(\".dslca-icon\").removeClass(\"dslc-icon-plus\").addClass(\"dslc-icon-minus\")),s=e):(e.removeClass(\"dslc-inactive\").addClass(\"dslc-active\"),jQuery(\"body\").hasClass(\"dslca-enabled\")||(e.find(\".dslca-icon\").hasClass(\"dslc-icon-minus\")?e.find(\".dslca-icon\").removeClass(\"dslc-icon-minus\").addClass(\"dslc-icon-plus\"):(e.find(\".dslca-icon\").removeClass(\"dslc-icon-plus\").addClass(\"dslc-icon-minus\"),s.find(\".dslca-icon\").removeClass(\"dslc-icon-minus\").addClass(\"dslc-icon-plus\")))),s.removeClass(\"dslc-active\").addClass(\"dslc-inactive\"),jQuery(\".dslc-accordion-content\",e).slideDown(300),jQuery(\".dslc-accordion-content\",s).slideUp(300)})),jQuery(document).on(\"click\",\".dslca-add-accordion-hook\",(function(){var e=jQuery(this).closest(\".dslc-accordion\"),s=jQuery(\".dslc-accordion-item:last\",e),t=s.clone().insertAfter(s);numberOfTabs=jQuery(\".dslc-accordion-item\",e).length,jQuery(\".dslc-accordion-title\",t).html(\"CLICK TO EDIT\"),jQuery(\".dslc-accordion-content\",t).html('<div class=\"dslca-editable-content\" data-edit-id=\"'+numberOfTabs+'\">Placeholder content, click to edit. Lorem ipsum dolor sit amet, consectetur tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div><textarea class=\"dslca-accordion-plain-content\"></textarea><div class=\"dslca-wysiwyg-actions-edit\"><span class=\"dslca-wysiwyg-actions-edit-hook\" data-event=\"wysiwyg-edit\" data-id-to-edit=\"'+numberOfTabs+'\">Edit Content</span></div>'),jQuery(\".dslc-accordion-hook\",t).click(),dslc_accordion_generate_code(e),jQuery(this).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(this).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\")})),jQuery(document).on(\"click\",\".dslca-delete-accordion-hook\",(function(e){var s=jQuery(this).closest(\".dslc-accordion\"),t=jQuery(this).closest(\".dslc-accordion-item\");jQuery(this).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(this).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\"),jQuery(\".dslc-accordion-item\",s).length>1?(t.remove(),jQuery(\".dslc-accordion-item.dslc-active\",s).length||jQuery(\".dslc-accordion-hook:first\",s).trigger(\"click\"),dslc_accordion_generate_code(s)):alert(\"You can not delete the last remaining accordion item.\"),e.stopPropagation()})),jQuery(document).on(\"click\",\".dslca-move-up-accordion-hook, .dslca-move-down-accordion-hook\",(function(e){var s=jQuery(this).closest(\".dslc-accordion\"),t=jQuery(this).closest(\".dslc-accordion-item\"),o=t.next(\".dslc-accordion-item\"),a=t.prev(\".dslc-accordion-item\");jQuery(this).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(this).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\"),jQuery(this).hasClass(\"dslca-move-down-accordion-hook\")?(t.insertAfter(o),dslc_accordion_generate_code(s)):(t.insertBefore(a),dslc_accordion_generate_code(s)),e.stopPropagation()})),jQuery(document).on(\"blur paste keyup\",\".dslc-accordion-title[contenteditable], .dslc-accordion-content[contenteditable]\",(function(){dslc_accordion_generate_code(jQuery(this).closest(\".dslc-accordion\"))})).on(\"focus\",\".dslc-accordion-title[contenteditable], .dslc-accordion-content[contenteditable]\",(function(){jQuery(this).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(this).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\")})),jQuery(document).on(\"click\",\".dslc-trigger-lightbox-gallery\",(function(e){if(e.preventDefault(),jQuery(this).closest(\".dslc-post\").length)jQuery(this).closest(\".dslc-post\").find(\".dslc-lightbox-gallery a:first-child\").trigger(\"click\");else if(jQuery(this).closest(\".dslc-col\")){var s=jQuery(this).closest(\".dslc-col\").index();jQuery(this).closest(\".dslc-module-front\").find(\".dslc-lightbox-gallery a:eq(\"+s+\")\").trigger(\"click\")}else jQuery(this).closest(\".dslc-module-front\").find(\".dslc-lightbox-gallery a:first-child\").trigger(\"click\")})),jQuery(\"#dslc-header\").hasClass(\"dslc-header-extra-padding\")&&!jQuery(\"body\").hasClass(\"dslca-enabled\")){var i=jQuery(\"#dslc-header\").height();jQuery(\"#dslc-main .dslc-modules-section:first-child\").css({paddingTop:i})}(dslc_check_viewport(),dslc_check_progress_bar_viewport(),jQuery(document).on(\"scroll\",(function(){dslc_check_viewport(),dslc_check_progress_bar_viewport()})),jQuery(\"#dslc-footer\").hasClass(\"dslc-footer-pos-relative\"))&&(s=jQuery(\"body\").height(),t=jQuery(\"#dslc-footer\"),o=jQuery(t).height(),a=jQuery(\"#dslc-content\"),c=\"100vh\",jQuery(\"#wpadminbar\").length&&(c=\"96.7vh\"),s<jQuery(window).height()&&(jQuery(t).css({position:\"absolute\",bottom:\"0\",width:\"100%\"}),jQuery(a).css({\"min-height\":c,\"padding-bottom\":o+\"px\"})))})),jQuery(document).ready((function(e){dslc_responsive_classes(),dslc_carousel(),dslc_masonry(),dslc_parallax(),dslc_init_lightbox(),dslc_sticky_row()})),jQuery(window).resize((function(){dslc_responsive_classes(),dslc_carousel_responsive()}))}});"],"mappings":"AAAA","sourceRoot":""}
1
+ {"version":3,"file":"client_frontend.min.js","sources":["webpack:///client_frontend.min.js"],"sourcesContent":["!function(e){var s={};function t(o){if(s[o])return s[o].exports;var a=s[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,t),a.l=!0,a.exports}t.m=e,t.c=s,t.d=function(e,s,o){t.o(e,s)||Object.defineProperty(e,s,{enumerable:!0,get:o})},t.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},t.t=function(e,s){if(1&s&&(e=t(e)),8&s)return e;if(4&s&&\"object\"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,\"default\",{enumerable:!0,value:e}),2&s&&\"string\"!=typeof e)for(var a in e)t.d(o,a,function(s){return e[s]}.bind(null,a));return o},t.n=function(e){var s=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(s,\"a\",s),s},t.o=function(e,s){return Object.prototype.hasOwnProperty.call(e,s)},t.p=\"\",t(t.s=2)}({2:function(e,s,t){window.dslc_responsive_classes=function(e){void 0===e&&(e=!1);var s=jQuery(window).width(),t=jQuery(\"body\");1!=e&&(t.hasClass(\"dslc-res-disabled\")||jQuery('.dslca-module-edit-options-tab-hook.dslca-active[data-section=\"responsive\"]').length)||(t.removeClass(\"dslc-res-phone dslc-res-tablet dslc-res-smaller-monitor dslc-res-big\"),s>=1024&&s<1280?t.addClass(\"dslc-res-smaller-monitor\"):s>=768&&s<1024?t.addClass(\"dslc-res-tablet\"):s<768?t.addClass(\"dslc-res-phone\"):t.addClass(\"dslc-res-big\"))},window.dslc_init_accordion=function(){jQuery(\".dslc-accordion\").each((function(){var e=jQuery(this),s=e.data(\"open\")-1,t=jQuery(\".dslc-accordion-item:eq(\"+s+\")\",e),o=t.siblings(\".dslc-accordion-item\"),a=jQuery(\".dslc-accordion-item\",e);s>=0?(t.addClass(\"dslc-active\"),o.addClass(\"dslc-inactive\"),jQuery(\".dslc-accordion-content\",o).hide(),jQuery(\"body\").hasClass(\"dslca-enabled\")||o.find(\".dslca-icon\").removeClass(\"dslc-icon-minus\").addClass(\"dslc-icon-plus\")):(a.addClass(\"dslc-inactive\"),jQuery(\".dslc-accordion-content\",a).hide(),jQuery(\"body\").hasClass(\"dslca-enabled\")||a.find(\".dslca-icon\").removeClass(\"dslc-icon-minus\").addClass(\"dslc-icon-plus\"))}))},window.dslc_init_lightbox=function(){var e;jQuery(\".dslc-lightbox-image\").each((function(){e=\"image\",(jQuery(this).attr(\"href\").indexOf(\"youtube.com\")>=0||jQuery(this).attr(\"href\").indexOf(\"vimeo.com\")>=0)&&(e=\"iframe\"),jQuery(this).magnificPopup({type:e})})),jQuery(\".dslc-lightbox-gallery\").each((function(){jQuery(this).magnificPopup({delegate:\"a\",type:\"image\",gallery:{enabled:!0},image:{titleSrc:function(e){var s=\"\";return void 0!==e.el.attr(\"data-caption\")&&(s=\"<small>\"+e.el.attr(\"data-caption\")+\"</small>\"),e.el.attr(\"title\")+s}}})}))},window.dslc_carousel=function(){jQuery(\".dslc-carousel, .dslc-slider\").each((function(e){var s,t,o,a,c;s=jQuery(this),(t=s.closest(\".dslc-module-front\")).imagesLoaded((function(){if(t.closest(\".dslc-modules-section\").hasClass(\"dslc-no-columns-spacing\"))var e=0;else e=t.width()/100*2.12766/2;s.hasClass(\"dslc-carousel\")&&(s.find(\".dslc-col\").css({\"margin-left\":e,\"margin-right\":e}),s.css({\"margin-left\":-1*e,width:s.width()+2*e})),o={items:4,pagination:!0,singleItem:!1,itemsScaleUp:!1,slideSpeed:200,paginationSpeed:800,rewindSpeed:1e3,autoPlay:!1,stopOnHover:!1,lazyLoad:!1,lazyFollow:!0,autoHeight:!1,mouseDrag:!0,touchDrag:!0,addClassActive:!0,transitionStyle:\"fade\",scrollPerPage:!0},a={items:s.data(\"columns\"),pagination:s.data(\"pagination\"),itemsScaleUp:s.data(\"scale-up\"),slideSpeed:s.data(\"slide-speed\"),paginationSpeed:s.data(\"pagination-speed\"),rewindSpeed:s.data(\"rewind-speed\"),autoPlay:s.data(\"autoplay\"),stopOnHover:s.data(\"stop-on-hover\"),lazyLoad:s.data(\"lazy-load\"),lazyFollow:s.data(\"lazy-follow\"),autoHeight:s.data(\"flexible-height\"),mouseDrag:s.data(\"mouse-drag\"),touchDrag:s.data(\"touch-drag\"),addClassActive:s.data(\"active-class\"),transitionStyle:s.data(\"animation\"),scrollPerPage:s.data(\"scroll-per-page\")},c=jQuery.extend({},o,a),(s.hasClass(\"dslc-slider\")||1==c.items)&&(c.singleItem=!0),0==c.autoPlay&&(c.autoPlay=!1),s.owlCarousel({items:c.items,pagination:c.pagination,singleItem:c.singleItem,itemsScaleUp:c.itemsScaleUp,slideSpeed:c.slideSpeed,paginationSpeed:c.paginationSpeed,rewindSpeed:c.rewindSpeed,autoPlay:c.autoPlay,stopOnHover:c.stopOnHover,lazyLoad:c.lazyLoad,lazyFollow:c.lazyFollow,mouseDrag:c.mouseDrag,touchDrag:c.touchDrag,scrollPerPage:c.scrollPerPage,transitionStyle:c.transitionStyle,autoHeight:c.autoHeight,itemsDesktop:!1,itemsDesktopSmall:!1,itemsTablet:!1,itemsMobile:[766,1],afterInit:function(){s.prev(\".dslc-loader\").remove(),s.css({opacity:1,maxHeight:\"none\"})},afterAction:function(){var e=this.owl.visibleItems;s.find(\".dslc-carousel-item-visible\").removeClass(\"dslc-carousel-item-visible\"),s.find(\".owl-item\").filter((function(s){return e.indexOf(s)>-1})).addClass(\"dslc-carousel-item-visible\")}}),jQuery(\".dslc-carousel-nav-next\",t).click((function(e){e.preventDefault(),s.data(\"owlCarousel\").next()})),jQuery(\".dslc-carousel-nav-prev\",t).click((function(e){e.preventDefault(),s.data(\"owlCarousel\").prev()}))}))}))},window.dslc_carousel_responsive=function(){jQuery(\".dslc-carousel\").each((function(){var e,s;if(s=(e=jQuery(this)).closest(\".dslc-module-front\"),e.css({\"margin-left\":0,width:\"auto\"}),s.closest(\".dslc-modules-section\").hasClass(\"dslc-no-columns-spacing\"))var t=0;else t=s.width()/100*2.12766/2;e.hasClass(\"dslc-carousel\")&&(e.find(\".dslc-col\").css({\"margin-left\":t,\"margin-right\":t}),e.css({\"margin-left\":-1*t,width:e.width()+2*t}))}))},window.dslc_bg_video=function(){jQuery(\".dslc-bg-video\").each((function(){jQuery(this).find(\"video\").length||jQuery(this).css({opacity:1})})),jQuery(\".dslc-bg-video video\").mediaelementplayer({loop:!0,pauseOtherPlayers:!1,success:function(e,s){e.addEventListener(\"loadeddata\",(function(e){jQuery(s).closest(\".dslc-bg-video\").animate({opacity:1},400)})),e.play()}})},window.dslc_parallax=function(){jQuery(\".dslc-init-parallax\").each((function(){var e=jQuery(this);e.imagesLoaded({background:!0},(function(){var s=e.css(\"background-position\").split(\" \")[0]+\" \"+-1*(window.pageYOffset-e.offset().top)/4+\"px\";e.css({backgroundPosition:s})}))})),window.onscroll=function(){jQuery(\".dslc-init-parallax\").each((function(){var e=jQuery(this).css(\"background-position\").split(\" \")[0]+\" \"+-1*(window.pageYOffset-jQuery(this).offset().top)/4+\"px\";jQuery(this).css({backgroundPosition:e})}))}},window.dslc_masonry=function(e,s){e=void 0!==e?e:jQuery(\"body\"),s=void 0!==s&&s,jQuery(\".dslc-init-masonry\",e).each((function(){var e,t,o,a;e=jQuery(this).find(\".dslc-posts-inner\").length?jQuery(this).find(\".dslc-posts-inner\"):jQuery(this),t=\".dslc-masonry-item\",jQuery(t,e).width(),o=jQuery(e).width(),a=jQuery(this).closest(\".dslc-modules-section\").hasClass(\"dslc-no-columns-spacing\")?0:o/100*2.05,e.data(\"masonry\")?jQuery(e).imagesLoaded((function(){jQuery(e).masonry(\"destroy\").masonry({gutter:a,itemSelector:t}),jQuery(e).find(\".dslc-post:not(.dslc-masonry-item)\").hide(),s&&jQuery(t,e).css({scale:\"0.2\"}).animate({scale:\"1\"},500)})):(jQuery(t).css({marginRight:0}),jQuery(e).imagesLoaded((function(){jQuery(e).masonry({gutter:a,itemSelector:t})})))}))},window.dslc_tabs_generate_code=function(e){var s=e.closest(\".dslc-module-front\");dslcTabsNav=jQuery(\".dslc-tabs-nav\",e),dslcTabsContent=jQuery(\".dslc-tabs-content\",e),dslcTabContent=jQuery(\".dslc-tabs-tab-content\",e);var t=\"\",o=\"\",a=0,c=0;jQuery(\".dslc-tabs-nav-hook\",dslcTabsNav).each((function(){++a>1&&(t+=\" (dslc_sep) \"),t+=jQuery(this).find(\".dslc-tabs-nav-hook-title\").text()})),dslcTabContent.each((function(){++c>1&&(o+=\" (dslc_sep) \"),o+=jQuery(this).find(\".dslca-tab-plain-content\").val()})),o=o.replace(/<textarea/g,\"<lctextarea\").replace(/<\\/textarea/g,\"</lctextarea\"),jQuery('.dslca-module-option-front[data-id=\"tabs_nav\"]',s).val(t),jQuery('.dslca-module-option-front[data-id=\"tabs_content\"]',s).val(o),parent.LiveComposer.Builder.Actions.optionsChanged()},window.dslc_accordion_generate_code=function(e){var s=e.closest(\".dslc-module-front\"),t=0,o=\"\",a=\"\";jQuery(\".dslc-accordion-item\",e).each((function(){++t>1&&(o+=\" (dslc_sep) \",a+=\" (dslc_sep) \"),o+=jQuery(this).find(\".dslc-accordion-title\").text(),a+=jQuery(this).find(\".dslc-accordion-content\").find(\".dslca-accordion-plain-content\").val()})),a=a.replace(/<textarea/g,\"<lctextarea\").replace(/<\\/textarea/g,\"</lctextarea\"),jQuery('.dslca-module-option-front[data-id=\"accordion_nav\"]',s).val(o),jQuery('.dslca-module-option-front[data-id=\"accordion_content\"]',s).val(a),parent.LiveComposer.Builder.Actions.optionsChanged()},window.dslc_tabs=function(){var e,s;jQuery(\".dslc-tabs\").each((function(){e=jQuery(this),s=jQuery(\".dslc-tabs-nav\",e),jQuery(\".dslc-tabs-content\",e),jQuery(\".dslc-tabs-tab-content\",e).eq(0).addClass(\"dslc-active\"),jQuery(\".dslc-tabs-nav-hook\",s).eq(0).addClass(\"dslc-active\")}))},jQuery(document).on(\"click\",\".dslca-add-new-tab-hook\",(function(e){return function(e){var s=jQuery(e.target).closest(\".dslc-tabs\"),t=jQuery(\".dslc-tabs-nav .dslc-tabs-nav-hook:last\",s),o=jQuery(\".dslc-tabs-tab-content:last\",s),a=jQuery(\".dslc-tabs-nav .dslc-tabs-nav-hook\",s).length;t.after('<span class=\"dslc-tabs-nav-hook\"><span class=\"dslc-tabs-nav-hook-title\" contenteditable=\"true\">Click to edit title</span><span class=\"dslca-delete-tab-hook\"><span class=\"dslca-icon dslc-icon-remove\"></span></span></span>'),o.after('<div class=\"dslc-tabs-tab-content\"><div class=\"dslca-editable-content\" data-edit-id=\"'+a+'\" data-id=\"'+a+'\">This is just placeholder text.</div><textarea class=\"dslca-tab-plain-content\" data-edit-id=\"'+a+'\" data-id=\"'+a+'\">This is just placeholder text.</textarea><div class=\"dslca-wysiwyg-actions-edit\"><span class=\"dslca-wysiwyg-actions-edit-hook\" data-event=\"wysiwyg-edit\" data-id-to-edit=\"'+a+'\">Open in WP Editor</span></div></div>'),jQuery(\".dslc-tabs-nav-hook:last\",s).click(),dslc_tabs_generate_code(s),jQuery(s[0]).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(s[0]).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\")}(e)})),jQuery(document).on(\"click\",\".dslca-delete-tab-hook\",(function(e){return function(e){console.log(\"dslc_on_tab_delete\");var s=jQuery(e.target).closest(\".dslc-tabs\"),t=jQuery(e.target).closest(\".dslc-tabs-nav-hook\"),o=t.index(),a=jQuery(\".dslc-tabs-tab-content\",s).eq(o);jQuery(\".dslc-tabs-nav .dslc-tabs-nav-hook\",s).length>1&&(t.remove(),a.remove(),jQuery(\".dslc-tabs-tab-content.dslc-active\",s).length||jQuery(\".dslc-tabs-nav-hook:first\",s).trigger(\"click\"),dslc_tabs_generate_code(s)),jQuery(s[0]).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(s[0]).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\"),e.stopPropagation()}(e)})),jQuery(document).on(\"click\",\".dslc-tabs-nav-hook\",(function(e){return function(e){dslcTabs=jQuery(e.target).closest(\".dslc-tabs\"),dslcTabsNav=jQuery(\".dslc-tabs-nav\",dslcTabs),dslcTabsContent=jQuery(\".dslc-tabs-content\",dslcTabs),dslcTabContent=jQuery(\".dslc-tabs-tab-content\",dslcTabs),dslcTabIndex=jQuery(e.currentTarget).index(),jQuery(\".dslc-tabs-nav-hook.dslc-active\",dslcTabs).removeClass(\"dslc-active\"),jQuery(e.currentTarget).addClass(\"dslc-active\"),jQuery(\".dslc-tabs-tab-content.dslc-active\",dslcTabs).length?jQuery(\".dslc-tabs-tab-content.dslc-active\",dslcTabs).animate({opacity:0},250,(function(){jQuery(this).removeClass(\"dslc-active\"),dslcTabContent.eq(dslcTabIndex).css({opacity:0}).addClass(\"dslc-active\").show().animate({opacity:1},250)})):dslcTabContent.eq(dslcTabIndex).css({opacity:0}).addClass(\"dslc-active\").show().animate({opacity:1},250)}(e)})),jQuery(document).on(\"blur paste\",\".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]\",(function(e){dslc_tabs_generate_code(jQuery(this).closest(\".dslc-tabs\"))})).on(\"focus\",\".dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]\",(function(e){jQuery(this).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(this).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\")})),window.dslc_download_count_increment=function(e){jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-download-count-increment\",dslc_post_id:e},(function(e){}))},window.dslc_check_viewport=function(){!!document.documentMode?jQuery(\".dslc-in-viewport-check\").css(\"opacity\",1):jQuery(\".dslc-in-viewport-check:in-viewport:not(.dslc-in-viewport)\").each((function(){var e=jQuery(this),s=e.data(\"dslc-anim\"),t=parseInt(e.data(\"dslc-anim-duration\"))/1e3+\"s\";jQuery(window).width()<768&&(t=\"0s\");var o=parseInt(e.data(\"dslc-anim-delay\")),a=s+\" \"+t+\" \"+e.data(\"dslc-anim-easing\")+\" forwards\";jQuery(this).addClass(\"dslc-in-viewport\"),o>0?setTimeout((function(){e.css({\"-webkit-animation\":a,\"-moz-animation\":a,animation:a})}),o):jQuery(this).css({\"-webkit-animation\":a,\"-moz-animation\":a,animation:a})}))},window.dslc_el_anim_hover=function(){jQuery(\".dslc-on-hover-anim-target\").each((function(){var e=\"all \"+parseInt(jQuery(this).data(\"dslc-anim-speed\"))/1e3+\"s ease-out\";jQuery(this).css({\"-webkit-transition\":e,\"-moz-transition\":e,transition:e})}))},window.dslc_check_progress_bar_viewport=function(){jQuery(\".dslc-progress-bar-animated:in-viewport:not(.dslc-progress-bar-in-viewport)\").each((function(){var e=jQuery(this),s=e.find(\".dslc-progress-bar-loader-inner\"),t=s.data(\"amount\")+\"%\",o=s.data(\"speed\");e.addClass(\"dslc-progress-bar-in-viewport\"),s.css({width:0,opacity:1}).animate({width:t},o)}))},window.dslc_validate_comment_form=function(e){var s=e.find(\"#author\"),t=e.find(\"#email\"),o=(e.find(\"#url\"),e.find(\"#comment\")),a=!0;return s.length&&0==s.val().length?(s.css({borderColor:\"#e55f5f\"}),a=!1):s.attr(\"style\",\"\"),!t.length||0!=t.val().length&&-1!==t.val().indexOf(\"@\")?t.attr(\"style\",\"\"):(t.css({borderColor:\"#e55f5f\"}),a=!1),0==o.val().length?(o.css({borderColor:\"#e55f5f\"}),a=!1):o.attr(\"style\",\"\"),a},window.dslc_social_share=function(e,s,t){var o,a,c=\"status=no,height=\"+s+\",width=\"+e+\",resizable=yes,left=\"+(o=window.screen.width/2-(e/2+10))+\",top=\"+(a=window.screen.height/2-(s/2+50))+\",screenX=\"+o+\",screenY=\"+a+\",toolbar=no,menubar=no,scrollbars=no,location=no,directories=no\";return location.href,document.title,window.open(t,\"sharer\",c),!1},window.dslc_sticky_row=function(){if(jQuery(\"body .dslc-modules-section\").hasClass(\"dslc-sticky-row\")&&!jQuery(\"body\").hasClass(\"dslca-enabled\")){var e=jQuery(\"body .dslc-modules-section.dslc-sticky-row\"),s=jQuery(\".dslc-sticky-row\");s.each((function(e,t){jQuery(s).eq(e).outerHeight();jQuery(t).wrap('<div class=\"dslc-modules-section-placeholder\"></div>').parent().height(jQuery(t).outerHeight())}));(e=jQuery(\"body .dslc-modules-section.dslc-sticky-row\")).offset().top;jQuery(\"#wpadminbar\").length&&jQuery(\"#wpadminbar\").height();var t=jQuery(\".dslc-sticky-row\");document.addEventListener(\"scroll\",(function(s){var o=window.scrollY;(o<50||o%10==0)&&(o>=0?t.each((function(e,s){var a=jQuery(t).eq(e),c=a.offset().top,i=a.outerHeight();jQuery(\"#wpadminbar\").length&&(c-=jQuery(\"#wpadminbar\").height());var d=o<=s.exTop,n=c<=o,l=\"fixed\",r=0;if(d)l=\"relative\",r=0,s.isFixed=!1,s.classList.remove(\"dslc-sticky-section-fixed\"),jQuery(s).closest(\".dslc-modules-section-placeholder\").height(jQuery(s).outerHeight());else if(n){if(l=\"fixed\",0<e)for(var u=0;u<e;u++)r+=jQuery(t).eq(u).outerHeight();o+=i,s.isFixed||(s.isFixed=!0,s.exTop=c),jQuery(\"#wpadminbar\").length&&(r+=32),s.classList.add(\"dslc-sticky-section-fixed\"),jQuery(s).closest(\".dslc-modules-section-placeholder\").height(jQuery(s).outerHeight())}jQuery(s).css({position:l,top:r+\"px\"})})):(e.removeClass(\"dslc-sticky-section-fixed\"),t.css({position:\"relative\",top:\"0px\"})))}),{capture:!1,passive:!0})}},jQuery(document).ready((function(e){var s,t,o,a,c;if(document.querySelector(\"meta[name=viewport]\").setAttribute(\"content\",\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0\"),dslc_el_anim_hover(),dslc_bg_video(),dslc_tabs(),jQuery(document).on(\"click\",\".dslc-pagination-load-more a\",(function(e){if(e.preventDefault(),jQuery(this).parent().hasClass(\"dslc-active\")){var s=jQuery(this),t=jQuery(this).closest(\".dslc-module-front\"),o=t.find(\".dslc-pagination\"),a=t.find(\".dslc-posts-inner\"),c=t.attr(\"id\"),i=s.attr(\"href\"),d=t.find(\".dslc-load-more-temp\");s.find(\".dslc-icon\").addClass(\"dslc-icon-spin\"),d.load(i+\" #\"+c,(function(){a.append('<div class=\"dslc-post-separator\"></div>'),a.append(d.find(\".dslc-posts-inner\").html()),t.find(\".dslc-pagination\").html(d.find(\".dslc-pagination\").html()),o.replaceWith(d.find(\".dslc-pagination\")),d.html(\"\"),a.imagesLoaded((function(){t.find(\".dslc-init-masonry\").length&&t.find(\".dslc-init-masonry .dslc-posts-inner\").masonry(\"reloadItems\").masonry()}))}))}})),jQuery(\".dslc-tp-comment-form form\").submit((function(e){dslc_validate_comment_form(jQuery(this))||e.preventDefault()})),jQuery(\".dslc-mobile-navigation select\").change((function(){window.location=jQuery(this).val()})),jQuery(document).on(\"click\",\".dslc-notification-close\",(function(e){jQuery(this).closest(\".dslc-notification\").slideUp(200,(function(){jQuery(this).remove()}))})),jQuery(document).on(\"click\",\".dslc-post-filter\",(function(){var e=jQuery(this),s=e.closest(\".dslc-module-front\").find(\".dslc-posts\"),t=e.closest(\".dslc-module-front\"),o=e.data(\"filter-id\"),a=jQuery(),c=jQuery();\"show-all\"===o?(a=s.closest(\".dslc-module-front\").find(\".dslc-post\"),c=jQuery()):(a=s.closest(\".dslc-module-front\").find('.dslc-post[data-cats*=\"'+o+'\"]'),c=s.closest(\".dslc-module-front\").find('.dslc-post:not([data-cats*=\"'+o+'\"])')),e.removeClass(\"dslc-inactive\").addClass(\"dslc-active\").siblings(\".dslc-active\").removeClass(\"dslc-active\").addClass(\"dslc-inactive\"),s.hasClass(\"dslc-init-grid\")?(a.stop().animate({opacity:1},300),c.stop().animate({opacity:.3},300)):(c.removeClass(\"dslc-masonry-item dslc-masonry-item-animate\").css({visibility:\"hidden\"}),a.addClass(\"dslc-masonry-item dslc-masonry-item-animate\").css({visibility:\"visible\"}).show(),dslc_masonry(t,!0))})),jQuery(document).on(\"click\",\".dslc-download-count-hook\",(function(e){dslc_download_count_increment(jQuery(this).data(\"post-id\"))})),jQuery(\".dslc-notification-box-has-timeout\").each((function(){var e=jQuery(this);nTimeout=\"none\",moduleID=e.closest(\".dslc-module-front\").data(\"module-id\"),cookieID=\"nBox\"+moduleID,e.data(\"notification-timeout\")&&null==Cookies.get(cookieID)&&e.show()})),jQuery(document).on(\"click\",\".dslc-notification-box-close\",(function(){var e=jQuery(this).closest(\".dslc-notification-box\"),s=\"none\",t=\"nBox\"+e.closest(\".dslc-module-front\").data(\"module-id\");e.data(\"notification-timeout\")&&(s=e.data(\"notification-timeout\")),\"none\"!==s&&Cookies.set(t,\"closed\",{expires:s}),e.animate({opacity:0},400,(function(){jQuery(this).remove()}))})),dslc_init_lightbox(),dslc_init_accordion(),jQuery(document).on(\"click\",\".dslc-accordion-hook\",(function(){var e=jQuery(this).closest(\".dslc-accordion-item\"),s=e.siblings(\".dslc-accordion-item\");e.hasClass(\"dslc-active\")?(jQuery(\"body\").hasClass(\"dslca-enabled\")||(e.find(\".dslca-icon\").hasClass(\"dslc-icon-minus\")?e.find(\".dslca-icon\").removeClass(\"dslc-icon-minus\").addClass(\"dslc-icon-plus\"):e.find(\".dslca-icon\").removeClass(\"dslc-icon-plus\").addClass(\"dslc-icon-minus\")),s=e):(e.removeClass(\"dslc-inactive\").addClass(\"dslc-active\"),jQuery(\"body\").hasClass(\"dslca-enabled\")||(e.find(\".dslca-icon\").hasClass(\"dslc-icon-minus\")?e.find(\".dslca-icon\").removeClass(\"dslc-icon-minus\").addClass(\"dslc-icon-plus\"):(e.find(\".dslca-icon\").removeClass(\"dslc-icon-plus\").addClass(\"dslc-icon-minus\"),s.find(\".dslca-icon\").removeClass(\"dslc-icon-minus\").addClass(\"dslc-icon-plus\")))),s.removeClass(\"dslc-active\").addClass(\"dslc-inactive\"),jQuery(\".dslc-accordion-content\",e).slideDown(300),jQuery(\".dslc-accordion-content\",s).slideUp(300)})),jQuery(document).on(\"click\",\".dslca-add-accordion-hook\",(function(){var e=jQuery(this).closest(\".dslc-accordion\"),s=jQuery(\".dslc-accordion-item:last\",e),t=s.clone().insertAfter(s);numberOfTabs=jQuery(\".dslc-accordion-item\",e).length,jQuery(\".dslc-accordion-title\",t).html(\"CLICK TO EDIT\"),jQuery(\".dslc-accordion-content\",t).html('<div class=\"dslca-editable-content\" data-edit-id=\"'+numberOfTabs+'\">Placeholder content, click to edit. Lorem ipsum dolor sit amet, consectetur tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</div><textarea class=\"dslca-accordion-plain-content\"></textarea><div class=\"dslca-wysiwyg-actions-edit\"><span class=\"dslca-wysiwyg-actions-edit-hook\" data-event=\"wysiwyg-edit\" data-id-to-edit=\"'+numberOfTabs+'\">Edit Content</span></div>'),jQuery(\".dslc-accordion-hook\",t).click(),dslc_accordion_generate_code(e),jQuery(this).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(this).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\")})),jQuery(document).on(\"click\",\".dslca-delete-accordion-hook\",(function(e){var s=jQuery(this).closest(\".dslc-accordion\"),t=jQuery(this).closest(\".dslc-accordion-item\");jQuery(this).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(this).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\"),jQuery(\".dslc-accordion-item\",s).length>1?(t.remove(),jQuery(\".dslc-accordion-item.dslc-active\",s).length||jQuery(\".dslc-accordion-hook:first\",s).trigger(\"click\"),dslc_accordion_generate_code(s)):alert(\"You can not delete the last remaining accordion item.\"),e.stopPropagation()})),jQuery(document).on(\"click\",\".dslca-move-up-accordion-hook, .dslca-move-down-accordion-hook\",(function(e){var s=jQuery(this).closest(\".dslc-accordion\"),t=jQuery(this).closest(\".dslc-accordion-item\"),o=t.next(\".dslc-accordion-item\"),a=t.prev(\".dslc-accordion-item\");jQuery(this).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(this).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\"),jQuery(this).hasClass(\"dslca-move-down-accordion-hook\")?(t.insertAfter(o),dslc_accordion_generate_code(s)):(t.insertBefore(a),dslc_accordion_generate_code(s)),e.stopPropagation()})),jQuery(document).on(\"blur paste keyup\",\".dslc-accordion-title[contenteditable], .dslc-accordion-content[contenteditable]\",(function(){dslc_accordion_generate_code(jQuery(this).closest(\".dslc-accordion\"))})).on(\"focus\",\".dslc-accordion-title[contenteditable], .dslc-accordion-content[contenteditable]\",(function(){jQuery(this).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")||jQuery(this).closest(\".dslc-module-front\").find(\".dslca-module-edit-hook\").trigger(\"click\")})),jQuery(document).on(\"click\",\".dslc-trigger-lightbox-gallery\",(function(e){if(e.preventDefault(),jQuery(this).closest(\".dslc-post\").length)jQuery(this).closest(\".dslc-post\").find(\".dslc-lightbox-gallery a:first-child\").trigger(\"click\");else if(jQuery(this).closest(\".dslc-col\")){var s=jQuery(this).closest(\".dslc-col\").index();jQuery(this).closest(\".dslc-module-front\").find(\".dslc-lightbox-gallery a:eq(\"+s+\")\").trigger(\"click\")}else jQuery(this).closest(\".dslc-module-front\").find(\".dslc-lightbox-gallery a:first-child\").trigger(\"click\")})),jQuery(\"#dslc-header\").hasClass(\"dslc-header-extra-padding\")&&!jQuery(\"body\").hasClass(\"dslca-enabled\")){var i=jQuery(\"#dslc-header\").height();jQuery(\"#dslc-main .dslc-modules-section:first-child\").css({paddingTop:i})}(dslc_check_viewport(),dslc_check_progress_bar_viewport(),jQuery(document).on(\"scroll\",(function(){dslc_check_viewport(),dslc_check_progress_bar_viewport()})),jQuery(\"#dslc-footer\").hasClass(\"dslc-footer-pos-relative\"))&&(s=jQuery(\"body\").height(),t=jQuery(\"#dslc-footer\"),o=jQuery(t).height(),a=jQuery(\"#dslc-content\"),c=\"100vh\",jQuery(\"#wpadminbar\").length&&(c=\"96.7vh\"),s<jQuery(window).height()&&(jQuery(t).css({position:\"absolute\",bottom:\"0\",width:\"100%\"}),jQuery(a).css({\"min-height\":c,\"padding-bottom\":o+\"px\"})))})),jQuery(document).ready((function(e){dslc_responsive_classes(),dslc_carousel(),dslc_masonry(),dslc_parallax(),dslc_init_lightbox(),window.dslc_sticky_row()})),jQuery(window).resize((function(){dslc_responsive_classes(),dslc_carousel_responsive()}))}});"],"mappings":"AAAA","sourceRoot":""}
js/dist/editor_backend.min.js CHANGED
@@ -1,9 +1,9 @@
1
- !function(e){var t={};function o(i){if(t[i])return t[i].exports;var n=t[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=t,o.d=function(e,t,i){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(i,n,function(t){return e[t]}.bind(null,n));return i},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=3)}({3:function(e,t,o){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}o.r(t);var n=function(e){if("object"!=i(e)||!0===LiveComposer.Builder.Flags.modalOpen)return!1;var t='<div class="dslca-prompt-modal dslca-prompt-modal-active"><div class="dslca-prompt-modal-content"><div class="dslca-prompt-modal-msg"><span class="dslca-prompt-modal-title">'+e.title+'</span><span class="dslca-prompt-modal-descr">'+e.content+"</span></div>",o="";o=e.confirm||e.cancel?'<div class="dslca-prompt-modal-actions"><a href="#" class="dslca-prompt-modal-confirm-hook"><span class="dslc-icon dslc-icon-ok"></span>'+(e.confirm_title?e.confirm_title:"Confirm")+'</a><span class="dslca-prompt-modal-cancel-hook"><span class="dslc-icon dslc-icon-remove"></span>'+(e.cancel_title?e.cancel_title:"Cancel")+"</span></div>":'<div class="dslca-prompt-modal-actions"><a href="#" class="dslca-prompt-modal-confirm-hook"><span class="dslc-icon dslc-icon-ok"></span>'+(e.ok_title?e.ok_title:"OK")+"</a></div>",t+=o+"</div>",t=jQuery(t),"function"!=typeof e.confirm&&(e.confirm=function(){}),"function"!=typeof e.cancel&&(e.cancel=function(){}),t.find(".dslca-prompt-modal-confirm-hook").click((function(o){return o.stopPropagation(),t.find(".dslca-prompt-modal-content").animate({top:"55%"},400),t.animate({opacity:0},400,(function(){e.confirm(),LiveComposer.Builder.Flags.modalOpen=!1,jQuery(this).remove()})),!1})),t.find(".dslca-prompt-modal-cancel-hook").click((function(o){return o.stopPropagation(),t.find(".dslca-prompt-modal-content").animate({top:"55%"},400),t.animate({opacity:0},400,(function(){jQuery(this).remove(),LiveComposer.Builder.Flags.modalOpen=!1,e.cancel()})),!1})),t.hide(),jQuery("body").append(t),t.css({opacity:0}).show().animate({opacity:1},400),t.find(".dslca-prompt-modal-content").css({top:"55%"}).animate({top:"50%"},400),LiveComposer.Builder.Flags.modalOpen=!0},a=function(){window.dslcDebug&&console.log("updatePreset");var e=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),t=e.find('.dslca-module-option-front[data-id="css_load_preset"]').val(),o=e.find(".dslca-module-code").innerText,i=e.data("module");"none"!==t&&""!==t&&jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-preset",dslc_preset_name:t,dslc_preset_code:o,dslc_module_id:i},(function(t){"enabled"==t.preset_setting&&jQuery(".dslc-module-front:not(#"+e.attr("id")+')[data-module="'+e.data("module")+'"][data-dslc-preset="'+e.data("dslc-preset")+'"]',LiveComposer.Builder.PreviewAreaDocument).each((function(){dslc_module_output_reload(jQuery(this))}))}))};jQuery(document).ready((function(e){jQuery(document).on("keypress",'.dslca-module-edit-field[name="css_save_preset"]',(function(e){if(13==e.which){var t=jQuery(this).val().toLowerCase().replace(/\s/g,"-");jQuery("body").addClass("dslca-new-preset-added"),jQuery('.dslca-module-edit-field[name="css_load_preset"]').append('<option value="'+t+'">'+t+"</option>").val(t).trigger("change"),jQuery(this).val(""),jQuery(".dslc-delete-preset").removeClass("dslc-delete-preset-hide")}})),jQuery(document).on("change",'.dslca-module-edit-field[name="css_load_preset"]',(function(e){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-preload-preset")})),jQuery(document).on("click",".dslc-delete-preset",(function(e){var t=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),o=t.find('.dslca-module-option-front[data-id="css_load_preset"]').val(),i=t.data("module");"none"!==o&&""!==o&&jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-delete-preset",dslc_preset_name:o,dslc_module_id:i},(function(e){dslc_module_options_show(i)}))}))}));function s(){window.dslcDebug&&console.log("dslc_save_composer"),window.dslc_generate_code(),function(){window.dslcDebug&&console.log("dslca_gen_content_for_search");var e=document.getElementById("dslca-content-for-search");if(null===e)return;var t=e.value,o="",i=LiveComposer.Builder.PreviewAreaWindow.document.querySelectorAll("#dslc-main .dslc-module-front [data-exportable-content]");void 0!==i&&Array.prototype.forEach.call(i,(function(e,t){var i;if(""!==e.getAttribute("data-exportable-content")){var n=e.getAttribute("data-exportable-content");i="<"+n+">"+e.innerHTML+"</"+n+">"}else i=e.innerHTML;null!==i&&(o+=i.replace(/\s+/g," ").trim()+"\n")}));e.value=o,t!==o&&window.dslc_show_publish_button()}();var e=jQuery("#dslca-code").val(),t=jQuery("#dslca-content-for-search").val(),o=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:o,dslc_code:e,dslc_content_for_search:t},timeout:3e4}).done((function(e){"success"==e.status?(jQuery(".dslca-save-composer").fadeOut(250),jQuery(".dslca-save-draft-composer").fadeOut(250),jQuery("body").append('<iframe class="lbmn-cache-iframe" id="lbmn-cache-iframe-'+o+'" src="'+DSLCSiteData.siteurl+"/?p="+o+'" ></iframe>'),jQuery(".lbmn-cache-iframe").each((function(e,t){jQuery(t).load((function(){jQuery(t).remove()}))}))):alert("Something went wrong, please try to save again. Are you sure to make any changes? Error Code: "+e.status)})).fail((function(e){"timeout"==e.statusText?alert("The request timed out after 30 seconds. Server do not respond in time. Please try again."):alert("Something went wrong. Please try again. Error Code: "+e.statusText)})).always((function(e){jQuery(".dslca-save-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-ok"),jQuery("body").removeClass("dslca-saving-in-progress")}))}window.dslc_generate_code=function(){window.dslcDebug&&console.log("dslc_generate_code");var e,t,o="";jQuery("#dslc-main .dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument).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",LiveComposer.Builder.PreviewAreaDocument).each((function(){e=jQuery(this),t=d(e),e.find(".dslca-section-code").val(t),o=o+t+","})),o="["+(o=o.slice(0,-1))+"]",jQuery("#dslca-code").val(o),jQuery("#dslca-export-code").val(o)};var d=function(e){window.dslcDebug&&console.log("generateSectionCode");var t,o,i,n,a="",s=0,d="";return o=e,jQuery(".dslc-modules-area",o).length?o.removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty"):o.removeClass("dslc-modules-section-not-empty").addClass("dslc-modules-section-empty"),jQuery(".dslc-modules-area.dslc-last-col, .dslc-modules-area.dslc-first-col",void 0).removeClass("dslc-last-col dslc-first-col"),jQuery(".dslc-module-front.dslc-last-col, .dslc-module-front.dslc-first-col",void 0).removeClass("dslc-last-col dslc-first-col"),s=0,i=o.find(".dslca-section-code").val(),n=JSON.parse(i),d="",jQuery(".dslca-modules-section-settings input",o).each((function(){var e=jQuery(this),t=e.data("id"),o=e.val();d=d+t+'="'+o+'" ',n[t]=o})),void 0!==n.give_new_id&&delete n.give_new_id,n.content=[],jQuery(".dslc-modules-area",o).each((function(){var e=0,o=jQuery(this),i=parseInt(o.data("size")),d=o.data("valign"),r="no",l="no";s+=i,jQuery(this).removeClass("dslc-first-col"),jQuery(this).removeClass("dslc-last-col"),12==s?(jQuery(this).addClass("dslc-last-col").next(".dslc-modules-area").addClass("dslc-first-col"),s=0,r="yes"):s>12&&(jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"),s=i,l="yes"),s==i&&(l="yes",jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"));var c='{"element_type":"module_area","last":"'+r+'","first":"'+l+'","size":"'+i+'","valign":"'+d+'"}';void 0!==(c=JSON.parse(c)).give_new_id&&delete c.give_new_id,c.content=[],jQuery(".dslc-module-front",o).each((function(){var o=jQuery(this);t=parseInt(o[0].getAttribute("data-dslc-module-size"));var i="no";jQuery(this).removeClass("dslc-first-col"),jQuery(this).removeClass("dslc-last-col"),12==(e+=t)?(jQuery(this).addClass("dslc-last-col"),jQuery(this).next(".dslc-module-front").addClass("dslc-first-col"),e=0,i="yes"):e>12&&(jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"),e=t),e==t&&("yes",jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"));try{a=o[0].querySelector(".dslca-module-code").innerText}catch(e){console.info("No DSLC code found in module: "+o[0].getAttribute("id"))}if(""!==a){var n=JSON.parse(a);n.last=i,jQuery.each(n,(function(e,t){!1!==t&&""!==t||delete n[e],"content"===e&&(n[e]=t.replace(/\\'/g,"'")),"give_new_id"===e&&delete n[e]})),o[0].querySelector(".dslca-module-code").innerText=JSON.stringify(n),c.content.push(n)}a=""})),n.content.push(c)})),JSON.stringify(n)},r=function(){jQuery(document).on("click",".dslca-save-composer-hook",(function(e){e.preventDefault(),jQuery("body").hasClass("dslca-module-saving-in-progress")||jQuery("body").hasClass("dslca-saving-in-progress")||s()})),jQuery(document).on("click",".dslca-save-draft-composer-hook",(function(e){e.preventDefault(),jQuery("body").hasClass("dslca-module-saving-in-progress")||jQuery("body").hasClass("dslca-saving-in-progress")||function(){window.dslcDebug&&console.log("dslc_save_draft_composer");var e=jQuery("#dslca-code").val(),t=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:t,dslc_code:e},(function(e){jQuery(".dslca-save-draft-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-save"),"success"==e.status?jQuery(".dslca-save-draft-composer").fadeOut(250):alert("Something went wrong, please try to save again."),jQuery("body").removeClass("dslca-saving-in-progress")}))}()}))};var l=function(e){if(window.dslcDebug&&console.log("editableContentCodeGeneration"),void 0===e)return!1;var t=e.closest(".dslc-module-front")[0],o=e.html().trim().replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea"),i=e.data("id");LiveComposer.Utils.update_module_property_raw(t,i,o)};var c=function(e,t){"undefined"!=typeof dslcDebug&&dslcDebug&&console.log("hideModal"),(t=jQuery(t)).outerHide("destroy"),t.hide(),jQuery(".dslca-prompt-modal-custom").length>0&&jQuery(".dslca-prompt-modal-custom").fadeOut(),t.removeClass("dslca-modal-open")};jQuery(document).ready((function(e){jQuery(document).on("click",".dslca-open-modal-hook",(function(e){e.preventDefault();var t=jQuery(this).data("modal");!function(e,t){"undefined"!=typeof dslcDebug&&dslcDebug&&console.log("dslc_show_modal"),jQuery(".dslca-modal:visible").length&&c("",jQuery(".dslca-modal:visible")),t=jQuery(t),jQuery(".dslca-container").height(),t.outerHide({clbk:function(){c("",jQuery(".dslca-modal:visible"))}});var o=jQuery(e).position(),i=t.outerWidth()/2-e.outerWidth()/2,n=o.left-i;t.css({left:n}),jQuery(".dslca-prompt-modal-custom").insertAfter(t),jQuery(".dslca-prompt-modal-custom").length>0&&jQuery(".dslca-prompt-modal-custom").fadeIn(),t.addClass("dslca-modal-open").show()}(jQuery(this),t)})),jQuery(document).on("click",".dslca-close-modal-hook",(function(e){if(e.preventDefault(),!jQuery(this).hasClass("dslca-action-disabled")){var t=jQuery(this).data("modal");c(jQuery(this),t)}}))}));var u=function(){"undefined"!=typeof dslcDebug&&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)};window.dslc_modal_keypress_events=function(e){13==e.which?jQuery(".dslca-prompt-modal-active").length&&jQuery(".dslca-prompt-modal-confirm-hook").trigger("click"):27==e.which&&jQuery(".dslca-prompt-modal-active").length&&jQuery(".dslca-prompt-modal-cancel-hook").trigger("click")},jQuery(document).ready((function(e){jQuery(document).on("click",".dslca-prompt-modal-cancel-hook",(function(e){e.preventDefault();var t=jQuery(".dslca-prompt-modal").data("id"),o=jQuery(".dslca-prompt-modal").data("target");"edit_in_progress"==t&&dslc_module_options_cancel_changes((function(){o.trigger("click")})),u(),jQuery(".dslca-prompt-modal").data("id","")})),jQuery(document).on("click",".dslca-prompt-modal-confirm-hook",(function(e){e.preventDefault();var t=jQuery(".dslca-prompt-modal").data("id"),o=jQuery(".dslca-prompt-modal").data("target"),i=!0;if("edit_in_progress"==t)dslc_module_options_confirm_changes((function(){o.trigger("click")}));else if("disable_lc"==t)window.location=o;else if("delete_module"===t){var n=o.closest(".dslc-module-front");dslc_module_delete(n)}else if("delete_modules_area"===t){var a=o.closest(".dslc-modules-area");a.closest(".dslc-modules-section-inner");dslc_modules_area_delete(a)}else"delete_modules_section"==t?dslc_row_delete(o.closest(".dslc-modules-section")):"export_modules_section"==t||"import_modules_section"==t&&(dslc_row_import(jQuery(".dslca-prompt-modal textarea").val()),jQuery(".dslca-prompt-modal-confirm-hook span").css({opacity:0}),jQuery(".dslca-prompt-modal-confirm-hook .dslca-loading").show(),i=!1);i&&u(),jQuery(".dslca-prompt-modal").data("id","")}))})),jQuery.fn.outerHide=function(e){var t=jQuery,o=this;if("destroy"==(e=e||{}))return jQuery(document).unbind("click.outer_hide"),!1;jQuery(document).bind("click.outer_hide",(function(i){0==jQuery(i.target).closest(o).length&&i.target!=o&&-1==t.inArray(jQuery(i.target)[0],jQuery(e.clickObj))&&"none"!=jQuery(o).css("display")&&(e.clbk?e.clbk():jQuery(o).hide())}))},document.addEventListener("modalWysiwygCancel",(function(e){jQuery(".dslca-wp-editor").hide(),jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-wysiwyg-active")})),document.addEventListener("modalWysiwygConfirm",(function(e){var t=jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).closest(".dslc-module-front");if("undefined"!=typeof tinymce){if(jQuery("#wp-dslcawpeditor-wrap").hasClass("tmce-active"))var o=tinymce.get("dslcawpeditor").getContent();else o=jQuery("#dslcawpeditor").val();if(o=o.trim(),jQuery(".dslca-wp-editor").hide(),jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).html(o),t.hasClass("dslc-module-handle-like-accordion")){jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-editable-content").html(o),jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-accordion-plain-content").val(o);var i=t.find(".dslc-accordion");LiveComposer.Builder.PreviewAreaWindow.dslc_accordion_generate_code(i)}else if(t.hasClass("dslc-module-handle-like-tabs")){jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-editable-content").html(o),jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-tab-plain-content").val(o);var n=t.find(".dslc-tabs");LiveComposer.Builder.PreviewAreaWindow.dslc_tabs_generate_code(n)}else l(jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument));jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-wysiwyg-active")}else console.info("Live Composer: TinyMCE is undefined.")}));function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var p=window.DSLCFonts.regular,h=window.DSLCFonts.google,f=p.concat(h),v=window.DSLCIcons.fontawesome;jQuery(document).ready((function(e){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 e,t=jQuery(".dslca-module-edit-field-ttip"),o=t.find(".dslca-module-edit-field-ttip-inner"),i=jQuery(this);if(e=i.parent().parent().hasClass("dslca-modules-section-edit-option")?i.closest(".dslca-modules-section-edit-option").find(".dslca-module-edit-field-ttip-content").html():i.closest(".dslca-module-edit-option").find(".dslca-module-edit-field-ttip-content").html(),t.is(":visible"))jQuery(".dslca-module-edit-field-ttip").hide();else{o.html(e);var n=i.offset(),a=t.outerHeight(),s=t.outerWidth(),d=n.left-s/2+6,r="50%";d<0&&(r=s/2+d+"px",d=0),jQuery(".dslca-module-edit-field-ttip").show().css({top:n.top-a-20,left:d}),jQuery("head").append(jQuery("<style>.dslca-module-edit-field-ttip:after, .dslca-module-edit-field-ttip:before { left: "+r+" }</style>"))}})),jQuery(document).on("click",".dslca-module-edit-field-icon-ttip-hook",(function(){var e=jQuery(".dslca-module-edit-field-icon-ttip"),t=jQuery(this);if(e.is(":visible"))jQuery(".dslca-module-edit-field-icon-ttip").hide();else{var o=t.offset(),i=e.outerHeight(),n=e.outerWidth(),a=o.left-n/2+6,s="50%";a<0&&(s=n/2+a+"px",a=0),jQuery(".dslca-module-edit-field-icon-ttip").show().css({top:o.top-i-20,left:a}),jQuery("head").append(jQuery("<style>.dslca-module-edit-field-icon-ttip:after, .dslca-module-edit-field-icon-ttip:before { left: "+s+" }</style>"))}})),jQuery(document).on("click",".dslca-module-edit-field-font-next",(function(e){if(e.preventDefault(),!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var t=jQuery(this).closest(".dslca-module-edit-option-font"),o=jQuery(".dslca-module-edit-field-font",t),i=f.indexOf(o.val())+1;jQuery(".dslca-module-edit-field-font-suggest",t).text(""),o.val(f[i]).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(e){if(e.preventDefault(),!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var t=jQuery(this).closest(".dslca-module-edit-option-font"),o=jQuery(".dslca-module-edit-field-font",t),i=f.indexOf(o.val())-1;jQuery(".dslca-module-edit-field-font-suggest",t).text(""),i<0&&(i=f.length-1),o.val(f[i]).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(e){var t,o,i,n,a=!1;if(o=(t=jQuery(this)).closest(".dslca-module-edit-option"),38==e.which&&jQuery(".dslca-module-edit-field-font-prev",o).click(),40==e.which&&jQuery(".dslca-module-edit-field-font-next",o).click(),13!=e.which&&38!=e.which&&40!=e.which){i=t.val();var s=new RegExp("^"+i,"i"),d=f.length,r=0;do{s.test(f[r])&&!a&&(a=f[r]),r++}while(r<d);a?(n=a,jQuery(".dslca-module-edit-field-font-suggest",o).show()):(n=i,jQuery(".dslca-module-edit-field-font-suggest",o).hide()),jQuery(".dslca-module-edit-field-font-suggest",o).text(n),n.length&&t.val(n.substring(0,t.val().length))}})),jQuery(document).on("keypress",".dslca-module-edit-field-font",(function(e){var t;13==e.which&&(e.preventDefault(),t=jQuery(this).closest(".dslca-module-edit-option"),jQuery(this).val(jQuery(".dslca-module-edit-field-font-suggest",t).text()).trigger("change"),jQuery(".dslca-module-edit-field-font-suggest",t).text(""))})),jQuery(document).on("keyup",".dslca-module-edit-field-icon",(function(e){var t,o,i,n;o=(t=jQuery(this)).closest(".dslca-module-edit-option"),38==e.which&&D(t,"previous"),40==e.which&&D(t,"next"),13!=e.which&&38!=e.which&&40!=e.which&&(i=t.val().toLowerCase(),t.val(i),n=jQuery.grep(v,(function(e,t){return 0==e.indexOf(i)}))[0],jQuery(".dslca-module-edit-field-icon-suggest",o).text(n))})),jQuery(document).on("keypress",".dslca-module-edit-field-icon",(function(e){var t;13==e.which&&(e.preventDefault(),t=jQuery(this).closest(".dslca-module-edit-option"),jQuery(this).val(jQuery(".dslca-module-edit-field-icon-suggest",t).text()).trigger("change"),jQuery(".dslca-module-edit-field-icon-suggest",t).text(""))})),jQuery(document).on("click",'.dslca-open-modal-hook[data-modal^=".dslc-list-icons"]',(function(e){jQuery(this).closest(".dslca-module-edit-option-icon").find("input").addClass("icon-modal-active")})),jQuery(document).on("click",".dslca-modal-icons .icon-item",(function(e){var t=jQuery(this).find(".icon-item_name").text();jQuery("input.icon-modal-active").val(t).change(),c("",jQuery(".dslca-modal:visible")),jQuery("input.icon-modal-active").removeClass("icon-modal-active")})),jQuery(document).on("click",".dslca-module-edit-option-text-align-hook",(function(){var e=jQuery(this),t=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").find(".dslca-module-edit-option-text-align-hook"),o=e.data("val"),i=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").siblings("input.dslca-module-edit-field");t.removeClass("dslca-active"),e.addClass("dslca-active"),i.val(o).trigger("change")})),jQuery(document).on("click",".dslca-module-edit-option-checkbox-hook, .dslca-modules-section-edit-option-checkbox-hook",(function(){var e=jQuery(this),t=e.siblings('input[type="checkbox"]');t.prop("checked")?(t.prop("checked",!1),e.find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")):(t.prop("checked",!0),e.find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")),t.change()})),function(){window.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 e=jQuery(this).closest(".dslca-module-edit-option"),t=e.find(".dslca-module-edit-field"),o=e.find(".dslca-module-edit-option-box-shadow-hor").val(),i=e.find(".dslca-module-edit-option-box-shadow-ver").val(),n=e.find(".dslca-module-edit-option-box-shadow-blur").val(),a=e.find(".dslca-module-edit-option-box-shadow-spread").val(),s=e.find(".dslca-module-edit-option-box-shadow-color").val(),d=e.find(".dslca-module-edit-option-box-shadow-inset").is(":checked"),r=o+"px "+i+"px "+n+"px "+a+"px "+s+(d=d?" inset":"");t.val(r).trigger("change")}))}(),function(){window.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 e=jQuery(this).closest(".dslca-module-edit-option"),t=e.find(".dslca-module-edit-field"),o=e.find(".dslca-module-edit-option-text-shadow-hor").val()+"px "+e.find(".dslca-module-edit-option-text-shadow-ver").val()+"px "+e.find(".dslca-module-edit-option-text-shadow-blur").val()+"px "+e.find(".dslca-module-edit-option-text-shadow-color").val();t.val(o).trigger("change")}))}();jQuery(document).on("click",".dslca-module-edit-field-colorpicker, .dslca-modules-section-edit-field-colorpicker, .dslca-module-edit-option-box-shadow-color, .dslca-module-edit-option-text-shadow-color",(function(){L(this);var e=jQuery(this).closest(".dslca-color-option"),t=jQuery(".dslca-module-edit-options-inner"),o=e.find(".wp-picker-holder"),i=e.offset(),n=i.left+15,a=window.innerWidth;a<n+260&&(n=a-260),o.css("left",n+"px"),jQuery(t).on("scroll",(function(t){var n=(i=e.offset()).left+15,a=window.innerWidth;a<n+260&&(n=a-260),o.css("left",n+"px")}))})),jQuery(".dslca-container").on("mouseenter",".dslca-module-edit-option-slider",(function(){jQuery(this).hasClass("dslca-module-edit-option-select")||x(this)})),jQuery(".dslca-container").on("mouseenter",".dslca-modules-section-edit-option-slider",(function(){x(this)})),jQuery(".dslca-module-edit-form").submit((function(e){e.preventDefault(),Ko()})),jQuery(document).on("click",".dslca-module-edit-options-tab-hook",(function(e){e.preventDefault(),Q(jQuery(this))})),jQuery(document).on("click",".dslca-clear-responsive-options",(function(e){e.preventDefault(),j()})),jQuery(document).on("click",".dslca-options-filter-hook",(function(e){e.preventDefault();var t=jQuery(".dslca-options-filter-hook.dslca-active").data("section"),o=jQuery(this).data("section");jQuery(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active"),jQuery(this).addClass("dslca-active"),jQuery(".dslca-container-loader"),document.querySelector(".dslca-container").dataset.currentSection=o,b(o),"responsive"==t&&(jQuery(".dslca-container-loader").show(),window.LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(),Ko((function(){jQuery(".dslca-container-loader").hide()})),jQuery("#page-builder-preview-area").resizable("destroy").attr("style","")),"responsive"==o&&jQuery("#page-builder-preview-area").resizable()})),jQuery(document).on("click",".dslca-module-edit-save",(function(e){e.preventDefault(),C((function(){window.LiveComposer.Builder.UI.unloadOptionsDeps(),window.LiveComposer.Builder.Flags.panelOpened=!1,jQuery("body",window.LiveComposer.Builder.PreviewAreaDocument).removeClass("module-editing-in-progress")})),jQuery(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active"),S()})),jQuery(document).on("click",".dslca-module-edit-cancel",(function(e){e.preventDefault(),k((function(){window.LiveComposer.Builder.UI.unloadOptionsDeps(),window.LiveComposer.Builder.Flags.panelOpened=!1,jQuery("body",window.LiveComposer.Builder.PreviewAreaDocument).removeClass("module-editing-in-progress")})),jQuery(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active"),S()}))}));var g=function(){jQuery(document).on("change",".dslca-module-edit-field",(function(){window.dslcDebug&&console.log("on change event for .dslca-module-edit-field");var e="",t="",o=jQuery(this),i=o.data("id"),n=o.closest(".dslca-module-edit-option"),a=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),s=a.data("module");jQuery(".dslca-module-options-front textarea",a);if(a.addClass("dslca-module-change-made"),(n.hasClass("dslca-module-edit-option-select")||n.hasClass("dslca-module-edit-option-checkbox"))&&_(),"active"==jQuery(this).closest(".dslca-module-edit-option").data("refresh-on-change")){if(n.find(".dslca-module-edit-option-checkbox-wrapper").length)jQuery('input[type="checkbox"]',n).each((function(){jQuery(this).prop("checked")&&(e=e+jQuery(this).val()+" ")}));else if(o.hasClass("dslca-module-edit-option-radio"))e=jQuery(".dslca-module-edit-field:checked",o).val();else{e=o.val();if("orientation"==i&&"horizontal"==e)jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field").val("40").trigger("change");else if("orientation"==i&&"vertical"==e){jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field").val("100").trigger("change")}}null!=e&&(e=e.trim().replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea")),null===e&&(e=""),jQuery('.dslca-module-options-front textarea[data-id="'+i+'"]',a).val(e),jQuery(".dslca-container-loader").show(),Ko((function(){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-module-change-made"),"css_load_preset"!=i||jQuery("body").hasClass("dslca-new-preset-added")?jQuery(".dslca-container-loader").hide():(dslc_module_options_show(s),jQuery(".dslca-container-loader").hide()),jQuery("body").removeClass("dslca-new-preset-added"),LiveComposer.Utils.publish("LC.moduleChange",{moduleId:s,optionID:i,optionVal:o.val()})}))}else{if(o.hasClass("dslca-module-edit-field-font")){var d=o.val();d+=":400,100,200,300,500,600,700,800,900";var r=o.data("affect-on-change-el"),l=o.data("affect-on-change-rule"),c=m=o.val(),u=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);o.val().length&&-1!==h.indexOf(o.val())?document.getElementById("page-builder-frame").contentWindow.WebFont.load({google:{families:[d]},active:function(e,t){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");var i=r.split(","),n="#"+u[0].id+" "+i.join(", #"+u[0].id+" ")+" {"+l+": "+m+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:o,rule:l,elems:r,styleContent:n})},inactive:function(e,t){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");var e=r.split(","),t="#"+u[0].id+" "+e.join(", #"+u[0].id+" ")+" {"+l+": "+m+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:o,rule:l,elems:r,styleContent:t})}),100)}else if(o.hasClass("dslca-module-edit-field-checkbox")){jQuery('input[type="checkbox"]',n).each((function(){jQuery(this).prop("checked")?(e+="solid ",t=t+jQuery(this).val()+" "):e+="none "}))}if(!o.hasClass("dslca-module-edit-field-font")&&null!=o.data("affect-on-change-el")&&null!=o.data("affect-on-change-rule")){var m,p=o.data("ext")||"";r=o.data("affect-on-change-el"),l=o.data("affect-on-change-rule"),c=m=o.val();o.hasClass("dslca-module-edit-field-checkbox")&&(m=e,c=t),o.hasClass("dslca-module-edit-field-image")&&(m='url("'+m+'")'),null!==m&&m.length<1&&("background-color"==l||"background"==l)&&(m="transparent"),l.split(",").forEach((function(e){e=e.replace(/\s+/g,"");var t=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),i=r.split(","),n="#"+t[0].id+" "+i.join(", #"+t[0].id+" ")+" {"+e+": "+m+p+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:o,rule:e,elems:r,styleContent:n})}))}var f="";f=-1!==i.indexOf("css_")?c:o.val(),jQuery('.dslca-module-option-front[data-id="'+i+'"]',a).val(f),LiveComposer.Utils.publish("LC.moduleChange",{moduleId:a[0].id,optionID:i,optionVal:c||o.val()})}}))},y=function(){jQuery(document).on("change",".dslca-modules-section-edit-field",(function(){var e,t,o,i,n,a,s,d;if(t=(e=jQuery(this)).data("id"),i=e.val(),u=i,n=i+e.data("ext"),a=e.data("css-rule"),d=o=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument),s=jQuery('.dslca-modules-section-settings input[data-id="'+t+'"]',o),o.addClass("dslca-modules-section-change-made"),e.hasClass("dslca-modules-section-edit-field-upload")&&i&&i.length&&(i=jQuery('.dslca-modules-section-settings input[data-id="dslca-img-url"]',o).val()),"background-image"==a&&(i='url("'+i+'")',LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()),"bg_image_attachment"==t&&o.removeClass("dslc-init-parallax"),"border-top"==t||"border-right"==t||"border-bottom"==t||"border-left"==t){var r=jQuery('.dslca-modules-section-settings input[data-id="border_style"]').val();s=jQuery('.dslca-modules-section-settings input[data-id="border"]',o),u="",e.closest(".dslca-modules-section-edit-option-checkbox-wrapper").find(".dslca-modules-section-edit-field-checkbox").each((function(){jQuery(this).is(":checked")&&("border-top"==jQuery(this).data("id")?u+="top ":"border-right"==jQuery(this).data("id")?u+="right ":"border-bottom"==jQuery(this).data("id")?u+="bottom ":"border-left"==jQuery(this).data("id")&&(u+="left "))})),e.is(":checked")?"border-top"==e.data("id")?o.css({"border-top-style":r}):"border-right"==e.data("id")?o.css({"border-right-style":r}):"border-bottom"==e.data("id")?o.css({"border-bottom-style":r}):"border-left"==e.data("id")&&o.css({"border-left-style":r}):"border-top"==e.data("id")?o.css({"border-top-style":"hidden"}):"border-right"==e.data("id")?o.css({"border-right-style":"hidden"}):"border-bottom"==e.data("id")?o.css({"border-bottom-style":"hidden"}):"border-left"==e.data("id")&&o.css({"border-left-style":"hidden"})}else if(e.hasClass("dslca-modules-section-edit-field-checkbox")){var l=jQuery(this).closest(".dslca-modules-section-edit-option-checkbox-wrapper").find(".dslca-modules-section-edit-field-checkbox"),c="";l.each((function(){jQuery(this).prop("checked")&&(c+=jQuery(this).data("val")+" ")}));var u=c;"show_on"==e.data("id")&&(-1!==c.indexOf("desktop")?jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-desktop"):jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-desktop"),-1!==c.indexOf("tablet")?jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-tablet"):jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-tablet"),-1!==c.indexOf("phone")?jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-phone"):jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-phone")),"section_divider_bottom_flip"==e.data("id")&&(-1===u.indexOf("horizontally")?jQuery('.dslc-section-divider[data-divider-pos="bottom"]',o).removeClass("dslc-flip-hor"):jQuery('.dslc-section-divider[data-divider-pos="bottom"]',o).addClass("dslc-flip-hor"),-1===u.indexOf("vertically")?jQuery('.dslc-section-divider[data-divider-pos="bottom"]',o).removeClass("dslc-flip-vert"):jQuery('.dslc-section-divider[data-divider-pos="bottom"]',o).addClass("dslc-flip-vert")),"section_divider_top_flip"==e.data("id")&&(-1===u.indexOf("horizontally")?jQuery('.dslc-section-divider[data-divider-pos="top"]',o).removeClass("dslc-flip-hor"):jQuery('.dslc-section-divider[data-divider-pos="top"]',o).addClass("dslc-flip-hor"),-1===u.indexOf("vertically")?jQuery('.dslc-section-divider[data-divider-pos="top"]',o).removeClass("dslc-flip-vert"):jQuery('.dslc-section-divider[data-divider-pos="top"]',o).addClass("dslc-flip-vert"))}else if("bg_image_attachment"==t&&"parallax"==i)o.addClass("dslc-init-parallax"),LiveComposer.Builder.PreviewAreaWindow.dslc_parallax();else if("type"==t)"full"==i?o.addClass("dslc-full"):o.removeClass("dslc-full"),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();else if("columns_spacing"==t)"nospacing"==i?o.addClass("dslc-no-columns-spacing"):o.removeClass("dslc-no-columns-spacing");else if("custom_class"==t);else if("custom_id"==t);else if("bg_video"==t){if(jQuery(".dslc-bg-video video",o).remove(),i&&i.length){var m=i;m=(m=m.replace(".webm","")).replace(".mp4",""),jQuery(".dslc-bg-video-inner",o).html('<video><source type="video/mp4" src="'+m+'.mp4" /><source type="video/webm" src="'+m+'.webm" /></video>'),LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()}}else if("section_divider_top_style"==t||"section_divider_bottom_style"==t){var p="top";"section_divider_bottom_style"==t&&(p="bottom");var h=jQuery('.dslc-section-divider[data-divider-pos="'+p+'"] svg',o).attr("style");if(jQuery('.dslc-section-divider[data-divider-pos="'+p+'"]',o).html(""),i&&i.length){var f=jQuery("#dslc-section-dividers",LiveComposer.Builder.PreviewAreaWindow.document).find("svg#"+i).clone();jQuery('.dslc-section-divider[data-divider-pos="'+p+'"]',o).html(f[0]),void 0!==h&&jQuery('.dslc-section-divider[data-divider-pos="'+p+'"] svg',o).attr("style",h)}}else if("bg_image_thumb"==t)if("enabled"==u){if(jQuery("#dslca-post-data-thumb").length){var v="url('"+jQuery("#dslca-post-data-thumb").val()+"')";d.css(a,v)}}else"disabled"==u&&d.css(a,"none");else{var g;e.data("css-element")&&(d=jQuery(e.data("css-element"),o)),a=a.replace(/ /g,"").split(","),g=null!=e.data("ext")?n:i;for(var y=0;y<a.length;y++)d.css(a[y],g)}if(s.val(u),!LiveComposer.Builder.Flags.generate_code_after_row_changed)return!1}))},w=function(){var e;jQuery(document).on("click",".dslca-module-edit-field-image-add-hook, .dslca-modules-section-edit-field-image-add-hook",(function(){var t=jQuery(this);if(t.hasClass("dslca-module-edit-field-image-add-hook"))var o=t.siblings(".dslca-module-edit-field-image"),i=t.siblings(".dslca-module-edit-field-image-remove-hook");else o=t.siblings(".dslca-modules-section-edit-field-upload"),i=t.siblings(".dslca-modules-section-edit-field-image-remove-hook");(e=wp.media.frames.file_frame=wp.media({title:"Choose Image",button:{text:"Confirm"},multiple:!1})).on("select",(function(){var n=e.state().get("selection").first().toJSON();o.val(n.id);var a=t.parent().attr("data-id");""!=n.alt&&"image"==a&&jQuery('.dslca-module-edit-option-image_alt input[data-id="image_alt"]').val(n.alt),""!=n.title&&"image"==a&&jQuery('.dslca-module-edit-option-image_title input[data-id="image_title"]').val(n.title),jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).find('.dslca-modules-section-settings input[data-id="dslca-img-url"]').val(n.url),o.trigger("change"),t.hide(),i.show()})),e.open()})),jQuery(document).on("click",".dslca-module-edit-field-image-remove-hook, .dslca-modules-section-edit-field-image-remove-hook",(function(){var e=jQuery(this);if(e.hasClass("dslca-module-edit-field-image-remove-hook"))var t=e.siblings(".dslca-module-edit-field-image"),o=e.siblings(".dslca-module-edit-field-image-add-hook");else t=e.siblings(".dslca-modules-section-edit-field-upload"),o=e.siblings(".dslca-modules-section-edit-field-image-add-hook");t.val("").trigger("change"),"image"==e.parent().attr("data-id")&&(jQuery(".dslca-module-edit-option-image_alt input").attr("value","").trigger("change"),jQuery(".dslca-module-edit-option-image_alt input").attr("data-val-bckp","").trigger("change"),jQuery(".dslca-module-edit-option-image_title input").attr("value","").trigger("change"),jQuery(".dslca-module-edit-option-image_title input").attr("data-val-bckp","").trigger("change")),e.hide(),o.show()}))};function b(e){window.dslcDebug&&console.log("dslc_module_options_section_filter"),jQuery(".dslca-module-edit-option").hide(),jQuery('.dslca-module-edit-option[data-section="'+e+'"]').show(),Q()}var j=function(){var e=document.querySelector(".dslca-module-edit-options-tab-hook.dslca-active").dataset.id;"tablet_responsive"!==e&&"phone_responsive"!==e||document.querySelectorAll('.dslca-module-edit-option[data-tab="'+e+'"]').forEach((function(e){var t=e.querySelector(".dslca-module-edit-field").dataset.id;"css_res_t"!==t&&"css_res_p"!==t&&jQuery(".dslca-module-edit-option-"+t).find(".dslca-module-edit-field").val("").trigger("change")}))},Q=function(e){window.dslcDebug&&console.log("elementOptionsTabs");var t=jQuery(".dslca-options-filter-hook.dslca-active").data("section"),o=(e=void 0!==e?e:jQuery('.dslca-module-edit-options-tab-hook[data-section="'+t+'"]:first')).data("id");if(jQuery(".dslca-module-edit-options-tab-hook").removeClass("dslca-active"),e.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="'+t+'"]').show(),o&&(jQuery(".dslca-module-edit-option").hide(),jQuery('.dslca-module-edit-option[data-tab="'+o+'"]').show(),_(),jQuery(".dslca-module-edit-options-tab-hook:visible").length<2?jQuery(".dslca-module-edit-options-tabs").hide():jQuery(".dslca-module-edit-options-tabs").show(),S(),o==DSLCString.str_res_tablet.toLowerCase()+"_responsive"&&(jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet"),jQuery("body").addClass("dslc-res-tablet"),jQuery("html").addClass("dslc-responsive-preview")),o==DSLCString.str_res_phone.toLowerCase()+"_responsive"&&(jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet"),jQuery("body").addClass("dslc-res-phone"),jQuery("html").addClass("dslc-responsive-preview")),o!=DSLCString.str_res_tablet.toLowerCase()+"_responsive"&&o!=DSLCString.str_res_phone.toLowerCase()+"_responsive"||(jQuery(".dslca-container-loader").show(),Ko((function(){jQuery(".dslca-container-loader").hide()})))),jQuery("body").hasClass("rtl")){var i,n=0,a=0;jQuery(".dslca-module-edit-options-wrapper > .dslca-module-edit-option:visible").each((function(e){jQuery(this).hasClass("dslca-module-edit-option-hidden")||jQuery(this).hasClass("dslca-module-control-group")||(n+=parseInt(jQuery(this).outerWidth(),10))})),jQuery(".dslca-module-edit-options-wrapper > .dslca-module-control-group:visible").each((function(e){a+=parseInt(jQuery(this).outerWidth(),10)})),i=parseInt(n)+parseInt(a)+10,jQuery(".dslca-module-edit-options-wrapper").css({width:i+"px"})}};function _(){if(window.dslcDebug&&console.log("dslc_module_options_hideshow_tabs"),"styling"==jQuery(".dslca-options-filter-hook.dslca-active").data("section")){jQuery(".dslca-module-edit");var e=!0,t=!0,o=!0,i=!0,n=!0,a=!0,s=!0,d=!0,r=!0,l=!0,c=!0,u=!0,m=!0,p=!0,h=!0,f=!0,v=!0,g=!0,y=!0,w=!0,b=!0,j=!0,Q=!0,_=!0,C=!0,k=!0,D=!0;jQuery('.dslca-module-edit-field[value="main_heading"]').is(":checked")||(e=!1),jQuery('.dslca-module-edit-field[value="filters"]').is(":checked")||(t=!1),jQuery('.dslca-module-edit-field[value="arrows"]').is(":checked")||(o=!1),jQuery('.dslca-module-edit-field[value="circles"]').is(":checked")||(i=!1),"carousel"!=jQuery('.dslca-module-edit-field[data-id="type"]').val()&&(o=!1,i=!1),"disabled"==jQuery('.dslca-module-edit-field[data-id="pagination_type"]').val()&&(n=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="thumbnail"]').is(":checked")||(a=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="title"]').is(":checked")&&(s=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="excerpt"]').is(":checked")||(d=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="meta"]').is(":checked")||(r=!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")||(c=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="separator"]').is(":checked")||(m=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="count"]').is(":checked")||(u=!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")||(h=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="position"]').is(":checked")||(f=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').is(":checked")&&(v=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').is(":checked")&&(g=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="price"]').is(":checked")||(y=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="price_2"]').is(":checked")||(w=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="addtocart"]').is(":checked")||(b=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="details"]').is(":checked")||(j=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="quote"]').is(":checked")||(Q=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_name"]').is(":checked")||(_=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_position"]').is(":checked")||(C=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="image"]').is(":checked")||(k=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="logo"]').is(":checked")||(D=!1),e?jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').hide(),t?jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').hide(),o?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(),i?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(),n?jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').hide(),a?jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').hide(),s?jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').hide(),d?jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').hide(),r?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(),c?jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').hide(),m?jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').hide(),u?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(),f?jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').hide(),h?jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').hide(),v?jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').hide(),g?jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').hide(),y?jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').hide(),w?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(),b||j?jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').hide(),Q?jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').hide(),_?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(),C?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(),k?jQuery('.dslca-module-edit-options-tab-hook[data-id="image_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="image_styling"]').hide(),D?jQuery('.dslca-module-edit-options-tab-hook[data-id="logo_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="logo_styling"]').hide()}if(jQuery('.dslca-options-filter-hook[data-section="styling"]').hasClass("dslca-active")){var L=jQuery('.dslca-module-edit-option[data-id="css_custom"]');"enabled"==L.find("select").val()?(jQuery('.dslca-module-edit-option[data-section="styling"]').css({visibility:"visible"}),jQuery(".dslca-module-edit-option[data-tab]").css("visibility","visible"),jQuery(".dslca-module-edit-options-tabs").show()):(jQuery('.dslca-module-edit-option[data-section="styling"]').css({visibility:"hidden"}),jQuery(".dslca-module-control-group.dslca-module-edit-option").css("visibility","hidden"),jQuery(".dslca-module-edit-options-tabs").hide(),L.css({visibility:"visible"}))}else jQuery(".dslca-module-edit-options-tabs").show();if("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-tab="tablet_responsive"]').css("visibility","hidden")):(jQuery('.dslca-module-edit-option[data-id*="css_res_t"]').css("visibility","visible"),jQuery('.dslca-module-edit-option[data-tab="tablet_responsive"]').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-tab="phone_responsive"]').css("visibility","hidden")):(jQuery('.dslca-module-edit-option[data-id*="css_res_p"]').css("visibility","visible"),jQuery('.dslca-module-edit-option[data-tab="phone_responsive"]').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"),jQuery(".dslca-options-filter-hook").hasClass("dslca-active")){var x=jQuery(".dslca-options-filter-hook.dslca-active").data("section");jQuery('.dslca-module-edit-option[data-section="'+x+'"]').hasClass("dep-show")&&jQuery(".dslca-module-edit-option.dep-show").show(),jQuery('.dslca-module-edit-option[data-section="'+x+'"]').hasClass("dep-hide")&&jQuery(".dslca-module-edit-option.dep-hide").hide()}if(jQuery(".dslca-module-edit-options-tab-hook").hasClass("dslca-active")){var S=jQuery(".dslca-module-edit-options-tab-hook.dslca-active").data("id");jQuery('.dslca-module-edit-option[data-tab="'+S+'"]').hasClass("dependent")?(jQuery(".dslca-module-edit-option.dependent").hide(),jQuery('.dslca-module-edit-option[data-tab="'+S+'"].dep-show').show(),jQuery('.dslca-module-edit-option[data-tab="'+S+'"].dep-hide').hide()):jQuery(".dslca-module-edit-option.dependent").hide()}}function C(e){window.dslcDebug&&console.log("dslc_module_options_confirm_changes"),e=void 0!==e&&e,jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument).hasClass("dslc-module-DSLC_Sliders")?jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"):(jQuery("body").addClass("dslca-module-saving-in-progress"),Ko((function(){a(),window.dslc_generate_code(),jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"),jQuery("body").removeClass("dslca-module-saving-in-progress"),jQuery(".dslca-module-edit-options-inner").html(""),jQuery(".dslca-module-edit-options-tabs").html(""),window.LiveComposer.Builder.UI.clearUtils(),e&&e()}))),Et(".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(),window.dslc_show_publish_button()}function k(e){window.dslcDebug&&console.log("dslc_module_options_cancel_changes"),e=void 0!==e&&e;var t=jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument);jQuery(".dslca-module-options-front",t).html("").append(window.LiveComposer.Builder.moduleBackup),Ko((function(){window.dslc_generate_code(),jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"),jQuery(".dslca-module-edit-options-inner").html(""),jQuery(".dslca-module-edit-options-tabs").html(""),window.LiveComposer.Builder.UI.clearUtils(),e&&e()})),Et(".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(),window.dslc_show_publish_button(),window.LiveComposer.Builder.UI.clearUtils()}function D(e,t){var o=jQuery(e).closest(".dslca-module-edit-option-icon"),i=jQuery(".dslca-module-edit-field-icon",o),n=v.indexOf(i.val());if("previous"==t)var a=n-1;else a=n+1;jQuery(".dslca-module-edit-field-icon-suggest",o).text(""),a<0&&(a=v.length-1),i.val(v[a]).trigger("change")}function L(e){var t,o,i,n,a,s;window.dslcDebug&&console.log("dslc_module_options_color");var d,r=[],l="dslcColors-"+document.domain;void 0!==localStorage[l]&&(d=JSON.parse(localStorage[l]),r=d),1>r.length&&r.push("#78b"),2>r.length&&r.push("#ab0"),3>r.length&&r.push("#de3"),r.push("#fff"),r.push("#000"),r.push("rgba(0,0,0,0)"),jQuery(e).each((function(){var e=jQuery(this).closest(".dslca-color-option"),d=jQuery(this);jQuery(this).val(),d.wpColorPicker({mode:"hsl",palettes:r,change:function(e,r){t=d;var l=d.wpColorPicker("color");n=null==l?"":l,t.val(n).trigger("change"),t.css("background",n),o=t.data("affect-on-change-el"),i=t.data("affect-on-change-rule"),null!=o&&".dslca-modules-section-being-edited"!==o&&jQuery(o,window.LiveComposer.Builder.PreviewAreaDocument.find(".dslca-module-being-edited")).css(i,n),a=jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument),s=t.data("id"),jQuery('.dslca-module-option-front[data-id="'+s+'"]',a).val(n),a.addClass("dslca-module-change-made")}}),e.find(".wp-picker-holder .iris-picker").append('<button type="button" class="dslca-colorpicker-apply">Apply</button>');var c=e.find(".dslca-colorpicker-apply");d.wpColorPicker("open"),jQuery(c).on("click",(function(){if("#fff"!==n&&"#ffffff"!==n&&"#000"!==n&&"#000000"!==n&&"rgba(0,0,0,0)"!==n)if(void 0===localStorage[l]){var e=[n];localStorage[l]=JSON.stringify(e)}else{-1==(e=JSON.parse(localStorage[l])).indexOf(n)&&(e.unshift(n),3<e.length&&e.pop()),localStorage[l]=JSON.stringify(e)}d.wpColorPicker("close")})),window.LiveComposer.Builder.Helpers.colorpickers.push(jQuery(this))}))}function x(e){window.dslcDebug&&console.log("dslc_module_options_numeric"),jQuery(e).each((function(){var e=jQuery(this);0===jQuery(".dslca-module-edit-field-slider",e).length&&e.append('<div class="dslca-module-edit-field-slider"></div>');var t=!0;if(t=!e.hasClass("dslca-modules-section-edit-option"))var o=e.find(".dslca-module-edit-field");else o=e.find(".dslca-modules-section-edit-field");if(e.hasClass("dslca-modules-section-edit-option"))o=e.find(".dslca-modules-section-edit-field");else o=e.find(".dslca-module-edit-field");var i=e.find(".dslca-module-edit-field-slider"),n=parseFloat(o.val()),a=parseFloat(o.data("max")),s=parseFloat(o.data("min")),d=parseFloat(o.data("increment")),r=!1;if(void 0!==o.data("onlypositive")&&1===o.data("onlypositive")&&(r=!0),n>=a&&(a=2*n),!r&&n<=s&&(s=2*n),i.slider({min:s,max:a,step:d,value:o.val(),slide:function(e,t){o.val(t.value+""),o.trigger("change")},change:function(t,o){(o.value>=a||o.value<=s)&&(i.slider("destroy"),x(e))}}),i.show(),jQuery(e).on("mouseleave",(function(){void 0!==i.slider("instance")&&jQuery(i).slider("destroy"),i.remove()})),!o[0].classList.contains("slider-initiated"))return o[0].classList.add("slider-initiated"),o.on("keyup",(function(e){if(void 0===e)return!1;e.shiftKey&&(38==e.keyCode&&(this.value=(parseInt(this.value)||0)+9,o.trigger("change")),40==e.keyCode&&(this.value=parseInt(this.value)+0-9,o.trigger("change"))),8!=e.keyCode&&45!=e.keyCode||o.trigger("change"),(e.keyCode>=48&&e.keyCode<=57||e.keyCode>=96&&e.keyCode<=105)&&o.trigger("change");var t=e.which?e.which:e.keyCode;return(!(t>=48&&t<=57||t>=96&&t<=105)||8==e.keyCode||39==e.keyCode||37==e.keyCode||46==e.keyCode)&&void 0})),o.on("change",(function(e){r&&this.value<0&&(this.value=0);var o=(t?jQuery(e.target.closest(".dslca-module-edit-option-slider")):jQuery(e.target.closest(".dslca-modules-section-edit-option-slider"))).find(".dslca-module-edit-field-slider");(void 0!==o.slider("instance")&&o.slider("value",this.value),t)&&jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-module-change-made")})),!1}))}function S(){jQuery("html").removeClass("dslc-responsive-preview"),jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet")}
2
  /**!
3
  * Sortable 1.10.1
4
  * @author RubaXa <trash@rubaxa.org>
5
  * @author owenm <owen23355@gmail.com>
6
  * @license MIT
7
  */
8
- function B(e){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function A(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(e[i]=o[i])}return e}).apply(this,arguments)}function E(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},i=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(o).filter((function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable})))),i.forEach((function(t){A(e,t,o[t])}))}return e}function O(e,t){if(null==e)return{};var o,i,n=function(e,t){if(null==e)return{};var o,i,n={},a=Object.keys(e);for(i=0;i<a.length;i++)o=a[i],t.indexOf(o)>=0||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)o=a[i],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function T(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var I=T(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),M=T(/Edge/i),N=T(/firefox/i),F=T(/safari/i)&&!T(/chrome/i)&&!T(/android/i),W=T(/iP(ad|od|hone)/i),U=T(/chrome/i)&&T(/android/i),H={capture:!1,passive:!1};function z(e,t,o){e.addEventListener(t,o,!I&&H)}function R(e,t,o){e.removeEventListener(t,o,!I&&H)}function q(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function X(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Y(e,t,o,i){if(e){o=o||document;do{if(null!=t&&(">"===t[0]?e.parentNode===o&&q(e,t):q(e,t))||i&&e===o)return e;if(e===o)break}while(e=X(e))}return null}var J,G=/\s+/g;function K(e,t,o){if(e&&t)if(e.classList)e.classList[o?"add":"remove"](t);else{var i=(" "+e.className+" ").replace(G," ").replace(" "+t+" "," ");e.className=(i+(o?" "+t:"")).replace(G," ")}}function V(e,t,o){var i=e&&e.style;if(i){if(void 0===o)return document.defaultView&&document.defaultView.getComputedStyle?o=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(o=e.currentStyle),void 0===t?o:o[t];t in i||-1!==t.indexOf("webkit")||(t="-webkit-"+t),i[t]=o+("string"==typeof o?"":"px")}}function $(e,t){var o="";if("string"==typeof e)o=e;else do{var i=V(e,"transform");i&&"none"!==i&&(o=i+" "+o)}while(!t&&(e=e.parentNode));var n=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix;return n&&new n(o)}function Z(e,t,o){if(e){var i=e.getElementsByTagName(t),n=0,a=i.length;if(o)for(;n<a;n++)o(i[n],n);return i}return[]}function ee(){return I?document.documentElement:document.scrollingElement}function te(e,t,o,i,n){if(e.getBoundingClientRect||e===window){var a,s,d,r,l,c,u;if(e!==window&&e!==ee()?(s=(a=e.getBoundingClientRect()).top,d=a.left,r=a.bottom,l=a.right,c=a.height,u=a.width):(s=0,d=0,r=window.innerHeight,l=window.innerWidth,c=window.innerHeight,u=window.innerWidth),(t||o)&&e!==window&&(n=n||e.parentNode,!I))do{if(n&&n.getBoundingClientRect&&("none"!==V(n,"transform")||o&&"static"!==V(n,"position"))){var m=n.getBoundingClientRect();s-=m.top+parseInt(V(n,"border-top-width")),d-=m.left+parseInt(V(n,"border-left-width")),r=s+a.height,l=d+a.width;break}}while(n=n.parentNode);if(i&&e!==window){var p=$(n||e),h=p&&p.a,f=p&&p.d;p&&(r=(s/=f)+(c/=f),l=(d/=h)+(u/=h))}return{top:s,left:d,bottom:r,right:l,width:u,height:c}}}function oe(e,t,o){for(var i=de(e,!0),n=te(e)[t];i;){var a=te(i)[o];if(!("top"===o||"left"===o?n>=a:n<=a))return i;if(i===ee())break;i=de(i,!1)}return!1}function ie(e,t,o){for(var i=0,n=0,a=e.children;n<a.length;){if("none"!==a[n].style.display&&a[n]!==ct.ghost&&a[n]!==ct.dragged&&Y(a[n],o.draggable,e,!1)){if(i===t)return a[n];i++}n++}return null}function ne(e,t){for(var o=e.lastElementChild;o&&(o===ct.ghost||"none"===V(o,"display")||t&&!q(o,t));)o=o.previousElementSibling;return o||null}function ae(e,t){var o=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===ct.clone||t&&!q(e,t)||o++;return o}function se(e){var t=0,o=0,i=ee();if(e)do{var n=$(e),a=n.a,s=n.d;t+=e.scrollLeft*a,o+=e.scrollTop*s}while(e!==i&&(e=e.parentNode));return[t,o]}function de(e,t){if(!e||!e.getBoundingClientRect)return ee();var o=e,i=!1;do{if(o.clientWidth<o.scrollWidth||o.clientHeight<o.scrollHeight){var n=V(o);if(o.clientWidth<o.scrollWidth&&("auto"==n.overflowX||"scroll"==n.overflowX)||o.clientHeight<o.scrollHeight&&("auto"==n.overflowY||"scroll"==n.overflowY)){if(!o.getBoundingClientRect||o===document.body)return ee();if(i||t)return o;i=!0}}}while(o=o.parentNode);return ee()}function re(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function le(e,t){return function(){if(!J){var o=arguments,i=this;1===o.length?e.call(i,o[0]):e.apply(i,o),J=setTimeout((function(){J=void 0}),t)}}}function ce(e,t,o){e.scrollLeft+=t,e.scrollTop+=o}function ue(e){var t=window.Polymer,o=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):o?o(e).clone(!0)[0]:e.cloneNode(!0)}var me="Sortable"+(new Date).getTime();function pe(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==V(e,"display")&&e!==ct.ghost){t.push({target:e,rect:te(e)});var o=E({},t[t.length-1].rect);if(e.thisAnimationDuration){var i=$(e,!0);i&&(o.top-=i.f,o.left-=i.e)}e.fromRect=o}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var o in e)if(e.hasOwnProperty(o))for(var i in t)if(t.hasOwnProperty(i)&&t[i]===e[o][i])return Number(o);return-1}(t,{target:e}),1)},animateAll:function(o){var i=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof o&&o());var n=!1,a=0;t.forEach((function(e){var t=0,o=e.target,s=o.fromRect,d=te(o),r=o.prevFromRect,l=o.prevToRect,c=e.rect,u=$(o,!0);u&&(d.top-=u.f,d.left-=u.e),o.toRect=d,o.thisAnimationDuration&&re(r,d)&&!re(s,d)&&(c.top-d.top)/(c.left-d.left)==(s.top-d.top)/(s.left-d.left)&&(t=function(e,t,o,i){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-o.top,2)+Math.pow(t.left-o.left,2))*i.animation}(c,r,l,i.options)),re(d,s)||(o.prevFromRect=s,o.prevToRect=d,t||(t=i.options.animation),i.animate(o,c,d,t)),t&&(n=!0,a=Math.max(a,t),clearTimeout(o.animationResetTimer),o.animationResetTimer=setTimeout((function(){o.animationTime=0,o.prevFromRect=null,o.fromRect=null,o.prevToRect=null,o.thisAnimationDuration=null}),t),o.thisAnimationDuration=t)})),clearTimeout(e),n?e=setTimeout((function(){"function"==typeof o&&o()}),a):"function"==typeof o&&o(),t=[]},animate:function(e,t,o,i){if(i){V(e,"transition",""),V(e,"transform","");var n=$(this.el),a=n&&n.a,s=n&&n.d,d=(t.left-o.left)/(a||1),r=(t.top-o.top)/(s||1);e.animatingX=!!d,e.animatingY=!!r,V(e,"transform","translate3d("+d+"px,"+r+"px,0)"),function(e){e.offsetWidth}(e),V(e,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),V(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){V(e,"transition",""),V(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),i)}}}}var he=[],fe={initializeByDefault:!0},ve={mount:function(e){for(var t in fe)!fe.hasOwnProperty(t)||t in e||(e[t]=fe[t]);he.push(e)},pluginEvent:function(e,t,o){var i=this;this.eventCanceled=!1,o.cancel=function(){i.eventCanceled=!0};var n=e+"Global";he.forEach((function(i){t[i.pluginName]&&(t[i.pluginName][n]&&t[i.pluginName][n](E({sortable:t},o)),t.options[i.pluginName]&&t[i.pluginName][e]&&t[i.pluginName][e](E({sortable:t},o)))}))},initializePlugins:function(e,t,o,i){for(var n in he.forEach((function(i){var n=i.pluginName;if(e.options[n]||i.initializeByDefault){var a=new i(e,t,e.options);a.sortable=e,a.options=e.options,e[n]=a,P(o,a.defaults)}})),e.options)if(e.options.hasOwnProperty(n)){var a=this.modifyOption(e,n,e.options[n]);void 0!==a&&(e.options[n]=a)}},getEventProperties:function(e,t){var o={};return he.forEach((function(i){"function"==typeof i.eventProperties&&P(o,i.eventProperties.call(t[i.pluginName],e))})),o},modifyOption:function(e,t,o){var i;return he.forEach((function(n){e[n.pluginName]&&n.optionListeners&&"function"==typeof n.optionListeners[t]&&(i=n.optionListeners[t].call(e[n.pluginName],o))})),i}};function ge(e){var t=e.sortable,o=e.rootEl,i=e.name,n=e.targetEl,a=e.cloneEl,s=e.toEl,d=e.fromEl,r=e.oldIndex,l=e.newIndex,c=e.oldDraggableIndex,u=e.newDraggableIndex,m=e.originalEvent,p=e.putSortable,h=e.extraEventProperties;if(t=t||o&&o[me]){var f,v=t.options,g="on"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||I||M?(f=document.createEvent("Event")).initEvent(i,!0,!0):f=new CustomEvent(i,{bubbles:!0,cancelable:!0}),f.to=s||o,f.from=d||o,f.item=n||o,f.clone=a,f.oldIndex=r,f.newIndex=l,f.oldDraggableIndex=c,f.newDraggableIndex=u,f.originalEvent=m,f.pullMode=p?p.lastPutMode:void 0;var y=E({},h,ve.getEventProperties(i,t));for(var w in y)f[w]=y[w];o&&o.dispatchEvent(f),v[g]&&v[g].call(t,f)}}var ye=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=o.evt,n=O(o,["evt"]);ve.pluginEvent.bind(ct)(e,t,E({dragEl:be,parentEl:je,ghostEl:Qe,rootEl:_e,nextEl:Ce,lastDownEl:ke,cloneEl:De,cloneHidden:Le,dragStarted:We,putSortable:Ee,activeSortable:ct.active,originalEvent:i,oldIndex:xe,oldDraggableIndex:Be,newIndex:Se,newDraggableIndex:Ae,hideGhostForTarget:st,unhideGhostForTarget:dt,cloneNowHidden:function(){Le=!0},cloneNowShown:function(){Le=!1},dispatchSortableEvent:function(e){we({sortable:t,name:e,originalEvent:i})}},n))};function we(e){ge(E({putSortable:Ee,cloneEl:De,targetEl:be,rootEl:_e,oldIndex:xe,oldDraggableIndex:Be,newIndex:Se,newDraggableIndex:Ae},e))}var be,je,Qe,_e,Ce,ke,De,Le,xe,Se,Be,Ae,Pe,Ee,Oe,Te,Ie,Me,Ne,Fe,We,Ue,He,ze,Re,qe=!1,Xe=!1,Ye=[],Je=!1,Ge=!1,Ke=[],Ve=!1,$e=[],Ze="undefined"!=typeof document,et=W,tt=M||I?"cssFloat":"float",ot=Ze&&!U&&!W&&"draggable"in document.createElement("div"),it=function(){if(Ze){if(I)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),nt=function(e,t){var o=V(e),i=parseInt(o.width)-parseInt(o.paddingLeft)-parseInt(o.paddingRight)-parseInt(o.borderLeftWidth)-parseInt(o.borderRightWidth),n=ie(e,0,t),a=ie(e,1,t),s=n&&V(n),d=a&&V(a),r=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+te(n).width,l=d&&parseInt(d.marginLeft)+parseInt(d.marginRight)+te(a).width;if("flex"===o.display)return"column"===o.flexDirection||"column-reverse"===o.flexDirection?"vertical":"horizontal";if("grid"===o.display)return o.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(n&&s.float&&"none"!==s.float){var c="left"===s.float?"left":"right";return!a||"both"!==d.clear&&d.clear!==c?"horizontal":"vertical"}return n&&("block"===s.display||"flex"===s.display||"table"===s.display||"grid"===s.display||r>=i&&"none"===o[tt]||a&&"none"===o[tt]&&r+l>i)?"vertical":"horizontal"},at=function(e){function t(e,o){return function(i,n,a,s){var d=i.options.group.name&&n.options.group.name&&i.options.group.name===n.options.group.name;if(null==e&&(o||d))return!0;if(null==e||!1===e)return!1;if(o&&"clone"===e)return e;if("function"==typeof e)return t(e(i,n,a,s),o)(i,n,a,s);var r=(o?i:n).options.group.name;return!0===e||"string"==typeof e&&e===r||e.join&&e.indexOf(r)>-1}}var o={},i=e.group;i&&"object"==B(i)||(i={name:i}),o.name=i.name,o.checkPull=t(i.pull,!0),o.checkPut=t(i.put),o.revertClone=i.revertClone,e.group=o},st=function(){!it&&Qe&&V(Qe,"display","none")},dt=function(){!it&&Qe&&V(Qe,"display","")};Ze&&document.addEventListener("click",(function(e){if(Xe)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Xe=!1,!1}),!0);var rt=function(e){if(be){e=e.touches?e.touches[0]:e;var t=(n=e.clientX,a=e.clientY,Ye.some((function(e){if(!ne(e)){var t=te(e),o=e[me].options.emptyInsertThreshold,i=n>=t.left-o&&n<=t.right+o,d=a>=t.top-o&&a<=t.bottom+o;return o&&i&&d?s=e:void 0}})),s);if(t){var o={};for(var i in e)e.hasOwnProperty(i)&&(o[i]=e[i]);o.target=o.rootEl=t,o.preventDefault=void 0,o.stopPropagation=void 0,t[me]._onDragOver(o)}}var n,a,s},lt=function(e){be&&be.parentNode[me]._isOutsideThisEl(e.target)};function ct(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=P({},t),e[me]=this;var o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return nt(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==ct.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var i in ve.initializePlugins(this,e,o),o)!(i in t)&&(t[i]=o[i]);for(var n in at(t),this)"_"===n.charAt(0)&&"function"==typeof this[n]&&(this[n]=this[n].bind(this));this.nativeDraggable=!t.forceFallback&&ot,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?z(e,"pointerdown",this._onTapStart):(z(e,"mousedown",this._onTapStart),z(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(z(e,"dragover",this),z(e,"dragenter",this)),Ye.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),P(this,pe())}function ut(e,t,o,i,n,a,s,d){var r,l,c=e[me],u=c.options.onMove;return!window.CustomEvent||I||M?(r=document.createEvent("Event")).initEvent("move",!0,!0):r=new CustomEvent("move",{bubbles:!0,cancelable:!0}),r.to=t,r.from=e,r.dragged=o,r.draggedRect=i,r.related=n||t,r.relatedRect=a||te(t),r.willInsertAfter=d,r.originalEvent=s,e.dispatchEvent(r),u&&(l=u.call(c,r,s)),l}function mt(e){e.draggable=!1}function pt(){Ve=!1}function ht(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,o=t.length,i=0;o--;)i+=t.charCodeAt(o);return i.toString(36)}function ft(e){return setTimeout(e,0)}function vt(e){return clearTimeout(e)}ct.prototype={constructor:ct,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(Ue=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,be):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,o=this.el,i=this.options,n=i.preventOnFilter,a=e.type,s=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,d=(s||e).target,r=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||d,l=i.filter;if(function(e){$e.length=0;var t=e.getElementsByTagName("input"),o=t.length;for(;o--;){var i=t[o];i.checked&&$e.push(i)}}(o),!be&&!(/mousedown|pointerdown/.test(a)&&0!==e.button||i.disabled||r.isContentEditable||(d=Y(d,i.draggable,o,!1))&&d.animated||ke===d)){if(xe=ae(d),Be=ae(d,i.draggable),"function"==typeof l){if(l.call(this,e,d,this))return we({sortable:t,rootEl:r,name:"filter",targetEl:d,toEl:o,fromEl:o}),ye("filter",t,{evt:e}),void(n&&e.cancelable&&e.preventDefault())}else if(l&&(l=l.split(",").some((function(i){if(i=Y(r,i.trim(),o,!1))return we({sortable:t,rootEl:i,name:"filter",targetEl:d,fromEl:o,toEl:o}),ye("filter",t,{evt:e}),!0}))))return void(n&&e.cancelable&&e.preventDefault());i.handle&&!Y(r,i.handle,o,!1)||this._prepareDragStart(e,s,d)}}},_prepareDragStart:function(e,t,o){var i,n=this,a=n.el,s=n.options,d=a.ownerDocument;if(o&&!be&&o.parentNode===a){var r=te(o);if(_e=a,je=(be=o).parentNode,Ce=be.nextSibling,ke=o,Pe=s.group,ct.dragged=be,Oe={target:be,clientX:(t||e).clientX,clientY:(t||e).clientY},Ne=Oe.clientX-r.left,Fe=Oe.clientY-r.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,be.style["will-change"]="all",i=function(){ye("delayEnded",n,{evt:e}),ct.eventCanceled?n._onDrop():(n._disableDelayedDragEvents(),!N&&n.nativeDraggable&&(be.draggable=!0),n._triggerDragStart(e,t),we({sortable:n,name:"choose",originalEvent:e}),K(be,s.chosenClass,!0))},s.ignore.split(",").forEach((function(e){Z(be,e.trim(),mt)})),z(d,"dragover",rt),z(d,"mousemove",rt),z(d,"touchmove",rt),z(d,"mouseup",n._onDrop),z(d,"touchend",n._onDrop),z(d,"touchcancel",n._onDrop),N&&this.nativeDraggable&&(this.options.touchStartThreshold=4,be.draggable=!0),ye("delayStart",this,{evt:e}),!s.delay||s.delayOnTouchOnly&&!t||this.nativeDraggable&&(M||I))i();else{if(ct.eventCanceled)return void this._onDrop();z(d,"mouseup",n._disableDelayedDrag),z(d,"touchend",n._disableDelayedDrag),z(d,"touchcancel",n._disableDelayedDrag),z(d,"mousemove",n._delayedDragTouchMoveHandler),z(d,"touchmove",n._delayedDragTouchMoveHandler),s.supportPointer&&z(d,"pointermove",n._delayedDragTouchMoveHandler),n._dragStartTimer=setTimeout(i,s.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){be&&mt(be),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;R(e,"mouseup",this._disableDelayedDrag),R(e,"touchend",this._disableDelayedDrag),R(e,"touchcancel",this._disableDelayedDrag),R(e,"mousemove",this._delayedDragTouchMoveHandler),R(e,"touchmove",this._delayedDragTouchMoveHandler),R(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?z(document,"pointermove",this._onTouchMove):z(document,t?"touchmove":"mousemove",this._onTouchMove):(z(be,"dragend",this),z(_e,"dragstart",this._onDragStart));try{document.selection?ft((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(qe=!1,_e&&be){ye("dragStarted",this,{evt:t}),this.nativeDraggable&&z(document,"dragover",lt);var o=this.options;!e&&K(be,o.dragClass,!1),K(be,o.ghostClass,!0),ct.active=this,e&&this._appendGhost(),we({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Te){this._lastX=Te.clientX,this._lastY=Te.clientY,st();for(var e=document.elementFromPoint(Te.clientX,Te.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Te.clientX,Te.clientY))!==t;)t=e;if(be.parentNode[me]._isOutsideThisEl(e),t)do{if(t[me]){if(t[me]._onDragOver({clientX:Te.clientX,clientY:Te.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);dt()}},_onTouchMove:function(e){if(Oe){var t=this.options,o=t.fallbackTolerance,i=t.fallbackOffset,n=e.touches?e.touches[0]:e,a=Qe&&$(Qe),s=Qe&&a&&a.a,d=Qe&&a&&a.d,r=et&&Re&&se(Re),l=(n.clientX-Oe.clientX+i.x)/(s||1)+(r?r[0]-Ke[0]:0)/(s||1),c=(n.clientY-Oe.clientY+i.y)/(d||1)+(r?r[1]-Ke[1]:0)/(d||1);if(!ct.active&&!qe){if(o&&Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))<o)return;this._onDragStart(e,!0)}if(Qe){a?(a.e+=l-(Ie||0),a.f+=c-(Me||0)):a={a:1,b:0,c:0,d:1,e:l,f:c};var u="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");V(Qe,"webkitTransform",u),V(Qe,"mozTransform",u),V(Qe,"msTransform",u),V(Qe,"transform",u),Ie=l,Me=c,Te=n}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Qe){var e=this.options.fallbackOnBody?document.body:_e,t=te(be,!0,et,!0,e),o=this.options;if(et){for(Re=e;"static"===V(Re,"position")&&"none"===V(Re,"transform")&&Re!==document;)Re=Re.parentNode;Re!==document.body&&Re!==document.documentElement?(Re===document&&(Re=ee()),t.top+=Re.scrollTop,t.left+=Re.scrollLeft):Re=ee(),Ke=se(Re)}K(Qe=be.cloneNode(!0),o.ghostClass,!1),K(Qe,o.fallbackClass,!0),K(Qe,o.dragClass,!0),V(Qe,"transition",""),V(Qe,"transform",""),V(Qe,"box-sizing","border-box"),V(Qe,"margin",0),V(Qe,"top",t.top),V(Qe,"left",t.left),V(Qe,"width",t.width),V(Qe,"height",t.height),V(Qe,"opacity","0.8"),V(Qe,"position",et?"absolute":"fixed"),V(Qe,"zIndex","100000"),V(Qe,"pointerEvents","none"),ct.ghost=Qe,e.appendChild(Qe),V(Qe,"transform-origin",Ne/parseInt(Qe.style.width)*100+"% "+Fe/parseInt(Qe.style.height)*100+"%")}},_onDragStart:function(e,t){var o=this,i=e.dataTransfer,n=o.options;ye("dragStart",this,{evt:e}),ct.eventCanceled?this._onDrop():(ye("setupClone",this),ct.eventCanceled||((De=ue(be)).draggable=!1,De.style["will-change"]="",this._hideClone(),K(De,this.options.chosenClass,!1),ct.clone=De),o.cloneId=ft((function(){ye("clone",o),ct.eventCanceled||(o.options.removeCloneOnHide||_e.insertBefore(De,be),o._hideClone(),we({sortable:o,name:"clone"}))})),!t&&K(be,n.dragClass,!0),t?(Xe=!0,o._loopId=setInterval(o._emulateDragOver,50)):(R(document,"mouseup",o._onDrop),R(document,"touchend",o._onDrop),R(document,"touchcancel",o._onDrop),i&&(i.effectAllowed="move",n.setData&&n.setData.call(o,i,be)),z(document,"drop",o),V(be,"transform","translateZ(0)")),qe=!0,o._dragStartId=ft(o._dragStarted.bind(o,t,e)),z(document,"selectstart",o),We=!0,F&&V(document.body,"user-select","none"))},_onDragOver:function(e){var t,o,i,n,a=this.el,s=e.target,d=this.options,r=d.group,l=ct.active,c=Pe===r,u=d.sort,m=Ee||l,p=this,h=!1;if(!Ve){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),s=Y(s,d.draggable,a,!0),x("dragOver"),ct.eventCanceled)return h;if(be.contains(e.target)||s.animated&&s.animatingX&&s.animatingY||p._ignoreWhileAnimating===s)return B(!1);if(Xe=!1,l&&!d.disabled&&(c?u||(i=!_e.contains(be)):Ee===this||(this.lastPutMode=Pe.checkPull(this,l,be,e))&&r.checkPut(this,l,be,e))){if(n="vertical"===this._getDirection(e,s),t=te(be),x("dragOverValid"),ct.eventCanceled)return h;if(i)return je=_e,S(),this._hideClone(),x("revert"),ct.eventCanceled||(Ce?_e.insertBefore(be,Ce):_e.appendChild(be)),B(!0);var f=ne(a,d.draggable);if(!f||function(e,t,o){var i=te(ne(o.el,o.options.draggable));return t?e.clientX>i.right+10||e.clientX<=i.right&&e.clientY>i.bottom&&e.clientX>=i.left:e.clientX>i.right&&e.clientY>i.top||e.clientX<=i.right&&e.clientY>i.bottom+10}(e,n,this)&&!f.animated){if(f===be)return B(!1);if(f&&a===e.target&&(s=f),s&&(o=te(s)),!1!==ut(_e,a,be,t,s,o,e,!!s))return S(),a.appendChild(be),je=a,A(),B(!0)}else if(s.parentNode===a){o=te(s);var v,g,y,w=be.parentNode!==a,b=!function(e,t,o){var i=o?e.left:e.top,n=o?e.right:e.bottom,a=o?e.width:e.height,s=o?t.left:t.top,d=o?t.right:t.bottom,r=o?t.width:t.height;return i===s||n===d||i+a/2===s+r/2}(be.animated&&be.toRect||t,s.animated&&s.toRect||o,n),j=n?"top":"left",Q=oe(s,"top","top")||oe(be,"top","top"),_=Q?Q.scrollTop:void 0;if(Ue!==s&&(g=o[j],Je=!1,Ge=!b&&d.invertSwap||w),0!==(v=function(e,t,o,i,n,a,s,d){var r=i?e.clientY:e.clientX,l=i?o.height:o.width,c=i?o.top:o.left,u=i?o.bottom:o.right,m=!1;if(!s)if(d&&ze<l*n){if(!Je&&(1===He?r>c+l*a/2:r<u-l*a/2)&&(Je=!0),Je)m=!0;else if(1===He?r<c+ze:r>u-ze)return-He}else if(r>c+l*(1-n)/2&&r<u-l*(1-n)/2)return function(e){return ae(be)<ae(e)?1:-1}(t);if((m=m||s)&&(r<c+l*a/2||r>u-l*a/2))return r>c+l/2?1:-1;return 0}(e,s,o,n,b?1:d.swapThreshold,null==d.invertedSwapThreshold?d.swapThreshold:d.invertedSwapThreshold,Ge,Ue===s))){var C=ae(be);do{C-=v,y=je.children[C]}while(y&&("none"===V(y,"display")||y===Qe))}if(0===v||y===s)return B(!1);Ue=s,He=v;var k=s.nextElementSibling,D=!1,L=ut(_e,a,be,t,s,o,e,D=1===v);if(!1!==L)return 1!==L&&-1!==L||(D=1===L),Ve=!0,setTimeout(pt,30),S(),D&&!k?a.appendChild(be):s.parentNode.insertBefore(be,D?k:s),Q&&ce(Q,0,_-Q.scrollTop),je=be.parentNode,void 0===g||Ge||(ze=Math.abs(g-te(s)[j])),A(),B(!0)}if(a.contains(be))return B(!1)}return!1}function x(d,r){ye(d,p,E({evt:e,isOwner:c,axis:n?"vertical":"horizontal",revert:i,dragRect:t,targetRect:o,canSort:u,fromSortable:m,target:s,completed:B,onMove:function(o,i){return ut(_e,a,be,t,o,te(o),e,i)},changed:A},r))}function S(){x("dragOverAnimationCapture"),p.captureAnimationState(),p!==m&&m.captureAnimationState()}function B(t){return x("dragOverCompleted",{insertion:t}),t&&(c?l._hideClone():l._showClone(p),p!==m&&(K(be,Ee?Ee.options.ghostClass:l.options.ghostClass,!1),K(be,d.ghostClass,!0)),Ee!==p&&p!==ct.active?Ee=p:p===ct.active&&Ee&&(Ee=null),m===p&&(p._ignoreWhileAnimating=s),p.animateAll((function(){x("dragOverAnimationComplete"),p._ignoreWhileAnimating=null})),p!==m&&(m.animateAll(),m._ignoreWhileAnimating=null)),(s===be&&!be.animated||s===a&&!s.animated)&&(Ue=null),d.dragoverBubble||e.rootEl||s===document||(be.parentNode[me]._isOutsideThisEl(e.target),!t&&rt(e)),!d.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),h=!0}function A(){Se=ae(be),Ae=ae(be,d.draggable),we({sortable:p,name:"change",toEl:a,newIndex:Se,newDraggableIndex:Ae,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){R(document,"mousemove",this._onTouchMove),R(document,"touchmove",this._onTouchMove),R(document,"pointermove",this._onTouchMove),R(document,"dragover",rt),R(document,"mousemove",rt),R(document,"touchmove",rt)},_offUpEvents:function(){var e=this.el.ownerDocument;R(e,"mouseup",this._onDrop),R(e,"touchend",this._onDrop),R(e,"pointerup",this._onDrop),R(e,"touchcancel",this._onDrop),R(document,"selectstart",this)},_onDrop:function(e){var t=this.el,o=this.options;Se=ae(be),Ae=ae(be,o.draggable),ye("drop",this,{evt:e}),je=be&&be.parentNode,Se=ae(be),Ae=ae(be,o.draggable),ct.eventCanceled?this._nulling():(qe=!1,Ge=!1,Je=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),vt(this.cloneId),vt(this._dragStartId),this.nativeDraggable&&(R(document,"drop",this),R(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),F&&V(document.body,"user-select",""),e&&(We&&(e.cancelable&&e.preventDefault(),!o.dropBubble&&e.stopPropagation()),Qe&&Qe.parentNode&&Qe.parentNode.removeChild(Qe),(_e===je||Ee&&"clone"!==Ee.lastPutMode)&&De&&De.parentNode&&De.parentNode.removeChild(De),be&&(this.nativeDraggable&&R(be,"dragend",this),mt(be),be.style["will-change"]="",We&&!qe&&K(be,Ee?Ee.options.ghostClass:this.options.ghostClass,!1),K(be,this.options.chosenClass,!1),we({sortable:this,name:"unchoose",toEl:je,newIndex:null,newDraggableIndex:null,originalEvent:e}),_e!==je?(Se>=0&&(we({rootEl:je,name:"add",toEl:je,fromEl:_e,originalEvent:e}),we({sortable:this,name:"remove",toEl:je,originalEvent:e}),we({rootEl:je,name:"sort",toEl:je,fromEl:_e,originalEvent:e}),we({sortable:this,name:"sort",toEl:je,originalEvent:e})),Ee&&Ee.save()):Se!==xe&&Se>=0&&(we({sortable:this,name:"update",toEl:je,originalEvent:e}),we({sortable:this,name:"sort",toEl:je,originalEvent:e})),ct.active&&(null!=Se&&-1!==Se||(Se=xe,Ae=Be),we({sortable:this,name:"end",toEl:je,originalEvent:e}),this.save()))),this._nulling())},_nulling:function(){ye("nulling",this),_e=be=je=Qe=Ce=De=ke=Le=Oe=Te=We=Se=Ae=xe=Be=Ue=He=Ee=Pe=ct.dragged=ct.ghost=ct.clone=ct.active=null,$e.forEach((function(e){e.checked=!0})),$e.length=Ie=Me=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":be&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],o=this.el.children,i=0,n=o.length,a=this.options;i<n;i++)Y(e=o[i],a.draggable,this.el,!1)&&t.push(e.getAttribute(a.dataIdAttr)||ht(e));return t},sort:function(e){var t={},o=this.el;this.toArray().forEach((function(e,i){var n=o.children[i];Y(n,this.options.draggable,o,!1)&&(t[e]=n)}),this),e.forEach((function(e){t[e]&&(o.removeChild(t[e]),o.appendChild(t[e]))}))},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return Y(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var o=this.options;if(void 0===t)return o[e];var i=ve.modifyOption(this,e,t);o[e]=void 0!==i?i:t,"group"===e&&at(o)},destroy:function(){ye("destroy",this);var e=this.el;e[me]=null,R(e,"mousedown",this._onTapStart),R(e,"touchstart",this._onTapStart),R(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(R(e,"dragover",this),R(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),Ye.splice(Ye.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Le){if(ye("hideClone",this),ct.eventCanceled)return;V(De,"display","none"),this.options.removeCloneOnHide&&De.parentNode&&De.parentNode.removeChild(De),Le=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(Le){if(ye("showClone",this),ct.eventCanceled)return;_e.contains(be)&&!this.options.group.revertClone?_e.insertBefore(De,be):Ce?_e.insertBefore(De,Ce):_e.appendChild(De),this.options.group.revertClone&&this.animate(be,De),V(De,"display",""),Le=!1}}else this._hideClone()}},Ze&&z(document,"touchmove",(function(e){(ct.active||qe)&&e.cancelable&&e.preventDefault()})),ct.utils={on:z,off:R,css:V,find:Z,is:function(e,t){return!!Y(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o]);return e},throttle:le,closest:Y,toggleClass:K,clone:ue,index:ae,nextTick:ft,cancelNextTick:vt,detectDirection:nt,getChild:ie},ct.get=function(e){return e[me]},ct.mount=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(ct.utils=E({},ct.utils,e.utils)),ve.mount(e)}))},ct.create=function(e,t){return new ct(e,t)},ct.version="1.10.1";var gt,yt,wt,bt,jt,Qt,_t=[],Ct=!1;function kt(){_t.forEach((function(e){clearInterval(e.pid)})),_t=[]}function Dt(){clearInterval(Qt)}var Lt=le((function(e,t,o,i){if(t.scroll){var n,a=(e.touches?e.touches[0]:e).clientX,s=(e.touches?e.touches[0]:e).clientY,d=t.scrollSensitivity,r=t.scrollSpeed,l=ee(),c=!1;yt!==o&&(yt=o,kt(),gt=t.scroll,n=t.scrollFn,!0===gt&&(gt=de(o,!0)));var u=0,m=gt;do{var p=m,h=te(p),f=h.top,v=h.bottom,g=h.left,y=h.right,w=h.width,b=h.height,j=void 0,Q=void 0,_=p.scrollWidth,C=p.scrollHeight,k=V(p),D=p.scrollLeft,L=p.scrollTop;p===l?(j=w<_&&("auto"===k.overflowX||"scroll"===k.overflowX||"visible"===k.overflowX),Q=b<C&&("auto"===k.overflowY||"scroll"===k.overflowY||"visible"===k.overflowY)):(j=w<_&&("auto"===k.overflowX||"scroll"===k.overflowX),Q=b<C&&("auto"===k.overflowY||"scroll"===k.overflowY));var x=j&&(Math.abs(y-a)<=d&&D+w<_)-(Math.abs(g-a)<=d&&!!D),S=Q&&(Math.abs(v-s)<=d&&L+b<C)-(Math.abs(f-s)<=d&&!!L);if(!_t[u])for(var B=0;B<=u;B++)_t[B]||(_t[B]={});_t[u].vx==x&&_t[u].vy==S&&_t[u].el===p||(_t[u].el=p,_t[u].vx=x,_t[u].vy=S,clearInterval(_t[u].pid),0==x&&0==S||(c=!0,_t[u].pid=setInterval(function(){i&&0===this.layer&&ct.active._onTouchMove(jt);var t=_t[this.layer].vy?_t[this.layer].vy*r:0,o=_t[this.layer].vx?_t[this.layer].vx*r:0;"function"==typeof n&&"continue"!==n.call(ct.dragged.parentNode[me],o,t,e,jt,_t[this.layer].el)||ce(_t[this.layer].el,o,t)}.bind({layer:u}),24))),u++}while(t.bubbleScroll&&m!==l&&(m=de(m,!1)));Ct=c}}),30),xt=function(e){var t=e.originalEvent,o=e.putSortable,i=e.dragEl,n=e.activeSortable,a=e.dispatchSortableEvent,s=e.hideGhostForTarget,d=e.unhideGhostForTarget;if(t){var r=o||n;s();var l=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,c=document.elementFromPoint(l.clientX,l.clientY);d(),r&&!r.el.contains(c)&&(a("spill"),this.onSpill({dragEl:i,putSortable:o}))}};function St(){}function Bt(){}St.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,o=e.putSortable;this.sortable.captureAnimationState(),o&&o.captureAnimationState();var i=ie(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(t,i):this.sortable.el.appendChild(t),this.sortable.animateAll(),o&&o.animateAll()},drop:xt},P(St,{pluginName:"revertOnSpill"}),Bt.prototype={onSpill:function(e){var t=e.dragEl,o=e.putSortable||this.sortable;o.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),o.animateAll()},drop:xt},P(Bt,{pluginName:"removeOnSpill"});ct.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?z(document,"dragover",this._handleAutoScroll):this.options.supportPointer?z(document,"pointermove",this._handleFallbackAutoScroll):t.touches?z(document,"touchmove",this._handleFallbackAutoScroll):z(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?R(document,"dragover",this._handleAutoScroll):(R(document,"pointermove",this._handleFallbackAutoScroll),R(document,"touchmove",this._handleFallbackAutoScroll),R(document,"mousemove",this._handleFallbackAutoScroll)),Dt(),kt(),clearTimeout(J),J=void 0},nulling:function(){jt=yt=gt=Ct=Qt=wt=bt=null,_t.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var o=this,i=(e.touches?e.touches[0]:e).clientX,n=(e.touches?e.touches[0]:e).clientY,a=document.elementFromPoint(i,n);if(jt=e,t||M||I||F){Lt(e,this.options,a,t);var s=de(a,!0);!Ct||Qt&&i===wt&&n===bt||(Qt&&Dt(),Qt=setInterval((function(){var a=de(document.elementFromPoint(i,n),!0);a!==s&&(s=a,kt()),Lt(e,o.options,a,t)}),10),wt=i,bt=n)}else{if(!this.options.bubbleScroll||de(a,!0)===ee())return void kt();Lt(e,this.options,de(a,!1),!1)}}},P(e,{pluginName:"scroll",initializeByDefault:!0})}),ct.mount(Bt,St);var At=ct;window.onerror=function(e,t,o,i){Nt(e,t,o,i)},jQuery(document).on("click",".dslca-show-js-error-hook",(function(e){e.preventDefault();var t=document.getElementById("dslca-js-errors-report");jQuery("body").hasClass("dslca-saving-in-progress")||n({title:'<a href="https://livecomposerplugin.com/support/" target="_blank"><span class="dslca-icon dslc-icon-comment"></span> &nbsp; Get Support Info</a>',content:'<span class="dslca-error-report">'+t.value+"</span>"})})),jQuery(document).ready((function(e){var t,o;jQuery("#page-builder-frame")[0].contentWindow.onerror=function(e,t,o,i){Nt(e,t,o,i)},t=document.getElementById("dslca-js-errors-report"),null!==(o=localStorage.getItem("js_errors_report"))&&(t.value=o,localStorage.removeItem("js_errors_report"),document.querySelector(".dslca-show-js-error-hook").setAttribute("style","visibility:visible")),jQuery("body").addClass("dslca-enabled dslca-drag-not-in-progress"),jQuery(".dslca-invisible-overlay").hide(),jQuery(".dslca-section").eq(0).show()})),jQuery(document).on("click",".dslca-currently-editing",(function(){var e=!1,t=!1;if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length?(e=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),"#5890e5"):jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length&&(e=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument),"#eabba9"),e){(t=e.offset().top-100)<0&&(t=0);jQuery("html, body",LiveComposer.Builder.PreviewAreaDocument).animate({scrollTop:t},300,(function(){e.removeAttr("style")}))}})),jQuery(window).keypress((function(e){if((e.metaKey||e.ctrlKey)&&83==e.keyCode)return dslc_ajax_save_composer(),e.preventDefault(),!1})),jQuery(document).on("click",".dslca-hide-composer-hook",(function(e){e.preventDefault(),function(){window.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("body",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-composer-hidden"),LiveComposer.Builder.Flags.uiHidden=!0,jQuery(".dslca-container").css({bottom:-1*jQuery(".dslca-container").outerHeight()}),jQuery(".dslca-header").hide()}()})),jQuery(document).on("click",".dslca-show-composer-hook",(function(e){e.preventDefault(),function(){window.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("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-composer-hidden"),LiveComposer.Builder.Flags.uiHidden=!1,jQuery(".dslca-container").css({bottom:0}),jQuery(".dslca-header").show()}()})),jQuery(document).on("click",".dslca-go-to-modules-hook",(function(e){e.preventDefault(),Et(".dslca-modules")})),jQuery(document).on("click",".dslca-go-to-section-hook",(function(e){if(e.preventDefault(),!jQuery(this).hasClass("dslca-active")){var t=jQuery(this).data("section");Et(t),(jQuery(this).hasClass("dslca-go-to-section-modules")||jQuery(this).hasClass("dslca-go-to-section-templates"))&&jQuery(this).addClass("dslca-active").siblings(".dslca-go-to-section-hook").removeClass("dslca-active")}})),jQuery(document).on("click",".dslca-close-composer-hook",(function(e){e.preventDefault();var t=jQuery(this).attr("href");!jQuery("body").hasClass("dslca-saving-in-progress")&&jQuery(".dslca-save-composer").is(":visible")?n({title:DSLCString.str_exit_title,content:DSLCString.str_exit_descr,confirm:function(){window.location=t}}):window.location=t})),jQuery(document).on("click",".dslca-submit",(function(){jQuery(this).closest("form").submit()})),jQuery(document).on("click",".dslca-section-title",(function(e){e.stopPropagation(),jQuery(".dslca-section-title-filter",this).length&&(!function(){window.dslcDebug&&console.log("dslc_generate_filters");var e,t=[],o='<a html="#" data-origin="">Show All</a>';jQuery(".dslca-section:visible .dslca-origin").each((function(){e=jQuery(this),-1==jQuery.inArray(e.data("origin"),t)&&(t.push(e.data("origin")),o+='<a href="#" data-origin="'+e.data("origin")+'">'+e.data("origin")+"</a>")})),jQuery(".dslca-section:visible .dslca-section-title-filter-options").html(o).css("background",jQuery(".dslca-section:visible").data("bg"))}(),jQuery(".dslca-section-title-filter-options").slideToggle(300))})),jQuery(document).on("click",".dslca-section-title-filter-options a",(function(e){e.preventDefault(),e.stopPropagation();var t=jQuery(this).data("origin"),o=jQuery(this).closest(".dslca-section");o.hasClass("dslca-templates-load"),jQuery(".dslca-section-title-filter-curr",o).text(jQuery(this).text()),jQuery(".dslca-section-scroller-inner").css({left:0}),function(e,t){window.dslcDebug&&console.log("dslc_filter_origin");jQuery(".dslca-origin",t).attr("data-display-module","false"),jQuery('.dslca-origin[data-origin="'+e+'"]',t).attr("data-display-module","true"),""==e&&(jQuery(".dslca-origin",t).attr("data-display-module","true"),jQuery(".dslca-origin.dslca-exclude",t).attr("data-display-module","false"))}(t,o),jQuery(".dslca-section-title-filter-options").slideToggle(300)})),window.dslc_show_publish_button=function(){window.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")};var Pt=function(){window.dslcDebug&&console.log("hidePublishButton"),jQuery(".dslca-save-composer").hide(),jQuery(".dslca-save-draft-composer").hide()},Et=function(e){window.dslcDebug&&console.log("showSection");jQuery(e).data("title"),jQuery(e).data("bg");jQuery(".dslca-container").css({bottom:-500}),jQuery(".dslca-section").hide(),jQuery(e).show(),".dslca-module-edit"==e?jQuery(".dslca-currently-editing").show().find("strong").text(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).attr("title")+" element"):".dslca-modules-section-edit"==e?jQuery(".dslca-currently-editing").show().css("background-color","#e5855f").find("strong").text("Row"):jQuery(".dslca-currently-editing").hide().find("strong").text(""),Q(),jQuery(".dslca-container").css({bottom:0}),jQuery(e).find("input.dslca-module-edit-field-colorpicker").each((function(e){jQuery(this).css("background",jQuery(this).val())}))};function Ot(e){if(void 0===e&&(e=!1),e){var t=jQuery(".dslca-module-edit-option-"+e),o=t.find(".dslca-module-edit-field"),i=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument)[0].id,n="";"tablet_responsive"===t.data("tab")?n="body.dslc-res-tablet ":"phone_responsive"===t.data("tab")&&(n="body.dslc-res-phone ");var a=o.data("affect-on-change-el");if(void 0!==a){var s=a.split(",");a="";for(var d=0;d<s.length;d++)d>0&&(a+=", "),a+=n+"#"+i+" "+s[d];var r,l=o.data("affect-on-change-rule").replace(/ /g,"").split(","),c=o.data("ext");if(t.toggleClass("dslca-option-off"),t.hasClass("dslca-option-off")){r=It(e),o.data("val-bckp",r);for(d=0;d<l.length;d++)jQuery(a,LiveComposer.Builder.PreviewAreaDocument).css(l[d],""),Tt(a,l[d],i);o.val("").trigger("change")}else{o.val(o.data("val-bckp")).trigger("change"),r=function(e,t){if(""===e||null===e)return e;-1==e.indexOf(t)&&(e+=t);return e}(r=It(e),c||"");for(d=0;d<l.length;d++){var u=a+"{"+l[d]+": "+r+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:t,rule:l[d],elems:a.replace(new RegExp("#"+i,"gi"),"").trim(),styleContent:u})}}}}}function Tt(e,t,o){var i,n="css-for-"+o,a=document.getElementById("page-builder-frame").contentWindow.document.getElementById(n);if(e=e.replace(/\s\s+/g," "),a){(a=a.sheet).rules?i="rules":a.cssRules&&(i="cssRules");for(var s=0;s<a[i].length;s++)if(a[i][s].selectorText==e&&a[i][s].style[t]){a[i][s].style[t]="";break}}}function It(e){return jQuery(".dslca-module-edit-option-"+e).find(".dslca-module-edit-field").val()}jQuery(document).ready((function(e){jQuery(document).on("click",".dslca-module-edit-option .dslc-control-toggle",(function(e){e.preventDefault(),Ot(jQuery(e.target).closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("id"))})),jQuery(document).on("mousedown",".dslca-module-edit-option",(function(e){var t=jQuery(".dslc-control-toggle");t.is(e.target)||0!==t.has(e.target).length||jQuery(e.target).closest(".dslca-module-edit-option").hasClass("dslca-option-off")&&Ot(jQuery(e.target).closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("id"))}))}));var Mt=function(){jQuery([document,LiveComposer.Builder.PreviewAreaWindow.document]).unbind("keydown").bind("keydown",(function(e){var t;window.dslc_modal_keypress_events(e),function(e){var t=!1;if(8===e.keyCode){var o=e.srcElement||e.target;t=!("INPUT"===o.tagName.toUpperCase()&&("TEXT"===o.type.toUpperCase()||"PASSWORD"===o.type.toUpperCase()||"NUMBER"===o.type.toUpperCase()||"FILE"===o.type.toUpperCase())||"TEXTAREA"===o.tagName.toUpperCase()||jQuery(o).hasClass("dslca-editable-content")||jQuery(o).hasClass("dslc-tabs-nav-hook-title")||jQuery(o).hasClass("dslc-accordion-title"))||(o.readOnly||o.disabled)}t&&e.preventDefault()}(e),(116==(t=e).which||82===t.which&&t.metaKey)&&(null===jQuery(".dslca-save-composer-hook").offsetParent&&null===jQuery(".dslca-module-edit-save").offsetParent||(t.preventDefault(),n({title:DSLCString.str_refresh_title,content:DSLCString.str_refresh_descr,confirm:function(){window.location.reload()}}))),function(e){if(83==e.which&&(e.metaKey||e.ctrlKey)&&"block"==jQuery(".dslca-save-composer-hook").css("display"))dslc_save_composer(),e.preventDefault()}(e),function(e){(e.metaKey||e.ctrlKey)&&LiveComposer.Builder.PreviewAreaWindow.document.querySelector("body").classList.add("key-press-cmd")}(e)})),jQuery([document,LiveComposer.Builder.PreviewAreaWindow.document]).unbind("keyup").bind("keyup",(function(e){"Meta"===e.key&&LiveComposer.Builder.PreviewAreaWindow.document.querySelector("body").classList.remove("key-press-cmd")}))};function Nt(e,t,o,i){var n="JavaScript error detected in a third-party plugin";null!=t.match("wp-content/plugins/live-composer-page-builder/js")&&(n="Live Composer returned JS error");var a="";a+='<br /><strong style="color:#E55F5F;">'+n+"</strong><br />",a+=e+'<br /> File "'+t+'", line '+o+", char "+i+"<br />","undefined"!=typeof Storage&&localStorage.setItem("js_errors_report",a)}jQuery(document).on("editorFrameLoaded",(function(){jQuery;var e=jQuery("div[data-hf]",LiveComposer.Builder.PreviewAreaDocument),t="";e.each((function(e,o){var i=jQuery(o).data("editing-link"),n=(jQuery(o).data("editing-type"),jQuery(o).data("editing-label")),a=jQuery(o).data("editing-sublabel");t+='<div class="dslc-hf-block-overlay"><a target="_blank" href="'+i+'" class="dslc-hf-block-overlay-button dslca-link">'+n+"</a>",void 0!==a&&(t+=' <span class="dslc-hf-block-overlay-text">'+a+"</span>"),t+="</div>";var s=document.createElement("div");s.innerHTML=t,o.append(s)}))}));var Ft={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},Wt={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},Ut=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective"],Ht={CSS:{},springs:{}};function zt(e,t,o){return Math.min(Math.max(e,t),o)}function Rt(e,t){return e.indexOf(t)>-1}function qt(e,t){return e.apply(null,t)}var Xt={arr:function(e){return Array.isArray(e)},obj:function(e){return Rt(Object.prototype.toString.call(e),"Object")},pth:function(e){return Xt.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||Xt.svg(e)},str:function(e){return"string"==typeof e},fnc:function(e){return"function"==typeof e},und:function(e){return void 0===e},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return Xt.hex(e)||Xt.rgb(e)||Xt.hsl(e)},key:function(e){return!Ft.hasOwnProperty(e)&&!Wt.hasOwnProperty(e)&&"targets"!==e&&"keyframes"!==e}};function Yt(e){var t=/\(([^)]+)\)/.exec(e);return t?t[1].split(",").map((function(e){return parseFloat(e)})):[]}function Jt(e,t){var o=Yt(e),i=zt(Xt.und(o[0])?1:o[0],.1,100),n=zt(Xt.und(o[1])?100:o[1],.1,100),a=zt(Xt.und(o[2])?10:o[2],.1,100),s=zt(Xt.und(o[3])?0:o[3],.1,100),d=Math.sqrt(n/i),r=a/(2*Math.sqrt(n*i)),l=r<1?d*Math.sqrt(1-r*r):0,c=1,u=r<1?(r*d-s)/l:-s+d;function m(e){var o=t?t*e/1e3:e;return o=r<1?Math.exp(-o*r*d)*(c*Math.cos(l*o)+u*Math.sin(l*o)):(c+u*o)*Math.exp(-o*d),0===e||1===e?e:1-o}return t?m:function(){var t=Ht.springs[e];if(t)return t;for(var o=0,i=0;;)if(1===m(o+=1/6)){if(++i>=16)break}else i=0;var n=o*(1/6)*1e3;return Ht.springs[e]=n,n}}function Gt(e){return void 0===e&&(e=10),function(t){return Math.round(t*e)*(1/e)}}var Kt,Vt,$t=function(){var e=11,t=1/(e-1);function o(e,t){return 1-3*t+3*e}function i(e,t){return 3*t-6*e}function n(e){return 3*e}function a(e,t,a){return((o(t,a)*e+i(t,a))*e+n(t))*e}function s(e,t,a){return 3*o(t,a)*e*e+2*i(t,a)*e+n(t)}return function(o,i,n,d){if(0<=o&&o<=1&&0<=n&&n<=1){var r=new Float32Array(e);if(o!==i||n!==d)for(var l=0;l<e;++l)r[l]=a(l*t,o,n);return function(e){return o===i&&n===d?e:0===e||1===e?e:a(c(e),i,d)}}function c(i){for(var d=0,l=1,c=e-1;l!==c&&r[l]<=i;++l)d+=t;--l;var u=d+(i-r[l])/(r[l+1]-r[l])*t,m=s(u,o,n);return m>=.001?function(e,t,o,i){for(var n=0;n<4;++n){var d=s(t,o,i);if(0===d)return t;t-=(a(t,o,i)-e)/d}return t}(i,u,o,n):0===m?u:function(e,t,o,i,n){var s,d,r=0;do{(s=a(d=t+(o-t)/2,i,n)-e)>0?o=d:t=d}while(Math.abs(s)>1e-7&&++r<10);return d}(i,d,d+t,o,n)}}}(),Zt=(Kt={linear:function(){return function(e){return e}}},Vt={Sine:function(){return function(e){return 1-Math.cos(e*Math.PI/2)}},Circ:function(){return function(e){return 1-Math.sqrt(1-e*e)}},Back:function(){return function(e){return e*e*(3*e-2)}},Bounce:function(){return function(e){for(var t,o=4;e<((t=Math.pow(2,--o))-1)/11;);return 1/Math.pow(4,3-o)-7.5625*Math.pow((3*t-2)/22-e,2)}},Elastic:function(e,t){void 0===e&&(e=1),void 0===t&&(t=.5);var o=zt(e,1,10),i=zt(t,.1,2);return function(e){return 0===e||1===e?e:-o*Math.pow(2,10*(e-1))*Math.sin((e-1-i/(2*Math.PI)*Math.asin(1/o))*(2*Math.PI)/i)}}},["Quad","Cubic","Quart","Quint","Expo"].forEach((function(e,t){Vt[e]=function(){return function(e){return Math.pow(e,t+2)}}})),Object.keys(Vt).forEach((function(e){var t=Vt[e];Kt["easeIn"+e]=t,Kt["easeOut"+e]=function(e,o){return function(i){return 1-t(e,o)(1-i)}},Kt["easeInOut"+e]=function(e,o){return function(i){return i<.5?t(e,o)(2*i)/2:1-t(e,o)(-2*i+2)/2}}})),Kt);function eo(e,t){if(Xt.fnc(e))return e;var o=e.split("(")[0],i=Zt[o],n=Yt(e);switch(o){case"spring":return Jt(e,t);case"cubicBezier":return qt($t,n);case"steps":return qt(Gt,n);default:return qt(i,n)}}function to(e){try{return document.querySelectorAll(e)}catch(e){return}}function oo(e,t){for(var o=e.length,i=arguments.length>=2?arguments[1]:void 0,n=[],a=0;a<o;a++)if(a in e){var s=e[a];t.call(i,s,a,e)&&n.push(s)}return n}function io(e){return e.reduce((function(e,t){return e.concat(Xt.arr(t)?io(t):t)}),[])}function no(e){return Xt.arr(e)?e:(Xt.str(e)&&(e=to(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function ao(e,t){return e.some((function(e){return e===t}))}function so(e){var t={};for(var o in e)t[o]=e[o];return t}function ro(e,t){var o=so(e);for(var i in e)o[i]=t.hasOwnProperty(i)?t[i]:e[i];return o}function lo(e,t){var o=so(e);for(var i in t)o[i]=Xt.und(e[i])?t[i]:e[i];return o}function co(e){return Xt.rgb(e)?(o=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(t=e))?"rgba("+o[1]+",1)":t:Xt.hex(e)?function(e){var t=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,o,i){return t+t+o+o+i+i})),o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return"rgba("+parseInt(o[1],16)+","+parseInt(o[2],16)+","+parseInt(o[3],16)+",1)"}(e):Xt.hsl(e)?function(e){var t,o,i,n=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(e),a=parseInt(n[1],10)/360,s=parseInt(n[2],10)/100,d=parseInt(n[3],10)/100,r=n[4]||1;function l(e,t,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+6*(t-e)*o:o<.5?t:o<2/3?e+(t-e)*(2/3-o)*6:e}if(0==s)t=o=i=d;else{var c=d<.5?d*(1+s):d+s-d*s,u=2*d-c;t=l(u,c,a+1/3),o=l(u,c,a),i=l(u,c,a-1/3)}return"rgba("+255*t+","+255*o+","+255*i+","+r+")"}(e):void 0;var t,o}function uo(e){var t=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(t)return t[1]}function mo(e,t){return Xt.fnc(e)?e(t.target,t.id,t.total):e}function po(e,t){return e.getAttribute(t)}function ho(e,t,o){if(ao([o,"deg","rad","turn"],uo(t)))return t;var i=Ht.CSS[t+o];if(!Xt.und(i))return i;var n=document.createElement(e.tagName),a=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;a.appendChild(n),n.style.position="absolute",n.style.width=100+o;var s=100/n.offsetWidth;a.removeChild(n);var d=s*parseFloat(t);return Ht.CSS[t+o]=d,d}function fo(e,t,o){if(t in e.style){var i=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),n=e.style[t]||getComputedStyle(e).getPropertyValue(i)||"0";return o?ho(e,n,o):n}}function vo(e,t){return Xt.dom(e)&&!Xt.inp(e)&&(po(e,t)||Xt.svg(e)&&e[t])?"attribute":Xt.dom(e)&&ao(Ut,t)?"transform":Xt.dom(e)&&"transform"!==t&&fo(e,t)?"css":null!=e[t]?"object":void 0}function go(e){if(Xt.dom(e)){for(var t,o=e.style.transform||"",i=/(\w+)\(([^)]*)\)/g,n=new Map;t=i.exec(o);)n.set(t[1],t[2]);return n}}function yo(e,t,o,i){var n=Rt(t,"scale")?1:0+function(e){return Rt(e,"translate")||"perspective"===e?"px":Rt(e,"rotate")||Rt(e,"skew")?"deg":void 0}(t),a=go(e).get(t)||n;return o&&(o.transforms.list.set(t,a),o.transforms.last=t),i?ho(e,a,i):a}function wo(e,t,o,i){switch(vo(e,t)){case"transform":return yo(e,t,i,o);case"css":return fo(e,t,o);case"attribute":return po(e,t);default:return e[t]||0}}function bo(e,t){var o=/^(\*=|\+=|-=)/.exec(e);if(!o)return e;var i=uo(e)||0,n=parseFloat(t),a=parseFloat(e.replace(o[0],""));switch(o[0][0]){case"+":return n+a+i;case"-":return n-a+i;case"*":return n*a+i}}function jo(e,t){if(Xt.col(e))return co(e);if(/\s/g.test(e))return e;var o=uo(e),i=o?e.substr(0,e.length-o.length):e;return t?i+t:i}function Qo(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function _o(e){for(var t,o=e.points,i=0,n=0;n<o.numberOfItems;n++){var a=o.getItem(n);n>0&&(i+=Qo(t,a)),t=a}return i}function Co(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return function(e){return 2*Math.PI*po(e,"r")}(e);case"rect":return function(e){return 2*po(e,"width")+2*po(e,"height")}(e);case"line":return function(e){return Qo({x:po(e,"x1"),y:po(e,"y1")},{x:po(e,"x2"),y:po(e,"y2")})}(e);case"polyline":return _o(e);case"polygon":return function(e){var t=e.points;return _o(e)+Qo(t.getItem(t.numberOfItems-1),t.getItem(0))}(e)}}function ko(e,t){var o=t||{},i=o.el||function(e){for(var t=e.parentNode;Xt.svg(t)&&Xt.svg(t.parentNode);)t=t.parentNode;return t}(e),n=i.getBoundingClientRect(),a=po(i,"viewBox"),s=n.width,d=n.height,r=o.viewBox||(a?a.split(" "):[0,0,s,d]);return{el:i,viewBox:r,x:r[0]/1,y:r[1]/1,w:s/r[2],h:d/r[3]}}function Do(e,t){function o(o){void 0===o&&(o=0);var i=t+o>=1?t+o:0;return e.el.getPointAtLength(i)}var i=ko(e.el,e.svg),n=o(),a=o(-1),s=o(1);switch(e.property){case"x":return(n.x-i.x)*i.w;case"y":return(n.y-i.y)*i.h;case"angle":return 180*Math.atan2(s.y-a.y,s.x-a.x)/Math.PI}}function Lo(e,t){var o=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,i=jo(Xt.pth(e)?e.totalLength:e,t)+"";return{original:i,numbers:i.match(o)?i.match(o).map(Number):[0],strings:Xt.str(e)||t?i.split(o):[]}}function xo(e){return oo(e?io(Xt.arr(e)?e.map(no):no(e)):[],(function(e,t,o){return o.indexOf(e)===t}))}function So(e){var t=xo(e);return t.map((function(e,o){return{target:e,id:o,total:t.length,transforms:{list:go(e)}}}))}function Bo(e,t){var o=so(t);if(/^spring/.test(o.easing)&&(o.duration=Jt(o.easing)),Xt.arr(e)){var i=e.length;2===i&&!Xt.obj(e[0])?e={value:e}:Xt.fnc(t.duration)||(o.duration=t.duration/i)}var n=Xt.arr(e)?e:[e];return n.map((function(e,o){var i=Xt.obj(e)&&!Xt.pth(e)?e:{value:e};return Xt.und(i.delay)&&(i.delay=o?0:t.delay),Xt.und(i.endDelay)&&(i.endDelay=o===n.length-1?t.endDelay:0),i})).map((function(e){return lo(e,o)}))}function Ao(e,t){var o=[],i=t.keyframes;for(var n in i&&(t=lo(function(e){for(var t=oo(io(e.map((function(e){return Object.keys(e)}))),(function(e){return Xt.key(e)})).reduce((function(e,t){return e.indexOf(t)<0&&e.push(t),e}),[]),o={},i=function(i){var n=t[i];o[n]=e.map((function(e){var t={};for(var o in e)Xt.key(o)?o==n&&(t.value=e[o]):t[o]=e[o];return t}))},n=0;n<t.length;n++)i(n);return o}(i),t)),t)Xt.key(n)&&o.push({name:n,tweens:Bo(t[n],e)});return o}function Po(e,t){var o;return e.tweens.map((function(i){var n=function(e,t){var o={};for(var i in e){var n=mo(e[i],t);Xt.arr(n)&&1===(n=n.map((function(e){return mo(e,t)}))).length&&(n=n[0]),o[i]=n}return o.duration=parseFloat(o.duration),o.delay=parseFloat(o.delay),o}(i,t),a=n.value,s=Xt.arr(a)?a[1]:a,d=uo(s),r=wo(t.target,e.name,d,t),l=o?o.to.original:r,c=Xt.arr(a)?a[0]:l,u=uo(c)||uo(r),m=d||u;return Xt.und(s)&&(s=l),n.from=Lo(c,m),n.to=Lo(bo(s,c),m),n.start=o?o.end:0,n.end=n.start+n.delay+n.duration+n.endDelay,n.easing=eo(n.easing,n.duration),n.isPath=Xt.pth(a),n.isColor=Xt.col(n.from.original),n.isColor&&(n.round=1),o=n,n}))}var Eo={css:function(e,t,o){return e.style[t]=o},attribute:function(e,t,o){return e.setAttribute(t,o)},object:function(e,t,o){return e[t]=o},transform:function(e,t,o,i,n){if(i.list.set(t,o),t===i.last||n){var a="";i.list.forEach((function(e,t){a+=t+"("+e+") "})),e.style.transform=a}}};function Oo(e,t){So(e).forEach((function(e){for(var o in t){var i=mo(t[o],e),n=e.target,a=uo(i),s=wo(n,o,a,e),d=bo(jo(i,a||uo(s)),s),r=vo(n,o);Eo[r](n,o,d,e.transforms,!0)}}))}function To(e,t){return oo(io(e.map((function(e){return t.map((function(t){return function(e,t){var o=vo(e.target,t.name);if(o){var i=Po(t,e),n=i[i.length-1];return{type:o,property:t.name,animatable:e,tweens:i,duration:n.end,delay:i[0].delay,endDelay:n.endDelay}}}(e,t)}))}))),(function(e){return!Xt.und(e)}))}function Io(e,t){var o=e.length,i=function(e){return e.timelineOffset?e.timelineOffset:0},n={};return n.duration=o?Math.max.apply(Math,e.map((function(e){return i(e)+e.duration}))):t.duration,n.delay=o?Math.min.apply(Math,e.map((function(e){return i(e)+e.delay}))):t.delay,n.endDelay=o?n.duration-Math.max.apply(Math,e.map((function(e){return i(e)+e.duration-e.endDelay}))):t.endDelay,n}var Mo=0;var No,Fo=[],Wo=[],Uo=function(){function e(){No=requestAnimationFrame(t)}function t(t){var o=Fo.length;if(o){for(var i=0;i<o;){var n=Fo[i];if(n.paused){var a=Fo.indexOf(n);a>-1&&(Fo.splice(a,1),o=Fo.length)}else n.tick(t);i++}e()}else No=cancelAnimationFrame(No)}return e}();function Ho(e){void 0===e&&(e={});var t,o=0,i=0,n=0,a=0,s=null;function d(e){var t=window.Promise&&new Promise((function(e){return s=e}));return e.finished=t,t}var r=function(e){var t=ro(Ft,e),o=ro(Wt,e),i=Ao(o,e),n=So(e.targets),a=To(n,i),s=Io(a,o),d=Mo;return Mo++,lo(t,{id:d,children:[],animatables:n,animations:a,duration:s.duration,delay:s.delay,endDelay:s.endDelay})}(e);d(r);function l(){var e=r.direction;"alternate"!==e&&(r.direction="normal"!==e?"normal":"reverse"),r.reversed=!r.reversed,t.forEach((function(e){return e.reversed=r.reversed}))}function c(e){return r.reversed?r.duration-e:e}function u(){o=0,i=c(r.currentTime)*(1/Ho.speed)}function m(e,t){t&&t.seek(e-t.timelineOffset)}function p(e){for(var t=0,o=r.animations,i=o.length;t<i;){var n=o[t],a=n.animatable,s=n.tweens,d=s.length-1,l=s[d];d&&(l=oo(s,(function(t){return e<t.end}))[0]||l);for(var c=zt(e-l.start-l.delay,0,l.duration)/l.duration,u=isNaN(c)?1:l.easing(c),m=l.to.strings,p=l.round,h=[],f=l.to.numbers.length,v=void 0,g=0;g<f;g++){var y=void 0,w=l.to.numbers[g],b=l.from.numbers[g]||0;y=l.isPath?Do(l.value,u*w):b+u*(w-b),p&&(l.isColor&&g>2||(y=Math.round(y*p)/p)),h.push(y)}var j=m.length;if(j){v=m[0];for(var Q=0;Q<j;Q++){m[Q];var _=m[Q+1],C=h[Q];isNaN(C)||(v+=_?C+_:C+" ")}}else v=h[0];Eo[n.type](a.target,n.property,v,a.transforms),n.currentValue=v,t++}}function h(e){r[e]&&!r.passThrough&&r[e](r)}function f(e){var u=r.duration,f=r.delay,v=u-r.endDelay,g=c(e);r.progress=zt(g/u*100,0,100),r.reversePlayback=g<r.currentTime,t&&function(e){if(r.reversePlayback)for(var o=a;o--;)m(e,t[o]);else for(var i=0;i<a;i++)m(e,t[i])}(g),!r.began&&r.currentTime>0&&(r.began=!0,h("begin")),!r.loopBegan&&r.currentTime>0&&(r.loopBegan=!0,h("loopBegin")),g<=f&&0!==r.currentTime&&p(0),(g>=v&&r.currentTime!==u||!u)&&p(u),g>f&&g<v?(r.changeBegan||(r.changeBegan=!0,r.changeCompleted=!1,h("changeBegin")),h("change"),p(g)):r.changeBegan&&(r.changeCompleted=!0,r.changeBegan=!1,h("changeComplete")),r.currentTime=zt(g,0,u),r.began&&h("update"),e>=u&&(i=0,r.remaining&&!0!==r.remaining&&r.remaining--,r.remaining?(o=n,h("loopComplete"),r.loopBegan=!1,"alternate"===r.direction&&l()):(r.paused=!0,r.completed||(r.completed=!0,h("loopComplete"),h("complete"),!r.passThrough&&"Promise"in window&&(s(),d(r)))))}return r.reset=function(){var e=r.direction;r.passThrough=!1,r.currentTime=0,r.progress=0,r.paused=!0,r.began=!1,r.loopBegan=!1,r.changeBegan=!1,r.completed=!1,r.changeCompleted=!1,r.reversePlayback=!1,r.reversed="reverse"===e,r.remaining=r.loop,t=r.children;for(var o=a=t.length;o--;)r.children[o].reset();(r.reversed&&!0!==r.loop||"alternate"===e&&1===r.loop)&&r.remaining++,p(r.reversed?r.duration:0)},r.set=function(e,t){return Oo(e,t),r},r.tick=function(e){n=e,o||(o=n),f((n+(i-o))*Ho.speed)},r.seek=function(e){f(c(e))},r.pause=function(){r.paused=!0,u()},r.play=function(){r.paused&&(r.completed&&r.reset(),r.paused=!1,Fo.push(r),u(),No||Uo())},r.reverse=function(){l(),u()},r.restart=function(){r.reset(),r.play()},r.reset(),r.autoplay&&r.play(),r}function zo(e,t){for(var o=t.length;o--;)ao(e,t[o].animatable.target)&&t.splice(o,1)}"undefined"!=typeof document&&document.addEventListener("visibilitychange",(function(){document.hidden?(Fo.forEach((function(e){return e.pause()})),Wo=Fo.slice(0),Ho.running=Fo=[]):Wo.forEach((function(e){return e.play()}))})),Ho.version="3.1.0",Ho.speed=1,Ho.running=Fo,Ho.remove=function(e){for(var t=xo(e),o=Fo.length;o--;){var i=Fo[o],n=i.animations,a=i.children;zo(t,n);for(var s=a.length;s--;){var d=a[s],r=d.animations;zo(t,r),r.length||d.children.length||a.splice(s,1)}n.length||a.length||i.pause()}},Ho.get=wo,Ho.set=Oo,Ho.convertPx=ho,Ho.path=function(e,t){var o=Xt.str(e)?to(e)[0]:e,i=t||100;return function(e){return{property:e,el:o,svg:ko(o),totalLength:Co(o)*(i/100)}}},Ho.setDashoffset=function(e){var t=Co(e);return e.setAttribute("stroke-dasharray",t),t},Ho.stagger=function(e,t){void 0===t&&(t={});var o=t.direction||"normal",i=t.easing?eo(t.easing):null,n=t.grid,a=t.axis,s=t.from||0,d="first"===s,r="center"===s,l="last"===s,c=Xt.arr(e),u=c?parseFloat(e[0]):parseFloat(e),m=c?parseFloat(e[1]):0,p=uo(c?e[1]:e)||0,h=t.start||0+(c?u:0),f=[],v=0;return function(e,t,g){if(d&&(s=0),r&&(s=(g-1)/2),l&&(s=g-1),!f.length){for(var y=0;y<g;y++){if(n){var w=r?(n[0]-1)/2:s%n[0],b=r?(n[1]-1)/2:Math.floor(s/n[0]),j=w-y%n[0],Q=b-Math.floor(y/n[0]),_=Math.sqrt(j*j+Q*Q);"x"===a&&(_=-j),"y"===a&&(_=-Q),f.push(_)}else f.push(Math.abs(s-y));v=Math.max.apply(Math,f)}i&&(f=f.map((function(e){return i(e/v)*v}))),"reverse"===o&&(f=f.map((function(e){return a?e<0?-1*e:-e:Math.abs(v-e)})))}return h+(c?(m-u)/v:u)*(Math.round(100*f[t])/100)+p}},Ho.timeline=function(e){void 0===e&&(e={});var t=Ho(e);return t.duration=0,t.add=function(o,i){var n=Fo.indexOf(t),a=t.children;function s(e){e.passThrough=!0}n>-1&&Fo.splice(n,1);for(var d=0;d<a.length;d++)s(a[d]);var r=lo(o,ro(Wt,e));r.targets=r.targets||e.targets;var l=t.duration;r.autoplay=!1,r.direction=t.direction,r.timelineOffset=Xt.und(i)?l:bo(i,l),s(t),t.seek(r.timelineOffset);var c=Ho(r);s(c),a.push(c);var u=Io(a,e);return t.delay=u.delay,t.endDelay=u.endDelay,t.duration=u.duration,t.seek(0),t.reset(),t.autoplay&&t.play(),t},t},Ho.easing=eo,Ho.penner=Zt,Ho.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e};var Ro=Ho,qo=function(){return!LiveComposer.Builder.Flags.panelOpened||(LiveComposer.Builder.UI.shakePanelConfirmButton(),!1)};document.addEventListener("moduleDuplicate",(function(e){var t=e.detail;if(!qo())return!1;t.classList.contains("dslca-action-disabled")||Yo(t.closest(".dslc-module-front"))})),document.addEventListener("moduleDelete",(function(e){var t=e.detail;if(!qo())return!1;t.classList.contains("dslca-action-disabled")||n({title:DSLCString.str_del_module_title,content:DSLCString.str_del_module_descr,confirm:function(){!function(e){window.dslcDebug&&console.log("dslc_delete_module");Et(".dslca-modules"),Ro({targets:e,easing:"easeOutExpo",scale:0,opacity:0,duration:350,delay:0,endDelay:0,complete:function(t){e.parentNode.removeChild(e),window.dslc_generate_code(),window.dslc_show_publish_button()}})}(t.closest(".dslc-module-front"))}})})),document.addEventListener("moduleEdit",(function(e){var t=e.detail.closest(".dslc-module-front"),o=t.dataset.module,i=LiveComposer.Builder.PreviewAreaWindow.document.querySelector(".dslca-module-being-edited"),n=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;if(LiveComposer.Builder.Flags.uiHidden||null!==i&&i.length>0||n>0)return i!=t&&LiveComposer.Builder.UI.shakePanelConfirmButton(),!1;Xo(),t.classList.add("dslca-module-being-edited"),Go(o),LiveComposer.Builder.PreviewAreaWindow.document.body.classList.add("module-editing-in-progress")})),document.addEventListener("copyModuleStyles",(function(e){var t=e.detail.closest(".dslc-module-front").querySelector(".dslca-module-code").innerText;localStorage.setItem("lcCopyPasteStorage",t)})),document.addEventListener("pasteModuleStyles",(function(e){var t=e.detail.closest(".dslc-module-front"),o=jQuery(t),i=localStorage.getItem("lcCopyPasteStorage"),n=!1;if(i)try{n=JSON.parse(i)}catch(e){console.log("Can't parse copy/paste string into JSON:"),console.log(e)}if(n&&n.module_id===t.dataset.module){var a=t.querySelector(".dslca-module-code").innerText,s=!1;try{s=JSON.parse(a)}catch(e){console.log("Can't parse current module code into JSON:"),console.log(e)}if(s){var d=!1;for(var r in n)r.includes("css_")&&(s[r]=n[r],d=!0);for(var l in s)l.includes("css_")&&(s[l]!==n[l]&&(s[l]=""),d=!0);d&&(s.action="dslc-ajax-add-module",s.dslc="active",s.dslc_module_id=s.module_id,s.dslc_module_instance_id=s.module_instance_id,s.dslc_post_id=s.post_id,o.hasClass("dslca-preload-preset")?s.dslc_preload_preset="enabled":s.dslc_preload_preset="disabled",o.removeClass("dslca-preload-preset"),s.dslc_url_vars=LiveComposer.Utils.get_page_params(),jQuery.post(DSLCAjax.ajaxurl,s,(function(e){e&&(o.after(e.output).next().addClass("dslca-module-being-edited"),o.remove(),window.dslc_generate_code(),window.dslc_show_publish_button(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion(),jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"))})))}}}));document.addEventListener("moduleChangeWidth",(function(e){var t=e.detail,o=t.closest(".dslc-module-front");if(!t.classList.contains("dslca-action-disabled")){var i=o.dataset.dslcModuleSize,n=t.dataset.size;Number(i)!==Number(n)&&function(e,t){window.dslcDebug&&console.log("dslc_module_width_set");var o="dslc-"+t+"-col";jQuery(e).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(o).data("dslc-module-size",t),e.setAttribute("data-dslc-module-size",t),LiveComposer.Utils.update_module_property_raw(e,"dslc_m_size",t),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),window.dslc_generate_code(),window.dslc_show_publish_button()}(o,n)}})),document.addEventListener("wysiwygEdit",(function(e){var t=e.detail,o=t.closest(".dslc-module-front"),i=t.dataset.idToEdit,n=o.querySelector('[data-edit-id="'+i+'"]'),a="";if(void 0===(a="TEXTAREA"===n.tagName||"INPUT"===n.tagName?n.value:n.innerHTML)&&(a=""),a.trim().length&&(a=a.replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")),a.includes("%")&&(a=(a=(a=(a=(a=(a=a.replace(/%\(\(%/g,"[")).replace(/%\)\)%/g,"]")).replace(/%\(%/g,"[")).replace(/%\)%/g,"]")).replace(/%\{%/g,"[")).replace(/%\}%/g,"]")),a=a.trim(),"undefined"!=typeof tinymce){var s=tinymce.get("dslcawpeditor");document.getElementById("wp-dslcawpeditor-wrap").classList.contains("tmce-active")?s.setContent(a,{format:"html"}):document.getElementById("dslcawpeditor").value=a,o.classList.contains("dslca-module-being-edited")||o.querySelector(".dslca-module-edit-hook").click(),jQuery(".dslca-wp-editor").show(),n.classList.add("dslca-wysiwyg-active"),jQuery("#dslcawpeditor_ifr, #dslcawpeditor").css({height:jQuery(".dslca-wp-editor").height()-300})}else console.info("Live Composer: TinyMCE is undefined.")}));var Xo=function(){var e=LiveComposer.Builder.PreviewAreaWindow.document.querySelector(".dslca-module-being-edited");null!==e&&e.classList.remove("dslca-module-being-edited")};function Yo(e){window.dslcDebug&&console.log("dslc_copy_module"),Xo();var t=e.cloneNode(!0);jQuery(t).appendTo(e.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,top:-50}).addClass("dslca-module-being-edited"),Jo(t),window.dslc_generate_code(),Ro({targets:t,easing:"easeOutExpo",top:0,opacity:1,duration:400,delay:0,endDelay:0,complete:function(e){t.classList.remove("dslca-module-being-edited")}}),window.dslc_show_publish_button()}var Jo=function(e){var t=LiveComposer.Utils.get_unique_id(),o=e.getAttribute("id");e.setAttribute("data-module-id",t),e.setAttribute("id","dslc-module-"+t);var i=e.getElementsByTagName("style")[0],n=i.textContent;i.setAttribute("id","#css-for-dslc-module-"+t),n=n.split(o).join("dslc-module-"+t),i.textContent=n,LiveComposer.Utils.update_module_property_raw(e,"module_instance_id",t)};function Go(e){window.dslcDebug&&console.log("dslc_module_options_show"),void 0===e&&console.warn("No module ID defined in dslc_module_options_show function.");var t=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),o=jQuery(".dslca-module-options-front textarea",t),i=jQuery(".dslca-header").data("default-section"),n=jQuery(jQuery("#pseudo-panel").html());jQuery("#wpwrap").append(n);var a={action:"dslc-ajax-display-module-options",dslc:"active"};a.dslc_module_id=e,a.dslc_post_id=jQuery(".dslca-container").data("data-post-id"),a.dslc_url_vars=LiveComposer.Utils.get_page_params(),o.each((function(){var e=jQuery(this),t=e.data("id"),o=e.val();o.includes("%")&&(o=(o=(o=(o=(o=(o=o.replace(/%\(\(%/g,"[")).replace(/%\)\)%/g,"]")).replace(/%\(%/g,"[")).replace(/%\)%/g,"]")).replace(/%\{%/g,"[")).replace(/%\}%/g,"]")),a[t]=o})),jQuery(".dslca-wp-editor-actions").hide(),jQuery(".dslca-wp-editor-notification").show(),Pt();var s=jQuery(".dslca-module-options-front",t).children().clone();LiveComposer.Builder.moduleBackup=s,LiveComposer.Builder.Flags.panelOpened=!0,n.show(),n.addClass("show"),jQuery.post(DSLCAjax.ajaxurl,a,(function(e){n.remove(),Et(".dslca-module-edit"),jQuery("body").hasClass("rtl"),jQuery(".dslca-module-edit-options-inner").html(e.output),jQuery(".dslca-module-edit-options-tabs").html(e.output_tabs);var t=[];jQuery(".dslca-module-edit-options-inner .dslca-module-edit-option").each((function(){var e=jQuery(this).data("section");-1==t.indexOf(e)&&t.push(e)}));for(var o=t.length,a=0;a<o;a++)jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+t[a]+'"]').show();jQuery('.dslca-module-edit-option[data-section="'+i+'"]').length?(jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+i+'"]').show(),jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+i+'"]').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(),LiveComposer.Builder.UI.loadOptionsDeps()}))}var Ko=function(e){window.dslcDebug&&console.log("moduleOutputAltered"),e=void 0!==e&&e;var t=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),o=t.data("module"),i=jQuery(".dslca-module-options-front textarea",t),n=t.data("module-id"),a={action:"dslc-ajax-add-module",dslc:"active"};a.dslc_module_id=o,a.dslc_module_instance_id=n,a.dslc_post_id=jQuery(".dslca-container").data("post-id"),t.hasClass("dslca-preload-preset")?a.dslc_preload_preset="enabled":a.dslc_preload_preset="disabled",t.removeClass("dslca-preload-preset"),i.each((function(){var e=jQuery(this),t=e.data("id"),o=e.val();a[t]=o})),a.dslc_url_vars=LiveComposer.Utils.get_page_params(),jQuery.post(DSLCAjax.ajaxurl,a,(function(o){var i=LiveComposer.Builder.Helpers.insertModule(o.output,t);i.addClass("dslca-module-being-edited"),o=null,i=null,LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();var n=new Event("moduleOutputAltered");LiveComposer.Builder.PreviewAreaWindow.dispatchEvent(n),e&&e(o)}))};var Vo=function(){LiveComposer.Builder.PreviewAreaDocument.on({mouseenter:function(e){jQuery(".dslca-modules-section-manage",LiveComposer.Builder.PreviewAreaDocument).css("z-index","99998");var t=e.target.closest("[data-module-id]"),o=t.offsetHeight,i=t.offsetWidth;o<60&&i<300?t.classList.add("dslc-small-height-module"):t.classList.remove("dslc-small-height-module")},mouseleave:function(e){jQuery(".dslca-modules-section-manage",LiveComposer.Builder.PreviewAreaDocument).css("z-index","999999")}},".dslca-change-width-module-hook, .dslc-module-front .dslca-module-manage"),LiveComposer.Builder.PreviewAreaDocument.on("blur",".dslca-editable-content",(function(){LiveComposer.Builder.Flags.uiHidden||"simple"!=jQuery(this).data("type")||l(jQuery(this))})).on("paste",".dslca-editable-content:not(.inline-editor)",(function(){if(!LiveComposer.Builder.Flags.uiHidden&&"simple"==jQuery(this).data("type")){var e=jQuery(this);setTimeout((function(){"simple"==e.data("type")&&e.html(e.text()),l(e)}),100)}})).on("focus",".dslca-editable-content",(function(){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length>0&&!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")&&jQuery(this).trigger("blur")})).on("keyup",".dslca-editable-content",(function(){"simple"==jQuery(this).data("type")&&jQuery(this).closest(".dslc-module-front").addClass("dslca-module-change-made")}))},$o=function(){var e,t,o,i=jQuery(".dslca-modules .dslca-section-scroller-content");0==i.length&&(i=[document.createElement("div")]);At.create(i[0],{sort:!1,group:{name:"modules",pull:"clone",put:!1},animation:150,handle:".dslca-module",draggable:".dslca-module",chosenClass:"dslca-module-dragging",scroll:!0,scrollSensitivity:150,scrollSpeed:15,setData:function(e,t){e.setData(!1!==LiveComposer.Utils.msieversion()?"Text":"text/html",t.innerHTML)},onStart:function(e){e.oldIndex,jQuery("body").removeClass("dslca-new-module-drag-not-in-progress").addClass("dslca-new-module-drag-in-progress"),jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-new-module-drag-not-in-progress").addClass("dslca-new-module-drag-in-progress"),jQuery("#dslc-header").addClass("dslca-header-low-z-index")},onEnd:function(i){i.oldIndex,i.newIndex;var n,a,s=i.item;if(i.preventDefault(),jQuery(s).closest(".dslca-section-scroller-content").length>0)return!1;jQuery(".dslca-options-hovered",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-options-hovered"),e=jQuery(s.parentNode),t=s.dataset.id,window.dslc_generate_code(),"DSLC_M_A"==t||jQuery("body").hasClass("dslca-module-drop-in-progress")||e.closest("#dslc-header").length||e.closest("#dslc-footer").length||(jQuery("body").addClass("dslca-module-drop-in-progress"),n=t,a=function(t){o=t.output,LiveComposer.Builder.Helpers.insertModule(o,jQuery(".dslca-module",e)),setTimeout((function(){LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),jQuery("body").removeClass("dslca-module-drop-in-progress")}),700),jQuery(".dslca-modules-area-manage",e).css({visibility:"visible"}),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion(),window.dslc_generate_code(),window.dslc_show_publish_button()},window.dslcDebug&&console.log("moduleOutputDefault"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-module",dslc:"active",dslc_module_id:n,dslc_post_id:jQuery(".dslca-container").data("post-id"),dslc_url_vars:LiveComposer.Utils.get_page_params(),dslc_new_module:!0},(function(e){a(e)})),jQuery(s).find(".dslca-icon").attr("class","").attr("class","dslca-icon dslc-icon-refresh dslc-icon-spin"),jQuery(".dslca-modules-area-manage",e).css({visibility:"hidden"})),LiveComposer.Builder.UI.stopScroller(),jQuery("body").removeClass("dslca-new-module-drag-in-progress").addClass("dslca-new-module-drag-not-in-progress"),jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-new-module-drag-in-progress").addClass("dslca-new-module-drag-not-in-progress"),jQuery("#dslc-header").removeClass("dslca-header-low-z-index")},onAdd:function(e){e.item;e.from},onUpdate:function(e){e.item;window.dslc_show_publish_button()},onSort:function(e){e.preventDefault()},onRemove:function(e){},onFilter:function(e){e.item},onMove:function(e){e.dragged,e.draggedRect,e.related,e.relatedRect,jQuery(e.to).addClass("dslca-options-hovered")}})},Zo=function(e){var t=this;this.section=jQuery(e).closest(".dslc-modules-section"),this.elem=e,this.observer=new mqMutationObserver(e,(function(){var o=t.elem.classList;0==e.querySelectorAll(".dslc-module-front").length?(o.add("dslc-modules-area-empty"),o.remove("dslc-modules-area-not-empty")):(o.remove("dslc-modules-area-empty"),o.add("dslc-modules-area-not-empty"))}),{childList:!0}),this.sortable=At.create(e,{group:"modules",animation:350,handle:".dslca-move-module-hook",draggable:".dslc-module-front",ghostClass:"dslca-module-ghost",chosenClass:"dslca-module-dragging",scroll:!0,scrollSensitivity:150,scrollSpeed:15,setData:function(e,t){e.setData(!1!==LiveComposer.Utils.msieversion()?"Text":"text/html",t.innerHTML)},onStart:function(e){e.oldIndex,jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress"),jQuery("body",LiveComposer.Builder.PreviewAreaWindow.document).removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress")},onEnd:function(e){e.oldIndex,e.newIndex,e.preventDefault(),window.dslc_generate_code(),LiveComposer.Builder.UI.stopScroller(),jQuery("body").removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress"),jQuery("body",LiveComposer.Builder.PreviewAreaWindow.document).removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress")},onAdd:function(e){var o=e.item;e.from,"DSLC_M_A"==jQuery(o).data("id")&&(ei(jQuery(t.section).find(".dslc-modules-section-wrapper .dslc-modules-section-inner")),o.remove())},onUpdate:function(e){e.item;window.dslc_show_publish_button()},onSort:function(e){},onRemove:function(e){},onFilter:function(e){e.item},onMove:function(e){e.dragged,e.draggedRect,e.related,e.relatedRect,jQuery(".dslc-modules-area-empty").find(".dslc-module-front").length>0&&(jQuery(this).removeClass("dslc-modules-area-empty").addClass("dslc-modules-area-not-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(e).attr("data-jsinit","initialized"),jQuery(document).on("LC.sortableOff",(function(){t.sortable&&t.sortable.option&&t.sortable.option("disabled",!0)})),jQuery(document).on("LC.sortableOn",(function(){t.sortable&&t.sortable.option&&t.sortable.option("disabled",!1)}))};jQuery(document).on("editorFrameLoaded",(function(){function e(){var e=jQuery(".dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument);jQuery(e).each((function(e,t){new Zo(t)}))}var t=function(){return!LiveComposer.Builder.Flags.panelOpened||(LiveComposer.Builder.UI.shakePanelConfirmButton(),!1)};jQuery("#dslc-main .dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).length||jQuery("#dslca-tut-page",LiveComposer.Builder.PreviewAreaDocument).length?e():ai(e()),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-copy-modules-area-hook",(function(e){if(e.preventDefault(),!t())return!1;if(!jQuery(this).hasClass("dslca-action-disabled")){var o=jQuery(this).closest(".dslc-modules-area");(function(e){window.dslcDebug&&console.log("dslc_copy_modules_area");var t=e.closest(".dslc-modules-section").find(".dslc-modules-section-inner"),o=e.clone().appendTo(t);new Zo(o[0]),o.find(".dslca-modules-area-manage").trigger("mouseleave"),o.data("size",e.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 e=jQuery(this);Jo(e[0]),jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"),window.dslc_generate_code(),e.animate({opacity:1},300)})),$o(),window.dslc_show_publish_button(),window.dslc_generate_code()})(o)}})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-delete-modules-area-hook",(function(e){if(e.preventDefault(),!t())return!1;if(!jQuery(this).hasClass("dslca-action-disabled"))if(jQuery(this).closest(".dslc-modules-area").hasClass("dslc-modules-area-empty")){var o=jQuery(this).closest(".dslc-modules-area");ti(o)}else{var i=jQuery(this);n({title:DSLCString.str_del_area_title,content:DSLCString.str_del_area_descr,confirm:function(){ti(i.closest(".dslc-modules-area"))}})}})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-change-width-modules-area-options span",(function(){if(!t())return!1;if(!jQuery(this).hasClass("dslca-action-disabled")){var e=jQuery(this).closest(".dslc-modules-area"),o=e.data("size"),i=jQuery(this).data("size");Number(o)!==Number(i)&&function(e,t){window.dslcDebug&&console.log("dslc_modules_area_width_set");var o="dslc-"+t+"-col";if(e.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(o).data("size",t),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.Flags.panelOpened)return!1;window.dslc_generate_code(),window.dslc_show_publish_button()}(e,i)}})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-change-vertial-align-module-area-hook span",(function(){!function(e,t){window.dslcDebug&&console.log("dslc_modules_area_vertical_align_set");var o="dslc-valign-"+t;if(e.removeClass("dslc-valign-top dslc-valign-middle dslc-valign-bottom").addClass(o).data("valign",t),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.Flags.panelOpened)return!1;window.dslc_generate_code(),window.dslc_show_publish_button()}(jQuery(this).closest(".dslc-modules-area"),jQuery(this).data("valign"))})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-add-modules-area-hook",(function(e){if(e.preventDefault(),!t())return!1;ei(jQuery(this).closest(".dslc-modules-section").find(".dslc-modules-section-inner"))}))}));var ei=function(e){window.dslcDebug&&console.log("modulesAreaAdd");var t=window.DSLCSiteData.editorUrl+"css/icons";jQuery('<div class="dslc-modules-area dslc-col dslc-12-col dslc-modules-area-dnd dslc-modules-area-empty dslc-last-col" data-size="12">\n\t\t<div class="dslca-modules-area-manage">\n\t\t\t<span class="dslca-modules-area-manage-line"></span>\n\t\t\t<div class="dslca-modules-area-manage-inner">\n\t\t\t\t<span class="dslca-manage-action dslca-copy-modules-area-hook" title="Duplicate">\n\t\t\t\t\t<svg class="feather">\n\t\t\t\t\t\t<use xlink:href="'+t+'/feather-sprite.svg#copy"></use>\n\t\t\t\t\t</svg>\n\t\t\t\t</span>\n\t\t\t\t<span class="dslca-manage-action dslca-move-modules-area-hook" title="Drag to move">\n\t\t\t\t\t<svg class="feather">\n\t\t\t\t\t\t<use xlink:href="'+t+'/feather-sprite.svg#move"></use>\n\t\t\t\t\t</svg>\n\t\t\t\t</span>\n\t\t\t\t<span class="dslca-manage-action dslca-change-width-modules-area-hook" title="Change width">\n\t\t\t\t\t<svg class="feather">\n\t\t\t\t\t\t<use xlink:href="'+t+'/feather-sprite.svg#columns"></use>\n\t\t\t\t\t</svg>\n\t\t\t\t\t<div class="dslca-change-width-modules-area-options"><span>Container Width</span><span data-size="1">1/12</span><span data-size="2">2/12</span>\n\t\t\t\t\t\t<span data-size="3">3/12</span><span data-size="4">4/12</span>\n\t\t\t\t\t\t<span data-size="5">5/12</span><span data-size="6">6/12</span>\n\t\t\t\t\t\t<span data-size="7">7/12</span><span data-size="8">8/12</span>\n\t\t\t\t\t\t<span data-size="9">9/12</span><span data-size="10">10/12</span>\n\t\t\t\t\t\t<span data-size="11">11/12</span><span data-size="12">12/12</span>\n\t\t\t\t\t</div>\n\t\t\t\t</span>\n\t\t\t\t<span class="dslca-manage-action dslca-change-vertial-align-module-area-hook" title="Change vertical align" >\n\t\t\t\t\t<svg class="feather">\n\t\t\t\t\t\t<use xlink:href="'+t+'/feather-sprite.svg#git-commit"/>\n\t\t\t\t\t</svg>\n\t\t\t\t\t<div class="dslca-change-vertial-align-module-area-options">\n\t\t\t\t\t\t<span>Vertical Align</span>\n\t\t\t\t\t\t<span data-valign="top" class="dslc-popup-option">⬆️ Top</span>\n\t\t\t\t\t\t<span data-valign="middle" class="dslc-popup-option">↕️ Middle</span>\n\t\t\t\t\t\t<span data-valign="bottom" class="dslc-popup-option">⬇️ Bottom</span>\n\t\t\t\t\t</div>\n\t\t\t\t</span>\n\t\t\t\t<span class="dslca-manage-action dslca-delete-modules-area-hook" title="Delete">\n\t\t\t\t\t<svg class="feather">\n\t\t\t\t\t\t<use xlink:href="'+t+'/feather-sprite.svg#x"></use>\n\t\t\t\t\t</svg>\n\t\t\t\t</span>\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- .dslc-module --\x3e\n\t</div>').appendTo(e).css({height:0}).animate({height:99},300,(function(){jQuery(this).css({height:"auto"})})).addClass("dslca-init-animation");var o=jQuery(".dslc-modules-area-empty",LiveComposer.Builder.PreviewAreaDocument);jQuery(o).each((function(e,t){new Zo(t)})),$o(),window.dslc_generate_code(),window.dslc_show_publish_button()};function ti(e){window.dslcDebug&&console.log("dslc_delete_modules_area");var t=e.closest(".dslc-modules-section").find(".dslc-modules-section-inner"),o=!1;e.addClass("dslca-modules-area-being-deleted"),t.find(".dslc-modules-area").length<2&&(o=!0),e.find(".dslca-module-being-edited").length&&(jQuery(".dslca-header .dslca-options-filter-hook",LiveComposer.Builder.PreviewAreaDocument).hide(),jQuery(".dslca-module-edit-actions",LiveComposer.Builder.PreviewAreaDocument).hide(),jQuery(".dslca-header .dslca-go-to-section-hook",LiveComposer.Builder.PreviewAreaDocument).show(),Et(".dslca-modules")),setTimeout((function(){if(o){e.closest(".dslc-modules-section-inner");2<=e.closest("#dslc-main").find(".dslc-modules-section").length?dslc_row_delete(e.closest(".dslc-modules-section")):(e.remove(),ei(t))}e.remove(),window.dslc_generate_code(),window.dslc_show_publish_button()}),900),e.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(){e.remove(),window.dslc_generate_code(),window.dslc_show_publish_button()}))}var oi=function(){jQuery("#dslc-main .dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument).each((function(){"initialized"!==jQuery(this).data("jsinit")&&new Zo(this)}))};function ii(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var ni=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sortable,this.sortableContainer=jQuery(t).find(".dslc-modules-section-wrapper .dslc-modules-section-inner").eq(0)[0],this.initSortable(t),this.initDropable(t),this.reactToSortableOnOff(),jQuery(t).attr("data-jsinit","initialized")}var t,o,i;return t=e,(o=[{key:"initDropable",value:function(e){jQuery(e).droppable({drop:function(e,t){var o=jQuery(this).find(".dslc-modules-section-inner");"DSLC_M_A"==t.draggable.data("id")&&ei(o)}})}},{key:"initSortable",value:function(e){this.sortable=jQuery(this.sortableContainer).sortable({connectWith:".dslc-modules-section-inner",items:".dslc-modules-area-dnd",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(e,t){var o=t.placeholder.closest(".dslc-modules-section");jQuery(o).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty"),o.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")}))},remove:function(){0==jQuery(self.elem).find(".dslc-modules-area").length&&ei(jQuery(this.sortableContainer))},update:function(e,t){window.dslc_generate_code(),window.dslc_show_publish_button()},start:function(e,t){t.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">'+DSLCString.str_area_helper_text+"</span></span>"),jQuery(t.item).hasClass("dslc-12-col")?t.placeholder.width(t.item.width()).css({margin:0}):t.placeholder.width(t.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(e,t){LiveComposer.Builder.UI.stopScroller(),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(e,t){}})}},{key:"reactToSortableOnOff",value:function(){self=this.sortable,jQuery(document).on("LC.sortableOff",(function(){})),jQuery(document).on("LC.sortableOn",(function(){}))}}])&&ii(t.prototype,o),i&&ii(t,i),e}(),ai=function(e){window.dslcDebug&&console.log("dslc_row_add"),e=void 0!==e&&e;var t=jQuery.Deferred(),o=sessionStorage,i=(jQuery(),o.getItem("cache-dslc-ajax-add-modules-section-v2"));null!==i&&(DSLCMainOptions.section_padding_vertical!==jQuery(i).find('input[data-id="padding"]').val()&&(o.removeItem("cache-dslc-ajax-add-modules-section-v2"),i=null));if(null!==i)return si(i),e&&e(),t;jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-modules-section",dslc:"active"},(function(i){return o.setItem("cache-dslc-ajax-add-modules-section-v2",i.output),si(i.output),e&&e(),t}))};function si(e){var t=jQuery(e);return t.appendTo(LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main")),$o(),window.dslc_generate_code(),window.dslc_show_publish_button(),new ni(t),new Zo(t.find(".dslc-modules-area").eq(0)[0]),t.find(".dslc-modules-area").addClass("dslc-modules-area-empty dslc-last-col"),t}function di(e){window.dslcDebug&&console.log("dslc_row_delete"),e.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(),Et(".dslca-modules")),e.trigger("mouseleave").remove(),window.dslc_generate_code(),window.dslc_show_publish_button()}function ri(e){window.dslcDebug&&console.log("dslc_row_edit"),jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"),jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-modules-section-being-edited").removeClass("dslca-modules-section-change-made"),e.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("type"===jQuery(this).data("id")&&(""!==jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="type"]',LiveComposer.Builder.PreviewAreaDocument).val()&&"wrapped"!==jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="type"]',LiveComposer.Builder.PreviewAreaDocument).val()||jQuery('select[data-id="type"]').val("wrapper").change()),"border-top"==jQuery(this).data("id"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]',LiveComposer.Builder.PreviewAreaDocument).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"]',LiveComposer.Builder.PreviewAreaDocument).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"]',LiveComposer.Builder.PreviewAreaDocument).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"]',LiveComposer.Builder.PreviewAreaDocument).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")+'"]',LiveComposer.Builder.PreviewAreaDocument).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")+'"]',LiveComposer.Builder.PreviewAreaDocument).val().trim().replace("%(%","[").replace("%)%","]")),jQuery(this).hasClass("dslca-modules-section-edit-field-colorpicker")){var e=jQuery(this);jQuery(this).closest(".dslca-modules-section-edit-option").find(".sp-preview-inner").removeClass("sp-clear-display").css({"background-color":e.val()}),jQuery(this).css({"background-color":e.val()})}})),jQuery(".dslca-modules-section-edit-field-upload").each((function(){var e=jQuery(this).closest(".dslca-modules-section-edit-option");jQuery(this).val()&&"disabled"!==jQuery(this).val()?(jQuery(".dslca-modules-section-edit-field-image-add-hook",e).hide(),jQuery(".dslca-modules-section-edit-field-image-remove-hook",e).show()):(jQuery(".dslca-modules-section-edit-field-image-remove-hook",e).hide(),jQuery(".dslca-modules-section-edit-field-image-add-hook",e).show())})),Et(".dslca-modules-section-edit"),LiveComposer.Builder.Flags.panelOpened=!0,Pt()}function li(e){var t;window.dslcDebug&&console.log("dslc_row_copy"),(t=e.clone().appendTo(jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument)))[0].removeAttribute("data-jsinit"),t.find(".dslc-modules-area").each((function(){var t=jQuery(this).index();jQuery(this).data("size",e.find(".dslc-modules-area:eq( "+t+" )").data("size")),this.removeAttribute("data-jsinit")})),new ni(t),t.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 e=jQuery(this);Jo(e[0]),ui(),oi(),window.dslc_generate_code(),$o(),jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"),e.animate({opacity:1},300),window.dslc_show_publish_button()})),function(e){window.dslcDebug&&console.log("dslc_section_new_id");var t=LiveComposer.Utils.get_unique_id();e.setAttribute("data-section-id",t),LiveComposer.Utils.update_section_property_raw(e,"section_instance_id",t)}(t[0])}function ci(e){window.dslcDebug&&console.log("dslc_row_import"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-import-modules-section",dslc:"active",dslc_modules_section_code:e},(function(e){u(),jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).append(e.output),LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),ui(),oi(),$o(),window.dslc_generate_code(),window.dslc_show_publish_button()}))}var ui=function(){jQuery("#dslc-main .dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).each((function(){"initialized"!==jQuery(this).data("jsinit")&&new ni(this)}))},mi=function(){ui(),function(){jQuery;var e=function(){return!LiveComposer.Builder.Flags.panelOpened||(LiveComposer.Builder.UI.shakePanelConfirmButton(),!1)};jQuery(".dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).each((function(){new ni(this)})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-delete-modules-section-hook",(function(t){if(!e())return!1;t.preventDefault();var o=this;jQuery(this).hasClass("dslca-action-disabled")||n({title:DSLCString.str_del_row_title,content:DSLCString.str_del_row_descr,confirm:function(){di(jQuery(o).closest(".dslc-modules-section"))}})})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-import-modules-section-hook",(function(t){if(t.preventDefault(),!e())return!1;jQuery(this).hasClass("dslca-action-disabled")||n({title:DSLCString.str_import_row_title,content:DSLCString.str_import_row_descr+"<br><br><textarea></textarea>",confirm:function(){ci(jQuery(".dslca-prompt-modal textarea").val()),jQuery(".dslca-prompt-modal-confirm-hook span").css({opacity:0}),jQuery(".dslca-prompt-modal-confirm-hook .dslca-loading").show()},confirm_title:DSLCString.str_import})})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-export-modules-section-hook",(function(t){if(t.preventDefault(),!e())return!1;jQuery(this).hasClass("dslca-action-disabled")||(jQuery(".dslca-prompt-modal-cancel-hook").hide(),jQuery(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>'+DSLCString.str_ok),n({title:DSLCString.str_export_row_title,content:DSLCString.str_export_row_descr+"<br><br><textarea>["+d(jQuery(this).closest(".dslc-modules-section"))+"]</textarea></span>"}))})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-copy-modules-section-hook",(function(){if(!e())return!1;jQuery(this).hasClass("dslca-action-disabled")||li(jQuery(this).closest(".dslc-modules-section"))})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-add-modules-section-hook",(function(t){if(t.preventDefault(),!e())return!1;var o=jQuery(this);jQuery(this).hasClass("dslca-action-disabled")||(o.find(".dslca-icon").removeClass("dslc-icon-align-justify").addClass("dslc-icon-spinner dslc-icon-spin"),ai((function(){o.find(".dslca-icon").removeClass("dslc-icon-spinner dslc-icon-spin").addClass("dslc-icon-align-justify")})))})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-edit-modules-section-hook",(function(){if(!e())return!1;var t=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length,o=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;if(LiveComposer.Builder.Flags.uiHidden||t>0||o>0)return!1;jQuery(this).hasClass("dslca-action-disabled")||ri(jQuery(this).closest(".dslc-modules-section")),jQuery("body",LiveComposer.Builder.PreviewAreaDocument).addClass("section-editing-in-progress")}))}(),jQuery(document).on("click",".dslca-row-edit-save",(function(){var e;window.dslcDebug&&console.log("dslc_confirm_row_changes"),e=void 0!==e&&e,jQuery(".dslca-modules-section-being-edited .dslca-modules-section-settings input",LiveComposer.Builder.PreviewAreaDocument).each((function(){jQuery(this).data("def",jQuery(this).val())})),Et(".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-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-modules-section-being-edited dslca-modules-section-change-made"),window.dslc_generate_code(),window.dslc_show_publish_button(),e&&e(),LiveComposer.Builder.Flags.panelOpened=!1,jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("section-editing-in-progress"),jQuery(".dslca-currently-editing").removeAttr("style"),jQuery(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active"),LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(!0)})),jQuery(document).on("click",".dslca-row-edit-cancel",(function(){var e;window.dslcDebug&&console.log("dslc_row_cancel_changes"),e=void 0!==e&&e,LiveComposer.Builder.Flags.generate_code_after_row_changed=!1,jQuery(".dslca-modules-section-being-edited .dslca-modules-section-settings input",LiveComposer.Builder.PreviewAreaDocument).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")})),LiveComposer.Builder.Flags.generate_code_after_row_changed=!0,window.dslc_generate_code(),window.dslc_show_publish_button(),Et(".dslca-modules"),jQuery(".dslca-row-edit-actions").hide(),jQuery(".dslca-row-options-filter-hook").hide(),jQuery(".dslca-header .dslca-go-to-section-hook").show(),dslc_show_publish_button,jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-modules-section-being-edited dslca-modules-section-change-made"),e&&e(),LiveComposer.Builder.Flags.panelOpened=!1,jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("section-editing-in-progress"),jQuery(".dslca-currently-editing").removeAttr("style"),jQuery(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active"),LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(!0)}))};function pi(){window.dslcDebug&&console.log("dslc_import_template"),jQuery(".dslca-modal-templates-import .dslca-modal-title").css({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(e){jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).html(e.output),jQuery(".dslca-modal-templates-import .dslca-loading").hide(),jQuery(".dslca-modal-templates-import .dslca-modal-title").css({opacity:1}),c("",".dslca-modal-templates-import"),LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video(),$o(),window.dslc_show_publish_button(),window.dslc_generate_code()}))}function hi(){window.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(e){c("",".dslca-modal-templates-save")}))}function fi(e){window.dslcDebug&&console.log("dslc_delete_template"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-delete-template",dslc:"active",dslc_template_id:e},(function(t){jQuery('.dslca-template[data-id="'+e+'"]').fadeOut(200,(function(){jQuery(this).remove()}))}))}var vi=function(){document.querySelectorAll(".dslca-template").forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),function(e){window.dslcDebug&&console.log("dslc_load_template"),jQuery("#wpcontent").prepend('<div class="lc-template-loader"></div>');jQuery(".lc-template-loader").prepend('<div class="lc-loader lds-css"><div class="lds-spinner"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>'),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-load-template",dslc:"active",dslc_template_id:e},(function(e){jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).html(e.output),jQuery(".lc-template-loader").remove(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),ui(),oi(),$o(),window.dslc_show_publish_button(),window.dslc_generate_code()}))}(e.target.closest("[data-id]").dataset.id)}))})),jQuery(".dslca-template-import-form").submit((function(e){e.preventDefault(),pi()})),jQuery(".dslca-template-save-form").submit((function(e){e.preventDefault(),hi()})),jQuery(document).on("click",".dslca-delete-template-hook",(function(e){e.stopPropagation(),fi(jQuery(this).data("id"))}))};function gi(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var yi=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sortable,this.initSortable(t),this.reactToSortableOnOff()}var t,o,i;return t=e,(o=[{key:"initSortable",value:function(e){this.sortable=At.create(e,{group:"sections",animation:350,handle:".dslca-move-modules-section-hook",draggable:".dslc-modules-section-dnd",ghostClass:"dslca-sections-ghost",chosenClass:"dslca-sections-dragging",scroll:!0,scrollSensitivity:150,scrollSpeed:10,bubbleScroll:!0,direction:"vertical",setData:function(e,t){e.setData(!1!==LiveComposer.Utils.msieversion()?"Text":"text/html",t.innerHTML)},onStart:function(e){jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress"),jQuery("body",LiveComposer.Builder.PreviewAreaWindow.document).removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress")},onEnd:function(e){e.oldIndex,e.newIndex,e.preventDefault(),window.dslc_generate_code(),LiveComposer.Builder.UI.stopScroller(),jQuery("body").removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress"),jQuery("body",LiveComposer.Builder.PreviewAreaWindow.document).removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress"),jQuery(".dslca-anim-opacity-drop").removeClass("dslca-anim-opacity-drop")},onAdd:function(e){},onUpdate:function(e){e.item,window.dslc_show_publish_button()},onSort:function(e){jQuery(this).removeClass("ui-state-default")},onRemove:function(e){},onFilter:function(e){e.item},onMove:function(e){e.dragged,e.draggedRect,e.related,e.relatedRect}})}},{key:"reactToSortableOnOff",value:function(){self=this.sortable}}])&&gi(t.prototype,o),i&&gi(t,i),e}();jQuery(document).ready((function(e){var t=function(e){var t=.75,o=100,i=jQuery(".dslca-section-scroller",e),n=jQuery(".dslca-section-scroller-inner",e)[0];function a(e){e=e<0?-o:o,e*=t;var a=i.find(".dslca-section-scroller-content").width(),s=i.width();if(a<=s)return!1;var d=a-s+10;e=(e=(e=parseInt(n.style.left||0)-e)>=0?0:e)<=-d?-d:e,n.style.left=e+"px"}i.on("wheel",(function(e){return a(e.originalEvent.deltaY||e.originalEvent.deltaX),!1})),jQuery(".dslca-section-scroller-prev",e).click((function(e){e.preventDefault(),a(-500)})),jQuery(".dslca-section-scroller-next",e).click((function(e){e.preventDefault(),a(500)})),jQuery(window).load((function(){jQuery(window).resize((function(){a(0)}))}))};t(jQuery(".dslca-section.dslca-modules")),t(jQuery(".dslca-section.dslca-templates-load"))}));var wi=function(){LiveComposer.Builder.Flags.windowScroller=!1,jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragleave",".lc-scroll-top-area, .lc-scroll-bottom-area",(function(e){LiveComposer.Builder.UI.stopScroller()})),jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragenter dragover",".lc-scroll-bottom-area",(function(e){if(!1!==LiveComposer.Builder.Flags.windowScroller)return!1;LiveComposer.Utils.publish("LC.sortableOff",{}),LiveComposer.Builder.Flags.windowScroller=setInterval((function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,5)}),6)})),jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragenter",".lc-scroll-top-area",(function(e){if(!1!==LiveComposer.Builder.Flags.windowScroller)return!1;LiveComposer.Utils.publish("LC.sortableOff",{}),LiveComposer.Builder.Flags.windowScroller=setInterval((function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,-5)}),6)})),jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragend mouseup","body",(function(e){LiveComposer.Builder.Flags.windowScroller&&LiveComposer.Builder.UI.stopScroller()}))};function bi(e){return(bi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}jQuery(document).ready((function(e){wi(),LiveComposer.Builder.UI.stopScroller=function(){LiveComposer.Utils.publish("LC.sortableOn",{}),clearInterval(LiveComposer.Builder.Flags.windowScroller),LiveComposer.Builder.Flags.windowScroller=!1},jQuery("#scroller-stopper").on("dragover",(function(){LiveComposer.Builder.UI.stopScroller()}))}));var ji={addslashes:function(e){return e=(e=(e=(e=e.replace(/\\/g,"\\\\")).replace(/\'/g,"\\'")).replace(/\"/g,'\\"')).replace(/\0/g,"\\0")},basename:function(e){return e.split(/[\\/]/).pop()},msieversion:function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");return!!(t>0||navigator.userAgent.match(/Trident.*rv\:11\./))&&parseInt(e.substring(t+5,e.indexOf(".",t)))},checkParams:function(e){if(!Array.isArray(e))throw"Param is not array";var t={integer:function(e){return isNaN(parseInt(e))},float:function(e){return isNaN(parseFloat(e))},string:function(e){return null!=e&&null!=e&&"string"==typeof e},array:function(e){return Array.isArray(e)},object:function(e){return"object"==bi(e)}};e.map((function(e){if(!t[e[1]](e[0]))throw"Param "+e[0]+" is not "+e[1]}))},utf8_to_b64:function(e){return window.btoa(unescape(encodeURIComponent(e)))},b64_to_utf8:function(e){return decodeURIComponent(escape(window.atob(e)))},get_page_params:function(){return decodeURIComponent(window.location.search.slice(1)).split("&").reduce((function(e,t){return e[(t=t.split("="))[0]]=t[1],e}),{})},get_unique_id:function(){return Math.random().toString(32).slice(2)},update_module_property_raw:function(e,t,o){var i=e.getElementsByClassName("dslca-module-code")[0],n=e.querySelector('.dslca-module-option-front[data-id="'+t+'"]'),a=i.value;(a=JSON.parse(a))[t]=o,a=JSON.stringify(a),i.value=a,i.innerText=a,n.value=o,n.innerText=o},update_section_property_raw:function(e,t,o){var i=e.getElementsByClassName("dslca-section-code")[0],n=e.querySelector('.dslca-modules-section-settings input[data-id="'+t+'"]'),a=i.value;(a=JSON.parse(a))[t]=o,a=JSON.stringify(a),i.value=a,i.innerText=a,n.setAttribute("value",o),n.setAttribute("data-def",o)},publish:function(e,t){t=t||{},this.checkParams([[e,"string"],[t,"object"]]),jQuery(document).trigger({type:e,message:{details:t}}),LiveComposer.Builder.PreviewAreaWindow.dslca_publish_event(e,t)}};window.LiveComposer={Builder:{Elements:{},UI:{},Actions:{},Flags:{},PreviewFrame:{},Helpers:{}},Production:{},Utils:{}},LiveComposer.Builder.Flags={windowScroller:!1,panelOpened:!1,uiHidden:!1,modalOpen:!1,generate_code_after_row_changed:!0},LiveComposer.Builder.Actions={postponed_actions_queue:{},add_postponed_action:function(e){void 0!==e&&(isNaN(this.postponed_actions_queue[e])&&(this.postponed_actions_queue[e]=0),this.postponed_actions_queue[e]+=1)},release_postponed_actions:function(){var e=this;jQuery.each(this.postponed_actions_queue,(function(t,o){1<o?e.postponed_actions_queue[t]-=1:1==o&&(window[t](),e.postponed_actions_queue[t]-=1)}))},optionsChanged:function(){window.dslc_show_publish_button()}},LiveComposer.Builder.Helpers.insertModule=function(e,t){var o=jQuery(e),i=(t=jQuery(t),[]);return o.find("script").each((function(){i.push(this.innerHTML),this.parentNode.removeChild(this)})),t.after(o).remove(),i.forEach((function(e){var t=LiveComposer.Builder.PreviewAreaDocument[0].createElement("script");t.innerHTML=e,t.type="text/javascript",LiveComposer.Builder.PreviewAreaDocument[0].getElementById(o[0].id).appendChild(t)})),i=null,t=null,o},window.previewAreaTinyMCELoaded=function(e){LiveComposer.Builder.PreviewAreaWindow=e,LiveComposer.Builder.PreviewAreaDocument=jQuery(e.document),jQuery("#wpadminbar",LiveComposer.Builder.PreviewAreaDocument).remove(),window.LiveComposer.Builder.PreviewAreaDocument.on("dragstart",".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section",(function(e){jQuery("[contenteditable]",window.LiveComposer.Builder.PreviewAreaDocument).attr("contenteditable",!1)})),window.LiveComposer.Builder.PreviewAreaDocument.on("dragend mousedown",".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section",(function(e){jQuery("[contenteditable]",window.LiveComposer.Builder.PreviewAreaDocument).attr("contenteditable",!0)})),vi(),function(){var e=window.LiveComposer.Builder;window.LiveComposer.Builder.Helpers.colorpickers=[],window.LiveComposer.Builder.UI.clearUtils=function(){window.dslcDebug&&console.log("window.LiveComposer.Builder.UI.clearUtils"),window.LiveComposer.Builder.UI.clearColorPickers(),void 0!==window.LiveComposer.Builder.moduleBackup&&window.LiveComposer.Builder.moduleBackup.remove(),jQuery(".temp-styles-for-module",window.LiveComposer.Builder.PreviewAreaDocument).remove(),jQuery(".mce-tinymce",window.LiveComposer.Builder.PreviewAreaDocument).hide()},window.LiveComposer.Builder.UI.clearColorPickers=function(){Array.isArray(e.Helpers.colorpickers)&&(e.Helpers.colorpickers.forEach((function(e){jQuery(e).hasClass("dslca-modules-section-edit-field")||jQuery(e).remove()})),e.Helpers.colorpickers=[]),jQuery("body").off("click.wpcolorpicker")},window.LiveComposer.Builder.Helpers.depsHandlers=[],window.LiveComposer.Builder.UI.loadOptionsDeps=function(){jQuery(".dslca-module-edit-option").each((function(){var e=!0;try{var t=JSON.parse(LiveComposer.Utils.b64_to_utf8(jQuery(this).data("dep")))}catch(t){e=!1}if(e){var o=function(){var e=this,o={};if(("radio"==e.type||"checkbox"==e.type)&&null==t[e.value])return!1;"checkbox"==e.type&&null!=t[e.value]?o[e.value]=t[e.value]:o=t,Object.keys(o).forEach((function(t){o[t].split(",").forEach((function(o){var i=jQuery(".dslca-module-edit-option-"+o.trim()).closest(".dslca-module-edit-option"),n=!0;"radio"!=e.type&&"checkbox"!=e.type||(n=jQuery(e).is(":checked"));var a=jQuery(".dslca-module-edit-options-tab-hook.dslca-active").data("id");e.value==t&&n?(i.not(".dependent")&&i.addClass("dependent"),i.hasClass("dep-hide")?(i.removeClass("dep-hide"),i.addClass("dep-show")):i.addClass("dep-show"),a==i.data("tab")&&i.show()):(i.not(".dependent")&&i.addClass("dependent"),i.hasClass("dep-show")?(i.removeClass("dep-show"),i.addClass("dep-hide")):i.addClass("dep-hide"),i.hide())}))}))};jQuery(document).on("change dslc-init-deps",'.dslca-module-edit-option > *[data-id="'+jQuery(this).data("id")+'"]',o),window.LiveComposer.Builder.Helpers.depsHandlers.push(o)}})),jQuery(".dslca-module-edit-option input, .dslca-module-edit-option select").trigger("dslc-init-deps")},window.LiveComposer.Builder.UI.unloadOptionsDeps=function(){window.LiveComposer.Builder.Helpers.depsHandlers.forEach((function(e){jQuery(document).unbind("change",e),jQuery(document).unbind("dslc-init-deps",e)})),window.LiveComposer.Builder.Helpers.depsHandlers=[]},window.LiveComposer.Builder.Helpers.processInlineStyleTag=function(e){if("object"!=m(e))return!1;var t="",o="";"tablet_responsive"==e.context.closest(".dslca-module-edit-option").data("tab")?(t="@media only screen and (max-width: 1024px) and (min-width: 768px) {",o="}"):"phone_responsive"==e.context.closest(".dslca-module-edit-option").data("tab")&&(t="@media only screen and (max-width: 767px) {",o="}"),e.styleContent=t+e.styleContent+o;var i=t+e.rule+e.elems;if(i=i.replace(/ /gi,""),null==window.LiveComposer.Builder.PreviewAreaDocument[0].getElementById(i)){var n=document.createElement("style");n.innerHTML=e.styleContent,n.id=i,n.className="temp-styles-for-module",window.LiveComposer.Builder.PreviewAreaDocument[0].body.appendChild(n)}else window.LiveComposer.Builder.PreviewAreaDocument[0].getElementById(i).innerHTML=e.styleContent},window.LiveComposer.Builder.UI.shakePanelConfirmButton=function(){jQuery(".dslca-module-edit-save").addClass("lc-shake-effect active"),setTimeout((function(){jQuery(".dslca-module-edit-save").removeClass("lc-shake-effect active")}),1e3)},g(),y(),w()}(),mi();var t=LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main").eq(0)[0];new yi(t),jQuery(document).trigger("editorFrameLoaded"),$o(),r(),window.dslc_generate_code(),Mt(),wi(),Vo(),window.LiveComposer.Utils=ji,document.addEventListener("click",(function(e){if(e.target.matches('[data-event="modal-wysiwyg-cancel"]')){var t=new CustomEvent("modalWysiwygCancel",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event="modal-wysiwyg-confirm"]')){var o=new CustomEvent("modalWysiwygConfirm",{detail:e.target});document.dispatchEvent(o)}}),!1),LiveComposer.Builder.PreviewAreaWindow.document.addEventListener("click",(function(e){if(e.preventDefault(),e.target.matches('[data-event="module-edit"]')){var t=new CustomEvent("moduleEdit",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event="module-duplicate"]')){var o=new CustomEvent("moduleDuplicate",{detail:e.target});document.dispatchEvent(o)}if(e.target.matches('[data-event="module-delete"]')){var i=new CustomEvent("moduleDelete",{detail:e.target});document.dispatchEvent(i)}if(e.target.matches(".dslca-change-width-module-options [data-size]")){var n=new CustomEvent("moduleChangeWidth",{detail:e.target});document.dispatchEvent(n)}if(e.target.matches('[data-event="wysiwyg-edit"]')){var a=new CustomEvent("wysiwygEdit",{detail:e.target});document.dispatchEvent(a)}if(e.target.matches('[data-event="module-style-copy"]')){var s=new CustomEvent("copyModuleStyles",{detail:e.target});document.dispatchEvent(s)}if(e.target.matches('[data-event="module-style-paste"]')){var d=new CustomEvent("pasteModuleStyles",{detail:e.target});document.dispatchEvent(d)}}),!1)},window.onbeforeunload=function(){}}});
9
  //# sourceMappingURL=editor_backend.min.js.map
1
+ !function(e){var t={};function o(i){if(t[i])return t[i].exports;var n=t[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=t,o.d=function(e,t,i){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(i,n,function(t){return e[t]}.bind(null,n));return i},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=3)}({3:function(e,t,o){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}o.r(t);var n=function(e){if("object"!=i(e)||!0===LiveComposer.Builder.Flags.modalOpen)return!1;var t='<div class="dslca-prompt-modal dslca-prompt-modal-active"><div class="dslca-prompt-modal-content"><div class="dslca-prompt-modal-msg"><span class="dslca-prompt-modal-title">'+e.title+'</span><span class="dslca-prompt-modal-descr">'+e.content+"</span></div>",o="";o=e.confirm||e.cancel?'<div class="dslca-prompt-modal-actions"><a href="#" class="dslca-prompt-modal-confirm-hook"><span class="dslc-icon dslc-icon-ok"></span>'+(e.confirm_title?e.confirm_title:"Confirm")+'</a><span class="dslca-prompt-modal-cancel-hook"><span class="dslc-icon dslc-icon-remove"></span>'+(e.cancel_title?e.cancel_title:"Cancel")+"</span></div>":'<div class="dslca-prompt-modal-actions"><a href="#" class="dslca-prompt-modal-confirm-hook"><span class="dslc-icon dslc-icon-ok"></span>'+(e.ok_title?e.ok_title:"OK")+"</a></div>",t+=o+"</div>",t=jQuery(t),"function"!=typeof e.confirm&&(e.confirm=function(){}),"function"!=typeof e.cancel&&(e.cancel=function(){}),t.find(".dslca-prompt-modal-confirm-hook").click((function(o){return o.stopPropagation(),t.find(".dslca-prompt-modal-content").animate({top:"55%"},400),t.animate({opacity:0},400,(function(){e.confirm(),LiveComposer.Builder.Flags.modalOpen=!1,jQuery(this).remove()})),!1})),t.find(".dslca-prompt-modal-cancel-hook").click((function(o){return o.stopPropagation(),t.find(".dslca-prompt-modal-content").animate({top:"55%"},400),t.animate({opacity:0},400,(function(){jQuery(this).remove(),LiveComposer.Builder.Flags.modalOpen=!1,e.cancel()})),!1})),t.hide(),jQuery("body").append(t),t.css({opacity:0}).show().animate({opacity:1},400),t.find(".dslca-prompt-modal-content").css({top:"55%"}).animate({top:"50%"},400),LiveComposer.Builder.Flags.modalOpen=!0},s=function(){window.dslcDebug&&console.log("updatePreset");var e=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),t=e.find('.dslca-module-option-front[data-id="css_load_preset"]').val(),o=e.find(".dslca-module-code").innerText,i=e.data("module");"none"!==t&&""!==t&&jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-save-preset",dslc_preset_name:t,dslc_preset_code:o,dslc_module_id:i},(function(t){"enabled"==t.preset_setting&&jQuery(".dslc-module-front:not(#"+e.attr("id")+')[data-module="'+e.data("module")+'"][data-dslc-preset="'+e.data("dslc-preset")+'"]',LiveComposer.Builder.PreviewAreaDocument).each((function(){window.dslc_module_output_reload(jQuery(this))}))}))};jQuery(document).ready((function(e){jQuery(document).on("keypress",'.dslca-module-edit-field[name="css_save_preset"]',(function(e){if(13==e.which){var t=jQuery(this).val().toLowerCase().replace(/\s/g,"-");jQuery("body").addClass("dslca-new-preset-added"),jQuery('.dslca-module-edit-field[name="css_load_preset"]').append('<option value="'+t+'">'+t+"</option>").val(t).trigger("change"),jQuery(this).val(""),jQuery(".dslc-delete-preset").removeClass("dslc-delete-preset-hide")}})),jQuery(document).on("change",'.dslca-module-edit-field[name="css_load_preset"]',(function(e){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-preload-preset")})),jQuery(document).on("click",".dslc-delete-preset",(function(e){var t=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),o=t.find('.dslca-module-option-front[data-id="css_load_preset"]').val(),i=t.data("module");"none"!==o&&""!==o&&jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-delete-preset",dslc_preset_name:o,dslc_module_id:i},(function(e){window.dslc_module_options_show(i)}))}))}));function a(){window.dslcDebug&&console.log("dslc_save_composer"),window.dslc_generate_code(),function(){window.dslcDebug&&console.log("dslca_gen_content_for_search");var e=document.getElementById("dslca-content-for-search");if(null===e)return;var t=e.value,o="",i=LiveComposer.Builder.PreviewAreaWindow.document.querySelectorAll("#dslc-main .dslc-module-front [data-exportable-content]");void 0!==i&&Array.prototype.forEach.call(i,(function(e,t){var i;if(""!==e.getAttribute("data-exportable-content")){var n=e.getAttribute("data-exportable-content");i="<"+n+">"+e.innerHTML+"</"+n+">"}else i=e.innerHTML;null!==i&&(o+=i.replace(/\s+/g," ").trim()+"\n")}));e.value=o,t!==o&&window.dslc_show_publish_button()}();var e=jQuery("#dslca-code").val(),t=jQuery("#dslca-content-for-search").val(),o=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:o,dslc_code:e,dslc_content_for_search:t},timeout:3e4}).done((function(e){"success"==e.status?(jQuery(".dslca-save-composer").fadeOut(250),jQuery(".dslca-save-draft-composer").fadeOut(250),jQuery("body").append('<iframe class="lbmn-cache-iframe" id="lbmn-cache-iframe-'+o+'" src="'+DSLCSiteData.siteurl+"/?p="+o+'" ></iframe>'),jQuery(".lbmn-cache-iframe").each((function(e,t){jQuery(t).load((function(){jQuery(t).remove()}))}))):alert("Something went wrong, please try to save again. Are you sure to make any changes? Error Code: "+e.status)})).fail((function(e){"timeout"==e.statusText?alert("The request timed out after 30 seconds. Server do not respond in time. Please try again."):alert("Something went wrong. Please try again. Error Code: "+e.statusText)})).always((function(e){jQuery(".dslca-save-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-ok"),jQuery("body").removeClass("dslca-saving-in-progress")}))}window.dslc_generate_code=function(){window.dslcDebug&&console.log("dslc_generate_code");var e,t,o="";jQuery("#dslc-main .dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument).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",LiveComposer.Builder.PreviewAreaDocument).each((function(){e=jQuery(this),t=d(e),e.find(".dslca-section-code").val(t),o=o+t+","})),o="["+(o=o.slice(0,-1))+"]",jQuery("#dslca-code").val(o),jQuery("#dslca-export-code").val(o)};var d=function(e){window.dslcDebug&&console.log("generateSectionCode");var t,o,i,n,s="",a=0,d="";return o=e,jQuery(".dslc-modules-area",o).length?o.removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty"):o.removeClass("dslc-modules-section-not-empty").addClass("dslc-modules-section-empty"),jQuery(".dslc-modules-area.dslc-last-col, .dslc-modules-area.dslc-first-col",void 0).removeClass("dslc-last-col dslc-first-col"),jQuery(".dslc-module-front.dslc-last-col, .dslc-module-front.dslc-first-col",void 0).removeClass("dslc-last-col dslc-first-col"),a=0,i=o.find(".dslca-section-code").val(),n=JSON.parse(i),d="",jQuery(".dslca-modules-section-settings input",o).each((function(){var e=jQuery(this),t=e.data("id"),o=e.val();d=d+t+'="'+o+'" ',n[t]=o})),void 0!==n.give_new_id&&delete n.give_new_id,n.content=[],jQuery(".dslc-modules-area",o).each((function(){var e=0,o=jQuery(this),i=parseInt(o.data("size")),d=o.data("valign"),l="no",r="no";a+=i,jQuery(this).removeClass("dslc-first-col"),jQuery(this).removeClass("dslc-last-col"),12==a?(jQuery(this).addClass("dslc-last-col").next(".dslc-modules-area").addClass("dslc-first-col"),a=0,l="yes"):a>12&&(jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"),a=i,r="yes"),a==i&&(r="yes",jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"));var c='{"element_type":"module_area","last":"'+l+'","first":"'+r+'","size":"'+i+'","valign":"'+d+'"}';void 0!==(c=JSON.parse(c)).give_new_id&&delete c.give_new_id,c.content=[],jQuery(".dslc-module-front",o).each((function(){var o=jQuery(this);t=parseInt(o[0].getAttribute("data-dslc-module-size"));var i="no";jQuery(this).removeClass("dslc-first-col"),jQuery(this).removeClass("dslc-last-col"),12==(e+=t)?(jQuery(this).addClass("dslc-last-col"),jQuery(this).next(".dslc-module-front").addClass("dslc-first-col"),e=0,i="yes"):e>12&&(jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"),e=t),e==t&&("yes",jQuery(this).removeClass("dslc-last-col").addClass("dslc-first-col"));try{s=o[0].querySelector(".dslca-module-code").innerText}catch(e){console.info("No DSLC code found in module: "+o[0].getAttribute("id"))}if(""!==s){var n=JSON.parse(s);n.last=i,jQuery.each(n,(function(e,t){!1!==t&&""!==t||delete n[e],"content"===e&&(n[e]=t.replace(/\\'/g,"'")),"give_new_id"===e&&delete n[e]})),o[0].querySelector(".dslca-module-code").innerText=JSON.stringify(n),c.content.push(n)}s=""})),n.content.push(c)})),JSON.stringify(n)},l=function(){jQuery(document).on("click",".dslca-save-composer-hook",(function(e){e.preventDefault(),jQuery("body").hasClass("dslca-module-saving-in-progress")||jQuery("body").hasClass("dslca-saving-in-progress")||a()})),jQuery(document).on("click",".dslca-save-draft-composer-hook",(function(e){e.preventDefault(),jQuery("body").hasClass("dslca-module-saving-in-progress")||jQuery("body").hasClass("dslca-saving-in-progress")||function(){window.dslcDebug&&console.log("dslc_save_draft_composer");var e=jQuery("#dslca-code").val(),t=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:t,dslc_code:e},(function(e){jQuery(".dslca-save-draft-composer .dslca-icon").removeClass("dslc-icon-spin dslc-icon-spinner").addClass("dslc-icon-save"),"success"==e.status?jQuery(".dslca-save-draft-composer").fadeOut(250):alert("Something went wrong, please try to save again."),jQuery("body").removeClass("dslca-saving-in-progress")}))}()}))};var r=function(e){if(window.dslcDebug&&console.log("editableContentCodeGeneration"),void 0===e)return!1;var t=e.closest(".dslc-module-front")[0],o=e.html().trim().replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea"),i=e.data("id");LiveComposer.Utils.update_module_property_raw(t,i,o)};var c=function(e,t){"undefined"!=typeof dslcDebug&&dslcDebug&&console.log("hideModal"),(t=jQuery(t)).outerHide("destroy"),t.hide(),jQuery(".dslca-prompt-modal-custom").length>0&&jQuery(".dslca-prompt-modal-custom").fadeOut(),t.removeClass("dslca-modal-open")};jQuery(document).ready((function(e){jQuery(document).on("click",".dslca-open-modal-hook",(function(e){e.preventDefault();var t=jQuery(this).data("modal");!function(e,t){"undefined"!=typeof dslcDebug&&dslcDebug&&console.log("dslc_show_modal"),jQuery(".dslca-modal:visible").length&&c("",jQuery(".dslca-modal:visible")),t=jQuery(t),jQuery(".dslca-container").height(),t.outerHide({clbk:function(){c("",jQuery(".dslca-modal:visible"))}});var o=jQuery(e).position(),i=t.outerWidth()/2-e.outerWidth()/2,n=o.left-i;t.css({left:n}),jQuery(".dslca-prompt-modal-custom").insertAfter(t),jQuery(".dslca-prompt-modal-custom").length>0&&jQuery(".dslca-prompt-modal-custom").fadeIn(),t.addClass("dslca-modal-open").show()}(jQuery(this),t)})),jQuery(document).on("click",".dslca-close-modal-hook",(function(e){if(e.preventDefault(),!jQuery(this).hasClass("dslca-action-disabled")){var t=jQuery(this).data("modal");c(jQuery(this),t)}}))}));var u=function(){"undefined"!=typeof dslcDebug&&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)};window.dslc_modal_keypress_events=function(e){13==e.which?jQuery(".dslca-prompt-modal-active").length&&jQuery(".dslca-prompt-modal-confirm-hook").trigger("click"):27==e.which&&jQuery(".dslca-prompt-modal-active").length&&jQuery(".dslca-prompt-modal-cancel-hook").trigger("click")},jQuery(document).ready((function(e){jQuery(document).on("click",".dslca-prompt-modal-cancel-hook",(function(e){e.preventDefault();var t=jQuery(".dslca-prompt-modal").data("id"),o=jQuery(".dslca-prompt-modal").data("target");"edit_in_progress"==t&&dslc_module_options_cancel_changes((function(){o.trigger("click")})),u(),jQuery(".dslca-prompt-modal").data("id","")})),jQuery(document).on("click",".dslca-prompt-modal-confirm-hook",(function(e){e.preventDefault();var t=jQuery(".dslca-prompt-modal").data("id"),o=jQuery(".dslca-prompt-modal").data("target"),i=!0;if("edit_in_progress"==t)dslc_module_options_confirm_changes((function(){o.trigger("click")}));else if("disable_lc"==t)window.location=o;else if("delete_module"===t){var n=o.closest(".dslc-module-front");dslc_module_delete(n)}else if("delete_modules_area"===t){var s=o.closest(".dslc-modules-area");s.closest(".dslc-modules-section-inner");dslc_modules_area_delete(s)}else"delete_modules_section"==t?dslc_row_delete(o.closest(".dslc-modules-section")):"export_modules_section"==t||"import_modules_section"==t&&(dslc_row_import(jQuery(".dslca-prompt-modal textarea").val()),jQuery(".dslca-prompt-modal-confirm-hook span").css({opacity:0}),jQuery(".dslca-prompt-modal-confirm-hook .dslca-loading").show(),i=!1);i&&u(),jQuery(".dslca-prompt-modal").data("id","")}))})),jQuery.fn.outerHide=function(e){var t=jQuery,o=this;if("destroy"==(e=e||{}))return jQuery(document).unbind("click.outer_hide"),!1;jQuery(document).bind("click.outer_hide",(function(i){0==jQuery(i.target).closest(o).length&&i.target!=o&&-1==t.inArray(jQuery(i.target)[0],jQuery(e.clickObj))&&"none"!=jQuery(o).css("display")&&(e.clbk?e.clbk():jQuery(o).hide())}))},document.addEventListener("modalWysiwygCancel",(function(e){jQuery(".dslca-wp-editor").hide(),jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-wysiwyg-active")})),document.addEventListener("modalWysiwygConfirm",(function(e){var t=jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).closest(".dslc-module-front");if("undefined"!=typeof tinymce){if(jQuery("#wp-dslcawpeditor-wrap").hasClass("tmce-active"))var o=tinymce.get("dslcawpeditor").getContent();else o=jQuery("#dslcawpeditor").val();if(o=o.trim(),jQuery(".dslca-wp-editor").hide(),jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).html(o),t.hasClass("dslc-module-handle-like-accordion")){jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-editable-content").html(o),jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-accordion-plain-content").val(o);var i=t.find(".dslc-accordion");LiveComposer.Builder.PreviewAreaWindow.dslc_accordion_generate_code(i)}else if(t.hasClass("dslc-module-handle-like-tabs")){jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-editable-content").html(o),jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).siblings(".dslca-tab-plain-content").val(o);var n=t.find(".dslc-tabs");LiveComposer.Builder.PreviewAreaWindow.dslc_tabs_generate_code(n)}else r(jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument));jQuery(".dslca-wysiwyg-active",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-wysiwyg-active")}else console.info("Live Composer: TinyMCE is undefined.")}));function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var p=window.DSLCFonts.regular,h=window.DSLCFonts.google,f=p.concat(h),v=window.DSLCIcons.fontawesome;jQuery(document).ready((function(e){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 e,t=jQuery(".dslca-module-edit-field-ttip"),o=t.find(".dslca-module-edit-field-ttip-inner"),i=jQuery(this);if(e=i.parent().parent().hasClass("dslca-modules-section-edit-option")?i.closest(".dslca-modules-section-edit-option").find(".dslca-module-edit-field-ttip-content").html():i.closest(".dslca-module-edit-option").find(".dslca-module-edit-field-ttip-content").html(),t.is(":visible"))jQuery(".dslca-module-edit-field-ttip").hide();else{o.html(e);var n=i.offset(),s=t.outerHeight(),a=t.outerWidth(),d=n.left-a/2+6,l="50%";d<0&&(l=a/2+d+"px",d=0),jQuery(".dslca-module-edit-field-ttip").show().css({top:n.top-s-20,left:d}),jQuery("head").append(jQuery("<style>.dslca-module-edit-field-ttip:after, .dslca-module-edit-field-ttip:before { left: "+l+" }</style>"))}})),jQuery(document).on("click",".dslca-module-edit-field-icon-ttip-hook",(function(){var e=jQuery(".dslca-module-edit-field-icon-ttip"),t=jQuery(this);if(e.is(":visible"))jQuery(".dslca-module-edit-field-icon-ttip").hide();else{var o=t.offset(),i=e.outerHeight(),n=e.outerWidth(),s=o.left-n/2+6,a="50%";s<0&&(a=n/2+s+"px",s=0),jQuery(".dslca-module-edit-field-icon-ttip").show().css({top:o.top-i-20,left:s}),jQuery("head").append(jQuery("<style>.dslca-module-edit-field-icon-ttip:after, .dslca-module-edit-field-icon-ttip:before { left: "+a+" }</style>"))}})),window.dslc_module_options_font(),jQuery(document).on("keyup",".dslca-module-edit-field-icon",(function(e){var t,o,i,n;o=(t=jQuery(this)).closest(".dslca-module-edit-option"),38==e.which&&D(t,"previous"),40==e.which&&D(t,"next"),13!=e.which&&38!=e.which&&40!=e.which&&(i=t.val().toLowerCase(),t.val(i),n=jQuery.grep(v,(function(e,t){return 0==e.indexOf(i)}))[0],jQuery(".dslca-module-edit-field-icon-suggest",o).text(n))})),jQuery(document).on("keypress",".dslca-module-edit-field-icon",(function(e){var t;13==e.which&&(e.preventDefault(),t=jQuery(this).closest(".dslca-module-edit-option"),jQuery(this).val(jQuery(".dslca-module-edit-field-icon-suggest",t).text()).trigger("change"),jQuery(".dslca-module-edit-field-icon-suggest",t).text(""))})),jQuery(document).on("click",'.dslca-open-modal-hook[data-modal^=".dslc-list-icons"]',(function(e){jQuery(this).closest(".dslca-module-edit-option-icon").find("input").addClass("icon-modal-active")})),jQuery(document).on("click",".dslca-modal-icons .icon-item",(function(e){var t=jQuery(this).find(".icon-item_name").text();jQuery("input.icon-modal-active").val(t).change(),c("",jQuery(".dslca-modal:visible")),jQuery("input.icon-modal-active").removeClass("icon-modal-active")})),jQuery(document).on("click",".dslca-module-edit-option-text-align-hook",(function(){var e=jQuery(this),t=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").find(".dslca-module-edit-option-text-align-hook"),o=e.data("val"),i=jQuery(this).closest(".dslca-module-edit-option-text-align-wrapper").siblings("input.dslca-module-edit-field");t.removeClass("dslca-active"),e.addClass("dslca-active"),i.val(o).trigger("change")})),jQuery(document).on("click",".dslca-module-edit-option-checkbox-hook, .dslca-modules-section-edit-option-checkbox-hook",(function(){var e=jQuery(this),t=e.siblings('input[type="checkbox"]');t.prop("checked")?(t.prop("checked",!1),e.find(".dslca-icon").removeClass("dslc-icon-check").addClass("dslc-icon-check-empty")):(t.prop("checked",!0),e.find(".dslca-icon").removeClass("dslc-icon-check-empty").addClass("dslc-icon-check")),t.change()})),function(){window.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 e=jQuery(this).closest(".dslca-module-edit-option"),t=e.find(".dslca-module-edit-field"),o=e.find(".dslca-module-edit-option-box-shadow-hor").val(),i=e.find(".dslca-module-edit-option-box-shadow-ver").val(),n=e.find(".dslca-module-edit-option-box-shadow-blur").val(),s=e.find(".dslca-module-edit-option-box-shadow-spread").val(),a=e.find(".dslca-module-edit-option-box-shadow-color").val(),d=e.find(".dslca-module-edit-option-box-shadow-inset").is(":checked"),l=o+"px "+i+"px "+n+"px "+s+"px "+a+(d=d?" inset":"");t.val(l).trigger("change")}))}(),function(){window.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 e=jQuery(this).closest(".dslca-module-edit-option"),t=e.find(".dslca-module-edit-field"),o=e.find(".dslca-module-edit-option-text-shadow-hor").val()+"px "+e.find(".dslca-module-edit-option-text-shadow-ver").val()+"px "+e.find(".dslca-module-edit-option-text-shadow-blur").val()+"px "+e.find(".dslca-module-edit-option-text-shadow-color").val();t.val(o).trigger("change")}))}();jQuery(document).on("click",".dslca-module-edit-field-colorpicker, .dslca-modules-section-edit-field-colorpicker, .dslca-module-edit-option-box-shadow-color, .dslca-module-edit-option-text-shadow-color",(function(){L(this);var e=jQuery(this).closest(".dslca-color-option"),t=jQuery(".dslca-module-edit-options-inner"),o=e.find(".wp-picker-holder"),i=e.offset(),n=i.left+15,s=window.innerWidth;s<n+260&&(n=s-260),o.css("left",n+"px"),jQuery(t).on("scroll",(function(t){var n=(i=e.offset()).left+15,s=window.innerWidth;s<n+260&&(n=s-260),o.css("left",n+"px")}))})),jQuery(".dslca-container").on("mouseenter",".dslca-module-edit-option-slider",(function(){jQuery(this).hasClass("dslca-module-edit-option-select")||x(this)})),jQuery(".dslca-container").on("mouseenter",".dslca-modules-section-edit-option-slider",(function(){x(this)})),jQuery(".dslca-module-edit-form").submit((function(e){e.preventDefault(),Go()})),jQuery(document).on("click",".dslca-module-edit-options-tab-hook",(function(e){e.preventDefault(),Q(jQuery(this))})),jQuery(document).on("click",".dslca-clear-responsive-options",(function(e){e.preventDefault(),j()})),jQuery(document).on("click",".dslca-options-filter-hook",(function(e){e.preventDefault();var t=jQuery(".dslca-options-filter-hook.dslca-active").data("section"),o=jQuery(this).data("section");jQuery(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active"),jQuery(this).addClass("dslca-active"),jQuery(".dslca-container-loader"),document.querySelector(".dslca-container").dataset.currentSection=o,b(o),"responsive"==t&&(jQuery(".dslca-container-loader").show(),window.LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(),Go((function(){jQuery(".dslca-container-loader").hide()})),jQuery("#page-builder-preview-area").resizable("destroy").attr("style","")),"responsive"==o&&jQuery("#page-builder-preview-area").resizable()})),jQuery(document).on("click",".dslca-module-edit-save",(function(e){e.preventDefault(),C((function(){window.LiveComposer.Builder.UI.unloadOptionsDeps(),window.LiveComposer.Builder.Flags.panelOpened=!1,jQuery("body",window.LiveComposer.Builder.PreviewAreaDocument).removeClass("module-editing-in-progress")})),jQuery(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active"),B()})),jQuery(document).on("click",".dslca-module-edit-cancel",(function(e){e.preventDefault(),k((function(){window.LiveComposer.Builder.UI.unloadOptionsDeps(),window.LiveComposer.Builder.Flags.panelOpened=!1,jQuery("body",window.LiveComposer.Builder.PreviewAreaDocument).removeClass("module-editing-in-progress")})),jQuery(".dslca-options-filter-hook.dslca-active").removeClass("dslca-active"),B()}))}));var g=function(){jQuery(document).on("change",".dslca-module-edit-field",(function(){window.dslcDebug&&console.log("on change event for .dslca-module-edit-field");var e="",t="",o=jQuery(this),i=o.data("id"),n=o.closest(".dslca-module-edit-option"),s=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),a=s.data("module");jQuery(".dslca-module-options-front textarea",s);if(s.addClass("dslca-module-change-made"),(n.hasClass("dslca-module-edit-option-select")||n.hasClass("dslca-module-edit-option-checkbox"))&&_(),"active"==jQuery(this).closest(".dslca-module-edit-option").data("refresh-on-change")){if(n.find(".dslca-module-edit-option-checkbox-wrapper").length)jQuery('input[type="checkbox"]',n).each((function(){jQuery(this).prop("checked")&&(e=e+jQuery(this).val()+" ")}));else if(o.hasClass("dslca-module-edit-option-radio"))e=jQuery(".dslca-module-edit-field:checked",o).val();else{e=o.val();if("orientation"==i&&"horizontal"==e)jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field").val("40").trigger("change");else if("orientation"==i&&"vertical"==e){jQuery(".dslca-module-edit-option-thumb_width .dslca-module-edit-field").val("100").trigger("change")}}null!=e&&(e=e.trim().replace(/<textarea/g,"<lctextarea").replace(/<\/textarea/g,"</lctextarea")),null===e&&(e=""),jQuery('.dslca-module-options-front textarea[data-id="'+i+'"]',s).val(e),jQuery(".dslca-container-loader").show(),Go((function(){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-module-change-made"),"css_load_preset"!=i||jQuery("body").hasClass("dslca-new-preset-added")?jQuery(".dslca-container-loader").hide():(window.dslc_module_options_show(a),jQuery(".dslca-container-loader").hide()),jQuery("body").removeClass("dslca-new-preset-added"),LiveComposer.Utils.publish("LC.moduleChange",{moduleId:a,optionID:i,optionVal:o.val()})}))}else{if(o.hasClass("dslca-module-edit-field-font")){var d=o.val();d+=":400,100,200,300,500,600,700,800,900";var l=o.data("affect-on-change-el"),r=o.data("affect-on-change-rule"),c=m=o.val(),u=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument);o.val().length&&-1!==h.indexOf(o.val())?document.getElementById("page-builder-frame").contentWindow.WebFont.load({google:{families:[d]},active:function(e,t){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");var i=l.split(","),n="#"+u[0].id+" "+i.join(", #"+u[0].id+" ")+" {"+r+": "+m+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:o,rule:r,elems:l,styleContent:n})},inactive:function(e,t){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");var e=l.split(","),t="#"+u[0].id+" "+e.join(", #"+u[0].id+" ")+" {"+r+": "+m+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:o,rule:r,elems:l,styleContent:t})}),100)}else if(o.hasClass("dslca-module-edit-field-checkbox")){jQuery('input[type="checkbox"]',n).each((function(){jQuery(this).prop("checked")?(e+="solid ",t=t+jQuery(this).val()+" "):e+="none "}))}if(!o.hasClass("dslca-module-edit-field-font")&&null!=o.data("affect-on-change-el")&&null!=o.data("affect-on-change-rule")){var m,p=o.data("ext")||"";l=o.data("affect-on-change-el"),r=o.data("affect-on-change-rule"),c=m=o.val();o.hasClass("dslca-module-edit-field-checkbox")&&(m=e,c=t),o.hasClass("dslca-module-edit-field-image")&&(m='url("'+m+'")'),null!==m&&m.length<1&&("background-color"==r||"background"==r)&&(m="transparent"),r.split(",").forEach((function(e){e=e.replace(/\s+/g,"");var t=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),i=l.split(","),n="#"+t[0].id+" "+i.join(", #"+t[0].id+" ")+" {"+e+": "+m+p+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:o,rule:e,elems:l,styleContent:n})}))}var f="";f=-1!==i.indexOf("css_")?c:o.val(),jQuery('.dslca-module-option-front[data-id="'+i+'"]',s).val(f),LiveComposer.Utils.publish("LC.moduleChange",{moduleId:s[0].id,optionID:i,optionVal:c||o.val()})}}))},y=function(){jQuery(document).on("change",".dslca-modules-section-edit-field",(function(){var e,t,o,i,n,s,a,d;if(t=(e=jQuery(this)).data("id"),i=e.val(),u=i,n=i+e.data("ext"),s=e.data("css-rule"),d=o=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument),a=jQuery('.dslca-modules-section-settings input[data-id="'+t+'"]',o),o.addClass("dslca-modules-section-change-made"),e.hasClass("dslca-modules-section-edit-field-upload")&&i&&i.length&&(i=jQuery('.dslca-modules-section-settings input[data-id="dslca-img-url"]',o).val()),"background-image"==s&&(i='url("'+i+'")',LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()),"bg_image_attachment"==t&&o.removeClass("dslc-init-parallax"),"border-top"==t||"border-right"==t||"border-bottom"==t||"border-left"==t){var l=jQuery('.dslca-modules-section-settings input[data-id="border_style"]').val();a=jQuery('.dslca-modules-section-settings input[data-id="border"]',o),u="",e.closest(".dslca-modules-section-edit-option-checkbox-wrapper").find(".dslca-modules-section-edit-field-checkbox").each((function(){jQuery(this).is(":checked")&&("border-top"==jQuery(this).data("id")?u+="top ":"border-right"==jQuery(this).data("id")?u+="right ":"border-bottom"==jQuery(this).data("id")?u+="bottom ":"border-left"==jQuery(this).data("id")&&(u+="left "))})),e.is(":checked")?"border-top"==e.data("id")?o.css({"border-top-style":l}):"border-right"==e.data("id")?o.css({"border-right-style":l}):"border-bottom"==e.data("id")?o.css({"border-bottom-style":l}):"border-left"==e.data("id")&&o.css({"border-left-style":l}):"border-top"==e.data("id")?o.css({"border-top-style":"hidden"}):"border-right"==e.data("id")?o.css({"border-right-style":"hidden"}):"border-bottom"==e.data("id")?o.css({"border-bottom-style":"hidden"}):"border-left"==e.data("id")&&o.css({"border-left-style":"hidden"})}else if(e.hasClass("dslca-modules-section-edit-field-checkbox")){var r=jQuery(this).closest(".dslca-modules-section-edit-option-checkbox-wrapper").find(".dslca-modules-section-edit-field-checkbox"),c="";r.each((function(){jQuery(this).prop("checked")&&(c+=jQuery(this).data("val")+" ")}));var u=c;"show_on"==e.data("id")&&(-1!==c.indexOf("desktop")?jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-desktop"):jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-desktop"),-1!==c.indexOf("tablet")?jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-tablet"):jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-tablet"),-1!==c.indexOf("phone")?jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslc-hide-on-phone"):jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).addClass("dslc-hide-on-phone")),"section_divider_bottom_flip"==e.data("id")&&(-1===u.indexOf("horizontally")?jQuery('.dslc-section-divider[data-divider-pos="bottom"]',o).removeClass("dslc-flip-hor"):jQuery('.dslc-section-divider[data-divider-pos="bottom"]',o).addClass("dslc-flip-hor"),-1===u.indexOf("vertically")?jQuery('.dslc-section-divider[data-divider-pos="bottom"]',o).removeClass("dslc-flip-vert"):jQuery('.dslc-section-divider[data-divider-pos="bottom"]',o).addClass("dslc-flip-vert")),"section_divider_top_flip"==e.data("id")&&(-1===u.indexOf("horizontally")?jQuery('.dslc-section-divider[data-divider-pos="top"]',o).removeClass("dslc-flip-hor"):jQuery('.dslc-section-divider[data-divider-pos="top"]',o).addClass("dslc-flip-hor"),-1===u.indexOf("vertically")?jQuery('.dslc-section-divider[data-divider-pos="top"]',o).removeClass("dslc-flip-vert"):jQuery('.dslc-section-divider[data-divider-pos="top"]',o).addClass("dslc-flip-vert"))}else if("bg_image_attachment"==t&&"parallax"==i)o.addClass("dslc-init-parallax"),LiveComposer.Builder.PreviewAreaWindow.dslc_parallax();else if("type"==t)"full"==i?o.addClass("dslc-full"):o.removeClass("dslc-full"),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();else if("columns_spacing"==t)"nospacing"==i?o.addClass("dslc-no-columns-spacing"):o.removeClass("dslc-no-columns-spacing");else if("custom_class"==t);else if("custom_id"==t);else if("bg_video"==t){if(jQuery(".dslc-bg-video video",o).remove(),i&&i.length){var m=i;m=(m=m.replace(".webm","")).replace(".mp4",""),jQuery(".dslc-bg-video-inner",o).html('<video><source type="video/mp4" src="'+m+'.mp4" /><source type="video/webm" src="'+m+'.webm" /></video>'),LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()}}else if("section_divider_top_style"==t||"section_divider_bottom_style"==t){var p="top";"section_divider_bottom_style"==t&&(p="bottom");var h=jQuery('.dslc-section-divider[data-divider-pos="'+p+'"] svg',o).attr("style");if(jQuery('.dslc-section-divider[data-divider-pos="'+p+'"]',o).html(""),i&&i.length){var f=jQuery("#dslc-section-dividers",LiveComposer.Builder.PreviewAreaWindow.document).find("svg#"+i).clone();jQuery('.dslc-section-divider[data-divider-pos="'+p+'"]',o).html(f[0]),void 0!==h&&jQuery('.dslc-section-divider[data-divider-pos="'+p+'"] svg',o).attr("style",h)}}else if("bg_image_thumb"==t)if("enabled"==u){if(jQuery("#dslca-post-data-thumb").length){var v="url('"+jQuery("#dslca-post-data-thumb").val()+"')";d.css(s,v)}}else"disabled"==u&&d.css(s,"none");else{var g;e.data("css-element")&&(d=jQuery(e.data("css-element"),o)),s=s.replace(/ /g,"").split(","),g=null!=e.data("ext")?n:i;for(var y=0;y<s.length;y++)d.css(s[y],g)}if(a.val(u),!LiveComposer.Builder.Flags.generate_code_after_row_changed)return!1}))},w=function(){var e;jQuery(document).on("click",".dslca-module-edit-field-image-add-hook, .dslca-modules-section-edit-field-image-add-hook",(function(){var t=jQuery(this);if(t.hasClass("dslca-module-edit-field-image-add-hook"))var o=t.siblings(".dslca-module-edit-field-image"),i=t.siblings(".dslca-module-edit-field-image-remove-hook");else o=t.siblings(".dslca-modules-section-edit-field-upload"),i=t.siblings(".dslca-modules-section-edit-field-image-remove-hook");(e=wp.media.frames.file_frame=wp.media({title:"Choose Image",button:{text:"Confirm"},multiple:!1})).on("select",(function(){var n=e.state().get("selection").first().toJSON();o.val(n.id);var s=t.parent().attr("data-id");""!=n.alt&&"image"==s&&jQuery('.dslca-module-edit-option-image_alt input[data-id="image_alt"]').val(n.alt),""!=n.title&&"image"==s&&jQuery('.dslca-module-edit-option-image_title input[data-id="image_title"]').val(n.title),jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).find('.dslca-modules-section-settings input[data-id="dslca-img-url"]').val(n.url),o.trigger("change"),t.hide(),i.show()})),e.open()})),jQuery(document).on("click",".dslca-module-edit-field-image-remove-hook, .dslca-modules-section-edit-field-image-remove-hook",(function(){var e=jQuery(this);if(e.hasClass("dslca-module-edit-field-image-remove-hook"))var t=e.siblings(".dslca-module-edit-field-image"),o=e.siblings(".dslca-module-edit-field-image-add-hook");else t=e.siblings(".dslca-modules-section-edit-field-upload"),o=e.siblings(".dslca-modules-section-edit-field-image-add-hook");t.val("").trigger("change"),"image"==e.parent().attr("data-id")&&(jQuery(".dslca-module-edit-option-image_alt input").attr("value","").trigger("change"),jQuery(".dslca-module-edit-option-image_alt input").attr("data-val-bckp","").trigger("change"),jQuery(".dslca-module-edit-option-image_title input").attr("value","").trigger("change"),jQuery(".dslca-module-edit-option-image_title input").attr("data-val-bckp","").trigger("change")),e.hide(),o.show()}))};function b(e){window.dslcDebug&&console.log("dslc_module_options_section_filter"),jQuery(".dslca-module-edit-option").hide(),jQuery('.dslca-module-edit-option[data-section="'+e+'"]').show(),Q()}var j=function(){var e=document.querySelector(".dslca-module-edit-options-tab-hook.dslca-active").dataset.id;"tablet_responsive"!==e&&"phone_responsive"!==e||document.querySelectorAll('.dslca-module-edit-option[data-tab="'+e+'"]').forEach((function(e){var t=e.querySelector(".dslca-module-edit-field").dataset.id;"css_res_t"!==t&&"css_res_p"!==t&&jQuery(".dslca-module-edit-option-"+t).find(".dslca-module-edit-field").val("").trigger("change")}))},Q=function(e){window.dslcDebug&&console.log("elementOptionsTabs");var t=jQuery(".dslca-options-filter-hook.dslca-active").data("section"),o=(e=void 0!==e?e:jQuery('.dslca-module-edit-options-tab-hook[data-section="'+t+'"]:first')).data("id");if(jQuery(".dslca-module-edit-options-tab-hook").removeClass("dslca-active"),e.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="'+t+'"]').show(),o&&(jQuery(".dslca-module-edit-option").hide(),jQuery('.dslca-module-edit-option[data-tab="'+o+'"]').show(),_(),jQuery(".dslca-module-edit-options-tab-hook:visible").length<2?jQuery(".dslca-module-edit-options-tabs").hide():jQuery(".dslca-module-edit-options-tabs").show(),B(),o==DSLCString.str_res_tablet.toLowerCase()+"_responsive"&&(jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet"),jQuery("body").addClass("dslc-res-tablet"),jQuery("html").addClass("dslc-responsive-preview")),o==DSLCString.str_res_phone.toLowerCase()+"_responsive"&&(jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet"),jQuery("body").addClass("dslc-res-phone"),jQuery("html").addClass("dslc-responsive-preview")),o!=DSLCString.str_res_tablet.toLowerCase()+"_responsive"&&o!=DSLCString.str_res_phone.toLowerCase()+"_responsive"||(jQuery(".dslca-container-loader").show(),Go((function(){jQuery(".dslca-container-loader").hide()})))),jQuery("body").hasClass("rtl")){var i,n=0,s=0;jQuery(".dslca-module-edit-options-wrapper > .dslca-module-edit-option:visible").each((function(e){jQuery(this).hasClass("dslca-module-edit-option-hidden")||jQuery(this).hasClass("dslca-module-control-group")||(n+=parseInt(jQuery(this).outerWidth(),10))})),jQuery(".dslca-module-edit-options-wrapper > .dslca-module-control-group:visible").each((function(e){s+=parseInt(jQuery(this).outerWidth(),10)})),i=parseInt(n)+parseInt(s)+10,jQuery(".dslca-module-edit-options-wrapper").css({width:i+"px"})}};function _(){if(window.dslcDebug&&console.log("dslc_module_options_hideshow_tabs"),"styling"==jQuery(".dslca-options-filter-hook.dslca-active").data("section")){jQuery(".dslca-module-edit");var e=!0,t=!0,o=!0,i=!0,n=!0,s=!0,a=!0,d=!0,l=!0,r=!0,c=!0,u=!0,m=!0,p=!0,h=!0,f=!0,v=!0,g=!0,y=!0,w=!0,b=!0,j=!0,Q=!0,_=!0,C=!0,k=!0,D=!0;jQuery('.dslca-module-edit-field[value="main_heading"]').is(":checked")||(e=!1),jQuery('.dslca-module-edit-field[value="filters"]').is(":checked")||(t=!1),jQuery('.dslca-module-edit-field[value="arrows"]').is(":checked")||(o=!1),jQuery('.dslca-module-edit-field[value="circles"]').is(":checked")||(i=!1),"carousel"!=jQuery('.dslca-module-edit-field[data-id="type"]').val()&&(o=!1,i=!1),"disabled"==jQuery('.dslca-module-edit-field[data-id="pagination_type"]').val()&&(n=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="thumbnail"]').is(":checked")||(s=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="title"]').is(":checked")&&(a=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="excerpt"]').is(":checked")||(d=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="meta"]').is(":checked")||(l=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="button"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="button"]').is(":checked")&&(r=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="categories"]').is(":checked")||(c=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="separator"]').is(":checked")||(m=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="count"]').is(":checked")||(u=!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")||(h=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="position"]').is(":checked")||(f=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="icon"]').is(":checked")&&(v=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').length&&!jQuery('.dslca-module-edit-field[data-id*="elements"][value="content"]').is(":checked")&&(g=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="price"]').is(":checked")||(y=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="price_2"]').is(":checked")||(w=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="addtocart"]').is(":checked")||(b=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="details"]').is(":checked")||(j=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="quote"]').is(":checked")||(Q=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_name"]').is(":checked")||(_=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="author_position"]').is(":checked")||(C=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="image"]').is(":checked")||(k=!1),jQuery('.dslca-module-edit-field[data-id*="elements"][value="logo"]').is(":checked")||(D=!1),e?jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="heading_styling"]').hide(),t?jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="filters_styling"]').hide(),o?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(),i?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(),n?jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="pagination_styling"]').hide(),s?jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="thumbnail_styling"]').hide(),a?jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="title_styling"]').hide(),d?jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="excerpt_styling"]').hide(),l?jQuery('.dslca-module-edit-options-tab-hook[data-id="meta_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="meta_styling"]').hide(),r?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(),c?jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="categories_styling"]').hide(),m?jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="separator_styling"]').hide(),u?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(),f?jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="position_styling"]').hide(),h?jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="social_styling"]').hide(),v?jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="icon_styling"]').hide(),g?jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="content_styling"]').hide(),y?jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="price_styling"]').hide(),w?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(),b||j?jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="other_styling"]').hide(),Q?jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="quote_styling"]').hide(),_?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(),C?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(),k?jQuery('.dslca-module-edit-options-tab-hook[data-id="image_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="image_styling"]').hide(),D?jQuery('.dslca-module-edit-options-tab-hook[data-id="logo_styling"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id="logo_styling"]').hide()}if(jQuery('.dslca-options-filter-hook[data-section="styling"]').hasClass("dslca-active")){var L=jQuery('.dslca-module-edit-option[data-id="css_custom"]');"enabled"==L.find("select").val()?(jQuery('.dslca-module-edit-option[data-section="styling"]').css({visibility:"visible"}),jQuery(".dslca-module-edit-option[data-tab]").css("visibility","visible"),jQuery(".dslca-module-edit-options-tabs").show()):(jQuery('.dslca-module-edit-option[data-section="styling"]').css({visibility:"hidden"}),jQuery(".dslca-module-control-group.dslca-module-edit-option").css("visibility","hidden"),jQuery(".dslca-module-edit-options-tabs").hide(),L.css({visibility:"visible"}))}else jQuery(".dslca-module-edit-options-tabs").show();if("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-tab="tablet_responsive"]').css("visibility","hidden")):(jQuery('.dslca-module-edit-option[data-id*="css_res_t"]').css("visibility","visible"),jQuery('.dslca-module-edit-option[data-tab="tablet_responsive"]').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-tab="phone_responsive"]').css("visibility","hidden")):(jQuery('.dslca-module-edit-option[data-id*="css_res_p"]').css("visibility","visible"),jQuery('.dslca-module-edit-option[data-tab="phone_responsive"]').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"),jQuery(".dslca-options-filter-hook").hasClass("dslca-active")){var x=jQuery(".dslca-options-filter-hook.dslca-active").data("section");jQuery('.dslca-module-edit-option[data-section="'+x+'"]').hasClass("dep-show")&&jQuery(".dslca-module-edit-option.dep-show").show(),jQuery('.dslca-module-edit-option[data-section="'+x+'"]').hasClass("dep-hide")&&jQuery(".dslca-module-edit-option.dep-hide").hide()}if(jQuery(".dslca-module-edit-options-tab-hook").hasClass("dslca-active")){var B=jQuery(".dslca-module-edit-options-tab-hook.dslca-active").data("id");jQuery('.dslca-module-edit-option[data-tab="'+B+'"]').hasClass("dependent")?(jQuery(".dslca-module-edit-option.dependent").hide(),jQuery('.dslca-module-edit-option[data-tab="'+B+'"].dep-show').show(),jQuery('.dslca-module-edit-option[data-tab="'+B+'"].dep-hide').hide()):jQuery(".dslca-module-edit-option.dependent").hide()}}function C(e){window.dslcDebug&&console.log("dslc_module_options_confirm_changes"),e=void 0!==e&&e,jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument).hasClass("dslc-module-DSLC_Sliders")?jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"):(jQuery("body").addClass("dslca-module-saving-in-progress"),Go((function(){s(),window.dslc_generate_code(),jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"),jQuery("body").removeClass("dslca-module-saving-in-progress"),jQuery(".dslca-module-edit-options-inner").html(""),jQuery(".dslca-module-edit-options-tabs").html(""),window.LiveComposer.Builder.UI.clearUtils(),e&&e()}))),Et(".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(),window.dslc_show_publish_button()}function k(e){window.dslcDebug&&console.log("dslc_module_options_cancel_changes"),e=void 0!==e&&e;var t=jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument);jQuery(".dslca-module-options-front",t).html("").append(window.LiveComposer.Builder.moduleBackup),Go((function(){window.dslc_generate_code(),jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"),jQuery(".dslca-module-edit-options-inner").html(""),jQuery(".dslca-module-edit-options-tabs").html(""),window.LiveComposer.Builder.UI.clearUtils(),e&&e()})),Et(".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(),window.dslc_show_publish_button(),window.LiveComposer.Builder.UI.clearUtils()}function D(e,t){var o=jQuery(e).closest(".dslca-module-edit-option-icon"),i=jQuery(".dslca-module-edit-field-icon",o),n=v.indexOf(i.val());if("previous"==t)var s=n-1;else s=n+1;jQuery(".dslca-module-edit-field-icon-suggest",o).text(""),s<0&&(s=v.length-1),i.val(v[s]).trigger("change")}function L(e){var t,o,i,n,s,a;window.dslcDebug&&console.log("dslc_module_options_color");var d,l=[],r="dslcColors-"+document.domain;void 0!==localStorage[r]&&(d=JSON.parse(localStorage[r]),l=d),1>l.length&&l.push("#78b"),2>l.length&&l.push("#ab0"),3>l.length&&l.push("#de3"),l.push("#fff"),l.push("#000"),l.push("rgba(0,0,0,0)"),jQuery(e).each((function(){var e=jQuery(this).closest(".dslca-color-option"),d=jQuery(this);jQuery(this).val(),d.wpColorPicker({mode:"hsl",palettes:l,change:function(e,l){t=d;var r=d.wpColorPicker("color");n=null==r?"":r,t.val(n).trigger("change"),t.css("background",n),o=t.data("affect-on-change-el"),i=t.data("affect-on-change-rule"),null!=o&&".dslca-modules-section-being-edited"!==o&&jQuery(o,window.LiveComposer.Builder.PreviewAreaDocument.find(".dslca-module-being-edited")).css(i,n),s=jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument),a=t.data("id"),jQuery('.dslca-module-option-front[data-id="'+a+'"]',s).val(n),s.addClass("dslca-module-change-made")}}),e.find(".wp-picker-holder .iris-picker").append('<button type="button" class="dslca-colorpicker-apply">Apply</button>');var c=e.find(".dslca-colorpicker-apply");d.wpColorPicker("open"),jQuery(c).on("click",(function(){if("#fff"!==n&&"#ffffff"!==n&&"#000"!==n&&"#000000"!==n&&"rgba(0,0,0,0)"!==n)if(void 0===localStorage[r]){var e=[n];localStorage[r]=JSON.stringify(e)}else{-1==(e=JSON.parse(localStorage[r])).indexOf(n)&&(e.unshift(n),3<e.length&&e.pop()),localStorage[r]=JSON.stringify(e)}d.wpColorPicker("close")})),window.LiveComposer.Builder.Helpers.colorpickers.push(jQuery(this))}))}function x(e){window.dslcDebug&&console.log("dslc_module_options_numeric"),jQuery(e).each((function(){var e=jQuery(this);0===jQuery(".dslca-module-edit-field-slider",e).length&&e.append('<div class="dslca-module-edit-field-slider"></div>');var t=!0;if(t=!e.hasClass("dslca-modules-section-edit-option"))var o=e.find(".dslca-module-edit-field");else o=e.find(".dslca-modules-section-edit-field");if(e.hasClass("dslca-modules-section-edit-option"))o=e.find(".dslca-modules-section-edit-field");else o=e.find(".dslca-module-edit-field");var i=e.find(".dslca-module-edit-field-slider"),n=parseFloat(o.val()),s=parseFloat(o.data("max")),a=parseFloat(o.data("min")),d=parseFloat(o.data("increment")),l=!1;if(void 0!==o.data("onlypositive")&&1===o.data("onlypositive")&&(l=!0),n>=s&&(s=2*n),!l&&n<=a&&(a=2*n),i.slider({min:a,max:s,step:d,value:o.val(),slide:function(e,t){o.val(t.value+""),o.trigger("change")},change:function(t,o){(o.value>=s||o.value<=a)&&(i.slider("destroy"),x(e))}}),i.show(),jQuery(e).on("mouseleave",(function(){void 0!==i.slider("instance")&&jQuery(i).slider("destroy"),i.remove()})),!o[0].classList.contains("slider-initiated"))return o[0].classList.add("slider-initiated"),o.on("keyup",(function(e){if(void 0===e)return!1;e.shiftKey&&(38==e.keyCode&&(this.value=(parseInt(this.value)||0)+9,o.trigger("change")),40==e.keyCode&&(this.value=parseInt(this.value)+0-9,o.trigger("change"))),8!=e.keyCode&&45!=e.keyCode||o.trigger("change"),(e.keyCode>=48&&e.keyCode<=57||e.keyCode>=96&&e.keyCode<=105)&&o.trigger("change");var t=e.which?e.which:e.keyCode;return(!(t>=48&&t<=57||t>=96&&t<=105)||8==e.keyCode||39==e.keyCode||37==e.keyCode||46==e.keyCode)&&void 0})),o.on("change",(function(e){l&&this.value<0&&(this.value=0);var o=(t?jQuery(e.target.closest(".dslca-module-edit-option-slider")):jQuery(e.target.closest(".dslca-modules-section-edit-option-slider"))).find(".dslca-module-edit-field-slider");(void 0!==o.slider("instance")&&o.slider("value",this.value),t)&&jQuery(".dslca-module-being-edited",window.LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-module-change-made")})),!1}))}function B(){jQuery("html").removeClass("dslc-responsive-preview"),jQuery("body").removeClass("dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet")}
2
  /**!
3
  * Sortable 1.10.1
4
  * @author RubaXa <trash@rubaxa.org>
5
  * @author owenm <owen23355@gmail.com>
6
  * @license MIT
7
  */
8
+ function S(e){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function A(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(e[i]=o[i])}return e}).apply(this,arguments)}function E(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},i=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(o).filter((function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable})))),i.forEach((function(t){A(e,t,o[t])}))}return e}function O(e,t){if(null==e)return{};var o,i,n=function(e,t){if(null==e)return{};var o,i,n={},s=Object.keys(e);for(i=0;i<s.length;i++)o=s[i],t.indexOf(o)>=0||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)o=s[i],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}window.dslc_module_options_font=function(){jQuery(document).off("click",".dslca-module-edit-field-font-next").on("click",".dslca-module-edit-field-font-next",(function(e){if(e.preventDefault(),!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var t=jQuery(this).closest(".dslca-module-edit-option-font"),o=jQuery(".dslca-module-edit-field-font",t),i=f.indexOf(o.val())+1;jQuery(".dslca-module-edit-field-font-suggest",t).text(""),o.val(f[i]).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).off("click",".dslca-module-edit-field-font-prev").on("click",".dslca-module-edit-field-font-prev",(function(e){if(e.preventDefault(),!jQuery(this).hasClass("dslca-font-loading")&&!jQuery(this).siblings(".dslca-font-loading").length){var t=jQuery(this).closest(".dslca-module-edit-option-font"),o=jQuery(".dslca-module-edit-field-font",t),i=f.indexOf(o.val())-1;jQuery(".dslca-module-edit-field-font-suggest",t).text(""),i<0&&(i=f.length-1),o.val(f[i]).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).off("blur",".dslca-module-edit-field-font").on("blur",".dslca-module-edit-field-font",(function(e){var t=jQuery(this).closest(".dslca-module-edit-option");jQuery(".dslca-module-edit-field-font-suggest",t).hide()})),jQuery(document).off("keyup",".dslca-module-edit-field-font").on("keyup",".dslca-module-edit-field-font",(function(e){console.log("1 e.which:"),console.log(e.which);var t,o,i,n,s=!1;t=jQuery(this),o=t.closest(".dslca-module-edit-option"),38==e.which&&jQuery(".dslca-module-edit-field-font-prev",o).click();40==e.which&&jQuery(".dslca-module-edit-field-font-next",o).click();if(13!=e.which&&38!=e.which&&40!=e.which){i=t.val();var a=new RegExp("^"+i,"i"),d=f.length,l=0;do{if(a.test(f[l])&&!s)s=f[l];l++}while(l<d);s?i!==s&&(n=s,jQuery(".dslca-module-edit-field-font-suggest",o).show()):(n=i,jQuery(".dslca-module-edit-field-font-suggest",o).hide()),jQuery(".dslca-module-edit-field-font-suggest",o).text(n),n.length&&t.val(n.substring(0,t.val().length))}})),jQuery(document).off("keydown",".dslca-module-edit-field-font").on("keydown",".dslca-module-edit-field-font",(function(e){if(console.log("2 e.which:"),console.log(e.which),13==e.which||9==e.which){var t,o;t=jQuery(this),o=t.closest(".dslca-module-edit-option"),jQuery(".dslca-module-edit-field-font-suggest",o).text().length&&(jQuery(this).val(jQuery(".dslca-module-edit-field-font-suggest",o).text()).trigger("change"),jQuery(".dslca-module-edit-field-font-suggest",o).text(""))}}))};function T(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var I=T(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),M=T(/Edge/i),N=T(/firefox/i),F=T(/safari/i)&&!T(/chrome/i)&&!T(/android/i),W=T(/iP(ad|od|hone)/i),U=T(/chrome/i)&&T(/android/i),H={capture:!1,passive:!1};function z(e,t,o){e.addEventListener(t,o,!I&&H)}function R(e,t,o){e.removeEventListener(t,o,!I&&H)}function q(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function X(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Y(e,t,o,i){if(e){o=o||document;do{if(null!=t&&(">"===t[0]?e.parentNode===o&&q(e,t):q(e,t))||i&&e===o)return e;if(e===o)break}while(e=X(e))}return null}var J,G=/\s+/g;function K(e,t,o){if(e&&t)if(e.classList)e.classList[o?"add":"remove"](t);else{var i=(" "+e.className+" ").replace(G," ").replace(" "+t+" "," ");e.className=(i+(o?" "+t:"")).replace(G," ")}}function V(e,t,o){var i=e&&e.style;if(i){if(void 0===o)return document.defaultView&&document.defaultView.getComputedStyle?o=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(o=e.currentStyle),void 0===t?o:o[t];t in i||-1!==t.indexOf("webkit")||(t="-webkit-"+t),i[t]=o+("string"==typeof o?"":"px")}}function $(e,t){var o="";if("string"==typeof e)o=e;else do{var i=V(e,"transform");i&&"none"!==i&&(o=i+" "+o)}while(!t&&(e=e.parentNode));var n=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix;return n&&new n(o)}function Z(e,t,o){if(e){var i=e.getElementsByTagName(t),n=0,s=i.length;if(o)for(;n<s;n++)o(i[n],n);return i}return[]}function ee(){return I?document.documentElement:document.scrollingElement}function te(e,t,o,i,n){if(e.getBoundingClientRect||e===window){var s,a,d,l,r,c,u;if(e!==window&&e!==ee()?(a=(s=e.getBoundingClientRect()).top,d=s.left,l=s.bottom,r=s.right,c=s.height,u=s.width):(a=0,d=0,l=window.innerHeight,r=window.innerWidth,c=window.innerHeight,u=window.innerWidth),(t||o)&&e!==window&&(n=n||e.parentNode,!I))do{if(n&&n.getBoundingClientRect&&("none"!==V(n,"transform")||o&&"static"!==V(n,"position"))){var m=n.getBoundingClientRect();a-=m.top+parseInt(V(n,"border-top-width")),d-=m.left+parseInt(V(n,"border-left-width")),l=a+s.height,r=d+s.width;break}}while(n=n.parentNode);if(i&&e!==window){var p=$(n||e),h=p&&p.a,f=p&&p.d;p&&(l=(a/=f)+(c/=f),r=(d/=h)+(u/=h))}return{top:a,left:d,bottom:l,right:r,width:u,height:c}}}function oe(e,t,o){for(var i=de(e,!0),n=te(e)[t];i;){var s=te(i)[o];if(!("top"===o||"left"===o?n>=s:n<=s))return i;if(i===ee())break;i=de(i,!1)}return!1}function ie(e,t,o){for(var i=0,n=0,s=e.children;n<s.length;){if("none"!==s[n].style.display&&s[n]!==ct.ghost&&s[n]!==ct.dragged&&Y(s[n],o.draggable,e,!1)){if(i===t)return s[n];i++}n++}return null}function ne(e,t){for(var o=e.lastElementChild;o&&(o===ct.ghost||"none"===V(o,"display")||t&&!q(o,t));)o=o.previousElementSibling;return o||null}function se(e,t){var o=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===ct.clone||t&&!q(e,t)||o++;return o}function ae(e){var t=0,o=0,i=ee();if(e)do{var n=$(e),s=n.a,a=n.d;t+=e.scrollLeft*s,o+=e.scrollTop*a}while(e!==i&&(e=e.parentNode));return[t,o]}function de(e,t){if(!e||!e.getBoundingClientRect)return ee();var o=e,i=!1;do{if(o.clientWidth<o.scrollWidth||o.clientHeight<o.scrollHeight){var n=V(o);if(o.clientWidth<o.scrollWidth&&("auto"==n.overflowX||"scroll"==n.overflowX)||o.clientHeight<o.scrollHeight&&("auto"==n.overflowY||"scroll"==n.overflowY)){if(!o.getBoundingClientRect||o===document.body)return ee();if(i||t)return o;i=!0}}}while(o=o.parentNode);return ee()}function le(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function re(e,t){return function(){if(!J){var o=arguments,i=this;1===o.length?e.call(i,o[0]):e.apply(i,o),J=setTimeout((function(){J=void 0}),t)}}}function ce(e,t,o){e.scrollLeft+=t,e.scrollTop+=o}function ue(e){var t=window.Polymer,o=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):o?o(e).clone(!0)[0]:e.cloneNode(!0)}var me="Sortable"+(new Date).getTime();function pe(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==V(e,"display")&&e!==ct.ghost){t.push({target:e,rect:te(e)});var o=E({},t[t.length-1].rect);if(e.thisAnimationDuration){var i=$(e,!0);i&&(o.top-=i.f,o.left-=i.e)}e.fromRect=o}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var o in e)if(e.hasOwnProperty(o))for(var i in t)if(t.hasOwnProperty(i)&&t[i]===e[o][i])return Number(o);return-1}(t,{target:e}),1)},animateAll:function(o){var i=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof o&&o());var n=!1,s=0;t.forEach((function(e){var t=0,o=e.target,a=o.fromRect,d=te(o),l=o.prevFromRect,r=o.prevToRect,c=e.rect,u=$(o,!0);u&&(d.top-=u.f,d.left-=u.e),o.toRect=d,o.thisAnimationDuration&&le(l,d)&&!le(a,d)&&(c.top-d.top)/(c.left-d.left)==(a.top-d.top)/(a.left-d.left)&&(t=function(e,t,o,i){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-o.top,2)+Math.pow(t.left-o.left,2))*i.animation}(c,l,r,i.options)),le(d,a)||(o.prevFromRect=a,o.prevToRect=d,t||(t=i.options.animation),i.animate(o,c,d,t)),t&&(n=!0,s=Math.max(s,t),clearTimeout(o.animationResetTimer),o.animationResetTimer=setTimeout((function(){o.animationTime=0,o.prevFromRect=null,o.fromRect=null,o.prevToRect=null,o.thisAnimationDuration=null}),t),o.thisAnimationDuration=t)})),clearTimeout(e),n?e=setTimeout((function(){"function"==typeof o&&o()}),s):"function"==typeof o&&o(),t=[]},animate:function(e,t,o,i){if(i){V(e,"transition",""),V(e,"transform","");var n=$(this.el),s=n&&n.a,a=n&&n.d,d=(t.left-o.left)/(s||1),l=(t.top-o.top)/(a||1);e.animatingX=!!d,e.animatingY=!!l,V(e,"transform","translate3d("+d+"px,"+l+"px,0)"),function(e){e.offsetWidth}(e),V(e,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),V(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){V(e,"transition",""),V(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),i)}}}}var he=[],fe={initializeByDefault:!0},ve={mount:function(e){for(var t in fe)!fe.hasOwnProperty(t)||t in e||(e[t]=fe[t]);he.push(e)},pluginEvent:function(e,t,o){var i=this;this.eventCanceled=!1,o.cancel=function(){i.eventCanceled=!0};var n=e+"Global";he.forEach((function(i){t[i.pluginName]&&(t[i.pluginName][n]&&t[i.pluginName][n](E({sortable:t},o)),t.options[i.pluginName]&&t[i.pluginName][e]&&t[i.pluginName][e](E({sortable:t},o)))}))},initializePlugins:function(e,t,o,i){for(var n in he.forEach((function(i){var n=i.pluginName;if(e.options[n]||i.initializeByDefault){var s=new i(e,t,e.options);s.sortable=e,s.options=e.options,e[n]=s,P(o,s.defaults)}})),e.options)if(e.options.hasOwnProperty(n)){var s=this.modifyOption(e,n,e.options[n]);void 0!==s&&(e.options[n]=s)}},getEventProperties:function(e,t){var o={};return he.forEach((function(i){"function"==typeof i.eventProperties&&P(o,i.eventProperties.call(t[i.pluginName],e))})),o},modifyOption:function(e,t,o){var i;return he.forEach((function(n){e[n.pluginName]&&n.optionListeners&&"function"==typeof n.optionListeners[t]&&(i=n.optionListeners[t].call(e[n.pluginName],o))})),i}};function ge(e){var t=e.sortable,o=e.rootEl,i=e.name,n=e.targetEl,s=e.cloneEl,a=e.toEl,d=e.fromEl,l=e.oldIndex,r=e.newIndex,c=e.oldDraggableIndex,u=e.newDraggableIndex,m=e.originalEvent,p=e.putSortable,h=e.extraEventProperties;if(t=t||o&&o[me]){var f,v=t.options,g="on"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||I||M?(f=document.createEvent("Event")).initEvent(i,!0,!0):f=new CustomEvent(i,{bubbles:!0,cancelable:!0}),f.to=a||o,f.from=d||o,f.item=n||o,f.clone=s,f.oldIndex=l,f.newIndex=r,f.oldDraggableIndex=c,f.newDraggableIndex=u,f.originalEvent=m,f.pullMode=p?p.lastPutMode:void 0;var y=E({},h,ve.getEventProperties(i,t));for(var w in y)f[w]=y[w];o&&o.dispatchEvent(f),v[g]&&v[g].call(t,f)}}var ye=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=o.evt,n=O(o,["evt"]);ve.pluginEvent.bind(ct)(e,t,E({dragEl:be,parentEl:je,ghostEl:Qe,rootEl:_e,nextEl:Ce,lastDownEl:ke,cloneEl:De,cloneHidden:Le,dragStarted:We,putSortable:Ee,activeSortable:ct.active,originalEvent:i,oldIndex:xe,oldDraggableIndex:Se,newIndex:Be,newDraggableIndex:Ae,hideGhostForTarget:at,unhideGhostForTarget:dt,cloneNowHidden:function(){Le=!0},cloneNowShown:function(){Le=!1},dispatchSortableEvent:function(e){we({sortable:t,name:e,originalEvent:i})}},n))};function we(e){ge(E({putSortable:Ee,cloneEl:De,targetEl:be,rootEl:_e,oldIndex:xe,oldDraggableIndex:Se,newIndex:Be,newDraggableIndex:Ae},e))}var be,je,Qe,_e,Ce,ke,De,Le,xe,Be,Se,Ae,Pe,Ee,Oe,Te,Ie,Me,Ne,Fe,We,Ue,He,ze,Re,qe=!1,Xe=!1,Ye=[],Je=!1,Ge=!1,Ke=[],Ve=!1,$e=[],Ze="undefined"!=typeof document,et=W,tt=M||I?"cssFloat":"float",ot=Ze&&!U&&!W&&"draggable"in document.createElement("div"),it=function(){if(Ze){if(I)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),nt=function(e,t){var o=V(e),i=parseInt(o.width)-parseInt(o.paddingLeft)-parseInt(o.paddingRight)-parseInt(o.borderLeftWidth)-parseInt(o.borderRightWidth),n=ie(e,0,t),s=ie(e,1,t),a=n&&V(n),d=s&&V(s),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+te(n).width,r=d&&parseInt(d.marginLeft)+parseInt(d.marginRight)+te(s).width;if("flex"===o.display)return"column"===o.flexDirection||"column-reverse"===o.flexDirection?"vertical":"horizontal";if("grid"===o.display)return o.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(n&&a.float&&"none"!==a.float){var c="left"===a.float?"left":"right";return!s||"both"!==d.clear&&d.clear!==c?"horizontal":"vertical"}return n&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||l>=i&&"none"===o[tt]||s&&"none"===o[tt]&&l+r>i)?"vertical":"horizontal"},st=function(e){function t(e,o){return function(i,n,s,a){var d=i.options.group.name&&n.options.group.name&&i.options.group.name===n.options.group.name;if(null==e&&(o||d))return!0;if(null==e||!1===e)return!1;if(o&&"clone"===e)return e;if("function"==typeof e)return t(e(i,n,s,a),o)(i,n,s,a);var l=(o?i:n).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var o={},i=e.group;i&&"object"==S(i)||(i={name:i}),o.name=i.name,o.checkPull=t(i.pull,!0),o.checkPut=t(i.put),o.revertClone=i.revertClone,e.group=o},at=function(){!it&&Qe&&V(Qe,"display","none")},dt=function(){!it&&Qe&&V(Qe,"display","")};Ze&&document.addEventListener("click",(function(e){if(Xe)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Xe=!1,!1}),!0);var lt=function(e){if(be){e=e.touches?e.touches[0]:e;var t=(n=e.clientX,s=e.clientY,Ye.some((function(e){if(!ne(e)){var t=te(e),o=e[me].options.emptyInsertThreshold,i=n>=t.left-o&&n<=t.right+o,d=s>=t.top-o&&s<=t.bottom+o;return o&&i&&d?a=e:void 0}})),a);if(t){var o={};for(var i in e)e.hasOwnProperty(i)&&(o[i]=e[i]);o.target=o.rootEl=t,o.preventDefault=void 0,o.stopPropagation=void 0,t[me]._onDragOver(o)}}var n,s,a},rt=function(e){be&&be.parentNode[me]._isOutsideThisEl(e.target)};function ct(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=P({},t),e[me]=this;var o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return nt(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==ct.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var i in ve.initializePlugins(this,e,o),o)!(i in t)&&(t[i]=o[i]);for(var n in st(t),this)"_"===n.charAt(0)&&"function"==typeof this[n]&&(this[n]=this[n].bind(this));this.nativeDraggable=!t.forceFallback&&ot,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?z(e,"pointerdown",this._onTapStart):(z(e,"mousedown",this._onTapStart),z(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(z(e,"dragover",this),z(e,"dragenter",this)),Ye.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),P(this,pe())}function ut(e,t,o,i,n,s,a,d){var l,r,c=e[me],u=c.options.onMove;return!window.CustomEvent||I||M?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=o,l.draggedRect=i,l.related=n||t,l.relatedRect=s||te(t),l.willInsertAfter=d,l.originalEvent=a,e.dispatchEvent(l),u&&(r=u.call(c,l,a)),r}function mt(e){e.draggable=!1}function pt(){Ve=!1}function ht(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,o=t.length,i=0;o--;)i+=t.charCodeAt(o);return i.toString(36)}function ft(e){return setTimeout(e,0)}function vt(e){return clearTimeout(e)}ct.prototype={constructor:ct,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(Ue=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,be):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,o=this.el,i=this.options,n=i.preventOnFilter,s=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,d=(a||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||d,r=i.filter;if(function(e){$e.length=0;var t=e.getElementsByTagName("input"),o=t.length;for(;o--;){var i=t[o];i.checked&&$e.push(i)}}(o),!be&&!(/mousedown|pointerdown/.test(s)&&0!==e.button||i.disabled||l.isContentEditable||(d=Y(d,i.draggable,o,!1))&&d.animated||ke===d)){if(xe=se(d),Se=se(d,i.draggable),"function"==typeof r){if(r.call(this,e,d,this))return we({sortable:t,rootEl:l,name:"filter",targetEl:d,toEl:o,fromEl:o}),ye("filter",t,{evt:e}),void(n&&e.cancelable&&e.preventDefault())}else if(r&&(r=r.split(",").some((function(i){if(i=Y(l,i.trim(),o,!1))return we({sortable:t,rootEl:i,name:"filter",targetEl:d,fromEl:o,toEl:o}),ye("filter",t,{evt:e}),!0}))))return void(n&&e.cancelable&&e.preventDefault());i.handle&&!Y(l,i.handle,o,!1)||this._prepareDragStart(e,a,d)}}},_prepareDragStart:function(e,t,o){var i,n=this,s=n.el,a=n.options,d=s.ownerDocument;if(o&&!be&&o.parentNode===s){var l=te(o);if(_e=s,je=(be=o).parentNode,Ce=be.nextSibling,ke=o,Pe=a.group,ct.dragged=be,Oe={target:be,clientX:(t||e).clientX,clientY:(t||e).clientY},Ne=Oe.clientX-l.left,Fe=Oe.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,be.style["will-change"]="all",i=function(){ye("delayEnded",n,{evt:e}),ct.eventCanceled?n._onDrop():(n._disableDelayedDragEvents(),!N&&n.nativeDraggable&&(be.draggable=!0),n._triggerDragStart(e,t),we({sortable:n,name:"choose",originalEvent:e}),K(be,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){Z(be,e.trim(),mt)})),z(d,"dragover",lt),z(d,"mousemove",lt),z(d,"touchmove",lt),z(d,"mouseup",n._onDrop),z(d,"touchend",n._onDrop),z(d,"touchcancel",n._onDrop),N&&this.nativeDraggable&&(this.options.touchStartThreshold=4,be.draggable=!0),ye("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(M||I))i();else{if(ct.eventCanceled)return void this._onDrop();z(d,"mouseup",n._disableDelayedDrag),z(d,"touchend",n._disableDelayedDrag),z(d,"touchcancel",n._disableDelayedDrag),z(d,"mousemove",n._delayedDragTouchMoveHandler),z(d,"touchmove",n._delayedDragTouchMoveHandler),a.supportPointer&&z(d,"pointermove",n._delayedDragTouchMoveHandler),n._dragStartTimer=setTimeout(i,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){be&&mt(be),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;R(e,"mouseup",this._disableDelayedDrag),R(e,"touchend",this._disableDelayedDrag),R(e,"touchcancel",this._disableDelayedDrag),R(e,"mousemove",this._delayedDragTouchMoveHandler),R(e,"touchmove",this._delayedDragTouchMoveHandler),R(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?z(document,"pointermove",this._onTouchMove):z(document,t?"touchmove":"mousemove",this._onTouchMove):(z(be,"dragend",this),z(_e,"dragstart",this._onDragStart));try{document.selection?ft((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(qe=!1,_e&&be){ye("dragStarted",this,{evt:t}),this.nativeDraggable&&z(document,"dragover",rt);var o=this.options;!e&&K(be,o.dragClass,!1),K(be,o.ghostClass,!0),ct.active=this,e&&this._appendGhost(),we({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Te){this._lastX=Te.clientX,this._lastY=Te.clientY,at();for(var e=document.elementFromPoint(Te.clientX,Te.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Te.clientX,Te.clientY))!==t;)t=e;if(be.parentNode[me]._isOutsideThisEl(e),t)do{if(t[me]){if(t[me]._onDragOver({clientX:Te.clientX,clientY:Te.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);dt()}},_onTouchMove:function(e){if(Oe){var t=this.options,o=t.fallbackTolerance,i=t.fallbackOffset,n=e.touches?e.touches[0]:e,s=Qe&&$(Qe),a=Qe&&s&&s.a,d=Qe&&s&&s.d,l=et&&Re&&ae(Re),r=(n.clientX-Oe.clientX+i.x)/(a||1)+(l?l[0]-Ke[0]:0)/(a||1),c=(n.clientY-Oe.clientY+i.y)/(d||1)+(l?l[1]-Ke[1]:0)/(d||1);if(!ct.active&&!qe){if(o&&Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))<o)return;this._onDragStart(e,!0)}if(Qe){s?(s.e+=r-(Ie||0),s.f+=c-(Me||0)):s={a:1,b:0,c:0,d:1,e:r,f:c};var u="matrix(".concat(s.a,",").concat(s.b,",").concat(s.c,",").concat(s.d,",").concat(s.e,",").concat(s.f,")");V(Qe,"webkitTransform",u),V(Qe,"mozTransform",u),V(Qe,"msTransform",u),V(Qe,"transform",u),Ie=r,Me=c,Te=n}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Qe){var e=this.options.fallbackOnBody?document.body:_e,t=te(be,!0,et,!0,e),o=this.options;if(et){for(Re=e;"static"===V(Re,"position")&&"none"===V(Re,"transform")&&Re!==document;)Re=Re.parentNode;Re!==document.body&&Re!==document.documentElement?(Re===document&&(Re=ee()),t.top+=Re.scrollTop,t.left+=Re.scrollLeft):Re=ee(),Ke=ae(Re)}K(Qe=be.cloneNode(!0),o.ghostClass,!1),K(Qe,o.fallbackClass,!0),K(Qe,o.dragClass,!0),V(Qe,"transition",""),V(Qe,"transform",""),V(Qe,"box-sizing","border-box"),V(Qe,"margin",0),V(Qe,"top",t.top),V(Qe,"left",t.left),V(Qe,"width",t.width),V(Qe,"height",t.height),V(Qe,"opacity","0.8"),V(Qe,"position",et?"absolute":"fixed"),V(Qe,"zIndex","100000"),V(Qe,"pointerEvents","none"),ct.ghost=Qe,e.appendChild(Qe),V(Qe,"transform-origin",Ne/parseInt(Qe.style.width)*100+"% "+Fe/parseInt(Qe.style.height)*100+"%")}},_onDragStart:function(e,t){var o=this,i=e.dataTransfer,n=o.options;ye("dragStart",this,{evt:e}),ct.eventCanceled?this._onDrop():(ye("setupClone",this),ct.eventCanceled||((De=ue(be)).draggable=!1,De.style["will-change"]="",this._hideClone(),K(De,this.options.chosenClass,!1),ct.clone=De),o.cloneId=ft((function(){ye("clone",o),ct.eventCanceled||(o.options.removeCloneOnHide||_e.insertBefore(De,be),o._hideClone(),we({sortable:o,name:"clone"}))})),!t&&K(be,n.dragClass,!0),t?(Xe=!0,o._loopId=setInterval(o._emulateDragOver,50)):(R(document,"mouseup",o._onDrop),R(document,"touchend",o._onDrop),R(document,"touchcancel",o._onDrop),i&&(i.effectAllowed="move",n.setData&&n.setData.call(o,i,be)),z(document,"drop",o),V(be,"transform","translateZ(0)")),qe=!0,o._dragStartId=ft(o._dragStarted.bind(o,t,e)),z(document,"selectstart",o),We=!0,F&&V(document.body,"user-select","none"))},_onDragOver:function(e){var t,o,i,n,s=this.el,a=e.target,d=this.options,l=d.group,r=ct.active,c=Pe===l,u=d.sort,m=Ee||r,p=this,h=!1;if(!Ve){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),a=Y(a,d.draggable,s,!0),x("dragOver"),ct.eventCanceled)return h;if(be.contains(e.target)||a.animated&&a.animatingX&&a.animatingY||p._ignoreWhileAnimating===a)return S(!1);if(Xe=!1,r&&!d.disabled&&(c?u||(i=!_e.contains(be)):Ee===this||(this.lastPutMode=Pe.checkPull(this,r,be,e))&&l.checkPut(this,r,be,e))){if(n="vertical"===this._getDirection(e,a),t=te(be),x("dragOverValid"),ct.eventCanceled)return h;if(i)return je=_e,B(),this._hideClone(),x("revert"),ct.eventCanceled||(Ce?_e.insertBefore(be,Ce):_e.appendChild(be)),S(!0);var f=ne(s,d.draggable);if(!f||function(e,t,o){var i=te(ne(o.el,o.options.draggable));return t?e.clientX>i.right+10||e.clientX<=i.right&&e.clientY>i.bottom&&e.clientX>=i.left:e.clientX>i.right&&e.clientY>i.top||e.clientX<=i.right&&e.clientY>i.bottom+10}(e,n,this)&&!f.animated){if(f===be)return S(!1);if(f&&s===e.target&&(a=f),a&&(o=te(a)),!1!==ut(_e,s,be,t,a,o,e,!!a))return B(),s.appendChild(be),je=s,A(),S(!0)}else if(a.parentNode===s){o=te(a);var v,g,y,w=be.parentNode!==s,b=!function(e,t,o){var i=o?e.left:e.top,n=o?e.right:e.bottom,s=o?e.width:e.height,a=o?t.left:t.top,d=o?t.right:t.bottom,l=o?t.width:t.height;return i===a||n===d||i+s/2===a+l/2}(be.animated&&be.toRect||t,a.animated&&a.toRect||o,n),j=n?"top":"left",Q=oe(a,"top","top")||oe(be,"top","top"),_=Q?Q.scrollTop:void 0;if(Ue!==a&&(g=o[j],Je=!1,Ge=!b&&d.invertSwap||w),0!==(v=function(e,t,o,i,n,s,a,d){var l=i?e.clientY:e.clientX,r=i?o.height:o.width,c=i?o.top:o.left,u=i?o.bottom:o.right,m=!1;if(!a)if(d&&ze<r*n){if(!Je&&(1===He?l>c+r*s/2:l<u-r*s/2)&&(Je=!0),Je)m=!0;else if(1===He?l<c+ze:l>u-ze)return-He}else if(l>c+r*(1-n)/2&&l<u-r*(1-n)/2)return function(e){return se(be)<se(e)?1:-1}(t);if((m=m||a)&&(l<c+r*s/2||l>u-r*s/2))return l>c+r/2?1:-1;return 0}(e,a,o,n,b?1:d.swapThreshold,null==d.invertedSwapThreshold?d.swapThreshold:d.invertedSwapThreshold,Ge,Ue===a))){var C=se(be);do{C-=v,y=je.children[C]}while(y&&("none"===V(y,"display")||y===Qe))}if(0===v||y===a)return S(!1);Ue=a,He=v;var k=a.nextElementSibling,D=!1,L=ut(_e,s,be,t,a,o,e,D=1===v);if(!1!==L)return 1!==L&&-1!==L||(D=1===L),Ve=!0,setTimeout(pt,30),B(),D&&!k?s.appendChild(be):a.parentNode.insertBefore(be,D?k:a),Q&&ce(Q,0,_-Q.scrollTop),je=be.parentNode,void 0===g||Ge||(ze=Math.abs(g-te(a)[j])),A(),S(!0)}if(s.contains(be))return S(!1)}return!1}function x(d,l){ye(d,p,E({evt:e,isOwner:c,axis:n?"vertical":"horizontal",revert:i,dragRect:t,targetRect:o,canSort:u,fromSortable:m,target:a,completed:S,onMove:function(o,i){return ut(_e,s,be,t,o,te(o),e,i)},changed:A},l))}function B(){x("dragOverAnimationCapture"),p.captureAnimationState(),p!==m&&m.captureAnimationState()}function S(t){return x("dragOverCompleted",{insertion:t}),t&&(c?r._hideClone():r._showClone(p),p!==m&&(K(be,Ee?Ee.options.ghostClass:r.options.ghostClass,!1),K(be,d.ghostClass,!0)),Ee!==p&&p!==ct.active?Ee=p:p===ct.active&&Ee&&(Ee=null),m===p&&(p._ignoreWhileAnimating=a),p.animateAll((function(){x("dragOverAnimationComplete"),p._ignoreWhileAnimating=null})),p!==m&&(m.animateAll(),m._ignoreWhileAnimating=null)),(a===be&&!be.animated||a===s&&!a.animated)&&(Ue=null),d.dragoverBubble||e.rootEl||a===document||(be.parentNode[me]._isOutsideThisEl(e.target),!t&&lt(e)),!d.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),h=!0}function A(){Be=se(be),Ae=se(be,d.draggable),we({sortable:p,name:"change",toEl:s,newIndex:Be,newDraggableIndex:Ae,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){R(document,"mousemove",this._onTouchMove),R(document,"touchmove",this._onTouchMove),R(document,"pointermove",this._onTouchMove),R(document,"dragover",lt),R(document,"mousemove",lt),R(document,"touchmove",lt)},_offUpEvents:function(){var e=this.el.ownerDocument;R(e,"mouseup",this._onDrop),R(e,"touchend",this._onDrop),R(e,"pointerup",this._onDrop),R(e,"touchcancel",this._onDrop),R(document,"selectstart",this)},_onDrop:function(e){var t=this.el,o=this.options;Be=se(be),Ae=se(be,o.draggable),ye("drop",this,{evt:e}),je=be&&be.parentNode,Be=se(be),Ae=se(be,o.draggable),ct.eventCanceled?this._nulling():(qe=!1,Ge=!1,Je=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),vt(this.cloneId),vt(this._dragStartId),this.nativeDraggable&&(R(document,"drop",this),R(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),F&&V(document.body,"user-select",""),e&&(We&&(e.cancelable&&e.preventDefault(),!o.dropBubble&&e.stopPropagation()),Qe&&Qe.parentNode&&Qe.parentNode.removeChild(Qe),(_e===je||Ee&&"clone"!==Ee.lastPutMode)&&De&&De.parentNode&&De.parentNode.removeChild(De),be&&(this.nativeDraggable&&R(be,"dragend",this),mt(be),be.style["will-change"]="",We&&!qe&&K(be,Ee?Ee.options.ghostClass:this.options.ghostClass,!1),K(be,this.options.chosenClass,!1),we({sortable:this,name:"unchoose",toEl:je,newIndex:null,newDraggableIndex:null,originalEvent:e}),_e!==je?(Be>=0&&(we({rootEl:je,name:"add",toEl:je,fromEl:_e,originalEvent:e}),we({sortable:this,name:"remove",toEl:je,originalEvent:e}),we({rootEl:je,name:"sort",toEl:je,fromEl:_e,originalEvent:e}),we({sortable:this,name:"sort",toEl:je,originalEvent:e})),Ee&&Ee.save()):Be!==xe&&Be>=0&&(we({sortable:this,name:"update",toEl:je,originalEvent:e}),we({sortable:this,name:"sort",toEl:je,originalEvent:e})),ct.active&&(null!=Be&&-1!==Be||(Be=xe,Ae=Se),we({sortable:this,name:"end",toEl:je,originalEvent:e}),this.save()))),this._nulling())},_nulling:function(){ye("nulling",this),_e=be=je=Qe=Ce=De=ke=Le=Oe=Te=We=Be=Ae=xe=Se=Ue=He=Ee=Pe=ct.dragged=ct.ghost=ct.clone=ct.active=null,$e.forEach((function(e){e.checked=!0})),$e.length=Ie=Me=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":be&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],o=this.el.children,i=0,n=o.length,s=this.options;i<n;i++)Y(e=o[i],s.draggable,this.el,!1)&&t.push(e.getAttribute(s.dataIdAttr)||ht(e));return t},sort:function(e){var t={},o=this.el;this.toArray().forEach((function(e,i){var n=o.children[i];Y(n,this.options.draggable,o,!1)&&(t[e]=n)}),this),e.forEach((function(e){t[e]&&(o.removeChild(t[e]),o.appendChild(t[e]))}))},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return Y(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var o=this.options;if(void 0===t)return o[e];var i=ve.modifyOption(this,e,t);o[e]=void 0!==i?i:t,"group"===e&&st(o)},destroy:function(){ye("destroy",this);var e=this.el;e[me]=null,R(e,"mousedown",this._onTapStart),R(e,"touchstart",this._onTapStart),R(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(R(e,"dragover",this),R(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),Ye.splice(Ye.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Le){if(ye("hideClone",this),ct.eventCanceled)return;V(De,"display","none"),this.options.removeCloneOnHide&&De.parentNode&&De.parentNode.removeChild(De),Le=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(Le){if(ye("showClone",this),ct.eventCanceled)return;_e.contains(be)&&!this.options.group.revertClone?_e.insertBefore(De,be):Ce?_e.insertBefore(De,Ce):_e.appendChild(De),this.options.group.revertClone&&this.animate(be,De),V(De,"display",""),Le=!1}}else this._hideClone()}},Ze&&z(document,"touchmove",(function(e){(ct.active||qe)&&e.cancelable&&e.preventDefault()})),ct.utils={on:z,off:R,css:V,find:Z,is:function(e,t){return!!Y(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o]);return e},throttle:re,closest:Y,toggleClass:K,clone:ue,index:se,nextTick:ft,cancelNextTick:vt,detectDirection:nt,getChild:ie},ct.get=function(e){return e[me]},ct.mount=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(ct.utils=E({},ct.utils,e.utils)),ve.mount(e)}))},ct.create=function(e,t){return new ct(e,t)},ct.version="1.10.1";var gt,yt,wt,bt,jt,Qt,_t=[],Ct=!1;function kt(){_t.forEach((function(e){clearInterval(e.pid)})),_t=[]}function Dt(){clearInterval(Qt)}var Lt=re((function(e,t,o,i){if(t.scroll){var n,s=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,d=t.scrollSensitivity,l=t.scrollSpeed,r=ee(),c=!1;yt!==o&&(yt=o,kt(),gt=t.scroll,n=t.scrollFn,!0===gt&&(gt=de(o,!0)));var u=0,m=gt;do{var p=m,h=te(p),f=h.top,v=h.bottom,g=h.left,y=h.right,w=h.width,b=h.height,j=void 0,Q=void 0,_=p.scrollWidth,C=p.scrollHeight,k=V(p),D=p.scrollLeft,L=p.scrollTop;p===r?(j=w<_&&("auto"===k.overflowX||"scroll"===k.overflowX||"visible"===k.overflowX),Q=b<C&&("auto"===k.overflowY||"scroll"===k.overflowY||"visible"===k.overflowY)):(j=w<_&&("auto"===k.overflowX||"scroll"===k.overflowX),Q=b<C&&("auto"===k.overflowY||"scroll"===k.overflowY));var x=j&&(Math.abs(y-s)<=d&&D+w<_)-(Math.abs(g-s)<=d&&!!D),B=Q&&(Math.abs(v-a)<=d&&L+b<C)-(Math.abs(f-a)<=d&&!!L);if(!_t[u])for(var S=0;S<=u;S++)_t[S]||(_t[S]={});_t[u].vx==x&&_t[u].vy==B&&_t[u].el===p||(_t[u].el=p,_t[u].vx=x,_t[u].vy=B,clearInterval(_t[u].pid),0==x&&0==B||(c=!0,_t[u].pid=setInterval(function(){i&&0===this.layer&&ct.active._onTouchMove(jt);var t=_t[this.layer].vy?_t[this.layer].vy*l:0,o=_t[this.layer].vx?_t[this.layer].vx*l:0;"function"==typeof n&&"continue"!==n.call(ct.dragged.parentNode[me],o,t,e,jt,_t[this.layer].el)||ce(_t[this.layer].el,o,t)}.bind({layer:u}),24))),u++}while(t.bubbleScroll&&m!==r&&(m=de(m,!1)));Ct=c}}),30),xt=function(e){var t=e.originalEvent,o=e.putSortable,i=e.dragEl,n=e.activeSortable,s=e.dispatchSortableEvent,a=e.hideGhostForTarget,d=e.unhideGhostForTarget;if(t){var l=o||n;a();var r=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,c=document.elementFromPoint(r.clientX,r.clientY);d(),l&&!l.el.contains(c)&&(s("spill"),this.onSpill({dragEl:i,putSortable:o}))}};function Bt(){}function St(){}Bt.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,o=e.putSortable;this.sortable.captureAnimationState(),o&&o.captureAnimationState();var i=ie(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(t,i):this.sortable.el.appendChild(t),this.sortable.animateAll(),o&&o.animateAll()},drop:xt},P(Bt,{pluginName:"revertOnSpill"}),St.prototype={onSpill:function(e){var t=e.dragEl,o=e.putSortable||this.sortable;o.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),o.animateAll()},drop:xt},P(St,{pluginName:"removeOnSpill"});ct.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?z(document,"dragover",this._handleAutoScroll):this.options.supportPointer?z(document,"pointermove",this._handleFallbackAutoScroll):t.touches?z(document,"touchmove",this._handleFallbackAutoScroll):z(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?R(document,"dragover",this._handleAutoScroll):(R(document,"pointermove",this._handleFallbackAutoScroll),R(document,"touchmove",this._handleFallbackAutoScroll),R(document,"mousemove",this._handleFallbackAutoScroll)),Dt(),kt(),clearTimeout(J),J=void 0},nulling:function(){jt=yt=gt=Ct=Qt=wt=bt=null,_t.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var o=this,i=(e.touches?e.touches[0]:e).clientX,n=(e.touches?e.touches[0]:e).clientY,s=document.elementFromPoint(i,n);if(jt=e,t||M||I||F){Lt(e,this.options,s,t);var a=de(s,!0);!Ct||Qt&&i===wt&&n===bt||(Qt&&Dt(),Qt=setInterval((function(){var s=de(document.elementFromPoint(i,n),!0);s!==a&&(a=s,kt()),Lt(e,o.options,s,t)}),10),wt=i,bt=n)}else{if(!this.options.bubbleScroll||de(s,!0)===ee())return void kt();Lt(e,this.options,de(s,!1),!1)}}},P(e,{pluginName:"scroll",initializeByDefault:!0})}),ct.mount(St,Bt);var At=ct;window.onerror=function(e,t,o,i){Nt(e,t,o,i)},jQuery(document).on("click",".dslca-show-js-error-hook",(function(e){e.preventDefault();var t=document.getElementById("dslca-js-errors-report");jQuery("body").hasClass("dslca-saving-in-progress")||n({title:'<a href="https://livecomposerplugin.com/support/" target="_blank"><span class="dslca-icon dslc-icon-comment"></span> &nbsp; Get Support Info</a>',content:'<span class="dslca-error-report">'+t.value+"</span>"})})),jQuery(document).ready((function(e){var t,o;jQuery("#page-builder-frame")[0].contentWindow.onerror=function(e,t,o,i){Nt(e,t,o,i)},t=document.getElementById("dslca-js-errors-report"),null!==(o=localStorage.getItem("js_errors_report"))&&(t.value=o,localStorage.removeItem("js_errors_report"),document.querySelector(".dslca-show-js-error-hook").setAttribute("style","visibility:visible")),jQuery("body").addClass("dslca-enabled dslca-drag-not-in-progress"),jQuery(".dslca-invisible-overlay").hide(),jQuery(".dslca-section").eq(0).show()})),jQuery(document).on("click",".dslca-currently-editing",(function(){var e=!1,t=!1;if(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length?(e=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),"#5890e5"):jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length&&(e=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument),"#eabba9"),e){(t=e.offset().top-100)<0&&(t=0);jQuery("html, body",LiveComposer.Builder.PreviewAreaDocument).animate({scrollTop:t},300,(function(){e.removeAttr("style")}))}})),jQuery(window).keypress((function(e){if((e.metaKey||e.ctrlKey)&&83==e.keyCode)return dslc_ajax_save_composer(),e.preventDefault(),!1})),jQuery(document).on("click",".dslca-hide-composer-hook",(function(e){e.preventDefault(),function(){window.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("body",LiveComposer.Builder.PreviewAreaDocument).addClass("dslca-composer-hidden"),LiveComposer.Builder.Flags.uiHidden=!0,jQuery(".dslca-container").css({bottom:-1*jQuery(".dslca-container").outerHeight()}),jQuery(".dslca-header").hide()}()})),jQuery(document).on("click",".dslca-show-composer-hook",(function(e){e.preventDefault(),function(){window.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("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-composer-hidden"),LiveComposer.Builder.Flags.uiHidden=!1,jQuery(".dslca-container").css({bottom:0}),jQuery(".dslca-header").show()}()})),jQuery(document).on("click",".dslca-go-to-modules-hook",(function(e){e.preventDefault(),Et(".dslca-modules")})),jQuery(document).on("click",".dslca-go-to-section-hook",(function(e){if(e.preventDefault(),!jQuery(this).hasClass("dslca-active")){var t=jQuery(this).data("section");Et(t),(jQuery(this).hasClass("dslca-go-to-section-modules")||jQuery(this).hasClass("dslca-go-to-section-templates"))&&jQuery(this).addClass("dslca-active").siblings(".dslca-go-to-section-hook").removeClass("dslca-active")}})),jQuery(document).on("click",".dslca-close-composer-hook",(function(e){e.preventDefault();var t=jQuery(this).attr("href");!jQuery("body").hasClass("dslca-saving-in-progress")&&jQuery(".dslca-save-composer").is(":visible")?n({title:DSLCString.str_exit_title,content:DSLCString.str_exit_descr,confirm:function(){window.location=t}}):window.location=t})),jQuery(document).on("click",".dslca-submit",(function(){jQuery(this).closest("form").submit()})),jQuery(document).on("click",".dslca-section-title",(function(e){e.stopPropagation(),jQuery(".dslca-section-title-filter",this).length&&(!function(){window.dslcDebug&&console.log("dslc_generate_filters");var e,t=[],o='<a html="#" data-origin="">Show All</a>';jQuery(".dslca-section:visible .dslca-origin").each((function(){e=jQuery(this),-1==jQuery.inArray(e.data("origin"),t)&&(t.push(e.data("origin")),o+='<a href="#" data-origin="'+e.data("origin")+'">'+e.data("origin")+"</a>")})),jQuery(".dslca-section:visible .dslca-section-title-filter-options").html(o).css("background",jQuery(".dslca-section:visible").data("bg"))}(),jQuery(".dslca-section-title-filter-options").slideToggle(300))})),jQuery(document).on("click",".dslca-section-title-filter-options a",(function(e){e.preventDefault(),e.stopPropagation();var t=jQuery(this).data("origin"),o=jQuery(this).closest(".dslca-section");o.hasClass("dslca-templates-load"),jQuery(".dslca-section-title-filter-curr",o).text(jQuery(this).text()),jQuery(".dslca-section-scroller-inner").css({left:0}),function(e,t){window.dslcDebug&&console.log("dslc_filter_origin");jQuery(".dslca-origin",t).attr("data-display-module","false"),jQuery('.dslca-origin[data-origin="'+e+'"]',t).attr("data-display-module","true"),""==e&&(jQuery(".dslca-origin",t).attr("data-display-module","true"),jQuery(".dslca-origin.dslca-exclude",t).attr("data-display-module","false"))}(t,o),jQuery(".dslca-section-title-filter-options").slideToggle(300)})),window.dslc_show_publish_button=function(){window.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")};var Pt=function(){window.dslcDebug&&console.log("hidePublishButton"),jQuery(".dslca-save-composer").hide(),jQuery(".dslca-save-draft-composer").hide()},Et=function(e){window.dslcDebug&&console.log("showSection");jQuery(e).data("title"),jQuery(e).data("bg");jQuery(".dslca-container").css({bottom:-500}),jQuery(".dslca-section").hide(),jQuery(e).show(),".dslca-module-edit"==e?jQuery(".dslca-currently-editing").show().find("strong").text(jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).attr("title")+" element"):".dslca-modules-section-edit"==e?jQuery(".dslca-currently-editing").show().css("background-color","#e5855f").find("strong").text("Row"):jQuery(".dslca-currently-editing").hide().find("strong").text(""),Q(),jQuery(".dslca-container").css({bottom:0}),jQuery(e).find("input.dslca-module-edit-field-colorpicker").each((function(e){jQuery(this).css("background",jQuery(this).val())}))};function Ot(e){if(void 0===e&&(e=!1),e){var t=jQuery(".dslca-module-edit-option-"+e),o=t.find(".dslca-module-edit-field"),i=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument)[0].id,n="";"tablet_responsive"===t.data("tab")?n="body.dslc-res-tablet ":"phone_responsive"===t.data("tab")&&(n="body.dslc-res-phone ");var s=o.data("affect-on-change-el");if(void 0!==s){var a=s.split(",");s="";for(var d=0;d<a.length;d++)d>0&&(s+=", "),s+=n+"#"+i+" "+a[d];var l,r=o.data("affect-on-change-rule").replace(/ /g,"").split(","),c=o.data("ext");if(t.toggleClass("dslca-option-off"),t.hasClass("dslca-option-off")){l=It(e),o.data("val-bckp",l);for(d=0;d<r.length;d++)jQuery(s,LiveComposer.Builder.PreviewAreaDocument).css(r[d],""),Tt(s,r[d],i);o.val("").trigger("change")}else{o.val(o.data("val-bckp")).trigger("change"),l=function(e,t){if(""===e||null===e)return e;-1==e.indexOf(t)&&(e+=t);return e}(l=It(e),c||"");for(d=0;d<r.length;d++){var u=s+"{"+r[d]+": "+l+"}";LiveComposer.Builder.Helpers.processInlineStyleTag({context:t,rule:r[d],elems:s.replace(new RegExp("#"+i,"gi"),"").trim(),styleContent:u})}}}}}function Tt(e,t,o){var i,n="css-for-"+o,s=document.getElementById("page-builder-frame").contentWindow.document.getElementById(n);if(e=e.replace(/\s\s+/g," "),s){(s=s.sheet).rules?i="rules":s.cssRules&&(i="cssRules");for(var a=0;a<s[i].length;a++)if(s[i][a].selectorText==e&&s[i][a].style[t]){s[i][a].style[t]="";break}}}function It(e){return jQuery(".dslca-module-edit-option-"+e).find(".dslca-module-edit-field").val()}jQuery(document).ready((function(e){jQuery(document).on("click",".dslca-module-edit-option .dslc-control-toggle",(function(e){e.preventDefault(),Ot(jQuery(e.target).closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("id"))})),jQuery(document).on("mousedown",".dslca-module-edit-option",(function(e){var t=jQuery(".dslc-control-toggle");t.is(e.target)||0!==t.has(e.target).length||jQuery(e.target).closest(".dslca-module-edit-option").hasClass("dslca-option-off")&&Ot(jQuery(e.target).closest(".dslca-module-edit-option").find(".dslca-module-edit-field").data("id"))}))}));var Mt=function(){jQuery([document,LiveComposer.Builder.PreviewAreaWindow.document]).unbind("keydown").bind("keydown",(function(e){var t;window.dslc_modal_keypress_events(e),function(e){var t=!1;if(8===e.keyCode){var o=e.srcElement||e.target;t=!("INPUT"===o.tagName.toUpperCase()&&("TEXT"===o.type.toUpperCase()||"PASSWORD"===o.type.toUpperCase()||"NUMBER"===o.type.toUpperCase()||"FILE"===o.type.toUpperCase())||"TEXTAREA"===o.tagName.toUpperCase()||jQuery(o).hasClass("dslca-editable-content")||jQuery(o).hasClass("dslc-tabs-nav-hook-title")||jQuery(o).hasClass("dslc-accordion-title"))||(o.readOnly||o.disabled)}t&&e.preventDefault()}(e),(116==(t=e).which||82===t.which&&t.metaKey)&&(null===jQuery(".dslca-save-composer-hook").offsetParent&&null===jQuery(".dslca-module-edit-save").offsetParent||(t.preventDefault(),n({title:DSLCString.str_refresh_title,content:DSLCString.str_refresh_descr,confirm:function(){window.location.reload()}}))),function(e){if(83==e.which&&(e.metaKey||e.ctrlKey)&&"block"==jQuery(".dslca-save-composer-hook").css("display"))dslc_save_composer(),e.preventDefault()}(e),function(e){(e.metaKey||e.ctrlKey)&&LiveComposer.Builder.PreviewAreaWindow.document.querySelector("body").classList.add("key-press-cmd")}(e)})),jQuery([document,LiveComposer.Builder.PreviewAreaWindow.document]).unbind("keyup").bind("keyup",(function(e){"Meta"===e.key&&LiveComposer.Builder.PreviewAreaWindow.document.querySelector("body").classList.remove("key-press-cmd")}))};function Nt(e,t,o,i){var n="JavaScript error detected in a third-party plugin";null!=t.match("wp-content/plugins/live-composer-page-builder/js")&&(n="Live Composer returned JS error");var s="";s+='<br /><strong style="color:#E55F5F;">'+n+"</strong><br />",s+=e+'<br /> File "'+t+'", line '+o+", char "+i+"<br />","undefined"!=typeof Storage&&localStorage.setItem("js_errors_report",s)}jQuery(document).on("editorFrameLoaded",(function(){jQuery;var e=jQuery("div[data-hf]",LiveComposer.Builder.PreviewAreaDocument),t="";e.each((function(e,o){var i=jQuery(o).data("editing-link"),n=(jQuery(o).data("editing-type"),jQuery(o).data("editing-label")),s=jQuery(o).data("editing-sublabel");t+='<div class="dslc-hf-block-overlay"><a target="_blank" href="'+i+'" class="dslc-hf-block-overlay-button dslca-link">'+n+"</a>",void 0!==s&&(t+=' <span class="dslc-hf-block-overlay-text">'+s+"</span>"),t+="</div>";var a=document.createElement("div");a.innerHTML=t,o.append(a)}))}));var Ft={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},Wt={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},Ut=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective"],Ht={CSS:{},springs:{}};function zt(e,t,o){return Math.min(Math.max(e,t),o)}function Rt(e,t){return e.indexOf(t)>-1}function qt(e,t){return e.apply(null,t)}var Xt={arr:function(e){return Array.isArray(e)},obj:function(e){return Rt(Object.prototype.toString.call(e),"Object")},pth:function(e){return Xt.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||Xt.svg(e)},str:function(e){return"string"==typeof e},fnc:function(e){return"function"==typeof e},und:function(e){return void 0===e},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return Xt.hex(e)||Xt.rgb(e)||Xt.hsl(e)},key:function(e){return!Ft.hasOwnProperty(e)&&!Wt.hasOwnProperty(e)&&"targets"!==e&&"keyframes"!==e}};function Yt(e){var t=/\(([^)]+)\)/.exec(e);return t?t[1].split(",").map((function(e){return parseFloat(e)})):[]}function Jt(e,t){var o=Yt(e),i=zt(Xt.und(o[0])?1:o[0],.1,100),n=zt(Xt.und(o[1])?100:o[1],.1,100),s=zt(Xt.und(o[2])?10:o[2],.1,100),a=zt(Xt.und(o[3])?0:o[3],.1,100),d=Math.sqrt(n/i),l=s/(2*Math.sqrt(n*i)),r=l<1?d*Math.sqrt(1-l*l):0,c=1,u=l<1?(l*d-a)/r:-a+d;function m(e){var o=t?t*e/1e3:e;return o=l<1?Math.exp(-o*l*d)*(c*Math.cos(r*o)+u*Math.sin(r*o)):(c+u*o)*Math.exp(-o*d),0===e||1===e?e:1-o}return t?m:function(){var t=Ht.springs[e];if(t)return t;for(var o=0,i=0;;)if(1===m(o+=1/6)){if(++i>=16)break}else i=0;var n=o*(1/6)*1e3;return Ht.springs[e]=n,n}}function Gt(e){return void 0===e&&(e=10),function(t){return Math.round(t*e)*(1/e)}}var Kt,Vt,$t=function(){var e=11,t=1/(e-1);function o(e,t){return 1-3*t+3*e}function i(e,t){return 3*t-6*e}function n(e){return 3*e}function s(e,t,s){return((o(t,s)*e+i(t,s))*e+n(t))*e}function a(e,t,s){return 3*o(t,s)*e*e+2*i(t,s)*e+n(t)}return function(o,i,n,d){if(0<=o&&o<=1&&0<=n&&n<=1){var l=new Float32Array(e);if(o!==i||n!==d)for(var r=0;r<e;++r)l[r]=s(r*t,o,n);return function(e){return o===i&&n===d?e:0===e||1===e?e:s(c(e),i,d)}}function c(i){for(var d=0,r=1,c=e-1;r!==c&&l[r]<=i;++r)d+=t;--r;var u=d+(i-l[r])/(l[r+1]-l[r])*t,m=a(u,o,n);return m>=.001?function(e,t,o,i){for(var n=0;n<4;++n){var d=a(t,o,i);if(0===d)return t;t-=(s(t,o,i)-e)/d}return t}(i,u,o,n):0===m?u:function(e,t,o,i,n){var a,d,l=0;do{(a=s(d=t+(o-t)/2,i,n)-e)>0?o=d:t=d}while(Math.abs(a)>1e-7&&++l<10);return d}(i,d,d+t,o,n)}}}(),Zt=(Kt={linear:function(){return function(e){return e}}},Vt={Sine:function(){return function(e){return 1-Math.cos(e*Math.PI/2)}},Circ:function(){return function(e){return 1-Math.sqrt(1-e*e)}},Back:function(){return function(e){return e*e*(3*e-2)}},Bounce:function(){return function(e){for(var t,o=4;e<((t=Math.pow(2,--o))-1)/11;);return 1/Math.pow(4,3-o)-7.5625*Math.pow((3*t-2)/22-e,2)}},Elastic:function(e,t){void 0===e&&(e=1),void 0===t&&(t=.5);var o=zt(e,1,10),i=zt(t,.1,2);return function(e){return 0===e||1===e?e:-o*Math.pow(2,10*(e-1))*Math.sin((e-1-i/(2*Math.PI)*Math.asin(1/o))*(2*Math.PI)/i)}}},["Quad","Cubic","Quart","Quint","Expo"].forEach((function(e,t){Vt[e]=function(){return function(e){return Math.pow(e,t+2)}}})),Object.keys(Vt).forEach((function(e){var t=Vt[e];Kt["easeIn"+e]=t,Kt["easeOut"+e]=function(e,o){return function(i){return 1-t(e,o)(1-i)}},Kt["easeInOut"+e]=function(e,o){return function(i){return i<.5?t(e,o)(2*i)/2:1-t(e,o)(-2*i+2)/2}}})),Kt);function eo(e,t){if(Xt.fnc(e))return e;var o=e.split("(")[0],i=Zt[o],n=Yt(e);switch(o){case"spring":return Jt(e,t);case"cubicBezier":return qt($t,n);case"steps":return qt(Gt,n);default:return qt(i,n)}}function to(e){try{return document.querySelectorAll(e)}catch(e){return}}function oo(e,t){for(var o=e.length,i=arguments.length>=2?arguments[1]:void 0,n=[],s=0;s<o;s++)if(s in e){var a=e[s];t.call(i,a,s,e)&&n.push(a)}return n}function io(e){return e.reduce((function(e,t){return e.concat(Xt.arr(t)?io(t):t)}),[])}function no(e){return Xt.arr(e)?e:(Xt.str(e)&&(e=to(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function so(e,t){return e.some((function(e){return e===t}))}function ao(e){var t={};for(var o in e)t[o]=e[o];return t}function lo(e,t){var o=ao(e);for(var i in e)o[i]=t.hasOwnProperty(i)?t[i]:e[i];return o}function ro(e,t){var o=ao(e);for(var i in t)o[i]=Xt.und(e[i])?t[i]:e[i];return o}function co(e){return Xt.rgb(e)?(o=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(t=e))?"rgba("+o[1]+",1)":t:Xt.hex(e)?function(e){var t=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,o,i){return t+t+o+o+i+i})),o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return"rgba("+parseInt(o[1],16)+","+parseInt(o[2],16)+","+parseInt(o[3],16)+",1)"}(e):Xt.hsl(e)?function(e){var t,o,i,n=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(e),s=parseInt(n[1],10)/360,a=parseInt(n[2],10)/100,d=parseInt(n[3],10)/100,l=n[4]||1;function r(e,t,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+6*(t-e)*o:o<.5?t:o<2/3?e+(t-e)*(2/3-o)*6:e}if(0==a)t=o=i=d;else{var c=d<.5?d*(1+a):d+a-d*a,u=2*d-c;t=r(u,c,s+1/3),o=r(u,c,s),i=r(u,c,s-1/3)}return"rgba("+255*t+","+255*o+","+255*i+","+l+")"}(e):void 0;var t,o}function uo(e){var t=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(t)return t[1]}function mo(e,t){return Xt.fnc(e)?e(t.target,t.id,t.total):e}function po(e,t){return e.getAttribute(t)}function ho(e,t,o){if(so([o,"deg","rad","turn"],uo(t)))return t;var i=Ht.CSS[t+o];if(!Xt.und(i))return i;var n=document.createElement(e.tagName),s=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;s.appendChild(n),n.style.position="absolute",n.style.width=100+o;var a=100/n.offsetWidth;s.removeChild(n);var d=a*parseFloat(t);return Ht.CSS[t+o]=d,d}function fo(e,t,o){if(t in e.style){var i=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),n=e.style[t]||getComputedStyle(e).getPropertyValue(i)||"0";return o?ho(e,n,o):n}}function vo(e,t){return Xt.dom(e)&&!Xt.inp(e)&&(po(e,t)||Xt.svg(e)&&e[t])?"attribute":Xt.dom(e)&&so(Ut,t)?"transform":Xt.dom(e)&&"transform"!==t&&fo(e,t)?"css":null!=e[t]?"object":void 0}function go(e){if(Xt.dom(e)){for(var t,o=e.style.transform||"",i=/(\w+)\(([^)]*)\)/g,n=new Map;t=i.exec(o);)n.set(t[1],t[2]);return n}}function yo(e,t,o,i){var n=Rt(t,"scale")?1:0+function(e){return Rt(e,"translate")||"perspective"===e?"px":Rt(e,"rotate")||Rt(e,"skew")?"deg":void 0}(t),s=go(e).get(t)||n;return o&&(o.transforms.list.set(t,s),o.transforms.last=t),i?ho(e,s,i):s}function wo(e,t,o,i){switch(vo(e,t)){case"transform":return yo(e,t,i,o);case"css":return fo(e,t,o);case"attribute":return po(e,t);default:return e[t]||0}}function bo(e,t){var o=/^(\*=|\+=|-=)/.exec(e);if(!o)return e;var i=uo(e)||0,n=parseFloat(t),s=parseFloat(e.replace(o[0],""));switch(o[0][0]){case"+":return n+s+i;case"-":return n-s+i;case"*":return n*s+i}}function jo(e,t){if(Xt.col(e))return co(e);if(/\s/g.test(e))return e;var o=uo(e),i=o?e.substr(0,e.length-o.length):e;return t?i+t:i}function Qo(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function _o(e){for(var t,o=e.points,i=0,n=0;n<o.numberOfItems;n++){var s=o.getItem(n);n>0&&(i+=Qo(t,s)),t=s}return i}function Co(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return function(e){return 2*Math.PI*po(e,"r")}(e);case"rect":return function(e){return 2*po(e,"width")+2*po(e,"height")}(e);case"line":return function(e){return Qo({x:po(e,"x1"),y:po(e,"y1")},{x:po(e,"x2"),y:po(e,"y2")})}(e);case"polyline":return _o(e);case"polygon":return function(e){var t=e.points;return _o(e)+Qo(t.getItem(t.numberOfItems-1),t.getItem(0))}(e)}}function ko(e,t){var o=t||{},i=o.el||function(e){for(var t=e.parentNode;Xt.svg(t)&&Xt.svg(t.parentNode);)t=t.parentNode;return t}(e),n=i.getBoundingClientRect(),s=po(i,"viewBox"),a=n.width,d=n.height,l=o.viewBox||(s?s.split(" "):[0,0,a,d]);return{el:i,viewBox:l,x:l[0]/1,y:l[1]/1,w:a/l[2],h:d/l[3]}}function Do(e,t){function o(o){void 0===o&&(o=0);var i=t+o>=1?t+o:0;return e.el.getPointAtLength(i)}var i=ko(e.el,e.svg),n=o(),s=o(-1),a=o(1);switch(e.property){case"x":return(n.x-i.x)*i.w;case"y":return(n.y-i.y)*i.h;case"angle":return 180*Math.atan2(a.y-s.y,a.x-s.x)/Math.PI}}function Lo(e,t){var o=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,i=jo(Xt.pth(e)?e.totalLength:e,t)+"";return{original:i,numbers:i.match(o)?i.match(o).map(Number):[0],strings:Xt.str(e)||t?i.split(o):[]}}function xo(e){return oo(e?io(Xt.arr(e)?e.map(no):no(e)):[],(function(e,t,o){return o.indexOf(e)===t}))}function Bo(e){var t=xo(e);return t.map((function(e,o){return{target:e,id:o,total:t.length,transforms:{list:go(e)}}}))}function So(e,t){var o=ao(t);if(/^spring/.test(o.easing)&&(o.duration=Jt(o.easing)),Xt.arr(e)){var i=e.length;2===i&&!Xt.obj(e[0])?e={value:e}:Xt.fnc(t.duration)||(o.duration=t.duration/i)}var n=Xt.arr(e)?e:[e];return n.map((function(e,o){var i=Xt.obj(e)&&!Xt.pth(e)?e:{value:e};return Xt.und(i.delay)&&(i.delay=o?0:t.delay),Xt.und(i.endDelay)&&(i.endDelay=o===n.length-1?t.endDelay:0),i})).map((function(e){return ro(e,o)}))}function Ao(e,t){var o=[],i=t.keyframes;for(var n in i&&(t=ro(function(e){for(var t=oo(io(e.map((function(e){return Object.keys(e)}))),(function(e){return Xt.key(e)})).reduce((function(e,t){return e.indexOf(t)<0&&e.push(t),e}),[]),o={},i=function(i){var n=t[i];o[n]=e.map((function(e){var t={};for(var o in e)Xt.key(o)?o==n&&(t.value=e[o]):t[o]=e[o];return t}))},n=0;n<t.length;n++)i(n);return o}(i),t)),t)Xt.key(n)&&o.push({name:n,tweens:So(t[n],e)});return o}function Po(e,t){var o;return e.tweens.map((function(i){var n=function(e,t){var o={};for(var i in e){var n=mo(e[i],t);Xt.arr(n)&&1===(n=n.map((function(e){return mo(e,t)}))).length&&(n=n[0]),o[i]=n}return o.duration=parseFloat(o.duration),o.delay=parseFloat(o.delay),o}(i,t),s=n.value,a=Xt.arr(s)?s[1]:s,d=uo(a),l=wo(t.target,e.name,d,t),r=o?o.to.original:l,c=Xt.arr(s)?s[0]:r,u=uo(c)||uo(l),m=d||u;return Xt.und(a)&&(a=r),n.from=Lo(c,m),n.to=Lo(bo(a,c),m),n.start=o?o.end:0,n.end=n.start+n.delay+n.duration+n.endDelay,n.easing=eo(n.easing,n.duration),n.isPath=Xt.pth(s),n.isColor=Xt.col(n.from.original),n.isColor&&(n.round=1),o=n,n}))}var Eo={css:function(e,t,o){return e.style[t]=o},attribute:function(e,t,o){return e.setAttribute(t,o)},object:function(e,t,o){return e[t]=o},transform:function(e,t,o,i,n){if(i.list.set(t,o),t===i.last||n){var s="";i.list.forEach((function(e,t){s+=t+"("+e+") "})),e.style.transform=s}}};function Oo(e,t){Bo(e).forEach((function(e){for(var o in t){var i=mo(t[o],e),n=e.target,s=uo(i),a=wo(n,o,s,e),d=bo(jo(i,s||uo(a)),a),l=vo(n,o);Eo[l](n,o,d,e.transforms,!0)}}))}function To(e,t){return oo(io(e.map((function(e){return t.map((function(t){return function(e,t){var o=vo(e.target,t.name);if(o){var i=Po(t,e),n=i[i.length-1];return{type:o,property:t.name,animatable:e,tweens:i,duration:n.end,delay:i[0].delay,endDelay:n.endDelay}}}(e,t)}))}))),(function(e){return!Xt.und(e)}))}function Io(e,t){var o=e.length,i=function(e){return e.timelineOffset?e.timelineOffset:0},n={};return n.duration=o?Math.max.apply(Math,e.map((function(e){return i(e)+e.duration}))):t.duration,n.delay=o?Math.min.apply(Math,e.map((function(e){return i(e)+e.delay}))):t.delay,n.endDelay=o?n.duration-Math.max.apply(Math,e.map((function(e){return i(e)+e.duration-e.endDelay}))):t.endDelay,n}var Mo=0;var No,Fo=[],Wo=[],Uo=function(){function e(){No=requestAnimationFrame(t)}function t(t){var o=Fo.length;if(o){for(var i=0;i<o;){var n=Fo[i];if(n.paused){var s=Fo.indexOf(n);s>-1&&(Fo.splice(s,1),o=Fo.length)}else n.tick(t);i++}e()}else No=cancelAnimationFrame(No)}return e}();function Ho(e){void 0===e&&(e={});var t,o=0,i=0,n=0,s=0,a=null;function d(e){var t=window.Promise&&new Promise((function(e){return a=e}));return e.finished=t,t}var l=function(e){var t=lo(Ft,e),o=lo(Wt,e),i=Ao(o,e),n=Bo(e.targets),s=To(n,i),a=Io(s,o),d=Mo;return Mo++,ro(t,{id:d,children:[],animatables:n,animations:s,duration:a.duration,delay:a.delay,endDelay:a.endDelay})}(e);d(l);function r(){var e=l.direction;"alternate"!==e&&(l.direction="normal"!==e?"normal":"reverse"),l.reversed=!l.reversed,t.forEach((function(e){return e.reversed=l.reversed}))}function c(e){return l.reversed?l.duration-e:e}function u(){o=0,i=c(l.currentTime)*(1/Ho.speed)}function m(e,t){t&&t.seek(e-t.timelineOffset)}function p(e){for(var t=0,o=l.animations,i=o.length;t<i;){var n=o[t],s=n.animatable,a=n.tweens,d=a.length-1,r=a[d];d&&(r=oo(a,(function(t){return e<t.end}))[0]||r);for(var c=zt(e-r.start-r.delay,0,r.duration)/r.duration,u=isNaN(c)?1:r.easing(c),m=r.to.strings,p=r.round,h=[],f=r.to.numbers.length,v=void 0,g=0;g<f;g++){var y=void 0,w=r.to.numbers[g],b=r.from.numbers[g]||0;y=r.isPath?Do(r.value,u*w):b+u*(w-b),p&&(r.isColor&&g>2||(y=Math.round(y*p)/p)),h.push(y)}var j=m.length;if(j){v=m[0];for(var Q=0;Q<j;Q++){m[Q];var _=m[Q+1],C=h[Q];isNaN(C)||(v+=_?C+_:C+" ")}}else v=h[0];Eo[n.type](s.target,n.property,v,s.transforms),n.currentValue=v,t++}}function h(e){l[e]&&!l.passThrough&&l[e](l)}function f(e){var u=l.duration,f=l.delay,v=u-l.endDelay,g=c(e);l.progress=zt(g/u*100,0,100),l.reversePlayback=g<l.currentTime,t&&function(e){if(l.reversePlayback)for(var o=s;o--;)m(e,t[o]);else for(var i=0;i<s;i++)m(e,t[i])}(g),!l.began&&l.currentTime>0&&(l.began=!0,h("begin")),!l.loopBegan&&l.currentTime>0&&(l.loopBegan=!0,h("loopBegin")),g<=f&&0!==l.currentTime&&p(0),(g>=v&&l.currentTime!==u||!u)&&p(u),g>f&&g<v?(l.changeBegan||(l.changeBegan=!0,l.changeCompleted=!1,h("changeBegin")),h("change"),p(g)):l.changeBegan&&(l.changeCompleted=!0,l.changeBegan=!1,h("changeComplete")),l.currentTime=zt(g,0,u),l.began&&h("update"),e>=u&&(i=0,l.remaining&&!0!==l.remaining&&l.remaining--,l.remaining?(o=n,h("loopComplete"),l.loopBegan=!1,"alternate"===l.direction&&r()):(l.paused=!0,l.completed||(l.completed=!0,h("loopComplete"),h("complete"),!l.passThrough&&"Promise"in window&&(a(),d(l)))))}return l.reset=function(){var e=l.direction;l.passThrough=!1,l.currentTime=0,l.progress=0,l.paused=!0,l.began=!1,l.loopBegan=!1,l.changeBegan=!1,l.completed=!1,l.changeCompleted=!1,l.reversePlayback=!1,l.reversed="reverse"===e,l.remaining=l.loop,t=l.children;for(var o=s=t.length;o--;)l.children[o].reset();(l.reversed&&!0!==l.loop||"alternate"===e&&1===l.loop)&&l.remaining++,p(l.reversed?l.duration:0)},l.set=function(e,t){return Oo(e,t),l},l.tick=function(e){n=e,o||(o=n),f((n+(i-o))*Ho.speed)},l.seek=function(e){f(c(e))},l.pause=function(){l.paused=!0,u()},l.play=function(){l.paused&&(l.completed&&l.reset(),l.paused=!1,Fo.push(l),u(),No||Uo())},l.reverse=function(){r(),u()},l.restart=function(){l.reset(),l.play()},l.reset(),l.autoplay&&l.play(),l}function zo(e,t){for(var o=t.length;o--;)so(e,t[o].animatable.target)&&t.splice(o,1)}"undefined"!=typeof document&&document.addEventListener("visibilitychange",(function(){document.hidden?(Fo.forEach((function(e){return e.pause()})),Wo=Fo.slice(0),Ho.running=Fo=[]):Wo.forEach((function(e){return e.play()}))})),Ho.version="3.1.0",Ho.speed=1,Ho.running=Fo,Ho.remove=function(e){for(var t=xo(e),o=Fo.length;o--;){var i=Fo[o],n=i.animations,s=i.children;zo(t,n);for(var a=s.length;a--;){var d=s[a],l=d.animations;zo(t,l),l.length||d.children.length||s.splice(a,1)}n.length||s.length||i.pause()}},Ho.get=wo,Ho.set=Oo,Ho.convertPx=ho,Ho.path=function(e,t){var o=Xt.str(e)?to(e)[0]:e,i=t||100;return function(e){return{property:e,el:o,svg:ko(o),totalLength:Co(o)*(i/100)}}},Ho.setDashoffset=function(e){var t=Co(e);return e.setAttribute("stroke-dasharray",t),t},Ho.stagger=function(e,t){void 0===t&&(t={});var o=t.direction||"normal",i=t.easing?eo(t.easing):null,n=t.grid,s=t.axis,a=t.from||0,d="first"===a,l="center"===a,r="last"===a,c=Xt.arr(e),u=c?parseFloat(e[0]):parseFloat(e),m=c?parseFloat(e[1]):0,p=uo(c?e[1]:e)||0,h=t.start||0+(c?u:0),f=[],v=0;return function(e,t,g){if(d&&(a=0),l&&(a=(g-1)/2),r&&(a=g-1),!f.length){for(var y=0;y<g;y++){if(n){var w=l?(n[0]-1)/2:a%n[0],b=l?(n[1]-1)/2:Math.floor(a/n[0]),j=w-y%n[0],Q=b-Math.floor(y/n[0]),_=Math.sqrt(j*j+Q*Q);"x"===s&&(_=-j),"y"===s&&(_=-Q),f.push(_)}else f.push(Math.abs(a-y));v=Math.max.apply(Math,f)}i&&(f=f.map((function(e){return i(e/v)*v}))),"reverse"===o&&(f=f.map((function(e){return s?e<0?-1*e:-e:Math.abs(v-e)})))}return h+(c?(m-u)/v:u)*(Math.round(100*f[t])/100)+p}},Ho.timeline=function(e){void 0===e&&(e={});var t=Ho(e);return t.duration=0,t.add=function(o,i){var n=Fo.indexOf(t),s=t.children;function a(e){e.passThrough=!0}n>-1&&Fo.splice(n,1);for(var d=0;d<s.length;d++)a(s[d]);var l=ro(o,lo(Wt,e));l.targets=l.targets||e.targets;var r=t.duration;l.autoplay=!1,l.direction=t.direction,l.timelineOffset=Xt.und(i)?r:bo(i,r),a(t),t.seek(l.timelineOffset);var c=Ho(l);a(c),s.push(c);var u=Io(s,e);return t.delay=u.delay,t.endDelay=u.endDelay,t.duration=u.duration,t.seek(0),t.reset(),t.autoplay&&t.play(),t},t},Ho.easing=eo,Ho.penner=Zt,Ho.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e};var Ro=Ho,qo=function(){return!LiveComposer.Builder.Flags.panelOpened||(LiveComposer.Builder.UI.shakePanelConfirmButton(),!1)};document.addEventListener("moduleDuplicate",(function(e){var t=e.detail;if(!qo())return!1;t.classList.contains("dslca-action-disabled")||Yo(t.closest(".dslc-module-front"))})),document.addEventListener("moduleDelete",(function(e){var t=e.detail;if(!qo())return!1;t.classList.contains("dslca-action-disabled")||n({title:DSLCString.str_del_module_title,content:DSLCString.str_del_module_descr,confirm:function(){!function(e){window.dslcDebug&&console.log("dslc_delete_module");Et(".dslca-modules"),Ro({targets:e,easing:"easeOutExpo",scale:0,opacity:0,duration:350,delay:0,endDelay:0,complete:function(t){e.parentNode.removeChild(e),window.dslc_generate_code(),window.dslc_show_publish_button()}})}(t.closest(".dslc-module-front"))}})})),document.addEventListener("moduleEdit",(function(e){var t=e.detail.closest(".dslc-module-front"),o=t.dataset.module,i=LiveComposer.Builder.PreviewAreaWindow.document.querySelector(".dslca-module-being-edited"),n=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;if(LiveComposer.Builder.Flags.uiHidden||null!==i&&i.length>0||n>0)return i!=t&&LiveComposer.Builder.UI.shakePanelConfirmButton(),!1;Xo(),t.classList.add("dslca-module-being-edited"),window.dslc_module_options_show(o),LiveComposer.Builder.PreviewAreaWindow.document.body.classList.add("module-editing-in-progress")})),document.addEventListener("copyModuleStyles",(function(e){var t=e.detail.closest(".dslc-module-front").querySelector(".dslca-module-code").innerText;localStorage.setItem("lcCopyPasteStorage",t)})),document.addEventListener("pasteModuleStyles",(function(e){var t=e.detail.closest(".dslc-module-front"),o=jQuery(t),i=localStorage.getItem("lcCopyPasteStorage"),n=!1;if(i)try{n=JSON.parse(i)}catch(e){console.log("Can't parse copy/paste string into JSON:"),console.log(e)}if(n&&n.module_id===t.dataset.module){var s=t.querySelector(".dslca-module-code").innerText,a=!1;try{a=JSON.parse(s)}catch(e){console.log("Can't parse current module code into JSON:"),console.log(e)}if(a){var d=!1;for(var l in n)l.includes("css_")&&(a[l]=n[l],d=!0);for(var r in a)r.includes("css_")&&(a[r]!==n[r]&&(a[r]=""),d=!0);d&&(a.action="dslc-ajax-add-module",a.dslc="active",a.dslc_module_id=a.module_id,a.dslc_module_instance_id=a.module_instance_id,a.dslc_post_id=a.post_id,o.hasClass("dslca-preload-preset")?a.dslc_preload_preset="enabled":a.dslc_preload_preset="disabled",o.removeClass("dslca-preload-preset"),a.dslc_url_vars=LiveComposer.Utils.get_page_params(),jQuery.post(DSLCAjax.ajaxurl,a,(function(e){e&&(o.after(e.output).next().addClass("dslca-module-being-edited"),o.remove(),window.dslc_generate_code(),window.dslc_show_publish_button(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion(),jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"))})))}}}));document.addEventListener("moduleChangeWidth",(function(e){var t=e.detail,o=t.closest(".dslc-module-front");if(!t.classList.contains("dslca-action-disabled")){var i=o.dataset.dslcModuleSize,n=t.dataset.size;Number(i)!==Number(n)&&function(e,t){window.dslcDebug&&console.log("dslc_module_width_set");var o="dslc-"+t+"-col";jQuery(e).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(o).data("dslc-module-size",t),e.setAttribute("data-dslc-module-size",t),LiveComposer.Utils.update_module_property_raw(e,"dslc_m_size",t),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),window.dslc_generate_code(),window.dslc_show_publish_button()}(o,n)}})),document.addEventListener("wysiwygEdit",(function(e){var t=e.detail,o=t.closest(".dslc-module-front"),i=t.dataset.idToEdit,n=o.querySelector('[data-edit-id="'+i+'"]'),s="";if(void 0===(s="TEXTAREA"===n.tagName||"INPUT"===n.tagName?n.value:n.innerHTML)&&(s=""),s.trim().length&&(s=s.replace(/<lctextarea/g,"<textarea").replace(/<\/lctextarea/g,"</textarea")),s.includes("%")&&(s=(s=(s=(s=(s=(s=s.replace(/%\(\(%/g,"[")).replace(/%\)\)%/g,"]")).replace(/%\(%/g,"[")).replace(/%\)%/g,"]")).replace(/%\{%/g,"[")).replace(/%\}%/g,"]")),s=s.trim(),"undefined"!=typeof tinymce){var a=tinymce.get("dslcawpeditor");document.getElementById("wp-dslcawpeditor-wrap").classList.contains("tmce-active")?a.setContent(s,{format:"html"}):document.getElementById("dslcawpeditor").value=s,o.classList.contains("dslca-module-being-edited")||o.querySelector(".dslca-module-edit-hook").click(),jQuery(".dslca-wp-editor").show(),n.classList.add("dslca-wysiwyg-active"),jQuery("#dslcawpeditor_ifr, #dslcawpeditor").css({height:jQuery(".dslca-wp-editor").height()-300})}else console.info("Live Composer: TinyMCE is undefined.")}));var Xo=function(){var e=LiveComposer.Builder.PreviewAreaWindow.document.querySelector(".dslca-module-being-edited");null!==e&&e.classList.remove("dslca-module-being-edited")};function Yo(e){window.dslcDebug&&console.log("dslc_copy_module"),Xo();var t=e.cloneNode(!0);jQuery(t).appendTo(e.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,top:-50}).addClass("dslca-module-being-edited"),Jo(t),window.dslc_generate_code(),Ro({targets:t,easing:"easeOutExpo",top:0,opacity:1,duration:400,delay:0,endDelay:0,complete:function(e){t.classList.remove("dslca-module-being-edited")}}),window.dslc_show_publish_button()}var Jo=function(e){var t=LiveComposer.Utils.get_unique_id(),o=e.getAttribute("id");e.setAttribute("data-module-id",t),e.setAttribute("id","dslc-module-"+t);var i=e.getElementsByTagName("style")[0],n=i.textContent;i.setAttribute("id","#css-for-dslc-module-"+t),n=n.split(o).join("dslc-module-"+t),i.textContent=n,LiveComposer.Utils.update_module_property_raw(e,"module_instance_id",t)};window.dslc_module_options_show=function(e){window.dslcDebug&&console.log("dslc_module_options_show"),void 0===e&&console.warn("No module ID defined in dslc_module_options_show function.");var t=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),o=jQuery(".dslca-module-options-front textarea",t),i=jQuery(".dslca-header").data("default-section"),n=jQuery(jQuery("#pseudo-panel").html());jQuery("#wpwrap").append(n);var s={action:"dslc-ajax-display-module-options",dslc:"active"};s.dslc_module_id=e,s.dslc_post_id=jQuery(".dslca-container").data("data-post-id"),s.dslc_url_vars=LiveComposer.Utils.get_page_params(),o.each((function(){var e=jQuery(this),t=e.data("id"),o=e.val();o.includes("%")&&(o=(o=(o=(o=(o=(o=o.replace(/%\(\(%/g,"[")).replace(/%\)\)%/g,"]")).replace(/%\(%/g,"[")).replace(/%\)%/g,"]")).replace(/%\{%/g,"[")).replace(/%\}%/g,"]")),s[t]=o})),jQuery(".dslca-wp-editor-actions").hide(),jQuery(".dslca-wp-editor-notification").show(),Pt();var a=jQuery(".dslca-module-options-front",t).children().clone();LiveComposer.Builder.moduleBackup=a,LiveComposer.Builder.Flags.panelOpened=!0,n.show(),n.addClass("show"),jQuery.post(DSLCAjax.ajaxurl,s,(function(e){n.remove(),Et(".dslca-module-edit"),jQuery("body").hasClass("rtl"),jQuery(".dslca-module-edit-options-inner").html(e.output),jQuery(".dslca-module-edit-options-tabs").html(e.output_tabs);var t=[];jQuery(".dslca-module-edit-options-inner .dslca-module-edit-option").each((function(){var e=jQuery(this).data("section");-1==t.indexOf(e)&&t.push(e)}));for(var o=t.length,s=0;s<o;s++)jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+t[s]+'"]').show();jQuery('.dslca-module-edit-option[data-section="'+i+'"]').length?(jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+i+'"]').show(),jQuery('.dslca-header .dslca-options-filter-hook[data-section="'+i+'"]').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(),LiveComposer.Builder.UI.loadOptionsDeps()})).done((function(){window.dslc_module_options_font()}))};var Go=function(e){window.dslcDebug&&console.log("moduleOutputAltered"),e=void 0!==e&&e;var t=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument),o=t.data("module"),i=jQuery(".dslca-module-options-front textarea",t),n=t.data("module-id"),s={action:"dslc-ajax-add-module",dslc:"active"};s.dslc_module_id=o,s.dslc_module_instance_id=n,s.dslc_post_id=jQuery(".dslca-container").data("post-id"),t.hasClass("dslca-preload-preset")?s.dslc_preload_preset="enabled":s.dslc_preload_preset="disabled",t.removeClass("dslca-preload-preset"),i.each((function(){var e=jQuery(this),t=e.data("id"),o=e.val();s[t]=o})),s.dslc_url_vars=LiveComposer.Utils.get_page_params(),jQuery.post(DSLCAjax.ajaxurl,s,(function(o){var i=LiveComposer.Builder.Helpers.insertModule(o.output,t);i.addClass("dslca-module-being-edited"),o=null,i=null,LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();var n=new Event("moduleOutputAltered");LiveComposer.Builder.PreviewAreaWindow.dispatchEvent(n),e&&e(o)}))};window.dslc_module_output_reload=function(e,t){window.dslcDebug&&console.log("dslc_module_output_reload"),t=void 0!==t&&t;var o=e.data("module"),i=jQuery(".dslca-module-options-front textarea",e),n=e.data("module-id"),s={action:"dslc-ajax-add-module",dslc:"active"};s.dslc_module_id=o,s.dslc_module_instance_id=n,s.dslc_post_id=jQuery(".dslca-container").data("post-id"),s.dslc_preload_preset="enabled",e.removeClass("dslca-preload-preset"),i.each((function(){var e=jQuery(this),t=e.data("id"),o=e.val();s[t]=o})),e.append('<div class="dslca-module-reloading"><span class="dslca-icon dslc-icon-spin dslc-icon-refresh"></span></div>'),jQuery.post(DSLCAjax.ajaxurl,s,(function(o){e.after(o.output).next().addClass("dslca-module-being-edited"),e.remove(),window.dslc_generate_code(),window.dslc_show_publish_button(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion(),t&&t(o),jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited")}))};var Ko=function(){LiveComposer.Builder.PreviewAreaDocument.on({mouseenter:function(e){jQuery(".dslca-modules-section-manage",LiveComposer.Builder.PreviewAreaDocument).css("z-index","99998");var t=e.target.closest("[data-module-id]"),o=t.offsetHeight,i=t.offsetWidth;o<60&&i<300?t.classList.add("dslc-small-height-module"):t.classList.remove("dslc-small-height-module")},mouseleave:function(e){jQuery(".dslca-modules-section-manage",LiveComposer.Builder.PreviewAreaDocument).css("z-index","999999")}},".dslca-change-width-module-hook, .dslc-module-front .dslca-module-manage"),LiveComposer.Builder.PreviewAreaDocument.on("blur",".dslca-editable-content",(function(){LiveComposer.Builder.Flags.uiHidden||"simple"!=jQuery(this).data("type")||r(jQuery(this))})).on("paste",".dslca-editable-content:not(.inline-editor)",(function(){if(!LiveComposer.Builder.Flags.uiHidden&&"simple"==jQuery(this).data("type")){var e=jQuery(this);setTimeout((function(){"simple"==e.data("type")&&e.html(e.text()),r(e)}),100)}})).on("focus",".dslca-editable-content",(function(){jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length>0&&!jQuery(this).closest(".dslc-module-front").hasClass("dslca-module-being-edited")&&jQuery(this).trigger("blur")})).on("keyup",".dslca-editable-content",(function(){"simple"==jQuery(this).data("type")&&jQuery(this).closest(".dslc-module-front").addClass("dslca-module-change-made")}))},Vo=function(){var e,t,o,i=jQuery(".dslca-modules .dslca-section-scroller-content");0==i.length&&(i=[document.createElement("div")]);At.create(i[0],{sort:!1,group:{name:"modules",pull:"clone",put:!1},animation:150,handle:".dslca-module",draggable:".dslca-module",chosenClass:"dslca-module-dragging",scroll:!0,scrollSensitivity:150,scrollSpeed:15,setData:function(e,t){e.setData(!1!==LiveComposer.Utils.msieversion()?"Text":"text/html",t.innerHTML)},onStart:function(e){e.oldIndex,jQuery("body").removeClass("dslca-new-module-drag-not-in-progress").addClass("dslca-new-module-drag-in-progress"),jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-new-module-drag-not-in-progress").addClass("dslca-new-module-drag-in-progress"),jQuery("#dslc-header").addClass("dslca-header-low-z-index")},onEnd:function(i){i.oldIndex,i.newIndex;var n,s,a=i.item;if(i.preventDefault(),jQuery(a).closest(".dslca-section-scroller-content").length>0)return!1;jQuery(".dslca-options-hovered",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-options-hovered"),e=jQuery(a.parentNode),t=a.dataset.id,window.dslc_generate_code(),"DSLC_M_A"==t||jQuery("body").hasClass("dslca-module-drop-in-progress")||e.closest("#dslc-header").length||e.closest("#dslc-footer").length||(jQuery("body").addClass("dslca-module-drop-in-progress"),n=t,s=function(t){o=t.output,LiveComposer.Builder.Helpers.insertModule(o,jQuery(".dslca-module",e)),setTimeout((function(){LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),jQuery("body").removeClass("dslca-module-drop-in-progress")}),700),jQuery(".dslca-modules-area-manage",e).css({visibility:"visible"}),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion(),window.dslc_generate_code(),window.dslc_show_publish_button()},window.dslcDebug&&console.log("moduleOutputDefault"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-module",dslc:"active",dslc_module_id:n,dslc_post_id:jQuery(".dslca-container").data("post-id"),dslc_url_vars:LiveComposer.Utils.get_page_params(),dslc_new_module:!0},(function(e){s(e)})),jQuery(a).find(".dslca-icon").attr("class","").attr("class","dslca-icon dslc-icon-refresh dslc-icon-spin"),jQuery(".dslca-modules-area-manage",e).css({visibility:"hidden"})),LiveComposer.Builder.UI.stopScroller(),jQuery("body").removeClass("dslca-new-module-drag-in-progress").addClass("dslca-new-module-drag-not-in-progress"),jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-new-module-drag-in-progress").addClass("dslca-new-module-drag-not-in-progress"),jQuery("#dslc-header").removeClass("dslca-header-low-z-index")},onAdd:function(e){e.item;e.from},onUpdate:function(e){e.item;window.dslc_show_publish_button()},onSort:function(e){e.preventDefault()},onRemove:function(e){},onFilter:function(e){e.item},onMove:function(e){e.dragged,e.draggedRect,e.related,e.relatedRect,jQuery(e.to).addClass("dslca-options-hovered")}})},$o=function(e){var t=this;this.section=jQuery(e).closest(".dslc-modules-section"),this.elem=e,this.observer=new mqMutationObserver(e,(function(){var o=t.elem.classList;0==e.querySelectorAll(".dslc-module-front").length?(o.add("dslc-modules-area-empty"),o.remove("dslc-modules-area-not-empty")):(o.remove("dslc-modules-area-empty"),o.add("dslc-modules-area-not-empty"))}),{childList:!0}),this.sortable=At.create(e,{group:"modules",animation:350,handle:".dslca-move-module-hook",draggable:".dslc-module-front",ghostClass:"dslca-module-ghost",chosenClass:"dslca-module-dragging",scroll:!0,scrollSensitivity:150,scrollSpeed:15,setData:function(e,t){e.setData(!1!==LiveComposer.Utils.msieversion()?"Text":"text/html",t.innerHTML)},onStart:function(e){e.oldIndex,jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress"),jQuery("body",LiveComposer.Builder.PreviewAreaWindow.document).removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress")},onEnd:function(e){e.oldIndex,e.newIndex,e.preventDefault(),window.dslc_generate_code(),LiveComposer.Builder.UI.stopScroller(),jQuery("body").removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress"),jQuery("body",LiveComposer.Builder.PreviewAreaWindow.document).removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress")},onAdd:function(e){var o=e.item;e.from,"DSLC_M_A"==jQuery(o).data("id")&&(Zo(jQuery(t.section).find(".dslc-modules-section-wrapper .dslc-modules-section-inner")),o.remove())},onUpdate:function(e){e.item;window.dslc_show_publish_button()},onSort:function(e){},onRemove:function(e){},onFilter:function(e){e.item},onMove:function(e){e.dragged,e.draggedRect,e.related,e.relatedRect,jQuery(".dslc-modules-area-empty").find(".dslc-module-front").length>0&&(jQuery(this).removeClass("dslc-modules-area-empty").addClass("dslc-modules-area-not-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(e).attr("data-jsinit","initialized"),jQuery(document).on("LC.sortableOff",(function(){t.sortable&&t.sortable.option&&t.sortable.option("disabled",!0)})),jQuery(document).on("LC.sortableOn",(function(){t.sortable&&t.sortable.option&&t.sortable.option("disabled",!1)}))};jQuery(document).on("editorFrameLoaded",(function(){function e(){var e=jQuery(".dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument);jQuery(e).each((function(e,t){new $o(t)}))}var t=function(){return!LiveComposer.Builder.Flags.panelOpened||(LiveComposer.Builder.UI.shakePanelConfirmButton(),!1)};jQuery("#dslc-main .dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).length||jQuery("#dslca-tut-page",LiveComposer.Builder.PreviewAreaDocument).length?e():ni(e()),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-copy-modules-area-hook",(function(e){if(e.preventDefault(),!t())return!1;if(!jQuery(this).hasClass("dslca-action-disabled")){var o=jQuery(this).closest(".dslc-modules-area");(function(e){window.dslcDebug&&console.log("dslc_copy_modules_area");var t=e.closest(".dslc-modules-section").find(".dslc-modules-section-inner"),o=e.clone().appendTo(t);new $o(o[0]),o.find(".dslca-modules-area-manage").trigger("mouseleave"),o.data("size",e.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 e=jQuery(this);Jo(e[0]),jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"),window.dslc_generate_code(),e.animate({opacity:1},300)})),Vo(),window.dslc_show_publish_button(),window.dslc_generate_code()})(o)}})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-delete-modules-area-hook",(function(e){if(e.preventDefault(),!t())return!1;if(!jQuery(this).hasClass("dslca-action-disabled"))if(jQuery(this).closest(".dslc-modules-area").hasClass("dslc-modules-area-empty")){var o=jQuery(this).closest(".dslc-modules-area");ei(o)}else{var i=jQuery(this);n({title:DSLCString.str_del_area_title,content:DSLCString.str_del_area_descr,confirm:function(){ei(i.closest(".dslc-modules-area"))}})}})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-change-width-modules-area-options span",(function(){if(!t())return!1;if(!jQuery(this).hasClass("dslca-action-disabled")){var e=jQuery(this).closest(".dslc-modules-area"),o=e.data("size"),i=jQuery(this).data("size");Number(o)!==Number(i)&&function(e,t){window.dslcDebug&&console.log("dslc_modules_area_width_set");var o="dslc-"+t+"-col";if(e.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(o).data("size",t),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.Flags.panelOpened)return!1;window.dslc_generate_code(),window.dslc_show_publish_button()}(e,i)}})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-change-vertial-align-module-area-hook span",(function(){!function(e,t){window.dslcDebug&&console.log("dslc_modules_area_vertical_align_set");var o="dslc-valign-"+t;if(e.removeClass("dslc-valign-top dslc-valign-middle dslc-valign-bottom").addClass(o).data("valign",t),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.Flags.panelOpened)return!1;window.dslc_generate_code(),window.dslc_show_publish_button()}(jQuery(this).closest(".dslc-modules-area"),jQuery(this).data("valign"))})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-add-modules-area-hook",(function(e){if(e.preventDefault(),!t())return!1;Zo(jQuery(this).closest(".dslc-modules-section").find(".dslc-modules-section-inner"))}))}));var Zo=function(e){window.dslcDebug&&console.log("modulesAreaAdd");var t=window.DSLCSiteData.editorUrl+"css/icons";jQuery('<div class="dslc-modules-area dslc-col dslc-12-col dslc-modules-area-dnd dslc-modules-area-empty dslc-last-col" data-size="12">\n\t\t<div class="dslca-modules-area-manage">\n\t\t\t<span class="dslca-modules-area-manage-line"></span>\n\t\t\t<div class="dslca-modules-area-manage-inner">\n\t\t\t\t<span class="dslca-manage-action dslca-copy-modules-area-hook" title="Duplicate">\n\t\t\t\t\t<svg class="feather">\n\t\t\t\t\t\t<use xlink:href="'+t+'/feather-sprite.svg#copy"></use>\n\t\t\t\t\t</svg>\n\t\t\t\t</span>\n\t\t\t\t<span class="dslca-manage-action dslca-move-modules-area-hook" title="Drag to move">\n\t\t\t\t\t<svg class="feather">\n\t\t\t\t\t\t<use xlink:href="'+t+'/feather-sprite.svg#move"></use>\n\t\t\t\t\t</svg>\n\t\t\t\t</span>\n\t\t\t\t<span class="dslca-manage-action dslca-change-width-modules-area-hook" title="Change width">\n\t\t\t\t\t<svg class="feather">\n\t\t\t\t\t\t<use xlink:href="'+t+'/feather-sprite.svg#columns"></use>\n\t\t\t\t\t</svg>\n\t\t\t\t\t<div class="dslca-change-width-modules-area-options"><span>Container Width</span><span data-size="1">1/12</span><span data-size="2">2/12</span>\n\t\t\t\t\t\t<span data-size="3">3/12</span><span data-size="4">4/12</span>\n\t\t\t\t\t\t<span data-size="5">5/12</span><span data-size="6">6/12</span>\n\t\t\t\t\t\t<span data-size="7">7/12</span><span data-size="8">8/12</span>\n\t\t\t\t\t\t<span data-size="9">9/12</span><span data-size="10">10/12</span>\n\t\t\t\t\t\t<span data-size="11">11/12</span><span data-size="12">12/12</span>\n\t\t\t\t\t</div>\n\t\t\t\t</span>\n\t\t\t\t<span class="dslca-manage-action dslca-change-vertial-align-module-area-hook" title="Change vertical align" >\n\t\t\t\t\t<svg class="feather">\n\t\t\t\t\t\t<use xlink:href="'+t+'/feather-sprite.svg#git-commit"/>\n\t\t\t\t\t</svg>\n\t\t\t\t\t<div class="dslca-change-vertial-align-module-area-options">\n\t\t\t\t\t\t<span>Vertical Align</span>\n\t\t\t\t\t\t<span data-valign="top" class="dslc-popup-option">⬆️ Top</span>\n\t\t\t\t\t\t<span data-valign="middle" class="dslc-popup-option">↕️ Middle</span>\n\t\t\t\t\t\t<span data-valign="bottom" class="dslc-popup-option">⬇️ Bottom</span>\n\t\t\t\t\t</div>\n\t\t\t\t</span>\n\t\t\t\t<span class="dslca-manage-action dslca-delete-modules-area-hook" title="Delete">\n\t\t\t\t\t<svg class="feather">\n\t\t\t\t\t\t<use xlink:href="'+t+'/feather-sprite.svg#x"></use>\n\t\t\t\t\t</svg>\n\t\t\t\t</span>\n\t\t\t</div>\n\t\t</div>\n\t\t\x3c!-- .dslc-module --\x3e\n\t</div>').appendTo(e).css({height:0}).animate({height:99},300,(function(){jQuery(this).css({height:"auto"})})).addClass("dslca-init-animation");var o=jQuery(".dslc-modules-area-empty",LiveComposer.Builder.PreviewAreaDocument);jQuery(o).each((function(e,t){new $o(t)})),Vo(),window.dslc_generate_code(),window.dslc_show_publish_button()};function ei(e){window.dslcDebug&&console.log("dslc_delete_modules_area");var t=e.closest(".dslc-modules-section").find(".dslc-modules-section-inner"),o=!1;e.addClass("dslca-modules-area-being-deleted"),t.find(".dslc-modules-area").length<2&&(o=!0),e.find(".dslca-module-being-edited").length&&(jQuery(".dslca-header .dslca-options-filter-hook",LiveComposer.Builder.PreviewAreaDocument).hide(),jQuery(".dslca-module-edit-actions",LiveComposer.Builder.PreviewAreaDocument).hide(),jQuery(".dslca-header .dslca-go-to-section-hook",LiveComposer.Builder.PreviewAreaDocument).show(),Et(".dslca-modules")),setTimeout((function(){if(o){e.closest(".dslc-modules-section-inner");2<=e.closest("#dslc-main").find(".dslc-modules-section").length?dslc_row_delete(e.closest(".dslc-modules-section")):(e.remove(),Zo(t))}e.remove(),window.dslc_generate_code(),window.dslc_show_publish_button()}),900),e.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(){e.remove(),window.dslc_generate_code(),window.dslc_show_publish_button()}))}var ti=function(){jQuery("#dslc-main .dslc-modules-area",LiveComposer.Builder.PreviewAreaDocument).each((function(){"initialized"!==jQuery(this).data("jsinit")&&new $o(this)}))};function oi(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var ii=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sortable,this.sortableContainer=jQuery(t).find(".dslc-modules-section-wrapper .dslc-modules-section-inner").eq(0)[0],this.initSortable(t),this.initDropable(t),this.reactToSortableOnOff(),jQuery(t).attr("data-jsinit","initialized")}var t,o,i;return t=e,(o=[{key:"initDropable",value:function(e){jQuery(e).droppable({drop:function(e,t){var o=jQuery(this).find(".dslc-modules-section-inner");"DSLC_M_A"==t.draggable.data("id")&&Zo(o)}})}},{key:"initSortable",value:function(e){this.sortable=jQuery(this.sortableContainer).sortable({connectWith:".dslc-modules-section-inner",items:".dslc-modules-area-dnd",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(e,t){var o=t.placeholder.closest(".dslc-modules-section");jQuery(o).removeClass("dslc-modules-section-empty").addClass("dslc-modules-section-not-empty"),o.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")}))},remove:function(){0==jQuery(self.elem).find(".dslc-modules-area").length&&Zo(jQuery(this.sortableContainer))},update:function(e,t){window.dslc_generate_code(),window.dslc_show_publish_button()},start:function(e,t){t.placeholder.html('<span class="dslca-placeholder-help-text"><span class="dslca-placeholder-help-text-inner">'+DSLCString.str_area_helper_text+"</span></span>"),jQuery(t.item).hasClass("dslc-12-col")?t.placeholder.width(t.item.width()).css({margin:0}):t.placeholder.width(t.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(e,t){LiveComposer.Builder.UI.stopScroller(),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(e,t){}})}},{key:"reactToSortableOnOff",value:function(){self=this.sortable,jQuery(document).on("LC.sortableOff",(function(){})),jQuery(document).on("LC.sortableOn",(function(){}))}}])&&oi(t.prototype,o),i&&oi(t,i),e}(),ni=function(e){window.dslcDebug&&console.log("dslc_row_add"),e=void 0!==e&&e;var t=jQuery.Deferred(),o=sessionStorage,i=(jQuery(),o.getItem("cache-dslc-ajax-add-modules-section-v2"));null!==i&&(DSLCMainOptions.section_padding_vertical!==jQuery(i).find('input[data-id="padding"]').val()&&(o.removeItem("cache-dslc-ajax-add-modules-section-v2"),i=null));if(null!==i)return si(i),e&&e(),t;jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-add-modules-section",dslc:"active"},(function(i){return o.setItem("cache-dslc-ajax-add-modules-section-v2",i.output),si(i.output),e&&e(),t}))};function si(e){var t=jQuery(e);return t.appendTo(LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main")),Vo(),window.dslc_generate_code(),window.dslc_show_publish_button(),new ii(t),new $o(t.find(".dslc-modules-area").eq(0)[0]),t.find(".dslc-modules-area").addClass("dslc-modules-area-empty dslc-last-col"),t}function ai(e){window.dslcDebug&&console.log("dslc_row_delete"),e.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(),Et(".dslca-modules")),e.trigger("mouseleave").remove(),window.dslc_generate_code(),window.dslc_show_publish_button()}function di(e){window.dslcDebug&&console.log("dslc_row_edit"),jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"),jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-modules-section-being-edited").removeClass("dslca-modules-section-change-made"),e.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("type"===jQuery(this).data("id")&&(""!==jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="type"]',LiveComposer.Builder.PreviewAreaDocument).val()&&"wrapped"!==jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="type"]',LiveComposer.Builder.PreviewAreaDocument).val()||jQuery('select[data-id="type"]').val("wrapper").change()),"border-top"==jQuery(this).data("id"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id="border"]',LiveComposer.Builder.PreviewAreaDocument).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"]',LiveComposer.Builder.PreviewAreaDocument).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"]',LiveComposer.Builder.PreviewAreaDocument).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"]',LiveComposer.Builder.PreviewAreaDocument).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")+'"]',LiveComposer.Builder.PreviewAreaDocument).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")+'"]',LiveComposer.Builder.PreviewAreaDocument).val().trim().replace("%(%","[").replace("%)%","]")),jQuery(this).hasClass("dslca-modules-section-edit-field-colorpicker")){var e=jQuery(this);jQuery(this).closest(".dslca-modules-section-edit-option").find(".sp-preview-inner").removeClass("sp-clear-display").css({"background-color":e.val()}),jQuery(this).css({"background-color":e.val()})}})),jQuery(".dslca-modules-section-edit-field-upload").each((function(){var e=jQuery(this).closest(".dslca-modules-section-edit-option");jQuery(this).val()&&"disabled"!==jQuery(this).val()?(jQuery(".dslca-modules-section-edit-field-image-add-hook",e).hide(),jQuery(".dslca-modules-section-edit-field-image-remove-hook",e).show()):(jQuery(".dslca-modules-section-edit-field-image-remove-hook",e).hide(),jQuery(".dslca-modules-section-edit-field-image-add-hook",e).show())})),Et(".dslca-modules-section-edit"),LiveComposer.Builder.Flags.panelOpened=!0,Pt()}function li(e){var t;window.dslcDebug&&console.log("dslc_row_copy"),(t=e.clone().appendTo(jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument)))[0].removeAttribute("data-jsinit"),t.find(".dslc-modules-area").each((function(){var t=jQuery(this).index();jQuery(this).data("size",e.find(".dslc-modules-area:eq( "+t+" )").data("size")),this.removeAttribute("data-jsinit")})),new ii(t),t.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 e=jQuery(this);Jo(e[0]),ci(),ti(),window.dslc_generate_code(),Vo(),jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-module-being-edited"),e.animate({opacity:1},300),window.dslc_show_publish_button()})),function(e){window.dslcDebug&&console.log("dslc_section_new_id");var t=LiveComposer.Utils.get_unique_id();e.setAttribute("data-section-id",t),LiveComposer.Utils.update_section_property_raw(e,"section_instance_id",t)}(t[0])}function ri(e){window.dslcDebug&&console.log("dslc_row_import"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-import-modules-section",dslc:"active",dslc_modules_section_code:e},(function(e){u(),jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).append(e.output),LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),ci(),ti(),Vo(),window.dslc_generate_code(),window.dslc_show_publish_button()}))}var ci=function(){jQuery("#dslc-main .dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).each((function(){"initialized"!==jQuery(this).data("jsinit")&&new ii(this)}))},ui=function(){ci(),function(){jQuery;var e=function(){return!LiveComposer.Builder.Flags.panelOpened||(LiveComposer.Builder.UI.shakePanelConfirmButton(),!1)};jQuery(".dslc-modules-section",LiveComposer.Builder.PreviewAreaDocument).each((function(){new ii(this)})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-delete-modules-section-hook",(function(t){if(!e())return!1;t.preventDefault();var o=this;jQuery(this).hasClass("dslca-action-disabled")||n({title:DSLCString.str_del_row_title,content:DSLCString.str_del_row_descr,confirm:function(){ai(jQuery(o).closest(".dslc-modules-section"))}})})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-import-modules-section-hook",(function(t){if(t.preventDefault(),!e())return!1;jQuery(this).hasClass("dslca-action-disabled")||n({title:DSLCString.str_import_row_title,content:DSLCString.str_import_row_descr+"<br><br><textarea></textarea>",confirm:function(){ri(jQuery(".dslca-prompt-modal textarea").val()),jQuery(".dslca-prompt-modal-confirm-hook span").css({opacity:0}),jQuery(".dslca-prompt-modal-confirm-hook .dslca-loading").show()},confirm_title:DSLCString.str_import})})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-export-modules-section-hook",(function(t){if(t.preventDefault(),!e())return!1;jQuery(this).hasClass("dslca-action-disabled")||(jQuery(".dslca-prompt-modal-cancel-hook").hide(),jQuery(".dslca-prompt-modal-confirm-hook").html('<span class="dslc-icon dslc-icon-ok"></span>'+DSLCString.str_ok),n({title:DSLCString.str_export_row_title,content:DSLCString.str_export_row_descr+"<br><br><textarea>["+d(jQuery(this).closest(".dslc-modules-section"))+"]</textarea></span>"}))})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-copy-modules-section-hook",(function(){if(!e())return!1;jQuery(this).hasClass("dslca-action-disabled")||li(jQuery(this).closest(".dslc-modules-section"))})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-add-modules-section-hook",(function(t){if(t.preventDefault(),!e())return!1;var o=jQuery(this);jQuery(this).hasClass("dslca-action-disabled")||(o.find(".dslca-icon").removeClass("dslc-icon-align-justify").addClass("dslc-icon-spinner dslc-icon-spin"),ni((function(){o.find(".dslca-icon").removeClass("dslc-icon-spinner dslc-icon-spin").addClass("dslc-icon-align-justify")})))})),LiveComposer.Builder.PreviewAreaDocument.on("click",".dslca-edit-modules-section-hook",(function(){if(!e())return!1;var t=jQuery(".dslca-module-being-edited",LiveComposer.Builder.PreviewAreaDocument).length,o=jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).length;if(LiveComposer.Builder.Flags.uiHidden||t>0||o>0)return!1;jQuery(this).hasClass("dslca-action-disabled")||di(jQuery(this).closest(".dslc-modules-section")),jQuery("body",LiveComposer.Builder.PreviewAreaDocument).addClass("section-editing-in-progress")}))}(),jQuery(document).on("click",".dslca-row-edit-save",(function(){var e;window.dslcDebug&&console.log("dslc_confirm_row_changes"),e=void 0!==e&&e,jQuery(".dslca-modules-section-being-edited .dslca-modules-section-settings input",LiveComposer.Builder.PreviewAreaDocument).each((function(){jQuery(this).data("def",jQuery(this).val())})),Et(".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-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-modules-section-being-edited dslca-modules-section-change-made"),window.dslc_generate_code(),window.dslc_show_publish_button(),e&&e(),LiveComposer.Builder.Flags.panelOpened=!1,jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("section-editing-in-progress"),jQuery(".dslca-currently-editing").removeAttr("style"),jQuery(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active"),LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(!0)})),jQuery(document).on("click",".dslca-row-edit-cancel",(function(){var e;window.dslcDebug&&console.log("dslc_row_cancel_changes"),e=void 0!==e&&e,LiveComposer.Builder.Flags.generate_code_after_row_changed=!1,jQuery(".dslca-modules-section-being-edited .dslca-modules-section-settings input",LiveComposer.Builder.PreviewAreaDocument).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")})),LiveComposer.Builder.Flags.generate_code_after_row_changed=!0,window.dslc_generate_code(),window.dslc_show_publish_button(),Et(".dslca-modules"),jQuery(".dslca-row-edit-actions").hide(),jQuery(".dslca-row-options-filter-hook").hide(),jQuery(".dslca-header .dslca-go-to-section-hook").show(),dslc_show_publish_button,jQuery(".dslca-modules-section-being-edited",LiveComposer.Builder.PreviewAreaDocument).removeClass("dslca-modules-section-being-edited dslca-modules-section-change-made"),e&&e(),LiveComposer.Builder.Flags.panelOpened=!1,jQuery("body",LiveComposer.Builder.PreviewAreaDocument).removeClass("section-editing-in-progress"),jQuery(".dslca-currently-editing").removeAttr("style"),jQuery(".dslca-row-options-filter-hook.dslca-active").removeClass("dslca-active"),LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(!0)}))};function mi(){window.dslcDebug&&console.log("dslc_import_template"),jQuery(".dslca-modal-templates-import .dslca-modal-title").css({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(e){jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).html(e.output),jQuery(".dslca-modal-templates-import .dslca-loading").hide(),jQuery(".dslca-modal-templates-import .dslca-modal-title").css({opacity:1}),c("",".dslca-modal-templates-import"),LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video(),Vo(),window.dslc_show_publish_button(),window.dslc_generate_code()}))}function pi(){window.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(e){c("",".dslca-modal-templates-save")}))}function hi(e){window.dslcDebug&&console.log("dslc_delete_template"),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-delete-template",dslc:"active",dslc_template_id:e},(function(t){jQuery('.dslca-template[data-id="'+e+'"]').fadeOut(200,(function(){jQuery(this).remove()}))}))}var fi=function(){document.querySelectorAll(".dslca-template").forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),function(e){window.dslcDebug&&console.log("dslc_load_template"),jQuery("#wpcontent").prepend('<div class="lc-template-loader"></div>');jQuery(".lc-template-loader").prepend('<div class="lc-loader lds-css"><div class="lds-spinner"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>'),jQuery.post(DSLCAjax.ajaxurl,{action:"dslc-ajax-load-template",dslc:"active",dslc_template_id:e},(function(e){jQuery("#dslc-main",LiveComposer.Builder.PreviewAreaDocument).html(e.output),jQuery(".lc-template-loader").remove(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),ci(),ti(),Vo(),window.dslc_show_publish_button(),window.dslc_generate_code()}))}(e.target.closest("[data-id]").dataset.id)}))})),jQuery(".dslca-template-import-form").submit((function(e){e.preventDefault(),mi()})),jQuery(".dslca-template-save-form").submit((function(e){e.preventDefault(),pi()})),jQuery(document).on("click",".dslca-delete-template-hook",(function(e){e.stopPropagation(),hi(jQuery(this).data("id"))}))};function vi(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var gi=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sortable,this.initSortable(t),this.reactToSortableOnOff()}var t,o,i;return t=e,(o=[{key:"initSortable",value:function(e){this.sortable=At.create(e,{group:"sections",animation:350,handle:".dslca-move-modules-section-hook",draggable:".dslc-modules-section-dnd",ghostClass:"dslca-sections-ghost",chosenClass:"dslca-sections-dragging",scroll:!0,scrollSensitivity:150,scrollSpeed:10,bubbleScroll:!0,direction:"vertical",setData:function(e,t){e.setData(!1!==LiveComposer.Utils.msieversion()?"Text":"text/html",t.innerHTML)},onStart:function(e){jQuery("body").removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress"),jQuery("body",LiveComposer.Builder.PreviewAreaWindow.document).removeClass("dslca-drag-not-in-progress").addClass("dslca-drag-in-progress")},onEnd:function(e){e.oldIndex,e.newIndex,e.preventDefault(),window.dslc_generate_code(),LiveComposer.Builder.UI.stopScroller(),jQuery("body").removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress"),jQuery("body",LiveComposer.Builder.PreviewAreaWindow.document).removeClass("dslca-drag-in-progress").addClass("dslca-drag-not-in-progress"),jQuery(".dslca-anim-opacity-drop").removeClass("dslca-anim-opacity-drop")},onAdd:function(e){},onUpdate:function(e){e.item,window.dslc_show_publish_button()},onSort:function(e){jQuery(this).removeClass("ui-state-default")},onRemove:function(e){},onFilter:function(e){e.item},onMove:function(e){e.dragged,e.draggedRect,e.related,e.relatedRect}})}},{key:"reactToSortableOnOff",value:function(){self=this.sortable}}])&&vi(t.prototype,o),i&&vi(t,i),e}();jQuery(document).ready((function(e){var t=function(e){var t=.75,o=100,i=jQuery(".dslca-section-scroller",e),n=jQuery(".dslca-section-scroller-inner",e)[0];function s(e){e=e<0?-o:o,e*=t;var s=i.find(".dslca-section-scroller-content").width(),a=i.width();if(s<=a)return!1;var d=s-a+10;e=(e=(e=parseInt(n.style.left||0)-e)>=0?0:e)<=-d?-d:e,n.style.left=e+"px"}i.on("wheel",(function(e){return s(e.originalEvent.deltaY||e.originalEvent.deltaX),!1})),jQuery(".dslca-section-scroller-prev",e).click((function(e){e.preventDefault(),s(-500)})),jQuery(".dslca-section-scroller-next",e).click((function(e){e.preventDefault(),s(500)})),jQuery(window).load((function(){jQuery(window).resize((function(){s(0)}))}))};t(jQuery(".dslca-section.dslca-modules")),t(jQuery(".dslca-section.dslca-templates-load"))}));var yi=function(){LiveComposer.Builder.Flags.windowScroller=!1,jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragleave",".lc-scroll-top-area, .lc-scroll-bottom-area",(function(e){LiveComposer.Builder.UI.stopScroller()})),jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragenter dragover",".lc-scroll-bottom-area",(function(e){if(!1!==LiveComposer.Builder.Flags.windowScroller)return!1;LiveComposer.Utils.publish("LC.sortableOff",{}),LiveComposer.Builder.Flags.windowScroller=setInterval((function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,5)}),6)})),jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragenter",".lc-scroll-top-area",(function(e){if(!1!==LiveComposer.Builder.Flags.windowScroller)return!1;LiveComposer.Utils.publish("LC.sortableOff",{}),LiveComposer.Builder.Flags.windowScroller=setInterval((function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,-5)}),6)})),jQuery(LiveComposer.Builder.PreviewAreaDocument).on("dragend mouseup","body",(function(e){LiveComposer.Builder.Flags.windowScroller&&LiveComposer.Builder.UI.stopScroller()}))};function wi(e){return(wi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}jQuery(document).ready((function(e){yi(),LiveComposer.Builder.UI.stopScroller=function(){LiveComposer.Utils.publish("LC.sortableOn",{}),clearInterval(LiveComposer.Builder.Flags.windowScroller),LiveComposer.Builder.Flags.windowScroller=!1},jQuery("#scroller-stopper").on("dragover",(function(){LiveComposer.Builder.UI.stopScroller()}))}));var bi={addslashes:function(e){return e=(e=(e=(e=e.replace(/\\/g,"\\\\")).replace(/\'/g,"\\'")).replace(/\"/g,'\\"')).replace(/\0/g,"\\0")},basename:function(e){return e.split(/[\\/]/).pop()},msieversion:function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");return!!(t>0||navigator.userAgent.match(/Trident.*rv\:11\./))&&parseInt(e.substring(t+5,e.indexOf(".",t)))},checkParams:function(e){if(!Array.isArray(e))throw"Param is not array";var t={integer:function(e){return isNaN(parseInt(e))},float:function(e){return isNaN(parseFloat(e))},string:function(e){return null!=e&&null!=e&&"string"==typeof e},array:function(e){return Array.isArray(e)},object:function(e){return"object"==wi(e)}};e.map((function(e){if(!t[e[1]](e[0]))throw"Param "+e[0]+" is not "+e[1]}))},utf8_to_b64:function(e){return window.btoa(unescape(encodeURIComponent(e)))},b64_to_utf8:function(e){return decodeURIComponent(escape(window.atob(e)))},get_page_params:function(){return decodeURIComponent(window.location.search.slice(1)).split("&").reduce((function(e,t){return e[(t=t.split("="))[0]]=t[1],e}),{})},get_unique_id:function(){return Math.random().toString(32).slice(2)},update_module_property_raw:function(e,t,o){var i=e.getElementsByClassName("dslca-module-code")[0],n=e.querySelector('.dslca-module-option-front[data-id="'+t+'"]'),s=i.value;(s=JSON.parse(s))[t]=o,s=JSON.stringify(s),i.value=s,i.innerText=s,n.value=o,n.innerText=o},update_section_property_raw:function(e,t,o){var i=e.getElementsByClassName("dslca-section-code")[0],n=e.querySelector('.dslca-modules-section-settings input[data-id="'+t+'"]'),s=i.value;(s=JSON.parse(s))[t]=o,s=JSON.stringify(s),i.value=s,i.innerText=s,n.setAttribute("value",o),n.setAttribute("data-def",o)},publish:function(e,t){t=t||{},this.checkParams([[e,"string"],[t,"object"]]),jQuery(document).trigger({type:e,message:{details:t}}),LiveComposer.Builder.PreviewAreaWindow.dslca_publish_event(e,t)}};window.LiveComposer={Builder:{Elements:{},UI:{},Actions:{},Flags:{},PreviewFrame:{},Helpers:{}},Production:{},Utils:{}},LiveComposer.Builder.Flags={windowScroller:!1,panelOpened:!1,uiHidden:!1,modalOpen:!1,generate_code_after_row_changed:!0},LiveComposer.Builder.Actions={postponed_actions_queue:{},add_postponed_action:function(e){void 0!==e&&(isNaN(this.postponed_actions_queue[e])&&(this.postponed_actions_queue[e]=0),this.postponed_actions_queue[e]+=1)},release_postponed_actions:function(){var e=this;jQuery.each(this.postponed_actions_queue,(function(t,o){1<o?e.postponed_actions_queue[t]-=1:1==o&&(window[t](),e.postponed_actions_queue[t]-=1)}))},optionsChanged:function(){window.dslc_show_publish_button()}},LiveComposer.Builder.Helpers.insertModule=function(e,t){var o=jQuery(e),i=(t=jQuery(t),[]);return o.find("script").each((function(){i.push(this.innerHTML),this.parentNode.removeChild(this)})),t.after(o).remove(),i.forEach((function(e){var t=LiveComposer.Builder.PreviewAreaDocument[0].createElement("script");t.innerHTML=e,t.type="text/javascript",LiveComposer.Builder.PreviewAreaDocument[0].getElementById(o[0].id).appendChild(t)})),i=null,t=null,o},window.previewAreaTinyMCELoaded=function(e){LiveComposer.Builder.PreviewAreaWindow=e,LiveComposer.Builder.PreviewAreaDocument=jQuery(e.document),jQuery("#wpadminbar",LiveComposer.Builder.PreviewAreaDocument).remove(),window.LiveComposer.Builder.PreviewAreaDocument.on("dragstart",".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section",(function(e){jQuery("[contenteditable]",window.LiveComposer.Builder.PreviewAreaDocument).attr("contenteditable",!1)})),window.LiveComposer.Builder.PreviewAreaDocument.on("dragend mousedown",".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section",(function(e){jQuery("[contenteditable]",window.LiveComposer.Builder.PreviewAreaDocument).attr("contenteditable",!0)})),fi(),function(){var e=window.LiveComposer.Builder;window.LiveComposer.Builder.Helpers.colorpickers=[],window.LiveComposer.Builder.UI.clearUtils=function(){window.dslcDebug&&console.log("window.LiveComposer.Builder.UI.clearUtils"),window.LiveComposer.Builder.UI.clearColorPickers(),void 0!==window.LiveComposer.Builder.moduleBackup&&window.LiveComposer.Builder.moduleBackup.remove(),jQuery(".temp-styles-for-module",window.LiveComposer.Builder.PreviewAreaDocument).remove(),jQuery(".mce-tinymce",window.LiveComposer.Builder.PreviewAreaDocument).hide()},window.LiveComposer.Builder.UI.clearColorPickers=function(){Array.isArray(e.Helpers.colorpickers)&&(e.Helpers.colorpickers.forEach((function(e){jQuery(e).hasClass("dslca-modules-section-edit-field")||jQuery(e).remove()})),e.Helpers.colorpickers=[]),jQuery("body").off("click.wpcolorpicker")},window.LiveComposer.Builder.Helpers.depsHandlers=[],window.LiveComposer.Builder.UI.loadOptionsDeps=function(){jQuery(".dslca-module-edit-option").each((function(){var e=!0;try{var t=JSON.parse(LiveComposer.Utils.b64_to_utf8(jQuery(this).data("dep")))}catch(t){e=!1}if(e){var o=function(){var e=this,o={};if(("radio"==e.type||"checkbox"==e.type)&&null==t[e.value])return!1;"checkbox"==e.type&&null!=t[e.value]?o[e.value]=t[e.value]:o=t,Object.keys(o).forEach((function(t){o[t].split(",").forEach((function(o){var i=jQuery(".dslca-module-edit-option-"+o.trim()).closest(".dslca-module-edit-option"),n=!0;"radio"!=e.type&&"checkbox"!=e.type||(n=jQuery(e).is(":checked"));var s=jQuery(".dslca-module-edit-options-tab-hook.dslca-active").data("id");e.value==t&&n?(i.not(".dependent")&&i.addClass("dependent"),i.hasClass("dep-hide")?(i.removeClass("dep-hide"),i.addClass("dep-show")):i.addClass("dep-show"),s==i.data("tab")&&i.show()):(i.not(".dependent")&&i.addClass("dependent"),i.hasClass("dep-show")?(i.removeClass("dep-show"),i.addClass("dep-hide")):i.addClass("dep-hide"),i.hide())}))}))};jQuery(document).on("change dslc-init-deps",'.dslca-module-edit-option > *[data-id="'+jQuery(this).data("id")+'"]',o),window.LiveComposer.Builder.Helpers.depsHandlers.push(o)}})),jQuery(".dslca-module-edit-option input, .dslca-module-edit-option select").trigger("dslc-init-deps")},window.LiveComposer.Builder.UI.unloadOptionsDeps=function(){window.LiveComposer.Builder.Helpers.depsHandlers.forEach((function(e){jQuery(document).unbind("change",e),jQuery(document).unbind("dslc-init-deps",e)})),window.LiveComposer.Builder.Helpers.depsHandlers=[]},window.LiveComposer.Builder.Helpers.processInlineStyleTag=function(e){if("object"!=m(e))return!1;var t="",o="";"tablet_responsive"==e.context.closest(".dslca-module-edit-option").data("tab")?(t="@media only screen and (max-width: 1024px) and (min-width: 768px) {",o="}"):"phone_responsive"==e.context.closest(".dslca-module-edit-option").data("tab")&&(t="@media only screen and (max-width: 767px) {",o="}"),e.styleContent=t+e.styleContent+o;var i=t+e.rule+e.elems;if(i=i.replace(/ /gi,""),null==window.LiveComposer.Builder.PreviewAreaDocument[0].getElementById(i)){var n=document.createElement("style");n.innerHTML=e.styleContent,n.id=i,n.className="temp-styles-for-module",window.LiveComposer.Builder.PreviewAreaDocument[0].body.appendChild(n)}else window.LiveComposer.Builder.PreviewAreaDocument[0].getElementById(i).innerHTML=e.styleContent},window.LiveComposer.Builder.UI.shakePanelConfirmButton=function(){jQuery(".dslca-module-edit-save").addClass("lc-shake-effect active"),setTimeout((function(){jQuery(".dslca-module-edit-save").removeClass("lc-shake-effect active")}),1e3)},g(),y(),w()}(),ui();var t=LiveComposer.Builder.PreviewAreaDocument.find("#dslc-main").eq(0)[0];new gi(t),jQuery(document).trigger("editorFrameLoaded"),Vo(),l(),window.dslc_generate_code(),Mt(),yi(),Ko(),window.LiveComposer.Utils=bi,document.addEventListener("click",(function(e){if(e.target.matches('[data-event="modal-wysiwyg-cancel"]')){var t=new CustomEvent("modalWysiwygCancel",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event="modal-wysiwyg-confirm"]')){var o=new CustomEvent("modalWysiwygConfirm",{detail:e.target});document.dispatchEvent(o)}}),!1),LiveComposer.Builder.PreviewAreaWindow.document.addEventListener("click",(function(e){if(e.preventDefault(),e.target.matches('[data-event="module-edit"]')){var t=new CustomEvent("moduleEdit",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event="module-duplicate"]')){var o=new CustomEvent("moduleDuplicate",{detail:e.target});document.dispatchEvent(o)}if(e.target.matches('[data-event="module-delete"]')){var i=new CustomEvent("moduleDelete",{detail:e.target});document.dispatchEvent(i)}if(e.target.matches(".dslca-change-width-module-options [data-size]")){var n=new CustomEvent("moduleChangeWidth",{detail:e.target});document.dispatchEvent(n)}if(e.target.matches('[data-event="wysiwyg-edit"]')){var s=new CustomEvent("wysiwygEdit",{detail:e.target});document.dispatchEvent(s)}if(e.target.matches('[data-event="module-style-copy"]')){var a=new CustomEvent("copyModuleStyles",{detail:e.target});document.dispatchEvent(a)}if(e.target.matches('[data-event="module-style-paste"]')){var d=new CustomEvent("pasteModuleStyles",{detail:e.target});document.dispatchEvent(d)}}),!1)},window.onbeforeunload=function(){}}});
9
  //# sourceMappingURL=editor_backend.min.js.map
js/dist/editor_backend.min.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"editor_backend.min.js","sources":["webpack:///editor_backend.min.js"],"sourcesContent":["!function(e){var t={};function o(i){if(t[i])return t[i].exports;var n=t[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=t,o.d=function(e,t,i){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},o.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&\"object\"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,\"default\",{enumerable:!0,value:e}),2&t&&\"string\"!=typeof e)for(var n in e)o.d(i,n,function(t){return e[t]}.bind(null,n));return i},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,\"a\",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p=\"\",o(o.s=3)}({3:function(e,t,o){\"use strict\";function i(e){return(i=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}o.r(t);var n=function(e){if(\"object\"!=i(e)||!0===LiveComposer.Builder.Flags.modalOpen)return!1;var t='<div class=\"dslca-prompt-modal dslca-prompt-modal-active\"><div class=\"dslca-prompt-modal-content\"><div class=\"dslca-prompt-modal-msg\"><span class=\"dslca-prompt-modal-title\">'+e.title+'</span><span class=\"dslca-prompt-modal-descr\">'+e.content+\"</span></div>\",o=\"\";o=e.confirm||e.cancel?'<div class=\"dslca-prompt-modal-actions\"><a href=\"#\" class=\"dslca-prompt-modal-confirm-hook\"><span class=\"dslc-icon dslc-icon-ok\"></span>'+(e.confirm_title?e.confirm_title:\"Confirm\")+'</a><span class=\"dslca-prompt-modal-cancel-hook\"><span class=\"dslc-icon dslc-icon-remove\"></span>'+(e.cancel_title?e.cancel_title:\"Cancel\")+\"</span></div>\":'<div class=\"dslca-prompt-modal-actions\"><a href=\"#\" class=\"dslca-prompt-modal-confirm-hook\"><span class=\"dslc-icon dslc-icon-ok\"></span>'+(e.ok_title?e.ok_title:\"OK\")+\"</a></div>\",t+=o+\"</div>\",t=jQuery(t),\"function\"!=typeof e.confirm&&(e.confirm=function(){}),\"function\"!=typeof e.cancel&&(e.cancel=function(){}),t.find(\".dslca-prompt-modal-confirm-hook\").click((function(o){return o.stopPropagation(),t.find(\".dslca-prompt-modal-content\").animate({top:\"55%\"},400),t.animate({opacity:0},400,(function(){e.confirm(),LiveComposer.Builder.Flags.modalOpen=!1,jQuery(this).remove()})),!1})),t.find(\".dslca-prompt-modal-cancel-hook\").click((function(o){return o.stopPropagation(),t.find(\".dslca-prompt-modal-content\").animate({top:\"55%\"},400),t.animate({opacity:0},400,(function(){jQuery(this).remove(),LiveComposer.Builder.Flags.modalOpen=!1,e.cancel()})),!1})),t.hide(),jQuery(\"body\").append(t),t.css({opacity:0}).show().animate({opacity:1},400),t.find(\".dslca-prompt-modal-content\").css({top:\"55%\"}).animate({top:\"50%\"},400),LiveComposer.Builder.Flags.modalOpen=!0},a=function(){window.dslcDebug&&console.log(\"updatePreset\");var e=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),t=e.find('.dslca-module-option-front[data-id=\"css_load_preset\"]').val(),o=e.find(\".dslca-module-code\").innerText,i=e.data(\"module\");\"none\"!==t&&\"\"!==t&&jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-save-preset\",dslc_preset_name:t,dslc_preset_code:o,dslc_module_id:i},(function(t){\"enabled\"==t.preset_setting&&jQuery(\".dslc-module-front:not(#\"+e.attr(\"id\")+')[data-module=\"'+e.data(\"module\")+'\"][data-dslc-preset=\"'+e.data(\"dslc-preset\")+'\"]',LiveComposer.Builder.PreviewAreaDocument).each((function(){dslc_module_output_reload(jQuery(this))}))}))};jQuery(document).ready((function(e){jQuery(document).on(\"keypress\",'.dslca-module-edit-field[name=\"css_save_preset\"]',(function(e){if(13==e.which){var t=jQuery(this).val().toLowerCase().replace(/\\s/g,\"-\");jQuery(\"body\").addClass(\"dslca-new-preset-added\"),jQuery('.dslca-module-edit-field[name=\"css_load_preset\"]').append('<option value=\"'+t+'\">'+t+\"</option>\").val(t).trigger(\"change\"),jQuery(this).val(\"\"),jQuery(\".dslc-delete-preset\").removeClass(\"dslc-delete-preset-hide\")}})),jQuery(document).on(\"change\",'.dslca-module-edit-field[name=\"css_load_preset\"]',(function(e){jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslca-preload-preset\")})),jQuery(document).on(\"click\",\".dslc-delete-preset\",(function(e){var t=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),o=t.find('.dslca-module-option-front[data-id=\"css_load_preset\"]').val(),i=t.data(\"module\");\"none\"!==o&&\"\"!==o&&jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-delete-preset\",dslc_preset_name:o,dslc_module_id:i},(function(e){dslc_module_options_show(i)}))}))}));function s(){window.dslcDebug&&console.log(\"dslc_save_composer\"),window.dslc_generate_code(),function(){window.dslcDebug&&console.log(\"dslca_gen_content_for_search\");var e=document.getElementById(\"dslca-content-for-search\");if(null===e)return;var t=e.value,o=\"\",i=LiveComposer.Builder.PreviewAreaWindow.document.querySelectorAll(\"#dslc-main .dslc-module-front [data-exportable-content]\");void 0!==i&&Array.prototype.forEach.call(i,(function(e,t){var i;if(\"\"!==e.getAttribute(\"data-exportable-content\")){var n=e.getAttribute(\"data-exportable-content\");i=\"<\"+n+\">\"+e.innerHTML+\"</\"+n+\">\"}else i=e.innerHTML;null!==i&&(o+=i.replace(/\\s+/g,\" \").trim()+\"\\n\")}));e.value=o,t!==o&&window.dslc_show_publish_button()}();var e=jQuery(\"#dslca-code\").val(),t=jQuery(\"#dslca-content-for-search\").val(),o=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:o,dslc_code:e,dslc_content_for_search:t},timeout:3e4}).done((function(e){\"success\"==e.status?(jQuery(\".dslca-save-composer\").fadeOut(250),jQuery(\".dslca-save-draft-composer\").fadeOut(250),jQuery(\"body\").append('<iframe class=\"lbmn-cache-iframe\" id=\"lbmn-cache-iframe-'+o+'\" src=\"'+DSLCSiteData.siteurl+\"/?p=\"+o+'\" ></iframe>'),jQuery(\".lbmn-cache-iframe\").each((function(e,t){jQuery(t).load((function(){jQuery(t).remove()}))}))):alert(\"Something went wrong, please try to save again. Are you sure to make any changes? Error Code: \"+e.status)})).fail((function(e){\"timeout\"==e.statusText?alert(\"The request timed out after 30 seconds. Server do not respond in time. Please try again.\"):alert(\"Something went wrong. Please try again. Error Code: \"+e.statusText)})).always((function(e){jQuery(\".dslca-save-composer .dslca-icon\").removeClass(\"dslc-icon-spin dslc-icon-spinner\").addClass(\"dslc-icon-ok\"),jQuery(\"body\").removeClass(\"dslca-saving-in-progress\")}))}window.dslc_generate_code=function(){window.dslcDebug&&console.log(\"dslc_generate_code\");var e,t,o=\"\";jQuery(\"#dslc-main .dslc-modules-area\",LiveComposer.Builder.PreviewAreaDocument).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\",LiveComposer.Builder.PreviewAreaDocument).each((function(){e=jQuery(this),t=d(e),e.find(\".dslca-section-code\").val(t),o=o+t+\",\"})),o=\"[\"+(o=o.slice(0,-1))+\"]\",jQuery(\"#dslca-code\").val(o),jQuery(\"#dslca-export-code\").val(o)};var d=function(e){window.dslcDebug&&console.log(\"generateSectionCode\");var t,o,i,n,a=\"\",s=0,d=\"\";return o=e,jQuery(\".dslc-modules-area\",o).length?o.removeClass(\"dslc-modules-section-empty\").addClass(\"dslc-modules-section-not-empty\"):o.removeClass(\"dslc-modules-section-not-empty\").addClass(\"dslc-modules-section-empty\"),jQuery(\".dslc-modules-area.dslc-last-col, .dslc-modules-area.dslc-first-col\",void 0).removeClass(\"dslc-last-col dslc-first-col\"),jQuery(\".dslc-module-front.dslc-last-col, .dslc-module-front.dslc-first-col\",void 0).removeClass(\"dslc-last-col dslc-first-col\"),s=0,i=o.find(\".dslca-section-code\").val(),n=JSON.parse(i),d=\"\",jQuery(\".dslca-modules-section-settings input\",o).each((function(){var e=jQuery(this),t=e.data(\"id\"),o=e.val();d=d+t+'=\"'+o+'\" ',n[t]=o})),void 0!==n.give_new_id&&delete n.give_new_id,n.content=[],jQuery(\".dslc-modules-area\",o).each((function(){var e=0,o=jQuery(this),i=parseInt(o.data(\"size\")),d=o.data(\"valign\"),r=\"no\",l=\"no\";s+=i,jQuery(this).removeClass(\"dslc-first-col\"),jQuery(this).removeClass(\"dslc-last-col\"),12==s?(jQuery(this).addClass(\"dslc-last-col\").next(\".dslc-modules-area\").addClass(\"dslc-first-col\"),s=0,r=\"yes\"):s>12&&(jQuery(this).removeClass(\"dslc-last-col\").addClass(\"dslc-first-col\"),s=i,l=\"yes\"),s==i&&(l=\"yes\",jQuery(this).removeClass(\"dslc-last-col\").addClass(\"dslc-first-col\"));var c='{\"element_type\":\"module_area\",\"last\":\"'+r+'\",\"first\":\"'+l+'\",\"size\":\"'+i+'\",\"valign\":\"'+d+'\"}';void 0!==(c=JSON.parse(c)).give_new_id&&delete c.give_new_id,c.content=[],jQuery(\".dslc-module-front\",o).each((function(){var o=jQuery(this);t=parseInt(o[0].getAttribute(\"data-dslc-module-size\"));var i=\"no\";jQuery(this).removeClass(\"dslc-first-col\"),jQuery(this).removeClass(\"dslc-last-col\"),12==(e+=t)?(jQuery(this).addClass(\"dslc-last-col\"),jQuery(this).next(\".dslc-module-front\").addClass(\"dslc-first-col\"),e=0,i=\"yes\"):e>12&&(jQuery(this).removeClass(\"dslc-last-col\").addClass(\"dslc-first-col\"),e=t),e==t&&(\"yes\",jQuery(this).removeClass(\"dslc-last-col\").addClass(\"dslc-first-col\"));try{a=o[0].querySelector(\".dslca-module-code\").innerText}catch(e){console.info(\"No DSLC code found in module: \"+o[0].getAttribute(\"id\"))}if(\"\"!==a){var n=JSON.parse(a);n.last=i,jQuery.each(n,(function(e,t){!1!==t&&\"\"!==t||delete n[e],\"content\"===e&&(n[e]=t.replace(/\\\\'/g,\"'\")),\"give_new_id\"===e&&delete n[e]})),o[0].querySelector(\".dslca-module-code\").innerText=JSON.stringify(n),c.content.push(n)}a=\"\"})),n.content.push(c)})),JSON.stringify(n)},r=function(){jQuery(document).on(\"click\",\".dslca-save-composer-hook\",(function(e){e.preventDefault(),jQuery(\"body\").hasClass(\"dslca-module-saving-in-progress\")||jQuery(\"body\").hasClass(\"dslca-saving-in-progress\")||s()})),jQuery(document).on(\"click\",\".dslca-save-draft-composer-hook\",(function(e){e.preventDefault(),jQuery(\"body\").hasClass(\"dslca-module-saving-in-progress\")||jQuery(\"body\").hasClass(\"dslca-saving-in-progress\")||function(){window.dslcDebug&&console.log(\"dslc_save_draft_composer\");var e=jQuery(\"#dslca-code\").val(),t=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:t,dslc_code:e},(function(e){jQuery(\".dslca-save-draft-composer .dslca-icon\").removeClass(\"dslc-icon-spin dslc-icon-spinner\").addClass(\"dslc-icon-save\"),\"success\"==e.status?jQuery(\".dslca-save-draft-composer\").fadeOut(250):alert(\"Something went wrong, please try to save again.\"),jQuery(\"body\").removeClass(\"dslca-saving-in-progress\")}))}()}))};var l=function(e){if(window.dslcDebug&&console.log(\"editableContentCodeGeneration\"),void 0===e)return!1;var t=e.closest(\".dslc-module-front\")[0],o=e.html().trim().replace(/<textarea/g,\"<lctextarea\").replace(/<\\/textarea/g,\"</lctextarea\"),i=e.data(\"id\");LiveComposer.Utils.update_module_property_raw(t,i,o)};var c=function(e,t){\"undefined\"!=typeof dslcDebug&&dslcDebug&&console.log(\"hideModal\"),(t=jQuery(t)).outerHide(\"destroy\"),t.hide(),jQuery(\".dslca-prompt-modal-custom\").length>0&&jQuery(\".dslca-prompt-modal-custom\").fadeOut(),t.removeClass(\"dslca-modal-open\")};jQuery(document).ready((function(e){jQuery(document).on(\"click\",\".dslca-open-modal-hook\",(function(e){e.preventDefault();var t=jQuery(this).data(\"modal\");!function(e,t){\"undefined\"!=typeof dslcDebug&&dslcDebug&&console.log(\"dslc_show_modal\"),jQuery(\".dslca-modal:visible\").length&&c(\"\",jQuery(\".dslca-modal:visible\")),t=jQuery(t),jQuery(\".dslca-container\").height(),t.outerHide({clbk:function(){c(\"\",jQuery(\".dslca-modal:visible\"))}});var o=jQuery(e).position(),i=t.outerWidth()/2-e.outerWidth()/2,n=o.left-i;t.css({left:n}),jQuery(\".dslca-prompt-modal-custom\").insertAfter(t),jQuery(\".dslca-prompt-modal-custom\").length>0&&jQuery(\".dslca-prompt-modal-custom\").fadeIn(),t.addClass(\"dslca-modal-open\").show()}(jQuery(this),t)})),jQuery(document).on(\"click\",\".dslca-close-modal-hook\",(function(e){if(e.preventDefault(),!jQuery(this).hasClass(\"dslca-action-disabled\")){var t=jQuery(this).data(\"modal\");c(jQuery(this),t)}}))}));var u=function(){\"undefined\"!=typeof dslcDebug&&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)};window.dslc_modal_keypress_events=function(e){13==e.which?jQuery(\".dslca-prompt-modal-active\").length&&jQuery(\".dslca-prompt-modal-confirm-hook\").trigger(\"click\"):27==e.which&&jQuery(\".dslca-prompt-modal-active\").length&&jQuery(\".dslca-prompt-modal-cancel-hook\").trigger(\"click\")},jQuery(document).ready((function(e){jQuery(document).on(\"click\",\".dslca-prompt-modal-cancel-hook\",(function(e){e.preventDefault();var t=jQuery(\".dslca-prompt-modal\").data(\"id\"),o=jQuery(\".dslca-prompt-modal\").data(\"target\");\"edit_in_progress\"==t&&dslc_module_options_cancel_changes((function(){o.trigger(\"click\")})),u(),jQuery(\".dslca-prompt-modal\").data(\"id\",\"\")})),jQuery(document).on(\"click\",\".dslca-prompt-modal-confirm-hook\",(function(e){e.preventDefault();var t=jQuery(\".dslca-prompt-modal\").data(\"id\"),o=jQuery(\".dslca-prompt-modal\").data(\"target\"),i=!0;if(\"edit_in_progress\"==t)dslc_module_options_confirm_changes((function(){o.trigger(\"click\")}));else if(\"disable_lc\"==t)window.location=o;else if(\"delete_module\"===t){var n=o.closest(\".dslc-module-front\");dslc_module_delete(n)}else if(\"delete_modules_area\"===t){var a=o.closest(\".dslc-modules-area\");a.closest(\".dslc-modules-section-inner\");dslc_modules_area_delete(a)}else\"delete_modules_section\"==t?dslc_row_delete(o.closest(\".dslc-modules-section\")):\"export_modules_section\"==t||\"import_modules_section\"==t&&(dslc_row_import(jQuery(\".dslca-prompt-modal textarea\").val()),jQuery(\".dslca-prompt-modal-confirm-hook span\").css({opacity:0}),jQuery(\".dslca-prompt-modal-confirm-hook .dslca-loading\").show(),i=!1);i&&u(),jQuery(\".dslca-prompt-modal\").data(\"id\",\"\")}))})),jQuery.fn.outerHide=function(e){var t=jQuery,o=this;if(\"destroy\"==(e=e||{}))return jQuery(document).unbind(\"click.outer_hide\"),!1;jQuery(document).bind(\"click.outer_hide\",(function(i){0==jQuery(i.target).closest(o).length&&i.target!=o&&-1==t.inArray(jQuery(i.target)[0],jQuery(e.clickObj))&&\"none\"!=jQuery(o).css(\"display\")&&(e.clbk?e.clbk():jQuery(o).hide())}))},document.addEventListener(\"modalWysiwygCancel\",(function(e){jQuery(\".dslca-wp-editor\").hide(),jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-wysiwyg-active\")})),document.addEventListener(\"modalWysiwygConfirm\",(function(e){var t=jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).closest(\".dslc-module-front\");if(\"undefined\"!=typeof tinymce){if(jQuery(\"#wp-dslcawpeditor-wrap\").hasClass(\"tmce-active\"))var o=tinymce.get(\"dslcawpeditor\").getContent();else o=jQuery(\"#dslcawpeditor\").val();if(o=o.trim(),jQuery(\".dslca-wp-editor\").hide(),jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).html(o),t.hasClass(\"dslc-module-handle-like-accordion\")){jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).siblings(\".dslca-editable-content\").html(o),jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).siblings(\".dslca-accordion-plain-content\").val(o);var i=t.find(\".dslc-accordion\");LiveComposer.Builder.PreviewAreaWindow.dslc_accordion_generate_code(i)}else if(t.hasClass(\"dslc-module-handle-like-tabs\")){jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).siblings(\".dslca-editable-content\").html(o),jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).siblings(\".dslca-tab-plain-content\").val(o);var n=t.find(\".dslc-tabs\");LiveComposer.Builder.PreviewAreaWindow.dslc_tabs_generate_code(n)}else l(jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument));jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-wysiwyg-active\")}else console.info(\"Live Composer: TinyMCE is undefined.\")}));function m(e){return(m=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}var p=window.DSLCFonts.regular,h=window.DSLCFonts.google,f=p.concat(h),v=window.DSLCIcons.fontawesome;jQuery(document).ready((function(e){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 e,t=jQuery(\".dslca-module-edit-field-ttip\"),o=t.find(\".dslca-module-edit-field-ttip-inner\"),i=jQuery(this);if(e=i.parent().parent().hasClass(\"dslca-modules-section-edit-option\")?i.closest(\".dslca-modules-section-edit-option\").find(\".dslca-module-edit-field-ttip-content\").html():i.closest(\".dslca-module-edit-option\").find(\".dslca-module-edit-field-ttip-content\").html(),t.is(\":visible\"))jQuery(\".dslca-module-edit-field-ttip\").hide();else{o.html(e);var n=i.offset(),a=t.outerHeight(),s=t.outerWidth(),d=n.left-s/2+6,r=\"50%\";d<0&&(r=s/2+d+\"px\",d=0),jQuery(\".dslca-module-edit-field-ttip\").show().css({top:n.top-a-20,left:d}),jQuery(\"head\").append(jQuery(\"<style>.dslca-module-edit-field-ttip:after, .dslca-module-edit-field-ttip:before { left: \"+r+\" }</style>\"))}})),jQuery(document).on(\"click\",\".dslca-module-edit-field-icon-ttip-hook\",(function(){var e=jQuery(\".dslca-module-edit-field-icon-ttip\"),t=jQuery(this);if(e.is(\":visible\"))jQuery(\".dslca-module-edit-field-icon-ttip\").hide();else{var o=t.offset(),i=e.outerHeight(),n=e.outerWidth(),a=o.left-n/2+6,s=\"50%\";a<0&&(s=n/2+a+\"px\",a=0),jQuery(\".dslca-module-edit-field-icon-ttip\").show().css({top:o.top-i-20,left:a}),jQuery(\"head\").append(jQuery(\"<style>.dslca-module-edit-field-icon-ttip:after, .dslca-module-edit-field-icon-ttip:before { left: \"+s+\" }</style>\"))}})),jQuery(document).on(\"click\",\".dslca-module-edit-field-font-next\",(function(e){if(e.preventDefault(),!jQuery(this).hasClass(\"dslca-font-loading\")&&!jQuery(this).siblings(\".dslca-font-loading\").length){var t=jQuery(this).closest(\".dslca-module-edit-option-font\"),o=jQuery(\".dslca-module-edit-field-font\",t),i=f.indexOf(o.val())+1;jQuery(\".dslca-module-edit-field-font-suggest\",t).text(\"\"),o.val(f[i]).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(e){if(e.preventDefault(),!jQuery(this).hasClass(\"dslca-font-loading\")&&!jQuery(this).siblings(\".dslca-font-loading\").length){var t=jQuery(this).closest(\".dslca-module-edit-option-font\"),o=jQuery(\".dslca-module-edit-field-font\",t),i=f.indexOf(o.val())-1;jQuery(\".dslca-module-edit-field-font-suggest\",t).text(\"\"),i<0&&(i=f.length-1),o.val(f[i]).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(e){var t,o,i,n,a=!1;if(o=(t=jQuery(this)).closest(\".dslca-module-edit-option\"),38==e.which&&jQuery(\".dslca-module-edit-field-font-prev\",o).click(),40==e.which&&jQuery(\".dslca-module-edit-field-font-next\",o).click(),13!=e.which&&38!=e.which&&40!=e.which){i=t.val();var s=new RegExp(\"^\"+i,\"i\"),d=f.length,r=0;do{s.test(f[r])&&!a&&(a=f[r]),r++}while(r<d);a?(n=a,jQuery(\".dslca-module-edit-field-font-suggest\",o).show()):(n=i,jQuery(\".dslca-module-edit-field-font-suggest\",o).hide()),jQuery(\".dslca-module-edit-field-font-suggest\",o).text(n),n.length&&t.val(n.substring(0,t.val().length))}})),jQuery(document).on(\"keypress\",\".dslca-module-edit-field-font\",(function(e){var t;13==e.which&&(e.preventDefault(),t=jQuery(this).closest(\".dslca-module-edit-option\"),jQuery(this).val(jQuery(\".dslca-module-edit-field-font-suggest\",t).text()).trigger(\"change\"),jQuery(\".dslca-module-edit-field-font-suggest\",t).text(\"\"))})),jQuery(document).on(\"keyup\",\".dslca-module-edit-field-icon\",(function(e){var t,o,i,n;o=(t=jQuery(this)).closest(\".dslca-module-edit-option\"),38==e.which&&D(t,\"previous\"),40==e.which&&D(t,\"next\"),13!=e.which&&38!=e.which&&40!=e.which&&(i=t.val().toLowerCase(),t.val(i),n=jQuery.grep(v,(function(e,t){return 0==e.indexOf(i)}))[0],jQuery(\".dslca-module-edit-field-icon-suggest\",o).text(n))})),jQuery(document).on(\"keypress\",\".dslca-module-edit-field-icon\",(function(e){var t;13==e.which&&(e.preventDefault(),t=jQuery(this).closest(\".dslca-module-edit-option\"),jQuery(this).val(jQuery(\".dslca-module-edit-field-icon-suggest\",t).text()).trigger(\"change\"),jQuery(\".dslca-module-edit-field-icon-suggest\",t).text(\"\"))})),jQuery(document).on(\"click\",'.dslca-open-modal-hook[data-modal^=\".dslc-list-icons\"]',(function(e){jQuery(this).closest(\".dslca-module-edit-option-icon\").find(\"input\").addClass(\"icon-modal-active\")})),jQuery(document).on(\"click\",\".dslca-modal-icons .icon-item\",(function(e){var t=jQuery(this).find(\".icon-item_name\").text();jQuery(\"input.icon-modal-active\").val(t).change(),c(\"\",jQuery(\".dslca-modal:visible\")),jQuery(\"input.icon-modal-active\").removeClass(\"icon-modal-active\")})),jQuery(document).on(\"click\",\".dslca-module-edit-option-text-align-hook\",(function(){var e=jQuery(this),t=jQuery(this).closest(\".dslca-module-edit-option-text-align-wrapper\").find(\".dslca-module-edit-option-text-align-hook\"),o=e.data(\"val\"),i=jQuery(this).closest(\".dslca-module-edit-option-text-align-wrapper\").siblings(\"input.dslca-module-edit-field\");t.removeClass(\"dslca-active\"),e.addClass(\"dslca-active\"),i.val(o).trigger(\"change\")})),jQuery(document).on(\"click\",\".dslca-module-edit-option-checkbox-hook, .dslca-modules-section-edit-option-checkbox-hook\",(function(){var e=jQuery(this),t=e.siblings('input[type=\"checkbox\"]');t.prop(\"checked\")?(t.prop(\"checked\",!1),e.find(\".dslca-icon\").removeClass(\"dslc-icon-check\").addClass(\"dslc-icon-check-empty\")):(t.prop(\"checked\",!0),e.find(\".dslca-icon\").removeClass(\"dslc-icon-check-empty\").addClass(\"dslc-icon-check\")),t.change()})),function(){window.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 e=jQuery(this).closest(\".dslca-module-edit-option\"),t=e.find(\".dslca-module-edit-field\"),o=e.find(\".dslca-module-edit-option-box-shadow-hor\").val(),i=e.find(\".dslca-module-edit-option-box-shadow-ver\").val(),n=e.find(\".dslca-module-edit-option-box-shadow-blur\").val(),a=e.find(\".dslca-module-edit-option-box-shadow-spread\").val(),s=e.find(\".dslca-module-edit-option-box-shadow-color\").val(),d=e.find(\".dslca-module-edit-option-box-shadow-inset\").is(\":checked\"),r=o+\"px \"+i+\"px \"+n+\"px \"+a+\"px \"+s+(d=d?\" inset\":\"\");t.val(r).trigger(\"change\")}))}(),function(){window.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 e=jQuery(this).closest(\".dslca-module-edit-option\"),t=e.find(\".dslca-module-edit-field\"),o=e.find(\".dslca-module-edit-option-text-shadow-hor\").val()+\"px \"+e.find(\".dslca-module-edit-option-text-shadow-ver\").val()+\"px \"+e.find(\".dslca-module-edit-option-text-shadow-blur\").val()+\"px \"+e.find(\".dslca-module-edit-option-text-shadow-color\").val();t.val(o).trigger(\"change\")}))}();jQuery(document).on(\"click\",\".dslca-module-edit-field-colorpicker, .dslca-modules-section-edit-field-colorpicker, .dslca-module-edit-option-box-shadow-color, .dslca-module-edit-option-text-shadow-color\",(function(){L(this);var e=jQuery(this).closest(\".dslca-color-option\"),t=jQuery(\".dslca-module-edit-options-inner\"),o=e.find(\".wp-picker-holder\"),i=e.offset(),n=i.left+15,a=window.innerWidth;a<n+260&&(n=a-260),o.css(\"left\",n+\"px\"),jQuery(t).on(\"scroll\",(function(t){var n=(i=e.offset()).left+15,a=window.innerWidth;a<n+260&&(n=a-260),o.css(\"left\",n+\"px\")}))})),jQuery(\".dslca-container\").on(\"mouseenter\",\".dslca-module-edit-option-slider\",(function(){jQuery(this).hasClass(\"dslca-module-edit-option-select\")||x(this)})),jQuery(\".dslca-container\").on(\"mouseenter\",\".dslca-modules-section-edit-option-slider\",(function(){x(this)})),jQuery(\".dslca-module-edit-form\").submit((function(e){e.preventDefault(),Ko()})),jQuery(document).on(\"click\",\".dslca-module-edit-options-tab-hook\",(function(e){e.preventDefault(),Q(jQuery(this))})),jQuery(document).on(\"click\",\".dslca-clear-responsive-options\",(function(e){e.preventDefault(),j()})),jQuery(document).on(\"click\",\".dslca-options-filter-hook\",(function(e){e.preventDefault();var t=jQuery(\".dslca-options-filter-hook.dslca-active\").data(\"section\"),o=jQuery(this).data(\"section\");jQuery(\".dslca-options-filter-hook.dslca-active\").removeClass(\"dslca-active\"),jQuery(this).addClass(\"dslca-active\"),jQuery(\".dslca-container-loader\"),document.querySelector(\".dslca-container\").dataset.currentSection=o,b(o),\"responsive\"==t&&(jQuery(\".dslca-container-loader\").show(),window.LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(),Ko((function(){jQuery(\".dslca-container-loader\").hide()})),jQuery(\"#page-builder-preview-area\").resizable(\"destroy\").attr(\"style\",\"\")),\"responsive\"==o&&jQuery(\"#page-builder-preview-area\").resizable()})),jQuery(document).on(\"click\",\".dslca-module-edit-save\",(function(e){e.preventDefault(),C((function(){window.LiveComposer.Builder.UI.unloadOptionsDeps(),window.LiveComposer.Builder.Flags.panelOpened=!1,jQuery(\"body\",window.LiveComposer.Builder.PreviewAreaDocument).removeClass(\"module-editing-in-progress\")})),jQuery(\".dslca-options-filter-hook.dslca-active\").removeClass(\"dslca-active\"),S()})),jQuery(document).on(\"click\",\".dslca-module-edit-cancel\",(function(e){e.preventDefault(),k((function(){window.LiveComposer.Builder.UI.unloadOptionsDeps(),window.LiveComposer.Builder.Flags.panelOpened=!1,jQuery(\"body\",window.LiveComposer.Builder.PreviewAreaDocument).removeClass(\"module-editing-in-progress\")})),jQuery(\".dslca-options-filter-hook.dslca-active\").removeClass(\"dslca-active\"),S()}))}));var g=function(){jQuery(document).on(\"change\",\".dslca-module-edit-field\",(function(){window.dslcDebug&&console.log(\"on change event for .dslca-module-edit-field\");var e=\"\",t=\"\",o=jQuery(this),i=o.data(\"id\"),n=o.closest(\".dslca-module-edit-option\"),a=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),s=a.data(\"module\");jQuery(\".dslca-module-options-front textarea\",a);if(a.addClass(\"dslca-module-change-made\"),(n.hasClass(\"dslca-module-edit-option-select\")||n.hasClass(\"dslca-module-edit-option-checkbox\"))&&_(),\"active\"==jQuery(this).closest(\".dslca-module-edit-option\").data(\"refresh-on-change\")){if(n.find(\".dslca-module-edit-option-checkbox-wrapper\").length)jQuery('input[type=\"checkbox\"]',n).each((function(){jQuery(this).prop(\"checked\")&&(e=e+jQuery(this).val()+\" \")}));else if(o.hasClass(\"dslca-module-edit-option-radio\"))e=jQuery(\".dslca-module-edit-field:checked\",o).val();else{e=o.val();if(\"orientation\"==i&&\"horizontal\"==e)jQuery(\".dslca-module-edit-option-thumb_width .dslca-module-edit-field\").val(\"40\").trigger(\"change\");else if(\"orientation\"==i&&\"vertical\"==e){jQuery(\".dslca-module-edit-option-thumb_width .dslca-module-edit-field\").val(\"100\").trigger(\"change\")}}null!=e&&(e=e.trim().replace(/<textarea/g,\"<lctextarea\").replace(/<\\/textarea/g,\"</lctextarea\")),null===e&&(e=\"\"),jQuery('.dslca-module-options-front textarea[data-id=\"'+i+'\"]',a).val(e),jQuery(\".dslca-container-loader\").show(),Ko((function(){jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslca-module-change-made\"),\"css_load_preset\"!=i||jQuery(\"body\").hasClass(\"dslca-new-preset-added\")?jQuery(\".dslca-container-loader\").hide():(dslc_module_options_show(s),jQuery(\".dslca-container-loader\").hide()),jQuery(\"body\").removeClass(\"dslca-new-preset-added\"),LiveComposer.Utils.publish(\"LC.moduleChange\",{moduleId:s,optionID:i,optionVal:o.val()})}))}else{if(o.hasClass(\"dslca-module-edit-field-font\")){var d=o.val();d+=\":400,100,200,300,500,600,700,800,900\";var r=o.data(\"affect-on-change-el\"),l=o.data(\"affect-on-change-rule\"),c=m=o.val(),u=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument);o.val().length&&-1!==h.indexOf(o.val())?document.getElementById(\"page-builder-frame\").contentWindow.WebFont.load({google:{families:[d]},active:function(e,t){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\");var i=r.split(\",\"),n=\"#\"+u[0].id+\" \"+i.join(\", #\"+u[0].id+\" \")+\" {\"+l+\": \"+m+\"}\";LiveComposer.Builder.Helpers.processInlineStyleTag({context:o,rule:l,elems:r,styleContent:n})},inactive:function(e,t){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\");var e=r.split(\",\"),t=\"#\"+u[0].id+\" \"+e.join(\", #\"+u[0].id+\" \")+\" {\"+l+\": \"+m+\"}\";LiveComposer.Builder.Helpers.processInlineStyleTag({context:o,rule:l,elems:r,styleContent:t})}),100)}else if(o.hasClass(\"dslca-module-edit-field-checkbox\")){jQuery('input[type=\"checkbox\"]',n).each((function(){jQuery(this).prop(\"checked\")?(e+=\"solid \",t=t+jQuery(this).val()+\" \"):e+=\"none \"}))}if(!o.hasClass(\"dslca-module-edit-field-font\")&&null!=o.data(\"affect-on-change-el\")&&null!=o.data(\"affect-on-change-rule\")){var m,p=o.data(\"ext\")||\"\";r=o.data(\"affect-on-change-el\"),l=o.data(\"affect-on-change-rule\"),c=m=o.val();o.hasClass(\"dslca-module-edit-field-checkbox\")&&(m=e,c=t),o.hasClass(\"dslca-module-edit-field-image\")&&(m='url(\"'+m+'\")'),null!==m&&m.length<1&&(\"background-color\"==l||\"background\"==l)&&(m=\"transparent\"),l.split(\",\").forEach((function(e){e=e.replace(/\\s+/g,\"\");var t=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),i=r.split(\",\"),n=\"#\"+t[0].id+\" \"+i.join(\", #\"+t[0].id+\" \")+\" {\"+e+\": \"+m+p+\"}\";LiveComposer.Builder.Helpers.processInlineStyleTag({context:o,rule:e,elems:r,styleContent:n})}))}var f=\"\";f=-1!==i.indexOf(\"css_\")?c:o.val(),jQuery('.dslca-module-option-front[data-id=\"'+i+'\"]',a).val(f),LiveComposer.Utils.publish(\"LC.moduleChange\",{moduleId:a[0].id,optionID:i,optionVal:c||o.val()})}}))},y=function(){jQuery(document).on(\"change\",\".dslca-modules-section-edit-field\",(function(){var e,t,o,i,n,a,s,d;if(t=(e=jQuery(this)).data(\"id\"),i=e.val(),u=i,n=i+e.data(\"ext\"),a=e.data(\"css-rule\"),d=o=jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument),s=jQuery('.dslca-modules-section-settings input[data-id=\"'+t+'\"]',o),o.addClass(\"dslca-modules-section-change-made\"),e.hasClass(\"dslca-modules-section-edit-field-upload\")&&i&&i.length&&(i=jQuery('.dslca-modules-section-settings input[data-id=\"dslca-img-url\"]',o).val()),\"background-image\"==a&&(i='url(\"'+i+'\")',LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()),\"bg_image_attachment\"==t&&o.removeClass(\"dslc-init-parallax\"),\"border-top\"==t||\"border-right\"==t||\"border-bottom\"==t||\"border-left\"==t){var r=jQuery('.dslca-modules-section-settings input[data-id=\"border_style\"]').val();s=jQuery('.dslca-modules-section-settings input[data-id=\"border\"]',o),u=\"\",e.closest(\".dslca-modules-section-edit-option-checkbox-wrapper\").find(\".dslca-modules-section-edit-field-checkbox\").each((function(){jQuery(this).is(\":checked\")&&(\"border-top\"==jQuery(this).data(\"id\")?u+=\"top \":\"border-right\"==jQuery(this).data(\"id\")?u+=\"right \":\"border-bottom\"==jQuery(this).data(\"id\")?u+=\"bottom \":\"border-left\"==jQuery(this).data(\"id\")&&(u+=\"left \"))})),e.is(\":checked\")?\"border-top\"==e.data(\"id\")?o.css({\"border-top-style\":r}):\"border-right\"==e.data(\"id\")?o.css({\"border-right-style\":r}):\"border-bottom\"==e.data(\"id\")?o.css({\"border-bottom-style\":r}):\"border-left\"==e.data(\"id\")&&o.css({\"border-left-style\":r}):\"border-top\"==e.data(\"id\")?o.css({\"border-top-style\":\"hidden\"}):\"border-right\"==e.data(\"id\")?o.css({\"border-right-style\":\"hidden\"}):\"border-bottom\"==e.data(\"id\")?o.css({\"border-bottom-style\":\"hidden\"}):\"border-left\"==e.data(\"id\")&&o.css({\"border-left-style\":\"hidden\"})}else if(e.hasClass(\"dslca-modules-section-edit-field-checkbox\")){var l=jQuery(this).closest(\".dslca-modules-section-edit-option-checkbox-wrapper\").find(\".dslca-modules-section-edit-field-checkbox\"),c=\"\";l.each((function(){jQuery(this).prop(\"checked\")&&(c+=jQuery(this).data(\"val\")+\" \")}));var u=c;\"show_on\"==e.data(\"id\")&&(-1!==c.indexOf(\"desktop\")?jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslc-hide-on-desktop\"):jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslc-hide-on-desktop\"),-1!==c.indexOf(\"tablet\")?jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslc-hide-on-tablet\"):jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslc-hide-on-tablet\"),-1!==c.indexOf(\"phone\")?jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslc-hide-on-phone\"):jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslc-hide-on-phone\")),\"section_divider_bottom_flip\"==e.data(\"id\")&&(-1===u.indexOf(\"horizontally\")?jQuery('.dslc-section-divider[data-divider-pos=\"bottom\"]',o).removeClass(\"dslc-flip-hor\"):jQuery('.dslc-section-divider[data-divider-pos=\"bottom\"]',o).addClass(\"dslc-flip-hor\"),-1===u.indexOf(\"vertically\")?jQuery('.dslc-section-divider[data-divider-pos=\"bottom\"]',o).removeClass(\"dslc-flip-vert\"):jQuery('.dslc-section-divider[data-divider-pos=\"bottom\"]',o).addClass(\"dslc-flip-vert\")),\"section_divider_top_flip\"==e.data(\"id\")&&(-1===u.indexOf(\"horizontally\")?jQuery('.dslc-section-divider[data-divider-pos=\"top\"]',o).removeClass(\"dslc-flip-hor\"):jQuery('.dslc-section-divider[data-divider-pos=\"top\"]',o).addClass(\"dslc-flip-hor\"),-1===u.indexOf(\"vertically\")?jQuery('.dslc-section-divider[data-divider-pos=\"top\"]',o).removeClass(\"dslc-flip-vert\"):jQuery('.dslc-section-divider[data-divider-pos=\"top\"]',o).addClass(\"dslc-flip-vert\"))}else if(\"bg_image_attachment\"==t&&\"parallax\"==i)o.addClass(\"dslc-init-parallax\"),LiveComposer.Builder.PreviewAreaWindow.dslc_parallax();else if(\"type\"==t)\"full\"==i?o.addClass(\"dslc-full\"):o.removeClass(\"dslc-full\"),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();else if(\"columns_spacing\"==t)\"nospacing\"==i?o.addClass(\"dslc-no-columns-spacing\"):o.removeClass(\"dslc-no-columns-spacing\");else if(\"custom_class\"==t);else if(\"custom_id\"==t);else if(\"bg_video\"==t){if(jQuery(\".dslc-bg-video video\",o).remove(),i&&i.length){var m=i;m=(m=m.replace(\".webm\",\"\")).replace(\".mp4\",\"\"),jQuery(\".dslc-bg-video-inner\",o).html('<video><source type=\"video/mp4\" src=\"'+m+'.mp4\" /><source type=\"video/webm\" src=\"'+m+'.webm\" /></video>'),LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()}}else if(\"section_divider_top_style\"==t||\"section_divider_bottom_style\"==t){var p=\"top\";\"section_divider_bottom_style\"==t&&(p=\"bottom\");var h=jQuery('.dslc-section-divider[data-divider-pos=\"'+p+'\"] svg',o).attr(\"style\");if(jQuery('.dslc-section-divider[data-divider-pos=\"'+p+'\"]',o).html(\"\"),i&&i.length){var f=jQuery(\"#dslc-section-dividers\",LiveComposer.Builder.PreviewAreaWindow.document).find(\"svg#\"+i).clone();jQuery('.dslc-section-divider[data-divider-pos=\"'+p+'\"]',o).html(f[0]),void 0!==h&&jQuery('.dslc-section-divider[data-divider-pos=\"'+p+'\"] svg',o).attr(\"style\",h)}}else if(\"bg_image_thumb\"==t)if(\"enabled\"==u){if(jQuery(\"#dslca-post-data-thumb\").length){var v=\"url('\"+jQuery(\"#dslca-post-data-thumb\").val()+\"')\";d.css(a,v)}}else\"disabled\"==u&&d.css(a,\"none\");else{var g;e.data(\"css-element\")&&(d=jQuery(e.data(\"css-element\"),o)),a=a.replace(/ /g,\"\").split(\",\"),g=null!=e.data(\"ext\")?n:i;for(var y=0;y<a.length;y++)d.css(a[y],g)}if(s.val(u),!LiveComposer.Builder.Flags.generate_code_after_row_changed)return!1}))},w=function(){var e;jQuery(document).on(\"click\",\".dslca-module-edit-field-image-add-hook, .dslca-modules-section-edit-field-image-add-hook\",(function(){var t=jQuery(this);if(t.hasClass(\"dslca-module-edit-field-image-add-hook\"))var o=t.siblings(\".dslca-module-edit-field-image\"),i=t.siblings(\".dslca-module-edit-field-image-remove-hook\");else o=t.siblings(\".dslca-modules-section-edit-field-upload\"),i=t.siblings(\".dslca-modules-section-edit-field-image-remove-hook\");(e=wp.media.frames.file_frame=wp.media({title:\"Choose Image\",button:{text:\"Confirm\"},multiple:!1})).on(\"select\",(function(){var n=e.state().get(\"selection\").first().toJSON();o.val(n.id);var a=t.parent().attr(\"data-id\");\"\"!=n.alt&&\"image\"==a&&jQuery('.dslca-module-edit-option-image_alt input[data-id=\"image_alt\"]').val(n.alt),\"\"!=n.title&&\"image\"==a&&jQuery('.dslca-module-edit-option-image_title input[data-id=\"image_title\"]').val(n.title),jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).find('.dslca-modules-section-settings input[data-id=\"dslca-img-url\"]').val(n.url),o.trigger(\"change\"),t.hide(),i.show()})),e.open()})),jQuery(document).on(\"click\",\".dslca-module-edit-field-image-remove-hook, .dslca-modules-section-edit-field-image-remove-hook\",(function(){var e=jQuery(this);if(e.hasClass(\"dslca-module-edit-field-image-remove-hook\"))var t=e.siblings(\".dslca-module-edit-field-image\"),o=e.siblings(\".dslca-module-edit-field-image-add-hook\");else t=e.siblings(\".dslca-modules-section-edit-field-upload\"),o=e.siblings(\".dslca-modules-section-edit-field-image-add-hook\");t.val(\"\").trigger(\"change\"),\"image\"==e.parent().attr(\"data-id\")&&(jQuery(\".dslca-module-edit-option-image_alt input\").attr(\"value\",\"\").trigger(\"change\"),jQuery(\".dslca-module-edit-option-image_alt input\").attr(\"data-val-bckp\",\"\").trigger(\"change\"),jQuery(\".dslca-module-edit-option-image_title input\").attr(\"value\",\"\").trigger(\"change\"),jQuery(\".dslca-module-edit-option-image_title input\").attr(\"data-val-bckp\",\"\").trigger(\"change\")),e.hide(),o.show()}))};function b(e){window.dslcDebug&&console.log(\"dslc_module_options_section_filter\"),jQuery(\".dslca-module-edit-option\").hide(),jQuery('.dslca-module-edit-option[data-section=\"'+e+'\"]').show(),Q()}var j=function(){var e=document.querySelector(\".dslca-module-edit-options-tab-hook.dslca-active\").dataset.id;\"tablet_responsive\"!==e&&\"phone_responsive\"!==e||document.querySelectorAll('.dslca-module-edit-option[data-tab=\"'+e+'\"]').forEach((function(e){var t=e.querySelector(\".dslca-module-edit-field\").dataset.id;\"css_res_t\"!==t&&\"css_res_p\"!==t&&jQuery(\".dslca-module-edit-option-\"+t).find(\".dslca-module-edit-field\").val(\"\").trigger(\"change\")}))},Q=function(e){window.dslcDebug&&console.log(\"elementOptionsTabs\");var t=jQuery(\".dslca-options-filter-hook.dslca-active\").data(\"section\"),o=(e=void 0!==e?e:jQuery('.dslca-module-edit-options-tab-hook[data-section=\"'+t+'\"]:first')).data(\"id\");if(jQuery(\".dslca-module-edit-options-tab-hook\").removeClass(\"dslca-active\"),e.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=\"'+t+'\"]').show(),o&&(jQuery(\".dslca-module-edit-option\").hide(),jQuery('.dslca-module-edit-option[data-tab=\"'+o+'\"]').show(),_(),jQuery(\".dslca-module-edit-options-tab-hook:visible\").length<2?jQuery(\".dslca-module-edit-options-tabs\").hide():jQuery(\".dslca-module-edit-options-tabs\").show(),S(),o==DSLCString.str_res_tablet.toLowerCase()+\"_responsive\"&&(jQuery(\"body\").removeClass(\"dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet\"),jQuery(\"body\").addClass(\"dslc-res-tablet\"),jQuery(\"html\").addClass(\"dslc-responsive-preview\")),o==DSLCString.str_res_phone.toLowerCase()+\"_responsive\"&&(jQuery(\"body\").removeClass(\"dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet\"),jQuery(\"body\").addClass(\"dslc-res-phone\"),jQuery(\"html\").addClass(\"dslc-responsive-preview\")),o!=DSLCString.str_res_tablet.toLowerCase()+\"_responsive\"&&o!=DSLCString.str_res_phone.toLowerCase()+\"_responsive\"||(jQuery(\".dslca-container-loader\").show(),Ko((function(){jQuery(\".dslca-container-loader\").hide()})))),jQuery(\"body\").hasClass(\"rtl\")){var i,n=0,a=0;jQuery(\".dslca-module-edit-options-wrapper > .dslca-module-edit-option:visible\").each((function(e){jQuery(this).hasClass(\"dslca-module-edit-option-hidden\")||jQuery(this).hasClass(\"dslca-module-control-group\")||(n+=parseInt(jQuery(this).outerWidth(),10))})),jQuery(\".dslca-module-edit-options-wrapper > .dslca-module-control-group:visible\").each((function(e){a+=parseInt(jQuery(this).outerWidth(),10)})),i=parseInt(n)+parseInt(a)+10,jQuery(\".dslca-module-edit-options-wrapper\").css({width:i+\"px\"})}};function _(){if(window.dslcDebug&&console.log(\"dslc_module_options_hideshow_tabs\"),\"styling\"==jQuery(\".dslca-options-filter-hook.dslca-active\").data(\"section\")){jQuery(\".dslca-module-edit\");var e=!0,t=!0,o=!0,i=!0,n=!0,a=!0,s=!0,d=!0,r=!0,l=!0,c=!0,u=!0,m=!0,p=!0,h=!0,f=!0,v=!0,g=!0,y=!0,w=!0,b=!0,j=!0,Q=!0,_=!0,C=!0,k=!0,D=!0;jQuery('.dslca-module-edit-field[value=\"main_heading\"]').is(\":checked\")||(e=!1),jQuery('.dslca-module-edit-field[value=\"filters\"]').is(\":checked\")||(t=!1),jQuery('.dslca-module-edit-field[value=\"arrows\"]').is(\":checked\")||(o=!1),jQuery('.dslca-module-edit-field[value=\"circles\"]').is(\":checked\")||(i=!1),\"carousel\"!=jQuery('.dslca-module-edit-field[data-id=\"type\"]').val()&&(o=!1,i=!1),\"disabled\"==jQuery('.dslca-module-edit-field[data-id=\"pagination_type\"]').val()&&(n=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"thumbnail\"]').is(\":checked\")||(a=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"content\"]').length&&!jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"title\"]').is(\":checked\")&&(s=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"excerpt\"]').is(\":checked\")||(d=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"meta\"]').is(\":checked\")||(r=!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\")||(c=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"separator\"]').is(\":checked\")||(m=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"count\"]').is(\":checked\")||(u=!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\")||(h=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"position\"]').is(\":checked\")||(f=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"icon\"]').length&&!jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"icon\"]').is(\":checked\")&&(v=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"content\"]').length&&!jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"content\"]').is(\":checked\")&&(g=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"price\"]').is(\":checked\")||(y=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"price_2\"]').is(\":checked\")||(w=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"addtocart\"]').is(\":checked\")||(b=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"details\"]').is(\":checked\")||(j=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"quote\"]').is(\":checked\")||(Q=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"author_name\"]').is(\":checked\")||(_=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"author_position\"]').is(\":checked\")||(C=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"image\"]').is(\":checked\")||(k=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"logo\"]').is(\":checked\")||(D=!1),e?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"heading_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"heading_styling\"]').hide(),t?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"filters_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"filters_styling\"]').hide(),o?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(),i?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(),n?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"pagination_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"pagination_styling\"]').hide(),a?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"thumbnail_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"thumbnail_styling\"]').hide(),s?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"title_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"title_styling\"]').hide(),d?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"excerpt_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"excerpt_styling\"]').hide(),r?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(),c?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"categories_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"categories_styling\"]').hide(),m?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"separator_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"separator_styling\"]').hide(),u?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(),f?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"position_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"position_styling\"]').hide(),h?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"social_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"social_styling\"]').hide(),v?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"icon_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"icon_styling\"]').hide(),g?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"content_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"content_styling\"]').hide(),y?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"price_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"price_styling\"]').hide(),w?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(),b||j?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"other_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"other_styling\"]').hide(),Q?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"quote_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"quote_styling\"]').hide(),_?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(),C?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(),k?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"image_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"image_styling\"]').hide(),D?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"logo_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"logo_styling\"]').hide()}if(jQuery('.dslca-options-filter-hook[data-section=\"styling\"]').hasClass(\"dslca-active\")){var L=jQuery('.dslca-module-edit-option[data-id=\"css_custom\"]');\"enabled\"==L.find(\"select\").val()?(jQuery('.dslca-module-edit-option[data-section=\"styling\"]').css({visibility:\"visible\"}),jQuery(\".dslca-module-edit-option[data-tab]\").css(\"visibility\",\"visible\"),jQuery(\".dslca-module-edit-options-tabs\").show()):(jQuery('.dslca-module-edit-option[data-section=\"styling\"]').css({visibility:\"hidden\"}),jQuery(\".dslca-module-control-group.dslca-module-edit-option\").css(\"visibility\",\"hidden\"),jQuery(\".dslca-module-edit-options-tabs\").hide(),L.css({visibility:\"visible\"}))}else jQuery(\".dslca-module-edit-options-tabs\").show();if(\"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-tab=\"tablet_responsive\"]').css(\"visibility\",\"hidden\")):(jQuery('.dslca-module-edit-option[data-id*=\"css_res_t\"]').css(\"visibility\",\"visible\"),jQuery('.dslca-module-edit-option[data-tab=\"tablet_responsive\"]').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-tab=\"phone_responsive\"]').css(\"visibility\",\"hidden\")):(jQuery('.dslca-module-edit-option[data-id*=\"css_res_p\"]').css(\"visibility\",\"visible\"),jQuery('.dslca-module-edit-option[data-tab=\"phone_responsive\"]').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\"),jQuery(\".dslca-options-filter-hook\").hasClass(\"dslca-active\")){var x=jQuery(\".dslca-options-filter-hook.dslca-active\").data(\"section\");jQuery('.dslca-module-edit-option[data-section=\"'+x+'\"]').hasClass(\"dep-show\")&&jQuery(\".dslca-module-edit-option.dep-show\").show(),jQuery('.dslca-module-edit-option[data-section=\"'+x+'\"]').hasClass(\"dep-hide\")&&jQuery(\".dslca-module-edit-option.dep-hide\").hide()}if(jQuery(\".dslca-module-edit-options-tab-hook\").hasClass(\"dslca-active\")){var S=jQuery(\".dslca-module-edit-options-tab-hook.dslca-active\").data(\"id\");jQuery('.dslca-module-edit-option[data-tab=\"'+S+'\"]').hasClass(\"dependent\")?(jQuery(\".dslca-module-edit-option.dependent\").hide(),jQuery('.dslca-module-edit-option[data-tab=\"'+S+'\"].dep-show').show(),jQuery('.dslca-module-edit-option[data-tab=\"'+S+'\"].dep-hide').hide()):jQuery(\".dslca-module-edit-option.dependent\").hide()}}function C(e){window.dslcDebug&&console.log(\"dslc_module_options_confirm_changes\"),e=void 0!==e&&e,jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument).hasClass(\"dslc-module-DSLC_Sliders\")?jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"):(jQuery(\"body\").addClass(\"dslca-module-saving-in-progress\"),Ko((function(){a(),window.dslc_generate_code(),jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"),jQuery(\"body\").removeClass(\"dslca-module-saving-in-progress\"),jQuery(\".dslca-module-edit-options-inner\").html(\"\"),jQuery(\".dslca-module-edit-options-tabs\").html(\"\"),window.LiveComposer.Builder.UI.clearUtils(),e&&e()}))),Et(\".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(),window.dslc_show_publish_button()}function k(e){window.dslcDebug&&console.log(\"dslc_module_options_cancel_changes\"),e=void 0!==e&&e;var t=jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument);jQuery(\".dslca-module-options-front\",t).html(\"\").append(window.LiveComposer.Builder.moduleBackup),Ko((function(){window.dslc_generate_code(),jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"),jQuery(\".dslca-module-edit-options-inner\").html(\"\"),jQuery(\".dslca-module-edit-options-tabs\").html(\"\"),window.LiveComposer.Builder.UI.clearUtils(),e&&e()})),Et(\".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(),window.dslc_show_publish_button(),window.LiveComposer.Builder.UI.clearUtils()}function D(e,t){var o=jQuery(e).closest(\".dslca-module-edit-option-icon\"),i=jQuery(\".dslca-module-edit-field-icon\",o),n=v.indexOf(i.val());if(\"previous\"==t)var a=n-1;else a=n+1;jQuery(\".dslca-module-edit-field-icon-suggest\",o).text(\"\"),a<0&&(a=v.length-1),i.val(v[a]).trigger(\"change\")}function L(e){var t,o,i,n,a,s;window.dslcDebug&&console.log(\"dslc_module_options_color\");var d,r=[],l=\"dslcColors-\"+document.domain;void 0!==localStorage[l]&&(d=JSON.parse(localStorage[l]),r=d),1>r.length&&r.push(\"#78b\"),2>r.length&&r.push(\"#ab0\"),3>r.length&&r.push(\"#de3\"),r.push(\"#fff\"),r.push(\"#000\"),r.push(\"rgba(0,0,0,0)\"),jQuery(e).each((function(){var e=jQuery(this).closest(\".dslca-color-option\"),d=jQuery(this);jQuery(this).val(),d.wpColorPicker({mode:\"hsl\",palettes:r,change:function(e,r){t=d;var l=d.wpColorPicker(\"color\");n=null==l?\"\":l,t.val(n).trigger(\"change\"),t.css(\"background\",n),o=t.data(\"affect-on-change-el\"),i=t.data(\"affect-on-change-rule\"),null!=o&&\".dslca-modules-section-being-edited\"!==o&&jQuery(o,window.LiveComposer.Builder.PreviewAreaDocument.find(\".dslca-module-being-edited\")).css(i,n),a=jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument),s=t.data(\"id\"),jQuery('.dslca-module-option-front[data-id=\"'+s+'\"]',a).val(n),a.addClass(\"dslca-module-change-made\")}}),e.find(\".wp-picker-holder .iris-picker\").append('<button type=\"button\" class=\"dslca-colorpicker-apply\">Apply</button>');var c=e.find(\".dslca-colorpicker-apply\");d.wpColorPicker(\"open\"),jQuery(c).on(\"click\",(function(){if(\"#fff\"!==n&&\"#ffffff\"!==n&&\"#000\"!==n&&\"#000000\"!==n&&\"rgba(0,0,0,0)\"!==n)if(void 0===localStorage[l]){var e=[n];localStorage[l]=JSON.stringify(e)}else{-1==(e=JSON.parse(localStorage[l])).indexOf(n)&&(e.unshift(n),3<e.length&&e.pop()),localStorage[l]=JSON.stringify(e)}d.wpColorPicker(\"close\")})),window.LiveComposer.Builder.Helpers.colorpickers.push(jQuery(this))}))}function x(e){window.dslcDebug&&console.log(\"dslc_module_options_numeric\"),jQuery(e).each((function(){var e=jQuery(this);0===jQuery(\".dslca-module-edit-field-slider\",e).length&&e.append('<div class=\"dslca-module-edit-field-slider\"></div>');var t=!0;if(t=!e.hasClass(\"dslca-modules-section-edit-option\"))var o=e.find(\".dslca-module-edit-field\");else o=e.find(\".dslca-modules-section-edit-field\");if(e.hasClass(\"dslca-modules-section-edit-option\"))o=e.find(\".dslca-modules-section-edit-field\");else o=e.find(\".dslca-module-edit-field\");var i=e.find(\".dslca-module-edit-field-slider\"),n=parseFloat(o.val()),a=parseFloat(o.data(\"max\")),s=parseFloat(o.data(\"min\")),d=parseFloat(o.data(\"increment\")),r=!1;if(void 0!==o.data(\"onlypositive\")&&1===o.data(\"onlypositive\")&&(r=!0),n>=a&&(a=2*n),!r&&n<=s&&(s=2*n),i.slider({min:s,max:a,step:d,value:o.val(),slide:function(e,t){o.val(t.value+\"\"),o.trigger(\"change\")},change:function(t,o){(o.value>=a||o.value<=s)&&(i.slider(\"destroy\"),x(e))}}),i.show(),jQuery(e).on(\"mouseleave\",(function(){void 0!==i.slider(\"instance\")&&jQuery(i).slider(\"destroy\"),i.remove()})),!o[0].classList.contains(\"slider-initiated\"))return o[0].classList.add(\"slider-initiated\"),o.on(\"keyup\",(function(e){if(void 0===e)return!1;e.shiftKey&&(38==e.keyCode&&(this.value=(parseInt(this.value)||0)+9,o.trigger(\"change\")),40==e.keyCode&&(this.value=parseInt(this.value)+0-9,o.trigger(\"change\"))),8!=e.keyCode&&45!=e.keyCode||o.trigger(\"change\"),(e.keyCode>=48&&e.keyCode<=57||e.keyCode>=96&&e.keyCode<=105)&&o.trigger(\"change\");var t=e.which?e.which:e.keyCode;return(!(t>=48&&t<=57||t>=96&&t<=105)||8==e.keyCode||39==e.keyCode||37==e.keyCode||46==e.keyCode)&&void 0})),o.on(\"change\",(function(e){r&&this.value<0&&(this.value=0);var o=(t?jQuery(e.target.closest(\".dslca-module-edit-option-slider\")):jQuery(e.target.closest(\".dslca-modules-section-edit-option-slider\"))).find(\".dslca-module-edit-field-slider\");(void 0!==o.slider(\"instance\")&&o.slider(\"value\",this.value),t)&&jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslca-module-change-made\")})),!1}))}function S(){jQuery(\"html\").removeClass(\"dslc-responsive-preview\"),jQuery(\"body\").removeClass(\"dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet\")}\n/**!\n * Sortable 1.10.1\n * @author\tRubaXa <trash@rubaxa.org>\n * @author\towenm <owen23355@gmail.com>\n * @license MIT\n */\nfunction B(e){return(B=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function A(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(e[i]=o[i])}return e}).apply(this,arguments)}function E(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},i=Object.keys(o);\"function\"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(o).filter((function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable})))),i.forEach((function(t){A(e,t,o[t])}))}return e}function O(e,t){if(null==e)return{};var o,i,n=function(e,t){if(null==e)return{};var o,i,n={},a=Object.keys(e);for(i=0;i<a.length;i++)o=a[i],t.indexOf(o)>=0||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)o=a[i],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function T(e){if(\"undefined\"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var I=T(/(?:Trident.*rv[ :]?11\\.|msie|iemobile|Windows Phone)/i),M=T(/Edge/i),N=T(/firefox/i),F=T(/safari/i)&&!T(/chrome/i)&&!T(/android/i),W=T(/iP(ad|od|hone)/i),U=T(/chrome/i)&&T(/android/i),H={capture:!1,passive:!1};function z(e,t,o){e.addEventListener(t,o,!I&&H)}function R(e,t,o){e.removeEventListener(t,o,!I&&H)}function q(e,t){if(t){if(\">\"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function X(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Y(e,t,o,i){if(e){o=o||document;do{if(null!=t&&(\">\"===t[0]?e.parentNode===o&&q(e,t):q(e,t))||i&&e===o)return e;if(e===o)break}while(e=X(e))}return null}var J,G=/\\s+/g;function K(e,t,o){if(e&&t)if(e.classList)e.classList[o?\"add\":\"remove\"](t);else{var i=(\" \"+e.className+\" \").replace(G,\" \").replace(\" \"+t+\" \",\" \");e.className=(i+(o?\" \"+t:\"\")).replace(G,\" \")}}function V(e,t,o){var i=e&&e.style;if(i){if(void 0===o)return document.defaultView&&document.defaultView.getComputedStyle?o=document.defaultView.getComputedStyle(e,\"\"):e.currentStyle&&(o=e.currentStyle),void 0===t?o:o[t];t in i||-1!==t.indexOf(\"webkit\")||(t=\"-webkit-\"+t),i[t]=o+(\"string\"==typeof o?\"\":\"px\")}}function $(e,t){var o=\"\";if(\"string\"==typeof e)o=e;else do{var i=V(e,\"transform\");i&&\"none\"!==i&&(o=i+\" \"+o)}while(!t&&(e=e.parentNode));var n=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix;return n&&new n(o)}function Z(e,t,o){if(e){var i=e.getElementsByTagName(t),n=0,a=i.length;if(o)for(;n<a;n++)o(i[n],n);return i}return[]}function ee(){return I?document.documentElement:document.scrollingElement}function te(e,t,o,i,n){if(e.getBoundingClientRect||e===window){var a,s,d,r,l,c,u;if(e!==window&&e!==ee()?(s=(a=e.getBoundingClientRect()).top,d=a.left,r=a.bottom,l=a.right,c=a.height,u=a.width):(s=0,d=0,r=window.innerHeight,l=window.innerWidth,c=window.innerHeight,u=window.innerWidth),(t||o)&&e!==window&&(n=n||e.parentNode,!I))do{if(n&&n.getBoundingClientRect&&(\"none\"!==V(n,\"transform\")||o&&\"static\"!==V(n,\"position\"))){var m=n.getBoundingClientRect();s-=m.top+parseInt(V(n,\"border-top-width\")),d-=m.left+parseInt(V(n,\"border-left-width\")),r=s+a.height,l=d+a.width;break}}while(n=n.parentNode);if(i&&e!==window){var p=$(n||e),h=p&&p.a,f=p&&p.d;p&&(r=(s/=f)+(c/=f),l=(d/=h)+(u/=h))}return{top:s,left:d,bottom:r,right:l,width:u,height:c}}}function oe(e,t,o){for(var i=de(e,!0),n=te(e)[t];i;){var a=te(i)[o];if(!(\"top\"===o||\"left\"===o?n>=a:n<=a))return i;if(i===ee())break;i=de(i,!1)}return!1}function ie(e,t,o){for(var i=0,n=0,a=e.children;n<a.length;){if(\"none\"!==a[n].style.display&&a[n]!==ct.ghost&&a[n]!==ct.dragged&&Y(a[n],o.draggable,e,!1)){if(i===t)return a[n];i++}n++}return null}function ne(e,t){for(var o=e.lastElementChild;o&&(o===ct.ghost||\"none\"===V(o,\"display\")||t&&!q(o,t));)o=o.previousElementSibling;return o||null}function ae(e,t){var o=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)\"TEMPLATE\"===e.nodeName.toUpperCase()||e===ct.clone||t&&!q(e,t)||o++;return o}function se(e){var t=0,o=0,i=ee();if(e)do{var n=$(e),a=n.a,s=n.d;t+=e.scrollLeft*a,o+=e.scrollTop*s}while(e!==i&&(e=e.parentNode));return[t,o]}function de(e,t){if(!e||!e.getBoundingClientRect)return ee();var o=e,i=!1;do{if(o.clientWidth<o.scrollWidth||o.clientHeight<o.scrollHeight){var n=V(o);if(o.clientWidth<o.scrollWidth&&(\"auto\"==n.overflowX||\"scroll\"==n.overflowX)||o.clientHeight<o.scrollHeight&&(\"auto\"==n.overflowY||\"scroll\"==n.overflowY)){if(!o.getBoundingClientRect||o===document.body)return ee();if(i||t)return o;i=!0}}}while(o=o.parentNode);return ee()}function re(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function le(e,t){return function(){if(!J){var o=arguments,i=this;1===o.length?e.call(i,o[0]):e.apply(i,o),J=setTimeout((function(){J=void 0}),t)}}}function ce(e,t,o){e.scrollLeft+=t,e.scrollTop+=o}function ue(e){var t=window.Polymer,o=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):o?o(e).clone(!0)[0]:e.cloneNode(!0)}var me=\"Sortable\"+(new Date).getTime();function pe(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if(\"none\"!==V(e,\"display\")&&e!==ct.ghost){t.push({target:e,rect:te(e)});var o=E({},t[t.length-1].rect);if(e.thisAnimationDuration){var i=$(e,!0);i&&(o.top-=i.f,o.left-=i.e)}e.fromRect=o}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var o in e)if(e.hasOwnProperty(o))for(var i in t)if(t.hasOwnProperty(i)&&t[i]===e[o][i])return Number(o);return-1}(t,{target:e}),1)},animateAll:function(o){var i=this;if(!this.options.animation)return clearTimeout(e),void(\"function\"==typeof o&&o());var n=!1,a=0;t.forEach((function(e){var t=0,o=e.target,s=o.fromRect,d=te(o),r=o.prevFromRect,l=o.prevToRect,c=e.rect,u=$(o,!0);u&&(d.top-=u.f,d.left-=u.e),o.toRect=d,o.thisAnimationDuration&&re(r,d)&&!re(s,d)&&(c.top-d.top)/(c.left-d.left)==(s.top-d.top)/(s.left-d.left)&&(t=function(e,t,o,i){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-o.top,2)+Math.pow(t.left-o.left,2))*i.animation}(c,r,l,i.options)),re(d,s)||(o.prevFromRect=s,o.prevToRect=d,t||(t=i.options.animation),i.animate(o,c,d,t)),t&&(n=!0,a=Math.max(a,t),clearTimeout(o.animationResetTimer),o.animationResetTimer=setTimeout((function(){o.animationTime=0,o.prevFromRect=null,o.fromRect=null,o.prevToRect=null,o.thisAnimationDuration=null}),t),o.thisAnimationDuration=t)})),clearTimeout(e),n?e=setTimeout((function(){\"function\"==typeof o&&o()}),a):\"function\"==typeof o&&o(),t=[]},animate:function(e,t,o,i){if(i){V(e,\"transition\",\"\"),V(e,\"transform\",\"\");var n=$(this.el),a=n&&n.a,s=n&&n.d,d=(t.left-o.left)/(a||1),r=(t.top-o.top)/(s||1);e.animatingX=!!d,e.animatingY=!!r,V(e,\"transform\",\"translate3d(\"+d+\"px,\"+r+\"px,0)\"),function(e){e.offsetWidth}(e),V(e,\"transition\",\"transform \"+i+\"ms\"+(this.options.easing?\" \"+this.options.easing:\"\")),V(e,\"transform\",\"translate3d(0,0,0)\"),\"number\"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){V(e,\"transition\",\"\"),V(e,\"transform\",\"\"),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),i)}}}}var he=[],fe={initializeByDefault:!0},ve={mount:function(e){for(var t in fe)!fe.hasOwnProperty(t)||t in e||(e[t]=fe[t]);he.push(e)},pluginEvent:function(e,t,o){var i=this;this.eventCanceled=!1,o.cancel=function(){i.eventCanceled=!0};var n=e+\"Global\";he.forEach((function(i){t[i.pluginName]&&(t[i.pluginName][n]&&t[i.pluginName][n](E({sortable:t},o)),t.options[i.pluginName]&&t[i.pluginName][e]&&t[i.pluginName][e](E({sortable:t},o)))}))},initializePlugins:function(e,t,o,i){for(var n in he.forEach((function(i){var n=i.pluginName;if(e.options[n]||i.initializeByDefault){var a=new i(e,t,e.options);a.sortable=e,a.options=e.options,e[n]=a,P(o,a.defaults)}})),e.options)if(e.options.hasOwnProperty(n)){var a=this.modifyOption(e,n,e.options[n]);void 0!==a&&(e.options[n]=a)}},getEventProperties:function(e,t){var o={};return he.forEach((function(i){\"function\"==typeof i.eventProperties&&P(o,i.eventProperties.call(t[i.pluginName],e))})),o},modifyOption:function(e,t,o){var i;return he.forEach((function(n){e[n.pluginName]&&n.optionListeners&&\"function\"==typeof n.optionListeners[t]&&(i=n.optionListeners[t].call(e[n.pluginName],o))})),i}};function ge(e){var t=e.sortable,o=e.rootEl,i=e.name,n=e.targetEl,a=e.cloneEl,s=e.toEl,d=e.fromEl,r=e.oldIndex,l=e.newIndex,c=e.oldDraggableIndex,u=e.newDraggableIndex,m=e.originalEvent,p=e.putSortable,h=e.extraEventProperties;if(t=t||o&&o[me]){var f,v=t.options,g=\"on\"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||I||M?(f=document.createEvent(\"Event\")).initEvent(i,!0,!0):f=new CustomEvent(i,{bubbles:!0,cancelable:!0}),f.to=s||o,f.from=d||o,f.item=n||o,f.clone=a,f.oldIndex=r,f.newIndex=l,f.oldDraggableIndex=c,f.newDraggableIndex=u,f.originalEvent=m,f.pullMode=p?p.lastPutMode:void 0;var y=E({},h,ve.getEventProperties(i,t));for(var w in y)f[w]=y[w];o&&o.dispatchEvent(f),v[g]&&v[g].call(t,f)}}var ye=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=o.evt,n=O(o,[\"evt\"]);ve.pluginEvent.bind(ct)(e,t,E({dragEl:be,parentEl:je,ghostEl:Qe,rootEl:_e,nextEl:Ce,lastDownEl:ke,cloneEl:De,cloneHidden:Le,dragStarted:We,putSortable:Ee,activeSortable:ct.active,originalEvent:i,oldIndex:xe,oldDraggableIndex:Be,newIndex:Se,newDraggableIndex:Ae,hideGhostForTarget:st,unhideGhostForTarget:dt,cloneNowHidden:function(){Le=!0},cloneNowShown:function(){Le=!1},dispatchSortableEvent:function(e){we({sortable:t,name:e,originalEvent:i})}},n))};function we(e){ge(E({putSortable:Ee,cloneEl:De,targetEl:be,rootEl:_e,oldIndex:xe,oldDraggableIndex:Be,newIndex:Se,newDraggableIndex:Ae},e))}var be,je,Qe,_e,Ce,ke,De,Le,xe,Se,Be,Ae,Pe,Ee,Oe,Te,Ie,Me,Ne,Fe,We,Ue,He,ze,Re,qe=!1,Xe=!1,Ye=[],Je=!1,Ge=!1,Ke=[],Ve=!1,$e=[],Ze=\"undefined\"!=typeof document,et=W,tt=M||I?\"cssFloat\":\"float\",ot=Ze&&!U&&!W&&\"draggable\"in document.createElement(\"div\"),it=function(){if(Ze){if(I)return!1;var e=document.createElement(\"x\");return e.style.cssText=\"pointer-events:auto\",\"auto\"===e.style.pointerEvents}}(),nt=function(e,t){var o=V(e),i=parseInt(o.width)-parseInt(o.paddingLeft)-parseInt(o.paddingRight)-parseInt(o.borderLeftWidth)-parseInt(o.borderRightWidth),n=ie(e,0,t),a=ie(e,1,t),s=n&&V(n),d=a&&V(a),r=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+te(n).width,l=d&&parseInt(d.marginLeft)+parseInt(d.marginRight)+te(a).width;if(\"flex\"===o.display)return\"column\"===o.flexDirection||\"column-reverse\"===o.flexDirection?\"vertical\":\"horizontal\";if(\"grid\"===o.display)return o.gridTemplateColumns.split(\" \").length<=1?\"vertical\":\"horizontal\";if(n&&s.float&&\"none\"!==s.float){var c=\"left\"===s.float?\"left\":\"right\";return!a||\"both\"!==d.clear&&d.clear!==c?\"horizontal\":\"vertical\"}return n&&(\"block\"===s.display||\"flex\"===s.display||\"table\"===s.display||\"grid\"===s.display||r>=i&&\"none\"===o[tt]||a&&\"none\"===o[tt]&&r+l>i)?\"vertical\":\"horizontal\"},at=function(e){function t(e,o){return function(i,n,a,s){var d=i.options.group.name&&n.options.group.name&&i.options.group.name===n.options.group.name;if(null==e&&(o||d))return!0;if(null==e||!1===e)return!1;if(o&&\"clone\"===e)return e;if(\"function\"==typeof e)return t(e(i,n,a,s),o)(i,n,a,s);var r=(o?i:n).options.group.name;return!0===e||\"string\"==typeof e&&e===r||e.join&&e.indexOf(r)>-1}}var o={},i=e.group;i&&\"object\"==B(i)||(i={name:i}),o.name=i.name,o.checkPull=t(i.pull,!0),o.checkPut=t(i.put),o.revertClone=i.revertClone,e.group=o},st=function(){!it&&Qe&&V(Qe,\"display\",\"none\")},dt=function(){!it&&Qe&&V(Qe,\"display\",\"\")};Ze&&document.addEventListener(\"click\",(function(e){if(Xe)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Xe=!1,!1}),!0);var rt=function(e){if(be){e=e.touches?e.touches[0]:e;var t=(n=e.clientX,a=e.clientY,Ye.some((function(e){if(!ne(e)){var t=te(e),o=e[me].options.emptyInsertThreshold,i=n>=t.left-o&&n<=t.right+o,d=a>=t.top-o&&a<=t.bottom+o;return o&&i&&d?s=e:void 0}})),s);if(t){var o={};for(var i in e)e.hasOwnProperty(i)&&(o[i]=e[i]);o.target=o.rootEl=t,o.preventDefault=void 0,o.stopPropagation=void 0,t[me]._onDragOver(o)}}var n,a,s},lt=function(e){be&&be.parentNode[me]._isOutsideThisEl(e.target)};function ct(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw\"Sortable: `el` must be an HTMLElement, not \".concat({}.toString.call(e));this.el=e,this.options=t=P({},t),e[me]=this;var o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?\">li\":\">*\",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return nt(e,this.options)},ghostClass:\"sortable-ghost\",chosenClass:\"sortable-chosen\",dragClass:\"sortable-drag\",ignore:\"a, img\",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData(\"Text\",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:\"data-id\",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:\"sortable-fallback\",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==ct.supportPointer&&\"PointerEvent\"in window,emptyInsertThreshold:5};for(var i in ve.initializePlugins(this,e,o),o)!(i in t)&&(t[i]=o[i]);for(var n in at(t),this)\"_\"===n.charAt(0)&&\"function\"==typeof this[n]&&(this[n]=this[n].bind(this));this.nativeDraggable=!t.forceFallback&&ot,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?z(e,\"pointerdown\",this._onTapStart):(z(e,\"mousedown\",this._onTapStart),z(e,\"touchstart\",this._onTapStart)),this.nativeDraggable&&(z(e,\"dragover\",this),z(e,\"dragenter\",this)),Ye.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),P(this,pe())}function ut(e,t,o,i,n,a,s,d){var r,l,c=e[me],u=c.options.onMove;return!window.CustomEvent||I||M?(r=document.createEvent(\"Event\")).initEvent(\"move\",!0,!0):r=new CustomEvent(\"move\",{bubbles:!0,cancelable:!0}),r.to=t,r.from=e,r.dragged=o,r.draggedRect=i,r.related=n||t,r.relatedRect=a||te(t),r.willInsertAfter=d,r.originalEvent=s,e.dispatchEvent(r),u&&(l=u.call(c,r,s)),l}function mt(e){e.draggable=!1}function pt(){Ve=!1}function ht(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,o=t.length,i=0;o--;)i+=t.charCodeAt(o);return i.toString(36)}function ft(e){return setTimeout(e,0)}function vt(e){return clearTimeout(e)}ct.prototype={constructor:ct,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(Ue=null)},_getDirection:function(e,t){return\"function\"==typeof this.options.direction?this.options.direction.call(this,e,t,be):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,o=this.el,i=this.options,n=i.preventOnFilter,a=e.type,s=e.touches&&e.touches[0]||e.pointerType&&\"touch\"===e.pointerType&&e,d=(s||e).target,r=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||d,l=i.filter;if(function(e){$e.length=0;var t=e.getElementsByTagName(\"input\"),o=t.length;for(;o--;){var i=t[o];i.checked&&$e.push(i)}}(o),!be&&!(/mousedown|pointerdown/.test(a)&&0!==e.button||i.disabled||r.isContentEditable||(d=Y(d,i.draggable,o,!1))&&d.animated||ke===d)){if(xe=ae(d),Be=ae(d,i.draggable),\"function\"==typeof l){if(l.call(this,e,d,this))return we({sortable:t,rootEl:r,name:\"filter\",targetEl:d,toEl:o,fromEl:o}),ye(\"filter\",t,{evt:e}),void(n&&e.cancelable&&e.preventDefault())}else if(l&&(l=l.split(\",\").some((function(i){if(i=Y(r,i.trim(),o,!1))return we({sortable:t,rootEl:i,name:\"filter\",targetEl:d,fromEl:o,toEl:o}),ye(\"filter\",t,{evt:e}),!0}))))return void(n&&e.cancelable&&e.preventDefault());i.handle&&!Y(r,i.handle,o,!1)||this._prepareDragStart(e,s,d)}}},_prepareDragStart:function(e,t,o){var i,n=this,a=n.el,s=n.options,d=a.ownerDocument;if(o&&!be&&o.parentNode===a){var r=te(o);if(_e=a,je=(be=o).parentNode,Ce=be.nextSibling,ke=o,Pe=s.group,ct.dragged=be,Oe={target:be,clientX:(t||e).clientX,clientY:(t||e).clientY},Ne=Oe.clientX-r.left,Fe=Oe.clientY-r.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,be.style[\"will-change\"]=\"all\",i=function(){ye(\"delayEnded\",n,{evt:e}),ct.eventCanceled?n._onDrop():(n._disableDelayedDragEvents(),!N&&n.nativeDraggable&&(be.draggable=!0),n._triggerDragStart(e,t),we({sortable:n,name:\"choose\",originalEvent:e}),K(be,s.chosenClass,!0))},s.ignore.split(\",\").forEach((function(e){Z(be,e.trim(),mt)})),z(d,\"dragover\",rt),z(d,\"mousemove\",rt),z(d,\"touchmove\",rt),z(d,\"mouseup\",n._onDrop),z(d,\"touchend\",n._onDrop),z(d,\"touchcancel\",n._onDrop),N&&this.nativeDraggable&&(this.options.touchStartThreshold=4,be.draggable=!0),ye(\"delayStart\",this,{evt:e}),!s.delay||s.delayOnTouchOnly&&!t||this.nativeDraggable&&(M||I))i();else{if(ct.eventCanceled)return void this._onDrop();z(d,\"mouseup\",n._disableDelayedDrag),z(d,\"touchend\",n._disableDelayedDrag),z(d,\"touchcancel\",n._disableDelayedDrag),z(d,\"mousemove\",n._delayedDragTouchMoveHandler),z(d,\"touchmove\",n._delayedDragTouchMoveHandler),s.supportPointer&&z(d,\"pointermove\",n._delayedDragTouchMoveHandler),n._dragStartTimer=setTimeout(i,s.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){be&&mt(be),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;R(e,\"mouseup\",this._disableDelayedDrag),R(e,\"touchend\",this._disableDelayedDrag),R(e,\"touchcancel\",this._disableDelayedDrag),R(e,\"mousemove\",this._delayedDragTouchMoveHandler),R(e,\"touchmove\",this._delayedDragTouchMoveHandler),R(e,\"pointermove\",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||\"touch\"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?z(document,\"pointermove\",this._onTouchMove):z(document,t?\"touchmove\":\"mousemove\",this._onTouchMove):(z(be,\"dragend\",this),z(_e,\"dragstart\",this._onDragStart));try{document.selection?ft((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(qe=!1,_e&&be){ye(\"dragStarted\",this,{evt:t}),this.nativeDraggable&&z(document,\"dragover\",lt);var o=this.options;!e&&K(be,o.dragClass,!1),K(be,o.ghostClass,!0),ct.active=this,e&&this._appendGhost(),we({sortable:this,name:\"start\",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Te){this._lastX=Te.clientX,this._lastY=Te.clientY,st();for(var e=document.elementFromPoint(Te.clientX,Te.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Te.clientX,Te.clientY))!==t;)t=e;if(be.parentNode[me]._isOutsideThisEl(e),t)do{if(t[me]){if(t[me]._onDragOver({clientX:Te.clientX,clientY:Te.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);dt()}},_onTouchMove:function(e){if(Oe){var t=this.options,o=t.fallbackTolerance,i=t.fallbackOffset,n=e.touches?e.touches[0]:e,a=Qe&&$(Qe),s=Qe&&a&&a.a,d=Qe&&a&&a.d,r=et&&Re&&se(Re),l=(n.clientX-Oe.clientX+i.x)/(s||1)+(r?r[0]-Ke[0]:0)/(s||1),c=(n.clientY-Oe.clientY+i.y)/(d||1)+(r?r[1]-Ke[1]:0)/(d||1);if(!ct.active&&!qe){if(o&&Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))<o)return;this._onDragStart(e,!0)}if(Qe){a?(a.e+=l-(Ie||0),a.f+=c-(Me||0)):a={a:1,b:0,c:0,d:1,e:l,f:c};var u=\"matrix(\".concat(a.a,\",\").concat(a.b,\",\").concat(a.c,\",\").concat(a.d,\",\").concat(a.e,\",\").concat(a.f,\")\");V(Qe,\"webkitTransform\",u),V(Qe,\"mozTransform\",u),V(Qe,\"msTransform\",u),V(Qe,\"transform\",u),Ie=l,Me=c,Te=n}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Qe){var e=this.options.fallbackOnBody?document.body:_e,t=te(be,!0,et,!0,e),o=this.options;if(et){for(Re=e;\"static\"===V(Re,\"position\")&&\"none\"===V(Re,\"transform\")&&Re!==document;)Re=Re.parentNode;Re!==document.body&&Re!==document.documentElement?(Re===document&&(Re=ee()),t.top+=Re.scrollTop,t.left+=Re.scrollLeft):Re=ee(),Ke=se(Re)}K(Qe=be.cloneNode(!0),o.ghostClass,!1),K(Qe,o.fallbackClass,!0),K(Qe,o.dragClass,!0),V(Qe,\"transition\",\"\"),V(Qe,\"transform\",\"\"),V(Qe,\"box-sizing\",\"border-box\"),V(Qe,\"margin\",0),V(Qe,\"top\",t.top),V(Qe,\"left\",t.left),V(Qe,\"width\",t.width),V(Qe,\"height\",t.height),V(Qe,\"opacity\",\"0.8\"),V(Qe,\"position\",et?\"absolute\":\"fixed\"),V(Qe,\"zIndex\",\"100000\"),V(Qe,\"pointerEvents\",\"none\"),ct.ghost=Qe,e.appendChild(Qe),V(Qe,\"transform-origin\",Ne/parseInt(Qe.style.width)*100+\"% \"+Fe/parseInt(Qe.style.height)*100+\"%\")}},_onDragStart:function(e,t){var o=this,i=e.dataTransfer,n=o.options;ye(\"dragStart\",this,{evt:e}),ct.eventCanceled?this._onDrop():(ye(\"setupClone\",this),ct.eventCanceled||((De=ue(be)).draggable=!1,De.style[\"will-change\"]=\"\",this._hideClone(),K(De,this.options.chosenClass,!1),ct.clone=De),o.cloneId=ft((function(){ye(\"clone\",o),ct.eventCanceled||(o.options.removeCloneOnHide||_e.insertBefore(De,be),o._hideClone(),we({sortable:o,name:\"clone\"}))})),!t&&K(be,n.dragClass,!0),t?(Xe=!0,o._loopId=setInterval(o._emulateDragOver,50)):(R(document,\"mouseup\",o._onDrop),R(document,\"touchend\",o._onDrop),R(document,\"touchcancel\",o._onDrop),i&&(i.effectAllowed=\"move\",n.setData&&n.setData.call(o,i,be)),z(document,\"drop\",o),V(be,\"transform\",\"translateZ(0)\")),qe=!0,o._dragStartId=ft(o._dragStarted.bind(o,t,e)),z(document,\"selectstart\",o),We=!0,F&&V(document.body,\"user-select\",\"none\"))},_onDragOver:function(e){var t,o,i,n,a=this.el,s=e.target,d=this.options,r=d.group,l=ct.active,c=Pe===r,u=d.sort,m=Ee||l,p=this,h=!1;if(!Ve){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),s=Y(s,d.draggable,a,!0),x(\"dragOver\"),ct.eventCanceled)return h;if(be.contains(e.target)||s.animated&&s.animatingX&&s.animatingY||p._ignoreWhileAnimating===s)return B(!1);if(Xe=!1,l&&!d.disabled&&(c?u||(i=!_e.contains(be)):Ee===this||(this.lastPutMode=Pe.checkPull(this,l,be,e))&&r.checkPut(this,l,be,e))){if(n=\"vertical\"===this._getDirection(e,s),t=te(be),x(\"dragOverValid\"),ct.eventCanceled)return h;if(i)return je=_e,S(),this._hideClone(),x(\"revert\"),ct.eventCanceled||(Ce?_e.insertBefore(be,Ce):_e.appendChild(be)),B(!0);var f=ne(a,d.draggable);if(!f||function(e,t,o){var i=te(ne(o.el,o.options.draggable));return t?e.clientX>i.right+10||e.clientX<=i.right&&e.clientY>i.bottom&&e.clientX>=i.left:e.clientX>i.right&&e.clientY>i.top||e.clientX<=i.right&&e.clientY>i.bottom+10}(e,n,this)&&!f.animated){if(f===be)return B(!1);if(f&&a===e.target&&(s=f),s&&(o=te(s)),!1!==ut(_e,a,be,t,s,o,e,!!s))return S(),a.appendChild(be),je=a,A(),B(!0)}else if(s.parentNode===a){o=te(s);var v,g,y,w=be.parentNode!==a,b=!function(e,t,o){var i=o?e.left:e.top,n=o?e.right:e.bottom,a=o?e.width:e.height,s=o?t.left:t.top,d=o?t.right:t.bottom,r=o?t.width:t.height;return i===s||n===d||i+a/2===s+r/2}(be.animated&&be.toRect||t,s.animated&&s.toRect||o,n),j=n?\"top\":\"left\",Q=oe(s,\"top\",\"top\")||oe(be,\"top\",\"top\"),_=Q?Q.scrollTop:void 0;if(Ue!==s&&(g=o[j],Je=!1,Ge=!b&&d.invertSwap||w),0!==(v=function(e,t,o,i,n,a,s,d){var r=i?e.clientY:e.clientX,l=i?o.height:o.width,c=i?o.top:o.left,u=i?o.bottom:o.right,m=!1;if(!s)if(d&&ze<l*n){if(!Je&&(1===He?r>c+l*a/2:r<u-l*a/2)&&(Je=!0),Je)m=!0;else if(1===He?r<c+ze:r>u-ze)return-He}else if(r>c+l*(1-n)/2&&r<u-l*(1-n)/2)return function(e){return ae(be)<ae(e)?1:-1}(t);if((m=m||s)&&(r<c+l*a/2||r>u-l*a/2))return r>c+l/2?1:-1;return 0}(e,s,o,n,b?1:d.swapThreshold,null==d.invertedSwapThreshold?d.swapThreshold:d.invertedSwapThreshold,Ge,Ue===s))){var C=ae(be);do{C-=v,y=je.children[C]}while(y&&(\"none\"===V(y,\"display\")||y===Qe))}if(0===v||y===s)return B(!1);Ue=s,He=v;var k=s.nextElementSibling,D=!1,L=ut(_e,a,be,t,s,o,e,D=1===v);if(!1!==L)return 1!==L&&-1!==L||(D=1===L),Ve=!0,setTimeout(pt,30),S(),D&&!k?a.appendChild(be):s.parentNode.insertBefore(be,D?k:s),Q&&ce(Q,0,_-Q.scrollTop),je=be.parentNode,void 0===g||Ge||(ze=Math.abs(g-te(s)[j])),A(),B(!0)}if(a.contains(be))return B(!1)}return!1}function x(d,r){ye(d,p,E({evt:e,isOwner:c,axis:n?\"vertical\":\"horizontal\",revert:i,dragRect:t,targetRect:o,canSort:u,fromSortable:m,target:s,completed:B,onMove:function(o,i){return ut(_e,a,be,t,o,te(o),e,i)},changed:A},r))}function S(){x(\"dragOverAnimationCapture\"),p.captureAnimationState(),p!==m&&m.captureAnimationState()}function B(t){return x(\"dragOverCompleted\",{insertion:t}),t&&(c?l._hideClone():l._showClone(p),p!==m&&(K(be,Ee?Ee.options.ghostClass:l.options.ghostClass,!1),K(be,d.ghostClass,!0)),Ee!==p&&p!==ct.active?Ee=p:p===ct.active&&Ee&&(Ee=null),m===p&&(p._ignoreWhileAnimating=s),p.animateAll((function(){x(\"dragOverAnimationComplete\"),p._ignoreWhileAnimating=null})),p!==m&&(m.animateAll(),m._ignoreWhileAnimating=null)),(s===be&&!be.animated||s===a&&!s.animated)&&(Ue=null),d.dragoverBubble||e.rootEl||s===document||(be.parentNode[me]._isOutsideThisEl(e.target),!t&&rt(e)),!d.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),h=!0}function A(){Se=ae(be),Ae=ae(be,d.draggable),we({sortable:p,name:\"change\",toEl:a,newIndex:Se,newDraggableIndex:Ae,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){R(document,\"mousemove\",this._onTouchMove),R(document,\"touchmove\",this._onTouchMove),R(document,\"pointermove\",this._onTouchMove),R(document,\"dragover\",rt),R(document,\"mousemove\",rt),R(document,\"touchmove\",rt)},_offUpEvents:function(){var e=this.el.ownerDocument;R(e,\"mouseup\",this._onDrop),R(e,\"touchend\",this._onDrop),R(e,\"pointerup\",this._onDrop),R(e,\"touchcancel\",this._onDrop),R(document,\"selectstart\",this)},_onDrop:function(e){var t=this.el,o=this.options;Se=ae(be),Ae=ae(be,o.draggable),ye(\"drop\",this,{evt:e}),je=be&&be.parentNode,Se=ae(be),Ae=ae(be,o.draggable),ct.eventCanceled?this._nulling():(qe=!1,Ge=!1,Je=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),vt(this.cloneId),vt(this._dragStartId),this.nativeDraggable&&(R(document,\"drop\",this),R(t,\"dragstart\",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),F&&V(document.body,\"user-select\",\"\"),e&&(We&&(e.cancelable&&e.preventDefault(),!o.dropBubble&&e.stopPropagation()),Qe&&Qe.parentNode&&Qe.parentNode.removeChild(Qe),(_e===je||Ee&&\"clone\"!==Ee.lastPutMode)&&De&&De.parentNode&&De.parentNode.removeChild(De),be&&(this.nativeDraggable&&R(be,\"dragend\",this),mt(be),be.style[\"will-change\"]=\"\",We&&!qe&&K(be,Ee?Ee.options.ghostClass:this.options.ghostClass,!1),K(be,this.options.chosenClass,!1),we({sortable:this,name:\"unchoose\",toEl:je,newIndex:null,newDraggableIndex:null,originalEvent:e}),_e!==je?(Se>=0&&(we({rootEl:je,name:\"add\",toEl:je,fromEl:_e,originalEvent:e}),we({sortable:this,name:\"remove\",toEl:je,originalEvent:e}),we({rootEl:je,name:\"sort\",toEl:je,fromEl:_e,originalEvent:e}),we({sortable:this,name:\"sort\",toEl:je,originalEvent:e})),Ee&&Ee.save()):Se!==xe&&Se>=0&&(we({sortable:this,name:\"update\",toEl:je,originalEvent:e}),we({sortable:this,name:\"sort\",toEl:je,originalEvent:e})),ct.active&&(null!=Se&&-1!==Se||(Se=xe,Ae=Be),we({sortable:this,name:\"end\",toEl:je,originalEvent:e}),this.save()))),this._nulling())},_nulling:function(){ye(\"nulling\",this),_e=be=je=Qe=Ce=De=ke=Le=Oe=Te=We=Se=Ae=xe=Be=Ue=He=Ee=Pe=ct.dragged=ct.ghost=ct.clone=ct.active=null,$e.forEach((function(e){e.checked=!0})),$e.length=Ie=Me=0},handleEvent:function(e){switch(e.type){case\"drop\":case\"dragend\":this._onDrop(e);break;case\"dragenter\":case\"dragover\":be&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect=\"move\");e.cancelable&&e.preventDefault()}(e));break;case\"selectstart\":e.preventDefault()}},toArray:function(){for(var e,t=[],o=this.el.children,i=0,n=o.length,a=this.options;i<n;i++)Y(e=o[i],a.draggable,this.el,!1)&&t.push(e.getAttribute(a.dataIdAttr)||ht(e));return t},sort:function(e){var t={},o=this.el;this.toArray().forEach((function(e,i){var n=o.children[i];Y(n,this.options.draggable,o,!1)&&(t[e]=n)}),this),e.forEach((function(e){t[e]&&(o.removeChild(t[e]),o.appendChild(t[e]))}))},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return Y(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var o=this.options;if(void 0===t)return o[e];var i=ve.modifyOption(this,e,t);o[e]=void 0!==i?i:t,\"group\"===e&&at(o)},destroy:function(){ye(\"destroy\",this);var e=this.el;e[me]=null,R(e,\"mousedown\",this._onTapStart),R(e,\"touchstart\",this._onTapStart),R(e,\"pointerdown\",this._onTapStart),this.nativeDraggable&&(R(e,\"dragover\",this),R(e,\"dragenter\",this)),Array.prototype.forEach.call(e.querySelectorAll(\"[draggable]\"),(function(e){e.removeAttribute(\"draggable\")})),this._onDrop(),Ye.splice(Ye.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Le){if(ye(\"hideClone\",this),ct.eventCanceled)return;V(De,\"display\",\"none\"),this.options.removeCloneOnHide&&De.parentNode&&De.parentNode.removeChild(De),Le=!0}},_showClone:function(e){if(\"clone\"===e.lastPutMode){if(Le){if(ye(\"showClone\",this),ct.eventCanceled)return;_e.contains(be)&&!this.options.group.revertClone?_e.insertBefore(De,be):Ce?_e.insertBefore(De,Ce):_e.appendChild(De),this.options.group.revertClone&&this.animate(be,De),V(De,\"display\",\"\"),Le=!1}}else this._hideClone()}},Ze&&z(document,\"touchmove\",(function(e){(ct.active||qe)&&e.cancelable&&e.preventDefault()})),ct.utils={on:z,off:R,css:V,find:Z,is:function(e,t){return!!Y(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o]);return e},throttle:le,closest:Y,toggleClass:K,clone:ue,index:ae,nextTick:ft,cancelNextTick:vt,detectDirection:nt,getChild:ie},ct.get=function(e){return e[me]},ct.mount=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw\"Sortable: Mounted plugin must be a constructor function, not \".concat({}.toString.call(e));e.utils&&(ct.utils=E({},ct.utils,e.utils)),ve.mount(e)}))},ct.create=function(e,t){return new ct(e,t)},ct.version=\"1.10.1\";var gt,yt,wt,bt,jt,Qt,_t=[],Ct=!1;function kt(){_t.forEach((function(e){clearInterval(e.pid)})),_t=[]}function Dt(){clearInterval(Qt)}var Lt=le((function(e,t,o,i){if(t.scroll){var n,a=(e.touches?e.touches[0]:e).clientX,s=(e.touches?e.touches[0]:e).clientY,d=t.scrollSensitivity,r=t.scrollSpeed,l=ee(),c=!1;yt!==o&&(yt=o,kt(),gt=t.scroll,n=t.scrollFn,!0===gt&&(gt=de(o,!0)));var u=0,m=gt;do{var p=m,h=te(p),f=h.top,v=h.bottom,g=h.left,y=h.right,w=h.width,b=h.height,j=void 0,Q=void 0,_=p.scrollWidth,C=p.scrollHeight,k=V(p),D=p.scrollLeft,L=p.scrollTop;p===l?(j=w<_&&(\"auto\"===k.overflowX||\"scroll\"===k.overflowX||\"visible\"===k.overflowX),Q=b<C&&(\"auto\"===k.overflowY||\"scroll\"===k.overflowY||\"visible\"===k.overflowY)):(j=w<_&&(\"auto\"===k.overflowX||\"scroll\"===k.overflowX),Q=b<C&&(\"auto\"===k.overflowY||\"scroll\"===k.overflowY));var x=j&&(Math.abs(y-a)<=d&&D+w<_)-(Math.abs(g-a)<=d&&!!D),S=Q&&(Math.abs(v-s)<=d&&L+b<C)-(Math.abs(f-s)<=d&&!!L);if(!_t[u])for(var B=0;B<=u;B++)_t[B]||(_t[B]={});_t[u].vx==x&&_t[u].vy==S&&_t[u].el===p||(_t[u].el=p,_t[u].vx=x,_t[u].vy=S,clearInterval(_t[u].pid),0==x&&0==S||(c=!0,_t[u].pid=setInterval(function(){i&&0===this.layer&&ct.active._onTouchMove(jt);var t=_t[this.layer].vy?_t[this.layer].vy*r:0,o=_t[this.layer].vx?_t[this.layer].vx*r:0;\"function\"==typeof n&&\"continue\"!==n.call(ct.dragged.parentNode[me],o,t,e,jt,_t[this.layer].el)||ce(_t[this.layer].el,o,t)}.bind({layer:u}),24))),u++}while(t.bubbleScroll&&m!==l&&(m=de(m,!1)));Ct=c}}),30),xt=function(e){var t=e.originalEvent,o=e.putSortable,i=e.dragEl,n=e.activeSortable,a=e.dispatchSortableEvent,s=e.hideGhostForTarget,d=e.unhideGhostForTarget;if(t){var r=o||n;s();var l=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,c=document.elementFromPoint(l.clientX,l.clientY);d(),r&&!r.el.contains(c)&&(a(\"spill\"),this.onSpill({dragEl:i,putSortable:o}))}};function St(){}function Bt(){}St.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,o=e.putSortable;this.sortable.captureAnimationState(),o&&o.captureAnimationState();var i=ie(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(t,i):this.sortable.el.appendChild(t),this.sortable.animateAll(),o&&o.animateAll()},drop:xt},P(St,{pluginName:\"revertOnSpill\"}),Bt.prototype={onSpill:function(e){var t=e.dragEl,o=e.putSortable||this.sortable;o.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),o.animateAll()},drop:xt},P(Bt,{pluginName:\"removeOnSpill\"});ct.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)\"_\"===e.charAt(0)&&\"function\"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?z(document,\"dragover\",this._handleAutoScroll):this.options.supportPointer?z(document,\"pointermove\",this._handleFallbackAutoScroll):t.touches?z(document,\"touchmove\",this._handleFallbackAutoScroll):z(document,\"mousemove\",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?R(document,\"dragover\",this._handleAutoScroll):(R(document,\"pointermove\",this._handleFallbackAutoScroll),R(document,\"touchmove\",this._handleFallbackAutoScroll),R(document,\"mousemove\",this._handleFallbackAutoScroll)),Dt(),kt(),clearTimeout(J),J=void 0},nulling:function(){jt=yt=gt=Ct=Qt=wt=bt=null,_t.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var o=this,i=(e.touches?e.touches[0]:e).clientX,n=(e.touches?e.touches[0]:e).clientY,a=document.elementFromPoint(i,n);if(jt=e,t||M||I||F){Lt(e,this.options,a,t);var s=de(a,!0);!Ct||Qt&&i===wt&&n===bt||(Qt&&Dt(),Qt=setInterval((function(){var a=de(document.elementFromPoint(i,n),!0);a!==s&&(s=a,kt()),Lt(e,o.options,a,t)}),10),wt=i,bt=n)}else{if(!this.options.bubbleScroll||de(a,!0)===ee())return void kt();Lt(e,this.options,de(a,!1),!1)}}},P(e,{pluginName:\"scroll\",initializeByDefault:!0})}),ct.mount(Bt,St);var At=ct;window.onerror=function(e,t,o,i){Nt(e,t,o,i)},jQuery(document).on(\"click\",\".dslca-show-js-error-hook\",(function(e){e.preventDefault();var t=document.getElementById(\"dslca-js-errors-report\");jQuery(\"body\").hasClass(\"dslca-saving-in-progress\")||n({title:'<a href=\"https://livecomposerplugin.com/support/\" target=\"_blank\"><span class=\"dslca-icon dslc-icon-comment\"></span> &nbsp; Get Support Info</a>',content:'<span class=\"dslca-error-report\">'+t.value+\"</span>\"})})),jQuery(document).ready((function(e){var t,o;jQuery(\"#page-builder-frame\")[0].contentWindow.onerror=function(e,t,o,i){Nt(e,t,o,i)},t=document.getElementById(\"dslca-js-errors-report\"),null!==(o=localStorage.getItem(\"js_errors_report\"))&&(t.value=o,localStorage.removeItem(\"js_errors_report\"),document.querySelector(\".dslca-show-js-error-hook\").setAttribute(\"style\",\"visibility:visible\")),jQuery(\"body\").addClass(\"dslca-enabled dslca-drag-not-in-progress\"),jQuery(\".dslca-invisible-overlay\").hide(),jQuery(\".dslca-section\").eq(0).show()})),jQuery(document).on(\"click\",\".dslca-currently-editing\",(function(){var e=!1,t=!1;if(jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).length?(e=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),\"#5890e5\"):jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).length&&(e=jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument),\"#eabba9\"),e){(t=e.offset().top-100)<0&&(t=0);jQuery(\"html, body\",LiveComposer.Builder.PreviewAreaDocument).animate({scrollTop:t},300,(function(){e.removeAttr(\"style\")}))}})),jQuery(window).keypress((function(e){if((e.metaKey||e.ctrlKey)&&83==e.keyCode)return dslc_ajax_save_composer(),e.preventDefault(),!1})),jQuery(document).on(\"click\",\".dslca-hide-composer-hook\",(function(e){e.preventDefault(),function(){window.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(\"body\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslca-composer-hidden\"),LiveComposer.Builder.Flags.uiHidden=!0,jQuery(\".dslca-container\").css({bottom:-1*jQuery(\".dslca-container\").outerHeight()}),jQuery(\".dslca-header\").hide()}()})),jQuery(document).on(\"click\",\".dslca-show-composer-hook\",(function(e){e.preventDefault(),function(){window.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(\"body\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-composer-hidden\"),LiveComposer.Builder.Flags.uiHidden=!1,jQuery(\".dslca-container\").css({bottom:0}),jQuery(\".dslca-header\").show()}()})),jQuery(document).on(\"click\",\".dslca-go-to-modules-hook\",(function(e){e.preventDefault(),Et(\".dslca-modules\")})),jQuery(document).on(\"click\",\".dslca-go-to-section-hook\",(function(e){if(e.preventDefault(),!jQuery(this).hasClass(\"dslca-active\")){var t=jQuery(this).data(\"section\");Et(t),(jQuery(this).hasClass(\"dslca-go-to-section-modules\")||jQuery(this).hasClass(\"dslca-go-to-section-templates\"))&&jQuery(this).addClass(\"dslca-active\").siblings(\".dslca-go-to-section-hook\").removeClass(\"dslca-active\")}})),jQuery(document).on(\"click\",\".dslca-close-composer-hook\",(function(e){e.preventDefault();var t=jQuery(this).attr(\"href\");!jQuery(\"body\").hasClass(\"dslca-saving-in-progress\")&&jQuery(\".dslca-save-composer\").is(\":visible\")?n({title:DSLCString.str_exit_title,content:DSLCString.str_exit_descr,confirm:function(){window.location=t}}):window.location=t})),jQuery(document).on(\"click\",\".dslca-submit\",(function(){jQuery(this).closest(\"form\").submit()})),jQuery(document).on(\"click\",\".dslca-section-title\",(function(e){e.stopPropagation(),jQuery(\".dslca-section-title-filter\",this).length&&(!function(){window.dslcDebug&&console.log(\"dslc_generate_filters\");var e,t=[],o='<a html=\"#\" data-origin=\"\">Show All</a>';jQuery(\".dslca-section:visible .dslca-origin\").each((function(){e=jQuery(this),-1==jQuery.inArray(e.data(\"origin\"),t)&&(t.push(e.data(\"origin\")),o+='<a href=\"#\" data-origin=\"'+e.data(\"origin\")+'\">'+e.data(\"origin\")+\"</a>\")})),jQuery(\".dslca-section:visible .dslca-section-title-filter-options\").html(o).css(\"background\",jQuery(\".dslca-section:visible\").data(\"bg\"))}(),jQuery(\".dslca-section-title-filter-options\").slideToggle(300))})),jQuery(document).on(\"click\",\".dslca-section-title-filter-options a\",(function(e){e.preventDefault(),e.stopPropagation();var t=jQuery(this).data(\"origin\"),o=jQuery(this).closest(\".dslca-section\");o.hasClass(\"dslca-templates-load\"),jQuery(\".dslca-section-title-filter-curr\",o).text(jQuery(this).text()),jQuery(\".dslca-section-scroller-inner\").css({left:0}),function(e,t){window.dslcDebug&&console.log(\"dslc_filter_origin\");jQuery(\".dslca-origin\",t).attr(\"data-display-module\",\"false\"),jQuery('.dslca-origin[data-origin=\"'+e+'\"]',t).attr(\"data-display-module\",\"true\"),\"\"==e&&(jQuery(\".dslca-origin\",t).attr(\"data-display-module\",\"true\"),jQuery(\".dslca-origin.dslca-exclude\",t).attr(\"data-display-module\",\"false\"))}(t,o),jQuery(\".dslca-section-title-filter-options\").slideToggle(300)})),window.dslc_show_publish_button=function(){window.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\")};var Pt=function(){window.dslcDebug&&console.log(\"hidePublishButton\"),jQuery(\".dslca-save-composer\").hide(),jQuery(\".dslca-save-draft-composer\").hide()},Et=function(e){window.dslcDebug&&console.log(\"showSection\");jQuery(e).data(\"title\"),jQuery(e).data(\"bg\");jQuery(\".dslca-container\").css({bottom:-500}),jQuery(\".dslca-section\").hide(),jQuery(e).show(),\".dslca-module-edit\"==e?jQuery(\".dslca-currently-editing\").show().find(\"strong\").text(jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).attr(\"title\")+\" element\"):\".dslca-modules-section-edit\"==e?jQuery(\".dslca-currently-editing\").show().css(\"background-color\",\"#e5855f\").find(\"strong\").text(\"Row\"):jQuery(\".dslca-currently-editing\").hide().find(\"strong\").text(\"\"),Q(),jQuery(\".dslca-container\").css({bottom:0}),jQuery(e).find(\"input.dslca-module-edit-field-colorpicker\").each((function(e){jQuery(this).css(\"background\",jQuery(this).val())}))};function Ot(e){if(void 0===e&&(e=!1),e){var t=jQuery(\".dslca-module-edit-option-\"+e),o=t.find(\".dslca-module-edit-field\"),i=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument)[0].id,n=\"\";\"tablet_responsive\"===t.data(\"tab\")?n=\"body.dslc-res-tablet \":\"phone_responsive\"===t.data(\"tab\")&&(n=\"body.dslc-res-phone \");var a=o.data(\"affect-on-change-el\");if(void 0!==a){var s=a.split(\",\");a=\"\";for(var d=0;d<s.length;d++)d>0&&(a+=\", \"),a+=n+\"#\"+i+\" \"+s[d];var r,l=o.data(\"affect-on-change-rule\").replace(/ /g,\"\").split(\",\"),c=o.data(\"ext\");if(t.toggleClass(\"dslca-option-off\"),t.hasClass(\"dslca-option-off\")){r=It(e),o.data(\"val-bckp\",r);for(d=0;d<l.length;d++)jQuery(a,LiveComposer.Builder.PreviewAreaDocument).css(l[d],\"\"),Tt(a,l[d],i);o.val(\"\").trigger(\"change\")}else{o.val(o.data(\"val-bckp\")).trigger(\"change\"),r=function(e,t){if(\"\"===e||null===e)return e;-1==e.indexOf(t)&&(e+=t);return e}(r=It(e),c||\"\");for(d=0;d<l.length;d++){var u=a+\"{\"+l[d]+\": \"+r+\"}\";LiveComposer.Builder.Helpers.processInlineStyleTag({context:t,rule:l[d],elems:a.replace(new RegExp(\"#\"+i,\"gi\"),\"\").trim(),styleContent:u})}}}}}function Tt(e,t,o){var i,n=\"css-for-\"+o,a=document.getElementById(\"page-builder-frame\").contentWindow.document.getElementById(n);if(e=e.replace(/\\s\\s+/g,\" \"),a){(a=a.sheet).rules?i=\"rules\":a.cssRules&&(i=\"cssRules\");for(var s=0;s<a[i].length;s++)if(a[i][s].selectorText==e&&a[i][s].style[t]){a[i][s].style[t]=\"\";break}}}function It(e){return jQuery(\".dslca-module-edit-option-\"+e).find(\".dslca-module-edit-field\").val()}jQuery(document).ready((function(e){jQuery(document).on(\"click\",\".dslca-module-edit-option .dslc-control-toggle\",(function(e){e.preventDefault(),Ot(jQuery(e.target).closest(\".dslca-module-edit-option\").find(\".dslca-module-edit-field\").data(\"id\"))})),jQuery(document).on(\"mousedown\",\".dslca-module-edit-option\",(function(e){var t=jQuery(\".dslc-control-toggle\");t.is(e.target)||0!==t.has(e.target).length||jQuery(e.target).closest(\".dslca-module-edit-option\").hasClass(\"dslca-option-off\")&&Ot(jQuery(e.target).closest(\".dslca-module-edit-option\").find(\".dslca-module-edit-field\").data(\"id\"))}))}));var Mt=function(){jQuery([document,LiveComposer.Builder.PreviewAreaWindow.document]).unbind(\"keydown\").bind(\"keydown\",(function(e){var t;window.dslc_modal_keypress_events(e),function(e){var t=!1;if(8===e.keyCode){var o=e.srcElement||e.target;t=!(\"INPUT\"===o.tagName.toUpperCase()&&(\"TEXT\"===o.type.toUpperCase()||\"PASSWORD\"===o.type.toUpperCase()||\"NUMBER\"===o.type.toUpperCase()||\"FILE\"===o.type.toUpperCase())||\"TEXTAREA\"===o.tagName.toUpperCase()||jQuery(o).hasClass(\"dslca-editable-content\")||jQuery(o).hasClass(\"dslc-tabs-nav-hook-title\")||jQuery(o).hasClass(\"dslc-accordion-title\"))||(o.readOnly||o.disabled)}t&&e.preventDefault()}(e),(116==(t=e).which||82===t.which&&t.metaKey)&&(null===jQuery(\".dslca-save-composer-hook\").offsetParent&&null===jQuery(\".dslca-module-edit-save\").offsetParent||(t.preventDefault(),n({title:DSLCString.str_refresh_title,content:DSLCString.str_refresh_descr,confirm:function(){window.location.reload()}}))),function(e){if(83==e.which&&(e.metaKey||e.ctrlKey)&&\"block\"==jQuery(\".dslca-save-composer-hook\").css(\"display\"))dslc_save_composer(),e.preventDefault()}(e),function(e){(e.metaKey||e.ctrlKey)&&LiveComposer.Builder.PreviewAreaWindow.document.querySelector(\"body\").classList.add(\"key-press-cmd\")}(e)})),jQuery([document,LiveComposer.Builder.PreviewAreaWindow.document]).unbind(\"keyup\").bind(\"keyup\",(function(e){\"Meta\"===e.key&&LiveComposer.Builder.PreviewAreaWindow.document.querySelector(\"body\").classList.remove(\"key-press-cmd\")}))};function Nt(e,t,o,i){var n=\"JavaScript error detected in a third-party plugin\";null!=t.match(\"wp-content/plugins/live-composer-page-builder/js\")&&(n=\"Live Composer returned JS error\");var a=\"\";a+='<br /><strong style=\"color:#E55F5F;\">'+n+\"</strong><br />\",a+=e+'<br /> File \"'+t+'\", line '+o+\", char \"+i+\"<br />\",\"undefined\"!=typeof Storage&&localStorage.setItem(\"js_errors_report\",a)}jQuery(document).on(\"editorFrameLoaded\",(function(){jQuery;var e=jQuery(\"div[data-hf]\",LiveComposer.Builder.PreviewAreaDocument),t=\"\";e.each((function(e,o){var i=jQuery(o).data(\"editing-link\"),n=(jQuery(o).data(\"editing-type\"),jQuery(o).data(\"editing-label\")),a=jQuery(o).data(\"editing-sublabel\");t+='<div class=\"dslc-hf-block-overlay\"><a target=\"_blank\" href=\"'+i+'\" class=\"dslc-hf-block-overlay-button dslca-link\">'+n+\"</a>\",void 0!==a&&(t+=' <span class=\"dslc-hf-block-overlay-text\">'+a+\"</span>\"),t+=\"</div>\";var s=document.createElement(\"div\");s.innerHTML=t,o.append(s)}))}));var Ft={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:\"normal\",autoplay:!0,timelineOffset:0},Wt={duration:1e3,delay:0,endDelay:0,easing:\"easeOutElastic(1, .5)\",round:0},Ut=[\"translateX\",\"translateY\",\"translateZ\",\"rotate\",\"rotateX\",\"rotateY\",\"rotateZ\",\"scale\",\"scaleX\",\"scaleY\",\"scaleZ\",\"skew\",\"skewX\",\"skewY\",\"perspective\"],Ht={CSS:{},springs:{}};function zt(e,t,o){return Math.min(Math.max(e,t),o)}function Rt(e,t){return e.indexOf(t)>-1}function qt(e,t){return e.apply(null,t)}var Xt={arr:function(e){return Array.isArray(e)},obj:function(e){return Rt(Object.prototype.toString.call(e),\"Object\")},pth:function(e){return Xt.obj(e)&&e.hasOwnProperty(\"totalLength\")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||Xt.svg(e)},str:function(e){return\"string\"==typeof e},fnc:function(e){return\"function\"==typeof e},und:function(e){return void 0===e},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return Xt.hex(e)||Xt.rgb(e)||Xt.hsl(e)},key:function(e){return!Ft.hasOwnProperty(e)&&!Wt.hasOwnProperty(e)&&\"targets\"!==e&&\"keyframes\"!==e}};function Yt(e){var t=/\\(([^)]+)\\)/.exec(e);return t?t[1].split(\",\").map((function(e){return parseFloat(e)})):[]}function Jt(e,t){var o=Yt(e),i=zt(Xt.und(o[0])?1:o[0],.1,100),n=zt(Xt.und(o[1])?100:o[1],.1,100),a=zt(Xt.und(o[2])?10:o[2],.1,100),s=zt(Xt.und(o[3])?0:o[3],.1,100),d=Math.sqrt(n/i),r=a/(2*Math.sqrt(n*i)),l=r<1?d*Math.sqrt(1-r*r):0,c=1,u=r<1?(r*d-s)/l:-s+d;function m(e){var o=t?t*e/1e3:e;return o=r<1?Math.exp(-o*r*d)*(c*Math.cos(l*o)+u*Math.sin(l*o)):(c+u*o)*Math.exp(-o*d),0===e||1===e?e:1-o}return t?m:function(){var t=Ht.springs[e];if(t)return t;for(var o=0,i=0;;)if(1===m(o+=1/6)){if(++i>=16)break}else i=0;var n=o*(1/6)*1e3;return Ht.springs[e]=n,n}}function Gt(e){return void 0===e&&(e=10),function(t){return Math.round(t*e)*(1/e)}}var Kt,Vt,$t=function(){var e=11,t=1/(e-1);function o(e,t){return 1-3*t+3*e}function i(e,t){return 3*t-6*e}function n(e){return 3*e}function a(e,t,a){return((o(t,a)*e+i(t,a))*e+n(t))*e}function s(e,t,a){return 3*o(t,a)*e*e+2*i(t,a)*e+n(t)}return function(o,i,n,d){if(0<=o&&o<=1&&0<=n&&n<=1){var r=new Float32Array(e);if(o!==i||n!==d)for(var l=0;l<e;++l)r[l]=a(l*t,o,n);return function(e){return o===i&&n===d?e:0===e||1===e?e:a(c(e),i,d)}}function c(i){for(var d=0,l=1,c=e-1;l!==c&&r[l]<=i;++l)d+=t;--l;var u=d+(i-r[l])/(r[l+1]-r[l])*t,m=s(u,o,n);return m>=.001?function(e,t,o,i){for(var n=0;n<4;++n){var d=s(t,o,i);if(0===d)return t;t-=(a(t,o,i)-e)/d}return t}(i,u,o,n):0===m?u:function(e,t,o,i,n){var s,d,r=0;do{(s=a(d=t+(o-t)/2,i,n)-e)>0?o=d:t=d}while(Math.abs(s)>1e-7&&++r<10);return d}(i,d,d+t,o,n)}}}(),Zt=(Kt={linear:function(){return function(e){return e}}},Vt={Sine:function(){return function(e){return 1-Math.cos(e*Math.PI/2)}},Circ:function(){return function(e){return 1-Math.sqrt(1-e*e)}},Back:function(){return function(e){return e*e*(3*e-2)}},Bounce:function(){return function(e){for(var t,o=4;e<((t=Math.pow(2,--o))-1)/11;);return 1/Math.pow(4,3-o)-7.5625*Math.pow((3*t-2)/22-e,2)}},Elastic:function(e,t){void 0===e&&(e=1),void 0===t&&(t=.5);var o=zt(e,1,10),i=zt(t,.1,2);return function(e){return 0===e||1===e?e:-o*Math.pow(2,10*(e-1))*Math.sin((e-1-i/(2*Math.PI)*Math.asin(1/o))*(2*Math.PI)/i)}}},[\"Quad\",\"Cubic\",\"Quart\",\"Quint\",\"Expo\"].forEach((function(e,t){Vt[e]=function(){return function(e){return Math.pow(e,t+2)}}})),Object.keys(Vt).forEach((function(e){var t=Vt[e];Kt[\"easeIn\"+e]=t,Kt[\"easeOut\"+e]=function(e,o){return function(i){return 1-t(e,o)(1-i)}},Kt[\"easeInOut\"+e]=function(e,o){return function(i){return i<.5?t(e,o)(2*i)/2:1-t(e,o)(-2*i+2)/2}}})),Kt);function eo(e,t){if(Xt.fnc(e))return e;var o=e.split(\"(\")[0],i=Zt[o],n=Yt(e);switch(o){case\"spring\":return Jt(e,t);case\"cubicBezier\":return qt($t,n);case\"steps\":return qt(Gt,n);default:return qt(i,n)}}function to(e){try{return document.querySelectorAll(e)}catch(e){return}}function oo(e,t){for(var o=e.length,i=arguments.length>=2?arguments[1]:void 0,n=[],a=0;a<o;a++)if(a in e){var s=e[a];t.call(i,s,a,e)&&n.push(s)}return n}function io(e){return e.reduce((function(e,t){return e.concat(Xt.arr(t)?io(t):t)}),[])}function no(e){return Xt.arr(e)?e:(Xt.str(e)&&(e=to(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function ao(e,t){return e.some((function(e){return e===t}))}function so(e){var t={};for(var o in e)t[o]=e[o];return t}function ro(e,t){var o=so(e);for(var i in e)o[i]=t.hasOwnProperty(i)?t[i]:e[i];return o}function lo(e,t){var o=so(e);for(var i in t)o[i]=Xt.und(e[i])?t[i]:e[i];return o}function co(e){return Xt.rgb(e)?(o=/rgb\\((\\d+,\\s*[\\d]+,\\s*[\\d]+)\\)/g.exec(t=e))?\"rgba(\"+o[1]+\",1)\":t:Xt.hex(e)?function(e){var t=e.replace(/^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i,(function(e,t,o,i){return t+t+o+o+i+i})),o=/^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(t);return\"rgba(\"+parseInt(o[1],16)+\",\"+parseInt(o[2],16)+\",\"+parseInt(o[3],16)+\",1)\"}(e):Xt.hsl(e)?function(e){var t,o,i,n=/hsl\\((\\d+),\\s*([\\d.]+)%,\\s*([\\d.]+)%\\)/g.exec(e)||/hsla\\((\\d+),\\s*([\\d.]+)%,\\s*([\\d.]+)%,\\s*([\\d.]+)\\)/g.exec(e),a=parseInt(n[1],10)/360,s=parseInt(n[2],10)/100,d=parseInt(n[3],10)/100,r=n[4]||1;function l(e,t,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+6*(t-e)*o:o<.5?t:o<2/3?e+(t-e)*(2/3-o)*6:e}if(0==s)t=o=i=d;else{var c=d<.5?d*(1+s):d+s-d*s,u=2*d-c;t=l(u,c,a+1/3),o=l(u,c,a),i=l(u,c,a-1/3)}return\"rgba(\"+255*t+\",\"+255*o+\",\"+255*i+\",\"+r+\")\"}(e):void 0;var t,o}function uo(e){var t=/[+-]?\\d*\\.?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(t)return t[1]}function mo(e,t){return Xt.fnc(e)?e(t.target,t.id,t.total):e}function po(e,t){return e.getAttribute(t)}function ho(e,t,o){if(ao([o,\"deg\",\"rad\",\"turn\"],uo(t)))return t;var i=Ht.CSS[t+o];if(!Xt.und(i))return i;var n=document.createElement(e.tagName),a=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;a.appendChild(n),n.style.position=\"absolute\",n.style.width=100+o;var s=100/n.offsetWidth;a.removeChild(n);var d=s*parseFloat(t);return Ht.CSS[t+o]=d,d}function fo(e,t,o){if(t in e.style){var i=t.replace(/([a-z])([A-Z])/g,\"$1-$2\").toLowerCase(),n=e.style[t]||getComputedStyle(e).getPropertyValue(i)||\"0\";return o?ho(e,n,o):n}}function vo(e,t){return Xt.dom(e)&&!Xt.inp(e)&&(po(e,t)||Xt.svg(e)&&e[t])?\"attribute\":Xt.dom(e)&&ao(Ut,t)?\"transform\":Xt.dom(e)&&\"transform\"!==t&&fo(e,t)?\"css\":null!=e[t]?\"object\":void 0}function go(e){if(Xt.dom(e)){for(var t,o=e.style.transform||\"\",i=/(\\w+)\\(([^)]*)\\)/g,n=new Map;t=i.exec(o);)n.set(t[1],t[2]);return n}}function yo(e,t,o,i){var n=Rt(t,\"scale\")?1:0+function(e){return Rt(e,\"translate\")||\"perspective\"===e?\"px\":Rt(e,\"rotate\")||Rt(e,\"skew\")?\"deg\":void 0}(t),a=go(e).get(t)||n;return o&&(o.transforms.list.set(t,a),o.transforms.last=t),i?ho(e,a,i):a}function wo(e,t,o,i){switch(vo(e,t)){case\"transform\":return yo(e,t,i,o);case\"css\":return fo(e,t,o);case\"attribute\":return po(e,t);default:return e[t]||0}}function bo(e,t){var o=/^(\\*=|\\+=|-=)/.exec(e);if(!o)return e;var i=uo(e)||0,n=parseFloat(t),a=parseFloat(e.replace(o[0],\"\"));switch(o[0][0]){case\"+\":return n+a+i;case\"-\":return n-a+i;case\"*\":return n*a+i}}function jo(e,t){if(Xt.col(e))return co(e);if(/\\s/g.test(e))return e;var o=uo(e),i=o?e.substr(0,e.length-o.length):e;return t?i+t:i}function Qo(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function _o(e){for(var t,o=e.points,i=0,n=0;n<o.numberOfItems;n++){var a=o.getItem(n);n>0&&(i+=Qo(t,a)),t=a}return i}function Co(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case\"circle\":return function(e){return 2*Math.PI*po(e,\"r\")}(e);case\"rect\":return function(e){return 2*po(e,\"width\")+2*po(e,\"height\")}(e);case\"line\":return function(e){return Qo({x:po(e,\"x1\"),y:po(e,\"y1\")},{x:po(e,\"x2\"),y:po(e,\"y2\")})}(e);case\"polyline\":return _o(e);case\"polygon\":return function(e){var t=e.points;return _o(e)+Qo(t.getItem(t.numberOfItems-1),t.getItem(0))}(e)}}function ko(e,t){var o=t||{},i=o.el||function(e){for(var t=e.parentNode;Xt.svg(t)&&Xt.svg(t.parentNode);)t=t.parentNode;return t}(e),n=i.getBoundingClientRect(),a=po(i,\"viewBox\"),s=n.width,d=n.height,r=o.viewBox||(a?a.split(\" \"):[0,0,s,d]);return{el:i,viewBox:r,x:r[0]/1,y:r[1]/1,w:s/r[2],h:d/r[3]}}function Do(e,t){function o(o){void 0===o&&(o=0);var i=t+o>=1?t+o:0;return e.el.getPointAtLength(i)}var i=ko(e.el,e.svg),n=o(),a=o(-1),s=o(1);switch(e.property){case\"x\":return(n.x-i.x)*i.w;case\"y\":return(n.y-i.y)*i.h;case\"angle\":return 180*Math.atan2(s.y-a.y,s.x-a.x)/Math.PI}}function Lo(e,t){var o=/[+-]?\\d*\\.?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?/g,i=jo(Xt.pth(e)?e.totalLength:e,t)+\"\";return{original:i,numbers:i.match(o)?i.match(o).map(Number):[0],strings:Xt.str(e)||t?i.split(o):[]}}function xo(e){return oo(e?io(Xt.arr(e)?e.map(no):no(e)):[],(function(e,t,o){return o.indexOf(e)===t}))}function So(e){var t=xo(e);return t.map((function(e,o){return{target:e,id:o,total:t.length,transforms:{list:go(e)}}}))}function Bo(e,t){var o=so(t);if(/^spring/.test(o.easing)&&(o.duration=Jt(o.easing)),Xt.arr(e)){var i=e.length;2===i&&!Xt.obj(e[0])?e={value:e}:Xt.fnc(t.duration)||(o.duration=t.duration/i)}var n=Xt.arr(e)?e:[e];return n.map((function(e,o){var i=Xt.obj(e)&&!Xt.pth(e)?e:{value:e};return Xt.und(i.delay)&&(i.delay=o?0:t.delay),Xt.und(i.endDelay)&&(i.endDelay=o===n.length-1?t.endDelay:0),i})).map((function(e){return lo(e,o)}))}function Ao(e,t){var o=[],i=t.keyframes;for(var n in i&&(t=lo(function(e){for(var t=oo(io(e.map((function(e){return Object.keys(e)}))),(function(e){return Xt.key(e)})).reduce((function(e,t){return e.indexOf(t)<0&&e.push(t),e}),[]),o={},i=function(i){var n=t[i];o[n]=e.map((function(e){var t={};for(var o in e)Xt.key(o)?o==n&&(t.value=e[o]):t[o]=e[o];return t}))},n=0;n<t.length;n++)i(n);return o}(i),t)),t)Xt.key(n)&&o.push({name:n,tweens:Bo(t[n],e)});return o}function Po(e,t){var o;return e.tweens.map((function(i){var n=function(e,t){var o={};for(var i in e){var n=mo(e[i],t);Xt.arr(n)&&1===(n=n.map((function(e){return mo(e,t)}))).length&&(n=n[0]),o[i]=n}return o.duration=parseFloat(o.duration),o.delay=parseFloat(o.delay),o}(i,t),a=n.value,s=Xt.arr(a)?a[1]:a,d=uo(s),r=wo(t.target,e.name,d,t),l=o?o.to.original:r,c=Xt.arr(a)?a[0]:l,u=uo(c)||uo(r),m=d||u;return Xt.und(s)&&(s=l),n.from=Lo(c,m),n.to=Lo(bo(s,c),m),n.start=o?o.end:0,n.end=n.start+n.delay+n.duration+n.endDelay,n.easing=eo(n.easing,n.duration),n.isPath=Xt.pth(a),n.isColor=Xt.col(n.from.original),n.isColor&&(n.round=1),o=n,n}))}var Eo={css:function(e,t,o){return e.style[t]=o},attribute:function(e,t,o){return e.setAttribute(t,o)},object:function(e,t,o){return e[t]=o},transform:function(e,t,o,i,n){if(i.list.set(t,o),t===i.last||n){var a=\"\";i.list.forEach((function(e,t){a+=t+\"(\"+e+\") \"})),e.style.transform=a}}};function Oo(e,t){So(e).forEach((function(e){for(var o in t){var i=mo(t[o],e),n=e.target,a=uo(i),s=wo(n,o,a,e),d=bo(jo(i,a||uo(s)),s),r=vo(n,o);Eo[r](n,o,d,e.transforms,!0)}}))}function To(e,t){return oo(io(e.map((function(e){return t.map((function(t){return function(e,t){var o=vo(e.target,t.name);if(o){var i=Po(t,e),n=i[i.length-1];return{type:o,property:t.name,animatable:e,tweens:i,duration:n.end,delay:i[0].delay,endDelay:n.endDelay}}}(e,t)}))}))),(function(e){return!Xt.und(e)}))}function Io(e,t){var o=e.length,i=function(e){return e.timelineOffset?e.timelineOffset:0},n={};return n.duration=o?Math.max.apply(Math,e.map((function(e){return i(e)+e.duration}))):t.duration,n.delay=o?Math.min.apply(Math,e.map((function(e){return i(e)+e.delay}))):t.delay,n.endDelay=o?n.duration-Math.max.apply(Math,e.map((function(e){return i(e)+e.duration-e.endDelay}))):t.endDelay,n}var Mo=0;var No,Fo=[],Wo=[],Uo=function(){function e(){No=requestAnimationFrame(t)}function t(t){var o=Fo.length;if(o){for(var i=0;i<o;){var n=Fo[i];if(n.paused){var a=Fo.indexOf(n);a>-1&&(Fo.splice(a,1),o=Fo.length)}else n.tick(t);i++}e()}else No=cancelAnimationFrame(No)}return e}();function Ho(e){void 0===e&&(e={});var t,o=0,i=0,n=0,a=0,s=null;function d(e){var t=window.Promise&&new Promise((function(e){return s=e}));return e.finished=t,t}var r=function(e){var t=ro(Ft,e),o=ro(Wt,e),i=Ao(o,e),n=So(e.targets),a=To(n,i),s=Io(a,o),d=Mo;return Mo++,lo(t,{id:d,children:[],animatables:n,animations:a,duration:s.duration,delay:s.delay,endDelay:s.endDelay})}(e);d(r);function l(){var e=r.direction;\"alternate\"!==e&&(r.direction=\"normal\"!==e?\"normal\":\"reverse\"),r.reversed=!r.reversed,t.forEach((function(e){return e.reversed=r.reversed}))}function c(e){return r.reversed?r.duration-e:e}function u(){o=0,i=c(r.currentTime)*(1/Ho.speed)}function m(e,t){t&&t.seek(e-t.timelineOffset)}function p(e){for(var t=0,o=r.animations,i=o.length;t<i;){var n=o[t],a=n.animatable,s=n.tweens,d=s.length-1,l=s[d];d&&(l=oo(s,(function(t){return e<t.end}))[0]||l);for(var c=zt(e-l.start-l.delay,0,l.duration)/l.duration,u=isNaN(c)?1:l.easing(c),m=l.to.strings,p=l.round,h=[],f=l.to.numbers.length,v=void 0,g=0;g<f;g++){var y=void 0,w=l.to.numbers[g],b=l.from.numbers[g]||0;y=l.isPath?Do(l.value,u*w):b+u*(w-b),p&&(l.isColor&&g>2||(y=Math.round(y*p)/p)),h.push(y)}var j=m.length;if(j){v=m[0];for(var Q=0;Q<j;Q++){m[Q];var _=m[Q+1],C=h[Q];isNaN(C)||(v+=_?C+_:C+\" \")}}else v=h[0];Eo[n.type](a.target,n.property,v,a.transforms),n.currentValue=v,t++}}function h(e){r[e]&&!r.passThrough&&r[e](r)}function f(e){var u=r.duration,f=r.delay,v=u-r.endDelay,g=c(e);r.progress=zt(g/u*100,0,100),r.reversePlayback=g<r.currentTime,t&&function(e){if(r.reversePlayback)for(var o=a;o--;)m(e,t[o]);else for(var i=0;i<a;i++)m(e,t[i])}(g),!r.began&&r.currentTime>0&&(r.began=!0,h(\"begin\")),!r.loopBegan&&r.currentTime>0&&(r.loopBegan=!0,h(\"loopBegin\")),g<=f&&0!==r.currentTime&&p(0),(g>=v&&r.currentTime!==u||!u)&&p(u),g>f&&g<v?(r.changeBegan||(r.changeBegan=!0,r.changeCompleted=!1,h(\"changeBegin\")),h(\"change\"),p(g)):r.changeBegan&&(r.changeCompleted=!0,r.changeBegan=!1,h(\"changeComplete\")),r.currentTime=zt(g,0,u),r.began&&h(\"update\"),e>=u&&(i=0,r.remaining&&!0!==r.remaining&&r.remaining--,r.remaining?(o=n,h(\"loopComplete\"),r.loopBegan=!1,\"alternate\"===r.direction&&l()):(r.paused=!0,r.completed||(r.completed=!0,h(\"loopComplete\"),h(\"complete\"),!r.passThrough&&\"Promise\"in window&&(s(),d(r)))))}return r.reset=function(){var e=r.direction;r.passThrough=!1,r.currentTime=0,r.progress=0,r.paused=!0,r.began=!1,r.loopBegan=!1,r.changeBegan=!1,r.completed=!1,r.changeCompleted=!1,r.reversePlayback=!1,r.reversed=\"reverse\"===e,r.remaining=r.loop,t=r.children;for(var o=a=t.length;o--;)r.children[o].reset();(r.reversed&&!0!==r.loop||\"alternate\"===e&&1===r.loop)&&r.remaining++,p(r.reversed?r.duration:0)},r.set=function(e,t){return Oo(e,t),r},r.tick=function(e){n=e,o||(o=n),f((n+(i-o))*Ho.speed)},r.seek=function(e){f(c(e))},r.pause=function(){r.paused=!0,u()},r.play=function(){r.paused&&(r.completed&&r.reset(),r.paused=!1,Fo.push(r),u(),No||Uo())},r.reverse=function(){l(),u()},r.restart=function(){r.reset(),r.play()},r.reset(),r.autoplay&&r.play(),r}function zo(e,t){for(var o=t.length;o--;)ao(e,t[o].animatable.target)&&t.splice(o,1)}\"undefined\"!=typeof document&&document.addEventListener(\"visibilitychange\",(function(){document.hidden?(Fo.forEach((function(e){return e.pause()})),Wo=Fo.slice(0),Ho.running=Fo=[]):Wo.forEach((function(e){return e.play()}))})),Ho.version=\"3.1.0\",Ho.speed=1,Ho.running=Fo,Ho.remove=function(e){for(var t=xo(e),o=Fo.length;o--;){var i=Fo[o],n=i.animations,a=i.children;zo(t,n);for(var s=a.length;s--;){var d=a[s],r=d.animations;zo(t,r),r.length||d.children.length||a.splice(s,1)}n.length||a.length||i.pause()}},Ho.get=wo,Ho.set=Oo,Ho.convertPx=ho,Ho.path=function(e,t){var o=Xt.str(e)?to(e)[0]:e,i=t||100;return function(e){return{property:e,el:o,svg:ko(o),totalLength:Co(o)*(i/100)}}},Ho.setDashoffset=function(e){var t=Co(e);return e.setAttribute(\"stroke-dasharray\",t),t},Ho.stagger=function(e,t){void 0===t&&(t={});var o=t.direction||\"normal\",i=t.easing?eo(t.easing):null,n=t.grid,a=t.axis,s=t.from||0,d=\"first\"===s,r=\"center\"===s,l=\"last\"===s,c=Xt.arr(e),u=c?parseFloat(e[0]):parseFloat(e),m=c?parseFloat(e[1]):0,p=uo(c?e[1]:e)||0,h=t.start||0+(c?u:0),f=[],v=0;return function(e,t,g){if(d&&(s=0),r&&(s=(g-1)/2),l&&(s=g-1),!f.length){for(var y=0;y<g;y++){if(n){var w=r?(n[0]-1)/2:s%n[0],b=r?(n[1]-1)/2:Math.floor(s/n[0]),j=w-y%n[0],Q=b-Math.floor(y/n[0]),_=Math.sqrt(j*j+Q*Q);\"x\"===a&&(_=-j),\"y\"===a&&(_=-Q),f.push(_)}else f.push(Math.abs(s-y));v=Math.max.apply(Math,f)}i&&(f=f.map((function(e){return i(e/v)*v}))),\"reverse\"===o&&(f=f.map((function(e){return a?e<0?-1*e:-e:Math.abs(v-e)})))}return h+(c?(m-u)/v:u)*(Math.round(100*f[t])/100)+p}},Ho.timeline=function(e){void 0===e&&(e={});var t=Ho(e);return t.duration=0,t.add=function(o,i){var n=Fo.indexOf(t),a=t.children;function s(e){e.passThrough=!0}n>-1&&Fo.splice(n,1);for(var d=0;d<a.length;d++)s(a[d]);var r=lo(o,ro(Wt,e));r.targets=r.targets||e.targets;var l=t.duration;r.autoplay=!1,r.direction=t.direction,r.timelineOffset=Xt.und(i)?l:bo(i,l),s(t),t.seek(r.timelineOffset);var c=Ho(r);s(c),a.push(c);var u=Io(a,e);return t.delay=u.delay,t.endDelay=u.endDelay,t.duration=u.duration,t.seek(0),t.reset(),t.autoplay&&t.play(),t},t},Ho.easing=eo,Ho.penner=Zt,Ho.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e};var Ro=Ho,qo=function(){return!LiveComposer.Builder.Flags.panelOpened||(LiveComposer.Builder.UI.shakePanelConfirmButton(),!1)};document.addEventListener(\"moduleDuplicate\",(function(e){var t=e.detail;if(!qo())return!1;t.classList.contains(\"dslca-action-disabled\")||Yo(t.closest(\".dslc-module-front\"))})),document.addEventListener(\"moduleDelete\",(function(e){var t=e.detail;if(!qo())return!1;t.classList.contains(\"dslca-action-disabled\")||n({title:DSLCString.str_del_module_title,content:DSLCString.str_del_module_descr,confirm:function(){!function(e){window.dslcDebug&&console.log(\"dslc_delete_module\");Et(\".dslca-modules\"),Ro({targets:e,easing:\"easeOutExpo\",scale:0,opacity:0,duration:350,delay:0,endDelay:0,complete:function(t){e.parentNode.removeChild(e),window.dslc_generate_code(),window.dslc_show_publish_button()}})}(t.closest(\".dslc-module-front\"))}})})),document.addEventListener(\"moduleEdit\",(function(e){var t=e.detail.closest(\".dslc-module-front\"),o=t.dataset.module,i=LiveComposer.Builder.PreviewAreaWindow.document.querySelector(\".dslca-module-being-edited\"),n=jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).length;if(LiveComposer.Builder.Flags.uiHidden||null!==i&&i.length>0||n>0)return i!=t&&LiveComposer.Builder.UI.shakePanelConfirmButton(),!1;Xo(),t.classList.add(\"dslca-module-being-edited\"),Go(o),LiveComposer.Builder.PreviewAreaWindow.document.body.classList.add(\"module-editing-in-progress\")})),document.addEventListener(\"copyModuleStyles\",(function(e){var t=e.detail.closest(\".dslc-module-front\").querySelector(\".dslca-module-code\").innerText;localStorage.setItem(\"lcCopyPasteStorage\",t)})),document.addEventListener(\"pasteModuleStyles\",(function(e){var t=e.detail.closest(\".dslc-module-front\"),o=jQuery(t),i=localStorage.getItem(\"lcCopyPasteStorage\"),n=!1;if(i)try{n=JSON.parse(i)}catch(e){console.log(\"Can't parse copy/paste string into JSON:\"),console.log(e)}if(n&&n.module_id===t.dataset.module){var a=t.querySelector(\".dslca-module-code\").innerText,s=!1;try{s=JSON.parse(a)}catch(e){console.log(\"Can't parse current module code into JSON:\"),console.log(e)}if(s){var d=!1;for(var r in n)r.includes(\"css_\")&&(s[r]=n[r],d=!0);for(var l in s)l.includes(\"css_\")&&(s[l]!==n[l]&&(s[l]=\"\"),d=!0);d&&(s.action=\"dslc-ajax-add-module\",s.dslc=\"active\",s.dslc_module_id=s.module_id,s.dslc_module_instance_id=s.module_instance_id,s.dslc_post_id=s.post_id,o.hasClass(\"dslca-preload-preset\")?s.dslc_preload_preset=\"enabled\":s.dslc_preload_preset=\"disabled\",o.removeClass(\"dslca-preload-preset\"),s.dslc_url_vars=LiveComposer.Utils.get_page_params(),jQuery.post(DSLCAjax.ajaxurl,s,(function(e){e&&(o.after(e.output).next().addClass(\"dslca-module-being-edited\"),o.remove(),window.dslc_generate_code(),window.dslc_show_publish_button(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion(),jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"))})))}}}));document.addEventListener(\"moduleChangeWidth\",(function(e){var t=e.detail,o=t.closest(\".dslc-module-front\");if(!t.classList.contains(\"dslca-action-disabled\")){var i=o.dataset.dslcModuleSize,n=t.dataset.size;Number(i)!==Number(n)&&function(e,t){window.dslcDebug&&console.log(\"dslc_module_width_set\");var o=\"dslc-\"+t+\"-col\";jQuery(e).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(o).data(\"dslc-module-size\",t),e.setAttribute(\"data-dslc-module-size\",t),LiveComposer.Utils.update_module_property_raw(e,\"dslc_m_size\",t),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),window.dslc_generate_code(),window.dslc_show_publish_button()}(o,n)}})),document.addEventListener(\"wysiwygEdit\",(function(e){var t=e.detail,o=t.closest(\".dslc-module-front\"),i=t.dataset.idToEdit,n=o.querySelector('[data-edit-id=\"'+i+'\"]'),a=\"\";if(void 0===(a=\"TEXTAREA\"===n.tagName||\"INPUT\"===n.tagName?n.value:n.innerHTML)&&(a=\"\"),a.trim().length&&(a=a.replace(/<lctextarea/g,\"<textarea\").replace(/<\\/lctextarea/g,\"</textarea\")),a.includes(\"%\")&&(a=(a=(a=(a=(a=(a=a.replace(/%\\(\\(%/g,\"[\")).replace(/%\\)\\)%/g,\"]\")).replace(/%\\(%/g,\"[\")).replace(/%\\)%/g,\"]\")).replace(/%\\{%/g,\"[\")).replace(/%\\}%/g,\"]\")),a=a.trim(),\"undefined\"!=typeof tinymce){var s=tinymce.get(\"dslcawpeditor\");document.getElementById(\"wp-dslcawpeditor-wrap\").classList.contains(\"tmce-active\")?s.setContent(a,{format:\"html\"}):document.getElementById(\"dslcawpeditor\").value=a,o.classList.contains(\"dslca-module-being-edited\")||o.querySelector(\".dslca-module-edit-hook\").click(),jQuery(\".dslca-wp-editor\").show(),n.classList.add(\"dslca-wysiwyg-active\"),jQuery(\"#dslcawpeditor_ifr, #dslcawpeditor\").css({height:jQuery(\".dslca-wp-editor\").height()-300})}else console.info(\"Live Composer: TinyMCE is undefined.\")}));var Xo=function(){var e=LiveComposer.Builder.PreviewAreaWindow.document.querySelector(\".dslca-module-being-edited\");null!==e&&e.classList.remove(\"dslca-module-being-edited\")};function Yo(e){window.dslcDebug&&console.log(\"dslc_copy_module\"),Xo();var t=e.cloneNode(!0);jQuery(t).appendTo(e.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,top:-50}).addClass(\"dslca-module-being-edited\"),Jo(t),window.dslc_generate_code(),Ro({targets:t,easing:\"easeOutExpo\",top:0,opacity:1,duration:400,delay:0,endDelay:0,complete:function(e){t.classList.remove(\"dslca-module-being-edited\")}}),window.dslc_show_publish_button()}var Jo=function(e){var t=LiveComposer.Utils.get_unique_id(),o=e.getAttribute(\"id\");e.setAttribute(\"data-module-id\",t),e.setAttribute(\"id\",\"dslc-module-\"+t);var i=e.getElementsByTagName(\"style\")[0],n=i.textContent;i.setAttribute(\"id\",\"#css-for-dslc-module-\"+t),n=n.split(o).join(\"dslc-module-\"+t),i.textContent=n,LiveComposer.Utils.update_module_property_raw(e,\"module_instance_id\",t)};function Go(e){window.dslcDebug&&console.log(\"dslc_module_options_show\"),void 0===e&&console.warn(\"No module ID defined in dslc_module_options_show function.\");var t=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),o=jQuery(\".dslca-module-options-front textarea\",t),i=jQuery(\".dslca-header\").data(\"default-section\"),n=jQuery(jQuery(\"#pseudo-panel\").html());jQuery(\"#wpwrap\").append(n);var a={action:\"dslc-ajax-display-module-options\",dslc:\"active\"};a.dslc_module_id=e,a.dslc_post_id=jQuery(\".dslca-container\").data(\"data-post-id\"),a.dslc_url_vars=LiveComposer.Utils.get_page_params(),o.each((function(){var e=jQuery(this),t=e.data(\"id\"),o=e.val();o.includes(\"%\")&&(o=(o=(o=(o=(o=(o=o.replace(/%\\(\\(%/g,\"[\")).replace(/%\\)\\)%/g,\"]\")).replace(/%\\(%/g,\"[\")).replace(/%\\)%/g,\"]\")).replace(/%\\{%/g,\"[\")).replace(/%\\}%/g,\"]\")),a[t]=o})),jQuery(\".dslca-wp-editor-actions\").hide(),jQuery(\".dslca-wp-editor-notification\").show(),Pt();var s=jQuery(\".dslca-module-options-front\",t).children().clone();LiveComposer.Builder.moduleBackup=s,LiveComposer.Builder.Flags.panelOpened=!0,n.show(),n.addClass(\"show\"),jQuery.post(DSLCAjax.ajaxurl,a,(function(e){n.remove(),Et(\".dslca-module-edit\"),jQuery(\"body\").hasClass(\"rtl\"),jQuery(\".dslca-module-edit-options-inner\").html(e.output),jQuery(\".dslca-module-edit-options-tabs\").html(e.output_tabs);var t=[];jQuery(\".dslca-module-edit-options-inner .dslca-module-edit-option\").each((function(){var e=jQuery(this).data(\"section\");-1==t.indexOf(e)&&t.push(e)}));for(var o=t.length,a=0;a<o;a++)jQuery('.dslca-header .dslca-options-filter-hook[data-section=\"'+t[a]+'\"]').show();jQuery('.dslca-module-edit-option[data-section=\"'+i+'\"]').length?(jQuery('.dslca-header .dslca-options-filter-hook[data-section=\"'+i+'\"]').show(),jQuery('.dslca-header .dslca-options-filter-hook[data-section=\"'+i+'\"]').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(),LiveComposer.Builder.UI.loadOptionsDeps()}))}var Ko=function(e){window.dslcDebug&&console.log(\"moduleOutputAltered\"),e=void 0!==e&&e;var t=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),o=t.data(\"module\"),i=jQuery(\".dslca-module-options-front textarea\",t),n=t.data(\"module-id\"),a={action:\"dslc-ajax-add-module\",dslc:\"active\"};a.dslc_module_id=o,a.dslc_module_instance_id=n,a.dslc_post_id=jQuery(\".dslca-container\").data(\"post-id\"),t.hasClass(\"dslca-preload-preset\")?a.dslc_preload_preset=\"enabled\":a.dslc_preload_preset=\"disabled\",t.removeClass(\"dslca-preload-preset\"),i.each((function(){var e=jQuery(this),t=e.data(\"id\"),o=e.val();a[t]=o})),a.dslc_url_vars=LiveComposer.Utils.get_page_params(),jQuery.post(DSLCAjax.ajaxurl,a,(function(o){var i=LiveComposer.Builder.Helpers.insertModule(o.output,t);i.addClass(\"dslca-module-being-edited\"),o=null,i=null,LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();var n=new Event(\"moduleOutputAltered\");LiveComposer.Builder.PreviewAreaWindow.dispatchEvent(n),e&&e(o)}))};var Vo=function(){LiveComposer.Builder.PreviewAreaDocument.on({mouseenter:function(e){jQuery(\".dslca-modules-section-manage\",LiveComposer.Builder.PreviewAreaDocument).css(\"z-index\",\"99998\");var t=e.target.closest(\"[data-module-id]\"),o=t.offsetHeight,i=t.offsetWidth;o<60&&i<300?t.classList.add(\"dslc-small-height-module\"):t.classList.remove(\"dslc-small-height-module\")},mouseleave:function(e){jQuery(\".dslca-modules-section-manage\",LiveComposer.Builder.PreviewAreaDocument).css(\"z-index\",\"999999\")}},\".dslca-change-width-module-hook, .dslc-module-front .dslca-module-manage\"),LiveComposer.Builder.PreviewAreaDocument.on(\"blur\",\".dslca-editable-content\",(function(){LiveComposer.Builder.Flags.uiHidden||\"simple\"!=jQuery(this).data(\"type\")||l(jQuery(this))})).on(\"paste\",\".dslca-editable-content:not(.inline-editor)\",(function(){if(!LiveComposer.Builder.Flags.uiHidden&&\"simple\"==jQuery(this).data(\"type\")){var e=jQuery(this);setTimeout((function(){\"simple\"==e.data(\"type\")&&e.html(e.text()),l(e)}),100)}})).on(\"focus\",\".dslca-editable-content\",(function(){jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).length>0&&!jQuery(this).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")&&jQuery(this).trigger(\"blur\")})).on(\"keyup\",\".dslca-editable-content\",(function(){\"simple\"==jQuery(this).data(\"type\")&&jQuery(this).closest(\".dslc-module-front\").addClass(\"dslca-module-change-made\")}))},$o=function(){var e,t,o,i=jQuery(\".dslca-modules .dslca-section-scroller-content\");0==i.length&&(i=[document.createElement(\"div\")]);At.create(i[0],{sort:!1,group:{name:\"modules\",pull:\"clone\",put:!1},animation:150,handle:\".dslca-module\",draggable:\".dslca-module\",chosenClass:\"dslca-module-dragging\",scroll:!0,scrollSensitivity:150,scrollSpeed:15,setData:function(e,t){e.setData(!1!==LiveComposer.Utils.msieversion()?\"Text\":\"text/html\",t.innerHTML)},onStart:function(e){e.oldIndex,jQuery(\"body\").removeClass(\"dslca-new-module-drag-not-in-progress\").addClass(\"dslca-new-module-drag-in-progress\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-new-module-drag-not-in-progress\").addClass(\"dslca-new-module-drag-in-progress\"),jQuery(\"#dslc-header\").addClass(\"dslca-header-low-z-index\")},onEnd:function(i){i.oldIndex,i.newIndex;var n,a,s=i.item;if(i.preventDefault(),jQuery(s).closest(\".dslca-section-scroller-content\").length>0)return!1;jQuery(\".dslca-options-hovered\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-options-hovered\"),e=jQuery(s.parentNode),t=s.dataset.id,window.dslc_generate_code(),\"DSLC_M_A\"==t||jQuery(\"body\").hasClass(\"dslca-module-drop-in-progress\")||e.closest(\"#dslc-header\").length||e.closest(\"#dslc-footer\").length||(jQuery(\"body\").addClass(\"dslca-module-drop-in-progress\"),n=t,a=function(t){o=t.output,LiveComposer.Builder.Helpers.insertModule(o,jQuery(\".dslca-module\",e)),setTimeout((function(){LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),jQuery(\"body\").removeClass(\"dslca-module-drop-in-progress\")}),700),jQuery(\".dslca-modules-area-manage\",e).css({visibility:\"visible\"}),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion(),window.dslc_generate_code(),window.dslc_show_publish_button()},window.dslcDebug&&console.log(\"moduleOutputDefault\"),jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-add-module\",dslc:\"active\",dslc_module_id:n,dslc_post_id:jQuery(\".dslca-container\").data(\"post-id\"),dslc_url_vars:LiveComposer.Utils.get_page_params(),dslc_new_module:!0},(function(e){a(e)})),jQuery(s).find(\".dslca-icon\").attr(\"class\",\"\").attr(\"class\",\"dslca-icon dslc-icon-refresh dslc-icon-spin\"),jQuery(\".dslca-modules-area-manage\",e).css({visibility:\"hidden\"})),LiveComposer.Builder.UI.stopScroller(),jQuery(\"body\").removeClass(\"dslca-new-module-drag-in-progress\").addClass(\"dslca-new-module-drag-not-in-progress\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-new-module-drag-in-progress\").addClass(\"dslca-new-module-drag-not-in-progress\"),jQuery(\"#dslc-header\").removeClass(\"dslca-header-low-z-index\")},onAdd:function(e){e.item;e.from},onUpdate:function(e){e.item;window.dslc_show_publish_button()},onSort:function(e){e.preventDefault()},onRemove:function(e){},onFilter:function(e){e.item},onMove:function(e){e.dragged,e.draggedRect,e.related,e.relatedRect,jQuery(e.to).addClass(\"dslca-options-hovered\")}})},Zo=function(e){var t=this;this.section=jQuery(e).closest(\".dslc-modules-section\"),this.elem=e,this.observer=new mqMutationObserver(e,(function(){var o=t.elem.classList;0==e.querySelectorAll(\".dslc-module-front\").length?(o.add(\"dslc-modules-area-empty\"),o.remove(\"dslc-modules-area-not-empty\")):(o.remove(\"dslc-modules-area-empty\"),o.add(\"dslc-modules-area-not-empty\"))}),{childList:!0}),this.sortable=At.create(e,{group:\"modules\",animation:350,handle:\".dslca-move-module-hook\",draggable:\".dslc-module-front\",ghostClass:\"dslca-module-ghost\",chosenClass:\"dslca-module-dragging\",scroll:!0,scrollSensitivity:150,scrollSpeed:15,setData:function(e,t){e.setData(!1!==LiveComposer.Utils.msieversion()?\"Text\":\"text/html\",t.innerHTML)},onStart:function(e){e.oldIndex,jQuery(\"body\").removeClass(\"dslca-drag-not-in-progress\").addClass(\"dslca-drag-in-progress\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaWindow.document).removeClass(\"dslca-drag-not-in-progress\").addClass(\"dslca-drag-in-progress\")},onEnd:function(e){e.oldIndex,e.newIndex,e.preventDefault(),window.dslc_generate_code(),LiveComposer.Builder.UI.stopScroller(),jQuery(\"body\").removeClass(\"dslca-drag-in-progress\").addClass(\"dslca-drag-not-in-progress\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaWindow.document).removeClass(\"dslca-drag-in-progress\").addClass(\"dslca-drag-not-in-progress\")},onAdd:function(e){var o=e.item;e.from,\"DSLC_M_A\"==jQuery(o).data(\"id\")&&(ei(jQuery(t.section).find(\".dslc-modules-section-wrapper .dslc-modules-section-inner\")),o.remove())},onUpdate:function(e){e.item;window.dslc_show_publish_button()},onSort:function(e){},onRemove:function(e){},onFilter:function(e){e.item},onMove:function(e){e.dragged,e.draggedRect,e.related,e.relatedRect,jQuery(\".dslc-modules-area-empty\").find(\".dslc-module-front\").length>0&&(jQuery(this).removeClass(\"dslc-modules-area-empty\").addClass(\"dslc-modules-area-not-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(e).attr(\"data-jsinit\",\"initialized\"),jQuery(document).on(\"LC.sortableOff\",(function(){t.sortable&&t.sortable.option&&t.sortable.option(\"disabled\",!0)})),jQuery(document).on(\"LC.sortableOn\",(function(){t.sortable&&t.sortable.option&&t.sortable.option(\"disabled\",!1)}))};jQuery(document).on(\"editorFrameLoaded\",(function(){function e(){var e=jQuery(\".dslc-modules-area\",LiveComposer.Builder.PreviewAreaDocument);jQuery(e).each((function(e,t){new Zo(t)}))}var t=function(){return!LiveComposer.Builder.Flags.panelOpened||(LiveComposer.Builder.UI.shakePanelConfirmButton(),!1)};jQuery(\"#dslc-main .dslc-modules-section\",LiveComposer.Builder.PreviewAreaDocument).length||jQuery(\"#dslca-tut-page\",LiveComposer.Builder.PreviewAreaDocument).length?e():ai(e()),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-copy-modules-area-hook\",(function(e){if(e.preventDefault(),!t())return!1;if(!jQuery(this).hasClass(\"dslca-action-disabled\")){var o=jQuery(this).closest(\".dslc-modules-area\");(function(e){window.dslcDebug&&console.log(\"dslc_copy_modules_area\");var t=e.closest(\".dslc-modules-section\").find(\".dslc-modules-section-inner\"),o=e.clone().appendTo(t);new Zo(o[0]),o.find(\".dslca-modules-area-manage\").trigger(\"mouseleave\"),o.data(\"size\",e.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 e=jQuery(this);Jo(e[0]),jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"),window.dslc_generate_code(),e.animate({opacity:1},300)})),$o(),window.dslc_show_publish_button(),window.dslc_generate_code()})(o)}})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-delete-modules-area-hook\",(function(e){if(e.preventDefault(),!t())return!1;if(!jQuery(this).hasClass(\"dslca-action-disabled\"))if(jQuery(this).closest(\".dslc-modules-area\").hasClass(\"dslc-modules-area-empty\")){var o=jQuery(this).closest(\".dslc-modules-area\");ti(o)}else{var i=jQuery(this);n({title:DSLCString.str_del_area_title,content:DSLCString.str_del_area_descr,confirm:function(){ti(i.closest(\".dslc-modules-area\"))}})}})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-change-width-modules-area-options span\",(function(){if(!t())return!1;if(!jQuery(this).hasClass(\"dslca-action-disabled\")){var e=jQuery(this).closest(\".dslc-modules-area\"),o=e.data(\"size\"),i=jQuery(this).data(\"size\");Number(o)!==Number(i)&&function(e,t){window.dslcDebug&&console.log(\"dslc_modules_area_width_set\");var o=\"dslc-\"+t+\"-col\";if(e.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(o).data(\"size\",t),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.Flags.panelOpened)return!1;window.dslc_generate_code(),window.dslc_show_publish_button()}(e,i)}})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-change-vertial-align-module-area-hook span\",(function(){!function(e,t){window.dslcDebug&&console.log(\"dslc_modules_area_vertical_align_set\");var o=\"dslc-valign-\"+t;if(e.removeClass(\"dslc-valign-top dslc-valign-middle dslc-valign-bottom\").addClass(o).data(\"valign\",t),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.Flags.panelOpened)return!1;window.dslc_generate_code(),window.dslc_show_publish_button()}(jQuery(this).closest(\".dslc-modules-area\"),jQuery(this).data(\"valign\"))})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-add-modules-area-hook\",(function(e){if(e.preventDefault(),!t())return!1;ei(jQuery(this).closest(\".dslc-modules-section\").find(\".dslc-modules-section-inner\"))}))}));var ei=function(e){window.dslcDebug&&console.log(\"modulesAreaAdd\");var t=window.DSLCSiteData.editorUrl+\"css/icons\";jQuery('<div class=\"dslc-modules-area dslc-col dslc-12-col dslc-modules-area-dnd dslc-modules-area-empty dslc-last-col\" data-size=\"12\">\\n\\t\\t<div class=\"dslca-modules-area-manage\">\\n\\t\\t\\t<span class=\"dslca-modules-area-manage-line\"></span>\\n\\t\\t\\t<div class=\"dslca-modules-area-manage-inner\">\\n\\t\\t\\t\\t<span class=\"dslca-manage-action dslca-copy-modules-area-hook\" title=\"Duplicate\">\\n\\t\\t\\t\\t\\t<svg class=\"feather\">\\n\\t\\t\\t\\t\\t\\t<use xlink:href=\"'+t+'/feather-sprite.svg#copy\"></use>\\n\\t\\t\\t\\t\\t</svg>\\n\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t<span class=\"dslca-manage-action dslca-move-modules-area-hook\" title=\"Drag to move\">\\n\\t\\t\\t\\t\\t<svg class=\"feather\">\\n\\t\\t\\t\\t\\t\\t<use xlink:href=\"'+t+'/feather-sprite.svg#move\"></use>\\n\\t\\t\\t\\t\\t</svg>\\n\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t<span class=\"dslca-manage-action dslca-change-width-modules-area-hook\" title=\"Change width\">\\n\\t\\t\\t\\t\\t<svg class=\"feather\">\\n\\t\\t\\t\\t\\t\\t<use xlink:href=\"'+t+'/feather-sprite.svg#columns\"></use>\\n\\t\\t\\t\\t\\t</svg>\\n\\t\\t\\t\\t\\t<div class=\"dslca-change-width-modules-area-options\"><span>Container Width</span><span data-size=\"1\">1/12</span><span data-size=\"2\">2/12</span>\\n\\t\\t\\t\\t\\t\\t<span data-size=\"3\">3/12</span><span data-size=\"4\">4/12</span>\\n\\t\\t\\t\\t\\t\\t<span data-size=\"5\">5/12</span><span data-size=\"6\">6/12</span>\\n\\t\\t\\t\\t\\t\\t<span data-size=\"7\">7/12</span><span data-size=\"8\">8/12</span>\\n\\t\\t\\t\\t\\t\\t<span data-size=\"9\">9/12</span><span data-size=\"10\">10/12</span>\\n\\t\\t\\t\\t\\t\\t<span data-size=\"11\">11/12</span><span data-size=\"12\">12/12</span>\\n\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t<span class=\"dslca-manage-action dslca-change-vertial-align-module-area-hook\" title=\"Change vertical align\" >\\n\\t\\t\\t\\t\\t<svg class=\"feather\">\\n\\t\\t\\t\\t\\t\\t<use xlink:href=\"'+t+'/feather-sprite.svg#git-commit\"/>\\n\\t\\t\\t\\t\\t</svg>\\n\\t\\t\\t\\t\\t<div class=\"dslca-change-vertial-align-module-area-options\">\\n\\t\\t\\t\\t\\t\\t<span>Vertical Align</span>\\n\\t\\t\\t\\t\\t\\t<span data-valign=\"top\" class=\"dslc-popup-option\">⬆️ Top</span>\\n\\t\\t\\t\\t\\t\\t<span data-valign=\"middle\" class=\"dslc-popup-option\">↕️ Middle</span>\\n\\t\\t\\t\\t\\t\\t<span data-valign=\"bottom\" class=\"dslc-popup-option\">⬇️ Bottom</span>\\n\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t<span class=\"dslca-manage-action dslca-delete-modules-area-hook\" title=\"Delete\">\\n\\t\\t\\t\\t\\t<svg class=\"feather\">\\n\\t\\t\\t\\t\\t\\t<use xlink:href=\"'+t+'/feather-sprite.svg#x\"></use>\\n\\t\\t\\t\\t\\t</svg>\\n\\t\\t\\t\\t</span>\\n\\t\\t\\t</div>\\n\\t\\t</div>\\n\\t\\t\\x3c!-- .dslc-module --\\x3e\\n\\t</div>').appendTo(e).css({height:0}).animate({height:99},300,(function(){jQuery(this).css({height:\"auto\"})})).addClass(\"dslca-init-animation\");var o=jQuery(\".dslc-modules-area-empty\",LiveComposer.Builder.PreviewAreaDocument);jQuery(o).each((function(e,t){new Zo(t)})),$o(),window.dslc_generate_code(),window.dslc_show_publish_button()};function ti(e){window.dslcDebug&&console.log(\"dslc_delete_modules_area\");var t=e.closest(\".dslc-modules-section\").find(\".dslc-modules-section-inner\"),o=!1;e.addClass(\"dslca-modules-area-being-deleted\"),t.find(\".dslc-modules-area\").length<2&&(o=!0),e.find(\".dslca-module-being-edited\").length&&(jQuery(\".dslca-header .dslca-options-filter-hook\",LiveComposer.Builder.PreviewAreaDocument).hide(),jQuery(\".dslca-module-edit-actions\",LiveComposer.Builder.PreviewAreaDocument).hide(),jQuery(\".dslca-header .dslca-go-to-section-hook\",LiveComposer.Builder.PreviewAreaDocument).show(),Et(\".dslca-modules\")),setTimeout((function(){if(o){e.closest(\".dslc-modules-section-inner\");2<=e.closest(\"#dslc-main\").find(\".dslc-modules-section\").length?dslc_row_delete(e.closest(\".dslc-modules-section\")):(e.remove(),ei(t))}e.remove(),window.dslc_generate_code(),window.dslc_show_publish_button()}),900),e.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(){e.remove(),window.dslc_generate_code(),window.dslc_show_publish_button()}))}var oi=function(){jQuery(\"#dslc-main .dslc-modules-area\",LiveComposer.Builder.PreviewAreaDocument).each((function(){\"initialized\"!==jQuery(this).data(\"jsinit\")&&new Zo(this)}))};function ii(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,\"value\"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var ni=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,e),this.sortable,this.sortableContainer=jQuery(t).find(\".dslc-modules-section-wrapper .dslc-modules-section-inner\").eq(0)[0],this.initSortable(t),this.initDropable(t),this.reactToSortableOnOff(),jQuery(t).attr(\"data-jsinit\",\"initialized\")}var t,o,i;return t=e,(o=[{key:\"initDropable\",value:function(e){jQuery(e).droppable({drop:function(e,t){var o=jQuery(this).find(\".dslc-modules-section-inner\");\"DSLC_M_A\"==t.draggable.data(\"id\")&&ei(o)}})}},{key:\"initSortable\",value:function(e){this.sortable=jQuery(this.sortableContainer).sortable({connectWith:\".dslc-modules-section-inner\",items:\".dslc-modules-area-dnd\",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(e,t){var o=t.placeholder.closest(\".dslc-modules-section\");jQuery(o).removeClass(\"dslc-modules-section-empty\").addClass(\"dslc-modules-section-not-empty\"),o.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\")}))},remove:function(){0==jQuery(self.elem).find(\".dslc-modules-area\").length&&ei(jQuery(this.sortableContainer))},update:function(e,t){window.dslc_generate_code(),window.dslc_show_publish_button()},start:function(e,t){t.placeholder.html('<span class=\"dslca-placeholder-help-text\"><span class=\"dslca-placeholder-help-text-inner\">'+DSLCString.str_area_helper_text+\"</span></span>\"),jQuery(t.item).hasClass(\"dslc-12-col\")?t.placeholder.width(t.item.width()).css({margin:0}):t.placeholder.width(t.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(e,t){LiveComposer.Builder.UI.stopScroller(),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(e,t){}})}},{key:\"reactToSortableOnOff\",value:function(){self=this.sortable,jQuery(document).on(\"LC.sortableOff\",(function(){})),jQuery(document).on(\"LC.sortableOn\",(function(){}))}}])&&ii(t.prototype,o),i&&ii(t,i),e}(),ai=function(e){window.dslcDebug&&console.log(\"dslc_row_add\"),e=void 0!==e&&e;var t=jQuery.Deferred(),o=sessionStorage,i=(jQuery(),o.getItem(\"cache-dslc-ajax-add-modules-section-v2\"));null!==i&&(DSLCMainOptions.section_padding_vertical!==jQuery(i).find('input[data-id=\"padding\"]').val()&&(o.removeItem(\"cache-dslc-ajax-add-modules-section-v2\"),i=null));if(null!==i)return si(i),e&&e(),t;jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-add-modules-section\",dslc:\"active\"},(function(i){return o.setItem(\"cache-dslc-ajax-add-modules-section-v2\",i.output),si(i.output),e&&e(),t}))};function si(e){var t=jQuery(e);return t.appendTo(LiveComposer.Builder.PreviewAreaDocument.find(\"#dslc-main\")),$o(),window.dslc_generate_code(),window.dslc_show_publish_button(),new ni(t),new Zo(t.find(\".dslc-modules-area\").eq(0)[0]),t.find(\".dslc-modules-area\").addClass(\"dslc-modules-area-empty dslc-last-col\"),t}function di(e){window.dslcDebug&&console.log(\"dslc_row_delete\"),e.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(),Et(\".dslca-modules\")),e.trigger(\"mouseleave\").remove(),window.dslc_generate_code(),window.dslc_show_publish_button()}function ri(e){window.dslcDebug&&console.log(\"dslc_row_edit\"),jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"),jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-modules-section-being-edited\").removeClass(\"dslca-modules-section-change-made\"),e.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(\"type\"===jQuery(this).data(\"id\")&&(\"\"!==jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id=\"type\"]',LiveComposer.Builder.PreviewAreaDocument).val()&&\"wrapped\"!==jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id=\"type\"]',LiveComposer.Builder.PreviewAreaDocument).val()||jQuery('select[data-id=\"type\"]').val(\"wrapper\").change()),\"border-top\"==jQuery(this).data(\"id\"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id=\"border\"]',LiveComposer.Builder.PreviewAreaDocument).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\"]',LiveComposer.Builder.PreviewAreaDocument).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\"]',LiveComposer.Builder.PreviewAreaDocument).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\"]',LiveComposer.Builder.PreviewAreaDocument).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\")+'\"]',LiveComposer.Builder.PreviewAreaDocument).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\")+'\"]',LiveComposer.Builder.PreviewAreaDocument).val().trim().replace(\"%(%\",\"[\").replace(\"%)%\",\"]\")),jQuery(this).hasClass(\"dslca-modules-section-edit-field-colorpicker\")){var e=jQuery(this);jQuery(this).closest(\".dslca-modules-section-edit-option\").find(\".sp-preview-inner\").removeClass(\"sp-clear-display\").css({\"background-color\":e.val()}),jQuery(this).css({\"background-color\":e.val()})}})),jQuery(\".dslca-modules-section-edit-field-upload\").each((function(){var e=jQuery(this).closest(\".dslca-modules-section-edit-option\");jQuery(this).val()&&\"disabled\"!==jQuery(this).val()?(jQuery(\".dslca-modules-section-edit-field-image-add-hook\",e).hide(),jQuery(\".dslca-modules-section-edit-field-image-remove-hook\",e).show()):(jQuery(\".dslca-modules-section-edit-field-image-remove-hook\",e).hide(),jQuery(\".dslca-modules-section-edit-field-image-add-hook\",e).show())})),Et(\".dslca-modules-section-edit\"),LiveComposer.Builder.Flags.panelOpened=!0,Pt()}function li(e){var t;window.dslcDebug&&console.log(\"dslc_row_copy\"),(t=e.clone().appendTo(jQuery(\"#dslc-main\",LiveComposer.Builder.PreviewAreaDocument)))[0].removeAttribute(\"data-jsinit\"),t.find(\".dslc-modules-area\").each((function(){var t=jQuery(this).index();jQuery(this).data(\"size\",e.find(\".dslc-modules-area:eq( \"+t+\" )\").data(\"size\")),this.removeAttribute(\"data-jsinit\")})),new ni(t),t.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 e=jQuery(this);Jo(e[0]),ui(),oi(),window.dslc_generate_code(),$o(),jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"),e.animate({opacity:1},300),window.dslc_show_publish_button()})),function(e){window.dslcDebug&&console.log(\"dslc_section_new_id\");var t=LiveComposer.Utils.get_unique_id();e.setAttribute(\"data-section-id\",t),LiveComposer.Utils.update_section_property_raw(e,\"section_instance_id\",t)}(t[0])}function ci(e){window.dslcDebug&&console.log(\"dslc_row_import\"),jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-import-modules-section\",dslc:\"active\",dslc_modules_section_code:e},(function(e){u(),jQuery(\"#dslc-main\",LiveComposer.Builder.PreviewAreaDocument).append(e.output),LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),ui(),oi(),$o(),window.dslc_generate_code(),window.dslc_show_publish_button()}))}var ui=function(){jQuery(\"#dslc-main .dslc-modules-section\",LiveComposer.Builder.PreviewAreaDocument).each((function(){\"initialized\"!==jQuery(this).data(\"jsinit\")&&new ni(this)}))},mi=function(){ui(),function(){jQuery;var e=function(){return!LiveComposer.Builder.Flags.panelOpened||(LiveComposer.Builder.UI.shakePanelConfirmButton(),!1)};jQuery(\".dslc-modules-section\",LiveComposer.Builder.PreviewAreaDocument).each((function(){new ni(this)})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-delete-modules-section-hook\",(function(t){if(!e())return!1;t.preventDefault();var o=this;jQuery(this).hasClass(\"dslca-action-disabled\")||n({title:DSLCString.str_del_row_title,content:DSLCString.str_del_row_descr,confirm:function(){di(jQuery(o).closest(\".dslc-modules-section\"))}})})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-import-modules-section-hook\",(function(t){if(t.preventDefault(),!e())return!1;jQuery(this).hasClass(\"dslca-action-disabled\")||n({title:DSLCString.str_import_row_title,content:DSLCString.str_import_row_descr+\"<br><br><textarea></textarea>\",confirm:function(){ci(jQuery(\".dslca-prompt-modal textarea\").val()),jQuery(\".dslca-prompt-modal-confirm-hook span\").css({opacity:0}),jQuery(\".dslca-prompt-modal-confirm-hook .dslca-loading\").show()},confirm_title:DSLCString.str_import})})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-export-modules-section-hook\",(function(t){if(t.preventDefault(),!e())return!1;jQuery(this).hasClass(\"dslca-action-disabled\")||(jQuery(\".dslca-prompt-modal-cancel-hook\").hide(),jQuery(\".dslca-prompt-modal-confirm-hook\").html('<span class=\"dslc-icon dslc-icon-ok\"></span>'+DSLCString.str_ok),n({title:DSLCString.str_export_row_title,content:DSLCString.str_export_row_descr+\"<br><br><textarea>[\"+d(jQuery(this).closest(\".dslc-modules-section\"))+\"]</textarea></span>\"}))})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-copy-modules-section-hook\",(function(){if(!e())return!1;jQuery(this).hasClass(\"dslca-action-disabled\")||li(jQuery(this).closest(\".dslc-modules-section\"))})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-add-modules-section-hook\",(function(t){if(t.preventDefault(),!e())return!1;var o=jQuery(this);jQuery(this).hasClass(\"dslca-action-disabled\")||(o.find(\".dslca-icon\").removeClass(\"dslc-icon-align-justify\").addClass(\"dslc-icon-spinner dslc-icon-spin\"),ai((function(){o.find(\".dslca-icon\").removeClass(\"dslc-icon-spinner dslc-icon-spin\").addClass(\"dslc-icon-align-justify\")})))})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-edit-modules-section-hook\",(function(){if(!e())return!1;var t=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).length,o=jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).length;if(LiveComposer.Builder.Flags.uiHidden||t>0||o>0)return!1;jQuery(this).hasClass(\"dslca-action-disabled\")||ri(jQuery(this).closest(\".dslc-modules-section\")),jQuery(\"body\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"section-editing-in-progress\")}))}(),jQuery(document).on(\"click\",\".dslca-row-edit-save\",(function(){var e;window.dslcDebug&&console.log(\"dslc_confirm_row_changes\"),e=void 0!==e&&e,jQuery(\".dslca-modules-section-being-edited .dslca-modules-section-settings input\",LiveComposer.Builder.PreviewAreaDocument).each((function(){jQuery(this).data(\"def\",jQuery(this).val())})),Et(\".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-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-modules-section-being-edited dslca-modules-section-change-made\"),window.dslc_generate_code(),window.dslc_show_publish_button(),e&&e(),LiveComposer.Builder.Flags.panelOpened=!1,jQuery(\"body\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"section-editing-in-progress\"),jQuery(\".dslca-currently-editing\").removeAttr(\"style\"),jQuery(\".dslca-row-options-filter-hook.dslca-active\").removeClass(\"dslca-active\"),LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(!0)})),jQuery(document).on(\"click\",\".dslca-row-edit-cancel\",(function(){var e;window.dslcDebug&&console.log(\"dslc_row_cancel_changes\"),e=void 0!==e&&e,LiveComposer.Builder.Flags.generate_code_after_row_changed=!1,jQuery(\".dslca-modules-section-being-edited .dslca-modules-section-settings input\",LiveComposer.Builder.PreviewAreaDocument).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\")})),LiveComposer.Builder.Flags.generate_code_after_row_changed=!0,window.dslc_generate_code(),window.dslc_show_publish_button(),Et(\".dslca-modules\"),jQuery(\".dslca-row-edit-actions\").hide(),jQuery(\".dslca-row-options-filter-hook\").hide(),jQuery(\".dslca-header .dslca-go-to-section-hook\").show(),dslc_show_publish_button,jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-modules-section-being-edited dslca-modules-section-change-made\"),e&&e(),LiveComposer.Builder.Flags.panelOpened=!1,jQuery(\"body\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"section-editing-in-progress\"),jQuery(\".dslca-currently-editing\").removeAttr(\"style\"),jQuery(\".dslca-row-options-filter-hook.dslca-active\").removeClass(\"dslca-active\"),LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(!0)}))};function pi(){window.dslcDebug&&console.log(\"dslc_import_template\"),jQuery(\".dslca-modal-templates-import .dslca-modal-title\").css({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(e){jQuery(\"#dslc-main\",LiveComposer.Builder.PreviewAreaDocument).html(e.output),jQuery(\".dslca-modal-templates-import .dslca-loading\").hide(),jQuery(\".dslca-modal-templates-import .dslca-modal-title\").css({opacity:1}),c(\"\",\".dslca-modal-templates-import\"),LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video(),$o(),window.dslc_show_publish_button(),window.dslc_generate_code()}))}function hi(){window.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(e){c(\"\",\".dslca-modal-templates-save\")}))}function fi(e){window.dslcDebug&&console.log(\"dslc_delete_template\"),jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-delete-template\",dslc:\"active\",dslc_template_id:e},(function(t){jQuery('.dslca-template[data-id=\"'+e+'\"]').fadeOut(200,(function(){jQuery(this).remove()}))}))}var vi=function(){document.querySelectorAll(\".dslca-template\").forEach((function(e){e.addEventListener(\"click\",(function(e){e.preventDefault(),function(e){window.dslcDebug&&console.log(\"dslc_load_template\"),jQuery(\"#wpcontent\").prepend('<div class=\"lc-template-loader\"></div>');jQuery(\".lc-template-loader\").prepend('<div class=\"lc-loader lds-css\"><div class=\"lds-spinner\"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>'),jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-load-template\",dslc:\"active\",dslc_template_id:e},(function(e){jQuery(\"#dslc-main\",LiveComposer.Builder.PreviewAreaDocument).html(e.output),jQuery(\".lc-template-loader\").remove(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),ui(),oi(),$o(),window.dslc_show_publish_button(),window.dslc_generate_code()}))}(e.target.closest(\"[data-id]\").dataset.id)}))})),jQuery(\".dslca-template-import-form\").submit((function(e){e.preventDefault(),pi()})),jQuery(\".dslca-template-save-form\").submit((function(e){e.preventDefault(),hi()})),jQuery(document).on(\"click\",\".dslca-delete-template-hook\",(function(e){e.stopPropagation(),fi(jQuery(this).data(\"id\"))}))};function gi(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,\"value\"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var yi=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,e),this.sortable,this.initSortable(t),this.reactToSortableOnOff()}var t,o,i;return t=e,(o=[{key:\"initSortable\",value:function(e){this.sortable=At.create(e,{group:\"sections\",animation:350,handle:\".dslca-move-modules-section-hook\",draggable:\".dslc-modules-section-dnd\",ghostClass:\"dslca-sections-ghost\",chosenClass:\"dslca-sections-dragging\",scroll:!0,scrollSensitivity:150,scrollSpeed:10,bubbleScroll:!0,direction:\"vertical\",setData:function(e,t){e.setData(!1!==LiveComposer.Utils.msieversion()?\"Text\":\"text/html\",t.innerHTML)},onStart:function(e){jQuery(\"body\").removeClass(\"dslca-drag-not-in-progress\").addClass(\"dslca-drag-in-progress\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaWindow.document).removeClass(\"dslca-drag-not-in-progress\").addClass(\"dslca-drag-in-progress\")},onEnd:function(e){e.oldIndex,e.newIndex,e.preventDefault(),window.dslc_generate_code(),LiveComposer.Builder.UI.stopScroller(),jQuery(\"body\").removeClass(\"dslca-drag-in-progress\").addClass(\"dslca-drag-not-in-progress\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaWindow.document).removeClass(\"dslca-drag-in-progress\").addClass(\"dslca-drag-not-in-progress\"),jQuery(\".dslca-anim-opacity-drop\").removeClass(\"dslca-anim-opacity-drop\")},onAdd:function(e){},onUpdate:function(e){e.item,window.dslc_show_publish_button()},onSort:function(e){jQuery(this).removeClass(\"ui-state-default\")},onRemove:function(e){},onFilter:function(e){e.item},onMove:function(e){e.dragged,e.draggedRect,e.related,e.relatedRect}})}},{key:\"reactToSortableOnOff\",value:function(){self=this.sortable}}])&&gi(t.prototype,o),i&&gi(t,i),e}();jQuery(document).ready((function(e){var t=function(e){var t=.75,o=100,i=jQuery(\".dslca-section-scroller\",e),n=jQuery(\".dslca-section-scroller-inner\",e)[0];function a(e){e=e<0?-o:o,e*=t;var a=i.find(\".dslca-section-scroller-content\").width(),s=i.width();if(a<=s)return!1;var d=a-s+10;e=(e=(e=parseInt(n.style.left||0)-e)>=0?0:e)<=-d?-d:e,n.style.left=e+\"px\"}i.on(\"wheel\",(function(e){return a(e.originalEvent.deltaY||e.originalEvent.deltaX),!1})),jQuery(\".dslca-section-scroller-prev\",e).click((function(e){e.preventDefault(),a(-500)})),jQuery(\".dslca-section-scroller-next\",e).click((function(e){e.preventDefault(),a(500)})),jQuery(window).load((function(){jQuery(window).resize((function(){a(0)}))}))};t(jQuery(\".dslca-section.dslca-modules\")),t(jQuery(\".dslca-section.dslca-templates-load\"))}));var wi=function(){LiveComposer.Builder.Flags.windowScroller=!1,jQuery(LiveComposer.Builder.PreviewAreaDocument).on(\"dragleave\",\".lc-scroll-top-area, .lc-scroll-bottom-area\",(function(e){LiveComposer.Builder.UI.stopScroller()})),jQuery(LiveComposer.Builder.PreviewAreaDocument).on(\"dragenter dragover\",\".lc-scroll-bottom-area\",(function(e){if(!1!==LiveComposer.Builder.Flags.windowScroller)return!1;LiveComposer.Utils.publish(\"LC.sortableOff\",{}),LiveComposer.Builder.Flags.windowScroller=setInterval((function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,5)}),6)})),jQuery(LiveComposer.Builder.PreviewAreaDocument).on(\"dragenter\",\".lc-scroll-top-area\",(function(e){if(!1!==LiveComposer.Builder.Flags.windowScroller)return!1;LiveComposer.Utils.publish(\"LC.sortableOff\",{}),LiveComposer.Builder.Flags.windowScroller=setInterval((function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,-5)}),6)})),jQuery(LiveComposer.Builder.PreviewAreaDocument).on(\"dragend mouseup\",\"body\",(function(e){LiveComposer.Builder.Flags.windowScroller&&LiveComposer.Builder.UI.stopScroller()}))};function bi(e){return(bi=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}jQuery(document).ready((function(e){wi(),LiveComposer.Builder.UI.stopScroller=function(){LiveComposer.Utils.publish(\"LC.sortableOn\",{}),clearInterval(LiveComposer.Builder.Flags.windowScroller),LiveComposer.Builder.Flags.windowScroller=!1},jQuery(\"#scroller-stopper\").on(\"dragover\",(function(){LiveComposer.Builder.UI.stopScroller()}))}));var ji={addslashes:function(e){return e=(e=(e=(e=e.replace(/\\\\/g,\"\\\\\\\\\")).replace(/\\'/g,\"\\\\'\")).replace(/\\\"/g,'\\\\\"')).replace(/\\0/g,\"\\\\0\")},basename:function(e){return e.split(/[\\\\/]/).pop()},msieversion:function(){var e=window.navigator.userAgent,t=e.indexOf(\"MSIE \");return!!(t>0||navigator.userAgent.match(/Trident.*rv\\:11\\./))&&parseInt(e.substring(t+5,e.indexOf(\".\",t)))},checkParams:function(e){if(!Array.isArray(e))throw\"Param is not array\";var t={integer:function(e){return isNaN(parseInt(e))},float:function(e){return isNaN(parseFloat(e))},string:function(e){return null!=e&&null!=e&&\"string\"==typeof e},array:function(e){return Array.isArray(e)},object:function(e){return\"object\"==bi(e)}};e.map((function(e){if(!t[e[1]](e[0]))throw\"Param \"+e[0]+\" is not \"+e[1]}))},utf8_to_b64:function(e){return window.btoa(unescape(encodeURIComponent(e)))},b64_to_utf8:function(e){return decodeURIComponent(escape(window.atob(e)))},get_page_params:function(){return decodeURIComponent(window.location.search.slice(1)).split(\"&\").reduce((function(e,t){return e[(t=t.split(\"=\"))[0]]=t[1],e}),{})},get_unique_id:function(){return Math.random().toString(32).slice(2)},update_module_property_raw:function(e,t,o){var i=e.getElementsByClassName(\"dslca-module-code\")[0],n=e.querySelector('.dslca-module-option-front[data-id=\"'+t+'\"]'),a=i.value;(a=JSON.parse(a))[t]=o,a=JSON.stringify(a),i.value=a,i.innerText=a,n.value=o,n.innerText=o},update_section_property_raw:function(e,t,o){var i=e.getElementsByClassName(\"dslca-section-code\")[0],n=e.querySelector('.dslca-modules-section-settings input[data-id=\"'+t+'\"]'),a=i.value;(a=JSON.parse(a))[t]=o,a=JSON.stringify(a),i.value=a,i.innerText=a,n.setAttribute(\"value\",o),n.setAttribute(\"data-def\",o)},publish:function(e,t){t=t||{},this.checkParams([[e,\"string\"],[t,\"object\"]]),jQuery(document).trigger({type:e,message:{details:t}}),LiveComposer.Builder.PreviewAreaWindow.dslca_publish_event(e,t)}};window.LiveComposer={Builder:{Elements:{},UI:{},Actions:{},Flags:{},PreviewFrame:{},Helpers:{}},Production:{},Utils:{}},LiveComposer.Builder.Flags={windowScroller:!1,panelOpened:!1,uiHidden:!1,modalOpen:!1,generate_code_after_row_changed:!0},LiveComposer.Builder.Actions={postponed_actions_queue:{},add_postponed_action:function(e){void 0!==e&&(isNaN(this.postponed_actions_queue[e])&&(this.postponed_actions_queue[e]=0),this.postponed_actions_queue[e]+=1)},release_postponed_actions:function(){var e=this;jQuery.each(this.postponed_actions_queue,(function(t,o){1<o?e.postponed_actions_queue[t]-=1:1==o&&(window[t](),e.postponed_actions_queue[t]-=1)}))},optionsChanged:function(){window.dslc_show_publish_button()}},LiveComposer.Builder.Helpers.insertModule=function(e,t){var o=jQuery(e),i=(t=jQuery(t),[]);return o.find(\"script\").each((function(){i.push(this.innerHTML),this.parentNode.removeChild(this)})),t.after(o).remove(),i.forEach((function(e){var t=LiveComposer.Builder.PreviewAreaDocument[0].createElement(\"script\");t.innerHTML=e,t.type=\"text/javascript\",LiveComposer.Builder.PreviewAreaDocument[0].getElementById(o[0].id).appendChild(t)})),i=null,t=null,o},window.previewAreaTinyMCELoaded=function(e){LiveComposer.Builder.PreviewAreaWindow=e,LiveComposer.Builder.PreviewAreaDocument=jQuery(e.document),jQuery(\"#wpadminbar\",LiveComposer.Builder.PreviewAreaDocument).remove(),window.LiveComposer.Builder.PreviewAreaDocument.on(\"dragstart\",\".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section\",(function(e){jQuery(\"[contenteditable]\",window.LiveComposer.Builder.PreviewAreaDocument).attr(\"contenteditable\",!1)})),window.LiveComposer.Builder.PreviewAreaDocument.on(\"dragend mousedown\",\".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section\",(function(e){jQuery(\"[contenteditable]\",window.LiveComposer.Builder.PreviewAreaDocument).attr(\"contenteditable\",!0)})),vi(),function(){var e=window.LiveComposer.Builder;window.LiveComposer.Builder.Helpers.colorpickers=[],window.LiveComposer.Builder.UI.clearUtils=function(){window.dslcDebug&&console.log(\"window.LiveComposer.Builder.UI.clearUtils\"),window.LiveComposer.Builder.UI.clearColorPickers(),void 0!==window.LiveComposer.Builder.moduleBackup&&window.LiveComposer.Builder.moduleBackup.remove(),jQuery(\".temp-styles-for-module\",window.LiveComposer.Builder.PreviewAreaDocument).remove(),jQuery(\".mce-tinymce\",window.LiveComposer.Builder.PreviewAreaDocument).hide()},window.LiveComposer.Builder.UI.clearColorPickers=function(){Array.isArray(e.Helpers.colorpickers)&&(e.Helpers.colorpickers.forEach((function(e){jQuery(e).hasClass(\"dslca-modules-section-edit-field\")||jQuery(e).remove()})),e.Helpers.colorpickers=[]),jQuery(\"body\").off(\"click.wpcolorpicker\")},window.LiveComposer.Builder.Helpers.depsHandlers=[],window.LiveComposer.Builder.UI.loadOptionsDeps=function(){jQuery(\".dslca-module-edit-option\").each((function(){var e=!0;try{var t=JSON.parse(LiveComposer.Utils.b64_to_utf8(jQuery(this).data(\"dep\")))}catch(t){e=!1}if(e){var o=function(){var e=this,o={};if((\"radio\"==e.type||\"checkbox\"==e.type)&&null==t[e.value])return!1;\"checkbox\"==e.type&&null!=t[e.value]?o[e.value]=t[e.value]:o=t,Object.keys(o).forEach((function(t){o[t].split(\",\").forEach((function(o){var i=jQuery(\".dslca-module-edit-option-\"+o.trim()).closest(\".dslca-module-edit-option\"),n=!0;\"radio\"!=e.type&&\"checkbox\"!=e.type||(n=jQuery(e).is(\":checked\"));var a=jQuery(\".dslca-module-edit-options-tab-hook.dslca-active\").data(\"id\");e.value==t&&n?(i.not(\".dependent\")&&i.addClass(\"dependent\"),i.hasClass(\"dep-hide\")?(i.removeClass(\"dep-hide\"),i.addClass(\"dep-show\")):i.addClass(\"dep-show\"),a==i.data(\"tab\")&&i.show()):(i.not(\".dependent\")&&i.addClass(\"dependent\"),i.hasClass(\"dep-show\")?(i.removeClass(\"dep-show\"),i.addClass(\"dep-hide\")):i.addClass(\"dep-hide\"),i.hide())}))}))};jQuery(document).on(\"change dslc-init-deps\",'.dslca-module-edit-option > *[data-id=\"'+jQuery(this).data(\"id\")+'\"]',o),window.LiveComposer.Builder.Helpers.depsHandlers.push(o)}})),jQuery(\".dslca-module-edit-option input, .dslca-module-edit-option select\").trigger(\"dslc-init-deps\")},window.LiveComposer.Builder.UI.unloadOptionsDeps=function(){window.LiveComposer.Builder.Helpers.depsHandlers.forEach((function(e){jQuery(document).unbind(\"change\",e),jQuery(document).unbind(\"dslc-init-deps\",e)})),window.LiveComposer.Builder.Helpers.depsHandlers=[]},window.LiveComposer.Builder.Helpers.processInlineStyleTag=function(e){if(\"object\"!=m(e))return!1;var t=\"\",o=\"\";\"tablet_responsive\"==e.context.closest(\".dslca-module-edit-option\").data(\"tab\")?(t=\"@media only screen and (max-width: 1024px) and (min-width: 768px) {\",o=\"}\"):\"phone_responsive\"==e.context.closest(\".dslca-module-edit-option\").data(\"tab\")&&(t=\"@media only screen and (max-width: 767px) {\",o=\"}\"),e.styleContent=t+e.styleContent+o;var i=t+e.rule+e.elems;if(i=i.replace(/ /gi,\"\"),null==window.LiveComposer.Builder.PreviewAreaDocument[0].getElementById(i)){var n=document.createElement(\"style\");n.innerHTML=e.styleContent,n.id=i,n.className=\"temp-styles-for-module\",window.LiveComposer.Builder.PreviewAreaDocument[0].body.appendChild(n)}else window.LiveComposer.Builder.PreviewAreaDocument[0].getElementById(i).innerHTML=e.styleContent},window.LiveComposer.Builder.UI.shakePanelConfirmButton=function(){jQuery(\".dslca-module-edit-save\").addClass(\"lc-shake-effect active\"),setTimeout((function(){jQuery(\".dslca-module-edit-save\").removeClass(\"lc-shake-effect active\")}),1e3)},g(),y(),w()}(),mi();var t=LiveComposer.Builder.PreviewAreaDocument.find(\"#dslc-main\").eq(0)[0];new yi(t),jQuery(document).trigger(\"editorFrameLoaded\"),$o(),r(),window.dslc_generate_code(),Mt(),wi(),Vo(),window.LiveComposer.Utils=ji,document.addEventListener(\"click\",(function(e){if(e.target.matches('[data-event=\"modal-wysiwyg-cancel\"]')){var t=new CustomEvent(\"modalWysiwygCancel\",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event=\"modal-wysiwyg-confirm\"]')){var o=new CustomEvent(\"modalWysiwygConfirm\",{detail:e.target});document.dispatchEvent(o)}}),!1),LiveComposer.Builder.PreviewAreaWindow.document.addEventListener(\"click\",(function(e){if(e.preventDefault(),e.target.matches('[data-event=\"module-edit\"]')){var t=new CustomEvent(\"moduleEdit\",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event=\"module-duplicate\"]')){var o=new CustomEvent(\"moduleDuplicate\",{detail:e.target});document.dispatchEvent(o)}if(e.target.matches('[data-event=\"module-delete\"]')){var i=new CustomEvent(\"moduleDelete\",{detail:e.target});document.dispatchEvent(i)}if(e.target.matches(\".dslca-change-width-module-options [data-size]\")){var n=new CustomEvent(\"moduleChangeWidth\",{detail:e.target});document.dispatchEvent(n)}if(e.target.matches('[data-event=\"wysiwyg-edit\"]')){var a=new CustomEvent(\"wysiwygEdit\",{detail:e.target});document.dispatchEvent(a)}if(e.target.matches('[data-event=\"module-style-copy\"]')){var s=new CustomEvent(\"copyModuleStyles\",{detail:e.target});document.dispatchEvent(s)}if(e.target.matches('[data-event=\"module-style-paste\"]')){var d=new CustomEvent(\"pasteModuleStyles\",{detail:e.target});document.dispatchEvent(d)}}),!1)},window.onbeforeunload=function(){}}});"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sourceRoot":""}
1
+ {"version":3,"file":"editor_backend.min.js","sources":["webpack:///editor_backend.min.js"],"sourcesContent":["!function(e){var t={};function o(i){if(t[i])return t[i].exports;var n=t[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=t,o.d=function(e,t,i){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},o.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&\"object\"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,\"default\",{enumerable:!0,value:e}),2&t&&\"string\"!=typeof e)for(var n in e)o.d(i,n,function(t){return e[t]}.bind(null,n));return i},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,\"a\",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p=\"\",o(o.s=3)}({3:function(e,t,o){\"use strict\";function i(e){return(i=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}o.r(t);var n=function(e){if(\"object\"!=i(e)||!0===LiveComposer.Builder.Flags.modalOpen)return!1;var t='<div class=\"dslca-prompt-modal dslca-prompt-modal-active\"><div class=\"dslca-prompt-modal-content\"><div class=\"dslca-prompt-modal-msg\"><span class=\"dslca-prompt-modal-title\">'+e.title+'</span><span class=\"dslca-prompt-modal-descr\">'+e.content+\"</span></div>\",o=\"\";o=e.confirm||e.cancel?'<div class=\"dslca-prompt-modal-actions\"><a href=\"#\" class=\"dslca-prompt-modal-confirm-hook\"><span class=\"dslc-icon dslc-icon-ok\"></span>'+(e.confirm_title?e.confirm_title:\"Confirm\")+'</a><span class=\"dslca-prompt-modal-cancel-hook\"><span class=\"dslc-icon dslc-icon-remove\"></span>'+(e.cancel_title?e.cancel_title:\"Cancel\")+\"</span></div>\":'<div class=\"dslca-prompt-modal-actions\"><a href=\"#\" class=\"dslca-prompt-modal-confirm-hook\"><span class=\"dslc-icon dslc-icon-ok\"></span>'+(e.ok_title?e.ok_title:\"OK\")+\"</a></div>\",t+=o+\"</div>\",t=jQuery(t),\"function\"!=typeof e.confirm&&(e.confirm=function(){}),\"function\"!=typeof e.cancel&&(e.cancel=function(){}),t.find(\".dslca-prompt-modal-confirm-hook\").click((function(o){return o.stopPropagation(),t.find(\".dslca-prompt-modal-content\").animate({top:\"55%\"},400),t.animate({opacity:0},400,(function(){e.confirm(),LiveComposer.Builder.Flags.modalOpen=!1,jQuery(this).remove()})),!1})),t.find(\".dslca-prompt-modal-cancel-hook\").click((function(o){return o.stopPropagation(),t.find(\".dslca-prompt-modal-content\").animate({top:\"55%\"},400),t.animate({opacity:0},400,(function(){jQuery(this).remove(),LiveComposer.Builder.Flags.modalOpen=!1,e.cancel()})),!1})),t.hide(),jQuery(\"body\").append(t),t.css({opacity:0}).show().animate({opacity:1},400),t.find(\".dslca-prompt-modal-content\").css({top:\"55%\"}).animate({top:\"50%\"},400),LiveComposer.Builder.Flags.modalOpen=!0},s=function(){window.dslcDebug&&console.log(\"updatePreset\");var e=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),t=e.find('.dslca-module-option-front[data-id=\"css_load_preset\"]').val(),o=e.find(\".dslca-module-code\").innerText,i=e.data(\"module\");\"none\"!==t&&\"\"!==t&&jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-save-preset\",dslc_preset_name:t,dslc_preset_code:o,dslc_module_id:i},(function(t){\"enabled\"==t.preset_setting&&jQuery(\".dslc-module-front:not(#\"+e.attr(\"id\")+')[data-module=\"'+e.data(\"module\")+'\"][data-dslc-preset=\"'+e.data(\"dslc-preset\")+'\"]',LiveComposer.Builder.PreviewAreaDocument).each((function(){window.dslc_module_output_reload(jQuery(this))}))}))};jQuery(document).ready((function(e){jQuery(document).on(\"keypress\",'.dslca-module-edit-field[name=\"css_save_preset\"]',(function(e){if(13==e.which){var t=jQuery(this).val().toLowerCase().replace(/\\s/g,\"-\");jQuery(\"body\").addClass(\"dslca-new-preset-added\"),jQuery('.dslca-module-edit-field[name=\"css_load_preset\"]').append('<option value=\"'+t+'\">'+t+\"</option>\").val(t).trigger(\"change\"),jQuery(this).val(\"\"),jQuery(\".dslc-delete-preset\").removeClass(\"dslc-delete-preset-hide\")}})),jQuery(document).on(\"change\",'.dslca-module-edit-field[name=\"css_load_preset\"]',(function(e){jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslca-preload-preset\")})),jQuery(document).on(\"click\",\".dslc-delete-preset\",(function(e){var t=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),o=t.find('.dslca-module-option-front[data-id=\"css_load_preset\"]').val(),i=t.data(\"module\");\"none\"!==o&&\"\"!==o&&jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-delete-preset\",dslc_preset_name:o,dslc_module_id:i},(function(e){window.dslc_module_options_show(i)}))}))}));function a(){window.dslcDebug&&console.log(\"dslc_save_composer\"),window.dslc_generate_code(),function(){window.dslcDebug&&console.log(\"dslca_gen_content_for_search\");var e=document.getElementById(\"dslca-content-for-search\");if(null===e)return;var t=e.value,o=\"\",i=LiveComposer.Builder.PreviewAreaWindow.document.querySelectorAll(\"#dslc-main .dslc-module-front [data-exportable-content]\");void 0!==i&&Array.prototype.forEach.call(i,(function(e,t){var i;if(\"\"!==e.getAttribute(\"data-exportable-content\")){var n=e.getAttribute(\"data-exportable-content\");i=\"<\"+n+\">\"+e.innerHTML+\"</\"+n+\">\"}else i=e.innerHTML;null!==i&&(o+=i.replace(/\\s+/g,\" \").trim()+\"\\n\")}));e.value=o,t!==o&&window.dslc_show_publish_button()}();var e=jQuery(\"#dslca-code\").val(),t=jQuery(\"#dslca-content-for-search\").val(),o=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:o,dslc_code:e,dslc_content_for_search:t},timeout:3e4}).done((function(e){\"success\"==e.status?(jQuery(\".dslca-save-composer\").fadeOut(250),jQuery(\".dslca-save-draft-composer\").fadeOut(250),jQuery(\"body\").append('<iframe class=\"lbmn-cache-iframe\" id=\"lbmn-cache-iframe-'+o+'\" src=\"'+DSLCSiteData.siteurl+\"/?p=\"+o+'\" ></iframe>'),jQuery(\".lbmn-cache-iframe\").each((function(e,t){jQuery(t).load((function(){jQuery(t).remove()}))}))):alert(\"Something went wrong, please try to save again. Are you sure to make any changes? Error Code: \"+e.status)})).fail((function(e){\"timeout\"==e.statusText?alert(\"The request timed out after 30 seconds. Server do not respond in time. Please try again.\"):alert(\"Something went wrong. Please try again. Error Code: \"+e.statusText)})).always((function(e){jQuery(\".dslca-save-composer .dslca-icon\").removeClass(\"dslc-icon-spin dslc-icon-spinner\").addClass(\"dslc-icon-ok\"),jQuery(\"body\").removeClass(\"dslca-saving-in-progress\")}))}window.dslc_generate_code=function(){window.dslcDebug&&console.log(\"dslc_generate_code\");var e,t,o=\"\";jQuery(\"#dslc-main .dslc-modules-area\",LiveComposer.Builder.PreviewAreaDocument).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\",LiveComposer.Builder.PreviewAreaDocument).each((function(){e=jQuery(this),t=d(e),e.find(\".dslca-section-code\").val(t),o=o+t+\",\"})),o=\"[\"+(o=o.slice(0,-1))+\"]\",jQuery(\"#dslca-code\").val(o),jQuery(\"#dslca-export-code\").val(o)};var d=function(e){window.dslcDebug&&console.log(\"generateSectionCode\");var t,o,i,n,s=\"\",a=0,d=\"\";return o=e,jQuery(\".dslc-modules-area\",o).length?o.removeClass(\"dslc-modules-section-empty\").addClass(\"dslc-modules-section-not-empty\"):o.removeClass(\"dslc-modules-section-not-empty\").addClass(\"dslc-modules-section-empty\"),jQuery(\".dslc-modules-area.dslc-last-col, .dslc-modules-area.dslc-first-col\",void 0).removeClass(\"dslc-last-col dslc-first-col\"),jQuery(\".dslc-module-front.dslc-last-col, .dslc-module-front.dslc-first-col\",void 0).removeClass(\"dslc-last-col dslc-first-col\"),a=0,i=o.find(\".dslca-section-code\").val(),n=JSON.parse(i),d=\"\",jQuery(\".dslca-modules-section-settings input\",o).each((function(){var e=jQuery(this),t=e.data(\"id\"),o=e.val();d=d+t+'=\"'+o+'\" ',n[t]=o})),void 0!==n.give_new_id&&delete n.give_new_id,n.content=[],jQuery(\".dslc-modules-area\",o).each((function(){var e=0,o=jQuery(this),i=parseInt(o.data(\"size\")),d=o.data(\"valign\"),l=\"no\",r=\"no\";a+=i,jQuery(this).removeClass(\"dslc-first-col\"),jQuery(this).removeClass(\"dslc-last-col\"),12==a?(jQuery(this).addClass(\"dslc-last-col\").next(\".dslc-modules-area\").addClass(\"dslc-first-col\"),a=0,l=\"yes\"):a>12&&(jQuery(this).removeClass(\"dslc-last-col\").addClass(\"dslc-first-col\"),a=i,r=\"yes\"),a==i&&(r=\"yes\",jQuery(this).removeClass(\"dslc-last-col\").addClass(\"dslc-first-col\"));var c='{\"element_type\":\"module_area\",\"last\":\"'+l+'\",\"first\":\"'+r+'\",\"size\":\"'+i+'\",\"valign\":\"'+d+'\"}';void 0!==(c=JSON.parse(c)).give_new_id&&delete c.give_new_id,c.content=[],jQuery(\".dslc-module-front\",o).each((function(){var o=jQuery(this);t=parseInt(o[0].getAttribute(\"data-dslc-module-size\"));var i=\"no\";jQuery(this).removeClass(\"dslc-first-col\"),jQuery(this).removeClass(\"dslc-last-col\"),12==(e+=t)?(jQuery(this).addClass(\"dslc-last-col\"),jQuery(this).next(\".dslc-module-front\").addClass(\"dslc-first-col\"),e=0,i=\"yes\"):e>12&&(jQuery(this).removeClass(\"dslc-last-col\").addClass(\"dslc-first-col\"),e=t),e==t&&(\"yes\",jQuery(this).removeClass(\"dslc-last-col\").addClass(\"dslc-first-col\"));try{s=o[0].querySelector(\".dslca-module-code\").innerText}catch(e){console.info(\"No DSLC code found in module: \"+o[0].getAttribute(\"id\"))}if(\"\"!==s){var n=JSON.parse(s);n.last=i,jQuery.each(n,(function(e,t){!1!==t&&\"\"!==t||delete n[e],\"content\"===e&&(n[e]=t.replace(/\\\\'/g,\"'\")),\"give_new_id\"===e&&delete n[e]})),o[0].querySelector(\".dslca-module-code\").innerText=JSON.stringify(n),c.content.push(n)}s=\"\"})),n.content.push(c)})),JSON.stringify(n)},l=function(){jQuery(document).on(\"click\",\".dslca-save-composer-hook\",(function(e){e.preventDefault(),jQuery(\"body\").hasClass(\"dslca-module-saving-in-progress\")||jQuery(\"body\").hasClass(\"dslca-saving-in-progress\")||a()})),jQuery(document).on(\"click\",\".dslca-save-draft-composer-hook\",(function(e){e.preventDefault(),jQuery(\"body\").hasClass(\"dslca-module-saving-in-progress\")||jQuery(\"body\").hasClass(\"dslca-saving-in-progress\")||function(){window.dslcDebug&&console.log(\"dslc_save_draft_composer\");var e=jQuery(\"#dslca-code\").val(),t=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:t,dslc_code:e},(function(e){jQuery(\".dslca-save-draft-composer .dslca-icon\").removeClass(\"dslc-icon-spin dslc-icon-spinner\").addClass(\"dslc-icon-save\"),\"success\"==e.status?jQuery(\".dslca-save-draft-composer\").fadeOut(250):alert(\"Something went wrong, please try to save again.\"),jQuery(\"body\").removeClass(\"dslca-saving-in-progress\")}))}()}))};var r=function(e){if(window.dslcDebug&&console.log(\"editableContentCodeGeneration\"),void 0===e)return!1;var t=e.closest(\".dslc-module-front\")[0],o=e.html().trim().replace(/<textarea/g,\"<lctextarea\").replace(/<\\/textarea/g,\"</lctextarea\"),i=e.data(\"id\");LiveComposer.Utils.update_module_property_raw(t,i,o)};var c=function(e,t){\"undefined\"!=typeof dslcDebug&&dslcDebug&&console.log(\"hideModal\"),(t=jQuery(t)).outerHide(\"destroy\"),t.hide(),jQuery(\".dslca-prompt-modal-custom\").length>0&&jQuery(\".dslca-prompt-modal-custom\").fadeOut(),t.removeClass(\"dslca-modal-open\")};jQuery(document).ready((function(e){jQuery(document).on(\"click\",\".dslca-open-modal-hook\",(function(e){e.preventDefault();var t=jQuery(this).data(\"modal\");!function(e,t){\"undefined\"!=typeof dslcDebug&&dslcDebug&&console.log(\"dslc_show_modal\"),jQuery(\".dslca-modal:visible\").length&&c(\"\",jQuery(\".dslca-modal:visible\")),t=jQuery(t),jQuery(\".dslca-container\").height(),t.outerHide({clbk:function(){c(\"\",jQuery(\".dslca-modal:visible\"))}});var o=jQuery(e).position(),i=t.outerWidth()/2-e.outerWidth()/2,n=o.left-i;t.css({left:n}),jQuery(\".dslca-prompt-modal-custom\").insertAfter(t),jQuery(\".dslca-prompt-modal-custom\").length>0&&jQuery(\".dslca-prompt-modal-custom\").fadeIn(),t.addClass(\"dslca-modal-open\").show()}(jQuery(this),t)})),jQuery(document).on(\"click\",\".dslca-close-modal-hook\",(function(e){if(e.preventDefault(),!jQuery(this).hasClass(\"dslca-action-disabled\")){var t=jQuery(this).data(\"modal\");c(jQuery(this),t)}}))}));var u=function(){\"undefined\"!=typeof dslcDebug&&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)};window.dslc_modal_keypress_events=function(e){13==e.which?jQuery(\".dslca-prompt-modal-active\").length&&jQuery(\".dslca-prompt-modal-confirm-hook\").trigger(\"click\"):27==e.which&&jQuery(\".dslca-prompt-modal-active\").length&&jQuery(\".dslca-prompt-modal-cancel-hook\").trigger(\"click\")},jQuery(document).ready((function(e){jQuery(document).on(\"click\",\".dslca-prompt-modal-cancel-hook\",(function(e){e.preventDefault();var t=jQuery(\".dslca-prompt-modal\").data(\"id\"),o=jQuery(\".dslca-prompt-modal\").data(\"target\");\"edit_in_progress\"==t&&dslc_module_options_cancel_changes((function(){o.trigger(\"click\")})),u(),jQuery(\".dslca-prompt-modal\").data(\"id\",\"\")})),jQuery(document).on(\"click\",\".dslca-prompt-modal-confirm-hook\",(function(e){e.preventDefault();var t=jQuery(\".dslca-prompt-modal\").data(\"id\"),o=jQuery(\".dslca-prompt-modal\").data(\"target\"),i=!0;if(\"edit_in_progress\"==t)dslc_module_options_confirm_changes((function(){o.trigger(\"click\")}));else if(\"disable_lc\"==t)window.location=o;else if(\"delete_module\"===t){var n=o.closest(\".dslc-module-front\");dslc_module_delete(n)}else if(\"delete_modules_area\"===t){var s=o.closest(\".dslc-modules-area\");s.closest(\".dslc-modules-section-inner\");dslc_modules_area_delete(s)}else\"delete_modules_section\"==t?dslc_row_delete(o.closest(\".dslc-modules-section\")):\"export_modules_section\"==t||\"import_modules_section\"==t&&(dslc_row_import(jQuery(\".dslca-prompt-modal textarea\").val()),jQuery(\".dslca-prompt-modal-confirm-hook span\").css({opacity:0}),jQuery(\".dslca-prompt-modal-confirm-hook .dslca-loading\").show(),i=!1);i&&u(),jQuery(\".dslca-prompt-modal\").data(\"id\",\"\")}))})),jQuery.fn.outerHide=function(e){var t=jQuery,o=this;if(\"destroy\"==(e=e||{}))return jQuery(document).unbind(\"click.outer_hide\"),!1;jQuery(document).bind(\"click.outer_hide\",(function(i){0==jQuery(i.target).closest(o).length&&i.target!=o&&-1==t.inArray(jQuery(i.target)[0],jQuery(e.clickObj))&&\"none\"!=jQuery(o).css(\"display\")&&(e.clbk?e.clbk():jQuery(o).hide())}))},document.addEventListener(\"modalWysiwygCancel\",(function(e){jQuery(\".dslca-wp-editor\").hide(),jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-wysiwyg-active\")})),document.addEventListener(\"modalWysiwygConfirm\",(function(e){var t=jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).closest(\".dslc-module-front\");if(\"undefined\"!=typeof tinymce){if(jQuery(\"#wp-dslcawpeditor-wrap\").hasClass(\"tmce-active\"))var o=tinymce.get(\"dslcawpeditor\").getContent();else o=jQuery(\"#dslcawpeditor\").val();if(o=o.trim(),jQuery(\".dslca-wp-editor\").hide(),jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).html(o),t.hasClass(\"dslc-module-handle-like-accordion\")){jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).siblings(\".dslca-editable-content\").html(o),jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).siblings(\".dslca-accordion-plain-content\").val(o);var i=t.find(\".dslc-accordion\");LiveComposer.Builder.PreviewAreaWindow.dslc_accordion_generate_code(i)}else if(t.hasClass(\"dslc-module-handle-like-tabs\")){jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).siblings(\".dslca-editable-content\").html(o),jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).siblings(\".dslca-tab-plain-content\").val(o);var n=t.find(\".dslc-tabs\");LiveComposer.Builder.PreviewAreaWindow.dslc_tabs_generate_code(n)}else r(jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument));jQuery(\".dslca-wysiwyg-active\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-wysiwyg-active\")}else console.info(\"Live Composer: TinyMCE is undefined.\")}));function m(e){return(m=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}var p=window.DSLCFonts.regular,h=window.DSLCFonts.google,f=p.concat(h),v=window.DSLCIcons.fontawesome;jQuery(document).ready((function(e){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 e,t=jQuery(\".dslca-module-edit-field-ttip\"),o=t.find(\".dslca-module-edit-field-ttip-inner\"),i=jQuery(this);if(e=i.parent().parent().hasClass(\"dslca-modules-section-edit-option\")?i.closest(\".dslca-modules-section-edit-option\").find(\".dslca-module-edit-field-ttip-content\").html():i.closest(\".dslca-module-edit-option\").find(\".dslca-module-edit-field-ttip-content\").html(),t.is(\":visible\"))jQuery(\".dslca-module-edit-field-ttip\").hide();else{o.html(e);var n=i.offset(),s=t.outerHeight(),a=t.outerWidth(),d=n.left-a/2+6,l=\"50%\";d<0&&(l=a/2+d+\"px\",d=0),jQuery(\".dslca-module-edit-field-ttip\").show().css({top:n.top-s-20,left:d}),jQuery(\"head\").append(jQuery(\"<style>.dslca-module-edit-field-ttip:after, .dslca-module-edit-field-ttip:before { left: \"+l+\" }</style>\"))}})),jQuery(document).on(\"click\",\".dslca-module-edit-field-icon-ttip-hook\",(function(){var e=jQuery(\".dslca-module-edit-field-icon-ttip\"),t=jQuery(this);if(e.is(\":visible\"))jQuery(\".dslca-module-edit-field-icon-ttip\").hide();else{var o=t.offset(),i=e.outerHeight(),n=e.outerWidth(),s=o.left-n/2+6,a=\"50%\";s<0&&(a=n/2+s+\"px\",s=0),jQuery(\".dslca-module-edit-field-icon-ttip\").show().css({top:o.top-i-20,left:s}),jQuery(\"head\").append(jQuery(\"<style>.dslca-module-edit-field-icon-ttip:after, .dslca-module-edit-field-icon-ttip:before { left: \"+a+\" }</style>\"))}})),window.dslc_module_options_font(),jQuery(document).on(\"keyup\",\".dslca-module-edit-field-icon\",(function(e){var t,o,i,n;o=(t=jQuery(this)).closest(\".dslca-module-edit-option\"),38==e.which&&D(t,\"previous\"),40==e.which&&D(t,\"next\"),13!=e.which&&38!=e.which&&40!=e.which&&(i=t.val().toLowerCase(),t.val(i),n=jQuery.grep(v,(function(e,t){return 0==e.indexOf(i)}))[0],jQuery(\".dslca-module-edit-field-icon-suggest\",o).text(n))})),jQuery(document).on(\"keypress\",\".dslca-module-edit-field-icon\",(function(e){var t;13==e.which&&(e.preventDefault(),t=jQuery(this).closest(\".dslca-module-edit-option\"),jQuery(this).val(jQuery(\".dslca-module-edit-field-icon-suggest\",t).text()).trigger(\"change\"),jQuery(\".dslca-module-edit-field-icon-suggest\",t).text(\"\"))})),jQuery(document).on(\"click\",'.dslca-open-modal-hook[data-modal^=\".dslc-list-icons\"]',(function(e){jQuery(this).closest(\".dslca-module-edit-option-icon\").find(\"input\").addClass(\"icon-modal-active\")})),jQuery(document).on(\"click\",\".dslca-modal-icons .icon-item\",(function(e){var t=jQuery(this).find(\".icon-item_name\").text();jQuery(\"input.icon-modal-active\").val(t).change(),c(\"\",jQuery(\".dslca-modal:visible\")),jQuery(\"input.icon-modal-active\").removeClass(\"icon-modal-active\")})),jQuery(document).on(\"click\",\".dslca-module-edit-option-text-align-hook\",(function(){var e=jQuery(this),t=jQuery(this).closest(\".dslca-module-edit-option-text-align-wrapper\").find(\".dslca-module-edit-option-text-align-hook\"),o=e.data(\"val\"),i=jQuery(this).closest(\".dslca-module-edit-option-text-align-wrapper\").siblings(\"input.dslca-module-edit-field\");t.removeClass(\"dslca-active\"),e.addClass(\"dslca-active\"),i.val(o).trigger(\"change\")})),jQuery(document).on(\"click\",\".dslca-module-edit-option-checkbox-hook, .dslca-modules-section-edit-option-checkbox-hook\",(function(){var e=jQuery(this),t=e.siblings('input[type=\"checkbox\"]');t.prop(\"checked\")?(t.prop(\"checked\",!1),e.find(\".dslca-icon\").removeClass(\"dslc-icon-check\").addClass(\"dslc-icon-check-empty\")):(t.prop(\"checked\",!0),e.find(\".dslca-icon\").removeClass(\"dslc-icon-check-empty\").addClass(\"dslc-icon-check\")),t.change()})),function(){window.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 e=jQuery(this).closest(\".dslca-module-edit-option\"),t=e.find(\".dslca-module-edit-field\"),o=e.find(\".dslca-module-edit-option-box-shadow-hor\").val(),i=e.find(\".dslca-module-edit-option-box-shadow-ver\").val(),n=e.find(\".dslca-module-edit-option-box-shadow-blur\").val(),s=e.find(\".dslca-module-edit-option-box-shadow-spread\").val(),a=e.find(\".dslca-module-edit-option-box-shadow-color\").val(),d=e.find(\".dslca-module-edit-option-box-shadow-inset\").is(\":checked\"),l=o+\"px \"+i+\"px \"+n+\"px \"+s+\"px \"+a+(d=d?\" inset\":\"\");t.val(l).trigger(\"change\")}))}(),function(){window.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 e=jQuery(this).closest(\".dslca-module-edit-option\"),t=e.find(\".dslca-module-edit-field\"),o=e.find(\".dslca-module-edit-option-text-shadow-hor\").val()+\"px \"+e.find(\".dslca-module-edit-option-text-shadow-ver\").val()+\"px \"+e.find(\".dslca-module-edit-option-text-shadow-blur\").val()+\"px \"+e.find(\".dslca-module-edit-option-text-shadow-color\").val();t.val(o).trigger(\"change\")}))}();jQuery(document).on(\"click\",\".dslca-module-edit-field-colorpicker, .dslca-modules-section-edit-field-colorpicker, .dslca-module-edit-option-box-shadow-color, .dslca-module-edit-option-text-shadow-color\",(function(){L(this);var e=jQuery(this).closest(\".dslca-color-option\"),t=jQuery(\".dslca-module-edit-options-inner\"),o=e.find(\".wp-picker-holder\"),i=e.offset(),n=i.left+15,s=window.innerWidth;s<n+260&&(n=s-260),o.css(\"left\",n+\"px\"),jQuery(t).on(\"scroll\",(function(t){var n=(i=e.offset()).left+15,s=window.innerWidth;s<n+260&&(n=s-260),o.css(\"left\",n+\"px\")}))})),jQuery(\".dslca-container\").on(\"mouseenter\",\".dslca-module-edit-option-slider\",(function(){jQuery(this).hasClass(\"dslca-module-edit-option-select\")||x(this)})),jQuery(\".dslca-container\").on(\"mouseenter\",\".dslca-modules-section-edit-option-slider\",(function(){x(this)})),jQuery(\".dslca-module-edit-form\").submit((function(e){e.preventDefault(),Go()})),jQuery(document).on(\"click\",\".dslca-module-edit-options-tab-hook\",(function(e){e.preventDefault(),Q(jQuery(this))})),jQuery(document).on(\"click\",\".dslca-clear-responsive-options\",(function(e){e.preventDefault(),j()})),jQuery(document).on(\"click\",\".dslca-options-filter-hook\",(function(e){e.preventDefault();var t=jQuery(\".dslca-options-filter-hook.dslca-active\").data(\"section\"),o=jQuery(this).data(\"section\");jQuery(\".dslca-options-filter-hook.dslca-active\").removeClass(\"dslca-active\"),jQuery(this).addClass(\"dslca-active\"),jQuery(\".dslca-container-loader\"),document.querySelector(\".dslca-container\").dataset.currentSection=o,b(o),\"responsive\"==t&&(jQuery(\".dslca-container-loader\").show(),window.LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(),Go((function(){jQuery(\".dslca-container-loader\").hide()})),jQuery(\"#page-builder-preview-area\").resizable(\"destroy\").attr(\"style\",\"\")),\"responsive\"==o&&jQuery(\"#page-builder-preview-area\").resizable()})),jQuery(document).on(\"click\",\".dslca-module-edit-save\",(function(e){e.preventDefault(),C((function(){window.LiveComposer.Builder.UI.unloadOptionsDeps(),window.LiveComposer.Builder.Flags.panelOpened=!1,jQuery(\"body\",window.LiveComposer.Builder.PreviewAreaDocument).removeClass(\"module-editing-in-progress\")})),jQuery(\".dslca-options-filter-hook.dslca-active\").removeClass(\"dslca-active\"),B()})),jQuery(document).on(\"click\",\".dslca-module-edit-cancel\",(function(e){e.preventDefault(),k((function(){window.LiveComposer.Builder.UI.unloadOptionsDeps(),window.LiveComposer.Builder.Flags.panelOpened=!1,jQuery(\"body\",window.LiveComposer.Builder.PreviewAreaDocument).removeClass(\"module-editing-in-progress\")})),jQuery(\".dslca-options-filter-hook.dslca-active\").removeClass(\"dslca-active\"),B()}))}));var g=function(){jQuery(document).on(\"change\",\".dslca-module-edit-field\",(function(){window.dslcDebug&&console.log(\"on change event for .dslca-module-edit-field\");var e=\"\",t=\"\",o=jQuery(this),i=o.data(\"id\"),n=o.closest(\".dslca-module-edit-option\"),s=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),a=s.data(\"module\");jQuery(\".dslca-module-options-front textarea\",s);if(s.addClass(\"dslca-module-change-made\"),(n.hasClass(\"dslca-module-edit-option-select\")||n.hasClass(\"dslca-module-edit-option-checkbox\"))&&_(),\"active\"==jQuery(this).closest(\".dslca-module-edit-option\").data(\"refresh-on-change\")){if(n.find(\".dslca-module-edit-option-checkbox-wrapper\").length)jQuery('input[type=\"checkbox\"]',n).each((function(){jQuery(this).prop(\"checked\")&&(e=e+jQuery(this).val()+\" \")}));else if(o.hasClass(\"dslca-module-edit-option-radio\"))e=jQuery(\".dslca-module-edit-field:checked\",o).val();else{e=o.val();if(\"orientation\"==i&&\"horizontal\"==e)jQuery(\".dslca-module-edit-option-thumb_width .dslca-module-edit-field\").val(\"40\").trigger(\"change\");else if(\"orientation\"==i&&\"vertical\"==e){jQuery(\".dslca-module-edit-option-thumb_width .dslca-module-edit-field\").val(\"100\").trigger(\"change\")}}null!=e&&(e=e.trim().replace(/<textarea/g,\"<lctextarea\").replace(/<\\/textarea/g,\"</lctextarea\")),null===e&&(e=\"\"),jQuery('.dslca-module-options-front textarea[data-id=\"'+i+'\"]',s).val(e),jQuery(\".dslca-container-loader\").show(),Go((function(){jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslca-module-change-made\"),\"css_load_preset\"!=i||jQuery(\"body\").hasClass(\"dslca-new-preset-added\")?jQuery(\".dslca-container-loader\").hide():(window.dslc_module_options_show(a),jQuery(\".dslca-container-loader\").hide()),jQuery(\"body\").removeClass(\"dslca-new-preset-added\"),LiveComposer.Utils.publish(\"LC.moduleChange\",{moduleId:a,optionID:i,optionVal:o.val()})}))}else{if(o.hasClass(\"dslca-module-edit-field-font\")){var d=o.val();d+=\":400,100,200,300,500,600,700,800,900\";var l=o.data(\"affect-on-change-el\"),r=o.data(\"affect-on-change-rule\"),c=m=o.val(),u=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument);o.val().length&&-1!==h.indexOf(o.val())?document.getElementById(\"page-builder-frame\").contentWindow.WebFont.load({google:{families:[d]},active:function(e,t){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\");var i=l.split(\",\"),n=\"#\"+u[0].id+\" \"+i.join(\", #\"+u[0].id+\" \")+\" {\"+r+\": \"+m+\"}\";LiveComposer.Builder.Helpers.processInlineStyleTag({context:o,rule:r,elems:l,styleContent:n})},inactive:function(e,t){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\");var e=l.split(\",\"),t=\"#\"+u[0].id+\" \"+e.join(\", #\"+u[0].id+\" \")+\" {\"+r+\": \"+m+\"}\";LiveComposer.Builder.Helpers.processInlineStyleTag({context:o,rule:r,elems:l,styleContent:t})}),100)}else if(o.hasClass(\"dslca-module-edit-field-checkbox\")){jQuery('input[type=\"checkbox\"]',n).each((function(){jQuery(this).prop(\"checked\")?(e+=\"solid \",t=t+jQuery(this).val()+\" \"):e+=\"none \"}))}if(!o.hasClass(\"dslca-module-edit-field-font\")&&null!=o.data(\"affect-on-change-el\")&&null!=o.data(\"affect-on-change-rule\")){var m,p=o.data(\"ext\")||\"\";l=o.data(\"affect-on-change-el\"),r=o.data(\"affect-on-change-rule\"),c=m=o.val();o.hasClass(\"dslca-module-edit-field-checkbox\")&&(m=e,c=t),o.hasClass(\"dslca-module-edit-field-image\")&&(m='url(\"'+m+'\")'),null!==m&&m.length<1&&(\"background-color\"==r||\"background\"==r)&&(m=\"transparent\"),r.split(\",\").forEach((function(e){e=e.replace(/\\s+/g,\"\");var t=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),i=l.split(\",\"),n=\"#\"+t[0].id+\" \"+i.join(\", #\"+t[0].id+\" \")+\" {\"+e+\": \"+m+p+\"}\";LiveComposer.Builder.Helpers.processInlineStyleTag({context:o,rule:e,elems:l,styleContent:n})}))}var f=\"\";f=-1!==i.indexOf(\"css_\")?c:o.val(),jQuery('.dslca-module-option-front[data-id=\"'+i+'\"]',s).val(f),LiveComposer.Utils.publish(\"LC.moduleChange\",{moduleId:s[0].id,optionID:i,optionVal:c||o.val()})}}))},y=function(){jQuery(document).on(\"change\",\".dslca-modules-section-edit-field\",(function(){var e,t,o,i,n,s,a,d;if(t=(e=jQuery(this)).data(\"id\"),i=e.val(),u=i,n=i+e.data(\"ext\"),s=e.data(\"css-rule\"),d=o=jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument),a=jQuery('.dslca-modules-section-settings input[data-id=\"'+t+'\"]',o),o.addClass(\"dslca-modules-section-change-made\"),e.hasClass(\"dslca-modules-section-edit-field-upload\")&&i&&i.length&&(i=jQuery('.dslca-modules-section-settings input[data-id=\"dslca-img-url\"]',o).val()),\"background-image\"==s&&(i='url(\"'+i+'\")',LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()),\"bg_image_attachment\"==t&&o.removeClass(\"dslc-init-parallax\"),\"border-top\"==t||\"border-right\"==t||\"border-bottom\"==t||\"border-left\"==t){var l=jQuery('.dslca-modules-section-settings input[data-id=\"border_style\"]').val();a=jQuery('.dslca-modules-section-settings input[data-id=\"border\"]',o),u=\"\",e.closest(\".dslca-modules-section-edit-option-checkbox-wrapper\").find(\".dslca-modules-section-edit-field-checkbox\").each((function(){jQuery(this).is(\":checked\")&&(\"border-top\"==jQuery(this).data(\"id\")?u+=\"top \":\"border-right\"==jQuery(this).data(\"id\")?u+=\"right \":\"border-bottom\"==jQuery(this).data(\"id\")?u+=\"bottom \":\"border-left\"==jQuery(this).data(\"id\")&&(u+=\"left \"))})),e.is(\":checked\")?\"border-top\"==e.data(\"id\")?o.css({\"border-top-style\":l}):\"border-right\"==e.data(\"id\")?o.css({\"border-right-style\":l}):\"border-bottom\"==e.data(\"id\")?o.css({\"border-bottom-style\":l}):\"border-left\"==e.data(\"id\")&&o.css({\"border-left-style\":l}):\"border-top\"==e.data(\"id\")?o.css({\"border-top-style\":\"hidden\"}):\"border-right\"==e.data(\"id\")?o.css({\"border-right-style\":\"hidden\"}):\"border-bottom\"==e.data(\"id\")?o.css({\"border-bottom-style\":\"hidden\"}):\"border-left\"==e.data(\"id\")&&o.css({\"border-left-style\":\"hidden\"})}else if(e.hasClass(\"dslca-modules-section-edit-field-checkbox\")){var r=jQuery(this).closest(\".dslca-modules-section-edit-option-checkbox-wrapper\").find(\".dslca-modules-section-edit-field-checkbox\"),c=\"\";r.each((function(){jQuery(this).prop(\"checked\")&&(c+=jQuery(this).data(\"val\")+\" \")}));var u=c;\"show_on\"==e.data(\"id\")&&(-1!==c.indexOf(\"desktop\")?jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslc-hide-on-desktop\"):jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslc-hide-on-desktop\"),-1!==c.indexOf(\"tablet\")?jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslc-hide-on-tablet\"):jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslc-hide-on-tablet\"),-1!==c.indexOf(\"phone\")?jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslc-hide-on-phone\"):jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslc-hide-on-phone\")),\"section_divider_bottom_flip\"==e.data(\"id\")&&(-1===u.indexOf(\"horizontally\")?jQuery('.dslc-section-divider[data-divider-pos=\"bottom\"]',o).removeClass(\"dslc-flip-hor\"):jQuery('.dslc-section-divider[data-divider-pos=\"bottom\"]',o).addClass(\"dslc-flip-hor\"),-1===u.indexOf(\"vertically\")?jQuery('.dslc-section-divider[data-divider-pos=\"bottom\"]',o).removeClass(\"dslc-flip-vert\"):jQuery('.dslc-section-divider[data-divider-pos=\"bottom\"]',o).addClass(\"dslc-flip-vert\")),\"section_divider_top_flip\"==e.data(\"id\")&&(-1===u.indexOf(\"horizontally\")?jQuery('.dslc-section-divider[data-divider-pos=\"top\"]',o).removeClass(\"dslc-flip-hor\"):jQuery('.dslc-section-divider[data-divider-pos=\"top\"]',o).addClass(\"dslc-flip-hor\"),-1===u.indexOf(\"vertically\")?jQuery('.dslc-section-divider[data-divider-pos=\"top\"]',o).removeClass(\"dslc-flip-vert\"):jQuery('.dslc-section-divider[data-divider-pos=\"top\"]',o).addClass(\"dslc-flip-vert\"))}else if(\"bg_image_attachment\"==t&&\"parallax\"==i)o.addClass(\"dslc-init-parallax\"),LiveComposer.Builder.PreviewAreaWindow.dslc_parallax();else if(\"type\"==t)\"full\"==i?o.addClass(\"dslc-full\"):o.removeClass(\"dslc-full\"),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry();else if(\"columns_spacing\"==t)\"nospacing\"==i?o.addClass(\"dslc-no-columns-spacing\"):o.removeClass(\"dslc-no-columns-spacing\");else if(\"custom_class\"==t);else if(\"custom_id\"==t);else if(\"bg_video\"==t){if(jQuery(\".dslc-bg-video video\",o).remove(),i&&i.length){var m=i;m=(m=m.replace(\".webm\",\"\")).replace(\".mp4\",\"\"),jQuery(\".dslc-bg-video-inner\",o).html('<video><source type=\"video/mp4\" src=\"'+m+'.mp4\" /><source type=\"video/webm\" src=\"'+m+'.webm\" /></video>'),LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video()}}else if(\"section_divider_top_style\"==t||\"section_divider_bottom_style\"==t){var p=\"top\";\"section_divider_bottom_style\"==t&&(p=\"bottom\");var h=jQuery('.dslc-section-divider[data-divider-pos=\"'+p+'\"] svg',o).attr(\"style\");if(jQuery('.dslc-section-divider[data-divider-pos=\"'+p+'\"]',o).html(\"\"),i&&i.length){var f=jQuery(\"#dslc-section-dividers\",LiveComposer.Builder.PreviewAreaWindow.document).find(\"svg#\"+i).clone();jQuery('.dslc-section-divider[data-divider-pos=\"'+p+'\"]',o).html(f[0]),void 0!==h&&jQuery('.dslc-section-divider[data-divider-pos=\"'+p+'\"] svg',o).attr(\"style\",h)}}else if(\"bg_image_thumb\"==t)if(\"enabled\"==u){if(jQuery(\"#dslca-post-data-thumb\").length){var v=\"url('\"+jQuery(\"#dslca-post-data-thumb\").val()+\"')\";d.css(s,v)}}else\"disabled\"==u&&d.css(s,\"none\");else{var g;e.data(\"css-element\")&&(d=jQuery(e.data(\"css-element\"),o)),s=s.replace(/ /g,\"\").split(\",\"),g=null!=e.data(\"ext\")?n:i;for(var y=0;y<s.length;y++)d.css(s[y],g)}if(a.val(u),!LiveComposer.Builder.Flags.generate_code_after_row_changed)return!1}))},w=function(){var e;jQuery(document).on(\"click\",\".dslca-module-edit-field-image-add-hook, .dslca-modules-section-edit-field-image-add-hook\",(function(){var t=jQuery(this);if(t.hasClass(\"dslca-module-edit-field-image-add-hook\"))var o=t.siblings(\".dslca-module-edit-field-image\"),i=t.siblings(\".dslca-module-edit-field-image-remove-hook\");else o=t.siblings(\".dslca-modules-section-edit-field-upload\"),i=t.siblings(\".dslca-modules-section-edit-field-image-remove-hook\");(e=wp.media.frames.file_frame=wp.media({title:\"Choose Image\",button:{text:\"Confirm\"},multiple:!1})).on(\"select\",(function(){var n=e.state().get(\"selection\").first().toJSON();o.val(n.id);var s=t.parent().attr(\"data-id\");\"\"!=n.alt&&\"image\"==s&&jQuery('.dslca-module-edit-option-image_alt input[data-id=\"image_alt\"]').val(n.alt),\"\"!=n.title&&\"image\"==s&&jQuery('.dslca-module-edit-option-image_title input[data-id=\"image_title\"]').val(n.title),jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).find('.dslca-modules-section-settings input[data-id=\"dslca-img-url\"]').val(n.url),o.trigger(\"change\"),t.hide(),i.show()})),e.open()})),jQuery(document).on(\"click\",\".dslca-module-edit-field-image-remove-hook, .dslca-modules-section-edit-field-image-remove-hook\",(function(){var e=jQuery(this);if(e.hasClass(\"dslca-module-edit-field-image-remove-hook\"))var t=e.siblings(\".dslca-module-edit-field-image\"),o=e.siblings(\".dslca-module-edit-field-image-add-hook\");else t=e.siblings(\".dslca-modules-section-edit-field-upload\"),o=e.siblings(\".dslca-modules-section-edit-field-image-add-hook\");t.val(\"\").trigger(\"change\"),\"image\"==e.parent().attr(\"data-id\")&&(jQuery(\".dslca-module-edit-option-image_alt input\").attr(\"value\",\"\").trigger(\"change\"),jQuery(\".dslca-module-edit-option-image_alt input\").attr(\"data-val-bckp\",\"\").trigger(\"change\"),jQuery(\".dslca-module-edit-option-image_title input\").attr(\"value\",\"\").trigger(\"change\"),jQuery(\".dslca-module-edit-option-image_title input\").attr(\"data-val-bckp\",\"\").trigger(\"change\")),e.hide(),o.show()}))};function b(e){window.dslcDebug&&console.log(\"dslc_module_options_section_filter\"),jQuery(\".dslca-module-edit-option\").hide(),jQuery('.dslca-module-edit-option[data-section=\"'+e+'\"]').show(),Q()}var j=function(){var e=document.querySelector(\".dslca-module-edit-options-tab-hook.dslca-active\").dataset.id;\"tablet_responsive\"!==e&&\"phone_responsive\"!==e||document.querySelectorAll('.dslca-module-edit-option[data-tab=\"'+e+'\"]').forEach((function(e){var t=e.querySelector(\".dslca-module-edit-field\").dataset.id;\"css_res_t\"!==t&&\"css_res_p\"!==t&&jQuery(\".dslca-module-edit-option-\"+t).find(\".dslca-module-edit-field\").val(\"\").trigger(\"change\")}))},Q=function(e){window.dslcDebug&&console.log(\"elementOptionsTabs\");var t=jQuery(\".dslca-options-filter-hook.dslca-active\").data(\"section\"),o=(e=void 0!==e?e:jQuery('.dslca-module-edit-options-tab-hook[data-section=\"'+t+'\"]:first')).data(\"id\");if(jQuery(\".dslca-module-edit-options-tab-hook\").removeClass(\"dslca-active\"),e.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=\"'+t+'\"]').show(),o&&(jQuery(\".dslca-module-edit-option\").hide(),jQuery('.dslca-module-edit-option[data-tab=\"'+o+'\"]').show(),_(),jQuery(\".dslca-module-edit-options-tab-hook:visible\").length<2?jQuery(\".dslca-module-edit-options-tabs\").hide():jQuery(\".dslca-module-edit-options-tabs\").show(),B(),o==DSLCString.str_res_tablet.toLowerCase()+\"_responsive\"&&(jQuery(\"body\").removeClass(\"dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet\"),jQuery(\"body\").addClass(\"dslc-res-tablet\"),jQuery(\"html\").addClass(\"dslc-responsive-preview\")),o==DSLCString.str_res_phone.toLowerCase()+\"_responsive\"&&(jQuery(\"body\").removeClass(\"dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet\"),jQuery(\"body\").addClass(\"dslc-res-phone\"),jQuery(\"html\").addClass(\"dslc-responsive-preview\")),o!=DSLCString.str_res_tablet.toLowerCase()+\"_responsive\"&&o!=DSLCString.str_res_phone.toLowerCase()+\"_responsive\"||(jQuery(\".dslca-container-loader\").show(),Go((function(){jQuery(\".dslca-container-loader\").hide()})))),jQuery(\"body\").hasClass(\"rtl\")){var i,n=0,s=0;jQuery(\".dslca-module-edit-options-wrapper > .dslca-module-edit-option:visible\").each((function(e){jQuery(this).hasClass(\"dslca-module-edit-option-hidden\")||jQuery(this).hasClass(\"dslca-module-control-group\")||(n+=parseInt(jQuery(this).outerWidth(),10))})),jQuery(\".dslca-module-edit-options-wrapper > .dslca-module-control-group:visible\").each((function(e){s+=parseInt(jQuery(this).outerWidth(),10)})),i=parseInt(n)+parseInt(s)+10,jQuery(\".dslca-module-edit-options-wrapper\").css({width:i+\"px\"})}};function _(){if(window.dslcDebug&&console.log(\"dslc_module_options_hideshow_tabs\"),\"styling\"==jQuery(\".dslca-options-filter-hook.dslca-active\").data(\"section\")){jQuery(\".dslca-module-edit\");var e=!0,t=!0,o=!0,i=!0,n=!0,s=!0,a=!0,d=!0,l=!0,r=!0,c=!0,u=!0,m=!0,p=!0,h=!0,f=!0,v=!0,g=!0,y=!0,w=!0,b=!0,j=!0,Q=!0,_=!0,C=!0,k=!0,D=!0;jQuery('.dslca-module-edit-field[value=\"main_heading\"]').is(\":checked\")||(e=!1),jQuery('.dslca-module-edit-field[value=\"filters\"]').is(\":checked\")||(t=!1),jQuery('.dslca-module-edit-field[value=\"arrows\"]').is(\":checked\")||(o=!1),jQuery('.dslca-module-edit-field[value=\"circles\"]').is(\":checked\")||(i=!1),\"carousel\"!=jQuery('.dslca-module-edit-field[data-id=\"type\"]').val()&&(o=!1,i=!1),\"disabled\"==jQuery('.dslca-module-edit-field[data-id=\"pagination_type\"]').val()&&(n=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"thumbnail\"]').is(\":checked\")||(s=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"content\"]').length&&!jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"title\"]').is(\":checked\")&&(a=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"excerpt\"]').is(\":checked\")||(d=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"meta\"]').is(\":checked\")||(l=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"button\"]').length&&!jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"button\"]').is(\":checked\")&&(r=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"categories\"]').is(\":checked\")||(c=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"separator\"]').is(\":checked\")||(m=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"count\"]').is(\":checked\")||(u=!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\")||(h=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"position\"]').is(\":checked\")||(f=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"icon\"]').length&&!jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"icon\"]').is(\":checked\")&&(v=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"content\"]').length&&!jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"content\"]').is(\":checked\")&&(g=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"price\"]').is(\":checked\")||(y=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"price_2\"]').is(\":checked\")||(w=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"addtocart\"]').is(\":checked\")||(b=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"details\"]').is(\":checked\")||(j=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"quote\"]').is(\":checked\")||(Q=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"author_name\"]').is(\":checked\")||(_=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"author_position\"]').is(\":checked\")||(C=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"image\"]').is(\":checked\")||(k=!1),jQuery('.dslca-module-edit-field[data-id*=\"elements\"][value=\"logo\"]').is(\":checked\")||(D=!1),e?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"heading_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"heading_styling\"]').hide(),t?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"filters_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"filters_styling\"]').hide(),o?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(),i?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(),n?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"pagination_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"pagination_styling\"]').hide(),s?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"thumbnail_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"thumbnail_styling\"]').hide(),a?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"title_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"title_styling\"]').hide(),d?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"excerpt_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"excerpt_styling\"]').hide(),l?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"meta_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"meta_styling\"]').hide(),r?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(),c?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"categories_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"categories_styling\"]').hide(),m?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"separator_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"separator_styling\"]').hide(),u?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(),f?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"position_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"position_styling\"]').hide(),h?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"social_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"social_styling\"]').hide(),v?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"icon_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"icon_styling\"]').hide(),g?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"content_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"content_styling\"]').hide(),y?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"price_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"price_styling\"]').hide(),w?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(),b||j?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"other_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"other_styling\"]').hide(),Q?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"quote_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"quote_styling\"]').hide(),_?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(),C?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(),k?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"image_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"image_styling\"]').hide(),D?jQuery('.dslca-module-edit-options-tab-hook[data-id=\"logo_styling\"]').show():jQuery('.dslca-module-edit-options-tab-hook[data-id=\"logo_styling\"]').hide()}if(jQuery('.dslca-options-filter-hook[data-section=\"styling\"]').hasClass(\"dslca-active\")){var L=jQuery('.dslca-module-edit-option[data-id=\"css_custom\"]');\"enabled\"==L.find(\"select\").val()?(jQuery('.dslca-module-edit-option[data-section=\"styling\"]').css({visibility:\"visible\"}),jQuery(\".dslca-module-edit-option[data-tab]\").css(\"visibility\",\"visible\"),jQuery(\".dslca-module-edit-options-tabs\").show()):(jQuery('.dslca-module-edit-option[data-section=\"styling\"]').css({visibility:\"hidden\"}),jQuery(\".dslca-module-control-group.dslca-module-edit-option\").css(\"visibility\",\"hidden\"),jQuery(\".dslca-module-edit-options-tabs\").hide(),L.css({visibility:\"visible\"}))}else jQuery(\".dslca-module-edit-options-tabs\").show();if(\"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-tab=\"tablet_responsive\"]').css(\"visibility\",\"hidden\")):(jQuery('.dslca-module-edit-option[data-id*=\"css_res_t\"]').css(\"visibility\",\"visible\"),jQuery('.dslca-module-edit-option[data-tab=\"tablet_responsive\"]').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-tab=\"phone_responsive\"]').css(\"visibility\",\"hidden\")):(jQuery('.dslca-module-edit-option[data-id*=\"css_res_p\"]').css(\"visibility\",\"visible\"),jQuery('.dslca-module-edit-option[data-tab=\"phone_responsive\"]').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\"),jQuery(\".dslca-options-filter-hook\").hasClass(\"dslca-active\")){var x=jQuery(\".dslca-options-filter-hook.dslca-active\").data(\"section\");jQuery('.dslca-module-edit-option[data-section=\"'+x+'\"]').hasClass(\"dep-show\")&&jQuery(\".dslca-module-edit-option.dep-show\").show(),jQuery('.dslca-module-edit-option[data-section=\"'+x+'\"]').hasClass(\"dep-hide\")&&jQuery(\".dslca-module-edit-option.dep-hide\").hide()}if(jQuery(\".dslca-module-edit-options-tab-hook\").hasClass(\"dslca-active\")){var B=jQuery(\".dslca-module-edit-options-tab-hook.dslca-active\").data(\"id\");jQuery('.dslca-module-edit-option[data-tab=\"'+B+'\"]').hasClass(\"dependent\")?(jQuery(\".dslca-module-edit-option.dependent\").hide(),jQuery('.dslca-module-edit-option[data-tab=\"'+B+'\"].dep-show').show(),jQuery('.dslca-module-edit-option[data-tab=\"'+B+'\"].dep-hide').hide()):jQuery(\".dslca-module-edit-option.dependent\").hide()}}function C(e){window.dslcDebug&&console.log(\"dslc_module_options_confirm_changes\"),e=void 0!==e&&e,jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument).hasClass(\"dslc-module-DSLC_Sliders\")?jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"):(jQuery(\"body\").addClass(\"dslca-module-saving-in-progress\"),Go((function(){s(),window.dslc_generate_code(),jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"),jQuery(\"body\").removeClass(\"dslca-module-saving-in-progress\"),jQuery(\".dslca-module-edit-options-inner\").html(\"\"),jQuery(\".dslca-module-edit-options-tabs\").html(\"\"),window.LiveComposer.Builder.UI.clearUtils(),e&&e()}))),Et(\".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(),window.dslc_show_publish_button()}function k(e){window.dslcDebug&&console.log(\"dslc_module_options_cancel_changes\"),e=void 0!==e&&e;var t=jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument);jQuery(\".dslca-module-options-front\",t).html(\"\").append(window.LiveComposer.Builder.moduleBackup),Go((function(){window.dslc_generate_code(),jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"),jQuery(\".dslca-module-edit-options-inner\").html(\"\"),jQuery(\".dslca-module-edit-options-tabs\").html(\"\"),window.LiveComposer.Builder.UI.clearUtils(),e&&e()})),Et(\".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(),window.dslc_show_publish_button(),window.LiveComposer.Builder.UI.clearUtils()}function D(e,t){var o=jQuery(e).closest(\".dslca-module-edit-option-icon\"),i=jQuery(\".dslca-module-edit-field-icon\",o),n=v.indexOf(i.val());if(\"previous\"==t)var s=n-1;else s=n+1;jQuery(\".dslca-module-edit-field-icon-suggest\",o).text(\"\"),s<0&&(s=v.length-1),i.val(v[s]).trigger(\"change\")}function L(e){var t,o,i,n,s,a;window.dslcDebug&&console.log(\"dslc_module_options_color\");var d,l=[],r=\"dslcColors-\"+document.domain;void 0!==localStorage[r]&&(d=JSON.parse(localStorage[r]),l=d),1>l.length&&l.push(\"#78b\"),2>l.length&&l.push(\"#ab0\"),3>l.length&&l.push(\"#de3\"),l.push(\"#fff\"),l.push(\"#000\"),l.push(\"rgba(0,0,0,0)\"),jQuery(e).each((function(){var e=jQuery(this).closest(\".dslca-color-option\"),d=jQuery(this);jQuery(this).val(),d.wpColorPicker({mode:\"hsl\",palettes:l,change:function(e,l){t=d;var r=d.wpColorPicker(\"color\");n=null==r?\"\":r,t.val(n).trigger(\"change\"),t.css(\"background\",n),o=t.data(\"affect-on-change-el\"),i=t.data(\"affect-on-change-rule\"),null!=o&&\".dslca-modules-section-being-edited\"!==o&&jQuery(o,window.LiveComposer.Builder.PreviewAreaDocument.find(\".dslca-module-being-edited\")).css(i,n),s=jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument),a=t.data(\"id\"),jQuery('.dslca-module-option-front[data-id=\"'+a+'\"]',s).val(n),s.addClass(\"dslca-module-change-made\")}}),e.find(\".wp-picker-holder .iris-picker\").append('<button type=\"button\" class=\"dslca-colorpicker-apply\">Apply</button>');var c=e.find(\".dslca-colorpicker-apply\");d.wpColorPicker(\"open\"),jQuery(c).on(\"click\",(function(){if(\"#fff\"!==n&&\"#ffffff\"!==n&&\"#000\"!==n&&\"#000000\"!==n&&\"rgba(0,0,0,0)\"!==n)if(void 0===localStorage[r]){var e=[n];localStorage[r]=JSON.stringify(e)}else{-1==(e=JSON.parse(localStorage[r])).indexOf(n)&&(e.unshift(n),3<e.length&&e.pop()),localStorage[r]=JSON.stringify(e)}d.wpColorPicker(\"close\")})),window.LiveComposer.Builder.Helpers.colorpickers.push(jQuery(this))}))}function x(e){window.dslcDebug&&console.log(\"dslc_module_options_numeric\"),jQuery(e).each((function(){var e=jQuery(this);0===jQuery(\".dslca-module-edit-field-slider\",e).length&&e.append('<div class=\"dslca-module-edit-field-slider\"></div>');var t=!0;if(t=!e.hasClass(\"dslca-modules-section-edit-option\"))var o=e.find(\".dslca-module-edit-field\");else o=e.find(\".dslca-modules-section-edit-field\");if(e.hasClass(\"dslca-modules-section-edit-option\"))o=e.find(\".dslca-modules-section-edit-field\");else o=e.find(\".dslca-module-edit-field\");var i=e.find(\".dslca-module-edit-field-slider\"),n=parseFloat(o.val()),s=parseFloat(o.data(\"max\")),a=parseFloat(o.data(\"min\")),d=parseFloat(o.data(\"increment\")),l=!1;if(void 0!==o.data(\"onlypositive\")&&1===o.data(\"onlypositive\")&&(l=!0),n>=s&&(s=2*n),!l&&n<=a&&(a=2*n),i.slider({min:a,max:s,step:d,value:o.val(),slide:function(e,t){o.val(t.value+\"\"),o.trigger(\"change\")},change:function(t,o){(o.value>=s||o.value<=a)&&(i.slider(\"destroy\"),x(e))}}),i.show(),jQuery(e).on(\"mouseleave\",(function(){void 0!==i.slider(\"instance\")&&jQuery(i).slider(\"destroy\"),i.remove()})),!o[0].classList.contains(\"slider-initiated\"))return o[0].classList.add(\"slider-initiated\"),o.on(\"keyup\",(function(e){if(void 0===e)return!1;e.shiftKey&&(38==e.keyCode&&(this.value=(parseInt(this.value)||0)+9,o.trigger(\"change\")),40==e.keyCode&&(this.value=parseInt(this.value)+0-9,o.trigger(\"change\"))),8!=e.keyCode&&45!=e.keyCode||o.trigger(\"change\"),(e.keyCode>=48&&e.keyCode<=57||e.keyCode>=96&&e.keyCode<=105)&&o.trigger(\"change\");var t=e.which?e.which:e.keyCode;return(!(t>=48&&t<=57||t>=96&&t<=105)||8==e.keyCode||39==e.keyCode||37==e.keyCode||46==e.keyCode)&&void 0})),o.on(\"change\",(function(e){l&&this.value<0&&(this.value=0);var o=(t?jQuery(e.target.closest(\".dslca-module-edit-option-slider\")):jQuery(e.target.closest(\".dslca-modules-section-edit-option-slider\"))).find(\".dslca-module-edit-field-slider\");(void 0!==o.slider(\"instance\")&&o.slider(\"value\",this.value),t)&&jQuery(\".dslca-module-being-edited\",window.LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslca-module-change-made\")})),!1}))}function B(){jQuery(\"html\").removeClass(\"dslc-responsive-preview\"),jQuery(\"body\").removeClass(\"dslc-res-big dslc-res-smaller-monitor dslc-res-phone dslc-res-tablet\")}\n/**!\n * Sortable 1.10.1\n * @author\tRubaXa <trash@rubaxa.org>\n * @author\towenm <owen23355@gmail.com>\n * @license MIT\n */\nfunction S(e){return(S=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function A(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(e[i]=o[i])}return e}).apply(this,arguments)}function E(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},i=Object.keys(o);\"function\"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(o).filter((function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable})))),i.forEach((function(t){A(e,t,o[t])}))}return e}function O(e,t){if(null==e)return{};var o,i,n=function(e,t){if(null==e)return{};var o,i,n={},s=Object.keys(e);for(i=0;i<s.length;i++)o=s[i],t.indexOf(o)>=0||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)o=s[i],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}window.dslc_module_options_font=function(){jQuery(document).off(\"click\",\".dslca-module-edit-field-font-next\").on(\"click\",\".dslca-module-edit-field-font-next\",(function(e){if(e.preventDefault(),!jQuery(this).hasClass(\"dslca-font-loading\")&&!jQuery(this).siblings(\".dslca-font-loading\").length){var t=jQuery(this).closest(\".dslca-module-edit-option-font\"),o=jQuery(\".dslca-module-edit-field-font\",t),i=f.indexOf(o.val())+1;jQuery(\".dslca-module-edit-field-font-suggest\",t).text(\"\"),o.val(f[i]).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).off(\"click\",\".dslca-module-edit-field-font-prev\").on(\"click\",\".dslca-module-edit-field-font-prev\",(function(e){if(e.preventDefault(),!jQuery(this).hasClass(\"dslca-font-loading\")&&!jQuery(this).siblings(\".dslca-font-loading\").length){var t=jQuery(this).closest(\".dslca-module-edit-option-font\"),o=jQuery(\".dslca-module-edit-field-font\",t),i=f.indexOf(o.val())-1;jQuery(\".dslca-module-edit-field-font-suggest\",t).text(\"\"),i<0&&(i=f.length-1),o.val(f[i]).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).off(\"blur\",\".dslca-module-edit-field-font\").on(\"blur\",\".dslca-module-edit-field-font\",(function(e){var t=jQuery(this).closest(\".dslca-module-edit-option\");jQuery(\".dslca-module-edit-field-font-suggest\",t).hide()})),jQuery(document).off(\"keyup\",\".dslca-module-edit-field-font\").on(\"keyup\",\".dslca-module-edit-field-font\",(function(e){console.log(\"1 e.which:\"),console.log(e.which);var t,o,i,n,s=!1;t=jQuery(this),o=t.closest(\".dslca-module-edit-option\"),38==e.which&&jQuery(\".dslca-module-edit-field-font-prev\",o).click();40==e.which&&jQuery(\".dslca-module-edit-field-font-next\",o).click();if(13!=e.which&&38!=e.which&&40!=e.which){i=t.val();var a=new RegExp(\"^\"+i,\"i\"),d=f.length,l=0;do{if(a.test(f[l])&&!s)s=f[l];l++}while(l<d);s?i!==s&&(n=s,jQuery(\".dslca-module-edit-field-font-suggest\",o).show()):(n=i,jQuery(\".dslca-module-edit-field-font-suggest\",o).hide()),jQuery(\".dslca-module-edit-field-font-suggest\",o).text(n),n.length&&t.val(n.substring(0,t.val().length))}})),jQuery(document).off(\"keydown\",\".dslca-module-edit-field-font\").on(\"keydown\",\".dslca-module-edit-field-font\",(function(e){if(console.log(\"2 e.which:\"),console.log(e.which),13==e.which||9==e.which){var t,o;t=jQuery(this),o=t.closest(\".dslca-module-edit-option\"),jQuery(\".dslca-module-edit-field-font-suggest\",o).text().length&&(jQuery(this).val(jQuery(\".dslca-module-edit-field-font-suggest\",o).text()).trigger(\"change\"),jQuery(\".dslca-module-edit-field-font-suggest\",o).text(\"\"))}}))};function T(e){if(\"undefined\"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var I=T(/(?:Trident.*rv[ :]?11\\.|msie|iemobile|Windows Phone)/i),M=T(/Edge/i),N=T(/firefox/i),F=T(/safari/i)&&!T(/chrome/i)&&!T(/android/i),W=T(/iP(ad|od|hone)/i),U=T(/chrome/i)&&T(/android/i),H={capture:!1,passive:!1};function z(e,t,o){e.addEventListener(t,o,!I&&H)}function R(e,t,o){e.removeEventListener(t,o,!I&&H)}function q(e,t){if(t){if(\">\"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function X(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Y(e,t,o,i){if(e){o=o||document;do{if(null!=t&&(\">\"===t[0]?e.parentNode===o&&q(e,t):q(e,t))||i&&e===o)return e;if(e===o)break}while(e=X(e))}return null}var J,G=/\\s+/g;function K(e,t,o){if(e&&t)if(e.classList)e.classList[o?\"add\":\"remove\"](t);else{var i=(\" \"+e.className+\" \").replace(G,\" \").replace(\" \"+t+\" \",\" \");e.className=(i+(o?\" \"+t:\"\")).replace(G,\" \")}}function V(e,t,o){var i=e&&e.style;if(i){if(void 0===o)return document.defaultView&&document.defaultView.getComputedStyle?o=document.defaultView.getComputedStyle(e,\"\"):e.currentStyle&&(o=e.currentStyle),void 0===t?o:o[t];t in i||-1!==t.indexOf(\"webkit\")||(t=\"-webkit-\"+t),i[t]=o+(\"string\"==typeof o?\"\":\"px\")}}function $(e,t){var o=\"\";if(\"string\"==typeof e)o=e;else do{var i=V(e,\"transform\");i&&\"none\"!==i&&(o=i+\" \"+o)}while(!t&&(e=e.parentNode));var n=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix;return n&&new n(o)}function Z(e,t,o){if(e){var i=e.getElementsByTagName(t),n=0,s=i.length;if(o)for(;n<s;n++)o(i[n],n);return i}return[]}function ee(){return I?document.documentElement:document.scrollingElement}function te(e,t,o,i,n){if(e.getBoundingClientRect||e===window){var s,a,d,l,r,c,u;if(e!==window&&e!==ee()?(a=(s=e.getBoundingClientRect()).top,d=s.left,l=s.bottom,r=s.right,c=s.height,u=s.width):(a=0,d=0,l=window.innerHeight,r=window.innerWidth,c=window.innerHeight,u=window.innerWidth),(t||o)&&e!==window&&(n=n||e.parentNode,!I))do{if(n&&n.getBoundingClientRect&&(\"none\"!==V(n,\"transform\")||o&&\"static\"!==V(n,\"position\"))){var m=n.getBoundingClientRect();a-=m.top+parseInt(V(n,\"border-top-width\")),d-=m.left+parseInt(V(n,\"border-left-width\")),l=a+s.height,r=d+s.width;break}}while(n=n.parentNode);if(i&&e!==window){var p=$(n||e),h=p&&p.a,f=p&&p.d;p&&(l=(a/=f)+(c/=f),r=(d/=h)+(u/=h))}return{top:a,left:d,bottom:l,right:r,width:u,height:c}}}function oe(e,t,o){for(var i=de(e,!0),n=te(e)[t];i;){var s=te(i)[o];if(!(\"top\"===o||\"left\"===o?n>=s:n<=s))return i;if(i===ee())break;i=de(i,!1)}return!1}function ie(e,t,o){for(var i=0,n=0,s=e.children;n<s.length;){if(\"none\"!==s[n].style.display&&s[n]!==ct.ghost&&s[n]!==ct.dragged&&Y(s[n],o.draggable,e,!1)){if(i===t)return s[n];i++}n++}return null}function ne(e,t){for(var o=e.lastElementChild;o&&(o===ct.ghost||\"none\"===V(o,\"display\")||t&&!q(o,t));)o=o.previousElementSibling;return o||null}function se(e,t){var o=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)\"TEMPLATE\"===e.nodeName.toUpperCase()||e===ct.clone||t&&!q(e,t)||o++;return o}function ae(e){var t=0,o=0,i=ee();if(e)do{var n=$(e),s=n.a,a=n.d;t+=e.scrollLeft*s,o+=e.scrollTop*a}while(e!==i&&(e=e.parentNode));return[t,o]}function de(e,t){if(!e||!e.getBoundingClientRect)return ee();var o=e,i=!1;do{if(o.clientWidth<o.scrollWidth||o.clientHeight<o.scrollHeight){var n=V(o);if(o.clientWidth<o.scrollWidth&&(\"auto\"==n.overflowX||\"scroll\"==n.overflowX)||o.clientHeight<o.scrollHeight&&(\"auto\"==n.overflowY||\"scroll\"==n.overflowY)){if(!o.getBoundingClientRect||o===document.body)return ee();if(i||t)return o;i=!0}}}while(o=o.parentNode);return ee()}function le(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function re(e,t){return function(){if(!J){var o=arguments,i=this;1===o.length?e.call(i,o[0]):e.apply(i,o),J=setTimeout((function(){J=void 0}),t)}}}function ce(e,t,o){e.scrollLeft+=t,e.scrollTop+=o}function ue(e){var t=window.Polymer,o=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):o?o(e).clone(!0)[0]:e.cloneNode(!0)}var me=\"Sortable\"+(new Date).getTime();function pe(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if(\"none\"!==V(e,\"display\")&&e!==ct.ghost){t.push({target:e,rect:te(e)});var o=E({},t[t.length-1].rect);if(e.thisAnimationDuration){var i=$(e,!0);i&&(o.top-=i.f,o.left-=i.e)}e.fromRect=o}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var o in e)if(e.hasOwnProperty(o))for(var i in t)if(t.hasOwnProperty(i)&&t[i]===e[o][i])return Number(o);return-1}(t,{target:e}),1)},animateAll:function(o){var i=this;if(!this.options.animation)return clearTimeout(e),void(\"function\"==typeof o&&o());var n=!1,s=0;t.forEach((function(e){var t=0,o=e.target,a=o.fromRect,d=te(o),l=o.prevFromRect,r=o.prevToRect,c=e.rect,u=$(o,!0);u&&(d.top-=u.f,d.left-=u.e),o.toRect=d,o.thisAnimationDuration&&le(l,d)&&!le(a,d)&&(c.top-d.top)/(c.left-d.left)==(a.top-d.top)/(a.left-d.left)&&(t=function(e,t,o,i){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-o.top,2)+Math.pow(t.left-o.left,2))*i.animation}(c,l,r,i.options)),le(d,a)||(o.prevFromRect=a,o.prevToRect=d,t||(t=i.options.animation),i.animate(o,c,d,t)),t&&(n=!0,s=Math.max(s,t),clearTimeout(o.animationResetTimer),o.animationResetTimer=setTimeout((function(){o.animationTime=0,o.prevFromRect=null,o.fromRect=null,o.prevToRect=null,o.thisAnimationDuration=null}),t),o.thisAnimationDuration=t)})),clearTimeout(e),n?e=setTimeout((function(){\"function\"==typeof o&&o()}),s):\"function\"==typeof o&&o(),t=[]},animate:function(e,t,o,i){if(i){V(e,\"transition\",\"\"),V(e,\"transform\",\"\");var n=$(this.el),s=n&&n.a,a=n&&n.d,d=(t.left-o.left)/(s||1),l=(t.top-o.top)/(a||1);e.animatingX=!!d,e.animatingY=!!l,V(e,\"transform\",\"translate3d(\"+d+\"px,\"+l+\"px,0)\"),function(e){e.offsetWidth}(e),V(e,\"transition\",\"transform \"+i+\"ms\"+(this.options.easing?\" \"+this.options.easing:\"\")),V(e,\"transform\",\"translate3d(0,0,0)\"),\"number\"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){V(e,\"transition\",\"\"),V(e,\"transform\",\"\"),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),i)}}}}var he=[],fe={initializeByDefault:!0},ve={mount:function(e){for(var t in fe)!fe.hasOwnProperty(t)||t in e||(e[t]=fe[t]);he.push(e)},pluginEvent:function(e,t,o){var i=this;this.eventCanceled=!1,o.cancel=function(){i.eventCanceled=!0};var n=e+\"Global\";he.forEach((function(i){t[i.pluginName]&&(t[i.pluginName][n]&&t[i.pluginName][n](E({sortable:t},o)),t.options[i.pluginName]&&t[i.pluginName][e]&&t[i.pluginName][e](E({sortable:t},o)))}))},initializePlugins:function(e,t,o,i){for(var n in he.forEach((function(i){var n=i.pluginName;if(e.options[n]||i.initializeByDefault){var s=new i(e,t,e.options);s.sortable=e,s.options=e.options,e[n]=s,P(o,s.defaults)}})),e.options)if(e.options.hasOwnProperty(n)){var s=this.modifyOption(e,n,e.options[n]);void 0!==s&&(e.options[n]=s)}},getEventProperties:function(e,t){var o={};return he.forEach((function(i){\"function\"==typeof i.eventProperties&&P(o,i.eventProperties.call(t[i.pluginName],e))})),o},modifyOption:function(e,t,o){var i;return he.forEach((function(n){e[n.pluginName]&&n.optionListeners&&\"function\"==typeof n.optionListeners[t]&&(i=n.optionListeners[t].call(e[n.pluginName],o))})),i}};function ge(e){var t=e.sortable,o=e.rootEl,i=e.name,n=e.targetEl,s=e.cloneEl,a=e.toEl,d=e.fromEl,l=e.oldIndex,r=e.newIndex,c=e.oldDraggableIndex,u=e.newDraggableIndex,m=e.originalEvent,p=e.putSortable,h=e.extraEventProperties;if(t=t||o&&o[me]){var f,v=t.options,g=\"on\"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||I||M?(f=document.createEvent(\"Event\")).initEvent(i,!0,!0):f=new CustomEvent(i,{bubbles:!0,cancelable:!0}),f.to=a||o,f.from=d||o,f.item=n||o,f.clone=s,f.oldIndex=l,f.newIndex=r,f.oldDraggableIndex=c,f.newDraggableIndex=u,f.originalEvent=m,f.pullMode=p?p.lastPutMode:void 0;var y=E({},h,ve.getEventProperties(i,t));for(var w in y)f[w]=y[w];o&&o.dispatchEvent(f),v[g]&&v[g].call(t,f)}}var ye=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=o.evt,n=O(o,[\"evt\"]);ve.pluginEvent.bind(ct)(e,t,E({dragEl:be,parentEl:je,ghostEl:Qe,rootEl:_e,nextEl:Ce,lastDownEl:ke,cloneEl:De,cloneHidden:Le,dragStarted:We,putSortable:Ee,activeSortable:ct.active,originalEvent:i,oldIndex:xe,oldDraggableIndex:Se,newIndex:Be,newDraggableIndex:Ae,hideGhostForTarget:at,unhideGhostForTarget:dt,cloneNowHidden:function(){Le=!0},cloneNowShown:function(){Le=!1},dispatchSortableEvent:function(e){we({sortable:t,name:e,originalEvent:i})}},n))};function we(e){ge(E({putSortable:Ee,cloneEl:De,targetEl:be,rootEl:_e,oldIndex:xe,oldDraggableIndex:Se,newIndex:Be,newDraggableIndex:Ae},e))}var be,je,Qe,_e,Ce,ke,De,Le,xe,Be,Se,Ae,Pe,Ee,Oe,Te,Ie,Me,Ne,Fe,We,Ue,He,ze,Re,qe=!1,Xe=!1,Ye=[],Je=!1,Ge=!1,Ke=[],Ve=!1,$e=[],Ze=\"undefined\"!=typeof document,et=W,tt=M||I?\"cssFloat\":\"float\",ot=Ze&&!U&&!W&&\"draggable\"in document.createElement(\"div\"),it=function(){if(Ze){if(I)return!1;var e=document.createElement(\"x\");return e.style.cssText=\"pointer-events:auto\",\"auto\"===e.style.pointerEvents}}(),nt=function(e,t){var o=V(e),i=parseInt(o.width)-parseInt(o.paddingLeft)-parseInt(o.paddingRight)-parseInt(o.borderLeftWidth)-parseInt(o.borderRightWidth),n=ie(e,0,t),s=ie(e,1,t),a=n&&V(n),d=s&&V(s),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+te(n).width,r=d&&parseInt(d.marginLeft)+parseInt(d.marginRight)+te(s).width;if(\"flex\"===o.display)return\"column\"===o.flexDirection||\"column-reverse\"===o.flexDirection?\"vertical\":\"horizontal\";if(\"grid\"===o.display)return o.gridTemplateColumns.split(\" \").length<=1?\"vertical\":\"horizontal\";if(n&&a.float&&\"none\"!==a.float){var c=\"left\"===a.float?\"left\":\"right\";return!s||\"both\"!==d.clear&&d.clear!==c?\"horizontal\":\"vertical\"}return n&&(\"block\"===a.display||\"flex\"===a.display||\"table\"===a.display||\"grid\"===a.display||l>=i&&\"none\"===o[tt]||s&&\"none\"===o[tt]&&l+r>i)?\"vertical\":\"horizontal\"},st=function(e){function t(e,o){return function(i,n,s,a){var d=i.options.group.name&&n.options.group.name&&i.options.group.name===n.options.group.name;if(null==e&&(o||d))return!0;if(null==e||!1===e)return!1;if(o&&\"clone\"===e)return e;if(\"function\"==typeof e)return t(e(i,n,s,a),o)(i,n,s,a);var l=(o?i:n).options.group.name;return!0===e||\"string\"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var o={},i=e.group;i&&\"object\"==S(i)||(i={name:i}),o.name=i.name,o.checkPull=t(i.pull,!0),o.checkPut=t(i.put),o.revertClone=i.revertClone,e.group=o},at=function(){!it&&Qe&&V(Qe,\"display\",\"none\")},dt=function(){!it&&Qe&&V(Qe,\"display\",\"\")};Ze&&document.addEventListener(\"click\",(function(e){if(Xe)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Xe=!1,!1}),!0);var lt=function(e){if(be){e=e.touches?e.touches[0]:e;var t=(n=e.clientX,s=e.clientY,Ye.some((function(e){if(!ne(e)){var t=te(e),o=e[me].options.emptyInsertThreshold,i=n>=t.left-o&&n<=t.right+o,d=s>=t.top-o&&s<=t.bottom+o;return o&&i&&d?a=e:void 0}})),a);if(t){var o={};for(var i in e)e.hasOwnProperty(i)&&(o[i]=e[i]);o.target=o.rootEl=t,o.preventDefault=void 0,o.stopPropagation=void 0,t[me]._onDragOver(o)}}var n,s,a},rt=function(e){be&&be.parentNode[me]._isOutsideThisEl(e.target)};function ct(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw\"Sortable: `el` must be an HTMLElement, not \".concat({}.toString.call(e));this.el=e,this.options=t=P({},t),e[me]=this;var o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?\">li\":\">*\",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return nt(e,this.options)},ghostClass:\"sortable-ghost\",chosenClass:\"sortable-chosen\",dragClass:\"sortable-drag\",ignore:\"a, img\",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData(\"Text\",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:\"data-id\",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:\"sortable-fallback\",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==ct.supportPointer&&\"PointerEvent\"in window,emptyInsertThreshold:5};for(var i in ve.initializePlugins(this,e,o),o)!(i in t)&&(t[i]=o[i]);for(var n in st(t),this)\"_\"===n.charAt(0)&&\"function\"==typeof this[n]&&(this[n]=this[n].bind(this));this.nativeDraggable=!t.forceFallback&&ot,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?z(e,\"pointerdown\",this._onTapStart):(z(e,\"mousedown\",this._onTapStart),z(e,\"touchstart\",this._onTapStart)),this.nativeDraggable&&(z(e,\"dragover\",this),z(e,\"dragenter\",this)),Ye.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),P(this,pe())}function ut(e,t,o,i,n,s,a,d){var l,r,c=e[me],u=c.options.onMove;return!window.CustomEvent||I||M?(l=document.createEvent(\"Event\")).initEvent(\"move\",!0,!0):l=new CustomEvent(\"move\",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=o,l.draggedRect=i,l.related=n||t,l.relatedRect=s||te(t),l.willInsertAfter=d,l.originalEvent=a,e.dispatchEvent(l),u&&(r=u.call(c,l,a)),r}function mt(e){e.draggable=!1}function pt(){Ve=!1}function ht(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,o=t.length,i=0;o--;)i+=t.charCodeAt(o);return i.toString(36)}function ft(e){return setTimeout(e,0)}function vt(e){return clearTimeout(e)}ct.prototype={constructor:ct,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(Ue=null)},_getDirection:function(e,t){return\"function\"==typeof this.options.direction?this.options.direction.call(this,e,t,be):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,o=this.el,i=this.options,n=i.preventOnFilter,s=e.type,a=e.touches&&e.touches[0]||e.pointerType&&\"touch\"===e.pointerType&&e,d=(a||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||d,r=i.filter;if(function(e){$e.length=0;var t=e.getElementsByTagName(\"input\"),o=t.length;for(;o--;){var i=t[o];i.checked&&$e.push(i)}}(o),!be&&!(/mousedown|pointerdown/.test(s)&&0!==e.button||i.disabled||l.isContentEditable||(d=Y(d,i.draggable,o,!1))&&d.animated||ke===d)){if(xe=se(d),Se=se(d,i.draggable),\"function\"==typeof r){if(r.call(this,e,d,this))return we({sortable:t,rootEl:l,name:\"filter\",targetEl:d,toEl:o,fromEl:o}),ye(\"filter\",t,{evt:e}),void(n&&e.cancelable&&e.preventDefault())}else if(r&&(r=r.split(\",\").some((function(i){if(i=Y(l,i.trim(),o,!1))return we({sortable:t,rootEl:i,name:\"filter\",targetEl:d,fromEl:o,toEl:o}),ye(\"filter\",t,{evt:e}),!0}))))return void(n&&e.cancelable&&e.preventDefault());i.handle&&!Y(l,i.handle,o,!1)||this._prepareDragStart(e,a,d)}}},_prepareDragStart:function(e,t,o){var i,n=this,s=n.el,a=n.options,d=s.ownerDocument;if(o&&!be&&o.parentNode===s){var l=te(o);if(_e=s,je=(be=o).parentNode,Ce=be.nextSibling,ke=o,Pe=a.group,ct.dragged=be,Oe={target:be,clientX:(t||e).clientX,clientY:(t||e).clientY},Ne=Oe.clientX-l.left,Fe=Oe.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,be.style[\"will-change\"]=\"all\",i=function(){ye(\"delayEnded\",n,{evt:e}),ct.eventCanceled?n._onDrop():(n._disableDelayedDragEvents(),!N&&n.nativeDraggable&&(be.draggable=!0),n._triggerDragStart(e,t),we({sortable:n,name:\"choose\",originalEvent:e}),K(be,a.chosenClass,!0))},a.ignore.split(\",\").forEach((function(e){Z(be,e.trim(),mt)})),z(d,\"dragover\",lt),z(d,\"mousemove\",lt),z(d,\"touchmove\",lt),z(d,\"mouseup\",n._onDrop),z(d,\"touchend\",n._onDrop),z(d,\"touchcancel\",n._onDrop),N&&this.nativeDraggable&&(this.options.touchStartThreshold=4,be.draggable=!0),ye(\"delayStart\",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(M||I))i();else{if(ct.eventCanceled)return void this._onDrop();z(d,\"mouseup\",n._disableDelayedDrag),z(d,\"touchend\",n._disableDelayedDrag),z(d,\"touchcancel\",n._disableDelayedDrag),z(d,\"mousemove\",n._delayedDragTouchMoveHandler),z(d,\"touchmove\",n._delayedDragTouchMoveHandler),a.supportPointer&&z(d,\"pointermove\",n._delayedDragTouchMoveHandler),n._dragStartTimer=setTimeout(i,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){be&&mt(be),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;R(e,\"mouseup\",this._disableDelayedDrag),R(e,\"touchend\",this._disableDelayedDrag),R(e,\"touchcancel\",this._disableDelayedDrag),R(e,\"mousemove\",this._delayedDragTouchMoveHandler),R(e,\"touchmove\",this._delayedDragTouchMoveHandler),R(e,\"pointermove\",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||\"touch\"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?z(document,\"pointermove\",this._onTouchMove):z(document,t?\"touchmove\":\"mousemove\",this._onTouchMove):(z(be,\"dragend\",this),z(_e,\"dragstart\",this._onDragStart));try{document.selection?ft((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(qe=!1,_e&&be){ye(\"dragStarted\",this,{evt:t}),this.nativeDraggable&&z(document,\"dragover\",rt);var o=this.options;!e&&K(be,o.dragClass,!1),K(be,o.ghostClass,!0),ct.active=this,e&&this._appendGhost(),we({sortable:this,name:\"start\",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Te){this._lastX=Te.clientX,this._lastY=Te.clientY,at();for(var e=document.elementFromPoint(Te.clientX,Te.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(Te.clientX,Te.clientY))!==t;)t=e;if(be.parentNode[me]._isOutsideThisEl(e),t)do{if(t[me]){if(t[me]._onDragOver({clientX:Te.clientX,clientY:Te.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);dt()}},_onTouchMove:function(e){if(Oe){var t=this.options,o=t.fallbackTolerance,i=t.fallbackOffset,n=e.touches?e.touches[0]:e,s=Qe&&$(Qe),a=Qe&&s&&s.a,d=Qe&&s&&s.d,l=et&&Re&&ae(Re),r=(n.clientX-Oe.clientX+i.x)/(a||1)+(l?l[0]-Ke[0]:0)/(a||1),c=(n.clientY-Oe.clientY+i.y)/(d||1)+(l?l[1]-Ke[1]:0)/(d||1);if(!ct.active&&!qe){if(o&&Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))<o)return;this._onDragStart(e,!0)}if(Qe){s?(s.e+=r-(Ie||0),s.f+=c-(Me||0)):s={a:1,b:0,c:0,d:1,e:r,f:c};var u=\"matrix(\".concat(s.a,\",\").concat(s.b,\",\").concat(s.c,\",\").concat(s.d,\",\").concat(s.e,\",\").concat(s.f,\")\");V(Qe,\"webkitTransform\",u),V(Qe,\"mozTransform\",u),V(Qe,\"msTransform\",u),V(Qe,\"transform\",u),Ie=r,Me=c,Te=n}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!Qe){var e=this.options.fallbackOnBody?document.body:_e,t=te(be,!0,et,!0,e),o=this.options;if(et){for(Re=e;\"static\"===V(Re,\"position\")&&\"none\"===V(Re,\"transform\")&&Re!==document;)Re=Re.parentNode;Re!==document.body&&Re!==document.documentElement?(Re===document&&(Re=ee()),t.top+=Re.scrollTop,t.left+=Re.scrollLeft):Re=ee(),Ke=ae(Re)}K(Qe=be.cloneNode(!0),o.ghostClass,!1),K(Qe,o.fallbackClass,!0),K(Qe,o.dragClass,!0),V(Qe,\"transition\",\"\"),V(Qe,\"transform\",\"\"),V(Qe,\"box-sizing\",\"border-box\"),V(Qe,\"margin\",0),V(Qe,\"top\",t.top),V(Qe,\"left\",t.left),V(Qe,\"width\",t.width),V(Qe,\"height\",t.height),V(Qe,\"opacity\",\"0.8\"),V(Qe,\"position\",et?\"absolute\":\"fixed\"),V(Qe,\"zIndex\",\"100000\"),V(Qe,\"pointerEvents\",\"none\"),ct.ghost=Qe,e.appendChild(Qe),V(Qe,\"transform-origin\",Ne/parseInt(Qe.style.width)*100+\"% \"+Fe/parseInt(Qe.style.height)*100+\"%\")}},_onDragStart:function(e,t){var o=this,i=e.dataTransfer,n=o.options;ye(\"dragStart\",this,{evt:e}),ct.eventCanceled?this._onDrop():(ye(\"setupClone\",this),ct.eventCanceled||((De=ue(be)).draggable=!1,De.style[\"will-change\"]=\"\",this._hideClone(),K(De,this.options.chosenClass,!1),ct.clone=De),o.cloneId=ft((function(){ye(\"clone\",o),ct.eventCanceled||(o.options.removeCloneOnHide||_e.insertBefore(De,be),o._hideClone(),we({sortable:o,name:\"clone\"}))})),!t&&K(be,n.dragClass,!0),t?(Xe=!0,o._loopId=setInterval(o._emulateDragOver,50)):(R(document,\"mouseup\",o._onDrop),R(document,\"touchend\",o._onDrop),R(document,\"touchcancel\",o._onDrop),i&&(i.effectAllowed=\"move\",n.setData&&n.setData.call(o,i,be)),z(document,\"drop\",o),V(be,\"transform\",\"translateZ(0)\")),qe=!0,o._dragStartId=ft(o._dragStarted.bind(o,t,e)),z(document,\"selectstart\",o),We=!0,F&&V(document.body,\"user-select\",\"none\"))},_onDragOver:function(e){var t,o,i,n,s=this.el,a=e.target,d=this.options,l=d.group,r=ct.active,c=Pe===l,u=d.sort,m=Ee||r,p=this,h=!1;if(!Ve){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),a=Y(a,d.draggable,s,!0),x(\"dragOver\"),ct.eventCanceled)return h;if(be.contains(e.target)||a.animated&&a.animatingX&&a.animatingY||p._ignoreWhileAnimating===a)return S(!1);if(Xe=!1,r&&!d.disabled&&(c?u||(i=!_e.contains(be)):Ee===this||(this.lastPutMode=Pe.checkPull(this,r,be,e))&&l.checkPut(this,r,be,e))){if(n=\"vertical\"===this._getDirection(e,a),t=te(be),x(\"dragOverValid\"),ct.eventCanceled)return h;if(i)return je=_e,B(),this._hideClone(),x(\"revert\"),ct.eventCanceled||(Ce?_e.insertBefore(be,Ce):_e.appendChild(be)),S(!0);var f=ne(s,d.draggable);if(!f||function(e,t,o){var i=te(ne(o.el,o.options.draggable));return t?e.clientX>i.right+10||e.clientX<=i.right&&e.clientY>i.bottom&&e.clientX>=i.left:e.clientX>i.right&&e.clientY>i.top||e.clientX<=i.right&&e.clientY>i.bottom+10}(e,n,this)&&!f.animated){if(f===be)return S(!1);if(f&&s===e.target&&(a=f),a&&(o=te(a)),!1!==ut(_e,s,be,t,a,o,e,!!a))return B(),s.appendChild(be),je=s,A(),S(!0)}else if(a.parentNode===s){o=te(a);var v,g,y,w=be.parentNode!==s,b=!function(e,t,o){var i=o?e.left:e.top,n=o?e.right:e.bottom,s=o?e.width:e.height,a=o?t.left:t.top,d=o?t.right:t.bottom,l=o?t.width:t.height;return i===a||n===d||i+s/2===a+l/2}(be.animated&&be.toRect||t,a.animated&&a.toRect||o,n),j=n?\"top\":\"left\",Q=oe(a,\"top\",\"top\")||oe(be,\"top\",\"top\"),_=Q?Q.scrollTop:void 0;if(Ue!==a&&(g=o[j],Je=!1,Ge=!b&&d.invertSwap||w),0!==(v=function(e,t,o,i,n,s,a,d){var l=i?e.clientY:e.clientX,r=i?o.height:o.width,c=i?o.top:o.left,u=i?o.bottom:o.right,m=!1;if(!a)if(d&&ze<r*n){if(!Je&&(1===He?l>c+r*s/2:l<u-r*s/2)&&(Je=!0),Je)m=!0;else if(1===He?l<c+ze:l>u-ze)return-He}else if(l>c+r*(1-n)/2&&l<u-r*(1-n)/2)return function(e){return se(be)<se(e)?1:-1}(t);if((m=m||a)&&(l<c+r*s/2||l>u-r*s/2))return l>c+r/2?1:-1;return 0}(e,a,o,n,b?1:d.swapThreshold,null==d.invertedSwapThreshold?d.swapThreshold:d.invertedSwapThreshold,Ge,Ue===a))){var C=se(be);do{C-=v,y=je.children[C]}while(y&&(\"none\"===V(y,\"display\")||y===Qe))}if(0===v||y===a)return S(!1);Ue=a,He=v;var k=a.nextElementSibling,D=!1,L=ut(_e,s,be,t,a,o,e,D=1===v);if(!1!==L)return 1!==L&&-1!==L||(D=1===L),Ve=!0,setTimeout(pt,30),B(),D&&!k?s.appendChild(be):a.parentNode.insertBefore(be,D?k:a),Q&&ce(Q,0,_-Q.scrollTop),je=be.parentNode,void 0===g||Ge||(ze=Math.abs(g-te(a)[j])),A(),S(!0)}if(s.contains(be))return S(!1)}return!1}function x(d,l){ye(d,p,E({evt:e,isOwner:c,axis:n?\"vertical\":\"horizontal\",revert:i,dragRect:t,targetRect:o,canSort:u,fromSortable:m,target:a,completed:S,onMove:function(o,i){return ut(_e,s,be,t,o,te(o),e,i)},changed:A},l))}function B(){x(\"dragOverAnimationCapture\"),p.captureAnimationState(),p!==m&&m.captureAnimationState()}function S(t){return x(\"dragOverCompleted\",{insertion:t}),t&&(c?r._hideClone():r._showClone(p),p!==m&&(K(be,Ee?Ee.options.ghostClass:r.options.ghostClass,!1),K(be,d.ghostClass,!0)),Ee!==p&&p!==ct.active?Ee=p:p===ct.active&&Ee&&(Ee=null),m===p&&(p._ignoreWhileAnimating=a),p.animateAll((function(){x(\"dragOverAnimationComplete\"),p._ignoreWhileAnimating=null})),p!==m&&(m.animateAll(),m._ignoreWhileAnimating=null)),(a===be&&!be.animated||a===s&&!a.animated)&&(Ue=null),d.dragoverBubble||e.rootEl||a===document||(be.parentNode[me]._isOutsideThisEl(e.target),!t&&lt(e)),!d.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),h=!0}function A(){Be=se(be),Ae=se(be,d.draggable),we({sortable:p,name:\"change\",toEl:s,newIndex:Be,newDraggableIndex:Ae,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){R(document,\"mousemove\",this._onTouchMove),R(document,\"touchmove\",this._onTouchMove),R(document,\"pointermove\",this._onTouchMove),R(document,\"dragover\",lt),R(document,\"mousemove\",lt),R(document,\"touchmove\",lt)},_offUpEvents:function(){var e=this.el.ownerDocument;R(e,\"mouseup\",this._onDrop),R(e,\"touchend\",this._onDrop),R(e,\"pointerup\",this._onDrop),R(e,\"touchcancel\",this._onDrop),R(document,\"selectstart\",this)},_onDrop:function(e){var t=this.el,o=this.options;Be=se(be),Ae=se(be,o.draggable),ye(\"drop\",this,{evt:e}),je=be&&be.parentNode,Be=se(be),Ae=se(be,o.draggable),ct.eventCanceled?this._nulling():(qe=!1,Ge=!1,Je=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),vt(this.cloneId),vt(this._dragStartId),this.nativeDraggable&&(R(document,\"drop\",this),R(t,\"dragstart\",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),F&&V(document.body,\"user-select\",\"\"),e&&(We&&(e.cancelable&&e.preventDefault(),!o.dropBubble&&e.stopPropagation()),Qe&&Qe.parentNode&&Qe.parentNode.removeChild(Qe),(_e===je||Ee&&\"clone\"!==Ee.lastPutMode)&&De&&De.parentNode&&De.parentNode.removeChild(De),be&&(this.nativeDraggable&&R(be,\"dragend\",this),mt(be),be.style[\"will-change\"]=\"\",We&&!qe&&K(be,Ee?Ee.options.ghostClass:this.options.ghostClass,!1),K(be,this.options.chosenClass,!1),we({sortable:this,name:\"unchoose\",toEl:je,newIndex:null,newDraggableIndex:null,originalEvent:e}),_e!==je?(Be>=0&&(we({rootEl:je,name:\"add\",toEl:je,fromEl:_e,originalEvent:e}),we({sortable:this,name:\"remove\",toEl:je,originalEvent:e}),we({rootEl:je,name:\"sort\",toEl:je,fromEl:_e,originalEvent:e}),we({sortable:this,name:\"sort\",toEl:je,originalEvent:e})),Ee&&Ee.save()):Be!==xe&&Be>=0&&(we({sortable:this,name:\"update\",toEl:je,originalEvent:e}),we({sortable:this,name:\"sort\",toEl:je,originalEvent:e})),ct.active&&(null!=Be&&-1!==Be||(Be=xe,Ae=Se),we({sortable:this,name:\"end\",toEl:je,originalEvent:e}),this.save()))),this._nulling())},_nulling:function(){ye(\"nulling\",this),_e=be=je=Qe=Ce=De=ke=Le=Oe=Te=We=Be=Ae=xe=Se=Ue=He=Ee=Pe=ct.dragged=ct.ghost=ct.clone=ct.active=null,$e.forEach((function(e){e.checked=!0})),$e.length=Ie=Me=0},handleEvent:function(e){switch(e.type){case\"drop\":case\"dragend\":this._onDrop(e);break;case\"dragenter\":case\"dragover\":be&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect=\"move\");e.cancelable&&e.preventDefault()}(e));break;case\"selectstart\":e.preventDefault()}},toArray:function(){for(var e,t=[],o=this.el.children,i=0,n=o.length,s=this.options;i<n;i++)Y(e=o[i],s.draggable,this.el,!1)&&t.push(e.getAttribute(s.dataIdAttr)||ht(e));return t},sort:function(e){var t={},o=this.el;this.toArray().forEach((function(e,i){var n=o.children[i];Y(n,this.options.draggable,o,!1)&&(t[e]=n)}),this),e.forEach((function(e){t[e]&&(o.removeChild(t[e]),o.appendChild(t[e]))}))},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return Y(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var o=this.options;if(void 0===t)return o[e];var i=ve.modifyOption(this,e,t);o[e]=void 0!==i?i:t,\"group\"===e&&st(o)},destroy:function(){ye(\"destroy\",this);var e=this.el;e[me]=null,R(e,\"mousedown\",this._onTapStart),R(e,\"touchstart\",this._onTapStart),R(e,\"pointerdown\",this._onTapStart),this.nativeDraggable&&(R(e,\"dragover\",this),R(e,\"dragenter\",this)),Array.prototype.forEach.call(e.querySelectorAll(\"[draggable]\"),(function(e){e.removeAttribute(\"draggable\")})),this._onDrop(),Ye.splice(Ye.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!Le){if(ye(\"hideClone\",this),ct.eventCanceled)return;V(De,\"display\",\"none\"),this.options.removeCloneOnHide&&De.parentNode&&De.parentNode.removeChild(De),Le=!0}},_showClone:function(e){if(\"clone\"===e.lastPutMode){if(Le){if(ye(\"showClone\",this),ct.eventCanceled)return;_e.contains(be)&&!this.options.group.revertClone?_e.insertBefore(De,be):Ce?_e.insertBefore(De,Ce):_e.appendChild(De),this.options.group.revertClone&&this.animate(be,De),V(De,\"display\",\"\"),Le=!1}}else this._hideClone()}},Ze&&z(document,\"touchmove\",(function(e){(ct.active||qe)&&e.cancelable&&e.preventDefault()})),ct.utils={on:z,off:R,css:V,find:Z,is:function(e,t){return!!Y(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o]);return e},throttle:re,closest:Y,toggleClass:K,clone:ue,index:se,nextTick:ft,cancelNextTick:vt,detectDirection:nt,getChild:ie},ct.get=function(e){return e[me]},ct.mount=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw\"Sortable: Mounted plugin must be a constructor function, not \".concat({}.toString.call(e));e.utils&&(ct.utils=E({},ct.utils,e.utils)),ve.mount(e)}))},ct.create=function(e,t){return new ct(e,t)},ct.version=\"1.10.1\";var gt,yt,wt,bt,jt,Qt,_t=[],Ct=!1;function kt(){_t.forEach((function(e){clearInterval(e.pid)})),_t=[]}function Dt(){clearInterval(Qt)}var Lt=re((function(e,t,o,i){if(t.scroll){var n,s=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,d=t.scrollSensitivity,l=t.scrollSpeed,r=ee(),c=!1;yt!==o&&(yt=o,kt(),gt=t.scroll,n=t.scrollFn,!0===gt&&(gt=de(o,!0)));var u=0,m=gt;do{var p=m,h=te(p),f=h.top,v=h.bottom,g=h.left,y=h.right,w=h.width,b=h.height,j=void 0,Q=void 0,_=p.scrollWidth,C=p.scrollHeight,k=V(p),D=p.scrollLeft,L=p.scrollTop;p===r?(j=w<_&&(\"auto\"===k.overflowX||\"scroll\"===k.overflowX||\"visible\"===k.overflowX),Q=b<C&&(\"auto\"===k.overflowY||\"scroll\"===k.overflowY||\"visible\"===k.overflowY)):(j=w<_&&(\"auto\"===k.overflowX||\"scroll\"===k.overflowX),Q=b<C&&(\"auto\"===k.overflowY||\"scroll\"===k.overflowY));var x=j&&(Math.abs(y-s)<=d&&D+w<_)-(Math.abs(g-s)<=d&&!!D),B=Q&&(Math.abs(v-a)<=d&&L+b<C)-(Math.abs(f-a)<=d&&!!L);if(!_t[u])for(var S=0;S<=u;S++)_t[S]||(_t[S]={});_t[u].vx==x&&_t[u].vy==B&&_t[u].el===p||(_t[u].el=p,_t[u].vx=x,_t[u].vy=B,clearInterval(_t[u].pid),0==x&&0==B||(c=!0,_t[u].pid=setInterval(function(){i&&0===this.layer&&ct.active._onTouchMove(jt);var t=_t[this.layer].vy?_t[this.layer].vy*l:0,o=_t[this.layer].vx?_t[this.layer].vx*l:0;\"function\"==typeof n&&\"continue\"!==n.call(ct.dragged.parentNode[me],o,t,e,jt,_t[this.layer].el)||ce(_t[this.layer].el,o,t)}.bind({layer:u}),24))),u++}while(t.bubbleScroll&&m!==r&&(m=de(m,!1)));Ct=c}}),30),xt=function(e){var t=e.originalEvent,o=e.putSortable,i=e.dragEl,n=e.activeSortable,s=e.dispatchSortableEvent,a=e.hideGhostForTarget,d=e.unhideGhostForTarget;if(t){var l=o||n;a();var r=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,c=document.elementFromPoint(r.clientX,r.clientY);d(),l&&!l.el.contains(c)&&(s(\"spill\"),this.onSpill({dragEl:i,putSortable:o}))}};function Bt(){}function St(){}Bt.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,o=e.putSortable;this.sortable.captureAnimationState(),o&&o.captureAnimationState();var i=ie(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(t,i):this.sortable.el.appendChild(t),this.sortable.animateAll(),o&&o.animateAll()},drop:xt},P(Bt,{pluginName:\"revertOnSpill\"}),St.prototype={onSpill:function(e){var t=e.dragEl,o=e.putSortable||this.sortable;o.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),o.animateAll()},drop:xt},P(St,{pluginName:\"removeOnSpill\"});ct.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)\"_\"===e.charAt(0)&&\"function\"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?z(document,\"dragover\",this._handleAutoScroll):this.options.supportPointer?z(document,\"pointermove\",this._handleFallbackAutoScroll):t.touches?z(document,\"touchmove\",this._handleFallbackAutoScroll):z(document,\"mousemove\",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?R(document,\"dragover\",this._handleAutoScroll):(R(document,\"pointermove\",this._handleFallbackAutoScroll),R(document,\"touchmove\",this._handleFallbackAutoScroll),R(document,\"mousemove\",this._handleFallbackAutoScroll)),Dt(),kt(),clearTimeout(J),J=void 0},nulling:function(){jt=yt=gt=Ct=Qt=wt=bt=null,_t.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var o=this,i=(e.touches?e.touches[0]:e).clientX,n=(e.touches?e.touches[0]:e).clientY,s=document.elementFromPoint(i,n);if(jt=e,t||M||I||F){Lt(e,this.options,s,t);var a=de(s,!0);!Ct||Qt&&i===wt&&n===bt||(Qt&&Dt(),Qt=setInterval((function(){var s=de(document.elementFromPoint(i,n),!0);s!==a&&(a=s,kt()),Lt(e,o.options,s,t)}),10),wt=i,bt=n)}else{if(!this.options.bubbleScroll||de(s,!0)===ee())return void kt();Lt(e,this.options,de(s,!1),!1)}}},P(e,{pluginName:\"scroll\",initializeByDefault:!0})}),ct.mount(St,Bt);var At=ct;window.onerror=function(e,t,o,i){Nt(e,t,o,i)},jQuery(document).on(\"click\",\".dslca-show-js-error-hook\",(function(e){e.preventDefault();var t=document.getElementById(\"dslca-js-errors-report\");jQuery(\"body\").hasClass(\"dslca-saving-in-progress\")||n({title:'<a href=\"https://livecomposerplugin.com/support/\" target=\"_blank\"><span class=\"dslca-icon dslc-icon-comment\"></span> &nbsp; Get Support Info</a>',content:'<span class=\"dslca-error-report\">'+t.value+\"</span>\"})})),jQuery(document).ready((function(e){var t,o;jQuery(\"#page-builder-frame\")[0].contentWindow.onerror=function(e,t,o,i){Nt(e,t,o,i)},t=document.getElementById(\"dslca-js-errors-report\"),null!==(o=localStorage.getItem(\"js_errors_report\"))&&(t.value=o,localStorage.removeItem(\"js_errors_report\"),document.querySelector(\".dslca-show-js-error-hook\").setAttribute(\"style\",\"visibility:visible\")),jQuery(\"body\").addClass(\"dslca-enabled dslca-drag-not-in-progress\"),jQuery(\".dslca-invisible-overlay\").hide(),jQuery(\".dslca-section\").eq(0).show()})),jQuery(document).on(\"click\",\".dslca-currently-editing\",(function(){var e=!1,t=!1;if(jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).length?(e=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),\"#5890e5\"):jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).length&&(e=jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument),\"#eabba9\"),e){(t=e.offset().top-100)<0&&(t=0);jQuery(\"html, body\",LiveComposer.Builder.PreviewAreaDocument).animate({scrollTop:t},300,(function(){e.removeAttr(\"style\")}))}})),jQuery(window).keypress((function(e){if((e.metaKey||e.ctrlKey)&&83==e.keyCode)return dslc_ajax_save_composer(),e.preventDefault(),!1})),jQuery(document).on(\"click\",\".dslca-hide-composer-hook\",(function(e){e.preventDefault(),function(){window.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(\"body\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"dslca-composer-hidden\"),LiveComposer.Builder.Flags.uiHidden=!0,jQuery(\".dslca-container\").css({bottom:-1*jQuery(\".dslca-container\").outerHeight()}),jQuery(\".dslca-header\").hide()}()})),jQuery(document).on(\"click\",\".dslca-show-composer-hook\",(function(e){e.preventDefault(),function(){window.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(\"body\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-composer-hidden\"),LiveComposer.Builder.Flags.uiHidden=!1,jQuery(\".dslca-container\").css({bottom:0}),jQuery(\".dslca-header\").show()}()})),jQuery(document).on(\"click\",\".dslca-go-to-modules-hook\",(function(e){e.preventDefault(),Et(\".dslca-modules\")})),jQuery(document).on(\"click\",\".dslca-go-to-section-hook\",(function(e){if(e.preventDefault(),!jQuery(this).hasClass(\"dslca-active\")){var t=jQuery(this).data(\"section\");Et(t),(jQuery(this).hasClass(\"dslca-go-to-section-modules\")||jQuery(this).hasClass(\"dslca-go-to-section-templates\"))&&jQuery(this).addClass(\"dslca-active\").siblings(\".dslca-go-to-section-hook\").removeClass(\"dslca-active\")}})),jQuery(document).on(\"click\",\".dslca-close-composer-hook\",(function(e){e.preventDefault();var t=jQuery(this).attr(\"href\");!jQuery(\"body\").hasClass(\"dslca-saving-in-progress\")&&jQuery(\".dslca-save-composer\").is(\":visible\")?n({title:DSLCString.str_exit_title,content:DSLCString.str_exit_descr,confirm:function(){window.location=t}}):window.location=t})),jQuery(document).on(\"click\",\".dslca-submit\",(function(){jQuery(this).closest(\"form\").submit()})),jQuery(document).on(\"click\",\".dslca-section-title\",(function(e){e.stopPropagation(),jQuery(\".dslca-section-title-filter\",this).length&&(!function(){window.dslcDebug&&console.log(\"dslc_generate_filters\");var e,t=[],o='<a html=\"#\" data-origin=\"\">Show All</a>';jQuery(\".dslca-section:visible .dslca-origin\").each((function(){e=jQuery(this),-1==jQuery.inArray(e.data(\"origin\"),t)&&(t.push(e.data(\"origin\")),o+='<a href=\"#\" data-origin=\"'+e.data(\"origin\")+'\">'+e.data(\"origin\")+\"</a>\")})),jQuery(\".dslca-section:visible .dslca-section-title-filter-options\").html(o).css(\"background\",jQuery(\".dslca-section:visible\").data(\"bg\"))}(),jQuery(\".dslca-section-title-filter-options\").slideToggle(300))})),jQuery(document).on(\"click\",\".dslca-section-title-filter-options a\",(function(e){e.preventDefault(),e.stopPropagation();var t=jQuery(this).data(\"origin\"),o=jQuery(this).closest(\".dslca-section\");o.hasClass(\"dslca-templates-load\"),jQuery(\".dslca-section-title-filter-curr\",o).text(jQuery(this).text()),jQuery(\".dslca-section-scroller-inner\").css({left:0}),function(e,t){window.dslcDebug&&console.log(\"dslc_filter_origin\");jQuery(\".dslca-origin\",t).attr(\"data-display-module\",\"false\"),jQuery('.dslca-origin[data-origin=\"'+e+'\"]',t).attr(\"data-display-module\",\"true\"),\"\"==e&&(jQuery(\".dslca-origin\",t).attr(\"data-display-module\",\"true\"),jQuery(\".dslca-origin.dslca-exclude\",t).attr(\"data-display-module\",\"false\"))}(t,o),jQuery(\".dslca-section-title-filter-options\").slideToggle(300)})),window.dslc_show_publish_button=function(){window.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\")};var Pt=function(){window.dslcDebug&&console.log(\"hidePublishButton\"),jQuery(\".dslca-save-composer\").hide(),jQuery(\".dslca-save-draft-composer\").hide()},Et=function(e){window.dslcDebug&&console.log(\"showSection\");jQuery(e).data(\"title\"),jQuery(e).data(\"bg\");jQuery(\".dslca-container\").css({bottom:-500}),jQuery(\".dslca-section\").hide(),jQuery(e).show(),\".dslca-module-edit\"==e?jQuery(\".dslca-currently-editing\").show().find(\"strong\").text(jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).attr(\"title\")+\" element\"):\".dslca-modules-section-edit\"==e?jQuery(\".dslca-currently-editing\").show().css(\"background-color\",\"#e5855f\").find(\"strong\").text(\"Row\"):jQuery(\".dslca-currently-editing\").hide().find(\"strong\").text(\"\"),Q(),jQuery(\".dslca-container\").css({bottom:0}),jQuery(e).find(\"input.dslca-module-edit-field-colorpicker\").each((function(e){jQuery(this).css(\"background\",jQuery(this).val())}))};function Ot(e){if(void 0===e&&(e=!1),e){var t=jQuery(\".dslca-module-edit-option-\"+e),o=t.find(\".dslca-module-edit-field\"),i=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument)[0].id,n=\"\";\"tablet_responsive\"===t.data(\"tab\")?n=\"body.dslc-res-tablet \":\"phone_responsive\"===t.data(\"tab\")&&(n=\"body.dslc-res-phone \");var s=o.data(\"affect-on-change-el\");if(void 0!==s){var a=s.split(\",\");s=\"\";for(var d=0;d<a.length;d++)d>0&&(s+=\", \"),s+=n+\"#\"+i+\" \"+a[d];var l,r=o.data(\"affect-on-change-rule\").replace(/ /g,\"\").split(\",\"),c=o.data(\"ext\");if(t.toggleClass(\"dslca-option-off\"),t.hasClass(\"dslca-option-off\")){l=It(e),o.data(\"val-bckp\",l);for(d=0;d<r.length;d++)jQuery(s,LiveComposer.Builder.PreviewAreaDocument).css(r[d],\"\"),Tt(s,r[d],i);o.val(\"\").trigger(\"change\")}else{o.val(o.data(\"val-bckp\")).trigger(\"change\"),l=function(e,t){if(\"\"===e||null===e)return e;-1==e.indexOf(t)&&(e+=t);return e}(l=It(e),c||\"\");for(d=0;d<r.length;d++){var u=s+\"{\"+r[d]+\": \"+l+\"}\";LiveComposer.Builder.Helpers.processInlineStyleTag({context:t,rule:r[d],elems:s.replace(new RegExp(\"#\"+i,\"gi\"),\"\").trim(),styleContent:u})}}}}}function Tt(e,t,o){var i,n=\"css-for-\"+o,s=document.getElementById(\"page-builder-frame\").contentWindow.document.getElementById(n);if(e=e.replace(/\\s\\s+/g,\" \"),s){(s=s.sheet).rules?i=\"rules\":s.cssRules&&(i=\"cssRules\");for(var a=0;a<s[i].length;a++)if(s[i][a].selectorText==e&&s[i][a].style[t]){s[i][a].style[t]=\"\";break}}}function It(e){return jQuery(\".dslca-module-edit-option-\"+e).find(\".dslca-module-edit-field\").val()}jQuery(document).ready((function(e){jQuery(document).on(\"click\",\".dslca-module-edit-option .dslc-control-toggle\",(function(e){e.preventDefault(),Ot(jQuery(e.target).closest(\".dslca-module-edit-option\").find(\".dslca-module-edit-field\").data(\"id\"))})),jQuery(document).on(\"mousedown\",\".dslca-module-edit-option\",(function(e){var t=jQuery(\".dslc-control-toggle\");t.is(e.target)||0!==t.has(e.target).length||jQuery(e.target).closest(\".dslca-module-edit-option\").hasClass(\"dslca-option-off\")&&Ot(jQuery(e.target).closest(\".dslca-module-edit-option\").find(\".dslca-module-edit-field\").data(\"id\"))}))}));var Mt=function(){jQuery([document,LiveComposer.Builder.PreviewAreaWindow.document]).unbind(\"keydown\").bind(\"keydown\",(function(e){var t;window.dslc_modal_keypress_events(e),function(e){var t=!1;if(8===e.keyCode){var o=e.srcElement||e.target;t=!(\"INPUT\"===o.tagName.toUpperCase()&&(\"TEXT\"===o.type.toUpperCase()||\"PASSWORD\"===o.type.toUpperCase()||\"NUMBER\"===o.type.toUpperCase()||\"FILE\"===o.type.toUpperCase())||\"TEXTAREA\"===o.tagName.toUpperCase()||jQuery(o).hasClass(\"dslca-editable-content\")||jQuery(o).hasClass(\"dslc-tabs-nav-hook-title\")||jQuery(o).hasClass(\"dslc-accordion-title\"))||(o.readOnly||o.disabled)}t&&e.preventDefault()}(e),(116==(t=e).which||82===t.which&&t.metaKey)&&(null===jQuery(\".dslca-save-composer-hook\").offsetParent&&null===jQuery(\".dslca-module-edit-save\").offsetParent||(t.preventDefault(),n({title:DSLCString.str_refresh_title,content:DSLCString.str_refresh_descr,confirm:function(){window.location.reload()}}))),function(e){if(83==e.which&&(e.metaKey||e.ctrlKey)&&\"block\"==jQuery(\".dslca-save-composer-hook\").css(\"display\"))dslc_save_composer(),e.preventDefault()}(e),function(e){(e.metaKey||e.ctrlKey)&&LiveComposer.Builder.PreviewAreaWindow.document.querySelector(\"body\").classList.add(\"key-press-cmd\")}(e)})),jQuery([document,LiveComposer.Builder.PreviewAreaWindow.document]).unbind(\"keyup\").bind(\"keyup\",(function(e){\"Meta\"===e.key&&LiveComposer.Builder.PreviewAreaWindow.document.querySelector(\"body\").classList.remove(\"key-press-cmd\")}))};function Nt(e,t,o,i){var n=\"JavaScript error detected in a third-party plugin\";null!=t.match(\"wp-content/plugins/live-composer-page-builder/js\")&&(n=\"Live Composer returned JS error\");var s=\"\";s+='<br /><strong style=\"color:#E55F5F;\">'+n+\"</strong><br />\",s+=e+'<br /> File \"'+t+'\", line '+o+\", char \"+i+\"<br />\",\"undefined\"!=typeof Storage&&localStorage.setItem(\"js_errors_report\",s)}jQuery(document).on(\"editorFrameLoaded\",(function(){jQuery;var e=jQuery(\"div[data-hf]\",LiveComposer.Builder.PreviewAreaDocument),t=\"\";e.each((function(e,o){var i=jQuery(o).data(\"editing-link\"),n=(jQuery(o).data(\"editing-type\"),jQuery(o).data(\"editing-label\")),s=jQuery(o).data(\"editing-sublabel\");t+='<div class=\"dslc-hf-block-overlay\"><a target=\"_blank\" href=\"'+i+'\" class=\"dslc-hf-block-overlay-button dslca-link\">'+n+\"</a>\",void 0!==s&&(t+=' <span class=\"dslc-hf-block-overlay-text\">'+s+\"</span>\"),t+=\"</div>\";var a=document.createElement(\"div\");a.innerHTML=t,o.append(a)}))}));var Ft={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:\"normal\",autoplay:!0,timelineOffset:0},Wt={duration:1e3,delay:0,endDelay:0,easing:\"easeOutElastic(1, .5)\",round:0},Ut=[\"translateX\",\"translateY\",\"translateZ\",\"rotate\",\"rotateX\",\"rotateY\",\"rotateZ\",\"scale\",\"scaleX\",\"scaleY\",\"scaleZ\",\"skew\",\"skewX\",\"skewY\",\"perspective\"],Ht={CSS:{},springs:{}};function zt(e,t,o){return Math.min(Math.max(e,t),o)}function Rt(e,t){return e.indexOf(t)>-1}function qt(e,t){return e.apply(null,t)}var Xt={arr:function(e){return Array.isArray(e)},obj:function(e){return Rt(Object.prototype.toString.call(e),\"Object\")},pth:function(e){return Xt.obj(e)&&e.hasOwnProperty(\"totalLength\")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||Xt.svg(e)},str:function(e){return\"string\"==typeof e},fnc:function(e){return\"function\"==typeof e},und:function(e){return void 0===e},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return Xt.hex(e)||Xt.rgb(e)||Xt.hsl(e)},key:function(e){return!Ft.hasOwnProperty(e)&&!Wt.hasOwnProperty(e)&&\"targets\"!==e&&\"keyframes\"!==e}};function Yt(e){var t=/\\(([^)]+)\\)/.exec(e);return t?t[1].split(\",\").map((function(e){return parseFloat(e)})):[]}function Jt(e,t){var o=Yt(e),i=zt(Xt.und(o[0])?1:o[0],.1,100),n=zt(Xt.und(o[1])?100:o[1],.1,100),s=zt(Xt.und(o[2])?10:o[2],.1,100),a=zt(Xt.und(o[3])?0:o[3],.1,100),d=Math.sqrt(n/i),l=s/(2*Math.sqrt(n*i)),r=l<1?d*Math.sqrt(1-l*l):0,c=1,u=l<1?(l*d-a)/r:-a+d;function m(e){var o=t?t*e/1e3:e;return o=l<1?Math.exp(-o*l*d)*(c*Math.cos(r*o)+u*Math.sin(r*o)):(c+u*o)*Math.exp(-o*d),0===e||1===e?e:1-o}return t?m:function(){var t=Ht.springs[e];if(t)return t;for(var o=0,i=0;;)if(1===m(o+=1/6)){if(++i>=16)break}else i=0;var n=o*(1/6)*1e3;return Ht.springs[e]=n,n}}function Gt(e){return void 0===e&&(e=10),function(t){return Math.round(t*e)*(1/e)}}var Kt,Vt,$t=function(){var e=11,t=1/(e-1);function o(e,t){return 1-3*t+3*e}function i(e,t){return 3*t-6*e}function n(e){return 3*e}function s(e,t,s){return((o(t,s)*e+i(t,s))*e+n(t))*e}function a(e,t,s){return 3*o(t,s)*e*e+2*i(t,s)*e+n(t)}return function(o,i,n,d){if(0<=o&&o<=1&&0<=n&&n<=1){var l=new Float32Array(e);if(o!==i||n!==d)for(var r=0;r<e;++r)l[r]=s(r*t,o,n);return function(e){return o===i&&n===d?e:0===e||1===e?e:s(c(e),i,d)}}function c(i){for(var d=0,r=1,c=e-1;r!==c&&l[r]<=i;++r)d+=t;--r;var u=d+(i-l[r])/(l[r+1]-l[r])*t,m=a(u,o,n);return m>=.001?function(e,t,o,i){for(var n=0;n<4;++n){var d=a(t,o,i);if(0===d)return t;t-=(s(t,o,i)-e)/d}return t}(i,u,o,n):0===m?u:function(e,t,o,i,n){var a,d,l=0;do{(a=s(d=t+(o-t)/2,i,n)-e)>0?o=d:t=d}while(Math.abs(a)>1e-7&&++l<10);return d}(i,d,d+t,o,n)}}}(),Zt=(Kt={linear:function(){return function(e){return e}}},Vt={Sine:function(){return function(e){return 1-Math.cos(e*Math.PI/2)}},Circ:function(){return function(e){return 1-Math.sqrt(1-e*e)}},Back:function(){return function(e){return e*e*(3*e-2)}},Bounce:function(){return function(e){for(var t,o=4;e<((t=Math.pow(2,--o))-1)/11;);return 1/Math.pow(4,3-o)-7.5625*Math.pow((3*t-2)/22-e,2)}},Elastic:function(e,t){void 0===e&&(e=1),void 0===t&&(t=.5);var o=zt(e,1,10),i=zt(t,.1,2);return function(e){return 0===e||1===e?e:-o*Math.pow(2,10*(e-1))*Math.sin((e-1-i/(2*Math.PI)*Math.asin(1/o))*(2*Math.PI)/i)}}},[\"Quad\",\"Cubic\",\"Quart\",\"Quint\",\"Expo\"].forEach((function(e,t){Vt[e]=function(){return function(e){return Math.pow(e,t+2)}}})),Object.keys(Vt).forEach((function(e){var t=Vt[e];Kt[\"easeIn\"+e]=t,Kt[\"easeOut\"+e]=function(e,o){return function(i){return 1-t(e,o)(1-i)}},Kt[\"easeInOut\"+e]=function(e,o){return function(i){return i<.5?t(e,o)(2*i)/2:1-t(e,o)(-2*i+2)/2}}})),Kt);function eo(e,t){if(Xt.fnc(e))return e;var o=e.split(\"(\")[0],i=Zt[o],n=Yt(e);switch(o){case\"spring\":return Jt(e,t);case\"cubicBezier\":return qt($t,n);case\"steps\":return qt(Gt,n);default:return qt(i,n)}}function to(e){try{return document.querySelectorAll(e)}catch(e){return}}function oo(e,t){for(var o=e.length,i=arguments.length>=2?arguments[1]:void 0,n=[],s=0;s<o;s++)if(s in e){var a=e[s];t.call(i,a,s,e)&&n.push(a)}return n}function io(e){return e.reduce((function(e,t){return e.concat(Xt.arr(t)?io(t):t)}),[])}function no(e){return Xt.arr(e)?e:(Xt.str(e)&&(e=to(e)||e),e instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e])}function so(e,t){return e.some((function(e){return e===t}))}function ao(e){var t={};for(var o in e)t[o]=e[o];return t}function lo(e,t){var o=ao(e);for(var i in e)o[i]=t.hasOwnProperty(i)?t[i]:e[i];return o}function ro(e,t){var o=ao(e);for(var i in t)o[i]=Xt.und(e[i])?t[i]:e[i];return o}function co(e){return Xt.rgb(e)?(o=/rgb\\((\\d+,\\s*[\\d]+,\\s*[\\d]+)\\)/g.exec(t=e))?\"rgba(\"+o[1]+\",1)\":t:Xt.hex(e)?function(e){var t=e.replace(/^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i,(function(e,t,o,i){return t+t+o+o+i+i})),o=/^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(t);return\"rgba(\"+parseInt(o[1],16)+\",\"+parseInt(o[2],16)+\",\"+parseInt(o[3],16)+\",1)\"}(e):Xt.hsl(e)?function(e){var t,o,i,n=/hsl\\((\\d+),\\s*([\\d.]+)%,\\s*([\\d.]+)%\\)/g.exec(e)||/hsla\\((\\d+),\\s*([\\d.]+)%,\\s*([\\d.]+)%,\\s*([\\d.]+)\\)/g.exec(e),s=parseInt(n[1],10)/360,a=parseInt(n[2],10)/100,d=parseInt(n[3],10)/100,l=n[4]||1;function r(e,t,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?e+6*(t-e)*o:o<.5?t:o<2/3?e+(t-e)*(2/3-o)*6:e}if(0==a)t=o=i=d;else{var c=d<.5?d*(1+a):d+a-d*a,u=2*d-c;t=r(u,c,s+1/3),o=r(u,c,s),i=r(u,c,s-1/3)}return\"rgba(\"+255*t+\",\"+255*o+\",\"+255*i+\",\"+l+\")\"}(e):void 0;var t,o}function uo(e){var t=/[+-]?\\d*\\.?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(t)return t[1]}function mo(e,t){return Xt.fnc(e)?e(t.target,t.id,t.total):e}function po(e,t){return e.getAttribute(t)}function ho(e,t,o){if(so([o,\"deg\",\"rad\",\"turn\"],uo(t)))return t;var i=Ht.CSS[t+o];if(!Xt.und(i))return i;var n=document.createElement(e.tagName),s=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;s.appendChild(n),n.style.position=\"absolute\",n.style.width=100+o;var a=100/n.offsetWidth;s.removeChild(n);var d=a*parseFloat(t);return Ht.CSS[t+o]=d,d}function fo(e,t,o){if(t in e.style){var i=t.replace(/([a-z])([A-Z])/g,\"$1-$2\").toLowerCase(),n=e.style[t]||getComputedStyle(e).getPropertyValue(i)||\"0\";return o?ho(e,n,o):n}}function vo(e,t){return Xt.dom(e)&&!Xt.inp(e)&&(po(e,t)||Xt.svg(e)&&e[t])?\"attribute\":Xt.dom(e)&&so(Ut,t)?\"transform\":Xt.dom(e)&&\"transform\"!==t&&fo(e,t)?\"css\":null!=e[t]?\"object\":void 0}function go(e){if(Xt.dom(e)){for(var t,o=e.style.transform||\"\",i=/(\\w+)\\(([^)]*)\\)/g,n=new Map;t=i.exec(o);)n.set(t[1],t[2]);return n}}function yo(e,t,o,i){var n=Rt(t,\"scale\")?1:0+function(e){return Rt(e,\"translate\")||\"perspective\"===e?\"px\":Rt(e,\"rotate\")||Rt(e,\"skew\")?\"deg\":void 0}(t),s=go(e).get(t)||n;return o&&(o.transforms.list.set(t,s),o.transforms.last=t),i?ho(e,s,i):s}function wo(e,t,o,i){switch(vo(e,t)){case\"transform\":return yo(e,t,i,o);case\"css\":return fo(e,t,o);case\"attribute\":return po(e,t);default:return e[t]||0}}function bo(e,t){var o=/^(\\*=|\\+=|-=)/.exec(e);if(!o)return e;var i=uo(e)||0,n=parseFloat(t),s=parseFloat(e.replace(o[0],\"\"));switch(o[0][0]){case\"+\":return n+s+i;case\"-\":return n-s+i;case\"*\":return n*s+i}}function jo(e,t){if(Xt.col(e))return co(e);if(/\\s/g.test(e))return e;var o=uo(e),i=o?e.substr(0,e.length-o.length):e;return t?i+t:i}function Qo(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function _o(e){for(var t,o=e.points,i=0,n=0;n<o.numberOfItems;n++){var s=o.getItem(n);n>0&&(i+=Qo(t,s)),t=s}return i}function Co(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case\"circle\":return function(e){return 2*Math.PI*po(e,\"r\")}(e);case\"rect\":return function(e){return 2*po(e,\"width\")+2*po(e,\"height\")}(e);case\"line\":return function(e){return Qo({x:po(e,\"x1\"),y:po(e,\"y1\")},{x:po(e,\"x2\"),y:po(e,\"y2\")})}(e);case\"polyline\":return _o(e);case\"polygon\":return function(e){var t=e.points;return _o(e)+Qo(t.getItem(t.numberOfItems-1),t.getItem(0))}(e)}}function ko(e,t){var o=t||{},i=o.el||function(e){for(var t=e.parentNode;Xt.svg(t)&&Xt.svg(t.parentNode);)t=t.parentNode;return t}(e),n=i.getBoundingClientRect(),s=po(i,\"viewBox\"),a=n.width,d=n.height,l=o.viewBox||(s?s.split(\" \"):[0,0,a,d]);return{el:i,viewBox:l,x:l[0]/1,y:l[1]/1,w:a/l[2],h:d/l[3]}}function Do(e,t){function o(o){void 0===o&&(o=0);var i=t+o>=1?t+o:0;return e.el.getPointAtLength(i)}var i=ko(e.el,e.svg),n=o(),s=o(-1),a=o(1);switch(e.property){case\"x\":return(n.x-i.x)*i.w;case\"y\":return(n.y-i.y)*i.h;case\"angle\":return 180*Math.atan2(a.y-s.y,a.x-s.x)/Math.PI}}function Lo(e,t){var o=/[+-]?\\d*\\.?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?/g,i=jo(Xt.pth(e)?e.totalLength:e,t)+\"\";return{original:i,numbers:i.match(o)?i.match(o).map(Number):[0],strings:Xt.str(e)||t?i.split(o):[]}}function xo(e){return oo(e?io(Xt.arr(e)?e.map(no):no(e)):[],(function(e,t,o){return o.indexOf(e)===t}))}function Bo(e){var t=xo(e);return t.map((function(e,o){return{target:e,id:o,total:t.length,transforms:{list:go(e)}}}))}function So(e,t){var o=ao(t);if(/^spring/.test(o.easing)&&(o.duration=Jt(o.easing)),Xt.arr(e)){var i=e.length;2===i&&!Xt.obj(e[0])?e={value:e}:Xt.fnc(t.duration)||(o.duration=t.duration/i)}var n=Xt.arr(e)?e:[e];return n.map((function(e,o){var i=Xt.obj(e)&&!Xt.pth(e)?e:{value:e};return Xt.und(i.delay)&&(i.delay=o?0:t.delay),Xt.und(i.endDelay)&&(i.endDelay=o===n.length-1?t.endDelay:0),i})).map((function(e){return ro(e,o)}))}function Ao(e,t){var o=[],i=t.keyframes;for(var n in i&&(t=ro(function(e){for(var t=oo(io(e.map((function(e){return Object.keys(e)}))),(function(e){return Xt.key(e)})).reduce((function(e,t){return e.indexOf(t)<0&&e.push(t),e}),[]),o={},i=function(i){var n=t[i];o[n]=e.map((function(e){var t={};for(var o in e)Xt.key(o)?o==n&&(t.value=e[o]):t[o]=e[o];return t}))},n=0;n<t.length;n++)i(n);return o}(i),t)),t)Xt.key(n)&&o.push({name:n,tweens:So(t[n],e)});return o}function Po(e,t){var o;return e.tweens.map((function(i){var n=function(e,t){var o={};for(var i in e){var n=mo(e[i],t);Xt.arr(n)&&1===(n=n.map((function(e){return mo(e,t)}))).length&&(n=n[0]),o[i]=n}return o.duration=parseFloat(o.duration),o.delay=parseFloat(o.delay),o}(i,t),s=n.value,a=Xt.arr(s)?s[1]:s,d=uo(a),l=wo(t.target,e.name,d,t),r=o?o.to.original:l,c=Xt.arr(s)?s[0]:r,u=uo(c)||uo(l),m=d||u;return Xt.und(a)&&(a=r),n.from=Lo(c,m),n.to=Lo(bo(a,c),m),n.start=o?o.end:0,n.end=n.start+n.delay+n.duration+n.endDelay,n.easing=eo(n.easing,n.duration),n.isPath=Xt.pth(s),n.isColor=Xt.col(n.from.original),n.isColor&&(n.round=1),o=n,n}))}var Eo={css:function(e,t,o){return e.style[t]=o},attribute:function(e,t,o){return e.setAttribute(t,o)},object:function(e,t,o){return e[t]=o},transform:function(e,t,o,i,n){if(i.list.set(t,o),t===i.last||n){var s=\"\";i.list.forEach((function(e,t){s+=t+\"(\"+e+\") \"})),e.style.transform=s}}};function Oo(e,t){Bo(e).forEach((function(e){for(var o in t){var i=mo(t[o],e),n=e.target,s=uo(i),a=wo(n,o,s,e),d=bo(jo(i,s||uo(a)),a),l=vo(n,o);Eo[l](n,o,d,e.transforms,!0)}}))}function To(e,t){return oo(io(e.map((function(e){return t.map((function(t){return function(e,t){var o=vo(e.target,t.name);if(o){var i=Po(t,e),n=i[i.length-1];return{type:o,property:t.name,animatable:e,tweens:i,duration:n.end,delay:i[0].delay,endDelay:n.endDelay}}}(e,t)}))}))),(function(e){return!Xt.und(e)}))}function Io(e,t){var o=e.length,i=function(e){return e.timelineOffset?e.timelineOffset:0},n={};return n.duration=o?Math.max.apply(Math,e.map((function(e){return i(e)+e.duration}))):t.duration,n.delay=o?Math.min.apply(Math,e.map((function(e){return i(e)+e.delay}))):t.delay,n.endDelay=o?n.duration-Math.max.apply(Math,e.map((function(e){return i(e)+e.duration-e.endDelay}))):t.endDelay,n}var Mo=0;var No,Fo=[],Wo=[],Uo=function(){function e(){No=requestAnimationFrame(t)}function t(t){var o=Fo.length;if(o){for(var i=0;i<o;){var n=Fo[i];if(n.paused){var s=Fo.indexOf(n);s>-1&&(Fo.splice(s,1),o=Fo.length)}else n.tick(t);i++}e()}else No=cancelAnimationFrame(No)}return e}();function Ho(e){void 0===e&&(e={});var t,o=0,i=0,n=0,s=0,a=null;function d(e){var t=window.Promise&&new Promise((function(e){return a=e}));return e.finished=t,t}var l=function(e){var t=lo(Ft,e),o=lo(Wt,e),i=Ao(o,e),n=Bo(e.targets),s=To(n,i),a=Io(s,o),d=Mo;return Mo++,ro(t,{id:d,children:[],animatables:n,animations:s,duration:a.duration,delay:a.delay,endDelay:a.endDelay})}(e);d(l);function r(){var e=l.direction;\"alternate\"!==e&&(l.direction=\"normal\"!==e?\"normal\":\"reverse\"),l.reversed=!l.reversed,t.forEach((function(e){return e.reversed=l.reversed}))}function c(e){return l.reversed?l.duration-e:e}function u(){o=0,i=c(l.currentTime)*(1/Ho.speed)}function m(e,t){t&&t.seek(e-t.timelineOffset)}function p(e){for(var t=0,o=l.animations,i=o.length;t<i;){var n=o[t],s=n.animatable,a=n.tweens,d=a.length-1,r=a[d];d&&(r=oo(a,(function(t){return e<t.end}))[0]||r);for(var c=zt(e-r.start-r.delay,0,r.duration)/r.duration,u=isNaN(c)?1:r.easing(c),m=r.to.strings,p=r.round,h=[],f=r.to.numbers.length,v=void 0,g=0;g<f;g++){var y=void 0,w=r.to.numbers[g],b=r.from.numbers[g]||0;y=r.isPath?Do(r.value,u*w):b+u*(w-b),p&&(r.isColor&&g>2||(y=Math.round(y*p)/p)),h.push(y)}var j=m.length;if(j){v=m[0];for(var Q=0;Q<j;Q++){m[Q];var _=m[Q+1],C=h[Q];isNaN(C)||(v+=_?C+_:C+\" \")}}else v=h[0];Eo[n.type](s.target,n.property,v,s.transforms),n.currentValue=v,t++}}function h(e){l[e]&&!l.passThrough&&l[e](l)}function f(e){var u=l.duration,f=l.delay,v=u-l.endDelay,g=c(e);l.progress=zt(g/u*100,0,100),l.reversePlayback=g<l.currentTime,t&&function(e){if(l.reversePlayback)for(var o=s;o--;)m(e,t[o]);else for(var i=0;i<s;i++)m(e,t[i])}(g),!l.began&&l.currentTime>0&&(l.began=!0,h(\"begin\")),!l.loopBegan&&l.currentTime>0&&(l.loopBegan=!0,h(\"loopBegin\")),g<=f&&0!==l.currentTime&&p(0),(g>=v&&l.currentTime!==u||!u)&&p(u),g>f&&g<v?(l.changeBegan||(l.changeBegan=!0,l.changeCompleted=!1,h(\"changeBegin\")),h(\"change\"),p(g)):l.changeBegan&&(l.changeCompleted=!0,l.changeBegan=!1,h(\"changeComplete\")),l.currentTime=zt(g,0,u),l.began&&h(\"update\"),e>=u&&(i=0,l.remaining&&!0!==l.remaining&&l.remaining--,l.remaining?(o=n,h(\"loopComplete\"),l.loopBegan=!1,\"alternate\"===l.direction&&r()):(l.paused=!0,l.completed||(l.completed=!0,h(\"loopComplete\"),h(\"complete\"),!l.passThrough&&\"Promise\"in window&&(a(),d(l)))))}return l.reset=function(){var e=l.direction;l.passThrough=!1,l.currentTime=0,l.progress=0,l.paused=!0,l.began=!1,l.loopBegan=!1,l.changeBegan=!1,l.completed=!1,l.changeCompleted=!1,l.reversePlayback=!1,l.reversed=\"reverse\"===e,l.remaining=l.loop,t=l.children;for(var o=s=t.length;o--;)l.children[o].reset();(l.reversed&&!0!==l.loop||\"alternate\"===e&&1===l.loop)&&l.remaining++,p(l.reversed?l.duration:0)},l.set=function(e,t){return Oo(e,t),l},l.tick=function(e){n=e,o||(o=n),f((n+(i-o))*Ho.speed)},l.seek=function(e){f(c(e))},l.pause=function(){l.paused=!0,u()},l.play=function(){l.paused&&(l.completed&&l.reset(),l.paused=!1,Fo.push(l),u(),No||Uo())},l.reverse=function(){r(),u()},l.restart=function(){l.reset(),l.play()},l.reset(),l.autoplay&&l.play(),l}function zo(e,t){for(var o=t.length;o--;)so(e,t[o].animatable.target)&&t.splice(o,1)}\"undefined\"!=typeof document&&document.addEventListener(\"visibilitychange\",(function(){document.hidden?(Fo.forEach((function(e){return e.pause()})),Wo=Fo.slice(0),Ho.running=Fo=[]):Wo.forEach((function(e){return e.play()}))})),Ho.version=\"3.1.0\",Ho.speed=1,Ho.running=Fo,Ho.remove=function(e){for(var t=xo(e),o=Fo.length;o--;){var i=Fo[o],n=i.animations,s=i.children;zo(t,n);for(var a=s.length;a--;){var d=s[a],l=d.animations;zo(t,l),l.length||d.children.length||s.splice(a,1)}n.length||s.length||i.pause()}},Ho.get=wo,Ho.set=Oo,Ho.convertPx=ho,Ho.path=function(e,t){var o=Xt.str(e)?to(e)[0]:e,i=t||100;return function(e){return{property:e,el:o,svg:ko(o),totalLength:Co(o)*(i/100)}}},Ho.setDashoffset=function(e){var t=Co(e);return e.setAttribute(\"stroke-dasharray\",t),t},Ho.stagger=function(e,t){void 0===t&&(t={});var o=t.direction||\"normal\",i=t.easing?eo(t.easing):null,n=t.grid,s=t.axis,a=t.from||0,d=\"first\"===a,l=\"center\"===a,r=\"last\"===a,c=Xt.arr(e),u=c?parseFloat(e[0]):parseFloat(e),m=c?parseFloat(e[1]):0,p=uo(c?e[1]:e)||0,h=t.start||0+(c?u:0),f=[],v=0;return function(e,t,g){if(d&&(a=0),l&&(a=(g-1)/2),r&&(a=g-1),!f.length){for(var y=0;y<g;y++){if(n){var w=l?(n[0]-1)/2:a%n[0],b=l?(n[1]-1)/2:Math.floor(a/n[0]),j=w-y%n[0],Q=b-Math.floor(y/n[0]),_=Math.sqrt(j*j+Q*Q);\"x\"===s&&(_=-j),\"y\"===s&&(_=-Q),f.push(_)}else f.push(Math.abs(a-y));v=Math.max.apply(Math,f)}i&&(f=f.map((function(e){return i(e/v)*v}))),\"reverse\"===o&&(f=f.map((function(e){return s?e<0?-1*e:-e:Math.abs(v-e)})))}return h+(c?(m-u)/v:u)*(Math.round(100*f[t])/100)+p}},Ho.timeline=function(e){void 0===e&&(e={});var t=Ho(e);return t.duration=0,t.add=function(o,i){var n=Fo.indexOf(t),s=t.children;function a(e){e.passThrough=!0}n>-1&&Fo.splice(n,1);for(var d=0;d<s.length;d++)a(s[d]);var l=ro(o,lo(Wt,e));l.targets=l.targets||e.targets;var r=t.duration;l.autoplay=!1,l.direction=t.direction,l.timelineOffset=Xt.und(i)?r:bo(i,r),a(t),t.seek(l.timelineOffset);var c=Ho(l);a(c),s.push(c);var u=Io(s,e);return t.delay=u.delay,t.endDelay=u.endDelay,t.duration=u.duration,t.seek(0),t.reset(),t.autoplay&&t.play(),t},t},Ho.easing=eo,Ho.penner=Zt,Ho.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e};var Ro=Ho,qo=function(){return!LiveComposer.Builder.Flags.panelOpened||(LiveComposer.Builder.UI.shakePanelConfirmButton(),!1)};document.addEventListener(\"moduleDuplicate\",(function(e){var t=e.detail;if(!qo())return!1;t.classList.contains(\"dslca-action-disabled\")||Yo(t.closest(\".dslc-module-front\"))})),document.addEventListener(\"moduleDelete\",(function(e){var t=e.detail;if(!qo())return!1;t.classList.contains(\"dslca-action-disabled\")||n({title:DSLCString.str_del_module_title,content:DSLCString.str_del_module_descr,confirm:function(){!function(e){window.dslcDebug&&console.log(\"dslc_delete_module\");Et(\".dslca-modules\"),Ro({targets:e,easing:\"easeOutExpo\",scale:0,opacity:0,duration:350,delay:0,endDelay:0,complete:function(t){e.parentNode.removeChild(e),window.dslc_generate_code(),window.dslc_show_publish_button()}})}(t.closest(\".dslc-module-front\"))}})})),document.addEventListener(\"moduleEdit\",(function(e){var t=e.detail.closest(\".dslc-module-front\"),o=t.dataset.module,i=LiveComposer.Builder.PreviewAreaWindow.document.querySelector(\".dslca-module-being-edited\"),n=jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).length;if(LiveComposer.Builder.Flags.uiHidden||null!==i&&i.length>0||n>0)return i!=t&&LiveComposer.Builder.UI.shakePanelConfirmButton(),!1;Xo(),t.classList.add(\"dslca-module-being-edited\"),window.dslc_module_options_show(o),LiveComposer.Builder.PreviewAreaWindow.document.body.classList.add(\"module-editing-in-progress\")})),document.addEventListener(\"copyModuleStyles\",(function(e){var t=e.detail.closest(\".dslc-module-front\").querySelector(\".dslca-module-code\").innerText;localStorage.setItem(\"lcCopyPasteStorage\",t)})),document.addEventListener(\"pasteModuleStyles\",(function(e){var t=e.detail.closest(\".dslc-module-front\"),o=jQuery(t),i=localStorage.getItem(\"lcCopyPasteStorage\"),n=!1;if(i)try{n=JSON.parse(i)}catch(e){console.log(\"Can't parse copy/paste string into JSON:\"),console.log(e)}if(n&&n.module_id===t.dataset.module){var s=t.querySelector(\".dslca-module-code\").innerText,a=!1;try{a=JSON.parse(s)}catch(e){console.log(\"Can't parse current module code into JSON:\"),console.log(e)}if(a){var d=!1;for(var l in n)l.includes(\"css_\")&&(a[l]=n[l],d=!0);for(var r in a)r.includes(\"css_\")&&(a[r]!==n[r]&&(a[r]=\"\"),d=!0);d&&(a.action=\"dslc-ajax-add-module\",a.dslc=\"active\",a.dslc_module_id=a.module_id,a.dslc_module_instance_id=a.module_instance_id,a.dslc_post_id=a.post_id,o.hasClass(\"dslca-preload-preset\")?a.dslc_preload_preset=\"enabled\":a.dslc_preload_preset=\"disabled\",o.removeClass(\"dslca-preload-preset\"),a.dslc_url_vars=LiveComposer.Utils.get_page_params(),jQuery.post(DSLCAjax.ajaxurl,a,(function(e){e&&(o.after(e.output).next().addClass(\"dslca-module-being-edited\"),o.remove(),window.dslc_generate_code(),window.dslc_show_publish_button(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion(),jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"))})))}}}));document.addEventListener(\"moduleChangeWidth\",(function(e){var t=e.detail,o=t.closest(\".dslc-module-front\");if(!t.classList.contains(\"dslca-action-disabled\")){var i=o.dataset.dslcModuleSize,n=t.dataset.size;Number(i)!==Number(n)&&function(e,t){window.dslcDebug&&console.log(\"dslc_module_width_set\");var o=\"dslc-\"+t+\"-col\";jQuery(e).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(o).data(\"dslc-module-size\",t),e.setAttribute(\"data-dslc-module-size\",t),LiveComposer.Utils.update_module_property_raw(e,\"dslc_m_size\",t),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),window.dslc_generate_code(),window.dslc_show_publish_button()}(o,n)}})),document.addEventListener(\"wysiwygEdit\",(function(e){var t=e.detail,o=t.closest(\".dslc-module-front\"),i=t.dataset.idToEdit,n=o.querySelector('[data-edit-id=\"'+i+'\"]'),s=\"\";if(void 0===(s=\"TEXTAREA\"===n.tagName||\"INPUT\"===n.tagName?n.value:n.innerHTML)&&(s=\"\"),s.trim().length&&(s=s.replace(/<lctextarea/g,\"<textarea\").replace(/<\\/lctextarea/g,\"</textarea\")),s.includes(\"%\")&&(s=(s=(s=(s=(s=(s=s.replace(/%\\(\\(%/g,\"[\")).replace(/%\\)\\)%/g,\"]\")).replace(/%\\(%/g,\"[\")).replace(/%\\)%/g,\"]\")).replace(/%\\{%/g,\"[\")).replace(/%\\}%/g,\"]\")),s=s.trim(),\"undefined\"!=typeof tinymce){var a=tinymce.get(\"dslcawpeditor\");document.getElementById(\"wp-dslcawpeditor-wrap\").classList.contains(\"tmce-active\")?a.setContent(s,{format:\"html\"}):document.getElementById(\"dslcawpeditor\").value=s,o.classList.contains(\"dslca-module-being-edited\")||o.querySelector(\".dslca-module-edit-hook\").click(),jQuery(\".dslca-wp-editor\").show(),n.classList.add(\"dslca-wysiwyg-active\"),jQuery(\"#dslcawpeditor_ifr, #dslcawpeditor\").css({height:jQuery(\".dslca-wp-editor\").height()-300})}else console.info(\"Live Composer: TinyMCE is undefined.\")}));var Xo=function(){var e=LiveComposer.Builder.PreviewAreaWindow.document.querySelector(\".dslca-module-being-edited\");null!==e&&e.classList.remove(\"dslca-module-being-edited\")};function Yo(e){window.dslcDebug&&console.log(\"dslc_copy_module\"),Xo();var t=e.cloneNode(!0);jQuery(t).appendTo(e.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,top:-50}).addClass(\"dslca-module-being-edited\"),Jo(t),window.dslc_generate_code(),Ro({targets:t,easing:\"easeOutExpo\",top:0,opacity:1,duration:400,delay:0,endDelay:0,complete:function(e){t.classList.remove(\"dslca-module-being-edited\")}}),window.dslc_show_publish_button()}var Jo=function(e){var t=LiveComposer.Utils.get_unique_id(),o=e.getAttribute(\"id\");e.setAttribute(\"data-module-id\",t),e.setAttribute(\"id\",\"dslc-module-\"+t);var i=e.getElementsByTagName(\"style\")[0],n=i.textContent;i.setAttribute(\"id\",\"#css-for-dslc-module-\"+t),n=n.split(o).join(\"dslc-module-\"+t),i.textContent=n,LiveComposer.Utils.update_module_property_raw(e,\"module_instance_id\",t)};window.dslc_module_options_show=function(e){window.dslcDebug&&console.log(\"dslc_module_options_show\"),void 0===e&&console.warn(\"No module ID defined in dslc_module_options_show function.\");var t=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),o=jQuery(\".dslca-module-options-front textarea\",t),i=jQuery(\".dslca-header\").data(\"default-section\"),n=jQuery(jQuery(\"#pseudo-panel\").html());jQuery(\"#wpwrap\").append(n);var s={action:\"dslc-ajax-display-module-options\",dslc:\"active\"};s.dslc_module_id=e,s.dslc_post_id=jQuery(\".dslca-container\").data(\"data-post-id\"),s.dslc_url_vars=LiveComposer.Utils.get_page_params(),o.each((function(){var e=jQuery(this),t=e.data(\"id\"),o=e.val();o.includes(\"%\")&&(o=(o=(o=(o=(o=(o=o.replace(/%\\(\\(%/g,\"[\")).replace(/%\\)\\)%/g,\"]\")).replace(/%\\(%/g,\"[\")).replace(/%\\)%/g,\"]\")).replace(/%\\{%/g,\"[\")).replace(/%\\}%/g,\"]\")),s[t]=o})),jQuery(\".dslca-wp-editor-actions\").hide(),jQuery(\".dslca-wp-editor-notification\").show(),Pt();var a=jQuery(\".dslca-module-options-front\",t).children().clone();LiveComposer.Builder.moduleBackup=a,LiveComposer.Builder.Flags.panelOpened=!0,n.show(),n.addClass(\"show\"),jQuery.post(DSLCAjax.ajaxurl,s,(function(e){n.remove(),Et(\".dslca-module-edit\"),jQuery(\"body\").hasClass(\"rtl\"),jQuery(\".dslca-module-edit-options-inner\").html(e.output),jQuery(\".dslca-module-edit-options-tabs\").html(e.output_tabs);var t=[];jQuery(\".dslca-module-edit-options-inner .dslca-module-edit-option\").each((function(){var e=jQuery(this).data(\"section\");-1==t.indexOf(e)&&t.push(e)}));for(var o=t.length,s=0;s<o;s++)jQuery('.dslca-header .dslca-options-filter-hook[data-section=\"'+t[s]+'\"]').show();jQuery('.dslca-module-edit-option[data-section=\"'+i+'\"]').length?(jQuery('.dslca-header .dslca-options-filter-hook[data-section=\"'+i+'\"]').show(),jQuery('.dslca-header .dslca-options-filter-hook[data-section=\"'+i+'\"]').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(),LiveComposer.Builder.UI.loadOptionsDeps()})).done((function(){window.dslc_module_options_font()}))};var Go=function(e){window.dslcDebug&&console.log(\"moduleOutputAltered\"),e=void 0!==e&&e;var t=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument),o=t.data(\"module\"),i=jQuery(\".dslca-module-options-front textarea\",t),n=t.data(\"module-id\"),s={action:\"dslc-ajax-add-module\",dslc:\"active\"};s.dslc_module_id=o,s.dslc_module_instance_id=n,s.dslc_post_id=jQuery(\".dslca-container\").data(\"post-id\"),t.hasClass(\"dslca-preload-preset\")?s.dslc_preload_preset=\"enabled\":s.dslc_preload_preset=\"disabled\",t.removeClass(\"dslca-preload-preset\"),i.each((function(){var e=jQuery(this),t=e.data(\"id\"),o=e.val();s[t]=o})),s.dslc_url_vars=LiveComposer.Utils.get_page_params(),jQuery.post(DSLCAjax.ajaxurl,s,(function(o){var i=LiveComposer.Builder.Helpers.insertModule(o.output,t);i.addClass(\"dslca-module-being-edited\"),o=null,i=null,LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion();var n=new Event(\"moduleOutputAltered\");LiveComposer.Builder.PreviewAreaWindow.dispatchEvent(n),e&&e(o)}))};window.dslc_module_output_reload=function(e,t){window.dslcDebug&&console.log(\"dslc_module_output_reload\"),t=void 0!==t&&t;var o=e.data(\"module\"),i=jQuery(\".dslca-module-options-front textarea\",e),n=e.data(\"module-id\"),s={action:\"dslc-ajax-add-module\",dslc:\"active\"};s.dslc_module_id=o,s.dslc_module_instance_id=n,s.dslc_post_id=jQuery(\".dslca-container\").data(\"post-id\"),s.dslc_preload_preset=\"enabled\",e.removeClass(\"dslca-preload-preset\"),i.each((function(){var e=jQuery(this),t=e.data(\"id\"),o=e.val();s[t]=o})),e.append('<div class=\"dslca-module-reloading\"><span class=\"dslca-icon dslc-icon-spin dslc-icon-refresh\"></span></div>'),jQuery.post(DSLCAjax.ajaxurl,s,(function(o){e.after(o.output).next().addClass(\"dslca-module-being-edited\"),e.remove(),window.dslc_generate_code(),window.dslc_show_publish_button(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion(),t&&t(o),jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\")}))};var Ko=function(){LiveComposer.Builder.PreviewAreaDocument.on({mouseenter:function(e){jQuery(\".dslca-modules-section-manage\",LiveComposer.Builder.PreviewAreaDocument).css(\"z-index\",\"99998\");var t=e.target.closest(\"[data-module-id]\"),o=t.offsetHeight,i=t.offsetWidth;o<60&&i<300?t.classList.add(\"dslc-small-height-module\"):t.classList.remove(\"dslc-small-height-module\")},mouseleave:function(e){jQuery(\".dslca-modules-section-manage\",LiveComposer.Builder.PreviewAreaDocument).css(\"z-index\",\"999999\")}},\".dslca-change-width-module-hook, .dslc-module-front .dslca-module-manage\"),LiveComposer.Builder.PreviewAreaDocument.on(\"blur\",\".dslca-editable-content\",(function(){LiveComposer.Builder.Flags.uiHidden||\"simple\"!=jQuery(this).data(\"type\")||r(jQuery(this))})).on(\"paste\",\".dslca-editable-content:not(.inline-editor)\",(function(){if(!LiveComposer.Builder.Flags.uiHidden&&\"simple\"==jQuery(this).data(\"type\")){var e=jQuery(this);setTimeout((function(){\"simple\"==e.data(\"type\")&&e.html(e.text()),r(e)}),100)}})).on(\"focus\",\".dslca-editable-content\",(function(){jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).length>0&&!jQuery(this).closest(\".dslc-module-front\").hasClass(\"dslca-module-being-edited\")&&jQuery(this).trigger(\"blur\")})).on(\"keyup\",\".dslca-editable-content\",(function(){\"simple\"==jQuery(this).data(\"type\")&&jQuery(this).closest(\".dslc-module-front\").addClass(\"dslca-module-change-made\")}))},Vo=function(){var e,t,o,i=jQuery(\".dslca-modules .dslca-section-scroller-content\");0==i.length&&(i=[document.createElement(\"div\")]);At.create(i[0],{sort:!1,group:{name:\"modules\",pull:\"clone\",put:!1},animation:150,handle:\".dslca-module\",draggable:\".dslca-module\",chosenClass:\"dslca-module-dragging\",scroll:!0,scrollSensitivity:150,scrollSpeed:15,setData:function(e,t){e.setData(!1!==LiveComposer.Utils.msieversion()?\"Text\":\"text/html\",t.innerHTML)},onStart:function(e){e.oldIndex,jQuery(\"body\").removeClass(\"dslca-new-module-drag-not-in-progress\").addClass(\"dslca-new-module-drag-in-progress\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-new-module-drag-not-in-progress\").addClass(\"dslca-new-module-drag-in-progress\"),jQuery(\"#dslc-header\").addClass(\"dslca-header-low-z-index\")},onEnd:function(i){i.oldIndex,i.newIndex;var n,s,a=i.item;if(i.preventDefault(),jQuery(a).closest(\".dslca-section-scroller-content\").length>0)return!1;jQuery(\".dslca-options-hovered\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-options-hovered\"),e=jQuery(a.parentNode),t=a.dataset.id,window.dslc_generate_code(),\"DSLC_M_A\"==t||jQuery(\"body\").hasClass(\"dslca-module-drop-in-progress\")||e.closest(\"#dslc-header\").length||e.closest(\"#dslc-footer\").length||(jQuery(\"body\").addClass(\"dslca-module-drop-in-progress\"),n=t,s=function(t){o=t.output,LiveComposer.Builder.Helpers.insertModule(o,jQuery(\".dslca-module\",e)),setTimeout((function(){LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),jQuery(\"body\").removeClass(\"dslca-module-drop-in-progress\")}),700),jQuery(\".dslca-modules-area-manage\",e).css({visibility:\"visible\"}),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_tabs(),LiveComposer.Builder.PreviewAreaWindow.dslc_init_accordion(),window.dslc_generate_code(),window.dslc_show_publish_button()},window.dslcDebug&&console.log(\"moduleOutputDefault\"),jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-add-module\",dslc:\"active\",dslc_module_id:n,dslc_post_id:jQuery(\".dslca-container\").data(\"post-id\"),dslc_url_vars:LiveComposer.Utils.get_page_params(),dslc_new_module:!0},(function(e){s(e)})),jQuery(a).find(\".dslca-icon\").attr(\"class\",\"\").attr(\"class\",\"dslca-icon dslc-icon-refresh dslc-icon-spin\"),jQuery(\".dslca-modules-area-manage\",e).css({visibility:\"hidden\"})),LiveComposer.Builder.UI.stopScroller(),jQuery(\"body\").removeClass(\"dslca-new-module-drag-in-progress\").addClass(\"dslca-new-module-drag-not-in-progress\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-new-module-drag-in-progress\").addClass(\"dslca-new-module-drag-not-in-progress\"),jQuery(\"#dslc-header\").removeClass(\"dslca-header-low-z-index\")},onAdd:function(e){e.item;e.from},onUpdate:function(e){e.item;window.dslc_show_publish_button()},onSort:function(e){e.preventDefault()},onRemove:function(e){},onFilter:function(e){e.item},onMove:function(e){e.dragged,e.draggedRect,e.related,e.relatedRect,jQuery(e.to).addClass(\"dslca-options-hovered\")}})},$o=function(e){var t=this;this.section=jQuery(e).closest(\".dslc-modules-section\"),this.elem=e,this.observer=new mqMutationObserver(e,(function(){var o=t.elem.classList;0==e.querySelectorAll(\".dslc-module-front\").length?(o.add(\"dslc-modules-area-empty\"),o.remove(\"dslc-modules-area-not-empty\")):(o.remove(\"dslc-modules-area-empty\"),o.add(\"dslc-modules-area-not-empty\"))}),{childList:!0}),this.sortable=At.create(e,{group:\"modules\",animation:350,handle:\".dslca-move-module-hook\",draggable:\".dslc-module-front\",ghostClass:\"dslca-module-ghost\",chosenClass:\"dslca-module-dragging\",scroll:!0,scrollSensitivity:150,scrollSpeed:15,setData:function(e,t){e.setData(!1!==LiveComposer.Utils.msieversion()?\"Text\":\"text/html\",t.innerHTML)},onStart:function(e){e.oldIndex,jQuery(\"body\").removeClass(\"dslca-drag-not-in-progress\").addClass(\"dslca-drag-in-progress\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaWindow.document).removeClass(\"dslca-drag-not-in-progress\").addClass(\"dslca-drag-in-progress\")},onEnd:function(e){e.oldIndex,e.newIndex,e.preventDefault(),window.dslc_generate_code(),LiveComposer.Builder.UI.stopScroller(),jQuery(\"body\").removeClass(\"dslca-drag-in-progress\").addClass(\"dslca-drag-not-in-progress\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaWindow.document).removeClass(\"dslca-drag-in-progress\").addClass(\"dslca-drag-not-in-progress\")},onAdd:function(e){var o=e.item;e.from,\"DSLC_M_A\"==jQuery(o).data(\"id\")&&(Zo(jQuery(t.section).find(\".dslc-modules-section-wrapper .dslc-modules-section-inner\")),o.remove())},onUpdate:function(e){e.item;window.dslc_show_publish_button()},onSort:function(e){},onRemove:function(e){},onFilter:function(e){e.item},onMove:function(e){e.dragged,e.draggedRect,e.related,e.relatedRect,jQuery(\".dslc-modules-area-empty\").find(\".dslc-module-front\").length>0&&(jQuery(this).removeClass(\"dslc-modules-area-empty\").addClass(\"dslc-modules-area-not-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(e).attr(\"data-jsinit\",\"initialized\"),jQuery(document).on(\"LC.sortableOff\",(function(){t.sortable&&t.sortable.option&&t.sortable.option(\"disabled\",!0)})),jQuery(document).on(\"LC.sortableOn\",(function(){t.sortable&&t.sortable.option&&t.sortable.option(\"disabled\",!1)}))};jQuery(document).on(\"editorFrameLoaded\",(function(){function e(){var e=jQuery(\".dslc-modules-area\",LiveComposer.Builder.PreviewAreaDocument);jQuery(e).each((function(e,t){new $o(t)}))}var t=function(){return!LiveComposer.Builder.Flags.panelOpened||(LiveComposer.Builder.UI.shakePanelConfirmButton(),!1)};jQuery(\"#dslc-main .dslc-modules-section\",LiveComposer.Builder.PreviewAreaDocument).length||jQuery(\"#dslca-tut-page\",LiveComposer.Builder.PreviewAreaDocument).length?e():ni(e()),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-copy-modules-area-hook\",(function(e){if(e.preventDefault(),!t())return!1;if(!jQuery(this).hasClass(\"dslca-action-disabled\")){var o=jQuery(this).closest(\".dslc-modules-area\");(function(e){window.dslcDebug&&console.log(\"dslc_copy_modules_area\");var t=e.closest(\".dslc-modules-section\").find(\".dslc-modules-section-inner\"),o=e.clone().appendTo(t);new $o(o[0]),o.find(\".dslca-modules-area-manage\").trigger(\"mouseleave\"),o.data(\"size\",e.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 e=jQuery(this);Jo(e[0]),jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"),window.dslc_generate_code(),e.animate({opacity:1},300)})),Vo(),window.dslc_show_publish_button(),window.dslc_generate_code()})(o)}})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-delete-modules-area-hook\",(function(e){if(e.preventDefault(),!t())return!1;if(!jQuery(this).hasClass(\"dslca-action-disabled\"))if(jQuery(this).closest(\".dslc-modules-area\").hasClass(\"dslc-modules-area-empty\")){var o=jQuery(this).closest(\".dslc-modules-area\");ei(o)}else{var i=jQuery(this);n({title:DSLCString.str_del_area_title,content:DSLCString.str_del_area_descr,confirm:function(){ei(i.closest(\".dslc-modules-area\"))}})}})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-change-width-modules-area-options span\",(function(){if(!t())return!1;if(!jQuery(this).hasClass(\"dslca-action-disabled\")){var e=jQuery(this).closest(\".dslc-modules-area\"),o=e.data(\"size\"),i=jQuery(this).data(\"size\");Number(o)!==Number(i)&&function(e,t){window.dslcDebug&&console.log(\"dslc_modules_area_width_set\");var o=\"dslc-\"+t+\"-col\";if(e.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(o).data(\"size\",t),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.Flags.panelOpened)return!1;window.dslc_generate_code(),window.dslc_show_publish_button()}(e,i)}})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-change-vertial-align-module-area-hook span\",(function(){!function(e,t){window.dslcDebug&&console.log(\"dslc_modules_area_vertical_align_set\");var o=\"dslc-valign-\"+t;if(e.removeClass(\"dslc-valign-top dslc-valign-middle dslc-valign-bottom\").addClass(o).data(\"valign\",t),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),LiveComposer.Builder.Flags.panelOpened)return!1;window.dslc_generate_code(),window.dslc_show_publish_button()}(jQuery(this).closest(\".dslc-modules-area\"),jQuery(this).data(\"valign\"))})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-add-modules-area-hook\",(function(e){if(e.preventDefault(),!t())return!1;Zo(jQuery(this).closest(\".dslc-modules-section\").find(\".dslc-modules-section-inner\"))}))}));var Zo=function(e){window.dslcDebug&&console.log(\"modulesAreaAdd\");var t=window.DSLCSiteData.editorUrl+\"css/icons\";jQuery('<div class=\"dslc-modules-area dslc-col dslc-12-col dslc-modules-area-dnd dslc-modules-area-empty dslc-last-col\" data-size=\"12\">\\n\\t\\t<div class=\"dslca-modules-area-manage\">\\n\\t\\t\\t<span class=\"dslca-modules-area-manage-line\"></span>\\n\\t\\t\\t<div class=\"dslca-modules-area-manage-inner\">\\n\\t\\t\\t\\t<span class=\"dslca-manage-action dslca-copy-modules-area-hook\" title=\"Duplicate\">\\n\\t\\t\\t\\t\\t<svg class=\"feather\">\\n\\t\\t\\t\\t\\t\\t<use xlink:href=\"'+t+'/feather-sprite.svg#copy\"></use>\\n\\t\\t\\t\\t\\t</svg>\\n\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t<span class=\"dslca-manage-action dslca-move-modules-area-hook\" title=\"Drag to move\">\\n\\t\\t\\t\\t\\t<svg class=\"feather\">\\n\\t\\t\\t\\t\\t\\t<use xlink:href=\"'+t+'/feather-sprite.svg#move\"></use>\\n\\t\\t\\t\\t\\t</svg>\\n\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t<span class=\"dslca-manage-action dslca-change-width-modules-area-hook\" title=\"Change width\">\\n\\t\\t\\t\\t\\t<svg class=\"feather\">\\n\\t\\t\\t\\t\\t\\t<use xlink:href=\"'+t+'/feather-sprite.svg#columns\"></use>\\n\\t\\t\\t\\t\\t</svg>\\n\\t\\t\\t\\t\\t<div class=\"dslca-change-width-modules-area-options\"><span>Container Width</span><span data-size=\"1\">1/12</span><span data-size=\"2\">2/12</span>\\n\\t\\t\\t\\t\\t\\t<span data-size=\"3\">3/12</span><span data-size=\"4\">4/12</span>\\n\\t\\t\\t\\t\\t\\t<span data-size=\"5\">5/12</span><span data-size=\"6\">6/12</span>\\n\\t\\t\\t\\t\\t\\t<span data-size=\"7\">7/12</span><span data-size=\"8\">8/12</span>\\n\\t\\t\\t\\t\\t\\t<span data-size=\"9\">9/12</span><span data-size=\"10\">10/12</span>\\n\\t\\t\\t\\t\\t\\t<span data-size=\"11\">11/12</span><span data-size=\"12\">12/12</span>\\n\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t<span class=\"dslca-manage-action dslca-change-vertial-align-module-area-hook\" title=\"Change vertical align\" >\\n\\t\\t\\t\\t\\t<svg class=\"feather\">\\n\\t\\t\\t\\t\\t\\t<use xlink:href=\"'+t+'/feather-sprite.svg#git-commit\"/>\\n\\t\\t\\t\\t\\t</svg>\\n\\t\\t\\t\\t\\t<div class=\"dslca-change-vertial-align-module-area-options\">\\n\\t\\t\\t\\t\\t\\t<span>Vertical Align</span>\\n\\t\\t\\t\\t\\t\\t<span data-valign=\"top\" class=\"dslc-popup-option\">⬆️ Top</span>\\n\\t\\t\\t\\t\\t\\t<span data-valign=\"middle\" class=\"dslc-popup-option\">↕️ Middle</span>\\n\\t\\t\\t\\t\\t\\t<span data-valign=\"bottom\" class=\"dslc-popup-option\">⬇️ Bottom</span>\\n\\t\\t\\t\\t\\t</div>\\n\\t\\t\\t\\t</span>\\n\\t\\t\\t\\t<span class=\"dslca-manage-action dslca-delete-modules-area-hook\" title=\"Delete\">\\n\\t\\t\\t\\t\\t<svg class=\"feather\">\\n\\t\\t\\t\\t\\t\\t<use xlink:href=\"'+t+'/feather-sprite.svg#x\"></use>\\n\\t\\t\\t\\t\\t</svg>\\n\\t\\t\\t\\t</span>\\n\\t\\t\\t</div>\\n\\t\\t</div>\\n\\t\\t\\x3c!-- .dslc-module --\\x3e\\n\\t</div>').appendTo(e).css({height:0}).animate({height:99},300,(function(){jQuery(this).css({height:\"auto\"})})).addClass(\"dslca-init-animation\");var o=jQuery(\".dslc-modules-area-empty\",LiveComposer.Builder.PreviewAreaDocument);jQuery(o).each((function(e,t){new $o(t)})),Vo(),window.dslc_generate_code(),window.dslc_show_publish_button()};function ei(e){window.dslcDebug&&console.log(\"dslc_delete_modules_area\");var t=e.closest(\".dslc-modules-section\").find(\".dslc-modules-section-inner\"),o=!1;e.addClass(\"dslca-modules-area-being-deleted\"),t.find(\".dslc-modules-area\").length<2&&(o=!0),e.find(\".dslca-module-being-edited\").length&&(jQuery(\".dslca-header .dslca-options-filter-hook\",LiveComposer.Builder.PreviewAreaDocument).hide(),jQuery(\".dslca-module-edit-actions\",LiveComposer.Builder.PreviewAreaDocument).hide(),jQuery(\".dslca-header .dslca-go-to-section-hook\",LiveComposer.Builder.PreviewAreaDocument).show(),Et(\".dslca-modules\")),setTimeout((function(){if(o){e.closest(\".dslc-modules-section-inner\");2<=e.closest(\"#dslc-main\").find(\".dslc-modules-section\").length?dslc_row_delete(e.closest(\".dslc-modules-section\")):(e.remove(),Zo(t))}e.remove(),window.dslc_generate_code(),window.dslc_show_publish_button()}),900),e.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(){e.remove(),window.dslc_generate_code(),window.dslc_show_publish_button()}))}var ti=function(){jQuery(\"#dslc-main .dslc-modules-area\",LiveComposer.Builder.PreviewAreaDocument).each((function(){\"initialized\"!==jQuery(this).data(\"jsinit\")&&new $o(this)}))};function oi(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,\"value\"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var ii=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,e),this.sortable,this.sortableContainer=jQuery(t).find(\".dslc-modules-section-wrapper .dslc-modules-section-inner\").eq(0)[0],this.initSortable(t),this.initDropable(t),this.reactToSortableOnOff(),jQuery(t).attr(\"data-jsinit\",\"initialized\")}var t,o,i;return t=e,(o=[{key:\"initDropable\",value:function(e){jQuery(e).droppable({drop:function(e,t){var o=jQuery(this).find(\".dslc-modules-section-inner\");\"DSLC_M_A\"==t.draggable.data(\"id\")&&Zo(o)}})}},{key:\"initSortable\",value:function(e){this.sortable=jQuery(this.sortableContainer).sortable({connectWith:\".dslc-modules-section-inner\",items:\".dslc-modules-area-dnd\",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(e,t){var o=t.placeholder.closest(\".dslc-modules-section\");jQuery(o).removeClass(\"dslc-modules-section-empty\").addClass(\"dslc-modules-section-not-empty\"),o.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\")}))},remove:function(){0==jQuery(self.elem).find(\".dslc-modules-area\").length&&Zo(jQuery(this.sortableContainer))},update:function(e,t){window.dslc_generate_code(),window.dslc_show_publish_button()},start:function(e,t){t.placeholder.html('<span class=\"dslca-placeholder-help-text\"><span class=\"dslca-placeholder-help-text-inner\">'+DSLCString.str_area_helper_text+\"</span></span>\"),jQuery(t.item).hasClass(\"dslc-12-col\")?t.placeholder.width(t.item.width()).css({margin:0}):t.placeholder.width(t.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(e,t){LiveComposer.Builder.UI.stopScroller(),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(e,t){}})}},{key:\"reactToSortableOnOff\",value:function(){self=this.sortable,jQuery(document).on(\"LC.sortableOff\",(function(){})),jQuery(document).on(\"LC.sortableOn\",(function(){}))}}])&&oi(t.prototype,o),i&&oi(t,i),e}(),ni=function(e){window.dslcDebug&&console.log(\"dslc_row_add\"),e=void 0!==e&&e;var t=jQuery.Deferred(),o=sessionStorage,i=(jQuery(),o.getItem(\"cache-dslc-ajax-add-modules-section-v2\"));null!==i&&(DSLCMainOptions.section_padding_vertical!==jQuery(i).find('input[data-id=\"padding\"]').val()&&(o.removeItem(\"cache-dslc-ajax-add-modules-section-v2\"),i=null));if(null!==i)return si(i),e&&e(),t;jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-add-modules-section\",dslc:\"active\"},(function(i){return o.setItem(\"cache-dslc-ajax-add-modules-section-v2\",i.output),si(i.output),e&&e(),t}))};function si(e){var t=jQuery(e);return t.appendTo(LiveComposer.Builder.PreviewAreaDocument.find(\"#dslc-main\")),Vo(),window.dslc_generate_code(),window.dslc_show_publish_button(),new ii(t),new $o(t.find(\".dslc-modules-area\").eq(0)[0]),t.find(\".dslc-modules-area\").addClass(\"dslc-modules-area-empty dslc-last-col\"),t}function ai(e){window.dslcDebug&&console.log(\"dslc_row_delete\"),e.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(),Et(\".dslca-modules\")),e.trigger(\"mouseleave\").remove(),window.dslc_generate_code(),window.dslc_show_publish_button()}function di(e){window.dslcDebug&&console.log(\"dslc_row_edit\"),jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"),jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-modules-section-being-edited\").removeClass(\"dslca-modules-section-change-made\"),e.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(\"type\"===jQuery(this).data(\"id\")&&(\"\"!==jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id=\"type\"]',LiveComposer.Builder.PreviewAreaDocument).val()&&\"wrapped\"!==jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id=\"type\"]',LiveComposer.Builder.PreviewAreaDocument).val()||jQuery('select[data-id=\"type\"]').val(\"wrapper\").change()),\"border-top\"==jQuery(this).data(\"id\"))jQuery('.dslca-modules-section-being-edited .dslca-modules-section-settings input[data-id=\"border\"]',LiveComposer.Builder.PreviewAreaDocument).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\"]',LiveComposer.Builder.PreviewAreaDocument).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\"]',LiveComposer.Builder.PreviewAreaDocument).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\"]',LiveComposer.Builder.PreviewAreaDocument).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\")+'\"]',LiveComposer.Builder.PreviewAreaDocument).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\")+'\"]',LiveComposer.Builder.PreviewAreaDocument).val().trim().replace(\"%(%\",\"[\").replace(\"%)%\",\"]\")),jQuery(this).hasClass(\"dslca-modules-section-edit-field-colorpicker\")){var e=jQuery(this);jQuery(this).closest(\".dslca-modules-section-edit-option\").find(\".sp-preview-inner\").removeClass(\"sp-clear-display\").css({\"background-color\":e.val()}),jQuery(this).css({\"background-color\":e.val()})}})),jQuery(\".dslca-modules-section-edit-field-upload\").each((function(){var e=jQuery(this).closest(\".dslca-modules-section-edit-option\");jQuery(this).val()&&\"disabled\"!==jQuery(this).val()?(jQuery(\".dslca-modules-section-edit-field-image-add-hook\",e).hide(),jQuery(\".dslca-modules-section-edit-field-image-remove-hook\",e).show()):(jQuery(\".dslca-modules-section-edit-field-image-remove-hook\",e).hide(),jQuery(\".dslca-modules-section-edit-field-image-add-hook\",e).show())})),Et(\".dslca-modules-section-edit\"),LiveComposer.Builder.Flags.panelOpened=!0,Pt()}function li(e){var t;window.dslcDebug&&console.log(\"dslc_row_copy\"),(t=e.clone().appendTo(jQuery(\"#dslc-main\",LiveComposer.Builder.PreviewAreaDocument)))[0].removeAttribute(\"data-jsinit\"),t.find(\".dslc-modules-area\").each((function(){var t=jQuery(this).index();jQuery(this).data(\"size\",e.find(\".dslc-modules-area:eq( \"+t+\" )\").data(\"size\")),this.removeAttribute(\"data-jsinit\")})),new ii(t),t.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 e=jQuery(this);Jo(e[0]),ci(),ti(),window.dslc_generate_code(),Vo(),jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-module-being-edited\"),e.animate({opacity:1},300),window.dslc_show_publish_button()})),function(e){window.dslcDebug&&console.log(\"dslc_section_new_id\");var t=LiveComposer.Utils.get_unique_id();e.setAttribute(\"data-section-id\",t),LiveComposer.Utils.update_section_property_raw(e,\"section_instance_id\",t)}(t[0])}function ri(e){window.dslcDebug&&console.log(\"dslc_row_import\"),jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-import-modules-section\",dslc:\"active\",dslc_modules_section_code:e},(function(e){u(),jQuery(\"#dslc-main\",LiveComposer.Builder.PreviewAreaDocument).append(e.output),LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),LiveComposer.Builder.PreviewAreaWindow.dslc_masonry(),ci(),ti(),Vo(),window.dslc_generate_code(),window.dslc_show_publish_button()}))}var ci=function(){jQuery(\"#dslc-main .dslc-modules-section\",LiveComposer.Builder.PreviewAreaDocument).each((function(){\"initialized\"!==jQuery(this).data(\"jsinit\")&&new ii(this)}))},ui=function(){ci(),function(){jQuery;var e=function(){return!LiveComposer.Builder.Flags.panelOpened||(LiveComposer.Builder.UI.shakePanelConfirmButton(),!1)};jQuery(\".dslc-modules-section\",LiveComposer.Builder.PreviewAreaDocument).each((function(){new ii(this)})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-delete-modules-section-hook\",(function(t){if(!e())return!1;t.preventDefault();var o=this;jQuery(this).hasClass(\"dslca-action-disabled\")||n({title:DSLCString.str_del_row_title,content:DSLCString.str_del_row_descr,confirm:function(){ai(jQuery(o).closest(\".dslc-modules-section\"))}})})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-import-modules-section-hook\",(function(t){if(t.preventDefault(),!e())return!1;jQuery(this).hasClass(\"dslca-action-disabled\")||n({title:DSLCString.str_import_row_title,content:DSLCString.str_import_row_descr+\"<br><br><textarea></textarea>\",confirm:function(){ri(jQuery(\".dslca-prompt-modal textarea\").val()),jQuery(\".dslca-prompt-modal-confirm-hook span\").css({opacity:0}),jQuery(\".dslca-prompt-modal-confirm-hook .dslca-loading\").show()},confirm_title:DSLCString.str_import})})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-export-modules-section-hook\",(function(t){if(t.preventDefault(),!e())return!1;jQuery(this).hasClass(\"dslca-action-disabled\")||(jQuery(\".dslca-prompt-modal-cancel-hook\").hide(),jQuery(\".dslca-prompt-modal-confirm-hook\").html('<span class=\"dslc-icon dslc-icon-ok\"></span>'+DSLCString.str_ok),n({title:DSLCString.str_export_row_title,content:DSLCString.str_export_row_descr+\"<br><br><textarea>[\"+d(jQuery(this).closest(\".dslc-modules-section\"))+\"]</textarea></span>\"}))})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-copy-modules-section-hook\",(function(){if(!e())return!1;jQuery(this).hasClass(\"dslca-action-disabled\")||li(jQuery(this).closest(\".dslc-modules-section\"))})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-add-modules-section-hook\",(function(t){if(t.preventDefault(),!e())return!1;var o=jQuery(this);jQuery(this).hasClass(\"dslca-action-disabled\")||(o.find(\".dslca-icon\").removeClass(\"dslc-icon-align-justify\").addClass(\"dslc-icon-spinner dslc-icon-spin\"),ni((function(){o.find(\".dslca-icon\").removeClass(\"dslc-icon-spinner dslc-icon-spin\").addClass(\"dslc-icon-align-justify\")})))})),LiveComposer.Builder.PreviewAreaDocument.on(\"click\",\".dslca-edit-modules-section-hook\",(function(){if(!e())return!1;var t=jQuery(\".dslca-module-being-edited\",LiveComposer.Builder.PreviewAreaDocument).length,o=jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).length;if(LiveComposer.Builder.Flags.uiHidden||t>0||o>0)return!1;jQuery(this).hasClass(\"dslca-action-disabled\")||di(jQuery(this).closest(\".dslc-modules-section\")),jQuery(\"body\",LiveComposer.Builder.PreviewAreaDocument).addClass(\"section-editing-in-progress\")}))}(),jQuery(document).on(\"click\",\".dslca-row-edit-save\",(function(){var e;window.dslcDebug&&console.log(\"dslc_confirm_row_changes\"),e=void 0!==e&&e,jQuery(\".dslca-modules-section-being-edited .dslca-modules-section-settings input\",LiveComposer.Builder.PreviewAreaDocument).each((function(){jQuery(this).data(\"def\",jQuery(this).val())})),Et(\".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-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-modules-section-being-edited dslca-modules-section-change-made\"),window.dslc_generate_code(),window.dslc_show_publish_button(),e&&e(),LiveComposer.Builder.Flags.panelOpened=!1,jQuery(\"body\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"section-editing-in-progress\"),jQuery(\".dslca-currently-editing\").removeAttr(\"style\"),jQuery(\".dslca-row-options-filter-hook.dslca-active\").removeClass(\"dslca-active\"),LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(!0)})),jQuery(document).on(\"click\",\".dslca-row-edit-cancel\",(function(){var e;window.dslcDebug&&console.log(\"dslc_row_cancel_changes\"),e=void 0!==e&&e,LiveComposer.Builder.Flags.generate_code_after_row_changed=!1,jQuery(\".dslca-modules-section-being-edited .dslca-modules-section-settings input\",LiveComposer.Builder.PreviewAreaDocument).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\")})),LiveComposer.Builder.Flags.generate_code_after_row_changed=!0,window.dslc_generate_code(),window.dslc_show_publish_button(),Et(\".dslca-modules\"),jQuery(\".dslca-row-edit-actions\").hide(),jQuery(\".dslca-row-options-filter-hook\").hide(),jQuery(\".dslca-header .dslca-go-to-section-hook\").show(),dslc_show_publish_button,jQuery(\".dslca-modules-section-being-edited\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"dslca-modules-section-being-edited dslca-modules-section-change-made\"),e&&e(),LiveComposer.Builder.Flags.panelOpened=!1,jQuery(\"body\",LiveComposer.Builder.PreviewAreaDocument).removeClass(\"section-editing-in-progress\"),jQuery(\".dslca-currently-editing\").removeAttr(\"style\"),jQuery(\".dslca-row-options-filter-hook.dslca-active\").removeClass(\"dslca-active\"),LiveComposer.Builder.PreviewAreaWindow.dslc_responsive_classes(!0)}))};function mi(){window.dslcDebug&&console.log(\"dslc_import_template\"),jQuery(\".dslca-modal-templates-import .dslca-modal-title\").css({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(e){jQuery(\"#dslc-main\",LiveComposer.Builder.PreviewAreaDocument).html(e.output),jQuery(\".dslca-modal-templates-import .dslca-loading\").hide(),jQuery(\".dslca-modal-templates-import .dslca-modal-title\").css({opacity:1}),c(\"\",\".dslca-modal-templates-import\"),LiveComposer.Builder.PreviewAreaWindow.dslc_bg_video(),Vo(),window.dslc_show_publish_button(),window.dslc_generate_code()}))}function pi(){window.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(e){c(\"\",\".dslca-modal-templates-save\")}))}function hi(e){window.dslcDebug&&console.log(\"dslc_delete_template\"),jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-delete-template\",dslc:\"active\",dslc_template_id:e},(function(t){jQuery('.dslca-template[data-id=\"'+e+'\"]').fadeOut(200,(function(){jQuery(this).remove()}))}))}var fi=function(){document.querySelectorAll(\".dslca-template\").forEach((function(e){e.addEventListener(\"click\",(function(e){e.preventDefault(),function(e){window.dslcDebug&&console.log(\"dslc_load_template\"),jQuery(\"#wpcontent\").prepend('<div class=\"lc-template-loader\"></div>');jQuery(\".lc-template-loader\").prepend('<div class=\"lc-loader lds-css\"><div class=\"lds-spinner\"><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div>'),jQuery.post(DSLCAjax.ajaxurl,{action:\"dslc-ajax-load-template\",dslc:\"active\",dslc_template_id:e},(function(e){jQuery(\"#dslc-main\",LiveComposer.Builder.PreviewAreaDocument).html(e.output),jQuery(\".lc-template-loader\").remove(),LiveComposer.Builder.PreviewAreaWindow.dslc_carousel(),ci(),ti(),Vo(),window.dslc_show_publish_button(),window.dslc_generate_code()}))}(e.target.closest(\"[data-id]\").dataset.id)}))})),jQuery(\".dslca-template-import-form\").submit((function(e){e.preventDefault(),mi()})),jQuery(\".dslca-template-save-form\").submit((function(e){e.preventDefault(),pi()})),jQuery(document).on(\"click\",\".dslca-delete-template-hook\",(function(e){e.stopPropagation(),hi(jQuery(this).data(\"id\"))}))};function vi(e,t){for(var o=0;o<t.length;o++){var i=t[o];i.enumerable=i.enumerable||!1,i.configurable=!0,\"value\"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var gi=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,e),this.sortable,this.initSortable(t),this.reactToSortableOnOff()}var t,o,i;return t=e,(o=[{key:\"initSortable\",value:function(e){this.sortable=At.create(e,{group:\"sections\",animation:350,handle:\".dslca-move-modules-section-hook\",draggable:\".dslc-modules-section-dnd\",ghostClass:\"dslca-sections-ghost\",chosenClass:\"dslca-sections-dragging\",scroll:!0,scrollSensitivity:150,scrollSpeed:10,bubbleScroll:!0,direction:\"vertical\",setData:function(e,t){e.setData(!1!==LiveComposer.Utils.msieversion()?\"Text\":\"text/html\",t.innerHTML)},onStart:function(e){jQuery(\"body\").removeClass(\"dslca-drag-not-in-progress\").addClass(\"dslca-drag-in-progress\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaWindow.document).removeClass(\"dslca-drag-not-in-progress\").addClass(\"dslca-drag-in-progress\")},onEnd:function(e){e.oldIndex,e.newIndex,e.preventDefault(),window.dslc_generate_code(),LiveComposer.Builder.UI.stopScroller(),jQuery(\"body\").removeClass(\"dslca-drag-in-progress\").addClass(\"dslca-drag-not-in-progress\"),jQuery(\"body\",LiveComposer.Builder.PreviewAreaWindow.document).removeClass(\"dslca-drag-in-progress\").addClass(\"dslca-drag-not-in-progress\"),jQuery(\".dslca-anim-opacity-drop\").removeClass(\"dslca-anim-opacity-drop\")},onAdd:function(e){},onUpdate:function(e){e.item,window.dslc_show_publish_button()},onSort:function(e){jQuery(this).removeClass(\"ui-state-default\")},onRemove:function(e){},onFilter:function(e){e.item},onMove:function(e){e.dragged,e.draggedRect,e.related,e.relatedRect}})}},{key:\"reactToSortableOnOff\",value:function(){self=this.sortable}}])&&vi(t.prototype,o),i&&vi(t,i),e}();jQuery(document).ready((function(e){var t=function(e){var t=.75,o=100,i=jQuery(\".dslca-section-scroller\",e),n=jQuery(\".dslca-section-scroller-inner\",e)[0];function s(e){e=e<0?-o:o,e*=t;var s=i.find(\".dslca-section-scroller-content\").width(),a=i.width();if(s<=a)return!1;var d=s-a+10;e=(e=(e=parseInt(n.style.left||0)-e)>=0?0:e)<=-d?-d:e,n.style.left=e+\"px\"}i.on(\"wheel\",(function(e){return s(e.originalEvent.deltaY||e.originalEvent.deltaX),!1})),jQuery(\".dslca-section-scroller-prev\",e).click((function(e){e.preventDefault(),s(-500)})),jQuery(\".dslca-section-scroller-next\",e).click((function(e){e.preventDefault(),s(500)})),jQuery(window).load((function(){jQuery(window).resize((function(){s(0)}))}))};t(jQuery(\".dslca-section.dslca-modules\")),t(jQuery(\".dslca-section.dslca-templates-load\"))}));var yi=function(){LiveComposer.Builder.Flags.windowScroller=!1,jQuery(LiveComposer.Builder.PreviewAreaDocument).on(\"dragleave\",\".lc-scroll-top-area, .lc-scroll-bottom-area\",(function(e){LiveComposer.Builder.UI.stopScroller()})),jQuery(LiveComposer.Builder.PreviewAreaDocument).on(\"dragenter dragover\",\".lc-scroll-bottom-area\",(function(e){if(!1!==LiveComposer.Builder.Flags.windowScroller)return!1;LiveComposer.Utils.publish(\"LC.sortableOff\",{}),LiveComposer.Builder.Flags.windowScroller=setInterval((function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,5)}),6)})),jQuery(LiveComposer.Builder.PreviewAreaDocument).on(\"dragenter\",\".lc-scroll-top-area\",(function(e){if(!1!==LiveComposer.Builder.Flags.windowScroller)return!1;LiveComposer.Utils.publish(\"LC.sortableOff\",{}),LiveComposer.Builder.Flags.windowScroller=setInterval((function(){LiveComposer.Builder.PreviewAreaWindow.scrollBy(0,-5)}),6)})),jQuery(LiveComposer.Builder.PreviewAreaDocument).on(\"dragend mouseup\",\"body\",(function(e){LiveComposer.Builder.Flags.windowScroller&&LiveComposer.Builder.UI.stopScroller()}))};function wi(e){return(wi=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}jQuery(document).ready((function(e){yi(),LiveComposer.Builder.UI.stopScroller=function(){LiveComposer.Utils.publish(\"LC.sortableOn\",{}),clearInterval(LiveComposer.Builder.Flags.windowScroller),LiveComposer.Builder.Flags.windowScroller=!1},jQuery(\"#scroller-stopper\").on(\"dragover\",(function(){LiveComposer.Builder.UI.stopScroller()}))}));var bi={addslashes:function(e){return e=(e=(e=(e=e.replace(/\\\\/g,\"\\\\\\\\\")).replace(/\\'/g,\"\\\\'\")).replace(/\\\"/g,'\\\\\"')).replace(/\\0/g,\"\\\\0\")},basename:function(e){return e.split(/[\\\\/]/).pop()},msieversion:function(){var e=window.navigator.userAgent,t=e.indexOf(\"MSIE \");return!!(t>0||navigator.userAgent.match(/Trident.*rv\\:11\\./))&&parseInt(e.substring(t+5,e.indexOf(\".\",t)))},checkParams:function(e){if(!Array.isArray(e))throw\"Param is not array\";var t={integer:function(e){return isNaN(parseInt(e))},float:function(e){return isNaN(parseFloat(e))},string:function(e){return null!=e&&null!=e&&\"string\"==typeof e},array:function(e){return Array.isArray(e)},object:function(e){return\"object\"==wi(e)}};e.map((function(e){if(!t[e[1]](e[0]))throw\"Param \"+e[0]+\" is not \"+e[1]}))},utf8_to_b64:function(e){return window.btoa(unescape(encodeURIComponent(e)))},b64_to_utf8:function(e){return decodeURIComponent(escape(window.atob(e)))},get_page_params:function(){return decodeURIComponent(window.location.search.slice(1)).split(\"&\").reduce((function(e,t){return e[(t=t.split(\"=\"))[0]]=t[1],e}),{})},get_unique_id:function(){return Math.random().toString(32).slice(2)},update_module_property_raw:function(e,t,o){var i=e.getElementsByClassName(\"dslca-module-code\")[0],n=e.querySelector('.dslca-module-option-front[data-id=\"'+t+'\"]'),s=i.value;(s=JSON.parse(s))[t]=o,s=JSON.stringify(s),i.value=s,i.innerText=s,n.value=o,n.innerText=o},update_section_property_raw:function(e,t,o){var i=e.getElementsByClassName(\"dslca-section-code\")[0],n=e.querySelector('.dslca-modules-section-settings input[data-id=\"'+t+'\"]'),s=i.value;(s=JSON.parse(s))[t]=o,s=JSON.stringify(s),i.value=s,i.innerText=s,n.setAttribute(\"value\",o),n.setAttribute(\"data-def\",o)},publish:function(e,t){t=t||{},this.checkParams([[e,\"string\"],[t,\"object\"]]),jQuery(document).trigger({type:e,message:{details:t}}),LiveComposer.Builder.PreviewAreaWindow.dslca_publish_event(e,t)}};window.LiveComposer={Builder:{Elements:{},UI:{},Actions:{},Flags:{},PreviewFrame:{},Helpers:{}},Production:{},Utils:{}},LiveComposer.Builder.Flags={windowScroller:!1,panelOpened:!1,uiHidden:!1,modalOpen:!1,generate_code_after_row_changed:!0},LiveComposer.Builder.Actions={postponed_actions_queue:{},add_postponed_action:function(e){void 0!==e&&(isNaN(this.postponed_actions_queue[e])&&(this.postponed_actions_queue[e]=0),this.postponed_actions_queue[e]+=1)},release_postponed_actions:function(){var e=this;jQuery.each(this.postponed_actions_queue,(function(t,o){1<o?e.postponed_actions_queue[t]-=1:1==o&&(window[t](),e.postponed_actions_queue[t]-=1)}))},optionsChanged:function(){window.dslc_show_publish_button()}},LiveComposer.Builder.Helpers.insertModule=function(e,t){var o=jQuery(e),i=(t=jQuery(t),[]);return o.find(\"script\").each((function(){i.push(this.innerHTML),this.parentNode.removeChild(this)})),t.after(o).remove(),i.forEach((function(e){var t=LiveComposer.Builder.PreviewAreaDocument[0].createElement(\"script\");t.innerHTML=e,t.type=\"text/javascript\",LiveComposer.Builder.PreviewAreaDocument[0].getElementById(o[0].id).appendChild(t)})),i=null,t=null,o},window.previewAreaTinyMCELoaded=function(e){LiveComposer.Builder.PreviewAreaWindow=e,LiveComposer.Builder.PreviewAreaDocument=jQuery(e.document),jQuery(\"#wpadminbar\",LiveComposer.Builder.PreviewAreaDocument).remove(),window.LiveComposer.Builder.PreviewAreaDocument.on(\"dragstart\",\".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section\",(function(e){jQuery(\"[contenteditable]\",window.LiveComposer.Builder.PreviewAreaDocument).attr(\"contenteditable\",!1)})),window.LiveComposer.Builder.PreviewAreaDocument.on(\"dragend mousedown\",\".dslca-module, .dslc-module-front, .dslc-modules-area, .dslc-modules-section\",(function(e){jQuery(\"[contenteditable]\",window.LiveComposer.Builder.PreviewAreaDocument).attr(\"contenteditable\",!0)})),fi(),function(){var e=window.LiveComposer.Builder;window.LiveComposer.Builder.Helpers.colorpickers=[],window.LiveComposer.Builder.UI.clearUtils=function(){window.dslcDebug&&console.log(\"window.LiveComposer.Builder.UI.clearUtils\"),window.LiveComposer.Builder.UI.clearColorPickers(),void 0!==window.LiveComposer.Builder.moduleBackup&&window.LiveComposer.Builder.moduleBackup.remove(),jQuery(\".temp-styles-for-module\",window.LiveComposer.Builder.PreviewAreaDocument).remove(),jQuery(\".mce-tinymce\",window.LiveComposer.Builder.PreviewAreaDocument).hide()},window.LiveComposer.Builder.UI.clearColorPickers=function(){Array.isArray(e.Helpers.colorpickers)&&(e.Helpers.colorpickers.forEach((function(e){jQuery(e).hasClass(\"dslca-modules-section-edit-field\")||jQuery(e).remove()})),e.Helpers.colorpickers=[]),jQuery(\"body\").off(\"click.wpcolorpicker\")},window.LiveComposer.Builder.Helpers.depsHandlers=[],window.LiveComposer.Builder.UI.loadOptionsDeps=function(){jQuery(\".dslca-module-edit-option\").each((function(){var e=!0;try{var t=JSON.parse(LiveComposer.Utils.b64_to_utf8(jQuery(this).data(\"dep\")))}catch(t){e=!1}if(e){var o=function(){var e=this,o={};if((\"radio\"==e.type||\"checkbox\"==e.type)&&null==t[e.value])return!1;\"checkbox\"==e.type&&null!=t[e.value]?o[e.value]=t[e.value]:o=t,Object.keys(o).forEach((function(t){o[t].split(\",\").forEach((function(o){var i=jQuery(\".dslca-module-edit-option-\"+o.trim()).closest(\".dslca-module-edit-option\"),n=!0;\"radio\"!=e.type&&\"checkbox\"!=e.type||(n=jQuery(e).is(\":checked\"));var s=jQuery(\".dslca-module-edit-options-tab-hook.dslca-active\").data(\"id\");e.value==t&&n?(i.not(\".dependent\")&&i.addClass(\"dependent\"),i.hasClass(\"dep-hide\")?(i.removeClass(\"dep-hide\"),i.addClass(\"dep-show\")):i.addClass(\"dep-show\"),s==i.data(\"tab\")&&i.show()):(i.not(\".dependent\")&&i.addClass(\"dependent\"),i.hasClass(\"dep-show\")?(i.removeClass(\"dep-show\"),i.addClass(\"dep-hide\")):i.addClass(\"dep-hide\"),i.hide())}))}))};jQuery(document).on(\"change dslc-init-deps\",'.dslca-module-edit-option > *[data-id=\"'+jQuery(this).data(\"id\")+'\"]',o),window.LiveComposer.Builder.Helpers.depsHandlers.push(o)}})),jQuery(\".dslca-module-edit-option input, .dslca-module-edit-option select\").trigger(\"dslc-init-deps\")},window.LiveComposer.Builder.UI.unloadOptionsDeps=function(){window.LiveComposer.Builder.Helpers.depsHandlers.forEach((function(e){jQuery(document).unbind(\"change\",e),jQuery(document).unbind(\"dslc-init-deps\",e)})),window.LiveComposer.Builder.Helpers.depsHandlers=[]},window.LiveComposer.Builder.Helpers.processInlineStyleTag=function(e){if(\"object\"!=m(e))return!1;var t=\"\",o=\"\";\"tablet_responsive\"==e.context.closest(\".dslca-module-edit-option\").data(\"tab\")?(t=\"@media only screen and (max-width: 1024px) and (min-width: 768px) {\",o=\"}\"):\"phone_responsive\"==e.context.closest(\".dslca-module-edit-option\").data(\"tab\")&&(t=\"@media only screen and (max-width: 767px) {\",o=\"}\"),e.styleContent=t+e.styleContent+o;var i=t+e.rule+e.elems;if(i=i.replace(/ /gi,\"\"),null==window.LiveComposer.Builder.PreviewAreaDocument[0].getElementById(i)){var n=document.createElement(\"style\");n.innerHTML=e.styleContent,n.id=i,n.className=\"temp-styles-for-module\",window.LiveComposer.Builder.PreviewAreaDocument[0].body.appendChild(n)}else window.LiveComposer.Builder.PreviewAreaDocument[0].getElementById(i).innerHTML=e.styleContent},window.LiveComposer.Builder.UI.shakePanelConfirmButton=function(){jQuery(\".dslca-module-edit-save\").addClass(\"lc-shake-effect active\"),setTimeout((function(){jQuery(\".dslca-module-edit-save\").removeClass(\"lc-shake-effect active\")}),1e3)},g(),y(),w()}(),ui();var t=LiveComposer.Builder.PreviewAreaDocument.find(\"#dslc-main\").eq(0)[0];new gi(t),jQuery(document).trigger(\"editorFrameLoaded\"),Vo(),l(),window.dslc_generate_code(),Mt(),yi(),Ko(),window.LiveComposer.Utils=bi,document.addEventListener(\"click\",(function(e){if(e.target.matches('[data-event=\"modal-wysiwyg-cancel\"]')){var t=new CustomEvent(\"modalWysiwygCancel\",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event=\"modal-wysiwyg-confirm\"]')){var o=new CustomEvent(\"modalWysiwygConfirm\",{detail:e.target});document.dispatchEvent(o)}}),!1),LiveComposer.Builder.PreviewAreaWindow.document.addEventListener(\"click\",(function(e){if(e.preventDefault(),e.target.matches('[data-event=\"module-edit\"]')){var t=new CustomEvent(\"moduleEdit\",{detail:e.target});document.dispatchEvent(t)}if(e.target.matches('[data-event=\"module-duplicate\"]')){var o=new CustomEvent(\"moduleDuplicate\",{detail:e.target});document.dispatchEvent(o)}if(e.target.matches('[data-event=\"module-delete\"]')){var i=new CustomEvent(\"moduleDelete\",{detail:e.target});document.dispatchEvent(i)}if(e.target.matches(\".dslca-change-width-module-options [data-size]\")){var n=new CustomEvent(\"moduleChangeWidth\",{detail:e.target});document.dispatchEvent(n)}if(e.target.matches('[data-event=\"wysiwyg-edit\"]')){var s=new CustomEvent(\"wysiwygEdit\",{detail:e.target});document.dispatchEvent(s)}if(e.target.matches('[data-event=\"module-style-copy\"]')){var a=new CustomEvent(\"copyModuleStyles\",{detail:e.target});document.dispatchEvent(a)}if(e.target.matches('[data-event=\"module-style-paste\"]')){var d=new CustomEvent(\"pasteModuleStyles\",{detail:e.target});document.dispatchEvent(d)}}),!1)},window.onbeforeunload=function(){}}});"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sourceRoot":""}
js/src/client/frontend/index.js CHANGED
@@ -816,79 +816,80 @@ window.dslc_sticky_row = () => {
816
  rowStickyPos -= jQuery( '#wpadminbar' ).height();
817
  }
818
 
819
- jQuery(window).scroll(function() {
820
- var headers = jQuery(".dslc-sticky-row");
821
- var scrollTop = jQuery(this).scrollTop();
822
 
823
- if ( scrollTop >= 0 ) {
 
824
 
825
- headers.each(function(index, el) {
 
 
 
 
 
826
 
827
- var curHeader = jQuery(headers).eq(index);
828
- var curTop = curHeader.offset().top;
829
- var curHeight = curHeader.outerHeight();
 
830
 
831
- // Account for Admin bar.
832
- if ( jQuery( '#wpadminbar' ).length ) {
833
- curTop -= jQuery( '#wpadminbar' ).height();
834
- }
835
 
836
- // scroll up
837
- var isRelative = ( el.isFixed && scrollTop <= el.exTop );
838
 
839
- // scroll down
840
- var isFixed = ( curTop <= scrollTop );
841
 
842
- var position = "";
843
- var top = 0;
 
844
 
845
- if ( isRelative ) {
846
- // reset
847
- positon = "relative";
848
- top = 0;
849
 
850
- el.isFixed = false;
 
 
 
 
 
 
 
 
 
851
 
852
- el.classList.remove("dslc-sticky-section-fixed");
853
- jQuery(el).closest('.dslc-modules-section-placeholder').height(jQuery(el).outerHeight());
854
- } else if ( isFixed ) {
855
- position = "fixed";
856
- if ( 0 < index ) {
857
- for ( var i = 0; i < index; i++ ) {
858
- top += jQuery(headers).eq(i).outerHeight();
859
  }
860
- }
861
- scrollTop += curHeight;
862
 
863
- if ( ! el.isFixed ) {
864
- el.isFixed = true;
865
- el.exTop = curTop;
866
- }
867
 
868
- // Account for Admin bar.
869
- if ( jQuery( '#wpadminbar' ).length ) {
870
- top += 32;
871
  }
872
 
873
- el.classList.add("dslc-sticky-section-fixed");
874
- jQuery(el).closest('.dslc-modules-section-placeholder').height(jQuery(el).outerHeight());
875
- }
876
-
877
- jQuery(el).css({
878
- position: position,
879
- top: top + "px"
880
  });
881
- });
882
- } else {
883
- rowSticky.removeClass('dslc-sticky-section-fixed');
884
 
885
- // reset all
886
- headers.css({
887
- position: "relative",
888
- top: "0px"
889
- });
 
890
  }
891
- });
892
  }
893
  }
894
 
@@ -1311,7 +1312,7 @@ jQuery(document).ready(function($){
1311
  dslc_masonry();
1312
  dslc_parallax();
1313
  dslc_init_lightbox();
1314
- dslc_sticky_row();
1315
 
1316
  // No need to wait for jQuery(window).load.
1317
  // These functions will check if images loaded by itself.
816
  rowStickyPos -= jQuery( '#wpadminbar' ).height();
817
  }
818
 
819
+ var headers = jQuery(".dslc-sticky-row");
 
 
820
 
821
+ document.addEventListener( 'scroll', (evt) => {
822
+ var scrollTop = window.scrollY;
823
 
824
+ if ( scrollTop < 50 || scrollTop % 10 === 0 ) {
825
+ if ( scrollTop >= 0 ) {
826
+ headers.each(function(index, el) {
827
+ var curHeader = jQuery(headers).eq(index);
828
+ var curTop = curHeader.offset().top;
829
+ var curHeight = curHeader.outerHeight();
830
 
831
+ // Account for Admin bar.
832
+ if ( jQuery( '#wpadminbar' ).length ) {
833
+ curTop -= jQuery( '#wpadminbar' ).height();
834
+ }
835
 
836
+ // scroll up
837
+ // If windown scoling pos is bellow the element top coordinates.
838
+ var isRelative = ( scrollTop <= el.exTop );
 
839
 
840
+ // scroll down
841
+ var isFixed = ( curTop <= scrollTop );
842
 
843
+ var position = "fixed";
844
+ var top = 0;
845
 
846
+ if ( isRelative ) {
847
+ position = "relative";
848
+ top = 0;
849
 
850
+ el.isFixed = false;
 
 
 
851
 
852
+ el.classList.remove("dslc-sticky-section-fixed");
853
+ jQuery(el).closest('.dslc-modules-section-placeholder').height(jQuery(el).outerHeight());
854
+ } else if ( isFixed ) {
855
+ position = "fixed";
856
+ if ( 0 < index ) {
857
+ for ( var i = 0; i < index; i++ ) {
858
+ top += jQuery(headers).eq(i).outerHeight();
859
+ }
860
+ }
861
+ scrollTop += curHeight;
862
 
863
+ if ( ! el.isFixed ) {
864
+ el.isFixed = true;
865
+ el.exTop = curTop;
 
 
 
 
866
  }
 
 
867
 
868
+ // Account for Admin bar.
869
+ if ( jQuery( '#wpadminbar' ).length ) {
870
+ top += 32;
871
+ }
872
 
873
+ el.classList.add("dslc-sticky-section-fixed");
874
+ jQuery(el).closest('.dslc-modules-section-placeholder').height(jQuery(el).outerHeight());
 
875
  }
876
 
877
+ jQuery(el).css({
878
+ position: position,
879
+ top: top + "px"
880
+ });
 
 
 
881
  });
882
+ } else {
883
+ rowSticky.removeClass('dslc-sticky-section-fixed');
 
884
 
885
+ // reset all
886
+ headers.css({
887
+ position: "relative",
888
+ top: "0px"
889
+ });
890
+ }
891
  }
892
+ }, { capture: false, passive: true})
893
  }
894
  }
895
 
1312
  dslc_masonry();
1313
  dslc_parallax();
1314
  dslc_init_lightbox();
1315
+ window.dslc_sticky_row();
1316
 
1317
  // No need to wait for jQuery(window).load.
1318
  // These functions will check if images loaded by itself.
js/src/editor/backend/module.js CHANGED
@@ -105,7 +105,7 @@ document.addEventListener('moduleEdit', function (customEvent) {
105
  // Add the "being edited" class to current module
106
  currentModuleEl.classList.add('dslca-module-being-edited');
107
  // Call the function to display options
108
- dslc_module_options_show( currentModuleId );
109
  // Cover up other modules with semi transp cover
110
  LiveComposer.Builder.PreviewAreaWindow.document.body.classList.add('module-editing-in-progress');
111
  });
@@ -579,7 +579,7 @@ function dslc_module_width_set( moduleEl, new_width ) {
579
  /**
580
  * MODULES - Show module options
581
  */
582
- function dslc_module_options_show( moduleID ) {
583
 
584
  if ( window.dslcDebug ) console.log( 'dslc_module_options_show' );
585
 
@@ -719,7 +719,10 @@ function dslc_module_options_show( moduleID ) {
719
 
720
  LiveComposer.Builder.UI.loadOptionsDeps();
721
  }
722
- );
 
 
 
723
  }
724
 
725
  /**
@@ -841,7 +844,7 @@ export const moduleOutputAltered = ( callback ) => {
841
  /**
842
  * MODULES - Reload a specific module
843
  */
844
- function dslc_module_output_reload( dslcModule, callback ) {
845
 
846
  if ( window.dslcDebug ) console.log( 'dslc_module_output_reload' );
847
  callback = typeof callback !== 'undefined' ? callback : false;
@@ -940,9 +943,9 @@ function dslc_dm_get_defaults( module ) {
940
  * Deprecated Functions and Fallbacks
941
  */
942
  function dslc_copy_module( module ) { moduleDuplicate( module ); }
943
- function dslc_display_module_options( moduleID ) { dslc_module_options_show( moduleID ); }
944
  function dslc_preview_change( callback ) { moduleOutputAltered( callback ); }
945
- function dslc_reload_module( moduleID, callback ) { dslc_module_output_reload( moduleID, callback ); }
946
 
947
  export const moduleInitJS = () => {
948
  adjustZindex();
105
  // Add the "being edited" class to current module
106
  currentModuleEl.classList.add('dslca-module-being-edited');
107
  // Call the function to display options
108
+ window.dslc_module_options_show( currentModuleId );
109
  // Cover up other modules with semi transp cover
110
  LiveComposer.Builder.PreviewAreaWindow.document.body.classList.add('module-editing-in-progress');
111
  });
579
  /**
580
  * MODULES - Show module options
581
  */
582
+ window.dslc_module_options_show = function( moduleID ) {
583
 
584
  if ( window.dslcDebug ) console.log( 'dslc_module_options_show' );
585
 
719
 
720
  LiveComposer.Builder.UI.loadOptionsDeps();
721
  }
722
+ ).done(function() {
723
+ // Attach evenets to the Font family selection fields.
724
+ window.dslc_module_options_font();
725
+ });
726
  }
727
 
728
  /**
844
  /**
845
  * MODULES - Reload a specific module
846
  */
847
+ window.dslc_module_output_reload = function ( dslcModule, callback ) {
848
 
849
  if ( window.dslcDebug ) console.log( 'dslc_module_output_reload' );
850
  callback = typeof callback !== 'undefined' ? callback : false;
943
  * Deprecated Functions and Fallbacks
944
  */
945
  function dslc_copy_module( module ) { moduleDuplicate( module ); }
946
+ function dslc_display_module_options( moduleID ) { window.dslc_module_options_show( moduleID ); }
947
  function dslc_preview_change( callback ) { moduleOutputAltered( callback ); }
948
+ function dslc_reload_module( moduleID, callback ) { window.dslc_module_output_reload( moduleID, callback ); }
949
 
950
  export const moduleInitJS = () => {
951
  adjustZindex();
js/src/editor/backend/presets.js CHANGED
@@ -42,7 +42,7 @@ export const updatePreset = () => {
42
  // Reload all modules with the same preset
43
  jQuery('.dslc-module-front:not(#' + module.attr('id') + ')[data-module="' + module.data('module') +
44
  '"][data-dslc-preset="' + module.data('dslc-preset') + '"]', LiveComposer.Builder.PreviewAreaDocument ).each(function(){
45
- dslc_module_output_reload( jQuery(this) );
46
  });
47
  }
48
  }
@@ -114,7 +114,7 @@ jQuery(document).ready(function($){
114
  },
115
  function( response ) {
116
 
117
- dslc_module_options_show(moduleID);
118
  }
119
  );
120
  }
42
  // Reload all modules with the same preset
43
  jQuery('.dslc-module-front:not(#' + module.attr('id') + ')[data-module="' + module.data('module') +
44
  '"][data-dslc-preset="' + module.data('dslc-preset') + '"]', LiveComposer.Builder.PreviewAreaDocument ).each(function(){
45
+ window.dslc_module_output_reload( jQuery(this) );
46
  });
47
  }
48
  }
114
  },
115
  function( response ) {
116
 
117
+ window.dslc_module_options_show(moduleID);
118
  }
119
  );
120
  }
js/src/editor/backend/settings.panel.js CHANGED
@@ -19,7 +19,7 @@ var dslcIconsCurrentSet = window.DSLCIcons.fontawesome;
19
 
20
  jQuery(document).ready(function($){
21
  dslc_module_options_tooltip();
22
- dslc_module_options_font();
23
  dslc_module_options_icon();
24
  dslc_module_options_icon_returnid()
25
  dslc_module_options_text_align();
@@ -510,7 +510,7 @@ const onModuleOptionsChange = () => {
510
 
511
  if ( dslcOptionID == 'css_load_preset' && ! jQuery('body').hasClass('dslca-new-preset-added') ) {
512
 
513
- dslc_module_options_show( dslcModuleID );
514
  jQuery('.dslca-container-loader').hide();
515
  } else {
516
 
@@ -1921,11 +1921,10 @@ function dslc_module_options_tooltip() {
1921
  /**
1922
  * MODULES SETTINGS PANEL - Font option type
1923
  */
1924
- function dslc_module_options_font() {
1925
-
1926
  // Next Font
1927
- jQuery(document).on( 'click', '.dslca-module-edit-field-font-next', function(e){
1928
-
1929
  e.preventDefault();
1930
 
1931
  if ( ! jQuery(this).hasClass('dslca-font-loading') && ! jQuery(this).siblings('.dslca-font-loading').length ) {
@@ -1941,10 +1940,11 @@ function dslc_module_options_font() {
1941
 
1942
  jQuery(this).addClass('dslca-font-loading').find('.dslca-icon').removeClass('dslc-icon-chevron-right').addClass('dslc-icon-refresh dslc-icon-spin');
1943
  }
1944
- });
1945
 
1946
  // Previous Font
1947
- jQuery(document).on( 'click', '.dslca-module-edit-field-font-prev', function(e){
 
1948
 
1949
  e.preventDefault();
1950
 
@@ -1966,20 +1966,29 @@ function dslc_module_options_font() {
1966
 
1967
  jQuery(this).addClass('dslca-font-loading').find('.dslca-icon').removeClass('dslc-icon-chevron-left').addClass('dslc-icon-refresh dslc-icon-spin');
1968
  }
1969
- });
1970
 
1971
- // Keyup ( left arrow, right arrow, else )
1972
- jQuery(document).on( 'keyup', '.dslca-module-edit-field-font', function(e) {
 
 
 
1973
 
 
 
 
 
1974
  var dslcField, dslcOption, dslcVal, dslcMatchingFont = false, dslcFont;
1975
 
1976
  dslcField = jQuery(this);
1977
  dslcOption = dslcField.closest('.dslca-module-edit-option');
1978
 
 
1979
  if ( e.which == 38 ) {
1980
  jQuery('.dslca-module-edit-field-font-prev', dslcOption).click();
1981
  }
1982
 
 
1983
  if ( e.which == 40 ) {
1984
  jQuery('.dslca-module-edit-field-font-next', dslcOption).click();
1985
  }
@@ -1994,23 +2003,17 @@ function dslc_module_options_font() {
1994
  var i = 0;
1995
 
1996
  do {
1997
-
1998
  if (re.test(dslcAllFontsArray[i])) {
1999
-
2000
  if ( ! dslcMatchingFont ) {
2001
-
2002
  var dslcMatchingFont = dslcAllFontsArray[i];
2003
  }
2004
  }
2005
-
2006
  i++; } while (i < dslcFontsAmount);
2007
 
2008
  if ( ! dslcMatchingFont ) {
2009
-
2010
  dslcFont = dslcVal;
2011
  jQuery('.dslca-module-edit-field-font-suggest', dslcOption).hide();
2012
- } else {
2013
-
2014
  dslcFont = dslcMatchingFont;
2015
  jQuery('.dslca-module-edit-field-font-suggest', dslcOption).show();
2016
  }
@@ -2018,29 +2021,29 @@ function dslc_module_options_font() {
2018
  jQuery('.dslca-module-edit-field-font-suggest', dslcOption).text( dslcFont );
2019
 
2020
  if ( dslcFont.length ){
2021
-
2022
  dslcField.val( dslcFont.substring( 0 , dslcField.val().length ) );
2023
  }
2024
  }
2025
- });
2026
-
2027
- // Key press ( enter )
2028
- jQuery(document).on( 'keypress', '.dslca-module-edit-field-font', function(e) {
2029
-
2030
- if ( e.which == 13 ) {
2031
-
2032
- e.preventDefault();
2033
 
 
 
 
 
 
2034
  var dslcField, dslcOption, dslcVal, dslcMatchingFont, dslcFont;
2035
 
2036
  dslcField = jQuery(this);
2037
  dslcOption = dslcField.closest('.dslca-module-edit-option');
2038
 
2039
- jQuery(this).val( jQuery('.dslca-module-edit-field-font-suggest', dslcOption).text() ).trigger('change');
2040
 
2041
- jQuery('.dslca-module-edit-field-font-suggest', dslcOption).text('');
 
 
 
2042
  }
2043
- });
2044
  }
2045
 
2046
  /*
19
 
20
  jQuery(document).ready(function($){
21
  dslc_module_options_tooltip();
22
+ window.dslc_module_options_font();
23
  dslc_module_options_icon();
24
  dslc_module_options_icon_returnid()
25
  dslc_module_options_text_align();
510
 
511
  if ( dslcOptionID == 'css_load_preset' && ! jQuery('body').hasClass('dslca-new-preset-added') ) {
512
 
513
+ window.dslc_module_options_show( dslcModuleID );
514
  jQuery('.dslca-container-loader').hide();
515
  } else {
516
 
1921
  /**
1922
  * MODULES SETTINGS PANEL - Font option type
1923
  */
1924
+ window.dslc_module_options_font = function () {
 
1925
  // Next Font
1926
+ jQuery(document).off( 'click', '.dslca-module-edit-field-font-next' ).on( 'click', '.dslca-module-edit-field-font-next', nextFont );
1927
+ function nextFont(e){
1928
  e.preventDefault();
1929
 
1930
  if ( ! jQuery(this).hasClass('dslca-font-loading') && ! jQuery(this).siblings('.dslca-font-loading').length ) {
1940
 
1941
  jQuery(this).addClass('dslca-font-loading').find('.dslca-icon').removeClass('dslc-icon-chevron-right').addClass('dslc-icon-refresh dslc-icon-spin');
1942
  }
1943
+ };
1944
 
1945
  // Previous Font
1946
+ jQuery(document).off( 'click', '.dslca-module-edit-field-font-prev' ).on( 'click', '.dslca-module-edit-field-font-prev', prevFont );
1947
+ function prevFont(e){
1948
 
1949
  e.preventDefault();
1950
 
1966
 
1967
  jQuery(this).addClass('dslca-font-loading').find('.dslca-icon').removeClass('dslc-icon-chevron-left').addClass('dslc-icon-refresh dslc-icon-spin');
1968
  }
1969
+ };
1970
 
1971
+ jQuery(document).off( 'blur', '.dslca-module-edit-field-font' ).on( 'blur', '.dslca-module-edit-field-font', onFieldBlur );
1972
+ function onFieldBlur(e) {
1973
+ var dslcOption = jQuery(this).closest('.dslca-module-edit-option');
1974
+ jQuery('.dslca-module-edit-field-font-suggest', dslcOption).hide();
1975
+ }
1976
 
1977
+ jQuery(document).off( 'keyup', '.dslca-module-edit-field-font' ).on( 'keyup', '.dslca-module-edit-field-font', onKeyUp );
1978
+ // Keyup ( left arrow, right arrow, else )
1979
+ function onKeyUp(e) {
1980
+ console.log( "1 e.which:" ); console.log( e.which );
1981
  var dslcField, dslcOption, dslcVal, dslcMatchingFont = false, dslcFont;
1982
 
1983
  dslcField = jQuery(this);
1984
  dslcOption = dslcField.closest('.dslca-module-edit-option');
1985
 
1986
+ // Arrow Up.
1987
  if ( e.which == 38 ) {
1988
  jQuery('.dslca-module-edit-field-font-prev', dslcOption).click();
1989
  }
1990
 
1991
+ // Arrow Down.
1992
  if ( e.which == 40 ) {
1993
  jQuery('.dslca-module-edit-field-font-next', dslcOption).click();
1994
  }
2003
  var i = 0;
2004
 
2005
  do {
 
2006
  if (re.test(dslcAllFontsArray[i])) {
 
2007
  if ( ! dslcMatchingFont ) {
 
2008
  var dslcMatchingFont = dslcAllFontsArray[i];
2009
  }
2010
  }
 
2011
  i++; } while (i < dslcFontsAmount);
2012
 
2013
  if ( ! dslcMatchingFont ) {
 
2014
  dslcFont = dslcVal;
2015
  jQuery('.dslca-module-edit-field-font-suggest', dslcOption).hide();
2016
+ } else if ( dslcVal !== dslcMatchingFont ) {
 
2017
  dslcFont = dslcMatchingFont;
2018
  jQuery('.dslca-module-edit-field-font-suggest', dslcOption).show();
2019
  }
2021
  jQuery('.dslca-module-edit-field-font-suggest', dslcOption).text( dslcFont );
2022
 
2023
  if ( dslcFont.length ){
 
2024
  dslcField.val( dslcFont.substring( 0 , dslcField.val().length ) );
2025
  }
2026
  }
2027
+ };
 
 
 
 
 
 
 
2028
 
2029
+ jQuery(document).off( 'keydown', '.dslca-module-edit-field-font' ).on( 'keydown', '.dslca-module-edit-field-font', onPushEnter );
2030
+ // Key press ( enter = 13 and tab = 9 )
2031
+ function onPushEnter(e) {
2032
+ console.log( "2 e.which:" ); console.log( e.which );
2033
+ if ( e.which == 13 || e.which == 9 ) {
2034
  var dslcField, dslcOption, dslcVal, dslcMatchingFont, dslcFont;
2035
 
2036
  dslcField = jQuery(this);
2037
  dslcOption = dslcField.closest('.dslca-module-edit-option');
2038
 
2039
+ var suggestedFont = jQuery('.dslca-module-edit-field-font-suggest', dslcOption).text();
2040
 
2041
+ if ( suggestedFont.length ) {
2042
+ jQuery(this).val( jQuery('.dslca-module-edit-field-font-suggest', dslcOption).text() ).trigger('change');
2043
+ jQuery('.dslca-module-edit-field-font-suggest', dslcOption).text('');
2044
+ }
2045
  }
2046
+ };
2047
  }
2048
 
2049
  /*
modules/social/module.php CHANGED
@@ -87,6 +87,20 @@ class DSLC_Social extends DSLC_Module {
87
  ),
88
  ),
89
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  array(
91
  'label' => __( 'Twitter', 'live-composer-page-builder' ),
92
  'id' => 'twitter',
@@ -965,173 +979,71 @@ class DSLC_Social extends DSLC_Module {
965
  */
966
  function output( $options ) {
967
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
968
  /* Module output starts here */
969
 
970
  ?>
971
-
972
  <div class="dslc-social-wrap">
973
 
974
  <ul class="dslc-social">
975
- <?php if ( isset( $options['twitter'] ) && $options['twitter'] != '' ) : ?>
976
- <li>
977
- <a class="dslc-social-icon" target="_blank" href="<?php echo $options['twitter']; ?>"><span class="dslc-icon dslc-icon-twitter"></span></a>
978
- <?php if ( $options['show_labels'] == 'enabled' ) : ?>
979
- <a class="dslc-social-label" target="_blank" href="<?php echo $options['twitter']; ?>"><span><?php _e( 'Twitter', 'live-composer-page-builder' ); ?></span></a>
980
- <?php endif; ?>
981
- </li>
982
- <?php endif; ?>
983
- <?php if ( isset( $options['facebook'] ) && $options['facebook'] != '' ) : ?>
984
- <li>
985
- <a class="dslc-social-icon" target="_blank" href="<?php echo $options['facebook']; ?>"><span class="dslc-icon dslc-icon-facebook"></span></a>
986
- <?php if ( $options['show_labels'] == 'enabled' ) : ?>
987
- <a class="dslc-social-label" target="_blank" href="<?php echo $options['facebook']; ?>"><span><?php _e( 'Facebook', 'live-composer-page-builder' ); ?></span></a>
988
- <?php endif; ?>
989
- </li>
990
- <?php endif; ?>
991
- <?php if ( isset( $options['youtube'] ) && $options['youtube'] != '' ) : ?>
992
- <li>
993
- <a class="dslc-social-icon" target="_blank" href="<?php echo $options['youtube']; ?>"><span class="dslc-icon dslc-icon-youtube-play"></span></a>
994
- <?php if ( $options['show_labels'] == 'enabled' ) : ?>
995
- <a class="dslc-social-label" target="_blank" href="<?php echo $options['youtube']; ?>"><span><?php _e( 'Youtube', 'live-composer-page-builder' ); ?></span></a>
996
- <?php endif; ?>
997
- </li>
998
- <?php endif; ?>
999
- <?php if ( isset( $options['vimeo'] ) && $options['vimeo'] != '' ) : ?>
1000
- <li>
1001
- <a class="dslc-social-icon" target="_blank" href="<?php echo $options['vimeo']; ?>"><span class="dslc-icon dslc-icon-vimeo-square"></span></a>
1002
- <?php if ( $options['show_labels'] == 'enabled' ) : ?>
1003
- <a class="dslc-social-label" target="_blank" href="<?php echo $options['vimeo']; ?>"><span><?php _e( 'Vimeo', 'live-composer-page-builder' ); ?></span></a>
1004
- <?php endif; ?>
1005
- </li>
1006
- <?php endif; ?>
1007
- <?php if ( isset( $options['tumblr'] ) && $options['tumblr'] != '' ) : ?>
1008
- <li>
1009
- <a class="dslc-social-icon" target="_blank" href="<?php echo $options['tumblr']; ?>"><span class="dslc-icon dslc-icon-tumblr"></span></a>
1010
- <?php if ( $options['show_labels'] == 'enabled' ) : ?>
1011
- <a class="dslc-social-label" target="_blank" href="<?php echo $options['tumblr']; ?>"><span><?php _e( 'Tumblr', 'live-composer-page-builder' ); ?></span></a>
1012
- <?php endif; ?>
1013
- </li>
1014
- <?php endif; ?>
1015
- <?php if ( isset( $options['pinterest'] ) && $options['pinterest'] != '' ) : ?>
1016
- <li>
1017
- <a class="dslc-social-icon" target="_blank" href="<?php echo $options['pinterest']; ?>"><span class="dslc-icon dslc-icon-pinterest"></span></a>
1018
- <?php if ( $options['show_labels'] == 'enabled' ) : ?>
1019
- <a class="dslc-social-label" target="_blank" href="<?php echo $options['pinterest']; ?>"><span><?php _e( 'Pinterest', 'live-composer-page-builder' ); ?></span></a>
1020
- <?php endif; ?>
1021
- </li>
1022
- <?php endif; ?>
1023
- <?php if ( isset( $options['linkedin'] ) && $options['linkedin'] != '' ) : ?>
1024
- <li>
1025
- <a class="dslc-social-icon" target="_blank" href="<?php echo $options['linkedin']; ?>"><span class="dslc-icon dslc-icon-linkedin"></span></a>
1026
- <?php if ( $options['show_labels'] == 'enabled' ) : ?>
1027
- <a class="dslc-social-label" target="_blank" href="<?php echo $options['linkedin']; ?>"><span><?php _e( 'LinkedIn', 'live-composer-page-builder' ); ?></span></a>
1028
- <?php endif; ?>
1029
- </li>
1030
- <?php endif; ?>
1031
- <?php if ( isset( $options['instagram'] ) && $options['instagram'] != '' ) : ?>
1032
- <li>
1033
- <a class="dslc-social-icon" target="_blank" href="<?php echo $options['instagram']; ?>"><span class="dslc-icon dslc-icon-instagram"></span></a>
1034
- <?php if ( $options['show_labels'] == 'enabled' ) : ?>
1035
- <a class="dslc-social-label" target="_blank" href="<?php echo $options['instagram']; ?>"><span><?php _e( 'Instagram', 'live-composer-page-builder' ); ?></span></a>
1036
- <?php endif; ?>
1037
- </li>
1038
- <?php endif; ?>
1039
- <?php if ( isset( $options['github'] ) && $options['github'] != '' ) : ?>
1040
- <li>
1041
- <a class="dslc-social-icon" target="_blank" href="<?php echo $options['github']; ?>"><span class="dslc-icon dslc-icon-github-alt"></span></a>
1042
- <?php if ( $options['show_labels'] == 'enabled' ) : ?>
1043
- <a class="dslc-social-label" target="_blank" href="<?php echo $options['github']; ?>"><span><?php _e( 'Github', 'live-composer-page-builder' ); ?></span></a>
1044
- <?php endif; ?>
1045
- </li>
1046
- <?php endif; ?>
1047
- <?php if ( isset( $options['googleplus'] ) && $options['googleplus'] != '' ) : ?>
1048
- <li>
1049
- <a class="dslc-social-icon" target="_blank" href="<?php echo $options['googleplus']; ?>"><span class="dslc-icon dslc-icon-google-plus"></span></a>
1050
- <?php if ( $options['show_labels'] == 'enabled' ) : ?>
1051
- <a class="dslc-social-label" target="_blank" href="<?php echo $options['googleplus']; ?>"><span><?php _e( 'Google+', 'live-composer-page-builder' ); ?></span></a>
1052
- <?php endif; ?>
1053
- </li>
1054
- <?php endif; ?>
1055
- <?php if ( isset( $options['dribbble'] ) && $options['dribbble'] != '' ) : ?>
1056
- <li>
1057
- <a class="dslc-social-icon" target="_blank" href="<?php echo $options['dribbble']; ?>"><span class="dslc-icon dslc-icon-dribbble"></span></a>
1058
- <?php if ( $options['show_labels'] == 'enabled' ) : ?>
1059
- <a class="dslc-social-label" target="_blank" href="<?php echo $options['dribbble']; ?>"><span><?php _e( 'Dribbble', 'live-composer-page-builder' ); ?></span></a>
1060
- <?php endif; ?>
1061
- </li>
1062
- <?php endif; ?>
1063
- <?php if ( isset( $options['dropbox'] ) && $options['dropbox'] != '' ) : ?>
1064
- <li>
1065
- <a class="dslc-social-icon" target="_blank" href="<?php echo $options['dropbox']; ?>"><span class="dslc-icon dslc-icon-dropbox"></span></a>
1066
- <?php if ( $options['show_labels'] == 'enabled' ) : ?>
1067
- <a class="dslc-social-label" target="_blank" href="<?php echo $options['dropbox']; ?>"><span><?php _e( 'Dropbox', 'live-composer-page-builder' ); ?></span></a>
1068
- <?php endif; ?>
1069
- </li>
1070
- <?php endif; ?>
1071
- <?php if ( isset( $options['flickr'] ) && $options['flickr'] != '' ) : ?>
1072
- <li>
1073
- <a class="dslc-social-icon" target="_blank" href="<?php echo $options['flickr']; ?>"><span class="dslc-icon dslc-icon-flickr"></span></a>
1074
- <?php if ( $options['show_labels'] == 'enabled' ) : ?>
1075
- <a class="dslc-social-label" target="_blank" href="<?php echo $options['flickr']; ?>"><span><?php _e( 'Flickr', 'live-composer-page-builder' ); ?></span></a>
1076
- <?php endif; ?>
1077
- </li>
1078
- <?php endif; ?>
1079
- <?php if ( isset( $options['foursquare'] ) && $options['foursquare'] != '' ) : ?>
1080
- <li>
1081
- <a class="dslc-social-icon" target="_blank" href="<?php echo $options['foursquare']; ?>"><span class="dslc-icon dslc-icon-foursquare"></span></a>
1082
- <?php if ( $options['show_labels'] == 'enabled' ) : ?>
1083
- <a class="dslc-social-label" target="_blank" href="<?php echo $options['foursquare']; ?>"><span><?php _e( 'Foursquare', 'live-composer-page-builder' ); ?></span></a>
1084
- <?php endif; ?>
1085
- </li>
1086
- <?php endif; ?>
1087
- <?php if ( isset( $options['behance'] ) && $options['behance'] != '' ) : ?>
1088
- <li>
1089
- <a class="dslc-social-icon" target="_blank" href="<?php echo $options['behance']; ?>"><span class="dslc-icon dslc-icon-behance"></span></a>
1090
- <?php if ( $options['show_labels'] == 'enabled' ) : ?>
1091
- <a class="dslc-social-label" target="_blank" href="<?php echo $options['behance']; ?>"><span><?php _e( 'Behance', 'live-composer-page-builder' ); ?></span></a>
1092
- <?php endif; ?>
1093
- </li>
1094
- <?php endif; ?>
1095
- <?php if ( isset( $options['rss'] ) && $options['rss'] != '' ) : ?>
1096
- <li>
1097
- <a class="dslc-social-icon" target="_blank" href="<?php echo $options['rss']; ?>"><span class="dslc-icon dslc-icon-rss"></span></a>
1098
- <?php if ( $options['show_labels'] == 'enabled' ) : ?>
1099
- <a class="dslc-social-label" target="_blank" href="<?php echo $options['rss']; ?>"><span><?php _e( 'RSS', 'live-composer-page-builder' ); ?></span></a>
1100
- <?php endif; ?>
1101
- </li>
1102
- <?php endif; ?>
1103
- <?php if ( isset( $options['yelp'] ) && $options['yelp'] != '' ) : ?>
1104
- <li>
1105
- <a class="dslc-social-icon" target="_blank" href="<?php echo $options['yelp']; ?>"><span class="dslc-icon dslc-icon-yelp"></span></a>
1106
- <?php if ( $options['show_labels'] == 'enabled' ) : ?>
1107
- <a class="dslc-social-label" target="_blank" href="<?php echo $options['yelp']; ?>"><span><?php _e( 'Yelp', 'live-composer-page-builder' ); ?></span></a>
1108
- <?php endif; ?>
1109
- </li>
1110
- <?php endif; ?>
1111
- <?php if ( isset( $options['vk'] ) && $options['vk'] != '' ) : ?>
1112
- <li>
1113
- <a class="dslc-social-icon" target="_blank" href="<?php echo $options['vk']; ?>"><span class="dslc-icon dslc-icon-vk"></span></a>
1114
- <?php if ( $options['show_labels'] == 'enabled' ) : ?>
1115
- <a class="dslc-social-label" target="_blank" href="<?php echo $options['vk']; ?>"><span><?php _e( 'VK', 'live-composer-page-builder' ); ?></span></a>
1116
- <?php endif; ?>
1117
- </li>
1118
- <?php endif; ?>
1119
- <?php if ( isset( $options['xing'] ) && $options['xing'] != '' ) : ?>
1120
- <li>
1121
- <a class="dslc-social-icon" target="_blank" href="<?php echo $options['xing']; ?>"><span class="dslc-icon dslc-icon-xing"></span></a>
1122
- <?php if ( $options['show_labels'] == 'enabled' ) : ?>
1123
- <a class="dslc-social-label" target="_blank" href="<?php echo $options['xing']; ?>"><span><?php _e( 'XING', 'live-composer-page-builder' ); ?></span></a>
1124
- <?php endif; ?>
1125
- </li>
1126
- <?php endif; ?>
1127
- <?php if ( isset( $options['email'] ) && $options['email'] != '' ) : ?>
1128
- <li>
1129
- <a class="dslc-social-icon" target="_blank" href="<?php echo $options['email']; ?>"><span class="dslc-icon dslc-icon-envelope"></span></a>
1130
- <?php if ( $options['show_labels'] == 'enabled' ) : ?>
1131
- <a class="dslc-social-label" target="_blank" href="<?php echo $options['email']; ?>"><span><?php _e( 'Email', 'live-composer-page-builder' ); ?></span></a>
1132
- <?php endif; ?>
1133
- </li>
1134
- <?php endif; ?>
1135
  </ul>
1136
 
1137
  </div><!-- .dslc-social-wrap -->
87
  ),
88
  ),
89
  ),
90
+
91
+ array(
92
+ 'id' => 'link_nofollow',
93
+ 'std' => '',
94
+ 'type' => 'checkbox',
95
+ 'help' => __( 'Nofollow tells search engines to not follow this specific link', 'live-composer-page-builder' ),
96
+ 'choices' => array(
97
+ array(
98
+ 'label' => __( 'Nofollow', 'live-composer-page-builder' ),
99
+ 'value' => 'nofollow',
100
+ ),
101
+ ),
102
+ ),
103
+
104
  array(
105
  'label' => __( 'Twitter', 'live-composer-page-builder' ),
106
  'id' => 'twitter',
979
  */
980
  function output( $options ) {
981
 
982
+ $social_network_icons = array(
983
+ 'twitter' =>'twitter',
984
+ 'facebook' =>'facebook',
985
+ 'youtube' =>'youtube-play',
986
+ 'vimeo' =>'vimeo-square',
987
+ 'tumblr' =>'tumblr',
988
+ 'pinterest' =>'pinterest',
989
+ 'linkedin' =>'linkedin',
990
+ 'instagram' =>'instagram',
991
+ 'github' =>'github-alt',
992
+ 'googleplus' =>'google-plus',
993
+ 'dribbble' =>'dribbble',
994
+ 'dropbox' =>'dropbox',
995
+ 'flickr' =>'flickr',
996
+ 'foursquare' =>'foursquare',
997
+ 'behance' =>'behance',
998
+ 'rss' =>'rss',
999
+ 'yelp' =>'yelp',
1000
+ 'vk' =>'vk',
1001
+ 'email' =>'envelope',
1002
+ );
1003
+
1004
+ $social_network_titles = array(
1005
+ 'twitter' => __( 'Twitter', 'live-composer-page-builder' ),
1006
+ 'facebook' => __( 'Facebook', 'live-composer-page-builder' ),
1007
+ 'youtube' => __( 'YouTube', 'live-composer-page-builder' ),
1008
+ 'vimeo' => __( 'Vimeo', 'live-composer-page-builder' ),
1009
+ 'tumblr' => __( 'Tumblr', 'live-composer-page-builder' ),
1010
+ 'pinterest' => __( 'Pinterest', 'live-composer-page-builder' ),
1011
+ 'linkedin' => __( 'LinkedIn', 'live-composer-page-builder' ),
1012
+ 'instagram' => __( 'Instagram', 'live-composer-page-builder' ),
1013
+ 'github' => __( 'Github', 'live-composer-page-builder' ),
1014
+ 'googleplus' => __( 'Google+', 'live-composer-page-builder' ),
1015
+ 'dribbble' => __( 'Dribbble', 'live-composer-page-builder' ),
1016
+ 'dropbox' => __( 'Dropbox', 'live-composer-page-builder' ),
1017
+ 'flickr' => __( 'Flickr', 'live-composer-page-builder' ),
1018
+ 'foursquare' => __( 'Foursquare', 'live-composer-page-builder' ),
1019
+ 'behance' => __( 'Behance', 'live-composer-page-builder' ),
1020
+ 'rss' => __( 'RSS', 'live-composer-page-builder' ),
1021
+ 'yelp' => __( 'Yelp', 'live-composer-page-builder' ),
1022
+ 'vk' => __( 'VK', 'live-composer-page-builder' ),
1023
+ 'xing' => __( 'XING', 'live-composer-page-builder' ),
1024
+ 'email' => __( 'Email', 'live-composer-page-builder' ),
1025
+ );
1026
+
1027
  /* Module output starts here */
1028
 
1029
  ?>
 
1030
  <div class="dslc-social-wrap">
1031
 
1032
  <ul class="dslc-social">
1033
+ <?php
1034
+ foreach ($options as $id => $option) {
1035
+ if ( array_key_exists( $id, $social_network_icons ) && $option ) {
1036
+ ?>
1037
+ <li>
1038
+ <a class="dslc-social-icon" target="_blank" href="<?php echo $options[$id]; ?>" <?php if ( $options['link_nofollow'] ) { echo 'rel="nofollow"';} ?>><span class="dslc-icon dslc-icon-<?php echo $social_network_icons[$id]; ?>"></span></a>
1039
+ <?php if ( $options['show_labels'] == 'enabled' ) : ?>
1040
+ <a class="dslc-social-label" target="_blank" href="<?php echo $options[$id]; ?>" <?php if ( $options['link_nofollow'] ) { echo 'rel="nofollow"';} ?>><span><?php echo $social_network_titles[$id]; ?></span></a>
1041
+ <?php endif; ?>
1042
+ </li>
1043
+ <?php
1044
+ }
1045
+ }
1046
+ ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1047
  </ul>
1048
 
1049
  </div><!-- .dslc-social-wrap -->
readme.txt CHANGED
@@ -3,28 +3,28 @@ Contributors: LiveComposer
3
  Tags: page builder, landing page builder, frontend page builder, drag and drop page builder, website builder
4
  Requires at least: 4.7
5
  Tested up to: 5.3
6
- Stable tag: 1.5.4
7
  License: GPLv3
8
 
9
  Page builder for WordPress with drag and drop header/footer editing, responsive settings, and animations. Compatible with Gutenberg block editor.
10
 
11
  == Description ==
12
 
13
- = 👓 Create Stunning Websites Visually =
14
 
15
  [Live Composer page builder](https://livecomposerplugin.com/) is a complete and feature-reach website builder for WordPress. In our page builder, you get most of the features for free paying only for [Woo-Commerce support](https://livecomposerplugin.com/downloads/woocommerce-page-builder/?utm_source=wp-admin&utm_medium=changelog&utm_campaign=woo-integration) and [advanced integrations](https://livecomposerplugin.com/downloads/extensions/?utm_source=wp-admin&utm_medium=changelog&utm_campaign=add-ons) (ACF, CPT, Mega Menus). Create stunning custom page designs in real-time. Drag & drop front-end editing is an entirely intuitive way to create and customize great looking websites.
16
 
17
  Do it yourself with easy content editing in real-time. Save your money on expensive coding and customization services. No tech skills needed to create professional websites in our page builder. Live Composer is an excellent tool for web designers, digital marketing specialists, WordPress theme developers, and freelance consultants. Learn our page builder once and cut your website building time with every next project. Create an exceptional landing page, portfolio, or fully featured pro website for your client.
18
 
19
- = 🏆 Over 50,000 Site Owners Chose Live Composer page builder =
20
 
21
  You can trust our plugin. 100% open source page builder backed by the experienced team of web developers. Our page builder on the market for 5 years. All significant bugs already fixed and new updates released regularly. Every day our developers work on code improvements and new features. With a purchase of any [premium extension](https://livecomposerplugin.com/downloads/extensions/?utm_source=wp-admin&utm_medium=changelog&utm_campaign=add-ons), you also getting access to our exceptional one-to-one support.
22
 
23
- = 📱 Mobile Responsive Page Builder =
24
 
25
  It's easy to create responsive websites in our page builder. You can customize the responsive presentation of any page element to make it looks perfect on all mobile devices, ensuring your site is mobile-ready.
26
 
27
- = Gutenberg Compatible =
28
 
29
  Out page builder does not affect your Gutenberg plugin usage and can work alongside with new WordPress block editor.
30
 
@@ -58,6 +58,11 @@ In most of the cases, this is because the homepage is not a real WordPress page,
58
  * 🦊 [Check out our WooCommerce Page Builder Extension](https://livecomposerplugin.com/downloads/woocommerce-page-builder/?utm_source=wp-admin&utm_medium=changelog&utm_campaign=woo-integration)
59
  * 👀 [We keep updating and improving our extensions pack](https://livecomposerplugin.com/downloads/extensions/?utm_source=wp-admin&utm_medium=changelog&utm_campaign=add-ons) ACF + CPT + MegaMenu + 9 more add-ons.
60
 
 
 
 
 
 
61
  = 1.5.4 - Dec 10 2019 =
62
  * 🕷 Fix bugs with Tabs and Accordions editing.
63
 
3
  Tags: page builder, landing page builder, frontend page builder, drag and drop page builder, website builder
4
  Requires at least: 4.7
5
  Tested up to: 5.3
6
+ Stable tag: 1.5.5
7
  License: GPLv3
8
 
9
  Page builder for WordPress with drag and drop header/footer editing, responsive settings, and animations. Compatible with Gutenberg block editor.
10
 
11
  == Description ==
12
 
13
+ ## 👓 Create Stunning Websites Visually
14
 
15
  [Live Composer page builder](https://livecomposerplugin.com/) is a complete and feature-reach website builder for WordPress. In our page builder, you get most of the features for free paying only for [Woo-Commerce support](https://livecomposerplugin.com/downloads/woocommerce-page-builder/?utm_source=wp-admin&utm_medium=changelog&utm_campaign=woo-integration) and [advanced integrations](https://livecomposerplugin.com/downloads/extensions/?utm_source=wp-admin&utm_medium=changelog&utm_campaign=add-ons) (ACF, CPT, Mega Menus). Create stunning custom page designs in real-time. Drag & drop front-end editing is an entirely intuitive way to create and customize great looking websites.
16
 
17
  Do it yourself with easy content editing in real-time. Save your money on expensive coding and customization services. No tech skills needed to create professional websites in our page builder. Live Composer is an excellent tool for web designers, digital marketing specialists, WordPress theme developers, and freelance consultants. Learn our page builder once and cut your website building time with every next project. Create an exceptional landing page, portfolio, or fully featured pro website for your client.
18
 
19
+ ## 🏆 Over 50,000 Site Owners Chose Live Composer page builder
20
 
21
  You can trust our plugin. 100% open source page builder backed by the experienced team of web developers. Our page builder on the market for 5 years. All significant bugs already fixed and new updates released regularly. Every day our developers work on code improvements and new features. With a purchase of any [premium extension](https://livecomposerplugin.com/downloads/extensions/?utm_source=wp-admin&utm_medium=changelog&utm_campaign=add-ons), you also getting access to our exceptional one-to-one support.
22
 
23
+ ## 📱 Mobile Responsive Page Builder
24
 
25
  It's easy to create responsive websites in our page builder. You can customize the responsive presentation of any page element to make it looks perfect on all mobile devices, ensuring your site is mobile-ready.
26
 
27
+ ## Gutenberg Compatible
28
 
29
  Out page builder does not affect your Gutenberg plugin usage and can work alongside with new WordPress block editor.
30
 
58
  * 🦊 [Check out our WooCommerce Page Builder Extension](https://livecomposerplugin.com/downloads/woocommerce-page-builder/?utm_source=wp-admin&utm_medium=changelog&utm_campaign=woo-integration)
59
  * 👀 [We keep updating and improving our extensions pack](https://livecomposerplugin.com/downloads/extensions/?utm_source=wp-admin&utm_medium=changelog&utm_campaign=add-ons) ACF + CPT + MegaMenu + 9 more add-ons.
60
 
61
+ = 1.5.5 - Jan 14 2020 =
62
+ * 🕷 Fixed flickering sections in the header on mobile
63
+ * 🕷 Fixed unresponsive font family selector
64
+ * 🕷 Fixed visual appearance of the license field
65
+
66
  = 1.5.4 - Dec 10 2019 =
67
  * 🕷 Fix bugs with Tabs and Accordions editing.
68